Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/button.h>
Public Member Functions | |
IlvButtonLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
virtual void | computeDefaultButtonRegion (const IlvButton *button, IlvRegion ®ion, const IlvTransformer *t) const =0 |
Is called to compute the bounding box of a default button. | |
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. | |
virtual void | drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the default button. | |
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. | |
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. | |
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. | |
virtual IlBoolean | handleEvent (IlvButton *button, IlvEvent &event) const =0 |
Is called to handle the events of a button. |
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. |
virtual void IlvButtonLFHandler::computeDefaultButtonRegion | ( | const IlvButton * | button, | |
IlvRegion & | region, | |||
const IlvTransformer * | t | |||
) | const [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 IlvButtonMLFHandler, and IlvButtonWLFHandler.
virtual void IlvButtonLFHandler::drawBackground | ( | const IlvButton * | button, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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 IlvButtonMLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonWLFHandler.
virtual void IlvButtonLFHandler::drawButtonAsDefault | ( | const IlvButton * | button, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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 IlvButtonMLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonWLFHandler.
virtual void IlvButtonLFHandler::drawContents | ( | const IlvButton * | button, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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 IlvButtonMLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonWLFHandler.
virtual void IlvButtonLFHandler::drawFrame | ( | const IlvButton * | button, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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 IlvButtonMLFHandler, IlvButtonVXLFHandler, IlvButtonW95LFHandler, and IlvButtonWLFHandler.
virtual void IlvButtonLFHandler::drawGadgetItem | ( | const IlvButton * | button, | |
const IlvGadgetItem * | item, | |||
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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.
virtual IlBoolean IlvButtonLFHandler::handleEvent | ( | IlvButton * | button, | |
IlvEvent & | event | |||
) | const [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 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.