Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/motif/slider.h>
Public Member Functions | |
IlvSliderMLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
virtual void | computeBBox (const IlvSlider *, IlvRect &, IlvRect &, const IlvTransformer *) const |
Is called to compute the bounding boxes of the slider components. | |
virtual void | drawContents (const IlvSlider *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the contents of a slider gadget. | |
virtual void | drawThumb (const IlvSlider *, IlvPort *, const IlvRect &, const IlvRegion *) const |
Is called to draw the thumb of a slider gadget. | |
virtual void | drawTrack (const IlvSlider *, IlvPort *, const IlvRect &, const IlvRegion *) const |
Is called to draw the track of a slider gadget. | |
virtual IlInt | positionToValue (const IlvSlider *, const IlvPoint &p, const IlvTransformer *t) const |
Is called to compute the value of the slider at a specified point. |
Object Look-and-Feel class.
Library: ilvmlook
The class for the motif object look-and-feel handler of the slider gadget.
IlvSliderMLFHandler::IlvSliderMLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvSliderMLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
virtual void IlvSliderMLFHandler::computeBBox | ( | const IlvSlider * | slider, | |
IlvRect & | track, | |||
IlvRect & | thumb, | |||
const IlvTransformer * | t | |||
) | const [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. |
Implements IlvSliderLFHandler.
virtual void IlvSliderMLFHandler::drawContents | ( | const IlvSlider * | slider, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [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. |
Reimplemented from IlvDefaultSliderLFHandler.
virtual void IlvSliderMLFHandler::drawThumb | ( | const IlvSlider * | sloder, | |
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvRegion * | clip | |||
) | const [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. |
Implements IlvSliderLFHandler.
virtual void IlvSliderMLFHandler::drawTrack | ( | const IlvSlider * | slider, | |
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvRegion * | clip | |||
) | const [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. |
Implements IlvSliderLFHandler.
virtual IlInt IlvSliderMLFHandler::positionToValue | ( | const IlvSlider * | slider, | |
const IlvPoint & | point, | |||
const IlvTransformer * | t | |||
) | const [virtual] |
Is called to compute the value of the slider at a specified point.
slider | The slider. | |
point | The point. | |
t | The transformer. |
Implements IlvSliderLFHandler.
© 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.