Internal: Added owner aware variant of IsMouseDoubleClicked() for consistency.

Amend 4448d97. Note that functions entry points will eventually be merged into one, so this is not a problem.
This commit is contained in:
ocornut
2023-11-06 14:09:35 +01:00
parent 376035fd01
commit 561af15d67
2 changed files with 8 additions and 0 deletions

View File

@ -3129,6 +3129,7 @@ namespace ImGui
IMGUI_API bool IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id);
IMGUI_API bool IsMouseClicked(ImGuiMouseButton button, ImGuiID owner_id, ImGuiInputFlags flags = 0);
IMGUI_API bool IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id);
IMGUI_API bool IsMouseDoubleClicked(ImGuiMouseButton button, ImGuiID owner_id);
// [EXPERIMENTAL] Shortcut Routing
// - ImGuiKeyChord = a ImGuiKey optionally OR-red with ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super.