mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-12 15:59:54 +02:00
Added flag showing whether the GUI wants text input
Conflicts: imgui.cpp
This commit is contained in:
committed by
ocornut
parent
7eca754094
commit
73917115a8
@ -1343,6 +1343,7 @@ void ImGui::ShowTestWindow(bool* opened)
|
||||
|
||||
ImGui::Text("WantCaptureMouse: %s", io.WantCaptureMouse ? "true" : "false");
|
||||
ImGui::Text("WantCaptureKeyboard: %s", io.WantCaptureKeyboard ? "true" : "false");
|
||||
ImGui::Text("WantInputCharacters: %s", io.WantInputCharacters ? "true" : "false");
|
||||
|
||||
ImGui::Button("Hover me\nto enforce\ninputs capture");
|
||||
if (ImGui::IsItemHovered())
|
||||
|
Reference in New Issue
Block a user