![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/menu.h>
Public Member Functions | |
| IlvPopupMenuLFHandler (IlvLookFeelHandler *lfh) | |
| Constructor. | |
| virtual IlBoolean | allowSelectWithMove () const =0 |
| Indicates whether the item selection should follow the mouse. | |
| virtual void | drawBackground (const IlvPopupMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip, IlBoolean drawRelief=IlTrue) const =0 |
| Is called to draw the frame of a pop-up menu. | |
| virtual void | drawContents (const IlvPopupMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip, IlBoolean drawRelief=IlTrue) const =0 |
| Is called to draw the contents of a pop-up menu. | |
| virtual void | drawFrame (const IlvPopupMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip, IlBoolean drawRelief=IlTrue) const =0 |
| Is called to draw the frame of a pop-up menu. | |
| virtual void | drawGadgetItem (const IlvPopupMenu *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 void | drawSelection (const IlvPopupMenu *menu, IlvPort *dst, const IlvRect &rect, const IlvMenuItem *item, const IlvTransformer *t, const IlvRegion *clip) const =0 |
| Is called to draw the selection of a menu item. | |
| virtual IlvColor * | getBackground (const IlvPopupMenu *) const =0 |
| Returns the color used to draw the background of a pop-up menu. | |
| virtual IlBoolean | handleEvent (IlvPopupMenu *menu, IlvEvent &event) const =0 |
| Is called to handle the events of a pop-up menu. | |
Object Look-and-Feel class.
Library: ilvgadgt
The base class for the object look-and-feel handlers of the pop-up menu.
| IlvPopupMenuLFHandler::IlvPopupMenuLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvPopupMenuLFHandler instance and initializes it with lfh.
| lfh | The look-and-feel handler which this handler will be associated to. |
| virtual IlBoolean IlvPopupMenuLFHandler::allowSelectWithMove | ( | ) | const [pure virtual] |
Indicates whether the item selection should follow the mouse.
IlTrue if the item selection must follow the mouse. Implemented in IlvDefaultPopupMenuLFHandler, IlvPopupMenuVXLFHandler, and IlvPopupMenuW95LFHandler.
| virtual void IlvPopupMenuLFHandler::drawBackground | ( | const IlvPopupMenu * | menu, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip, | |||
| IlBoolean | drawRelief = IlTrue | |||
| ) | const [pure virtual] |
Is called to draw the frame 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. |
Implemented in IlvDefaultPopupMenuLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, and IlvPopupMenuWLFHandler.
| virtual void IlvPopupMenuLFHandler::drawContents | ( | const IlvPopupMenu * | menu, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip, | |||
| IlBoolean | drawRelief = IlTrue | |||
| ) | const [pure 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. |
Implemented in IlvPopupMenuMLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, and IlvPopupMenuWLFHandler.
| virtual void IlvPopupMenuLFHandler::drawFrame | ( | const IlvPopupMenu * | menu, | |
| IlvPort * | dst, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip, | |||
| IlBoolean | drawRelief = IlTrue | |||
| ) | const [pure virtual] |
Is called to draw the frame 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. |
Implemented in IlvDefaultPopupMenuLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, and IlvPopupMenuWLFHandler.
| virtual void IlvPopupMenuLFHandler::drawGadgetItem | ( | const IlvPopupMenu * | 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 pop-up menu. | |
| item | The pop-up menu 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 IlvDefaultPopupMenuLFHandler.
| virtual void IlvPopupMenuLFHandler::drawSelection | ( | const IlvPopupMenu * | menu, | |
| IlvPort * | dst, | |||
| const IlvRect & | rect, | |||
| const IlvMenuItem * | item, | |||
| const IlvTransformer * | t, | |||
| const IlvRegion * | clip | |||
| ) | const [pure 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. |
Implemented in IlvPopupMenuMLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, and IlvPopupMenuWLFHandler.
| virtual IlvColor* IlvPopupMenuLFHandler::getBackground | ( | const IlvPopupMenu * | ) | const [pure virtual] |
Returns the color used to draw the background of a pop-up menu.
Implemented in IlvDefaultPopupMenuLFHandler, and IlvPopupMenuWLFHandler.
| virtual IlBoolean IlvPopupMenuLFHandler::handleEvent | ( | IlvPopupMenu * | menu, | |
| IlvEvent & | event | |||
| ) | const [pure virtual] |
Is called to handle the events of a pop-up menu.
| menu | The pop-up menu. | |
| event | The event to handle. |
IlTrue if the event has been consumed. Implemented in IlvDefaultPopupMenuLFHandler.
© 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.