mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-12 00:14:20 +00:00
Added IsPosHoveringAnyWindow()
This commit is contained in:
parent
d5ed586d70
commit
85672fec2e
2 changed files with 9 additions and 3 deletions
|
|
@ -1745,6 +1745,11 @@ bool IsMouseHoveringAnyWindow()
|
|||
return g.HoveredWindow != NULL;
|
||||
}
|
||||
|
||||
bool IsPosHoveringAnyWindow(const ImVec2& pos)
|
||||
{
|
||||
return ImGui::FindHoveredWindow(pos, false) != NULL;
|
||||
}
|
||||
|
||||
static bool IsKeyPressedMap(ImGuiKey key, bool repeat)
|
||||
{
|
||||
ImGuiState& g = GImGui;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue