TDME2  1.9.200
GUIHorizontalScrollbarInternalNode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #include <tdme/tdme.h>
12 
13 using std::string;
14 using std::vector;
15 
27 
28 /**
29  * GUI horizontal scroll bar internal node
30  * @author Andreas Drewke
31  */
33  : public GUINode
34 {
35 
36 private:
40 
41 protected:
42  // overridden methods
43  const string getNodeType() override;
44  bool isContentNode() override;
45 
46 public:
47  // forbid class copy
49 
50  /**
51  * Constructor
52  * @param screenNode screen node
53  * @param parentNode parent node
54  * @param id id
55  * @param flow flow
56  * @param alignments alignments
57  * @param requestedConstraints requested constraints
58  * @param backgroundColor background color
59  * @param backgroundImage background image
60  * @param backgroundImageScale9Grid background image scale 9 grid
61  * @param backgroundImageEffectColorMul background image effect color mul
62  * @param backgroundImageEffectColorAdd background image effect color add
63  * @param border border
64  * @param padding padding
65  * @param showOn show on
66  * @param hideOn hide on
67  * @param tooltip tooltip
68  * @param barColorNone bar color none
69  * @param barColorMouseOver bar color mouse over
70  * @param barColorDragging bar color dragging
71  *
72  */
76  const string& id,
81  const string& backgroundImage,
85  const GUINode_Border& border,
86  const GUINode_Padding& padding,
89  const string& tooltip,
90  const GUIColor& barColorNone,
93  );
94 
95  // overridden methods
96  int getContentWidth() override;
97  int getContentHeight() override;
98  void render(GUIRenderer* guiRenderer) override;
99 
100 };
GUIHorizontalScrollbarInternalNode(GUIScreenNode *screenNode, GUIParentNode *parentNode, const string &id, GUINode_Flow *flow, const GUINode_Alignments &alignments, const GUINode_RequestedConstraints &requestedConstraints, const GUIColor &backgroundColor, const string &backgroundImage, const GUINode_Scale9Grid &backgroundImageScale9Grid, const GUIColor &backgroundImageEffectColorMul, const GUIColor &backgroundImageEffectColorAdd, const GUINode_Border &border, const GUINode_Padding &padding, const GUINodeConditions &showOn, const GUINodeConditions &hideOn, const string &tooltip, const GUIColor &barColorNone, const GUIColor &barColorMouseOver, const GUIColor &barColorDragging)
Constructor.
GUI element node conditions.
GUI node base class.
Definition: GUINode.h:64
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
GUI screen node that represents a screen that can be rendered via GUI system.
Definition: GUIScreenNode.h:72
GUI node border entity.
GUI node padding entity.
GUI node scale 9 grid entity.
#define FORBID_CLASS_COPY(CLASS)
Definition: tdme.h:6