Files
MinecraftConsoles/Minecraft.Client/Common/XUI/XUI_Ctrl_ProgressCtrlBase.h
2026-03-01 12:16:08 +08:00

11 lines
387 B
C++

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