blob: 4079f900557499187b67df32b1a77e8e5dca4238 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef T2DLL_T2SILHOUETTEPANE_H
#define T2DLL_T2SILHOUETTEPANE_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2SilhouettePane : public T2DlgItem {
public:
T2SilhouettePane(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2SilhouettePane();
void SetPeople(T2People*);
int GetSilhouetteType() const {
return mSilhouetteType;
}
void SetCustomColor(const int& v) {
mCustomColor = v;
mHasCustomColor = true;
}
protected:
virtual BOOL OnCreate(CREATESTRUCT*);
virtual void DrawSelf(CDC*);
virtual BOOL OnT2DlgItemEraseBkgnd(CDC*);
T2People *mPeople;
int m8C;
int m90;
int m94;
int m98;
int m9C;
int mA0;
int mSilhouetteType;
BOOL mHasCustomColor;
int mCustomColor;
};
#endif
|