Object Look-and-Feel class. More...
#include <ilviews/gadgets/spinbox.h>
Public Member Functions | |
IlvSpinBoxLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual IlBoolean | handleEvent (IlvSpinBox *spin, IlvEvent &event) const =0 |
Is called to handle the events of a spin box. More... | |
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.
Initializes a new IlvSpinBoxLFHandler
instance.
lfh | The look-and-feel handler which this handler will be associated to. |
|
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 IlvSpinBoxWLFHandler, IlvSpinBoxW95LFHandler, IlvSpinBoxVXLFHandler, IlvSpinBoxMLFHandler, and IlvSpinBoxCSSLFHandler.
|
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.
|
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.
|
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.
|
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 IlvSpinBoxWLFHandler, IlvSpinBoxW95LFHandler, IlvSpinBoxVXLFHandler, IlvSpinBoxMLFHandler, and IlvSpinBoxCSSLFHandler.
|
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.