Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object look-and-feel class. More...
#include <ilviews/gadgets/button.h>
Public Member Functions | |
virtual void | drawGadgetItem (const IlvButton *, const IlvGadgetItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const |
Is called to draw the gadget item encapsulated by the button. | |
virtual IlBoolean | handleEvent (IlvButton *button, IlvEvent &event) const |
Is called to handle the events of a button. |
Object look-and-feel class.
Library: ilvgadgt
The predefined object look-and-feel handlers of the button gadget are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
virtual void IlvDefaultButtonLFHandler::drawGadgetItem | ( | const IlvButton * | button, | |
const IlvGadgetItem * | item, | |||
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Is called to draw the gadget item encapsulated by the button.
button | The button. | |
item | The gadget item to draw. | |
dst | The destination port. | |
rect | The rectangle where to draw the item. | |
t | The transformer. Not Used. | |
clip | The clipping region. |
Implements IlvButtonLFHandler.
virtual IlBoolean IlvDefaultButtonLFHandler::handleEvent | ( | IlvButton * | button, | |
IlvEvent & | event | |||
) | const [virtual] |
Is called to handle the events of a button.
button | The button. | |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvButtonLFHandler.
© 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.