mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-27 23:19:11 +00:00
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:
parent
e324c7d692
commit
bdd531986b
35 changed files with 201 additions and 148 deletions
|
@ -462,6 +462,7 @@
|
|||
#define SDL_GetSystemRAM SDL_GetSystemRAM_REAL
|
||||
#define SDL_GetSystemTheme SDL_GetSystemTheme_REAL
|
||||
#define SDL_GetTLS SDL_GetTLS_REAL
|
||||
#define SDL_GetTextInputArea SDL_GetTextInputArea_REAL
|
||||
#define SDL_GetTextureAlphaMod SDL_GetTextureAlphaMod_REAL
|
||||
#define SDL_GetTextureAlphaModFloat SDL_GetTextureAlphaModFloat_REAL
|
||||
#define SDL_GetTextureBlendMode SDL_GetTextureBlendMode_REAL
|
||||
|
@ -770,7 +771,7 @@
|
|||
#define SDL_SetSurfacePalette SDL_SetSurfacePalette_REAL
|
||||
#define SDL_SetSurfaceRLE SDL_SetSurfaceRLE_REAL
|
||||
#define SDL_SetTLS SDL_SetTLS_REAL
|
||||
#define SDL_SetTextInputRect SDL_SetTextInputRect_REAL
|
||||
#define SDL_SetTextInputArea SDL_SetTextInputArea_REAL
|
||||
#define SDL_SetTextureAlphaMod SDL_SetTextureAlphaMod_REAL
|
||||
#define SDL_SetTextureAlphaModFloat SDL_SetTextureAlphaModFloat_REAL
|
||||
#define SDL_SetTextureBlendMode SDL_SetTextureBlendMode_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue