neoLegacy/Minecraft.Client/Common/UI/UIControl_AchievementsList.h
SevenToaster509 34504b7b93 feat: achievements
fully functional but some achievements dont work yet

EXPERIMENTAL!!!!
2026-04-26 15:27:19 +01:00

22 lines
700 B
C++

#pragma once
#include "UIControl_Base.h"
class UIControl_AchievementsList : public UIControl_Base
{
private:
IggyName m_funcAddNewItem, m_funcHighlightItem, m_funcSetTouchFocus, m_funcEnableButton;
public:
UIControl_AchievementsList();
void init(int id);
int m_itemCount;
int m_iCurrentSelection = 0;
void SetTouchFocus(S32 iX, S32 iY, bool bRepeat);
void UpdateControl();
void EnableButton(int id, bool bEnable);
void updateChildFocus(int iChild);
void setCurrentSelection(int iSelection);
virtual bool setupControl(UIScene* scene, IggyValuePath* parent, const string& controlName);
void UIControl_AchievementsList::addnewItem(int id, wstring textureName);
//virtual void ReInit();
};