Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/slider.h>
Public Member Functions | |
IlvSliderLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | computeBBox (const IlvSlider *slider, IlvRect &track, IlvRect &thumb, const IlvTransformer *t) const =0 |
Is called to compute the bounding boxes of the slider components. More... | |
virtual void | drawBackground (const IlvSlider *slider, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a slider gadget. More... | |
virtual void | drawContents (const IlvSlider *slider, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents of a slider gadget. More... | |
virtual void | drawFrame (const IlvSlider *slider, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a slider gadget. More... | |
virtual void | drawThumb (const IlvSlider *slider, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0 |
Is called to draw the thumb of a slider gadget. More... | |
virtual void | drawTrack (const IlvSlider *slider, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0 |
Is called to draw the track of a slider gadget. More... | |
virtual IlBoolean | handleEvent (IlvSlider *slider, IlvEvent &event) const =0 |
Is called to handle the events of a slider gadget. More... | |
virtual IlInt | positionToValue (const IlvSlider *slider, const IlvPoint &point, const IlvTransformer *t) const =0 |
Is called to compute the value of the slider at a specified point. More... | |
Object Look-and-Feel class.
Library: ilvgadgt
The base class for the object look-and-feel handlers of the slider gadget.
IlvSliderLFHandler::IlvSliderLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvSliderLFHandler
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 boxes of the slider components.
slider | The slider. |
track | The returned bounding box of the track of the slider. |
thumb | The returned bounding box of the thumb of the slider. |
t | The transformer. |
Implemented in IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, IlvSliderWLFHandler, and IlvSliderMLFHandler.
|
pure virtual |
Is called to draw the background of a slider gadget.
slider | The slider. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvDefaultSliderLFHandler, and IlvSliderCSSLFHandler.
|
pure virtual |
Is called to draw the contents of a slider gadget.
slider | The slider. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvDefaultSliderLFHandler, IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, and IlvSliderMLFHandler.
|
pure virtual |
Is called to draw the frame of a slider gadget.
slider | The slider. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvDefaultSliderLFHandler, and IlvSliderCSSLFHandler.
|
pure virtual |
Is called to draw the thumb of a slider gadget.
slider | The slider. |
dst | The destination port. |
rect | The rectangle where to draw the thumb. |
clip | The clipping region. |
Implemented in IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, IlvSliderWLFHandler, and IlvSliderMLFHandler.
|
pure virtual |
Is called to draw the track of a slider gadget.
slider | The slider. |
dst | The destination port. |
rect | The rectangle where to draw the track. |
clip | The clipping region. |
Implemented in IlvSliderCSSLFHandler, IlvSliderVXLFHandler, IlvSliderW95LFHandler, IlvSliderWLFHandler, and IlvSliderMLFHandler.
|
pure virtual |
Is called to handle the events of a slider gadget.
slider | The slider. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implemented in IlvDefaultSliderLFHandler, and IlvSliderCSSLFHandler.
|
pure virtual |
Is called to compute the value of the slider at a specified point.
slider | The slider. |
point | The point. |
t | The transformer. |
Implemented in IlvSliderCSSLFHandler, IlvSliderMLFHandler, and IlvSliderWLFHandler.
© 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.