TDME2  1.9.200
GUITableCellNode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <set>
4 #include <string>
5 
6 #include <tdme/tdme.h>
8 #include <tdme/gui/fwd-tdme.h>
12 
13 using std::set;
14 using std::string;
15 
31 
32 /**
33  * GUI panel node
34  * @author Andreas Drewke
35  */
37  : public GUILayoutNode
38 {
39  friend class tdme::gui::GUIParser;
40 
41 protected:
42  // forbid class copy
44 
45  /**
46  * Constructor
47  * @param screenNode screen node
48  * @param parentNode parent node
49  * @param id id
50  * @param flow flow
51  * @param overflowX overflow x
52  * @param overflowY overflow y
53  * @param alignments alignments
54  * @param requestedConstraints requested constraints
55  * @param backgroundColor background color
56  * @param backgroundImage background image
57  * @param backgroundImageScale9Grid background image scale 9 grid
58  * @param backgroundImageEffectColorMul background image effect color mul
59  * @param backgroundImageEffectColorAdd background image effect color add
60  * @param border border
61  * @param padding padding
62  * @param showOn show on
63  * @param hideOn hide on
64  * @param tooltip tooltip
65  * @param alignment alignment
66  */
70  const string& id,
77  const string& backgroundImage,
81  const GUINode_Border& border,
82  const GUINode_Padding& padding,
85  const string& tooltip,
87  );
88 
89  // overridden methods
90  const string getNodeType() override;
91 
92 public:
93  /**
94  * Create requested constraints
95  * @param left left
96  * @param top top
97  * @param width width
98  * @param height height
99  * @param factor factor
100  * @return requested constraints
101  */
102  static GUINode_RequestedConstraints createRequestedConstraints(const string& left, const string& top, const string& width, const string& height, int factor);
103 
104 };
GUI parser.
Definition: GUIParser.h:40
GUILayoutNode_Alignment * alignment
Definition: GUILayoutNode.h:29
GUI element node conditions.
GUINodeConditions hideOn
Definition: GUINode.h:162
GUIColor backgroundImageEffectColorMul
Definition: GUINode.h:157
GUINode_Border border
Definition: GUINode.h:160
GUINode_Scale9Grid backgroundImageScale9Grid
Definition: GUINode.h:156
GUIColor backgroundImageEffectColorAdd
Definition: GUINode.h:158
GUIParentNode * parentNode
Definition: GUINode.h:148
GUINode_Padding padding
Definition: GUINode.h:159
GUIScreenNode * screenNode
Definition: GUINode.h:147
GUINode_RequestedConstraints requestedConstraints
Definition: GUINode.h:151
GUINode_Alignments alignments
Definition: GUINode.h:150
GUINodeConditions showOn
Definition: GUINode.h:161
GUINode_Flow * flow
Definition: GUINode.h:86
GUI parent node base class thats supporting child nodes.
Definition: GUIParentNode.h:42
GUIParentNode_Overflow * overflowX
Definition: GUIParentNode.h:66
GUIParentNode_Overflow * overflowY
Definition: GUIParentNode.h:67
GUI screen node that represents a screen that can be rendered via GUI system.
Definition: GUIScreenNode.h:72
const string getNodeType() override
static GUINode_RequestedConstraints createRequestedConstraints(const string &left, const string &top, const string &width, const string &height, int factor)
Create requested constraints.
GUI node border entity.
GUI node padding entity.
GUI node scale 9 grid entity.
#define FORBID_CLASS_COPY(CLASS)
Definition: tdme.h:6