Devlogs
ImGui_GM v1.0.12
imgui_gmA downloadable library for Windows
Posted March 11, 2023 by nommiin
#release
hewwo, v1.0.12 of imgui adds wrappers for setting/retrieving a few ImGuiIO variables, along with a change to how imgui_gm retrieves input
Added:
- ImGui.WantKeyboardCapture([val])
- ImGui.WantMouseCapture([val])
- ImGui.WantMouseCaptureUnlessPopupClose([val])
- ImGui.WantTextInput([val])
- These wrappers allow you to retrieve the given variable if no argument is provided, and set the variable if a boolean is provided
Changes:
- ImGui_GM will now check io.WantTextInput before reading keyboard_string, additionally it will no longer overwrite and clear keyboard_string each frame. Instead, the previous string is stored as ImGui retrieves input from the user and restored when input is deselected/confirmed