

Public Member Functions | |
| Popup (intf_thread_t *pIntf, WindowManager &rWindowManager) | |
| virtual | ~Popup () |
| void | show (int xPos, int yPos) |
| void | hide () |
| void | addItem (const string &rLabel, CmdGeneric &rCmd, int pos) |
| Insert a new menu item to the popup menu, at the position pos. | |
| void | addSeparator (int pos) |
| Create a dummy menu item to separate sections. | |
| void | handleEvent (const EvtMenu &rEvent) |
| Execute the action corresponding to the chosen menu item. | |
| Popup::Popup | ( | intf_thread_t * | pIntf, | |
| WindowManager & | rWindowManager | |||
| ) |
References OSFactory::createOSPopup(), SkinObject::getIntf(), and OSFactory::instance().
| virtual Popup::~Popup | ( | ) | [inline, virtual] |
| void Popup::show | ( | int | xPos, | |
| int | yPos | |||
| ) |
References WindowManager::setActivePopup(), and OSPopup::show().
Referenced by CmdShowPopup::execute().
| void Popup::hide | ( | ) |
References OSPopup::hide().
| void Popup::addItem | ( | const string & | rLabel, | |
| CmdGeneric & | rCmd, | |||
| int | pos | |||
| ) |
| void Popup::addSeparator | ( | int | pos | ) |
| void Popup::handleEvent | ( | const EvtMenu & | rEvent | ) |
Execute the action corresponding to the chosen menu item.
References SkinObject::getIntf(), EvtMenu::getItemId(), OSPopup::getPosFromId(), and msg_Warn.
Referenced by TopWindow::processEvent().
1.5.6