improvments in widgets initialization

This commit is contained in:
Eduardo Bart
2011-11-17 15:43:41 -02:00
parent b736e52b29
commit 63cbe11f7e
23 changed files with 65 additions and 97 deletions

View File

@@ -32,7 +32,6 @@ void UIManager::init()
{
// creates root widget
m_rootWidget = UIWidget::create<UIWidget>();
m_rootWidget->setup();
m_rootWidget->setId("root");
m_rootWidget->resize(g_graphics.getScreenSize());
}