Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object look-and-feel class. More...
#include <ilviews/gadgets/toolbar.h>
Public Member Functions | |
virtual void | drawBackground (const IlvToolBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the background of a toolbar. | |
virtual void | drawContents (const IlvToolBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the contents of a toolbar. | |
virtual void | drawFrame (const IlvToolBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the frame of a toolbar. | |
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. | |
virtual IlBoolean | handleEvent (IlvToolBar *bar, IlvEvent &event) const |
Is called to handle the events of a toolbar. |
Object look-and-feel class.
Library: ilvgadgt
The predefined object look-and-feel handlers of the toolbar are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
virtual void IlvDefaultToolBarLFHandler::drawBackground | ( | const IlvToolBar * | toolbar, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Is called to draw the background of a toolbar.
toolbar | The toolbar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implements IlvToolBarLFHandler.
Reimplemented in IlvToolBarVXLFHandler, and IlvToolBarW95LFHandler.
virtual void IlvDefaultToolBarLFHandler::drawContents | ( | const IlvToolBar * | toolbar, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Is called to draw the contents of a toolbar.
toolbar | The toolbar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implements IlvToolBarLFHandler.
virtual void IlvDefaultToolBarLFHandler::drawFrame | ( | const IlvToolBar * | toolbar, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Is called to draw the frame of a toolbar.
toolbar | The toolbar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implements IlvToolBarLFHandler.
Reimplemented in IlvToolBarVXLFHandler, and IlvToolBarW95LFHandler.
virtual void IlvDefaultToolBarLFHandler::drawGadgetItem | ( | const IlvToolBar * | toolbar, | |
const IlvMenuItem * | item, | |||
IlvPort * | dst, | |||
const IlvRect & | bbox, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Is called to draw a menu item.
toolbar | The toolbar. | |
item | The menu item to draw. | |
dst | The destination port. | |
bbox | The rectangle where to draw the item. | |
t | The transformer. Not Used. | |
clip | The clipping region. |
Implements IlvToolBarLFHandler.
virtual IlBoolean IlvDefaultToolBarLFHandler::handleEvent | ( | IlvToolBar * | toolbar, | |
IlvEvent & | event | |||
) | const [virtual] |
Is called to handle the events of a toolbar.
toolbar | The toolbar. | |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvToolBarLFHandler.
© 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.