summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemPPLEvalGage.h
blob: 8156c8aa0f281d242e87d101ae25f3900ec242e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include "common.h"
#include "T2DlgItemGageBase.h"

class AFX_CLASS_EXPORT T2DlgItemPPLEvalGage : public T2DlgItemGageBase {
public:
	T2DlgItemPPLEvalGage(T2TowerDoc* towerDoc, T2ImageObj* imageObj, CPalette* palette);
	void SetPeople(T2People* people);

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;
};