mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 14:23:43 +00:00
22 lines
496 B
C++
22 lines
496 B
C++
#pragma once
|
|
|
|
#include "UIControl_Base.h"
|
|
|
|
class UIControl_TextInput : public UIControl_Base {
|
|
private:
|
|
IggyName m_textName, m_funcChangeState, m_funcSetCharLimit;
|
|
bool m_bHasFocus;
|
|
|
|
public:
|
|
UIControl_TextInput();
|
|
|
|
virtual bool setupControl(UIScene* scene, IggyValuePath* parent,
|
|
const std::string& controlName);
|
|
|
|
void init(UIString label, int id);
|
|
void ReInit();
|
|
|
|
virtual void setFocus(bool focus);
|
|
|
|
void SetCharLimit(int iLimit);
|
|
}; |