Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/motif/menu.h>
Public Member Functions | |
IlvPopupMenuMLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. | |
virtual void | drawContents (const IlvPopupMenu *, IlvPort *, const IlvTransformer *, const IlvRegion *, IlBoolean drawRelief=IlTrue) const |
Is called to draw the contents of a pop-up menu. | |
virtual void | drawSelection (const IlvPopupMenu *, IlvPort *port, const IlvRect &rect, const IlvMenuItem *item, const IlvTransformer *t, const IlvRegion *clip) const |
Is called to draw the selection of a menu item. |
Object Look-and-Feel class.
Library: ilvmlook
The class for the motif object look-and-feel handler of the pop-up menu.
IlvPopupMenuMLFHandler::IlvPopupMenuMLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvPopupMenuMLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
virtual void IlvPopupMenuMLFHandler::drawContents | ( | const IlvPopupMenu * | menu, | |
IlvPort * | dst, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip, | |||
IlBoolean | drawRelief = IlTrue | |||
) | const [virtual] |
Is called to draw the contents of a pop-up menu.
menu | The pop-up menu. | |
dst | The destination port. | |
t | The transformer. | |
clip | The clipping region. | |
drawRelief | A Boolean indicating whether relief will be used to draw. |
Implements IlvPopupMenuLFHandler.
virtual void IlvPopupMenuMLFHandler::drawSelection | ( | const IlvPopupMenu * | menu, | |
IlvPort * | dst, | |||
const IlvRect & | rect, | |||
const IlvMenuItem * | item, | |||
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Is called to draw the selection of a menu item.
menu | The pop-up menu. | |
dst | The destination port. | |
rect | The rectangle where to draw the item. | |
item | The pop-up menu item to draw. | |
t | The transformer. Not Used. | |
clip | The clipping region. |
Implements IlvPopupMenuLFHandler.
© 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.