Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/windows/toggle.h>
Public Member Functions | |
IlvToggleWLFHandler (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... | |
virtual IlBoolean | handleEvent (IlvToggle *, IlvEvent ®ion) 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... | |
Object Look-and-Feel class.
Library: ilvwlook
The class for the Microsoft Windows object look-and-feel handler of the toggle button.
IlvToggleWLFHandler::IlvToggleWLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvToggleWLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
virtual |
Is called to draw the check box of a toggle button.
toggle | The toggle button. |
dst | The destination port. |
rect | The rectangle where to draw the check box. |
clip | The clipping region. |
Implements IlvToggleLFHandler.
Reimplemented in IlvToggleVXLFHandler, and IlvToggleW95LFHandler.
|
virtual |
Is called to draw the contents of a toggle button.
toggle | The toggle button. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvToggleLFHandler.
Reimplemented in IlvToggleVXLFHandler, and IlvToggleW95LFHandler.
|
virtual |
Is called to draw the text and bitmap of a toggle button.
toggle | The toggle button. |
dst | The destination port. |
rect | The rectangle where to draw the text and bitmap. |
clip | The clipping region. |
Implements IlvToggleLFHandler.
Reimplemented in IlvToggleVXLFHandler, and IlvToggleW95LFHandler.
|
virtual |
Returns the size of the check box of the toggle button.
Implements IlvToggleLFHandler.
Reimplemented in IlvToggleVXLFHandler, and IlvToggleW95LFHandler.
|
virtual |
Returns the margin between the check box and the label of the toggle button.
Implements IlvToggleLFHandler.
Reimplemented in IlvToggleVXLFHandler, and IlvToggleW95LFHandler.
|
virtual |
Is called to handle the events of a toggle button.
toggle | The toggle button. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvToggleLFHandler.
© Copyright 2016, 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.