rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvToolBarMLFHandler Class Reference

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

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

Inheritance diagram for IlvToolBarMLFHandler:
IlvDefaultToolBarLFHandler IlvToolBarLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvToolBarMLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
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.
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.

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:
lfh The 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:
toolbar The toolbar.
dst The destination port.
rect The rectangle where to draw the selection.
item The menu item.
t The transformer.
clip The 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:
toolbar The toolbar.
dst The destination port.
rect The rectangle where to draw the selection.
item The menu item.
t The transformer.
clip The clipping region.

Implements IlvToolBarLFHandler.

 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.