Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

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

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

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

Inheritance diagram for IlvButtonW95LFHandler:
IlvButtonWLFHandler IlvDefaultButtonLFHandler IlvButtonLFHandler IlvObjectLFHandler

Public Member Functions

 IlvButtonW95LFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawBackground (const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a button. More...
 
virtual 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 IlvButtonWLFHandler
 IlvButtonWLFHandler (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...
 
void drawButtonAsDefault (const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the default 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: ilvw95look

The class for the Microsoft Windows 95 object look-and-feel handler of the button gadget.

Constructor & Destructor Documentation

§ IlvButtonW95LFHandler()

IlvButtonW95LFHandler::IlvButtonW95LFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvButtonW95LFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ drawBackground()

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

Reimplemented from IlvButtonWLFHandler.

§ drawButtonAsDefault()

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

Reimplemented from IlvButtonWLFHandler.

§ drawFrame()

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

Reimplemented from IlvButtonWLFHandler.


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