IsItemHovered(), IsWindowHovered(): added flags to enable various and more specific behavior. Will enable improvements for popups/context menus and drag'n drop. (relate ~#439, #1013, #143, #925)
The legacy confusing IsItemRectHovered(), IsWindowRectHovered() can be completely removed now.
Changed IsWindowHovered() behavior with default parameter: it now return false is the window is blocked by a popup.
Demo: Added tests for those two functions.
1 parent d29a6a5 commit 564ff2dfd379d40568879a5bc89e8cfea7e51d2f
@omar omar authored on 20 Oct 2017
Showing 3 changed files
View
imgui.cpp
View
imgui.h
View
imgui_demo.cpp