summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemButtonBase.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemButtonBase.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/T2DLL/T2DlgItemButtonBase.h b/src/T2DLL/T2DlgItemButtonBase.h
new file mode 100644
index 0000000..cba8156
--- /dev/null
+++ b/src/T2DLL/T2DlgItemButtonBase.h
@@ -0,0 +1,15 @@
+#pragma once
+#include "common.h"
+
+class T2DlgItemButtonBase {
+public:
+ T2DlgItemButtonBase(T2TowerDoc*, T2ImageObj*, CPalette*);
+protected:
+ virtual void OnT2DlgItemLButtonDown(unsigned int, CPoint);
+ virtual void OnT2DlgItemLButtonUp(unsigned int, CPoint);
+ virtual void OnT2DlgItemMouseMove(unsigned int, CPoint);
+ virtual void DrawButtonBase(CDC*, const RECT&, int);
+
+public:
+ virtual ~T2DlgItemButtonBase() {}
+};