Object Look-and-Feel class. More...
#include <ilviews/gadgets/text.h>
Public Member Functions | |
IlvTextLFHandler (IlvLookFeelHandler *lfh) | |
Initializes a new IlvTextLFHandler instance. More... | |
virtual void | drawBackground (const IlvText *text, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a text gadget. 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... | |
virtual void | drawFrame (const IlvText *text, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a text gadget. More... | |
virtual void | drawGadgetContents (const IlvText *text, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents of a text gadget. More... | |
virtual void | drawSelection (const IlvText *text, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0 |
Is called to draw the selected part of a text gadget. More... | |
virtual IlBoolean | handleGadgetEvent (IlvText *text, IlvEvent &event) const =0 |
Is called to handle the events of a text gadget. More... | |
Object Look-and-Feel class.
Library: ilvadvgdt
The base class for the object look-and-feel handlers of the text gadget.
IlvTextLFHandler::IlvTextLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Initializes a new IlvTextLFHandler
instance.
lfh | The look-and-feel handler to which this handler will be associated. |
|
pure 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. |
Implemented in IlvDefaultTextLFHandler.
|
pure virtual |
Is called to draw the cursor of a text gadget.
text | The text gadget. |
point | The point where the cursor will be drawn. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvTextWLFHandler, IlvTextMLFHandler, and IlvTextCSSLFHandler.
|
pure 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. |
Implemented in IlvDefaultTextLFHandler.
|
pure 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. |
Implemented in IlvDefaultTextLFHandler.
|
pure 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. |
Implemented in IlvDefaultTextLFHandler.
|
pure 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. Implemented in IlvDefaultTextLFHandler.