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 | |
IlvToolBarLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
virtual IlBoolean | handleEvent (IlvToolBar *toolbar, IlvEvent &event) const =0 |
Is called to handle the events of a toolbar. |
Object Look-and-Feel class.
Library: ilvgadgt
The base class for the object look-and-feel handlers of the toolbar.
IlvToolBarLFHandler::IlvToolBarLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvToolBarLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
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.
toolbar | The toolbar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultToolBarLFHandler, IlvToolBarVXLFHandler, and IlvToolBarW95LFHandler.
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.
toolbar | The toolbar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The 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.
toolbar | The toolbar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultToolBarLFHandler, IlvToolBarVXLFHandler, and IlvToolBarW95LFHandler.
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.
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. |
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.
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. |
Implemented in IlvToolBarMLFHandler, IlvToolBarVXLFHandler, IlvToolBarW95LFHandler, and IlvToolBarWLFHandler.
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.
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. |
Implemented in IlvToolBarMLFHandler, IlvToolBarVXLFHandler, IlvToolBarW95LFHandler, and IlvToolBarWLFHandler.
virtual IlBoolean IlvToolBarLFHandler::handleEvent | ( | IlvToolBar * | toolbar, | |
IlvEvent & | event | |||
) | const [pure 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. Implemented in IlvDefaultToolBarLFHandler.
© 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.