rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvOptionMenuWLFHandler Class Reference

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

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

Inheritance diagram for IlvOptionMenuWLFHandler:
IlvDefaultOptionMenuLFHandler IlvOptionMenuLFHandler IlvObjectLFHandler IlvOptionMenuVXLFHandler IlvOptionMenuW95LFHandler

List of all members.

Public Member Functions

 IlvOptionMenuWLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual void drawArrow (const IlvOptionMenu *, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const
 Is called to draw the arrow of an option menu.
virtual void drawBackground (const IlvOptionMenu *, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the background of an option menu.
virtual void drawContents (const IlvOptionMenu *, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the contents of an option menu.
virtual void drawFrame (const IlvOptionMenu *, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the frame of an option menu.
virtual void drawText (const IlvOptionMenu *, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const
 Is called to draw the selection of an option menu.
virtual IlBoolean inArrow (const IlvOptionMenu *, IlvPoint &) const
 Indicates whether the specified point is in the arrow of an option menu.

Detailed Description

Object Look-and-Feel class.

Library: ilvawlook

The class for the Microsoft Windows object look-and-feel handler of the option menu.


Constructor & Destructor Documentation

IlvOptionMenuWLFHandler::IlvOptionMenuWLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvOptionMenuWLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

virtual void IlvOptionMenuWLFHandler::drawArrow ( const IlvOptionMenu menu,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const [virtual]

Is called to draw the arrow of an option menu.

Parameters:
menu The option menu.
dst The destination port.
rect The rectangle where to draw the arrow.
clip The clipping region.

Implements IlvOptionMenuLFHandler.

Reimplemented in IlvOptionMenuVXLFHandler, and IlvOptionMenuW95LFHandler.

virtual void IlvOptionMenuWLFHandler::drawBackground ( const IlvOptionMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the background of an option menu.

Parameters:
menu The option menu.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvOptionMenuLFHandler.

Reimplemented in IlvOptionMenuVXLFHandler, and IlvOptionMenuW95LFHandler.

virtual void IlvOptionMenuWLFHandler::drawContents ( const IlvOptionMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the contents of an option menu.

Parameters:
menu The option menu.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvOptionMenuLFHandler.

virtual void IlvOptionMenuWLFHandler::drawFrame ( const IlvOptionMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the frame of an option menu.

Parameters:
menu The option menu.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvOptionMenuLFHandler.

Reimplemented in IlvOptionMenuVXLFHandler, and IlvOptionMenuW95LFHandler.

virtual void IlvOptionMenuWLFHandler::drawText ( const IlvOptionMenu menu,
IlvPort dst,
const IlvRect rect,
const IlvRegion clip 
) const [virtual]

Is called to draw the selection of an option menu.

Parameters:
menu The option menu.
dst The destination port.
rect The rectangle where to draw the selection.
clip The clipping region.

Implements IlvOptionMenuLFHandler.

virtual IlBoolean IlvOptionMenuWLFHandler::inArrow ( const IlvOptionMenu menu,
IlvPoint p 
) const [virtual]

Indicates whether the specified point is in the arrow of an option menu.

Parameters:
menu The option menu.
p The point.

Reimplemented from IlvOptionMenuLFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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