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

cOldMenu Class Reference

an Old type menu More...

#include <oldmenu.h>

Inheritance diagram for cOldMenu:

cBasicMenu List of all members.

Public Methods

 cOldMenu ()
 ~cOldMenu ()
void setParameters (int rowForPage, int pageCount)
virtual void addMenuItem (int page, int idx, std::wstring desc)
 adds an item at a given position of a correctly inizialized menu

virtual void handleButton (NXWCLIENT ps, cClientPacket *pkg)

Public Attributes

P_MENU type
wstring title
 title

UI32 style
 style

UI32 color
 color

UI32 width
 width

UI32 rowForPage
 row for page


Protected Methods

virtual cServerPacketbuild ()
void buildClassic ()
 Build a classic menu.

void buildIconList ()
 Show an icon list menu.


Protected Attributes

std::map< UI08, std::map<
UI32, std::wstring > > 
allPages
 all pages


Friends

class cMakeMenu
class cPartyMenu

Detailed Description

an Old type menu


Constructor & Destructor Documentation

cOldMenu::cOldMenu  
 

cOldMenu::~cOldMenu  
 


Member Function Documentation

void cOldMenu::addMenuItem int    page,
int    idx,
std::wstring    desc
[virtual]
 

adds an item at a given position of a correctly inizialized menu

Author:
Endymion
Since:
0.82
Parameters:
page  the page number
idx  the index number
desc  the text

cServerPacket * cOldMenu::build   [protected, virtual]
 

Reimplemented from cBasicMenu.

void cOldMenu::buildClassic   [protected]
 

Build a classic menu.

Author:
Endymion
Since:
0.82

void cOldMenu::buildIconList   [protected]
 

Show an icon list menu.

Author:
Endymion
Since:
0.82

void cOldMenu::handleButton NXWCLIENT    ps,
cClientPacket   pkg
[virtual]
 

Reimplemented from cBasicMenu.

void cOldMenu::setParameters int    rowForPage,
int    pageCount
 


Friends And Related Function Documentation

friend class cMakeMenu [friend]
 

friend class cPartyMenu [friend]
 


Member Data Documentation

std::map< UI08, std::map< UI32, std::wstring > > cOldMenu::allPages [protected]
 

all pages

UI32 cOldMenu::color
 

color

UI32 cOldMenu::rowForPage
 

row for page

UI32 cOldMenu::style
 

style

wstring cOldMenu::title
 

title

P_MENU cOldMenu::type
 

UI32 cOldMenu::width
 

width


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