TDME2  1.9.200
GUIScrollArea.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 scroll area element
24  * @author Andreas Drewke
25  */
27 {
28 
29 private:
30  STATIC_DLL_IMPEXT static string NAME;
31 
32 public:
33  // forbid class copy
35 
36  /**
37  * Public constructor
38  */
39  GUIScrollArea();
40 
41  // overridden methods
42  const string& getName() override;
43  const string getTemplate(const string& applicationPathName, const string& applicationSubPathName, const string& fileName = string()) override;
44  unordered_map<string, string> getAttributes(GUIScreenNode* screenNode) override;
46 
47 };
GUI element base class.
Definition: GUIElement.h:23
GUI scroll area element.
Definition: GUIScrollArea.h:27
GUINodeController * createController(GUINode *node) override
Create controller which is attached to this node.
unordered_map< string, string > getAttributes(GUIScreenNode *screenNode) override
Get default attributes.
GUIScrollArea()
Public constructor.
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
Definition: GUIScrollArea.h:30
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