35 #ifndef INCLUDED_IGUITEXTOWNER 36 #define INCLUDED_IGUITEXTOWNER 106 #endif // INCLUDED_IGUITEXTOWNER virtual void SetupText()=0
Setup texts.
IGUITextOwner()
Definition: IGUITextOwner.cpp:22
virtual void DrawText(size_t index, const CColor &color, const CPos &pos, float z, const CRect &clipping=CRect())
Draws the Text.
Definition: IGUITextOwner.cpp:70
virtual ~IGUITextOwner()
Definition: IGUITextOwner.cpp:26
virtual void UpdateCachedSize()
Definition: IGUITextOwner.cpp:61
virtual bool MouseOverIcon()
Test if mouse position is over an icon.
Definition: IGUITextOwner.cpp:111
Base settings, all objects possess these settings in their m_BaseSettings Instructions can be found i...
Definition: IGUIObject.h:117
void CalculateTextPosition(CRect &ObjSize, CPos &TextPos, SGUIText &Text)
Calculate the position for the text, based on the alignment.
Definition: IGUITextOwner.cpp:84
Framework for handling Output text.
Definition: IGUITextOwner.h:45
virtual void HandleMessage(SGUIMessage &Message)
Definition: IGUITextOwner.cpp:37
Made to represent screen positions and delta values.
Definition: Shapes.h:169
std::vector< SGUIText * > m_GeneratedTexts
Texts that are generated and ready to be rendered.
Definition: IGUITextOwner.h:98
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: GUIbase.h:91
void AddText(SGUIText *text)
Adds a text object.
Definition: IGUITextOwner.cpp:32
bool m_GeneratedTextsValid
Whether the cached text is currently valid (if not then SetupText will be called by Draw) ...
Definition: IGUITextOwner.h:93
An SGUIText object is a parsed string, divided into text-rendering components.
Definition: GUItext.h:55
Rectangle class used for screen rectangles.
Definition: Shapes.h:73