vector< Line > lineConstraints
const MutableString & getText() const
vector< TextStyle > styles
const string getNodeType() override
int getContentWidth() override
void setTextStyle(int startIdx, int endIdx, const GUIColor &color, const string &font=string(), const string &url=string())
Set text style.
void unsetTextStyle(int startIdx, int endIdx)
Unset text style.
vector< int > lineCharIdxs
int getContentHeight() override
GUIStyledTextNode(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, bool preformatted, const string &font, const string &color, const MutableString &text)
Constructor.
void setText(const MutableString &text)
Set text.
void determineNextLineConstraints(int &i, int charEndIdx, int textStyleIdx)
Determine next line constraints.
TextStyle * getTextStyle(const vector< int > &lineCharIdxs, int lineCharIdx, int &textStyleIdx)
Get text style for.
void setImage(int idx, const string &image, const string &url=string(), int width=-1, int height=-1)
Set image.
void computeContentAlignment() override
Do content alignment.
void render(GUIRenderer *guiRenderer) override
Render.
bool parentOffsetsChanged
bool isContentNode() override