mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
[cimgui 1.53.1] Obsolete sys::igIsRootWindowFocused()
Should use `sys::igIsWindowFocused(ImGuiFocusedFlags_RootWindow)` instead.
This commit is contained in:
parent
24c37293e4
commit
f3e994f582
@ -6,6 +6,8 @@
|
||||
- Rename `Ui::show_test_window` to `Ui::show_demo_window`.
|
||||
- Rename `sys::igGetItemsLineHeightWithSpacing` to `sys::igGetFrameHeightWithSpacing`.
|
||||
- Rename `ImGuiTreeNodeFlags::AllowOverlapMode` to `ImGuiTreeNodeFlags::AllowItemOverlap`.
|
||||
- Obsolete `sys::igIsRootWindowFocused()` in favor of using
|
||||
`sys::igIsWindowFocused(ImGuiFocusedFlags::RootWindow)`.
|
||||
|
||||
|
||||
## [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 igIsRootWindowFocused() -> bool;
|
||||
pub fn igIsRootWindowOrAnyChildFocused() -> bool;
|
||||
pub fn igIsRootWindowOrAnyChildHovered(flags: ImGuiHoveredFlags) -> bool;
|
||||
pub fn igIsAnyWindowHovered() -> bool;
|
||||
@ -1671,6 +1670,12 @@ extern "C" {
|
||||
);
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[deprecated(since = "0.0.19", note = "please use igIsWindowFocused(ImGuiFocusedFlags::RootWindow) instead")]
|
||||
pub unsafe fn igIsRootWindowFocused() -> bool {
|
||||
igIsWindowFocused(ImGuiFocusedFlags::RootWindow)
|
||||
}
|
||||
|
||||
// Inputs
|
||||
extern "C" {
|
||||
pub fn igGetKeyIndex(imgui_key: ImGuiKey) -> c_int;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user