rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvDefaultSliderLFHandler Class Reference

Object look-and-feel class. More...

#include <ilviews/gadgets/slider.h>

Inheritance diagram for IlvDefaultSliderLFHandler:
IlvSliderLFHandler IlvObjectLFHandler IlvSliderMLFHandler IlvSliderWLFHandler IlvSliderVXLFHandler IlvSliderW95LFHandler

Public Member Functions

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 IlBoolean handleEvent (IlvSlider *, IlvEvent &e) const
 Is called to handle the events of a slider gadget. More...
 
- Public Member Functions inherited from IlvSliderLFHandler
 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 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 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...
 

Detailed Description

Object look-and-feel class.

Library: ilvgadgt

The predefined object look-and-feel handlers of the slider gadget are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

virtual void IlvDefaultSliderLFHandler::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.

Implements IlvSliderLFHandler.

virtual void IlvDefaultSliderLFHandler::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.

Implements IlvSliderLFHandler.

Reimplemented in IlvSliderVXLFHandler, IlvSliderW95LFHandler, and IlvSliderMLFHandler.

virtual void IlvDefaultSliderLFHandler::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.

Implements IlvSliderLFHandler.

virtual IlBoolean IlvDefaultSliderLFHandler::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.

Implements IlvSliderLFHandler.


© Copyright 2015, 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.