blob: 60bdec44481ccf05cb5fd5db40ba4a8424d2ef16 (
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
|
#pragma once
#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;
};
|