TDME2  1.9.200
GUIVerticalScrollbarInternalNode.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 #include <tdme/tdme.h>
11 
12 using std::string;
13 
26 
27 /**
28  * GUI vertical scroll bar internal node
29  * @author Andreas Drewke
30  */
32  : public GUINode
33 {
34 
35 private:
39 
40 protected:
41  const string getNodeType() override;
42  bool isContentNode() override;
43 
44 public:
45  // forbid class copy
47 
48  /**
49  * Constructor
50  * @param screenNode screen node
51  * @param parentNode parent node
52  * @param id id
53  * @param flow flow
54  * @param alignments alignments
55  * @param requestedConstraints requested constraints
56  * @param backgroundColor background color
57  * @param backgroundImage background image
58  * @param backgroundImageScale9Grid background image scale 9 grid
59  * @param backgroundImageEffectColorMul background image effect color mul
60  * @param backgroundImageEffectColorAdd background image effect color add
61  * @param border border
62  * @param padding padding
63  * @param showOn show on
64  * @param hideOn hide on
65  * @param tooltip tooltip
66  * @param barColorNone bar color none
67  * @param barColorMouseOver bar color mouse over
68  * @param barColorDragging bar color dragging
69  */
73  const string& id,
78  const string& backgroundImage,
82  const GUINode_Border& border,
83  const GUINode_Padding& padding,
86  const string& tooltip,
87  const GUIColor& barColorNone,
90  );
91 
92  // overridden methods
93  int getContentWidth() override;
94  int getContentHeight() override;
95  void render(GUIRenderer* guiRenderer) override;
96 
97 };
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
void render(GUIRenderer *guiRenderer) override
Render.
GUIVerticalScrollbarInternalNode(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 node border entity.
GUI node padding entity.
GUI node scale 9 grid entity.
#define FORBID_CLASS_COPY(CLASS)
Definition: tdme.h:6