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/MainWindow.hpp

    r3e8325 rd97af9  
    1313class periodentafel;
    1414
     15class Menu;
     16
    1517class MainWindow
    1618{
     
    1921  virtual ~MainWindow();
    2022
    21   virtual void display(MoleculeListClass *, config *, periodentafel *, char *)=0;
     23  virtual void display()=0;
    2224
    2325};
    2426
     27typedef void (*MenuMaker)(Menu*,MoleculeListClass*, config*, periodentafel*);
     28
     29struct menuPopulaters{
     30  MenuMaker MakeEditMoleculesMenu;
     31};
     32
    2533#endif /* MAINWINDOW_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.