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

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

#include <ilviews/gadgets/menubar.h>

Inheritance diagram for IlvDefaultMenuBarLFHandler:
IlvMenuBarLFHandler IlvObjectLFHandler IlvMenuBarMLFHandler IlvMenuBarWLFHandler

Public Member Functions

virtual void drawBackground (const IlvMenuBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a menu bar. More...
 
virtual void drawContents (const IlvMenuBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a menu bar. More...
 
virtual void drawFrame (const IlvMenuBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a menu bar. More...
 
virtual void drawGadgetItem (const IlvMenuBar *, const IlvMenuItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const
 Is called to draw a menu item of the menu. More...
 
virtual IlBoolean handleEvent (IlvMenuBar *bar, IlvEvent &event) const
 Is called to handle the events of a menu bar. More...
 
- Public Member Functions inherited from IlvMenuBarLFHandler
 IlvMenuBarLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvgadgt

The predefined object look-and-feel handlers of the menu bar 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 IlvDefaultMenuBarLFHandler::drawBackground ( const IlvMenuBar menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a menu bar.

Parameters
menuThe menu bar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvMenuBarLFHandler.

virtual void IlvDefaultMenuBarLFHandler::drawContents ( const IlvMenuBar menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a menu bar.

Parameters
menuThe menu bar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvMenuBarLFHandler.

virtual void IlvDefaultMenuBarLFHandler::drawFrame ( const IlvMenuBar menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a menu bar.

Parameters
menuThe menu bar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvMenuBarLFHandler.

virtual void IlvDefaultMenuBarLFHandler::drawGadgetItem ( const IlvMenuBar menu,
const IlvMenuItem item,
IlvPort dst,
const IlvRect rect,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw a menu item of the menu.

Parameters
menuThe menu bar.
itemThe menu bar item to draw.
dstThe destination port.
rectThe rectangle where to draw the item.
tThe transformer. Not Used.
clipThe clipping region.

Implements IlvMenuBarLFHandler.

virtual IlBoolean IlvDefaultMenuBarLFHandler::handleEvent ( IlvMenuBar menu,
IlvEvent event 
) const
virtual

Is called to handle the events of a menu bar.

Parameters
menuThe menu bar.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvMenuBarLFHandler.


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