mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-03 10:47:23 +02:00
Add component tag for layouts (for custom or basic backgrounds).
This commit is contained in:
31
Source/Graphics/Component/Container.cpp
Normal file
31
Source/Graphics/Component/Container.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
/* This file is subject to the terms and conditions defined in
|
||||
* file 'LICENSE.txt', which is part of this source code package.
|
||||
*/
|
||||
#include "Container.h"
|
||||
#include "../ViewInfo.h"
|
||||
#include "../../SDL.h"
|
||||
|
||||
Container::Container()
|
||||
{
|
||||
AllocateGraphicsMemory();
|
||||
}
|
||||
|
||||
Container::~Container()
|
||||
{
|
||||
FreeGraphicsMemory();
|
||||
}
|
||||
|
||||
void Container::FreeGraphicsMemory()
|
||||
{
|
||||
Component::FreeGraphicsMemory();
|
||||
}
|
||||
|
||||
void Container::AllocateGraphicsMemory()
|
||||
{
|
||||
Component::AllocateGraphicsMemory();
|
||||
}
|
||||
|
||||
void Container::Draw()
|
||||
{
|
||||
Component::Draw();
|
||||
}
|
||||
Reference in New Issue
Block a user