Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/text.h>
Public Member Functions | |
IlvTextLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
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. | |
virtual void | drawCursor (const IlvText *, IlvPoint &point, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the cursor of a text gadget. | |
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. | |
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. | |
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. | |
virtual IlBoolean | handleGadgetEvent (IlvText *text, IlvEvent &event) const =0 |
Is called to handle the events of a text gadget. |
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 | ) |
Constructor.
Creates a new IlvTextLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler to which this handler will be associated. |
virtual void IlvTextLFHandler::drawBackground | ( | const IlvText * | text, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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.
virtual void IlvTextLFHandler::drawCursor | ( | const IlvText * | , | |
IlvPoint & | point, | |||
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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 IlvTextMLFHandler, and IlvTextWLFHandler.
virtual void IlvTextLFHandler::drawFrame | ( | const IlvText * | text, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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.
virtual void IlvTextLFHandler::drawGadgetContents | ( | const IlvText * | text, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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.
virtual void IlvTextLFHandler::drawSelection | ( | const IlvText * | text, | |
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvRegion * | clip | |||
) | const [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.
virtual IlBoolean IlvTextLFHandler::handleGadgetEvent | ( | IlvText * | text, | |
IlvEvent & | event | |||
) | const [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.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.