blob: 0d9b949d062d6cb1cde3fd916c269dd5361cbe84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef T2DLL_T2DLGITEMIMAGE_H
#define T2DLL_T2DLGITEMIMAGE_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT 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:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
T2BitImage* GetDrawImage(CRect& outRect) const;
};
#endif
|