#include <ctrl_text.hpp>
Inheritance diagram for CtrlText:

Public Member Functions | |
| CtrlText (intf_thread_t *pIntf, VarText &rVariable, const GenericFont &rFont, const UString &rHelp, uint32_t color, VarBool *pVisible) | |
| Create a text control with the optional given color. | |
| virtual void | handleEvent (EvtGeneric &rEvent) |
| Handle an event. | |
| virtual bool | mouseOver (int x, int y) const |
| Check whether coordinates are inside the control. | |
| virtual void | draw (OSGraphics &rImage, int xDest, int yDest) |
| Draw the control on the given graphics. | |
| void | setText (const UString &rText, uint32_t color=0xFFFFFFFF) |
| virtual string | getType () const |
| Get the type of control (custom RTTI). | |
Definition at line 41 of file ctrl_text.hpp.
|
||||||||||||
|
Set the text of the control, with an optional color This takes effect immediatly Definition at line 167 of file ctrl_text.cpp. References VarText::set(). |
1.4.2