summaryrefslogtreecommitdiffstats
path: root/src/gauge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gauge.h')
-rw-r--r--src/gauge.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/gauge.h b/src/gauge.h
new file mode 100644
index 0000000..5813268
--- /dev/null
+++ b/src/gauge.h
@@ -0,0 +1,36 @@
+// gauge.h
+
+#ifndef _GAUGE_H_
+#define _GAUGE_H_
+
+
+#include "control.h"
+
+
+class CD3DEngine;
+
+
+
+class CGauge : public CControl
+{
+public:
+ CGauge(CInstanceManager* iMan);
+ ~CGauge();
+
+ BOOL Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg);
+
+ BOOL EventProcess(const Event &event);
+
+ void Draw();
+
+ void SetLevel(float level);
+ float RetLevel();
+
+protected:
+
+protected:
+ float m_level;
+};
+
+
+#endif //_GAUGE_H_