|
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 |
|
|---|
| 13 | class TextMenu;
|
|---|
| 14 | class Action;
|
|---|
| 15 | class oldmenu;
|
|---|
| 16 | class StringView;
|
|---|
| 17 | class TextStatusIndicator;
|
|---|
| 18 |
|
|---|
| 19 | class TextWindow : public MainWindow
|
|---|
| 20 | {
|
|---|
| 21 | public:
|
|---|
| 22 | TextWindow(menuPopulaters);
|
|---|
| 23 | virtual ~TextWindow();
|
|---|
| 24 |
|
|---|
| 25 | virtual void display();
|
|---|
| 26 | private:
|
|---|
| 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.