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
IlvOptionMenuMLFHandler Class Reference

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

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

Inheritance diagram for IlvOptionMenuMLFHandler:
IlvDefaultOptionMenuLFHandler IlvOptionMenuLFHandler IlvObjectLFHandler

Public Member Functions

 IlvOptionMenuMLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawArrow (const IlvOptionMenu *, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const
 Is called to draw the arrow of an option menu. More...
 
virtual void drawBackground (const IlvOptionMenu *, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the background of an option menu. More...
 
virtual void drawContents (const IlvOptionMenu *, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the contents of an option menu. More...
 
virtual void drawFrame (const IlvOptionMenu *, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the frame of an option menu. More...
 
virtual void drawText (const IlvOptionMenu *, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const
 Is called to draw the selection of an option menu. More...
 
- Public Member Functions inherited from IlvDefaultOptionMenuLFHandler
virtual IlBoolean handleEvent (IlvOptionMenu *, IlvEvent &) const
 Is called to handle the events of an option menu. More...
 
- Public Member Functions inherited from IlvOptionMenuLFHandler
 IlvOptionMenuLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual IlBoolean inArrow (const IlvOptionMenu *menu, IlvPoint &p) const
 Indicates whether the specified point is in the arrow of an option menu. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvamlook

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

Constructor & Destructor Documentation

IlvOptionMenuMLFHandler::IlvOptionMenuMLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvOptionMenuMLFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual void IlvOptionMenuMLFHandler::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
menuThe option menu.
dstThe destination port.
rectThe rectangle where to draw the arrow.
clipThe clipping region.

Implements IlvOptionMenuLFHandler.

virtual void IlvOptionMenuMLFHandler::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
menuThe option menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvOptionMenuLFHandler.

virtual void IlvOptionMenuMLFHandler::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
menuThe option menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvOptionMenuLFHandler.

virtual void IlvOptionMenuMLFHandler::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
menuThe option menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvOptionMenuLFHandler.

virtual void IlvOptionMenuMLFHandler::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
menuThe option menu.
dstThe destination port.
rectThe rectangle where to draw the selection.
clipThe clipping region.

Implements IlvOptionMenuLFHandler.


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