mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-12 22:18:36 +00:00
[cimgui 1.53.1] Obsolete sys::igIsRootWindowOrAnyChildFocused()
Should use `igIsWindowFocused(ImGuiFocusedFlags::RootAndChildWindows)` instead.
This commit is contained in:
parent
f3e994f582
commit
2df079e563
@ -8,6 +8,8 @@
|
||||
- Rename `ImGuiTreeNodeFlags::AllowOverlapMode` to `ImGuiTreeNodeFlags::AllowItemOverlap`.
|
||||
- Obsolete `sys::igIsRootWindowFocused()` in favor of using
|
||||
`sys::igIsWindowFocused(ImGuiFocusedFlags::RootWindow)`.
|
||||
- Obsolete `sys::igIsRootWindowOrAnyChildFocused()` in favor of using
|
||||
`sys::igIsWindowFocused(ImGuiFocusedFlags::RootAndChildWindows)`.
|
||||
|
||||
|
||||
## [0.0.18] - 2017-12-23
|
||||
|
||||
@ -1619,7 +1619,6 @@ extern "C" {
|
||||
pub fn igSetItemAllowOverlap();
|
||||
pub fn igIsWindowFocused(flags: ImGuiFocusedFlags) -> bool;
|
||||
pub fn igIsWindowHovered(flags: ImGuiHoveredFlags) -> bool;
|
||||
pub fn igIsRootWindowOrAnyChildFocused() -> bool;
|
||||
pub fn igIsRootWindowOrAnyChildHovered(flags: ImGuiHoveredFlags) -> bool;
|
||||
pub fn igIsAnyWindowHovered() -> bool;
|
||||
pub fn igIsRectVisible(item_size: ImVec2) -> bool;
|
||||
@ -1675,6 +1674,11 @@ extern "C" {
|
||||
pub unsafe fn igIsRootWindowFocused() -> bool {
|
||||
igIsWindowFocused(ImGuiFocusedFlags::RootWindow)
|
||||
}
|
||||
#[allow(non_snake_case)]
|
||||
#[deprecated(since = "0.0.19", note = "please use igIsWindowFocused(ImGuiFocusedFlags::RootAndChildWindows) instead")]
|
||||
pub unsafe fn igIsRootWindowOrAnyChildFocused() -> bool {
|
||||
igIsWindowFocused(ImGuiFocusedFlags::RootAndChildWindows)
|
||||
}
|
||||
|
||||
// Inputs
|
||||
extern "C" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user