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

13 lines
471 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;
};