![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave 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. | |
| virtual void | drawFrame (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
| Is called to draw the frame of a text gadget. | |
| virtual void | drawGadgetContents (const IlvText *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
| Is called to draw the contents of a text gadget. | |
| virtual void | drawSelection (const IlvText *, IlvPort *, const IlvRect &, const IlvRegion *) const |
| Is called to draw the selected part of a text gadget. | |
| virtual IlBoolean | handleGadgetEvent (IlvText *, IlvEvent &event) const |
| Is called to handle the events of a text gadget. | |
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 void IlvDefaultTextLFHandler::drawBackground | ( | const IlvText * | text, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip | |||
| ) | const [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 void IlvDefaultTextLFHandler::drawFrame | ( | const IlvText * | text, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip | |||
| ) | const [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 void IlvDefaultTextLFHandler::drawGadgetContents | ( | const IlvText * | text, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip | |||
| ) | const [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 void IlvDefaultTextLFHandler::drawSelection | ( | const IlvText * | text, | |
| IlvPort * | dst, | |||
| const IlvRect & | rect, | |||
| const IlvRegion * | clip | |||
| ) | const [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 IlBoolean IlvDefaultTextLFHandler::handleGadgetEvent | ( | IlvText * | text, | |
| IlvEvent & | event | |||
| ) | const [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.
© 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.