Added flag showing whether the GUI wants text input

Conflicts:
	imgui.cpp
This commit is contained in:
Borislav Stanimirov
2015-08-23 22:52:47 +03:00
committed by ocornut
parent 7eca754094
commit 73917115a8
4 changed files with 16 additions and 4 deletions

View File

@ -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())