rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvToggleW95LFHandler Class Reference

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

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

Inheritance diagram for IlvToggleW95LFHandler:
IlvToggleWLFHandler IlvDefaultToggleLFHandler IlvToggleLFHandler IlvObjectLFHandler

Public Member Functions

 IlvToggleW95LFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawCheckBox (const IlvToggle *, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the check box of a toggle button. More...
 
virtual void drawContents (const IlvToggle *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a toggle button. More...
 
virtual void drawText (const IlvToggle *, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the text and bitmap of a toggle button. More...
 
virtual IlUShort getCheckSize () const
 Returns the size of the check box of the toggle button. More...
 
virtual IlUShort getXMargin () const
 Returns the margin between the check box and the label of the toggle button. More...
 
- Public Member Functions inherited from IlvToggleWLFHandler
 IlvToggleWLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual IlBoolean handleEvent (IlvToggle *, IlvEvent &region) const
 Is called to handle the events of a toggle button. More...
 
- Public Member Functions inherited from IlvDefaultToggleLFHandler
virtual void drawBackground (const IlvToggle *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a toggle button. More...
 
virtual void drawFrame (const IlvToggle *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a toggle button. More...
 
- Public Member Functions inherited from IlvToggleLFHandler
 IlvToggleLFHandler (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 toggle button.

Constructor & Destructor Documentation

IlvToggleW95LFHandler::IlvToggleW95LFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvToggleW95LFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual void IlvToggleW95LFHandler::drawCheckBox ( const IlvToggle toggle,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
virtual

Is called to draw the check box of a toggle button.

Parameters
toggleThe toggle button.
dstThe destination port.
rectThe rectangle where to draw the check box.
clipThe clipping region.

Reimplemented from IlvToggleWLFHandler.

virtual void IlvToggleW95LFHandler::drawContents ( const IlvToggle toggle,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a toggle button.

Parameters
toggleThe toggle button.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvToggleWLFHandler.

virtual void IlvToggleW95LFHandler::drawText ( const IlvToggle toggle,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const
virtual

Is called to draw the text and bitmap of a toggle button.

Parameters
toggleThe toggle button.
dstThe destination port.
rectThe rectangle where to draw the text and bitmap.
clipThe clipping region.

Reimplemented from IlvToggleWLFHandler.

virtual IlUShort IlvToggleW95LFHandler::getCheckSize ( ) const
virtual

Returns the size of the check box of the toggle button.

Returns
The size of the check box of the toggle button.

Reimplemented from IlvToggleWLFHandler.

virtual IlUShort IlvToggleW95LFHandler::getXMargin ( ) const
virtual

Returns the margin between the check box and the label of the toggle button.

Returns
The margin between the check box and the label of the toggle button.

Reimplemented from IlvToggleWLFHandler.


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