rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvDefaultToggleLFHandler Class Reference

Object look-and-feel class. More...

#include <ilviews/gadgets/toggle.h>

Inheritance diagram for IlvDefaultToggleLFHandler:
IlvToggleLFHandler IlvObjectLFHandler IlvToggleMLFHandler IlvToggleWLFHandler IlvToggleVXLFHandler IlvToggleW95LFHandler

Public Member Functions

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...
 
virtual void drawCheckBox (const IlvToggle *toggle, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the check box of a toggle button. More...
 
virtual void drawContents (const IlvToggle *toggle, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a toggle button. More...
 
virtual void drawText (const IlvToggle *toggle, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0
 Is called to draw the text and bitmap of a toggle button. More...
 
virtual IlUShort getCheckSize () const =0
 Returns the size of the check box of the toggle button. More...
 
virtual IlUShort getXMargin () const =0
 Returns the margin between the check box and the label of the toggle button. More...
 
virtual IlBoolean handleEvent (IlvToggle *toggle, IlvEvent &event) const =0
 Is called to handle the events of a toggle button. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvgadgt

The predefined object look-and-feel handlers of the toggle button are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

virtual void IlvDefaultToggleLFHandler::drawBackground ( const IlvToggle toggle,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a toggle button.

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

Implements IlvToggleLFHandler.

virtual void IlvDefaultToggleLFHandler::drawFrame ( const IlvToggle toggle,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a toggle button.

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

Implements IlvToggleLFHandler.


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