|
|
|
@ -5666,12 +5666,18 @@ static void ShowDemoWindowMisc() |
|
|
|
|
ImGuiIO& io = ImGui::GetIO(); |
|
|
|
|
|
|
|
|
|
// Display ImGuiIO output flags
|
|
|
|
|
ImGui::Text("WantCaptureMouse: %d", io.WantCaptureMouse); |
|
|
|
|
ImGui::Text("WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); |
|
|
|
|
ImGui::Text("WantCaptureKeyboard: %d", io.WantCaptureKeyboard); |
|
|
|
|
ImGui::Text("WantTextInput: %d", io.WantTextInput); |
|
|
|
|
ImGui::Text("WantSetMousePos: %d", io.WantSetMousePos); |
|
|
|
|
ImGui::Text("NavActive: %d, NavVisible: %d", io.NavActive, io.NavVisible); |
|
|
|
|
IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Output"); |
|
|
|
|
ImGui::SetNextItemOpen(true, ImGuiCond_Once); |
|
|
|
|
if (ImGui::TreeNode("Output")) |
|
|
|
|
{ |
|
|
|
|
ImGui::Text("io.WantCaptureMouse: %d", io.WantCaptureMouse); |
|
|
|
|
ImGui::Text("io.WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); |
|
|
|
|
ImGui::Text("io.WantCaptureKeyboard: %d", io.WantCaptureKeyboard); |
|
|
|
|
ImGui::Text("io.WantTextInput: %d", io.WantTextInput); |
|
|
|
|
ImGui::Text("io.WantSetMousePos: %d", io.WantSetMousePos); |
|
|
|
|
ImGui::Text("io.NavActive: %d, io.NavVisible: %d", io.NavActive, io.NavVisible); |
|
|
|
|
ImGui::TreePop(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Display Mouse state
|
|
|
|
|
IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse State"); |
|
|
|
|