From e384078d7aad79607f32a5db87ebc004cc6b5c56 Mon Sep 17 00:00:00 2001 From: omar Date: Thu, 19 Oct 2017 22:49:36 +0200 Subject: [PATCH] IO: reordering some supposedly private fields. --- imgui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.h b/imgui.h index 17c39f5e..a6b1116c 100644 --- a/imgui.h +++ b/imgui.h @@ -871,9 +871,9 @@ struct ImGuiIO //------------------------------------------------------------------ ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame()) - bool MouseClicked[5]; // Mouse button went from !Down to Down ImVec2 MouseClickedPos[5]; // Position at time of clicking float MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? bool MouseReleased[5]; // Mouse button went from Down to !Down bool MouseDownOwned[5]; // Track if button was clicked inside a window. We don't request mouse capture from the application if click started outside ImGui bounds.