the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 22 lines 437 B view raw
1#pragma once 2 3#include "UIControl_Base.h" 4 5class UIControl_TextInput : public UIControl_Base 6{ 7private: 8 IggyName m_textName, m_funcChangeState, m_funcSetCharLimit; 9 bool m_bHasFocus; 10 11public: 12 UIControl_TextInput(); 13 14 virtual bool setupControl(UIScene *scene, IggyValuePath *parent, const string &controlName); 15 16 void init(UIString label, int id); 17 void ReInit(); 18 19 virtual void setFocus(bool focus); 20 21 void SetCharLimit(int iLimit); 22};