summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemProgress.h
blob: 84908532d4c615cbbbfcdae86f7bc2f64cbdf0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef T2DLL_T2DLGITEMPROGRESS_H
#define T2DLL_T2DLGITEMPROGRESS_H
#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;
};
#endif