Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvToolBarCSSLFHandler Class Reference

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

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

Inheritance diagram for IlvToolBarCSSLFHandler:
IlvDefaultToolBarLFHandler IlvToolBarLFHandler IlvObjectLFHandler

Public Member Functions

 IlvToolBarCSSLFHandler (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: ilvcsslook

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

Constructor & Destructor Documentation

◆ IlvToolBarCSSLFHandler()

IlvToolBarCSSLFHandler::IlvToolBarCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvToolBarCSSLFHandler instance and initializes it with lfh.

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

Member Function Documentation

◆ drawHighlight()

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

◆ drawSelection()

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