blob: 20e93fdf28d1499bc321e436e2fcae1ac15b607e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#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;
};
|