#ifndef T2DLL_T2DLGITEMPROFITSGAGE_H #define T2DLL_T2DLGITEMPROFITSGAGE_H #include "../common.h" #include "T2DlgItemGageBase.h" class AFX_CLASS_EXPORT T2DlgItemProfitsGage : public T2DlgItemGageBase { public: T2DlgItemProfitsGage(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); void SetTenant(T2Tenant* inTenant); protected: virtual int GetMinValue(); virtual int GetMaxValue(); virtual int GetValue(); virtual int GetBlueValue(); virtual int GetYellowValue(); virtual COLORREF GetGageColor(int inValue); virtual void DrawInterior(CDC* pDC, const CRect& inRect); virtual BOOL IsDrawInterior(); void CalcCost(); int mCost; T2Tenant *mTenant; }; #endif