summaryrefslogtreecommitdiff
path: root/gui.h
blob: 7e6119733702932c96807185517c340250d61565 (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
#ifndef GUI_H
#define GUI_H

#define CEGUI_STATIC

#include <CEGUI.h>

class GUI {
	public:
		static CEGUI::Window *root;

		virtual ~GUI() {};

		static void init();
		virtual void render();
};

class RaiseWindow : public GUI {
	private:
		CEGUI::FrameWindow *wnd;
		CEGUI::PushButton *btn;

		CEGUI::Scrollbar *radius_sb;
		CEGUI::Window *radius_sb_lbl;

		CEGUI::Scrollbar *focus_sb;
		CEGUI::Window *focus_sb_lbl;

		CEGUI::Scrollbar *strength_sb;
		CEGUI::Window *strength_sb_lbl;

		static float radius, focus, strength;

	public:
		RaiseWindow();
		virtual ~RaiseWindow();

		virtual void render();
		float get_radius();
		float get_focus();
		float get_strength();
};

#endif