Ignore:
Timestamp:
Dec 29, 2009, 12:20:20 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
077f6e
Parents:
fab853
Message:

Added possibility to add default Items to textMenus

File:
1 edited

Legend:

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

    rfab853 raa117c  
    3838  virtual void doQuit();
    3939  /**
    40    * Check wether someone has chosen to quit
     40   * Check whether someone has chosen to quit
    4141   */
    4242  virtual bool hasQuit();
     43
     44  virtual void addDefault(MenuItem*);
    4345
    4446protected:
     
    4749private:
    4850  list<MenuItem*> items;
     51
     52  MenuItem* defaultItem;
     53
    4954  ostream& outputter;
    5055  string title;
Note: See TracChangeset for help on using the changeset viewer.