Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/button.h>
Public Member Functions | |
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... | |
virtual void | drawGadgetItem (const IlvButton *button, const IlvGadgetItem *item, IlvPort *dst, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the gadget item encapsulated by the button. More... | |
virtual IlBoolean | handleEvent (IlvButton *button, IlvEvent &event) const =0 |
Is called to handle the events of a button. More... | |
Object Look-and-Feel class.
Library: ilvgadgt
The base class for the object look-and-feel handlers of the button gadget.
IlvButtonLFHandler::IlvButtonLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvButtonLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Is called to compute the bounding box of a default button.
button | The button. |
region | The region affected by the default button drawing. |
t | The transformer. |
Implemented in IlvButtonWLFHandler, IlvButtonCSSLFHandler, and IlvButtonMLFHandler.
|
pure virtual |
Is called to draw the background of a button.
button | The button. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvButtonWLFHandler, IlvButtonCSSLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonMLFHandler.
|
pure virtual |
Is called to draw the default button.
button | The button. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvButtonWLFHandler, IlvButtonCSSLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonMLFHandler.
|
pure virtual |
Is called to draw the contents of a button.
button | The button. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvButtonWLFHandler, IlvButtonCSSLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonMLFHandler.
|
pure virtual |
Is called to draw the frame of a button.
button | The button. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvButtonWLFHandler, IlvButtonCSSLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonMLFHandler.
|
pure 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. |
Implemented in IlvDefaultButtonLFHandler.
|
pure 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. Implemented in IlvDefaultButtonLFHandler.
© Copyright 2018, 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.