aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/XUI/XUI_Ctrl_ProgressCtrlBase.h
blob: 7a4302d3a0f9d269638978a42fe04c60c4495d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

class CXuiCtrlProgressCtrlBase : public CXuiProgressBar, public CXuiElementImplBase
{
public:
	HRESULT OnGetSourceDataText(XUIMessageGetSourceText *pGetSourceTextData, BOOL& bHandled);

	// Override these in the derived classes to return the values to be displayed on the control
	virtual int GetValue() = 0;
	virtual void GetRange(int *pnRangeMin, int *pnRangeMax) = 0;
};