summaryrefslogtreecommitdiffstats
path: root/Master/Modellbildung_und_Simulation/Aufgabenblatt1/Superposition/src/SuperpositionController.h
blob: fe0637b1c11181d05e6a1bcf57a00d278258fdc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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_ */