source:
src/UIElements/TextUI/TextWindow.hpp@
8819d2
| Last change on this file since 8819d2 was 2affd1, checked in by , 10 years ago | |
|---|---|
|
|
| File size: 901 bytes | |
| Rev | Line | |
|---|---|---|
| [a56275] | 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 | ||
| [56f73b] | 11 | // include config.h |
| 12 | #ifdef HAVE_CONFIG_H | |
| 13 | #include <config.h> | |
| 14 | #endif | |
| 15 | ||
| 16 | ||
| [5079a0] | 17 | #include "MainWindow.hpp" |
| [a56275] | 18 | |
| [daa5f1] | 19 | #include <string> |
| [326bbe] | 20 | #include <set> |
| 21 | ||
| [b59da6] | 22 | #include "Menu/TextMenu/TextMenu.hpp" |
| 23 | ||
| [ce7fdc] | 24 | namespace MoleCuilder { |
| 25 | class Action; | |
| 26 | } | |
| [12b845] | 27 | class StringView; |
| [0188ea] | 28 | class TextStatusIndicator; |
| [b59da6] | 29 | class TxMenu; |
| [12b845] | 30 | |
| [d893f79] | 31 | |
| [a56275] | 32 | class TextWindow : public MainWindow |
| 33 | { | |
| 34 | public: | |
| [d893f79] | 35 | TextWindow(); |
| [a56275] | 36 | virtual ~TextWindow(); |
| 37 | ||
| [12b845] | 38 | virtual void display(); |
| [11428f] | 39 | |
| [12b845] | 40 | private: |
| [b59da6] | 41 | TextMenu<TxMenu> *main_menu; |
| [12b845] | 42 | |
| [2affd1] | 43 | /** Helper function to enumerate all molecules in the World. |
| 44 | * | |
| 45 | * \param out output stream to write to | |
| 46 | */ | |
| 47 | void Enumerate(std::ostream *out); | |
| 48 | ||
| [cb85f24] | 49 | MoleCuilder::Action *quitAction; |
| [12b845] | 50 | // all views that are contained in the main Menu |
| 51 | StringView *moleculeView; | |
| [0188ea] | 52 | TextStatusIndicator *statusIndicator; |
| [a56275] | 53 | }; |
| 54 | ||
| 55 | #endif /* TEXTWINDOW_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
