Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/menu.h>
Public Member Functions | |
IlvPopupMenuLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual IlBoolean | allowSelectWithMove () const =0 |
Indicates whether the item selection should follow the mouse. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual IlvColor * | getBackground (const IlvPopupMenu *) const =0 |
Returns the color used to draw the background of a pop-up menu. More... | |
virtual IlBoolean | handleEvent (IlvPopupMenu *menu, IlvEvent &event) const =0 |
Is called to handle the events of a pop-up menu. More... | |
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.
Initializes a new IlvPopupMenuLFHandler
instance.
lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Indicates whether the item selection should follow the mouse.
IlTrue
if the item selection must follow the mouse. Implemented in IlvDefaultPopupMenuLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, and IlvPopupMenuCSSLFHandler.
|
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 | Specifies whether relief will be used to draw. |
Implemented in IlvDefaultPopupMenuLFHandler, IlvPopupMenuWLFHandler, IlvPopupMenuVXLFHandler, and IlvPopupMenuW95LFHandler.
|
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 | Specifies whether relief will be used to draw. |
Implemented in IlvPopupMenuWLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, IlvPopupMenuCSSLFHandler, and IlvPopupMenuMLFHandler.
|
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 | Specifies whether relief will be used to draw. |
Implemented in IlvDefaultPopupMenuLFHandler, IlvPopupMenuWLFHandler, IlvPopupMenuVXLFHandler, and IlvPopupMenuW95LFHandler.
|
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.
|
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 IlvPopupMenuWLFHandler, IlvPopupMenuVXLFHandler, IlvPopupMenuW95LFHandler, IlvPopupMenuCSSLFHandler, and IlvPopupMenuMLFHandler.
|
pure virtual |
Returns the color used to draw the background of a pop-up menu.
Implemented in IlvDefaultPopupMenuLFHandler, and IlvPopupMenuWLFHandler.
|
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 2018, 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.