OSPopup Class Reference

Base class for OS specific Popup Windows. More...

Inheritance diagram for OSPopup:

Inheritance graph
[legend]
Collaboration diagram for OSPopup:

Collaboration graph
[legend]

Public Member Functions

virtual ~OSPopup ()
virtual void show (int xPos, int yPos)=0
 Show the popup menu at the given (absolute) corrdinates.
virtual void hide ()=0
 Hide the popup menu.
virtual void addItem (const string &rLabel, int pos)=0
 Append a new menu item with the given label to the popup menu.
virtual void addSeparator (int pos)=0
 Create a dummy menu item to separate sections.
virtual int getPosFromId (int id) const =0
 Return the position of the item identified by the given id.

Protected Member Functions

 OSPopup (intf_thread_t *pIntf)

Detailed Description

Base class for OS specific Popup Windows.

Constructor & Destructor Documentation

virtual OSPopup::~OSPopup (  )  [inline, virtual]

OSPopup::OSPopup ( intf_thread_t pIntf  )  [inline, protected]


Member Function Documentation

virtual void OSPopup::show ( int  xPos,
int  yPos 
) [pure virtual]

Show the popup menu at the given (absolute) corrdinates.

Implemented in MacOSXPopup, Win32Popup, and X11Popup.

Referenced by Popup::show().

virtual void OSPopup::hide (  )  [pure virtual]

Hide the popup menu.

Implemented in MacOSXPopup, Win32Popup, and X11Popup.

Referenced by Popup::hide().

virtual void OSPopup::addItem ( const string &  rLabel,
int  pos 
) [pure virtual]

Append a new menu item with the given label to the popup menu.

Implemented in MacOSXPopup, Win32Popup, and X11Popup.

Referenced by Popup::addItem().

virtual void OSPopup::addSeparator ( int  pos  )  [pure virtual]

Create a dummy menu item to separate sections.

Implemented in MacOSXPopup, Win32Popup, and X11Popup.

Referenced by Popup::addSeparator().

virtual int OSPopup::getPosFromId ( int  id  )  const [pure virtual]

Return the position of the item identified by the given id.

Implemented in MacOSXPopup, Win32Popup, and X11Popup.

Referenced by Popup::handleEvent().


The documentation for this class was generated from the following file:

Generated on Tue May 25 08:06:19 2010 for VLC by  doxygen 1.5.6