

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) | |
| virtual OSPopup::~OSPopup | ( | ) | [inline, virtual] |
| OSPopup::OSPopup | ( | intf_thread_t * | pIntf | ) | [inline, protected] |
| 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().
1.5.6