Changeset da09909 for molecuilder/src/Menu/TextMenu.hpp
- Timestamp:
- Dec 16, 2009, 2:40:09 PM (16 years ago)
- Children:
- 38546d
- Parents:
- c2c893
- File:
-
- 1 edited
-
molecuilder/src/Menu/TextMenu.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Menu/TextMenu.hpp
rc2c893 rda09909 14 14 15 15 #include "Menu/Menu.hpp" 16 #include "defs.hpp" 16 17 17 18 class MenuItem; 18 19 20 /** 21 * Used to produce any kind of text menu 22 * 23 * All Items are displayed and user is prompted for a key. The item corresponding to that key is then activated. 24 */ 19 25 class TextMenu : public Menu 20 26 { 21 27 public: 22 TextMenu(ostream&,string,char,int); 23 TextMenu(ostream&,string); 28 TextMenu(ostream& _outputter, string _title, char _spacer=STD_MENU_TITLE_SPACER,int _length=STD_MENU_LENGTH); 24 29 virtual ~TextMenu(); 25 30 … … 28 33 virtual void display(); 29 34 35 /** 36 * Call doQuit if you want to return from this menu. 37 */ 30 38 virtual void doQuit(); 39 /** 40 * Check wether someone has chosen to quit 41 */ 31 42 virtual bool hasQuit(); 32 43
Note:
See TracChangeset
for help on using the changeset viewer.
