4 #include <unordered_map>
14 using std::unordered_map;
23 string GUIImageButton::NAME =
"image-button";
25 GUIImageButton::GUIImageButton()
36 return FileSystem::getInstance()->getContentAsString(applicationPathName +
"/resources/" + applicationSubPathName +
"/gui/definitions", fileName.empty() ==
true?
"image-button.xml":fileName);
41 unordered_map<string, string> attributes;
43 attributes[
"width"] =
"auto";
44 attributes[
"height"] =
"auto";
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.