aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/XUI/SlotProgressControl.h
blob: fb5ddcc10481eebe357833ccddb0fbc3ce8829bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "ProgressControlBase.h"

class SlotProgressControl : public ProgressControlBase
{
public:
	// Define the class. The class name must match the ClassOverride property
	// set for the scene in the UI Authoring tool.
	XUI_IMPLEMENT_CLASS( SlotProgressControl, L"SlotProgressControl", XUI_CLASS_PROGRESSBAR  )

	XUI_BEGIN_MSG_MAP()
		XUI_ON_XM_GET_SOURCE_TEXT(OnGetSourceDataText)
	XUI_END_MSG_MAP()

	virtual int GetValue();
	virtual void GetRange(int *pnRangeMin, int *pnRangeMax);
};