#include <menus.h>
Public Methods | |
TMenu () | |
TMenu (TMenuItem &itemList) | |
TMenu (TMenuItem &itemList, TMenuItem &TheDefault) | |
~TMenu () | |
Public Attributes | |
TMenuItem* | items |
TMenuItem* | deflt |
Definition at line 185 of file menus.h.
|
Creates a TMenu object and sets both deflt and items data members to 0. |
|
Creates a TMenu object consisting of `itemList'; sets items and deflt data members to that item. |
|
Creates a TMenu object; sets data members items and deflt to `itemList' and `TheDefault', respectively. |
|
Deletes the menu item list in items. |
|
Points to the default (highlighted) menu item. Determines how to react when the user presses Enter. |
|
Points to the list of menu items. Used by various draw member functions when parts of the menu structure need to be redrawn. |