Ignore:
Timestamp:
Jan 9, 2010, 11:30:49 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
1120b7
Parents:
3e8325
Message:

Seperated building of mainWindow and contained Menus

  • Moved code to build Menus to builder.cpp
  • Moved WindowGeneration code to constructor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/UIElements/TextWindow.hpp

    r3e8325 rd97af9  
    1111#include "UIElements/MainWindow.hpp"
    1212
     13class TextMenu;
     14class Action;
     15class oldmenu;
     16class StringView;
     17
    1318class TextWindow : public MainWindow
    1419{
    1520public:
    16   TextWindow();
     21  TextWindow(menuPopulaters,MoleculeListClass *, config *, periodentafel *, char *);
    1722  virtual ~TextWindow();
    1823
    19   virtual void display(MoleculeListClass *, config *, periodentafel *, char *);
     24  virtual void display();
     25private:
     26  TextMenu *main_menu;
     27
     28  // some actions only needed in textMenus
     29  Action *quitAction;
     30  Action *returnFromEditMoleculeAction;
     31  // all views that are contained in the main Menu
     32  StringView *moleculeView;
     33
     34  // This class still contains a lot of scattered functionality
     35  oldmenu *old_menu;
    2036};
    2137
Note: See TracChangeset for help on using the changeset viewer.