Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TMenu Class Reference

A "wrapper" for the various other menu classes, such as TMenuItem, TSubMenu and TMenuView. More...

#include <menus.h>

List of all members.

Public Methods

 TMenu ()
 TMenu (TMenuItem &itemList)
 TMenu (TMenuItem &itemList, TMenuItem &TheDefault)
 ~TMenu ()

Public Attributes

TMenuItemitems
TMenuItemdeflt


Detailed Description

TMenu serves as a "wrapper" for the various other menu classes, such as TMenuItem, TSubMenu and TMenuView.

Definition at line 185 of file menus.h.


Constructor & Destructor Documentation

TMenu::TMenu ( ) [inline]
 

Creates a TMenu object and sets both deflt and items data members to 0.

Definition at line 192 of file menus.h.

TMenu::TMenu ( TMenuItem & itemList ) [inline]
 

Creates a TMenu object consisting of `itemList'; sets items and deflt data members to that item.

Definition at line 197 of file menus.h.

TMenu::TMenu ( TMenuItem & itemList,
TMenuItem & TheDefault ) [inline]
 

Creates a TMenu object; sets data members items and deflt to `itemList' and `TheDefault', respectively.

Definition at line 203 of file menus.h.

TMenu::~TMenu ( )
 

Deletes the menu item list in items.


Member Data Documentation

TMenuItem * TMenu::deflt
 

Points to the default (highlighted) menu item. Determines how to react when the user presses Enter.

Definition at line 218 of file menus.h.

TMenuItem * TMenu::items
 

Points to the list of menu items. Used by various draw member functions when parts of the menu structure need to be redrawn.

Definition at line 213 of file menus.h.


The documentation for this class was generated from the following file:
Generated at Sat Sep 22 20:19:28 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001