Ignore:
Timestamp:
Dec 16, 2009, 12:30:16 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
381df6
Parents:
eb3538
git-author:
Tillmann Crueger <crueger@…> (12/15/09 17:12:30)
git-committer:
Frederik Heber <heber@…> (12/16/09 12:30:16)
Message:

Added basic menu and action framework

  • Added action base class
  • Added class to make actions from methods
  • Added Menu base class
  • Added TextMenu class to produce text menus
  • Added MenuItem base class for menu items
  • Added ActionMenuItem for menu items using an action
  • Added SubMenuItem class for menu items presenting a submenu
  • Added SeperatorItem class for menu seperators without functioninality

Signed-off-by: Tillmann Crueger <crueger@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    reb3538 rd20ed5  
    7878 */
    7979static int ParseCommandLineOptions(int argc, char **argv, MoleculeListClass *&molecules, periodentafel *&periode,\
    80                                    config& configuration, char *&ConfigFileName, menu *main_menu)
     80                                   config& configuration, char *&ConfigFileName, oldmenu *main_menu)
    8181{
    8282  Vector x,y,z,n;  // coordinates for absolute point in cell volume
     
    904904    char *ConfigFileName = NULL;
    905905    int j;
    906     menu *main_menu;
    907     main_menu = new menu;
     906    oldmenu *main_menu;
     907    main_menu = new oldmenu;
    908908    setVerbosity(0);
    909909    /* main menu is needed to call actions inside the menu */
Note: See TracChangeset for help on using the changeset viewer.