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

@@ -24,11 +24,10 @@
#include <framework/graphics/graphics.h>
#include <framework/otml/otmlnode.h>
void UIProgressBar::setup()
UIProgressBar::UIProgressBar()
{
UIWidget::setup();
setPhantom(true);
setFocusable(false);
m_phantom = false;
m_focusable = false;
m_percent = 0;
}