Object Look-and-Feel class. More...
#include <ilviews/gadgets/optmenu.h>
Public Member Functions | |
IlvOptionMenuLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | drawArrow (const IlvOptionMenu *menu, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0 |
Is called to draw the arrow of an option menu. More... | |
virtual void | drawBackground (const IlvOptionMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of an option menu. More... | |
virtual void | drawContents (const IlvOptionMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents of an option menu. More... | |
virtual void | drawFrame (const IlvOptionMenu *menu, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of an option menu. More... | |
virtual void | drawText (const IlvOptionMenu *menu, IlvPort *dst, const IlvRect &rect, const IlvRegion *clip) const =0 |
Is called to draw the selection of an option menu. More... | |
virtual IlBoolean | handleEvent (IlvOptionMenu *menu, IlvEvent &event) const =0 |
Is called to handle the events of an option menu. More... | |
virtual IlBoolean | inArrow (const IlvOptionMenu *menu, IlvPoint &p) const |
Indicates whether the specified point is in the arrow of an option menu. More... | |
Object Look-and-Feel class.
Library: ilvadvgdt
The base class for the object look-and-feel handlers of the option menu.
IlvOptionMenuLFHandler::IlvOptionMenuLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Initializes a new IlvOptionMenuLFHandler
instance.
lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Is called to draw the arrow of an option menu.
menu | The option menu. |
dst | The destination port. |
rect | The rectangle where to draw the arrow. |
clip | The clipping region. |
Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuW95LFHandler, IlvOptionMenuVXLFHandler, IlvOptionMenuMLFHandler, and IlvOptionMenuCSSLFHandler.
|
pure virtual |
Is called to draw the background of an option menu.
menu | The option menu. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuW95LFHandler, IlvOptionMenuVXLFHandler, IlvOptionMenuMLFHandler, and IlvOptionMenuCSSLFHandler.
|
pure virtual |
Is called to draw the contents of an option menu.
menu | The option menu. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuMLFHandler, and IlvOptionMenuCSSLFHandler.
|
pure virtual |
Is called to draw the frame of an option menu.
menu | The option menu. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuW95LFHandler, IlvOptionMenuVXLFHandler, IlvOptionMenuMLFHandler, and IlvOptionMenuCSSLFHandler.
|
pure virtual |
Is called to draw the selection of an option menu.
menu | The option menu. |
dst | The destination port. |
rect | The rectangle where to draw the selection. |
clip | The clipping region. |
Implemented in IlvOptionMenuWLFHandler, IlvOptionMenuMLFHandler, and IlvOptionMenuCSSLFHandler.
|
pure virtual |
Is called to handle the events of an option menu.
menu | The option menu. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implemented in IlvDefaultOptionMenuLFHandler.
|
virtual |
Indicates whether the specified point is in the arrow of an option menu.
menu | The option menu. |
p | The point. |
Reimplemented in IlvOptionMenuWLFHandler.