Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

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

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

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

Inheritance diagram for IlvButtonWLFHandler:
IlvDefaultButtonLFHandler IlvButtonLFHandler IlvObjectLFHandler IlvButtonVXLFHandler IlvButtonW95LFHandler

Public Member Functions

 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...
 
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: ilvwlook

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

Constructor & Destructor Documentation

§ IlvButtonWLFHandler()

IlvButtonWLFHandler::IlvButtonWLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvButtonWLFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ computeDefaultButtonRegion()

void IlvButtonWLFHandler::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 IlvButtonWLFHandler::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.

Reimplemented in IlvButtonVXLFHandler, and IlvButtonW95LFHandler.

§ drawButtonAsDefault()

void IlvButtonWLFHandler::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 IlvButtonWLFHandler::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.

Reimplemented in IlvButtonVXLFHandler, and IlvButtonW95LFHandler.

§ drawFrame()

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

Reimplemented in IlvButtonVXLFHandler, and IlvButtonW95LFHandler.


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