source: molecuilder/src/UIElements/TextWindow.hpp@ 536ce2

Last change on this file since 536ce2 was 536ce2, checked in by Frederik Heber <heber@…>, 16 years ago

...UIFactory::makeMainWindow() now has only a single parameter, namely menuPopulaters.

  • as molecules and periodentafel can be accessed globally from singleton World, there is no need to pass these around anymore.
  • typedef MenuMaker and populateEditMoleculesMenu() equally stripped.
  • Property mode set to 100644
File size: 724 bytes
Line 
1/*
2 * TextWindow.hpp
3 *
4 * Created on: Jan 7, 2010
5 * Author: crueger
6 */
7
8#ifndef TEXTWINDOW_HPP_
9#define TEXTWINDOW_HPP_
10
11#include "UIElements/MainWindow.hpp"
12
13class TextMenu;
14class Action;
15class oldmenu;
16class StringView;
17class TextStatusIndicator;
18
19class TextWindow : public MainWindow
20{
21public:
22 TextWindow(menuPopulaters);
23 virtual ~TextWindow();
24
25 virtual void display();
26private:
27 TextMenu *main_menu;
28
29 // some actions only needed in textMenus
30 Action *quitAction;
31 // all views that are contained in the main Menu
32 StringView *moleculeView;
33 TextStatusIndicator *statusIndicator;
34
35 // This class still contains a lot of scattered functionality
36 oldmenu *old_menu;
37};
38
39#endif /* TEXTWINDOW_HPP_ */
Note: See TracBrowser for help on using the repository browser.