summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemGageBase.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemGageBase.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/T2DLL/T2DlgItemGageBase.h b/src/T2DLL/T2DlgItemGageBase.h
new file mode 100644
index 0000000..f1e18d8
--- /dev/null
+++ b/src/T2DLL/T2DlgItemGageBase.h
@@ -0,0 +1,16 @@
+#pragma once
+#include "common.h"
+
+class T2DlgItemGageBase {
+public:
+ T2DlgItemGageBase(T2TowerDoc*, T2ImageObj*, CPalette*);
+protected:
+ virtual int OnT2DlgItemEraseBkgnd(CDC*);
+ virtual void DrawInterior(CDC*, const CRect&);
+ void DrawBorderLines(CDC*, const CRect&);
+ void DrawValueByText(CDC*, const CRect&);
+ int CalcPos(const CRect&, int, int, int);
+
+public:
+ virtual ~T2DlgItemGageBase() {}
+};