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
IlvSpinBoxMLFHandler Class Reference

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

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

Inheritance diagram for IlvSpinBoxMLFHandler:
IlvDefaultSpinBoxLFHandler IlvSpinBoxLFHandler IlvObjectLFHandler

Public Member Functions

 IlvSpinBoxMLFHandler (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 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 drawBackground (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background 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: ilvamlook

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

Constructor & Destructor Documentation

IlvSpinBoxMLFHandler::IlvSpinBoxMLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvSpinBoxMLFHandler instance and initializes it with lfh.

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

Member Function Documentation

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

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


© 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.