4jcraft/Minecraft.Client/Platform/Common/XUI/SlotProgressControl.h
2026-03-22 12:40:22 -05:00

18 lines
548 B
C++

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