#pragma once #include "common.h" #include "T2DlgItem.h" class AFX_EXT_CLASS 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; };