rwlogo

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvToolBarMLFHandler Class Reference

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

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

Inheritance diagram for IlvToolBarMLFHandler:
IlvDefaultToolBarLFHandler IlvToolBarLFHandler IlvObjectLFHandler

Public Member Functions

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

Detailed Description

Object Look-and-Feel class.

Library: ilvmlook

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

Constructor & Destructor Documentation

IlvToolBarMLFHandler::IlvToolBarMLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvToolBarMLFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual void IlvToolBarMLFHandler::drawHighlight ( const IlvToolBar toolbar,
IlvPort dst,
const IlvRect rect,
const IlvMenuItem item,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw a highlighted menu item.

Parameters
toolbarThe toolbar.
dstThe destination port.
rectThe rectangle where to draw the selection.
itemThe menu item.
tThe transformer.
clipThe clipping region.

Implements IlvToolBarLFHandler.

virtual void IlvToolBarMLFHandler::drawSelection ( const IlvToolBar toolbar,
IlvPort dst,
const IlvRect rect,
const IlvMenuItem item,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw a selected menu item.

Parameters
toolbarThe toolbar.
dstThe destination port.
rectThe rectangle where to draw the selection.
itemThe menu item.
tThe transformer.
clipThe clipping region.

Implements IlvToolBarLFHandler.


© Copyright 2014, 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.