4 #include <unordered_map>
14 using std::unordered_map;
23 string GUIScrollArea::NAME =
"scrollarea";
25 GUIScrollArea::GUIScrollArea()
36 return FileSystem::getInstance()->getContentAsString(applicationPathName +
"/resources/" + applicationSubPathName +
"/gui/definitions", fileName.empty() ==
true?
"scrollarea.xml":fileName);
41 unordered_map<string, string> attributes;
43 attributes[
"width"] =
"100%";
44 attributes[
"height"] =
"100%";
45 attributes[
"horizontal-align"] =
"left";
46 attributes[
"vertical-align"] =
"top";
47 attributes[
"alignment"] =
"vertical";
48 attributes[
"background-color"] =
"transparent";
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.