Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cMenus Class Reference

all Menus More...

#include <menu.h>

List of all members.

Public Methods

 cMenus ()
 Constructor.

 ~cMenus ()
 Destructor.

P_MENU insertMenu (P_MENU menu)
 Create a new menu.

SERIAL removeMenu (SERIAL menu, P_CHAR pc=NULL)
bool handleMenu (NXWCLIENT ps)
P_MENU getMenu (SERIAL menu)
bool showMenu (SERIAL menu, P_CHAR pc)

Private Methods

bool removeFromView (P_MENU menu, SERIAL chr)

Private Attributes

SERIAL current_serial
 current serial

MENU_MAP menuMap
 every opened menus

std::map< SERIAL, std::set<
SERIAL > > 
whoSeeWhat
 player see menus


Friends

class cBasicMenu


Detailed Description

all Menus


Constructor & Destructor Documentation

cMenus::cMenus  
 

Constructor.

Author:
Endymion

cMenus::~cMenus  
 

Destructor.

Author:
Endymion


Member Function Documentation

P_MENU cMenus::getMenu SERIAL    menu
 

LOGICAL cMenus::handleMenu NXWCLIENT    ps
 

P_MENU cMenus::insertMenu P_MENU    menu
 

Create a new menu.

Author:
Endymion
Parameters:
menu  the menu
Returns:
the serial of new menu

bool cMenus::removeFromView P_MENU    menu,
SERIAL    chr
[private]
 

Author:
Endymion
Returns:
true if menu need delete

SERIAL cMenus::removeMenu SERIAL    menu,
P_CHAR    pc = NULL
 

bool cMenus::showMenu SERIAL    menu,
P_CHAR    pc
 


Friends And Related Function Documentation

friend class cBasicMenu [friend]
 


Member Data Documentation

SERIAL cMenus::current_serial [private]
 

current serial

MENU_MAP cMenus::menuMap [private]
 

every opened menus

std::map< SERIAL, std::set<SERIAL> > cMenus::whoSeeWhat [private]
 

player see menus


The documentation for this class was generated from the following files: SourceForge.net Logo