Planeshift
|
pawsIMenu is common interface to menus pawsMenu. More...
#include <pawsmenu.h>
Public Member Functions | |
virtual void | DoAction (pawsIMenuItem *item)=0 |
Processes action invoked by user:
| |
virtual void | OnChildMenuDestroyed (pawsIMenu *child, pawsMenuClose reason)=0 |
Called when child menu was closed. | |
virtual void | OnParentMenuDestroyed (pawsMenuClose reason)=0 |
Called when parent menu was closed. | |
virtual void | OnSiblingOpened ()=0 |
Called when another submenu of parent menu was opened. | |
pawsIMenu () | |
Constructor. | |
pawsIMenu (const pawsIMenu &origin) | |
Constructor. | |
virtual void | SetNotify (pawsWidget *notifyTarget)=0 |
Sets widget that should be receiving OnMenuAction events. | |
virtual void | SetParentMenu (pawsIMenu *parentMenu)=0 |
Sets parent menu of submenu. |
pawsIMenu is common interface to menus pawsMenu.
Definition at line 127 of file pawsmenu.h.
pawsIMenu::pawsIMenu | ( | ) | [inline] |
Constructor.
Definition at line 133 of file pawsmenu.h.
pawsIMenu::pawsIMenu | ( | const pawsIMenu & | origin | ) | [inline] |
Constructor.
Definition at line 138 of file pawsmenu.h.
virtual void pawsIMenu::DoAction | ( | pawsIMenuItem * | item | ) | [pure virtual] |
Processes action invoked by user:
Implemented in pawsMenu.
virtual void pawsIMenu::OnChildMenuDestroyed | ( | pawsIMenu * | child, |
pawsMenuClose | reason | ||
) | [pure virtual] |
Called when child menu was closed.
Implemented in pawsMenu.
virtual void pawsIMenu::OnParentMenuDestroyed | ( | pawsMenuClose | reason | ) | [pure virtual] |
Called when parent menu was closed.
Implemented in pawsMenu.
virtual void pawsIMenu::OnSiblingOpened | ( | ) | [pure virtual] |
Called when another submenu of parent menu was opened.
Implemented in pawsMenu.
virtual void pawsIMenu::SetNotify | ( | pawsWidget * | notifyTarget | ) | [pure virtual] |
Sets widget that should be receiving OnMenuAction events.
Implemented in pawsMenu.
virtual void pawsIMenu::SetParentMenu | ( | pawsIMenu * | parentMenu | ) | [pure virtual] |
Sets parent menu of submenu.
Implemented in pawsMenu.