Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/menubar.h>
Public Member Functions | |
IlvMenuBarLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
virtual void | drawBackground (const IlvMenuBar *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a menu bar. | |
virtual void | drawContents (const IlvMenuBar *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents of a menu bar. | |
virtual void | drawFrame (const IlvMenuBar *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a menu bar. | |
virtual void | drawGadgetItem (const IlvMenuBar *menu, const IlvMenuItem *item, IlvPort *dst, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw a menu item of the menu. | |
virtual IlBoolean | handleEvent (IlvMenuBar *menu, IlvEvent &event) const =0 |
Is called to handle the events of a menu bar. |
Object Look-and-Feel class.
Library: ilvgadgt
The base class for the object look-and-feel handlers of the menu bar.
IlvMenuBarLFHandler::IlvMenuBarLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvMenuBarLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
virtual void IlvMenuBarLFHandler::drawBackground | ( | const IlvMenuBar * | menu, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the background of a menu bar.
menu | The menu bar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultMenuBarLFHandler.
virtual void IlvMenuBarLFHandler::drawContents | ( | const IlvMenuBar * | menu, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the contents of a menu bar.
menu | The menu bar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultMenuBarLFHandler.
virtual void IlvMenuBarLFHandler::drawFrame | ( | const IlvMenuBar * | menu, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw the frame of a menu bar.
menu | The menu bar. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. |
Implemented in IlvDefaultMenuBarLFHandler.
virtual void IlvMenuBarLFHandler::drawGadgetItem | ( | const IlvMenuBar * | menu, | |
const IlvMenuItem * | item, | |||
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [pure virtual] |
Is called to draw a menu item of the menu.
menu | The menu bar. | |
item | The menu bar item to draw. | |
dst | The destination port. | |
rect | The rectangle where to draw the item. | |
t | The transformer. Not Used. | |
clip | The clipping region. |
Implemented in IlvDefaultMenuBarLFHandler.
virtual IlBoolean IlvMenuBarLFHandler::handleEvent | ( | IlvMenuBar * | menu, | |
IlvEvent & | event | |||
) | const [pure virtual] |
Is called to handle the events of a menu bar.
menu | The menu bar. | |
event | The event to handle. |
IlTrue
if the event has been consumed. Implemented in IlvDefaultMenuBarLFHandler.
© 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.