41 ProgressBarScreenController::ProgressBarScreenController(
PopUps* popUps): popUps(popUps)
56 screenNode = GUIParser::parse(
"resources/engine/gui",
"popup_progressbar.xml");
63 Console::println(
"ProgressBarScreenController::initialize(): An error occurred: " +
string(exception.what()));
75 if (showProgressBar ==
true) {
86 Engine::getInstance()->display();
87 Engine::getInstance()->getGUI()->render();
88 Engine::getInstance()->getGUI()->handleEvents();
89 Application::swapBuffers();
Application base class, please make sure to allocate application on heap to have correct application ...
GUINodeConditions & getActiveConditions()
bool add(const string &condition)
Add a condition.
bool remove(const string &condition)
Remove a condition.
GUI node controller base class.
virtual void setValue(const MutableString &value)=0
Set value.
const string & getToolTip()
GUINodeController * getController()
GUI screen node that represents a screen that can be rendered via GUI system.
void setEnabled(bool enabled)
Set enabled.
void addTooltipRequestListener(GUITooltipRequestListener *listener)
Add tooltip request listener.
GUINode * getNodeById(const string &nodeId)
Get GUI node by id.
void setText(const MutableString &text)
Set text.
Mutable utf8 aware string class.
std::exception Exception
Exception base class.