#ifndef T2DLL_T2DLGITEMSTRESSGAGE_H #define T2DLL_T2DLGITEMSTRESSGAGE_H #include "../common.h" #include "T2DlgItemGageBase.h" class AFX_CLASS_EXPORT T2DlgItemStressGage : public T2DlgItemGageBase { public: T2DlgItemStressGage(T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette); void SetPeople(T2People*); protected: virtual int GetMinValue(); virtual int GetMaxValue(); virtual int GetValue(); virtual int GetBlueValue(); virtual int GetYellowValue(); virtual COLORREF GetGageColor(int value); virtual BOOL IsDrawInterior(); T2People *mPeople; }; #endif