the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "UIControl_Base.h"
4
5class UIControl_TexturePackList : public UIControl_Base
6{
7private:
8 IggyName m_addPackFunc, m_funcSelectSlot, m_funcSetTouchFocus, m_funcCanTouchTrigger, m_funcGetRealHeight,m_clearSlotsFunc;
9 IggyName m_funcEnableSelector;
10
11public:
12 UIControl_TexturePackList();
13
14 virtual bool setupControl(UIScene *scene, IggyValuePath *parent, const string &controlName);
15
16 void init(const wstring &label, int id);
17
18 void addPack(int id, const wstring &textureName);
19 void selectSlot(int id);
20 void clearSlots();
21
22 virtual void setEnabled(bool enable);
23
24 void SetTouchFocus(S32 iX, S32 iY, bool bRepeat);
25 bool CanTouchTrigger(S32 iX, S32 iY);
26 S32 GetRealHeight();
27};