Ignore:
Timestamp:
Mar 26, 2010, 3:13:31 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
0f7883, 71910a, abd4a1
Parents:
cbc639
Message:

Added mechanism that deactivates undo and redo menupoint if not applicable

File:
1 edited

Legend:

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

    rcbc639 r770138  
    2121 */
    2222class MenuItem {
    23 private:
    24   char trigger;
    25   string *description;
    26   bool added;
    27 
    2823public:
    2924  MenuItem(char,const char*,Menu*);
     
    4136  bool wasAdded();
    4237
     38  virtual bool isActive();
     39
    4340protected:
    4441  void setDescription(string);
     42
     43private:
     44  char trigger;
     45  string *description;
     46  bool added;
    4547};
    4648
Note: See TracChangeset for help on using the changeset viewer.