rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvButtonMLFHandler Class Reference

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

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

Inheritance diagram for IlvButtonMLFHandler:
IlvDefaultButtonLFHandler IlvButtonLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvButtonMLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
void computeDefaultButtonRegion (const IlvButton *button, IlvRegion &region, const IlvTransformer *t) const
 Is called to compute the bounding box of a default button.
virtual void drawBackground (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a button.
void drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the default button.
virtual void drawContents (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a button.
virtual void drawFrame (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a button.

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 ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvButtonMLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

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:
button The button.
region The region affected by the default button drawing.
t The transformer.

Implements IlvButtonLFHandler.

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:
button The button.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvButtonLFHandler.

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

Is called to draw the default button.

Parameters:
button The button.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvButtonLFHandler.

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:
button The button.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvButtonLFHandler.

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:
button The button.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvButtonLFHandler.

 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.