Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/spinbox.h>
Public Member Functions | |
IlvSpinBoxLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
virtual void | computeArrowRects (const IlvSpinBox *spin, IlvRect &decrArrow, IlvRect &incrArrow, IlvRect &internal, const IlvTransformer *t) const =0 |
Is called to compute the bounding boxes of spin box items. | |
virtual void | drawArrow (const IlvSpinBox *spin, const IlvArrowButton *arrow, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the arrow of a spin box. | |
virtual void | drawBackground (const IlvSpinBox *spin, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a spin box. | |
virtual void | drawContents (const IlvSpinBox *spin, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents of a spin box. | |
virtual void | drawFrame (const IlvSpinBox *spin, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a spin box. | |
virtual IlBoolean | handleEvent (IlvSpinBox *spin, IlvEvent &event) const =0 |
Is called to handle the events of a spin box. |
Object Look-and-Feel class.
Library: ilvadvgdt
The base class for the object look-and-feel handlers of the spin box.
IlvSpinBoxLFHandler::IlvSpinBoxLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvSpinBoxLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
virtual void IlvSpinBoxLFHandler::computeArrowRects | ( | const IlvSpinBox * | spin, | |
IlvRect & | decrArrow, | |||
IlvRect & | incrArrow, | |||
IlvRect & | internal, | |||
const IlvTransformer * | t | |||
) | const [pure virtual] |
Is called to compute the bounding boxes of spin box items.
spin | The spin box. | |
decrArrow | The returned bounding box of the decrement arrow. | |
incrArrow | The returned bounding box of the increment arrow. | |
internal | The internal bounding box where to draw the objects of the spin box. | |
t | The transformer. |
Implemented in IlvSpinBoxMLFHandler, IlvSpinBoxVXLFHandler, IlvSpinBoxW95LFHandler, and IlvSpinBoxWLFHandler.
virtual void IlvSpinBoxLFHandler::drawArrow | ( | const IlvSpinBox * | spin, | |
const IlvArrowButton * | arrow, | |||
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the arrow of a spin box.
spin | The spin box. | |
arrow | The arrow button. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultSpinBoxLFHandler.
virtual void IlvSpinBoxLFHandler::drawBackground | ( | const IlvSpinBox * | spin, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the background of a spin box.
spin | The spin box. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultSpinBoxLFHandler.
virtual void IlvSpinBoxLFHandler::drawContents | ( | const IlvSpinBox * | spin, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the contents of a spin box.
spin | The spin box. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultSpinBoxLFHandler.
virtual void IlvSpinBoxLFHandler::drawFrame | ( | const IlvSpinBox * | spin, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the frame of a spin box.
spin | The spin box. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvSpinBoxMLFHandler, IlvSpinBoxVXLFHandler, IlvSpinBoxW95LFHandler, and IlvSpinBoxWLFHandler.
virtual IlBoolean IlvSpinBoxLFHandler::handleEvent | ( | IlvSpinBox * | spin, | |
IlvEvent & | event | |||
) | const [pure virtual] |
Is called to handle the events of a spin box.
spin | The spin box. | |
event | The event to handle. |
IlTrue
if the event has been consumed. Implemented in IlvDefaultSpinBoxLFHandler.
© 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.