4 #include <unordered_map>
15 using std::unordered_map;
22 string GUIInput::NAME =
"input";
33 const string GUIInput::getTemplate(
const string& applicationPathName,
const string& applicationSubPathName,
const string& fileName)
35 return FileSystem::getInstance()->getContentAsString(applicationPathName +
"/resources/" + applicationSubPathName +
"/gui/definitions", fileName.empty() ==
true?
"input.xml":fileName);
40 unordered_map<string, string> attributes;
42 attributes[
"width"] =
"auto";
43 attributes[
"height"] =
"auto";
44 attributes[
"maxlength"] =
"0";
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.