rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvSpinBoxMLFHandler Class Reference

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

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

Inheritance diagram for IlvSpinBoxMLFHandler:
IlvDefaultSpinBoxLFHandler IlvSpinBoxLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvSpinBoxMLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
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.
virtual void drawFrame (const IlvSpinBox *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a spin box.

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:
lfh The 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:
spin The spin box.
decrArrow The returned bounding box of the decrement arrow.
incrArrow The returned bounding box of the increment arrow.
internal The internal bounding box where to draw the objects of the spin box.
t The 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:
spin The spin box.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvSpinBoxLFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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