Ignore:
Timestamp:
Dec 16, 2009, 2:40:09 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
38546d
Parents:
c2c893
Message:

Improved documentation for menu framework.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Menu/TextMenu.hpp

    rc2c893 rda09909  
    1414
    1515#include "Menu/Menu.hpp"
     16#include "defs.hpp"
    1617
    1718class MenuItem;
    1819
     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 */
    1925class TextMenu : public Menu
    2026{
    2127public:
    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);
    2429  virtual ~TextMenu();
    2530
     
    2833  virtual void display();
    2934
     35  /**
     36   * Call doQuit if you want to return from this menu.
     37   */
    3038  virtual void doQuit();
     39  /**
     40   * Check wether someone has chosen to quit
     41   */
    3142  virtual bool hasQuit();
    3243
Note: See TracChangeset for help on using the changeset viewer.