summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2DlgItemImage.h')
-rw-r--r--src/T2DLL/T2DlgItemImage.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/T2DLL/T2DlgItemImage.h b/src/T2DLL/T2DlgItemImage.h
index 96f16c9..c07c21d 100644
--- a/src/T2DLL/T2DlgItemImage.h
+++ b/src/T2DLL/T2DlgItemImage.h
@@ -1,17 +1,13 @@
#pragma once
#include "common.h"
+#include "T2DlgItem.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*);
+class AFX_EXT_CLASS T2DlgItemImage : public T2DlgItem {
public:
+ T2DlgItemImage(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
+ virtual int Create(const char* inName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID);
void AdjustSize();
protected:
- T2BitImage* GetDrawImage(CRect&) const;
-
-public:
- virtual ~T2DlgItemImage() {}
+ virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
+ T2BitImage* GetDrawImage(CRect& outRect) const;
};