diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h | |
| download | Studium-master.tar.gz Studium-master.tar.bz2 | |
Diffstat (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h')
| -rw-r--r-- | Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h new file mode 100644 index 0000000..fe0637b --- /dev/null +++ b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h @@ -0,0 +1,48 @@ +/* + * SuperpositionController.h + * + * Created on: 01.04.2011 + * Author: sven + */ + +#ifndef SUPERPOSITIONCONTROLLER_H_ +#define SUPERPOSITIONCONTROLLER_H_ + +#ifndef SUPERPOSITIONPARAMETERS_H_ + #include "SuperpositionParameters.h" +#endif + +#ifndef _GTKMM_H + #include <gtkmm.h> +#endif + +#ifndef _GLIBCXX_STRING + #include <string> +#endif + +class SuperpositionController { +public: + SuperpositionController(); + virtual ~SuperpositionController(); + void startApp(Gtk::Main&); +private: + static const char* UI_FILENAME; + SuperpositionParameters mParams; + + Gtk::Window* mPtrMainWin; + Gtk::Entry* mPtrSrcFile1; + Gtk::Entry* mPtrSrcFile2; + Gtk::Entry* mPtrDstFile; + Gtk::Button* mPtrOpenBtnSrc1; + Gtk::Button* mPtrOpenBtnSrc2; + Gtk::Button* mPtrOpenBtnDst; + Gtk::Button* mPtrStartBtn; + + void on_button_src1(); + void on_button_src2(); + void on_button_dst(); + void on_button_start(); + void choose_file(std::string&); +}; + +#endif /* SUPERPOSITIONCONTROLLER_H_ */ |
