rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPopupMenuW95LFHandler Class Reference

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

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

Inheritance diagram for IlvPopupMenuW95LFHandler:
IlvPopupMenuWLFHandler IlvDefaultPopupMenuLFHandler IlvPopupMenuLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvPopupMenuW95LFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual IlBoolean allowSelectWithMove () const
 Indicates whether the item selection should follow the mouse.
virtual void drawBackground (const IlvPopupMenu *, IlvPort *, const IlvTransformer *, const IlvRegion *, IlBoolean drawRelief=IlTrue) const
 Is called to draw the frame of a pop-up menu.
virtual void drawContents (const IlvPopupMenu *, IlvPort *, const IlvTransformer *, const IlvRegion *, IlBoolean drawRelief=IlTrue) const
 Is called to draw the contents of a pop-up menu.
virtual void drawFrame (const IlvPopupMenu *, IlvPort *, const IlvTransformer *, const IlvRegion *, IlBoolean drawRelief=IlTrue) const
 Is called to draw the frame of a pop-up menu.
virtual void drawSelection (const IlvPopupMenu *, IlvPort *port, const IlvRect &rect, const IlvMenuItem *item, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw the selection of a menu item.

Detailed Description

Object Look-and-Feel class.

Library: ilvw95look

The class for the Microsoft Windows 95 object look-and-feel handler of the pop-up menu.


Constructor & Destructor Documentation

IlvPopupMenuW95LFHandler::IlvPopupMenuW95LFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvPopupMenuW95LFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual IlBoolean IlvPopupMenuW95LFHandler::allowSelectWithMove (  )  const [virtual]

Indicates whether the item selection should follow the mouse.

Returns:
IlTrue if the item selection must follow the mouse.

Reimplemented from IlvDefaultPopupMenuLFHandler.

virtual void IlvPopupMenuW95LFHandler::drawBackground ( const IlvPopupMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlBoolean  drawRelief = IlTrue 
) const [virtual]

Is called to draw the frame of a pop-up menu.

Parameters:
menu The pop-up menu.
dst The destination port.
t The transformer.
clip The clipping region.
drawRelief A Boolean indicating whether relief will be used to draw.

Reimplemented from IlvPopupMenuWLFHandler.

virtual void IlvPopupMenuW95LFHandler::drawContents ( const IlvPopupMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlBoolean  drawRelief = IlTrue 
) const [virtual]

Is called to draw the contents of a pop-up menu.

Parameters:
menu The pop-up menu.
dst The destination port.
t The transformer.
clip The clipping region.
drawRelief A Boolean indicating whether relief will be used to draw.

Reimplemented from IlvPopupMenuWLFHandler.

virtual void IlvPopupMenuW95LFHandler::drawFrame ( const IlvPopupMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlBoolean  drawRelief = IlTrue 
) const [virtual]

Is called to draw the frame of a pop-up menu.

Parameters:
menu The pop-up menu.
dst The destination port.
t The transformer.
clip The clipping region.
drawRelief A Boolean indicating whether relief will be used to draw.

Reimplemented from IlvPopupMenuWLFHandler.

virtual void IlvPopupMenuW95LFHandler::drawSelection ( const IlvPopupMenu menu,
IlvPort dst,
const IlvRect rect,
const IlvMenuItem item,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the selection of a menu item.

Parameters:
menu The pop-up menu.
dst The destination port.
rect The rectangle where to draw the item.
item The pop-up menu item to draw.
t The transformer. Not Used.
clip The clipping region.

Reimplemented from IlvPopupMenuWLFHandler.

 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.