10 #include <unordered_map>
13 using std::unordered_map;
22 string GUIProgressBar::NAME =
"progress-bar";
24 GUIProgressBar::GUIProgressBar()
35 return FileSystem::getInstance()->getContentAsString(applicationPathName +
"/resources/" + applicationSubPathName +
"/gui/definitions", fileName.empty() ==
true?
"progressbar.xml":fileName);
40 unordered_map<string, string> attributes;
42 attributes[
"disabled"] =
"false";
43 attributes[
"value"] =
"0.0";
44 attributes[
"width"] =
"223";
GUI progress bar controller.
GUINodeController * createController(GUINode *node) override
Create controller which is attached to this node.
unordered_map< string, string > getAttributes(GUIScreenNode *screenNode) override
Get default attributes.
const string & getName() override
const string getTemplate(const string &applicationPathName, const string &applicationSubPathName, const string &fileName=string()) override
Retrieve template from given path name and optional file name.
static STATIC_DLL_IMPEXT string NAME
GUI node controller base class.
GUI screen node that represents a screen that can be rendered via GUI system.
const string allocateNodeId()
Allocate node id.
File system singleton class.