Object look-and-feel class. More...
#include <ilviews/gadgets/button.h>
Public Member Functions | |
virtual void | drawGadgetItem (const IlvButton *, const IlvGadgetItem *, IlvPort *, const IlvRect &, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the gadget item encapsulated by the button. More... | |
virtual IlBoolean | handleEvent (IlvButton *, IlvEvent &) const |
Is called to handle the events of a button. More... | |
Public Member Functions inherited from IlvButtonLFHandler | |
IlvButtonLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | computeDefaultButtonRegion (const IlvButton *button, IlvRegion ®ion, const IlvTransformer *t) const =0 |
Is called to compute the bounding box of a default button. More... | |
virtual void | drawBackground (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a button. More... | |
virtual void | drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the default button. More... | |
virtual void | drawContents (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents of a button. More... | |
virtual void | drawFrame (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a button. More... | |
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 |
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 |
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.