Add component tag for layouts (for custom or basic backgrounds).

This commit is contained in:
emb
2015-01-02 10:33:26 -06:00
parent d309c3b96f
commit 054688cec6
7 changed files with 151 additions and 75 deletions

View 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();
}