Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

CtrlText Class Reference

Class for control text. More...

#include <ctrl_text.hpp>

Inheritance diagram for CtrlText:

CtrlGeneric Observer< VarText > SkinObject Observer< VarBool > List of all members.

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).

Detailed Description

Class for control text.

Definition at line 41 of file ctrl_text.hpp.


Member Function Documentation

void CtrlText::setText const UString &  rText,
uint32_t  color = 0xFFFFFFFF
 

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().


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 10:15:03 2005 for vlc-0.8.4a by  doxygen 1.4.2