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_Button : public UIControl_Base
6{
7private:
8 IggyName m_funcEnableButton;
9
10public:
11 UIControl_Button();
12
13 virtual bool setupControl(UIScene *scene, IggyValuePath *parent, const string &controlName);
14
15 void init(UIString label, int id);
16 //void init(const wstring &label, int id) { init(UIString::CONSTANT(label), id); }
17
18 virtual void ReInit();
19
20 void setEnable(bool enable);
21};