Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvSliderCSSLFHandler Class Reference

Object Look-and-Feel class. More...

#include <ilviews/gadgets/css/slider.h>

Inheritance diagram for IlvSliderCSSLFHandler:
IlvDefaultSliderLFHandler IlvSliderLFHandler IlvObjectLFHandler

Public Member Functions

 IlvSliderCSSLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeBBox (const IlvSlider *, IlvRect &, IlvRect &, const IlvTransformer *) const
 Is called to compute the bounding boxes of the slider components. More...
 
virtual void drawBackground (const IlvSlider *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a slider gadget. More...
 
virtual void drawContents (const IlvSlider *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a slider gadget. More...
 
virtual void drawFrame (const IlvSlider *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a slider gadget. More...
 
virtual void drawThumb (const IlvSlider *, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the thumb of a slider gadget. More...
 
virtual void drawTrack (const IlvSlider *, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the track of a slider gadget. More...
 
virtual IlBoolean handleEvent (IlvSlider *slider, IlvEvent &event) const
 Is called to handle the events of a slider gadget. More...
 
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. More...
 
- Public Member Functions inherited from IlvSliderLFHandler
 IlvSliderLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvcsslook

The class for the motif object look-and-feel handler of the slider gadget.

Constructor & Destructor Documentation

◆ IlvSliderCSSLFHandler()

IlvSliderCSSLFHandler::IlvSliderCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvSliderCSSLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated to.

Member Function Documentation

◆ computeBBox()

virtual void IlvSliderCSSLFHandler::computeBBox ( const IlvSlider slider,
IlvRect track,
IlvRect thumb,
const IlvTransformer t 
) const
virtual

Is called to compute the bounding boxes of the slider components.

Parameters
sliderThe slider.
trackThe returned bounding box of the track of the slider.
thumbThe returned bounding box of the thumb of the slider.
tThe transformer.

Implements IlvSliderLFHandler.

◆ drawBackground()

virtual void IlvSliderCSSLFHandler::drawBackground ( const IlvSlider slider,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvDefaultSliderLFHandler.

◆ drawContents()

virtual void IlvSliderCSSLFHandler::drawContents ( const IlvSlider slider,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvDefaultSliderLFHandler.

◆ drawFrame()

virtual void IlvSliderCSSLFHandler::drawFrame ( const IlvSlider slider,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvDefaultSliderLFHandler.

◆ drawThumb()

virtual void IlvSliderCSSLFHandler::drawThumb ( const IlvSlider slider,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
virtual

Is called to draw the thumb of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
rectThe rectangle where to draw the thumb.
clipThe clipping region.

Implements IlvSliderLFHandler.

◆ drawTrack()

virtual void IlvSliderCSSLFHandler::drawTrack ( const IlvSlider slider,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
virtual

Is called to draw the track of a slider gadget.

Parameters
sliderThe slider.
dstThe destination port.
rectThe rectangle where to draw the track.
clipThe clipping region.

Implements IlvSliderLFHandler.

◆ handleEvent()

virtual IlBoolean IlvSliderCSSLFHandler::handleEvent ( IlvSlider slider,
IlvEvent event 
) const
virtual

Is called to handle the events of a slider gadget.

Parameters
sliderThe slider.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Reimplemented from IlvDefaultSliderLFHandler.

◆ positionToValue()

virtual IlInt IlvSliderCSSLFHandler::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.

Parameters
sliderThe slider.
pointThe point.
tThe transformer.

Implements IlvSliderLFHandler.