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

aedMenuBar Class Reference

#include <aedMenuBar.h>

List of all members.

Public Member Functions

unsigned int attachMenu (std::string title, aedMenu *menu, int pos=-1)
void detachMenu (unsigned int index)
void detachMenu (aedMenu *menu)
int wm_lbuttondown (Uint16 x, Uint16 y)
int wm_mousemove (Uint16 x, Uint16 y, Uint16 dx, Uint16 dy)
int wm_mouseleave ()
void render ()


Detailed Description

The aedMenuBar class, used for creating simple menu bars, obviously.


Member Function Documentation

unsigned int aedMenuBar::attachMenu std::string  title,
aedMenu menu,
int  pos = -1
 

Attach a menu to a menu bar.

Parameters:
title title of the menu as displayed in the menu bar
menu pointer to the menu
pos position of the menu in the menu bar (-1 means end)
Returns:
index of the attached menu

void aedMenuBar::detachMenu aedMenu menu  ) 
 

Detach a menu from a menu bar.

Parameters:
menu pointer to the menu to be removed

void aedMenuBar::detachMenu unsigned int  index  ) 
 

Detach a menu from a menu bar.

Parameters:
index index of the menu to be removed


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