Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvButtonMLFHandler Class Reference

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

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

Inheritance diagram for IlvButtonMLFHandler:
IlvDefaultButtonLFHandler IlvButtonLFHandler IlvObjectLFHandler

Public Member Functions

 IlvButtonMLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
void computeDefaultButtonRegion (const IlvButton *button, IlvRegion &region, const IlvTransformer *) const
 Is called to compute the bounding box of a default button. More...
 
virtual void drawBackground (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a button. More...
 
void drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the default button. More...
 
virtual void drawContents (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a button. More...
 
virtual void drawFrame (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a button. More...
 
- Public Member Functions inherited from IlvDefaultButtonLFHandler
virtual void drawGadgetItem (const IlvButton *, const IlvGadgetItem *, IlvPort *, const IlvRect &, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the gadget item encapsulated by the button. More...
 
virtual IlBoolean handleEvent (IlvButton *, IlvEvent &) const
 Is called to handle the events of a button. More...
 
- Public Member Functions inherited from IlvButtonLFHandler
 IlvButtonLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvmlook

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

Constructor & Destructor Documentation

§ IlvButtonMLFHandler()

IlvButtonMLFHandler::IlvButtonMLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvButtonMLFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ computeDefaultButtonRegion()

void IlvButtonMLFHandler::computeDefaultButtonRegion ( const IlvButton button,
IlvRegion region,
const IlvTransformer t 
) const
virtual

Is called to compute the bounding box of a default button.

Parameters
buttonThe button.
regionThe region affected by the default button drawing.
tThe transformer.

Implements IlvButtonLFHandler.

§ drawBackground()

virtual void IlvButtonMLFHandler::drawBackground ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.

§ drawButtonAsDefault()

void IlvButtonMLFHandler::drawButtonAsDefault ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the default button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.

§ drawContents()

virtual void IlvButtonMLFHandler::drawContents ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.

§ drawFrame()

virtual void IlvButtonMLFHandler::drawFrame ( const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a button.

Parameters
buttonThe button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvButtonLFHandler.


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