ui skinning

This commit is contained in:
Eduardo Bart
2011-04-08 20:20:44 -03:00
parent f54ef6401d
commit e94024de67
20 changed files with 347 additions and 76 deletions

View File

@@ -24,7 +24,7 @@
#include "uicontainer.h"
UIContainerPtr g_gui(new UIContainer);
UIContainerPtr g_ui(new UIContainer);
void UIContainer::addChild(UIElementPtr child)
{
@@ -96,6 +96,7 @@ void UIContainer::moveTo(const Point& pos)
void UIContainer::render()
{
UIElement::render();
for(auto it = m_children.begin(); it != m_children.end(); ++it) {
const UIElementPtr& child = (*it);
child->render();