SDL_SetTextInputRect() has been renamed to SDL_SetTextInputArea()

The new function includes the cursor position so IME UI elements can be placed relative to the cursor, as well as having the whole text area available so on-screen keyboards can avoid it.
This commit is contained in:
Sam Lantinga committed 2024-06-28 17:09:22 -07:00
1 parent e324c7d692
commit bdd531986b
35 files changed
+201 -148

No files matched your search

+1
View File
@@ -917,6 +917,7 @@ The following functions have been renamed:
The following functions have been removed:
* SDL_IsTextInputShown()
* SDL_SetTextInputRect() - replaced with SDL_SetTextInputArea()
The following structures have been removed:
* SDL_Keysym