summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemImage.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemImage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/T2DLL/T2DlgItemImage.h b/src/T2DLL/T2DlgItemImage.h
new file mode 100644
index 0000000..96f16c9
--- /dev/null
+++ b/src/T2DLL/T2DlgItemImage.h
@@ -0,0 +1,17 @@
+#pragma once
+#include "common.h"
+
+class T2DlgItemImage {
+public:
+ T2DlgItemImage(T2TowerDoc*, T2ImageObj*, CPalette*);
+ virtual int Create(const char*, unsigned long, const RECT&, CWnd*, unsigned int);
+protected:
+ virtual int OnT2DlgItemEraseBkgnd(CDC*);
+public:
+ void AdjustSize();
+protected:
+ T2BitImage* GetDrawImage(CRect&) const;
+
+public:
+ virtual ~T2DlgItemImage() {}
+};