Main Page | Class Hierarchy | Class List | File List | Class Members

aedMenu Class Reference

#include <aedMenu.h>

List of all members.

Public Member Functions

unsigned int addItem (const std::string &caption, aedMenu *child=NULL)
void removeItem (unsigned int index)
int wm_lbuttondown (Uint16 x, Uint16 y)
int wm_mousemove (Uint16 x, Uint16 y, Uint16 dx, Uint16 dy)
int wm_mouseleave ()
int wm_mouseenter ()
void render ()


Detailed Description

This is a simple menu class.


Member Function Documentation

unsigned int aedMenu::addItem const std::string &  caption,
aedMenu child = NULL
 

Add an item to a menu.

Parameters:
caption text that will be displayed in the menu
child optional pointer to a submenu
Returns:
index of the newly-added item in the menu

void aedMenu::removeItem unsigned int  index  ) 
 

Remove an item from a menu.

Parameters:
index index of the item you wish to remove from the menu


The documentation for this class was generated from the following file:
Generated on Mon Mar 1 19:56:18 2004 for aedGUI by doxygen 1.3.6