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

class AFX_CLASS_EXPORT T2DlgItemProgress : public T2DlgItem {
public:
	T2DlgItemProgress(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
	virtual ~T2DlgItemProgress();
	virtual void SetFont(HFONT inFont);
	virtual void CreateSubItem();
	virtual void SetRange(int inLower, int inUpper);
	virtual int SetPos(int inPos);
	virtual int OffsetPos(int inOffset);
	virtual int SetStep(int inStep);
	virtual int StepIt();

protected:
	CProgressCtrl *mSubItem;
};