Object Look-and-Feel class. More...
#include <ilviews/gadgets/windows/menu.h>
Public Member Functions | |
IlvPopupMenuWLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | drawBackground (const IlvPopupMenu *, IlvPort *, const IlvTransformer *, const IlvRegion *, IlBoolean drawRelief=IlTrue) const |
Is called to draw the frame of a pop-up menu. More... | |
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. More... | |
virtual void | drawFrame (const IlvPopupMenu *, IlvPort *, const IlvTransformer *, const IlvRegion *, IlBoolean drawRelief=IlTrue) const |
Is called to draw the frame of a pop-up menu. More... | |
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. More... | |
virtual IlvColor * | getBackground (const IlvPopupMenu *) const |
Returns the color used to draw the background of a pop-up menu. More... | |
Public Member Functions inherited from IlvDefaultPopupMenuLFHandler | |
virtual IlBoolean | allowSelectWithMove () const |
Indicates whether the item selection should follow the mouse. More... | |
virtual void | drawGadgetItem (const IlvPopupMenu *, const IlvMenuItem *, IlvPort *port, const IlvRect &rect, const IlvTransformer *t, const IlvRegion *clip) const |
Is called to draw a menu item of the menu. More... | |
virtual IlBoolean | handleEvent (IlvPopupMenu *, IlvEvent &event) const |
Is called to handle the events of a pop-up menu. More... | |
Public Member Functions inherited from IlvPopupMenuLFHandler | |
IlvPopupMenuLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
Object Look-and-Feel class.
Library: ilvwlook
The class for the Microsoft Windows object look-and-feel handler of the pop-up menu.
IlvPopupMenuWLFHandler::IlvPopupMenuWLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvPopupMenuWLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
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. |
Reimplemented from IlvDefaultPopupMenuLFHandler.
Reimplemented in IlvPopupMenuW95LFHandler, and IlvPopupMenuVXLFHandler.
|
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. |
Implements IlvPopupMenuLFHandler.
Reimplemented in IlvPopupMenuW95LFHandler, and IlvPopupMenuVXLFHandler.
|
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. |
Reimplemented from IlvDefaultPopupMenuLFHandler.
Reimplemented in IlvPopupMenuW95LFHandler, and IlvPopupMenuVXLFHandler.
|
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.
Reimplemented in IlvPopupMenuW95LFHandler, and IlvPopupMenuVXLFHandler.
|
virtual |
Returns the color used to draw the background of a pop-up menu.
Reimplemented from IlvDefaultPopupMenuLFHandler.