TDME2  1.9.200
GUISelectBoxOption.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <unordered_map>
5 
6 #include <tdme/tdme.h>
12 
13 using std::string;
14 using std::unordered_map;
15 
21 
22 /**
23  * GUI select box option element
24  * @author Andreas Drewke
25  */
27 {
28 
29 private:
30  STATIC_DLL_IMPEXT static string NAME;
31 
32 public:
33  const string& getName() override;
34  const string getTemplate(const string& applicationPathName, const string& applicationSubPathName, const string& fileName = string()) override;
35  unordered_map<string, string> getAttributes(GUIScreenNode* screenNode) override;
37 
38  // forbid class copy
40 
41  /**
42  * Public constructor
43  */
45 };
GUI element base class.
Definition: GUIElement.h:23
GUI select box option element.
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 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 node base class.
Definition: GUINode.h:64
GUI screen node that represents a screen that can be rendered via GUI system.
Definition: GUIScreenNode.h:72
#define STATIC_DLL_IMPEXT
Definition: tdme.h:15
#define FORBID_CLASS_COPY(CLASS)
Definition: tdme.h:6