Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvPopupMenuVXLFHandler Class Reference

Object Look-and-Feel class. More...

#include <ilviews/gadgets/vx/menu.h>

Inheritance diagram for IlvPopupMenuVXLFHandler:
IlvPopupMenuWLFHandler IlvDefaultPopupMenuLFHandler IlvPopupMenuLFHandler IlvObjectLFHandler

Public Member Functions

 IlvPopupMenuVXLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual IlBoolean allowSelectWithMove () const
 Indicates whether the item selection should follow the mouse. 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...
 
- Public Member Functions inherited from IlvPopupMenuWLFHandler
 IlvPopupMenuWLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual IlvColorgetBackground (const IlvPopupMenu *) const
 Returns the color used to draw the background of a pop-up menu. More...
 
- Public Member Functions inherited from IlvDefaultPopupMenuLFHandler
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...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvvxlook

The class for the ViewsX object look-and-feel handler of the pop-up menu.

Constructor & Destructor Documentation

◆ IlvPopupMenuVXLFHandler()

IlvPopupMenuVXLFHandler::IlvPopupMenuVXLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvPopupMenuVXLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated to.

Member Function Documentation

◆ allowSelectWithMove()

virtual IlBoolean IlvPopupMenuVXLFHandler::allowSelectWithMove ( ) const
virtual

Indicates whether the item selection should follow the mouse.

Returns
IlTrue if the item selection must follow the mouse.

Reimplemented from IlvDefaultPopupMenuLFHandler.

◆ drawBackground()

virtual void IlvPopupMenuVXLFHandler::drawBackground ( const IlvPopupMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlBoolean  drawRelief = IlTrue 
) const
virtual

Is called to draw the frame of a pop-up menu.

Parameters
menuThe pop-up menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.
drawReliefSpecifies whether relief will be used to draw.

Reimplemented from IlvPopupMenuWLFHandler.

◆ drawContents()

virtual void IlvPopupMenuVXLFHandler::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.

Parameters
menuThe pop-up menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.
drawReliefSpecifies whether relief will be used to draw.

Reimplemented from IlvPopupMenuWLFHandler.

◆ drawFrame()

virtual void IlvPopupMenuVXLFHandler::drawFrame ( const IlvPopupMenu menu,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlBoolean  drawRelief = IlTrue 
) const
virtual

Is called to draw the frame of a pop-up menu.

Parameters
menuThe pop-up menu.
dstThe destination port.
tThe transformer.
clipThe clipping region.
drawReliefSpecifies whether relief will be used to draw.

Reimplemented from IlvPopupMenuWLFHandler.

◆ drawSelection()

virtual void IlvPopupMenuVXLFHandler::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.

Parameters
menuThe pop-up menu.
dstThe destination port.
rectThe rectangle where to draw the item.
itemThe pop-up menu item to draw.
tThe transformer. Not Used.
clipThe clipping region.

Reimplemented from IlvPopupMenuWLFHandler.