Changeset 536380


Ignore:
Timestamp:
Feb 18, 2010, 11:38:02 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
1614a17, 1aa81a
Parents:
b53a7e
Message:

Added a progress indicator for the text menu

Location:
molecuilder/src
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Actions/small_actions.hpp

    rb53a7e r536380  
    2525};
    2626
     27
    2728#endif // _SMALL_ACTIONS_HPP
  • molecuilder/src/Makefile.am

    rb53a7e r536380  
    2020MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
    2121
    22 UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
    23 UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
     22UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/TextStatusIndicator.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
     23UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/TextStatusIndicator.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
    2424
    2525# all these files are only used for legacy reasons while the transition is in progress
  • molecuilder/src/UIElements/TextWindow.cpp

    rb53a7e r536380  
    3636#include "Menu/DisplayMenuItem.hpp"
    3737#include "Menu/SubMenuItem.hpp"
     38#include "UIElements/TextStatusIndicator.hpp"
    3839#include "Actions/MethodAction.hpp"
    3940#include "Actions/ErrorAction.hpp"
     
    9798
    9899  editMoleculesMenu->addDefault(returnItem);
     100
     101  // Add status indicators etc...
     102
     103  statusIndicator = new TextStatusIndicator();
    99104}
    100105
     
    105110  delete returnFromEditMoleculeAction;
    106111  delete moleculeView;
     112  delete statusIndicator;
    107113  delete main_menu;
    108114}
  • molecuilder/src/UIElements/TextWindow.hpp

    rb53a7e r536380  
    1515class oldmenu;
    1616class StringView;
     17class TextStatusIndicator;
    1718
    1819class TextWindow : public MainWindow
     
    3132  // all views that are contained in the main Menu
    3233  StringView *moleculeView;
     34  TextStatusIndicator *statusIndicator;
    3335
    3436  // This class still contains a lot of scattered functionality
  • molecuilder/src/builder.cpp

    rb53a7e r536380  
    21602160  Action *eraseMoleculeAction = new MethodAction("eraseMoleculeAction",boost::bind(&MoleculeListClass::eraseMolecule,molecules));
    21612161  new ActionMenuItem('r',"remove a molecule",editMoleculesMenu,eraseMoleculeAction);
     2162
    21622163}
    21632164
Note: See TracChangeset for help on using the changeset viewer.