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
IlvToolBarLFHandler Class Referenceabstract

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

#include <ilviews/gadgets/toolbar.h>

Inheritance diagram for IlvToolBarLFHandler:
IlvObjectLFHandler IlvDefaultToolBarLFHandler IlvToolBarMLFHandler IlvToolBarWLFHandler IlvToolBarVXLFHandler IlvToolBarW95LFHandler

Public Member Functions

 IlvToolBarLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawBackground (const IlvToolBar *toolbar, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the background of a toolbar. More...
 
virtual void drawContents (const IlvToolBar *toolbar, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the contents of a toolbar. More...
 
virtual void drawFrame (const IlvToolBar *toolbar, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the frame of a toolbar. More...
 
virtual void drawGadgetItem (const IlvToolBar *toolbar, const IlvMenuItem *item, IlvPort *dst, const IlvRect &bbox, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw a menu item. More...
 
virtual void drawHighlight (const IlvToolBar *toolbar, IlvPort *dst, const IlvRect &rect, const IlvMenuItem *item, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw a highlighted menu item. More...
 
virtual void drawSelection (const IlvToolBar *toolbar, IlvPort *dst, const IlvRect &rect, const IlvMenuItem *item, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw a selected menu item. More...
 
virtual IlBoolean handleEvent (IlvToolBar *toolbar, IlvEvent &event) const =0
 Is called to handle the events of a toolbar. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvgadgt

The base class for the object look-and-feel handlers of the toolbar.

Constructor & Destructor Documentation

IlvToolBarLFHandler::IlvToolBarLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Initializes a new IlvToolBarLFHandler instance.

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

Member Function Documentation

virtual void IlvToolBarLFHandler::drawBackground ( const IlvToolBar toolbar,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the background of a toolbar.

Parameters
toolbarThe toolbar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultToolBarLFHandler, IlvToolBarW95LFHandler, and IlvToolBarVXLFHandler.

virtual void IlvToolBarLFHandler::drawContents ( const IlvToolBar toolbar,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the contents of a toolbar.

Parameters
toolbarThe toolbar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultToolBarLFHandler.

virtual void IlvToolBarLFHandler::drawFrame ( const IlvToolBar toolbar,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw the frame of a toolbar.

Parameters
toolbarThe toolbar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvDefaultToolBarLFHandler, IlvToolBarW95LFHandler, and IlvToolBarVXLFHandler.

virtual void IlvToolBarLFHandler::drawGadgetItem ( const IlvToolBar toolbar,
const IlvMenuItem item,
IlvPort dst,
const IlvRect bbox,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw a menu item.

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

Implemented in IlvDefaultToolBarLFHandler.

virtual void IlvToolBarLFHandler::drawHighlight ( const IlvToolBar toolbar,
IlvPort dst,
const IlvRect rect,
const IlvMenuItem item,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvToolBarW95LFHandler, IlvToolBarVXLFHandler, IlvToolBarWLFHandler, and IlvToolBarMLFHandler.

virtual void IlvToolBarLFHandler::drawSelection ( const IlvToolBar toolbar,
IlvPort dst,
const IlvRect rect,
const IlvMenuItem item,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvToolBarW95LFHandler, IlvToolBarVXLFHandler, IlvToolBarWLFHandler, and IlvToolBarMLFHandler.

virtual IlBoolean IlvToolBarLFHandler::handleEvent ( IlvToolBar toolbar,
IlvEvent event 
) const
pure virtual

Is called to handle the events of a toolbar.

Parameters
toolbarThe toolbar.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implemented in IlvDefaultToolBarLFHandler.


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