blob: 42d57aea8b99497352d139013d9183b46ed4527b (
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
|
#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
|