mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 15:25:54 +02:00
improvments in widgets initialization
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user