Planeshift
Public Member Functions

pawsIMenu Class Reference

pawsIMenu is common interface to menus pawsMenu. More...

#include <pawsmenu.h>

List of all members.

Public Member Functions

virtual void DoAction (pawsIMenuItem *item)=0
 Processes action invoked by user:

  • according to action type either opens a new menu or sends notification to subscriber 'item' is menu item that was activated 'action' is description of the action that should be taken.

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.

Detailed Description

pawsIMenu is common interface to menus pawsMenu.

Definition at line 127 of file pawsmenu.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

virtual void pawsIMenu::DoAction ( pawsIMenuItem item) [pure virtual]

Processes action invoked by user:

  • according to action type either opens a new menu or sends notification to subscriber 'item' is menu item that was activated 'action' is description of the action that should be taken.

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.


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