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

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

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

Inheritance diagram for IlvSpinBoxCSSLFHandler:
IlvDefaultSpinBoxLFHandler IlvSpinBoxLFHandler IlvObjectLFHandler

Public Member Functions

 IlvSpinBoxCSSLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeArrowRects (const IlvSpinBox *spin, IlvRect &r1, IlvRect &r2, IlvRect &r3, const IlvTransformer *t) const
 Is called to compute the bounding boxes of spin box items. More...
 
virtual void drawBackground (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a spin box. More...
 
virtual void drawFrame (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a spin box. More...
 
- Public Member Functions inherited from IlvDefaultSpinBoxLFHandler
virtual void drawArrow (const IlvSpinBox *, const IlvArrowButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the arrow of a spin box. More...
 
virtual void drawContents (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a spin box. More...
 
virtual IlBoolean handleEvent (IlvSpinBox *, IlvEvent &) const
 Is called to handle the events of a spin box. More...
 
- Public Member Functions inherited from IlvSpinBoxLFHandler
 IlvSpinBoxLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvacsslook

The class for the motif object look-and-feel handler of the spin box.

Constructor & Destructor Documentation

◆ IlvSpinBoxCSSLFHandler()

IlvSpinBoxCSSLFHandler::IlvSpinBoxCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvSpinBoxCSSLFHandler instance and initializes it with lfh.

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

Member Function Documentation

◆ computeArrowRects()

virtual void IlvSpinBoxCSSLFHandler::computeArrowRects ( const IlvSpinBox spin,
IlvRect decrArrow,
IlvRect incrArrow,
IlvRect internal,
const IlvTransformer t 
) const
virtual

Is called to compute the bounding boxes of spin box items.

Parameters
spinThe spin box.
decrArrowThe returned bounding box of the decrement arrow.
incrArrowThe returned bounding box of the increment arrow.
internalThe internal bounding box where to draw the objects of the spin box.
tThe transformer.

Implements IlvSpinBoxLFHandler.

◆ drawBackground()

virtual void IlvSpinBoxCSSLFHandler::drawBackground ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a spin box.

Parameters
spinThe spin box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvDefaultSpinBoxLFHandler.

◆ drawFrame()

virtual void IlvSpinBoxCSSLFHandler::drawFrame ( const IlvSpinBox spin,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a spin box.

Parameters
spinThe spin box.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvSpinBoxLFHandler.