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.cpp

    rc2c893 rda09909  
    99#include <iostream>
    1010#include <cmath>
    11 #include "defs.hpp"
    1211#include "Menu/TextMenu.hpp"
    1312#include "Menu/MenuItem.hpp"
    1413
     14
     15/**
     16 * produce a text menu with a given title.
     17 * The text will later be displayed using the stream passed to the constructor.
     18 */
    1519TextMenu::TextMenu(ostream& _outputter, string _title, char _spacer,int _length) :
    1620outputter(_outputter),
     
    1822spacer(_spacer),
    1923length(_length),
    20 quit(false)
    21 {
    22 }
    23 
    24 TextMenu::TextMenu(ostream& _outputter, string _title) :
    25 outputter(_outputter),
    26 title(_title),
    27 spacer(STD_MENU_TITLE_SPACER),
    28 length(STD_MENU_LENGTH),
    2924quit(false)
    3025{
Note: See TracChangeset for help on using the changeset viewer.