X11Popup Class Reference

X11 implementation of OSPopup. More...

Inheritance diagram for X11Popup:

Inheritance graph
[legend]
Collaboration diagram for X11Popup:

Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

X11 implementation of OSPopup.

Constructor & Destructor Documentation

X11Popup::X11Popup ( intf_thread_t pIntf,
X11Display  
)

virtual X11Popup::~X11Popup (  )  [virtual]


Member Function Documentation

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

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

Implements OSPopup.

virtual void X11Popup::hide (  )  [virtual]

Hide the popup menu.

Implements OSPopup.

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

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

Implements OSPopup.

virtual void X11Popup::addSeparator ( int  pos  )  [virtual]

Create a dummy menu item to separate sections.

Implements OSPopup.

virtual int X11Popup::getPosFromId ( int  id  )  const [virtual]

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

Implements OSPopup.


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

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