ios keyboard stuff
This commit is contained in:
1 parent
e9de663388
commit
9a27aacbab
10 files changed
+128
-10
No files matched your search
@@ -208,6 +208,8 @@ public:
|
||||
virtual void OnTapDown(vec2 pos);
|
||||
|
||||
void SetText(const std::string& newText);
|
||||
void OnSetAllText(std::string newText); //For iOS only
|
||||
std::string GetText();
|
||||
|
||||
static TEdit* CreateEdit(vec2 posFrom, vec2 posTo);
|
||||
static TEdit* CreateEditWithFiller(vec2 posFrom, vec2 posTo, boost::function<void(TEdit*)> fillerFunc);
|
||||
|
||||
@@ -142,6 +142,7 @@ protected:
|
||||
public:
|
||||
|
||||
boost::signal<void(int)> KeyPressedSignal;
|
||||
boost::signal<void(std::string)> SetTextSignal;
|
||||
//boost::signal<void()> PostUpdateSignal;
|
||||
|
||||
TGUIManager();
|
||||
@@ -170,7 +171,7 @@ public:
|
||||
|
||||
void OnMove(vec2 shift);
|
||||
|
||||
void ShowKeyboard();
|
||||
void ShowKeyboard(const std::string text = "");
|
||||
void HideKeyboard();
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user