56 static Gradient
createGradient(
const string& colors,
const string& rotation);
109 const string& backgroundImage,
178 static GUINode_Clipping createClipping(
const string& allClipping,
const string& left,
const string& top,
const string& right,
const string& bottom);
static GUINode_Clipping createClipping(const string &allClipping, const string &left, const string &top, const string &right, const string &bottom)
Create clipping.
const string getNodeType() override
GUIGradientNode(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 &effectColorMul, const GUIColor &effectColorAdd, const GUINode_Clipping &clipping, const string &mask, float maskMaxValue, const Gradient &gradient)
Constructor.
void setEffectColorMul(const GUIColor &effectColorMul)
Set effect color mul.
void dispose() override
Dispose node.
int getContentWidth() override
void setMaskMaxValue(float maskMaxValue)
Set maximum value of mask to display image.
const GUIColor & getEffectColorMul()
int getContentHeight() override
GUINode_Clipping clipping
void setMask(const string &mask)
Set mask source.
static Gradient createGradient(const string &colors, const string &rotation)
Create gradient from string values.
const GUIColor & getEffectColorAdd()
void render(GUIRenderer *guiRenderer) override
Render.
bool isContentNode() override
void setEffectColorAdd(const GUIColor &effectColorAdd)
Set effect color add.
GUINode_Clipping & getClipping()
void setTextureMatrix(const Matrix3x3 &textureMatrix)
Set texture matrix.
GUI element node conditions.
GUIColor backgroundImageEffectColorMul
GUINode_Scale9Grid backgroundImageScale9Grid
GUIColor backgroundImageEffectColorAdd
GUIParentNode * parentNode
GUIScreenNode * screenNode
GUINode_RequestedConstraints requestedConstraints
GUINode_Alignments alignments
GUI parent node base class thats supporting child nodes.
GUI screen node that represents a screen that can be rendered via GUI system.
Matrix3x3 class representing matrix3x3 mathematical structure and operations for 2d space.
array< GUIColor, 10 > colors
array< float, 10 > colorStarts
GUI node clipping entity.
GUI node requested constraints entity.
GUI node scale 9 grid entity.
#define FORBID_CLASS_COPY(CLASS)