You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of SDL3 has replaced SDL_SetTextInputRect with SDL_SetTextInputArea. SDL_SetTextInputArea also takes an extra parameter for cursor (the offset of the current cursor location relative to rect->x, in window coordinates)
The relevant commit is -
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 is used in imgui_impl_sdl3.cpp on line 154.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
Version 1.90.9, Branch: docking
Back-ends:
imgui_impl_SDL3.cpp + imgui_impl_OpenGL3.cpp
Compiler, OS:
Linux + GCC 14.1.1
Full config/build information:
Details:
The latest version of SDL3 has replaced SDL_SetTextInputRect with SDL_SetTextInputArea. SDL_SetTextInputArea also takes an extra parameter for cursor (the offset of the current cursor location relative to
rect->x
, in window coordinates)The relevant commit is -
This is used in imgui_impl_sdl3.cpp on line 154.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: