Window: add new setTextInputRect() method to optionally specify the location of the input when textInputEnabled is set to true

On native, this uses SDL_SetTextInputRect
This commit is contained in:
Josh Tynjala
2022-06-09 14:14:05 -07:00
parent 5f6f762ff8
commit 81d682d355
9 changed files with 75 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ namespace lime {
virtual void SetMouseLock (bool mouseLock) = 0;
virtual bool SetResizable (bool resizable) = 0;
virtual void SetTextInputEnabled (bool enable) = 0;
virtual void SetTextInputRect (Rectangle *rect) = 0;
virtual const char* SetTitle (const char* title) = 0;
virtual void WarpMouse (int x, int y) = 0;