Last change
on this file since 3896fc was d97af9, checked in by Tillmann Crueger <crueger@…>, 16 years ago |
Seperated building of mainWindow and contained Menus
- Moved code to build Menus to builder.cpp
- Moved WindowGeneration code to constructor
|
-
Property mode
set to
100644
|
File size:
752 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 |
|
---|
13 | class TextMenu;
|
---|
14 | class Action;
|
---|
15 | class oldmenu;
|
---|
16 | class StringView;
|
---|
17 |
|
---|
18 | class TextWindow : public MainWindow
|
---|
19 | {
|
---|
20 | public:
|
---|
21 | TextWindow(menuPopulaters,MoleculeListClass *, config *, periodentafel *, char *);
|
---|
22 | virtual ~TextWindow();
|
---|
23 |
|
---|
24 | virtual void display();
|
---|
25 | private:
|
---|
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;
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif /* TEXTWINDOW_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.