mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-13 22:48:34 +00:00
[cimgui 1.53.1] Add binding to igSetItemDefaultFocus
Group functions related to focus management together.
This commit is contained in:
parent
c016ed66b7
commit
20d40f0e01
@ -1023,7 +1023,6 @@ extern "C" {
|
||||
pub fn igSetScrollY(scroll_y: c_float);
|
||||
pub fn igSetScrollHere(center_y_ratio: c_float);
|
||||
pub fn igSetScrollFromPosY(pos_y: c_float, center_y_ratio: c_float);
|
||||
pub fn igSetKeyboardFocusHere(offset: c_int);
|
||||
pub fn igSetStateStorage(tree: *mut ImGuiStorage);
|
||||
pub fn igGetStateStorage() -> *mut ImGuiStorage;
|
||||
}
|
||||
@ -1702,6 +1701,12 @@ extern "C" {
|
||||
pub fn igStyleColorsLight(dst: *mut ImGuiStyle);
|
||||
}
|
||||
|
||||
// Focus
|
||||
extern "C" {
|
||||
pub fn igSetItemDefaultFocus();
|
||||
pub fn igSetKeyboardFocusHere(offset: c_int);
|
||||
}
|
||||
|
||||
// Utilities
|
||||
extern "C" {
|
||||
pub fn igIsItemHovered(flags: ImGuiHoveredFlags) -> bool;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user