summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemBelongGage.h
blob: 50aed91bbc0f6da27748434350f3343c6318fa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef T2DLL_T2DLGITEMBELONGGAGE_H
#define T2DLL_T2DLGITEMBELONGGAGE_H
#include "../common.h"
#include "T2DlgItemGageBase.h"

class AFX_CLASS_EXPORT T2DlgItemBelongGage : public T2DlgItemGageBase {
public:
	T2DlgItemBelongGage(T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette);
	void SetTenant(T2Tenant* tenant);

protected:
	virtual int GetMinValue();
	virtual int GetMaxValue();
	virtual int GetValue();
	virtual int GetBlueValue();
	virtual int GetYellowValue();
	virtual COLORREF GetGageColor(int value);
	virtual BOOL IsDrawInterior();

	T2Tenant *mTenant;
};
#endif