Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvToolBarWLFHandler Class Reference

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

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

Inheritance diagram for IlvToolBarWLFHandler:
IlvDefaultToolBarLFHandler IlvToolBarLFHandler IlvObjectLFHandler IlvToolBarVXLFHandler IlvToolBarW95LFHandler

Public Member Functions

 IlvToolBarWLFHandler (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: ilvwlook

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

Constructor & Destructor Documentation

IlvToolBarWLFHandler::IlvToolBarWLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvToolBarWLFHandler instance and initializes it with lfh.

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

Member Function Documentation

virtual void IlvToolBarWLFHandler::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.

Reimplemented in IlvToolBarW95LFHandler, and IlvToolBarVXLFHandler.

virtual void IlvToolBarWLFHandler::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.

Reimplemented in IlvToolBarW95LFHandler, and IlvToolBarVXLFHandler.


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