Views Gadgets Package API Reference Guide |
Views Documentation Home |
Object look-and-feel class. More...
#include <ilviews/gadgets/text.h>
Public Member Functions | |
virtual void | drawBackground (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the background of a text gadget. More... | |
virtual void | drawFrame (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the frame of a text gadget. More... | |
virtual void | drawGadgetContents (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the contents of a text gadget. More... | |
virtual void | drawSelection (const IlvText *, IlvPort *, const IlvRect &, const IlvRegion *) const |
Is called to draw the selected part of a text gadget. More... | |
virtual IlBoolean | handleGadgetEvent (IlvText *, IlvEvent &) const |
Is called to handle the events of a text gadget. More... | |
![]() | |
IlvTextLFHandler (IlvLookFeelHandler *lfh) | |
Initializes a new IlvTextLFHandler instance. More... | |
virtual void | drawCursor (const IlvText *text, IlvPoint &point, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the cursor of a text gadget. More... | |
Object look-and-feel class.
Library: ilvadvgdt
The predefined object look-and-feel handlers of the text gadget are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
|
virtual |
Is called to draw the background of a text gadget.
text | The text gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvTextLFHandler.
|
virtual |
Is called to draw the frame of a text gadget.
text | The text gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvTextLFHandler.
|
virtual |
Is called to draw the contents of a text gadget.
text | The text gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvTextLFHandler.
|
virtual |
Is called to draw the selected part of a text gadget.
text | The text gadget. |
dst | The destination port. |
rect | The rectangle where to draw the selected text. |
clip | The clipping region. |
Implements IlvTextLFHandler.
|
virtual |
Is called to handle the events of a text gadget.
text | The text gadget. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvTextLFHandler.