blob: 4c6ca24b280a3ed6c531b8df3ab8d3323ecfe00b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#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;
};
|