diff --git a/imgui-sdl2-support/src/lib.rs b/imgui-sdl2-support/src/lib.rs index 7baf8f4..a08ca5d 100644 --- a/imgui-sdl2-support/src/lib.rs +++ b/imgui-sdl2-support/src/lib.rs @@ -141,7 +141,7 @@ impl SdlPlatform { io[Key::Space] = Scancode::Space as _; io[Key::Enter] = Scancode::Return as _; io[Key::Escape] = Scancode::Escape as _; - io[Key::KeyPadEnter] = Scancode::KpEnter as _; + io[Key::KeypadEnter] = Scancode::KpEnter as _; io[Key::A] = Scancode::A as _; io[Key::C] = Scancode::C as _; io[Key::V] = Scancode::V as _; diff --git a/imgui-sys/src/bindings.rs b/imgui-sys/src/bindings.rs index 495362a..fa6bf06 100644 --- a/imgui-sys/src/bindings.rs +++ b/imgui-sys/src/bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.59.1 */ +/* automatically generated by rust-bindgen 0.63.0 */ #![allow(nonstandard_style, clippy::all)] @@ -84,7 +84,7 @@ where } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImGuiContext { +pub struct ImDrawListSharedData { _unused: [u8; 0], } #[repr(C)] @@ -94,14 +94,13 @@ pub struct ImFontBuilderIO { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImDrawListSharedData { +pub struct ImGuiContext { _unused: [u8; 0], } pub type ImGuiCol = cty::c_int; pub type ImGuiCond = cty::c_int; pub type ImGuiDataType = cty::c_int; pub type ImGuiDir = cty::c_int; -pub type ImGuiKey = cty::c_int; pub type ImGuiMouseButton = cty::c_int; pub type ImGuiMouseCursor = cty::c_int; pub type ImGuiSortDirection = cty::c_int; @@ -119,7 +118,7 @@ pub type ImGuiDragDropFlags = cty::c_int; pub type ImGuiFocusedFlags = cty::c_int; pub type ImGuiHoveredFlags = cty::c_int; pub type ImGuiInputTextFlags = cty::c_int; -pub type ImGuiKeyModFlags = cty::c_int; +pub type ImGuiKeyChord = cty::c_int; pub type ImGuiPopupFlags = cty::c_int; pub type ImGuiSelectableFlags = cty::c_int; pub type ImGuiSliderFlags = cty::c_int; @@ -134,6 +133,7 @@ pub type ImGuiWindowFlags = cty::c_int; pub type ImTextureID = *mut cty::c_void; pub type ImDrawIdx = cty::c_ushort; pub type ImGuiID = cty::c_uint; +pub type ImS8 = cty::c_schar; pub type ImU8 = cty::c_uchar; pub type ImS16 = cty::c_short; pub type ImU16 = cty::c_ushort; @@ -152,281 +152,6 @@ pub type ImGuiMemAllocFunc = ::core::option::Option< pub type ImGuiMemFreeFunc = ::core::option::Option< unsafe extern "C" fn(ptr: *mut cty::c_void, user_data: *mut cty::c_void), >; -pub type ImDrawCallback = ::core::option::Option< - unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawChannel { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawChannel, -} -impl Default for ImVector_ImDrawChannel { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawCmd { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawCmd, -} -impl Default for ImVector_ImDrawCmd { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawIdx { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawIdx, -} -impl Default for ImVector_ImDrawIdx { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawVert { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawVert, -} -impl Default for ImVector_ImDrawVert { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImFont, -} -impl Default for ImVector_ImFontPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontAtlasCustomRect { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontAtlasCustomRect, -} -impl Default for ImVector_ImFontAtlasCustomRect { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontConfig { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontConfig, -} -impl Default for ImVector_ImFontConfig { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontGlyph { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontGlyph, -} -impl Default for ImVector_ImFontGlyph { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStoragePair { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStoragePair, -} -impl Default for ImVector_ImGuiStoragePair { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTextRange { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTextRange, -} -impl Default for ImVector_ImGuiTextRange { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImTextureID { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImTextureID, -} -impl Default for ImVector_ImTextureID { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImU32 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImU32, -} -impl Default for ImVector_ImU32 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec2 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec2, -} -impl Default for ImVector_ImVec2 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec4 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec4, -} -impl Default for ImVector_ImVec4 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImWchar { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImWchar, -} -impl Default for ImVector_ImWchar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_char { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut cty::c_char, -} -impl Default for ImVector_char { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_float { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut f32, -} -impl Default for ImVector_float { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImVec2 { @@ -493,6 +218,7 @@ pub const ImGuiInputTextFlags_NoUndoRedo: ImGuiInputTextFlags_ = 65536; pub const ImGuiInputTextFlags_CharsScientific: ImGuiInputTextFlags_ = 131072; pub const ImGuiInputTextFlags_CallbackResize: ImGuiInputTextFlags_ = 262144; pub const ImGuiInputTextFlags_CallbackEdit: ImGuiInputTextFlags_ = 524288; +pub const ImGuiInputTextFlags_EscapeClearsAll: ImGuiInputTextFlags_ = 1048576; pub type ImGuiInputTextFlags_ = cty::c_uint; pub const ImGuiTreeNodeFlags_None: ImGuiTreeNodeFlags_ = 0; pub const ImGuiTreeNodeFlags_Selected: ImGuiTreeNodeFlags_ = 1; @@ -651,8 +377,12 @@ pub const ImGuiHoveredFlags_AllowWhenBlockedByPopup: ImGuiHoveredFlags_ = 32; pub const ImGuiHoveredFlags_AllowWhenBlockedByActiveItem: ImGuiHoveredFlags_ = 128; pub const ImGuiHoveredFlags_AllowWhenOverlapped: ImGuiHoveredFlags_ = 256; pub const ImGuiHoveredFlags_AllowWhenDisabled: ImGuiHoveredFlags_ = 512; +pub const ImGuiHoveredFlags_NoNavOverride: ImGuiHoveredFlags_ = 1024; pub const ImGuiHoveredFlags_RectOnly: ImGuiHoveredFlags_ = 416; pub const ImGuiHoveredFlags_RootAndChildWindows: ImGuiHoveredFlags_ = 3; +pub const ImGuiHoveredFlags_DelayNormal: ImGuiHoveredFlags_ = 2048; +pub const ImGuiHoveredFlags_DelayShort: ImGuiHoveredFlags_ = 4096; +pub const ImGuiHoveredFlags_NoSharedDelay: ImGuiHoveredFlags_ = 8192; pub type ImGuiHoveredFlags_ = cty::c_uint; pub const ImGuiDragDropFlags_None: ImGuiDragDropFlags_ = 0; pub const ImGuiDragDropFlags_SourceNoPreviewTooltip: ImGuiDragDropFlags_ = 1; @@ -689,59 +419,179 @@ pub const ImGuiSortDirection_None: ImGuiSortDirection_ = 0; pub const ImGuiSortDirection_Ascending: ImGuiSortDirection_ = 1; pub const ImGuiSortDirection_Descending: ImGuiSortDirection_ = 2; pub type ImGuiSortDirection_ = cty::c_uint; -pub const ImGuiKey_Tab: ImGuiKey_ = 0; -pub const ImGuiKey_LeftArrow: ImGuiKey_ = 1; -pub const ImGuiKey_RightArrow: ImGuiKey_ = 2; -pub const ImGuiKey_UpArrow: ImGuiKey_ = 3; -pub const ImGuiKey_DownArrow: ImGuiKey_ = 4; -pub const ImGuiKey_PageUp: ImGuiKey_ = 5; -pub const ImGuiKey_PageDown: ImGuiKey_ = 6; -pub const ImGuiKey_Home: ImGuiKey_ = 7; -pub const ImGuiKey_End: ImGuiKey_ = 8; -pub const ImGuiKey_Insert: ImGuiKey_ = 9; -pub const ImGuiKey_Delete: ImGuiKey_ = 10; -pub const ImGuiKey_Backspace: ImGuiKey_ = 11; -pub const ImGuiKey_Space: ImGuiKey_ = 12; -pub const ImGuiKey_Enter: ImGuiKey_ = 13; -pub const ImGuiKey_Escape: ImGuiKey_ = 14; -pub const ImGuiKey_KeyPadEnter: ImGuiKey_ = 15; -pub const ImGuiKey_A: ImGuiKey_ = 16; -pub const ImGuiKey_C: ImGuiKey_ = 17; -pub const ImGuiKey_V: ImGuiKey_ = 18; -pub const ImGuiKey_X: ImGuiKey_ = 19; -pub const ImGuiKey_Y: ImGuiKey_ = 20; -pub const ImGuiKey_Z: ImGuiKey_ = 21; -pub const ImGuiKey_COUNT: ImGuiKey_ = 22; -pub type ImGuiKey_ = cty::c_uint; -pub const ImGuiKeyModFlags_None: ImGuiKeyModFlags_ = 0; -pub const ImGuiKeyModFlags_Ctrl: ImGuiKeyModFlags_ = 1; -pub const ImGuiKeyModFlags_Shift: ImGuiKeyModFlags_ = 2; -pub const ImGuiKeyModFlags_Alt: ImGuiKeyModFlags_ = 4; -pub const ImGuiKeyModFlags_Super: ImGuiKeyModFlags_ = 8; -pub type ImGuiKeyModFlags_ = cty::c_uint; -pub const ImGuiNavInput_Activate: ImGuiNavInput_ = 0; -pub const ImGuiNavInput_Cancel: ImGuiNavInput_ = 1; -pub const ImGuiNavInput_Input: ImGuiNavInput_ = 2; -pub const ImGuiNavInput_Menu: ImGuiNavInput_ = 3; -pub const ImGuiNavInput_DpadLeft: ImGuiNavInput_ = 4; -pub const ImGuiNavInput_DpadRight: ImGuiNavInput_ = 5; -pub const ImGuiNavInput_DpadUp: ImGuiNavInput_ = 6; -pub const ImGuiNavInput_DpadDown: ImGuiNavInput_ = 7; -pub const ImGuiNavInput_LStickLeft: ImGuiNavInput_ = 8; -pub const ImGuiNavInput_LStickRight: ImGuiNavInput_ = 9; -pub const ImGuiNavInput_LStickUp: ImGuiNavInput_ = 10; -pub const ImGuiNavInput_LStickDown: ImGuiNavInput_ = 11; -pub const ImGuiNavInput_FocusPrev: ImGuiNavInput_ = 12; -pub const ImGuiNavInput_FocusNext: ImGuiNavInput_ = 13; -pub const ImGuiNavInput_TweakSlow: ImGuiNavInput_ = 14; -pub const ImGuiNavInput_TweakFast: ImGuiNavInput_ = 15; -pub const ImGuiNavInput_KeyLeft_: ImGuiNavInput_ = 16; -pub const ImGuiNavInput_KeyRight_: ImGuiNavInput_ = 17; -pub const ImGuiNavInput_KeyUp_: ImGuiNavInput_ = 18; -pub const ImGuiNavInput_KeyDown_: ImGuiNavInput_ = 19; -pub const ImGuiNavInput_COUNT: ImGuiNavInput_ = 20; -pub const ImGuiNavInput_InternalStart_: ImGuiNavInput_ = 16; -pub type ImGuiNavInput_ = cty::c_uint; +pub const ImGuiKey_None: ImGuiKey = 0; +pub const ImGuiKey_Tab: ImGuiKey = 512; +pub const ImGuiKey_LeftArrow: ImGuiKey = 513; +pub const ImGuiKey_RightArrow: ImGuiKey = 514; +pub const ImGuiKey_UpArrow: ImGuiKey = 515; +pub const ImGuiKey_DownArrow: ImGuiKey = 516; +pub const ImGuiKey_PageUp: ImGuiKey = 517; +pub const ImGuiKey_PageDown: ImGuiKey = 518; +pub const ImGuiKey_Home: ImGuiKey = 519; +pub const ImGuiKey_End: ImGuiKey = 520; +pub const ImGuiKey_Insert: ImGuiKey = 521; +pub const ImGuiKey_Delete: ImGuiKey = 522; +pub const ImGuiKey_Backspace: ImGuiKey = 523; +pub const ImGuiKey_Space: ImGuiKey = 524; +pub const ImGuiKey_Enter: ImGuiKey = 525; +pub const ImGuiKey_Escape: ImGuiKey = 526; +pub const ImGuiKey_LeftCtrl: ImGuiKey = 527; +pub const ImGuiKey_LeftShift: ImGuiKey = 528; +pub const ImGuiKey_LeftAlt: ImGuiKey = 529; +pub const ImGuiKey_LeftSuper: ImGuiKey = 530; +pub const ImGuiKey_RightCtrl: ImGuiKey = 531; +pub const ImGuiKey_RightShift: ImGuiKey = 532; +pub const ImGuiKey_RightAlt: ImGuiKey = 533; +pub const ImGuiKey_RightSuper: ImGuiKey = 534; +pub const ImGuiKey_Menu: ImGuiKey = 535; +pub const ImGuiKey_0: ImGuiKey = 536; +pub const ImGuiKey_1: ImGuiKey = 537; +pub const ImGuiKey_2: ImGuiKey = 538; +pub const ImGuiKey_3: ImGuiKey = 539; +pub const ImGuiKey_4: ImGuiKey = 540; +pub const ImGuiKey_5: ImGuiKey = 541; +pub const ImGuiKey_6: ImGuiKey = 542; +pub const ImGuiKey_7: ImGuiKey = 543; +pub const ImGuiKey_8: ImGuiKey = 544; +pub const ImGuiKey_9: ImGuiKey = 545; +pub const ImGuiKey_A: ImGuiKey = 546; +pub const ImGuiKey_B: ImGuiKey = 547; +pub const ImGuiKey_C: ImGuiKey = 548; +pub const ImGuiKey_D: ImGuiKey = 549; +pub const ImGuiKey_E: ImGuiKey = 550; +pub const ImGuiKey_F: ImGuiKey = 551; +pub const ImGuiKey_G: ImGuiKey = 552; +pub const ImGuiKey_H: ImGuiKey = 553; +pub const ImGuiKey_I: ImGuiKey = 554; +pub const ImGuiKey_J: ImGuiKey = 555; +pub const ImGuiKey_K: ImGuiKey = 556; +pub const ImGuiKey_L: ImGuiKey = 557; +pub const ImGuiKey_M: ImGuiKey = 558; +pub const ImGuiKey_N: ImGuiKey = 559; +pub const ImGuiKey_O: ImGuiKey = 560; +pub const ImGuiKey_P: ImGuiKey = 561; +pub const ImGuiKey_Q: ImGuiKey = 562; +pub const ImGuiKey_R: ImGuiKey = 563; +pub const ImGuiKey_S: ImGuiKey = 564; +pub const ImGuiKey_T: ImGuiKey = 565; +pub const ImGuiKey_U: ImGuiKey = 566; +pub const ImGuiKey_V: ImGuiKey = 567; +pub const ImGuiKey_W: ImGuiKey = 568; +pub const ImGuiKey_X: ImGuiKey = 569; +pub const ImGuiKey_Y: ImGuiKey = 570; +pub const ImGuiKey_Z: ImGuiKey = 571; +pub const ImGuiKey_F1: ImGuiKey = 572; +pub const ImGuiKey_F2: ImGuiKey = 573; +pub const ImGuiKey_F3: ImGuiKey = 574; +pub const ImGuiKey_F4: ImGuiKey = 575; +pub const ImGuiKey_F5: ImGuiKey = 576; +pub const ImGuiKey_F6: ImGuiKey = 577; +pub const ImGuiKey_F7: ImGuiKey = 578; +pub const ImGuiKey_F8: ImGuiKey = 579; +pub const ImGuiKey_F9: ImGuiKey = 580; +pub const ImGuiKey_F10: ImGuiKey = 581; +pub const ImGuiKey_F11: ImGuiKey = 582; +pub const ImGuiKey_F12: ImGuiKey = 583; +pub const ImGuiKey_Apostrophe: ImGuiKey = 584; +pub const ImGuiKey_Comma: ImGuiKey = 585; +pub const ImGuiKey_Minus: ImGuiKey = 586; +pub const ImGuiKey_Period: ImGuiKey = 587; +pub const ImGuiKey_Slash: ImGuiKey = 588; +pub const ImGuiKey_Semicolon: ImGuiKey = 589; +pub const ImGuiKey_Equal: ImGuiKey = 590; +pub const ImGuiKey_LeftBracket: ImGuiKey = 591; +pub const ImGuiKey_Backslash: ImGuiKey = 592; +pub const ImGuiKey_RightBracket: ImGuiKey = 593; +pub const ImGuiKey_GraveAccent: ImGuiKey = 594; +pub const ImGuiKey_CapsLock: ImGuiKey = 595; +pub const ImGuiKey_ScrollLock: ImGuiKey = 596; +pub const ImGuiKey_NumLock: ImGuiKey = 597; +pub const ImGuiKey_PrintScreen: ImGuiKey = 598; +pub const ImGuiKey_Pause: ImGuiKey = 599; +pub const ImGuiKey_Keypad0: ImGuiKey = 600; +pub const ImGuiKey_Keypad1: ImGuiKey = 601; +pub const ImGuiKey_Keypad2: ImGuiKey = 602; +pub const ImGuiKey_Keypad3: ImGuiKey = 603; +pub const ImGuiKey_Keypad4: ImGuiKey = 604; +pub const ImGuiKey_Keypad5: ImGuiKey = 605; +pub const ImGuiKey_Keypad6: ImGuiKey = 606; +pub const ImGuiKey_Keypad7: ImGuiKey = 607; +pub const ImGuiKey_Keypad8: ImGuiKey = 608; +pub const ImGuiKey_Keypad9: ImGuiKey = 609; +pub const ImGuiKey_KeypadDecimal: ImGuiKey = 610; +pub const ImGuiKey_KeypadDivide: ImGuiKey = 611; +pub const ImGuiKey_KeypadMultiply: ImGuiKey = 612; +pub const ImGuiKey_KeypadSubtract: ImGuiKey = 613; +pub const ImGuiKey_KeypadAdd: ImGuiKey = 614; +pub const ImGuiKey_KeypadEnter: ImGuiKey = 615; +pub const ImGuiKey_KeypadEqual: ImGuiKey = 616; +pub const ImGuiKey_GamepadStart: ImGuiKey = 617; +pub const ImGuiKey_GamepadBack: ImGuiKey = 618; +pub const ImGuiKey_GamepadFaceLeft: ImGuiKey = 619; +pub const ImGuiKey_GamepadFaceRight: ImGuiKey = 620; +pub const ImGuiKey_GamepadFaceUp: ImGuiKey = 621; +pub const ImGuiKey_GamepadFaceDown: ImGuiKey = 622; +pub const ImGuiKey_GamepadDpadLeft: ImGuiKey = 623; +pub const ImGuiKey_GamepadDpadRight: ImGuiKey = 624; +pub const ImGuiKey_GamepadDpadUp: ImGuiKey = 625; +pub const ImGuiKey_GamepadDpadDown: ImGuiKey = 626; +pub const ImGuiKey_GamepadL1: ImGuiKey = 627; +pub const ImGuiKey_GamepadR1: ImGuiKey = 628; +pub const ImGuiKey_GamepadL2: ImGuiKey = 629; +pub const ImGuiKey_GamepadR2: ImGuiKey = 630; +pub const ImGuiKey_GamepadL3: ImGuiKey = 631; +pub const ImGuiKey_GamepadR3: ImGuiKey = 632; +pub const ImGuiKey_GamepadLStickLeft: ImGuiKey = 633; +pub const ImGuiKey_GamepadLStickRight: ImGuiKey = 634; +pub const ImGuiKey_GamepadLStickUp: ImGuiKey = 635; +pub const ImGuiKey_GamepadLStickDown: ImGuiKey = 636; +pub const ImGuiKey_GamepadRStickLeft: ImGuiKey = 637; +pub const ImGuiKey_GamepadRStickRight: ImGuiKey = 638; +pub const ImGuiKey_GamepadRStickUp: ImGuiKey = 639; +pub const ImGuiKey_GamepadRStickDown: ImGuiKey = 640; +pub const ImGuiKey_MouseLeft: ImGuiKey = 641; +pub const ImGuiKey_MouseRight: ImGuiKey = 642; +pub const ImGuiKey_MouseMiddle: ImGuiKey = 643; +pub const ImGuiKey_MouseX1: ImGuiKey = 644; +pub const ImGuiKey_MouseX2: ImGuiKey = 645; +pub const ImGuiKey_MouseWheelX: ImGuiKey = 646; +pub const ImGuiKey_MouseWheelY: ImGuiKey = 647; +pub const ImGuiKey_ReservedForModCtrl: ImGuiKey = 648; +pub const ImGuiKey_ReservedForModShift: ImGuiKey = 649; +pub const ImGuiKey_ReservedForModAlt: ImGuiKey = 650; +pub const ImGuiKey_ReservedForModSuper: ImGuiKey = 651; +pub const ImGuiKey_COUNT: ImGuiKey = 652; +pub const ImGuiMod_None: ImGuiKey = 0; +pub const ImGuiMod_Ctrl: ImGuiKey = 4096; +pub const ImGuiMod_Shift: ImGuiKey = 8192; +pub const ImGuiMod_Alt: ImGuiKey = 16384; +pub const ImGuiMod_Super: ImGuiKey = 32768; +pub const ImGuiMod_Mask_: ImGuiKey = 61440; +pub const ImGuiMod_Shortcut: ImGuiKey = 4096; +pub const ImGuiKey_NamedKey_BEGIN: ImGuiKey = 512; +pub const ImGuiKey_NamedKey_END: ImGuiKey = 652; +pub const ImGuiKey_NamedKey_COUNT: ImGuiKey = 140; +pub const ImGuiKey_KeysData_SIZE: ImGuiKey = 652; +pub const ImGuiKey_KeysData_OFFSET: ImGuiKey = 0; +pub type ImGuiKey = cty::c_uint; +pub const ImGuiNavInput_Activate: ImGuiNavInput = 0; +pub const ImGuiNavInput_Cancel: ImGuiNavInput = 1; +pub const ImGuiNavInput_Input: ImGuiNavInput = 2; +pub const ImGuiNavInput_Menu: ImGuiNavInput = 3; +pub const ImGuiNavInput_DpadLeft: ImGuiNavInput = 4; +pub const ImGuiNavInput_DpadRight: ImGuiNavInput = 5; +pub const ImGuiNavInput_DpadUp: ImGuiNavInput = 6; +pub const ImGuiNavInput_DpadDown: ImGuiNavInput = 7; +pub const ImGuiNavInput_LStickLeft: ImGuiNavInput = 8; +pub const ImGuiNavInput_LStickRight: ImGuiNavInput = 9; +pub const ImGuiNavInput_LStickUp: ImGuiNavInput = 10; +pub const ImGuiNavInput_LStickDown: ImGuiNavInput = 11; +pub const ImGuiNavInput_FocusPrev: ImGuiNavInput = 12; +pub const ImGuiNavInput_FocusNext: ImGuiNavInput = 13; +pub const ImGuiNavInput_TweakSlow: ImGuiNavInput = 14; +pub const ImGuiNavInput_TweakFast: ImGuiNavInput = 15; +pub const ImGuiNavInput_COUNT: ImGuiNavInput = 16; +pub type ImGuiNavInput = cty::c_uint; pub const ImGuiConfigFlags_None: ImGuiConfigFlags_ = 0; pub const ImGuiConfigFlags_NavEnableKeyboard: ImGuiConfigFlags_ = 1; pub const ImGuiConfigFlags_NavEnableGamepad: ImGuiConfigFlags_ = 2; @@ -962,6 +812,30 @@ impl Default for ImGuiStyle { } } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiKeyData { + pub Down: bool, + pub DownDuration: f32, + pub DownDurationPrev: f32, + pub AnalogValue: f32, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImWchar { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImWchar, +} +impl Default for ImVector_ImWchar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiIO { pub ConfigFlags: ImGuiConfigFlags, @@ -974,9 +848,10 @@ pub struct ImGuiIO { pub MouseDoubleClickTime: f32, pub MouseDoubleClickMaxDist: f32, pub MouseDragThreshold: f32, - pub KeyMap: [cty::c_int; 22usize], pub KeyRepeatDelay: f32, pub KeyRepeatRate: f32, + pub HoverDelayNormal: f32, + pub HoverDelayShort: f32, pub UserData: *mut cty::c_void, pub Fonts: *mut ImFontAtlas, pub FontGlobalScale: f32, @@ -985,7 +860,9 @@ pub struct ImGuiIO { pub DisplayFramebufferScale: ImVec2, pub MouseDrawCursor: bool, pub ConfigMacOSXBehaviors: bool, + pub ConfigInputTrickleEventQueue: bool, pub ConfigInputTextCursorBlink: bool, + pub ConfigInputTextEnterKeepActive: bool, pub ConfigDragClickToInputText: bool, pub ConfigWindowsResizeFromEdges: bool, pub ConfigWindowsMoveFromTitleBarOnly: bool, @@ -1002,19 +879,10 @@ pub struct ImGuiIO { unsafe extern "C" fn(user_data: *mut cty::c_void, text: *const cty::c_char), >, pub ClipboardUserData: *mut cty::c_void, - pub ImeSetInputScreenPosFn: - ::core::option::Option, - pub ImeWindowHandle: *mut cty::c_void, - pub MousePos: ImVec2, - pub MouseDown: [bool; 5usize], - pub MouseWheel: f32, - pub MouseWheelH: f32, - pub KeyCtrl: bool, - pub KeyShift: bool, - pub KeyAlt: bool, - pub KeySuper: bool, - pub KeysDown: [bool; 512usize], - pub NavInputs: [f32; 20usize], + pub SetPlatformImeDataFn: ::core::option::Option< + unsafe extern "C" fn(viewport: *mut ImGuiViewport, data: *mut ImGuiPlatformImeData), + >, + pub _UnusedPadding: *mut cty::c_void, pub WantCaptureMouse: bool, pub WantCaptureKeyboard: bool, pub WantTextInput: bool, @@ -1029,9 +897,20 @@ pub struct ImGuiIO { pub MetricsActiveWindows: cty::c_int, pub MetricsActiveAllocations: cty::c_int, pub MouseDelta: ImVec2, + pub KeyMap: [cty::c_int; 652usize], + pub KeysDown: [bool; 652usize], + pub NavInputs: [f32; 16usize], + pub MousePos: ImVec2, + pub MouseDown: [bool; 5usize], + pub MouseWheel: f32, + pub MouseWheelH: f32, + pub KeyCtrl: bool, + pub KeyShift: bool, + pub KeyAlt: bool, + pub KeySuper: bool, + pub KeyMods: ImGuiKeyChord, + pub KeysData: [ImGuiKeyData; 652usize], pub WantCaptureMouseUnlessPopupClose: bool, - pub KeyMods: ImGuiKeyModFlags, - pub KeyModsPrev: ImGuiKeyModFlags, pub MousePosPrev: ImVec2, pub MouseClickedPos: [ImVec2; 5usize], pub MouseClickedTime: [f64; 5usize], @@ -1044,14 +923,12 @@ pub struct ImGuiIO { pub MouseDownOwnedUnlessPopupClose: [bool; 5usize], pub MouseDownDuration: [f32; 5usize], pub MouseDownDurationPrev: [f32; 5usize], - pub MouseDragMaxDistanceAbs: [ImVec2; 5usize], pub MouseDragMaxDistanceSqr: [f32; 5usize], - pub KeysDownDuration: [f32; 512usize], - pub KeysDownDurationPrev: [f32; 512usize], - pub NavInputsDownDuration: [f32; 20usize], - pub NavInputsDownDurationPrev: [f32; 20usize], pub PenPressure: f32, pub AppFocusLost: bool, + pub AppAcceptingEvents: bool, + pub BackendUsingLegacyKeyArrays: ImS8, + pub BackendUsingLegacyNavInputArray: bool, pub InputQueueSurrogate: ImWchar16, pub InputQueueCharacters: ImVector_ImWchar, } @@ -1199,6 +1076,22 @@ impl Default for ImGuiTextRange { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTextRange { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTextRange, +} +impl Default for ImVector_ImGuiTextRange { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextFilter { pub InputBuf: [cty::c_char; 256usize], pub Filters: ImVector_ImGuiTextRange, @@ -1215,6 +1108,22 @@ impl Default for ImGuiTextFilter { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_char { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_char, +} +impl Default for ImVector_char { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextBuffer { pub Buf: ImVector_char, } @@ -1274,6 +1183,22 @@ impl ::core::fmt::Debug for ImGuiStoragePair { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStoragePair { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStoragePair, +} +impl Default for ImVector_ImGuiStoragePair { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiStorage { pub Data: ImVector_ImGuiStoragePair, } @@ -1310,6 +1235,9 @@ impl Default for ImGuiListClipper { pub struct ImColor { pub Value: ImVec4, } +pub type ImDrawCallback = ::core::option::Option< + unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), +>; #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawCmd { @@ -1355,6 +1283,38 @@ impl Default for ImDrawCmdHeader { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawCmd { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawCmd, +} +impl Default for ImVector_ImDrawCmd { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawIdx { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawIdx, +} +impl Default for ImVector_ImDrawIdx { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawChannel { pub _CmdBuffer: ImVector_ImDrawCmd, pub _IdxBuffer: ImVector_ImDrawIdx, @@ -1370,6 +1330,22 @@ impl Default for ImDrawChannel { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawChannel { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawChannel, +} +impl Default for ImVector_ImDrawChannel { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawListSplitter { pub _Current: cty::c_int, pub _Count: cty::c_int, @@ -1406,6 +1382,70 @@ pub const ImDrawListFlags_AntiAliasedFill: ImDrawListFlags_ = 4; pub const ImDrawListFlags_AllowVtxOffset: ImDrawListFlags_ = 8; pub type ImDrawListFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawVert { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawVert, +} +impl Default for ImVector_ImDrawVert { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec4 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec4, +} +impl Default for ImVector_ImVec4 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImTextureID { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImTextureID, +} +impl Default for ImVector_ImTextureID { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec2 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec2, +} +impl Default for ImVector_ImVec2 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawList { pub CmdBuffer: ImVector_ImDrawCmd, @@ -1413,7 +1453,7 @@ pub struct ImDrawList { pub VtxBuffer: ImVector_ImDrawVert, pub Flags: ImDrawListFlags, pub _VtxCurrentIdx: cty::c_uint, - pub _Data: *const ImDrawListSharedData, + pub _Data: *mut ImDrawListSharedData, pub _OwnerName: *const cty::c_char, pub _VtxWritePtr: *mut ImDrawVert, pub _IdxWritePtr: *mut ImDrawIdx, @@ -1559,6 +1599,22 @@ impl ImFontGlyph { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImU32 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImU32, +} +impl Default for ImVector_ImU32 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImFontGlyphRangesBuilder { pub UsedChars: ImVector_ImU32, } @@ -1598,6 +1654,54 @@ pub const ImFontAtlasFlags_NoMouseCursors: ImFontAtlasFlags_ = 2; pub const ImFontAtlasFlags_NoBakedLines: ImFontAtlasFlags_ = 4; pub type ImFontAtlasFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImFont, +} +impl Default for ImVector_ImFontPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontAtlasCustomRect { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontAtlasCustomRect, +} +impl Default for ImVector_ImFontAtlasCustomRect { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontConfig { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontConfig, +} +impl Default for ImVector_ImFontConfig { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFontAtlas { pub Flags: ImFontAtlasFlags, @@ -1632,6 +1736,38 @@ impl Default for ImFontAtlas { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_float { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut f32, +} +impl Default for ImVector_float { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontGlyph { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontGlyph, +} +impl Default for ImVector_ImFontGlyph { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFont { pub IndexAdvanceX: ImVector_float, @@ -1668,31 +1804,48 @@ pub const ImGuiViewportFlags_IsPlatformMonitor: ImGuiViewportFlags_ = 2; pub const ImGuiViewportFlags_OwnedByApp: ImGuiViewportFlags_ = 4; pub type ImGuiViewportFlags_ = cty::c_uint; #[repr(C)] -#[derive(Debug, Default, Copy, Clone, PartialEq)] +#[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiViewport { pub Flags: ImGuiViewportFlags, pub Pos: ImVec2, pub Size: ImVec2, pub WorkPos: ImVec2, pub WorkSize: ImVec2, + pub PlatformHandleRaw: *mut cty::c_void, +} +impl Default for ImGuiViewport { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiPlatformImeData { + pub WantVisible: bool, + pub InputPos: ImVec2, + pub InputLineHeight: f32, } extern "C" { - pub fn ImVec2_ImVec2Nil() -> *mut ImVec2; + pub fn ImVec2_ImVec2_Nil() -> *mut ImVec2; } extern "C" { pub fn ImVec2_destroy(self_: *mut ImVec2); } extern "C" { - pub fn ImVec2_ImVec2Float(_x: f32, _y: f32) -> *mut ImVec2; + pub fn ImVec2_ImVec2_Float(_x: f32, _y: f32) -> *mut ImVec2; } extern "C" { - pub fn ImVec4_ImVec4Nil() -> *mut ImVec4; + pub fn ImVec4_ImVec4_Nil() -> *mut ImVec4; } extern "C" { pub fn ImVec4_destroy(self_: *mut ImVec4); } extern "C" { - pub fn ImVec4_ImVec4Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; + pub fn ImVec4_ImVec4_Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; } extern "C" { pub fn igCreateContext(shared_font_atlas: *mut ImFontAtlas) -> *mut ImGuiContext; @@ -1730,6 +1883,9 @@ extern "C" { extern "C" { pub fn igShowMetricsWindow(p_open: *mut bool); } +extern "C" { + pub fn igShowDebugLogWindow(p_open: *mut bool); +} extern "C" { pub fn igShowStackToolWindow(p_open: *mut bool); } @@ -1767,7 +1923,7 @@ extern "C" { pub fn igEnd(); } extern "C" { - pub fn igBeginChildStr( + pub fn igBeginChild_Str( str_id: *const cty::c_char, size: ImVec2, border: bool, @@ -1775,8 +1931,12 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igBeginChildID(id: ImGuiID, size: ImVec2, border: bool, flags: ImGuiWindowFlags) - -> bool; + pub fn igBeginChild_ID( + id: ImGuiID, + size: ImVec2, + border: bool, + flags: ImGuiWindowFlags, + ) -> bool; } extern "C" { pub fn igEndChild(); @@ -1831,35 +1991,38 @@ extern "C" { extern "C" { pub fn igSetNextWindowFocus(); } +extern "C" { + pub fn igSetNextWindowScroll(scroll: ImVec2); +} extern "C" { pub fn igSetNextWindowBgAlpha(alpha: f32); } extern "C" { - pub fn igSetWindowPosVec2(pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Vec2(pos: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowSizeVec2(size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Vec2(size: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowCollapsedBool(collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Bool(collapsed: bool, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowFocusNil(); + pub fn igSetWindowFocus_Nil(); } extern "C" { pub fn igSetWindowFontScale(scale: f32); } extern "C" { - pub fn igSetWindowPosStr(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Str(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowSizeStr(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Str(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowCollapsedStr(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Str(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowFocusStr(name: *const cty::c_char); + pub fn igSetWindowFocus_Str(name: *const cty::c_char); } extern "C" { pub fn igGetContentRegionAvail(pOut: *mut ImVec2); @@ -1910,19 +2073,19 @@ extern "C" { pub fn igPopFont(); } extern "C" { - pub fn igPushStyleColorU32(idx: ImGuiCol, col: ImU32); + pub fn igPushStyleColor_U32(idx: ImGuiCol, col: ImU32); } extern "C" { - pub fn igPushStyleColorVec4(idx: ImGuiCol, col: ImVec4); + pub fn igPushStyleColor_Vec4(idx: ImGuiCol, col: ImVec4); } extern "C" { pub fn igPopStyleColor(count: cty::c_int); } extern "C" { - pub fn igPushStyleVarFloat(idx: ImGuiStyleVar, val: f32); + pub fn igPushStyleVar_Float(idx: ImGuiStyleVar, val: f32); } extern "C" { - pub fn igPushStyleVarVec2(idx: ImGuiStyleVar, val: ImVec2); + pub fn igPushStyleVar_Vec2(idx: ImGuiStyleVar, val: ImVec2); } extern "C" { pub fn igPopStyleVar(count: cty::c_int); @@ -1967,13 +2130,13 @@ extern "C" { pub fn igGetFontTexUvWhitePixel(pOut: *mut ImVec2); } extern "C" { - pub fn igGetColorU32Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; + pub fn igGetColorU32_Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; } extern "C" { - pub fn igGetColorU32Vec4(col: ImVec4) -> ImU32; + pub fn igGetColorU32_Vec4(col: ImVec4) -> ImU32; } extern "C" { - pub fn igGetColorU32U32(col: ImU32) -> ImU32; + pub fn igGetColorU32_U32(col: ImU32) -> ImU32; } extern "C" { pub fn igGetStyleColorVec4(idx: ImGuiCol) -> *const ImVec4; @@ -2048,31 +2211,31 @@ extern "C" { pub fn igGetFrameHeightWithSpacing() -> f32; } extern "C" { - pub fn igPushIDStr(str_id: *const cty::c_char); + pub fn igPushID_Str(str_id: *const cty::c_char); } extern "C" { - pub fn igPushIDStrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); + pub fn igPushID_StrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); } extern "C" { - pub fn igPushIDPtr(ptr_id: *const cty::c_void); + pub fn igPushID_Ptr(ptr_id: *const cty::c_void); } extern "C" { - pub fn igPushIDInt(int_id: cty::c_int); + pub fn igPushID_Int(int_id: cty::c_int); } extern "C" { pub fn igPopID(); } extern "C" { - pub fn igGetIDStr(str_id: *const cty::c_char) -> ImGuiID; + pub fn igGetID_Str(str_id: *const cty::c_char) -> ImGuiID; } extern "C" { - pub fn igGetIDStrStr( + pub fn igGetID_StrStr( str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char, ) -> ImGuiID; } extern "C" { - pub fn igGetIDPtr(ptr_id: *const cty::c_void) -> ImGuiID; + pub fn igGetID_Ptr(ptr_id: *const cty::c_void) -> ImGuiID; } extern "C" { pub fn igTextUnformatted(text: *const cty::c_char, text_end: *const cty::c_char); @@ -2111,49 +2274,28 @@ extern "C" { extern "C" { pub fn igArrowButton(str_id: *const cty::c_char, dir: ImGuiDir) -> bool; } -extern "C" { - pub fn igImage( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - tint_col: ImVec4, - border_col: ImVec4, - ); -} -extern "C" { - pub fn igImageButton( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - frame_padding: cty::c_int, - bg_col: ImVec4, - tint_col: ImVec4, - ) -> bool; -} extern "C" { pub fn igCheckbox(label: *const cty::c_char, v: *mut bool) -> bool; } extern "C" { - pub fn igCheckboxFlagsIntPtr( + pub fn igCheckboxFlags_IntPtr( label: *const cty::c_char, flags: *mut cty::c_int, flags_value: cty::c_int, ) -> bool; } extern "C" { - pub fn igCheckboxFlagsUintPtr( + pub fn igCheckboxFlags_UintPtr( label: *const cty::c_char, flags: *mut cty::c_uint, flags_value: cty::c_uint, ) -> bool; } extern "C" { - pub fn igRadioButtonBool(label: *const cty::c_char, active: bool) -> bool; + pub fn igRadioButton_Bool(label: *const cty::c_char, active: bool) -> bool; } extern "C" { - pub fn igRadioButtonIntPtr( + pub fn igRadioButton_IntPtr( label: *const cty::c_char, v: *mut cty::c_int, v_button: cty::c_int, @@ -2165,6 +2307,27 @@ extern "C" { extern "C" { pub fn igBullet(); } +extern "C" { + pub fn igImage( + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + tint_col: ImVec4, + border_col: ImVec4, + ); +} +extern "C" { + pub fn igImageButton( + str_id: *const cty::c_char, + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + bg_col: ImVec4, + tint_col: ImVec4, + ) -> bool; +} extern "C" { pub fn igBeginCombo( label: *const cty::c_char, @@ -2176,7 +2339,7 @@ extern "C" { pub fn igEndCombo(); } extern "C" { - pub fn igComboStr_arr( + pub fn igCombo_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -2185,7 +2348,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igComboStr( + pub fn igCombo_Str( label: *const cty::c_char, current_item: *mut cty::c_int, items_separated_by_zeros: *const cty::c_char, @@ -2193,7 +2356,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igComboFnBoolPtr( + pub fn igCombo_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -2664,19 +2827,19 @@ extern "C" { pub fn igSetColorEditOptions(flags: ImGuiColorEditFlags); } extern "C" { - pub fn igTreeNodeStr(label: *const cty::c_char) -> bool; + pub fn igTreeNode_Str(label: *const cty::c_char) -> bool; } extern "C" { - pub fn igTreeNodeStrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_StrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; } extern "C" { - pub fn igTreeNodePtr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_Ptr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; } extern "C" { - pub fn igTreeNodeExStr(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; + pub fn igTreeNodeEx_Str(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; } extern "C" { - pub fn igTreeNodeExStrStr( + pub fn igTreeNodeEx_StrStr( str_id: *const cty::c_char, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -2684,7 +2847,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igTreeNodeExPtr( + pub fn igTreeNodeEx_Ptr( ptr_id: *const cty::c_void, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -2692,10 +2855,10 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igTreePushStr(str_id: *const cty::c_char); + pub fn igTreePush_Str(str_id: *const cty::c_char); } extern "C" { - pub fn igTreePushPtr(ptr_id: *const cty::c_void); + pub fn igTreePush_Ptr(ptr_id: *const cty::c_void); } extern "C" { pub fn igTreePop(); @@ -2704,13 +2867,13 @@ extern "C" { pub fn igGetTreeNodeToLabelSpacing() -> f32; } extern "C" { - pub fn igCollapsingHeaderTreeNodeFlags( + pub fn igCollapsingHeader_TreeNodeFlags( label: *const cty::c_char, flags: ImGuiTreeNodeFlags, ) -> bool; } extern "C" { - pub fn igCollapsingHeaderBoolPtr( + pub fn igCollapsingHeader_BoolPtr( label: *const cty::c_char, p_visible: *mut bool, flags: ImGuiTreeNodeFlags, @@ -2720,7 +2883,7 @@ extern "C" { pub fn igSetNextItemOpen(is_open: bool, cond: ImGuiCond); } extern "C" { - pub fn igSelectableBool( + pub fn igSelectable_Bool( label: *const cty::c_char, selected: bool, flags: ImGuiSelectableFlags, @@ -2728,7 +2891,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igSelectableBoolPtr( + pub fn igSelectable_BoolPtr( label: *const cty::c_char, p_selected: *mut bool, flags: ImGuiSelectableFlags, @@ -2742,7 +2905,7 @@ extern "C" { pub fn igEndListBox(); } extern "C" { - pub fn igListBoxStr_arr( + pub fn igListBox_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -2751,7 +2914,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igListBoxFnBoolPtr( + pub fn igListBox_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -2767,7 +2930,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igPlotLinesFloatPtr( + pub fn igPlotLines_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -2780,7 +2943,7 @@ extern "C" { ); } extern "C" { - pub fn igPlotLinesFnFloatPtr( + pub fn igPlotLines_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -2795,7 +2958,7 @@ extern "C" { ); } extern "C" { - pub fn igPlotHistogramFloatPtr( + pub fn igPlotHistogram_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -2808,7 +2971,7 @@ extern "C" { ); } extern "C" { - pub fn igPlotHistogramFnFloatPtr( + pub fn igPlotHistogram_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -2823,16 +2986,16 @@ extern "C" { ); } extern "C" { - pub fn igValueBool(prefix: *const cty::c_char, b: bool); + pub fn igValue_Bool(prefix: *const cty::c_char, b: bool); } extern "C" { - pub fn igValueInt(prefix: *const cty::c_char, v: cty::c_int); + pub fn igValue_Int(prefix: *const cty::c_char, v: cty::c_int); } extern "C" { - pub fn igValueUint(prefix: *const cty::c_char, v: cty::c_uint); + pub fn igValue_Uint(prefix: *const cty::c_char, v: cty::c_uint); } extern "C" { - pub fn igValueFloat(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); + pub fn igValue_Float(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); } extern "C" { pub fn igBeginMenuBar() -> bool; @@ -2853,7 +3016,7 @@ extern "C" { pub fn igEndMenu(); } extern "C" { - pub fn igMenuItemBool( + pub fn igMenuItem_Bool( label: *const cty::c_char, shortcut: *const cty::c_char, selected: bool, @@ -2861,7 +3024,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igMenuItemBoolPtr( + pub fn igMenuItem_BoolPtr( label: *const cty::c_char, shortcut: *const cty::c_char, p_selected: *mut bool, @@ -2891,10 +3054,10 @@ extern "C" { pub fn igEndPopup(); } extern "C" { - pub fn igOpenPopupStr(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_Str(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); } extern "C" { - pub fn igOpenPopupID(id: ImGuiID, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags); } extern "C" { pub fn igOpenPopupOnItemClick(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); @@ -3152,10 +3315,16 @@ extern "C" { pub fn igGetMainViewport() -> *mut ImGuiViewport; } extern "C" { - pub fn igIsRectVisibleNil(size: ImVec2) -> bool; + pub fn igGetBackgroundDrawList() -> *mut ImDrawList; } extern "C" { - pub fn igIsRectVisibleVec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; + pub fn igGetForegroundDrawList() -> *mut ImDrawList; +} +extern "C" { + pub fn igIsRectVisible_Nil(size: ImVec2) -> bool; +} +extern "C" { + pub fn igIsRectVisible_Vec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; } extern "C" { pub fn igGetTime() -> f64; @@ -3163,12 +3332,6 @@ extern "C" { extern "C" { pub fn igGetFrameCount() -> cty::c_int; } -extern "C" { - pub fn igGetBackgroundDrawList() -> *mut ImDrawList; -} -extern "C" { - pub fn igGetForegroundDrawList() -> *mut ImDrawList; -} extern "C" { pub fn igGetDrawListSharedData() -> *mut ImDrawListSharedData; } @@ -3223,23 +3386,22 @@ extern "C" { ); } extern "C" { - pub fn igGetKeyIndex(imgui_key: ImGuiKey) -> cty::c_int; + pub fn igIsKeyDown(key: ImGuiKey) -> bool; } extern "C" { - pub fn igIsKeyDown(user_key_index: cty::c_int) -> bool; + pub fn igIsKeyPressed(key: ImGuiKey, repeat: bool) -> bool; } extern "C" { - pub fn igIsKeyPressed(user_key_index: cty::c_int, repeat: bool) -> bool; + pub fn igIsKeyReleased(key: ImGuiKey) -> bool; } extern "C" { - pub fn igIsKeyReleased(user_key_index: cty::c_int) -> bool; + pub fn igGetKeyPressedAmount(key: ImGuiKey, repeat_delay: f32, rate: f32) -> cty::c_int; } extern "C" { - pub fn igGetKeyPressedAmount(key_index: cty::c_int, repeat_delay: f32, rate: f32) - -> cty::c_int; + pub fn igGetKeyName(key: ImGuiKey) -> *const cty::c_char; } extern "C" { - pub fn igCaptureKeyboardFromApp(want_capture_keyboard_value: bool); + pub fn igSetNextFrameWantCaptureKeyboard(want_capture_keyboard: bool); } extern "C" { pub fn igIsMouseDown(button: ImGuiMouseButton) -> bool; @@ -3287,7 +3449,7 @@ extern "C" { pub fn igSetMouseCursor(cursor_type: ImGuiMouseCursor); } extern "C" { - pub fn igCaptureMouseFromApp(want_capture_mouse_value: bool); + pub fn igSetNextFrameWantCaptureMouse(want_capture_mouse: bool); } extern "C" { pub fn igGetClipboardText() -> *const cty::c_char; @@ -3307,6 +3469,9 @@ extern "C" { extern "C" { pub fn igSaveIniSettingsToMemory(out_ini_size: *mut usize) -> *const cty::c_char; } +extern "C" { + pub fn igDebugTextEncoding(text: *const cty::c_char); +} extern "C" { pub fn igDebugCheckVersionAndDataLayout( version_str: *const cty::c_char, @@ -3347,6 +3512,24 @@ extern "C" { extern "C" { pub fn ImGuiStyle_ScaleAllSizes(self_: *mut ImGuiStyle, scale_factor: f32); } +extern "C" { + pub fn ImGuiIO_AddKeyEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool); +} +extern "C" { + pub fn ImGuiIO_AddKeyAnalogEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool, v: f32); +} +extern "C" { + pub fn ImGuiIO_AddMousePosEvent(self_: *mut ImGuiIO, x: f32, y: f32); +} +extern "C" { + pub fn ImGuiIO_AddMouseButtonEvent(self_: *mut ImGuiIO, button: cty::c_int, down: bool); +} +extern "C" { + pub fn ImGuiIO_AddMouseWheelEvent(self_: *mut ImGuiIO, wh_x: f32, wh_y: f32); +} +extern "C" { + pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); +} extern "C" { pub fn ImGuiIO_AddInputCharacter(self_: *mut ImGuiIO, c: cty::c_uint); } @@ -3357,7 +3540,16 @@ extern "C" { pub fn ImGuiIO_AddInputCharactersUTF8(self_: *mut ImGuiIO, str_: *const cty::c_char); } extern "C" { - pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); + pub fn ImGuiIO_SetKeyEventNativeData( + self_: *mut ImGuiIO, + key: ImGuiKey, + native_keycode: cty::c_int, + native_scancode: cty::c_int, + native_legacy_index: cty::c_int, + ); +} +extern "C" { + pub fn ImGuiIO_SetAppAcceptingEvents(self_: *mut ImGuiIO, accepting_events: bool); } extern "C" { pub fn ImGuiIO_ClearInputCharacters(self_: *mut ImGuiIO); @@ -3469,13 +3661,13 @@ extern "C" { pub fn ImGuiTextFilter_IsActive(self_: *mut ImGuiTextFilter) -> bool; } extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeNil() -> *mut ImGuiTextRange; + pub fn ImGuiTextRange_ImGuiTextRange_Nil() -> *mut ImGuiTextRange; } extern "C" { pub fn ImGuiTextRange_destroy(self_: *mut ImGuiTextRange); } extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeStr( + pub fn ImGuiTextRange_ImGuiTextRange_Str( _b: *const cty::c_char, _e: *const cty::c_char, ) -> *mut ImGuiTextRange; @@ -3525,7 +3717,7 @@ extern "C" { ); } extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairInt( + pub fn ImGuiStoragePair_ImGuiStoragePair_Int( _key: ImGuiID, _val_i: cty::c_int, ) -> *mut ImGuiStoragePair; @@ -3534,13 +3726,13 @@ extern "C" { pub fn ImGuiStoragePair_destroy(self_: *mut ImGuiStoragePair); } extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairFloat( + pub fn ImGuiStoragePair_ImGuiStoragePair_Float( _key: ImGuiID, _val_f: f32, ) -> *mut ImGuiStoragePair; } extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairPtr( + pub fn ImGuiStoragePair_ImGuiStoragePair_Ptr( _key: ImGuiID, _val_p: *mut cty::c_void, ) -> *mut ImGuiStoragePair; @@ -3637,13 +3829,19 @@ extern "C" { ); } extern "C" { - pub fn ImColor_ImColorNil() -> *mut ImColor; + pub fn ImColor_ImColor_Nil() -> *mut ImColor; } extern "C" { pub fn ImColor_destroy(self_: *mut ImColor); } extern "C" { - pub fn ImColor_ImColorInt( + pub fn ImColor_ImColor_Float(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; +} +extern "C" { + pub fn ImColor_ImColor_Vec4(col: ImVec4) -> *mut ImColor; +} +extern "C" { + pub fn ImColor_ImColor_Int( r: cty::c_int, g: cty::c_int, b: cty::c_int, @@ -3651,13 +3849,7 @@ extern "C" { ) -> *mut ImColor; } extern "C" { - pub fn ImColor_ImColorU32(rgba: ImU32) -> *mut ImColor; -} -extern "C" { - pub fn ImColor_ImColorFloat(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; -} -extern "C" { - pub fn ImColor_ImColorVec4(col: ImVec4) -> *mut ImColor; + pub fn ImColor_ImColor_U32(rgba: ImU32) -> *mut ImColor; } extern "C" { pub fn ImColor_SetHSV(self_: *mut ImColor, h: f32, s: f32, v: f32, a: f32); @@ -3704,7 +3896,7 @@ extern "C" { ); } extern "C" { - pub fn ImDrawList_ImDrawList(shared_data: *const ImDrawListSharedData) -> *mut ImDrawList; + pub fn ImDrawList_ImDrawList(shared_data: *mut ImDrawListSharedData) -> *mut ImDrawList; } extern "C" { pub fn ImDrawList_destroy(self_: *mut ImDrawList); @@ -3855,7 +4047,7 @@ extern "C" { ); } extern "C" { - pub fn ImDrawList_AddTextVec2( + pub fn ImDrawList_AddText_Vec2( self_: *mut ImDrawList, pos: ImVec2, col: ImU32, @@ -3864,7 +4056,7 @@ extern "C" { ); } extern "C" { - pub fn ImDrawList_AddTextFontPtr( + pub fn ImDrawList_AddText_FontPtr( self_: *mut ImDrawList, font: *const ImFont, font_size: f32, @@ -4305,6 +4497,9 @@ extern "C" { extern "C" { pub fn ImFontAtlas_GetGlyphRangesDefault(self_: *mut ImFontAtlas) -> *const ImWchar; } +extern "C" { + pub fn ImFontAtlas_GetGlyphRangesGreek(self_: *mut ImFontAtlas) -> *const ImWchar; +} extern "C" { pub fn ImFontAtlas_GetGlyphRangesKorean(self_: *mut ImFontAtlas) -> *const ImWchar; } @@ -4486,6 +4681,15 @@ extern "C" { extern "C" { pub fn ImGuiViewport_GetWorkCenter(pOut: *mut ImVec2, self_: *mut ImGuiViewport); } +extern "C" { + pub fn ImGuiPlatformImeData_ImGuiPlatformImeData() -> *mut ImGuiPlatformImeData; +} +extern "C" { + pub fn ImGuiPlatformImeData_destroy(self_: *mut ImGuiPlatformImeData); +} +extern "C" { + pub fn igGetKeyIndex(key: ImGuiKey) -> ImGuiKey; +} extern "C" { pub fn igLogText(fmt: *const cty::c_char, ...); } diff --git a/imgui-sys/src/docking_bindings.rs b/imgui-sys/src/docking_bindings.rs index 6c131a2..2134ff7 100644 --- a/imgui-sys/src/docking_bindings.rs +++ b/imgui-sys/src/docking_bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.59.1 */ +/* automatically generated by rust-bindgen 0.63.0 */ #![allow(nonstandard_style, clippy::all)] @@ -82,8 +82,6 @@ where } } } -pub type __int64_t = cty::c_long; -pub type __uint64_t = cty::c_ulong; pub type __off_t = cty::c_long; pub type __off64_t = cty::c_long; pub type FILE = _IO_FILE; @@ -147,20 +145,34 @@ impl Default for _IO_FILE { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImGuiDockNodeSettings { +pub struct ImGuiDockRequest { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImGuiDockRequest { +pub struct ImGuiDockNodeSettings { _unused: [u8; 0], } +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_const_charPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *const cty::c_char, +} +impl Default for ImVector_const_charPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} pub type ImGuiCol = cty::c_int; pub type ImGuiCond = cty::c_int; pub type ImGuiDataType = cty::c_int; pub type ImGuiDir = cty::c_int; -pub type ImGuiKey = cty::c_int; -pub type ImGuiNavInput = cty::c_int; pub type ImGuiMouseButton = cty::c_int; pub type ImGuiMouseCursor = cty::c_int; pub type ImGuiSortDirection = cty::c_int; @@ -179,7 +191,7 @@ pub type ImGuiDragDropFlags = cty::c_int; pub type ImGuiFocusedFlags = cty::c_int; pub type ImGuiHoveredFlags = cty::c_int; pub type ImGuiInputTextFlags = cty::c_int; -pub type ImGuiKeyModFlags = cty::c_int; +pub type ImGuiKeyChord = cty::c_int; pub type ImGuiPopupFlags = cty::c_int; pub type ImGuiSelectableFlags = cty::c_int; pub type ImGuiSliderFlags = cty::c_int; @@ -200,8 +212,8 @@ pub type ImS16 = cty::c_short; pub type ImU16 = cty::c_ushort; pub type ImS32 = cty::c_int; pub type ImU32 = cty::c_uint; -pub type ImS64 = i64; -pub type ImU64 = u64; +pub type ImS64 = cty::c_longlong; +pub type ImU64 = cty::c_ulonglong; pub type ImWchar16 = cty::c_ushort; pub type ImWchar32 = cty::c_uint; pub type ImWchar = ImWchar32; @@ -216,859 +228,6 @@ pub type ImGuiMemAllocFunc = ::core::option::Option< pub type ImGuiMemFreeFunc = ::core::option::Option< unsafe extern "C" fn(ptr: *mut cty::c_void, user_data: *mut cty::c_void), >; -pub type ImDrawCallback = ::core::option::Option< - unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), ->; -pub type ImGuiDataAuthority = cty::c_int; -pub type ImGuiLayoutType = cty::c_int; -pub type ImGuiActivateFlags = cty::c_int; -pub type ImGuiItemFlags = cty::c_int; -pub type ImGuiItemStatusFlags = cty::c_int; -pub type ImGuiOldColumnFlags = cty::c_int; -pub type ImGuiNavHighlightFlags = cty::c_int; -pub type ImGuiNavDirSourceFlags = cty::c_int; -pub type ImGuiNavMoveFlags = cty::c_int; -pub type ImGuiNextItemDataFlags = cty::c_int; -pub type ImGuiNextWindowDataFlags = cty::c_int; -pub type ImGuiScrollFlags = cty::c_int; -pub type ImGuiSeparatorFlags = cty::c_int; -pub type ImGuiTextFlags = cty::c_int; -pub type ImGuiTooltipFlags = cty::c_int; -pub type ImGuiErrorLogCallback = ::core::option::Option< - unsafe extern "C" fn(user_data: *mut cty::c_void, fmt: *const cty::c_char, ...), ->; -pub type ImFileHandle = *mut FILE; -pub type ImPoolIdx = cty::c_int; -pub type ImGuiContextHookCallback = ::core::option::Option< - unsafe extern "C" fn(ctx: *mut ImGuiContext, hook: *mut ImGuiContextHook), ->; -pub type ImGuiTableColumnIdx = ImS8; -pub type ImGuiTableDrawChannelIdx = ImU8; -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTableSettings { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTableSettings, -} -impl Default for ImVector_ImGuiTableSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImChunkStream_ImGuiTableSettings { - pub Buf: ImVector_ImGuiTableSettings, -} -impl Default for ImChunkStream_ImGuiTableSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiWindowSettings { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiWindowSettings, -} -impl Default for ImVector_ImGuiWindowSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImChunkStream_ImGuiWindowSettings { - pub Buf: ImVector_ImGuiWindowSettings, -} -impl Default for ImChunkStream_ImGuiWindowSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImSpan_ImGuiTableCellData { - pub Data: *mut ImGuiTableCellData, - pub DataEnd: *mut ImGuiTableCellData, -} -impl Default for ImSpan_ImGuiTableCellData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImSpan_ImGuiTableColumn { - pub Data: *mut ImGuiTableColumn, - pub DataEnd: *mut ImGuiTableColumn, -} -impl Default for ImSpan_ImGuiTableColumn { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImSpan_ImGuiTableColumnIdx { - pub Data: *mut ImGuiTableColumnIdx, - pub DataEnd: *mut ImGuiTableColumnIdx, -} -impl Default for ImSpan_ImGuiTableColumnIdx { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawChannel { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawChannel, -} -impl Default for ImVector_ImDrawChannel { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawCmd { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawCmd, -} -impl Default for ImVector_ImDrawCmd { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawIdx { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawIdx, -} -impl Default for ImVector_ImDrawIdx { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawListPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImDrawList, -} -impl Default for ImVector_ImDrawListPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawVert { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawVert, -} -impl Default for ImVector_ImDrawVert { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImFont, -} -impl Default for ImVector_ImFontPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontAtlasCustomRect { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontAtlasCustomRect, -} -impl Default for ImVector_ImFontAtlasCustomRect { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontConfig { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontConfig, -} -impl Default for ImVector_ImFontConfig { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontGlyph { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontGlyph, -} -impl Default for ImVector_ImFontGlyph { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiColorMod { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiColorMod, -} -impl Default for ImVector_ImGuiColorMod { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiContextHook { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiContextHook, -} -impl Default for ImVector_ImGuiContextHook { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiDockNodeSettings { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiDockNodeSettings, -} -impl Default for ImVector_ImGuiDockNodeSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiDockRequest { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiDockRequest, -} -impl Default for ImVector_ImGuiDockRequest { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiGroupData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiGroupData, -} -impl Default for ImVector_ImGuiGroupData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiID { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiID, -} -impl Default for ImVector_ImGuiID { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiItemFlags { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiItemFlags, -} -impl Default for ImVector_ImGuiItemFlags { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiListClipperData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiListClipperData, -} -impl Default for ImVector_ImGuiListClipperData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiListClipperRange { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiListClipperRange, -} -impl Default for ImVector_ImGuiListClipperRange { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiOldColumnData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiOldColumnData, -} -impl Default for ImVector_ImGuiOldColumnData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiOldColumns { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiOldColumns, -} -impl Default for ImVector_ImGuiOldColumns { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiPlatformMonitor { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiPlatformMonitor, -} -impl Default for ImVector_ImGuiPlatformMonitor { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiPopupData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiPopupData, -} -impl Default for ImVector_ImGuiPopupData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiPtrOrIndex { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiPtrOrIndex, -} -impl Default for ImVector_ImGuiPtrOrIndex { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiSettingsHandler { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiSettingsHandler, -} -impl Default for ImVector_ImGuiSettingsHandler { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiShrinkWidthItem { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiShrinkWidthItem, -} -impl Default for ImVector_ImGuiShrinkWidthItem { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStackLevelInfo { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStackLevelInfo, -} -impl Default for ImVector_ImGuiStackLevelInfo { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStoragePair { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStoragePair, -} -impl Default for ImVector_ImGuiStoragePair { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStyleMod { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStyleMod, -} -impl Default for ImVector_ImGuiStyleMod { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTabItem { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTabItem, -} -impl Default for ImVector_ImGuiTabItem { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTableColumnSortSpecs { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTableColumnSortSpecs, -} -impl Default for ImVector_ImGuiTableColumnSortSpecs { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTableTempData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTableTempData, -} -impl Default for ImVector_ImGuiTableTempData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTextRange { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTextRange, -} -impl Default for ImVector_ImGuiTextRange { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiViewportPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImGuiViewport, -} -impl Default for ImVector_ImGuiViewportPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiViewportPPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImGuiViewportP, -} -impl Default for ImVector_ImGuiViewportPPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiWindowPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImGuiWindow, -} -impl Default for ImVector_ImGuiWindowPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiWindowStackData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiWindowStackData, -} -impl Default for ImVector_ImGuiWindowStackData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImTextureID { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImTextureID, -} -impl Default for ImVector_ImTextureID { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImU32 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImU32, -} -impl Default for ImVector_ImU32 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec2 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec2, -} -impl Default for ImVector_ImVec2 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec4 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec4, -} -impl Default for ImVector_ImVec4 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImWchar { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImWchar, -} -impl Default for ImVector_ImWchar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_char { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut cty::c_char, -} -impl Default for ImVector_char { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_const_charPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *const cty::c_char, -} -impl Default for ImVector_const_charPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_float { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut f32, -} -impl Default for ImVector_float { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_unsigned_char { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut cty::c_uchar, -} -impl Default for ImVector_unsigned_char { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImVec2 { @@ -1137,6 +296,7 @@ pub const ImGuiInputTextFlags_NoUndoRedo: ImGuiInputTextFlags_ = 65536; pub const ImGuiInputTextFlags_CharsScientific: ImGuiInputTextFlags_ = 131072; pub const ImGuiInputTextFlags_CallbackResize: ImGuiInputTextFlags_ = 262144; pub const ImGuiInputTextFlags_CallbackEdit: ImGuiInputTextFlags_ = 524288; +pub const ImGuiInputTextFlags_EscapeClearsAll: ImGuiInputTextFlags_ = 1048576; pub type ImGuiInputTextFlags_ = cty::c_uint; pub const ImGuiTreeNodeFlags_None: ImGuiTreeNodeFlags_ = 0; pub const ImGuiTreeNodeFlags_Selected: ImGuiTreeNodeFlags_ = 1; @@ -1297,8 +457,12 @@ pub const ImGuiHoveredFlags_AllowWhenBlockedByPopup: ImGuiHoveredFlags_ = 32; pub const ImGuiHoveredFlags_AllowWhenBlockedByActiveItem: ImGuiHoveredFlags_ = 128; pub const ImGuiHoveredFlags_AllowWhenOverlapped: ImGuiHoveredFlags_ = 256; pub const ImGuiHoveredFlags_AllowWhenDisabled: ImGuiHoveredFlags_ = 512; +pub const ImGuiHoveredFlags_NoNavOverride: ImGuiHoveredFlags_ = 1024; pub const ImGuiHoveredFlags_RectOnly: ImGuiHoveredFlags_ = 416; pub const ImGuiHoveredFlags_RootAndChildWindows: ImGuiHoveredFlags_ = 3; +pub const ImGuiHoveredFlags_DelayNormal: ImGuiHoveredFlags_ = 2048; +pub const ImGuiHoveredFlags_DelayShort: ImGuiHoveredFlags_ = 4096; +pub const ImGuiHoveredFlags_NoSharedDelay: ImGuiHoveredFlags_ = 8192; pub type ImGuiHoveredFlags_ = cty::c_uint; pub const ImGuiDockNodeFlags_None: ImGuiDockNodeFlags_ = 0; pub const ImGuiDockNodeFlags_KeepAliveOnly: ImGuiDockNodeFlags_ = 1; @@ -1343,59 +507,179 @@ pub const ImGuiSortDirection_None: ImGuiSortDirection_ = 0; pub const ImGuiSortDirection_Ascending: ImGuiSortDirection_ = 1; pub const ImGuiSortDirection_Descending: ImGuiSortDirection_ = 2; pub type ImGuiSortDirection_ = cty::c_uint; -pub const ImGuiKey_Tab: ImGuiKey_ = 0; -pub const ImGuiKey_LeftArrow: ImGuiKey_ = 1; -pub const ImGuiKey_RightArrow: ImGuiKey_ = 2; -pub const ImGuiKey_UpArrow: ImGuiKey_ = 3; -pub const ImGuiKey_DownArrow: ImGuiKey_ = 4; -pub const ImGuiKey_PageUp: ImGuiKey_ = 5; -pub const ImGuiKey_PageDown: ImGuiKey_ = 6; -pub const ImGuiKey_Home: ImGuiKey_ = 7; -pub const ImGuiKey_End: ImGuiKey_ = 8; -pub const ImGuiKey_Insert: ImGuiKey_ = 9; -pub const ImGuiKey_Delete: ImGuiKey_ = 10; -pub const ImGuiKey_Backspace: ImGuiKey_ = 11; -pub const ImGuiKey_Space: ImGuiKey_ = 12; -pub const ImGuiKey_Enter: ImGuiKey_ = 13; -pub const ImGuiKey_Escape: ImGuiKey_ = 14; -pub const ImGuiKey_KeyPadEnter: ImGuiKey_ = 15; -pub const ImGuiKey_A: ImGuiKey_ = 16; -pub const ImGuiKey_C: ImGuiKey_ = 17; -pub const ImGuiKey_V: ImGuiKey_ = 18; -pub const ImGuiKey_X: ImGuiKey_ = 19; -pub const ImGuiKey_Y: ImGuiKey_ = 20; -pub const ImGuiKey_Z: ImGuiKey_ = 21; -pub const ImGuiKey_COUNT: ImGuiKey_ = 22; -pub type ImGuiKey_ = cty::c_uint; -pub const ImGuiKeyModFlags_None: ImGuiKeyModFlags_ = 0; -pub const ImGuiKeyModFlags_Ctrl: ImGuiKeyModFlags_ = 1; -pub const ImGuiKeyModFlags_Shift: ImGuiKeyModFlags_ = 2; -pub const ImGuiKeyModFlags_Alt: ImGuiKeyModFlags_ = 4; -pub const ImGuiKeyModFlags_Super: ImGuiKeyModFlags_ = 8; -pub type ImGuiKeyModFlags_ = cty::c_uint; -pub const ImGuiNavInput_Activate: ImGuiNavInput_ = 0; -pub const ImGuiNavInput_Cancel: ImGuiNavInput_ = 1; -pub const ImGuiNavInput_Input: ImGuiNavInput_ = 2; -pub const ImGuiNavInput_Menu: ImGuiNavInput_ = 3; -pub const ImGuiNavInput_DpadLeft: ImGuiNavInput_ = 4; -pub const ImGuiNavInput_DpadRight: ImGuiNavInput_ = 5; -pub const ImGuiNavInput_DpadUp: ImGuiNavInput_ = 6; -pub const ImGuiNavInput_DpadDown: ImGuiNavInput_ = 7; -pub const ImGuiNavInput_LStickLeft: ImGuiNavInput_ = 8; -pub const ImGuiNavInput_LStickRight: ImGuiNavInput_ = 9; -pub const ImGuiNavInput_LStickUp: ImGuiNavInput_ = 10; -pub const ImGuiNavInput_LStickDown: ImGuiNavInput_ = 11; -pub const ImGuiNavInput_FocusPrev: ImGuiNavInput_ = 12; -pub const ImGuiNavInput_FocusNext: ImGuiNavInput_ = 13; -pub const ImGuiNavInput_TweakSlow: ImGuiNavInput_ = 14; -pub const ImGuiNavInput_TweakFast: ImGuiNavInput_ = 15; -pub const ImGuiNavInput_KeyLeft_: ImGuiNavInput_ = 16; -pub const ImGuiNavInput_KeyRight_: ImGuiNavInput_ = 17; -pub const ImGuiNavInput_KeyUp_: ImGuiNavInput_ = 18; -pub const ImGuiNavInput_KeyDown_: ImGuiNavInput_ = 19; -pub const ImGuiNavInput_COUNT: ImGuiNavInput_ = 20; -pub const ImGuiNavInput_InternalStart_: ImGuiNavInput_ = 16; -pub type ImGuiNavInput_ = cty::c_uint; +pub const ImGuiKey_None: ImGuiKey = 0; +pub const ImGuiKey_Tab: ImGuiKey = 512; +pub const ImGuiKey_LeftArrow: ImGuiKey = 513; +pub const ImGuiKey_RightArrow: ImGuiKey = 514; +pub const ImGuiKey_UpArrow: ImGuiKey = 515; +pub const ImGuiKey_DownArrow: ImGuiKey = 516; +pub const ImGuiKey_PageUp: ImGuiKey = 517; +pub const ImGuiKey_PageDown: ImGuiKey = 518; +pub const ImGuiKey_Home: ImGuiKey = 519; +pub const ImGuiKey_End: ImGuiKey = 520; +pub const ImGuiKey_Insert: ImGuiKey = 521; +pub const ImGuiKey_Delete: ImGuiKey = 522; +pub const ImGuiKey_Backspace: ImGuiKey = 523; +pub const ImGuiKey_Space: ImGuiKey = 524; +pub const ImGuiKey_Enter: ImGuiKey = 525; +pub const ImGuiKey_Escape: ImGuiKey = 526; +pub const ImGuiKey_LeftCtrl: ImGuiKey = 527; +pub const ImGuiKey_LeftShift: ImGuiKey = 528; +pub const ImGuiKey_LeftAlt: ImGuiKey = 529; +pub const ImGuiKey_LeftSuper: ImGuiKey = 530; +pub const ImGuiKey_RightCtrl: ImGuiKey = 531; +pub const ImGuiKey_RightShift: ImGuiKey = 532; +pub const ImGuiKey_RightAlt: ImGuiKey = 533; +pub const ImGuiKey_RightSuper: ImGuiKey = 534; +pub const ImGuiKey_Menu: ImGuiKey = 535; +pub const ImGuiKey_0: ImGuiKey = 536; +pub const ImGuiKey_1: ImGuiKey = 537; +pub const ImGuiKey_2: ImGuiKey = 538; +pub const ImGuiKey_3: ImGuiKey = 539; +pub const ImGuiKey_4: ImGuiKey = 540; +pub const ImGuiKey_5: ImGuiKey = 541; +pub const ImGuiKey_6: ImGuiKey = 542; +pub const ImGuiKey_7: ImGuiKey = 543; +pub const ImGuiKey_8: ImGuiKey = 544; +pub const ImGuiKey_9: ImGuiKey = 545; +pub const ImGuiKey_A: ImGuiKey = 546; +pub const ImGuiKey_B: ImGuiKey = 547; +pub const ImGuiKey_C: ImGuiKey = 548; +pub const ImGuiKey_D: ImGuiKey = 549; +pub const ImGuiKey_E: ImGuiKey = 550; +pub const ImGuiKey_F: ImGuiKey = 551; +pub const ImGuiKey_G: ImGuiKey = 552; +pub const ImGuiKey_H: ImGuiKey = 553; +pub const ImGuiKey_I: ImGuiKey = 554; +pub const ImGuiKey_J: ImGuiKey = 555; +pub const ImGuiKey_K: ImGuiKey = 556; +pub const ImGuiKey_L: ImGuiKey = 557; +pub const ImGuiKey_M: ImGuiKey = 558; +pub const ImGuiKey_N: ImGuiKey = 559; +pub const ImGuiKey_O: ImGuiKey = 560; +pub const ImGuiKey_P: ImGuiKey = 561; +pub const ImGuiKey_Q: ImGuiKey = 562; +pub const ImGuiKey_R: ImGuiKey = 563; +pub const ImGuiKey_S: ImGuiKey = 564; +pub const ImGuiKey_T: ImGuiKey = 565; +pub const ImGuiKey_U: ImGuiKey = 566; +pub const ImGuiKey_V: ImGuiKey = 567; +pub const ImGuiKey_W: ImGuiKey = 568; +pub const ImGuiKey_X: ImGuiKey = 569; +pub const ImGuiKey_Y: ImGuiKey = 570; +pub const ImGuiKey_Z: ImGuiKey = 571; +pub const ImGuiKey_F1: ImGuiKey = 572; +pub const ImGuiKey_F2: ImGuiKey = 573; +pub const ImGuiKey_F3: ImGuiKey = 574; +pub const ImGuiKey_F4: ImGuiKey = 575; +pub const ImGuiKey_F5: ImGuiKey = 576; +pub const ImGuiKey_F6: ImGuiKey = 577; +pub const ImGuiKey_F7: ImGuiKey = 578; +pub const ImGuiKey_F8: ImGuiKey = 579; +pub const ImGuiKey_F9: ImGuiKey = 580; +pub const ImGuiKey_F10: ImGuiKey = 581; +pub const ImGuiKey_F11: ImGuiKey = 582; +pub const ImGuiKey_F12: ImGuiKey = 583; +pub const ImGuiKey_Apostrophe: ImGuiKey = 584; +pub const ImGuiKey_Comma: ImGuiKey = 585; +pub const ImGuiKey_Minus: ImGuiKey = 586; +pub const ImGuiKey_Period: ImGuiKey = 587; +pub const ImGuiKey_Slash: ImGuiKey = 588; +pub const ImGuiKey_Semicolon: ImGuiKey = 589; +pub const ImGuiKey_Equal: ImGuiKey = 590; +pub const ImGuiKey_LeftBracket: ImGuiKey = 591; +pub const ImGuiKey_Backslash: ImGuiKey = 592; +pub const ImGuiKey_RightBracket: ImGuiKey = 593; +pub const ImGuiKey_GraveAccent: ImGuiKey = 594; +pub const ImGuiKey_CapsLock: ImGuiKey = 595; +pub const ImGuiKey_ScrollLock: ImGuiKey = 596; +pub const ImGuiKey_NumLock: ImGuiKey = 597; +pub const ImGuiKey_PrintScreen: ImGuiKey = 598; +pub const ImGuiKey_Pause: ImGuiKey = 599; +pub const ImGuiKey_Keypad0: ImGuiKey = 600; +pub const ImGuiKey_Keypad1: ImGuiKey = 601; +pub const ImGuiKey_Keypad2: ImGuiKey = 602; +pub const ImGuiKey_Keypad3: ImGuiKey = 603; +pub const ImGuiKey_Keypad4: ImGuiKey = 604; +pub const ImGuiKey_Keypad5: ImGuiKey = 605; +pub const ImGuiKey_Keypad6: ImGuiKey = 606; +pub const ImGuiKey_Keypad7: ImGuiKey = 607; +pub const ImGuiKey_Keypad8: ImGuiKey = 608; +pub const ImGuiKey_Keypad9: ImGuiKey = 609; +pub const ImGuiKey_KeypadDecimal: ImGuiKey = 610; +pub const ImGuiKey_KeypadDivide: ImGuiKey = 611; +pub const ImGuiKey_KeypadMultiply: ImGuiKey = 612; +pub const ImGuiKey_KeypadSubtract: ImGuiKey = 613; +pub const ImGuiKey_KeypadAdd: ImGuiKey = 614; +pub const ImGuiKey_KeypadEnter: ImGuiKey = 615; +pub const ImGuiKey_KeypadEqual: ImGuiKey = 616; +pub const ImGuiKey_GamepadStart: ImGuiKey = 617; +pub const ImGuiKey_GamepadBack: ImGuiKey = 618; +pub const ImGuiKey_GamepadFaceLeft: ImGuiKey = 619; +pub const ImGuiKey_GamepadFaceRight: ImGuiKey = 620; +pub const ImGuiKey_GamepadFaceUp: ImGuiKey = 621; +pub const ImGuiKey_GamepadFaceDown: ImGuiKey = 622; +pub const ImGuiKey_GamepadDpadLeft: ImGuiKey = 623; +pub const ImGuiKey_GamepadDpadRight: ImGuiKey = 624; +pub const ImGuiKey_GamepadDpadUp: ImGuiKey = 625; +pub const ImGuiKey_GamepadDpadDown: ImGuiKey = 626; +pub const ImGuiKey_GamepadL1: ImGuiKey = 627; +pub const ImGuiKey_GamepadR1: ImGuiKey = 628; +pub const ImGuiKey_GamepadL2: ImGuiKey = 629; +pub const ImGuiKey_GamepadR2: ImGuiKey = 630; +pub const ImGuiKey_GamepadL3: ImGuiKey = 631; +pub const ImGuiKey_GamepadR3: ImGuiKey = 632; +pub const ImGuiKey_GamepadLStickLeft: ImGuiKey = 633; +pub const ImGuiKey_GamepadLStickRight: ImGuiKey = 634; +pub const ImGuiKey_GamepadLStickUp: ImGuiKey = 635; +pub const ImGuiKey_GamepadLStickDown: ImGuiKey = 636; +pub const ImGuiKey_GamepadRStickLeft: ImGuiKey = 637; +pub const ImGuiKey_GamepadRStickRight: ImGuiKey = 638; +pub const ImGuiKey_GamepadRStickUp: ImGuiKey = 639; +pub const ImGuiKey_GamepadRStickDown: ImGuiKey = 640; +pub const ImGuiKey_MouseLeft: ImGuiKey = 641; +pub const ImGuiKey_MouseRight: ImGuiKey = 642; +pub const ImGuiKey_MouseMiddle: ImGuiKey = 643; +pub const ImGuiKey_MouseX1: ImGuiKey = 644; +pub const ImGuiKey_MouseX2: ImGuiKey = 645; +pub const ImGuiKey_MouseWheelX: ImGuiKey = 646; +pub const ImGuiKey_MouseWheelY: ImGuiKey = 647; +pub const ImGuiKey_ReservedForModCtrl: ImGuiKey = 648; +pub const ImGuiKey_ReservedForModShift: ImGuiKey = 649; +pub const ImGuiKey_ReservedForModAlt: ImGuiKey = 650; +pub const ImGuiKey_ReservedForModSuper: ImGuiKey = 651; +pub const ImGuiKey_COUNT: ImGuiKey = 652; +pub const ImGuiMod_None: ImGuiKey = 0; +pub const ImGuiMod_Ctrl: ImGuiKey = 4096; +pub const ImGuiMod_Shift: ImGuiKey = 8192; +pub const ImGuiMod_Alt: ImGuiKey = 16384; +pub const ImGuiMod_Super: ImGuiKey = 32768; +pub const ImGuiMod_Mask_: ImGuiKey = 61440; +pub const ImGuiMod_Shortcut: ImGuiKey = 4096; +pub const ImGuiKey_NamedKey_BEGIN: ImGuiKey = 512; +pub const ImGuiKey_NamedKey_END: ImGuiKey = 652; +pub const ImGuiKey_NamedKey_COUNT: ImGuiKey = 140; +pub const ImGuiKey_KeysData_SIZE: ImGuiKey = 652; +pub const ImGuiKey_KeysData_OFFSET: ImGuiKey = 0; +pub type ImGuiKey = cty::c_uint; +pub const ImGuiNavInput_Activate: ImGuiNavInput = 0; +pub const ImGuiNavInput_Cancel: ImGuiNavInput = 1; +pub const ImGuiNavInput_Input: ImGuiNavInput = 2; +pub const ImGuiNavInput_Menu: ImGuiNavInput = 3; +pub const ImGuiNavInput_DpadLeft: ImGuiNavInput = 4; +pub const ImGuiNavInput_DpadRight: ImGuiNavInput = 5; +pub const ImGuiNavInput_DpadUp: ImGuiNavInput = 6; +pub const ImGuiNavInput_DpadDown: ImGuiNavInput = 7; +pub const ImGuiNavInput_LStickLeft: ImGuiNavInput = 8; +pub const ImGuiNavInput_LStickRight: ImGuiNavInput = 9; +pub const ImGuiNavInput_LStickUp: ImGuiNavInput = 10; +pub const ImGuiNavInput_LStickDown: ImGuiNavInput = 11; +pub const ImGuiNavInput_FocusPrev: ImGuiNavInput = 12; +pub const ImGuiNavInput_FocusNext: ImGuiNavInput = 13; +pub const ImGuiNavInput_TweakSlow: ImGuiNavInput = 14; +pub const ImGuiNavInput_TweakFast: ImGuiNavInput = 15; +pub const ImGuiNavInput_COUNT: ImGuiNavInput = 16; +pub type ImGuiNavInput = cty::c_uint; pub const ImGuiConfigFlags_None: ImGuiConfigFlags_ = 0; pub const ImGuiConfigFlags_NavEnableKeyboard: ImGuiConfigFlags_ = 1; pub const ImGuiConfigFlags_NavEnableGamepad: ImGuiConfigFlags_ = 2; @@ -1625,6 +909,30 @@ impl Default for ImGuiStyle { } } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiKeyData { + pub Down: bool, + pub DownDuration: f32, + pub DownDurationPrev: f32, + pub AnalogValue: f32, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImWchar { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImWchar, +} +impl Default for ImVector_ImWchar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiIO { pub ConfigFlags: ImGuiConfigFlags, @@ -1637,9 +945,10 @@ pub struct ImGuiIO { pub MouseDoubleClickTime: f32, pub MouseDoubleClickMaxDist: f32, pub MouseDragThreshold: f32, - pub KeyMap: [cty::c_int; 22usize], pub KeyRepeatDelay: f32, pub KeyRepeatRate: f32, + pub HoverDelayNormal: f32, + pub HoverDelayShort: f32, pub UserData: *mut cty::c_void, pub Fonts: *mut ImFontAtlas, pub FontGlobalScale: f32, @@ -1656,7 +965,9 @@ pub struct ImGuiIO { pub ConfigViewportsNoDefaultParent: bool, pub MouseDrawCursor: bool, pub ConfigMacOSXBehaviors: bool, + pub ConfigInputTrickleEventQueue: bool, pub ConfigInputTextCursorBlink: bool, + pub ConfigInputTextEnterKeepActive: bool, pub ConfigDragClickToInputText: bool, pub ConfigWindowsResizeFromEdges: bool, pub ConfigWindowsMoveFromTitleBarOnly: bool, @@ -1673,17 +984,10 @@ pub struct ImGuiIO { unsafe extern "C" fn(user_data: *mut cty::c_void, text: *const cty::c_char), >, pub ClipboardUserData: *mut cty::c_void, - pub MousePos: ImVec2, - pub MouseDown: [bool; 5usize], - pub MouseWheel: f32, - pub MouseWheelH: f32, - pub MouseHoveredViewport: ImGuiID, - pub KeyCtrl: bool, - pub KeyShift: bool, - pub KeyAlt: bool, - pub KeySuper: bool, - pub KeysDown: [bool; 512usize], - pub NavInputs: [f32; 20usize], + pub SetPlatformImeDataFn: ::core::option::Option< + unsafe extern "C" fn(viewport: *mut ImGuiViewport, data: *mut ImGuiPlatformImeData), + >, + pub _UnusedPadding: *mut cty::c_void, pub WantCaptureMouse: bool, pub WantCaptureKeyboard: bool, pub WantTextInput: bool, @@ -1698,9 +1002,21 @@ pub struct ImGuiIO { pub MetricsActiveWindows: cty::c_int, pub MetricsActiveAllocations: cty::c_int, pub MouseDelta: ImVec2, + pub KeyMap: [cty::c_int; 652usize], + pub KeysDown: [bool; 652usize], + pub NavInputs: [f32; 16usize], + pub MousePos: ImVec2, + pub MouseDown: [bool; 5usize], + pub MouseWheel: f32, + pub MouseWheelH: f32, + pub MouseHoveredViewport: ImGuiID, + pub KeyCtrl: bool, + pub KeyShift: bool, + pub KeyAlt: bool, + pub KeySuper: bool, + pub KeyMods: ImGuiKeyChord, + pub KeysData: [ImGuiKeyData; 652usize], pub WantCaptureMouseUnlessPopupClose: bool, - pub KeyMods: ImGuiKeyModFlags, - pub KeyModsPrev: ImGuiKeyModFlags, pub MousePosPrev: ImVec2, pub MouseClickedPos: [ImVec2; 5usize], pub MouseClickedTime: [f64; 5usize], @@ -1715,12 +1031,11 @@ pub struct ImGuiIO { pub MouseDownDurationPrev: [f32; 5usize], pub MouseDragMaxDistanceAbs: [ImVec2; 5usize], pub MouseDragMaxDistanceSqr: [f32; 5usize], - pub KeysDownDuration: [f32; 512usize], - pub KeysDownDurationPrev: [f32; 512usize], - pub NavInputsDownDuration: [f32; 20usize], - pub NavInputsDownDurationPrev: [f32; 20usize], pub PenPressure: f32, pub AppFocusLost: bool, + pub AppAcceptingEvents: bool, + pub BackendUsingLegacyKeyArrays: ImS8, + pub BackendUsingLegacyNavInputArray: bool, pub InputQueueSurrogate: ImWchar16, pub InputQueueCharacters: ImVector_ImWchar, } @@ -1880,6 +1195,22 @@ impl Default for ImGuiTextRange { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTextRange { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTextRange, +} +impl Default for ImVector_ImGuiTextRange { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextFilter { pub InputBuf: [cty::c_char; 256usize], pub Filters: ImVector_ImGuiTextRange, @@ -1896,6 +1227,22 @@ impl Default for ImGuiTextFilter { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_char { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_char, +} +impl Default for ImVector_char { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextBuffer { pub Buf: ImVector_char, } @@ -1955,6 +1302,22 @@ impl ::core::fmt::Debug for ImGuiStoragePair { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStoragePair { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStoragePair, +} +impl Default for ImVector_ImGuiStoragePair { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiStorage { pub Data: ImVector_ImGuiStoragePair, } @@ -1968,70 +1331,6 @@ impl Default for ImGuiStorage { } } #[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTabBar { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTabBar, -} -impl Default for ImVector_ImGuiTabBar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImPool_ImGuiTabBar { - pub Buf: ImVector_ImGuiTabBar, - pub Map: ImGuiStorage, - pub FreeIdx: ImPoolIdx, -} -impl Default for ImPool_ImGuiTabBar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTable { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTable, -} -impl Default for ImVector_ImGuiTable { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImPool_ImGuiTable { - pub Buf: ImVector_ImGuiTable, - pub Map: ImGuiStorage, - pub FreeIdx: ImPoolIdx, -} -impl Default for ImPool_ImGuiTable { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiListClipper { pub DisplayStart: cty::c_int, @@ -2055,6 +1354,9 @@ impl Default for ImGuiListClipper { pub struct ImColor { pub Value: ImVec4, } +pub type ImDrawCallback = ::core::option::Option< + unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), +>; #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawCmd { @@ -2100,6 +1402,38 @@ impl Default for ImDrawCmdHeader { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawCmd { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawCmd, +} +impl Default for ImVector_ImDrawCmd { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawIdx { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawIdx, +} +impl Default for ImVector_ImDrawIdx { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawChannel { pub _CmdBuffer: ImVector_ImDrawCmd, pub _IdxBuffer: ImVector_ImDrawIdx, @@ -2115,6 +1449,22 @@ impl Default for ImDrawChannel { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawChannel { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawChannel, +} +impl Default for ImVector_ImDrawChannel { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawListSplitter { pub _Current: cty::c_int, pub _Count: cty::c_int, @@ -2151,6 +1501,70 @@ pub const ImDrawListFlags_AntiAliasedFill: ImDrawListFlags_ = 4; pub const ImDrawListFlags_AllowVtxOffset: ImDrawListFlags_ = 8; pub type ImDrawListFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawVert { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawVert, +} +impl Default for ImVector_ImDrawVert { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec4 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec4, +} +impl Default for ImVector_ImVec4 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImTextureID { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImTextureID, +} +impl Default for ImVector_ImTextureID { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec2 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec2, +} +impl Default for ImVector_ImVec2 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawList { pub CmdBuffer: ImVector_ImDrawCmd, @@ -2158,7 +1572,7 @@ pub struct ImDrawList { pub VtxBuffer: ImVector_ImDrawVert, pub Flags: ImDrawListFlags, pub _VtxCurrentIdx: cty::c_uint, - pub _Data: *const ImDrawListSharedData, + pub _Data: *mut ImDrawListSharedData, pub _OwnerName: *const cty::c_char, pub _VtxWritePtr: *mut ImDrawVert, pub _IdxWritePtr: *mut ImDrawIdx, @@ -2305,6 +1719,22 @@ impl ImFontGlyph { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImU32 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImU32, +} +impl Default for ImVector_ImU32 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImFontGlyphRangesBuilder { pub UsedChars: ImVector_ImU32, } @@ -2344,6 +1774,54 @@ pub const ImFontAtlasFlags_NoMouseCursors: ImFontAtlasFlags_ = 2; pub const ImFontAtlasFlags_NoBakedLines: ImFontAtlasFlags_ = 4; pub type ImFontAtlasFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImFont, +} +impl Default for ImVector_ImFontPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontAtlasCustomRect { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontAtlasCustomRect, +} +impl Default for ImVector_ImFontAtlasCustomRect { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontConfig { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontConfig, +} +impl Default for ImVector_ImFontConfig { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFontAtlas { pub Flags: ImFontAtlasFlags, @@ -2378,6 +1856,38 @@ impl Default for ImFontAtlas { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_float { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut f32, +} +impl Default for ImVector_float { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontGlyph { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontGlyph, +} +impl Default for ImVector_ImFontGlyph { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFont { pub IndexAdvanceX: ImVector_float, @@ -2439,6 +1949,7 @@ pub struct ImGuiViewport { pub PlatformUserData: *mut cty::c_void, pub PlatformHandle: *mut cty::c_void, pub PlatformHandleRaw: *mut cty::c_void, + pub PlatformWindowCreated: bool, pub PlatformRequestMove: bool, pub PlatformRequestResize: bool, pub PlatformRequestClose: bool, @@ -2454,6 +1965,38 @@ impl Default for ImGuiViewport { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiPlatformMonitor { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiPlatformMonitor, +} +impl Default for ImVector_ImGuiPlatformMonitor { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiViewportPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImGuiViewport, +} +impl Default for ImVector_ImGuiViewportPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiPlatformIO { pub Platform_CreateWindow: ::core::option::Option, pub Platform_DestroyWindow: @@ -2489,8 +2032,6 @@ pub struct ImGuiPlatformIO { ::core::option::Option f32>, pub Platform_OnChangedViewport: ::core::option::Option, - pub Platform_SetImeInputPos: - ::core::option::Option, pub Platform_CreateVkSurface: ::core::option::Option< unsafe extern "C" fn( vp: *mut ImGuiViewport, @@ -2532,6 +2073,32 @@ pub struct ImGuiPlatformMonitor { pub DpiScale: f32, } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiPlatformImeData { + pub WantVisible: bool, + pub InputPos: ImVec2, + pub InputLineHeight: f32, +} +pub type ImGuiDataAuthority = cty::c_int; +pub type ImGuiLayoutType = cty::c_int; +pub type ImGuiActivateFlags = cty::c_int; +pub type ImGuiDebugLogFlags = cty::c_int; +pub type ImGuiInputFlags = cty::c_int; +pub type ImGuiItemFlags = cty::c_int; +pub type ImGuiItemStatusFlags = cty::c_int; +pub type ImGuiOldColumnFlags = cty::c_int; +pub type ImGuiNavHighlightFlags = cty::c_int; +pub type ImGuiNavMoveFlags = cty::c_int; +pub type ImGuiNextItemDataFlags = cty::c_int; +pub type ImGuiNextWindowDataFlags = cty::c_int; +pub type ImGuiScrollFlags = cty::c_int; +pub type ImGuiSeparatorFlags = cty::c_int; +pub type ImGuiTextFlags = cty::c_int; +pub type ImGuiTooltipFlags = cty::c_int; +pub type ImGuiErrorLogCallback = ::core::option::Option< + unsafe extern "C" fn(user_data: *mut cty::c_void, fmt: *const cty::c_char, ...), +>; +#[repr(C)] #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] pub struct StbUndoRecord { pub where_: cty::c_int, @@ -2595,6 +2162,7 @@ pub struct StbTexteditRow { pub ymax: f32, pub num_chars: cty::c_int, } +pub type ImFileHandle = *mut FILE; #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImVec1 { @@ -2626,6 +2194,38 @@ impl Default for ImBitVector { } } } +pub type ImPoolIdx = cty::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_int { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_int, +} +impl Default for ImVector_int { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiTextIndex { + pub LineOffsets: ImVector_int, + pub EndOffset: cty::c_int, +} +impl Default for ImGuiTextIndex { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawListSharedData { @@ -2636,6 +2236,7 @@ pub struct ImDrawListSharedData { pub CircleSegmentMaxError: f32, pub ClipRectFullscreen: ImVec4, pub InitialFlags: ImDrawListFlags, + pub TempBuffer: ImVector_ImVec2, pub ArcFastVtx: [ImVec2; 48usize], pub ArcFastRadiusCutoff: f32, pub CircleSegmentCounts: [ImU8; 64usize], @@ -2652,6 +2253,22 @@ impl Default for ImDrawListSharedData { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawListPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImDrawList, +} +impl Default for ImVector_ImDrawListPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawDataBuilder { pub Layers: [ImVector_ImDrawListPtr; 2usize], } @@ -2673,7 +2290,8 @@ pub const ImGuiItemFlags_NoNavDefaultFocus: ImGuiItemFlags_ = 16; pub const ImGuiItemFlags_SelectableDontClosePopup: ImGuiItemFlags_ = 32; pub const ImGuiItemFlags_MixedValue: ImGuiItemFlags_ = 64; pub const ImGuiItemFlags_ReadOnly: ImGuiItemFlags_ = 128; -pub const ImGuiItemFlags_Inputable: ImGuiItemFlags_ = 256; +pub const ImGuiItemFlags_NoWindowHoverableCheck: ImGuiItemFlags_ = 256; +pub const ImGuiItemFlags_Inputable: ImGuiItemFlags_ = 1024; pub type ImGuiItemFlags_ = cty::c_uint; pub const ImGuiItemStatusFlags_None: ImGuiItemStatusFlags_ = 0; pub const ImGuiItemStatusFlags_HoveredRect: ImGuiItemStatusFlags_ = 1; @@ -2685,6 +2303,7 @@ pub const ImGuiItemStatusFlags_HasDeactivated: ImGuiItemStatusFlags_ = 32; pub const ImGuiItemStatusFlags_Deactivated: ImGuiItemStatusFlags_ = 64; pub const ImGuiItemStatusFlags_HoveredWindow: ImGuiItemStatusFlags_ = 128; pub const ImGuiItemStatusFlags_FocusedByTabbing: ImGuiItemStatusFlags_ = 256; +pub const ImGuiItemStatusFlags_Visible: ImGuiItemStatusFlags_ = 512; pub type ImGuiItemStatusFlags_ = cty::c_uint; pub const ImGuiInputTextFlags_Multiline: ImGuiInputTextFlagsPrivate_ = 67108864; pub const ImGuiInputTextFlags_NoMarkEdited: ImGuiInputTextFlagsPrivate_ = 134217728; @@ -2705,6 +2324,8 @@ pub const ImGuiButtonFlags_NoKeyModifiers: ImGuiButtonFlagsPrivate_ = 65536; pub const ImGuiButtonFlags_NoHoldingActiveId: ImGuiButtonFlagsPrivate_ = 131072; pub const ImGuiButtonFlags_NoNavFocus: ImGuiButtonFlagsPrivate_ = 262144; pub const ImGuiButtonFlags_NoHoveredOnFocus: ImGuiButtonFlagsPrivate_ = 524288; +pub const ImGuiButtonFlags_NoSetKeyOwner: ImGuiButtonFlagsPrivate_ = 1048576; +pub const ImGuiButtonFlags_NoTestKeyOwner: ImGuiButtonFlagsPrivate_ = 2097152; pub const ImGuiButtonFlags_PressedOnMask_: ImGuiButtonFlagsPrivate_ = 1008; pub const ImGuiButtonFlags_PressedOnDefault_: ImGuiButtonFlagsPrivate_ = 32; pub type ImGuiButtonFlagsPrivate_ = cty::c_uint; @@ -2721,6 +2342,7 @@ pub const ImGuiSelectableFlags_SpanAvailWidth: ImGuiSelectableFlagsPrivate_ = 16 pub const ImGuiSelectableFlags_DrawHoveredWhenHeld: ImGuiSelectableFlagsPrivate_ = 33554432; pub const ImGuiSelectableFlags_SetNavIdOnHover: ImGuiSelectableFlagsPrivate_ = 67108864; pub const ImGuiSelectableFlags_NoPadWithHalfSpacing: ImGuiSelectableFlagsPrivate_ = 134217728; +pub const ImGuiSelectableFlags_NoSetKeyOwner: ImGuiSelectableFlagsPrivate_ = 268435456; pub type ImGuiSelectableFlagsPrivate_ = cty::c_uint; pub const ImGuiTreeNodeFlags_ClipLabelForTrailingButton: ImGuiTreeNodeFlagsPrivate_ = 1048576; pub type ImGuiTreeNodeFlagsPrivate_ = cty::c_uint; @@ -2751,21 +2373,6 @@ pub type ImGuiAxis = cty::c_int; pub const ImGuiPlotType_Lines: ImGuiPlotType = 0; pub const ImGuiPlotType_Histogram: ImGuiPlotType = 1; pub type ImGuiPlotType = cty::c_uint; -pub const ImGuiInputSource_None: ImGuiInputSource = 0; -pub const ImGuiInputSource_Mouse: ImGuiInputSource = 1; -pub const ImGuiInputSource_Keyboard: ImGuiInputSource = 2; -pub const ImGuiInputSource_Gamepad: ImGuiInputSource = 3; -pub const ImGuiInputSource_Nav: ImGuiInputSource = 4; -pub const ImGuiInputSource_Clipboard: ImGuiInputSource = 5; -pub const ImGuiInputSource_COUNT: ImGuiInputSource = 6; -pub type ImGuiInputSource = cty::c_uint; -pub const ImGuiInputReadMode_Down: ImGuiInputReadMode = 0; -pub const ImGuiInputReadMode_Pressed: ImGuiInputReadMode = 1; -pub const ImGuiInputReadMode_Released: ImGuiInputReadMode = 2; -pub const ImGuiInputReadMode_Repeat: ImGuiInputReadMode = 3; -pub const ImGuiInputReadMode_RepeatSlow: ImGuiInputReadMode = 4; -pub const ImGuiInputReadMode_RepeatFast: ImGuiInputReadMode = 5; -pub type ImGuiInputReadMode = cty::c_uint; pub const ImGuiPopupPositionPolicy_Default: ImGuiPopupPositionPolicy = 0; pub const ImGuiPopupPositionPolicy_ComboBox: ImGuiPopupPositionPolicy = 1; pub const ImGuiPopupPositionPolicy_Tooltip: ImGuiPopupPositionPolicy = 2; @@ -2916,7 +2523,8 @@ impl Default for ImGuiInputTextState { pub struct ImGuiPopupData { pub PopupId: ImGuiID, pub Window: *mut ImGuiWindow, - pub SourceWindow: *mut ImGuiWindow, + pub BackupNavWindow: *mut ImGuiWindow, + pub ParentNavLayer: cty::c_int, pub OpenFrameCount: cty::c_int, pub OpenParentId: ImGuiID, pub OpenPopupPos: ImVec2, @@ -3034,6 +2642,7 @@ impl Default for ImGuiWindowStackData { pub struct ImGuiShrinkWidthItem { pub Index: cty::c_int, pub Width: f32, + pub InitialWidth: f32, } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -3050,6 +2659,195 @@ impl Default for ImGuiPtrOrIndex { } } } +pub const ImGuiInputEventType_None: ImGuiInputEventType = 0; +pub const ImGuiInputEventType_MousePos: ImGuiInputEventType = 1; +pub const ImGuiInputEventType_MouseWheel: ImGuiInputEventType = 2; +pub const ImGuiInputEventType_MouseButton: ImGuiInputEventType = 3; +pub const ImGuiInputEventType_MouseViewport: ImGuiInputEventType = 4; +pub const ImGuiInputEventType_Key: ImGuiInputEventType = 5; +pub const ImGuiInputEventType_Text: ImGuiInputEventType = 6; +pub const ImGuiInputEventType_Focus: ImGuiInputEventType = 7; +pub const ImGuiInputEventType_COUNT: ImGuiInputEventType = 8; +pub type ImGuiInputEventType = cty::c_uint; +pub const ImGuiInputSource_None: ImGuiInputSource = 0; +pub const ImGuiInputSource_Mouse: ImGuiInputSource = 1; +pub const ImGuiInputSource_Keyboard: ImGuiInputSource = 2; +pub const ImGuiInputSource_Gamepad: ImGuiInputSource = 3; +pub const ImGuiInputSource_Clipboard: ImGuiInputSource = 4; +pub const ImGuiInputSource_Nav: ImGuiInputSource = 5; +pub const ImGuiInputSource_COUNT: ImGuiInputSource = 6; +pub type ImGuiInputSource = cty::c_uint; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiInputEventMousePos { + pub PosX: f32, + pub PosY: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiInputEventMouseWheel { + pub WheelX: f32, + pub WheelY: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventMouseButton { + pub Button: cty::c_int, + pub Down: bool, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventMouseViewport { + pub HoveredViewportID: ImGuiID, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, PartialEq)] +pub struct ImGuiInputEventKey { + pub Key: ImGuiKey, + pub Down: bool, + pub AnalogValue: f32, +} +impl Default for ImGuiInputEventKey { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventText { + pub Char: cty::c_uint, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventAppFocused { + pub Focused: bool, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ImGuiInputEvent { + pub Type: ImGuiInputEventType, + pub Source: ImGuiInputSource, + pub __bindgen_anon_1: ImGuiInputEvent__bindgen_ty_1, + pub AddedByTestEngine: bool, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union ImGuiInputEvent__bindgen_ty_1 { + pub MousePos: ImGuiInputEventMousePos, + pub MouseWheel: ImGuiInputEventMouseWheel, + pub MouseButton: ImGuiInputEventMouseButton, + pub MouseViewport: ImGuiInputEventMouseViewport, + pub Key: ImGuiInputEventKey, + pub Text: ImGuiInputEventText, + pub AppFocused: ImGuiInputEventAppFocused, +} +impl Default for ImGuiInputEvent__bindgen_ty_1 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +impl ::core::fmt::Debug for ImGuiInputEvent__bindgen_ty_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + write!(f, "ImGuiInputEvent__bindgen_ty_1 {{ union }}") + } +} +impl Default for ImGuiInputEvent { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +impl ::core::fmt::Debug for ImGuiInputEvent { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + write ! (f , "ImGuiInputEvent {{ Type: {:?}, Source: {:?}, __bindgen_anon_1: {:?}, AddedByTestEngine: {:?} }}" , self . Type , self . Source , self . __bindgen_anon_1 , self . AddedByTestEngine) + } +} +pub type ImGuiKeyRoutingIndex = ImS16; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiKeyRoutingData { + pub NextEntryIndex: ImGuiKeyRoutingIndex, + pub Mods: ImU16, + pub RoutingNextScore: ImU8, + pub RoutingCurr: ImGuiID, + pub RoutingNext: ImGuiID, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiKeyRoutingData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiKeyRoutingData, +} +impl Default for ImVector_ImGuiKeyRoutingData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiKeyRoutingTable { + pub Index: [ImGuiKeyRoutingIndex; 140usize], + pub Entries: ImVector_ImGuiKeyRoutingData, + pub EntriesNext: ImVector_ImGuiKeyRoutingData, +} +impl Default for ImGuiKeyRoutingTable { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiKeyOwnerData { + pub OwnerCurr: ImGuiID, + pub OwnerNext: ImGuiID, + pub LockThisFrame: bool, + pub LockUntilRelease: bool, +} +pub const ImGuiInputFlags_None: ImGuiInputFlags_ = 0; +pub const ImGuiInputFlags_Repeat: ImGuiInputFlags_ = 1; +pub const ImGuiInputFlags_RepeatRateDefault: ImGuiInputFlags_ = 2; +pub const ImGuiInputFlags_RepeatRateNavMove: ImGuiInputFlags_ = 4; +pub const ImGuiInputFlags_RepeatRateNavTweak: ImGuiInputFlags_ = 8; +pub const ImGuiInputFlags_RepeatRateMask_: ImGuiInputFlags_ = 14; +pub const ImGuiInputFlags_CondHovered: ImGuiInputFlags_ = 16; +pub const ImGuiInputFlags_CondActive: ImGuiInputFlags_ = 32; +pub const ImGuiInputFlags_CondDefault_: ImGuiInputFlags_ = 48; +pub const ImGuiInputFlags_CondMask_: ImGuiInputFlags_ = 48; +pub const ImGuiInputFlags_LockThisFrame: ImGuiInputFlags_ = 64; +pub const ImGuiInputFlags_LockUntilRelease: ImGuiInputFlags_ = 128; +pub const ImGuiInputFlags_RouteFocused: ImGuiInputFlags_ = 256; +pub const ImGuiInputFlags_RouteGlobalLow: ImGuiInputFlags_ = 512; +pub const ImGuiInputFlags_RouteGlobal: ImGuiInputFlags_ = 1024; +pub const ImGuiInputFlags_RouteGlobalHigh: ImGuiInputFlags_ = 2048; +pub const ImGuiInputFlags_RouteMask_: ImGuiInputFlags_ = 3840; +pub const ImGuiInputFlags_RouteAlways: ImGuiInputFlags_ = 4096; +pub const ImGuiInputFlags_RouteUnlessBgFocused: ImGuiInputFlags_ = 8192; +pub const ImGuiInputFlags_RouteExtraMask_: ImGuiInputFlags_ = 12288; +pub const ImGuiInputFlags_SupportedByIsKeyPressed: ImGuiInputFlags_ = 15; +pub const ImGuiInputFlags_SupportedByShortcut: ImGuiInputFlags_ = 16143; +pub const ImGuiInputFlags_SupportedBySetKeyOwner: ImGuiInputFlags_ = 192; +pub const ImGuiInputFlags_SupportedBySetItemKeyOwner: ImGuiInputFlags_ = 240; +pub type ImGuiInputFlags_ = cty::c_uint; #[repr(C)] #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiListClipperRange { @@ -3060,6 +2858,22 @@ pub struct ImGuiListClipperRange { pub PosToIndexOffsetMax: ImS8, } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiListClipperRange { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiListClipperRange, +} +impl Default for ImVector_ImGuiListClipperRange { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiListClipperData { pub ListClipper: *mut ImGuiListClipper, @@ -3099,12 +2913,6 @@ pub const ImGuiNavHighlightFlags_TypeThin: ImGuiNavHighlightFlags_ = 2; pub const ImGuiNavHighlightFlags_AlwaysDraw: ImGuiNavHighlightFlags_ = 4; pub const ImGuiNavHighlightFlags_NoRounding: ImGuiNavHighlightFlags_ = 8; pub type ImGuiNavHighlightFlags_ = cty::c_uint; -pub const ImGuiNavDirSourceFlags_None: ImGuiNavDirSourceFlags_ = 0; -pub const ImGuiNavDirSourceFlags_RawKeyboard: ImGuiNavDirSourceFlags_ = 1; -pub const ImGuiNavDirSourceFlags_Keyboard: ImGuiNavDirSourceFlags_ = 2; -pub const ImGuiNavDirSourceFlags_PadDPad: ImGuiNavDirSourceFlags_ = 4; -pub const ImGuiNavDirSourceFlags_PadLStick: ImGuiNavDirSourceFlags_ = 8; -pub type ImGuiNavDirSourceFlags_ = cty::c_uint; pub const ImGuiNavMoveFlags_None: ImGuiNavMoveFlags_ = 0; pub const ImGuiNavMoveFlags_LoopX: ImGuiNavMoveFlags_ = 1; pub const ImGuiNavMoveFlags_LoopY: ImGuiNavMoveFlags_ = 2; @@ -3161,6 +2969,22 @@ pub struct ImGuiOldColumnData { pub ClipRect: ImRect, } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiOldColumnData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiOldColumnData, +} +impl Default for ImVector_ImGuiOldColumnData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiOldColumns { pub ID: ImGuiID, @@ -3220,6 +3044,22 @@ pub const ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing: ImGuiDoc pub const ImGuiDockNodeState_HostWindowVisible: ImGuiDockNodeState = 3; pub type ImGuiDockNodeState = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiWindowPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImGuiWindow, +} +impl Default for ImVector_ImGuiWindowPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiDockNode { pub ID: ImGuiID, @@ -3511,6 +3351,38 @@ pub struct ImGuiWindowDockStyle { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiDockRequest { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiDockRequest, +} +impl Default for ImVector_ImGuiDockRequest { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiDockNodeSettings { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiDockNodeSettings, +} +impl Default for ImVector_ImGuiDockNodeSettings { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiDockContext { pub Nodes: ImGuiStorage, pub Requests: ImVector_ImGuiDockRequest, @@ -3538,7 +3410,6 @@ pub struct ImGuiViewportP { pub Alpha: f32, pub LastAlpha: f32, pub PlatformMonitor: cty::c_short, - pub PlatformWindowCreated: bool, pub Window: *mut ImGuiWindow, pub DrawListsLastFrame: [cty::c_int; 2usize], pub DrawLists: [*mut ImDrawList; 2usize], @@ -3622,9 +3493,47 @@ impl Default for ImGuiSettingsHandler { } } } +pub const ImGuiLocKey_TableSizeOne: ImGuiLocKey = 0; +pub const ImGuiLocKey_TableSizeAllFit: ImGuiLocKey = 1; +pub const ImGuiLocKey_TableSizeAllDefault: ImGuiLocKey = 2; +pub const ImGuiLocKey_TableResetOrder: ImGuiLocKey = 3; +pub const ImGuiLocKey_WindowingMainMenuBar: ImGuiLocKey = 4; +pub const ImGuiLocKey_WindowingPopup: ImGuiLocKey = 5; +pub const ImGuiLocKey_WindowingUntitled: ImGuiLocKey = 6; +pub const ImGuiLocKey_DockingHideTabBar: ImGuiLocKey = 7; +pub const ImGuiLocKey_COUNT: ImGuiLocKey = 8; +pub type ImGuiLocKey = cty::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiLocEntry { + pub Key: ImGuiLocKey, + pub Text: *const cty::c_char, +} +impl Default for ImGuiLocEntry { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub const ImGuiDebugLogFlags_None: ImGuiDebugLogFlags_ = 0; +pub const ImGuiDebugLogFlags_EventActiveId: ImGuiDebugLogFlags_ = 1; +pub const ImGuiDebugLogFlags_EventFocus: ImGuiDebugLogFlags_ = 2; +pub const ImGuiDebugLogFlags_EventPopup: ImGuiDebugLogFlags_ = 4; +pub const ImGuiDebugLogFlags_EventNav: ImGuiDebugLogFlags_ = 8; +pub const ImGuiDebugLogFlags_EventClipper: ImGuiDebugLogFlags_ = 16; +pub const ImGuiDebugLogFlags_EventIO: ImGuiDebugLogFlags_ = 32; +pub const ImGuiDebugLogFlags_EventDocking: ImGuiDebugLogFlags_ = 64; +pub const ImGuiDebugLogFlags_EventViewport: ImGuiDebugLogFlags_ = 128; +pub const ImGuiDebugLogFlags_EventMask_: ImGuiDebugLogFlags_ = 255; +pub const ImGuiDebugLogFlags_OutputToTTY: ImGuiDebugLogFlags_ = 1024; +pub type ImGuiDebugLogFlags_ = cty::c_uint; #[repr(C)] #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiMetricsConfig { + pub ShowDebugLog: bool, pub ShowStackTool: bool, pub ShowWindowsRects: bool, pub ShowWindowsBeginOrder: bool, @@ -3641,7 +3550,9 @@ pub struct ImGuiStackLevelInfo { pub ID: ImGuiID, pub QueryFrameCount: ImS8, pub QuerySuccess: bool, - pub Desc: [cty::c_char; 58usize], + pub _bitfield_align_1: [u8; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, + pub Desc: [cty::c_char; 57usize], } impl Default for ImGuiStackLevelInfo { fn default() -> Self { @@ -3652,13 +3563,53 @@ impl Default for ImGuiStackLevelInfo { } } } +impl ImGuiStackLevelInfo { + #[inline] + pub fn DataType(&self) -> ImGuiDataType { + unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_DataType(&mut self, val: ImGuiDataType) { + unsafe { + let val: u32 = ::core::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1(DataType: ImGuiDataType) -> __BindgenBitfieldUnit<[u8; 1usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let DataType: u32 = unsafe { ::core::mem::transmute(DataType) }; + DataType as u64 + }); + __bindgen_bitfield_unit + } +} #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStackLevelInfo { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStackLevelInfo, +} +impl Default for ImVector_ImGuiStackLevelInfo { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiStackTool { pub LastActiveFrame: cty::c_int, pub StackLevel: cty::c_int, pub QueryId: ImGuiID, pub Results: ImVector_ImGuiStackLevelInfo, + pub CopyToClipboardOnCtrlC: bool, + pub CopyToClipboardLastTime: f32, } impl Default for ImGuiStackTool { fn default() -> Self { @@ -3669,6 +3620,9 @@ impl Default for ImGuiStackTool { } } } +pub type ImGuiContextHookCallback = ::core::option::Option< + unsafe extern "C" fn(ctx: *mut ImGuiContext, hook: *mut ImGuiContextHook), +>; pub const ImGuiContextHookType_NewFramePre: ImGuiContextHookType = 0; pub const ImGuiContextHookType_NewFramePost: ImGuiContextHookType = 1; pub const ImGuiContextHookType_EndFramePre: ImGuiContextHookType = 2; @@ -3697,12 +3651,364 @@ impl Default for ImGuiContextHook { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiInputEvent { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiInputEvent, +} +impl Default for ImVector_ImGuiInputEvent { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiWindowStackData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiWindowStackData, +} +impl Default for ImVector_ImGuiWindowStackData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiColorMod { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiColorMod, +} +impl Default for ImVector_ImGuiColorMod { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStyleMod { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStyleMod, +} +impl Default for ImVector_ImGuiStyleMod { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiID { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiID, +} +impl Default for ImVector_ImGuiID { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiItemFlags { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiItemFlags, +} +impl Default for ImVector_ImGuiItemFlags { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiGroupData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiGroupData, +} +impl Default for ImVector_ImGuiGroupData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiPopupData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiPopupData, +} +impl Default for ImVector_ImGuiPopupData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiViewportPPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImGuiViewportP, +} +impl Default for ImVector_ImGuiViewportPPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_unsigned_char { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_uchar, +} +impl Default for ImVector_unsigned_char { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiListClipperData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiListClipperData, +} +impl Default for ImVector_ImGuiListClipperData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTableTempData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTableTempData, +} +impl Default for ImVector_ImGuiTableTempData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTable { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTable, +} +impl Default for ImVector_ImGuiTable { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImPool_ImGuiTable { + pub Buf: ImVector_ImGuiTable, + pub Map: ImGuiStorage, + pub FreeIdx: ImPoolIdx, + pub AliveCount: ImPoolIdx, +} +impl Default for ImPool_ImGuiTable { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTabBar { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTabBar, +} +impl Default for ImVector_ImGuiTabBar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImPool_ImGuiTabBar { + pub Buf: ImVector_ImGuiTabBar, + pub Map: ImGuiStorage, + pub FreeIdx: ImPoolIdx, + pub AliveCount: ImPoolIdx, +} +impl Default for ImPool_ImGuiTabBar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiPtrOrIndex { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiPtrOrIndex, +} +impl Default for ImVector_ImGuiPtrOrIndex { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiShrinkWidthItem { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiShrinkWidthItem, +} +impl Default for ImVector_ImGuiShrinkWidthItem { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiSettingsHandler { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiSettingsHandler, +} +impl Default for ImVector_ImGuiSettingsHandler { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImChunkStream_ImGuiWindowSettings { + pub Buf: ImVector_char, +} +impl Default for ImChunkStream_ImGuiWindowSettings { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImChunkStream_ImGuiTableSettings { + pub Buf: ImVector_char, +} +impl Default for ImChunkStream_ImGuiTableSettings { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiContextHook { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiContextHook, +} +impl Default for ImVector_ImGuiContextHook { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiContext { pub Initialized: bool, pub FontAtlasOwnedByContext: bool, pub IO: ImGuiIO, pub PlatformIO: ImGuiPlatformIO, + pub InputEventsQueue: ImVector_ImGuiInputEvent, + pub InputEventsTrail: ImVector_ImGuiInputEvent, pub Style: ImGuiStyle, pub ConfigFlagsCurrFrame: ImGuiConfigFlags, pub ConfigFlagsLastFrame: ImGuiConfigFlags, @@ -3731,17 +4037,14 @@ pub struct ImGuiContext { pub CurrentWindow: *mut ImGuiWindow, pub HoveredWindow: *mut ImGuiWindow, pub HoveredWindowUnderMovingWindow: *mut ImGuiWindow, - pub HoveredDockNode: *mut ImGuiDockNode, pub MovingWindow: *mut ImGuiWindow, pub WheelingWindow: *mut ImGuiWindow, pub WheelingWindowRefMousePos: ImVec2, - pub WheelingWindowTimer: f32, + pub WheelingWindowReleaseTimer: f32, pub DebugHookIdInfo: ImGuiID, pub HoveredId: ImGuiID, pub HoveredIdPreviousFrame: ImGuiID, pub HoveredIdAllowOverlap: bool, - pub HoveredIdUsingMouseWheel: bool, - pub HoveredIdPreviousFrameUsingMouseWheel: bool, pub HoveredIdDisabled: bool, pub HoveredIdTimer: f32, pub HoveredIdNotActiveTimer: f32, @@ -3754,10 +4057,6 @@ pub struct ImGuiContext { pub ActiveIdHasBeenPressedBefore: bool, pub ActiveIdHasBeenEditedBefore: bool, pub ActiveIdHasBeenEditedThisFrame: bool, - pub ActiveIdUsingMouseWheel: bool, - pub ActiveIdUsingNavDirMask: ImU32, - pub ActiveIdUsingNavInputMask: ImU32, - pub ActiveIdUsingKeyInputMask: ImU64, pub ActiveIdClickOffset: ImVec2, pub ActiveIdWindow: *mut ImGuiWindow, pub ActiveIdSource: ImGuiInputSource, @@ -3768,7 +4067,14 @@ pub struct ImGuiContext { pub ActiveIdPreviousFrameWindow: *mut ImGuiWindow, pub LastActiveId: ImGuiID, pub LastActiveIdTimer: f32, + pub KeysOwnerData: [ImGuiKeyOwnerData; 140usize], + pub KeysRoutingTable: ImGuiKeyRoutingTable, + pub ActiveIdUsingNavDirMask: ImU32, + pub ActiveIdUsingAllKeyboardKeys: bool, + pub ActiveIdUsingNavInputMask: ImU32, + pub CurrentFocusScopeId: ImGuiID, pub CurrentItemFlags: ImGuiItemFlags, + pub DebugLocateId: ImGuiID, pub NextItemData: ImGuiNextItemData, pub LastItemData: ImGuiLastItemData, pub NextWindowData: ImGuiNextWindowData, @@ -3799,7 +4105,7 @@ pub struct ImGuiContext { pub NavActivateFlags: ImGuiActivateFlags, pub NavJustMovedToId: ImGuiID, pub NavJustMovedToFocusScopeId: ImGuiID, - pub NavJustMovedToKeyMods: ImGuiKeyModFlags, + pub NavJustMovedToKeyMods: ImGuiKeyChord, pub NavNextActivateId: ImGuiID, pub NavNextActivateFlags: ImGuiActivateFlags, pub NavInputSource: ImGuiInputSource, @@ -3818,7 +4124,7 @@ pub struct ImGuiContext { pub NavMoveForwardToNextFrame: bool, pub NavMoveFlags: ImGuiNavMoveFlags, pub NavMoveScrollFlags: ImGuiScrollFlags, - pub NavMoveKeyMods: ImGuiKeyModFlags, + pub NavMoveKeyMods: ImGuiKeyChord, pub NavMoveDir: ImGuiDir, pub NavMoveDirForDebug: ImGuiDir, pub NavMoveClipDir: ImGuiDir, @@ -3831,12 +4137,16 @@ pub struct ImGuiContext { pub NavMoveResultLocalVisible: ImGuiNavItemData, pub NavMoveResultOther: ImGuiNavItemData, pub NavTabbingResultFirst: ImGuiNavItemData, + pub ConfigNavWindowingKeyNext: ImGuiKeyChord, + pub ConfigNavWindowingKeyPrev: ImGuiKeyChord, pub NavWindowingTarget: *mut ImGuiWindow, pub NavWindowingTargetAnim: *mut ImGuiWindow, pub NavWindowingListWindow: *mut ImGuiWindow, pub NavWindowingTimer: f32, pub NavWindowingHighlightAlpha: f32, pub NavWindowingToggleLayer: bool, + pub NavWindowingAccumDeltaPos: ImVec2, + pub NavWindowingAccumDeltaSize: ImVec2, pub DimBgRatio: f32, pub MouseCursor: ImGuiMouseCursor, pub DragDropActive: bool, @@ -3868,6 +4178,10 @@ pub struct ImGuiContext { pub TabBars: ImPool_ImGuiTabBar, pub CurrentTabBarStack: ImVector_ImGuiPtrOrIndex, pub ShrinkWidthBuffer: ImVector_ImGuiShrinkWidthItem, + pub HoverDelayId: ImGuiID, + pub HoverDelayIdPreviousFrame: ImGuiID, + pub HoverDelayTimer: f32, + pub HoverDelayClearTimer: f32, pub MouseLastValidPos: ImVec2, pub InputTextState: ImGuiInputTextState, pub InputTextPasswordFont: ImFont, @@ -3878,6 +4192,7 @@ pub struct ImGuiContext { pub ColorEditLastColor: ImU32, pub ColorPickerRef: ImVec4, pub ComboPreviewData: ImGuiComboPreviewData, + pub SliderGrabClickOffset: f32, pub SliderCurrentAccum: f32, pub SliderCurrentAccumDirty: bool, pub DragCurrentAccumDirty: bool, @@ -3887,12 +4202,11 @@ pub struct ImGuiContext { pub DisabledAlphaBackup: f32, pub DisabledStackSize: cty::c_short, pub TooltipOverrideCount: cty::c_short, - pub TooltipSlowDelay: f32, pub ClipboardHandlerData: ImVector_char, pub MenusIdSubmittedThisFrame: ImVector_ImGuiID, - pub PlatformImePos: ImVec2, - pub PlatformImeLastPos: ImVec2, - pub PlatformImePosViewport: *mut ImGuiViewportP, + pub PlatformImeData: ImGuiPlatformImeData, + pub PlatformImeDataPrev: ImGuiPlatformImeData, + pub PlatformImeViewport: ImGuiID, pub PlatformLocaleDecimalPoint: cty::c_char, pub DockContext: ImGuiDockContext, pub SettingsLoaded: bool, @@ -3903,6 +4217,7 @@ pub struct ImGuiContext { pub SettingsTables: ImChunkStream_ImGuiTableSettings, pub Hooks: ImVector_ImGuiContextHook, pub HookIdNext: ImGuiID, + pub LocalizationTable: [*const cty::c_char; 8usize], pub LogEnabled: bool, pub LogType: ImGuiLogType, pub LogFile: ImFileHandle, @@ -3914,18 +4229,24 @@ pub struct ImGuiContext { pub LogDepthRef: cty::c_int, pub LogDepthToExpand: cty::c_int, pub LogDepthToExpandDefault: cty::c_int, + pub DebugLogFlags: ImGuiDebugLogFlags, + pub DebugLogBuf: ImGuiTextBuffer, + pub DebugLogIndex: ImGuiTextIndex, + pub DebugLocateFrames: ImU8, pub DebugItemPickerActive: bool, + pub DebugItemPickerMouseButton: ImU8, pub DebugItemPickerBreakId: ImGuiID, pub DebugMetricsConfig: ImGuiMetricsConfig, pub DebugStackTool: ImGuiStackTool, - pub FramerateSecPerFrame: [f32; 120usize], + pub DebugHoveredDockNode: *mut ImGuiDockNode, + pub FramerateSecPerFrame: [f32; 60usize], pub FramerateSecPerFrameIdx: cty::c_int, pub FramerateSecPerFrameCount: cty::c_int, pub FramerateSecPerFrameAccum: f32, pub WantCaptureMouseNextFrame: cty::c_int, pub WantCaptureKeyboardNextFrame: cty::c_int, pub WantTextInputNextFrame: cty::c_int, - pub TempBuffer: [cty::c_char; 3073usize], + pub TempBuffer: ImVector_char, } impl Default for ImGuiContext { fn default() -> Self { @@ -3948,6 +4269,8 @@ pub struct ImGuiWindowTempData { pub PrevLineSize: ImVec2, pub CurrLineTextBaseOffset: f32, pub PrevLineTextBaseOffset: f32, + pub IsSameLine: bool, + pub IsSetPos: bool, pub Indent: ImVec1, pub ColumnsOffset: ImVec1, pub GroupOffset: ImVec1, @@ -3955,7 +4278,6 @@ pub struct ImGuiWindowTempData { pub NavLayerCurrent: ImGuiNavLayer, pub NavLayersActiveMask: cty::c_short, pub NavLayersActiveMaskNext: cty::c_short, - pub NavFocusScopeIdCurrent: ImGuiID, pub NavHideHighlightOneFrame: bool, pub NavHasScroll: bool, pub MenuBarAppending: bool, @@ -3984,6 +4306,22 @@ impl Default for ImGuiWindowTempData { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiOldColumns { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiOldColumns, +} +impl Default for ImVector_ImGuiOldColumns { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiWindow { pub Name: *mut cty::c_char, @@ -4006,6 +4344,7 @@ pub struct ImGuiWindow { pub WindowBorderSize: f32, pub NameBufLen: cty::c_int, pub MoveId: ImGuiID, + pub TabId: ImGuiID, pub ChildId: ImGuiID, pub Scroll: ImVec2, pub ScrollMax: ImVec2, @@ -4029,6 +4368,7 @@ pub struct ImGuiWindow { pub HasCloseButton: bool, pub ResizeBorderHeld: cty::c_schar, pub BeginCount: cty::c_short, + pub BeginCountPreviousFrame: cty::c_short, pub BeginOrderWithinParent: cty::c_short, pub BeginOrderWithinContext: cty::c_short, pub FocusOrder: cty::c_short, @@ -4078,6 +4418,7 @@ pub struct ImGuiWindow { pub NavLastChildNavWindow: *mut ImGuiWindow, pub NavLastIds: [ImGuiID; 2usize], pub NavRectRel: [ImRect; 2usize], + pub NavRootFocusScopeId: ImGuiID, pub MemoryDrawListIdxCapacity: cty::c_int, pub MemoryDrawListVtxCapacity: cty::c_int, pub MemoryCompacted: bool, @@ -4267,6 +4608,7 @@ pub struct ImGuiTabItem { pub Offset: f32, pub Width: f32, pub ContentWidth: f32, + pub RequestedWidth: f32, pub NameOffset: ImS32, pub BeginOrder: ImS16, pub IndexDuringLayout: ImS16, @@ -4282,6 +4624,22 @@ impl Default for ImGuiTabItem { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTabItem { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTabItem, +} +impl Default for ImVector_ImGuiTabItem { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiTabBar { pub Tabs: ImVector_ImGuiTabItem, @@ -4325,6 +4683,8 @@ impl Default for ImGuiTabBar { } } } +pub type ImGuiTableColumnIdx = ImS8; +pub type ImGuiTableDrawChannelIdx = ImU8; #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImGuiTableColumn { @@ -4434,6 +4794,89 @@ pub struct ImGuiTableCellData { pub Column: ImGuiTableColumnIdx, } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiTableInstanceData { + pub LastOuterHeight: f32, + pub LastFirstRowHeight: f32, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImSpan_ImGuiTableColumn { + pub Data: *mut ImGuiTableColumn, + pub DataEnd: *mut ImGuiTableColumn, +} +impl Default for ImSpan_ImGuiTableColumn { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImSpan_ImGuiTableColumnIdx { + pub Data: *mut ImGuiTableColumnIdx, + pub DataEnd: *mut ImGuiTableColumnIdx, +} +impl Default for ImSpan_ImGuiTableColumnIdx { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImSpan_ImGuiTableCellData { + pub Data: *mut ImGuiTableCellData, + pub DataEnd: *mut ImGuiTableCellData, +} +impl Default for ImSpan_ImGuiTableCellData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTableInstanceData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTableInstanceData, +} +impl Default for ImVector_ImGuiTableInstanceData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTableColumnSortSpecs { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTableColumnSortSpecs, +} +impl Default for ImVector_ImGuiTableColumnSortSpecs { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiTable { pub ID: ImGuiID, @@ -4475,11 +4918,10 @@ pub struct ImGuiTable { pub CellPaddingY: f32, pub CellSpacingX1: f32, pub CellSpacingX2: f32, - pub LastOuterHeight: f32, - pub LastFirstRowHeight: f32, pub InnerWidth: f32, pub ColumnsGivenWidth: f32, pub ColumnsAutoFitWidth: f32, + pub ColumnsStretchSumWeights: f32, pub ResizedColumnNextWidth: f32, pub ResizeLockMinContentsX2: f32, pub RefScale: f32, @@ -4496,6 +4938,8 @@ pub struct ImGuiTable { pub InnerWindow: *mut ImGuiWindow, pub ColumnsNames: ImGuiTextBuffer, pub DrawSplitter: *mut ImDrawListSplitter, + pub InstanceDataFirst: ImGuiTableInstanceData, + pub InstanceDataExtra: ImVector_ImGuiTableInstanceData, pub SortSpecsSingle: ImGuiTableColumnSortSpecs, pub SortSpecsMulti: ImVector_ImGuiTableColumnSortSpecs, pub SortSpecs: ImGuiTableSortSpecs, @@ -4698,22 +5142,22 @@ pub struct ImFontBuilderIO { ::core::option::Option bool>, } extern "C" { - pub fn ImVec2_ImVec2Nil() -> *mut ImVec2; + pub fn ImVec2_ImVec2_Nil() -> *mut ImVec2; } extern "C" { pub fn ImVec2_destroy(self_: *mut ImVec2); } extern "C" { - pub fn ImVec2_ImVec2Float(_x: f32, _y: f32) -> *mut ImVec2; + pub fn ImVec2_ImVec2_Float(_x: f32, _y: f32) -> *mut ImVec2; } extern "C" { - pub fn ImVec4_ImVec4Nil() -> *mut ImVec4; + pub fn ImVec4_ImVec4_Nil() -> *mut ImVec4; } extern "C" { pub fn ImVec4_destroy(self_: *mut ImVec4); } extern "C" { - pub fn ImVec4_ImVec4Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; + pub fn ImVec4_ImVec4_Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; } extern "C" { pub fn igCreateContext(shared_font_atlas: *mut ImFontAtlas) -> *mut ImGuiContext; @@ -4751,6 +5195,9 @@ extern "C" { extern "C" { pub fn igShowMetricsWindow(p_open: *mut bool); } +extern "C" { + pub fn igShowDebugLogWindow(p_open: *mut bool); +} extern "C" { pub fn igShowStackToolWindow(p_open: *mut bool); } @@ -4788,7 +5235,7 @@ extern "C" { pub fn igEnd(); } extern "C" { - pub fn igBeginChildStr( + pub fn igBeginChild_Str( str_id: *const cty::c_char, size: ImVec2, border: bool, @@ -4796,8 +5243,12 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igBeginChildID(id: ImGuiID, size: ImVec2, border: bool, flags: ImGuiWindowFlags) - -> bool; + pub fn igBeginChild_ID( + id: ImGuiID, + size: ImVec2, + border: bool, + flags: ImGuiWindowFlags, + ) -> bool; } extern "C" { pub fn igEndChild(); @@ -4858,6 +5309,9 @@ extern "C" { extern "C" { pub fn igSetNextWindowFocus(); } +extern "C" { + pub fn igSetNextWindowScroll(scroll: ImVec2); +} extern "C" { pub fn igSetNextWindowBgAlpha(alpha: f32); } @@ -4865,31 +5319,31 @@ extern "C" { pub fn igSetNextWindowViewport(viewport_id: ImGuiID); } extern "C" { - pub fn igSetWindowPosVec2(pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Vec2(pos: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowSizeVec2(size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Vec2(size: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowCollapsedBool(collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Bool(collapsed: bool, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowFocusNil(); + pub fn igSetWindowFocus_Nil(); } extern "C" { pub fn igSetWindowFontScale(scale: f32); } extern "C" { - pub fn igSetWindowPosStr(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Str(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowSizeStr(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Str(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowCollapsedStr(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Str(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowFocusStr(name: *const cty::c_char); + pub fn igSetWindowFocus_Str(name: *const cty::c_char); } extern "C" { pub fn igGetContentRegionAvail(pOut: *mut ImVec2); @@ -4910,10 +5364,10 @@ extern "C" { pub fn igGetScrollY() -> f32; } extern "C" { - pub fn igSetScrollXFloat(scroll_x: f32); + pub fn igSetScrollX_Float(scroll_x: f32); } extern "C" { - pub fn igSetScrollYFloat(scroll_y: f32); + pub fn igSetScrollY_Float(scroll_y: f32); } extern "C" { pub fn igGetScrollMaxX() -> f32; @@ -4928,10 +5382,10 @@ extern "C" { pub fn igSetScrollHereY(center_y_ratio: f32); } extern "C" { - pub fn igSetScrollFromPosXFloat(local_x: f32, center_x_ratio: f32); + pub fn igSetScrollFromPosX_Float(local_x: f32, center_x_ratio: f32); } extern "C" { - pub fn igSetScrollFromPosYFloat(local_y: f32, center_y_ratio: f32); + pub fn igSetScrollFromPosY_Float(local_y: f32, center_y_ratio: f32); } extern "C" { pub fn igPushFont(font: *mut ImFont); @@ -4940,19 +5394,19 @@ extern "C" { pub fn igPopFont(); } extern "C" { - pub fn igPushStyleColorU32(idx: ImGuiCol, col: ImU32); + pub fn igPushStyleColor_U32(idx: ImGuiCol, col: ImU32); } extern "C" { - pub fn igPushStyleColorVec4(idx: ImGuiCol, col: ImVec4); + pub fn igPushStyleColor_Vec4(idx: ImGuiCol, col: ImVec4); } extern "C" { pub fn igPopStyleColor(count: cty::c_int); } extern "C" { - pub fn igPushStyleVarFloat(idx: ImGuiStyleVar, val: f32); + pub fn igPushStyleVar_Float(idx: ImGuiStyleVar, val: f32); } extern "C" { - pub fn igPushStyleVarVec2(idx: ImGuiStyleVar, val: ImVec2); + pub fn igPushStyleVar_Vec2(idx: ImGuiStyleVar, val: ImVec2); } extern "C" { pub fn igPopStyleVar(count: cty::c_int); @@ -4997,13 +5451,13 @@ extern "C" { pub fn igGetFontTexUvWhitePixel(pOut: *mut ImVec2); } extern "C" { - pub fn igGetColorU32Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; + pub fn igGetColorU32_Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; } extern "C" { - pub fn igGetColorU32Vec4(col: ImVec4) -> ImU32; + pub fn igGetColorU32_Vec4(col: ImVec4) -> ImU32; } extern "C" { - pub fn igGetColorU32U32(col: ImU32) -> ImU32; + pub fn igGetColorU32_U32(col: ImU32) -> ImU32; } extern "C" { pub fn igGetStyleColorVec4(idx: ImGuiCol) -> *const ImVec4; @@ -5078,31 +5532,31 @@ extern "C" { pub fn igGetFrameHeightWithSpacing() -> f32; } extern "C" { - pub fn igPushIDStr(str_id: *const cty::c_char); + pub fn igPushID_Str(str_id: *const cty::c_char); } extern "C" { - pub fn igPushIDStrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); + pub fn igPushID_StrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); } extern "C" { - pub fn igPushIDPtr(ptr_id: *const cty::c_void); + pub fn igPushID_Ptr(ptr_id: *const cty::c_void); } extern "C" { - pub fn igPushIDInt(int_id: cty::c_int); + pub fn igPushID_Int(int_id: cty::c_int); } extern "C" { pub fn igPopID(); } extern "C" { - pub fn igGetIDStr(str_id: *const cty::c_char) -> ImGuiID; + pub fn igGetID_Str(str_id: *const cty::c_char) -> ImGuiID; } extern "C" { - pub fn igGetIDStrStr( + pub fn igGetID_StrStr( str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char, ) -> ImGuiID; } extern "C" { - pub fn igGetIDPtr(ptr_id: *const cty::c_void) -> ImGuiID; + pub fn igGetID_Ptr(ptr_id: *const cty::c_void) -> ImGuiID; } extern "C" { pub fn igTextUnformatted(text: *const cty::c_char, text_end: *const cty::c_char); @@ -5141,49 +5595,28 @@ extern "C" { extern "C" { pub fn igArrowButton(str_id: *const cty::c_char, dir: ImGuiDir) -> bool; } -extern "C" { - pub fn igImage( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - tint_col: ImVec4, - border_col: ImVec4, - ); -} -extern "C" { - pub fn igImageButton( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - frame_padding: cty::c_int, - bg_col: ImVec4, - tint_col: ImVec4, - ) -> bool; -} extern "C" { pub fn igCheckbox(label: *const cty::c_char, v: *mut bool) -> bool; } extern "C" { - pub fn igCheckboxFlagsIntPtr( + pub fn igCheckboxFlags_IntPtr( label: *const cty::c_char, flags: *mut cty::c_int, flags_value: cty::c_int, ) -> bool; } extern "C" { - pub fn igCheckboxFlagsUintPtr( + pub fn igCheckboxFlags_UintPtr( label: *const cty::c_char, flags: *mut cty::c_uint, flags_value: cty::c_uint, ) -> bool; } extern "C" { - pub fn igRadioButtonBool(label: *const cty::c_char, active: bool) -> bool; + pub fn igRadioButton_Bool(label: *const cty::c_char, active: bool) -> bool; } extern "C" { - pub fn igRadioButtonIntPtr( + pub fn igRadioButton_IntPtr( label: *const cty::c_char, v: *mut cty::c_int, v_button: cty::c_int, @@ -5195,6 +5628,27 @@ extern "C" { extern "C" { pub fn igBullet(); } +extern "C" { + pub fn igImage( + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + tint_col: ImVec4, + border_col: ImVec4, + ); +} +extern "C" { + pub fn igImageButton( + str_id: *const cty::c_char, + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + bg_col: ImVec4, + tint_col: ImVec4, + ) -> bool; +} extern "C" { pub fn igBeginCombo( label: *const cty::c_char, @@ -5206,7 +5660,7 @@ extern "C" { pub fn igEndCombo(); } extern "C" { - pub fn igComboStr_arr( + pub fn igCombo_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -5215,7 +5669,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igComboStr( + pub fn igCombo_Str( label: *const cty::c_char, current_item: *mut cty::c_int, items_separated_by_zeros: *const cty::c_char, @@ -5223,7 +5677,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igComboFnBoolPtr( + pub fn igCombo_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -5694,19 +6148,19 @@ extern "C" { pub fn igSetColorEditOptions(flags: ImGuiColorEditFlags); } extern "C" { - pub fn igTreeNodeStr(label: *const cty::c_char) -> bool; + pub fn igTreeNode_Str(label: *const cty::c_char) -> bool; } extern "C" { - pub fn igTreeNodeStrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_StrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; } extern "C" { - pub fn igTreeNodePtr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_Ptr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; } extern "C" { - pub fn igTreeNodeExStr(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; + pub fn igTreeNodeEx_Str(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; } extern "C" { - pub fn igTreeNodeExStrStr( + pub fn igTreeNodeEx_StrStr( str_id: *const cty::c_char, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -5714,7 +6168,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igTreeNodeExPtr( + pub fn igTreeNodeEx_Ptr( ptr_id: *const cty::c_void, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -5722,10 +6176,10 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igTreePushStr(str_id: *const cty::c_char); + pub fn igTreePush_Str(str_id: *const cty::c_char); } extern "C" { - pub fn igTreePushPtr(ptr_id: *const cty::c_void); + pub fn igTreePush_Ptr(ptr_id: *const cty::c_void); } extern "C" { pub fn igTreePop(); @@ -5734,13 +6188,13 @@ extern "C" { pub fn igGetTreeNodeToLabelSpacing() -> f32; } extern "C" { - pub fn igCollapsingHeaderTreeNodeFlags( + pub fn igCollapsingHeader_TreeNodeFlags( label: *const cty::c_char, flags: ImGuiTreeNodeFlags, ) -> bool; } extern "C" { - pub fn igCollapsingHeaderBoolPtr( + pub fn igCollapsingHeader_BoolPtr( label: *const cty::c_char, p_visible: *mut bool, flags: ImGuiTreeNodeFlags, @@ -5750,7 +6204,7 @@ extern "C" { pub fn igSetNextItemOpen(is_open: bool, cond: ImGuiCond); } extern "C" { - pub fn igSelectableBool( + pub fn igSelectable_Bool( label: *const cty::c_char, selected: bool, flags: ImGuiSelectableFlags, @@ -5758,7 +6212,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igSelectableBoolPtr( + pub fn igSelectable_BoolPtr( label: *const cty::c_char, p_selected: *mut bool, flags: ImGuiSelectableFlags, @@ -5772,7 +6226,7 @@ extern "C" { pub fn igEndListBox(); } extern "C" { - pub fn igListBoxStr_arr( + pub fn igListBox_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -5781,7 +6235,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igListBoxFnBoolPtr( + pub fn igListBox_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -5797,7 +6251,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igPlotLinesFloatPtr( + pub fn igPlotLines_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -5810,7 +6264,7 @@ extern "C" { ); } extern "C" { - pub fn igPlotLinesFnFloatPtr( + pub fn igPlotLines_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -5825,7 +6279,7 @@ extern "C" { ); } extern "C" { - pub fn igPlotHistogramFloatPtr( + pub fn igPlotHistogram_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -5838,7 +6292,7 @@ extern "C" { ); } extern "C" { - pub fn igPlotHistogramFnFloatPtr( + pub fn igPlotHistogram_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -5853,16 +6307,16 @@ extern "C" { ); } extern "C" { - pub fn igValueBool(prefix: *const cty::c_char, b: bool); + pub fn igValue_Bool(prefix: *const cty::c_char, b: bool); } extern "C" { - pub fn igValueInt(prefix: *const cty::c_char, v: cty::c_int); + pub fn igValue_Int(prefix: *const cty::c_char, v: cty::c_int); } extern "C" { - pub fn igValueUint(prefix: *const cty::c_char, v: cty::c_uint); + pub fn igValue_Uint(prefix: *const cty::c_char, v: cty::c_uint); } extern "C" { - pub fn igValueFloat(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); + pub fn igValue_Float(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); } extern "C" { pub fn igBeginMenuBar() -> bool; @@ -5883,7 +6337,7 @@ extern "C" { pub fn igEndMenu(); } extern "C" { - pub fn igMenuItemBool( + pub fn igMenuItem_Bool( label: *const cty::c_char, shortcut: *const cty::c_char, selected: bool, @@ -5891,7 +6345,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igMenuItemBoolPtr( + pub fn igMenuItem_BoolPtr( label: *const cty::c_char, shortcut: *const cty::c_char, p_selected: *mut bool, @@ -5921,10 +6375,10 @@ extern "C" { pub fn igEndPopup(); } extern "C" { - pub fn igOpenPopupStr(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_Str(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); } extern "C" { - pub fn igOpenPopupID(id: ImGuiID, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags); } extern "C" { pub fn igOpenPopupOnItemClick(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); @@ -5951,7 +6405,7 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igIsPopupOpenStr(str_id: *const cty::c_char, flags: ImGuiPopupFlags) -> bool; + pub fn igIsPopupOpen_Str(str_id: *const cty::c_char, flags: ImGuiPopupFlags) -> bool; } extern "C" { pub fn igBeginTable( @@ -6004,7 +6458,7 @@ extern "C" { pub fn igTableGetRowIndex() -> cty::c_int; } extern "C" { - pub fn igTableGetColumnNameInt(column_n: cty::c_int) -> *const cty::c_char; + pub fn igTableGetColumnName_Int(column_n: cty::c_int) -> *const cty::c_char; } extern "C" { pub fn igTableGetColumnFlags(column_n: cty::c_int) -> ImGuiTableColumnFlags; @@ -6209,10 +6663,22 @@ extern "C" { pub fn igGetMainViewport() -> *mut ImGuiViewport; } extern "C" { - pub fn igIsRectVisibleNil(size: ImVec2) -> bool; + pub fn igGetBackgroundDrawList_Nil() -> *mut ImDrawList; } extern "C" { - pub fn igIsRectVisibleVec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; + pub fn igGetForegroundDrawList_Nil() -> *mut ImDrawList; +} +extern "C" { + pub fn igGetBackgroundDrawList_ViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; +} +extern "C" { + pub fn igGetForegroundDrawList_ViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; +} +extern "C" { + pub fn igIsRectVisible_Nil(size: ImVec2) -> bool; +} +extern "C" { + pub fn igIsRectVisible_Vec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; } extern "C" { pub fn igGetTime() -> f64; @@ -6220,18 +6686,6 @@ extern "C" { extern "C" { pub fn igGetFrameCount() -> cty::c_int; } -extern "C" { - pub fn igGetBackgroundDrawListNil() -> *mut ImDrawList; -} -extern "C" { - pub fn igGetForegroundDrawListNil() -> *mut ImDrawList; -} -extern "C" { - pub fn igGetBackgroundDrawListViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; -} -extern "C" { - pub fn igGetForegroundDrawListViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; -} extern "C" { pub fn igGetDrawListSharedData() -> *mut ImDrawListSharedData; } @@ -6286,32 +6740,31 @@ extern "C" { ); } extern "C" { - pub fn igGetKeyIndex(imgui_key: ImGuiKey) -> cty::c_int; + pub fn igIsKeyDown_Nil(key: ImGuiKey) -> bool; } extern "C" { - pub fn igIsKeyDown(user_key_index: cty::c_int) -> bool; + pub fn igIsKeyPressed_Bool(key: ImGuiKey, repeat: bool) -> bool; } extern "C" { - pub fn igIsKeyPressed(user_key_index: cty::c_int, repeat: bool) -> bool; + pub fn igIsKeyReleased_Nil(key: ImGuiKey) -> bool; } extern "C" { - pub fn igIsKeyReleased(user_key_index: cty::c_int) -> bool; + pub fn igGetKeyPressedAmount(key: ImGuiKey, repeat_delay: f32, rate: f32) -> cty::c_int; } extern "C" { - pub fn igGetKeyPressedAmount(key_index: cty::c_int, repeat_delay: f32, rate: f32) - -> cty::c_int; + pub fn igGetKeyName(key: ImGuiKey) -> *const cty::c_char; } extern "C" { - pub fn igCaptureKeyboardFromApp(want_capture_keyboard_value: bool); + pub fn igSetNextFrameWantCaptureKeyboard(want_capture_keyboard: bool); } extern "C" { - pub fn igIsMouseDown(button: ImGuiMouseButton) -> bool; + pub fn igIsMouseDown_Nil(button: ImGuiMouseButton) -> bool; } extern "C" { - pub fn igIsMouseClicked(button: ImGuiMouseButton, repeat: bool) -> bool; + pub fn igIsMouseClicked_Bool(button: ImGuiMouseButton, repeat: bool) -> bool; } extern "C" { - pub fn igIsMouseReleased(button: ImGuiMouseButton) -> bool; + pub fn igIsMouseReleased_Nil(button: ImGuiMouseButton) -> bool; } extern "C" { pub fn igIsMouseDoubleClicked(button: ImGuiMouseButton) -> bool; @@ -6350,7 +6803,7 @@ extern "C" { pub fn igSetMouseCursor(cursor_type: ImGuiMouseCursor); } extern "C" { - pub fn igCaptureMouseFromApp(want_capture_mouse_value: bool); + pub fn igSetNextFrameWantCaptureMouse(want_capture_mouse: bool); } extern "C" { pub fn igGetClipboardText() -> *const cty::c_char; @@ -6370,6 +6823,9 @@ extern "C" { extern "C" { pub fn igSaveIniSettingsToMemory(out_ini_size: *mut usize) -> *const cty::c_char; } +extern "C" { + pub fn igDebugTextEncoding(text: *const cty::c_char); +} extern "C" { pub fn igDebugCheckVersionAndDataLayout( version_str: *const cty::c_char, @@ -6431,6 +6887,27 @@ extern "C" { extern "C" { pub fn ImGuiStyle_ScaleAllSizes(self_: *mut ImGuiStyle, scale_factor: f32); } +extern "C" { + pub fn ImGuiIO_AddKeyEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool); +} +extern "C" { + pub fn ImGuiIO_AddKeyAnalogEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool, v: f32); +} +extern "C" { + pub fn ImGuiIO_AddMousePosEvent(self_: *mut ImGuiIO, x: f32, y: f32); +} +extern "C" { + pub fn ImGuiIO_AddMouseButtonEvent(self_: *mut ImGuiIO, button: cty::c_int, down: bool); +} +extern "C" { + pub fn ImGuiIO_AddMouseWheelEvent(self_: *mut ImGuiIO, wh_x: f32, wh_y: f32); +} +extern "C" { + pub fn ImGuiIO_AddMouseViewportEvent(self_: *mut ImGuiIO, id: ImGuiID); +} +extern "C" { + pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); +} extern "C" { pub fn ImGuiIO_AddInputCharacter(self_: *mut ImGuiIO, c: cty::c_uint); } @@ -6441,7 +6918,16 @@ extern "C" { pub fn ImGuiIO_AddInputCharactersUTF8(self_: *mut ImGuiIO, str_: *const cty::c_char); } extern "C" { - pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); + pub fn ImGuiIO_SetKeyEventNativeData( + self_: *mut ImGuiIO, + key: ImGuiKey, + native_keycode: cty::c_int, + native_scancode: cty::c_int, + native_legacy_index: cty::c_int, + ); +} +extern "C" { + pub fn ImGuiIO_SetAppAcceptingEvents(self_: *mut ImGuiIO, accepting_events: bool); } extern "C" { pub fn ImGuiIO_ClearInputCharacters(self_: *mut ImGuiIO); @@ -6559,13 +7045,13 @@ extern "C" { pub fn ImGuiTextFilter_IsActive(self_: *mut ImGuiTextFilter) -> bool; } extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeNil() -> *mut ImGuiTextRange; + pub fn ImGuiTextRange_ImGuiTextRange_Nil() -> *mut ImGuiTextRange; } extern "C" { pub fn ImGuiTextRange_destroy(self_: *mut ImGuiTextRange); } extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeStr( + pub fn ImGuiTextRange_ImGuiTextRange_Str( _b: *const cty::c_char, _e: *const cty::c_char, ) -> *mut ImGuiTextRange; @@ -6615,7 +7101,7 @@ extern "C" { ); } extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairInt( + pub fn ImGuiStoragePair_ImGuiStoragePair_Int( _key: ImGuiID, _val_i: cty::c_int, ) -> *mut ImGuiStoragePair; @@ -6624,13 +7110,13 @@ extern "C" { pub fn ImGuiStoragePair_destroy(self_: *mut ImGuiStoragePair); } extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairFloat( + pub fn ImGuiStoragePair_ImGuiStoragePair_Float( _key: ImGuiID, _val_f: f32, ) -> *mut ImGuiStoragePair; } extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairPtr( + pub fn ImGuiStoragePair_ImGuiStoragePair_Ptr( _key: ImGuiID, _val_p: *mut cty::c_void, ) -> *mut ImGuiStoragePair; @@ -6727,13 +7213,19 @@ extern "C" { ); } extern "C" { - pub fn ImColor_ImColorNil() -> *mut ImColor; + pub fn ImColor_ImColor_Nil() -> *mut ImColor; } extern "C" { pub fn ImColor_destroy(self_: *mut ImColor); } extern "C" { - pub fn ImColor_ImColorInt( + pub fn ImColor_ImColor_Float(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; +} +extern "C" { + pub fn ImColor_ImColor_Vec4(col: ImVec4) -> *mut ImColor; +} +extern "C" { + pub fn ImColor_ImColor_Int( r: cty::c_int, g: cty::c_int, b: cty::c_int, @@ -6741,13 +7233,7 @@ extern "C" { ) -> *mut ImColor; } extern "C" { - pub fn ImColor_ImColorU32(rgba: ImU32) -> *mut ImColor; -} -extern "C" { - pub fn ImColor_ImColorFloat(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; -} -extern "C" { - pub fn ImColor_ImColorVec4(col: ImVec4) -> *mut ImColor; + pub fn ImColor_ImColor_U32(rgba: ImU32) -> *mut ImColor; } extern "C" { pub fn ImColor_SetHSV(self_: *mut ImColor, h: f32, s: f32, v: f32, a: f32); @@ -6794,7 +7280,7 @@ extern "C" { ); } extern "C" { - pub fn ImDrawList_ImDrawList(shared_data: *const ImDrawListSharedData) -> *mut ImDrawList; + pub fn ImDrawList_ImDrawList(shared_data: *mut ImDrawListSharedData) -> *mut ImDrawList; } extern "C" { pub fn ImDrawList_destroy(self_: *mut ImDrawList); @@ -6945,7 +7431,7 @@ extern "C" { ); } extern "C" { - pub fn ImDrawList_AddTextVec2( + pub fn ImDrawList_AddText_Vec2( self_: *mut ImDrawList, pos: ImVec2, col: ImU32, @@ -6954,7 +7440,7 @@ extern "C" { ); } extern "C" { - pub fn ImDrawList_AddTextFontPtr( + pub fn ImDrawList_AddText_FontPtr( self_: *mut ImDrawList, font: *const ImFont, font_size: f32, @@ -7395,6 +7881,9 @@ extern "C" { extern "C" { pub fn ImFontAtlas_GetGlyphRangesDefault(self_: *mut ImFontAtlas) -> *const ImWchar; } +extern "C" { + pub fn ImFontAtlas_GetGlyphRangesGreek(self_: *mut ImFontAtlas) -> *const ImWchar; +} extern "C" { pub fn ImFontAtlas_GetGlyphRangesKorean(self_: *mut ImFontAtlas) -> *const ImWchar; } @@ -7588,6 +8077,15 @@ extern "C" { extern "C" { pub fn ImGuiPlatformMonitor_destroy(self_: *mut ImGuiPlatformMonitor); } +extern "C" { + pub fn ImGuiPlatformImeData_ImGuiPlatformImeData() -> *mut ImGuiPlatformImeData; +} +extern "C" { + pub fn ImGuiPlatformImeData_destroy(self_: *mut ImGuiPlatformImeData); +} +extern "C" { + pub fn igGetKeyIndex(key: ImGuiKey) -> ImGuiKey; +} extern "C" { pub fn igImHashData(data: *const cty::c_void, data_size: usize, seed: ImU32) -> ImGuiID; } @@ -7608,10 +8106,10 @@ extern "C" { pub fn igImAlphaBlendColors(col_a: ImU32, col_b: ImU32) -> ImU32; } extern "C" { - pub fn igImIsPowerOfTwoInt(v: cty::c_int) -> bool; + pub fn igImIsPowerOfTwo_Int(v: cty::c_int) -> bool; } extern "C" { - pub fn igImIsPowerOfTwoU64(v: ImU64) -> bool; + pub fn igImIsPowerOfTwo_U64(v: ImU64) -> bool; } extern "C" { pub fn igImUpperPowerOfTwo(v: cty::c_int) -> cty::c_int; @@ -7672,6 +8170,15 @@ extern "C" { extern "C" { pub fn igImStrSkipBlank(str_: *const cty::c_char) -> *const cty::c_char; } +extern "C" { + pub fn igImToUpper(c: cty::c_char) -> cty::c_char; +} +extern "C" { + pub fn igImCharIsBlankA(c: cty::c_char) -> bool; +} +extern "C" { + pub fn igImCharIsBlankW(c: cty::c_uint) -> bool; +} extern "C" { pub fn igImFormatString( buf: *mut cty::c_char, @@ -7680,6 +8187,14 @@ extern "C" { ... ) -> cty::c_int; } +extern "C" { + pub fn igImFormatStringToTempBuffer( + out_buf: *mut *const cty::c_char, + out_buf_end: *mut *const cty::c_char, + fmt: *const cty::c_char, + ... + ); +} extern "C" { pub fn igImParseFormatFindStart(format: *const cty::c_char) -> *const cty::c_char; } @@ -7693,18 +8208,26 @@ extern "C" { buf_size: usize, ) -> *const cty::c_char; } +extern "C" { + pub fn igImParseFormatSanitizeForPrinting( + fmt_in: *const cty::c_char, + fmt_out: *mut cty::c_char, + fmt_out_size: usize, + ); +} +extern "C" { + pub fn igImParseFormatSanitizeForScanning( + fmt_in: *const cty::c_char, + fmt_out: *mut cty::c_char, + fmt_out_size: usize, + ) -> *const cty::c_char; +} extern "C" { pub fn igImParseFormatPrecision( format: *const cty::c_char, default_value: cty::c_int, ) -> cty::c_int; } -extern "C" { - pub fn igImCharIsBlankA(c: cty::c_char) -> bool; -} -extern "C" { - pub fn igImCharIsBlankW(c: cty::c_uint) -> bool; -} extern "C" { pub fn igImTextCharToUtf8(out_buf: *mut cty::c_char, c: cty::c_uint) -> *const cty::c_char; } @@ -7784,37 +8307,37 @@ extern "C" { ) -> *mut cty::c_void; } extern "C" { - pub fn igImPowFloat(x: f32, y: f32) -> f32; + pub fn igImPow_Float(x: f32, y: f32) -> f32; } extern "C" { - pub fn igImPowdouble(x: f64, y: f64) -> f64; + pub fn igImPow_double(x: f64, y: f64) -> f64; } extern "C" { - pub fn igImLogFloat(x: f32) -> f32; + pub fn igImLog_Float(x: f32) -> f32; } extern "C" { - pub fn igImLogdouble(x: f64) -> f64; + pub fn igImLog_double(x: f64) -> f64; } extern "C" { - pub fn igImAbsInt(x: cty::c_int) -> cty::c_int; + pub fn igImAbs_Int(x: cty::c_int) -> cty::c_int; } extern "C" { - pub fn igImAbsFloat(x: f32) -> f32; + pub fn igImAbs_Float(x: f32) -> f32; } extern "C" { - pub fn igImAbsdouble(x: f64) -> f64; + pub fn igImAbs_double(x: f64) -> f64; } extern "C" { - pub fn igImSignFloat(x: f32) -> f32; + pub fn igImSign_Float(x: f32) -> f32; } extern "C" { - pub fn igImSigndouble(x: f64) -> f64; + pub fn igImSign_double(x: f64) -> f64; } extern "C" { - pub fn igImRsqrtFloat(x: f32) -> f32; + pub fn igImRsqrt_Float(x: f32) -> f32; } extern "C" { - pub fn igImRsqrtdouble(x: f64) -> f64; + pub fn igImRsqrt_double(x: f64) -> f64; } extern "C" { pub fn igImMin(pOut: *mut ImVec2, lhs: ImVec2, rhs: ImVec2); @@ -7826,34 +8349,37 @@ extern "C" { pub fn igImClamp(pOut: *mut ImVec2, v: ImVec2, mn: ImVec2, mx: ImVec2); } extern "C" { - pub fn igImLerpVec2Float(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: f32); + pub fn igImLerp_Vec2Float(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: f32); } extern "C" { - pub fn igImLerpVec2Vec2(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: ImVec2); + pub fn igImLerp_Vec2Vec2(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: ImVec2); } extern "C" { - pub fn igImLerpVec4(pOut: *mut ImVec4, a: ImVec4, b: ImVec4, t: f32); + pub fn igImLerp_Vec4(pOut: *mut ImVec4, a: ImVec4, b: ImVec4, t: f32); } extern "C" { pub fn igImSaturate(f: f32) -> f32; } extern "C" { - pub fn igImLengthSqrVec2(lhs: ImVec2) -> f32; + pub fn igImLengthSqr_Vec2(lhs: ImVec2) -> f32; } extern "C" { - pub fn igImLengthSqrVec4(lhs: ImVec4) -> f32; + pub fn igImLengthSqr_Vec4(lhs: ImVec4) -> f32; } extern "C" { pub fn igImInvLength(lhs: ImVec2, fail_value: f32) -> f32; } extern "C" { - pub fn igImFloorFloat(f: f32) -> f32; + pub fn igImFloor_Float(f: f32) -> f32; } extern "C" { - pub fn igImFloorSigned(f: f32) -> f32; + pub fn igImFloorSigned_Float(f: f32) -> f32; } extern "C" { - pub fn igImFloorVec2(pOut: *mut ImVec2, v: ImVec2); + pub fn igImFloor_Vec2(pOut: *mut ImVec2, v: ImVec2); +} +extern "C" { + pub fn igImFloorSigned_Vec2(pOut: *mut ImVec2, v: ImVec2); } extern "C" { pub fn igImModPositive(a: cty::c_int, b: cty::c_int) -> cty::c_int; @@ -7935,40 +8461,40 @@ extern "C" { pub fn igImGetDirQuadrantFromDelta(dx: f32, dy: f32) -> ImGuiDir; } extern "C" { - pub fn ImVec1_ImVec1Nil() -> *mut ImVec1; + pub fn ImVec1_ImVec1_Nil() -> *mut ImVec1; } extern "C" { pub fn ImVec1_destroy(self_: *mut ImVec1); } extern "C" { - pub fn ImVec1_ImVec1Float(_x: f32) -> *mut ImVec1; + pub fn ImVec1_ImVec1_Float(_x: f32) -> *mut ImVec1; } extern "C" { - pub fn ImVec2ih_ImVec2ihNil() -> *mut ImVec2ih; + pub fn ImVec2ih_ImVec2ih_Nil() -> *mut ImVec2ih; } extern "C" { pub fn ImVec2ih_destroy(self_: *mut ImVec2ih); } extern "C" { - pub fn ImVec2ih_ImVec2ihshort(_x: cty::c_short, _y: cty::c_short) -> *mut ImVec2ih; + pub fn ImVec2ih_ImVec2ih_short(_x: cty::c_short, _y: cty::c_short) -> *mut ImVec2ih; } extern "C" { - pub fn ImVec2ih_ImVec2ihVec2(rhs: ImVec2) -> *mut ImVec2ih; + pub fn ImVec2ih_ImVec2ih_Vec2(rhs: ImVec2) -> *mut ImVec2ih; } extern "C" { - pub fn ImRect_ImRectNil() -> *mut ImRect; + pub fn ImRect_ImRect_Nil() -> *mut ImRect; } extern "C" { pub fn ImRect_destroy(self_: *mut ImRect); } extern "C" { - pub fn ImRect_ImRectVec2(min: ImVec2, max: ImVec2) -> *mut ImRect; + pub fn ImRect_ImRect_Vec2(min: ImVec2, max: ImVec2) -> *mut ImRect; } extern "C" { - pub fn ImRect_ImRectVec4(v: ImVec4) -> *mut ImRect; + pub fn ImRect_ImRect_Vec4(v: ImVec4) -> *mut ImRect; } extern "C" { - pub fn ImRect_ImRectFloat(x1: f32, y1: f32, x2: f32, y2: f32) -> *mut ImRect; + pub fn ImRect_ImRect_Float(x1: f32, y1: f32, x2: f32, y2: f32) -> *mut ImRect; } extern "C" { pub fn ImRect_GetCenter(pOut: *mut ImVec2, self_: *mut ImRect); @@ -7998,25 +8524,25 @@ extern "C" { pub fn ImRect_GetBR(pOut: *mut ImVec2, self_: *mut ImRect); } extern "C" { - pub fn ImRect_ContainsVec2(self_: *mut ImRect, p: ImVec2) -> bool; + pub fn ImRect_Contains_Vec2(self_: *mut ImRect, p: ImVec2) -> bool; } extern "C" { - pub fn ImRect_ContainsRect(self_: *mut ImRect, r: ImRect) -> bool; + pub fn ImRect_Contains_Rect(self_: *mut ImRect, r: ImRect) -> bool; } extern "C" { pub fn ImRect_Overlaps(self_: *mut ImRect, r: ImRect) -> bool; } extern "C" { - pub fn ImRect_AddVec2(self_: *mut ImRect, p: ImVec2); + pub fn ImRect_Add_Vec2(self_: *mut ImRect, p: ImVec2); } extern "C" { - pub fn ImRect_AddRect(self_: *mut ImRect, r: ImRect); + pub fn ImRect_Add_Rect(self_: *mut ImRect, r: ImRect); } extern "C" { - pub fn ImRect_ExpandFloat(self_: *mut ImRect, amount: f32); + pub fn ImRect_Expand_Float(self_: *mut ImRect, amount: f32); } extern "C" { - pub fn ImRect_ExpandVec2(self_: *mut ImRect, amount: ImVec2); + pub fn ImRect_Expand_Vec2(self_: *mut ImRect, amount: ImVec2); } extern "C" { pub fn ImRect_Translate(self_: *mut ImRect, d: ImVec2); @@ -8069,6 +8595,34 @@ extern "C" { extern "C" { pub fn ImBitVector_ClearBit(self_: *mut ImBitVector, n: cty::c_int); } +extern "C" { + pub fn ImGuiTextIndex_clear(self_: *mut ImGuiTextIndex); +} +extern "C" { + pub fn ImGuiTextIndex_size(self_: *mut ImGuiTextIndex) -> cty::c_int; +} +extern "C" { + pub fn ImGuiTextIndex_get_line_begin( + self_: *mut ImGuiTextIndex, + base: *const cty::c_char, + n: cty::c_int, + ) -> *const cty::c_char; +} +extern "C" { + pub fn ImGuiTextIndex_get_line_end( + self_: *mut ImGuiTextIndex, + base: *const cty::c_char, + n: cty::c_int, + ) -> *const cty::c_char; +} +extern "C" { + pub fn ImGuiTextIndex_append( + self_: *mut ImGuiTextIndex, + base: *const cty::c_char, + old_size: cty::c_int, + new_size: cty::c_int, + ); +} extern "C" { pub fn ImDrawListSharedData_ImDrawListSharedData() -> *mut ImDrawListSharedData; } @@ -8094,16 +8648,17 @@ extern "C" { pub fn ImDrawDataBuilder_FlattenIntoSingleLayer(self_: *mut ImDrawDataBuilder); } extern "C" { - pub fn ImGuiStyleMod_ImGuiStyleModInt(idx: ImGuiStyleVar, v: cty::c_int) -> *mut ImGuiStyleMod; + pub fn ImGuiStyleMod_ImGuiStyleMod_Int(idx: ImGuiStyleVar, v: cty::c_int) + -> *mut ImGuiStyleMod; } extern "C" { pub fn ImGuiStyleMod_destroy(self_: *mut ImGuiStyleMod); } extern "C" { - pub fn ImGuiStyleMod_ImGuiStyleModFloat(idx: ImGuiStyleVar, v: f32) -> *mut ImGuiStyleMod; + pub fn ImGuiStyleMod_ImGuiStyleMod_Float(idx: ImGuiStyleVar, v: f32) -> *mut ImGuiStyleMod; } extern "C" { - pub fn ImGuiStyleMod_ImGuiStyleModVec2(idx: ImGuiStyleVar, v: ImVec2) -> *mut ImGuiStyleMod; + pub fn ImGuiStyleMod_ImGuiStyleMod_Vec2(idx: ImGuiStyleVar, v: ImVec2) -> *mut ImGuiStyleMod; } extern "C" { pub fn ImGuiComboPreviewData_ImGuiComboPreviewData() -> *mut ImGuiComboPreviewData; @@ -8224,13 +8779,40 @@ extern "C" { pub fn ImGuiStackSizes_CompareWithCurrentState(self_: *mut ImGuiStackSizes); } extern "C" { - pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr(ptr: *mut cty::c_void) -> *mut ImGuiPtrOrIndex; + pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr: *mut cty::c_void) -> *mut ImGuiPtrOrIndex; } extern "C" { pub fn ImGuiPtrOrIndex_destroy(self_: *mut ImGuiPtrOrIndex); } extern "C" { - pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndexInt(index: cty::c_int) -> *mut ImGuiPtrOrIndex; + pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(index: cty::c_int) -> *mut ImGuiPtrOrIndex; +} +extern "C" { + pub fn ImGuiInputEvent_ImGuiInputEvent() -> *mut ImGuiInputEvent; +} +extern "C" { + pub fn ImGuiInputEvent_destroy(self_: *mut ImGuiInputEvent); +} +extern "C" { + pub fn ImGuiKeyRoutingData_ImGuiKeyRoutingData() -> *mut ImGuiKeyRoutingData; +} +extern "C" { + pub fn ImGuiKeyRoutingData_destroy(self_: *mut ImGuiKeyRoutingData); +} +extern "C" { + pub fn ImGuiKeyRoutingTable_ImGuiKeyRoutingTable() -> *mut ImGuiKeyRoutingTable; +} +extern "C" { + pub fn ImGuiKeyRoutingTable_destroy(self_: *mut ImGuiKeyRoutingTable); +} +extern "C" { + pub fn ImGuiKeyRoutingTable_Clear(self_: *mut ImGuiKeyRoutingTable); +} +extern "C" { + pub fn ImGuiKeyOwnerData_ImGuiKeyOwnerData() -> *mut ImGuiKeyOwnerData; +} +extern "C" { + pub fn ImGuiKeyOwnerData_destroy(self_: *mut ImGuiKeyOwnerData); } extern "C" { pub fn ImGuiListClipperRange_FromIndices( @@ -8418,33 +9000,17 @@ extern "C" { pub fn ImGuiWindow_destroy(self_: *mut ImGuiWindow); } extern "C" { - pub fn ImGuiWindow_GetIDStr( + pub fn ImGuiWindow_GetID_Str( self_: *mut ImGuiWindow, str_: *const cty::c_char, str_end: *const cty::c_char, ) -> ImGuiID; } extern "C" { - pub fn ImGuiWindow_GetIDPtr(self_: *mut ImGuiWindow, ptr: *const cty::c_void) -> ImGuiID; + pub fn ImGuiWindow_GetID_Ptr(self_: *mut ImGuiWindow, ptr: *const cty::c_void) -> ImGuiID; } extern "C" { - pub fn ImGuiWindow_GetIDInt(self_: *mut ImGuiWindow, n: cty::c_int) -> ImGuiID; -} -extern "C" { - pub fn ImGuiWindow_GetIDNoKeepAliveStr( - self_: *mut ImGuiWindow, - str_: *const cty::c_char, - str_end: *const cty::c_char, - ) -> ImGuiID; -} -extern "C" { - pub fn ImGuiWindow_GetIDNoKeepAlivePtr( - self_: *mut ImGuiWindow, - ptr: *const cty::c_void, - ) -> ImGuiID; -} -extern "C" { - pub fn ImGuiWindow_GetIDNoKeepAliveInt(self_: *mut ImGuiWindow, n: cty::c_int) -> ImGuiID; + pub fn ImGuiWindow_GetID_Int(self_: *mut ImGuiWindow, n: cty::c_int) -> ImGuiID; } extern "C" { pub fn ImGuiWindow_GetIDFromRectangle(self_: *mut ImGuiWindow, r_abs: ImRect) -> ImGuiID; @@ -8495,6 +9061,12 @@ extern "C" { extern "C" { pub fn ImGuiTableColumn_destroy(self_: *mut ImGuiTableColumn); } +extern "C" { + pub fn ImGuiTableInstanceData_ImGuiTableInstanceData() -> *mut ImGuiTableInstanceData; +} +extern "C" { + pub fn ImGuiTableInstanceData_destroy(self_: *mut ImGuiTableInstanceData); +} extern "C" { pub fn ImGuiTable_ImGuiTable() -> *mut ImGuiTable; } @@ -8570,13 +9142,13 @@ extern "C" { pub fn igIsWindowNavFocusable(window: *mut ImGuiWindow) -> bool; } extern "C" { - pub fn igSetWindowPosWindowPtr(window: *mut ImGuiWindow, pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_WindowPtr(window: *mut ImGuiWindow, pos: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowSizeWindowPtr(window: *mut ImGuiWindow, size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_WindowPtr(window: *mut ImGuiWindow, size: ImVec2, cond: ImGuiCond); } extern "C" { - pub fn igSetWindowCollapsedWindowPtr( + pub fn igSetWindowCollapsed_WindowPtr( window: *mut ImGuiWindow, collapsed: bool, cond: ImGuiCond, @@ -8627,13 +9199,16 @@ extern "C" { pub fn igGetDefaultFont() -> *mut ImFont; } extern "C" { - pub fn igGetForegroundDrawListWindowPtr(window: *mut ImGuiWindow) -> *mut ImDrawList; + pub fn igGetForegroundDrawList_WindowPtr(window: *mut ImGuiWindow) -> *mut ImDrawList; } extern "C" { - pub fn igInitialize(context: *mut ImGuiContext); + pub fn igInitialize(); } extern "C" { - pub fn igShutdown(context: *mut ImGuiContext); + pub fn igShutdown(); +} +extern "C" { + pub fn igUpdateInputEvents(trickle_fast_inputs: bool); } extern "C" { pub fn igUpdateHoveredWindowAndCaptureFlags(); @@ -8676,6 +9251,9 @@ extern "C" { extern "C" { pub fn igDestroyPlatformWindow(viewport: *mut ImGuiViewportP); } +extern "C" { + pub fn igSetWindowViewport(window: *mut ImGuiWindow, viewport: *mut ImGuiViewportP); +} extern "C" { pub fn igSetCurrentViewport(window: *mut ImGuiWindow, viewport: *mut ImGuiViewportP); } @@ -8685,10 +9263,15 @@ extern "C" { ) -> *const ImGuiPlatformMonitor; } extern "C" { - pub fn igMarkIniSettingsDirtyNil(); + pub fn igFindHoveredViewportFromPlatformWindowStack( + mouse_platform_pos: ImVec2, + ) -> *mut ImGuiViewportP; } extern "C" { - pub fn igMarkIniSettingsDirtyWindowPtr(window: *mut ImGuiWindow); + pub fn igMarkIniSettingsDirty_Nil(); +} +extern "C" { + pub fn igMarkIniSettingsDirty_WindowPtr(window: *mut ImGuiWindow); } extern "C" { pub fn igClearIniSettings(); @@ -8702,27 +9285,36 @@ extern "C" { extern "C" { pub fn igFindOrCreateWindowSettings(name: *const cty::c_char) -> *mut ImGuiWindowSettings; } +extern "C" { + pub fn igAddSettingsHandler(handler: *const ImGuiSettingsHandler); +} +extern "C" { + pub fn igRemoveSettingsHandler(type_name: *const cty::c_char); +} extern "C" { pub fn igFindSettingsHandler(type_name: *const cty::c_char) -> *mut ImGuiSettingsHandler; } extern "C" { - pub fn igSetNextWindowScroll(scroll: ImVec2); + pub fn igLocalizeRegisterEntries(entries: *const ImGuiLocEntry, count: cty::c_int); } extern "C" { - pub fn igSetScrollXWindowPtr(window: *mut ImGuiWindow, scroll_x: f32); + pub fn igLocalizeGetMsg(key: ImGuiLocKey) -> *const cty::c_char; } extern "C" { - pub fn igSetScrollYWindowPtr(window: *mut ImGuiWindow, scroll_y: f32); + pub fn igSetScrollX_WindowPtr(window: *mut ImGuiWindow, scroll_x: f32); } extern "C" { - pub fn igSetScrollFromPosXWindowPtr( + pub fn igSetScrollY_WindowPtr(window: *mut ImGuiWindow, scroll_y: f32); +} +extern "C" { + pub fn igSetScrollFromPosX_WindowPtr( window: *mut ImGuiWindow, local_x: f32, center_x_ratio: f32, ); } extern "C" { - pub fn igSetScrollFromPosYWindowPtr( + pub fn igSetScrollFromPosY_WindowPtr( window: *mut ImGuiWindow, local_y: f32, center_y_ratio: f32, @@ -8792,10 +9384,10 @@ extern "C" { ) -> ImGuiID; } extern "C" { - pub fn igItemSizeVec2(size: ImVec2, text_baseline_y: f32); + pub fn igItemSize_Vec2(size: ImVec2, text_baseline_y: f32); } extern "C" { - pub fn igItemSizeRect(bb: ImRect, text_baseline_y: f32); + pub fn igItemSize_Rect(bb: ImRect, text_baseline_y: f32); } extern "C" { pub fn igItemAdd( @@ -8884,7 +9476,7 @@ extern "C" { pub fn igClosePopupsExceptModals(); } extern "C" { - pub fn igIsPopupOpenID(id: ImGuiID, popup_flags: ImGuiPopupFlags) -> bool; + pub fn igIsPopupOpen_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags) -> bool; } extern "C" { pub fn igBeginPopupEx(id: ImGuiID, extra_flags: ImGuiWindowFlags) -> bool; @@ -8986,29 +9578,12 @@ extern "C" { extern "C" { pub fn igNavMoveRequestTryWrapping(window: *mut ImGuiWindow, move_flags: ImGuiNavMoveFlags); } -extern "C" { - pub fn igGetNavInputAmount(n: ImGuiNavInput, mode: ImGuiInputReadMode) -> f32; -} -extern "C" { - pub fn igGetNavInputAmount2d( - pOut: *mut ImVec2, - dir_sources: ImGuiNavDirSourceFlags, - mode: ImGuiInputReadMode, - slow_factor: f32, - fast_factor: f32, - ); -} -extern "C" { - pub fn igCalcTypematicRepeatAmount( - t0: f32, - t1: f32, - repeat_delay: f32, - repeat_rate: f32, - ) -> cty::c_int; -} extern "C" { pub fn igActivateItem(id: ImGuiID); } +extern "C" { + pub fn igSetNavWindow(window: *mut ImGuiWindow); +} extern "C" { pub fn igSetNavID( id: ImGuiID, @@ -9018,46 +9593,130 @@ extern "C" { ); } extern "C" { - pub fn igPushFocusScope(id: ImGuiID); + pub fn igIsNamedKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igPopFocusScope(); + pub fn igIsNamedKeyOrModKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igGetFocusedFocusScope() -> ImGuiID; + pub fn igIsLegacyKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igGetFocusScope() -> ImGuiID; + pub fn igIsKeyboardKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igSetItemUsingMouseWheel(); + pub fn igIsGamepadKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igSetActiveIdUsingNavAndKeys(); + pub fn igIsMouseKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igIsActiveIdUsingNavDir(dir: ImGuiDir) -> bool; + pub fn igIsAliasKey(key: ImGuiKey) -> bool; } extern "C" { - pub fn igIsActiveIdUsingNavInput(input: ImGuiNavInput) -> bool; + pub fn igConvertSingleModFlagToKey(key: ImGuiKey) -> ImGuiKey; } extern "C" { - pub fn igIsActiveIdUsingKey(key: ImGuiKey) -> bool; + pub fn igGetKeyData(key: ImGuiKey) -> *mut ImGuiKeyData; +} +extern "C" { + pub fn igGetKeyChordName( + key_chord: ImGuiKeyChord, + out_buf: *mut cty::c_char, + out_buf_size: cty::c_int, + ); +} +extern "C" { + pub fn igMouseButtonToKey(button: ImGuiMouseButton) -> ImGuiKey; } extern "C" { pub fn igIsMouseDragPastThreshold(button: ImGuiMouseButton, lock_threshold: f32) -> bool; } extern "C" { - pub fn igIsKeyPressedMap(key: ImGuiKey, repeat: bool) -> bool; + pub fn igGetKeyVector2d( + pOut: *mut ImVec2, + key_left: ImGuiKey, + key_right: ImGuiKey, + key_up: ImGuiKey, + key_down: ImGuiKey, + ); } extern "C" { - pub fn igIsNavInputDown(n: ImGuiNavInput) -> bool; + pub fn igGetNavTweakPressedAmount(axis: ImGuiAxis) -> f32; } extern "C" { - pub fn igIsNavInputTest(n: ImGuiNavInput, rm: ImGuiInputReadMode) -> bool; + pub fn igCalcTypematicRepeatAmount( + t0: f32, + t1: f32, + repeat_delay: f32, + repeat_rate: f32, + ) -> cty::c_int; } extern "C" { - pub fn igGetMergedKeyModFlags() -> ImGuiKeyModFlags; + pub fn igGetTypematicRepeatRate( + flags: ImGuiInputFlags, + repeat_delay: *mut f32, + repeat_rate: *mut f32, + ); +} +extern "C" { + pub fn igSetActiveIdUsingAllKeyboardKeys(); +} +extern "C" { + pub fn igIsActiveIdUsingNavDir(dir: ImGuiDir) -> bool; +} +extern "C" { + pub fn igGetKeyOwner(key: ImGuiKey) -> ImGuiID; +} +extern "C" { + pub fn igSetKeyOwner(key: ImGuiKey, owner_id: ImGuiID, flags: ImGuiInputFlags); +} +extern "C" { + pub fn igSetItemKeyOwner(key: ImGuiKey, flags: ImGuiInputFlags); +} +extern "C" { + pub fn igTestKeyOwner(key: ImGuiKey, owner_id: ImGuiID) -> bool; +} +extern "C" { + pub fn igGetKeyOwnerData(key: ImGuiKey) -> *mut ImGuiKeyOwnerData; +} +extern "C" { + pub fn igIsKeyDown_ID(key: ImGuiKey, owner_id: ImGuiID) -> bool; +} +extern "C" { + pub fn igIsKeyPressed_ID(key: ImGuiKey, owner_id: ImGuiID, flags: ImGuiInputFlags) -> bool; +} +extern "C" { + pub fn igIsKeyReleased_ID(key: ImGuiKey, owner_id: ImGuiID) -> bool; +} +extern "C" { + pub fn igIsMouseDown_ID(button: ImGuiMouseButton, owner_id: ImGuiID) -> bool; +} +extern "C" { + pub fn igIsMouseClicked_ID( + button: ImGuiMouseButton, + owner_id: ImGuiID, + flags: ImGuiInputFlags, + ) -> bool; +} +extern "C" { + pub fn igIsMouseReleased_ID(button: ImGuiMouseButton, owner_id: ImGuiID) -> bool; +} +extern "C" { + pub fn igShortcut(key_chord: ImGuiKeyChord, owner_id: ImGuiID, flags: ImGuiInputFlags) -> bool; +} +extern "C" { + pub fn igSetShortcutRouting( + key_chord: ImGuiKeyChord, + owner_id: ImGuiID, + flags: ImGuiInputFlags, + ) -> bool; +} +extern "C" { + pub fn igTestShortcutRouting(key_chord: ImGuiKeyChord, owner_id: ImGuiID) -> bool; +} +extern "C" { + pub fn igGetShortcutRoutingData(key_chord: ImGuiKeyChord) -> *mut ImGuiKeyRoutingData; } extern "C" { pub fn igDockContextInitialize(ctx: *mut ImGuiContext); @@ -9108,12 +9767,16 @@ extern "C" { pub fn igDockContextCalcDropPosForDocking( target: *mut ImGuiWindow, target_node: *mut ImGuiDockNode, - payload: *mut ImGuiWindow, + payload_window: *mut ImGuiWindow, + payload_node: *mut ImGuiDockNode, split_dir: ImGuiDir, split_outer: bool, out_pos: *mut ImVec2, ) -> bool; } +extern "C" { + pub fn igDockContextFindNodeByID(ctx: *mut ImGuiContext, id: ImGuiID) -> *mut ImGuiDockNode; +} extern "C" { pub fn igDockNodeBeginAmendTabBar(node: *mut ImGuiDockNode) -> bool; } @@ -9209,6 +9872,18 @@ extern "C" { extern "C" { pub fn igDockBuilderFinish(node_id: ImGuiID); } +extern "C" { + pub fn igPushFocusScope(id: ImGuiID); +} +extern "C" { + pub fn igPopFocusScope(); +} +extern "C" { + pub fn igGetCurrentFocusScope() -> ImGuiID; +} +extern "C" { + pub fn igIsDragDropActive() -> bool; +} extern "C" { pub fn igBeginDragDropTargetCustom(bb: ImRect, id: ImGuiID) -> bool; } @@ -9218,6 +9893,9 @@ extern "C" { extern "C" { pub fn igIsDragDropPayloadBeingAccepted() -> bool; } +extern "C" { + pub fn igRenderDragDropTargetRect(bb: ImRect); +} extern "C" { pub fn igSetWindowClipRectBeforeSetChannel(window: *mut ImGuiWindow, clip_rect: ImRect); } @@ -9317,9 +9995,18 @@ extern "C" { extern "C" { pub fn igTableDrawContextMenu(table: *mut ImGuiTable); } +extern "C" { + pub fn igTableBeginContextMenuPopup(table: *mut ImGuiTable) -> bool; +} extern "C" { pub fn igTableMergeDrawChannels(table: *mut ImGuiTable); } +extern "C" { + pub fn igTableGetInstanceData( + table: *mut ImGuiTable, + instance_no: cty::c_int, + ) -> *mut ImGuiTableInstanceData; +} extern "C" { pub fn igTableSortSpecsSanitize(table: *mut ImGuiTable); } @@ -9351,7 +10038,7 @@ extern "C" { pub fn igTableGetCellBgRect(pOut: *mut ImRect, table: *const ImGuiTable, column_n: cty::c_int); } extern "C" { - pub fn igTableGetColumnNameTablePtr( + pub fn igTableGetColumnName_TablePtr( table: *const ImGuiTable, column_n: cty::c_int, ) -> *const cty::c_char; @@ -9376,10 +10063,10 @@ extern "C" { pub fn igTableRemove(table: *mut ImGuiTable); } extern "C" { - pub fn igTableGcCompactTransientBuffersTablePtr(table: *mut ImGuiTable); + pub fn igTableGcCompactTransientBuffers_TablePtr(table: *mut ImGuiTable); } extern "C" { - pub fn igTableGcCompactTransientBuffersTableTempDataPtr(table: *mut ImGuiTableTempData); + pub fn igTableGcCompactTransientBuffers_TableTempDataPtr(table: *mut ImGuiTableTempData); } extern "C" { pub fn igTableGcCompactSettings(); @@ -9397,7 +10084,7 @@ extern "C" { pub fn igTableGetBoundSettings(table: *mut ImGuiTable) -> *mut ImGuiTableSettings; } extern "C" { - pub fn igTableSettingsInstallHandler(context: *mut ImGuiContext); + pub fn igTableSettingsAddSettingsHandler(); } extern "C" { pub fn igTableSettingsCreate(id: ImGuiID, columns_count: cty::c_int) @@ -9462,7 +10149,14 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igTabItemCalcSize(pOut: *mut ImVec2, label: *const cty::c_char, has_close_button: bool); + pub fn igTabItemCalcSize_Str( + pOut: *mut ImVec2, + label: *const cty::c_char, + has_close_button_or_unsaved_marker: bool, + ); +} +extern "C" { + pub fn igTabItemCalcSize_WindowPtr(pOut: *mut ImVec2, window: *mut ImGuiWindow); } extern "C" { pub fn igTabItemBackground( @@ -9570,6 +10264,16 @@ extern "C" { text_end: *const cty::c_char, ) -> *const cty::c_char; } +extern "C" { + pub fn igRenderMouseCursor( + pos: ImVec2, + scale: f32, + mouse_cursor: ImGuiMouseCursor, + col_fill: ImU32, + col_border: ImU32, + col_shadow: ImU32, + ); +} extern "C" { pub fn igRenderArrow( draw_list: *mut ImDrawList, @@ -9585,17 +10289,6 @@ extern "C" { extern "C" { pub fn igRenderCheckMark(draw_list: *mut ImDrawList, pos: ImVec2, col: ImU32, sz: f32); } -extern "C" { - pub fn igRenderMouseCursor( - draw_list: *mut ImDrawList, - pos: ImVec2, - scale: f32, - mouse_cursor: ImGuiMouseCursor, - col_fill: ImU32, - col_border: ImU32, - col_shadow: ImU32, - ); -} extern "C" { pub fn igRenderArrowPointingAt( draw_list: *mut ImDrawList, @@ -9676,7 +10369,6 @@ extern "C" { size: ImVec2, uv0: ImVec2, uv1: ImVec2, - padding: ImVec2, bg_col: ImVec4, tint_col: ImVec4, ) -> bool; @@ -9697,14 +10389,14 @@ extern "C" { pub fn igSeparatorEx(flags: ImGuiSeparatorFlags); } extern "C" { - pub fn igCheckboxFlagsS64Ptr( + pub fn igCheckboxFlags_S64Ptr( label: *const cty::c_char, flags: *mut ImS64, flags_value: ImS64, ) -> bool; } extern "C" { - pub fn igCheckboxFlagsU64Ptr( + pub fn igCheckboxFlags_U64Ptr( label: *const cty::c_char, flags: *mut ImU64, flags_value: ImU64, @@ -9767,10 +10459,13 @@ extern "C" { ) -> bool; } extern "C" { - pub fn igTreeNodeBehaviorIsOpen(id: ImGuiID, flags: ImGuiTreeNodeFlags) -> bool; + pub fn igTreePushOverrideID(id: ImGuiID); } extern "C" { - pub fn igTreePushOverrideID(id: ImGuiID); + pub fn igTreeNodeSetOpen(id: ImGuiID, open: bool); +} +extern "C" { + pub fn igTreeNodeUpdateNextOpen(id: ImGuiID, flags: ImGuiTreeNodeFlags) -> bool; } extern "C" { pub fn igDataTypeGetInfo(data_type: ImGuiDataType) -> *const ImGuiDataTypeInfo; @@ -9794,9 +10489,8 @@ extern "C" { ); } extern "C" { - pub fn igDataTypeApplyOpFromText( + pub fn igDataTypeApplyFromText( buf: *const cty::c_char, - initial_value_buf: *const cty::c_char, data_type: ImGuiDataType, p_data: *mut cty::c_void, format: *const cty::c_char, @@ -9914,6 +10608,9 @@ extern "C" { extern "C" { pub fn igGcAwakeTransientWindowBuffers(window: *mut ImGuiWindow); } +extern "C" { + pub fn igDebugLog(fmt: *const cty::c_char, ...); +} extern "C" { pub fn igErrorCheckEndFrameRecover( log_callback: ImGuiErrorLogCallback, @@ -9926,6 +10623,18 @@ extern "C" { user_data: *mut cty::c_void, ); } +extern "C" { + pub fn igErrorCheckUsingSetCursorPosToExtendParentBoundaries(); +} +extern "C" { + pub fn igDebugLocateItem(target_id: ImGuiID); +} +extern "C" { + pub fn igDebugLocateItemOnHover(target_id: ImGuiID); +} +extern "C" { + pub fn igDebugLocateItemResolveWithLastItem(); +} extern "C" { pub fn igDebugDrawItemRect(col: ImU32); } @@ -9969,6 +10678,9 @@ extern "C" { extern "C" { pub fn igDebugNodeFont(font: *mut ImFont); } +extern "C" { + pub fn igDebugNodeFontGlyph(font: *mut ImFont, glyph: *const ImFontGlyph); +} extern "C" { pub fn igDebugNodeStorage(storage: *mut ImGuiStorage, label: *const cty::c_char); } @@ -9981,6 +10693,9 @@ extern "C" { extern "C" { pub fn igDebugNodeTableSettings(settings: *mut ImGuiTableSettings); } +extern "C" { + pub fn igDebugNodeInputTextState(state: *mut ImGuiInputTextState); +} extern "C" { pub fn igDebugNodeWindow(window: *mut ImGuiWindow, label: *const cty::c_char); } @@ -10007,6 +10722,9 @@ extern "C" { bb: ImRect, ); } +extern "C" { + pub fn igIsKeyPressedMap(key: ImGuiKey, repeat: bool) -> bool; +} extern "C" { pub fn igImFontAtlasGetBuilderForStbTruetype() -> *const ImFontBuilderIO; } diff --git a/imgui-sys/src/wasm_bindings.rs b/imgui-sys/src/wasm_bindings.rs index c2e90ef..cef00dd 100644 --- a/imgui-sys/src/wasm_bindings.rs +++ b/imgui-sys/src/wasm_bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.59.1 */ +/* automatically generated by rust-bindgen 0.63.0 */ #![allow(nonstandard_style, clippy::all)] @@ -84,7 +84,7 @@ where } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImGuiContext { +pub struct ImDrawListSharedData { _unused: [u8; 0], } #[repr(C)] @@ -94,14 +94,13 @@ pub struct ImFontBuilderIO { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImDrawListSharedData { +pub struct ImGuiContext { _unused: [u8; 0], } pub type ImGuiCol = cty::c_int; pub type ImGuiCond = cty::c_int; pub type ImGuiDataType = cty::c_int; pub type ImGuiDir = cty::c_int; -pub type ImGuiKey = cty::c_int; pub type ImGuiMouseButton = cty::c_int; pub type ImGuiMouseCursor = cty::c_int; pub type ImGuiSortDirection = cty::c_int; @@ -119,7 +118,7 @@ pub type ImGuiDragDropFlags = cty::c_int; pub type ImGuiFocusedFlags = cty::c_int; pub type ImGuiHoveredFlags = cty::c_int; pub type ImGuiInputTextFlags = cty::c_int; -pub type ImGuiKeyModFlags = cty::c_int; +pub type ImGuiKeyChord = cty::c_int; pub type ImGuiPopupFlags = cty::c_int; pub type ImGuiSelectableFlags = cty::c_int; pub type ImGuiSliderFlags = cty::c_int; @@ -134,6 +133,7 @@ pub type ImGuiWindowFlags = cty::c_int; pub type ImTextureID = *mut cty::c_void; pub type ImDrawIdx = cty::c_ushort; pub type ImGuiID = cty::c_uint; +pub type ImS8 = cty::c_schar; pub type ImU8 = cty::c_uchar; pub type ImS16 = cty::c_short; pub type ImU16 = cty::c_ushort; @@ -152,281 +152,6 @@ pub type ImGuiMemAllocFunc = ::core::option::Option< pub type ImGuiMemFreeFunc = ::core::option::Option< unsafe extern "C" fn(ptr: *mut cty::c_void, user_data: *mut cty::c_void), >; -pub type ImDrawCallback = ::core::option::Option< - unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawChannel { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawChannel, -} -impl Default for ImVector_ImDrawChannel { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawCmd { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawCmd, -} -impl Default for ImVector_ImDrawCmd { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawIdx { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawIdx, -} -impl Default for ImVector_ImDrawIdx { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawVert { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawVert, -} -impl Default for ImVector_ImDrawVert { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImFont, -} -impl Default for ImVector_ImFontPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontAtlasCustomRect { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontAtlasCustomRect, -} -impl Default for ImVector_ImFontAtlasCustomRect { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontConfig { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontConfig, -} -impl Default for ImVector_ImFontConfig { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontGlyph { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontGlyph, -} -impl Default for ImVector_ImFontGlyph { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStoragePair { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStoragePair, -} -impl Default for ImVector_ImGuiStoragePair { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTextRange { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTextRange, -} -impl Default for ImVector_ImGuiTextRange { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImTextureID { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImTextureID, -} -impl Default for ImVector_ImTextureID { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImU32 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImU32, -} -impl Default for ImVector_ImU32 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec2 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec2, -} -impl Default for ImVector_ImVec2 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec4 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec4, -} -impl Default for ImVector_ImVec4 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImWchar { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImWchar, -} -impl Default for ImVector_ImWchar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_char { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut cty::c_char, -} -impl Default for ImVector_char { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_float { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut f32, -} -impl Default for ImVector_float { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImVec2 { @@ -493,6 +218,7 @@ pub const ImGuiInputTextFlags_NoUndoRedo: ImGuiInputTextFlags_ = 65536; pub const ImGuiInputTextFlags_CharsScientific: ImGuiInputTextFlags_ = 131072; pub const ImGuiInputTextFlags_CallbackResize: ImGuiInputTextFlags_ = 262144; pub const ImGuiInputTextFlags_CallbackEdit: ImGuiInputTextFlags_ = 524288; +pub const ImGuiInputTextFlags_EscapeClearsAll: ImGuiInputTextFlags_ = 1048576; pub type ImGuiInputTextFlags_ = cty::c_uint; pub const ImGuiTreeNodeFlags_None: ImGuiTreeNodeFlags_ = 0; pub const ImGuiTreeNodeFlags_Selected: ImGuiTreeNodeFlags_ = 1; @@ -651,8 +377,12 @@ pub const ImGuiHoveredFlags_AllowWhenBlockedByPopup: ImGuiHoveredFlags_ = 32; pub const ImGuiHoveredFlags_AllowWhenBlockedByActiveItem: ImGuiHoveredFlags_ = 128; pub const ImGuiHoveredFlags_AllowWhenOverlapped: ImGuiHoveredFlags_ = 256; pub const ImGuiHoveredFlags_AllowWhenDisabled: ImGuiHoveredFlags_ = 512; +pub const ImGuiHoveredFlags_NoNavOverride: ImGuiHoveredFlags_ = 1024; pub const ImGuiHoveredFlags_RectOnly: ImGuiHoveredFlags_ = 416; pub const ImGuiHoveredFlags_RootAndChildWindows: ImGuiHoveredFlags_ = 3; +pub const ImGuiHoveredFlags_DelayNormal: ImGuiHoveredFlags_ = 2048; +pub const ImGuiHoveredFlags_DelayShort: ImGuiHoveredFlags_ = 4096; +pub const ImGuiHoveredFlags_NoSharedDelay: ImGuiHoveredFlags_ = 8192; pub type ImGuiHoveredFlags_ = cty::c_uint; pub const ImGuiDragDropFlags_None: ImGuiDragDropFlags_ = 0; pub const ImGuiDragDropFlags_SourceNoPreviewTooltip: ImGuiDragDropFlags_ = 1; @@ -689,59 +419,179 @@ pub const ImGuiSortDirection_None: ImGuiSortDirection_ = 0; pub const ImGuiSortDirection_Ascending: ImGuiSortDirection_ = 1; pub const ImGuiSortDirection_Descending: ImGuiSortDirection_ = 2; pub type ImGuiSortDirection_ = cty::c_uint; -pub const ImGuiKey_Tab: ImGuiKey_ = 0; -pub const ImGuiKey_LeftArrow: ImGuiKey_ = 1; -pub const ImGuiKey_RightArrow: ImGuiKey_ = 2; -pub const ImGuiKey_UpArrow: ImGuiKey_ = 3; -pub const ImGuiKey_DownArrow: ImGuiKey_ = 4; -pub const ImGuiKey_PageUp: ImGuiKey_ = 5; -pub const ImGuiKey_PageDown: ImGuiKey_ = 6; -pub const ImGuiKey_Home: ImGuiKey_ = 7; -pub const ImGuiKey_End: ImGuiKey_ = 8; -pub const ImGuiKey_Insert: ImGuiKey_ = 9; -pub const ImGuiKey_Delete: ImGuiKey_ = 10; -pub const ImGuiKey_Backspace: ImGuiKey_ = 11; -pub const ImGuiKey_Space: ImGuiKey_ = 12; -pub const ImGuiKey_Enter: ImGuiKey_ = 13; -pub const ImGuiKey_Escape: ImGuiKey_ = 14; -pub const ImGuiKey_KeyPadEnter: ImGuiKey_ = 15; -pub const ImGuiKey_A: ImGuiKey_ = 16; -pub const ImGuiKey_C: ImGuiKey_ = 17; -pub const ImGuiKey_V: ImGuiKey_ = 18; -pub const ImGuiKey_X: ImGuiKey_ = 19; -pub const ImGuiKey_Y: ImGuiKey_ = 20; -pub const ImGuiKey_Z: ImGuiKey_ = 21; -pub const ImGuiKey_COUNT: ImGuiKey_ = 22; -pub type ImGuiKey_ = cty::c_uint; -pub const ImGuiKeyModFlags_None: ImGuiKeyModFlags_ = 0; -pub const ImGuiKeyModFlags_Ctrl: ImGuiKeyModFlags_ = 1; -pub const ImGuiKeyModFlags_Shift: ImGuiKeyModFlags_ = 2; -pub const ImGuiKeyModFlags_Alt: ImGuiKeyModFlags_ = 4; -pub const ImGuiKeyModFlags_Super: ImGuiKeyModFlags_ = 8; -pub type ImGuiKeyModFlags_ = cty::c_uint; -pub const ImGuiNavInput_Activate: ImGuiNavInput_ = 0; -pub const ImGuiNavInput_Cancel: ImGuiNavInput_ = 1; -pub const ImGuiNavInput_Input: ImGuiNavInput_ = 2; -pub const ImGuiNavInput_Menu: ImGuiNavInput_ = 3; -pub const ImGuiNavInput_DpadLeft: ImGuiNavInput_ = 4; -pub const ImGuiNavInput_DpadRight: ImGuiNavInput_ = 5; -pub const ImGuiNavInput_DpadUp: ImGuiNavInput_ = 6; -pub const ImGuiNavInput_DpadDown: ImGuiNavInput_ = 7; -pub const ImGuiNavInput_LStickLeft: ImGuiNavInput_ = 8; -pub const ImGuiNavInput_LStickRight: ImGuiNavInput_ = 9; -pub const ImGuiNavInput_LStickUp: ImGuiNavInput_ = 10; -pub const ImGuiNavInput_LStickDown: ImGuiNavInput_ = 11; -pub const ImGuiNavInput_FocusPrev: ImGuiNavInput_ = 12; -pub const ImGuiNavInput_FocusNext: ImGuiNavInput_ = 13; -pub const ImGuiNavInput_TweakSlow: ImGuiNavInput_ = 14; -pub const ImGuiNavInput_TweakFast: ImGuiNavInput_ = 15; -pub const ImGuiNavInput_KeyLeft_: ImGuiNavInput_ = 16; -pub const ImGuiNavInput_KeyRight_: ImGuiNavInput_ = 17; -pub const ImGuiNavInput_KeyUp_: ImGuiNavInput_ = 18; -pub const ImGuiNavInput_KeyDown_: ImGuiNavInput_ = 19; -pub const ImGuiNavInput_COUNT: ImGuiNavInput_ = 20; -pub const ImGuiNavInput_InternalStart_: ImGuiNavInput_ = 16; -pub type ImGuiNavInput_ = cty::c_uint; +pub const ImGuiKey_None: ImGuiKey = 0; +pub const ImGuiKey_Tab: ImGuiKey = 512; +pub const ImGuiKey_LeftArrow: ImGuiKey = 513; +pub const ImGuiKey_RightArrow: ImGuiKey = 514; +pub const ImGuiKey_UpArrow: ImGuiKey = 515; +pub const ImGuiKey_DownArrow: ImGuiKey = 516; +pub const ImGuiKey_PageUp: ImGuiKey = 517; +pub const ImGuiKey_PageDown: ImGuiKey = 518; +pub const ImGuiKey_Home: ImGuiKey = 519; +pub const ImGuiKey_End: ImGuiKey = 520; +pub const ImGuiKey_Insert: ImGuiKey = 521; +pub const ImGuiKey_Delete: ImGuiKey = 522; +pub const ImGuiKey_Backspace: ImGuiKey = 523; +pub const ImGuiKey_Space: ImGuiKey = 524; +pub const ImGuiKey_Enter: ImGuiKey = 525; +pub const ImGuiKey_Escape: ImGuiKey = 526; +pub const ImGuiKey_LeftCtrl: ImGuiKey = 527; +pub const ImGuiKey_LeftShift: ImGuiKey = 528; +pub const ImGuiKey_LeftAlt: ImGuiKey = 529; +pub const ImGuiKey_LeftSuper: ImGuiKey = 530; +pub const ImGuiKey_RightCtrl: ImGuiKey = 531; +pub const ImGuiKey_RightShift: ImGuiKey = 532; +pub const ImGuiKey_RightAlt: ImGuiKey = 533; +pub const ImGuiKey_RightSuper: ImGuiKey = 534; +pub const ImGuiKey_Menu: ImGuiKey = 535; +pub const ImGuiKey_0: ImGuiKey = 536; +pub const ImGuiKey_1: ImGuiKey = 537; +pub const ImGuiKey_2: ImGuiKey = 538; +pub const ImGuiKey_3: ImGuiKey = 539; +pub const ImGuiKey_4: ImGuiKey = 540; +pub const ImGuiKey_5: ImGuiKey = 541; +pub const ImGuiKey_6: ImGuiKey = 542; +pub const ImGuiKey_7: ImGuiKey = 543; +pub const ImGuiKey_8: ImGuiKey = 544; +pub const ImGuiKey_9: ImGuiKey = 545; +pub const ImGuiKey_A: ImGuiKey = 546; +pub const ImGuiKey_B: ImGuiKey = 547; +pub const ImGuiKey_C: ImGuiKey = 548; +pub const ImGuiKey_D: ImGuiKey = 549; +pub const ImGuiKey_E: ImGuiKey = 550; +pub const ImGuiKey_F: ImGuiKey = 551; +pub const ImGuiKey_G: ImGuiKey = 552; +pub const ImGuiKey_H: ImGuiKey = 553; +pub const ImGuiKey_I: ImGuiKey = 554; +pub const ImGuiKey_J: ImGuiKey = 555; +pub const ImGuiKey_K: ImGuiKey = 556; +pub const ImGuiKey_L: ImGuiKey = 557; +pub const ImGuiKey_M: ImGuiKey = 558; +pub const ImGuiKey_N: ImGuiKey = 559; +pub const ImGuiKey_O: ImGuiKey = 560; +pub const ImGuiKey_P: ImGuiKey = 561; +pub const ImGuiKey_Q: ImGuiKey = 562; +pub const ImGuiKey_R: ImGuiKey = 563; +pub const ImGuiKey_S: ImGuiKey = 564; +pub const ImGuiKey_T: ImGuiKey = 565; +pub const ImGuiKey_U: ImGuiKey = 566; +pub const ImGuiKey_V: ImGuiKey = 567; +pub const ImGuiKey_W: ImGuiKey = 568; +pub const ImGuiKey_X: ImGuiKey = 569; +pub const ImGuiKey_Y: ImGuiKey = 570; +pub const ImGuiKey_Z: ImGuiKey = 571; +pub const ImGuiKey_F1: ImGuiKey = 572; +pub const ImGuiKey_F2: ImGuiKey = 573; +pub const ImGuiKey_F3: ImGuiKey = 574; +pub const ImGuiKey_F4: ImGuiKey = 575; +pub const ImGuiKey_F5: ImGuiKey = 576; +pub const ImGuiKey_F6: ImGuiKey = 577; +pub const ImGuiKey_F7: ImGuiKey = 578; +pub const ImGuiKey_F8: ImGuiKey = 579; +pub const ImGuiKey_F9: ImGuiKey = 580; +pub const ImGuiKey_F10: ImGuiKey = 581; +pub const ImGuiKey_F11: ImGuiKey = 582; +pub const ImGuiKey_F12: ImGuiKey = 583; +pub const ImGuiKey_Apostrophe: ImGuiKey = 584; +pub const ImGuiKey_Comma: ImGuiKey = 585; +pub const ImGuiKey_Minus: ImGuiKey = 586; +pub const ImGuiKey_Period: ImGuiKey = 587; +pub const ImGuiKey_Slash: ImGuiKey = 588; +pub const ImGuiKey_Semicolon: ImGuiKey = 589; +pub const ImGuiKey_Equal: ImGuiKey = 590; +pub const ImGuiKey_LeftBracket: ImGuiKey = 591; +pub const ImGuiKey_Backslash: ImGuiKey = 592; +pub const ImGuiKey_RightBracket: ImGuiKey = 593; +pub const ImGuiKey_GraveAccent: ImGuiKey = 594; +pub const ImGuiKey_CapsLock: ImGuiKey = 595; +pub const ImGuiKey_ScrollLock: ImGuiKey = 596; +pub const ImGuiKey_NumLock: ImGuiKey = 597; +pub const ImGuiKey_PrintScreen: ImGuiKey = 598; +pub const ImGuiKey_Pause: ImGuiKey = 599; +pub const ImGuiKey_Keypad0: ImGuiKey = 600; +pub const ImGuiKey_Keypad1: ImGuiKey = 601; +pub const ImGuiKey_Keypad2: ImGuiKey = 602; +pub const ImGuiKey_Keypad3: ImGuiKey = 603; +pub const ImGuiKey_Keypad4: ImGuiKey = 604; +pub const ImGuiKey_Keypad5: ImGuiKey = 605; +pub const ImGuiKey_Keypad6: ImGuiKey = 606; +pub const ImGuiKey_Keypad7: ImGuiKey = 607; +pub const ImGuiKey_Keypad8: ImGuiKey = 608; +pub const ImGuiKey_Keypad9: ImGuiKey = 609; +pub const ImGuiKey_KeypadDecimal: ImGuiKey = 610; +pub const ImGuiKey_KeypadDivide: ImGuiKey = 611; +pub const ImGuiKey_KeypadMultiply: ImGuiKey = 612; +pub const ImGuiKey_KeypadSubtract: ImGuiKey = 613; +pub const ImGuiKey_KeypadAdd: ImGuiKey = 614; +pub const ImGuiKey_KeypadEnter: ImGuiKey = 615; +pub const ImGuiKey_KeypadEqual: ImGuiKey = 616; +pub const ImGuiKey_GamepadStart: ImGuiKey = 617; +pub const ImGuiKey_GamepadBack: ImGuiKey = 618; +pub const ImGuiKey_GamepadFaceLeft: ImGuiKey = 619; +pub const ImGuiKey_GamepadFaceRight: ImGuiKey = 620; +pub const ImGuiKey_GamepadFaceUp: ImGuiKey = 621; +pub const ImGuiKey_GamepadFaceDown: ImGuiKey = 622; +pub const ImGuiKey_GamepadDpadLeft: ImGuiKey = 623; +pub const ImGuiKey_GamepadDpadRight: ImGuiKey = 624; +pub const ImGuiKey_GamepadDpadUp: ImGuiKey = 625; +pub const ImGuiKey_GamepadDpadDown: ImGuiKey = 626; +pub const ImGuiKey_GamepadL1: ImGuiKey = 627; +pub const ImGuiKey_GamepadR1: ImGuiKey = 628; +pub const ImGuiKey_GamepadL2: ImGuiKey = 629; +pub const ImGuiKey_GamepadR2: ImGuiKey = 630; +pub const ImGuiKey_GamepadL3: ImGuiKey = 631; +pub const ImGuiKey_GamepadR3: ImGuiKey = 632; +pub const ImGuiKey_GamepadLStickLeft: ImGuiKey = 633; +pub const ImGuiKey_GamepadLStickRight: ImGuiKey = 634; +pub const ImGuiKey_GamepadLStickUp: ImGuiKey = 635; +pub const ImGuiKey_GamepadLStickDown: ImGuiKey = 636; +pub const ImGuiKey_GamepadRStickLeft: ImGuiKey = 637; +pub const ImGuiKey_GamepadRStickRight: ImGuiKey = 638; +pub const ImGuiKey_GamepadRStickUp: ImGuiKey = 639; +pub const ImGuiKey_GamepadRStickDown: ImGuiKey = 640; +pub const ImGuiKey_MouseLeft: ImGuiKey = 641; +pub const ImGuiKey_MouseRight: ImGuiKey = 642; +pub const ImGuiKey_MouseMiddle: ImGuiKey = 643; +pub const ImGuiKey_MouseX1: ImGuiKey = 644; +pub const ImGuiKey_MouseX2: ImGuiKey = 645; +pub const ImGuiKey_MouseWheelX: ImGuiKey = 646; +pub const ImGuiKey_MouseWheelY: ImGuiKey = 647; +pub const ImGuiKey_ReservedForModCtrl: ImGuiKey = 648; +pub const ImGuiKey_ReservedForModShift: ImGuiKey = 649; +pub const ImGuiKey_ReservedForModAlt: ImGuiKey = 650; +pub const ImGuiKey_ReservedForModSuper: ImGuiKey = 651; +pub const ImGuiKey_COUNT: ImGuiKey = 652; +pub const ImGuiMod_None: ImGuiKey = 0; +pub const ImGuiMod_Ctrl: ImGuiKey = 4096; +pub const ImGuiMod_Shift: ImGuiKey = 8192; +pub const ImGuiMod_Alt: ImGuiKey = 16384; +pub const ImGuiMod_Super: ImGuiKey = 32768; +pub const ImGuiMod_Mask_: ImGuiKey = 61440; +pub const ImGuiMod_Shortcut: ImGuiKey = 4096; +pub const ImGuiKey_NamedKey_BEGIN: ImGuiKey = 512; +pub const ImGuiKey_NamedKey_END: ImGuiKey = 652; +pub const ImGuiKey_NamedKey_COUNT: ImGuiKey = 140; +pub const ImGuiKey_KeysData_SIZE: ImGuiKey = 652; +pub const ImGuiKey_KeysData_OFFSET: ImGuiKey = 0; +pub type ImGuiKey = cty::c_uint; +pub const ImGuiNavInput_Activate: ImGuiNavInput = 0; +pub const ImGuiNavInput_Cancel: ImGuiNavInput = 1; +pub const ImGuiNavInput_Input: ImGuiNavInput = 2; +pub const ImGuiNavInput_Menu: ImGuiNavInput = 3; +pub const ImGuiNavInput_DpadLeft: ImGuiNavInput = 4; +pub const ImGuiNavInput_DpadRight: ImGuiNavInput = 5; +pub const ImGuiNavInput_DpadUp: ImGuiNavInput = 6; +pub const ImGuiNavInput_DpadDown: ImGuiNavInput = 7; +pub const ImGuiNavInput_LStickLeft: ImGuiNavInput = 8; +pub const ImGuiNavInput_LStickRight: ImGuiNavInput = 9; +pub const ImGuiNavInput_LStickUp: ImGuiNavInput = 10; +pub const ImGuiNavInput_LStickDown: ImGuiNavInput = 11; +pub const ImGuiNavInput_FocusPrev: ImGuiNavInput = 12; +pub const ImGuiNavInput_FocusNext: ImGuiNavInput = 13; +pub const ImGuiNavInput_TweakSlow: ImGuiNavInput = 14; +pub const ImGuiNavInput_TweakFast: ImGuiNavInput = 15; +pub const ImGuiNavInput_COUNT: ImGuiNavInput = 16; +pub type ImGuiNavInput = cty::c_uint; pub const ImGuiConfigFlags_None: ImGuiConfigFlags_ = 0; pub const ImGuiConfigFlags_NavEnableKeyboard: ImGuiConfigFlags_ = 1; pub const ImGuiConfigFlags_NavEnableGamepad: ImGuiConfigFlags_ = 2; @@ -962,6 +812,30 @@ impl Default for ImGuiStyle { } } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiKeyData { + pub Down: bool, + pub DownDuration: f32, + pub DownDurationPrev: f32, + pub AnalogValue: f32, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImWchar { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImWchar, +} +impl Default for ImVector_ImWchar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiIO { pub ConfigFlags: ImGuiConfigFlags, @@ -974,9 +848,10 @@ pub struct ImGuiIO { pub MouseDoubleClickTime: f32, pub MouseDoubleClickMaxDist: f32, pub MouseDragThreshold: f32, - pub KeyMap: [cty::c_int; 22usize], pub KeyRepeatDelay: f32, pub KeyRepeatRate: f32, + pub HoverDelayNormal: f32, + pub HoverDelayShort: f32, pub UserData: *mut cty::c_void, pub Fonts: *mut ImFontAtlas, pub FontGlobalScale: f32, @@ -985,7 +860,9 @@ pub struct ImGuiIO { pub DisplayFramebufferScale: ImVec2, pub MouseDrawCursor: bool, pub ConfigMacOSXBehaviors: bool, + pub ConfigInputTrickleEventQueue: bool, pub ConfigInputTextCursorBlink: bool, + pub ConfigInputTextEnterKeepActive: bool, pub ConfigDragClickToInputText: bool, pub ConfigWindowsResizeFromEdges: bool, pub ConfigWindowsMoveFromTitleBarOnly: bool, @@ -1002,19 +879,10 @@ pub struct ImGuiIO { unsafe extern "C" fn(user_data: *mut cty::c_void, text: *const cty::c_char), >, pub ClipboardUserData: *mut cty::c_void, - pub ImeSetInputScreenPosFn: - ::core::option::Option, - pub ImeWindowHandle: *mut cty::c_void, - pub MousePos: ImVec2, - pub MouseDown: [bool; 5usize], - pub MouseWheel: f32, - pub MouseWheelH: f32, - pub KeyCtrl: bool, - pub KeyShift: bool, - pub KeyAlt: bool, - pub KeySuper: bool, - pub KeysDown: [bool; 512usize], - pub NavInputs: [f32; 20usize], + pub SetPlatformImeDataFn: ::core::option::Option< + unsafe extern "C" fn(viewport: *mut ImGuiViewport, data: *mut ImGuiPlatformImeData), + >, + pub _UnusedPadding: *mut cty::c_void, pub WantCaptureMouse: bool, pub WantCaptureKeyboard: bool, pub WantTextInput: bool, @@ -1029,9 +897,20 @@ pub struct ImGuiIO { pub MetricsActiveWindows: cty::c_int, pub MetricsActiveAllocations: cty::c_int, pub MouseDelta: ImVec2, + pub KeyMap: [cty::c_int; 652usize], + pub KeysDown: [bool; 652usize], + pub NavInputs: [f32; 16usize], + pub MousePos: ImVec2, + pub MouseDown: [bool; 5usize], + pub MouseWheel: f32, + pub MouseWheelH: f32, + pub KeyCtrl: bool, + pub KeyShift: bool, + pub KeyAlt: bool, + pub KeySuper: bool, + pub KeyMods: ImGuiKeyChord, + pub KeysData: [ImGuiKeyData; 652usize], pub WantCaptureMouseUnlessPopupClose: bool, - pub KeyMods: ImGuiKeyModFlags, - pub KeyModsPrev: ImGuiKeyModFlags, pub MousePosPrev: ImVec2, pub MouseClickedPos: [ImVec2; 5usize], pub MouseClickedTime: [f64; 5usize], @@ -1044,14 +923,12 @@ pub struct ImGuiIO { pub MouseDownOwnedUnlessPopupClose: [bool; 5usize], pub MouseDownDuration: [f32; 5usize], pub MouseDownDurationPrev: [f32; 5usize], - pub MouseDragMaxDistanceAbs: [ImVec2; 5usize], pub MouseDragMaxDistanceSqr: [f32; 5usize], - pub KeysDownDuration: [f32; 512usize], - pub KeysDownDurationPrev: [f32; 512usize], - pub NavInputsDownDuration: [f32; 20usize], - pub NavInputsDownDurationPrev: [f32; 20usize], pub PenPressure: f32, pub AppFocusLost: bool, + pub AppAcceptingEvents: bool, + pub BackendUsingLegacyKeyArrays: ImS8, + pub BackendUsingLegacyNavInputArray: bool, pub InputQueueSurrogate: ImWchar16, pub InputQueueCharacters: ImVector_ImWchar, } @@ -1199,6 +1076,22 @@ impl Default for ImGuiTextRange { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTextRange { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTextRange, +} +impl Default for ImVector_ImGuiTextRange { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextFilter { pub InputBuf: [cty::c_char; 256usize], pub Filters: ImVector_ImGuiTextRange, @@ -1215,6 +1108,22 @@ impl Default for ImGuiTextFilter { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_char { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_char, +} +impl Default for ImVector_char { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextBuffer { pub Buf: ImVector_char, } @@ -1274,6 +1183,22 @@ impl ::core::fmt::Debug for ImGuiStoragePair { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStoragePair { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStoragePair, +} +impl Default for ImVector_ImGuiStoragePair { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiStorage { pub Data: ImVector_ImGuiStoragePair, } @@ -1310,6 +1235,9 @@ impl Default for ImGuiListClipper { pub struct ImColor { pub Value: ImVec4, } +pub type ImDrawCallback = ::core::option::Option< + unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), +>; #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawCmd { @@ -1355,6 +1283,38 @@ impl Default for ImDrawCmdHeader { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawCmd { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawCmd, +} +impl Default for ImVector_ImDrawCmd { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawIdx { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawIdx, +} +impl Default for ImVector_ImDrawIdx { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawChannel { pub _CmdBuffer: ImVector_ImDrawCmd, pub _IdxBuffer: ImVector_ImDrawIdx, @@ -1370,6 +1330,22 @@ impl Default for ImDrawChannel { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawChannel { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawChannel, +} +impl Default for ImVector_ImDrawChannel { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawListSplitter { pub _Current: cty::c_int, pub _Count: cty::c_int, @@ -1406,6 +1382,70 @@ pub const ImDrawListFlags_AntiAliasedFill: ImDrawListFlags_ = 4; pub const ImDrawListFlags_AllowVtxOffset: ImDrawListFlags_ = 8; pub type ImDrawListFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawVert { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawVert, +} +impl Default for ImVector_ImDrawVert { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec4 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec4, +} +impl Default for ImVector_ImVec4 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImTextureID { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImTextureID, +} +impl Default for ImVector_ImTextureID { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec2 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec2, +} +impl Default for ImVector_ImVec2 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawList { pub CmdBuffer: ImVector_ImDrawCmd, @@ -1413,7 +1453,7 @@ pub struct ImDrawList { pub VtxBuffer: ImVector_ImDrawVert, pub Flags: ImDrawListFlags, pub _VtxCurrentIdx: cty::c_uint, - pub _Data: *const ImDrawListSharedData, + pub _Data: *mut ImDrawListSharedData, pub _OwnerName: *const cty::c_char, pub _VtxWritePtr: *mut ImDrawVert, pub _IdxWritePtr: *mut ImDrawIdx, @@ -1559,6 +1599,22 @@ impl ImFontGlyph { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImU32 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImU32, +} +impl Default for ImVector_ImU32 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImFontGlyphRangesBuilder { pub UsedChars: ImVector_ImU32, } @@ -1598,6 +1654,54 @@ pub const ImFontAtlasFlags_NoMouseCursors: ImFontAtlasFlags_ = 2; pub const ImFontAtlasFlags_NoBakedLines: ImFontAtlasFlags_ = 4; pub type ImFontAtlasFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImFont, +} +impl Default for ImVector_ImFontPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontAtlasCustomRect { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontAtlasCustomRect, +} +impl Default for ImVector_ImFontAtlasCustomRect { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontConfig { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontConfig, +} +impl Default for ImVector_ImFontConfig { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFontAtlas { pub Flags: ImFontAtlasFlags, @@ -1632,6 +1736,38 @@ impl Default for ImFontAtlas { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_float { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut f32, +} +impl Default for ImVector_float { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontGlyph { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontGlyph, +} +impl Default for ImVector_ImFontGlyph { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFont { pub IndexAdvanceX: ImVector_float, @@ -1668,17 +1804,34 @@ pub const ImGuiViewportFlags_IsPlatformMonitor: ImGuiViewportFlags_ = 2; pub const ImGuiViewportFlags_OwnedByApp: ImGuiViewportFlags_ = 4; pub type ImGuiViewportFlags_ = cty::c_uint; #[repr(C)] -#[derive(Debug, Default, Copy, Clone, PartialEq)] +#[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiViewport { pub Flags: ImGuiViewportFlags, pub Pos: ImVec2, pub Size: ImVec2, pub WorkPos: ImVec2, pub WorkSize: ImVec2, + pub PlatformHandleRaw: *mut cty::c_void, +} +impl Default for ImGuiViewport { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiPlatformImeData { + pub WantVisible: bool, + pub InputPos: ImVec2, + pub InputLineHeight: f32, } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2_ImVec2Nil() -> *mut ImVec2; + pub fn ImVec2_ImVec2_Nil() -> *mut ImVec2; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1686,11 +1839,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2_ImVec2Float(_x: f32, _y: f32) -> *mut ImVec2; + pub fn ImVec2_ImVec2_Float(_x: f32, _y: f32) -> *mut ImVec2; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec4_ImVec4Nil() -> *mut ImVec4; + pub fn ImVec4_ImVec4_Nil() -> *mut ImVec4; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1698,7 +1851,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec4_ImVec4Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; + pub fn ImVec4_ImVec4_Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1749,6 +1902,10 @@ extern "C" { pub fn igShowMetricsWindow(p_open: *mut bool); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igShowDebugLogWindow(p_open: *mut bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igShowStackToolWindow(p_open: *mut bool); } @@ -1798,7 +1955,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igBeginChildStr( + pub fn igBeginChild_Str( str_id: *const cty::c_char, size: ImVec2, border: bool, @@ -1807,8 +1964,12 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igBeginChildID(id: ImGuiID, size: ImVec2, border: bool, flags: ImGuiWindowFlags) - -> bool; + pub fn igBeginChild_ID( + id: ImGuiID, + size: ImVec2, + border: bool, + flags: ImGuiWindowFlags, + ) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1880,24 +2041,28 @@ extern "C" { pub fn igSetNextWindowFocus(); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetNextWindowScroll(scroll: ImVec2); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igSetNextWindowBgAlpha(alpha: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowPosVec2(pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Vec2(pos: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowSizeVec2(size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Vec2(size: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowCollapsedBool(collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Bool(collapsed: bool, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowFocusNil(); + pub fn igSetWindowFocus_Nil(); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1905,19 +2070,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowPosStr(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Str(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowSizeStr(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Str(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowCollapsedStr(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Str(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowFocusStr(name: *const cty::c_char); + pub fn igSetWindowFocus_Str(name: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1985,11 +2150,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleColorU32(idx: ImGuiCol, col: ImU32); + pub fn igPushStyleColor_U32(idx: ImGuiCol, col: ImU32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleColorVec4(idx: ImGuiCol, col: ImVec4); + pub fn igPushStyleColor_Vec4(idx: ImGuiCol, col: ImVec4); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -1997,11 +2162,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleVarFloat(idx: ImGuiStyleVar, val: f32); + pub fn igPushStyleVar_Float(idx: ImGuiStyleVar, val: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleVarVec2(idx: ImGuiStyleVar, val: ImVec2); + pub fn igPushStyleVar_Vec2(idx: ImGuiStyleVar, val: ImVec2); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -2061,15 +2226,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetColorU32Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; + pub fn igGetColorU32_Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetColorU32Vec4(col: ImVec4) -> ImU32; + pub fn igGetColorU32_Vec4(col: ImVec4) -> ImU32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetColorU32U32(col: ImU32) -> ImU32; + pub fn igGetColorU32_U32(col: ImU32) -> ImU32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -2169,19 +2334,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDStr(str_id: *const cty::c_char); + pub fn igPushID_Str(str_id: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDStrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); + pub fn igPushID_StrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDPtr(ptr_id: *const cty::c_void); + pub fn igPushID_Ptr(ptr_id: *const cty::c_void); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDInt(int_id: cty::c_int); + pub fn igPushID_Int(int_id: cty::c_int); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -2189,18 +2354,18 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetIDStr(str_id: *const cty::c_char) -> ImGuiID; + pub fn igGetID_Str(str_id: *const cty::c_char) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetIDStrStr( + pub fn igGetID_StrStr( str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char, ) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetIDPtr(ptr_id: *const cty::c_void) -> ImGuiID; + pub fn igGetID_Ptr(ptr_id: *const cty::c_void) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -2251,35 +2416,12 @@ extern "C" { pub fn igArrowButton(str_id: *const cty::c_char, dir: ImGuiDir) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igImage( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - tint_col: ImVec4, - border_col: ImVec4, - ); -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igImageButton( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - frame_padding: cty::c_int, - bg_col: ImVec4, - tint_col: ImVec4, - ) -> bool; -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igCheckbox(label: *const cty::c_char, v: *mut bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCheckboxFlagsIntPtr( + pub fn igCheckboxFlags_IntPtr( label: *const cty::c_char, flags: *mut cty::c_int, flags_value: cty::c_int, @@ -2287,7 +2429,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCheckboxFlagsUintPtr( + pub fn igCheckboxFlags_UintPtr( label: *const cty::c_char, flags: *mut cty::c_uint, flags_value: cty::c_uint, @@ -2295,11 +2437,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igRadioButtonBool(label: *const cty::c_char, active: bool) -> bool; + pub fn igRadioButton_Bool(label: *const cty::c_char, active: bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igRadioButtonIntPtr( + pub fn igRadioButton_IntPtr( label: *const cty::c_char, v: *mut cty::c_int, v_button: cty::c_int, @@ -2314,6 +2456,29 @@ extern "C" { pub fn igBullet(); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImage( + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + tint_col: ImVec4, + border_col: ImVec4, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImageButton( + str_id: *const cty::c_char, + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + bg_col: ImVec4, + tint_col: ImVec4, + ) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igBeginCombo( label: *const cty::c_char, @@ -2327,7 +2492,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igComboStr_arr( + pub fn igCombo_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -2337,7 +2502,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igComboStr( + pub fn igCombo_Str( label: *const cty::c_char, current_item: *mut cty::c_int, items_separated_by_zeros: *const cty::c_char, @@ -2346,7 +2511,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igComboFnBoolPtr( + pub fn igCombo_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -2864,23 +3029,23 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeStr(label: *const cty::c_char) -> bool; + pub fn igTreeNode_Str(label: *const cty::c_char) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeStrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_StrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodePtr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_Ptr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeExStr(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; + pub fn igTreeNodeEx_Str(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeExStrStr( + pub fn igTreeNodeEx_StrStr( str_id: *const cty::c_char, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -2889,7 +3054,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeExPtr( + pub fn igTreeNodeEx_Ptr( ptr_id: *const cty::c_void, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -2898,11 +3063,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreePushStr(str_id: *const cty::c_char); + pub fn igTreePush_Str(str_id: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreePushPtr(ptr_id: *const cty::c_void); + pub fn igTreePush_Ptr(ptr_id: *const cty::c_void); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -2914,14 +3079,14 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCollapsingHeaderTreeNodeFlags( + pub fn igCollapsingHeader_TreeNodeFlags( label: *const cty::c_char, flags: ImGuiTreeNodeFlags, ) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCollapsingHeaderBoolPtr( + pub fn igCollapsingHeader_BoolPtr( label: *const cty::c_char, p_visible: *mut bool, flags: ImGuiTreeNodeFlags, @@ -2933,7 +3098,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSelectableBool( + pub fn igSelectable_Bool( label: *const cty::c_char, selected: bool, flags: ImGuiSelectableFlags, @@ -2942,7 +3107,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSelectableBoolPtr( + pub fn igSelectable_BoolPtr( label: *const cty::c_char, p_selected: *mut bool, flags: ImGuiSelectableFlags, @@ -2959,7 +3124,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igListBoxStr_arr( + pub fn igListBox_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -2969,7 +3134,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igListBoxFnBoolPtr( + pub fn igListBox_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -2986,7 +3151,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotLinesFloatPtr( + pub fn igPlotLines_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -3000,7 +3165,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotLinesFnFloatPtr( + pub fn igPlotLines_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -3016,7 +3181,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotHistogramFloatPtr( + pub fn igPlotHistogram_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -3030,7 +3195,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotHistogramFnFloatPtr( + pub fn igPlotHistogram_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -3046,19 +3211,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueBool(prefix: *const cty::c_char, b: bool); + pub fn igValue_Bool(prefix: *const cty::c_char, b: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueInt(prefix: *const cty::c_char, v: cty::c_int); + pub fn igValue_Int(prefix: *const cty::c_char, v: cty::c_int); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueUint(prefix: *const cty::c_char, v: cty::c_uint); + pub fn igValue_Uint(prefix: *const cty::c_char, v: cty::c_uint); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueFloat(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); + pub fn igValue_Float(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3086,7 +3251,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igMenuItemBool( + pub fn igMenuItem_Bool( label: *const cty::c_char, shortcut: *const cty::c_char, selected: bool, @@ -3095,7 +3260,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igMenuItemBoolPtr( + pub fn igMenuItem_BoolPtr( label: *const cty::c_char, shortcut: *const cty::c_char, p_selected: *mut bool, @@ -3132,11 +3297,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igOpenPopupStr(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_Str(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igOpenPopupID(id: ImGuiID, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3468,11 +3633,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsRectVisibleNil(size: ImVec2) -> bool; + pub fn igGetBackgroundDrawList() -> *mut ImDrawList; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsRectVisibleVec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; + pub fn igGetForegroundDrawList() -> *mut ImDrawList; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsRectVisible_Nil(size: ImVec2) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsRectVisible_Vec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3483,14 +3656,6 @@ extern "C" { pub fn igGetFrameCount() -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetBackgroundDrawList() -> *mut ImDrawList; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetForegroundDrawList() -> *mut ImDrawList; -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igGetDrawListSharedData() -> *mut ImDrawListSharedData; } @@ -3556,28 +3721,27 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetKeyIndex(imgui_key: ImGuiKey) -> cty::c_int; + pub fn igIsKeyDown(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyDown(user_key_index: cty::c_int) -> bool; + pub fn igIsKeyPressed(key: ImGuiKey, repeat: bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyPressed(user_key_index: cty::c_int, repeat: bool) -> bool; + pub fn igIsKeyReleased(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyReleased(user_key_index: cty::c_int) -> bool; + pub fn igGetKeyPressedAmount(key: ImGuiKey, repeat_delay: f32, rate: f32) -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetKeyPressedAmount(key_index: cty::c_int, repeat_delay: f32, rate: f32) - -> cty::c_int; + pub fn igGetKeyName(key: ImGuiKey) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCaptureKeyboardFromApp(want_capture_keyboard_value: bool); + pub fn igSetNextFrameWantCaptureKeyboard(want_capture_keyboard: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3641,7 +3805,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCaptureMouseFromApp(want_capture_mouse_value: bool); + pub fn igSetNextFrameWantCaptureMouse(want_capture_mouse: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3668,6 +3832,10 @@ extern "C" { pub fn igSaveIniSettingsToMemory(out_ini_size: *mut usize) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugTextEncoding(text: *const cty::c_char); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igDebugCheckVersionAndDataLayout( version_str: *const cty::c_char, @@ -3716,6 +3884,30 @@ extern "C" { pub fn ImGuiStyle_ScaleAllSizes(self_: *mut ImGuiStyle, scale_factor: f32); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddKeyEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddKeyAnalogEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool, v: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMousePosEvent(self_: *mut ImGuiIO, x: f32, y: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMouseButtonEvent(self_: *mut ImGuiIO, button: cty::c_int, down: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMouseWheelEvent(self_: *mut ImGuiIO, wh_x: f32, wh_y: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn ImGuiIO_AddInputCharacter(self_: *mut ImGuiIO, c: cty::c_uint); } @@ -3729,7 +3921,17 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); + pub fn ImGuiIO_SetKeyEventNativeData( + self_: *mut ImGuiIO, + key: ImGuiKey, + native_keycode: cty::c_int, + native_scancode: cty::c_int, + native_legacy_index: cty::c_int, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_SetAppAcceptingEvents(self_: *mut ImGuiIO, accepting_events: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3872,7 +4074,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeNil() -> *mut ImGuiTextRange; + pub fn ImGuiTextRange_ImGuiTextRange_Nil() -> *mut ImGuiTextRange; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -3880,7 +4082,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeStr( + pub fn ImGuiTextRange_ImGuiTextRange_Str( _b: *const cty::c_char, _e: *const cty::c_char, ) -> *mut ImGuiTextRange; @@ -3943,7 +4145,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairInt( + pub fn ImGuiStoragePair_ImGuiStoragePair_Int( _key: ImGuiID, _val_i: cty::c_int, ) -> *mut ImGuiStoragePair; @@ -3954,14 +4156,14 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairFloat( + pub fn ImGuiStoragePair_ImGuiStoragePair_Float( _key: ImGuiID, _val_f: f32, ) -> *mut ImGuiStoragePair; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairPtr( + pub fn ImGuiStoragePair_ImGuiStoragePair_Ptr( _key: ImGuiID, _val_p: *mut cty::c_void, ) -> *mut ImGuiStoragePair; @@ -4080,7 +4282,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImColor_ImColorNil() -> *mut ImColor; + pub fn ImColor_ImColor_Nil() -> *mut ImColor; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4088,7 +4290,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImColor_ImColorInt( + pub fn ImColor_ImColor_Float(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImColor_ImColor_Vec4(col: ImVec4) -> *mut ImColor; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImColor_ImColor_Int( r: cty::c_int, g: cty::c_int, b: cty::c_int, @@ -4097,15 +4307,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImColor_ImColorU32(rgba: ImU32) -> *mut ImColor; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImColor_ImColorFloat(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImColor_ImColorVec4(col: ImVec4) -> *mut ImColor; + pub fn ImColor_ImColor_U32(rgba: ImU32) -> *mut ImColor; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4165,7 +4367,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImDrawList_ImDrawList(shared_data: *const ImDrawListSharedData) -> *mut ImDrawList; + pub fn ImDrawList_ImDrawList(shared_data: *mut ImDrawListSharedData) -> *mut ImDrawList; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4337,7 +4539,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImDrawList_AddTextVec2( + pub fn ImDrawList_AddText_Vec2( self_: *mut ImDrawList, pos: ImVec2, col: ImU32, @@ -4347,7 +4549,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImDrawList_AddTextFontPtr( + pub fn ImDrawList_AddText_FontPtr( self_: *mut ImDrawList, font: *const ImFont, font_size: f32, @@ -4867,6 +5069,10 @@ extern "C" { pub fn ImFontAtlas_GetGlyphRangesDefault(self_: *mut ImFontAtlas) -> *const ImWchar; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImFontAtlas_GetGlyphRangesGreek(self_: *mut ImFontAtlas) -> *const ImWchar; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn ImFontAtlas_GetGlyphRangesKorean(self_: *mut ImFontAtlas) -> *const ImWchar; } @@ -5082,6 +5288,18 @@ extern "C" { pub fn ImGuiViewport_GetWorkCenter(pOut: *mut ImVec2, self_: *mut ImGuiViewport); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiPlatformImeData_ImGuiPlatformImeData() -> *mut ImGuiPlatformImeData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiPlatformImeData_destroy(self_: *mut ImGuiPlatformImeData); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetKeyIndex(key: ImGuiKey) -> ImGuiKey; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igLogText(fmt: *const cty::c_char, ...); } diff --git a/imgui-sys/src/wasm_docking_bindings.rs b/imgui-sys/src/wasm_docking_bindings.rs index 01373bd..29c531c 100644 --- a/imgui-sys/src/wasm_docking_bindings.rs +++ b/imgui-sys/src/wasm_docking_bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.59.1 */ +/* automatically generated by rust-bindgen 0.63.0 */ #![allow(nonstandard_style, clippy::all)] @@ -82,8 +82,6 @@ where } } } -pub type __int64_t = cty::c_long; -pub type __uint64_t = cty::c_ulong; pub type __off_t = cty::c_long; pub type __off64_t = cty::c_long; pub type FILE = _IO_FILE; @@ -147,20 +145,34 @@ impl Default for _IO_FILE { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImGuiDockNodeSettings { +pub struct ImGuiDockRequest { _unused: [u8; 0], } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct ImGuiDockRequest { +pub struct ImGuiDockNodeSettings { _unused: [u8; 0], } +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_const_charPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *const cty::c_char, +} +impl Default for ImVector_const_charPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} pub type ImGuiCol = cty::c_int; pub type ImGuiCond = cty::c_int; pub type ImGuiDataType = cty::c_int; pub type ImGuiDir = cty::c_int; -pub type ImGuiKey = cty::c_int; -pub type ImGuiNavInput = cty::c_int; pub type ImGuiMouseButton = cty::c_int; pub type ImGuiMouseCursor = cty::c_int; pub type ImGuiSortDirection = cty::c_int; @@ -179,7 +191,7 @@ pub type ImGuiDragDropFlags = cty::c_int; pub type ImGuiFocusedFlags = cty::c_int; pub type ImGuiHoveredFlags = cty::c_int; pub type ImGuiInputTextFlags = cty::c_int; -pub type ImGuiKeyModFlags = cty::c_int; +pub type ImGuiKeyChord = cty::c_int; pub type ImGuiPopupFlags = cty::c_int; pub type ImGuiSelectableFlags = cty::c_int; pub type ImGuiSliderFlags = cty::c_int; @@ -200,8 +212,8 @@ pub type ImS16 = cty::c_short; pub type ImU16 = cty::c_ushort; pub type ImS32 = cty::c_int; pub type ImU32 = cty::c_uint; -pub type ImS64 = i64; -pub type ImU64 = u64; +pub type ImS64 = cty::c_longlong; +pub type ImU64 = cty::c_ulonglong; pub type ImWchar16 = cty::c_ushort; pub type ImWchar32 = cty::c_uint; pub type ImWchar = ImWchar32; @@ -216,859 +228,6 @@ pub type ImGuiMemAllocFunc = ::core::option::Option< pub type ImGuiMemFreeFunc = ::core::option::Option< unsafe extern "C" fn(ptr: *mut cty::c_void, user_data: *mut cty::c_void), >; -pub type ImDrawCallback = ::core::option::Option< - unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), ->; -pub type ImGuiDataAuthority = cty::c_int; -pub type ImGuiLayoutType = cty::c_int; -pub type ImGuiActivateFlags = cty::c_int; -pub type ImGuiItemFlags = cty::c_int; -pub type ImGuiItemStatusFlags = cty::c_int; -pub type ImGuiOldColumnFlags = cty::c_int; -pub type ImGuiNavHighlightFlags = cty::c_int; -pub type ImGuiNavDirSourceFlags = cty::c_int; -pub type ImGuiNavMoveFlags = cty::c_int; -pub type ImGuiNextItemDataFlags = cty::c_int; -pub type ImGuiNextWindowDataFlags = cty::c_int; -pub type ImGuiScrollFlags = cty::c_int; -pub type ImGuiSeparatorFlags = cty::c_int; -pub type ImGuiTextFlags = cty::c_int; -pub type ImGuiTooltipFlags = cty::c_int; -pub type ImGuiErrorLogCallback = ::core::option::Option< - unsafe extern "C" fn(user_data: *mut cty::c_void, fmt: *const cty::c_char, ...), ->; -pub type ImFileHandle = *mut FILE; -pub type ImPoolIdx = cty::c_int; -pub type ImGuiContextHookCallback = ::core::option::Option< - unsafe extern "C" fn(ctx: *mut ImGuiContext, hook: *mut ImGuiContextHook), ->; -pub type ImGuiTableColumnIdx = ImS8; -pub type ImGuiTableDrawChannelIdx = ImU8; -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTableSettings { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTableSettings, -} -impl Default for ImVector_ImGuiTableSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImChunkStream_ImGuiTableSettings { - pub Buf: ImVector_ImGuiTableSettings, -} -impl Default for ImChunkStream_ImGuiTableSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiWindowSettings { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiWindowSettings, -} -impl Default for ImVector_ImGuiWindowSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImChunkStream_ImGuiWindowSettings { - pub Buf: ImVector_ImGuiWindowSettings, -} -impl Default for ImChunkStream_ImGuiWindowSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImSpan_ImGuiTableCellData { - pub Data: *mut ImGuiTableCellData, - pub DataEnd: *mut ImGuiTableCellData, -} -impl Default for ImSpan_ImGuiTableCellData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImSpan_ImGuiTableColumn { - pub Data: *mut ImGuiTableColumn, - pub DataEnd: *mut ImGuiTableColumn, -} -impl Default for ImSpan_ImGuiTableColumn { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImSpan_ImGuiTableColumnIdx { - pub Data: *mut ImGuiTableColumnIdx, - pub DataEnd: *mut ImGuiTableColumnIdx, -} -impl Default for ImSpan_ImGuiTableColumnIdx { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawChannel { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawChannel, -} -impl Default for ImVector_ImDrawChannel { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawCmd { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawCmd, -} -impl Default for ImVector_ImDrawCmd { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawIdx { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawIdx, -} -impl Default for ImVector_ImDrawIdx { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawListPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImDrawList, -} -impl Default for ImVector_ImDrawListPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImDrawVert { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImDrawVert, -} -impl Default for ImVector_ImDrawVert { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImFont, -} -impl Default for ImVector_ImFontPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontAtlasCustomRect { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontAtlasCustomRect, -} -impl Default for ImVector_ImFontAtlasCustomRect { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontConfig { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontConfig, -} -impl Default for ImVector_ImFontConfig { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImFontGlyph { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImFontGlyph, -} -impl Default for ImVector_ImFontGlyph { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiColorMod { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiColorMod, -} -impl Default for ImVector_ImGuiColorMod { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiContextHook { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiContextHook, -} -impl Default for ImVector_ImGuiContextHook { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiDockNodeSettings { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiDockNodeSettings, -} -impl Default for ImVector_ImGuiDockNodeSettings { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiDockRequest { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiDockRequest, -} -impl Default for ImVector_ImGuiDockRequest { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiGroupData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiGroupData, -} -impl Default for ImVector_ImGuiGroupData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiID { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiID, -} -impl Default for ImVector_ImGuiID { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiItemFlags { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiItemFlags, -} -impl Default for ImVector_ImGuiItemFlags { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiListClipperData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiListClipperData, -} -impl Default for ImVector_ImGuiListClipperData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiListClipperRange { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiListClipperRange, -} -impl Default for ImVector_ImGuiListClipperRange { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiOldColumnData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiOldColumnData, -} -impl Default for ImVector_ImGuiOldColumnData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiOldColumns { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiOldColumns, -} -impl Default for ImVector_ImGuiOldColumns { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiPlatformMonitor { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiPlatformMonitor, -} -impl Default for ImVector_ImGuiPlatformMonitor { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiPopupData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiPopupData, -} -impl Default for ImVector_ImGuiPopupData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiPtrOrIndex { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiPtrOrIndex, -} -impl Default for ImVector_ImGuiPtrOrIndex { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiSettingsHandler { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiSettingsHandler, -} -impl Default for ImVector_ImGuiSettingsHandler { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiShrinkWidthItem { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiShrinkWidthItem, -} -impl Default for ImVector_ImGuiShrinkWidthItem { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStackLevelInfo { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStackLevelInfo, -} -impl Default for ImVector_ImGuiStackLevelInfo { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStoragePair { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStoragePair, -} -impl Default for ImVector_ImGuiStoragePair { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiStyleMod { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiStyleMod, -} -impl Default for ImVector_ImGuiStyleMod { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTabItem { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTabItem, -} -impl Default for ImVector_ImGuiTabItem { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTableColumnSortSpecs { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTableColumnSortSpecs, -} -impl Default for ImVector_ImGuiTableColumnSortSpecs { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTableTempData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTableTempData, -} -impl Default for ImVector_ImGuiTableTempData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTextRange { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTextRange, -} -impl Default for ImVector_ImGuiTextRange { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiViewportPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImGuiViewport, -} -impl Default for ImVector_ImGuiViewportPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiViewportPPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImGuiViewportP, -} -impl Default for ImVector_ImGuiViewportPPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiWindowPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *mut ImGuiWindow, -} -impl Default for ImVector_ImGuiWindowPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiWindowStackData { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiWindowStackData, -} -impl Default for ImVector_ImGuiWindowStackData { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImTextureID { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImTextureID, -} -impl Default for ImVector_ImTextureID { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImU32 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImU32, -} -impl Default for ImVector_ImU32 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec2 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec2, -} -impl Default for ImVector_ImVec2 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImVec4 { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImVec4, -} -impl Default for ImVector_ImVec4 { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImWchar { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImWchar, -} -impl Default for ImVector_ImWchar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_char { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut cty::c_char, -} -impl Default for ImVector_char { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_const_charPtr { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut *const cty::c_char, -} -impl Default for ImVector_const_charPtr { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_float { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut f32, -} -impl Default for ImVector_float { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_unsigned_char { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut cty::c_uchar, -} -impl Default for ImVector_unsigned_char { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImVec2 { @@ -1137,6 +296,7 @@ pub const ImGuiInputTextFlags_NoUndoRedo: ImGuiInputTextFlags_ = 65536; pub const ImGuiInputTextFlags_CharsScientific: ImGuiInputTextFlags_ = 131072; pub const ImGuiInputTextFlags_CallbackResize: ImGuiInputTextFlags_ = 262144; pub const ImGuiInputTextFlags_CallbackEdit: ImGuiInputTextFlags_ = 524288; +pub const ImGuiInputTextFlags_EscapeClearsAll: ImGuiInputTextFlags_ = 1048576; pub type ImGuiInputTextFlags_ = cty::c_uint; pub const ImGuiTreeNodeFlags_None: ImGuiTreeNodeFlags_ = 0; pub const ImGuiTreeNodeFlags_Selected: ImGuiTreeNodeFlags_ = 1; @@ -1297,8 +457,12 @@ pub const ImGuiHoveredFlags_AllowWhenBlockedByPopup: ImGuiHoveredFlags_ = 32; pub const ImGuiHoveredFlags_AllowWhenBlockedByActiveItem: ImGuiHoveredFlags_ = 128; pub const ImGuiHoveredFlags_AllowWhenOverlapped: ImGuiHoveredFlags_ = 256; pub const ImGuiHoveredFlags_AllowWhenDisabled: ImGuiHoveredFlags_ = 512; +pub const ImGuiHoveredFlags_NoNavOverride: ImGuiHoveredFlags_ = 1024; pub const ImGuiHoveredFlags_RectOnly: ImGuiHoveredFlags_ = 416; pub const ImGuiHoveredFlags_RootAndChildWindows: ImGuiHoveredFlags_ = 3; +pub const ImGuiHoveredFlags_DelayNormal: ImGuiHoveredFlags_ = 2048; +pub const ImGuiHoveredFlags_DelayShort: ImGuiHoveredFlags_ = 4096; +pub const ImGuiHoveredFlags_NoSharedDelay: ImGuiHoveredFlags_ = 8192; pub type ImGuiHoveredFlags_ = cty::c_uint; pub const ImGuiDockNodeFlags_None: ImGuiDockNodeFlags_ = 0; pub const ImGuiDockNodeFlags_KeepAliveOnly: ImGuiDockNodeFlags_ = 1; @@ -1343,59 +507,179 @@ pub const ImGuiSortDirection_None: ImGuiSortDirection_ = 0; pub const ImGuiSortDirection_Ascending: ImGuiSortDirection_ = 1; pub const ImGuiSortDirection_Descending: ImGuiSortDirection_ = 2; pub type ImGuiSortDirection_ = cty::c_uint; -pub const ImGuiKey_Tab: ImGuiKey_ = 0; -pub const ImGuiKey_LeftArrow: ImGuiKey_ = 1; -pub const ImGuiKey_RightArrow: ImGuiKey_ = 2; -pub const ImGuiKey_UpArrow: ImGuiKey_ = 3; -pub const ImGuiKey_DownArrow: ImGuiKey_ = 4; -pub const ImGuiKey_PageUp: ImGuiKey_ = 5; -pub const ImGuiKey_PageDown: ImGuiKey_ = 6; -pub const ImGuiKey_Home: ImGuiKey_ = 7; -pub const ImGuiKey_End: ImGuiKey_ = 8; -pub const ImGuiKey_Insert: ImGuiKey_ = 9; -pub const ImGuiKey_Delete: ImGuiKey_ = 10; -pub const ImGuiKey_Backspace: ImGuiKey_ = 11; -pub const ImGuiKey_Space: ImGuiKey_ = 12; -pub const ImGuiKey_Enter: ImGuiKey_ = 13; -pub const ImGuiKey_Escape: ImGuiKey_ = 14; -pub const ImGuiKey_KeyPadEnter: ImGuiKey_ = 15; -pub const ImGuiKey_A: ImGuiKey_ = 16; -pub const ImGuiKey_C: ImGuiKey_ = 17; -pub const ImGuiKey_V: ImGuiKey_ = 18; -pub const ImGuiKey_X: ImGuiKey_ = 19; -pub const ImGuiKey_Y: ImGuiKey_ = 20; -pub const ImGuiKey_Z: ImGuiKey_ = 21; -pub const ImGuiKey_COUNT: ImGuiKey_ = 22; -pub type ImGuiKey_ = cty::c_uint; -pub const ImGuiKeyModFlags_None: ImGuiKeyModFlags_ = 0; -pub const ImGuiKeyModFlags_Ctrl: ImGuiKeyModFlags_ = 1; -pub const ImGuiKeyModFlags_Shift: ImGuiKeyModFlags_ = 2; -pub const ImGuiKeyModFlags_Alt: ImGuiKeyModFlags_ = 4; -pub const ImGuiKeyModFlags_Super: ImGuiKeyModFlags_ = 8; -pub type ImGuiKeyModFlags_ = cty::c_uint; -pub const ImGuiNavInput_Activate: ImGuiNavInput_ = 0; -pub const ImGuiNavInput_Cancel: ImGuiNavInput_ = 1; -pub const ImGuiNavInput_Input: ImGuiNavInput_ = 2; -pub const ImGuiNavInput_Menu: ImGuiNavInput_ = 3; -pub const ImGuiNavInput_DpadLeft: ImGuiNavInput_ = 4; -pub const ImGuiNavInput_DpadRight: ImGuiNavInput_ = 5; -pub const ImGuiNavInput_DpadUp: ImGuiNavInput_ = 6; -pub const ImGuiNavInput_DpadDown: ImGuiNavInput_ = 7; -pub const ImGuiNavInput_LStickLeft: ImGuiNavInput_ = 8; -pub const ImGuiNavInput_LStickRight: ImGuiNavInput_ = 9; -pub const ImGuiNavInput_LStickUp: ImGuiNavInput_ = 10; -pub const ImGuiNavInput_LStickDown: ImGuiNavInput_ = 11; -pub const ImGuiNavInput_FocusPrev: ImGuiNavInput_ = 12; -pub const ImGuiNavInput_FocusNext: ImGuiNavInput_ = 13; -pub const ImGuiNavInput_TweakSlow: ImGuiNavInput_ = 14; -pub const ImGuiNavInput_TweakFast: ImGuiNavInput_ = 15; -pub const ImGuiNavInput_KeyLeft_: ImGuiNavInput_ = 16; -pub const ImGuiNavInput_KeyRight_: ImGuiNavInput_ = 17; -pub const ImGuiNavInput_KeyUp_: ImGuiNavInput_ = 18; -pub const ImGuiNavInput_KeyDown_: ImGuiNavInput_ = 19; -pub const ImGuiNavInput_COUNT: ImGuiNavInput_ = 20; -pub const ImGuiNavInput_InternalStart_: ImGuiNavInput_ = 16; -pub type ImGuiNavInput_ = cty::c_uint; +pub const ImGuiKey_None: ImGuiKey = 0; +pub const ImGuiKey_Tab: ImGuiKey = 512; +pub const ImGuiKey_LeftArrow: ImGuiKey = 513; +pub const ImGuiKey_RightArrow: ImGuiKey = 514; +pub const ImGuiKey_UpArrow: ImGuiKey = 515; +pub const ImGuiKey_DownArrow: ImGuiKey = 516; +pub const ImGuiKey_PageUp: ImGuiKey = 517; +pub const ImGuiKey_PageDown: ImGuiKey = 518; +pub const ImGuiKey_Home: ImGuiKey = 519; +pub const ImGuiKey_End: ImGuiKey = 520; +pub const ImGuiKey_Insert: ImGuiKey = 521; +pub const ImGuiKey_Delete: ImGuiKey = 522; +pub const ImGuiKey_Backspace: ImGuiKey = 523; +pub const ImGuiKey_Space: ImGuiKey = 524; +pub const ImGuiKey_Enter: ImGuiKey = 525; +pub const ImGuiKey_Escape: ImGuiKey = 526; +pub const ImGuiKey_LeftCtrl: ImGuiKey = 527; +pub const ImGuiKey_LeftShift: ImGuiKey = 528; +pub const ImGuiKey_LeftAlt: ImGuiKey = 529; +pub const ImGuiKey_LeftSuper: ImGuiKey = 530; +pub const ImGuiKey_RightCtrl: ImGuiKey = 531; +pub const ImGuiKey_RightShift: ImGuiKey = 532; +pub const ImGuiKey_RightAlt: ImGuiKey = 533; +pub const ImGuiKey_RightSuper: ImGuiKey = 534; +pub const ImGuiKey_Menu: ImGuiKey = 535; +pub const ImGuiKey_0: ImGuiKey = 536; +pub const ImGuiKey_1: ImGuiKey = 537; +pub const ImGuiKey_2: ImGuiKey = 538; +pub const ImGuiKey_3: ImGuiKey = 539; +pub const ImGuiKey_4: ImGuiKey = 540; +pub const ImGuiKey_5: ImGuiKey = 541; +pub const ImGuiKey_6: ImGuiKey = 542; +pub const ImGuiKey_7: ImGuiKey = 543; +pub const ImGuiKey_8: ImGuiKey = 544; +pub const ImGuiKey_9: ImGuiKey = 545; +pub const ImGuiKey_A: ImGuiKey = 546; +pub const ImGuiKey_B: ImGuiKey = 547; +pub const ImGuiKey_C: ImGuiKey = 548; +pub const ImGuiKey_D: ImGuiKey = 549; +pub const ImGuiKey_E: ImGuiKey = 550; +pub const ImGuiKey_F: ImGuiKey = 551; +pub const ImGuiKey_G: ImGuiKey = 552; +pub const ImGuiKey_H: ImGuiKey = 553; +pub const ImGuiKey_I: ImGuiKey = 554; +pub const ImGuiKey_J: ImGuiKey = 555; +pub const ImGuiKey_K: ImGuiKey = 556; +pub const ImGuiKey_L: ImGuiKey = 557; +pub const ImGuiKey_M: ImGuiKey = 558; +pub const ImGuiKey_N: ImGuiKey = 559; +pub const ImGuiKey_O: ImGuiKey = 560; +pub const ImGuiKey_P: ImGuiKey = 561; +pub const ImGuiKey_Q: ImGuiKey = 562; +pub const ImGuiKey_R: ImGuiKey = 563; +pub const ImGuiKey_S: ImGuiKey = 564; +pub const ImGuiKey_T: ImGuiKey = 565; +pub const ImGuiKey_U: ImGuiKey = 566; +pub const ImGuiKey_V: ImGuiKey = 567; +pub const ImGuiKey_W: ImGuiKey = 568; +pub const ImGuiKey_X: ImGuiKey = 569; +pub const ImGuiKey_Y: ImGuiKey = 570; +pub const ImGuiKey_Z: ImGuiKey = 571; +pub const ImGuiKey_F1: ImGuiKey = 572; +pub const ImGuiKey_F2: ImGuiKey = 573; +pub const ImGuiKey_F3: ImGuiKey = 574; +pub const ImGuiKey_F4: ImGuiKey = 575; +pub const ImGuiKey_F5: ImGuiKey = 576; +pub const ImGuiKey_F6: ImGuiKey = 577; +pub const ImGuiKey_F7: ImGuiKey = 578; +pub const ImGuiKey_F8: ImGuiKey = 579; +pub const ImGuiKey_F9: ImGuiKey = 580; +pub const ImGuiKey_F10: ImGuiKey = 581; +pub const ImGuiKey_F11: ImGuiKey = 582; +pub const ImGuiKey_F12: ImGuiKey = 583; +pub const ImGuiKey_Apostrophe: ImGuiKey = 584; +pub const ImGuiKey_Comma: ImGuiKey = 585; +pub const ImGuiKey_Minus: ImGuiKey = 586; +pub const ImGuiKey_Period: ImGuiKey = 587; +pub const ImGuiKey_Slash: ImGuiKey = 588; +pub const ImGuiKey_Semicolon: ImGuiKey = 589; +pub const ImGuiKey_Equal: ImGuiKey = 590; +pub const ImGuiKey_LeftBracket: ImGuiKey = 591; +pub const ImGuiKey_Backslash: ImGuiKey = 592; +pub const ImGuiKey_RightBracket: ImGuiKey = 593; +pub const ImGuiKey_GraveAccent: ImGuiKey = 594; +pub const ImGuiKey_CapsLock: ImGuiKey = 595; +pub const ImGuiKey_ScrollLock: ImGuiKey = 596; +pub const ImGuiKey_NumLock: ImGuiKey = 597; +pub const ImGuiKey_PrintScreen: ImGuiKey = 598; +pub const ImGuiKey_Pause: ImGuiKey = 599; +pub const ImGuiKey_Keypad0: ImGuiKey = 600; +pub const ImGuiKey_Keypad1: ImGuiKey = 601; +pub const ImGuiKey_Keypad2: ImGuiKey = 602; +pub const ImGuiKey_Keypad3: ImGuiKey = 603; +pub const ImGuiKey_Keypad4: ImGuiKey = 604; +pub const ImGuiKey_Keypad5: ImGuiKey = 605; +pub const ImGuiKey_Keypad6: ImGuiKey = 606; +pub const ImGuiKey_Keypad7: ImGuiKey = 607; +pub const ImGuiKey_Keypad8: ImGuiKey = 608; +pub const ImGuiKey_Keypad9: ImGuiKey = 609; +pub const ImGuiKey_KeypadDecimal: ImGuiKey = 610; +pub const ImGuiKey_KeypadDivide: ImGuiKey = 611; +pub const ImGuiKey_KeypadMultiply: ImGuiKey = 612; +pub const ImGuiKey_KeypadSubtract: ImGuiKey = 613; +pub const ImGuiKey_KeypadAdd: ImGuiKey = 614; +pub const ImGuiKey_KeypadEnter: ImGuiKey = 615; +pub const ImGuiKey_KeypadEqual: ImGuiKey = 616; +pub const ImGuiKey_GamepadStart: ImGuiKey = 617; +pub const ImGuiKey_GamepadBack: ImGuiKey = 618; +pub const ImGuiKey_GamepadFaceLeft: ImGuiKey = 619; +pub const ImGuiKey_GamepadFaceRight: ImGuiKey = 620; +pub const ImGuiKey_GamepadFaceUp: ImGuiKey = 621; +pub const ImGuiKey_GamepadFaceDown: ImGuiKey = 622; +pub const ImGuiKey_GamepadDpadLeft: ImGuiKey = 623; +pub const ImGuiKey_GamepadDpadRight: ImGuiKey = 624; +pub const ImGuiKey_GamepadDpadUp: ImGuiKey = 625; +pub const ImGuiKey_GamepadDpadDown: ImGuiKey = 626; +pub const ImGuiKey_GamepadL1: ImGuiKey = 627; +pub const ImGuiKey_GamepadR1: ImGuiKey = 628; +pub const ImGuiKey_GamepadL2: ImGuiKey = 629; +pub const ImGuiKey_GamepadR2: ImGuiKey = 630; +pub const ImGuiKey_GamepadL3: ImGuiKey = 631; +pub const ImGuiKey_GamepadR3: ImGuiKey = 632; +pub const ImGuiKey_GamepadLStickLeft: ImGuiKey = 633; +pub const ImGuiKey_GamepadLStickRight: ImGuiKey = 634; +pub const ImGuiKey_GamepadLStickUp: ImGuiKey = 635; +pub const ImGuiKey_GamepadLStickDown: ImGuiKey = 636; +pub const ImGuiKey_GamepadRStickLeft: ImGuiKey = 637; +pub const ImGuiKey_GamepadRStickRight: ImGuiKey = 638; +pub const ImGuiKey_GamepadRStickUp: ImGuiKey = 639; +pub const ImGuiKey_GamepadRStickDown: ImGuiKey = 640; +pub const ImGuiKey_MouseLeft: ImGuiKey = 641; +pub const ImGuiKey_MouseRight: ImGuiKey = 642; +pub const ImGuiKey_MouseMiddle: ImGuiKey = 643; +pub const ImGuiKey_MouseX1: ImGuiKey = 644; +pub const ImGuiKey_MouseX2: ImGuiKey = 645; +pub const ImGuiKey_MouseWheelX: ImGuiKey = 646; +pub const ImGuiKey_MouseWheelY: ImGuiKey = 647; +pub const ImGuiKey_ReservedForModCtrl: ImGuiKey = 648; +pub const ImGuiKey_ReservedForModShift: ImGuiKey = 649; +pub const ImGuiKey_ReservedForModAlt: ImGuiKey = 650; +pub const ImGuiKey_ReservedForModSuper: ImGuiKey = 651; +pub const ImGuiKey_COUNT: ImGuiKey = 652; +pub const ImGuiMod_None: ImGuiKey = 0; +pub const ImGuiMod_Ctrl: ImGuiKey = 4096; +pub const ImGuiMod_Shift: ImGuiKey = 8192; +pub const ImGuiMod_Alt: ImGuiKey = 16384; +pub const ImGuiMod_Super: ImGuiKey = 32768; +pub const ImGuiMod_Mask_: ImGuiKey = 61440; +pub const ImGuiMod_Shortcut: ImGuiKey = 4096; +pub const ImGuiKey_NamedKey_BEGIN: ImGuiKey = 512; +pub const ImGuiKey_NamedKey_END: ImGuiKey = 652; +pub const ImGuiKey_NamedKey_COUNT: ImGuiKey = 140; +pub const ImGuiKey_KeysData_SIZE: ImGuiKey = 652; +pub const ImGuiKey_KeysData_OFFSET: ImGuiKey = 0; +pub type ImGuiKey = cty::c_uint; +pub const ImGuiNavInput_Activate: ImGuiNavInput = 0; +pub const ImGuiNavInput_Cancel: ImGuiNavInput = 1; +pub const ImGuiNavInput_Input: ImGuiNavInput = 2; +pub const ImGuiNavInput_Menu: ImGuiNavInput = 3; +pub const ImGuiNavInput_DpadLeft: ImGuiNavInput = 4; +pub const ImGuiNavInput_DpadRight: ImGuiNavInput = 5; +pub const ImGuiNavInput_DpadUp: ImGuiNavInput = 6; +pub const ImGuiNavInput_DpadDown: ImGuiNavInput = 7; +pub const ImGuiNavInput_LStickLeft: ImGuiNavInput = 8; +pub const ImGuiNavInput_LStickRight: ImGuiNavInput = 9; +pub const ImGuiNavInput_LStickUp: ImGuiNavInput = 10; +pub const ImGuiNavInput_LStickDown: ImGuiNavInput = 11; +pub const ImGuiNavInput_FocusPrev: ImGuiNavInput = 12; +pub const ImGuiNavInput_FocusNext: ImGuiNavInput = 13; +pub const ImGuiNavInput_TweakSlow: ImGuiNavInput = 14; +pub const ImGuiNavInput_TweakFast: ImGuiNavInput = 15; +pub const ImGuiNavInput_COUNT: ImGuiNavInput = 16; +pub type ImGuiNavInput = cty::c_uint; pub const ImGuiConfigFlags_None: ImGuiConfigFlags_ = 0; pub const ImGuiConfigFlags_NavEnableKeyboard: ImGuiConfigFlags_ = 1; pub const ImGuiConfigFlags_NavEnableGamepad: ImGuiConfigFlags_ = 2; @@ -1625,6 +909,30 @@ impl Default for ImGuiStyle { } } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiKeyData { + pub Down: bool, + pub DownDuration: f32, + pub DownDurationPrev: f32, + pub AnalogValue: f32, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImWchar { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImWchar, +} +impl Default for ImVector_ImWchar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiIO { pub ConfigFlags: ImGuiConfigFlags, @@ -1637,9 +945,10 @@ pub struct ImGuiIO { pub MouseDoubleClickTime: f32, pub MouseDoubleClickMaxDist: f32, pub MouseDragThreshold: f32, - pub KeyMap: [cty::c_int; 22usize], pub KeyRepeatDelay: f32, pub KeyRepeatRate: f32, + pub HoverDelayNormal: f32, + pub HoverDelayShort: f32, pub UserData: *mut cty::c_void, pub Fonts: *mut ImFontAtlas, pub FontGlobalScale: f32, @@ -1656,7 +965,9 @@ pub struct ImGuiIO { pub ConfigViewportsNoDefaultParent: bool, pub MouseDrawCursor: bool, pub ConfigMacOSXBehaviors: bool, + pub ConfigInputTrickleEventQueue: bool, pub ConfigInputTextCursorBlink: bool, + pub ConfigInputTextEnterKeepActive: bool, pub ConfigDragClickToInputText: bool, pub ConfigWindowsResizeFromEdges: bool, pub ConfigWindowsMoveFromTitleBarOnly: bool, @@ -1673,17 +984,10 @@ pub struct ImGuiIO { unsafe extern "C" fn(user_data: *mut cty::c_void, text: *const cty::c_char), >, pub ClipboardUserData: *mut cty::c_void, - pub MousePos: ImVec2, - pub MouseDown: [bool; 5usize], - pub MouseWheel: f32, - pub MouseWheelH: f32, - pub MouseHoveredViewport: ImGuiID, - pub KeyCtrl: bool, - pub KeyShift: bool, - pub KeyAlt: bool, - pub KeySuper: bool, - pub KeysDown: [bool; 512usize], - pub NavInputs: [f32; 20usize], + pub SetPlatformImeDataFn: ::core::option::Option< + unsafe extern "C" fn(viewport: *mut ImGuiViewport, data: *mut ImGuiPlatformImeData), + >, + pub _UnusedPadding: *mut cty::c_void, pub WantCaptureMouse: bool, pub WantCaptureKeyboard: bool, pub WantTextInput: bool, @@ -1698,9 +1002,21 @@ pub struct ImGuiIO { pub MetricsActiveWindows: cty::c_int, pub MetricsActiveAllocations: cty::c_int, pub MouseDelta: ImVec2, + pub KeyMap: [cty::c_int; 652usize], + pub KeysDown: [bool; 652usize], + pub NavInputs: [f32; 16usize], + pub MousePos: ImVec2, + pub MouseDown: [bool; 5usize], + pub MouseWheel: f32, + pub MouseWheelH: f32, + pub MouseHoveredViewport: ImGuiID, + pub KeyCtrl: bool, + pub KeyShift: bool, + pub KeyAlt: bool, + pub KeySuper: bool, + pub KeyMods: ImGuiKeyChord, + pub KeysData: [ImGuiKeyData; 652usize], pub WantCaptureMouseUnlessPopupClose: bool, - pub KeyMods: ImGuiKeyModFlags, - pub KeyModsPrev: ImGuiKeyModFlags, pub MousePosPrev: ImVec2, pub MouseClickedPos: [ImVec2; 5usize], pub MouseClickedTime: [f64; 5usize], @@ -1715,12 +1031,11 @@ pub struct ImGuiIO { pub MouseDownDurationPrev: [f32; 5usize], pub MouseDragMaxDistanceAbs: [ImVec2; 5usize], pub MouseDragMaxDistanceSqr: [f32; 5usize], - pub KeysDownDuration: [f32; 512usize], - pub KeysDownDurationPrev: [f32; 512usize], - pub NavInputsDownDuration: [f32; 20usize], - pub NavInputsDownDurationPrev: [f32; 20usize], pub PenPressure: f32, pub AppFocusLost: bool, + pub AppAcceptingEvents: bool, + pub BackendUsingLegacyKeyArrays: ImS8, + pub BackendUsingLegacyNavInputArray: bool, pub InputQueueSurrogate: ImWchar16, pub InputQueueCharacters: ImVector_ImWchar, } @@ -1880,6 +1195,22 @@ impl Default for ImGuiTextRange { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTextRange { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTextRange, +} +impl Default for ImVector_ImGuiTextRange { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextFilter { pub InputBuf: [cty::c_char; 256usize], pub Filters: ImVector_ImGuiTextRange, @@ -1896,6 +1227,22 @@ impl Default for ImGuiTextFilter { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_char { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_char, +} +impl Default for ImVector_char { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiTextBuffer { pub Buf: ImVector_char, } @@ -1955,6 +1302,22 @@ impl ::core::fmt::Debug for ImGuiStoragePair { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStoragePair { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStoragePair, +} +impl Default for ImVector_ImGuiStoragePair { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiStorage { pub Data: ImVector_ImGuiStoragePair, } @@ -1968,70 +1331,6 @@ impl Default for ImGuiStorage { } } #[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTabBar { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTabBar, -} -impl Default for ImVector_ImGuiTabBar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImPool_ImGuiTabBar { - pub Buf: ImVector_ImGuiTabBar, - pub Map: ImGuiStorage, - pub FreeIdx: ImPoolIdx, -} -impl Default for ImPool_ImGuiTabBar { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImVector_ImGuiTable { - pub Size: cty::c_int, - pub Capacity: cty::c_int, - pub Data: *mut ImGuiTable, -} -impl Default for ImVector_ImGuiTable { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub struct ImPool_ImGuiTable { - pub Buf: ImVector_ImGuiTable, - pub Map: ImGuiStorage, - pub FreeIdx: ImPoolIdx, -} -impl Default for ImPool_ImGuiTable { - fn default() -> Self { - let mut s = ::core::mem::MaybeUninit::::uninit(); - unsafe { - ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); - s.assume_init() - } - } -} -#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiListClipper { pub DisplayStart: cty::c_int, @@ -2055,6 +1354,9 @@ impl Default for ImGuiListClipper { pub struct ImColor { pub Value: ImVec4, } +pub type ImDrawCallback = ::core::option::Option< + unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd), +>; #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawCmd { @@ -2100,6 +1402,38 @@ impl Default for ImDrawCmdHeader { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawCmd { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawCmd, +} +impl Default for ImVector_ImDrawCmd { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawIdx { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawIdx, +} +impl Default for ImVector_ImDrawIdx { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawChannel { pub _CmdBuffer: ImVector_ImDrawCmd, pub _IdxBuffer: ImVector_ImDrawIdx, @@ -2115,6 +1449,22 @@ impl Default for ImDrawChannel { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawChannel { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawChannel, +} +impl Default for ImVector_ImDrawChannel { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawListSplitter { pub _Current: cty::c_int, pub _Count: cty::c_int, @@ -2151,6 +1501,70 @@ pub const ImDrawListFlags_AntiAliasedFill: ImDrawListFlags_ = 4; pub const ImDrawListFlags_AllowVtxOffset: ImDrawListFlags_ = 8; pub type ImDrawListFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawVert { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImDrawVert, +} +impl Default for ImVector_ImDrawVert { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec4 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec4, +} +impl Default for ImVector_ImVec4 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImTextureID { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImTextureID, +} +impl Default for ImVector_ImTextureID { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImVec2 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImVec2, +} +impl Default for ImVector_ImVec2 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawList { pub CmdBuffer: ImVector_ImDrawCmd, @@ -2158,7 +1572,7 @@ pub struct ImDrawList { pub VtxBuffer: ImVector_ImDrawVert, pub Flags: ImDrawListFlags, pub _VtxCurrentIdx: cty::c_uint, - pub _Data: *const ImDrawListSharedData, + pub _Data: *mut ImDrawListSharedData, pub _OwnerName: *const cty::c_char, pub _VtxWritePtr: *mut ImDrawVert, pub _IdxWritePtr: *mut ImDrawIdx, @@ -2305,6 +1719,22 @@ impl ImFontGlyph { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImU32 { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImU32, +} +impl Default for ImVector_ImU32 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImFontGlyphRangesBuilder { pub UsedChars: ImVector_ImU32, } @@ -2344,6 +1774,54 @@ pub const ImFontAtlasFlags_NoMouseCursors: ImFontAtlasFlags_ = 2; pub const ImFontAtlasFlags_NoBakedLines: ImFontAtlasFlags_ = 4; pub type ImFontAtlasFlags_ = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImFont, +} +impl Default for ImVector_ImFontPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontAtlasCustomRect { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontAtlasCustomRect, +} +impl Default for ImVector_ImFontAtlasCustomRect { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontConfig { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontConfig, +} +impl Default for ImVector_ImFontConfig { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFontAtlas { pub Flags: ImFontAtlasFlags, @@ -2378,6 +1856,38 @@ impl Default for ImFontAtlas { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_float { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut f32, +} +impl Default for ImVector_float { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImFontGlyph { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImFontGlyph, +} +impl Default for ImVector_ImFontGlyph { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImFont { pub IndexAdvanceX: ImVector_float, @@ -2439,6 +1949,7 @@ pub struct ImGuiViewport { pub PlatformUserData: *mut cty::c_void, pub PlatformHandle: *mut cty::c_void, pub PlatformHandleRaw: *mut cty::c_void, + pub PlatformWindowCreated: bool, pub PlatformRequestMove: bool, pub PlatformRequestResize: bool, pub PlatformRequestClose: bool, @@ -2454,6 +1965,38 @@ impl Default for ImGuiViewport { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiPlatformMonitor { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiPlatformMonitor, +} +impl Default for ImVector_ImGuiPlatformMonitor { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiViewportPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImGuiViewport, +} +impl Default for ImVector_ImGuiViewportPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiPlatformIO { pub Platform_CreateWindow: ::core::option::Option, pub Platform_DestroyWindow: @@ -2489,8 +2032,6 @@ pub struct ImGuiPlatformIO { ::core::option::Option f32>, pub Platform_OnChangedViewport: ::core::option::Option, - pub Platform_SetImeInputPos: - ::core::option::Option, pub Platform_CreateVkSurface: ::core::option::Option< unsafe extern "C" fn( vp: *mut ImGuiViewport, @@ -2532,6 +2073,32 @@ pub struct ImGuiPlatformMonitor { pub DpiScale: f32, } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiPlatformImeData { + pub WantVisible: bool, + pub InputPos: ImVec2, + pub InputLineHeight: f32, +} +pub type ImGuiDataAuthority = cty::c_int; +pub type ImGuiLayoutType = cty::c_int; +pub type ImGuiActivateFlags = cty::c_int; +pub type ImGuiDebugLogFlags = cty::c_int; +pub type ImGuiInputFlags = cty::c_int; +pub type ImGuiItemFlags = cty::c_int; +pub type ImGuiItemStatusFlags = cty::c_int; +pub type ImGuiOldColumnFlags = cty::c_int; +pub type ImGuiNavHighlightFlags = cty::c_int; +pub type ImGuiNavMoveFlags = cty::c_int; +pub type ImGuiNextItemDataFlags = cty::c_int; +pub type ImGuiNextWindowDataFlags = cty::c_int; +pub type ImGuiScrollFlags = cty::c_int; +pub type ImGuiSeparatorFlags = cty::c_int; +pub type ImGuiTextFlags = cty::c_int; +pub type ImGuiTooltipFlags = cty::c_int; +pub type ImGuiErrorLogCallback = ::core::option::Option< + unsafe extern "C" fn(user_data: *mut cty::c_void, fmt: *const cty::c_char, ...), +>; +#[repr(C)] #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] pub struct StbUndoRecord { pub where_: cty::c_int, @@ -2595,6 +2162,7 @@ pub struct StbTexteditRow { pub ymax: f32, pub num_chars: cty::c_int, } +pub type ImFileHandle = *mut FILE; #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImVec1 { @@ -2626,6 +2194,38 @@ impl Default for ImBitVector { } } } +pub type ImPoolIdx = cty::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_int { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_int, +} +impl Default for ImVector_int { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiTextIndex { + pub LineOffsets: ImVector_int, + pub EndOffset: cty::c_int, +} +impl Default for ImGuiTextIndex { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} #[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImDrawListSharedData { @@ -2636,6 +2236,7 @@ pub struct ImDrawListSharedData { pub CircleSegmentMaxError: f32, pub ClipRectFullscreen: ImVec4, pub InitialFlags: ImDrawListFlags, + pub TempBuffer: ImVector_ImVec2, pub ArcFastVtx: [ImVec2; 48usize], pub ArcFastRadiusCutoff: f32, pub CircleSegmentCounts: [ImU8; 64usize], @@ -2652,6 +2253,22 @@ impl Default for ImDrawListSharedData { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImDrawListPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImDrawList, +} +impl Default for ImVector_ImDrawListPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImDrawDataBuilder { pub Layers: [ImVector_ImDrawListPtr; 2usize], } @@ -2673,7 +2290,8 @@ pub const ImGuiItemFlags_NoNavDefaultFocus: ImGuiItemFlags_ = 16; pub const ImGuiItemFlags_SelectableDontClosePopup: ImGuiItemFlags_ = 32; pub const ImGuiItemFlags_MixedValue: ImGuiItemFlags_ = 64; pub const ImGuiItemFlags_ReadOnly: ImGuiItemFlags_ = 128; -pub const ImGuiItemFlags_Inputable: ImGuiItemFlags_ = 256; +pub const ImGuiItemFlags_NoWindowHoverableCheck: ImGuiItemFlags_ = 256; +pub const ImGuiItemFlags_Inputable: ImGuiItemFlags_ = 1024; pub type ImGuiItemFlags_ = cty::c_uint; pub const ImGuiItemStatusFlags_None: ImGuiItemStatusFlags_ = 0; pub const ImGuiItemStatusFlags_HoveredRect: ImGuiItemStatusFlags_ = 1; @@ -2685,6 +2303,7 @@ pub const ImGuiItemStatusFlags_HasDeactivated: ImGuiItemStatusFlags_ = 32; pub const ImGuiItemStatusFlags_Deactivated: ImGuiItemStatusFlags_ = 64; pub const ImGuiItemStatusFlags_HoveredWindow: ImGuiItemStatusFlags_ = 128; pub const ImGuiItemStatusFlags_FocusedByTabbing: ImGuiItemStatusFlags_ = 256; +pub const ImGuiItemStatusFlags_Visible: ImGuiItemStatusFlags_ = 512; pub type ImGuiItemStatusFlags_ = cty::c_uint; pub const ImGuiInputTextFlags_Multiline: ImGuiInputTextFlagsPrivate_ = 67108864; pub const ImGuiInputTextFlags_NoMarkEdited: ImGuiInputTextFlagsPrivate_ = 134217728; @@ -2705,6 +2324,8 @@ pub const ImGuiButtonFlags_NoKeyModifiers: ImGuiButtonFlagsPrivate_ = 65536; pub const ImGuiButtonFlags_NoHoldingActiveId: ImGuiButtonFlagsPrivate_ = 131072; pub const ImGuiButtonFlags_NoNavFocus: ImGuiButtonFlagsPrivate_ = 262144; pub const ImGuiButtonFlags_NoHoveredOnFocus: ImGuiButtonFlagsPrivate_ = 524288; +pub const ImGuiButtonFlags_NoSetKeyOwner: ImGuiButtonFlagsPrivate_ = 1048576; +pub const ImGuiButtonFlags_NoTestKeyOwner: ImGuiButtonFlagsPrivate_ = 2097152; pub const ImGuiButtonFlags_PressedOnMask_: ImGuiButtonFlagsPrivate_ = 1008; pub const ImGuiButtonFlags_PressedOnDefault_: ImGuiButtonFlagsPrivate_ = 32; pub type ImGuiButtonFlagsPrivate_ = cty::c_uint; @@ -2721,6 +2342,7 @@ pub const ImGuiSelectableFlags_SpanAvailWidth: ImGuiSelectableFlagsPrivate_ = 16 pub const ImGuiSelectableFlags_DrawHoveredWhenHeld: ImGuiSelectableFlagsPrivate_ = 33554432; pub const ImGuiSelectableFlags_SetNavIdOnHover: ImGuiSelectableFlagsPrivate_ = 67108864; pub const ImGuiSelectableFlags_NoPadWithHalfSpacing: ImGuiSelectableFlagsPrivate_ = 134217728; +pub const ImGuiSelectableFlags_NoSetKeyOwner: ImGuiSelectableFlagsPrivate_ = 268435456; pub type ImGuiSelectableFlagsPrivate_ = cty::c_uint; pub const ImGuiTreeNodeFlags_ClipLabelForTrailingButton: ImGuiTreeNodeFlagsPrivate_ = 1048576; pub type ImGuiTreeNodeFlagsPrivate_ = cty::c_uint; @@ -2751,21 +2373,6 @@ pub type ImGuiAxis = cty::c_int; pub const ImGuiPlotType_Lines: ImGuiPlotType = 0; pub const ImGuiPlotType_Histogram: ImGuiPlotType = 1; pub type ImGuiPlotType = cty::c_uint; -pub const ImGuiInputSource_None: ImGuiInputSource = 0; -pub const ImGuiInputSource_Mouse: ImGuiInputSource = 1; -pub const ImGuiInputSource_Keyboard: ImGuiInputSource = 2; -pub const ImGuiInputSource_Gamepad: ImGuiInputSource = 3; -pub const ImGuiInputSource_Nav: ImGuiInputSource = 4; -pub const ImGuiInputSource_Clipboard: ImGuiInputSource = 5; -pub const ImGuiInputSource_COUNT: ImGuiInputSource = 6; -pub type ImGuiInputSource = cty::c_uint; -pub const ImGuiInputReadMode_Down: ImGuiInputReadMode = 0; -pub const ImGuiInputReadMode_Pressed: ImGuiInputReadMode = 1; -pub const ImGuiInputReadMode_Released: ImGuiInputReadMode = 2; -pub const ImGuiInputReadMode_Repeat: ImGuiInputReadMode = 3; -pub const ImGuiInputReadMode_RepeatSlow: ImGuiInputReadMode = 4; -pub const ImGuiInputReadMode_RepeatFast: ImGuiInputReadMode = 5; -pub type ImGuiInputReadMode = cty::c_uint; pub const ImGuiPopupPositionPolicy_Default: ImGuiPopupPositionPolicy = 0; pub const ImGuiPopupPositionPolicy_ComboBox: ImGuiPopupPositionPolicy = 1; pub const ImGuiPopupPositionPolicy_Tooltip: ImGuiPopupPositionPolicy = 2; @@ -2916,7 +2523,8 @@ impl Default for ImGuiInputTextState { pub struct ImGuiPopupData { pub PopupId: ImGuiID, pub Window: *mut ImGuiWindow, - pub SourceWindow: *mut ImGuiWindow, + pub BackupNavWindow: *mut ImGuiWindow, + pub ParentNavLayer: cty::c_int, pub OpenFrameCount: cty::c_int, pub OpenParentId: ImGuiID, pub OpenPopupPos: ImVec2, @@ -3034,6 +2642,7 @@ impl Default for ImGuiWindowStackData { pub struct ImGuiShrinkWidthItem { pub Index: cty::c_int, pub Width: f32, + pub InitialWidth: f32, } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -3050,6 +2659,195 @@ impl Default for ImGuiPtrOrIndex { } } } +pub const ImGuiInputEventType_None: ImGuiInputEventType = 0; +pub const ImGuiInputEventType_MousePos: ImGuiInputEventType = 1; +pub const ImGuiInputEventType_MouseWheel: ImGuiInputEventType = 2; +pub const ImGuiInputEventType_MouseButton: ImGuiInputEventType = 3; +pub const ImGuiInputEventType_MouseViewport: ImGuiInputEventType = 4; +pub const ImGuiInputEventType_Key: ImGuiInputEventType = 5; +pub const ImGuiInputEventType_Text: ImGuiInputEventType = 6; +pub const ImGuiInputEventType_Focus: ImGuiInputEventType = 7; +pub const ImGuiInputEventType_COUNT: ImGuiInputEventType = 8; +pub type ImGuiInputEventType = cty::c_uint; +pub const ImGuiInputSource_None: ImGuiInputSource = 0; +pub const ImGuiInputSource_Mouse: ImGuiInputSource = 1; +pub const ImGuiInputSource_Keyboard: ImGuiInputSource = 2; +pub const ImGuiInputSource_Gamepad: ImGuiInputSource = 3; +pub const ImGuiInputSource_Clipboard: ImGuiInputSource = 4; +pub const ImGuiInputSource_Nav: ImGuiInputSource = 5; +pub const ImGuiInputSource_COUNT: ImGuiInputSource = 6; +pub type ImGuiInputSource = cty::c_uint; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiInputEventMousePos { + pub PosX: f32, + pub PosY: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiInputEventMouseWheel { + pub WheelX: f32, + pub WheelY: f32, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventMouseButton { + pub Button: cty::c_int, + pub Down: bool, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventMouseViewport { + pub HoveredViewportID: ImGuiID, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, PartialEq)] +pub struct ImGuiInputEventKey { + pub Key: ImGuiKey, + pub Down: bool, + pub AnalogValue: f32, +} +impl Default for ImGuiInputEventKey { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventText { + pub Char: cty::c_uint, +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiInputEventAppFocused { + pub Focused: bool, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct ImGuiInputEvent { + pub Type: ImGuiInputEventType, + pub Source: ImGuiInputSource, + pub __bindgen_anon_1: ImGuiInputEvent__bindgen_ty_1, + pub AddedByTestEngine: bool, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union ImGuiInputEvent__bindgen_ty_1 { + pub MousePos: ImGuiInputEventMousePos, + pub MouseWheel: ImGuiInputEventMouseWheel, + pub MouseButton: ImGuiInputEventMouseButton, + pub MouseViewport: ImGuiInputEventMouseViewport, + pub Key: ImGuiInputEventKey, + pub Text: ImGuiInputEventText, + pub AppFocused: ImGuiInputEventAppFocused, +} +impl Default for ImGuiInputEvent__bindgen_ty_1 { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +impl ::core::fmt::Debug for ImGuiInputEvent__bindgen_ty_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + write!(f, "ImGuiInputEvent__bindgen_ty_1 {{ union }}") + } +} +impl Default for ImGuiInputEvent { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +impl ::core::fmt::Debug for ImGuiInputEvent { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + write ! (f , "ImGuiInputEvent {{ Type: {:?}, Source: {:?}, __bindgen_anon_1: {:?}, AddedByTestEngine: {:?} }}" , self . Type , self . Source , self . __bindgen_anon_1 , self . AddedByTestEngine) + } +} +pub type ImGuiKeyRoutingIndex = ImS16; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiKeyRoutingData { + pub NextEntryIndex: ImGuiKeyRoutingIndex, + pub Mods: ImU16, + pub RoutingNextScore: ImU8, + pub RoutingCurr: ImGuiID, + pub RoutingNext: ImGuiID, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiKeyRoutingData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiKeyRoutingData, +} +impl Default for ImVector_ImGuiKeyRoutingData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiKeyRoutingTable { + pub Index: [ImGuiKeyRoutingIndex; 140usize], + pub Entries: ImVector_ImGuiKeyRoutingData, + pub EntriesNext: ImVector_ImGuiKeyRoutingData, +} +impl Default for ImGuiKeyRoutingTable { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiKeyOwnerData { + pub OwnerCurr: ImGuiID, + pub OwnerNext: ImGuiID, + pub LockThisFrame: bool, + pub LockUntilRelease: bool, +} +pub const ImGuiInputFlags_None: ImGuiInputFlags_ = 0; +pub const ImGuiInputFlags_Repeat: ImGuiInputFlags_ = 1; +pub const ImGuiInputFlags_RepeatRateDefault: ImGuiInputFlags_ = 2; +pub const ImGuiInputFlags_RepeatRateNavMove: ImGuiInputFlags_ = 4; +pub const ImGuiInputFlags_RepeatRateNavTweak: ImGuiInputFlags_ = 8; +pub const ImGuiInputFlags_RepeatRateMask_: ImGuiInputFlags_ = 14; +pub const ImGuiInputFlags_CondHovered: ImGuiInputFlags_ = 16; +pub const ImGuiInputFlags_CondActive: ImGuiInputFlags_ = 32; +pub const ImGuiInputFlags_CondDefault_: ImGuiInputFlags_ = 48; +pub const ImGuiInputFlags_CondMask_: ImGuiInputFlags_ = 48; +pub const ImGuiInputFlags_LockThisFrame: ImGuiInputFlags_ = 64; +pub const ImGuiInputFlags_LockUntilRelease: ImGuiInputFlags_ = 128; +pub const ImGuiInputFlags_RouteFocused: ImGuiInputFlags_ = 256; +pub const ImGuiInputFlags_RouteGlobalLow: ImGuiInputFlags_ = 512; +pub const ImGuiInputFlags_RouteGlobal: ImGuiInputFlags_ = 1024; +pub const ImGuiInputFlags_RouteGlobalHigh: ImGuiInputFlags_ = 2048; +pub const ImGuiInputFlags_RouteMask_: ImGuiInputFlags_ = 3840; +pub const ImGuiInputFlags_RouteAlways: ImGuiInputFlags_ = 4096; +pub const ImGuiInputFlags_RouteUnlessBgFocused: ImGuiInputFlags_ = 8192; +pub const ImGuiInputFlags_RouteExtraMask_: ImGuiInputFlags_ = 12288; +pub const ImGuiInputFlags_SupportedByIsKeyPressed: ImGuiInputFlags_ = 15; +pub const ImGuiInputFlags_SupportedByShortcut: ImGuiInputFlags_ = 16143; +pub const ImGuiInputFlags_SupportedBySetKeyOwner: ImGuiInputFlags_ = 192; +pub const ImGuiInputFlags_SupportedBySetItemKeyOwner: ImGuiInputFlags_ = 240; +pub type ImGuiInputFlags_ = cty::c_uint; #[repr(C)] #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiListClipperRange { @@ -3060,6 +2858,22 @@ pub struct ImGuiListClipperRange { pub PosToIndexOffsetMax: ImS8, } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiListClipperRange { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiListClipperRange, +} +impl Default for ImVector_ImGuiListClipperRange { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiListClipperData { pub ListClipper: *mut ImGuiListClipper, @@ -3099,12 +2913,6 @@ pub const ImGuiNavHighlightFlags_TypeThin: ImGuiNavHighlightFlags_ = 2; pub const ImGuiNavHighlightFlags_AlwaysDraw: ImGuiNavHighlightFlags_ = 4; pub const ImGuiNavHighlightFlags_NoRounding: ImGuiNavHighlightFlags_ = 8; pub type ImGuiNavHighlightFlags_ = cty::c_uint; -pub const ImGuiNavDirSourceFlags_None: ImGuiNavDirSourceFlags_ = 0; -pub const ImGuiNavDirSourceFlags_RawKeyboard: ImGuiNavDirSourceFlags_ = 1; -pub const ImGuiNavDirSourceFlags_Keyboard: ImGuiNavDirSourceFlags_ = 2; -pub const ImGuiNavDirSourceFlags_PadDPad: ImGuiNavDirSourceFlags_ = 4; -pub const ImGuiNavDirSourceFlags_PadLStick: ImGuiNavDirSourceFlags_ = 8; -pub type ImGuiNavDirSourceFlags_ = cty::c_uint; pub const ImGuiNavMoveFlags_None: ImGuiNavMoveFlags_ = 0; pub const ImGuiNavMoveFlags_LoopX: ImGuiNavMoveFlags_ = 1; pub const ImGuiNavMoveFlags_LoopY: ImGuiNavMoveFlags_ = 2; @@ -3161,6 +2969,22 @@ pub struct ImGuiOldColumnData { pub ClipRect: ImRect, } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiOldColumnData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiOldColumnData, +} +impl Default for ImVector_ImGuiOldColumnData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiOldColumns { pub ID: ImGuiID, @@ -3220,6 +3044,22 @@ pub const ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing: ImGuiDoc pub const ImGuiDockNodeState_HostWindowVisible: ImGuiDockNodeState = 3; pub type ImGuiDockNodeState = cty::c_uint; #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiWindowPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImGuiWindow, +} +impl Default for ImVector_ImGuiWindowPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiDockNode { pub ID: ImGuiID, @@ -3511,6 +3351,38 @@ pub struct ImGuiWindowDockStyle { } #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiDockRequest { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiDockRequest, +} +impl Default for ImVector_ImGuiDockRequest { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiDockNodeSettings { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiDockNodeSettings, +} +impl Default for ImVector_ImGuiDockNodeSettings { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiDockContext { pub Nodes: ImGuiStorage, pub Requests: ImVector_ImGuiDockRequest, @@ -3538,7 +3410,6 @@ pub struct ImGuiViewportP { pub Alpha: f32, pub LastAlpha: f32, pub PlatformMonitor: cty::c_short, - pub PlatformWindowCreated: bool, pub Window: *mut ImGuiWindow, pub DrawListsLastFrame: [cty::c_int; 2usize], pub DrawLists: [*mut ImDrawList; 2usize], @@ -3622,9 +3493,47 @@ impl Default for ImGuiSettingsHandler { } } } +pub const ImGuiLocKey_TableSizeOne: ImGuiLocKey = 0; +pub const ImGuiLocKey_TableSizeAllFit: ImGuiLocKey = 1; +pub const ImGuiLocKey_TableSizeAllDefault: ImGuiLocKey = 2; +pub const ImGuiLocKey_TableResetOrder: ImGuiLocKey = 3; +pub const ImGuiLocKey_WindowingMainMenuBar: ImGuiLocKey = 4; +pub const ImGuiLocKey_WindowingPopup: ImGuiLocKey = 5; +pub const ImGuiLocKey_WindowingUntitled: ImGuiLocKey = 6; +pub const ImGuiLocKey_DockingHideTabBar: ImGuiLocKey = 7; +pub const ImGuiLocKey_COUNT: ImGuiLocKey = 8; +pub type ImGuiLocKey = cty::c_uint; +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImGuiLocEntry { + pub Key: ImGuiLocKey, + pub Text: *const cty::c_char, +} +impl Default for ImGuiLocEntry { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +pub const ImGuiDebugLogFlags_None: ImGuiDebugLogFlags_ = 0; +pub const ImGuiDebugLogFlags_EventActiveId: ImGuiDebugLogFlags_ = 1; +pub const ImGuiDebugLogFlags_EventFocus: ImGuiDebugLogFlags_ = 2; +pub const ImGuiDebugLogFlags_EventPopup: ImGuiDebugLogFlags_ = 4; +pub const ImGuiDebugLogFlags_EventNav: ImGuiDebugLogFlags_ = 8; +pub const ImGuiDebugLogFlags_EventClipper: ImGuiDebugLogFlags_ = 16; +pub const ImGuiDebugLogFlags_EventIO: ImGuiDebugLogFlags_ = 32; +pub const ImGuiDebugLogFlags_EventDocking: ImGuiDebugLogFlags_ = 64; +pub const ImGuiDebugLogFlags_EventViewport: ImGuiDebugLogFlags_ = 128; +pub const ImGuiDebugLogFlags_EventMask_: ImGuiDebugLogFlags_ = 255; +pub const ImGuiDebugLogFlags_OutputToTTY: ImGuiDebugLogFlags_ = 1024; +pub type ImGuiDebugLogFlags_ = cty::c_uint; #[repr(C)] #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)] pub struct ImGuiMetricsConfig { + pub ShowDebugLog: bool, pub ShowStackTool: bool, pub ShowWindowsRects: bool, pub ShowWindowsBeginOrder: bool, @@ -3641,7 +3550,9 @@ pub struct ImGuiStackLevelInfo { pub ID: ImGuiID, pub QueryFrameCount: ImS8, pub QuerySuccess: bool, - pub Desc: [cty::c_char; 58usize], + pub _bitfield_align_1: [u8; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, + pub Desc: [cty::c_char; 57usize], } impl Default for ImGuiStackLevelInfo { fn default() -> Self { @@ -3652,13 +3563,53 @@ impl Default for ImGuiStackLevelInfo { } } } +impl ImGuiStackLevelInfo { + #[inline] + pub fn DataType(&self) -> ImGuiDataType { + unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } + } + #[inline] + pub fn set_DataType(&mut self, val: ImGuiDataType) { + unsafe { + let val: u32 = ::core::mem::transmute(val); + self._bitfield_1.set(0usize, 8u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1(DataType: ImGuiDataType) -> __BindgenBitfieldUnit<[u8; 1usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 8u8, { + let DataType: u32 = unsafe { ::core::mem::transmute(DataType) }; + DataType as u64 + }); + __bindgen_bitfield_unit + } +} #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStackLevelInfo { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStackLevelInfo, +} +impl Default for ImVector_ImGuiStackLevelInfo { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiStackTool { pub LastActiveFrame: cty::c_int, pub StackLevel: cty::c_int, pub QueryId: ImGuiID, pub Results: ImVector_ImGuiStackLevelInfo, + pub CopyToClipboardOnCtrlC: bool, + pub CopyToClipboardLastTime: f32, } impl Default for ImGuiStackTool { fn default() -> Self { @@ -3669,6 +3620,9 @@ impl Default for ImGuiStackTool { } } } +pub type ImGuiContextHookCallback = ::core::option::Option< + unsafe extern "C" fn(ctx: *mut ImGuiContext, hook: *mut ImGuiContextHook), +>; pub const ImGuiContextHookType_NewFramePre: ImGuiContextHookType = 0; pub const ImGuiContextHookType_NewFramePost: ImGuiContextHookType = 1; pub const ImGuiContextHookType_EndFramePre: ImGuiContextHookType = 2; @@ -3697,12 +3651,364 @@ impl Default for ImGuiContextHook { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiInputEvent { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiInputEvent, +} +impl Default for ImVector_ImGuiInputEvent { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiWindowStackData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiWindowStackData, +} +impl Default for ImVector_ImGuiWindowStackData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiColorMod { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiColorMod, +} +impl Default for ImVector_ImGuiColorMod { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiStyleMod { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiStyleMod, +} +impl Default for ImVector_ImGuiStyleMod { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiID { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiID, +} +impl Default for ImVector_ImGuiID { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiItemFlags { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiItemFlags, +} +impl Default for ImVector_ImGuiItemFlags { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiGroupData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiGroupData, +} +impl Default for ImVector_ImGuiGroupData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiPopupData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiPopupData, +} +impl Default for ImVector_ImGuiPopupData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiViewportPPtr { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut *mut ImGuiViewportP, +} +impl Default for ImVector_ImGuiViewportPPtr { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_unsigned_char { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut cty::c_uchar, +} +impl Default for ImVector_unsigned_char { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiListClipperData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiListClipperData, +} +impl Default for ImVector_ImGuiListClipperData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTableTempData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTableTempData, +} +impl Default for ImVector_ImGuiTableTempData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTable { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTable, +} +impl Default for ImVector_ImGuiTable { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImPool_ImGuiTable { + pub Buf: ImVector_ImGuiTable, + pub Map: ImGuiStorage, + pub FreeIdx: ImPoolIdx, + pub AliveCount: ImPoolIdx, +} +impl Default for ImPool_ImGuiTable { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTabBar { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTabBar, +} +impl Default for ImVector_ImGuiTabBar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImPool_ImGuiTabBar { + pub Buf: ImVector_ImGuiTabBar, + pub Map: ImGuiStorage, + pub FreeIdx: ImPoolIdx, + pub AliveCount: ImPoolIdx, +} +impl Default for ImPool_ImGuiTabBar { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiPtrOrIndex { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiPtrOrIndex, +} +impl Default for ImVector_ImGuiPtrOrIndex { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiShrinkWidthItem { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiShrinkWidthItem, +} +impl Default for ImVector_ImGuiShrinkWidthItem { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiSettingsHandler { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiSettingsHandler, +} +impl Default for ImVector_ImGuiSettingsHandler { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImChunkStream_ImGuiWindowSettings { + pub Buf: ImVector_char, +} +impl Default for ImChunkStream_ImGuiWindowSettings { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImChunkStream_ImGuiTableSettings { + pub Buf: ImVector_char, +} +impl Default for ImChunkStream_ImGuiTableSettings { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiContextHook { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiContextHook, +} +impl Default for ImVector_ImGuiContextHook { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiContext { pub Initialized: bool, pub FontAtlasOwnedByContext: bool, pub IO: ImGuiIO, pub PlatformIO: ImGuiPlatformIO, + pub InputEventsQueue: ImVector_ImGuiInputEvent, + pub InputEventsTrail: ImVector_ImGuiInputEvent, pub Style: ImGuiStyle, pub ConfigFlagsCurrFrame: ImGuiConfigFlags, pub ConfigFlagsLastFrame: ImGuiConfigFlags, @@ -3731,17 +4037,14 @@ pub struct ImGuiContext { pub CurrentWindow: *mut ImGuiWindow, pub HoveredWindow: *mut ImGuiWindow, pub HoveredWindowUnderMovingWindow: *mut ImGuiWindow, - pub HoveredDockNode: *mut ImGuiDockNode, pub MovingWindow: *mut ImGuiWindow, pub WheelingWindow: *mut ImGuiWindow, pub WheelingWindowRefMousePos: ImVec2, - pub WheelingWindowTimer: f32, + pub WheelingWindowReleaseTimer: f32, pub DebugHookIdInfo: ImGuiID, pub HoveredId: ImGuiID, pub HoveredIdPreviousFrame: ImGuiID, pub HoveredIdAllowOverlap: bool, - pub HoveredIdUsingMouseWheel: bool, - pub HoveredIdPreviousFrameUsingMouseWheel: bool, pub HoveredIdDisabled: bool, pub HoveredIdTimer: f32, pub HoveredIdNotActiveTimer: f32, @@ -3754,10 +4057,6 @@ pub struct ImGuiContext { pub ActiveIdHasBeenPressedBefore: bool, pub ActiveIdHasBeenEditedBefore: bool, pub ActiveIdHasBeenEditedThisFrame: bool, - pub ActiveIdUsingMouseWheel: bool, - pub ActiveIdUsingNavDirMask: ImU32, - pub ActiveIdUsingNavInputMask: ImU32, - pub ActiveIdUsingKeyInputMask: ImU64, pub ActiveIdClickOffset: ImVec2, pub ActiveIdWindow: *mut ImGuiWindow, pub ActiveIdSource: ImGuiInputSource, @@ -3768,7 +4067,14 @@ pub struct ImGuiContext { pub ActiveIdPreviousFrameWindow: *mut ImGuiWindow, pub LastActiveId: ImGuiID, pub LastActiveIdTimer: f32, + pub KeysOwnerData: [ImGuiKeyOwnerData; 140usize], + pub KeysRoutingTable: ImGuiKeyRoutingTable, + pub ActiveIdUsingNavDirMask: ImU32, + pub ActiveIdUsingAllKeyboardKeys: bool, + pub ActiveIdUsingNavInputMask: ImU32, + pub CurrentFocusScopeId: ImGuiID, pub CurrentItemFlags: ImGuiItemFlags, + pub DebugLocateId: ImGuiID, pub NextItemData: ImGuiNextItemData, pub LastItemData: ImGuiLastItemData, pub NextWindowData: ImGuiNextWindowData, @@ -3799,7 +4105,7 @@ pub struct ImGuiContext { pub NavActivateFlags: ImGuiActivateFlags, pub NavJustMovedToId: ImGuiID, pub NavJustMovedToFocusScopeId: ImGuiID, - pub NavJustMovedToKeyMods: ImGuiKeyModFlags, + pub NavJustMovedToKeyMods: ImGuiKeyChord, pub NavNextActivateId: ImGuiID, pub NavNextActivateFlags: ImGuiActivateFlags, pub NavInputSource: ImGuiInputSource, @@ -3818,7 +4124,7 @@ pub struct ImGuiContext { pub NavMoveForwardToNextFrame: bool, pub NavMoveFlags: ImGuiNavMoveFlags, pub NavMoveScrollFlags: ImGuiScrollFlags, - pub NavMoveKeyMods: ImGuiKeyModFlags, + pub NavMoveKeyMods: ImGuiKeyChord, pub NavMoveDir: ImGuiDir, pub NavMoveDirForDebug: ImGuiDir, pub NavMoveClipDir: ImGuiDir, @@ -3831,12 +4137,16 @@ pub struct ImGuiContext { pub NavMoveResultLocalVisible: ImGuiNavItemData, pub NavMoveResultOther: ImGuiNavItemData, pub NavTabbingResultFirst: ImGuiNavItemData, + pub ConfigNavWindowingKeyNext: ImGuiKeyChord, + pub ConfigNavWindowingKeyPrev: ImGuiKeyChord, pub NavWindowingTarget: *mut ImGuiWindow, pub NavWindowingTargetAnim: *mut ImGuiWindow, pub NavWindowingListWindow: *mut ImGuiWindow, pub NavWindowingTimer: f32, pub NavWindowingHighlightAlpha: f32, pub NavWindowingToggleLayer: bool, + pub NavWindowingAccumDeltaPos: ImVec2, + pub NavWindowingAccumDeltaSize: ImVec2, pub DimBgRatio: f32, pub MouseCursor: ImGuiMouseCursor, pub DragDropActive: bool, @@ -3868,6 +4178,10 @@ pub struct ImGuiContext { pub TabBars: ImPool_ImGuiTabBar, pub CurrentTabBarStack: ImVector_ImGuiPtrOrIndex, pub ShrinkWidthBuffer: ImVector_ImGuiShrinkWidthItem, + pub HoverDelayId: ImGuiID, + pub HoverDelayIdPreviousFrame: ImGuiID, + pub HoverDelayTimer: f32, + pub HoverDelayClearTimer: f32, pub MouseLastValidPos: ImVec2, pub InputTextState: ImGuiInputTextState, pub InputTextPasswordFont: ImFont, @@ -3878,6 +4192,7 @@ pub struct ImGuiContext { pub ColorEditLastColor: ImU32, pub ColorPickerRef: ImVec4, pub ComboPreviewData: ImGuiComboPreviewData, + pub SliderGrabClickOffset: f32, pub SliderCurrentAccum: f32, pub SliderCurrentAccumDirty: bool, pub DragCurrentAccumDirty: bool, @@ -3887,12 +4202,11 @@ pub struct ImGuiContext { pub DisabledAlphaBackup: f32, pub DisabledStackSize: cty::c_short, pub TooltipOverrideCount: cty::c_short, - pub TooltipSlowDelay: f32, pub ClipboardHandlerData: ImVector_char, pub MenusIdSubmittedThisFrame: ImVector_ImGuiID, - pub PlatformImePos: ImVec2, - pub PlatformImeLastPos: ImVec2, - pub PlatformImePosViewport: *mut ImGuiViewportP, + pub PlatformImeData: ImGuiPlatformImeData, + pub PlatformImeDataPrev: ImGuiPlatformImeData, + pub PlatformImeViewport: ImGuiID, pub PlatformLocaleDecimalPoint: cty::c_char, pub DockContext: ImGuiDockContext, pub SettingsLoaded: bool, @@ -3903,6 +4217,7 @@ pub struct ImGuiContext { pub SettingsTables: ImChunkStream_ImGuiTableSettings, pub Hooks: ImVector_ImGuiContextHook, pub HookIdNext: ImGuiID, + pub LocalizationTable: [*const cty::c_char; 8usize], pub LogEnabled: bool, pub LogType: ImGuiLogType, pub LogFile: ImFileHandle, @@ -3914,18 +4229,24 @@ pub struct ImGuiContext { pub LogDepthRef: cty::c_int, pub LogDepthToExpand: cty::c_int, pub LogDepthToExpandDefault: cty::c_int, + pub DebugLogFlags: ImGuiDebugLogFlags, + pub DebugLogBuf: ImGuiTextBuffer, + pub DebugLogIndex: ImGuiTextIndex, + pub DebugLocateFrames: ImU8, pub DebugItemPickerActive: bool, + pub DebugItemPickerMouseButton: ImU8, pub DebugItemPickerBreakId: ImGuiID, pub DebugMetricsConfig: ImGuiMetricsConfig, pub DebugStackTool: ImGuiStackTool, - pub FramerateSecPerFrame: [f32; 120usize], + pub DebugHoveredDockNode: *mut ImGuiDockNode, + pub FramerateSecPerFrame: [f32; 60usize], pub FramerateSecPerFrameIdx: cty::c_int, pub FramerateSecPerFrameCount: cty::c_int, pub FramerateSecPerFrameAccum: f32, pub WantCaptureMouseNextFrame: cty::c_int, pub WantCaptureKeyboardNextFrame: cty::c_int, pub WantTextInputNextFrame: cty::c_int, - pub TempBuffer: [cty::c_char; 3073usize], + pub TempBuffer: ImVector_char, } impl Default for ImGuiContext { fn default() -> Self { @@ -3948,6 +4269,8 @@ pub struct ImGuiWindowTempData { pub PrevLineSize: ImVec2, pub CurrLineTextBaseOffset: f32, pub PrevLineTextBaseOffset: f32, + pub IsSameLine: bool, + pub IsSetPos: bool, pub Indent: ImVec1, pub ColumnsOffset: ImVec1, pub GroupOffset: ImVec1, @@ -3955,7 +4278,6 @@ pub struct ImGuiWindowTempData { pub NavLayerCurrent: ImGuiNavLayer, pub NavLayersActiveMask: cty::c_short, pub NavLayersActiveMaskNext: cty::c_short, - pub NavFocusScopeIdCurrent: ImGuiID, pub NavHideHighlightOneFrame: bool, pub NavHasScroll: bool, pub MenuBarAppending: bool, @@ -3984,6 +4306,22 @@ impl Default for ImGuiWindowTempData { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiOldColumns { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiOldColumns, +} +impl Default for ImVector_ImGuiOldColumns { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiWindow { pub Name: *mut cty::c_char, @@ -4006,6 +4344,7 @@ pub struct ImGuiWindow { pub WindowBorderSize: f32, pub NameBufLen: cty::c_int, pub MoveId: ImGuiID, + pub TabId: ImGuiID, pub ChildId: ImGuiID, pub Scroll: ImVec2, pub ScrollMax: ImVec2, @@ -4029,6 +4368,7 @@ pub struct ImGuiWindow { pub HasCloseButton: bool, pub ResizeBorderHeld: cty::c_schar, pub BeginCount: cty::c_short, + pub BeginCountPreviousFrame: cty::c_short, pub BeginOrderWithinParent: cty::c_short, pub BeginOrderWithinContext: cty::c_short, pub FocusOrder: cty::c_short, @@ -4078,6 +4418,7 @@ pub struct ImGuiWindow { pub NavLastChildNavWindow: *mut ImGuiWindow, pub NavLastIds: [ImGuiID; 2usize], pub NavRectRel: [ImRect; 2usize], + pub NavRootFocusScopeId: ImGuiID, pub MemoryDrawListIdxCapacity: cty::c_int, pub MemoryDrawListVtxCapacity: cty::c_int, pub MemoryCompacted: bool, @@ -4267,6 +4608,7 @@ pub struct ImGuiTabItem { pub Offset: f32, pub Width: f32, pub ContentWidth: f32, + pub RequestedWidth: f32, pub NameOffset: ImS32, pub BeginOrder: ImS16, pub IndexDuringLayout: ImS16, @@ -4282,6 +4624,22 @@ impl Default for ImGuiTabItem { } } #[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTabItem { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTabItem, +} +impl Default for ImVector_ImGuiTabItem { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiTabBar { pub Tabs: ImVector_ImGuiTabItem, @@ -4325,6 +4683,8 @@ impl Default for ImGuiTabBar { } } } +pub type ImGuiTableColumnIdx = ImS8; +pub type ImGuiTableDrawChannelIdx = ImU8; #[repr(C)] #[derive(Debug, Default, Copy, Clone, PartialEq)] pub struct ImGuiTableColumn { @@ -4434,6 +4794,89 @@ pub struct ImGuiTableCellData { pub Column: ImGuiTableColumnIdx, } #[repr(C)] +#[derive(Debug, Default, Copy, Clone, PartialEq)] +pub struct ImGuiTableInstanceData { + pub LastOuterHeight: f32, + pub LastFirstRowHeight: f32, +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImSpan_ImGuiTableColumn { + pub Data: *mut ImGuiTableColumn, + pub DataEnd: *mut ImGuiTableColumn, +} +impl Default for ImSpan_ImGuiTableColumn { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImSpan_ImGuiTableColumnIdx { + pub Data: *mut ImGuiTableColumnIdx, + pub DataEnd: *mut ImGuiTableColumnIdx, +} +impl Default for ImSpan_ImGuiTableColumnIdx { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImSpan_ImGuiTableCellData { + pub Data: *mut ImGuiTableCellData, + pub DataEnd: *mut ImGuiTableCellData, +} +impl Default for ImSpan_ImGuiTableCellData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTableInstanceData { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTableInstanceData, +} +impl Default for ImVector_ImGuiTableInstanceData { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub struct ImVector_ImGuiTableColumnSortSpecs { + pub Size: cty::c_int, + pub Capacity: cty::c_int, + pub Data: *mut ImGuiTableColumnSortSpecs, +} +impl Default for ImVector_ImGuiTableColumnSortSpecs { + fn default() -> Self { + let mut s = ::core::mem::MaybeUninit::::uninit(); + unsafe { + ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1); + s.assume_init() + } + } +} +#[repr(C)] #[derive(Debug, Copy, Clone, PartialEq)] pub struct ImGuiTable { pub ID: ImGuiID, @@ -4475,11 +4918,10 @@ pub struct ImGuiTable { pub CellPaddingY: f32, pub CellSpacingX1: f32, pub CellSpacingX2: f32, - pub LastOuterHeight: f32, - pub LastFirstRowHeight: f32, pub InnerWidth: f32, pub ColumnsGivenWidth: f32, pub ColumnsAutoFitWidth: f32, + pub ColumnsStretchSumWeights: f32, pub ResizedColumnNextWidth: f32, pub ResizeLockMinContentsX2: f32, pub RefScale: f32, @@ -4496,6 +4938,8 @@ pub struct ImGuiTable { pub InnerWindow: *mut ImGuiWindow, pub ColumnsNames: ImGuiTextBuffer, pub DrawSplitter: *mut ImDrawListSplitter, + pub InstanceDataFirst: ImGuiTableInstanceData, + pub InstanceDataExtra: ImVector_ImGuiTableInstanceData, pub SortSpecsSingle: ImGuiTableColumnSortSpecs, pub SortSpecsMulti: ImVector_ImGuiTableColumnSortSpecs, pub SortSpecs: ImGuiTableSortSpecs, @@ -4699,7 +5143,7 @@ pub struct ImFontBuilderIO { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2_ImVec2Nil() -> *mut ImVec2; + pub fn ImVec2_ImVec2_Nil() -> *mut ImVec2; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4707,11 +5151,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2_ImVec2Float(_x: f32, _y: f32) -> *mut ImVec2; + pub fn ImVec2_ImVec2_Float(_x: f32, _y: f32) -> *mut ImVec2; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec4_ImVec4Nil() -> *mut ImVec4; + pub fn ImVec4_ImVec4_Nil() -> *mut ImVec4; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4719,7 +5163,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec4_ImVec4Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; + pub fn ImVec4_ImVec4_Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4770,6 +5214,10 @@ extern "C" { pub fn igShowMetricsWindow(p_open: *mut bool); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igShowDebugLogWindow(p_open: *mut bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igShowStackToolWindow(p_open: *mut bool); } @@ -4819,7 +5267,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igBeginChildStr( + pub fn igBeginChild_Str( str_id: *const cty::c_char, size: ImVec2, border: bool, @@ -4828,8 +5276,12 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igBeginChildID(id: ImGuiID, size: ImVec2, border: bool, flags: ImGuiWindowFlags) - -> bool; + pub fn igBeginChild_ID( + id: ImGuiID, + size: ImVec2, + border: bool, + flags: ImGuiWindowFlags, + ) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4909,6 +5361,10 @@ extern "C" { pub fn igSetNextWindowFocus(); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetNextWindowScroll(scroll: ImVec2); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igSetNextWindowBgAlpha(alpha: f32); } @@ -4918,19 +5374,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowPosVec2(pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Vec2(pos: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowSizeVec2(size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Vec2(size: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowCollapsedBool(collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Bool(collapsed: bool, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowFocusNil(); + pub fn igSetWindowFocus_Nil(); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4938,19 +5394,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowPosStr(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_Str(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowSizeStr(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_Str(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowCollapsedStr(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); + pub fn igSetWindowCollapsed_Str(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowFocusStr(name: *const cty::c_char); + pub fn igSetWindowFocus_Str(name: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -4978,11 +5434,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollXFloat(scroll_x: f32); + pub fn igSetScrollX_Float(scroll_x: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollYFloat(scroll_y: f32); + pub fn igSetScrollY_Float(scroll_y: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5002,11 +5458,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollFromPosXFloat(local_x: f32, center_x_ratio: f32); + pub fn igSetScrollFromPosX_Float(local_x: f32, center_x_ratio: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollFromPosYFloat(local_y: f32, center_y_ratio: f32); + pub fn igSetScrollFromPosY_Float(local_y: f32, center_y_ratio: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5018,11 +5474,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleColorU32(idx: ImGuiCol, col: ImU32); + pub fn igPushStyleColor_U32(idx: ImGuiCol, col: ImU32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleColorVec4(idx: ImGuiCol, col: ImVec4); + pub fn igPushStyleColor_Vec4(idx: ImGuiCol, col: ImVec4); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5030,11 +5486,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleVarFloat(idx: ImGuiStyleVar, val: f32); + pub fn igPushStyleVar_Float(idx: ImGuiStyleVar, val: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushStyleVarVec2(idx: ImGuiStyleVar, val: ImVec2); + pub fn igPushStyleVar_Vec2(idx: ImGuiStyleVar, val: ImVec2); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5094,15 +5550,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetColorU32Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; + pub fn igGetColorU32_Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetColorU32Vec4(col: ImVec4) -> ImU32; + pub fn igGetColorU32_Vec4(col: ImVec4) -> ImU32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetColorU32U32(col: ImU32) -> ImU32; + pub fn igGetColorU32_U32(col: ImU32) -> ImU32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5202,19 +5658,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDStr(str_id: *const cty::c_char); + pub fn igPushID_Str(str_id: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDStrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); + pub fn igPushID_StrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDPtr(ptr_id: *const cty::c_void); + pub fn igPushID_Ptr(ptr_id: *const cty::c_void); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushIDInt(int_id: cty::c_int); + pub fn igPushID_Int(int_id: cty::c_int); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5222,18 +5678,18 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetIDStr(str_id: *const cty::c_char) -> ImGuiID; + pub fn igGetID_Str(str_id: *const cty::c_char) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetIDStrStr( + pub fn igGetID_StrStr( str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char, ) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetIDPtr(ptr_id: *const cty::c_void) -> ImGuiID; + pub fn igGetID_Ptr(ptr_id: *const cty::c_void) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5284,35 +5740,12 @@ extern "C" { pub fn igArrowButton(str_id: *const cty::c_char, dir: ImGuiDir) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igImage( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - tint_col: ImVec4, - border_col: ImVec4, - ); -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igImageButton( - user_texture_id: ImTextureID, - size: ImVec2, - uv0: ImVec2, - uv1: ImVec2, - frame_padding: cty::c_int, - bg_col: ImVec4, - tint_col: ImVec4, - ) -> bool; -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igCheckbox(label: *const cty::c_char, v: *mut bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCheckboxFlagsIntPtr( + pub fn igCheckboxFlags_IntPtr( label: *const cty::c_char, flags: *mut cty::c_int, flags_value: cty::c_int, @@ -5320,7 +5753,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCheckboxFlagsUintPtr( + pub fn igCheckboxFlags_UintPtr( label: *const cty::c_char, flags: *mut cty::c_uint, flags_value: cty::c_uint, @@ -5328,11 +5761,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igRadioButtonBool(label: *const cty::c_char, active: bool) -> bool; + pub fn igRadioButton_Bool(label: *const cty::c_char, active: bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igRadioButtonIntPtr( + pub fn igRadioButton_IntPtr( label: *const cty::c_char, v: *mut cty::c_int, v_button: cty::c_int, @@ -5347,6 +5780,29 @@ extern "C" { pub fn igBullet(); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImage( + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + tint_col: ImVec4, + border_col: ImVec4, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImageButton( + str_id: *const cty::c_char, + user_texture_id: ImTextureID, + size: ImVec2, + uv0: ImVec2, + uv1: ImVec2, + bg_col: ImVec4, + tint_col: ImVec4, + ) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igBeginCombo( label: *const cty::c_char, @@ -5360,7 +5816,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igComboStr_arr( + pub fn igCombo_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -5370,7 +5826,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igComboStr( + pub fn igCombo_Str( label: *const cty::c_char, current_item: *mut cty::c_int, items_separated_by_zeros: *const cty::c_char, @@ -5379,7 +5835,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igComboFnBoolPtr( + pub fn igCombo_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -5897,23 +6353,23 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeStr(label: *const cty::c_char) -> bool; + pub fn igTreeNode_Str(label: *const cty::c_char) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeStrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_StrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodePtr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; + pub fn igTreeNode_Ptr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeExStr(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; + pub fn igTreeNodeEx_Str(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeExStrStr( + pub fn igTreeNodeEx_StrStr( str_id: *const cty::c_char, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -5922,7 +6378,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeExPtr( + pub fn igTreeNodeEx_Ptr( ptr_id: *const cty::c_void, flags: ImGuiTreeNodeFlags, fmt: *const cty::c_char, @@ -5931,11 +6387,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreePushStr(str_id: *const cty::c_char); + pub fn igTreePush_Str(str_id: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreePushPtr(ptr_id: *const cty::c_void); + pub fn igTreePush_Ptr(ptr_id: *const cty::c_void); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -5947,14 +6403,14 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCollapsingHeaderTreeNodeFlags( + pub fn igCollapsingHeader_TreeNodeFlags( label: *const cty::c_char, flags: ImGuiTreeNodeFlags, ) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCollapsingHeaderBoolPtr( + pub fn igCollapsingHeader_BoolPtr( label: *const cty::c_char, p_visible: *mut bool, flags: ImGuiTreeNodeFlags, @@ -5966,7 +6422,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSelectableBool( + pub fn igSelectable_Bool( label: *const cty::c_char, selected: bool, flags: ImGuiSelectableFlags, @@ -5975,7 +6431,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSelectableBoolPtr( + pub fn igSelectable_BoolPtr( label: *const cty::c_char, p_selected: *mut bool, flags: ImGuiSelectableFlags, @@ -5992,7 +6448,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igListBoxStr_arr( + pub fn igListBox_Str_arr( label: *const cty::c_char, current_item: *mut cty::c_int, items: *const *const cty::c_char, @@ -6002,7 +6458,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igListBoxFnBoolPtr( + pub fn igListBox_FnBoolPtr( label: *const cty::c_char, current_item: *mut cty::c_int, items_getter: ::core::option::Option< @@ -6019,7 +6475,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotLinesFloatPtr( + pub fn igPlotLines_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -6033,7 +6489,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotLinesFnFloatPtr( + pub fn igPlotLines_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -6049,7 +6505,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotHistogramFloatPtr( + pub fn igPlotHistogram_FloatPtr( label: *const cty::c_char, values: *const f32, values_count: cty::c_int, @@ -6063,7 +6519,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPlotHistogramFnFloatPtr( + pub fn igPlotHistogram_FnFloatPtr( label: *const cty::c_char, values_getter: ::core::option::Option< unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32, @@ -6079,19 +6535,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueBool(prefix: *const cty::c_char, b: bool); + pub fn igValue_Bool(prefix: *const cty::c_char, b: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueInt(prefix: *const cty::c_char, v: cty::c_int); + pub fn igValue_Int(prefix: *const cty::c_char, v: cty::c_int); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueUint(prefix: *const cty::c_char, v: cty::c_uint); + pub fn igValue_Uint(prefix: *const cty::c_char, v: cty::c_uint); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igValueFloat(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); + pub fn igValue_Float(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6119,7 +6575,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igMenuItemBool( + pub fn igMenuItem_Bool( label: *const cty::c_char, shortcut: *const cty::c_char, selected: bool, @@ -6128,7 +6584,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igMenuItemBoolPtr( + pub fn igMenuItem_BoolPtr( label: *const cty::c_char, shortcut: *const cty::c_char, p_selected: *mut bool, @@ -6165,11 +6621,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igOpenPopupStr(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_Str(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igOpenPopupID(id: ImGuiID, popup_flags: ImGuiPopupFlags); + pub fn igOpenPopup_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6202,7 +6658,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsPopupOpenStr(str_id: *const cty::c_char, flags: ImGuiPopupFlags) -> bool; + pub fn igIsPopupOpen_Str(str_id: *const cty::c_char, flags: ImGuiPopupFlags) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6269,7 +6725,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTableGetColumnNameInt(column_n: cty::c_int) -> *const cty::c_char; + pub fn igTableGetColumnName_Int(column_n: cty::c_int) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6534,11 +6990,27 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsRectVisibleNil(size: ImVec2) -> bool; + pub fn igGetBackgroundDrawList_Nil() -> *mut ImDrawList; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsRectVisibleVec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; + pub fn igGetForegroundDrawList_Nil() -> *mut ImDrawList; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetBackgroundDrawList_ViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetForegroundDrawList_ViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsRectVisible_Nil(size: ImVec2) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsRectVisible_Vec2(rect_min: ImVec2, rect_max: ImVec2) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6549,22 +7021,6 @@ extern "C" { pub fn igGetFrameCount() -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetBackgroundDrawListNil() -> *mut ImDrawList; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetForegroundDrawListNil() -> *mut ImDrawList; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetBackgroundDrawListViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetForegroundDrawListViewportPtr(viewport: *mut ImGuiViewport) -> *mut ImDrawList; -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igGetDrawListSharedData() -> *mut ImDrawListSharedData; } @@ -6630,40 +7086,39 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetKeyIndex(imgui_key: ImGuiKey) -> cty::c_int; + pub fn igIsKeyDown_Nil(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyDown(user_key_index: cty::c_int) -> bool; + pub fn igIsKeyPressed_Bool(key: ImGuiKey, repeat: bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyPressed(user_key_index: cty::c_int, repeat: bool) -> bool; + pub fn igIsKeyReleased_Nil(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyReleased(user_key_index: cty::c_int) -> bool; + pub fn igGetKeyPressedAmount(key: ImGuiKey, repeat_delay: f32, rate: f32) -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetKeyPressedAmount(key_index: cty::c_int, repeat_delay: f32, rate: f32) - -> cty::c_int; + pub fn igGetKeyName(key: ImGuiKey) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCaptureKeyboardFromApp(want_capture_keyboard_value: bool); + pub fn igSetNextFrameWantCaptureKeyboard(want_capture_keyboard: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsMouseDown(button: ImGuiMouseButton) -> bool; + pub fn igIsMouseDown_Nil(button: ImGuiMouseButton) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsMouseClicked(button: ImGuiMouseButton, repeat: bool) -> bool; + pub fn igIsMouseClicked_Bool(button: ImGuiMouseButton, repeat: bool) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsMouseReleased(button: ImGuiMouseButton) -> bool; + pub fn igIsMouseReleased_Nil(button: ImGuiMouseButton) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6715,7 +7170,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCaptureMouseFromApp(want_capture_mouse_value: bool); + pub fn igSetNextFrameWantCaptureMouse(want_capture_mouse: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6742,6 +7197,10 @@ extern "C" { pub fn igSaveIniSettingsToMemory(out_ini_size: *mut usize) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugTextEncoding(text: *const cty::c_char); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igDebugCheckVersionAndDataLayout( version_str: *const cty::c_char, @@ -6817,6 +7276,34 @@ extern "C" { pub fn ImGuiStyle_ScaleAllSizes(self_: *mut ImGuiStyle, scale_factor: f32); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddKeyEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddKeyAnalogEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool, v: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMousePosEvent(self_: *mut ImGuiIO, x: f32, y: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMouseButtonEvent(self_: *mut ImGuiIO, button: cty::c_int, down: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMouseWheelEvent(self_: *mut ImGuiIO, wh_x: f32, wh_y: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddMouseViewportEvent(self_: *mut ImGuiIO, id: ImGuiID); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn ImGuiIO_AddInputCharacter(self_: *mut ImGuiIO, c: cty::c_uint); } @@ -6830,7 +7317,17 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool); + pub fn ImGuiIO_SetKeyEventNativeData( + self_: *mut ImGuiIO, + key: ImGuiKey, + native_keycode: cty::c_int, + native_scancode: cty::c_int, + native_legacy_index: cty::c_int, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiIO_SetAppAcceptingEvents(self_: *mut ImGuiIO, accepting_events: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6981,7 +7478,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeNil() -> *mut ImGuiTextRange; + pub fn ImGuiTextRange_ImGuiTextRange_Nil() -> *mut ImGuiTextRange; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -6989,7 +7486,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiTextRange_ImGuiTextRangeStr( + pub fn ImGuiTextRange_ImGuiTextRange_Str( _b: *const cty::c_char, _e: *const cty::c_char, ) -> *mut ImGuiTextRange; @@ -7052,7 +7549,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairInt( + pub fn ImGuiStoragePair_ImGuiStoragePair_Int( _key: ImGuiID, _val_i: cty::c_int, ) -> *mut ImGuiStoragePair; @@ -7063,14 +7560,14 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairFloat( + pub fn ImGuiStoragePair_ImGuiStoragePair_Float( _key: ImGuiID, _val_f: f32, ) -> *mut ImGuiStoragePair; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStoragePair_ImGuiStoragePairPtr( + pub fn ImGuiStoragePair_ImGuiStoragePair_Ptr( _key: ImGuiID, _val_p: *mut cty::c_void, ) -> *mut ImGuiStoragePair; @@ -7189,7 +7686,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImColor_ImColorNil() -> *mut ImColor; + pub fn ImColor_ImColor_Nil() -> *mut ImColor; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -7197,7 +7694,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImColor_ImColorInt( + pub fn ImColor_ImColor_Float(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImColor_ImColor_Vec4(col: ImVec4) -> *mut ImColor; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImColor_ImColor_Int( r: cty::c_int, g: cty::c_int, b: cty::c_int, @@ -7206,15 +7711,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImColor_ImColorU32(rgba: ImU32) -> *mut ImColor; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImColor_ImColorFloat(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImColor_ImColorVec4(col: ImVec4) -> *mut ImColor; + pub fn ImColor_ImColor_U32(rgba: ImU32) -> *mut ImColor; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -7274,7 +7771,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImDrawList_ImDrawList(shared_data: *const ImDrawListSharedData) -> *mut ImDrawList; + pub fn ImDrawList_ImDrawList(shared_data: *mut ImDrawListSharedData) -> *mut ImDrawList; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -7446,7 +7943,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImDrawList_AddTextVec2( + pub fn ImDrawList_AddText_Vec2( self_: *mut ImDrawList, pos: ImVec2, col: ImU32, @@ -7456,7 +7953,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImDrawList_AddTextFontPtr( + pub fn ImDrawList_AddText_FontPtr( self_: *mut ImDrawList, font: *const ImFont, font_size: f32, @@ -7976,6 +8473,10 @@ extern "C" { pub fn ImFontAtlas_GetGlyphRangesDefault(self_: *mut ImFontAtlas) -> *const ImWchar; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImFontAtlas_GetGlyphRangesGreek(self_: *mut ImFontAtlas) -> *const ImWchar; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn ImFontAtlas_GetGlyphRangesKorean(self_: *mut ImFontAtlas) -> *const ImWchar; } @@ -8207,6 +8708,18 @@ extern "C" { pub fn ImGuiPlatformMonitor_destroy(self_: *mut ImGuiPlatformMonitor); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiPlatformImeData_ImGuiPlatformImeData() -> *mut ImGuiPlatformImeData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiPlatformImeData_destroy(self_: *mut ImGuiPlatformImeData); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetKeyIndex(key: ImGuiKey) -> ImGuiKey; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igImHashData(data: *const cty::c_void, data_size: usize, seed: ImU32) -> ImGuiID; } @@ -8231,11 +8744,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImIsPowerOfTwoInt(v: cty::c_int) -> bool; + pub fn igImIsPowerOfTwo_Int(v: cty::c_int) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImIsPowerOfTwoU64(v: ImU64) -> bool; + pub fn igImIsPowerOfTwo_U64(v: ImU64) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8310,6 +8823,18 @@ extern "C" { pub fn igImStrSkipBlank(str_: *const cty::c_char) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImToUpper(c: cty::c_char) -> cty::c_char; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImCharIsBlankA(c: cty::c_char) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImCharIsBlankW(c: cty::c_uint) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igImFormatString( buf: *mut cty::c_char, @@ -8319,6 +8844,15 @@ extern "C" { ) -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImFormatStringToTempBuffer( + out_buf: *mut *const cty::c_char, + out_buf_end: *mut *const cty::c_char, + fmt: *const cty::c_char, + ... + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igImParseFormatFindStart(format: *const cty::c_char) -> *const cty::c_char; } @@ -8335,6 +8869,22 @@ extern "C" { ) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImParseFormatSanitizeForPrinting( + fmt_in: *const cty::c_char, + fmt_out: *mut cty::c_char, + fmt_out_size: usize, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImParseFormatSanitizeForScanning( + fmt_in: *const cty::c_char, + fmt_out: *mut cty::c_char, + fmt_out_size: usize, + ) -> *const cty::c_char; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igImParseFormatPrecision( format: *const cty::c_char, @@ -8342,14 +8892,6 @@ extern "C" { ) -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igImCharIsBlankA(c: cty::c_char) -> bool; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igImCharIsBlankW(c: cty::c_uint) -> bool; -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igImTextCharToUtf8(out_buf: *mut cty::c_char, c: cty::c_uint) -> *const cty::c_char; } @@ -8442,47 +8984,47 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImPowFloat(x: f32, y: f32) -> f32; + pub fn igImPow_Float(x: f32, y: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImPowdouble(x: f64, y: f64) -> f64; + pub fn igImPow_double(x: f64, y: f64) -> f64; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLogFloat(x: f32) -> f32; + pub fn igImLog_Float(x: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLogdouble(x: f64) -> f64; + pub fn igImLog_double(x: f64) -> f64; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImAbsInt(x: cty::c_int) -> cty::c_int; + pub fn igImAbs_Int(x: cty::c_int) -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImAbsFloat(x: f32) -> f32; + pub fn igImAbs_Float(x: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImAbsdouble(x: f64) -> f64; + pub fn igImAbs_double(x: f64) -> f64; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImSignFloat(x: f32) -> f32; + pub fn igImSign_Float(x: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImSigndouble(x: f64) -> f64; + pub fn igImSign_double(x: f64) -> f64; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImRsqrtFloat(x: f32) -> f32; + pub fn igImRsqrt_Float(x: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImRsqrtdouble(x: f64) -> f64; + pub fn igImRsqrt_double(x: f64) -> f64; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8498,15 +9040,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLerpVec2Float(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: f32); + pub fn igImLerp_Vec2Float(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLerpVec2Vec2(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: ImVec2); + pub fn igImLerp_Vec2Vec2(pOut: *mut ImVec2, a: ImVec2, b: ImVec2, t: ImVec2); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLerpVec4(pOut: *mut ImVec4, a: ImVec4, b: ImVec4, t: f32); + pub fn igImLerp_Vec4(pOut: *mut ImVec4, a: ImVec4, b: ImVec4, t: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8514,11 +9056,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLengthSqrVec2(lhs: ImVec2) -> f32; + pub fn igImLengthSqr_Vec2(lhs: ImVec2) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImLengthSqrVec4(lhs: ImVec4) -> f32; + pub fn igImLengthSqr_Vec4(lhs: ImVec4) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8526,15 +9068,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImFloorFloat(f: f32) -> f32; + pub fn igImFloor_Float(f: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImFloorSigned(f: f32) -> f32; + pub fn igImFloorSigned_Float(f: f32) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igImFloorVec2(pOut: *mut ImVec2, v: ImVec2); + pub fn igImFloor_Vec2(pOut: *mut ImVec2, v: ImVec2); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igImFloorSigned_Vec2(pOut: *mut ImVec2, v: ImVec2); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8633,7 +9179,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec1_ImVec1Nil() -> *mut ImVec1; + pub fn ImVec1_ImVec1_Nil() -> *mut ImVec1; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8641,11 +9187,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec1_ImVec1Float(_x: f32) -> *mut ImVec1; + pub fn ImVec1_ImVec1_Float(_x: f32) -> *mut ImVec1; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2ih_ImVec2ihNil() -> *mut ImVec2ih; + pub fn ImVec2ih_ImVec2ih_Nil() -> *mut ImVec2ih; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8653,15 +9199,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2ih_ImVec2ihshort(_x: cty::c_short, _y: cty::c_short) -> *mut ImVec2ih; + pub fn ImVec2ih_ImVec2ih_short(_x: cty::c_short, _y: cty::c_short) -> *mut ImVec2ih; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImVec2ih_ImVec2ihVec2(rhs: ImVec2) -> *mut ImVec2ih; + pub fn ImVec2ih_ImVec2ih_Vec2(rhs: ImVec2) -> *mut ImVec2ih; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ImRectNil() -> *mut ImRect; + pub fn ImRect_ImRect_Nil() -> *mut ImRect; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8669,15 +9215,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ImRectVec2(min: ImVec2, max: ImVec2) -> *mut ImRect; + pub fn ImRect_ImRect_Vec2(min: ImVec2, max: ImVec2) -> *mut ImRect; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ImRectVec4(v: ImVec4) -> *mut ImRect; + pub fn ImRect_ImRect_Vec4(v: ImVec4) -> *mut ImRect; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ImRectFloat(x1: f32, y1: f32, x2: f32, y2: f32) -> *mut ImRect; + pub fn ImRect_ImRect_Float(x1: f32, y1: f32, x2: f32, y2: f32) -> *mut ImRect; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8717,11 +9263,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ContainsVec2(self_: *mut ImRect, p: ImVec2) -> bool; + pub fn ImRect_Contains_Vec2(self_: *mut ImRect, p: ImVec2) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ContainsRect(self_: *mut ImRect, r: ImRect) -> bool; + pub fn ImRect_Contains_Rect(self_: *mut ImRect, r: ImRect) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8729,19 +9275,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_AddVec2(self_: *mut ImRect, p: ImVec2); + pub fn ImRect_Add_Vec2(self_: *mut ImRect, p: ImVec2); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_AddRect(self_: *mut ImRect, r: ImRect); + pub fn ImRect_Add_Rect(self_: *mut ImRect, r: ImRect); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ExpandFloat(self_: *mut ImRect, amount: f32); + pub fn ImRect_Expand_Float(self_: *mut ImRect, amount: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImRect_ExpandVec2(self_: *mut ImRect, amount: ImVec2); + pub fn ImRect_Expand_Vec2(self_: *mut ImRect, amount: ImVec2); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8812,6 +9358,39 @@ extern "C" { pub fn ImBitVector_ClearBit(self_: *mut ImBitVector, n: cty::c_int); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTextIndex_clear(self_: *mut ImGuiTextIndex); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTextIndex_size(self_: *mut ImGuiTextIndex) -> cty::c_int; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTextIndex_get_line_begin( + self_: *mut ImGuiTextIndex, + base: *const cty::c_char, + n: cty::c_int, + ) -> *const cty::c_char; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTextIndex_get_line_end( + self_: *mut ImGuiTextIndex, + base: *const cty::c_char, + n: cty::c_int, + ) -> *const cty::c_char; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTextIndex_append( + self_: *mut ImGuiTextIndex, + base: *const cty::c_char, + old_size: cty::c_int, + new_size: cty::c_int, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn ImDrawListSharedData_ImDrawListSharedData() -> *mut ImDrawListSharedData; } @@ -8844,7 +9423,8 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStyleMod_ImGuiStyleModInt(idx: ImGuiStyleVar, v: cty::c_int) -> *mut ImGuiStyleMod; + pub fn ImGuiStyleMod_ImGuiStyleMod_Int(idx: ImGuiStyleVar, v: cty::c_int) + -> *mut ImGuiStyleMod; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -8852,11 +9432,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStyleMod_ImGuiStyleModFloat(idx: ImGuiStyleVar, v: f32) -> *mut ImGuiStyleMod; + pub fn ImGuiStyleMod_ImGuiStyleMod_Float(idx: ImGuiStyleVar, v: f32) -> *mut ImGuiStyleMod; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiStyleMod_ImGuiStyleModVec2(idx: ImGuiStyleVar, v: ImVec2) -> *mut ImGuiStyleMod; + pub fn ImGuiStyleMod_ImGuiStyleMod_Vec2(idx: ImGuiStyleVar, v: ImVec2) -> *mut ImGuiStyleMod; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9014,7 +9594,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr(ptr: *mut cty::c_void) -> *mut ImGuiPtrOrIndex; + pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr: *mut cty::c_void) -> *mut ImGuiPtrOrIndex; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9022,7 +9602,43 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndexInt(index: cty::c_int) -> *mut ImGuiPtrOrIndex; + pub fn ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(index: cty::c_int) -> *mut ImGuiPtrOrIndex; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiInputEvent_ImGuiInputEvent() -> *mut ImGuiInputEvent; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiInputEvent_destroy(self_: *mut ImGuiInputEvent); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyRoutingData_ImGuiKeyRoutingData() -> *mut ImGuiKeyRoutingData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyRoutingData_destroy(self_: *mut ImGuiKeyRoutingData); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyRoutingTable_ImGuiKeyRoutingTable() -> *mut ImGuiKeyRoutingTable; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyRoutingTable_destroy(self_: *mut ImGuiKeyRoutingTable); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyRoutingTable_Clear(self_: *mut ImGuiKeyRoutingTable); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyOwnerData_ImGuiKeyOwnerData() -> *mut ImGuiKeyOwnerData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiKeyOwnerData_destroy(self_: *mut ImGuiKeyOwnerData); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9265,7 +9881,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiWindow_GetIDStr( + pub fn ImGuiWindow_GetID_Str( self_: *mut ImGuiWindow, str_: *const cty::c_char, str_end: *const cty::c_char, @@ -9273,30 +9889,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiWindow_GetIDPtr(self_: *mut ImGuiWindow, ptr: *const cty::c_void) -> ImGuiID; + pub fn ImGuiWindow_GetID_Ptr(self_: *mut ImGuiWindow, ptr: *const cty::c_void) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn ImGuiWindow_GetIDInt(self_: *mut ImGuiWindow, n: cty::c_int) -> ImGuiID; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImGuiWindow_GetIDNoKeepAliveStr( - self_: *mut ImGuiWindow, - str_: *const cty::c_char, - str_end: *const cty::c_char, - ) -> ImGuiID; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImGuiWindow_GetIDNoKeepAlivePtr( - self_: *mut ImGuiWindow, - ptr: *const cty::c_void, - ) -> ImGuiID; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn ImGuiWindow_GetIDNoKeepAliveInt(self_: *mut ImGuiWindow, n: cty::c_int) -> ImGuiID; + pub fn ImGuiWindow_GetID_Int(self_: *mut ImGuiWindow, n: cty::c_int) -> ImGuiID; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9363,6 +9960,14 @@ extern "C" { pub fn ImGuiTableColumn_destroy(self_: *mut ImGuiTableColumn); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTableInstanceData_ImGuiTableInstanceData() -> *mut ImGuiTableInstanceData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn ImGuiTableInstanceData_destroy(self_: *mut ImGuiTableInstanceData); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn ImGuiTable_ImGuiTable() -> *mut ImGuiTable; } @@ -9457,15 +10062,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowPosWindowPtr(window: *mut ImGuiWindow, pos: ImVec2, cond: ImGuiCond); + pub fn igSetWindowPos_WindowPtr(window: *mut ImGuiWindow, pos: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowSizeWindowPtr(window: *mut ImGuiWindow, size: ImVec2, cond: ImGuiCond); + pub fn igSetWindowSize_WindowPtr(window: *mut ImGuiWindow, size: ImVec2, cond: ImGuiCond); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetWindowCollapsedWindowPtr( + pub fn igSetWindowCollapsed_WindowPtr( window: *mut ImGuiWindow, collapsed: bool, cond: ImGuiCond, @@ -9530,15 +10135,19 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetForegroundDrawListWindowPtr(window: *mut ImGuiWindow) -> *mut ImDrawList; + pub fn igGetForegroundDrawList_WindowPtr(window: *mut ImGuiWindow) -> *mut ImDrawList; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igInitialize(context: *mut ImGuiContext); + pub fn igInitialize(); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igShutdown(context: *mut ImGuiContext); + pub fn igShutdown(); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igUpdateInputEvents(trickle_fast_inputs: bool); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9593,6 +10202,10 @@ extern "C" { pub fn igDestroyPlatformWindow(viewport: *mut ImGuiViewportP); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetWindowViewport(window: *mut ImGuiWindow, viewport: *mut ImGuiViewportP); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igSetCurrentViewport(window: *mut ImGuiWindow, viewport: *mut ImGuiViewportP); } @@ -9604,11 +10217,17 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igMarkIniSettingsDirtyNil(); + pub fn igFindHoveredViewportFromPlatformWindowStack( + mouse_platform_pos: ImVec2, + ) -> *mut ImGuiViewportP; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igMarkIniSettingsDirtyWindowPtr(window: *mut ImGuiWindow); + pub fn igMarkIniSettingsDirty_Nil(); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igMarkIniSettingsDirty_WindowPtr(window: *mut ImGuiWindow); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9627,24 +10246,36 @@ extern "C" { pub fn igFindOrCreateWindowSettings(name: *const cty::c_char) -> *mut ImGuiWindowSettings; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igAddSettingsHandler(handler: *const ImGuiSettingsHandler); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igRemoveSettingsHandler(type_name: *const cty::c_char); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igFindSettingsHandler(type_name: *const cty::c_char) -> *mut ImGuiSettingsHandler; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetNextWindowScroll(scroll: ImVec2); + pub fn igLocalizeRegisterEntries(entries: *const ImGuiLocEntry, count: cty::c_int); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollXWindowPtr(window: *mut ImGuiWindow, scroll_x: f32); + pub fn igLocalizeGetMsg(key: ImGuiLocKey) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollYWindowPtr(window: *mut ImGuiWindow, scroll_y: f32); + pub fn igSetScrollX_WindowPtr(window: *mut ImGuiWindow, scroll_x: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollFromPosXWindowPtr( + pub fn igSetScrollY_WindowPtr(window: *mut ImGuiWindow, scroll_y: f32); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetScrollFromPosX_WindowPtr( window: *mut ImGuiWindow, local_x: f32, center_x_ratio: f32, @@ -9652,7 +10283,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetScrollFromPosYWindowPtr( + pub fn igSetScrollFromPosY_WindowPtr( window: *mut ImGuiWindow, local_y: f32, center_y_ratio: f32, @@ -9741,11 +10372,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igItemSizeVec2(size: ImVec2, text_baseline_y: f32); + pub fn igItemSize_Vec2(size: ImVec2, text_baseline_y: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igItemSizeRect(bb: ImRect, text_baseline_y: f32); + pub fn igItemSize_Rect(bb: ImRect, text_baseline_y: f32); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9856,7 +10487,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsPopupOpenID(id: ImGuiID, popup_flags: ImGuiPopupFlags) -> bool; + pub fn igIsPopupOpen_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -9981,33 +10612,14 @@ extern "C" { pub fn igNavMoveRequestTryWrapping(window: *mut ImGuiWindow, move_flags: ImGuiNavMoveFlags); } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetNavInputAmount(n: ImGuiNavInput, mode: ImGuiInputReadMode) -> f32; -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igGetNavInputAmount2d( - pOut: *mut ImVec2, - dir_sources: ImGuiNavDirSourceFlags, - mode: ImGuiInputReadMode, - slow_factor: f32, - fast_factor: f32, - ); -} -#[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igCalcTypematicRepeatAmount( - t0: f32, - t1: f32, - repeat_delay: f32, - repeat_rate: f32, - ) -> cty::c_int; -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igActivateItem(id: ImGuiID); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetNavWindow(window: *mut ImGuiWindow); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igSetNavID( id: ImGuiID, @@ -10018,39 +10630,51 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPushFocusScope(id: ImGuiID); + pub fn igIsNamedKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igPopFocusScope(); + pub fn igIsNamedKeyOrModKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetFocusedFocusScope() -> ImGuiID; + pub fn igIsLegacyKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetFocusScope() -> ImGuiID; + pub fn igIsKeyboardKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetItemUsingMouseWheel(); + pub fn igIsGamepadKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igSetActiveIdUsingNavAndKeys(); + pub fn igIsMouseKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsActiveIdUsingNavDir(dir: ImGuiDir) -> bool; + pub fn igIsAliasKey(key: ImGuiKey) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsActiveIdUsingNavInput(input: ImGuiNavInput) -> bool; + pub fn igConvertSingleModFlagToKey(key: ImGuiKey) -> ImGuiKey; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsActiveIdUsingKey(key: ImGuiKey) -> bool; + pub fn igGetKeyData(key: ImGuiKey) -> *mut ImGuiKeyData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetKeyChordName( + key_chord: ImGuiKeyChord, + out_buf: *mut cty::c_char, + out_buf_size: cty::c_int, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igMouseButtonToKey(button: ImGuiMouseButton) -> ImGuiKey; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -10058,19 +10682,110 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsKeyPressedMap(key: ImGuiKey, repeat: bool) -> bool; + pub fn igGetKeyVector2d( + pOut: *mut ImVec2, + key_left: ImGuiKey, + key_right: ImGuiKey, + key_up: ImGuiKey, + key_down: ImGuiKey, + ); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsNavInputDown(n: ImGuiNavInput) -> bool; + pub fn igGetNavTweakPressedAmount(axis: ImGuiAxis) -> f32; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igIsNavInputTest(n: ImGuiNavInput, rm: ImGuiInputReadMode) -> bool; + pub fn igCalcTypematicRepeatAmount( + t0: f32, + t1: f32, + repeat_delay: f32, + repeat_rate: f32, + ) -> cty::c_int; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igGetMergedKeyModFlags() -> ImGuiKeyModFlags; + pub fn igGetTypematicRepeatRate( + flags: ImGuiInputFlags, + repeat_delay: *mut f32, + repeat_rate: *mut f32, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetActiveIdUsingAllKeyboardKeys(); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsActiveIdUsingNavDir(dir: ImGuiDir) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetKeyOwner(key: ImGuiKey) -> ImGuiID; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetKeyOwner(key: ImGuiKey, owner_id: ImGuiID, flags: ImGuiInputFlags); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetItemKeyOwner(key: ImGuiKey, flags: ImGuiInputFlags); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igTestKeyOwner(key: ImGuiKey, owner_id: ImGuiID) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetKeyOwnerData(key: ImGuiKey) -> *mut ImGuiKeyOwnerData; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsKeyDown_ID(key: ImGuiKey, owner_id: ImGuiID) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsKeyPressed_ID(key: ImGuiKey, owner_id: ImGuiID, flags: ImGuiInputFlags) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsKeyReleased_ID(key: ImGuiKey, owner_id: ImGuiID) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsMouseDown_ID(button: ImGuiMouseButton, owner_id: ImGuiID) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsMouseClicked_ID( + button: ImGuiMouseButton, + owner_id: ImGuiID, + flags: ImGuiInputFlags, + ) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsMouseReleased_ID(button: ImGuiMouseButton, owner_id: ImGuiID) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igShortcut(key_chord: ImGuiKeyChord, owner_id: ImGuiID, flags: ImGuiInputFlags) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igSetShortcutRouting( + key_chord: ImGuiKeyChord, + owner_id: ImGuiID, + flags: ImGuiInputFlags, + ) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igTestShortcutRouting(key_chord: ImGuiKeyChord, owner_id: ImGuiID) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetShortcutRoutingData(key_chord: ImGuiKeyChord) -> *mut ImGuiKeyRoutingData; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -10133,13 +10848,18 @@ extern "C" { pub fn igDockContextCalcDropPosForDocking( target: *mut ImGuiWindow, target_node: *mut ImGuiDockNode, - payload: *mut ImGuiWindow, + payload_window: *mut ImGuiWindow, + payload_node: *mut ImGuiDockNode, split_dir: ImGuiDir, split_outer: bool, out_pos: *mut ImVec2, ) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDockContextFindNodeByID(ctx: *mut ImGuiContext, id: ImGuiID) -> *mut ImGuiDockNode; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igDockNodeBeginAmendTabBar(node: *mut ImGuiDockNode) -> bool; } @@ -10261,6 +10981,22 @@ extern "C" { pub fn igDockBuilderFinish(node_id: ImGuiID); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igPushFocusScope(id: ImGuiID); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igPopFocusScope(); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igGetCurrentFocusScope() -> ImGuiID; +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsDragDropActive() -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igBeginDragDropTargetCustom(bb: ImRect, id: ImGuiID) -> bool; } @@ -10273,6 +11009,10 @@ extern "C" { pub fn igIsDragDropPayloadBeingAccepted() -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igRenderDragDropTargetRect(bb: ImRect); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igSetWindowClipRectBeforeSetChannel(window: *mut ImGuiWindow, clip_rect: ImRect); } @@ -10400,10 +11140,21 @@ extern "C" { pub fn igTableDrawContextMenu(table: *mut ImGuiTable); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igTableBeginContextMenuPopup(table: *mut ImGuiTable) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igTableMergeDrawChannels(table: *mut ImGuiTable); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igTableGetInstanceData( + table: *mut ImGuiTable, + instance_no: cty::c_int, + ) -> *mut ImGuiTableInstanceData; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igTableSortSpecsSanitize(table: *mut ImGuiTable); } @@ -10445,7 +11196,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTableGetColumnNameTablePtr( + pub fn igTableGetColumnName_TablePtr( table: *const ImGuiTable, column_n: cty::c_int, ) -> *const cty::c_char; @@ -10476,11 +11227,11 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTableGcCompactTransientBuffersTablePtr(table: *mut ImGuiTable); + pub fn igTableGcCompactTransientBuffers_TablePtr(table: *mut ImGuiTable); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTableGcCompactTransientBuffersTableTempDataPtr(table: *mut ImGuiTableTempData); + pub fn igTableGcCompactTransientBuffers_TableTempDataPtr(table: *mut ImGuiTableTempData); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -10504,7 +11255,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTableSettingsInstallHandler(context: *mut ImGuiContext); + pub fn igTableSettingsAddSettingsHandler(); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -10582,7 +11333,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTabItemCalcSize(pOut: *mut ImVec2, label: *const cty::c_char, has_close_button: bool); + pub fn igTabItemCalcSize_Str( + pOut: *mut ImVec2, + label: *const cty::c_char, + has_close_button_or_unsaved_marker: bool, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igTabItemCalcSize_WindowPtr(pOut: *mut ImVec2, window: *mut ImGuiWindow); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -10703,6 +11462,17 @@ extern "C" { ) -> *const cty::c_char; } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igRenderMouseCursor( + pos: ImVec2, + scale: f32, + mouse_cursor: ImGuiMouseCursor, + col_fill: ImU32, + col_border: ImU32, + col_shadow: ImU32, + ); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igRenderArrow( draw_list: *mut ImDrawList, @@ -10721,18 +11491,6 @@ extern "C" { pub fn igRenderCheckMark(draw_list: *mut ImDrawList, pos: ImVec2, col: ImU32, sz: f32); } #[link(wasm_import_module = "imgui-sys-v0")] -extern "C" { - pub fn igRenderMouseCursor( - draw_list: *mut ImDrawList, - pos: ImVec2, - scale: f32, - mouse_cursor: ImGuiMouseCursor, - col_fill: ImU32, - col_border: ImU32, - col_shadow: ImU32, - ); -} -#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igRenderArrowPointingAt( draw_list: *mut ImDrawList, @@ -10825,7 +11583,6 @@ extern "C" { size: ImVec2, uv0: ImVec2, uv1: ImVec2, - padding: ImVec2, bg_col: ImVec4, tint_col: ImVec4, ) -> bool; @@ -10852,7 +11609,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCheckboxFlagsS64Ptr( + pub fn igCheckboxFlags_S64Ptr( label: *const cty::c_char, flags: *mut ImS64, flags_value: ImS64, @@ -10860,7 +11617,7 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igCheckboxFlagsU64Ptr( + pub fn igCheckboxFlags_U64Ptr( label: *const cty::c_char, flags: *mut ImU64, flags_value: ImU64, @@ -10929,11 +11686,15 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreeNodeBehaviorIsOpen(id: ImGuiID, flags: ImGuiTreeNodeFlags) -> bool; + pub fn igTreePushOverrideID(id: ImGuiID); } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igTreePushOverrideID(id: ImGuiID); + pub fn igTreeNodeSetOpen(id: ImGuiID, open: bool); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igTreeNodeUpdateNextOpen(id: ImGuiID, flags: ImGuiTreeNodeFlags) -> bool; } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { @@ -10961,9 +11722,8 @@ extern "C" { } #[link(wasm_import_module = "imgui-sys-v0")] extern "C" { - pub fn igDataTypeApplyOpFromText( + pub fn igDataTypeApplyFromText( buf: *const cty::c_char, - initial_value_buf: *const cty::c_char, data_type: ImGuiDataType, p_data: *mut cty::c_void, format: *const cty::c_char, @@ -11098,6 +11858,10 @@ extern "C" { pub fn igGcAwakeTransientWindowBuffers(window: *mut ImGuiWindow); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugLog(fmt: *const cty::c_char, ...); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igErrorCheckEndFrameRecover( log_callback: ImGuiErrorLogCallback, @@ -11112,6 +11876,22 @@ extern "C" { ); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igErrorCheckUsingSetCursorPosToExtendParentBoundaries(); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugLocateItem(target_id: ImGuiID); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugLocateItemOnHover(target_id: ImGuiID); +} +#[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugLocateItemResolveWithLastItem(); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igDebugDrawItemRect(col: ImU32); } @@ -11164,6 +11944,10 @@ extern "C" { pub fn igDebugNodeFont(font: *mut ImFont); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugNodeFontGlyph(font: *mut ImFont, glyph: *const ImFontGlyph); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igDebugNodeStorage(storage: *mut ImGuiStorage, label: *const cty::c_char); } @@ -11180,6 +11964,10 @@ extern "C" { pub fn igDebugNodeTableSettings(settings: *mut ImGuiTableSettings); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igDebugNodeInputTextState(state: *mut ImGuiInputTextState); +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igDebugNodeWindow(window: *mut ImGuiWindow, label: *const cty::c_char); } @@ -11212,6 +12000,10 @@ extern "C" { ); } #[link(wasm_import_module = "imgui-sys-v0")] +extern "C" { + pub fn igIsKeyPressedMap(key: ImGuiKey, repeat: bool) -> bool; +} +#[link(wasm_import_module = "imgui-sys-v0")] extern "C" { pub fn igImFontAtlasGetBuilderForStbTruetype() -> *const ImFontBuilderIO; } diff --git a/imgui-sys/third-party/imgui-docking/cimgui.cpp b/imgui-sys/third-party/imgui-docking/cimgui.cpp index d9ce562..3466f54 100644 --- a/imgui-sys/third-party/imgui-docking/cimgui.cpp +++ b/imgui-sys/third-party/imgui-docking/cimgui.cpp @@ -1,10 +1,18 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.86" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.89.1" 18910 from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api //docking branch - -#include "./imgui/imgui.h" +#ifdef IMGUI_ENABLE_FREETYPE +#ifndef CIMGUI_FREETYPE +#error "IMGUI_FREETYPE should be defined for Freetype linking" +#endif +#else #ifdef CIMGUI_FREETYPE +#error "IMGUI_FREETYPE should not be defined without freetype generated cimgui" +#endif +#endif +#include "./imgui/imgui.h" +#ifdef IMGUI_ENABLE_FREETYPE #include "./imgui/misc/freetype/imgui_freetype.h" #endif #include "./imgui/imgui_internal.h" @@ -12,7 +20,7 @@ -CIMGUI_API ImVec2* ImVec2_ImVec2Nil(void) +CIMGUI_API ImVec2* ImVec2_ImVec2_Nil(void) { return IM_NEW(ImVec2)(); } @@ -20,11 +28,11 @@ CIMGUI_API void ImVec2_destroy(ImVec2* self) { IM_DELETE(self); } -CIMGUI_API ImVec2* ImVec2_ImVec2Float(float _x,float _y) +CIMGUI_API ImVec2* ImVec2_ImVec2_Float(float _x,float _y) { return IM_NEW(ImVec2)(_x,_y); } -CIMGUI_API ImVec4* ImVec4_ImVec4Nil(void) +CIMGUI_API ImVec4* ImVec4_ImVec4_Nil(void) { return IM_NEW(ImVec4)(); } @@ -32,7 +40,7 @@ CIMGUI_API void ImVec4_destroy(ImVec4* self) { IM_DELETE(self); } -CIMGUI_API ImVec4* ImVec4_ImVec4Float(float _x,float _y,float _z,float _w) +CIMGUI_API ImVec4* ImVec4_ImVec4_Float(float _x,float _y,float _z,float _w) { return IM_NEW(ImVec4)(_x,_y,_z,_w); } @@ -84,6 +92,10 @@ CIMGUI_API void igShowMetricsWindow(bool* p_open) { return ImGui::ShowMetricsWindow(p_open); } +CIMGUI_API void igShowDebugLogWindow(bool* p_open) +{ + return ImGui::ShowDebugLogWindow(p_open); +} CIMGUI_API void igShowStackToolWindow(bool* p_open) { return ImGui::ShowStackToolWindow(p_open); @@ -132,11 +144,11 @@ CIMGUI_API void igEnd() { return ImGui::End(); } -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild_Str(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild_ID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(id,size,border,flags); } @@ -212,6 +224,10 @@ CIMGUI_API void igSetNextWindowFocus() { return ImGui::SetNextWindowFocus(); } +CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll) +{ + return ImGui::SetNextWindowScroll(scroll); +} CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { return ImGui::SetNextWindowBgAlpha(alpha); @@ -220,19 +236,19 @@ CIMGUI_API void igSetNextWindowViewport(ImGuiID viewport_id) { return ImGui::SetNextWindowViewport(viewport_id); } -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPos_Vec2(const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(pos,cond); } -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSize_Vec2(const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(size,cond); } -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsed_Bool(bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetWindowFocusNil() +CIMGUI_API void igSetWindowFocus_Nil() { return ImGui::SetWindowFocus(); } @@ -240,19 +256,19 @@ CIMGUI_API void igSetWindowFontScale(float scale) { return ImGui::SetWindowFontScale(scale); } -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPos_Str(const char* name,const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(name,pos,cond); } -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSize_Str(const char* name,const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(name,size,cond); } -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsed_Str(const char* name,bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(name,collapsed,cond); } -CIMGUI_API void igSetWindowFocusStr(const char* name) +CIMGUI_API void igSetWindowFocus_Str(const char* name) { return ImGui::SetWindowFocus(name); } @@ -280,11 +296,11 @@ CIMGUI_API float igGetScrollY() { return ImGui::GetScrollY(); } -CIMGUI_API void igSetScrollXFloat(float scroll_x) +CIMGUI_API void igSetScrollX_Float(float scroll_x) { return ImGui::SetScrollX(scroll_x); } -CIMGUI_API void igSetScrollYFloat(float scroll_y) +CIMGUI_API void igSetScrollY_Float(float scroll_y) { return ImGui::SetScrollY(scroll_y); } @@ -304,11 +320,11 @@ CIMGUI_API void igSetScrollHereY(float center_y_ratio) { return ImGui::SetScrollHereY(center_y_ratio); } -CIMGUI_API void igSetScrollFromPosXFloat(float local_x,float center_x_ratio) +CIMGUI_API void igSetScrollFromPosX_Float(float local_x,float center_x_ratio) { return ImGui::SetScrollFromPosX(local_x,center_x_ratio); } -CIMGUI_API void igSetScrollFromPosYFloat(float local_y,float center_y_ratio) +CIMGUI_API void igSetScrollFromPosY_Float(float local_y,float center_y_ratio) { return ImGui::SetScrollFromPosY(local_y,center_y_ratio); } @@ -320,11 +336,11 @@ CIMGUI_API void igPopFont() { return ImGui::PopFont(); } -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +CIMGUI_API void igPushStyleColor_U32(ImGuiCol idx,ImU32 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4 col) { return ImGui::PushStyleColor(idx,col); } @@ -332,11 +348,11 @@ CIMGUI_API void igPopStyleColor(int count) { return ImGui::PopStyleColor(count); } -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +CIMGUI_API void igPushStyleVar_Float(ImGuiStyleVar idx,float val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val) { return ImGui::PushStyleVar(idx,val); } @@ -396,15 +412,15 @@ CIMGUI_API void igGetFontTexUvWhitePixel(ImVec2 *pOut) { *pOut = ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32_Col(ImGuiCol idx,float alpha_mul) { return ImGui::GetColorU32(idx,alpha_mul); } -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +CIMGUI_API ImU32 igGetColorU32_Vec4(const ImVec4 col) { return ImGui::GetColorU32(col); } -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +CIMGUI_API ImU32 igGetColorU32_U32(ImU32 col) { return ImGui::GetColorU32(col); } @@ -504,19 +520,19 @@ CIMGUI_API float igGetFrameHeightWithSpacing() { return ImGui::GetFrameHeightWithSpacing(); } -CIMGUI_API void igPushIDStr(const char* str_id) +CIMGUI_API void igPushID_Str(const char* str_id) { return ImGui::PushID(str_id); } -CIMGUI_API void igPushIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API void igPushID_StrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::PushID(str_id_begin,str_id_end); } -CIMGUI_API void igPushIDPtr(const void* ptr_id) +CIMGUI_API void igPushID_Ptr(const void* ptr_id) { return ImGui::PushID(ptr_id); } -CIMGUI_API void igPushIDInt(int int_id) +CIMGUI_API void igPushID_Int(int int_id) { return ImGui::PushID(int_id); } @@ -524,15 +540,15 @@ CIMGUI_API void igPopID() { return ImGui::PopID(); } -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +CIMGUI_API ImGuiID igGetID_Str(const char* str_id) { return ImGui::GetID(str_id); } -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API ImGuiID igGetID_StrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::GetID(str_id_begin,str_id_end); } -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +CIMGUI_API ImGuiID igGetID_Ptr(const void* ptr_id) { return ImGui::GetID(ptr_id); } @@ -622,31 +638,23 @@ CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) { return ImGui::ArrowButton(str_id,dir); } -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) -{ - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); -} -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) -{ - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); -} CIMGUI_API bool igCheckbox(const char* label,bool* v) { return ImGui::Checkbox(label,v); } -CIMGUI_API bool igCheckboxFlagsIntPtr(const char* label,int* flags,int flags_value) +CIMGUI_API bool igCheckboxFlags_IntPtr(const char* label,int* flags,int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igCheckboxFlagsUintPtr(const char* label,unsigned int* flags,unsigned int flags_value) +CIMGUI_API bool igCheckboxFlags_UintPtr(const char* label,unsigned int* flags,unsigned int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +CIMGUI_API bool igRadioButton_Bool(const char* label,bool active) { return ImGui::RadioButton(label,active); } -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +CIMGUI_API bool igRadioButton_IntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } @@ -658,6 +666,14 @@ CIMGUI_API void igBullet() { return ImGui::Bullet(); } +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col); +} CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { return ImGui::BeginCombo(label,preview_value,flags); @@ -666,15 +682,15 @@ CIMGUI_API void igEndCombo() { return ImGui::EndCombo(); } -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +CIMGUI_API bool igCombo_Str(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } @@ -854,7 +870,7 @@ CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlag { return ImGui::ColorPicker4(label,col,flags,ref_col); } -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size) { return ImGui::ColorButton(desc_id,col,flags,size); } @@ -862,11 +878,11 @@ CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { return ImGui::SetColorEditOptions(flags); } -CIMGUI_API bool igTreeNodeStr(const char* label) +CIMGUI_API bool igTreeNode_Str(const char* label) { return ImGui::TreeNode(label); } -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +CIMGUI_API bool igTreeNode_StrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -874,7 +890,7 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) va_end(args); return ret; } -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +CIMGUI_API bool igTreeNode_Ptr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -882,19 +898,19 @@ CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) va_end(args); return ret; } -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeV_Str(const char* str_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(str_id,fmt,args); } -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeV_Ptr(const void* ptr_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(ptr_id,fmt,args); } -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igTreeNodeEx_Str(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::TreeNodeEx(label,flags); } -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeEx_StrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -902,7 +918,7 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c va_end(args); return ret; } -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeEx_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -910,19 +926,19 @@ CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,cons va_end(args); return ret; } -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExV_Str(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(str_id,flags,fmt,args); } -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExV_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } -CIMGUI_API void igTreePushStr(const char* str_id) +CIMGUI_API void igTreePush_Str(const char* str_id) { return ImGui::TreePush(str_id); } -CIMGUI_API void igTreePushPtr(const void* ptr_id) +CIMGUI_API void igTreePush_Ptr(const void* ptr_id) { return ImGui::TreePush(ptr_id); } @@ -934,11 +950,11 @@ CIMGUI_API float igGetTreeNodeToLabelSpacing() { return ImGui::GetTreeNodeToLabelSpacing(); } -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader_TreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,flags); } -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader_BoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,p_visible,flags); } @@ -946,11 +962,11 @@ CIMGUI_API void igSetNextItemOpen(bool is_open,ImGuiCond cond) { return ImGui::SetNextItemOpen(is_open,cond); } -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable_BoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,p_selected,flags,size); } @@ -962,43 +978,43 @@ CIMGUI_API void igEndListBox() { return ImGui::EndListBox(); } -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +CIMGUI_API bool igListBox_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBox_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } -CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) +CIMGUI_API void igPlotLines_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) { return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) +CIMGUI_API void igPlotLines_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) { return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) +CIMGUI_API void igPlotHistogram_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) { return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) +CIMGUI_API void igPlotHistogram_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) { return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igValueBool(const char* prefix,bool b) +CIMGUI_API void igValue_Bool(const char* prefix,bool b) { return ImGui::Value(prefix,b); } -CIMGUI_API void igValueInt(const char* prefix,int v) +CIMGUI_API void igValue_Int(const char* prefix,int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +CIMGUI_API void igValue_Uint(const char* prefix,unsigned int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +CIMGUI_API void igValue_Float(const char* prefix,float v,const char* float_format) { return ImGui::Value(prefix,v,float_format); } @@ -1026,11 +1042,11 @@ CIMGUI_API void igEndMenu() { return ImGui::EndMenu(); } -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +CIMGUI_API bool igMenuItem_Bool(const char* label,const char* shortcut,bool selected,bool enabled) { return ImGui::MenuItem(label,shortcut,selected,enabled); } -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +CIMGUI_API bool igMenuItem_BoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } @@ -1065,11 +1081,11 @@ CIMGUI_API void igEndPopup() { return ImGui::EndPopup(); } -CIMGUI_API void igOpenPopupStr(const char* str_id,ImGuiPopupFlags popup_flags) +CIMGUI_API void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags) { return ImGui::OpenPopup(str_id,popup_flags); } -CIMGUI_API void igOpenPopupID(ImGuiID id,ImGuiPopupFlags popup_flags) +CIMGUI_API void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags) { return ImGui::OpenPopup(id,popup_flags); } @@ -1093,7 +1109,7 @@ CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup { return ImGui::BeginPopupContextVoid(str_id,popup_flags); } -CIMGUI_API bool igIsPopupOpenStr(const char* str_id,ImGuiPopupFlags flags) +CIMGUI_API bool igIsPopupOpen_Str(const char* str_id,ImGuiPopupFlags flags) { return ImGui::IsPopupOpen(str_id,flags); } @@ -1149,7 +1165,7 @@ CIMGUI_API int igTableGetRowIndex() { return ImGui::TableGetRowIndex(); } -CIMGUI_API const char* igTableGetColumnNameInt(int column_n) +CIMGUI_API const char* igTableGetColumnName_Int(int column_n) { return ImGui::TableGetColumnName(column_n); } @@ -1393,11 +1409,27 @@ CIMGUI_API ImGuiViewport* igGetMainViewport() { return ImGui::GetMainViewport(); } -CIMGUI_API bool igIsRectVisibleNil(const ImVec2 size) +CIMGUI_API ImDrawList* igGetBackgroundDrawList_Nil() +{ + return ImGui::GetBackgroundDrawList(); +} +CIMGUI_API ImDrawList* igGetForegroundDrawList_Nil() +{ + return ImGui::GetForegroundDrawList(); +} +CIMGUI_API ImDrawList* igGetBackgroundDrawList_ViewportPtr(ImGuiViewport* viewport) +{ + return ImGui::GetBackgroundDrawList(viewport); +} +CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport) +{ + return ImGui::GetForegroundDrawList(viewport); +} +CIMGUI_API bool igIsRectVisible_Nil(const ImVec2 size) { return ImGui::IsRectVisible(size); } -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +CIMGUI_API bool igIsRectVisible_Vec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } @@ -1409,22 +1441,6 @@ CIMGUI_API int igGetFrameCount() { return ImGui::GetFrameCount(); } -CIMGUI_API ImDrawList* igGetBackgroundDrawListNil() -{ - return ImGui::GetBackgroundDrawList(); -} -CIMGUI_API ImDrawList* igGetForegroundDrawListNil() -{ - return ImGui::GetForegroundDrawList(); -} -CIMGUI_API ImDrawList* igGetBackgroundDrawListViewportPtr(ImGuiViewport* viewport) -{ - return ImGui::GetBackgroundDrawList(viewport); -} -CIMGUI_API ImDrawList* igGetForegroundDrawListViewportPtr(ImGuiViewport* viewport) -{ - return ImGui::GetForegroundDrawList(viewport); -} CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { return ImGui::GetDrawListSharedData(); @@ -1469,39 +1485,39 @@ CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,floa { return ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b); } -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +CIMGUI_API bool igIsKeyDown_Nil(ImGuiKey key) { - return ImGui::GetKeyIndex(imgui_key); + return ImGui::IsKeyDown(key); } -CIMGUI_API bool igIsKeyDown(int user_key_index) +CIMGUI_API bool igIsKeyPressed_Bool(ImGuiKey key,bool repeat) { - return ImGui::IsKeyDown(user_key_index); + return ImGui::IsKeyPressed(key,repeat); } -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +CIMGUI_API bool igIsKeyReleased_Nil(ImGuiKey key) { - return ImGui::IsKeyPressed(user_key_index,repeat); + return ImGui::IsKeyReleased(key); } -CIMGUI_API bool igIsKeyReleased(int user_key_index) +CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate) { - return ImGui::IsKeyReleased(user_key_index); + return ImGui::GetKeyPressedAmount(key,repeat_delay,rate); } -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +CIMGUI_API const char* igGetKeyName(ImGuiKey key) { - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); + return ImGui::GetKeyName(key); } -CIMGUI_API void igCaptureKeyboardFromApp(bool want_capture_keyboard_value) +CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) { - return ImGui::CaptureKeyboardFromApp(want_capture_keyboard_value); + return ImGui::SetNextFrameWantCaptureKeyboard(want_capture_keyboard); } -CIMGUI_API bool igIsMouseDown(ImGuiMouseButton button) +CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button) { return ImGui::IsMouseDown(button); } -CIMGUI_API bool igIsMouseClicked(ImGuiMouseButton button,bool repeat) +CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat) { return ImGui::IsMouseClicked(button,repeat); } -CIMGUI_API bool igIsMouseReleased(ImGuiMouseButton button) +CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button) { return ImGui::IsMouseReleased(button); } @@ -1553,9 +1569,9 @@ CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor cursor_type) { return ImGui::SetMouseCursor(cursor_type); } -CIMGUI_API void igCaptureMouseFromApp(bool want_capture_mouse_value) +CIMGUI_API void igSetNextFrameWantCaptureMouse(bool want_capture_mouse) { - return ImGui::CaptureMouseFromApp(want_capture_mouse_value); + return ImGui::SetNextFrameWantCaptureMouse(want_capture_mouse); } CIMGUI_API const char* igGetClipboardText() { @@ -1581,6 +1597,10 @@ CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) { return ImGui::SaveIniSettingsToMemory(out_ini_size); } +CIMGUI_API void igDebugTextEncoding(const char* text) +{ + return ImGui::DebugTextEncoding(text); +} CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx) { return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert,sz_drawidx); @@ -1637,6 +1657,34 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) { return self->ScaleAllSizes(scale_factor); } +CIMGUI_API void ImGuiIO_AddKeyEvent(ImGuiIO* self,ImGuiKey key,bool down) +{ + return self->AddKeyEvent(key,down); +} +CIMGUI_API void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self,ImGuiKey key,bool down,float v) +{ + return self->AddKeyAnalogEvent(key,down,v); +} +CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self,float x,float y) +{ + return self->AddMousePosEvent(x,y); +} +CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self,int button,bool down) +{ + return self->AddMouseButtonEvent(button,down); +} +CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self,float wh_x,float wh_y) +{ + return self->AddMouseWheelEvent(wh_x,wh_y); +} +CIMGUI_API void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self,ImGuiID id) +{ + return self->AddMouseViewportEvent(id); +} +CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused) +{ + return self->AddFocusEvent(focused); +} CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,unsigned int c) { return self->AddInputCharacter(c); @@ -1649,9 +1697,13 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* str) { return self->AddInputCharactersUTF8(str); } -CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused) +CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index) { - return self->AddFocusEvent(focused); + return self->SetKeyEventNativeData(key,native_keycode,native_scancode,native_legacy_index); +} +CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self,bool accepting_events) +{ + return self->SetAppAcceptingEvents(accepting_events); } CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { @@ -1781,7 +1833,7 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeNil(void) +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Nil(void) { return IM_NEW(ImGuiTextRange)(); } @@ -1789,7 +1841,7 @@ CIMGUI_API void ImGuiTextRange_destroy(ImGuiTextRange* self) { IM_DELETE(self); } -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeStr(const char* _b,const char* _e) +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Str(const char* _b,const char* _e) { return IM_NEW(ImGuiTextRange)(_b,_e); } @@ -1845,7 +1897,7 @@ CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,v { return self->appendfv(fmt,args); } -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairInt(ImGuiID _key,int _val_i) +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val_i) { return IM_NEW(ImGuiStoragePair)(_key,_val_i); } @@ -1853,11 +1905,11 @@ CIMGUI_API void ImGuiStoragePair_destroy(ImGuiStoragePair* self) { IM_DELETE(self); } -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairFloat(ImGuiID _key,float _val_f) +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val_f) { return IM_NEW(ImGuiStoragePair)(_key,_val_f); } -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairPtr(ImGuiID _key,void* _val_p) +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val_p) { return IM_NEW(ImGuiStoragePair)(_key,_val_p); } @@ -1945,7 +1997,7 @@ CIMGUI_API void ImGuiListClipper_ForceDisplayRangeByIndices(ImGuiListClipper* se { return self->ForceDisplayRangeByIndices(item_min,item_max); } -CIMGUI_API ImColor* ImColor_ImColorNil(void) +CIMGUI_API ImColor* ImColor_ImColor_Nil(void) { return IM_NEW(ImColor)(); } @@ -1953,22 +2005,22 @@ CIMGUI_API void ImColor_destroy(ImColor* self) { IM_DELETE(self); } -CIMGUI_API ImColor* ImColor_ImColorInt(int r,int g,int b,int a) +CIMGUI_API ImColor* ImColor_ImColor_Float(float r,float g,float b,float a) { return IM_NEW(ImColor)(r,g,b,a); } -CIMGUI_API ImColor* ImColor_ImColorU32(ImU32 rgba) -{ - return IM_NEW(ImColor)(rgba); -} -CIMGUI_API ImColor* ImColor_ImColorFloat(float r,float g,float b,float a) -{ - return IM_NEW(ImColor)(r,g,b,a); -} -CIMGUI_API ImColor* ImColor_ImColorVec4(const ImVec4 col) +CIMGUI_API ImColor* ImColor_ImColor_Vec4(const ImVec4 col) { return IM_NEW(ImColor)(col); } +CIMGUI_API ImColor* ImColor_ImColor_Int(int r,int g,int b,int a) +{ + return IM_NEW(ImColor)(r,g,b,a); +} +CIMGUI_API ImColor* ImColor_ImColor_U32(ImU32 rgba) +{ + return IM_NEW(ImColor)(rgba); +} CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); @@ -2017,7 +2069,7 @@ CIMGUI_API void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self,Im { return self->SetCurrentChannel(draw_list,channel_idx); } -CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data) +CIMGUI_API ImDrawList* ImDrawList_ImDrawList(ImDrawListSharedData* shared_data) { return IM_NEW(ImDrawList)(shared_data); } @@ -2025,7 +2077,7 @@ CIMGUI_API void ImDrawList_destroy(ImDrawList* self) { IM_DELETE(self); } -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } @@ -2101,11 +2153,11 @@ CIMGUI_API void ImDrawList_AddNgonFilled(ImDrawList* self,const ImVec2 center,fl { return self->AddNgonFilled(center,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { return self->AddText(pos,col,text_begin,text_end); } -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } @@ -2421,6 +2473,10 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { return self->GetGlyphRangesDefault(); } +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesGreek(ImFontAtlas* self) +{ + return self->GetGlyphRangesGreek(); +} CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { return self->GetGlyphRangesKorean(); @@ -2505,11 +2561,11 @@ CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,con { return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c) +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c) { return self->RenderChar(draw_list,size,pos,col,c); } -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } @@ -2573,6 +2629,18 @@ CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self) { IM_DELETE(self); } +CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void) +{ + return IM_NEW(ImGuiPlatformImeData)(); +} +CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self) +{ + IM_DELETE(self); +} +CIMGUI_API ImGuiKey igGetKeyIndex(ImGuiKey key) +{ + return ImGui::GetKeyIndex(key); +} CIMGUI_API ImGuiID igImHashData(const void* data,size_t data_size,ImU32 seed) { return ImHashData(data,data_size,seed); @@ -2589,11 +2657,11 @@ CIMGUI_API ImU32 igImAlphaBlendColors(ImU32 col_a,ImU32 col_b) { return ImAlphaBlendColors(col_a,col_b); } -CIMGUI_API bool igImIsPowerOfTwoInt(int v) +CIMGUI_API bool igImIsPowerOfTwo_Int(int v) { return ImIsPowerOfTwo(v); } -CIMGUI_API bool igImIsPowerOfTwoU64(ImU64 v) +CIMGUI_API bool igImIsPowerOfTwo_U64(ImU64 v) { return ImIsPowerOfTwo(v); } @@ -2649,6 +2717,18 @@ CIMGUI_API const char* igImStrSkipBlank(const char* str) { return ImStrSkipBlank(str); } +CIMGUI_API char igImToUpper(char c) +{ + return ImToUpper(c); +} +CIMGUI_API bool igImCharIsBlankA(char c) +{ + return ImCharIsBlankA(c); +} +CIMGUI_API bool igImCharIsBlankW(unsigned int c) +{ + return ImCharIsBlankW(c); +} CIMGUI_API int igImFormatString(char* buf,size_t buf_size,const char* fmt,...) { va_list args; @@ -2661,6 +2741,17 @@ CIMGUI_API int igImFormatStringV(char* buf,size_t buf_size,const char* fmt,va_li { return ImFormatStringV(buf,buf_size,fmt,args); } +CIMGUI_API void igImFormatStringToTempBuffer(const char** out_buf,const char** out_buf_end,const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImFormatStringToTempBufferV(out_buf,out_buf_end,fmt,args); + va_end(args); +} +CIMGUI_API void igImFormatStringToTempBufferV(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args) +{ + return ImFormatStringToTempBufferV(out_buf,out_buf_end,fmt,args); +} CIMGUI_API const char* igImParseFormatFindStart(const char* format) { return ImParseFormatFindStart(format); @@ -2673,18 +2764,18 @@ CIMGUI_API const char* igImParseFormatTrimDecorations(const char* format,char* b { return ImParseFormatTrimDecorations(format,buf,buf_size); } +CIMGUI_API void igImParseFormatSanitizeForPrinting(const char* fmt_in,char* fmt_out,size_t fmt_out_size) +{ + return ImParseFormatSanitizeForPrinting(fmt_in,fmt_out,fmt_out_size); +} +CIMGUI_API const char* igImParseFormatSanitizeForScanning(const char* fmt_in,char* fmt_out,size_t fmt_out_size) +{ + return ImParseFormatSanitizeForScanning(fmt_in,fmt_out,fmt_out_size); +} CIMGUI_API int igImParseFormatPrecision(const char* format,int default_value) { return ImParseFormatPrecision(format,default_value); } -CIMGUI_API bool igImCharIsBlankA(char c) -{ - return ImCharIsBlankA(c); -} -CIMGUI_API bool igImCharIsBlankW(unsigned int c) -{ - return ImCharIsBlankW(c); -} CIMGUI_API const char* igImTextCharToUtf8(char out_buf[5],unsigned int c) { return ImTextCharToUtf8(out_buf,c); @@ -2737,47 +2828,47 @@ CIMGUI_API void* igImFileLoadToMemory(const char* filename,const char* mode,size { return ImFileLoadToMemory(filename,mode,out_file_size,padding_bytes); } -CIMGUI_API float igImPowFloat(float x,float y) +CIMGUI_API float igImPow_Float(float x,float y) { return ImPow(x,y); } -CIMGUI_API double igImPowdouble(double x,double y) +CIMGUI_API double igImPow_double(double x,double y) { return ImPow(x,y); } -CIMGUI_API float igImLogFloat(float x) +CIMGUI_API float igImLog_Float(float x) { return ImLog(x); } -CIMGUI_API double igImLogdouble(double x) +CIMGUI_API double igImLog_double(double x) { return ImLog(x); } -CIMGUI_API int igImAbsInt(int x) +CIMGUI_API int igImAbs_Int(int x) { return ImAbs(x); } -CIMGUI_API float igImAbsFloat(float x) +CIMGUI_API float igImAbs_Float(float x) { return ImAbs(x); } -CIMGUI_API double igImAbsdouble(double x) +CIMGUI_API double igImAbs_double(double x) { return ImAbs(x); } -CIMGUI_API float igImSignFloat(float x) +CIMGUI_API float igImSign_Float(float x) { return ImSign(x); } -CIMGUI_API double igImSigndouble(double x) +CIMGUI_API double igImSign_double(double x) { return ImSign(x); } -CIMGUI_API float igImRsqrtFloat(float x) +CIMGUI_API float igImRsqrt_Float(float x) { return ImRsqrt(x); } -CIMGUI_API double igImRsqrtdouble(double x) +CIMGUI_API double igImRsqrt_double(double x) { return ImRsqrt(x); } @@ -2793,15 +2884,15 @@ CIMGUI_API void igImClamp(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,ImVec2 mx) { *pOut = ImClamp(v,mn,mx); } -CIMGUI_API void igImLerpVec2Float(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t) +CIMGUI_API void igImLerp_Vec2Float(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t) { *pOut = ImLerp(a,b,t); } -CIMGUI_API void igImLerpVec2Vec2(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t) +CIMGUI_API void igImLerp_Vec2Vec2(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t) { *pOut = ImLerp(a,b,t); } -CIMGUI_API void igImLerpVec4(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t) +CIMGUI_API void igImLerp_Vec4(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t) { *pOut = ImLerp(a,b,t); } @@ -2809,11 +2900,11 @@ CIMGUI_API float igImSaturate(float f) { return ImSaturate(f); } -CIMGUI_API float igImLengthSqrVec2(const ImVec2 lhs) +CIMGUI_API float igImLengthSqr_Vec2(const ImVec2 lhs) { return ImLengthSqr(lhs); } -CIMGUI_API float igImLengthSqrVec4(const ImVec4 lhs) +CIMGUI_API float igImLengthSqr_Vec4(const ImVec4 lhs) { return ImLengthSqr(lhs); } @@ -2821,18 +2912,22 @@ CIMGUI_API float igImInvLength(const ImVec2 lhs,float fail_value) { return ImInvLength(lhs,fail_value); } -CIMGUI_API float igImFloorFloat(float f) +CIMGUI_API float igImFloor_Float(float f) { return ImFloor(f); } -CIMGUI_API float igImFloorSigned(float f) +CIMGUI_API float igImFloorSigned_Float(float f) { return ImFloorSigned(f); } -CIMGUI_API void igImFloorVec2(ImVec2 *pOut,const ImVec2 v) +CIMGUI_API void igImFloor_Vec2(ImVec2 *pOut,const ImVec2 v) { *pOut = ImFloor(v); } +CIMGUI_API void igImFloorSigned_Vec2(ImVec2 *pOut,const ImVec2 v) +{ + *pOut = ImFloorSigned(v); +} CIMGUI_API int igImModPositive(int a,int b) { return ImModPositive(a,b); @@ -2897,7 +2992,7 @@ CIMGUI_API ImGuiDir igImGetDirQuadrantFromDelta(float dx,float dy) { return ImGetDirQuadrantFromDelta(dx,dy); } -CIMGUI_API ImVec1* ImVec1_ImVec1Nil(void) +CIMGUI_API ImVec1* ImVec1_ImVec1_Nil(void) { return IM_NEW(ImVec1)(); } @@ -2905,11 +3000,11 @@ CIMGUI_API void ImVec1_destroy(ImVec1* self) { IM_DELETE(self); } -CIMGUI_API ImVec1* ImVec1_ImVec1Float(float _x) +CIMGUI_API ImVec1* ImVec1_ImVec1_Float(float _x) { return IM_NEW(ImVec1)(_x); } -CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ihNil(void) +CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ih_Nil(void) { return IM_NEW(ImVec2ih)(); } @@ -2917,15 +3012,15 @@ CIMGUI_API void ImVec2ih_destroy(ImVec2ih* self) { IM_DELETE(self); } -CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ihshort(short _x,short _y) +CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ih_short(short _x,short _y) { return IM_NEW(ImVec2ih)(_x,_y); } -CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ihVec2(const ImVec2 rhs) +CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ih_Vec2(const ImVec2 rhs) { return IM_NEW(ImVec2ih)(rhs); } -CIMGUI_API ImRect* ImRect_ImRectNil(void) +CIMGUI_API ImRect* ImRect_ImRect_Nil(void) { return IM_NEW(ImRect)(); } @@ -2933,15 +3028,15 @@ CIMGUI_API void ImRect_destroy(ImRect* self) { IM_DELETE(self); } -CIMGUI_API ImRect* ImRect_ImRectVec2(const ImVec2 min,const ImVec2 max) +CIMGUI_API ImRect* ImRect_ImRect_Vec2(const ImVec2 min,const ImVec2 max) { return IM_NEW(ImRect)(min,max); } -CIMGUI_API ImRect* ImRect_ImRectVec4(const ImVec4 v) +CIMGUI_API ImRect* ImRect_ImRect_Vec4(const ImVec4 v) { return IM_NEW(ImRect)(v); } -CIMGUI_API ImRect* ImRect_ImRectFloat(float x1,float y1,float x2,float y2) +CIMGUI_API ImRect* ImRect_ImRect_Float(float x1,float y1,float x2,float y2) { return IM_NEW(ImRect)(x1,y1,x2,y2); } @@ -2981,11 +3076,11 @@ CIMGUI_API void ImRect_GetBR(ImVec2 *pOut,ImRect* self) { *pOut = self->GetBR(); } -CIMGUI_API bool ImRect_ContainsVec2(ImRect* self,const ImVec2 p) +CIMGUI_API bool ImRect_Contains_Vec2(ImRect* self,const ImVec2 p) { return self->Contains(p); } -CIMGUI_API bool ImRect_ContainsRect(ImRect* self,const ImRect r) +CIMGUI_API bool ImRect_Contains_Rect(ImRect* self,const ImRect r) { return self->Contains(r); } @@ -2993,19 +3088,19 @@ CIMGUI_API bool ImRect_Overlaps(ImRect* self,const ImRect r) { return self->Overlaps(r); } -CIMGUI_API void ImRect_AddVec2(ImRect* self,const ImVec2 p) +CIMGUI_API void ImRect_Add_Vec2(ImRect* self,const ImVec2 p) { return self->Add(p); } -CIMGUI_API void ImRect_AddRect(ImRect* self,const ImRect r) +CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect r) { return self->Add(r); } -CIMGUI_API void ImRect_ExpandFloat(ImRect* self,const float amount) +CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount) { return self->Expand(amount); } -CIMGUI_API void ImRect_ExpandVec2(ImRect* self,const ImVec2 amount) +CIMGUI_API void ImRect_Expand_Vec2(ImRect* self,const ImVec2 amount) { return self->Expand(amount); } @@ -3077,6 +3172,26 @@ CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n) { return self->ClearBit(n); } +CIMGUI_API void ImGuiTextIndex_clear(ImGuiTextIndex* self) +{ + return self->clear(); +} +CIMGUI_API int ImGuiTextIndex_size(ImGuiTextIndex* self) +{ + return self->size(); +} +CIMGUI_API const char* ImGuiTextIndex_get_line_begin(ImGuiTextIndex* self,const char* base,int n) +{ + return self->get_line_begin(base,n); +} +CIMGUI_API const char* ImGuiTextIndex_get_line_end(ImGuiTextIndex* self,const char* base,int n) +{ + return self->get_line_end(base,n); +} +CIMGUI_API void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int old_size,int new_size) +{ + return self->append(base,old_size,new_size); +} CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void) { return IM_NEW(ImDrawListSharedData)(); @@ -3105,7 +3220,7 @@ CIMGUI_API void ImDrawDataBuilder_FlattenIntoSingleLayer(ImDrawDataBuilder* self { return self->FlattenIntoSingleLayer(); } -CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModInt(ImGuiStyleVar idx,int v) +CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v) { return IM_NEW(ImGuiStyleMod)(idx,v); } @@ -3113,11 +3228,11 @@ CIMGUI_API void ImGuiStyleMod_destroy(ImGuiStyleMod* self) { IM_DELETE(self); } -CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModFloat(ImGuiStyleVar idx,float v) +CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Float(ImGuiStyleVar idx,float v) { return IM_NEW(ImGuiStyleMod)(idx,v); } -CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModVec2(ImGuiStyleVar idx,ImVec2 v) +CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Vec2(ImGuiStyleVar idx,ImVec2 v) { return IM_NEW(ImGuiStyleMod)(idx,v); } @@ -3265,7 +3380,7 @@ CIMGUI_API void ImGuiStackSizes_CompareWithCurrentState(ImGuiStackSizes* self) { return self->CompareWithCurrentState(); } -CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr(void* ptr) +CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr) { return IM_NEW(ImGuiPtrOrIndex)(ptr); } @@ -3273,10 +3388,46 @@ CIMGUI_API void ImGuiPtrOrIndex_destroy(ImGuiPtrOrIndex* self) { IM_DELETE(self); } -CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndexInt(int index) +CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index) { return IM_NEW(ImGuiPtrOrIndex)(index); } +CIMGUI_API ImGuiInputEvent* ImGuiInputEvent_ImGuiInputEvent(void) +{ + return IM_NEW(ImGuiInputEvent)(); +} +CIMGUI_API void ImGuiInputEvent_destroy(ImGuiInputEvent* self) +{ + IM_DELETE(self); +} +CIMGUI_API ImGuiKeyRoutingData* ImGuiKeyRoutingData_ImGuiKeyRoutingData(void) +{ + return IM_NEW(ImGuiKeyRoutingData)(); +} +CIMGUI_API void ImGuiKeyRoutingData_destroy(ImGuiKeyRoutingData* self) +{ + IM_DELETE(self); +} +CIMGUI_API ImGuiKeyRoutingTable* ImGuiKeyRoutingTable_ImGuiKeyRoutingTable(void) +{ + return IM_NEW(ImGuiKeyRoutingTable)(); +} +CIMGUI_API void ImGuiKeyRoutingTable_destroy(ImGuiKeyRoutingTable* self) +{ + IM_DELETE(self); +} +CIMGUI_API void ImGuiKeyRoutingTable_Clear(ImGuiKeyRoutingTable* self) +{ + return self->Clear(); +} +CIMGUI_API ImGuiKeyOwnerData* ImGuiKeyOwnerData_ImGuiKeyOwnerData(void) +{ + return IM_NEW(ImGuiKeyOwnerData)(); +} +CIMGUI_API void ImGuiKeyOwnerData_destroy(ImGuiKeyOwnerData* self) +{ + IM_DELETE(self); +} CIMGUI_API ImGuiListClipperRange ImGuiListClipperRange_FromIndices(int min,int max) { return ImGuiListClipperRange::FromIndices(min,max); @@ -3493,30 +3644,18 @@ CIMGUI_API void ImGuiWindow_destroy(ImGuiWindow* self) { IM_DELETE(self); } -CIMGUI_API ImGuiID ImGuiWindow_GetIDStr(ImGuiWindow* self,const char* str,const char* str_end) +CIMGUI_API ImGuiID ImGuiWindow_GetID_Str(ImGuiWindow* self,const char* str,const char* str_end) { return self->GetID(str,str_end); } -CIMGUI_API ImGuiID ImGuiWindow_GetIDPtr(ImGuiWindow* self,const void* ptr) +CIMGUI_API ImGuiID ImGuiWindow_GetID_Ptr(ImGuiWindow* self,const void* ptr) { return self->GetID(ptr); } -CIMGUI_API ImGuiID ImGuiWindow_GetIDInt(ImGuiWindow* self,int n) +CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n) { return self->GetID(n); } -CIMGUI_API ImGuiID ImGuiWindow_GetIDNoKeepAliveStr(ImGuiWindow* self,const char* str,const char* str_end) -{ - return self->GetIDNoKeepAlive(str,str_end); -} -CIMGUI_API ImGuiID ImGuiWindow_GetIDNoKeepAlivePtr(ImGuiWindow* self,const void* ptr) -{ - return self->GetIDNoKeepAlive(ptr); -} -CIMGUI_API ImGuiID ImGuiWindow_GetIDNoKeepAliveInt(ImGuiWindow* self,int n) -{ - return self->GetIDNoKeepAlive(n); -} CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs) { return self->GetIDFromRectangle(r_abs); @@ -3577,6 +3716,14 @@ CIMGUI_API void ImGuiTableColumn_destroy(ImGuiTableColumn* self) { IM_DELETE(self); } +CIMGUI_API ImGuiTableInstanceData* ImGuiTableInstanceData_ImGuiTableInstanceData(void) +{ + return IM_NEW(ImGuiTableInstanceData)(); +} +CIMGUI_API void ImGuiTableInstanceData_destroy(ImGuiTableInstanceData* self) +{ + IM_DELETE(self); +} CIMGUI_API ImGuiTable* ImGuiTable_ImGuiTable(void) { return IM_NEW(ImGuiTable)(); @@ -3653,15 +3800,15 @@ CIMGUI_API bool igIsWindowNavFocusable(ImGuiWindow* window) { return ImGui::IsWindowNavFocusable(window); } -CIMGUI_API void igSetWindowPosWindowPtr(ImGuiWindow* window,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPos_WindowPtr(ImGuiWindow* window,const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(window,pos,cond); } -CIMGUI_API void igSetWindowSizeWindowPtr(ImGuiWindow* window,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSize_WindowPtr(ImGuiWindow* window,const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(window,size,cond); } -CIMGUI_API void igSetWindowCollapsedWindowPtr(ImGuiWindow* window,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsed_WindowPtr(ImGuiWindow* window,bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(window,collapsed,cond); } @@ -3717,17 +3864,21 @@ CIMGUI_API ImFont* igGetDefaultFont() { return ImGui::GetDefaultFont(); } -CIMGUI_API ImDrawList* igGetForegroundDrawListWindowPtr(ImGuiWindow* window) +CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window) { return ImGui::GetForegroundDrawList(window); } -CIMGUI_API void igInitialize(ImGuiContext* context) +CIMGUI_API void igInitialize() { - return ImGui::Initialize(context); + return ImGui::Initialize(); } -CIMGUI_API void igShutdown(ImGuiContext* context) +CIMGUI_API void igShutdown() { - return ImGui::Shutdown(context); + return ImGui::Shutdown(); +} +CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs) +{ + return ImGui::UpdateInputEvents(trickle_fast_inputs); } CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags() { @@ -3773,6 +3924,10 @@ CIMGUI_API void igDestroyPlatformWindow(ImGuiViewportP* viewport) { return ImGui::DestroyPlatformWindow(viewport); } +CIMGUI_API void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport) +{ + return ImGui::SetWindowViewport(window,viewport); +} CIMGUI_API void igSetCurrentViewport(ImGuiWindow* window,ImGuiViewportP* viewport) { return ImGui::SetCurrentViewport(window,viewport); @@ -3781,11 +3936,15 @@ CIMGUI_API const ImGuiPlatformMonitor* igGetViewportPlatformMonitor(ImGuiViewpor { return ImGui::GetViewportPlatformMonitor(viewport); } -CIMGUI_API void igMarkIniSettingsDirtyNil() +CIMGUI_API ImGuiViewportP* igFindHoveredViewportFromPlatformWindowStack(const ImVec2 mouse_platform_pos) +{ + return ImGui::FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos); +} +CIMGUI_API void igMarkIniSettingsDirty_Nil() { return ImGui::MarkIniSettingsDirty(); } -CIMGUI_API void igMarkIniSettingsDirtyWindowPtr(ImGuiWindow* window) +CIMGUI_API void igMarkIniSettingsDirty_WindowPtr(ImGuiWindow* window) { return ImGui::MarkIniSettingsDirty(window); } @@ -3805,27 +3964,39 @@ CIMGUI_API ImGuiWindowSettings* igFindOrCreateWindowSettings(const char* name) { return ImGui::FindOrCreateWindowSettings(name); } +CIMGUI_API void igAddSettingsHandler(const ImGuiSettingsHandler* handler) +{ + return ImGui::AddSettingsHandler(handler); +} +CIMGUI_API void igRemoveSettingsHandler(const char* type_name) +{ + return ImGui::RemoveSettingsHandler(type_name); +} CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name) { return ImGui::FindSettingsHandler(type_name); } -CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll) +CIMGUI_API void igLocalizeRegisterEntries(const ImGuiLocEntry* entries,int count) { - return ImGui::SetNextWindowScroll(scroll); + return ImGui::LocalizeRegisterEntries(entries,count); } -CIMGUI_API void igSetScrollXWindowPtr(ImGuiWindow* window,float scroll_x) +CIMGUI_API const char* igLocalizeGetMsg(ImGuiLocKey key) +{ + return ImGui::LocalizeGetMsg(key); +} +CIMGUI_API void igSetScrollX_WindowPtr(ImGuiWindow* window,float scroll_x) { return ImGui::SetScrollX(window,scroll_x); } -CIMGUI_API void igSetScrollYWindowPtr(ImGuiWindow* window,float scroll_y) +CIMGUI_API void igSetScrollY_WindowPtr(ImGuiWindow* window,float scroll_y) { return ImGui::SetScrollY(window,scroll_y); } -CIMGUI_API void igSetScrollFromPosXWindowPtr(ImGuiWindow* window,float local_x,float center_x_ratio) +CIMGUI_API void igSetScrollFromPosX_WindowPtr(ImGuiWindow* window,float local_x,float center_x_ratio) { return ImGui::SetScrollFromPosX(window,local_x,center_x_ratio); } -CIMGUI_API void igSetScrollFromPosYWindowPtr(ImGuiWindow* window,float local_y,float center_y_ratio) +CIMGUI_API void igSetScrollFromPosY_WindowPtr(ImGuiWindow* window,float local_y,float center_y_ratio) { return ImGui::SetScrollFromPosY(window,local_y,center_y_ratio); } @@ -3901,11 +4072,11 @@ CIMGUI_API ImGuiID igGetIDWithSeed(const char* str_id_begin,const char* str_id_e { return ImGui::GetIDWithSeed(str_id_begin,str_id_end,seed); } -CIMGUI_API void igItemSizeVec2(const ImVec2 size,float text_baseline_y) +CIMGUI_API void igItemSize_Vec2(const ImVec2 size,float text_baseline_y) { return ImGui::ItemSize(size,text_baseline_y); } -CIMGUI_API void igItemSizeRect(const ImRect bb,float text_baseline_y) +CIMGUI_API void igItemSize_Rect(const ImRect bb,float text_baseline_y) { return ImGui::ItemSize(bb,text_baseline_y); } @@ -3993,7 +4164,7 @@ CIMGUI_API void igClosePopupsExceptModals() { return ImGui::ClosePopupsExceptModals(); } -CIMGUI_API bool igIsPopupOpenID(ImGuiID id,ImGuiPopupFlags popup_flags) +CIMGUI_API bool igIsPopupOpen_ID(ImGuiID id,ImGuiPopupFlags popup_flags) { return ImGui::IsPopupOpen(id,popup_flags); } @@ -4085,81 +4256,149 @@ CIMGUI_API void igNavMoveRequestTryWrapping(ImGuiWindow* window,ImGuiNavMoveFlag { return ImGui::NavMoveRequestTryWrapping(window,move_flags); } -CIMGUI_API float igGetNavInputAmount(ImGuiNavInput n,ImGuiInputReadMode mode) -{ - return ImGui::GetNavInputAmount(n,mode); -} -CIMGUI_API void igGetNavInputAmount2d(ImVec2 *pOut,ImGuiNavDirSourceFlags dir_sources,ImGuiInputReadMode mode,float slow_factor,float fast_factor) -{ - *pOut = ImGui::GetNavInputAmount2d(dir_sources,mode,slow_factor,fast_factor); -} -CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate) -{ - return ImGui::CalcTypematicRepeatAmount(t0,t1,repeat_delay,repeat_rate); -} CIMGUI_API void igActivateItem(ImGuiID id) { return ImGui::ActivateItem(id); } +CIMGUI_API void igSetNavWindow(ImGuiWindow* window) +{ + return ImGui::SetNavWindow(window); +} CIMGUI_API void igSetNavID(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect rect_rel) { return ImGui::SetNavID(id,nav_layer,focus_scope_id,rect_rel); } -CIMGUI_API void igPushFocusScope(ImGuiID id) +CIMGUI_API bool igIsNamedKey(ImGuiKey key) { - return ImGui::PushFocusScope(id); + return ImGui::IsNamedKey(key); } -CIMGUI_API void igPopFocusScope() +CIMGUI_API bool igIsNamedKeyOrModKey(ImGuiKey key) { - return ImGui::PopFocusScope(); + return ImGui::IsNamedKeyOrModKey(key); } -CIMGUI_API ImGuiID igGetFocusedFocusScope() +CIMGUI_API bool igIsLegacyKey(ImGuiKey key) { - return ImGui::GetFocusedFocusScope(); + return ImGui::IsLegacyKey(key); } -CIMGUI_API ImGuiID igGetFocusScope() +CIMGUI_API bool igIsKeyboardKey(ImGuiKey key) { - return ImGui::GetFocusScope(); + return ImGui::IsKeyboardKey(key); } -CIMGUI_API void igSetItemUsingMouseWheel() +CIMGUI_API bool igIsGamepadKey(ImGuiKey key) { - return ImGui::SetItemUsingMouseWheel(); + return ImGui::IsGamepadKey(key); } -CIMGUI_API void igSetActiveIdUsingNavAndKeys() +CIMGUI_API bool igIsMouseKey(ImGuiKey key) { - return ImGui::SetActiveIdUsingNavAndKeys(); + return ImGui::IsMouseKey(key); } -CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir) +CIMGUI_API bool igIsAliasKey(ImGuiKey key) { - return ImGui::IsActiveIdUsingNavDir(dir); + return ImGui::IsAliasKey(key); } -CIMGUI_API bool igIsActiveIdUsingNavInput(ImGuiNavInput input) +CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key) { - return ImGui::IsActiveIdUsingNavInput(input); + return ImGui::ConvertSingleModFlagToKey(key); } -CIMGUI_API bool igIsActiveIdUsingKey(ImGuiKey key) +CIMGUI_API ImGuiKeyData* igGetKeyData(ImGuiKey key) { - return ImGui::IsActiveIdUsingKey(key); + return ImGui::GetKeyData(key); +} +CIMGUI_API void igGetKeyChordName(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size) +{ + return ImGui::GetKeyChordName(key_chord,out_buf,out_buf_size); +} +CIMGUI_API ImGuiKey igMouseButtonToKey(ImGuiMouseButton button) +{ + return ImGui::MouseButtonToKey(button); } CIMGUI_API bool igIsMouseDragPastThreshold(ImGuiMouseButton button,float lock_threshold) { return ImGui::IsMouseDragPastThreshold(button,lock_threshold); } -CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat) +CIMGUI_API void igGetKeyVector2d(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down) { - return ImGui::IsKeyPressedMap(key,repeat); + *pOut = ImGui::GetKeyVector2d(key_left,key_right,key_up,key_down); } -CIMGUI_API bool igIsNavInputDown(ImGuiNavInput n) +CIMGUI_API float igGetNavTweakPressedAmount(ImGuiAxis axis) { - return ImGui::IsNavInputDown(n); + return ImGui::GetNavTweakPressedAmount(axis); } -CIMGUI_API bool igIsNavInputTest(ImGuiNavInput n,ImGuiInputReadMode rm) +CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate) { - return ImGui::IsNavInputTest(n,rm); + return ImGui::CalcTypematicRepeatAmount(t0,t1,repeat_delay,repeat_rate); } -CIMGUI_API ImGuiKeyModFlags igGetMergedKeyModFlags() +CIMGUI_API void igGetTypematicRepeatRate(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate) { - return ImGui::GetMergedKeyModFlags(); + return ImGui::GetTypematicRepeatRate(flags,repeat_delay,repeat_rate); +} +CIMGUI_API void igSetActiveIdUsingAllKeyboardKeys() +{ + return ImGui::SetActiveIdUsingAllKeyboardKeys(); +} +CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir) +{ + return ImGui::IsActiveIdUsingNavDir(dir); +} +CIMGUI_API ImGuiID igGetKeyOwner(ImGuiKey key) +{ + return ImGui::GetKeyOwner(key); +} +CIMGUI_API void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags) +{ + return ImGui::SetKeyOwner(key,owner_id,flags); +} +CIMGUI_API void igSetItemKeyOwner(ImGuiKey key,ImGuiInputFlags flags) +{ + return ImGui::SetItemKeyOwner(key,flags); +} +CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id) +{ + return ImGui::TestKeyOwner(key,owner_id); +} +CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiKey key) +{ + return ImGui::GetKeyOwnerData(key); +} +CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id) +{ + return ImGui::IsKeyDown(key,owner_id); +} +CIMGUI_API bool igIsKeyPressed_ID(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags) +{ + return ImGui::IsKeyPressed(key,owner_id,flags); +} +CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id) +{ + return ImGui::IsKeyReleased(key,owner_id); +} +CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id) +{ + return ImGui::IsMouseDown(button,owner_id); +} +CIMGUI_API bool igIsMouseClicked_ID(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags) +{ + return ImGui::IsMouseClicked(button,owner_id,flags); +} +CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id) +{ + return ImGui::IsMouseReleased(button,owner_id); +} +CIMGUI_API bool igShortcut(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags) +{ + return ImGui::Shortcut(key_chord,owner_id,flags); +} +CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags) +{ + return ImGui::SetShortcutRouting(key_chord,owner_id,flags); +} +CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id) +{ + return ImGui::TestShortcutRouting(key_chord,owner_id); +} +CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord) +{ + return ImGui::GetShortcutRoutingData(key_chord); } CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx) { @@ -4205,9 +4444,13 @@ CIMGUI_API void igDockContextQueueUndockNode(ImGuiContext* ctx,ImGuiDockNode* no { return ImGui::DockContextQueueUndockNode(ctx,node); } -CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos) +CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos) { - return ImGui::DockContextCalcDropPosForDocking(target,target_node,payload,split_dir,split_outer,out_pos); + return ImGui::DockContextCalcDropPosForDocking(target,target_node,payload_window,payload_node,split_dir,split_outer,out_pos); +} +CIMGUI_API ImGuiDockNode* igDockContextFindNodeByID(ImGuiContext* ctx,ImGuiID id) +{ + return ImGui::DockContextFindNodeByID(ctx,id); } CIMGUI_API bool igDockNodeBeginAmendTabBar(ImGuiDockNode* node) { @@ -4313,6 +4556,22 @@ CIMGUI_API void igDockBuilderFinish(ImGuiID node_id) { return ImGui::DockBuilderFinish(node_id); } +CIMGUI_API void igPushFocusScope(ImGuiID id) +{ + return ImGui::PushFocusScope(id); +} +CIMGUI_API void igPopFocusScope() +{ + return ImGui::PopFocusScope(); +} +CIMGUI_API ImGuiID igGetCurrentFocusScope() +{ + return ImGui::GetCurrentFocusScope(); +} +CIMGUI_API bool igIsDragDropActive() +{ + return ImGui::IsDragDropActive(); +} CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect bb,ImGuiID id) { return ImGui::BeginDragDropTargetCustom(bb,id); @@ -4325,6 +4584,10 @@ CIMGUI_API bool igIsDragDropPayloadBeingAccepted() { return ImGui::IsDragDropPayloadBeingAccepted(); } +CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb) +{ + return ImGui::RenderDragDropTargetRect(bb); +} CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect) { return ImGui::SetWindowClipRectBeforeSetChannel(window,clip_rect); @@ -4437,10 +4700,18 @@ CIMGUI_API void igTableDrawContextMenu(ImGuiTable* table) { return ImGui::TableDrawContextMenu(table); } +CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table) +{ + return ImGui::TableBeginContextMenuPopup(table); +} CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table) { return ImGui::TableMergeDrawChannels(table); } +CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no) +{ + return ImGui::TableGetInstanceData(table,instance_no); +} CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table) { return ImGui::TableSortSpecsSanitize(table); @@ -4481,7 +4752,7 @@ CIMGUI_API void igTableGetCellBgRect(ImRect *pOut,const ImGuiTable* table,int co { *pOut = ImGui::TableGetCellBgRect(table,column_n); } -CIMGUI_API const char* igTableGetColumnNameTablePtr(const ImGuiTable* table,int column_n) +CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n) { return ImGui::TableGetColumnName(table,column_n); } @@ -4505,11 +4776,11 @@ CIMGUI_API void igTableRemove(ImGuiTable* table) { return ImGui::TableRemove(table); } -CIMGUI_API void igTableGcCompactTransientBuffersTablePtr(ImGuiTable* table) +CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table) { return ImGui::TableGcCompactTransientBuffers(table); } -CIMGUI_API void igTableGcCompactTransientBuffersTableTempDataPtr(ImGuiTableTempData* table) +CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table) { return ImGui::TableGcCompactTransientBuffers(table); } @@ -4533,9 +4804,9 @@ CIMGUI_API ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table) { return ImGui::TableGetBoundSettings(table); } -CIMGUI_API void igTableSettingsInstallHandler(ImGuiContext* context) +CIMGUI_API void igTableSettingsAddSettingsHandler() { - return ImGui::TableSettingsInstallHandler(context); + return ImGui::TableSettingsAddSettingsHandler(); } CIMGUI_API ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count) { @@ -4585,9 +4856,13 @@ CIMGUI_API bool igTabItemEx(ImGuiTabBar* tab_bar,const char* label,bool* p_open, { return ImGui::TabItemEx(tab_bar,label,p_open,flags,docked_window); } -CIMGUI_API void igTabItemCalcSize(ImVec2 *pOut,const char* label,bool has_close_button) +CIMGUI_API void igTabItemCalcSize_Str(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker) { - *pOut = ImGui::TabItemCalcSize(label,has_close_button); + *pOut = ImGui::TabItemCalcSize(label,has_close_button_or_unsaved_marker); +} +CIMGUI_API void igTabItemCalcSize_WindowPtr(ImVec2 *pOut,ImGuiWindow* window) +{ + *pOut = ImGui::TabItemCalcSize(window); } CIMGUI_API void igTabItemBackground(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImU32 col) { @@ -4637,6 +4912,10 @@ CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_e { return ImGui::FindRenderedTextEnd(text,text_end); } +CIMGUI_API void igRenderMouseCursor(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow) +{ + return ImGui::RenderMouseCursor(pos,scale,mouse_cursor,col_fill,col_border,col_shadow); +} CIMGUI_API void igRenderArrow(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale) { return ImGui::RenderArrow(draw_list,pos,col,dir,scale); @@ -4649,10 +4928,6 @@ CIMGUI_API void igRenderCheckMark(ImDrawList* draw_list,ImVec2 pos,ImU32 col,flo { return ImGui::RenderCheckMark(draw_list,pos,col,sz); } -CIMGUI_API void igRenderMouseCursor(ImDrawList* draw_list,ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow) -{ - return ImGui::RenderMouseCursor(draw_list,pos,scale,mouse_cursor,col_fill,col_border,col_shadow); -} CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col) { return ImGui::RenderArrowPointingAt(draw_list,pos,half_sz,direction,col); @@ -4665,7 +4940,7 @@ CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect rect { return ImGui::RenderRectFilledRangeH(draw_list,rect,col,x_start_norm,x_end_norm,rounding); } -CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding) +CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding) { return ImGui::RenderRectFilledWithHole(draw_list,outer,inner,col,rounding); } @@ -4701,9 +4976,9 @@ CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p { return ImGui::ScrollbarEx(bb,id,axis,p_scroll_v,avail_v,contents_v,flags); } -CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col) +CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col) { - return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col); + return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,bg_col,tint_col); } CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis) { @@ -4725,11 +5000,11 @@ CIMGUI_API void igSeparatorEx(ImGuiSeparatorFlags flags) { return ImGui::SeparatorEx(flags); } -CIMGUI_API bool igCheckboxFlagsS64Ptr(const char* label,ImS64* flags,ImS64 flags_value) +CIMGUI_API bool igCheckboxFlags_S64Ptr(const char* label,ImS64* flags,ImS64 flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igCheckboxFlagsU64Ptr(const char* label,ImU64* flags,ImU64 flags_value) +CIMGUI_API bool igCheckboxFlags_U64Ptr(const char* label,ImU64* flags,ImU64 flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } @@ -4753,14 +5028,18 @@ CIMGUI_API bool igTreeNodeBehavior(ImGuiID id,ImGuiTreeNodeFlags flags,const cha { return ImGui::TreeNodeBehavior(id,flags,label,label_end); } -CIMGUI_API bool igTreeNodeBehaviorIsOpen(ImGuiID id,ImGuiTreeNodeFlags flags) -{ - return ImGui::TreeNodeBehaviorIsOpen(id,flags); -} CIMGUI_API void igTreePushOverrideID(ImGuiID id) { return ImGui::TreePushOverrideID(id); } +CIMGUI_API void igTreeNodeSetOpen(ImGuiID id,bool open) +{ + return ImGui::TreeNodeSetOpen(id,open); +} +CIMGUI_API bool igTreeNodeUpdateNextOpen(ImGuiID id,ImGuiTreeNodeFlags flags) +{ + return ImGui::TreeNodeUpdateNextOpen(id,flags); +} CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type) { return ImGui::DataTypeGetInfo(data_type); @@ -4773,9 +5052,9 @@ CIMGUI_API void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,co { return ImGui::DataTypeApplyOp(data_type,op,output,arg_1,arg_2); } -CIMGUI_API bool igDataTypeApplyOpFromText(const char* buf,const char* initial_value_buf,ImGuiDataType data_type,void* p_data,const char* format) +CIMGUI_API bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format) { - return ImGui::DataTypeApplyOpFromText(buf,initial_value_buf,data_type,p_data,format); + return ImGui::DataTypeApplyFromText(buf,data_type,p_data,format); } CIMGUI_API int igDataTypeCompare(ImGuiDataType data_type,const void* arg_1,const void* arg_2) { @@ -4841,6 +5120,17 @@ CIMGUI_API void igGcAwakeTransientWindowBuffers(ImGuiWindow* window) { return ImGui::GcAwakeTransientWindowBuffers(window); } +CIMGUI_API void igDebugLog(const char* fmt,...) +{ + va_list args; + va_start(args, fmt); + ImGui::DebugLogV(fmt,args); + va_end(args); +} +CIMGUI_API void igDebugLogV(const char* fmt,va_list args) +{ + return ImGui::DebugLogV(fmt,args); +} CIMGUI_API void igErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback,void* user_data) { return ImGui::ErrorCheckEndFrameRecover(log_callback,user_data); @@ -4849,6 +5139,22 @@ CIMGUI_API void igErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback, { return ImGui::ErrorCheckEndWindowRecover(log_callback,user_data); } +CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries() +{ + return ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); +} +CIMGUI_API void igDebugLocateItem(ImGuiID target_id) +{ + return ImGui::DebugLocateItem(target_id); +} +CIMGUI_API void igDebugLocateItemOnHover(ImGuiID target_id) +{ + return ImGui::DebugLocateItemOnHover(target_id); +} +CIMGUI_API void igDebugLocateItemResolveWithLastItem() +{ + return ImGui::DebugLocateItemResolveWithLastItem(); +} CIMGUI_API void igDebugDrawItemRect(ImU32 col) { return ImGui::DebugDrawItemRect(col); @@ -4885,6 +5191,10 @@ CIMGUI_API void igDebugNodeFont(ImFont* font) { return ImGui::DebugNodeFont(font); } +CIMGUI_API void igDebugNodeFontGlyph(ImFont* font,const ImFontGlyph* glyph) +{ + return ImGui::DebugNodeFontGlyph(font,glyph); +} CIMGUI_API void igDebugNodeStorage(ImGuiStorage* storage,const char* label) { return ImGui::DebugNodeStorage(storage,label); @@ -4901,6 +5211,10 @@ CIMGUI_API void igDebugNodeTableSettings(ImGuiTableSettings* settings) { return ImGui::DebugNodeTableSettings(settings); } +CIMGUI_API void igDebugNodeInputTextState(ImGuiInputTextState* state) +{ + return ImGui::DebugNodeInputTextState(state); +} CIMGUI_API void igDebugNodeWindow(ImGuiWindow* window,const char* label) { return ImGui::DebugNodeWindow(window,label); @@ -4925,6 +5239,10 @@ CIMGUI_API void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewpo { return ImGui::DebugRenderViewportThumbnail(draw_list,viewport,bb); } +CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat) +{ + return ImGui::IsKeyPressedMap(key,repeat); +} CIMGUI_API const ImFontBuilderIO* igImFontAtlasGetBuilderForStbTruetype() { return ImFontAtlasGetBuilderForStbTruetype(); diff --git a/imgui-sys/third-party/imgui-docking/cimgui.h b/imgui-sys/third-party/imgui-docking/cimgui.h index 3e4a8cc..bb43c6b 100644 --- a/imgui-sys/third-party/imgui-docking/cimgui.h +++ b/imgui-sys/third-party/imgui-docking/cimgui.h @@ -1,5 +1,5 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.86" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.89.1" 18910 from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api //docking branch #ifndef CIMGUI_INCLUDED @@ -12,9 +12,6 @@ #else #define API __declspec(dllexport) #endif - #ifndef __GNUC__ - #define snprintf sprintf_s - #endif #else #ifdef __GNUC__ #define API __attribute__((__visibility__("default"))) @@ -43,96 +40,77 @@ typedef unsigned __int64 ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef struct ImGuiTableColumnSettings ImGuiTableColumnSettings; -typedef struct ImGuiTableCellData ImGuiTableCellData; -typedef struct ImGuiStackTool ImGuiStackTool; -typedef struct ImGuiStackLevelInfo ImGuiStackLevelInfo; -typedef struct ImGuiViewportP ImGuiViewportP; -typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle; -typedef struct ImGuiListClipperData ImGuiListClipperData; -typedef struct ImGuiListClipperRange ImGuiListClipperRange; -typedef struct ImGuiPtrOrIndex ImGuiPtrOrIndex; -typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem; -typedef struct ImGuiWindowStackData ImGuiWindowStackData; -typedef struct ImGuiComboPreviewData ImGuiComboPreviewData; -typedef struct ImGuiDataTypeTempStorage ImGuiDataTypeTempStorage; -typedef struct ImVec2ih ImVec2ih; -typedef struct ImVec1 ImVec1; -typedef struct StbTexteditRow StbTexteditRow; -typedef struct STB_TexteditState STB_TexteditState; -typedef struct StbUndoState StbUndoState; -typedef struct StbUndoRecord StbUndoRecord; -typedef struct ImGuiWindowSettings ImGuiWindowSettings; -typedef struct ImGuiWindowTempData ImGuiWindowTempData; -typedef struct ImGuiWindow ImGuiWindow; -typedef struct ImGuiTableColumnsSettings ImGuiTableColumnsSettings; -typedef struct ImGuiTableSettings ImGuiTableSettings; -typedef struct ImGuiTableTempData ImGuiTableTempData; -typedef struct ImGuiTableColumn ImGuiTableColumn; -typedef struct ImGuiTable ImGuiTable; -typedef struct ImGuiTabItem ImGuiTabItem; -typedef struct ImGuiTabBar ImGuiTabBar; -typedef struct ImGuiStyleMod ImGuiStyleMod; -typedef struct ImGuiStackSizes ImGuiStackSizes; -typedef struct ImGuiSettingsHandler ImGuiSettingsHandler; -typedef struct ImGuiPopupData ImGuiPopupData; -typedef struct ImGuiOldColumns ImGuiOldColumns; -typedef struct ImGuiOldColumnData ImGuiOldColumnData; -typedef struct ImGuiNextItemData ImGuiNextItemData; -typedef struct ImGuiNextWindowData ImGuiNextWindowData; -typedef struct ImGuiMetricsConfig ImGuiMetricsConfig; -typedef struct ImGuiNavItemData ImGuiNavItemData; -typedef struct ImGuiMenuColumns ImGuiMenuColumns; -typedef struct ImGuiLastItemData ImGuiLastItemData; -typedef struct ImGuiInputTextState ImGuiInputTextState; -typedef struct ImGuiGroupData ImGuiGroupData; -typedef struct ImGuiDockNodeSettings ImGuiDockNodeSettings; -typedef struct ImGuiDockNode ImGuiDockNode; -typedef struct ImGuiDockRequest ImGuiDockRequest; -typedef struct ImGuiDockContext ImGuiDockContext; -typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo; -typedef struct ImGuiContextHook ImGuiContextHook; -typedef struct ImGuiColorMod ImGuiColorMod; -typedef struct ImDrawDataBuilder ImDrawDataBuilder; -typedef struct ImRect ImRect; -typedef struct ImBitVector ImBitVector; -typedef struct ImFontAtlasCustomRect ImFontAtlasCustomRect; -typedef struct ImDrawCmdHeader ImDrawCmdHeader; -typedef struct ImGuiStoragePair ImGuiStoragePair; -typedef struct ImGuiTextRange ImGuiTextRange; -typedef struct ImVec4 ImVec4; -typedef struct ImVec2 ImVec2; -typedef struct ImGuiWindowClass ImGuiWindowClass; -typedef struct ImGuiViewport ImGuiViewport; -typedef struct ImGuiTextFilter ImGuiTextFilter; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs; -typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs; -typedef struct ImGuiStyle ImGuiStyle; -typedef struct ImGuiStorage ImGuiStorage; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiPlatformMonitor ImGuiPlatformMonitor; -typedef struct ImGuiPlatformIO ImGuiPlatformIO; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImColor ImColor; -typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder; -typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImFontBuilderIO ImFontBuilderIO; -typedef struct ImFontAtlas ImFontAtlas; -typedef struct ImFont ImFont; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawListSplitter ImDrawListSplitter; -typedef struct ImDrawListSharedData ImDrawListSharedData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawCmd ImDrawCmd; + typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawListSplitter ImDrawListSplitter; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImFont ImFont; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFontBuilderIO ImFontBuilderIO; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontGlyph ImFontGlyph; +typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder; +typedef struct ImColor ImColor; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; +typedef struct ImGuiKeyData ImGuiKeyData; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiPlatformIO ImGuiPlatformIO; +typedef struct ImGuiPlatformMonitor ImGuiPlatformMonitor; +typedef struct ImGuiPlatformImeData ImGuiPlatformImeData; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs; +typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiViewport ImGuiViewport; +typedef struct ImGuiWindowClass ImGuiWindowClass; +typedef struct ImBitVector ImBitVector; +typedef struct ImRect ImRect; +typedef struct ImDrawDataBuilder ImDrawDataBuilder; +typedef struct ImGuiColorMod ImGuiColorMod; +typedef struct ImGuiContextHook ImGuiContextHook; +typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo; +typedef struct ImGuiDockContext ImGuiDockContext; +typedef struct ImGuiDockRequest ImGuiDockRequest; +typedef struct ImGuiDockNode ImGuiDockNode; +typedef struct ImGuiDockNodeSettings ImGuiDockNodeSettings; +typedef struct ImGuiGroupData ImGuiGroupData; +typedef struct ImGuiInputTextState ImGuiInputTextState; +typedef struct ImGuiLastItemData ImGuiLastItemData; +typedef struct ImGuiLocEntry ImGuiLocEntry; +typedef struct ImGuiMenuColumns ImGuiMenuColumns; +typedef struct ImGuiNavItemData ImGuiNavItemData; +typedef struct ImGuiMetricsConfig ImGuiMetricsConfig; +typedef struct ImGuiNextWindowData ImGuiNextWindowData; +typedef struct ImGuiNextItemData ImGuiNextItemData; +typedef struct ImGuiOldColumnData ImGuiOldColumnData; +typedef struct ImGuiOldColumns ImGuiOldColumns; +typedef struct ImGuiPopupData ImGuiPopupData; +typedef struct ImGuiSettingsHandler ImGuiSettingsHandler; +typedef struct ImGuiStackSizes ImGuiStackSizes; +typedef struct ImGuiStyleMod ImGuiStyleMod; +typedef struct ImGuiTabBar ImGuiTabBar; +typedef struct ImGuiTabItem ImGuiTabItem; +typedef struct ImGuiTable ImGuiTable; +typedef struct ImGuiTableColumn ImGuiTableColumn; +typedef struct ImGuiTableInstanceData ImGuiTableInstanceData; +typedef struct ImGuiTableTempData ImGuiTableTempData; +typedef struct ImGuiTableSettings ImGuiTableSettings; +typedef struct ImGuiTableColumnsSettings ImGuiTableColumnsSettings; +typedef struct ImGuiWindow ImGuiWindow; +typedef struct ImGuiWindowTempData ImGuiWindowTempData; +typedef struct ImGuiWindowSettings ImGuiWindowSettings; +typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr; struct ImDrawChannel; struct ImDrawCmd; @@ -151,11 +129,13 @@ struct ImColor; struct ImGuiContext; struct ImGuiIO; struct ImGuiInputTextCallbackData; +struct ImGuiKeyData; struct ImGuiListClipper; struct ImGuiOnceUponAFrame; struct ImGuiPayload; struct ImGuiPlatformIO; struct ImGuiPlatformMonitor; +struct ImGuiPlatformImeData; struct ImGuiSizeCallbackData; struct ImGuiStorage; struct ImGuiStyle; @@ -169,8 +149,6 @@ typedef int ImGuiCol; typedef int ImGuiCond; typedef int ImGuiDataType; typedef int ImGuiDir; -typedef int ImGuiKey; -typedef int ImGuiNavInput; typedef int ImGuiMouseButton; typedef int ImGuiMouseCursor; typedef int ImGuiSortDirection; @@ -189,7 +167,7 @@ typedef int ImGuiDragDropFlags; typedef int ImGuiFocusedFlags; typedef int ImGuiHoveredFlags; typedef int ImGuiInputTextFlags; -typedef int ImGuiKeyModFlags; +typedef int ImGuiKeyChord; typedef int ImGuiPopupFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiSliderFlags; @@ -210,8 +188,8 @@ typedef signed short ImS16; typedef unsigned short ImU16; typedef signed int ImS32; typedef unsigned int ImU32; -typedef int64_t ImS64; -typedef uint64_t ImU64; +typedef signed long long ImS64; +typedef unsigned long long ImU64; typedef unsigned short ImWchar16; typedef unsigned int ImWchar32; typedef ImWchar32 ImWchar; @@ -219,123 +197,12 @@ typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data); typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data); -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -struct ImBitVector; -struct ImRect; -struct ImDrawDataBuilder; -struct ImDrawListSharedData; -struct ImGuiColorMod; -struct ImGuiContext; -struct ImGuiContextHook; -struct ImGuiDataTypeInfo; -struct ImGuiDockContext; -struct ImGuiDockRequest; -struct ImGuiDockNode; -struct ImGuiDockNodeSettings; -struct ImGuiGroupData; -struct ImGuiInputTextState; -struct ImGuiLastItemData; -struct ImGuiMenuColumns; -struct ImGuiNavItemData; -struct ImGuiMetricsConfig; -struct ImGuiNextWindowData; -struct ImGuiNextItemData; -struct ImGuiOldColumnData; -struct ImGuiOldColumns; -struct ImGuiPopupData; -struct ImGuiSettingsHandler; -struct ImGuiStackSizes; -struct ImGuiStyleMod; -struct ImGuiTabBar; -struct ImGuiTabItem; -struct ImGuiTable; -struct ImGuiTableColumn; -struct ImGuiTableTempData; -struct ImGuiTableSettings; -struct ImGuiTableColumnsSettings; -struct ImGuiWindow; -struct ImGuiWindowTempData; -struct ImGuiWindowSettings; -typedef int ImGuiDataAuthority; -typedef int ImGuiLayoutType; -typedef int ImGuiActivateFlags; -typedef int ImGuiItemFlags; -typedef int ImGuiItemStatusFlags; -typedef int ImGuiOldColumnFlags; -typedef int ImGuiNavHighlightFlags; -typedef int ImGuiNavDirSourceFlags; -typedef int ImGuiNavMoveFlags; -typedef int ImGuiNextItemDataFlags; -typedef int ImGuiNextWindowDataFlags; -typedef int ImGuiScrollFlags; -typedef int ImGuiSeparatorFlags; -typedef int ImGuiTextFlags; -typedef int ImGuiTooltipFlags; -typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...); -extern ImGuiContext* GImGui; -typedef FILE* ImFileHandle; -typedef int ImPoolIdx; -typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook); -typedef ImS8 ImGuiTableColumnIdx; -typedef ImU8 ImGuiTableDrawChannelIdx; -typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector; -typedef struct ImVector_ImGuiTableSettings {int Size;int Capacity;ImGuiTableSettings* Data;} ImVector_ImGuiTableSettings; -typedef struct ImChunkStream_ImGuiTableSettings {ImVector_ImGuiTableSettings Buf;} ImChunkStream_ImGuiTableSettings; -typedef struct ImVector_ImGuiWindowSettings {int Size;int Capacity;ImGuiWindowSettings* Data;} ImVector_ImGuiWindowSettings; -typedef struct ImChunkStream_ImGuiWindowSettings {ImVector_ImGuiWindowSettings Buf;} ImChunkStream_ImGuiWindowSettings; -typedef struct ImSpan_ImGuiTableCellData {ImGuiTableCellData* Data;ImGuiTableCellData* DataEnd;} ImSpan_ImGuiTableCellData; -typedef struct ImSpan_ImGuiTableColumn {ImGuiTableColumn* Data;ImGuiTableColumn* DataEnd;} ImSpan_ImGuiTableColumn; -typedef struct ImSpan_ImGuiTableColumnIdx {ImGuiTableColumnIdx* Data;ImGuiTableColumnIdx* DataEnd;} ImSpan_ImGuiTableColumnIdx; -typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel; -typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd; -typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx; -typedef struct ImVector_ImDrawListPtr {int Size;int Capacity;ImDrawList** Data;} ImVector_ImDrawListPtr; -typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert; -typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr; -typedef struct ImVector_ImFontAtlasCustomRect {int Size;int Capacity;ImFontAtlasCustomRect* Data;} ImVector_ImFontAtlasCustomRect; -typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig; -typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph; -typedef struct ImVector_ImGuiColorMod {int Size;int Capacity;ImGuiColorMod* Data;} ImVector_ImGuiColorMod; -typedef struct ImVector_ImGuiContextHook {int Size;int Capacity;ImGuiContextHook* Data;} ImVector_ImGuiContextHook; -typedef struct ImVector_ImGuiDockNodeSettings {int Size;int Capacity;ImGuiDockNodeSettings* Data;} ImVector_ImGuiDockNodeSettings; -typedef struct ImVector_ImGuiDockRequest {int Size;int Capacity;ImGuiDockRequest* Data;} ImVector_ImGuiDockRequest; -typedef struct ImVector_ImGuiGroupData {int Size;int Capacity;ImGuiGroupData* Data;} ImVector_ImGuiGroupData; -typedef struct ImVector_ImGuiID {int Size;int Capacity;ImGuiID* Data;} ImVector_ImGuiID; -typedef struct ImVector_ImGuiItemFlags {int Size;int Capacity;ImGuiItemFlags* Data;} ImVector_ImGuiItemFlags; -typedef struct ImVector_ImGuiListClipperData {int Size;int Capacity;ImGuiListClipperData* Data;} ImVector_ImGuiListClipperData; -typedef struct ImVector_ImGuiListClipperRange {int Size;int Capacity;ImGuiListClipperRange* Data;} ImVector_ImGuiListClipperRange; -typedef struct ImVector_ImGuiOldColumnData {int Size;int Capacity;ImGuiOldColumnData* Data;} ImVector_ImGuiOldColumnData; -typedef struct ImVector_ImGuiOldColumns {int Size;int Capacity;ImGuiOldColumns* Data;} ImVector_ImGuiOldColumns; -typedef struct ImVector_ImGuiPlatformMonitor {int Size;int Capacity;ImGuiPlatformMonitor* Data;} ImVector_ImGuiPlatformMonitor; -typedef struct ImVector_ImGuiPopupData {int Size;int Capacity;ImGuiPopupData* Data;} ImVector_ImGuiPopupData; -typedef struct ImVector_ImGuiPtrOrIndex {int Size;int Capacity;ImGuiPtrOrIndex* Data;} ImVector_ImGuiPtrOrIndex; -typedef struct ImVector_ImGuiSettingsHandler {int Size;int Capacity;ImGuiSettingsHandler* Data;} ImVector_ImGuiSettingsHandler; -typedef struct ImVector_ImGuiShrinkWidthItem {int Size;int Capacity;ImGuiShrinkWidthItem* Data;} ImVector_ImGuiShrinkWidthItem; -typedef struct ImVector_ImGuiStackLevelInfo {int Size;int Capacity;ImGuiStackLevelInfo* Data;} ImVector_ImGuiStackLevelInfo; -typedef struct ImVector_ImGuiStoragePair {int Size;int Capacity;ImGuiStoragePair* Data;} ImVector_ImGuiStoragePair; -typedef struct ImVector_ImGuiStyleMod {int Size;int Capacity;ImGuiStyleMod* Data;} ImVector_ImGuiStyleMod; -typedef struct ImVector_ImGuiTabItem {int Size;int Capacity;ImGuiTabItem* Data;} ImVector_ImGuiTabItem; -typedef struct ImVector_ImGuiTableColumnSortSpecs {int Size;int Capacity;ImGuiTableColumnSortSpecs* Data;} ImVector_ImGuiTableColumnSortSpecs; -typedef struct ImVector_ImGuiTableTempData {int Size;int Capacity;ImGuiTableTempData* Data;} ImVector_ImGuiTableTempData; -typedef struct ImVector_ImGuiTextRange {int Size;int Capacity;ImGuiTextRange* Data;} ImVector_ImGuiTextRange; -typedef struct ImVector_ImGuiViewportPtr {int Size;int Capacity;ImGuiViewport** Data;} ImVector_ImGuiViewportPtr; -typedef struct ImVector_ImGuiViewportPPtr {int Size;int Capacity;ImGuiViewportP** Data;} ImVector_ImGuiViewportPPtr; -typedef struct ImVector_ImGuiWindowPtr {int Size;int Capacity;ImGuiWindow** Data;} ImVector_ImGuiWindowPtr; -typedef struct ImVector_ImGuiWindowStackData {int Size;int Capacity;ImGuiWindowStackData* Data;} ImVector_ImGuiWindowStackData; -typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID; -typedef struct ImVector_ImU32 {int Size;int Capacity;ImU32* Data;} ImVector_ImU32; -typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2; -typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4; -typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar; -typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char; -typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr; -typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float; -typedef struct ImVector_unsigned_char {int Size;int Capacity;unsigned char* Data;} ImVector_unsigned_char; - +typedef struct ImVec2 ImVec2; struct ImVec2 { float x, y; }; +typedef struct ImVec4 ImVec4; struct ImVec4 { float x, y, z, w; @@ -372,7 +239,7 @@ typedef enum { ImGuiWindowFlags_Popup = 1 << 26, ImGuiWindowFlags_Modal = 1 << 27, ImGuiWindowFlags_ChildMenu = 1 << 28, - ImGuiWindowFlags_DockNodeHost = 1 << 29 + ImGuiWindowFlags_DockNodeHost = 1 << 29, }ImGuiWindowFlags_; typedef enum { ImGuiInputTextFlags_None = 0, @@ -395,7 +262,8 @@ typedef enum { ImGuiInputTextFlags_NoUndoRedo = 1 << 16, ImGuiInputTextFlags_CharsScientific = 1 << 17, ImGuiInputTextFlags_CallbackResize = 1 << 18, - ImGuiInputTextFlags_CallbackEdit = 1 << 19 + ImGuiInputTextFlags_CallbackEdit = 1 << 19, + ImGuiInputTextFlags_EscapeClearsAll = 1 << 20, }ImGuiInputTextFlags_; typedef enum { ImGuiTreeNodeFlags_None = 0, @@ -413,7 +281,7 @@ typedef enum { ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11, ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12, ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog, }ImGuiTreeNodeFlags_; typedef enum { ImGuiPopupFlags_None = 0, @@ -426,7 +294,7 @@ typedef enum { ImGuiPopupFlags_NoOpenOverItems = 1 << 6, ImGuiPopupFlags_AnyPopupId = 1 << 7, ImGuiPopupFlags_AnyPopupLevel = 1 << 8, - ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, }ImGuiPopupFlags_; typedef enum { ImGuiSelectableFlags_None = 0, @@ -434,7 +302,7 @@ typedef enum { ImGuiSelectableFlags_SpanAllColumns = 1 << 1, ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, ImGuiSelectableFlags_Disabled = 1 << 3, - ImGuiSelectableFlags_AllowItemOverlap = 1 << 4 + ImGuiSelectableFlags_AllowItemOverlap = 1 << 4, }ImGuiSelectableFlags_; typedef enum { ImGuiComboFlags_None = 0, @@ -445,7 +313,7 @@ typedef enum { ImGuiComboFlags_HeightLargest = 1 << 4, ImGuiComboFlags_NoArrowButton = 1 << 5, ImGuiComboFlags_NoPreview = 1 << 6, - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest, }ImGuiComboFlags_; typedef enum { ImGuiTabBarFlags_None = 0, @@ -458,7 +326,7 @@ typedef enum { ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 6, ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7, ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll, - ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown + ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown, }ImGuiTabBarFlags_; typedef enum { ImGuiTabItemFlags_None = 0, @@ -469,7 +337,7 @@ typedef enum { ImGuiTabItemFlags_NoTooltip = 1 << 4, ImGuiTabItemFlags_NoReorder = 1 << 5, ImGuiTabItemFlags_Leading = 1 << 6, - ImGuiTabItemFlags_Trailing = 1 << 7 + ImGuiTabItemFlags_Trailing = 1 << 7, }ImGuiTabItemFlags_; typedef enum { ImGuiTableFlags_None = 0, @@ -507,7 +375,7 @@ typedef enum { ImGuiTableFlags_ScrollY = 1 << 25, ImGuiTableFlags_SortMulti = 1 << 26, ImGuiTableFlags_SortTristate = 1 << 27, - ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame + ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame, }ImGuiTableFlags_; typedef enum { ImGuiTableColumnFlags_None = 0, @@ -536,17 +404,17 @@ typedef enum { ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed, ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable, ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered, - ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30 + ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30, }ImGuiTableColumnFlags_; typedef enum { ImGuiTableRowFlags_None = 0, - ImGuiTableRowFlags_Headers = 1 << 0 + ImGuiTableRowFlags_Headers = 1 << 0, }ImGuiTableRowFlags_; typedef enum { ImGuiTableBgTarget_None = 0, ImGuiTableBgTarget_RowBg0 = 1, ImGuiTableBgTarget_RowBg1 = 2, - ImGuiTableBgTarget_CellBg = 3 + ImGuiTableBgTarget_CellBg = 3, }ImGuiTableBgTarget_; typedef enum { ImGuiFocusedFlags_None = 0, @@ -555,7 +423,7 @@ typedef enum { ImGuiFocusedFlags_AnyWindow = 1 << 2, ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3, ImGuiFocusedFlags_DockHierarchy = 1 << 4, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows, }ImGuiFocusedFlags_; typedef enum { ImGuiHoveredFlags_None = 0, @@ -568,8 +436,12 @@ typedef enum { ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7, ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 8, ImGuiHoveredFlags_AllowWhenDisabled = 1 << 9, + ImGuiHoveredFlags_NoNavOverride = 1 << 10, ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows, + ImGuiHoveredFlags_DelayNormal = 1 << 11, + ImGuiHoveredFlags_DelayShort = 1 << 12, + ImGuiHoveredFlags_NoSharedDelay = 1 << 13, }ImGuiHoveredFlags_; typedef enum { ImGuiDockNodeFlags_None = 0, @@ -578,7 +450,7 @@ typedef enum { ImGuiDockNodeFlags_PassthruCentralNode = 1 << 3, ImGuiDockNodeFlags_NoSplit = 1 << 4, ImGuiDockNodeFlags_NoResize = 1 << 5, - ImGuiDockNodeFlags_AutoHideTabBar = 1 << 6 + ImGuiDockNodeFlags_AutoHideTabBar = 1 << 6, }ImGuiDockNodeFlags_; typedef enum { ImGuiDragDropFlags_None = 0, @@ -591,7 +463,7 @@ typedef enum { ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, }ImGuiDragDropFlags_; typedef enum { ImGuiDataType_S8, @@ -620,61 +492,166 @@ typedef enum { ImGuiSortDirection_Descending = 2 }ImGuiSortDirection_; typedef enum { - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_KeyPadEnter, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, - ImGuiKey_COUNT -}ImGuiKey_; +ImGuiKey_None=0, +ImGuiKey_Tab=512, +ImGuiKey_LeftArrow=513, +ImGuiKey_RightArrow=514, +ImGuiKey_UpArrow=515, +ImGuiKey_DownArrow=516, +ImGuiKey_PageUp=517, +ImGuiKey_PageDown=518, +ImGuiKey_Home=519, +ImGuiKey_End=520, +ImGuiKey_Insert=521, +ImGuiKey_Delete=522, +ImGuiKey_Backspace=523, +ImGuiKey_Space=524, +ImGuiKey_Enter=525, +ImGuiKey_Escape=526, +ImGuiKey_LeftCtrl=527, +ImGuiKey_LeftShift=528, +ImGuiKey_LeftAlt=529, +ImGuiKey_LeftSuper=530, +ImGuiKey_RightCtrl=531, +ImGuiKey_RightShift=532, +ImGuiKey_RightAlt=533, +ImGuiKey_RightSuper=534, +ImGuiKey_Menu=535, +ImGuiKey_0=536, +ImGuiKey_1=537, +ImGuiKey_2=538, +ImGuiKey_3=539, +ImGuiKey_4=540, +ImGuiKey_5=541, +ImGuiKey_6=542, +ImGuiKey_7=543, +ImGuiKey_8=544, +ImGuiKey_9=545, +ImGuiKey_A=546, +ImGuiKey_B=547, +ImGuiKey_C=548, +ImGuiKey_D=549, +ImGuiKey_E=550, +ImGuiKey_F=551, +ImGuiKey_G=552, +ImGuiKey_H=553, +ImGuiKey_I=554, +ImGuiKey_J=555, +ImGuiKey_K=556, +ImGuiKey_L=557, +ImGuiKey_M=558, +ImGuiKey_N=559, +ImGuiKey_O=560, +ImGuiKey_P=561, +ImGuiKey_Q=562, +ImGuiKey_R=563, +ImGuiKey_S=564, +ImGuiKey_T=565, +ImGuiKey_U=566, +ImGuiKey_V=567, +ImGuiKey_W=568, +ImGuiKey_X=569, +ImGuiKey_Y=570, +ImGuiKey_Z=571, +ImGuiKey_F1=572, +ImGuiKey_F2=573, +ImGuiKey_F3=574, +ImGuiKey_F4=575, +ImGuiKey_F5=576, +ImGuiKey_F6=577, +ImGuiKey_F7=578, +ImGuiKey_F8=579, +ImGuiKey_F9=580, +ImGuiKey_F10=581, +ImGuiKey_F11=582, +ImGuiKey_F12=583, +ImGuiKey_Apostrophe=584, +ImGuiKey_Comma=585, +ImGuiKey_Minus=586, +ImGuiKey_Period=587, +ImGuiKey_Slash=588, +ImGuiKey_Semicolon=589, +ImGuiKey_Equal=590, +ImGuiKey_LeftBracket=591, +ImGuiKey_Backslash=592, +ImGuiKey_RightBracket=593, +ImGuiKey_GraveAccent=594, +ImGuiKey_CapsLock=595, +ImGuiKey_ScrollLock=596, +ImGuiKey_NumLock=597, +ImGuiKey_PrintScreen=598, +ImGuiKey_Pause=599, +ImGuiKey_Keypad0=600, +ImGuiKey_Keypad1=601, +ImGuiKey_Keypad2=602, +ImGuiKey_Keypad3=603, +ImGuiKey_Keypad4=604, +ImGuiKey_Keypad5=605, +ImGuiKey_Keypad6=606, +ImGuiKey_Keypad7=607, +ImGuiKey_Keypad8=608, +ImGuiKey_Keypad9=609, +ImGuiKey_KeypadDecimal=610, +ImGuiKey_KeypadDivide=611, +ImGuiKey_KeypadMultiply=612, +ImGuiKey_KeypadSubtract=613, +ImGuiKey_KeypadAdd=614, +ImGuiKey_KeypadEnter=615, +ImGuiKey_KeypadEqual=616, +ImGuiKey_GamepadStart=617, +ImGuiKey_GamepadBack=618, +ImGuiKey_GamepadFaceLeft=619, +ImGuiKey_GamepadFaceRight=620, +ImGuiKey_GamepadFaceUp=621, +ImGuiKey_GamepadFaceDown=622, +ImGuiKey_GamepadDpadLeft=623, +ImGuiKey_GamepadDpadRight=624, +ImGuiKey_GamepadDpadUp=625, +ImGuiKey_GamepadDpadDown=626, +ImGuiKey_GamepadL1=627, +ImGuiKey_GamepadR1=628, +ImGuiKey_GamepadL2=629, +ImGuiKey_GamepadR2=630, +ImGuiKey_GamepadL3=631, +ImGuiKey_GamepadR3=632, +ImGuiKey_GamepadLStickLeft=633, +ImGuiKey_GamepadLStickRight=634, +ImGuiKey_GamepadLStickUp=635, +ImGuiKey_GamepadLStickDown=636, +ImGuiKey_GamepadRStickLeft=637, +ImGuiKey_GamepadRStickRight=638, +ImGuiKey_GamepadRStickUp=639, +ImGuiKey_GamepadRStickDown=640, +ImGuiKey_MouseLeft=641, +ImGuiKey_MouseRight=642, +ImGuiKey_MouseMiddle=643, +ImGuiKey_MouseX1=644, +ImGuiKey_MouseX2=645, +ImGuiKey_MouseWheelX=646, +ImGuiKey_MouseWheelY=647, +ImGuiKey_ReservedForModCtrl=648, +ImGuiKey_ReservedForModShift=649, +ImGuiKey_ReservedForModAlt=650, +ImGuiKey_ReservedForModSuper=651, +ImGuiKey_COUNT=652, +ImGuiMod_None=0, +ImGuiMod_Ctrl=1 << 12, +ImGuiMod_Shift=1 << 13, +ImGuiMod_Alt=1 << 14, +ImGuiMod_Super=1 << 15, +ImGuiMod_Mask_=0xF000, +ImGuiMod_Shortcut=ImGuiMod_Ctrl, +ImGuiKey_NamedKey_BEGIN=512, +ImGuiKey_NamedKey_END=ImGuiKey_COUNT, +ImGuiKey_NamedKey_COUNT=ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN, +ImGuiKey_KeysData_SIZE=ImGuiKey_COUNT, +ImGuiKey_KeysData_OFFSET=0, +}ImGuiKey; typedef enum { - ImGuiKeyModFlags_None = 0, - ImGuiKeyModFlags_Ctrl = 1 << 0, - ImGuiKeyModFlags_Shift = 1 << 1, - ImGuiKeyModFlags_Alt = 1 << 2, - ImGuiKeyModFlags_Super = 1 << 3 -}ImGuiKeyModFlags_; -typedef enum { - ImGuiNavInput_Activate, - ImGuiNavInput_Cancel, - ImGuiNavInput_Input, - ImGuiNavInput_Menu, - ImGuiNavInput_DpadLeft, - ImGuiNavInput_DpadRight, - ImGuiNavInput_DpadUp, - ImGuiNavInput_DpadDown, - ImGuiNavInput_LStickLeft, - ImGuiNavInput_LStickRight, - ImGuiNavInput_LStickUp, - ImGuiNavInput_LStickDown, - ImGuiNavInput_FocusPrev, - ImGuiNavInput_FocusNext, - ImGuiNavInput_TweakSlow, - ImGuiNavInput_TweakFast, - ImGuiNavInput_KeyLeft_, - ImGuiNavInput_KeyRight_, - ImGuiNavInput_KeyUp_, - ImGuiNavInput_KeyDown_, + ImGuiNavInput_Activate, ImGuiNavInput_Cancel, ImGuiNavInput_Input, ImGuiNavInput_Menu, ImGuiNavInput_DpadLeft, ImGuiNavInput_DpadRight, ImGuiNavInput_DpadUp, ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, ImGuiNavInput_LStickRight, ImGuiNavInput_LStickUp, ImGuiNavInput_LStickDown, ImGuiNavInput_FocusPrev, ImGuiNavInput_FocusNext, ImGuiNavInput_TweakSlow, ImGuiNavInput_TweakFast, ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyLeft_ -}ImGuiNavInput_; +}ImGuiNavInput; typedef enum { ImGuiConfigFlags_None = 0, ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, @@ -688,7 +665,7 @@ typedef enum { ImGuiConfigFlags_DpiEnableScaleViewports= 1 << 14, ImGuiConfigFlags_DpiEnableScaleFonts = 1 << 15, ImGuiConfigFlags_IsSRGB = 1 << 20, - ImGuiConfigFlags_IsTouchScreen = 1 << 21 + ImGuiConfigFlags_IsTouchScreen = 1 << 21, }ImGuiConfigFlags_; typedef enum { ImGuiBackendFlags_None = 0, @@ -698,7 +675,7 @@ typedef enum { ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3, ImGuiBackendFlags_PlatformHasViewports = 1 << 10, ImGuiBackendFlags_HasMouseHoveredViewport=1 << 11, - ImGuiBackendFlags_RendererHasViewports = 1 << 12 + ImGuiBackendFlags_RendererHasViewports = 1 << 12, }ImGuiBackendFlags_; typedef enum { ImGuiCol_Text, @@ -792,7 +769,7 @@ typedef enum { ImGuiButtonFlags_MouseButtonRight = 1 << 1, ImGuiButtonFlags_MouseButtonMiddle = 1 << 2, ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle, - ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft + ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft, }ImGuiButtonFlags_; typedef enum { ImGuiColorEditFlags_None = 0, @@ -823,7 +800,7 @@ typedef enum { ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex, ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float, ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV + ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV, }ImGuiColorEditFlags_; typedef enum { ImGuiSliderFlags_None = 0, @@ -831,7 +808,7 @@ typedef enum { ImGuiSliderFlags_Logarithmic = 1 << 5, ImGuiSliderFlags_NoRoundToFormat = 1 << 6, ImGuiSliderFlags_NoInput = 1 << 7, - ImGuiSliderFlags_InvalidMask_ = 0x7000000F + ImGuiSliderFlags_InvalidMask_ = 0x7000000F, }ImGuiSliderFlags_; typedef enum { ImGuiMouseButton_Left = 0, @@ -857,7 +834,7 @@ typedef enum { ImGuiCond_Always = 1 << 0, ImGuiCond_Once = 1 << 1, ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 + ImGuiCond_Appearing = 1 << 3, }ImGuiCond_; struct ImGuiStyle { @@ -903,6 +880,15 @@ struct ImGuiStyle float CircleTessellationMaxError; ImVec4 Colors[ImGuiCol_COUNT]; }; +struct ImGuiKeyData +{ + bool Down; + float DownDuration; + float DownDurationPrev; + float AnalogValue; +}; +typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar; + struct ImGuiIO { ImGuiConfigFlags ConfigFlags; @@ -915,9 +901,10 @@ struct ImGuiIO float MouseDoubleClickTime; float MouseDoubleClickMaxDist; float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; float KeyRepeatDelay; float KeyRepeatRate; + float HoverDelayNormal; + float HoverDelayShort; void* UserData; ImFontAtlas*Fonts; float FontGlobalScale; @@ -934,7 +921,9 @@ struct ImGuiIO bool ConfigViewportsNoDefaultParent; bool MouseDrawCursor; bool ConfigMacOSXBehaviors; + bool ConfigInputTrickleEventQueue; bool ConfigInputTextCursorBlink; + bool ConfigInputTextEnterKeepActive; bool ConfigDragClickToInputText; bool ConfigWindowsResizeFromEdges; bool ConfigWindowsMoveFromTitleBarOnly; @@ -947,17 +936,8 @@ struct ImGuiIO const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; - ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - ImGuiID MouseHoveredViewport; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - float NavInputs[ImGuiNavInput_COUNT]; + void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data); + void* _UnusedPadding; bool WantCaptureMouse; bool WantCaptureKeyboard; bool WantTextInput; @@ -972,9 +952,21 @@ struct ImGuiIO int MetricsActiveWindows; int MetricsActiveAllocations; ImVec2 MouseDelta; + int KeyMap[ImGuiKey_COUNT]; + bool KeysDown[ImGuiKey_COUNT]; + float NavInputs[ImGuiNavInput_COUNT]; + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + ImGuiID MouseHoveredViewport; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + ImGuiKeyChord KeyMods; + ImGuiKeyData KeysData[ImGuiKey_KeysData_SIZE]; bool WantCaptureMouseUnlessPopupClose; - ImGuiKeyModFlags KeyMods; - ImGuiKeyModFlags KeyModsPrev; ImVec2 MousePosPrev; ImVec2 MouseClickedPos[5]; double MouseClickedTime[5]; @@ -989,12 +981,11 @@ struct ImGuiIO float MouseDownDurationPrev[5]; ImVec2 MouseDragMaxDistanceAbs[5]; float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; float PenPressure; bool AppFocusLost; + bool AppAcceptingEvents; + ImS8 BackendUsingLegacyKeyArrays; + bool BackendUsingLegacyNavInputArray; ImWchar16 InputQueueSurrogate; ImVector_ImWchar InputQueueCharacters; }; @@ -1064,12 +1055,19 @@ struct ImGuiTextRange const char* b; const char* e; }; +typedef struct ImGuiTextRange ImGuiTextRange; + +typedef struct ImVector_ImGuiTextRange {int Size;int Capacity;ImGuiTextRange* Data;} ImVector_ImGuiTextRange; + struct ImGuiTextFilter { char InputBuf[256]; ImVector_ImGuiTextRange Filters; int CountGrep; }; +typedef struct ImGuiTextRange ImGuiTextRange; +typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char; + struct ImGuiTextBuffer { ImVector_char Buf; @@ -1079,14 +1077,15 @@ struct ImGuiStoragePair ImGuiID key; union { int val_i; float val_f; void* val_p; }; }; +typedef struct ImGuiStoragePair ImGuiStoragePair; + +typedef struct ImVector_ImGuiStoragePair {int Size;int Capacity;ImGuiStoragePair* Data;} ImVector_ImGuiStoragePair; + struct ImGuiStorage { ImVector_ImGuiStoragePair Data; }; -typedef struct ImVector_ImGuiTabBar {int Size;int Capacity;ImGuiTabBar* Data;} ImVector_ImGuiTabBar; -typedef struct ImPool_ImGuiTabBar {ImVector_ImGuiTabBar Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;} ImPool_ImGuiTabBar; -typedef struct ImVector_ImGuiTable {int Size;int Capacity;ImGuiTable* Data;} ImVector_ImGuiTable; -typedef struct ImPool_ImGuiTable {ImVector_ImGuiTable Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;} ImPool_ImGuiTable; +typedef struct ImGuiStoragePair ImGuiStoragePair; struct ImGuiListClipper { int DisplayStart; @@ -1100,6 +1099,7 @@ struct ImColor { ImVec4 Value; }; +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); struct ImDrawCmd { ImVec4 ClipRect; @@ -1116,17 +1116,24 @@ struct ImDrawVert ImVec2 uv; ImU32 col; }; +typedef struct ImDrawCmdHeader ImDrawCmdHeader; struct ImDrawCmdHeader { ImVec4 ClipRect; ImTextureID TextureId; unsigned int VtxOffset; }; +typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd; + +typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx; + struct ImDrawChannel { ImVector_ImDrawCmd _CmdBuffer; ImVector_ImDrawIdx _IdxBuffer; }; +typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel; + struct ImDrawListSplitter { int _Current; @@ -1147,15 +1154,23 @@ typedef enum { ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight, ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, - ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone + ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, }ImDrawFlags_; typedef enum { ImDrawListFlags_None = 0, ImDrawListFlags_AntiAliasedLines = 1 << 0, ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, ImDrawListFlags_AntiAliasedFill = 1 << 2, - ImDrawListFlags_AllowVtxOffset = 1 << 3 + ImDrawListFlags_AllowVtxOffset = 1 << 3, }ImDrawListFlags_; +typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert; + +typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4; + +typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID; + +typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2; + struct ImDrawList { ImVector_ImDrawCmd CmdBuffer; @@ -1163,7 +1178,7 @@ struct ImDrawList ImVector_ImDrawVert VtxBuffer; ImDrawListFlags Flags; unsigned int _VtxCurrentIdx; - const ImDrawListSharedData* _Data; + ImDrawListSharedData* _Data; const char* _OwnerName; ImDrawVert* _VtxWritePtr; ImDrawIdx* _IdxWritePtr; @@ -1217,10 +1232,13 @@ struct ImFontGlyph float X0, Y0, X1, Y1; float U0, V0, U1, V1; }; +typedef struct ImVector_ImU32 {int Size;int Capacity;ImU32* Data;} ImVector_ImU32; + struct ImFontGlyphRangesBuilder { ImVector_ImU32 UsedChars; }; +typedef struct ImFontAtlasCustomRect ImFontAtlasCustomRect; struct ImFontAtlasCustomRect { unsigned short Width, Height; @@ -1234,8 +1252,14 @@ typedef enum { ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, ImFontAtlasFlags_NoMouseCursors = 1 << 1, - ImFontAtlasFlags_NoBakedLines = 1 << 2 + ImFontAtlasFlags_NoBakedLines = 1 << 2, }ImFontAtlasFlags_; +typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr; + +typedef struct ImVector_ImFontAtlasCustomRect {int Size;int Capacity;ImFontAtlasCustomRect* Data;} ImVector_ImFontAtlasCustomRect; + +typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig; + struct ImFontAtlas { ImFontAtlasFlags Flags; @@ -1260,6 +1284,10 @@ struct ImFontAtlas int PackIdMouseCursors; int PackIdLines; }; +typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float; + +typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph; + struct ImFont { ImVector_float IndexAdvanceX; @@ -1294,7 +1322,7 @@ typedef enum { ImGuiViewportFlags_TopMost = 1 << 9, ImGuiViewportFlags_Minimized = 1 << 10, ImGuiViewportFlags_NoAutoMerge = 1 << 11, - ImGuiViewportFlags_CanHostOtherWindows = 1 << 12 + ImGuiViewportFlags_CanHostOtherWindows = 1 << 12, }ImGuiViewportFlags_; struct ImGuiViewport { @@ -1311,10 +1339,15 @@ struct ImGuiViewport void* PlatformUserData; void* PlatformHandle; void* PlatformHandleRaw; + bool PlatformWindowCreated; bool PlatformRequestMove; bool PlatformRequestResize; bool PlatformRequestClose; }; +typedef struct ImVector_ImGuiPlatformMonitor {int Size;int Capacity;ImGuiPlatformMonitor* Data;} ImVector_ImGuiPlatformMonitor; + +typedef struct ImVector_ImGuiViewportPtr {int Size;int Capacity;ImGuiViewport** Data;} ImVector_ImGuiViewportPtr; + struct ImGuiPlatformIO { void (*Platform_CreateWindow)(ImGuiViewport* vp); @@ -1334,7 +1367,6 @@ struct ImGuiPlatformIO void (*Platform_SwapBuffers)(ImGuiViewport* vp, void* render_arg); float (*Platform_GetWindowDpiScale)(ImGuiViewport* vp); void (*Platform_OnChangedViewport)(ImGuiViewport* vp); - void (*Platform_SetImeInputPos)(ImGuiViewport* vp, ImVec2 pos); int (*Platform_CreateVkSurface)(ImGuiViewport* vp, ImU64 vk_inst, const void* vk_allocators, ImU64* out_vk_surface); void (*Renderer_CreateWindow)(ImGuiViewport* vp); void (*Renderer_DestroyWindow)(ImGuiViewport* vp); @@ -1350,6 +1382,69 @@ struct ImGuiPlatformMonitor ImVec2 WorkPos, WorkSize; float DpiScale; }; +struct ImGuiPlatformImeData +{ + bool WantVisible; + ImVec2 InputPos; + float InputLineHeight; +}; +struct ImBitVector; +struct ImRect; +struct ImDrawDataBuilder; +struct ImDrawListSharedData; +struct ImGuiColorMod; +struct ImGuiContext; +struct ImGuiContextHook; +struct ImGuiDataTypeInfo; +struct ImGuiDockContext; +struct ImGuiDockRequest; +struct ImGuiDockNode; +struct ImGuiDockNodeSettings; +struct ImGuiGroupData; +struct ImGuiInputTextState; +struct ImGuiLastItemData; +struct ImGuiLocEntry; +struct ImGuiMenuColumns; +struct ImGuiNavItemData; +struct ImGuiMetricsConfig; +struct ImGuiNextWindowData; +struct ImGuiNextItemData; +struct ImGuiOldColumnData; +struct ImGuiOldColumns; +struct ImGuiPopupData; +struct ImGuiSettingsHandler; +struct ImGuiStackSizes; +struct ImGuiStyleMod; +struct ImGuiTabBar; +struct ImGuiTabItem; +struct ImGuiTable; +struct ImGuiTableColumn; +struct ImGuiTableInstanceData; +struct ImGuiTableTempData; +struct ImGuiTableSettings; +struct ImGuiTableColumnsSettings; +struct ImGuiWindow; +struct ImGuiWindowTempData; +struct ImGuiWindowSettings; +typedef int ImGuiDataAuthority; +typedef int ImGuiLayoutType; +typedef int ImGuiActivateFlags; +typedef int ImGuiDebugLogFlags; +typedef int ImGuiInputFlags; +typedef int ImGuiItemFlags; +typedef int ImGuiItemStatusFlags; +typedef int ImGuiOldColumnFlags; +typedef int ImGuiNavHighlightFlags; +typedef int ImGuiNavMoveFlags; +typedef int ImGuiNextItemDataFlags; +typedef int ImGuiNextWindowDataFlags; +typedef int ImGuiScrollFlags; +typedef int ImGuiSeparatorFlags; +typedef int ImGuiTextFlags; +typedef int ImGuiTooltipFlags; +typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...); +extern ImGuiContext* GImGui; +typedef struct StbUndoRecord StbUndoRecord; struct StbUndoRecord { int where; @@ -1357,6 +1452,7 @@ struct StbUndoRecord int delete_length; int char_storage; }; +typedef struct StbUndoState StbUndoState; struct StbUndoState { StbUndoRecord undo_rec [99]; @@ -1364,6 +1460,7 @@ struct StbUndoState short undo_point, redo_point; int undo_char_point, redo_char_point; }; +typedef struct STB_TexteditState STB_TexteditState; struct STB_TexteditState { int cursor; @@ -1379,6 +1476,7 @@ struct STB_TexteditState float preferred_x; StbUndoState undostate; }; +typedef struct StbTexteditRow StbTexteditRow; struct StbTexteditRow { float x0,x1; @@ -1386,10 +1484,13 @@ struct StbTexteditRow float ymin,ymax; int num_chars; }; +typedef FILE* ImFileHandle; +typedef struct ImVec1 ImVec1; struct ImVec1 { float x; }; +typedef struct ImVec2ih ImVec2ih; struct ImVec2ih { short x, y; @@ -1403,6 +1504,15 @@ struct ImBitVector { ImVector_ImU32 Storage; }; +typedef int ImPoolIdx; +typedef struct ImGuiTextIndex ImGuiTextIndex; +typedef struct ImVector_int {int Size;int Capacity;int* Data;} ImVector_int; + +struct ImGuiTextIndex +{ + ImVector_int LineOffsets; + int EndOffset; +}; struct ImDrawListSharedData { ImVec2 TexUvWhitePixel; @@ -1412,11 +1522,14 @@ struct ImDrawListSharedData float CircleSegmentMaxError; ImVec4 ClipRectFullscreen; ImDrawListFlags InitialFlags; + ImVector_ImVec2 TempBuffer; ImVec2 ArcFastVtx[48]; float ArcFastRadiusCutoff; ImU8 CircleSegmentCounts[64]; const ImVec4* TexUvLines; }; +typedef struct ImVector_ImDrawListPtr {int Size;int Capacity;ImDrawList** Data;} ImVector_ImDrawListPtr; + struct ImDrawDataBuilder { ImVector_ImDrawListPtr Layers[2]; @@ -1431,7 +1544,8 @@ typedef enum { ImGuiItemFlags_SelectableDontClosePopup = 1 << 5, ImGuiItemFlags_MixedValue = 1 << 6, ImGuiItemFlags_ReadOnly = 1 << 7, - ImGuiItemFlags_Inputable = 1 << 8 + ImGuiItemFlags_NoWindowHoverableCheck = 1 << 8, + ImGuiItemFlags_Inputable = 1 << 10, }ImGuiItemFlags_; typedef enum { ImGuiItemStatusFlags_None = 0, @@ -1443,12 +1557,13 @@ typedef enum { ImGuiItemStatusFlags_HasDeactivated = 1 << 5, ImGuiItemStatusFlags_Deactivated = 1 << 6, ImGuiItemStatusFlags_HoveredWindow = 1 << 7, - ImGuiItemStatusFlags_FocusedByTabbing = 1 << 8 + ImGuiItemStatusFlags_FocusedByTabbing = 1 << 8, + ImGuiItemStatusFlags_Visible = 1 << 9, }ImGuiItemStatusFlags_; typedef enum { ImGuiInputTextFlags_Multiline = 1 << 26, ImGuiInputTextFlags_NoMarkEdited = 1 << 27, - ImGuiInputTextFlags_MergedItem = 1 << 28 + ImGuiInputTextFlags_MergedItem = 1 << 28, }ImGuiInputTextFlagsPrivate_; typedef enum { ImGuiButtonFlags_PressedOnClick = 1 << 4, @@ -1466,15 +1581,17 @@ typedef enum { ImGuiButtonFlags_NoHoldingActiveId = 1 << 17, ImGuiButtonFlags_NoNavFocus = 1 << 18, ImGuiButtonFlags_NoHoveredOnFocus = 1 << 19, + ImGuiButtonFlags_NoSetKeyOwner = 1 << 20, + ImGuiButtonFlags_NoTestKeyOwner = 1 << 21, ImGuiButtonFlags_PressedOnMask_ = ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold, - ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease + ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease, }ImGuiButtonFlagsPrivate_; typedef enum { - ImGuiComboFlags_CustomPreview = 1 << 20 + ImGuiComboFlags_CustomPreview = 1 << 20, }ImGuiComboFlagsPrivate_; typedef enum { ImGuiSliderFlags_Vertical = 1 << 20, - ImGuiSliderFlags_ReadOnly = 1 << 21 + ImGuiSliderFlags_ReadOnly = 1 << 21, }ImGuiSliderFlagsPrivate_; typedef enum { ImGuiSelectableFlags_NoHoldingActiveID = 1 << 20, @@ -1484,24 +1601,25 @@ typedef enum { ImGuiSelectableFlags_SpanAvailWidth = 1 << 24, ImGuiSelectableFlags_DrawHoveredWhenHeld = 1 << 25, ImGuiSelectableFlags_SetNavIdOnHover = 1 << 26, - ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27 + ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27, + ImGuiSelectableFlags_NoSetKeyOwner = 1 << 28, }ImGuiSelectableFlagsPrivate_; typedef enum { - ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20 + ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20, }ImGuiTreeNodeFlagsPrivate_; typedef enum { ImGuiSeparatorFlags_None = 0, ImGuiSeparatorFlags_Horizontal = 1 << 0, ImGuiSeparatorFlags_Vertical = 1 << 1, - ImGuiSeparatorFlags_SpanAllColumns = 1 << 2 + ImGuiSeparatorFlags_SpanAllColumns = 1 << 2, }ImGuiSeparatorFlags_; typedef enum { ImGuiTextFlags_None = 0, - ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0 + ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0, }ImGuiTextFlags_; typedef enum { ImGuiTooltipFlags_None = 0, - ImGuiTooltipFlags_OverridePreviousTooltip = 1 << 0 + ImGuiTooltipFlags_OverridePreviousTooltip = 1 << 0, }ImGuiTooltipFlags_; typedef enum { ImGuiLayoutType_Horizontal = 0, @@ -1512,7 +1630,7 @@ typedef enum { ImGuiLogType_TTY, ImGuiLogType_File, ImGuiLogType_Buffer, - ImGuiLogType_Clipboard + ImGuiLogType_Clipboard, }ImGuiLogType; typedef enum { ImGuiAxis_None = -1, @@ -1521,30 +1639,14 @@ typedef enum { }ImGuiAxis; typedef enum { ImGuiPlotType_Lines, - ImGuiPlotType_Histogram + ImGuiPlotType_Histogram, }ImGuiPlotType; -typedef enum { - ImGuiInputSource_None = 0, - ImGuiInputSource_Mouse, - ImGuiInputSource_Keyboard, - ImGuiInputSource_Gamepad, - ImGuiInputSource_Nav, - ImGuiInputSource_Clipboard, - ImGuiInputSource_COUNT -}ImGuiInputSource; -typedef enum { - ImGuiInputReadMode_Down, - ImGuiInputReadMode_Pressed, - ImGuiInputReadMode_Released, - ImGuiInputReadMode_Repeat, - ImGuiInputReadMode_RepeatSlow, - ImGuiInputReadMode_RepeatFast -}ImGuiInputReadMode; typedef enum { ImGuiPopupPositionPolicy_Default, ImGuiPopupPositionPolicy_ComboBox, - ImGuiPopupPositionPolicy_Tooltip + ImGuiPopupPositionPolicy_Tooltip, }ImGuiPopupPositionPolicy; +typedef struct ImGuiDataTypeTempStorage ImGuiDataTypeTempStorage; struct ImGuiDataTypeTempStorage { ImU8 Data[8]; @@ -1559,7 +1661,7 @@ struct ImGuiDataTypeInfo typedef enum { ImGuiDataType_String = ImGuiDataType_COUNT + 1, ImGuiDataType_Pointer, - ImGuiDataType_ID + ImGuiDataType_ID, }ImGuiDataTypePrivate_; struct ImGuiColorMod { @@ -1571,6 +1673,7 @@ struct ImGuiStyleMod ImGuiStyleVar VarIdx; union { int BackupInt[2]; float BackupFloat[2]; }; }; +typedef struct ImGuiComboPreviewData ImGuiComboPreviewData; struct ImGuiComboPreviewData { ImRect PreviewRect; @@ -1626,7 +1729,8 @@ struct ImGuiPopupData { ImGuiID PopupId; ImGuiWindow* Window; - ImGuiWindow* SourceWindow; + ImGuiWindow* BackupNavWindow; + int ParentNavLayer; int OpenFrameCount; ImGuiID OpenParentId; ImVec2 OpenPopupPos; @@ -1644,7 +1748,7 @@ typedef enum { ImGuiNextWindowDataFlags_HasScroll = 1 << 7, ImGuiNextWindowDataFlags_HasViewport = 1 << 8, ImGuiNextWindowDataFlags_HasDock = 1 << 9, - ImGuiNextWindowDataFlags_HasWindowClass = 1 << 10 + ImGuiNextWindowDataFlags_HasWindowClass = 1 << 10, }ImGuiNextWindowDataFlags_; struct ImGuiNextWindowData { @@ -1672,7 +1776,7 @@ struct ImGuiNextWindowData typedef enum { ImGuiNextItemDataFlags_None = 0, ImGuiNextItemDataFlags_HasWidth = 1 << 0, - ImGuiNextItemDataFlags_HasOpen = 1 << 1 + ImGuiNextItemDataFlags_HasOpen = 1 << 1, }ImGuiNextItemDataFlags_; struct ImGuiNextItemData { @@ -1703,22 +1807,148 @@ struct ImGuiStackSizes short SizeOfBeginPopupStack; short SizeOfDisabledStack; }; +typedef struct ImGuiWindowStackData ImGuiWindowStackData; struct ImGuiWindowStackData { ImGuiWindow* Window; ImGuiLastItemData ParentLastItemDataBackup; ImGuiStackSizes StackSizesOnBegin; }; +typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem; struct ImGuiShrinkWidthItem { int Index; float Width; + float InitialWidth; }; +typedef struct ImGuiPtrOrIndex ImGuiPtrOrIndex; struct ImGuiPtrOrIndex { void* Ptr; int Index; }; +typedef struct ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN {ImU32 Storage[(ImGuiKey_NamedKey_COUNT+31)>>5];} ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN; + +typedef ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN ImBitArrayForNamedKeys; +typedef enum { + ImGuiInputEventType_None = 0, + ImGuiInputEventType_MousePos, + ImGuiInputEventType_MouseWheel, + ImGuiInputEventType_MouseButton, + ImGuiInputEventType_MouseViewport, + ImGuiInputEventType_Key, + ImGuiInputEventType_Text, + ImGuiInputEventType_Focus, + ImGuiInputEventType_COUNT +}ImGuiInputEventType; +typedef enum { + ImGuiInputSource_None = 0, + ImGuiInputSource_Mouse, + ImGuiInputSource_Keyboard, + ImGuiInputSource_Gamepad, + ImGuiInputSource_Clipboard, + ImGuiInputSource_Nav, + ImGuiInputSource_COUNT +}ImGuiInputSource; +typedef struct ImGuiInputEventMousePos ImGuiInputEventMousePos; +struct ImGuiInputEventMousePos +{ float PosX, PosY; +}; +typedef struct ImGuiInputEventMouseWheel ImGuiInputEventMouseWheel; +struct ImGuiInputEventMouseWheel +{ float WheelX, WheelY; +}; +typedef struct ImGuiInputEventMouseButton ImGuiInputEventMouseButton; +struct ImGuiInputEventMouseButton +{ int Button; bool Down; +}; +typedef struct ImGuiInputEventMouseViewport ImGuiInputEventMouseViewport; +struct ImGuiInputEventMouseViewport +{ ImGuiID HoveredViewportID; +}; +typedef struct ImGuiInputEventKey ImGuiInputEventKey; +struct ImGuiInputEventKey +{ ImGuiKey Key; bool Down; float AnalogValue; +}; +typedef struct ImGuiInputEventText ImGuiInputEventText; +struct ImGuiInputEventText +{ unsigned int Char; +}; +typedef struct ImGuiInputEventAppFocused ImGuiInputEventAppFocused; +struct ImGuiInputEventAppFocused +{ bool Focused; +}; +typedef struct ImGuiInputEvent ImGuiInputEvent; +struct ImGuiInputEvent +{ + ImGuiInputEventType Type; + ImGuiInputSource Source; + union + { + ImGuiInputEventMousePos MousePos; + ImGuiInputEventMouseWheel MouseWheel; + ImGuiInputEventMouseButton MouseButton; + ImGuiInputEventMouseViewport MouseViewport; + ImGuiInputEventKey Key; + ImGuiInputEventText Text; + ImGuiInputEventAppFocused AppFocused; + }; + bool AddedByTestEngine; +}; +typedef ImS16 ImGuiKeyRoutingIndex; +typedef struct ImGuiKeyRoutingData ImGuiKeyRoutingData; +struct ImGuiKeyRoutingData +{ + ImGuiKeyRoutingIndex NextEntryIndex; + ImU16 Mods; + ImU8 RoutingNextScore; + ImGuiID RoutingCurr; + ImGuiID RoutingNext; +}; +typedef struct ImGuiKeyRoutingTable ImGuiKeyRoutingTable; +typedef struct ImVector_ImGuiKeyRoutingData {int Size;int Capacity;ImGuiKeyRoutingData* Data;} ImVector_ImGuiKeyRoutingData; + +struct ImGuiKeyRoutingTable +{ + ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT]; + ImVector_ImGuiKeyRoutingData Entries; + ImVector_ImGuiKeyRoutingData EntriesNext; +}; +typedef struct ImGuiKeyOwnerData ImGuiKeyOwnerData; +struct ImGuiKeyOwnerData +{ + ImGuiID OwnerCurr; + ImGuiID OwnerNext; + bool LockThisFrame; + bool LockUntilRelease; +}; +typedef enum { + ImGuiInputFlags_None = 0, + ImGuiInputFlags_Repeat = 1 << 0, + ImGuiInputFlags_RepeatRateDefault = 1 << 1, + ImGuiInputFlags_RepeatRateNavMove = 1 << 2, + ImGuiInputFlags_RepeatRateNavTweak = 1 << 3, + ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak, + ImGuiInputFlags_CondHovered = 1 << 4, + ImGuiInputFlags_CondActive = 1 << 5, + ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + ImGuiInputFlags_LockThisFrame = 1 << 6, + ImGuiInputFlags_LockUntilRelease = 1 << 7, + ImGuiInputFlags_RouteFocused = 1 << 8, + ImGuiInputFlags_RouteGlobalLow = 1 << 9, + ImGuiInputFlags_RouteGlobal = 1 << 10, + ImGuiInputFlags_RouteGlobalHigh = 1 << 11, + ImGuiInputFlags_RouteMask_ = ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh, + ImGuiInputFlags_RouteAlways = 1 << 12, + ImGuiInputFlags_RouteUnlessBgFocused= 1 << 13, + ImGuiInputFlags_RouteExtraMask_ = ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused, + ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_, + ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteExtraMask_, + ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease, + ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_, +}ImGuiInputFlags_; +typedef struct ImGuiListClipperRange ImGuiListClipperRange; struct ImGuiListClipperRange { int Min; @@ -1727,6 +1957,9 @@ struct ImGuiListClipperRange ImS8 PosToIndexOffsetMin; ImS8 PosToIndexOffsetMax; }; +typedef struct ImGuiListClipperData ImGuiListClipperData; +typedef struct ImVector_ImGuiListClipperRange {int Size;int Capacity;ImGuiListClipperRange* Data;} ImVector_ImGuiListClipperRange; + struct ImGuiListClipperData { ImGuiListClipper* ListClipper; @@ -1739,7 +1972,7 @@ typedef enum { ImGuiActivateFlags_None = 0, ImGuiActivateFlags_PreferInput = 1 << 0, ImGuiActivateFlags_PreferTweak = 1 << 1, - ImGuiActivateFlags_TryToPreserveState = 1 << 2 + ImGuiActivateFlags_TryToPreserveState = 1 << 2, }ImGuiActivateFlags_; typedef enum { ImGuiScrollFlags_None = 0, @@ -1751,22 +1984,15 @@ typedef enum { ImGuiScrollFlags_AlwaysCenterY = 1 << 5, ImGuiScrollFlags_NoScrollParent = 1 << 6, ImGuiScrollFlags_MaskX_ = ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX, - ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY + ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY, }ImGuiScrollFlags_; typedef enum { ImGuiNavHighlightFlags_None = 0, ImGuiNavHighlightFlags_TypeDefault = 1 << 0, ImGuiNavHighlightFlags_TypeThin = 1 << 1, ImGuiNavHighlightFlags_AlwaysDraw = 1 << 2, - ImGuiNavHighlightFlags_NoRounding = 1 << 3 + ImGuiNavHighlightFlags_NoRounding = 1 << 3, }ImGuiNavHighlightFlags_; -typedef enum { - ImGuiNavDirSourceFlags_None = 0, - ImGuiNavDirSourceFlags_RawKeyboard = 1 << 0, - ImGuiNavDirSourceFlags_Keyboard = 1 << 1, - ImGuiNavDirSourceFlags_PadDPad = 1 << 2, - ImGuiNavDirSourceFlags_PadLStick = 1 << 3 -}ImGuiNavDirSourceFlags_; typedef enum { ImGuiNavMoveFlags_None = 0, ImGuiNavMoveFlags_LoopX = 1 << 0, @@ -1781,7 +2007,7 @@ typedef enum { ImGuiNavMoveFlags_FocusApi = 1 << 9, ImGuiNavMoveFlags_Tabbing = 1 << 10, ImGuiNavMoveFlags_Activate = 1 << 11, - ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12 + ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12, }ImGuiNavMoveFlags_; typedef enum { ImGuiNavLayer_Main = 0, @@ -1805,7 +2031,7 @@ typedef enum { ImGuiOldColumnFlags_NoResize = 1 << 1, ImGuiOldColumnFlags_NoPreserveWidths = 1 << 2, ImGuiOldColumnFlags_NoForceWithinWindow = 1 << 3, - ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4 + ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4, }ImGuiOldColumnFlags_; struct ImGuiOldColumnData { @@ -1814,6 +2040,8 @@ struct ImGuiOldColumnData ImGuiOldColumnFlags Flags; ImRect ClipRect; }; +typedef struct ImVector_ImGuiOldColumnData {int Size;int Capacity;ImGuiOldColumnData* Data;} ImVector_ImGuiOldColumnData; + struct ImGuiOldColumns { ImGuiID ID; @@ -1856,14 +2084,16 @@ typedef enum { typedef enum { ImGuiDataAuthority_Auto, ImGuiDataAuthority_DockNode, - ImGuiDataAuthority_Window + ImGuiDataAuthority_Window, }ImGuiDataAuthority_; typedef enum { ImGuiDockNodeState_Unknown, ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow, ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing, - ImGuiDockNodeState_HostWindowVisible + ImGuiDockNodeState_HostWindowVisible, }ImGuiDockNodeState; +typedef struct ImVector_ImGuiWindowPtr {int Size;int Capacity;ImGuiWindow** Data;} ImVector_ImGuiWindowPtr; + struct ImGuiDockNode { ImGuiID ID; @@ -1917,10 +2147,15 @@ typedef enum { ImGuiWindowDockStyleCol_TabUnfocusedActive, ImGuiWindowDockStyleCol_COUNT }ImGuiWindowDockStyleCol; +typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle; struct ImGuiWindowDockStyle { ImU32 Colors[ImGuiWindowDockStyleCol_COUNT]; }; +typedef struct ImVector_ImGuiDockRequest {int Size;int Capacity;ImGuiDockRequest* Data;} ImVector_ImGuiDockRequest; + +typedef struct ImVector_ImGuiDockNodeSettings {int Size;int Capacity;ImGuiDockNodeSettings* Data;} ImVector_ImGuiDockNodeSettings; + struct ImGuiDockContext { ImGuiStorage Nodes; @@ -1928,6 +2163,7 @@ struct ImGuiDockContext ImVector_ImGuiDockNodeSettings NodesSettings; bool WantFullRebuild; }; +typedef struct ImGuiViewportP ImGuiViewportP; struct ImGuiViewportP { ImGuiViewport _ImGuiViewport; @@ -1939,7 +2175,6 @@ struct ImGuiViewportP float Alpha; float LastAlpha; short PlatformMonitor; - bool PlatformWindowCreated; ImGuiWindow* Window; int DrawListsLastFrame[2]; ImDrawList* DrawLists[2]; @@ -1978,8 +2213,38 @@ struct ImGuiSettingsHandler void (*WriteAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* out_buf); void* UserData; }; +typedef enum { +ImGuiLocKey_TableSizeOne=0, +ImGuiLocKey_TableSizeAllFit=1, +ImGuiLocKey_TableSizeAllDefault=2, +ImGuiLocKey_TableResetOrder=3, +ImGuiLocKey_WindowingMainMenuBar=4, +ImGuiLocKey_WindowingPopup=5, +ImGuiLocKey_WindowingUntitled=6, +ImGuiLocKey_DockingHideTabBar=7, +ImGuiLocKey_COUNT=8, +}ImGuiLocKey; +struct ImGuiLocEntry +{ + ImGuiLocKey Key; + const char* Text; +}; +typedef enum { + ImGuiDebugLogFlags_None = 0, + ImGuiDebugLogFlags_EventActiveId = 1 << 0, + ImGuiDebugLogFlags_EventFocus = 1 << 1, + ImGuiDebugLogFlags_EventPopup = 1 << 2, + ImGuiDebugLogFlags_EventNav = 1 << 3, + ImGuiDebugLogFlags_EventClipper = 1 << 4, + ImGuiDebugLogFlags_EventIO = 1 << 5, + ImGuiDebugLogFlags_EventDocking = 1 << 6, + ImGuiDebugLogFlags_EventViewport = 1 << 7, + ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport, + ImGuiDebugLogFlags_OutputToTTY = 1 << 10, +}ImGuiDebugLogFlags_; struct ImGuiMetricsConfig { + bool ShowDebugLog; bool ShowStackTool; bool ShowWindowsRects; bool ShowWindowsBeginOrder; @@ -1990,20 +2255,28 @@ struct ImGuiMetricsConfig int ShowWindowsRectsType; int ShowTablesRectsType; }; +typedef struct ImGuiStackLevelInfo ImGuiStackLevelInfo; struct ImGuiStackLevelInfo { ImGuiID ID; ImS8 QueryFrameCount; bool QuerySuccess; - char Desc[58]; + ImGuiDataType DataType : 8; + char Desc[57]; }; +typedef struct ImGuiStackTool ImGuiStackTool; +typedef struct ImVector_ImGuiStackLevelInfo {int Size;int Capacity;ImGuiStackLevelInfo* Data;} ImVector_ImGuiStackLevelInfo; + struct ImGuiStackTool { int LastActiveFrame; int StackLevel; ImGuiID QueryId; ImVector_ImGuiStackLevelInfo Results; + bool CopyToClipboardOnCtrlC; + float CopyToClipboardLastTime; }; +typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook); typedef enum { ImGuiContextHookType_NewFramePre, ImGuiContextHookType_NewFramePost, ImGuiContextHookType_EndFramePre, ImGuiContextHookType_EndFramePost, ImGuiContextHookType_RenderPre, ImGuiContextHookType_RenderPost, ImGuiContextHookType_Shutdown, ImGuiContextHookType_PendingRemoval_ }ImGuiContextHookType; struct ImGuiContextHook { @@ -2013,12 +2286,58 @@ struct ImGuiContextHook ImGuiContextHookCallback Callback; void* UserData; }; +typedef struct ImVector_ImGuiInputEvent {int Size;int Capacity;ImGuiInputEvent* Data;} ImVector_ImGuiInputEvent; + +typedef struct ImVector_ImGuiWindowStackData {int Size;int Capacity;ImGuiWindowStackData* Data;} ImVector_ImGuiWindowStackData; + +typedef struct ImVector_ImGuiColorMod {int Size;int Capacity;ImGuiColorMod* Data;} ImVector_ImGuiColorMod; + +typedef struct ImVector_ImGuiStyleMod {int Size;int Capacity;ImGuiStyleMod* Data;} ImVector_ImGuiStyleMod; + +typedef struct ImVector_ImGuiID {int Size;int Capacity;ImGuiID* Data;} ImVector_ImGuiID; + +typedef struct ImVector_ImGuiItemFlags {int Size;int Capacity;ImGuiItemFlags* Data;} ImVector_ImGuiItemFlags; + +typedef struct ImVector_ImGuiGroupData {int Size;int Capacity;ImGuiGroupData* Data;} ImVector_ImGuiGroupData; + +typedef struct ImVector_ImGuiPopupData {int Size;int Capacity;ImGuiPopupData* Data;} ImVector_ImGuiPopupData; + +typedef struct ImVector_ImGuiViewportPPtr {int Size;int Capacity;ImGuiViewportP** Data;} ImVector_ImGuiViewportPPtr; + +typedef struct ImVector_unsigned_char {int Size;int Capacity;unsigned char* Data;} ImVector_unsigned_char; + +typedef struct ImVector_ImGuiListClipperData {int Size;int Capacity;ImGuiListClipperData* Data;} ImVector_ImGuiListClipperData; + +typedef struct ImVector_ImGuiTableTempData {int Size;int Capacity;ImGuiTableTempData* Data;} ImVector_ImGuiTableTempData; + +typedef struct ImVector_ImGuiTable {int Size;int Capacity;ImGuiTable* Data;} ImVector_ImGuiTable; + +typedef struct ImPool_ImGuiTable {ImVector_ImGuiTable Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImGuiTable; + +typedef struct ImVector_ImGuiTabBar {int Size;int Capacity;ImGuiTabBar* Data;} ImVector_ImGuiTabBar; + +typedef struct ImPool_ImGuiTabBar {ImVector_ImGuiTabBar Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImGuiTabBar; + +typedef struct ImVector_ImGuiPtrOrIndex {int Size;int Capacity;ImGuiPtrOrIndex* Data;} ImVector_ImGuiPtrOrIndex; + +typedef struct ImVector_ImGuiShrinkWidthItem {int Size;int Capacity;ImGuiShrinkWidthItem* Data;} ImVector_ImGuiShrinkWidthItem; + +typedef struct ImVector_ImGuiSettingsHandler {int Size;int Capacity;ImGuiSettingsHandler* Data;} ImVector_ImGuiSettingsHandler; + +typedef struct ImChunkStream_ImGuiWindowSettings {ImVector_char Buf;} ImChunkStream_ImGuiWindowSettings; + +typedef struct ImChunkStream_ImGuiTableSettings {ImVector_char Buf;} ImChunkStream_ImGuiTableSettings; + +typedef struct ImVector_ImGuiContextHook {int Size;int Capacity;ImGuiContextHook* Data;} ImVector_ImGuiContextHook; + struct ImGuiContext { bool Initialized; bool FontAtlasOwnedByContext; ImGuiIO IO; ImGuiPlatformIO PlatformIO; + ImVector_ImGuiInputEvent InputEventsQueue; + ImVector_ImGuiInputEvent InputEventsTrail; ImGuiStyle Style; ImGuiConfigFlags ConfigFlagsCurrFrame; ImGuiConfigFlags ConfigFlagsLastFrame; @@ -2047,17 +2366,14 @@ struct ImGuiContext ImGuiWindow* CurrentWindow; ImGuiWindow* HoveredWindow; ImGuiWindow* HoveredWindowUnderMovingWindow; - ImGuiDockNode* HoveredDockNode; ImGuiWindow* MovingWindow; ImGuiWindow* WheelingWindow; ImVec2 WheelingWindowRefMousePos; - float WheelingWindowTimer; + float WheelingWindowReleaseTimer; ImGuiID DebugHookIdInfo; ImGuiID HoveredId; ImGuiID HoveredIdPreviousFrame; bool HoveredIdAllowOverlap; - bool HoveredIdUsingMouseWheel; - bool HoveredIdPreviousFrameUsingMouseWheel; bool HoveredIdDisabled; float HoveredIdTimer; float HoveredIdNotActiveTimer; @@ -2070,10 +2386,6 @@ struct ImGuiContext bool ActiveIdHasBeenPressedBefore; bool ActiveIdHasBeenEditedBefore; bool ActiveIdHasBeenEditedThisFrame; - bool ActiveIdUsingMouseWheel; - ImU32 ActiveIdUsingNavDirMask; - ImU32 ActiveIdUsingNavInputMask; - ImU64 ActiveIdUsingKeyInputMask; ImVec2 ActiveIdClickOffset; ImGuiWindow* ActiveIdWindow; ImGuiInputSource ActiveIdSource; @@ -2084,7 +2396,14 @@ struct ImGuiContext ImGuiWindow* ActiveIdPreviousFrameWindow; ImGuiID LastActiveId; float LastActiveIdTimer; + ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT]; + ImGuiKeyRoutingTable KeysRoutingTable; + ImU32 ActiveIdUsingNavDirMask; + bool ActiveIdUsingAllKeyboardKeys; + ImU32 ActiveIdUsingNavInputMask; + ImGuiID CurrentFocusScopeId; ImGuiItemFlags CurrentItemFlags; + ImGuiID DebugLocateId; ImGuiNextItemData NextItemData; ImGuiLastItemData LastItemData; ImGuiNextWindowData NextWindowData; @@ -2115,7 +2434,7 @@ struct ImGuiContext ImGuiActivateFlags NavActivateFlags; ImGuiID NavJustMovedToId; ImGuiID NavJustMovedToFocusScopeId; - ImGuiKeyModFlags NavJustMovedToKeyMods; + ImGuiKeyChord NavJustMovedToKeyMods; ImGuiID NavNextActivateId; ImGuiActivateFlags NavNextActivateFlags; ImGuiInputSource NavInputSource; @@ -2134,7 +2453,7 @@ struct ImGuiContext bool NavMoveForwardToNextFrame; ImGuiNavMoveFlags NavMoveFlags; ImGuiScrollFlags NavMoveScrollFlags; - ImGuiKeyModFlags NavMoveKeyMods; + ImGuiKeyChord NavMoveKeyMods; ImGuiDir NavMoveDir; ImGuiDir NavMoveDirForDebug; ImGuiDir NavMoveClipDir; @@ -2147,12 +2466,16 @@ struct ImGuiContext ImGuiNavItemData NavMoveResultLocalVisible; ImGuiNavItemData NavMoveResultOther; ImGuiNavItemData NavTabbingResultFirst; + ImGuiKeyChord ConfigNavWindowingKeyNext; + ImGuiKeyChord ConfigNavWindowingKeyPrev; ImGuiWindow* NavWindowingTarget; ImGuiWindow* NavWindowingTargetAnim; ImGuiWindow* NavWindowingListWindow; float NavWindowingTimer; float NavWindowingHighlightAlpha; bool NavWindowingToggleLayer; + ImVec2 NavWindowingAccumDeltaPos; + ImVec2 NavWindowingAccumDeltaSize; float DimBgRatio; ImGuiMouseCursor MouseCursor; bool DragDropActive; @@ -2184,6 +2507,10 @@ struct ImGuiContext ImPool_ImGuiTabBar TabBars; ImVector_ImGuiPtrOrIndex CurrentTabBarStack; ImVector_ImGuiShrinkWidthItem ShrinkWidthBuffer; + ImGuiID HoverDelayId; + ImGuiID HoverDelayIdPreviousFrame; + float HoverDelayTimer; + float HoverDelayClearTimer; ImVec2 MouseLastValidPos; ImGuiInputTextState InputTextState; ImFont InputTextPasswordFont; @@ -2194,6 +2521,7 @@ struct ImGuiContext ImU32 ColorEditLastColor; ImVec4 ColorPickerRef; ImGuiComboPreviewData ComboPreviewData; + float SliderGrabClickOffset; float SliderCurrentAccum; bool SliderCurrentAccumDirty; bool DragCurrentAccumDirty; @@ -2203,12 +2531,11 @@ struct ImGuiContext float DisabledAlphaBackup; short DisabledStackSize; short TooltipOverrideCount; - float TooltipSlowDelay; ImVector_char ClipboardHandlerData; ImVector_ImGuiID MenusIdSubmittedThisFrame; - ImVec2 PlatformImePos; - ImVec2 PlatformImeLastPos; - ImGuiViewportP* PlatformImePosViewport; + ImGuiPlatformImeData PlatformImeData; + ImGuiPlatformImeData PlatformImeDataPrev; + ImGuiID PlatformImeViewport; char PlatformLocaleDecimalPoint; ImGuiDockContext DockContext; bool SettingsLoaded; @@ -2219,6 +2546,7 @@ struct ImGuiContext ImChunkStream_ImGuiTableSettings SettingsTables; ImVector_ImGuiContextHook Hooks; ImGuiID HookIdNext; + const char* LocalizationTable[ImGuiLocKey_COUNT]; bool LogEnabled; ImGuiLogType LogType; ImFileHandle LogFile; @@ -2230,18 +2558,24 @@ struct ImGuiContext int LogDepthRef; int LogDepthToExpand; int LogDepthToExpandDefault; + ImGuiDebugLogFlags DebugLogFlags; + ImGuiTextBuffer DebugLogBuf; + ImGuiTextIndex DebugLogIndex; + ImU8 DebugLocateFrames; bool DebugItemPickerActive; + ImU8 DebugItemPickerMouseButton; ImGuiID DebugItemPickerBreakId; ImGuiMetricsConfig DebugMetricsConfig; ImGuiStackTool DebugStackTool; - float FramerateSecPerFrame[120]; + ImGuiDockNode* DebugHoveredDockNode; + float FramerateSecPerFrame[60]; int FramerateSecPerFrameIdx; int FramerateSecPerFrameCount; float FramerateSecPerFrameAccum; int WantCaptureMouseNextFrame; int WantCaptureKeyboardNextFrame; int WantTextInputNextFrame; - char TempBuffer[1024 * 3 + 1]; + ImVector_char TempBuffer; }; struct ImGuiWindowTempData { @@ -2254,6 +2588,8 @@ struct ImGuiWindowTempData ImVec2 PrevLineSize; float CurrLineTextBaseOffset; float PrevLineTextBaseOffset; + bool IsSameLine; + bool IsSetPos; ImVec1 Indent; ImVec1 ColumnsOffset; ImVec1 GroupOffset; @@ -2261,7 +2597,6 @@ struct ImGuiWindowTempData ImGuiNavLayer NavLayerCurrent; short NavLayersActiveMask; short NavLayersActiveMaskNext; - ImGuiID NavFocusScopeIdCurrent; bool NavHideHighlightOneFrame; bool NavHasScroll; bool MenuBarAppending; @@ -2280,6 +2615,8 @@ struct ImGuiWindowTempData ImVector_float ItemWidthStack; ImVector_float TextWrapPosStack; }; +typedef struct ImVector_ImGuiOldColumns {int Size;int Capacity;ImGuiOldColumns* Data;} ImVector_ImGuiOldColumns; + struct ImGuiWindow { char* Name; @@ -2301,6 +2638,7 @@ struct ImGuiWindow float WindowBorderSize; int NameBufLen; ImGuiID MoveId; + ImGuiID TabId; ImGuiID ChildId; ImVec2 Scroll; ImVec2 ScrollMax; @@ -2323,6 +2661,7 @@ struct ImGuiWindow bool HasCloseButton; signed char ResizeBorderHeld; short BeginCount; + short BeginCountPreviousFrame; short BeginOrderWithinParent; short BeginOrderWithinContext; short FocusOrder; @@ -2373,6 +2712,7 @@ struct ImGuiWindow ImGuiWindow* NavLastChildNavWindow; ImGuiID NavLastIds[ImGuiNavLayer_COUNT]; ImRect NavRectRel[ImGuiNavLayer_COUNT]; + ImGuiID NavRootFocusScopeId; int MemoryDrawListIdxCapacity; int MemoryDrawListVtxCapacity; bool MemoryCompacted; @@ -2391,14 +2731,14 @@ struct ImGuiWindow typedef enum { ImGuiTabBarFlags_DockNode = 1 << 20, ImGuiTabBarFlags_IsFocused = 1 << 21, - ImGuiTabBarFlags_SaveSettings = 1 << 22 + ImGuiTabBarFlags_SaveSettings = 1 << 22, }ImGuiTabBarFlagsPrivate_; typedef enum { ImGuiTabItemFlags_SectionMask_ = ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing, ImGuiTabItemFlags_NoCloseButton = 1 << 20, ImGuiTabItemFlags_Button = 1 << 21, ImGuiTabItemFlags_Unsorted = 1 << 22, - ImGuiTabItemFlags_Preview = 1 << 23 + ImGuiTabItemFlags_Preview = 1 << 23, }ImGuiTabItemFlagsPrivate_; struct ImGuiTabItem { @@ -2410,11 +2750,14 @@ struct ImGuiTabItem float Offset; float Width; float ContentWidth; + float RequestedWidth; ImS32 NameOffset; ImS16 BeginOrder; ImS16 IndexDuringLayout; bool WantClose; }; +typedef struct ImVector_ImGuiTabItem {int Size;int Capacity;ImGuiTabItem* Data;} ImVector_ImGuiTabItem; + struct ImGuiTabBar { ImVector_ImGuiTabItem Tabs; @@ -2449,6 +2792,8 @@ struct ImGuiTabBar ImVec2 BackupCursorPos; ImGuiTextBuffer TabsNames; }; +typedef ImS8 ImGuiTableColumnIdx; +typedef ImU8 ImGuiTableDrawChannelIdx; struct ImGuiTableColumn { ImGuiTableColumnFlags Flags; @@ -2493,11 +2838,27 @@ struct ImGuiTableColumn ImU8 SortDirectionsAvailMask : 4; ImU8 SortDirectionsAvailList; }; +typedef struct ImGuiTableCellData ImGuiTableCellData; struct ImGuiTableCellData { ImU32 BgColor; ImGuiTableColumnIdx Column; }; +struct ImGuiTableInstanceData +{ + float LastOuterHeight; + float LastFirstRowHeight; +}; +typedef struct ImSpan_ImGuiTableColumn {ImGuiTableColumn* Data;ImGuiTableColumn* DataEnd;} ImSpan_ImGuiTableColumn; + +typedef struct ImSpan_ImGuiTableColumnIdx {ImGuiTableColumnIdx* Data;ImGuiTableColumnIdx* DataEnd;} ImSpan_ImGuiTableColumnIdx; + +typedef struct ImSpan_ImGuiTableCellData {ImGuiTableCellData* Data;ImGuiTableCellData* DataEnd;} ImSpan_ImGuiTableCellData; + +typedef struct ImVector_ImGuiTableInstanceData {int Size;int Capacity;ImGuiTableInstanceData* Data;} ImVector_ImGuiTableInstanceData; + +typedef struct ImVector_ImGuiTableColumnSortSpecs {int Size;int Capacity;ImGuiTableColumnSortSpecs* Data;} ImVector_ImGuiTableColumnSortSpecs; + struct ImGuiTable { ImGuiID ID; @@ -2539,11 +2900,10 @@ struct ImGuiTable float CellPaddingY; float CellSpacingX1; float CellSpacingX2; - float LastOuterHeight; - float LastFirstRowHeight; float InnerWidth; float ColumnsGivenWidth; float ColumnsAutoFitWidth; + float ColumnsStretchSumWeights; float ResizedColumnNextWidth; float ResizeLockMinContentsX2; float RefScale; @@ -2560,6 +2920,8 @@ struct ImGuiTable ImGuiWindow* InnerWindow; ImGuiTextBuffer ColumnsNames; ImDrawListSplitter* DrawSplitter; + ImGuiTableInstanceData InstanceDataFirst; + ImVector_ImGuiTableInstanceData InstanceDataExtra; ImGuiTableColumnSortSpecs SortSpecsSingle; ImVector_ImGuiTableColumnSortSpecs SortSpecsMulti; ImGuiTableSortSpecs SortSpecs; @@ -2619,6 +2981,7 @@ struct ImGuiTableTempData float HostBackupItemWidth; int HostBackupItemWidthStackSize; }; +typedef struct ImGuiTableColumnSettings ImGuiTableColumnSettings; struct ImGuiTableColumnSettings { float WidthOrWeight; @@ -2652,8 +3015,8 @@ typedef union SDL_Event SDL_Event; #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImGuiStorage::ImGuiStoragePair ImGuiStoragePair; -typedef ImGuiTextFilter::ImGuiTextRange ImGuiTextRange; +typedef struct ImGuiStorage::ImGuiStoragePair ImGuiStoragePair; +typedef struct ImGuiTextFilter::ImGuiTextRange ImGuiTextRange; typedef ImStb::STB_TexteditState STB_TexteditState; typedef ImStb::StbTexteditRow StbTexteditRow; typedef ImStb::StbUndoRecord StbUndoRecord; @@ -2680,7 +3043,9 @@ typedef ImVector ImVector_ImGuiDockNodeSettings; typedef ImVector ImVector_ImGuiDockRequest; typedef ImVector ImVector_ImGuiGroupData; typedef ImVector ImVector_ImGuiID; +typedef ImVector ImVector_ImGuiInputEvent; typedef ImVector ImVector_ImGuiItemFlags; +typedef ImVector ImVector_ImGuiKeyRoutingData; typedef ImVector ImVector_ImGuiListClipperData; typedef ImVector ImVector_ImGuiListClipperRange; typedef ImVector ImVector_ImGuiOldColumnData; @@ -2695,6 +3060,7 @@ typedef ImVector ImVector_ImGuiStoragePair; typedef ImVector ImVector_ImGuiStyleMod; typedef ImVector ImVector_ImGuiTabItem; typedef ImVector ImVector_ImGuiTableColumnSortSpecs; +typedef ImVector ImVector_ImGuiTableInstanceData; typedef ImVector ImVector_ImGuiTableTempData; typedef ImVector ImVector_ImGuiTextRange; typedef ImVector ImVector_ImGuiViewportPtr; @@ -2709,14 +3075,15 @@ typedef ImVector ImVector_ImWchar; typedef ImVector ImVector_char; typedef ImVector ImVector_const_charPtr; typedef ImVector ImVector_float; +typedef ImVector ImVector_int; typedef ImVector ImVector_unsigned_char; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -CIMGUI_API ImVec2* ImVec2_ImVec2Nil(void); +CIMGUI_API ImVec2* ImVec2_ImVec2_Nil(void); CIMGUI_API void ImVec2_destroy(ImVec2* self); -CIMGUI_API ImVec2* ImVec2_ImVec2Float(float _x,float _y); -CIMGUI_API ImVec4* ImVec4_ImVec4Nil(void); +CIMGUI_API ImVec2* ImVec2_ImVec2_Float(float _x,float _y); +CIMGUI_API ImVec4* ImVec4_ImVec4_Nil(void); CIMGUI_API void ImVec4_destroy(ImVec4* self); -CIMGUI_API ImVec4* ImVec4_ImVec4Float(float _x,float _y,float _z,float _w); +CIMGUI_API ImVec4* ImVec4_ImVec4_Float(float _x,float _y,float _z,float _w); CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(ImGuiContext* ctx); CIMGUI_API ImGuiContext* igGetCurrentContext(void); @@ -2729,6 +3096,7 @@ CIMGUI_API void igRender(void); CIMGUI_API ImDrawData* igGetDrawData(void); CIMGUI_API void igShowDemoWindow(bool* p_open); CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowDebugLogWindow(bool* p_open); CIMGUI_API void igShowStackToolWindow(bool* p_open); CIMGUI_API void igShowAboutWindow(bool* p_open); CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); @@ -2741,8 +3109,8 @@ CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(void); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChild_Str(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChild_ID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(void); CIMGUI_API bool igIsWindowAppearing(void); CIMGUI_API bool igIsWindowCollapsed(void); @@ -2761,38 +3129,39 @@ CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); CIMGUI_API void igSetNextWindowFocus(void); +CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll); CIMGUI_API void igSetNextWindowBgAlpha(float alpha); CIMGUI_API void igSetNextWindowViewport(ImGuiID viewport_id); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusNil(void); +CIMGUI_API void igSetWindowPos_Vec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSize_Vec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsed_Bool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus_Nil(void); CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API void igSetWindowPos_Str(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSize_Str(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsed_Str(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus_Str(const char* name); CIMGUI_API void igGetContentRegionAvail(ImVec2 *pOut); CIMGUI_API void igGetContentRegionMax(ImVec2 *pOut); CIMGUI_API void igGetWindowContentRegionMin(ImVec2 *pOut); CIMGUI_API void igGetWindowContentRegionMax(ImVec2 *pOut); CIMGUI_API float igGetScrollX(void); CIMGUI_API float igGetScrollY(void); -CIMGUI_API void igSetScrollXFloat(float scroll_x); -CIMGUI_API void igSetScrollYFloat(float scroll_y); +CIMGUI_API void igSetScrollX_Float(float scroll_x); +CIMGUI_API void igSetScrollY_Float(float scroll_y); CIMGUI_API float igGetScrollMaxX(void); CIMGUI_API float igGetScrollMaxY(void); CIMGUI_API void igSetScrollHereX(float center_x_ratio); CIMGUI_API void igSetScrollHereY(float center_y_ratio); -CIMGUI_API void igSetScrollFromPosXFloat(float local_x,float center_x_ratio); -CIMGUI_API void igSetScrollFromPosYFloat(float local_y,float center_y_ratio); +CIMGUI_API void igSetScrollFromPosX_Float(float local_x,float center_x_ratio); +CIMGUI_API void igSetScrollFromPosY_Float(float local_y,float center_y_ratio); CIMGUI_API void igPushFont(ImFont* font); CIMGUI_API void igPopFont(void); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPushStyleColor_U32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4 col); CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPushStyleVar_Float(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); CIMGUI_API void igPopAllowKeyboardFocus(void); @@ -2807,9 +3176,9 @@ CIMGUI_API void igPopTextWrapPos(void); CIMGUI_API ImFont* igGetFont(void); CIMGUI_API float igGetFontSize(void); CIMGUI_API void igGetFontTexUvWhitePixel(ImVec2 *pOut); -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API ImU32 igGetColorU32_Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32_Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32_U32(ImU32 col); CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); CIMGUI_API void igSeparator(void); CIMGUI_API void igSameLine(float offset_from_start_x,float spacing); @@ -2834,14 +3203,14 @@ CIMGUI_API float igGetTextLineHeight(void); CIMGUI_API float igGetTextLineHeightWithSpacing(void); CIMGUI_API float igGetFrameHeight(void); CIMGUI_API float igGetFrameHeightWithSpacing(void); -CIMGUI_API void igPushIDStr(const char* str_id); -CIMGUI_API void igPushIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPushID_Str(const char* str_id); +CIMGUI_API void igPushID_StrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushID_Ptr(const void* ptr_id); +CIMGUI_API void igPushID_Int(int int_id); CIMGUI_API void igPopID(void); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API ImGuiID igGetID_Str(const char* str_id); +CIMGUI_API ImGuiID igGetID_StrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetID_Ptr(const void* ptr_id); CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); CIMGUI_API void igText(const char* fmt,...); CIMGUI_API void igTextV(const char* fmt,va_list args); @@ -2859,20 +3228,20 @@ CIMGUI_API bool igButton(const char* label,const ImVec2 size); CIMGUI_API bool igSmallButton(const char* label); CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size,ImGuiButtonFlags flags); CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlagsIntPtr(const char* label,int* flags,int flags_value); -CIMGUI_API bool igCheckboxFlagsUintPtr(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API bool igCheckboxFlags_IntPtr(const char* label,int* flags,int flags_value); +CIMGUI_API bool igCheckboxFlags_UintPtr(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButton_Bool(const char* label,bool active); +CIMGUI_API bool igRadioButton_IntPtr(const char* label,int* v,int v_button); CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); CIMGUI_API void igBullet(void); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); CIMGUI_API void igEndCombo(void); -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); -CIMGUI_API bool igComboFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igCombo_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igCombo_Str(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igCombo_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags); CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags); @@ -2917,47 +3286,47 @@ CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size); CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API bool igTreeNode_Str(const char* label); +CIMGUI_API bool igTreeNode_StrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNode_Ptr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeV_Str(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeV_Ptr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeEx_Str(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeEx_StrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeEx_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExV_Str(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExV_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePush_Str(const char* str_id); +CIMGUI_API void igTreePush_Ptr(const void* ptr_id); CIMGUI_API void igTreePop(void); CIMGUI_API float igGetTreeNodeToLabelSpacing(void); -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeader_TreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeader_BoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags); CIMGUI_API void igSetNextItemOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectable_BoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); CIMGUI_API bool igBeginListBox(const char* label,const ImVec2 size); CIMGUI_API void igEndListBox(void); -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); -CIMGUI_API void igPlotLinesFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); -CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); -CIMGUI_API void igPlotHistogramFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API bool igListBox_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBox_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API void igPlotLines_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); +CIMGUI_API void igPlotLines_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); +CIMGUI_API void igPlotHistogram_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); +CIMGUI_API void igPlotHistogram_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); +CIMGUI_API void igValue_Bool(const char* prefix,bool b); +CIMGUI_API void igValue_Int(const char* prefix,int v); +CIMGUI_API void igValue_Uint(const char* prefix,unsigned int v); +CIMGUI_API void igValue_Float(const char* prefix,float v,const char* float_format); CIMGUI_API bool igBeginMenuBar(void); CIMGUI_API void igEndMenuBar(void); CIMGUI_API bool igBeginMainMenuBar(void); CIMGUI_API void igEndMainMenuBar(void); CIMGUI_API bool igBeginMenu(const char* label,bool enabled); CIMGUI_API void igEndMenu(void); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API bool igMenuItem_Bool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItem_BoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); CIMGUI_API void igBeginTooltip(void); CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); @@ -2965,14 +3334,14 @@ CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEndPopup(void); -CIMGUI_API void igOpenPopupStr(const char* str_id,ImGuiPopupFlags popup_flags); -CIMGUI_API void igOpenPopupID(ImGuiID id,ImGuiPopupFlags popup_flags); +CIMGUI_API void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API void igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags); CIMGUI_API void igCloseCurrentPopup(void); CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags); CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags); CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags); -CIMGUI_API bool igIsPopupOpenStr(const char* str_id,ImGuiPopupFlags flags); +CIMGUI_API bool igIsPopupOpen_Str(const char* str_id,ImGuiPopupFlags flags); CIMGUI_API bool igBeginTable(const char* str_id,int column,ImGuiTableFlags flags,const ImVec2 outer_size,float inner_width); CIMGUI_API void igEndTable(void); CIMGUI_API void igTableNextRow(ImGuiTableRowFlags row_flags,float min_row_height); @@ -2986,7 +3355,7 @@ CIMGUI_API ImGuiTableSortSpecs* igTableGetSortSpecs(void); CIMGUI_API int igTableGetColumnCount(void); CIMGUI_API int igTableGetColumnIndex(void); CIMGUI_API int igTableGetRowIndex(void); -CIMGUI_API const char* igTableGetColumnNameInt(int column_n); +CIMGUI_API const char* igTableGetColumnName_Int(int column_n); CIMGUI_API ImGuiTableColumnFlags igTableGetColumnFlags(int column_n); CIMGUI_API void igTableSetColumnEnabled(int column_n,bool v); CIMGUI_API void igTableSetBgColor(ImGuiTableBgTarget target,ImU32 color,int column_n); @@ -3047,14 +3416,14 @@ CIMGUI_API void igGetItemRectMax(ImVec2 *pOut); CIMGUI_API void igGetItemRectSize(ImVec2 *pOut); CIMGUI_API void igSetItemAllowOverlap(void); CIMGUI_API ImGuiViewport* igGetMainViewport(void); -CIMGUI_API bool igIsRectVisibleNil(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API ImDrawList* igGetBackgroundDrawList_Nil(void); +CIMGUI_API ImDrawList* igGetForegroundDrawList_Nil(void); +CIMGUI_API ImDrawList* igGetBackgroundDrawList_ViewportPtr(ImGuiViewport* viewport); +CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport); +CIMGUI_API bool igIsRectVisible_Nil(const ImVec2 size); +CIMGUI_API bool igIsRectVisible_Vec2(const ImVec2 rect_min,const ImVec2 rect_max); CIMGUI_API double igGetTime(void); CIMGUI_API int igGetFrameCount(void); -CIMGUI_API ImDrawList* igGetBackgroundDrawListNil(void); -CIMGUI_API ImDrawList* igGetForegroundDrawListNil(void); -CIMGUI_API ImDrawList* igGetBackgroundDrawListViewportPtr(ImGuiViewport* viewport); -CIMGUI_API ImDrawList* igGetForegroundDrawListViewportPtr(ImGuiViewport* viewport); CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(void); CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); @@ -3066,15 +3435,15 @@ CIMGUI_API void igColorConvertU32ToFloat4(ImVec4 *pOut,ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float* out_h,float* out_s,float* out_v); CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,float* out_g,float* out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API void igCaptureKeyboardFromApp(bool want_capture_keyboard_value); -CIMGUI_API bool igIsMouseDown(ImGuiMouseButton button); -CIMGUI_API bool igIsMouseClicked(ImGuiMouseButton button,bool repeat); -CIMGUI_API bool igIsMouseReleased(ImGuiMouseButton button); +CIMGUI_API bool igIsKeyDown_Nil(ImGuiKey key); +CIMGUI_API bool igIsKeyPressed_Bool(ImGuiKey key,bool repeat); +CIMGUI_API bool igIsKeyReleased_Nil(ImGuiKey key); +CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate); +CIMGUI_API const char* igGetKeyName(ImGuiKey key); +CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); +CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button); +CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat); +CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button); CIMGUI_API bool igIsMouseDoubleClicked(ImGuiMouseButton button); CIMGUI_API int igGetMouseClickedCount(ImGuiMouseButton button); CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); @@ -3087,13 +3456,14 @@ CIMGUI_API void igGetMouseDragDelta(ImVec2 *pOut,ImGuiMouseButton button,float l CIMGUI_API void igResetMouseDragDelta(ImGuiMouseButton button); CIMGUI_API ImGuiMouseCursor igGetMouseCursor(void); CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor cursor_type); -CIMGUI_API void igCaptureMouseFromApp(bool want_capture_mouse_value); +CIMGUI_API void igSetNextFrameWantCaptureMouse(bool want_capture_mouse); CIMGUI_API const char* igGetClipboardText(void); CIMGUI_API void igSetClipboardText(const char* text); CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); +CIMGUI_API void igDebugTextEncoding(const char* text); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx); CIMGUI_API void igSetAllocatorFunctions(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data); CIMGUI_API void igGetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data); @@ -3108,10 +3478,18 @@ CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle); CIMGUI_API ImGuiStyle* ImGuiStyle_ImGuiStyle(void); CIMGUI_API void ImGuiStyle_destroy(ImGuiStyle* self); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void ImGuiIO_AddKeyEvent(ImGuiIO* self,ImGuiKey key,bool down); +CIMGUI_API void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self,ImGuiKey key,bool down,float v); +CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self,float x,float y); +CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self,int button,bool down); +CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self,float wh_x,float wh_y); +CIMGUI_API void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self,ImGuiID id); +CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,unsigned int c); CIMGUI_API void ImGuiIO_AddInputCharacterUTF16(ImGuiIO* self,ImWchar16 c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* str); -CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused); +CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index); +CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self,bool accepting_events); CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API void ImGuiIO_ClearInputKeys(ImGuiIO* self); CIMGUI_API ImGuiIO* ImGuiIO_ImGuiIO(void); @@ -3144,9 +3522,9 @@ CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* tex CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self); CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self); CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self); -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeNil(void); +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Nil(void); CIMGUI_API void ImGuiTextRange_destroy(ImGuiTextRange* self); -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeStr(const char* _b,const char* _e); +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Str(const char* _b,const char* _e); CIMGUI_API bool ImGuiTextRange_empty(ImGuiTextRange* self); CIMGUI_API void ImGuiTextRange_split(ImGuiTextRange* self,char separator,ImVector_ImGuiTextRange* out); CIMGUI_API ImGuiTextBuffer* ImGuiTextBuffer_ImGuiTextBuffer(void); @@ -3160,10 +3538,10 @@ CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_append(ImGuiTextBuffer* self,const char* str,const char* str_end); CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairInt(ImGuiID _key,int _val_i); +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val_i); CIMGUI_API void ImGuiStoragePair_destroy(ImGuiStoragePair* self); -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairFloat(ImGuiID _key,float _val_f); -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairPtr(ImGuiID _key,void* _val_p); +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val_f); +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val_p); CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); @@ -3185,12 +3563,12 @@ CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,fl CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); CIMGUI_API void ImGuiListClipper_ForceDisplayRangeByIndices(ImGuiListClipper* self,int item_min,int item_max); -CIMGUI_API ImColor* ImColor_ImColorNil(void); +CIMGUI_API ImColor* ImColor_ImColor_Nil(void); CIMGUI_API void ImColor_destroy(ImColor* self); -CIMGUI_API ImColor* ImColor_ImColorInt(int r,int g,int b,int a); -CIMGUI_API ImColor* ImColor_ImColorU32(ImU32 rgba); -CIMGUI_API ImColor* ImColor_ImColorFloat(float r,float g,float b,float a); -CIMGUI_API ImColor* ImColor_ImColorVec4(const ImVec4 col); +CIMGUI_API ImColor* ImColor_ImColor_Float(float r,float g,float b,float a); +CIMGUI_API ImColor* ImColor_ImColor_Vec4(const ImVec4 col); +CIMGUI_API ImColor* ImColor_ImColor_Int(int r,int g,int b,int a); +CIMGUI_API ImColor* ImColor_ImColor_U32(ImU32 rgba); CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API void ImColor_HSV(ImColor *pOut,float h,float s,float v,float a); CIMGUI_API ImDrawCmd* ImDrawCmd_ImDrawCmd(void); @@ -3203,9 +3581,9 @@ CIMGUI_API void ImDrawListSplitter_ClearFreeMemory(ImDrawListSplitter* self); CIMGUI_API void ImDrawListSplitter_Split(ImDrawListSplitter* self,ImDrawList* draw_list,int count); CIMGUI_API void ImDrawListSplitter_Merge(ImDrawListSplitter* self,ImDrawList* draw_list); CIMGUI_API void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self,ImDrawList* draw_list,int channel_idx); -CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data); +CIMGUI_API ImDrawList* ImDrawList_ImDrawList(ImDrawListSharedData* shared_data); CIMGUI_API void ImDrawList_destroy(ImDrawList* self); -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); @@ -3224,8 +3602,8 @@ CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 center,float CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments); CIMGUI_API void ImDrawList_AddNgon(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness); CIMGUI_API void ImDrawList_AddNgonFilled(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness); CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness,int num_segments); @@ -3304,6 +3682,7 @@ CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesGreek(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); @@ -3325,8 +3704,8 @@ CIMGUI_API bool ImFont_IsLoaded(ImFont* self); CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); CIMGUI_API void ImFont_CalcTextSizeA(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width); -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API void ImFont_ClearOutputData(ImFont* self); CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); @@ -3342,12 +3721,15 @@ CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void); CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self); CIMGUI_API ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void); CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self); +CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void); +CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self); +CIMGUI_API ImGuiKey igGetKeyIndex(ImGuiKey key); CIMGUI_API ImGuiID igImHashData(const void* data,size_t data_size,ImU32 seed); CIMGUI_API ImGuiID igImHashStr(const char* data,size_t data_size,ImU32 seed); CIMGUI_API void igImQsort(void* base,size_t count,size_t size_of_element,int(*compare_func)(void const*,void const*)); CIMGUI_API ImU32 igImAlphaBlendColors(ImU32 col_a,ImU32 col_b); -CIMGUI_API bool igImIsPowerOfTwoInt(int v); -CIMGUI_API bool igImIsPowerOfTwoU64(ImU64 v); +CIMGUI_API bool igImIsPowerOfTwo_Int(int v); +CIMGUI_API bool igImIsPowerOfTwo_U64(ImU64 v); CIMGUI_API int igImUpperPowerOfTwo(int v); CIMGUI_API int igImStricmp(const char* str1,const char* str2); CIMGUI_API int igImStrnicmp(const char* str1,const char* str2,size_t count); @@ -3361,14 +3743,19 @@ CIMGUI_API const ImWchar* igImStrbolW(const ImWchar* buf_mid_line,const ImWchar* CIMGUI_API const char* igImStristr(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end); CIMGUI_API void igImStrTrimBlanks(char* str); CIMGUI_API const char* igImStrSkipBlank(const char* str); +CIMGUI_API char igImToUpper(char c); +CIMGUI_API bool igImCharIsBlankA(char c); +CIMGUI_API bool igImCharIsBlankW(unsigned int c); CIMGUI_API int igImFormatString(char* buf,size_t buf_size,const char* fmt,...); CIMGUI_API int igImFormatStringV(char* buf,size_t buf_size,const char* fmt,va_list args); +CIMGUI_API void igImFormatStringToTempBuffer(const char** out_buf,const char** out_buf_end,const char* fmt,...); +CIMGUI_API void igImFormatStringToTempBufferV(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args); CIMGUI_API const char* igImParseFormatFindStart(const char* format); CIMGUI_API const char* igImParseFormatFindEnd(const char* format); CIMGUI_API const char* igImParseFormatTrimDecorations(const char* format,char* buf,size_t buf_size); +CIMGUI_API void igImParseFormatSanitizeForPrinting(const char* fmt_in,char* fmt_out,size_t fmt_out_size); +CIMGUI_API const char* igImParseFormatSanitizeForScanning(const char* fmt_in,char* fmt_out,size_t fmt_out_size); CIMGUI_API int igImParseFormatPrecision(const char* format,int default_value); -CIMGUI_API bool igImCharIsBlankA(char c); -CIMGUI_API bool igImCharIsBlankW(unsigned int c); CIMGUI_API const char* igImTextCharToUtf8(char out_buf[5],unsigned int c); CIMGUI_API int igImTextStrToUtf8(char* out_buf,int out_buf_size,const ImWchar* in_text,const ImWchar* in_text_end); CIMGUI_API int igImTextCharFromUtf8(unsigned int* out_char,const char* in_text,const char* in_text_end); @@ -3382,30 +3769,31 @@ CIMGUI_API ImU64 igImFileGetSize(ImFileHandle file); CIMGUI_API ImU64 igImFileRead(void* data,ImU64 size,ImU64 count,ImFileHandle file); CIMGUI_API ImU64 igImFileWrite(const void* data,ImU64 size,ImU64 count,ImFileHandle file); CIMGUI_API void* igImFileLoadToMemory(const char* filename,const char* mode,size_t* out_file_size,int padding_bytes); -CIMGUI_API float igImPowFloat(float x,float y); -CIMGUI_API double igImPowdouble(double x,double y); -CIMGUI_API float igImLogFloat(float x); -CIMGUI_API double igImLogdouble(double x); -CIMGUI_API int igImAbsInt(int x); -CIMGUI_API float igImAbsFloat(float x); -CIMGUI_API double igImAbsdouble(double x); -CIMGUI_API float igImSignFloat(float x); -CIMGUI_API double igImSigndouble(double x); -CIMGUI_API float igImRsqrtFloat(float x); -CIMGUI_API double igImRsqrtdouble(double x); +CIMGUI_API float igImPow_Float(float x,float y); +CIMGUI_API double igImPow_double(double x,double y); +CIMGUI_API float igImLog_Float(float x); +CIMGUI_API double igImLog_double(double x); +CIMGUI_API int igImAbs_Int(int x); +CIMGUI_API float igImAbs_Float(float x); +CIMGUI_API double igImAbs_double(double x); +CIMGUI_API float igImSign_Float(float x); +CIMGUI_API double igImSign_double(double x); +CIMGUI_API float igImRsqrt_Float(float x); +CIMGUI_API double igImRsqrt_double(double x); CIMGUI_API void igImMin(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs); CIMGUI_API void igImMax(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs); CIMGUI_API void igImClamp(ImVec2 *pOut,const ImVec2 v,const ImVec2 mn,ImVec2 mx); -CIMGUI_API void igImLerpVec2Float(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t); -CIMGUI_API void igImLerpVec2Vec2(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t); -CIMGUI_API void igImLerpVec4(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t); +CIMGUI_API void igImLerp_Vec2Float(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,float t); +CIMGUI_API void igImLerp_Vec2Vec2(ImVec2 *pOut,const ImVec2 a,const ImVec2 b,const ImVec2 t); +CIMGUI_API void igImLerp_Vec4(ImVec4 *pOut,const ImVec4 a,const ImVec4 b,float t); CIMGUI_API float igImSaturate(float f); -CIMGUI_API float igImLengthSqrVec2(const ImVec2 lhs); -CIMGUI_API float igImLengthSqrVec4(const ImVec4 lhs); +CIMGUI_API float igImLengthSqr_Vec2(const ImVec2 lhs); +CIMGUI_API float igImLengthSqr_Vec4(const ImVec4 lhs); CIMGUI_API float igImInvLength(const ImVec2 lhs,float fail_value); -CIMGUI_API float igImFloorFloat(float f); -CIMGUI_API float igImFloorSigned(float f); -CIMGUI_API void igImFloorVec2(ImVec2 *pOut,const ImVec2 v); +CIMGUI_API float igImFloor_Float(float f); +CIMGUI_API float igImFloorSigned_Float(float f); +CIMGUI_API void igImFloor_Vec2(ImVec2 *pOut,const ImVec2 v); +CIMGUI_API void igImFloorSigned_Vec2(ImVec2 *pOut,const ImVec2 v); CIMGUI_API int igImModPositive(int a,int b); CIMGUI_API float igImDot(const ImVec2 a,const ImVec2 b); CIMGUI_API void igImRotate(ImVec2 *pOut,const ImVec2 v,float cos_a,float sin_a); @@ -3422,18 +3810,18 @@ CIMGUI_API void igImTriangleClosestPoint(ImVec2 *pOut,const ImVec2 a,const ImVec CIMGUI_API void igImTriangleBarycentricCoords(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float* out_u,float* out_v,float* out_w); CIMGUI_API float igImTriangleArea(const ImVec2 a,const ImVec2 b,const ImVec2 c); CIMGUI_API ImGuiDir igImGetDirQuadrantFromDelta(float dx,float dy); -CIMGUI_API ImVec1* ImVec1_ImVec1Nil(void); +CIMGUI_API ImVec1* ImVec1_ImVec1_Nil(void); CIMGUI_API void ImVec1_destroy(ImVec1* self); -CIMGUI_API ImVec1* ImVec1_ImVec1Float(float _x); -CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ihNil(void); +CIMGUI_API ImVec1* ImVec1_ImVec1_Float(float _x); +CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ih_Nil(void); CIMGUI_API void ImVec2ih_destroy(ImVec2ih* self); -CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ihshort(short _x,short _y); -CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ihVec2(const ImVec2 rhs); -CIMGUI_API ImRect* ImRect_ImRectNil(void); +CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ih_short(short _x,short _y); +CIMGUI_API ImVec2ih* ImVec2ih_ImVec2ih_Vec2(const ImVec2 rhs); +CIMGUI_API ImRect* ImRect_ImRect_Nil(void); CIMGUI_API void ImRect_destroy(ImRect* self); -CIMGUI_API ImRect* ImRect_ImRectVec2(const ImVec2 min,const ImVec2 max); -CIMGUI_API ImRect* ImRect_ImRectVec4(const ImVec4 v); -CIMGUI_API ImRect* ImRect_ImRectFloat(float x1,float y1,float x2,float y2); +CIMGUI_API ImRect* ImRect_ImRect_Vec2(const ImVec2 min,const ImVec2 max); +CIMGUI_API ImRect* ImRect_ImRect_Vec4(const ImVec4 v); +CIMGUI_API ImRect* ImRect_ImRect_Float(float x1,float y1,float x2,float y2); CIMGUI_API void ImRect_GetCenter(ImVec2 *pOut,ImRect* self); CIMGUI_API void ImRect_GetSize(ImVec2 *pOut,ImRect* self); CIMGUI_API float ImRect_GetWidth(ImRect* self); @@ -3443,13 +3831,13 @@ CIMGUI_API void ImRect_GetTL(ImVec2 *pOut,ImRect* self); CIMGUI_API void ImRect_GetTR(ImVec2 *pOut,ImRect* self); CIMGUI_API void ImRect_GetBL(ImVec2 *pOut,ImRect* self); CIMGUI_API void ImRect_GetBR(ImVec2 *pOut,ImRect* self); -CIMGUI_API bool ImRect_ContainsVec2(ImRect* self,const ImVec2 p); -CIMGUI_API bool ImRect_ContainsRect(ImRect* self,const ImRect r); +CIMGUI_API bool ImRect_Contains_Vec2(ImRect* self,const ImVec2 p); +CIMGUI_API bool ImRect_Contains_Rect(ImRect* self,const ImRect r); CIMGUI_API bool ImRect_Overlaps(ImRect* self,const ImRect r); -CIMGUI_API void ImRect_AddVec2(ImRect* self,const ImVec2 p); -CIMGUI_API void ImRect_AddRect(ImRect* self,const ImRect r); -CIMGUI_API void ImRect_ExpandFloat(ImRect* self,const float amount); -CIMGUI_API void ImRect_ExpandVec2(ImRect* self,const ImVec2 amount); +CIMGUI_API void ImRect_Add_Vec2(ImRect* self,const ImVec2 p); +CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect r); +CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount); +CIMGUI_API void ImRect_Expand_Vec2(ImRect* self,const ImVec2 amount); CIMGUI_API void ImRect_Translate(ImRect* self,const ImVec2 d); CIMGUI_API void ImRect_TranslateX(ImRect* self,float dx); CIMGUI_API void ImRect_TranslateY(ImRect* self,float dy); @@ -3467,6 +3855,11 @@ CIMGUI_API void ImBitVector_Clear(ImBitVector* self); CIMGUI_API bool ImBitVector_TestBit(ImBitVector* self,int n); CIMGUI_API void ImBitVector_SetBit(ImBitVector* self,int n); CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n); +CIMGUI_API void ImGuiTextIndex_clear(ImGuiTextIndex* self); +CIMGUI_API int ImGuiTextIndex_size(ImGuiTextIndex* self); +CIMGUI_API const char* ImGuiTextIndex_get_line_begin(ImGuiTextIndex* self,const char* base,int n); +CIMGUI_API const char* ImGuiTextIndex_get_line_end(ImGuiTextIndex* self,const char* base,int n); +CIMGUI_API void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int old_size,int new_size); CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void); CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self); CIMGUI_API void ImDrawListSharedData_SetCircleTessellationMaxError(ImDrawListSharedData* self,float max_error); @@ -3474,10 +3867,10 @@ CIMGUI_API void ImDrawDataBuilder_Clear(ImDrawDataBuilder* self); CIMGUI_API void ImDrawDataBuilder_ClearFreeMemory(ImDrawDataBuilder* self); CIMGUI_API int ImDrawDataBuilder_GetDrawListCount(ImDrawDataBuilder* self); CIMGUI_API void ImDrawDataBuilder_FlattenIntoSingleLayer(ImDrawDataBuilder* self); -CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModInt(ImGuiStyleVar idx,int v); +CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v); CIMGUI_API void ImGuiStyleMod_destroy(ImGuiStyleMod* self); -CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModFloat(ImGuiStyleVar idx,float v); -CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModVec2(ImGuiStyleVar idx,ImVec2 v); +CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Float(ImGuiStyleVar idx,float v); +CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Vec2(ImGuiStyleVar idx,ImVec2 v); CIMGUI_API ImGuiComboPreviewData* ImGuiComboPreviewData_ImGuiComboPreviewData(void); CIMGUI_API void ImGuiComboPreviewData_destroy(ImGuiComboPreviewData* self); CIMGUI_API ImGuiMenuColumns* ImGuiMenuColumns_ImGuiMenuColumns(void); @@ -3514,9 +3907,18 @@ CIMGUI_API ImGuiStackSizes* ImGuiStackSizes_ImGuiStackSizes(void); CIMGUI_API void ImGuiStackSizes_destroy(ImGuiStackSizes* self); CIMGUI_API void ImGuiStackSizes_SetToCurrentState(ImGuiStackSizes* self); CIMGUI_API void ImGuiStackSizes_CompareWithCurrentState(ImGuiStackSizes* self); -CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr(void* ptr); +CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr); CIMGUI_API void ImGuiPtrOrIndex_destroy(ImGuiPtrOrIndex* self); -CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndexInt(int index); +CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index); +CIMGUI_API ImGuiInputEvent* ImGuiInputEvent_ImGuiInputEvent(void); +CIMGUI_API void ImGuiInputEvent_destroy(ImGuiInputEvent* self); +CIMGUI_API ImGuiKeyRoutingData* ImGuiKeyRoutingData_ImGuiKeyRoutingData(void); +CIMGUI_API void ImGuiKeyRoutingData_destroy(ImGuiKeyRoutingData* self); +CIMGUI_API ImGuiKeyRoutingTable* ImGuiKeyRoutingTable_ImGuiKeyRoutingTable(void); +CIMGUI_API void ImGuiKeyRoutingTable_destroy(ImGuiKeyRoutingTable* self); +CIMGUI_API void ImGuiKeyRoutingTable_Clear(ImGuiKeyRoutingTable* self); +CIMGUI_API ImGuiKeyOwnerData* ImGuiKeyOwnerData_ImGuiKeyOwnerData(void); +CIMGUI_API void ImGuiKeyOwnerData_destroy(ImGuiKeyOwnerData* self); CIMGUI_API ImGuiListClipperRange ImGuiListClipperRange_FromIndices(int min,int max); CIMGUI_API ImGuiListClipperRange ImGuiListClipperRange_FromPositions(float y1,float y2,int off_min,int off_max); CIMGUI_API ImGuiListClipperData* ImGuiListClipperData_ImGuiListClipperData(void); @@ -3571,12 +3973,9 @@ CIMGUI_API ImGuiContext* ImGuiContext_ImGuiContext(ImFontAtlas* shared_font_atla CIMGUI_API void ImGuiContext_destroy(ImGuiContext* self); CIMGUI_API ImGuiWindow* ImGuiWindow_ImGuiWindow(ImGuiContext* context,const char* name); CIMGUI_API void ImGuiWindow_destroy(ImGuiWindow* self); -CIMGUI_API ImGuiID ImGuiWindow_GetIDStr(ImGuiWindow* self,const char* str,const char* str_end); -CIMGUI_API ImGuiID ImGuiWindow_GetIDPtr(ImGuiWindow* self,const void* ptr); -CIMGUI_API ImGuiID ImGuiWindow_GetIDInt(ImGuiWindow* self,int n); -CIMGUI_API ImGuiID ImGuiWindow_GetIDNoKeepAliveStr(ImGuiWindow* self,const char* str,const char* str_end); -CIMGUI_API ImGuiID ImGuiWindow_GetIDNoKeepAlivePtr(ImGuiWindow* self,const void* ptr); -CIMGUI_API ImGuiID ImGuiWindow_GetIDNoKeepAliveInt(ImGuiWindow* self,int n); +CIMGUI_API ImGuiID ImGuiWindow_GetID_Str(ImGuiWindow* self,const char* str,const char* str_end); +CIMGUI_API ImGuiID ImGuiWindow_GetID_Ptr(ImGuiWindow* self,const void* ptr); +CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n); CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs); CIMGUI_API void ImGuiWindow_Rect(ImRect *pOut,ImGuiWindow* self); CIMGUI_API float ImGuiWindow_CalcFontSize(ImGuiWindow* self); @@ -3592,6 +3991,8 @@ CIMGUI_API int ImGuiTabBar_GetTabOrder(ImGuiTabBar* self,const ImGuiTabItem* tab CIMGUI_API const char* ImGuiTabBar_GetTabName(ImGuiTabBar* self,const ImGuiTabItem* tab); CIMGUI_API ImGuiTableColumn* ImGuiTableColumn_ImGuiTableColumn(void); CIMGUI_API void ImGuiTableColumn_destroy(ImGuiTableColumn* self); +CIMGUI_API ImGuiTableInstanceData* ImGuiTableInstanceData_ImGuiTableInstanceData(void); +CIMGUI_API void ImGuiTableInstanceData_destroy(ImGuiTableInstanceData* self); CIMGUI_API ImGuiTable* ImGuiTable_ImGuiTable(void); CIMGUI_API void ImGuiTable_destroy(ImGuiTable* self); CIMGUI_API ImGuiTableTempData* ImGuiTableTempData_ImGuiTableTempData(void); @@ -3611,9 +4012,9 @@ CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_par CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent); CIMGUI_API bool igIsWindowAbove(ImGuiWindow* potential_above,ImGuiWindow* potential_below); CIMGUI_API bool igIsWindowNavFocusable(ImGuiWindow* window); -CIMGUI_API void igSetWindowPosWindowPtr(ImGuiWindow* window,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeWindowPtr(ImGuiWindow* window,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedWindowPtr(ImGuiWindow* window,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowPos_WindowPtr(ImGuiWindow* window,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSize_WindowPtr(ImGuiWindow* window,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsed_WindowPtr(ImGuiWindow* window,bool collapsed,ImGuiCond cond); CIMGUI_API void igSetWindowHitTestHole(ImGuiWindow* window,const ImVec2 pos,const ImVec2 size); CIMGUI_API void igWindowRectAbsToRel(ImRect *pOut,ImGuiWindow* window,const ImRect r); CIMGUI_API void igWindowRectRelToAbs(ImRect *pOut,ImGuiWindow* window,const ImRect r); @@ -3627,9 +4028,10 @@ CIMGUI_API int igFindWindowDisplayIndex(ImGuiWindow* window); CIMGUI_API ImGuiWindow* igFindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window); CIMGUI_API void igSetCurrentFont(ImFont* font); CIMGUI_API ImFont* igGetDefaultFont(void); -CIMGUI_API ImDrawList* igGetForegroundDrawListWindowPtr(ImGuiWindow* window); -CIMGUI_API void igInitialize(ImGuiContext* context); -CIMGUI_API void igShutdown(ImGuiContext* context); +CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window); +CIMGUI_API void igInitialize(void); +CIMGUI_API void igShutdown(void); +CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs); CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(void); CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window); CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock_floating_node); @@ -3641,20 +4043,25 @@ CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType ty CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2 old_pos,const ImVec2 new_pos); CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale); CIMGUI_API void igDestroyPlatformWindow(ImGuiViewportP* viewport); +CIMGUI_API void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport); CIMGUI_API void igSetCurrentViewport(ImGuiWindow* window,ImGuiViewportP* viewport); CIMGUI_API const ImGuiPlatformMonitor* igGetViewportPlatformMonitor(ImGuiViewport* viewport); -CIMGUI_API void igMarkIniSettingsDirtyNil(void); -CIMGUI_API void igMarkIniSettingsDirtyWindowPtr(ImGuiWindow* window); +CIMGUI_API ImGuiViewportP* igFindHoveredViewportFromPlatformWindowStack(const ImVec2 mouse_platform_pos); +CIMGUI_API void igMarkIniSettingsDirty_Nil(void); +CIMGUI_API void igMarkIniSettingsDirty_WindowPtr(ImGuiWindow* window); CIMGUI_API void igClearIniSettings(void); CIMGUI_API ImGuiWindowSettings* igCreateNewWindowSettings(const char* name); CIMGUI_API ImGuiWindowSettings* igFindWindowSettings(ImGuiID id); CIMGUI_API ImGuiWindowSettings* igFindOrCreateWindowSettings(const char* name); +CIMGUI_API void igAddSettingsHandler(const ImGuiSettingsHandler* handler); +CIMGUI_API void igRemoveSettingsHandler(const char* type_name); CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name); -CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll); -CIMGUI_API void igSetScrollXWindowPtr(ImGuiWindow* window,float scroll_x); -CIMGUI_API void igSetScrollYWindowPtr(ImGuiWindow* window,float scroll_y); -CIMGUI_API void igSetScrollFromPosXWindowPtr(ImGuiWindow* window,float local_x,float center_x_ratio); -CIMGUI_API void igSetScrollFromPosYWindowPtr(ImGuiWindow* window,float local_y,float center_y_ratio); +CIMGUI_API void igLocalizeRegisterEntries(const ImGuiLocEntry* entries,int count); +CIMGUI_API const char* igLocalizeGetMsg(ImGuiLocKey key); +CIMGUI_API void igSetScrollX_WindowPtr(ImGuiWindow* window,float scroll_x); +CIMGUI_API void igSetScrollY_WindowPtr(ImGuiWindow* window,float scroll_y); +CIMGUI_API void igSetScrollFromPosX_WindowPtr(ImGuiWindow* window,float local_x,float center_x_ratio); +CIMGUI_API void igSetScrollFromPosY_WindowPtr(ImGuiWindow* window,float local_y,float center_y_ratio); CIMGUI_API void igScrollToItem(ImGuiScrollFlags flags); CIMGUI_API void igScrollToRect(ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags); CIMGUI_API void igScrollToRectEx(ImVec2 *pOut,ImGuiWindow* window,const ImRect rect,ImGuiScrollFlags flags); @@ -3673,8 +4080,8 @@ CIMGUI_API void igKeepAliveID(ImGuiID id); CIMGUI_API void igMarkItemEdited(ImGuiID id); CIMGUI_API void igPushOverrideID(ImGuiID id); CIMGUI_API ImGuiID igGetIDWithSeed(const char* str_id_begin,const char* str_id_end,ImGuiID seed); -CIMGUI_API void igItemSizeVec2(const ImVec2 size,float text_baseline_y); -CIMGUI_API void igItemSizeRect(const ImRect bb,float text_baseline_y); +CIMGUI_API void igItemSize_Vec2(const ImVec2 size,float text_baseline_y); +CIMGUI_API void igItemSize_Rect(const ImRect bb,float text_baseline_y); CIMGUI_API bool igItemAdd(const ImRect bb,ImGuiID id,const ImRect* nav_bb,ImGuiItemFlags extra_flags); CIMGUI_API bool igItemHoverable(const ImRect bb,ImGuiID id); CIMGUI_API bool igIsClippedEx(const ImRect bb,ImGuiID id); @@ -3696,7 +4103,7 @@ CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup); CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup); CIMGUI_API void igClosePopupsExceptModals(void); -CIMGUI_API bool igIsPopupOpenID(ImGuiID id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igIsPopupOpen_ID(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_flags); CIMGUI_API void igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags); CIMGUI_API void igGetPopupAllowedExtentRect(ImRect *pOut,ImGuiWindow* window); @@ -3719,25 +4126,42 @@ CIMGUI_API void igNavMoveRequestResolveWithLastItem(ImGuiNavItemData* result); CIMGUI_API void igNavMoveRequestCancel(void); CIMGUI_API void igNavMoveRequestApplyResult(void); CIMGUI_API void igNavMoveRequestTryWrapping(ImGuiWindow* window,ImGuiNavMoveFlags move_flags); -CIMGUI_API float igGetNavInputAmount(ImGuiNavInput n,ImGuiInputReadMode mode); -CIMGUI_API void igGetNavInputAmount2d(ImVec2 *pOut,ImGuiNavDirSourceFlags dir_sources,ImGuiInputReadMode mode,float slow_factor,float fast_factor); -CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate); CIMGUI_API void igActivateItem(ImGuiID id); +CIMGUI_API void igSetNavWindow(ImGuiWindow* window); CIMGUI_API void igSetNavID(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect rect_rel); -CIMGUI_API void igPushFocusScope(ImGuiID id); -CIMGUI_API void igPopFocusScope(void); -CIMGUI_API ImGuiID igGetFocusedFocusScope(void); -CIMGUI_API ImGuiID igGetFocusScope(void); -CIMGUI_API void igSetItemUsingMouseWheel(void); -CIMGUI_API void igSetActiveIdUsingNavAndKeys(void); -CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir); -CIMGUI_API bool igIsActiveIdUsingNavInput(ImGuiNavInput input); -CIMGUI_API bool igIsActiveIdUsingKey(ImGuiKey key); +CIMGUI_API bool igIsNamedKey(ImGuiKey key); +CIMGUI_API bool igIsNamedKeyOrModKey(ImGuiKey key); +CIMGUI_API bool igIsLegacyKey(ImGuiKey key); +CIMGUI_API bool igIsKeyboardKey(ImGuiKey key); +CIMGUI_API bool igIsGamepadKey(ImGuiKey key); +CIMGUI_API bool igIsMouseKey(ImGuiKey key); +CIMGUI_API bool igIsAliasKey(ImGuiKey key); +CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key); +CIMGUI_API ImGuiKeyData* igGetKeyData(ImGuiKey key); +CIMGUI_API void igGetKeyChordName(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size); +CIMGUI_API ImGuiKey igMouseButtonToKey(ImGuiMouseButton button); CIMGUI_API bool igIsMouseDragPastThreshold(ImGuiMouseButton button,float lock_threshold); -CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat); -CIMGUI_API bool igIsNavInputDown(ImGuiNavInput n); -CIMGUI_API bool igIsNavInputTest(ImGuiNavInput n,ImGuiInputReadMode rm); -CIMGUI_API ImGuiKeyModFlags igGetMergedKeyModFlags(void); +CIMGUI_API void igGetKeyVector2d(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down); +CIMGUI_API float igGetNavTweakPressedAmount(ImGuiAxis axis); +CIMGUI_API int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate); +CIMGUI_API void igGetTypematicRepeatRate(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate); +CIMGUI_API void igSetActiveIdUsingAllKeyboardKeys(void); +CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir); +CIMGUI_API ImGuiID igGetKeyOwner(ImGuiKey key); +CIMGUI_API void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags); +CIMGUI_API void igSetItemKeyOwner(ImGuiKey key,ImGuiInputFlags flags); +CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id); +CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiKey key); +CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id); +CIMGUI_API bool igIsKeyPressed_ID(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags); +CIMGUI_API bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id); +CIMGUI_API bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id); +CIMGUI_API bool igIsMouseClicked_ID(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags); +CIMGUI_API bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id); +CIMGUI_API bool igShortcut(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags); +CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags); +CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id); +CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord); CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx); CIMGUI_API void igDockContextShutdown(ImGuiContext* ctx); CIMGUI_API void igDockContextClearNodes(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs); @@ -3749,7 +4173,8 @@ CIMGUI_API ImGuiID igDockContextGenNodeID(ImGuiContext* ctx); CIMGUI_API void igDockContextQueueDock(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer); CIMGUI_API void igDockContextQueueUndockWindow(ImGuiContext* ctx,ImGuiWindow* window); CIMGUI_API void igDockContextQueueUndockNode(ImGuiContext* ctx,ImGuiDockNode* node); -CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos); +CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos); +CIMGUI_API ImGuiDockNode* igDockContextFindNodeByID(ImGuiContext* ctx,ImGuiID id); CIMGUI_API bool igDockNodeBeginAmendTabBar(ImGuiDockNode* node); CIMGUI_API void igDockNodeEndAmendTabBar(void); CIMGUI_API ImGuiDockNode* igDockNodeGetRootNode(ImGuiDockNode* node); @@ -3776,9 +4201,14 @@ CIMGUI_API void igDockBuilderCopyDockSpace(ImGuiID src_dockspace_id,ImGuiID dst_ CIMGUI_API void igDockBuilderCopyNode(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector_ImGuiID* out_node_remap_pairs); CIMGUI_API void igDockBuilderCopyWindowSettings(const char* src_name,const char* dst_name); CIMGUI_API void igDockBuilderFinish(ImGuiID node_id); +CIMGUI_API void igPushFocusScope(ImGuiID id); +CIMGUI_API void igPopFocusScope(void); +CIMGUI_API ImGuiID igGetCurrentFocusScope(void); +CIMGUI_API bool igIsDragDropActive(void); CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect bb,ImGuiID id); CIMGUI_API void igClearDragDrop(void); CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void); +CIMGUI_API void igRenderDragDropTargetRect(const ImRect bb); CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect); CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiOldColumnFlags flags); CIMGUI_API void igEndColumns(void); @@ -3807,7 +4237,9 @@ CIMGUI_API void igTableUpdateBorders(ImGuiTable* table); CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table); CIMGUI_API void igTableDrawBorders(ImGuiTable* table); CIMGUI_API void igTableDrawContextMenu(ImGuiTable* table); +CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table); CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table); +CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no); CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table); CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table); CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column); @@ -3818,20 +4250,20 @@ CIMGUI_API void igTableEndRow(ImGuiTable* table); CIMGUI_API void igTableBeginCell(ImGuiTable* table,int column_n); CIMGUI_API void igTableEndCell(ImGuiTable* table); CIMGUI_API void igTableGetCellBgRect(ImRect *pOut,const ImGuiTable* table,int column_n); -CIMGUI_API const char* igTableGetColumnNameTablePtr(const ImGuiTable* table,int column_n); +CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n); CIMGUI_API ImGuiID igTableGetColumnResizeID(const ImGuiTable* table,int column_n,int instance_no); CIMGUI_API float igTableGetMaxColumnWidth(const ImGuiTable* table,int column_n); CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n); CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table); CIMGUI_API void igTableRemove(ImGuiTable* table); -CIMGUI_API void igTableGcCompactTransientBuffersTablePtr(ImGuiTable* table); -CIMGUI_API void igTableGcCompactTransientBuffersTableTempDataPtr(ImGuiTableTempData* table); +CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table); +CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table); CIMGUI_API void igTableGcCompactSettings(void); CIMGUI_API void igTableLoadSettings(ImGuiTable* table); CIMGUI_API void igTableSaveSettings(ImGuiTable* table); CIMGUI_API void igTableResetSettings(ImGuiTable* table); CIMGUI_API ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table); -CIMGUI_API void igTableSettingsInstallHandler(ImGuiContext* context); +CIMGUI_API void igTableSettingsAddSettingsHandler(void); CIMGUI_API ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count); CIMGUI_API ImGuiTableSettings* igTableSettingsFindByID(ImGuiID id); CIMGUI_API bool igBeginTabBarEx(ImGuiTabBar* tab_bar,const ImRect bb,ImGuiTabBarFlags flags,ImGuiDockNode* dock_node); @@ -3844,7 +4276,8 @@ CIMGUI_API void igTabBarQueueReorder(ImGuiTabBar* tab_bar,const ImGuiTabItem* ta CIMGUI_API void igTabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar,const ImGuiTabItem* tab,ImVec2 mouse_pos); CIMGUI_API bool igTabBarProcessReorder(ImGuiTabBar* tab_bar); CIMGUI_API bool igTabItemEx(ImGuiTabBar* tab_bar,const char* label,bool* p_open,ImGuiTabItemFlags flags,ImGuiWindow* docked_window); -CIMGUI_API void igTabItemCalcSize(ImVec2 *pOut,const char* label,bool has_close_button); +CIMGUI_API void igTabItemCalcSize_Str(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker); +CIMGUI_API void igTabItemCalcSize_WindowPtr(ImVec2 *pOut,ImGuiWindow* window); CIMGUI_API void igTabItemBackground(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImU32 col); CIMGUI_API void igTabItemLabelAndCloseButton(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible,bool* out_just_closed,bool* out_text_clipped); CIMGUI_API void igRenderText(ImVec2 pos,const char* text,const char* text_end,bool hide_text_after_hash); @@ -3857,14 +4290,14 @@ CIMGUI_API void igRenderFrameBorder(ImVec2 p_min,ImVec2 p_max,float rounding); CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding,ImDrawFlags flags); CIMGUI_API void igRenderNavHighlight(const ImRect bb,ImGuiID id,ImGuiNavHighlightFlags flags); CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end); +CIMGUI_API void igRenderMouseCursor(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow); CIMGUI_API void igRenderArrow(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDir dir,float scale); CIMGUI_API void igRenderBullet(ImDrawList* draw_list,ImVec2 pos,ImU32 col); CIMGUI_API void igRenderCheckMark(ImDrawList* draw_list,ImVec2 pos,ImU32 col,float sz); -CIMGUI_API void igRenderMouseCursor(ImDrawList* draw_list,ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow); CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col); CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col); CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding); -CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding); +CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding); CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect r_in,const ImRect r_outer,float threshold); CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags); CIMGUI_API bool igButtonEx(const char* label,const ImVec2 size_arg,ImGuiButtonFlags flags); @@ -3873,25 +4306,26 @@ CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags); CIMGUI_API void igScrollbar(ImGuiAxis axis); CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags flags); -CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col); +CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis); CIMGUI_API ImGuiID igGetWindowScrollbarID(ImGuiWindow* window,ImGuiAxis axis); CIMGUI_API ImGuiID igGetWindowResizeCornerID(ImGuiWindow* window,int n); CIMGUI_API ImGuiID igGetWindowResizeBorderID(ImGuiWindow* window,ImGuiDir dir); CIMGUI_API void igSeparatorEx(ImGuiSeparatorFlags flags); -CIMGUI_API bool igCheckboxFlagsS64Ptr(const char* label,ImS64* flags,ImS64 flags_value); -CIMGUI_API bool igCheckboxFlagsU64Ptr(const char* label,ImU64* flags,ImU64 flags_value); +CIMGUI_API bool igCheckboxFlags_S64Ptr(const char* label,ImS64* flags,ImS64 flags_value); +CIMGUI_API bool igCheckboxFlags_U64Ptr(const char* label,ImU64* flags,ImU64 flags_value); CIMGUI_API bool igButtonBehavior(const ImRect bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags); CIMGUI_API bool igDragBehavior(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags); CIMGUI_API bool igSliderBehavior(const ImRect bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb); CIMGUI_API bool igSplitterBehavior(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend,float hover_visibility_delay,ImU32 bg_col); CIMGUI_API bool igTreeNodeBehavior(ImGuiID id,ImGuiTreeNodeFlags flags,const char* label,const char* label_end); -CIMGUI_API bool igTreeNodeBehaviorIsOpen(ImGuiID id,ImGuiTreeNodeFlags flags); CIMGUI_API void igTreePushOverrideID(ImGuiID id); +CIMGUI_API void igTreeNodeSetOpen(ImGuiID id,bool open); +CIMGUI_API bool igTreeNodeUpdateNextOpen(ImGuiID id,ImGuiTreeNodeFlags flags); CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type); CIMGUI_API int igDataTypeFormatString(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format); CIMGUI_API void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2); -CIMGUI_API bool igDataTypeApplyOpFromText(const char* buf,const char* initial_value_buf,ImGuiDataType data_type,void* p_data,const char* format); +CIMGUI_API bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format); CIMGUI_API int igDataTypeCompare(ImGuiDataType data_type,const void* arg_1,const void* arg_2); CIMGUI_API bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max); CIMGUI_API bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data); @@ -3908,8 +4342,14 @@ CIMGUI_API void igShadeVertsLinearUV(ImDrawList* draw_list,int vert_start_idx,in CIMGUI_API void igGcCompactTransientMiscBuffers(void); CIMGUI_API void igGcCompactTransientWindowBuffers(ImGuiWindow* window); CIMGUI_API void igGcAwakeTransientWindowBuffers(ImGuiWindow* window); +CIMGUI_API void igDebugLog(const char* fmt,...); +CIMGUI_API void igDebugLogV(const char* fmt,va_list args); CIMGUI_API void igErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback,void* user_data); CIMGUI_API void igErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback,void* user_data); +CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries(void); +CIMGUI_API void igDebugLocateItem(ImGuiID target_id); +CIMGUI_API void igDebugLocateItemOnHover(ImGuiID target_id); +CIMGUI_API void igDebugLocateItemResolveWithLastItem(void); CIMGUI_API void igDebugDrawItemRect(ImU32 col); CIMGUI_API void igDebugStartItemPicker(void); CIMGUI_API void igShowFontAtlas(ImFontAtlas* atlas); @@ -3919,16 +4359,19 @@ CIMGUI_API void igDebugNodeDockNode(ImGuiDockNode* node,const char* label); CIMGUI_API void igDebugNodeDrawList(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label); CIMGUI_API void igDebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd,bool show_mesh,bool show_aabb); CIMGUI_API void igDebugNodeFont(ImFont* font); +CIMGUI_API void igDebugNodeFontGlyph(ImFont* font,const ImFontGlyph* glyph); CIMGUI_API void igDebugNodeStorage(ImGuiStorage* storage,const char* label); CIMGUI_API void igDebugNodeTabBar(ImGuiTabBar* tab_bar,const char* label); CIMGUI_API void igDebugNodeTable(ImGuiTable* table); CIMGUI_API void igDebugNodeTableSettings(ImGuiTableSettings* settings); +CIMGUI_API void igDebugNodeInputTextState(ImGuiInputTextState* state); CIMGUI_API void igDebugNodeWindow(ImGuiWindow* window,const char* label); CIMGUI_API void igDebugNodeWindowSettings(ImGuiWindowSettings* settings); CIMGUI_API void igDebugNodeWindowsList(ImVector_ImGuiWindowPtr* windows,const char* label); CIMGUI_API void igDebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack); CIMGUI_API void igDebugNodeViewport(ImGuiViewportP* viewport); CIMGUI_API void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect bb); +CIMGUI_API bool igIsKeyPressedMap(ImGuiKey key,bool repeat); CIMGUI_API const ImFontBuilderIO* igImFontAtlasGetBuilderForStbTruetype(void); CIMGUI_API void igImFontAtlasBuildInit(ImFontAtlas* atlas); CIMGUI_API void igImFontAtlasBuildSetupFont(ImFontAtlas* atlas,ImFont* font,ImFontConfig* font_config,float ascent,float descent); @@ -3946,12 +4389,12 @@ CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); //for getting FLT_MAX in bindings -CIMGUI_API float igGET_FLT_MAX(); +CIMGUI_API float igGET_FLT_MAX(void); //for getting FLT_MIN in bindings -CIMGUI_API float igGET_FLT_MIN(); +CIMGUI_API float igGET_FLT_MIN(void); -CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create(); +CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create(void); CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self); CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p); CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p); diff --git a/imgui-sys/third-party/imgui-docking/cimgui_impl.h b/imgui-sys/third-party/imgui-docking/cimgui_impl.h index e69de29..597cca0 100644 --- a/imgui-sys/third-party/imgui-docking/cimgui_impl.h +++ b/imgui-sys/third-party/imgui-docking/cimgui_impl.h @@ -0,0 +1,60 @@ +#ifdef CIMGUI_USE_GLFW + +typedef struct GLFWwindow GLFWwindow; +typedef struct GLFWmonitor GLFWmonitor; +struct GLFWwindow; +struct GLFWmonitor;CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks); +CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks); +CIMGUI_API bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks); +CIMGUI_API void ImGui_ImplGlfw_Shutdown(void); +CIMGUI_API void ImGui_ImplGlfw_NewFrame(void); +CIMGUI_API void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window); +CIMGUI_API void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window); +CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused); +CIMGUI_API void ImGui_ImplGlfw_CursorEnterCallback(GLFWwindow* window,int entered); +CIMGUI_API void ImGui_ImplGlfw_CursorPosCallback(GLFWwindow* window,double x,double y); +CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset); +CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c); +CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event); + +#endif +#ifdef CIMGUI_USE_OPENGL3 +CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version); +CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(void); +CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void); +CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateFontsTexture(void); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyFontsTexture(void); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void); + +#endif +#ifdef CIMGUI_USE_OPENGL2 +CIMGUI_API bool ImGui_ImplOpenGL2_Init(void); +CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(void); +CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(void); +CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateFontsTexture(void); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyFontsTexture(void); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(void); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(void); + +#endif +#ifdef CIMGUI_USE_SDL + +typedef struct SDL_Window SDL_Window; +typedef struct SDL_Renderer SDL_Renderer; +struct SDL_Window; +struct SDL_Renderer; +typedef union SDL_Event SDL_Event;CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context); +CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_InitForMetal(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer); +CIMGUI_API void ImGui_ImplSDL2_Shutdown(void); +CIMGUI_API void ImGui_ImplSDL2_NewFrame(void); +CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event); + +#endif diff --git a/imgui-sys/third-party/imgui-docking/definitions.json b/imgui-sys/third-party/imgui-docking/definitions.json index f15cb17..bd455eb 100644 --- a/imgui-sys/third-party/imgui-docking/definitions.json +++ b/imgui-sys/third-party/imgui-docking/definitions.json @@ -13,7 +13,7 @@ "cimguiname": "ImBitArray_ClearAllBits", "defaults": {}, "funcname": "ClearAllBits", - "location": "imgui_internal:560", + "location": "imgui_internal:582", "ov_cimguiname": "ImBitArray_ClearAllBits", "ret": "void", "signature": "()", @@ -39,7 +39,7 @@ "cimguiname": "ImBitArray_ClearBit", "defaults": {}, "funcname": "ClearBit", - "location": "imgui_internal:564", + "location": "imgui_internal:586", "ov_cimguiname": "ImBitArray_ClearBit", "ret": "void", "signature": "(int)", @@ -57,7 +57,7 @@ "constructor": true, "defaults": {}, "funcname": "ImBitArray", - "location": "imgui_internal:559", + "location": "imgui_internal:581", "ov_cimguiname": "ImBitArray_ImBitArray", "signature": "()", "stname": "ImBitArray", @@ -78,7 +78,7 @@ "cimguiname": "ImBitArray_SetAllBits", "defaults": {}, "funcname": "SetAllBits", - "location": "imgui_internal:561", + "location": "imgui_internal:583", "ov_cimguiname": "ImBitArray_SetAllBits", "ret": "void", "signature": "()", @@ -104,7 +104,7 @@ "cimguiname": "ImBitArray_SetBit", "defaults": {}, "funcname": "SetBit", - "location": "imgui_internal:563", + "location": "imgui_internal:585", "ov_cimguiname": "ImBitArray_SetBit", "ret": "void", "signature": "(int)", @@ -134,7 +134,7 @@ "cimguiname": "ImBitArray_SetBitRange", "defaults": {}, "funcname": "SetBitRange", - "location": "imgui_internal:565", + "location": "imgui_internal:587", "ov_cimguiname": "ImBitArray_SetBitRange", "ret": "void", "signature": "(int,int)", @@ -160,7 +160,7 @@ "cimguiname": "ImBitArray_TestBit", "defaults": {}, "funcname": "TestBit", - "location": "imgui_internal:562", + "location": "imgui_internal:584", "ov_cimguiname": "ImBitArray_TestBit", "ret": "bool", "signature": "(int)const", @@ -202,7 +202,7 @@ "cimguiname": "ImBitVector_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui_internal:574", + "location": "imgui_internal:597", "ov_cimguiname": "ImBitVector_Clear", "ret": "void", "signature": "()", @@ -227,7 +227,7 @@ "cimguiname": "ImBitVector_ClearBit", "defaults": {}, "funcname": "ClearBit", - "location": "imgui_internal:577", + "location": "imgui_internal:600", "ov_cimguiname": "ImBitVector_ClearBit", "ret": "void", "signature": "(int)", @@ -252,7 +252,7 @@ "cimguiname": "ImBitVector_Create", "defaults": {}, "funcname": "Create", - "location": "imgui_internal:573", + "location": "imgui_internal:596", "ov_cimguiname": "ImBitVector_Create", "ret": "void", "signature": "(int)", @@ -277,7 +277,7 @@ "cimguiname": "ImBitVector_SetBit", "defaults": {}, "funcname": "SetBit", - "location": "imgui_internal:576", + "location": "imgui_internal:599", "ov_cimguiname": "ImBitVector_SetBit", "ret": "void", "signature": "(int)", @@ -302,7 +302,7 @@ "cimguiname": "ImBitVector_TestBit", "defaults": {}, "funcname": "TestBit", - "location": "imgui_internal:575", + "location": "imgui_internal:598", "ov_cimguiname": "ImBitVector_TestBit", "ret": "bool", "signature": "(int)const", @@ -327,7 +327,7 @@ "cimguiname": "ImChunkStream_alloc_chunk", "defaults": {}, "funcname": "alloc_chunk", - "location": "imgui_internal:680", + "location": "imgui_internal:703", "ov_cimguiname": "ImChunkStream_alloc_chunk", "ret": "T*", "signature": "(size_t)", @@ -349,7 +349,7 @@ "cimguiname": "ImChunkStream_begin", "defaults": {}, "funcname": "begin", - "location": "imgui_internal:681", + "location": "imgui_internal:704", "ov_cimguiname": "ImChunkStream_begin", "ret": "T*", "signature": "()", @@ -375,7 +375,7 @@ "cimguiname": "ImChunkStream_chunk_size", "defaults": {}, "funcname": "chunk_size", - "location": "imgui_internal:683", + "location": "imgui_internal:706", "ov_cimguiname": "ImChunkStream_chunk_size", "ret": "int", "signature": "(const T*)", @@ -397,7 +397,7 @@ "cimguiname": "ImChunkStream_clear", "defaults": {}, "funcname": "clear", - "location": "imgui_internal:677", + "location": "imgui_internal:700", "ov_cimguiname": "ImChunkStream_clear", "ret": "void", "signature": "()", @@ -419,7 +419,7 @@ "cimguiname": "ImChunkStream_empty", "defaults": {}, "funcname": "empty", - "location": "imgui_internal:678", + "location": "imgui_internal:701", "ov_cimguiname": "ImChunkStream_empty", "ret": "bool", "signature": "()const", @@ -441,7 +441,7 @@ "cimguiname": "ImChunkStream_end", "defaults": {}, "funcname": "end", - "location": "imgui_internal:684", + "location": "imgui_internal:707", "ov_cimguiname": "ImChunkStream_end", "ret": "T*", "signature": "()", @@ -467,7 +467,7 @@ "cimguiname": "ImChunkStream_next_chunk", "defaults": {}, "funcname": "next_chunk", - "location": "imgui_internal:682", + "location": "imgui_internal:705", "ov_cimguiname": "ImChunkStream_next_chunk", "ret": "T*", "signature": "(T*)", @@ -493,7 +493,7 @@ "cimguiname": "ImChunkStream_offset_from_ptr", "defaults": {}, "funcname": "offset_from_ptr", - "location": "imgui_internal:685", + "location": "imgui_internal:708", "ov_cimguiname": "ImChunkStream_offset_from_ptr", "ret": "int", "signature": "(const T*)", @@ -519,7 +519,7 @@ "cimguiname": "ImChunkStream_ptr_from_offset", "defaults": {}, "funcname": "ptr_from_offset", - "location": "imgui_internal:686", + "location": "imgui_internal:709", "ov_cimguiname": "ImChunkStream_ptr_from_offset", "ret": "T*", "signature": "(int)", @@ -541,7 +541,7 @@ "cimguiname": "ImChunkStream_size", "defaults": {}, "funcname": "size", - "location": "imgui_internal:679", + "location": "imgui_internal:702", "ov_cimguiname": "ImChunkStream_size", "ret": "int", "signature": "()const", @@ -551,7 +551,7 @@ ], "ImChunkStream_swap": [ { - "args": "(ImChunkStream* self,ImChunkStream* rhs)", + "args": "(ImChunkStream* self,ImChunkStream_T * rhs)", "argsT": [ { "name": "self", @@ -560,7 +560,7 @@ { "name": "rhs", "reftoptr": true, - "type": "ImChunkStream*" + "type": "ImChunkStream_T *" } ], "argsoriginal": "(ImChunkStream& rhs)", @@ -568,10 +568,10 @@ "cimguiname": "ImChunkStream_swap", "defaults": {}, "funcname": "swap", - "location": "imgui_internal:687", + "location": "imgui_internal:710", "ov_cimguiname": "ImChunkStream_swap", "ret": "void", - "signature": "(ImChunkStream*)", + "signature": "(ImChunkStream_T *)", "stname": "ImChunkStream", "templated": true } @@ -609,7 +609,7 @@ }, "funcname": "HSV", "is_static_function": true, - "location": "imgui:2361", + "location": "imgui:2472", "nonUDT": 1, "ov_cimguiname": "ImColor_HSV", "ret": "void", @@ -627,63 +627,11 @@ "constructor": true, "defaults": {}, "funcname": "ImColor", - "location": "imgui:2351", - "ov_cimguiname": "ImColor_ImColorNil", + "location": "imgui:2462", + "ov_cimguiname": "ImColor_ImColor_Nil", "signature": "()", "stname": "ImColor" }, - { - "args": "(int r,int g,int b,int a)", - "argsT": [ - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "a", - "type": "int" - } - ], - "argsoriginal": "(int r,int g,int b,int a=255)", - "call_args": "(r,g,b,a)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": { - "a": "255" - }, - "funcname": "ImColor", - "location": "imgui:2352", - "ov_cimguiname": "ImColor_ImColorInt", - "signature": "(int,int,int,int)", - "stname": "ImColor" - }, - { - "args": "(ImU32 rgba)", - "argsT": [ - { - "name": "rgba", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 rgba)", - "call_args": "(rgba)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": {}, - "funcname": "ImColor", - "location": "imgui:2353", - "ov_cimguiname": "ImColor_ImColorU32", - "signature": "(ImU32)", - "stname": "ImColor" - }, { "args": "(float r,float g,float b,float a)", "argsT": [ @@ -712,8 +660,8 @@ "a": "1.0f" }, "funcname": "ImColor", - "location": "imgui:2354", - "ov_cimguiname": "ImColor_ImColorFloat", + "location": "imgui:2463", + "ov_cimguiname": "ImColor_ImColor_Float", "signature": "(float,float,float,float)", "stname": "ImColor" }, @@ -731,10 +679,62 @@ "constructor": true, "defaults": {}, "funcname": "ImColor", - "location": "imgui:2355", - "ov_cimguiname": "ImColor_ImColorVec4", + "location": "imgui:2464", + "ov_cimguiname": "ImColor_ImColor_Vec4", "signature": "(const ImVec4)", "stname": "ImColor" + }, + { + "args": "(int r,int g,int b,int a)", + "argsT": [ + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "a", + "type": "int" + } + ], + "argsoriginal": "(int r,int g,int b,int a=255)", + "call_args": "(r,g,b,a)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": { + "a": "255" + }, + "funcname": "ImColor", + "location": "imgui:2465", + "ov_cimguiname": "ImColor_ImColor_Int", + "signature": "(int,int,int,int)", + "stname": "ImColor" + }, + { + "args": "(ImU32 rgba)", + "argsT": [ + { + "name": "rgba", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 rgba)", + "call_args": "(rgba)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": {}, + "funcname": "ImColor", + "location": "imgui:2466", + "ov_cimguiname": "ImColor_ImColor_U32", + "signature": "(ImU32)", + "stname": "ImColor" } ], "ImColor_SetHSV": [ @@ -769,7 +769,7 @@ "a": "1.0f" }, "funcname": "SetHSV", - "location": "imgui:2360", + "location": "imgui:2471", "ov_cimguiname": "ImColor_SetHSV", "ret": "void", "signature": "(float,float,float,float)", @@ -809,7 +809,7 @@ "cimguiname": "ImDrawCmd_GetTexID", "defaults": {}, "funcname": "GetTexID", - "location": "imgui:2409", + "location": "imgui:2520", "ov_cimguiname": "ImDrawCmd_GetTexID", "ret": "ImTextureID", "signature": "()const", @@ -826,7 +826,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawCmd", - "location": "imgui:2406", + "location": "imgui:2517", "ov_cimguiname": "ImDrawCmd_ImDrawCmd", "signature": "()", "stname": "ImDrawCmd" @@ -865,7 +865,7 @@ "cimguiname": "ImDrawDataBuilder_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui_internal:747", + "location": "imgui_internal:786", "ov_cimguiname": "ImDrawDataBuilder_Clear", "ret": "void", "signature": "()", @@ -886,7 +886,7 @@ "cimguiname": "ImDrawDataBuilder_ClearFreeMemory", "defaults": {}, "funcname": "ClearFreeMemory", - "location": "imgui_internal:748", + "location": "imgui_internal:787", "ov_cimguiname": "ImDrawDataBuilder_ClearFreeMemory", "ret": "void", "signature": "()", @@ -907,7 +907,7 @@ "cimguiname": "ImDrawDataBuilder_FlattenIntoSingleLayer", "defaults": {}, "funcname": "FlattenIntoSingleLayer", - "location": "imgui_internal:750", + "location": "imgui_internal:789", "ov_cimguiname": "ImDrawDataBuilder_FlattenIntoSingleLayer", "ret": "void", "signature": "()", @@ -928,7 +928,7 @@ "cimguiname": "ImDrawDataBuilder_GetDrawListCount", "defaults": {}, "funcname": "GetDrawListCount", - "location": "imgui_internal:749", + "location": "imgui_internal:788", "ov_cimguiname": "ImDrawDataBuilder_GetDrawListCount", "ret": "int", "signature": "()const", @@ -949,7 +949,7 @@ "cimguiname": "ImDrawData_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2641", + "location": "imgui:2754", "ov_cimguiname": "ImDrawData_Clear", "ret": "void", "signature": "()", @@ -970,7 +970,7 @@ "cimguiname": "ImDrawData_DeIndexAllBuffers", "defaults": {}, "funcname": "DeIndexAllBuffers", - "location": "imgui:2642", + "location": "imgui:2755", "ov_cimguiname": "ImDrawData_DeIndexAllBuffers", "ret": "void", "signature": "()", @@ -987,7 +987,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawData", - "location": "imgui:2640", + "location": "imgui:2753", "ov_cimguiname": "ImDrawData_ImDrawData", "signature": "()", "stname": "ImDrawData" @@ -1011,7 +1011,7 @@ "cimguiname": "ImDrawData_ScaleClipRects", "defaults": {}, "funcname": "ScaleClipRects", - "location": "imgui:2643", + "location": "imgui:2756", "ov_cimguiname": "ImDrawData_ScaleClipRects", "ret": "void", "signature": "(const ImVec2)", @@ -1047,7 +1047,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawListSharedData", - "location": "imgui_internal:739", + "location": "imgui_internal:778", "ov_cimguiname": "ImDrawListSharedData_ImDrawListSharedData", "signature": "()", "stname": "ImDrawListSharedData" @@ -1071,7 +1071,7 @@ "cimguiname": "ImDrawListSharedData_SetCircleTessellationMaxError", "defaults": {}, "funcname": "SetCircleTessellationMaxError", - "location": "imgui_internal:740", + "location": "imgui_internal:779", "ov_cimguiname": "ImDrawListSharedData_SetCircleTessellationMaxError", "ret": "void", "signature": "(float)", @@ -1111,7 +1111,7 @@ "cimguiname": "ImDrawListSplitter_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2454", + "location": "imgui:2565", "ov_cimguiname": "ImDrawListSplitter_Clear", "ret": "void", "signature": "()", @@ -1132,7 +1132,7 @@ "cimguiname": "ImDrawListSplitter_ClearFreeMemory", "defaults": {}, "funcname": "ClearFreeMemory", - "location": "imgui:2455", + "location": "imgui:2566", "ov_cimguiname": "ImDrawListSplitter_ClearFreeMemory", "ret": "void", "signature": "()", @@ -1149,7 +1149,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawListSplitter", - "location": "imgui:2452", + "location": "imgui:2563", "ov_cimguiname": "ImDrawListSplitter_ImDrawListSplitter", "signature": "()", "stname": "ImDrawListSplitter" @@ -1173,7 +1173,7 @@ "cimguiname": "ImDrawListSplitter_Merge", "defaults": {}, "funcname": "Merge", - "location": "imgui:2457", + "location": "imgui:2568", "ov_cimguiname": "ImDrawListSplitter_Merge", "ret": "void", "signature": "(ImDrawList*)", @@ -1202,7 +1202,7 @@ "cimguiname": "ImDrawListSplitter_SetCurrentChannel", "defaults": {}, "funcname": "SetCurrentChannel", - "location": "imgui:2458", + "location": "imgui:2569", "ov_cimguiname": "ImDrawListSplitter_SetCurrentChannel", "ret": "void", "signature": "(ImDrawList*,int)", @@ -1231,7 +1231,7 @@ "cimguiname": "ImDrawListSplitter_Split", "defaults": {}, "funcname": "Split", - "location": "imgui:2456", + "location": "imgui:2567", "ov_cimguiname": "ImDrawListSplitter_Split", "ret": "void", "signature": "(ImDrawList*,int)", @@ -1251,7 +1251,7 @@ "cimguiname": "ImDrawListSplitter_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2453", + "location": "imgui:2564", "ov_cimguiname": "ImDrawListSplitter_destroy", "realdestructor": true, "ret": "void", @@ -1303,7 +1303,7 @@ "num_segments": "0" }, "funcname": "AddBezierCubic", - "location": "imgui:2556", + "location": "imgui:2668", "ov_cimguiname": "ImDrawList_AddBezierCubic", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", @@ -1350,7 +1350,7 @@ "num_segments": "0" }, "funcname": "AddBezierQuadratic", - "location": "imgui:2557", + "location": "imgui:2669", "ov_cimguiname": "ImDrawList_AddBezierQuadratic", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", @@ -1379,7 +1379,7 @@ "cimguiname": "ImDrawList_AddCallback", "defaults": {}, "funcname": "AddCallback", - "location": "imgui:2580", + "location": "imgui:2693", "ov_cimguiname": "ImDrawList_AddCallback", "ret": "void", "signature": "(ImDrawCallback,void*)", @@ -1423,7 +1423,7 @@ "thickness": "1.0f" }, "funcname": "AddCircle", - "location": "imgui:2548", + "location": "imgui:2660", "ov_cimguiname": "ImDrawList_AddCircle", "ret": "void", "signature": "(const ImVec2,float,ImU32,int,float)", @@ -1462,7 +1462,7 @@ "num_segments": "0" }, "funcname": "AddCircleFilled", - "location": "imgui:2549", + "location": "imgui:2661", "ov_cimguiname": "ImDrawList_AddCircleFilled", "ret": "void", "signature": "(const ImVec2,float,ImU32,int)", @@ -1495,7 +1495,7 @@ "cimguiname": "ImDrawList_AddConvexPolyFilled", "defaults": {}, "funcname": "AddConvexPolyFilled", - "location": "imgui:2555", + "location": "imgui:2667", "ov_cimguiname": "ImDrawList_AddConvexPolyFilled", "ret": "void", "signature": "(const ImVec2*,int,ImU32)", @@ -1516,7 +1516,7 @@ "cimguiname": "ImDrawList_AddDrawCmd", "defaults": {}, "funcname": "AddDrawCmd", - "location": "imgui:2581", + "location": "imgui:2694", "ov_cimguiname": "ImDrawList_AddDrawCmd", "ret": "void", "signature": "()", @@ -1565,7 +1565,7 @@ "uv_min": "ImVec2(0,0)" }, "funcname": "AddImage", - "location": "imgui:2563", + "location": "imgui:2675", "ov_cimguiname": "ImDrawList_AddImage", "ret": "void", "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -1632,7 +1632,7 @@ "uv4": "ImVec2(0,1)" }, "funcname": "AddImageQuad", - "location": "imgui:2564", + "location": "imgui:2676", "ov_cimguiname": "ImDrawList_AddImageQuad", "ret": "void", "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -1687,7 +1687,7 @@ "flags": "0" }, "funcname": "AddImageRounded", - "location": "imgui:2565", + "location": "imgui:2677", "ov_cimguiname": "ImDrawList_AddImageRounded", "ret": "void", "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", @@ -1726,7 +1726,7 @@ "thickness": "1.0f" }, "funcname": "AddLine", - "location": "imgui:2540", + "location": "imgui:2652", "ov_cimguiname": "ImDrawList_AddLine", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,float)", @@ -1769,7 +1769,7 @@ "thickness": "1.0f" }, "funcname": "AddNgon", - "location": "imgui:2550", + "location": "imgui:2662", "ov_cimguiname": "ImDrawList_AddNgon", "ret": "void", "signature": "(const ImVec2,float,ImU32,int,float)", @@ -1806,7 +1806,7 @@ "cimguiname": "ImDrawList_AddNgonFilled", "defaults": {}, "funcname": "AddNgonFilled", - "location": "imgui:2551", + "location": "imgui:2663", "ov_cimguiname": "ImDrawList_AddNgonFilled", "ret": "void", "signature": "(const ImVec2,float,ImU32,int)", @@ -1847,7 +1847,7 @@ "cimguiname": "ImDrawList_AddPolyline", "defaults": {}, "funcname": "AddPolyline", - "location": "imgui:2554", + "location": "imgui:2666", "ov_cimguiname": "ImDrawList_AddPolyline", "ret": "void", "signature": "(const ImVec2*,int,ImU32,ImDrawFlags,float)", @@ -1894,7 +1894,7 @@ "thickness": "1.0f" }, "funcname": "AddQuad", - "location": "imgui:2544", + "location": "imgui:2656", "ov_cimguiname": "ImDrawList_AddQuad", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)", @@ -1935,7 +1935,7 @@ "cimguiname": "ImDrawList_AddQuadFilled", "defaults": {}, "funcname": "AddQuadFilled", - "location": "imgui:2545", + "location": "imgui:2657", "ov_cimguiname": "ImDrawList_AddQuadFilled", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -1984,7 +1984,7 @@ "thickness": "1.0f" }, "funcname": "AddRect", - "location": "imgui:2541", + "location": "imgui:2653", "ov_cimguiname": "ImDrawList_AddRect", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags,float)", @@ -2028,7 +2028,7 @@ "rounding": "0.0f" }, "funcname": "AddRectFilled", - "location": "imgui:2542", + "location": "imgui:2654", "ov_cimguiname": "ImDrawList_AddRectFilled", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", @@ -2073,7 +2073,7 @@ "cimguiname": "ImDrawList_AddRectFilledMultiColor", "defaults": {}, "funcname": "AddRectFilledMultiColor", - "location": "imgui:2543", + "location": "imgui:2655", "ov_cimguiname": "ImDrawList_AddRectFilledMultiColor", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)", @@ -2112,8 +2112,8 @@ "text_end": "NULL" }, "funcname": "AddText", - "location": "imgui:2552", - "ov_cimguiname": "ImDrawList_AddTextVec2", + "location": "imgui:2664", + "ov_cimguiname": "ImDrawList_AddText_Vec2", "ret": "void", "signature": "(const ImVec2,ImU32,const char*,const char*)", "stname": "ImDrawList" @@ -2167,8 +2167,8 @@ "wrap_width": "0.0f" }, "funcname": "AddText", - "location": "imgui:2553", - "ov_cimguiname": "ImDrawList_AddTextFontPtr", + "location": "imgui:2665", + "ov_cimguiname": "ImDrawList_AddText_FontPtr", "ret": "void", "signature": "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)", "stname": "ImDrawList" @@ -2210,7 +2210,7 @@ "thickness": "1.0f" }, "funcname": "AddTriangle", - "location": "imgui:2546", + "location": "imgui:2658", "ov_cimguiname": "ImDrawList_AddTriangle", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)", @@ -2247,7 +2247,7 @@ "cimguiname": "ImDrawList_AddTriangleFilled", "defaults": {}, "funcname": "AddTriangleFilled", - "location": "imgui:2547", + "location": "imgui:2659", "ov_cimguiname": "ImDrawList_AddTriangleFilled", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -2268,7 +2268,7 @@ "cimguiname": "ImDrawList_ChannelsMerge", "defaults": {}, "funcname": "ChannelsMerge", - "location": "imgui:2591", + "location": "imgui:2704", "ov_cimguiname": "ImDrawList_ChannelsMerge", "ret": "void", "signature": "()", @@ -2293,7 +2293,7 @@ "cimguiname": "ImDrawList_ChannelsSetCurrent", "defaults": {}, "funcname": "ChannelsSetCurrent", - "location": "imgui:2592", + "location": "imgui:2705", "ov_cimguiname": "ImDrawList_ChannelsSetCurrent", "ret": "void", "signature": "(int)", @@ -2318,7 +2318,7 @@ "cimguiname": "ImDrawList_ChannelsSplit", "defaults": {}, "funcname": "ChannelsSplit", - "location": "imgui:2590", + "location": "imgui:2703", "ov_cimguiname": "ImDrawList_ChannelsSplit", "ret": "void", "signature": "(int)", @@ -2339,7 +2339,7 @@ "cimguiname": "ImDrawList_CloneOutput", "defaults": {}, "funcname": "CloneOutput", - "location": "imgui:2582", + "location": "imgui:2695", "ov_cimguiname": "ImDrawList_CloneOutput", "ret": "ImDrawList*", "signature": "()const", @@ -2364,7 +2364,7 @@ "cimguiname": "ImDrawList_GetClipRectMax", "defaults": {}, "funcname": "GetClipRectMax", - "location": "imgui:2532", + "location": "imgui:2643", "nonUDT": 1, "ov_cimguiname": "ImDrawList_GetClipRectMax", "ret": "void", @@ -2390,7 +2390,7 @@ "cimguiname": "ImDrawList_GetClipRectMin", "defaults": {}, "funcname": "GetClipRectMin", - "location": "imgui:2531", + "location": "imgui:2642", "nonUDT": 1, "ov_cimguiname": "ImDrawList_GetClipRectMin", "ret": "void", @@ -2400,22 +2400,22 @@ ], "ImDrawList_ImDrawList": [ { - "args": "(const ImDrawListSharedData* shared_data)", + "args": "(ImDrawListSharedData* shared_data)", "argsT": [ { "name": "shared_data", - "type": "const ImDrawListSharedData*" + "type": "ImDrawListSharedData*" } ], - "argsoriginal": "(const ImDrawListSharedData* shared_data)", + "argsoriginal": "(ImDrawListSharedData* shared_data)", "call_args": "(shared_data)", "cimguiname": "ImDrawList_ImDrawList", "constructor": true, "defaults": {}, "funcname": "ImDrawList", - "location": "imgui:2523", + "location": "imgui:2634", "ov_cimguiname": "ImDrawList_ImDrawList", - "signature": "(const ImDrawListSharedData*)", + "signature": "(ImDrawListSharedData*)", "stname": "ImDrawList" } ], @@ -2455,7 +2455,7 @@ "num_segments": "0" }, "funcname": "PathArcTo", - "location": "imgui:2573", + "location": "imgui:2686", "ov_cimguiname": "ImDrawList_PathArcTo", "ret": "void", "signature": "(const ImVec2,float,float,float,int)", @@ -2492,7 +2492,7 @@ "cimguiname": "ImDrawList_PathArcToFast", "defaults": {}, "funcname": "PathArcToFast", - "location": "imgui:2574", + "location": "imgui:2687", "ov_cimguiname": "ImDrawList_PathArcToFast", "ret": "void", "signature": "(const ImVec2,float,int,int)", @@ -2531,7 +2531,7 @@ "num_segments": "0" }, "funcname": "PathBezierCubicCurveTo", - "location": "imgui:2575", + "location": "imgui:2688", "ov_cimguiname": "ImDrawList_PathBezierCubicCurveTo", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,int)", @@ -2566,7 +2566,7 @@ "num_segments": "0" }, "funcname": "PathBezierQuadraticCurveTo", - "location": "imgui:2576", + "location": "imgui:2689", "ov_cimguiname": "ImDrawList_PathBezierQuadraticCurveTo", "ret": "void", "signature": "(const ImVec2,const ImVec2,int)", @@ -2587,7 +2587,7 @@ "cimguiname": "ImDrawList_PathClear", "defaults": {}, "funcname": "PathClear", - "location": "imgui:2568", + "location": "imgui:2681", "ov_cimguiname": "ImDrawList_PathClear", "ret": "void", "signature": "()", @@ -2612,7 +2612,7 @@ "cimguiname": "ImDrawList_PathFillConvex", "defaults": {}, "funcname": "PathFillConvex", - "location": "imgui:2571", + "location": "imgui:2684", "ov_cimguiname": "ImDrawList_PathFillConvex", "ret": "void", "signature": "(ImU32)", @@ -2637,7 +2637,7 @@ "cimguiname": "ImDrawList_PathLineTo", "defaults": {}, "funcname": "PathLineTo", - "location": "imgui:2569", + "location": "imgui:2682", "ov_cimguiname": "ImDrawList_PathLineTo", "ret": "void", "signature": "(const ImVec2)", @@ -2662,7 +2662,7 @@ "cimguiname": "ImDrawList_PathLineToMergeDuplicate", "defaults": {}, "funcname": "PathLineToMergeDuplicate", - "location": "imgui:2570", + "location": "imgui:2683", "ov_cimguiname": "ImDrawList_PathLineToMergeDuplicate", "ret": "void", "signature": "(const ImVec2)", @@ -2702,7 +2702,7 @@ "rounding": "0.0f" }, "funcname": "PathRect", - "location": "imgui:2577", + "location": "imgui:2690", "ov_cimguiname": "ImDrawList_PathRect", "ret": "void", "signature": "(const ImVec2,const ImVec2,float,ImDrawFlags)", @@ -2738,7 +2738,7 @@ "thickness": "1.0f" }, "funcname": "PathStroke", - "location": "imgui:2572", + "location": "imgui:2685", "ov_cimguiname": "ImDrawList_PathStroke", "ret": "void", "signature": "(ImU32,ImDrawFlags,float)", @@ -2759,7 +2759,7 @@ "cimguiname": "ImDrawList_PopClipRect", "defaults": {}, "funcname": "PopClipRect", - "location": "imgui:2528", + "location": "imgui:2639", "ov_cimguiname": "ImDrawList_PopClipRect", "ret": "void", "signature": "()", @@ -2780,7 +2780,7 @@ "cimguiname": "ImDrawList_PopTextureID", "defaults": {}, "funcname": "PopTextureID", - "location": "imgui:2530", + "location": "imgui:2641", "ov_cimguiname": "ImDrawList_PopTextureID", "ret": "void", "signature": "()", @@ -2837,7 +2837,7 @@ "cimguiname": "ImDrawList_PrimQuadUV", "defaults": {}, "funcname": "PrimQuadUV", - "location": "imgui:2601", + "location": "imgui:2714", "ov_cimguiname": "ImDrawList_PrimQuadUV", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -2870,7 +2870,7 @@ "cimguiname": "ImDrawList_PrimRect", "defaults": {}, "funcname": "PrimRect", - "location": "imgui:2599", + "location": "imgui:2712", "ov_cimguiname": "ImDrawList_PrimRect", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32)", @@ -2911,7 +2911,7 @@ "cimguiname": "ImDrawList_PrimRectUV", "defaults": {}, "funcname": "PrimRectUV", - "location": "imgui:2600", + "location": "imgui:2713", "ov_cimguiname": "ImDrawList_PrimRectUV", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -2940,7 +2940,7 @@ "cimguiname": "ImDrawList_PrimReserve", "defaults": {}, "funcname": "PrimReserve", - "location": "imgui:2597", + "location": "imgui:2710", "ov_cimguiname": "ImDrawList_PrimReserve", "ret": "void", "signature": "(int,int)", @@ -2969,7 +2969,7 @@ "cimguiname": "ImDrawList_PrimUnreserve", "defaults": {}, "funcname": "PrimUnreserve", - "location": "imgui:2598", + "location": "imgui:2711", "ov_cimguiname": "ImDrawList_PrimUnreserve", "ret": "void", "signature": "(int,int)", @@ -3002,7 +3002,7 @@ "cimguiname": "ImDrawList_PrimVtx", "defaults": {}, "funcname": "PrimVtx", - "location": "imgui:2604", + "location": "imgui:2717", "ov_cimguiname": "ImDrawList_PrimVtx", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32)", @@ -3027,7 +3027,7 @@ "cimguiname": "ImDrawList_PrimWriteIdx", "defaults": {}, "funcname": "PrimWriteIdx", - "location": "imgui:2603", + "location": "imgui:2716", "ov_cimguiname": "ImDrawList_PrimWriteIdx", "ret": "void", "signature": "(ImDrawIdx)", @@ -3060,7 +3060,7 @@ "cimguiname": "ImDrawList_PrimWriteVtx", "defaults": {}, "funcname": "PrimWriteVtx", - "location": "imgui:2602", + "location": "imgui:2715", "ov_cimguiname": "ImDrawList_PrimWriteVtx", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32)", @@ -3069,7 +3069,7 @@ ], "ImDrawList_PushClipRect": [ { - "args": "(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", + "args": "(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", "argsT": [ { "name": "self", @@ -3077,28 +3077,28 @@ }, { "name": "clip_rect_min", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "clip_rect_max", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "intersect_with_current_clip_rect", "type": "bool" } ], - "argsoriginal": "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)", + "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect=false)", "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", "cimguiname": "ImDrawList_PushClipRect", "defaults": { "intersect_with_current_clip_rect": "false" }, "funcname": "PushClipRect", - "location": "imgui:2526", + "location": "imgui:2637", "ov_cimguiname": "ImDrawList_PushClipRect", "ret": "void", - "signature": "(ImVec2,ImVec2,bool)", + "signature": "(const ImVec2,const ImVec2,bool)", "stname": "ImDrawList" } ], @@ -3116,7 +3116,7 @@ "cimguiname": "ImDrawList_PushClipRectFullScreen", "defaults": {}, "funcname": "PushClipRectFullScreen", - "location": "imgui:2527", + "location": "imgui:2638", "ov_cimguiname": "ImDrawList_PushClipRectFullScreen", "ret": "void", "signature": "()", @@ -3141,7 +3141,7 @@ "cimguiname": "ImDrawList_PushTextureID", "defaults": {}, "funcname": "PushTextureID", - "location": "imgui:2529", + "location": "imgui:2640", "ov_cimguiname": "ImDrawList_PushTextureID", "ret": "void", "signature": "(ImTextureID)", @@ -3166,7 +3166,7 @@ "cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", "defaults": {}, "funcname": "_CalcCircleAutoSegmentCount", - "location": "imgui:2619", + "location": "imgui:2732", "ov_cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", "ret": "int", "signature": "(float)const", @@ -3187,7 +3187,7 @@ "cimguiname": "ImDrawList__ClearFreeMemory", "defaults": {}, "funcname": "_ClearFreeMemory", - "location": "imgui:2613", + "location": "imgui:2726", "ov_cimguiname": "ImDrawList__ClearFreeMemory", "ret": "void", "signature": "()", @@ -3208,7 +3208,7 @@ "cimguiname": "ImDrawList__OnChangedClipRect", "defaults": {}, "funcname": "_OnChangedClipRect", - "location": "imgui:2616", + "location": "imgui:2729", "ov_cimguiname": "ImDrawList__OnChangedClipRect", "ret": "void", "signature": "()", @@ -3229,7 +3229,7 @@ "cimguiname": "ImDrawList__OnChangedTextureID", "defaults": {}, "funcname": "_OnChangedTextureID", - "location": "imgui:2617", + "location": "imgui:2730", "ov_cimguiname": "ImDrawList__OnChangedTextureID", "ret": "void", "signature": "()", @@ -3250,7 +3250,7 @@ "cimguiname": "ImDrawList__OnChangedVtxOffset", "defaults": {}, "funcname": "_OnChangedVtxOffset", - "location": "imgui:2618", + "location": "imgui:2731", "ov_cimguiname": "ImDrawList__OnChangedVtxOffset", "ret": "void", "signature": "()", @@ -3291,7 +3291,7 @@ "cimguiname": "ImDrawList__PathArcToFastEx", "defaults": {}, "funcname": "_PathArcToFastEx", - "location": "imgui:2620", + "location": "imgui:2733", "ov_cimguiname": "ImDrawList__PathArcToFastEx", "ret": "void", "signature": "(const ImVec2,float,int,int,int)", @@ -3332,7 +3332,7 @@ "cimguiname": "ImDrawList__PathArcToN", "defaults": {}, "funcname": "_PathArcToN", - "location": "imgui:2621", + "location": "imgui:2734", "ov_cimguiname": "ImDrawList__PathArcToN", "ret": "void", "signature": "(const ImVec2,float,float,float,int)", @@ -3353,7 +3353,7 @@ "cimguiname": "ImDrawList__PopUnusedDrawCmd", "defaults": {}, "funcname": "_PopUnusedDrawCmd", - "location": "imgui:2614", + "location": "imgui:2727", "ov_cimguiname": "ImDrawList__PopUnusedDrawCmd", "ret": "void", "signature": "()", @@ -3374,7 +3374,7 @@ "cimguiname": "ImDrawList__ResetForNewFrame", "defaults": {}, "funcname": "_ResetForNewFrame", - "location": "imgui:2612", + "location": "imgui:2725", "ov_cimguiname": "ImDrawList__ResetForNewFrame", "ret": "void", "signature": "()", @@ -3395,7 +3395,7 @@ "cimguiname": "ImDrawList__TryMergeDrawCmds", "defaults": {}, "funcname": "_TryMergeDrawCmds", - "location": "imgui:2615", + "location": "imgui:2728", "ov_cimguiname": "ImDrawList__TryMergeDrawCmds", "ret": "void", "signature": "()", @@ -3415,7 +3415,7 @@ "cimguiname": "ImDrawList_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2525", + "location": "imgui:2636", "ov_cimguiname": "ImDrawList_destroy", "realdestructor": true, "ret": "void", @@ -3433,7 +3433,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontAtlasCustomRect", - "location": "imgui:2714", + "location": "imgui:2827", "ov_cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", "signature": "()", "stname": "ImFontAtlasCustomRect" @@ -3453,7 +3453,7 @@ "cimguiname": "ImFontAtlasCustomRect_IsPacked", "defaults": {}, "funcname": "IsPacked", - "location": "imgui:2715", + "location": "imgui:2828", "ov_cimguiname": "ImFontAtlasCustomRect_IsPacked", "ret": "bool", "signature": "()const", @@ -3519,7 +3519,7 @@ "offset": "ImVec2(0,0)" }, "funcname": "AddCustomRectFontGlyph", - "location": "imgui:2798", + "location": "imgui:2912", "ov_cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", "ret": "int", "signature": "(ImFont*,ImWchar,int,int,float,const ImVec2)", @@ -3548,7 +3548,7 @@ "cimguiname": "ImFontAtlas_AddCustomRectRegular", "defaults": {}, "funcname": "AddCustomRectRegular", - "location": "imgui:2797", + "location": "imgui:2911", "ov_cimguiname": "ImFontAtlas_AddCustomRectRegular", "ret": "int", "signature": "(int,int)", @@ -3573,7 +3573,7 @@ "cimguiname": "ImFontAtlas_AddFont", "defaults": {}, "funcname": "AddFont", - "location": "imgui:2748", + "location": "imgui:2861", "ov_cimguiname": "ImFontAtlas_AddFont", "ret": "ImFont*", "signature": "(const ImFontConfig*)", @@ -3600,7 +3600,7 @@ "font_cfg": "NULL" }, "funcname": "AddFontDefault", - "location": "imgui:2749", + "location": "imgui:2862", "ov_cimguiname": "ImFontAtlas_AddFontDefault", "ret": "ImFont*", "signature": "(const ImFontConfig*)", @@ -3640,7 +3640,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromFileTTF", - "location": "imgui:2750", + "location": "imgui:2863", "ov_cimguiname": "ImFontAtlas_AddFontFromFileTTF", "ret": "ImFont*", "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", @@ -3680,7 +3680,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromMemoryCompressedBase85TTF", - "location": "imgui:2753", + "location": "imgui:2866", "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", "ret": "ImFont*", "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", @@ -3724,7 +3724,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromMemoryCompressedTTF", - "location": "imgui:2752", + "location": "imgui:2865", "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", "ret": "ImFont*", "signature": "(const void*,int,float,const ImFontConfig*,const ImWchar*)", @@ -3768,7 +3768,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromMemoryTTF", - "location": "imgui:2751", + "location": "imgui:2864", "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", "ret": "ImFont*", "signature": "(void*,int,float,const ImFontConfig*,const ImWchar*)", @@ -3789,7 +3789,7 @@ "cimguiname": "ImFontAtlas_Build", "defaults": {}, "funcname": "Build", - "location": "imgui:2764", + "location": "imgui:2877", "ov_cimguiname": "ImFontAtlas_Build", "ret": "bool", "signature": "()", @@ -3822,7 +3822,7 @@ "cimguiname": "ImFontAtlas_CalcCustomRectUV", "defaults": {}, "funcname": "CalcCustomRectUV", - "location": "imgui:2802", + "location": "imgui:2916", "ov_cimguiname": "ImFontAtlas_CalcCustomRectUV", "ret": "void", "signature": "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)const", @@ -3843,7 +3843,7 @@ "cimguiname": "ImFontAtlas_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2757", + "location": "imgui:2870", "ov_cimguiname": "ImFontAtlas_Clear", "ret": "void", "signature": "()", @@ -3864,7 +3864,7 @@ "cimguiname": "ImFontAtlas_ClearFonts", "defaults": {}, "funcname": "ClearFonts", - "location": "imgui:2756", + "location": "imgui:2869", "ov_cimguiname": "ImFontAtlas_ClearFonts", "ret": "void", "signature": "()", @@ -3885,7 +3885,7 @@ "cimguiname": "ImFontAtlas_ClearInputData", "defaults": {}, "funcname": "ClearInputData", - "location": "imgui:2754", + "location": "imgui:2867", "ov_cimguiname": "ImFontAtlas_ClearInputData", "ret": "void", "signature": "()", @@ -3906,7 +3906,7 @@ "cimguiname": "ImFontAtlas_ClearTexData", "defaults": {}, "funcname": "ClearTexData", - "location": "imgui:2755", + "location": "imgui:2868", "ov_cimguiname": "ImFontAtlas_ClearTexData", "ret": "void", "signature": "()", @@ -3931,7 +3931,7 @@ "cimguiname": "ImFontAtlas_GetCustomRectByIndex", "defaults": {}, "funcname": "GetCustomRectByIndex", - "location": "imgui:2799", + "location": "imgui:2913", "ov_cimguiname": "ImFontAtlas_GetCustomRectByIndex", "ret": "ImFontAtlasCustomRect*", "signature": "(int)", @@ -3952,7 +3952,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", "defaults": {}, "funcname": "GetGlyphRangesChineseFull", - "location": "imgui:2780", + "location": "imgui:2894", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", "ret": "const ImWchar*", "signature": "()", @@ -3973,7 +3973,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", "defaults": {}, "funcname": "GetGlyphRangesChineseSimplifiedCommon", - "location": "imgui:2781", + "location": "imgui:2895", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", "ret": "const ImWchar*", "signature": "()", @@ -3994,7 +3994,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", "defaults": {}, "funcname": "GetGlyphRangesCyrillic", - "location": "imgui:2782", + "location": "imgui:2896", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", "ret": "const ImWchar*", "signature": "()", @@ -4015,13 +4015,34 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesDefault", "defaults": {}, "funcname": "GetGlyphRangesDefault", - "location": "imgui:2777", + "location": "imgui:2890", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesDefault", "ret": "const ImWchar*", "signature": "()", "stname": "ImFontAtlas" } ], + "ImFontAtlas_GetGlyphRangesGreek": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesGreek", + "defaults": {}, + "funcname": "GetGlyphRangesGreek", + "location": "imgui:2891", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesGreek", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], "ImFontAtlas_GetGlyphRangesJapanese": [ { "args": "(ImFontAtlas* self)", @@ -4036,7 +4057,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", "defaults": {}, "funcname": "GetGlyphRangesJapanese", - "location": "imgui:2779", + "location": "imgui:2893", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", "ret": "const ImWchar*", "signature": "()", @@ -4057,7 +4078,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesKorean", "defaults": {}, "funcname": "GetGlyphRangesKorean", - "location": "imgui:2778", + "location": "imgui:2892", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesKorean", "ret": "const ImWchar*", "signature": "()", @@ -4078,7 +4099,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesThai", "defaults": {}, "funcname": "GetGlyphRangesThai", - "location": "imgui:2783", + "location": "imgui:2897", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesThai", "ret": "const ImWchar*", "signature": "()", @@ -4099,7 +4120,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", "defaults": {}, "funcname": "GetGlyphRangesVietnamese", - "location": "imgui:2784", + "location": "imgui:2898", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", "ret": "const ImWchar*", "signature": "()", @@ -4140,7 +4161,7 @@ "cimguiname": "ImFontAtlas_GetMouseCursorTexData", "defaults": {}, "funcname": "GetMouseCursorTexData", - "location": "imgui:2803", + "location": "imgui:2917", "ov_cimguiname": "ImFontAtlas_GetMouseCursorTexData", "ret": "bool", "signature": "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])", @@ -4179,7 +4200,7 @@ "out_bytes_per_pixel": "NULL" }, "funcname": "GetTexDataAsAlpha8", - "location": "imgui:2765", + "location": "imgui:2878", "ov_cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", "ret": "void", "signature": "(unsigned char**,int*,int*,int*)", @@ -4218,7 +4239,7 @@ "out_bytes_per_pixel": "NULL" }, "funcname": "GetTexDataAsRGBA32", - "location": "imgui:2766", + "location": "imgui:2879", "ov_cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", "ret": "void", "signature": "(unsigned char**,int*,int*,int*)", @@ -4235,7 +4256,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontAtlas", - "location": "imgui:2746", + "location": "imgui:2859", "ov_cimguiname": "ImFontAtlas_ImFontAtlas", "signature": "()", "stname": "ImFontAtlas" @@ -4255,7 +4276,7 @@ "cimguiname": "ImFontAtlas_IsBuilt", "defaults": {}, "funcname": "IsBuilt", - "location": "imgui:2767", + "location": "imgui:2880", "ov_cimguiname": "ImFontAtlas_IsBuilt", "ret": "bool", "signature": "()const", @@ -4280,7 +4301,7 @@ "cimguiname": "ImFontAtlas_SetTexID", "defaults": {}, "funcname": "SetTexID", - "location": "imgui:2768", + "location": "imgui:2881", "ov_cimguiname": "ImFontAtlas_SetTexID", "ret": "void", "signature": "(ImTextureID)", @@ -4300,7 +4321,7 @@ "cimguiname": "ImFontAtlas_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2747", + "location": "imgui:2860", "ov_cimguiname": "ImFontAtlas_destroy", "realdestructor": true, "ret": "void", @@ -4318,7 +4339,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontConfig", - "location": "imgui:2674", + "location": "imgui:2787", "ov_cimguiname": "ImFontConfig_ImFontConfig", "signature": "()", "stname": "ImFontConfig" @@ -4361,7 +4382,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_AddChar", "defaults": {}, "funcname": "AddChar", - "location": "imgui:2699", + "location": "imgui:2812", "ov_cimguiname": "ImFontGlyphRangesBuilder_AddChar", "ret": "void", "signature": "(ImWchar)", @@ -4386,7 +4407,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_AddRanges", "defaults": {}, "funcname": "AddRanges", - "location": "imgui:2701", + "location": "imgui:2814", "ov_cimguiname": "ImFontGlyphRangesBuilder_AddRanges", "ret": "void", "signature": "(const ImWchar*)", @@ -4417,7 +4438,7 @@ "text_end": "NULL" }, "funcname": "AddText", - "location": "imgui:2700", + "location": "imgui:2813", "ov_cimguiname": "ImFontGlyphRangesBuilder_AddText", "ret": "void", "signature": "(const char*,const char*)", @@ -4442,7 +4463,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", "defaults": {}, "funcname": "BuildRanges", - "location": "imgui:2702", + "location": "imgui:2815", "ov_cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", "ret": "void", "signature": "(ImVector_ImWchar*)", @@ -4463,7 +4484,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2696", + "location": "imgui:2809", "ov_cimguiname": "ImFontGlyphRangesBuilder_Clear", "ret": "void", "signature": "()", @@ -4488,7 +4509,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_GetBit", "defaults": {}, "funcname": "GetBit", - "location": "imgui:2697", + "location": "imgui:2810", "ov_cimguiname": "ImFontGlyphRangesBuilder_GetBit", "ret": "bool", "signature": "(size_t)const", @@ -4505,7 +4526,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontGlyphRangesBuilder", - "location": "imgui:2695", + "location": "imgui:2808", "ov_cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", "signature": "()", "stname": "ImFontGlyphRangesBuilder" @@ -4529,7 +4550,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_SetBit", "defaults": {}, "funcname": "SetBit", - "location": "imgui:2698", + "location": "imgui:2811", "ov_cimguiname": "ImFontGlyphRangesBuilder_SetBit", "ret": "void", "signature": "(size_t)", @@ -4613,7 +4634,7 @@ "cimguiname": "ImFont_AddGlyph", "defaults": {}, "funcname": "AddGlyph", - "location": "imgui:2891", + "location": "imgui:3004", "ov_cimguiname": "ImFont_AddGlyph", "ret": "void", "signature": "(const ImFontConfig*,ImWchar,float,float,float,float,float,float,float,float,float)", @@ -4648,7 +4669,7 @@ "overwrite_dst": "true" }, "funcname": "AddRemapChar", - "location": "imgui:2892", + "location": "imgui:3005", "ov_cimguiname": "ImFont_AddRemapChar", "ret": "void", "signature": "(ImWchar,ImWchar,bool)", @@ -4669,7 +4690,7 @@ "cimguiname": "ImFont_BuildLookupTable", "defaults": {}, "funcname": "BuildLookupTable", - "location": "imgui:2888", + "location": "imgui:3001", "ov_cimguiname": "ImFont_BuildLookupTable", "ret": "void", "signature": "()", @@ -4721,7 +4742,7 @@ "text_end": "NULL" }, "funcname": "CalcTextSizeA", - "location": "imgui:2882", + "location": "imgui:2995", "nonUDT": 1, "ov_cimguiname": "ImFont_CalcTextSizeA", "ret": "void", @@ -4759,7 +4780,7 @@ "cimguiname": "ImFont_CalcWordWrapPositionA", "defaults": {}, "funcname": "CalcWordWrapPositionA", - "location": "imgui:2883", + "location": "imgui:2996", "ov_cimguiname": "ImFont_CalcWordWrapPositionA", "ret": "const char*", "signature": "(float,const char*,const char*,float)const", @@ -4780,7 +4801,7 @@ "cimguiname": "ImFont_ClearOutputData", "defaults": {}, "funcname": "ClearOutputData", - "location": "imgui:2889", + "location": "imgui:3002", "ov_cimguiname": "ImFont_ClearOutputData", "ret": "void", "signature": "()", @@ -4805,7 +4826,7 @@ "cimguiname": "ImFont_FindGlyph", "defaults": {}, "funcname": "FindGlyph", - "location": "imgui:2874", + "location": "imgui:2987", "ov_cimguiname": "ImFont_FindGlyph", "ret": "const ImFontGlyph*", "signature": "(ImWchar)const", @@ -4830,7 +4851,7 @@ "cimguiname": "ImFont_FindGlyphNoFallback", "defaults": {}, "funcname": "FindGlyphNoFallback", - "location": "imgui:2875", + "location": "imgui:2988", "ov_cimguiname": "ImFont_FindGlyphNoFallback", "ret": "const ImFontGlyph*", "signature": "(ImWchar)const", @@ -4855,7 +4876,7 @@ "cimguiname": "ImFont_GetCharAdvance", "defaults": {}, "funcname": "GetCharAdvance", - "location": "imgui:2876", + "location": "imgui:2989", "ov_cimguiname": "ImFont_GetCharAdvance", "ret": "float", "signature": "(ImWchar)const", @@ -4876,7 +4897,7 @@ "cimguiname": "ImFont_GetDebugName", "defaults": {}, "funcname": "GetDebugName", - "location": "imgui:2878", + "location": "imgui:2991", "ov_cimguiname": "ImFont_GetDebugName", "ret": "const char*", "signature": "()const", @@ -4901,7 +4922,7 @@ "cimguiname": "ImFont_GrowIndex", "defaults": {}, "funcname": "GrowIndex", - "location": "imgui:2890", + "location": "imgui:3003", "ov_cimguiname": "ImFont_GrowIndex", "ret": "void", "signature": "(int)", @@ -4918,7 +4939,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFont", - "location": "imgui:2872", + "location": "imgui:2985", "ov_cimguiname": "ImFont_ImFont", "signature": "()", "stname": "ImFont" @@ -4946,7 +4967,7 @@ "cimguiname": "ImFont_IsGlyphRangeUnused", "defaults": {}, "funcname": "IsGlyphRangeUnused", - "location": "imgui:2894", + "location": "imgui:3007", "ov_cimguiname": "ImFont_IsGlyphRangeUnused", "ret": "bool", "signature": "(unsigned int,unsigned int)", @@ -4967,7 +4988,7 @@ "cimguiname": "ImFont_IsLoaded", "defaults": {}, "funcname": "IsLoaded", - "location": "imgui:2877", + "location": "imgui:2990", "ov_cimguiname": "ImFont_IsLoaded", "ret": "bool", "signature": "()const", @@ -4976,7 +4997,7 @@ ], "ImFont_RenderChar": [ { - "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", + "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c)", "argsT": [ { "name": "self", @@ -4992,7 +5013,7 @@ }, { "name": "pos", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "col", @@ -5003,21 +5024,21 @@ "type": "ImWchar" } ], - "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", + "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,ImWchar c)", "call_args": "(draw_list,size,pos,col,c)", "cimguiname": "ImFont_RenderChar", "defaults": {}, "funcname": "RenderChar", - "location": "imgui:2884", + "location": "imgui:2997", "ov_cimguiname": "ImFont_RenderChar", "ret": "void", - "signature": "(ImDrawList*,float,ImVec2,ImU32,ImWchar)const", + "signature": "(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const", "stname": "ImFont" } ], "ImFont_RenderText": [ { - "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", + "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", "argsT": [ { "name": "self", @@ -5033,7 +5054,7 @@ }, { "name": "pos", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "col", @@ -5060,7 +5081,7 @@ "type": "bool" } ], - "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", + "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", "call_args": "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)", "cimguiname": "ImFont_RenderText", "defaults": { @@ -5068,10 +5089,10 @@ "wrap_width": "0.0f" }, "funcname": "RenderText", - "location": "imgui:2885", + "location": "imgui:2998", "ov_cimguiname": "ImFont_RenderText", "ret": "void", - "signature": "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const", + "signature": "(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const", "stname": "ImFont" } ], @@ -5097,7 +5118,7 @@ "cimguiname": "ImFont_SetGlyphVisible", "defaults": {}, "funcname": "SetGlyphVisible", - "location": "imgui:2893", + "location": "imgui:3006", "ov_cimguiname": "ImFont_SetGlyphVisible", "ret": "void", "signature": "(ImWchar,bool)", @@ -5117,7 +5138,7 @@ "cimguiname": "ImFont_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2873", + "location": "imgui:2986", "ov_cimguiname": "ImFont_destroy", "realdestructor": true, "ret": "void", @@ -5135,7 +5156,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiComboPreviewData", - "location": "imgui_internal:990", + "location": "imgui_internal:1018", "ov_cimguiname": "ImGuiComboPreviewData_ImGuiComboPreviewData", "signature": "()", "stname": "ImGuiComboPreviewData" @@ -5170,7 +5191,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiContextHook", - "location": "imgui_internal:1663", + "location": "imgui_internal:1898", "ov_cimguiname": "ImGuiContextHook_ImGuiContextHook", "signature": "()", "stname": "ImGuiContextHook" @@ -5210,7 +5231,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiContext", - "location": "imgui_internal:1941", + "location": "imgui_internal:2204", "ov_cimguiname": "ImGuiContext_ImGuiContext", "signature": "(ImFontAtlas*)", "stname": "ImGuiContext" @@ -5245,7 +5266,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiDockContext", - "location": "imgui_internal:1508", + "location": "imgui_internal:1703", "ov_cimguiname": "ImGuiDockContext_ImGuiDockContext", "signature": "()", "stname": "ImGuiDockContext" @@ -5285,7 +5306,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiDockNode", - "location": "imgui_internal:1465", + "location": "imgui_internal:1660", "ov_cimguiname": "ImGuiDockNode_ImGuiDockNode", "signature": "(ImGuiID)", "stname": "ImGuiDockNode" @@ -5305,7 +5326,7 @@ "cimguiname": "ImGuiDockNode_IsCentralNode", "defaults": {}, "funcname": "IsCentralNode", - "location": "imgui_internal:1470", + "location": "imgui_internal:1665", "ov_cimguiname": "ImGuiDockNode_IsCentralNode", "ret": "bool", "signature": "()const", @@ -5326,7 +5347,7 @@ "cimguiname": "ImGuiDockNode_IsDockSpace", "defaults": {}, "funcname": "IsDockSpace", - "location": "imgui_internal:1468", + "location": "imgui_internal:1663", "ov_cimguiname": "ImGuiDockNode_IsDockSpace", "ret": "bool", "signature": "()const", @@ -5347,7 +5368,7 @@ "cimguiname": "ImGuiDockNode_IsEmpty", "defaults": {}, "funcname": "IsEmpty", - "location": "imgui_internal:1475", + "location": "imgui_internal:1670", "ov_cimguiname": "ImGuiDockNode_IsEmpty", "ret": "bool", "signature": "()const", @@ -5368,7 +5389,7 @@ "cimguiname": "ImGuiDockNode_IsFloatingNode", "defaults": {}, "funcname": "IsFloatingNode", - "location": "imgui_internal:1469", + "location": "imgui_internal:1664", "ov_cimguiname": "ImGuiDockNode_IsFloatingNode", "ret": "bool", "signature": "()const", @@ -5389,7 +5410,7 @@ "cimguiname": "ImGuiDockNode_IsHiddenTabBar", "defaults": {}, "funcname": "IsHiddenTabBar", - "location": "imgui_internal:1471", + "location": "imgui_internal:1666", "ov_cimguiname": "ImGuiDockNode_IsHiddenTabBar", "ret": "bool", "signature": "()const", @@ -5410,7 +5431,7 @@ "cimguiname": "ImGuiDockNode_IsLeafNode", "defaults": {}, "funcname": "IsLeafNode", - "location": "imgui_internal:1474", + "location": "imgui_internal:1669", "ov_cimguiname": "ImGuiDockNode_IsLeafNode", "ret": "bool", "signature": "()const", @@ -5431,7 +5452,7 @@ "cimguiname": "ImGuiDockNode_IsNoTabBar", "defaults": {}, "funcname": "IsNoTabBar", - "location": "imgui_internal:1472", + "location": "imgui_internal:1667", "ov_cimguiname": "ImGuiDockNode_IsNoTabBar", "ret": "bool", "signature": "()const", @@ -5452,7 +5473,7 @@ "cimguiname": "ImGuiDockNode_IsRootNode", "defaults": {}, "funcname": "IsRootNode", - "location": "imgui_internal:1467", + "location": "imgui_internal:1662", "ov_cimguiname": "ImGuiDockNode_IsRootNode", "ret": "bool", "signature": "()const", @@ -5473,7 +5494,7 @@ "cimguiname": "ImGuiDockNode_IsSplitNode", "defaults": {}, "funcname": "IsSplitNode", - "location": "imgui_internal:1473", + "location": "imgui_internal:1668", "ov_cimguiname": "ImGuiDockNode_IsSplitNode", "ret": "bool", "signature": "()const", @@ -5498,7 +5519,7 @@ "cimguiname": "ImGuiDockNode_Rect", "defaults": {}, "funcname": "Rect", - "location": "imgui_internal:1476", + "location": "imgui_internal:1671", "nonUDT": 1, "ov_cimguiname": "ImGuiDockNode_Rect", "ret": "void", @@ -5524,7 +5545,7 @@ "cimguiname": "ImGuiDockNode_SetLocalFlags", "defaults": {}, "funcname": "SetLocalFlags", - "location": "imgui_internal:1478", + "location": "imgui_internal:1673", "ov_cimguiname": "ImGuiDockNode_SetLocalFlags", "ret": "void", "signature": "(ImGuiDockNodeFlags)", @@ -5545,7 +5566,7 @@ "cimguiname": "ImGuiDockNode_UpdateMergedFlags", "defaults": {}, "funcname": "UpdateMergedFlags", - "location": "imgui_internal:1479", + "location": "imgui_internal:1674", "ov_cimguiname": "ImGuiDockNode_UpdateMergedFlags", "ret": "void", "signature": "()", @@ -5565,7 +5586,7 @@ "cimguiname": "ImGuiDockNode_destroy", "defaults": {}, "destructor": true, - "location": "imgui_internal:1466", + "location": "imgui_internal:1661", "ov_cimguiname": "ImGuiDockNode_destroy", "realdestructor": true, "ret": "void", @@ -5591,7 +5612,7 @@ "cimguiname": "ImGuiIO_AddFocusEvent", "defaults": {}, "funcname": "AddFocusEvent", - "location": "imgui:1983", + "location": "imgui:2063", "ov_cimguiname": "ImGuiIO_AddFocusEvent", "ret": "void", "signature": "(bool)", @@ -5616,7 +5637,7 @@ "cimguiname": "ImGuiIO_AddInputCharacter", "defaults": {}, "funcname": "AddInputCharacter", - "location": "imgui:1980", + "location": "imgui:2064", "ov_cimguiname": "ImGuiIO_AddInputCharacter", "ret": "void", "signature": "(unsigned int)", @@ -5641,7 +5662,7 @@ "cimguiname": "ImGuiIO_AddInputCharacterUTF16", "defaults": {}, "funcname": "AddInputCharacterUTF16", - "location": "imgui:1981", + "location": "imgui:2065", "ov_cimguiname": "ImGuiIO_AddInputCharacterUTF16", "ret": "void", "signature": "(ImWchar16)", @@ -5666,13 +5687,187 @@ "cimguiname": "ImGuiIO_AddInputCharactersUTF8", "defaults": {}, "funcname": "AddInputCharactersUTF8", - "location": "imgui:1982", + "location": "imgui:2066", "ov_cimguiname": "ImGuiIO_AddInputCharactersUTF8", "ret": "void", "signature": "(const char*)", "stname": "ImGuiIO" } ], + "ImGuiIO_AddKeyAnalogEvent": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,bool down,float v)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "down", + "type": "bool" + }, + { + "name": "v", + "type": "float" + } + ], + "argsoriginal": "(ImGuiKey key,bool down,float v)", + "call_args": "(key,down,v)", + "cimguiname": "ImGuiIO_AddKeyAnalogEvent", + "defaults": {}, + "funcname": "AddKeyAnalogEvent", + "location": "imgui:2058", + "ov_cimguiname": "ImGuiIO_AddKeyAnalogEvent", + "ret": "void", + "signature": "(ImGuiKey,bool,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddKeyEvent": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,bool down)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "down", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiKey key,bool down)", + "call_args": "(key,down)", + "cimguiname": "ImGuiIO_AddKeyEvent", + "defaults": {}, + "funcname": "AddKeyEvent", + "location": "imgui:2057", + "ov_cimguiname": "ImGuiIO_AddKeyEvent", + "ret": "void", + "signature": "(ImGuiKey,bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseButtonEvent": [ + { + "args": "(ImGuiIO* self,int button,bool down)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "button", + "type": "int" + }, + { + "name": "down", + "type": "bool" + } + ], + "argsoriginal": "(int button,bool down)", + "call_args": "(button,down)", + "cimguiname": "ImGuiIO_AddMouseButtonEvent", + "defaults": {}, + "funcname": "AddMouseButtonEvent", + "location": "imgui:2060", + "ov_cimguiname": "ImGuiIO_AddMouseButtonEvent", + "ret": "void", + "signature": "(int,bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMousePosEvent": [ + { + "args": "(ImGuiIO* self,float x,float y)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "argsoriginal": "(float x,float y)", + "call_args": "(x,y)", + "cimguiname": "ImGuiIO_AddMousePosEvent", + "defaults": {}, + "funcname": "AddMousePosEvent", + "location": "imgui:2059", + "ov_cimguiname": "ImGuiIO_AddMousePosEvent", + "ret": "void", + "signature": "(float,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseViewportEvent": [ + { + "args": "(ImGuiIO* self,ImGuiID id)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID id)", + "call_args": "(id)", + "cimguiname": "ImGuiIO_AddMouseViewportEvent", + "defaults": {}, + "funcname": "AddMouseViewportEvent", + "location": "imgui:2062", + "ov_cimguiname": "ImGuiIO_AddMouseViewportEvent", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseWheelEvent": [ + { + "args": "(ImGuiIO* self,float wh_x,float wh_y)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "wh_x", + "type": "float" + }, + { + "name": "wh_y", + "type": "float" + } + ], + "argsoriginal": "(float wh_x,float wh_y)", + "call_args": "(wh_x,wh_y)", + "cimguiname": "ImGuiIO_AddMouseWheelEvent", + "defaults": {}, + "funcname": "AddMouseWheelEvent", + "location": "imgui:2061", + "ov_cimguiname": "ImGuiIO_AddMouseWheelEvent", + "ret": "void", + "signature": "(float,float)", + "stname": "ImGuiIO" + } + ], "ImGuiIO_ClearInputCharacters": [ { "args": "(ImGuiIO* self)", @@ -5687,7 +5882,7 @@ "cimguiname": "ImGuiIO_ClearInputCharacters", "defaults": {}, "funcname": "ClearInputCharacters", - "location": "imgui:1984", + "location": "imgui:2070", "ov_cimguiname": "ImGuiIO_ClearInputCharacters", "ret": "void", "signature": "()", @@ -5708,7 +5903,7 @@ "cimguiname": "ImGuiIO_ClearInputKeys", "defaults": {}, "funcname": "ClearInputKeys", - "location": "imgui:1985", + "location": "imgui:2071", "ov_cimguiname": "ImGuiIO_ClearInputKeys", "ret": "void", "signature": "()", @@ -5725,12 +5920,76 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiIO", - "location": "imgui:2038", + "location": "imgui:2146", "ov_cimguiname": "ImGuiIO_ImGuiIO", "signature": "()", "stname": "ImGuiIO" } ], + "ImGuiIO_SetAppAcceptingEvents": [ + { + "args": "(ImGuiIO* self,bool accepting_events)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "accepting_events", + "type": "bool" + } + ], + "argsoriginal": "(bool accepting_events)", + "call_args": "(accepting_events)", + "cimguiname": "ImGuiIO_SetAppAcceptingEvents", + "defaults": {}, + "funcname": "SetAppAcceptingEvents", + "location": "imgui:2069", + "ov_cimguiname": "ImGuiIO_SetAppAcceptingEvents", + "ret": "void", + "signature": "(bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_SetKeyEventNativeData": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "native_keycode", + "type": "int" + }, + { + "name": "native_scancode", + "type": "int" + }, + { + "name": "native_legacy_index", + "type": "int" + } + ], + "argsoriginal": "(ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index=-1)", + "call_args": "(key,native_keycode,native_scancode,native_legacy_index)", + "cimguiname": "ImGuiIO_SetKeyEventNativeData", + "defaults": { + "native_legacy_index": "-1" + }, + "funcname": "SetKeyEventNativeData", + "location": "imgui:2068", + "ov_cimguiname": "ImGuiIO_SetKeyEventNativeData", + "ret": "void", + "signature": "(ImGuiKey,int,int,int)", + "stname": "ImGuiIO" + } + ], "ImGuiIO_destroy": [ { "args": "(ImGuiIO* self)", @@ -5750,6 +6009,41 @@ "stname": "ImGuiIO" } ], + "ImGuiInputEvent_ImGuiInputEvent": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiInputEvent_ImGuiInputEvent", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiInputEvent", + "location": "imgui_internal:1302", + "ov_cimguiname": "ImGuiInputEvent_ImGuiInputEvent", + "signature": "()", + "stname": "ImGuiInputEvent" + } + ], + "ImGuiInputEvent_destroy": [ + { + "args": "(ImGuiInputEvent* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiInputEvent*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiInputEvent_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiInputEvent_destroy", + "ret": "void", + "signature": "(ImGuiInputEvent*)", + "stname": "ImGuiInputEvent" + } + ], "ImGuiInputTextCallbackData_ClearSelection": [ { "args": "(ImGuiInputTextCallbackData* self)", @@ -5764,7 +6058,7 @@ "cimguiname": "ImGuiInputTextCallbackData_ClearSelection", "defaults": {}, "funcname": "ClearSelection", - "location": "imgui:2079", + "location": "imgui:2187", "ov_cimguiname": "ImGuiInputTextCallbackData_ClearSelection", "ret": "void", "signature": "()", @@ -5793,7 +6087,7 @@ "cimguiname": "ImGuiInputTextCallbackData_DeleteChars", "defaults": {}, "funcname": "DeleteChars", - "location": "imgui:2076", + "location": "imgui:2184", "ov_cimguiname": "ImGuiInputTextCallbackData_DeleteChars", "ret": "void", "signature": "(int,int)", @@ -5814,7 +6108,7 @@ "cimguiname": "ImGuiInputTextCallbackData_HasSelection", "defaults": {}, "funcname": "HasSelection", - "location": "imgui:2080", + "location": "imgui:2188", "ov_cimguiname": "ImGuiInputTextCallbackData_HasSelection", "ret": "bool", "signature": "()const", @@ -5831,7 +6125,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiInputTextCallbackData", - "location": "imgui:2075", + "location": "imgui:2183", "ov_cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", "signature": "()", "stname": "ImGuiInputTextCallbackData" @@ -5865,7 +6159,7 @@ "text_end": "NULL" }, "funcname": "InsertChars", - "location": "imgui:2077", + "location": "imgui:2185", "ov_cimguiname": "ImGuiInputTextCallbackData_InsertChars", "ret": "void", "signature": "(int,const char*,const char*)", @@ -5886,7 +6180,7 @@ "cimguiname": "ImGuiInputTextCallbackData_SelectAll", "defaults": {}, "funcname": "SelectAll", - "location": "imgui:2078", + "location": "imgui:2186", "ov_cimguiname": "ImGuiInputTextCallbackData_SelectAll", "ret": "void", "signature": "()", @@ -5926,7 +6220,7 @@ "cimguiname": "ImGuiInputTextState_ClearFreeMemory", "defaults": {}, "funcname": "ClearFreeMemory", - "location": "imgui_internal:1048", + "location": "imgui_internal:1076", "ov_cimguiname": "ImGuiInputTextState_ClearFreeMemory", "ret": "void", "signature": "()", @@ -5947,7 +6241,7 @@ "cimguiname": "ImGuiInputTextState_ClearSelection", "defaults": {}, "funcname": "ClearSelection", - "location": "imgui_internal:1057", + "location": "imgui_internal:1085", "ov_cimguiname": "ImGuiInputTextState_ClearSelection", "ret": "void", "signature": "()", @@ -5968,7 +6262,7 @@ "cimguiname": "ImGuiInputTextState_ClearText", "defaults": {}, "funcname": "ClearText", - "location": "imgui_internal:1047", + "location": "imgui_internal:1075", "ov_cimguiname": "ImGuiInputTextState_ClearText", "ret": "void", "signature": "()", @@ -5989,7 +6283,7 @@ "cimguiname": "ImGuiInputTextState_CursorAnimReset", "defaults": {}, "funcname": "CursorAnimReset", - "location": "imgui_internal:1054", + "location": "imgui_internal:1082", "ov_cimguiname": "ImGuiInputTextState_CursorAnimReset", "ret": "void", "signature": "()", @@ -6010,7 +6304,7 @@ "cimguiname": "ImGuiInputTextState_CursorClamp", "defaults": {}, "funcname": "CursorClamp", - "location": "imgui_internal:1055", + "location": "imgui_internal:1083", "ov_cimguiname": "ImGuiInputTextState_CursorClamp", "ret": "void", "signature": "()", @@ -6031,7 +6325,7 @@ "cimguiname": "ImGuiInputTextState_GetCursorPos", "defaults": {}, "funcname": "GetCursorPos", - "location": "imgui_internal:1058", + "location": "imgui_internal:1086", "ov_cimguiname": "ImGuiInputTextState_GetCursorPos", "ret": "int", "signature": "()const", @@ -6052,7 +6346,7 @@ "cimguiname": "ImGuiInputTextState_GetRedoAvailCount", "defaults": {}, "funcname": "GetRedoAvailCount", - "location": "imgui_internal:1050", + "location": "imgui_internal:1078", "ov_cimguiname": "ImGuiInputTextState_GetRedoAvailCount", "ret": "int", "signature": "()const", @@ -6073,7 +6367,7 @@ "cimguiname": "ImGuiInputTextState_GetSelectionEnd", "defaults": {}, "funcname": "GetSelectionEnd", - "location": "imgui_internal:1060", + "location": "imgui_internal:1088", "ov_cimguiname": "ImGuiInputTextState_GetSelectionEnd", "ret": "int", "signature": "()const", @@ -6094,7 +6388,7 @@ "cimguiname": "ImGuiInputTextState_GetSelectionStart", "defaults": {}, "funcname": "GetSelectionStart", - "location": "imgui_internal:1059", + "location": "imgui_internal:1087", "ov_cimguiname": "ImGuiInputTextState_GetSelectionStart", "ret": "int", "signature": "()const", @@ -6115,7 +6409,7 @@ "cimguiname": "ImGuiInputTextState_GetUndoAvailCount", "defaults": {}, "funcname": "GetUndoAvailCount", - "location": "imgui_internal:1049", + "location": "imgui_internal:1077", "ov_cimguiname": "ImGuiInputTextState_GetUndoAvailCount", "ret": "int", "signature": "()const", @@ -6136,7 +6430,7 @@ "cimguiname": "ImGuiInputTextState_HasSelection", "defaults": {}, "funcname": "HasSelection", - "location": "imgui_internal:1056", + "location": "imgui_internal:1084", "ov_cimguiname": "ImGuiInputTextState_HasSelection", "ret": "bool", "signature": "()const", @@ -6153,7 +6447,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiInputTextState", - "location": "imgui_internal:1046", + "location": "imgui_internal:1074", "ov_cimguiname": "ImGuiInputTextState_ImGuiInputTextState", "signature": "()", "stname": "ImGuiInputTextState" @@ -6177,7 +6471,7 @@ "cimguiname": "ImGuiInputTextState_OnKeyPressed", "defaults": {}, "funcname": "OnKeyPressed", - "location": "imgui_internal:1051", + "location": "imgui_internal:1079", "ov_cimguiname": "ImGuiInputTextState_OnKeyPressed", "ret": "void", "signature": "(int)", @@ -6198,7 +6492,7 @@ "cimguiname": "ImGuiInputTextState_SelectAll", "defaults": {}, "funcname": "SelectAll", - "location": "imgui_internal:1061", + "location": "imgui_internal:1089", "ov_cimguiname": "ImGuiInputTextState_SelectAll", "ret": "void", "signature": "()", @@ -6224,6 +6518,132 @@ "stname": "ImGuiInputTextState" } ], + "ImGuiKeyOwnerData_ImGuiKeyOwnerData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyOwnerData_ImGuiKeyOwnerData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiKeyOwnerData", + "location": "imgui_internal:1344", + "ov_cimguiname": "ImGuiKeyOwnerData_ImGuiKeyOwnerData", + "signature": "()", + "stname": "ImGuiKeyOwnerData" + } + ], + "ImGuiKeyOwnerData_destroy": [ + { + "args": "(ImGuiKeyOwnerData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyOwnerData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiKeyOwnerData_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiKeyOwnerData_destroy", + "ret": "void", + "signature": "(ImGuiKeyOwnerData*)", + "stname": "ImGuiKeyOwnerData" + } + ], + "ImGuiKeyRoutingData_ImGuiKeyRoutingData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyRoutingData_ImGuiKeyRoutingData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiKeyRoutingData", + "location": "imgui_internal:1320", + "ov_cimguiname": "ImGuiKeyRoutingData_ImGuiKeyRoutingData", + "signature": "()", + "stname": "ImGuiKeyRoutingData" + } + ], + "ImGuiKeyRoutingData_destroy": [ + { + "args": "(ImGuiKeyRoutingData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyRoutingData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiKeyRoutingData_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiKeyRoutingData_destroy", + "ret": "void", + "signature": "(ImGuiKeyRoutingData*)", + "stname": "ImGuiKeyRoutingData" + } + ], + "ImGuiKeyRoutingTable_Clear": [ + { + "args": "(ImGuiKeyRoutingTable* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyRoutingTable*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyRoutingTable_Clear", + "defaults": {}, + "funcname": "Clear", + "location": "imgui_internal:1332", + "ov_cimguiname": "ImGuiKeyRoutingTable_Clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiKeyRoutingTable" + } + ], + "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiKeyRoutingTable", + "location": "imgui_internal:1331", + "ov_cimguiname": "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable", + "signature": "()", + "stname": "ImGuiKeyRoutingTable" + } + ], + "ImGuiKeyRoutingTable_destroy": [ + { + "args": "(ImGuiKeyRoutingTable* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiKeyRoutingTable*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiKeyRoutingTable_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiKeyRoutingTable_destroy", + "ret": "void", + "signature": "(ImGuiKeyRoutingTable*)", + "stname": "ImGuiKeyRoutingTable" + } + ], "ImGuiLastItemData_ImGuiLastItemData": [ { "args": "()", @@ -6234,7 +6654,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiLastItemData", - "location": "imgui_internal:1151", + "location": "imgui_internal:1180", "ov_cimguiname": "ImGuiLastItemData_ImGuiLastItemData", "signature": "()", "stname": "ImGuiLastItemData" @@ -6269,7 +6689,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiListClipperData", - "location": "imgui_internal:1219", + "location": "imgui_internal:1420", "ov_cimguiname": "ImGuiListClipperData_ImGuiListClipperData", "signature": "()", "stname": "ImGuiListClipperData" @@ -6293,7 +6713,7 @@ "cimguiname": "ImGuiListClipperData_Reset", "defaults": {}, "funcname": "Reset", - "location": "imgui_internal:1220", + "location": "imgui_internal:1421", "ov_cimguiname": "ImGuiListClipperData_Reset", "ret": "void", "signature": "(ImGuiListClipper*)", @@ -6338,7 +6758,7 @@ "defaults": {}, "funcname": "FromIndices", "is_static_function": true, - "location": "imgui_internal:1206", + "location": "imgui_internal:1407", "ov_cimguiname": "ImGuiListClipperRange_FromIndices", "ret": "ImGuiListClipperRange", "signature": "(int,int)", @@ -6372,7 +6792,7 @@ "defaults": {}, "funcname": "FromPositions", "is_static_function": true, - "location": "imgui_internal:1207", + "location": "imgui_internal:1408", "ov_cimguiname": "ImGuiListClipperRange_FromPositions", "ret": "ImGuiListClipperRange", "signature": "(float,float,int,int)", @@ -6403,7 +6823,7 @@ "items_height": "-1.0f" }, "funcname": "Begin", - "location": "imgui:2312", + "location": "imgui:2420", "ov_cimguiname": "ImGuiListClipper_Begin", "ret": "void", "signature": "(int,float)", @@ -6424,7 +6844,7 @@ "cimguiname": "ImGuiListClipper_End", "defaults": {}, "funcname": "End", - "location": "imgui:2313", + "location": "imgui:2421", "ov_cimguiname": "ImGuiListClipper_End", "ret": "void", "signature": "()", @@ -6453,7 +6873,7 @@ "cimguiname": "ImGuiListClipper_ForceDisplayRangeByIndices", "defaults": {}, "funcname": "ForceDisplayRangeByIndices", - "location": "imgui:2317", + "location": "imgui:2425", "ov_cimguiname": "ImGuiListClipper_ForceDisplayRangeByIndices", "ret": "void", "signature": "(int,int)", @@ -6470,7 +6890,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiListClipper", - "location": "imgui:2310", + "location": "imgui:2418", "ov_cimguiname": "ImGuiListClipper_ImGuiListClipper", "signature": "()", "stname": "ImGuiListClipper" @@ -6490,7 +6910,7 @@ "cimguiname": "ImGuiListClipper_Step", "defaults": {}, "funcname": "Step", - "location": "imgui:2314", + "location": "imgui:2422", "ov_cimguiname": "ImGuiListClipper_Step", "ret": "bool", "signature": "()", @@ -6510,7 +6930,7 @@ "cimguiname": "ImGuiListClipper_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2311", + "location": "imgui:2419", "ov_cimguiname": "ImGuiListClipper_destroy", "realdestructor": true, "ret": "void", @@ -6536,7 +6956,7 @@ "cimguiname": "ImGuiMenuColumns_CalcNextTotalWidth", "defaults": {}, "funcname": "CalcNextTotalWidth", - "location": "imgui_internal:1024", + "location": "imgui_internal:1052", "ov_cimguiname": "ImGuiMenuColumns_CalcNextTotalWidth", "ret": "void", "signature": "(bool)", @@ -6573,7 +6993,7 @@ "cimguiname": "ImGuiMenuColumns_DeclColumns", "defaults": {}, "funcname": "DeclColumns", - "location": "imgui_internal:1023", + "location": "imgui_internal:1051", "ov_cimguiname": "ImGuiMenuColumns_DeclColumns", "ret": "float", "signature": "(float,float,float,float)", @@ -6590,7 +7010,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiMenuColumns", - "location": "imgui_internal:1021", + "location": "imgui_internal:1049", "ov_cimguiname": "ImGuiMenuColumns_ImGuiMenuColumns", "signature": "()", "stname": "ImGuiMenuColumns" @@ -6618,7 +7038,7 @@ "cimguiname": "ImGuiMenuColumns_Update", "defaults": {}, "funcname": "Update", - "location": "imgui_internal:1022", + "location": "imgui_internal:1050", "ov_cimguiname": "ImGuiMenuColumns_Update", "ret": "void", "signature": "(float,bool)", @@ -6654,7 +7074,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiMetricsConfig", - "location": "imgui_internal:1613", + "location": "imgui_internal:1849", "ov_cimguiname": "ImGuiMetricsConfig_ImGuiMetricsConfig", "signature": "()", "stname": "ImGuiMetricsConfig" @@ -6693,7 +7113,7 @@ "cimguiname": "ImGuiNavItemData_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui_internal:1305", + "location": "imgui_internal:1497", "ov_cimguiname": "ImGuiNavItemData_Clear", "ret": "void", "signature": "()", @@ -6710,7 +7130,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiNavItemData", - "location": "imgui_internal:1304", + "location": "imgui_internal:1496", "ov_cimguiname": "ImGuiNavItemData_ImGuiNavItemData", "signature": "()", "stname": "ImGuiNavItemData" @@ -6749,7 +7169,7 @@ "cimguiname": "ImGuiNextItemData_ClearFlags", "defaults": {}, "funcname": "ClearFlags", - "location": "imgui_internal:1138", + "location": "imgui_internal:1167", "ov_cimguiname": "ImGuiNextItemData_ClearFlags", "ret": "void", "signature": "()", @@ -6766,7 +7186,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiNextItemData", - "location": "imgui_internal:1137", + "location": "imgui_internal:1166", "ov_cimguiname": "ImGuiNextItemData_ImGuiNextItemData", "signature": "()", "stname": "ImGuiNextItemData" @@ -6805,7 +7225,7 @@ "cimguiname": "ImGuiNextWindowData_ClearFlags", "defaults": {}, "funcname": "ClearFlags", - "location": "imgui_internal:1119", + "location": "imgui_internal:1148", "ov_cimguiname": "ImGuiNextWindowData_ClearFlags", "ret": "void", "signature": "()", @@ -6822,7 +7242,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiNextWindowData", - "location": "imgui_internal:1118", + "location": "imgui_internal:1147", "ov_cimguiname": "ImGuiNextWindowData_ImGuiNextWindowData", "signature": "()", "stname": "ImGuiNextWindowData" @@ -6857,7 +7277,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiOldColumnData", - "location": "imgui_internal:1340", + "location": "imgui_internal:1532", "ov_cimguiname": "ImGuiOldColumnData_ImGuiOldColumnData", "signature": "()", "stname": "ImGuiOldColumnData" @@ -6892,7 +7312,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiOldColumns", - "location": "imgui_internal:1361", + "location": "imgui_internal:1553", "ov_cimguiname": "ImGuiOldColumns_ImGuiOldColumns", "signature": "()", "stname": "ImGuiOldColumns" @@ -6927,7 +7347,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiOnceUponAFrame", - "location": "imgui:2176", + "location": "imgui:2284", "ov_cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", "signature": "()", "stname": "ImGuiOnceUponAFrame" @@ -6966,7 +7386,7 @@ "cimguiname": "ImGuiPayload_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2130", + "location": "imgui:2238", "ov_cimguiname": "ImGuiPayload_Clear", "ret": "void", "signature": "()", @@ -6983,7 +7403,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPayload", - "location": "imgui:2129", + "location": "imgui:2237", "ov_cimguiname": "ImGuiPayload_ImGuiPayload", "signature": "()", "stname": "ImGuiPayload" @@ -7007,7 +7427,7 @@ "cimguiname": "ImGuiPayload_IsDataType", "defaults": {}, "funcname": "IsDataType", - "location": "imgui:2131", + "location": "imgui:2239", "ov_cimguiname": "ImGuiPayload_IsDataType", "ret": "bool", "signature": "(const char*)const", @@ -7028,7 +7448,7 @@ "cimguiname": "ImGuiPayload_IsDelivery", "defaults": {}, "funcname": "IsDelivery", - "location": "imgui:2133", + "location": "imgui:2241", "ov_cimguiname": "ImGuiPayload_IsDelivery", "ret": "bool", "signature": "()const", @@ -7049,7 +7469,7 @@ "cimguiname": "ImGuiPayload_IsPreview", "defaults": {}, "funcname": "IsPreview", - "location": "imgui:2132", + "location": "imgui:2240", "ov_cimguiname": "ImGuiPayload_IsPreview", "ret": "bool", "signature": "()const", @@ -7085,7 +7505,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPlatformIO", - "location": "imgui:3068", + "location": "imgui:3182", "ov_cimguiname": "ImGuiPlatformIO_ImGuiPlatformIO", "signature": "()", "stname": "ImGuiPlatformIO" @@ -7110,6 +7530,41 @@ "stname": "ImGuiPlatformIO" } ], + "ImGuiPlatformImeData_ImGuiPlatformImeData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPlatformImeData", + "location": "imgui:3202", + "ov_cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", + "signature": "()", + "stname": "ImGuiPlatformImeData" + } + ], + "ImGuiPlatformImeData_destroy": [ + { + "args": "(ImGuiPlatformImeData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPlatformImeData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPlatformImeData_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiPlatformImeData_destroy", + "ret": "void", + "signature": "(ImGuiPlatformImeData*)", + "stname": "ImGuiPlatformImeData" + } + ], "ImGuiPlatformMonitor_ImGuiPlatformMonitor": [ { "args": "()", @@ -7120,7 +7575,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPlatformMonitor", - "location": "imgui:3078", + "location": "imgui:3192", "ov_cimguiname": "ImGuiPlatformMonitor_ImGuiPlatformMonitor", "signature": "()", "stname": "ImGuiPlatformMonitor" @@ -7155,7 +7610,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPopupData", - "location": "imgui_internal:1075", + "location": "imgui_internal:1104", "ov_cimguiname": "ImGuiPopupData_ImGuiPopupData", "signature": "()", "stname": "ImGuiPopupData" @@ -7195,8 +7650,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPtrOrIndex", - "location": "imgui_internal:1190", - "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr", + "location": "imgui_internal:1220", + "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr", "signature": "(void*)", "stname": "ImGuiPtrOrIndex" }, @@ -7214,8 +7669,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPtrOrIndex", - "location": "imgui_internal:1191", - "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndexInt", + "location": "imgui_internal:1221", + "ov_cimguiname": "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int", "signature": "(int)", "stname": "ImGuiPtrOrIndex" } @@ -7249,7 +7704,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiSettingsHandler", - "location": "imgui_internal:1594", + "location": "imgui_internal:1788", "ov_cimguiname": "ImGuiSettingsHandler_ImGuiSettingsHandler", "signature": "()", "stname": "ImGuiSettingsHandler" @@ -7284,7 +7739,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStackLevelInfo", - "location": "imgui_internal:1634", + "location": "imgui_internal:1867", "ov_cimguiname": "ImGuiStackLevelInfo_ImGuiStackLevelInfo", "signature": "()", "stname": "ImGuiStackLevelInfo" @@ -7323,7 +7778,7 @@ "cimguiname": "ImGuiStackSizes_CompareWithCurrentState", "defaults": {}, "funcname": "CompareWithCurrentState", - "location": "imgui_internal:1168", + "location": "imgui_internal:1197", "ov_cimguiname": "ImGuiStackSizes_CompareWithCurrentState", "ret": "void", "signature": "()", @@ -7340,7 +7795,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStackSizes", - "location": "imgui_internal:1166", + "location": "imgui_internal:1195", "ov_cimguiname": "ImGuiStackSizes_ImGuiStackSizes", "signature": "()", "stname": "ImGuiStackSizes" @@ -7360,7 +7815,7 @@ "cimguiname": "ImGuiStackSizes_SetToCurrentState", "defaults": {}, "funcname": "SetToCurrentState", - "location": "imgui_internal:1167", + "location": "imgui_internal:1196", "ov_cimguiname": "ImGuiStackSizes_SetToCurrentState", "ret": "void", "signature": "()", @@ -7396,7 +7851,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStackTool", - "location": "imgui_internal:1645", + "location": "imgui_internal:1880", "ov_cimguiname": "ImGuiStackTool_ImGuiStackTool", "signature": "()", "stname": "ImGuiStackTool" @@ -7440,8 +7895,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStoragePair", - "location": "imgui:2243", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairInt", + "location": "imgui:2351", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Int", "signature": "(ImGuiID,int)", "stname": "ImGuiStoragePair" }, @@ -7463,8 +7918,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStoragePair", - "location": "imgui:2244", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairFloat", + "location": "imgui:2352", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Float", "signature": "(ImGuiID,float)", "stname": "ImGuiStoragePair" }, @@ -7486,8 +7941,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStoragePair", - "location": "imgui:2245", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairPtr", + "location": "imgui:2353", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Ptr", "signature": "(ImGuiID,void*)", "stname": "ImGuiStoragePair" } @@ -7525,7 +7980,7 @@ "cimguiname": "ImGuiStorage_BuildSortByKey", "defaults": {}, "funcname": "BuildSortByKey", - "location": "imgui:2276", + "location": "imgui:2384", "ov_cimguiname": "ImGuiStorage_BuildSortByKey", "ret": "void", "signature": "()", @@ -7546,7 +8001,7 @@ "cimguiname": "ImGuiStorage_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2253", + "location": "imgui:2361", "ov_cimguiname": "ImGuiStorage_Clear", "ret": "void", "signature": "()", @@ -7577,7 +8032,7 @@ "default_val": "false" }, "funcname": "GetBool", - "location": "imgui:2256", + "location": "imgui:2364", "ov_cimguiname": "ImGuiStorage_GetBool", "ret": "bool", "signature": "(ImGuiID,bool)const", @@ -7608,7 +8063,7 @@ "default_val": "false" }, "funcname": "GetBoolRef", - "location": "imgui:2268", + "location": "imgui:2376", "ov_cimguiname": "ImGuiStorage_GetBoolRef", "ret": "bool*", "signature": "(ImGuiID,bool)", @@ -7639,7 +8094,7 @@ "default_val": "0.0f" }, "funcname": "GetFloat", - "location": "imgui:2258", + "location": "imgui:2366", "ov_cimguiname": "ImGuiStorage_GetFloat", "ret": "float", "signature": "(ImGuiID,float)const", @@ -7670,7 +8125,7 @@ "default_val": "0.0f" }, "funcname": "GetFloatRef", - "location": "imgui:2269", + "location": "imgui:2377", "ov_cimguiname": "ImGuiStorage_GetFloatRef", "ret": "float*", "signature": "(ImGuiID,float)", @@ -7701,7 +8156,7 @@ "default_val": "0" }, "funcname": "GetInt", - "location": "imgui:2254", + "location": "imgui:2362", "ov_cimguiname": "ImGuiStorage_GetInt", "ret": "int", "signature": "(ImGuiID,int)const", @@ -7732,7 +8187,7 @@ "default_val": "0" }, "funcname": "GetIntRef", - "location": "imgui:2267", + "location": "imgui:2375", "ov_cimguiname": "ImGuiStorage_GetIntRef", "ret": "int*", "signature": "(ImGuiID,int)", @@ -7757,7 +8212,7 @@ "cimguiname": "ImGuiStorage_GetVoidPtr", "defaults": {}, "funcname": "GetVoidPtr", - "location": "imgui:2260", + "location": "imgui:2368", "ov_cimguiname": "ImGuiStorage_GetVoidPtr", "ret": "void*", "signature": "(ImGuiID)const", @@ -7788,7 +8243,7 @@ "default_val": "NULL" }, "funcname": "GetVoidPtrRef", - "location": "imgui:2270", + "location": "imgui:2378", "ov_cimguiname": "ImGuiStorage_GetVoidPtrRef", "ret": "void**", "signature": "(ImGuiID,void*)", @@ -7813,7 +8268,7 @@ "cimguiname": "ImGuiStorage_SetAllInt", "defaults": {}, "funcname": "SetAllInt", - "location": "imgui:2273", + "location": "imgui:2381", "ov_cimguiname": "ImGuiStorage_SetAllInt", "ret": "void", "signature": "(int)", @@ -7842,7 +8297,7 @@ "cimguiname": "ImGuiStorage_SetBool", "defaults": {}, "funcname": "SetBool", - "location": "imgui:2257", + "location": "imgui:2365", "ov_cimguiname": "ImGuiStorage_SetBool", "ret": "void", "signature": "(ImGuiID,bool)", @@ -7871,7 +8326,7 @@ "cimguiname": "ImGuiStorage_SetFloat", "defaults": {}, "funcname": "SetFloat", - "location": "imgui:2259", + "location": "imgui:2367", "ov_cimguiname": "ImGuiStorage_SetFloat", "ret": "void", "signature": "(ImGuiID,float)", @@ -7900,7 +8355,7 @@ "cimguiname": "ImGuiStorage_SetInt", "defaults": {}, "funcname": "SetInt", - "location": "imgui:2255", + "location": "imgui:2363", "ov_cimguiname": "ImGuiStorage_SetInt", "ret": "void", "signature": "(ImGuiID,int)", @@ -7929,7 +8384,7 @@ "cimguiname": "ImGuiStorage_SetVoidPtr", "defaults": {}, "funcname": "SetVoidPtr", - "location": "imgui:2261", + "location": "imgui:2369", "ov_cimguiname": "ImGuiStorage_SetVoidPtr", "ret": "void", "signature": "(ImGuiID,void*)", @@ -7955,8 +8410,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStyleMod", - "location": "imgui_internal:975", - "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleModInt", + "location": "imgui_internal:1003", + "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Int", "signature": "(ImGuiStyleVar,int)", "stname": "ImGuiStyleMod" }, @@ -7978,8 +8433,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStyleMod", - "location": "imgui_internal:976", - "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleModFloat", + "location": "imgui_internal:1004", + "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Float", "signature": "(ImGuiStyleVar,float)", "stname": "ImGuiStyleMod" }, @@ -8001,8 +8456,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStyleMod", - "location": "imgui_internal:977", - "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleModVec2", + "location": "imgui_internal:1005", + "ov_cimguiname": "ImGuiStyleMod_ImGuiStyleMod_Vec2", "signature": "(ImGuiStyleVar,ImVec2)", "stname": "ImGuiStyleMod" } @@ -8036,7 +8491,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStyle", - "location": "imgui:1886", + "location": "imgui:1953", "ov_cimguiname": "ImGuiStyle_ImGuiStyle", "signature": "()", "stname": "ImGuiStyle" @@ -8060,7 +8515,7 @@ "cimguiname": "ImGuiStyle_ScaleAllSizes", "defaults": {}, "funcname": "ScaleAllSizes", - "location": "imgui:1887", + "location": "imgui:1954", "ov_cimguiname": "ImGuiStyle_ScaleAllSizes", "ret": "void", "signature": "(float)", @@ -8104,7 +8559,7 @@ "cimguiname": "ImGuiTabBar_GetTabName", "defaults": {}, "funcname": "GetTabName", - "location": "imgui_internal:2370", + "location": "imgui_internal:2648", "ov_cimguiname": "ImGuiTabBar_GetTabName", "ret": "const char*", "signature": "(const ImGuiTabItem*)const", @@ -8129,7 +8584,7 @@ "cimguiname": "ImGuiTabBar_GetTabOrder", "defaults": {}, "funcname": "GetTabOrder", - "location": "imgui_internal:2369", + "location": "imgui_internal:2647", "ov_cimguiname": "ImGuiTabBar_GetTabOrder", "ret": "int", "signature": "(const ImGuiTabItem*)const", @@ -8146,7 +8601,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTabBar", - "location": "imgui_internal:2368", + "location": "imgui_internal:2646", "ov_cimguiname": "ImGuiTabBar_ImGuiTabBar", "signature": "()", "stname": "ImGuiTabBar" @@ -8181,7 +8636,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTabItem", - "location": "imgui_internal:2330", + "location": "imgui_internal:2608", "ov_cimguiname": "ImGuiTabItem_ImGuiTabItem", "signature": "()", "stname": "ImGuiTabItem" @@ -8216,7 +8671,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableColumnSettings", - "location": "imgui_internal:2606", + "location": "imgui_internal:2894", "ov_cimguiname": "ImGuiTableColumnSettings_ImGuiTableColumnSettings", "signature": "()", "stname": "ImGuiTableColumnSettings" @@ -8251,7 +8706,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableColumnSortSpecs", - "location": "imgui:2144", + "location": "imgui:2252", "ov_cimguiname": "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs", "signature": "()", "stname": "ImGuiTableColumnSortSpecs" @@ -8286,7 +8741,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableColumn", - "location": "imgui_internal:2439", + "location": "imgui_internal:2717", "ov_cimguiname": "ImGuiTableColumn_ImGuiTableColumn", "signature": "()", "stname": "ImGuiTableColumn" @@ -8311,6 +8766,41 @@ "stname": "ImGuiTableColumn" } ], + "ImGuiTableInstanceData_ImGuiTableInstanceData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTableInstanceData_ImGuiTableInstanceData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiTableInstanceData", + "location": "imgui_internal:2744", + "ov_cimguiname": "ImGuiTableInstanceData_ImGuiTableInstanceData", + "signature": "()", + "stname": "ImGuiTableInstanceData" + } + ], + "ImGuiTableInstanceData_destroy": [ + { + "args": "(ImGuiTableInstanceData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTableInstanceData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiTableInstanceData_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiTableInstanceData_destroy", + "ret": "void", + "signature": "(ImGuiTableInstanceData*)", + "stname": "ImGuiTableInstanceData" + } + ], "ImGuiTableSettings_GetColumnSettings": [ { "args": "(ImGuiTableSettings* self)", @@ -8325,7 +8815,7 @@ "cimguiname": "ImGuiTableSettings_GetColumnSettings", "defaults": {}, "funcname": "GetColumnSettings", - "location": "imgui_internal:2629", + "location": "imgui_internal:2917", "ov_cimguiname": "ImGuiTableSettings_GetColumnSettings", "ret": "ImGuiTableColumnSettings*", "signature": "()", @@ -8342,7 +8832,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableSettings", - "location": "imgui_internal:2628", + "location": "imgui_internal:2916", "ov_cimguiname": "ImGuiTableSettings_ImGuiTableSettings", "signature": "()", "stname": "ImGuiTableSettings" @@ -8377,7 +8867,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableSortSpecs", - "location": "imgui:2157", + "location": "imgui:2265", "ov_cimguiname": "ImGuiTableSortSpecs_ImGuiTableSortSpecs", "signature": "()", "stname": "ImGuiTableSortSpecs" @@ -8412,7 +8902,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableTempData", - "location": "imgui_internal:2591", + "location": "imgui_internal:2879", "ov_cimguiname": "ImGuiTableTempData_ImGuiTableTempData", "signature": "()", "stname": "ImGuiTableTempData" @@ -8447,7 +8937,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTable", - "location": "imgui_internal:2567", + "location": "imgui_internal:2855", "ov_cimguiname": "ImGuiTable_ImGuiTable", "signature": "()", "stname": "ImGuiTable" @@ -8466,7 +8956,7 @@ "cimguiname": "ImGuiTable_destroy", "defaults": {}, "destructor": true, - "location": "imgui_internal:2568", + "location": "imgui_internal:2856", "ov_cimguiname": "ImGuiTable_destroy", "realdestructor": true, "ret": "void", @@ -8484,7 +8974,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTextBuffer", - "location": "imgui:2214", + "location": "imgui:2322", "ov_cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", "signature": "()", "stname": "ImGuiTextBuffer" @@ -8514,7 +9004,7 @@ "str_end": "NULL" }, "funcname": "append", - "location": "imgui:2223", + "location": "imgui:2331", "ov_cimguiname": "ImGuiTextBuffer_append", "ret": "void", "signature": "(const char*,const char*)", @@ -8544,7 +9034,7 @@ "defaults": {}, "funcname": "appendf", "isvararg": "...)", - "location": "imgui:2224", + "location": "imgui:2332", "manual": true, "ov_cimguiname": "ImGuiTextBuffer_appendf", "ret": "void", @@ -8574,7 +9064,7 @@ "cimguiname": "ImGuiTextBuffer_appendfv", "defaults": {}, "funcname": "appendfv", - "location": "imgui:2225", + "location": "imgui:2333", "ov_cimguiname": "ImGuiTextBuffer_appendfv", "ret": "void", "signature": "(const char*,va_list)", @@ -8595,7 +9085,7 @@ "cimguiname": "ImGuiTextBuffer_begin", "defaults": {}, "funcname": "begin", - "location": "imgui:2216", + "location": "imgui:2324", "ov_cimguiname": "ImGuiTextBuffer_begin", "ret": "const char*", "signature": "()const", @@ -8616,7 +9106,7 @@ "cimguiname": "ImGuiTextBuffer_c_str", "defaults": {}, "funcname": "c_str", - "location": "imgui:2222", + "location": "imgui:2330", "ov_cimguiname": "ImGuiTextBuffer_c_str", "ret": "const char*", "signature": "()const", @@ -8637,7 +9127,7 @@ "cimguiname": "ImGuiTextBuffer_clear", "defaults": {}, "funcname": "clear", - "location": "imgui:2220", + "location": "imgui:2328", "ov_cimguiname": "ImGuiTextBuffer_clear", "ret": "void", "signature": "()", @@ -8677,7 +9167,7 @@ "cimguiname": "ImGuiTextBuffer_empty", "defaults": {}, "funcname": "empty", - "location": "imgui:2219", + "location": "imgui:2327", "ov_cimguiname": "ImGuiTextBuffer_empty", "ret": "bool", "signature": "()const", @@ -8698,7 +9188,7 @@ "cimguiname": "ImGuiTextBuffer_end", "defaults": {}, "funcname": "end", - "location": "imgui:2217", + "location": "imgui:2325", "ov_cimguiname": "ImGuiTextBuffer_end", "ret": "const char*", "signature": "()const", @@ -8723,7 +9213,7 @@ "cimguiname": "ImGuiTextBuffer_reserve", "defaults": {}, "funcname": "reserve", - "location": "imgui:2221", + "location": "imgui:2329", "ov_cimguiname": "ImGuiTextBuffer_reserve", "ret": "void", "signature": "(int)", @@ -8744,7 +9234,7 @@ "cimguiname": "ImGuiTextBuffer_size", "defaults": {}, "funcname": "size", - "location": "imgui:2218", + "location": "imgui:2326", "ov_cimguiname": "ImGuiTextBuffer_size", "ret": "int", "signature": "()const", @@ -8765,7 +9255,7 @@ "cimguiname": "ImGuiTextFilter_Build", "defaults": {}, "funcname": "Build", - "location": "imgui:2187", + "location": "imgui:2295", "ov_cimguiname": "ImGuiTextFilter_Build", "ret": "void", "signature": "()", @@ -8786,7 +9276,7 @@ "cimguiname": "ImGuiTextFilter_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2188", + "location": "imgui:2296", "ov_cimguiname": "ImGuiTextFilter_Clear", "ret": "void", "signature": "()", @@ -8818,7 +9308,7 @@ "width": "0.0f" }, "funcname": "Draw", - "location": "imgui:2185", + "location": "imgui:2293", "ov_cimguiname": "ImGuiTextFilter_Draw", "ret": "bool", "signature": "(const char*,float)", @@ -8842,7 +9332,7 @@ "default_filter": "\"\"" }, "funcname": "ImGuiTextFilter", - "location": "imgui:2184", + "location": "imgui:2292", "ov_cimguiname": "ImGuiTextFilter_ImGuiTextFilter", "signature": "(const char*)", "stname": "ImGuiTextFilter" @@ -8862,7 +9352,7 @@ "cimguiname": "ImGuiTextFilter_IsActive", "defaults": {}, "funcname": "IsActive", - "location": "imgui:2189", + "location": "imgui:2297", "ov_cimguiname": "ImGuiTextFilter_IsActive", "ret": "bool", "signature": "()const", @@ -8893,7 +9383,7 @@ "text_end": "NULL" }, "funcname": "PassFilter", - "location": "imgui:2186", + "location": "imgui:2294", "ov_cimguiname": "ImGuiTextFilter_PassFilter", "ret": "bool", "signature": "(const char*,const char*)const", @@ -8919,6 +9409,139 @@ "stname": "ImGuiTextFilter" } ], + "ImGuiTextIndex_append": [ + { + "args": "(ImGuiTextIndex* self,const char* base,int old_size,int new_size)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + }, + { + "name": "base", + "type": "const char*" + }, + { + "name": "old_size", + "type": "int" + }, + { + "name": "new_size", + "type": "int" + } + ], + "argsoriginal": "(const char* base,int old_size,int new_size)", + "call_args": "(base,old_size,new_size)", + "cimguiname": "ImGuiTextIndex_append", + "defaults": {}, + "funcname": "append", + "location": "imgui_internal:725", + "ov_cimguiname": "ImGuiTextIndex_append", + "ret": "void", + "signature": "(const char*,int,int)", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_clear": [ + { + "args": "(ImGuiTextIndex* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextIndex_clear", + "defaults": {}, + "funcname": "clear", + "location": "imgui_internal:721", + "ov_cimguiname": "ImGuiTextIndex_clear", + "ret": "void", + "signature": "()", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_get_line_begin": [ + { + "args": "(ImGuiTextIndex* self,const char* base,int n)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + }, + { + "name": "base", + "type": "const char*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(const char* base,int n)", + "call_args": "(base,n)", + "cimguiname": "ImGuiTextIndex_get_line_begin", + "defaults": {}, + "funcname": "get_line_begin", + "location": "imgui_internal:723", + "ov_cimguiname": "ImGuiTextIndex_get_line_begin", + "ret": "const char*", + "signature": "(const char*,int)", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_get_line_end": [ + { + "args": "(ImGuiTextIndex* self,const char* base,int n)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + }, + { + "name": "base", + "type": "const char*" + }, + { + "name": "n", + "type": "int" + } + ], + "argsoriginal": "(const char* base,int n)", + "call_args": "(base,n)", + "cimguiname": "ImGuiTextIndex_get_line_end", + "defaults": {}, + "funcname": "get_line_end", + "location": "imgui_internal:724", + "ov_cimguiname": "ImGuiTextIndex_get_line_end", + "ret": "const char*", + "signature": "(const char*,int)", + "stname": "ImGuiTextIndex" + } + ], + "ImGuiTextIndex_size": [ + { + "args": "(ImGuiTextIndex* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiTextIndex*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiTextIndex_size", + "defaults": {}, + "funcname": "size", + "location": "imgui_internal:722", + "ov_cimguiname": "ImGuiTextIndex_size", + "ret": "int", + "signature": "()", + "stname": "ImGuiTextIndex" + } + ], "ImGuiTextRange_ImGuiTextRange": [ { "args": "()", @@ -8929,8 +9552,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTextRange", - "location": "imgui:2197", - "ov_cimguiname": "ImGuiTextRange_ImGuiTextRangeNil", + "location": "imgui:2305", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Nil", "signature": "()", "stname": "ImGuiTextRange" }, @@ -8952,8 +9575,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTextRange", - "location": "imgui:2198", - "ov_cimguiname": "ImGuiTextRange_ImGuiTextRangeStr", + "location": "imgui:2306", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Str", "signature": "(const char*,const char*)", "stname": "ImGuiTextRange" } @@ -8991,7 +9614,7 @@ "cimguiname": "ImGuiTextRange_empty", "defaults": {}, "funcname": "empty", - "location": "imgui:2199", + "location": "imgui:2307", "ov_cimguiname": "ImGuiTextRange_empty", "ret": "bool", "signature": "()const", @@ -9020,7 +9643,7 @@ "cimguiname": "ImGuiTextRange_split", "defaults": {}, "funcname": "split", - "location": "imgui:2200", + "location": "imgui:2308", "ov_cimguiname": "ImGuiTextRange_split", "ret": "void", "signature": "(char,ImVector_ImGuiTextRange*)const", @@ -9049,7 +9672,7 @@ "cimguiname": "ImGuiViewportP_CalcWorkRectPos", "defaults": {}, "funcname": "CalcWorkRectPos", - "location": "imgui_internal:1548", + "location": "imgui_internal:1742", "nonUDT": 1, "ov_cimguiname": "ImGuiViewportP_CalcWorkRectPos", "ret": "void", @@ -9083,7 +9706,7 @@ "cimguiname": "ImGuiViewportP_CalcWorkRectSize", "defaults": {}, "funcname": "CalcWorkRectSize", - "location": "imgui_internal:1549", + "location": "imgui_internal:1743", "nonUDT": 1, "ov_cimguiname": "ImGuiViewportP_CalcWorkRectSize", "ret": "void", @@ -9105,7 +9728,7 @@ "cimguiname": "ImGuiViewportP_ClearRequestFlags", "defaults": {}, "funcname": "ClearRequestFlags", - "location": "imgui_internal:1545", + "location": "imgui_internal:1739", "ov_cimguiname": "ImGuiViewportP_ClearRequestFlags", "ret": "void", "signature": "()", @@ -9130,7 +9753,7 @@ "cimguiname": "ImGuiViewportP_GetBuildWorkRect", "defaults": {}, "funcname": "GetBuildWorkRect", - "location": "imgui_internal:1555", + "location": "imgui_internal:1749", "nonUDT": 1, "ov_cimguiname": "ImGuiViewportP_GetBuildWorkRect", "ret": "void", @@ -9156,7 +9779,7 @@ "cimguiname": "ImGuiViewportP_GetMainRect", "defaults": {}, "funcname": "GetMainRect", - "location": "imgui_internal:1553", + "location": "imgui_internal:1747", "nonUDT": 1, "ov_cimguiname": "ImGuiViewportP_GetMainRect", "ret": "void", @@ -9182,7 +9805,7 @@ "cimguiname": "ImGuiViewportP_GetWorkRect", "defaults": {}, "funcname": "GetWorkRect", - "location": "imgui_internal:1554", + "location": "imgui_internal:1748", "nonUDT": 1, "ov_cimguiname": "ImGuiViewportP_GetWorkRect", "ret": "void", @@ -9200,7 +9823,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiViewportP", - "location": "imgui_internal:1543", + "location": "imgui_internal:1737", "ov_cimguiname": "ImGuiViewportP_ImGuiViewportP", "signature": "()", "stname": "ImGuiViewportP" @@ -9220,7 +9843,7 @@ "cimguiname": "ImGuiViewportP_UpdateWorkRect", "defaults": {}, "funcname": "UpdateWorkRect", - "location": "imgui_internal:1550", + "location": "imgui_internal:1744", "ov_cimguiname": "ImGuiViewportP_UpdateWorkRect", "ret": "void", "signature": "()", @@ -9240,7 +9863,7 @@ "cimguiname": "ImGuiViewportP_destroy", "defaults": {}, "destructor": true, - "location": "imgui_internal:1544", + "location": "imgui_internal:1738", "ov_cimguiname": "ImGuiViewportP_destroy", "realdestructor": true, "ret": "void", @@ -9266,7 +9889,7 @@ "cimguiname": "ImGuiViewport_GetCenter", "defaults": {}, "funcname": "GetCenter", - "location": "imgui:2955", + "location": "imgui:3070", "nonUDT": 1, "ov_cimguiname": "ImGuiViewport_GetCenter", "ret": "void", @@ -9292,7 +9915,7 @@ "cimguiname": "ImGuiViewport_GetWorkCenter", "defaults": {}, "funcname": "GetWorkCenter", - "location": "imgui:2956", + "location": "imgui:3071", "nonUDT": 1, "ov_cimguiname": "ImGuiViewport_GetWorkCenter", "ret": "void", @@ -9310,7 +9933,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiViewport", - "location": "imgui:2951", + "location": "imgui:3066", "ov_cimguiname": "ImGuiViewport_ImGuiViewport", "signature": "()", "stname": "ImGuiViewport" @@ -9329,7 +9952,7 @@ "cimguiname": "ImGuiViewport_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2952", + "location": "imgui:3067", "ov_cimguiname": "ImGuiViewport_destroy", "realdestructor": true, "ret": "void", @@ -9347,7 +9970,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiWindowClass", - "location": "imgui:2111", + "location": "imgui:2219", "ov_cimguiname": "ImGuiWindowClass_ImGuiWindowClass", "signature": "()", "stname": "ImGuiWindowClass" @@ -9386,7 +10009,7 @@ "cimguiname": "ImGuiWindowSettings_GetName", "defaults": {}, "funcname": "GetName", - "location": "imgui_internal:1579", + "location": "imgui_internal:1773", "ov_cimguiname": "ImGuiWindowSettings_GetName", "ret": "char*", "signature": "()", @@ -9403,7 +10026,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiWindowSettings", - "location": "imgui_internal:1578", + "location": "imgui_internal:1772", "ov_cimguiname": "ImGuiWindowSettings_ImGuiWindowSettings", "signature": "()", "stname": "ImGuiWindowSettings" @@ -9442,7 +10065,7 @@ "cimguiname": "ImGuiWindow_CalcFontSize", "defaults": {}, "funcname": "CalcFontSize", - "location": "imgui_internal:2285", + "location": "imgui_internal:2562", "ov_cimguiname": "ImGuiWindow_CalcFontSize", "ret": "float", "signature": "()const", @@ -9473,8 +10096,8 @@ "str_end": "NULL" }, "funcname": "GetID", - "location": "imgui_internal:2275", - "ov_cimguiname": "ImGuiWindow_GetIDStr", + "location": "imgui_internal:2555", + "ov_cimguiname": "ImGuiWindow_GetID_Str", "ret": "ImGuiID", "signature": "(const char*,const char*)", "stname": "ImGuiWindow" @@ -9496,8 +10119,8 @@ "cimguiname": "ImGuiWindow_GetID", "defaults": {}, "funcname": "GetID", - "location": "imgui_internal:2276", - "ov_cimguiname": "ImGuiWindow_GetIDPtr", + "location": "imgui_internal:2556", + "ov_cimguiname": "ImGuiWindow_GetID_Ptr", "ret": "ImGuiID", "signature": "(const void*)", "stname": "ImGuiWindow" @@ -9519,8 +10142,8 @@ "cimguiname": "ImGuiWindow_GetID", "defaults": {}, "funcname": "GetID", - "location": "imgui_internal:2277", - "ov_cimguiname": "ImGuiWindow_GetIDInt", + "location": "imgui_internal:2557", + "ov_cimguiname": "ImGuiWindow_GetID_Int", "ret": "ImGuiID", "signature": "(int)", "stname": "ImGuiWindow" @@ -9544,90 +10167,13 @@ "cimguiname": "ImGuiWindow_GetIDFromRectangle", "defaults": {}, "funcname": "GetIDFromRectangle", - "location": "imgui_internal:2281", + "location": "imgui_internal:2558", "ov_cimguiname": "ImGuiWindow_GetIDFromRectangle", "ret": "ImGuiID", "signature": "(const ImRect)", "stname": "ImGuiWindow" } ], - "ImGuiWindow_GetIDNoKeepAlive": [ - { - "args": "(ImGuiWindow* self,const char* str,const char* str_end)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "str", - "type": "const char*" - }, - { - "name": "str_end", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str,const char* str_end=((void*)0))", - "call_args": "(str,str_end)", - "cimguiname": "ImGuiWindow_GetIDNoKeepAlive", - "defaults": { - "str_end": "NULL" - }, - "funcname": "GetIDNoKeepAlive", - "location": "imgui_internal:2278", - "ov_cimguiname": "ImGuiWindow_GetIDNoKeepAliveStr", - "ret": "ImGuiID", - "signature": "(const char*,const char*)", - "stname": "ImGuiWindow" - }, - { - "args": "(ImGuiWindow* self,const void* ptr)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "ptr", - "type": "const void*" - } - ], - "argsoriginal": "(const void* ptr)", - "call_args": "(ptr)", - "cimguiname": "ImGuiWindow_GetIDNoKeepAlive", - "defaults": {}, - "funcname": "GetIDNoKeepAlive", - "location": "imgui_internal:2279", - "ov_cimguiname": "ImGuiWindow_GetIDNoKeepAlivePtr", - "ret": "ImGuiID", - "signature": "(const void*)", - "stname": "ImGuiWindow" - }, - { - "args": "(ImGuiWindow* self,int n)", - "argsT": [ - { - "name": "self", - "type": "ImGuiWindow*" - }, - { - "name": "n", - "type": "int" - } - ], - "argsoriginal": "(int n)", - "call_args": "(n)", - "cimguiname": "ImGuiWindow_GetIDNoKeepAlive", - "defaults": {}, - "funcname": "GetIDNoKeepAlive", - "location": "imgui_internal:2280", - "ov_cimguiname": "ImGuiWindow_GetIDNoKeepAliveInt", - "ret": "ImGuiID", - "signature": "(int)", - "stname": "ImGuiWindow" - } - ], "ImGuiWindow_ImGuiWindow": [ { "args": "(ImGuiContext* context,const char* name)", @@ -9647,7 +10193,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiWindow", - "location": "imgui_internal:2271", + "location": "imgui_internal:2551", "ov_cimguiname": "ImGuiWindow_ImGuiWindow", "signature": "(ImGuiContext*,const char*)", "stname": "ImGuiWindow" @@ -9667,7 +10213,7 @@ "cimguiname": "ImGuiWindow_MenuBarHeight", "defaults": {}, "funcname": "MenuBarHeight", - "location": "imgui_internal:2288", + "location": "imgui_internal:2565", "ov_cimguiname": "ImGuiWindow_MenuBarHeight", "ret": "float", "signature": "()const", @@ -9692,7 +10238,7 @@ "cimguiname": "ImGuiWindow_MenuBarRect", "defaults": {}, "funcname": "MenuBarRect", - "location": "imgui_internal:2289", + "location": "imgui_internal:2566", "nonUDT": 1, "ov_cimguiname": "ImGuiWindow_MenuBarRect", "ret": "void", @@ -9718,7 +10264,7 @@ "cimguiname": "ImGuiWindow_Rect", "defaults": {}, "funcname": "Rect", - "location": "imgui_internal:2284", + "location": "imgui_internal:2561", "nonUDT": 1, "ov_cimguiname": "ImGuiWindow_Rect", "ret": "void", @@ -9740,7 +10286,7 @@ "cimguiname": "ImGuiWindow_TitleBarHeight", "defaults": {}, "funcname": "TitleBarHeight", - "location": "imgui_internal:2286", + "location": "imgui_internal:2563", "ov_cimguiname": "ImGuiWindow_TitleBarHeight", "ret": "float", "signature": "()const", @@ -9765,7 +10311,7 @@ "cimguiname": "ImGuiWindow_TitleBarRect", "defaults": {}, "funcname": "TitleBarRect", - "location": "imgui_internal:2287", + "location": "imgui_internal:2564", "nonUDT": 1, "ov_cimguiname": "ImGuiWindow_TitleBarRect", "ret": "void", @@ -9786,7 +10332,7 @@ "cimguiname": "ImGuiWindow_destroy", "defaults": {}, "destructor": true, - "location": "imgui_internal:2273", + "location": "imgui_internal:2553", "ov_cimguiname": "ImGuiWindow_destroy", "realdestructor": true, "ret": "void", @@ -9808,7 +10354,7 @@ "cimguiname": "ImPool_Add", "defaults": {}, "funcname": "Add", - "location": "imgui_internal:651", + "location": "imgui_internal:674", "ov_cimguiname": "ImPool_Add", "ret": "T*", "signature": "()", @@ -9830,7 +10376,7 @@ "cimguiname": "ImPool_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui_internal:650", + "location": "imgui_internal:673", "ov_cimguiname": "ImPool_Clear", "ret": "void", "signature": "()", @@ -9856,7 +10402,7 @@ "cimguiname": "ImPool_Contains", "defaults": {}, "funcname": "Contains", - "location": "imgui_internal:649", + "location": "imgui_internal:672", "ov_cimguiname": "ImPool_Contains", "ret": "bool", "signature": "(const T*)const", @@ -9878,7 +10424,7 @@ "cimguiname": "ImPool_GetAliveCount", "defaults": {}, "funcname": "GetAliveCount", - "location": "imgui_internal:658", + "location": "imgui_internal:681", "ov_cimguiname": "ImPool_GetAliveCount", "ret": "int", "signature": "()const", @@ -9900,7 +10446,7 @@ "cimguiname": "ImPool_GetBufSize", "defaults": {}, "funcname": "GetBufSize", - "location": "imgui_internal:659", + "location": "imgui_internal:682", "ov_cimguiname": "ImPool_GetBufSize", "ret": "int", "signature": "()const", @@ -9926,7 +10472,7 @@ "cimguiname": "ImPool_GetByIndex", "defaults": {}, "funcname": "GetByIndex", - "location": "imgui_internal:646", + "location": "imgui_internal:669", "ov_cimguiname": "ImPool_GetByIndex", "ret": "T*", "signature": "(ImPoolIdx)", @@ -9952,7 +10498,7 @@ "cimguiname": "ImPool_GetByKey", "defaults": {}, "funcname": "GetByKey", - "location": "imgui_internal:645", + "location": "imgui_internal:668", "ov_cimguiname": "ImPool_GetByKey", "ret": "T*", "signature": "(ImGuiID)", @@ -9978,7 +10524,7 @@ "cimguiname": "ImPool_GetIndex", "defaults": {}, "funcname": "GetIndex", - "location": "imgui_internal:647", + "location": "imgui_internal:670", "ov_cimguiname": "ImPool_GetIndex", "ret": "ImPoolIdx", "signature": "(const T*)const", @@ -10000,7 +10546,7 @@ "cimguiname": "ImPool_GetMapSize", "defaults": {}, "funcname": "GetMapSize", - "location": "imgui_internal:660", + "location": "imgui_internal:683", "ov_cimguiname": "ImPool_GetMapSize", "ret": "int", "signature": "()const", @@ -10026,7 +10572,7 @@ "cimguiname": "ImPool_GetOrAddByKey", "defaults": {}, "funcname": "GetOrAddByKey", - "location": "imgui_internal:648", + "location": "imgui_internal:671", "ov_cimguiname": "ImPool_GetOrAddByKey", "ret": "T*", "signature": "(ImGuiID)", @@ -10044,7 +10590,7 @@ "constructor": true, "defaults": {}, "funcname": "ImPool", - "location": "imgui_internal:643", + "location": "imgui_internal:666", "ov_cimguiname": "ImPool_ImPool", "signature": "()", "stname": "ImPool", @@ -10073,8 +10619,8 @@ "cimguiname": "ImPool_Remove", "defaults": {}, "funcname": "Remove", - "location": "imgui_internal:652", - "ov_cimguiname": "ImPool_RemoveTPtr", + "location": "imgui_internal:675", + "ov_cimguiname": "ImPool_Remove_TPtr", "ret": "void", "signature": "(ImGuiID,const T*)", "stname": "ImPool", @@ -10101,8 +10647,8 @@ "cimguiname": "ImPool_Remove", "defaults": {}, "funcname": "Remove", - "location": "imgui_internal:653", - "ov_cimguiname": "ImPool_RemovePoolIdx", + "location": "imgui_internal:676", + "ov_cimguiname": "ImPool_Remove_PoolIdx", "ret": "void", "signature": "(ImGuiID,ImPoolIdx)", "stname": "ImPool", @@ -10127,7 +10673,7 @@ "cimguiname": "ImPool_Reserve", "defaults": {}, "funcname": "Reserve", - "location": "imgui_internal:654", + "location": "imgui_internal:677", "ov_cimguiname": "ImPool_Reserve", "ret": "void", "signature": "(int)", @@ -10153,7 +10699,7 @@ "cimguiname": "ImPool_TryGetMapData", "defaults": {}, "funcname": "TryGetMapData", - "location": "imgui_internal:661", + "location": "imgui_internal:684", "ov_cimguiname": "ImPool_TryGetMapData", "ret": "T*", "signature": "(ImPoolIdx)", @@ -10174,7 +10720,7 @@ "cimguiname": "ImPool_destroy", "defaults": {}, "destructor": true, - "location": "imgui_internal:644", + "location": "imgui_internal:667", "ov_cimguiname": "ImPool_destroy", "realdestructor": true, "ret": "void", @@ -10201,8 +10747,8 @@ "cimguiname": "ImRect_Add", "defaults": {}, "funcname": "Add", - "location": "imgui_internal:521", - "ov_cimguiname": "ImRect_AddVec2", + "location": "imgui_internal:543", + "ov_cimguiname": "ImRect_Add_Vec2", "ret": "void", "signature": "(const ImVec2)", "stname": "ImRect" @@ -10224,8 +10770,8 @@ "cimguiname": "ImRect_Add", "defaults": {}, "funcname": "Add", - "location": "imgui_internal:522", - "ov_cimguiname": "ImRect_AddRect", + "location": "imgui_internal:544", + "ov_cimguiname": "ImRect_Add_Rect", "ret": "void", "signature": "(const ImRect)", "stname": "ImRect" @@ -10249,7 +10795,7 @@ "cimguiname": "ImRect_ClipWith", "defaults": {}, "funcname": "ClipWith", - "location": "imgui_internal:528", + "location": "imgui_internal:550", "ov_cimguiname": "ImRect_ClipWith", "ret": "void", "signature": "(const ImRect)", @@ -10274,7 +10820,7 @@ "cimguiname": "ImRect_ClipWithFull", "defaults": {}, "funcname": "ClipWithFull", - "location": "imgui_internal:529", + "location": "imgui_internal:551", "ov_cimguiname": "ImRect_ClipWithFull", "ret": "void", "signature": "(const ImRect)", @@ -10299,8 +10845,8 @@ "cimguiname": "ImRect_Contains", "defaults": {}, "funcname": "Contains", - "location": "imgui_internal:518", - "ov_cimguiname": "ImRect_ContainsVec2", + "location": "imgui_internal:540", + "ov_cimguiname": "ImRect_Contains_Vec2", "ret": "bool", "signature": "(const ImVec2)const", "stname": "ImRect" @@ -10322,8 +10868,8 @@ "cimguiname": "ImRect_Contains", "defaults": {}, "funcname": "Contains", - "location": "imgui_internal:519", - "ov_cimguiname": "ImRect_ContainsRect", + "location": "imgui_internal:541", + "ov_cimguiname": "ImRect_Contains_Rect", "ret": "bool", "signature": "(const ImRect)const", "stname": "ImRect" @@ -10347,8 +10893,8 @@ "cimguiname": "ImRect_Expand", "defaults": {}, "funcname": "Expand", - "location": "imgui_internal:523", - "ov_cimguiname": "ImRect_ExpandFloat", + "location": "imgui_internal:545", + "ov_cimguiname": "ImRect_Expand_Float", "ret": "void", "signature": "(const float)", "stname": "ImRect" @@ -10370,8 +10916,8 @@ "cimguiname": "ImRect_Expand", "defaults": {}, "funcname": "Expand", - "location": "imgui_internal:524", - "ov_cimguiname": "ImRect_ExpandVec2", + "location": "imgui_internal:546", + "ov_cimguiname": "ImRect_Expand_Vec2", "ret": "void", "signature": "(const ImVec2)", "stname": "ImRect" @@ -10391,7 +10937,7 @@ "cimguiname": "ImRect_Floor", "defaults": {}, "funcname": "Floor", - "location": "imgui_internal:530", + "location": "imgui_internal:552", "ov_cimguiname": "ImRect_Floor", "ret": "void", "signature": "()", @@ -10412,7 +10958,7 @@ "cimguiname": "ImRect_GetArea", "defaults": {}, "funcname": "GetArea", - "location": "imgui_internal:513", + "location": "imgui_internal:535", "ov_cimguiname": "ImRect_GetArea", "ret": "float", "signature": "()const", @@ -10437,7 +10983,7 @@ "cimguiname": "ImRect_GetBL", "defaults": {}, "funcname": "GetBL", - "location": "imgui_internal:516", + "location": "imgui_internal:538", "nonUDT": 1, "ov_cimguiname": "ImRect_GetBL", "ret": "void", @@ -10463,7 +11009,7 @@ "cimguiname": "ImRect_GetBR", "defaults": {}, "funcname": "GetBR", - "location": "imgui_internal:517", + "location": "imgui_internal:539", "nonUDT": 1, "ov_cimguiname": "ImRect_GetBR", "ret": "void", @@ -10489,7 +11035,7 @@ "cimguiname": "ImRect_GetCenter", "defaults": {}, "funcname": "GetCenter", - "location": "imgui_internal:509", + "location": "imgui_internal:531", "nonUDT": 1, "ov_cimguiname": "ImRect_GetCenter", "ret": "void", @@ -10511,7 +11057,7 @@ "cimguiname": "ImRect_GetHeight", "defaults": {}, "funcname": "GetHeight", - "location": "imgui_internal:512", + "location": "imgui_internal:534", "ov_cimguiname": "ImRect_GetHeight", "ret": "float", "signature": "()const", @@ -10536,7 +11082,7 @@ "cimguiname": "ImRect_GetSize", "defaults": {}, "funcname": "GetSize", - "location": "imgui_internal:510", + "location": "imgui_internal:532", "nonUDT": 1, "ov_cimguiname": "ImRect_GetSize", "ret": "void", @@ -10562,7 +11108,7 @@ "cimguiname": "ImRect_GetTL", "defaults": {}, "funcname": "GetTL", - "location": "imgui_internal:514", + "location": "imgui_internal:536", "nonUDT": 1, "ov_cimguiname": "ImRect_GetTL", "ret": "void", @@ -10588,7 +11134,7 @@ "cimguiname": "ImRect_GetTR", "defaults": {}, "funcname": "GetTR", - "location": "imgui_internal:515", + "location": "imgui_internal:537", "nonUDT": 1, "ov_cimguiname": "ImRect_GetTR", "ret": "void", @@ -10610,7 +11156,7 @@ "cimguiname": "ImRect_GetWidth", "defaults": {}, "funcname": "GetWidth", - "location": "imgui_internal:511", + "location": "imgui_internal:533", "ov_cimguiname": "ImRect_GetWidth", "ret": "float", "signature": "()const", @@ -10627,8 +11173,8 @@ "constructor": true, "defaults": {}, "funcname": "ImRect", - "location": "imgui_internal:504", - "ov_cimguiname": "ImRect_ImRectNil", + "location": "imgui_internal:526", + "ov_cimguiname": "ImRect_ImRect_Nil", "signature": "()", "stname": "ImRect" }, @@ -10650,8 +11196,8 @@ "constructor": true, "defaults": {}, "funcname": "ImRect", - "location": "imgui_internal:505", - "ov_cimguiname": "ImRect_ImRectVec2", + "location": "imgui_internal:527", + "ov_cimguiname": "ImRect_ImRect_Vec2", "signature": "(const ImVec2,const ImVec2)", "stname": "ImRect" }, @@ -10669,8 +11215,8 @@ "constructor": true, "defaults": {}, "funcname": "ImRect", - "location": "imgui_internal:506", - "ov_cimguiname": "ImRect_ImRectVec4", + "location": "imgui_internal:528", + "ov_cimguiname": "ImRect_ImRect_Vec4", "signature": "(const ImVec4)", "stname": "ImRect" }, @@ -10700,8 +11246,8 @@ "constructor": true, "defaults": {}, "funcname": "ImRect", - "location": "imgui_internal:507", - "ov_cimguiname": "ImRect_ImRectFloat", + "location": "imgui_internal:529", + "ov_cimguiname": "ImRect_ImRect_Float", "signature": "(float,float,float,float)", "stname": "ImRect" } @@ -10720,7 +11266,7 @@ "cimguiname": "ImRect_IsInverted", "defaults": {}, "funcname": "IsInverted", - "location": "imgui_internal:531", + "location": "imgui_internal:553", "ov_cimguiname": "ImRect_IsInverted", "ret": "bool", "signature": "()const", @@ -10745,7 +11291,7 @@ "cimguiname": "ImRect_Overlaps", "defaults": {}, "funcname": "Overlaps", - "location": "imgui_internal:520", + "location": "imgui_internal:542", "ov_cimguiname": "ImRect_Overlaps", "ret": "bool", "signature": "(const ImRect)const", @@ -10770,7 +11316,7 @@ "cimguiname": "ImRect_ToVec4", "defaults": {}, "funcname": "ToVec4", - "location": "imgui_internal:532", + "location": "imgui_internal:554", "nonUDT": 1, "ov_cimguiname": "ImRect_ToVec4", "ret": "void", @@ -10796,7 +11342,7 @@ "cimguiname": "ImRect_Translate", "defaults": {}, "funcname": "Translate", - "location": "imgui_internal:525", + "location": "imgui_internal:547", "ov_cimguiname": "ImRect_Translate", "ret": "void", "signature": "(const ImVec2)", @@ -10821,7 +11367,7 @@ "cimguiname": "ImRect_TranslateX", "defaults": {}, "funcname": "TranslateX", - "location": "imgui_internal:526", + "location": "imgui_internal:548", "ov_cimguiname": "ImRect_TranslateX", "ret": "void", "signature": "(float)", @@ -10846,7 +11392,7 @@ "cimguiname": "ImRect_TranslateY", "defaults": {}, "funcname": "TranslateY", - "location": "imgui_internal:527", + "location": "imgui_internal:549", "ov_cimguiname": "ImRect_TranslateY", "ret": "void", "signature": "(float)", @@ -10886,7 +11432,7 @@ "cimguiname": "ImSpanAllocator_GetArenaSizeInBytes", "defaults": {}, "funcname": "GetArenaSizeInBytes", - "location": "imgui_internal:623", + "location": "imgui_internal:646", "ov_cimguiname": "ImSpanAllocator_GetArenaSizeInBytes", "ret": "int", "signature": "()", @@ -10912,7 +11458,7 @@ "cimguiname": "ImSpanAllocator_GetSpanPtrBegin", "defaults": {}, "funcname": "GetSpanPtrBegin", - "location": "imgui_internal:625", + "location": "imgui_internal:648", "ov_cimguiname": "ImSpanAllocator_GetSpanPtrBegin", "ret": "void*", "signature": "(int)", @@ -10938,7 +11484,7 @@ "cimguiname": "ImSpanAllocator_GetSpanPtrEnd", "defaults": {}, "funcname": "GetSpanPtrEnd", - "location": "imgui_internal:626", + "location": "imgui_internal:649", "ov_cimguiname": "ImSpanAllocator_GetSpanPtrEnd", "ret": "void*", "signature": "(int)", @@ -10956,7 +11502,7 @@ "constructor": true, "defaults": {}, "funcname": "ImSpanAllocator", - "location": "imgui_internal:621", + "location": "imgui_internal:644", "ov_cimguiname": "ImSpanAllocator_ImSpanAllocator", "signature": "()", "stname": "ImSpanAllocator", @@ -10991,7 +11537,7 @@ "a": "4" }, "funcname": "Reserve", - "location": "imgui_internal:622", + "location": "imgui_internal:645", "ov_cimguiname": "ImSpanAllocator_Reserve", "ret": "void", "signature": "(int,size_t,int)", @@ -11017,7 +11563,7 @@ "cimguiname": "ImSpanAllocator_SetArenaBasePtr", "defaults": {}, "funcname": "SetArenaBasePtr", - "location": "imgui_internal:624", + "location": "imgui_internal:647", "ov_cimguiname": "ImSpanAllocator_SetArenaBasePtr", "ret": "void", "signature": "(void*)", @@ -11055,8 +11601,8 @@ "constructor": true, "defaults": {}, "funcname": "ImSpan", - "location": "imgui_internal:589", - "ov_cimguiname": "ImSpan_ImSpanNil", + "location": "imgui_internal:612", + "ov_cimguiname": "ImSpan_ImSpan_Nil", "signature": "()", "stname": "ImSpan", "templated": true @@ -11079,8 +11625,8 @@ "constructor": true, "defaults": {}, "funcname": "ImSpan", - "location": "imgui_internal:590", - "ov_cimguiname": "ImSpan_ImSpanTPtrInt", + "location": "imgui_internal:613", + "ov_cimguiname": "ImSpan_ImSpan_TPtrInt", "signature": "(T*,int)", "stname": "ImSpan", "templated": true @@ -11103,8 +11649,8 @@ "constructor": true, "defaults": {}, "funcname": "ImSpan", - "location": "imgui_internal:591", - "ov_cimguiname": "ImSpan_ImSpanTPtrTPtr", + "location": "imgui_internal:614", + "ov_cimguiname": "ImSpan_ImSpan_TPtrTPtr", "signature": "(T*,T*)", "stname": "ImSpan", "templated": true @@ -11124,8 +11670,8 @@ "cimguiname": "ImSpan_begin", "defaults": {}, "funcname": "begin", - "location": "imgui_internal:600", - "ov_cimguiname": "ImSpan_beginNil", + "location": "imgui_internal:623", + "ov_cimguiname": "ImSpan_begin_Nil", "ret": "T*", "signature": "()", "stname": "ImSpan", @@ -11144,8 +11690,8 @@ "cimguiname": "ImSpan_begin", "defaults": {}, "funcname": "begin", - "location": "imgui_internal:601", - "ov_cimguiname": "ImSpan_begin_const", + "location": "imgui_internal:624", + "ov_cimguiname": "ImSpan_begin__const", "ret": "const T*", "signature": "()const", "stname": "ImSpan", @@ -11186,8 +11732,8 @@ "cimguiname": "ImSpan_end", "defaults": {}, "funcname": "end", - "location": "imgui_internal:602", - "ov_cimguiname": "ImSpan_endNil", + "location": "imgui_internal:625", + "ov_cimguiname": "ImSpan_end_Nil", "ret": "T*", "signature": "()", "stname": "ImSpan", @@ -11206,8 +11752,8 @@ "cimguiname": "ImSpan_end", "defaults": {}, "funcname": "end", - "location": "imgui_internal:603", - "ov_cimguiname": "ImSpan_end_const", + "location": "imgui_internal:626", + "ov_cimguiname": "ImSpan_end__const", "ret": "const T*", "signature": "()const", "stname": "ImSpan", @@ -11232,7 +11778,7 @@ "cimguiname": "ImSpan_index_from_ptr", "defaults": {}, "funcname": "index_from_ptr", - "location": "imgui_internal:606", + "location": "imgui_internal:629", "ov_cimguiname": "ImSpan_index_from_ptr", "ret": "int", "signature": "(const T*)const", @@ -11262,8 +11808,8 @@ "cimguiname": "ImSpan_set", "defaults": {}, "funcname": "set", - "location": "imgui_internal:593", - "ov_cimguiname": "ImSpan_setInt", + "location": "imgui_internal:616", + "ov_cimguiname": "ImSpan_set_Int", "ret": "void", "signature": "(T*,int)", "stname": "ImSpan", @@ -11290,8 +11836,8 @@ "cimguiname": "ImSpan_set", "defaults": {}, "funcname": "set", - "location": "imgui_internal:594", - "ov_cimguiname": "ImSpan_setTPtr", + "location": "imgui_internal:617", + "ov_cimguiname": "ImSpan_set_TPtr", "ret": "void", "signature": "(T*,T*)", "stname": "ImSpan", @@ -11312,7 +11858,7 @@ "cimguiname": "ImSpan_size", "defaults": {}, "funcname": "size", - "location": "imgui_internal:595", + "location": "imgui_internal:618", "ov_cimguiname": "ImSpan_size", "ret": "int", "signature": "()const", @@ -11334,7 +11880,7 @@ "cimguiname": "ImSpan_size_in_bytes", "defaults": {}, "funcname": "size_in_bytes", - "location": "imgui_internal:596", + "location": "imgui_internal:619", "ov_cimguiname": "ImSpan_size_in_bytes", "ret": "int", "signature": "()const", @@ -11352,8 +11898,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec1", - "location": "imgui_internal:484", - "ov_cimguiname": "ImVec1_ImVec1Nil", + "location": "imgui_internal:506", + "ov_cimguiname": "ImVec1_ImVec1_Nil", "signature": "()", "stname": "ImVec1" }, @@ -11371,8 +11917,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec1", - "location": "imgui_internal:485", - "ov_cimguiname": "ImVec1_ImVec1Float", + "location": "imgui_internal:507", + "ov_cimguiname": "ImVec1_ImVec1_Float", "signature": "(float)", "stname": "ImVec1" } @@ -11406,8 +11952,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2", - "location": "imgui:269", - "ov_cimguiname": "ImVec2_ImVec2Nil", + "location": "imgui:262", + "ov_cimguiname": "ImVec2_ImVec2_Nil", "signature": "()", "stname": "ImVec2" }, @@ -11429,8 +11975,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2", - "location": "imgui:270", - "ov_cimguiname": "ImVec2_ImVec2Float", + "location": "imgui:263", + "ov_cimguiname": "ImVec2_ImVec2_Float", "signature": "(float,float)", "stname": "ImVec2" } @@ -11464,8 +12010,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2ih", - "location": "imgui_internal:492", - "ov_cimguiname": "ImVec2ih_ImVec2ihNil", + "location": "imgui_internal:514", + "ov_cimguiname": "ImVec2ih_ImVec2ih_Nil", "signature": "()", "stname": "ImVec2ih" }, @@ -11487,8 +12033,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2ih", - "location": "imgui_internal:493", - "ov_cimguiname": "ImVec2ih_ImVec2ihshort", + "location": "imgui_internal:515", + "ov_cimguiname": "ImVec2ih_ImVec2ih_short", "signature": "(short,short)", "stname": "ImVec2ih" }, @@ -11506,8 +12052,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2ih", - "location": "imgui_internal:494", - "ov_cimguiname": "ImVec2ih_ImVec2ihVec2", + "location": "imgui_internal:516", + "ov_cimguiname": "ImVec2ih_ImVec2ih_Vec2", "signature": "(const ImVec2)", "stname": "ImVec2ih" } @@ -11541,8 +12087,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec4", - "location": "imgui:282", - "ov_cimguiname": "ImVec4_ImVec4Nil", + "location": "imgui:275", + "ov_cimguiname": "ImVec4_ImVec4_Nil", "signature": "()", "stname": "ImVec4" }, @@ -11572,8 +12118,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec4", - "location": "imgui:283", - "ov_cimguiname": "ImVec4_ImVec4Float", + "location": "imgui:276", + "ov_cimguiname": "ImVec4_ImVec4_Float", "signature": "(float,float,float,float)", "stname": "ImVec4" } @@ -11607,18 +12153,18 @@ "constructor": true, "defaults": {}, "funcname": "ImVector", - "location": "imgui:1784", - "ov_cimguiname": "ImVector_ImVectorNil", + "location": "imgui:1850", + "ov_cimguiname": "ImVector_ImVector_Nil", "signature": "()", "stname": "ImVector", "templated": true }, { - "args": "(const ImVector src)", + "args": "(const ImVector_T src)", "argsT": [ { "name": "src", - "type": "const ImVector" + "type": "const ImVector_T " } ], "argsoriginal": "(const ImVector& src)", @@ -11627,9 +12173,9 @@ "constructor": true, "defaults": {}, "funcname": "ImVector", - "location": "imgui:1785", - "ov_cimguiname": "ImVector_ImVectorVector", - "signature": "(const ImVector)", + "location": "imgui:1851", + "ov_cimguiname": "ImVector_ImVector_Vector_T_", + "signature": "(const ImVector_T )", "stname": "ImVector", "templated": true } @@ -11652,7 +12198,7 @@ "cimguiname": "ImVector__grow_capacity", "defaults": {}, "funcname": "_grow_capacity", - "location": "imgui:1811", + "location": "imgui:1877", "ov_cimguiname": "ImVector__grow_capacity", "ret": "int", "signature": "(int)const", @@ -11674,8 +12220,8 @@ "cimguiname": "ImVector_back", "defaults": {}, "funcname": "back", - "location": "imgui:1807", - "ov_cimguiname": "ImVector_backNil", + "location": "imgui:1873", + "ov_cimguiname": "ImVector_back_Nil", "ret": "T*", "retref": "&", "signature": "()", @@ -11695,8 +12241,8 @@ "cimguiname": "ImVector_back", "defaults": {}, "funcname": "back", - "location": "imgui:1808", - "ov_cimguiname": "ImVector_back_const", + "location": "imgui:1874", + "ov_cimguiname": "ImVector_back__const", "ret": "const T*", "retref": "&", "signature": "()const", @@ -11718,8 +12264,8 @@ "cimguiname": "ImVector_begin", "defaults": {}, "funcname": "begin", - "location": "imgui:1801", - "ov_cimguiname": "ImVector_beginNil", + "location": "imgui:1867", + "ov_cimguiname": "ImVector_begin_Nil", "ret": "T*", "signature": "()", "stname": "ImVector", @@ -11738,8 +12284,8 @@ "cimguiname": "ImVector_begin", "defaults": {}, "funcname": "begin", - "location": "imgui:1802", - "ov_cimguiname": "ImVector_begin_const", + "location": "imgui:1868", + "ov_cimguiname": "ImVector_begin__const", "ret": "const T*", "signature": "()const", "stname": "ImVector", @@ -11760,7 +12306,7 @@ "cimguiname": "ImVector_capacity", "defaults": {}, "funcname": "capacity", - "location": "imgui:1797", + "location": "imgui:1863", "ov_cimguiname": "ImVector_capacity", "ret": "int", "signature": "()const", @@ -11782,7 +12328,7 @@ "cimguiname": "ImVector_clear", "defaults": {}, "funcname": "clear", - "location": "imgui:1789", + "location": "imgui:1855", "ov_cimguiname": "ImVector_clear", "ret": "void", "signature": "()", @@ -11804,7 +12350,7 @@ "cimguiname": "ImVector_clear_delete", "defaults": {}, "funcname": "clear_delete", - "location": "imgui:1790", + "location": "imgui:1856", "ov_cimguiname": "ImVector_clear_delete", "ret": "void", "signature": "()", @@ -11826,7 +12372,7 @@ "cimguiname": "ImVector_clear_destruct", "defaults": {}, "funcname": "clear_destruct", - "location": "imgui:1791", + "location": "imgui:1857", "ov_cimguiname": "ImVector_clear_destruct", "ret": "void", "signature": "()", @@ -11852,7 +12398,7 @@ "cimguiname": "ImVector_contains", "defaults": {}, "funcname": "contains", - "location": "imgui:1825", + "location": "imgui:1892", "ov_cimguiname": "ImVector_contains", "ret": "bool", "signature": "(const T)const", @@ -11873,7 +12419,7 @@ "cimguiname": "ImVector_destroy", "defaults": {}, "destructor": true, - "location": "imgui:1787", + "location": "imgui:1853", "ov_cimguiname": "ImVector_destroy", "realdestructor": true, "ret": "void", @@ -11896,7 +12442,7 @@ "cimguiname": "ImVector_empty", "defaults": {}, "funcname": "empty", - "location": "imgui:1793", + "location": "imgui:1859", "ov_cimguiname": "ImVector_empty", "ret": "bool", "signature": "()const", @@ -11918,8 +12464,8 @@ "cimguiname": "ImVector_end", "defaults": {}, "funcname": "end", - "location": "imgui:1803", - "ov_cimguiname": "ImVector_endNil", + "location": "imgui:1869", + "ov_cimguiname": "ImVector_end_Nil", "ret": "T*", "signature": "()", "stname": "ImVector", @@ -11938,8 +12484,8 @@ "cimguiname": "ImVector_end", "defaults": {}, "funcname": "end", - "location": "imgui:1804", - "ov_cimguiname": "ImVector_end_const", + "location": "imgui:1870", + "ov_cimguiname": "ImVector_end__const", "ret": "const T*", "signature": "()const", "stname": "ImVector", @@ -11964,8 +12510,8 @@ "cimguiname": "ImVector_erase", "defaults": {}, "funcname": "erase", - "location": "imgui:1821", - "ov_cimguiname": "ImVector_eraseNil", + "location": "imgui:1888", + "ov_cimguiname": "ImVector_erase_Nil", "ret": "T*", "signature": "(const T*)", "stname": "ImVector", @@ -11992,8 +12538,8 @@ "cimguiname": "ImVector_erase", "defaults": {}, "funcname": "erase", - "location": "imgui:1822", - "ov_cimguiname": "ImVector_eraseTPtr", + "location": "imgui:1889", + "ov_cimguiname": "ImVector_erase_TPtr", "ret": "T*", "signature": "(const T*,const T*)", "stname": "ImVector", @@ -12018,7 +12564,7 @@ "cimguiname": "ImVector_erase_unsorted", "defaults": {}, "funcname": "erase_unsorted", - "location": "imgui:1823", + "location": "imgui:1890", "ov_cimguiname": "ImVector_erase_unsorted", "ret": "T*", "signature": "(const T*)", @@ -12044,8 +12590,8 @@ "cimguiname": "ImVector_find", "defaults": {}, "funcname": "find", - "location": "imgui:1826", - "ov_cimguiname": "ImVector_findNil", + "location": "imgui:1893", + "ov_cimguiname": "ImVector_find_Nil", "ret": "T*", "signature": "(const T)", "stname": "ImVector", @@ -12068,8 +12614,8 @@ "cimguiname": "ImVector_find", "defaults": {}, "funcname": "find", - "location": "imgui:1827", - "ov_cimguiname": "ImVector_find_const", + "location": "imgui:1894", + "ov_cimguiname": "ImVector_find__const", "ret": "const T*", "signature": "(const T)const", "stname": "ImVector", @@ -12094,7 +12640,7 @@ "cimguiname": "ImVector_find_erase", "defaults": {}, "funcname": "find_erase", - "location": "imgui:1828", + "location": "imgui:1895", "ov_cimguiname": "ImVector_find_erase", "ret": "bool", "signature": "(const T)", @@ -12120,7 +12666,7 @@ "cimguiname": "ImVector_find_erase_unsorted", "defaults": {}, "funcname": "find_erase_unsorted", - "location": "imgui:1829", + "location": "imgui:1896", "ov_cimguiname": "ImVector_find_erase_unsorted", "ret": "bool", "signature": "(const T)", @@ -12142,8 +12688,8 @@ "cimguiname": "ImVector_front", "defaults": {}, "funcname": "front", - "location": "imgui:1805", - "ov_cimguiname": "ImVector_frontNil", + "location": "imgui:1871", + "ov_cimguiname": "ImVector_front_Nil", "ret": "T*", "retref": "&", "signature": "()", @@ -12163,8 +12709,8 @@ "cimguiname": "ImVector_front", "defaults": {}, "funcname": "front", - "location": "imgui:1806", - "ov_cimguiname": "ImVector_front_const", + "location": "imgui:1872", + "ov_cimguiname": "ImVector_front__const", "ret": "const T*", "retref": "&", "signature": "()const", @@ -12190,7 +12736,7 @@ "cimguiname": "ImVector_index_from_ptr", "defaults": {}, "funcname": "index_from_ptr", - "location": "imgui:1830", + "location": "imgui:1897", "ov_cimguiname": "ImVector_index_from_ptr", "ret": "int", "signature": "(const T*)const", @@ -12220,7 +12766,7 @@ "cimguiname": "ImVector_insert", "defaults": {}, "funcname": "insert", - "location": "imgui:1824", + "location": "imgui:1891", "ov_cimguiname": "ImVector_insert", "ret": "T*", "signature": "(const T*,const T)", @@ -12242,7 +12788,7 @@ "cimguiname": "ImVector_max_size", "defaults": {}, "funcname": "max_size", - "location": "imgui:1796", + "location": "imgui:1862", "ov_cimguiname": "ImVector_max_size", "ret": "int", "signature": "()const", @@ -12264,7 +12810,7 @@ "cimguiname": "ImVector_pop_back", "defaults": {}, "funcname": "pop_back", - "location": "imgui:1819", + "location": "imgui:1886", "ov_cimguiname": "ImVector_pop_back", "ret": "void", "signature": "()", @@ -12290,7 +12836,7 @@ "cimguiname": "ImVector_push_back", "defaults": {}, "funcname": "push_back", - "location": "imgui:1818", + "location": "imgui:1885", "ov_cimguiname": "ImVector_push_back", "ret": "void", "signature": "(const T)", @@ -12316,7 +12862,7 @@ "cimguiname": "ImVector_push_front", "defaults": {}, "funcname": "push_front", - "location": "imgui:1820", + "location": "imgui:1887", "ov_cimguiname": "ImVector_push_front", "ret": "void", "signature": "(const T)", @@ -12342,7 +12888,7 @@ "cimguiname": "ImVector_reserve", "defaults": {}, "funcname": "reserve", - "location": "imgui:1815", + "location": "imgui:1881", "ov_cimguiname": "ImVector_reserve", "ret": "void", "signature": "(int)", @@ -12350,6 +12896,32 @@ "templated": true } ], + "ImVector_reserve_discard": [ + { + "args": "(ImVector* self,int new_capacity)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_capacity", + "type": "int" + } + ], + "argsoriginal": "(int new_capacity)", + "call_args": "(new_capacity)", + "cimguiname": "ImVector_reserve_discard", + "defaults": {}, + "funcname": "reserve_discard", + "location": "imgui:1882", + "ov_cimguiname": "ImVector_reserve_discard", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true + } + ], "ImVector_resize": [ { "args": "(ImVector* self,int new_size)", @@ -12368,8 +12940,8 @@ "cimguiname": "ImVector_resize", "defaults": {}, "funcname": "resize", - "location": "imgui:1812", - "ov_cimguiname": "ImVector_resizeNil", + "location": "imgui:1878", + "ov_cimguiname": "ImVector_resize_Nil", "ret": "void", "signature": "(int)", "stname": "ImVector", @@ -12396,8 +12968,8 @@ "cimguiname": "ImVector_resize", "defaults": {}, "funcname": "resize", - "location": "imgui:1813", - "ov_cimguiname": "ImVector_resizeT", + "location": "imgui:1879", + "ov_cimguiname": "ImVector_resize_T", "ret": "void", "signature": "(int,const T)", "stname": "ImVector", @@ -12422,7 +12994,7 @@ "cimguiname": "ImVector_shrink", "defaults": {}, "funcname": "shrink", - "location": "imgui:1814", + "location": "imgui:1880", "ov_cimguiname": "ImVector_shrink", "ret": "void", "signature": "(int)", @@ -12444,7 +13016,7 @@ "cimguiname": "ImVector_size", "defaults": {}, "funcname": "size", - "location": "imgui:1794", + "location": "imgui:1860", "ov_cimguiname": "ImVector_size", "ret": "int", "signature": "()const", @@ -12466,7 +13038,7 @@ "cimguiname": "ImVector_size_in_bytes", "defaults": {}, "funcname": "size_in_bytes", - "location": "imgui:1795", + "location": "imgui:1861", "ov_cimguiname": "ImVector_size_in_bytes", "ret": "int", "signature": "()const", @@ -12476,7 +13048,7 @@ ], "ImVector_swap": [ { - "args": "(ImVector* self,ImVector* rhs)", + "args": "(ImVector* self,ImVector_T * rhs)", "argsT": [ { "name": "self", @@ -12485,7 +13057,7 @@ { "name": "rhs", "reftoptr": true, - "type": "ImVector*" + "type": "ImVector_T *" } ], "argsoriginal": "(ImVector& rhs)", @@ -12493,10 +13065,10 @@ "cimguiname": "ImVector_swap", "defaults": {}, "funcname": "swap", - "location": "imgui:1809", + "location": "imgui:1875", "ov_cimguiname": "ImVector_swap", "ret": "void", - "signature": "(ImVector*)", + "signature": "(ImVector_T *)", "stname": "ImVector", "templated": true } @@ -12521,7 +13093,7 @@ "flags": "0" }, "funcname": "AcceptDragDropPayload", - "location": "imgui:844", + "location": "imgui:841", "namespace": "ImGui", "ov_cimguiname": "igAcceptDragDropPayload", "ret": "const ImGuiPayload*", @@ -12543,7 +13115,7 @@ "cimguiname": "igActivateItem", "defaults": {}, "funcname": "ActivateItem", - "location": "imgui_internal:2812", + "location": "imgui_internal:3094", "namespace": "ImGui", "ov_cimguiname": "igActivateItem", "ret": "void", @@ -12569,7 +13141,7 @@ "cimguiname": "igAddContextHook", "defaults": {}, "funcname": "AddContextHook", - "location": "imgui_internal:2688", + "location": "imgui_internal:2977", "namespace": "ImGui", "ov_cimguiname": "igAddContextHook", "ret": "ImGuiID", @@ -12577,6 +13149,28 @@ "stname": "" } ], + "igAddSettingsHandler": [ + { + "args": "(const ImGuiSettingsHandler* handler)", + "argsT": [ + { + "name": "handler", + "type": "const ImGuiSettingsHandler*" + } + ], + "argsoriginal": "(const ImGuiSettingsHandler* handler)", + "call_args": "(handler)", + "cimguiname": "igAddSettingsHandler", + "defaults": {}, + "funcname": "AddSettingsHandler", + "location": "imgui_internal:2997", + "namespace": "ImGui", + "ov_cimguiname": "igAddSettingsHandler", + "ret": "void", + "signature": "(const ImGuiSettingsHandler*)", + "stname": "" + } + ], "igAlignTextToFramePadding": [ { "args": "()", @@ -12586,7 +13180,7 @@ "cimguiname": "igAlignTextToFramePadding", "defaults": {}, "funcname": "AlignTextToFramePadding", - "location": "imgui:468", + "location": "imgui:465", "namespace": "ImGui", "ov_cimguiname": "igAlignTextToFramePadding", "ret": "void", @@ -12612,7 +13206,7 @@ "cimguiname": "igArrowButton", "defaults": {}, "funcname": "ArrowButton", - "location": "imgui:515", + "location": "imgui:512", "namespace": "ImGui", "ov_cimguiname": "igArrowButton", "ret": "bool", @@ -12648,7 +13242,7 @@ "flags": "0" }, "funcname": "ArrowButtonEx", - "location": "imgui_internal:3006", + "location": "imgui_internal:3354", "namespace": "ImGui", "ov_cimguiname": "igArrowButtonEx", "ret": "bool", @@ -12681,7 +13275,7 @@ "p_open": "NULL" }, "funcname": "Begin", - "location": "imgui:342", + "location": "imgui:336", "namespace": "ImGui", "ov_cimguiname": "igBegin", "ret": "bool", @@ -12719,9 +13313,9 @@ "size": "ImVec2(0,0)" }, "funcname": "BeginChild", - "location": "imgui:353", + "location": "imgui:347", "namespace": "ImGui", - "ov_cimguiname": "igBeginChildStr", + "ov_cimguiname": "igBeginChild_Str", "ret": "bool", "signature": "(const char*,const ImVec2,bool,ImGuiWindowFlags)", "stname": "" @@ -12755,9 +13349,9 @@ "size": "ImVec2(0,0)" }, "funcname": "BeginChild", - "location": "imgui:354", + "location": "imgui:348", "namespace": "ImGui", - "ov_cimguiname": "igBeginChildID", + "ov_cimguiname": "igBeginChild_ID", "ret": "bool", "signature": "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)", "stname": "" @@ -12793,7 +13387,7 @@ "cimguiname": "igBeginChildEx", "defaults": {}, "funcname": "BeginChildEx", - "location": "imgui_internal:2775", + "location": "imgui_internal:3060", "namespace": "ImGui", "ov_cimguiname": "igBeginChildEx", "ret": "bool", @@ -12825,7 +13419,7 @@ "flags": "0" }, "funcname": "BeginChildFrame", - "location": "imgui:905", + "location": "imgui:904", "namespace": "ImGui", "ov_cimguiname": "igBeginChildFrame", "ret": "bool", @@ -12857,7 +13451,7 @@ "flags": "0" }, "funcname": "BeginColumns", - "location": "imgui_internal:2894", + "location": "imgui_internal:3245", "namespace": "ImGui", "ov_cimguiname": "igBeginColumns", "ret": "void", @@ -12919,7 +13513,7 @@ "cimguiname": "igBeginComboPopup", "defaults": {}, "funcname": "BeginComboPopup", - "location": "imgui_internal:2795", + "location": "imgui_internal:3080", "namespace": "ImGui", "ov_cimguiname": "igBeginComboPopup", "ret": "bool", @@ -12936,7 +13530,7 @@ "cimguiname": "igBeginComboPreview", "defaults": {}, "funcname": "BeginComboPreview", - "location": "imgui_internal:2796", + "location": "imgui_internal:3081", "namespace": "ImGui", "ov_cimguiname": "igBeginComboPreview", "ret": "bool", @@ -12960,7 +13554,7 @@ "disabled": "true" }, "funcname": "BeginDisabled", - "location": "imgui:852", + "location": "imgui:849", "namespace": "ImGui", "ov_cimguiname": "igBeginDisabled", "ret": "void", @@ -12982,7 +13576,7 @@ "cimguiname": "igBeginDockableDragDropSource", "defaults": {}, "funcname": "BeginDockableDragDropSource", - "location": "imgui_internal:2859", + "location": "imgui_internal:3196", "namespace": "ImGui", "ov_cimguiname": "igBeginDockableDragDropSource", "ret": "void", @@ -13004,7 +13598,7 @@ "cimguiname": "igBeginDockableDragDropTarget", "defaults": {}, "funcname": "BeginDockableDragDropTarget", - "location": "imgui_internal:2860", + "location": "imgui_internal:3197", "namespace": "ImGui", "ov_cimguiname": "igBeginDockableDragDropTarget", "ret": "void", @@ -13030,7 +13624,7 @@ "cimguiname": "igBeginDocked", "defaults": {}, "funcname": "BeginDocked", - "location": "imgui_internal:2858", + "location": "imgui_internal:3195", "namespace": "ImGui", "ov_cimguiname": "igBeginDocked", "ret": "void", @@ -13054,7 +13648,7 @@ "flags": "0" }, "funcname": "BeginDragDropSource", - "location": "imgui:840", + "location": "imgui:837", "namespace": "ImGui", "ov_cimguiname": "igBeginDragDropSource", "ret": "bool", @@ -13071,7 +13665,7 @@ "cimguiname": "igBeginDragDropTarget", "defaults": {}, "funcname": "BeginDragDropTarget", - "location": "imgui:843", + "location": "imgui:840", "namespace": "ImGui", "ov_cimguiname": "igBeginDragDropTarget", "ret": "bool", @@ -13097,7 +13691,7 @@ "cimguiname": "igBeginDragDropTargetCustom", "defaults": {}, "funcname": "BeginDragDropTargetCustom", - "location": "imgui_internal:2888", + "location": "imgui_internal:3238", "namespace": "ImGui", "ov_cimguiname": "igBeginDragDropTargetCustom", "ret": "bool", @@ -13114,7 +13708,7 @@ "cimguiname": "igBeginGroup", "defaults": {}, "funcname": "BeginGroup", - "location": "imgui:457", + "location": "imgui:454", "namespace": "ImGui", "ov_cimguiname": "igBeginGroup", "ret": "void", @@ -13142,7 +13736,7 @@ "size": "ImVec2(0,0)" }, "funcname": "BeginListBox", - "location": "imgui:640", + "location": "imgui:641", "namespace": "ImGui", "ov_cimguiname": "igBeginListBox", "ret": "bool", @@ -13159,7 +13753,7 @@ "cimguiname": "igBeginMainMenuBar", "defaults": {}, "funcname": "BeginMainMenuBar", - "location": "imgui:666", + "location": "imgui:667", "namespace": "ImGui", "ov_cimguiname": "igBeginMainMenuBar", "ret": "bool", @@ -13187,7 +13781,7 @@ "enabled": "true" }, "funcname": "BeginMenu", - "location": "imgui:668", + "location": "imgui:669", "namespace": "ImGui", "ov_cimguiname": "igBeginMenu", "ret": "bool", @@ -13204,7 +13798,7 @@ "cimguiname": "igBeginMenuBar", "defaults": {}, "funcname": "BeginMenuBar", - "location": "imgui:664", + "location": "imgui:665", "namespace": "ImGui", "ov_cimguiname": "igBeginMenuBar", "ret": "bool", @@ -13236,7 +13830,7 @@ "enabled": "true" }, "funcname": "BeginMenuEx", - "location": "imgui_internal:2791", + "location": "imgui_internal:3076", "namespace": "ImGui", "ov_cimguiname": "igBeginMenuEx", "ret": "bool", @@ -13264,7 +13858,7 @@ "flags": "0" }, "funcname": "BeginPopup", - "location": "imgui:692", + "location": "imgui:693", "namespace": "ImGui", "ov_cimguiname": "igBeginPopup", "ret": "bool", @@ -13293,7 +13887,7 @@ "str_id": "NULL" }, "funcname": "BeginPopupContextItem", - "location": "imgui:713", + "location": "imgui:715", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextItem", "ret": "bool", @@ -13322,7 +13916,7 @@ "str_id": "NULL" }, "funcname": "BeginPopupContextVoid", - "location": "imgui:715", + "location": "imgui:717", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextVoid", "ret": "bool", @@ -13351,7 +13945,7 @@ "str_id": "NULL" }, "funcname": "BeginPopupContextWindow", - "location": "imgui:714", + "location": "imgui:716", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextWindow", "ret": "bool", @@ -13377,7 +13971,7 @@ "cimguiname": "igBeginPopupEx", "defaults": {}, "funcname": "BeginPopupEx", - "location": "imgui_internal:2781", + "location": "imgui_internal:3066", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupEx", "ret": "bool", @@ -13410,7 +14004,7 @@ "p_open": "NULL" }, "funcname": "BeginPopupModal", - "location": "imgui:693", + "location": "imgui:694", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupModal", "ret": "bool", @@ -13438,7 +14032,7 @@ "flags": "0" }, "funcname": "BeginTabBar", - "location": "imgui:798", + "location": "imgui:795", "namespace": "ImGui", "ov_cimguiname": "igBeginTabBar", "ret": "bool", @@ -13472,7 +14066,7 @@ "cimguiname": "igBeginTabBarEx", "defaults": {}, "funcname": "BeginTabBarEx", - "location": "imgui_internal:2956", + "location": "imgui_internal:3309", "namespace": "ImGui", "ov_cimguiname": "igBeginTabBarEx", "ret": "bool", @@ -13505,7 +14099,7 @@ "p_open": "NULL" }, "funcname": "BeginTabItem", - "location": "imgui:800", + "location": "imgui:797", "namespace": "ImGui", "ov_cimguiname": "igBeginTabItem", "ret": "bool", @@ -13593,7 +14187,7 @@ "outer_size": "ImVec2(0,0)" }, "funcname": "BeginTableEx", - "location": "imgui_internal:2916", + "location": "imgui_internal:3267", "namespace": "ImGui", "ov_cimguiname": "igBeginTableEx", "ret": "bool", @@ -13610,7 +14204,7 @@ "cimguiname": "igBeginTooltip", "defaults": {}, "funcname": "BeginTooltip", - "location": "imgui:675", + "location": "imgui:676", "namespace": "ImGui", "ov_cimguiname": "igBeginTooltip", "ret": "void", @@ -13636,7 +14230,7 @@ "cimguiname": "igBeginTooltipEx", "defaults": {}, "funcname": "BeginTooltipEx", - "location": "imgui_internal:2782", + "location": "imgui_internal:3067", "namespace": "ImGui", "ov_cimguiname": "igBeginTooltipEx", "ret": "void", @@ -13674,7 +14268,7 @@ "cimguiname": "igBeginViewportSideBar", "defaults": {}, "funcname": "BeginViewportSideBar", - "location": "imgui_internal:2790", + "location": "imgui_internal:3075", "namespace": "ImGui", "ov_cimguiname": "igBeginViewportSideBar", "ret": "bool", @@ -13696,7 +14290,7 @@ "cimguiname": "igBringWindowToDisplayBack", "defaults": {}, "funcname": "BringWindowToDisplayBack", - "location": "imgui_internal:2666", + "location": "imgui_internal:2954", "namespace": "ImGui", "ov_cimguiname": "igBringWindowToDisplayBack", "ret": "void", @@ -13722,7 +14316,7 @@ "cimguiname": "igBringWindowToDisplayBehind", "defaults": {}, "funcname": "BringWindowToDisplayBehind", - "location": "imgui_internal:2667", + "location": "imgui_internal:2955", "namespace": "ImGui", "ov_cimguiname": "igBringWindowToDisplayBehind", "ret": "void", @@ -13744,7 +14338,7 @@ "cimguiname": "igBringWindowToDisplayFront", "defaults": {}, "funcname": "BringWindowToDisplayFront", - "location": "imgui_internal:2665", + "location": "imgui_internal:2953", "namespace": "ImGui", "ov_cimguiname": "igBringWindowToDisplayFront", "ret": "void", @@ -13766,7 +14360,7 @@ "cimguiname": "igBringWindowToFocusFront", "defaults": {}, "funcname": "BringWindowToFocusFront", - "location": "imgui_internal:2664", + "location": "imgui_internal:2952", "namespace": "ImGui", "ov_cimguiname": "igBringWindowToFocusFront", "ret": "void", @@ -13783,7 +14377,7 @@ "cimguiname": "igBullet", "defaults": {}, "funcname": "Bullet", - "location": "imgui:524", + "location": "imgui:519", "namespace": "ImGui", "ov_cimguiname": "igBullet", "ret": "void", @@ -13810,7 +14404,7 @@ "defaults": {}, "funcname": "BulletText", "isvararg": "...)", - "location": "imgui:506", + "location": "imgui:503", "namespace": "ImGui", "ov_cimguiname": "igBulletText", "ret": "void", @@ -13836,7 +14430,7 @@ "cimguiname": "igBulletTextV", "defaults": {}, "funcname": "BulletTextV", - "location": "imgui:507", + "location": "imgui:504", "namespace": "ImGui", "ov_cimguiname": "igBulletTextV", "ret": "void", @@ -13864,7 +14458,7 @@ "size": "ImVec2(0,0)" }, "funcname": "Button", - "location": "imgui:512", + "location": "imgui:509", "namespace": "ImGui", "ov_cimguiname": "igButton", "ret": "bool", @@ -13904,7 +14498,7 @@ "flags": "0" }, "funcname": "ButtonBehavior", - "location": "imgui_internal:3019", + "location": "imgui_internal:3367", "namespace": "ImGui", "ov_cimguiname": "igButtonBehavior", "ret": "bool", @@ -13937,7 +14531,7 @@ "size_arg": "ImVec2(0,0)" }, "funcname": "ButtonEx", - "location": "imgui_internal:3003", + "location": "imgui_internal:3351", "namespace": "ImGui", "ov_cimguiname": "igButtonEx", "ret": "bool", @@ -13971,7 +14565,7 @@ "cimguiname": "igCalcItemSize", "defaults": {}, "funcname": "CalcItemSize", - "location": "imgui_internal:2746", + "location": "imgui_internal:3042", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igCalcItemSize", @@ -13989,7 +14583,7 @@ "cimguiname": "igCalcItemWidth", "defaults": {}, "funcname": "CalcItemWidth", - "location": "imgui:429", + "location": "imgui:426", "namespace": "ImGui", "ov_cimguiname": "igCalcItemWidth", "ret": "float", @@ -14019,7 +14613,7 @@ "cimguiname": "igCalcRoundingFlagsForRectInRect", "defaults": {}, "funcname": "CalcRoundingFlagsForRectInRect", - "location": "imgui_internal:2993", + "location": "imgui_internal:3347", "namespace": "ImGui", "ov_cimguiname": "igCalcRoundingFlagsForRectInRect", "ret": "ImDrawFlags", @@ -14061,7 +14655,7 @@ "wrap_width": "-1.0f" }, "funcname": "CalcTextSize", - "location": "imgui:909", + "location": "imgui:908", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igCalcTextSize", @@ -14096,7 +14690,7 @@ "cimguiname": "igCalcTypematicRepeatAmount", "defaults": {}, "funcname": "CalcTypematicRepeatAmount", - "location": "imgui_internal:2811", + "location": "imgui_internal:3122", "namespace": "ImGui", "ov_cimguiname": "igCalcTypematicRepeatAmount", "ret": "int", @@ -14122,7 +14716,7 @@ "cimguiname": "igCalcWindowNextAutoFitSize", "defaults": {}, "funcname": "CalcWindowNextAutoFitSize", - "location": "imgui_internal:2649", + "location": "imgui_internal:2937", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igCalcWindowNextAutoFitSize", @@ -14149,7 +14743,7 @@ "cimguiname": "igCalcWrapWidthForPos", "defaults": {}, "funcname": "CalcWrapWidthForPos", - "location": "imgui_internal:2747", + "location": "imgui_internal:3043", "namespace": "ImGui", "ov_cimguiname": "igCalcWrapWidthForPos", "ret": "float", @@ -14175,7 +14769,7 @@ "cimguiname": "igCallContextHooks", "defaults": {}, "funcname": "CallContextHooks", - "location": "imgui_internal:2690", + "location": "imgui_internal:2979", "namespace": "ImGui", "ov_cimguiname": "igCallContextHooks", "ret": "void", @@ -14183,54 +14777,6 @@ "stname": "" } ], - "igCaptureKeyboardFromApp": [ - { - "args": "(bool want_capture_keyboard_value)", - "argsT": [ - { - "name": "want_capture_keyboard_value", - "type": "bool" - } - ], - "argsoriginal": "(bool want_capture_keyboard_value=true)", - "call_args": "(want_capture_keyboard_value)", - "cimguiname": "igCaptureKeyboardFromApp", - "defaults": { - "want_capture_keyboard_value": "true" - }, - "funcname": "CaptureKeyboardFromApp", - "location": "imgui:925", - "namespace": "ImGui", - "ov_cimguiname": "igCaptureKeyboardFromApp", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igCaptureMouseFromApp": [ - { - "args": "(bool want_capture_mouse_value)", - "argsT": [ - { - "name": "want_capture_mouse_value", - "type": "bool" - } - ], - "argsoriginal": "(bool want_capture_mouse_value=true)", - "call_args": "(want_capture_mouse_value)", - "cimguiname": "igCaptureMouseFromApp", - "defaults": { - "want_capture_mouse_value": "true" - }, - "funcname": "CaptureMouseFromApp", - "location": "imgui:946", - "namespace": "ImGui", - "ov_cimguiname": "igCaptureMouseFromApp", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], "igCheckbox": [ { "args": "(const char* label,bool* v)", @@ -14249,7 +14795,7 @@ "cimguiname": "igCheckbox", "defaults": {}, "funcname": "Checkbox", - "location": "imgui:518", + "location": "imgui:513", "namespace": "ImGui", "ov_cimguiname": "igCheckbox", "ret": "bool", @@ -14279,9 +14825,9 @@ "cimguiname": "igCheckboxFlags", "defaults": {}, "funcname": "CheckboxFlags", - "location": "imgui:519", + "location": "imgui:514", "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlagsIntPtr", + "ov_cimguiname": "igCheckboxFlags_IntPtr", "ret": "bool", "signature": "(const char*,int*,int)", "stname": "" @@ -14307,9 +14853,9 @@ "cimguiname": "igCheckboxFlags", "defaults": {}, "funcname": "CheckboxFlags", - "location": "imgui:520", + "location": "imgui:515", "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlagsUintPtr", + "ov_cimguiname": "igCheckboxFlags_UintPtr", "ret": "bool", "signature": "(const char*,unsigned int*,unsigned int)", "stname": "" @@ -14335,9 +14881,9 @@ "cimguiname": "igCheckboxFlags", "defaults": {}, "funcname": "CheckboxFlags", - "location": "imgui_internal:3015", + "location": "imgui_internal:3363", "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlagsS64Ptr", + "ov_cimguiname": "igCheckboxFlags_S64Ptr", "ret": "bool", "signature": "(const char*,ImS64*,ImS64)", "stname": "" @@ -14363,9 +14909,9 @@ "cimguiname": "igCheckboxFlags", "defaults": {}, "funcname": "CheckboxFlags", - "location": "imgui_internal:3016", + "location": "imgui_internal:3364", "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlagsU64Ptr", + "ov_cimguiname": "igCheckboxFlags_U64Ptr", "ret": "bool", "signature": "(const char*,ImU64*,ImU64)", "stname": "" @@ -14380,7 +14926,7 @@ "cimguiname": "igClearActiveID", "defaults": {}, "funcname": "ClearActiveID", - "location": "imgui_internal:2731", + "location": "imgui_internal:3027", "namespace": "ImGui", "ov_cimguiname": "igClearActiveID", "ret": "void", @@ -14397,7 +14943,7 @@ "cimguiname": "igClearDragDrop", "defaults": {}, "funcname": "ClearDragDrop", - "location": "imgui_internal:2889", + "location": "imgui_internal:3239", "namespace": "ImGui", "ov_cimguiname": "igClearDragDrop", "ret": "void", @@ -14414,7 +14960,7 @@ "cimguiname": "igClearIniSettings", "defaults": {}, "funcname": "ClearIniSettings", - "location": "imgui_internal:2702", + "location": "imgui_internal:2993", "namespace": "ImGui", "ov_cimguiname": "igClearIniSettings", "ret": "void", @@ -14440,7 +14986,7 @@ "cimguiname": "igCloseButton", "defaults": {}, "funcname": "CloseButton", - "location": "imgui_internal:3004", + "location": "imgui_internal:3352", "namespace": "ImGui", "ov_cimguiname": "igCloseButton", "ret": "bool", @@ -14457,7 +15003,7 @@ "cimguiname": "igCloseCurrentPopup", "defaults": {}, "funcname": "CloseCurrentPopup", - "location": "imgui:706", + "location": "imgui:708", "namespace": "ImGui", "ov_cimguiname": "igCloseCurrentPopup", "ret": "void", @@ -14483,7 +15029,7 @@ "cimguiname": "igClosePopupToLevel", "defaults": {}, "funcname": "ClosePopupToLevel", - "location": "imgui_internal:2777", + "location": "imgui_internal:3062", "namespace": "ImGui", "ov_cimguiname": "igClosePopupToLevel", "ret": "void", @@ -14500,7 +15046,7 @@ "cimguiname": "igClosePopupsExceptModals", "defaults": {}, "funcname": "ClosePopupsExceptModals", - "location": "imgui_internal:2779", + "location": "imgui_internal:3064", "namespace": "ImGui", "ov_cimguiname": "igClosePopupsExceptModals", "ret": "void", @@ -14526,7 +15072,7 @@ "cimguiname": "igClosePopupsOverWindow", "defaults": {}, "funcname": "ClosePopupsOverWindow", - "location": "imgui_internal:2778", + "location": "imgui_internal:3063", "namespace": "ImGui", "ov_cimguiname": "igClosePopupsOverWindow", "ret": "void", @@ -14556,7 +15102,7 @@ "cimguiname": "igCollapseButton", "defaults": {}, "funcname": "CollapseButton", - "location": "imgui_internal:3005", + "location": "imgui_internal:3353", "namespace": "ImGui", "ov_cimguiname": "igCollapseButton", "ret": "bool", @@ -14584,9 +15130,9 @@ "flags": "0" }, "funcname": "CollapsingHeader", - "location": "imgui:624", + "location": "imgui:625", "namespace": "ImGui", - "ov_cimguiname": "igCollapsingHeaderTreeNodeFlags", + "ov_cimguiname": "igCollapsingHeader_TreeNodeFlags", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags)", "stname": "" @@ -14614,9 +15160,9 @@ "flags": "0" }, "funcname": "CollapsingHeader", - "location": "imgui:625", + "location": "imgui:626", "namespace": "ImGui", - "ov_cimguiname": "igCollapsingHeaderBoolPtr", + "ov_cimguiname": "igCollapsingHeader_BoolPtr", "ret": "bool", "signature": "(const char*,bool*,ImGuiTreeNodeFlags)", "stname": "" @@ -14624,7 +15170,7 @@ ], "igColorButton": [ { - "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)", + "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size)", "argsT": [ { "name": "desc_id", @@ -14640,10 +15186,10 @@ }, { "name": "size", - "type": "ImVec2" + "type": "const ImVec2" } ], - "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))", + "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,const ImVec2& size=ImVec2(0,0))", "call_args": "(desc_id,col,flags,size)", "cimguiname": "igColorButton", "defaults": { @@ -14651,11 +15197,11 @@ "size": "ImVec2(0,0)" }, "funcname": "ColorButton", - "location": "imgui:605", + "location": "imgui:606", "namespace": "ImGui", "ov_cimguiname": "igColorButton", "ret": "bool", - "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)", + "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)", "stname": "" } ], @@ -14673,7 +15219,7 @@ "cimguiname": "igColorConvertFloat4ToU32", "defaults": {}, "funcname": "ColorConvertFloat4ToU32", - "location": "imgui:913", + "location": "imgui:912", "namespace": "ImGui", "ov_cimguiname": "igColorConvertFloat4ToU32", "ret": "ImU32", @@ -14718,7 +15264,7 @@ "cimguiname": "igColorConvertHSVtoRGB", "defaults": {}, "funcname": "ColorConvertHSVtoRGB", - "location": "imgui:915", + "location": "imgui:914", "namespace": "ImGui", "ov_cimguiname": "igColorConvertHSVtoRGB", "ret": "void", @@ -14763,7 +15309,7 @@ "cimguiname": "igColorConvertRGBtoHSV", "defaults": {}, "funcname": "ColorConvertRGBtoHSV", - "location": "imgui:914", + "location": "imgui:913", "namespace": "ImGui", "ov_cimguiname": "igColorConvertRGBtoHSV", "ret": "void", @@ -14789,7 +15335,7 @@ "cimguiname": "igColorConvertU32ToFloat4", "defaults": {}, "funcname": "ColorConvertU32ToFloat4", - "location": "imgui:912", + "location": "imgui:911", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igColorConvertU32ToFloat4", @@ -14822,7 +15368,7 @@ "flags": "0" }, "funcname": "ColorEdit3", - "location": "imgui:601", + "location": "imgui:602", "namespace": "ImGui", "ov_cimguiname": "igColorEdit3", "ret": "bool", @@ -14854,7 +15400,7 @@ "flags": "0" }, "funcname": "ColorEdit4", - "location": "imgui:602", + "location": "imgui:603", "namespace": "ImGui", "ov_cimguiname": "igColorEdit4", "ret": "bool", @@ -14880,7 +15426,7 @@ "cimguiname": "igColorEditOptionsPopup", "defaults": {}, "funcname": "ColorEditOptionsPopup", - "location": "imgui_internal:3054", + "location": "imgui_internal:3403", "namespace": "ImGui", "ov_cimguiname": "igColorEditOptionsPopup", "ret": "void", @@ -14912,7 +15458,7 @@ "flags": "0" }, "funcname": "ColorPicker3", - "location": "imgui:603", + "location": "imgui:604", "namespace": "ImGui", "ov_cimguiname": "igColorPicker3", "ret": "bool", @@ -14949,7 +15495,7 @@ "ref_col": "NULL" }, "funcname": "ColorPicker4", - "location": "imgui:604", + "location": "imgui:605", "namespace": "ImGui", "ov_cimguiname": "igColorPicker4", "ret": "bool", @@ -14975,7 +15521,7 @@ "cimguiname": "igColorPickerOptionsPopup", "defaults": {}, "funcname": "ColorPickerOptionsPopup", - "location": "imgui_internal:3055", + "location": "imgui_internal:3404", "namespace": "ImGui", "ov_cimguiname": "igColorPickerOptionsPopup", "ret": "void", @@ -15005,7 +15551,7 @@ "cimguiname": "igColorTooltip", "defaults": {}, "funcname": "ColorTooltip", - "location": "imgui_internal:3053", + "location": "imgui_internal:3402", "namespace": "ImGui", "ov_cimguiname": "igColorTooltip", "ret": "void", @@ -15039,7 +15585,7 @@ "id": "NULL" }, "funcname": "Columns", - "location": "imgui:787", + "location": "imgui:784", "namespace": "ImGui", "ov_cimguiname": "igColumns", "ret": "void", @@ -15081,7 +15627,7 @@ "funcname": "Combo", "location": "imgui:531", "namespace": "ImGui", - "ov_cimguiname": "igComboStr_arr", + "ov_cimguiname": "igCombo_Str_arr", "ret": "bool", "signature": "(const char*,int*,const char* const[],int,int)", "stname": "" @@ -15115,7 +15661,7 @@ "funcname": "Combo", "location": "imgui:532", "namespace": "ImGui", - "ov_cimguiname": "igComboStr", + "ov_cimguiname": "igCombo_Str", "ret": "bool", "signature": "(const char*,int*,const char*,int)", "stname": "" @@ -15159,12 +15705,34 @@ "funcname": "Combo", "location": "imgui:533", "namespace": "ImGui", - "ov_cimguiname": "igComboFnBoolPtr", + "ov_cimguiname": "igCombo_FnBoolPtr", "ret": "bool", "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", "stname": "" } ], + "igConvertSingleModFlagToKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igConvertSingleModFlagToKey", + "defaults": {}, + "funcname": "ConvertSingleModFlagToKey", + "location": "imgui_internal:3107", + "namespace": "ImGui", + "ov_cimguiname": "igConvertSingleModFlagToKey", + "ret": "ImGuiKey", + "signature": "(ImGuiKey)", + "stname": "" + } + ], "igCreateContext": [ { "args": "(ImFontAtlas* shared_font_atlas)", @@ -15181,7 +15749,7 @@ "shared_font_atlas": "NULL" }, "funcname": "CreateContext", - "location": "imgui:301", + "location": "imgui:294", "namespace": "ImGui", "ov_cimguiname": "igCreateContext", "ret": "ImGuiContext*", @@ -15203,7 +15771,7 @@ "cimguiname": "igCreateNewWindowSettings", "defaults": {}, "funcname": "CreateNewWindowSettings", - "location": "imgui_internal:2703", + "location": "imgui_internal:2994", "namespace": "ImGui", "ov_cimguiname": "igCreateNewWindowSettings", "ret": "ImGuiWindowSettings*", @@ -15211,6 +15779,40 @@ "stname": "" } ], + "igDataTypeApplyFromText": [ + { + "args": "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)", + "argsT": [ + { + "name": "buf", + "type": "const char*" + }, + { + "name": "data_type", + "type": "ImGuiDataType" + }, + { + "name": "p_data", + "type": "void*" + }, + { + "name": "format", + "type": "const char*" + } + ], + "argsoriginal": "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)", + "call_args": "(buf,data_type,p_data,format)", + "cimguiname": "igDataTypeApplyFromText", + "defaults": {}, + "funcname": "DataTypeApplyFromText", + "location": "imgui_internal:3390", + "namespace": "ImGui", + "ov_cimguiname": "igDataTypeApplyFromText", + "ret": "bool", + "signature": "(const char*,ImGuiDataType,void*,const char*)", + "stname": "" + } + ], "igDataTypeApplyOp": [ { "args": "(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2)", @@ -15241,7 +15843,7 @@ "cimguiname": "igDataTypeApplyOp", "defaults": {}, "funcname": "DataTypeApplyOp", - "location": "imgui_internal:3040", + "location": "imgui_internal:3389", "namespace": "ImGui", "ov_cimguiname": "igDataTypeApplyOp", "ret": "void", @@ -15249,44 +15851,6 @@ "stname": "" } ], - "igDataTypeApplyOpFromText": [ - { - "args": "(const char* buf,const char* initial_value_buf,ImGuiDataType data_type,void* p_data,const char* format)", - "argsT": [ - { - "name": "buf", - "type": "const char*" - }, - { - "name": "initial_value_buf", - "type": "const char*" - }, - { - "name": "data_type", - "type": "ImGuiDataType" - }, - { - "name": "p_data", - "type": "void*" - }, - { - "name": "format", - "type": "const char*" - } - ], - "argsoriginal": "(const char* buf,const char* initial_value_buf,ImGuiDataType data_type,void* p_data,const char* format)", - "call_args": "(buf,initial_value_buf,data_type,p_data,format)", - "cimguiname": "igDataTypeApplyOpFromText", - "defaults": {}, - "funcname": "DataTypeApplyOpFromText", - "location": "imgui_internal:3041", - "namespace": "ImGui", - "ov_cimguiname": "igDataTypeApplyOpFromText", - "ret": "bool", - "signature": "(const char*,const char*,ImGuiDataType,void*,const char*)", - "stname": "" - } - ], "igDataTypeClamp": [ { "args": "(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)", @@ -15313,7 +15877,7 @@ "cimguiname": "igDataTypeClamp", "defaults": {}, "funcname": "DataTypeClamp", - "location": "imgui_internal:3043", + "location": "imgui_internal:3392", "namespace": "ImGui", "ov_cimguiname": "igDataTypeClamp", "ret": "bool", @@ -15343,7 +15907,7 @@ "cimguiname": "igDataTypeCompare", "defaults": {}, "funcname": "DataTypeCompare", - "location": "imgui_internal:3042", + "location": "imgui_internal:3391", "namespace": "ImGui", "ov_cimguiname": "igDataTypeCompare", "ret": "int", @@ -15381,7 +15945,7 @@ "cimguiname": "igDataTypeFormatString", "defaults": {}, "funcname": "DataTypeFormatString", - "location": "imgui_internal:3039", + "location": "imgui_internal:3388", "namespace": "ImGui", "ov_cimguiname": "igDataTypeFormatString", "ret": "int", @@ -15403,7 +15967,7 @@ "cimguiname": "igDataTypeGetInfo", "defaults": {}, "funcname": "DataTypeGetInfo", - "location": "imgui_internal:3038", + "location": "imgui_internal:3387", "namespace": "ImGui", "ov_cimguiname": "igDataTypeGetInfo", "ret": "const ImGuiDataTypeInfo*", @@ -15449,7 +16013,7 @@ "cimguiname": "igDebugCheckVersionAndDataLayout", "defaults": {}, "funcname": "DebugCheckVersionAndDataLayout", - "location": "imgui:964", + "location": "imgui:966", "namespace": "ImGui", "ov_cimguiname": "igDebugCheckVersionAndDataLayout", "ret": "bool", @@ -15473,7 +16037,7 @@ "col": "4278190335" }, "funcname": "DebugDrawItemRect", - "location": "imgui_internal:3072", + "location": "imgui_internal:3429", "namespace": "ImGui", "ov_cimguiname": "igDebugDrawItemRect", "ret": "void", @@ -15507,7 +16071,7 @@ "cimguiname": "igDebugHookIdInfo", "defaults": {}, "funcname": "DebugHookIdInfo", - "location": "imgui_internal:3076", + "location": "imgui_internal:3432", "namespace": "ImGui", "ov_cimguiname": "igDebugHookIdInfo", "ret": "void", @@ -15515,6 +16079,120 @@ "stname": "" } ], + "igDebugLocateItem": [ + { + "args": "(ImGuiID target_id)", + "argsT": [ + { + "name": "target_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID target_id)", + "call_args": "(target_id)", + "cimguiname": "igDebugLocateItem", + "defaults": {}, + "funcname": "DebugLocateItem", + "location": "imgui_internal:3426", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLocateItem", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDebugLocateItemOnHover": [ + { + "args": "(ImGuiID target_id)", + "argsT": [ + { + "name": "target_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiID target_id)", + "call_args": "(target_id)", + "cimguiname": "igDebugLocateItemOnHover", + "defaults": {}, + "funcname": "DebugLocateItemOnHover", + "location": "imgui_internal:3427", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLocateItemOnHover", + "ret": "void", + "signature": "(ImGuiID)", + "stname": "" + } + ], + "igDebugLocateItemResolveWithLastItem": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igDebugLocateItemResolveWithLastItem", + "defaults": {}, + "funcname": "DebugLocateItemResolveWithLastItem", + "location": "imgui_internal:3428", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLocateItemResolveWithLastItem", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "igDebugLog": [ + { + "args": "(const char* fmt,...)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char* fmt,...)", + "call_args": "(fmt,...)", + "cimguiname": "igDebugLog", + "defaults": {}, + "funcname": "DebugLog", + "isvararg": "...)", + "location": "imgui_internal:3419", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLog", + "ret": "void", + "signature": "(const char*,...)", + "stname": "" + } + ], + "igDebugLogV": [ + { + "args": "(const char* fmt,va_list args)", + "argsT": [ + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char* fmt,va_list args)", + "call_args": "(fmt,args)", + "cimguiname": "igDebugLogV", + "defaults": {}, + "funcname": "DebugLogV", + "location": "imgui_internal:3420", + "namespace": "ImGui", + "ov_cimguiname": "igDebugLogV", + "ret": "void", + "signature": "(const char*,va_list)", + "stname": "" + } + ], "igDebugNodeColumns": [ { "args": "(ImGuiOldColumns* columns)", @@ -15529,7 +16207,7 @@ "cimguiname": "igDebugNodeColumns", "defaults": {}, "funcname": "DebugNodeColumns", - "location": "imgui_internal:3077", + "location": "imgui_internal:3433", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeColumns", "ret": "void", @@ -15555,7 +16233,7 @@ "cimguiname": "igDebugNodeDockNode", "defaults": {}, "funcname": "DebugNodeDockNode", - "location": "imgui_internal:3078", + "location": "imgui_internal:3434", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeDockNode", "ret": "void", @@ -15593,7 +16271,7 @@ "cimguiname": "igDebugNodeDrawCmdShowMeshAndBoundingBox", "defaults": {}, "funcname": "DebugNodeDrawCmdShowMeshAndBoundingBox", - "location": "imgui_internal:3080", + "location": "imgui_internal:3436", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeDrawCmdShowMeshAndBoundingBox", "ret": "void", @@ -15627,7 +16305,7 @@ "cimguiname": "igDebugNodeDrawList", "defaults": {}, "funcname": "DebugNodeDrawList", - "location": "imgui_internal:3079", + "location": "imgui_internal:3435", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeDrawList", "ret": "void", @@ -15649,7 +16327,7 @@ "cimguiname": "igDebugNodeFont", "defaults": {}, "funcname": "DebugNodeFont", - "location": "imgui_internal:3081", + "location": "imgui_internal:3437", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeFont", "ret": "void", @@ -15657,6 +16335,54 @@ "stname": "" } ], + "igDebugNodeFontGlyph": [ + { + "args": "(ImFont* font,const ImFontGlyph* glyph)", + "argsT": [ + { + "name": "font", + "type": "ImFont*" + }, + { + "name": "glyph", + "type": "const ImFontGlyph*" + } + ], + "argsoriginal": "(ImFont* font,const ImFontGlyph* glyph)", + "call_args": "(font,glyph)", + "cimguiname": "igDebugNodeFontGlyph", + "defaults": {}, + "funcname": "DebugNodeFontGlyph", + "location": "imgui_internal:3438", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeFontGlyph", + "ret": "void", + "signature": "(ImFont*,const ImFontGlyph*)", + "stname": "" + } + ], + "igDebugNodeInputTextState": [ + { + "args": "(ImGuiInputTextState* state)", + "argsT": [ + { + "name": "state", + "type": "ImGuiInputTextState*" + } + ], + "argsoriginal": "(ImGuiInputTextState* state)", + "call_args": "(state)", + "cimguiname": "igDebugNodeInputTextState", + "defaults": {}, + "funcname": "DebugNodeInputTextState", + "location": "imgui_internal:3443", + "namespace": "ImGui", + "ov_cimguiname": "igDebugNodeInputTextState", + "ret": "void", + "signature": "(ImGuiInputTextState*)", + "stname": "" + } + ], "igDebugNodeStorage": [ { "args": "(ImGuiStorage* storage,const char* label)", @@ -15675,7 +16401,7 @@ "cimguiname": "igDebugNodeStorage", "defaults": {}, "funcname": "DebugNodeStorage", - "location": "imgui_internal:3082", + "location": "imgui_internal:3439", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeStorage", "ret": "void", @@ -15701,7 +16427,7 @@ "cimguiname": "igDebugNodeTabBar", "defaults": {}, "funcname": "DebugNodeTabBar", - "location": "imgui_internal:3083", + "location": "imgui_internal:3440", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeTabBar", "ret": "void", @@ -15723,7 +16449,7 @@ "cimguiname": "igDebugNodeTable", "defaults": {}, "funcname": "DebugNodeTable", - "location": "imgui_internal:3084", + "location": "imgui_internal:3441", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeTable", "ret": "void", @@ -15745,7 +16471,7 @@ "cimguiname": "igDebugNodeTableSettings", "defaults": {}, "funcname": "DebugNodeTableSettings", - "location": "imgui_internal:3085", + "location": "imgui_internal:3442", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeTableSettings", "ret": "void", @@ -15767,7 +16493,7 @@ "cimguiname": "igDebugNodeViewport", "defaults": {}, "funcname": "DebugNodeViewport", - "location": "imgui_internal:3090", + "location": "imgui_internal:3448", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeViewport", "ret": "void", @@ -15793,7 +16519,7 @@ "cimguiname": "igDebugNodeWindow", "defaults": {}, "funcname": "DebugNodeWindow", - "location": "imgui_internal:3086", + "location": "imgui_internal:3444", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeWindow", "ret": "void", @@ -15815,7 +16541,7 @@ "cimguiname": "igDebugNodeWindowSettings", "defaults": {}, "funcname": "DebugNodeWindowSettings", - "location": "imgui_internal:3087", + "location": "imgui_internal:3445", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeWindowSettings", "ret": "void", @@ -15841,7 +16567,7 @@ "cimguiname": "igDebugNodeWindowsList", "defaults": {}, "funcname": "DebugNodeWindowsList", - "location": "imgui_internal:3088", + "location": "imgui_internal:3446", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeWindowsList", "ret": "void", @@ -15871,7 +16597,7 @@ "cimguiname": "igDebugNodeWindowsListByBeginStackParent", "defaults": {}, "funcname": "DebugNodeWindowsListByBeginStackParent", - "location": "imgui_internal:3089", + "location": "imgui_internal:3447", "namespace": "ImGui", "ov_cimguiname": "igDebugNodeWindowsListByBeginStackParent", "ret": "void", @@ -15901,7 +16627,7 @@ "cimguiname": "igDebugRenderViewportThumbnail", "defaults": {}, "funcname": "DebugRenderViewportThumbnail", - "location": "imgui_internal:3091", + "location": "imgui_internal:3449", "namespace": "ImGui", "ov_cimguiname": "igDebugRenderViewportThumbnail", "ret": "void", @@ -15918,7 +16644,7 @@ "cimguiname": "igDebugStartItemPicker", "defaults": {}, "funcname": "DebugStartItemPicker", - "location": "imgui_internal:3073", + "location": "imgui_internal:3430", "namespace": "ImGui", "ov_cimguiname": "igDebugStartItemPicker", "ret": "void", @@ -15926,6 +16652,28 @@ "stname": "" } ], + "igDebugTextEncoding": [ + { + "args": "(const char* text)", + "argsT": [ + { + "name": "text", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text)", + "call_args": "(text)", + "cimguiname": "igDebugTextEncoding", + "defaults": {}, + "funcname": "DebugTextEncoding", + "location": "imgui:965", + "namespace": "ImGui", + "ov_cimguiname": "igDebugTextEncoding", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], "igDestroyContext": [ { "args": "(ImGuiContext* ctx)", @@ -15942,7 +16690,7 @@ "ctx": "NULL" }, "funcname": "DestroyContext", - "location": "imgui:302", + "location": "imgui:295", "namespace": "ImGui", "ov_cimguiname": "igDestroyContext", "ret": "void", @@ -15964,7 +16712,7 @@ "cimguiname": "igDestroyPlatformWindow", "defaults": {}, "funcname": "DestroyPlatformWindow", - "location": "imgui_internal:2695", + "location": "imgui_internal:2984", "namespace": "ImGui", "ov_cimguiname": "igDestroyPlatformWindow", "ret": "void", @@ -15981,7 +16729,7 @@ "cimguiname": "igDestroyPlatformWindows", "defaults": {}, "funcname": "DestroyPlatformWindows", - "location": "imgui:981", + "location": "imgui:983", "namespace": "ImGui", "ov_cimguiname": "igDestroyPlatformWindows", "ret": "void", @@ -16010,7 +16758,7 @@ "node_id": "0" }, "funcname": "DockBuilderAddNode", - "location": "imgui_internal:2875", + "location": "imgui_internal:3212", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderAddNode", "ret": "ImGuiID", @@ -16040,7 +16788,7 @@ "cimguiname": "igDockBuilderCopyDockSpace", "defaults": {}, "funcname": "DockBuilderCopyDockSpace", - "location": "imgui_internal:2882", + "location": "imgui_internal:3219", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderCopyDockSpace", "ret": "void", @@ -16070,7 +16818,7 @@ "cimguiname": "igDockBuilderCopyNode", "defaults": {}, "funcname": "DockBuilderCopyNode", - "location": "imgui_internal:2883", + "location": "imgui_internal:3220", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderCopyNode", "ret": "void", @@ -16096,7 +16844,7 @@ "cimguiname": "igDockBuilderCopyWindowSettings", "defaults": {}, "funcname": "DockBuilderCopyWindowSettings", - "location": "imgui_internal:2884", + "location": "imgui_internal:3221", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderCopyWindowSettings", "ret": "void", @@ -16122,7 +16870,7 @@ "cimguiname": "igDockBuilderDockWindow", "defaults": {}, "funcname": "DockBuilderDockWindow", - "location": "imgui_internal:2872", + "location": "imgui_internal:3209", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderDockWindow", "ret": "void", @@ -16144,7 +16892,7 @@ "cimguiname": "igDockBuilderFinish", "defaults": {}, "funcname": "DockBuilderFinish", - "location": "imgui_internal:2885", + "location": "imgui_internal:3222", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderFinish", "ret": "void", @@ -16166,7 +16914,7 @@ "cimguiname": "igDockBuilderGetCentralNode", "defaults": {}, "funcname": "DockBuilderGetCentralNode", - "location": "imgui_internal:2874", + "location": "imgui_internal:3211", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderGetCentralNode", "ret": "ImGuiDockNode*", @@ -16188,7 +16936,7 @@ "cimguiname": "igDockBuilderGetNode", "defaults": {}, "funcname": "DockBuilderGetNode", - "location": "imgui_internal:2873", + "location": "imgui_internal:3210", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderGetNode", "ret": "ImGuiDockNode*", @@ -16210,7 +16958,7 @@ "cimguiname": "igDockBuilderRemoveNode", "defaults": {}, "funcname": "DockBuilderRemoveNode", - "location": "imgui_internal:2876", + "location": "imgui_internal:3213", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderRemoveNode", "ret": "void", @@ -16232,7 +16980,7 @@ "cimguiname": "igDockBuilderRemoveNodeChildNodes", "defaults": {}, "funcname": "DockBuilderRemoveNodeChildNodes", - "location": "imgui_internal:2878", + "location": "imgui_internal:3215", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderRemoveNodeChildNodes", "ret": "void", @@ -16260,7 +17008,7 @@ "clear_settings_refs": "true" }, "funcname": "DockBuilderRemoveNodeDockedWindows", - "location": "imgui_internal:2877", + "location": "imgui_internal:3214", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderRemoveNodeDockedWindows", "ret": "void", @@ -16286,7 +17034,7 @@ "cimguiname": "igDockBuilderSetNodePos", "defaults": {}, "funcname": "DockBuilderSetNodePos", - "location": "imgui_internal:2879", + "location": "imgui_internal:3216", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderSetNodePos", "ret": "void", @@ -16312,7 +17060,7 @@ "cimguiname": "igDockBuilderSetNodeSize", "defaults": {}, "funcname": "DockBuilderSetNodeSize", - "location": "imgui_internal:2880", + "location": "imgui_internal:3217", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderSetNodeSize", "ret": "void", @@ -16350,7 +17098,7 @@ "cimguiname": "igDockBuilderSplitNode", "defaults": {}, "funcname": "DockBuilderSplitNode", - "location": "imgui_internal:2881", + "location": "imgui_internal:3218", "namespace": "ImGui", "ov_cimguiname": "igDockBuilderSplitNode", "ret": "ImGuiID", @@ -16360,7 +17108,7 @@ ], "igDockContextCalcDropPosForDocking": [ { - "args": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", + "args": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", "argsT": [ { "name": "target", @@ -16371,9 +17119,13 @@ "type": "ImGuiDockNode*" }, { - "name": "payload", + "name": "payload_window", "type": "ImGuiWindow*" }, + { + "name": "payload_node", + "type": "ImGuiDockNode*" + }, { "name": "split_dir", "type": "ImGuiDir" @@ -16387,16 +17139,16 @@ "type": "ImVec2*" } ], - "argsoriginal": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", - "call_args": "(target,target_node,payload,split_dir,split_outer,out_pos)", + "argsoriginal": "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)", + "call_args": "(target,target_node,payload_window,payload_node,split_dir,split_outer,out_pos)", "cimguiname": "igDockContextCalcDropPosForDocking", "defaults": {}, "funcname": "DockContextCalcDropPosForDocking", - "location": "imgui_internal:2849", + "location": "imgui_internal:3185", "namespace": "ImGui", "ov_cimguiname": "igDockContextCalcDropPosForDocking", "ret": "bool", - "signature": "(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDir,bool,ImVec2*)", + "signature": "(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDockNode*,ImGuiDir,bool,ImVec2*)", "stname": "" } ], @@ -16422,7 +17174,7 @@ "cimguiname": "igDockContextClearNodes", "defaults": {}, "funcname": "DockContextClearNodes", - "location": "imgui_internal:2840", + "location": "imgui_internal:3176", "namespace": "ImGui", "ov_cimguiname": "igDockContextClearNodes", "ret": "void", @@ -16444,7 +17196,7 @@ "cimguiname": "igDockContextEndFrame", "defaults": {}, "funcname": "DockContextEndFrame", - "location": "imgui_internal:2844", + "location": "imgui_internal:3180", "namespace": "ImGui", "ov_cimguiname": "igDockContextEndFrame", "ret": "void", @@ -16452,6 +17204,32 @@ "stname": "" } ], + "igDockContextFindNodeByID": [ + { + "args": "(ImGuiContext* ctx,ImGuiID id)", + "argsT": [ + { + "name": "ctx", + "type": "ImGuiContext*" + }, + { + "name": "id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiContext* ctx,ImGuiID id)", + "call_args": "(ctx,id)", + "cimguiname": "igDockContextFindNodeByID", + "defaults": {}, + "funcname": "DockContextFindNodeByID", + "location": "imgui_internal:3186", + "namespace": "ImGui", + "ov_cimguiname": "igDockContextFindNodeByID", + "ret": "ImGuiDockNode*", + "signature": "(ImGuiContext*,ImGuiID)", + "stname": "" + } + ], "igDockContextGenNodeID": [ { "args": "(ImGuiContext* ctx)", @@ -16466,7 +17244,7 @@ "cimguiname": "igDockContextGenNodeID", "defaults": {}, "funcname": "DockContextGenNodeID", - "location": "imgui_internal:2845", + "location": "imgui_internal:3181", "namespace": "ImGui", "ov_cimguiname": "igDockContextGenNodeID", "ret": "ImGuiID", @@ -16488,7 +17266,7 @@ "cimguiname": "igDockContextInitialize", "defaults": {}, "funcname": "DockContextInitialize", - "location": "imgui_internal:2838", + "location": "imgui_internal:3174", "namespace": "ImGui", "ov_cimguiname": "igDockContextInitialize", "ret": "void", @@ -16510,7 +17288,7 @@ "cimguiname": "igDockContextNewFrameUpdateDocking", "defaults": {}, "funcname": "DockContextNewFrameUpdateDocking", - "location": "imgui_internal:2843", + "location": "imgui_internal:3179", "namespace": "ImGui", "ov_cimguiname": "igDockContextNewFrameUpdateDocking", "ret": "void", @@ -16532,7 +17310,7 @@ "cimguiname": "igDockContextNewFrameUpdateUndocking", "defaults": {}, "funcname": "DockContextNewFrameUpdateUndocking", - "location": "imgui_internal:2842", + "location": "imgui_internal:3178", "namespace": "ImGui", "ov_cimguiname": "igDockContextNewFrameUpdateUndocking", "ret": "void", @@ -16578,7 +17356,7 @@ "cimguiname": "igDockContextQueueDock", "defaults": {}, "funcname": "DockContextQueueDock", - "location": "imgui_internal:2846", + "location": "imgui_internal:3182", "namespace": "ImGui", "ov_cimguiname": "igDockContextQueueDock", "ret": "void", @@ -16604,7 +17382,7 @@ "cimguiname": "igDockContextQueueUndockNode", "defaults": {}, "funcname": "DockContextQueueUndockNode", - "location": "imgui_internal:2848", + "location": "imgui_internal:3184", "namespace": "ImGui", "ov_cimguiname": "igDockContextQueueUndockNode", "ret": "void", @@ -16630,7 +17408,7 @@ "cimguiname": "igDockContextQueueUndockWindow", "defaults": {}, "funcname": "DockContextQueueUndockWindow", - "location": "imgui_internal:2847", + "location": "imgui_internal:3183", "namespace": "ImGui", "ov_cimguiname": "igDockContextQueueUndockWindow", "ret": "void", @@ -16652,7 +17430,7 @@ "cimguiname": "igDockContextRebuildNodes", "defaults": {}, "funcname": "DockContextRebuildNodes", - "location": "imgui_internal:2841", + "location": "imgui_internal:3177", "namespace": "ImGui", "ov_cimguiname": "igDockContextRebuildNodes", "ret": "void", @@ -16674,7 +17452,7 @@ "cimguiname": "igDockContextShutdown", "defaults": {}, "funcname": "DockContextShutdown", - "location": "imgui_internal:2839", + "location": "imgui_internal:3175", "namespace": "ImGui", "ov_cimguiname": "igDockContextShutdown", "ret": "void", @@ -16696,7 +17474,7 @@ "cimguiname": "igDockNodeBeginAmendTabBar", "defaults": {}, "funcname": "DockNodeBeginAmendTabBar", - "location": "imgui_internal:2850", + "location": "imgui_internal:3187", "namespace": "ImGui", "ov_cimguiname": "igDockNodeBeginAmendTabBar", "ret": "bool", @@ -16713,7 +17491,7 @@ "cimguiname": "igDockNodeEndAmendTabBar", "defaults": {}, "funcname": "DockNodeEndAmendTabBar", - "location": "imgui_internal:2851", + "location": "imgui_internal:3188", "namespace": "ImGui", "ov_cimguiname": "igDockNodeEndAmendTabBar", "ret": "void", @@ -16735,7 +17513,7 @@ "cimguiname": "igDockNodeGetDepth", "defaults": {}, "funcname": "DockNodeGetDepth", - "location": "imgui_internal:2854", + "location": "imgui_internal:3191", "namespace": "ImGui", "ov_cimguiname": "igDockNodeGetDepth", "ret": "int", @@ -16757,7 +17535,7 @@ "cimguiname": "igDockNodeGetRootNode", "defaults": {}, "funcname": "DockNodeGetRootNode", - "location": "imgui_internal:2852", + "location": "imgui_internal:3189", "namespace": "ImGui", "ov_cimguiname": "igDockNodeGetRootNode", "ret": "ImGuiDockNode*", @@ -16779,7 +17557,7 @@ "cimguiname": "igDockNodeGetWindowMenuButtonId", "defaults": {}, "funcname": "DockNodeGetWindowMenuButtonId", - "location": "imgui_internal:2855", + "location": "imgui_internal:3192", "namespace": "ImGui", "ov_cimguiname": "igDockNodeGetWindowMenuButtonId", "ret": "ImGuiID", @@ -16805,7 +17583,7 @@ "cimguiname": "igDockNodeIsInHierarchyOf", "defaults": {}, "funcname": "DockNodeIsInHierarchyOf", - "location": "imgui_internal:2853", + "location": "imgui_internal:3190", "namespace": "ImGui", "ov_cimguiname": "igDockNodeIsInHierarchyOf", "ret": "bool", @@ -16843,7 +17621,7 @@ "window_class": "NULL" }, "funcname": "DockSpace", - "location": "imgui:818", + "location": "imgui:815", "namespace": "ImGui", "ov_cimguiname": "igDockSpace", "ret": "ImGuiID", @@ -16877,7 +17655,7 @@ "window_class": "NULL" }, "funcname": "DockSpaceOverViewport", - "location": "imgui:819", + "location": "imgui:816", "namespace": "ImGui", "ov_cimguiname": "igDockSpaceOverViewport", "ret": "ImGuiID", @@ -16927,7 +17705,7 @@ "cimguiname": "igDragBehavior", "defaults": {}, "funcname": "DragBehavior", - "location": "imgui_internal:3020", + "location": "imgui_internal:3368", "namespace": "ImGui", "ov_cimguiname": "igDragBehavior", "ret": "bool", @@ -16979,7 +17757,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat", - "location": "imgui:546", + "location": "imgui:547", "namespace": "ImGui", "ov_cimguiname": "igDragFloat", "ret": "bool", @@ -17031,7 +17809,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat2", - "location": "imgui:547", + "location": "imgui:548", "namespace": "ImGui", "ov_cimguiname": "igDragFloat2", "ret": "bool", @@ -17083,7 +17861,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat3", - "location": "imgui:548", + "location": "imgui:549", "namespace": "ImGui", "ov_cimguiname": "igDragFloat3", "ret": "bool", @@ -17135,7 +17913,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat4", - "location": "imgui:549", + "location": "imgui:550", "namespace": "ImGui", "ov_cimguiname": "igDragFloat4", "ret": "bool", @@ -17196,7 +17974,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloatRange2", - "location": "imgui:550", + "location": "imgui:551", "namespace": "ImGui", "ov_cimguiname": "igDragFloatRange2", "ret": "bool", @@ -17248,7 +18026,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt", - "location": "imgui:551", + "location": "imgui:552", "namespace": "ImGui", "ov_cimguiname": "igDragInt", "ret": "bool", @@ -17300,7 +18078,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt2", - "location": "imgui:552", + "location": "imgui:553", "namespace": "ImGui", "ov_cimguiname": "igDragInt2", "ret": "bool", @@ -17352,7 +18130,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt3", - "location": "imgui:553", + "location": "imgui:554", "namespace": "ImGui", "ov_cimguiname": "igDragInt3", "ret": "bool", @@ -17404,7 +18182,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt4", - "location": "imgui:554", + "location": "imgui:555", "namespace": "ImGui", "ov_cimguiname": "igDragInt4", "ret": "bool", @@ -17465,7 +18243,7 @@ "v_speed": "1.0f" }, "funcname": "DragIntRange2", - "location": "imgui:555", + "location": "imgui:556", "namespace": "ImGui", "ov_cimguiname": "igDragIntRange2", "ret": "bool", @@ -17521,7 +18299,7 @@ "v_speed": "1.0f" }, "funcname": "DragScalar", - "location": "imgui:556", + "location": "imgui:557", "namespace": "ImGui", "ov_cimguiname": "igDragScalar", "ret": "bool", @@ -17581,7 +18359,7 @@ "v_speed": "1.0f" }, "funcname": "DragScalarN", - "location": "imgui:557", + "location": "imgui:558", "namespace": "ImGui", "ov_cimguiname": "igDragScalarN", "ret": "bool", @@ -17603,7 +18381,7 @@ "cimguiname": "igDummy", "defaults": {}, "funcname": "Dummy", - "location": "imgui:454", + "location": "imgui:451", "namespace": "ImGui", "ov_cimguiname": "igDummy", "ret": "void", @@ -17620,7 +18398,7 @@ "cimguiname": "igEnd", "defaults": {}, "funcname": "End", - "location": "imgui:343", + "location": "imgui:337", "namespace": "ImGui", "ov_cimguiname": "igEnd", "ret": "void", @@ -17637,7 +18415,7 @@ "cimguiname": "igEndChild", "defaults": {}, "funcname": "EndChild", - "location": "imgui:355", + "location": "imgui:349", "namespace": "ImGui", "ov_cimguiname": "igEndChild", "ret": "void", @@ -17654,7 +18432,7 @@ "cimguiname": "igEndChildFrame", "defaults": {}, "funcname": "EndChildFrame", - "location": "imgui:906", + "location": "imgui:905", "namespace": "ImGui", "ov_cimguiname": "igEndChildFrame", "ret": "void", @@ -17671,7 +18449,7 @@ "cimguiname": "igEndColumns", "defaults": {}, "funcname": "EndColumns", - "location": "imgui_internal:2895", + "location": "imgui_internal:3246", "namespace": "ImGui", "ov_cimguiname": "igEndColumns", "ret": "void", @@ -17705,7 +18483,7 @@ "cimguiname": "igEndComboPreview", "defaults": {}, "funcname": "EndComboPreview", - "location": "imgui_internal:2797", + "location": "imgui_internal:3082", "namespace": "ImGui", "ov_cimguiname": "igEndComboPreview", "ret": "void", @@ -17722,7 +18500,7 @@ "cimguiname": "igEndDisabled", "defaults": {}, "funcname": "EndDisabled", - "location": "imgui:853", + "location": "imgui:850", "namespace": "ImGui", "ov_cimguiname": "igEndDisabled", "ret": "void", @@ -17739,7 +18517,7 @@ "cimguiname": "igEndDragDropSource", "defaults": {}, "funcname": "EndDragDropSource", - "location": "imgui:842", + "location": "imgui:839", "namespace": "ImGui", "ov_cimguiname": "igEndDragDropSource", "ret": "void", @@ -17756,7 +18534,7 @@ "cimguiname": "igEndDragDropTarget", "defaults": {}, "funcname": "EndDragDropTarget", - "location": "imgui:845", + "location": "imgui:842", "namespace": "ImGui", "ov_cimguiname": "igEndDragDropTarget", "ret": "void", @@ -17773,7 +18551,7 @@ "cimguiname": "igEndFrame", "defaults": {}, "funcname": "EndFrame", - "location": "imgui:310", + "location": "imgui:303", "namespace": "ImGui", "ov_cimguiname": "igEndFrame", "ret": "void", @@ -17790,7 +18568,7 @@ "cimguiname": "igEndGroup", "defaults": {}, "funcname": "EndGroup", - "location": "imgui:458", + "location": "imgui:455", "namespace": "ImGui", "ov_cimguiname": "igEndGroup", "ret": "void", @@ -17807,7 +18585,7 @@ "cimguiname": "igEndListBox", "defaults": {}, "funcname": "EndListBox", - "location": "imgui:641", + "location": "imgui:642", "namespace": "ImGui", "ov_cimguiname": "igEndListBox", "ret": "void", @@ -17824,7 +18602,7 @@ "cimguiname": "igEndMainMenuBar", "defaults": {}, "funcname": "EndMainMenuBar", - "location": "imgui:667", + "location": "imgui:668", "namespace": "ImGui", "ov_cimguiname": "igEndMainMenuBar", "ret": "void", @@ -17841,7 +18619,7 @@ "cimguiname": "igEndMenu", "defaults": {}, "funcname": "EndMenu", - "location": "imgui:669", + "location": "imgui:670", "namespace": "ImGui", "ov_cimguiname": "igEndMenu", "ret": "void", @@ -17858,7 +18636,7 @@ "cimguiname": "igEndMenuBar", "defaults": {}, "funcname": "EndMenuBar", - "location": "imgui:665", + "location": "imgui:666", "namespace": "ImGui", "ov_cimguiname": "igEndMenuBar", "ret": "void", @@ -17875,7 +18653,7 @@ "cimguiname": "igEndPopup", "defaults": {}, "funcname": "EndPopup", - "location": "imgui:694", + "location": "imgui:695", "namespace": "ImGui", "ov_cimguiname": "igEndPopup", "ret": "void", @@ -17892,7 +18670,7 @@ "cimguiname": "igEndTabBar", "defaults": {}, "funcname": "EndTabBar", - "location": "imgui:799", + "location": "imgui:796", "namespace": "ImGui", "ov_cimguiname": "igEndTabBar", "ret": "void", @@ -17909,7 +18687,7 @@ "cimguiname": "igEndTabItem", "defaults": {}, "funcname": "EndTabItem", - "location": "imgui:801", + "location": "imgui:798", "namespace": "ImGui", "ov_cimguiname": "igEndTabItem", "ret": "void", @@ -17943,7 +18721,7 @@ "cimguiname": "igEndTooltip", "defaults": {}, "funcname": "EndTooltip", - "location": "imgui:676", + "location": "imgui:677", "namespace": "ImGui", "ov_cimguiname": "igEndTooltip", "ret": "void", @@ -17971,7 +18749,7 @@ "user_data": "NULL" }, "funcname": "ErrorCheckEndFrameRecover", - "location": "imgui_internal:3070", + "location": "imgui_internal:3423", "namespace": "ImGui", "ov_cimguiname": "igErrorCheckEndFrameRecover", "ret": "void", @@ -17999,7 +18777,7 @@ "user_data": "NULL" }, "funcname": "ErrorCheckEndWindowRecover", - "location": "imgui_internal:3071", + "location": "imgui_internal:3424", "namespace": "ImGui", "ov_cimguiname": "igErrorCheckEndWindowRecover", "ret": "void", @@ -18007,6 +18785,23 @@ "stname": "" } ], + "igErrorCheckUsingSetCursorPosToExtendParentBoundaries": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igErrorCheckUsingSetCursorPosToExtendParentBoundaries", + "defaults": {}, + "funcname": "ErrorCheckUsingSetCursorPosToExtendParentBoundaries", + "location": "imgui_internal:3425", + "namespace": "ImGui", + "ov_cimguiname": "igErrorCheckUsingSetCursorPosToExtendParentBoundaries", + "ret": "void", + "signature": "()", + "stname": "" + } + ], "igFindBestWindowPosForPopup": [ { "args": "(ImVec2 *pOut,ImGuiWindow* window)", @@ -18025,7 +18820,7 @@ "cimguiname": "igFindBestWindowPosForPopup", "defaults": {}, "funcname": "FindBestWindowPosForPopup", - "location": "imgui_internal:2786", + "location": "imgui_internal:3071", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igFindBestWindowPosForPopup", @@ -18072,7 +18867,7 @@ "cimguiname": "igFindBestWindowPosForPopupEx", "defaults": {}, "funcname": "FindBestWindowPosForPopupEx", - "location": "imgui_internal:2787", + "location": "imgui_internal:3072", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igFindBestWindowPosForPopupEx", @@ -18095,7 +18890,7 @@ "cimguiname": "igFindBottomMostVisibleWindowWithinBeginStack", "defaults": {}, "funcname": "FindBottomMostVisibleWindowWithinBeginStack", - "location": "imgui_internal:2669", + "location": "imgui_internal:2957", "namespace": "ImGui", "ov_cimguiname": "igFindBottomMostVisibleWindowWithinBeginStack", "ret": "ImGuiWindow*", @@ -18103,6 +18898,28 @@ "stname": "" } ], + "igFindHoveredViewportFromPlatformWindowStack": [ + { + "args": "(const ImVec2 mouse_platform_pos)", + "argsT": [ + { + "name": "mouse_platform_pos", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& mouse_platform_pos)", + "call_args": "(mouse_platform_pos)", + "cimguiname": "igFindHoveredViewportFromPlatformWindowStack", + "defaults": {}, + "funcname": "FindHoveredViewportFromPlatformWindowStack", + "location": "imgui_internal:2988", + "namespace": "ImGui", + "ov_cimguiname": "igFindHoveredViewportFromPlatformWindowStack", + "ret": "ImGuiViewportP*", + "signature": "(const ImVec2)", + "stname": "" + } + ], "igFindOrCreateColumns": [ { "args": "(ImGuiWindow* window,ImGuiID id)", @@ -18121,7 +18938,7 @@ "cimguiname": "igFindOrCreateColumns", "defaults": {}, "funcname": "FindOrCreateColumns", - "location": "imgui_internal:2900", + "location": "imgui_internal:3251", "namespace": "ImGui", "ov_cimguiname": "igFindOrCreateColumns", "ret": "ImGuiOldColumns*", @@ -18143,7 +18960,7 @@ "cimguiname": "igFindOrCreateWindowSettings", "defaults": {}, "funcname": "FindOrCreateWindowSettings", - "location": "imgui_internal:2705", + "location": "imgui_internal:2996", "namespace": "ImGui", "ov_cimguiname": "igFindOrCreateWindowSettings", "ret": "ImGuiWindowSettings*", @@ -18171,7 +18988,7 @@ "text_end": "NULL" }, "funcname": "FindRenderedTextEnd", - "location": "imgui_internal:2982", + "location": "imgui_internal:3336", "namespace": "ImGui", "ov_cimguiname": "igFindRenderedTextEnd", "ret": "const char*", @@ -18193,7 +19010,7 @@ "cimguiname": "igFindSettingsHandler", "defaults": {}, "funcname": "FindSettingsHandler", - "location": "imgui_internal:2706", + "location": "imgui_internal:2999", "namespace": "ImGui", "ov_cimguiname": "igFindSettingsHandler", "ret": "ImGuiSettingsHandler*", @@ -18215,7 +19032,7 @@ "cimguiname": "igFindViewportByID", "defaults": {}, "funcname": "FindViewportByID", - "location": "imgui:982", + "location": "imgui:984", "namespace": "ImGui", "ov_cimguiname": "igFindViewportByID", "ret": "ImGuiViewport*", @@ -18237,7 +19054,7 @@ "cimguiname": "igFindViewportByPlatformHandle", "defaults": {}, "funcname": "FindViewportByPlatformHandle", - "location": "imgui:983", + "location": "imgui:985", "namespace": "ImGui", "ov_cimguiname": "igFindViewportByPlatformHandle", "ret": "ImGuiViewport*", @@ -18259,7 +19076,7 @@ "cimguiname": "igFindWindowByID", "defaults": {}, "funcname": "FindWindowByID", - "location": "imgui_internal:2646", + "location": "imgui_internal:2934", "namespace": "ImGui", "ov_cimguiname": "igFindWindowByID", "ret": "ImGuiWindow*", @@ -18281,7 +19098,7 @@ "cimguiname": "igFindWindowByName", "defaults": {}, "funcname": "FindWindowByName", - "location": "imgui_internal:2647", + "location": "imgui_internal:2935", "namespace": "ImGui", "ov_cimguiname": "igFindWindowByName", "ret": "ImGuiWindow*", @@ -18303,7 +19120,7 @@ "cimguiname": "igFindWindowDisplayIndex", "defaults": {}, "funcname": "FindWindowDisplayIndex", - "location": "imgui_internal:2668", + "location": "imgui_internal:2956", "namespace": "ImGui", "ov_cimguiname": "igFindWindowDisplayIndex", "ret": "int", @@ -18325,7 +19142,7 @@ "cimguiname": "igFindWindowSettings", "defaults": {}, "funcname": "FindWindowSettings", - "location": "imgui_internal:2704", + "location": "imgui_internal:2995", "namespace": "ImGui", "ov_cimguiname": "igFindWindowSettings", "ret": "ImGuiWindowSettings*", @@ -18351,7 +19168,7 @@ "cimguiname": "igFocusTopMostWindowUnderOne", "defaults": {}, "funcname": "FocusTopMostWindowUnderOne", - "location": "imgui_internal:2663", + "location": "imgui_internal:2951", "namespace": "ImGui", "ov_cimguiname": "igFocusTopMostWindowUnderOne", "ret": "void", @@ -18373,7 +19190,7 @@ "cimguiname": "igFocusWindow", "defaults": {}, "funcname": "FocusWindow", - "location": "imgui_internal:2662", + "location": "imgui_internal:2950", "namespace": "ImGui", "ov_cimguiname": "igFocusWindow", "ret": "void", @@ -18395,7 +19212,7 @@ "cimguiname": "igGcAwakeTransientWindowBuffers", "defaults": {}, "funcname": "GcAwakeTransientWindowBuffers", - "location": "imgui_internal:3067", + "location": "imgui_internal:3416", "namespace": "ImGui", "ov_cimguiname": "igGcAwakeTransientWindowBuffers", "ret": "void", @@ -18412,7 +19229,7 @@ "cimguiname": "igGcCompactTransientMiscBuffers", "defaults": {}, "funcname": "GcCompactTransientMiscBuffers", - "location": "imgui_internal:3065", + "location": "imgui_internal:3414", "namespace": "ImGui", "ov_cimguiname": "igGcCompactTransientMiscBuffers", "ret": "void", @@ -18434,7 +19251,7 @@ "cimguiname": "igGcCompactTransientWindowBuffers", "defaults": {}, "funcname": "GcCompactTransientWindowBuffers", - "location": "imgui_internal:3066", + "location": "imgui_internal:3415", "namespace": "ImGui", "ov_cimguiname": "igGcCompactTransientWindowBuffers", "ret": "void", @@ -18451,7 +19268,7 @@ "cimguiname": "igGetActiveID", "defaults": {}, "funcname": "GetActiveID", - "location": "imgui_internal:2727", + "location": "imgui_internal:3023", "namespace": "ImGui", "ov_cimguiname": "igGetActiveID", "ret": "ImGuiID", @@ -18481,7 +19298,7 @@ "cimguiname": "igGetAllocatorFunctions", "defaults": {}, "funcname": "GetAllocatorFunctions", - "location": "imgui:971", + "location": "imgui:973", "namespace": "ImGui", "ov_cimguiname": "igGetAllocatorFunctions", "ret": "void", @@ -18498,9 +19315,9 @@ "cimguiname": "igGetBackgroundDrawList", "defaults": {}, "funcname": "GetBackgroundDrawList", - "location": "imgui:897", + "location": "imgui:890", "namespace": "ImGui", - "ov_cimguiname": "igGetBackgroundDrawListNil", + "ov_cimguiname": "igGetBackgroundDrawList_Nil", "ret": "ImDrawList*", "signature": "()", "stname": "" @@ -18518,9 +19335,9 @@ "cimguiname": "igGetBackgroundDrawList", "defaults": {}, "funcname": "GetBackgroundDrawList", - "location": "imgui:899", + "location": "imgui:892", "namespace": "ImGui", - "ov_cimguiname": "igGetBackgroundDrawListViewportPtr", + "ov_cimguiname": "igGetBackgroundDrawList_ViewportPtr", "ret": "ImDrawList*", "signature": "(ImGuiViewport*)", "stname": "" @@ -18535,7 +19352,7 @@ "cimguiname": "igGetClipboardText", "defaults": {}, "funcname": "GetClipboardText", - "location": "imgui:950", + "location": "imgui:952", "namespace": "ImGui", "ov_cimguiname": "igGetClipboardText", "ret": "const char*", @@ -18563,9 +19380,9 @@ "alpha_mul": "1.0f" }, "funcname": "GetColorU32", - "location": "imgui:438", + "location": "imgui:435", "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32Col", + "ov_cimguiname": "igGetColorU32_Col", "ret": "ImU32", "signature": "(ImGuiCol,float)", "stname": "" @@ -18583,9 +19400,9 @@ "cimguiname": "igGetColorU32", "defaults": {}, "funcname": "GetColorU32", - "location": "imgui:439", + "location": "imgui:436", "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32Vec4", + "ov_cimguiname": "igGetColorU32_Vec4", "ret": "ImU32", "signature": "(const ImVec4)", "stname": "" @@ -18603,9 +19420,9 @@ "cimguiname": "igGetColorU32", "defaults": {}, "funcname": "GetColorU32", - "location": "imgui:440", + "location": "imgui:437", "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32U32", + "ov_cimguiname": "igGetColorU32_U32", "ret": "ImU32", "signature": "(ImU32)", "stname": "" @@ -18620,7 +19437,7 @@ "cimguiname": "igGetColumnIndex", "defaults": {}, "funcname": "GetColumnIndex", - "location": "imgui:789", + "location": "imgui:786", "namespace": "ImGui", "ov_cimguiname": "igGetColumnIndex", "ret": "int", @@ -18646,7 +19463,7 @@ "cimguiname": "igGetColumnNormFromOffset", "defaults": {}, "funcname": "GetColumnNormFromOffset", - "location": "imgui_internal:2902", + "location": "imgui_internal:3253", "namespace": "ImGui", "ov_cimguiname": "igGetColumnNormFromOffset", "ret": "float", @@ -18670,7 +19487,7 @@ "column_index": "-1" }, "funcname": "GetColumnOffset", - "location": "imgui:792", + "location": "imgui:789", "namespace": "ImGui", "ov_cimguiname": "igGetColumnOffset", "ret": "float", @@ -18696,7 +19513,7 @@ "cimguiname": "igGetColumnOffsetFromNorm", "defaults": {}, "funcname": "GetColumnOffsetFromNorm", - "location": "imgui_internal:2901", + "location": "imgui_internal:3252", "namespace": "ImGui", "ov_cimguiname": "igGetColumnOffsetFromNorm", "ret": "float", @@ -18720,7 +19537,7 @@ "column_index": "-1" }, "funcname": "GetColumnWidth", - "location": "imgui:790", + "location": "imgui:787", "namespace": "ImGui", "ov_cimguiname": "igGetColumnWidth", "ret": "float", @@ -18737,7 +19554,7 @@ "cimguiname": "igGetColumnsCount", "defaults": {}, "funcname": "GetColumnsCount", - "location": "imgui:794", + "location": "imgui:791", "namespace": "ImGui", "ov_cimguiname": "igGetColumnsCount", "ret": "int", @@ -18763,7 +19580,7 @@ "cimguiname": "igGetColumnsID", "defaults": {}, "funcname": "GetColumnsID", - "location": "imgui_internal:2899", + "location": "imgui_internal:3250", "namespace": "ImGui", "ov_cimguiname": "igGetColumnsID", "ret": "ImGuiID", @@ -18785,7 +19602,7 @@ "cimguiname": "igGetContentRegionAvail", "defaults": {}, "funcname": "GetContentRegionAvail", - "location": "imgui:394", + "location": "imgui:389", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetContentRegionAvail", @@ -18808,7 +19625,7 @@ "cimguiname": "igGetContentRegionMax", "defaults": {}, "funcname": "GetContentRegionMax", - "location": "imgui:395", + "location": "imgui:390", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetContentRegionMax", @@ -18831,7 +19648,7 @@ "cimguiname": "igGetContentRegionMaxAbs", "defaults": {}, "funcname": "GetContentRegionMaxAbs", - "location": "imgui_internal:2750", + "location": "imgui_internal:3046", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetContentRegionMaxAbs", @@ -18849,7 +19666,7 @@ "cimguiname": "igGetCurrentContext", "defaults": {}, "funcname": "GetCurrentContext", - "location": "imgui:303", + "location": "imgui:296", "namespace": "ImGui", "ov_cimguiname": "igGetCurrentContext", "ret": "ImGuiContext*", @@ -18857,6 +19674,23 @@ "stname": "" } ], + "igGetCurrentFocusScope": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igGetCurrentFocusScope", + "defaults": {}, + "funcname": "GetCurrentFocusScope", + "location": "imgui_internal:3234", + "namespace": "ImGui", + "ov_cimguiname": "igGetCurrentFocusScope", + "ret": "ImGuiID", + "signature": "()", + "stname": "" + } + ], "igGetCurrentTable": [ { "args": "()", @@ -18866,7 +19700,7 @@ "cimguiname": "igGetCurrentTable", "defaults": {}, "funcname": "GetCurrentTable", - "location": "imgui_internal:2914", + "location": "imgui_internal:3265", "namespace": "ImGui", "ov_cimguiname": "igGetCurrentTable", "ret": "ImGuiTable*", @@ -18883,7 +19717,7 @@ "cimguiname": "igGetCurrentWindow", "defaults": {}, "funcname": "GetCurrentWindow", - "location": "imgui_internal:2645", + "location": "imgui_internal:2933", "namespace": "ImGui", "ov_cimguiname": "igGetCurrentWindow", "ret": "ImGuiWindow*", @@ -18900,7 +19734,7 @@ "cimguiname": "igGetCurrentWindowRead", "defaults": {}, "funcname": "GetCurrentWindowRead", - "location": "imgui_internal:2644", + "location": "imgui_internal:2932", "namespace": "ImGui", "ov_cimguiname": "igGetCurrentWindowRead", "ret": "ImGuiWindow*", @@ -18922,7 +19756,7 @@ "cimguiname": "igGetCursorPos", "defaults": {}, "funcname": "GetCursorPos", - "location": "imgui:459", + "location": "imgui:456", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetCursorPos", @@ -18940,7 +19774,7 @@ "cimguiname": "igGetCursorPosX", "defaults": {}, "funcname": "GetCursorPosX", - "location": "imgui:460", + "location": "imgui:457", "namespace": "ImGui", "ov_cimguiname": "igGetCursorPosX", "ret": "float", @@ -18957,7 +19791,7 @@ "cimguiname": "igGetCursorPosY", "defaults": {}, "funcname": "GetCursorPosY", - "location": "imgui:461", + "location": "imgui:458", "namespace": "ImGui", "ov_cimguiname": "igGetCursorPosY", "ret": "float", @@ -18979,7 +19813,7 @@ "cimguiname": "igGetCursorScreenPos", "defaults": {}, "funcname": "GetCursorScreenPos", - "location": "imgui:466", + "location": "imgui:463", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetCursorScreenPos", @@ -19002,7 +19836,7 @@ "cimguiname": "igGetCursorStartPos", "defaults": {}, "funcname": "GetCursorStartPos", - "location": "imgui:465", + "location": "imgui:462", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetCursorStartPos", @@ -19020,7 +19854,7 @@ "cimguiname": "igGetDefaultFont", "defaults": {}, "funcname": "GetDefaultFont", - "location": "imgui_internal:2673", + "location": "imgui_internal:2961", "namespace": "ImGui", "ov_cimguiname": "igGetDefaultFont", "ret": "ImFont*", @@ -19037,7 +19871,7 @@ "cimguiname": "igGetDragDropPayload", "defaults": {}, "funcname": "GetDragDropPayload", - "location": "imgui:846", + "location": "imgui:843", "namespace": "ImGui", "ov_cimguiname": "igGetDragDropPayload", "ret": "const ImGuiPayload*", @@ -19054,7 +19888,7 @@ "cimguiname": "igGetDrawData", "defaults": {}, "funcname": "GetDrawData", - "location": "imgui:312", + "location": "imgui:305", "namespace": "ImGui", "ov_cimguiname": "igGetDrawData", "ret": "ImDrawData*", @@ -19071,7 +19905,7 @@ "cimguiname": "igGetDrawListSharedData", "defaults": {}, "funcname": "GetDrawListSharedData", - "location": "imgui:901", + "location": "imgui:900", "namespace": "ImGui", "ov_cimguiname": "igGetDrawListSharedData", "ret": "ImDrawListSharedData*", @@ -19088,7 +19922,7 @@ "cimguiname": "igGetFocusID", "defaults": {}, "funcname": "GetFocusID", - "location": "imgui_internal:2728", + "location": "imgui_internal:3024", "namespace": "ImGui", "ov_cimguiname": "igGetFocusID", "ret": "ImGuiID", @@ -19096,40 +19930,6 @@ "stname": "" } ], - "igGetFocusScope": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFocusScope", - "defaults": {}, - "funcname": "GetFocusScope", - "location": "imgui_internal:2821", - "namespace": "ImGui", - "ov_cimguiname": "igGetFocusScope", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], - "igGetFocusedFocusScope": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetFocusedFocusScope", - "defaults": {}, - "funcname": "GetFocusedFocusScope", - "location": "imgui_internal:2820", - "namespace": "ImGui", - "ov_cimguiname": "igGetFocusedFocusScope", - "ret": "ImGuiID", - "signature": "()", - "stname": "" - } - ], "igGetFont": [ { "args": "()", @@ -19139,7 +19939,7 @@ "cimguiname": "igGetFont", "defaults": {}, "funcname": "GetFont", - "location": "imgui:435", + "location": "imgui:432", "namespace": "ImGui", "ov_cimguiname": "igGetFont", "ret": "ImFont*", @@ -19156,7 +19956,7 @@ "cimguiname": "igGetFontSize", "defaults": {}, "funcname": "GetFontSize", - "location": "imgui:436", + "location": "imgui:433", "namespace": "ImGui", "ov_cimguiname": "igGetFontSize", "ret": "float", @@ -19178,7 +19978,7 @@ "cimguiname": "igGetFontTexUvWhitePixel", "defaults": {}, "funcname": "GetFontTexUvWhitePixel", - "location": "imgui:437", + "location": "imgui:434", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetFontTexUvWhitePixel", @@ -19196,9 +19996,9 @@ "cimguiname": "igGetForegroundDrawList", "defaults": {}, "funcname": "GetForegroundDrawList", - "location": "imgui:898", + "location": "imgui:891", "namespace": "ImGui", - "ov_cimguiname": "igGetForegroundDrawListNil", + "ov_cimguiname": "igGetForegroundDrawList_Nil", "ret": "ImDrawList*", "signature": "()", "stname": "" @@ -19216,9 +20016,9 @@ "cimguiname": "igGetForegroundDrawList", "defaults": {}, "funcname": "GetForegroundDrawList", - "location": "imgui:900", + "location": "imgui:893", "namespace": "ImGui", - "ov_cimguiname": "igGetForegroundDrawListViewportPtr", + "ov_cimguiname": "igGetForegroundDrawList_ViewportPtr", "ret": "ImDrawList*", "signature": "(ImGuiViewport*)", "stname": "" @@ -19236,9 +20036,9 @@ "cimguiname": "igGetForegroundDrawList", "defaults": {}, "funcname": "GetForegroundDrawList", - "location": "imgui_internal:2674", + "location": "imgui_internal:2962", "namespace": "ImGui", - "ov_cimguiname": "igGetForegroundDrawListWindowPtr", + "ov_cimguiname": "igGetForegroundDrawList_WindowPtr", "ret": "ImDrawList*", "signature": "(ImGuiWindow*)", "stname": "" @@ -19253,7 +20053,7 @@ "cimguiname": "igGetFrameCount", "defaults": {}, "funcname": "GetFrameCount", - "location": "imgui:896", + "location": "imgui:899", "namespace": "ImGui", "ov_cimguiname": "igGetFrameCount", "ret": "int", @@ -19270,7 +20070,7 @@ "cimguiname": "igGetFrameHeight", "defaults": {}, "funcname": "GetFrameHeight", - "location": "imgui:471", + "location": "imgui:468", "namespace": "ImGui", "ov_cimguiname": "igGetFrameHeight", "ret": "float", @@ -19287,7 +20087,7 @@ "cimguiname": "igGetFrameHeightWithSpacing", "defaults": {}, "funcname": "GetFrameHeightWithSpacing", - "location": "imgui:472", + "location": "imgui:469", "namespace": "ImGui", "ov_cimguiname": "igGetFrameHeightWithSpacing", "ret": "float", @@ -19304,7 +20104,7 @@ "cimguiname": "igGetHoveredID", "defaults": {}, "funcname": "GetHoveredID", - "location": "imgui_internal:2732", + "location": "imgui_internal:3028", "namespace": "ImGui", "ov_cimguiname": "igGetHoveredID", "ret": "ImGuiID", @@ -19326,9 +20126,9 @@ "cimguiname": "igGetID", "defaults": {}, "funcname": "GetID", - "location": "imgui:490", + "location": "imgui:487", "namespace": "ImGui", - "ov_cimguiname": "igGetIDStr", + "ov_cimguiname": "igGetID_Str", "ret": "ImGuiID", "signature": "(const char*)", "stname": "" @@ -19350,9 +20150,9 @@ "cimguiname": "igGetID", "defaults": {}, "funcname": "GetID", - "location": "imgui:491", + "location": "imgui:488", "namespace": "ImGui", - "ov_cimguiname": "igGetIDStrStr", + "ov_cimguiname": "igGetID_StrStr", "ret": "ImGuiID", "signature": "(const char*,const char*)", "stname": "" @@ -19370,9 +20170,9 @@ "cimguiname": "igGetID", "defaults": {}, "funcname": "GetID", - "location": "imgui:492", + "location": "imgui:489", "namespace": "ImGui", - "ov_cimguiname": "igGetIDPtr", + "ov_cimguiname": "igGetID_Ptr", "ret": "ImGuiID", "signature": "(const void*)", "stname": "" @@ -19400,7 +20200,7 @@ "cimguiname": "igGetIDWithSeed", "defaults": {}, "funcname": "GetIDWithSeed", - "location": "imgui_internal:2737", + "location": "imgui_internal:3033", "namespace": "ImGui", "ov_cimguiname": "igGetIDWithSeed", "ret": "ImGuiID", @@ -19417,7 +20217,7 @@ "cimguiname": "igGetIO", "defaults": {}, "funcname": "GetIO", - "location": "imgui:307", + "location": "imgui:300", "namespace": "ImGui", "ov_cimguiname": "igGetIO", "ret": "ImGuiIO*", @@ -19440,7 +20240,7 @@ "cimguiname": "igGetInputTextState", "defaults": {}, "funcname": "GetInputTextState", - "location": "imgui_internal:3050", + "location": "imgui_internal:3399", "namespace": "ImGui", "ov_cimguiname": "igGetInputTextState", "ret": "ImGuiInputTextState*", @@ -19457,7 +20257,7 @@ "cimguiname": "igGetItemFlags", "defaults": {}, "funcname": "GetItemFlags", - "location": "imgui_internal:2726", + "location": "imgui_internal:3022", "namespace": "ImGui", "ov_cimguiname": "igGetItemFlags", "ret": "ImGuiItemFlags", @@ -19474,7 +20274,7 @@ "cimguiname": "igGetItemID", "defaults": {}, "funcname": "GetItemID", - "location": "imgui_internal:2724", + "location": "imgui_internal:3020", "namespace": "ImGui", "ov_cimguiname": "igGetItemID", "ret": "ImGuiID", @@ -19496,7 +20296,7 @@ "cimguiname": "igGetItemRectMax", "defaults": {}, "funcname": "GetItemRectMax", - "location": "imgui:882", + "location": "imgui:879", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetItemRectMax", @@ -19519,7 +20319,7 @@ "cimguiname": "igGetItemRectMin", "defaults": {}, "funcname": "GetItemRectMin", - "location": "imgui:881", + "location": "imgui:878", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetItemRectMin", @@ -19542,7 +20342,7 @@ "cimguiname": "igGetItemRectSize", "defaults": {}, "funcname": "GetItemRectSize", - "location": "imgui:883", + "location": "imgui:880", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetItemRectSize", @@ -19560,7 +20360,7 @@ "cimguiname": "igGetItemStatusFlags", "defaults": {}, "funcname": "GetItemStatusFlags", - "location": "imgui_internal:2725", + "location": "imgui_internal:3021", "namespace": "ImGui", "ov_cimguiname": "igGetItemStatusFlags", "ret": "ImGuiItemStatusFlags", @@ -19568,35 +20368,153 @@ "stname": "" } ], - "igGetKeyIndex": [ + "igGetKeyChordName": [ { - "args": "(ImGuiKey imgui_key)", + "args": "(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)", "argsT": [ { - "name": "imgui_key", + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "out_buf", + "type": "char*" + }, + { + "name": "out_buf_size", + "type": "int" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)", + "call_args": "(key_chord,out_buf,out_buf_size)", + "cimguiname": "igGetKeyChordName", + "defaults": {}, + "funcname": "GetKeyChordName", + "location": "imgui_internal:3117", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyChordName", + "ret": "void", + "signature": "(ImGuiKeyChord,char*,int)", + "stname": "" + } + ], + "igGetKeyData": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", "type": "ImGuiKey" } ], - "argsoriginal": "(ImGuiKey imgui_key)", - "call_args": "(imgui_key)", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyData", + "defaults": {}, + "funcname": "GetKeyData", + "location": "imgui_internal:3116", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyData", + "ret": "ImGuiKeyData*", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyIndex": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", "cimguiname": "igGetKeyIndex", "defaults": {}, "funcname": "GetKeyIndex", - "location": "imgui:920", + "location": "imgui:3214", "namespace": "ImGui", "ov_cimguiname": "igGetKeyIndex", - "ret": "int", + "ret": "ImGuiKey", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyName": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyName", + "defaults": {}, + "funcname": "GetKeyName", + "location": "imgui:926", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyName", + "ret": "const char*", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyOwner": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyOwner", + "defaults": {}, + "funcname": "GetKeyOwner", + "location": "imgui_internal:3138", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyOwner", + "ret": "ImGuiID", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyOwnerData": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyOwnerData", + "defaults": {}, + "funcname": "GetKeyOwnerData", + "location": "imgui_internal:3142", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyOwnerData", + "ret": "ImGuiKeyOwnerData*", "signature": "(ImGuiKey)", "stname": "" } ], "igGetKeyPressedAmount": [ { - "args": "(int key_index,float repeat_delay,float rate)", + "args": "(ImGuiKey key,float repeat_delay,float rate)", "argsT": [ { - "name": "key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" }, { "name": "repeat_delay", @@ -19607,16 +20525,55 @@ "type": "float" } ], - "argsoriginal": "(int key_index,float repeat_delay,float rate)", - "call_args": "(key_index,repeat_delay,rate)", + "argsoriginal": "(ImGuiKey key,float repeat_delay,float rate)", + "call_args": "(key,repeat_delay,rate)", "cimguiname": "igGetKeyPressedAmount", "defaults": {}, "funcname": "GetKeyPressedAmount", - "location": "imgui:924", + "location": "imgui:925", "namespace": "ImGui", "ov_cimguiname": "igGetKeyPressedAmount", "ret": "int", - "signature": "(int,float,float)", + "signature": "(ImGuiKey,float,float)", + "stname": "" + } + ], + "igGetKeyVector2d": [ + { + "args": "(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "key_left", + "type": "ImGuiKey" + }, + { + "name": "key_right", + "type": "ImGuiKey" + }, + { + "name": "key_up", + "type": "ImGuiKey" + }, + { + "name": "key_down", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)", + "call_args": "(key_left,key_right,key_up,key_down)", + "cimguiname": "igGetKeyVector2d", + "defaults": {}, + "funcname": "GetKeyVector2d", + "location": "imgui_internal:3120", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igGetKeyVector2d", + "ret": "void", + "signature": "(ImGuiKey,ImGuiKey,ImGuiKey,ImGuiKey)", "stname": "" } ], @@ -19629,7 +20586,7 @@ "cimguiname": "igGetMainViewport", "defaults": {}, "funcname": "GetMainViewport", - "location": "imgui:890", + "location": "imgui:887", "namespace": "ImGui", "ov_cimguiname": "igGetMainViewport", "ret": "ImGuiViewport*", @@ -19637,23 +20594,6 @@ "stname": "" } ], - "igGetMergedKeyModFlags": [ - { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igGetMergedKeyModFlags", - "defaults": {}, - "funcname": "GetMergedKeyModFlags", - "location": "imgui_internal:2834", - "namespace": "ImGui", - "ov_cimguiname": "igGetMergedKeyModFlags", - "ret": "ImGuiKeyModFlags", - "signature": "()", - "stname": "" - } - ], "igGetMouseClickedCount": [ { "args": "(ImGuiMouseButton button)", @@ -19668,7 +20608,7 @@ "cimguiname": "igGetMouseClickedCount", "defaults": {}, "funcname": "GetMouseClickedCount", - "location": "imgui:935", + "location": "imgui:937", "namespace": "ImGui", "ov_cimguiname": "igGetMouseClickedCount", "ret": "int", @@ -19685,7 +20625,7 @@ "cimguiname": "igGetMouseCursor", "defaults": {}, "funcname": "GetMouseCursor", - "location": "imgui:944", + "location": "imgui:946", "namespace": "ImGui", "ov_cimguiname": "igGetMouseCursor", "ret": "ImGuiMouseCursor", @@ -19718,7 +20658,7 @@ "lock_threshold": "-1.0f" }, "funcname": "GetMouseDragDelta", - "location": "imgui:942", + "location": "imgui:944", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetMouseDragDelta", @@ -19741,7 +20681,7 @@ "cimguiname": "igGetMousePos", "defaults": {}, "funcname": "GetMousePos", - "location": "imgui:939", + "location": "imgui:941", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetMousePos", @@ -19764,7 +20704,7 @@ "cimguiname": "igGetMousePosOnOpeningCurrentPopup", "defaults": {}, "funcname": "GetMousePosOnOpeningCurrentPopup", - "location": "imgui:940", + "location": "imgui:942", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup", @@ -19773,71 +20713,25 @@ "stname": "" } ], - "igGetNavInputAmount": [ + "igGetNavTweakPressedAmount": [ { - "args": "(ImGuiNavInput n,ImGuiInputReadMode mode)", + "args": "(ImGuiAxis axis)", "argsT": [ { - "name": "n", - "type": "ImGuiNavInput" - }, - { - "name": "mode", - "type": "ImGuiInputReadMode" + "name": "axis", + "type": "ImGuiAxis" } ], - "argsoriginal": "(ImGuiNavInput n,ImGuiInputReadMode mode)", - "call_args": "(n,mode)", - "cimguiname": "igGetNavInputAmount", + "argsoriginal": "(ImGuiAxis axis)", + "call_args": "(axis)", + "cimguiname": "igGetNavTweakPressedAmount", "defaults": {}, - "funcname": "GetNavInputAmount", - "location": "imgui_internal:2809", + "funcname": "GetNavTweakPressedAmount", + "location": "imgui_internal:3121", "namespace": "ImGui", - "ov_cimguiname": "igGetNavInputAmount", + "ov_cimguiname": "igGetNavTweakPressedAmount", "ret": "float", - "signature": "(ImGuiNavInput,ImGuiInputReadMode)", - "stname": "" - } - ], - "igGetNavInputAmount2d": [ - { - "args": "(ImVec2 *pOut,ImGuiNavDirSourceFlags dir_sources,ImGuiInputReadMode mode,float slow_factor,float fast_factor)", - "argsT": [ - { - "name": "pOut", - "type": "ImVec2*" - }, - { - "name": "dir_sources", - "type": "ImGuiNavDirSourceFlags" - }, - { - "name": "mode", - "type": "ImGuiInputReadMode" - }, - { - "name": "slow_factor", - "type": "float" - }, - { - "name": "fast_factor", - "type": "float" - } - ], - "argsoriginal": "(ImGuiNavDirSourceFlags dir_sources,ImGuiInputReadMode mode,float slow_factor=0.0f,float fast_factor=0.0f)", - "call_args": "(dir_sources,mode,slow_factor,fast_factor)", - "cimguiname": "igGetNavInputAmount2d", - "defaults": { - "fast_factor": "0.0f", - "slow_factor": "0.0f" - }, - "funcname": "GetNavInputAmount2d", - "location": "imgui_internal:2810", - "namespace": "ImGui", - "nonUDT": 1, - "ov_cimguiname": "igGetNavInputAmount2d", - "ret": "void", - "signature": "(ImGuiNavDirSourceFlags,ImGuiInputReadMode,float,float)", + "signature": "(ImGuiAxis)", "stname": "" } ], @@ -19850,7 +20744,7 @@ "cimguiname": "igGetPlatformIO", "defaults": {}, "funcname": "GetPlatformIO", - "location": "imgui:978", + "location": "imgui:980", "namespace": "ImGui", "ov_cimguiname": "igGetPlatformIO", "ret": "ImGuiPlatformIO*", @@ -19877,7 +20771,7 @@ "cimguiname": "igGetPopupAllowedExtentRect", "defaults": {}, "funcname": "GetPopupAllowedExtentRect", - "location": "imgui_internal:2783", + "location": "imgui_internal:3068", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetPopupAllowedExtentRect", @@ -19895,7 +20789,7 @@ "cimguiname": "igGetScrollMaxX", "defaults": {}, "funcname": "GetScrollMaxX", - "location": "imgui:404", + "location": "imgui:401", "namespace": "ImGui", "ov_cimguiname": "igGetScrollMaxX", "ret": "float", @@ -19912,7 +20806,7 @@ "cimguiname": "igGetScrollMaxY", "defaults": {}, "funcname": "GetScrollMaxY", - "location": "imgui:405", + "location": "imgui:402", "namespace": "ImGui", "ov_cimguiname": "igGetScrollMaxY", "ret": "float", @@ -19929,7 +20823,7 @@ "cimguiname": "igGetScrollX", "defaults": {}, "funcname": "GetScrollX", - "location": "imgui:400", + "location": "imgui:397", "namespace": "ImGui", "ov_cimguiname": "igGetScrollX", "ret": "float", @@ -19946,7 +20840,7 @@ "cimguiname": "igGetScrollY", "defaults": {}, "funcname": "GetScrollY", - "location": "imgui:401", + "location": "imgui:398", "namespace": "ImGui", "ov_cimguiname": "igGetScrollY", "ret": "float", @@ -19954,6 +20848,28 @@ "stname": "" } ], + "igGetShortcutRoutingData": [ + { + "args": "(ImGuiKeyChord key_chord)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord)", + "call_args": "(key_chord)", + "cimguiname": "igGetShortcutRoutingData", + "defaults": {}, + "funcname": "GetShortcutRoutingData", + "location": "imgui_internal:3170", + "namespace": "ImGui", + "ov_cimguiname": "igGetShortcutRoutingData", + "ret": "ImGuiKeyRoutingData*", + "signature": "(ImGuiKeyChord)", + "stname": "" + } + ], "igGetStateStorage": [ { "args": "()", @@ -19963,7 +20879,7 @@ "cimguiname": "igGetStateStorage", "defaults": {}, "funcname": "GetStateStorage", - "location": "imgui:904", + "location": "imgui:903", "namespace": "ImGui", "ov_cimguiname": "igGetStateStorage", "ret": "ImGuiStorage*", @@ -19980,7 +20896,7 @@ "cimguiname": "igGetStyle", "defaults": {}, "funcname": "GetStyle", - "location": "imgui:308", + "location": "imgui:301", "namespace": "ImGui", "ov_cimguiname": "igGetStyle", "ret": "ImGuiStyle*", @@ -20003,7 +20919,7 @@ "cimguiname": "igGetStyleColorName", "defaults": {}, "funcname": "GetStyleColorName", - "location": "imgui:902", + "location": "imgui:901", "namespace": "ImGui", "ov_cimguiname": "igGetStyleColorName", "ret": "const char*", @@ -20025,7 +20941,7 @@ "cimguiname": "igGetStyleColorVec4", "defaults": {}, "funcname": "GetStyleColorVec4", - "location": "imgui:441", + "location": "imgui:438", "namespace": "ImGui", "ov_cimguiname": "igGetStyleColorVec4", "ret": "const ImVec4*", @@ -20043,7 +20959,7 @@ "cimguiname": "igGetTextLineHeight", "defaults": {}, "funcname": "GetTextLineHeight", - "location": "imgui:469", + "location": "imgui:466", "namespace": "ImGui", "ov_cimguiname": "igGetTextLineHeight", "ret": "float", @@ -20060,7 +20976,7 @@ "cimguiname": "igGetTextLineHeightWithSpacing", "defaults": {}, "funcname": "GetTextLineHeightWithSpacing", - "location": "imgui:470", + "location": "imgui:467", "namespace": "ImGui", "ov_cimguiname": "igGetTextLineHeightWithSpacing", "ret": "float", @@ -20077,7 +20993,7 @@ "cimguiname": "igGetTime", "defaults": {}, "funcname": "GetTime", - "location": "imgui:895", + "location": "imgui:898", "namespace": "ImGui", "ov_cimguiname": "igGetTime", "ret": "double", @@ -20094,7 +21010,7 @@ "cimguiname": "igGetTopMostAndVisiblePopupModal", "defaults": {}, "funcname": "GetTopMostAndVisiblePopupModal", - "location": "imgui_internal:2785", + "location": "imgui_internal:3070", "namespace": "ImGui", "ov_cimguiname": "igGetTopMostAndVisiblePopupModal", "ret": "ImGuiWindow*", @@ -20111,7 +21027,7 @@ "cimguiname": "igGetTopMostPopupModal", "defaults": {}, "funcname": "GetTopMostPopupModal", - "location": "imgui_internal:2784", + "location": "imgui_internal:3069", "namespace": "ImGui", "ov_cimguiname": "igGetTopMostPopupModal", "ret": "ImGuiWindow*", @@ -20128,7 +21044,7 @@ "cimguiname": "igGetTreeNodeToLabelSpacing", "defaults": {}, "funcname": "GetTreeNodeToLabelSpacing", - "location": "imgui:623", + "location": "imgui:624", "namespace": "ImGui", "ov_cimguiname": "igGetTreeNodeToLabelSpacing", "ret": "float", @@ -20136,6 +21052,36 @@ "stname": "" } ], + "igGetTypematicRepeatRate": [ + { + "args": "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)", + "argsT": [ + { + "name": "flags", + "type": "ImGuiInputFlags" + }, + { + "name": "repeat_delay", + "type": "float*" + }, + { + "name": "repeat_rate", + "type": "float*" + } + ], + "argsoriginal": "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)", + "call_args": "(flags,repeat_delay,repeat_rate)", + "cimguiname": "igGetTypematicRepeatRate", + "defaults": {}, + "funcname": "GetTypematicRepeatRate", + "location": "imgui_internal:3123", + "namespace": "ImGui", + "ov_cimguiname": "igGetTypematicRepeatRate", + "ret": "void", + "signature": "(ImGuiInputFlags,float*,float*)", + "stname": "" + } + ], "igGetVersion": [ { "args": "()", @@ -20145,7 +21091,7 @@ "cimguiname": "igGetVersion", "defaults": {}, "funcname": "GetVersion", - "location": "imgui:323", + "location": "imgui:317", "namespace": "ImGui", "ov_cimguiname": "igGetVersion", "ret": "const char*", @@ -20167,7 +21113,7 @@ "cimguiname": "igGetViewportPlatformMonitor", "defaults": {}, "funcname": "GetViewportPlatformMonitor", - "location": "imgui_internal:2697", + "location": "imgui_internal:2987", "namespace": "ImGui", "ov_cimguiname": "igGetViewportPlatformMonitor", "ret": "const ImGuiPlatformMonitor*", @@ -20189,7 +21135,7 @@ "cimguiname": "igGetWindowAlwaysWantOwnTabBar", "defaults": {}, "funcname": "GetWindowAlwaysWantOwnTabBar", - "location": "imgui_internal:2857", + "location": "imgui_internal:3194", "namespace": "ImGui", "ov_cimguiname": "igGetWindowAlwaysWantOwnTabBar", "ret": "bool", @@ -20211,7 +21157,7 @@ "cimguiname": "igGetWindowContentRegionMax", "defaults": {}, "funcname": "GetWindowContentRegionMax", - "location": "imgui:397", + "location": "imgui:392", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowContentRegionMax", @@ -20234,7 +21180,7 @@ "cimguiname": "igGetWindowContentRegionMin", "defaults": {}, "funcname": "GetWindowContentRegionMin", - "location": "imgui:396", + "location": "imgui:391", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowContentRegionMin", @@ -20252,7 +21198,7 @@ "cimguiname": "igGetWindowDockID", "defaults": {}, "funcname": "GetWindowDockID", - "location": "imgui:822", + "location": "imgui:819", "namespace": "ImGui", "ov_cimguiname": "igGetWindowDockID", "ret": "ImGuiID", @@ -20269,7 +21215,7 @@ "cimguiname": "igGetWindowDockNode", "defaults": {}, "funcname": "GetWindowDockNode", - "location": "imgui_internal:2856", + "location": "imgui_internal:3193", "namespace": "ImGui", "ov_cimguiname": "igGetWindowDockNode", "ret": "ImGuiDockNode*", @@ -20286,7 +21232,7 @@ "cimguiname": "igGetWindowDpiScale", "defaults": {}, "funcname": "GetWindowDpiScale", - "location": "imgui:364", + "location": "imgui:358", "namespace": "ImGui", "ov_cimguiname": "igGetWindowDpiScale", "ret": "float", @@ -20303,7 +21249,7 @@ "cimguiname": "igGetWindowDrawList", "defaults": {}, "funcname": "GetWindowDrawList", - "location": "imgui:363", + "location": "imgui:357", "namespace": "ImGui", "ov_cimguiname": "igGetWindowDrawList", "ret": "ImDrawList*", @@ -20320,7 +21266,7 @@ "cimguiname": "igGetWindowHeight", "defaults": {}, "funcname": "GetWindowHeight", - "location": "imgui:368", + "location": "imgui:362", "namespace": "ImGui", "ov_cimguiname": "igGetWindowHeight", "ret": "float", @@ -20342,7 +21288,7 @@ "cimguiname": "igGetWindowPos", "defaults": {}, "funcname": "GetWindowPos", - "location": "imgui:365", + "location": "imgui:359", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowPos", @@ -20369,7 +21315,7 @@ "cimguiname": "igGetWindowResizeBorderID", "defaults": {}, "funcname": "GetWindowResizeBorderID", - "location": "imgui_internal:3013", + "location": "imgui_internal:3361", "namespace": "ImGui", "ov_cimguiname": "igGetWindowResizeBorderID", "ret": "ImGuiID", @@ -20395,7 +21341,7 @@ "cimguiname": "igGetWindowResizeCornerID", "defaults": {}, "funcname": "GetWindowResizeCornerID", - "location": "imgui_internal:3012", + "location": "imgui_internal:3360", "namespace": "ImGui", "ov_cimguiname": "igGetWindowResizeCornerID", "ret": "ImGuiID", @@ -20421,7 +21367,7 @@ "cimguiname": "igGetWindowScrollbarID", "defaults": {}, "funcname": "GetWindowScrollbarID", - "location": "imgui_internal:3011", + "location": "imgui_internal:3359", "namespace": "ImGui", "ov_cimguiname": "igGetWindowScrollbarID", "ret": "ImGuiID", @@ -20451,7 +21397,7 @@ "cimguiname": "igGetWindowScrollbarRect", "defaults": {}, "funcname": "GetWindowScrollbarRect", - "location": "imgui_internal:3010", + "location": "imgui_internal:3358", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowScrollbarRect", @@ -20474,7 +21420,7 @@ "cimguiname": "igGetWindowSize", "defaults": {}, "funcname": "GetWindowSize", - "location": "imgui:366", + "location": "imgui:360", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowSize", @@ -20492,7 +21438,7 @@ "cimguiname": "igGetWindowViewport", "defaults": {}, "funcname": "GetWindowViewport", - "location": "imgui:369", + "location": "imgui:363", "namespace": "ImGui", "ov_cimguiname": "igGetWindowViewport", "ret": "ImGuiViewport*", @@ -20509,7 +21455,7 @@ "cimguiname": "igGetWindowWidth", "defaults": {}, "funcname": "GetWindowWidth", - "location": "imgui:367", + "location": "imgui:361", "namespace": "ImGui", "ov_cimguiname": "igGetWindowWidth", "ret": "float", @@ -20531,8 +21477,8 @@ "cimguiname": "igImAbs", "defaults": {}, "funcname": "ImAbs", - "location": "imgui_internal:423", - "ov_cimguiname": "igImAbsInt", + "location": "imgui_internal:444", + "ov_cimguiname": "igImAbs_Int", "ret": "int", "signature": "(int)", "stname": "" @@ -20550,8 +21496,8 @@ "cimguiname": "igImAbs", "defaults": {}, "funcname": "ImAbs", - "location": "imgui_internal:424", - "ov_cimguiname": "igImAbsFloat", + "location": "imgui_internal:445", + "ov_cimguiname": "igImAbs_Float", "ret": "float", "signature": "(float)", "stname": "" @@ -20569,8 +21515,8 @@ "cimguiname": "igImAbs", "defaults": {}, "funcname": "ImAbs", - "location": "imgui_internal:425", - "ov_cimguiname": "igImAbsdouble", + "location": "imgui_internal:446", + "ov_cimguiname": "igImAbs_double", "ret": "double", "signature": "(double)", "stname": "" @@ -20594,7 +21540,7 @@ "cimguiname": "igImAlphaBlendColors", "defaults": {}, "funcname": "ImAlphaBlendColors", - "location": "imgui_internal:322", + "location": "imgui_internal:334", "ov_cimguiname": "igImAlphaBlendColors", "ret": "ImU32", "signature": "(ImU32,ImU32)", @@ -20635,7 +21581,7 @@ "cimguiname": "igImBezierCubicCalc", "defaults": {}, "funcname": "ImBezierCubicCalc", - "location": "imgui_internal:467", + "location": "imgui_internal:489", "nonUDT": 1, "ov_cimguiname": "igImBezierCubicCalc", "ret": "void", @@ -20681,7 +21627,7 @@ "cimguiname": "igImBezierCubicClosestPoint", "defaults": {}, "funcname": "ImBezierCubicClosestPoint", - "location": "imgui_internal:468", + "location": "imgui_internal:490", "nonUDT": 1, "ov_cimguiname": "igImBezierCubicClosestPoint", "ret": "void", @@ -20727,7 +21673,7 @@ "cimguiname": "igImBezierCubicClosestPointCasteljau", "defaults": {}, "funcname": "ImBezierCubicClosestPointCasteljau", - "location": "imgui_internal:469", + "location": "imgui_internal:491", "nonUDT": 1, "ov_cimguiname": "igImBezierCubicClosestPointCasteljau", "ret": "void", @@ -20765,7 +21711,7 @@ "cimguiname": "igImBezierQuadraticCalc", "defaults": {}, "funcname": "ImBezierQuadraticCalc", - "location": "imgui_internal:470", + "location": "imgui_internal:492", "nonUDT": 1, "ov_cimguiname": "igImBezierQuadraticCalc", "ret": "void", @@ -20791,7 +21737,7 @@ "cimguiname": "igImBitArrayClearBit", "defaults": {}, "funcname": "ImBitArrayClearBit", - "location": "imgui_internal:538", + "location": "imgui_internal:560", "ov_cimguiname": "igImBitArrayClearBit", "ret": "void", "signature": "(ImU32*,int)", @@ -20816,7 +21762,7 @@ "cimguiname": "igImBitArraySetBit", "defaults": {}, "funcname": "ImBitArraySetBit", - "location": "imgui_internal:539", + "location": "imgui_internal:561", "ov_cimguiname": "igImBitArraySetBit", "ret": "void", "signature": "(ImU32*,int)", @@ -20845,7 +21791,7 @@ "cimguiname": "igImBitArraySetBitRange", "defaults": {}, "funcname": "ImBitArraySetBitRange", - "location": "imgui_internal:540", + "location": "imgui_internal:562", "ov_cimguiname": "igImBitArraySetBitRange", "ret": "void", "signature": "(ImU32*,int,int)", @@ -20870,7 +21816,7 @@ "cimguiname": "igImBitArrayTestBit", "defaults": {}, "funcname": "ImBitArrayTestBit", - "location": "imgui_internal:537", + "location": "imgui_internal:559", "ov_cimguiname": "igImBitArrayTestBit", "ret": "bool", "signature": "(const ImU32*,int)", @@ -20891,7 +21837,7 @@ "cimguiname": "igImCharIsBlankA", "defaults": {}, "funcname": "ImCharIsBlankA", - "location": "imgui_internal:348", + "location": "imgui_internal:356", "ov_cimguiname": "igImCharIsBlankA", "ret": "bool", "signature": "(char)", @@ -20912,7 +21858,7 @@ "cimguiname": "igImCharIsBlankW", "defaults": {}, "funcname": "ImCharIsBlankW", - "location": "imgui_internal:349", + "location": "imgui_internal:357", "ov_cimguiname": "igImCharIsBlankW", "ret": "bool", "signature": "(unsigned int)", @@ -20945,7 +21891,7 @@ "cimguiname": "igImClamp", "defaults": {}, "funcname": "ImClamp", - "location": "imgui_internal:447", + "location": "imgui_internal:468", "nonUDT": 1, "ov_cimguiname": "igImClamp", "ret": "void", @@ -20971,7 +21917,7 @@ "cimguiname": "igImDot", "defaults": {}, "funcname": "ImDot", - "location": "imgui_internal:459", + "location": "imgui_internal:481", "ov_cimguiname": "igImDot", "ret": "float", "signature": "(const ImVec2,const ImVec2)", @@ -20992,7 +21938,7 @@ "cimguiname": "igImFileClose", "defaults": {}, "funcname": "ImFileClose", - "location": "imgui_internal:396", + "location": "imgui_internal:417", "ov_cimguiname": "igImFileClose", "ret": "bool", "signature": "(ImFileHandle)", @@ -21013,7 +21959,7 @@ "cimguiname": "igImFileGetSize", "defaults": {}, "funcname": "ImFileGetSize", - "location": "imgui_internal:397", + "location": "imgui_internal:418", "ov_cimguiname": "igImFileGetSize", "ret": "ImU64", "signature": "(ImFileHandle)", @@ -21049,7 +21995,7 @@ "padding_bytes": "0" }, "funcname": "ImFileLoadToMemory", - "location": "imgui_internal:403", + "location": "imgui_internal:424", "ov_cimguiname": "igImFileLoadToMemory", "ret": "void*", "signature": "(const char*,const char*,size_t*,int)", @@ -21074,7 +22020,7 @@ "cimguiname": "igImFileOpen", "defaults": {}, "funcname": "ImFileOpen", - "location": "imgui_internal:395", + "location": "imgui_internal:416", "ov_cimguiname": "igImFileOpen", "ret": "ImFileHandle", "signature": "(const char*,const char*)", @@ -21107,7 +22053,7 @@ "cimguiname": "igImFileRead", "defaults": {}, "funcname": "ImFileRead", - "location": "imgui_internal:398", + "location": "imgui_internal:419", "ov_cimguiname": "igImFileRead", "ret": "ImU64", "signature": "(void*,ImU64,ImU64,ImFileHandle)", @@ -21140,7 +22086,7 @@ "cimguiname": "igImFileWrite", "defaults": {}, "funcname": "ImFileWrite", - "location": "imgui_internal:399", + "location": "imgui_internal:420", "ov_cimguiname": "igImFileWrite", "ret": "ImU64", "signature": "(const void*,ImU64,ImU64,ImFileHandle)", @@ -21161,8 +22107,8 @@ "cimguiname": "igImFloor", "defaults": {}, "funcname": "ImFloor", - "location": "imgui_internal:455", - "ov_cimguiname": "igImFloorFloat", + "location": "imgui_internal:476", + "ov_cimguiname": "igImFloor_Float", "ret": "float", "signature": "(float)", "stname": "" @@ -21184,9 +22130,9 @@ "cimguiname": "igImFloor", "defaults": {}, "funcname": "ImFloor", - "location": "imgui_internal:457", + "location": "imgui_internal:478", "nonUDT": 1, - "ov_cimguiname": "igImFloorVec2", + "ov_cimguiname": "igImFloor_Vec2", "ret": "void", "signature": "(const ImVec2)", "stname": "" @@ -21206,11 +22152,35 @@ "cimguiname": "igImFloorSigned", "defaults": {}, "funcname": "ImFloorSigned", - "location": "imgui_internal:456", - "ov_cimguiname": "igImFloorSigned", + "location": "imgui_internal:477", + "ov_cimguiname": "igImFloorSigned_Float", "ret": "float", "signature": "(float)", "stname": "" + }, + { + "args": "(ImVec2 *pOut,const ImVec2 v)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "v", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& v)", + "call_args": "(v)", + "cimguiname": "igImFloorSigned", + "defaults": {}, + "funcname": "ImFloorSigned", + "location": "imgui_internal:479", + "nonUDT": 1, + "ov_cimguiname": "igImFloorSigned_Vec2", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" } ], "igImFontAtlasBuildFinish": [ @@ -21227,7 +22197,7 @@ "cimguiname": "igImFontAtlasBuildFinish", "defaults": {}, "funcname": "ImFontAtlasBuildFinish", - "location": "imgui_internal:3111", + "location": "imgui_internal:3488", "ov_cimguiname": "igImFontAtlasBuildFinish", "ret": "void", "signature": "(ImFontAtlas*)", @@ -21248,7 +22218,7 @@ "cimguiname": "igImFontAtlasBuildInit", "defaults": {}, "funcname": "ImFontAtlasBuildInit", - "location": "imgui_internal:3108", + "location": "imgui_internal:3485", "ov_cimguiname": "igImFontAtlasBuildInit", "ret": "void", "signature": "(ImFontAtlas*)", @@ -21273,7 +22243,7 @@ "cimguiname": "igImFontAtlasBuildMultiplyCalcLookupTable", "defaults": {}, "funcname": "ImFontAtlasBuildMultiplyCalcLookupTable", - "location": "imgui_internal:3114", + "location": "imgui_internal:3491", "ov_cimguiname": "igImFontAtlasBuildMultiplyCalcLookupTable", "ret": "void", "signature": "(unsigned char[256],float)", @@ -21318,7 +22288,7 @@ "cimguiname": "igImFontAtlasBuildMultiplyRectAlpha8", "defaults": {}, "funcname": "ImFontAtlasBuildMultiplyRectAlpha8", - "location": "imgui_internal:3115", + "location": "imgui_internal:3492", "ov_cimguiname": "igImFontAtlasBuildMultiplyRectAlpha8", "ret": "void", "signature": "(const unsigned char[256],unsigned char*,int,int,int,int,int)", @@ -21343,7 +22313,7 @@ "cimguiname": "igImFontAtlasBuildPackCustomRects", "defaults": {}, "funcname": "ImFontAtlasBuildPackCustomRects", - "location": "imgui_internal:3110", + "location": "imgui_internal:3487", "ov_cimguiname": "igImFontAtlasBuildPackCustomRects", "ret": "void", "signature": "(ImFontAtlas*,void*)", @@ -21392,7 +22362,7 @@ "cimguiname": "igImFontAtlasBuildRender32bppRectFromString", "defaults": {}, "funcname": "ImFontAtlasBuildRender32bppRectFromString", - "location": "imgui_internal:3113", + "location": "imgui_internal:3490", "ov_cimguiname": "igImFontAtlasBuildRender32bppRectFromString", "ret": "void", "signature": "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned int)", @@ -21441,7 +22411,7 @@ "cimguiname": "igImFontAtlasBuildRender8bppRectFromString", "defaults": {}, "funcname": "ImFontAtlasBuildRender8bppRectFromString", - "location": "imgui_internal:3112", + "location": "imgui_internal:3489", "ov_cimguiname": "igImFontAtlasBuildRender8bppRectFromString", "ret": "void", "signature": "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned char)", @@ -21478,7 +22448,7 @@ "cimguiname": "igImFontAtlasBuildSetupFont", "defaults": {}, "funcname": "ImFontAtlasBuildSetupFont", - "location": "imgui_internal:3109", + "location": "imgui_internal:3486", "ov_cimguiname": "igImFontAtlasBuildSetupFont", "ret": "void", "signature": "(ImFontAtlas*,ImFont*,ImFontConfig*,float,float)", @@ -21494,7 +22464,7 @@ "cimguiname": "igImFontAtlasGetBuilderForStbTruetype", "defaults": {}, "funcname": "ImFontAtlasGetBuilderForStbTruetype", - "location": "imgui_internal:3107", + "location": "imgui_internal:3483", "ov_cimguiname": "igImFontAtlasGetBuilderForStbTruetype", "ret": "const ImFontBuilderIO*", "signature": "()", @@ -21528,13 +22498,80 @@ "defaults": {}, "funcname": "ImFormatString", "isvararg": "...)", - "location": "imgui_internal:342", + "location": "imgui_internal:361", "ov_cimguiname": "igImFormatString", "ret": "int", "signature": "(char*,size_t,const char*,...)", "stname": "" } ], + "igImFormatStringToTempBuffer": [ + { + "args": "(const char** out_buf,const char** out_buf_end,const char* fmt,...)", + "argsT": [ + { + "name": "out_buf", + "type": "const char**" + }, + { + "name": "out_buf_end", + "type": "const char**" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "...", + "type": "..." + } + ], + "argsoriginal": "(const char** out_buf,const char** out_buf_end,const char* fmt,...)", + "call_args": "(out_buf,out_buf_end,fmt,...)", + "cimguiname": "igImFormatStringToTempBuffer", + "defaults": {}, + "funcname": "ImFormatStringToTempBuffer", + "isvararg": "...)", + "location": "imgui_internal:363", + "ov_cimguiname": "igImFormatStringToTempBuffer", + "ret": "void", + "signature": "(const char**,const char**,const char*,...)", + "stname": "" + } + ], + "igImFormatStringToTempBufferV": [ + { + "args": "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)", + "argsT": [ + { + "name": "out_buf", + "type": "const char**" + }, + { + "name": "out_buf_end", + "type": "const char**" + }, + { + "name": "fmt", + "type": "const char*" + }, + { + "name": "args", + "type": "va_list" + } + ], + "argsoriginal": "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)", + "call_args": "(out_buf,out_buf_end,fmt,args)", + "cimguiname": "igImFormatStringToTempBufferV", + "defaults": {}, + "funcname": "ImFormatStringToTempBufferV", + "location": "imgui_internal:364", + "ov_cimguiname": "igImFormatStringToTempBufferV", + "ret": "void", + "signature": "(const char**,const char**,const char*,va_list)", + "stname": "" + } + ], "igImFormatStringV": [ { "args": "(char* buf,size_t buf_size,const char* fmt,va_list args)", @@ -21561,7 +22598,7 @@ "cimguiname": "igImFormatStringV", "defaults": {}, "funcname": "ImFormatStringV", - "location": "imgui_internal:343", + "location": "imgui_internal:362", "ov_cimguiname": "igImFormatStringV", "ret": "int", "signature": "(char*,size_t,const char*,va_list)", @@ -21586,7 +22623,7 @@ "cimguiname": "igImGetDirQuadrantFromDelta", "defaults": {}, "funcname": "ImGetDirQuadrantFromDelta", - "location": "imgui_internal:476", + "location": "imgui_internal:498", "ov_cimguiname": "igImGetDirQuadrantFromDelta", "ret": "ImGuiDir", "signature": "(float,float)", @@ -21617,7 +22654,7 @@ "seed": "0" }, "funcname": "ImHashData", - "location": "imgui_internal:310", + "location": "imgui_internal:325", "ov_cimguiname": "igImHashData", "ret": "ImGuiID", "signature": "(const void*,size_t,ImU32)", @@ -21649,7 +22686,7 @@ "seed": "0" }, "funcname": "ImHashStr", - "location": "imgui_internal:311", + "location": "imgui_internal:326", "ov_cimguiname": "igImHashStr", "ret": "ImGuiID", "signature": "(const char*,size_t,ImU32)", @@ -21674,7 +22711,7 @@ "cimguiname": "igImInvLength", "defaults": {}, "funcname": "ImInvLength", - "location": "imgui_internal:454", + "location": "imgui_internal:475", "ov_cimguiname": "igImInvLength", "ret": "float", "signature": "(const ImVec2,float)", @@ -21695,7 +22732,7 @@ "cimguiname": "igImIsFloatAboveGuaranteedIntegerPrecision", "defaults": {}, "funcname": "ImIsFloatAboveGuaranteedIntegerPrecision", - "location": "imgui_internal:463", + "location": "imgui_internal:485", "ov_cimguiname": "igImIsFloatAboveGuaranteedIntegerPrecision", "ret": "bool", "signature": "(float)", @@ -21716,8 +22753,8 @@ "cimguiname": "igImIsPowerOfTwo", "defaults": {}, "funcname": "ImIsPowerOfTwo", - "location": "imgui_internal:325", - "ov_cimguiname": "igImIsPowerOfTwoInt", + "location": "imgui_internal:337", + "ov_cimguiname": "igImIsPowerOfTwo_Int", "ret": "bool", "signature": "(int)", "stname": "" @@ -21735,8 +22772,8 @@ "cimguiname": "igImIsPowerOfTwo", "defaults": {}, "funcname": "ImIsPowerOfTwo", - "location": "imgui_internal:326", - "ov_cimguiname": "igImIsPowerOfTwoU64", + "location": "imgui_internal:338", + "ov_cimguiname": "igImIsPowerOfTwo_U64", "ret": "bool", "signature": "(ImU64)", "stname": "" @@ -21756,8 +22793,8 @@ "cimguiname": "igImLengthSqr", "defaults": {}, "funcname": "ImLengthSqr", - "location": "imgui_internal:452", - "ov_cimguiname": "igImLengthSqrVec2", + "location": "imgui_internal:473", + "ov_cimguiname": "igImLengthSqr_Vec2", "ret": "float", "signature": "(const ImVec2)", "stname": "" @@ -21775,8 +22812,8 @@ "cimguiname": "igImLengthSqr", "defaults": {}, "funcname": "ImLengthSqr", - "location": "imgui_internal:453", - "ov_cimguiname": "igImLengthSqrVec4", + "location": "imgui_internal:474", + "ov_cimguiname": "igImLengthSqr_Vec4", "ret": "float", "signature": "(const ImVec4)", "stname": "" @@ -21808,9 +22845,9 @@ "cimguiname": "igImLerp", "defaults": {}, "funcname": "ImLerp", - "location": "imgui_internal:448", + "location": "imgui_internal:469", "nonUDT": 1, - "ov_cimguiname": "igImLerpVec2Float", + "ov_cimguiname": "igImLerp_Vec2Float", "ret": "void", "signature": "(const ImVec2,const ImVec2,float)", "stname": "" @@ -21840,9 +22877,9 @@ "cimguiname": "igImLerp", "defaults": {}, "funcname": "ImLerp", - "location": "imgui_internal:449", + "location": "imgui_internal:470", "nonUDT": 1, - "ov_cimguiname": "igImLerpVec2Vec2", + "ov_cimguiname": "igImLerp_Vec2Vec2", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2)", "stname": "" @@ -21872,9 +22909,9 @@ "cimguiname": "igImLerp", "defaults": {}, "funcname": "ImLerp", - "location": "imgui_internal:450", + "location": "imgui_internal:471", "nonUDT": 1, - "ov_cimguiname": "igImLerpVec4", + "ov_cimguiname": "igImLerp_Vec4", "ret": "void", "signature": "(const ImVec4,const ImVec4,float)", "stname": "" @@ -21906,7 +22943,7 @@ "cimguiname": "igImLineClosestPoint", "defaults": {}, "funcname": "ImLineClosestPoint", - "location": "imgui_internal:471", + "location": "imgui_internal:493", "nonUDT": 1, "ov_cimguiname": "igImLineClosestPoint", "ret": "void", @@ -21936,7 +22973,7 @@ "cimguiname": "igImLinearSweep", "defaults": {}, "funcname": "ImLinearSweep", - "location": "imgui_internal:461", + "location": "imgui_internal:483", "ov_cimguiname": "igImLinearSweep", "ret": "float", "signature": "(float,float,float)", @@ -21957,8 +22994,8 @@ "cimguiname": "igImLog", "defaults": {}, "funcname": "ImLog", - "location": "imgui_internal:421", - "ov_cimguiname": "igImLogFloat", + "location": "imgui_internal:442", + "ov_cimguiname": "igImLog_Float", "ret": "float", "signature": "(float)", "stname": "" @@ -21976,8 +23013,8 @@ "cimguiname": "igImLog", "defaults": {}, "funcname": "ImLog", - "location": "imgui_internal:422", - "ov_cimguiname": "igImLogdouble", + "location": "imgui_internal:443", + "ov_cimguiname": "igImLog_double", "ret": "double", "signature": "(double)", "stname": "" @@ -22005,7 +23042,7 @@ "cimguiname": "igImMax", "defaults": {}, "funcname": "ImMax", - "location": "imgui_internal:446", + "location": "imgui_internal:467", "nonUDT": 1, "ov_cimguiname": "igImMax", "ret": "void", @@ -22035,7 +23072,7 @@ "cimguiname": "igImMin", "defaults": {}, "funcname": "ImMin", - "location": "imgui_internal:445", + "location": "imgui_internal:466", "nonUDT": 1, "ov_cimguiname": "igImMin", "ret": "void", @@ -22061,7 +23098,7 @@ "cimguiname": "igImModPositive", "defaults": {}, "funcname": "ImModPositive", - "location": "imgui_internal:458", + "location": "imgui_internal:480", "ov_cimguiname": "igImModPositive", "ret": "int", "signature": "(int,int)", @@ -22090,7 +23127,7 @@ "cimguiname": "igImMul", "defaults": {}, "funcname": "ImMul", - "location": "imgui_internal:462", + "location": "imgui_internal:484", "nonUDT": 1, "ov_cimguiname": "igImMul", "ret": "void", @@ -22112,7 +23149,7 @@ "cimguiname": "igImParseFormatFindEnd", "defaults": {}, "funcname": "ImParseFormatFindEnd", - "location": "imgui_internal:345", + "location": "imgui_internal:366", "ov_cimguiname": "igImParseFormatFindEnd", "ret": "const char*", "signature": "(const char*)", @@ -22133,7 +23170,7 @@ "cimguiname": "igImParseFormatFindStart", "defaults": {}, "funcname": "ImParseFormatFindStart", - "location": "imgui_internal:344", + "location": "imgui_internal:365", "ov_cimguiname": "igImParseFormatFindStart", "ret": "const char*", "signature": "(const char*)", @@ -22158,13 +23195,71 @@ "cimguiname": "igImParseFormatPrecision", "defaults": {}, "funcname": "ImParseFormatPrecision", - "location": "imgui_internal:347", + "location": "imgui_internal:370", "ov_cimguiname": "igImParseFormatPrecision", "ret": "int", "signature": "(const char*,int)", "stname": "" } ], + "igImParseFormatSanitizeForPrinting": [ + { + "args": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "argsT": [ + { + "name": "fmt_in", + "type": "const char*" + }, + { + "name": "fmt_out", + "type": "char*" + }, + { + "name": "fmt_out_size", + "type": "size_t" + } + ], + "argsoriginal": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "call_args": "(fmt_in,fmt_out,fmt_out_size)", + "cimguiname": "igImParseFormatSanitizeForPrinting", + "defaults": {}, + "funcname": "ImParseFormatSanitizeForPrinting", + "location": "imgui_internal:368", + "ov_cimguiname": "igImParseFormatSanitizeForPrinting", + "ret": "void", + "signature": "(const char*,char*,size_t)", + "stname": "" + } + ], + "igImParseFormatSanitizeForScanning": [ + { + "args": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "argsT": [ + { + "name": "fmt_in", + "type": "const char*" + }, + { + "name": "fmt_out", + "type": "char*" + }, + { + "name": "fmt_out_size", + "type": "size_t" + } + ], + "argsoriginal": "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)", + "call_args": "(fmt_in,fmt_out,fmt_out_size)", + "cimguiname": "igImParseFormatSanitizeForScanning", + "defaults": {}, + "funcname": "ImParseFormatSanitizeForScanning", + "location": "imgui_internal:369", + "ov_cimguiname": "igImParseFormatSanitizeForScanning", + "ret": "const char*", + "signature": "(const char*,char*,size_t)", + "stname": "" + } + ], "igImParseFormatTrimDecorations": [ { "args": "(const char* format,char* buf,size_t buf_size)", @@ -22187,7 +23282,7 @@ "cimguiname": "igImParseFormatTrimDecorations", "defaults": {}, "funcname": "ImParseFormatTrimDecorations", - "location": "imgui_internal:346", + "location": "imgui_internal:367", "ov_cimguiname": "igImParseFormatTrimDecorations", "ret": "const char*", "signature": "(const char*,char*,size_t)", @@ -22212,8 +23307,8 @@ "cimguiname": "igImPow", "defaults": {}, "funcname": "ImPow", - "location": "imgui_internal:419", - "ov_cimguiname": "igImPowFloat", + "location": "imgui_internal:440", + "ov_cimguiname": "igImPow_Float", "ret": "float", "signature": "(float,float)", "stname": "" @@ -22235,8 +23330,8 @@ "cimguiname": "igImPow", "defaults": {}, "funcname": "ImPow", - "location": "imgui_internal:420", - "ov_cimguiname": "igImPowdouble", + "location": "imgui_internal:441", + "ov_cimguiname": "igImPow_double", "ret": "double", "signature": "(double,double)", "stname": "" @@ -22270,7 +23365,7 @@ "cimguiname": "igImQsort", "defaults": {}, "funcname": "ImQsort", - "location": "imgui_internal:318", + "location": "imgui_internal:330", "ov_cimguiname": "igImQsort", "ret": "void", "signature": "(void*,size_t,size_t,int(*)(void const*,void const*))", @@ -22303,7 +23398,7 @@ "cimguiname": "igImRotate", "defaults": {}, "funcname": "ImRotate", - "location": "imgui_internal:460", + "location": "imgui_internal:482", "nonUDT": 1, "ov_cimguiname": "igImRotate", "ret": "void", @@ -22325,8 +23420,8 @@ "cimguiname": "igImRsqrt", "defaults": {}, "funcname": "ImRsqrt", - "location": "imgui_internal:429", - "ov_cimguiname": "igImRsqrtFloat", + "location": "imgui_internal:450", + "ov_cimguiname": "igImRsqrt_Float", "ret": "float", "signature": "(float)", "stname": "" @@ -22344,8 +23439,8 @@ "cimguiname": "igImRsqrt", "defaults": {}, "funcname": "ImRsqrt", - "location": "imgui_internal:433", - "ov_cimguiname": "igImRsqrtdouble", + "location": "imgui_internal:454", + "ov_cimguiname": "igImRsqrt_double", "ret": "double", "signature": "(double)", "stname": "" @@ -22365,7 +23460,7 @@ "cimguiname": "igImSaturate", "defaults": {}, "funcname": "ImSaturate", - "location": "imgui_internal:451", + "location": "imgui_internal:472", "ov_cimguiname": "igImSaturate", "ret": "float", "signature": "(float)", @@ -22386,8 +23481,8 @@ "cimguiname": "igImSign", "defaults": {}, "funcname": "ImSign", - "location": "imgui_internal:426", - "ov_cimguiname": "igImSignFloat", + "location": "imgui_internal:447", + "ov_cimguiname": "igImSign_Float", "ret": "float", "signature": "(float)", "stname": "" @@ -22405,8 +23500,8 @@ "cimguiname": "igImSign", "defaults": {}, "funcname": "ImSign", - "location": "imgui_internal:427", - "ov_cimguiname": "igImSigndouble", + "location": "imgui_internal:448", + "ov_cimguiname": "igImSign_double", "ret": "double", "signature": "(double)", "stname": "" @@ -22426,7 +23521,7 @@ "cimguiname": "igImStrSkipBlank", "defaults": {}, "funcname": "ImStrSkipBlank", - "location": "imgui_internal:341", + "location": "imgui_internal:353", "ov_cimguiname": "igImStrSkipBlank", "ret": "const char*", "signature": "(const char*)", @@ -22447,7 +23542,7 @@ "cimguiname": "igImStrTrimBlanks", "defaults": {}, "funcname": "ImStrTrimBlanks", - "location": "imgui_internal:340", + "location": "imgui_internal:352", "ov_cimguiname": "igImStrTrimBlanks", "ret": "void", "signature": "(char*)", @@ -22472,7 +23567,7 @@ "cimguiname": "igImStrbolW", "defaults": {}, "funcname": "ImStrbolW", - "location": "imgui_internal:338", + "location": "imgui_internal:350", "ov_cimguiname": "igImStrbolW", "ret": "const ImWchar*", "signature": "(const ImWchar*,const ImWchar*)", @@ -22501,7 +23596,7 @@ "cimguiname": "igImStrchrRange", "defaults": {}, "funcname": "ImStrchrRange", - "location": "imgui_internal:335", + "location": "imgui_internal:347", "ov_cimguiname": "igImStrchrRange", "ret": "const char*", "signature": "(const char*,const char*,char)", @@ -22522,7 +23617,7 @@ "cimguiname": "igImStrdup", "defaults": {}, "funcname": "ImStrdup", - "location": "imgui_internal:333", + "location": "imgui_internal:345", "ov_cimguiname": "igImStrdup", "ret": "char*", "signature": "(const char*)", @@ -22551,7 +23646,7 @@ "cimguiname": "igImStrdupcpy", "defaults": {}, "funcname": "ImStrdupcpy", - "location": "imgui_internal:334", + "location": "imgui_internal:346", "ov_cimguiname": "igImStrdupcpy", "ret": "char*", "signature": "(char*,size_t*,const char*)", @@ -22576,7 +23671,7 @@ "cimguiname": "igImStreolRange", "defaults": {}, "funcname": "ImStreolRange", - "location": "imgui_internal:337", + "location": "imgui_internal:349", "ov_cimguiname": "igImStreolRange", "ret": "const char*", "signature": "(const char*,const char*)", @@ -22601,7 +23696,7 @@ "cimguiname": "igImStricmp", "defaults": {}, "funcname": "ImStricmp", - "location": "imgui_internal:330", + "location": "imgui_internal:342", "ov_cimguiname": "igImStricmp", "ret": "int", "signature": "(const char*,const char*)", @@ -22634,7 +23729,7 @@ "cimguiname": "igImStristr", "defaults": {}, "funcname": "ImStristr", - "location": "imgui_internal:339", + "location": "imgui_internal:351", "ov_cimguiname": "igImStristr", "ret": "const char*", "signature": "(const char*,const char*,const char*,const char*)", @@ -22655,7 +23750,7 @@ "cimguiname": "igImStrlenW", "defaults": {}, "funcname": "ImStrlenW", - "location": "imgui_internal:336", + "location": "imgui_internal:348", "ov_cimguiname": "igImStrlenW", "ret": "int", "signature": "(const ImWchar*)", @@ -22684,7 +23779,7 @@ "cimguiname": "igImStrncpy", "defaults": {}, "funcname": "ImStrncpy", - "location": "imgui_internal:332", + "location": "imgui_internal:344", "ov_cimguiname": "igImStrncpy", "ret": "void", "signature": "(char*,const char*,size_t)", @@ -22713,7 +23808,7 @@ "cimguiname": "igImStrnicmp", "defaults": {}, "funcname": "ImStrnicmp", - "location": "imgui_internal:331", + "location": "imgui_internal:343", "ov_cimguiname": "igImStrnicmp", "ret": "int", "signature": "(const char*,const char*,size_t)", @@ -22742,7 +23837,7 @@ "cimguiname": "igImTextCharFromUtf8", "defaults": {}, "funcname": "ImTextCharFromUtf8", - "location": "imgui_internal:354", + "location": "imgui_internal:375", "ov_cimguiname": "igImTextCharFromUtf8", "ret": "int", "signature": "(unsigned int*,const char*,const char*)", @@ -22767,7 +23862,7 @@ "cimguiname": "igImTextCharToUtf8", "defaults": {}, "funcname": "ImTextCharToUtf8", - "location": "imgui_internal:352", + "location": "imgui_internal:373", "ov_cimguiname": "igImTextCharToUtf8", "ret": "const char*", "signature": "(char[5],unsigned int)", @@ -22792,7 +23887,7 @@ "cimguiname": "igImTextCountCharsFromUtf8", "defaults": {}, "funcname": "ImTextCountCharsFromUtf8", - "location": "imgui_internal:356", + "location": "imgui_internal:377", "ov_cimguiname": "igImTextCountCharsFromUtf8", "ret": "int", "signature": "(const char*,const char*)", @@ -22817,7 +23912,7 @@ "cimguiname": "igImTextCountUtf8BytesFromChar", "defaults": {}, "funcname": "ImTextCountUtf8BytesFromChar", - "location": "imgui_internal:357", + "location": "imgui_internal:378", "ov_cimguiname": "igImTextCountUtf8BytesFromChar", "ret": "int", "signature": "(const char*,const char*)", @@ -22842,7 +23937,7 @@ "cimguiname": "igImTextCountUtf8BytesFromStr", "defaults": {}, "funcname": "ImTextCountUtf8BytesFromStr", - "location": "imgui_internal:358", + "location": "imgui_internal:379", "ov_cimguiname": "igImTextCountUtf8BytesFromStr", "ret": "int", "signature": "(const ImWchar*,const ImWchar*)", @@ -22881,7 +23976,7 @@ "in_remaining": "NULL" }, "funcname": "ImTextStrFromUtf8", - "location": "imgui_internal:355", + "location": "imgui_internal:376", "ov_cimguiname": "igImTextStrFromUtf8", "ret": "int", "signature": "(ImWchar*,int,const char*,const char*,const char**)", @@ -22914,13 +24009,34 @@ "cimguiname": "igImTextStrToUtf8", "defaults": {}, "funcname": "ImTextStrToUtf8", - "location": "imgui_internal:353", + "location": "imgui_internal:374", "ov_cimguiname": "igImTextStrToUtf8", "ret": "int", "signature": "(char*,int,const ImWchar*,const ImWchar*)", "stname": "" } ], + "igImToUpper": [ + { + "args": "(char c)", + "argsT": [ + { + "name": "c", + "type": "char" + } + ], + "argsoriginal": "(char c)", + "call_args": "(c)", + "cimguiname": "igImToUpper", + "defaults": {}, + "funcname": "ImToUpper", + "location": "imgui_internal:355", + "ov_cimguiname": "igImToUpper", + "ret": "char", + "signature": "(char)", + "stname": "" + } + ], "igImTriangleArea": [ { "args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c)", @@ -22943,7 +24059,7 @@ "cimguiname": "igImTriangleArea", "defaults": {}, "funcname": "ImTriangleArea", - "location": "imgui_internal:475", + "location": "imgui_internal:497", "ov_cimguiname": "igImTriangleArea", "ret": "float", "signature": "(const ImVec2,const ImVec2,const ImVec2)", @@ -22991,7 +24107,7 @@ "cimguiname": "igImTriangleBarycentricCoords", "defaults": {}, "funcname": "ImTriangleBarycentricCoords", - "location": "imgui_internal:474", + "location": "imgui_internal:496", "ov_cimguiname": "igImTriangleBarycentricCoords", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,float*,float*,float*)", @@ -23028,7 +24144,7 @@ "cimguiname": "igImTriangleClosestPoint", "defaults": {}, "funcname": "ImTriangleClosestPoint", - "location": "imgui_internal:473", + "location": "imgui_internal:495", "nonUDT": 1, "ov_cimguiname": "igImTriangleClosestPoint", "ret": "void", @@ -23062,7 +24178,7 @@ "cimguiname": "igImTriangleContainsPoint", "defaults": {}, "funcname": "ImTriangleContainsPoint", - "location": "imgui_internal:472", + "location": "imgui_internal:494", "ov_cimguiname": "igImTriangleContainsPoint", "ret": "bool", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2)", @@ -23083,7 +24199,7 @@ "cimguiname": "igImUpperPowerOfTwo", "defaults": {}, "funcname": "ImUpperPowerOfTwo", - "location": "imgui_internal:327", + "location": "imgui_internal:339", "ov_cimguiname": "igImUpperPowerOfTwo", "ret": "int", "signature": "(int)", @@ -23129,7 +24245,7 @@ "uv1": "ImVec2(1,1)" }, "funcname": "Image", - "location": "imgui:516", + "location": "imgui:523", "namespace": "ImGui", "ov_cimguiname": "igImage", "ret": "void", @@ -23139,8 +24255,12 @@ ], "igImageButton": [ { - "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)", + "args": "(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)", "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, { "name": "user_texture_id", "type": "ImTextureID" @@ -23157,10 +24277,6 @@ "name": "uv1", "type": "const ImVec2" }, - { - "name": "frame_padding", - "type": "int" - }, { "name": "bg_col", "type": "const ImVec4" @@ -23170,28 +24286,27 @@ "type": "const ImVec4" } ], - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", - "call_args": "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)", + "argsoriginal": "(const char* str_id,ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", + "call_args": "(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col)", "cimguiname": "igImageButton", "defaults": { "bg_col": "ImVec4(0,0,0,0)", - "frame_padding": "-1", "tint_col": "ImVec4(1,1,1,1)", "uv0": "ImVec2(0,0)", "uv1": "ImVec2(1,1)" }, "funcname": "ImageButton", - "location": "imgui:517", + "location": "imgui:524", "namespace": "ImGui", "ov_cimguiname": "igImageButton", "ret": "bool", - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)", + "signature": "(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", "stname": "" } ], "igImageButtonEx": [ { - "args": "(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col)", + "args": "(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)", "argsT": [ { "name": "id", @@ -23213,10 +24328,6 @@ "name": "uv1", "type": "const ImVec2" }, - { - "name": "padding", - "type": "const ImVec2" - }, { "name": "bg_col", "type": "const ImVec4" @@ -23226,16 +24337,16 @@ "type": "const ImVec4" } ], - "argsoriginal": "(ImGuiID id,ImTextureID texture_id,const ImVec2& size,const ImVec2& uv0,const ImVec2& uv1,const ImVec2& padding,const ImVec4& bg_col,const ImVec4& tint_col)", - "call_args": "(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col)", + "argsoriginal": "(ImGuiID id,ImTextureID texture_id,const ImVec2& size,const ImVec2& uv0,const ImVec2& uv1,const ImVec4& bg_col,const ImVec4& tint_col)", + "call_args": "(id,texture_id,size,uv0,uv1,bg_col,tint_col)", "cimguiname": "igImageButtonEx", "defaults": {}, "funcname": "ImageButtonEx", - "location": "imgui_internal:3009", + "location": "imgui_internal:3357", "namespace": "ImGui", "ov_cimguiname": "igImageButtonEx", "ret": "bool", - "signature": "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", + "signature": "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", "stname": "" } ], @@ -23255,7 +24366,7 @@ "indent_w": "0.0f" }, "funcname": "Indent", - "location": "imgui:455", + "location": "imgui:452", "namespace": "ImGui", "ov_cimguiname": "igIndent", "ret": "void", @@ -23265,23 +24376,18 @@ ], "igInitialize": [ { - "args": "(ImGuiContext* context)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* context)", - "call_args": "(context)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", "cimguiname": "igInitialize", "defaults": {}, "funcname": "Initialize", - "location": "imgui_internal:2677", + "location": "imgui_internal:2965", "namespace": "ImGui", "ov_cimguiname": "igInitialize", "ret": "void", - "signature": "(ImGuiContext*)", + "signature": "()", "stname": "" } ], @@ -23324,7 +24430,7 @@ "step_fast": "0.0" }, "funcname": "InputDouble", - "location": "imgui:594", + "location": "imgui:595", "namespace": "ImGui", "ov_cimguiname": "igInputDouble", "ret": "bool", @@ -23371,7 +24477,7 @@ "step_fast": "0.0f" }, "funcname": "InputFloat", - "location": "imgui:586", + "location": "imgui:587", "namespace": "ImGui", "ov_cimguiname": "igInputFloat", "ret": "bool", @@ -23408,7 +24514,7 @@ "format": "\"%.3f\"" }, "funcname": "InputFloat2", - "location": "imgui:587", + "location": "imgui:588", "namespace": "ImGui", "ov_cimguiname": "igInputFloat2", "ret": "bool", @@ -23445,7 +24551,7 @@ "format": "\"%.3f\"" }, "funcname": "InputFloat3", - "location": "imgui:588", + "location": "imgui:589", "namespace": "ImGui", "ov_cimguiname": "igInputFloat3", "ret": "bool", @@ -23482,7 +24588,7 @@ "format": "\"%.3f\"" }, "funcname": "InputFloat4", - "location": "imgui:589", + "location": "imgui:590", "namespace": "ImGui", "ov_cimguiname": "igInputFloat4", "ret": "bool", @@ -23524,7 +24630,7 @@ "step_fast": "100" }, "funcname": "InputInt", - "location": "imgui:590", + "location": "imgui:591", "namespace": "ImGui", "ov_cimguiname": "igInputInt", "ret": "bool", @@ -23556,7 +24662,7 @@ "flags": "0" }, "funcname": "InputInt2", - "location": "imgui:591", + "location": "imgui:592", "namespace": "ImGui", "ov_cimguiname": "igInputInt2", "ret": "bool", @@ -23588,7 +24694,7 @@ "flags": "0" }, "funcname": "InputInt3", - "location": "imgui:592", + "location": "imgui:593", "namespace": "ImGui", "ov_cimguiname": "igInputInt3", "ret": "bool", @@ -23620,7 +24726,7 @@ "flags": "0" }, "funcname": "InputInt4", - "location": "imgui:593", + "location": "imgui:594", "namespace": "ImGui", "ov_cimguiname": "igInputInt4", "ret": "bool", @@ -23671,7 +24777,7 @@ "p_step_fast": "NULL" }, "funcname": "InputScalar", - "location": "imgui:595", + "location": "imgui:596", "namespace": "ImGui", "ov_cimguiname": "igInputScalar", "ret": "bool", @@ -23726,7 +24832,7 @@ "p_step_fast": "NULL" }, "funcname": "InputScalarN", - "location": "imgui:596", + "location": "imgui:597", "namespace": "ImGui", "ov_cimguiname": "igInputScalarN", "ret": "bool", @@ -23772,7 +24878,7 @@ "user_data": "NULL" }, "funcname": "InputText", - "location": "imgui:583", + "location": "imgui:584", "namespace": "ImGui", "ov_cimguiname": "igInputText", "ret": "bool", @@ -23825,7 +24931,7 @@ "user_data": "NULL" }, "funcname": "InputTextEx", - "location": "imgui_internal:3046", + "location": "imgui_internal:3395", "namespace": "ImGui", "ov_cimguiname": "igInputTextEx", "ret": "bool", @@ -23876,7 +24982,7 @@ "user_data": "NULL" }, "funcname": "InputTextMultiline", - "location": "imgui:584", + "location": "imgui:585", "namespace": "ImGui", "ov_cimguiname": "igInputTextMultiline", "ret": "bool", @@ -23926,7 +25032,7 @@ "user_data": "NULL" }, "funcname": "InputTextWithHint", - "location": "imgui:585", + "location": "imgui:586", "namespace": "ImGui", "ov_cimguiname": "igInputTextWithHint", "ret": "bool", @@ -23958,7 +25064,7 @@ "flags": "0" }, "funcname": "InvisibleButton", - "location": "imgui:514", + "location": "imgui:511", "namespace": "ImGui", "ov_cimguiname": "igInvisibleButton", "ret": "bool", @@ -23966,28 +25072,6 @@ "stname": "" } ], - "igIsActiveIdUsingKey": [ - { - "args": "(ImGuiKey key)", - "argsT": [ - { - "name": "key", - "type": "ImGuiKey" - } - ], - "argsoriginal": "(ImGuiKey key)", - "call_args": "(key)", - "cimguiname": "igIsActiveIdUsingKey", - "defaults": {}, - "funcname": "IsActiveIdUsingKey", - "location": "imgui_internal:2829", - "namespace": "ImGui", - "ov_cimguiname": "igIsActiveIdUsingKey", - "ret": "bool", - "signature": "(ImGuiKey)", - "stname": "" - } - ], "igIsActiveIdUsingNavDir": [ { "args": "(ImGuiDir dir)", @@ -24002,7 +25086,7 @@ "cimguiname": "igIsActiveIdUsingNavDir", "defaults": {}, "funcname": "IsActiveIdUsingNavDir", - "location": "imgui_internal:2827", + "location": "imgui_internal:3125", "namespace": "ImGui", "ov_cimguiname": "igIsActiveIdUsingNavDir", "ret": "bool", @@ -24010,25 +25094,25 @@ "stname": "" } ], - "igIsActiveIdUsingNavInput": [ + "igIsAliasKey": [ { - "args": "(ImGuiNavInput input)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "input", - "type": "ImGuiNavInput" + "name": "key", + "type": "ImGuiKey" } ], - "argsoriginal": "(ImGuiNavInput input)", - "call_args": "(input)", - "cimguiname": "igIsActiveIdUsingNavInput", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsAliasKey", "defaults": {}, - "funcname": "IsActiveIdUsingNavInput", - "location": "imgui_internal:2828", + "funcname": "IsAliasKey", + "location": "imgui_internal:3106", "namespace": "ImGui", - "ov_cimguiname": "igIsActiveIdUsingNavInput", + "ov_cimguiname": "igIsAliasKey", "ret": "bool", - "signature": "(ImGuiNavInput)", + "signature": "(ImGuiKey)", "stname": "" } ], @@ -24041,7 +25125,7 @@ "cimguiname": "igIsAnyItemActive", "defaults": {}, "funcname": "IsAnyItemActive", - "location": "imgui:879", + "location": "imgui:876", "namespace": "ImGui", "ov_cimguiname": "igIsAnyItemActive", "ret": "bool", @@ -24058,7 +25142,7 @@ "cimguiname": "igIsAnyItemFocused", "defaults": {}, "funcname": "IsAnyItemFocused", - "location": "imgui:880", + "location": "imgui:877", "namespace": "ImGui", "ov_cimguiname": "igIsAnyItemFocused", "ret": "bool", @@ -24075,7 +25159,7 @@ "cimguiname": "igIsAnyItemHovered", "defaults": {}, "funcname": "IsAnyItemHovered", - "location": "imgui:878", + "location": "imgui:875", "namespace": "ImGui", "ov_cimguiname": "igIsAnyItemHovered", "ret": "bool", @@ -24092,7 +25176,7 @@ "cimguiname": "igIsAnyMouseDown", "defaults": {}, "funcname": "IsAnyMouseDown", - "location": "imgui:938", + "location": "imgui:940", "namespace": "ImGui", "ov_cimguiname": "igIsAnyMouseDown", "ret": "bool", @@ -24118,7 +25202,7 @@ "cimguiname": "igIsClippedEx", "defaults": {}, "funcname": "IsClippedEx", - "location": "imgui_internal:2744", + "location": "imgui_internal:3040", "namespace": "ImGui", "ov_cimguiname": "igIsClippedEx", "ret": "bool", @@ -24126,6 +25210,23 @@ "stname": "" } ], + "igIsDragDropActive": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igIsDragDropActive", + "defaults": {}, + "funcname": "IsDragDropActive", + "location": "imgui_internal:3237", + "namespace": "ImGui", + "ov_cimguiname": "igIsDragDropActive", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], "igIsDragDropPayloadBeingAccepted": [ { "args": "()", @@ -24135,7 +25236,7 @@ "cimguiname": "igIsDragDropPayloadBeingAccepted", "defaults": {}, "funcname": "IsDragDropPayloadBeingAccepted", - "location": "imgui_internal:2890", + "location": "imgui_internal:3240", "namespace": "ImGui", "ov_cimguiname": "igIsDragDropPayloadBeingAccepted", "ret": "bool", @@ -24143,6 +25244,28 @@ "stname": "" } ], + "igIsGamepadKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsGamepadKey", + "defaults": {}, + "funcname": "IsGamepadKey", + "location": "imgui_internal:3104", + "namespace": "ImGui", + "ov_cimguiname": "igIsGamepadKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], "igIsItemActivated": [ { "args": "()", @@ -24152,7 +25275,7 @@ "cimguiname": "igIsItemActivated", "defaults": {}, "funcname": "IsItemActivated", - "location": "imgui:874", + "location": "imgui:871", "namespace": "ImGui", "ov_cimguiname": "igIsItemActivated", "ret": "bool", @@ -24169,7 +25292,7 @@ "cimguiname": "igIsItemActive", "defaults": {}, "funcname": "IsItemActive", - "location": "imgui:869", + "location": "imgui:866", "namespace": "ImGui", "ov_cimguiname": "igIsItemActive", "ret": "bool", @@ -24193,7 +25316,7 @@ "mouse_button": "0" }, "funcname": "IsItemClicked", - "location": "imgui:871", + "location": "imgui:868", "namespace": "ImGui", "ov_cimguiname": "igIsItemClicked", "ret": "bool", @@ -24210,7 +25333,7 @@ "cimguiname": "igIsItemDeactivated", "defaults": {}, "funcname": "IsItemDeactivated", - "location": "imgui:875", + "location": "imgui:872", "namespace": "ImGui", "ov_cimguiname": "igIsItemDeactivated", "ret": "bool", @@ -24227,7 +25350,7 @@ "cimguiname": "igIsItemDeactivatedAfterEdit", "defaults": {}, "funcname": "IsItemDeactivatedAfterEdit", - "location": "imgui:876", + "location": "imgui:873", "namespace": "ImGui", "ov_cimguiname": "igIsItemDeactivatedAfterEdit", "ret": "bool", @@ -24244,7 +25367,7 @@ "cimguiname": "igIsItemEdited", "defaults": {}, "funcname": "IsItemEdited", - "location": "imgui:873", + "location": "imgui:870", "namespace": "ImGui", "ov_cimguiname": "igIsItemEdited", "ret": "bool", @@ -24261,7 +25384,7 @@ "cimguiname": "igIsItemFocused", "defaults": {}, "funcname": "IsItemFocused", - "location": "imgui:870", + "location": "imgui:867", "namespace": "ImGui", "ov_cimguiname": "igIsItemFocused", "ret": "bool", @@ -24285,7 +25408,7 @@ "flags": "0" }, "funcname": "IsItemHovered", - "location": "imgui:868", + "location": "imgui:865", "namespace": "ImGui", "ov_cimguiname": "igIsItemHovered", "ret": "bool", @@ -24302,7 +25425,7 @@ "cimguiname": "igIsItemToggledOpen", "defaults": {}, "funcname": "IsItemToggledOpen", - "location": "imgui:877", + "location": "imgui:874", "namespace": "ImGui", "ov_cimguiname": "igIsItemToggledOpen", "ret": "bool", @@ -24319,7 +25442,7 @@ "cimguiname": "igIsItemToggledSelection", "defaults": {}, "funcname": "IsItemToggledSelection", - "location": "imgui_internal:2749", + "location": "imgui_internal:3045", "namespace": "ImGui", "ov_cimguiname": "igIsItemToggledSelection", "ret": "bool", @@ -24336,7 +25459,7 @@ "cimguiname": "igIsItemVisible", "defaults": {}, "funcname": "IsItemVisible", - "location": "imgui:872", + "location": "imgui:869", "namespace": "ImGui", "ov_cimguiname": "igIsItemVisible", "ret": "bool", @@ -24346,51 +25469,105 @@ ], "igIsKeyDown": [ { - "args": "(int user_key_index)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "user_key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" } ], - "argsoriginal": "(int user_key_index)", - "call_args": "(user_key_index)", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", "cimguiname": "igIsKeyDown", "defaults": {}, "funcname": "IsKeyDown", - "location": "imgui:921", + "location": "imgui:922", "namespace": "ImGui", - "ov_cimguiname": "igIsKeyDown", + "ov_cimguiname": "igIsKeyDown_Nil", "ret": "bool", - "signature": "(int)", + "signature": "(ImGuiKey)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", + "call_args": "(key,owner_id)", + "cimguiname": "igIsKeyDown", + "defaults": {}, + "funcname": "IsKeyDown", + "location": "imgui_internal:3150", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyDown_ID", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID)", "stname": "" } ], "igIsKeyPressed": [ { - "args": "(int user_key_index,bool repeat)", + "args": "(ImGuiKey key,bool repeat)", "argsT": [ { - "name": "user_key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" }, { "name": "repeat", "type": "bool" } ], - "argsoriginal": "(int user_key_index,bool repeat=true)", - "call_args": "(user_key_index,repeat)", + "argsoriginal": "(ImGuiKey key,bool repeat=true)", + "call_args": "(key,repeat)", "cimguiname": "igIsKeyPressed", "defaults": { "repeat": "true" }, "funcname": "IsKeyPressed", - "location": "imgui:922", + "location": "imgui:923", "namespace": "ImGui", - "ov_cimguiname": "igIsKeyPressed", + "ov_cimguiname": "igIsKeyPressed_Bool", "ret": "bool", - "signature": "(int,bool)", + "signature": "(ImGuiKey,bool)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)", + "call_args": "(key,owner_id,flags)", + "cimguiname": "igIsKeyPressed", + "defaults": { + "flags": "0" + }, + "funcname": "IsKeyPressed", + "location": "imgui_internal:3151", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyPressed_ID", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID,ImGuiInputFlags)", "stname": "" } ], @@ -24414,7 +25591,7 @@ "repeat": "true" }, "funcname": "IsKeyPressedMap", - "location": "imgui_internal:2831", + "location": "imgui_internal:3465", "namespace": "ImGui", "ov_cimguiname": "igIsKeyPressedMap", "ret": "bool", @@ -24424,23 +25601,91 @@ ], "igIsKeyReleased": [ { - "args": "(int user_key_index)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "user_key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" } ], - "argsoriginal": "(int user_key_index)", - "call_args": "(user_key_index)", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", "cimguiname": "igIsKeyReleased", "defaults": {}, "funcname": "IsKeyReleased", - "location": "imgui:923", + "location": "imgui:924", "namespace": "ImGui", - "ov_cimguiname": "igIsKeyReleased", + "ov_cimguiname": "igIsKeyReleased_Nil", "ret": "bool", - "signature": "(int)", + "signature": "(ImGuiKey)", + "stname": "" + }, + { + "args": "(ImGuiKey key,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", + "call_args": "(key,owner_id)", + "cimguiname": "igIsKeyReleased", + "defaults": {}, + "funcname": "IsKeyReleased", + "location": "imgui_internal:3152", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyReleased_ID", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID)", + "stname": "" + } + ], + "igIsKeyboardKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsKeyboardKey", + "defaults": {}, + "funcname": "IsKeyboardKey", + "location": "imgui_internal:3103", + "namespace": "ImGui", + "ov_cimguiname": "igIsKeyboardKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsLegacyKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsLegacyKey", + "defaults": {}, + "funcname": "IsLegacyKey", + "location": "imgui_internal:3102", + "namespace": "ImGui", + "ov_cimguiname": "igIsLegacyKey", + "ret": "bool", + "signature": "(ImGuiKey)", "stname": "" } ], @@ -24464,12 +25709,42 @@ "repeat": "false" }, "funcname": "IsMouseClicked", - "location": "imgui:932", + "location": "imgui:934", "namespace": "ImGui", - "ov_cimguiname": "igIsMouseClicked", + "ov_cimguiname": "igIsMouseClicked_Bool", "ret": "bool", "signature": "(ImGuiMouseButton,bool)", "stname": "" + }, + { + "args": "(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags=0)", + "call_args": "(button,owner_id,flags)", + "cimguiname": "igIsMouseClicked", + "defaults": { + "flags": "0" + }, + "funcname": "IsMouseClicked", + "location": "imgui_internal:3154", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseClicked_ID", + "ret": "bool", + "signature": "(ImGuiMouseButton,ImGuiID,ImGuiInputFlags)", + "stname": "" } ], "igIsMouseDoubleClicked": [ @@ -24486,7 +25761,7 @@ "cimguiname": "igIsMouseDoubleClicked", "defaults": {}, "funcname": "IsMouseDoubleClicked", - "location": "imgui:934", + "location": "imgui:936", "namespace": "ImGui", "ov_cimguiname": "igIsMouseDoubleClicked", "ret": "bool", @@ -24508,12 +25783,36 @@ "cimguiname": "igIsMouseDown", "defaults": {}, "funcname": "IsMouseDown", - "location": "imgui:931", + "location": "imgui:933", "namespace": "ImGui", - "ov_cimguiname": "igIsMouseDown", + "ov_cimguiname": "igIsMouseDown_Nil", "ret": "bool", "signature": "(ImGuiMouseButton)", "stname": "" + }, + { + "args": "(ImGuiMouseButton button,ImGuiID owner_id)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", + "call_args": "(button,owner_id)", + "cimguiname": "igIsMouseDown", + "defaults": {}, + "funcname": "IsMouseDown", + "location": "imgui_internal:3153", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseDown_ID", + "ret": "bool", + "signature": "(ImGuiMouseButton,ImGuiID)", + "stname": "" } ], "igIsMouseDragPastThreshold": [ @@ -24536,7 +25835,7 @@ "lock_threshold": "-1.0f" }, "funcname": "IsMouseDragPastThreshold", - "location": "imgui_internal:2830", + "location": "imgui_internal:3119", "namespace": "ImGui", "ov_cimguiname": "igIsMouseDragPastThreshold", "ret": "bool", @@ -24564,7 +25863,7 @@ "lock_threshold": "-1.0f" }, "funcname": "IsMouseDragging", - "location": "imgui:941", + "location": "imgui:943", "namespace": "ImGui", "ov_cimguiname": "igIsMouseDragging", "ret": "bool", @@ -24596,7 +25895,7 @@ "clip": "true" }, "funcname": "IsMouseHoveringRect", - "location": "imgui:936", + "location": "imgui:938", "namespace": "ImGui", "ov_cimguiname": "igIsMouseHoveringRect", "ret": "bool", @@ -24604,6 +25903,28 @@ "stname": "" } ], + "igIsMouseKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsMouseKey", + "defaults": {}, + "funcname": "IsMouseKey", + "location": "imgui_internal:3105", + "namespace": "ImGui", + "ov_cimguiname": "igIsMouseKey", + "ret": "bool", + "signature": "(ImGuiKey)", + "stname": "" + } + ], "igIsMousePosValid": [ { "args": "(const ImVec2* mouse_pos)", @@ -24620,7 +25941,7 @@ "mouse_pos": "NULL" }, "funcname": "IsMousePosValid", - "location": "imgui:937", + "location": "imgui:939", "namespace": "ImGui", "ov_cimguiname": "igIsMousePosValid", "ret": "bool", @@ -24642,59 +25963,79 @@ "cimguiname": "igIsMouseReleased", "defaults": {}, "funcname": "IsMouseReleased", - "location": "imgui:933", + "location": "imgui:935", "namespace": "ImGui", - "ov_cimguiname": "igIsMouseReleased", + "ov_cimguiname": "igIsMouseReleased_Nil", "ret": "bool", "signature": "(ImGuiMouseButton)", "stname": "" - } - ], - "igIsNavInputDown": [ + }, { - "args": "(ImGuiNavInput n)", + "args": "(ImGuiMouseButton button,ImGuiID owner_id)", "argsT": [ { - "name": "n", - "type": "ImGuiNavInput" + "name": "button", + "type": "ImGuiMouseButton" + }, + { + "name": "owner_id", + "type": "ImGuiID" } ], - "argsoriginal": "(ImGuiNavInput n)", - "call_args": "(n)", - "cimguiname": "igIsNavInputDown", + "argsoriginal": "(ImGuiMouseButton button,ImGuiID owner_id)", + "call_args": "(button,owner_id)", + "cimguiname": "igIsMouseReleased", "defaults": {}, - "funcname": "IsNavInputDown", - "location": "imgui_internal:2832", + "funcname": "IsMouseReleased", + "location": "imgui_internal:3155", "namespace": "ImGui", - "ov_cimguiname": "igIsNavInputDown", + "ov_cimguiname": "igIsMouseReleased_ID", "ret": "bool", - "signature": "(ImGuiNavInput)", + "signature": "(ImGuiMouseButton,ImGuiID)", "stname": "" } ], - "igIsNavInputTest": [ + "igIsNamedKey": [ { - "args": "(ImGuiNavInput n,ImGuiInputReadMode rm)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "n", - "type": "ImGuiNavInput" - }, - { - "name": "rm", - "type": "ImGuiInputReadMode" + "name": "key", + "type": "ImGuiKey" } ], - "argsoriginal": "(ImGuiNavInput n,ImGuiInputReadMode rm)", - "call_args": "(n,rm)", - "cimguiname": "igIsNavInputTest", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsNamedKey", "defaults": {}, - "funcname": "IsNavInputTest", - "location": "imgui_internal:2833", + "funcname": "IsNamedKey", + "location": "imgui_internal:3100", "namespace": "ImGui", - "ov_cimguiname": "igIsNavInputTest", + "ov_cimguiname": "igIsNamedKey", "ret": "bool", - "signature": "(ImGuiNavInput,ImGuiInputReadMode)", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igIsNamedKeyOrModKey": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igIsNamedKeyOrModKey", + "defaults": {}, + "funcname": "IsNamedKeyOrModKey", + "location": "imgui_internal:3101", + "namespace": "ImGui", + "ov_cimguiname": "igIsNamedKeyOrModKey", + "ret": "bool", + "signature": "(ImGuiKey)", "stname": "" } ], @@ -24718,9 +26059,9 @@ "flags": "0" }, "funcname": "IsPopupOpen", - "location": "imgui:721", + "location": "imgui:723", "namespace": "ImGui", - "ov_cimguiname": "igIsPopupOpenStr", + "ov_cimguiname": "igIsPopupOpen_Str", "ret": "bool", "signature": "(const char*,ImGuiPopupFlags)", "stname": "" @@ -24742,9 +26083,9 @@ "cimguiname": "igIsPopupOpen", "defaults": {}, "funcname": "IsPopupOpen", - "location": "imgui_internal:2780", + "location": "imgui_internal:3065", "namespace": "ImGui", - "ov_cimguiname": "igIsPopupOpenID", + "ov_cimguiname": "igIsPopupOpen_ID", "ret": "bool", "signature": "(ImGuiID,ImGuiPopupFlags)", "stname": "" @@ -24764,9 +26105,9 @@ "cimguiname": "igIsRectVisible", "defaults": {}, "funcname": "IsRectVisible", - "location": "imgui:893", + "location": "imgui:896", "namespace": "ImGui", - "ov_cimguiname": "igIsRectVisibleNil", + "ov_cimguiname": "igIsRectVisible_Nil", "ret": "bool", "signature": "(const ImVec2)", "stname": "" @@ -24788,9 +26129,9 @@ "cimguiname": "igIsRectVisible", "defaults": {}, "funcname": "IsRectVisible", - "location": "imgui:894", + "location": "imgui:897", "namespace": "ImGui", - "ov_cimguiname": "igIsRectVisibleVec2", + "ov_cimguiname": "igIsRectVisible_Vec2", "ret": "bool", "signature": "(const ImVec2,const ImVec2)", "stname": "" @@ -24814,7 +26155,7 @@ "cimguiname": "igIsWindowAbove", "defaults": {}, "funcname": "IsWindowAbove", - "location": "imgui_internal:2652", + "location": "imgui_internal:2940", "namespace": "ImGui", "ov_cimguiname": "igIsWindowAbove", "ret": "bool", @@ -24831,7 +26172,7 @@ "cimguiname": "igIsWindowAppearing", "defaults": {}, "funcname": "IsWindowAppearing", - "location": "imgui:359", + "location": "imgui:353", "namespace": "ImGui", "ov_cimguiname": "igIsWindowAppearing", "ret": "bool", @@ -24865,7 +26206,7 @@ "cimguiname": "igIsWindowChildOf", "defaults": {}, "funcname": "IsWindowChildOf", - "location": "imgui_internal:2650", + "location": "imgui_internal:2938", "namespace": "ImGui", "ov_cimguiname": "igIsWindowChildOf", "ret": "bool", @@ -24882,7 +26223,7 @@ "cimguiname": "igIsWindowCollapsed", "defaults": {}, "funcname": "IsWindowCollapsed", - "location": "imgui:360", + "location": "imgui:354", "namespace": "ImGui", "ov_cimguiname": "igIsWindowCollapsed", "ret": "bool", @@ -24899,7 +26240,7 @@ "cimguiname": "igIsWindowDocked", "defaults": {}, "funcname": "IsWindowDocked", - "location": "imgui:823", + "location": "imgui:820", "namespace": "ImGui", "ov_cimguiname": "igIsWindowDocked", "ret": "bool", @@ -24923,7 +26264,7 @@ "flags": "0" }, "funcname": "IsWindowFocused", - "location": "imgui:361", + "location": "imgui:355", "namespace": "ImGui", "ov_cimguiname": "igIsWindowFocused", "ret": "bool", @@ -24947,7 +26288,7 @@ "flags": "0" }, "funcname": "IsWindowHovered", - "location": "imgui:362", + "location": "imgui:356", "namespace": "ImGui", "ov_cimguiname": "igIsWindowHovered", "ret": "bool", @@ -24969,7 +26310,7 @@ "cimguiname": "igIsWindowNavFocusable", "defaults": {}, "funcname": "IsWindowNavFocusable", - "location": "imgui_internal:2653", + "location": "imgui_internal:2941", "namespace": "ImGui", "ov_cimguiname": "igIsWindowNavFocusable", "ret": "bool", @@ -24995,7 +26336,7 @@ "cimguiname": "igIsWindowWithinBeginStackOf", "defaults": {}, "funcname": "IsWindowWithinBeginStackOf", - "location": "imgui_internal:2651", + "location": "imgui_internal:2939", "namespace": "ImGui", "ov_cimguiname": "igIsWindowWithinBeginStackOf", "ret": "bool", @@ -25032,7 +26373,7 @@ "nav_bb": "NULL" }, "funcname": "ItemAdd", - "location": "imgui_internal:2742", + "location": "imgui_internal:3038", "namespace": "ImGui", "ov_cimguiname": "igItemAdd", "ret": "bool", @@ -25058,7 +26399,7 @@ "cimguiname": "igItemHoverable", "defaults": {}, "funcname": "ItemHoverable", - "location": "imgui_internal:2743", + "location": "imgui_internal:3039", "namespace": "ImGui", "ov_cimguiname": "igItemHoverable", "ret": "bool", @@ -25086,9 +26427,9 @@ "text_baseline_y": "-1.0f" }, "funcname": "ItemSize", - "location": "imgui_internal:2740", + "location": "imgui_internal:3036", "namespace": "ImGui", - "ov_cimguiname": "igItemSizeVec2", + "ov_cimguiname": "igItemSize_Vec2", "ret": "void", "signature": "(const ImVec2,float)", "stname": "" @@ -25112,9 +26453,9 @@ "text_baseline_y": "-1.0f" }, "funcname": "ItemSize", - "location": "imgui_internal:2741", + "location": "imgui_internal:3037", "namespace": "ImGui", - "ov_cimguiname": "igItemSizeRect", + "ov_cimguiname": "igItemSize_Rect", "ret": "void", "signature": "(const ImRect,float)", "stname": "" @@ -25134,7 +26475,7 @@ "cimguiname": "igKeepAliveID", "defaults": {}, "funcname": "KeepAliveID", - "location": "imgui_internal:2734", + "location": "imgui_internal:3030", "namespace": "ImGui", "ov_cimguiname": "igKeepAliveID", "ret": "void", @@ -25165,7 +26506,7 @@ "defaults": {}, "funcname": "LabelText", "isvararg": "...)", - "location": "imgui:504", + "location": "imgui:501", "namespace": "ImGui", "ov_cimguiname": "igLabelText", "ret": "void", @@ -25195,7 +26536,7 @@ "cimguiname": "igLabelTextV", "defaults": {}, "funcname": "LabelTextV", - "location": "imgui:505", + "location": "imgui:502", "namespace": "ImGui", "ov_cimguiname": "igLabelTextV", "ret": "void", @@ -25235,9 +26576,9 @@ "height_in_items": "-1" }, "funcname": "ListBox", - "location": "imgui:642", + "location": "imgui:643", "namespace": "ImGui", - "ov_cimguiname": "igListBoxStr_arr", + "ov_cimguiname": "igListBox_Str_arr", "ret": "bool", "signature": "(const char*,int*,const char* const[],int,int)", "stname": "" @@ -25279,9 +26620,9 @@ "height_in_items": "-1" }, "funcname": "ListBox", - "location": "imgui:643", + "location": "imgui:644", "namespace": "ImGui", - "ov_cimguiname": "igListBoxFnBoolPtr", + "ov_cimguiname": "igListBox_FnBoolPtr", "ret": "bool", "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", "stname": "" @@ -25301,7 +26642,7 @@ "cimguiname": "igLoadIniSettingsFromDisk", "defaults": {}, "funcname": "LoadIniSettingsFromDisk", - "location": "imgui:957", + "location": "imgui:959", "namespace": "ImGui", "ov_cimguiname": "igLoadIniSettingsFromDisk", "ret": "void", @@ -25329,7 +26670,7 @@ "ini_size": "0" }, "funcname": "LoadIniSettingsFromMemory", - "location": "imgui:958", + "location": "imgui:960", "namespace": "ImGui", "ov_cimguiname": "igLoadIniSettingsFromMemory", "ret": "void", @@ -25337,6 +26678,54 @@ "stname": "" } ], + "igLocalizeGetMsg": [ + { + "args": "(ImGuiLocKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiLocKey" + } + ], + "argsoriginal": "(ImGuiLocKey key)", + "call_args": "(key)", + "cimguiname": "igLocalizeGetMsg", + "defaults": {}, + "funcname": "LocalizeGetMsg", + "location": "imgui_internal:3003", + "namespace": "ImGui", + "ov_cimguiname": "igLocalizeGetMsg", + "ret": "const char*", + "signature": "(ImGuiLocKey)", + "stname": "" + } + ], + "igLocalizeRegisterEntries": [ + { + "args": "(const ImGuiLocEntry* entries,int count)", + "argsT": [ + { + "name": "entries", + "type": "const ImGuiLocEntry*" + }, + { + "name": "count", + "type": "int" + } + ], + "argsoriginal": "(const ImGuiLocEntry* entries,int count)", + "call_args": "(entries,count)", + "cimguiname": "igLocalizeRegisterEntries", + "defaults": {}, + "funcname": "LocalizeRegisterEntries", + "location": "imgui_internal:3002", + "namespace": "ImGui", + "ov_cimguiname": "igLocalizeRegisterEntries", + "ret": "void", + "signature": "(const ImGuiLocEntry*,int)", + "stname": "" + } + ], "igLogBegin": [ { "args": "(ImGuiLogType type,int auto_open_depth)", @@ -25355,7 +26744,7 @@ "cimguiname": "igLogBegin", "defaults": {}, "funcname": "LogBegin", - "location": "imgui_internal:2769", + "location": "imgui_internal:3054", "namespace": "ImGui", "ov_cimguiname": "igLogBegin", "ret": "void", @@ -25372,7 +26761,7 @@ "cimguiname": "igLogButtons", "defaults": {}, "funcname": "LogButtons", - "location": "imgui:831", + "location": "imgui:828", "namespace": "ImGui", "ov_cimguiname": "igLogButtons", "ret": "void", @@ -25389,7 +26778,7 @@ "cimguiname": "igLogFinish", "defaults": {}, "funcname": "LogFinish", - "location": "imgui:830", + "location": "imgui:827", "namespace": "ImGui", "ov_cimguiname": "igLogFinish", "ret": "void", @@ -25421,7 +26810,7 @@ "text_end": "NULL" }, "funcname": "LogRenderedText", - "location": "imgui_internal:2771", + "location": "imgui_internal:3056", "namespace": "ImGui", "ov_cimguiname": "igLogRenderedText", "ret": "void", @@ -25447,7 +26836,7 @@ "cimguiname": "igLogSetNextTextDecoration", "defaults": {}, "funcname": "LogSetNextTextDecoration", - "location": "imgui_internal:2772", + "location": "imgui_internal:3057", "namespace": "ImGui", "ov_cimguiname": "igLogSetNextTextDecoration", "ret": "void", @@ -25474,7 +26863,7 @@ "defaults": {}, "funcname": "LogText", "isvararg": "...)", - "location": "imgui:832", + "location": "imgui:829", "manual": true, "namespace": "ImGui", "ov_cimguiname": "igLogText", @@ -25501,7 +26890,7 @@ "cimguiname": "igLogTextV", "defaults": {}, "funcname": "LogTextV", - "location": "imgui:833", + "location": "imgui:830", "namespace": "ImGui", "ov_cimguiname": "igLogTextV", "ret": "void", @@ -25525,7 +26914,7 @@ "auto_open_depth": "-1" }, "funcname": "LogToBuffer", - "location": "imgui_internal:2770", + "location": "imgui_internal:3055", "namespace": "ImGui", "ov_cimguiname": "igLogToBuffer", "ret": "void", @@ -25549,7 +26938,7 @@ "auto_open_depth": "-1" }, "funcname": "LogToClipboard", - "location": "imgui:829", + "location": "imgui:826", "namespace": "ImGui", "ov_cimguiname": "igLogToClipboard", "ret": "void", @@ -25578,7 +26967,7 @@ "filename": "NULL" }, "funcname": "LogToFile", - "location": "imgui:828", + "location": "imgui:825", "namespace": "ImGui", "ov_cimguiname": "igLogToFile", "ret": "void", @@ -25602,7 +26991,7 @@ "auto_open_depth": "-1" }, "funcname": "LogToTTY", - "location": "imgui:827", + "location": "imgui:824", "namespace": "ImGui", "ov_cimguiname": "igLogToTTY", "ret": "void", @@ -25619,9 +27008,9 @@ "cimguiname": "igMarkIniSettingsDirty", "defaults": {}, "funcname": "MarkIniSettingsDirty", - "location": "imgui_internal:2700", + "location": "imgui_internal:2991", "namespace": "ImGui", - "ov_cimguiname": "igMarkIniSettingsDirtyNil", + "ov_cimguiname": "igMarkIniSettingsDirty_Nil", "ret": "void", "signature": "()", "stname": "" @@ -25639,9 +27028,9 @@ "cimguiname": "igMarkIniSettingsDirty", "defaults": {}, "funcname": "MarkIniSettingsDirty", - "location": "imgui_internal:2701", + "location": "imgui_internal:2992", "namespace": "ImGui", - "ov_cimguiname": "igMarkIniSettingsDirtyWindowPtr", + "ov_cimguiname": "igMarkIniSettingsDirty_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*)", "stname": "" @@ -25661,7 +27050,7 @@ "cimguiname": "igMarkItemEdited", "defaults": {}, "funcname": "MarkItemEdited", - "location": "imgui_internal:2735", + "location": "imgui_internal:3031", "namespace": "ImGui", "ov_cimguiname": "igMarkItemEdited", "ret": "void", @@ -25683,7 +27072,7 @@ "cimguiname": "igMemAlloc", "defaults": {}, "funcname": "MemAlloc", - "location": "imgui:972", + "location": "imgui:974", "namespace": "ImGui", "ov_cimguiname": "igMemAlloc", "ret": "void*", @@ -25705,7 +27094,7 @@ "cimguiname": "igMemFree", "defaults": {}, "funcname": "MemFree", - "location": "imgui:973", + "location": "imgui:975", "namespace": "ImGui", "ov_cimguiname": "igMemFree", "ret": "void", @@ -25743,9 +27132,9 @@ "shortcut": "NULL" }, "funcname": "MenuItem", - "location": "imgui:670", + "location": "imgui:671", "namespace": "ImGui", - "ov_cimguiname": "igMenuItemBool", + "ov_cimguiname": "igMenuItem_Bool", "ret": "bool", "signature": "(const char*,const char*,bool,bool)", "stname": "" @@ -25777,9 +27166,9 @@ "enabled": "true" }, "funcname": "MenuItem", - "location": "imgui:671", + "location": "imgui:672", "namespace": "ImGui", - "ov_cimguiname": "igMenuItemBoolPtr", + "ov_cimguiname": "igMenuItem_BoolPtr", "ret": "bool", "signature": "(const char*,const char*,bool*,bool)", "stname": "" @@ -25819,7 +27208,7 @@ "shortcut": "NULL" }, "funcname": "MenuItemEx", - "location": "imgui_internal:2792", + "location": "imgui_internal:3077", "namespace": "ImGui", "ov_cimguiname": "igMenuItemEx", "ret": "bool", @@ -25827,6 +27216,28 @@ "stname": "" } ], + "igMouseButtonToKey": [ + { + "args": "(ImGuiMouseButton button)", + "argsT": [ + { + "name": "button", + "type": "ImGuiMouseButton" + } + ], + "argsoriginal": "(ImGuiMouseButton button)", + "call_args": "(button)", + "cimguiname": "igMouseButtonToKey", + "defaults": {}, + "funcname": "MouseButtonToKey", + "location": "imgui_internal:3118", + "namespace": "ImGui", + "ov_cimguiname": "igMouseButtonToKey", + "ret": "ImGuiKey", + "signature": "(ImGuiMouseButton)", + "stname": "" + } + ], "igNavInitRequestApplyResult": [ { "args": "()", @@ -25836,7 +27247,7 @@ "cimguiname": "igNavInitRequestApplyResult", "defaults": {}, "funcname": "NavInitRequestApplyResult", - "location": "imgui_internal:2801", + "location": "imgui_internal:3086", "namespace": "ImGui", "ov_cimguiname": "igNavInitRequestApplyResult", "ret": "void", @@ -25862,7 +27273,7 @@ "cimguiname": "igNavInitWindow", "defaults": {}, "funcname": "NavInitWindow", - "location": "imgui_internal:2800", + "location": "imgui_internal:3085", "namespace": "ImGui", "ov_cimguiname": "igNavInitWindow", "ret": "void", @@ -25879,7 +27290,7 @@ "cimguiname": "igNavMoveRequestApplyResult", "defaults": {}, "funcname": "NavMoveRequestApplyResult", - "location": "imgui_internal:2807", + "location": "imgui_internal:3092", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestApplyResult", "ret": "void", @@ -25896,7 +27307,7 @@ "cimguiname": "igNavMoveRequestButNoResultYet", "defaults": {}, "funcname": "NavMoveRequestButNoResultYet", - "location": "imgui_internal:2802", + "location": "imgui_internal:3087", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestButNoResultYet", "ret": "bool", @@ -25913,7 +27324,7 @@ "cimguiname": "igNavMoveRequestCancel", "defaults": {}, "funcname": "NavMoveRequestCancel", - "location": "imgui_internal:2806", + "location": "imgui_internal:3091", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestCancel", "ret": "void", @@ -25947,7 +27358,7 @@ "cimguiname": "igNavMoveRequestForward", "defaults": {}, "funcname": "NavMoveRequestForward", - "location": "imgui_internal:2804", + "location": "imgui_internal:3089", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestForward", "ret": "void", @@ -25969,7 +27380,7 @@ "cimguiname": "igNavMoveRequestResolveWithLastItem", "defaults": {}, "funcname": "NavMoveRequestResolveWithLastItem", - "location": "imgui_internal:2805", + "location": "imgui_internal:3090", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestResolveWithLastItem", "ret": "void", @@ -26003,7 +27414,7 @@ "cimguiname": "igNavMoveRequestSubmit", "defaults": {}, "funcname": "NavMoveRequestSubmit", - "location": "imgui_internal:2803", + "location": "imgui_internal:3088", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestSubmit", "ret": "void", @@ -26029,7 +27440,7 @@ "cimguiname": "igNavMoveRequestTryWrapping", "defaults": {}, "funcname": "NavMoveRequestTryWrapping", - "location": "imgui_internal:2808", + "location": "imgui_internal:3093", "namespace": "ImGui", "ov_cimguiname": "igNavMoveRequestTryWrapping", "ret": "void", @@ -26046,7 +27457,7 @@ "cimguiname": "igNewFrame", "defaults": {}, "funcname": "NewFrame", - "location": "imgui:309", + "location": "imgui:302", "namespace": "ImGui", "ov_cimguiname": "igNewFrame", "ret": "void", @@ -26063,7 +27474,7 @@ "cimguiname": "igNewLine", "defaults": {}, "funcname": "NewLine", - "location": "imgui:452", + "location": "imgui:449", "namespace": "ImGui", "ov_cimguiname": "igNewLine", "ret": "void", @@ -26080,7 +27491,7 @@ "cimguiname": "igNextColumn", "defaults": {}, "funcname": "NextColumn", - "location": "imgui:788", + "location": "imgui:785", "namespace": "ImGui", "ov_cimguiname": "igNextColumn", "ret": "void", @@ -26108,9 +27519,9 @@ "popup_flags": "0" }, "funcname": "OpenPopup", - "location": "imgui:703", + "location": "imgui:705", "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupStr", + "ov_cimguiname": "igOpenPopup_Str", "ret": "void", "signature": "(const char*,ImGuiPopupFlags)", "stname": "" @@ -26134,9 +27545,9 @@ "popup_flags": "0" }, "funcname": "OpenPopup", - "location": "imgui:704", + "location": "imgui:706", "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupID", + "ov_cimguiname": "igOpenPopup_ID", "ret": "void", "signature": "(ImGuiID,ImGuiPopupFlags)", "stname": "" @@ -26162,7 +27573,7 @@ "popup_flags": "ImGuiPopupFlags_None" }, "funcname": "OpenPopupEx", - "location": "imgui_internal:2776", + "location": "imgui_internal:3061", "namespace": "ImGui", "ov_cimguiname": "igOpenPopupEx", "ret": "void", @@ -26191,7 +27602,7 @@ "str_id": "NULL" }, "funcname": "OpenPopupOnItemClick", - "location": "imgui:705", + "location": "imgui:707", "namespace": "ImGui", "ov_cimguiname": "igOpenPopupOnItemClick", "ret": "void", @@ -26251,7 +27662,7 @@ "cimguiname": "igPlotEx", "defaults": {}, "funcname": "PlotEx", - "location": "imgui_internal:3058", + "location": "imgui_internal:3407", "namespace": "ImGui", "ov_cimguiname": "igPlotEx", "ret": "int", @@ -26312,9 +27723,9 @@ "values_offset": "0" }, "funcname": "PlotHistogram", - "location": "imgui:649", + "location": "imgui:650", "namespace": "ImGui", - "ov_cimguiname": "igPlotHistogramFloatPtr", + "ov_cimguiname": "igPlotHistogram_FloatPtr", "ret": "void", "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", "stname": "" @@ -26372,9 +27783,9 @@ "values_offset": "0" }, "funcname": "PlotHistogram", - "location": "imgui:650", + "location": "imgui:651", "namespace": "ImGui", - "ov_cimguiname": "igPlotHistogramFnFloatPtr", + "ov_cimguiname": "igPlotHistogram_FnFloatPtr", "ret": "void", "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", "stname": "" @@ -26433,9 +27844,9 @@ "values_offset": "0" }, "funcname": "PlotLines", - "location": "imgui:647", + "location": "imgui:648", "namespace": "ImGui", - "ov_cimguiname": "igPlotLinesFloatPtr", + "ov_cimguiname": "igPlotLines_FloatPtr", "ret": "void", "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", "stname": "" @@ -26493,9 +27904,9 @@ "values_offset": "0" }, "funcname": "PlotLines", - "location": "imgui:648", + "location": "imgui:649", "namespace": "ImGui", - "ov_cimguiname": "igPlotLinesFnFloatPtr", + "ov_cimguiname": "igPlotLines_FnFloatPtr", "ret": "void", "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", "stname": "" @@ -26510,7 +27921,7 @@ "cimguiname": "igPopAllowKeyboardFocus", "defaults": {}, "funcname": "PopAllowKeyboardFocus", - "location": "imgui:421", + "location": "imgui:418", "namespace": "ImGui", "ov_cimguiname": "igPopAllowKeyboardFocus", "ret": "void", @@ -26527,7 +27938,7 @@ "cimguiname": "igPopButtonRepeat", "defaults": {}, "funcname": "PopButtonRepeat", - "location": "imgui:423", + "location": "imgui:420", "namespace": "ImGui", "ov_cimguiname": "igPopButtonRepeat", "ret": "void", @@ -26544,7 +27955,7 @@ "cimguiname": "igPopClipRect", "defaults": {}, "funcname": "PopClipRect", - "location": "imgui:858", + "location": "imgui:855", "namespace": "ImGui", "ov_cimguiname": "igPopClipRect", "ret": "void", @@ -26561,7 +27972,7 @@ "cimguiname": "igPopColumnsBackground", "defaults": {}, "funcname": "PopColumnsBackground", - "location": "imgui_internal:2898", + "location": "imgui_internal:3249", "namespace": "ImGui", "ov_cimguiname": "igPopColumnsBackground", "ret": "void", @@ -26578,7 +27989,7 @@ "cimguiname": "igPopFocusScope", "defaults": {}, "funcname": "PopFocusScope", - "location": "imgui_internal:2819", + "location": "imgui_internal:3233", "namespace": "ImGui", "ov_cimguiname": "igPopFocusScope", "ret": "void", @@ -26595,7 +28006,7 @@ "cimguiname": "igPopFont", "defaults": {}, "funcname": "PopFont", - "location": "imgui:413", + "location": "imgui:410", "namespace": "ImGui", "ov_cimguiname": "igPopFont", "ret": "void", @@ -26612,7 +28023,7 @@ "cimguiname": "igPopID", "defaults": {}, "funcname": "PopID", - "location": "imgui:489", + "location": "imgui:486", "namespace": "ImGui", "ov_cimguiname": "igPopID", "ret": "void", @@ -26629,7 +28040,7 @@ "cimguiname": "igPopItemFlag", "defaults": {}, "funcname": "PopItemFlag", - "location": "imgui_internal:2755", + "location": "imgui_internal:3051", "namespace": "ImGui", "ov_cimguiname": "igPopItemFlag", "ret": "void", @@ -26646,7 +28057,7 @@ "cimguiname": "igPopItemWidth", "defaults": {}, "funcname": "PopItemWidth", - "location": "imgui:427", + "location": "imgui:424", "namespace": "ImGui", "ov_cimguiname": "igPopItemWidth", "ret": "void", @@ -26670,7 +28081,7 @@ "count": "1" }, "funcname": "PopStyleColor", - "location": "imgui:416", + "location": "imgui:413", "namespace": "ImGui", "ov_cimguiname": "igPopStyleColor", "ret": "void", @@ -26694,7 +28105,7 @@ "count": "1" }, "funcname": "PopStyleVar", - "location": "imgui:419", + "location": "imgui:416", "namespace": "ImGui", "ov_cimguiname": "igPopStyleVar", "ret": "void", @@ -26711,7 +28122,7 @@ "cimguiname": "igPopTextWrapPos", "defaults": {}, "funcname": "PopTextWrapPos", - "location": "imgui:431", + "location": "imgui:428", "namespace": "ImGui", "ov_cimguiname": "igPopTextWrapPos", "ret": "void", @@ -26744,7 +28155,7 @@ "size_arg": "ImVec2(-FLT_MIN,0)" }, "funcname": "ProgressBar", - "location": "imgui:523", + "location": "imgui:518", "namespace": "ImGui", "ov_cimguiname": "igProgressBar", "ret": "void", @@ -26766,7 +28177,7 @@ "cimguiname": "igPushAllowKeyboardFocus", "defaults": {}, "funcname": "PushAllowKeyboardFocus", - "location": "imgui:420", + "location": "imgui:417", "namespace": "ImGui", "ov_cimguiname": "igPushAllowKeyboardFocus", "ret": "void", @@ -26788,7 +28199,7 @@ "cimguiname": "igPushButtonRepeat", "defaults": {}, "funcname": "PushButtonRepeat", - "location": "imgui:422", + "location": "imgui:419", "namespace": "ImGui", "ov_cimguiname": "igPushButtonRepeat", "ret": "void", @@ -26818,7 +28229,7 @@ "cimguiname": "igPushClipRect", "defaults": {}, "funcname": "PushClipRect", - "location": "imgui:857", + "location": "imgui:854", "namespace": "ImGui", "ov_cimguiname": "igPushClipRect", "ret": "void", @@ -26840,7 +28251,7 @@ "cimguiname": "igPushColumnClipRect", "defaults": {}, "funcname": "PushColumnClipRect", - "location": "imgui_internal:2896", + "location": "imgui_internal:3247", "namespace": "ImGui", "ov_cimguiname": "igPushColumnClipRect", "ret": "void", @@ -26857,7 +28268,7 @@ "cimguiname": "igPushColumnsBackground", "defaults": {}, "funcname": "PushColumnsBackground", - "location": "imgui_internal:2897", + "location": "imgui_internal:3248", "namespace": "ImGui", "ov_cimguiname": "igPushColumnsBackground", "ret": "void", @@ -26879,7 +28290,7 @@ "cimguiname": "igPushFocusScope", "defaults": {}, "funcname": "PushFocusScope", - "location": "imgui_internal:2818", + "location": "imgui_internal:3232", "namespace": "ImGui", "ov_cimguiname": "igPushFocusScope", "ret": "void", @@ -26901,7 +28312,7 @@ "cimguiname": "igPushFont", "defaults": {}, "funcname": "PushFont", - "location": "imgui:412", + "location": "imgui:409", "namespace": "ImGui", "ov_cimguiname": "igPushFont", "ret": "void", @@ -26923,9 +28334,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:485", + "location": "imgui:482", "namespace": "ImGui", - "ov_cimguiname": "igPushIDStr", + "ov_cimguiname": "igPushID_Str", "ret": "void", "signature": "(const char*)", "stname": "" @@ -26947,9 +28358,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:486", + "location": "imgui:483", "namespace": "ImGui", - "ov_cimguiname": "igPushIDStrStr", + "ov_cimguiname": "igPushID_StrStr", "ret": "void", "signature": "(const char*,const char*)", "stname": "" @@ -26967,9 +28378,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:487", + "location": "imgui:484", "namespace": "ImGui", - "ov_cimguiname": "igPushIDPtr", + "ov_cimguiname": "igPushID_Ptr", "ret": "void", "signature": "(const void*)", "stname": "" @@ -26987,9 +28398,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:488", + "location": "imgui:485", "namespace": "ImGui", - "ov_cimguiname": "igPushIDInt", + "ov_cimguiname": "igPushID_Int", "ret": "void", "signature": "(int)", "stname": "" @@ -27013,7 +28424,7 @@ "cimguiname": "igPushItemFlag", "defaults": {}, "funcname": "PushItemFlag", - "location": "imgui_internal:2754", + "location": "imgui_internal:3050", "namespace": "ImGui", "ov_cimguiname": "igPushItemFlag", "ret": "void", @@ -27035,7 +28446,7 @@ "cimguiname": "igPushItemWidth", "defaults": {}, "funcname": "PushItemWidth", - "location": "imgui:426", + "location": "imgui:423", "namespace": "ImGui", "ov_cimguiname": "igPushItemWidth", "ret": "void", @@ -27061,7 +28472,7 @@ "cimguiname": "igPushMultiItemsWidths", "defaults": {}, "funcname": "PushMultiItemsWidths", - "location": "imgui_internal:2748", + "location": "imgui_internal:3044", "namespace": "ImGui", "ov_cimguiname": "igPushMultiItemsWidths", "ret": "void", @@ -27083,7 +28494,7 @@ "cimguiname": "igPushOverrideID", "defaults": {}, "funcname": "PushOverrideID", - "location": "imgui_internal:2736", + "location": "imgui_internal:3032", "namespace": "ImGui", "ov_cimguiname": "igPushOverrideID", "ret": "void", @@ -27109,9 +28520,9 @@ "cimguiname": "igPushStyleColor", "defaults": {}, "funcname": "PushStyleColor", - "location": "imgui:414", + "location": "imgui:411", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleColorU32", + "ov_cimguiname": "igPushStyleColor_U32", "ret": "void", "signature": "(ImGuiCol,ImU32)", "stname": "" @@ -27133,9 +28544,9 @@ "cimguiname": "igPushStyleColor", "defaults": {}, "funcname": "PushStyleColor", - "location": "imgui:415", + "location": "imgui:412", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleColorVec4", + "ov_cimguiname": "igPushStyleColor_Vec4", "ret": "void", "signature": "(ImGuiCol,const ImVec4)", "stname": "" @@ -27159,9 +28570,9 @@ "cimguiname": "igPushStyleVar", "defaults": {}, "funcname": "PushStyleVar", - "location": "imgui:417", + "location": "imgui:414", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleVarFloat", + "ov_cimguiname": "igPushStyleVar_Float", "ret": "void", "signature": "(ImGuiStyleVar,float)", "stname": "" @@ -27183,9 +28594,9 @@ "cimguiname": "igPushStyleVar", "defaults": {}, "funcname": "PushStyleVar", - "location": "imgui:418", + "location": "imgui:415", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleVarVec2", + "ov_cimguiname": "igPushStyleVar_Vec2", "ret": "void", "signature": "(ImGuiStyleVar,const ImVec2)", "stname": "" @@ -27207,7 +28618,7 @@ "wrap_local_pos_x": "0.0f" }, "funcname": "PushTextWrapPos", - "location": "imgui:430", + "location": "imgui:427", "namespace": "ImGui", "ov_cimguiname": "igPushTextWrapPos", "ret": "void", @@ -27233,9 +28644,9 @@ "cimguiname": "igRadioButton", "defaults": {}, "funcname": "RadioButton", - "location": "imgui:521", + "location": "imgui:516", "namespace": "ImGui", - "ov_cimguiname": "igRadioButtonBool", + "ov_cimguiname": "igRadioButton_Bool", "ret": "bool", "signature": "(const char*,bool)", "stname": "" @@ -27261,9 +28672,9 @@ "cimguiname": "igRadioButton", "defaults": {}, "funcname": "RadioButton", - "location": "imgui:522", + "location": "imgui:517", "namespace": "ImGui", - "ov_cimguiname": "igRadioButtonIntPtr", + "ov_cimguiname": "igRadioButton_IntPtr", "ret": "bool", "signature": "(const char*,int*,int)", "stname": "" @@ -27287,7 +28698,7 @@ "cimguiname": "igRemoveContextHook", "defaults": {}, "funcname": "RemoveContextHook", - "location": "imgui_internal:2689", + "location": "imgui_internal:2978", "namespace": "ImGui", "ov_cimguiname": "igRemoveContextHook", "ret": "void", @@ -27295,6 +28706,28 @@ "stname": "" } ], + "igRemoveSettingsHandler": [ + { + "args": "(const char* type_name)", + "argsT": [ + { + "name": "type_name", + "type": "const char*" + } + ], + "argsoriginal": "(const char* type_name)", + "call_args": "(type_name)", + "cimguiname": "igRemoveSettingsHandler", + "defaults": {}, + "funcname": "RemoveSettingsHandler", + "location": "imgui_internal:2998", + "namespace": "ImGui", + "ov_cimguiname": "igRemoveSettingsHandler", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], "igRender": [ { "args": "()", @@ -27304,7 +28737,7 @@ "cimguiname": "igRender", "defaults": {}, "funcname": "Render", - "location": "imgui:311", + "location": "imgui:304", "namespace": "ImGui", "ov_cimguiname": "igRender", "ret": "void", @@ -27344,7 +28777,7 @@ "scale": "1.0f" }, "funcname": "RenderArrow", - "location": "imgui_internal:2985", + "location": "imgui_internal:3340", "namespace": "ImGui", "ov_cimguiname": "igRenderArrow", "ret": "void", @@ -27378,7 +28811,7 @@ "cimguiname": "igRenderArrowDockMenu", "defaults": {}, "funcname": "RenderArrowDockMenu", - "location": "imgui_internal:2990", + "location": "imgui_internal:3344", "namespace": "ImGui", "ov_cimguiname": "igRenderArrowDockMenu", "ret": "void", @@ -27416,7 +28849,7 @@ "cimguiname": "igRenderArrowPointingAt", "defaults": {}, "funcname": "RenderArrowPointingAt", - "location": "imgui_internal:2989", + "location": "imgui_internal:3343", "namespace": "ImGui", "ov_cimguiname": "igRenderArrowPointingAt", "ret": "void", @@ -27446,7 +28879,7 @@ "cimguiname": "igRenderBullet", "defaults": {}, "funcname": "RenderBullet", - "location": "imgui_internal:2986", + "location": "imgui_internal:3341", "namespace": "ImGui", "ov_cimguiname": "igRenderBullet", "ret": "void", @@ -27480,7 +28913,7 @@ "cimguiname": "igRenderCheckMark", "defaults": {}, "funcname": "RenderCheckMark", - "location": "imgui_internal:2987", + "location": "imgui_internal:3342", "namespace": "ImGui", "ov_cimguiname": "igRenderCheckMark", "ret": "void", @@ -27533,7 +28966,7 @@ "rounding": "0.0f" }, "funcname": "RenderColorRectWithAlphaCheckerboard", - "location": "imgui_internal:2980", + "location": "imgui_internal:3334", "namespace": "ImGui", "ov_cimguiname": "igRenderColorRectWithAlphaCheckerboard", "ret": "void", @@ -27541,6 +28974,28 @@ "stname": "" } ], + "igRenderDragDropTargetRect": [ + { + "args": "(const ImRect bb)", + "argsT": [ + { + "name": "bb", + "type": "const ImRect" + } + ], + "argsoriginal": "(const ImRect& bb)", + "call_args": "(bb)", + "cimguiname": "igRenderDragDropTargetRect", + "defaults": {}, + "funcname": "RenderDragDropTargetRect", + "location": "imgui_internal:3241", + "namespace": "ImGui", + "ov_cimguiname": "igRenderDragDropTargetRect", + "ret": "void", + "signature": "(const ImRect)", + "stname": "" + } + ], "igRenderFrame": [ { "args": "(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding)", @@ -27574,7 +29029,7 @@ "rounding": "0.0f" }, "funcname": "RenderFrame", - "location": "imgui_internal:2978", + "location": "imgui_internal:3332", "namespace": "ImGui", "ov_cimguiname": "igRenderFrame", "ret": "void", @@ -27606,7 +29061,7 @@ "rounding": "0.0f" }, "funcname": "RenderFrameBorder", - "location": "imgui_internal:2979", + "location": "imgui_internal:3333", "namespace": "ImGui", "ov_cimguiname": "igRenderFrameBorder", "ret": "void", @@ -27616,12 +29071,8 @@ ], "igRenderMouseCursor": [ { - "args": "(ImDrawList* draw_list,ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", + "args": "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", "argsT": [ - { - "name": "draw_list", - "type": "ImDrawList*" - }, { "name": "pos", "type": "ImVec2" @@ -27647,16 +29098,16 @@ "type": "ImU32" } ], - "argsoriginal": "(ImDrawList* draw_list,ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", - "call_args": "(draw_list,pos,scale,mouse_cursor,col_fill,col_border,col_shadow)", + "argsoriginal": "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)", + "call_args": "(pos,scale,mouse_cursor,col_fill,col_border,col_shadow)", "cimguiname": "igRenderMouseCursor", "defaults": {}, "funcname": "RenderMouseCursor", - "location": "imgui_internal:2988", + "location": "imgui_internal:3337", "namespace": "ImGui", "ov_cimguiname": "igRenderMouseCursor", "ret": "void", - "signature": "(ImDrawList*,ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)", + "signature": "(ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)", "stname": "" } ], @@ -27684,7 +29135,7 @@ "flags": "ImGuiNavHighlightFlags_TypeDefault" }, "funcname": "RenderNavHighlight", - "location": "imgui_internal:2981", + "location": "imgui_internal:3335", "namespace": "ImGui", "ov_cimguiname": "igRenderNavHighlight", "ret": "void", @@ -27713,7 +29164,7 @@ "renderer_render_arg": "NULL" }, "funcname": "RenderPlatformWindowsDefault", - "location": "imgui:980", + "location": "imgui:982", "namespace": "ImGui", "ov_cimguiname": "igRenderPlatformWindowsDefault", "ret": "void", @@ -27755,7 +29206,7 @@ "cimguiname": "igRenderRectFilledRangeH", "defaults": {}, "funcname": "RenderRectFilledRangeH", - "location": "imgui_internal:2991", + "location": "imgui_internal:3345", "namespace": "ImGui", "ov_cimguiname": "igRenderRectFilledRangeH", "ret": "void", @@ -27765,7 +29216,7 @@ ], "igRenderRectFilledWithHole": [ { - "args": "(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding)", + "args": "(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding)", "argsT": [ { "name": "draw_list", @@ -27773,11 +29224,11 @@ }, { "name": "outer", - "type": "ImRect" + "type": "const ImRect" }, { "name": "inner", - "type": "ImRect" + "type": "const ImRect" }, { "name": "col", @@ -27788,16 +29239,16 @@ "type": "float" } ], - "argsoriginal": "(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding)", + "argsoriginal": "(ImDrawList* draw_list,const ImRect& outer,const ImRect& inner,ImU32 col,float rounding)", "call_args": "(draw_list,outer,inner,col,rounding)", "cimguiname": "igRenderRectFilledWithHole", "defaults": {}, "funcname": "RenderRectFilledWithHole", - "location": "imgui_internal:2992", + "location": "imgui_internal:3346", "namespace": "ImGui", "ov_cimguiname": "igRenderRectFilledWithHole", "ret": "void", - "signature": "(ImDrawList*,ImRect,ImRect,ImU32,float)", + "signature": "(ImDrawList*,const ImRect,const ImRect,ImU32,float)", "stname": "" } ], @@ -27830,7 +29281,7 @@ "text_end": "NULL" }, "funcname": "RenderText", - "location": "imgui_internal:2973", + "location": "imgui_internal:3327", "namespace": "ImGui", "ov_cimguiname": "igRenderText", "ret": "void", @@ -27879,7 +29330,7 @@ "clip_rect": "NULL" }, "funcname": "RenderTextClipped", - "location": "imgui_internal:2975", + "location": "imgui_internal:3329", "namespace": "ImGui", "ov_cimguiname": "igRenderTextClipped", "ret": "void", @@ -27932,7 +29383,7 @@ "clip_rect": "NULL" }, "funcname": "RenderTextClippedEx", - "location": "imgui_internal:2976", + "location": "imgui_internal:3330", "namespace": "ImGui", "ov_cimguiname": "igRenderTextClippedEx", "ret": "void", @@ -27982,7 +29433,7 @@ "cimguiname": "igRenderTextEllipsis", "defaults": {}, "funcname": "RenderTextEllipsis", - "location": "imgui_internal:2977", + "location": "imgui_internal:3331", "namespace": "ImGui", "ov_cimguiname": "igRenderTextEllipsis", "ret": "void", @@ -28016,7 +29467,7 @@ "cimguiname": "igRenderTextWrapped", "defaults": {}, "funcname": "RenderTextWrapped", - "location": "imgui_internal:2974", + "location": "imgui_internal:3328", "namespace": "ImGui", "ov_cimguiname": "igRenderTextWrapped", "ret": "void", @@ -28040,7 +29491,7 @@ "button": "0" }, "funcname": "ResetMouseDragDelta", - "location": "imgui:943", + "location": "imgui:945", "namespace": "ImGui", "ov_cimguiname": "igResetMouseDragDelta", "ret": "void", @@ -28069,7 +29520,7 @@ "spacing": "-1.0f" }, "funcname": "SameLine", - "location": "imgui:451", + "location": "imgui:448", "namespace": "ImGui", "ov_cimguiname": "igSameLine", "ret": "void", @@ -28091,7 +29542,7 @@ "cimguiname": "igSaveIniSettingsToDisk", "defaults": {}, "funcname": "SaveIniSettingsToDisk", - "location": "imgui:959", + "location": "imgui:961", "namespace": "ImGui", "ov_cimguiname": "igSaveIniSettingsToDisk", "ret": "void", @@ -28115,7 +29566,7 @@ "out_ini_size": "NULL" }, "funcname": "SaveIniSettingsToMemory", - "location": "imgui:960", + "location": "imgui:962", "namespace": "ImGui", "ov_cimguiname": "igSaveIniSettingsToMemory", "ret": "const char*", @@ -28141,7 +29592,7 @@ "cimguiname": "igScaleWindowsInViewport", "defaults": {}, "funcname": "ScaleWindowsInViewport", - "location": "imgui_internal:2694", + "location": "imgui_internal:2983", "namespace": "ImGui", "ov_cimguiname": "igScaleWindowsInViewport", "ret": "void", @@ -28167,7 +29618,7 @@ "cimguiname": "igScrollToBringRectIntoView", "defaults": {}, "funcname": "ScrollToBringRectIntoView", - "location": "imgui_internal:2720", + "location": "imgui_internal:3016", "namespace": "ImGui", "ov_cimguiname": "igScrollToBringRectIntoView", "ret": "void", @@ -28191,7 +29642,7 @@ "flags": "0" }, "funcname": "ScrollToItem", - "location": "imgui_internal:2716", + "location": "imgui_internal:3012", "namespace": "ImGui", "ov_cimguiname": "igScrollToItem", "ret": "void", @@ -28223,7 +29674,7 @@ "flags": "0" }, "funcname": "ScrollToRect", - "location": "imgui_internal:2717", + "location": "imgui_internal:3013", "namespace": "ImGui", "ov_cimguiname": "igScrollToRect", "ret": "void", @@ -28259,7 +29710,7 @@ "flags": "0" }, "funcname": "ScrollToRectEx", - "location": "imgui_internal:2718", + "location": "imgui_internal:3014", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igScrollToRectEx", @@ -28282,7 +29733,7 @@ "cimguiname": "igScrollbar", "defaults": {}, "funcname": "Scrollbar", - "location": "imgui_internal:3007", + "location": "imgui_internal:3355", "namespace": "ImGui", "ov_cimguiname": "igScrollbar", "ret": "void", @@ -28328,7 +29779,7 @@ "cimguiname": "igScrollbarEx", "defaults": {}, "funcname": "ScrollbarEx", - "location": "imgui_internal:3008", + "location": "imgui_internal:3356", "namespace": "ImGui", "ov_cimguiname": "igScrollbarEx", "ret": "bool", @@ -28366,9 +29817,9 @@ "size": "ImVec2(0,0)" }, "funcname": "Selectable", - "location": "imgui:631", + "location": "imgui:632", "namespace": "ImGui", - "ov_cimguiname": "igSelectableBool", + "ov_cimguiname": "igSelectable_Bool", "ret": "bool", "signature": "(const char*,bool,ImGuiSelectableFlags,const ImVec2)", "stname": "" @@ -28401,9 +29852,9 @@ "size": "ImVec2(0,0)" }, "funcname": "Selectable", - "location": "imgui:632", + "location": "imgui:633", "namespace": "ImGui", - "ov_cimguiname": "igSelectableBoolPtr", + "ov_cimguiname": "igSelectable_BoolPtr", "ret": "bool", "signature": "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)", "stname": "" @@ -28418,7 +29869,7 @@ "cimguiname": "igSeparator", "defaults": {}, "funcname": "Separator", - "location": "imgui:450", + "location": "imgui:447", "namespace": "ImGui", "ov_cimguiname": "igSeparator", "ret": "void", @@ -28440,7 +29891,7 @@ "cimguiname": "igSeparatorEx", "defaults": {}, "funcname": "SeparatorEx", - "location": "imgui_internal:3014", + "location": "imgui_internal:3362", "namespace": "ImGui", "ov_cimguiname": "igSeparatorEx", "ret": "void", @@ -28466,7 +29917,7 @@ "cimguiname": "igSetActiveID", "defaults": {}, "funcname": "SetActiveID", - "location": "imgui_internal:2729", + "location": "imgui_internal:3025", "namespace": "ImGui", "ov_cimguiname": "igSetActiveID", "ret": "void", @@ -28474,18 +29925,18 @@ "stname": "" } ], - "igSetActiveIdUsingNavAndKeys": [ + "igSetActiveIdUsingAllKeyboardKeys": [ { "args": "()", "argsT": [], "argsoriginal": "()", "call_args": "()", - "cimguiname": "igSetActiveIdUsingNavAndKeys", + "cimguiname": "igSetActiveIdUsingAllKeyboardKeys", "defaults": {}, - "funcname": "SetActiveIdUsingNavAndKeys", - "location": "imgui_internal:2826", + "funcname": "SetActiveIdUsingAllKeyboardKeys", + "location": "imgui_internal:3124", "namespace": "ImGui", - "ov_cimguiname": "igSetActiveIdUsingNavAndKeys", + "ov_cimguiname": "igSetActiveIdUsingAllKeyboardKeys", "ret": "void", "signature": "()", "stname": "" @@ -28515,7 +29966,7 @@ "user_data": "NULL" }, "funcname": "SetAllocatorFunctions", - "location": "imgui:970", + "location": "imgui:972", "namespace": "ImGui", "ov_cimguiname": "igSetAllocatorFunctions", "ret": "void", @@ -28537,7 +29988,7 @@ "cimguiname": "igSetClipboardText", "defaults": {}, "funcname": "SetClipboardText", - "location": "imgui:951", + "location": "imgui:953", "namespace": "ImGui", "ov_cimguiname": "igSetClipboardText", "ret": "void", @@ -28559,7 +30010,7 @@ "cimguiname": "igSetColorEditOptions", "defaults": {}, "funcname": "SetColorEditOptions", - "location": "imgui:606", + "location": "imgui:607", "namespace": "ImGui", "ov_cimguiname": "igSetColorEditOptions", "ret": "void", @@ -28585,7 +30036,7 @@ "cimguiname": "igSetColumnOffset", "defaults": {}, "funcname": "SetColumnOffset", - "location": "imgui:793", + "location": "imgui:790", "namespace": "ImGui", "ov_cimguiname": "igSetColumnOffset", "ret": "void", @@ -28611,7 +30062,7 @@ "cimguiname": "igSetColumnWidth", "defaults": {}, "funcname": "SetColumnWidth", - "location": "imgui:791", + "location": "imgui:788", "namespace": "ImGui", "ov_cimguiname": "igSetColumnWidth", "ret": "void", @@ -28633,7 +30084,7 @@ "cimguiname": "igSetCurrentContext", "defaults": {}, "funcname": "SetCurrentContext", - "location": "imgui:304", + "location": "imgui:297", "namespace": "ImGui", "ov_cimguiname": "igSetCurrentContext", "ret": "void", @@ -28655,7 +30106,7 @@ "cimguiname": "igSetCurrentFont", "defaults": {}, "funcname": "SetCurrentFont", - "location": "imgui_internal:2672", + "location": "imgui_internal:2960", "namespace": "ImGui", "ov_cimguiname": "igSetCurrentFont", "ret": "void", @@ -28681,7 +30132,7 @@ "cimguiname": "igSetCurrentViewport", "defaults": {}, "funcname": "SetCurrentViewport", - "location": "imgui_internal:2696", + "location": "imgui_internal:2986", "namespace": "ImGui", "ov_cimguiname": "igSetCurrentViewport", "ret": "void", @@ -28703,7 +30154,7 @@ "cimguiname": "igSetCursorPos", "defaults": {}, "funcname": "SetCursorPos", - "location": "imgui:462", + "location": "imgui:459", "namespace": "ImGui", "ov_cimguiname": "igSetCursorPos", "ret": "void", @@ -28725,7 +30176,7 @@ "cimguiname": "igSetCursorPosX", "defaults": {}, "funcname": "SetCursorPosX", - "location": "imgui:463", + "location": "imgui:460", "namespace": "ImGui", "ov_cimguiname": "igSetCursorPosX", "ret": "void", @@ -28747,7 +30198,7 @@ "cimguiname": "igSetCursorPosY", "defaults": {}, "funcname": "SetCursorPosY", - "location": "imgui:464", + "location": "imgui:461", "namespace": "ImGui", "ov_cimguiname": "igSetCursorPosY", "ret": "void", @@ -28769,7 +30220,7 @@ "cimguiname": "igSetCursorScreenPos", "defaults": {}, "funcname": "SetCursorScreenPos", - "location": "imgui:467", + "location": "imgui:464", "namespace": "ImGui", "ov_cimguiname": "igSetCursorScreenPos", "ret": "void", @@ -28805,7 +30256,7 @@ "cond": "0" }, "funcname": "SetDragDropPayload", - "location": "imgui:841", + "location": "imgui:838", "namespace": "ImGui", "ov_cimguiname": "igSetDragDropPayload", "ret": "bool", @@ -28831,7 +30282,7 @@ "cimguiname": "igSetFocusID", "defaults": {}, "funcname": "SetFocusID", - "location": "imgui_internal:2730", + "location": "imgui_internal:3026", "namespace": "ImGui", "ov_cimguiname": "igSetFocusID", "ret": "void", @@ -28853,7 +30304,7 @@ "cimguiname": "igSetHoveredID", "defaults": {}, "funcname": "SetHoveredID", - "location": "imgui_internal:2733", + "location": "imgui_internal:3029", "namespace": "ImGui", "ov_cimguiname": "igSetHoveredID", "ret": "void", @@ -28870,7 +30321,7 @@ "cimguiname": "igSetItemAllowOverlap", "defaults": {}, "funcname": "SetItemAllowOverlap", - "location": "imgui:884", + "location": "imgui:881", "namespace": "ImGui", "ov_cimguiname": "igSetItemAllowOverlap", "ret": "void", @@ -28887,7 +30338,7 @@ "cimguiname": "igSetItemDefaultFocus", "defaults": {}, "funcname": "SetItemDefaultFocus", - "location": "imgui:862", + "location": "imgui:859", "namespace": "ImGui", "ov_cimguiname": "igSetItemDefaultFocus", "ret": "void", @@ -28895,20 +30346,63 @@ "stname": "" } ], - "igSetItemUsingMouseWheel": [ + "igSetItemKeyOwner": [ { - "args": "()", - "argsT": [], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "igSetItemUsingMouseWheel", - "defaults": {}, - "funcname": "SetItemUsingMouseWheel", - "location": "imgui_internal:2825", + "args": "(ImGuiKey key,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiInputFlags flags=0)", + "call_args": "(key,flags)", + "cimguiname": "igSetItemKeyOwner", + "defaults": { + "flags": "0" + }, + "funcname": "SetItemKeyOwner", + "location": "imgui_internal:3140", "namespace": "ImGui", - "ov_cimguiname": "igSetItemUsingMouseWheel", + "ov_cimguiname": "igSetItemKeyOwner", "ret": "void", - "signature": "()", + "signature": "(ImGuiKey,ImGuiInputFlags)", + "stname": "" + } + ], + "igSetKeyOwner": [ + { + "args": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)", + "call_args": "(key,owner_id,flags)", + "cimguiname": "igSetKeyOwner", + "defaults": { + "flags": "0" + }, + "funcname": "SetKeyOwner", + "location": "imgui_internal:3139", + "namespace": "ImGui", + "ov_cimguiname": "igSetKeyOwner", + "ret": "void", + "signature": "(ImGuiKey,ImGuiID,ImGuiInputFlags)", "stname": "" } ], @@ -28928,7 +30422,7 @@ "offset": "0" }, "funcname": "SetKeyboardFocusHere", - "location": "imgui:863", + "location": "imgui:860", "namespace": "ImGui", "ov_cimguiname": "igSetKeyboardFocusHere", "ret": "void", @@ -28962,7 +30456,7 @@ "cimguiname": "igSetLastItemData", "defaults": {}, "funcname": "SetLastItemData", - "location": "imgui_internal:2745", + "location": "imgui_internal:3041", "namespace": "ImGui", "ov_cimguiname": "igSetLastItemData", "ret": "void", @@ -28984,7 +30478,7 @@ "cimguiname": "igSetMouseCursor", "defaults": {}, "funcname": "SetMouseCursor", - "location": "imgui:945", + "location": "imgui:947", "namespace": "ImGui", "ov_cimguiname": "igSetMouseCursor", "ret": "void", @@ -29018,7 +30512,7 @@ "cimguiname": "igSetNavID", "defaults": {}, "funcname": "SetNavID", - "location": "imgui_internal:2813", + "location": "imgui_internal:3096", "namespace": "ImGui", "ov_cimguiname": "igSetNavID", "ret": "void", @@ -29026,6 +30520,72 @@ "stname": "" } ], + "igSetNavWindow": [ + { + "args": "(ImGuiWindow* window)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igSetNavWindow", + "defaults": {}, + "funcname": "SetNavWindow", + "location": "imgui_internal:3095", + "namespace": "ImGui", + "ov_cimguiname": "igSetNavWindow", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" + } + ], + "igSetNextFrameWantCaptureKeyboard": [ + { + "args": "(bool want_capture_keyboard)", + "argsT": [ + { + "name": "want_capture_keyboard", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_keyboard)", + "call_args": "(want_capture_keyboard)", + "cimguiname": "igSetNextFrameWantCaptureKeyboard", + "defaults": {}, + "funcname": "SetNextFrameWantCaptureKeyboard", + "location": "imgui:927", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextFrameWantCaptureKeyboard", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igSetNextFrameWantCaptureMouse": [ + { + "args": "(bool want_capture_mouse)", + "argsT": [ + { + "name": "want_capture_mouse", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_mouse)", + "call_args": "(want_capture_mouse)", + "cimguiname": "igSetNextFrameWantCaptureMouse", + "defaults": {}, + "funcname": "SetNextFrameWantCaptureMouse", + "location": "imgui:948", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextFrameWantCaptureMouse", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], "igSetNextItemOpen": [ { "args": "(bool is_open,ImGuiCond cond)", @@ -29046,7 +30606,7 @@ "cond": "0" }, "funcname": "SetNextItemOpen", - "location": "imgui:626", + "location": "imgui:627", "namespace": "ImGui", "ov_cimguiname": "igSetNextItemOpen", "ret": "void", @@ -29068,7 +30628,7 @@ "cimguiname": "igSetNextItemWidth", "defaults": {}, "funcname": "SetNextItemWidth", - "location": "imgui:428", + "location": "imgui:425", "namespace": "ImGui", "ov_cimguiname": "igSetNextItemWidth", "ret": "void", @@ -29090,7 +30650,7 @@ "cimguiname": "igSetNextWindowBgAlpha", "defaults": {}, "funcname": "SetNextWindowBgAlpha", - "location": "imgui:379", + "location": "imgui:374", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowBgAlpha", "ret": "void", @@ -29112,7 +30672,7 @@ "cimguiname": "igSetNextWindowClass", "defaults": {}, "funcname": "SetNextWindowClass", - "location": "imgui:821", + "location": "imgui:818", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowClass", "ret": "void", @@ -29140,7 +30700,7 @@ "cond": "0" }, "funcname": "SetNextWindowCollapsed", - "location": "imgui:377", + "location": "imgui:371", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowCollapsed", "ret": "void", @@ -29162,7 +30722,7 @@ "cimguiname": "igSetNextWindowContentSize", "defaults": {}, "funcname": "SetNextWindowContentSize", - "location": "imgui:376", + "location": "imgui:370", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowContentSize", "ret": "void", @@ -29190,7 +30750,7 @@ "cond": "0" }, "funcname": "SetNextWindowDockID", - "location": "imgui:820", + "location": "imgui:817", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowDockID", "ret": "void", @@ -29207,7 +30767,7 @@ "cimguiname": "igSetNextWindowFocus", "defaults": {}, "funcname": "SetNextWindowFocus", - "location": "imgui:378", + "location": "imgui:372", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowFocus", "ret": "void", @@ -29240,7 +30800,7 @@ "pivot": "ImVec2(0,0)" }, "funcname": "SetNextWindowPos", - "location": "imgui:373", + "location": "imgui:367", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowPos", "ret": "void", @@ -29262,7 +30822,7 @@ "cimguiname": "igSetNextWindowScroll", "defaults": {}, "funcname": "SetNextWindowScroll", - "location": "imgui_internal:2709", + "location": "imgui:373", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowScroll", "ret": "void", @@ -29290,7 +30850,7 @@ "cond": "0" }, "funcname": "SetNextWindowSize", - "location": "imgui:374", + "location": "imgui:368", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowSize", "ret": "void", @@ -29327,7 +30887,7 @@ "custom_callback_data": "NULL" }, "funcname": "SetNextWindowSizeConstraints", - "location": "imgui:375", + "location": "imgui:369", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowSizeConstraints", "ret": "void", @@ -29349,7 +30909,7 @@ "cimguiname": "igSetNextWindowViewport", "defaults": {}, "funcname": "SetNextWindowViewport", - "location": "imgui:380", + "location": "imgui:375", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowViewport", "ret": "void", @@ -29377,9 +30937,9 @@ "center_x_ratio": "0.5f" }, "funcname": "SetScrollFromPosX", - "location": "imgui:408", + "location": "imgui:405", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosXFloat", + "ov_cimguiname": "igSetScrollFromPosX_Float", "ret": "void", "signature": "(float,float)", "stname": "" @@ -29405,9 +30965,9 @@ "cimguiname": "igSetScrollFromPosX", "defaults": {}, "funcname": "SetScrollFromPosX", - "location": "imgui_internal:2712", + "location": "imgui_internal:3008", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosXWindowPtr", + "ov_cimguiname": "igSetScrollFromPosX_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,float,float)", "stname": "" @@ -29433,9 +30993,9 @@ "center_y_ratio": "0.5f" }, "funcname": "SetScrollFromPosY", - "location": "imgui:409", + "location": "imgui:406", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosYFloat", + "ov_cimguiname": "igSetScrollFromPosY_Float", "ret": "void", "signature": "(float,float)", "stname": "" @@ -29461,9 +31021,9 @@ "cimguiname": "igSetScrollFromPosY", "defaults": {}, "funcname": "SetScrollFromPosY", - "location": "imgui_internal:2713", + "location": "imgui_internal:3009", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollFromPosYWindowPtr", + "ov_cimguiname": "igSetScrollFromPosY_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,float,float)", "stname": "" @@ -29485,7 +31045,7 @@ "center_x_ratio": "0.5f" }, "funcname": "SetScrollHereX", - "location": "imgui:406", + "location": "imgui:403", "namespace": "ImGui", "ov_cimguiname": "igSetScrollHereX", "ret": "void", @@ -29509,7 +31069,7 @@ "center_y_ratio": "0.5f" }, "funcname": "SetScrollHereY", - "location": "imgui:407", + "location": "imgui:404", "namespace": "ImGui", "ov_cimguiname": "igSetScrollHereY", "ret": "void", @@ -29531,9 +31091,9 @@ "cimguiname": "igSetScrollX", "defaults": {}, "funcname": "SetScrollX", - "location": "imgui:402", + "location": "imgui:399", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollXFloat", + "ov_cimguiname": "igSetScrollX_Float", "ret": "void", "signature": "(float)", "stname": "" @@ -29555,9 +31115,9 @@ "cimguiname": "igSetScrollX", "defaults": {}, "funcname": "SetScrollX", - "location": "imgui_internal:2710", + "location": "imgui_internal:3006", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollXWindowPtr", + "ov_cimguiname": "igSetScrollX_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,float)", "stname": "" @@ -29577,9 +31137,9 @@ "cimguiname": "igSetScrollY", "defaults": {}, "funcname": "SetScrollY", - "location": "imgui:403", + "location": "imgui:400", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollYFloat", + "ov_cimguiname": "igSetScrollY_Float", "ret": "void", "signature": "(float)", "stname": "" @@ -29601,14 +31161,47 @@ "cimguiname": "igSetScrollY", "defaults": {}, "funcname": "SetScrollY", - "location": "imgui_internal:2711", + "location": "imgui_internal:3007", "namespace": "ImGui", - "ov_cimguiname": "igSetScrollYWindowPtr", + "ov_cimguiname": "igSetScrollY_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,float)", "stname": "" } ], + "igSetShortcutRouting": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id=0,ImGuiInputFlags flags=0)", + "call_args": "(key_chord,owner_id,flags)", + "cimguiname": "igSetShortcutRouting", + "defaults": { + "flags": "0", + "owner_id": "0" + }, + "funcname": "SetShortcutRouting", + "location": "imgui_internal:3168", + "namespace": "ImGui", + "ov_cimguiname": "igSetShortcutRouting", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)", + "stname": "" + } + ], "igSetStateStorage": [ { "args": "(ImGuiStorage* storage)", @@ -29623,7 +31216,7 @@ "cimguiname": "igSetStateStorage", "defaults": {}, "funcname": "SetStateStorage", - "location": "imgui:903", + "location": "imgui:902", "namespace": "ImGui", "ov_cimguiname": "igSetStateStorage", "ret": "void", @@ -29645,7 +31238,7 @@ "cimguiname": "igSetTabItemClosed", "defaults": {}, "funcname": "SetTabItemClosed", - "location": "imgui:803", + "location": "imgui:800", "namespace": "ImGui", "ov_cimguiname": "igSetTabItemClosed", "ret": "void", @@ -29672,7 +31265,7 @@ "defaults": {}, "funcname": "SetTooltip", "isvararg": "...)", - "location": "imgui:677", + "location": "imgui:678", "namespace": "ImGui", "ov_cimguiname": "igSetTooltip", "ret": "void", @@ -29698,7 +31291,7 @@ "cimguiname": "igSetTooltipV", "defaults": {}, "funcname": "SetTooltipV", - "location": "imgui:678", + "location": "imgui:679", "namespace": "ImGui", "ov_cimguiname": "igSetTooltipV", "ret": "void", @@ -29724,7 +31317,7 @@ "cimguiname": "igSetWindowClipRectBeforeSetChannel", "defaults": {}, "funcname": "SetWindowClipRectBeforeSetChannel", - "location": "imgui_internal:2893", + "location": "imgui_internal:3244", "namespace": "ImGui", "ov_cimguiname": "igSetWindowClipRectBeforeSetChannel", "ret": "void", @@ -29752,9 +31345,9 @@ "cond": "0" }, "funcname": "SetWindowCollapsed", - "location": "imgui:383", + "location": "imgui:378", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsedBool", + "ov_cimguiname": "igSetWindowCollapsed_Bool", "ret": "void", "signature": "(bool,ImGuiCond)", "stname": "" @@ -29782,9 +31375,9 @@ "cond": "0" }, "funcname": "SetWindowCollapsed", - "location": "imgui:388", + "location": "imgui:383", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsedStr", + "ov_cimguiname": "igSetWindowCollapsed_Str", "ret": "void", "signature": "(const char*,bool,ImGuiCond)", "stname": "" @@ -29812,9 +31405,9 @@ "cond": "0" }, "funcname": "SetWindowCollapsed", - "location": "imgui_internal:2656", + "location": "imgui_internal:2944", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsedWindowPtr", + "ov_cimguiname": "igSetWindowCollapsed_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,bool,ImGuiCond)", "stname": "" @@ -29842,7 +31435,7 @@ "cimguiname": "igSetWindowDock", "defaults": {}, "funcname": "SetWindowDock", - "location": "imgui_internal:2861", + "location": "imgui_internal:3198", "namespace": "ImGui", "ov_cimguiname": "igSetWindowDock", "ret": "void", @@ -29859,9 +31452,9 @@ "cimguiname": "igSetWindowFocus", "defaults": {}, "funcname": "SetWindowFocus", - "location": "imgui:384", + "location": "imgui:379", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFocusNil", + "ov_cimguiname": "igSetWindowFocus_Nil", "ret": "void", "signature": "()", "stname": "" @@ -29879,9 +31472,9 @@ "cimguiname": "igSetWindowFocus", "defaults": {}, "funcname": "SetWindowFocus", - "location": "imgui:389", + "location": "imgui:384", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFocusStr", + "ov_cimguiname": "igSetWindowFocus_Str", "ret": "void", "signature": "(const char*)", "stname": "" @@ -29901,7 +31494,7 @@ "cimguiname": "igSetWindowFontScale", "defaults": {}, "funcname": "SetWindowFontScale", - "location": "imgui:385", + "location": "imgui:380", "namespace": "ImGui", "ov_cimguiname": "igSetWindowFontScale", "ret": "void", @@ -29931,7 +31524,7 @@ "cimguiname": "igSetWindowHitTestHole", "defaults": {}, "funcname": "SetWindowHitTestHole", - "location": "imgui_internal:2657", + "location": "imgui_internal:2945", "namespace": "ImGui", "ov_cimguiname": "igSetWindowHitTestHole", "ret": "void", @@ -29959,9 +31552,9 @@ "cond": "0" }, "funcname": "SetWindowPos", - "location": "imgui:381", + "location": "imgui:376", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPosVec2", + "ov_cimguiname": "igSetWindowPos_Vec2", "ret": "void", "signature": "(const ImVec2,ImGuiCond)", "stname": "" @@ -29989,9 +31582,9 @@ "cond": "0" }, "funcname": "SetWindowPos", - "location": "imgui:386", + "location": "imgui:381", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPosStr", + "ov_cimguiname": "igSetWindowPos_Str", "ret": "void", "signature": "(const char*,const ImVec2,ImGuiCond)", "stname": "" @@ -30019,9 +31612,9 @@ "cond": "0" }, "funcname": "SetWindowPos", - "location": "imgui_internal:2654", + "location": "imgui_internal:2942", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPosWindowPtr", + "ov_cimguiname": "igSetWindowPos_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,const ImVec2,ImGuiCond)", "stname": "" @@ -30047,9 +31640,9 @@ "cond": "0" }, "funcname": "SetWindowSize", - "location": "imgui:382", + "location": "imgui:377", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSizeVec2", + "ov_cimguiname": "igSetWindowSize_Vec2", "ret": "void", "signature": "(const ImVec2,ImGuiCond)", "stname": "" @@ -30077,9 +31670,9 @@ "cond": "0" }, "funcname": "SetWindowSize", - "location": "imgui:387", + "location": "imgui:382", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSizeStr", + "ov_cimguiname": "igSetWindowSize_Str", "ret": "void", "signature": "(const char*,const ImVec2,ImGuiCond)", "stname": "" @@ -30107,14 +31700,40 @@ "cond": "0" }, "funcname": "SetWindowSize", - "location": "imgui_internal:2655", + "location": "imgui_internal:2943", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSizeWindowPtr", + "ov_cimguiname": "igSetWindowSize_WindowPtr", "ret": "void", "signature": "(ImGuiWindow*,const ImVec2,ImGuiCond)", "stname": "" } ], + "igSetWindowViewport": [ + { + "args": "(ImGuiWindow* window,ImGuiViewportP* viewport)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "viewport", + "type": "ImGuiViewportP*" + } + ], + "argsoriginal": "(ImGuiWindow* window,ImGuiViewportP* viewport)", + "call_args": "(window,viewport)", + "cimguiname": "igSetWindowViewport", + "defaults": {}, + "funcname": "SetWindowViewport", + "location": "imgui_internal:2985", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowViewport", + "ret": "void", + "signature": "(ImGuiWindow*,ImGuiViewportP*)", + "stname": "" + } + ], "igShadeVertsLinearColorGradientKeepAlpha": [ { "args": "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2 gradient_p0,ImVec2 gradient_p1,ImU32 col0,ImU32 col1)", @@ -30153,7 +31772,7 @@ "cimguiname": "igShadeVertsLinearColorGradientKeepAlpha", "defaults": {}, "funcname": "ShadeVertsLinearColorGradientKeepAlpha", - "location": "imgui_internal:3061", + "location": "imgui_internal:3410", "namespace": "ImGui", "ov_cimguiname": "igShadeVertsLinearColorGradientKeepAlpha", "ret": "void", @@ -30203,7 +31822,7 @@ "cimguiname": "igShadeVertsLinearUV", "defaults": {}, "funcname": "ShadeVertsLinearUV", - "location": "imgui_internal:3062", + "location": "imgui_internal:3411", "namespace": "ImGui", "ov_cimguiname": "igShadeVertsLinearUV", "ret": "void", @@ -30211,6 +31830,39 @@ "stname": "" } ], + "igShortcut": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "owner_id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiInputFlags" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id=0,ImGuiInputFlags flags=0)", + "call_args": "(key_chord,owner_id,flags)", + "cimguiname": "igShortcut", + "defaults": { + "flags": "0", + "owner_id": "0" + }, + "funcname": "Shortcut", + "location": "imgui_internal:3167", + "namespace": "ImGui", + "ov_cimguiname": "igShortcut", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)", + "stname": "" + } + ], "igShowAboutWindow": [ { "args": "(bool* p_open)", @@ -30227,7 +31879,7 @@ "p_open": "NULL" }, "funcname": "ShowAboutWindow", - "location": "imgui:318", + "location": "imgui:312", "namespace": "ImGui", "ov_cimguiname": "igShowAboutWindow", "ret": "void", @@ -30235,6 +31887,30 @@ "stname": "" } ], + "igShowDebugLogWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowDebugLogWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowDebugLogWindow", + "location": "imgui:310", + "namespace": "ImGui", + "ov_cimguiname": "igShowDebugLogWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], "igShowDemoWindow": [ { "args": "(bool* p_open)", @@ -30251,7 +31927,7 @@ "p_open": "NULL" }, "funcname": "ShowDemoWindow", - "location": "imgui:315", + "location": "imgui:308", "namespace": "ImGui", "ov_cimguiname": "igShowDemoWindow", "ret": "void", @@ -30273,7 +31949,7 @@ "cimguiname": "igShowFontAtlas", "defaults": {}, "funcname": "ShowFontAtlas", - "location": "imgui_internal:3075", + "location": "imgui_internal:3431", "namespace": "ImGui", "ov_cimguiname": "igShowFontAtlas", "ret": "void", @@ -30295,7 +31971,7 @@ "cimguiname": "igShowFontSelector", "defaults": {}, "funcname": "ShowFontSelector", - "location": "imgui:321", + "location": "imgui:315", "namespace": "ImGui", "ov_cimguiname": "igShowFontSelector", "ret": "void", @@ -30319,7 +31995,7 @@ "p_open": "NULL" }, "funcname": "ShowMetricsWindow", - "location": "imgui:316", + "location": "imgui:309", "namespace": "ImGui", "ov_cimguiname": "igShowMetricsWindow", "ret": "void", @@ -30343,7 +32019,7 @@ "p_open": "NULL" }, "funcname": "ShowStackToolWindow", - "location": "imgui:317", + "location": "imgui:311", "namespace": "ImGui", "ov_cimguiname": "igShowStackToolWindow", "ret": "void", @@ -30367,7 +32043,7 @@ "ref": "NULL" }, "funcname": "ShowStyleEditor", - "location": "imgui:319", + "location": "imgui:313", "namespace": "ImGui", "ov_cimguiname": "igShowStyleEditor", "ret": "void", @@ -30389,7 +32065,7 @@ "cimguiname": "igShowStyleSelector", "defaults": {}, "funcname": "ShowStyleSelector", - "location": "imgui:320", + "location": "imgui:314", "namespace": "ImGui", "ov_cimguiname": "igShowStyleSelector", "ret": "bool", @@ -30406,7 +32082,7 @@ "cimguiname": "igShowUserGuide", "defaults": {}, "funcname": "ShowUserGuide", - "location": "imgui:322", + "location": "imgui:316", "namespace": "ImGui", "ov_cimguiname": "igShowUserGuide", "ret": "void", @@ -30436,7 +32112,7 @@ "cimguiname": "igShrinkWidths", "defaults": {}, "funcname": "ShrinkWidths", - "location": "imgui_internal:2751", + "location": "imgui_internal:3047", "namespace": "ImGui", "ov_cimguiname": "igShrinkWidths", "ret": "void", @@ -30446,23 +32122,18 @@ ], "igShutdown": [ { - "args": "(ImGuiContext* context)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* context)", - "call_args": "(context)", + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", "cimguiname": "igShutdown", "defaults": {}, "funcname": "Shutdown", - "location": "imgui_internal:2678", + "location": "imgui_internal:2966", "namespace": "ImGui", "ov_cimguiname": "igShutdown", "ret": "void", - "signature": "(ImGuiContext*)", + "signature": "()", "stname": "" } ], @@ -30505,7 +32176,7 @@ "v_degrees_min": "-360.0f" }, "funcname": "SliderAngle", - "location": "imgui:569", + "location": "imgui:570", "namespace": "ImGui", "ov_cimguiname": "igSliderAngle", "ret": "bool", @@ -30559,7 +32230,7 @@ "cimguiname": "igSliderBehavior", "defaults": {}, "funcname": "SliderBehavior", - "location": "imgui_internal:3021", + "location": "imgui_internal:3369", "namespace": "ImGui", "ov_cimguiname": "igSliderBehavior", "ret": "bool", @@ -30604,7 +32275,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat", - "location": "imgui:565", + "location": "imgui:566", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat", "ret": "bool", @@ -30649,7 +32320,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat2", - "location": "imgui:566", + "location": "imgui:567", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat2", "ret": "bool", @@ -30694,7 +32365,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat3", - "location": "imgui:567", + "location": "imgui:568", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat3", "ret": "bool", @@ -30739,7 +32410,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat4", - "location": "imgui:568", + "location": "imgui:569", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat4", "ret": "bool", @@ -30784,7 +32455,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt", - "location": "imgui:570", + "location": "imgui:571", "namespace": "ImGui", "ov_cimguiname": "igSliderInt", "ret": "bool", @@ -30829,7 +32500,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt2", - "location": "imgui:571", + "location": "imgui:572", "namespace": "ImGui", "ov_cimguiname": "igSliderInt2", "ret": "bool", @@ -30874,7 +32545,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt3", - "location": "imgui:572", + "location": "imgui:573", "namespace": "ImGui", "ov_cimguiname": "igSliderInt3", "ret": "bool", @@ -30919,7 +32590,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt4", - "location": "imgui:573", + "location": "imgui:574", "namespace": "ImGui", "ov_cimguiname": "igSliderInt4", "ret": "bool", @@ -30968,7 +32639,7 @@ "format": "NULL" }, "funcname": "SliderScalar", - "location": "imgui:574", + "location": "imgui:575", "namespace": "ImGui", "ov_cimguiname": "igSliderScalar", "ret": "bool", @@ -31021,7 +32692,7 @@ "format": "NULL" }, "funcname": "SliderScalarN", - "location": "imgui:575", + "location": "imgui:576", "namespace": "ImGui", "ov_cimguiname": "igSliderScalarN", "ret": "bool", @@ -31043,7 +32714,7 @@ "cimguiname": "igSmallButton", "defaults": {}, "funcname": "SmallButton", - "location": "imgui:513", + "location": "imgui:510", "namespace": "ImGui", "ov_cimguiname": "igSmallButton", "ret": "bool", @@ -31060,7 +32731,7 @@ "cimguiname": "igSpacing", "defaults": {}, "funcname": "Spacing", - "location": "imgui:453", + "location": "imgui:450", "namespace": "ImGui", "ov_cimguiname": "igSpacing", "ret": "void", @@ -31122,7 +32793,7 @@ "hover_visibility_delay": "0.0f" }, "funcname": "SplitterBehavior", - "location": "imgui_internal:3022", + "location": "imgui_internal:3370", "namespace": "ImGui", "ov_cimguiname": "igSplitterBehavior", "ret": "bool", @@ -31144,7 +32815,7 @@ "cimguiname": "igStartMouseMovingWindow", "defaults": {}, "funcname": "StartMouseMovingWindow", - "location": "imgui_internal:2682", + "location": "imgui_internal:2971", "namespace": "ImGui", "ov_cimguiname": "igStartMouseMovingWindow", "ret": "void", @@ -31174,7 +32845,7 @@ "cimguiname": "igStartMouseMovingWindowOrNode", "defaults": {}, "funcname": "StartMouseMovingWindowOrNode", - "location": "imgui_internal:2683", + "location": "imgui_internal:2972", "namespace": "ImGui", "ov_cimguiname": "igStartMouseMovingWindowOrNode", "ret": "void", @@ -31198,7 +32869,7 @@ "dst": "NULL" }, "funcname": "StyleColorsClassic", - "location": "imgui:328", + "location": "imgui:322", "namespace": "ImGui", "ov_cimguiname": "igStyleColorsClassic", "ret": "void", @@ -31222,7 +32893,7 @@ "dst": "NULL" }, "funcname": "StyleColorsDark", - "location": "imgui:326", + "location": "imgui:320", "namespace": "ImGui", "ov_cimguiname": "igStyleColorsDark", "ret": "void", @@ -31246,7 +32917,7 @@ "dst": "NULL" }, "funcname": "StyleColorsLight", - "location": "imgui:327", + "location": "imgui:321", "namespace": "ImGui", "ov_cimguiname": "igStyleColorsLight", "ret": "void", @@ -31276,7 +32947,7 @@ "cimguiname": "igTabBarAddTab", "defaults": {}, "funcname": "TabBarAddTab", - "location": "imgui_internal:2959", + "location": "imgui_internal:3312", "namespace": "ImGui", "ov_cimguiname": "igTabBarAddTab", "ret": "void", @@ -31302,7 +32973,7 @@ "cimguiname": "igTabBarCloseTab", "defaults": {}, "funcname": "TabBarCloseTab", - "location": "imgui_internal:2961", + "location": "imgui_internal:3314", "namespace": "ImGui", "ov_cimguiname": "igTabBarCloseTab", "ret": "void", @@ -31324,7 +32995,7 @@ "cimguiname": "igTabBarFindMostRecentlySelectedTabForActiveWindow", "defaults": {}, "funcname": "TabBarFindMostRecentlySelectedTabForActiveWindow", - "location": "imgui_internal:2958", + "location": "imgui_internal:3311", "namespace": "ImGui", "ov_cimguiname": "igTabBarFindMostRecentlySelectedTabForActiveWindow", "ret": "ImGuiTabItem*", @@ -31350,7 +33021,7 @@ "cimguiname": "igTabBarFindTabByID", "defaults": {}, "funcname": "TabBarFindTabByID", - "location": "imgui_internal:2957", + "location": "imgui_internal:3310", "namespace": "ImGui", "ov_cimguiname": "igTabBarFindTabByID", "ret": "ImGuiTabItem*", @@ -31372,7 +33043,7 @@ "cimguiname": "igTabBarProcessReorder", "defaults": {}, "funcname": "TabBarProcessReorder", - "location": "imgui_internal:2964", + "location": "imgui_internal:3317", "namespace": "ImGui", "ov_cimguiname": "igTabBarProcessReorder", "ret": "bool", @@ -31402,7 +33073,7 @@ "cimguiname": "igTabBarQueueReorder", "defaults": {}, "funcname": "TabBarQueueReorder", - "location": "imgui_internal:2962", + "location": "imgui_internal:3315", "namespace": "ImGui", "ov_cimguiname": "igTabBarQueueReorder", "ret": "void", @@ -31432,7 +33103,7 @@ "cimguiname": "igTabBarQueueReorderFromMousePos", "defaults": {}, "funcname": "TabBarQueueReorderFromMousePos", - "location": "imgui_internal:2963", + "location": "imgui_internal:3316", "namespace": "ImGui", "ov_cimguiname": "igTabBarQueueReorderFromMousePos", "ret": "void", @@ -31458,7 +33129,7 @@ "cimguiname": "igTabBarRemoveTab", "defaults": {}, "funcname": "TabBarRemoveTab", - "location": "imgui_internal:2960", + "location": "imgui_internal:3313", "namespace": "ImGui", "ov_cimguiname": "igTabBarRemoveTab", "ret": "void", @@ -31492,7 +33163,7 @@ "cimguiname": "igTabItemBackground", "defaults": {}, "funcname": "TabItemBackground", - "location": "imgui_internal:2967", + "location": "imgui_internal:3321", "namespace": "ImGui", "ov_cimguiname": "igTabItemBackground", "ret": "void", @@ -31520,7 +33191,7 @@ "flags": "0" }, "funcname": "TabItemButton", - "location": "imgui:802", + "location": "imgui:799", "namespace": "ImGui", "ov_cimguiname": "igTabItemButton", "ret": "bool", @@ -31530,7 +33201,7 @@ ], "igTabItemCalcSize": [ { - "args": "(ImVec2 *pOut,const char* label,bool has_close_button)", + "args": "(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker)", "argsT": [ { "name": "pOut", @@ -31541,22 +33212,47 @@ "type": "const char*" }, { - "name": "has_close_button", + "name": "has_close_button_or_unsaved_marker", "type": "bool" } ], - "argsoriginal": "(const char* label,bool has_close_button)", - "call_args": "(label,has_close_button)", + "argsoriginal": "(const char* label,bool has_close_button_or_unsaved_marker)", + "call_args": "(label,has_close_button_or_unsaved_marker)", "cimguiname": "igTabItemCalcSize", "defaults": {}, "funcname": "TabItemCalcSize", - "location": "imgui_internal:2966", + "location": "imgui_internal:3319", "namespace": "ImGui", "nonUDT": 1, - "ov_cimguiname": "igTabItemCalcSize", + "ov_cimguiname": "igTabItemCalcSize_Str", "ret": "void", "signature": "(const char*,bool)", "stname": "" + }, + { + "args": "(ImVec2 *pOut,ImGuiWindow* window)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "window", + "type": "ImGuiWindow*" + } + ], + "argsoriginal": "(ImGuiWindow* window)", + "call_args": "(window)", + "cimguiname": "igTabItemCalcSize", + "defaults": {}, + "funcname": "TabItemCalcSize", + "location": "imgui_internal:3320", + "namespace": "ImGui", + "nonUDT": 1, + "ov_cimguiname": "igTabItemCalcSize_WindowPtr", + "ret": "void", + "signature": "(ImGuiWindow*)", + "stname": "" } ], "igTabItemEx": [ @@ -31589,7 +33285,7 @@ "cimguiname": "igTabItemEx", "defaults": {}, "funcname": "TabItemEx", - "location": "imgui_internal:2965", + "location": "imgui_internal:3318", "namespace": "ImGui", "ov_cimguiname": "igTabItemEx", "ret": "bool", @@ -31647,7 +33343,7 @@ "cimguiname": "igTabItemLabelAndCloseButton", "defaults": {}, "funcname": "TabItemLabelAndCloseButton", - "location": "imgui_internal:2968", + "location": "imgui_internal:3322", "namespace": "ImGui", "ov_cimguiname": "igTabItemLabelAndCloseButton", "ret": "void", @@ -31669,7 +33365,7 @@ "cimguiname": "igTableBeginApplyRequests", "defaults": {}, "funcname": "TableBeginApplyRequests", - "location": "imgui_internal:2918", + "location": "imgui_internal:3269", "namespace": "ImGui", "ov_cimguiname": "igTableBeginApplyRequests", "ret": "void", @@ -31695,7 +33391,7 @@ "cimguiname": "igTableBeginCell", "defaults": {}, "funcname": "TableBeginCell", - "location": "imgui_internal:2933", + "location": "imgui_internal:3286", "namespace": "ImGui", "ov_cimguiname": "igTableBeginCell", "ret": "void", @@ -31703,6 +33399,28 @@ "stname": "" } ], + "igTableBeginContextMenuPopup": [ + { + "args": "(ImGuiTable* table)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + } + ], + "argsoriginal": "(ImGuiTable* table)", + "call_args": "(table)", + "cimguiname": "igTableBeginContextMenuPopup", + "defaults": {}, + "funcname": "TableBeginContextMenuPopup", + "location": "imgui_internal:3276", + "namespace": "ImGui", + "ov_cimguiname": "igTableBeginContextMenuPopup", + "ret": "bool", + "signature": "(ImGuiTable*)", + "stname": "" + } + ], "igTableBeginInitMemory": [ { "args": "(ImGuiTable* table,int columns_count)", @@ -31721,7 +33439,7 @@ "cimguiname": "igTableBeginInitMemory", "defaults": {}, "funcname": "TableBeginInitMemory", - "location": "imgui_internal:2917", + "location": "imgui_internal:3268", "namespace": "ImGui", "ov_cimguiname": "igTableBeginInitMemory", "ret": "void", @@ -31743,7 +33461,7 @@ "cimguiname": "igTableBeginRow", "defaults": {}, "funcname": "TableBeginRow", - "location": "imgui_internal:2931", + "location": "imgui_internal:3284", "namespace": "ImGui", "ov_cimguiname": "igTableBeginRow", "ret": "void", @@ -31765,7 +33483,7 @@ "cimguiname": "igTableDrawBorders", "defaults": {}, "funcname": "TableDrawBorders", - "location": "imgui_internal:2923", + "location": "imgui_internal:3274", "namespace": "ImGui", "ov_cimguiname": "igTableDrawBorders", "ret": "void", @@ -31787,7 +33505,7 @@ "cimguiname": "igTableDrawContextMenu", "defaults": {}, "funcname": "TableDrawContextMenu", - "location": "imgui_internal:2924", + "location": "imgui_internal:3275", "namespace": "ImGui", "ov_cimguiname": "igTableDrawContextMenu", "ret": "void", @@ -31809,7 +33527,7 @@ "cimguiname": "igTableEndCell", "defaults": {}, "funcname": "TableEndCell", - "location": "imgui_internal:2934", + "location": "imgui_internal:3287", "namespace": "ImGui", "ov_cimguiname": "igTableEndCell", "ret": "void", @@ -31831,7 +33549,7 @@ "cimguiname": "igTableEndRow", "defaults": {}, "funcname": "TableEndRow", - "location": "imgui_internal:2932", + "location": "imgui_internal:3285", "namespace": "ImGui", "ov_cimguiname": "igTableEndRow", "ret": "void", @@ -31853,7 +33571,7 @@ "cimguiname": "igTableFindByID", "defaults": {}, "funcname": "TableFindByID", - "location": "imgui_internal:2915", + "location": "imgui_internal:3266", "namespace": "ImGui", "ov_cimguiname": "igTableFindByID", "ret": "ImGuiTable*", @@ -31879,7 +33597,7 @@ "cimguiname": "igTableFixColumnSortDirection", "defaults": {}, "funcname": "TableFixColumnSortDirection", - "location": "imgui_internal:2929", + "location": "imgui_internal:3282", "namespace": "ImGui", "ov_cimguiname": "igTableFixColumnSortDirection", "ret": "void", @@ -31896,7 +33614,7 @@ "cimguiname": "igTableGcCompactSettings", "defaults": {}, "funcname": "TableGcCompactSettings", - "location": "imgui_internal:2944", + "location": "imgui_internal:3297", "namespace": "ImGui", "ov_cimguiname": "igTableGcCompactSettings", "ret": "void", @@ -31918,9 +33636,9 @@ "cimguiname": "igTableGcCompactTransientBuffers", "defaults": {}, "funcname": "TableGcCompactTransientBuffers", - "location": "imgui_internal:2942", + "location": "imgui_internal:3295", "namespace": "ImGui", - "ov_cimguiname": "igTableGcCompactTransientBuffersTablePtr", + "ov_cimguiname": "igTableGcCompactTransientBuffers_TablePtr", "ret": "void", "signature": "(ImGuiTable*)", "stname": "" @@ -31938,9 +33656,9 @@ "cimguiname": "igTableGcCompactTransientBuffers", "defaults": {}, "funcname": "TableGcCompactTransientBuffers", - "location": "imgui_internal:2943", + "location": "imgui_internal:3296", "namespace": "ImGui", - "ov_cimguiname": "igTableGcCompactTransientBuffersTableTempDataPtr", + "ov_cimguiname": "igTableGcCompactTransientBuffers_TableTempDataPtr", "ret": "void", "signature": "(ImGuiTableTempData*)", "stname": "" @@ -31960,7 +33678,7 @@ "cimguiname": "igTableGetBoundSettings", "defaults": {}, "funcname": "TableGetBoundSettings", - "location": "imgui_internal:2950", + "location": "imgui_internal:3303", "namespace": "ImGui", "ov_cimguiname": "igTableGetBoundSettings", "ret": "ImGuiTableSettings*", @@ -31990,7 +33708,7 @@ "cimguiname": "igTableGetCellBgRect", "defaults": {}, "funcname": "TableGetCellBgRect", - "location": "imgui_internal:2935", + "location": "imgui_internal:3288", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igTableGetCellBgRect", @@ -32008,7 +33726,7 @@ "cimguiname": "igTableGetColumnCount", "defaults": {}, "funcname": "TableGetColumnCount", - "location": "imgui:777", + "location": "imgui:774", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnCount", "ret": "int", @@ -32032,7 +33750,7 @@ "column_n": "-1" }, "funcname": "TableGetColumnFlags", - "location": "imgui:781", + "location": "imgui:778", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnFlags", "ret": "ImGuiTableColumnFlags", @@ -32049,7 +33767,7 @@ "cimguiname": "igTableGetColumnIndex", "defaults": {}, "funcname": "TableGetColumnIndex", - "location": "imgui:778", + "location": "imgui:775", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnIndex", "ret": "int", @@ -32073,9 +33791,9 @@ "column_n": "-1" }, "funcname": "TableGetColumnName", - "location": "imgui:780", + "location": "imgui:777", "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnNameInt", + "ov_cimguiname": "igTableGetColumnName_Int", "ret": "const char*", "signature": "(int)", "stname": "" @@ -32097,9 +33815,9 @@ "cimguiname": "igTableGetColumnName", "defaults": {}, "funcname": "TableGetColumnName", - "location": "imgui_internal:2936", + "location": "imgui_internal:3289", "namespace": "ImGui", - "ov_cimguiname": "igTableGetColumnNameTablePtr", + "ov_cimguiname": "igTableGetColumnName_TablePtr", "ret": "const char*", "signature": "(const ImGuiTable*,int)", "stname": "" @@ -32119,7 +33837,7 @@ "cimguiname": "igTableGetColumnNextSortDirection", "defaults": {}, "funcname": "TableGetColumnNextSortDirection", - "location": "imgui_internal:2928", + "location": "imgui_internal:3281", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnNextSortDirection", "ret": "ImGuiSortDirection", @@ -32151,7 +33869,7 @@ "instance_no": "0" }, "funcname": "TableGetColumnResizeID", - "location": "imgui_internal:2937", + "location": "imgui_internal:3290", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnResizeID", "ret": "ImGuiID", @@ -32177,7 +33895,7 @@ "cimguiname": "igTableGetColumnWidthAuto", "defaults": {}, "funcname": "TableGetColumnWidthAuto", - "location": "imgui_internal:2930", + "location": "imgui_internal:3283", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnWidthAuto", "ret": "float", @@ -32194,7 +33912,7 @@ "cimguiname": "igTableGetHeaderRowHeight", "defaults": {}, "funcname": "TableGetHeaderRowHeight", - "location": "imgui_internal:2909", + "location": "imgui_internal:3260", "namespace": "ImGui", "ov_cimguiname": "igTableGetHeaderRowHeight", "ret": "float", @@ -32211,7 +33929,7 @@ "cimguiname": "igTableGetHoveredColumn", "defaults": {}, "funcname": "TableGetHoveredColumn", - "location": "imgui_internal:2908", + "location": "imgui_internal:3259", "namespace": "ImGui", "ov_cimguiname": "igTableGetHoveredColumn", "ret": "int", @@ -32219,6 +33937,32 @@ "stname": "" } ], + "igTableGetInstanceData": [ + { + "args": "(ImGuiTable* table,int instance_no)", + "argsT": [ + { + "name": "table", + "type": "ImGuiTable*" + }, + { + "name": "instance_no", + "type": "int" + } + ], + "argsoriginal": "(ImGuiTable* table,int instance_no)", + "call_args": "(table,instance_no)", + "cimguiname": "igTableGetInstanceData", + "defaults": {}, + "funcname": "TableGetInstanceData", + "location": "imgui_internal:3278", + "namespace": "ImGui", + "ov_cimguiname": "igTableGetInstanceData", + "ret": "ImGuiTableInstanceData*", + "signature": "(ImGuiTable*,int)", + "stname": "" + } + ], "igTableGetMaxColumnWidth": [ { "args": "(const ImGuiTable* table,int column_n)", @@ -32237,7 +33981,7 @@ "cimguiname": "igTableGetMaxColumnWidth", "defaults": {}, "funcname": "TableGetMaxColumnWidth", - "location": "imgui_internal:2938", + "location": "imgui_internal:3291", "namespace": "ImGui", "ov_cimguiname": "igTableGetMaxColumnWidth", "ret": "float", @@ -32254,7 +33998,7 @@ "cimguiname": "igTableGetRowIndex", "defaults": {}, "funcname": "TableGetRowIndex", - "location": "imgui:779", + "location": "imgui:776", "namespace": "ImGui", "ov_cimguiname": "igTableGetRowIndex", "ret": "int", @@ -32332,7 +34076,7 @@ "cimguiname": "igTableLoadSettings", "defaults": {}, "funcname": "TableLoadSettings", - "location": "imgui_internal:2947", + "location": "imgui_internal:3300", "namespace": "ImGui", "ov_cimguiname": "igTableLoadSettings", "ret": "void", @@ -32354,7 +34098,7 @@ "cimguiname": "igTableMergeDrawChannels", "defaults": {}, "funcname": "TableMergeDrawChannels", - "location": "imgui_internal:2925", + "location": "imgui_internal:3277", "namespace": "ImGui", "ov_cimguiname": "igTableMergeDrawChannels", "ret": "void", @@ -32424,7 +34168,7 @@ "column_n": "-1" }, "funcname": "TableOpenContextMenu", - "location": "imgui_internal:2905", + "location": "imgui_internal:3256", "namespace": "ImGui", "ov_cimguiname": "igTableOpenContextMenu", "ret": "void", @@ -32441,7 +34185,7 @@ "cimguiname": "igTablePopBackgroundChannel", "defaults": {}, "funcname": "TablePopBackgroundChannel", - "location": "imgui_internal:2911", + "location": "imgui_internal:3262", "namespace": "ImGui", "ov_cimguiname": "igTablePopBackgroundChannel", "ret": "void", @@ -32458,7 +34202,7 @@ "cimguiname": "igTablePushBackgroundChannel", "defaults": {}, "funcname": "TablePushBackgroundChannel", - "location": "imgui_internal:2910", + "location": "imgui_internal:3261", "namespace": "ImGui", "ov_cimguiname": "igTablePushBackgroundChannel", "ret": "void", @@ -32480,7 +34224,7 @@ "cimguiname": "igTableRemove", "defaults": {}, "funcname": "TableRemove", - "location": "imgui_internal:2941", + "location": "imgui_internal:3294", "namespace": "ImGui", "ov_cimguiname": "igTableRemove", "ret": "void", @@ -32502,7 +34246,7 @@ "cimguiname": "igTableResetSettings", "defaults": {}, "funcname": "TableResetSettings", - "location": "imgui_internal:2949", + "location": "imgui_internal:3302", "namespace": "ImGui", "ov_cimguiname": "igTableResetSettings", "ret": "void", @@ -32524,7 +34268,7 @@ "cimguiname": "igTableSaveSettings", "defaults": {}, "funcname": "TableSaveSettings", - "location": "imgui_internal:2948", + "location": "imgui_internal:3301", "namespace": "ImGui", "ov_cimguiname": "igTableSaveSettings", "ret": "void", @@ -32556,7 +34300,7 @@ "column_n": "-1" }, "funcname": "TableSetBgColor", - "location": "imgui:783", + "location": "imgui:780", "namespace": "ImGui", "ov_cimguiname": "igTableSetBgColor", "ret": "void", @@ -32582,7 +34326,7 @@ "cimguiname": "igTableSetColumnEnabled", "defaults": {}, "funcname": "TableSetColumnEnabled", - "location": "imgui:782", + "location": "imgui:779", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnEnabled", "ret": "void", @@ -32634,7 +34378,7 @@ "cimguiname": "igTableSetColumnSortDirection", "defaults": {}, "funcname": "TableSetColumnSortDirection", - "location": "imgui_internal:2907", + "location": "imgui_internal:3258", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnSortDirection", "ret": "void", @@ -32660,7 +34404,7 @@ "cimguiname": "igTableSetColumnWidth", "defaults": {}, "funcname": "TableSetColumnWidth", - "location": "imgui_internal:2906", + "location": "imgui_internal:3257", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnWidth", "ret": "void", @@ -32682,7 +34426,7 @@ "cimguiname": "igTableSetColumnWidthAutoAll", "defaults": {}, "funcname": "TableSetColumnWidthAutoAll", - "location": "imgui_internal:2940", + "location": "imgui_internal:3293", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnWidthAutoAll", "ret": "void", @@ -32708,7 +34452,7 @@ "cimguiname": "igTableSetColumnWidthAutoSingle", "defaults": {}, "funcname": "TableSetColumnWidthAutoSingle", - "location": "imgui_internal:2939", + "location": "imgui_internal:3292", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnWidthAutoSingle", "ret": "void", @@ -32716,6 +34460,23 @@ "stname": "" } ], + "igTableSettingsAddSettingsHandler": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "igTableSettingsAddSettingsHandler", + "defaults": {}, + "funcname": "TableSettingsAddSettingsHandler", + "location": "imgui_internal:3304", + "namespace": "ImGui", + "ov_cimguiname": "igTableSettingsAddSettingsHandler", + "ret": "void", + "signature": "()", + "stname": "" + } + ], "igTableSettingsCreate": [ { "args": "(ImGuiID id,int columns_count)", @@ -32734,7 +34495,7 @@ "cimguiname": "igTableSettingsCreate", "defaults": {}, "funcname": "TableSettingsCreate", - "location": "imgui_internal:2952", + "location": "imgui_internal:3305", "namespace": "ImGui", "ov_cimguiname": "igTableSettingsCreate", "ret": "ImGuiTableSettings*", @@ -32756,7 +34517,7 @@ "cimguiname": "igTableSettingsFindByID", "defaults": {}, "funcname": "TableSettingsFindByID", - "location": "imgui_internal:2953", + "location": "imgui_internal:3306", "namespace": "ImGui", "ov_cimguiname": "igTableSettingsFindByID", "ret": "ImGuiTableSettings*", @@ -32764,28 +34525,6 @@ "stname": "" } ], - "igTableSettingsInstallHandler": [ - { - "args": "(ImGuiContext* context)", - "argsT": [ - { - "name": "context", - "type": "ImGuiContext*" - } - ], - "argsoriginal": "(ImGuiContext* context)", - "call_args": "(context)", - "cimguiname": "igTableSettingsInstallHandler", - "defaults": {}, - "funcname": "TableSettingsInstallHandler", - "location": "imgui_internal:2951", - "namespace": "ImGui", - "ov_cimguiname": "igTableSettingsInstallHandler", - "ret": "void", - "signature": "(ImGuiContext*)", - "stname": "" - } - ], "igTableSetupColumn": [ { "args": "(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id)", @@ -32838,7 +34577,7 @@ "cimguiname": "igTableSetupDrawChannels", "defaults": {}, "funcname": "TableSetupDrawChannels", - "location": "imgui_internal:2919", + "location": "imgui_internal:3270", "namespace": "ImGui", "ov_cimguiname": "igTableSetupDrawChannels", "ret": "void", @@ -32886,7 +34625,7 @@ "cimguiname": "igTableSortSpecsBuild", "defaults": {}, "funcname": "TableSortSpecsBuild", - "location": "imgui_internal:2927", + "location": "imgui_internal:3280", "namespace": "ImGui", "ov_cimguiname": "igTableSortSpecsBuild", "ret": "void", @@ -32908,7 +34647,7 @@ "cimguiname": "igTableSortSpecsSanitize", "defaults": {}, "funcname": "TableSortSpecsSanitize", - "location": "imgui_internal:2926", + "location": "imgui_internal:3279", "namespace": "ImGui", "ov_cimguiname": "igTableSortSpecsSanitize", "ret": "void", @@ -32930,7 +34669,7 @@ "cimguiname": "igTableUpdateBorders", "defaults": {}, "funcname": "TableUpdateBorders", - "location": "imgui_internal:2921", + "location": "imgui_internal:3272", "namespace": "ImGui", "ov_cimguiname": "igTableUpdateBorders", "ret": "void", @@ -32952,7 +34691,7 @@ "cimguiname": "igTableUpdateColumnsWeightFromWidth", "defaults": {}, "funcname": "TableUpdateColumnsWeightFromWidth", - "location": "imgui_internal:2922", + "location": "imgui_internal:3273", "namespace": "ImGui", "ov_cimguiname": "igTableUpdateColumnsWeightFromWidth", "ret": "void", @@ -32974,7 +34713,7 @@ "cimguiname": "igTableUpdateLayout", "defaults": {}, "funcname": "TableUpdateLayout", - "location": "imgui_internal:2920", + "location": "imgui_internal:3271", "namespace": "ImGui", "ov_cimguiname": "igTableUpdateLayout", "ret": "void", @@ -32996,7 +34735,7 @@ "cimguiname": "igTempInputIsActive", "defaults": {}, "funcname": "TempInputIsActive", - "location": "imgui_internal:3049", + "location": "imgui_internal:3398", "namespace": "ImGui", "ov_cimguiname": "igTempInputIsActive", "ret": "bool", @@ -33049,7 +34788,7 @@ "p_clamp_min": "NULL" }, "funcname": "TempInputScalar", - "location": "imgui_internal:3048", + "location": "imgui_internal:3397", "namespace": "ImGui", "ov_cimguiname": "igTempInputScalar", "ret": "bool", @@ -33091,7 +34830,7 @@ "cimguiname": "igTempInputText", "defaults": {}, "funcname": "TempInputText", - "location": "imgui_internal:3047", + "location": "imgui_internal:3396", "namespace": "ImGui", "ov_cimguiname": "igTempInputText", "ret": "bool", @@ -33099,6 +34838,58 @@ "stname": "" } ], + "igTestKeyOwner": [ + { + "args": "(ImGuiKey key,ImGuiID owner_id)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKey key,ImGuiID owner_id)", + "call_args": "(key,owner_id)", + "cimguiname": "igTestKeyOwner", + "defaults": {}, + "funcname": "TestKeyOwner", + "location": "imgui_internal:3141", + "namespace": "ImGui", + "ov_cimguiname": "igTestKeyOwner", + "ret": "bool", + "signature": "(ImGuiKey,ImGuiID)", + "stname": "" + } + ], + "igTestShortcutRouting": [ + { + "args": "(ImGuiKeyChord key_chord,ImGuiID owner_id)", + "argsT": [ + { + "name": "key_chord", + "type": "ImGuiKeyChord" + }, + { + "name": "owner_id", + "type": "ImGuiID" + } + ], + "argsoriginal": "(ImGuiKeyChord key_chord,ImGuiID owner_id)", + "call_args": "(key_chord,owner_id)", + "cimguiname": "igTestShortcutRouting", + "defaults": {}, + "funcname": "TestShortcutRouting", + "location": "imgui_internal:3169", + "namespace": "ImGui", + "ov_cimguiname": "igTestShortcutRouting", + "ret": "bool", + "signature": "(ImGuiKeyChord,ImGuiID)", + "stname": "" + } + ], "igText": [ { "args": "(const char* fmt,...)", @@ -33118,7 +34909,7 @@ "defaults": {}, "funcname": "Text", "isvararg": "...)", - "location": "imgui:496", + "location": "imgui:493", "namespace": "ImGui", "ov_cimguiname": "igText", "ret": "void", @@ -33149,7 +34940,7 @@ "defaults": {}, "funcname": "TextColored", "isvararg": "...)", - "location": "imgui:498", + "location": "imgui:495", "namespace": "ImGui", "ov_cimguiname": "igTextColored", "ret": "void", @@ -33179,7 +34970,7 @@ "cimguiname": "igTextColoredV", "defaults": {}, "funcname": "TextColoredV", - "location": "imgui:499", + "location": "imgui:496", "namespace": "ImGui", "ov_cimguiname": "igTextColoredV", "ret": "void", @@ -33206,7 +34997,7 @@ "defaults": {}, "funcname": "TextDisabled", "isvararg": "...)", - "location": "imgui:500", + "location": "imgui:497", "namespace": "ImGui", "ov_cimguiname": "igTextDisabled", "ret": "void", @@ -33232,7 +35023,7 @@ "cimguiname": "igTextDisabledV", "defaults": {}, "funcname": "TextDisabledV", - "location": "imgui:501", + "location": "imgui:498", "namespace": "ImGui", "ov_cimguiname": "igTextDisabledV", "ret": "void", @@ -33265,7 +35056,7 @@ "text_end": "NULL" }, "funcname": "TextEx", - "location": "imgui_internal:3002", + "location": "imgui_internal:3350", "namespace": "ImGui", "ov_cimguiname": "igTextEx", "ret": "void", @@ -33293,7 +35084,7 @@ "text_end": "NULL" }, "funcname": "TextUnformatted", - "location": "imgui:495", + "location": "imgui:492", "namespace": "ImGui", "ov_cimguiname": "igTextUnformatted", "ret": "void", @@ -33319,7 +35110,7 @@ "cimguiname": "igTextV", "defaults": {}, "funcname": "TextV", - "location": "imgui:497", + "location": "imgui:494", "namespace": "ImGui", "ov_cimguiname": "igTextV", "ret": "void", @@ -33346,7 +35137,7 @@ "defaults": {}, "funcname": "TextWrapped", "isvararg": "...)", - "location": "imgui:502", + "location": "imgui:499", "namespace": "ImGui", "ov_cimguiname": "igTextWrapped", "ret": "void", @@ -33372,7 +35163,7 @@ "cimguiname": "igTextWrappedV", "defaults": {}, "funcname": "TextWrappedV", - "location": "imgui:503", + "location": "imgui:500", "namespace": "ImGui", "ov_cimguiname": "igTextWrappedV", "ret": "void", @@ -33402,7 +35193,7 @@ "cimguiname": "igTranslateWindowsInViewport", "defaults": {}, "funcname": "TranslateWindowsInViewport", - "location": "imgui_internal:2693", + "location": "imgui_internal:2982", "namespace": "ImGui", "ov_cimguiname": "igTranslateWindowsInViewport", "ret": "void", @@ -33424,9 +35215,9 @@ "cimguiname": "igTreeNode", "defaults": {}, "funcname": "TreeNode", - "location": "imgui:610", + "location": "imgui:611", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeStr", + "ov_cimguiname": "igTreeNode_Str", "ret": "bool", "signature": "(const char*)", "stname": "" @@ -33453,9 +35244,9 @@ "defaults": {}, "funcname": "TreeNode", "isvararg": "...)", - "location": "imgui:611", + "location": "imgui:612", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeStrStr", + "ov_cimguiname": "igTreeNode_StrStr", "ret": "bool", "signature": "(const char*,const char*,...)", "stname": "" @@ -33482,9 +35273,9 @@ "defaults": {}, "funcname": "TreeNode", "isvararg": "...)", - "location": "imgui:612", + "location": "imgui:613", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodePtr", + "ov_cimguiname": "igTreeNode_Ptr", "ret": "bool", "signature": "(const void*,const char*,...)", "stname": "" @@ -33518,7 +35309,7 @@ "label_end": "NULL" }, "funcname": "TreeNodeBehavior", - "location": "imgui_internal:3023", + "location": "imgui_internal:3371", "namespace": "ImGui", "ov_cimguiname": "igTreeNodeBehavior", "ret": "bool", @@ -33526,34 +35317,6 @@ "stname": "" } ], - "igTreeNodeBehaviorIsOpen": [ - { - "args": "(ImGuiID id,ImGuiTreeNodeFlags flags)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - }, - { - "name": "flags", - "type": "ImGuiTreeNodeFlags" - } - ], - "argsoriginal": "(ImGuiID id,ImGuiTreeNodeFlags flags=0)", - "call_args": "(id,flags)", - "cimguiname": "igTreeNodeBehaviorIsOpen", - "defaults": { - "flags": "0" - }, - "funcname": "TreeNodeBehaviorIsOpen", - "location": "imgui_internal:3024", - "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeBehaviorIsOpen", - "ret": "bool", - "signature": "(ImGuiID,ImGuiTreeNodeFlags)", - "stname": "" - } - ], "igTreeNodeEx": [ { "args": "(const char* label,ImGuiTreeNodeFlags flags)", @@ -33574,9 +35337,9 @@ "flags": "0" }, "funcname": "TreeNodeEx", - "location": "imgui:615", + "location": "imgui:616", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExStr", + "ov_cimguiname": "igTreeNodeEx_Str", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags)", "stname": "" @@ -33607,9 +35370,9 @@ "defaults": {}, "funcname": "TreeNodeEx", "isvararg": "...)", - "location": "imgui:616", + "location": "imgui:617", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExStrStr", + "ov_cimguiname": "igTreeNodeEx_StrStr", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags,const char*,...)", "stname": "" @@ -33640,9 +35403,9 @@ "defaults": {}, "funcname": "TreeNodeEx", "isvararg": "...)", - "location": "imgui:617", + "location": "imgui:618", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExPtr", + "ov_cimguiname": "igTreeNodeEx_Ptr", "ret": "bool", "signature": "(const void*,ImGuiTreeNodeFlags,const char*,...)", "stname": "" @@ -33674,9 +35437,9 @@ "cimguiname": "igTreeNodeExV", "defaults": {}, "funcname": "TreeNodeExV", - "location": "imgui:618", + "location": "imgui:619", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExVStr", + "ov_cimguiname": "igTreeNodeExV_Str", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags,const char*,va_list)", "stname": "" @@ -33706,14 +35469,66 @@ "cimguiname": "igTreeNodeExV", "defaults": {}, "funcname": "TreeNodeExV", - "location": "imgui:619", + "location": "imgui:620", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExVPtr", + "ov_cimguiname": "igTreeNodeExV_Ptr", "ret": "bool", "signature": "(const void*,ImGuiTreeNodeFlags,const char*,va_list)", "stname": "" } ], + "igTreeNodeSetOpen": [ + { + "args": "(ImGuiID id,bool open)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "open", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiID id,bool open)", + "call_args": "(id,open)", + "cimguiname": "igTreeNodeSetOpen", + "defaults": {}, + "funcname": "TreeNodeSetOpen", + "location": "imgui_internal:3373", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeSetOpen", + "ret": "void", + "signature": "(ImGuiID,bool)", + "stname": "" + } + ], + "igTreeNodeUpdateNextOpen": [ + { + "args": "(ImGuiID id,ImGuiTreeNodeFlags flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "flags", + "type": "ImGuiTreeNodeFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiTreeNodeFlags flags)", + "call_args": "(id,flags)", + "cimguiname": "igTreeNodeUpdateNextOpen", + "defaults": {}, + "funcname": "TreeNodeUpdateNextOpen", + "location": "imgui_internal:3374", + "namespace": "ImGui", + "ov_cimguiname": "igTreeNodeUpdateNextOpen", + "ret": "bool", + "signature": "(ImGuiID,ImGuiTreeNodeFlags)", + "stname": "" + } + ], "igTreeNodeV": [ { "args": "(const char* str_id,const char* fmt,va_list args)", @@ -33736,9 +35551,9 @@ "cimguiname": "igTreeNodeV", "defaults": {}, "funcname": "TreeNodeV", - "location": "imgui:613", + "location": "imgui:614", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeVStr", + "ov_cimguiname": "igTreeNodeV_Str", "ret": "bool", "signature": "(const char*,const char*,va_list)", "stname": "" @@ -33764,9 +35579,9 @@ "cimguiname": "igTreeNodeV", "defaults": {}, "funcname": "TreeNodeV", - "location": "imgui:614", + "location": "imgui:615", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeVPtr", + "ov_cimguiname": "igTreeNodeV_Ptr", "ret": "bool", "signature": "(const void*,const char*,va_list)", "stname": "" @@ -33781,7 +35596,7 @@ "cimguiname": "igTreePop", "defaults": {}, "funcname": "TreePop", - "location": "imgui:622", + "location": "imgui:623", "namespace": "ImGui", "ov_cimguiname": "igTreePop", "ret": "void", @@ -33803,9 +35618,9 @@ "cimguiname": "igTreePush", "defaults": {}, "funcname": "TreePush", - "location": "imgui:620", + "location": "imgui:621", "namespace": "ImGui", - "ov_cimguiname": "igTreePushStr", + "ov_cimguiname": "igTreePush_Str", "ret": "void", "signature": "(const char*)", "stname": "" @@ -33818,16 +35633,14 @@ "type": "const void*" } ], - "argsoriginal": "(const void* ptr_id=((void*)0))", + "argsoriginal": "(const void* ptr_id)", "call_args": "(ptr_id)", "cimguiname": "igTreePush", - "defaults": { - "ptr_id": "NULL" - }, + "defaults": {}, "funcname": "TreePush", - "location": "imgui:621", + "location": "imgui:622", "namespace": "ImGui", - "ov_cimguiname": "igTreePushPtr", + "ov_cimguiname": "igTreePush_Ptr", "ret": "void", "signature": "(const void*)", "stname": "" @@ -33847,7 +35660,7 @@ "cimguiname": "igTreePushOverrideID", "defaults": {}, "funcname": "TreePushOverrideID", - "location": "imgui_internal:3025", + "location": "imgui_internal:3372", "namespace": "ImGui", "ov_cimguiname": "igTreePushOverrideID", "ret": "void", @@ -33871,7 +35684,7 @@ "indent_w": "0.0f" }, "funcname": "Unindent", - "location": "imgui:456", + "location": "imgui:453", "namespace": "ImGui", "ov_cimguiname": "igUnindent", "ret": "void", @@ -33888,7 +35701,7 @@ "cimguiname": "igUpdateHoveredWindowAndCaptureFlags", "defaults": {}, "funcname": "UpdateHoveredWindowAndCaptureFlags", - "location": "imgui_internal:2681", + "location": "imgui_internal:2970", "namespace": "ImGui", "ov_cimguiname": "igUpdateHoveredWindowAndCaptureFlags", "ret": "void", @@ -33896,6 +35709,28 @@ "stname": "" } ], + "igUpdateInputEvents": [ + { + "args": "(bool trickle_fast_inputs)", + "argsT": [ + { + "name": "trickle_fast_inputs", + "type": "bool" + } + ], + "argsoriginal": "(bool trickle_fast_inputs)", + "call_args": "(trickle_fast_inputs)", + "cimguiname": "igUpdateInputEvents", + "defaults": {}, + "funcname": "UpdateInputEvents", + "location": "imgui_internal:2969", + "namespace": "ImGui", + "ov_cimguiname": "igUpdateInputEvents", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], "igUpdateMouseMovingWindowEndFrame": [ { "args": "()", @@ -33905,7 +35740,7 @@ "cimguiname": "igUpdateMouseMovingWindowEndFrame", "defaults": {}, "funcname": "UpdateMouseMovingWindowEndFrame", - "location": "imgui_internal:2685", + "location": "imgui_internal:2974", "namespace": "ImGui", "ov_cimguiname": "igUpdateMouseMovingWindowEndFrame", "ret": "void", @@ -33922,7 +35757,7 @@ "cimguiname": "igUpdateMouseMovingWindowNewFrame", "defaults": {}, "funcname": "UpdateMouseMovingWindowNewFrame", - "location": "imgui_internal:2684", + "location": "imgui_internal:2973", "namespace": "ImGui", "ov_cimguiname": "igUpdateMouseMovingWindowNewFrame", "ret": "void", @@ -33939,7 +35774,7 @@ "cimguiname": "igUpdatePlatformWindows", "defaults": {}, "funcname": "UpdatePlatformWindows", - "location": "imgui:979", + "location": "imgui:981", "namespace": "ImGui", "ov_cimguiname": "igUpdatePlatformWindows", "ret": "void", @@ -33969,7 +35804,7 @@ "cimguiname": "igUpdateWindowParentAndRootLinks", "defaults": {}, "funcname": "UpdateWindowParentAndRootLinks", - "location": "imgui_internal:2648", + "location": "imgui_internal:2936", "namespace": "ImGui", "ov_cimguiname": "igUpdateWindowParentAndRootLinks", "ret": "void", @@ -34018,7 +35853,7 @@ "format": "\"%.3f\"" }, "funcname": "VSliderFloat", - "location": "imgui:576", + "location": "imgui:577", "namespace": "ImGui", "ov_cimguiname": "igVSliderFloat", "ret": "bool", @@ -34067,7 +35902,7 @@ "format": "\"%d\"" }, "funcname": "VSliderInt", - "location": "imgui:577", + "location": "imgui:578", "namespace": "ImGui", "ov_cimguiname": "igVSliderInt", "ret": "bool", @@ -34120,7 +35955,7 @@ "format": "NULL" }, "funcname": "VSliderScalar", - "location": "imgui:578", + "location": "imgui:579", "namespace": "ImGui", "ov_cimguiname": "igVSliderScalar", "ret": "bool", @@ -34146,9 +35981,9 @@ "cimguiname": "igValue", "defaults": {}, "funcname": "Value", - "location": "imgui:654", + "location": "imgui:655", "namespace": "ImGui", - "ov_cimguiname": "igValueBool", + "ov_cimguiname": "igValue_Bool", "ret": "void", "signature": "(const char*,bool)", "stname": "" @@ -34170,9 +36005,9 @@ "cimguiname": "igValue", "defaults": {}, "funcname": "Value", - "location": "imgui:655", + "location": "imgui:656", "namespace": "ImGui", - "ov_cimguiname": "igValueInt", + "ov_cimguiname": "igValue_Int", "ret": "void", "signature": "(const char*,int)", "stname": "" @@ -34194,9 +36029,9 @@ "cimguiname": "igValue", "defaults": {}, "funcname": "Value", - "location": "imgui:656", + "location": "imgui:657", "namespace": "ImGui", - "ov_cimguiname": "igValueUint", + "ov_cimguiname": "igValue_Uint", "ret": "void", "signature": "(const char*,unsigned int)", "stname": "" @@ -34224,9 +36059,9 @@ "float_format": "NULL" }, "funcname": "Value", - "location": "imgui:657", + "location": "imgui:658", "namespace": "ImGui", - "ov_cimguiname": "igValueFloat", + "ov_cimguiname": "igValue_Float", "ret": "void", "signature": "(const char*,float,const char*)", "stname": "" @@ -34254,7 +36089,7 @@ "cimguiname": "igWindowRectAbsToRel", "defaults": {}, "funcname": "WindowRectAbsToRel", - "location": "imgui_internal:2658", + "location": "imgui_internal:2946", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igWindowRectAbsToRel", @@ -34285,7 +36120,7 @@ "cimguiname": "igWindowRectRelToAbs", "defaults": {}, "funcname": "WindowRectRelToAbs", - "location": "imgui_internal:2659", + "location": "imgui_internal:2947", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igWindowRectRelToAbs", diff --git a/imgui-sys/third-party/imgui-docking/definitions.lua b/imgui-sys/third-party/imgui-docking/definitions.lua index 806a840..b78bb17 100644 --- a/imgui-sys/third-party/imgui-docking/definitions.lua +++ b/imgui-sys/third-party/imgui-docking/definitions.lua @@ -11,7 +11,7 @@ defs["ImBitArray_ClearAllBits"][1]["call_args"] = "()" defs["ImBitArray_ClearAllBits"][1]["cimguiname"] = "ImBitArray_ClearAllBits" defs["ImBitArray_ClearAllBits"][1]["defaults"] = {} defs["ImBitArray_ClearAllBits"][1]["funcname"] = "ClearAllBits" -defs["ImBitArray_ClearAllBits"][1]["location"] = "imgui_internal:560" +defs["ImBitArray_ClearAllBits"][1]["location"] = "imgui_internal:582" defs["ImBitArray_ClearAllBits"][1]["ov_cimguiname"] = "ImBitArray_ClearAllBits" defs["ImBitArray_ClearAllBits"][1]["ret"] = "void" defs["ImBitArray_ClearAllBits"][1]["signature"] = "()" @@ -33,7 +33,7 @@ defs["ImBitArray_ClearBit"][1]["call_args"] = "(n)" defs["ImBitArray_ClearBit"][1]["cimguiname"] = "ImBitArray_ClearBit" defs["ImBitArray_ClearBit"][1]["defaults"] = {} defs["ImBitArray_ClearBit"][1]["funcname"] = "ClearBit" -defs["ImBitArray_ClearBit"][1]["location"] = "imgui_internal:564" +defs["ImBitArray_ClearBit"][1]["location"] = "imgui_internal:586" defs["ImBitArray_ClearBit"][1]["ov_cimguiname"] = "ImBitArray_ClearBit" defs["ImBitArray_ClearBit"][1]["ret"] = "void" defs["ImBitArray_ClearBit"][1]["signature"] = "(int)" @@ -50,7 +50,7 @@ defs["ImBitArray_ImBitArray"][1]["cimguiname"] = "ImBitArray_ImBitArray" defs["ImBitArray_ImBitArray"][1]["constructor"] = true defs["ImBitArray_ImBitArray"][1]["defaults"] = {} defs["ImBitArray_ImBitArray"][1]["funcname"] = "ImBitArray" -defs["ImBitArray_ImBitArray"][1]["location"] = "imgui_internal:559" +defs["ImBitArray_ImBitArray"][1]["location"] = "imgui_internal:581" defs["ImBitArray_ImBitArray"][1]["ov_cimguiname"] = "ImBitArray_ImBitArray" defs["ImBitArray_ImBitArray"][1]["signature"] = "()" defs["ImBitArray_ImBitArray"][1]["stname"] = "ImBitArray" @@ -68,7 +68,7 @@ defs["ImBitArray_SetAllBits"][1]["call_args"] = "()" defs["ImBitArray_SetAllBits"][1]["cimguiname"] = "ImBitArray_SetAllBits" defs["ImBitArray_SetAllBits"][1]["defaults"] = {} defs["ImBitArray_SetAllBits"][1]["funcname"] = "SetAllBits" -defs["ImBitArray_SetAllBits"][1]["location"] = "imgui_internal:561" +defs["ImBitArray_SetAllBits"][1]["location"] = "imgui_internal:583" defs["ImBitArray_SetAllBits"][1]["ov_cimguiname"] = "ImBitArray_SetAllBits" defs["ImBitArray_SetAllBits"][1]["ret"] = "void" defs["ImBitArray_SetAllBits"][1]["signature"] = "()" @@ -90,7 +90,7 @@ defs["ImBitArray_SetBit"][1]["call_args"] = "(n)" defs["ImBitArray_SetBit"][1]["cimguiname"] = "ImBitArray_SetBit" defs["ImBitArray_SetBit"][1]["defaults"] = {} defs["ImBitArray_SetBit"][1]["funcname"] = "SetBit" -defs["ImBitArray_SetBit"][1]["location"] = "imgui_internal:563" +defs["ImBitArray_SetBit"][1]["location"] = "imgui_internal:585" defs["ImBitArray_SetBit"][1]["ov_cimguiname"] = "ImBitArray_SetBit" defs["ImBitArray_SetBit"][1]["ret"] = "void" defs["ImBitArray_SetBit"][1]["signature"] = "(int)" @@ -115,7 +115,7 @@ defs["ImBitArray_SetBitRange"][1]["call_args"] = "(n,n2)" defs["ImBitArray_SetBitRange"][1]["cimguiname"] = "ImBitArray_SetBitRange" defs["ImBitArray_SetBitRange"][1]["defaults"] = {} defs["ImBitArray_SetBitRange"][1]["funcname"] = "SetBitRange" -defs["ImBitArray_SetBitRange"][1]["location"] = "imgui_internal:565" +defs["ImBitArray_SetBitRange"][1]["location"] = "imgui_internal:587" defs["ImBitArray_SetBitRange"][1]["ov_cimguiname"] = "ImBitArray_SetBitRange" defs["ImBitArray_SetBitRange"][1]["ret"] = "void" defs["ImBitArray_SetBitRange"][1]["signature"] = "(int,int)" @@ -137,7 +137,7 @@ defs["ImBitArray_TestBit"][1]["call_args"] = "(n)" defs["ImBitArray_TestBit"][1]["cimguiname"] = "ImBitArray_TestBit" defs["ImBitArray_TestBit"][1]["defaults"] = {} defs["ImBitArray_TestBit"][1]["funcname"] = "TestBit" -defs["ImBitArray_TestBit"][1]["location"] = "imgui_internal:562" +defs["ImBitArray_TestBit"][1]["location"] = "imgui_internal:584" defs["ImBitArray_TestBit"][1]["ov_cimguiname"] = "ImBitArray_TestBit" defs["ImBitArray_TestBit"][1]["ret"] = "bool" defs["ImBitArray_TestBit"][1]["signature"] = "(int)const" @@ -173,7 +173,7 @@ defs["ImBitVector_Clear"][1]["call_args"] = "()" defs["ImBitVector_Clear"][1]["cimguiname"] = "ImBitVector_Clear" defs["ImBitVector_Clear"][1]["defaults"] = {} defs["ImBitVector_Clear"][1]["funcname"] = "Clear" -defs["ImBitVector_Clear"][1]["location"] = "imgui_internal:574" +defs["ImBitVector_Clear"][1]["location"] = "imgui_internal:597" defs["ImBitVector_Clear"][1]["ov_cimguiname"] = "ImBitVector_Clear" defs["ImBitVector_Clear"][1]["ret"] = "void" defs["ImBitVector_Clear"][1]["signature"] = "()" @@ -194,7 +194,7 @@ defs["ImBitVector_ClearBit"][1]["call_args"] = "(n)" defs["ImBitVector_ClearBit"][1]["cimguiname"] = "ImBitVector_ClearBit" defs["ImBitVector_ClearBit"][1]["defaults"] = {} defs["ImBitVector_ClearBit"][1]["funcname"] = "ClearBit" -defs["ImBitVector_ClearBit"][1]["location"] = "imgui_internal:577" +defs["ImBitVector_ClearBit"][1]["location"] = "imgui_internal:600" defs["ImBitVector_ClearBit"][1]["ov_cimguiname"] = "ImBitVector_ClearBit" defs["ImBitVector_ClearBit"][1]["ret"] = "void" defs["ImBitVector_ClearBit"][1]["signature"] = "(int)" @@ -215,7 +215,7 @@ defs["ImBitVector_Create"][1]["call_args"] = "(sz)" defs["ImBitVector_Create"][1]["cimguiname"] = "ImBitVector_Create" defs["ImBitVector_Create"][1]["defaults"] = {} defs["ImBitVector_Create"][1]["funcname"] = "Create" -defs["ImBitVector_Create"][1]["location"] = "imgui_internal:573" +defs["ImBitVector_Create"][1]["location"] = "imgui_internal:596" defs["ImBitVector_Create"][1]["ov_cimguiname"] = "ImBitVector_Create" defs["ImBitVector_Create"][1]["ret"] = "void" defs["ImBitVector_Create"][1]["signature"] = "(int)" @@ -236,7 +236,7 @@ defs["ImBitVector_SetBit"][1]["call_args"] = "(n)" defs["ImBitVector_SetBit"][1]["cimguiname"] = "ImBitVector_SetBit" defs["ImBitVector_SetBit"][1]["defaults"] = {} defs["ImBitVector_SetBit"][1]["funcname"] = "SetBit" -defs["ImBitVector_SetBit"][1]["location"] = "imgui_internal:576" +defs["ImBitVector_SetBit"][1]["location"] = "imgui_internal:599" defs["ImBitVector_SetBit"][1]["ov_cimguiname"] = "ImBitVector_SetBit" defs["ImBitVector_SetBit"][1]["ret"] = "void" defs["ImBitVector_SetBit"][1]["signature"] = "(int)" @@ -257,7 +257,7 @@ defs["ImBitVector_TestBit"][1]["call_args"] = "(n)" defs["ImBitVector_TestBit"][1]["cimguiname"] = "ImBitVector_TestBit" defs["ImBitVector_TestBit"][1]["defaults"] = {} defs["ImBitVector_TestBit"][1]["funcname"] = "TestBit" -defs["ImBitVector_TestBit"][1]["location"] = "imgui_internal:575" +defs["ImBitVector_TestBit"][1]["location"] = "imgui_internal:598" defs["ImBitVector_TestBit"][1]["ov_cimguiname"] = "ImBitVector_TestBit" defs["ImBitVector_TestBit"][1]["ret"] = "bool" defs["ImBitVector_TestBit"][1]["signature"] = "(int)const" @@ -278,7 +278,7 @@ defs["ImChunkStream_alloc_chunk"][1]["call_args"] = "(sz)" defs["ImChunkStream_alloc_chunk"][1]["cimguiname"] = "ImChunkStream_alloc_chunk" defs["ImChunkStream_alloc_chunk"][1]["defaults"] = {} defs["ImChunkStream_alloc_chunk"][1]["funcname"] = "alloc_chunk" -defs["ImChunkStream_alloc_chunk"][1]["location"] = "imgui_internal:680" +defs["ImChunkStream_alloc_chunk"][1]["location"] = "imgui_internal:703" defs["ImChunkStream_alloc_chunk"][1]["ov_cimguiname"] = "ImChunkStream_alloc_chunk" defs["ImChunkStream_alloc_chunk"][1]["ret"] = "T*" defs["ImChunkStream_alloc_chunk"][1]["signature"] = "(size_t)" @@ -297,7 +297,7 @@ defs["ImChunkStream_begin"][1]["call_args"] = "()" defs["ImChunkStream_begin"][1]["cimguiname"] = "ImChunkStream_begin" defs["ImChunkStream_begin"][1]["defaults"] = {} defs["ImChunkStream_begin"][1]["funcname"] = "begin" -defs["ImChunkStream_begin"][1]["location"] = "imgui_internal:681" +defs["ImChunkStream_begin"][1]["location"] = "imgui_internal:704" defs["ImChunkStream_begin"][1]["ov_cimguiname"] = "ImChunkStream_begin" defs["ImChunkStream_begin"][1]["ret"] = "T*" defs["ImChunkStream_begin"][1]["signature"] = "()" @@ -319,7 +319,7 @@ defs["ImChunkStream_chunk_size"][1]["call_args"] = "(p)" defs["ImChunkStream_chunk_size"][1]["cimguiname"] = "ImChunkStream_chunk_size" defs["ImChunkStream_chunk_size"][1]["defaults"] = {} defs["ImChunkStream_chunk_size"][1]["funcname"] = "chunk_size" -defs["ImChunkStream_chunk_size"][1]["location"] = "imgui_internal:683" +defs["ImChunkStream_chunk_size"][1]["location"] = "imgui_internal:706" defs["ImChunkStream_chunk_size"][1]["ov_cimguiname"] = "ImChunkStream_chunk_size" defs["ImChunkStream_chunk_size"][1]["ret"] = "int" defs["ImChunkStream_chunk_size"][1]["signature"] = "(const T*)" @@ -338,7 +338,7 @@ defs["ImChunkStream_clear"][1]["call_args"] = "()" defs["ImChunkStream_clear"][1]["cimguiname"] = "ImChunkStream_clear" defs["ImChunkStream_clear"][1]["defaults"] = {} defs["ImChunkStream_clear"][1]["funcname"] = "clear" -defs["ImChunkStream_clear"][1]["location"] = "imgui_internal:677" +defs["ImChunkStream_clear"][1]["location"] = "imgui_internal:700" defs["ImChunkStream_clear"][1]["ov_cimguiname"] = "ImChunkStream_clear" defs["ImChunkStream_clear"][1]["ret"] = "void" defs["ImChunkStream_clear"][1]["signature"] = "()" @@ -357,7 +357,7 @@ defs["ImChunkStream_empty"][1]["call_args"] = "()" defs["ImChunkStream_empty"][1]["cimguiname"] = "ImChunkStream_empty" defs["ImChunkStream_empty"][1]["defaults"] = {} defs["ImChunkStream_empty"][1]["funcname"] = "empty" -defs["ImChunkStream_empty"][1]["location"] = "imgui_internal:678" +defs["ImChunkStream_empty"][1]["location"] = "imgui_internal:701" defs["ImChunkStream_empty"][1]["ov_cimguiname"] = "ImChunkStream_empty" defs["ImChunkStream_empty"][1]["ret"] = "bool" defs["ImChunkStream_empty"][1]["signature"] = "()const" @@ -376,7 +376,7 @@ defs["ImChunkStream_end"][1]["call_args"] = "()" defs["ImChunkStream_end"][1]["cimguiname"] = "ImChunkStream_end" defs["ImChunkStream_end"][1]["defaults"] = {} defs["ImChunkStream_end"][1]["funcname"] = "end" -defs["ImChunkStream_end"][1]["location"] = "imgui_internal:684" +defs["ImChunkStream_end"][1]["location"] = "imgui_internal:707" defs["ImChunkStream_end"][1]["ov_cimguiname"] = "ImChunkStream_end" defs["ImChunkStream_end"][1]["ret"] = "T*" defs["ImChunkStream_end"][1]["signature"] = "()" @@ -398,7 +398,7 @@ defs["ImChunkStream_next_chunk"][1]["call_args"] = "(p)" defs["ImChunkStream_next_chunk"][1]["cimguiname"] = "ImChunkStream_next_chunk" defs["ImChunkStream_next_chunk"][1]["defaults"] = {} defs["ImChunkStream_next_chunk"][1]["funcname"] = "next_chunk" -defs["ImChunkStream_next_chunk"][1]["location"] = "imgui_internal:682" +defs["ImChunkStream_next_chunk"][1]["location"] = "imgui_internal:705" defs["ImChunkStream_next_chunk"][1]["ov_cimguiname"] = "ImChunkStream_next_chunk" defs["ImChunkStream_next_chunk"][1]["ret"] = "T*" defs["ImChunkStream_next_chunk"][1]["signature"] = "(T*)" @@ -420,7 +420,7 @@ defs["ImChunkStream_offset_from_ptr"][1]["call_args"] = "(p)" defs["ImChunkStream_offset_from_ptr"][1]["cimguiname"] = "ImChunkStream_offset_from_ptr" defs["ImChunkStream_offset_from_ptr"][1]["defaults"] = {} defs["ImChunkStream_offset_from_ptr"][1]["funcname"] = "offset_from_ptr" -defs["ImChunkStream_offset_from_ptr"][1]["location"] = "imgui_internal:685" +defs["ImChunkStream_offset_from_ptr"][1]["location"] = "imgui_internal:708" defs["ImChunkStream_offset_from_ptr"][1]["ov_cimguiname"] = "ImChunkStream_offset_from_ptr" defs["ImChunkStream_offset_from_ptr"][1]["ret"] = "int" defs["ImChunkStream_offset_from_ptr"][1]["signature"] = "(const T*)" @@ -442,7 +442,7 @@ defs["ImChunkStream_ptr_from_offset"][1]["call_args"] = "(off)" defs["ImChunkStream_ptr_from_offset"][1]["cimguiname"] = "ImChunkStream_ptr_from_offset" defs["ImChunkStream_ptr_from_offset"][1]["defaults"] = {} defs["ImChunkStream_ptr_from_offset"][1]["funcname"] = "ptr_from_offset" -defs["ImChunkStream_ptr_from_offset"][1]["location"] = "imgui_internal:686" +defs["ImChunkStream_ptr_from_offset"][1]["location"] = "imgui_internal:709" defs["ImChunkStream_ptr_from_offset"][1]["ov_cimguiname"] = "ImChunkStream_ptr_from_offset" defs["ImChunkStream_ptr_from_offset"][1]["ret"] = "T*" defs["ImChunkStream_ptr_from_offset"][1]["signature"] = "(int)" @@ -461,7 +461,7 @@ defs["ImChunkStream_size"][1]["call_args"] = "()" defs["ImChunkStream_size"][1]["cimguiname"] = "ImChunkStream_size" defs["ImChunkStream_size"][1]["defaults"] = {} defs["ImChunkStream_size"][1]["funcname"] = "size" -defs["ImChunkStream_size"][1]["location"] = "imgui_internal:679" +defs["ImChunkStream_size"][1]["location"] = "imgui_internal:702" defs["ImChunkStream_size"][1]["ov_cimguiname"] = "ImChunkStream_size" defs["ImChunkStream_size"][1]["ret"] = "int" defs["ImChunkStream_size"][1]["signature"] = "()const" @@ -470,7 +470,7 @@ defs["ImChunkStream_size"][1]["templated"] = true defs["ImChunkStream_size"]["()const"] = defs["ImChunkStream_size"][1] defs["ImChunkStream_swap"] = {} defs["ImChunkStream_swap"][1] = {} -defs["ImChunkStream_swap"][1]["args"] = "(ImChunkStream* self,ImChunkStream* rhs)" +defs["ImChunkStream_swap"][1]["args"] = "(ImChunkStream* self,ImChunkStream_T * rhs)" defs["ImChunkStream_swap"][1]["argsT"] = {} defs["ImChunkStream_swap"][1]["argsT"][1] = {} defs["ImChunkStream_swap"][1]["argsT"][1]["name"] = "self" @@ -478,19 +478,19 @@ defs["ImChunkStream_swap"][1]["argsT"][1]["type"] = "ImChunkStream*" defs["ImChunkStream_swap"][1]["argsT"][2] = {} defs["ImChunkStream_swap"][1]["argsT"][2]["name"] = "rhs" defs["ImChunkStream_swap"][1]["argsT"][2]["reftoptr"] = true -defs["ImChunkStream_swap"][1]["argsT"][2]["type"] = "ImChunkStream*" +defs["ImChunkStream_swap"][1]["argsT"][2]["type"] = "ImChunkStream_T *" defs["ImChunkStream_swap"][1]["argsoriginal"] = "(ImChunkStream& rhs)" defs["ImChunkStream_swap"][1]["call_args"] = "(*rhs)" defs["ImChunkStream_swap"][1]["cimguiname"] = "ImChunkStream_swap" defs["ImChunkStream_swap"][1]["defaults"] = {} defs["ImChunkStream_swap"][1]["funcname"] = "swap" -defs["ImChunkStream_swap"][1]["location"] = "imgui_internal:687" +defs["ImChunkStream_swap"][1]["location"] = "imgui_internal:710" defs["ImChunkStream_swap"][1]["ov_cimguiname"] = "ImChunkStream_swap" defs["ImChunkStream_swap"][1]["ret"] = "void" -defs["ImChunkStream_swap"][1]["signature"] = "(ImChunkStream*)" +defs["ImChunkStream_swap"][1]["signature"] = "(ImChunkStream_T *)" defs["ImChunkStream_swap"][1]["stname"] = "ImChunkStream" defs["ImChunkStream_swap"][1]["templated"] = true -defs["ImChunkStream_swap"]["(ImChunkStream*)"] = defs["ImChunkStream_swap"][1] +defs["ImChunkStream_swap"]["(ImChunkStream_T *)"] = defs["ImChunkStream_swap"][1] defs["ImColor_HSV"] = {} defs["ImColor_HSV"][1] = {} defs["ImColor_HSV"][1]["args"] = "(ImColor *pOut,float h,float s,float v,float a)" @@ -517,7 +517,7 @@ defs["ImColor_HSV"][1]["defaults"] = {} defs["ImColor_HSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_HSV"][1]["funcname"] = "HSV" defs["ImColor_HSV"][1]["is_static_function"] = true -defs["ImColor_HSV"][1]["location"] = "imgui:2361" +defs["ImColor_HSV"][1]["location"] = "imgui:2472" defs["ImColor_HSV"][1]["nonUDT"] = 1 defs["ImColor_HSV"][1]["ov_cimguiname"] = "ImColor_HSV" defs["ImColor_HSV"][1]["ret"] = "void" @@ -534,99 +534,99 @@ defs["ImColor_ImColor"][1]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][1]["constructor"] = true defs["ImColor_ImColor"][1]["defaults"] = {} defs["ImColor_ImColor"][1]["funcname"] = "ImColor" -defs["ImColor_ImColor"][1]["location"] = "imgui:2351" -defs["ImColor_ImColor"][1]["ov_cimguiname"] = "ImColor_ImColorNil" +defs["ImColor_ImColor"][1]["location"] = "imgui:2462" +defs["ImColor_ImColor"][1]["ov_cimguiname"] = "ImColor_ImColor_Nil" defs["ImColor_ImColor"][1]["signature"] = "()" defs["ImColor_ImColor"][1]["stname"] = "ImColor" defs["ImColor_ImColor"][2] = {} -defs["ImColor_ImColor"][2]["args"] = "(int r,int g,int b,int a)" +defs["ImColor_ImColor"][2]["args"] = "(float r,float g,float b,float a)" defs["ImColor_ImColor"][2]["argsT"] = {} defs["ImColor_ImColor"][2]["argsT"][1] = {} defs["ImColor_ImColor"][2]["argsT"][1]["name"] = "r" -defs["ImColor_ImColor"][2]["argsT"][1]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][1]["type"] = "float" defs["ImColor_ImColor"][2]["argsT"][2] = {} defs["ImColor_ImColor"][2]["argsT"][2]["name"] = "g" -defs["ImColor_ImColor"][2]["argsT"][2]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][2]["type"] = "float" defs["ImColor_ImColor"][2]["argsT"][3] = {} defs["ImColor_ImColor"][2]["argsT"][3]["name"] = "b" -defs["ImColor_ImColor"][2]["argsT"][3]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][3]["type"] = "float" defs["ImColor_ImColor"][2]["argsT"][4] = {} defs["ImColor_ImColor"][2]["argsT"][4]["name"] = "a" -defs["ImColor_ImColor"][2]["argsT"][4]["type"] = "int" -defs["ImColor_ImColor"][2]["argsoriginal"] = "(int r,int g,int b,int a=255)" +defs["ImColor_ImColor"][2]["argsT"][4]["type"] = "float" +defs["ImColor_ImColor"][2]["argsoriginal"] = "(float r,float g,float b,float a=1.0f)" defs["ImColor_ImColor"][2]["call_args"] = "(r,g,b,a)" defs["ImColor_ImColor"][2]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][2]["constructor"] = true defs["ImColor_ImColor"][2]["defaults"] = {} -defs["ImColor_ImColor"][2]["defaults"]["a"] = "255" +defs["ImColor_ImColor"][2]["defaults"]["a"] = "1.0f" defs["ImColor_ImColor"][2]["funcname"] = "ImColor" -defs["ImColor_ImColor"][2]["location"] = "imgui:2352" -defs["ImColor_ImColor"][2]["ov_cimguiname"] = "ImColor_ImColorInt" -defs["ImColor_ImColor"][2]["signature"] = "(int,int,int,int)" +defs["ImColor_ImColor"][2]["location"] = "imgui:2463" +defs["ImColor_ImColor"][2]["ov_cimguiname"] = "ImColor_ImColor_Float" +defs["ImColor_ImColor"][2]["signature"] = "(float,float,float,float)" defs["ImColor_ImColor"][2]["stname"] = "ImColor" defs["ImColor_ImColor"][3] = {} -defs["ImColor_ImColor"][3]["args"] = "(ImU32 rgba)" +defs["ImColor_ImColor"][3]["args"] = "(const ImVec4 col)" defs["ImColor_ImColor"][3]["argsT"] = {} defs["ImColor_ImColor"][3]["argsT"][1] = {} -defs["ImColor_ImColor"][3]["argsT"][1]["name"] = "rgba" -defs["ImColor_ImColor"][3]["argsT"][1]["type"] = "ImU32" -defs["ImColor_ImColor"][3]["argsoriginal"] = "(ImU32 rgba)" -defs["ImColor_ImColor"][3]["call_args"] = "(rgba)" +defs["ImColor_ImColor"][3]["argsT"][1]["name"] = "col" +defs["ImColor_ImColor"][3]["argsT"][1]["type"] = "const ImVec4" +defs["ImColor_ImColor"][3]["argsoriginal"] = "(const ImVec4& col)" +defs["ImColor_ImColor"][3]["call_args"] = "(col)" defs["ImColor_ImColor"][3]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][3]["constructor"] = true defs["ImColor_ImColor"][3]["defaults"] = {} defs["ImColor_ImColor"][3]["funcname"] = "ImColor" -defs["ImColor_ImColor"][3]["location"] = "imgui:2353" -defs["ImColor_ImColor"][3]["ov_cimguiname"] = "ImColor_ImColorU32" -defs["ImColor_ImColor"][3]["signature"] = "(ImU32)" +defs["ImColor_ImColor"][3]["location"] = "imgui:2464" +defs["ImColor_ImColor"][3]["ov_cimguiname"] = "ImColor_ImColor_Vec4" +defs["ImColor_ImColor"][3]["signature"] = "(const ImVec4)" defs["ImColor_ImColor"][3]["stname"] = "ImColor" defs["ImColor_ImColor"][4] = {} -defs["ImColor_ImColor"][4]["args"] = "(float r,float g,float b,float a)" +defs["ImColor_ImColor"][4]["args"] = "(int r,int g,int b,int a)" defs["ImColor_ImColor"][4]["argsT"] = {} defs["ImColor_ImColor"][4]["argsT"][1] = {} defs["ImColor_ImColor"][4]["argsT"][1]["name"] = "r" -defs["ImColor_ImColor"][4]["argsT"][1]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][1]["type"] = "int" defs["ImColor_ImColor"][4]["argsT"][2] = {} defs["ImColor_ImColor"][4]["argsT"][2]["name"] = "g" -defs["ImColor_ImColor"][4]["argsT"][2]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][2]["type"] = "int" defs["ImColor_ImColor"][4]["argsT"][3] = {} defs["ImColor_ImColor"][4]["argsT"][3]["name"] = "b" -defs["ImColor_ImColor"][4]["argsT"][3]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][3]["type"] = "int" defs["ImColor_ImColor"][4]["argsT"][4] = {} defs["ImColor_ImColor"][4]["argsT"][4]["name"] = "a" -defs["ImColor_ImColor"][4]["argsT"][4]["type"] = "float" -defs["ImColor_ImColor"][4]["argsoriginal"] = "(float r,float g,float b,float a=1.0f)" +defs["ImColor_ImColor"][4]["argsT"][4]["type"] = "int" +defs["ImColor_ImColor"][4]["argsoriginal"] = "(int r,int g,int b,int a=255)" defs["ImColor_ImColor"][4]["call_args"] = "(r,g,b,a)" defs["ImColor_ImColor"][4]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][4]["constructor"] = true defs["ImColor_ImColor"][4]["defaults"] = {} -defs["ImColor_ImColor"][4]["defaults"]["a"] = "1.0f" +defs["ImColor_ImColor"][4]["defaults"]["a"] = "255" defs["ImColor_ImColor"][4]["funcname"] = "ImColor" -defs["ImColor_ImColor"][4]["location"] = "imgui:2354" -defs["ImColor_ImColor"][4]["ov_cimguiname"] = "ImColor_ImColorFloat" -defs["ImColor_ImColor"][4]["signature"] = "(float,float,float,float)" +defs["ImColor_ImColor"][4]["location"] = "imgui:2465" +defs["ImColor_ImColor"][4]["ov_cimguiname"] = "ImColor_ImColor_Int" +defs["ImColor_ImColor"][4]["signature"] = "(int,int,int,int)" defs["ImColor_ImColor"][4]["stname"] = "ImColor" defs["ImColor_ImColor"][5] = {} -defs["ImColor_ImColor"][5]["args"] = "(const ImVec4 col)" +defs["ImColor_ImColor"][5]["args"] = "(ImU32 rgba)" defs["ImColor_ImColor"][5]["argsT"] = {} defs["ImColor_ImColor"][5]["argsT"][1] = {} -defs["ImColor_ImColor"][5]["argsT"][1]["name"] = "col" -defs["ImColor_ImColor"][5]["argsT"][1]["type"] = "const ImVec4" -defs["ImColor_ImColor"][5]["argsoriginal"] = "(const ImVec4& col)" -defs["ImColor_ImColor"][5]["call_args"] = "(col)" +defs["ImColor_ImColor"][5]["argsT"][1]["name"] = "rgba" +defs["ImColor_ImColor"][5]["argsT"][1]["type"] = "ImU32" +defs["ImColor_ImColor"][5]["argsoriginal"] = "(ImU32 rgba)" +defs["ImColor_ImColor"][5]["call_args"] = "(rgba)" defs["ImColor_ImColor"][5]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][5]["constructor"] = true defs["ImColor_ImColor"][5]["defaults"] = {} defs["ImColor_ImColor"][5]["funcname"] = "ImColor" -defs["ImColor_ImColor"][5]["location"] = "imgui:2355" -defs["ImColor_ImColor"][5]["ov_cimguiname"] = "ImColor_ImColorVec4" -defs["ImColor_ImColor"][5]["signature"] = "(const ImVec4)" +defs["ImColor_ImColor"][5]["location"] = "imgui:2466" +defs["ImColor_ImColor"][5]["ov_cimguiname"] = "ImColor_ImColor_U32" +defs["ImColor_ImColor"][5]["signature"] = "(ImU32)" defs["ImColor_ImColor"][5]["stname"] = "ImColor" defs["ImColor_ImColor"]["()"] = defs["ImColor_ImColor"][1] -defs["ImColor_ImColor"]["(ImU32)"] = defs["ImColor_ImColor"][3] -defs["ImColor_ImColor"]["(const ImVec4)"] = defs["ImColor_ImColor"][5] -defs["ImColor_ImColor"]["(float,float,float,float)"] = defs["ImColor_ImColor"][4] -defs["ImColor_ImColor"]["(int,int,int,int)"] = defs["ImColor_ImColor"][2] +defs["ImColor_ImColor"]["(ImU32)"] = defs["ImColor_ImColor"][5] +defs["ImColor_ImColor"]["(const ImVec4)"] = defs["ImColor_ImColor"][3] +defs["ImColor_ImColor"]["(float,float,float,float)"] = defs["ImColor_ImColor"][2] +defs["ImColor_ImColor"]["(int,int,int,int)"] = defs["ImColor_ImColor"][4] defs["ImColor_SetHSV"] = {} defs["ImColor_SetHSV"][1] = {} defs["ImColor_SetHSV"][1]["args"] = "(ImColor* self,float h,float s,float v,float a)" @@ -652,7 +652,7 @@ defs["ImColor_SetHSV"][1]["cimguiname"] = "ImColor_SetHSV" defs["ImColor_SetHSV"][1]["defaults"] = {} defs["ImColor_SetHSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_SetHSV"][1]["funcname"] = "SetHSV" -defs["ImColor_SetHSV"][1]["location"] = "imgui:2360" +defs["ImColor_SetHSV"][1]["location"] = "imgui:2471" defs["ImColor_SetHSV"][1]["ov_cimguiname"] = "ImColor_SetHSV" defs["ImColor_SetHSV"][1]["ret"] = "void" defs["ImColor_SetHSV"][1]["signature"] = "(float,float,float,float)" @@ -686,7 +686,7 @@ defs["ImDrawCmd_GetTexID"][1]["call_args"] = "()" defs["ImDrawCmd_GetTexID"][1]["cimguiname"] = "ImDrawCmd_GetTexID" defs["ImDrawCmd_GetTexID"][1]["defaults"] = {} defs["ImDrawCmd_GetTexID"][1]["funcname"] = "GetTexID" -defs["ImDrawCmd_GetTexID"][1]["location"] = "imgui:2409" +defs["ImDrawCmd_GetTexID"][1]["location"] = "imgui:2520" defs["ImDrawCmd_GetTexID"][1]["ov_cimguiname"] = "ImDrawCmd_GetTexID" defs["ImDrawCmd_GetTexID"][1]["ret"] = "ImTextureID" defs["ImDrawCmd_GetTexID"][1]["signature"] = "()const" @@ -702,7 +702,7 @@ defs["ImDrawCmd_ImDrawCmd"][1]["cimguiname"] = "ImDrawCmd_ImDrawCmd" defs["ImDrawCmd_ImDrawCmd"][1]["constructor"] = true defs["ImDrawCmd_ImDrawCmd"][1]["defaults"] = {} defs["ImDrawCmd_ImDrawCmd"][1]["funcname"] = "ImDrawCmd" -defs["ImDrawCmd_ImDrawCmd"][1]["location"] = "imgui:2406" +defs["ImDrawCmd_ImDrawCmd"][1]["location"] = "imgui:2517" defs["ImDrawCmd_ImDrawCmd"][1]["ov_cimguiname"] = "ImDrawCmd_ImDrawCmd" defs["ImDrawCmd_ImDrawCmd"][1]["signature"] = "()" defs["ImDrawCmd_ImDrawCmd"][1]["stname"] = "ImDrawCmd" @@ -735,7 +735,7 @@ defs["ImDrawDataBuilder_Clear"][1]["call_args"] = "()" defs["ImDrawDataBuilder_Clear"][1]["cimguiname"] = "ImDrawDataBuilder_Clear" defs["ImDrawDataBuilder_Clear"][1]["defaults"] = {} defs["ImDrawDataBuilder_Clear"][1]["funcname"] = "Clear" -defs["ImDrawDataBuilder_Clear"][1]["location"] = "imgui_internal:747" +defs["ImDrawDataBuilder_Clear"][1]["location"] = "imgui_internal:786" defs["ImDrawDataBuilder_Clear"][1]["ov_cimguiname"] = "ImDrawDataBuilder_Clear" defs["ImDrawDataBuilder_Clear"][1]["ret"] = "void" defs["ImDrawDataBuilder_Clear"][1]["signature"] = "()" @@ -753,7 +753,7 @@ defs["ImDrawDataBuilder_ClearFreeMemory"][1]["call_args"] = "()" defs["ImDrawDataBuilder_ClearFreeMemory"][1]["cimguiname"] = "ImDrawDataBuilder_ClearFreeMemory" defs["ImDrawDataBuilder_ClearFreeMemory"][1]["defaults"] = {} defs["ImDrawDataBuilder_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" -defs["ImDrawDataBuilder_ClearFreeMemory"][1]["location"] = "imgui_internal:748" +defs["ImDrawDataBuilder_ClearFreeMemory"][1]["location"] = "imgui_internal:787" defs["ImDrawDataBuilder_ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawDataBuilder_ClearFreeMemory" defs["ImDrawDataBuilder_ClearFreeMemory"][1]["ret"] = "void" defs["ImDrawDataBuilder_ClearFreeMemory"][1]["signature"] = "()" @@ -771,7 +771,7 @@ defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["call_args"] = "()" defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["cimguiname"] = "ImDrawDataBuilder_FlattenIntoSingleLayer" defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["defaults"] = {} defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["funcname"] = "FlattenIntoSingleLayer" -defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["location"] = "imgui_internal:750" +defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["location"] = "imgui_internal:789" defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["ov_cimguiname"] = "ImDrawDataBuilder_FlattenIntoSingleLayer" defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["ret"] = "void" defs["ImDrawDataBuilder_FlattenIntoSingleLayer"][1]["signature"] = "()" @@ -789,7 +789,7 @@ defs["ImDrawDataBuilder_GetDrawListCount"][1]["call_args"] = "()" defs["ImDrawDataBuilder_GetDrawListCount"][1]["cimguiname"] = "ImDrawDataBuilder_GetDrawListCount" defs["ImDrawDataBuilder_GetDrawListCount"][1]["defaults"] = {} defs["ImDrawDataBuilder_GetDrawListCount"][1]["funcname"] = "GetDrawListCount" -defs["ImDrawDataBuilder_GetDrawListCount"][1]["location"] = "imgui_internal:749" +defs["ImDrawDataBuilder_GetDrawListCount"][1]["location"] = "imgui_internal:788" defs["ImDrawDataBuilder_GetDrawListCount"][1]["ov_cimguiname"] = "ImDrawDataBuilder_GetDrawListCount" defs["ImDrawDataBuilder_GetDrawListCount"][1]["ret"] = "int" defs["ImDrawDataBuilder_GetDrawListCount"][1]["signature"] = "()const" @@ -807,7 +807,7 @@ defs["ImDrawData_Clear"][1]["call_args"] = "()" defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" defs["ImDrawData_Clear"][1]["defaults"] = {} defs["ImDrawData_Clear"][1]["funcname"] = "Clear" -defs["ImDrawData_Clear"][1]["location"] = "imgui:2641" +defs["ImDrawData_Clear"][1]["location"] = "imgui:2754" defs["ImDrawData_Clear"][1]["ov_cimguiname"] = "ImDrawData_Clear" defs["ImDrawData_Clear"][1]["ret"] = "void" defs["ImDrawData_Clear"][1]["signature"] = "()" @@ -825,7 +825,7 @@ defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} defs["ImDrawData_DeIndexAllBuffers"][1]["funcname"] = "DeIndexAllBuffers" -defs["ImDrawData_DeIndexAllBuffers"][1]["location"] = "imgui:2642" +defs["ImDrawData_DeIndexAllBuffers"][1]["location"] = "imgui:2755" defs["ImDrawData_DeIndexAllBuffers"][1]["ov_cimguiname"] = "ImDrawData_DeIndexAllBuffers" defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" @@ -841,7 +841,7 @@ defs["ImDrawData_ImDrawData"][1]["cimguiname"] = "ImDrawData_ImDrawData" defs["ImDrawData_ImDrawData"][1]["constructor"] = true defs["ImDrawData_ImDrawData"][1]["defaults"] = {} defs["ImDrawData_ImDrawData"][1]["funcname"] = "ImDrawData" -defs["ImDrawData_ImDrawData"][1]["location"] = "imgui:2640" +defs["ImDrawData_ImDrawData"][1]["location"] = "imgui:2753" defs["ImDrawData_ImDrawData"][1]["ov_cimguiname"] = "ImDrawData_ImDrawData" defs["ImDrawData_ImDrawData"][1]["signature"] = "()" defs["ImDrawData_ImDrawData"][1]["stname"] = "ImDrawData" @@ -861,7 +861,7 @@ defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(fb_scale)" defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} defs["ImDrawData_ScaleClipRects"][1]["funcname"] = "ScaleClipRects" -defs["ImDrawData_ScaleClipRects"][1]["location"] = "imgui:2643" +defs["ImDrawData_ScaleClipRects"][1]["location"] = "imgui:2756" defs["ImDrawData_ScaleClipRects"][1]["ov_cimguiname"] = "ImDrawData_ScaleClipRects" defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" @@ -893,7 +893,7 @@ defs["ImDrawListSharedData_ImDrawListSharedData"][1]["cimguiname"] = "ImDrawList defs["ImDrawListSharedData_ImDrawListSharedData"][1]["constructor"] = true defs["ImDrawListSharedData_ImDrawListSharedData"][1]["defaults"] = {} defs["ImDrawListSharedData_ImDrawListSharedData"][1]["funcname"] = "ImDrawListSharedData" -defs["ImDrawListSharedData_ImDrawListSharedData"][1]["location"] = "imgui_internal:739" +defs["ImDrawListSharedData_ImDrawListSharedData"][1]["location"] = "imgui_internal:778" defs["ImDrawListSharedData_ImDrawListSharedData"][1]["ov_cimguiname"] = "ImDrawListSharedData_ImDrawListSharedData" defs["ImDrawListSharedData_ImDrawListSharedData"][1]["signature"] = "()" defs["ImDrawListSharedData_ImDrawListSharedData"][1]["stname"] = "ImDrawListSharedData" @@ -913,7 +913,7 @@ defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["call_args"] = "(m defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["cimguiname"] = "ImDrawListSharedData_SetCircleTessellationMaxError" defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["defaults"] = {} defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["funcname"] = "SetCircleTessellationMaxError" -defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["location"] = "imgui_internal:740" +defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["location"] = "imgui_internal:779" defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["ov_cimguiname"] = "ImDrawListSharedData_SetCircleTessellationMaxError" defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["ret"] = "void" defs["ImDrawListSharedData_SetCircleTessellationMaxError"][1]["signature"] = "(float)" @@ -947,7 +947,7 @@ defs["ImDrawListSplitter_Clear"][1]["call_args"] = "()" defs["ImDrawListSplitter_Clear"][1]["cimguiname"] = "ImDrawListSplitter_Clear" defs["ImDrawListSplitter_Clear"][1]["defaults"] = {} defs["ImDrawListSplitter_Clear"][1]["funcname"] = "Clear" -defs["ImDrawListSplitter_Clear"][1]["location"] = "imgui:2454" +defs["ImDrawListSplitter_Clear"][1]["location"] = "imgui:2565" defs["ImDrawListSplitter_Clear"][1]["ov_cimguiname"] = "ImDrawListSplitter_Clear" defs["ImDrawListSplitter_Clear"][1]["ret"] = "void" defs["ImDrawListSplitter_Clear"][1]["signature"] = "()" @@ -965,7 +965,7 @@ defs["ImDrawListSplitter_ClearFreeMemory"][1]["call_args"] = "()" defs["ImDrawListSplitter_ClearFreeMemory"][1]["cimguiname"] = "ImDrawListSplitter_ClearFreeMemory" defs["ImDrawListSplitter_ClearFreeMemory"][1]["defaults"] = {} defs["ImDrawListSplitter_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" -defs["ImDrawListSplitter_ClearFreeMemory"][1]["location"] = "imgui:2455" +defs["ImDrawListSplitter_ClearFreeMemory"][1]["location"] = "imgui:2566" defs["ImDrawListSplitter_ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawListSplitter_ClearFreeMemory" defs["ImDrawListSplitter_ClearFreeMemory"][1]["ret"] = "void" defs["ImDrawListSplitter_ClearFreeMemory"][1]["signature"] = "()" @@ -981,7 +981,7 @@ defs["ImDrawListSplitter_ImDrawListSplitter"][1]["cimguiname"] = "ImDrawListSpli defs["ImDrawListSplitter_ImDrawListSplitter"][1]["constructor"] = true defs["ImDrawListSplitter_ImDrawListSplitter"][1]["defaults"] = {} defs["ImDrawListSplitter_ImDrawListSplitter"][1]["funcname"] = "ImDrawListSplitter" -defs["ImDrawListSplitter_ImDrawListSplitter"][1]["location"] = "imgui:2452" +defs["ImDrawListSplitter_ImDrawListSplitter"][1]["location"] = "imgui:2563" defs["ImDrawListSplitter_ImDrawListSplitter"][1]["ov_cimguiname"] = "ImDrawListSplitter_ImDrawListSplitter" defs["ImDrawListSplitter_ImDrawListSplitter"][1]["signature"] = "()" defs["ImDrawListSplitter_ImDrawListSplitter"][1]["stname"] = "ImDrawListSplitter" @@ -1001,7 +1001,7 @@ defs["ImDrawListSplitter_Merge"][1]["call_args"] = "(draw_list)" defs["ImDrawListSplitter_Merge"][1]["cimguiname"] = "ImDrawListSplitter_Merge" defs["ImDrawListSplitter_Merge"][1]["defaults"] = {} defs["ImDrawListSplitter_Merge"][1]["funcname"] = "Merge" -defs["ImDrawListSplitter_Merge"][1]["location"] = "imgui:2457" +defs["ImDrawListSplitter_Merge"][1]["location"] = "imgui:2568" defs["ImDrawListSplitter_Merge"][1]["ov_cimguiname"] = "ImDrawListSplitter_Merge" defs["ImDrawListSplitter_Merge"][1]["ret"] = "void" defs["ImDrawListSplitter_Merge"][1]["signature"] = "(ImDrawList*)" @@ -1025,7 +1025,7 @@ defs["ImDrawListSplitter_SetCurrentChannel"][1]["call_args"] = "(draw_list,chann defs["ImDrawListSplitter_SetCurrentChannel"][1]["cimguiname"] = "ImDrawListSplitter_SetCurrentChannel" defs["ImDrawListSplitter_SetCurrentChannel"][1]["defaults"] = {} defs["ImDrawListSplitter_SetCurrentChannel"][1]["funcname"] = "SetCurrentChannel" -defs["ImDrawListSplitter_SetCurrentChannel"][1]["location"] = "imgui:2458" +defs["ImDrawListSplitter_SetCurrentChannel"][1]["location"] = "imgui:2569" defs["ImDrawListSplitter_SetCurrentChannel"][1]["ov_cimguiname"] = "ImDrawListSplitter_SetCurrentChannel" defs["ImDrawListSplitter_SetCurrentChannel"][1]["ret"] = "void" defs["ImDrawListSplitter_SetCurrentChannel"][1]["signature"] = "(ImDrawList*,int)" @@ -1049,7 +1049,7 @@ defs["ImDrawListSplitter_Split"][1]["call_args"] = "(draw_list,count)" defs["ImDrawListSplitter_Split"][1]["cimguiname"] = "ImDrawListSplitter_Split" defs["ImDrawListSplitter_Split"][1]["defaults"] = {} defs["ImDrawListSplitter_Split"][1]["funcname"] = "Split" -defs["ImDrawListSplitter_Split"][1]["location"] = "imgui:2456" +defs["ImDrawListSplitter_Split"][1]["location"] = "imgui:2567" defs["ImDrawListSplitter_Split"][1]["ov_cimguiname"] = "ImDrawListSplitter_Split" defs["ImDrawListSplitter_Split"][1]["ret"] = "void" defs["ImDrawListSplitter_Split"][1]["signature"] = "(ImDrawList*,int)" @@ -1066,7 +1066,7 @@ defs["ImDrawListSplitter_destroy"][1]["call_args"] = "(self)" defs["ImDrawListSplitter_destroy"][1]["cimguiname"] = "ImDrawListSplitter_destroy" defs["ImDrawListSplitter_destroy"][1]["defaults"] = {} defs["ImDrawListSplitter_destroy"][1]["destructor"] = true -defs["ImDrawListSplitter_destroy"][1]["location"] = "imgui:2453" +defs["ImDrawListSplitter_destroy"][1]["location"] = "imgui:2564" defs["ImDrawListSplitter_destroy"][1]["ov_cimguiname"] = "ImDrawListSplitter_destroy" defs["ImDrawListSplitter_destroy"][1]["realdestructor"] = true defs["ImDrawListSplitter_destroy"][1]["ret"] = "void" @@ -1107,7 +1107,7 @@ defs["ImDrawList_AddBezierCubic"][1]["cimguiname"] = "ImDrawList_AddBezierCubic" defs["ImDrawList_AddBezierCubic"][1]["defaults"] = {} defs["ImDrawList_AddBezierCubic"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddBezierCubic"][1]["funcname"] = "AddBezierCubic" -defs["ImDrawList_AddBezierCubic"][1]["location"] = "imgui:2556" +defs["ImDrawList_AddBezierCubic"][1]["location"] = "imgui:2668" defs["ImDrawList_AddBezierCubic"][1]["ov_cimguiname"] = "ImDrawList_AddBezierCubic" defs["ImDrawList_AddBezierCubic"][1]["ret"] = "void" defs["ImDrawList_AddBezierCubic"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" @@ -1144,7 +1144,7 @@ defs["ImDrawList_AddBezierQuadratic"][1]["cimguiname"] = "ImDrawList_AddBezierQu defs["ImDrawList_AddBezierQuadratic"][1]["defaults"] = {} defs["ImDrawList_AddBezierQuadratic"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddBezierQuadratic"][1]["funcname"] = "AddBezierQuadratic" -defs["ImDrawList_AddBezierQuadratic"][1]["location"] = "imgui:2557" +defs["ImDrawList_AddBezierQuadratic"][1]["location"] = "imgui:2669" defs["ImDrawList_AddBezierQuadratic"][1]["ov_cimguiname"] = "ImDrawList_AddBezierQuadratic" defs["ImDrawList_AddBezierQuadratic"][1]["ret"] = "void" defs["ImDrawList_AddBezierQuadratic"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" @@ -1168,7 +1168,7 @@ defs["ImDrawList_AddCallback"][1]["call_args"] = "(callback,callback_data)" defs["ImDrawList_AddCallback"][1]["cimguiname"] = "ImDrawList_AddCallback" defs["ImDrawList_AddCallback"][1]["defaults"] = {} defs["ImDrawList_AddCallback"][1]["funcname"] = "AddCallback" -defs["ImDrawList_AddCallback"][1]["location"] = "imgui:2580" +defs["ImDrawList_AddCallback"][1]["location"] = "imgui:2693" defs["ImDrawList_AddCallback"][1]["ov_cimguiname"] = "ImDrawList_AddCallback" defs["ImDrawList_AddCallback"][1]["ret"] = "void" defs["ImDrawList_AddCallback"][1]["signature"] = "(ImDrawCallback,void*)" @@ -1203,7 +1203,7 @@ defs["ImDrawList_AddCircle"][1]["defaults"] = {} defs["ImDrawList_AddCircle"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddCircle"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddCircle"][1]["funcname"] = "AddCircle" -defs["ImDrawList_AddCircle"][1]["location"] = "imgui:2548" +defs["ImDrawList_AddCircle"][1]["location"] = "imgui:2660" defs["ImDrawList_AddCircle"][1]["ov_cimguiname"] = "ImDrawList_AddCircle" defs["ImDrawList_AddCircle"][1]["ret"] = "void" defs["ImDrawList_AddCircle"][1]["signature"] = "(const ImVec2,float,ImU32,int,float)" @@ -1234,7 +1234,7 @@ defs["ImDrawList_AddCircleFilled"][1]["cimguiname"] = "ImDrawList_AddCircleFille defs["ImDrawList_AddCircleFilled"][1]["defaults"] = {} defs["ImDrawList_AddCircleFilled"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddCircleFilled"][1]["funcname"] = "AddCircleFilled" -defs["ImDrawList_AddCircleFilled"][1]["location"] = "imgui:2549" +defs["ImDrawList_AddCircleFilled"][1]["location"] = "imgui:2661" defs["ImDrawList_AddCircleFilled"][1]["ov_cimguiname"] = "ImDrawList_AddCircleFilled" defs["ImDrawList_AddCircleFilled"][1]["ret"] = "void" defs["ImDrawList_AddCircleFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" @@ -1261,7 +1261,7 @@ defs["ImDrawList_AddConvexPolyFilled"][1]["call_args"] = "(points,num_points,col defs["ImDrawList_AddConvexPolyFilled"][1]["cimguiname"] = "ImDrawList_AddConvexPolyFilled" defs["ImDrawList_AddConvexPolyFilled"][1]["defaults"] = {} defs["ImDrawList_AddConvexPolyFilled"][1]["funcname"] = "AddConvexPolyFilled" -defs["ImDrawList_AddConvexPolyFilled"][1]["location"] = "imgui:2555" +defs["ImDrawList_AddConvexPolyFilled"][1]["location"] = "imgui:2667" defs["ImDrawList_AddConvexPolyFilled"][1]["ov_cimguiname"] = "ImDrawList_AddConvexPolyFilled" defs["ImDrawList_AddConvexPolyFilled"][1]["ret"] = "void" defs["ImDrawList_AddConvexPolyFilled"][1]["signature"] = "(const ImVec2*,int,ImU32)" @@ -1279,7 +1279,7 @@ defs["ImDrawList_AddDrawCmd"][1]["call_args"] = "()" defs["ImDrawList_AddDrawCmd"][1]["cimguiname"] = "ImDrawList_AddDrawCmd" defs["ImDrawList_AddDrawCmd"][1]["defaults"] = {} defs["ImDrawList_AddDrawCmd"][1]["funcname"] = "AddDrawCmd" -defs["ImDrawList_AddDrawCmd"][1]["location"] = "imgui:2581" +defs["ImDrawList_AddDrawCmd"][1]["location"] = "imgui:2694" defs["ImDrawList_AddDrawCmd"][1]["ov_cimguiname"] = "ImDrawList_AddDrawCmd" defs["ImDrawList_AddDrawCmd"][1]["ret"] = "void" defs["ImDrawList_AddDrawCmd"][1]["signature"] = "()" @@ -1318,7 +1318,7 @@ defs["ImDrawList_AddImage"][1]["defaults"]["col"] = "4294967295" defs["ImDrawList_AddImage"][1]["defaults"]["uv_max"] = "ImVec2(1,1)" defs["ImDrawList_AddImage"][1]["defaults"]["uv_min"] = "ImVec2(0,0)" defs["ImDrawList_AddImage"][1]["funcname"] = "AddImage" -defs["ImDrawList_AddImage"][1]["location"] = "imgui:2563" +defs["ImDrawList_AddImage"][1]["location"] = "imgui:2675" defs["ImDrawList_AddImage"][1]["ov_cimguiname"] = "ImDrawList_AddImage" defs["ImDrawList_AddImage"][1]["ret"] = "void" defs["ImDrawList_AddImage"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1371,7 +1371,7 @@ defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv2"] = "ImVec2(1,0)" defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv3"] = "ImVec2(1,1)" defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv4"] = "ImVec2(0,1)" defs["ImDrawList_AddImageQuad"][1]["funcname"] = "AddImageQuad" -defs["ImDrawList_AddImageQuad"][1]["location"] = "imgui:2564" +defs["ImDrawList_AddImageQuad"][1]["location"] = "imgui:2676" defs["ImDrawList_AddImageQuad"][1]["ov_cimguiname"] = "ImDrawList_AddImageQuad" defs["ImDrawList_AddImageQuad"][1]["ret"] = "void" defs["ImDrawList_AddImageQuad"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1414,7 +1414,7 @@ defs["ImDrawList_AddImageRounded"][1]["cimguiname"] = "ImDrawList_AddImageRounde defs["ImDrawList_AddImageRounded"][1]["defaults"] = {} defs["ImDrawList_AddImageRounded"][1]["defaults"]["flags"] = "0" defs["ImDrawList_AddImageRounded"][1]["funcname"] = "AddImageRounded" -defs["ImDrawList_AddImageRounded"][1]["location"] = "imgui:2565" +defs["ImDrawList_AddImageRounded"][1]["location"] = "imgui:2677" defs["ImDrawList_AddImageRounded"][1]["ov_cimguiname"] = "ImDrawList_AddImageRounded" defs["ImDrawList_AddImageRounded"][1]["ret"] = "void" defs["ImDrawList_AddImageRounded"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)" @@ -1445,7 +1445,7 @@ defs["ImDrawList_AddLine"][1]["cimguiname"] = "ImDrawList_AddLine" defs["ImDrawList_AddLine"][1]["defaults"] = {} defs["ImDrawList_AddLine"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddLine"][1]["funcname"] = "AddLine" -defs["ImDrawList_AddLine"][1]["location"] = "imgui:2540" +defs["ImDrawList_AddLine"][1]["location"] = "imgui:2652" defs["ImDrawList_AddLine"][1]["ov_cimguiname"] = "ImDrawList_AddLine" defs["ImDrawList_AddLine"][1]["ret"] = "void" defs["ImDrawList_AddLine"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float)" @@ -1479,7 +1479,7 @@ defs["ImDrawList_AddNgon"][1]["cimguiname"] = "ImDrawList_AddNgon" defs["ImDrawList_AddNgon"][1]["defaults"] = {} defs["ImDrawList_AddNgon"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddNgon"][1]["funcname"] = "AddNgon" -defs["ImDrawList_AddNgon"][1]["location"] = "imgui:2550" +defs["ImDrawList_AddNgon"][1]["location"] = "imgui:2662" defs["ImDrawList_AddNgon"][1]["ov_cimguiname"] = "ImDrawList_AddNgon" defs["ImDrawList_AddNgon"][1]["ret"] = "void" defs["ImDrawList_AddNgon"][1]["signature"] = "(const ImVec2,float,ImU32,int,float)" @@ -1509,7 +1509,7 @@ defs["ImDrawList_AddNgonFilled"][1]["call_args"] = "(center,radius,col,num_segme defs["ImDrawList_AddNgonFilled"][1]["cimguiname"] = "ImDrawList_AddNgonFilled" defs["ImDrawList_AddNgonFilled"][1]["defaults"] = {} defs["ImDrawList_AddNgonFilled"][1]["funcname"] = "AddNgonFilled" -defs["ImDrawList_AddNgonFilled"][1]["location"] = "imgui:2551" +defs["ImDrawList_AddNgonFilled"][1]["location"] = "imgui:2663" defs["ImDrawList_AddNgonFilled"][1]["ov_cimguiname"] = "ImDrawList_AddNgonFilled" defs["ImDrawList_AddNgonFilled"][1]["ret"] = "void" defs["ImDrawList_AddNgonFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" @@ -1542,7 +1542,7 @@ defs["ImDrawList_AddPolyline"][1]["call_args"] = "(points,num_points,col,flags,t defs["ImDrawList_AddPolyline"][1]["cimguiname"] = "ImDrawList_AddPolyline" defs["ImDrawList_AddPolyline"][1]["defaults"] = {} defs["ImDrawList_AddPolyline"][1]["funcname"] = "AddPolyline" -defs["ImDrawList_AddPolyline"][1]["location"] = "imgui:2554" +defs["ImDrawList_AddPolyline"][1]["location"] = "imgui:2666" defs["ImDrawList_AddPolyline"][1]["ov_cimguiname"] = "ImDrawList_AddPolyline" defs["ImDrawList_AddPolyline"][1]["ret"] = "void" defs["ImDrawList_AddPolyline"][1]["signature"] = "(const ImVec2*,int,ImU32,ImDrawFlags,float)" @@ -1579,7 +1579,7 @@ defs["ImDrawList_AddQuad"][1]["cimguiname"] = "ImDrawList_AddQuad" defs["ImDrawList_AddQuad"][1]["defaults"] = {} defs["ImDrawList_AddQuad"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddQuad"][1]["funcname"] = "AddQuad" -defs["ImDrawList_AddQuad"][1]["location"] = "imgui:2544" +defs["ImDrawList_AddQuad"][1]["location"] = "imgui:2656" defs["ImDrawList_AddQuad"][1]["ov_cimguiname"] = "ImDrawList_AddQuad" defs["ImDrawList_AddQuad"][1]["ret"] = "void" defs["ImDrawList_AddQuad"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)" @@ -1612,7 +1612,7 @@ defs["ImDrawList_AddQuadFilled"][1]["call_args"] = "(p1,p2,p3,p4,col)" defs["ImDrawList_AddQuadFilled"][1]["cimguiname"] = "ImDrawList_AddQuadFilled" defs["ImDrawList_AddQuadFilled"][1]["defaults"] = {} defs["ImDrawList_AddQuadFilled"][1]["funcname"] = "AddQuadFilled" -defs["ImDrawList_AddQuadFilled"][1]["location"] = "imgui:2545" +defs["ImDrawList_AddQuadFilled"][1]["location"] = "imgui:2657" defs["ImDrawList_AddQuadFilled"][1]["ov_cimguiname"] = "ImDrawList_AddQuadFilled" defs["ImDrawList_AddQuadFilled"][1]["ret"] = "void" defs["ImDrawList_AddQuadFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1651,7 +1651,7 @@ defs["ImDrawList_AddRect"][1]["defaults"]["flags"] = "0" defs["ImDrawList_AddRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRect"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddRect"][1]["funcname"] = "AddRect" -defs["ImDrawList_AddRect"][1]["location"] = "imgui:2541" +defs["ImDrawList_AddRect"][1]["location"] = "imgui:2653" defs["ImDrawList_AddRect"][1]["ov_cimguiname"] = "ImDrawList_AddRect" defs["ImDrawList_AddRect"][1]["ret"] = "void" defs["ImDrawList_AddRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags,float)" @@ -1686,7 +1686,7 @@ defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} defs["ImDrawList_AddRectFilled"][1]["defaults"]["flags"] = "0" defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" -defs["ImDrawList_AddRectFilled"][1]["location"] = "imgui:2542" +defs["ImDrawList_AddRectFilled"][1]["location"] = "imgui:2654" defs["ImDrawList_AddRectFilled"][1]["ov_cimguiname"] = "ImDrawList_AddRectFilled" defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" defs["ImDrawList_AddRectFilled"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)" @@ -1722,7 +1722,7 @@ defs["ImDrawList_AddRectFilledMultiColor"][1]["call_args"] = "(p_min,p_max,col_u defs["ImDrawList_AddRectFilledMultiColor"][1]["cimguiname"] = "ImDrawList_AddRectFilledMultiColor" defs["ImDrawList_AddRectFilledMultiColor"][1]["defaults"] = {} defs["ImDrawList_AddRectFilledMultiColor"][1]["funcname"] = "AddRectFilledMultiColor" -defs["ImDrawList_AddRectFilledMultiColor"][1]["location"] = "imgui:2543" +defs["ImDrawList_AddRectFilledMultiColor"][1]["location"] = "imgui:2655" defs["ImDrawList_AddRectFilledMultiColor"][1]["ov_cimguiname"] = "ImDrawList_AddRectFilledMultiColor" defs["ImDrawList_AddRectFilledMultiColor"][1]["ret"] = "void" defs["ImDrawList_AddRectFilledMultiColor"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)" @@ -1753,8 +1753,8 @@ defs["ImDrawList_AddText"][1]["cimguiname"] = "ImDrawList_AddText" defs["ImDrawList_AddText"][1]["defaults"] = {} defs["ImDrawList_AddText"][1]["defaults"]["text_end"] = "NULL" defs["ImDrawList_AddText"][1]["funcname"] = "AddText" -defs["ImDrawList_AddText"][1]["location"] = "imgui:2552" -defs["ImDrawList_AddText"][1]["ov_cimguiname"] = "ImDrawList_AddTextVec2" +defs["ImDrawList_AddText"][1]["location"] = "imgui:2664" +defs["ImDrawList_AddText"][1]["ov_cimguiname"] = "ImDrawList_AddText_Vec2" defs["ImDrawList_AddText"][1]["ret"] = "void" defs["ImDrawList_AddText"][1]["signature"] = "(const ImVec2,ImU32,const char*,const char*)" defs["ImDrawList_AddText"][1]["stname"] = "ImDrawList" @@ -1796,8 +1796,8 @@ defs["ImDrawList_AddText"][2]["defaults"]["cpu_fine_clip_rect"] = "NULL" defs["ImDrawList_AddText"][2]["defaults"]["text_end"] = "NULL" defs["ImDrawList_AddText"][2]["defaults"]["wrap_width"] = "0.0f" defs["ImDrawList_AddText"][2]["funcname"] = "AddText" -defs["ImDrawList_AddText"][2]["location"] = "imgui:2553" -defs["ImDrawList_AddText"][2]["ov_cimguiname"] = "ImDrawList_AddTextFontPtr" +defs["ImDrawList_AddText"][2]["location"] = "imgui:2665" +defs["ImDrawList_AddText"][2]["ov_cimguiname"] = "ImDrawList_AddText_FontPtr" defs["ImDrawList_AddText"][2]["ret"] = "void" defs["ImDrawList_AddText"][2]["signature"] = "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)" defs["ImDrawList_AddText"][2]["stname"] = "ImDrawList" @@ -1831,7 +1831,7 @@ defs["ImDrawList_AddTriangle"][1]["cimguiname"] = "ImDrawList_AddTriangle" defs["ImDrawList_AddTriangle"][1]["defaults"] = {} defs["ImDrawList_AddTriangle"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddTriangle"][1]["funcname"] = "AddTriangle" -defs["ImDrawList_AddTriangle"][1]["location"] = "imgui:2546" +defs["ImDrawList_AddTriangle"][1]["location"] = "imgui:2658" defs["ImDrawList_AddTriangle"][1]["ov_cimguiname"] = "ImDrawList_AddTriangle" defs["ImDrawList_AddTriangle"][1]["ret"] = "void" defs["ImDrawList_AddTriangle"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)" @@ -1861,7 +1861,7 @@ defs["ImDrawList_AddTriangleFilled"][1]["call_args"] = "(p1,p2,p3,col)" defs["ImDrawList_AddTriangleFilled"][1]["cimguiname"] = "ImDrawList_AddTriangleFilled" defs["ImDrawList_AddTriangleFilled"][1]["defaults"] = {} defs["ImDrawList_AddTriangleFilled"][1]["funcname"] = "AddTriangleFilled" -defs["ImDrawList_AddTriangleFilled"][1]["location"] = "imgui:2547" +defs["ImDrawList_AddTriangleFilled"][1]["location"] = "imgui:2659" defs["ImDrawList_AddTriangleFilled"][1]["ov_cimguiname"] = "ImDrawList_AddTriangleFilled" defs["ImDrawList_AddTriangleFilled"][1]["ret"] = "void" defs["ImDrawList_AddTriangleFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1879,7 +1879,7 @@ defs["ImDrawList_ChannelsMerge"][1]["call_args"] = "()" defs["ImDrawList_ChannelsMerge"][1]["cimguiname"] = "ImDrawList_ChannelsMerge" defs["ImDrawList_ChannelsMerge"][1]["defaults"] = {} defs["ImDrawList_ChannelsMerge"][1]["funcname"] = "ChannelsMerge" -defs["ImDrawList_ChannelsMerge"][1]["location"] = "imgui:2591" +defs["ImDrawList_ChannelsMerge"][1]["location"] = "imgui:2704" defs["ImDrawList_ChannelsMerge"][1]["ov_cimguiname"] = "ImDrawList_ChannelsMerge" defs["ImDrawList_ChannelsMerge"][1]["ret"] = "void" defs["ImDrawList_ChannelsMerge"][1]["signature"] = "()" @@ -1900,7 +1900,7 @@ defs["ImDrawList_ChannelsSetCurrent"][1]["call_args"] = "(n)" defs["ImDrawList_ChannelsSetCurrent"][1]["cimguiname"] = "ImDrawList_ChannelsSetCurrent" defs["ImDrawList_ChannelsSetCurrent"][1]["defaults"] = {} defs["ImDrawList_ChannelsSetCurrent"][1]["funcname"] = "ChannelsSetCurrent" -defs["ImDrawList_ChannelsSetCurrent"][1]["location"] = "imgui:2592" +defs["ImDrawList_ChannelsSetCurrent"][1]["location"] = "imgui:2705" defs["ImDrawList_ChannelsSetCurrent"][1]["ov_cimguiname"] = "ImDrawList_ChannelsSetCurrent" defs["ImDrawList_ChannelsSetCurrent"][1]["ret"] = "void" defs["ImDrawList_ChannelsSetCurrent"][1]["signature"] = "(int)" @@ -1921,7 +1921,7 @@ defs["ImDrawList_ChannelsSplit"][1]["call_args"] = "(count)" defs["ImDrawList_ChannelsSplit"][1]["cimguiname"] = "ImDrawList_ChannelsSplit" defs["ImDrawList_ChannelsSplit"][1]["defaults"] = {} defs["ImDrawList_ChannelsSplit"][1]["funcname"] = "ChannelsSplit" -defs["ImDrawList_ChannelsSplit"][1]["location"] = "imgui:2590" +defs["ImDrawList_ChannelsSplit"][1]["location"] = "imgui:2703" defs["ImDrawList_ChannelsSplit"][1]["ov_cimguiname"] = "ImDrawList_ChannelsSplit" defs["ImDrawList_ChannelsSplit"][1]["ret"] = "void" defs["ImDrawList_ChannelsSplit"][1]["signature"] = "(int)" @@ -1939,7 +1939,7 @@ defs["ImDrawList_CloneOutput"][1]["call_args"] = "()" defs["ImDrawList_CloneOutput"][1]["cimguiname"] = "ImDrawList_CloneOutput" defs["ImDrawList_CloneOutput"][1]["defaults"] = {} defs["ImDrawList_CloneOutput"][1]["funcname"] = "CloneOutput" -defs["ImDrawList_CloneOutput"][1]["location"] = "imgui:2582" +defs["ImDrawList_CloneOutput"][1]["location"] = "imgui:2695" defs["ImDrawList_CloneOutput"][1]["ov_cimguiname"] = "ImDrawList_CloneOutput" defs["ImDrawList_CloneOutput"][1]["ret"] = "ImDrawList*" defs["ImDrawList_CloneOutput"][1]["signature"] = "()const" @@ -1960,7 +1960,7 @@ defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][1]["location"] = "imgui:2532" +defs["ImDrawList_GetClipRectMax"][1]["location"] = "imgui:2643" defs["ImDrawList_GetClipRectMax"][1]["nonUDT"] = 1 defs["ImDrawList_GetClipRectMax"][1]["ov_cimguiname"] = "ImDrawList_GetClipRectMax" defs["ImDrawList_GetClipRectMax"][1]["ret"] = "void" @@ -1982,7 +1982,7 @@ defs["ImDrawList_GetClipRectMin"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMin"][1]["cimguiname"] = "ImDrawList_GetClipRectMin" defs["ImDrawList_GetClipRectMin"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMin"][1]["funcname"] = "GetClipRectMin" -defs["ImDrawList_GetClipRectMin"][1]["location"] = "imgui:2531" +defs["ImDrawList_GetClipRectMin"][1]["location"] = "imgui:2642" defs["ImDrawList_GetClipRectMin"][1]["nonUDT"] = 1 defs["ImDrawList_GetClipRectMin"][1]["ov_cimguiname"] = "ImDrawList_GetClipRectMin" defs["ImDrawList_GetClipRectMin"][1]["ret"] = "void" @@ -1991,22 +1991,22 @@ defs["ImDrawList_GetClipRectMin"][1]["stname"] = "ImDrawList" defs["ImDrawList_GetClipRectMin"]["()const"] = defs["ImDrawList_GetClipRectMin"][1] defs["ImDrawList_ImDrawList"] = {} defs["ImDrawList_ImDrawList"][1] = {} -defs["ImDrawList_ImDrawList"][1]["args"] = "(const ImDrawListSharedData* shared_data)" +defs["ImDrawList_ImDrawList"][1]["args"] = "(ImDrawListSharedData* shared_data)" defs["ImDrawList_ImDrawList"][1]["argsT"] = {} defs["ImDrawList_ImDrawList"][1]["argsT"][1] = {} defs["ImDrawList_ImDrawList"][1]["argsT"][1]["name"] = "shared_data" -defs["ImDrawList_ImDrawList"][1]["argsT"][1]["type"] = "const ImDrawListSharedData*" -defs["ImDrawList_ImDrawList"][1]["argsoriginal"] = "(const ImDrawListSharedData* shared_data)" +defs["ImDrawList_ImDrawList"][1]["argsT"][1]["type"] = "ImDrawListSharedData*" +defs["ImDrawList_ImDrawList"][1]["argsoriginal"] = "(ImDrawListSharedData* shared_data)" defs["ImDrawList_ImDrawList"][1]["call_args"] = "(shared_data)" defs["ImDrawList_ImDrawList"][1]["cimguiname"] = "ImDrawList_ImDrawList" defs["ImDrawList_ImDrawList"][1]["constructor"] = true defs["ImDrawList_ImDrawList"][1]["defaults"] = {} defs["ImDrawList_ImDrawList"][1]["funcname"] = "ImDrawList" -defs["ImDrawList_ImDrawList"][1]["location"] = "imgui:2523" +defs["ImDrawList_ImDrawList"][1]["location"] = "imgui:2634" defs["ImDrawList_ImDrawList"][1]["ov_cimguiname"] = "ImDrawList_ImDrawList" -defs["ImDrawList_ImDrawList"][1]["signature"] = "(const ImDrawListSharedData*)" +defs["ImDrawList_ImDrawList"][1]["signature"] = "(ImDrawListSharedData*)" defs["ImDrawList_ImDrawList"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ImDrawList"]["(const ImDrawListSharedData*)"] = defs["ImDrawList_ImDrawList"][1] +defs["ImDrawList_ImDrawList"]["(ImDrawListSharedData*)"] = defs["ImDrawList_ImDrawList"][1] defs["ImDrawList_PathArcTo"] = {} defs["ImDrawList_PathArcTo"][1] = {} defs["ImDrawList_PathArcTo"][1]["args"] = "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)" @@ -2035,7 +2035,7 @@ defs["ImDrawList_PathArcTo"][1]["cimguiname"] = "ImDrawList_PathArcTo" defs["ImDrawList_PathArcTo"][1]["defaults"] = {} defs["ImDrawList_PathArcTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathArcTo"][1]["funcname"] = "PathArcTo" -defs["ImDrawList_PathArcTo"][1]["location"] = "imgui:2573" +defs["ImDrawList_PathArcTo"][1]["location"] = "imgui:2686" defs["ImDrawList_PathArcTo"][1]["ov_cimguiname"] = "ImDrawList_PathArcTo" defs["ImDrawList_PathArcTo"][1]["ret"] = "void" defs["ImDrawList_PathArcTo"][1]["signature"] = "(const ImVec2,float,float,float,int)" @@ -2065,7 +2065,7 @@ defs["ImDrawList_PathArcToFast"][1]["call_args"] = "(center,radius,a_min_of_12,a defs["ImDrawList_PathArcToFast"][1]["cimguiname"] = "ImDrawList_PathArcToFast" defs["ImDrawList_PathArcToFast"][1]["defaults"] = {} defs["ImDrawList_PathArcToFast"][1]["funcname"] = "PathArcToFast" -defs["ImDrawList_PathArcToFast"][1]["location"] = "imgui:2574" +defs["ImDrawList_PathArcToFast"][1]["location"] = "imgui:2687" defs["ImDrawList_PathArcToFast"][1]["ov_cimguiname"] = "ImDrawList_PathArcToFast" defs["ImDrawList_PathArcToFast"][1]["ret"] = "void" defs["ImDrawList_PathArcToFast"][1]["signature"] = "(const ImVec2,float,int,int)" @@ -2096,7 +2096,7 @@ defs["ImDrawList_PathBezierCubicCurveTo"][1]["cimguiname"] = "ImDrawList_PathBez defs["ImDrawList_PathBezierCubicCurveTo"][1]["defaults"] = {} defs["ImDrawList_PathBezierCubicCurveTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathBezierCubicCurveTo"][1]["funcname"] = "PathBezierCubicCurveTo" -defs["ImDrawList_PathBezierCubicCurveTo"][1]["location"] = "imgui:2575" +defs["ImDrawList_PathBezierCubicCurveTo"][1]["location"] = "imgui:2688" defs["ImDrawList_PathBezierCubicCurveTo"][1]["ov_cimguiname"] = "ImDrawList_PathBezierCubicCurveTo" defs["ImDrawList_PathBezierCubicCurveTo"][1]["ret"] = "void" defs["ImDrawList_PathBezierCubicCurveTo"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,int)" @@ -2124,7 +2124,7 @@ defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["cimguiname"] = "ImDrawList_Pat defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["defaults"] = {} defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["funcname"] = "PathBezierQuadraticCurveTo" -defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["location"] = "imgui:2576" +defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["location"] = "imgui:2689" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["ov_cimguiname"] = "ImDrawList_PathBezierQuadraticCurveTo" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["ret"] = "void" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["signature"] = "(const ImVec2,const ImVec2,int)" @@ -2142,7 +2142,7 @@ defs["ImDrawList_PathClear"][1]["call_args"] = "()" defs["ImDrawList_PathClear"][1]["cimguiname"] = "ImDrawList_PathClear" defs["ImDrawList_PathClear"][1]["defaults"] = {} defs["ImDrawList_PathClear"][1]["funcname"] = "PathClear" -defs["ImDrawList_PathClear"][1]["location"] = "imgui:2568" +defs["ImDrawList_PathClear"][1]["location"] = "imgui:2681" defs["ImDrawList_PathClear"][1]["ov_cimguiname"] = "ImDrawList_PathClear" defs["ImDrawList_PathClear"][1]["ret"] = "void" defs["ImDrawList_PathClear"][1]["signature"] = "()" @@ -2163,7 +2163,7 @@ defs["ImDrawList_PathFillConvex"][1]["call_args"] = "(col)" defs["ImDrawList_PathFillConvex"][1]["cimguiname"] = "ImDrawList_PathFillConvex" defs["ImDrawList_PathFillConvex"][1]["defaults"] = {} defs["ImDrawList_PathFillConvex"][1]["funcname"] = "PathFillConvex" -defs["ImDrawList_PathFillConvex"][1]["location"] = "imgui:2571" +defs["ImDrawList_PathFillConvex"][1]["location"] = "imgui:2684" defs["ImDrawList_PathFillConvex"][1]["ov_cimguiname"] = "ImDrawList_PathFillConvex" defs["ImDrawList_PathFillConvex"][1]["ret"] = "void" defs["ImDrawList_PathFillConvex"][1]["signature"] = "(ImU32)" @@ -2184,7 +2184,7 @@ defs["ImDrawList_PathLineTo"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineTo"][1]["cimguiname"] = "ImDrawList_PathLineTo" defs["ImDrawList_PathLineTo"][1]["defaults"] = {} defs["ImDrawList_PathLineTo"][1]["funcname"] = "PathLineTo" -defs["ImDrawList_PathLineTo"][1]["location"] = "imgui:2569" +defs["ImDrawList_PathLineTo"][1]["location"] = "imgui:2682" defs["ImDrawList_PathLineTo"][1]["ov_cimguiname"] = "ImDrawList_PathLineTo" defs["ImDrawList_PathLineTo"][1]["ret"] = "void" defs["ImDrawList_PathLineTo"][1]["signature"] = "(const ImVec2)" @@ -2205,7 +2205,7 @@ defs["ImDrawList_PathLineToMergeDuplicate"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["cimguiname"] = "ImDrawList_PathLineToMergeDuplicate" defs["ImDrawList_PathLineToMergeDuplicate"][1]["defaults"] = {} defs["ImDrawList_PathLineToMergeDuplicate"][1]["funcname"] = "PathLineToMergeDuplicate" -defs["ImDrawList_PathLineToMergeDuplicate"][1]["location"] = "imgui:2570" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["location"] = "imgui:2683" defs["ImDrawList_PathLineToMergeDuplicate"][1]["ov_cimguiname"] = "ImDrawList_PathLineToMergeDuplicate" defs["ImDrawList_PathLineToMergeDuplicate"][1]["ret"] = "void" defs["ImDrawList_PathLineToMergeDuplicate"][1]["signature"] = "(const ImVec2)" @@ -2237,7 +2237,7 @@ defs["ImDrawList_PathRect"][1]["defaults"] = {} defs["ImDrawList_PathRect"][1]["defaults"]["flags"] = "0" defs["ImDrawList_PathRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_PathRect"][1]["funcname"] = "PathRect" -defs["ImDrawList_PathRect"][1]["location"] = "imgui:2577" +defs["ImDrawList_PathRect"][1]["location"] = "imgui:2690" defs["ImDrawList_PathRect"][1]["ov_cimguiname"] = "ImDrawList_PathRect" defs["ImDrawList_PathRect"][1]["ret"] = "void" defs["ImDrawList_PathRect"][1]["signature"] = "(const ImVec2,const ImVec2,float,ImDrawFlags)" @@ -2266,7 +2266,7 @@ defs["ImDrawList_PathStroke"][1]["defaults"] = {} defs["ImDrawList_PathStroke"][1]["defaults"]["flags"] = "0" defs["ImDrawList_PathStroke"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_PathStroke"][1]["funcname"] = "PathStroke" -defs["ImDrawList_PathStroke"][1]["location"] = "imgui:2572" +defs["ImDrawList_PathStroke"][1]["location"] = "imgui:2685" defs["ImDrawList_PathStroke"][1]["ov_cimguiname"] = "ImDrawList_PathStroke" defs["ImDrawList_PathStroke"][1]["ret"] = "void" defs["ImDrawList_PathStroke"][1]["signature"] = "(ImU32,ImDrawFlags,float)" @@ -2284,7 +2284,7 @@ defs["ImDrawList_PopClipRect"][1]["call_args"] = "()" defs["ImDrawList_PopClipRect"][1]["cimguiname"] = "ImDrawList_PopClipRect" defs["ImDrawList_PopClipRect"][1]["defaults"] = {} defs["ImDrawList_PopClipRect"][1]["funcname"] = "PopClipRect" -defs["ImDrawList_PopClipRect"][1]["location"] = "imgui:2528" +defs["ImDrawList_PopClipRect"][1]["location"] = "imgui:2639" defs["ImDrawList_PopClipRect"][1]["ov_cimguiname"] = "ImDrawList_PopClipRect" defs["ImDrawList_PopClipRect"][1]["ret"] = "void" defs["ImDrawList_PopClipRect"][1]["signature"] = "()" @@ -2302,7 +2302,7 @@ defs["ImDrawList_PopTextureID"][1]["call_args"] = "()" defs["ImDrawList_PopTextureID"][1]["cimguiname"] = "ImDrawList_PopTextureID" defs["ImDrawList_PopTextureID"][1]["defaults"] = {} defs["ImDrawList_PopTextureID"][1]["funcname"] = "PopTextureID" -defs["ImDrawList_PopTextureID"][1]["location"] = "imgui:2530" +defs["ImDrawList_PopTextureID"][1]["location"] = "imgui:2641" defs["ImDrawList_PopTextureID"][1]["ov_cimguiname"] = "ImDrawList_PopTextureID" defs["ImDrawList_PopTextureID"][1]["ret"] = "void" defs["ImDrawList_PopTextureID"][1]["signature"] = "()" @@ -2347,7 +2347,7 @@ defs["ImDrawList_PrimQuadUV"][1]["call_args"] = "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,co defs["ImDrawList_PrimQuadUV"][1]["cimguiname"] = "ImDrawList_PrimQuadUV" defs["ImDrawList_PrimQuadUV"][1]["defaults"] = {} defs["ImDrawList_PrimQuadUV"][1]["funcname"] = "PrimQuadUV" -defs["ImDrawList_PrimQuadUV"][1]["location"] = "imgui:2601" +defs["ImDrawList_PrimQuadUV"][1]["location"] = "imgui:2714" defs["ImDrawList_PrimQuadUV"][1]["ov_cimguiname"] = "ImDrawList_PrimQuadUV" defs["ImDrawList_PrimQuadUV"][1]["ret"] = "void" defs["ImDrawList_PrimQuadUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -2374,7 +2374,7 @@ defs["ImDrawList_PrimRect"][1]["call_args"] = "(a,b,col)" defs["ImDrawList_PrimRect"][1]["cimguiname"] = "ImDrawList_PrimRect" defs["ImDrawList_PrimRect"][1]["defaults"] = {} defs["ImDrawList_PrimRect"][1]["funcname"] = "PrimRect" -defs["ImDrawList_PrimRect"][1]["location"] = "imgui:2599" +defs["ImDrawList_PrimRect"][1]["location"] = "imgui:2712" defs["ImDrawList_PrimRect"][1]["ov_cimguiname"] = "ImDrawList_PrimRect" defs["ImDrawList_PrimRect"][1]["ret"] = "void" defs["ImDrawList_PrimRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" @@ -2407,7 +2407,7 @@ defs["ImDrawList_PrimRectUV"][1]["call_args"] = "(a,b,uv_a,uv_b,col)" defs["ImDrawList_PrimRectUV"][1]["cimguiname"] = "ImDrawList_PrimRectUV" defs["ImDrawList_PrimRectUV"][1]["defaults"] = {} defs["ImDrawList_PrimRectUV"][1]["funcname"] = "PrimRectUV" -defs["ImDrawList_PrimRectUV"][1]["location"] = "imgui:2600" +defs["ImDrawList_PrimRectUV"][1]["location"] = "imgui:2713" defs["ImDrawList_PrimRectUV"][1]["ov_cimguiname"] = "ImDrawList_PrimRectUV" defs["ImDrawList_PrimRectUV"][1]["ret"] = "void" defs["ImDrawList_PrimRectUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -2431,7 +2431,7 @@ defs["ImDrawList_PrimReserve"][1]["call_args"] = "(idx_count,vtx_count)" defs["ImDrawList_PrimReserve"][1]["cimguiname"] = "ImDrawList_PrimReserve" defs["ImDrawList_PrimReserve"][1]["defaults"] = {} defs["ImDrawList_PrimReserve"][1]["funcname"] = "PrimReserve" -defs["ImDrawList_PrimReserve"][1]["location"] = "imgui:2597" +defs["ImDrawList_PrimReserve"][1]["location"] = "imgui:2710" defs["ImDrawList_PrimReserve"][1]["ov_cimguiname"] = "ImDrawList_PrimReserve" defs["ImDrawList_PrimReserve"][1]["ret"] = "void" defs["ImDrawList_PrimReserve"][1]["signature"] = "(int,int)" @@ -2455,7 +2455,7 @@ defs["ImDrawList_PrimUnreserve"][1]["call_args"] = "(idx_count,vtx_count)" defs["ImDrawList_PrimUnreserve"][1]["cimguiname"] = "ImDrawList_PrimUnreserve" defs["ImDrawList_PrimUnreserve"][1]["defaults"] = {} defs["ImDrawList_PrimUnreserve"][1]["funcname"] = "PrimUnreserve" -defs["ImDrawList_PrimUnreserve"][1]["location"] = "imgui:2598" +defs["ImDrawList_PrimUnreserve"][1]["location"] = "imgui:2711" defs["ImDrawList_PrimUnreserve"][1]["ov_cimguiname"] = "ImDrawList_PrimUnreserve" defs["ImDrawList_PrimUnreserve"][1]["ret"] = "void" defs["ImDrawList_PrimUnreserve"][1]["signature"] = "(int,int)" @@ -2482,7 +2482,7 @@ defs["ImDrawList_PrimVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimVtx"][1]["cimguiname"] = "ImDrawList_PrimVtx" defs["ImDrawList_PrimVtx"][1]["defaults"] = {} defs["ImDrawList_PrimVtx"][1]["funcname"] = "PrimVtx" -defs["ImDrawList_PrimVtx"][1]["location"] = "imgui:2604" +defs["ImDrawList_PrimVtx"][1]["location"] = "imgui:2717" defs["ImDrawList_PrimVtx"][1]["ov_cimguiname"] = "ImDrawList_PrimVtx" defs["ImDrawList_PrimVtx"][1]["ret"] = "void" defs["ImDrawList_PrimVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" @@ -2503,7 +2503,7 @@ defs["ImDrawList_PrimWriteIdx"][1]["call_args"] = "(idx)" defs["ImDrawList_PrimWriteIdx"][1]["cimguiname"] = "ImDrawList_PrimWriteIdx" defs["ImDrawList_PrimWriteIdx"][1]["defaults"] = {} defs["ImDrawList_PrimWriteIdx"][1]["funcname"] = "PrimWriteIdx" -defs["ImDrawList_PrimWriteIdx"][1]["location"] = "imgui:2603" +defs["ImDrawList_PrimWriteIdx"][1]["location"] = "imgui:2716" defs["ImDrawList_PrimWriteIdx"][1]["ov_cimguiname"] = "ImDrawList_PrimWriteIdx" defs["ImDrawList_PrimWriteIdx"][1]["ret"] = "void" defs["ImDrawList_PrimWriteIdx"][1]["signature"] = "(ImDrawIdx)" @@ -2530,7 +2530,7 @@ defs["ImDrawList_PrimWriteVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimWriteVtx"][1]["cimguiname"] = "ImDrawList_PrimWriteVtx" defs["ImDrawList_PrimWriteVtx"][1]["defaults"] = {} defs["ImDrawList_PrimWriteVtx"][1]["funcname"] = "PrimWriteVtx" -defs["ImDrawList_PrimWriteVtx"][1]["location"] = "imgui:2602" +defs["ImDrawList_PrimWriteVtx"][1]["location"] = "imgui:2715" defs["ImDrawList_PrimWriteVtx"][1]["ov_cimguiname"] = "ImDrawList_PrimWriteVtx" defs["ImDrawList_PrimWriteVtx"][1]["ret"] = "void" defs["ImDrawList_PrimWriteVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" @@ -2538,32 +2538,32 @@ defs["ImDrawList_PrimWriteVtx"][1]["stname"] = "ImDrawList" defs["ImDrawList_PrimWriteVtx"]["(const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimWriteVtx"][1] defs["ImDrawList_PushClipRect"] = {} defs["ImDrawList_PushClipRect"][1] = {} -defs["ImDrawList_PushClipRect"][1]["args"] = "(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" +defs["ImDrawList_PushClipRect"][1]["args"] = "(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["argsT"] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][1] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][1]["name"] = "self" defs["ImDrawList_PushClipRect"][1]["argsT"][1]["type"] = "ImDrawList*" defs["ImDrawList_PushClipRect"][1]["argsT"][2] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][2]["name"] = "clip_rect_min" -defs["ImDrawList_PushClipRect"][1]["argsT"][2]["type"] = "ImVec2" +defs["ImDrawList_PushClipRect"][1]["argsT"][2]["type"] = "const ImVec2" defs["ImDrawList_PushClipRect"][1]["argsT"][3] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][3]["name"] = "clip_rect_max" -defs["ImDrawList_PushClipRect"][1]["argsT"][3]["type"] = "ImVec2" +defs["ImDrawList_PushClipRect"][1]["argsT"][3]["type"] = "const ImVec2" defs["ImDrawList_PushClipRect"][1]["argsT"][4] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][4]["name"] = "intersect_with_current_clip_rect" defs["ImDrawList_PushClipRect"][1]["argsT"][4]["type"] = "bool" -defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)" +defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect=false)" defs["ImDrawList_PushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["cimguiname"] = "ImDrawList_PushClipRect" defs["ImDrawList_PushClipRect"][1]["defaults"] = {} defs["ImDrawList_PushClipRect"][1]["defaults"]["intersect_with_current_clip_rect"] = "false" defs["ImDrawList_PushClipRect"][1]["funcname"] = "PushClipRect" -defs["ImDrawList_PushClipRect"][1]["location"] = "imgui:2526" +defs["ImDrawList_PushClipRect"][1]["location"] = "imgui:2637" defs["ImDrawList_PushClipRect"][1]["ov_cimguiname"] = "ImDrawList_PushClipRect" defs["ImDrawList_PushClipRect"][1]["ret"] = "void" -defs["ImDrawList_PushClipRect"][1]["signature"] = "(ImVec2,ImVec2,bool)" +defs["ImDrawList_PushClipRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" defs["ImDrawList_PushClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PushClipRect"]["(ImVec2,ImVec2,bool)"] = defs["ImDrawList_PushClipRect"][1] +defs["ImDrawList_PushClipRect"]["(const ImVec2,const ImVec2,bool)"] = defs["ImDrawList_PushClipRect"][1] defs["ImDrawList_PushClipRectFullScreen"] = {} defs["ImDrawList_PushClipRectFullScreen"][1] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["args"] = "(ImDrawList* self)" @@ -2576,7 +2576,7 @@ defs["ImDrawList_PushClipRectFullScreen"][1]["call_args"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["cimguiname"] = "ImDrawList_PushClipRectFullScreen" defs["ImDrawList_PushClipRectFullScreen"][1]["defaults"] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["funcname"] = "PushClipRectFullScreen" -defs["ImDrawList_PushClipRectFullScreen"][1]["location"] = "imgui:2527" +defs["ImDrawList_PushClipRectFullScreen"][1]["location"] = "imgui:2638" defs["ImDrawList_PushClipRectFullScreen"][1]["ov_cimguiname"] = "ImDrawList_PushClipRectFullScreen" defs["ImDrawList_PushClipRectFullScreen"][1]["ret"] = "void" defs["ImDrawList_PushClipRectFullScreen"][1]["signature"] = "()" @@ -2597,7 +2597,7 @@ defs["ImDrawList_PushTextureID"][1]["call_args"] = "(texture_id)" defs["ImDrawList_PushTextureID"][1]["cimguiname"] = "ImDrawList_PushTextureID" defs["ImDrawList_PushTextureID"][1]["defaults"] = {} defs["ImDrawList_PushTextureID"][1]["funcname"] = "PushTextureID" -defs["ImDrawList_PushTextureID"][1]["location"] = "imgui:2529" +defs["ImDrawList_PushTextureID"][1]["location"] = "imgui:2640" defs["ImDrawList_PushTextureID"][1]["ov_cimguiname"] = "ImDrawList_PushTextureID" defs["ImDrawList_PushTextureID"][1]["ret"] = "void" defs["ImDrawList_PushTextureID"][1]["signature"] = "(ImTextureID)" @@ -2618,7 +2618,7 @@ defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["call_args"] = "(radius)" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["cimguiname"] = "ImDrawList__CalcCircleAutoSegmentCount" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["defaults"] = {} defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["funcname"] = "_CalcCircleAutoSegmentCount" -defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["location"] = "imgui:2619" +defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["location"] = "imgui:2732" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["ov_cimguiname"] = "ImDrawList__CalcCircleAutoSegmentCount" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["ret"] = "int" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["signature"] = "(float)const" @@ -2636,7 +2636,7 @@ defs["ImDrawList__ClearFreeMemory"][1]["call_args"] = "()" defs["ImDrawList__ClearFreeMemory"][1]["cimguiname"] = "ImDrawList__ClearFreeMemory" defs["ImDrawList__ClearFreeMemory"][1]["defaults"] = {} defs["ImDrawList__ClearFreeMemory"][1]["funcname"] = "_ClearFreeMemory" -defs["ImDrawList__ClearFreeMemory"][1]["location"] = "imgui:2613" +defs["ImDrawList__ClearFreeMemory"][1]["location"] = "imgui:2726" defs["ImDrawList__ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawList__ClearFreeMemory" defs["ImDrawList__ClearFreeMemory"][1]["ret"] = "void" defs["ImDrawList__ClearFreeMemory"][1]["signature"] = "()" @@ -2654,7 +2654,7 @@ defs["ImDrawList__OnChangedClipRect"][1]["call_args"] = "()" defs["ImDrawList__OnChangedClipRect"][1]["cimguiname"] = "ImDrawList__OnChangedClipRect" defs["ImDrawList__OnChangedClipRect"][1]["defaults"] = {} defs["ImDrawList__OnChangedClipRect"][1]["funcname"] = "_OnChangedClipRect" -defs["ImDrawList__OnChangedClipRect"][1]["location"] = "imgui:2616" +defs["ImDrawList__OnChangedClipRect"][1]["location"] = "imgui:2729" defs["ImDrawList__OnChangedClipRect"][1]["ov_cimguiname"] = "ImDrawList__OnChangedClipRect" defs["ImDrawList__OnChangedClipRect"][1]["ret"] = "void" defs["ImDrawList__OnChangedClipRect"][1]["signature"] = "()" @@ -2672,7 +2672,7 @@ defs["ImDrawList__OnChangedTextureID"][1]["call_args"] = "()" defs["ImDrawList__OnChangedTextureID"][1]["cimguiname"] = "ImDrawList__OnChangedTextureID" defs["ImDrawList__OnChangedTextureID"][1]["defaults"] = {} defs["ImDrawList__OnChangedTextureID"][1]["funcname"] = "_OnChangedTextureID" -defs["ImDrawList__OnChangedTextureID"][1]["location"] = "imgui:2617" +defs["ImDrawList__OnChangedTextureID"][1]["location"] = "imgui:2730" defs["ImDrawList__OnChangedTextureID"][1]["ov_cimguiname"] = "ImDrawList__OnChangedTextureID" defs["ImDrawList__OnChangedTextureID"][1]["ret"] = "void" defs["ImDrawList__OnChangedTextureID"][1]["signature"] = "()" @@ -2690,7 +2690,7 @@ defs["ImDrawList__OnChangedVtxOffset"][1]["call_args"] = "()" defs["ImDrawList__OnChangedVtxOffset"][1]["cimguiname"] = "ImDrawList__OnChangedVtxOffset" defs["ImDrawList__OnChangedVtxOffset"][1]["defaults"] = {} defs["ImDrawList__OnChangedVtxOffset"][1]["funcname"] = "_OnChangedVtxOffset" -defs["ImDrawList__OnChangedVtxOffset"][1]["location"] = "imgui:2618" +defs["ImDrawList__OnChangedVtxOffset"][1]["location"] = "imgui:2731" defs["ImDrawList__OnChangedVtxOffset"][1]["ov_cimguiname"] = "ImDrawList__OnChangedVtxOffset" defs["ImDrawList__OnChangedVtxOffset"][1]["ret"] = "void" defs["ImDrawList__OnChangedVtxOffset"][1]["signature"] = "()" @@ -2723,7 +2723,7 @@ defs["ImDrawList__PathArcToFastEx"][1]["call_args"] = "(center,radius,a_min_samp defs["ImDrawList__PathArcToFastEx"][1]["cimguiname"] = "ImDrawList__PathArcToFastEx" defs["ImDrawList__PathArcToFastEx"][1]["defaults"] = {} defs["ImDrawList__PathArcToFastEx"][1]["funcname"] = "_PathArcToFastEx" -defs["ImDrawList__PathArcToFastEx"][1]["location"] = "imgui:2620" +defs["ImDrawList__PathArcToFastEx"][1]["location"] = "imgui:2733" defs["ImDrawList__PathArcToFastEx"][1]["ov_cimguiname"] = "ImDrawList__PathArcToFastEx" defs["ImDrawList__PathArcToFastEx"][1]["ret"] = "void" defs["ImDrawList__PathArcToFastEx"][1]["signature"] = "(const ImVec2,float,int,int,int)" @@ -2756,7 +2756,7 @@ defs["ImDrawList__PathArcToN"][1]["call_args"] = "(center,radius,a_min,a_max,num defs["ImDrawList__PathArcToN"][1]["cimguiname"] = "ImDrawList__PathArcToN" defs["ImDrawList__PathArcToN"][1]["defaults"] = {} defs["ImDrawList__PathArcToN"][1]["funcname"] = "_PathArcToN" -defs["ImDrawList__PathArcToN"][1]["location"] = "imgui:2621" +defs["ImDrawList__PathArcToN"][1]["location"] = "imgui:2734" defs["ImDrawList__PathArcToN"][1]["ov_cimguiname"] = "ImDrawList__PathArcToN" defs["ImDrawList__PathArcToN"][1]["ret"] = "void" defs["ImDrawList__PathArcToN"][1]["signature"] = "(const ImVec2,float,float,float,int)" @@ -2774,7 +2774,7 @@ defs["ImDrawList__PopUnusedDrawCmd"][1]["call_args"] = "()" defs["ImDrawList__PopUnusedDrawCmd"][1]["cimguiname"] = "ImDrawList__PopUnusedDrawCmd" defs["ImDrawList__PopUnusedDrawCmd"][1]["defaults"] = {} defs["ImDrawList__PopUnusedDrawCmd"][1]["funcname"] = "_PopUnusedDrawCmd" -defs["ImDrawList__PopUnusedDrawCmd"][1]["location"] = "imgui:2614" +defs["ImDrawList__PopUnusedDrawCmd"][1]["location"] = "imgui:2727" defs["ImDrawList__PopUnusedDrawCmd"][1]["ov_cimguiname"] = "ImDrawList__PopUnusedDrawCmd" defs["ImDrawList__PopUnusedDrawCmd"][1]["ret"] = "void" defs["ImDrawList__PopUnusedDrawCmd"][1]["signature"] = "()" @@ -2792,7 +2792,7 @@ defs["ImDrawList__ResetForNewFrame"][1]["call_args"] = "()" defs["ImDrawList__ResetForNewFrame"][1]["cimguiname"] = "ImDrawList__ResetForNewFrame" defs["ImDrawList__ResetForNewFrame"][1]["defaults"] = {} defs["ImDrawList__ResetForNewFrame"][1]["funcname"] = "_ResetForNewFrame" -defs["ImDrawList__ResetForNewFrame"][1]["location"] = "imgui:2612" +defs["ImDrawList__ResetForNewFrame"][1]["location"] = "imgui:2725" defs["ImDrawList__ResetForNewFrame"][1]["ov_cimguiname"] = "ImDrawList__ResetForNewFrame" defs["ImDrawList__ResetForNewFrame"][1]["ret"] = "void" defs["ImDrawList__ResetForNewFrame"][1]["signature"] = "()" @@ -2810,7 +2810,7 @@ defs["ImDrawList__TryMergeDrawCmds"][1]["call_args"] = "()" defs["ImDrawList__TryMergeDrawCmds"][1]["cimguiname"] = "ImDrawList__TryMergeDrawCmds" defs["ImDrawList__TryMergeDrawCmds"][1]["defaults"] = {} defs["ImDrawList__TryMergeDrawCmds"][1]["funcname"] = "_TryMergeDrawCmds" -defs["ImDrawList__TryMergeDrawCmds"][1]["location"] = "imgui:2615" +defs["ImDrawList__TryMergeDrawCmds"][1]["location"] = "imgui:2728" defs["ImDrawList__TryMergeDrawCmds"][1]["ov_cimguiname"] = "ImDrawList__TryMergeDrawCmds" defs["ImDrawList__TryMergeDrawCmds"][1]["ret"] = "void" defs["ImDrawList__TryMergeDrawCmds"][1]["signature"] = "()" @@ -2827,7 +2827,7 @@ defs["ImDrawList_destroy"][1]["call_args"] = "(self)" defs["ImDrawList_destroy"][1]["cimguiname"] = "ImDrawList_destroy" defs["ImDrawList_destroy"][1]["defaults"] = {} defs["ImDrawList_destroy"][1]["destructor"] = true -defs["ImDrawList_destroy"][1]["location"] = "imgui:2525" +defs["ImDrawList_destroy"][1]["location"] = "imgui:2636" defs["ImDrawList_destroy"][1]["ov_cimguiname"] = "ImDrawList_destroy" defs["ImDrawList_destroy"][1]["realdestructor"] = true defs["ImDrawList_destroy"][1]["ret"] = "void" @@ -2844,7 +2844,7 @@ defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["cimguiname"] = "ImFontAt defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["constructor"] = true defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["defaults"] = {} defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["funcname"] = "ImFontAtlasCustomRect" -defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["location"] = "imgui:2714" +defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["location"] = "imgui:2827" defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["ov_cimguiname"] = "ImFontAtlasCustomRect_ImFontAtlasCustomRect" defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["signature"] = "()" defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["stname"] = "ImFontAtlasCustomRect" @@ -2861,7 +2861,7 @@ defs["ImFontAtlasCustomRect_IsPacked"][1]["call_args"] = "()" defs["ImFontAtlasCustomRect_IsPacked"][1]["cimguiname"] = "ImFontAtlasCustomRect_IsPacked" defs["ImFontAtlasCustomRect_IsPacked"][1]["defaults"] = {} defs["ImFontAtlasCustomRect_IsPacked"][1]["funcname"] = "IsPacked" -defs["ImFontAtlasCustomRect_IsPacked"][1]["location"] = "imgui:2715" +defs["ImFontAtlasCustomRect_IsPacked"][1]["location"] = "imgui:2828" defs["ImFontAtlasCustomRect_IsPacked"][1]["ov_cimguiname"] = "ImFontAtlasCustomRect_IsPacked" defs["ImFontAtlasCustomRect_IsPacked"][1]["ret"] = "bool" defs["ImFontAtlasCustomRect_IsPacked"][1]["signature"] = "()const" @@ -2914,7 +2914,7 @@ defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["cimguiname"] = "ImFontAtlas_AddCu defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"]["offset"] = "ImVec2(0,0)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["funcname"] = "AddCustomRectFontGlyph" -defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["location"] = "imgui:2798" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["location"] = "imgui:2912" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ov_cimguiname"] = "ImFontAtlas_AddCustomRectFontGlyph" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ret"] = "int" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["signature"] = "(ImFont*,ImWchar,int,int,float,const ImVec2)" @@ -2938,7 +2938,7 @@ defs["ImFontAtlas_AddCustomRectRegular"][1]["call_args"] = "(width,height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectRegular" defs["ImFontAtlas_AddCustomRectRegular"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectRegular"][1]["funcname"] = "AddCustomRectRegular" -defs["ImFontAtlas_AddCustomRectRegular"][1]["location"] = "imgui:2797" +defs["ImFontAtlas_AddCustomRectRegular"][1]["location"] = "imgui:2911" defs["ImFontAtlas_AddCustomRectRegular"][1]["ov_cimguiname"] = "ImFontAtlas_AddCustomRectRegular" defs["ImFontAtlas_AddCustomRectRegular"][1]["ret"] = "int" defs["ImFontAtlas_AddCustomRectRegular"][1]["signature"] = "(int,int)" @@ -2959,7 +2959,7 @@ defs["ImFontAtlas_AddFont"][1]["call_args"] = "(font_cfg)" defs["ImFontAtlas_AddFont"][1]["cimguiname"] = "ImFontAtlas_AddFont" defs["ImFontAtlas_AddFont"][1]["defaults"] = {} defs["ImFontAtlas_AddFont"][1]["funcname"] = "AddFont" -defs["ImFontAtlas_AddFont"][1]["location"] = "imgui:2748" +defs["ImFontAtlas_AddFont"][1]["location"] = "imgui:2861" defs["ImFontAtlas_AddFont"][1]["ov_cimguiname"] = "ImFontAtlas_AddFont" defs["ImFontAtlas_AddFont"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFont"][1]["signature"] = "(const ImFontConfig*)" @@ -2981,7 +2981,7 @@ defs["ImFontAtlas_AddFontDefault"][1]["cimguiname"] = "ImFontAtlas_AddFontDefaul defs["ImFontAtlas_AddFontDefault"][1]["defaults"] = {} defs["ImFontAtlas_AddFontDefault"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontDefault"][1]["funcname"] = "AddFontDefault" -defs["ImFontAtlas_AddFontDefault"][1]["location"] = "imgui:2749" +defs["ImFontAtlas_AddFontDefault"][1]["location"] = "imgui:2862" defs["ImFontAtlas_AddFontDefault"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontDefault" defs["ImFontAtlas_AddFontDefault"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontDefault"][1]["signature"] = "(const ImFontConfig*)" @@ -3013,7 +3013,7 @@ defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromFileTTF"][1]["funcname"] = "AddFontFromFileTTF" -defs["ImFontAtlas_AddFontFromFileTTF"][1]["location"] = "imgui:2750" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["location"] = "imgui:2863" defs["ImFontAtlas_AddFontFromFileTTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromFileTTF" defs["ImFontAtlas_AddFontFromFileTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromFileTTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" @@ -3045,7 +3045,7 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["funcname"] = "AddFontFromMemoryCompressedBase85TTF" -defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["location"] = "imgui:2753" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["location"] = "imgui:2866" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" @@ -3080,7 +3080,7 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["funcname"] = "AddFontFromMemoryCompressedTTF" -defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["location"] = "imgui:2752" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["location"] = "imgui:2865" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedTTF" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["signature"] = "(const void*,int,float,const ImFontConfig*,const ImWchar*)" @@ -3115,7 +3115,7 @@ defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["funcname"] = "AddFontFromMemoryTTF" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["location"] = "imgui:2751" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["location"] = "imgui:2864" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromMemoryTTF" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["signature"] = "(void*,int,float,const ImFontConfig*,const ImWchar*)" @@ -3133,7 +3133,7 @@ defs["ImFontAtlas_Build"][1]["call_args"] = "()" defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" defs["ImFontAtlas_Build"][1]["defaults"] = {} defs["ImFontAtlas_Build"][1]["funcname"] = "Build" -defs["ImFontAtlas_Build"][1]["location"] = "imgui:2764" +defs["ImFontAtlas_Build"][1]["location"] = "imgui:2877" defs["ImFontAtlas_Build"][1]["ov_cimguiname"] = "ImFontAtlas_Build" defs["ImFontAtlas_Build"][1]["ret"] = "bool" defs["ImFontAtlas_Build"][1]["signature"] = "()" @@ -3160,7 +3160,7 @@ defs["ImFontAtlas_CalcCustomRectUV"][1]["call_args"] = "(rect,out_uv_min,out_uv_ defs["ImFontAtlas_CalcCustomRectUV"][1]["cimguiname"] = "ImFontAtlas_CalcCustomRectUV" defs["ImFontAtlas_CalcCustomRectUV"][1]["defaults"] = {} defs["ImFontAtlas_CalcCustomRectUV"][1]["funcname"] = "CalcCustomRectUV" -defs["ImFontAtlas_CalcCustomRectUV"][1]["location"] = "imgui:2802" +defs["ImFontAtlas_CalcCustomRectUV"][1]["location"] = "imgui:2916" defs["ImFontAtlas_CalcCustomRectUV"][1]["ov_cimguiname"] = "ImFontAtlas_CalcCustomRectUV" defs["ImFontAtlas_CalcCustomRectUV"][1]["ret"] = "void" defs["ImFontAtlas_CalcCustomRectUV"][1]["signature"] = "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)const" @@ -3178,7 +3178,7 @@ defs["ImFontAtlas_Clear"][1]["call_args"] = "()" defs["ImFontAtlas_Clear"][1]["cimguiname"] = "ImFontAtlas_Clear" defs["ImFontAtlas_Clear"][1]["defaults"] = {} defs["ImFontAtlas_Clear"][1]["funcname"] = "Clear" -defs["ImFontAtlas_Clear"][1]["location"] = "imgui:2757" +defs["ImFontAtlas_Clear"][1]["location"] = "imgui:2870" defs["ImFontAtlas_Clear"][1]["ov_cimguiname"] = "ImFontAtlas_Clear" defs["ImFontAtlas_Clear"][1]["ret"] = "void" defs["ImFontAtlas_Clear"][1]["signature"] = "()" @@ -3196,7 +3196,7 @@ defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} defs["ImFontAtlas_ClearFonts"][1]["funcname"] = "ClearFonts" -defs["ImFontAtlas_ClearFonts"][1]["location"] = "imgui:2756" +defs["ImFontAtlas_ClearFonts"][1]["location"] = "imgui:2869" defs["ImFontAtlas_ClearFonts"][1]["ov_cimguiname"] = "ImFontAtlas_ClearFonts" defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" @@ -3214,7 +3214,7 @@ defs["ImFontAtlas_ClearInputData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearInputData"][1]["cimguiname"] = "ImFontAtlas_ClearInputData" defs["ImFontAtlas_ClearInputData"][1]["defaults"] = {} defs["ImFontAtlas_ClearInputData"][1]["funcname"] = "ClearInputData" -defs["ImFontAtlas_ClearInputData"][1]["location"] = "imgui:2754" +defs["ImFontAtlas_ClearInputData"][1]["location"] = "imgui:2867" defs["ImFontAtlas_ClearInputData"][1]["ov_cimguiname"] = "ImFontAtlas_ClearInputData" defs["ImFontAtlas_ClearInputData"][1]["ret"] = "void" defs["ImFontAtlas_ClearInputData"][1]["signature"] = "()" @@ -3232,7 +3232,7 @@ defs["ImFontAtlas_ClearTexData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearTexData"][1]["cimguiname"] = "ImFontAtlas_ClearTexData" defs["ImFontAtlas_ClearTexData"][1]["defaults"] = {} defs["ImFontAtlas_ClearTexData"][1]["funcname"] = "ClearTexData" -defs["ImFontAtlas_ClearTexData"][1]["location"] = "imgui:2755" +defs["ImFontAtlas_ClearTexData"][1]["location"] = "imgui:2868" defs["ImFontAtlas_ClearTexData"][1]["ov_cimguiname"] = "ImFontAtlas_ClearTexData" defs["ImFontAtlas_ClearTexData"][1]["ret"] = "void" defs["ImFontAtlas_ClearTexData"][1]["signature"] = "()" @@ -3253,7 +3253,7 @@ defs["ImFontAtlas_GetCustomRectByIndex"][1]["call_args"] = "(index)" defs["ImFontAtlas_GetCustomRectByIndex"][1]["cimguiname"] = "ImFontAtlas_GetCustomRectByIndex" defs["ImFontAtlas_GetCustomRectByIndex"][1]["defaults"] = {} defs["ImFontAtlas_GetCustomRectByIndex"][1]["funcname"] = "GetCustomRectByIndex" -defs["ImFontAtlas_GetCustomRectByIndex"][1]["location"] = "imgui:2799" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["location"] = "imgui:2913" defs["ImFontAtlas_GetCustomRectByIndex"][1]["ov_cimguiname"] = "ImFontAtlas_GetCustomRectByIndex" defs["ImFontAtlas_GetCustomRectByIndex"][1]["ret"] = "ImFontAtlasCustomRect*" defs["ImFontAtlas_GetCustomRectByIndex"][1]["signature"] = "(int)" @@ -3271,7 +3271,7 @@ defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["funcname"] = "GetGlyphRangesChineseFull" -defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["location"] = "imgui:2780" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["location"] = "imgui:2894" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["signature"] = "()" @@ -3289,7 +3289,7 @@ defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["funcname"] = "GetGlyphRangesChineseSimplifiedCommon" -defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["location"] = "imgui:2781" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["location"] = "imgui:2895" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["signature"] = "()" @@ -3307,7 +3307,7 @@ defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["funcname"] = "GetGlyphRangesCyrillic" -defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["location"] = "imgui:2782" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["location"] = "imgui:2896" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["signature"] = "()" @@ -3325,12 +3325,30 @@ defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesDefault"][1]["funcname"] = "GetGlyphRangesDefault" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["location"] = "imgui:2777" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["location"] = "imgui:2890" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" defs["ImFontAtlas_GetGlyphRangesDefault"]["()"] = defs["ImFontAtlas_GetGlyphRangesDefault"][1] +defs["ImFontAtlas_GetGlyphRangesGreek"] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["args"] = "(ImFontAtlas* self)" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"][1] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"][1]["name"] = "self" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"][1]["type"] = "ImFontAtlas*" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesGreek" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["funcname"] = "GetGlyphRangesGreek" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["location"] = "imgui:2891" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesGreek" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesGreek"]["()"] = defs["ImFontAtlas_GetGlyphRangesGreek"][1] defs["ImFontAtlas_GetGlyphRangesJapanese"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["args"] = "(ImFontAtlas* self)" @@ -3343,7 +3361,7 @@ defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["funcname"] = "GetGlyphRangesJapanese" -defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["location"] = "imgui:2779" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["location"] = "imgui:2893" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["signature"] = "()" @@ -3361,7 +3379,7 @@ defs["ImFontAtlas_GetGlyphRangesKorean"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesKorean"][1]["funcname"] = "GetGlyphRangesKorean" -defs["ImFontAtlas_GetGlyphRangesKorean"][1]["location"] = "imgui:2778" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["location"] = "imgui:2892" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["signature"] = "()" @@ -3379,7 +3397,7 @@ defs["ImFontAtlas_GetGlyphRangesThai"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" defs["ImFontAtlas_GetGlyphRangesThai"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1]["funcname"] = "GetGlyphRangesThai" -defs["ImFontAtlas_GetGlyphRangesThai"][1]["location"] = "imgui:2783" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["location"] = "imgui:2897" defs["ImFontAtlas_GetGlyphRangesThai"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" defs["ImFontAtlas_GetGlyphRangesThai"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesThai"][1]["signature"] = "()" @@ -3397,7 +3415,7 @@ defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesVietnamese" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["funcname"] = "GetGlyphRangesVietnamese" -defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["location"] = "imgui:2784" +defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["location"] = "imgui:2898" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesVietnamese" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["signature"] = "()" @@ -3430,7 +3448,7 @@ defs["ImFontAtlas_GetMouseCursorTexData"][1]["call_args"] = "(cursor,out_offset, defs["ImFontAtlas_GetMouseCursorTexData"][1]["cimguiname"] = "ImFontAtlas_GetMouseCursorTexData" defs["ImFontAtlas_GetMouseCursorTexData"][1]["defaults"] = {} defs["ImFontAtlas_GetMouseCursorTexData"][1]["funcname"] = "GetMouseCursorTexData" -defs["ImFontAtlas_GetMouseCursorTexData"][1]["location"] = "imgui:2803" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["location"] = "imgui:2917" defs["ImFontAtlas_GetMouseCursorTexData"][1]["ov_cimguiname"] = "ImFontAtlas_GetMouseCursorTexData" defs["ImFontAtlas_GetMouseCursorTexData"][1]["ret"] = "bool" defs["ImFontAtlas_GetMouseCursorTexData"][1]["signature"] = "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])" @@ -3461,7 +3479,7 @@ defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["cimguiname"] = "ImFontAtlas_GetTexDat defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"]["out_bytes_per_pixel"] = "NULL" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["funcname"] = "GetTexDataAsAlpha8" -defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["location"] = "imgui:2765" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["location"] = "imgui:2878" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ov_cimguiname"] = "ImFontAtlas_GetTexDataAsAlpha8" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ret"] = "void" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -3492,7 +3510,7 @@ defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["cimguiname"] = "ImFontAtlas_GetTexDat defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"]["out_bytes_per_pixel"] = "NULL" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["funcname"] = "GetTexDataAsRGBA32" -defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["location"] = "imgui:2766" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["location"] = "imgui:2879" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ov_cimguiname"] = "ImFontAtlas_GetTexDataAsRGBA32" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ret"] = "void" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -3508,7 +3526,7 @@ defs["ImFontAtlas_ImFontAtlas"][1]["cimguiname"] = "ImFontAtlas_ImFontAtlas" defs["ImFontAtlas_ImFontAtlas"][1]["constructor"] = true defs["ImFontAtlas_ImFontAtlas"][1]["defaults"] = {} defs["ImFontAtlas_ImFontAtlas"][1]["funcname"] = "ImFontAtlas" -defs["ImFontAtlas_ImFontAtlas"][1]["location"] = "imgui:2746" +defs["ImFontAtlas_ImFontAtlas"][1]["location"] = "imgui:2859" defs["ImFontAtlas_ImFontAtlas"][1]["ov_cimguiname"] = "ImFontAtlas_ImFontAtlas" defs["ImFontAtlas_ImFontAtlas"][1]["signature"] = "()" defs["ImFontAtlas_ImFontAtlas"][1]["stname"] = "ImFontAtlas" @@ -3525,7 +3543,7 @@ defs["ImFontAtlas_IsBuilt"][1]["call_args"] = "()" defs["ImFontAtlas_IsBuilt"][1]["cimguiname"] = "ImFontAtlas_IsBuilt" defs["ImFontAtlas_IsBuilt"][1]["defaults"] = {} defs["ImFontAtlas_IsBuilt"][1]["funcname"] = "IsBuilt" -defs["ImFontAtlas_IsBuilt"][1]["location"] = "imgui:2767" +defs["ImFontAtlas_IsBuilt"][1]["location"] = "imgui:2880" defs["ImFontAtlas_IsBuilt"][1]["ov_cimguiname"] = "ImFontAtlas_IsBuilt" defs["ImFontAtlas_IsBuilt"][1]["ret"] = "bool" defs["ImFontAtlas_IsBuilt"][1]["signature"] = "()const" @@ -3546,7 +3564,7 @@ defs["ImFontAtlas_SetTexID"][1]["call_args"] = "(id)" defs["ImFontAtlas_SetTexID"][1]["cimguiname"] = "ImFontAtlas_SetTexID" defs["ImFontAtlas_SetTexID"][1]["defaults"] = {} defs["ImFontAtlas_SetTexID"][1]["funcname"] = "SetTexID" -defs["ImFontAtlas_SetTexID"][1]["location"] = "imgui:2768" +defs["ImFontAtlas_SetTexID"][1]["location"] = "imgui:2881" defs["ImFontAtlas_SetTexID"][1]["ov_cimguiname"] = "ImFontAtlas_SetTexID" defs["ImFontAtlas_SetTexID"][1]["ret"] = "void" defs["ImFontAtlas_SetTexID"][1]["signature"] = "(ImTextureID)" @@ -3563,7 +3581,7 @@ defs["ImFontAtlas_destroy"][1]["call_args"] = "(self)" defs["ImFontAtlas_destroy"][1]["cimguiname"] = "ImFontAtlas_destroy" defs["ImFontAtlas_destroy"][1]["defaults"] = {} defs["ImFontAtlas_destroy"][1]["destructor"] = true -defs["ImFontAtlas_destroy"][1]["location"] = "imgui:2747" +defs["ImFontAtlas_destroy"][1]["location"] = "imgui:2860" defs["ImFontAtlas_destroy"][1]["ov_cimguiname"] = "ImFontAtlas_destroy" defs["ImFontAtlas_destroy"][1]["realdestructor"] = true defs["ImFontAtlas_destroy"][1]["ret"] = "void" @@ -3580,7 +3598,7 @@ defs["ImFontConfig_ImFontConfig"][1]["cimguiname"] = "ImFontConfig_ImFontConfig" defs["ImFontConfig_ImFontConfig"][1]["constructor"] = true defs["ImFontConfig_ImFontConfig"][1]["defaults"] = {} defs["ImFontConfig_ImFontConfig"][1]["funcname"] = "ImFontConfig" -defs["ImFontConfig_ImFontConfig"][1]["location"] = "imgui:2674" +defs["ImFontConfig_ImFontConfig"][1]["location"] = "imgui:2787" defs["ImFontConfig_ImFontConfig"][1]["ov_cimguiname"] = "ImFontConfig_ImFontConfig" defs["ImFontConfig_ImFontConfig"][1]["signature"] = "()" defs["ImFontConfig_ImFontConfig"][1]["stname"] = "ImFontConfig" @@ -3616,7 +3634,7 @@ defs["ImFontGlyphRangesBuilder_AddChar"][1]["call_args"] = "(c)" defs["ImFontGlyphRangesBuilder_AddChar"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_AddChar" defs["ImFontGlyphRangesBuilder_AddChar"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_AddChar"][1]["funcname"] = "AddChar" -defs["ImFontGlyphRangesBuilder_AddChar"][1]["location"] = "imgui:2699" +defs["ImFontGlyphRangesBuilder_AddChar"][1]["location"] = "imgui:2812" defs["ImFontGlyphRangesBuilder_AddChar"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_AddChar" defs["ImFontGlyphRangesBuilder_AddChar"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_AddChar"][1]["signature"] = "(ImWchar)" @@ -3637,7 +3655,7 @@ defs["ImFontGlyphRangesBuilder_AddRanges"][1]["call_args"] = "(ranges)" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_AddRanges" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_AddRanges"][1]["funcname"] = "AddRanges" -defs["ImFontGlyphRangesBuilder_AddRanges"][1]["location"] = "imgui:2701" +defs["ImFontGlyphRangesBuilder_AddRanges"][1]["location"] = "imgui:2814" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_AddRanges" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["signature"] = "(const ImWchar*)" @@ -3662,7 +3680,7 @@ defs["ImFontGlyphRangesBuilder_AddText"][1]["cimguiname"] = "ImFontGlyphRangesBu defs["ImFontGlyphRangesBuilder_AddText"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_AddText"][1]["defaults"]["text_end"] = "NULL" defs["ImFontGlyphRangesBuilder_AddText"][1]["funcname"] = "AddText" -defs["ImFontGlyphRangesBuilder_AddText"][1]["location"] = "imgui:2700" +defs["ImFontGlyphRangesBuilder_AddText"][1]["location"] = "imgui:2813" defs["ImFontGlyphRangesBuilder_AddText"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_AddText" defs["ImFontGlyphRangesBuilder_AddText"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_AddText"][1]["signature"] = "(const char*,const char*)" @@ -3683,7 +3701,7 @@ defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["call_args"] = "(out_ranges)" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_BuildRanges" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["funcname"] = "BuildRanges" -defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["location"] = "imgui:2702" +defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["location"] = "imgui:2815" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_BuildRanges" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["signature"] = "(ImVector_ImWchar*)" @@ -3701,7 +3719,7 @@ defs["ImFontGlyphRangesBuilder_Clear"][1]["call_args"] = "()" defs["ImFontGlyphRangesBuilder_Clear"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_Clear" defs["ImFontGlyphRangesBuilder_Clear"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_Clear"][1]["funcname"] = "Clear" -defs["ImFontGlyphRangesBuilder_Clear"][1]["location"] = "imgui:2696" +defs["ImFontGlyphRangesBuilder_Clear"][1]["location"] = "imgui:2809" defs["ImFontGlyphRangesBuilder_Clear"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_Clear" defs["ImFontGlyphRangesBuilder_Clear"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_Clear"][1]["signature"] = "()" @@ -3722,7 +3740,7 @@ defs["ImFontGlyphRangesBuilder_GetBit"][1]["call_args"] = "(n)" defs["ImFontGlyphRangesBuilder_GetBit"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_GetBit" defs["ImFontGlyphRangesBuilder_GetBit"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_GetBit"][1]["funcname"] = "GetBit" -defs["ImFontGlyphRangesBuilder_GetBit"][1]["location"] = "imgui:2697" +defs["ImFontGlyphRangesBuilder_GetBit"][1]["location"] = "imgui:2810" defs["ImFontGlyphRangesBuilder_GetBit"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_GetBit" defs["ImFontGlyphRangesBuilder_GetBit"][1]["ret"] = "bool" defs["ImFontGlyphRangesBuilder_GetBit"][1]["signature"] = "(size_t)const" @@ -3738,7 +3756,7 @@ defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["cimguiname"] = "Im defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["constructor"] = true defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["funcname"] = "ImFontGlyphRangesBuilder" -defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["location"] = "imgui:2695" +defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["location"] = "imgui:2808" defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder" defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["signature"] = "()" defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["stname"] = "ImFontGlyphRangesBuilder" @@ -3758,7 +3776,7 @@ defs["ImFontGlyphRangesBuilder_SetBit"][1]["call_args"] = "(n)" defs["ImFontGlyphRangesBuilder_SetBit"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_SetBit" defs["ImFontGlyphRangesBuilder_SetBit"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_SetBit"][1]["funcname"] = "SetBit" -defs["ImFontGlyphRangesBuilder_SetBit"][1]["location"] = "imgui:2698" +defs["ImFontGlyphRangesBuilder_SetBit"][1]["location"] = "imgui:2811" defs["ImFontGlyphRangesBuilder_SetBit"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_SetBit" defs["ImFontGlyphRangesBuilder_SetBit"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_SetBit"][1]["signature"] = "(size_t)" @@ -3825,7 +3843,7 @@ defs["ImFont_AddGlyph"][1]["call_args"] = "(src_cfg,c,x0,y0,x1,y1,u0,v0,u1,v1,ad defs["ImFont_AddGlyph"][1]["cimguiname"] = "ImFont_AddGlyph" defs["ImFont_AddGlyph"][1]["defaults"] = {} defs["ImFont_AddGlyph"][1]["funcname"] = "AddGlyph" -defs["ImFont_AddGlyph"][1]["location"] = "imgui:2891" +defs["ImFont_AddGlyph"][1]["location"] = "imgui:3004" defs["ImFont_AddGlyph"][1]["ov_cimguiname"] = "ImFont_AddGlyph" defs["ImFont_AddGlyph"][1]["ret"] = "void" defs["ImFont_AddGlyph"][1]["signature"] = "(const ImFontConfig*,ImWchar,float,float,float,float,float,float,float,float,float)" @@ -3853,7 +3871,7 @@ defs["ImFont_AddRemapChar"][1]["cimguiname"] = "ImFont_AddRemapChar" defs["ImFont_AddRemapChar"][1]["defaults"] = {} defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" defs["ImFont_AddRemapChar"][1]["funcname"] = "AddRemapChar" -defs["ImFont_AddRemapChar"][1]["location"] = "imgui:2892" +defs["ImFont_AddRemapChar"][1]["location"] = "imgui:3005" defs["ImFont_AddRemapChar"][1]["ov_cimguiname"] = "ImFont_AddRemapChar" defs["ImFont_AddRemapChar"][1]["ret"] = "void" defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" @@ -3871,7 +3889,7 @@ defs["ImFont_BuildLookupTable"][1]["call_args"] = "()" defs["ImFont_BuildLookupTable"][1]["cimguiname"] = "ImFont_BuildLookupTable" defs["ImFont_BuildLookupTable"][1]["defaults"] = {} defs["ImFont_BuildLookupTable"][1]["funcname"] = "BuildLookupTable" -defs["ImFont_BuildLookupTable"][1]["location"] = "imgui:2888" +defs["ImFont_BuildLookupTable"][1]["location"] = "imgui:3001" defs["ImFont_BuildLookupTable"][1]["ov_cimguiname"] = "ImFont_BuildLookupTable" defs["ImFont_BuildLookupTable"][1]["ret"] = "void" defs["ImFont_BuildLookupTable"][1]["signature"] = "()" @@ -3912,7 +3930,7 @@ defs["ImFont_CalcTextSizeA"][1]["defaults"] = {} defs["ImFont_CalcTextSizeA"][1]["defaults"]["remaining"] = "NULL" defs["ImFont_CalcTextSizeA"][1]["defaults"]["text_end"] = "NULL" defs["ImFont_CalcTextSizeA"][1]["funcname"] = "CalcTextSizeA" -defs["ImFont_CalcTextSizeA"][1]["location"] = "imgui:2882" +defs["ImFont_CalcTextSizeA"][1]["location"] = "imgui:2995" defs["ImFont_CalcTextSizeA"][1]["nonUDT"] = 1 defs["ImFont_CalcTextSizeA"][1]["ov_cimguiname"] = "ImFont_CalcTextSizeA" defs["ImFont_CalcTextSizeA"][1]["ret"] = "void" @@ -3943,7 +3961,7 @@ defs["ImFont_CalcWordWrapPositionA"][1]["call_args"] = "(scale,text,text_end,wra defs["ImFont_CalcWordWrapPositionA"][1]["cimguiname"] = "ImFont_CalcWordWrapPositionA" defs["ImFont_CalcWordWrapPositionA"][1]["defaults"] = {} defs["ImFont_CalcWordWrapPositionA"][1]["funcname"] = "CalcWordWrapPositionA" -defs["ImFont_CalcWordWrapPositionA"][1]["location"] = "imgui:2883" +defs["ImFont_CalcWordWrapPositionA"][1]["location"] = "imgui:2996" defs["ImFont_CalcWordWrapPositionA"][1]["ov_cimguiname"] = "ImFont_CalcWordWrapPositionA" defs["ImFont_CalcWordWrapPositionA"][1]["ret"] = "const char*" defs["ImFont_CalcWordWrapPositionA"][1]["signature"] = "(float,const char*,const char*,float)const" @@ -3961,7 +3979,7 @@ defs["ImFont_ClearOutputData"][1]["call_args"] = "()" defs["ImFont_ClearOutputData"][1]["cimguiname"] = "ImFont_ClearOutputData" defs["ImFont_ClearOutputData"][1]["defaults"] = {} defs["ImFont_ClearOutputData"][1]["funcname"] = "ClearOutputData" -defs["ImFont_ClearOutputData"][1]["location"] = "imgui:2889" +defs["ImFont_ClearOutputData"][1]["location"] = "imgui:3002" defs["ImFont_ClearOutputData"][1]["ov_cimguiname"] = "ImFont_ClearOutputData" defs["ImFont_ClearOutputData"][1]["ret"] = "void" defs["ImFont_ClearOutputData"][1]["signature"] = "()" @@ -3982,7 +4000,7 @@ defs["ImFont_FindGlyph"][1]["call_args"] = "(c)" defs["ImFont_FindGlyph"][1]["cimguiname"] = "ImFont_FindGlyph" defs["ImFont_FindGlyph"][1]["defaults"] = {} defs["ImFont_FindGlyph"][1]["funcname"] = "FindGlyph" -defs["ImFont_FindGlyph"][1]["location"] = "imgui:2874" +defs["ImFont_FindGlyph"][1]["location"] = "imgui:2987" defs["ImFont_FindGlyph"][1]["ov_cimguiname"] = "ImFont_FindGlyph" defs["ImFont_FindGlyph"][1]["ret"] = "const ImFontGlyph*" defs["ImFont_FindGlyph"][1]["signature"] = "(ImWchar)const" @@ -4003,7 +4021,7 @@ defs["ImFont_FindGlyphNoFallback"][1]["call_args"] = "(c)" defs["ImFont_FindGlyphNoFallback"][1]["cimguiname"] = "ImFont_FindGlyphNoFallback" defs["ImFont_FindGlyphNoFallback"][1]["defaults"] = {} defs["ImFont_FindGlyphNoFallback"][1]["funcname"] = "FindGlyphNoFallback" -defs["ImFont_FindGlyphNoFallback"][1]["location"] = "imgui:2875" +defs["ImFont_FindGlyphNoFallback"][1]["location"] = "imgui:2988" defs["ImFont_FindGlyphNoFallback"][1]["ov_cimguiname"] = "ImFont_FindGlyphNoFallback" defs["ImFont_FindGlyphNoFallback"][1]["ret"] = "const ImFontGlyph*" defs["ImFont_FindGlyphNoFallback"][1]["signature"] = "(ImWchar)const" @@ -4024,7 +4042,7 @@ defs["ImFont_GetCharAdvance"][1]["call_args"] = "(c)" defs["ImFont_GetCharAdvance"][1]["cimguiname"] = "ImFont_GetCharAdvance" defs["ImFont_GetCharAdvance"][1]["defaults"] = {} defs["ImFont_GetCharAdvance"][1]["funcname"] = "GetCharAdvance" -defs["ImFont_GetCharAdvance"][1]["location"] = "imgui:2876" +defs["ImFont_GetCharAdvance"][1]["location"] = "imgui:2989" defs["ImFont_GetCharAdvance"][1]["ov_cimguiname"] = "ImFont_GetCharAdvance" defs["ImFont_GetCharAdvance"][1]["ret"] = "float" defs["ImFont_GetCharAdvance"][1]["signature"] = "(ImWchar)const" @@ -4042,7 +4060,7 @@ defs["ImFont_GetDebugName"][1]["call_args"] = "()" defs["ImFont_GetDebugName"][1]["cimguiname"] = "ImFont_GetDebugName" defs["ImFont_GetDebugName"][1]["defaults"] = {} defs["ImFont_GetDebugName"][1]["funcname"] = "GetDebugName" -defs["ImFont_GetDebugName"][1]["location"] = "imgui:2878" +defs["ImFont_GetDebugName"][1]["location"] = "imgui:2991" defs["ImFont_GetDebugName"][1]["ov_cimguiname"] = "ImFont_GetDebugName" defs["ImFont_GetDebugName"][1]["ret"] = "const char*" defs["ImFont_GetDebugName"][1]["signature"] = "()const" @@ -4063,7 +4081,7 @@ defs["ImFont_GrowIndex"][1]["call_args"] = "(new_size)" defs["ImFont_GrowIndex"][1]["cimguiname"] = "ImFont_GrowIndex" defs["ImFont_GrowIndex"][1]["defaults"] = {} defs["ImFont_GrowIndex"][1]["funcname"] = "GrowIndex" -defs["ImFont_GrowIndex"][1]["location"] = "imgui:2890" +defs["ImFont_GrowIndex"][1]["location"] = "imgui:3003" defs["ImFont_GrowIndex"][1]["ov_cimguiname"] = "ImFont_GrowIndex" defs["ImFont_GrowIndex"][1]["ret"] = "void" defs["ImFont_GrowIndex"][1]["signature"] = "(int)" @@ -4079,7 +4097,7 @@ defs["ImFont_ImFont"][1]["cimguiname"] = "ImFont_ImFont" defs["ImFont_ImFont"][1]["constructor"] = true defs["ImFont_ImFont"][1]["defaults"] = {} defs["ImFont_ImFont"][1]["funcname"] = "ImFont" -defs["ImFont_ImFont"][1]["location"] = "imgui:2872" +defs["ImFont_ImFont"][1]["location"] = "imgui:2985" defs["ImFont_ImFont"][1]["ov_cimguiname"] = "ImFont_ImFont" defs["ImFont_ImFont"][1]["signature"] = "()" defs["ImFont_ImFont"][1]["stname"] = "ImFont" @@ -4102,7 +4120,7 @@ defs["ImFont_IsGlyphRangeUnused"][1]["call_args"] = "(c_begin,c_last)" defs["ImFont_IsGlyphRangeUnused"][1]["cimguiname"] = "ImFont_IsGlyphRangeUnused" defs["ImFont_IsGlyphRangeUnused"][1]["defaults"] = {} defs["ImFont_IsGlyphRangeUnused"][1]["funcname"] = "IsGlyphRangeUnused" -defs["ImFont_IsGlyphRangeUnused"][1]["location"] = "imgui:2894" +defs["ImFont_IsGlyphRangeUnused"][1]["location"] = "imgui:3007" defs["ImFont_IsGlyphRangeUnused"][1]["ov_cimguiname"] = "ImFont_IsGlyphRangeUnused" defs["ImFont_IsGlyphRangeUnused"][1]["ret"] = "bool" defs["ImFont_IsGlyphRangeUnused"][1]["signature"] = "(unsigned int,unsigned int)" @@ -4120,7 +4138,7 @@ defs["ImFont_IsLoaded"][1]["call_args"] = "()" defs["ImFont_IsLoaded"][1]["cimguiname"] = "ImFont_IsLoaded" defs["ImFont_IsLoaded"][1]["defaults"] = {} defs["ImFont_IsLoaded"][1]["funcname"] = "IsLoaded" -defs["ImFont_IsLoaded"][1]["location"] = "imgui:2877" +defs["ImFont_IsLoaded"][1]["location"] = "imgui:2990" defs["ImFont_IsLoaded"][1]["ov_cimguiname"] = "ImFont_IsLoaded" defs["ImFont_IsLoaded"][1]["ret"] = "bool" defs["ImFont_IsLoaded"][1]["signature"] = "()const" @@ -4128,7 +4146,7 @@ defs["ImFont_IsLoaded"][1]["stname"] = "ImFont" defs["ImFont_IsLoaded"]["()const"] = defs["ImFont_IsLoaded"][1] defs["ImFont_RenderChar"] = {} defs["ImFont_RenderChar"][1] = {} -defs["ImFont_RenderChar"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)" +defs["ImFont_RenderChar"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c)" defs["ImFont_RenderChar"][1]["argsT"] = {} defs["ImFont_RenderChar"][1]["argsT"][1] = {} defs["ImFont_RenderChar"][1]["argsT"][1]["name"] = "self" @@ -4141,27 +4159,27 @@ defs["ImFont_RenderChar"][1]["argsT"][3]["name"] = "size" defs["ImFont_RenderChar"][1]["argsT"][3]["type"] = "float" defs["ImFont_RenderChar"][1]["argsT"][4] = {} defs["ImFont_RenderChar"][1]["argsT"][4]["name"] = "pos" -defs["ImFont_RenderChar"][1]["argsT"][4]["type"] = "ImVec2" +defs["ImFont_RenderChar"][1]["argsT"][4]["type"] = "const ImVec2" defs["ImFont_RenderChar"][1]["argsT"][5] = {} defs["ImFont_RenderChar"][1]["argsT"][5]["name"] = "col" defs["ImFont_RenderChar"][1]["argsT"][5]["type"] = "ImU32" defs["ImFont_RenderChar"][1]["argsT"][6] = {} defs["ImFont_RenderChar"][1]["argsT"][6]["name"] = "c" defs["ImFont_RenderChar"][1]["argsT"][6]["type"] = "ImWchar" -defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)" +defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,ImWchar c)" defs["ImFont_RenderChar"][1]["call_args"] = "(draw_list,size,pos,col,c)" defs["ImFont_RenderChar"][1]["cimguiname"] = "ImFont_RenderChar" defs["ImFont_RenderChar"][1]["defaults"] = {} defs["ImFont_RenderChar"][1]["funcname"] = "RenderChar" -defs["ImFont_RenderChar"][1]["location"] = "imgui:2884" +defs["ImFont_RenderChar"][1]["location"] = "imgui:2997" defs["ImFont_RenderChar"][1]["ov_cimguiname"] = "ImFont_RenderChar" defs["ImFont_RenderChar"][1]["ret"] = "void" -defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,ImWchar)const" +defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const" defs["ImFont_RenderChar"][1]["stname"] = "ImFont" -defs["ImFont_RenderChar"]["(ImDrawList*,float,ImVec2,ImU32,ImWchar)const"] = defs["ImFont_RenderChar"][1] +defs["ImFont_RenderChar"]["(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const"] = defs["ImFont_RenderChar"][1] defs["ImFont_RenderText"] = {} defs["ImFont_RenderText"][1] = {} -defs["ImFont_RenderText"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)" +defs["ImFont_RenderText"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)" defs["ImFont_RenderText"][1]["argsT"] = {} defs["ImFont_RenderText"][1]["argsT"][1] = {} defs["ImFont_RenderText"][1]["argsT"][1]["name"] = "self" @@ -4174,7 +4192,7 @@ defs["ImFont_RenderText"][1]["argsT"][3]["name"] = "size" defs["ImFont_RenderText"][1]["argsT"][3]["type"] = "float" defs["ImFont_RenderText"][1]["argsT"][4] = {} defs["ImFont_RenderText"][1]["argsT"][4]["name"] = "pos" -defs["ImFont_RenderText"][1]["argsT"][4]["type"] = "ImVec2" +defs["ImFont_RenderText"][1]["argsT"][4]["type"] = "const ImVec2" defs["ImFont_RenderText"][1]["argsT"][5] = {} defs["ImFont_RenderText"][1]["argsT"][5]["name"] = "col" defs["ImFont_RenderText"][1]["argsT"][5]["type"] = "ImU32" @@ -4193,19 +4211,19 @@ defs["ImFont_RenderText"][1]["argsT"][9]["type"] = "float" defs["ImFont_RenderText"][1]["argsT"][10] = {} defs["ImFont_RenderText"][1]["argsT"][10]["name"] = "cpu_fine_clip" defs["ImFont_RenderText"][1]["argsT"][10]["type"] = "bool" -defs["ImFont_RenderText"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)" +defs["ImFont_RenderText"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)" defs["ImFont_RenderText"][1]["call_args"] = "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)" defs["ImFont_RenderText"][1]["cimguiname"] = "ImFont_RenderText" defs["ImFont_RenderText"][1]["defaults"] = {} defs["ImFont_RenderText"][1]["defaults"]["cpu_fine_clip"] = "false" defs["ImFont_RenderText"][1]["defaults"]["wrap_width"] = "0.0f" defs["ImFont_RenderText"][1]["funcname"] = "RenderText" -defs["ImFont_RenderText"][1]["location"] = "imgui:2885" +defs["ImFont_RenderText"][1]["location"] = "imgui:2998" defs["ImFont_RenderText"][1]["ov_cimguiname"] = "ImFont_RenderText" defs["ImFont_RenderText"][1]["ret"] = "void" -defs["ImFont_RenderText"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const" +defs["ImFont_RenderText"][1]["signature"] = "(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const" defs["ImFont_RenderText"][1]["stname"] = "ImFont" -defs["ImFont_RenderText"]["(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const"] = defs["ImFont_RenderText"][1] +defs["ImFont_RenderText"]["(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const"] = defs["ImFont_RenderText"][1] defs["ImFont_SetGlyphVisible"] = {} defs["ImFont_SetGlyphVisible"][1] = {} defs["ImFont_SetGlyphVisible"][1]["args"] = "(ImFont* self,ImWchar c,bool visible)" @@ -4224,7 +4242,7 @@ defs["ImFont_SetGlyphVisible"][1]["call_args"] = "(c,visible)" defs["ImFont_SetGlyphVisible"][1]["cimguiname"] = "ImFont_SetGlyphVisible" defs["ImFont_SetGlyphVisible"][1]["defaults"] = {} defs["ImFont_SetGlyphVisible"][1]["funcname"] = "SetGlyphVisible" -defs["ImFont_SetGlyphVisible"][1]["location"] = "imgui:2893" +defs["ImFont_SetGlyphVisible"][1]["location"] = "imgui:3006" defs["ImFont_SetGlyphVisible"][1]["ov_cimguiname"] = "ImFont_SetGlyphVisible" defs["ImFont_SetGlyphVisible"][1]["ret"] = "void" defs["ImFont_SetGlyphVisible"][1]["signature"] = "(ImWchar,bool)" @@ -4241,7 +4259,7 @@ defs["ImFont_destroy"][1]["call_args"] = "(self)" defs["ImFont_destroy"][1]["cimguiname"] = "ImFont_destroy" defs["ImFont_destroy"][1]["defaults"] = {} defs["ImFont_destroy"][1]["destructor"] = true -defs["ImFont_destroy"][1]["location"] = "imgui:2873" +defs["ImFont_destroy"][1]["location"] = "imgui:2986" defs["ImFont_destroy"][1]["ov_cimguiname"] = "ImFont_destroy" defs["ImFont_destroy"][1]["realdestructor"] = true defs["ImFont_destroy"][1]["ret"] = "void" @@ -4258,7 +4276,7 @@ defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["cimguiname"] = "ImGuiCom defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["constructor"] = true defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["defaults"] = {} defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["funcname"] = "ImGuiComboPreviewData" -defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["location"] = "imgui_internal:990" +defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["location"] = "imgui_internal:1018" defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["ov_cimguiname"] = "ImGuiComboPreviewData_ImGuiComboPreviewData" defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["signature"] = "()" defs["ImGuiComboPreviewData_ImGuiComboPreviewData"][1]["stname"] = "ImGuiComboPreviewData" @@ -4289,7 +4307,7 @@ defs["ImGuiContextHook_ImGuiContextHook"][1]["cimguiname"] = "ImGuiContextHook_I defs["ImGuiContextHook_ImGuiContextHook"][1]["constructor"] = true defs["ImGuiContextHook_ImGuiContextHook"][1]["defaults"] = {} defs["ImGuiContextHook_ImGuiContextHook"][1]["funcname"] = "ImGuiContextHook" -defs["ImGuiContextHook_ImGuiContextHook"][1]["location"] = "imgui_internal:1663" +defs["ImGuiContextHook_ImGuiContextHook"][1]["location"] = "imgui_internal:1898" defs["ImGuiContextHook_ImGuiContextHook"][1]["ov_cimguiname"] = "ImGuiContextHook_ImGuiContextHook" defs["ImGuiContextHook_ImGuiContextHook"][1]["signature"] = "()" defs["ImGuiContextHook_ImGuiContextHook"][1]["stname"] = "ImGuiContextHook" @@ -4323,7 +4341,7 @@ defs["ImGuiContext_ImGuiContext"][1]["cimguiname"] = "ImGuiContext_ImGuiContext" defs["ImGuiContext_ImGuiContext"][1]["constructor"] = true defs["ImGuiContext_ImGuiContext"][1]["defaults"] = {} defs["ImGuiContext_ImGuiContext"][1]["funcname"] = "ImGuiContext" -defs["ImGuiContext_ImGuiContext"][1]["location"] = "imgui_internal:1941" +defs["ImGuiContext_ImGuiContext"][1]["location"] = "imgui_internal:2204" defs["ImGuiContext_ImGuiContext"][1]["ov_cimguiname"] = "ImGuiContext_ImGuiContext" defs["ImGuiContext_ImGuiContext"][1]["signature"] = "(ImFontAtlas*)" defs["ImGuiContext_ImGuiContext"][1]["stname"] = "ImGuiContext" @@ -4354,7 +4372,7 @@ defs["ImGuiDockContext_ImGuiDockContext"][1]["cimguiname"] = "ImGuiDockContext_I defs["ImGuiDockContext_ImGuiDockContext"][1]["constructor"] = true defs["ImGuiDockContext_ImGuiDockContext"][1]["defaults"] = {} defs["ImGuiDockContext_ImGuiDockContext"][1]["funcname"] = "ImGuiDockContext" -defs["ImGuiDockContext_ImGuiDockContext"][1]["location"] = "imgui_internal:1508" +defs["ImGuiDockContext_ImGuiDockContext"][1]["location"] = "imgui_internal:1703" defs["ImGuiDockContext_ImGuiDockContext"][1]["ov_cimguiname"] = "ImGuiDockContext_ImGuiDockContext" defs["ImGuiDockContext_ImGuiDockContext"][1]["signature"] = "()" defs["ImGuiDockContext_ImGuiDockContext"][1]["stname"] = "ImGuiDockContext" @@ -4388,7 +4406,7 @@ defs["ImGuiDockNode_ImGuiDockNode"][1]["cimguiname"] = "ImGuiDockNode_ImGuiDockN defs["ImGuiDockNode_ImGuiDockNode"][1]["constructor"] = true defs["ImGuiDockNode_ImGuiDockNode"][1]["defaults"] = {} defs["ImGuiDockNode_ImGuiDockNode"][1]["funcname"] = "ImGuiDockNode" -defs["ImGuiDockNode_ImGuiDockNode"][1]["location"] = "imgui_internal:1465" +defs["ImGuiDockNode_ImGuiDockNode"][1]["location"] = "imgui_internal:1660" defs["ImGuiDockNode_ImGuiDockNode"][1]["ov_cimguiname"] = "ImGuiDockNode_ImGuiDockNode" defs["ImGuiDockNode_ImGuiDockNode"][1]["signature"] = "(ImGuiID)" defs["ImGuiDockNode_ImGuiDockNode"][1]["stname"] = "ImGuiDockNode" @@ -4405,7 +4423,7 @@ defs["ImGuiDockNode_IsCentralNode"][1]["call_args"] = "()" defs["ImGuiDockNode_IsCentralNode"][1]["cimguiname"] = "ImGuiDockNode_IsCentralNode" defs["ImGuiDockNode_IsCentralNode"][1]["defaults"] = {} defs["ImGuiDockNode_IsCentralNode"][1]["funcname"] = "IsCentralNode" -defs["ImGuiDockNode_IsCentralNode"][1]["location"] = "imgui_internal:1470" +defs["ImGuiDockNode_IsCentralNode"][1]["location"] = "imgui_internal:1665" defs["ImGuiDockNode_IsCentralNode"][1]["ov_cimguiname"] = "ImGuiDockNode_IsCentralNode" defs["ImGuiDockNode_IsCentralNode"][1]["ret"] = "bool" defs["ImGuiDockNode_IsCentralNode"][1]["signature"] = "()const" @@ -4423,7 +4441,7 @@ defs["ImGuiDockNode_IsDockSpace"][1]["call_args"] = "()" defs["ImGuiDockNode_IsDockSpace"][1]["cimguiname"] = "ImGuiDockNode_IsDockSpace" defs["ImGuiDockNode_IsDockSpace"][1]["defaults"] = {} defs["ImGuiDockNode_IsDockSpace"][1]["funcname"] = "IsDockSpace" -defs["ImGuiDockNode_IsDockSpace"][1]["location"] = "imgui_internal:1468" +defs["ImGuiDockNode_IsDockSpace"][1]["location"] = "imgui_internal:1663" defs["ImGuiDockNode_IsDockSpace"][1]["ov_cimguiname"] = "ImGuiDockNode_IsDockSpace" defs["ImGuiDockNode_IsDockSpace"][1]["ret"] = "bool" defs["ImGuiDockNode_IsDockSpace"][1]["signature"] = "()const" @@ -4441,7 +4459,7 @@ defs["ImGuiDockNode_IsEmpty"][1]["call_args"] = "()" defs["ImGuiDockNode_IsEmpty"][1]["cimguiname"] = "ImGuiDockNode_IsEmpty" defs["ImGuiDockNode_IsEmpty"][1]["defaults"] = {} defs["ImGuiDockNode_IsEmpty"][1]["funcname"] = "IsEmpty" -defs["ImGuiDockNode_IsEmpty"][1]["location"] = "imgui_internal:1475" +defs["ImGuiDockNode_IsEmpty"][1]["location"] = "imgui_internal:1670" defs["ImGuiDockNode_IsEmpty"][1]["ov_cimguiname"] = "ImGuiDockNode_IsEmpty" defs["ImGuiDockNode_IsEmpty"][1]["ret"] = "bool" defs["ImGuiDockNode_IsEmpty"][1]["signature"] = "()const" @@ -4459,7 +4477,7 @@ defs["ImGuiDockNode_IsFloatingNode"][1]["call_args"] = "()" defs["ImGuiDockNode_IsFloatingNode"][1]["cimguiname"] = "ImGuiDockNode_IsFloatingNode" defs["ImGuiDockNode_IsFloatingNode"][1]["defaults"] = {} defs["ImGuiDockNode_IsFloatingNode"][1]["funcname"] = "IsFloatingNode" -defs["ImGuiDockNode_IsFloatingNode"][1]["location"] = "imgui_internal:1469" +defs["ImGuiDockNode_IsFloatingNode"][1]["location"] = "imgui_internal:1664" defs["ImGuiDockNode_IsFloatingNode"][1]["ov_cimguiname"] = "ImGuiDockNode_IsFloatingNode" defs["ImGuiDockNode_IsFloatingNode"][1]["ret"] = "bool" defs["ImGuiDockNode_IsFloatingNode"][1]["signature"] = "()const" @@ -4477,7 +4495,7 @@ defs["ImGuiDockNode_IsHiddenTabBar"][1]["call_args"] = "()" defs["ImGuiDockNode_IsHiddenTabBar"][1]["cimguiname"] = "ImGuiDockNode_IsHiddenTabBar" defs["ImGuiDockNode_IsHiddenTabBar"][1]["defaults"] = {} defs["ImGuiDockNode_IsHiddenTabBar"][1]["funcname"] = "IsHiddenTabBar" -defs["ImGuiDockNode_IsHiddenTabBar"][1]["location"] = "imgui_internal:1471" +defs["ImGuiDockNode_IsHiddenTabBar"][1]["location"] = "imgui_internal:1666" defs["ImGuiDockNode_IsHiddenTabBar"][1]["ov_cimguiname"] = "ImGuiDockNode_IsHiddenTabBar" defs["ImGuiDockNode_IsHiddenTabBar"][1]["ret"] = "bool" defs["ImGuiDockNode_IsHiddenTabBar"][1]["signature"] = "()const" @@ -4495,7 +4513,7 @@ defs["ImGuiDockNode_IsLeafNode"][1]["call_args"] = "()" defs["ImGuiDockNode_IsLeafNode"][1]["cimguiname"] = "ImGuiDockNode_IsLeafNode" defs["ImGuiDockNode_IsLeafNode"][1]["defaults"] = {} defs["ImGuiDockNode_IsLeafNode"][1]["funcname"] = "IsLeafNode" -defs["ImGuiDockNode_IsLeafNode"][1]["location"] = "imgui_internal:1474" +defs["ImGuiDockNode_IsLeafNode"][1]["location"] = "imgui_internal:1669" defs["ImGuiDockNode_IsLeafNode"][1]["ov_cimguiname"] = "ImGuiDockNode_IsLeafNode" defs["ImGuiDockNode_IsLeafNode"][1]["ret"] = "bool" defs["ImGuiDockNode_IsLeafNode"][1]["signature"] = "()const" @@ -4513,7 +4531,7 @@ defs["ImGuiDockNode_IsNoTabBar"][1]["call_args"] = "()" defs["ImGuiDockNode_IsNoTabBar"][1]["cimguiname"] = "ImGuiDockNode_IsNoTabBar" defs["ImGuiDockNode_IsNoTabBar"][1]["defaults"] = {} defs["ImGuiDockNode_IsNoTabBar"][1]["funcname"] = "IsNoTabBar" -defs["ImGuiDockNode_IsNoTabBar"][1]["location"] = "imgui_internal:1472" +defs["ImGuiDockNode_IsNoTabBar"][1]["location"] = "imgui_internal:1667" defs["ImGuiDockNode_IsNoTabBar"][1]["ov_cimguiname"] = "ImGuiDockNode_IsNoTabBar" defs["ImGuiDockNode_IsNoTabBar"][1]["ret"] = "bool" defs["ImGuiDockNode_IsNoTabBar"][1]["signature"] = "()const" @@ -4531,7 +4549,7 @@ defs["ImGuiDockNode_IsRootNode"][1]["call_args"] = "()" defs["ImGuiDockNode_IsRootNode"][1]["cimguiname"] = "ImGuiDockNode_IsRootNode" defs["ImGuiDockNode_IsRootNode"][1]["defaults"] = {} defs["ImGuiDockNode_IsRootNode"][1]["funcname"] = "IsRootNode" -defs["ImGuiDockNode_IsRootNode"][1]["location"] = "imgui_internal:1467" +defs["ImGuiDockNode_IsRootNode"][1]["location"] = "imgui_internal:1662" defs["ImGuiDockNode_IsRootNode"][1]["ov_cimguiname"] = "ImGuiDockNode_IsRootNode" defs["ImGuiDockNode_IsRootNode"][1]["ret"] = "bool" defs["ImGuiDockNode_IsRootNode"][1]["signature"] = "()const" @@ -4549,7 +4567,7 @@ defs["ImGuiDockNode_IsSplitNode"][1]["call_args"] = "()" defs["ImGuiDockNode_IsSplitNode"][1]["cimguiname"] = "ImGuiDockNode_IsSplitNode" defs["ImGuiDockNode_IsSplitNode"][1]["defaults"] = {} defs["ImGuiDockNode_IsSplitNode"][1]["funcname"] = "IsSplitNode" -defs["ImGuiDockNode_IsSplitNode"][1]["location"] = "imgui_internal:1473" +defs["ImGuiDockNode_IsSplitNode"][1]["location"] = "imgui_internal:1668" defs["ImGuiDockNode_IsSplitNode"][1]["ov_cimguiname"] = "ImGuiDockNode_IsSplitNode" defs["ImGuiDockNode_IsSplitNode"][1]["ret"] = "bool" defs["ImGuiDockNode_IsSplitNode"][1]["signature"] = "()const" @@ -4570,7 +4588,7 @@ defs["ImGuiDockNode_Rect"][1]["call_args"] = "()" defs["ImGuiDockNode_Rect"][1]["cimguiname"] = "ImGuiDockNode_Rect" defs["ImGuiDockNode_Rect"][1]["defaults"] = {} defs["ImGuiDockNode_Rect"][1]["funcname"] = "Rect" -defs["ImGuiDockNode_Rect"][1]["location"] = "imgui_internal:1476" +defs["ImGuiDockNode_Rect"][1]["location"] = "imgui_internal:1671" defs["ImGuiDockNode_Rect"][1]["nonUDT"] = 1 defs["ImGuiDockNode_Rect"][1]["ov_cimguiname"] = "ImGuiDockNode_Rect" defs["ImGuiDockNode_Rect"][1]["ret"] = "void" @@ -4592,7 +4610,7 @@ defs["ImGuiDockNode_SetLocalFlags"][1]["call_args"] = "(flags)" defs["ImGuiDockNode_SetLocalFlags"][1]["cimguiname"] = "ImGuiDockNode_SetLocalFlags" defs["ImGuiDockNode_SetLocalFlags"][1]["defaults"] = {} defs["ImGuiDockNode_SetLocalFlags"][1]["funcname"] = "SetLocalFlags" -defs["ImGuiDockNode_SetLocalFlags"][1]["location"] = "imgui_internal:1478" +defs["ImGuiDockNode_SetLocalFlags"][1]["location"] = "imgui_internal:1673" defs["ImGuiDockNode_SetLocalFlags"][1]["ov_cimguiname"] = "ImGuiDockNode_SetLocalFlags" defs["ImGuiDockNode_SetLocalFlags"][1]["ret"] = "void" defs["ImGuiDockNode_SetLocalFlags"][1]["signature"] = "(ImGuiDockNodeFlags)" @@ -4610,7 +4628,7 @@ defs["ImGuiDockNode_UpdateMergedFlags"][1]["call_args"] = "()" defs["ImGuiDockNode_UpdateMergedFlags"][1]["cimguiname"] = "ImGuiDockNode_UpdateMergedFlags" defs["ImGuiDockNode_UpdateMergedFlags"][1]["defaults"] = {} defs["ImGuiDockNode_UpdateMergedFlags"][1]["funcname"] = "UpdateMergedFlags" -defs["ImGuiDockNode_UpdateMergedFlags"][1]["location"] = "imgui_internal:1479" +defs["ImGuiDockNode_UpdateMergedFlags"][1]["location"] = "imgui_internal:1674" defs["ImGuiDockNode_UpdateMergedFlags"][1]["ov_cimguiname"] = "ImGuiDockNode_UpdateMergedFlags" defs["ImGuiDockNode_UpdateMergedFlags"][1]["ret"] = "void" defs["ImGuiDockNode_UpdateMergedFlags"][1]["signature"] = "()" @@ -4627,7 +4645,7 @@ defs["ImGuiDockNode_destroy"][1]["call_args"] = "(self)" defs["ImGuiDockNode_destroy"][1]["cimguiname"] = "ImGuiDockNode_destroy" defs["ImGuiDockNode_destroy"][1]["defaults"] = {} defs["ImGuiDockNode_destroy"][1]["destructor"] = true -defs["ImGuiDockNode_destroy"][1]["location"] = "imgui_internal:1466" +defs["ImGuiDockNode_destroy"][1]["location"] = "imgui_internal:1661" defs["ImGuiDockNode_destroy"][1]["ov_cimguiname"] = "ImGuiDockNode_destroy" defs["ImGuiDockNode_destroy"][1]["realdestructor"] = true defs["ImGuiDockNode_destroy"][1]["ret"] = "void" @@ -4649,7 +4667,7 @@ defs["ImGuiIO_AddFocusEvent"][1]["call_args"] = "(focused)" defs["ImGuiIO_AddFocusEvent"][1]["cimguiname"] = "ImGuiIO_AddFocusEvent" defs["ImGuiIO_AddFocusEvent"][1]["defaults"] = {} defs["ImGuiIO_AddFocusEvent"][1]["funcname"] = "AddFocusEvent" -defs["ImGuiIO_AddFocusEvent"][1]["location"] = "imgui:1983" +defs["ImGuiIO_AddFocusEvent"][1]["location"] = "imgui:2063" defs["ImGuiIO_AddFocusEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddFocusEvent" defs["ImGuiIO_AddFocusEvent"][1]["ret"] = "void" defs["ImGuiIO_AddFocusEvent"][1]["signature"] = "(bool)" @@ -4670,7 +4688,7 @@ defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharacter"][1]["funcname"] = "AddInputCharacter" -defs["ImGuiIO_AddInputCharacter"][1]["location"] = "imgui:1980" +defs["ImGuiIO_AddInputCharacter"][1]["location"] = "imgui:2064" defs["ImGuiIO_AddInputCharacter"][1]["ov_cimguiname"] = "ImGuiIO_AddInputCharacter" defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(unsigned int)" @@ -4691,7 +4709,7 @@ defs["ImGuiIO_AddInputCharacterUTF16"][1]["call_args"] = "(c)" defs["ImGuiIO_AddInputCharacterUTF16"][1]["cimguiname"] = "ImGuiIO_AddInputCharacterUTF16" defs["ImGuiIO_AddInputCharacterUTF16"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharacterUTF16"][1]["funcname"] = "AddInputCharacterUTF16" -defs["ImGuiIO_AddInputCharacterUTF16"][1]["location"] = "imgui:1981" +defs["ImGuiIO_AddInputCharacterUTF16"][1]["location"] = "imgui:2065" defs["ImGuiIO_AddInputCharacterUTF16"][1]["ov_cimguiname"] = "ImGuiIO_AddInputCharacterUTF16" defs["ImGuiIO_AddInputCharacterUTF16"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharacterUTF16"][1]["signature"] = "(ImWchar16)" @@ -4712,12 +4730,156 @@ defs["ImGuiIO_AddInputCharactersUTF8"][1]["call_args"] = "(str)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" defs["ImGuiIO_AddInputCharactersUTF8"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharactersUTF8"][1]["funcname"] = "AddInputCharactersUTF8" -defs["ImGuiIO_AddInputCharactersUTF8"][1]["location"] = "imgui:1982" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["location"] = "imgui:2066" defs["ImGuiIO_AddInputCharactersUTF8"][1]["ov_cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" defs["ImGuiIO_AddInputCharactersUTF8"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharactersUTF8"][1]["signature"] = "(const char*)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["stname"] = "ImGuiIO" defs["ImGuiIO_AddInputCharactersUTF8"]["(const char*)"] = defs["ImGuiIO_AddInputCharactersUTF8"][1] +defs["ImGuiIO_AddKeyAnalogEvent"] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["args"] = "(ImGuiIO* self,ImGuiKey key,bool down,float v)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][2]["name"] = "key" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][3]["name"] = "down" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][3]["type"] = "bool" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][4] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][4]["name"] = "v" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][4]["type"] = "float" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsoriginal"] = "(ImGuiKey key,bool down,float v)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["call_args"] = "(key,down,v)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["cimguiname"] = "ImGuiIO_AddKeyAnalogEvent" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["funcname"] = "AddKeyAnalogEvent" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["location"] = "imgui:2058" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddKeyAnalogEvent" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["signature"] = "(ImGuiKey,bool,float)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddKeyAnalogEvent"]["(ImGuiKey,bool,float)"] = defs["ImGuiIO_AddKeyAnalogEvent"][1] +defs["ImGuiIO_AddKeyEvent"] = {} +defs["ImGuiIO_AddKeyEvent"][1] = {} +defs["ImGuiIO_AddKeyEvent"][1]["args"] = "(ImGuiIO* self,ImGuiKey key,bool down)" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][2]["name"] = "key" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][3]["name"] = "down" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][3]["type"] = "bool" +defs["ImGuiIO_AddKeyEvent"][1]["argsoriginal"] = "(ImGuiKey key,bool down)" +defs["ImGuiIO_AddKeyEvent"][1]["call_args"] = "(key,down)" +defs["ImGuiIO_AddKeyEvent"][1]["cimguiname"] = "ImGuiIO_AddKeyEvent" +defs["ImGuiIO_AddKeyEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddKeyEvent"][1]["funcname"] = "AddKeyEvent" +defs["ImGuiIO_AddKeyEvent"][1]["location"] = "imgui:2057" +defs["ImGuiIO_AddKeyEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddKeyEvent" +defs["ImGuiIO_AddKeyEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddKeyEvent"][1]["signature"] = "(ImGuiKey,bool)" +defs["ImGuiIO_AddKeyEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddKeyEvent"]["(ImGuiKey,bool)"] = defs["ImGuiIO_AddKeyEvent"][1] +defs["ImGuiIO_AddMouseButtonEvent"] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["args"] = "(ImGuiIO* self,int button,bool down)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][2]["name"] = "button" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][2]["type"] = "int" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][3]["name"] = "down" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][3]["type"] = "bool" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsoriginal"] = "(int button,bool down)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["call_args"] = "(button,down)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["cimguiname"] = "ImGuiIO_AddMouseButtonEvent" +defs["ImGuiIO_AddMouseButtonEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["funcname"] = "AddMouseButtonEvent" +defs["ImGuiIO_AddMouseButtonEvent"][1]["location"] = "imgui:2060" +defs["ImGuiIO_AddMouseButtonEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMouseButtonEvent" +defs["ImGuiIO_AddMouseButtonEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMouseButtonEvent"][1]["signature"] = "(int,bool)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMouseButtonEvent"]["(int,bool)"] = defs["ImGuiIO_AddMouseButtonEvent"][1] +defs["ImGuiIO_AddMousePosEvent"] = {} +defs["ImGuiIO_AddMousePosEvent"][1] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["args"] = "(ImGuiIO* self,float x,float y)" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][2]["name"] = "x" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][2]["type"] = "float" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][3]["name"] = "y" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][3]["type"] = "float" +defs["ImGuiIO_AddMousePosEvent"][1]["argsoriginal"] = "(float x,float y)" +defs["ImGuiIO_AddMousePosEvent"][1]["call_args"] = "(x,y)" +defs["ImGuiIO_AddMousePosEvent"][1]["cimguiname"] = "ImGuiIO_AddMousePosEvent" +defs["ImGuiIO_AddMousePosEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["funcname"] = "AddMousePosEvent" +defs["ImGuiIO_AddMousePosEvent"][1]["location"] = "imgui:2059" +defs["ImGuiIO_AddMousePosEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMousePosEvent" +defs["ImGuiIO_AddMousePosEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMousePosEvent"][1]["signature"] = "(float,float)" +defs["ImGuiIO_AddMousePosEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMousePosEvent"]["(float,float)"] = defs["ImGuiIO_AddMousePosEvent"][1] +defs["ImGuiIO_AddMouseViewportEvent"] = {} +defs["ImGuiIO_AddMouseViewportEvent"][1] = {} +defs["ImGuiIO_AddMouseViewportEvent"][1]["args"] = "(ImGuiIO* self,ImGuiID id)" +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"][2]["name"] = "id" +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsT"][2]["type"] = "ImGuiID" +defs["ImGuiIO_AddMouseViewportEvent"][1]["argsoriginal"] = "(ImGuiID id)" +defs["ImGuiIO_AddMouseViewportEvent"][1]["call_args"] = "(id)" +defs["ImGuiIO_AddMouseViewportEvent"][1]["cimguiname"] = "ImGuiIO_AddMouseViewportEvent" +defs["ImGuiIO_AddMouseViewportEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMouseViewportEvent"][1]["funcname"] = "AddMouseViewportEvent" +defs["ImGuiIO_AddMouseViewportEvent"][1]["location"] = "imgui:2062" +defs["ImGuiIO_AddMouseViewportEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMouseViewportEvent" +defs["ImGuiIO_AddMouseViewportEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMouseViewportEvent"][1]["signature"] = "(ImGuiID)" +defs["ImGuiIO_AddMouseViewportEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMouseViewportEvent"]["(ImGuiID)"] = defs["ImGuiIO_AddMouseViewportEvent"][1] +defs["ImGuiIO_AddMouseWheelEvent"] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["args"] = "(ImGuiIO* self,float wh_x,float wh_y)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][2]["name"] = "wh_x" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][2]["type"] = "float" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][3]["name"] = "wh_y" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][3]["type"] = "float" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsoriginal"] = "(float wh_x,float wh_y)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["call_args"] = "(wh_x,wh_y)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["cimguiname"] = "ImGuiIO_AddMouseWheelEvent" +defs["ImGuiIO_AddMouseWheelEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["funcname"] = "AddMouseWheelEvent" +defs["ImGuiIO_AddMouseWheelEvent"][1]["location"] = "imgui:2061" +defs["ImGuiIO_AddMouseWheelEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMouseWheelEvent" +defs["ImGuiIO_AddMouseWheelEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMouseWheelEvent"][1]["signature"] = "(float,float)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMouseWheelEvent"]["(float,float)"] = defs["ImGuiIO_AddMouseWheelEvent"][1] defs["ImGuiIO_ClearInputCharacters"] = {} defs["ImGuiIO_ClearInputCharacters"][1] = {} defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "(ImGuiIO* self)" @@ -4730,7 +4892,7 @@ defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" -defs["ImGuiIO_ClearInputCharacters"][1]["location"] = "imgui:1984" +defs["ImGuiIO_ClearInputCharacters"][1]["location"] = "imgui:2070" defs["ImGuiIO_ClearInputCharacters"][1]["ov_cimguiname"] = "ImGuiIO_ClearInputCharacters" defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "void" defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" @@ -4748,7 +4910,7 @@ defs["ImGuiIO_ClearInputKeys"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputKeys"][1]["cimguiname"] = "ImGuiIO_ClearInputKeys" defs["ImGuiIO_ClearInputKeys"][1]["defaults"] = {} defs["ImGuiIO_ClearInputKeys"][1]["funcname"] = "ClearInputKeys" -defs["ImGuiIO_ClearInputKeys"][1]["location"] = "imgui:1985" +defs["ImGuiIO_ClearInputKeys"][1]["location"] = "imgui:2071" defs["ImGuiIO_ClearInputKeys"][1]["ov_cimguiname"] = "ImGuiIO_ClearInputKeys" defs["ImGuiIO_ClearInputKeys"][1]["ret"] = "void" defs["ImGuiIO_ClearInputKeys"][1]["signature"] = "()" @@ -4764,11 +4926,63 @@ defs["ImGuiIO_ImGuiIO"][1]["cimguiname"] = "ImGuiIO_ImGuiIO" defs["ImGuiIO_ImGuiIO"][1]["constructor"] = true defs["ImGuiIO_ImGuiIO"][1]["defaults"] = {} defs["ImGuiIO_ImGuiIO"][1]["funcname"] = "ImGuiIO" -defs["ImGuiIO_ImGuiIO"][1]["location"] = "imgui:2038" +defs["ImGuiIO_ImGuiIO"][1]["location"] = "imgui:2146" defs["ImGuiIO_ImGuiIO"][1]["ov_cimguiname"] = "ImGuiIO_ImGuiIO" defs["ImGuiIO_ImGuiIO"][1]["signature"] = "()" defs["ImGuiIO_ImGuiIO"][1]["stname"] = "ImGuiIO" defs["ImGuiIO_ImGuiIO"]["()"] = defs["ImGuiIO_ImGuiIO"][1] +defs["ImGuiIO_SetAppAcceptingEvents"] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["args"] = "(ImGuiIO* self,bool accepting_events)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][1] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][2] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][2]["name"] = "accepting_events" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsoriginal"] = "(bool accepting_events)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["call_args"] = "(accepting_events)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["cimguiname"] = "ImGuiIO_SetAppAcceptingEvents" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["defaults"] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["funcname"] = "SetAppAcceptingEvents" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["location"] = "imgui:2069" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["ov_cimguiname"] = "ImGuiIO_SetAppAcceptingEvents" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["ret"] = "void" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["signature"] = "(bool)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_SetAppAcceptingEvents"]["(bool)"] = defs["ImGuiIO_SetAppAcceptingEvents"][1] +defs["ImGuiIO_SetKeyEventNativeData"] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["args"] = "(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][1] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][2] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][2]["name"] = "key" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][3] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][3]["name"] = "native_keycode" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][3]["type"] = "int" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][4] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][4]["name"] = "native_scancode" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][4]["type"] = "int" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][5] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][5]["name"] = "native_legacy_index" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][5]["type"] = "int" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsoriginal"] = "(ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index=-1)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["call_args"] = "(key,native_keycode,native_scancode,native_legacy_index)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["cimguiname"] = "ImGuiIO_SetKeyEventNativeData" +defs["ImGuiIO_SetKeyEventNativeData"][1]["defaults"] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["defaults"]["native_legacy_index"] = "-1" +defs["ImGuiIO_SetKeyEventNativeData"][1]["funcname"] = "SetKeyEventNativeData" +defs["ImGuiIO_SetKeyEventNativeData"][1]["location"] = "imgui:2068" +defs["ImGuiIO_SetKeyEventNativeData"][1]["ov_cimguiname"] = "ImGuiIO_SetKeyEventNativeData" +defs["ImGuiIO_SetKeyEventNativeData"][1]["ret"] = "void" +defs["ImGuiIO_SetKeyEventNativeData"][1]["signature"] = "(ImGuiKey,int,int,int)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_SetKeyEventNativeData"]["(ImGuiKey,int,int,int)"] = defs["ImGuiIO_SetKeyEventNativeData"][1] defs["ImGuiIO_destroy"] = {} defs["ImGuiIO_destroy"][1] = {} defs["ImGuiIO_destroy"][1]["args"] = "(ImGuiIO* self)" @@ -4785,6 +4999,37 @@ defs["ImGuiIO_destroy"][1]["ret"] = "void" defs["ImGuiIO_destroy"][1]["signature"] = "(ImGuiIO*)" defs["ImGuiIO_destroy"][1]["stname"] = "ImGuiIO" defs["ImGuiIO_destroy"]["(ImGuiIO*)"] = defs["ImGuiIO_destroy"][1] +defs["ImGuiInputEvent_ImGuiInputEvent"] = {} +defs["ImGuiInputEvent_ImGuiInputEvent"][1] = {} +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["args"] = "()" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["argsT"] = {} +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["argsoriginal"] = "()" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["call_args"] = "()" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["cimguiname"] = "ImGuiInputEvent_ImGuiInputEvent" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["constructor"] = true +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["defaults"] = {} +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["funcname"] = "ImGuiInputEvent" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["location"] = "imgui_internal:1302" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["ov_cimguiname"] = "ImGuiInputEvent_ImGuiInputEvent" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["signature"] = "()" +defs["ImGuiInputEvent_ImGuiInputEvent"][1]["stname"] = "ImGuiInputEvent" +defs["ImGuiInputEvent_ImGuiInputEvent"]["()"] = defs["ImGuiInputEvent_ImGuiInputEvent"][1] +defs["ImGuiInputEvent_destroy"] = {} +defs["ImGuiInputEvent_destroy"][1] = {} +defs["ImGuiInputEvent_destroy"][1]["args"] = "(ImGuiInputEvent* self)" +defs["ImGuiInputEvent_destroy"][1]["argsT"] = {} +defs["ImGuiInputEvent_destroy"][1]["argsT"][1] = {} +defs["ImGuiInputEvent_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiInputEvent_destroy"][1]["argsT"][1]["type"] = "ImGuiInputEvent*" +defs["ImGuiInputEvent_destroy"][1]["call_args"] = "(self)" +defs["ImGuiInputEvent_destroy"][1]["cimguiname"] = "ImGuiInputEvent_destroy" +defs["ImGuiInputEvent_destroy"][1]["defaults"] = {} +defs["ImGuiInputEvent_destroy"][1]["destructor"] = true +defs["ImGuiInputEvent_destroy"][1]["ov_cimguiname"] = "ImGuiInputEvent_destroy" +defs["ImGuiInputEvent_destroy"][1]["ret"] = "void" +defs["ImGuiInputEvent_destroy"][1]["signature"] = "(ImGuiInputEvent*)" +defs["ImGuiInputEvent_destroy"][1]["stname"] = "ImGuiInputEvent" +defs["ImGuiInputEvent_destroy"]["(ImGuiInputEvent*)"] = defs["ImGuiInputEvent_destroy"][1] defs["ImGuiInputTextCallbackData_ClearSelection"] = {} defs["ImGuiInputTextCallbackData_ClearSelection"][1] = {} defs["ImGuiInputTextCallbackData_ClearSelection"][1]["args"] = "(ImGuiInputTextCallbackData* self)" @@ -4797,7 +5042,7 @@ defs["ImGuiInputTextCallbackData_ClearSelection"][1]["call_args"] = "()" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["cimguiname"] = "ImGuiInputTextCallbackData_ClearSelection" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_ClearSelection"][1]["funcname"] = "ClearSelection" -defs["ImGuiInputTextCallbackData_ClearSelection"][1]["location"] = "imgui:2079" +defs["ImGuiInputTextCallbackData_ClearSelection"][1]["location"] = "imgui:2187" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_ClearSelection" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["signature"] = "()" @@ -4821,7 +5066,7 @@ defs["ImGuiInputTextCallbackData_DeleteChars"][1]["call_args"] = "(pos,bytes_cou defs["ImGuiInputTextCallbackData_DeleteChars"][1]["cimguiname"] = "ImGuiInputTextCallbackData_DeleteChars" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_DeleteChars"][1]["funcname"] = "DeleteChars" -defs["ImGuiInputTextCallbackData_DeleteChars"][1]["location"] = "imgui:2076" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["location"] = "imgui:2184" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_DeleteChars" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["signature"] = "(int,int)" @@ -4839,7 +5084,7 @@ defs["ImGuiInputTextCallbackData_HasSelection"][1]["call_args"] = "()" defs["ImGuiInputTextCallbackData_HasSelection"][1]["cimguiname"] = "ImGuiInputTextCallbackData_HasSelection" defs["ImGuiInputTextCallbackData_HasSelection"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_HasSelection"][1]["funcname"] = "HasSelection" -defs["ImGuiInputTextCallbackData_HasSelection"][1]["location"] = "imgui:2080" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["location"] = "imgui:2188" defs["ImGuiInputTextCallbackData_HasSelection"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_HasSelection" defs["ImGuiInputTextCallbackData_HasSelection"][1]["ret"] = "bool" defs["ImGuiInputTextCallbackData_HasSelection"][1]["signature"] = "()const" @@ -4855,7 +5100,7 @@ defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["cimguiname"] = defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["constructor"] = true defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["funcname"] = "ImGuiInputTextCallbackData" -defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["location"] = "imgui:2075" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["location"] = "imgui:2183" defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData" defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["signature"] = "()" defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["stname"] = "ImGuiInputTextCallbackData" @@ -4882,7 +5127,7 @@ defs["ImGuiInputTextCallbackData_InsertChars"][1]["cimguiname"] = "ImGuiInputTex defs["ImGuiInputTextCallbackData_InsertChars"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_InsertChars"][1]["defaults"]["text_end"] = "NULL" defs["ImGuiInputTextCallbackData_InsertChars"][1]["funcname"] = "InsertChars" -defs["ImGuiInputTextCallbackData_InsertChars"][1]["location"] = "imgui:2077" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["location"] = "imgui:2185" defs["ImGuiInputTextCallbackData_InsertChars"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_InsertChars" defs["ImGuiInputTextCallbackData_InsertChars"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_InsertChars"][1]["signature"] = "(int,const char*,const char*)" @@ -4900,7 +5145,7 @@ defs["ImGuiInputTextCallbackData_SelectAll"][1]["call_args"] = "()" defs["ImGuiInputTextCallbackData_SelectAll"][1]["cimguiname"] = "ImGuiInputTextCallbackData_SelectAll" defs["ImGuiInputTextCallbackData_SelectAll"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_SelectAll"][1]["funcname"] = "SelectAll" -defs["ImGuiInputTextCallbackData_SelectAll"][1]["location"] = "imgui:2078" +defs["ImGuiInputTextCallbackData_SelectAll"][1]["location"] = "imgui:2186" defs["ImGuiInputTextCallbackData_SelectAll"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_SelectAll" defs["ImGuiInputTextCallbackData_SelectAll"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_SelectAll"][1]["signature"] = "()" @@ -4934,7 +5179,7 @@ defs["ImGuiInputTextState_ClearFreeMemory"][1]["call_args"] = "()" defs["ImGuiInputTextState_ClearFreeMemory"][1]["cimguiname"] = "ImGuiInputTextState_ClearFreeMemory" defs["ImGuiInputTextState_ClearFreeMemory"][1]["defaults"] = {} defs["ImGuiInputTextState_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" -defs["ImGuiInputTextState_ClearFreeMemory"][1]["location"] = "imgui_internal:1048" +defs["ImGuiInputTextState_ClearFreeMemory"][1]["location"] = "imgui_internal:1076" defs["ImGuiInputTextState_ClearFreeMemory"][1]["ov_cimguiname"] = "ImGuiInputTextState_ClearFreeMemory" defs["ImGuiInputTextState_ClearFreeMemory"][1]["ret"] = "void" defs["ImGuiInputTextState_ClearFreeMemory"][1]["signature"] = "()" @@ -4952,7 +5197,7 @@ defs["ImGuiInputTextState_ClearSelection"][1]["call_args"] = "()" defs["ImGuiInputTextState_ClearSelection"][1]["cimguiname"] = "ImGuiInputTextState_ClearSelection" defs["ImGuiInputTextState_ClearSelection"][1]["defaults"] = {} defs["ImGuiInputTextState_ClearSelection"][1]["funcname"] = "ClearSelection" -defs["ImGuiInputTextState_ClearSelection"][1]["location"] = "imgui_internal:1057" +defs["ImGuiInputTextState_ClearSelection"][1]["location"] = "imgui_internal:1085" defs["ImGuiInputTextState_ClearSelection"][1]["ov_cimguiname"] = "ImGuiInputTextState_ClearSelection" defs["ImGuiInputTextState_ClearSelection"][1]["ret"] = "void" defs["ImGuiInputTextState_ClearSelection"][1]["signature"] = "()" @@ -4970,7 +5215,7 @@ defs["ImGuiInputTextState_ClearText"][1]["call_args"] = "()" defs["ImGuiInputTextState_ClearText"][1]["cimguiname"] = "ImGuiInputTextState_ClearText" defs["ImGuiInputTextState_ClearText"][1]["defaults"] = {} defs["ImGuiInputTextState_ClearText"][1]["funcname"] = "ClearText" -defs["ImGuiInputTextState_ClearText"][1]["location"] = "imgui_internal:1047" +defs["ImGuiInputTextState_ClearText"][1]["location"] = "imgui_internal:1075" defs["ImGuiInputTextState_ClearText"][1]["ov_cimguiname"] = "ImGuiInputTextState_ClearText" defs["ImGuiInputTextState_ClearText"][1]["ret"] = "void" defs["ImGuiInputTextState_ClearText"][1]["signature"] = "()" @@ -4988,7 +5233,7 @@ defs["ImGuiInputTextState_CursorAnimReset"][1]["call_args"] = "()" defs["ImGuiInputTextState_CursorAnimReset"][1]["cimguiname"] = "ImGuiInputTextState_CursorAnimReset" defs["ImGuiInputTextState_CursorAnimReset"][1]["defaults"] = {} defs["ImGuiInputTextState_CursorAnimReset"][1]["funcname"] = "CursorAnimReset" -defs["ImGuiInputTextState_CursorAnimReset"][1]["location"] = "imgui_internal:1054" +defs["ImGuiInputTextState_CursorAnimReset"][1]["location"] = "imgui_internal:1082" defs["ImGuiInputTextState_CursorAnimReset"][1]["ov_cimguiname"] = "ImGuiInputTextState_CursorAnimReset" defs["ImGuiInputTextState_CursorAnimReset"][1]["ret"] = "void" defs["ImGuiInputTextState_CursorAnimReset"][1]["signature"] = "()" @@ -5006,7 +5251,7 @@ defs["ImGuiInputTextState_CursorClamp"][1]["call_args"] = "()" defs["ImGuiInputTextState_CursorClamp"][1]["cimguiname"] = "ImGuiInputTextState_CursorClamp" defs["ImGuiInputTextState_CursorClamp"][1]["defaults"] = {} defs["ImGuiInputTextState_CursorClamp"][1]["funcname"] = "CursorClamp" -defs["ImGuiInputTextState_CursorClamp"][1]["location"] = "imgui_internal:1055" +defs["ImGuiInputTextState_CursorClamp"][1]["location"] = "imgui_internal:1083" defs["ImGuiInputTextState_CursorClamp"][1]["ov_cimguiname"] = "ImGuiInputTextState_CursorClamp" defs["ImGuiInputTextState_CursorClamp"][1]["ret"] = "void" defs["ImGuiInputTextState_CursorClamp"][1]["signature"] = "()" @@ -5024,7 +5269,7 @@ defs["ImGuiInputTextState_GetCursorPos"][1]["call_args"] = "()" defs["ImGuiInputTextState_GetCursorPos"][1]["cimguiname"] = "ImGuiInputTextState_GetCursorPos" defs["ImGuiInputTextState_GetCursorPos"][1]["defaults"] = {} defs["ImGuiInputTextState_GetCursorPos"][1]["funcname"] = "GetCursorPos" -defs["ImGuiInputTextState_GetCursorPos"][1]["location"] = "imgui_internal:1058" +defs["ImGuiInputTextState_GetCursorPos"][1]["location"] = "imgui_internal:1086" defs["ImGuiInputTextState_GetCursorPos"][1]["ov_cimguiname"] = "ImGuiInputTextState_GetCursorPos" defs["ImGuiInputTextState_GetCursorPos"][1]["ret"] = "int" defs["ImGuiInputTextState_GetCursorPos"][1]["signature"] = "()const" @@ -5042,7 +5287,7 @@ defs["ImGuiInputTextState_GetRedoAvailCount"][1]["call_args"] = "()" defs["ImGuiInputTextState_GetRedoAvailCount"][1]["cimguiname"] = "ImGuiInputTextState_GetRedoAvailCount" defs["ImGuiInputTextState_GetRedoAvailCount"][1]["defaults"] = {} defs["ImGuiInputTextState_GetRedoAvailCount"][1]["funcname"] = "GetRedoAvailCount" -defs["ImGuiInputTextState_GetRedoAvailCount"][1]["location"] = "imgui_internal:1050" +defs["ImGuiInputTextState_GetRedoAvailCount"][1]["location"] = "imgui_internal:1078" defs["ImGuiInputTextState_GetRedoAvailCount"][1]["ov_cimguiname"] = "ImGuiInputTextState_GetRedoAvailCount" defs["ImGuiInputTextState_GetRedoAvailCount"][1]["ret"] = "int" defs["ImGuiInputTextState_GetRedoAvailCount"][1]["signature"] = "()const" @@ -5060,7 +5305,7 @@ defs["ImGuiInputTextState_GetSelectionEnd"][1]["call_args"] = "()" defs["ImGuiInputTextState_GetSelectionEnd"][1]["cimguiname"] = "ImGuiInputTextState_GetSelectionEnd" defs["ImGuiInputTextState_GetSelectionEnd"][1]["defaults"] = {} defs["ImGuiInputTextState_GetSelectionEnd"][1]["funcname"] = "GetSelectionEnd" -defs["ImGuiInputTextState_GetSelectionEnd"][1]["location"] = "imgui_internal:1060" +defs["ImGuiInputTextState_GetSelectionEnd"][1]["location"] = "imgui_internal:1088" defs["ImGuiInputTextState_GetSelectionEnd"][1]["ov_cimguiname"] = "ImGuiInputTextState_GetSelectionEnd" defs["ImGuiInputTextState_GetSelectionEnd"][1]["ret"] = "int" defs["ImGuiInputTextState_GetSelectionEnd"][1]["signature"] = "()const" @@ -5078,7 +5323,7 @@ defs["ImGuiInputTextState_GetSelectionStart"][1]["call_args"] = "()" defs["ImGuiInputTextState_GetSelectionStart"][1]["cimguiname"] = "ImGuiInputTextState_GetSelectionStart" defs["ImGuiInputTextState_GetSelectionStart"][1]["defaults"] = {} defs["ImGuiInputTextState_GetSelectionStart"][1]["funcname"] = "GetSelectionStart" -defs["ImGuiInputTextState_GetSelectionStart"][1]["location"] = "imgui_internal:1059" +defs["ImGuiInputTextState_GetSelectionStart"][1]["location"] = "imgui_internal:1087" defs["ImGuiInputTextState_GetSelectionStart"][1]["ov_cimguiname"] = "ImGuiInputTextState_GetSelectionStart" defs["ImGuiInputTextState_GetSelectionStart"][1]["ret"] = "int" defs["ImGuiInputTextState_GetSelectionStart"][1]["signature"] = "()const" @@ -5096,7 +5341,7 @@ defs["ImGuiInputTextState_GetUndoAvailCount"][1]["call_args"] = "()" defs["ImGuiInputTextState_GetUndoAvailCount"][1]["cimguiname"] = "ImGuiInputTextState_GetUndoAvailCount" defs["ImGuiInputTextState_GetUndoAvailCount"][1]["defaults"] = {} defs["ImGuiInputTextState_GetUndoAvailCount"][1]["funcname"] = "GetUndoAvailCount" -defs["ImGuiInputTextState_GetUndoAvailCount"][1]["location"] = "imgui_internal:1049" +defs["ImGuiInputTextState_GetUndoAvailCount"][1]["location"] = "imgui_internal:1077" defs["ImGuiInputTextState_GetUndoAvailCount"][1]["ov_cimguiname"] = "ImGuiInputTextState_GetUndoAvailCount" defs["ImGuiInputTextState_GetUndoAvailCount"][1]["ret"] = "int" defs["ImGuiInputTextState_GetUndoAvailCount"][1]["signature"] = "()const" @@ -5114,7 +5359,7 @@ defs["ImGuiInputTextState_HasSelection"][1]["call_args"] = "()" defs["ImGuiInputTextState_HasSelection"][1]["cimguiname"] = "ImGuiInputTextState_HasSelection" defs["ImGuiInputTextState_HasSelection"][1]["defaults"] = {} defs["ImGuiInputTextState_HasSelection"][1]["funcname"] = "HasSelection" -defs["ImGuiInputTextState_HasSelection"][1]["location"] = "imgui_internal:1056" +defs["ImGuiInputTextState_HasSelection"][1]["location"] = "imgui_internal:1084" defs["ImGuiInputTextState_HasSelection"][1]["ov_cimguiname"] = "ImGuiInputTextState_HasSelection" defs["ImGuiInputTextState_HasSelection"][1]["ret"] = "bool" defs["ImGuiInputTextState_HasSelection"][1]["signature"] = "()const" @@ -5130,7 +5375,7 @@ defs["ImGuiInputTextState_ImGuiInputTextState"][1]["cimguiname"] = "ImGuiInputTe defs["ImGuiInputTextState_ImGuiInputTextState"][1]["constructor"] = true defs["ImGuiInputTextState_ImGuiInputTextState"][1]["defaults"] = {} defs["ImGuiInputTextState_ImGuiInputTextState"][1]["funcname"] = "ImGuiInputTextState" -defs["ImGuiInputTextState_ImGuiInputTextState"][1]["location"] = "imgui_internal:1046" +defs["ImGuiInputTextState_ImGuiInputTextState"][1]["location"] = "imgui_internal:1074" defs["ImGuiInputTextState_ImGuiInputTextState"][1]["ov_cimguiname"] = "ImGuiInputTextState_ImGuiInputTextState" defs["ImGuiInputTextState_ImGuiInputTextState"][1]["signature"] = "()" defs["ImGuiInputTextState_ImGuiInputTextState"][1]["stname"] = "ImGuiInputTextState" @@ -5150,7 +5395,7 @@ defs["ImGuiInputTextState_OnKeyPressed"][1]["call_args"] = "(key)" defs["ImGuiInputTextState_OnKeyPressed"][1]["cimguiname"] = "ImGuiInputTextState_OnKeyPressed" defs["ImGuiInputTextState_OnKeyPressed"][1]["defaults"] = {} defs["ImGuiInputTextState_OnKeyPressed"][1]["funcname"] = "OnKeyPressed" -defs["ImGuiInputTextState_OnKeyPressed"][1]["location"] = "imgui_internal:1051" +defs["ImGuiInputTextState_OnKeyPressed"][1]["location"] = "imgui_internal:1079" defs["ImGuiInputTextState_OnKeyPressed"][1]["ov_cimguiname"] = "ImGuiInputTextState_OnKeyPressed" defs["ImGuiInputTextState_OnKeyPressed"][1]["ret"] = "void" defs["ImGuiInputTextState_OnKeyPressed"][1]["signature"] = "(int)" @@ -5168,7 +5413,7 @@ defs["ImGuiInputTextState_SelectAll"][1]["call_args"] = "()" defs["ImGuiInputTextState_SelectAll"][1]["cimguiname"] = "ImGuiInputTextState_SelectAll" defs["ImGuiInputTextState_SelectAll"][1]["defaults"] = {} defs["ImGuiInputTextState_SelectAll"][1]["funcname"] = "SelectAll" -defs["ImGuiInputTextState_SelectAll"][1]["location"] = "imgui_internal:1061" +defs["ImGuiInputTextState_SelectAll"][1]["location"] = "imgui_internal:1089" defs["ImGuiInputTextState_SelectAll"][1]["ov_cimguiname"] = "ImGuiInputTextState_SelectAll" defs["ImGuiInputTextState_SelectAll"][1]["ret"] = "void" defs["ImGuiInputTextState_SelectAll"][1]["signature"] = "()" @@ -5190,6 +5435,117 @@ defs["ImGuiInputTextState_destroy"][1]["ret"] = "void" defs["ImGuiInputTextState_destroy"][1]["signature"] = "(ImGuiInputTextState*)" defs["ImGuiInputTextState_destroy"][1]["stname"] = "ImGuiInputTextState" defs["ImGuiInputTextState_destroy"]["(ImGuiInputTextState*)"] = defs["ImGuiInputTextState_destroy"][1] +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"] = {} +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1] = {} +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["args"] = "()" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["argsT"] = {} +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["argsoriginal"] = "()" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["call_args"] = "()" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["cimguiname"] = "ImGuiKeyOwnerData_ImGuiKeyOwnerData" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["constructor"] = true +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["defaults"] = {} +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["funcname"] = "ImGuiKeyOwnerData" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["location"] = "imgui_internal:1344" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["ov_cimguiname"] = "ImGuiKeyOwnerData_ImGuiKeyOwnerData" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["signature"] = "()" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1]["stname"] = "ImGuiKeyOwnerData" +defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"]["()"] = defs["ImGuiKeyOwnerData_ImGuiKeyOwnerData"][1] +defs["ImGuiKeyOwnerData_destroy"] = {} +defs["ImGuiKeyOwnerData_destroy"][1] = {} +defs["ImGuiKeyOwnerData_destroy"][1]["args"] = "(ImGuiKeyOwnerData* self)" +defs["ImGuiKeyOwnerData_destroy"][1]["argsT"] = {} +defs["ImGuiKeyOwnerData_destroy"][1]["argsT"][1] = {} +defs["ImGuiKeyOwnerData_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiKeyOwnerData_destroy"][1]["argsT"][1]["type"] = "ImGuiKeyOwnerData*" +defs["ImGuiKeyOwnerData_destroy"][1]["call_args"] = "(self)" +defs["ImGuiKeyOwnerData_destroy"][1]["cimguiname"] = "ImGuiKeyOwnerData_destroy" +defs["ImGuiKeyOwnerData_destroy"][1]["defaults"] = {} +defs["ImGuiKeyOwnerData_destroy"][1]["destructor"] = true +defs["ImGuiKeyOwnerData_destroy"][1]["ov_cimguiname"] = "ImGuiKeyOwnerData_destroy" +defs["ImGuiKeyOwnerData_destroy"][1]["ret"] = "void" +defs["ImGuiKeyOwnerData_destroy"][1]["signature"] = "(ImGuiKeyOwnerData*)" +defs["ImGuiKeyOwnerData_destroy"][1]["stname"] = "ImGuiKeyOwnerData" +defs["ImGuiKeyOwnerData_destroy"]["(ImGuiKeyOwnerData*)"] = defs["ImGuiKeyOwnerData_destroy"][1] +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"] = {} +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1] = {} +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["args"] = "()" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["argsT"] = {} +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["argsoriginal"] = "()" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["call_args"] = "()" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["cimguiname"] = "ImGuiKeyRoutingData_ImGuiKeyRoutingData" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["constructor"] = true +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["defaults"] = {} +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["funcname"] = "ImGuiKeyRoutingData" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["location"] = "imgui_internal:1320" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["ov_cimguiname"] = "ImGuiKeyRoutingData_ImGuiKeyRoutingData" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["signature"] = "()" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1]["stname"] = "ImGuiKeyRoutingData" +defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"]["()"] = defs["ImGuiKeyRoutingData_ImGuiKeyRoutingData"][1] +defs["ImGuiKeyRoutingData_destroy"] = {} +defs["ImGuiKeyRoutingData_destroy"][1] = {} +defs["ImGuiKeyRoutingData_destroy"][1]["args"] = "(ImGuiKeyRoutingData* self)" +defs["ImGuiKeyRoutingData_destroy"][1]["argsT"] = {} +defs["ImGuiKeyRoutingData_destroy"][1]["argsT"][1] = {} +defs["ImGuiKeyRoutingData_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiKeyRoutingData_destroy"][1]["argsT"][1]["type"] = "ImGuiKeyRoutingData*" +defs["ImGuiKeyRoutingData_destroy"][1]["call_args"] = "(self)" +defs["ImGuiKeyRoutingData_destroy"][1]["cimguiname"] = "ImGuiKeyRoutingData_destroy" +defs["ImGuiKeyRoutingData_destroy"][1]["defaults"] = {} +defs["ImGuiKeyRoutingData_destroy"][1]["destructor"] = true +defs["ImGuiKeyRoutingData_destroy"][1]["ov_cimguiname"] = "ImGuiKeyRoutingData_destroy" +defs["ImGuiKeyRoutingData_destroy"][1]["ret"] = "void" +defs["ImGuiKeyRoutingData_destroy"][1]["signature"] = "(ImGuiKeyRoutingData*)" +defs["ImGuiKeyRoutingData_destroy"][1]["stname"] = "ImGuiKeyRoutingData" +defs["ImGuiKeyRoutingData_destroy"]["(ImGuiKeyRoutingData*)"] = defs["ImGuiKeyRoutingData_destroy"][1] +defs["ImGuiKeyRoutingTable_Clear"] = {} +defs["ImGuiKeyRoutingTable_Clear"][1] = {} +defs["ImGuiKeyRoutingTable_Clear"][1]["args"] = "(ImGuiKeyRoutingTable* self)" +defs["ImGuiKeyRoutingTable_Clear"][1]["argsT"] = {} +defs["ImGuiKeyRoutingTable_Clear"][1]["argsT"][1] = {} +defs["ImGuiKeyRoutingTable_Clear"][1]["argsT"][1]["name"] = "self" +defs["ImGuiKeyRoutingTable_Clear"][1]["argsT"][1]["type"] = "ImGuiKeyRoutingTable*" +defs["ImGuiKeyRoutingTable_Clear"][1]["argsoriginal"] = "()" +defs["ImGuiKeyRoutingTable_Clear"][1]["call_args"] = "()" +defs["ImGuiKeyRoutingTable_Clear"][1]["cimguiname"] = "ImGuiKeyRoutingTable_Clear" +defs["ImGuiKeyRoutingTable_Clear"][1]["defaults"] = {} +defs["ImGuiKeyRoutingTable_Clear"][1]["funcname"] = "Clear" +defs["ImGuiKeyRoutingTable_Clear"][1]["location"] = "imgui_internal:1332" +defs["ImGuiKeyRoutingTable_Clear"][1]["ov_cimguiname"] = "ImGuiKeyRoutingTable_Clear" +defs["ImGuiKeyRoutingTable_Clear"][1]["ret"] = "void" +defs["ImGuiKeyRoutingTable_Clear"][1]["signature"] = "()" +defs["ImGuiKeyRoutingTable_Clear"][1]["stname"] = "ImGuiKeyRoutingTable" +defs["ImGuiKeyRoutingTable_Clear"]["()"] = defs["ImGuiKeyRoutingTable_Clear"][1] +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"] = {} +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1] = {} +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["args"] = "()" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["argsT"] = {} +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["argsoriginal"] = "()" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["call_args"] = "()" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["cimguiname"] = "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["constructor"] = true +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["defaults"] = {} +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["funcname"] = "ImGuiKeyRoutingTable" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["location"] = "imgui_internal:1331" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["ov_cimguiname"] = "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["signature"] = "()" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1]["stname"] = "ImGuiKeyRoutingTable" +defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"]["()"] = defs["ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"][1] +defs["ImGuiKeyRoutingTable_destroy"] = {} +defs["ImGuiKeyRoutingTable_destroy"][1] = {} +defs["ImGuiKeyRoutingTable_destroy"][1]["args"] = "(ImGuiKeyRoutingTable* self)" +defs["ImGuiKeyRoutingTable_destroy"][1]["argsT"] = {} +defs["ImGuiKeyRoutingTable_destroy"][1]["argsT"][1] = {} +defs["ImGuiKeyRoutingTable_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiKeyRoutingTable_destroy"][1]["argsT"][1]["type"] = "ImGuiKeyRoutingTable*" +defs["ImGuiKeyRoutingTable_destroy"][1]["call_args"] = "(self)" +defs["ImGuiKeyRoutingTable_destroy"][1]["cimguiname"] = "ImGuiKeyRoutingTable_destroy" +defs["ImGuiKeyRoutingTable_destroy"][1]["defaults"] = {} +defs["ImGuiKeyRoutingTable_destroy"][1]["destructor"] = true +defs["ImGuiKeyRoutingTable_destroy"][1]["ov_cimguiname"] = "ImGuiKeyRoutingTable_destroy" +defs["ImGuiKeyRoutingTable_destroy"][1]["ret"] = "void" +defs["ImGuiKeyRoutingTable_destroy"][1]["signature"] = "(ImGuiKeyRoutingTable*)" +defs["ImGuiKeyRoutingTable_destroy"][1]["stname"] = "ImGuiKeyRoutingTable" +defs["ImGuiKeyRoutingTable_destroy"]["(ImGuiKeyRoutingTable*)"] = defs["ImGuiKeyRoutingTable_destroy"][1] defs["ImGuiLastItemData_ImGuiLastItemData"] = {} defs["ImGuiLastItemData_ImGuiLastItemData"][1] = {} defs["ImGuiLastItemData_ImGuiLastItemData"][1]["args"] = "()" @@ -5200,7 +5556,7 @@ defs["ImGuiLastItemData_ImGuiLastItemData"][1]["cimguiname"] = "ImGuiLastItemDat defs["ImGuiLastItemData_ImGuiLastItemData"][1]["constructor"] = true defs["ImGuiLastItemData_ImGuiLastItemData"][1]["defaults"] = {} defs["ImGuiLastItemData_ImGuiLastItemData"][1]["funcname"] = "ImGuiLastItemData" -defs["ImGuiLastItemData_ImGuiLastItemData"][1]["location"] = "imgui_internal:1151" +defs["ImGuiLastItemData_ImGuiLastItemData"][1]["location"] = "imgui_internal:1180" defs["ImGuiLastItemData_ImGuiLastItemData"][1]["ov_cimguiname"] = "ImGuiLastItemData_ImGuiLastItemData" defs["ImGuiLastItemData_ImGuiLastItemData"][1]["signature"] = "()" defs["ImGuiLastItemData_ImGuiLastItemData"][1]["stname"] = "ImGuiLastItemData" @@ -5231,7 +5587,7 @@ defs["ImGuiListClipperData_ImGuiListClipperData"][1]["cimguiname"] = "ImGuiListC defs["ImGuiListClipperData_ImGuiListClipperData"][1]["constructor"] = true defs["ImGuiListClipperData_ImGuiListClipperData"][1]["defaults"] = {} defs["ImGuiListClipperData_ImGuiListClipperData"][1]["funcname"] = "ImGuiListClipperData" -defs["ImGuiListClipperData_ImGuiListClipperData"][1]["location"] = "imgui_internal:1219" +defs["ImGuiListClipperData_ImGuiListClipperData"][1]["location"] = "imgui_internal:1420" defs["ImGuiListClipperData_ImGuiListClipperData"][1]["ov_cimguiname"] = "ImGuiListClipperData_ImGuiListClipperData" defs["ImGuiListClipperData_ImGuiListClipperData"][1]["signature"] = "()" defs["ImGuiListClipperData_ImGuiListClipperData"][1]["stname"] = "ImGuiListClipperData" @@ -5251,7 +5607,7 @@ defs["ImGuiListClipperData_Reset"][1]["call_args"] = "(clipper)" defs["ImGuiListClipperData_Reset"][1]["cimguiname"] = "ImGuiListClipperData_Reset" defs["ImGuiListClipperData_Reset"][1]["defaults"] = {} defs["ImGuiListClipperData_Reset"][1]["funcname"] = "Reset" -defs["ImGuiListClipperData_Reset"][1]["location"] = "imgui_internal:1220" +defs["ImGuiListClipperData_Reset"][1]["location"] = "imgui_internal:1421" defs["ImGuiListClipperData_Reset"][1]["ov_cimguiname"] = "ImGuiListClipperData_Reset" defs["ImGuiListClipperData_Reset"][1]["ret"] = "void" defs["ImGuiListClipperData_Reset"][1]["signature"] = "(ImGuiListClipper*)" @@ -5289,7 +5645,7 @@ defs["ImGuiListClipperRange_FromIndices"][1]["cimguiname"] = "ImGuiListClipperRa defs["ImGuiListClipperRange_FromIndices"][1]["defaults"] = {} defs["ImGuiListClipperRange_FromIndices"][1]["funcname"] = "FromIndices" defs["ImGuiListClipperRange_FromIndices"][1]["is_static_function"] = true -defs["ImGuiListClipperRange_FromIndices"][1]["location"] = "imgui_internal:1206" +defs["ImGuiListClipperRange_FromIndices"][1]["location"] = "imgui_internal:1407" defs["ImGuiListClipperRange_FromIndices"][1]["ov_cimguiname"] = "ImGuiListClipperRange_FromIndices" defs["ImGuiListClipperRange_FromIndices"][1]["ret"] = "ImGuiListClipperRange" defs["ImGuiListClipperRange_FromIndices"][1]["signature"] = "(int,int)" @@ -5317,7 +5673,7 @@ defs["ImGuiListClipperRange_FromPositions"][1]["cimguiname"] = "ImGuiListClipper defs["ImGuiListClipperRange_FromPositions"][1]["defaults"] = {} defs["ImGuiListClipperRange_FromPositions"][1]["funcname"] = "FromPositions" defs["ImGuiListClipperRange_FromPositions"][1]["is_static_function"] = true -defs["ImGuiListClipperRange_FromPositions"][1]["location"] = "imgui_internal:1207" +defs["ImGuiListClipperRange_FromPositions"][1]["location"] = "imgui_internal:1408" defs["ImGuiListClipperRange_FromPositions"][1]["ov_cimguiname"] = "ImGuiListClipperRange_FromPositions" defs["ImGuiListClipperRange_FromPositions"][1]["ret"] = "ImGuiListClipperRange" defs["ImGuiListClipperRange_FromPositions"][1]["signature"] = "(float,float,int,int)" @@ -5342,7 +5698,7 @@ defs["ImGuiListClipper_Begin"][1]["cimguiname"] = "ImGuiListClipper_Begin" defs["ImGuiListClipper_Begin"][1]["defaults"] = {} defs["ImGuiListClipper_Begin"][1]["defaults"]["items_height"] = "-1.0f" defs["ImGuiListClipper_Begin"][1]["funcname"] = "Begin" -defs["ImGuiListClipper_Begin"][1]["location"] = "imgui:2312" +defs["ImGuiListClipper_Begin"][1]["location"] = "imgui:2420" defs["ImGuiListClipper_Begin"][1]["ov_cimguiname"] = "ImGuiListClipper_Begin" defs["ImGuiListClipper_Begin"][1]["ret"] = "void" defs["ImGuiListClipper_Begin"][1]["signature"] = "(int,float)" @@ -5360,7 +5716,7 @@ defs["ImGuiListClipper_End"][1]["call_args"] = "()" defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" defs["ImGuiListClipper_End"][1]["defaults"] = {} defs["ImGuiListClipper_End"][1]["funcname"] = "End" -defs["ImGuiListClipper_End"][1]["location"] = "imgui:2313" +defs["ImGuiListClipper_End"][1]["location"] = "imgui:2421" defs["ImGuiListClipper_End"][1]["ov_cimguiname"] = "ImGuiListClipper_End" defs["ImGuiListClipper_End"][1]["ret"] = "void" defs["ImGuiListClipper_End"][1]["signature"] = "()" @@ -5384,7 +5740,7 @@ defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["call_args"] = "(item_min defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["cimguiname"] = "ImGuiListClipper_ForceDisplayRangeByIndices" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["defaults"] = {} defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["funcname"] = "ForceDisplayRangeByIndices" -defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["location"] = "imgui:2317" +defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["location"] = "imgui:2425" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["ov_cimguiname"] = "ImGuiListClipper_ForceDisplayRangeByIndices" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["ret"] = "void" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["signature"] = "(int,int)" @@ -5400,7 +5756,7 @@ defs["ImGuiListClipper_ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_I defs["ImGuiListClipper_ImGuiListClipper"][1]["constructor"] = true defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} defs["ImGuiListClipper_ImGuiListClipper"][1]["funcname"] = "ImGuiListClipper" -defs["ImGuiListClipper_ImGuiListClipper"][1]["location"] = "imgui:2310" +defs["ImGuiListClipper_ImGuiListClipper"][1]["location"] = "imgui:2418" defs["ImGuiListClipper_ImGuiListClipper"][1]["ov_cimguiname"] = "ImGuiListClipper_ImGuiListClipper" defs["ImGuiListClipper_ImGuiListClipper"][1]["signature"] = "()" defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" @@ -5417,7 +5773,7 @@ defs["ImGuiListClipper_Step"][1]["call_args"] = "()" defs["ImGuiListClipper_Step"][1]["cimguiname"] = "ImGuiListClipper_Step" defs["ImGuiListClipper_Step"][1]["defaults"] = {} defs["ImGuiListClipper_Step"][1]["funcname"] = "Step" -defs["ImGuiListClipper_Step"][1]["location"] = "imgui:2314" +defs["ImGuiListClipper_Step"][1]["location"] = "imgui:2422" defs["ImGuiListClipper_Step"][1]["ov_cimguiname"] = "ImGuiListClipper_Step" defs["ImGuiListClipper_Step"][1]["ret"] = "bool" defs["ImGuiListClipper_Step"][1]["signature"] = "()" @@ -5434,7 +5790,7 @@ defs["ImGuiListClipper_destroy"][1]["call_args"] = "(self)" defs["ImGuiListClipper_destroy"][1]["cimguiname"] = "ImGuiListClipper_destroy" defs["ImGuiListClipper_destroy"][1]["defaults"] = {} defs["ImGuiListClipper_destroy"][1]["destructor"] = true -defs["ImGuiListClipper_destroy"][1]["location"] = "imgui:2311" +defs["ImGuiListClipper_destroy"][1]["location"] = "imgui:2419" defs["ImGuiListClipper_destroy"][1]["ov_cimguiname"] = "ImGuiListClipper_destroy" defs["ImGuiListClipper_destroy"][1]["realdestructor"] = true defs["ImGuiListClipper_destroy"][1]["ret"] = "void" @@ -5456,7 +5812,7 @@ defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["call_args"] = "(update_offsets)" defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["cimguiname"] = "ImGuiMenuColumns_CalcNextTotalWidth" defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["defaults"] = {} defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["funcname"] = "CalcNextTotalWidth" -defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["location"] = "imgui_internal:1024" +defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["location"] = "imgui_internal:1052" defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["ov_cimguiname"] = "ImGuiMenuColumns_CalcNextTotalWidth" defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["ret"] = "void" defs["ImGuiMenuColumns_CalcNextTotalWidth"][1]["signature"] = "(bool)" @@ -5486,7 +5842,7 @@ defs["ImGuiMenuColumns_DeclColumns"][1]["call_args"] = "(w_icon,w_label,w_shortc defs["ImGuiMenuColumns_DeclColumns"][1]["cimguiname"] = "ImGuiMenuColumns_DeclColumns" defs["ImGuiMenuColumns_DeclColumns"][1]["defaults"] = {} defs["ImGuiMenuColumns_DeclColumns"][1]["funcname"] = "DeclColumns" -defs["ImGuiMenuColumns_DeclColumns"][1]["location"] = "imgui_internal:1023" +defs["ImGuiMenuColumns_DeclColumns"][1]["location"] = "imgui_internal:1051" defs["ImGuiMenuColumns_DeclColumns"][1]["ov_cimguiname"] = "ImGuiMenuColumns_DeclColumns" defs["ImGuiMenuColumns_DeclColumns"][1]["ret"] = "float" defs["ImGuiMenuColumns_DeclColumns"][1]["signature"] = "(float,float,float,float)" @@ -5502,7 +5858,7 @@ defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["cimguiname"] = "ImGuiMenuColumns_I defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["constructor"] = true defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["defaults"] = {} defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["funcname"] = "ImGuiMenuColumns" -defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["location"] = "imgui_internal:1021" +defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["location"] = "imgui_internal:1049" defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["ov_cimguiname"] = "ImGuiMenuColumns_ImGuiMenuColumns" defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["signature"] = "()" defs["ImGuiMenuColumns_ImGuiMenuColumns"][1]["stname"] = "ImGuiMenuColumns" @@ -5525,7 +5881,7 @@ defs["ImGuiMenuColumns_Update"][1]["call_args"] = "(spacing,window_reappearing)" defs["ImGuiMenuColumns_Update"][1]["cimguiname"] = "ImGuiMenuColumns_Update" defs["ImGuiMenuColumns_Update"][1]["defaults"] = {} defs["ImGuiMenuColumns_Update"][1]["funcname"] = "Update" -defs["ImGuiMenuColumns_Update"][1]["location"] = "imgui_internal:1022" +defs["ImGuiMenuColumns_Update"][1]["location"] = "imgui_internal:1050" defs["ImGuiMenuColumns_Update"][1]["ov_cimguiname"] = "ImGuiMenuColumns_Update" defs["ImGuiMenuColumns_Update"][1]["ret"] = "void" defs["ImGuiMenuColumns_Update"][1]["signature"] = "(float,bool)" @@ -5557,7 +5913,7 @@ defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["cimguiname"] = "ImGuiMetricsCo defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["constructor"] = true defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["defaults"] = {} defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["funcname"] = "ImGuiMetricsConfig" -defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["location"] = "imgui_internal:1613" +defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["location"] = "imgui_internal:1849" defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["ov_cimguiname"] = "ImGuiMetricsConfig_ImGuiMetricsConfig" defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["signature"] = "()" defs["ImGuiMetricsConfig_ImGuiMetricsConfig"][1]["stname"] = "ImGuiMetricsConfig" @@ -5590,7 +5946,7 @@ defs["ImGuiNavItemData_Clear"][1]["call_args"] = "()" defs["ImGuiNavItemData_Clear"][1]["cimguiname"] = "ImGuiNavItemData_Clear" defs["ImGuiNavItemData_Clear"][1]["defaults"] = {} defs["ImGuiNavItemData_Clear"][1]["funcname"] = "Clear" -defs["ImGuiNavItemData_Clear"][1]["location"] = "imgui_internal:1305" +defs["ImGuiNavItemData_Clear"][1]["location"] = "imgui_internal:1497" defs["ImGuiNavItemData_Clear"][1]["ov_cimguiname"] = "ImGuiNavItemData_Clear" defs["ImGuiNavItemData_Clear"][1]["ret"] = "void" defs["ImGuiNavItemData_Clear"][1]["signature"] = "()" @@ -5606,7 +5962,7 @@ defs["ImGuiNavItemData_ImGuiNavItemData"][1]["cimguiname"] = "ImGuiNavItemData_I defs["ImGuiNavItemData_ImGuiNavItemData"][1]["constructor"] = true defs["ImGuiNavItemData_ImGuiNavItemData"][1]["defaults"] = {} defs["ImGuiNavItemData_ImGuiNavItemData"][1]["funcname"] = "ImGuiNavItemData" -defs["ImGuiNavItemData_ImGuiNavItemData"][1]["location"] = "imgui_internal:1304" +defs["ImGuiNavItemData_ImGuiNavItemData"][1]["location"] = "imgui_internal:1496" defs["ImGuiNavItemData_ImGuiNavItemData"][1]["ov_cimguiname"] = "ImGuiNavItemData_ImGuiNavItemData" defs["ImGuiNavItemData_ImGuiNavItemData"][1]["signature"] = "()" defs["ImGuiNavItemData_ImGuiNavItemData"][1]["stname"] = "ImGuiNavItemData" @@ -5639,7 +5995,7 @@ defs["ImGuiNextItemData_ClearFlags"][1]["call_args"] = "()" defs["ImGuiNextItemData_ClearFlags"][1]["cimguiname"] = "ImGuiNextItemData_ClearFlags" defs["ImGuiNextItemData_ClearFlags"][1]["defaults"] = {} defs["ImGuiNextItemData_ClearFlags"][1]["funcname"] = "ClearFlags" -defs["ImGuiNextItemData_ClearFlags"][1]["location"] = "imgui_internal:1138" +defs["ImGuiNextItemData_ClearFlags"][1]["location"] = "imgui_internal:1167" defs["ImGuiNextItemData_ClearFlags"][1]["ov_cimguiname"] = "ImGuiNextItemData_ClearFlags" defs["ImGuiNextItemData_ClearFlags"][1]["ret"] = "void" defs["ImGuiNextItemData_ClearFlags"][1]["signature"] = "()" @@ -5655,7 +6011,7 @@ defs["ImGuiNextItemData_ImGuiNextItemData"][1]["cimguiname"] = "ImGuiNextItemDat defs["ImGuiNextItemData_ImGuiNextItemData"][1]["constructor"] = true defs["ImGuiNextItemData_ImGuiNextItemData"][1]["defaults"] = {} defs["ImGuiNextItemData_ImGuiNextItemData"][1]["funcname"] = "ImGuiNextItemData" -defs["ImGuiNextItemData_ImGuiNextItemData"][1]["location"] = "imgui_internal:1137" +defs["ImGuiNextItemData_ImGuiNextItemData"][1]["location"] = "imgui_internal:1166" defs["ImGuiNextItemData_ImGuiNextItemData"][1]["ov_cimguiname"] = "ImGuiNextItemData_ImGuiNextItemData" defs["ImGuiNextItemData_ImGuiNextItemData"][1]["signature"] = "()" defs["ImGuiNextItemData_ImGuiNextItemData"][1]["stname"] = "ImGuiNextItemData" @@ -5688,7 +6044,7 @@ defs["ImGuiNextWindowData_ClearFlags"][1]["call_args"] = "()" defs["ImGuiNextWindowData_ClearFlags"][1]["cimguiname"] = "ImGuiNextWindowData_ClearFlags" defs["ImGuiNextWindowData_ClearFlags"][1]["defaults"] = {} defs["ImGuiNextWindowData_ClearFlags"][1]["funcname"] = "ClearFlags" -defs["ImGuiNextWindowData_ClearFlags"][1]["location"] = "imgui_internal:1119" +defs["ImGuiNextWindowData_ClearFlags"][1]["location"] = "imgui_internal:1148" defs["ImGuiNextWindowData_ClearFlags"][1]["ov_cimguiname"] = "ImGuiNextWindowData_ClearFlags" defs["ImGuiNextWindowData_ClearFlags"][1]["ret"] = "void" defs["ImGuiNextWindowData_ClearFlags"][1]["signature"] = "()" @@ -5704,7 +6060,7 @@ defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["cimguiname"] = "ImGuiNextWin defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["constructor"] = true defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["defaults"] = {} defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["funcname"] = "ImGuiNextWindowData" -defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["location"] = "imgui_internal:1118" +defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["location"] = "imgui_internal:1147" defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["ov_cimguiname"] = "ImGuiNextWindowData_ImGuiNextWindowData" defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["signature"] = "()" defs["ImGuiNextWindowData_ImGuiNextWindowData"][1]["stname"] = "ImGuiNextWindowData" @@ -5735,7 +6091,7 @@ defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["cimguiname"] = "ImGuiOldColumn defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["constructor"] = true defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["defaults"] = {} defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["funcname"] = "ImGuiOldColumnData" -defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["location"] = "imgui_internal:1340" +defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["location"] = "imgui_internal:1532" defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["ov_cimguiname"] = "ImGuiOldColumnData_ImGuiOldColumnData" defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["signature"] = "()" defs["ImGuiOldColumnData_ImGuiOldColumnData"][1]["stname"] = "ImGuiOldColumnData" @@ -5766,7 +6122,7 @@ defs["ImGuiOldColumns_ImGuiOldColumns"][1]["cimguiname"] = "ImGuiOldColumns_ImGu defs["ImGuiOldColumns_ImGuiOldColumns"][1]["constructor"] = true defs["ImGuiOldColumns_ImGuiOldColumns"][1]["defaults"] = {} defs["ImGuiOldColumns_ImGuiOldColumns"][1]["funcname"] = "ImGuiOldColumns" -defs["ImGuiOldColumns_ImGuiOldColumns"][1]["location"] = "imgui_internal:1361" +defs["ImGuiOldColumns_ImGuiOldColumns"][1]["location"] = "imgui_internal:1553" defs["ImGuiOldColumns_ImGuiOldColumns"][1]["ov_cimguiname"] = "ImGuiOldColumns_ImGuiOldColumns" defs["ImGuiOldColumns_ImGuiOldColumns"][1]["signature"] = "()" defs["ImGuiOldColumns_ImGuiOldColumns"][1]["stname"] = "ImGuiOldColumns" @@ -5797,7 +6153,7 @@ defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["cimguiname"] = "ImGuiOnceUpo defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["constructor"] = true defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["defaults"] = {} defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["funcname"] = "ImGuiOnceUponAFrame" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["location"] = "imgui:2176" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["location"] = "imgui:2284" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["ov_cimguiname"] = "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["signature"] = "()" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["stname"] = "ImGuiOnceUponAFrame" @@ -5830,7 +6186,7 @@ defs["ImGuiPayload_Clear"][1]["call_args"] = "()" defs["ImGuiPayload_Clear"][1]["cimguiname"] = "ImGuiPayload_Clear" defs["ImGuiPayload_Clear"][1]["defaults"] = {} defs["ImGuiPayload_Clear"][1]["funcname"] = "Clear" -defs["ImGuiPayload_Clear"][1]["location"] = "imgui:2130" +defs["ImGuiPayload_Clear"][1]["location"] = "imgui:2238" defs["ImGuiPayload_Clear"][1]["ov_cimguiname"] = "ImGuiPayload_Clear" defs["ImGuiPayload_Clear"][1]["ret"] = "void" defs["ImGuiPayload_Clear"][1]["signature"] = "()" @@ -5846,7 +6202,7 @@ defs["ImGuiPayload_ImGuiPayload"][1]["cimguiname"] = "ImGuiPayload_ImGuiPayload" defs["ImGuiPayload_ImGuiPayload"][1]["constructor"] = true defs["ImGuiPayload_ImGuiPayload"][1]["defaults"] = {} defs["ImGuiPayload_ImGuiPayload"][1]["funcname"] = "ImGuiPayload" -defs["ImGuiPayload_ImGuiPayload"][1]["location"] = "imgui:2129" +defs["ImGuiPayload_ImGuiPayload"][1]["location"] = "imgui:2237" defs["ImGuiPayload_ImGuiPayload"][1]["ov_cimguiname"] = "ImGuiPayload_ImGuiPayload" defs["ImGuiPayload_ImGuiPayload"][1]["signature"] = "()" defs["ImGuiPayload_ImGuiPayload"][1]["stname"] = "ImGuiPayload" @@ -5866,7 +6222,7 @@ defs["ImGuiPayload_IsDataType"][1]["call_args"] = "(type)" defs["ImGuiPayload_IsDataType"][1]["cimguiname"] = "ImGuiPayload_IsDataType" defs["ImGuiPayload_IsDataType"][1]["defaults"] = {} defs["ImGuiPayload_IsDataType"][1]["funcname"] = "IsDataType" -defs["ImGuiPayload_IsDataType"][1]["location"] = "imgui:2131" +defs["ImGuiPayload_IsDataType"][1]["location"] = "imgui:2239" defs["ImGuiPayload_IsDataType"][1]["ov_cimguiname"] = "ImGuiPayload_IsDataType" defs["ImGuiPayload_IsDataType"][1]["ret"] = "bool" defs["ImGuiPayload_IsDataType"][1]["signature"] = "(const char*)const" @@ -5884,7 +6240,7 @@ defs["ImGuiPayload_IsDelivery"][1]["call_args"] = "()" defs["ImGuiPayload_IsDelivery"][1]["cimguiname"] = "ImGuiPayload_IsDelivery" defs["ImGuiPayload_IsDelivery"][1]["defaults"] = {} defs["ImGuiPayload_IsDelivery"][1]["funcname"] = "IsDelivery" -defs["ImGuiPayload_IsDelivery"][1]["location"] = "imgui:2133" +defs["ImGuiPayload_IsDelivery"][1]["location"] = "imgui:2241" defs["ImGuiPayload_IsDelivery"][1]["ov_cimguiname"] = "ImGuiPayload_IsDelivery" defs["ImGuiPayload_IsDelivery"][1]["ret"] = "bool" defs["ImGuiPayload_IsDelivery"][1]["signature"] = "()const" @@ -5902,7 +6258,7 @@ defs["ImGuiPayload_IsPreview"][1]["call_args"] = "()" defs["ImGuiPayload_IsPreview"][1]["cimguiname"] = "ImGuiPayload_IsPreview" defs["ImGuiPayload_IsPreview"][1]["defaults"] = {} defs["ImGuiPayload_IsPreview"][1]["funcname"] = "IsPreview" -defs["ImGuiPayload_IsPreview"][1]["location"] = "imgui:2132" +defs["ImGuiPayload_IsPreview"][1]["location"] = "imgui:2240" defs["ImGuiPayload_IsPreview"][1]["ov_cimguiname"] = "ImGuiPayload_IsPreview" defs["ImGuiPayload_IsPreview"][1]["ret"] = "bool" defs["ImGuiPayload_IsPreview"][1]["signature"] = "()const" @@ -5934,7 +6290,7 @@ defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["cimguiname"] = "ImGuiPlatformIO_ImGu defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["constructor"] = true defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["defaults"] = {} defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["funcname"] = "ImGuiPlatformIO" -defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["location"] = "imgui:3068" +defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["location"] = "imgui:3182" defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["ov_cimguiname"] = "ImGuiPlatformIO_ImGuiPlatformIO" defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["signature"] = "()" defs["ImGuiPlatformIO_ImGuiPlatformIO"][1]["stname"] = "ImGuiPlatformIO" @@ -5955,6 +6311,37 @@ defs["ImGuiPlatformIO_destroy"][1]["ret"] = "void" defs["ImGuiPlatformIO_destroy"][1]["signature"] = "(ImGuiPlatformIO*)" defs["ImGuiPlatformIO_destroy"][1]["stname"] = "ImGuiPlatformIO" defs["ImGuiPlatformIO_destroy"]["(ImGuiPlatformIO*)"] = defs["ImGuiPlatformIO_destroy"][1] +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["args"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["argsT"] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["argsoriginal"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["call_args"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["cimguiname"] = "ImGuiPlatformImeData_ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["constructor"] = true +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["defaults"] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["funcname"] = "ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["location"] = "imgui:3202" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["ov_cimguiname"] = "ImGuiPlatformImeData_ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["signature"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["stname"] = "ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"]["()"] = defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1] +defs["ImGuiPlatformImeData_destroy"] = {} +defs["ImGuiPlatformImeData_destroy"][1] = {} +defs["ImGuiPlatformImeData_destroy"][1]["args"] = "(ImGuiPlatformImeData* self)" +defs["ImGuiPlatformImeData_destroy"][1]["argsT"] = {} +defs["ImGuiPlatformImeData_destroy"][1]["argsT"][1] = {} +defs["ImGuiPlatformImeData_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiPlatformImeData_destroy"][1]["argsT"][1]["type"] = "ImGuiPlatformImeData*" +defs["ImGuiPlatformImeData_destroy"][1]["call_args"] = "(self)" +defs["ImGuiPlatformImeData_destroy"][1]["cimguiname"] = "ImGuiPlatformImeData_destroy" +defs["ImGuiPlatformImeData_destroy"][1]["defaults"] = {} +defs["ImGuiPlatformImeData_destroy"][1]["destructor"] = true +defs["ImGuiPlatformImeData_destroy"][1]["ov_cimguiname"] = "ImGuiPlatformImeData_destroy" +defs["ImGuiPlatformImeData_destroy"][1]["ret"] = "void" +defs["ImGuiPlatformImeData_destroy"][1]["signature"] = "(ImGuiPlatformImeData*)" +defs["ImGuiPlatformImeData_destroy"][1]["stname"] = "ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_destroy"]["(ImGuiPlatformImeData*)"] = defs["ImGuiPlatformImeData_destroy"][1] defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"] = {} defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1] = {} defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["args"] = "()" @@ -5965,7 +6352,7 @@ defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["cimguiname"] = "ImGuiPlatf defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["constructor"] = true defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["defaults"] = {} defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["funcname"] = "ImGuiPlatformMonitor" -defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["location"] = "imgui:3078" +defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["location"] = "imgui:3192" defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["ov_cimguiname"] = "ImGuiPlatformMonitor_ImGuiPlatformMonitor" defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["signature"] = "()" defs["ImGuiPlatformMonitor_ImGuiPlatformMonitor"][1]["stname"] = "ImGuiPlatformMonitor" @@ -5996,7 +6383,7 @@ defs["ImGuiPopupData_ImGuiPopupData"][1]["cimguiname"] = "ImGuiPopupData_ImGuiPo defs["ImGuiPopupData_ImGuiPopupData"][1]["constructor"] = true defs["ImGuiPopupData_ImGuiPopupData"][1]["defaults"] = {} defs["ImGuiPopupData_ImGuiPopupData"][1]["funcname"] = "ImGuiPopupData" -defs["ImGuiPopupData_ImGuiPopupData"][1]["location"] = "imgui_internal:1075" +defs["ImGuiPopupData_ImGuiPopupData"][1]["location"] = "imgui_internal:1104" defs["ImGuiPopupData_ImGuiPopupData"][1]["ov_cimguiname"] = "ImGuiPopupData_ImGuiPopupData" defs["ImGuiPopupData_ImGuiPopupData"][1]["signature"] = "()" defs["ImGuiPopupData_ImGuiPopupData"][1]["stname"] = "ImGuiPopupData" @@ -6030,8 +6417,8 @@ defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["cimguiname"] = "ImGuiPtrOrIndex_ImGu defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["constructor"] = true defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["defaults"] = {} defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["funcname"] = "ImGuiPtrOrIndex" -defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["location"] = "imgui_internal:1190" -defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["ov_cimguiname"] = "ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr" +defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["location"] = "imgui_internal:1220" +defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["ov_cimguiname"] = "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr" defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["signature"] = "(void*)" defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][1]["stname"] = "ImGuiPtrOrIndex" defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2] = {} @@ -6046,8 +6433,8 @@ defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["cimguiname"] = "ImGuiPtrOrIndex_ImGu defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["constructor"] = true defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["defaults"] = {} defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["funcname"] = "ImGuiPtrOrIndex" -defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["location"] = "imgui_internal:1191" -defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["ov_cimguiname"] = "ImGuiPtrOrIndex_ImGuiPtrOrIndexInt" +defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["location"] = "imgui_internal:1221" +defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["ov_cimguiname"] = "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int" defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["signature"] = "(int)" defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2]["stname"] = "ImGuiPtrOrIndex" defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"]["(int)"] = defs["ImGuiPtrOrIndex_ImGuiPtrOrIndex"][2] @@ -6078,7 +6465,7 @@ defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["cimguiname"] = "ImGuiSetti defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["constructor"] = true defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["defaults"] = {} defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["funcname"] = "ImGuiSettingsHandler" -defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["location"] = "imgui_internal:1594" +defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["location"] = "imgui_internal:1788" defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["ov_cimguiname"] = "ImGuiSettingsHandler_ImGuiSettingsHandler" defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["signature"] = "()" defs["ImGuiSettingsHandler_ImGuiSettingsHandler"][1]["stname"] = "ImGuiSettingsHandler" @@ -6109,7 +6496,7 @@ defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["cimguiname"] = "ImGuiStackLe defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["constructor"] = true defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["defaults"] = {} defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["funcname"] = "ImGuiStackLevelInfo" -defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["location"] = "imgui_internal:1634" +defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["location"] = "imgui_internal:1867" defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["ov_cimguiname"] = "ImGuiStackLevelInfo_ImGuiStackLevelInfo" defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["signature"] = "()" defs["ImGuiStackLevelInfo_ImGuiStackLevelInfo"][1]["stname"] = "ImGuiStackLevelInfo" @@ -6142,7 +6529,7 @@ defs["ImGuiStackSizes_CompareWithCurrentState"][1]["call_args"] = "()" defs["ImGuiStackSizes_CompareWithCurrentState"][1]["cimguiname"] = "ImGuiStackSizes_CompareWithCurrentState" defs["ImGuiStackSizes_CompareWithCurrentState"][1]["defaults"] = {} defs["ImGuiStackSizes_CompareWithCurrentState"][1]["funcname"] = "CompareWithCurrentState" -defs["ImGuiStackSizes_CompareWithCurrentState"][1]["location"] = "imgui_internal:1168" +defs["ImGuiStackSizes_CompareWithCurrentState"][1]["location"] = "imgui_internal:1197" defs["ImGuiStackSizes_CompareWithCurrentState"][1]["ov_cimguiname"] = "ImGuiStackSizes_CompareWithCurrentState" defs["ImGuiStackSizes_CompareWithCurrentState"][1]["ret"] = "void" defs["ImGuiStackSizes_CompareWithCurrentState"][1]["signature"] = "()" @@ -6158,7 +6545,7 @@ defs["ImGuiStackSizes_ImGuiStackSizes"][1]["cimguiname"] = "ImGuiStackSizes_ImGu defs["ImGuiStackSizes_ImGuiStackSizes"][1]["constructor"] = true defs["ImGuiStackSizes_ImGuiStackSizes"][1]["defaults"] = {} defs["ImGuiStackSizes_ImGuiStackSizes"][1]["funcname"] = "ImGuiStackSizes" -defs["ImGuiStackSizes_ImGuiStackSizes"][1]["location"] = "imgui_internal:1166" +defs["ImGuiStackSizes_ImGuiStackSizes"][1]["location"] = "imgui_internal:1195" defs["ImGuiStackSizes_ImGuiStackSizes"][1]["ov_cimguiname"] = "ImGuiStackSizes_ImGuiStackSizes" defs["ImGuiStackSizes_ImGuiStackSizes"][1]["signature"] = "()" defs["ImGuiStackSizes_ImGuiStackSizes"][1]["stname"] = "ImGuiStackSizes" @@ -6175,7 +6562,7 @@ defs["ImGuiStackSizes_SetToCurrentState"][1]["call_args"] = "()" defs["ImGuiStackSizes_SetToCurrentState"][1]["cimguiname"] = "ImGuiStackSizes_SetToCurrentState" defs["ImGuiStackSizes_SetToCurrentState"][1]["defaults"] = {} defs["ImGuiStackSizes_SetToCurrentState"][1]["funcname"] = "SetToCurrentState" -defs["ImGuiStackSizes_SetToCurrentState"][1]["location"] = "imgui_internal:1167" +defs["ImGuiStackSizes_SetToCurrentState"][1]["location"] = "imgui_internal:1196" defs["ImGuiStackSizes_SetToCurrentState"][1]["ov_cimguiname"] = "ImGuiStackSizes_SetToCurrentState" defs["ImGuiStackSizes_SetToCurrentState"][1]["ret"] = "void" defs["ImGuiStackSizes_SetToCurrentState"][1]["signature"] = "()" @@ -6207,7 +6594,7 @@ defs["ImGuiStackTool_ImGuiStackTool"][1]["cimguiname"] = "ImGuiStackTool_ImGuiSt defs["ImGuiStackTool_ImGuiStackTool"][1]["constructor"] = true defs["ImGuiStackTool_ImGuiStackTool"][1]["defaults"] = {} defs["ImGuiStackTool_ImGuiStackTool"][1]["funcname"] = "ImGuiStackTool" -defs["ImGuiStackTool_ImGuiStackTool"][1]["location"] = "imgui_internal:1645" +defs["ImGuiStackTool_ImGuiStackTool"][1]["location"] = "imgui_internal:1880" defs["ImGuiStackTool_ImGuiStackTool"][1]["ov_cimguiname"] = "ImGuiStackTool_ImGuiStackTool" defs["ImGuiStackTool_ImGuiStackTool"][1]["signature"] = "()" defs["ImGuiStackTool_ImGuiStackTool"][1]["stname"] = "ImGuiStackTool" @@ -6244,8 +6631,8 @@ defs["ImGuiStoragePair_ImGuiStoragePair"][1]["cimguiname"] = "ImGuiStoragePair_I defs["ImGuiStoragePair_ImGuiStoragePair"][1]["constructor"] = true defs["ImGuiStoragePair_ImGuiStoragePair"][1]["defaults"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][1]["funcname"] = "ImGuiStoragePair" -defs["ImGuiStoragePair_ImGuiStoragePair"][1]["location"] = "imgui:2243" -defs["ImGuiStoragePair_ImGuiStoragePair"][1]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePairInt" +defs["ImGuiStoragePair_ImGuiStoragePair"][1]["location"] = "imgui:2351" +defs["ImGuiStoragePair_ImGuiStoragePair"][1]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePair_Int" defs["ImGuiStoragePair_ImGuiStoragePair"][1]["signature"] = "(ImGuiID,int)" defs["ImGuiStoragePair_ImGuiStoragePair"][1]["stname"] = "ImGuiStoragePair" defs["ImGuiStoragePair_ImGuiStoragePair"][2] = {} @@ -6263,8 +6650,8 @@ defs["ImGuiStoragePair_ImGuiStoragePair"][2]["cimguiname"] = "ImGuiStoragePair_I defs["ImGuiStoragePair_ImGuiStoragePair"][2]["constructor"] = true defs["ImGuiStoragePair_ImGuiStoragePair"][2]["defaults"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][2]["funcname"] = "ImGuiStoragePair" -defs["ImGuiStoragePair_ImGuiStoragePair"][2]["location"] = "imgui:2244" -defs["ImGuiStoragePair_ImGuiStoragePair"][2]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePairFloat" +defs["ImGuiStoragePair_ImGuiStoragePair"][2]["location"] = "imgui:2352" +defs["ImGuiStoragePair_ImGuiStoragePair"][2]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePair_Float" defs["ImGuiStoragePair_ImGuiStoragePair"][2]["signature"] = "(ImGuiID,float)" defs["ImGuiStoragePair_ImGuiStoragePair"][2]["stname"] = "ImGuiStoragePair" defs["ImGuiStoragePair_ImGuiStoragePair"][3] = {} @@ -6282,8 +6669,8 @@ defs["ImGuiStoragePair_ImGuiStoragePair"][3]["cimguiname"] = "ImGuiStoragePair_I defs["ImGuiStoragePair_ImGuiStoragePair"][3]["constructor"] = true defs["ImGuiStoragePair_ImGuiStoragePair"][3]["defaults"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][3]["funcname"] = "ImGuiStoragePair" -defs["ImGuiStoragePair_ImGuiStoragePair"][3]["location"] = "imgui:2245" -defs["ImGuiStoragePair_ImGuiStoragePair"][3]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePairPtr" +defs["ImGuiStoragePair_ImGuiStoragePair"][3]["location"] = "imgui:2353" +defs["ImGuiStoragePair_ImGuiStoragePair"][3]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePair_Ptr" defs["ImGuiStoragePair_ImGuiStoragePair"][3]["signature"] = "(ImGuiID,void*)" defs["ImGuiStoragePair_ImGuiStoragePair"][3]["stname"] = "ImGuiStoragePair" defs["ImGuiStoragePair_ImGuiStoragePair"]["(ImGuiID,float)"] = defs["ImGuiStoragePair_ImGuiStoragePair"][2] @@ -6317,7 +6704,7 @@ defs["ImGuiStorage_BuildSortByKey"][1]["call_args"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["cimguiname"] = "ImGuiStorage_BuildSortByKey" defs["ImGuiStorage_BuildSortByKey"][1]["defaults"] = {} defs["ImGuiStorage_BuildSortByKey"][1]["funcname"] = "BuildSortByKey" -defs["ImGuiStorage_BuildSortByKey"][1]["location"] = "imgui:2276" +defs["ImGuiStorage_BuildSortByKey"][1]["location"] = "imgui:2384" defs["ImGuiStorage_BuildSortByKey"][1]["ov_cimguiname"] = "ImGuiStorage_BuildSortByKey" defs["ImGuiStorage_BuildSortByKey"][1]["ret"] = "void" defs["ImGuiStorage_BuildSortByKey"][1]["signature"] = "()" @@ -6335,7 +6722,7 @@ defs["ImGuiStorage_Clear"][1]["call_args"] = "()" defs["ImGuiStorage_Clear"][1]["cimguiname"] = "ImGuiStorage_Clear" defs["ImGuiStorage_Clear"][1]["defaults"] = {} defs["ImGuiStorage_Clear"][1]["funcname"] = "Clear" -defs["ImGuiStorage_Clear"][1]["location"] = "imgui:2253" +defs["ImGuiStorage_Clear"][1]["location"] = "imgui:2361" defs["ImGuiStorage_Clear"][1]["ov_cimguiname"] = "ImGuiStorage_Clear" defs["ImGuiStorage_Clear"][1]["ret"] = "void" defs["ImGuiStorage_Clear"][1]["signature"] = "()" @@ -6360,7 +6747,7 @@ defs["ImGuiStorage_GetBool"][1]["cimguiname"] = "ImGuiStorage_GetBool" defs["ImGuiStorage_GetBool"][1]["defaults"] = {} defs["ImGuiStorage_GetBool"][1]["defaults"]["default_val"] = "false" defs["ImGuiStorage_GetBool"][1]["funcname"] = "GetBool" -defs["ImGuiStorage_GetBool"][1]["location"] = "imgui:2256" +defs["ImGuiStorage_GetBool"][1]["location"] = "imgui:2364" defs["ImGuiStorage_GetBool"][1]["ov_cimguiname"] = "ImGuiStorage_GetBool" defs["ImGuiStorage_GetBool"][1]["ret"] = "bool" defs["ImGuiStorage_GetBool"][1]["signature"] = "(ImGuiID,bool)const" @@ -6385,7 +6772,7 @@ defs["ImGuiStorage_GetBoolRef"][1]["cimguiname"] = "ImGuiStorage_GetBoolRef" defs["ImGuiStorage_GetBoolRef"][1]["defaults"] = {} defs["ImGuiStorage_GetBoolRef"][1]["defaults"]["default_val"] = "false" defs["ImGuiStorage_GetBoolRef"][1]["funcname"] = "GetBoolRef" -defs["ImGuiStorage_GetBoolRef"][1]["location"] = "imgui:2268" +defs["ImGuiStorage_GetBoolRef"][1]["location"] = "imgui:2376" defs["ImGuiStorage_GetBoolRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetBoolRef" defs["ImGuiStorage_GetBoolRef"][1]["ret"] = "bool*" defs["ImGuiStorage_GetBoolRef"][1]["signature"] = "(ImGuiID,bool)" @@ -6410,7 +6797,7 @@ defs["ImGuiStorage_GetFloat"][1]["cimguiname"] = "ImGuiStorage_GetFloat" defs["ImGuiStorage_GetFloat"][1]["defaults"] = {} defs["ImGuiStorage_GetFloat"][1]["defaults"]["default_val"] = "0.0f" defs["ImGuiStorage_GetFloat"][1]["funcname"] = "GetFloat" -defs["ImGuiStorage_GetFloat"][1]["location"] = "imgui:2258" +defs["ImGuiStorage_GetFloat"][1]["location"] = "imgui:2366" defs["ImGuiStorage_GetFloat"][1]["ov_cimguiname"] = "ImGuiStorage_GetFloat" defs["ImGuiStorage_GetFloat"][1]["ret"] = "float" defs["ImGuiStorage_GetFloat"][1]["signature"] = "(ImGuiID,float)const" @@ -6435,7 +6822,7 @@ defs["ImGuiStorage_GetFloatRef"][1]["cimguiname"] = "ImGuiStorage_GetFloatRef" defs["ImGuiStorage_GetFloatRef"][1]["defaults"] = {} defs["ImGuiStorage_GetFloatRef"][1]["defaults"]["default_val"] = "0.0f" defs["ImGuiStorage_GetFloatRef"][1]["funcname"] = "GetFloatRef" -defs["ImGuiStorage_GetFloatRef"][1]["location"] = "imgui:2269" +defs["ImGuiStorage_GetFloatRef"][1]["location"] = "imgui:2377" defs["ImGuiStorage_GetFloatRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetFloatRef" defs["ImGuiStorage_GetFloatRef"][1]["ret"] = "float*" defs["ImGuiStorage_GetFloatRef"][1]["signature"] = "(ImGuiID,float)" @@ -6460,7 +6847,7 @@ defs["ImGuiStorage_GetInt"][1]["cimguiname"] = "ImGuiStorage_GetInt" defs["ImGuiStorage_GetInt"][1]["defaults"] = {} defs["ImGuiStorage_GetInt"][1]["defaults"]["default_val"] = "0" defs["ImGuiStorage_GetInt"][1]["funcname"] = "GetInt" -defs["ImGuiStorage_GetInt"][1]["location"] = "imgui:2254" +defs["ImGuiStorage_GetInt"][1]["location"] = "imgui:2362" defs["ImGuiStorage_GetInt"][1]["ov_cimguiname"] = "ImGuiStorage_GetInt" defs["ImGuiStorage_GetInt"][1]["ret"] = "int" defs["ImGuiStorage_GetInt"][1]["signature"] = "(ImGuiID,int)const" @@ -6485,7 +6872,7 @@ defs["ImGuiStorage_GetIntRef"][1]["cimguiname"] = "ImGuiStorage_GetIntRef" defs["ImGuiStorage_GetIntRef"][1]["defaults"] = {} defs["ImGuiStorage_GetIntRef"][1]["defaults"]["default_val"] = "0" defs["ImGuiStorage_GetIntRef"][1]["funcname"] = "GetIntRef" -defs["ImGuiStorage_GetIntRef"][1]["location"] = "imgui:2267" +defs["ImGuiStorage_GetIntRef"][1]["location"] = "imgui:2375" defs["ImGuiStorage_GetIntRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetIntRef" defs["ImGuiStorage_GetIntRef"][1]["ret"] = "int*" defs["ImGuiStorage_GetIntRef"][1]["signature"] = "(ImGuiID,int)" @@ -6506,7 +6893,7 @@ defs["ImGuiStorage_GetVoidPtr"][1]["call_args"] = "(key)" defs["ImGuiStorage_GetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtr" defs["ImGuiStorage_GetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtr"][1]["funcname"] = "GetVoidPtr" -defs["ImGuiStorage_GetVoidPtr"][1]["location"] = "imgui:2260" +defs["ImGuiStorage_GetVoidPtr"][1]["location"] = "imgui:2368" defs["ImGuiStorage_GetVoidPtr"][1]["ov_cimguiname"] = "ImGuiStorage_GetVoidPtr" defs["ImGuiStorage_GetVoidPtr"][1]["ret"] = "void*" defs["ImGuiStorage_GetVoidPtr"][1]["signature"] = "(ImGuiID)const" @@ -6531,7 +6918,7 @@ defs["ImGuiStorage_GetVoidPtrRef"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtrRe defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"]["default_val"] = "NULL" defs["ImGuiStorage_GetVoidPtrRef"][1]["funcname"] = "GetVoidPtrRef" -defs["ImGuiStorage_GetVoidPtrRef"][1]["location"] = "imgui:2270" +defs["ImGuiStorage_GetVoidPtrRef"][1]["location"] = "imgui:2378" defs["ImGuiStorage_GetVoidPtrRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetVoidPtrRef" defs["ImGuiStorage_GetVoidPtrRef"][1]["ret"] = "void**" defs["ImGuiStorage_GetVoidPtrRef"][1]["signature"] = "(ImGuiID,void*)" @@ -6552,7 +6939,7 @@ defs["ImGuiStorage_SetAllInt"][1]["call_args"] = "(val)" defs["ImGuiStorage_SetAllInt"][1]["cimguiname"] = "ImGuiStorage_SetAllInt" defs["ImGuiStorage_SetAllInt"][1]["defaults"] = {} defs["ImGuiStorage_SetAllInt"][1]["funcname"] = "SetAllInt" -defs["ImGuiStorage_SetAllInt"][1]["location"] = "imgui:2273" +defs["ImGuiStorage_SetAllInt"][1]["location"] = "imgui:2381" defs["ImGuiStorage_SetAllInt"][1]["ov_cimguiname"] = "ImGuiStorage_SetAllInt" defs["ImGuiStorage_SetAllInt"][1]["ret"] = "void" defs["ImGuiStorage_SetAllInt"][1]["signature"] = "(int)" @@ -6576,7 +6963,7 @@ defs["ImGuiStorage_SetBool"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetBool"][1]["cimguiname"] = "ImGuiStorage_SetBool" defs["ImGuiStorage_SetBool"][1]["defaults"] = {} defs["ImGuiStorage_SetBool"][1]["funcname"] = "SetBool" -defs["ImGuiStorage_SetBool"][1]["location"] = "imgui:2257" +defs["ImGuiStorage_SetBool"][1]["location"] = "imgui:2365" defs["ImGuiStorage_SetBool"][1]["ov_cimguiname"] = "ImGuiStorage_SetBool" defs["ImGuiStorage_SetBool"][1]["ret"] = "void" defs["ImGuiStorage_SetBool"][1]["signature"] = "(ImGuiID,bool)" @@ -6600,7 +6987,7 @@ defs["ImGuiStorage_SetFloat"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetFloat"][1]["cimguiname"] = "ImGuiStorage_SetFloat" defs["ImGuiStorage_SetFloat"][1]["defaults"] = {} defs["ImGuiStorage_SetFloat"][1]["funcname"] = "SetFloat" -defs["ImGuiStorage_SetFloat"][1]["location"] = "imgui:2259" +defs["ImGuiStorage_SetFloat"][1]["location"] = "imgui:2367" defs["ImGuiStorage_SetFloat"][1]["ov_cimguiname"] = "ImGuiStorage_SetFloat" defs["ImGuiStorage_SetFloat"][1]["ret"] = "void" defs["ImGuiStorage_SetFloat"][1]["signature"] = "(ImGuiID,float)" @@ -6624,7 +7011,7 @@ defs["ImGuiStorage_SetInt"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetInt"][1]["cimguiname"] = "ImGuiStorage_SetInt" defs["ImGuiStorage_SetInt"][1]["defaults"] = {} defs["ImGuiStorage_SetInt"][1]["funcname"] = "SetInt" -defs["ImGuiStorage_SetInt"][1]["location"] = "imgui:2255" +defs["ImGuiStorage_SetInt"][1]["location"] = "imgui:2363" defs["ImGuiStorage_SetInt"][1]["ov_cimguiname"] = "ImGuiStorage_SetInt" defs["ImGuiStorage_SetInt"][1]["ret"] = "void" defs["ImGuiStorage_SetInt"][1]["signature"] = "(ImGuiID,int)" @@ -6648,7 +7035,7 @@ defs["ImGuiStorage_SetVoidPtr"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_SetVoidPtr" defs["ImGuiStorage_SetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_SetVoidPtr"][1]["funcname"] = "SetVoidPtr" -defs["ImGuiStorage_SetVoidPtr"][1]["location"] = "imgui:2261" +defs["ImGuiStorage_SetVoidPtr"][1]["location"] = "imgui:2369" defs["ImGuiStorage_SetVoidPtr"][1]["ov_cimguiname"] = "ImGuiStorage_SetVoidPtr" defs["ImGuiStorage_SetVoidPtr"][1]["ret"] = "void" defs["ImGuiStorage_SetVoidPtr"][1]["signature"] = "(ImGuiID,void*)" @@ -6670,8 +7057,8 @@ defs["ImGuiStyleMod_ImGuiStyleMod"][1]["cimguiname"] = "ImGuiStyleMod_ImGuiStyle defs["ImGuiStyleMod_ImGuiStyleMod"][1]["constructor"] = true defs["ImGuiStyleMod_ImGuiStyleMod"][1]["defaults"] = {} defs["ImGuiStyleMod_ImGuiStyleMod"][1]["funcname"] = "ImGuiStyleMod" -defs["ImGuiStyleMod_ImGuiStyleMod"][1]["location"] = "imgui_internal:975" -defs["ImGuiStyleMod_ImGuiStyleMod"][1]["ov_cimguiname"] = "ImGuiStyleMod_ImGuiStyleModInt" +defs["ImGuiStyleMod_ImGuiStyleMod"][1]["location"] = "imgui_internal:1003" +defs["ImGuiStyleMod_ImGuiStyleMod"][1]["ov_cimguiname"] = "ImGuiStyleMod_ImGuiStyleMod_Int" defs["ImGuiStyleMod_ImGuiStyleMod"][1]["signature"] = "(ImGuiStyleVar,int)" defs["ImGuiStyleMod_ImGuiStyleMod"][1]["stname"] = "ImGuiStyleMod" defs["ImGuiStyleMod_ImGuiStyleMod"][2] = {} @@ -6689,8 +7076,8 @@ defs["ImGuiStyleMod_ImGuiStyleMod"][2]["cimguiname"] = "ImGuiStyleMod_ImGuiStyle defs["ImGuiStyleMod_ImGuiStyleMod"][2]["constructor"] = true defs["ImGuiStyleMod_ImGuiStyleMod"][2]["defaults"] = {} defs["ImGuiStyleMod_ImGuiStyleMod"][2]["funcname"] = "ImGuiStyleMod" -defs["ImGuiStyleMod_ImGuiStyleMod"][2]["location"] = "imgui_internal:976" -defs["ImGuiStyleMod_ImGuiStyleMod"][2]["ov_cimguiname"] = "ImGuiStyleMod_ImGuiStyleModFloat" +defs["ImGuiStyleMod_ImGuiStyleMod"][2]["location"] = "imgui_internal:1004" +defs["ImGuiStyleMod_ImGuiStyleMod"][2]["ov_cimguiname"] = "ImGuiStyleMod_ImGuiStyleMod_Float" defs["ImGuiStyleMod_ImGuiStyleMod"][2]["signature"] = "(ImGuiStyleVar,float)" defs["ImGuiStyleMod_ImGuiStyleMod"][2]["stname"] = "ImGuiStyleMod" defs["ImGuiStyleMod_ImGuiStyleMod"][3] = {} @@ -6708,8 +7095,8 @@ defs["ImGuiStyleMod_ImGuiStyleMod"][3]["cimguiname"] = "ImGuiStyleMod_ImGuiStyle defs["ImGuiStyleMod_ImGuiStyleMod"][3]["constructor"] = true defs["ImGuiStyleMod_ImGuiStyleMod"][3]["defaults"] = {} defs["ImGuiStyleMod_ImGuiStyleMod"][3]["funcname"] = "ImGuiStyleMod" -defs["ImGuiStyleMod_ImGuiStyleMod"][3]["location"] = "imgui_internal:977" -defs["ImGuiStyleMod_ImGuiStyleMod"][3]["ov_cimguiname"] = "ImGuiStyleMod_ImGuiStyleModVec2" +defs["ImGuiStyleMod_ImGuiStyleMod"][3]["location"] = "imgui_internal:1005" +defs["ImGuiStyleMod_ImGuiStyleMod"][3]["ov_cimguiname"] = "ImGuiStyleMod_ImGuiStyleMod_Vec2" defs["ImGuiStyleMod_ImGuiStyleMod"][3]["signature"] = "(ImGuiStyleVar,ImVec2)" defs["ImGuiStyleMod_ImGuiStyleMod"][3]["stname"] = "ImGuiStyleMod" defs["ImGuiStyleMod_ImGuiStyleMod"]["(ImGuiStyleVar,ImVec2)"] = defs["ImGuiStyleMod_ImGuiStyleMod"][3] @@ -6741,7 +7128,7 @@ defs["ImGuiStyle_ImGuiStyle"][1]["cimguiname"] = "ImGuiStyle_ImGuiStyle" defs["ImGuiStyle_ImGuiStyle"][1]["constructor"] = true defs["ImGuiStyle_ImGuiStyle"][1]["defaults"] = {} defs["ImGuiStyle_ImGuiStyle"][1]["funcname"] = "ImGuiStyle" -defs["ImGuiStyle_ImGuiStyle"][1]["location"] = "imgui:1886" +defs["ImGuiStyle_ImGuiStyle"][1]["location"] = "imgui:1953" defs["ImGuiStyle_ImGuiStyle"][1]["ov_cimguiname"] = "ImGuiStyle_ImGuiStyle" defs["ImGuiStyle_ImGuiStyle"][1]["signature"] = "()" defs["ImGuiStyle_ImGuiStyle"][1]["stname"] = "ImGuiStyle" @@ -6761,7 +7148,7 @@ defs["ImGuiStyle_ScaleAllSizes"][1]["call_args"] = "(scale_factor)" defs["ImGuiStyle_ScaleAllSizes"][1]["cimguiname"] = "ImGuiStyle_ScaleAllSizes" defs["ImGuiStyle_ScaleAllSizes"][1]["defaults"] = {} defs["ImGuiStyle_ScaleAllSizes"][1]["funcname"] = "ScaleAllSizes" -defs["ImGuiStyle_ScaleAllSizes"][1]["location"] = "imgui:1887" +defs["ImGuiStyle_ScaleAllSizes"][1]["location"] = "imgui:1954" defs["ImGuiStyle_ScaleAllSizes"][1]["ov_cimguiname"] = "ImGuiStyle_ScaleAllSizes" defs["ImGuiStyle_ScaleAllSizes"][1]["ret"] = "void" defs["ImGuiStyle_ScaleAllSizes"][1]["signature"] = "(float)" @@ -6798,7 +7185,7 @@ defs["ImGuiTabBar_GetTabName"][1]["call_args"] = "(tab)" defs["ImGuiTabBar_GetTabName"][1]["cimguiname"] = "ImGuiTabBar_GetTabName" defs["ImGuiTabBar_GetTabName"][1]["defaults"] = {} defs["ImGuiTabBar_GetTabName"][1]["funcname"] = "GetTabName" -defs["ImGuiTabBar_GetTabName"][1]["location"] = "imgui_internal:2370" +defs["ImGuiTabBar_GetTabName"][1]["location"] = "imgui_internal:2648" defs["ImGuiTabBar_GetTabName"][1]["ov_cimguiname"] = "ImGuiTabBar_GetTabName" defs["ImGuiTabBar_GetTabName"][1]["ret"] = "const char*" defs["ImGuiTabBar_GetTabName"][1]["signature"] = "(const ImGuiTabItem*)const" @@ -6819,7 +7206,7 @@ defs["ImGuiTabBar_GetTabOrder"][1]["call_args"] = "(tab)" defs["ImGuiTabBar_GetTabOrder"][1]["cimguiname"] = "ImGuiTabBar_GetTabOrder" defs["ImGuiTabBar_GetTabOrder"][1]["defaults"] = {} defs["ImGuiTabBar_GetTabOrder"][1]["funcname"] = "GetTabOrder" -defs["ImGuiTabBar_GetTabOrder"][1]["location"] = "imgui_internal:2369" +defs["ImGuiTabBar_GetTabOrder"][1]["location"] = "imgui_internal:2647" defs["ImGuiTabBar_GetTabOrder"][1]["ov_cimguiname"] = "ImGuiTabBar_GetTabOrder" defs["ImGuiTabBar_GetTabOrder"][1]["ret"] = "int" defs["ImGuiTabBar_GetTabOrder"][1]["signature"] = "(const ImGuiTabItem*)const" @@ -6835,7 +7222,7 @@ defs["ImGuiTabBar_ImGuiTabBar"][1]["cimguiname"] = "ImGuiTabBar_ImGuiTabBar" defs["ImGuiTabBar_ImGuiTabBar"][1]["constructor"] = true defs["ImGuiTabBar_ImGuiTabBar"][1]["defaults"] = {} defs["ImGuiTabBar_ImGuiTabBar"][1]["funcname"] = "ImGuiTabBar" -defs["ImGuiTabBar_ImGuiTabBar"][1]["location"] = "imgui_internal:2368" +defs["ImGuiTabBar_ImGuiTabBar"][1]["location"] = "imgui_internal:2646" defs["ImGuiTabBar_ImGuiTabBar"][1]["ov_cimguiname"] = "ImGuiTabBar_ImGuiTabBar" defs["ImGuiTabBar_ImGuiTabBar"][1]["signature"] = "()" defs["ImGuiTabBar_ImGuiTabBar"][1]["stname"] = "ImGuiTabBar" @@ -6866,7 +7253,7 @@ defs["ImGuiTabItem_ImGuiTabItem"][1]["cimguiname"] = "ImGuiTabItem_ImGuiTabItem" defs["ImGuiTabItem_ImGuiTabItem"][1]["constructor"] = true defs["ImGuiTabItem_ImGuiTabItem"][1]["defaults"] = {} defs["ImGuiTabItem_ImGuiTabItem"][1]["funcname"] = "ImGuiTabItem" -defs["ImGuiTabItem_ImGuiTabItem"][1]["location"] = "imgui_internal:2330" +defs["ImGuiTabItem_ImGuiTabItem"][1]["location"] = "imgui_internal:2608" defs["ImGuiTabItem_ImGuiTabItem"][1]["ov_cimguiname"] = "ImGuiTabItem_ImGuiTabItem" defs["ImGuiTabItem_ImGuiTabItem"][1]["signature"] = "()" defs["ImGuiTabItem_ImGuiTabItem"][1]["stname"] = "ImGuiTabItem" @@ -6897,7 +7284,7 @@ defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["cimguiname"] = "Im defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["constructor"] = true defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["defaults"] = {} defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["funcname"] = "ImGuiTableColumnSettings" -defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["location"] = "imgui_internal:2606" +defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["location"] = "imgui_internal:2894" defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["ov_cimguiname"] = "ImGuiTableColumnSettings_ImGuiTableColumnSettings" defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["signature"] = "()" defs["ImGuiTableColumnSettings_ImGuiTableColumnSettings"][1]["stname"] = "ImGuiTableColumnSettings" @@ -6928,7 +7315,7 @@ defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["cimguiname"] = " defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["constructor"] = true defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["defaults"] = {} defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["funcname"] = "ImGuiTableColumnSortSpecs" -defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["location"] = "imgui:2144" +defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["location"] = "imgui:2252" defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["ov_cimguiname"] = "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs" defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["signature"] = "()" defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["stname"] = "ImGuiTableColumnSortSpecs" @@ -6959,7 +7346,7 @@ defs["ImGuiTableColumn_ImGuiTableColumn"][1]["cimguiname"] = "ImGuiTableColumn_I defs["ImGuiTableColumn_ImGuiTableColumn"][1]["constructor"] = true defs["ImGuiTableColumn_ImGuiTableColumn"][1]["defaults"] = {} defs["ImGuiTableColumn_ImGuiTableColumn"][1]["funcname"] = "ImGuiTableColumn" -defs["ImGuiTableColumn_ImGuiTableColumn"][1]["location"] = "imgui_internal:2439" +defs["ImGuiTableColumn_ImGuiTableColumn"][1]["location"] = "imgui_internal:2717" defs["ImGuiTableColumn_ImGuiTableColumn"][1]["ov_cimguiname"] = "ImGuiTableColumn_ImGuiTableColumn" defs["ImGuiTableColumn_ImGuiTableColumn"][1]["signature"] = "()" defs["ImGuiTableColumn_ImGuiTableColumn"][1]["stname"] = "ImGuiTableColumn" @@ -6980,6 +7367,37 @@ defs["ImGuiTableColumn_destroy"][1]["ret"] = "void" defs["ImGuiTableColumn_destroy"][1]["signature"] = "(ImGuiTableColumn*)" defs["ImGuiTableColumn_destroy"][1]["stname"] = "ImGuiTableColumn" defs["ImGuiTableColumn_destroy"]["(ImGuiTableColumn*)"] = defs["ImGuiTableColumn_destroy"][1] +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"] = {} +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1] = {} +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["args"] = "()" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["argsT"] = {} +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["argsoriginal"] = "()" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["call_args"] = "()" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["cimguiname"] = "ImGuiTableInstanceData_ImGuiTableInstanceData" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["constructor"] = true +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["defaults"] = {} +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["funcname"] = "ImGuiTableInstanceData" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["location"] = "imgui_internal:2744" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["ov_cimguiname"] = "ImGuiTableInstanceData_ImGuiTableInstanceData" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["signature"] = "()" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1]["stname"] = "ImGuiTableInstanceData" +defs["ImGuiTableInstanceData_ImGuiTableInstanceData"]["()"] = defs["ImGuiTableInstanceData_ImGuiTableInstanceData"][1] +defs["ImGuiTableInstanceData_destroy"] = {} +defs["ImGuiTableInstanceData_destroy"][1] = {} +defs["ImGuiTableInstanceData_destroy"][1]["args"] = "(ImGuiTableInstanceData* self)" +defs["ImGuiTableInstanceData_destroy"][1]["argsT"] = {} +defs["ImGuiTableInstanceData_destroy"][1]["argsT"][1] = {} +defs["ImGuiTableInstanceData_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiTableInstanceData_destroy"][1]["argsT"][1]["type"] = "ImGuiTableInstanceData*" +defs["ImGuiTableInstanceData_destroy"][1]["call_args"] = "(self)" +defs["ImGuiTableInstanceData_destroy"][1]["cimguiname"] = "ImGuiTableInstanceData_destroy" +defs["ImGuiTableInstanceData_destroy"][1]["defaults"] = {} +defs["ImGuiTableInstanceData_destroy"][1]["destructor"] = true +defs["ImGuiTableInstanceData_destroy"][1]["ov_cimguiname"] = "ImGuiTableInstanceData_destroy" +defs["ImGuiTableInstanceData_destroy"][1]["ret"] = "void" +defs["ImGuiTableInstanceData_destroy"][1]["signature"] = "(ImGuiTableInstanceData*)" +defs["ImGuiTableInstanceData_destroy"][1]["stname"] = "ImGuiTableInstanceData" +defs["ImGuiTableInstanceData_destroy"]["(ImGuiTableInstanceData*)"] = defs["ImGuiTableInstanceData_destroy"][1] defs["ImGuiTableSettings_GetColumnSettings"] = {} defs["ImGuiTableSettings_GetColumnSettings"][1] = {} defs["ImGuiTableSettings_GetColumnSettings"][1]["args"] = "(ImGuiTableSettings* self)" @@ -6992,7 +7410,7 @@ defs["ImGuiTableSettings_GetColumnSettings"][1]["call_args"] = "()" defs["ImGuiTableSettings_GetColumnSettings"][1]["cimguiname"] = "ImGuiTableSettings_GetColumnSettings" defs["ImGuiTableSettings_GetColumnSettings"][1]["defaults"] = {} defs["ImGuiTableSettings_GetColumnSettings"][1]["funcname"] = "GetColumnSettings" -defs["ImGuiTableSettings_GetColumnSettings"][1]["location"] = "imgui_internal:2629" +defs["ImGuiTableSettings_GetColumnSettings"][1]["location"] = "imgui_internal:2917" defs["ImGuiTableSettings_GetColumnSettings"][1]["ov_cimguiname"] = "ImGuiTableSettings_GetColumnSettings" defs["ImGuiTableSettings_GetColumnSettings"][1]["ret"] = "ImGuiTableColumnSettings*" defs["ImGuiTableSettings_GetColumnSettings"][1]["signature"] = "()" @@ -7008,7 +7426,7 @@ defs["ImGuiTableSettings_ImGuiTableSettings"][1]["cimguiname"] = "ImGuiTableSett defs["ImGuiTableSettings_ImGuiTableSettings"][1]["constructor"] = true defs["ImGuiTableSettings_ImGuiTableSettings"][1]["defaults"] = {} defs["ImGuiTableSettings_ImGuiTableSettings"][1]["funcname"] = "ImGuiTableSettings" -defs["ImGuiTableSettings_ImGuiTableSettings"][1]["location"] = "imgui_internal:2628" +defs["ImGuiTableSettings_ImGuiTableSettings"][1]["location"] = "imgui_internal:2916" defs["ImGuiTableSettings_ImGuiTableSettings"][1]["ov_cimguiname"] = "ImGuiTableSettings_ImGuiTableSettings" defs["ImGuiTableSettings_ImGuiTableSettings"][1]["signature"] = "()" defs["ImGuiTableSettings_ImGuiTableSettings"][1]["stname"] = "ImGuiTableSettings" @@ -7039,7 +7457,7 @@ defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["cimguiname"] = "ImGuiTableSo defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["constructor"] = true defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["defaults"] = {} defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["funcname"] = "ImGuiTableSortSpecs" -defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["location"] = "imgui:2157" +defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["location"] = "imgui:2265" defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["ov_cimguiname"] = "ImGuiTableSortSpecs_ImGuiTableSortSpecs" defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["signature"] = "()" defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["stname"] = "ImGuiTableSortSpecs" @@ -7070,7 +7488,7 @@ defs["ImGuiTableTempData_ImGuiTableTempData"][1]["cimguiname"] = "ImGuiTableTemp defs["ImGuiTableTempData_ImGuiTableTempData"][1]["constructor"] = true defs["ImGuiTableTempData_ImGuiTableTempData"][1]["defaults"] = {} defs["ImGuiTableTempData_ImGuiTableTempData"][1]["funcname"] = "ImGuiTableTempData" -defs["ImGuiTableTempData_ImGuiTableTempData"][1]["location"] = "imgui_internal:2591" +defs["ImGuiTableTempData_ImGuiTableTempData"][1]["location"] = "imgui_internal:2879" defs["ImGuiTableTempData_ImGuiTableTempData"][1]["ov_cimguiname"] = "ImGuiTableTempData_ImGuiTableTempData" defs["ImGuiTableTempData_ImGuiTableTempData"][1]["signature"] = "()" defs["ImGuiTableTempData_ImGuiTableTempData"][1]["stname"] = "ImGuiTableTempData" @@ -7101,7 +7519,7 @@ defs["ImGuiTable_ImGuiTable"][1]["cimguiname"] = "ImGuiTable_ImGuiTable" defs["ImGuiTable_ImGuiTable"][1]["constructor"] = true defs["ImGuiTable_ImGuiTable"][1]["defaults"] = {} defs["ImGuiTable_ImGuiTable"][1]["funcname"] = "ImGuiTable" -defs["ImGuiTable_ImGuiTable"][1]["location"] = "imgui_internal:2567" +defs["ImGuiTable_ImGuiTable"][1]["location"] = "imgui_internal:2855" defs["ImGuiTable_ImGuiTable"][1]["ov_cimguiname"] = "ImGuiTable_ImGuiTable" defs["ImGuiTable_ImGuiTable"][1]["signature"] = "()" defs["ImGuiTable_ImGuiTable"][1]["stname"] = "ImGuiTable" @@ -7117,7 +7535,7 @@ defs["ImGuiTable_destroy"][1]["call_args"] = "(self)" defs["ImGuiTable_destroy"][1]["cimguiname"] = "ImGuiTable_destroy" defs["ImGuiTable_destroy"][1]["defaults"] = {} defs["ImGuiTable_destroy"][1]["destructor"] = true -defs["ImGuiTable_destroy"][1]["location"] = "imgui_internal:2568" +defs["ImGuiTable_destroy"][1]["location"] = "imgui_internal:2856" defs["ImGuiTable_destroy"][1]["ov_cimguiname"] = "ImGuiTable_destroy" defs["ImGuiTable_destroy"][1]["realdestructor"] = true defs["ImGuiTable_destroy"][1]["ret"] = "void" @@ -7134,7 +7552,7 @@ defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["cimguiname"] = "ImGuiTextBuffer_ImGu defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["constructor"] = true defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["defaults"] = {} defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["funcname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["location"] = "imgui:2214" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["location"] = "imgui:2322" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["ov_cimguiname"] = "ImGuiTextBuffer_ImGuiTextBuffer" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["signature"] = "()" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["stname"] = "ImGuiTextBuffer" @@ -7158,7 +7576,7 @@ defs["ImGuiTextBuffer_append"][1]["cimguiname"] = "ImGuiTextBuffer_append" defs["ImGuiTextBuffer_append"][1]["defaults"] = {} defs["ImGuiTextBuffer_append"][1]["defaults"]["str_end"] = "NULL" defs["ImGuiTextBuffer_append"][1]["funcname"] = "append" -defs["ImGuiTextBuffer_append"][1]["location"] = "imgui:2223" +defs["ImGuiTextBuffer_append"][1]["location"] = "imgui:2331" defs["ImGuiTextBuffer_append"][1]["ov_cimguiname"] = "ImGuiTextBuffer_append" defs["ImGuiTextBuffer_append"][1]["ret"] = "void" defs["ImGuiTextBuffer_append"][1]["signature"] = "(const char*,const char*)" @@ -7183,7 +7601,7 @@ defs["ImGuiTextBuffer_appendf"][1]["cimguiname"] = "ImGuiTextBuffer_appendf" defs["ImGuiTextBuffer_appendf"][1]["defaults"] = {} defs["ImGuiTextBuffer_appendf"][1]["funcname"] = "appendf" defs["ImGuiTextBuffer_appendf"][1]["isvararg"] = "...)" -defs["ImGuiTextBuffer_appendf"][1]["location"] = "imgui:2224" +defs["ImGuiTextBuffer_appendf"][1]["location"] = "imgui:2332" defs["ImGuiTextBuffer_appendf"][1]["manual"] = true defs["ImGuiTextBuffer_appendf"][1]["ov_cimguiname"] = "ImGuiTextBuffer_appendf" defs["ImGuiTextBuffer_appendf"][1]["ret"] = "void" @@ -7208,7 +7626,7 @@ defs["ImGuiTextBuffer_appendfv"][1]["call_args"] = "(fmt,args)" defs["ImGuiTextBuffer_appendfv"][1]["cimguiname"] = "ImGuiTextBuffer_appendfv" defs["ImGuiTextBuffer_appendfv"][1]["defaults"] = {} defs["ImGuiTextBuffer_appendfv"][1]["funcname"] = "appendfv" -defs["ImGuiTextBuffer_appendfv"][1]["location"] = "imgui:2225" +defs["ImGuiTextBuffer_appendfv"][1]["location"] = "imgui:2333" defs["ImGuiTextBuffer_appendfv"][1]["ov_cimguiname"] = "ImGuiTextBuffer_appendfv" defs["ImGuiTextBuffer_appendfv"][1]["ret"] = "void" defs["ImGuiTextBuffer_appendfv"][1]["signature"] = "(const char*,va_list)" @@ -7226,7 +7644,7 @@ defs["ImGuiTextBuffer_begin"][1]["call_args"] = "()" defs["ImGuiTextBuffer_begin"][1]["cimguiname"] = "ImGuiTextBuffer_begin" defs["ImGuiTextBuffer_begin"][1]["defaults"] = {} defs["ImGuiTextBuffer_begin"][1]["funcname"] = "begin" -defs["ImGuiTextBuffer_begin"][1]["location"] = "imgui:2216" +defs["ImGuiTextBuffer_begin"][1]["location"] = "imgui:2324" defs["ImGuiTextBuffer_begin"][1]["ov_cimguiname"] = "ImGuiTextBuffer_begin" defs["ImGuiTextBuffer_begin"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_begin"][1]["signature"] = "()const" @@ -7244,7 +7662,7 @@ defs["ImGuiTextBuffer_c_str"][1]["call_args"] = "()" defs["ImGuiTextBuffer_c_str"][1]["cimguiname"] = "ImGuiTextBuffer_c_str" defs["ImGuiTextBuffer_c_str"][1]["defaults"] = {} defs["ImGuiTextBuffer_c_str"][1]["funcname"] = "c_str" -defs["ImGuiTextBuffer_c_str"][1]["location"] = "imgui:2222" +defs["ImGuiTextBuffer_c_str"][1]["location"] = "imgui:2330" defs["ImGuiTextBuffer_c_str"][1]["ov_cimguiname"] = "ImGuiTextBuffer_c_str" defs["ImGuiTextBuffer_c_str"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_c_str"][1]["signature"] = "()const" @@ -7262,7 +7680,7 @@ defs["ImGuiTextBuffer_clear"][1]["call_args"] = "()" defs["ImGuiTextBuffer_clear"][1]["cimguiname"] = "ImGuiTextBuffer_clear" defs["ImGuiTextBuffer_clear"][1]["defaults"] = {} defs["ImGuiTextBuffer_clear"][1]["funcname"] = "clear" -defs["ImGuiTextBuffer_clear"][1]["location"] = "imgui:2220" +defs["ImGuiTextBuffer_clear"][1]["location"] = "imgui:2328" defs["ImGuiTextBuffer_clear"][1]["ov_cimguiname"] = "ImGuiTextBuffer_clear" defs["ImGuiTextBuffer_clear"][1]["ret"] = "void" defs["ImGuiTextBuffer_clear"][1]["signature"] = "()" @@ -7296,7 +7714,7 @@ defs["ImGuiTextBuffer_empty"][1]["call_args"] = "()" defs["ImGuiTextBuffer_empty"][1]["cimguiname"] = "ImGuiTextBuffer_empty" defs["ImGuiTextBuffer_empty"][1]["defaults"] = {} defs["ImGuiTextBuffer_empty"][1]["funcname"] = "empty" -defs["ImGuiTextBuffer_empty"][1]["location"] = "imgui:2219" +defs["ImGuiTextBuffer_empty"][1]["location"] = "imgui:2327" defs["ImGuiTextBuffer_empty"][1]["ov_cimguiname"] = "ImGuiTextBuffer_empty" defs["ImGuiTextBuffer_empty"][1]["ret"] = "bool" defs["ImGuiTextBuffer_empty"][1]["signature"] = "()const" @@ -7314,7 +7732,7 @@ defs["ImGuiTextBuffer_end"][1]["call_args"] = "()" defs["ImGuiTextBuffer_end"][1]["cimguiname"] = "ImGuiTextBuffer_end" defs["ImGuiTextBuffer_end"][1]["defaults"] = {} defs["ImGuiTextBuffer_end"][1]["funcname"] = "end" -defs["ImGuiTextBuffer_end"][1]["location"] = "imgui:2217" +defs["ImGuiTextBuffer_end"][1]["location"] = "imgui:2325" defs["ImGuiTextBuffer_end"][1]["ov_cimguiname"] = "ImGuiTextBuffer_end" defs["ImGuiTextBuffer_end"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_end"][1]["signature"] = "()const" @@ -7335,7 +7753,7 @@ defs["ImGuiTextBuffer_reserve"][1]["call_args"] = "(capacity)" defs["ImGuiTextBuffer_reserve"][1]["cimguiname"] = "ImGuiTextBuffer_reserve" defs["ImGuiTextBuffer_reserve"][1]["defaults"] = {} defs["ImGuiTextBuffer_reserve"][1]["funcname"] = "reserve" -defs["ImGuiTextBuffer_reserve"][1]["location"] = "imgui:2221" +defs["ImGuiTextBuffer_reserve"][1]["location"] = "imgui:2329" defs["ImGuiTextBuffer_reserve"][1]["ov_cimguiname"] = "ImGuiTextBuffer_reserve" defs["ImGuiTextBuffer_reserve"][1]["ret"] = "void" defs["ImGuiTextBuffer_reserve"][1]["signature"] = "(int)" @@ -7353,7 +7771,7 @@ defs["ImGuiTextBuffer_size"][1]["call_args"] = "()" defs["ImGuiTextBuffer_size"][1]["cimguiname"] = "ImGuiTextBuffer_size" defs["ImGuiTextBuffer_size"][1]["defaults"] = {} defs["ImGuiTextBuffer_size"][1]["funcname"] = "size" -defs["ImGuiTextBuffer_size"][1]["location"] = "imgui:2218" +defs["ImGuiTextBuffer_size"][1]["location"] = "imgui:2326" defs["ImGuiTextBuffer_size"][1]["ov_cimguiname"] = "ImGuiTextBuffer_size" defs["ImGuiTextBuffer_size"][1]["ret"] = "int" defs["ImGuiTextBuffer_size"][1]["signature"] = "()const" @@ -7371,7 +7789,7 @@ defs["ImGuiTextFilter_Build"][1]["call_args"] = "()" defs["ImGuiTextFilter_Build"][1]["cimguiname"] = "ImGuiTextFilter_Build" defs["ImGuiTextFilter_Build"][1]["defaults"] = {} defs["ImGuiTextFilter_Build"][1]["funcname"] = "Build" -defs["ImGuiTextFilter_Build"][1]["location"] = "imgui:2187" +defs["ImGuiTextFilter_Build"][1]["location"] = "imgui:2295" defs["ImGuiTextFilter_Build"][1]["ov_cimguiname"] = "ImGuiTextFilter_Build" defs["ImGuiTextFilter_Build"][1]["ret"] = "void" defs["ImGuiTextFilter_Build"][1]["signature"] = "()" @@ -7389,7 +7807,7 @@ defs["ImGuiTextFilter_Clear"][1]["call_args"] = "()" defs["ImGuiTextFilter_Clear"][1]["cimguiname"] = "ImGuiTextFilter_Clear" defs["ImGuiTextFilter_Clear"][1]["defaults"] = {} defs["ImGuiTextFilter_Clear"][1]["funcname"] = "Clear" -defs["ImGuiTextFilter_Clear"][1]["location"] = "imgui:2188" +defs["ImGuiTextFilter_Clear"][1]["location"] = "imgui:2296" defs["ImGuiTextFilter_Clear"][1]["ov_cimguiname"] = "ImGuiTextFilter_Clear" defs["ImGuiTextFilter_Clear"][1]["ret"] = "void" defs["ImGuiTextFilter_Clear"][1]["signature"] = "()" @@ -7415,7 +7833,7 @@ defs["ImGuiTextFilter_Draw"][1]["defaults"] = {} defs["ImGuiTextFilter_Draw"][1]["defaults"]["label"] = "\"Filter(inc,-exc)\"" defs["ImGuiTextFilter_Draw"][1]["defaults"]["width"] = "0.0f" defs["ImGuiTextFilter_Draw"][1]["funcname"] = "Draw" -defs["ImGuiTextFilter_Draw"][1]["location"] = "imgui:2185" +defs["ImGuiTextFilter_Draw"][1]["location"] = "imgui:2293" defs["ImGuiTextFilter_Draw"][1]["ov_cimguiname"] = "ImGuiTextFilter_Draw" defs["ImGuiTextFilter_Draw"][1]["ret"] = "bool" defs["ImGuiTextFilter_Draw"][1]["signature"] = "(const char*,float)" @@ -7435,7 +7853,7 @@ defs["ImGuiTextFilter_ImGuiTextFilter"][1]["constructor"] = true defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"] = {} defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"]["default_filter"] = "\"\"" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["funcname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["location"] = "imgui:2184" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["location"] = "imgui:2292" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["ov_cimguiname"] = "ImGuiTextFilter_ImGuiTextFilter" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["signature"] = "(const char*)" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["stname"] = "ImGuiTextFilter" @@ -7452,7 +7870,7 @@ defs["ImGuiTextFilter_IsActive"][1]["call_args"] = "()" defs["ImGuiTextFilter_IsActive"][1]["cimguiname"] = "ImGuiTextFilter_IsActive" defs["ImGuiTextFilter_IsActive"][1]["defaults"] = {} defs["ImGuiTextFilter_IsActive"][1]["funcname"] = "IsActive" -defs["ImGuiTextFilter_IsActive"][1]["location"] = "imgui:2189" +defs["ImGuiTextFilter_IsActive"][1]["location"] = "imgui:2297" defs["ImGuiTextFilter_IsActive"][1]["ov_cimguiname"] = "ImGuiTextFilter_IsActive" defs["ImGuiTextFilter_IsActive"][1]["ret"] = "bool" defs["ImGuiTextFilter_IsActive"][1]["signature"] = "()const" @@ -7477,7 +7895,7 @@ defs["ImGuiTextFilter_PassFilter"][1]["cimguiname"] = "ImGuiTextFilter_PassFilte defs["ImGuiTextFilter_PassFilter"][1]["defaults"] = {} defs["ImGuiTextFilter_PassFilter"][1]["defaults"]["text_end"] = "NULL" defs["ImGuiTextFilter_PassFilter"][1]["funcname"] = "PassFilter" -defs["ImGuiTextFilter_PassFilter"][1]["location"] = "imgui:2186" +defs["ImGuiTextFilter_PassFilter"][1]["location"] = "imgui:2294" defs["ImGuiTextFilter_PassFilter"][1]["ov_cimguiname"] = "ImGuiTextFilter_PassFilter" defs["ImGuiTextFilter_PassFilter"][1]["ret"] = "bool" defs["ImGuiTextFilter_PassFilter"][1]["signature"] = "(const char*,const char*)const" @@ -7499,6 +7917,117 @@ defs["ImGuiTextFilter_destroy"][1]["ret"] = "void" defs["ImGuiTextFilter_destroy"][1]["signature"] = "(ImGuiTextFilter*)" defs["ImGuiTextFilter_destroy"][1]["stname"] = "ImGuiTextFilter" defs["ImGuiTextFilter_destroy"]["(ImGuiTextFilter*)"] = defs["ImGuiTextFilter_destroy"][1] +defs["ImGuiTextIndex_append"] = {} +defs["ImGuiTextIndex_append"][1] = {} +defs["ImGuiTextIndex_append"][1]["args"] = "(ImGuiTextIndex* self,const char* base,int old_size,int new_size)" +defs["ImGuiTextIndex_append"][1]["argsT"] = {} +defs["ImGuiTextIndex_append"][1]["argsT"][1] = {} +defs["ImGuiTextIndex_append"][1]["argsT"][1]["name"] = "self" +defs["ImGuiTextIndex_append"][1]["argsT"][1]["type"] = "ImGuiTextIndex*" +defs["ImGuiTextIndex_append"][1]["argsT"][2] = {} +defs["ImGuiTextIndex_append"][1]["argsT"][2]["name"] = "base" +defs["ImGuiTextIndex_append"][1]["argsT"][2]["type"] = "const char*" +defs["ImGuiTextIndex_append"][1]["argsT"][3] = {} +defs["ImGuiTextIndex_append"][1]["argsT"][3]["name"] = "old_size" +defs["ImGuiTextIndex_append"][1]["argsT"][3]["type"] = "int" +defs["ImGuiTextIndex_append"][1]["argsT"][4] = {} +defs["ImGuiTextIndex_append"][1]["argsT"][4]["name"] = "new_size" +defs["ImGuiTextIndex_append"][1]["argsT"][4]["type"] = "int" +defs["ImGuiTextIndex_append"][1]["argsoriginal"] = "(const char* base,int old_size,int new_size)" +defs["ImGuiTextIndex_append"][1]["call_args"] = "(base,old_size,new_size)" +defs["ImGuiTextIndex_append"][1]["cimguiname"] = "ImGuiTextIndex_append" +defs["ImGuiTextIndex_append"][1]["defaults"] = {} +defs["ImGuiTextIndex_append"][1]["funcname"] = "append" +defs["ImGuiTextIndex_append"][1]["location"] = "imgui_internal:725" +defs["ImGuiTextIndex_append"][1]["ov_cimguiname"] = "ImGuiTextIndex_append" +defs["ImGuiTextIndex_append"][1]["ret"] = "void" +defs["ImGuiTextIndex_append"][1]["signature"] = "(const char*,int,int)" +defs["ImGuiTextIndex_append"][1]["stname"] = "ImGuiTextIndex" +defs["ImGuiTextIndex_append"]["(const char*,int,int)"] = defs["ImGuiTextIndex_append"][1] +defs["ImGuiTextIndex_clear"] = {} +defs["ImGuiTextIndex_clear"][1] = {} +defs["ImGuiTextIndex_clear"][1]["args"] = "(ImGuiTextIndex* self)" +defs["ImGuiTextIndex_clear"][1]["argsT"] = {} +defs["ImGuiTextIndex_clear"][1]["argsT"][1] = {} +defs["ImGuiTextIndex_clear"][1]["argsT"][1]["name"] = "self" +defs["ImGuiTextIndex_clear"][1]["argsT"][1]["type"] = "ImGuiTextIndex*" +defs["ImGuiTextIndex_clear"][1]["argsoriginal"] = "()" +defs["ImGuiTextIndex_clear"][1]["call_args"] = "()" +defs["ImGuiTextIndex_clear"][1]["cimguiname"] = "ImGuiTextIndex_clear" +defs["ImGuiTextIndex_clear"][1]["defaults"] = {} +defs["ImGuiTextIndex_clear"][1]["funcname"] = "clear" +defs["ImGuiTextIndex_clear"][1]["location"] = "imgui_internal:721" +defs["ImGuiTextIndex_clear"][1]["ov_cimguiname"] = "ImGuiTextIndex_clear" +defs["ImGuiTextIndex_clear"][1]["ret"] = "void" +defs["ImGuiTextIndex_clear"][1]["signature"] = "()" +defs["ImGuiTextIndex_clear"][1]["stname"] = "ImGuiTextIndex" +defs["ImGuiTextIndex_clear"]["()"] = defs["ImGuiTextIndex_clear"][1] +defs["ImGuiTextIndex_get_line_begin"] = {} +defs["ImGuiTextIndex_get_line_begin"][1] = {} +defs["ImGuiTextIndex_get_line_begin"][1]["args"] = "(ImGuiTextIndex* self,const char* base,int n)" +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"] = {} +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][1] = {} +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][1]["name"] = "self" +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][1]["type"] = "ImGuiTextIndex*" +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][2] = {} +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][2]["name"] = "base" +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][2]["type"] = "const char*" +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][3] = {} +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][3]["name"] = "n" +defs["ImGuiTextIndex_get_line_begin"][1]["argsT"][3]["type"] = "int" +defs["ImGuiTextIndex_get_line_begin"][1]["argsoriginal"] = "(const char* base,int n)" +defs["ImGuiTextIndex_get_line_begin"][1]["call_args"] = "(base,n)" +defs["ImGuiTextIndex_get_line_begin"][1]["cimguiname"] = "ImGuiTextIndex_get_line_begin" +defs["ImGuiTextIndex_get_line_begin"][1]["defaults"] = {} +defs["ImGuiTextIndex_get_line_begin"][1]["funcname"] = "get_line_begin" +defs["ImGuiTextIndex_get_line_begin"][1]["location"] = "imgui_internal:723" +defs["ImGuiTextIndex_get_line_begin"][1]["ov_cimguiname"] = "ImGuiTextIndex_get_line_begin" +defs["ImGuiTextIndex_get_line_begin"][1]["ret"] = "const char*" +defs["ImGuiTextIndex_get_line_begin"][1]["signature"] = "(const char*,int)" +defs["ImGuiTextIndex_get_line_begin"][1]["stname"] = "ImGuiTextIndex" +defs["ImGuiTextIndex_get_line_begin"]["(const char*,int)"] = defs["ImGuiTextIndex_get_line_begin"][1] +defs["ImGuiTextIndex_get_line_end"] = {} +defs["ImGuiTextIndex_get_line_end"][1] = {} +defs["ImGuiTextIndex_get_line_end"][1]["args"] = "(ImGuiTextIndex* self,const char* base,int n)" +defs["ImGuiTextIndex_get_line_end"][1]["argsT"] = {} +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][1] = {} +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][1]["name"] = "self" +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][1]["type"] = "ImGuiTextIndex*" +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][2] = {} +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][2]["name"] = "base" +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][2]["type"] = "const char*" +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][3] = {} +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][3]["name"] = "n" +defs["ImGuiTextIndex_get_line_end"][1]["argsT"][3]["type"] = "int" +defs["ImGuiTextIndex_get_line_end"][1]["argsoriginal"] = "(const char* base,int n)" +defs["ImGuiTextIndex_get_line_end"][1]["call_args"] = "(base,n)" +defs["ImGuiTextIndex_get_line_end"][1]["cimguiname"] = "ImGuiTextIndex_get_line_end" +defs["ImGuiTextIndex_get_line_end"][1]["defaults"] = {} +defs["ImGuiTextIndex_get_line_end"][1]["funcname"] = "get_line_end" +defs["ImGuiTextIndex_get_line_end"][1]["location"] = "imgui_internal:724" +defs["ImGuiTextIndex_get_line_end"][1]["ov_cimguiname"] = "ImGuiTextIndex_get_line_end" +defs["ImGuiTextIndex_get_line_end"][1]["ret"] = "const char*" +defs["ImGuiTextIndex_get_line_end"][1]["signature"] = "(const char*,int)" +defs["ImGuiTextIndex_get_line_end"][1]["stname"] = "ImGuiTextIndex" +defs["ImGuiTextIndex_get_line_end"]["(const char*,int)"] = defs["ImGuiTextIndex_get_line_end"][1] +defs["ImGuiTextIndex_size"] = {} +defs["ImGuiTextIndex_size"][1] = {} +defs["ImGuiTextIndex_size"][1]["args"] = "(ImGuiTextIndex* self)" +defs["ImGuiTextIndex_size"][1]["argsT"] = {} +defs["ImGuiTextIndex_size"][1]["argsT"][1] = {} +defs["ImGuiTextIndex_size"][1]["argsT"][1]["name"] = "self" +defs["ImGuiTextIndex_size"][1]["argsT"][1]["type"] = "ImGuiTextIndex*" +defs["ImGuiTextIndex_size"][1]["argsoriginal"] = "()" +defs["ImGuiTextIndex_size"][1]["call_args"] = "()" +defs["ImGuiTextIndex_size"][1]["cimguiname"] = "ImGuiTextIndex_size" +defs["ImGuiTextIndex_size"][1]["defaults"] = {} +defs["ImGuiTextIndex_size"][1]["funcname"] = "size" +defs["ImGuiTextIndex_size"][1]["location"] = "imgui_internal:722" +defs["ImGuiTextIndex_size"][1]["ov_cimguiname"] = "ImGuiTextIndex_size" +defs["ImGuiTextIndex_size"][1]["ret"] = "int" +defs["ImGuiTextIndex_size"][1]["signature"] = "()" +defs["ImGuiTextIndex_size"][1]["stname"] = "ImGuiTextIndex" +defs["ImGuiTextIndex_size"]["()"] = defs["ImGuiTextIndex_size"][1] defs["ImGuiTextRange_ImGuiTextRange"] = {} defs["ImGuiTextRange_ImGuiTextRange"][1] = {} defs["ImGuiTextRange_ImGuiTextRange"][1]["args"] = "()" @@ -7509,8 +8038,8 @@ defs["ImGuiTextRange_ImGuiTextRange"][1]["cimguiname"] = "ImGuiTextRange_ImGuiTe defs["ImGuiTextRange_ImGuiTextRange"][1]["constructor"] = true defs["ImGuiTextRange_ImGuiTextRange"][1]["defaults"] = {} defs["ImGuiTextRange_ImGuiTextRange"][1]["funcname"] = "ImGuiTextRange" -defs["ImGuiTextRange_ImGuiTextRange"][1]["location"] = "imgui:2197" -defs["ImGuiTextRange_ImGuiTextRange"][1]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRangeNil" +defs["ImGuiTextRange_ImGuiTextRange"][1]["location"] = "imgui:2305" +defs["ImGuiTextRange_ImGuiTextRange"][1]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRange_Nil" defs["ImGuiTextRange_ImGuiTextRange"][1]["signature"] = "()" defs["ImGuiTextRange_ImGuiTextRange"][1]["stname"] = "ImGuiTextRange" defs["ImGuiTextRange_ImGuiTextRange"][2] = {} @@ -7528,8 +8057,8 @@ defs["ImGuiTextRange_ImGuiTextRange"][2]["cimguiname"] = "ImGuiTextRange_ImGuiTe defs["ImGuiTextRange_ImGuiTextRange"][2]["constructor"] = true defs["ImGuiTextRange_ImGuiTextRange"][2]["defaults"] = {} defs["ImGuiTextRange_ImGuiTextRange"][2]["funcname"] = "ImGuiTextRange" -defs["ImGuiTextRange_ImGuiTextRange"][2]["location"] = "imgui:2198" -defs["ImGuiTextRange_ImGuiTextRange"][2]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRangeStr" +defs["ImGuiTextRange_ImGuiTextRange"][2]["location"] = "imgui:2306" +defs["ImGuiTextRange_ImGuiTextRange"][2]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRange_Str" defs["ImGuiTextRange_ImGuiTextRange"][2]["signature"] = "(const char*,const char*)" defs["ImGuiTextRange_ImGuiTextRange"][2]["stname"] = "ImGuiTextRange" defs["ImGuiTextRange_ImGuiTextRange"]["()"] = defs["ImGuiTextRange_ImGuiTextRange"][1] @@ -7562,7 +8091,7 @@ defs["ImGuiTextRange_empty"][1]["call_args"] = "()" defs["ImGuiTextRange_empty"][1]["cimguiname"] = "ImGuiTextRange_empty" defs["ImGuiTextRange_empty"][1]["defaults"] = {} defs["ImGuiTextRange_empty"][1]["funcname"] = "empty" -defs["ImGuiTextRange_empty"][1]["location"] = "imgui:2199" +defs["ImGuiTextRange_empty"][1]["location"] = "imgui:2307" defs["ImGuiTextRange_empty"][1]["ov_cimguiname"] = "ImGuiTextRange_empty" defs["ImGuiTextRange_empty"][1]["ret"] = "bool" defs["ImGuiTextRange_empty"][1]["signature"] = "()const" @@ -7586,7 +8115,7 @@ defs["ImGuiTextRange_split"][1]["call_args"] = "(separator,out)" defs["ImGuiTextRange_split"][1]["cimguiname"] = "ImGuiTextRange_split" defs["ImGuiTextRange_split"][1]["defaults"] = {} defs["ImGuiTextRange_split"][1]["funcname"] = "split" -defs["ImGuiTextRange_split"][1]["location"] = "imgui:2200" +defs["ImGuiTextRange_split"][1]["location"] = "imgui:2308" defs["ImGuiTextRange_split"][1]["ov_cimguiname"] = "ImGuiTextRange_split" defs["ImGuiTextRange_split"][1]["ret"] = "void" defs["ImGuiTextRange_split"][1]["signature"] = "(char,ImVector_ImGuiTextRange*)const" @@ -7610,7 +8139,7 @@ defs["ImGuiViewportP_CalcWorkRectPos"][1]["call_args"] = "(off_min)" defs["ImGuiViewportP_CalcWorkRectPos"][1]["cimguiname"] = "ImGuiViewportP_CalcWorkRectPos" defs["ImGuiViewportP_CalcWorkRectPos"][1]["defaults"] = {} defs["ImGuiViewportP_CalcWorkRectPos"][1]["funcname"] = "CalcWorkRectPos" -defs["ImGuiViewportP_CalcWorkRectPos"][1]["location"] = "imgui_internal:1548" +defs["ImGuiViewportP_CalcWorkRectPos"][1]["location"] = "imgui_internal:1742" defs["ImGuiViewportP_CalcWorkRectPos"][1]["nonUDT"] = 1 defs["ImGuiViewportP_CalcWorkRectPos"][1]["ov_cimguiname"] = "ImGuiViewportP_CalcWorkRectPos" defs["ImGuiViewportP_CalcWorkRectPos"][1]["ret"] = "void" @@ -7638,7 +8167,7 @@ defs["ImGuiViewportP_CalcWorkRectSize"][1]["call_args"] = "(off_min,off_max)" defs["ImGuiViewportP_CalcWorkRectSize"][1]["cimguiname"] = "ImGuiViewportP_CalcWorkRectSize" defs["ImGuiViewportP_CalcWorkRectSize"][1]["defaults"] = {} defs["ImGuiViewportP_CalcWorkRectSize"][1]["funcname"] = "CalcWorkRectSize" -defs["ImGuiViewportP_CalcWorkRectSize"][1]["location"] = "imgui_internal:1549" +defs["ImGuiViewportP_CalcWorkRectSize"][1]["location"] = "imgui_internal:1743" defs["ImGuiViewportP_CalcWorkRectSize"][1]["nonUDT"] = 1 defs["ImGuiViewportP_CalcWorkRectSize"][1]["ov_cimguiname"] = "ImGuiViewportP_CalcWorkRectSize" defs["ImGuiViewportP_CalcWorkRectSize"][1]["ret"] = "void" @@ -7657,7 +8186,7 @@ defs["ImGuiViewportP_ClearRequestFlags"][1]["call_args"] = "()" defs["ImGuiViewportP_ClearRequestFlags"][1]["cimguiname"] = "ImGuiViewportP_ClearRequestFlags" defs["ImGuiViewportP_ClearRequestFlags"][1]["defaults"] = {} defs["ImGuiViewportP_ClearRequestFlags"][1]["funcname"] = "ClearRequestFlags" -defs["ImGuiViewportP_ClearRequestFlags"][1]["location"] = "imgui_internal:1545" +defs["ImGuiViewportP_ClearRequestFlags"][1]["location"] = "imgui_internal:1739" defs["ImGuiViewportP_ClearRequestFlags"][1]["ov_cimguiname"] = "ImGuiViewportP_ClearRequestFlags" defs["ImGuiViewportP_ClearRequestFlags"][1]["ret"] = "void" defs["ImGuiViewportP_ClearRequestFlags"][1]["signature"] = "()" @@ -7678,7 +8207,7 @@ defs["ImGuiViewportP_GetBuildWorkRect"][1]["call_args"] = "()" defs["ImGuiViewportP_GetBuildWorkRect"][1]["cimguiname"] = "ImGuiViewportP_GetBuildWorkRect" defs["ImGuiViewportP_GetBuildWorkRect"][1]["defaults"] = {} defs["ImGuiViewportP_GetBuildWorkRect"][1]["funcname"] = "GetBuildWorkRect" -defs["ImGuiViewportP_GetBuildWorkRect"][1]["location"] = "imgui_internal:1555" +defs["ImGuiViewportP_GetBuildWorkRect"][1]["location"] = "imgui_internal:1749" defs["ImGuiViewportP_GetBuildWorkRect"][1]["nonUDT"] = 1 defs["ImGuiViewportP_GetBuildWorkRect"][1]["ov_cimguiname"] = "ImGuiViewportP_GetBuildWorkRect" defs["ImGuiViewportP_GetBuildWorkRect"][1]["ret"] = "void" @@ -7700,7 +8229,7 @@ defs["ImGuiViewportP_GetMainRect"][1]["call_args"] = "()" defs["ImGuiViewportP_GetMainRect"][1]["cimguiname"] = "ImGuiViewportP_GetMainRect" defs["ImGuiViewportP_GetMainRect"][1]["defaults"] = {} defs["ImGuiViewportP_GetMainRect"][1]["funcname"] = "GetMainRect" -defs["ImGuiViewportP_GetMainRect"][1]["location"] = "imgui_internal:1553" +defs["ImGuiViewportP_GetMainRect"][1]["location"] = "imgui_internal:1747" defs["ImGuiViewportP_GetMainRect"][1]["nonUDT"] = 1 defs["ImGuiViewportP_GetMainRect"][1]["ov_cimguiname"] = "ImGuiViewportP_GetMainRect" defs["ImGuiViewportP_GetMainRect"][1]["ret"] = "void" @@ -7722,7 +8251,7 @@ defs["ImGuiViewportP_GetWorkRect"][1]["call_args"] = "()" defs["ImGuiViewportP_GetWorkRect"][1]["cimguiname"] = "ImGuiViewportP_GetWorkRect" defs["ImGuiViewportP_GetWorkRect"][1]["defaults"] = {} defs["ImGuiViewportP_GetWorkRect"][1]["funcname"] = "GetWorkRect" -defs["ImGuiViewportP_GetWorkRect"][1]["location"] = "imgui_internal:1554" +defs["ImGuiViewportP_GetWorkRect"][1]["location"] = "imgui_internal:1748" defs["ImGuiViewportP_GetWorkRect"][1]["nonUDT"] = 1 defs["ImGuiViewportP_GetWorkRect"][1]["ov_cimguiname"] = "ImGuiViewportP_GetWorkRect" defs["ImGuiViewportP_GetWorkRect"][1]["ret"] = "void" @@ -7739,7 +8268,7 @@ defs["ImGuiViewportP_ImGuiViewportP"][1]["cimguiname"] = "ImGuiViewportP_ImGuiVi defs["ImGuiViewportP_ImGuiViewportP"][1]["constructor"] = true defs["ImGuiViewportP_ImGuiViewportP"][1]["defaults"] = {} defs["ImGuiViewportP_ImGuiViewportP"][1]["funcname"] = "ImGuiViewportP" -defs["ImGuiViewportP_ImGuiViewportP"][1]["location"] = "imgui_internal:1543" +defs["ImGuiViewportP_ImGuiViewportP"][1]["location"] = "imgui_internal:1737" defs["ImGuiViewportP_ImGuiViewportP"][1]["ov_cimguiname"] = "ImGuiViewportP_ImGuiViewportP" defs["ImGuiViewportP_ImGuiViewportP"][1]["signature"] = "()" defs["ImGuiViewportP_ImGuiViewportP"][1]["stname"] = "ImGuiViewportP" @@ -7756,7 +8285,7 @@ defs["ImGuiViewportP_UpdateWorkRect"][1]["call_args"] = "()" defs["ImGuiViewportP_UpdateWorkRect"][1]["cimguiname"] = "ImGuiViewportP_UpdateWorkRect" defs["ImGuiViewportP_UpdateWorkRect"][1]["defaults"] = {} defs["ImGuiViewportP_UpdateWorkRect"][1]["funcname"] = "UpdateWorkRect" -defs["ImGuiViewportP_UpdateWorkRect"][1]["location"] = "imgui_internal:1550" +defs["ImGuiViewportP_UpdateWorkRect"][1]["location"] = "imgui_internal:1744" defs["ImGuiViewportP_UpdateWorkRect"][1]["ov_cimguiname"] = "ImGuiViewportP_UpdateWorkRect" defs["ImGuiViewportP_UpdateWorkRect"][1]["ret"] = "void" defs["ImGuiViewportP_UpdateWorkRect"][1]["signature"] = "()" @@ -7773,7 +8302,7 @@ defs["ImGuiViewportP_destroy"][1]["call_args"] = "(self)" defs["ImGuiViewportP_destroy"][1]["cimguiname"] = "ImGuiViewportP_destroy" defs["ImGuiViewportP_destroy"][1]["defaults"] = {} defs["ImGuiViewportP_destroy"][1]["destructor"] = true -defs["ImGuiViewportP_destroy"][1]["location"] = "imgui_internal:1544" +defs["ImGuiViewportP_destroy"][1]["location"] = "imgui_internal:1738" defs["ImGuiViewportP_destroy"][1]["ov_cimguiname"] = "ImGuiViewportP_destroy" defs["ImGuiViewportP_destroy"][1]["realdestructor"] = true defs["ImGuiViewportP_destroy"][1]["ret"] = "void" @@ -7795,7 +8324,7 @@ defs["ImGuiViewport_GetCenter"][1]["call_args"] = "()" defs["ImGuiViewport_GetCenter"][1]["cimguiname"] = "ImGuiViewport_GetCenter" defs["ImGuiViewport_GetCenter"][1]["defaults"] = {} defs["ImGuiViewport_GetCenter"][1]["funcname"] = "GetCenter" -defs["ImGuiViewport_GetCenter"][1]["location"] = "imgui:2955" +defs["ImGuiViewport_GetCenter"][1]["location"] = "imgui:3070" defs["ImGuiViewport_GetCenter"][1]["nonUDT"] = 1 defs["ImGuiViewport_GetCenter"][1]["ov_cimguiname"] = "ImGuiViewport_GetCenter" defs["ImGuiViewport_GetCenter"][1]["ret"] = "void" @@ -7817,7 +8346,7 @@ defs["ImGuiViewport_GetWorkCenter"][1]["call_args"] = "()" defs["ImGuiViewport_GetWorkCenter"][1]["cimguiname"] = "ImGuiViewport_GetWorkCenter" defs["ImGuiViewport_GetWorkCenter"][1]["defaults"] = {} defs["ImGuiViewport_GetWorkCenter"][1]["funcname"] = "GetWorkCenter" -defs["ImGuiViewport_GetWorkCenter"][1]["location"] = "imgui:2956" +defs["ImGuiViewport_GetWorkCenter"][1]["location"] = "imgui:3071" defs["ImGuiViewport_GetWorkCenter"][1]["nonUDT"] = 1 defs["ImGuiViewport_GetWorkCenter"][1]["ov_cimguiname"] = "ImGuiViewport_GetWorkCenter" defs["ImGuiViewport_GetWorkCenter"][1]["ret"] = "void" @@ -7834,7 +8363,7 @@ defs["ImGuiViewport_ImGuiViewport"][1]["cimguiname"] = "ImGuiViewport_ImGuiViewp defs["ImGuiViewport_ImGuiViewport"][1]["constructor"] = true defs["ImGuiViewport_ImGuiViewport"][1]["defaults"] = {} defs["ImGuiViewport_ImGuiViewport"][1]["funcname"] = "ImGuiViewport" -defs["ImGuiViewport_ImGuiViewport"][1]["location"] = "imgui:2951" +defs["ImGuiViewport_ImGuiViewport"][1]["location"] = "imgui:3066" defs["ImGuiViewport_ImGuiViewport"][1]["ov_cimguiname"] = "ImGuiViewport_ImGuiViewport" defs["ImGuiViewport_ImGuiViewport"][1]["signature"] = "()" defs["ImGuiViewport_ImGuiViewport"][1]["stname"] = "ImGuiViewport" @@ -7850,7 +8379,7 @@ defs["ImGuiViewport_destroy"][1]["call_args"] = "(self)" defs["ImGuiViewport_destroy"][1]["cimguiname"] = "ImGuiViewport_destroy" defs["ImGuiViewport_destroy"][1]["defaults"] = {} defs["ImGuiViewport_destroy"][1]["destructor"] = true -defs["ImGuiViewport_destroy"][1]["location"] = "imgui:2952" +defs["ImGuiViewport_destroy"][1]["location"] = "imgui:3067" defs["ImGuiViewport_destroy"][1]["ov_cimguiname"] = "ImGuiViewport_destroy" defs["ImGuiViewport_destroy"][1]["realdestructor"] = true defs["ImGuiViewport_destroy"][1]["ret"] = "void" @@ -7867,7 +8396,7 @@ defs["ImGuiWindowClass_ImGuiWindowClass"][1]["cimguiname"] = "ImGuiWindowClass_I defs["ImGuiWindowClass_ImGuiWindowClass"][1]["constructor"] = true defs["ImGuiWindowClass_ImGuiWindowClass"][1]["defaults"] = {} defs["ImGuiWindowClass_ImGuiWindowClass"][1]["funcname"] = "ImGuiWindowClass" -defs["ImGuiWindowClass_ImGuiWindowClass"][1]["location"] = "imgui:2111" +defs["ImGuiWindowClass_ImGuiWindowClass"][1]["location"] = "imgui:2219" defs["ImGuiWindowClass_ImGuiWindowClass"][1]["ov_cimguiname"] = "ImGuiWindowClass_ImGuiWindowClass" defs["ImGuiWindowClass_ImGuiWindowClass"][1]["signature"] = "()" defs["ImGuiWindowClass_ImGuiWindowClass"][1]["stname"] = "ImGuiWindowClass" @@ -7900,7 +8429,7 @@ defs["ImGuiWindowSettings_GetName"][1]["call_args"] = "()" defs["ImGuiWindowSettings_GetName"][1]["cimguiname"] = "ImGuiWindowSettings_GetName" defs["ImGuiWindowSettings_GetName"][1]["defaults"] = {} defs["ImGuiWindowSettings_GetName"][1]["funcname"] = "GetName" -defs["ImGuiWindowSettings_GetName"][1]["location"] = "imgui_internal:1579" +defs["ImGuiWindowSettings_GetName"][1]["location"] = "imgui_internal:1773" defs["ImGuiWindowSettings_GetName"][1]["ov_cimguiname"] = "ImGuiWindowSettings_GetName" defs["ImGuiWindowSettings_GetName"][1]["ret"] = "char*" defs["ImGuiWindowSettings_GetName"][1]["signature"] = "()" @@ -7916,7 +8445,7 @@ defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["cimguiname"] = "ImGuiWindowS defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["constructor"] = true defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["defaults"] = {} defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["funcname"] = "ImGuiWindowSettings" -defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["location"] = "imgui_internal:1578" +defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["location"] = "imgui_internal:1772" defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["ov_cimguiname"] = "ImGuiWindowSettings_ImGuiWindowSettings" defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["signature"] = "()" defs["ImGuiWindowSettings_ImGuiWindowSettings"][1]["stname"] = "ImGuiWindowSettings" @@ -7949,7 +8478,7 @@ defs["ImGuiWindow_CalcFontSize"][1]["call_args"] = "()" defs["ImGuiWindow_CalcFontSize"][1]["cimguiname"] = "ImGuiWindow_CalcFontSize" defs["ImGuiWindow_CalcFontSize"][1]["defaults"] = {} defs["ImGuiWindow_CalcFontSize"][1]["funcname"] = "CalcFontSize" -defs["ImGuiWindow_CalcFontSize"][1]["location"] = "imgui_internal:2285" +defs["ImGuiWindow_CalcFontSize"][1]["location"] = "imgui_internal:2562" defs["ImGuiWindow_CalcFontSize"][1]["ov_cimguiname"] = "ImGuiWindow_CalcFontSize" defs["ImGuiWindow_CalcFontSize"][1]["ret"] = "float" defs["ImGuiWindow_CalcFontSize"][1]["signature"] = "()const" @@ -7974,8 +8503,8 @@ defs["ImGuiWindow_GetID"][1]["cimguiname"] = "ImGuiWindow_GetID" defs["ImGuiWindow_GetID"][1]["defaults"] = {} defs["ImGuiWindow_GetID"][1]["defaults"]["str_end"] = "NULL" defs["ImGuiWindow_GetID"][1]["funcname"] = "GetID" -defs["ImGuiWindow_GetID"][1]["location"] = "imgui_internal:2275" -defs["ImGuiWindow_GetID"][1]["ov_cimguiname"] = "ImGuiWindow_GetIDStr" +defs["ImGuiWindow_GetID"][1]["location"] = "imgui_internal:2555" +defs["ImGuiWindow_GetID"][1]["ov_cimguiname"] = "ImGuiWindow_GetID_Str" defs["ImGuiWindow_GetID"][1]["ret"] = "ImGuiID" defs["ImGuiWindow_GetID"][1]["signature"] = "(const char*,const char*)" defs["ImGuiWindow_GetID"][1]["stname"] = "ImGuiWindow" @@ -7993,8 +8522,8 @@ defs["ImGuiWindow_GetID"][2]["call_args"] = "(ptr)" defs["ImGuiWindow_GetID"][2]["cimguiname"] = "ImGuiWindow_GetID" defs["ImGuiWindow_GetID"][2]["defaults"] = {} defs["ImGuiWindow_GetID"][2]["funcname"] = "GetID" -defs["ImGuiWindow_GetID"][2]["location"] = "imgui_internal:2276" -defs["ImGuiWindow_GetID"][2]["ov_cimguiname"] = "ImGuiWindow_GetIDPtr" +defs["ImGuiWindow_GetID"][2]["location"] = "imgui_internal:2556" +defs["ImGuiWindow_GetID"][2]["ov_cimguiname"] = "ImGuiWindow_GetID_Ptr" defs["ImGuiWindow_GetID"][2]["ret"] = "ImGuiID" defs["ImGuiWindow_GetID"][2]["signature"] = "(const void*)" defs["ImGuiWindow_GetID"][2]["stname"] = "ImGuiWindow" @@ -8012,8 +8541,8 @@ defs["ImGuiWindow_GetID"][3]["call_args"] = "(n)" defs["ImGuiWindow_GetID"][3]["cimguiname"] = "ImGuiWindow_GetID" defs["ImGuiWindow_GetID"][3]["defaults"] = {} defs["ImGuiWindow_GetID"][3]["funcname"] = "GetID" -defs["ImGuiWindow_GetID"][3]["location"] = "imgui_internal:2277" -defs["ImGuiWindow_GetID"][3]["ov_cimguiname"] = "ImGuiWindow_GetIDInt" +defs["ImGuiWindow_GetID"][3]["location"] = "imgui_internal:2557" +defs["ImGuiWindow_GetID"][3]["ov_cimguiname"] = "ImGuiWindow_GetID_Int" defs["ImGuiWindow_GetID"][3]["ret"] = "ImGuiID" defs["ImGuiWindow_GetID"][3]["signature"] = "(int)" defs["ImGuiWindow_GetID"][3]["stname"] = "ImGuiWindow" @@ -8035,77 +8564,12 @@ defs["ImGuiWindow_GetIDFromRectangle"][1]["call_args"] = "(r_abs)" defs["ImGuiWindow_GetIDFromRectangle"][1]["cimguiname"] = "ImGuiWindow_GetIDFromRectangle" defs["ImGuiWindow_GetIDFromRectangle"][1]["defaults"] = {} defs["ImGuiWindow_GetIDFromRectangle"][1]["funcname"] = "GetIDFromRectangle" -defs["ImGuiWindow_GetIDFromRectangle"][1]["location"] = "imgui_internal:2281" +defs["ImGuiWindow_GetIDFromRectangle"][1]["location"] = "imgui_internal:2558" defs["ImGuiWindow_GetIDFromRectangle"][1]["ov_cimguiname"] = "ImGuiWindow_GetIDFromRectangle" defs["ImGuiWindow_GetIDFromRectangle"][1]["ret"] = "ImGuiID" defs["ImGuiWindow_GetIDFromRectangle"][1]["signature"] = "(const ImRect)" defs["ImGuiWindow_GetIDFromRectangle"][1]["stname"] = "ImGuiWindow" defs["ImGuiWindow_GetIDFromRectangle"]["(const ImRect)"] = defs["ImGuiWindow_GetIDFromRectangle"][1] -defs["ImGuiWindow_GetIDNoKeepAlive"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["args"] = "(ImGuiWindow* self,const char* str,const char* str_end)" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][1] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][1]["name"] = "self" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][1]["type"] = "ImGuiWindow*" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][2] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][2]["name"] = "str" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][2]["type"] = "const char*" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][3] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][3]["name"] = "str_end" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsT"][3]["type"] = "const char*" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["argsoriginal"] = "(const char* str,const char* str_end=((void*)0))" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["call_args"] = "(str,str_end)" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["cimguiname"] = "ImGuiWindow_GetIDNoKeepAlive" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["defaults"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["defaults"]["str_end"] = "NULL" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["funcname"] = "GetIDNoKeepAlive" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["location"] = "imgui_internal:2278" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["ov_cimguiname"] = "ImGuiWindow_GetIDNoKeepAliveStr" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["ret"] = "ImGuiID" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["signature"] = "(const char*,const char*)" -defs["ImGuiWindow_GetIDNoKeepAlive"][1]["stname"] = "ImGuiWindow" -defs["ImGuiWindow_GetIDNoKeepAlive"][2] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["args"] = "(ImGuiWindow* self,const void* ptr)" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"][1] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"][1]["name"] = "self" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"][1]["type"] = "ImGuiWindow*" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"][2] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"][2]["name"] = "ptr" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsT"][2]["type"] = "const void*" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["argsoriginal"] = "(const void* ptr)" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["call_args"] = "(ptr)" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["cimguiname"] = "ImGuiWindow_GetIDNoKeepAlive" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["defaults"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["funcname"] = "GetIDNoKeepAlive" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["location"] = "imgui_internal:2279" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["ov_cimguiname"] = "ImGuiWindow_GetIDNoKeepAlivePtr" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["ret"] = "ImGuiID" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["signature"] = "(const void*)" -defs["ImGuiWindow_GetIDNoKeepAlive"][2]["stname"] = "ImGuiWindow" -defs["ImGuiWindow_GetIDNoKeepAlive"][3] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["args"] = "(ImGuiWindow* self,int n)" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"][1] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"][1]["name"] = "self" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"][1]["type"] = "ImGuiWindow*" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"][2] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"][2]["name"] = "n" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsT"][2]["type"] = "int" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["argsoriginal"] = "(int n)" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["call_args"] = "(n)" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["cimguiname"] = "ImGuiWindow_GetIDNoKeepAlive" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["defaults"] = {} -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["funcname"] = "GetIDNoKeepAlive" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["location"] = "imgui_internal:2280" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["ov_cimguiname"] = "ImGuiWindow_GetIDNoKeepAliveInt" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["ret"] = "ImGuiID" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["signature"] = "(int)" -defs["ImGuiWindow_GetIDNoKeepAlive"][3]["stname"] = "ImGuiWindow" -defs["ImGuiWindow_GetIDNoKeepAlive"]["(const char*,const char*)"] = defs["ImGuiWindow_GetIDNoKeepAlive"][1] -defs["ImGuiWindow_GetIDNoKeepAlive"]["(const void*)"] = defs["ImGuiWindow_GetIDNoKeepAlive"][2] -defs["ImGuiWindow_GetIDNoKeepAlive"]["(int)"] = defs["ImGuiWindow_GetIDNoKeepAlive"][3] defs["ImGuiWindow_ImGuiWindow"] = {} defs["ImGuiWindow_ImGuiWindow"][1] = {} defs["ImGuiWindow_ImGuiWindow"][1]["args"] = "(ImGuiContext* context,const char* name)" @@ -8122,7 +8586,7 @@ defs["ImGuiWindow_ImGuiWindow"][1]["cimguiname"] = "ImGuiWindow_ImGuiWindow" defs["ImGuiWindow_ImGuiWindow"][1]["constructor"] = true defs["ImGuiWindow_ImGuiWindow"][1]["defaults"] = {} defs["ImGuiWindow_ImGuiWindow"][1]["funcname"] = "ImGuiWindow" -defs["ImGuiWindow_ImGuiWindow"][1]["location"] = "imgui_internal:2271" +defs["ImGuiWindow_ImGuiWindow"][1]["location"] = "imgui_internal:2551" defs["ImGuiWindow_ImGuiWindow"][1]["ov_cimguiname"] = "ImGuiWindow_ImGuiWindow" defs["ImGuiWindow_ImGuiWindow"][1]["signature"] = "(ImGuiContext*,const char*)" defs["ImGuiWindow_ImGuiWindow"][1]["stname"] = "ImGuiWindow" @@ -8139,7 +8603,7 @@ defs["ImGuiWindow_MenuBarHeight"][1]["call_args"] = "()" defs["ImGuiWindow_MenuBarHeight"][1]["cimguiname"] = "ImGuiWindow_MenuBarHeight" defs["ImGuiWindow_MenuBarHeight"][1]["defaults"] = {} defs["ImGuiWindow_MenuBarHeight"][1]["funcname"] = "MenuBarHeight" -defs["ImGuiWindow_MenuBarHeight"][1]["location"] = "imgui_internal:2288" +defs["ImGuiWindow_MenuBarHeight"][1]["location"] = "imgui_internal:2565" defs["ImGuiWindow_MenuBarHeight"][1]["ov_cimguiname"] = "ImGuiWindow_MenuBarHeight" defs["ImGuiWindow_MenuBarHeight"][1]["ret"] = "float" defs["ImGuiWindow_MenuBarHeight"][1]["signature"] = "()const" @@ -8160,7 +8624,7 @@ defs["ImGuiWindow_MenuBarRect"][1]["call_args"] = "()" defs["ImGuiWindow_MenuBarRect"][1]["cimguiname"] = "ImGuiWindow_MenuBarRect" defs["ImGuiWindow_MenuBarRect"][1]["defaults"] = {} defs["ImGuiWindow_MenuBarRect"][1]["funcname"] = "MenuBarRect" -defs["ImGuiWindow_MenuBarRect"][1]["location"] = "imgui_internal:2289" +defs["ImGuiWindow_MenuBarRect"][1]["location"] = "imgui_internal:2566" defs["ImGuiWindow_MenuBarRect"][1]["nonUDT"] = 1 defs["ImGuiWindow_MenuBarRect"][1]["ov_cimguiname"] = "ImGuiWindow_MenuBarRect" defs["ImGuiWindow_MenuBarRect"][1]["ret"] = "void" @@ -8182,7 +8646,7 @@ defs["ImGuiWindow_Rect"][1]["call_args"] = "()" defs["ImGuiWindow_Rect"][1]["cimguiname"] = "ImGuiWindow_Rect" defs["ImGuiWindow_Rect"][1]["defaults"] = {} defs["ImGuiWindow_Rect"][1]["funcname"] = "Rect" -defs["ImGuiWindow_Rect"][1]["location"] = "imgui_internal:2284" +defs["ImGuiWindow_Rect"][1]["location"] = "imgui_internal:2561" defs["ImGuiWindow_Rect"][1]["nonUDT"] = 1 defs["ImGuiWindow_Rect"][1]["ov_cimguiname"] = "ImGuiWindow_Rect" defs["ImGuiWindow_Rect"][1]["ret"] = "void" @@ -8201,7 +8665,7 @@ defs["ImGuiWindow_TitleBarHeight"][1]["call_args"] = "()" defs["ImGuiWindow_TitleBarHeight"][1]["cimguiname"] = "ImGuiWindow_TitleBarHeight" defs["ImGuiWindow_TitleBarHeight"][1]["defaults"] = {} defs["ImGuiWindow_TitleBarHeight"][1]["funcname"] = "TitleBarHeight" -defs["ImGuiWindow_TitleBarHeight"][1]["location"] = "imgui_internal:2286" +defs["ImGuiWindow_TitleBarHeight"][1]["location"] = "imgui_internal:2563" defs["ImGuiWindow_TitleBarHeight"][1]["ov_cimguiname"] = "ImGuiWindow_TitleBarHeight" defs["ImGuiWindow_TitleBarHeight"][1]["ret"] = "float" defs["ImGuiWindow_TitleBarHeight"][1]["signature"] = "()const" @@ -8222,7 +8686,7 @@ defs["ImGuiWindow_TitleBarRect"][1]["call_args"] = "()" defs["ImGuiWindow_TitleBarRect"][1]["cimguiname"] = "ImGuiWindow_TitleBarRect" defs["ImGuiWindow_TitleBarRect"][1]["defaults"] = {} defs["ImGuiWindow_TitleBarRect"][1]["funcname"] = "TitleBarRect" -defs["ImGuiWindow_TitleBarRect"][1]["location"] = "imgui_internal:2287" +defs["ImGuiWindow_TitleBarRect"][1]["location"] = "imgui_internal:2564" defs["ImGuiWindow_TitleBarRect"][1]["nonUDT"] = 1 defs["ImGuiWindow_TitleBarRect"][1]["ov_cimguiname"] = "ImGuiWindow_TitleBarRect" defs["ImGuiWindow_TitleBarRect"][1]["ret"] = "void" @@ -8240,7 +8704,7 @@ defs["ImGuiWindow_destroy"][1]["call_args"] = "(self)" defs["ImGuiWindow_destroy"][1]["cimguiname"] = "ImGuiWindow_destroy" defs["ImGuiWindow_destroy"][1]["defaults"] = {} defs["ImGuiWindow_destroy"][1]["destructor"] = true -defs["ImGuiWindow_destroy"][1]["location"] = "imgui_internal:2273" +defs["ImGuiWindow_destroy"][1]["location"] = "imgui_internal:2553" defs["ImGuiWindow_destroy"][1]["ov_cimguiname"] = "ImGuiWindow_destroy" defs["ImGuiWindow_destroy"][1]["realdestructor"] = true defs["ImGuiWindow_destroy"][1]["ret"] = "void" @@ -8259,7 +8723,7 @@ defs["ImPool_Add"][1]["call_args"] = "()" defs["ImPool_Add"][1]["cimguiname"] = "ImPool_Add" defs["ImPool_Add"][1]["defaults"] = {} defs["ImPool_Add"][1]["funcname"] = "Add" -defs["ImPool_Add"][1]["location"] = "imgui_internal:651" +defs["ImPool_Add"][1]["location"] = "imgui_internal:674" defs["ImPool_Add"][1]["ov_cimguiname"] = "ImPool_Add" defs["ImPool_Add"][1]["ret"] = "T*" defs["ImPool_Add"][1]["signature"] = "()" @@ -8278,7 +8742,7 @@ defs["ImPool_Clear"][1]["call_args"] = "()" defs["ImPool_Clear"][1]["cimguiname"] = "ImPool_Clear" defs["ImPool_Clear"][1]["defaults"] = {} defs["ImPool_Clear"][1]["funcname"] = "Clear" -defs["ImPool_Clear"][1]["location"] = "imgui_internal:650" +defs["ImPool_Clear"][1]["location"] = "imgui_internal:673" defs["ImPool_Clear"][1]["ov_cimguiname"] = "ImPool_Clear" defs["ImPool_Clear"][1]["ret"] = "void" defs["ImPool_Clear"][1]["signature"] = "()" @@ -8300,7 +8764,7 @@ defs["ImPool_Contains"][1]["call_args"] = "(p)" defs["ImPool_Contains"][1]["cimguiname"] = "ImPool_Contains" defs["ImPool_Contains"][1]["defaults"] = {} defs["ImPool_Contains"][1]["funcname"] = "Contains" -defs["ImPool_Contains"][1]["location"] = "imgui_internal:649" +defs["ImPool_Contains"][1]["location"] = "imgui_internal:672" defs["ImPool_Contains"][1]["ov_cimguiname"] = "ImPool_Contains" defs["ImPool_Contains"][1]["ret"] = "bool" defs["ImPool_Contains"][1]["signature"] = "(const T*)const" @@ -8319,7 +8783,7 @@ defs["ImPool_GetAliveCount"][1]["call_args"] = "()" defs["ImPool_GetAliveCount"][1]["cimguiname"] = "ImPool_GetAliveCount" defs["ImPool_GetAliveCount"][1]["defaults"] = {} defs["ImPool_GetAliveCount"][1]["funcname"] = "GetAliveCount" -defs["ImPool_GetAliveCount"][1]["location"] = "imgui_internal:658" +defs["ImPool_GetAliveCount"][1]["location"] = "imgui_internal:681" defs["ImPool_GetAliveCount"][1]["ov_cimguiname"] = "ImPool_GetAliveCount" defs["ImPool_GetAliveCount"][1]["ret"] = "int" defs["ImPool_GetAliveCount"][1]["signature"] = "()const" @@ -8338,7 +8802,7 @@ defs["ImPool_GetBufSize"][1]["call_args"] = "()" defs["ImPool_GetBufSize"][1]["cimguiname"] = "ImPool_GetBufSize" defs["ImPool_GetBufSize"][1]["defaults"] = {} defs["ImPool_GetBufSize"][1]["funcname"] = "GetBufSize" -defs["ImPool_GetBufSize"][1]["location"] = "imgui_internal:659" +defs["ImPool_GetBufSize"][1]["location"] = "imgui_internal:682" defs["ImPool_GetBufSize"][1]["ov_cimguiname"] = "ImPool_GetBufSize" defs["ImPool_GetBufSize"][1]["ret"] = "int" defs["ImPool_GetBufSize"][1]["signature"] = "()const" @@ -8360,7 +8824,7 @@ defs["ImPool_GetByIndex"][1]["call_args"] = "(n)" defs["ImPool_GetByIndex"][1]["cimguiname"] = "ImPool_GetByIndex" defs["ImPool_GetByIndex"][1]["defaults"] = {} defs["ImPool_GetByIndex"][1]["funcname"] = "GetByIndex" -defs["ImPool_GetByIndex"][1]["location"] = "imgui_internal:646" +defs["ImPool_GetByIndex"][1]["location"] = "imgui_internal:669" defs["ImPool_GetByIndex"][1]["ov_cimguiname"] = "ImPool_GetByIndex" defs["ImPool_GetByIndex"][1]["ret"] = "T*" defs["ImPool_GetByIndex"][1]["signature"] = "(ImPoolIdx)" @@ -8382,7 +8846,7 @@ defs["ImPool_GetByKey"][1]["call_args"] = "(key)" defs["ImPool_GetByKey"][1]["cimguiname"] = "ImPool_GetByKey" defs["ImPool_GetByKey"][1]["defaults"] = {} defs["ImPool_GetByKey"][1]["funcname"] = "GetByKey" -defs["ImPool_GetByKey"][1]["location"] = "imgui_internal:645" +defs["ImPool_GetByKey"][1]["location"] = "imgui_internal:668" defs["ImPool_GetByKey"][1]["ov_cimguiname"] = "ImPool_GetByKey" defs["ImPool_GetByKey"][1]["ret"] = "T*" defs["ImPool_GetByKey"][1]["signature"] = "(ImGuiID)" @@ -8404,7 +8868,7 @@ defs["ImPool_GetIndex"][1]["call_args"] = "(p)" defs["ImPool_GetIndex"][1]["cimguiname"] = "ImPool_GetIndex" defs["ImPool_GetIndex"][1]["defaults"] = {} defs["ImPool_GetIndex"][1]["funcname"] = "GetIndex" -defs["ImPool_GetIndex"][1]["location"] = "imgui_internal:647" +defs["ImPool_GetIndex"][1]["location"] = "imgui_internal:670" defs["ImPool_GetIndex"][1]["ov_cimguiname"] = "ImPool_GetIndex" defs["ImPool_GetIndex"][1]["ret"] = "ImPoolIdx" defs["ImPool_GetIndex"][1]["signature"] = "(const T*)const" @@ -8423,7 +8887,7 @@ defs["ImPool_GetMapSize"][1]["call_args"] = "()" defs["ImPool_GetMapSize"][1]["cimguiname"] = "ImPool_GetMapSize" defs["ImPool_GetMapSize"][1]["defaults"] = {} defs["ImPool_GetMapSize"][1]["funcname"] = "GetMapSize" -defs["ImPool_GetMapSize"][1]["location"] = "imgui_internal:660" +defs["ImPool_GetMapSize"][1]["location"] = "imgui_internal:683" defs["ImPool_GetMapSize"][1]["ov_cimguiname"] = "ImPool_GetMapSize" defs["ImPool_GetMapSize"][1]["ret"] = "int" defs["ImPool_GetMapSize"][1]["signature"] = "()const" @@ -8445,7 +8909,7 @@ defs["ImPool_GetOrAddByKey"][1]["call_args"] = "(key)" defs["ImPool_GetOrAddByKey"][1]["cimguiname"] = "ImPool_GetOrAddByKey" defs["ImPool_GetOrAddByKey"][1]["defaults"] = {} defs["ImPool_GetOrAddByKey"][1]["funcname"] = "GetOrAddByKey" -defs["ImPool_GetOrAddByKey"][1]["location"] = "imgui_internal:648" +defs["ImPool_GetOrAddByKey"][1]["location"] = "imgui_internal:671" defs["ImPool_GetOrAddByKey"][1]["ov_cimguiname"] = "ImPool_GetOrAddByKey" defs["ImPool_GetOrAddByKey"][1]["ret"] = "T*" defs["ImPool_GetOrAddByKey"][1]["signature"] = "(ImGuiID)" @@ -8462,7 +8926,7 @@ defs["ImPool_ImPool"][1]["cimguiname"] = "ImPool_ImPool" defs["ImPool_ImPool"][1]["constructor"] = true defs["ImPool_ImPool"][1]["defaults"] = {} defs["ImPool_ImPool"][1]["funcname"] = "ImPool" -defs["ImPool_ImPool"][1]["location"] = "imgui_internal:643" +defs["ImPool_ImPool"][1]["location"] = "imgui_internal:666" defs["ImPool_ImPool"][1]["ov_cimguiname"] = "ImPool_ImPool" defs["ImPool_ImPool"][1]["signature"] = "()" defs["ImPool_ImPool"][1]["stname"] = "ImPool" @@ -8486,8 +8950,8 @@ defs["ImPool_Remove"][1]["call_args"] = "(key,p)" defs["ImPool_Remove"][1]["cimguiname"] = "ImPool_Remove" defs["ImPool_Remove"][1]["defaults"] = {} defs["ImPool_Remove"][1]["funcname"] = "Remove" -defs["ImPool_Remove"][1]["location"] = "imgui_internal:652" -defs["ImPool_Remove"][1]["ov_cimguiname"] = "ImPool_RemoveTPtr" +defs["ImPool_Remove"][1]["location"] = "imgui_internal:675" +defs["ImPool_Remove"][1]["ov_cimguiname"] = "ImPool_Remove_TPtr" defs["ImPool_Remove"][1]["ret"] = "void" defs["ImPool_Remove"][1]["signature"] = "(ImGuiID,const T*)" defs["ImPool_Remove"][1]["stname"] = "ImPool" @@ -8509,8 +8973,8 @@ defs["ImPool_Remove"][2]["call_args"] = "(key,idx)" defs["ImPool_Remove"][2]["cimguiname"] = "ImPool_Remove" defs["ImPool_Remove"][2]["defaults"] = {} defs["ImPool_Remove"][2]["funcname"] = "Remove" -defs["ImPool_Remove"][2]["location"] = "imgui_internal:653" -defs["ImPool_Remove"][2]["ov_cimguiname"] = "ImPool_RemovePoolIdx" +defs["ImPool_Remove"][2]["location"] = "imgui_internal:676" +defs["ImPool_Remove"][2]["ov_cimguiname"] = "ImPool_Remove_PoolIdx" defs["ImPool_Remove"][2]["ret"] = "void" defs["ImPool_Remove"][2]["signature"] = "(ImGuiID,ImPoolIdx)" defs["ImPool_Remove"][2]["stname"] = "ImPool" @@ -8532,7 +8996,7 @@ defs["ImPool_Reserve"][1]["call_args"] = "(capacity)" defs["ImPool_Reserve"][1]["cimguiname"] = "ImPool_Reserve" defs["ImPool_Reserve"][1]["defaults"] = {} defs["ImPool_Reserve"][1]["funcname"] = "Reserve" -defs["ImPool_Reserve"][1]["location"] = "imgui_internal:654" +defs["ImPool_Reserve"][1]["location"] = "imgui_internal:677" defs["ImPool_Reserve"][1]["ov_cimguiname"] = "ImPool_Reserve" defs["ImPool_Reserve"][1]["ret"] = "void" defs["ImPool_Reserve"][1]["signature"] = "(int)" @@ -8554,7 +9018,7 @@ defs["ImPool_TryGetMapData"][1]["call_args"] = "(n)" defs["ImPool_TryGetMapData"][1]["cimguiname"] = "ImPool_TryGetMapData" defs["ImPool_TryGetMapData"][1]["defaults"] = {} defs["ImPool_TryGetMapData"][1]["funcname"] = "TryGetMapData" -defs["ImPool_TryGetMapData"][1]["location"] = "imgui_internal:661" +defs["ImPool_TryGetMapData"][1]["location"] = "imgui_internal:684" defs["ImPool_TryGetMapData"][1]["ov_cimguiname"] = "ImPool_TryGetMapData" defs["ImPool_TryGetMapData"][1]["ret"] = "T*" defs["ImPool_TryGetMapData"][1]["signature"] = "(ImPoolIdx)" @@ -8572,7 +9036,7 @@ defs["ImPool_destroy"][1]["call_args"] = "(self)" defs["ImPool_destroy"][1]["cimguiname"] = "ImPool_destroy" defs["ImPool_destroy"][1]["defaults"] = {} defs["ImPool_destroy"][1]["destructor"] = true -defs["ImPool_destroy"][1]["location"] = "imgui_internal:644" +defs["ImPool_destroy"][1]["location"] = "imgui_internal:667" defs["ImPool_destroy"][1]["ov_cimguiname"] = "ImPool_destroy" defs["ImPool_destroy"][1]["realdestructor"] = true defs["ImPool_destroy"][1]["ret"] = "void" @@ -8595,8 +9059,8 @@ defs["ImRect_Add"][1]["call_args"] = "(p)" defs["ImRect_Add"][1]["cimguiname"] = "ImRect_Add" defs["ImRect_Add"][1]["defaults"] = {} defs["ImRect_Add"][1]["funcname"] = "Add" -defs["ImRect_Add"][1]["location"] = "imgui_internal:521" -defs["ImRect_Add"][1]["ov_cimguiname"] = "ImRect_AddVec2" +defs["ImRect_Add"][1]["location"] = "imgui_internal:543" +defs["ImRect_Add"][1]["ov_cimguiname"] = "ImRect_Add_Vec2" defs["ImRect_Add"][1]["ret"] = "void" defs["ImRect_Add"][1]["signature"] = "(const ImVec2)" defs["ImRect_Add"][1]["stname"] = "ImRect" @@ -8614,8 +9078,8 @@ defs["ImRect_Add"][2]["call_args"] = "(r)" defs["ImRect_Add"][2]["cimguiname"] = "ImRect_Add" defs["ImRect_Add"][2]["defaults"] = {} defs["ImRect_Add"][2]["funcname"] = "Add" -defs["ImRect_Add"][2]["location"] = "imgui_internal:522" -defs["ImRect_Add"][2]["ov_cimguiname"] = "ImRect_AddRect" +defs["ImRect_Add"][2]["location"] = "imgui_internal:544" +defs["ImRect_Add"][2]["ov_cimguiname"] = "ImRect_Add_Rect" defs["ImRect_Add"][2]["ret"] = "void" defs["ImRect_Add"][2]["signature"] = "(const ImRect)" defs["ImRect_Add"][2]["stname"] = "ImRect" @@ -8636,7 +9100,7 @@ defs["ImRect_ClipWith"][1]["call_args"] = "(r)" defs["ImRect_ClipWith"][1]["cimguiname"] = "ImRect_ClipWith" defs["ImRect_ClipWith"][1]["defaults"] = {} defs["ImRect_ClipWith"][1]["funcname"] = "ClipWith" -defs["ImRect_ClipWith"][1]["location"] = "imgui_internal:528" +defs["ImRect_ClipWith"][1]["location"] = "imgui_internal:550" defs["ImRect_ClipWith"][1]["ov_cimguiname"] = "ImRect_ClipWith" defs["ImRect_ClipWith"][1]["ret"] = "void" defs["ImRect_ClipWith"][1]["signature"] = "(const ImRect)" @@ -8657,7 +9121,7 @@ defs["ImRect_ClipWithFull"][1]["call_args"] = "(r)" defs["ImRect_ClipWithFull"][1]["cimguiname"] = "ImRect_ClipWithFull" defs["ImRect_ClipWithFull"][1]["defaults"] = {} defs["ImRect_ClipWithFull"][1]["funcname"] = "ClipWithFull" -defs["ImRect_ClipWithFull"][1]["location"] = "imgui_internal:529" +defs["ImRect_ClipWithFull"][1]["location"] = "imgui_internal:551" defs["ImRect_ClipWithFull"][1]["ov_cimguiname"] = "ImRect_ClipWithFull" defs["ImRect_ClipWithFull"][1]["ret"] = "void" defs["ImRect_ClipWithFull"][1]["signature"] = "(const ImRect)" @@ -8678,8 +9142,8 @@ defs["ImRect_Contains"][1]["call_args"] = "(p)" defs["ImRect_Contains"][1]["cimguiname"] = "ImRect_Contains" defs["ImRect_Contains"][1]["defaults"] = {} defs["ImRect_Contains"][1]["funcname"] = "Contains" -defs["ImRect_Contains"][1]["location"] = "imgui_internal:518" -defs["ImRect_Contains"][1]["ov_cimguiname"] = "ImRect_ContainsVec2" +defs["ImRect_Contains"][1]["location"] = "imgui_internal:540" +defs["ImRect_Contains"][1]["ov_cimguiname"] = "ImRect_Contains_Vec2" defs["ImRect_Contains"][1]["ret"] = "bool" defs["ImRect_Contains"][1]["signature"] = "(const ImVec2)const" defs["ImRect_Contains"][1]["stname"] = "ImRect" @@ -8697,8 +9161,8 @@ defs["ImRect_Contains"][2]["call_args"] = "(r)" defs["ImRect_Contains"][2]["cimguiname"] = "ImRect_Contains" defs["ImRect_Contains"][2]["defaults"] = {} defs["ImRect_Contains"][2]["funcname"] = "Contains" -defs["ImRect_Contains"][2]["location"] = "imgui_internal:519" -defs["ImRect_Contains"][2]["ov_cimguiname"] = "ImRect_ContainsRect" +defs["ImRect_Contains"][2]["location"] = "imgui_internal:541" +defs["ImRect_Contains"][2]["ov_cimguiname"] = "ImRect_Contains_Rect" defs["ImRect_Contains"][2]["ret"] = "bool" defs["ImRect_Contains"][2]["signature"] = "(const ImRect)const" defs["ImRect_Contains"][2]["stname"] = "ImRect" @@ -8719,8 +9183,8 @@ defs["ImRect_Expand"][1]["call_args"] = "(amount)" defs["ImRect_Expand"][1]["cimguiname"] = "ImRect_Expand" defs["ImRect_Expand"][1]["defaults"] = {} defs["ImRect_Expand"][1]["funcname"] = "Expand" -defs["ImRect_Expand"][1]["location"] = "imgui_internal:523" -defs["ImRect_Expand"][1]["ov_cimguiname"] = "ImRect_ExpandFloat" +defs["ImRect_Expand"][1]["location"] = "imgui_internal:545" +defs["ImRect_Expand"][1]["ov_cimguiname"] = "ImRect_Expand_Float" defs["ImRect_Expand"][1]["ret"] = "void" defs["ImRect_Expand"][1]["signature"] = "(const float)" defs["ImRect_Expand"][1]["stname"] = "ImRect" @@ -8738,8 +9202,8 @@ defs["ImRect_Expand"][2]["call_args"] = "(amount)" defs["ImRect_Expand"][2]["cimguiname"] = "ImRect_Expand" defs["ImRect_Expand"][2]["defaults"] = {} defs["ImRect_Expand"][2]["funcname"] = "Expand" -defs["ImRect_Expand"][2]["location"] = "imgui_internal:524" -defs["ImRect_Expand"][2]["ov_cimguiname"] = "ImRect_ExpandVec2" +defs["ImRect_Expand"][2]["location"] = "imgui_internal:546" +defs["ImRect_Expand"][2]["ov_cimguiname"] = "ImRect_Expand_Vec2" defs["ImRect_Expand"][2]["ret"] = "void" defs["ImRect_Expand"][2]["signature"] = "(const ImVec2)" defs["ImRect_Expand"][2]["stname"] = "ImRect" @@ -8757,7 +9221,7 @@ defs["ImRect_Floor"][1]["call_args"] = "()" defs["ImRect_Floor"][1]["cimguiname"] = "ImRect_Floor" defs["ImRect_Floor"][1]["defaults"] = {} defs["ImRect_Floor"][1]["funcname"] = "Floor" -defs["ImRect_Floor"][1]["location"] = "imgui_internal:530" +defs["ImRect_Floor"][1]["location"] = "imgui_internal:552" defs["ImRect_Floor"][1]["ov_cimguiname"] = "ImRect_Floor" defs["ImRect_Floor"][1]["ret"] = "void" defs["ImRect_Floor"][1]["signature"] = "()" @@ -8775,7 +9239,7 @@ defs["ImRect_GetArea"][1]["call_args"] = "()" defs["ImRect_GetArea"][1]["cimguiname"] = "ImRect_GetArea" defs["ImRect_GetArea"][1]["defaults"] = {} defs["ImRect_GetArea"][1]["funcname"] = "GetArea" -defs["ImRect_GetArea"][1]["location"] = "imgui_internal:513" +defs["ImRect_GetArea"][1]["location"] = "imgui_internal:535" defs["ImRect_GetArea"][1]["ov_cimguiname"] = "ImRect_GetArea" defs["ImRect_GetArea"][1]["ret"] = "float" defs["ImRect_GetArea"][1]["signature"] = "()const" @@ -8796,7 +9260,7 @@ defs["ImRect_GetBL"][1]["call_args"] = "()" defs["ImRect_GetBL"][1]["cimguiname"] = "ImRect_GetBL" defs["ImRect_GetBL"][1]["defaults"] = {} defs["ImRect_GetBL"][1]["funcname"] = "GetBL" -defs["ImRect_GetBL"][1]["location"] = "imgui_internal:516" +defs["ImRect_GetBL"][1]["location"] = "imgui_internal:538" defs["ImRect_GetBL"][1]["nonUDT"] = 1 defs["ImRect_GetBL"][1]["ov_cimguiname"] = "ImRect_GetBL" defs["ImRect_GetBL"][1]["ret"] = "void" @@ -8818,7 +9282,7 @@ defs["ImRect_GetBR"][1]["call_args"] = "()" defs["ImRect_GetBR"][1]["cimguiname"] = "ImRect_GetBR" defs["ImRect_GetBR"][1]["defaults"] = {} defs["ImRect_GetBR"][1]["funcname"] = "GetBR" -defs["ImRect_GetBR"][1]["location"] = "imgui_internal:517" +defs["ImRect_GetBR"][1]["location"] = "imgui_internal:539" defs["ImRect_GetBR"][1]["nonUDT"] = 1 defs["ImRect_GetBR"][1]["ov_cimguiname"] = "ImRect_GetBR" defs["ImRect_GetBR"][1]["ret"] = "void" @@ -8840,7 +9304,7 @@ defs["ImRect_GetCenter"][1]["call_args"] = "()" defs["ImRect_GetCenter"][1]["cimguiname"] = "ImRect_GetCenter" defs["ImRect_GetCenter"][1]["defaults"] = {} defs["ImRect_GetCenter"][1]["funcname"] = "GetCenter" -defs["ImRect_GetCenter"][1]["location"] = "imgui_internal:509" +defs["ImRect_GetCenter"][1]["location"] = "imgui_internal:531" defs["ImRect_GetCenter"][1]["nonUDT"] = 1 defs["ImRect_GetCenter"][1]["ov_cimguiname"] = "ImRect_GetCenter" defs["ImRect_GetCenter"][1]["ret"] = "void" @@ -8859,7 +9323,7 @@ defs["ImRect_GetHeight"][1]["call_args"] = "()" defs["ImRect_GetHeight"][1]["cimguiname"] = "ImRect_GetHeight" defs["ImRect_GetHeight"][1]["defaults"] = {} defs["ImRect_GetHeight"][1]["funcname"] = "GetHeight" -defs["ImRect_GetHeight"][1]["location"] = "imgui_internal:512" +defs["ImRect_GetHeight"][1]["location"] = "imgui_internal:534" defs["ImRect_GetHeight"][1]["ov_cimguiname"] = "ImRect_GetHeight" defs["ImRect_GetHeight"][1]["ret"] = "float" defs["ImRect_GetHeight"][1]["signature"] = "()const" @@ -8880,7 +9344,7 @@ defs["ImRect_GetSize"][1]["call_args"] = "()" defs["ImRect_GetSize"][1]["cimguiname"] = "ImRect_GetSize" defs["ImRect_GetSize"][1]["defaults"] = {} defs["ImRect_GetSize"][1]["funcname"] = "GetSize" -defs["ImRect_GetSize"][1]["location"] = "imgui_internal:510" +defs["ImRect_GetSize"][1]["location"] = "imgui_internal:532" defs["ImRect_GetSize"][1]["nonUDT"] = 1 defs["ImRect_GetSize"][1]["ov_cimguiname"] = "ImRect_GetSize" defs["ImRect_GetSize"][1]["ret"] = "void" @@ -8902,7 +9366,7 @@ defs["ImRect_GetTL"][1]["call_args"] = "()" defs["ImRect_GetTL"][1]["cimguiname"] = "ImRect_GetTL" defs["ImRect_GetTL"][1]["defaults"] = {} defs["ImRect_GetTL"][1]["funcname"] = "GetTL" -defs["ImRect_GetTL"][1]["location"] = "imgui_internal:514" +defs["ImRect_GetTL"][1]["location"] = "imgui_internal:536" defs["ImRect_GetTL"][1]["nonUDT"] = 1 defs["ImRect_GetTL"][1]["ov_cimguiname"] = "ImRect_GetTL" defs["ImRect_GetTL"][1]["ret"] = "void" @@ -8924,7 +9388,7 @@ defs["ImRect_GetTR"][1]["call_args"] = "()" defs["ImRect_GetTR"][1]["cimguiname"] = "ImRect_GetTR" defs["ImRect_GetTR"][1]["defaults"] = {} defs["ImRect_GetTR"][1]["funcname"] = "GetTR" -defs["ImRect_GetTR"][1]["location"] = "imgui_internal:515" +defs["ImRect_GetTR"][1]["location"] = "imgui_internal:537" defs["ImRect_GetTR"][1]["nonUDT"] = 1 defs["ImRect_GetTR"][1]["ov_cimguiname"] = "ImRect_GetTR" defs["ImRect_GetTR"][1]["ret"] = "void" @@ -8943,7 +9407,7 @@ defs["ImRect_GetWidth"][1]["call_args"] = "()" defs["ImRect_GetWidth"][1]["cimguiname"] = "ImRect_GetWidth" defs["ImRect_GetWidth"][1]["defaults"] = {} defs["ImRect_GetWidth"][1]["funcname"] = "GetWidth" -defs["ImRect_GetWidth"][1]["location"] = "imgui_internal:511" +defs["ImRect_GetWidth"][1]["location"] = "imgui_internal:533" defs["ImRect_GetWidth"][1]["ov_cimguiname"] = "ImRect_GetWidth" defs["ImRect_GetWidth"][1]["ret"] = "float" defs["ImRect_GetWidth"][1]["signature"] = "()const" @@ -8959,8 +9423,8 @@ defs["ImRect_ImRect"][1]["cimguiname"] = "ImRect_ImRect" defs["ImRect_ImRect"][1]["constructor"] = true defs["ImRect_ImRect"][1]["defaults"] = {} defs["ImRect_ImRect"][1]["funcname"] = "ImRect" -defs["ImRect_ImRect"][1]["location"] = "imgui_internal:504" -defs["ImRect_ImRect"][1]["ov_cimguiname"] = "ImRect_ImRectNil" +defs["ImRect_ImRect"][1]["location"] = "imgui_internal:526" +defs["ImRect_ImRect"][1]["ov_cimguiname"] = "ImRect_ImRect_Nil" defs["ImRect_ImRect"][1]["signature"] = "()" defs["ImRect_ImRect"][1]["stname"] = "ImRect" defs["ImRect_ImRect"][2] = {} @@ -8978,8 +9442,8 @@ defs["ImRect_ImRect"][2]["cimguiname"] = "ImRect_ImRect" defs["ImRect_ImRect"][2]["constructor"] = true defs["ImRect_ImRect"][2]["defaults"] = {} defs["ImRect_ImRect"][2]["funcname"] = "ImRect" -defs["ImRect_ImRect"][2]["location"] = "imgui_internal:505" -defs["ImRect_ImRect"][2]["ov_cimguiname"] = "ImRect_ImRectVec2" +defs["ImRect_ImRect"][2]["location"] = "imgui_internal:527" +defs["ImRect_ImRect"][2]["ov_cimguiname"] = "ImRect_ImRect_Vec2" defs["ImRect_ImRect"][2]["signature"] = "(const ImVec2,const ImVec2)" defs["ImRect_ImRect"][2]["stname"] = "ImRect" defs["ImRect_ImRect"][3] = {} @@ -8994,8 +9458,8 @@ defs["ImRect_ImRect"][3]["cimguiname"] = "ImRect_ImRect" defs["ImRect_ImRect"][3]["constructor"] = true defs["ImRect_ImRect"][3]["defaults"] = {} defs["ImRect_ImRect"][3]["funcname"] = "ImRect" -defs["ImRect_ImRect"][3]["location"] = "imgui_internal:506" -defs["ImRect_ImRect"][3]["ov_cimguiname"] = "ImRect_ImRectVec4" +defs["ImRect_ImRect"][3]["location"] = "imgui_internal:528" +defs["ImRect_ImRect"][3]["ov_cimguiname"] = "ImRect_ImRect_Vec4" defs["ImRect_ImRect"][3]["signature"] = "(const ImVec4)" defs["ImRect_ImRect"][3]["stname"] = "ImRect" defs["ImRect_ImRect"][4] = {} @@ -9019,8 +9483,8 @@ defs["ImRect_ImRect"][4]["cimguiname"] = "ImRect_ImRect" defs["ImRect_ImRect"][4]["constructor"] = true defs["ImRect_ImRect"][4]["defaults"] = {} defs["ImRect_ImRect"][4]["funcname"] = "ImRect" -defs["ImRect_ImRect"][4]["location"] = "imgui_internal:507" -defs["ImRect_ImRect"][4]["ov_cimguiname"] = "ImRect_ImRectFloat" +defs["ImRect_ImRect"][4]["location"] = "imgui_internal:529" +defs["ImRect_ImRect"][4]["ov_cimguiname"] = "ImRect_ImRect_Float" defs["ImRect_ImRect"][4]["signature"] = "(float,float,float,float)" defs["ImRect_ImRect"][4]["stname"] = "ImRect" defs["ImRect_ImRect"]["()"] = defs["ImRect_ImRect"][1] @@ -9039,7 +9503,7 @@ defs["ImRect_IsInverted"][1]["call_args"] = "()" defs["ImRect_IsInverted"][1]["cimguiname"] = "ImRect_IsInverted" defs["ImRect_IsInverted"][1]["defaults"] = {} defs["ImRect_IsInverted"][1]["funcname"] = "IsInverted" -defs["ImRect_IsInverted"][1]["location"] = "imgui_internal:531" +defs["ImRect_IsInverted"][1]["location"] = "imgui_internal:553" defs["ImRect_IsInverted"][1]["ov_cimguiname"] = "ImRect_IsInverted" defs["ImRect_IsInverted"][1]["ret"] = "bool" defs["ImRect_IsInverted"][1]["signature"] = "()const" @@ -9060,7 +9524,7 @@ defs["ImRect_Overlaps"][1]["call_args"] = "(r)" defs["ImRect_Overlaps"][1]["cimguiname"] = "ImRect_Overlaps" defs["ImRect_Overlaps"][1]["defaults"] = {} defs["ImRect_Overlaps"][1]["funcname"] = "Overlaps" -defs["ImRect_Overlaps"][1]["location"] = "imgui_internal:520" +defs["ImRect_Overlaps"][1]["location"] = "imgui_internal:542" defs["ImRect_Overlaps"][1]["ov_cimguiname"] = "ImRect_Overlaps" defs["ImRect_Overlaps"][1]["ret"] = "bool" defs["ImRect_Overlaps"][1]["signature"] = "(const ImRect)const" @@ -9081,7 +9545,7 @@ defs["ImRect_ToVec4"][1]["call_args"] = "()" defs["ImRect_ToVec4"][1]["cimguiname"] = "ImRect_ToVec4" defs["ImRect_ToVec4"][1]["defaults"] = {} defs["ImRect_ToVec4"][1]["funcname"] = "ToVec4" -defs["ImRect_ToVec4"][1]["location"] = "imgui_internal:532" +defs["ImRect_ToVec4"][1]["location"] = "imgui_internal:554" defs["ImRect_ToVec4"][1]["nonUDT"] = 1 defs["ImRect_ToVec4"][1]["ov_cimguiname"] = "ImRect_ToVec4" defs["ImRect_ToVec4"][1]["ret"] = "void" @@ -9103,7 +9567,7 @@ defs["ImRect_Translate"][1]["call_args"] = "(d)" defs["ImRect_Translate"][1]["cimguiname"] = "ImRect_Translate" defs["ImRect_Translate"][1]["defaults"] = {} defs["ImRect_Translate"][1]["funcname"] = "Translate" -defs["ImRect_Translate"][1]["location"] = "imgui_internal:525" +defs["ImRect_Translate"][1]["location"] = "imgui_internal:547" defs["ImRect_Translate"][1]["ov_cimguiname"] = "ImRect_Translate" defs["ImRect_Translate"][1]["ret"] = "void" defs["ImRect_Translate"][1]["signature"] = "(const ImVec2)" @@ -9124,7 +9588,7 @@ defs["ImRect_TranslateX"][1]["call_args"] = "(dx)" defs["ImRect_TranslateX"][1]["cimguiname"] = "ImRect_TranslateX" defs["ImRect_TranslateX"][1]["defaults"] = {} defs["ImRect_TranslateX"][1]["funcname"] = "TranslateX" -defs["ImRect_TranslateX"][1]["location"] = "imgui_internal:526" +defs["ImRect_TranslateX"][1]["location"] = "imgui_internal:548" defs["ImRect_TranslateX"][1]["ov_cimguiname"] = "ImRect_TranslateX" defs["ImRect_TranslateX"][1]["ret"] = "void" defs["ImRect_TranslateX"][1]["signature"] = "(float)" @@ -9145,7 +9609,7 @@ defs["ImRect_TranslateY"][1]["call_args"] = "(dy)" defs["ImRect_TranslateY"][1]["cimguiname"] = "ImRect_TranslateY" defs["ImRect_TranslateY"][1]["defaults"] = {} defs["ImRect_TranslateY"][1]["funcname"] = "TranslateY" -defs["ImRect_TranslateY"][1]["location"] = "imgui_internal:527" +defs["ImRect_TranslateY"][1]["location"] = "imgui_internal:549" defs["ImRect_TranslateY"][1]["ov_cimguiname"] = "ImRect_TranslateY" defs["ImRect_TranslateY"][1]["ret"] = "void" defs["ImRect_TranslateY"][1]["signature"] = "(float)" @@ -9179,7 +9643,7 @@ defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["call_args"] = "()" defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["cimguiname"] = "ImSpanAllocator_GetArenaSizeInBytes" defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["defaults"] = {} defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["funcname"] = "GetArenaSizeInBytes" -defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["location"] = "imgui_internal:623" +defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["location"] = "imgui_internal:646" defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["ov_cimguiname"] = "ImSpanAllocator_GetArenaSizeInBytes" defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["ret"] = "int" defs["ImSpanAllocator_GetArenaSizeInBytes"][1]["signature"] = "()" @@ -9201,7 +9665,7 @@ defs["ImSpanAllocator_GetSpanPtrBegin"][1]["call_args"] = "(n)" defs["ImSpanAllocator_GetSpanPtrBegin"][1]["cimguiname"] = "ImSpanAllocator_GetSpanPtrBegin" defs["ImSpanAllocator_GetSpanPtrBegin"][1]["defaults"] = {} defs["ImSpanAllocator_GetSpanPtrBegin"][1]["funcname"] = "GetSpanPtrBegin" -defs["ImSpanAllocator_GetSpanPtrBegin"][1]["location"] = "imgui_internal:625" +defs["ImSpanAllocator_GetSpanPtrBegin"][1]["location"] = "imgui_internal:648" defs["ImSpanAllocator_GetSpanPtrBegin"][1]["ov_cimguiname"] = "ImSpanAllocator_GetSpanPtrBegin" defs["ImSpanAllocator_GetSpanPtrBegin"][1]["ret"] = "void*" defs["ImSpanAllocator_GetSpanPtrBegin"][1]["signature"] = "(int)" @@ -9223,7 +9687,7 @@ defs["ImSpanAllocator_GetSpanPtrEnd"][1]["call_args"] = "(n)" defs["ImSpanAllocator_GetSpanPtrEnd"][1]["cimguiname"] = "ImSpanAllocator_GetSpanPtrEnd" defs["ImSpanAllocator_GetSpanPtrEnd"][1]["defaults"] = {} defs["ImSpanAllocator_GetSpanPtrEnd"][1]["funcname"] = "GetSpanPtrEnd" -defs["ImSpanAllocator_GetSpanPtrEnd"][1]["location"] = "imgui_internal:626" +defs["ImSpanAllocator_GetSpanPtrEnd"][1]["location"] = "imgui_internal:649" defs["ImSpanAllocator_GetSpanPtrEnd"][1]["ov_cimguiname"] = "ImSpanAllocator_GetSpanPtrEnd" defs["ImSpanAllocator_GetSpanPtrEnd"][1]["ret"] = "void*" defs["ImSpanAllocator_GetSpanPtrEnd"][1]["signature"] = "(int)" @@ -9240,7 +9704,7 @@ defs["ImSpanAllocator_ImSpanAllocator"][1]["cimguiname"] = "ImSpanAllocator_ImSp defs["ImSpanAllocator_ImSpanAllocator"][1]["constructor"] = true defs["ImSpanAllocator_ImSpanAllocator"][1]["defaults"] = {} defs["ImSpanAllocator_ImSpanAllocator"][1]["funcname"] = "ImSpanAllocator" -defs["ImSpanAllocator_ImSpanAllocator"][1]["location"] = "imgui_internal:621" +defs["ImSpanAllocator_ImSpanAllocator"][1]["location"] = "imgui_internal:644" defs["ImSpanAllocator_ImSpanAllocator"][1]["ov_cimguiname"] = "ImSpanAllocator_ImSpanAllocator" defs["ImSpanAllocator_ImSpanAllocator"][1]["signature"] = "()" defs["ImSpanAllocator_ImSpanAllocator"][1]["stname"] = "ImSpanAllocator" @@ -9268,7 +9732,7 @@ defs["ImSpanAllocator_Reserve"][1]["cimguiname"] = "ImSpanAllocator_Reserve" defs["ImSpanAllocator_Reserve"][1]["defaults"] = {} defs["ImSpanAllocator_Reserve"][1]["defaults"]["a"] = "4" defs["ImSpanAllocator_Reserve"][1]["funcname"] = "Reserve" -defs["ImSpanAllocator_Reserve"][1]["location"] = "imgui_internal:622" +defs["ImSpanAllocator_Reserve"][1]["location"] = "imgui_internal:645" defs["ImSpanAllocator_Reserve"][1]["ov_cimguiname"] = "ImSpanAllocator_Reserve" defs["ImSpanAllocator_Reserve"][1]["ret"] = "void" defs["ImSpanAllocator_Reserve"][1]["signature"] = "(int,size_t,int)" @@ -9290,7 +9754,7 @@ defs["ImSpanAllocator_SetArenaBasePtr"][1]["call_args"] = "(base_ptr)" defs["ImSpanAllocator_SetArenaBasePtr"][1]["cimguiname"] = "ImSpanAllocator_SetArenaBasePtr" defs["ImSpanAllocator_SetArenaBasePtr"][1]["defaults"] = {} defs["ImSpanAllocator_SetArenaBasePtr"][1]["funcname"] = "SetArenaBasePtr" -defs["ImSpanAllocator_SetArenaBasePtr"][1]["location"] = "imgui_internal:624" +defs["ImSpanAllocator_SetArenaBasePtr"][1]["location"] = "imgui_internal:647" defs["ImSpanAllocator_SetArenaBasePtr"][1]["ov_cimguiname"] = "ImSpanAllocator_SetArenaBasePtr" defs["ImSpanAllocator_SetArenaBasePtr"][1]["ret"] = "void" defs["ImSpanAllocator_SetArenaBasePtr"][1]["signature"] = "(void*)" @@ -9324,8 +9788,8 @@ defs["ImSpan_ImSpan"][1]["cimguiname"] = "ImSpan_ImSpan" defs["ImSpan_ImSpan"][1]["constructor"] = true defs["ImSpan_ImSpan"][1]["defaults"] = {} defs["ImSpan_ImSpan"][1]["funcname"] = "ImSpan" -defs["ImSpan_ImSpan"][1]["location"] = "imgui_internal:589" -defs["ImSpan_ImSpan"][1]["ov_cimguiname"] = "ImSpan_ImSpanNil" +defs["ImSpan_ImSpan"][1]["location"] = "imgui_internal:612" +defs["ImSpan_ImSpan"][1]["ov_cimguiname"] = "ImSpan_ImSpan_Nil" defs["ImSpan_ImSpan"][1]["signature"] = "()" defs["ImSpan_ImSpan"][1]["stname"] = "ImSpan" defs["ImSpan_ImSpan"][1]["templated"] = true @@ -9344,8 +9808,8 @@ defs["ImSpan_ImSpan"][2]["cimguiname"] = "ImSpan_ImSpan" defs["ImSpan_ImSpan"][2]["constructor"] = true defs["ImSpan_ImSpan"][2]["defaults"] = {} defs["ImSpan_ImSpan"][2]["funcname"] = "ImSpan" -defs["ImSpan_ImSpan"][2]["location"] = "imgui_internal:590" -defs["ImSpan_ImSpan"][2]["ov_cimguiname"] = "ImSpan_ImSpanTPtrInt" +defs["ImSpan_ImSpan"][2]["location"] = "imgui_internal:613" +defs["ImSpan_ImSpan"][2]["ov_cimguiname"] = "ImSpan_ImSpan_TPtrInt" defs["ImSpan_ImSpan"][2]["signature"] = "(T*,int)" defs["ImSpan_ImSpan"][2]["stname"] = "ImSpan" defs["ImSpan_ImSpan"][2]["templated"] = true @@ -9364,8 +9828,8 @@ defs["ImSpan_ImSpan"][3]["cimguiname"] = "ImSpan_ImSpan" defs["ImSpan_ImSpan"][3]["constructor"] = true defs["ImSpan_ImSpan"][3]["defaults"] = {} defs["ImSpan_ImSpan"][3]["funcname"] = "ImSpan" -defs["ImSpan_ImSpan"][3]["location"] = "imgui_internal:591" -defs["ImSpan_ImSpan"][3]["ov_cimguiname"] = "ImSpan_ImSpanTPtrTPtr" +defs["ImSpan_ImSpan"][3]["location"] = "imgui_internal:614" +defs["ImSpan_ImSpan"][3]["ov_cimguiname"] = "ImSpan_ImSpan_TPtrTPtr" defs["ImSpan_ImSpan"][3]["signature"] = "(T*,T*)" defs["ImSpan_ImSpan"][3]["stname"] = "ImSpan" defs["ImSpan_ImSpan"][3]["templated"] = true @@ -9384,8 +9848,8 @@ defs["ImSpan_begin"][1]["call_args"] = "()" defs["ImSpan_begin"][1]["cimguiname"] = "ImSpan_begin" defs["ImSpan_begin"][1]["defaults"] = {} defs["ImSpan_begin"][1]["funcname"] = "begin" -defs["ImSpan_begin"][1]["location"] = "imgui_internal:600" -defs["ImSpan_begin"][1]["ov_cimguiname"] = "ImSpan_beginNil" +defs["ImSpan_begin"][1]["location"] = "imgui_internal:623" +defs["ImSpan_begin"][1]["ov_cimguiname"] = "ImSpan_begin_Nil" defs["ImSpan_begin"][1]["ret"] = "T*" defs["ImSpan_begin"][1]["signature"] = "()" defs["ImSpan_begin"][1]["stname"] = "ImSpan" @@ -9401,8 +9865,8 @@ defs["ImSpan_begin"][2]["call_args"] = "()" defs["ImSpan_begin"][2]["cimguiname"] = "ImSpan_begin" defs["ImSpan_begin"][2]["defaults"] = {} defs["ImSpan_begin"][2]["funcname"] = "begin" -defs["ImSpan_begin"][2]["location"] = "imgui_internal:601" -defs["ImSpan_begin"][2]["ov_cimguiname"] = "ImSpan_begin_const" +defs["ImSpan_begin"][2]["location"] = "imgui_internal:624" +defs["ImSpan_begin"][2]["ov_cimguiname"] = "ImSpan_begin__const" defs["ImSpan_begin"][2]["ret"] = "const T*" defs["ImSpan_begin"][2]["signature"] = "()const" defs["ImSpan_begin"][2]["stname"] = "ImSpan" @@ -9438,8 +9902,8 @@ defs["ImSpan_end"][1]["call_args"] = "()" defs["ImSpan_end"][1]["cimguiname"] = "ImSpan_end" defs["ImSpan_end"][1]["defaults"] = {} defs["ImSpan_end"][1]["funcname"] = "end" -defs["ImSpan_end"][1]["location"] = "imgui_internal:602" -defs["ImSpan_end"][1]["ov_cimguiname"] = "ImSpan_endNil" +defs["ImSpan_end"][1]["location"] = "imgui_internal:625" +defs["ImSpan_end"][1]["ov_cimguiname"] = "ImSpan_end_Nil" defs["ImSpan_end"][1]["ret"] = "T*" defs["ImSpan_end"][1]["signature"] = "()" defs["ImSpan_end"][1]["stname"] = "ImSpan" @@ -9455,8 +9919,8 @@ defs["ImSpan_end"][2]["call_args"] = "()" defs["ImSpan_end"][2]["cimguiname"] = "ImSpan_end" defs["ImSpan_end"][2]["defaults"] = {} defs["ImSpan_end"][2]["funcname"] = "end" -defs["ImSpan_end"][2]["location"] = "imgui_internal:603" -defs["ImSpan_end"][2]["ov_cimguiname"] = "ImSpan_end_const" +defs["ImSpan_end"][2]["location"] = "imgui_internal:626" +defs["ImSpan_end"][2]["ov_cimguiname"] = "ImSpan_end__const" defs["ImSpan_end"][2]["ret"] = "const T*" defs["ImSpan_end"][2]["signature"] = "()const" defs["ImSpan_end"][2]["stname"] = "ImSpan" @@ -9478,7 +9942,7 @@ defs["ImSpan_index_from_ptr"][1]["call_args"] = "(it)" defs["ImSpan_index_from_ptr"][1]["cimguiname"] = "ImSpan_index_from_ptr" defs["ImSpan_index_from_ptr"][1]["defaults"] = {} defs["ImSpan_index_from_ptr"][1]["funcname"] = "index_from_ptr" -defs["ImSpan_index_from_ptr"][1]["location"] = "imgui_internal:606" +defs["ImSpan_index_from_ptr"][1]["location"] = "imgui_internal:629" defs["ImSpan_index_from_ptr"][1]["ov_cimguiname"] = "ImSpan_index_from_ptr" defs["ImSpan_index_from_ptr"][1]["ret"] = "int" defs["ImSpan_index_from_ptr"][1]["signature"] = "(const T*)const" @@ -9503,8 +9967,8 @@ defs["ImSpan_set"][1]["call_args"] = "(data,size)" defs["ImSpan_set"][1]["cimguiname"] = "ImSpan_set" defs["ImSpan_set"][1]["defaults"] = {} defs["ImSpan_set"][1]["funcname"] = "set" -defs["ImSpan_set"][1]["location"] = "imgui_internal:593" -defs["ImSpan_set"][1]["ov_cimguiname"] = "ImSpan_setInt" +defs["ImSpan_set"][1]["location"] = "imgui_internal:616" +defs["ImSpan_set"][1]["ov_cimguiname"] = "ImSpan_set_Int" defs["ImSpan_set"][1]["ret"] = "void" defs["ImSpan_set"][1]["signature"] = "(T*,int)" defs["ImSpan_set"][1]["stname"] = "ImSpan" @@ -9526,8 +9990,8 @@ defs["ImSpan_set"][2]["call_args"] = "(data,data_end)" defs["ImSpan_set"][2]["cimguiname"] = "ImSpan_set" defs["ImSpan_set"][2]["defaults"] = {} defs["ImSpan_set"][2]["funcname"] = "set" -defs["ImSpan_set"][2]["location"] = "imgui_internal:594" -defs["ImSpan_set"][2]["ov_cimguiname"] = "ImSpan_setTPtr" +defs["ImSpan_set"][2]["location"] = "imgui_internal:617" +defs["ImSpan_set"][2]["ov_cimguiname"] = "ImSpan_set_TPtr" defs["ImSpan_set"][2]["ret"] = "void" defs["ImSpan_set"][2]["signature"] = "(T*,T*)" defs["ImSpan_set"][2]["stname"] = "ImSpan" @@ -9546,7 +10010,7 @@ defs["ImSpan_size"][1]["call_args"] = "()" defs["ImSpan_size"][1]["cimguiname"] = "ImSpan_size" defs["ImSpan_size"][1]["defaults"] = {} defs["ImSpan_size"][1]["funcname"] = "size" -defs["ImSpan_size"][1]["location"] = "imgui_internal:595" +defs["ImSpan_size"][1]["location"] = "imgui_internal:618" defs["ImSpan_size"][1]["ov_cimguiname"] = "ImSpan_size" defs["ImSpan_size"][1]["ret"] = "int" defs["ImSpan_size"][1]["signature"] = "()const" @@ -9565,7 +10029,7 @@ defs["ImSpan_size_in_bytes"][1]["call_args"] = "()" defs["ImSpan_size_in_bytes"][1]["cimguiname"] = "ImSpan_size_in_bytes" defs["ImSpan_size_in_bytes"][1]["defaults"] = {} defs["ImSpan_size_in_bytes"][1]["funcname"] = "size_in_bytes" -defs["ImSpan_size_in_bytes"][1]["location"] = "imgui_internal:596" +defs["ImSpan_size_in_bytes"][1]["location"] = "imgui_internal:619" defs["ImSpan_size_in_bytes"][1]["ov_cimguiname"] = "ImSpan_size_in_bytes" defs["ImSpan_size_in_bytes"][1]["ret"] = "int" defs["ImSpan_size_in_bytes"][1]["signature"] = "()const" @@ -9582,8 +10046,8 @@ defs["ImVec1_ImVec1"][1]["cimguiname"] = "ImVec1_ImVec1" defs["ImVec1_ImVec1"][1]["constructor"] = true defs["ImVec1_ImVec1"][1]["defaults"] = {} defs["ImVec1_ImVec1"][1]["funcname"] = "ImVec1" -defs["ImVec1_ImVec1"][1]["location"] = "imgui_internal:484" -defs["ImVec1_ImVec1"][1]["ov_cimguiname"] = "ImVec1_ImVec1Nil" +defs["ImVec1_ImVec1"][1]["location"] = "imgui_internal:506" +defs["ImVec1_ImVec1"][1]["ov_cimguiname"] = "ImVec1_ImVec1_Nil" defs["ImVec1_ImVec1"][1]["signature"] = "()" defs["ImVec1_ImVec1"][1]["stname"] = "ImVec1" defs["ImVec1_ImVec1"][2] = {} @@ -9598,8 +10062,8 @@ defs["ImVec1_ImVec1"][2]["cimguiname"] = "ImVec1_ImVec1" defs["ImVec1_ImVec1"][2]["constructor"] = true defs["ImVec1_ImVec1"][2]["defaults"] = {} defs["ImVec1_ImVec1"][2]["funcname"] = "ImVec1" -defs["ImVec1_ImVec1"][2]["location"] = "imgui_internal:485" -defs["ImVec1_ImVec1"][2]["ov_cimguiname"] = "ImVec1_ImVec1Float" +defs["ImVec1_ImVec1"][2]["location"] = "imgui_internal:507" +defs["ImVec1_ImVec1"][2]["ov_cimguiname"] = "ImVec1_ImVec1_Float" defs["ImVec1_ImVec1"][2]["signature"] = "(float)" defs["ImVec1_ImVec1"][2]["stname"] = "ImVec1" defs["ImVec1_ImVec1"]["()"] = defs["ImVec1_ImVec1"][1] @@ -9630,8 +10094,8 @@ defs["ImVec2_ImVec2"][1]["cimguiname"] = "ImVec2_ImVec2" defs["ImVec2_ImVec2"][1]["constructor"] = true defs["ImVec2_ImVec2"][1]["defaults"] = {} defs["ImVec2_ImVec2"][1]["funcname"] = "ImVec2" -defs["ImVec2_ImVec2"][1]["location"] = "imgui:269" -defs["ImVec2_ImVec2"][1]["ov_cimguiname"] = "ImVec2_ImVec2Nil" +defs["ImVec2_ImVec2"][1]["location"] = "imgui:262" +defs["ImVec2_ImVec2"][1]["ov_cimguiname"] = "ImVec2_ImVec2_Nil" defs["ImVec2_ImVec2"][1]["signature"] = "()" defs["ImVec2_ImVec2"][1]["stname"] = "ImVec2" defs["ImVec2_ImVec2"][2] = {} @@ -9649,8 +10113,8 @@ defs["ImVec2_ImVec2"][2]["cimguiname"] = "ImVec2_ImVec2" defs["ImVec2_ImVec2"][2]["constructor"] = true defs["ImVec2_ImVec2"][2]["defaults"] = {} defs["ImVec2_ImVec2"][2]["funcname"] = "ImVec2" -defs["ImVec2_ImVec2"][2]["location"] = "imgui:270" -defs["ImVec2_ImVec2"][2]["ov_cimguiname"] = "ImVec2_ImVec2Float" +defs["ImVec2_ImVec2"][2]["location"] = "imgui:263" +defs["ImVec2_ImVec2"][2]["ov_cimguiname"] = "ImVec2_ImVec2_Float" defs["ImVec2_ImVec2"][2]["signature"] = "(float,float)" defs["ImVec2_ImVec2"][2]["stname"] = "ImVec2" defs["ImVec2_ImVec2"]["()"] = defs["ImVec2_ImVec2"][1] @@ -9681,8 +10145,8 @@ defs["ImVec2ih_ImVec2ih"][1]["cimguiname"] = "ImVec2ih_ImVec2ih" defs["ImVec2ih_ImVec2ih"][1]["constructor"] = true defs["ImVec2ih_ImVec2ih"][1]["defaults"] = {} defs["ImVec2ih_ImVec2ih"][1]["funcname"] = "ImVec2ih" -defs["ImVec2ih_ImVec2ih"][1]["location"] = "imgui_internal:492" -defs["ImVec2ih_ImVec2ih"][1]["ov_cimguiname"] = "ImVec2ih_ImVec2ihNil" +defs["ImVec2ih_ImVec2ih"][1]["location"] = "imgui_internal:514" +defs["ImVec2ih_ImVec2ih"][1]["ov_cimguiname"] = "ImVec2ih_ImVec2ih_Nil" defs["ImVec2ih_ImVec2ih"][1]["signature"] = "()" defs["ImVec2ih_ImVec2ih"][1]["stname"] = "ImVec2ih" defs["ImVec2ih_ImVec2ih"][2] = {} @@ -9700,8 +10164,8 @@ defs["ImVec2ih_ImVec2ih"][2]["cimguiname"] = "ImVec2ih_ImVec2ih" defs["ImVec2ih_ImVec2ih"][2]["constructor"] = true defs["ImVec2ih_ImVec2ih"][2]["defaults"] = {} defs["ImVec2ih_ImVec2ih"][2]["funcname"] = "ImVec2ih" -defs["ImVec2ih_ImVec2ih"][2]["location"] = "imgui_internal:493" -defs["ImVec2ih_ImVec2ih"][2]["ov_cimguiname"] = "ImVec2ih_ImVec2ihshort" +defs["ImVec2ih_ImVec2ih"][2]["location"] = "imgui_internal:515" +defs["ImVec2ih_ImVec2ih"][2]["ov_cimguiname"] = "ImVec2ih_ImVec2ih_short" defs["ImVec2ih_ImVec2ih"][2]["signature"] = "(short,short)" defs["ImVec2ih_ImVec2ih"][2]["stname"] = "ImVec2ih" defs["ImVec2ih_ImVec2ih"][3] = {} @@ -9716,8 +10180,8 @@ defs["ImVec2ih_ImVec2ih"][3]["cimguiname"] = "ImVec2ih_ImVec2ih" defs["ImVec2ih_ImVec2ih"][3]["constructor"] = true defs["ImVec2ih_ImVec2ih"][3]["defaults"] = {} defs["ImVec2ih_ImVec2ih"][3]["funcname"] = "ImVec2ih" -defs["ImVec2ih_ImVec2ih"][3]["location"] = "imgui_internal:494" -defs["ImVec2ih_ImVec2ih"][3]["ov_cimguiname"] = "ImVec2ih_ImVec2ihVec2" +defs["ImVec2ih_ImVec2ih"][3]["location"] = "imgui_internal:516" +defs["ImVec2ih_ImVec2ih"][3]["ov_cimguiname"] = "ImVec2ih_ImVec2ih_Vec2" defs["ImVec2ih_ImVec2ih"][3]["signature"] = "(const ImVec2)" defs["ImVec2ih_ImVec2ih"][3]["stname"] = "ImVec2ih" defs["ImVec2ih_ImVec2ih"]["()"] = defs["ImVec2ih_ImVec2ih"][1] @@ -9749,8 +10213,8 @@ defs["ImVec4_ImVec4"][1]["cimguiname"] = "ImVec4_ImVec4" defs["ImVec4_ImVec4"][1]["constructor"] = true defs["ImVec4_ImVec4"][1]["defaults"] = {} defs["ImVec4_ImVec4"][1]["funcname"] = "ImVec4" -defs["ImVec4_ImVec4"][1]["location"] = "imgui:282" -defs["ImVec4_ImVec4"][1]["ov_cimguiname"] = "ImVec4_ImVec4Nil" +defs["ImVec4_ImVec4"][1]["location"] = "imgui:275" +defs["ImVec4_ImVec4"][1]["ov_cimguiname"] = "ImVec4_ImVec4_Nil" defs["ImVec4_ImVec4"][1]["signature"] = "()" defs["ImVec4_ImVec4"][1]["stname"] = "ImVec4" defs["ImVec4_ImVec4"][2] = {} @@ -9774,8 +10238,8 @@ defs["ImVec4_ImVec4"][2]["cimguiname"] = "ImVec4_ImVec4" defs["ImVec4_ImVec4"][2]["constructor"] = true defs["ImVec4_ImVec4"][2]["defaults"] = {} defs["ImVec4_ImVec4"][2]["funcname"] = "ImVec4" -defs["ImVec4_ImVec4"][2]["location"] = "imgui:283" -defs["ImVec4_ImVec4"][2]["ov_cimguiname"] = "ImVec4_ImVec4Float" +defs["ImVec4_ImVec4"][2]["location"] = "imgui:276" +defs["ImVec4_ImVec4"][2]["ov_cimguiname"] = "ImVec4_ImVec4_Float" defs["ImVec4_ImVec4"][2]["signature"] = "(float,float,float,float)" defs["ImVec4_ImVec4"][2]["stname"] = "ImVec4" defs["ImVec4_ImVec4"]["()"] = defs["ImVec4_ImVec4"][1] @@ -9806,30 +10270,30 @@ defs["ImVector_ImVector"][1]["cimguiname"] = "ImVector_ImVector" defs["ImVector_ImVector"][1]["constructor"] = true defs["ImVector_ImVector"][1]["defaults"] = {} defs["ImVector_ImVector"][1]["funcname"] = "ImVector" -defs["ImVector_ImVector"][1]["location"] = "imgui:1784" -defs["ImVector_ImVector"][1]["ov_cimguiname"] = "ImVector_ImVectorNil" +defs["ImVector_ImVector"][1]["location"] = "imgui:1850" +defs["ImVector_ImVector"][1]["ov_cimguiname"] = "ImVector_ImVector_Nil" defs["ImVector_ImVector"][1]["signature"] = "()" defs["ImVector_ImVector"][1]["stname"] = "ImVector" defs["ImVector_ImVector"][1]["templated"] = true defs["ImVector_ImVector"][2] = {} -defs["ImVector_ImVector"][2]["args"] = "(const ImVector src)" +defs["ImVector_ImVector"][2]["args"] = "(const ImVector_T src)" defs["ImVector_ImVector"][2]["argsT"] = {} defs["ImVector_ImVector"][2]["argsT"][1] = {} defs["ImVector_ImVector"][2]["argsT"][1]["name"] = "src" -defs["ImVector_ImVector"][2]["argsT"][1]["type"] = "const ImVector" +defs["ImVector_ImVector"][2]["argsT"][1]["type"] = "const ImVector_T " defs["ImVector_ImVector"][2]["argsoriginal"] = "(const ImVector& src)" defs["ImVector_ImVector"][2]["call_args"] = "(src)" defs["ImVector_ImVector"][2]["cimguiname"] = "ImVector_ImVector" defs["ImVector_ImVector"][2]["constructor"] = true defs["ImVector_ImVector"][2]["defaults"] = {} defs["ImVector_ImVector"][2]["funcname"] = "ImVector" -defs["ImVector_ImVector"][2]["location"] = "imgui:1785" -defs["ImVector_ImVector"][2]["ov_cimguiname"] = "ImVector_ImVectorVector" -defs["ImVector_ImVector"][2]["signature"] = "(const ImVector)" +defs["ImVector_ImVector"][2]["location"] = "imgui:1851" +defs["ImVector_ImVector"][2]["ov_cimguiname"] = "ImVector_ImVector_Vector_T_" +defs["ImVector_ImVector"][2]["signature"] = "(const ImVector_T )" defs["ImVector_ImVector"][2]["stname"] = "ImVector" defs["ImVector_ImVector"][2]["templated"] = true defs["ImVector_ImVector"]["()"] = defs["ImVector_ImVector"][1] -defs["ImVector_ImVector"]["(const ImVector)"] = defs["ImVector_ImVector"][2] +defs["ImVector_ImVector"]["(const ImVector_T )"] = defs["ImVector_ImVector"][2] defs["ImVector__grow_capacity"] = {} defs["ImVector__grow_capacity"][1] = {} defs["ImVector__grow_capacity"][1]["args"] = "(ImVector* self,int sz)" @@ -9845,7 +10309,7 @@ defs["ImVector__grow_capacity"][1]["call_args"] = "(sz)" defs["ImVector__grow_capacity"][1]["cimguiname"] = "ImVector__grow_capacity" defs["ImVector__grow_capacity"][1]["defaults"] = {} defs["ImVector__grow_capacity"][1]["funcname"] = "_grow_capacity" -defs["ImVector__grow_capacity"][1]["location"] = "imgui:1811" +defs["ImVector__grow_capacity"][1]["location"] = "imgui:1877" defs["ImVector__grow_capacity"][1]["ov_cimguiname"] = "ImVector__grow_capacity" defs["ImVector__grow_capacity"][1]["ret"] = "int" defs["ImVector__grow_capacity"][1]["signature"] = "(int)const" @@ -9864,8 +10328,8 @@ defs["ImVector_back"][1]["call_args"] = "()" defs["ImVector_back"][1]["cimguiname"] = "ImVector_back" defs["ImVector_back"][1]["defaults"] = {} defs["ImVector_back"][1]["funcname"] = "back" -defs["ImVector_back"][1]["location"] = "imgui:1807" -defs["ImVector_back"][1]["ov_cimguiname"] = "ImVector_backNil" +defs["ImVector_back"][1]["location"] = "imgui:1873" +defs["ImVector_back"][1]["ov_cimguiname"] = "ImVector_back_Nil" defs["ImVector_back"][1]["ret"] = "T*" defs["ImVector_back"][1]["retref"] = "&" defs["ImVector_back"][1]["signature"] = "()" @@ -9882,8 +10346,8 @@ defs["ImVector_back"][2]["call_args"] = "()" defs["ImVector_back"][2]["cimguiname"] = "ImVector_back" defs["ImVector_back"][2]["defaults"] = {} defs["ImVector_back"][2]["funcname"] = "back" -defs["ImVector_back"][2]["location"] = "imgui:1808" -defs["ImVector_back"][2]["ov_cimguiname"] = "ImVector_back_const" +defs["ImVector_back"][2]["location"] = "imgui:1874" +defs["ImVector_back"][2]["ov_cimguiname"] = "ImVector_back__const" defs["ImVector_back"][2]["ret"] = "const T*" defs["ImVector_back"][2]["retref"] = "&" defs["ImVector_back"][2]["signature"] = "()const" @@ -9903,8 +10367,8 @@ defs["ImVector_begin"][1]["call_args"] = "()" defs["ImVector_begin"][1]["cimguiname"] = "ImVector_begin" defs["ImVector_begin"][1]["defaults"] = {} defs["ImVector_begin"][1]["funcname"] = "begin" -defs["ImVector_begin"][1]["location"] = "imgui:1801" -defs["ImVector_begin"][1]["ov_cimguiname"] = "ImVector_beginNil" +defs["ImVector_begin"][1]["location"] = "imgui:1867" +defs["ImVector_begin"][1]["ov_cimguiname"] = "ImVector_begin_Nil" defs["ImVector_begin"][1]["ret"] = "T*" defs["ImVector_begin"][1]["signature"] = "()" defs["ImVector_begin"][1]["stname"] = "ImVector" @@ -9920,8 +10384,8 @@ defs["ImVector_begin"][2]["call_args"] = "()" defs["ImVector_begin"][2]["cimguiname"] = "ImVector_begin" defs["ImVector_begin"][2]["defaults"] = {} defs["ImVector_begin"][2]["funcname"] = "begin" -defs["ImVector_begin"][2]["location"] = "imgui:1802" -defs["ImVector_begin"][2]["ov_cimguiname"] = "ImVector_begin_const" +defs["ImVector_begin"][2]["location"] = "imgui:1868" +defs["ImVector_begin"][2]["ov_cimguiname"] = "ImVector_begin__const" defs["ImVector_begin"][2]["ret"] = "const T*" defs["ImVector_begin"][2]["signature"] = "()const" defs["ImVector_begin"][2]["stname"] = "ImVector" @@ -9940,7 +10404,7 @@ defs["ImVector_capacity"][1]["call_args"] = "()" defs["ImVector_capacity"][1]["cimguiname"] = "ImVector_capacity" defs["ImVector_capacity"][1]["defaults"] = {} defs["ImVector_capacity"][1]["funcname"] = "capacity" -defs["ImVector_capacity"][1]["location"] = "imgui:1797" +defs["ImVector_capacity"][1]["location"] = "imgui:1863" defs["ImVector_capacity"][1]["ov_cimguiname"] = "ImVector_capacity" defs["ImVector_capacity"][1]["ret"] = "int" defs["ImVector_capacity"][1]["signature"] = "()const" @@ -9959,7 +10423,7 @@ defs["ImVector_clear"][1]["call_args"] = "()" defs["ImVector_clear"][1]["cimguiname"] = "ImVector_clear" defs["ImVector_clear"][1]["defaults"] = {} defs["ImVector_clear"][1]["funcname"] = "clear" -defs["ImVector_clear"][1]["location"] = "imgui:1789" +defs["ImVector_clear"][1]["location"] = "imgui:1855" defs["ImVector_clear"][1]["ov_cimguiname"] = "ImVector_clear" defs["ImVector_clear"][1]["ret"] = "void" defs["ImVector_clear"][1]["signature"] = "()" @@ -9978,7 +10442,7 @@ defs["ImVector_clear_delete"][1]["call_args"] = "()" defs["ImVector_clear_delete"][1]["cimguiname"] = "ImVector_clear_delete" defs["ImVector_clear_delete"][1]["defaults"] = {} defs["ImVector_clear_delete"][1]["funcname"] = "clear_delete" -defs["ImVector_clear_delete"][1]["location"] = "imgui:1790" +defs["ImVector_clear_delete"][1]["location"] = "imgui:1856" defs["ImVector_clear_delete"][1]["ov_cimguiname"] = "ImVector_clear_delete" defs["ImVector_clear_delete"][1]["ret"] = "void" defs["ImVector_clear_delete"][1]["signature"] = "()" @@ -9997,7 +10461,7 @@ defs["ImVector_clear_destruct"][1]["call_args"] = "()" defs["ImVector_clear_destruct"][1]["cimguiname"] = "ImVector_clear_destruct" defs["ImVector_clear_destruct"][1]["defaults"] = {} defs["ImVector_clear_destruct"][1]["funcname"] = "clear_destruct" -defs["ImVector_clear_destruct"][1]["location"] = "imgui:1791" +defs["ImVector_clear_destruct"][1]["location"] = "imgui:1857" defs["ImVector_clear_destruct"][1]["ov_cimguiname"] = "ImVector_clear_destruct" defs["ImVector_clear_destruct"][1]["ret"] = "void" defs["ImVector_clear_destruct"][1]["signature"] = "()" @@ -10019,7 +10483,7 @@ defs["ImVector_contains"][1]["call_args"] = "(v)" defs["ImVector_contains"][1]["cimguiname"] = "ImVector_contains" defs["ImVector_contains"][1]["defaults"] = {} defs["ImVector_contains"][1]["funcname"] = "contains" -defs["ImVector_contains"][1]["location"] = "imgui:1825" +defs["ImVector_contains"][1]["location"] = "imgui:1892" defs["ImVector_contains"][1]["ov_cimguiname"] = "ImVector_contains" defs["ImVector_contains"][1]["ret"] = "bool" defs["ImVector_contains"][1]["signature"] = "(const T)const" @@ -10037,7 +10501,7 @@ defs["ImVector_destroy"][1]["call_args"] = "(self)" defs["ImVector_destroy"][1]["cimguiname"] = "ImVector_destroy" defs["ImVector_destroy"][1]["defaults"] = {} defs["ImVector_destroy"][1]["destructor"] = true -defs["ImVector_destroy"][1]["location"] = "imgui:1787" +defs["ImVector_destroy"][1]["location"] = "imgui:1853" defs["ImVector_destroy"][1]["ov_cimguiname"] = "ImVector_destroy" defs["ImVector_destroy"][1]["realdestructor"] = true defs["ImVector_destroy"][1]["ret"] = "void" @@ -10057,7 +10521,7 @@ defs["ImVector_empty"][1]["call_args"] = "()" defs["ImVector_empty"][1]["cimguiname"] = "ImVector_empty" defs["ImVector_empty"][1]["defaults"] = {} defs["ImVector_empty"][1]["funcname"] = "empty" -defs["ImVector_empty"][1]["location"] = "imgui:1793" +defs["ImVector_empty"][1]["location"] = "imgui:1859" defs["ImVector_empty"][1]["ov_cimguiname"] = "ImVector_empty" defs["ImVector_empty"][1]["ret"] = "bool" defs["ImVector_empty"][1]["signature"] = "()const" @@ -10076,8 +10540,8 @@ defs["ImVector_end"][1]["call_args"] = "()" defs["ImVector_end"][1]["cimguiname"] = "ImVector_end" defs["ImVector_end"][1]["defaults"] = {} defs["ImVector_end"][1]["funcname"] = "end" -defs["ImVector_end"][1]["location"] = "imgui:1803" -defs["ImVector_end"][1]["ov_cimguiname"] = "ImVector_endNil" +defs["ImVector_end"][1]["location"] = "imgui:1869" +defs["ImVector_end"][1]["ov_cimguiname"] = "ImVector_end_Nil" defs["ImVector_end"][1]["ret"] = "T*" defs["ImVector_end"][1]["signature"] = "()" defs["ImVector_end"][1]["stname"] = "ImVector" @@ -10093,8 +10557,8 @@ defs["ImVector_end"][2]["call_args"] = "()" defs["ImVector_end"][2]["cimguiname"] = "ImVector_end" defs["ImVector_end"][2]["defaults"] = {} defs["ImVector_end"][2]["funcname"] = "end" -defs["ImVector_end"][2]["location"] = "imgui:1804" -defs["ImVector_end"][2]["ov_cimguiname"] = "ImVector_end_const" +defs["ImVector_end"][2]["location"] = "imgui:1870" +defs["ImVector_end"][2]["ov_cimguiname"] = "ImVector_end__const" defs["ImVector_end"][2]["ret"] = "const T*" defs["ImVector_end"][2]["signature"] = "()const" defs["ImVector_end"][2]["stname"] = "ImVector" @@ -10116,8 +10580,8 @@ defs["ImVector_erase"][1]["call_args"] = "(it)" defs["ImVector_erase"][1]["cimguiname"] = "ImVector_erase" defs["ImVector_erase"][1]["defaults"] = {} defs["ImVector_erase"][1]["funcname"] = "erase" -defs["ImVector_erase"][1]["location"] = "imgui:1821" -defs["ImVector_erase"][1]["ov_cimguiname"] = "ImVector_eraseNil" +defs["ImVector_erase"][1]["location"] = "imgui:1888" +defs["ImVector_erase"][1]["ov_cimguiname"] = "ImVector_erase_Nil" defs["ImVector_erase"][1]["ret"] = "T*" defs["ImVector_erase"][1]["signature"] = "(const T*)" defs["ImVector_erase"][1]["stname"] = "ImVector" @@ -10139,8 +10603,8 @@ defs["ImVector_erase"][2]["call_args"] = "(it,it_last)" defs["ImVector_erase"][2]["cimguiname"] = "ImVector_erase" defs["ImVector_erase"][2]["defaults"] = {} defs["ImVector_erase"][2]["funcname"] = "erase" -defs["ImVector_erase"][2]["location"] = "imgui:1822" -defs["ImVector_erase"][2]["ov_cimguiname"] = "ImVector_eraseTPtr" +defs["ImVector_erase"][2]["location"] = "imgui:1889" +defs["ImVector_erase"][2]["ov_cimguiname"] = "ImVector_erase_TPtr" defs["ImVector_erase"][2]["ret"] = "T*" defs["ImVector_erase"][2]["signature"] = "(const T*,const T*)" defs["ImVector_erase"][2]["stname"] = "ImVector" @@ -10162,7 +10626,7 @@ defs["ImVector_erase_unsorted"][1]["call_args"] = "(it)" defs["ImVector_erase_unsorted"][1]["cimguiname"] = "ImVector_erase_unsorted" defs["ImVector_erase_unsorted"][1]["defaults"] = {} defs["ImVector_erase_unsorted"][1]["funcname"] = "erase_unsorted" -defs["ImVector_erase_unsorted"][1]["location"] = "imgui:1823" +defs["ImVector_erase_unsorted"][1]["location"] = "imgui:1890" defs["ImVector_erase_unsorted"][1]["ov_cimguiname"] = "ImVector_erase_unsorted" defs["ImVector_erase_unsorted"][1]["ret"] = "T*" defs["ImVector_erase_unsorted"][1]["signature"] = "(const T*)" @@ -10184,8 +10648,8 @@ defs["ImVector_find"][1]["call_args"] = "(v)" defs["ImVector_find"][1]["cimguiname"] = "ImVector_find" defs["ImVector_find"][1]["defaults"] = {} defs["ImVector_find"][1]["funcname"] = "find" -defs["ImVector_find"][1]["location"] = "imgui:1826" -defs["ImVector_find"][1]["ov_cimguiname"] = "ImVector_findNil" +defs["ImVector_find"][1]["location"] = "imgui:1893" +defs["ImVector_find"][1]["ov_cimguiname"] = "ImVector_find_Nil" defs["ImVector_find"][1]["ret"] = "T*" defs["ImVector_find"][1]["signature"] = "(const T)" defs["ImVector_find"][1]["stname"] = "ImVector" @@ -10204,8 +10668,8 @@ defs["ImVector_find"][2]["call_args"] = "(v)" defs["ImVector_find"][2]["cimguiname"] = "ImVector_find" defs["ImVector_find"][2]["defaults"] = {} defs["ImVector_find"][2]["funcname"] = "find" -defs["ImVector_find"][2]["location"] = "imgui:1827" -defs["ImVector_find"][2]["ov_cimguiname"] = "ImVector_find_const" +defs["ImVector_find"][2]["location"] = "imgui:1894" +defs["ImVector_find"][2]["ov_cimguiname"] = "ImVector_find__const" defs["ImVector_find"][2]["ret"] = "const T*" defs["ImVector_find"][2]["signature"] = "(const T)const" defs["ImVector_find"][2]["stname"] = "ImVector" @@ -10227,7 +10691,7 @@ defs["ImVector_find_erase"][1]["call_args"] = "(v)" defs["ImVector_find_erase"][1]["cimguiname"] = "ImVector_find_erase" defs["ImVector_find_erase"][1]["defaults"] = {} defs["ImVector_find_erase"][1]["funcname"] = "find_erase" -defs["ImVector_find_erase"][1]["location"] = "imgui:1828" +defs["ImVector_find_erase"][1]["location"] = "imgui:1895" defs["ImVector_find_erase"][1]["ov_cimguiname"] = "ImVector_find_erase" defs["ImVector_find_erase"][1]["ret"] = "bool" defs["ImVector_find_erase"][1]["signature"] = "(const T)" @@ -10249,7 +10713,7 @@ defs["ImVector_find_erase_unsorted"][1]["call_args"] = "(v)" defs["ImVector_find_erase_unsorted"][1]["cimguiname"] = "ImVector_find_erase_unsorted" defs["ImVector_find_erase_unsorted"][1]["defaults"] = {} defs["ImVector_find_erase_unsorted"][1]["funcname"] = "find_erase_unsorted" -defs["ImVector_find_erase_unsorted"][1]["location"] = "imgui:1829" +defs["ImVector_find_erase_unsorted"][1]["location"] = "imgui:1896" defs["ImVector_find_erase_unsorted"][1]["ov_cimguiname"] = "ImVector_find_erase_unsorted" defs["ImVector_find_erase_unsorted"][1]["ret"] = "bool" defs["ImVector_find_erase_unsorted"][1]["signature"] = "(const T)" @@ -10268,8 +10732,8 @@ defs["ImVector_front"][1]["call_args"] = "()" defs["ImVector_front"][1]["cimguiname"] = "ImVector_front" defs["ImVector_front"][1]["defaults"] = {} defs["ImVector_front"][1]["funcname"] = "front" -defs["ImVector_front"][1]["location"] = "imgui:1805" -defs["ImVector_front"][1]["ov_cimguiname"] = "ImVector_frontNil" +defs["ImVector_front"][1]["location"] = "imgui:1871" +defs["ImVector_front"][1]["ov_cimguiname"] = "ImVector_front_Nil" defs["ImVector_front"][1]["ret"] = "T*" defs["ImVector_front"][1]["retref"] = "&" defs["ImVector_front"][1]["signature"] = "()" @@ -10286,8 +10750,8 @@ defs["ImVector_front"][2]["call_args"] = "()" defs["ImVector_front"][2]["cimguiname"] = "ImVector_front" defs["ImVector_front"][2]["defaults"] = {} defs["ImVector_front"][2]["funcname"] = "front" -defs["ImVector_front"][2]["location"] = "imgui:1806" -defs["ImVector_front"][2]["ov_cimguiname"] = "ImVector_front_const" +defs["ImVector_front"][2]["location"] = "imgui:1872" +defs["ImVector_front"][2]["ov_cimguiname"] = "ImVector_front__const" defs["ImVector_front"][2]["ret"] = "const T*" defs["ImVector_front"][2]["retref"] = "&" defs["ImVector_front"][2]["signature"] = "()const" @@ -10310,7 +10774,7 @@ defs["ImVector_index_from_ptr"][1]["call_args"] = "(it)" defs["ImVector_index_from_ptr"][1]["cimguiname"] = "ImVector_index_from_ptr" defs["ImVector_index_from_ptr"][1]["defaults"] = {} defs["ImVector_index_from_ptr"][1]["funcname"] = "index_from_ptr" -defs["ImVector_index_from_ptr"][1]["location"] = "imgui:1830" +defs["ImVector_index_from_ptr"][1]["location"] = "imgui:1897" defs["ImVector_index_from_ptr"][1]["ov_cimguiname"] = "ImVector_index_from_ptr" defs["ImVector_index_from_ptr"][1]["ret"] = "int" defs["ImVector_index_from_ptr"][1]["signature"] = "(const T*)const" @@ -10335,7 +10799,7 @@ defs["ImVector_insert"][1]["call_args"] = "(it,v)" defs["ImVector_insert"][1]["cimguiname"] = "ImVector_insert" defs["ImVector_insert"][1]["defaults"] = {} defs["ImVector_insert"][1]["funcname"] = "insert" -defs["ImVector_insert"][1]["location"] = "imgui:1824" +defs["ImVector_insert"][1]["location"] = "imgui:1891" defs["ImVector_insert"][1]["ov_cimguiname"] = "ImVector_insert" defs["ImVector_insert"][1]["ret"] = "T*" defs["ImVector_insert"][1]["signature"] = "(const T*,const T)" @@ -10354,7 +10818,7 @@ defs["ImVector_max_size"][1]["call_args"] = "()" defs["ImVector_max_size"][1]["cimguiname"] = "ImVector_max_size" defs["ImVector_max_size"][1]["defaults"] = {} defs["ImVector_max_size"][1]["funcname"] = "max_size" -defs["ImVector_max_size"][1]["location"] = "imgui:1796" +defs["ImVector_max_size"][1]["location"] = "imgui:1862" defs["ImVector_max_size"][1]["ov_cimguiname"] = "ImVector_max_size" defs["ImVector_max_size"][1]["ret"] = "int" defs["ImVector_max_size"][1]["signature"] = "()const" @@ -10373,7 +10837,7 @@ defs["ImVector_pop_back"][1]["call_args"] = "()" defs["ImVector_pop_back"][1]["cimguiname"] = "ImVector_pop_back" defs["ImVector_pop_back"][1]["defaults"] = {} defs["ImVector_pop_back"][1]["funcname"] = "pop_back" -defs["ImVector_pop_back"][1]["location"] = "imgui:1819" +defs["ImVector_pop_back"][1]["location"] = "imgui:1886" defs["ImVector_pop_back"][1]["ov_cimguiname"] = "ImVector_pop_back" defs["ImVector_pop_back"][1]["ret"] = "void" defs["ImVector_pop_back"][1]["signature"] = "()" @@ -10395,7 +10859,7 @@ defs["ImVector_push_back"][1]["call_args"] = "(v)" defs["ImVector_push_back"][1]["cimguiname"] = "ImVector_push_back" defs["ImVector_push_back"][1]["defaults"] = {} defs["ImVector_push_back"][1]["funcname"] = "push_back" -defs["ImVector_push_back"][1]["location"] = "imgui:1818" +defs["ImVector_push_back"][1]["location"] = "imgui:1885" defs["ImVector_push_back"][1]["ov_cimguiname"] = "ImVector_push_back" defs["ImVector_push_back"][1]["ret"] = "void" defs["ImVector_push_back"][1]["signature"] = "(const T)" @@ -10417,7 +10881,7 @@ defs["ImVector_push_front"][1]["call_args"] = "(v)" defs["ImVector_push_front"][1]["cimguiname"] = "ImVector_push_front" defs["ImVector_push_front"][1]["defaults"] = {} defs["ImVector_push_front"][1]["funcname"] = "push_front" -defs["ImVector_push_front"][1]["location"] = "imgui:1820" +defs["ImVector_push_front"][1]["location"] = "imgui:1887" defs["ImVector_push_front"][1]["ov_cimguiname"] = "ImVector_push_front" defs["ImVector_push_front"][1]["ret"] = "void" defs["ImVector_push_front"][1]["signature"] = "(const T)" @@ -10439,13 +10903,35 @@ defs["ImVector_reserve"][1]["call_args"] = "(new_capacity)" defs["ImVector_reserve"][1]["cimguiname"] = "ImVector_reserve" defs["ImVector_reserve"][1]["defaults"] = {} defs["ImVector_reserve"][1]["funcname"] = "reserve" -defs["ImVector_reserve"][1]["location"] = "imgui:1815" +defs["ImVector_reserve"][1]["location"] = "imgui:1881" defs["ImVector_reserve"][1]["ov_cimguiname"] = "ImVector_reserve" defs["ImVector_reserve"][1]["ret"] = "void" defs["ImVector_reserve"][1]["signature"] = "(int)" defs["ImVector_reserve"][1]["stname"] = "ImVector" defs["ImVector_reserve"][1]["templated"] = true defs["ImVector_reserve"]["(int)"] = defs["ImVector_reserve"][1] +defs["ImVector_reserve_discard"] = {} +defs["ImVector_reserve_discard"][1] = {} +defs["ImVector_reserve_discard"][1]["args"] = "(ImVector* self,int new_capacity)" +defs["ImVector_reserve_discard"][1]["argsT"] = {} +defs["ImVector_reserve_discard"][1]["argsT"][1] = {} +defs["ImVector_reserve_discard"][1]["argsT"][1]["name"] = "self" +defs["ImVector_reserve_discard"][1]["argsT"][1]["type"] = "ImVector*" +defs["ImVector_reserve_discard"][1]["argsT"][2] = {} +defs["ImVector_reserve_discard"][1]["argsT"][2]["name"] = "new_capacity" +defs["ImVector_reserve_discard"][1]["argsT"][2]["type"] = "int" +defs["ImVector_reserve_discard"][1]["argsoriginal"] = "(int new_capacity)" +defs["ImVector_reserve_discard"][1]["call_args"] = "(new_capacity)" +defs["ImVector_reserve_discard"][1]["cimguiname"] = "ImVector_reserve_discard" +defs["ImVector_reserve_discard"][1]["defaults"] = {} +defs["ImVector_reserve_discard"][1]["funcname"] = "reserve_discard" +defs["ImVector_reserve_discard"][1]["location"] = "imgui:1882" +defs["ImVector_reserve_discard"][1]["ov_cimguiname"] = "ImVector_reserve_discard" +defs["ImVector_reserve_discard"][1]["ret"] = "void" +defs["ImVector_reserve_discard"][1]["signature"] = "(int)" +defs["ImVector_reserve_discard"][1]["stname"] = "ImVector" +defs["ImVector_reserve_discard"][1]["templated"] = true +defs["ImVector_reserve_discard"]["(int)"] = defs["ImVector_reserve_discard"][1] defs["ImVector_resize"] = {} defs["ImVector_resize"][1] = {} defs["ImVector_resize"][1]["args"] = "(ImVector* self,int new_size)" @@ -10461,8 +10947,8 @@ defs["ImVector_resize"][1]["call_args"] = "(new_size)" defs["ImVector_resize"][1]["cimguiname"] = "ImVector_resize" defs["ImVector_resize"][1]["defaults"] = {} defs["ImVector_resize"][1]["funcname"] = "resize" -defs["ImVector_resize"][1]["location"] = "imgui:1812" -defs["ImVector_resize"][1]["ov_cimguiname"] = "ImVector_resizeNil" +defs["ImVector_resize"][1]["location"] = "imgui:1878" +defs["ImVector_resize"][1]["ov_cimguiname"] = "ImVector_resize_Nil" defs["ImVector_resize"][1]["ret"] = "void" defs["ImVector_resize"][1]["signature"] = "(int)" defs["ImVector_resize"][1]["stname"] = "ImVector" @@ -10484,8 +10970,8 @@ defs["ImVector_resize"][2]["call_args"] = "(new_size,v)" defs["ImVector_resize"][2]["cimguiname"] = "ImVector_resize" defs["ImVector_resize"][2]["defaults"] = {} defs["ImVector_resize"][2]["funcname"] = "resize" -defs["ImVector_resize"][2]["location"] = "imgui:1813" -defs["ImVector_resize"][2]["ov_cimguiname"] = "ImVector_resizeT" +defs["ImVector_resize"][2]["location"] = "imgui:1879" +defs["ImVector_resize"][2]["ov_cimguiname"] = "ImVector_resize_T" defs["ImVector_resize"][2]["ret"] = "void" defs["ImVector_resize"][2]["signature"] = "(int,const T)" defs["ImVector_resize"][2]["stname"] = "ImVector" @@ -10507,7 +10993,7 @@ defs["ImVector_shrink"][1]["call_args"] = "(new_size)" defs["ImVector_shrink"][1]["cimguiname"] = "ImVector_shrink" defs["ImVector_shrink"][1]["defaults"] = {} defs["ImVector_shrink"][1]["funcname"] = "shrink" -defs["ImVector_shrink"][1]["location"] = "imgui:1814" +defs["ImVector_shrink"][1]["location"] = "imgui:1880" defs["ImVector_shrink"][1]["ov_cimguiname"] = "ImVector_shrink" defs["ImVector_shrink"][1]["ret"] = "void" defs["ImVector_shrink"][1]["signature"] = "(int)" @@ -10526,7 +11012,7 @@ defs["ImVector_size"][1]["call_args"] = "()" defs["ImVector_size"][1]["cimguiname"] = "ImVector_size" defs["ImVector_size"][1]["defaults"] = {} defs["ImVector_size"][1]["funcname"] = "size" -defs["ImVector_size"][1]["location"] = "imgui:1794" +defs["ImVector_size"][1]["location"] = "imgui:1860" defs["ImVector_size"][1]["ov_cimguiname"] = "ImVector_size" defs["ImVector_size"][1]["ret"] = "int" defs["ImVector_size"][1]["signature"] = "()const" @@ -10545,7 +11031,7 @@ defs["ImVector_size_in_bytes"][1]["call_args"] = "()" defs["ImVector_size_in_bytes"][1]["cimguiname"] = "ImVector_size_in_bytes" defs["ImVector_size_in_bytes"][1]["defaults"] = {} defs["ImVector_size_in_bytes"][1]["funcname"] = "size_in_bytes" -defs["ImVector_size_in_bytes"][1]["location"] = "imgui:1795" +defs["ImVector_size_in_bytes"][1]["location"] = "imgui:1861" defs["ImVector_size_in_bytes"][1]["ov_cimguiname"] = "ImVector_size_in_bytes" defs["ImVector_size_in_bytes"][1]["ret"] = "int" defs["ImVector_size_in_bytes"][1]["signature"] = "()const" @@ -10554,7 +11040,7 @@ defs["ImVector_size_in_bytes"][1]["templated"] = true defs["ImVector_size_in_bytes"]["()const"] = defs["ImVector_size_in_bytes"][1] defs["ImVector_swap"] = {} defs["ImVector_swap"][1] = {} -defs["ImVector_swap"][1]["args"] = "(ImVector* self,ImVector* rhs)" +defs["ImVector_swap"][1]["args"] = "(ImVector* self,ImVector_T * rhs)" defs["ImVector_swap"][1]["argsT"] = {} defs["ImVector_swap"][1]["argsT"][1] = {} defs["ImVector_swap"][1]["argsT"][1]["name"] = "self" @@ -10562,19 +11048,19 @@ defs["ImVector_swap"][1]["argsT"][1]["type"] = "ImVector*" defs["ImVector_swap"][1]["argsT"][2] = {} defs["ImVector_swap"][1]["argsT"][2]["name"] = "rhs" defs["ImVector_swap"][1]["argsT"][2]["reftoptr"] = true -defs["ImVector_swap"][1]["argsT"][2]["type"] = "ImVector*" +defs["ImVector_swap"][1]["argsT"][2]["type"] = "ImVector_T *" defs["ImVector_swap"][1]["argsoriginal"] = "(ImVector& rhs)" defs["ImVector_swap"][1]["call_args"] = "(*rhs)" defs["ImVector_swap"][1]["cimguiname"] = "ImVector_swap" defs["ImVector_swap"][1]["defaults"] = {} defs["ImVector_swap"][1]["funcname"] = "swap" -defs["ImVector_swap"][1]["location"] = "imgui:1809" +defs["ImVector_swap"][1]["location"] = "imgui:1875" defs["ImVector_swap"][1]["ov_cimguiname"] = "ImVector_swap" defs["ImVector_swap"][1]["ret"] = "void" -defs["ImVector_swap"][1]["signature"] = "(ImVector*)" +defs["ImVector_swap"][1]["signature"] = "(ImVector_T *)" defs["ImVector_swap"][1]["stname"] = "ImVector" defs["ImVector_swap"][1]["templated"] = true -defs["ImVector_swap"]["(ImVector*)"] = defs["ImVector_swap"][1] +defs["ImVector_swap"]["(ImVector_T *)"] = defs["ImVector_swap"][1] defs["igAcceptDragDropPayload"] = {} defs["igAcceptDragDropPayload"][1] = {} defs["igAcceptDragDropPayload"][1]["args"] = "(const char* type,ImGuiDragDropFlags flags)" @@ -10591,7 +11077,7 @@ defs["igAcceptDragDropPayload"][1]["cimguiname"] = "igAcceptDragDropPayload" defs["igAcceptDragDropPayload"][1]["defaults"] = {} defs["igAcceptDragDropPayload"][1]["defaults"]["flags"] = "0" defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload" -defs["igAcceptDragDropPayload"][1]["location"] = "imgui:844" +defs["igAcceptDragDropPayload"][1]["location"] = "imgui:841" defs["igAcceptDragDropPayload"][1]["namespace"] = "ImGui" defs["igAcceptDragDropPayload"][1]["ov_cimguiname"] = "igAcceptDragDropPayload" defs["igAcceptDragDropPayload"][1]["ret"] = "const ImGuiPayload*" @@ -10610,7 +11096,7 @@ defs["igActivateItem"][1]["call_args"] = "(id)" defs["igActivateItem"][1]["cimguiname"] = "igActivateItem" defs["igActivateItem"][1]["defaults"] = {} defs["igActivateItem"][1]["funcname"] = "ActivateItem" -defs["igActivateItem"][1]["location"] = "imgui_internal:2812" +defs["igActivateItem"][1]["location"] = "imgui_internal:3094" defs["igActivateItem"][1]["namespace"] = "ImGui" defs["igActivateItem"][1]["ov_cimguiname"] = "igActivateItem" defs["igActivateItem"][1]["ret"] = "void" @@ -10632,13 +11118,32 @@ defs["igAddContextHook"][1]["call_args"] = "(context,hook)" defs["igAddContextHook"][1]["cimguiname"] = "igAddContextHook" defs["igAddContextHook"][1]["defaults"] = {} defs["igAddContextHook"][1]["funcname"] = "AddContextHook" -defs["igAddContextHook"][1]["location"] = "imgui_internal:2688" +defs["igAddContextHook"][1]["location"] = "imgui_internal:2977" defs["igAddContextHook"][1]["namespace"] = "ImGui" defs["igAddContextHook"][1]["ov_cimguiname"] = "igAddContextHook" defs["igAddContextHook"][1]["ret"] = "ImGuiID" defs["igAddContextHook"][1]["signature"] = "(ImGuiContext*,const ImGuiContextHook*)" defs["igAddContextHook"][1]["stname"] = "" defs["igAddContextHook"]["(ImGuiContext*,const ImGuiContextHook*)"] = defs["igAddContextHook"][1] +defs["igAddSettingsHandler"] = {} +defs["igAddSettingsHandler"][1] = {} +defs["igAddSettingsHandler"][1]["args"] = "(const ImGuiSettingsHandler* handler)" +defs["igAddSettingsHandler"][1]["argsT"] = {} +defs["igAddSettingsHandler"][1]["argsT"][1] = {} +defs["igAddSettingsHandler"][1]["argsT"][1]["name"] = "handler" +defs["igAddSettingsHandler"][1]["argsT"][1]["type"] = "const ImGuiSettingsHandler*" +defs["igAddSettingsHandler"][1]["argsoriginal"] = "(const ImGuiSettingsHandler* handler)" +defs["igAddSettingsHandler"][1]["call_args"] = "(handler)" +defs["igAddSettingsHandler"][1]["cimguiname"] = "igAddSettingsHandler" +defs["igAddSettingsHandler"][1]["defaults"] = {} +defs["igAddSettingsHandler"][1]["funcname"] = "AddSettingsHandler" +defs["igAddSettingsHandler"][1]["location"] = "imgui_internal:2997" +defs["igAddSettingsHandler"][1]["namespace"] = "ImGui" +defs["igAddSettingsHandler"][1]["ov_cimguiname"] = "igAddSettingsHandler" +defs["igAddSettingsHandler"][1]["ret"] = "void" +defs["igAddSettingsHandler"][1]["signature"] = "(const ImGuiSettingsHandler*)" +defs["igAddSettingsHandler"][1]["stname"] = "" +defs["igAddSettingsHandler"]["(const ImGuiSettingsHandler*)"] = defs["igAddSettingsHandler"][1] defs["igAlignTextToFramePadding"] = {} defs["igAlignTextToFramePadding"][1] = {} defs["igAlignTextToFramePadding"][1]["args"] = "()" @@ -10648,7 +11153,7 @@ defs["igAlignTextToFramePadding"][1]["call_args"] = "()" defs["igAlignTextToFramePadding"][1]["cimguiname"] = "igAlignTextToFramePadding" defs["igAlignTextToFramePadding"][1]["defaults"] = {} defs["igAlignTextToFramePadding"][1]["funcname"] = "AlignTextToFramePadding" -defs["igAlignTextToFramePadding"][1]["location"] = "imgui:468" +defs["igAlignTextToFramePadding"][1]["location"] = "imgui:465" defs["igAlignTextToFramePadding"][1]["namespace"] = "ImGui" defs["igAlignTextToFramePadding"][1]["ov_cimguiname"] = "igAlignTextToFramePadding" defs["igAlignTextToFramePadding"][1]["ret"] = "void" @@ -10670,7 +11175,7 @@ defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" defs["igArrowButton"][1]["defaults"] = {} defs["igArrowButton"][1]["funcname"] = "ArrowButton" -defs["igArrowButton"][1]["location"] = "imgui:515" +defs["igArrowButton"][1]["location"] = "imgui:512" defs["igArrowButton"][1]["namespace"] = "ImGui" defs["igArrowButton"][1]["ov_cimguiname"] = "igArrowButton" defs["igArrowButton"][1]["ret"] = "bool" @@ -10699,7 +11204,7 @@ defs["igArrowButtonEx"][1]["cimguiname"] = "igArrowButtonEx" defs["igArrowButtonEx"][1]["defaults"] = {} defs["igArrowButtonEx"][1]["defaults"]["flags"] = "0" defs["igArrowButtonEx"][1]["funcname"] = "ArrowButtonEx" -defs["igArrowButtonEx"][1]["location"] = "imgui_internal:3006" +defs["igArrowButtonEx"][1]["location"] = "imgui_internal:3354" defs["igArrowButtonEx"][1]["namespace"] = "ImGui" defs["igArrowButtonEx"][1]["ov_cimguiname"] = "igArrowButtonEx" defs["igArrowButtonEx"][1]["ret"] = "bool" @@ -10726,7 +11231,7 @@ defs["igBegin"][1]["defaults"] = {} defs["igBegin"][1]["defaults"]["flags"] = "0" defs["igBegin"][1]["defaults"]["p_open"] = "NULL" defs["igBegin"][1]["funcname"] = "Begin" -defs["igBegin"][1]["location"] = "imgui:342" +defs["igBegin"][1]["location"] = "imgui:336" defs["igBegin"][1]["namespace"] = "ImGui" defs["igBegin"][1]["ov_cimguiname"] = "igBegin" defs["igBegin"][1]["ret"] = "bool" @@ -10757,9 +11262,9 @@ defs["igBeginChild"][1]["defaults"]["border"] = "false" defs["igBeginChild"][1]["defaults"]["flags"] = "0" defs["igBeginChild"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igBeginChild"][1]["funcname"] = "BeginChild" -defs["igBeginChild"][1]["location"] = "imgui:353" +defs["igBeginChild"][1]["location"] = "imgui:347" defs["igBeginChild"][1]["namespace"] = "ImGui" -defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChildStr" +defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChild_Str" defs["igBeginChild"][1]["ret"] = "bool" defs["igBeginChild"][1]["signature"] = "(const char*,const ImVec2,bool,ImGuiWindowFlags)" defs["igBeginChild"][1]["stname"] = "" @@ -10786,9 +11291,9 @@ defs["igBeginChild"][2]["defaults"]["border"] = "false" defs["igBeginChild"][2]["defaults"]["flags"] = "0" defs["igBeginChild"][2]["defaults"]["size"] = "ImVec2(0,0)" defs["igBeginChild"][2]["funcname"] = "BeginChild" -defs["igBeginChild"][2]["location"] = "imgui:354" +defs["igBeginChild"][2]["location"] = "imgui:348" defs["igBeginChild"][2]["namespace"] = "ImGui" -defs["igBeginChild"][2]["ov_cimguiname"] = "igBeginChildID" +defs["igBeginChild"][2]["ov_cimguiname"] = "igBeginChild_ID" defs["igBeginChild"][2]["ret"] = "bool" defs["igBeginChild"][2]["signature"] = "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)" defs["igBeginChild"][2]["stname"] = "" @@ -10818,7 +11323,7 @@ defs["igBeginChildEx"][1]["call_args"] = "(name,id,size_arg,border,flags)" defs["igBeginChildEx"][1]["cimguiname"] = "igBeginChildEx" defs["igBeginChildEx"][1]["defaults"] = {} defs["igBeginChildEx"][1]["funcname"] = "BeginChildEx" -defs["igBeginChildEx"][1]["location"] = "imgui_internal:2775" +defs["igBeginChildEx"][1]["location"] = "imgui_internal:3060" defs["igBeginChildEx"][1]["namespace"] = "ImGui" defs["igBeginChildEx"][1]["ov_cimguiname"] = "igBeginChildEx" defs["igBeginChildEx"][1]["ret"] = "bool" @@ -10844,7 +11349,7 @@ defs["igBeginChildFrame"][1]["cimguiname"] = "igBeginChildFrame" defs["igBeginChildFrame"][1]["defaults"] = {} defs["igBeginChildFrame"][1]["defaults"]["flags"] = "0" defs["igBeginChildFrame"][1]["funcname"] = "BeginChildFrame" -defs["igBeginChildFrame"][1]["location"] = "imgui:905" +defs["igBeginChildFrame"][1]["location"] = "imgui:904" defs["igBeginChildFrame"][1]["namespace"] = "ImGui" defs["igBeginChildFrame"][1]["ov_cimguiname"] = "igBeginChildFrame" defs["igBeginChildFrame"][1]["ret"] = "bool" @@ -10870,7 +11375,7 @@ defs["igBeginColumns"][1]["cimguiname"] = "igBeginColumns" defs["igBeginColumns"][1]["defaults"] = {} defs["igBeginColumns"][1]["defaults"]["flags"] = "0" defs["igBeginColumns"][1]["funcname"] = "BeginColumns" -defs["igBeginColumns"][1]["location"] = "imgui_internal:2894" +defs["igBeginColumns"][1]["location"] = "imgui_internal:3245" defs["igBeginColumns"][1]["namespace"] = "ImGui" defs["igBeginColumns"][1]["ov_cimguiname"] = "igBeginColumns" defs["igBeginColumns"][1]["ret"] = "void" @@ -10921,7 +11426,7 @@ defs["igBeginComboPopup"][1]["call_args"] = "(popup_id,bb,flags)" defs["igBeginComboPopup"][1]["cimguiname"] = "igBeginComboPopup" defs["igBeginComboPopup"][1]["defaults"] = {} defs["igBeginComboPopup"][1]["funcname"] = "BeginComboPopup" -defs["igBeginComboPopup"][1]["location"] = "imgui_internal:2795" +defs["igBeginComboPopup"][1]["location"] = "imgui_internal:3080" defs["igBeginComboPopup"][1]["namespace"] = "ImGui" defs["igBeginComboPopup"][1]["ov_cimguiname"] = "igBeginComboPopup" defs["igBeginComboPopup"][1]["ret"] = "bool" @@ -10937,7 +11442,7 @@ defs["igBeginComboPreview"][1]["call_args"] = "()" defs["igBeginComboPreview"][1]["cimguiname"] = "igBeginComboPreview" defs["igBeginComboPreview"][1]["defaults"] = {} defs["igBeginComboPreview"][1]["funcname"] = "BeginComboPreview" -defs["igBeginComboPreview"][1]["location"] = "imgui_internal:2796" +defs["igBeginComboPreview"][1]["location"] = "imgui_internal:3081" defs["igBeginComboPreview"][1]["namespace"] = "ImGui" defs["igBeginComboPreview"][1]["ov_cimguiname"] = "igBeginComboPreview" defs["igBeginComboPreview"][1]["ret"] = "bool" @@ -10957,7 +11462,7 @@ defs["igBeginDisabled"][1]["cimguiname"] = "igBeginDisabled" defs["igBeginDisabled"][1]["defaults"] = {} defs["igBeginDisabled"][1]["defaults"]["disabled"] = "true" defs["igBeginDisabled"][1]["funcname"] = "BeginDisabled" -defs["igBeginDisabled"][1]["location"] = "imgui:852" +defs["igBeginDisabled"][1]["location"] = "imgui:849" defs["igBeginDisabled"][1]["namespace"] = "ImGui" defs["igBeginDisabled"][1]["ov_cimguiname"] = "igBeginDisabled" defs["igBeginDisabled"][1]["ret"] = "void" @@ -10976,7 +11481,7 @@ defs["igBeginDockableDragDropSource"][1]["call_args"] = "(window)" defs["igBeginDockableDragDropSource"][1]["cimguiname"] = "igBeginDockableDragDropSource" defs["igBeginDockableDragDropSource"][1]["defaults"] = {} defs["igBeginDockableDragDropSource"][1]["funcname"] = "BeginDockableDragDropSource" -defs["igBeginDockableDragDropSource"][1]["location"] = "imgui_internal:2859" +defs["igBeginDockableDragDropSource"][1]["location"] = "imgui_internal:3196" defs["igBeginDockableDragDropSource"][1]["namespace"] = "ImGui" defs["igBeginDockableDragDropSource"][1]["ov_cimguiname"] = "igBeginDockableDragDropSource" defs["igBeginDockableDragDropSource"][1]["ret"] = "void" @@ -10995,7 +11500,7 @@ defs["igBeginDockableDragDropTarget"][1]["call_args"] = "(window)" defs["igBeginDockableDragDropTarget"][1]["cimguiname"] = "igBeginDockableDragDropTarget" defs["igBeginDockableDragDropTarget"][1]["defaults"] = {} defs["igBeginDockableDragDropTarget"][1]["funcname"] = "BeginDockableDragDropTarget" -defs["igBeginDockableDragDropTarget"][1]["location"] = "imgui_internal:2860" +defs["igBeginDockableDragDropTarget"][1]["location"] = "imgui_internal:3197" defs["igBeginDockableDragDropTarget"][1]["namespace"] = "ImGui" defs["igBeginDockableDragDropTarget"][1]["ov_cimguiname"] = "igBeginDockableDragDropTarget" defs["igBeginDockableDragDropTarget"][1]["ret"] = "void" @@ -11017,7 +11522,7 @@ defs["igBeginDocked"][1]["call_args"] = "(window,p_open)" defs["igBeginDocked"][1]["cimguiname"] = "igBeginDocked" defs["igBeginDocked"][1]["defaults"] = {} defs["igBeginDocked"][1]["funcname"] = "BeginDocked" -defs["igBeginDocked"][1]["location"] = "imgui_internal:2858" +defs["igBeginDocked"][1]["location"] = "imgui_internal:3195" defs["igBeginDocked"][1]["namespace"] = "ImGui" defs["igBeginDocked"][1]["ov_cimguiname"] = "igBeginDocked" defs["igBeginDocked"][1]["ret"] = "void" @@ -11037,7 +11542,7 @@ defs["igBeginDragDropSource"][1]["cimguiname"] = "igBeginDragDropSource" defs["igBeginDragDropSource"][1]["defaults"] = {} defs["igBeginDragDropSource"][1]["defaults"]["flags"] = "0" defs["igBeginDragDropSource"][1]["funcname"] = "BeginDragDropSource" -defs["igBeginDragDropSource"][1]["location"] = "imgui:840" +defs["igBeginDragDropSource"][1]["location"] = "imgui:837" defs["igBeginDragDropSource"][1]["namespace"] = "ImGui" defs["igBeginDragDropSource"][1]["ov_cimguiname"] = "igBeginDragDropSource" defs["igBeginDragDropSource"][1]["ret"] = "bool" @@ -11053,7 +11558,7 @@ defs["igBeginDragDropTarget"][1]["call_args"] = "()" defs["igBeginDragDropTarget"][1]["cimguiname"] = "igBeginDragDropTarget" defs["igBeginDragDropTarget"][1]["defaults"] = {} defs["igBeginDragDropTarget"][1]["funcname"] = "BeginDragDropTarget" -defs["igBeginDragDropTarget"][1]["location"] = "imgui:843" +defs["igBeginDragDropTarget"][1]["location"] = "imgui:840" defs["igBeginDragDropTarget"][1]["namespace"] = "ImGui" defs["igBeginDragDropTarget"][1]["ov_cimguiname"] = "igBeginDragDropTarget" defs["igBeginDragDropTarget"][1]["ret"] = "bool" @@ -11075,7 +11580,7 @@ defs["igBeginDragDropTargetCustom"][1]["call_args"] = "(bb,id)" defs["igBeginDragDropTargetCustom"][1]["cimguiname"] = "igBeginDragDropTargetCustom" defs["igBeginDragDropTargetCustom"][1]["defaults"] = {} defs["igBeginDragDropTargetCustom"][1]["funcname"] = "BeginDragDropTargetCustom" -defs["igBeginDragDropTargetCustom"][1]["location"] = "imgui_internal:2888" +defs["igBeginDragDropTargetCustom"][1]["location"] = "imgui_internal:3238" defs["igBeginDragDropTargetCustom"][1]["namespace"] = "ImGui" defs["igBeginDragDropTargetCustom"][1]["ov_cimguiname"] = "igBeginDragDropTargetCustom" defs["igBeginDragDropTargetCustom"][1]["ret"] = "bool" @@ -11091,7 +11596,7 @@ defs["igBeginGroup"][1]["call_args"] = "()" defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" defs["igBeginGroup"][1]["defaults"] = {} defs["igBeginGroup"][1]["funcname"] = "BeginGroup" -defs["igBeginGroup"][1]["location"] = "imgui:457" +defs["igBeginGroup"][1]["location"] = "imgui:454" defs["igBeginGroup"][1]["namespace"] = "ImGui" defs["igBeginGroup"][1]["ov_cimguiname"] = "igBeginGroup" defs["igBeginGroup"][1]["ret"] = "void" @@ -11114,7 +11619,7 @@ defs["igBeginListBox"][1]["cimguiname"] = "igBeginListBox" defs["igBeginListBox"][1]["defaults"] = {} defs["igBeginListBox"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igBeginListBox"][1]["funcname"] = "BeginListBox" -defs["igBeginListBox"][1]["location"] = "imgui:640" +defs["igBeginListBox"][1]["location"] = "imgui:641" defs["igBeginListBox"][1]["namespace"] = "ImGui" defs["igBeginListBox"][1]["ov_cimguiname"] = "igBeginListBox" defs["igBeginListBox"][1]["ret"] = "bool" @@ -11130,7 +11635,7 @@ defs["igBeginMainMenuBar"][1]["call_args"] = "()" defs["igBeginMainMenuBar"][1]["cimguiname"] = "igBeginMainMenuBar" defs["igBeginMainMenuBar"][1]["defaults"] = {} defs["igBeginMainMenuBar"][1]["funcname"] = "BeginMainMenuBar" -defs["igBeginMainMenuBar"][1]["location"] = "imgui:666" +defs["igBeginMainMenuBar"][1]["location"] = "imgui:667" defs["igBeginMainMenuBar"][1]["namespace"] = "ImGui" defs["igBeginMainMenuBar"][1]["ov_cimguiname"] = "igBeginMainMenuBar" defs["igBeginMainMenuBar"][1]["ret"] = "bool" @@ -11153,7 +11658,7 @@ defs["igBeginMenu"][1]["cimguiname"] = "igBeginMenu" defs["igBeginMenu"][1]["defaults"] = {} defs["igBeginMenu"][1]["defaults"]["enabled"] = "true" defs["igBeginMenu"][1]["funcname"] = "BeginMenu" -defs["igBeginMenu"][1]["location"] = "imgui:668" +defs["igBeginMenu"][1]["location"] = "imgui:669" defs["igBeginMenu"][1]["namespace"] = "ImGui" defs["igBeginMenu"][1]["ov_cimguiname"] = "igBeginMenu" defs["igBeginMenu"][1]["ret"] = "bool" @@ -11169,7 +11674,7 @@ defs["igBeginMenuBar"][1]["call_args"] = "()" defs["igBeginMenuBar"][1]["cimguiname"] = "igBeginMenuBar" defs["igBeginMenuBar"][1]["defaults"] = {} defs["igBeginMenuBar"][1]["funcname"] = "BeginMenuBar" -defs["igBeginMenuBar"][1]["location"] = "imgui:664" +defs["igBeginMenuBar"][1]["location"] = "imgui:665" defs["igBeginMenuBar"][1]["namespace"] = "ImGui" defs["igBeginMenuBar"][1]["ov_cimguiname"] = "igBeginMenuBar" defs["igBeginMenuBar"][1]["ret"] = "bool" @@ -11195,7 +11700,7 @@ defs["igBeginMenuEx"][1]["cimguiname"] = "igBeginMenuEx" defs["igBeginMenuEx"][1]["defaults"] = {} defs["igBeginMenuEx"][1]["defaults"]["enabled"] = "true" defs["igBeginMenuEx"][1]["funcname"] = "BeginMenuEx" -defs["igBeginMenuEx"][1]["location"] = "imgui_internal:2791" +defs["igBeginMenuEx"][1]["location"] = "imgui_internal:3076" defs["igBeginMenuEx"][1]["namespace"] = "ImGui" defs["igBeginMenuEx"][1]["ov_cimguiname"] = "igBeginMenuEx" defs["igBeginMenuEx"][1]["ret"] = "bool" @@ -11218,7 +11723,7 @@ defs["igBeginPopup"][1]["cimguiname"] = "igBeginPopup" defs["igBeginPopup"][1]["defaults"] = {} defs["igBeginPopup"][1]["defaults"]["flags"] = "0" defs["igBeginPopup"][1]["funcname"] = "BeginPopup" -defs["igBeginPopup"][1]["location"] = "imgui:692" +defs["igBeginPopup"][1]["location"] = "imgui:693" defs["igBeginPopup"][1]["namespace"] = "ImGui" defs["igBeginPopup"][1]["ov_cimguiname"] = "igBeginPopup" defs["igBeginPopup"][1]["ret"] = "bool" @@ -11242,7 +11747,7 @@ defs["igBeginPopupContextItem"][1]["defaults"] = {} defs["igBeginPopupContextItem"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "NULL" defs["igBeginPopupContextItem"][1]["funcname"] = "BeginPopupContextItem" -defs["igBeginPopupContextItem"][1]["location"] = "imgui:713" +defs["igBeginPopupContextItem"][1]["location"] = "imgui:715" defs["igBeginPopupContextItem"][1]["namespace"] = "ImGui" defs["igBeginPopupContextItem"][1]["ov_cimguiname"] = "igBeginPopupContextItem" defs["igBeginPopupContextItem"][1]["ret"] = "bool" @@ -11266,7 +11771,7 @@ defs["igBeginPopupContextVoid"][1]["defaults"] = {} defs["igBeginPopupContextVoid"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextVoid"][1]["defaults"]["str_id"] = "NULL" defs["igBeginPopupContextVoid"][1]["funcname"] = "BeginPopupContextVoid" -defs["igBeginPopupContextVoid"][1]["location"] = "imgui:715" +defs["igBeginPopupContextVoid"][1]["location"] = "imgui:717" defs["igBeginPopupContextVoid"][1]["namespace"] = "ImGui" defs["igBeginPopupContextVoid"][1]["ov_cimguiname"] = "igBeginPopupContextVoid" defs["igBeginPopupContextVoid"][1]["ret"] = "bool" @@ -11290,7 +11795,7 @@ defs["igBeginPopupContextWindow"][1]["defaults"] = {} defs["igBeginPopupContextWindow"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextWindow"][1]["defaults"]["str_id"] = "NULL" defs["igBeginPopupContextWindow"][1]["funcname"] = "BeginPopupContextWindow" -defs["igBeginPopupContextWindow"][1]["location"] = "imgui:714" +defs["igBeginPopupContextWindow"][1]["location"] = "imgui:716" defs["igBeginPopupContextWindow"][1]["namespace"] = "ImGui" defs["igBeginPopupContextWindow"][1]["ov_cimguiname"] = "igBeginPopupContextWindow" defs["igBeginPopupContextWindow"][1]["ret"] = "bool" @@ -11312,7 +11817,7 @@ defs["igBeginPopupEx"][1]["call_args"] = "(id,extra_flags)" defs["igBeginPopupEx"][1]["cimguiname"] = "igBeginPopupEx" defs["igBeginPopupEx"][1]["defaults"] = {} defs["igBeginPopupEx"][1]["funcname"] = "BeginPopupEx" -defs["igBeginPopupEx"][1]["location"] = "imgui_internal:2781" +defs["igBeginPopupEx"][1]["location"] = "imgui_internal:3066" defs["igBeginPopupEx"][1]["namespace"] = "ImGui" defs["igBeginPopupEx"][1]["ov_cimguiname"] = "igBeginPopupEx" defs["igBeginPopupEx"][1]["ret"] = "bool" @@ -11339,7 +11844,7 @@ defs["igBeginPopupModal"][1]["defaults"] = {} defs["igBeginPopupModal"][1]["defaults"]["flags"] = "0" defs["igBeginPopupModal"][1]["defaults"]["p_open"] = "NULL" defs["igBeginPopupModal"][1]["funcname"] = "BeginPopupModal" -defs["igBeginPopupModal"][1]["location"] = "imgui:693" +defs["igBeginPopupModal"][1]["location"] = "imgui:694" defs["igBeginPopupModal"][1]["namespace"] = "ImGui" defs["igBeginPopupModal"][1]["ov_cimguiname"] = "igBeginPopupModal" defs["igBeginPopupModal"][1]["ret"] = "bool" @@ -11362,7 +11867,7 @@ defs["igBeginTabBar"][1]["cimguiname"] = "igBeginTabBar" defs["igBeginTabBar"][1]["defaults"] = {} defs["igBeginTabBar"][1]["defaults"]["flags"] = "0" defs["igBeginTabBar"][1]["funcname"] = "BeginTabBar" -defs["igBeginTabBar"][1]["location"] = "imgui:798" +defs["igBeginTabBar"][1]["location"] = "imgui:795" defs["igBeginTabBar"][1]["namespace"] = "ImGui" defs["igBeginTabBar"][1]["ov_cimguiname"] = "igBeginTabBar" defs["igBeginTabBar"][1]["ret"] = "bool" @@ -11390,7 +11895,7 @@ defs["igBeginTabBarEx"][1]["call_args"] = "(tab_bar,bb,flags,dock_node)" defs["igBeginTabBarEx"][1]["cimguiname"] = "igBeginTabBarEx" defs["igBeginTabBarEx"][1]["defaults"] = {} defs["igBeginTabBarEx"][1]["funcname"] = "BeginTabBarEx" -defs["igBeginTabBarEx"][1]["location"] = "imgui_internal:2956" +defs["igBeginTabBarEx"][1]["location"] = "imgui_internal:3309" defs["igBeginTabBarEx"][1]["namespace"] = "ImGui" defs["igBeginTabBarEx"][1]["ov_cimguiname"] = "igBeginTabBarEx" defs["igBeginTabBarEx"][1]["ret"] = "bool" @@ -11417,7 +11922,7 @@ defs["igBeginTabItem"][1]["defaults"] = {} defs["igBeginTabItem"][1]["defaults"]["flags"] = "0" defs["igBeginTabItem"][1]["defaults"]["p_open"] = "NULL" defs["igBeginTabItem"][1]["funcname"] = "BeginTabItem" -defs["igBeginTabItem"][1]["location"] = "imgui:800" +defs["igBeginTabItem"][1]["location"] = "imgui:797" defs["igBeginTabItem"][1]["namespace"] = "ImGui" defs["igBeginTabItem"][1]["ov_cimguiname"] = "igBeginTabItem" defs["igBeginTabItem"][1]["ret"] = "bool" @@ -11488,7 +11993,7 @@ defs["igBeginTableEx"][1]["defaults"]["flags"] = "0" defs["igBeginTableEx"][1]["defaults"]["inner_width"] = "0.0f" defs["igBeginTableEx"][1]["defaults"]["outer_size"] = "ImVec2(0,0)" defs["igBeginTableEx"][1]["funcname"] = "BeginTableEx" -defs["igBeginTableEx"][1]["location"] = "imgui_internal:2916" +defs["igBeginTableEx"][1]["location"] = "imgui_internal:3267" defs["igBeginTableEx"][1]["namespace"] = "ImGui" defs["igBeginTableEx"][1]["ov_cimguiname"] = "igBeginTableEx" defs["igBeginTableEx"][1]["ret"] = "bool" @@ -11504,7 +12009,7 @@ defs["igBeginTooltip"][1]["call_args"] = "()" defs["igBeginTooltip"][1]["cimguiname"] = "igBeginTooltip" defs["igBeginTooltip"][1]["defaults"] = {} defs["igBeginTooltip"][1]["funcname"] = "BeginTooltip" -defs["igBeginTooltip"][1]["location"] = "imgui:675" +defs["igBeginTooltip"][1]["location"] = "imgui:676" defs["igBeginTooltip"][1]["namespace"] = "ImGui" defs["igBeginTooltip"][1]["ov_cimguiname"] = "igBeginTooltip" defs["igBeginTooltip"][1]["ret"] = "void" @@ -11526,7 +12031,7 @@ defs["igBeginTooltipEx"][1]["call_args"] = "(tooltip_flags,extra_window_flags)" defs["igBeginTooltipEx"][1]["cimguiname"] = "igBeginTooltipEx" defs["igBeginTooltipEx"][1]["defaults"] = {} defs["igBeginTooltipEx"][1]["funcname"] = "BeginTooltipEx" -defs["igBeginTooltipEx"][1]["location"] = "imgui_internal:2782" +defs["igBeginTooltipEx"][1]["location"] = "imgui_internal:3067" defs["igBeginTooltipEx"][1]["namespace"] = "ImGui" defs["igBeginTooltipEx"][1]["ov_cimguiname"] = "igBeginTooltipEx" defs["igBeginTooltipEx"][1]["ret"] = "void" @@ -11557,7 +12062,7 @@ defs["igBeginViewportSideBar"][1]["call_args"] = "(name,viewport,dir,size,window defs["igBeginViewportSideBar"][1]["cimguiname"] = "igBeginViewportSideBar" defs["igBeginViewportSideBar"][1]["defaults"] = {} defs["igBeginViewportSideBar"][1]["funcname"] = "BeginViewportSideBar" -defs["igBeginViewportSideBar"][1]["location"] = "imgui_internal:2790" +defs["igBeginViewportSideBar"][1]["location"] = "imgui_internal:3075" defs["igBeginViewportSideBar"][1]["namespace"] = "ImGui" defs["igBeginViewportSideBar"][1]["ov_cimguiname"] = "igBeginViewportSideBar" defs["igBeginViewportSideBar"][1]["ret"] = "bool" @@ -11576,7 +12081,7 @@ defs["igBringWindowToDisplayBack"][1]["call_args"] = "(window)" defs["igBringWindowToDisplayBack"][1]["cimguiname"] = "igBringWindowToDisplayBack" defs["igBringWindowToDisplayBack"][1]["defaults"] = {} defs["igBringWindowToDisplayBack"][1]["funcname"] = "BringWindowToDisplayBack" -defs["igBringWindowToDisplayBack"][1]["location"] = "imgui_internal:2666" +defs["igBringWindowToDisplayBack"][1]["location"] = "imgui_internal:2954" defs["igBringWindowToDisplayBack"][1]["namespace"] = "ImGui" defs["igBringWindowToDisplayBack"][1]["ov_cimguiname"] = "igBringWindowToDisplayBack" defs["igBringWindowToDisplayBack"][1]["ret"] = "void" @@ -11598,7 +12103,7 @@ defs["igBringWindowToDisplayBehind"][1]["call_args"] = "(window,above_window)" defs["igBringWindowToDisplayBehind"][1]["cimguiname"] = "igBringWindowToDisplayBehind" defs["igBringWindowToDisplayBehind"][1]["defaults"] = {} defs["igBringWindowToDisplayBehind"][1]["funcname"] = "BringWindowToDisplayBehind" -defs["igBringWindowToDisplayBehind"][1]["location"] = "imgui_internal:2667" +defs["igBringWindowToDisplayBehind"][1]["location"] = "imgui_internal:2955" defs["igBringWindowToDisplayBehind"][1]["namespace"] = "ImGui" defs["igBringWindowToDisplayBehind"][1]["ov_cimguiname"] = "igBringWindowToDisplayBehind" defs["igBringWindowToDisplayBehind"][1]["ret"] = "void" @@ -11617,7 +12122,7 @@ defs["igBringWindowToDisplayFront"][1]["call_args"] = "(window)" defs["igBringWindowToDisplayFront"][1]["cimguiname"] = "igBringWindowToDisplayFront" defs["igBringWindowToDisplayFront"][1]["defaults"] = {} defs["igBringWindowToDisplayFront"][1]["funcname"] = "BringWindowToDisplayFront" -defs["igBringWindowToDisplayFront"][1]["location"] = "imgui_internal:2665" +defs["igBringWindowToDisplayFront"][1]["location"] = "imgui_internal:2953" defs["igBringWindowToDisplayFront"][1]["namespace"] = "ImGui" defs["igBringWindowToDisplayFront"][1]["ov_cimguiname"] = "igBringWindowToDisplayFront" defs["igBringWindowToDisplayFront"][1]["ret"] = "void" @@ -11636,7 +12141,7 @@ defs["igBringWindowToFocusFront"][1]["call_args"] = "(window)" defs["igBringWindowToFocusFront"][1]["cimguiname"] = "igBringWindowToFocusFront" defs["igBringWindowToFocusFront"][1]["defaults"] = {} defs["igBringWindowToFocusFront"][1]["funcname"] = "BringWindowToFocusFront" -defs["igBringWindowToFocusFront"][1]["location"] = "imgui_internal:2664" +defs["igBringWindowToFocusFront"][1]["location"] = "imgui_internal:2952" defs["igBringWindowToFocusFront"][1]["namespace"] = "ImGui" defs["igBringWindowToFocusFront"][1]["ov_cimguiname"] = "igBringWindowToFocusFront" defs["igBringWindowToFocusFront"][1]["ret"] = "void" @@ -11652,7 +12157,7 @@ defs["igBullet"][1]["call_args"] = "()" defs["igBullet"][1]["cimguiname"] = "igBullet" defs["igBullet"][1]["defaults"] = {} defs["igBullet"][1]["funcname"] = "Bullet" -defs["igBullet"][1]["location"] = "imgui:524" +defs["igBullet"][1]["location"] = "imgui:519" defs["igBullet"][1]["namespace"] = "ImGui" defs["igBullet"][1]["ov_cimguiname"] = "igBullet" defs["igBullet"][1]["ret"] = "void" @@ -11675,7 +12180,7 @@ defs["igBulletText"][1]["cimguiname"] = "igBulletText" defs["igBulletText"][1]["defaults"] = {} defs["igBulletText"][1]["funcname"] = "BulletText" defs["igBulletText"][1]["isvararg"] = "...)" -defs["igBulletText"][1]["location"] = "imgui:506" +defs["igBulletText"][1]["location"] = "imgui:503" defs["igBulletText"][1]["namespace"] = "ImGui" defs["igBulletText"][1]["ov_cimguiname"] = "igBulletText" defs["igBulletText"][1]["ret"] = "void" @@ -11697,7 +12202,7 @@ defs["igBulletTextV"][1]["call_args"] = "(fmt,args)" defs["igBulletTextV"][1]["cimguiname"] = "igBulletTextV" defs["igBulletTextV"][1]["defaults"] = {} defs["igBulletTextV"][1]["funcname"] = "BulletTextV" -defs["igBulletTextV"][1]["location"] = "imgui:507" +defs["igBulletTextV"][1]["location"] = "imgui:504" defs["igBulletTextV"][1]["namespace"] = "ImGui" defs["igBulletTextV"][1]["ov_cimguiname"] = "igBulletTextV" defs["igBulletTextV"][1]["ret"] = "void" @@ -11720,7 +12225,7 @@ defs["igButton"][1]["cimguiname"] = "igButton" defs["igButton"][1]["defaults"] = {} defs["igButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igButton"][1]["funcname"] = "Button" -defs["igButton"][1]["location"] = "imgui:512" +defs["igButton"][1]["location"] = "imgui:509" defs["igButton"][1]["namespace"] = "ImGui" defs["igButton"][1]["ov_cimguiname"] = "igButton" defs["igButton"][1]["ret"] = "bool" @@ -11752,7 +12257,7 @@ defs["igButtonBehavior"][1]["cimguiname"] = "igButtonBehavior" defs["igButtonBehavior"][1]["defaults"] = {} defs["igButtonBehavior"][1]["defaults"]["flags"] = "0" defs["igButtonBehavior"][1]["funcname"] = "ButtonBehavior" -defs["igButtonBehavior"][1]["location"] = "imgui_internal:3019" +defs["igButtonBehavior"][1]["location"] = "imgui_internal:3367" defs["igButtonBehavior"][1]["namespace"] = "ImGui" defs["igButtonBehavior"][1]["ov_cimguiname"] = "igButtonBehavior" defs["igButtonBehavior"][1]["ret"] = "bool" @@ -11779,7 +12284,7 @@ defs["igButtonEx"][1]["defaults"] = {} defs["igButtonEx"][1]["defaults"]["flags"] = "0" defs["igButtonEx"][1]["defaults"]["size_arg"] = "ImVec2(0,0)" defs["igButtonEx"][1]["funcname"] = "ButtonEx" -defs["igButtonEx"][1]["location"] = "imgui_internal:3003" +defs["igButtonEx"][1]["location"] = "imgui_internal:3351" defs["igButtonEx"][1]["namespace"] = "ImGui" defs["igButtonEx"][1]["ov_cimguiname"] = "igButtonEx" defs["igButtonEx"][1]["ret"] = "bool" @@ -11807,7 +12312,7 @@ defs["igCalcItemSize"][1]["call_args"] = "(size,default_w,default_h)" defs["igCalcItemSize"][1]["cimguiname"] = "igCalcItemSize" defs["igCalcItemSize"][1]["defaults"] = {} defs["igCalcItemSize"][1]["funcname"] = "CalcItemSize" -defs["igCalcItemSize"][1]["location"] = "imgui_internal:2746" +defs["igCalcItemSize"][1]["location"] = "imgui_internal:3042" defs["igCalcItemSize"][1]["namespace"] = "ImGui" defs["igCalcItemSize"][1]["nonUDT"] = 1 defs["igCalcItemSize"][1]["ov_cimguiname"] = "igCalcItemSize" @@ -11824,7 +12329,7 @@ defs["igCalcItemWidth"][1]["call_args"] = "()" defs["igCalcItemWidth"][1]["cimguiname"] = "igCalcItemWidth" defs["igCalcItemWidth"][1]["defaults"] = {} defs["igCalcItemWidth"][1]["funcname"] = "CalcItemWidth" -defs["igCalcItemWidth"][1]["location"] = "imgui:429" +defs["igCalcItemWidth"][1]["location"] = "imgui:426" defs["igCalcItemWidth"][1]["namespace"] = "ImGui" defs["igCalcItemWidth"][1]["ov_cimguiname"] = "igCalcItemWidth" defs["igCalcItemWidth"][1]["ret"] = "float" @@ -11849,7 +12354,7 @@ defs["igCalcRoundingFlagsForRectInRect"][1]["call_args"] = "(r_in,r_outer,thresh defs["igCalcRoundingFlagsForRectInRect"][1]["cimguiname"] = "igCalcRoundingFlagsForRectInRect" defs["igCalcRoundingFlagsForRectInRect"][1]["defaults"] = {} defs["igCalcRoundingFlagsForRectInRect"][1]["funcname"] = "CalcRoundingFlagsForRectInRect" -defs["igCalcRoundingFlagsForRectInRect"][1]["location"] = "imgui_internal:2993" +defs["igCalcRoundingFlagsForRectInRect"][1]["location"] = "imgui_internal:3347" defs["igCalcRoundingFlagsForRectInRect"][1]["namespace"] = "ImGui" defs["igCalcRoundingFlagsForRectInRect"][1]["ov_cimguiname"] = "igCalcRoundingFlagsForRectInRect" defs["igCalcRoundingFlagsForRectInRect"][1]["ret"] = "ImDrawFlags" @@ -11883,7 +12388,7 @@ defs["igCalcTextSize"][1]["defaults"]["hide_text_after_double_hash"] = "false" defs["igCalcTextSize"][1]["defaults"]["text_end"] = "NULL" defs["igCalcTextSize"][1]["defaults"]["wrap_width"] = "-1.0f" defs["igCalcTextSize"][1]["funcname"] = "CalcTextSize" -defs["igCalcTextSize"][1]["location"] = "imgui:909" +defs["igCalcTextSize"][1]["location"] = "imgui:908" defs["igCalcTextSize"][1]["namespace"] = "ImGui" defs["igCalcTextSize"][1]["nonUDT"] = 1 defs["igCalcTextSize"][1]["ov_cimguiname"] = "igCalcTextSize" @@ -11912,7 +12417,7 @@ defs["igCalcTypematicRepeatAmount"][1]["call_args"] = "(t0,t1,repeat_delay,repea defs["igCalcTypematicRepeatAmount"][1]["cimguiname"] = "igCalcTypematicRepeatAmount" defs["igCalcTypematicRepeatAmount"][1]["defaults"] = {} defs["igCalcTypematicRepeatAmount"][1]["funcname"] = "CalcTypematicRepeatAmount" -defs["igCalcTypematicRepeatAmount"][1]["location"] = "imgui_internal:2811" +defs["igCalcTypematicRepeatAmount"][1]["location"] = "imgui_internal:3122" defs["igCalcTypematicRepeatAmount"][1]["namespace"] = "ImGui" defs["igCalcTypematicRepeatAmount"][1]["ov_cimguiname"] = "igCalcTypematicRepeatAmount" defs["igCalcTypematicRepeatAmount"][1]["ret"] = "int" @@ -11934,7 +12439,7 @@ defs["igCalcWindowNextAutoFitSize"][1]["call_args"] = "(window)" defs["igCalcWindowNextAutoFitSize"][1]["cimguiname"] = "igCalcWindowNextAutoFitSize" defs["igCalcWindowNextAutoFitSize"][1]["defaults"] = {} defs["igCalcWindowNextAutoFitSize"][1]["funcname"] = "CalcWindowNextAutoFitSize" -defs["igCalcWindowNextAutoFitSize"][1]["location"] = "imgui_internal:2649" +defs["igCalcWindowNextAutoFitSize"][1]["location"] = "imgui_internal:2937" defs["igCalcWindowNextAutoFitSize"][1]["namespace"] = "ImGui" defs["igCalcWindowNextAutoFitSize"][1]["nonUDT"] = 1 defs["igCalcWindowNextAutoFitSize"][1]["ov_cimguiname"] = "igCalcWindowNextAutoFitSize" @@ -11957,7 +12462,7 @@ defs["igCalcWrapWidthForPos"][1]["call_args"] = "(pos,wrap_pos_x)" defs["igCalcWrapWidthForPos"][1]["cimguiname"] = "igCalcWrapWidthForPos" defs["igCalcWrapWidthForPos"][1]["defaults"] = {} defs["igCalcWrapWidthForPos"][1]["funcname"] = "CalcWrapWidthForPos" -defs["igCalcWrapWidthForPos"][1]["location"] = "imgui_internal:2747" +defs["igCalcWrapWidthForPos"][1]["location"] = "imgui_internal:3043" defs["igCalcWrapWidthForPos"][1]["namespace"] = "ImGui" defs["igCalcWrapWidthForPos"][1]["ov_cimguiname"] = "igCalcWrapWidthForPos" defs["igCalcWrapWidthForPos"][1]["ret"] = "float" @@ -11979,53 +12484,13 @@ defs["igCallContextHooks"][1]["call_args"] = "(context,type)" defs["igCallContextHooks"][1]["cimguiname"] = "igCallContextHooks" defs["igCallContextHooks"][1]["defaults"] = {} defs["igCallContextHooks"][1]["funcname"] = "CallContextHooks" -defs["igCallContextHooks"][1]["location"] = "imgui_internal:2690" +defs["igCallContextHooks"][1]["location"] = "imgui_internal:2979" defs["igCallContextHooks"][1]["namespace"] = "ImGui" defs["igCallContextHooks"][1]["ov_cimguiname"] = "igCallContextHooks" defs["igCallContextHooks"][1]["ret"] = "void" defs["igCallContextHooks"][1]["signature"] = "(ImGuiContext*,ImGuiContextHookType)" defs["igCallContextHooks"][1]["stname"] = "" defs["igCallContextHooks"]["(ImGuiContext*,ImGuiContextHookType)"] = defs["igCallContextHooks"][1] -defs["igCaptureKeyboardFromApp"] = {} -defs["igCaptureKeyboardFromApp"][1] = {} -defs["igCaptureKeyboardFromApp"][1]["args"] = "(bool want_capture_keyboard_value)" -defs["igCaptureKeyboardFromApp"][1]["argsT"] = {} -defs["igCaptureKeyboardFromApp"][1]["argsT"][1] = {} -defs["igCaptureKeyboardFromApp"][1]["argsT"][1]["name"] = "want_capture_keyboard_value" -defs["igCaptureKeyboardFromApp"][1]["argsT"][1]["type"] = "bool" -defs["igCaptureKeyboardFromApp"][1]["argsoriginal"] = "(bool want_capture_keyboard_value=true)" -defs["igCaptureKeyboardFromApp"][1]["call_args"] = "(want_capture_keyboard_value)" -defs["igCaptureKeyboardFromApp"][1]["cimguiname"] = "igCaptureKeyboardFromApp" -defs["igCaptureKeyboardFromApp"][1]["defaults"] = {} -defs["igCaptureKeyboardFromApp"][1]["defaults"]["want_capture_keyboard_value"] = "true" -defs["igCaptureKeyboardFromApp"][1]["funcname"] = "CaptureKeyboardFromApp" -defs["igCaptureKeyboardFromApp"][1]["location"] = "imgui:925" -defs["igCaptureKeyboardFromApp"][1]["namespace"] = "ImGui" -defs["igCaptureKeyboardFromApp"][1]["ov_cimguiname"] = "igCaptureKeyboardFromApp" -defs["igCaptureKeyboardFromApp"][1]["ret"] = "void" -defs["igCaptureKeyboardFromApp"][1]["signature"] = "(bool)" -defs["igCaptureKeyboardFromApp"][1]["stname"] = "" -defs["igCaptureKeyboardFromApp"]["(bool)"] = defs["igCaptureKeyboardFromApp"][1] -defs["igCaptureMouseFromApp"] = {} -defs["igCaptureMouseFromApp"][1] = {} -defs["igCaptureMouseFromApp"][1]["args"] = "(bool want_capture_mouse_value)" -defs["igCaptureMouseFromApp"][1]["argsT"] = {} -defs["igCaptureMouseFromApp"][1]["argsT"][1] = {} -defs["igCaptureMouseFromApp"][1]["argsT"][1]["name"] = "want_capture_mouse_value" -defs["igCaptureMouseFromApp"][1]["argsT"][1]["type"] = "bool" -defs["igCaptureMouseFromApp"][1]["argsoriginal"] = "(bool want_capture_mouse_value=true)" -defs["igCaptureMouseFromApp"][1]["call_args"] = "(want_capture_mouse_value)" -defs["igCaptureMouseFromApp"][1]["cimguiname"] = "igCaptureMouseFromApp" -defs["igCaptureMouseFromApp"][1]["defaults"] = {} -defs["igCaptureMouseFromApp"][1]["defaults"]["want_capture_mouse_value"] = "true" -defs["igCaptureMouseFromApp"][1]["funcname"] = "CaptureMouseFromApp" -defs["igCaptureMouseFromApp"][1]["location"] = "imgui:946" -defs["igCaptureMouseFromApp"][1]["namespace"] = "ImGui" -defs["igCaptureMouseFromApp"][1]["ov_cimguiname"] = "igCaptureMouseFromApp" -defs["igCaptureMouseFromApp"][1]["ret"] = "void" -defs["igCaptureMouseFromApp"][1]["signature"] = "(bool)" -defs["igCaptureMouseFromApp"][1]["stname"] = "" -defs["igCaptureMouseFromApp"]["(bool)"] = defs["igCaptureMouseFromApp"][1] defs["igCheckbox"] = {} defs["igCheckbox"][1] = {} defs["igCheckbox"][1]["args"] = "(const char* label,bool* v)" @@ -12041,7 +12506,7 @@ defs["igCheckbox"][1]["call_args"] = "(label,v)" defs["igCheckbox"][1]["cimguiname"] = "igCheckbox" defs["igCheckbox"][1]["defaults"] = {} defs["igCheckbox"][1]["funcname"] = "Checkbox" -defs["igCheckbox"][1]["location"] = "imgui:518" +defs["igCheckbox"][1]["location"] = "imgui:513" defs["igCheckbox"][1]["namespace"] = "ImGui" defs["igCheckbox"][1]["ov_cimguiname"] = "igCheckbox" defs["igCheckbox"][1]["ret"] = "bool" @@ -12066,9 +12531,9 @@ defs["igCheckboxFlags"][1]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][1]["cimguiname"] = "igCheckboxFlags" defs["igCheckboxFlags"][1]["defaults"] = {} defs["igCheckboxFlags"][1]["funcname"] = "CheckboxFlags" -defs["igCheckboxFlags"][1]["location"] = "imgui:519" +defs["igCheckboxFlags"][1]["location"] = "imgui:514" defs["igCheckboxFlags"][1]["namespace"] = "ImGui" -defs["igCheckboxFlags"][1]["ov_cimguiname"] = "igCheckboxFlagsIntPtr" +defs["igCheckboxFlags"][1]["ov_cimguiname"] = "igCheckboxFlags_IntPtr" defs["igCheckboxFlags"][1]["ret"] = "bool" defs["igCheckboxFlags"][1]["signature"] = "(const char*,int*,int)" defs["igCheckboxFlags"][1]["stname"] = "" @@ -12089,9 +12554,9 @@ defs["igCheckboxFlags"][2]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][2]["cimguiname"] = "igCheckboxFlags" defs["igCheckboxFlags"][2]["defaults"] = {} defs["igCheckboxFlags"][2]["funcname"] = "CheckboxFlags" -defs["igCheckboxFlags"][2]["location"] = "imgui:520" +defs["igCheckboxFlags"][2]["location"] = "imgui:515" defs["igCheckboxFlags"][2]["namespace"] = "ImGui" -defs["igCheckboxFlags"][2]["ov_cimguiname"] = "igCheckboxFlagsUintPtr" +defs["igCheckboxFlags"][2]["ov_cimguiname"] = "igCheckboxFlags_UintPtr" defs["igCheckboxFlags"][2]["ret"] = "bool" defs["igCheckboxFlags"][2]["signature"] = "(const char*,unsigned int*,unsigned int)" defs["igCheckboxFlags"][2]["stname"] = "" @@ -12112,9 +12577,9 @@ defs["igCheckboxFlags"][3]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][3]["cimguiname"] = "igCheckboxFlags" defs["igCheckboxFlags"][3]["defaults"] = {} defs["igCheckboxFlags"][3]["funcname"] = "CheckboxFlags" -defs["igCheckboxFlags"][3]["location"] = "imgui_internal:3015" +defs["igCheckboxFlags"][3]["location"] = "imgui_internal:3363" defs["igCheckboxFlags"][3]["namespace"] = "ImGui" -defs["igCheckboxFlags"][3]["ov_cimguiname"] = "igCheckboxFlagsS64Ptr" +defs["igCheckboxFlags"][3]["ov_cimguiname"] = "igCheckboxFlags_S64Ptr" defs["igCheckboxFlags"][3]["ret"] = "bool" defs["igCheckboxFlags"][3]["signature"] = "(const char*,ImS64*,ImS64)" defs["igCheckboxFlags"][3]["stname"] = "" @@ -12135,9 +12600,9 @@ defs["igCheckboxFlags"][4]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][4]["cimguiname"] = "igCheckboxFlags" defs["igCheckboxFlags"][4]["defaults"] = {} defs["igCheckboxFlags"][4]["funcname"] = "CheckboxFlags" -defs["igCheckboxFlags"][4]["location"] = "imgui_internal:3016" +defs["igCheckboxFlags"][4]["location"] = "imgui_internal:3364" defs["igCheckboxFlags"][4]["namespace"] = "ImGui" -defs["igCheckboxFlags"][4]["ov_cimguiname"] = "igCheckboxFlagsU64Ptr" +defs["igCheckboxFlags"][4]["ov_cimguiname"] = "igCheckboxFlags_U64Ptr" defs["igCheckboxFlags"][4]["ret"] = "bool" defs["igCheckboxFlags"][4]["signature"] = "(const char*,ImU64*,ImU64)" defs["igCheckboxFlags"][4]["stname"] = "" @@ -12154,7 +12619,7 @@ defs["igClearActiveID"][1]["call_args"] = "()" defs["igClearActiveID"][1]["cimguiname"] = "igClearActiveID" defs["igClearActiveID"][1]["defaults"] = {} defs["igClearActiveID"][1]["funcname"] = "ClearActiveID" -defs["igClearActiveID"][1]["location"] = "imgui_internal:2731" +defs["igClearActiveID"][1]["location"] = "imgui_internal:3027" defs["igClearActiveID"][1]["namespace"] = "ImGui" defs["igClearActiveID"][1]["ov_cimguiname"] = "igClearActiveID" defs["igClearActiveID"][1]["ret"] = "void" @@ -12170,7 +12635,7 @@ defs["igClearDragDrop"][1]["call_args"] = "()" defs["igClearDragDrop"][1]["cimguiname"] = "igClearDragDrop" defs["igClearDragDrop"][1]["defaults"] = {} defs["igClearDragDrop"][1]["funcname"] = "ClearDragDrop" -defs["igClearDragDrop"][1]["location"] = "imgui_internal:2889" +defs["igClearDragDrop"][1]["location"] = "imgui_internal:3239" defs["igClearDragDrop"][1]["namespace"] = "ImGui" defs["igClearDragDrop"][1]["ov_cimguiname"] = "igClearDragDrop" defs["igClearDragDrop"][1]["ret"] = "void" @@ -12186,7 +12651,7 @@ defs["igClearIniSettings"][1]["call_args"] = "()" defs["igClearIniSettings"][1]["cimguiname"] = "igClearIniSettings" defs["igClearIniSettings"][1]["defaults"] = {} defs["igClearIniSettings"][1]["funcname"] = "ClearIniSettings" -defs["igClearIniSettings"][1]["location"] = "imgui_internal:2702" +defs["igClearIniSettings"][1]["location"] = "imgui_internal:2993" defs["igClearIniSettings"][1]["namespace"] = "ImGui" defs["igClearIniSettings"][1]["ov_cimguiname"] = "igClearIniSettings" defs["igClearIniSettings"][1]["ret"] = "void" @@ -12208,7 +12673,7 @@ defs["igCloseButton"][1]["call_args"] = "(id,pos)" defs["igCloseButton"][1]["cimguiname"] = "igCloseButton" defs["igCloseButton"][1]["defaults"] = {} defs["igCloseButton"][1]["funcname"] = "CloseButton" -defs["igCloseButton"][1]["location"] = "imgui_internal:3004" +defs["igCloseButton"][1]["location"] = "imgui_internal:3352" defs["igCloseButton"][1]["namespace"] = "ImGui" defs["igCloseButton"][1]["ov_cimguiname"] = "igCloseButton" defs["igCloseButton"][1]["ret"] = "bool" @@ -12224,7 +12689,7 @@ defs["igCloseCurrentPopup"][1]["call_args"] = "()" defs["igCloseCurrentPopup"][1]["cimguiname"] = "igCloseCurrentPopup" defs["igCloseCurrentPopup"][1]["defaults"] = {} defs["igCloseCurrentPopup"][1]["funcname"] = "CloseCurrentPopup" -defs["igCloseCurrentPopup"][1]["location"] = "imgui:706" +defs["igCloseCurrentPopup"][1]["location"] = "imgui:708" defs["igCloseCurrentPopup"][1]["namespace"] = "ImGui" defs["igCloseCurrentPopup"][1]["ov_cimguiname"] = "igCloseCurrentPopup" defs["igCloseCurrentPopup"][1]["ret"] = "void" @@ -12246,7 +12711,7 @@ defs["igClosePopupToLevel"][1]["call_args"] = "(remaining,restore_focus_to_windo defs["igClosePopupToLevel"][1]["cimguiname"] = "igClosePopupToLevel" defs["igClosePopupToLevel"][1]["defaults"] = {} defs["igClosePopupToLevel"][1]["funcname"] = "ClosePopupToLevel" -defs["igClosePopupToLevel"][1]["location"] = "imgui_internal:2777" +defs["igClosePopupToLevel"][1]["location"] = "imgui_internal:3062" defs["igClosePopupToLevel"][1]["namespace"] = "ImGui" defs["igClosePopupToLevel"][1]["ov_cimguiname"] = "igClosePopupToLevel" defs["igClosePopupToLevel"][1]["ret"] = "void" @@ -12262,7 +12727,7 @@ defs["igClosePopupsExceptModals"][1]["call_args"] = "()" defs["igClosePopupsExceptModals"][1]["cimguiname"] = "igClosePopupsExceptModals" defs["igClosePopupsExceptModals"][1]["defaults"] = {} defs["igClosePopupsExceptModals"][1]["funcname"] = "ClosePopupsExceptModals" -defs["igClosePopupsExceptModals"][1]["location"] = "imgui_internal:2779" +defs["igClosePopupsExceptModals"][1]["location"] = "imgui_internal:3064" defs["igClosePopupsExceptModals"][1]["namespace"] = "ImGui" defs["igClosePopupsExceptModals"][1]["ov_cimguiname"] = "igClosePopupsExceptModals" defs["igClosePopupsExceptModals"][1]["ret"] = "void" @@ -12284,7 +12749,7 @@ defs["igClosePopupsOverWindow"][1]["call_args"] = "(ref_window,restore_focus_to_ defs["igClosePopupsOverWindow"][1]["cimguiname"] = "igClosePopupsOverWindow" defs["igClosePopupsOverWindow"][1]["defaults"] = {} defs["igClosePopupsOverWindow"][1]["funcname"] = "ClosePopupsOverWindow" -defs["igClosePopupsOverWindow"][1]["location"] = "imgui_internal:2778" +defs["igClosePopupsOverWindow"][1]["location"] = "imgui_internal:3063" defs["igClosePopupsOverWindow"][1]["namespace"] = "ImGui" defs["igClosePopupsOverWindow"][1]["ov_cimguiname"] = "igClosePopupsOverWindow" defs["igClosePopupsOverWindow"][1]["ret"] = "void" @@ -12309,7 +12774,7 @@ defs["igCollapseButton"][1]["call_args"] = "(id,pos,dock_node)" defs["igCollapseButton"][1]["cimguiname"] = "igCollapseButton" defs["igCollapseButton"][1]["defaults"] = {} defs["igCollapseButton"][1]["funcname"] = "CollapseButton" -defs["igCollapseButton"][1]["location"] = "imgui_internal:3005" +defs["igCollapseButton"][1]["location"] = "imgui_internal:3353" defs["igCollapseButton"][1]["namespace"] = "ImGui" defs["igCollapseButton"][1]["ov_cimguiname"] = "igCollapseButton" defs["igCollapseButton"][1]["ret"] = "bool" @@ -12332,9 +12797,9 @@ defs["igCollapsingHeader"][1]["cimguiname"] = "igCollapsingHeader" defs["igCollapsingHeader"][1]["defaults"] = {} defs["igCollapsingHeader"][1]["defaults"]["flags"] = "0" defs["igCollapsingHeader"][1]["funcname"] = "CollapsingHeader" -defs["igCollapsingHeader"][1]["location"] = "imgui:624" +defs["igCollapsingHeader"][1]["location"] = "imgui:625" defs["igCollapsingHeader"][1]["namespace"] = "ImGui" -defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeaderTreeNodeFlags" +defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeader_TreeNodeFlags" defs["igCollapsingHeader"][1]["ret"] = "bool" defs["igCollapsingHeader"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags)" defs["igCollapsingHeader"][1]["stname"] = "" @@ -12356,9 +12821,9 @@ defs["igCollapsingHeader"][2]["cimguiname"] = "igCollapsingHeader" defs["igCollapsingHeader"][2]["defaults"] = {} defs["igCollapsingHeader"][2]["defaults"]["flags"] = "0" defs["igCollapsingHeader"][2]["funcname"] = "CollapsingHeader" -defs["igCollapsingHeader"][2]["location"] = "imgui:625" +defs["igCollapsingHeader"][2]["location"] = "imgui:626" defs["igCollapsingHeader"][2]["namespace"] = "ImGui" -defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeaderBoolPtr" +defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeader_BoolPtr" defs["igCollapsingHeader"][2]["ret"] = "bool" defs["igCollapsingHeader"][2]["signature"] = "(const char*,bool*,ImGuiTreeNodeFlags)" defs["igCollapsingHeader"][2]["stname"] = "" @@ -12366,7 +12831,7 @@ defs["igCollapsingHeader"]["(const char*,ImGuiTreeNodeFlags)"] = defs["igCollaps defs["igCollapsingHeader"]["(const char*,bool*,ImGuiTreeNodeFlags)"] = defs["igCollapsingHeader"][2] defs["igColorButton"] = {} defs["igColorButton"][1] = {} -defs["igColorButton"][1]["args"] = "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)" +defs["igColorButton"][1]["args"] = "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size)" defs["igColorButton"][1]["argsT"] = {} defs["igColorButton"][1]["argsT"][1] = {} defs["igColorButton"][1]["argsT"][1]["name"] = "desc_id" @@ -12379,21 +12844,21 @@ defs["igColorButton"][1]["argsT"][3]["name"] = "flags" defs["igColorButton"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" defs["igColorButton"][1]["argsT"][4] = {} defs["igColorButton"][1]["argsT"][4]["name"] = "size" -defs["igColorButton"][1]["argsT"][4]["type"] = "ImVec2" -defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))" +defs["igColorButton"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,const ImVec2& size=ImVec2(0,0))" defs["igColorButton"][1]["call_args"] = "(desc_id,col,flags,size)" defs["igColorButton"][1]["cimguiname"] = "igColorButton" defs["igColorButton"][1]["defaults"] = {} defs["igColorButton"][1]["defaults"]["flags"] = "0" defs["igColorButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igColorButton"][1]["funcname"] = "ColorButton" -defs["igColorButton"][1]["location"] = "imgui:605" +defs["igColorButton"][1]["location"] = "imgui:606" defs["igColorButton"][1]["namespace"] = "ImGui" defs["igColorButton"][1]["ov_cimguiname"] = "igColorButton" defs["igColorButton"][1]["ret"] = "bool" -defs["igColorButton"][1]["signature"] = "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)" +defs["igColorButton"][1]["signature"] = "(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)" defs["igColorButton"][1]["stname"] = "" -defs["igColorButton"]["(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)"] = defs["igColorButton"][1] +defs["igColorButton"]["(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)"] = defs["igColorButton"][1] defs["igColorConvertFloat4ToU32"] = {} defs["igColorConvertFloat4ToU32"][1] = {} defs["igColorConvertFloat4ToU32"][1]["args"] = "(const ImVec4 in)" @@ -12406,7 +12871,7 @@ defs["igColorConvertFloat4ToU32"][1]["call_args"] = "(in)" defs["igColorConvertFloat4ToU32"][1]["cimguiname"] = "igColorConvertFloat4ToU32" defs["igColorConvertFloat4ToU32"][1]["defaults"] = {} defs["igColorConvertFloat4ToU32"][1]["funcname"] = "ColorConvertFloat4ToU32" -defs["igColorConvertFloat4ToU32"][1]["location"] = "imgui:913" +defs["igColorConvertFloat4ToU32"][1]["location"] = "imgui:912" defs["igColorConvertFloat4ToU32"][1]["namespace"] = "ImGui" defs["igColorConvertFloat4ToU32"][1]["ov_cimguiname"] = "igColorConvertFloat4ToU32" defs["igColorConvertFloat4ToU32"][1]["ret"] = "ImU32" @@ -12443,7 +12908,7 @@ defs["igColorConvertHSVtoRGB"][1]["call_args"] = "(h,s,v,*out_r,*out_g,*out_b)" defs["igColorConvertHSVtoRGB"][1]["cimguiname"] = "igColorConvertHSVtoRGB" defs["igColorConvertHSVtoRGB"][1]["defaults"] = {} defs["igColorConvertHSVtoRGB"][1]["funcname"] = "ColorConvertHSVtoRGB" -defs["igColorConvertHSVtoRGB"][1]["location"] = "imgui:915" +defs["igColorConvertHSVtoRGB"][1]["location"] = "imgui:914" defs["igColorConvertHSVtoRGB"][1]["namespace"] = "ImGui" defs["igColorConvertHSVtoRGB"][1]["ov_cimguiname"] = "igColorConvertHSVtoRGB" defs["igColorConvertHSVtoRGB"][1]["ret"] = "void" @@ -12480,7 +12945,7 @@ defs["igColorConvertRGBtoHSV"][1]["call_args"] = "(r,g,b,*out_h,*out_s,*out_v)" defs["igColorConvertRGBtoHSV"][1]["cimguiname"] = "igColorConvertRGBtoHSV" defs["igColorConvertRGBtoHSV"][1]["defaults"] = {} defs["igColorConvertRGBtoHSV"][1]["funcname"] = "ColorConvertRGBtoHSV" -defs["igColorConvertRGBtoHSV"][1]["location"] = "imgui:914" +defs["igColorConvertRGBtoHSV"][1]["location"] = "imgui:913" defs["igColorConvertRGBtoHSV"][1]["namespace"] = "ImGui" defs["igColorConvertRGBtoHSV"][1]["ov_cimguiname"] = "igColorConvertRGBtoHSV" defs["igColorConvertRGBtoHSV"][1]["ret"] = "void" @@ -12502,7 +12967,7 @@ defs["igColorConvertU32ToFloat4"][1]["call_args"] = "(in)" defs["igColorConvertU32ToFloat4"][1]["cimguiname"] = "igColorConvertU32ToFloat4" defs["igColorConvertU32ToFloat4"][1]["defaults"] = {} defs["igColorConvertU32ToFloat4"][1]["funcname"] = "ColorConvertU32ToFloat4" -defs["igColorConvertU32ToFloat4"][1]["location"] = "imgui:912" +defs["igColorConvertU32ToFloat4"][1]["location"] = "imgui:911" defs["igColorConvertU32ToFloat4"][1]["namespace"] = "ImGui" defs["igColorConvertU32ToFloat4"][1]["nonUDT"] = 1 defs["igColorConvertU32ToFloat4"][1]["ov_cimguiname"] = "igColorConvertU32ToFloat4" @@ -12529,7 +12994,7 @@ defs["igColorEdit3"][1]["cimguiname"] = "igColorEdit3" defs["igColorEdit3"][1]["defaults"] = {} defs["igColorEdit3"][1]["defaults"]["flags"] = "0" defs["igColorEdit3"][1]["funcname"] = "ColorEdit3" -defs["igColorEdit3"][1]["location"] = "imgui:601" +defs["igColorEdit3"][1]["location"] = "imgui:602" defs["igColorEdit3"][1]["namespace"] = "ImGui" defs["igColorEdit3"][1]["ov_cimguiname"] = "igColorEdit3" defs["igColorEdit3"][1]["ret"] = "bool" @@ -12555,7 +13020,7 @@ defs["igColorEdit4"][1]["cimguiname"] = "igColorEdit4" defs["igColorEdit4"][1]["defaults"] = {} defs["igColorEdit4"][1]["defaults"]["flags"] = "0" defs["igColorEdit4"][1]["funcname"] = "ColorEdit4" -defs["igColorEdit4"][1]["location"] = "imgui:602" +defs["igColorEdit4"][1]["location"] = "imgui:603" defs["igColorEdit4"][1]["namespace"] = "ImGui" defs["igColorEdit4"][1]["ov_cimguiname"] = "igColorEdit4" defs["igColorEdit4"][1]["ret"] = "bool" @@ -12577,7 +13042,7 @@ defs["igColorEditOptionsPopup"][1]["call_args"] = "(col,flags)" defs["igColorEditOptionsPopup"][1]["cimguiname"] = "igColorEditOptionsPopup" defs["igColorEditOptionsPopup"][1]["defaults"] = {} defs["igColorEditOptionsPopup"][1]["funcname"] = "ColorEditOptionsPopup" -defs["igColorEditOptionsPopup"][1]["location"] = "imgui_internal:3054" +defs["igColorEditOptionsPopup"][1]["location"] = "imgui_internal:3403" defs["igColorEditOptionsPopup"][1]["namespace"] = "ImGui" defs["igColorEditOptionsPopup"][1]["ov_cimguiname"] = "igColorEditOptionsPopup" defs["igColorEditOptionsPopup"][1]["ret"] = "void" @@ -12603,7 +13068,7 @@ defs["igColorPicker3"][1]["cimguiname"] = "igColorPicker3" defs["igColorPicker3"][1]["defaults"] = {} defs["igColorPicker3"][1]["defaults"]["flags"] = "0" defs["igColorPicker3"][1]["funcname"] = "ColorPicker3" -defs["igColorPicker3"][1]["location"] = "imgui:603" +defs["igColorPicker3"][1]["location"] = "imgui:604" defs["igColorPicker3"][1]["namespace"] = "ImGui" defs["igColorPicker3"][1]["ov_cimguiname"] = "igColorPicker3" defs["igColorPicker3"][1]["ret"] = "bool" @@ -12633,7 +13098,7 @@ defs["igColorPicker4"][1]["defaults"] = {} defs["igColorPicker4"][1]["defaults"]["flags"] = "0" defs["igColorPicker4"][1]["defaults"]["ref_col"] = "NULL" defs["igColorPicker4"][1]["funcname"] = "ColorPicker4" -defs["igColorPicker4"][1]["location"] = "imgui:604" +defs["igColorPicker4"][1]["location"] = "imgui:605" defs["igColorPicker4"][1]["namespace"] = "ImGui" defs["igColorPicker4"][1]["ov_cimguiname"] = "igColorPicker4" defs["igColorPicker4"][1]["ret"] = "bool" @@ -12655,7 +13120,7 @@ defs["igColorPickerOptionsPopup"][1]["call_args"] = "(ref_col,flags)" defs["igColorPickerOptionsPopup"][1]["cimguiname"] = "igColorPickerOptionsPopup" defs["igColorPickerOptionsPopup"][1]["defaults"] = {} defs["igColorPickerOptionsPopup"][1]["funcname"] = "ColorPickerOptionsPopup" -defs["igColorPickerOptionsPopup"][1]["location"] = "imgui_internal:3055" +defs["igColorPickerOptionsPopup"][1]["location"] = "imgui_internal:3404" defs["igColorPickerOptionsPopup"][1]["namespace"] = "ImGui" defs["igColorPickerOptionsPopup"][1]["ov_cimguiname"] = "igColorPickerOptionsPopup" defs["igColorPickerOptionsPopup"][1]["ret"] = "void" @@ -12680,7 +13145,7 @@ defs["igColorTooltip"][1]["call_args"] = "(text,col,flags)" defs["igColorTooltip"][1]["cimguiname"] = "igColorTooltip" defs["igColorTooltip"][1]["defaults"] = {} defs["igColorTooltip"][1]["funcname"] = "ColorTooltip" -defs["igColorTooltip"][1]["location"] = "imgui_internal:3053" +defs["igColorTooltip"][1]["location"] = "imgui_internal:3402" defs["igColorTooltip"][1]["namespace"] = "ImGui" defs["igColorTooltip"][1]["ov_cimguiname"] = "igColorTooltip" defs["igColorTooltip"][1]["ret"] = "void" @@ -12708,7 +13173,7 @@ defs["igColumns"][1]["defaults"]["border"] = "true" defs["igColumns"][1]["defaults"]["count"] = "1" defs["igColumns"][1]["defaults"]["id"] = "NULL" defs["igColumns"][1]["funcname"] = "Columns" -defs["igColumns"][1]["location"] = "imgui:787" +defs["igColumns"][1]["location"] = "imgui:784" defs["igColumns"][1]["namespace"] = "ImGui" defs["igColumns"][1]["ov_cimguiname"] = "igColumns" defs["igColumns"][1]["ret"] = "void" @@ -12742,7 +13207,7 @@ defs["igCombo"][1]["defaults"]["popup_max_height_in_items"] = "-1" defs["igCombo"][1]["funcname"] = "Combo" defs["igCombo"][1]["location"] = "imgui:531" defs["igCombo"][1]["namespace"] = "ImGui" -defs["igCombo"][1]["ov_cimguiname"] = "igComboStr_arr" +defs["igCombo"][1]["ov_cimguiname"] = "igCombo_Str_arr" defs["igCombo"][1]["ret"] = "bool" defs["igCombo"][1]["signature"] = "(const char*,int*,const char* const[],int,int)" defs["igCombo"][1]["stname"] = "" @@ -12769,7 +13234,7 @@ defs["igCombo"][2]["defaults"]["popup_max_height_in_items"] = "-1" defs["igCombo"][2]["funcname"] = "Combo" defs["igCombo"][2]["location"] = "imgui:532" defs["igCombo"][2]["namespace"] = "ImGui" -defs["igCombo"][2]["ov_cimguiname"] = "igComboStr" +defs["igCombo"][2]["ov_cimguiname"] = "igCombo_Str" defs["igCombo"][2]["ret"] = "bool" defs["igCombo"][2]["signature"] = "(const char*,int*,const char*,int)" defs["igCombo"][2]["stname"] = "" @@ -12804,13 +13269,32 @@ defs["igCombo"][3]["defaults"]["popup_max_height_in_items"] = "-1" defs["igCombo"][3]["funcname"] = "Combo" defs["igCombo"][3]["location"] = "imgui:533" defs["igCombo"][3]["namespace"] = "ImGui" -defs["igCombo"][3]["ov_cimguiname"] = "igComboFnBoolPtr" +defs["igCombo"][3]["ov_cimguiname"] = "igCombo_FnBoolPtr" defs["igCombo"][3]["ret"] = "bool" defs["igCombo"][3]["signature"] = "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)" defs["igCombo"][3]["stname"] = "" defs["igCombo"]["(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)"] = defs["igCombo"][3] defs["igCombo"]["(const char*,int*,const char* const[],int,int)"] = defs["igCombo"][1] defs["igCombo"]["(const char*,int*,const char*,int)"] = defs["igCombo"][2] +defs["igConvertSingleModFlagToKey"] = {} +defs["igConvertSingleModFlagToKey"][1] = {} +defs["igConvertSingleModFlagToKey"][1]["args"] = "(ImGuiKey key)" +defs["igConvertSingleModFlagToKey"][1]["argsT"] = {} +defs["igConvertSingleModFlagToKey"][1]["argsT"][1] = {} +defs["igConvertSingleModFlagToKey"][1]["argsT"][1]["name"] = "key" +defs["igConvertSingleModFlagToKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igConvertSingleModFlagToKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igConvertSingleModFlagToKey"][1]["call_args"] = "(key)" +defs["igConvertSingleModFlagToKey"][1]["cimguiname"] = "igConvertSingleModFlagToKey" +defs["igConvertSingleModFlagToKey"][1]["defaults"] = {} +defs["igConvertSingleModFlagToKey"][1]["funcname"] = "ConvertSingleModFlagToKey" +defs["igConvertSingleModFlagToKey"][1]["location"] = "imgui_internal:3107" +defs["igConvertSingleModFlagToKey"][1]["namespace"] = "ImGui" +defs["igConvertSingleModFlagToKey"][1]["ov_cimguiname"] = "igConvertSingleModFlagToKey" +defs["igConvertSingleModFlagToKey"][1]["ret"] = "ImGuiKey" +defs["igConvertSingleModFlagToKey"][1]["signature"] = "(ImGuiKey)" +defs["igConvertSingleModFlagToKey"][1]["stname"] = "" +defs["igConvertSingleModFlagToKey"]["(ImGuiKey)"] = defs["igConvertSingleModFlagToKey"][1] defs["igCreateContext"] = {} defs["igCreateContext"][1] = {} defs["igCreateContext"][1]["args"] = "(ImFontAtlas* shared_font_atlas)" @@ -12824,7 +13308,7 @@ defs["igCreateContext"][1]["cimguiname"] = "igCreateContext" defs["igCreateContext"][1]["defaults"] = {} defs["igCreateContext"][1]["defaults"]["shared_font_atlas"] = "NULL" defs["igCreateContext"][1]["funcname"] = "CreateContext" -defs["igCreateContext"][1]["location"] = "imgui:301" +defs["igCreateContext"][1]["location"] = "imgui:294" defs["igCreateContext"][1]["namespace"] = "ImGui" defs["igCreateContext"][1]["ov_cimguiname"] = "igCreateContext" defs["igCreateContext"][1]["ret"] = "ImGuiContext*" @@ -12843,13 +13327,41 @@ defs["igCreateNewWindowSettings"][1]["call_args"] = "(name)" defs["igCreateNewWindowSettings"][1]["cimguiname"] = "igCreateNewWindowSettings" defs["igCreateNewWindowSettings"][1]["defaults"] = {} defs["igCreateNewWindowSettings"][1]["funcname"] = "CreateNewWindowSettings" -defs["igCreateNewWindowSettings"][1]["location"] = "imgui_internal:2703" +defs["igCreateNewWindowSettings"][1]["location"] = "imgui_internal:2994" defs["igCreateNewWindowSettings"][1]["namespace"] = "ImGui" defs["igCreateNewWindowSettings"][1]["ov_cimguiname"] = "igCreateNewWindowSettings" defs["igCreateNewWindowSettings"][1]["ret"] = "ImGuiWindowSettings*" defs["igCreateNewWindowSettings"][1]["signature"] = "(const char*)" defs["igCreateNewWindowSettings"][1]["stname"] = "" defs["igCreateNewWindowSettings"]["(const char*)"] = defs["igCreateNewWindowSettings"][1] +defs["igDataTypeApplyFromText"] = {} +defs["igDataTypeApplyFromText"][1] = {} +defs["igDataTypeApplyFromText"][1]["args"] = "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)" +defs["igDataTypeApplyFromText"][1]["argsT"] = {} +defs["igDataTypeApplyFromText"][1]["argsT"][1] = {} +defs["igDataTypeApplyFromText"][1]["argsT"][1]["name"] = "buf" +defs["igDataTypeApplyFromText"][1]["argsT"][1]["type"] = "const char*" +defs["igDataTypeApplyFromText"][1]["argsT"][2] = {} +defs["igDataTypeApplyFromText"][1]["argsT"][2]["name"] = "data_type" +defs["igDataTypeApplyFromText"][1]["argsT"][2]["type"] = "ImGuiDataType" +defs["igDataTypeApplyFromText"][1]["argsT"][3] = {} +defs["igDataTypeApplyFromText"][1]["argsT"][3]["name"] = "p_data" +defs["igDataTypeApplyFromText"][1]["argsT"][3]["type"] = "void*" +defs["igDataTypeApplyFromText"][1]["argsT"][4] = {} +defs["igDataTypeApplyFromText"][1]["argsT"][4]["name"] = "format" +defs["igDataTypeApplyFromText"][1]["argsT"][4]["type"] = "const char*" +defs["igDataTypeApplyFromText"][1]["argsoriginal"] = "(const char* buf,ImGuiDataType data_type,void* p_data,const char* format)" +defs["igDataTypeApplyFromText"][1]["call_args"] = "(buf,data_type,p_data,format)" +defs["igDataTypeApplyFromText"][1]["cimguiname"] = "igDataTypeApplyFromText" +defs["igDataTypeApplyFromText"][1]["defaults"] = {} +defs["igDataTypeApplyFromText"][1]["funcname"] = "DataTypeApplyFromText" +defs["igDataTypeApplyFromText"][1]["location"] = "imgui_internal:3390" +defs["igDataTypeApplyFromText"][1]["namespace"] = "ImGui" +defs["igDataTypeApplyFromText"][1]["ov_cimguiname"] = "igDataTypeApplyFromText" +defs["igDataTypeApplyFromText"][1]["ret"] = "bool" +defs["igDataTypeApplyFromText"][1]["signature"] = "(const char*,ImGuiDataType,void*,const char*)" +defs["igDataTypeApplyFromText"][1]["stname"] = "" +defs["igDataTypeApplyFromText"]["(const char*,ImGuiDataType,void*,const char*)"] = defs["igDataTypeApplyFromText"][1] defs["igDataTypeApplyOp"] = {} defs["igDataTypeApplyOp"][1] = {} defs["igDataTypeApplyOp"][1]["args"] = "(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2)" @@ -12874,44 +13386,13 @@ defs["igDataTypeApplyOp"][1]["call_args"] = "(data_type,op,output,arg_1,arg_2)" defs["igDataTypeApplyOp"][1]["cimguiname"] = "igDataTypeApplyOp" defs["igDataTypeApplyOp"][1]["defaults"] = {} defs["igDataTypeApplyOp"][1]["funcname"] = "DataTypeApplyOp" -defs["igDataTypeApplyOp"][1]["location"] = "imgui_internal:3040" +defs["igDataTypeApplyOp"][1]["location"] = "imgui_internal:3389" defs["igDataTypeApplyOp"][1]["namespace"] = "ImGui" defs["igDataTypeApplyOp"][1]["ov_cimguiname"] = "igDataTypeApplyOp" defs["igDataTypeApplyOp"][1]["ret"] = "void" defs["igDataTypeApplyOp"][1]["signature"] = "(ImGuiDataType,int,void*,const void*,const void*)" defs["igDataTypeApplyOp"][1]["stname"] = "" defs["igDataTypeApplyOp"]["(ImGuiDataType,int,void*,const void*,const void*)"] = defs["igDataTypeApplyOp"][1] -defs["igDataTypeApplyOpFromText"] = {} -defs["igDataTypeApplyOpFromText"][1] = {} -defs["igDataTypeApplyOpFromText"][1]["args"] = "(const char* buf,const char* initial_value_buf,ImGuiDataType data_type,void* p_data,const char* format)" -defs["igDataTypeApplyOpFromText"][1]["argsT"] = {} -defs["igDataTypeApplyOpFromText"][1]["argsT"][1] = {} -defs["igDataTypeApplyOpFromText"][1]["argsT"][1]["name"] = "buf" -defs["igDataTypeApplyOpFromText"][1]["argsT"][1]["type"] = "const char*" -defs["igDataTypeApplyOpFromText"][1]["argsT"][2] = {} -defs["igDataTypeApplyOpFromText"][1]["argsT"][2]["name"] = "initial_value_buf" -defs["igDataTypeApplyOpFromText"][1]["argsT"][2]["type"] = "const char*" -defs["igDataTypeApplyOpFromText"][1]["argsT"][3] = {} -defs["igDataTypeApplyOpFromText"][1]["argsT"][3]["name"] = "data_type" -defs["igDataTypeApplyOpFromText"][1]["argsT"][3]["type"] = "ImGuiDataType" -defs["igDataTypeApplyOpFromText"][1]["argsT"][4] = {} -defs["igDataTypeApplyOpFromText"][1]["argsT"][4]["name"] = "p_data" -defs["igDataTypeApplyOpFromText"][1]["argsT"][4]["type"] = "void*" -defs["igDataTypeApplyOpFromText"][1]["argsT"][5] = {} -defs["igDataTypeApplyOpFromText"][1]["argsT"][5]["name"] = "format" -defs["igDataTypeApplyOpFromText"][1]["argsT"][5]["type"] = "const char*" -defs["igDataTypeApplyOpFromText"][1]["argsoriginal"] = "(const char* buf,const char* initial_value_buf,ImGuiDataType data_type,void* p_data,const char* format)" -defs["igDataTypeApplyOpFromText"][1]["call_args"] = "(buf,initial_value_buf,data_type,p_data,format)" -defs["igDataTypeApplyOpFromText"][1]["cimguiname"] = "igDataTypeApplyOpFromText" -defs["igDataTypeApplyOpFromText"][1]["defaults"] = {} -defs["igDataTypeApplyOpFromText"][1]["funcname"] = "DataTypeApplyOpFromText" -defs["igDataTypeApplyOpFromText"][1]["location"] = "imgui_internal:3041" -defs["igDataTypeApplyOpFromText"][1]["namespace"] = "ImGui" -defs["igDataTypeApplyOpFromText"][1]["ov_cimguiname"] = "igDataTypeApplyOpFromText" -defs["igDataTypeApplyOpFromText"][1]["ret"] = "bool" -defs["igDataTypeApplyOpFromText"][1]["signature"] = "(const char*,const char*,ImGuiDataType,void*,const char*)" -defs["igDataTypeApplyOpFromText"][1]["stname"] = "" -defs["igDataTypeApplyOpFromText"]["(const char*,const char*,ImGuiDataType,void*,const char*)"] = defs["igDataTypeApplyOpFromText"][1] defs["igDataTypeClamp"] = {} defs["igDataTypeClamp"][1] = {} defs["igDataTypeClamp"][1]["args"] = "(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)" @@ -12933,7 +13414,7 @@ defs["igDataTypeClamp"][1]["call_args"] = "(data_type,p_data,p_min,p_max)" defs["igDataTypeClamp"][1]["cimguiname"] = "igDataTypeClamp" defs["igDataTypeClamp"][1]["defaults"] = {} defs["igDataTypeClamp"][1]["funcname"] = "DataTypeClamp" -defs["igDataTypeClamp"][1]["location"] = "imgui_internal:3043" +defs["igDataTypeClamp"][1]["location"] = "imgui_internal:3392" defs["igDataTypeClamp"][1]["namespace"] = "ImGui" defs["igDataTypeClamp"][1]["ov_cimguiname"] = "igDataTypeClamp" defs["igDataTypeClamp"][1]["ret"] = "bool" @@ -12958,7 +13439,7 @@ defs["igDataTypeCompare"][1]["call_args"] = "(data_type,arg_1,arg_2)" defs["igDataTypeCompare"][1]["cimguiname"] = "igDataTypeCompare" defs["igDataTypeCompare"][1]["defaults"] = {} defs["igDataTypeCompare"][1]["funcname"] = "DataTypeCompare" -defs["igDataTypeCompare"][1]["location"] = "imgui_internal:3042" +defs["igDataTypeCompare"][1]["location"] = "imgui_internal:3391" defs["igDataTypeCompare"][1]["namespace"] = "ImGui" defs["igDataTypeCompare"][1]["ov_cimguiname"] = "igDataTypeCompare" defs["igDataTypeCompare"][1]["ret"] = "int" @@ -12989,7 +13470,7 @@ defs["igDataTypeFormatString"][1]["call_args"] = "(buf,buf_size,data_type,p_data defs["igDataTypeFormatString"][1]["cimguiname"] = "igDataTypeFormatString" defs["igDataTypeFormatString"][1]["defaults"] = {} defs["igDataTypeFormatString"][1]["funcname"] = "DataTypeFormatString" -defs["igDataTypeFormatString"][1]["location"] = "imgui_internal:3039" +defs["igDataTypeFormatString"][1]["location"] = "imgui_internal:3388" defs["igDataTypeFormatString"][1]["namespace"] = "ImGui" defs["igDataTypeFormatString"][1]["ov_cimguiname"] = "igDataTypeFormatString" defs["igDataTypeFormatString"][1]["ret"] = "int" @@ -13008,7 +13489,7 @@ defs["igDataTypeGetInfo"][1]["call_args"] = "(data_type)" defs["igDataTypeGetInfo"][1]["cimguiname"] = "igDataTypeGetInfo" defs["igDataTypeGetInfo"][1]["defaults"] = {} defs["igDataTypeGetInfo"][1]["funcname"] = "DataTypeGetInfo" -defs["igDataTypeGetInfo"][1]["location"] = "imgui_internal:3038" +defs["igDataTypeGetInfo"][1]["location"] = "imgui_internal:3387" defs["igDataTypeGetInfo"][1]["namespace"] = "ImGui" defs["igDataTypeGetInfo"][1]["ov_cimguiname"] = "igDataTypeGetInfo" defs["igDataTypeGetInfo"][1]["ret"] = "const ImGuiDataTypeInfo*" @@ -13045,7 +13526,7 @@ defs["igDebugCheckVersionAndDataLayout"][1]["call_args"] = "(version_str,sz_io,s defs["igDebugCheckVersionAndDataLayout"][1]["cimguiname"] = "igDebugCheckVersionAndDataLayout" defs["igDebugCheckVersionAndDataLayout"][1]["defaults"] = {} defs["igDebugCheckVersionAndDataLayout"][1]["funcname"] = "DebugCheckVersionAndDataLayout" -defs["igDebugCheckVersionAndDataLayout"][1]["location"] = "imgui:964" +defs["igDebugCheckVersionAndDataLayout"][1]["location"] = "imgui:966" defs["igDebugCheckVersionAndDataLayout"][1]["namespace"] = "ImGui" defs["igDebugCheckVersionAndDataLayout"][1]["ov_cimguiname"] = "igDebugCheckVersionAndDataLayout" defs["igDebugCheckVersionAndDataLayout"][1]["ret"] = "bool" @@ -13065,7 +13546,7 @@ defs["igDebugDrawItemRect"][1]["cimguiname"] = "igDebugDrawItemRect" defs["igDebugDrawItemRect"][1]["defaults"] = {} defs["igDebugDrawItemRect"][1]["defaults"]["col"] = "4278190335" defs["igDebugDrawItemRect"][1]["funcname"] = "DebugDrawItemRect" -defs["igDebugDrawItemRect"][1]["location"] = "imgui_internal:3072" +defs["igDebugDrawItemRect"][1]["location"] = "imgui_internal:3429" defs["igDebugDrawItemRect"][1]["namespace"] = "ImGui" defs["igDebugDrawItemRect"][1]["ov_cimguiname"] = "igDebugDrawItemRect" defs["igDebugDrawItemRect"][1]["ret"] = "void" @@ -13093,13 +13574,112 @@ defs["igDebugHookIdInfo"][1]["call_args"] = "(id,data_type,data_id,data_id_end)" defs["igDebugHookIdInfo"][1]["cimguiname"] = "igDebugHookIdInfo" defs["igDebugHookIdInfo"][1]["defaults"] = {} defs["igDebugHookIdInfo"][1]["funcname"] = "DebugHookIdInfo" -defs["igDebugHookIdInfo"][1]["location"] = "imgui_internal:3076" +defs["igDebugHookIdInfo"][1]["location"] = "imgui_internal:3432" defs["igDebugHookIdInfo"][1]["namespace"] = "ImGui" defs["igDebugHookIdInfo"][1]["ov_cimguiname"] = "igDebugHookIdInfo" defs["igDebugHookIdInfo"][1]["ret"] = "void" defs["igDebugHookIdInfo"][1]["signature"] = "(ImGuiID,ImGuiDataType,const void*,const void*)" defs["igDebugHookIdInfo"][1]["stname"] = "" defs["igDebugHookIdInfo"]["(ImGuiID,ImGuiDataType,const void*,const void*)"] = defs["igDebugHookIdInfo"][1] +defs["igDebugLocateItem"] = {} +defs["igDebugLocateItem"][1] = {} +defs["igDebugLocateItem"][1]["args"] = "(ImGuiID target_id)" +defs["igDebugLocateItem"][1]["argsT"] = {} +defs["igDebugLocateItem"][1]["argsT"][1] = {} +defs["igDebugLocateItem"][1]["argsT"][1]["name"] = "target_id" +defs["igDebugLocateItem"][1]["argsT"][1]["type"] = "ImGuiID" +defs["igDebugLocateItem"][1]["argsoriginal"] = "(ImGuiID target_id)" +defs["igDebugLocateItem"][1]["call_args"] = "(target_id)" +defs["igDebugLocateItem"][1]["cimguiname"] = "igDebugLocateItem" +defs["igDebugLocateItem"][1]["defaults"] = {} +defs["igDebugLocateItem"][1]["funcname"] = "DebugLocateItem" +defs["igDebugLocateItem"][1]["location"] = "imgui_internal:3426" +defs["igDebugLocateItem"][1]["namespace"] = "ImGui" +defs["igDebugLocateItem"][1]["ov_cimguiname"] = "igDebugLocateItem" +defs["igDebugLocateItem"][1]["ret"] = "void" +defs["igDebugLocateItem"][1]["signature"] = "(ImGuiID)" +defs["igDebugLocateItem"][1]["stname"] = "" +defs["igDebugLocateItem"]["(ImGuiID)"] = defs["igDebugLocateItem"][1] +defs["igDebugLocateItemOnHover"] = {} +defs["igDebugLocateItemOnHover"][1] = {} +defs["igDebugLocateItemOnHover"][1]["args"] = "(ImGuiID target_id)" +defs["igDebugLocateItemOnHover"][1]["argsT"] = {} +defs["igDebugLocateItemOnHover"][1]["argsT"][1] = {} +defs["igDebugLocateItemOnHover"][1]["argsT"][1]["name"] = "target_id" +defs["igDebugLocateItemOnHover"][1]["argsT"][1]["type"] = "ImGuiID" +defs["igDebugLocateItemOnHover"][1]["argsoriginal"] = "(ImGuiID target_id)" +defs["igDebugLocateItemOnHover"][1]["call_args"] = "(target_id)" +defs["igDebugLocateItemOnHover"][1]["cimguiname"] = "igDebugLocateItemOnHover" +defs["igDebugLocateItemOnHover"][1]["defaults"] = {} +defs["igDebugLocateItemOnHover"][1]["funcname"] = "DebugLocateItemOnHover" +defs["igDebugLocateItemOnHover"][1]["location"] = "imgui_internal:3427" +defs["igDebugLocateItemOnHover"][1]["namespace"] = "ImGui" +defs["igDebugLocateItemOnHover"][1]["ov_cimguiname"] = "igDebugLocateItemOnHover" +defs["igDebugLocateItemOnHover"][1]["ret"] = "void" +defs["igDebugLocateItemOnHover"][1]["signature"] = "(ImGuiID)" +defs["igDebugLocateItemOnHover"][1]["stname"] = "" +defs["igDebugLocateItemOnHover"]["(ImGuiID)"] = defs["igDebugLocateItemOnHover"][1] +defs["igDebugLocateItemResolveWithLastItem"] = {} +defs["igDebugLocateItemResolveWithLastItem"][1] = {} +defs["igDebugLocateItemResolveWithLastItem"][1]["args"] = "()" +defs["igDebugLocateItemResolveWithLastItem"][1]["argsT"] = {} +defs["igDebugLocateItemResolveWithLastItem"][1]["argsoriginal"] = "()" +defs["igDebugLocateItemResolveWithLastItem"][1]["call_args"] = "()" +defs["igDebugLocateItemResolveWithLastItem"][1]["cimguiname"] = "igDebugLocateItemResolveWithLastItem" +defs["igDebugLocateItemResolveWithLastItem"][1]["defaults"] = {} +defs["igDebugLocateItemResolveWithLastItem"][1]["funcname"] = "DebugLocateItemResolveWithLastItem" +defs["igDebugLocateItemResolveWithLastItem"][1]["location"] = "imgui_internal:3428" +defs["igDebugLocateItemResolveWithLastItem"][1]["namespace"] = "ImGui" +defs["igDebugLocateItemResolveWithLastItem"][1]["ov_cimguiname"] = "igDebugLocateItemResolveWithLastItem" +defs["igDebugLocateItemResolveWithLastItem"][1]["ret"] = "void" +defs["igDebugLocateItemResolveWithLastItem"][1]["signature"] = "()" +defs["igDebugLocateItemResolveWithLastItem"][1]["stname"] = "" +defs["igDebugLocateItemResolveWithLastItem"]["()"] = defs["igDebugLocateItemResolveWithLastItem"][1] +defs["igDebugLog"] = {} +defs["igDebugLog"][1] = {} +defs["igDebugLog"][1]["args"] = "(const char* fmt,...)" +defs["igDebugLog"][1]["argsT"] = {} +defs["igDebugLog"][1]["argsT"][1] = {} +defs["igDebugLog"][1]["argsT"][1]["name"] = "fmt" +defs["igDebugLog"][1]["argsT"][1]["type"] = "const char*" +defs["igDebugLog"][1]["argsT"][2] = {} +defs["igDebugLog"][1]["argsT"][2]["name"] = "..." +defs["igDebugLog"][1]["argsT"][2]["type"] = "..." +defs["igDebugLog"][1]["argsoriginal"] = "(const char* fmt,...)" +defs["igDebugLog"][1]["call_args"] = "(fmt,...)" +defs["igDebugLog"][1]["cimguiname"] = "igDebugLog" +defs["igDebugLog"][1]["defaults"] = {} +defs["igDebugLog"][1]["funcname"] = "DebugLog" +defs["igDebugLog"][1]["isvararg"] = "...)" +defs["igDebugLog"][1]["location"] = "imgui_internal:3419" +defs["igDebugLog"][1]["namespace"] = "ImGui" +defs["igDebugLog"][1]["ov_cimguiname"] = "igDebugLog" +defs["igDebugLog"][1]["ret"] = "void" +defs["igDebugLog"][1]["signature"] = "(const char*,...)" +defs["igDebugLog"][1]["stname"] = "" +defs["igDebugLog"]["(const char*,...)"] = defs["igDebugLog"][1] +defs["igDebugLogV"] = {} +defs["igDebugLogV"][1] = {} +defs["igDebugLogV"][1]["args"] = "(const char* fmt,va_list args)" +defs["igDebugLogV"][1]["argsT"] = {} +defs["igDebugLogV"][1]["argsT"][1] = {} +defs["igDebugLogV"][1]["argsT"][1]["name"] = "fmt" +defs["igDebugLogV"][1]["argsT"][1]["type"] = "const char*" +defs["igDebugLogV"][1]["argsT"][2] = {} +defs["igDebugLogV"][1]["argsT"][2]["name"] = "args" +defs["igDebugLogV"][1]["argsT"][2]["type"] = "va_list" +defs["igDebugLogV"][1]["argsoriginal"] = "(const char* fmt,va_list args)" +defs["igDebugLogV"][1]["call_args"] = "(fmt,args)" +defs["igDebugLogV"][1]["cimguiname"] = "igDebugLogV" +defs["igDebugLogV"][1]["defaults"] = {} +defs["igDebugLogV"][1]["funcname"] = "DebugLogV" +defs["igDebugLogV"][1]["location"] = "imgui_internal:3420" +defs["igDebugLogV"][1]["namespace"] = "ImGui" +defs["igDebugLogV"][1]["ov_cimguiname"] = "igDebugLogV" +defs["igDebugLogV"][1]["ret"] = "void" +defs["igDebugLogV"][1]["signature"] = "(const char*,va_list)" +defs["igDebugLogV"][1]["stname"] = "" +defs["igDebugLogV"]["(const char*,va_list)"] = defs["igDebugLogV"][1] defs["igDebugNodeColumns"] = {} defs["igDebugNodeColumns"][1] = {} defs["igDebugNodeColumns"][1]["args"] = "(ImGuiOldColumns* columns)" @@ -13112,7 +13692,7 @@ defs["igDebugNodeColumns"][1]["call_args"] = "(columns)" defs["igDebugNodeColumns"][1]["cimguiname"] = "igDebugNodeColumns" defs["igDebugNodeColumns"][1]["defaults"] = {} defs["igDebugNodeColumns"][1]["funcname"] = "DebugNodeColumns" -defs["igDebugNodeColumns"][1]["location"] = "imgui_internal:3077" +defs["igDebugNodeColumns"][1]["location"] = "imgui_internal:3433" defs["igDebugNodeColumns"][1]["namespace"] = "ImGui" defs["igDebugNodeColumns"][1]["ov_cimguiname"] = "igDebugNodeColumns" defs["igDebugNodeColumns"][1]["ret"] = "void" @@ -13134,7 +13714,7 @@ defs["igDebugNodeDockNode"][1]["call_args"] = "(node,label)" defs["igDebugNodeDockNode"][1]["cimguiname"] = "igDebugNodeDockNode" defs["igDebugNodeDockNode"][1]["defaults"] = {} defs["igDebugNodeDockNode"][1]["funcname"] = "DebugNodeDockNode" -defs["igDebugNodeDockNode"][1]["location"] = "imgui_internal:3078" +defs["igDebugNodeDockNode"][1]["location"] = "imgui_internal:3434" defs["igDebugNodeDockNode"][1]["namespace"] = "ImGui" defs["igDebugNodeDockNode"][1]["ov_cimguiname"] = "igDebugNodeDockNode" defs["igDebugNodeDockNode"][1]["ret"] = "void" @@ -13165,7 +13745,7 @@ defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["call_args"] = "(out_draw_li defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["cimguiname"] = "igDebugNodeDrawCmdShowMeshAndBoundingBox" defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["defaults"] = {} defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["funcname"] = "DebugNodeDrawCmdShowMeshAndBoundingBox" -defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["location"] = "imgui_internal:3080" +defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["location"] = "imgui_internal:3436" defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["namespace"] = "ImGui" defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["ov_cimguiname"] = "igDebugNodeDrawCmdShowMeshAndBoundingBox" defs["igDebugNodeDrawCmdShowMeshAndBoundingBox"][1]["ret"] = "void" @@ -13193,7 +13773,7 @@ defs["igDebugNodeDrawList"][1]["call_args"] = "(window,viewport,draw_list,label) defs["igDebugNodeDrawList"][1]["cimguiname"] = "igDebugNodeDrawList" defs["igDebugNodeDrawList"][1]["defaults"] = {} defs["igDebugNodeDrawList"][1]["funcname"] = "DebugNodeDrawList" -defs["igDebugNodeDrawList"][1]["location"] = "imgui_internal:3079" +defs["igDebugNodeDrawList"][1]["location"] = "imgui_internal:3435" defs["igDebugNodeDrawList"][1]["namespace"] = "ImGui" defs["igDebugNodeDrawList"][1]["ov_cimguiname"] = "igDebugNodeDrawList" defs["igDebugNodeDrawList"][1]["ret"] = "void" @@ -13212,13 +13792,54 @@ defs["igDebugNodeFont"][1]["call_args"] = "(font)" defs["igDebugNodeFont"][1]["cimguiname"] = "igDebugNodeFont" defs["igDebugNodeFont"][1]["defaults"] = {} defs["igDebugNodeFont"][1]["funcname"] = "DebugNodeFont" -defs["igDebugNodeFont"][1]["location"] = "imgui_internal:3081" +defs["igDebugNodeFont"][1]["location"] = "imgui_internal:3437" defs["igDebugNodeFont"][1]["namespace"] = "ImGui" defs["igDebugNodeFont"][1]["ov_cimguiname"] = "igDebugNodeFont" defs["igDebugNodeFont"][1]["ret"] = "void" defs["igDebugNodeFont"][1]["signature"] = "(ImFont*)" defs["igDebugNodeFont"][1]["stname"] = "" defs["igDebugNodeFont"]["(ImFont*)"] = defs["igDebugNodeFont"][1] +defs["igDebugNodeFontGlyph"] = {} +defs["igDebugNodeFontGlyph"][1] = {} +defs["igDebugNodeFontGlyph"][1]["args"] = "(ImFont* font,const ImFontGlyph* glyph)" +defs["igDebugNodeFontGlyph"][1]["argsT"] = {} +defs["igDebugNodeFontGlyph"][1]["argsT"][1] = {} +defs["igDebugNodeFontGlyph"][1]["argsT"][1]["name"] = "font" +defs["igDebugNodeFontGlyph"][1]["argsT"][1]["type"] = "ImFont*" +defs["igDebugNodeFontGlyph"][1]["argsT"][2] = {} +defs["igDebugNodeFontGlyph"][1]["argsT"][2]["name"] = "glyph" +defs["igDebugNodeFontGlyph"][1]["argsT"][2]["type"] = "const ImFontGlyph*" +defs["igDebugNodeFontGlyph"][1]["argsoriginal"] = "(ImFont* font,const ImFontGlyph* glyph)" +defs["igDebugNodeFontGlyph"][1]["call_args"] = "(font,glyph)" +defs["igDebugNodeFontGlyph"][1]["cimguiname"] = "igDebugNodeFontGlyph" +defs["igDebugNodeFontGlyph"][1]["defaults"] = {} +defs["igDebugNodeFontGlyph"][1]["funcname"] = "DebugNodeFontGlyph" +defs["igDebugNodeFontGlyph"][1]["location"] = "imgui_internal:3438" +defs["igDebugNodeFontGlyph"][1]["namespace"] = "ImGui" +defs["igDebugNodeFontGlyph"][1]["ov_cimguiname"] = "igDebugNodeFontGlyph" +defs["igDebugNodeFontGlyph"][1]["ret"] = "void" +defs["igDebugNodeFontGlyph"][1]["signature"] = "(ImFont*,const ImFontGlyph*)" +defs["igDebugNodeFontGlyph"][1]["stname"] = "" +defs["igDebugNodeFontGlyph"]["(ImFont*,const ImFontGlyph*)"] = defs["igDebugNodeFontGlyph"][1] +defs["igDebugNodeInputTextState"] = {} +defs["igDebugNodeInputTextState"][1] = {} +defs["igDebugNodeInputTextState"][1]["args"] = "(ImGuiInputTextState* state)" +defs["igDebugNodeInputTextState"][1]["argsT"] = {} +defs["igDebugNodeInputTextState"][1]["argsT"][1] = {} +defs["igDebugNodeInputTextState"][1]["argsT"][1]["name"] = "state" +defs["igDebugNodeInputTextState"][1]["argsT"][1]["type"] = "ImGuiInputTextState*" +defs["igDebugNodeInputTextState"][1]["argsoriginal"] = "(ImGuiInputTextState* state)" +defs["igDebugNodeInputTextState"][1]["call_args"] = "(state)" +defs["igDebugNodeInputTextState"][1]["cimguiname"] = "igDebugNodeInputTextState" +defs["igDebugNodeInputTextState"][1]["defaults"] = {} +defs["igDebugNodeInputTextState"][1]["funcname"] = "DebugNodeInputTextState" +defs["igDebugNodeInputTextState"][1]["location"] = "imgui_internal:3443" +defs["igDebugNodeInputTextState"][1]["namespace"] = "ImGui" +defs["igDebugNodeInputTextState"][1]["ov_cimguiname"] = "igDebugNodeInputTextState" +defs["igDebugNodeInputTextState"][1]["ret"] = "void" +defs["igDebugNodeInputTextState"][1]["signature"] = "(ImGuiInputTextState*)" +defs["igDebugNodeInputTextState"][1]["stname"] = "" +defs["igDebugNodeInputTextState"]["(ImGuiInputTextState*)"] = defs["igDebugNodeInputTextState"][1] defs["igDebugNodeStorage"] = {} defs["igDebugNodeStorage"][1] = {} defs["igDebugNodeStorage"][1]["args"] = "(ImGuiStorage* storage,const char* label)" @@ -13234,7 +13855,7 @@ defs["igDebugNodeStorage"][1]["call_args"] = "(storage,label)" defs["igDebugNodeStorage"][1]["cimguiname"] = "igDebugNodeStorage" defs["igDebugNodeStorage"][1]["defaults"] = {} defs["igDebugNodeStorage"][1]["funcname"] = "DebugNodeStorage" -defs["igDebugNodeStorage"][1]["location"] = "imgui_internal:3082" +defs["igDebugNodeStorage"][1]["location"] = "imgui_internal:3439" defs["igDebugNodeStorage"][1]["namespace"] = "ImGui" defs["igDebugNodeStorage"][1]["ov_cimguiname"] = "igDebugNodeStorage" defs["igDebugNodeStorage"][1]["ret"] = "void" @@ -13256,7 +13877,7 @@ defs["igDebugNodeTabBar"][1]["call_args"] = "(tab_bar,label)" defs["igDebugNodeTabBar"][1]["cimguiname"] = "igDebugNodeTabBar" defs["igDebugNodeTabBar"][1]["defaults"] = {} defs["igDebugNodeTabBar"][1]["funcname"] = "DebugNodeTabBar" -defs["igDebugNodeTabBar"][1]["location"] = "imgui_internal:3083" +defs["igDebugNodeTabBar"][1]["location"] = "imgui_internal:3440" defs["igDebugNodeTabBar"][1]["namespace"] = "ImGui" defs["igDebugNodeTabBar"][1]["ov_cimguiname"] = "igDebugNodeTabBar" defs["igDebugNodeTabBar"][1]["ret"] = "void" @@ -13275,7 +13896,7 @@ defs["igDebugNodeTable"][1]["call_args"] = "(table)" defs["igDebugNodeTable"][1]["cimguiname"] = "igDebugNodeTable" defs["igDebugNodeTable"][1]["defaults"] = {} defs["igDebugNodeTable"][1]["funcname"] = "DebugNodeTable" -defs["igDebugNodeTable"][1]["location"] = "imgui_internal:3084" +defs["igDebugNodeTable"][1]["location"] = "imgui_internal:3441" defs["igDebugNodeTable"][1]["namespace"] = "ImGui" defs["igDebugNodeTable"][1]["ov_cimguiname"] = "igDebugNodeTable" defs["igDebugNodeTable"][1]["ret"] = "void" @@ -13294,7 +13915,7 @@ defs["igDebugNodeTableSettings"][1]["call_args"] = "(settings)" defs["igDebugNodeTableSettings"][1]["cimguiname"] = "igDebugNodeTableSettings" defs["igDebugNodeTableSettings"][1]["defaults"] = {} defs["igDebugNodeTableSettings"][1]["funcname"] = "DebugNodeTableSettings" -defs["igDebugNodeTableSettings"][1]["location"] = "imgui_internal:3085" +defs["igDebugNodeTableSettings"][1]["location"] = "imgui_internal:3442" defs["igDebugNodeTableSettings"][1]["namespace"] = "ImGui" defs["igDebugNodeTableSettings"][1]["ov_cimguiname"] = "igDebugNodeTableSettings" defs["igDebugNodeTableSettings"][1]["ret"] = "void" @@ -13313,7 +13934,7 @@ defs["igDebugNodeViewport"][1]["call_args"] = "(viewport)" defs["igDebugNodeViewport"][1]["cimguiname"] = "igDebugNodeViewport" defs["igDebugNodeViewport"][1]["defaults"] = {} defs["igDebugNodeViewport"][1]["funcname"] = "DebugNodeViewport" -defs["igDebugNodeViewport"][1]["location"] = "imgui_internal:3090" +defs["igDebugNodeViewport"][1]["location"] = "imgui_internal:3448" defs["igDebugNodeViewport"][1]["namespace"] = "ImGui" defs["igDebugNodeViewport"][1]["ov_cimguiname"] = "igDebugNodeViewport" defs["igDebugNodeViewport"][1]["ret"] = "void" @@ -13335,7 +13956,7 @@ defs["igDebugNodeWindow"][1]["call_args"] = "(window,label)" defs["igDebugNodeWindow"][1]["cimguiname"] = "igDebugNodeWindow" defs["igDebugNodeWindow"][1]["defaults"] = {} defs["igDebugNodeWindow"][1]["funcname"] = "DebugNodeWindow" -defs["igDebugNodeWindow"][1]["location"] = "imgui_internal:3086" +defs["igDebugNodeWindow"][1]["location"] = "imgui_internal:3444" defs["igDebugNodeWindow"][1]["namespace"] = "ImGui" defs["igDebugNodeWindow"][1]["ov_cimguiname"] = "igDebugNodeWindow" defs["igDebugNodeWindow"][1]["ret"] = "void" @@ -13354,7 +13975,7 @@ defs["igDebugNodeWindowSettings"][1]["call_args"] = "(settings)" defs["igDebugNodeWindowSettings"][1]["cimguiname"] = "igDebugNodeWindowSettings" defs["igDebugNodeWindowSettings"][1]["defaults"] = {} defs["igDebugNodeWindowSettings"][1]["funcname"] = "DebugNodeWindowSettings" -defs["igDebugNodeWindowSettings"][1]["location"] = "imgui_internal:3087" +defs["igDebugNodeWindowSettings"][1]["location"] = "imgui_internal:3445" defs["igDebugNodeWindowSettings"][1]["namespace"] = "ImGui" defs["igDebugNodeWindowSettings"][1]["ov_cimguiname"] = "igDebugNodeWindowSettings" defs["igDebugNodeWindowSettings"][1]["ret"] = "void" @@ -13376,7 +13997,7 @@ defs["igDebugNodeWindowsList"][1]["call_args"] = "(windows,label)" defs["igDebugNodeWindowsList"][1]["cimguiname"] = "igDebugNodeWindowsList" defs["igDebugNodeWindowsList"][1]["defaults"] = {} defs["igDebugNodeWindowsList"][1]["funcname"] = "DebugNodeWindowsList" -defs["igDebugNodeWindowsList"][1]["location"] = "imgui_internal:3088" +defs["igDebugNodeWindowsList"][1]["location"] = "imgui_internal:3446" defs["igDebugNodeWindowsList"][1]["namespace"] = "ImGui" defs["igDebugNodeWindowsList"][1]["ov_cimguiname"] = "igDebugNodeWindowsList" defs["igDebugNodeWindowsList"][1]["ret"] = "void" @@ -13401,7 +14022,7 @@ defs["igDebugNodeWindowsListByBeginStackParent"][1]["call_args"] = "(windows,win defs["igDebugNodeWindowsListByBeginStackParent"][1]["cimguiname"] = "igDebugNodeWindowsListByBeginStackParent" defs["igDebugNodeWindowsListByBeginStackParent"][1]["defaults"] = {} defs["igDebugNodeWindowsListByBeginStackParent"][1]["funcname"] = "DebugNodeWindowsListByBeginStackParent" -defs["igDebugNodeWindowsListByBeginStackParent"][1]["location"] = "imgui_internal:3089" +defs["igDebugNodeWindowsListByBeginStackParent"][1]["location"] = "imgui_internal:3447" defs["igDebugNodeWindowsListByBeginStackParent"][1]["namespace"] = "ImGui" defs["igDebugNodeWindowsListByBeginStackParent"][1]["ov_cimguiname"] = "igDebugNodeWindowsListByBeginStackParent" defs["igDebugNodeWindowsListByBeginStackParent"][1]["ret"] = "void" @@ -13426,7 +14047,7 @@ defs["igDebugRenderViewportThumbnail"][1]["call_args"] = "(draw_list,viewport,bb defs["igDebugRenderViewportThumbnail"][1]["cimguiname"] = "igDebugRenderViewportThumbnail" defs["igDebugRenderViewportThumbnail"][1]["defaults"] = {} defs["igDebugRenderViewportThumbnail"][1]["funcname"] = "DebugRenderViewportThumbnail" -defs["igDebugRenderViewportThumbnail"][1]["location"] = "imgui_internal:3091" +defs["igDebugRenderViewportThumbnail"][1]["location"] = "imgui_internal:3449" defs["igDebugRenderViewportThumbnail"][1]["namespace"] = "ImGui" defs["igDebugRenderViewportThumbnail"][1]["ov_cimguiname"] = "igDebugRenderViewportThumbnail" defs["igDebugRenderViewportThumbnail"][1]["ret"] = "void" @@ -13442,13 +14063,32 @@ defs["igDebugStartItemPicker"][1]["call_args"] = "()" defs["igDebugStartItemPicker"][1]["cimguiname"] = "igDebugStartItemPicker" defs["igDebugStartItemPicker"][1]["defaults"] = {} defs["igDebugStartItemPicker"][1]["funcname"] = "DebugStartItemPicker" -defs["igDebugStartItemPicker"][1]["location"] = "imgui_internal:3073" +defs["igDebugStartItemPicker"][1]["location"] = "imgui_internal:3430" defs["igDebugStartItemPicker"][1]["namespace"] = "ImGui" defs["igDebugStartItemPicker"][1]["ov_cimguiname"] = "igDebugStartItemPicker" defs["igDebugStartItemPicker"][1]["ret"] = "void" defs["igDebugStartItemPicker"][1]["signature"] = "()" defs["igDebugStartItemPicker"][1]["stname"] = "" defs["igDebugStartItemPicker"]["()"] = defs["igDebugStartItemPicker"][1] +defs["igDebugTextEncoding"] = {} +defs["igDebugTextEncoding"][1] = {} +defs["igDebugTextEncoding"][1]["args"] = "(const char* text)" +defs["igDebugTextEncoding"][1]["argsT"] = {} +defs["igDebugTextEncoding"][1]["argsT"][1] = {} +defs["igDebugTextEncoding"][1]["argsT"][1]["name"] = "text" +defs["igDebugTextEncoding"][1]["argsT"][1]["type"] = "const char*" +defs["igDebugTextEncoding"][1]["argsoriginal"] = "(const char* text)" +defs["igDebugTextEncoding"][1]["call_args"] = "(text)" +defs["igDebugTextEncoding"][1]["cimguiname"] = "igDebugTextEncoding" +defs["igDebugTextEncoding"][1]["defaults"] = {} +defs["igDebugTextEncoding"][1]["funcname"] = "DebugTextEncoding" +defs["igDebugTextEncoding"][1]["location"] = "imgui:965" +defs["igDebugTextEncoding"][1]["namespace"] = "ImGui" +defs["igDebugTextEncoding"][1]["ov_cimguiname"] = "igDebugTextEncoding" +defs["igDebugTextEncoding"][1]["ret"] = "void" +defs["igDebugTextEncoding"][1]["signature"] = "(const char*)" +defs["igDebugTextEncoding"][1]["stname"] = "" +defs["igDebugTextEncoding"]["(const char*)"] = defs["igDebugTextEncoding"][1] defs["igDestroyContext"] = {} defs["igDestroyContext"][1] = {} defs["igDestroyContext"][1]["args"] = "(ImGuiContext* ctx)" @@ -13462,7 +14102,7 @@ defs["igDestroyContext"][1]["cimguiname"] = "igDestroyContext" defs["igDestroyContext"][1]["defaults"] = {} defs["igDestroyContext"][1]["defaults"]["ctx"] = "NULL" defs["igDestroyContext"][1]["funcname"] = "DestroyContext" -defs["igDestroyContext"][1]["location"] = "imgui:302" +defs["igDestroyContext"][1]["location"] = "imgui:295" defs["igDestroyContext"][1]["namespace"] = "ImGui" defs["igDestroyContext"][1]["ov_cimguiname"] = "igDestroyContext" defs["igDestroyContext"][1]["ret"] = "void" @@ -13481,7 +14121,7 @@ defs["igDestroyPlatformWindow"][1]["call_args"] = "(viewport)" defs["igDestroyPlatformWindow"][1]["cimguiname"] = "igDestroyPlatformWindow" defs["igDestroyPlatformWindow"][1]["defaults"] = {} defs["igDestroyPlatformWindow"][1]["funcname"] = "DestroyPlatformWindow" -defs["igDestroyPlatformWindow"][1]["location"] = "imgui_internal:2695" +defs["igDestroyPlatformWindow"][1]["location"] = "imgui_internal:2984" defs["igDestroyPlatformWindow"][1]["namespace"] = "ImGui" defs["igDestroyPlatformWindow"][1]["ov_cimguiname"] = "igDestroyPlatformWindow" defs["igDestroyPlatformWindow"][1]["ret"] = "void" @@ -13497,7 +14137,7 @@ defs["igDestroyPlatformWindows"][1]["call_args"] = "()" defs["igDestroyPlatformWindows"][1]["cimguiname"] = "igDestroyPlatformWindows" defs["igDestroyPlatformWindows"][1]["defaults"] = {} defs["igDestroyPlatformWindows"][1]["funcname"] = "DestroyPlatformWindows" -defs["igDestroyPlatformWindows"][1]["location"] = "imgui:981" +defs["igDestroyPlatformWindows"][1]["location"] = "imgui:983" defs["igDestroyPlatformWindows"][1]["namespace"] = "ImGui" defs["igDestroyPlatformWindows"][1]["ov_cimguiname"] = "igDestroyPlatformWindows" defs["igDestroyPlatformWindows"][1]["ret"] = "void" @@ -13521,7 +14161,7 @@ defs["igDockBuilderAddNode"][1]["defaults"] = {} defs["igDockBuilderAddNode"][1]["defaults"]["flags"] = "0" defs["igDockBuilderAddNode"][1]["defaults"]["node_id"] = "0" defs["igDockBuilderAddNode"][1]["funcname"] = "DockBuilderAddNode" -defs["igDockBuilderAddNode"][1]["location"] = "imgui_internal:2875" +defs["igDockBuilderAddNode"][1]["location"] = "imgui_internal:3212" defs["igDockBuilderAddNode"][1]["namespace"] = "ImGui" defs["igDockBuilderAddNode"][1]["ov_cimguiname"] = "igDockBuilderAddNode" defs["igDockBuilderAddNode"][1]["ret"] = "ImGuiID" @@ -13546,7 +14186,7 @@ defs["igDockBuilderCopyDockSpace"][1]["call_args"] = "(src_dockspace_id,dst_dock defs["igDockBuilderCopyDockSpace"][1]["cimguiname"] = "igDockBuilderCopyDockSpace" defs["igDockBuilderCopyDockSpace"][1]["defaults"] = {} defs["igDockBuilderCopyDockSpace"][1]["funcname"] = "DockBuilderCopyDockSpace" -defs["igDockBuilderCopyDockSpace"][1]["location"] = "imgui_internal:2882" +defs["igDockBuilderCopyDockSpace"][1]["location"] = "imgui_internal:3219" defs["igDockBuilderCopyDockSpace"][1]["namespace"] = "ImGui" defs["igDockBuilderCopyDockSpace"][1]["ov_cimguiname"] = "igDockBuilderCopyDockSpace" defs["igDockBuilderCopyDockSpace"][1]["ret"] = "void" @@ -13571,7 +14211,7 @@ defs["igDockBuilderCopyNode"][1]["call_args"] = "(src_node_id,dst_node_id,out_no defs["igDockBuilderCopyNode"][1]["cimguiname"] = "igDockBuilderCopyNode" defs["igDockBuilderCopyNode"][1]["defaults"] = {} defs["igDockBuilderCopyNode"][1]["funcname"] = "DockBuilderCopyNode" -defs["igDockBuilderCopyNode"][1]["location"] = "imgui_internal:2883" +defs["igDockBuilderCopyNode"][1]["location"] = "imgui_internal:3220" defs["igDockBuilderCopyNode"][1]["namespace"] = "ImGui" defs["igDockBuilderCopyNode"][1]["ov_cimguiname"] = "igDockBuilderCopyNode" defs["igDockBuilderCopyNode"][1]["ret"] = "void" @@ -13593,7 +14233,7 @@ defs["igDockBuilderCopyWindowSettings"][1]["call_args"] = "(src_name,dst_name)" defs["igDockBuilderCopyWindowSettings"][1]["cimguiname"] = "igDockBuilderCopyWindowSettings" defs["igDockBuilderCopyWindowSettings"][1]["defaults"] = {} defs["igDockBuilderCopyWindowSettings"][1]["funcname"] = "DockBuilderCopyWindowSettings" -defs["igDockBuilderCopyWindowSettings"][1]["location"] = "imgui_internal:2884" +defs["igDockBuilderCopyWindowSettings"][1]["location"] = "imgui_internal:3221" defs["igDockBuilderCopyWindowSettings"][1]["namespace"] = "ImGui" defs["igDockBuilderCopyWindowSettings"][1]["ov_cimguiname"] = "igDockBuilderCopyWindowSettings" defs["igDockBuilderCopyWindowSettings"][1]["ret"] = "void" @@ -13615,7 +14255,7 @@ defs["igDockBuilderDockWindow"][1]["call_args"] = "(window_name,node_id)" defs["igDockBuilderDockWindow"][1]["cimguiname"] = "igDockBuilderDockWindow" defs["igDockBuilderDockWindow"][1]["defaults"] = {} defs["igDockBuilderDockWindow"][1]["funcname"] = "DockBuilderDockWindow" -defs["igDockBuilderDockWindow"][1]["location"] = "imgui_internal:2872" +defs["igDockBuilderDockWindow"][1]["location"] = "imgui_internal:3209" defs["igDockBuilderDockWindow"][1]["namespace"] = "ImGui" defs["igDockBuilderDockWindow"][1]["ov_cimguiname"] = "igDockBuilderDockWindow" defs["igDockBuilderDockWindow"][1]["ret"] = "void" @@ -13634,7 +14274,7 @@ defs["igDockBuilderFinish"][1]["call_args"] = "(node_id)" defs["igDockBuilderFinish"][1]["cimguiname"] = "igDockBuilderFinish" defs["igDockBuilderFinish"][1]["defaults"] = {} defs["igDockBuilderFinish"][1]["funcname"] = "DockBuilderFinish" -defs["igDockBuilderFinish"][1]["location"] = "imgui_internal:2885" +defs["igDockBuilderFinish"][1]["location"] = "imgui_internal:3222" defs["igDockBuilderFinish"][1]["namespace"] = "ImGui" defs["igDockBuilderFinish"][1]["ov_cimguiname"] = "igDockBuilderFinish" defs["igDockBuilderFinish"][1]["ret"] = "void" @@ -13653,7 +14293,7 @@ defs["igDockBuilderGetCentralNode"][1]["call_args"] = "(node_id)" defs["igDockBuilderGetCentralNode"][1]["cimguiname"] = "igDockBuilderGetCentralNode" defs["igDockBuilderGetCentralNode"][1]["defaults"] = {} defs["igDockBuilderGetCentralNode"][1]["funcname"] = "DockBuilderGetCentralNode" -defs["igDockBuilderGetCentralNode"][1]["location"] = "imgui_internal:2874" +defs["igDockBuilderGetCentralNode"][1]["location"] = "imgui_internal:3211" defs["igDockBuilderGetCentralNode"][1]["namespace"] = "ImGui" defs["igDockBuilderGetCentralNode"][1]["ov_cimguiname"] = "igDockBuilderGetCentralNode" defs["igDockBuilderGetCentralNode"][1]["ret"] = "ImGuiDockNode*" @@ -13672,7 +14312,7 @@ defs["igDockBuilderGetNode"][1]["call_args"] = "(node_id)" defs["igDockBuilderGetNode"][1]["cimguiname"] = "igDockBuilderGetNode" defs["igDockBuilderGetNode"][1]["defaults"] = {} defs["igDockBuilderGetNode"][1]["funcname"] = "DockBuilderGetNode" -defs["igDockBuilderGetNode"][1]["location"] = "imgui_internal:2873" +defs["igDockBuilderGetNode"][1]["location"] = "imgui_internal:3210" defs["igDockBuilderGetNode"][1]["namespace"] = "ImGui" defs["igDockBuilderGetNode"][1]["ov_cimguiname"] = "igDockBuilderGetNode" defs["igDockBuilderGetNode"][1]["ret"] = "ImGuiDockNode*" @@ -13691,7 +14331,7 @@ defs["igDockBuilderRemoveNode"][1]["call_args"] = "(node_id)" defs["igDockBuilderRemoveNode"][1]["cimguiname"] = "igDockBuilderRemoveNode" defs["igDockBuilderRemoveNode"][1]["defaults"] = {} defs["igDockBuilderRemoveNode"][1]["funcname"] = "DockBuilderRemoveNode" -defs["igDockBuilderRemoveNode"][1]["location"] = "imgui_internal:2876" +defs["igDockBuilderRemoveNode"][1]["location"] = "imgui_internal:3213" defs["igDockBuilderRemoveNode"][1]["namespace"] = "ImGui" defs["igDockBuilderRemoveNode"][1]["ov_cimguiname"] = "igDockBuilderRemoveNode" defs["igDockBuilderRemoveNode"][1]["ret"] = "void" @@ -13710,7 +14350,7 @@ defs["igDockBuilderRemoveNodeChildNodes"][1]["call_args"] = "(node_id)" defs["igDockBuilderRemoveNodeChildNodes"][1]["cimguiname"] = "igDockBuilderRemoveNodeChildNodes" defs["igDockBuilderRemoveNodeChildNodes"][1]["defaults"] = {} defs["igDockBuilderRemoveNodeChildNodes"][1]["funcname"] = "DockBuilderRemoveNodeChildNodes" -defs["igDockBuilderRemoveNodeChildNodes"][1]["location"] = "imgui_internal:2878" +defs["igDockBuilderRemoveNodeChildNodes"][1]["location"] = "imgui_internal:3215" defs["igDockBuilderRemoveNodeChildNodes"][1]["namespace"] = "ImGui" defs["igDockBuilderRemoveNodeChildNodes"][1]["ov_cimguiname"] = "igDockBuilderRemoveNodeChildNodes" defs["igDockBuilderRemoveNodeChildNodes"][1]["ret"] = "void" @@ -13733,7 +14373,7 @@ defs["igDockBuilderRemoveNodeDockedWindows"][1]["cimguiname"] = "igDockBuilderRe defs["igDockBuilderRemoveNodeDockedWindows"][1]["defaults"] = {} defs["igDockBuilderRemoveNodeDockedWindows"][1]["defaults"]["clear_settings_refs"] = "true" defs["igDockBuilderRemoveNodeDockedWindows"][1]["funcname"] = "DockBuilderRemoveNodeDockedWindows" -defs["igDockBuilderRemoveNodeDockedWindows"][1]["location"] = "imgui_internal:2877" +defs["igDockBuilderRemoveNodeDockedWindows"][1]["location"] = "imgui_internal:3214" defs["igDockBuilderRemoveNodeDockedWindows"][1]["namespace"] = "ImGui" defs["igDockBuilderRemoveNodeDockedWindows"][1]["ov_cimguiname"] = "igDockBuilderRemoveNodeDockedWindows" defs["igDockBuilderRemoveNodeDockedWindows"][1]["ret"] = "void" @@ -13755,7 +14395,7 @@ defs["igDockBuilderSetNodePos"][1]["call_args"] = "(node_id,pos)" defs["igDockBuilderSetNodePos"][1]["cimguiname"] = "igDockBuilderSetNodePos" defs["igDockBuilderSetNodePos"][1]["defaults"] = {} defs["igDockBuilderSetNodePos"][1]["funcname"] = "DockBuilderSetNodePos" -defs["igDockBuilderSetNodePos"][1]["location"] = "imgui_internal:2879" +defs["igDockBuilderSetNodePos"][1]["location"] = "imgui_internal:3216" defs["igDockBuilderSetNodePos"][1]["namespace"] = "ImGui" defs["igDockBuilderSetNodePos"][1]["ov_cimguiname"] = "igDockBuilderSetNodePos" defs["igDockBuilderSetNodePos"][1]["ret"] = "void" @@ -13777,7 +14417,7 @@ defs["igDockBuilderSetNodeSize"][1]["call_args"] = "(node_id,size)" defs["igDockBuilderSetNodeSize"][1]["cimguiname"] = "igDockBuilderSetNodeSize" defs["igDockBuilderSetNodeSize"][1]["defaults"] = {} defs["igDockBuilderSetNodeSize"][1]["funcname"] = "DockBuilderSetNodeSize" -defs["igDockBuilderSetNodeSize"][1]["location"] = "imgui_internal:2880" +defs["igDockBuilderSetNodeSize"][1]["location"] = "imgui_internal:3217" defs["igDockBuilderSetNodeSize"][1]["namespace"] = "ImGui" defs["igDockBuilderSetNodeSize"][1]["ov_cimguiname"] = "igDockBuilderSetNodeSize" defs["igDockBuilderSetNodeSize"][1]["ret"] = "void" @@ -13808,7 +14448,7 @@ defs["igDockBuilderSplitNode"][1]["call_args"] = "(node_id,split_dir,size_ratio_ defs["igDockBuilderSplitNode"][1]["cimguiname"] = "igDockBuilderSplitNode" defs["igDockBuilderSplitNode"][1]["defaults"] = {} defs["igDockBuilderSplitNode"][1]["funcname"] = "DockBuilderSplitNode" -defs["igDockBuilderSplitNode"][1]["location"] = "imgui_internal:2881" +defs["igDockBuilderSplitNode"][1]["location"] = "imgui_internal:3218" defs["igDockBuilderSplitNode"][1]["namespace"] = "ImGui" defs["igDockBuilderSplitNode"][1]["ov_cimguiname"] = "igDockBuilderSplitNode" defs["igDockBuilderSplitNode"][1]["ret"] = "ImGuiID" @@ -13817,7 +14457,7 @@ defs["igDockBuilderSplitNode"][1]["stname"] = "" defs["igDockBuilderSplitNode"]["(ImGuiID,ImGuiDir,float,ImGuiID*,ImGuiID*)"] = defs["igDockBuilderSplitNode"][1] defs["igDockContextCalcDropPosForDocking"] = {} defs["igDockContextCalcDropPosForDocking"][1] = {} -defs["igDockContextCalcDropPosForDocking"][1]["args"] = "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)" +defs["igDockContextCalcDropPosForDocking"][1]["args"] = "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)" defs["igDockContextCalcDropPosForDocking"][1]["argsT"] = {} defs["igDockContextCalcDropPosForDocking"][1]["argsT"][1] = {} defs["igDockContextCalcDropPosForDocking"][1]["argsT"][1]["name"] = "target" @@ -13826,29 +14466,32 @@ defs["igDockContextCalcDropPosForDocking"][1]["argsT"][2] = {} defs["igDockContextCalcDropPosForDocking"][1]["argsT"][2]["name"] = "target_node" defs["igDockContextCalcDropPosForDocking"][1]["argsT"][2]["type"] = "ImGuiDockNode*" defs["igDockContextCalcDropPosForDocking"][1]["argsT"][3] = {} -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][3]["name"] = "payload" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][3]["name"] = "payload_window" defs["igDockContextCalcDropPosForDocking"][1]["argsT"][3]["type"] = "ImGuiWindow*" defs["igDockContextCalcDropPosForDocking"][1]["argsT"][4] = {} -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][4]["name"] = "split_dir" -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][4]["type"] = "ImGuiDir" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][4]["name"] = "payload_node" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][4]["type"] = "ImGuiDockNode*" defs["igDockContextCalcDropPosForDocking"][1]["argsT"][5] = {} -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][5]["name"] = "split_outer" -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][5]["type"] = "bool" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][5]["name"] = "split_dir" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][5]["type"] = "ImGuiDir" defs["igDockContextCalcDropPosForDocking"][1]["argsT"][6] = {} -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][6]["name"] = "out_pos" -defs["igDockContextCalcDropPosForDocking"][1]["argsT"][6]["type"] = "ImVec2*" -defs["igDockContextCalcDropPosForDocking"][1]["argsoriginal"] = "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)" -defs["igDockContextCalcDropPosForDocking"][1]["call_args"] = "(target,target_node,payload,split_dir,split_outer,out_pos)" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][6]["name"] = "split_outer" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][6]["type"] = "bool" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][7] = {} +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][7]["name"] = "out_pos" +defs["igDockContextCalcDropPosForDocking"][1]["argsT"][7]["type"] = "ImVec2*" +defs["igDockContextCalcDropPosForDocking"][1]["argsoriginal"] = "(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos)" +defs["igDockContextCalcDropPosForDocking"][1]["call_args"] = "(target,target_node,payload_window,payload_node,split_dir,split_outer,out_pos)" defs["igDockContextCalcDropPosForDocking"][1]["cimguiname"] = "igDockContextCalcDropPosForDocking" defs["igDockContextCalcDropPosForDocking"][1]["defaults"] = {} defs["igDockContextCalcDropPosForDocking"][1]["funcname"] = "DockContextCalcDropPosForDocking" -defs["igDockContextCalcDropPosForDocking"][1]["location"] = "imgui_internal:2849" +defs["igDockContextCalcDropPosForDocking"][1]["location"] = "imgui_internal:3185" defs["igDockContextCalcDropPosForDocking"][1]["namespace"] = "ImGui" defs["igDockContextCalcDropPosForDocking"][1]["ov_cimguiname"] = "igDockContextCalcDropPosForDocking" defs["igDockContextCalcDropPosForDocking"][1]["ret"] = "bool" -defs["igDockContextCalcDropPosForDocking"][1]["signature"] = "(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDir,bool,ImVec2*)" +defs["igDockContextCalcDropPosForDocking"][1]["signature"] = "(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDockNode*,ImGuiDir,bool,ImVec2*)" defs["igDockContextCalcDropPosForDocking"][1]["stname"] = "" -defs["igDockContextCalcDropPosForDocking"]["(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDir,bool,ImVec2*)"] = defs["igDockContextCalcDropPosForDocking"][1] +defs["igDockContextCalcDropPosForDocking"]["(ImGuiWindow*,ImGuiDockNode*,ImGuiWindow*,ImGuiDockNode*,ImGuiDir,bool,ImVec2*)"] = defs["igDockContextCalcDropPosForDocking"][1] defs["igDockContextClearNodes"] = {} defs["igDockContextClearNodes"][1] = {} defs["igDockContextClearNodes"][1]["args"] = "(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs)" @@ -13867,7 +14510,7 @@ defs["igDockContextClearNodes"][1]["call_args"] = "(ctx,root_id,clear_settings_r defs["igDockContextClearNodes"][1]["cimguiname"] = "igDockContextClearNodes" defs["igDockContextClearNodes"][1]["defaults"] = {} defs["igDockContextClearNodes"][1]["funcname"] = "DockContextClearNodes" -defs["igDockContextClearNodes"][1]["location"] = "imgui_internal:2840" +defs["igDockContextClearNodes"][1]["location"] = "imgui_internal:3176" defs["igDockContextClearNodes"][1]["namespace"] = "ImGui" defs["igDockContextClearNodes"][1]["ov_cimguiname"] = "igDockContextClearNodes" defs["igDockContextClearNodes"][1]["ret"] = "void" @@ -13886,13 +14529,35 @@ defs["igDockContextEndFrame"][1]["call_args"] = "(ctx)" defs["igDockContextEndFrame"][1]["cimguiname"] = "igDockContextEndFrame" defs["igDockContextEndFrame"][1]["defaults"] = {} defs["igDockContextEndFrame"][1]["funcname"] = "DockContextEndFrame" -defs["igDockContextEndFrame"][1]["location"] = "imgui_internal:2844" +defs["igDockContextEndFrame"][1]["location"] = "imgui_internal:3180" defs["igDockContextEndFrame"][1]["namespace"] = "ImGui" defs["igDockContextEndFrame"][1]["ov_cimguiname"] = "igDockContextEndFrame" defs["igDockContextEndFrame"][1]["ret"] = "void" defs["igDockContextEndFrame"][1]["signature"] = "(ImGuiContext*)" defs["igDockContextEndFrame"][1]["stname"] = "" defs["igDockContextEndFrame"]["(ImGuiContext*)"] = defs["igDockContextEndFrame"][1] +defs["igDockContextFindNodeByID"] = {} +defs["igDockContextFindNodeByID"][1] = {} +defs["igDockContextFindNodeByID"][1]["args"] = "(ImGuiContext* ctx,ImGuiID id)" +defs["igDockContextFindNodeByID"][1]["argsT"] = {} +defs["igDockContextFindNodeByID"][1]["argsT"][1] = {} +defs["igDockContextFindNodeByID"][1]["argsT"][1]["name"] = "ctx" +defs["igDockContextFindNodeByID"][1]["argsT"][1]["type"] = "ImGuiContext*" +defs["igDockContextFindNodeByID"][1]["argsT"][2] = {} +defs["igDockContextFindNodeByID"][1]["argsT"][2]["name"] = "id" +defs["igDockContextFindNodeByID"][1]["argsT"][2]["type"] = "ImGuiID" +defs["igDockContextFindNodeByID"][1]["argsoriginal"] = "(ImGuiContext* ctx,ImGuiID id)" +defs["igDockContextFindNodeByID"][1]["call_args"] = "(ctx,id)" +defs["igDockContextFindNodeByID"][1]["cimguiname"] = "igDockContextFindNodeByID" +defs["igDockContextFindNodeByID"][1]["defaults"] = {} +defs["igDockContextFindNodeByID"][1]["funcname"] = "DockContextFindNodeByID" +defs["igDockContextFindNodeByID"][1]["location"] = "imgui_internal:3186" +defs["igDockContextFindNodeByID"][1]["namespace"] = "ImGui" +defs["igDockContextFindNodeByID"][1]["ov_cimguiname"] = "igDockContextFindNodeByID" +defs["igDockContextFindNodeByID"][1]["ret"] = "ImGuiDockNode*" +defs["igDockContextFindNodeByID"][1]["signature"] = "(ImGuiContext*,ImGuiID)" +defs["igDockContextFindNodeByID"][1]["stname"] = "" +defs["igDockContextFindNodeByID"]["(ImGuiContext*,ImGuiID)"] = defs["igDockContextFindNodeByID"][1] defs["igDockContextGenNodeID"] = {} defs["igDockContextGenNodeID"][1] = {} defs["igDockContextGenNodeID"][1]["args"] = "(ImGuiContext* ctx)" @@ -13905,7 +14570,7 @@ defs["igDockContextGenNodeID"][1]["call_args"] = "(ctx)" defs["igDockContextGenNodeID"][1]["cimguiname"] = "igDockContextGenNodeID" defs["igDockContextGenNodeID"][1]["defaults"] = {} defs["igDockContextGenNodeID"][1]["funcname"] = "DockContextGenNodeID" -defs["igDockContextGenNodeID"][1]["location"] = "imgui_internal:2845" +defs["igDockContextGenNodeID"][1]["location"] = "imgui_internal:3181" defs["igDockContextGenNodeID"][1]["namespace"] = "ImGui" defs["igDockContextGenNodeID"][1]["ov_cimguiname"] = "igDockContextGenNodeID" defs["igDockContextGenNodeID"][1]["ret"] = "ImGuiID" @@ -13924,7 +14589,7 @@ defs["igDockContextInitialize"][1]["call_args"] = "(ctx)" defs["igDockContextInitialize"][1]["cimguiname"] = "igDockContextInitialize" defs["igDockContextInitialize"][1]["defaults"] = {} defs["igDockContextInitialize"][1]["funcname"] = "DockContextInitialize" -defs["igDockContextInitialize"][1]["location"] = "imgui_internal:2838" +defs["igDockContextInitialize"][1]["location"] = "imgui_internal:3174" defs["igDockContextInitialize"][1]["namespace"] = "ImGui" defs["igDockContextInitialize"][1]["ov_cimguiname"] = "igDockContextInitialize" defs["igDockContextInitialize"][1]["ret"] = "void" @@ -13943,7 +14608,7 @@ defs["igDockContextNewFrameUpdateDocking"][1]["call_args"] = "(ctx)" defs["igDockContextNewFrameUpdateDocking"][1]["cimguiname"] = "igDockContextNewFrameUpdateDocking" defs["igDockContextNewFrameUpdateDocking"][1]["defaults"] = {} defs["igDockContextNewFrameUpdateDocking"][1]["funcname"] = "DockContextNewFrameUpdateDocking" -defs["igDockContextNewFrameUpdateDocking"][1]["location"] = "imgui_internal:2843" +defs["igDockContextNewFrameUpdateDocking"][1]["location"] = "imgui_internal:3179" defs["igDockContextNewFrameUpdateDocking"][1]["namespace"] = "ImGui" defs["igDockContextNewFrameUpdateDocking"][1]["ov_cimguiname"] = "igDockContextNewFrameUpdateDocking" defs["igDockContextNewFrameUpdateDocking"][1]["ret"] = "void" @@ -13962,7 +14627,7 @@ defs["igDockContextNewFrameUpdateUndocking"][1]["call_args"] = "(ctx)" defs["igDockContextNewFrameUpdateUndocking"][1]["cimguiname"] = "igDockContextNewFrameUpdateUndocking" defs["igDockContextNewFrameUpdateUndocking"][1]["defaults"] = {} defs["igDockContextNewFrameUpdateUndocking"][1]["funcname"] = "DockContextNewFrameUpdateUndocking" -defs["igDockContextNewFrameUpdateUndocking"][1]["location"] = "imgui_internal:2842" +defs["igDockContextNewFrameUpdateUndocking"][1]["location"] = "imgui_internal:3178" defs["igDockContextNewFrameUpdateUndocking"][1]["namespace"] = "ImGui" defs["igDockContextNewFrameUpdateUndocking"][1]["ov_cimguiname"] = "igDockContextNewFrameUpdateUndocking" defs["igDockContextNewFrameUpdateUndocking"][1]["ret"] = "void" @@ -13999,7 +14664,7 @@ defs["igDockContextQueueDock"][1]["call_args"] = "(ctx,target,target_node,payloa defs["igDockContextQueueDock"][1]["cimguiname"] = "igDockContextQueueDock" defs["igDockContextQueueDock"][1]["defaults"] = {} defs["igDockContextQueueDock"][1]["funcname"] = "DockContextQueueDock" -defs["igDockContextQueueDock"][1]["location"] = "imgui_internal:2846" +defs["igDockContextQueueDock"][1]["location"] = "imgui_internal:3182" defs["igDockContextQueueDock"][1]["namespace"] = "ImGui" defs["igDockContextQueueDock"][1]["ov_cimguiname"] = "igDockContextQueueDock" defs["igDockContextQueueDock"][1]["ret"] = "void" @@ -14021,7 +14686,7 @@ defs["igDockContextQueueUndockNode"][1]["call_args"] = "(ctx,node)" defs["igDockContextQueueUndockNode"][1]["cimguiname"] = "igDockContextQueueUndockNode" defs["igDockContextQueueUndockNode"][1]["defaults"] = {} defs["igDockContextQueueUndockNode"][1]["funcname"] = "DockContextQueueUndockNode" -defs["igDockContextQueueUndockNode"][1]["location"] = "imgui_internal:2848" +defs["igDockContextQueueUndockNode"][1]["location"] = "imgui_internal:3184" defs["igDockContextQueueUndockNode"][1]["namespace"] = "ImGui" defs["igDockContextQueueUndockNode"][1]["ov_cimguiname"] = "igDockContextQueueUndockNode" defs["igDockContextQueueUndockNode"][1]["ret"] = "void" @@ -14043,7 +14708,7 @@ defs["igDockContextQueueUndockWindow"][1]["call_args"] = "(ctx,window)" defs["igDockContextQueueUndockWindow"][1]["cimguiname"] = "igDockContextQueueUndockWindow" defs["igDockContextQueueUndockWindow"][1]["defaults"] = {} defs["igDockContextQueueUndockWindow"][1]["funcname"] = "DockContextQueueUndockWindow" -defs["igDockContextQueueUndockWindow"][1]["location"] = "imgui_internal:2847" +defs["igDockContextQueueUndockWindow"][1]["location"] = "imgui_internal:3183" defs["igDockContextQueueUndockWindow"][1]["namespace"] = "ImGui" defs["igDockContextQueueUndockWindow"][1]["ov_cimguiname"] = "igDockContextQueueUndockWindow" defs["igDockContextQueueUndockWindow"][1]["ret"] = "void" @@ -14062,7 +14727,7 @@ defs["igDockContextRebuildNodes"][1]["call_args"] = "(ctx)" defs["igDockContextRebuildNodes"][1]["cimguiname"] = "igDockContextRebuildNodes" defs["igDockContextRebuildNodes"][1]["defaults"] = {} defs["igDockContextRebuildNodes"][1]["funcname"] = "DockContextRebuildNodes" -defs["igDockContextRebuildNodes"][1]["location"] = "imgui_internal:2841" +defs["igDockContextRebuildNodes"][1]["location"] = "imgui_internal:3177" defs["igDockContextRebuildNodes"][1]["namespace"] = "ImGui" defs["igDockContextRebuildNodes"][1]["ov_cimguiname"] = "igDockContextRebuildNodes" defs["igDockContextRebuildNodes"][1]["ret"] = "void" @@ -14081,7 +14746,7 @@ defs["igDockContextShutdown"][1]["call_args"] = "(ctx)" defs["igDockContextShutdown"][1]["cimguiname"] = "igDockContextShutdown" defs["igDockContextShutdown"][1]["defaults"] = {} defs["igDockContextShutdown"][1]["funcname"] = "DockContextShutdown" -defs["igDockContextShutdown"][1]["location"] = "imgui_internal:2839" +defs["igDockContextShutdown"][1]["location"] = "imgui_internal:3175" defs["igDockContextShutdown"][1]["namespace"] = "ImGui" defs["igDockContextShutdown"][1]["ov_cimguiname"] = "igDockContextShutdown" defs["igDockContextShutdown"][1]["ret"] = "void" @@ -14100,7 +14765,7 @@ defs["igDockNodeBeginAmendTabBar"][1]["call_args"] = "(node)" defs["igDockNodeBeginAmendTabBar"][1]["cimguiname"] = "igDockNodeBeginAmendTabBar" defs["igDockNodeBeginAmendTabBar"][1]["defaults"] = {} defs["igDockNodeBeginAmendTabBar"][1]["funcname"] = "DockNodeBeginAmendTabBar" -defs["igDockNodeBeginAmendTabBar"][1]["location"] = "imgui_internal:2850" +defs["igDockNodeBeginAmendTabBar"][1]["location"] = "imgui_internal:3187" defs["igDockNodeBeginAmendTabBar"][1]["namespace"] = "ImGui" defs["igDockNodeBeginAmendTabBar"][1]["ov_cimguiname"] = "igDockNodeBeginAmendTabBar" defs["igDockNodeBeginAmendTabBar"][1]["ret"] = "bool" @@ -14116,7 +14781,7 @@ defs["igDockNodeEndAmendTabBar"][1]["call_args"] = "()" defs["igDockNodeEndAmendTabBar"][1]["cimguiname"] = "igDockNodeEndAmendTabBar" defs["igDockNodeEndAmendTabBar"][1]["defaults"] = {} defs["igDockNodeEndAmendTabBar"][1]["funcname"] = "DockNodeEndAmendTabBar" -defs["igDockNodeEndAmendTabBar"][1]["location"] = "imgui_internal:2851" +defs["igDockNodeEndAmendTabBar"][1]["location"] = "imgui_internal:3188" defs["igDockNodeEndAmendTabBar"][1]["namespace"] = "ImGui" defs["igDockNodeEndAmendTabBar"][1]["ov_cimguiname"] = "igDockNodeEndAmendTabBar" defs["igDockNodeEndAmendTabBar"][1]["ret"] = "void" @@ -14135,7 +14800,7 @@ defs["igDockNodeGetDepth"][1]["call_args"] = "(node)" defs["igDockNodeGetDepth"][1]["cimguiname"] = "igDockNodeGetDepth" defs["igDockNodeGetDepth"][1]["defaults"] = {} defs["igDockNodeGetDepth"][1]["funcname"] = "DockNodeGetDepth" -defs["igDockNodeGetDepth"][1]["location"] = "imgui_internal:2854" +defs["igDockNodeGetDepth"][1]["location"] = "imgui_internal:3191" defs["igDockNodeGetDepth"][1]["namespace"] = "ImGui" defs["igDockNodeGetDepth"][1]["ov_cimguiname"] = "igDockNodeGetDepth" defs["igDockNodeGetDepth"][1]["ret"] = "int" @@ -14154,7 +14819,7 @@ defs["igDockNodeGetRootNode"][1]["call_args"] = "(node)" defs["igDockNodeGetRootNode"][1]["cimguiname"] = "igDockNodeGetRootNode" defs["igDockNodeGetRootNode"][1]["defaults"] = {} defs["igDockNodeGetRootNode"][1]["funcname"] = "DockNodeGetRootNode" -defs["igDockNodeGetRootNode"][1]["location"] = "imgui_internal:2852" +defs["igDockNodeGetRootNode"][1]["location"] = "imgui_internal:3189" defs["igDockNodeGetRootNode"][1]["namespace"] = "ImGui" defs["igDockNodeGetRootNode"][1]["ov_cimguiname"] = "igDockNodeGetRootNode" defs["igDockNodeGetRootNode"][1]["ret"] = "ImGuiDockNode*" @@ -14173,7 +14838,7 @@ defs["igDockNodeGetWindowMenuButtonId"][1]["call_args"] = "(node)" defs["igDockNodeGetWindowMenuButtonId"][1]["cimguiname"] = "igDockNodeGetWindowMenuButtonId" defs["igDockNodeGetWindowMenuButtonId"][1]["defaults"] = {} defs["igDockNodeGetWindowMenuButtonId"][1]["funcname"] = "DockNodeGetWindowMenuButtonId" -defs["igDockNodeGetWindowMenuButtonId"][1]["location"] = "imgui_internal:2855" +defs["igDockNodeGetWindowMenuButtonId"][1]["location"] = "imgui_internal:3192" defs["igDockNodeGetWindowMenuButtonId"][1]["namespace"] = "ImGui" defs["igDockNodeGetWindowMenuButtonId"][1]["ov_cimguiname"] = "igDockNodeGetWindowMenuButtonId" defs["igDockNodeGetWindowMenuButtonId"][1]["ret"] = "ImGuiID" @@ -14195,7 +14860,7 @@ defs["igDockNodeIsInHierarchyOf"][1]["call_args"] = "(node,parent)" defs["igDockNodeIsInHierarchyOf"][1]["cimguiname"] = "igDockNodeIsInHierarchyOf" defs["igDockNodeIsInHierarchyOf"][1]["defaults"] = {} defs["igDockNodeIsInHierarchyOf"][1]["funcname"] = "DockNodeIsInHierarchyOf" -defs["igDockNodeIsInHierarchyOf"][1]["location"] = "imgui_internal:2853" +defs["igDockNodeIsInHierarchyOf"][1]["location"] = "imgui_internal:3190" defs["igDockNodeIsInHierarchyOf"][1]["namespace"] = "ImGui" defs["igDockNodeIsInHierarchyOf"][1]["ov_cimguiname"] = "igDockNodeIsInHierarchyOf" defs["igDockNodeIsInHierarchyOf"][1]["ret"] = "bool" @@ -14226,7 +14891,7 @@ defs["igDockSpace"][1]["defaults"]["flags"] = "0" defs["igDockSpace"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igDockSpace"][1]["defaults"]["window_class"] = "NULL" defs["igDockSpace"][1]["funcname"] = "DockSpace" -defs["igDockSpace"][1]["location"] = "imgui:818" +defs["igDockSpace"][1]["location"] = "imgui:815" defs["igDockSpace"][1]["namespace"] = "ImGui" defs["igDockSpace"][1]["ov_cimguiname"] = "igDockSpace" defs["igDockSpace"][1]["ret"] = "ImGuiID" @@ -14254,7 +14919,7 @@ defs["igDockSpaceOverViewport"][1]["defaults"]["flags"] = "0" defs["igDockSpaceOverViewport"][1]["defaults"]["viewport"] = "NULL" defs["igDockSpaceOverViewport"][1]["defaults"]["window_class"] = "NULL" defs["igDockSpaceOverViewport"][1]["funcname"] = "DockSpaceOverViewport" -defs["igDockSpaceOverViewport"][1]["location"] = "imgui:819" +defs["igDockSpaceOverViewport"][1]["location"] = "imgui:816" defs["igDockSpaceOverViewport"][1]["namespace"] = "ImGui" defs["igDockSpaceOverViewport"][1]["ov_cimguiname"] = "igDockSpaceOverViewport" defs["igDockSpaceOverViewport"][1]["ret"] = "ImGuiID" @@ -14294,7 +14959,7 @@ defs["igDragBehavior"][1]["call_args"] = "(id,data_type,p_v,v_speed,p_min,p_max, defs["igDragBehavior"][1]["cimguiname"] = "igDragBehavior" defs["igDragBehavior"][1]["defaults"] = {} defs["igDragBehavior"][1]["funcname"] = "DragBehavior" -defs["igDragBehavior"][1]["location"] = "imgui_internal:3020" +defs["igDragBehavior"][1]["location"] = "imgui_internal:3368" defs["igDragBehavior"][1]["namespace"] = "ImGui" defs["igDragBehavior"][1]["ov_cimguiname"] = "igDragBehavior" defs["igDragBehavior"][1]["ret"] = "bool" @@ -14336,7 +15001,7 @@ defs["igDragFloat"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat"][1]["funcname"] = "DragFloat" -defs["igDragFloat"][1]["location"] = "imgui:546" +defs["igDragFloat"][1]["location"] = "imgui:547" defs["igDragFloat"][1]["namespace"] = "ImGui" defs["igDragFloat"][1]["ov_cimguiname"] = "igDragFloat" defs["igDragFloat"][1]["ret"] = "bool" @@ -14378,7 +15043,7 @@ defs["igDragFloat2"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat2"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat2"][1]["funcname"] = "DragFloat2" -defs["igDragFloat2"][1]["location"] = "imgui:547" +defs["igDragFloat2"][1]["location"] = "imgui:548" defs["igDragFloat2"][1]["namespace"] = "ImGui" defs["igDragFloat2"][1]["ov_cimguiname"] = "igDragFloat2" defs["igDragFloat2"][1]["ret"] = "bool" @@ -14420,7 +15085,7 @@ defs["igDragFloat3"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat3"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat3"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat3"][1]["funcname"] = "DragFloat3" -defs["igDragFloat3"][1]["location"] = "imgui:548" +defs["igDragFloat3"][1]["location"] = "imgui:549" defs["igDragFloat3"][1]["namespace"] = "ImGui" defs["igDragFloat3"][1]["ov_cimguiname"] = "igDragFloat3" defs["igDragFloat3"][1]["ret"] = "bool" @@ -14462,7 +15127,7 @@ defs["igDragFloat4"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat4"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat4"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat4"][1]["funcname"] = "DragFloat4" -defs["igDragFloat4"][1]["location"] = "imgui:549" +defs["igDragFloat4"][1]["location"] = "imgui:550" defs["igDragFloat4"][1]["namespace"] = "ImGui" defs["igDragFloat4"][1]["ov_cimguiname"] = "igDragFloat4" defs["igDragFloat4"][1]["ret"] = "bool" @@ -14511,7 +15176,7 @@ defs["igDragFloatRange2"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloatRange2"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloatRange2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloatRange2"][1]["funcname"] = "DragFloatRange2" -defs["igDragFloatRange2"][1]["location"] = "imgui:550" +defs["igDragFloatRange2"][1]["location"] = "imgui:551" defs["igDragFloatRange2"][1]["namespace"] = "ImGui" defs["igDragFloatRange2"][1]["ov_cimguiname"] = "igDragFloatRange2" defs["igDragFloatRange2"][1]["ret"] = "bool" @@ -14553,7 +15218,7 @@ defs["igDragInt"][1]["defaults"]["v_max"] = "0" defs["igDragInt"][1]["defaults"]["v_min"] = "0" defs["igDragInt"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt"][1]["funcname"] = "DragInt" -defs["igDragInt"][1]["location"] = "imgui:551" +defs["igDragInt"][1]["location"] = "imgui:552" defs["igDragInt"][1]["namespace"] = "ImGui" defs["igDragInt"][1]["ov_cimguiname"] = "igDragInt" defs["igDragInt"][1]["ret"] = "bool" @@ -14595,7 +15260,7 @@ defs["igDragInt2"][1]["defaults"]["v_max"] = "0" defs["igDragInt2"][1]["defaults"]["v_min"] = "0" defs["igDragInt2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt2"][1]["funcname"] = "DragInt2" -defs["igDragInt2"][1]["location"] = "imgui:552" +defs["igDragInt2"][1]["location"] = "imgui:553" defs["igDragInt2"][1]["namespace"] = "ImGui" defs["igDragInt2"][1]["ov_cimguiname"] = "igDragInt2" defs["igDragInt2"][1]["ret"] = "bool" @@ -14637,7 +15302,7 @@ defs["igDragInt3"][1]["defaults"]["v_max"] = "0" defs["igDragInt3"][1]["defaults"]["v_min"] = "0" defs["igDragInt3"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt3"][1]["funcname"] = "DragInt3" -defs["igDragInt3"][1]["location"] = "imgui:553" +defs["igDragInt3"][1]["location"] = "imgui:554" defs["igDragInt3"][1]["namespace"] = "ImGui" defs["igDragInt3"][1]["ov_cimguiname"] = "igDragInt3" defs["igDragInt3"][1]["ret"] = "bool" @@ -14679,7 +15344,7 @@ defs["igDragInt4"][1]["defaults"]["v_max"] = "0" defs["igDragInt4"][1]["defaults"]["v_min"] = "0" defs["igDragInt4"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt4"][1]["funcname"] = "DragInt4" -defs["igDragInt4"][1]["location"] = "imgui:554" +defs["igDragInt4"][1]["location"] = "imgui:555" defs["igDragInt4"][1]["namespace"] = "ImGui" defs["igDragInt4"][1]["ov_cimguiname"] = "igDragInt4" defs["igDragInt4"][1]["ret"] = "bool" @@ -14728,7 +15393,7 @@ defs["igDragIntRange2"][1]["defaults"]["v_max"] = "0" defs["igDragIntRange2"][1]["defaults"]["v_min"] = "0" defs["igDragIntRange2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragIntRange2"][1]["funcname"] = "DragIntRange2" -defs["igDragIntRange2"][1]["location"] = "imgui:555" +defs["igDragIntRange2"][1]["location"] = "imgui:556" defs["igDragIntRange2"][1]["namespace"] = "ImGui" defs["igDragIntRange2"][1]["ov_cimguiname"] = "igDragIntRange2" defs["igDragIntRange2"][1]["ret"] = "bool" @@ -14773,7 +15438,7 @@ defs["igDragScalar"][1]["defaults"]["p_max"] = "NULL" defs["igDragScalar"][1]["defaults"]["p_min"] = "NULL" defs["igDragScalar"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragScalar"][1]["funcname"] = "DragScalar" -defs["igDragScalar"][1]["location"] = "imgui:556" +defs["igDragScalar"][1]["location"] = "imgui:557" defs["igDragScalar"][1]["namespace"] = "ImGui" defs["igDragScalar"][1]["ov_cimguiname"] = "igDragScalar" defs["igDragScalar"][1]["ret"] = "bool" @@ -14821,7 +15486,7 @@ defs["igDragScalarN"][1]["defaults"]["p_max"] = "NULL" defs["igDragScalarN"][1]["defaults"]["p_min"] = "NULL" defs["igDragScalarN"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragScalarN"][1]["funcname"] = "DragScalarN" -defs["igDragScalarN"][1]["location"] = "imgui:557" +defs["igDragScalarN"][1]["location"] = "imgui:558" defs["igDragScalarN"][1]["namespace"] = "ImGui" defs["igDragScalarN"][1]["ov_cimguiname"] = "igDragScalarN" defs["igDragScalarN"][1]["ret"] = "bool" @@ -14840,7 +15505,7 @@ defs["igDummy"][1]["call_args"] = "(size)" defs["igDummy"][1]["cimguiname"] = "igDummy" defs["igDummy"][1]["defaults"] = {} defs["igDummy"][1]["funcname"] = "Dummy" -defs["igDummy"][1]["location"] = "imgui:454" +defs["igDummy"][1]["location"] = "imgui:451" defs["igDummy"][1]["namespace"] = "ImGui" defs["igDummy"][1]["ov_cimguiname"] = "igDummy" defs["igDummy"][1]["ret"] = "void" @@ -14856,7 +15521,7 @@ defs["igEnd"][1]["call_args"] = "()" defs["igEnd"][1]["cimguiname"] = "igEnd" defs["igEnd"][1]["defaults"] = {} defs["igEnd"][1]["funcname"] = "End" -defs["igEnd"][1]["location"] = "imgui:343" +defs["igEnd"][1]["location"] = "imgui:337" defs["igEnd"][1]["namespace"] = "ImGui" defs["igEnd"][1]["ov_cimguiname"] = "igEnd" defs["igEnd"][1]["ret"] = "void" @@ -14872,7 +15537,7 @@ defs["igEndChild"][1]["call_args"] = "()" defs["igEndChild"][1]["cimguiname"] = "igEndChild" defs["igEndChild"][1]["defaults"] = {} defs["igEndChild"][1]["funcname"] = "EndChild" -defs["igEndChild"][1]["location"] = "imgui:355" +defs["igEndChild"][1]["location"] = "imgui:349" defs["igEndChild"][1]["namespace"] = "ImGui" defs["igEndChild"][1]["ov_cimguiname"] = "igEndChild" defs["igEndChild"][1]["ret"] = "void" @@ -14888,7 +15553,7 @@ defs["igEndChildFrame"][1]["call_args"] = "()" defs["igEndChildFrame"][1]["cimguiname"] = "igEndChildFrame" defs["igEndChildFrame"][1]["defaults"] = {} defs["igEndChildFrame"][1]["funcname"] = "EndChildFrame" -defs["igEndChildFrame"][1]["location"] = "imgui:906" +defs["igEndChildFrame"][1]["location"] = "imgui:905" defs["igEndChildFrame"][1]["namespace"] = "ImGui" defs["igEndChildFrame"][1]["ov_cimguiname"] = "igEndChildFrame" defs["igEndChildFrame"][1]["ret"] = "void" @@ -14904,7 +15569,7 @@ defs["igEndColumns"][1]["call_args"] = "()" defs["igEndColumns"][1]["cimguiname"] = "igEndColumns" defs["igEndColumns"][1]["defaults"] = {} defs["igEndColumns"][1]["funcname"] = "EndColumns" -defs["igEndColumns"][1]["location"] = "imgui_internal:2895" +defs["igEndColumns"][1]["location"] = "imgui_internal:3246" defs["igEndColumns"][1]["namespace"] = "ImGui" defs["igEndColumns"][1]["ov_cimguiname"] = "igEndColumns" defs["igEndColumns"][1]["ret"] = "void" @@ -14936,7 +15601,7 @@ defs["igEndComboPreview"][1]["call_args"] = "()" defs["igEndComboPreview"][1]["cimguiname"] = "igEndComboPreview" defs["igEndComboPreview"][1]["defaults"] = {} defs["igEndComboPreview"][1]["funcname"] = "EndComboPreview" -defs["igEndComboPreview"][1]["location"] = "imgui_internal:2797" +defs["igEndComboPreview"][1]["location"] = "imgui_internal:3082" defs["igEndComboPreview"][1]["namespace"] = "ImGui" defs["igEndComboPreview"][1]["ov_cimguiname"] = "igEndComboPreview" defs["igEndComboPreview"][1]["ret"] = "void" @@ -14952,7 +15617,7 @@ defs["igEndDisabled"][1]["call_args"] = "()" defs["igEndDisabled"][1]["cimguiname"] = "igEndDisabled" defs["igEndDisabled"][1]["defaults"] = {} defs["igEndDisabled"][1]["funcname"] = "EndDisabled" -defs["igEndDisabled"][1]["location"] = "imgui:853" +defs["igEndDisabled"][1]["location"] = "imgui:850" defs["igEndDisabled"][1]["namespace"] = "ImGui" defs["igEndDisabled"][1]["ov_cimguiname"] = "igEndDisabled" defs["igEndDisabled"][1]["ret"] = "void" @@ -14968,7 +15633,7 @@ defs["igEndDragDropSource"][1]["call_args"] = "()" defs["igEndDragDropSource"][1]["cimguiname"] = "igEndDragDropSource" defs["igEndDragDropSource"][1]["defaults"] = {} defs["igEndDragDropSource"][1]["funcname"] = "EndDragDropSource" -defs["igEndDragDropSource"][1]["location"] = "imgui:842" +defs["igEndDragDropSource"][1]["location"] = "imgui:839" defs["igEndDragDropSource"][1]["namespace"] = "ImGui" defs["igEndDragDropSource"][1]["ov_cimguiname"] = "igEndDragDropSource" defs["igEndDragDropSource"][1]["ret"] = "void" @@ -14984,7 +15649,7 @@ defs["igEndDragDropTarget"][1]["call_args"] = "()" defs["igEndDragDropTarget"][1]["cimguiname"] = "igEndDragDropTarget" defs["igEndDragDropTarget"][1]["defaults"] = {} defs["igEndDragDropTarget"][1]["funcname"] = "EndDragDropTarget" -defs["igEndDragDropTarget"][1]["location"] = "imgui:845" +defs["igEndDragDropTarget"][1]["location"] = "imgui:842" defs["igEndDragDropTarget"][1]["namespace"] = "ImGui" defs["igEndDragDropTarget"][1]["ov_cimguiname"] = "igEndDragDropTarget" defs["igEndDragDropTarget"][1]["ret"] = "void" @@ -15000,7 +15665,7 @@ defs["igEndFrame"][1]["call_args"] = "()" defs["igEndFrame"][1]["cimguiname"] = "igEndFrame" defs["igEndFrame"][1]["defaults"] = {} defs["igEndFrame"][1]["funcname"] = "EndFrame" -defs["igEndFrame"][1]["location"] = "imgui:310" +defs["igEndFrame"][1]["location"] = "imgui:303" defs["igEndFrame"][1]["namespace"] = "ImGui" defs["igEndFrame"][1]["ov_cimguiname"] = "igEndFrame" defs["igEndFrame"][1]["ret"] = "void" @@ -15016,7 +15681,7 @@ defs["igEndGroup"][1]["call_args"] = "()" defs["igEndGroup"][1]["cimguiname"] = "igEndGroup" defs["igEndGroup"][1]["defaults"] = {} defs["igEndGroup"][1]["funcname"] = "EndGroup" -defs["igEndGroup"][1]["location"] = "imgui:458" +defs["igEndGroup"][1]["location"] = "imgui:455" defs["igEndGroup"][1]["namespace"] = "ImGui" defs["igEndGroup"][1]["ov_cimguiname"] = "igEndGroup" defs["igEndGroup"][1]["ret"] = "void" @@ -15032,7 +15697,7 @@ defs["igEndListBox"][1]["call_args"] = "()" defs["igEndListBox"][1]["cimguiname"] = "igEndListBox" defs["igEndListBox"][1]["defaults"] = {} defs["igEndListBox"][1]["funcname"] = "EndListBox" -defs["igEndListBox"][1]["location"] = "imgui:641" +defs["igEndListBox"][1]["location"] = "imgui:642" defs["igEndListBox"][1]["namespace"] = "ImGui" defs["igEndListBox"][1]["ov_cimguiname"] = "igEndListBox" defs["igEndListBox"][1]["ret"] = "void" @@ -15048,7 +15713,7 @@ defs["igEndMainMenuBar"][1]["call_args"] = "()" defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" defs["igEndMainMenuBar"][1]["defaults"] = {} defs["igEndMainMenuBar"][1]["funcname"] = "EndMainMenuBar" -defs["igEndMainMenuBar"][1]["location"] = "imgui:667" +defs["igEndMainMenuBar"][1]["location"] = "imgui:668" defs["igEndMainMenuBar"][1]["namespace"] = "ImGui" defs["igEndMainMenuBar"][1]["ov_cimguiname"] = "igEndMainMenuBar" defs["igEndMainMenuBar"][1]["ret"] = "void" @@ -15064,7 +15729,7 @@ defs["igEndMenu"][1]["call_args"] = "()" defs["igEndMenu"][1]["cimguiname"] = "igEndMenu" defs["igEndMenu"][1]["defaults"] = {} defs["igEndMenu"][1]["funcname"] = "EndMenu" -defs["igEndMenu"][1]["location"] = "imgui:669" +defs["igEndMenu"][1]["location"] = "imgui:670" defs["igEndMenu"][1]["namespace"] = "ImGui" defs["igEndMenu"][1]["ov_cimguiname"] = "igEndMenu" defs["igEndMenu"][1]["ret"] = "void" @@ -15080,7 +15745,7 @@ defs["igEndMenuBar"][1]["call_args"] = "()" defs["igEndMenuBar"][1]["cimguiname"] = "igEndMenuBar" defs["igEndMenuBar"][1]["defaults"] = {} defs["igEndMenuBar"][1]["funcname"] = "EndMenuBar" -defs["igEndMenuBar"][1]["location"] = "imgui:665" +defs["igEndMenuBar"][1]["location"] = "imgui:666" defs["igEndMenuBar"][1]["namespace"] = "ImGui" defs["igEndMenuBar"][1]["ov_cimguiname"] = "igEndMenuBar" defs["igEndMenuBar"][1]["ret"] = "void" @@ -15096,7 +15761,7 @@ defs["igEndPopup"][1]["call_args"] = "()" defs["igEndPopup"][1]["cimguiname"] = "igEndPopup" defs["igEndPopup"][1]["defaults"] = {} defs["igEndPopup"][1]["funcname"] = "EndPopup" -defs["igEndPopup"][1]["location"] = "imgui:694" +defs["igEndPopup"][1]["location"] = "imgui:695" defs["igEndPopup"][1]["namespace"] = "ImGui" defs["igEndPopup"][1]["ov_cimguiname"] = "igEndPopup" defs["igEndPopup"][1]["ret"] = "void" @@ -15112,7 +15777,7 @@ defs["igEndTabBar"][1]["call_args"] = "()" defs["igEndTabBar"][1]["cimguiname"] = "igEndTabBar" defs["igEndTabBar"][1]["defaults"] = {} defs["igEndTabBar"][1]["funcname"] = "EndTabBar" -defs["igEndTabBar"][1]["location"] = "imgui:799" +defs["igEndTabBar"][1]["location"] = "imgui:796" defs["igEndTabBar"][1]["namespace"] = "ImGui" defs["igEndTabBar"][1]["ov_cimguiname"] = "igEndTabBar" defs["igEndTabBar"][1]["ret"] = "void" @@ -15128,7 +15793,7 @@ defs["igEndTabItem"][1]["call_args"] = "()" defs["igEndTabItem"][1]["cimguiname"] = "igEndTabItem" defs["igEndTabItem"][1]["defaults"] = {} defs["igEndTabItem"][1]["funcname"] = "EndTabItem" -defs["igEndTabItem"][1]["location"] = "imgui:801" +defs["igEndTabItem"][1]["location"] = "imgui:798" defs["igEndTabItem"][1]["namespace"] = "ImGui" defs["igEndTabItem"][1]["ov_cimguiname"] = "igEndTabItem" defs["igEndTabItem"][1]["ret"] = "void" @@ -15160,7 +15825,7 @@ defs["igEndTooltip"][1]["call_args"] = "()" defs["igEndTooltip"][1]["cimguiname"] = "igEndTooltip" defs["igEndTooltip"][1]["defaults"] = {} defs["igEndTooltip"][1]["funcname"] = "EndTooltip" -defs["igEndTooltip"][1]["location"] = "imgui:676" +defs["igEndTooltip"][1]["location"] = "imgui:677" defs["igEndTooltip"][1]["namespace"] = "ImGui" defs["igEndTooltip"][1]["ov_cimguiname"] = "igEndTooltip" defs["igEndTooltip"][1]["ret"] = "void" @@ -15183,7 +15848,7 @@ defs["igErrorCheckEndFrameRecover"][1]["cimguiname"] = "igErrorCheckEndFrameReco defs["igErrorCheckEndFrameRecover"][1]["defaults"] = {} defs["igErrorCheckEndFrameRecover"][1]["defaults"]["user_data"] = "NULL" defs["igErrorCheckEndFrameRecover"][1]["funcname"] = "ErrorCheckEndFrameRecover" -defs["igErrorCheckEndFrameRecover"][1]["location"] = "imgui_internal:3070" +defs["igErrorCheckEndFrameRecover"][1]["location"] = "imgui_internal:3423" defs["igErrorCheckEndFrameRecover"][1]["namespace"] = "ImGui" defs["igErrorCheckEndFrameRecover"][1]["ov_cimguiname"] = "igErrorCheckEndFrameRecover" defs["igErrorCheckEndFrameRecover"][1]["ret"] = "void" @@ -15206,13 +15871,29 @@ defs["igErrorCheckEndWindowRecover"][1]["cimguiname"] = "igErrorCheckEndWindowRe defs["igErrorCheckEndWindowRecover"][1]["defaults"] = {} defs["igErrorCheckEndWindowRecover"][1]["defaults"]["user_data"] = "NULL" defs["igErrorCheckEndWindowRecover"][1]["funcname"] = "ErrorCheckEndWindowRecover" -defs["igErrorCheckEndWindowRecover"][1]["location"] = "imgui_internal:3071" +defs["igErrorCheckEndWindowRecover"][1]["location"] = "imgui_internal:3424" defs["igErrorCheckEndWindowRecover"][1]["namespace"] = "ImGui" defs["igErrorCheckEndWindowRecover"][1]["ov_cimguiname"] = "igErrorCheckEndWindowRecover" defs["igErrorCheckEndWindowRecover"][1]["ret"] = "void" defs["igErrorCheckEndWindowRecover"][1]["signature"] = "(ImGuiErrorLogCallback,void*)" defs["igErrorCheckEndWindowRecover"][1]["stname"] = "" defs["igErrorCheckEndWindowRecover"]["(ImGuiErrorLogCallback,void*)"] = defs["igErrorCheckEndWindowRecover"][1] +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"] = {} +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1] = {} +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["args"] = "()" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["argsT"] = {} +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["argsoriginal"] = "()" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["call_args"] = "()" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["cimguiname"] = "igErrorCheckUsingSetCursorPosToExtendParentBoundaries" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["defaults"] = {} +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["funcname"] = "ErrorCheckUsingSetCursorPosToExtendParentBoundaries" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["location"] = "imgui_internal:3425" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["namespace"] = "ImGui" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["ov_cimguiname"] = "igErrorCheckUsingSetCursorPosToExtendParentBoundaries" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["ret"] = "void" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["signature"] = "()" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1]["stname"] = "" +defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"]["()"] = defs["igErrorCheckUsingSetCursorPosToExtendParentBoundaries"][1] defs["igFindBestWindowPosForPopup"] = {} defs["igFindBestWindowPosForPopup"][1] = {} defs["igFindBestWindowPosForPopup"][1]["args"] = "(ImVec2 *pOut,ImGuiWindow* window)" @@ -15228,7 +15909,7 @@ defs["igFindBestWindowPosForPopup"][1]["call_args"] = "(window)" defs["igFindBestWindowPosForPopup"][1]["cimguiname"] = "igFindBestWindowPosForPopup" defs["igFindBestWindowPosForPopup"][1]["defaults"] = {} defs["igFindBestWindowPosForPopup"][1]["funcname"] = "FindBestWindowPosForPopup" -defs["igFindBestWindowPosForPopup"][1]["location"] = "imgui_internal:2786" +defs["igFindBestWindowPosForPopup"][1]["location"] = "imgui_internal:3071" defs["igFindBestWindowPosForPopup"][1]["namespace"] = "ImGui" defs["igFindBestWindowPosForPopup"][1]["nonUDT"] = 1 defs["igFindBestWindowPosForPopup"][1]["ov_cimguiname"] = "igFindBestWindowPosForPopup" @@ -15266,7 +15947,7 @@ defs["igFindBestWindowPosForPopupEx"][1]["call_args"] = "(ref_pos,size,last_dir, defs["igFindBestWindowPosForPopupEx"][1]["cimguiname"] = "igFindBestWindowPosForPopupEx" defs["igFindBestWindowPosForPopupEx"][1]["defaults"] = {} defs["igFindBestWindowPosForPopupEx"][1]["funcname"] = "FindBestWindowPosForPopupEx" -defs["igFindBestWindowPosForPopupEx"][1]["location"] = "imgui_internal:2787" +defs["igFindBestWindowPosForPopupEx"][1]["location"] = "imgui_internal:3072" defs["igFindBestWindowPosForPopupEx"][1]["namespace"] = "ImGui" defs["igFindBestWindowPosForPopupEx"][1]["nonUDT"] = 1 defs["igFindBestWindowPosForPopupEx"][1]["ov_cimguiname"] = "igFindBestWindowPosForPopupEx" @@ -15286,13 +15967,32 @@ defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["call_args"] = "(window defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["cimguiname"] = "igFindBottomMostVisibleWindowWithinBeginStack" defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["defaults"] = {} defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["funcname"] = "FindBottomMostVisibleWindowWithinBeginStack" -defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["location"] = "imgui_internal:2669" +defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["location"] = "imgui_internal:2957" defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["namespace"] = "ImGui" defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["ov_cimguiname"] = "igFindBottomMostVisibleWindowWithinBeginStack" defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["ret"] = "ImGuiWindow*" defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["signature"] = "(ImGuiWindow*)" defs["igFindBottomMostVisibleWindowWithinBeginStack"][1]["stname"] = "" defs["igFindBottomMostVisibleWindowWithinBeginStack"]["(ImGuiWindow*)"] = defs["igFindBottomMostVisibleWindowWithinBeginStack"][1] +defs["igFindHoveredViewportFromPlatformWindowStack"] = {} +defs["igFindHoveredViewportFromPlatformWindowStack"][1] = {} +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["args"] = "(const ImVec2 mouse_platform_pos)" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["argsT"] = {} +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["argsT"][1] = {} +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["argsT"][1]["name"] = "mouse_platform_pos" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["argsoriginal"] = "(const ImVec2& mouse_platform_pos)" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["call_args"] = "(mouse_platform_pos)" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["cimguiname"] = "igFindHoveredViewportFromPlatformWindowStack" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["defaults"] = {} +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["funcname"] = "FindHoveredViewportFromPlatformWindowStack" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["location"] = "imgui_internal:2988" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["namespace"] = "ImGui" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["ov_cimguiname"] = "igFindHoveredViewportFromPlatformWindowStack" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["ret"] = "ImGuiViewportP*" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["signature"] = "(const ImVec2)" +defs["igFindHoveredViewportFromPlatformWindowStack"][1]["stname"] = "" +defs["igFindHoveredViewportFromPlatformWindowStack"]["(const ImVec2)"] = defs["igFindHoveredViewportFromPlatformWindowStack"][1] defs["igFindOrCreateColumns"] = {} defs["igFindOrCreateColumns"][1] = {} defs["igFindOrCreateColumns"][1]["args"] = "(ImGuiWindow* window,ImGuiID id)" @@ -15308,7 +16008,7 @@ defs["igFindOrCreateColumns"][1]["call_args"] = "(window,id)" defs["igFindOrCreateColumns"][1]["cimguiname"] = "igFindOrCreateColumns" defs["igFindOrCreateColumns"][1]["defaults"] = {} defs["igFindOrCreateColumns"][1]["funcname"] = "FindOrCreateColumns" -defs["igFindOrCreateColumns"][1]["location"] = "imgui_internal:2900" +defs["igFindOrCreateColumns"][1]["location"] = "imgui_internal:3251" defs["igFindOrCreateColumns"][1]["namespace"] = "ImGui" defs["igFindOrCreateColumns"][1]["ov_cimguiname"] = "igFindOrCreateColumns" defs["igFindOrCreateColumns"][1]["ret"] = "ImGuiOldColumns*" @@ -15327,7 +16027,7 @@ defs["igFindOrCreateWindowSettings"][1]["call_args"] = "(name)" defs["igFindOrCreateWindowSettings"][1]["cimguiname"] = "igFindOrCreateWindowSettings" defs["igFindOrCreateWindowSettings"][1]["defaults"] = {} defs["igFindOrCreateWindowSettings"][1]["funcname"] = "FindOrCreateWindowSettings" -defs["igFindOrCreateWindowSettings"][1]["location"] = "imgui_internal:2705" +defs["igFindOrCreateWindowSettings"][1]["location"] = "imgui_internal:2996" defs["igFindOrCreateWindowSettings"][1]["namespace"] = "ImGui" defs["igFindOrCreateWindowSettings"][1]["ov_cimguiname"] = "igFindOrCreateWindowSettings" defs["igFindOrCreateWindowSettings"][1]["ret"] = "ImGuiWindowSettings*" @@ -15350,7 +16050,7 @@ defs["igFindRenderedTextEnd"][1]["cimguiname"] = "igFindRenderedTextEnd" defs["igFindRenderedTextEnd"][1]["defaults"] = {} defs["igFindRenderedTextEnd"][1]["defaults"]["text_end"] = "NULL" defs["igFindRenderedTextEnd"][1]["funcname"] = "FindRenderedTextEnd" -defs["igFindRenderedTextEnd"][1]["location"] = "imgui_internal:2982" +defs["igFindRenderedTextEnd"][1]["location"] = "imgui_internal:3336" defs["igFindRenderedTextEnd"][1]["namespace"] = "ImGui" defs["igFindRenderedTextEnd"][1]["ov_cimguiname"] = "igFindRenderedTextEnd" defs["igFindRenderedTextEnd"][1]["ret"] = "const char*" @@ -15369,7 +16069,7 @@ defs["igFindSettingsHandler"][1]["call_args"] = "(type_name)" defs["igFindSettingsHandler"][1]["cimguiname"] = "igFindSettingsHandler" defs["igFindSettingsHandler"][1]["defaults"] = {} defs["igFindSettingsHandler"][1]["funcname"] = "FindSettingsHandler" -defs["igFindSettingsHandler"][1]["location"] = "imgui_internal:2706" +defs["igFindSettingsHandler"][1]["location"] = "imgui_internal:2999" defs["igFindSettingsHandler"][1]["namespace"] = "ImGui" defs["igFindSettingsHandler"][1]["ov_cimguiname"] = "igFindSettingsHandler" defs["igFindSettingsHandler"][1]["ret"] = "ImGuiSettingsHandler*" @@ -15388,7 +16088,7 @@ defs["igFindViewportByID"][1]["call_args"] = "(id)" defs["igFindViewportByID"][1]["cimguiname"] = "igFindViewportByID" defs["igFindViewportByID"][1]["defaults"] = {} defs["igFindViewportByID"][1]["funcname"] = "FindViewportByID" -defs["igFindViewportByID"][1]["location"] = "imgui:982" +defs["igFindViewportByID"][1]["location"] = "imgui:984" defs["igFindViewportByID"][1]["namespace"] = "ImGui" defs["igFindViewportByID"][1]["ov_cimguiname"] = "igFindViewportByID" defs["igFindViewportByID"][1]["ret"] = "ImGuiViewport*" @@ -15407,7 +16107,7 @@ defs["igFindViewportByPlatformHandle"][1]["call_args"] = "(platform_handle)" defs["igFindViewportByPlatformHandle"][1]["cimguiname"] = "igFindViewportByPlatformHandle" defs["igFindViewportByPlatformHandle"][1]["defaults"] = {} defs["igFindViewportByPlatformHandle"][1]["funcname"] = "FindViewportByPlatformHandle" -defs["igFindViewportByPlatformHandle"][1]["location"] = "imgui:983" +defs["igFindViewportByPlatformHandle"][1]["location"] = "imgui:985" defs["igFindViewportByPlatformHandle"][1]["namespace"] = "ImGui" defs["igFindViewportByPlatformHandle"][1]["ov_cimguiname"] = "igFindViewportByPlatformHandle" defs["igFindViewportByPlatformHandle"][1]["ret"] = "ImGuiViewport*" @@ -15426,7 +16126,7 @@ defs["igFindWindowByID"][1]["call_args"] = "(id)" defs["igFindWindowByID"][1]["cimguiname"] = "igFindWindowByID" defs["igFindWindowByID"][1]["defaults"] = {} defs["igFindWindowByID"][1]["funcname"] = "FindWindowByID" -defs["igFindWindowByID"][1]["location"] = "imgui_internal:2646" +defs["igFindWindowByID"][1]["location"] = "imgui_internal:2934" defs["igFindWindowByID"][1]["namespace"] = "ImGui" defs["igFindWindowByID"][1]["ov_cimguiname"] = "igFindWindowByID" defs["igFindWindowByID"][1]["ret"] = "ImGuiWindow*" @@ -15445,7 +16145,7 @@ defs["igFindWindowByName"][1]["call_args"] = "(name)" defs["igFindWindowByName"][1]["cimguiname"] = "igFindWindowByName" defs["igFindWindowByName"][1]["defaults"] = {} defs["igFindWindowByName"][1]["funcname"] = "FindWindowByName" -defs["igFindWindowByName"][1]["location"] = "imgui_internal:2647" +defs["igFindWindowByName"][1]["location"] = "imgui_internal:2935" defs["igFindWindowByName"][1]["namespace"] = "ImGui" defs["igFindWindowByName"][1]["ov_cimguiname"] = "igFindWindowByName" defs["igFindWindowByName"][1]["ret"] = "ImGuiWindow*" @@ -15464,7 +16164,7 @@ defs["igFindWindowDisplayIndex"][1]["call_args"] = "(window)" defs["igFindWindowDisplayIndex"][1]["cimguiname"] = "igFindWindowDisplayIndex" defs["igFindWindowDisplayIndex"][1]["defaults"] = {} defs["igFindWindowDisplayIndex"][1]["funcname"] = "FindWindowDisplayIndex" -defs["igFindWindowDisplayIndex"][1]["location"] = "imgui_internal:2668" +defs["igFindWindowDisplayIndex"][1]["location"] = "imgui_internal:2956" defs["igFindWindowDisplayIndex"][1]["namespace"] = "ImGui" defs["igFindWindowDisplayIndex"][1]["ov_cimguiname"] = "igFindWindowDisplayIndex" defs["igFindWindowDisplayIndex"][1]["ret"] = "int" @@ -15483,7 +16183,7 @@ defs["igFindWindowSettings"][1]["call_args"] = "(id)" defs["igFindWindowSettings"][1]["cimguiname"] = "igFindWindowSettings" defs["igFindWindowSettings"][1]["defaults"] = {} defs["igFindWindowSettings"][1]["funcname"] = "FindWindowSettings" -defs["igFindWindowSettings"][1]["location"] = "imgui_internal:2704" +defs["igFindWindowSettings"][1]["location"] = "imgui_internal:2995" defs["igFindWindowSettings"][1]["namespace"] = "ImGui" defs["igFindWindowSettings"][1]["ov_cimguiname"] = "igFindWindowSettings" defs["igFindWindowSettings"][1]["ret"] = "ImGuiWindowSettings*" @@ -15505,7 +16205,7 @@ defs["igFocusTopMostWindowUnderOne"][1]["call_args"] = "(under_this_window,ignor defs["igFocusTopMostWindowUnderOne"][1]["cimguiname"] = "igFocusTopMostWindowUnderOne" defs["igFocusTopMostWindowUnderOne"][1]["defaults"] = {} defs["igFocusTopMostWindowUnderOne"][1]["funcname"] = "FocusTopMostWindowUnderOne" -defs["igFocusTopMostWindowUnderOne"][1]["location"] = "imgui_internal:2663" +defs["igFocusTopMostWindowUnderOne"][1]["location"] = "imgui_internal:2951" defs["igFocusTopMostWindowUnderOne"][1]["namespace"] = "ImGui" defs["igFocusTopMostWindowUnderOne"][1]["ov_cimguiname"] = "igFocusTopMostWindowUnderOne" defs["igFocusTopMostWindowUnderOne"][1]["ret"] = "void" @@ -15524,7 +16224,7 @@ defs["igFocusWindow"][1]["call_args"] = "(window)" defs["igFocusWindow"][1]["cimguiname"] = "igFocusWindow" defs["igFocusWindow"][1]["defaults"] = {} defs["igFocusWindow"][1]["funcname"] = "FocusWindow" -defs["igFocusWindow"][1]["location"] = "imgui_internal:2662" +defs["igFocusWindow"][1]["location"] = "imgui_internal:2950" defs["igFocusWindow"][1]["namespace"] = "ImGui" defs["igFocusWindow"][1]["ov_cimguiname"] = "igFocusWindow" defs["igFocusWindow"][1]["ret"] = "void" @@ -15543,7 +16243,7 @@ defs["igGcAwakeTransientWindowBuffers"][1]["call_args"] = "(window)" defs["igGcAwakeTransientWindowBuffers"][1]["cimguiname"] = "igGcAwakeTransientWindowBuffers" defs["igGcAwakeTransientWindowBuffers"][1]["defaults"] = {} defs["igGcAwakeTransientWindowBuffers"][1]["funcname"] = "GcAwakeTransientWindowBuffers" -defs["igGcAwakeTransientWindowBuffers"][1]["location"] = "imgui_internal:3067" +defs["igGcAwakeTransientWindowBuffers"][1]["location"] = "imgui_internal:3416" defs["igGcAwakeTransientWindowBuffers"][1]["namespace"] = "ImGui" defs["igGcAwakeTransientWindowBuffers"][1]["ov_cimguiname"] = "igGcAwakeTransientWindowBuffers" defs["igGcAwakeTransientWindowBuffers"][1]["ret"] = "void" @@ -15559,7 +16259,7 @@ defs["igGcCompactTransientMiscBuffers"][1]["call_args"] = "()" defs["igGcCompactTransientMiscBuffers"][1]["cimguiname"] = "igGcCompactTransientMiscBuffers" defs["igGcCompactTransientMiscBuffers"][1]["defaults"] = {} defs["igGcCompactTransientMiscBuffers"][1]["funcname"] = "GcCompactTransientMiscBuffers" -defs["igGcCompactTransientMiscBuffers"][1]["location"] = "imgui_internal:3065" +defs["igGcCompactTransientMiscBuffers"][1]["location"] = "imgui_internal:3414" defs["igGcCompactTransientMiscBuffers"][1]["namespace"] = "ImGui" defs["igGcCompactTransientMiscBuffers"][1]["ov_cimguiname"] = "igGcCompactTransientMiscBuffers" defs["igGcCompactTransientMiscBuffers"][1]["ret"] = "void" @@ -15578,7 +16278,7 @@ defs["igGcCompactTransientWindowBuffers"][1]["call_args"] = "(window)" defs["igGcCompactTransientWindowBuffers"][1]["cimguiname"] = "igGcCompactTransientWindowBuffers" defs["igGcCompactTransientWindowBuffers"][1]["defaults"] = {} defs["igGcCompactTransientWindowBuffers"][1]["funcname"] = "GcCompactTransientWindowBuffers" -defs["igGcCompactTransientWindowBuffers"][1]["location"] = "imgui_internal:3066" +defs["igGcCompactTransientWindowBuffers"][1]["location"] = "imgui_internal:3415" defs["igGcCompactTransientWindowBuffers"][1]["namespace"] = "ImGui" defs["igGcCompactTransientWindowBuffers"][1]["ov_cimguiname"] = "igGcCompactTransientWindowBuffers" defs["igGcCompactTransientWindowBuffers"][1]["ret"] = "void" @@ -15594,7 +16294,7 @@ defs["igGetActiveID"][1]["call_args"] = "()" defs["igGetActiveID"][1]["cimguiname"] = "igGetActiveID" defs["igGetActiveID"][1]["defaults"] = {} defs["igGetActiveID"][1]["funcname"] = "GetActiveID" -defs["igGetActiveID"][1]["location"] = "imgui_internal:2727" +defs["igGetActiveID"][1]["location"] = "imgui_internal:3023" defs["igGetActiveID"][1]["namespace"] = "ImGui" defs["igGetActiveID"][1]["ov_cimguiname"] = "igGetActiveID" defs["igGetActiveID"][1]["ret"] = "ImGuiID" @@ -15619,7 +16319,7 @@ defs["igGetAllocatorFunctions"][1]["call_args"] = "(p_alloc_func,p_free_func,p_u defs["igGetAllocatorFunctions"][1]["cimguiname"] = "igGetAllocatorFunctions" defs["igGetAllocatorFunctions"][1]["defaults"] = {} defs["igGetAllocatorFunctions"][1]["funcname"] = "GetAllocatorFunctions" -defs["igGetAllocatorFunctions"][1]["location"] = "imgui:971" +defs["igGetAllocatorFunctions"][1]["location"] = "imgui:973" defs["igGetAllocatorFunctions"][1]["namespace"] = "ImGui" defs["igGetAllocatorFunctions"][1]["ov_cimguiname"] = "igGetAllocatorFunctions" defs["igGetAllocatorFunctions"][1]["ret"] = "void" @@ -15635,9 +16335,9 @@ defs["igGetBackgroundDrawList"][1]["call_args"] = "()" defs["igGetBackgroundDrawList"][1]["cimguiname"] = "igGetBackgroundDrawList" defs["igGetBackgroundDrawList"][1]["defaults"] = {} defs["igGetBackgroundDrawList"][1]["funcname"] = "GetBackgroundDrawList" -defs["igGetBackgroundDrawList"][1]["location"] = "imgui:897" +defs["igGetBackgroundDrawList"][1]["location"] = "imgui:890" defs["igGetBackgroundDrawList"][1]["namespace"] = "ImGui" -defs["igGetBackgroundDrawList"][1]["ov_cimguiname"] = "igGetBackgroundDrawListNil" +defs["igGetBackgroundDrawList"][1]["ov_cimguiname"] = "igGetBackgroundDrawList_Nil" defs["igGetBackgroundDrawList"][1]["ret"] = "ImDrawList*" defs["igGetBackgroundDrawList"][1]["signature"] = "()" defs["igGetBackgroundDrawList"][1]["stname"] = "" @@ -15652,9 +16352,9 @@ defs["igGetBackgroundDrawList"][2]["call_args"] = "(viewport)" defs["igGetBackgroundDrawList"][2]["cimguiname"] = "igGetBackgroundDrawList" defs["igGetBackgroundDrawList"][2]["defaults"] = {} defs["igGetBackgroundDrawList"][2]["funcname"] = "GetBackgroundDrawList" -defs["igGetBackgroundDrawList"][2]["location"] = "imgui:899" +defs["igGetBackgroundDrawList"][2]["location"] = "imgui:892" defs["igGetBackgroundDrawList"][2]["namespace"] = "ImGui" -defs["igGetBackgroundDrawList"][2]["ov_cimguiname"] = "igGetBackgroundDrawListViewportPtr" +defs["igGetBackgroundDrawList"][2]["ov_cimguiname"] = "igGetBackgroundDrawList_ViewportPtr" defs["igGetBackgroundDrawList"][2]["ret"] = "ImDrawList*" defs["igGetBackgroundDrawList"][2]["signature"] = "(ImGuiViewport*)" defs["igGetBackgroundDrawList"][2]["stname"] = "" @@ -15669,7 +16369,7 @@ defs["igGetClipboardText"][1]["call_args"] = "()" defs["igGetClipboardText"][1]["cimguiname"] = "igGetClipboardText" defs["igGetClipboardText"][1]["defaults"] = {} defs["igGetClipboardText"][1]["funcname"] = "GetClipboardText" -defs["igGetClipboardText"][1]["location"] = "imgui:950" +defs["igGetClipboardText"][1]["location"] = "imgui:952" defs["igGetClipboardText"][1]["namespace"] = "ImGui" defs["igGetClipboardText"][1]["ov_cimguiname"] = "igGetClipboardText" defs["igGetClipboardText"][1]["ret"] = "const char*" @@ -15692,9 +16392,9 @@ defs["igGetColorU32"][1]["cimguiname"] = "igGetColorU32" defs["igGetColorU32"][1]["defaults"] = {} defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" defs["igGetColorU32"][1]["funcname"] = "GetColorU32" -defs["igGetColorU32"][1]["location"] = "imgui:438" +defs["igGetColorU32"][1]["location"] = "imgui:435" defs["igGetColorU32"][1]["namespace"] = "ImGui" -defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32Col" +defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32_Col" defs["igGetColorU32"][1]["ret"] = "ImU32" defs["igGetColorU32"][1]["signature"] = "(ImGuiCol,float)" defs["igGetColorU32"][1]["stname"] = "" @@ -15709,9 +16409,9 @@ defs["igGetColorU32"][2]["call_args"] = "(col)" defs["igGetColorU32"][2]["cimguiname"] = "igGetColorU32" defs["igGetColorU32"][2]["defaults"] = {} defs["igGetColorU32"][2]["funcname"] = "GetColorU32" -defs["igGetColorU32"][2]["location"] = "imgui:439" +defs["igGetColorU32"][2]["location"] = "imgui:436" defs["igGetColorU32"][2]["namespace"] = "ImGui" -defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" +defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32_Vec4" defs["igGetColorU32"][2]["ret"] = "ImU32" defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" defs["igGetColorU32"][2]["stname"] = "" @@ -15726,9 +16426,9 @@ defs["igGetColorU32"][3]["call_args"] = "(col)" defs["igGetColorU32"][3]["cimguiname"] = "igGetColorU32" defs["igGetColorU32"][3]["defaults"] = {} defs["igGetColorU32"][3]["funcname"] = "GetColorU32" -defs["igGetColorU32"][3]["location"] = "imgui:440" +defs["igGetColorU32"][3]["location"] = "imgui:437" defs["igGetColorU32"][3]["namespace"] = "ImGui" -defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" +defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32_U32" defs["igGetColorU32"][3]["ret"] = "ImU32" defs["igGetColorU32"][3]["signature"] = "(ImU32)" defs["igGetColorU32"][3]["stname"] = "" @@ -15744,7 +16444,7 @@ defs["igGetColumnIndex"][1]["call_args"] = "()" defs["igGetColumnIndex"][1]["cimguiname"] = "igGetColumnIndex" defs["igGetColumnIndex"][1]["defaults"] = {} defs["igGetColumnIndex"][1]["funcname"] = "GetColumnIndex" -defs["igGetColumnIndex"][1]["location"] = "imgui:789" +defs["igGetColumnIndex"][1]["location"] = "imgui:786" defs["igGetColumnIndex"][1]["namespace"] = "ImGui" defs["igGetColumnIndex"][1]["ov_cimguiname"] = "igGetColumnIndex" defs["igGetColumnIndex"][1]["ret"] = "int" @@ -15766,7 +16466,7 @@ defs["igGetColumnNormFromOffset"][1]["call_args"] = "(columns,offset)" defs["igGetColumnNormFromOffset"][1]["cimguiname"] = "igGetColumnNormFromOffset" defs["igGetColumnNormFromOffset"][1]["defaults"] = {} defs["igGetColumnNormFromOffset"][1]["funcname"] = "GetColumnNormFromOffset" -defs["igGetColumnNormFromOffset"][1]["location"] = "imgui_internal:2902" +defs["igGetColumnNormFromOffset"][1]["location"] = "imgui_internal:3253" defs["igGetColumnNormFromOffset"][1]["namespace"] = "ImGui" defs["igGetColumnNormFromOffset"][1]["ov_cimguiname"] = "igGetColumnNormFromOffset" defs["igGetColumnNormFromOffset"][1]["ret"] = "float" @@ -15786,7 +16486,7 @@ defs["igGetColumnOffset"][1]["cimguiname"] = "igGetColumnOffset" defs["igGetColumnOffset"][1]["defaults"] = {} defs["igGetColumnOffset"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnOffset"][1]["funcname"] = "GetColumnOffset" -defs["igGetColumnOffset"][1]["location"] = "imgui:792" +defs["igGetColumnOffset"][1]["location"] = "imgui:789" defs["igGetColumnOffset"][1]["namespace"] = "ImGui" defs["igGetColumnOffset"][1]["ov_cimguiname"] = "igGetColumnOffset" defs["igGetColumnOffset"][1]["ret"] = "float" @@ -15808,7 +16508,7 @@ defs["igGetColumnOffsetFromNorm"][1]["call_args"] = "(columns,offset_norm)" defs["igGetColumnOffsetFromNorm"][1]["cimguiname"] = "igGetColumnOffsetFromNorm" defs["igGetColumnOffsetFromNorm"][1]["defaults"] = {} defs["igGetColumnOffsetFromNorm"][1]["funcname"] = "GetColumnOffsetFromNorm" -defs["igGetColumnOffsetFromNorm"][1]["location"] = "imgui_internal:2901" +defs["igGetColumnOffsetFromNorm"][1]["location"] = "imgui_internal:3252" defs["igGetColumnOffsetFromNorm"][1]["namespace"] = "ImGui" defs["igGetColumnOffsetFromNorm"][1]["ov_cimguiname"] = "igGetColumnOffsetFromNorm" defs["igGetColumnOffsetFromNorm"][1]["ret"] = "float" @@ -15828,7 +16528,7 @@ defs["igGetColumnWidth"][1]["cimguiname"] = "igGetColumnWidth" defs["igGetColumnWidth"][1]["defaults"] = {} defs["igGetColumnWidth"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnWidth"][1]["funcname"] = "GetColumnWidth" -defs["igGetColumnWidth"][1]["location"] = "imgui:790" +defs["igGetColumnWidth"][1]["location"] = "imgui:787" defs["igGetColumnWidth"][1]["namespace"] = "ImGui" defs["igGetColumnWidth"][1]["ov_cimguiname"] = "igGetColumnWidth" defs["igGetColumnWidth"][1]["ret"] = "float" @@ -15844,7 +16544,7 @@ defs["igGetColumnsCount"][1]["call_args"] = "()" defs["igGetColumnsCount"][1]["cimguiname"] = "igGetColumnsCount" defs["igGetColumnsCount"][1]["defaults"] = {} defs["igGetColumnsCount"][1]["funcname"] = "GetColumnsCount" -defs["igGetColumnsCount"][1]["location"] = "imgui:794" +defs["igGetColumnsCount"][1]["location"] = "imgui:791" defs["igGetColumnsCount"][1]["namespace"] = "ImGui" defs["igGetColumnsCount"][1]["ov_cimguiname"] = "igGetColumnsCount" defs["igGetColumnsCount"][1]["ret"] = "int" @@ -15866,7 +16566,7 @@ defs["igGetColumnsID"][1]["call_args"] = "(str_id,count)" defs["igGetColumnsID"][1]["cimguiname"] = "igGetColumnsID" defs["igGetColumnsID"][1]["defaults"] = {} defs["igGetColumnsID"][1]["funcname"] = "GetColumnsID" -defs["igGetColumnsID"][1]["location"] = "imgui_internal:2899" +defs["igGetColumnsID"][1]["location"] = "imgui_internal:3250" defs["igGetColumnsID"][1]["namespace"] = "ImGui" defs["igGetColumnsID"][1]["ov_cimguiname"] = "igGetColumnsID" defs["igGetColumnsID"][1]["ret"] = "ImGuiID" @@ -15885,7 +16585,7 @@ defs["igGetContentRegionAvail"][1]["call_args"] = "()" defs["igGetContentRegionAvail"][1]["cimguiname"] = "igGetContentRegionAvail" defs["igGetContentRegionAvail"][1]["defaults"] = {} defs["igGetContentRegionAvail"][1]["funcname"] = "GetContentRegionAvail" -defs["igGetContentRegionAvail"][1]["location"] = "imgui:394" +defs["igGetContentRegionAvail"][1]["location"] = "imgui:389" defs["igGetContentRegionAvail"][1]["namespace"] = "ImGui" defs["igGetContentRegionAvail"][1]["nonUDT"] = 1 defs["igGetContentRegionAvail"][1]["ov_cimguiname"] = "igGetContentRegionAvail" @@ -15905,7 +16605,7 @@ defs["igGetContentRegionMax"][1]["call_args"] = "()" defs["igGetContentRegionMax"][1]["cimguiname"] = "igGetContentRegionMax" defs["igGetContentRegionMax"][1]["defaults"] = {} defs["igGetContentRegionMax"][1]["funcname"] = "GetContentRegionMax" -defs["igGetContentRegionMax"][1]["location"] = "imgui:395" +defs["igGetContentRegionMax"][1]["location"] = "imgui:390" defs["igGetContentRegionMax"][1]["namespace"] = "ImGui" defs["igGetContentRegionMax"][1]["nonUDT"] = 1 defs["igGetContentRegionMax"][1]["ov_cimguiname"] = "igGetContentRegionMax" @@ -15925,7 +16625,7 @@ defs["igGetContentRegionMaxAbs"][1]["call_args"] = "()" defs["igGetContentRegionMaxAbs"][1]["cimguiname"] = "igGetContentRegionMaxAbs" defs["igGetContentRegionMaxAbs"][1]["defaults"] = {} defs["igGetContentRegionMaxAbs"][1]["funcname"] = "GetContentRegionMaxAbs" -defs["igGetContentRegionMaxAbs"][1]["location"] = "imgui_internal:2750" +defs["igGetContentRegionMaxAbs"][1]["location"] = "imgui_internal:3046" defs["igGetContentRegionMaxAbs"][1]["namespace"] = "ImGui" defs["igGetContentRegionMaxAbs"][1]["nonUDT"] = 1 defs["igGetContentRegionMaxAbs"][1]["ov_cimguiname"] = "igGetContentRegionMaxAbs" @@ -15942,13 +16642,29 @@ defs["igGetCurrentContext"][1]["call_args"] = "()" defs["igGetCurrentContext"][1]["cimguiname"] = "igGetCurrentContext" defs["igGetCurrentContext"][1]["defaults"] = {} defs["igGetCurrentContext"][1]["funcname"] = "GetCurrentContext" -defs["igGetCurrentContext"][1]["location"] = "imgui:303" +defs["igGetCurrentContext"][1]["location"] = "imgui:296" defs["igGetCurrentContext"][1]["namespace"] = "ImGui" defs["igGetCurrentContext"][1]["ov_cimguiname"] = "igGetCurrentContext" defs["igGetCurrentContext"][1]["ret"] = "ImGuiContext*" defs["igGetCurrentContext"][1]["signature"] = "()" defs["igGetCurrentContext"][1]["stname"] = "" defs["igGetCurrentContext"]["()"] = defs["igGetCurrentContext"][1] +defs["igGetCurrentFocusScope"] = {} +defs["igGetCurrentFocusScope"][1] = {} +defs["igGetCurrentFocusScope"][1]["args"] = "()" +defs["igGetCurrentFocusScope"][1]["argsT"] = {} +defs["igGetCurrentFocusScope"][1]["argsoriginal"] = "()" +defs["igGetCurrentFocusScope"][1]["call_args"] = "()" +defs["igGetCurrentFocusScope"][1]["cimguiname"] = "igGetCurrentFocusScope" +defs["igGetCurrentFocusScope"][1]["defaults"] = {} +defs["igGetCurrentFocusScope"][1]["funcname"] = "GetCurrentFocusScope" +defs["igGetCurrentFocusScope"][1]["location"] = "imgui_internal:3234" +defs["igGetCurrentFocusScope"][1]["namespace"] = "ImGui" +defs["igGetCurrentFocusScope"][1]["ov_cimguiname"] = "igGetCurrentFocusScope" +defs["igGetCurrentFocusScope"][1]["ret"] = "ImGuiID" +defs["igGetCurrentFocusScope"][1]["signature"] = "()" +defs["igGetCurrentFocusScope"][1]["stname"] = "" +defs["igGetCurrentFocusScope"]["()"] = defs["igGetCurrentFocusScope"][1] defs["igGetCurrentTable"] = {} defs["igGetCurrentTable"][1] = {} defs["igGetCurrentTable"][1]["args"] = "()" @@ -15958,7 +16674,7 @@ defs["igGetCurrentTable"][1]["call_args"] = "()" defs["igGetCurrentTable"][1]["cimguiname"] = "igGetCurrentTable" defs["igGetCurrentTable"][1]["defaults"] = {} defs["igGetCurrentTable"][1]["funcname"] = "GetCurrentTable" -defs["igGetCurrentTable"][1]["location"] = "imgui_internal:2914" +defs["igGetCurrentTable"][1]["location"] = "imgui_internal:3265" defs["igGetCurrentTable"][1]["namespace"] = "ImGui" defs["igGetCurrentTable"][1]["ov_cimguiname"] = "igGetCurrentTable" defs["igGetCurrentTable"][1]["ret"] = "ImGuiTable*" @@ -15974,7 +16690,7 @@ defs["igGetCurrentWindow"][1]["call_args"] = "()" defs["igGetCurrentWindow"][1]["cimguiname"] = "igGetCurrentWindow" defs["igGetCurrentWindow"][1]["defaults"] = {} defs["igGetCurrentWindow"][1]["funcname"] = "GetCurrentWindow" -defs["igGetCurrentWindow"][1]["location"] = "imgui_internal:2645" +defs["igGetCurrentWindow"][1]["location"] = "imgui_internal:2933" defs["igGetCurrentWindow"][1]["namespace"] = "ImGui" defs["igGetCurrentWindow"][1]["ov_cimguiname"] = "igGetCurrentWindow" defs["igGetCurrentWindow"][1]["ret"] = "ImGuiWindow*" @@ -15990,7 +16706,7 @@ defs["igGetCurrentWindowRead"][1]["call_args"] = "()" defs["igGetCurrentWindowRead"][1]["cimguiname"] = "igGetCurrentWindowRead" defs["igGetCurrentWindowRead"][1]["defaults"] = {} defs["igGetCurrentWindowRead"][1]["funcname"] = "GetCurrentWindowRead" -defs["igGetCurrentWindowRead"][1]["location"] = "imgui_internal:2644" +defs["igGetCurrentWindowRead"][1]["location"] = "imgui_internal:2932" defs["igGetCurrentWindowRead"][1]["namespace"] = "ImGui" defs["igGetCurrentWindowRead"][1]["ov_cimguiname"] = "igGetCurrentWindowRead" defs["igGetCurrentWindowRead"][1]["ret"] = "ImGuiWindow*" @@ -16009,7 +16725,7 @@ defs["igGetCursorPos"][1]["call_args"] = "()" defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" defs["igGetCursorPos"][1]["defaults"] = {} defs["igGetCursorPos"][1]["funcname"] = "GetCursorPos" -defs["igGetCursorPos"][1]["location"] = "imgui:459" +defs["igGetCursorPos"][1]["location"] = "imgui:456" defs["igGetCursorPos"][1]["namespace"] = "ImGui" defs["igGetCursorPos"][1]["nonUDT"] = 1 defs["igGetCursorPos"][1]["ov_cimguiname"] = "igGetCursorPos" @@ -16026,7 +16742,7 @@ defs["igGetCursorPosX"][1]["call_args"] = "()" defs["igGetCursorPosX"][1]["cimguiname"] = "igGetCursorPosX" defs["igGetCursorPosX"][1]["defaults"] = {} defs["igGetCursorPosX"][1]["funcname"] = "GetCursorPosX" -defs["igGetCursorPosX"][1]["location"] = "imgui:460" +defs["igGetCursorPosX"][1]["location"] = "imgui:457" defs["igGetCursorPosX"][1]["namespace"] = "ImGui" defs["igGetCursorPosX"][1]["ov_cimguiname"] = "igGetCursorPosX" defs["igGetCursorPosX"][1]["ret"] = "float" @@ -16042,7 +16758,7 @@ defs["igGetCursorPosY"][1]["call_args"] = "()" defs["igGetCursorPosY"][1]["cimguiname"] = "igGetCursorPosY" defs["igGetCursorPosY"][1]["defaults"] = {} defs["igGetCursorPosY"][1]["funcname"] = "GetCursorPosY" -defs["igGetCursorPosY"][1]["location"] = "imgui:461" +defs["igGetCursorPosY"][1]["location"] = "imgui:458" defs["igGetCursorPosY"][1]["namespace"] = "ImGui" defs["igGetCursorPosY"][1]["ov_cimguiname"] = "igGetCursorPosY" defs["igGetCursorPosY"][1]["ret"] = "float" @@ -16061,7 +16777,7 @@ defs["igGetCursorScreenPos"][1]["call_args"] = "()" defs["igGetCursorScreenPos"][1]["cimguiname"] = "igGetCursorScreenPos" defs["igGetCursorScreenPos"][1]["defaults"] = {} defs["igGetCursorScreenPos"][1]["funcname"] = "GetCursorScreenPos" -defs["igGetCursorScreenPos"][1]["location"] = "imgui:466" +defs["igGetCursorScreenPos"][1]["location"] = "imgui:463" defs["igGetCursorScreenPos"][1]["namespace"] = "ImGui" defs["igGetCursorScreenPos"][1]["nonUDT"] = 1 defs["igGetCursorScreenPos"][1]["ov_cimguiname"] = "igGetCursorScreenPos" @@ -16081,7 +16797,7 @@ defs["igGetCursorStartPos"][1]["call_args"] = "()" defs["igGetCursorStartPos"][1]["cimguiname"] = "igGetCursorStartPos" defs["igGetCursorStartPos"][1]["defaults"] = {} defs["igGetCursorStartPos"][1]["funcname"] = "GetCursorStartPos" -defs["igGetCursorStartPos"][1]["location"] = "imgui:465" +defs["igGetCursorStartPos"][1]["location"] = "imgui:462" defs["igGetCursorStartPos"][1]["namespace"] = "ImGui" defs["igGetCursorStartPos"][1]["nonUDT"] = 1 defs["igGetCursorStartPos"][1]["ov_cimguiname"] = "igGetCursorStartPos" @@ -16098,7 +16814,7 @@ defs["igGetDefaultFont"][1]["call_args"] = "()" defs["igGetDefaultFont"][1]["cimguiname"] = "igGetDefaultFont" defs["igGetDefaultFont"][1]["defaults"] = {} defs["igGetDefaultFont"][1]["funcname"] = "GetDefaultFont" -defs["igGetDefaultFont"][1]["location"] = "imgui_internal:2673" +defs["igGetDefaultFont"][1]["location"] = "imgui_internal:2961" defs["igGetDefaultFont"][1]["namespace"] = "ImGui" defs["igGetDefaultFont"][1]["ov_cimguiname"] = "igGetDefaultFont" defs["igGetDefaultFont"][1]["ret"] = "ImFont*" @@ -16114,7 +16830,7 @@ defs["igGetDragDropPayload"][1]["call_args"] = "()" defs["igGetDragDropPayload"][1]["cimguiname"] = "igGetDragDropPayload" defs["igGetDragDropPayload"][1]["defaults"] = {} defs["igGetDragDropPayload"][1]["funcname"] = "GetDragDropPayload" -defs["igGetDragDropPayload"][1]["location"] = "imgui:846" +defs["igGetDragDropPayload"][1]["location"] = "imgui:843" defs["igGetDragDropPayload"][1]["namespace"] = "ImGui" defs["igGetDragDropPayload"][1]["ov_cimguiname"] = "igGetDragDropPayload" defs["igGetDragDropPayload"][1]["ret"] = "const ImGuiPayload*" @@ -16130,7 +16846,7 @@ defs["igGetDrawData"][1]["call_args"] = "()" defs["igGetDrawData"][1]["cimguiname"] = "igGetDrawData" defs["igGetDrawData"][1]["defaults"] = {} defs["igGetDrawData"][1]["funcname"] = "GetDrawData" -defs["igGetDrawData"][1]["location"] = "imgui:312" +defs["igGetDrawData"][1]["location"] = "imgui:305" defs["igGetDrawData"][1]["namespace"] = "ImGui" defs["igGetDrawData"][1]["ov_cimguiname"] = "igGetDrawData" defs["igGetDrawData"][1]["ret"] = "ImDrawData*" @@ -16146,7 +16862,7 @@ defs["igGetDrawListSharedData"][1]["call_args"] = "()" defs["igGetDrawListSharedData"][1]["cimguiname"] = "igGetDrawListSharedData" defs["igGetDrawListSharedData"][1]["defaults"] = {} defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData" -defs["igGetDrawListSharedData"][1]["location"] = "imgui:901" +defs["igGetDrawListSharedData"][1]["location"] = "imgui:900" defs["igGetDrawListSharedData"][1]["namespace"] = "ImGui" defs["igGetDrawListSharedData"][1]["ov_cimguiname"] = "igGetDrawListSharedData" defs["igGetDrawListSharedData"][1]["ret"] = "ImDrawListSharedData*" @@ -16162,45 +16878,13 @@ defs["igGetFocusID"][1]["call_args"] = "()" defs["igGetFocusID"][1]["cimguiname"] = "igGetFocusID" defs["igGetFocusID"][1]["defaults"] = {} defs["igGetFocusID"][1]["funcname"] = "GetFocusID" -defs["igGetFocusID"][1]["location"] = "imgui_internal:2728" +defs["igGetFocusID"][1]["location"] = "imgui_internal:3024" defs["igGetFocusID"][1]["namespace"] = "ImGui" defs["igGetFocusID"][1]["ov_cimguiname"] = "igGetFocusID" defs["igGetFocusID"][1]["ret"] = "ImGuiID" defs["igGetFocusID"][1]["signature"] = "()" defs["igGetFocusID"][1]["stname"] = "" defs["igGetFocusID"]["()"] = defs["igGetFocusID"][1] -defs["igGetFocusScope"] = {} -defs["igGetFocusScope"][1] = {} -defs["igGetFocusScope"][1]["args"] = "()" -defs["igGetFocusScope"][1]["argsT"] = {} -defs["igGetFocusScope"][1]["argsoriginal"] = "()" -defs["igGetFocusScope"][1]["call_args"] = "()" -defs["igGetFocusScope"][1]["cimguiname"] = "igGetFocusScope" -defs["igGetFocusScope"][1]["defaults"] = {} -defs["igGetFocusScope"][1]["funcname"] = "GetFocusScope" -defs["igGetFocusScope"][1]["location"] = "imgui_internal:2821" -defs["igGetFocusScope"][1]["namespace"] = "ImGui" -defs["igGetFocusScope"][1]["ov_cimguiname"] = "igGetFocusScope" -defs["igGetFocusScope"][1]["ret"] = "ImGuiID" -defs["igGetFocusScope"][1]["signature"] = "()" -defs["igGetFocusScope"][1]["stname"] = "" -defs["igGetFocusScope"]["()"] = defs["igGetFocusScope"][1] -defs["igGetFocusedFocusScope"] = {} -defs["igGetFocusedFocusScope"][1] = {} -defs["igGetFocusedFocusScope"][1]["args"] = "()" -defs["igGetFocusedFocusScope"][1]["argsT"] = {} -defs["igGetFocusedFocusScope"][1]["argsoriginal"] = "()" -defs["igGetFocusedFocusScope"][1]["call_args"] = "()" -defs["igGetFocusedFocusScope"][1]["cimguiname"] = "igGetFocusedFocusScope" -defs["igGetFocusedFocusScope"][1]["defaults"] = {} -defs["igGetFocusedFocusScope"][1]["funcname"] = "GetFocusedFocusScope" -defs["igGetFocusedFocusScope"][1]["location"] = "imgui_internal:2820" -defs["igGetFocusedFocusScope"][1]["namespace"] = "ImGui" -defs["igGetFocusedFocusScope"][1]["ov_cimguiname"] = "igGetFocusedFocusScope" -defs["igGetFocusedFocusScope"][1]["ret"] = "ImGuiID" -defs["igGetFocusedFocusScope"][1]["signature"] = "()" -defs["igGetFocusedFocusScope"][1]["stname"] = "" -defs["igGetFocusedFocusScope"]["()"] = defs["igGetFocusedFocusScope"][1] defs["igGetFont"] = {} defs["igGetFont"][1] = {} defs["igGetFont"][1]["args"] = "()" @@ -16210,7 +16894,7 @@ defs["igGetFont"][1]["call_args"] = "()" defs["igGetFont"][1]["cimguiname"] = "igGetFont" defs["igGetFont"][1]["defaults"] = {} defs["igGetFont"][1]["funcname"] = "GetFont" -defs["igGetFont"][1]["location"] = "imgui:435" +defs["igGetFont"][1]["location"] = "imgui:432" defs["igGetFont"][1]["namespace"] = "ImGui" defs["igGetFont"][1]["ov_cimguiname"] = "igGetFont" defs["igGetFont"][1]["ret"] = "ImFont*" @@ -16226,7 +16910,7 @@ defs["igGetFontSize"][1]["call_args"] = "()" defs["igGetFontSize"][1]["cimguiname"] = "igGetFontSize" defs["igGetFontSize"][1]["defaults"] = {} defs["igGetFontSize"][1]["funcname"] = "GetFontSize" -defs["igGetFontSize"][1]["location"] = "imgui:436" +defs["igGetFontSize"][1]["location"] = "imgui:433" defs["igGetFontSize"][1]["namespace"] = "ImGui" defs["igGetFontSize"][1]["ov_cimguiname"] = "igGetFontSize" defs["igGetFontSize"][1]["ret"] = "float" @@ -16245,7 +16929,7 @@ defs["igGetFontTexUvWhitePixel"][1]["call_args"] = "()" defs["igGetFontTexUvWhitePixel"][1]["cimguiname"] = "igGetFontTexUvWhitePixel" defs["igGetFontTexUvWhitePixel"][1]["defaults"] = {} defs["igGetFontTexUvWhitePixel"][1]["funcname"] = "GetFontTexUvWhitePixel" -defs["igGetFontTexUvWhitePixel"][1]["location"] = "imgui:437" +defs["igGetFontTexUvWhitePixel"][1]["location"] = "imgui:434" defs["igGetFontTexUvWhitePixel"][1]["namespace"] = "ImGui" defs["igGetFontTexUvWhitePixel"][1]["nonUDT"] = 1 defs["igGetFontTexUvWhitePixel"][1]["ov_cimguiname"] = "igGetFontTexUvWhitePixel" @@ -16262,9 +16946,9 @@ defs["igGetForegroundDrawList"][1]["call_args"] = "()" defs["igGetForegroundDrawList"][1]["cimguiname"] = "igGetForegroundDrawList" defs["igGetForegroundDrawList"][1]["defaults"] = {} defs["igGetForegroundDrawList"][1]["funcname"] = "GetForegroundDrawList" -defs["igGetForegroundDrawList"][1]["location"] = "imgui:898" +defs["igGetForegroundDrawList"][1]["location"] = "imgui:891" defs["igGetForegroundDrawList"][1]["namespace"] = "ImGui" -defs["igGetForegroundDrawList"][1]["ov_cimguiname"] = "igGetForegroundDrawListNil" +defs["igGetForegroundDrawList"][1]["ov_cimguiname"] = "igGetForegroundDrawList_Nil" defs["igGetForegroundDrawList"][1]["ret"] = "ImDrawList*" defs["igGetForegroundDrawList"][1]["signature"] = "()" defs["igGetForegroundDrawList"][1]["stname"] = "" @@ -16279,9 +16963,9 @@ defs["igGetForegroundDrawList"][2]["call_args"] = "(viewport)" defs["igGetForegroundDrawList"][2]["cimguiname"] = "igGetForegroundDrawList" defs["igGetForegroundDrawList"][2]["defaults"] = {} defs["igGetForegroundDrawList"][2]["funcname"] = "GetForegroundDrawList" -defs["igGetForegroundDrawList"][2]["location"] = "imgui:900" +defs["igGetForegroundDrawList"][2]["location"] = "imgui:893" defs["igGetForegroundDrawList"][2]["namespace"] = "ImGui" -defs["igGetForegroundDrawList"][2]["ov_cimguiname"] = "igGetForegroundDrawListViewportPtr" +defs["igGetForegroundDrawList"][2]["ov_cimguiname"] = "igGetForegroundDrawList_ViewportPtr" defs["igGetForegroundDrawList"][2]["ret"] = "ImDrawList*" defs["igGetForegroundDrawList"][2]["signature"] = "(ImGuiViewport*)" defs["igGetForegroundDrawList"][2]["stname"] = "" @@ -16296,9 +16980,9 @@ defs["igGetForegroundDrawList"][3]["call_args"] = "(window)" defs["igGetForegroundDrawList"][3]["cimguiname"] = "igGetForegroundDrawList" defs["igGetForegroundDrawList"][3]["defaults"] = {} defs["igGetForegroundDrawList"][3]["funcname"] = "GetForegroundDrawList" -defs["igGetForegroundDrawList"][3]["location"] = "imgui_internal:2674" +defs["igGetForegroundDrawList"][3]["location"] = "imgui_internal:2962" defs["igGetForegroundDrawList"][3]["namespace"] = "ImGui" -defs["igGetForegroundDrawList"][3]["ov_cimguiname"] = "igGetForegroundDrawListWindowPtr" +defs["igGetForegroundDrawList"][3]["ov_cimguiname"] = "igGetForegroundDrawList_WindowPtr" defs["igGetForegroundDrawList"][3]["ret"] = "ImDrawList*" defs["igGetForegroundDrawList"][3]["signature"] = "(ImGuiWindow*)" defs["igGetForegroundDrawList"][3]["stname"] = "" @@ -16314,7 +16998,7 @@ defs["igGetFrameCount"][1]["call_args"] = "()" defs["igGetFrameCount"][1]["cimguiname"] = "igGetFrameCount" defs["igGetFrameCount"][1]["defaults"] = {} defs["igGetFrameCount"][1]["funcname"] = "GetFrameCount" -defs["igGetFrameCount"][1]["location"] = "imgui:896" +defs["igGetFrameCount"][1]["location"] = "imgui:899" defs["igGetFrameCount"][1]["namespace"] = "ImGui" defs["igGetFrameCount"][1]["ov_cimguiname"] = "igGetFrameCount" defs["igGetFrameCount"][1]["ret"] = "int" @@ -16330,7 +17014,7 @@ defs["igGetFrameHeight"][1]["call_args"] = "()" defs["igGetFrameHeight"][1]["cimguiname"] = "igGetFrameHeight" defs["igGetFrameHeight"][1]["defaults"] = {} defs["igGetFrameHeight"][1]["funcname"] = "GetFrameHeight" -defs["igGetFrameHeight"][1]["location"] = "imgui:471" +defs["igGetFrameHeight"][1]["location"] = "imgui:468" defs["igGetFrameHeight"][1]["namespace"] = "ImGui" defs["igGetFrameHeight"][1]["ov_cimguiname"] = "igGetFrameHeight" defs["igGetFrameHeight"][1]["ret"] = "float" @@ -16346,7 +17030,7 @@ defs["igGetFrameHeightWithSpacing"][1]["call_args"] = "()" defs["igGetFrameHeightWithSpacing"][1]["cimguiname"] = "igGetFrameHeightWithSpacing" defs["igGetFrameHeightWithSpacing"][1]["defaults"] = {} defs["igGetFrameHeightWithSpacing"][1]["funcname"] = "GetFrameHeightWithSpacing" -defs["igGetFrameHeightWithSpacing"][1]["location"] = "imgui:472" +defs["igGetFrameHeightWithSpacing"][1]["location"] = "imgui:469" defs["igGetFrameHeightWithSpacing"][1]["namespace"] = "ImGui" defs["igGetFrameHeightWithSpacing"][1]["ov_cimguiname"] = "igGetFrameHeightWithSpacing" defs["igGetFrameHeightWithSpacing"][1]["ret"] = "float" @@ -16362,7 +17046,7 @@ defs["igGetHoveredID"][1]["call_args"] = "()" defs["igGetHoveredID"][1]["cimguiname"] = "igGetHoveredID" defs["igGetHoveredID"][1]["defaults"] = {} defs["igGetHoveredID"][1]["funcname"] = "GetHoveredID" -defs["igGetHoveredID"][1]["location"] = "imgui_internal:2732" +defs["igGetHoveredID"][1]["location"] = "imgui_internal:3028" defs["igGetHoveredID"][1]["namespace"] = "ImGui" defs["igGetHoveredID"][1]["ov_cimguiname"] = "igGetHoveredID" defs["igGetHoveredID"][1]["ret"] = "ImGuiID" @@ -16381,9 +17065,9 @@ defs["igGetID"][1]["call_args"] = "(str_id)" defs["igGetID"][1]["cimguiname"] = "igGetID" defs["igGetID"][1]["defaults"] = {} defs["igGetID"][1]["funcname"] = "GetID" -defs["igGetID"][1]["location"] = "imgui:490" +defs["igGetID"][1]["location"] = "imgui:487" defs["igGetID"][1]["namespace"] = "ImGui" -defs["igGetID"][1]["ov_cimguiname"] = "igGetIDStr" +defs["igGetID"][1]["ov_cimguiname"] = "igGetID_Str" defs["igGetID"][1]["ret"] = "ImGuiID" defs["igGetID"][1]["signature"] = "(const char*)" defs["igGetID"][1]["stname"] = "" @@ -16401,9 +17085,9 @@ defs["igGetID"][2]["call_args"] = "(str_id_begin,str_id_end)" defs["igGetID"][2]["cimguiname"] = "igGetID" defs["igGetID"][2]["defaults"] = {} defs["igGetID"][2]["funcname"] = "GetID" -defs["igGetID"][2]["location"] = "imgui:491" +defs["igGetID"][2]["location"] = "imgui:488" defs["igGetID"][2]["namespace"] = "ImGui" -defs["igGetID"][2]["ov_cimguiname"] = "igGetIDStrStr" +defs["igGetID"][2]["ov_cimguiname"] = "igGetID_StrStr" defs["igGetID"][2]["ret"] = "ImGuiID" defs["igGetID"][2]["signature"] = "(const char*,const char*)" defs["igGetID"][2]["stname"] = "" @@ -16418,9 +17102,9 @@ defs["igGetID"][3]["call_args"] = "(ptr_id)" defs["igGetID"][3]["cimguiname"] = "igGetID" defs["igGetID"][3]["defaults"] = {} defs["igGetID"][3]["funcname"] = "GetID" -defs["igGetID"][3]["location"] = "imgui:492" +defs["igGetID"][3]["location"] = "imgui:489" defs["igGetID"][3]["namespace"] = "ImGui" -defs["igGetID"][3]["ov_cimguiname"] = "igGetIDPtr" +defs["igGetID"][3]["ov_cimguiname"] = "igGetID_Ptr" defs["igGetID"][3]["ret"] = "ImGuiID" defs["igGetID"][3]["signature"] = "(const void*)" defs["igGetID"][3]["stname"] = "" @@ -16445,7 +17129,7 @@ defs["igGetIDWithSeed"][1]["call_args"] = "(str_id_begin,str_id_end,seed)" defs["igGetIDWithSeed"][1]["cimguiname"] = "igGetIDWithSeed" defs["igGetIDWithSeed"][1]["defaults"] = {} defs["igGetIDWithSeed"][1]["funcname"] = "GetIDWithSeed" -defs["igGetIDWithSeed"][1]["location"] = "imgui_internal:2737" +defs["igGetIDWithSeed"][1]["location"] = "imgui_internal:3033" defs["igGetIDWithSeed"][1]["namespace"] = "ImGui" defs["igGetIDWithSeed"][1]["ov_cimguiname"] = "igGetIDWithSeed" defs["igGetIDWithSeed"][1]["ret"] = "ImGuiID" @@ -16461,7 +17145,7 @@ defs["igGetIO"][1]["call_args"] = "()" defs["igGetIO"][1]["cimguiname"] = "igGetIO" defs["igGetIO"][1]["defaults"] = {} defs["igGetIO"][1]["funcname"] = "GetIO" -defs["igGetIO"][1]["location"] = "imgui:307" +defs["igGetIO"][1]["location"] = "imgui:300" defs["igGetIO"][1]["namespace"] = "ImGui" defs["igGetIO"][1]["ov_cimguiname"] = "igGetIO" defs["igGetIO"][1]["ret"] = "ImGuiIO*" @@ -16481,7 +17165,7 @@ defs["igGetInputTextState"][1]["call_args"] = "(id)" defs["igGetInputTextState"][1]["cimguiname"] = "igGetInputTextState" defs["igGetInputTextState"][1]["defaults"] = {} defs["igGetInputTextState"][1]["funcname"] = "GetInputTextState" -defs["igGetInputTextState"][1]["location"] = "imgui_internal:3050" +defs["igGetInputTextState"][1]["location"] = "imgui_internal:3399" defs["igGetInputTextState"][1]["namespace"] = "ImGui" defs["igGetInputTextState"][1]["ov_cimguiname"] = "igGetInputTextState" defs["igGetInputTextState"][1]["ret"] = "ImGuiInputTextState*" @@ -16497,7 +17181,7 @@ defs["igGetItemFlags"][1]["call_args"] = "()" defs["igGetItemFlags"][1]["cimguiname"] = "igGetItemFlags" defs["igGetItemFlags"][1]["defaults"] = {} defs["igGetItemFlags"][1]["funcname"] = "GetItemFlags" -defs["igGetItemFlags"][1]["location"] = "imgui_internal:2726" +defs["igGetItemFlags"][1]["location"] = "imgui_internal:3022" defs["igGetItemFlags"][1]["namespace"] = "ImGui" defs["igGetItemFlags"][1]["ov_cimguiname"] = "igGetItemFlags" defs["igGetItemFlags"][1]["ret"] = "ImGuiItemFlags" @@ -16513,7 +17197,7 @@ defs["igGetItemID"][1]["call_args"] = "()" defs["igGetItemID"][1]["cimguiname"] = "igGetItemID" defs["igGetItemID"][1]["defaults"] = {} defs["igGetItemID"][1]["funcname"] = "GetItemID" -defs["igGetItemID"][1]["location"] = "imgui_internal:2724" +defs["igGetItemID"][1]["location"] = "imgui_internal:3020" defs["igGetItemID"][1]["namespace"] = "ImGui" defs["igGetItemID"][1]["ov_cimguiname"] = "igGetItemID" defs["igGetItemID"][1]["ret"] = "ImGuiID" @@ -16532,7 +17216,7 @@ defs["igGetItemRectMax"][1]["call_args"] = "()" defs["igGetItemRectMax"][1]["cimguiname"] = "igGetItemRectMax" defs["igGetItemRectMax"][1]["defaults"] = {} defs["igGetItemRectMax"][1]["funcname"] = "GetItemRectMax" -defs["igGetItemRectMax"][1]["location"] = "imgui:882" +defs["igGetItemRectMax"][1]["location"] = "imgui:879" defs["igGetItemRectMax"][1]["namespace"] = "ImGui" defs["igGetItemRectMax"][1]["nonUDT"] = 1 defs["igGetItemRectMax"][1]["ov_cimguiname"] = "igGetItemRectMax" @@ -16552,7 +17236,7 @@ defs["igGetItemRectMin"][1]["call_args"] = "()" defs["igGetItemRectMin"][1]["cimguiname"] = "igGetItemRectMin" defs["igGetItemRectMin"][1]["defaults"] = {} defs["igGetItemRectMin"][1]["funcname"] = "GetItemRectMin" -defs["igGetItemRectMin"][1]["location"] = "imgui:881" +defs["igGetItemRectMin"][1]["location"] = "imgui:878" defs["igGetItemRectMin"][1]["namespace"] = "ImGui" defs["igGetItemRectMin"][1]["nonUDT"] = 1 defs["igGetItemRectMin"][1]["ov_cimguiname"] = "igGetItemRectMin" @@ -16572,7 +17256,7 @@ defs["igGetItemRectSize"][1]["call_args"] = "()" defs["igGetItemRectSize"][1]["cimguiname"] = "igGetItemRectSize" defs["igGetItemRectSize"][1]["defaults"] = {} defs["igGetItemRectSize"][1]["funcname"] = "GetItemRectSize" -defs["igGetItemRectSize"][1]["location"] = "imgui:883" +defs["igGetItemRectSize"][1]["location"] = "imgui:880" defs["igGetItemRectSize"][1]["namespace"] = "ImGui" defs["igGetItemRectSize"][1]["nonUDT"] = 1 defs["igGetItemRectSize"][1]["ov_cimguiname"] = "igGetItemRectSize" @@ -16589,57 +17273,190 @@ defs["igGetItemStatusFlags"][1]["call_args"] = "()" defs["igGetItemStatusFlags"][1]["cimguiname"] = "igGetItemStatusFlags" defs["igGetItemStatusFlags"][1]["defaults"] = {} defs["igGetItemStatusFlags"][1]["funcname"] = "GetItemStatusFlags" -defs["igGetItemStatusFlags"][1]["location"] = "imgui_internal:2725" +defs["igGetItemStatusFlags"][1]["location"] = "imgui_internal:3021" defs["igGetItemStatusFlags"][1]["namespace"] = "ImGui" defs["igGetItemStatusFlags"][1]["ov_cimguiname"] = "igGetItemStatusFlags" defs["igGetItemStatusFlags"][1]["ret"] = "ImGuiItemStatusFlags" defs["igGetItemStatusFlags"][1]["signature"] = "()" defs["igGetItemStatusFlags"][1]["stname"] = "" defs["igGetItemStatusFlags"]["()"] = defs["igGetItemStatusFlags"][1] +defs["igGetKeyChordName"] = {} +defs["igGetKeyChordName"][1] = {} +defs["igGetKeyChordName"][1]["args"] = "(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)" +defs["igGetKeyChordName"][1]["argsT"] = {} +defs["igGetKeyChordName"][1]["argsT"][1] = {} +defs["igGetKeyChordName"][1]["argsT"][1]["name"] = "key_chord" +defs["igGetKeyChordName"][1]["argsT"][1]["type"] = "ImGuiKeyChord" +defs["igGetKeyChordName"][1]["argsT"][2] = {} +defs["igGetKeyChordName"][1]["argsT"][2]["name"] = "out_buf" +defs["igGetKeyChordName"][1]["argsT"][2]["type"] = "char*" +defs["igGetKeyChordName"][1]["argsT"][3] = {} +defs["igGetKeyChordName"][1]["argsT"][3]["name"] = "out_buf_size" +defs["igGetKeyChordName"][1]["argsT"][3]["type"] = "int" +defs["igGetKeyChordName"][1]["argsoriginal"] = "(ImGuiKeyChord key_chord,char* out_buf,int out_buf_size)" +defs["igGetKeyChordName"][1]["call_args"] = "(key_chord,out_buf,out_buf_size)" +defs["igGetKeyChordName"][1]["cimguiname"] = "igGetKeyChordName" +defs["igGetKeyChordName"][1]["defaults"] = {} +defs["igGetKeyChordName"][1]["funcname"] = "GetKeyChordName" +defs["igGetKeyChordName"][1]["location"] = "imgui_internal:3117" +defs["igGetKeyChordName"][1]["namespace"] = "ImGui" +defs["igGetKeyChordName"][1]["ov_cimguiname"] = "igGetKeyChordName" +defs["igGetKeyChordName"][1]["ret"] = "void" +defs["igGetKeyChordName"][1]["signature"] = "(ImGuiKeyChord,char*,int)" +defs["igGetKeyChordName"][1]["stname"] = "" +defs["igGetKeyChordName"]["(ImGuiKeyChord,char*,int)"] = defs["igGetKeyChordName"][1] +defs["igGetKeyData"] = {} +defs["igGetKeyData"][1] = {} +defs["igGetKeyData"][1]["args"] = "(ImGuiKey key)" +defs["igGetKeyData"][1]["argsT"] = {} +defs["igGetKeyData"][1]["argsT"][1] = {} +defs["igGetKeyData"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyData"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igGetKeyData"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyData"][1]["call_args"] = "(key)" +defs["igGetKeyData"][1]["cimguiname"] = "igGetKeyData" +defs["igGetKeyData"][1]["defaults"] = {} +defs["igGetKeyData"][1]["funcname"] = "GetKeyData" +defs["igGetKeyData"][1]["location"] = "imgui_internal:3116" +defs["igGetKeyData"][1]["namespace"] = "ImGui" +defs["igGetKeyData"][1]["ov_cimguiname"] = "igGetKeyData" +defs["igGetKeyData"][1]["ret"] = "ImGuiKeyData*" +defs["igGetKeyData"][1]["signature"] = "(ImGuiKey)" +defs["igGetKeyData"][1]["stname"] = "" +defs["igGetKeyData"]["(ImGuiKey)"] = defs["igGetKeyData"][1] defs["igGetKeyIndex"] = {} defs["igGetKeyIndex"][1] = {} -defs["igGetKeyIndex"][1]["args"] = "(ImGuiKey imgui_key)" +defs["igGetKeyIndex"][1]["args"] = "(ImGuiKey key)" defs["igGetKeyIndex"][1]["argsT"] = {} defs["igGetKeyIndex"][1]["argsT"][1] = {} -defs["igGetKeyIndex"][1]["argsT"][1]["name"] = "imgui_key" +defs["igGetKeyIndex"][1]["argsT"][1]["name"] = "key" defs["igGetKeyIndex"][1]["argsT"][1]["type"] = "ImGuiKey" -defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey imgui_key)" -defs["igGetKeyIndex"][1]["call_args"] = "(imgui_key)" +defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyIndex"][1]["call_args"] = "(key)" defs["igGetKeyIndex"][1]["cimguiname"] = "igGetKeyIndex" defs["igGetKeyIndex"][1]["defaults"] = {} defs["igGetKeyIndex"][1]["funcname"] = "GetKeyIndex" -defs["igGetKeyIndex"][1]["location"] = "imgui:920" +defs["igGetKeyIndex"][1]["location"] = "imgui:3214" defs["igGetKeyIndex"][1]["namespace"] = "ImGui" defs["igGetKeyIndex"][1]["ov_cimguiname"] = "igGetKeyIndex" -defs["igGetKeyIndex"][1]["ret"] = "int" +defs["igGetKeyIndex"][1]["ret"] = "ImGuiKey" defs["igGetKeyIndex"][1]["signature"] = "(ImGuiKey)" defs["igGetKeyIndex"][1]["stname"] = "" defs["igGetKeyIndex"]["(ImGuiKey)"] = defs["igGetKeyIndex"][1] +defs["igGetKeyName"] = {} +defs["igGetKeyName"][1] = {} +defs["igGetKeyName"][1]["args"] = "(ImGuiKey key)" +defs["igGetKeyName"][1]["argsT"] = {} +defs["igGetKeyName"][1]["argsT"][1] = {} +defs["igGetKeyName"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyName"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igGetKeyName"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyName"][1]["call_args"] = "(key)" +defs["igGetKeyName"][1]["cimguiname"] = "igGetKeyName" +defs["igGetKeyName"][1]["defaults"] = {} +defs["igGetKeyName"][1]["funcname"] = "GetKeyName" +defs["igGetKeyName"][1]["location"] = "imgui:926" +defs["igGetKeyName"][1]["namespace"] = "ImGui" +defs["igGetKeyName"][1]["ov_cimguiname"] = "igGetKeyName" +defs["igGetKeyName"][1]["ret"] = "const char*" +defs["igGetKeyName"][1]["signature"] = "(ImGuiKey)" +defs["igGetKeyName"][1]["stname"] = "" +defs["igGetKeyName"]["(ImGuiKey)"] = defs["igGetKeyName"][1] +defs["igGetKeyOwner"] = {} +defs["igGetKeyOwner"][1] = {} +defs["igGetKeyOwner"][1]["args"] = "(ImGuiKey key)" +defs["igGetKeyOwner"][1]["argsT"] = {} +defs["igGetKeyOwner"][1]["argsT"][1] = {} +defs["igGetKeyOwner"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyOwner"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igGetKeyOwner"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyOwner"][1]["call_args"] = "(key)" +defs["igGetKeyOwner"][1]["cimguiname"] = "igGetKeyOwner" +defs["igGetKeyOwner"][1]["defaults"] = {} +defs["igGetKeyOwner"][1]["funcname"] = "GetKeyOwner" +defs["igGetKeyOwner"][1]["location"] = "imgui_internal:3138" +defs["igGetKeyOwner"][1]["namespace"] = "ImGui" +defs["igGetKeyOwner"][1]["ov_cimguiname"] = "igGetKeyOwner" +defs["igGetKeyOwner"][1]["ret"] = "ImGuiID" +defs["igGetKeyOwner"][1]["signature"] = "(ImGuiKey)" +defs["igGetKeyOwner"][1]["stname"] = "" +defs["igGetKeyOwner"]["(ImGuiKey)"] = defs["igGetKeyOwner"][1] +defs["igGetKeyOwnerData"] = {} +defs["igGetKeyOwnerData"][1] = {} +defs["igGetKeyOwnerData"][1]["args"] = "(ImGuiKey key)" +defs["igGetKeyOwnerData"][1]["argsT"] = {} +defs["igGetKeyOwnerData"][1]["argsT"][1] = {} +defs["igGetKeyOwnerData"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyOwnerData"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igGetKeyOwnerData"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyOwnerData"][1]["call_args"] = "(key)" +defs["igGetKeyOwnerData"][1]["cimguiname"] = "igGetKeyOwnerData" +defs["igGetKeyOwnerData"][1]["defaults"] = {} +defs["igGetKeyOwnerData"][1]["funcname"] = "GetKeyOwnerData" +defs["igGetKeyOwnerData"][1]["location"] = "imgui_internal:3142" +defs["igGetKeyOwnerData"][1]["namespace"] = "ImGui" +defs["igGetKeyOwnerData"][1]["ov_cimguiname"] = "igGetKeyOwnerData" +defs["igGetKeyOwnerData"][1]["ret"] = "ImGuiKeyOwnerData*" +defs["igGetKeyOwnerData"][1]["signature"] = "(ImGuiKey)" +defs["igGetKeyOwnerData"][1]["stname"] = "" +defs["igGetKeyOwnerData"]["(ImGuiKey)"] = defs["igGetKeyOwnerData"][1] defs["igGetKeyPressedAmount"] = {} defs["igGetKeyPressedAmount"][1] = {} -defs["igGetKeyPressedAmount"][1]["args"] = "(int key_index,float repeat_delay,float rate)" +defs["igGetKeyPressedAmount"][1]["args"] = "(ImGuiKey key,float repeat_delay,float rate)" defs["igGetKeyPressedAmount"][1]["argsT"] = {} defs["igGetKeyPressedAmount"][1]["argsT"][1] = {} -defs["igGetKeyPressedAmount"][1]["argsT"][1]["name"] = "key_index" -defs["igGetKeyPressedAmount"][1]["argsT"][1]["type"] = "int" +defs["igGetKeyPressedAmount"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyPressedAmount"][1]["argsT"][1]["type"] = "ImGuiKey" defs["igGetKeyPressedAmount"][1]["argsT"][2] = {} defs["igGetKeyPressedAmount"][1]["argsT"][2]["name"] = "repeat_delay" defs["igGetKeyPressedAmount"][1]["argsT"][2]["type"] = "float" defs["igGetKeyPressedAmount"][1]["argsT"][3] = {} defs["igGetKeyPressedAmount"][1]["argsT"][3]["name"] = "rate" defs["igGetKeyPressedAmount"][1]["argsT"][3]["type"] = "float" -defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(int key_index,float repeat_delay,float rate)" -defs["igGetKeyPressedAmount"][1]["call_args"] = "(key_index,repeat_delay,rate)" +defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(ImGuiKey key,float repeat_delay,float rate)" +defs["igGetKeyPressedAmount"][1]["call_args"] = "(key,repeat_delay,rate)" defs["igGetKeyPressedAmount"][1]["cimguiname"] = "igGetKeyPressedAmount" defs["igGetKeyPressedAmount"][1]["defaults"] = {} defs["igGetKeyPressedAmount"][1]["funcname"] = "GetKeyPressedAmount" -defs["igGetKeyPressedAmount"][1]["location"] = "imgui:924" +defs["igGetKeyPressedAmount"][1]["location"] = "imgui:925" defs["igGetKeyPressedAmount"][1]["namespace"] = "ImGui" defs["igGetKeyPressedAmount"][1]["ov_cimguiname"] = "igGetKeyPressedAmount" defs["igGetKeyPressedAmount"][1]["ret"] = "int" -defs["igGetKeyPressedAmount"][1]["signature"] = "(int,float,float)" +defs["igGetKeyPressedAmount"][1]["signature"] = "(ImGuiKey,float,float)" defs["igGetKeyPressedAmount"][1]["stname"] = "" -defs["igGetKeyPressedAmount"]["(int,float,float)"] = defs["igGetKeyPressedAmount"][1] +defs["igGetKeyPressedAmount"]["(ImGuiKey,float,float)"] = defs["igGetKeyPressedAmount"][1] +defs["igGetKeyVector2d"] = {} +defs["igGetKeyVector2d"][1] = {} +defs["igGetKeyVector2d"][1]["args"] = "(ImVec2 *pOut,ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)" +defs["igGetKeyVector2d"][1]["argsT"] = {} +defs["igGetKeyVector2d"][1]["argsT"][1] = {} +defs["igGetKeyVector2d"][1]["argsT"][1]["name"] = "pOut" +defs["igGetKeyVector2d"][1]["argsT"][1]["type"] = "ImVec2*" +defs["igGetKeyVector2d"][1]["argsT"][2] = {} +defs["igGetKeyVector2d"][1]["argsT"][2]["name"] = "key_left" +defs["igGetKeyVector2d"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["igGetKeyVector2d"][1]["argsT"][3] = {} +defs["igGetKeyVector2d"][1]["argsT"][3]["name"] = "key_right" +defs["igGetKeyVector2d"][1]["argsT"][3]["type"] = "ImGuiKey" +defs["igGetKeyVector2d"][1]["argsT"][4] = {} +defs["igGetKeyVector2d"][1]["argsT"][4]["name"] = "key_up" +defs["igGetKeyVector2d"][1]["argsT"][4]["type"] = "ImGuiKey" +defs["igGetKeyVector2d"][1]["argsT"][5] = {} +defs["igGetKeyVector2d"][1]["argsT"][5]["name"] = "key_down" +defs["igGetKeyVector2d"][1]["argsT"][5]["type"] = "ImGuiKey" +defs["igGetKeyVector2d"][1]["argsoriginal"] = "(ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down)" +defs["igGetKeyVector2d"][1]["call_args"] = "(key_left,key_right,key_up,key_down)" +defs["igGetKeyVector2d"][1]["cimguiname"] = "igGetKeyVector2d" +defs["igGetKeyVector2d"][1]["defaults"] = {} +defs["igGetKeyVector2d"][1]["funcname"] = "GetKeyVector2d" +defs["igGetKeyVector2d"][1]["location"] = "imgui_internal:3120" +defs["igGetKeyVector2d"][1]["namespace"] = "ImGui" +defs["igGetKeyVector2d"][1]["nonUDT"] = 1 +defs["igGetKeyVector2d"][1]["ov_cimguiname"] = "igGetKeyVector2d" +defs["igGetKeyVector2d"][1]["ret"] = "void" +defs["igGetKeyVector2d"][1]["signature"] = "(ImGuiKey,ImGuiKey,ImGuiKey,ImGuiKey)" +defs["igGetKeyVector2d"][1]["stname"] = "" +defs["igGetKeyVector2d"]["(ImGuiKey,ImGuiKey,ImGuiKey,ImGuiKey)"] = defs["igGetKeyVector2d"][1] defs["igGetMainViewport"] = {} defs["igGetMainViewport"][1] = {} defs["igGetMainViewport"][1]["args"] = "()" @@ -16649,29 +17466,13 @@ defs["igGetMainViewport"][1]["call_args"] = "()" defs["igGetMainViewport"][1]["cimguiname"] = "igGetMainViewport" defs["igGetMainViewport"][1]["defaults"] = {} defs["igGetMainViewport"][1]["funcname"] = "GetMainViewport" -defs["igGetMainViewport"][1]["location"] = "imgui:890" +defs["igGetMainViewport"][1]["location"] = "imgui:887" defs["igGetMainViewport"][1]["namespace"] = "ImGui" defs["igGetMainViewport"][1]["ov_cimguiname"] = "igGetMainViewport" defs["igGetMainViewport"][1]["ret"] = "ImGuiViewport*" defs["igGetMainViewport"][1]["signature"] = "()" defs["igGetMainViewport"][1]["stname"] = "" defs["igGetMainViewport"]["()"] = defs["igGetMainViewport"][1] -defs["igGetMergedKeyModFlags"] = {} -defs["igGetMergedKeyModFlags"][1] = {} -defs["igGetMergedKeyModFlags"][1]["args"] = "()" -defs["igGetMergedKeyModFlags"][1]["argsT"] = {} -defs["igGetMergedKeyModFlags"][1]["argsoriginal"] = "()" -defs["igGetMergedKeyModFlags"][1]["call_args"] = "()" -defs["igGetMergedKeyModFlags"][1]["cimguiname"] = "igGetMergedKeyModFlags" -defs["igGetMergedKeyModFlags"][1]["defaults"] = {} -defs["igGetMergedKeyModFlags"][1]["funcname"] = "GetMergedKeyModFlags" -defs["igGetMergedKeyModFlags"][1]["location"] = "imgui_internal:2834" -defs["igGetMergedKeyModFlags"][1]["namespace"] = "ImGui" -defs["igGetMergedKeyModFlags"][1]["ov_cimguiname"] = "igGetMergedKeyModFlags" -defs["igGetMergedKeyModFlags"][1]["ret"] = "ImGuiKeyModFlags" -defs["igGetMergedKeyModFlags"][1]["signature"] = "()" -defs["igGetMergedKeyModFlags"][1]["stname"] = "" -defs["igGetMergedKeyModFlags"]["()"] = defs["igGetMergedKeyModFlags"][1] defs["igGetMouseClickedCount"] = {} defs["igGetMouseClickedCount"][1] = {} defs["igGetMouseClickedCount"][1]["args"] = "(ImGuiMouseButton button)" @@ -16684,7 +17485,7 @@ defs["igGetMouseClickedCount"][1]["call_args"] = "(button)" defs["igGetMouseClickedCount"][1]["cimguiname"] = "igGetMouseClickedCount" defs["igGetMouseClickedCount"][1]["defaults"] = {} defs["igGetMouseClickedCount"][1]["funcname"] = "GetMouseClickedCount" -defs["igGetMouseClickedCount"][1]["location"] = "imgui:935" +defs["igGetMouseClickedCount"][1]["location"] = "imgui:937" defs["igGetMouseClickedCount"][1]["namespace"] = "ImGui" defs["igGetMouseClickedCount"][1]["ov_cimguiname"] = "igGetMouseClickedCount" defs["igGetMouseClickedCount"][1]["ret"] = "int" @@ -16700,7 +17501,7 @@ defs["igGetMouseCursor"][1]["call_args"] = "()" defs["igGetMouseCursor"][1]["cimguiname"] = "igGetMouseCursor" defs["igGetMouseCursor"][1]["defaults"] = {} defs["igGetMouseCursor"][1]["funcname"] = "GetMouseCursor" -defs["igGetMouseCursor"][1]["location"] = "imgui:944" +defs["igGetMouseCursor"][1]["location"] = "imgui:946" defs["igGetMouseCursor"][1]["namespace"] = "ImGui" defs["igGetMouseCursor"][1]["ov_cimguiname"] = "igGetMouseCursor" defs["igGetMouseCursor"][1]["ret"] = "ImGuiMouseCursor" @@ -16727,7 +17528,7 @@ defs["igGetMouseDragDelta"][1]["defaults"] = {} defs["igGetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igGetMouseDragDelta"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igGetMouseDragDelta"][1]["funcname"] = "GetMouseDragDelta" -defs["igGetMouseDragDelta"][1]["location"] = "imgui:942" +defs["igGetMouseDragDelta"][1]["location"] = "imgui:944" defs["igGetMouseDragDelta"][1]["namespace"] = "ImGui" defs["igGetMouseDragDelta"][1]["nonUDT"] = 1 defs["igGetMouseDragDelta"][1]["ov_cimguiname"] = "igGetMouseDragDelta" @@ -16747,7 +17548,7 @@ defs["igGetMousePos"][1]["call_args"] = "()" defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" defs["igGetMousePos"][1]["defaults"] = {} defs["igGetMousePos"][1]["funcname"] = "GetMousePos" -defs["igGetMousePos"][1]["location"] = "imgui:939" +defs["igGetMousePos"][1]["location"] = "imgui:941" defs["igGetMousePos"][1]["namespace"] = "ImGui" defs["igGetMousePos"][1]["nonUDT"] = 1 defs["igGetMousePos"][1]["ov_cimguiname"] = "igGetMousePos" @@ -16767,7 +17568,7 @@ defs["igGetMousePosOnOpeningCurrentPopup"][1]["call_args"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["funcname"] = "GetMousePosOnOpeningCurrentPopup" -defs["igGetMousePosOnOpeningCurrentPopup"][1]["location"] = "imgui:940" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["location"] = "imgui:942" defs["igGetMousePosOnOpeningCurrentPopup"][1]["namespace"] = "ImGui" defs["igGetMousePosOnOpeningCurrentPopup"][1]["nonUDT"] = 1 defs["igGetMousePosOnOpeningCurrentPopup"][1]["ov_cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" @@ -16775,62 +17576,25 @@ defs["igGetMousePosOnOpeningCurrentPopup"][1]["ret"] = "void" defs["igGetMousePosOnOpeningCurrentPopup"][1]["signature"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["stname"] = "" defs["igGetMousePosOnOpeningCurrentPopup"]["()"] = defs["igGetMousePosOnOpeningCurrentPopup"][1] -defs["igGetNavInputAmount"] = {} -defs["igGetNavInputAmount"][1] = {} -defs["igGetNavInputAmount"][1]["args"] = "(ImGuiNavInput n,ImGuiInputReadMode mode)" -defs["igGetNavInputAmount"][1]["argsT"] = {} -defs["igGetNavInputAmount"][1]["argsT"][1] = {} -defs["igGetNavInputAmount"][1]["argsT"][1]["name"] = "n" -defs["igGetNavInputAmount"][1]["argsT"][1]["type"] = "ImGuiNavInput" -defs["igGetNavInputAmount"][1]["argsT"][2] = {} -defs["igGetNavInputAmount"][1]["argsT"][2]["name"] = "mode" -defs["igGetNavInputAmount"][1]["argsT"][2]["type"] = "ImGuiInputReadMode" -defs["igGetNavInputAmount"][1]["argsoriginal"] = "(ImGuiNavInput n,ImGuiInputReadMode mode)" -defs["igGetNavInputAmount"][1]["call_args"] = "(n,mode)" -defs["igGetNavInputAmount"][1]["cimguiname"] = "igGetNavInputAmount" -defs["igGetNavInputAmount"][1]["defaults"] = {} -defs["igGetNavInputAmount"][1]["funcname"] = "GetNavInputAmount" -defs["igGetNavInputAmount"][1]["location"] = "imgui_internal:2809" -defs["igGetNavInputAmount"][1]["namespace"] = "ImGui" -defs["igGetNavInputAmount"][1]["ov_cimguiname"] = "igGetNavInputAmount" -defs["igGetNavInputAmount"][1]["ret"] = "float" -defs["igGetNavInputAmount"][1]["signature"] = "(ImGuiNavInput,ImGuiInputReadMode)" -defs["igGetNavInputAmount"][1]["stname"] = "" -defs["igGetNavInputAmount"]["(ImGuiNavInput,ImGuiInputReadMode)"] = defs["igGetNavInputAmount"][1] -defs["igGetNavInputAmount2d"] = {} -defs["igGetNavInputAmount2d"][1] = {} -defs["igGetNavInputAmount2d"][1]["args"] = "(ImVec2 *pOut,ImGuiNavDirSourceFlags dir_sources,ImGuiInputReadMode mode,float slow_factor,float fast_factor)" -defs["igGetNavInputAmount2d"][1]["argsT"] = {} -defs["igGetNavInputAmount2d"][1]["argsT"][1] = {} -defs["igGetNavInputAmount2d"][1]["argsT"][1]["name"] = "pOut" -defs["igGetNavInputAmount2d"][1]["argsT"][1]["type"] = "ImVec2*" -defs["igGetNavInputAmount2d"][1]["argsT"][2] = {} -defs["igGetNavInputAmount2d"][1]["argsT"][2]["name"] = "dir_sources" -defs["igGetNavInputAmount2d"][1]["argsT"][2]["type"] = "ImGuiNavDirSourceFlags" -defs["igGetNavInputAmount2d"][1]["argsT"][3] = {} -defs["igGetNavInputAmount2d"][1]["argsT"][3]["name"] = "mode" -defs["igGetNavInputAmount2d"][1]["argsT"][3]["type"] = "ImGuiInputReadMode" -defs["igGetNavInputAmount2d"][1]["argsT"][4] = {} -defs["igGetNavInputAmount2d"][1]["argsT"][4]["name"] = "slow_factor" -defs["igGetNavInputAmount2d"][1]["argsT"][4]["type"] = "float" -defs["igGetNavInputAmount2d"][1]["argsT"][5] = {} -defs["igGetNavInputAmount2d"][1]["argsT"][5]["name"] = "fast_factor" -defs["igGetNavInputAmount2d"][1]["argsT"][5]["type"] = "float" -defs["igGetNavInputAmount2d"][1]["argsoriginal"] = "(ImGuiNavDirSourceFlags dir_sources,ImGuiInputReadMode mode,float slow_factor=0.0f,float fast_factor=0.0f)" -defs["igGetNavInputAmount2d"][1]["call_args"] = "(dir_sources,mode,slow_factor,fast_factor)" -defs["igGetNavInputAmount2d"][1]["cimguiname"] = "igGetNavInputAmount2d" -defs["igGetNavInputAmount2d"][1]["defaults"] = {} -defs["igGetNavInputAmount2d"][1]["defaults"]["fast_factor"] = "0.0f" -defs["igGetNavInputAmount2d"][1]["defaults"]["slow_factor"] = "0.0f" -defs["igGetNavInputAmount2d"][1]["funcname"] = "GetNavInputAmount2d" -defs["igGetNavInputAmount2d"][1]["location"] = "imgui_internal:2810" -defs["igGetNavInputAmount2d"][1]["namespace"] = "ImGui" -defs["igGetNavInputAmount2d"][1]["nonUDT"] = 1 -defs["igGetNavInputAmount2d"][1]["ov_cimguiname"] = "igGetNavInputAmount2d" -defs["igGetNavInputAmount2d"][1]["ret"] = "void" -defs["igGetNavInputAmount2d"][1]["signature"] = "(ImGuiNavDirSourceFlags,ImGuiInputReadMode,float,float)" -defs["igGetNavInputAmount2d"][1]["stname"] = "" -defs["igGetNavInputAmount2d"]["(ImGuiNavDirSourceFlags,ImGuiInputReadMode,float,float)"] = defs["igGetNavInputAmount2d"][1] +defs["igGetNavTweakPressedAmount"] = {} +defs["igGetNavTweakPressedAmount"][1] = {} +defs["igGetNavTweakPressedAmount"][1]["args"] = "(ImGuiAxis axis)" +defs["igGetNavTweakPressedAmount"][1]["argsT"] = {} +defs["igGetNavTweakPressedAmount"][1]["argsT"][1] = {} +defs["igGetNavTweakPressedAmount"][1]["argsT"][1]["name"] = "axis" +defs["igGetNavTweakPressedAmount"][1]["argsT"][1]["type"] = "ImGuiAxis" +defs["igGetNavTweakPressedAmount"][1]["argsoriginal"] = "(ImGuiAxis axis)" +defs["igGetNavTweakPressedAmount"][1]["call_args"] = "(axis)" +defs["igGetNavTweakPressedAmount"][1]["cimguiname"] = "igGetNavTweakPressedAmount" +defs["igGetNavTweakPressedAmount"][1]["defaults"] = {} +defs["igGetNavTweakPressedAmount"][1]["funcname"] = "GetNavTweakPressedAmount" +defs["igGetNavTweakPressedAmount"][1]["location"] = "imgui_internal:3121" +defs["igGetNavTweakPressedAmount"][1]["namespace"] = "ImGui" +defs["igGetNavTweakPressedAmount"][1]["ov_cimguiname"] = "igGetNavTweakPressedAmount" +defs["igGetNavTweakPressedAmount"][1]["ret"] = "float" +defs["igGetNavTweakPressedAmount"][1]["signature"] = "(ImGuiAxis)" +defs["igGetNavTweakPressedAmount"][1]["stname"] = "" +defs["igGetNavTweakPressedAmount"]["(ImGuiAxis)"] = defs["igGetNavTweakPressedAmount"][1] defs["igGetPlatformIO"] = {} defs["igGetPlatformIO"][1] = {} defs["igGetPlatformIO"][1]["args"] = "()" @@ -16840,7 +17604,7 @@ defs["igGetPlatformIO"][1]["call_args"] = "()" defs["igGetPlatformIO"][1]["cimguiname"] = "igGetPlatformIO" defs["igGetPlatformIO"][1]["defaults"] = {} defs["igGetPlatformIO"][1]["funcname"] = "GetPlatformIO" -defs["igGetPlatformIO"][1]["location"] = "imgui:978" +defs["igGetPlatformIO"][1]["location"] = "imgui:980" defs["igGetPlatformIO"][1]["namespace"] = "ImGui" defs["igGetPlatformIO"][1]["ov_cimguiname"] = "igGetPlatformIO" defs["igGetPlatformIO"][1]["ret"] = "ImGuiPlatformIO*" @@ -16863,7 +17627,7 @@ defs["igGetPopupAllowedExtentRect"][1]["call_args"] = "(window)" defs["igGetPopupAllowedExtentRect"][1]["cimguiname"] = "igGetPopupAllowedExtentRect" defs["igGetPopupAllowedExtentRect"][1]["defaults"] = {} defs["igGetPopupAllowedExtentRect"][1]["funcname"] = "GetPopupAllowedExtentRect" -defs["igGetPopupAllowedExtentRect"][1]["location"] = "imgui_internal:2783" +defs["igGetPopupAllowedExtentRect"][1]["location"] = "imgui_internal:3068" defs["igGetPopupAllowedExtentRect"][1]["namespace"] = "ImGui" defs["igGetPopupAllowedExtentRect"][1]["nonUDT"] = 1 defs["igGetPopupAllowedExtentRect"][1]["ov_cimguiname"] = "igGetPopupAllowedExtentRect" @@ -16880,7 +17644,7 @@ defs["igGetScrollMaxX"][1]["call_args"] = "()" defs["igGetScrollMaxX"][1]["cimguiname"] = "igGetScrollMaxX" defs["igGetScrollMaxX"][1]["defaults"] = {} defs["igGetScrollMaxX"][1]["funcname"] = "GetScrollMaxX" -defs["igGetScrollMaxX"][1]["location"] = "imgui:404" +defs["igGetScrollMaxX"][1]["location"] = "imgui:401" defs["igGetScrollMaxX"][1]["namespace"] = "ImGui" defs["igGetScrollMaxX"][1]["ov_cimguiname"] = "igGetScrollMaxX" defs["igGetScrollMaxX"][1]["ret"] = "float" @@ -16896,7 +17660,7 @@ defs["igGetScrollMaxY"][1]["call_args"] = "()" defs["igGetScrollMaxY"][1]["cimguiname"] = "igGetScrollMaxY" defs["igGetScrollMaxY"][1]["defaults"] = {} defs["igGetScrollMaxY"][1]["funcname"] = "GetScrollMaxY" -defs["igGetScrollMaxY"][1]["location"] = "imgui:405" +defs["igGetScrollMaxY"][1]["location"] = "imgui:402" defs["igGetScrollMaxY"][1]["namespace"] = "ImGui" defs["igGetScrollMaxY"][1]["ov_cimguiname"] = "igGetScrollMaxY" defs["igGetScrollMaxY"][1]["ret"] = "float" @@ -16912,7 +17676,7 @@ defs["igGetScrollX"][1]["call_args"] = "()" defs["igGetScrollX"][1]["cimguiname"] = "igGetScrollX" defs["igGetScrollX"][1]["defaults"] = {} defs["igGetScrollX"][1]["funcname"] = "GetScrollX" -defs["igGetScrollX"][1]["location"] = "imgui:400" +defs["igGetScrollX"][1]["location"] = "imgui:397" defs["igGetScrollX"][1]["namespace"] = "ImGui" defs["igGetScrollX"][1]["ov_cimguiname"] = "igGetScrollX" defs["igGetScrollX"][1]["ret"] = "float" @@ -16928,13 +17692,32 @@ defs["igGetScrollY"][1]["call_args"] = "()" defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" defs["igGetScrollY"][1]["defaults"] = {} defs["igGetScrollY"][1]["funcname"] = "GetScrollY" -defs["igGetScrollY"][1]["location"] = "imgui:401" +defs["igGetScrollY"][1]["location"] = "imgui:398" defs["igGetScrollY"][1]["namespace"] = "ImGui" defs["igGetScrollY"][1]["ov_cimguiname"] = "igGetScrollY" defs["igGetScrollY"][1]["ret"] = "float" defs["igGetScrollY"][1]["signature"] = "()" defs["igGetScrollY"][1]["stname"] = "" defs["igGetScrollY"]["()"] = defs["igGetScrollY"][1] +defs["igGetShortcutRoutingData"] = {} +defs["igGetShortcutRoutingData"][1] = {} +defs["igGetShortcutRoutingData"][1]["args"] = "(ImGuiKeyChord key_chord)" +defs["igGetShortcutRoutingData"][1]["argsT"] = {} +defs["igGetShortcutRoutingData"][1]["argsT"][1] = {} +defs["igGetShortcutRoutingData"][1]["argsT"][1]["name"] = "key_chord" +defs["igGetShortcutRoutingData"][1]["argsT"][1]["type"] = "ImGuiKeyChord" +defs["igGetShortcutRoutingData"][1]["argsoriginal"] = "(ImGuiKeyChord key_chord)" +defs["igGetShortcutRoutingData"][1]["call_args"] = "(key_chord)" +defs["igGetShortcutRoutingData"][1]["cimguiname"] = "igGetShortcutRoutingData" +defs["igGetShortcutRoutingData"][1]["defaults"] = {} +defs["igGetShortcutRoutingData"][1]["funcname"] = "GetShortcutRoutingData" +defs["igGetShortcutRoutingData"][1]["location"] = "imgui_internal:3170" +defs["igGetShortcutRoutingData"][1]["namespace"] = "ImGui" +defs["igGetShortcutRoutingData"][1]["ov_cimguiname"] = "igGetShortcutRoutingData" +defs["igGetShortcutRoutingData"][1]["ret"] = "ImGuiKeyRoutingData*" +defs["igGetShortcutRoutingData"][1]["signature"] = "(ImGuiKeyChord)" +defs["igGetShortcutRoutingData"][1]["stname"] = "" +defs["igGetShortcutRoutingData"]["(ImGuiKeyChord)"] = defs["igGetShortcutRoutingData"][1] defs["igGetStateStorage"] = {} defs["igGetStateStorage"][1] = {} defs["igGetStateStorage"][1]["args"] = "()" @@ -16944,7 +17727,7 @@ defs["igGetStateStorage"][1]["call_args"] = "()" defs["igGetStateStorage"][1]["cimguiname"] = "igGetStateStorage" defs["igGetStateStorage"][1]["defaults"] = {} defs["igGetStateStorage"][1]["funcname"] = "GetStateStorage" -defs["igGetStateStorage"][1]["location"] = "imgui:904" +defs["igGetStateStorage"][1]["location"] = "imgui:903" defs["igGetStateStorage"][1]["namespace"] = "ImGui" defs["igGetStateStorage"][1]["ov_cimguiname"] = "igGetStateStorage" defs["igGetStateStorage"][1]["ret"] = "ImGuiStorage*" @@ -16960,7 +17743,7 @@ defs["igGetStyle"][1]["call_args"] = "()" defs["igGetStyle"][1]["cimguiname"] = "igGetStyle" defs["igGetStyle"][1]["defaults"] = {} defs["igGetStyle"][1]["funcname"] = "GetStyle" -defs["igGetStyle"][1]["location"] = "imgui:308" +defs["igGetStyle"][1]["location"] = "imgui:301" defs["igGetStyle"][1]["namespace"] = "ImGui" defs["igGetStyle"][1]["ov_cimguiname"] = "igGetStyle" defs["igGetStyle"][1]["ret"] = "ImGuiStyle*" @@ -16980,7 +17763,7 @@ defs["igGetStyleColorName"][1]["call_args"] = "(idx)" defs["igGetStyleColorName"][1]["cimguiname"] = "igGetStyleColorName" defs["igGetStyleColorName"][1]["defaults"] = {} defs["igGetStyleColorName"][1]["funcname"] = "GetStyleColorName" -defs["igGetStyleColorName"][1]["location"] = "imgui:902" +defs["igGetStyleColorName"][1]["location"] = "imgui:901" defs["igGetStyleColorName"][1]["namespace"] = "ImGui" defs["igGetStyleColorName"][1]["ov_cimguiname"] = "igGetStyleColorName" defs["igGetStyleColorName"][1]["ret"] = "const char*" @@ -16999,7 +17782,7 @@ defs["igGetStyleColorVec4"][1]["call_args"] = "(idx)" defs["igGetStyleColorVec4"][1]["cimguiname"] = "igGetStyleColorVec4" defs["igGetStyleColorVec4"][1]["defaults"] = {} defs["igGetStyleColorVec4"][1]["funcname"] = "GetStyleColorVec4" -defs["igGetStyleColorVec4"][1]["location"] = "imgui:441" +defs["igGetStyleColorVec4"][1]["location"] = "imgui:438" defs["igGetStyleColorVec4"][1]["namespace"] = "ImGui" defs["igGetStyleColorVec4"][1]["ov_cimguiname"] = "igGetStyleColorVec4" defs["igGetStyleColorVec4"][1]["ret"] = "const ImVec4*" @@ -17016,7 +17799,7 @@ defs["igGetTextLineHeight"][1]["call_args"] = "()" defs["igGetTextLineHeight"][1]["cimguiname"] = "igGetTextLineHeight" defs["igGetTextLineHeight"][1]["defaults"] = {} defs["igGetTextLineHeight"][1]["funcname"] = "GetTextLineHeight" -defs["igGetTextLineHeight"][1]["location"] = "imgui:469" +defs["igGetTextLineHeight"][1]["location"] = "imgui:466" defs["igGetTextLineHeight"][1]["namespace"] = "ImGui" defs["igGetTextLineHeight"][1]["ov_cimguiname"] = "igGetTextLineHeight" defs["igGetTextLineHeight"][1]["ret"] = "float" @@ -17032,7 +17815,7 @@ defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} defs["igGetTextLineHeightWithSpacing"][1]["funcname"] = "GetTextLineHeightWithSpacing" -defs["igGetTextLineHeightWithSpacing"][1]["location"] = "imgui:470" +defs["igGetTextLineHeightWithSpacing"][1]["location"] = "imgui:467" defs["igGetTextLineHeightWithSpacing"][1]["namespace"] = "ImGui" defs["igGetTextLineHeightWithSpacing"][1]["ov_cimguiname"] = "igGetTextLineHeightWithSpacing" defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" @@ -17048,7 +17831,7 @@ defs["igGetTime"][1]["call_args"] = "()" defs["igGetTime"][1]["cimguiname"] = "igGetTime" defs["igGetTime"][1]["defaults"] = {} defs["igGetTime"][1]["funcname"] = "GetTime" -defs["igGetTime"][1]["location"] = "imgui:895" +defs["igGetTime"][1]["location"] = "imgui:898" defs["igGetTime"][1]["namespace"] = "ImGui" defs["igGetTime"][1]["ov_cimguiname"] = "igGetTime" defs["igGetTime"][1]["ret"] = "double" @@ -17064,7 +17847,7 @@ defs["igGetTopMostAndVisiblePopupModal"][1]["call_args"] = "()" defs["igGetTopMostAndVisiblePopupModal"][1]["cimguiname"] = "igGetTopMostAndVisiblePopupModal" defs["igGetTopMostAndVisiblePopupModal"][1]["defaults"] = {} defs["igGetTopMostAndVisiblePopupModal"][1]["funcname"] = "GetTopMostAndVisiblePopupModal" -defs["igGetTopMostAndVisiblePopupModal"][1]["location"] = "imgui_internal:2785" +defs["igGetTopMostAndVisiblePopupModal"][1]["location"] = "imgui_internal:3070" defs["igGetTopMostAndVisiblePopupModal"][1]["namespace"] = "ImGui" defs["igGetTopMostAndVisiblePopupModal"][1]["ov_cimguiname"] = "igGetTopMostAndVisiblePopupModal" defs["igGetTopMostAndVisiblePopupModal"][1]["ret"] = "ImGuiWindow*" @@ -17080,7 +17863,7 @@ defs["igGetTopMostPopupModal"][1]["call_args"] = "()" defs["igGetTopMostPopupModal"][1]["cimguiname"] = "igGetTopMostPopupModal" defs["igGetTopMostPopupModal"][1]["defaults"] = {} defs["igGetTopMostPopupModal"][1]["funcname"] = "GetTopMostPopupModal" -defs["igGetTopMostPopupModal"][1]["location"] = "imgui_internal:2784" +defs["igGetTopMostPopupModal"][1]["location"] = "imgui_internal:3069" defs["igGetTopMostPopupModal"][1]["namespace"] = "ImGui" defs["igGetTopMostPopupModal"][1]["ov_cimguiname"] = "igGetTopMostPopupModal" defs["igGetTopMostPopupModal"][1]["ret"] = "ImGuiWindow*" @@ -17096,13 +17879,38 @@ defs["igGetTreeNodeToLabelSpacing"][1]["call_args"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["cimguiname"] = "igGetTreeNodeToLabelSpacing" defs["igGetTreeNodeToLabelSpacing"][1]["defaults"] = {} defs["igGetTreeNodeToLabelSpacing"][1]["funcname"] = "GetTreeNodeToLabelSpacing" -defs["igGetTreeNodeToLabelSpacing"][1]["location"] = "imgui:623" +defs["igGetTreeNodeToLabelSpacing"][1]["location"] = "imgui:624" defs["igGetTreeNodeToLabelSpacing"][1]["namespace"] = "ImGui" defs["igGetTreeNodeToLabelSpacing"][1]["ov_cimguiname"] = "igGetTreeNodeToLabelSpacing" defs["igGetTreeNodeToLabelSpacing"][1]["ret"] = "float" defs["igGetTreeNodeToLabelSpacing"][1]["signature"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["stname"] = "" defs["igGetTreeNodeToLabelSpacing"]["()"] = defs["igGetTreeNodeToLabelSpacing"][1] +defs["igGetTypematicRepeatRate"] = {} +defs["igGetTypematicRepeatRate"][1] = {} +defs["igGetTypematicRepeatRate"][1]["args"] = "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)" +defs["igGetTypematicRepeatRate"][1]["argsT"] = {} +defs["igGetTypematicRepeatRate"][1]["argsT"][1] = {} +defs["igGetTypematicRepeatRate"][1]["argsT"][1]["name"] = "flags" +defs["igGetTypematicRepeatRate"][1]["argsT"][1]["type"] = "ImGuiInputFlags" +defs["igGetTypematicRepeatRate"][1]["argsT"][2] = {} +defs["igGetTypematicRepeatRate"][1]["argsT"][2]["name"] = "repeat_delay" +defs["igGetTypematicRepeatRate"][1]["argsT"][2]["type"] = "float*" +defs["igGetTypematicRepeatRate"][1]["argsT"][3] = {} +defs["igGetTypematicRepeatRate"][1]["argsT"][3]["name"] = "repeat_rate" +defs["igGetTypematicRepeatRate"][1]["argsT"][3]["type"] = "float*" +defs["igGetTypematicRepeatRate"][1]["argsoriginal"] = "(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate)" +defs["igGetTypematicRepeatRate"][1]["call_args"] = "(flags,repeat_delay,repeat_rate)" +defs["igGetTypematicRepeatRate"][1]["cimguiname"] = "igGetTypematicRepeatRate" +defs["igGetTypematicRepeatRate"][1]["defaults"] = {} +defs["igGetTypematicRepeatRate"][1]["funcname"] = "GetTypematicRepeatRate" +defs["igGetTypematicRepeatRate"][1]["location"] = "imgui_internal:3123" +defs["igGetTypematicRepeatRate"][1]["namespace"] = "ImGui" +defs["igGetTypematicRepeatRate"][1]["ov_cimguiname"] = "igGetTypematicRepeatRate" +defs["igGetTypematicRepeatRate"][1]["ret"] = "void" +defs["igGetTypematicRepeatRate"][1]["signature"] = "(ImGuiInputFlags,float*,float*)" +defs["igGetTypematicRepeatRate"][1]["stname"] = "" +defs["igGetTypematicRepeatRate"]["(ImGuiInputFlags,float*,float*)"] = defs["igGetTypematicRepeatRate"][1] defs["igGetVersion"] = {} defs["igGetVersion"][1] = {} defs["igGetVersion"][1]["args"] = "()" @@ -17112,7 +17920,7 @@ defs["igGetVersion"][1]["call_args"] = "()" defs["igGetVersion"][1]["cimguiname"] = "igGetVersion" defs["igGetVersion"][1]["defaults"] = {} defs["igGetVersion"][1]["funcname"] = "GetVersion" -defs["igGetVersion"][1]["location"] = "imgui:323" +defs["igGetVersion"][1]["location"] = "imgui:317" defs["igGetVersion"][1]["namespace"] = "ImGui" defs["igGetVersion"][1]["ov_cimguiname"] = "igGetVersion" defs["igGetVersion"][1]["ret"] = "const char*" @@ -17131,7 +17939,7 @@ defs["igGetViewportPlatformMonitor"][1]["call_args"] = "(viewport)" defs["igGetViewportPlatformMonitor"][1]["cimguiname"] = "igGetViewportPlatformMonitor" defs["igGetViewportPlatformMonitor"][1]["defaults"] = {} defs["igGetViewportPlatformMonitor"][1]["funcname"] = "GetViewportPlatformMonitor" -defs["igGetViewportPlatformMonitor"][1]["location"] = "imgui_internal:2697" +defs["igGetViewportPlatformMonitor"][1]["location"] = "imgui_internal:2987" defs["igGetViewportPlatformMonitor"][1]["namespace"] = "ImGui" defs["igGetViewportPlatformMonitor"][1]["ov_cimguiname"] = "igGetViewportPlatformMonitor" defs["igGetViewportPlatformMonitor"][1]["ret"] = "const ImGuiPlatformMonitor*" @@ -17150,7 +17958,7 @@ defs["igGetWindowAlwaysWantOwnTabBar"][1]["call_args"] = "(window)" defs["igGetWindowAlwaysWantOwnTabBar"][1]["cimguiname"] = "igGetWindowAlwaysWantOwnTabBar" defs["igGetWindowAlwaysWantOwnTabBar"][1]["defaults"] = {} defs["igGetWindowAlwaysWantOwnTabBar"][1]["funcname"] = "GetWindowAlwaysWantOwnTabBar" -defs["igGetWindowAlwaysWantOwnTabBar"][1]["location"] = "imgui_internal:2857" +defs["igGetWindowAlwaysWantOwnTabBar"][1]["location"] = "imgui_internal:3194" defs["igGetWindowAlwaysWantOwnTabBar"][1]["namespace"] = "ImGui" defs["igGetWindowAlwaysWantOwnTabBar"][1]["ov_cimguiname"] = "igGetWindowAlwaysWantOwnTabBar" defs["igGetWindowAlwaysWantOwnTabBar"][1]["ret"] = "bool" @@ -17169,7 +17977,7 @@ defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" defs["igGetWindowContentRegionMax"][1]["defaults"] = {} defs["igGetWindowContentRegionMax"][1]["funcname"] = "GetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][1]["location"] = "imgui:397" +defs["igGetWindowContentRegionMax"][1]["location"] = "imgui:392" defs["igGetWindowContentRegionMax"][1]["namespace"] = "ImGui" defs["igGetWindowContentRegionMax"][1]["nonUDT"] = 1 defs["igGetWindowContentRegionMax"][1]["ov_cimguiname"] = "igGetWindowContentRegionMax" @@ -17189,7 +17997,7 @@ defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" defs["igGetWindowContentRegionMin"][1]["defaults"] = {} defs["igGetWindowContentRegionMin"][1]["funcname"] = "GetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][1]["location"] = "imgui:396" +defs["igGetWindowContentRegionMin"][1]["location"] = "imgui:391" defs["igGetWindowContentRegionMin"][1]["namespace"] = "ImGui" defs["igGetWindowContentRegionMin"][1]["nonUDT"] = 1 defs["igGetWindowContentRegionMin"][1]["ov_cimguiname"] = "igGetWindowContentRegionMin" @@ -17206,7 +18014,7 @@ defs["igGetWindowDockID"][1]["call_args"] = "()" defs["igGetWindowDockID"][1]["cimguiname"] = "igGetWindowDockID" defs["igGetWindowDockID"][1]["defaults"] = {} defs["igGetWindowDockID"][1]["funcname"] = "GetWindowDockID" -defs["igGetWindowDockID"][1]["location"] = "imgui:822" +defs["igGetWindowDockID"][1]["location"] = "imgui:819" defs["igGetWindowDockID"][1]["namespace"] = "ImGui" defs["igGetWindowDockID"][1]["ov_cimguiname"] = "igGetWindowDockID" defs["igGetWindowDockID"][1]["ret"] = "ImGuiID" @@ -17222,7 +18030,7 @@ defs["igGetWindowDockNode"][1]["call_args"] = "()" defs["igGetWindowDockNode"][1]["cimguiname"] = "igGetWindowDockNode" defs["igGetWindowDockNode"][1]["defaults"] = {} defs["igGetWindowDockNode"][1]["funcname"] = "GetWindowDockNode" -defs["igGetWindowDockNode"][1]["location"] = "imgui_internal:2856" +defs["igGetWindowDockNode"][1]["location"] = "imgui_internal:3193" defs["igGetWindowDockNode"][1]["namespace"] = "ImGui" defs["igGetWindowDockNode"][1]["ov_cimguiname"] = "igGetWindowDockNode" defs["igGetWindowDockNode"][1]["ret"] = "ImGuiDockNode*" @@ -17238,7 +18046,7 @@ defs["igGetWindowDpiScale"][1]["call_args"] = "()" defs["igGetWindowDpiScale"][1]["cimguiname"] = "igGetWindowDpiScale" defs["igGetWindowDpiScale"][1]["defaults"] = {} defs["igGetWindowDpiScale"][1]["funcname"] = "GetWindowDpiScale" -defs["igGetWindowDpiScale"][1]["location"] = "imgui:364" +defs["igGetWindowDpiScale"][1]["location"] = "imgui:358" defs["igGetWindowDpiScale"][1]["namespace"] = "ImGui" defs["igGetWindowDpiScale"][1]["ov_cimguiname"] = "igGetWindowDpiScale" defs["igGetWindowDpiScale"][1]["ret"] = "float" @@ -17254,7 +18062,7 @@ defs["igGetWindowDrawList"][1]["call_args"] = "()" defs["igGetWindowDrawList"][1]["cimguiname"] = "igGetWindowDrawList" defs["igGetWindowDrawList"][1]["defaults"] = {} defs["igGetWindowDrawList"][1]["funcname"] = "GetWindowDrawList" -defs["igGetWindowDrawList"][1]["location"] = "imgui:363" +defs["igGetWindowDrawList"][1]["location"] = "imgui:357" defs["igGetWindowDrawList"][1]["namespace"] = "ImGui" defs["igGetWindowDrawList"][1]["ov_cimguiname"] = "igGetWindowDrawList" defs["igGetWindowDrawList"][1]["ret"] = "ImDrawList*" @@ -17270,7 +18078,7 @@ defs["igGetWindowHeight"][1]["call_args"] = "()" defs["igGetWindowHeight"][1]["cimguiname"] = "igGetWindowHeight" defs["igGetWindowHeight"][1]["defaults"] = {} defs["igGetWindowHeight"][1]["funcname"] = "GetWindowHeight" -defs["igGetWindowHeight"][1]["location"] = "imgui:368" +defs["igGetWindowHeight"][1]["location"] = "imgui:362" defs["igGetWindowHeight"][1]["namespace"] = "ImGui" defs["igGetWindowHeight"][1]["ov_cimguiname"] = "igGetWindowHeight" defs["igGetWindowHeight"][1]["ret"] = "float" @@ -17289,7 +18097,7 @@ defs["igGetWindowPos"][1]["call_args"] = "()" defs["igGetWindowPos"][1]["cimguiname"] = "igGetWindowPos" defs["igGetWindowPos"][1]["defaults"] = {} defs["igGetWindowPos"][1]["funcname"] = "GetWindowPos" -defs["igGetWindowPos"][1]["location"] = "imgui:365" +defs["igGetWindowPos"][1]["location"] = "imgui:359" defs["igGetWindowPos"][1]["namespace"] = "ImGui" defs["igGetWindowPos"][1]["nonUDT"] = 1 defs["igGetWindowPos"][1]["ov_cimguiname"] = "igGetWindowPos" @@ -17312,7 +18120,7 @@ defs["igGetWindowResizeBorderID"][1]["call_args"] = "(window,dir)" defs["igGetWindowResizeBorderID"][1]["cimguiname"] = "igGetWindowResizeBorderID" defs["igGetWindowResizeBorderID"][1]["defaults"] = {} defs["igGetWindowResizeBorderID"][1]["funcname"] = "GetWindowResizeBorderID" -defs["igGetWindowResizeBorderID"][1]["location"] = "imgui_internal:3013" +defs["igGetWindowResizeBorderID"][1]["location"] = "imgui_internal:3361" defs["igGetWindowResizeBorderID"][1]["namespace"] = "ImGui" defs["igGetWindowResizeBorderID"][1]["ov_cimguiname"] = "igGetWindowResizeBorderID" defs["igGetWindowResizeBorderID"][1]["ret"] = "ImGuiID" @@ -17334,7 +18142,7 @@ defs["igGetWindowResizeCornerID"][1]["call_args"] = "(window,n)" defs["igGetWindowResizeCornerID"][1]["cimguiname"] = "igGetWindowResizeCornerID" defs["igGetWindowResizeCornerID"][1]["defaults"] = {} defs["igGetWindowResizeCornerID"][1]["funcname"] = "GetWindowResizeCornerID" -defs["igGetWindowResizeCornerID"][1]["location"] = "imgui_internal:3012" +defs["igGetWindowResizeCornerID"][1]["location"] = "imgui_internal:3360" defs["igGetWindowResizeCornerID"][1]["namespace"] = "ImGui" defs["igGetWindowResizeCornerID"][1]["ov_cimguiname"] = "igGetWindowResizeCornerID" defs["igGetWindowResizeCornerID"][1]["ret"] = "ImGuiID" @@ -17356,7 +18164,7 @@ defs["igGetWindowScrollbarID"][1]["call_args"] = "(window,axis)" defs["igGetWindowScrollbarID"][1]["cimguiname"] = "igGetWindowScrollbarID" defs["igGetWindowScrollbarID"][1]["defaults"] = {} defs["igGetWindowScrollbarID"][1]["funcname"] = "GetWindowScrollbarID" -defs["igGetWindowScrollbarID"][1]["location"] = "imgui_internal:3011" +defs["igGetWindowScrollbarID"][1]["location"] = "imgui_internal:3359" defs["igGetWindowScrollbarID"][1]["namespace"] = "ImGui" defs["igGetWindowScrollbarID"][1]["ov_cimguiname"] = "igGetWindowScrollbarID" defs["igGetWindowScrollbarID"][1]["ret"] = "ImGuiID" @@ -17381,7 +18189,7 @@ defs["igGetWindowScrollbarRect"][1]["call_args"] = "(window,axis)" defs["igGetWindowScrollbarRect"][1]["cimguiname"] = "igGetWindowScrollbarRect" defs["igGetWindowScrollbarRect"][1]["defaults"] = {} defs["igGetWindowScrollbarRect"][1]["funcname"] = "GetWindowScrollbarRect" -defs["igGetWindowScrollbarRect"][1]["location"] = "imgui_internal:3010" +defs["igGetWindowScrollbarRect"][1]["location"] = "imgui_internal:3358" defs["igGetWindowScrollbarRect"][1]["namespace"] = "ImGui" defs["igGetWindowScrollbarRect"][1]["nonUDT"] = 1 defs["igGetWindowScrollbarRect"][1]["ov_cimguiname"] = "igGetWindowScrollbarRect" @@ -17401,7 +18209,7 @@ defs["igGetWindowSize"][1]["call_args"] = "()" defs["igGetWindowSize"][1]["cimguiname"] = "igGetWindowSize" defs["igGetWindowSize"][1]["defaults"] = {} defs["igGetWindowSize"][1]["funcname"] = "GetWindowSize" -defs["igGetWindowSize"][1]["location"] = "imgui:366" +defs["igGetWindowSize"][1]["location"] = "imgui:360" defs["igGetWindowSize"][1]["namespace"] = "ImGui" defs["igGetWindowSize"][1]["nonUDT"] = 1 defs["igGetWindowSize"][1]["ov_cimguiname"] = "igGetWindowSize" @@ -17418,7 +18226,7 @@ defs["igGetWindowViewport"][1]["call_args"] = "()" defs["igGetWindowViewport"][1]["cimguiname"] = "igGetWindowViewport" defs["igGetWindowViewport"][1]["defaults"] = {} defs["igGetWindowViewport"][1]["funcname"] = "GetWindowViewport" -defs["igGetWindowViewport"][1]["location"] = "imgui:369" +defs["igGetWindowViewport"][1]["location"] = "imgui:363" defs["igGetWindowViewport"][1]["namespace"] = "ImGui" defs["igGetWindowViewport"][1]["ov_cimguiname"] = "igGetWindowViewport" defs["igGetWindowViewport"][1]["ret"] = "ImGuiViewport*" @@ -17434,7 +18242,7 @@ defs["igGetWindowWidth"][1]["call_args"] = "()" defs["igGetWindowWidth"][1]["cimguiname"] = "igGetWindowWidth" defs["igGetWindowWidth"][1]["defaults"] = {} defs["igGetWindowWidth"][1]["funcname"] = "GetWindowWidth" -defs["igGetWindowWidth"][1]["location"] = "imgui:367" +defs["igGetWindowWidth"][1]["location"] = "imgui:361" defs["igGetWindowWidth"][1]["namespace"] = "ImGui" defs["igGetWindowWidth"][1]["ov_cimguiname"] = "igGetWindowWidth" defs["igGetWindowWidth"][1]["ret"] = "float" @@ -17453,8 +18261,8 @@ defs["igImAbs"][1]["call_args"] = "(x)" defs["igImAbs"][1]["cimguiname"] = "igImAbs" defs["igImAbs"][1]["defaults"] = {} defs["igImAbs"][1]["funcname"] = "ImAbs" -defs["igImAbs"][1]["location"] = "imgui_internal:423" -defs["igImAbs"][1]["ov_cimguiname"] = "igImAbsInt" +defs["igImAbs"][1]["location"] = "imgui_internal:444" +defs["igImAbs"][1]["ov_cimguiname"] = "igImAbs_Int" defs["igImAbs"][1]["ret"] = "int" defs["igImAbs"][1]["signature"] = "(int)" defs["igImAbs"][1]["stname"] = "" @@ -17469,8 +18277,8 @@ defs["igImAbs"][2]["call_args"] = "(x)" defs["igImAbs"][2]["cimguiname"] = "igImAbs" defs["igImAbs"][2]["defaults"] = {} defs["igImAbs"][2]["funcname"] = "ImAbs" -defs["igImAbs"][2]["location"] = "imgui_internal:424" -defs["igImAbs"][2]["ov_cimguiname"] = "igImAbsFloat" +defs["igImAbs"][2]["location"] = "imgui_internal:445" +defs["igImAbs"][2]["ov_cimguiname"] = "igImAbs_Float" defs["igImAbs"][2]["ret"] = "float" defs["igImAbs"][2]["signature"] = "(float)" defs["igImAbs"][2]["stname"] = "" @@ -17485,8 +18293,8 @@ defs["igImAbs"][3]["call_args"] = "(x)" defs["igImAbs"][3]["cimguiname"] = "igImAbs" defs["igImAbs"][3]["defaults"] = {} defs["igImAbs"][3]["funcname"] = "ImAbs" -defs["igImAbs"][3]["location"] = "imgui_internal:425" -defs["igImAbs"][3]["ov_cimguiname"] = "igImAbsdouble" +defs["igImAbs"][3]["location"] = "imgui_internal:446" +defs["igImAbs"][3]["ov_cimguiname"] = "igImAbs_double" defs["igImAbs"][3]["ret"] = "double" defs["igImAbs"][3]["signature"] = "(double)" defs["igImAbs"][3]["stname"] = "" @@ -17508,7 +18316,7 @@ defs["igImAlphaBlendColors"][1]["call_args"] = "(col_a,col_b)" defs["igImAlphaBlendColors"][1]["cimguiname"] = "igImAlphaBlendColors" defs["igImAlphaBlendColors"][1]["defaults"] = {} defs["igImAlphaBlendColors"][1]["funcname"] = "ImAlphaBlendColors" -defs["igImAlphaBlendColors"][1]["location"] = "imgui_internal:322" +defs["igImAlphaBlendColors"][1]["location"] = "imgui_internal:334" defs["igImAlphaBlendColors"][1]["ov_cimguiname"] = "igImAlphaBlendColors" defs["igImAlphaBlendColors"][1]["ret"] = "ImU32" defs["igImAlphaBlendColors"][1]["signature"] = "(ImU32,ImU32)" @@ -17541,7 +18349,7 @@ defs["igImBezierCubicCalc"][1]["call_args"] = "(p1,p2,p3,p4,t)" defs["igImBezierCubicCalc"][1]["cimguiname"] = "igImBezierCubicCalc" defs["igImBezierCubicCalc"][1]["defaults"] = {} defs["igImBezierCubicCalc"][1]["funcname"] = "ImBezierCubicCalc" -defs["igImBezierCubicCalc"][1]["location"] = "imgui_internal:467" +defs["igImBezierCubicCalc"][1]["location"] = "imgui_internal:489" defs["igImBezierCubicCalc"][1]["nonUDT"] = 1 defs["igImBezierCubicCalc"][1]["ov_cimguiname"] = "igImBezierCubicCalc" defs["igImBezierCubicCalc"][1]["ret"] = "void" @@ -17578,7 +18386,7 @@ defs["igImBezierCubicClosestPoint"][1]["call_args"] = "(p1,p2,p3,p4,p,num_segmen defs["igImBezierCubicClosestPoint"][1]["cimguiname"] = "igImBezierCubicClosestPoint" defs["igImBezierCubicClosestPoint"][1]["defaults"] = {} defs["igImBezierCubicClosestPoint"][1]["funcname"] = "ImBezierCubicClosestPoint" -defs["igImBezierCubicClosestPoint"][1]["location"] = "imgui_internal:468" +defs["igImBezierCubicClosestPoint"][1]["location"] = "imgui_internal:490" defs["igImBezierCubicClosestPoint"][1]["nonUDT"] = 1 defs["igImBezierCubicClosestPoint"][1]["ov_cimguiname"] = "igImBezierCubicClosestPoint" defs["igImBezierCubicClosestPoint"][1]["ret"] = "void" @@ -17615,7 +18423,7 @@ defs["igImBezierCubicClosestPointCasteljau"][1]["call_args"] = "(p1,p2,p3,p4,p,t defs["igImBezierCubicClosestPointCasteljau"][1]["cimguiname"] = "igImBezierCubicClosestPointCasteljau" defs["igImBezierCubicClosestPointCasteljau"][1]["defaults"] = {} defs["igImBezierCubicClosestPointCasteljau"][1]["funcname"] = "ImBezierCubicClosestPointCasteljau" -defs["igImBezierCubicClosestPointCasteljau"][1]["location"] = "imgui_internal:469" +defs["igImBezierCubicClosestPointCasteljau"][1]["location"] = "imgui_internal:491" defs["igImBezierCubicClosestPointCasteljau"][1]["nonUDT"] = 1 defs["igImBezierCubicClosestPointCasteljau"][1]["ov_cimguiname"] = "igImBezierCubicClosestPointCasteljau" defs["igImBezierCubicClosestPointCasteljau"][1]["ret"] = "void" @@ -17646,7 +18454,7 @@ defs["igImBezierQuadraticCalc"][1]["call_args"] = "(p1,p2,p3,t)" defs["igImBezierQuadraticCalc"][1]["cimguiname"] = "igImBezierQuadraticCalc" defs["igImBezierQuadraticCalc"][1]["defaults"] = {} defs["igImBezierQuadraticCalc"][1]["funcname"] = "ImBezierQuadraticCalc" -defs["igImBezierQuadraticCalc"][1]["location"] = "imgui_internal:470" +defs["igImBezierQuadraticCalc"][1]["location"] = "imgui_internal:492" defs["igImBezierQuadraticCalc"][1]["nonUDT"] = 1 defs["igImBezierQuadraticCalc"][1]["ov_cimguiname"] = "igImBezierQuadraticCalc" defs["igImBezierQuadraticCalc"][1]["ret"] = "void" @@ -17668,7 +18476,7 @@ defs["igImBitArrayClearBit"][1]["call_args"] = "(arr,n)" defs["igImBitArrayClearBit"][1]["cimguiname"] = "igImBitArrayClearBit" defs["igImBitArrayClearBit"][1]["defaults"] = {} defs["igImBitArrayClearBit"][1]["funcname"] = "ImBitArrayClearBit" -defs["igImBitArrayClearBit"][1]["location"] = "imgui_internal:538" +defs["igImBitArrayClearBit"][1]["location"] = "imgui_internal:560" defs["igImBitArrayClearBit"][1]["ov_cimguiname"] = "igImBitArrayClearBit" defs["igImBitArrayClearBit"][1]["ret"] = "void" defs["igImBitArrayClearBit"][1]["signature"] = "(ImU32*,int)" @@ -17689,7 +18497,7 @@ defs["igImBitArraySetBit"][1]["call_args"] = "(arr,n)" defs["igImBitArraySetBit"][1]["cimguiname"] = "igImBitArraySetBit" defs["igImBitArraySetBit"][1]["defaults"] = {} defs["igImBitArraySetBit"][1]["funcname"] = "ImBitArraySetBit" -defs["igImBitArraySetBit"][1]["location"] = "imgui_internal:539" +defs["igImBitArraySetBit"][1]["location"] = "imgui_internal:561" defs["igImBitArraySetBit"][1]["ov_cimguiname"] = "igImBitArraySetBit" defs["igImBitArraySetBit"][1]["ret"] = "void" defs["igImBitArraySetBit"][1]["signature"] = "(ImU32*,int)" @@ -17713,7 +18521,7 @@ defs["igImBitArraySetBitRange"][1]["call_args"] = "(arr,n,n2)" defs["igImBitArraySetBitRange"][1]["cimguiname"] = "igImBitArraySetBitRange" defs["igImBitArraySetBitRange"][1]["defaults"] = {} defs["igImBitArraySetBitRange"][1]["funcname"] = "ImBitArraySetBitRange" -defs["igImBitArraySetBitRange"][1]["location"] = "imgui_internal:540" +defs["igImBitArraySetBitRange"][1]["location"] = "imgui_internal:562" defs["igImBitArraySetBitRange"][1]["ov_cimguiname"] = "igImBitArraySetBitRange" defs["igImBitArraySetBitRange"][1]["ret"] = "void" defs["igImBitArraySetBitRange"][1]["signature"] = "(ImU32*,int,int)" @@ -17734,7 +18542,7 @@ defs["igImBitArrayTestBit"][1]["call_args"] = "(arr,n)" defs["igImBitArrayTestBit"][1]["cimguiname"] = "igImBitArrayTestBit" defs["igImBitArrayTestBit"][1]["defaults"] = {} defs["igImBitArrayTestBit"][1]["funcname"] = "ImBitArrayTestBit" -defs["igImBitArrayTestBit"][1]["location"] = "imgui_internal:537" +defs["igImBitArrayTestBit"][1]["location"] = "imgui_internal:559" defs["igImBitArrayTestBit"][1]["ov_cimguiname"] = "igImBitArrayTestBit" defs["igImBitArrayTestBit"][1]["ret"] = "bool" defs["igImBitArrayTestBit"][1]["signature"] = "(const ImU32*,int)" @@ -17752,7 +18560,7 @@ defs["igImCharIsBlankA"][1]["call_args"] = "(c)" defs["igImCharIsBlankA"][1]["cimguiname"] = "igImCharIsBlankA" defs["igImCharIsBlankA"][1]["defaults"] = {} defs["igImCharIsBlankA"][1]["funcname"] = "ImCharIsBlankA" -defs["igImCharIsBlankA"][1]["location"] = "imgui_internal:348" +defs["igImCharIsBlankA"][1]["location"] = "imgui_internal:356" defs["igImCharIsBlankA"][1]["ov_cimguiname"] = "igImCharIsBlankA" defs["igImCharIsBlankA"][1]["ret"] = "bool" defs["igImCharIsBlankA"][1]["signature"] = "(char)" @@ -17770,7 +18578,7 @@ defs["igImCharIsBlankW"][1]["call_args"] = "(c)" defs["igImCharIsBlankW"][1]["cimguiname"] = "igImCharIsBlankW" defs["igImCharIsBlankW"][1]["defaults"] = {} defs["igImCharIsBlankW"][1]["funcname"] = "ImCharIsBlankW" -defs["igImCharIsBlankW"][1]["location"] = "imgui_internal:349" +defs["igImCharIsBlankW"][1]["location"] = "imgui_internal:357" defs["igImCharIsBlankW"][1]["ov_cimguiname"] = "igImCharIsBlankW" defs["igImCharIsBlankW"][1]["ret"] = "bool" defs["igImCharIsBlankW"][1]["signature"] = "(unsigned int)" @@ -17797,7 +18605,7 @@ defs["igImClamp"][1]["call_args"] = "(v,mn,mx)" defs["igImClamp"][1]["cimguiname"] = "igImClamp" defs["igImClamp"][1]["defaults"] = {} defs["igImClamp"][1]["funcname"] = "ImClamp" -defs["igImClamp"][1]["location"] = "imgui_internal:447" +defs["igImClamp"][1]["location"] = "imgui_internal:468" defs["igImClamp"][1]["nonUDT"] = 1 defs["igImClamp"][1]["ov_cimguiname"] = "igImClamp" defs["igImClamp"][1]["ret"] = "void" @@ -17819,7 +18627,7 @@ defs["igImDot"][1]["call_args"] = "(a,b)" defs["igImDot"][1]["cimguiname"] = "igImDot" defs["igImDot"][1]["defaults"] = {} defs["igImDot"][1]["funcname"] = "ImDot" -defs["igImDot"][1]["location"] = "imgui_internal:459" +defs["igImDot"][1]["location"] = "imgui_internal:481" defs["igImDot"][1]["ov_cimguiname"] = "igImDot" defs["igImDot"][1]["ret"] = "float" defs["igImDot"][1]["signature"] = "(const ImVec2,const ImVec2)" @@ -17837,7 +18645,7 @@ defs["igImFileClose"][1]["call_args"] = "(file)" defs["igImFileClose"][1]["cimguiname"] = "igImFileClose" defs["igImFileClose"][1]["defaults"] = {} defs["igImFileClose"][1]["funcname"] = "ImFileClose" -defs["igImFileClose"][1]["location"] = "imgui_internal:396" +defs["igImFileClose"][1]["location"] = "imgui_internal:417" defs["igImFileClose"][1]["ov_cimguiname"] = "igImFileClose" defs["igImFileClose"][1]["ret"] = "bool" defs["igImFileClose"][1]["signature"] = "(ImFileHandle)" @@ -17855,7 +18663,7 @@ defs["igImFileGetSize"][1]["call_args"] = "(file)" defs["igImFileGetSize"][1]["cimguiname"] = "igImFileGetSize" defs["igImFileGetSize"][1]["defaults"] = {} defs["igImFileGetSize"][1]["funcname"] = "ImFileGetSize" -defs["igImFileGetSize"][1]["location"] = "imgui_internal:397" +defs["igImFileGetSize"][1]["location"] = "imgui_internal:418" defs["igImFileGetSize"][1]["ov_cimguiname"] = "igImFileGetSize" defs["igImFileGetSize"][1]["ret"] = "ImU64" defs["igImFileGetSize"][1]["signature"] = "(ImFileHandle)" @@ -17884,7 +18692,7 @@ defs["igImFileLoadToMemory"][1]["defaults"] = {} defs["igImFileLoadToMemory"][1]["defaults"]["out_file_size"] = "NULL" defs["igImFileLoadToMemory"][1]["defaults"]["padding_bytes"] = "0" defs["igImFileLoadToMemory"][1]["funcname"] = "ImFileLoadToMemory" -defs["igImFileLoadToMemory"][1]["location"] = "imgui_internal:403" +defs["igImFileLoadToMemory"][1]["location"] = "imgui_internal:424" defs["igImFileLoadToMemory"][1]["ov_cimguiname"] = "igImFileLoadToMemory" defs["igImFileLoadToMemory"][1]["ret"] = "void*" defs["igImFileLoadToMemory"][1]["signature"] = "(const char*,const char*,size_t*,int)" @@ -17905,7 +18713,7 @@ defs["igImFileOpen"][1]["call_args"] = "(filename,mode)" defs["igImFileOpen"][1]["cimguiname"] = "igImFileOpen" defs["igImFileOpen"][1]["defaults"] = {} defs["igImFileOpen"][1]["funcname"] = "ImFileOpen" -defs["igImFileOpen"][1]["location"] = "imgui_internal:395" +defs["igImFileOpen"][1]["location"] = "imgui_internal:416" defs["igImFileOpen"][1]["ov_cimguiname"] = "igImFileOpen" defs["igImFileOpen"][1]["ret"] = "ImFileHandle" defs["igImFileOpen"][1]["signature"] = "(const char*,const char*)" @@ -17932,7 +18740,7 @@ defs["igImFileRead"][1]["call_args"] = "(data,size,count,file)" defs["igImFileRead"][1]["cimguiname"] = "igImFileRead" defs["igImFileRead"][1]["defaults"] = {} defs["igImFileRead"][1]["funcname"] = "ImFileRead" -defs["igImFileRead"][1]["location"] = "imgui_internal:398" +defs["igImFileRead"][1]["location"] = "imgui_internal:419" defs["igImFileRead"][1]["ov_cimguiname"] = "igImFileRead" defs["igImFileRead"][1]["ret"] = "ImU64" defs["igImFileRead"][1]["signature"] = "(void*,ImU64,ImU64,ImFileHandle)" @@ -17959,7 +18767,7 @@ defs["igImFileWrite"][1]["call_args"] = "(data,size,count,file)" defs["igImFileWrite"][1]["cimguiname"] = "igImFileWrite" defs["igImFileWrite"][1]["defaults"] = {} defs["igImFileWrite"][1]["funcname"] = "ImFileWrite" -defs["igImFileWrite"][1]["location"] = "imgui_internal:399" +defs["igImFileWrite"][1]["location"] = "imgui_internal:420" defs["igImFileWrite"][1]["ov_cimguiname"] = "igImFileWrite" defs["igImFileWrite"][1]["ret"] = "ImU64" defs["igImFileWrite"][1]["signature"] = "(const void*,ImU64,ImU64,ImFileHandle)" @@ -17977,8 +18785,8 @@ defs["igImFloor"][1]["call_args"] = "(f)" defs["igImFloor"][1]["cimguiname"] = "igImFloor" defs["igImFloor"][1]["defaults"] = {} defs["igImFloor"][1]["funcname"] = "ImFloor" -defs["igImFloor"][1]["location"] = "imgui_internal:455" -defs["igImFloor"][1]["ov_cimguiname"] = "igImFloorFloat" +defs["igImFloor"][1]["location"] = "imgui_internal:476" +defs["igImFloor"][1]["ov_cimguiname"] = "igImFloor_Float" defs["igImFloor"][1]["ret"] = "float" defs["igImFloor"][1]["signature"] = "(float)" defs["igImFloor"][1]["stname"] = "" @@ -17996,9 +18804,9 @@ defs["igImFloor"][2]["call_args"] = "(v)" defs["igImFloor"][2]["cimguiname"] = "igImFloor" defs["igImFloor"][2]["defaults"] = {} defs["igImFloor"][2]["funcname"] = "ImFloor" -defs["igImFloor"][2]["location"] = "imgui_internal:457" +defs["igImFloor"][2]["location"] = "imgui_internal:478" defs["igImFloor"][2]["nonUDT"] = 1 -defs["igImFloor"][2]["ov_cimguiname"] = "igImFloorVec2" +defs["igImFloor"][2]["ov_cimguiname"] = "igImFloor_Vec2" defs["igImFloor"][2]["ret"] = "void" defs["igImFloor"][2]["signature"] = "(const ImVec2)" defs["igImFloor"][2]["stname"] = "" @@ -18016,11 +18824,32 @@ defs["igImFloorSigned"][1]["call_args"] = "(f)" defs["igImFloorSigned"][1]["cimguiname"] = "igImFloorSigned" defs["igImFloorSigned"][1]["defaults"] = {} defs["igImFloorSigned"][1]["funcname"] = "ImFloorSigned" -defs["igImFloorSigned"][1]["location"] = "imgui_internal:456" -defs["igImFloorSigned"][1]["ov_cimguiname"] = "igImFloorSigned" +defs["igImFloorSigned"][1]["location"] = "imgui_internal:477" +defs["igImFloorSigned"][1]["ov_cimguiname"] = "igImFloorSigned_Float" defs["igImFloorSigned"][1]["ret"] = "float" defs["igImFloorSigned"][1]["signature"] = "(float)" defs["igImFloorSigned"][1]["stname"] = "" +defs["igImFloorSigned"][2] = {} +defs["igImFloorSigned"][2]["args"] = "(ImVec2 *pOut,const ImVec2 v)" +defs["igImFloorSigned"][2]["argsT"] = {} +defs["igImFloorSigned"][2]["argsT"][1] = {} +defs["igImFloorSigned"][2]["argsT"][1]["name"] = "pOut" +defs["igImFloorSigned"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igImFloorSigned"][2]["argsT"][2] = {} +defs["igImFloorSigned"][2]["argsT"][2]["name"] = "v" +defs["igImFloorSigned"][2]["argsT"][2]["type"] = "const ImVec2" +defs["igImFloorSigned"][2]["argsoriginal"] = "(const ImVec2& v)" +defs["igImFloorSigned"][2]["call_args"] = "(v)" +defs["igImFloorSigned"][2]["cimguiname"] = "igImFloorSigned" +defs["igImFloorSigned"][2]["defaults"] = {} +defs["igImFloorSigned"][2]["funcname"] = "ImFloorSigned" +defs["igImFloorSigned"][2]["location"] = "imgui_internal:479" +defs["igImFloorSigned"][2]["nonUDT"] = 1 +defs["igImFloorSigned"][2]["ov_cimguiname"] = "igImFloorSigned_Vec2" +defs["igImFloorSigned"][2]["ret"] = "void" +defs["igImFloorSigned"][2]["signature"] = "(const ImVec2)" +defs["igImFloorSigned"][2]["stname"] = "" +defs["igImFloorSigned"]["(const ImVec2)"] = defs["igImFloorSigned"][2] defs["igImFloorSigned"]["(float)"] = defs["igImFloorSigned"][1] defs["igImFontAtlasBuildFinish"] = {} defs["igImFontAtlasBuildFinish"][1] = {} @@ -18034,7 +18863,7 @@ defs["igImFontAtlasBuildFinish"][1]["call_args"] = "(atlas)" defs["igImFontAtlasBuildFinish"][1]["cimguiname"] = "igImFontAtlasBuildFinish" defs["igImFontAtlasBuildFinish"][1]["defaults"] = {} defs["igImFontAtlasBuildFinish"][1]["funcname"] = "ImFontAtlasBuildFinish" -defs["igImFontAtlasBuildFinish"][1]["location"] = "imgui_internal:3111" +defs["igImFontAtlasBuildFinish"][1]["location"] = "imgui_internal:3488" defs["igImFontAtlasBuildFinish"][1]["ov_cimguiname"] = "igImFontAtlasBuildFinish" defs["igImFontAtlasBuildFinish"][1]["ret"] = "void" defs["igImFontAtlasBuildFinish"][1]["signature"] = "(ImFontAtlas*)" @@ -18052,7 +18881,7 @@ defs["igImFontAtlasBuildInit"][1]["call_args"] = "(atlas)" defs["igImFontAtlasBuildInit"][1]["cimguiname"] = "igImFontAtlasBuildInit" defs["igImFontAtlasBuildInit"][1]["defaults"] = {} defs["igImFontAtlasBuildInit"][1]["funcname"] = "ImFontAtlasBuildInit" -defs["igImFontAtlasBuildInit"][1]["location"] = "imgui_internal:3108" +defs["igImFontAtlasBuildInit"][1]["location"] = "imgui_internal:3485" defs["igImFontAtlasBuildInit"][1]["ov_cimguiname"] = "igImFontAtlasBuildInit" defs["igImFontAtlasBuildInit"][1]["ret"] = "void" defs["igImFontAtlasBuildInit"][1]["signature"] = "(ImFontAtlas*)" @@ -18073,7 +18902,7 @@ defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["call_args"] = "(out_table, defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["cimguiname"] = "igImFontAtlasBuildMultiplyCalcLookupTable" defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["defaults"] = {} defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["funcname"] = "ImFontAtlasBuildMultiplyCalcLookupTable" -defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["location"] = "imgui_internal:3114" +defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["location"] = "imgui_internal:3491" defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["ov_cimguiname"] = "igImFontAtlasBuildMultiplyCalcLookupTable" defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["ret"] = "void" defs["igImFontAtlasBuildMultiplyCalcLookupTable"][1]["signature"] = "(unsigned char[256],float)" @@ -18109,7 +18938,7 @@ defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["call_args"] = "(table,pixels,x, defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["cimguiname"] = "igImFontAtlasBuildMultiplyRectAlpha8" defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["defaults"] = {} defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["funcname"] = "ImFontAtlasBuildMultiplyRectAlpha8" -defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["location"] = "imgui_internal:3115" +defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["location"] = "imgui_internal:3492" defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["ov_cimguiname"] = "igImFontAtlasBuildMultiplyRectAlpha8" defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["ret"] = "void" defs["igImFontAtlasBuildMultiplyRectAlpha8"][1]["signature"] = "(const unsigned char[256],unsigned char*,int,int,int,int,int)" @@ -18130,7 +18959,7 @@ defs["igImFontAtlasBuildPackCustomRects"][1]["call_args"] = "(atlas,stbrp_contex defs["igImFontAtlasBuildPackCustomRects"][1]["cimguiname"] = "igImFontAtlasBuildPackCustomRects" defs["igImFontAtlasBuildPackCustomRects"][1]["defaults"] = {} defs["igImFontAtlasBuildPackCustomRects"][1]["funcname"] = "ImFontAtlasBuildPackCustomRects" -defs["igImFontAtlasBuildPackCustomRects"][1]["location"] = "imgui_internal:3110" +defs["igImFontAtlasBuildPackCustomRects"][1]["location"] = "imgui_internal:3487" defs["igImFontAtlasBuildPackCustomRects"][1]["ov_cimguiname"] = "igImFontAtlasBuildPackCustomRects" defs["igImFontAtlasBuildPackCustomRects"][1]["ret"] = "void" defs["igImFontAtlasBuildPackCustomRects"][1]["signature"] = "(ImFontAtlas*,void*)" @@ -18169,7 +18998,7 @@ defs["igImFontAtlasBuildRender32bppRectFromString"][1]["call_args"] = "(atlas,x, defs["igImFontAtlasBuildRender32bppRectFromString"][1]["cimguiname"] = "igImFontAtlasBuildRender32bppRectFromString" defs["igImFontAtlasBuildRender32bppRectFromString"][1]["defaults"] = {} defs["igImFontAtlasBuildRender32bppRectFromString"][1]["funcname"] = "ImFontAtlasBuildRender32bppRectFromString" -defs["igImFontAtlasBuildRender32bppRectFromString"][1]["location"] = "imgui_internal:3113" +defs["igImFontAtlasBuildRender32bppRectFromString"][1]["location"] = "imgui_internal:3490" defs["igImFontAtlasBuildRender32bppRectFromString"][1]["ov_cimguiname"] = "igImFontAtlasBuildRender32bppRectFromString" defs["igImFontAtlasBuildRender32bppRectFromString"][1]["ret"] = "void" defs["igImFontAtlasBuildRender32bppRectFromString"][1]["signature"] = "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned int)" @@ -18208,7 +19037,7 @@ defs["igImFontAtlasBuildRender8bppRectFromString"][1]["call_args"] = "(atlas,x,y defs["igImFontAtlasBuildRender8bppRectFromString"][1]["cimguiname"] = "igImFontAtlasBuildRender8bppRectFromString" defs["igImFontAtlasBuildRender8bppRectFromString"][1]["defaults"] = {} defs["igImFontAtlasBuildRender8bppRectFromString"][1]["funcname"] = "ImFontAtlasBuildRender8bppRectFromString" -defs["igImFontAtlasBuildRender8bppRectFromString"][1]["location"] = "imgui_internal:3112" +defs["igImFontAtlasBuildRender8bppRectFromString"][1]["location"] = "imgui_internal:3489" defs["igImFontAtlasBuildRender8bppRectFromString"][1]["ov_cimguiname"] = "igImFontAtlasBuildRender8bppRectFromString" defs["igImFontAtlasBuildRender8bppRectFromString"][1]["ret"] = "void" defs["igImFontAtlasBuildRender8bppRectFromString"][1]["signature"] = "(ImFontAtlas*,int,int,int,int,const char*,char,unsigned char)" @@ -18238,7 +19067,7 @@ defs["igImFontAtlasBuildSetupFont"][1]["call_args"] = "(atlas,font,font_config,a defs["igImFontAtlasBuildSetupFont"][1]["cimguiname"] = "igImFontAtlasBuildSetupFont" defs["igImFontAtlasBuildSetupFont"][1]["defaults"] = {} defs["igImFontAtlasBuildSetupFont"][1]["funcname"] = "ImFontAtlasBuildSetupFont" -defs["igImFontAtlasBuildSetupFont"][1]["location"] = "imgui_internal:3109" +defs["igImFontAtlasBuildSetupFont"][1]["location"] = "imgui_internal:3486" defs["igImFontAtlasBuildSetupFont"][1]["ov_cimguiname"] = "igImFontAtlasBuildSetupFont" defs["igImFontAtlasBuildSetupFont"][1]["ret"] = "void" defs["igImFontAtlasBuildSetupFont"][1]["signature"] = "(ImFontAtlas*,ImFont*,ImFontConfig*,float,float)" @@ -18253,7 +19082,7 @@ defs["igImFontAtlasGetBuilderForStbTruetype"][1]["call_args"] = "()" defs["igImFontAtlasGetBuilderForStbTruetype"][1]["cimguiname"] = "igImFontAtlasGetBuilderForStbTruetype" defs["igImFontAtlasGetBuilderForStbTruetype"][1]["defaults"] = {} defs["igImFontAtlasGetBuilderForStbTruetype"][1]["funcname"] = "ImFontAtlasGetBuilderForStbTruetype" -defs["igImFontAtlasGetBuilderForStbTruetype"][1]["location"] = "imgui_internal:3107" +defs["igImFontAtlasGetBuilderForStbTruetype"][1]["location"] = "imgui_internal:3483" defs["igImFontAtlasGetBuilderForStbTruetype"][1]["ov_cimguiname"] = "igImFontAtlasGetBuilderForStbTruetype" defs["igImFontAtlasGetBuilderForStbTruetype"][1]["ret"] = "const ImFontBuilderIO*" defs["igImFontAtlasGetBuilderForStbTruetype"][1]["signature"] = "()" @@ -18281,12 +19110,67 @@ defs["igImFormatString"][1]["cimguiname"] = "igImFormatString" defs["igImFormatString"][1]["defaults"] = {} defs["igImFormatString"][1]["funcname"] = "ImFormatString" defs["igImFormatString"][1]["isvararg"] = "...)" -defs["igImFormatString"][1]["location"] = "imgui_internal:342" +defs["igImFormatString"][1]["location"] = "imgui_internal:361" defs["igImFormatString"][1]["ov_cimguiname"] = "igImFormatString" defs["igImFormatString"][1]["ret"] = "int" defs["igImFormatString"][1]["signature"] = "(char*,size_t,const char*,...)" defs["igImFormatString"][1]["stname"] = "" defs["igImFormatString"]["(char*,size_t,const char*,...)"] = defs["igImFormatString"][1] +defs["igImFormatStringToTempBuffer"] = {} +defs["igImFormatStringToTempBuffer"][1] = {} +defs["igImFormatStringToTempBuffer"][1]["args"] = "(const char** out_buf,const char** out_buf_end,const char* fmt,...)" +defs["igImFormatStringToTempBuffer"][1]["argsT"] = {} +defs["igImFormatStringToTempBuffer"][1]["argsT"][1] = {} +defs["igImFormatStringToTempBuffer"][1]["argsT"][1]["name"] = "out_buf" +defs["igImFormatStringToTempBuffer"][1]["argsT"][1]["type"] = "const char**" +defs["igImFormatStringToTempBuffer"][1]["argsT"][2] = {} +defs["igImFormatStringToTempBuffer"][1]["argsT"][2]["name"] = "out_buf_end" +defs["igImFormatStringToTempBuffer"][1]["argsT"][2]["type"] = "const char**" +defs["igImFormatStringToTempBuffer"][1]["argsT"][3] = {} +defs["igImFormatStringToTempBuffer"][1]["argsT"][3]["name"] = "fmt" +defs["igImFormatStringToTempBuffer"][1]["argsT"][3]["type"] = "const char*" +defs["igImFormatStringToTempBuffer"][1]["argsT"][4] = {} +defs["igImFormatStringToTempBuffer"][1]["argsT"][4]["name"] = "..." +defs["igImFormatStringToTempBuffer"][1]["argsT"][4]["type"] = "..." +defs["igImFormatStringToTempBuffer"][1]["argsoriginal"] = "(const char** out_buf,const char** out_buf_end,const char* fmt,...)" +defs["igImFormatStringToTempBuffer"][1]["call_args"] = "(out_buf,out_buf_end,fmt,...)" +defs["igImFormatStringToTempBuffer"][1]["cimguiname"] = "igImFormatStringToTempBuffer" +defs["igImFormatStringToTempBuffer"][1]["defaults"] = {} +defs["igImFormatStringToTempBuffer"][1]["funcname"] = "ImFormatStringToTempBuffer" +defs["igImFormatStringToTempBuffer"][1]["isvararg"] = "...)" +defs["igImFormatStringToTempBuffer"][1]["location"] = "imgui_internal:363" +defs["igImFormatStringToTempBuffer"][1]["ov_cimguiname"] = "igImFormatStringToTempBuffer" +defs["igImFormatStringToTempBuffer"][1]["ret"] = "void" +defs["igImFormatStringToTempBuffer"][1]["signature"] = "(const char**,const char**,const char*,...)" +defs["igImFormatStringToTempBuffer"][1]["stname"] = "" +defs["igImFormatStringToTempBuffer"]["(const char**,const char**,const char*,...)"] = defs["igImFormatStringToTempBuffer"][1] +defs["igImFormatStringToTempBufferV"] = {} +defs["igImFormatStringToTempBufferV"][1] = {} +defs["igImFormatStringToTempBufferV"][1]["args"] = "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)" +defs["igImFormatStringToTempBufferV"][1]["argsT"] = {} +defs["igImFormatStringToTempBufferV"][1]["argsT"][1] = {} +defs["igImFormatStringToTempBufferV"][1]["argsT"][1]["name"] = "out_buf" +defs["igImFormatStringToTempBufferV"][1]["argsT"][1]["type"] = "const char**" +defs["igImFormatStringToTempBufferV"][1]["argsT"][2] = {} +defs["igImFormatStringToTempBufferV"][1]["argsT"][2]["name"] = "out_buf_end" +defs["igImFormatStringToTempBufferV"][1]["argsT"][2]["type"] = "const char**" +defs["igImFormatStringToTempBufferV"][1]["argsT"][3] = {} +defs["igImFormatStringToTempBufferV"][1]["argsT"][3]["name"] = "fmt" +defs["igImFormatStringToTempBufferV"][1]["argsT"][3]["type"] = "const char*" +defs["igImFormatStringToTempBufferV"][1]["argsT"][4] = {} +defs["igImFormatStringToTempBufferV"][1]["argsT"][4]["name"] = "args" +defs["igImFormatStringToTempBufferV"][1]["argsT"][4]["type"] = "va_list" +defs["igImFormatStringToTempBufferV"][1]["argsoriginal"] = "(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args)" +defs["igImFormatStringToTempBufferV"][1]["call_args"] = "(out_buf,out_buf_end,fmt,args)" +defs["igImFormatStringToTempBufferV"][1]["cimguiname"] = "igImFormatStringToTempBufferV" +defs["igImFormatStringToTempBufferV"][1]["defaults"] = {} +defs["igImFormatStringToTempBufferV"][1]["funcname"] = "ImFormatStringToTempBufferV" +defs["igImFormatStringToTempBufferV"][1]["location"] = "imgui_internal:364" +defs["igImFormatStringToTempBufferV"][1]["ov_cimguiname"] = "igImFormatStringToTempBufferV" +defs["igImFormatStringToTempBufferV"][1]["ret"] = "void" +defs["igImFormatStringToTempBufferV"][1]["signature"] = "(const char**,const char**,const char*,va_list)" +defs["igImFormatStringToTempBufferV"][1]["stname"] = "" +defs["igImFormatStringToTempBufferV"]["(const char**,const char**,const char*,va_list)"] = defs["igImFormatStringToTempBufferV"][1] defs["igImFormatStringV"] = {} defs["igImFormatStringV"][1] = {} defs["igImFormatStringV"][1]["args"] = "(char* buf,size_t buf_size,const char* fmt,va_list args)" @@ -18308,7 +19192,7 @@ defs["igImFormatStringV"][1]["call_args"] = "(buf,buf_size,fmt,args)" defs["igImFormatStringV"][1]["cimguiname"] = "igImFormatStringV" defs["igImFormatStringV"][1]["defaults"] = {} defs["igImFormatStringV"][1]["funcname"] = "ImFormatStringV" -defs["igImFormatStringV"][1]["location"] = "imgui_internal:343" +defs["igImFormatStringV"][1]["location"] = "imgui_internal:362" defs["igImFormatStringV"][1]["ov_cimguiname"] = "igImFormatStringV" defs["igImFormatStringV"][1]["ret"] = "int" defs["igImFormatStringV"][1]["signature"] = "(char*,size_t,const char*,va_list)" @@ -18329,7 +19213,7 @@ defs["igImGetDirQuadrantFromDelta"][1]["call_args"] = "(dx,dy)" defs["igImGetDirQuadrantFromDelta"][1]["cimguiname"] = "igImGetDirQuadrantFromDelta" defs["igImGetDirQuadrantFromDelta"][1]["defaults"] = {} defs["igImGetDirQuadrantFromDelta"][1]["funcname"] = "ImGetDirQuadrantFromDelta" -defs["igImGetDirQuadrantFromDelta"][1]["location"] = "imgui_internal:476" +defs["igImGetDirQuadrantFromDelta"][1]["location"] = "imgui_internal:498" defs["igImGetDirQuadrantFromDelta"][1]["ov_cimguiname"] = "igImGetDirQuadrantFromDelta" defs["igImGetDirQuadrantFromDelta"][1]["ret"] = "ImGuiDir" defs["igImGetDirQuadrantFromDelta"][1]["signature"] = "(float,float)" @@ -18354,7 +19238,7 @@ defs["igImHashData"][1]["cimguiname"] = "igImHashData" defs["igImHashData"][1]["defaults"] = {} defs["igImHashData"][1]["defaults"]["seed"] = "0" defs["igImHashData"][1]["funcname"] = "ImHashData" -defs["igImHashData"][1]["location"] = "imgui_internal:310" +defs["igImHashData"][1]["location"] = "imgui_internal:325" defs["igImHashData"][1]["ov_cimguiname"] = "igImHashData" defs["igImHashData"][1]["ret"] = "ImGuiID" defs["igImHashData"][1]["signature"] = "(const void*,size_t,ImU32)" @@ -18380,7 +19264,7 @@ defs["igImHashStr"][1]["defaults"] = {} defs["igImHashStr"][1]["defaults"]["data_size"] = "0" defs["igImHashStr"][1]["defaults"]["seed"] = "0" defs["igImHashStr"][1]["funcname"] = "ImHashStr" -defs["igImHashStr"][1]["location"] = "imgui_internal:311" +defs["igImHashStr"][1]["location"] = "imgui_internal:326" defs["igImHashStr"][1]["ov_cimguiname"] = "igImHashStr" defs["igImHashStr"][1]["ret"] = "ImGuiID" defs["igImHashStr"][1]["signature"] = "(const char*,size_t,ImU32)" @@ -18401,7 +19285,7 @@ defs["igImInvLength"][1]["call_args"] = "(lhs,fail_value)" defs["igImInvLength"][1]["cimguiname"] = "igImInvLength" defs["igImInvLength"][1]["defaults"] = {} defs["igImInvLength"][1]["funcname"] = "ImInvLength" -defs["igImInvLength"][1]["location"] = "imgui_internal:454" +defs["igImInvLength"][1]["location"] = "imgui_internal:475" defs["igImInvLength"][1]["ov_cimguiname"] = "igImInvLength" defs["igImInvLength"][1]["ret"] = "float" defs["igImInvLength"][1]["signature"] = "(const ImVec2,float)" @@ -18419,7 +19303,7 @@ defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["call_args"] = "(f)" defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["cimguiname"] = "igImIsFloatAboveGuaranteedIntegerPrecision" defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["defaults"] = {} defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["funcname"] = "ImIsFloatAboveGuaranteedIntegerPrecision" -defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["location"] = "imgui_internal:463" +defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["location"] = "imgui_internal:485" defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["ov_cimguiname"] = "igImIsFloatAboveGuaranteedIntegerPrecision" defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["ret"] = "bool" defs["igImIsFloatAboveGuaranteedIntegerPrecision"][1]["signature"] = "(float)" @@ -18437,8 +19321,8 @@ defs["igImIsPowerOfTwo"][1]["call_args"] = "(v)" defs["igImIsPowerOfTwo"][1]["cimguiname"] = "igImIsPowerOfTwo" defs["igImIsPowerOfTwo"][1]["defaults"] = {} defs["igImIsPowerOfTwo"][1]["funcname"] = "ImIsPowerOfTwo" -defs["igImIsPowerOfTwo"][1]["location"] = "imgui_internal:325" -defs["igImIsPowerOfTwo"][1]["ov_cimguiname"] = "igImIsPowerOfTwoInt" +defs["igImIsPowerOfTwo"][1]["location"] = "imgui_internal:337" +defs["igImIsPowerOfTwo"][1]["ov_cimguiname"] = "igImIsPowerOfTwo_Int" defs["igImIsPowerOfTwo"][1]["ret"] = "bool" defs["igImIsPowerOfTwo"][1]["signature"] = "(int)" defs["igImIsPowerOfTwo"][1]["stname"] = "" @@ -18453,8 +19337,8 @@ defs["igImIsPowerOfTwo"][2]["call_args"] = "(v)" defs["igImIsPowerOfTwo"][2]["cimguiname"] = "igImIsPowerOfTwo" defs["igImIsPowerOfTwo"][2]["defaults"] = {} defs["igImIsPowerOfTwo"][2]["funcname"] = "ImIsPowerOfTwo" -defs["igImIsPowerOfTwo"][2]["location"] = "imgui_internal:326" -defs["igImIsPowerOfTwo"][2]["ov_cimguiname"] = "igImIsPowerOfTwoU64" +defs["igImIsPowerOfTwo"][2]["location"] = "imgui_internal:338" +defs["igImIsPowerOfTwo"][2]["ov_cimguiname"] = "igImIsPowerOfTwo_U64" defs["igImIsPowerOfTwo"][2]["ret"] = "bool" defs["igImIsPowerOfTwo"][2]["signature"] = "(ImU64)" defs["igImIsPowerOfTwo"][2]["stname"] = "" @@ -18472,8 +19356,8 @@ defs["igImLengthSqr"][1]["call_args"] = "(lhs)" defs["igImLengthSqr"][1]["cimguiname"] = "igImLengthSqr" defs["igImLengthSqr"][1]["defaults"] = {} defs["igImLengthSqr"][1]["funcname"] = "ImLengthSqr" -defs["igImLengthSqr"][1]["location"] = "imgui_internal:452" -defs["igImLengthSqr"][1]["ov_cimguiname"] = "igImLengthSqrVec2" +defs["igImLengthSqr"][1]["location"] = "imgui_internal:473" +defs["igImLengthSqr"][1]["ov_cimguiname"] = "igImLengthSqr_Vec2" defs["igImLengthSqr"][1]["ret"] = "float" defs["igImLengthSqr"][1]["signature"] = "(const ImVec2)" defs["igImLengthSqr"][1]["stname"] = "" @@ -18488,8 +19372,8 @@ defs["igImLengthSqr"][2]["call_args"] = "(lhs)" defs["igImLengthSqr"][2]["cimguiname"] = "igImLengthSqr" defs["igImLengthSqr"][2]["defaults"] = {} defs["igImLengthSqr"][2]["funcname"] = "ImLengthSqr" -defs["igImLengthSqr"][2]["location"] = "imgui_internal:453" -defs["igImLengthSqr"][2]["ov_cimguiname"] = "igImLengthSqrVec4" +defs["igImLengthSqr"][2]["location"] = "imgui_internal:474" +defs["igImLengthSqr"][2]["ov_cimguiname"] = "igImLengthSqr_Vec4" defs["igImLengthSqr"][2]["ret"] = "float" defs["igImLengthSqr"][2]["signature"] = "(const ImVec4)" defs["igImLengthSqr"][2]["stname"] = "" @@ -18516,9 +19400,9 @@ defs["igImLerp"][1]["call_args"] = "(a,b,t)" defs["igImLerp"][1]["cimguiname"] = "igImLerp" defs["igImLerp"][1]["defaults"] = {} defs["igImLerp"][1]["funcname"] = "ImLerp" -defs["igImLerp"][1]["location"] = "imgui_internal:448" +defs["igImLerp"][1]["location"] = "imgui_internal:469" defs["igImLerp"][1]["nonUDT"] = 1 -defs["igImLerp"][1]["ov_cimguiname"] = "igImLerpVec2Float" +defs["igImLerp"][1]["ov_cimguiname"] = "igImLerp_Vec2Float" defs["igImLerp"][1]["ret"] = "void" defs["igImLerp"][1]["signature"] = "(const ImVec2,const ImVec2,float)" defs["igImLerp"][1]["stname"] = "" @@ -18542,9 +19426,9 @@ defs["igImLerp"][2]["call_args"] = "(a,b,t)" defs["igImLerp"][2]["cimguiname"] = "igImLerp" defs["igImLerp"][2]["defaults"] = {} defs["igImLerp"][2]["funcname"] = "ImLerp" -defs["igImLerp"][2]["location"] = "imgui_internal:449" +defs["igImLerp"][2]["location"] = "imgui_internal:470" defs["igImLerp"][2]["nonUDT"] = 1 -defs["igImLerp"][2]["ov_cimguiname"] = "igImLerpVec2Vec2" +defs["igImLerp"][2]["ov_cimguiname"] = "igImLerp_Vec2Vec2" defs["igImLerp"][2]["ret"] = "void" defs["igImLerp"][2]["signature"] = "(const ImVec2,const ImVec2,const ImVec2)" defs["igImLerp"][2]["stname"] = "" @@ -18568,9 +19452,9 @@ defs["igImLerp"][3]["call_args"] = "(a,b,t)" defs["igImLerp"][3]["cimguiname"] = "igImLerp" defs["igImLerp"][3]["defaults"] = {} defs["igImLerp"][3]["funcname"] = "ImLerp" -defs["igImLerp"][3]["location"] = "imgui_internal:450" +defs["igImLerp"][3]["location"] = "imgui_internal:471" defs["igImLerp"][3]["nonUDT"] = 1 -defs["igImLerp"][3]["ov_cimguiname"] = "igImLerpVec4" +defs["igImLerp"][3]["ov_cimguiname"] = "igImLerp_Vec4" defs["igImLerp"][3]["ret"] = "void" defs["igImLerp"][3]["signature"] = "(const ImVec4,const ImVec4,float)" defs["igImLerp"][3]["stname"] = "" @@ -18598,7 +19482,7 @@ defs["igImLineClosestPoint"][1]["call_args"] = "(a,b,p)" defs["igImLineClosestPoint"][1]["cimguiname"] = "igImLineClosestPoint" defs["igImLineClosestPoint"][1]["defaults"] = {} defs["igImLineClosestPoint"][1]["funcname"] = "ImLineClosestPoint" -defs["igImLineClosestPoint"][1]["location"] = "imgui_internal:471" +defs["igImLineClosestPoint"][1]["location"] = "imgui_internal:493" defs["igImLineClosestPoint"][1]["nonUDT"] = 1 defs["igImLineClosestPoint"][1]["ov_cimguiname"] = "igImLineClosestPoint" defs["igImLineClosestPoint"][1]["ret"] = "void" @@ -18623,7 +19507,7 @@ defs["igImLinearSweep"][1]["call_args"] = "(current,target,speed)" defs["igImLinearSweep"][1]["cimguiname"] = "igImLinearSweep" defs["igImLinearSweep"][1]["defaults"] = {} defs["igImLinearSweep"][1]["funcname"] = "ImLinearSweep" -defs["igImLinearSweep"][1]["location"] = "imgui_internal:461" +defs["igImLinearSweep"][1]["location"] = "imgui_internal:483" defs["igImLinearSweep"][1]["ov_cimguiname"] = "igImLinearSweep" defs["igImLinearSweep"][1]["ret"] = "float" defs["igImLinearSweep"][1]["signature"] = "(float,float,float)" @@ -18641,8 +19525,8 @@ defs["igImLog"][1]["call_args"] = "(x)" defs["igImLog"][1]["cimguiname"] = "igImLog" defs["igImLog"][1]["defaults"] = {} defs["igImLog"][1]["funcname"] = "ImLog" -defs["igImLog"][1]["location"] = "imgui_internal:421" -defs["igImLog"][1]["ov_cimguiname"] = "igImLogFloat" +defs["igImLog"][1]["location"] = "imgui_internal:442" +defs["igImLog"][1]["ov_cimguiname"] = "igImLog_Float" defs["igImLog"][1]["ret"] = "float" defs["igImLog"][1]["signature"] = "(float)" defs["igImLog"][1]["stname"] = "" @@ -18657,8 +19541,8 @@ defs["igImLog"][2]["call_args"] = "(x)" defs["igImLog"][2]["cimguiname"] = "igImLog" defs["igImLog"][2]["defaults"] = {} defs["igImLog"][2]["funcname"] = "ImLog" -defs["igImLog"][2]["location"] = "imgui_internal:422" -defs["igImLog"][2]["ov_cimguiname"] = "igImLogdouble" +defs["igImLog"][2]["location"] = "imgui_internal:443" +defs["igImLog"][2]["ov_cimguiname"] = "igImLog_double" defs["igImLog"][2]["ret"] = "double" defs["igImLog"][2]["signature"] = "(double)" defs["igImLog"][2]["stname"] = "" @@ -18682,7 +19566,7 @@ defs["igImMax"][1]["call_args"] = "(lhs,rhs)" defs["igImMax"][1]["cimguiname"] = "igImMax" defs["igImMax"][1]["defaults"] = {} defs["igImMax"][1]["funcname"] = "ImMax" -defs["igImMax"][1]["location"] = "imgui_internal:446" +defs["igImMax"][1]["location"] = "imgui_internal:467" defs["igImMax"][1]["nonUDT"] = 1 defs["igImMax"][1]["ov_cimguiname"] = "igImMax" defs["igImMax"][1]["ret"] = "void" @@ -18707,7 +19591,7 @@ defs["igImMin"][1]["call_args"] = "(lhs,rhs)" defs["igImMin"][1]["cimguiname"] = "igImMin" defs["igImMin"][1]["defaults"] = {} defs["igImMin"][1]["funcname"] = "ImMin" -defs["igImMin"][1]["location"] = "imgui_internal:445" +defs["igImMin"][1]["location"] = "imgui_internal:466" defs["igImMin"][1]["nonUDT"] = 1 defs["igImMin"][1]["ov_cimguiname"] = "igImMin" defs["igImMin"][1]["ret"] = "void" @@ -18729,7 +19613,7 @@ defs["igImModPositive"][1]["call_args"] = "(a,b)" defs["igImModPositive"][1]["cimguiname"] = "igImModPositive" defs["igImModPositive"][1]["defaults"] = {} defs["igImModPositive"][1]["funcname"] = "ImModPositive" -defs["igImModPositive"][1]["location"] = "imgui_internal:458" +defs["igImModPositive"][1]["location"] = "imgui_internal:480" defs["igImModPositive"][1]["ov_cimguiname"] = "igImModPositive" defs["igImModPositive"][1]["ret"] = "int" defs["igImModPositive"][1]["signature"] = "(int,int)" @@ -18753,7 +19637,7 @@ defs["igImMul"][1]["call_args"] = "(lhs,rhs)" defs["igImMul"][1]["cimguiname"] = "igImMul" defs["igImMul"][1]["defaults"] = {} defs["igImMul"][1]["funcname"] = "ImMul" -defs["igImMul"][1]["location"] = "imgui_internal:462" +defs["igImMul"][1]["location"] = "imgui_internal:484" defs["igImMul"][1]["nonUDT"] = 1 defs["igImMul"][1]["ov_cimguiname"] = "igImMul" defs["igImMul"][1]["ret"] = "void" @@ -18772,7 +19656,7 @@ defs["igImParseFormatFindEnd"][1]["call_args"] = "(format)" defs["igImParseFormatFindEnd"][1]["cimguiname"] = "igImParseFormatFindEnd" defs["igImParseFormatFindEnd"][1]["defaults"] = {} defs["igImParseFormatFindEnd"][1]["funcname"] = "ImParseFormatFindEnd" -defs["igImParseFormatFindEnd"][1]["location"] = "imgui_internal:345" +defs["igImParseFormatFindEnd"][1]["location"] = "imgui_internal:366" defs["igImParseFormatFindEnd"][1]["ov_cimguiname"] = "igImParseFormatFindEnd" defs["igImParseFormatFindEnd"][1]["ret"] = "const char*" defs["igImParseFormatFindEnd"][1]["signature"] = "(const char*)" @@ -18790,7 +19674,7 @@ defs["igImParseFormatFindStart"][1]["call_args"] = "(format)" defs["igImParseFormatFindStart"][1]["cimguiname"] = "igImParseFormatFindStart" defs["igImParseFormatFindStart"][1]["defaults"] = {} defs["igImParseFormatFindStart"][1]["funcname"] = "ImParseFormatFindStart" -defs["igImParseFormatFindStart"][1]["location"] = "imgui_internal:344" +defs["igImParseFormatFindStart"][1]["location"] = "imgui_internal:365" defs["igImParseFormatFindStart"][1]["ov_cimguiname"] = "igImParseFormatFindStart" defs["igImParseFormatFindStart"][1]["ret"] = "const char*" defs["igImParseFormatFindStart"][1]["signature"] = "(const char*)" @@ -18811,12 +19695,60 @@ defs["igImParseFormatPrecision"][1]["call_args"] = "(format,default_value)" defs["igImParseFormatPrecision"][1]["cimguiname"] = "igImParseFormatPrecision" defs["igImParseFormatPrecision"][1]["defaults"] = {} defs["igImParseFormatPrecision"][1]["funcname"] = "ImParseFormatPrecision" -defs["igImParseFormatPrecision"][1]["location"] = "imgui_internal:347" +defs["igImParseFormatPrecision"][1]["location"] = "imgui_internal:370" defs["igImParseFormatPrecision"][1]["ov_cimguiname"] = "igImParseFormatPrecision" defs["igImParseFormatPrecision"][1]["ret"] = "int" defs["igImParseFormatPrecision"][1]["signature"] = "(const char*,int)" defs["igImParseFormatPrecision"][1]["stname"] = "" defs["igImParseFormatPrecision"]["(const char*,int)"] = defs["igImParseFormatPrecision"][1] +defs["igImParseFormatSanitizeForPrinting"] = {} +defs["igImParseFormatSanitizeForPrinting"][1] = {} +defs["igImParseFormatSanitizeForPrinting"][1]["args"] = "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)" +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"] = {} +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][1] = {} +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][1]["name"] = "fmt_in" +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][1]["type"] = "const char*" +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][2] = {} +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][2]["name"] = "fmt_out" +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][2]["type"] = "char*" +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][3] = {} +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][3]["name"] = "fmt_out_size" +defs["igImParseFormatSanitizeForPrinting"][1]["argsT"][3]["type"] = "size_t" +defs["igImParseFormatSanitizeForPrinting"][1]["argsoriginal"] = "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)" +defs["igImParseFormatSanitizeForPrinting"][1]["call_args"] = "(fmt_in,fmt_out,fmt_out_size)" +defs["igImParseFormatSanitizeForPrinting"][1]["cimguiname"] = "igImParseFormatSanitizeForPrinting" +defs["igImParseFormatSanitizeForPrinting"][1]["defaults"] = {} +defs["igImParseFormatSanitizeForPrinting"][1]["funcname"] = "ImParseFormatSanitizeForPrinting" +defs["igImParseFormatSanitizeForPrinting"][1]["location"] = "imgui_internal:368" +defs["igImParseFormatSanitizeForPrinting"][1]["ov_cimguiname"] = "igImParseFormatSanitizeForPrinting" +defs["igImParseFormatSanitizeForPrinting"][1]["ret"] = "void" +defs["igImParseFormatSanitizeForPrinting"][1]["signature"] = "(const char*,char*,size_t)" +defs["igImParseFormatSanitizeForPrinting"][1]["stname"] = "" +defs["igImParseFormatSanitizeForPrinting"]["(const char*,char*,size_t)"] = defs["igImParseFormatSanitizeForPrinting"][1] +defs["igImParseFormatSanitizeForScanning"] = {} +defs["igImParseFormatSanitizeForScanning"][1] = {} +defs["igImParseFormatSanitizeForScanning"][1]["args"] = "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)" +defs["igImParseFormatSanitizeForScanning"][1]["argsT"] = {} +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][1] = {} +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][1]["name"] = "fmt_in" +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][1]["type"] = "const char*" +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][2] = {} +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][2]["name"] = "fmt_out" +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][2]["type"] = "char*" +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][3] = {} +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][3]["name"] = "fmt_out_size" +defs["igImParseFormatSanitizeForScanning"][1]["argsT"][3]["type"] = "size_t" +defs["igImParseFormatSanitizeForScanning"][1]["argsoriginal"] = "(const char* fmt_in,char* fmt_out,size_t fmt_out_size)" +defs["igImParseFormatSanitizeForScanning"][1]["call_args"] = "(fmt_in,fmt_out,fmt_out_size)" +defs["igImParseFormatSanitizeForScanning"][1]["cimguiname"] = "igImParseFormatSanitizeForScanning" +defs["igImParseFormatSanitizeForScanning"][1]["defaults"] = {} +defs["igImParseFormatSanitizeForScanning"][1]["funcname"] = "ImParseFormatSanitizeForScanning" +defs["igImParseFormatSanitizeForScanning"][1]["location"] = "imgui_internal:369" +defs["igImParseFormatSanitizeForScanning"][1]["ov_cimguiname"] = "igImParseFormatSanitizeForScanning" +defs["igImParseFormatSanitizeForScanning"][1]["ret"] = "const char*" +defs["igImParseFormatSanitizeForScanning"][1]["signature"] = "(const char*,char*,size_t)" +defs["igImParseFormatSanitizeForScanning"][1]["stname"] = "" +defs["igImParseFormatSanitizeForScanning"]["(const char*,char*,size_t)"] = defs["igImParseFormatSanitizeForScanning"][1] defs["igImParseFormatTrimDecorations"] = {} defs["igImParseFormatTrimDecorations"][1] = {} defs["igImParseFormatTrimDecorations"][1]["args"] = "(const char* format,char* buf,size_t buf_size)" @@ -18835,7 +19767,7 @@ defs["igImParseFormatTrimDecorations"][1]["call_args"] = "(format,buf,buf_size)" defs["igImParseFormatTrimDecorations"][1]["cimguiname"] = "igImParseFormatTrimDecorations" defs["igImParseFormatTrimDecorations"][1]["defaults"] = {} defs["igImParseFormatTrimDecorations"][1]["funcname"] = "ImParseFormatTrimDecorations" -defs["igImParseFormatTrimDecorations"][1]["location"] = "imgui_internal:346" +defs["igImParseFormatTrimDecorations"][1]["location"] = "imgui_internal:367" defs["igImParseFormatTrimDecorations"][1]["ov_cimguiname"] = "igImParseFormatTrimDecorations" defs["igImParseFormatTrimDecorations"][1]["ret"] = "const char*" defs["igImParseFormatTrimDecorations"][1]["signature"] = "(const char*,char*,size_t)" @@ -18856,8 +19788,8 @@ defs["igImPow"][1]["call_args"] = "(x,y)" defs["igImPow"][1]["cimguiname"] = "igImPow" defs["igImPow"][1]["defaults"] = {} defs["igImPow"][1]["funcname"] = "ImPow" -defs["igImPow"][1]["location"] = "imgui_internal:419" -defs["igImPow"][1]["ov_cimguiname"] = "igImPowFloat" +defs["igImPow"][1]["location"] = "imgui_internal:440" +defs["igImPow"][1]["ov_cimguiname"] = "igImPow_Float" defs["igImPow"][1]["ret"] = "float" defs["igImPow"][1]["signature"] = "(float,float)" defs["igImPow"][1]["stname"] = "" @@ -18875,8 +19807,8 @@ defs["igImPow"][2]["call_args"] = "(x,y)" defs["igImPow"][2]["cimguiname"] = "igImPow" defs["igImPow"][2]["defaults"] = {} defs["igImPow"][2]["funcname"] = "ImPow" -defs["igImPow"][2]["location"] = "imgui_internal:420" -defs["igImPow"][2]["ov_cimguiname"] = "igImPowdouble" +defs["igImPow"][2]["location"] = "imgui_internal:441" +defs["igImPow"][2]["ov_cimguiname"] = "igImPow_double" defs["igImPow"][2]["ret"] = "double" defs["igImPow"][2]["signature"] = "(double,double)" defs["igImPow"][2]["stname"] = "" @@ -18905,7 +19837,7 @@ defs["igImQsort"][1]["call_args"] = "(base,count,size_of_element,compare_func)" defs["igImQsort"][1]["cimguiname"] = "igImQsort" defs["igImQsort"][1]["defaults"] = {} defs["igImQsort"][1]["funcname"] = "ImQsort" -defs["igImQsort"][1]["location"] = "imgui_internal:318" +defs["igImQsort"][1]["location"] = "imgui_internal:330" defs["igImQsort"][1]["ov_cimguiname"] = "igImQsort" defs["igImQsort"][1]["ret"] = "void" defs["igImQsort"][1]["signature"] = "(void*,size_t,size_t,int(*)(void const*,void const*))" @@ -18932,7 +19864,7 @@ defs["igImRotate"][1]["call_args"] = "(v,cos_a,sin_a)" defs["igImRotate"][1]["cimguiname"] = "igImRotate" defs["igImRotate"][1]["defaults"] = {} defs["igImRotate"][1]["funcname"] = "ImRotate" -defs["igImRotate"][1]["location"] = "imgui_internal:460" +defs["igImRotate"][1]["location"] = "imgui_internal:482" defs["igImRotate"][1]["nonUDT"] = 1 defs["igImRotate"][1]["ov_cimguiname"] = "igImRotate" defs["igImRotate"][1]["ret"] = "void" @@ -18951,8 +19883,8 @@ defs["igImRsqrt"][1]["call_args"] = "(x)" defs["igImRsqrt"][1]["cimguiname"] = "igImRsqrt" defs["igImRsqrt"][1]["defaults"] = {} defs["igImRsqrt"][1]["funcname"] = "ImRsqrt" -defs["igImRsqrt"][1]["location"] = "imgui_internal:429" -defs["igImRsqrt"][1]["ov_cimguiname"] = "igImRsqrtFloat" +defs["igImRsqrt"][1]["location"] = "imgui_internal:450" +defs["igImRsqrt"][1]["ov_cimguiname"] = "igImRsqrt_Float" defs["igImRsqrt"][1]["ret"] = "float" defs["igImRsqrt"][1]["signature"] = "(float)" defs["igImRsqrt"][1]["stname"] = "" @@ -18967,8 +19899,8 @@ defs["igImRsqrt"][2]["call_args"] = "(x)" defs["igImRsqrt"][2]["cimguiname"] = "igImRsqrt" defs["igImRsqrt"][2]["defaults"] = {} defs["igImRsqrt"][2]["funcname"] = "ImRsqrt" -defs["igImRsqrt"][2]["location"] = "imgui_internal:433" -defs["igImRsqrt"][2]["ov_cimguiname"] = "igImRsqrtdouble" +defs["igImRsqrt"][2]["location"] = "imgui_internal:454" +defs["igImRsqrt"][2]["ov_cimguiname"] = "igImRsqrt_double" defs["igImRsqrt"][2]["ret"] = "double" defs["igImRsqrt"][2]["signature"] = "(double)" defs["igImRsqrt"][2]["stname"] = "" @@ -18986,7 +19918,7 @@ defs["igImSaturate"][1]["call_args"] = "(f)" defs["igImSaturate"][1]["cimguiname"] = "igImSaturate" defs["igImSaturate"][1]["defaults"] = {} defs["igImSaturate"][1]["funcname"] = "ImSaturate" -defs["igImSaturate"][1]["location"] = "imgui_internal:451" +defs["igImSaturate"][1]["location"] = "imgui_internal:472" defs["igImSaturate"][1]["ov_cimguiname"] = "igImSaturate" defs["igImSaturate"][1]["ret"] = "float" defs["igImSaturate"][1]["signature"] = "(float)" @@ -19004,8 +19936,8 @@ defs["igImSign"][1]["call_args"] = "(x)" defs["igImSign"][1]["cimguiname"] = "igImSign" defs["igImSign"][1]["defaults"] = {} defs["igImSign"][1]["funcname"] = "ImSign" -defs["igImSign"][1]["location"] = "imgui_internal:426" -defs["igImSign"][1]["ov_cimguiname"] = "igImSignFloat" +defs["igImSign"][1]["location"] = "imgui_internal:447" +defs["igImSign"][1]["ov_cimguiname"] = "igImSign_Float" defs["igImSign"][1]["ret"] = "float" defs["igImSign"][1]["signature"] = "(float)" defs["igImSign"][1]["stname"] = "" @@ -19020,8 +19952,8 @@ defs["igImSign"][2]["call_args"] = "(x)" defs["igImSign"][2]["cimguiname"] = "igImSign" defs["igImSign"][2]["defaults"] = {} defs["igImSign"][2]["funcname"] = "ImSign" -defs["igImSign"][2]["location"] = "imgui_internal:427" -defs["igImSign"][2]["ov_cimguiname"] = "igImSigndouble" +defs["igImSign"][2]["location"] = "imgui_internal:448" +defs["igImSign"][2]["ov_cimguiname"] = "igImSign_double" defs["igImSign"][2]["ret"] = "double" defs["igImSign"][2]["signature"] = "(double)" defs["igImSign"][2]["stname"] = "" @@ -19039,7 +19971,7 @@ defs["igImStrSkipBlank"][1]["call_args"] = "(str)" defs["igImStrSkipBlank"][1]["cimguiname"] = "igImStrSkipBlank" defs["igImStrSkipBlank"][1]["defaults"] = {} defs["igImStrSkipBlank"][1]["funcname"] = "ImStrSkipBlank" -defs["igImStrSkipBlank"][1]["location"] = "imgui_internal:341" +defs["igImStrSkipBlank"][1]["location"] = "imgui_internal:353" defs["igImStrSkipBlank"][1]["ov_cimguiname"] = "igImStrSkipBlank" defs["igImStrSkipBlank"][1]["ret"] = "const char*" defs["igImStrSkipBlank"][1]["signature"] = "(const char*)" @@ -19057,7 +19989,7 @@ defs["igImStrTrimBlanks"][1]["call_args"] = "(str)" defs["igImStrTrimBlanks"][1]["cimguiname"] = "igImStrTrimBlanks" defs["igImStrTrimBlanks"][1]["defaults"] = {} defs["igImStrTrimBlanks"][1]["funcname"] = "ImStrTrimBlanks" -defs["igImStrTrimBlanks"][1]["location"] = "imgui_internal:340" +defs["igImStrTrimBlanks"][1]["location"] = "imgui_internal:352" defs["igImStrTrimBlanks"][1]["ov_cimguiname"] = "igImStrTrimBlanks" defs["igImStrTrimBlanks"][1]["ret"] = "void" defs["igImStrTrimBlanks"][1]["signature"] = "(char*)" @@ -19078,7 +20010,7 @@ defs["igImStrbolW"][1]["call_args"] = "(buf_mid_line,buf_begin)" defs["igImStrbolW"][1]["cimguiname"] = "igImStrbolW" defs["igImStrbolW"][1]["defaults"] = {} defs["igImStrbolW"][1]["funcname"] = "ImStrbolW" -defs["igImStrbolW"][1]["location"] = "imgui_internal:338" +defs["igImStrbolW"][1]["location"] = "imgui_internal:350" defs["igImStrbolW"][1]["ov_cimguiname"] = "igImStrbolW" defs["igImStrbolW"][1]["ret"] = "const ImWchar*" defs["igImStrbolW"][1]["signature"] = "(const ImWchar*,const ImWchar*)" @@ -19102,7 +20034,7 @@ defs["igImStrchrRange"][1]["call_args"] = "(str_begin,str_end,c)" defs["igImStrchrRange"][1]["cimguiname"] = "igImStrchrRange" defs["igImStrchrRange"][1]["defaults"] = {} defs["igImStrchrRange"][1]["funcname"] = "ImStrchrRange" -defs["igImStrchrRange"][1]["location"] = "imgui_internal:335" +defs["igImStrchrRange"][1]["location"] = "imgui_internal:347" defs["igImStrchrRange"][1]["ov_cimguiname"] = "igImStrchrRange" defs["igImStrchrRange"][1]["ret"] = "const char*" defs["igImStrchrRange"][1]["signature"] = "(const char*,const char*,char)" @@ -19120,7 +20052,7 @@ defs["igImStrdup"][1]["call_args"] = "(str)" defs["igImStrdup"][1]["cimguiname"] = "igImStrdup" defs["igImStrdup"][1]["defaults"] = {} defs["igImStrdup"][1]["funcname"] = "ImStrdup" -defs["igImStrdup"][1]["location"] = "imgui_internal:333" +defs["igImStrdup"][1]["location"] = "imgui_internal:345" defs["igImStrdup"][1]["ov_cimguiname"] = "igImStrdup" defs["igImStrdup"][1]["ret"] = "char*" defs["igImStrdup"][1]["signature"] = "(const char*)" @@ -19144,7 +20076,7 @@ defs["igImStrdupcpy"][1]["call_args"] = "(dst,p_dst_size,str)" defs["igImStrdupcpy"][1]["cimguiname"] = "igImStrdupcpy" defs["igImStrdupcpy"][1]["defaults"] = {} defs["igImStrdupcpy"][1]["funcname"] = "ImStrdupcpy" -defs["igImStrdupcpy"][1]["location"] = "imgui_internal:334" +defs["igImStrdupcpy"][1]["location"] = "imgui_internal:346" defs["igImStrdupcpy"][1]["ov_cimguiname"] = "igImStrdupcpy" defs["igImStrdupcpy"][1]["ret"] = "char*" defs["igImStrdupcpy"][1]["signature"] = "(char*,size_t*,const char*)" @@ -19165,7 +20097,7 @@ defs["igImStreolRange"][1]["call_args"] = "(str,str_end)" defs["igImStreolRange"][1]["cimguiname"] = "igImStreolRange" defs["igImStreolRange"][1]["defaults"] = {} defs["igImStreolRange"][1]["funcname"] = "ImStreolRange" -defs["igImStreolRange"][1]["location"] = "imgui_internal:337" +defs["igImStreolRange"][1]["location"] = "imgui_internal:349" defs["igImStreolRange"][1]["ov_cimguiname"] = "igImStreolRange" defs["igImStreolRange"][1]["ret"] = "const char*" defs["igImStreolRange"][1]["signature"] = "(const char*,const char*)" @@ -19186,7 +20118,7 @@ defs["igImStricmp"][1]["call_args"] = "(str1,str2)" defs["igImStricmp"][1]["cimguiname"] = "igImStricmp" defs["igImStricmp"][1]["defaults"] = {} defs["igImStricmp"][1]["funcname"] = "ImStricmp" -defs["igImStricmp"][1]["location"] = "imgui_internal:330" +defs["igImStricmp"][1]["location"] = "imgui_internal:342" defs["igImStricmp"][1]["ov_cimguiname"] = "igImStricmp" defs["igImStricmp"][1]["ret"] = "int" defs["igImStricmp"][1]["signature"] = "(const char*,const char*)" @@ -19213,7 +20145,7 @@ defs["igImStristr"][1]["call_args"] = "(haystack,haystack_end,needle,needle_end) defs["igImStristr"][1]["cimguiname"] = "igImStristr" defs["igImStristr"][1]["defaults"] = {} defs["igImStristr"][1]["funcname"] = "ImStristr" -defs["igImStristr"][1]["location"] = "imgui_internal:339" +defs["igImStristr"][1]["location"] = "imgui_internal:351" defs["igImStristr"][1]["ov_cimguiname"] = "igImStristr" defs["igImStristr"][1]["ret"] = "const char*" defs["igImStristr"][1]["signature"] = "(const char*,const char*,const char*,const char*)" @@ -19231,7 +20163,7 @@ defs["igImStrlenW"][1]["call_args"] = "(str)" defs["igImStrlenW"][1]["cimguiname"] = "igImStrlenW" defs["igImStrlenW"][1]["defaults"] = {} defs["igImStrlenW"][1]["funcname"] = "ImStrlenW" -defs["igImStrlenW"][1]["location"] = "imgui_internal:336" +defs["igImStrlenW"][1]["location"] = "imgui_internal:348" defs["igImStrlenW"][1]["ov_cimguiname"] = "igImStrlenW" defs["igImStrlenW"][1]["ret"] = "int" defs["igImStrlenW"][1]["signature"] = "(const ImWchar*)" @@ -19255,7 +20187,7 @@ defs["igImStrncpy"][1]["call_args"] = "(dst,src,count)" defs["igImStrncpy"][1]["cimguiname"] = "igImStrncpy" defs["igImStrncpy"][1]["defaults"] = {} defs["igImStrncpy"][1]["funcname"] = "ImStrncpy" -defs["igImStrncpy"][1]["location"] = "imgui_internal:332" +defs["igImStrncpy"][1]["location"] = "imgui_internal:344" defs["igImStrncpy"][1]["ov_cimguiname"] = "igImStrncpy" defs["igImStrncpy"][1]["ret"] = "void" defs["igImStrncpy"][1]["signature"] = "(char*,const char*,size_t)" @@ -19279,7 +20211,7 @@ defs["igImStrnicmp"][1]["call_args"] = "(str1,str2,count)" defs["igImStrnicmp"][1]["cimguiname"] = "igImStrnicmp" defs["igImStrnicmp"][1]["defaults"] = {} defs["igImStrnicmp"][1]["funcname"] = "ImStrnicmp" -defs["igImStrnicmp"][1]["location"] = "imgui_internal:331" +defs["igImStrnicmp"][1]["location"] = "imgui_internal:343" defs["igImStrnicmp"][1]["ov_cimguiname"] = "igImStrnicmp" defs["igImStrnicmp"][1]["ret"] = "int" defs["igImStrnicmp"][1]["signature"] = "(const char*,const char*,size_t)" @@ -19303,7 +20235,7 @@ defs["igImTextCharFromUtf8"][1]["call_args"] = "(out_char,in_text,in_text_end)" defs["igImTextCharFromUtf8"][1]["cimguiname"] = "igImTextCharFromUtf8" defs["igImTextCharFromUtf8"][1]["defaults"] = {} defs["igImTextCharFromUtf8"][1]["funcname"] = "ImTextCharFromUtf8" -defs["igImTextCharFromUtf8"][1]["location"] = "imgui_internal:354" +defs["igImTextCharFromUtf8"][1]["location"] = "imgui_internal:375" defs["igImTextCharFromUtf8"][1]["ov_cimguiname"] = "igImTextCharFromUtf8" defs["igImTextCharFromUtf8"][1]["ret"] = "int" defs["igImTextCharFromUtf8"][1]["signature"] = "(unsigned int*,const char*,const char*)" @@ -19324,7 +20256,7 @@ defs["igImTextCharToUtf8"][1]["call_args"] = "(out_buf,c)" defs["igImTextCharToUtf8"][1]["cimguiname"] = "igImTextCharToUtf8" defs["igImTextCharToUtf8"][1]["defaults"] = {} defs["igImTextCharToUtf8"][1]["funcname"] = "ImTextCharToUtf8" -defs["igImTextCharToUtf8"][1]["location"] = "imgui_internal:352" +defs["igImTextCharToUtf8"][1]["location"] = "imgui_internal:373" defs["igImTextCharToUtf8"][1]["ov_cimguiname"] = "igImTextCharToUtf8" defs["igImTextCharToUtf8"][1]["ret"] = "const char*" defs["igImTextCharToUtf8"][1]["signature"] = "(char[5],unsigned int)" @@ -19345,7 +20277,7 @@ defs["igImTextCountCharsFromUtf8"][1]["call_args"] = "(in_text,in_text_end)" defs["igImTextCountCharsFromUtf8"][1]["cimguiname"] = "igImTextCountCharsFromUtf8" defs["igImTextCountCharsFromUtf8"][1]["defaults"] = {} defs["igImTextCountCharsFromUtf8"][1]["funcname"] = "ImTextCountCharsFromUtf8" -defs["igImTextCountCharsFromUtf8"][1]["location"] = "imgui_internal:356" +defs["igImTextCountCharsFromUtf8"][1]["location"] = "imgui_internal:377" defs["igImTextCountCharsFromUtf8"][1]["ov_cimguiname"] = "igImTextCountCharsFromUtf8" defs["igImTextCountCharsFromUtf8"][1]["ret"] = "int" defs["igImTextCountCharsFromUtf8"][1]["signature"] = "(const char*,const char*)" @@ -19366,7 +20298,7 @@ defs["igImTextCountUtf8BytesFromChar"][1]["call_args"] = "(in_text,in_text_end)" defs["igImTextCountUtf8BytesFromChar"][1]["cimguiname"] = "igImTextCountUtf8BytesFromChar" defs["igImTextCountUtf8BytesFromChar"][1]["defaults"] = {} defs["igImTextCountUtf8BytesFromChar"][1]["funcname"] = "ImTextCountUtf8BytesFromChar" -defs["igImTextCountUtf8BytesFromChar"][1]["location"] = "imgui_internal:357" +defs["igImTextCountUtf8BytesFromChar"][1]["location"] = "imgui_internal:378" defs["igImTextCountUtf8BytesFromChar"][1]["ov_cimguiname"] = "igImTextCountUtf8BytesFromChar" defs["igImTextCountUtf8BytesFromChar"][1]["ret"] = "int" defs["igImTextCountUtf8BytesFromChar"][1]["signature"] = "(const char*,const char*)" @@ -19387,7 +20319,7 @@ defs["igImTextCountUtf8BytesFromStr"][1]["call_args"] = "(in_text,in_text_end)" defs["igImTextCountUtf8BytesFromStr"][1]["cimguiname"] = "igImTextCountUtf8BytesFromStr" defs["igImTextCountUtf8BytesFromStr"][1]["defaults"] = {} defs["igImTextCountUtf8BytesFromStr"][1]["funcname"] = "ImTextCountUtf8BytesFromStr" -defs["igImTextCountUtf8BytesFromStr"][1]["location"] = "imgui_internal:358" +defs["igImTextCountUtf8BytesFromStr"][1]["location"] = "imgui_internal:379" defs["igImTextCountUtf8BytesFromStr"][1]["ov_cimguiname"] = "igImTextCountUtf8BytesFromStr" defs["igImTextCountUtf8BytesFromStr"][1]["ret"] = "int" defs["igImTextCountUtf8BytesFromStr"][1]["signature"] = "(const ImWchar*,const ImWchar*)" @@ -19418,7 +20350,7 @@ defs["igImTextStrFromUtf8"][1]["cimguiname"] = "igImTextStrFromUtf8" defs["igImTextStrFromUtf8"][1]["defaults"] = {} defs["igImTextStrFromUtf8"][1]["defaults"]["in_remaining"] = "NULL" defs["igImTextStrFromUtf8"][1]["funcname"] = "ImTextStrFromUtf8" -defs["igImTextStrFromUtf8"][1]["location"] = "imgui_internal:355" +defs["igImTextStrFromUtf8"][1]["location"] = "imgui_internal:376" defs["igImTextStrFromUtf8"][1]["ov_cimguiname"] = "igImTextStrFromUtf8" defs["igImTextStrFromUtf8"][1]["ret"] = "int" defs["igImTextStrFromUtf8"][1]["signature"] = "(ImWchar*,int,const char*,const char*,const char**)" @@ -19445,12 +20377,30 @@ defs["igImTextStrToUtf8"][1]["call_args"] = "(out_buf,out_buf_size,in_text,in_te defs["igImTextStrToUtf8"][1]["cimguiname"] = "igImTextStrToUtf8" defs["igImTextStrToUtf8"][1]["defaults"] = {} defs["igImTextStrToUtf8"][1]["funcname"] = "ImTextStrToUtf8" -defs["igImTextStrToUtf8"][1]["location"] = "imgui_internal:353" +defs["igImTextStrToUtf8"][1]["location"] = "imgui_internal:374" defs["igImTextStrToUtf8"][1]["ov_cimguiname"] = "igImTextStrToUtf8" defs["igImTextStrToUtf8"][1]["ret"] = "int" defs["igImTextStrToUtf8"][1]["signature"] = "(char*,int,const ImWchar*,const ImWchar*)" defs["igImTextStrToUtf8"][1]["stname"] = "" defs["igImTextStrToUtf8"]["(char*,int,const ImWchar*,const ImWchar*)"] = defs["igImTextStrToUtf8"][1] +defs["igImToUpper"] = {} +defs["igImToUpper"][1] = {} +defs["igImToUpper"][1]["args"] = "(char c)" +defs["igImToUpper"][1]["argsT"] = {} +defs["igImToUpper"][1]["argsT"][1] = {} +defs["igImToUpper"][1]["argsT"][1]["name"] = "c" +defs["igImToUpper"][1]["argsT"][1]["type"] = "char" +defs["igImToUpper"][1]["argsoriginal"] = "(char c)" +defs["igImToUpper"][1]["call_args"] = "(c)" +defs["igImToUpper"][1]["cimguiname"] = "igImToUpper" +defs["igImToUpper"][1]["defaults"] = {} +defs["igImToUpper"][1]["funcname"] = "ImToUpper" +defs["igImToUpper"][1]["location"] = "imgui_internal:355" +defs["igImToUpper"][1]["ov_cimguiname"] = "igImToUpper" +defs["igImToUpper"][1]["ret"] = "char" +defs["igImToUpper"][1]["signature"] = "(char)" +defs["igImToUpper"][1]["stname"] = "" +defs["igImToUpper"]["(char)"] = defs["igImToUpper"][1] defs["igImTriangleArea"] = {} defs["igImTriangleArea"][1] = {} defs["igImTriangleArea"][1]["args"] = "(const ImVec2 a,const ImVec2 b,const ImVec2 c)" @@ -19469,7 +20419,7 @@ defs["igImTriangleArea"][1]["call_args"] = "(a,b,c)" defs["igImTriangleArea"][1]["cimguiname"] = "igImTriangleArea" defs["igImTriangleArea"][1]["defaults"] = {} defs["igImTriangleArea"][1]["funcname"] = "ImTriangleArea" -defs["igImTriangleArea"][1]["location"] = "imgui_internal:475" +defs["igImTriangleArea"][1]["location"] = "imgui_internal:497" defs["igImTriangleArea"][1]["ov_cimguiname"] = "igImTriangleArea" defs["igImTriangleArea"][1]["ret"] = "float" defs["igImTriangleArea"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2)" @@ -19508,7 +20458,7 @@ defs["igImTriangleBarycentricCoords"][1]["call_args"] = "(a,b,c,p,*out_u,*out_v, defs["igImTriangleBarycentricCoords"][1]["cimguiname"] = "igImTriangleBarycentricCoords" defs["igImTriangleBarycentricCoords"][1]["defaults"] = {} defs["igImTriangleBarycentricCoords"][1]["funcname"] = "ImTriangleBarycentricCoords" -defs["igImTriangleBarycentricCoords"][1]["location"] = "imgui_internal:474" +defs["igImTriangleBarycentricCoords"][1]["location"] = "imgui_internal:496" defs["igImTriangleBarycentricCoords"][1]["ov_cimguiname"] = "igImTriangleBarycentricCoords" defs["igImTriangleBarycentricCoords"][1]["ret"] = "void" defs["igImTriangleBarycentricCoords"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,float*,float*,float*)" @@ -19538,7 +20488,7 @@ defs["igImTriangleClosestPoint"][1]["call_args"] = "(a,b,c,p)" defs["igImTriangleClosestPoint"][1]["cimguiname"] = "igImTriangleClosestPoint" defs["igImTriangleClosestPoint"][1]["defaults"] = {} defs["igImTriangleClosestPoint"][1]["funcname"] = "ImTriangleClosestPoint" -defs["igImTriangleClosestPoint"][1]["location"] = "imgui_internal:473" +defs["igImTriangleClosestPoint"][1]["location"] = "imgui_internal:495" defs["igImTriangleClosestPoint"][1]["nonUDT"] = 1 defs["igImTriangleClosestPoint"][1]["ov_cimguiname"] = "igImTriangleClosestPoint" defs["igImTriangleClosestPoint"][1]["ret"] = "void" @@ -19566,7 +20516,7 @@ defs["igImTriangleContainsPoint"][1]["call_args"] = "(a,b,c,p)" defs["igImTriangleContainsPoint"][1]["cimguiname"] = "igImTriangleContainsPoint" defs["igImTriangleContainsPoint"][1]["defaults"] = {} defs["igImTriangleContainsPoint"][1]["funcname"] = "ImTriangleContainsPoint" -defs["igImTriangleContainsPoint"][1]["location"] = "imgui_internal:472" +defs["igImTriangleContainsPoint"][1]["location"] = "imgui_internal:494" defs["igImTriangleContainsPoint"][1]["ov_cimguiname"] = "igImTriangleContainsPoint" defs["igImTriangleContainsPoint"][1]["ret"] = "bool" defs["igImTriangleContainsPoint"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2)" @@ -19584,7 +20534,7 @@ defs["igImUpperPowerOfTwo"][1]["call_args"] = "(v)" defs["igImUpperPowerOfTwo"][1]["cimguiname"] = "igImUpperPowerOfTwo" defs["igImUpperPowerOfTwo"][1]["defaults"] = {} defs["igImUpperPowerOfTwo"][1]["funcname"] = "ImUpperPowerOfTwo" -defs["igImUpperPowerOfTwo"][1]["location"] = "imgui_internal:327" +defs["igImUpperPowerOfTwo"][1]["location"] = "imgui_internal:339" defs["igImUpperPowerOfTwo"][1]["ov_cimguiname"] = "igImUpperPowerOfTwo" defs["igImUpperPowerOfTwo"][1]["ret"] = "int" defs["igImUpperPowerOfTwo"][1]["signature"] = "(int)" @@ -19621,7 +20571,7 @@ defs["igImage"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" defs["igImage"][1]["defaults"]["uv0"] = "ImVec2(0,0)" defs["igImage"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImage"][1]["funcname"] = "Image" -defs["igImage"][1]["location"] = "imgui:516" +defs["igImage"][1]["location"] = "imgui:523" defs["igImage"][1]["namespace"] = "ImGui" defs["igImage"][1]["ov_cimguiname"] = "igImage" defs["igImage"][1]["ret"] = "void" @@ -19630,49 +20580,48 @@ defs["igImage"][1]["stname"] = "" defs["igImage"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImage"][1] defs["igImageButton"] = {} defs["igImageButton"][1] = {} -defs["igImageButton"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)" +defs["igImageButton"][1]["args"] = "(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)" defs["igImageButton"][1]["argsT"] = {} defs["igImageButton"][1]["argsT"][1] = {} -defs["igImageButton"][1]["argsT"][1]["name"] = "user_texture_id" -defs["igImageButton"][1]["argsT"][1]["type"] = "ImTextureID" +defs["igImageButton"][1]["argsT"][1]["name"] = "str_id" +defs["igImageButton"][1]["argsT"][1]["type"] = "const char*" defs["igImageButton"][1]["argsT"][2] = {} -defs["igImageButton"][1]["argsT"][2]["name"] = "size" -defs["igImageButton"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igImageButton"][1]["argsT"][2]["name"] = "user_texture_id" +defs["igImageButton"][1]["argsT"][2]["type"] = "ImTextureID" defs["igImageButton"][1]["argsT"][3] = {} -defs["igImageButton"][1]["argsT"][3]["name"] = "uv0" +defs["igImageButton"][1]["argsT"][3]["name"] = "size" defs["igImageButton"][1]["argsT"][3]["type"] = "const ImVec2" defs["igImageButton"][1]["argsT"][4] = {} -defs["igImageButton"][1]["argsT"][4]["name"] = "uv1" +defs["igImageButton"][1]["argsT"][4]["name"] = "uv0" defs["igImageButton"][1]["argsT"][4]["type"] = "const ImVec2" defs["igImageButton"][1]["argsT"][5] = {} -defs["igImageButton"][1]["argsT"][5]["name"] = "frame_padding" -defs["igImageButton"][1]["argsT"][5]["type"] = "int" +defs["igImageButton"][1]["argsT"][5]["name"] = "uv1" +defs["igImageButton"][1]["argsT"][5]["type"] = "const ImVec2" defs["igImageButton"][1]["argsT"][6] = {} defs["igImageButton"][1]["argsT"][6]["name"] = "bg_col" defs["igImageButton"][1]["argsT"][6]["type"] = "const ImVec4" defs["igImageButton"][1]["argsT"][7] = {} defs["igImageButton"][1]["argsT"][7]["name"] = "tint_col" defs["igImageButton"][1]["argsT"][7]["type"] = "const ImVec4" -defs["igImageButton"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" -defs["igImageButton"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)" +defs["igImageButton"][1]["argsoriginal"] = "(const char* str_id,ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" +defs["igImageButton"][1]["call_args"] = "(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col)" defs["igImageButton"][1]["cimguiname"] = "igImageButton" defs["igImageButton"][1]["defaults"] = {} defs["igImageButton"][1]["defaults"]["bg_col"] = "ImVec4(0,0,0,0)" -defs["igImageButton"][1]["defaults"]["frame_padding"] = "-1" defs["igImageButton"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" defs["igImageButton"][1]["defaults"]["uv0"] = "ImVec2(0,0)" defs["igImageButton"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImageButton"][1]["funcname"] = "ImageButton" -defs["igImageButton"][1]["location"] = "imgui:517" +defs["igImageButton"][1]["location"] = "imgui:524" defs["igImageButton"][1]["namespace"] = "ImGui" defs["igImageButton"][1]["ov_cimguiname"] = "igImageButton" defs["igImageButton"][1]["ret"] = "bool" -defs["igImageButton"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)" +defs["igImageButton"][1]["signature"] = "(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" defs["igImageButton"][1]["stname"] = "" -defs["igImageButton"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] +defs["igImageButton"]["(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] defs["igImageButtonEx"] = {} defs["igImageButtonEx"][1] = {} -defs["igImageButtonEx"][1]["args"] = "(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col)" +defs["igImageButtonEx"][1]["args"] = "(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)" defs["igImageButtonEx"][1]["argsT"] = {} defs["igImageButtonEx"][1]["argsT"][1] = {} defs["igImageButtonEx"][1]["argsT"][1]["name"] = "id" @@ -19690,26 +20639,23 @@ defs["igImageButtonEx"][1]["argsT"][5] = {} defs["igImageButtonEx"][1]["argsT"][5]["name"] = "uv1" defs["igImageButtonEx"][1]["argsT"][5]["type"] = "const ImVec2" defs["igImageButtonEx"][1]["argsT"][6] = {} -defs["igImageButtonEx"][1]["argsT"][6]["name"] = "padding" -defs["igImageButtonEx"][1]["argsT"][6]["type"] = "const ImVec2" +defs["igImageButtonEx"][1]["argsT"][6]["name"] = "bg_col" +defs["igImageButtonEx"][1]["argsT"][6]["type"] = "const ImVec4" defs["igImageButtonEx"][1]["argsT"][7] = {} -defs["igImageButtonEx"][1]["argsT"][7]["name"] = "bg_col" +defs["igImageButtonEx"][1]["argsT"][7]["name"] = "tint_col" defs["igImageButtonEx"][1]["argsT"][7]["type"] = "const ImVec4" -defs["igImageButtonEx"][1]["argsT"][8] = {} -defs["igImageButtonEx"][1]["argsT"][8]["name"] = "tint_col" -defs["igImageButtonEx"][1]["argsT"][8]["type"] = "const ImVec4" -defs["igImageButtonEx"][1]["argsoriginal"] = "(ImGuiID id,ImTextureID texture_id,const ImVec2& size,const ImVec2& uv0,const ImVec2& uv1,const ImVec2& padding,const ImVec4& bg_col,const ImVec4& tint_col)" -defs["igImageButtonEx"][1]["call_args"] = "(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col)" +defs["igImageButtonEx"][1]["argsoriginal"] = "(ImGuiID id,ImTextureID texture_id,const ImVec2& size,const ImVec2& uv0,const ImVec2& uv1,const ImVec4& bg_col,const ImVec4& tint_col)" +defs["igImageButtonEx"][1]["call_args"] = "(id,texture_id,size,uv0,uv1,bg_col,tint_col)" defs["igImageButtonEx"][1]["cimguiname"] = "igImageButtonEx" defs["igImageButtonEx"][1]["defaults"] = {} defs["igImageButtonEx"][1]["funcname"] = "ImageButtonEx" -defs["igImageButtonEx"][1]["location"] = "imgui_internal:3009" +defs["igImageButtonEx"][1]["location"] = "imgui_internal:3357" defs["igImageButtonEx"][1]["namespace"] = "ImGui" defs["igImageButtonEx"][1]["ov_cimguiname"] = "igImageButtonEx" defs["igImageButtonEx"][1]["ret"] = "bool" -defs["igImageButtonEx"][1]["signature"] = "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" +defs["igImageButtonEx"][1]["signature"] = "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" defs["igImageButtonEx"][1]["stname"] = "" -defs["igImageButtonEx"]["(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImageButtonEx"][1] +defs["igImageButtonEx"]["(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImageButtonEx"][1] defs["igIndent"] = {} defs["igIndent"][1] = {} defs["igIndent"][1]["args"] = "(float indent_w)" @@ -19723,7 +20669,7 @@ defs["igIndent"][1]["cimguiname"] = "igIndent" defs["igIndent"][1]["defaults"] = {} defs["igIndent"][1]["defaults"]["indent_w"] = "0.0f" defs["igIndent"][1]["funcname"] = "Indent" -defs["igIndent"][1]["location"] = "imgui:455" +defs["igIndent"][1]["location"] = "imgui:452" defs["igIndent"][1]["namespace"] = "ImGui" defs["igIndent"][1]["ov_cimguiname"] = "igIndent" defs["igIndent"][1]["ret"] = "void" @@ -19732,23 +20678,20 @@ defs["igIndent"][1]["stname"] = "" defs["igIndent"]["(float)"] = defs["igIndent"][1] defs["igInitialize"] = {} defs["igInitialize"][1] = {} -defs["igInitialize"][1]["args"] = "(ImGuiContext* context)" +defs["igInitialize"][1]["args"] = "()" defs["igInitialize"][1]["argsT"] = {} -defs["igInitialize"][1]["argsT"][1] = {} -defs["igInitialize"][1]["argsT"][1]["name"] = "context" -defs["igInitialize"][1]["argsT"][1]["type"] = "ImGuiContext*" -defs["igInitialize"][1]["argsoriginal"] = "(ImGuiContext* context)" -defs["igInitialize"][1]["call_args"] = "(context)" +defs["igInitialize"][1]["argsoriginal"] = "()" +defs["igInitialize"][1]["call_args"] = "()" defs["igInitialize"][1]["cimguiname"] = "igInitialize" defs["igInitialize"][1]["defaults"] = {} defs["igInitialize"][1]["funcname"] = "Initialize" -defs["igInitialize"][1]["location"] = "imgui_internal:2677" +defs["igInitialize"][1]["location"] = "imgui_internal:2965" defs["igInitialize"][1]["namespace"] = "ImGui" defs["igInitialize"][1]["ov_cimguiname"] = "igInitialize" defs["igInitialize"][1]["ret"] = "void" -defs["igInitialize"][1]["signature"] = "(ImGuiContext*)" +defs["igInitialize"][1]["signature"] = "()" defs["igInitialize"][1]["stname"] = "" -defs["igInitialize"]["(ImGuiContext*)"] = defs["igInitialize"][1] +defs["igInitialize"]["()"] = defs["igInitialize"][1] defs["igInputDouble"] = {} defs["igInputDouble"][1] = {} defs["igInputDouble"][1]["args"] = "(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags)" @@ -19780,7 +20723,7 @@ defs["igInputDouble"][1]["defaults"]["format"] = "\"%.6f\"" defs["igInputDouble"][1]["defaults"]["step"] = "0.0" defs["igInputDouble"][1]["defaults"]["step_fast"] = "0.0" defs["igInputDouble"][1]["funcname"] = "InputDouble" -defs["igInputDouble"][1]["location"] = "imgui:594" +defs["igInputDouble"][1]["location"] = "imgui:595" defs["igInputDouble"][1]["namespace"] = "ImGui" defs["igInputDouble"][1]["ov_cimguiname"] = "igInputDouble" defs["igInputDouble"][1]["ret"] = "bool" @@ -19818,7 +20761,7 @@ defs["igInputFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat"][1]["defaults"]["step"] = "0.0f" defs["igInputFloat"][1]["defaults"]["step_fast"] = "0.0f" defs["igInputFloat"][1]["funcname"] = "InputFloat" -defs["igInputFloat"][1]["location"] = "imgui:586" +defs["igInputFloat"][1]["location"] = "imgui:587" defs["igInputFloat"][1]["namespace"] = "ImGui" defs["igInputFloat"][1]["ov_cimguiname"] = "igInputFloat" defs["igInputFloat"][1]["ret"] = "bool" @@ -19848,7 +20791,7 @@ defs["igInputFloat2"][1]["defaults"] = {} defs["igInputFloat2"][1]["defaults"]["flags"] = "0" defs["igInputFloat2"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat2"][1]["funcname"] = "InputFloat2" -defs["igInputFloat2"][1]["location"] = "imgui:587" +defs["igInputFloat2"][1]["location"] = "imgui:588" defs["igInputFloat2"][1]["namespace"] = "ImGui" defs["igInputFloat2"][1]["ov_cimguiname"] = "igInputFloat2" defs["igInputFloat2"][1]["ret"] = "bool" @@ -19878,7 +20821,7 @@ defs["igInputFloat3"][1]["defaults"] = {} defs["igInputFloat3"][1]["defaults"]["flags"] = "0" defs["igInputFloat3"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat3"][1]["funcname"] = "InputFloat3" -defs["igInputFloat3"][1]["location"] = "imgui:588" +defs["igInputFloat3"][1]["location"] = "imgui:589" defs["igInputFloat3"][1]["namespace"] = "ImGui" defs["igInputFloat3"][1]["ov_cimguiname"] = "igInputFloat3" defs["igInputFloat3"][1]["ret"] = "bool" @@ -19908,7 +20851,7 @@ defs["igInputFloat4"][1]["defaults"] = {} defs["igInputFloat4"][1]["defaults"]["flags"] = "0" defs["igInputFloat4"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat4"][1]["funcname"] = "InputFloat4" -defs["igInputFloat4"][1]["location"] = "imgui:589" +defs["igInputFloat4"][1]["location"] = "imgui:590" defs["igInputFloat4"][1]["namespace"] = "ImGui" defs["igInputFloat4"][1]["ov_cimguiname"] = "igInputFloat4" defs["igInputFloat4"][1]["ret"] = "bool" @@ -19942,7 +20885,7 @@ defs["igInputInt"][1]["defaults"]["flags"] = "0" defs["igInputInt"][1]["defaults"]["step"] = "1" defs["igInputInt"][1]["defaults"]["step_fast"] = "100" defs["igInputInt"][1]["funcname"] = "InputInt" -defs["igInputInt"][1]["location"] = "imgui:590" +defs["igInputInt"][1]["location"] = "imgui:591" defs["igInputInt"][1]["namespace"] = "ImGui" defs["igInputInt"][1]["ov_cimguiname"] = "igInputInt" defs["igInputInt"][1]["ret"] = "bool" @@ -19968,7 +20911,7 @@ defs["igInputInt2"][1]["cimguiname"] = "igInputInt2" defs["igInputInt2"][1]["defaults"] = {} defs["igInputInt2"][1]["defaults"]["flags"] = "0" defs["igInputInt2"][1]["funcname"] = "InputInt2" -defs["igInputInt2"][1]["location"] = "imgui:591" +defs["igInputInt2"][1]["location"] = "imgui:592" defs["igInputInt2"][1]["namespace"] = "ImGui" defs["igInputInt2"][1]["ov_cimguiname"] = "igInputInt2" defs["igInputInt2"][1]["ret"] = "bool" @@ -19994,7 +20937,7 @@ defs["igInputInt3"][1]["cimguiname"] = "igInputInt3" defs["igInputInt3"][1]["defaults"] = {} defs["igInputInt3"][1]["defaults"]["flags"] = "0" defs["igInputInt3"][1]["funcname"] = "InputInt3" -defs["igInputInt3"][1]["location"] = "imgui:592" +defs["igInputInt3"][1]["location"] = "imgui:593" defs["igInputInt3"][1]["namespace"] = "ImGui" defs["igInputInt3"][1]["ov_cimguiname"] = "igInputInt3" defs["igInputInt3"][1]["ret"] = "bool" @@ -20020,7 +20963,7 @@ defs["igInputInt4"][1]["cimguiname"] = "igInputInt4" defs["igInputInt4"][1]["defaults"] = {} defs["igInputInt4"][1]["defaults"]["flags"] = "0" defs["igInputInt4"][1]["funcname"] = "InputInt4" -defs["igInputInt4"][1]["location"] = "imgui:593" +defs["igInputInt4"][1]["location"] = "imgui:594" defs["igInputInt4"][1]["namespace"] = "ImGui" defs["igInputInt4"][1]["ov_cimguiname"] = "igInputInt4" defs["igInputInt4"][1]["ret"] = "bool" @@ -20061,7 +21004,7 @@ defs["igInputScalar"][1]["defaults"]["format"] = "NULL" defs["igInputScalar"][1]["defaults"]["p_step"] = "NULL" defs["igInputScalar"][1]["defaults"]["p_step_fast"] = "NULL" defs["igInputScalar"][1]["funcname"] = "InputScalar" -defs["igInputScalar"][1]["location"] = "imgui:595" +defs["igInputScalar"][1]["location"] = "imgui:596" defs["igInputScalar"][1]["namespace"] = "ImGui" defs["igInputScalar"][1]["ov_cimguiname"] = "igInputScalar" defs["igInputScalar"][1]["ret"] = "bool" @@ -20105,7 +21048,7 @@ defs["igInputScalarN"][1]["defaults"]["format"] = "NULL" defs["igInputScalarN"][1]["defaults"]["p_step"] = "NULL" defs["igInputScalarN"][1]["defaults"]["p_step_fast"] = "NULL" defs["igInputScalarN"][1]["funcname"] = "InputScalarN" -defs["igInputScalarN"][1]["location"] = "imgui:596" +defs["igInputScalarN"][1]["location"] = "imgui:597" defs["igInputScalarN"][1]["namespace"] = "ImGui" defs["igInputScalarN"][1]["ov_cimguiname"] = "igInputScalarN" defs["igInputScalarN"][1]["ret"] = "bool" @@ -20142,7 +21085,7 @@ defs["igInputText"][1]["defaults"]["callback"] = "NULL" defs["igInputText"][1]["defaults"]["flags"] = "0" defs["igInputText"][1]["defaults"]["user_data"] = "NULL" defs["igInputText"][1]["funcname"] = "InputText" -defs["igInputText"][1]["location"] = "imgui:583" +defs["igInputText"][1]["location"] = "imgui:584" defs["igInputText"][1]["namespace"] = "ImGui" defs["igInputText"][1]["ov_cimguiname"] = "igInputText" defs["igInputText"][1]["ret"] = "bool" @@ -20184,7 +21127,7 @@ defs["igInputTextEx"][1]["defaults"] = {} defs["igInputTextEx"][1]["defaults"]["callback"] = "NULL" defs["igInputTextEx"][1]["defaults"]["user_data"] = "NULL" defs["igInputTextEx"][1]["funcname"] = "InputTextEx" -defs["igInputTextEx"][1]["location"] = "imgui_internal:3046" +defs["igInputTextEx"][1]["location"] = "imgui_internal:3395" defs["igInputTextEx"][1]["namespace"] = "ImGui" defs["igInputTextEx"][1]["ov_cimguiname"] = "igInputTextEx" defs["igInputTextEx"][1]["ret"] = "bool" @@ -20225,7 +21168,7 @@ defs["igInputTextMultiline"][1]["defaults"]["flags"] = "0" defs["igInputTextMultiline"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igInputTextMultiline"][1]["defaults"]["user_data"] = "NULL" defs["igInputTextMultiline"][1]["funcname"] = "InputTextMultiline" -defs["igInputTextMultiline"][1]["location"] = "imgui:584" +defs["igInputTextMultiline"][1]["location"] = "imgui:585" defs["igInputTextMultiline"][1]["namespace"] = "ImGui" defs["igInputTextMultiline"][1]["ov_cimguiname"] = "igInputTextMultiline" defs["igInputTextMultiline"][1]["ret"] = "bool" @@ -20265,7 +21208,7 @@ defs["igInputTextWithHint"][1]["defaults"]["callback"] = "NULL" defs["igInputTextWithHint"][1]["defaults"]["flags"] = "0" defs["igInputTextWithHint"][1]["defaults"]["user_data"] = "NULL" defs["igInputTextWithHint"][1]["funcname"] = "InputTextWithHint" -defs["igInputTextWithHint"][1]["location"] = "imgui:585" +defs["igInputTextWithHint"][1]["location"] = "imgui:586" defs["igInputTextWithHint"][1]["namespace"] = "ImGui" defs["igInputTextWithHint"][1]["ov_cimguiname"] = "igInputTextWithHint" defs["igInputTextWithHint"][1]["ret"] = "bool" @@ -20291,32 +21234,13 @@ defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" defs["igInvisibleButton"][1]["defaults"] = {} defs["igInvisibleButton"][1]["defaults"]["flags"] = "0" defs["igInvisibleButton"][1]["funcname"] = "InvisibleButton" -defs["igInvisibleButton"][1]["location"] = "imgui:514" +defs["igInvisibleButton"][1]["location"] = "imgui:511" defs["igInvisibleButton"][1]["namespace"] = "ImGui" defs["igInvisibleButton"][1]["ov_cimguiname"] = "igInvisibleButton" defs["igInvisibleButton"][1]["ret"] = "bool" defs["igInvisibleButton"][1]["signature"] = "(const char*,const ImVec2,ImGuiButtonFlags)" defs["igInvisibleButton"][1]["stname"] = "" defs["igInvisibleButton"]["(const char*,const ImVec2,ImGuiButtonFlags)"] = defs["igInvisibleButton"][1] -defs["igIsActiveIdUsingKey"] = {} -defs["igIsActiveIdUsingKey"][1] = {} -defs["igIsActiveIdUsingKey"][1]["args"] = "(ImGuiKey key)" -defs["igIsActiveIdUsingKey"][1]["argsT"] = {} -defs["igIsActiveIdUsingKey"][1]["argsT"][1] = {} -defs["igIsActiveIdUsingKey"][1]["argsT"][1]["name"] = "key" -defs["igIsActiveIdUsingKey"][1]["argsT"][1]["type"] = "ImGuiKey" -defs["igIsActiveIdUsingKey"][1]["argsoriginal"] = "(ImGuiKey key)" -defs["igIsActiveIdUsingKey"][1]["call_args"] = "(key)" -defs["igIsActiveIdUsingKey"][1]["cimguiname"] = "igIsActiveIdUsingKey" -defs["igIsActiveIdUsingKey"][1]["defaults"] = {} -defs["igIsActiveIdUsingKey"][1]["funcname"] = "IsActiveIdUsingKey" -defs["igIsActiveIdUsingKey"][1]["location"] = "imgui_internal:2829" -defs["igIsActiveIdUsingKey"][1]["namespace"] = "ImGui" -defs["igIsActiveIdUsingKey"][1]["ov_cimguiname"] = "igIsActiveIdUsingKey" -defs["igIsActiveIdUsingKey"][1]["ret"] = "bool" -defs["igIsActiveIdUsingKey"][1]["signature"] = "(ImGuiKey)" -defs["igIsActiveIdUsingKey"][1]["stname"] = "" -defs["igIsActiveIdUsingKey"]["(ImGuiKey)"] = defs["igIsActiveIdUsingKey"][1] defs["igIsActiveIdUsingNavDir"] = {} defs["igIsActiveIdUsingNavDir"][1] = {} defs["igIsActiveIdUsingNavDir"][1]["args"] = "(ImGuiDir dir)" @@ -20329,32 +21253,32 @@ defs["igIsActiveIdUsingNavDir"][1]["call_args"] = "(dir)" defs["igIsActiveIdUsingNavDir"][1]["cimguiname"] = "igIsActiveIdUsingNavDir" defs["igIsActiveIdUsingNavDir"][1]["defaults"] = {} defs["igIsActiveIdUsingNavDir"][1]["funcname"] = "IsActiveIdUsingNavDir" -defs["igIsActiveIdUsingNavDir"][1]["location"] = "imgui_internal:2827" +defs["igIsActiveIdUsingNavDir"][1]["location"] = "imgui_internal:3125" defs["igIsActiveIdUsingNavDir"][1]["namespace"] = "ImGui" defs["igIsActiveIdUsingNavDir"][1]["ov_cimguiname"] = "igIsActiveIdUsingNavDir" defs["igIsActiveIdUsingNavDir"][1]["ret"] = "bool" defs["igIsActiveIdUsingNavDir"][1]["signature"] = "(ImGuiDir)" defs["igIsActiveIdUsingNavDir"][1]["stname"] = "" defs["igIsActiveIdUsingNavDir"]["(ImGuiDir)"] = defs["igIsActiveIdUsingNavDir"][1] -defs["igIsActiveIdUsingNavInput"] = {} -defs["igIsActiveIdUsingNavInput"][1] = {} -defs["igIsActiveIdUsingNavInput"][1]["args"] = "(ImGuiNavInput input)" -defs["igIsActiveIdUsingNavInput"][1]["argsT"] = {} -defs["igIsActiveIdUsingNavInput"][1]["argsT"][1] = {} -defs["igIsActiveIdUsingNavInput"][1]["argsT"][1]["name"] = "input" -defs["igIsActiveIdUsingNavInput"][1]["argsT"][1]["type"] = "ImGuiNavInput" -defs["igIsActiveIdUsingNavInput"][1]["argsoriginal"] = "(ImGuiNavInput input)" -defs["igIsActiveIdUsingNavInput"][1]["call_args"] = "(input)" -defs["igIsActiveIdUsingNavInput"][1]["cimguiname"] = "igIsActiveIdUsingNavInput" -defs["igIsActiveIdUsingNavInput"][1]["defaults"] = {} -defs["igIsActiveIdUsingNavInput"][1]["funcname"] = "IsActiveIdUsingNavInput" -defs["igIsActiveIdUsingNavInput"][1]["location"] = "imgui_internal:2828" -defs["igIsActiveIdUsingNavInput"][1]["namespace"] = "ImGui" -defs["igIsActiveIdUsingNavInput"][1]["ov_cimguiname"] = "igIsActiveIdUsingNavInput" -defs["igIsActiveIdUsingNavInput"][1]["ret"] = "bool" -defs["igIsActiveIdUsingNavInput"][1]["signature"] = "(ImGuiNavInput)" -defs["igIsActiveIdUsingNavInput"][1]["stname"] = "" -defs["igIsActiveIdUsingNavInput"]["(ImGuiNavInput)"] = defs["igIsActiveIdUsingNavInput"][1] +defs["igIsAliasKey"] = {} +defs["igIsAliasKey"][1] = {} +defs["igIsAliasKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsAliasKey"][1]["argsT"] = {} +defs["igIsAliasKey"][1]["argsT"][1] = {} +defs["igIsAliasKey"][1]["argsT"][1]["name"] = "key" +defs["igIsAliasKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsAliasKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsAliasKey"][1]["call_args"] = "(key)" +defs["igIsAliasKey"][1]["cimguiname"] = "igIsAliasKey" +defs["igIsAliasKey"][1]["defaults"] = {} +defs["igIsAliasKey"][1]["funcname"] = "IsAliasKey" +defs["igIsAliasKey"][1]["location"] = "imgui_internal:3106" +defs["igIsAliasKey"][1]["namespace"] = "ImGui" +defs["igIsAliasKey"][1]["ov_cimguiname"] = "igIsAliasKey" +defs["igIsAliasKey"][1]["ret"] = "bool" +defs["igIsAliasKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsAliasKey"][1]["stname"] = "" +defs["igIsAliasKey"]["(ImGuiKey)"] = defs["igIsAliasKey"][1] defs["igIsAnyItemActive"] = {} defs["igIsAnyItemActive"][1] = {} defs["igIsAnyItemActive"][1]["args"] = "()" @@ -20364,7 +21288,7 @@ defs["igIsAnyItemActive"][1]["call_args"] = "()" defs["igIsAnyItemActive"][1]["cimguiname"] = "igIsAnyItemActive" defs["igIsAnyItemActive"][1]["defaults"] = {} defs["igIsAnyItemActive"][1]["funcname"] = "IsAnyItemActive" -defs["igIsAnyItemActive"][1]["location"] = "imgui:879" +defs["igIsAnyItemActive"][1]["location"] = "imgui:876" defs["igIsAnyItemActive"][1]["namespace"] = "ImGui" defs["igIsAnyItemActive"][1]["ov_cimguiname"] = "igIsAnyItemActive" defs["igIsAnyItemActive"][1]["ret"] = "bool" @@ -20380,7 +21304,7 @@ defs["igIsAnyItemFocused"][1]["call_args"] = "()" defs["igIsAnyItemFocused"][1]["cimguiname"] = "igIsAnyItemFocused" defs["igIsAnyItemFocused"][1]["defaults"] = {} defs["igIsAnyItemFocused"][1]["funcname"] = "IsAnyItemFocused" -defs["igIsAnyItemFocused"][1]["location"] = "imgui:880" +defs["igIsAnyItemFocused"][1]["location"] = "imgui:877" defs["igIsAnyItemFocused"][1]["namespace"] = "ImGui" defs["igIsAnyItemFocused"][1]["ov_cimguiname"] = "igIsAnyItemFocused" defs["igIsAnyItemFocused"][1]["ret"] = "bool" @@ -20396,7 +21320,7 @@ defs["igIsAnyItemHovered"][1]["call_args"] = "()" defs["igIsAnyItemHovered"][1]["cimguiname"] = "igIsAnyItemHovered" defs["igIsAnyItemHovered"][1]["defaults"] = {} defs["igIsAnyItemHovered"][1]["funcname"] = "IsAnyItemHovered" -defs["igIsAnyItemHovered"][1]["location"] = "imgui:878" +defs["igIsAnyItemHovered"][1]["location"] = "imgui:875" defs["igIsAnyItemHovered"][1]["namespace"] = "ImGui" defs["igIsAnyItemHovered"][1]["ov_cimguiname"] = "igIsAnyItemHovered" defs["igIsAnyItemHovered"][1]["ret"] = "bool" @@ -20412,7 +21336,7 @@ defs["igIsAnyMouseDown"][1]["call_args"] = "()" defs["igIsAnyMouseDown"][1]["cimguiname"] = "igIsAnyMouseDown" defs["igIsAnyMouseDown"][1]["defaults"] = {} defs["igIsAnyMouseDown"][1]["funcname"] = "IsAnyMouseDown" -defs["igIsAnyMouseDown"][1]["location"] = "imgui:938" +defs["igIsAnyMouseDown"][1]["location"] = "imgui:940" defs["igIsAnyMouseDown"][1]["namespace"] = "ImGui" defs["igIsAnyMouseDown"][1]["ov_cimguiname"] = "igIsAnyMouseDown" defs["igIsAnyMouseDown"][1]["ret"] = "bool" @@ -20434,13 +21358,29 @@ defs["igIsClippedEx"][1]["call_args"] = "(bb,id)" defs["igIsClippedEx"][1]["cimguiname"] = "igIsClippedEx" defs["igIsClippedEx"][1]["defaults"] = {} defs["igIsClippedEx"][1]["funcname"] = "IsClippedEx" -defs["igIsClippedEx"][1]["location"] = "imgui_internal:2744" +defs["igIsClippedEx"][1]["location"] = "imgui_internal:3040" defs["igIsClippedEx"][1]["namespace"] = "ImGui" defs["igIsClippedEx"][1]["ov_cimguiname"] = "igIsClippedEx" defs["igIsClippedEx"][1]["ret"] = "bool" defs["igIsClippedEx"][1]["signature"] = "(const ImRect,ImGuiID)" defs["igIsClippedEx"][1]["stname"] = "" defs["igIsClippedEx"]["(const ImRect,ImGuiID)"] = defs["igIsClippedEx"][1] +defs["igIsDragDropActive"] = {} +defs["igIsDragDropActive"][1] = {} +defs["igIsDragDropActive"][1]["args"] = "()" +defs["igIsDragDropActive"][1]["argsT"] = {} +defs["igIsDragDropActive"][1]["argsoriginal"] = "()" +defs["igIsDragDropActive"][1]["call_args"] = "()" +defs["igIsDragDropActive"][1]["cimguiname"] = "igIsDragDropActive" +defs["igIsDragDropActive"][1]["defaults"] = {} +defs["igIsDragDropActive"][1]["funcname"] = "IsDragDropActive" +defs["igIsDragDropActive"][1]["location"] = "imgui_internal:3237" +defs["igIsDragDropActive"][1]["namespace"] = "ImGui" +defs["igIsDragDropActive"][1]["ov_cimguiname"] = "igIsDragDropActive" +defs["igIsDragDropActive"][1]["ret"] = "bool" +defs["igIsDragDropActive"][1]["signature"] = "()" +defs["igIsDragDropActive"][1]["stname"] = "" +defs["igIsDragDropActive"]["()"] = defs["igIsDragDropActive"][1] defs["igIsDragDropPayloadBeingAccepted"] = {} defs["igIsDragDropPayloadBeingAccepted"][1] = {} defs["igIsDragDropPayloadBeingAccepted"][1]["args"] = "()" @@ -20450,13 +21390,32 @@ defs["igIsDragDropPayloadBeingAccepted"][1]["call_args"] = "()" defs["igIsDragDropPayloadBeingAccepted"][1]["cimguiname"] = "igIsDragDropPayloadBeingAccepted" defs["igIsDragDropPayloadBeingAccepted"][1]["defaults"] = {} defs["igIsDragDropPayloadBeingAccepted"][1]["funcname"] = "IsDragDropPayloadBeingAccepted" -defs["igIsDragDropPayloadBeingAccepted"][1]["location"] = "imgui_internal:2890" +defs["igIsDragDropPayloadBeingAccepted"][1]["location"] = "imgui_internal:3240" defs["igIsDragDropPayloadBeingAccepted"][1]["namespace"] = "ImGui" defs["igIsDragDropPayloadBeingAccepted"][1]["ov_cimguiname"] = "igIsDragDropPayloadBeingAccepted" defs["igIsDragDropPayloadBeingAccepted"][1]["ret"] = "bool" defs["igIsDragDropPayloadBeingAccepted"][1]["signature"] = "()" defs["igIsDragDropPayloadBeingAccepted"][1]["stname"] = "" defs["igIsDragDropPayloadBeingAccepted"]["()"] = defs["igIsDragDropPayloadBeingAccepted"][1] +defs["igIsGamepadKey"] = {} +defs["igIsGamepadKey"][1] = {} +defs["igIsGamepadKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsGamepadKey"][1]["argsT"] = {} +defs["igIsGamepadKey"][1]["argsT"][1] = {} +defs["igIsGamepadKey"][1]["argsT"][1]["name"] = "key" +defs["igIsGamepadKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsGamepadKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsGamepadKey"][1]["call_args"] = "(key)" +defs["igIsGamepadKey"][1]["cimguiname"] = "igIsGamepadKey" +defs["igIsGamepadKey"][1]["defaults"] = {} +defs["igIsGamepadKey"][1]["funcname"] = "IsGamepadKey" +defs["igIsGamepadKey"][1]["location"] = "imgui_internal:3104" +defs["igIsGamepadKey"][1]["namespace"] = "ImGui" +defs["igIsGamepadKey"][1]["ov_cimguiname"] = "igIsGamepadKey" +defs["igIsGamepadKey"][1]["ret"] = "bool" +defs["igIsGamepadKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsGamepadKey"][1]["stname"] = "" +defs["igIsGamepadKey"]["(ImGuiKey)"] = defs["igIsGamepadKey"][1] defs["igIsItemActivated"] = {} defs["igIsItemActivated"][1] = {} defs["igIsItemActivated"][1]["args"] = "()" @@ -20466,7 +21425,7 @@ defs["igIsItemActivated"][1]["call_args"] = "()" defs["igIsItemActivated"][1]["cimguiname"] = "igIsItemActivated" defs["igIsItemActivated"][1]["defaults"] = {} defs["igIsItemActivated"][1]["funcname"] = "IsItemActivated" -defs["igIsItemActivated"][1]["location"] = "imgui:874" +defs["igIsItemActivated"][1]["location"] = "imgui:871" defs["igIsItemActivated"][1]["namespace"] = "ImGui" defs["igIsItemActivated"][1]["ov_cimguiname"] = "igIsItemActivated" defs["igIsItemActivated"][1]["ret"] = "bool" @@ -20482,7 +21441,7 @@ defs["igIsItemActive"][1]["call_args"] = "()" defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" defs["igIsItemActive"][1]["defaults"] = {} defs["igIsItemActive"][1]["funcname"] = "IsItemActive" -defs["igIsItemActive"][1]["location"] = "imgui:869" +defs["igIsItemActive"][1]["location"] = "imgui:866" defs["igIsItemActive"][1]["namespace"] = "ImGui" defs["igIsItemActive"][1]["ov_cimguiname"] = "igIsItemActive" defs["igIsItemActive"][1]["ret"] = "bool" @@ -20502,7 +21461,7 @@ defs["igIsItemClicked"][1]["cimguiname"] = "igIsItemClicked" defs["igIsItemClicked"][1]["defaults"] = {} defs["igIsItemClicked"][1]["defaults"]["mouse_button"] = "0" defs["igIsItemClicked"][1]["funcname"] = "IsItemClicked" -defs["igIsItemClicked"][1]["location"] = "imgui:871" +defs["igIsItemClicked"][1]["location"] = "imgui:868" defs["igIsItemClicked"][1]["namespace"] = "ImGui" defs["igIsItemClicked"][1]["ov_cimguiname"] = "igIsItemClicked" defs["igIsItemClicked"][1]["ret"] = "bool" @@ -20518,7 +21477,7 @@ defs["igIsItemDeactivated"][1]["call_args"] = "()" defs["igIsItemDeactivated"][1]["cimguiname"] = "igIsItemDeactivated" defs["igIsItemDeactivated"][1]["defaults"] = {} defs["igIsItemDeactivated"][1]["funcname"] = "IsItemDeactivated" -defs["igIsItemDeactivated"][1]["location"] = "imgui:875" +defs["igIsItemDeactivated"][1]["location"] = "imgui:872" defs["igIsItemDeactivated"][1]["namespace"] = "ImGui" defs["igIsItemDeactivated"][1]["ov_cimguiname"] = "igIsItemDeactivated" defs["igIsItemDeactivated"][1]["ret"] = "bool" @@ -20534,7 +21493,7 @@ defs["igIsItemDeactivatedAfterEdit"][1]["call_args"] = "()" defs["igIsItemDeactivatedAfterEdit"][1]["cimguiname"] = "igIsItemDeactivatedAfterEdit" defs["igIsItemDeactivatedAfterEdit"][1]["defaults"] = {} defs["igIsItemDeactivatedAfterEdit"][1]["funcname"] = "IsItemDeactivatedAfterEdit" -defs["igIsItemDeactivatedAfterEdit"][1]["location"] = "imgui:876" +defs["igIsItemDeactivatedAfterEdit"][1]["location"] = "imgui:873" defs["igIsItemDeactivatedAfterEdit"][1]["namespace"] = "ImGui" defs["igIsItemDeactivatedAfterEdit"][1]["ov_cimguiname"] = "igIsItemDeactivatedAfterEdit" defs["igIsItemDeactivatedAfterEdit"][1]["ret"] = "bool" @@ -20550,7 +21509,7 @@ defs["igIsItemEdited"][1]["call_args"] = "()" defs["igIsItemEdited"][1]["cimguiname"] = "igIsItemEdited" defs["igIsItemEdited"][1]["defaults"] = {} defs["igIsItemEdited"][1]["funcname"] = "IsItemEdited" -defs["igIsItemEdited"][1]["location"] = "imgui:873" +defs["igIsItemEdited"][1]["location"] = "imgui:870" defs["igIsItemEdited"][1]["namespace"] = "ImGui" defs["igIsItemEdited"][1]["ov_cimguiname"] = "igIsItemEdited" defs["igIsItemEdited"][1]["ret"] = "bool" @@ -20566,7 +21525,7 @@ defs["igIsItemFocused"][1]["call_args"] = "()" defs["igIsItemFocused"][1]["cimguiname"] = "igIsItemFocused" defs["igIsItemFocused"][1]["defaults"] = {} defs["igIsItemFocused"][1]["funcname"] = "IsItemFocused" -defs["igIsItemFocused"][1]["location"] = "imgui:870" +defs["igIsItemFocused"][1]["location"] = "imgui:867" defs["igIsItemFocused"][1]["namespace"] = "ImGui" defs["igIsItemFocused"][1]["ov_cimguiname"] = "igIsItemFocused" defs["igIsItemFocused"][1]["ret"] = "bool" @@ -20586,7 +21545,7 @@ defs["igIsItemHovered"][1]["cimguiname"] = "igIsItemHovered" defs["igIsItemHovered"][1]["defaults"] = {} defs["igIsItemHovered"][1]["defaults"]["flags"] = "0" defs["igIsItemHovered"][1]["funcname"] = "IsItemHovered" -defs["igIsItemHovered"][1]["location"] = "imgui:868" +defs["igIsItemHovered"][1]["location"] = "imgui:865" defs["igIsItemHovered"][1]["namespace"] = "ImGui" defs["igIsItemHovered"][1]["ov_cimguiname"] = "igIsItemHovered" defs["igIsItemHovered"][1]["ret"] = "bool" @@ -20602,7 +21561,7 @@ defs["igIsItemToggledOpen"][1]["call_args"] = "()" defs["igIsItemToggledOpen"][1]["cimguiname"] = "igIsItemToggledOpen" defs["igIsItemToggledOpen"][1]["defaults"] = {} defs["igIsItemToggledOpen"][1]["funcname"] = "IsItemToggledOpen" -defs["igIsItemToggledOpen"][1]["location"] = "imgui:877" +defs["igIsItemToggledOpen"][1]["location"] = "imgui:874" defs["igIsItemToggledOpen"][1]["namespace"] = "ImGui" defs["igIsItemToggledOpen"][1]["ov_cimguiname"] = "igIsItemToggledOpen" defs["igIsItemToggledOpen"][1]["ret"] = "bool" @@ -20618,7 +21577,7 @@ defs["igIsItemToggledSelection"][1]["call_args"] = "()" defs["igIsItemToggledSelection"][1]["cimguiname"] = "igIsItemToggledSelection" defs["igIsItemToggledSelection"][1]["defaults"] = {} defs["igIsItemToggledSelection"][1]["funcname"] = "IsItemToggledSelection" -defs["igIsItemToggledSelection"][1]["location"] = "imgui_internal:2749" +defs["igIsItemToggledSelection"][1]["location"] = "imgui_internal:3045" defs["igIsItemToggledSelection"][1]["namespace"] = "ImGui" defs["igIsItemToggledSelection"][1]["ov_cimguiname"] = "igIsItemToggledSelection" defs["igIsItemToggledSelection"][1]["ret"] = "bool" @@ -20634,7 +21593,7 @@ defs["igIsItemVisible"][1]["call_args"] = "()" defs["igIsItemVisible"][1]["cimguiname"] = "igIsItemVisible" defs["igIsItemVisible"][1]["defaults"] = {} defs["igIsItemVisible"][1]["funcname"] = "IsItemVisible" -defs["igIsItemVisible"][1]["location"] = "imgui:872" +defs["igIsItemVisible"][1]["location"] = "imgui:869" defs["igIsItemVisible"][1]["namespace"] = "ImGui" defs["igIsItemVisible"][1]["ov_cimguiname"] = "igIsItemVisible" defs["igIsItemVisible"][1]["ret"] = "bool" @@ -20643,46 +21602,92 @@ defs["igIsItemVisible"][1]["stname"] = "" defs["igIsItemVisible"]["()"] = defs["igIsItemVisible"][1] defs["igIsKeyDown"] = {} defs["igIsKeyDown"][1] = {} -defs["igIsKeyDown"][1]["args"] = "(int user_key_index)" +defs["igIsKeyDown"][1]["args"] = "(ImGuiKey key)" defs["igIsKeyDown"][1]["argsT"] = {} defs["igIsKeyDown"][1]["argsT"][1] = {} -defs["igIsKeyDown"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyDown"][1]["argsT"][1]["type"] = "int" -defs["igIsKeyDown"][1]["argsoriginal"] = "(int user_key_index)" -defs["igIsKeyDown"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyDown"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyDown"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyDown"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsKeyDown"][1]["call_args"] = "(key)" defs["igIsKeyDown"][1]["cimguiname"] = "igIsKeyDown" defs["igIsKeyDown"][1]["defaults"] = {} defs["igIsKeyDown"][1]["funcname"] = "IsKeyDown" -defs["igIsKeyDown"][1]["location"] = "imgui:921" +defs["igIsKeyDown"][1]["location"] = "imgui:922" defs["igIsKeyDown"][1]["namespace"] = "ImGui" -defs["igIsKeyDown"][1]["ov_cimguiname"] = "igIsKeyDown" +defs["igIsKeyDown"][1]["ov_cimguiname"] = "igIsKeyDown_Nil" defs["igIsKeyDown"][1]["ret"] = "bool" -defs["igIsKeyDown"][1]["signature"] = "(int)" +defs["igIsKeyDown"][1]["signature"] = "(ImGuiKey)" defs["igIsKeyDown"][1]["stname"] = "" -defs["igIsKeyDown"]["(int)"] = defs["igIsKeyDown"][1] +defs["igIsKeyDown"][2] = {} +defs["igIsKeyDown"][2]["args"] = "(ImGuiKey key,ImGuiID owner_id)" +defs["igIsKeyDown"][2]["argsT"] = {} +defs["igIsKeyDown"][2]["argsT"][1] = {} +defs["igIsKeyDown"][2]["argsT"][1]["name"] = "key" +defs["igIsKeyDown"][2]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyDown"][2]["argsT"][2] = {} +defs["igIsKeyDown"][2]["argsT"][2]["name"] = "owner_id" +defs["igIsKeyDown"][2]["argsT"][2]["type"] = "ImGuiID" +defs["igIsKeyDown"][2]["argsoriginal"] = "(ImGuiKey key,ImGuiID owner_id)" +defs["igIsKeyDown"][2]["call_args"] = "(key,owner_id)" +defs["igIsKeyDown"][2]["cimguiname"] = "igIsKeyDown" +defs["igIsKeyDown"][2]["defaults"] = {} +defs["igIsKeyDown"][2]["funcname"] = "IsKeyDown" +defs["igIsKeyDown"][2]["location"] = "imgui_internal:3150" +defs["igIsKeyDown"][2]["namespace"] = "ImGui" +defs["igIsKeyDown"][2]["ov_cimguiname"] = "igIsKeyDown_ID" +defs["igIsKeyDown"][2]["ret"] = "bool" +defs["igIsKeyDown"][2]["signature"] = "(ImGuiKey,ImGuiID)" +defs["igIsKeyDown"][2]["stname"] = "" +defs["igIsKeyDown"]["(ImGuiKey)"] = defs["igIsKeyDown"][1] +defs["igIsKeyDown"]["(ImGuiKey,ImGuiID)"] = defs["igIsKeyDown"][2] defs["igIsKeyPressed"] = {} defs["igIsKeyPressed"][1] = {} -defs["igIsKeyPressed"][1]["args"] = "(int user_key_index,bool repeat)" +defs["igIsKeyPressed"][1]["args"] = "(ImGuiKey key,bool repeat)" defs["igIsKeyPressed"][1]["argsT"] = {} defs["igIsKeyPressed"][1]["argsT"][1] = {} -defs["igIsKeyPressed"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyPressed"][1]["argsT"][1]["type"] = "int" +defs["igIsKeyPressed"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyPressed"][1]["argsT"][1]["type"] = "ImGuiKey" defs["igIsKeyPressed"][1]["argsT"][2] = {} defs["igIsKeyPressed"][1]["argsT"][2]["name"] = "repeat" defs["igIsKeyPressed"][1]["argsT"][2]["type"] = "bool" -defs["igIsKeyPressed"][1]["argsoriginal"] = "(int user_key_index,bool repeat=true)" -defs["igIsKeyPressed"][1]["call_args"] = "(user_key_index,repeat)" +defs["igIsKeyPressed"][1]["argsoriginal"] = "(ImGuiKey key,bool repeat=true)" +defs["igIsKeyPressed"][1]["call_args"] = "(key,repeat)" defs["igIsKeyPressed"][1]["cimguiname"] = "igIsKeyPressed" defs["igIsKeyPressed"][1]["defaults"] = {} defs["igIsKeyPressed"][1]["defaults"]["repeat"] = "true" defs["igIsKeyPressed"][1]["funcname"] = "IsKeyPressed" -defs["igIsKeyPressed"][1]["location"] = "imgui:922" +defs["igIsKeyPressed"][1]["location"] = "imgui:923" defs["igIsKeyPressed"][1]["namespace"] = "ImGui" -defs["igIsKeyPressed"][1]["ov_cimguiname"] = "igIsKeyPressed" +defs["igIsKeyPressed"][1]["ov_cimguiname"] = "igIsKeyPressed_Bool" defs["igIsKeyPressed"][1]["ret"] = "bool" -defs["igIsKeyPressed"][1]["signature"] = "(int,bool)" +defs["igIsKeyPressed"][1]["signature"] = "(ImGuiKey,bool)" defs["igIsKeyPressed"][1]["stname"] = "" -defs["igIsKeyPressed"]["(int,bool)"] = defs["igIsKeyPressed"][1] +defs["igIsKeyPressed"][2] = {} +defs["igIsKeyPressed"][2]["args"] = "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)" +defs["igIsKeyPressed"][2]["argsT"] = {} +defs["igIsKeyPressed"][2]["argsT"][1] = {} +defs["igIsKeyPressed"][2]["argsT"][1]["name"] = "key" +defs["igIsKeyPressed"][2]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyPressed"][2]["argsT"][2] = {} +defs["igIsKeyPressed"][2]["argsT"][2]["name"] = "owner_id" +defs["igIsKeyPressed"][2]["argsT"][2]["type"] = "ImGuiID" +defs["igIsKeyPressed"][2]["argsT"][3] = {} +defs["igIsKeyPressed"][2]["argsT"][3]["name"] = "flags" +defs["igIsKeyPressed"][2]["argsT"][3]["type"] = "ImGuiInputFlags" +defs["igIsKeyPressed"][2]["argsoriginal"] = "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)" +defs["igIsKeyPressed"][2]["call_args"] = "(key,owner_id,flags)" +defs["igIsKeyPressed"][2]["cimguiname"] = "igIsKeyPressed" +defs["igIsKeyPressed"][2]["defaults"] = {} +defs["igIsKeyPressed"][2]["defaults"]["flags"] = "0" +defs["igIsKeyPressed"][2]["funcname"] = "IsKeyPressed" +defs["igIsKeyPressed"][2]["location"] = "imgui_internal:3151" +defs["igIsKeyPressed"][2]["namespace"] = "ImGui" +defs["igIsKeyPressed"][2]["ov_cimguiname"] = "igIsKeyPressed_ID" +defs["igIsKeyPressed"][2]["ret"] = "bool" +defs["igIsKeyPressed"][2]["signature"] = "(ImGuiKey,ImGuiID,ImGuiInputFlags)" +defs["igIsKeyPressed"][2]["stname"] = "" +defs["igIsKeyPressed"]["(ImGuiKey,ImGuiID,ImGuiInputFlags)"] = defs["igIsKeyPressed"][2] +defs["igIsKeyPressed"]["(ImGuiKey,bool)"] = defs["igIsKeyPressed"][1] defs["igIsKeyPressedMap"] = {} defs["igIsKeyPressedMap"][1] = {} defs["igIsKeyPressedMap"][1]["args"] = "(ImGuiKey key,bool repeat)" @@ -20699,7 +21704,7 @@ defs["igIsKeyPressedMap"][1]["cimguiname"] = "igIsKeyPressedMap" defs["igIsKeyPressedMap"][1]["defaults"] = {} defs["igIsKeyPressedMap"][1]["defaults"]["repeat"] = "true" defs["igIsKeyPressedMap"][1]["funcname"] = "IsKeyPressedMap" -defs["igIsKeyPressedMap"][1]["location"] = "imgui_internal:2831" +defs["igIsKeyPressedMap"][1]["location"] = "imgui_internal:3465" defs["igIsKeyPressedMap"][1]["namespace"] = "ImGui" defs["igIsKeyPressedMap"][1]["ov_cimguiname"] = "igIsKeyPressedMap" defs["igIsKeyPressedMap"][1]["ret"] = "bool" @@ -20708,23 +21713,82 @@ defs["igIsKeyPressedMap"][1]["stname"] = "" defs["igIsKeyPressedMap"]["(ImGuiKey,bool)"] = defs["igIsKeyPressedMap"][1] defs["igIsKeyReleased"] = {} defs["igIsKeyReleased"][1] = {} -defs["igIsKeyReleased"][1]["args"] = "(int user_key_index)" +defs["igIsKeyReleased"][1]["args"] = "(ImGuiKey key)" defs["igIsKeyReleased"][1]["argsT"] = {} defs["igIsKeyReleased"][1]["argsT"][1] = {} -defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "int" -defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" -defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyReleased"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsKeyReleased"][1]["call_args"] = "(key)" defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" defs["igIsKeyReleased"][1]["defaults"] = {} defs["igIsKeyReleased"][1]["funcname"] = "IsKeyReleased" -defs["igIsKeyReleased"][1]["location"] = "imgui:923" +defs["igIsKeyReleased"][1]["location"] = "imgui:924" defs["igIsKeyReleased"][1]["namespace"] = "ImGui" -defs["igIsKeyReleased"][1]["ov_cimguiname"] = "igIsKeyReleased" +defs["igIsKeyReleased"][1]["ov_cimguiname"] = "igIsKeyReleased_Nil" defs["igIsKeyReleased"][1]["ret"] = "bool" -defs["igIsKeyReleased"][1]["signature"] = "(int)" +defs["igIsKeyReleased"][1]["signature"] = "(ImGuiKey)" defs["igIsKeyReleased"][1]["stname"] = "" -defs["igIsKeyReleased"]["(int)"] = defs["igIsKeyReleased"][1] +defs["igIsKeyReleased"][2] = {} +defs["igIsKeyReleased"][2]["args"] = "(ImGuiKey key,ImGuiID owner_id)" +defs["igIsKeyReleased"][2]["argsT"] = {} +defs["igIsKeyReleased"][2]["argsT"][1] = {} +defs["igIsKeyReleased"][2]["argsT"][1]["name"] = "key" +defs["igIsKeyReleased"][2]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyReleased"][2]["argsT"][2] = {} +defs["igIsKeyReleased"][2]["argsT"][2]["name"] = "owner_id" +defs["igIsKeyReleased"][2]["argsT"][2]["type"] = "ImGuiID" +defs["igIsKeyReleased"][2]["argsoriginal"] = "(ImGuiKey key,ImGuiID owner_id)" +defs["igIsKeyReleased"][2]["call_args"] = "(key,owner_id)" +defs["igIsKeyReleased"][2]["cimguiname"] = "igIsKeyReleased" +defs["igIsKeyReleased"][2]["defaults"] = {} +defs["igIsKeyReleased"][2]["funcname"] = "IsKeyReleased" +defs["igIsKeyReleased"][2]["location"] = "imgui_internal:3152" +defs["igIsKeyReleased"][2]["namespace"] = "ImGui" +defs["igIsKeyReleased"][2]["ov_cimguiname"] = "igIsKeyReleased_ID" +defs["igIsKeyReleased"][2]["ret"] = "bool" +defs["igIsKeyReleased"][2]["signature"] = "(ImGuiKey,ImGuiID)" +defs["igIsKeyReleased"][2]["stname"] = "" +defs["igIsKeyReleased"]["(ImGuiKey)"] = defs["igIsKeyReleased"][1] +defs["igIsKeyReleased"]["(ImGuiKey,ImGuiID)"] = defs["igIsKeyReleased"][2] +defs["igIsKeyboardKey"] = {} +defs["igIsKeyboardKey"][1] = {} +defs["igIsKeyboardKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsKeyboardKey"][1]["argsT"] = {} +defs["igIsKeyboardKey"][1]["argsT"][1] = {} +defs["igIsKeyboardKey"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyboardKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyboardKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsKeyboardKey"][1]["call_args"] = "(key)" +defs["igIsKeyboardKey"][1]["cimguiname"] = "igIsKeyboardKey" +defs["igIsKeyboardKey"][1]["defaults"] = {} +defs["igIsKeyboardKey"][1]["funcname"] = "IsKeyboardKey" +defs["igIsKeyboardKey"][1]["location"] = "imgui_internal:3103" +defs["igIsKeyboardKey"][1]["namespace"] = "ImGui" +defs["igIsKeyboardKey"][1]["ov_cimguiname"] = "igIsKeyboardKey" +defs["igIsKeyboardKey"][1]["ret"] = "bool" +defs["igIsKeyboardKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsKeyboardKey"][1]["stname"] = "" +defs["igIsKeyboardKey"]["(ImGuiKey)"] = defs["igIsKeyboardKey"][1] +defs["igIsLegacyKey"] = {} +defs["igIsLegacyKey"][1] = {} +defs["igIsLegacyKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsLegacyKey"][1]["argsT"] = {} +defs["igIsLegacyKey"][1]["argsT"][1] = {} +defs["igIsLegacyKey"][1]["argsT"][1]["name"] = "key" +defs["igIsLegacyKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsLegacyKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsLegacyKey"][1]["call_args"] = "(key)" +defs["igIsLegacyKey"][1]["cimguiname"] = "igIsLegacyKey" +defs["igIsLegacyKey"][1]["defaults"] = {} +defs["igIsLegacyKey"][1]["funcname"] = "IsLegacyKey" +defs["igIsLegacyKey"][1]["location"] = "imgui_internal:3102" +defs["igIsLegacyKey"][1]["namespace"] = "ImGui" +defs["igIsLegacyKey"][1]["ov_cimguiname"] = "igIsLegacyKey" +defs["igIsLegacyKey"][1]["ret"] = "bool" +defs["igIsLegacyKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsLegacyKey"][1]["stname"] = "" +defs["igIsLegacyKey"]["(ImGuiKey)"] = defs["igIsLegacyKey"][1] defs["igIsMouseClicked"] = {} defs["igIsMouseClicked"][1] = {} defs["igIsMouseClicked"][1]["args"] = "(ImGuiMouseButton button,bool repeat)" @@ -20741,12 +21805,37 @@ defs["igIsMouseClicked"][1]["cimguiname"] = "igIsMouseClicked" defs["igIsMouseClicked"][1]["defaults"] = {} defs["igIsMouseClicked"][1]["defaults"]["repeat"] = "false" defs["igIsMouseClicked"][1]["funcname"] = "IsMouseClicked" -defs["igIsMouseClicked"][1]["location"] = "imgui:932" +defs["igIsMouseClicked"][1]["location"] = "imgui:934" defs["igIsMouseClicked"][1]["namespace"] = "ImGui" -defs["igIsMouseClicked"][1]["ov_cimguiname"] = "igIsMouseClicked" +defs["igIsMouseClicked"][1]["ov_cimguiname"] = "igIsMouseClicked_Bool" defs["igIsMouseClicked"][1]["ret"] = "bool" defs["igIsMouseClicked"][1]["signature"] = "(ImGuiMouseButton,bool)" defs["igIsMouseClicked"][1]["stname"] = "" +defs["igIsMouseClicked"][2] = {} +defs["igIsMouseClicked"][2]["args"] = "(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags)" +defs["igIsMouseClicked"][2]["argsT"] = {} +defs["igIsMouseClicked"][2]["argsT"][1] = {} +defs["igIsMouseClicked"][2]["argsT"][1]["name"] = "button" +defs["igIsMouseClicked"][2]["argsT"][1]["type"] = "ImGuiMouseButton" +defs["igIsMouseClicked"][2]["argsT"][2] = {} +defs["igIsMouseClicked"][2]["argsT"][2]["name"] = "owner_id" +defs["igIsMouseClicked"][2]["argsT"][2]["type"] = "ImGuiID" +defs["igIsMouseClicked"][2]["argsT"][3] = {} +defs["igIsMouseClicked"][2]["argsT"][3]["name"] = "flags" +defs["igIsMouseClicked"][2]["argsT"][3]["type"] = "ImGuiInputFlags" +defs["igIsMouseClicked"][2]["argsoriginal"] = "(ImGuiMouseButton button,ImGuiID owner_id,ImGuiInputFlags flags=0)" +defs["igIsMouseClicked"][2]["call_args"] = "(button,owner_id,flags)" +defs["igIsMouseClicked"][2]["cimguiname"] = "igIsMouseClicked" +defs["igIsMouseClicked"][2]["defaults"] = {} +defs["igIsMouseClicked"][2]["defaults"]["flags"] = "0" +defs["igIsMouseClicked"][2]["funcname"] = "IsMouseClicked" +defs["igIsMouseClicked"][2]["location"] = "imgui_internal:3154" +defs["igIsMouseClicked"][2]["namespace"] = "ImGui" +defs["igIsMouseClicked"][2]["ov_cimguiname"] = "igIsMouseClicked_ID" +defs["igIsMouseClicked"][2]["ret"] = "bool" +defs["igIsMouseClicked"][2]["signature"] = "(ImGuiMouseButton,ImGuiID,ImGuiInputFlags)" +defs["igIsMouseClicked"][2]["stname"] = "" +defs["igIsMouseClicked"]["(ImGuiMouseButton,ImGuiID,ImGuiInputFlags)"] = defs["igIsMouseClicked"][2] defs["igIsMouseClicked"]["(ImGuiMouseButton,bool)"] = defs["igIsMouseClicked"][1] defs["igIsMouseDoubleClicked"] = {} defs["igIsMouseDoubleClicked"][1] = {} @@ -20760,7 +21849,7 @@ defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" defs["igIsMouseDoubleClicked"][1]["defaults"] = {} defs["igIsMouseDoubleClicked"][1]["funcname"] = "IsMouseDoubleClicked" -defs["igIsMouseDoubleClicked"][1]["location"] = "imgui:934" +defs["igIsMouseDoubleClicked"][1]["location"] = "imgui:936" defs["igIsMouseDoubleClicked"][1]["namespace"] = "ImGui" defs["igIsMouseDoubleClicked"][1]["ov_cimguiname"] = "igIsMouseDoubleClicked" defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" @@ -20779,13 +21868,34 @@ defs["igIsMouseDown"][1]["call_args"] = "(button)" defs["igIsMouseDown"][1]["cimguiname"] = "igIsMouseDown" defs["igIsMouseDown"][1]["defaults"] = {} defs["igIsMouseDown"][1]["funcname"] = "IsMouseDown" -defs["igIsMouseDown"][1]["location"] = "imgui:931" +defs["igIsMouseDown"][1]["location"] = "imgui:933" defs["igIsMouseDown"][1]["namespace"] = "ImGui" -defs["igIsMouseDown"][1]["ov_cimguiname"] = "igIsMouseDown" +defs["igIsMouseDown"][1]["ov_cimguiname"] = "igIsMouseDown_Nil" defs["igIsMouseDown"][1]["ret"] = "bool" defs["igIsMouseDown"][1]["signature"] = "(ImGuiMouseButton)" defs["igIsMouseDown"][1]["stname"] = "" +defs["igIsMouseDown"][2] = {} +defs["igIsMouseDown"][2]["args"] = "(ImGuiMouseButton button,ImGuiID owner_id)" +defs["igIsMouseDown"][2]["argsT"] = {} +defs["igIsMouseDown"][2]["argsT"][1] = {} +defs["igIsMouseDown"][2]["argsT"][1]["name"] = "button" +defs["igIsMouseDown"][2]["argsT"][1]["type"] = "ImGuiMouseButton" +defs["igIsMouseDown"][2]["argsT"][2] = {} +defs["igIsMouseDown"][2]["argsT"][2]["name"] = "owner_id" +defs["igIsMouseDown"][2]["argsT"][2]["type"] = "ImGuiID" +defs["igIsMouseDown"][2]["argsoriginal"] = "(ImGuiMouseButton button,ImGuiID owner_id)" +defs["igIsMouseDown"][2]["call_args"] = "(button,owner_id)" +defs["igIsMouseDown"][2]["cimguiname"] = "igIsMouseDown" +defs["igIsMouseDown"][2]["defaults"] = {} +defs["igIsMouseDown"][2]["funcname"] = "IsMouseDown" +defs["igIsMouseDown"][2]["location"] = "imgui_internal:3153" +defs["igIsMouseDown"][2]["namespace"] = "ImGui" +defs["igIsMouseDown"][2]["ov_cimguiname"] = "igIsMouseDown_ID" +defs["igIsMouseDown"][2]["ret"] = "bool" +defs["igIsMouseDown"][2]["signature"] = "(ImGuiMouseButton,ImGuiID)" +defs["igIsMouseDown"][2]["stname"] = "" defs["igIsMouseDown"]["(ImGuiMouseButton)"] = defs["igIsMouseDown"][1] +defs["igIsMouseDown"]["(ImGuiMouseButton,ImGuiID)"] = defs["igIsMouseDown"][2] defs["igIsMouseDragPastThreshold"] = {} defs["igIsMouseDragPastThreshold"][1] = {} defs["igIsMouseDragPastThreshold"][1]["args"] = "(ImGuiMouseButton button,float lock_threshold)" @@ -20802,7 +21912,7 @@ defs["igIsMouseDragPastThreshold"][1]["cimguiname"] = "igIsMouseDragPastThreshol defs["igIsMouseDragPastThreshold"][1]["defaults"] = {} defs["igIsMouseDragPastThreshold"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igIsMouseDragPastThreshold"][1]["funcname"] = "IsMouseDragPastThreshold" -defs["igIsMouseDragPastThreshold"][1]["location"] = "imgui_internal:2830" +defs["igIsMouseDragPastThreshold"][1]["location"] = "imgui_internal:3119" defs["igIsMouseDragPastThreshold"][1]["namespace"] = "ImGui" defs["igIsMouseDragPastThreshold"][1]["ov_cimguiname"] = "igIsMouseDragPastThreshold" defs["igIsMouseDragPastThreshold"][1]["ret"] = "bool" @@ -20825,7 +21935,7 @@ defs["igIsMouseDragging"][1]["cimguiname"] = "igIsMouseDragging" defs["igIsMouseDragging"][1]["defaults"] = {} defs["igIsMouseDragging"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igIsMouseDragging"][1]["funcname"] = "IsMouseDragging" -defs["igIsMouseDragging"][1]["location"] = "imgui:941" +defs["igIsMouseDragging"][1]["location"] = "imgui:943" defs["igIsMouseDragging"][1]["namespace"] = "ImGui" defs["igIsMouseDragging"][1]["ov_cimguiname"] = "igIsMouseDragging" defs["igIsMouseDragging"][1]["ret"] = "bool" @@ -20851,13 +21961,32 @@ defs["igIsMouseHoveringRect"][1]["cimguiname"] = "igIsMouseHoveringRect" defs["igIsMouseHoveringRect"][1]["defaults"] = {} defs["igIsMouseHoveringRect"][1]["defaults"]["clip"] = "true" defs["igIsMouseHoveringRect"][1]["funcname"] = "IsMouseHoveringRect" -defs["igIsMouseHoveringRect"][1]["location"] = "imgui:936" +defs["igIsMouseHoveringRect"][1]["location"] = "imgui:938" defs["igIsMouseHoveringRect"][1]["namespace"] = "ImGui" defs["igIsMouseHoveringRect"][1]["ov_cimguiname"] = "igIsMouseHoveringRect" defs["igIsMouseHoveringRect"][1]["ret"] = "bool" defs["igIsMouseHoveringRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" defs["igIsMouseHoveringRect"][1]["stname"] = "" defs["igIsMouseHoveringRect"]["(const ImVec2,const ImVec2,bool)"] = defs["igIsMouseHoveringRect"][1] +defs["igIsMouseKey"] = {} +defs["igIsMouseKey"][1] = {} +defs["igIsMouseKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsMouseKey"][1]["argsT"] = {} +defs["igIsMouseKey"][1]["argsT"][1] = {} +defs["igIsMouseKey"][1]["argsT"][1]["name"] = "key" +defs["igIsMouseKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsMouseKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsMouseKey"][1]["call_args"] = "(key)" +defs["igIsMouseKey"][1]["cimguiname"] = "igIsMouseKey" +defs["igIsMouseKey"][1]["defaults"] = {} +defs["igIsMouseKey"][1]["funcname"] = "IsMouseKey" +defs["igIsMouseKey"][1]["location"] = "imgui_internal:3105" +defs["igIsMouseKey"][1]["namespace"] = "ImGui" +defs["igIsMouseKey"][1]["ov_cimguiname"] = "igIsMouseKey" +defs["igIsMouseKey"][1]["ret"] = "bool" +defs["igIsMouseKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsMouseKey"][1]["stname"] = "" +defs["igIsMouseKey"]["(ImGuiKey)"] = defs["igIsMouseKey"][1] defs["igIsMousePosValid"] = {} defs["igIsMousePosValid"][1] = {} defs["igIsMousePosValid"][1]["args"] = "(const ImVec2* mouse_pos)" @@ -20871,7 +22000,7 @@ defs["igIsMousePosValid"][1]["cimguiname"] = "igIsMousePosValid" defs["igIsMousePosValid"][1]["defaults"] = {} defs["igIsMousePosValid"][1]["defaults"]["mouse_pos"] = "NULL" defs["igIsMousePosValid"][1]["funcname"] = "IsMousePosValid" -defs["igIsMousePosValid"][1]["location"] = "imgui:937" +defs["igIsMousePosValid"][1]["location"] = "imgui:939" defs["igIsMousePosValid"][1]["namespace"] = "ImGui" defs["igIsMousePosValid"][1]["ov_cimguiname"] = "igIsMousePosValid" defs["igIsMousePosValid"][1]["ret"] = "bool" @@ -20890,54 +22019,72 @@ defs["igIsMouseReleased"][1]["call_args"] = "(button)" defs["igIsMouseReleased"][1]["cimguiname"] = "igIsMouseReleased" defs["igIsMouseReleased"][1]["defaults"] = {} defs["igIsMouseReleased"][1]["funcname"] = "IsMouseReleased" -defs["igIsMouseReleased"][1]["location"] = "imgui:933" +defs["igIsMouseReleased"][1]["location"] = "imgui:935" defs["igIsMouseReleased"][1]["namespace"] = "ImGui" -defs["igIsMouseReleased"][1]["ov_cimguiname"] = "igIsMouseReleased" +defs["igIsMouseReleased"][1]["ov_cimguiname"] = "igIsMouseReleased_Nil" defs["igIsMouseReleased"][1]["ret"] = "bool" defs["igIsMouseReleased"][1]["signature"] = "(ImGuiMouseButton)" defs["igIsMouseReleased"][1]["stname"] = "" +defs["igIsMouseReleased"][2] = {} +defs["igIsMouseReleased"][2]["args"] = "(ImGuiMouseButton button,ImGuiID owner_id)" +defs["igIsMouseReleased"][2]["argsT"] = {} +defs["igIsMouseReleased"][2]["argsT"][1] = {} +defs["igIsMouseReleased"][2]["argsT"][1]["name"] = "button" +defs["igIsMouseReleased"][2]["argsT"][1]["type"] = "ImGuiMouseButton" +defs["igIsMouseReleased"][2]["argsT"][2] = {} +defs["igIsMouseReleased"][2]["argsT"][2]["name"] = "owner_id" +defs["igIsMouseReleased"][2]["argsT"][2]["type"] = "ImGuiID" +defs["igIsMouseReleased"][2]["argsoriginal"] = "(ImGuiMouseButton button,ImGuiID owner_id)" +defs["igIsMouseReleased"][2]["call_args"] = "(button,owner_id)" +defs["igIsMouseReleased"][2]["cimguiname"] = "igIsMouseReleased" +defs["igIsMouseReleased"][2]["defaults"] = {} +defs["igIsMouseReleased"][2]["funcname"] = "IsMouseReleased" +defs["igIsMouseReleased"][2]["location"] = "imgui_internal:3155" +defs["igIsMouseReleased"][2]["namespace"] = "ImGui" +defs["igIsMouseReleased"][2]["ov_cimguiname"] = "igIsMouseReleased_ID" +defs["igIsMouseReleased"][2]["ret"] = "bool" +defs["igIsMouseReleased"][2]["signature"] = "(ImGuiMouseButton,ImGuiID)" +defs["igIsMouseReleased"][2]["stname"] = "" defs["igIsMouseReleased"]["(ImGuiMouseButton)"] = defs["igIsMouseReleased"][1] -defs["igIsNavInputDown"] = {} -defs["igIsNavInputDown"][1] = {} -defs["igIsNavInputDown"][1]["args"] = "(ImGuiNavInput n)" -defs["igIsNavInputDown"][1]["argsT"] = {} -defs["igIsNavInputDown"][1]["argsT"][1] = {} -defs["igIsNavInputDown"][1]["argsT"][1]["name"] = "n" -defs["igIsNavInputDown"][1]["argsT"][1]["type"] = "ImGuiNavInput" -defs["igIsNavInputDown"][1]["argsoriginal"] = "(ImGuiNavInput n)" -defs["igIsNavInputDown"][1]["call_args"] = "(n)" -defs["igIsNavInputDown"][1]["cimguiname"] = "igIsNavInputDown" -defs["igIsNavInputDown"][1]["defaults"] = {} -defs["igIsNavInputDown"][1]["funcname"] = "IsNavInputDown" -defs["igIsNavInputDown"][1]["location"] = "imgui_internal:2832" -defs["igIsNavInputDown"][1]["namespace"] = "ImGui" -defs["igIsNavInputDown"][1]["ov_cimguiname"] = "igIsNavInputDown" -defs["igIsNavInputDown"][1]["ret"] = "bool" -defs["igIsNavInputDown"][1]["signature"] = "(ImGuiNavInput)" -defs["igIsNavInputDown"][1]["stname"] = "" -defs["igIsNavInputDown"]["(ImGuiNavInput)"] = defs["igIsNavInputDown"][1] -defs["igIsNavInputTest"] = {} -defs["igIsNavInputTest"][1] = {} -defs["igIsNavInputTest"][1]["args"] = "(ImGuiNavInput n,ImGuiInputReadMode rm)" -defs["igIsNavInputTest"][1]["argsT"] = {} -defs["igIsNavInputTest"][1]["argsT"][1] = {} -defs["igIsNavInputTest"][1]["argsT"][1]["name"] = "n" -defs["igIsNavInputTest"][1]["argsT"][1]["type"] = "ImGuiNavInput" -defs["igIsNavInputTest"][1]["argsT"][2] = {} -defs["igIsNavInputTest"][1]["argsT"][2]["name"] = "rm" -defs["igIsNavInputTest"][1]["argsT"][2]["type"] = "ImGuiInputReadMode" -defs["igIsNavInputTest"][1]["argsoriginal"] = "(ImGuiNavInput n,ImGuiInputReadMode rm)" -defs["igIsNavInputTest"][1]["call_args"] = "(n,rm)" -defs["igIsNavInputTest"][1]["cimguiname"] = "igIsNavInputTest" -defs["igIsNavInputTest"][1]["defaults"] = {} -defs["igIsNavInputTest"][1]["funcname"] = "IsNavInputTest" -defs["igIsNavInputTest"][1]["location"] = "imgui_internal:2833" -defs["igIsNavInputTest"][1]["namespace"] = "ImGui" -defs["igIsNavInputTest"][1]["ov_cimguiname"] = "igIsNavInputTest" -defs["igIsNavInputTest"][1]["ret"] = "bool" -defs["igIsNavInputTest"][1]["signature"] = "(ImGuiNavInput,ImGuiInputReadMode)" -defs["igIsNavInputTest"][1]["stname"] = "" -defs["igIsNavInputTest"]["(ImGuiNavInput,ImGuiInputReadMode)"] = defs["igIsNavInputTest"][1] +defs["igIsMouseReleased"]["(ImGuiMouseButton,ImGuiID)"] = defs["igIsMouseReleased"][2] +defs["igIsNamedKey"] = {} +defs["igIsNamedKey"][1] = {} +defs["igIsNamedKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsNamedKey"][1]["argsT"] = {} +defs["igIsNamedKey"][1]["argsT"][1] = {} +defs["igIsNamedKey"][1]["argsT"][1]["name"] = "key" +defs["igIsNamedKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsNamedKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsNamedKey"][1]["call_args"] = "(key)" +defs["igIsNamedKey"][1]["cimguiname"] = "igIsNamedKey" +defs["igIsNamedKey"][1]["defaults"] = {} +defs["igIsNamedKey"][1]["funcname"] = "IsNamedKey" +defs["igIsNamedKey"][1]["location"] = "imgui_internal:3100" +defs["igIsNamedKey"][1]["namespace"] = "ImGui" +defs["igIsNamedKey"][1]["ov_cimguiname"] = "igIsNamedKey" +defs["igIsNamedKey"][1]["ret"] = "bool" +defs["igIsNamedKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsNamedKey"][1]["stname"] = "" +defs["igIsNamedKey"]["(ImGuiKey)"] = defs["igIsNamedKey"][1] +defs["igIsNamedKeyOrModKey"] = {} +defs["igIsNamedKeyOrModKey"][1] = {} +defs["igIsNamedKeyOrModKey"][1]["args"] = "(ImGuiKey key)" +defs["igIsNamedKeyOrModKey"][1]["argsT"] = {} +defs["igIsNamedKeyOrModKey"][1]["argsT"][1] = {} +defs["igIsNamedKeyOrModKey"][1]["argsT"][1]["name"] = "key" +defs["igIsNamedKeyOrModKey"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsNamedKeyOrModKey"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsNamedKeyOrModKey"][1]["call_args"] = "(key)" +defs["igIsNamedKeyOrModKey"][1]["cimguiname"] = "igIsNamedKeyOrModKey" +defs["igIsNamedKeyOrModKey"][1]["defaults"] = {} +defs["igIsNamedKeyOrModKey"][1]["funcname"] = "IsNamedKeyOrModKey" +defs["igIsNamedKeyOrModKey"][1]["location"] = "imgui_internal:3101" +defs["igIsNamedKeyOrModKey"][1]["namespace"] = "ImGui" +defs["igIsNamedKeyOrModKey"][1]["ov_cimguiname"] = "igIsNamedKeyOrModKey" +defs["igIsNamedKeyOrModKey"][1]["ret"] = "bool" +defs["igIsNamedKeyOrModKey"][1]["signature"] = "(ImGuiKey)" +defs["igIsNamedKeyOrModKey"][1]["stname"] = "" +defs["igIsNamedKeyOrModKey"]["(ImGuiKey)"] = defs["igIsNamedKeyOrModKey"][1] defs["igIsPopupOpen"] = {} defs["igIsPopupOpen"][1] = {} defs["igIsPopupOpen"][1]["args"] = "(const char* str_id,ImGuiPopupFlags flags)" @@ -20954,9 +22101,9 @@ defs["igIsPopupOpen"][1]["cimguiname"] = "igIsPopupOpen" defs["igIsPopupOpen"][1]["defaults"] = {} defs["igIsPopupOpen"][1]["defaults"]["flags"] = "0" defs["igIsPopupOpen"][1]["funcname"] = "IsPopupOpen" -defs["igIsPopupOpen"][1]["location"] = "imgui:721" +defs["igIsPopupOpen"][1]["location"] = "imgui:723" defs["igIsPopupOpen"][1]["namespace"] = "ImGui" -defs["igIsPopupOpen"][1]["ov_cimguiname"] = "igIsPopupOpenStr" +defs["igIsPopupOpen"][1]["ov_cimguiname"] = "igIsPopupOpen_Str" defs["igIsPopupOpen"][1]["ret"] = "bool" defs["igIsPopupOpen"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igIsPopupOpen"][1]["stname"] = "" @@ -20974,9 +22121,9 @@ defs["igIsPopupOpen"][2]["call_args"] = "(id,popup_flags)" defs["igIsPopupOpen"][2]["cimguiname"] = "igIsPopupOpen" defs["igIsPopupOpen"][2]["defaults"] = {} defs["igIsPopupOpen"][2]["funcname"] = "IsPopupOpen" -defs["igIsPopupOpen"][2]["location"] = "imgui_internal:2780" +defs["igIsPopupOpen"][2]["location"] = "imgui_internal:3065" defs["igIsPopupOpen"][2]["namespace"] = "ImGui" -defs["igIsPopupOpen"][2]["ov_cimguiname"] = "igIsPopupOpenID" +defs["igIsPopupOpen"][2]["ov_cimguiname"] = "igIsPopupOpen_ID" defs["igIsPopupOpen"][2]["ret"] = "bool" defs["igIsPopupOpen"][2]["signature"] = "(ImGuiID,ImGuiPopupFlags)" defs["igIsPopupOpen"][2]["stname"] = "" @@ -20994,9 +22141,9 @@ defs["igIsRectVisible"][1]["call_args"] = "(size)" defs["igIsRectVisible"][1]["cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"][1]["defaults"] = {} defs["igIsRectVisible"][1]["funcname"] = "IsRectVisible" -defs["igIsRectVisible"][1]["location"] = "imgui:893" +defs["igIsRectVisible"][1]["location"] = "imgui:896" defs["igIsRectVisible"][1]["namespace"] = "ImGui" -defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisibleNil" +defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisible_Nil" defs["igIsRectVisible"][1]["ret"] = "bool" defs["igIsRectVisible"][1]["signature"] = "(const ImVec2)" defs["igIsRectVisible"][1]["stname"] = "" @@ -21014,9 +22161,9 @@ defs["igIsRectVisible"][2]["call_args"] = "(rect_min,rect_max)" defs["igIsRectVisible"][2]["cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"][2]["defaults"] = {} defs["igIsRectVisible"][2]["funcname"] = "IsRectVisible" -defs["igIsRectVisible"][2]["location"] = "imgui:894" +defs["igIsRectVisible"][2]["location"] = "imgui:897" defs["igIsRectVisible"][2]["namespace"] = "ImGui" -defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisibleVec2" +defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisible_Vec2" defs["igIsRectVisible"][2]["ret"] = "bool" defs["igIsRectVisible"][2]["signature"] = "(const ImVec2,const ImVec2)" defs["igIsRectVisible"][2]["stname"] = "" @@ -21037,7 +22184,7 @@ defs["igIsWindowAbove"][1]["call_args"] = "(potential_above,potential_below)" defs["igIsWindowAbove"][1]["cimguiname"] = "igIsWindowAbove" defs["igIsWindowAbove"][1]["defaults"] = {} defs["igIsWindowAbove"][1]["funcname"] = "IsWindowAbove" -defs["igIsWindowAbove"][1]["location"] = "imgui_internal:2652" +defs["igIsWindowAbove"][1]["location"] = "imgui_internal:2940" defs["igIsWindowAbove"][1]["namespace"] = "ImGui" defs["igIsWindowAbove"][1]["ov_cimguiname"] = "igIsWindowAbove" defs["igIsWindowAbove"][1]["ret"] = "bool" @@ -21053,7 +22200,7 @@ defs["igIsWindowAppearing"][1]["call_args"] = "()" defs["igIsWindowAppearing"][1]["cimguiname"] = "igIsWindowAppearing" defs["igIsWindowAppearing"][1]["defaults"] = {} defs["igIsWindowAppearing"][1]["funcname"] = "IsWindowAppearing" -defs["igIsWindowAppearing"][1]["location"] = "imgui:359" +defs["igIsWindowAppearing"][1]["location"] = "imgui:353" defs["igIsWindowAppearing"][1]["namespace"] = "ImGui" defs["igIsWindowAppearing"][1]["ov_cimguiname"] = "igIsWindowAppearing" defs["igIsWindowAppearing"][1]["ret"] = "bool" @@ -21081,7 +22228,7 @@ defs["igIsWindowChildOf"][1]["call_args"] = "(window,potential_parent,popup_hier defs["igIsWindowChildOf"][1]["cimguiname"] = "igIsWindowChildOf" defs["igIsWindowChildOf"][1]["defaults"] = {} defs["igIsWindowChildOf"][1]["funcname"] = "IsWindowChildOf" -defs["igIsWindowChildOf"][1]["location"] = "imgui_internal:2650" +defs["igIsWindowChildOf"][1]["location"] = "imgui_internal:2938" defs["igIsWindowChildOf"][1]["namespace"] = "ImGui" defs["igIsWindowChildOf"][1]["ov_cimguiname"] = "igIsWindowChildOf" defs["igIsWindowChildOf"][1]["ret"] = "bool" @@ -21097,7 +22244,7 @@ defs["igIsWindowCollapsed"][1]["call_args"] = "()" defs["igIsWindowCollapsed"][1]["cimguiname"] = "igIsWindowCollapsed" defs["igIsWindowCollapsed"][1]["defaults"] = {} defs["igIsWindowCollapsed"][1]["funcname"] = "IsWindowCollapsed" -defs["igIsWindowCollapsed"][1]["location"] = "imgui:360" +defs["igIsWindowCollapsed"][1]["location"] = "imgui:354" defs["igIsWindowCollapsed"][1]["namespace"] = "ImGui" defs["igIsWindowCollapsed"][1]["ov_cimguiname"] = "igIsWindowCollapsed" defs["igIsWindowCollapsed"][1]["ret"] = "bool" @@ -21113,7 +22260,7 @@ defs["igIsWindowDocked"][1]["call_args"] = "()" defs["igIsWindowDocked"][1]["cimguiname"] = "igIsWindowDocked" defs["igIsWindowDocked"][1]["defaults"] = {} defs["igIsWindowDocked"][1]["funcname"] = "IsWindowDocked" -defs["igIsWindowDocked"][1]["location"] = "imgui:823" +defs["igIsWindowDocked"][1]["location"] = "imgui:820" defs["igIsWindowDocked"][1]["namespace"] = "ImGui" defs["igIsWindowDocked"][1]["ov_cimguiname"] = "igIsWindowDocked" defs["igIsWindowDocked"][1]["ret"] = "bool" @@ -21133,7 +22280,7 @@ defs["igIsWindowFocused"][1]["cimguiname"] = "igIsWindowFocused" defs["igIsWindowFocused"][1]["defaults"] = {} defs["igIsWindowFocused"][1]["defaults"]["flags"] = "0" defs["igIsWindowFocused"][1]["funcname"] = "IsWindowFocused" -defs["igIsWindowFocused"][1]["location"] = "imgui:361" +defs["igIsWindowFocused"][1]["location"] = "imgui:355" defs["igIsWindowFocused"][1]["namespace"] = "ImGui" defs["igIsWindowFocused"][1]["ov_cimguiname"] = "igIsWindowFocused" defs["igIsWindowFocused"][1]["ret"] = "bool" @@ -21153,7 +22300,7 @@ defs["igIsWindowHovered"][1]["cimguiname"] = "igIsWindowHovered" defs["igIsWindowHovered"][1]["defaults"] = {} defs["igIsWindowHovered"][1]["defaults"]["flags"] = "0" defs["igIsWindowHovered"][1]["funcname"] = "IsWindowHovered" -defs["igIsWindowHovered"][1]["location"] = "imgui:362" +defs["igIsWindowHovered"][1]["location"] = "imgui:356" defs["igIsWindowHovered"][1]["namespace"] = "ImGui" defs["igIsWindowHovered"][1]["ov_cimguiname"] = "igIsWindowHovered" defs["igIsWindowHovered"][1]["ret"] = "bool" @@ -21172,7 +22319,7 @@ defs["igIsWindowNavFocusable"][1]["call_args"] = "(window)" defs["igIsWindowNavFocusable"][1]["cimguiname"] = "igIsWindowNavFocusable" defs["igIsWindowNavFocusable"][1]["defaults"] = {} defs["igIsWindowNavFocusable"][1]["funcname"] = "IsWindowNavFocusable" -defs["igIsWindowNavFocusable"][1]["location"] = "imgui_internal:2653" +defs["igIsWindowNavFocusable"][1]["location"] = "imgui_internal:2941" defs["igIsWindowNavFocusable"][1]["namespace"] = "ImGui" defs["igIsWindowNavFocusable"][1]["ov_cimguiname"] = "igIsWindowNavFocusable" defs["igIsWindowNavFocusable"][1]["ret"] = "bool" @@ -21194,7 +22341,7 @@ defs["igIsWindowWithinBeginStackOf"][1]["call_args"] = "(window,potential_parent defs["igIsWindowWithinBeginStackOf"][1]["cimguiname"] = "igIsWindowWithinBeginStackOf" defs["igIsWindowWithinBeginStackOf"][1]["defaults"] = {} defs["igIsWindowWithinBeginStackOf"][1]["funcname"] = "IsWindowWithinBeginStackOf" -defs["igIsWindowWithinBeginStackOf"][1]["location"] = "imgui_internal:2651" +defs["igIsWindowWithinBeginStackOf"][1]["location"] = "imgui_internal:2939" defs["igIsWindowWithinBeginStackOf"][1]["namespace"] = "ImGui" defs["igIsWindowWithinBeginStackOf"][1]["ov_cimguiname"] = "igIsWindowWithinBeginStackOf" defs["igIsWindowWithinBeginStackOf"][1]["ret"] = "bool" @@ -21224,7 +22371,7 @@ defs["igItemAdd"][1]["defaults"] = {} defs["igItemAdd"][1]["defaults"]["extra_flags"] = "0" defs["igItemAdd"][1]["defaults"]["nav_bb"] = "NULL" defs["igItemAdd"][1]["funcname"] = "ItemAdd" -defs["igItemAdd"][1]["location"] = "imgui_internal:2742" +defs["igItemAdd"][1]["location"] = "imgui_internal:3038" defs["igItemAdd"][1]["namespace"] = "ImGui" defs["igItemAdd"][1]["ov_cimguiname"] = "igItemAdd" defs["igItemAdd"][1]["ret"] = "bool" @@ -21246,7 +22393,7 @@ defs["igItemHoverable"][1]["call_args"] = "(bb,id)" defs["igItemHoverable"][1]["cimguiname"] = "igItemHoverable" defs["igItemHoverable"][1]["defaults"] = {} defs["igItemHoverable"][1]["funcname"] = "ItemHoverable" -defs["igItemHoverable"][1]["location"] = "imgui_internal:2743" +defs["igItemHoverable"][1]["location"] = "imgui_internal:3039" defs["igItemHoverable"][1]["namespace"] = "ImGui" defs["igItemHoverable"][1]["ov_cimguiname"] = "igItemHoverable" defs["igItemHoverable"][1]["ret"] = "bool" @@ -21269,9 +22416,9 @@ defs["igItemSize"][1]["cimguiname"] = "igItemSize" defs["igItemSize"][1]["defaults"] = {} defs["igItemSize"][1]["defaults"]["text_baseline_y"] = "-1.0f" defs["igItemSize"][1]["funcname"] = "ItemSize" -defs["igItemSize"][1]["location"] = "imgui_internal:2740" +defs["igItemSize"][1]["location"] = "imgui_internal:3036" defs["igItemSize"][1]["namespace"] = "ImGui" -defs["igItemSize"][1]["ov_cimguiname"] = "igItemSizeVec2" +defs["igItemSize"][1]["ov_cimguiname"] = "igItemSize_Vec2" defs["igItemSize"][1]["ret"] = "void" defs["igItemSize"][1]["signature"] = "(const ImVec2,float)" defs["igItemSize"][1]["stname"] = "" @@ -21290,9 +22437,9 @@ defs["igItemSize"][2]["cimguiname"] = "igItemSize" defs["igItemSize"][2]["defaults"] = {} defs["igItemSize"][2]["defaults"]["text_baseline_y"] = "-1.0f" defs["igItemSize"][2]["funcname"] = "ItemSize" -defs["igItemSize"][2]["location"] = "imgui_internal:2741" +defs["igItemSize"][2]["location"] = "imgui_internal:3037" defs["igItemSize"][2]["namespace"] = "ImGui" -defs["igItemSize"][2]["ov_cimguiname"] = "igItemSizeRect" +defs["igItemSize"][2]["ov_cimguiname"] = "igItemSize_Rect" defs["igItemSize"][2]["ret"] = "void" defs["igItemSize"][2]["signature"] = "(const ImRect,float)" defs["igItemSize"][2]["stname"] = "" @@ -21310,7 +22457,7 @@ defs["igKeepAliveID"][1]["call_args"] = "(id)" defs["igKeepAliveID"][1]["cimguiname"] = "igKeepAliveID" defs["igKeepAliveID"][1]["defaults"] = {} defs["igKeepAliveID"][1]["funcname"] = "KeepAliveID" -defs["igKeepAliveID"][1]["location"] = "imgui_internal:2734" +defs["igKeepAliveID"][1]["location"] = "imgui_internal:3030" defs["igKeepAliveID"][1]["namespace"] = "ImGui" defs["igKeepAliveID"][1]["ov_cimguiname"] = "igKeepAliveID" defs["igKeepAliveID"][1]["ret"] = "void" @@ -21336,7 +22483,7 @@ defs["igLabelText"][1]["cimguiname"] = "igLabelText" defs["igLabelText"][1]["defaults"] = {} defs["igLabelText"][1]["funcname"] = "LabelText" defs["igLabelText"][1]["isvararg"] = "...)" -defs["igLabelText"][1]["location"] = "imgui:504" +defs["igLabelText"][1]["location"] = "imgui:501" defs["igLabelText"][1]["namespace"] = "ImGui" defs["igLabelText"][1]["ov_cimguiname"] = "igLabelText" defs["igLabelText"][1]["ret"] = "void" @@ -21361,7 +22508,7 @@ defs["igLabelTextV"][1]["call_args"] = "(label,fmt,args)" defs["igLabelTextV"][1]["cimguiname"] = "igLabelTextV" defs["igLabelTextV"][1]["defaults"] = {} defs["igLabelTextV"][1]["funcname"] = "LabelTextV" -defs["igLabelTextV"][1]["location"] = "imgui:505" +defs["igLabelTextV"][1]["location"] = "imgui:502" defs["igLabelTextV"][1]["namespace"] = "ImGui" defs["igLabelTextV"][1]["ov_cimguiname"] = "igLabelTextV" defs["igLabelTextV"][1]["ret"] = "void" @@ -21393,9 +22540,9 @@ defs["igListBox"][1]["cimguiname"] = "igListBox" defs["igListBox"][1]["defaults"] = {} defs["igListBox"][1]["defaults"]["height_in_items"] = "-1" defs["igListBox"][1]["funcname"] = "ListBox" -defs["igListBox"][1]["location"] = "imgui:642" +defs["igListBox"][1]["location"] = "imgui:643" defs["igListBox"][1]["namespace"] = "ImGui" -defs["igListBox"][1]["ov_cimguiname"] = "igListBoxStr_arr" +defs["igListBox"][1]["ov_cimguiname"] = "igListBox_Str_arr" defs["igListBox"][1]["ret"] = "bool" defs["igListBox"][1]["signature"] = "(const char*,int*,const char* const[],int,int)" defs["igListBox"][1]["stname"] = "" @@ -21428,9 +22575,9 @@ defs["igListBox"][2]["cimguiname"] = "igListBox" defs["igListBox"][2]["defaults"] = {} defs["igListBox"][2]["defaults"]["height_in_items"] = "-1" defs["igListBox"][2]["funcname"] = "ListBox" -defs["igListBox"][2]["location"] = "imgui:643" +defs["igListBox"][2]["location"] = "imgui:644" defs["igListBox"][2]["namespace"] = "ImGui" -defs["igListBox"][2]["ov_cimguiname"] = "igListBoxFnBoolPtr" +defs["igListBox"][2]["ov_cimguiname"] = "igListBox_FnBoolPtr" defs["igListBox"][2]["ret"] = "bool" defs["igListBox"][2]["signature"] = "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)" defs["igListBox"][2]["stname"] = "" @@ -21448,7 +22595,7 @@ defs["igLoadIniSettingsFromDisk"][1]["call_args"] = "(ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["cimguiname"] = "igLoadIniSettingsFromDisk" defs["igLoadIniSettingsFromDisk"][1]["defaults"] = {} defs["igLoadIniSettingsFromDisk"][1]["funcname"] = "LoadIniSettingsFromDisk" -defs["igLoadIniSettingsFromDisk"][1]["location"] = "imgui:957" +defs["igLoadIniSettingsFromDisk"][1]["location"] = "imgui:959" defs["igLoadIniSettingsFromDisk"][1]["namespace"] = "ImGui" defs["igLoadIniSettingsFromDisk"][1]["ov_cimguiname"] = "igLoadIniSettingsFromDisk" defs["igLoadIniSettingsFromDisk"][1]["ret"] = "void" @@ -21471,13 +22618,54 @@ defs["igLoadIniSettingsFromMemory"][1]["cimguiname"] = "igLoadIniSettingsFromMem defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" defs["igLoadIniSettingsFromMemory"][1]["funcname"] = "LoadIniSettingsFromMemory" -defs["igLoadIniSettingsFromMemory"][1]["location"] = "imgui:958" +defs["igLoadIniSettingsFromMemory"][1]["location"] = "imgui:960" defs["igLoadIniSettingsFromMemory"][1]["namespace"] = "ImGui" defs["igLoadIniSettingsFromMemory"][1]["ov_cimguiname"] = "igLoadIniSettingsFromMemory" defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" defs["igLoadIniSettingsFromMemory"][1]["signature"] = "(const char*,size_t)" defs["igLoadIniSettingsFromMemory"][1]["stname"] = "" defs["igLoadIniSettingsFromMemory"]["(const char*,size_t)"] = defs["igLoadIniSettingsFromMemory"][1] +defs["igLocalizeGetMsg"] = {} +defs["igLocalizeGetMsg"][1] = {} +defs["igLocalizeGetMsg"][1]["args"] = "(ImGuiLocKey key)" +defs["igLocalizeGetMsg"][1]["argsT"] = {} +defs["igLocalizeGetMsg"][1]["argsT"][1] = {} +defs["igLocalizeGetMsg"][1]["argsT"][1]["name"] = "key" +defs["igLocalizeGetMsg"][1]["argsT"][1]["type"] = "ImGuiLocKey" +defs["igLocalizeGetMsg"][1]["argsoriginal"] = "(ImGuiLocKey key)" +defs["igLocalizeGetMsg"][1]["call_args"] = "(key)" +defs["igLocalizeGetMsg"][1]["cimguiname"] = "igLocalizeGetMsg" +defs["igLocalizeGetMsg"][1]["defaults"] = {} +defs["igLocalizeGetMsg"][1]["funcname"] = "LocalizeGetMsg" +defs["igLocalizeGetMsg"][1]["location"] = "imgui_internal:3003" +defs["igLocalizeGetMsg"][1]["namespace"] = "ImGui" +defs["igLocalizeGetMsg"][1]["ov_cimguiname"] = "igLocalizeGetMsg" +defs["igLocalizeGetMsg"][1]["ret"] = "const char*" +defs["igLocalizeGetMsg"][1]["signature"] = "(ImGuiLocKey)" +defs["igLocalizeGetMsg"][1]["stname"] = "" +defs["igLocalizeGetMsg"]["(ImGuiLocKey)"] = defs["igLocalizeGetMsg"][1] +defs["igLocalizeRegisterEntries"] = {} +defs["igLocalizeRegisterEntries"][1] = {} +defs["igLocalizeRegisterEntries"][1]["args"] = "(const ImGuiLocEntry* entries,int count)" +defs["igLocalizeRegisterEntries"][1]["argsT"] = {} +defs["igLocalizeRegisterEntries"][1]["argsT"][1] = {} +defs["igLocalizeRegisterEntries"][1]["argsT"][1]["name"] = "entries" +defs["igLocalizeRegisterEntries"][1]["argsT"][1]["type"] = "const ImGuiLocEntry*" +defs["igLocalizeRegisterEntries"][1]["argsT"][2] = {} +defs["igLocalizeRegisterEntries"][1]["argsT"][2]["name"] = "count" +defs["igLocalizeRegisterEntries"][1]["argsT"][2]["type"] = "int" +defs["igLocalizeRegisterEntries"][1]["argsoriginal"] = "(const ImGuiLocEntry* entries,int count)" +defs["igLocalizeRegisterEntries"][1]["call_args"] = "(entries,count)" +defs["igLocalizeRegisterEntries"][1]["cimguiname"] = "igLocalizeRegisterEntries" +defs["igLocalizeRegisterEntries"][1]["defaults"] = {} +defs["igLocalizeRegisterEntries"][1]["funcname"] = "LocalizeRegisterEntries" +defs["igLocalizeRegisterEntries"][1]["location"] = "imgui_internal:3002" +defs["igLocalizeRegisterEntries"][1]["namespace"] = "ImGui" +defs["igLocalizeRegisterEntries"][1]["ov_cimguiname"] = "igLocalizeRegisterEntries" +defs["igLocalizeRegisterEntries"][1]["ret"] = "void" +defs["igLocalizeRegisterEntries"][1]["signature"] = "(const ImGuiLocEntry*,int)" +defs["igLocalizeRegisterEntries"][1]["stname"] = "" +defs["igLocalizeRegisterEntries"]["(const ImGuiLocEntry*,int)"] = defs["igLocalizeRegisterEntries"][1] defs["igLogBegin"] = {} defs["igLogBegin"][1] = {} defs["igLogBegin"][1]["args"] = "(ImGuiLogType type,int auto_open_depth)" @@ -21493,7 +22681,7 @@ defs["igLogBegin"][1]["call_args"] = "(type,auto_open_depth)" defs["igLogBegin"][1]["cimguiname"] = "igLogBegin" defs["igLogBegin"][1]["defaults"] = {} defs["igLogBegin"][1]["funcname"] = "LogBegin" -defs["igLogBegin"][1]["location"] = "imgui_internal:2769" +defs["igLogBegin"][1]["location"] = "imgui_internal:3054" defs["igLogBegin"][1]["namespace"] = "ImGui" defs["igLogBegin"][1]["ov_cimguiname"] = "igLogBegin" defs["igLogBegin"][1]["ret"] = "void" @@ -21509,7 +22697,7 @@ defs["igLogButtons"][1]["call_args"] = "()" defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" defs["igLogButtons"][1]["defaults"] = {} defs["igLogButtons"][1]["funcname"] = "LogButtons" -defs["igLogButtons"][1]["location"] = "imgui:831" +defs["igLogButtons"][1]["location"] = "imgui:828" defs["igLogButtons"][1]["namespace"] = "ImGui" defs["igLogButtons"][1]["ov_cimguiname"] = "igLogButtons" defs["igLogButtons"][1]["ret"] = "void" @@ -21525,7 +22713,7 @@ defs["igLogFinish"][1]["call_args"] = "()" defs["igLogFinish"][1]["cimguiname"] = "igLogFinish" defs["igLogFinish"][1]["defaults"] = {} defs["igLogFinish"][1]["funcname"] = "LogFinish" -defs["igLogFinish"][1]["location"] = "imgui:830" +defs["igLogFinish"][1]["location"] = "imgui:827" defs["igLogFinish"][1]["namespace"] = "ImGui" defs["igLogFinish"][1]["ov_cimguiname"] = "igLogFinish" defs["igLogFinish"][1]["ret"] = "void" @@ -21551,7 +22739,7 @@ defs["igLogRenderedText"][1]["cimguiname"] = "igLogRenderedText" defs["igLogRenderedText"][1]["defaults"] = {} defs["igLogRenderedText"][1]["defaults"]["text_end"] = "NULL" defs["igLogRenderedText"][1]["funcname"] = "LogRenderedText" -defs["igLogRenderedText"][1]["location"] = "imgui_internal:2771" +defs["igLogRenderedText"][1]["location"] = "imgui_internal:3056" defs["igLogRenderedText"][1]["namespace"] = "ImGui" defs["igLogRenderedText"][1]["ov_cimguiname"] = "igLogRenderedText" defs["igLogRenderedText"][1]["ret"] = "void" @@ -21573,7 +22761,7 @@ defs["igLogSetNextTextDecoration"][1]["call_args"] = "(prefix,suffix)" defs["igLogSetNextTextDecoration"][1]["cimguiname"] = "igLogSetNextTextDecoration" defs["igLogSetNextTextDecoration"][1]["defaults"] = {} defs["igLogSetNextTextDecoration"][1]["funcname"] = "LogSetNextTextDecoration" -defs["igLogSetNextTextDecoration"][1]["location"] = "imgui_internal:2772" +defs["igLogSetNextTextDecoration"][1]["location"] = "imgui_internal:3057" defs["igLogSetNextTextDecoration"][1]["namespace"] = "ImGui" defs["igLogSetNextTextDecoration"][1]["ov_cimguiname"] = "igLogSetNextTextDecoration" defs["igLogSetNextTextDecoration"][1]["ret"] = "void" @@ -21596,7 +22784,7 @@ defs["igLogText"][1]["cimguiname"] = "igLogText" defs["igLogText"][1]["defaults"] = {} defs["igLogText"][1]["funcname"] = "LogText" defs["igLogText"][1]["isvararg"] = "...)" -defs["igLogText"][1]["location"] = "imgui:832" +defs["igLogText"][1]["location"] = "imgui:829" defs["igLogText"][1]["manual"] = true defs["igLogText"][1]["namespace"] = "ImGui" defs["igLogText"][1]["ov_cimguiname"] = "igLogText" @@ -21619,7 +22807,7 @@ defs["igLogTextV"][1]["call_args"] = "(fmt,args)" defs["igLogTextV"][1]["cimguiname"] = "igLogTextV" defs["igLogTextV"][1]["defaults"] = {} defs["igLogTextV"][1]["funcname"] = "LogTextV" -defs["igLogTextV"][1]["location"] = "imgui:833" +defs["igLogTextV"][1]["location"] = "imgui:830" defs["igLogTextV"][1]["namespace"] = "ImGui" defs["igLogTextV"][1]["ov_cimguiname"] = "igLogTextV" defs["igLogTextV"][1]["ret"] = "void" @@ -21639,7 +22827,7 @@ defs["igLogToBuffer"][1]["cimguiname"] = "igLogToBuffer" defs["igLogToBuffer"][1]["defaults"] = {} defs["igLogToBuffer"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToBuffer"][1]["funcname"] = "LogToBuffer" -defs["igLogToBuffer"][1]["location"] = "imgui_internal:2770" +defs["igLogToBuffer"][1]["location"] = "imgui_internal:3055" defs["igLogToBuffer"][1]["namespace"] = "ImGui" defs["igLogToBuffer"][1]["ov_cimguiname"] = "igLogToBuffer" defs["igLogToBuffer"][1]["ret"] = "void" @@ -21659,7 +22847,7 @@ defs["igLogToClipboard"][1]["cimguiname"] = "igLogToClipboard" defs["igLogToClipboard"][1]["defaults"] = {} defs["igLogToClipboard"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToClipboard"][1]["funcname"] = "LogToClipboard" -defs["igLogToClipboard"][1]["location"] = "imgui:829" +defs["igLogToClipboard"][1]["location"] = "imgui:826" defs["igLogToClipboard"][1]["namespace"] = "ImGui" defs["igLogToClipboard"][1]["ov_cimguiname"] = "igLogToClipboard" defs["igLogToClipboard"][1]["ret"] = "void" @@ -21683,7 +22871,7 @@ defs["igLogToFile"][1]["defaults"] = {} defs["igLogToFile"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToFile"][1]["defaults"]["filename"] = "NULL" defs["igLogToFile"][1]["funcname"] = "LogToFile" -defs["igLogToFile"][1]["location"] = "imgui:828" +defs["igLogToFile"][1]["location"] = "imgui:825" defs["igLogToFile"][1]["namespace"] = "ImGui" defs["igLogToFile"][1]["ov_cimguiname"] = "igLogToFile" defs["igLogToFile"][1]["ret"] = "void" @@ -21703,7 +22891,7 @@ defs["igLogToTTY"][1]["cimguiname"] = "igLogToTTY" defs["igLogToTTY"][1]["defaults"] = {} defs["igLogToTTY"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToTTY"][1]["funcname"] = "LogToTTY" -defs["igLogToTTY"][1]["location"] = "imgui:827" +defs["igLogToTTY"][1]["location"] = "imgui:824" defs["igLogToTTY"][1]["namespace"] = "ImGui" defs["igLogToTTY"][1]["ov_cimguiname"] = "igLogToTTY" defs["igLogToTTY"][1]["ret"] = "void" @@ -21719,9 +22907,9 @@ defs["igMarkIniSettingsDirty"][1]["call_args"] = "()" defs["igMarkIniSettingsDirty"][1]["cimguiname"] = "igMarkIniSettingsDirty" defs["igMarkIniSettingsDirty"][1]["defaults"] = {} defs["igMarkIniSettingsDirty"][1]["funcname"] = "MarkIniSettingsDirty" -defs["igMarkIniSettingsDirty"][1]["location"] = "imgui_internal:2700" +defs["igMarkIniSettingsDirty"][1]["location"] = "imgui_internal:2991" defs["igMarkIniSettingsDirty"][1]["namespace"] = "ImGui" -defs["igMarkIniSettingsDirty"][1]["ov_cimguiname"] = "igMarkIniSettingsDirtyNil" +defs["igMarkIniSettingsDirty"][1]["ov_cimguiname"] = "igMarkIniSettingsDirty_Nil" defs["igMarkIniSettingsDirty"][1]["ret"] = "void" defs["igMarkIniSettingsDirty"][1]["signature"] = "()" defs["igMarkIniSettingsDirty"][1]["stname"] = "" @@ -21736,9 +22924,9 @@ defs["igMarkIniSettingsDirty"][2]["call_args"] = "(window)" defs["igMarkIniSettingsDirty"][2]["cimguiname"] = "igMarkIniSettingsDirty" defs["igMarkIniSettingsDirty"][2]["defaults"] = {} defs["igMarkIniSettingsDirty"][2]["funcname"] = "MarkIniSettingsDirty" -defs["igMarkIniSettingsDirty"][2]["location"] = "imgui_internal:2701" +defs["igMarkIniSettingsDirty"][2]["location"] = "imgui_internal:2992" defs["igMarkIniSettingsDirty"][2]["namespace"] = "ImGui" -defs["igMarkIniSettingsDirty"][2]["ov_cimguiname"] = "igMarkIniSettingsDirtyWindowPtr" +defs["igMarkIniSettingsDirty"][2]["ov_cimguiname"] = "igMarkIniSettingsDirty_WindowPtr" defs["igMarkIniSettingsDirty"][2]["ret"] = "void" defs["igMarkIniSettingsDirty"][2]["signature"] = "(ImGuiWindow*)" defs["igMarkIniSettingsDirty"][2]["stname"] = "" @@ -21756,7 +22944,7 @@ defs["igMarkItemEdited"][1]["call_args"] = "(id)" defs["igMarkItemEdited"][1]["cimguiname"] = "igMarkItemEdited" defs["igMarkItemEdited"][1]["defaults"] = {} defs["igMarkItemEdited"][1]["funcname"] = "MarkItemEdited" -defs["igMarkItemEdited"][1]["location"] = "imgui_internal:2735" +defs["igMarkItemEdited"][1]["location"] = "imgui_internal:3031" defs["igMarkItemEdited"][1]["namespace"] = "ImGui" defs["igMarkItemEdited"][1]["ov_cimguiname"] = "igMarkItemEdited" defs["igMarkItemEdited"][1]["ret"] = "void" @@ -21775,7 +22963,7 @@ defs["igMemAlloc"][1]["call_args"] = "(size)" defs["igMemAlloc"][1]["cimguiname"] = "igMemAlloc" defs["igMemAlloc"][1]["defaults"] = {} defs["igMemAlloc"][1]["funcname"] = "MemAlloc" -defs["igMemAlloc"][1]["location"] = "imgui:972" +defs["igMemAlloc"][1]["location"] = "imgui:974" defs["igMemAlloc"][1]["namespace"] = "ImGui" defs["igMemAlloc"][1]["ov_cimguiname"] = "igMemAlloc" defs["igMemAlloc"][1]["ret"] = "void*" @@ -21794,7 +22982,7 @@ defs["igMemFree"][1]["call_args"] = "(ptr)" defs["igMemFree"][1]["cimguiname"] = "igMemFree" defs["igMemFree"][1]["defaults"] = {} defs["igMemFree"][1]["funcname"] = "MemFree" -defs["igMemFree"][1]["location"] = "imgui:973" +defs["igMemFree"][1]["location"] = "imgui:975" defs["igMemFree"][1]["namespace"] = "ImGui" defs["igMemFree"][1]["ov_cimguiname"] = "igMemFree" defs["igMemFree"][1]["ret"] = "void" @@ -21825,9 +23013,9 @@ defs["igMenuItem"][1]["defaults"]["enabled"] = "true" defs["igMenuItem"][1]["defaults"]["selected"] = "false" defs["igMenuItem"][1]["defaults"]["shortcut"] = "NULL" defs["igMenuItem"][1]["funcname"] = "MenuItem" -defs["igMenuItem"][1]["location"] = "imgui:670" +defs["igMenuItem"][1]["location"] = "imgui:671" defs["igMenuItem"][1]["namespace"] = "ImGui" -defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" +defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItem_Bool" defs["igMenuItem"][1]["ret"] = "bool" defs["igMenuItem"][1]["signature"] = "(const char*,const char*,bool,bool)" defs["igMenuItem"][1]["stname"] = "" @@ -21852,9 +23040,9 @@ defs["igMenuItem"][2]["cimguiname"] = "igMenuItem" defs["igMenuItem"][2]["defaults"] = {} defs["igMenuItem"][2]["defaults"]["enabled"] = "true" defs["igMenuItem"][2]["funcname"] = "MenuItem" -defs["igMenuItem"][2]["location"] = "imgui:671" +defs["igMenuItem"][2]["location"] = "imgui:672" defs["igMenuItem"][2]["namespace"] = "ImGui" -defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" +defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItem_BoolPtr" defs["igMenuItem"][2]["ret"] = "bool" defs["igMenuItem"][2]["signature"] = "(const char*,const char*,bool*,bool)" defs["igMenuItem"][2]["stname"] = "" @@ -21887,13 +23075,32 @@ defs["igMenuItemEx"][1]["defaults"]["enabled"] = "true" defs["igMenuItemEx"][1]["defaults"]["selected"] = "false" defs["igMenuItemEx"][1]["defaults"]["shortcut"] = "NULL" defs["igMenuItemEx"][1]["funcname"] = "MenuItemEx" -defs["igMenuItemEx"][1]["location"] = "imgui_internal:2792" +defs["igMenuItemEx"][1]["location"] = "imgui_internal:3077" defs["igMenuItemEx"][1]["namespace"] = "ImGui" defs["igMenuItemEx"][1]["ov_cimguiname"] = "igMenuItemEx" defs["igMenuItemEx"][1]["ret"] = "bool" defs["igMenuItemEx"][1]["signature"] = "(const char*,const char*,const char*,bool,bool)" defs["igMenuItemEx"][1]["stname"] = "" defs["igMenuItemEx"]["(const char*,const char*,const char*,bool,bool)"] = defs["igMenuItemEx"][1] +defs["igMouseButtonToKey"] = {} +defs["igMouseButtonToKey"][1] = {} +defs["igMouseButtonToKey"][1]["args"] = "(ImGuiMouseButton button)" +defs["igMouseButtonToKey"][1]["argsT"] = {} +defs["igMouseButtonToKey"][1]["argsT"][1] = {} +defs["igMouseButtonToKey"][1]["argsT"][1]["name"] = "button" +defs["igMouseButtonToKey"][1]["argsT"][1]["type"] = "ImGuiMouseButton" +defs["igMouseButtonToKey"][1]["argsoriginal"] = "(ImGuiMouseButton button)" +defs["igMouseButtonToKey"][1]["call_args"] = "(button)" +defs["igMouseButtonToKey"][1]["cimguiname"] = "igMouseButtonToKey" +defs["igMouseButtonToKey"][1]["defaults"] = {} +defs["igMouseButtonToKey"][1]["funcname"] = "MouseButtonToKey" +defs["igMouseButtonToKey"][1]["location"] = "imgui_internal:3118" +defs["igMouseButtonToKey"][1]["namespace"] = "ImGui" +defs["igMouseButtonToKey"][1]["ov_cimguiname"] = "igMouseButtonToKey" +defs["igMouseButtonToKey"][1]["ret"] = "ImGuiKey" +defs["igMouseButtonToKey"][1]["signature"] = "(ImGuiMouseButton)" +defs["igMouseButtonToKey"][1]["stname"] = "" +defs["igMouseButtonToKey"]["(ImGuiMouseButton)"] = defs["igMouseButtonToKey"][1] defs["igNavInitRequestApplyResult"] = {} defs["igNavInitRequestApplyResult"][1] = {} defs["igNavInitRequestApplyResult"][1]["args"] = "()" @@ -21903,7 +23110,7 @@ defs["igNavInitRequestApplyResult"][1]["call_args"] = "()" defs["igNavInitRequestApplyResult"][1]["cimguiname"] = "igNavInitRequestApplyResult" defs["igNavInitRequestApplyResult"][1]["defaults"] = {} defs["igNavInitRequestApplyResult"][1]["funcname"] = "NavInitRequestApplyResult" -defs["igNavInitRequestApplyResult"][1]["location"] = "imgui_internal:2801" +defs["igNavInitRequestApplyResult"][1]["location"] = "imgui_internal:3086" defs["igNavInitRequestApplyResult"][1]["namespace"] = "ImGui" defs["igNavInitRequestApplyResult"][1]["ov_cimguiname"] = "igNavInitRequestApplyResult" defs["igNavInitRequestApplyResult"][1]["ret"] = "void" @@ -21925,7 +23132,7 @@ defs["igNavInitWindow"][1]["call_args"] = "(window,force_reinit)" defs["igNavInitWindow"][1]["cimguiname"] = "igNavInitWindow" defs["igNavInitWindow"][1]["defaults"] = {} defs["igNavInitWindow"][1]["funcname"] = "NavInitWindow" -defs["igNavInitWindow"][1]["location"] = "imgui_internal:2800" +defs["igNavInitWindow"][1]["location"] = "imgui_internal:3085" defs["igNavInitWindow"][1]["namespace"] = "ImGui" defs["igNavInitWindow"][1]["ov_cimguiname"] = "igNavInitWindow" defs["igNavInitWindow"][1]["ret"] = "void" @@ -21941,7 +23148,7 @@ defs["igNavMoveRequestApplyResult"][1]["call_args"] = "()" defs["igNavMoveRequestApplyResult"][1]["cimguiname"] = "igNavMoveRequestApplyResult" defs["igNavMoveRequestApplyResult"][1]["defaults"] = {} defs["igNavMoveRequestApplyResult"][1]["funcname"] = "NavMoveRequestApplyResult" -defs["igNavMoveRequestApplyResult"][1]["location"] = "imgui_internal:2807" +defs["igNavMoveRequestApplyResult"][1]["location"] = "imgui_internal:3092" defs["igNavMoveRequestApplyResult"][1]["namespace"] = "ImGui" defs["igNavMoveRequestApplyResult"][1]["ov_cimguiname"] = "igNavMoveRequestApplyResult" defs["igNavMoveRequestApplyResult"][1]["ret"] = "void" @@ -21957,7 +23164,7 @@ defs["igNavMoveRequestButNoResultYet"][1]["call_args"] = "()" defs["igNavMoveRequestButNoResultYet"][1]["cimguiname"] = "igNavMoveRequestButNoResultYet" defs["igNavMoveRequestButNoResultYet"][1]["defaults"] = {} defs["igNavMoveRequestButNoResultYet"][1]["funcname"] = "NavMoveRequestButNoResultYet" -defs["igNavMoveRequestButNoResultYet"][1]["location"] = "imgui_internal:2802" +defs["igNavMoveRequestButNoResultYet"][1]["location"] = "imgui_internal:3087" defs["igNavMoveRequestButNoResultYet"][1]["namespace"] = "ImGui" defs["igNavMoveRequestButNoResultYet"][1]["ov_cimguiname"] = "igNavMoveRequestButNoResultYet" defs["igNavMoveRequestButNoResultYet"][1]["ret"] = "bool" @@ -21973,7 +23180,7 @@ defs["igNavMoveRequestCancel"][1]["call_args"] = "()" defs["igNavMoveRequestCancel"][1]["cimguiname"] = "igNavMoveRequestCancel" defs["igNavMoveRequestCancel"][1]["defaults"] = {} defs["igNavMoveRequestCancel"][1]["funcname"] = "NavMoveRequestCancel" -defs["igNavMoveRequestCancel"][1]["location"] = "imgui_internal:2806" +defs["igNavMoveRequestCancel"][1]["location"] = "imgui_internal:3091" defs["igNavMoveRequestCancel"][1]["namespace"] = "ImGui" defs["igNavMoveRequestCancel"][1]["ov_cimguiname"] = "igNavMoveRequestCancel" defs["igNavMoveRequestCancel"][1]["ret"] = "void" @@ -22001,7 +23208,7 @@ defs["igNavMoveRequestForward"][1]["call_args"] = "(move_dir,clip_dir,move_flags defs["igNavMoveRequestForward"][1]["cimguiname"] = "igNavMoveRequestForward" defs["igNavMoveRequestForward"][1]["defaults"] = {} defs["igNavMoveRequestForward"][1]["funcname"] = "NavMoveRequestForward" -defs["igNavMoveRequestForward"][1]["location"] = "imgui_internal:2804" +defs["igNavMoveRequestForward"][1]["location"] = "imgui_internal:3089" defs["igNavMoveRequestForward"][1]["namespace"] = "ImGui" defs["igNavMoveRequestForward"][1]["ov_cimguiname"] = "igNavMoveRequestForward" defs["igNavMoveRequestForward"][1]["ret"] = "void" @@ -22020,7 +23227,7 @@ defs["igNavMoveRequestResolveWithLastItem"][1]["call_args"] = "(result)" defs["igNavMoveRequestResolveWithLastItem"][1]["cimguiname"] = "igNavMoveRequestResolveWithLastItem" defs["igNavMoveRequestResolveWithLastItem"][1]["defaults"] = {} defs["igNavMoveRequestResolveWithLastItem"][1]["funcname"] = "NavMoveRequestResolveWithLastItem" -defs["igNavMoveRequestResolveWithLastItem"][1]["location"] = "imgui_internal:2805" +defs["igNavMoveRequestResolveWithLastItem"][1]["location"] = "imgui_internal:3090" defs["igNavMoveRequestResolveWithLastItem"][1]["namespace"] = "ImGui" defs["igNavMoveRequestResolveWithLastItem"][1]["ov_cimguiname"] = "igNavMoveRequestResolveWithLastItem" defs["igNavMoveRequestResolveWithLastItem"][1]["ret"] = "void" @@ -22048,7 +23255,7 @@ defs["igNavMoveRequestSubmit"][1]["call_args"] = "(move_dir,clip_dir,move_flags, defs["igNavMoveRequestSubmit"][1]["cimguiname"] = "igNavMoveRequestSubmit" defs["igNavMoveRequestSubmit"][1]["defaults"] = {} defs["igNavMoveRequestSubmit"][1]["funcname"] = "NavMoveRequestSubmit" -defs["igNavMoveRequestSubmit"][1]["location"] = "imgui_internal:2803" +defs["igNavMoveRequestSubmit"][1]["location"] = "imgui_internal:3088" defs["igNavMoveRequestSubmit"][1]["namespace"] = "ImGui" defs["igNavMoveRequestSubmit"][1]["ov_cimguiname"] = "igNavMoveRequestSubmit" defs["igNavMoveRequestSubmit"][1]["ret"] = "void" @@ -22070,7 +23277,7 @@ defs["igNavMoveRequestTryWrapping"][1]["call_args"] = "(window,move_flags)" defs["igNavMoveRequestTryWrapping"][1]["cimguiname"] = "igNavMoveRequestTryWrapping" defs["igNavMoveRequestTryWrapping"][1]["defaults"] = {} defs["igNavMoveRequestTryWrapping"][1]["funcname"] = "NavMoveRequestTryWrapping" -defs["igNavMoveRequestTryWrapping"][1]["location"] = "imgui_internal:2808" +defs["igNavMoveRequestTryWrapping"][1]["location"] = "imgui_internal:3093" defs["igNavMoveRequestTryWrapping"][1]["namespace"] = "ImGui" defs["igNavMoveRequestTryWrapping"][1]["ov_cimguiname"] = "igNavMoveRequestTryWrapping" defs["igNavMoveRequestTryWrapping"][1]["ret"] = "void" @@ -22086,7 +23293,7 @@ defs["igNewFrame"][1]["call_args"] = "()" defs["igNewFrame"][1]["cimguiname"] = "igNewFrame" defs["igNewFrame"][1]["defaults"] = {} defs["igNewFrame"][1]["funcname"] = "NewFrame" -defs["igNewFrame"][1]["location"] = "imgui:309" +defs["igNewFrame"][1]["location"] = "imgui:302" defs["igNewFrame"][1]["namespace"] = "ImGui" defs["igNewFrame"][1]["ov_cimguiname"] = "igNewFrame" defs["igNewFrame"][1]["ret"] = "void" @@ -22102,7 +23309,7 @@ defs["igNewLine"][1]["call_args"] = "()" defs["igNewLine"][1]["cimguiname"] = "igNewLine" defs["igNewLine"][1]["defaults"] = {} defs["igNewLine"][1]["funcname"] = "NewLine" -defs["igNewLine"][1]["location"] = "imgui:452" +defs["igNewLine"][1]["location"] = "imgui:449" defs["igNewLine"][1]["namespace"] = "ImGui" defs["igNewLine"][1]["ov_cimguiname"] = "igNewLine" defs["igNewLine"][1]["ret"] = "void" @@ -22118,7 +23325,7 @@ defs["igNextColumn"][1]["call_args"] = "()" defs["igNextColumn"][1]["cimguiname"] = "igNextColumn" defs["igNextColumn"][1]["defaults"] = {} defs["igNextColumn"][1]["funcname"] = "NextColumn" -defs["igNextColumn"][1]["location"] = "imgui:788" +defs["igNextColumn"][1]["location"] = "imgui:785" defs["igNextColumn"][1]["namespace"] = "ImGui" defs["igNextColumn"][1]["ov_cimguiname"] = "igNextColumn" defs["igNextColumn"][1]["ret"] = "void" @@ -22141,9 +23348,9 @@ defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" defs["igOpenPopup"][1]["defaults"] = {} defs["igOpenPopup"][1]["defaults"]["popup_flags"] = "0" defs["igOpenPopup"][1]["funcname"] = "OpenPopup" -defs["igOpenPopup"][1]["location"] = "imgui:703" +defs["igOpenPopup"][1]["location"] = "imgui:705" defs["igOpenPopup"][1]["namespace"] = "ImGui" -defs["igOpenPopup"][1]["ov_cimguiname"] = "igOpenPopupStr" +defs["igOpenPopup"][1]["ov_cimguiname"] = "igOpenPopup_Str" defs["igOpenPopup"][1]["ret"] = "void" defs["igOpenPopup"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igOpenPopup"][1]["stname"] = "" @@ -22162,9 +23369,9 @@ defs["igOpenPopup"][2]["cimguiname"] = "igOpenPopup" defs["igOpenPopup"][2]["defaults"] = {} defs["igOpenPopup"][2]["defaults"]["popup_flags"] = "0" defs["igOpenPopup"][2]["funcname"] = "OpenPopup" -defs["igOpenPopup"][2]["location"] = "imgui:704" +defs["igOpenPopup"][2]["location"] = "imgui:706" defs["igOpenPopup"][2]["namespace"] = "ImGui" -defs["igOpenPopup"][2]["ov_cimguiname"] = "igOpenPopupID" +defs["igOpenPopup"][2]["ov_cimguiname"] = "igOpenPopup_ID" defs["igOpenPopup"][2]["ret"] = "void" defs["igOpenPopup"][2]["signature"] = "(ImGuiID,ImGuiPopupFlags)" defs["igOpenPopup"][2]["stname"] = "" @@ -22186,7 +23393,7 @@ defs["igOpenPopupEx"][1]["cimguiname"] = "igOpenPopupEx" defs["igOpenPopupEx"][1]["defaults"] = {} defs["igOpenPopupEx"][1]["defaults"]["popup_flags"] = "ImGuiPopupFlags_None" defs["igOpenPopupEx"][1]["funcname"] = "OpenPopupEx" -defs["igOpenPopupEx"][1]["location"] = "imgui_internal:2776" +defs["igOpenPopupEx"][1]["location"] = "imgui_internal:3061" defs["igOpenPopupEx"][1]["namespace"] = "ImGui" defs["igOpenPopupEx"][1]["ov_cimguiname"] = "igOpenPopupEx" defs["igOpenPopupEx"][1]["ret"] = "void" @@ -22210,7 +23417,7 @@ defs["igOpenPopupOnItemClick"][1]["defaults"] = {} defs["igOpenPopupOnItemClick"][1]["defaults"]["popup_flags"] = "1" defs["igOpenPopupOnItemClick"][1]["defaults"]["str_id"] = "NULL" defs["igOpenPopupOnItemClick"][1]["funcname"] = "OpenPopupOnItemClick" -defs["igOpenPopupOnItemClick"][1]["location"] = "imgui:705" +defs["igOpenPopupOnItemClick"][1]["location"] = "imgui:707" defs["igOpenPopupOnItemClick"][1]["namespace"] = "ImGui" defs["igOpenPopupOnItemClick"][1]["ov_cimguiname"] = "igOpenPopupOnItemClick" defs["igOpenPopupOnItemClick"][1]["ret"] = "void" @@ -22258,7 +23465,7 @@ defs["igPlotEx"][1]["call_args"] = "(plot_type,label,values_getter,data,values_c defs["igPlotEx"][1]["cimguiname"] = "igPlotEx" defs["igPlotEx"][1]["defaults"] = {} defs["igPlotEx"][1]["funcname"] = "PlotEx" -defs["igPlotEx"][1]["location"] = "imgui_internal:3058" +defs["igPlotEx"][1]["location"] = "imgui_internal:3407" defs["igPlotEx"][1]["namespace"] = "ImGui" defs["igPlotEx"][1]["ov_cimguiname"] = "igPlotEx" defs["igPlotEx"][1]["ret"] = "int" @@ -22307,9 +23514,9 @@ defs["igPlotHistogram"][1]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotHistogram"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotHistogram"][1]["defaults"]["values_offset"] = "0" defs["igPlotHistogram"][1]["funcname"] = "PlotHistogram" -defs["igPlotHistogram"][1]["location"] = "imgui:649" +defs["igPlotHistogram"][1]["location"] = "imgui:650" defs["igPlotHistogram"][1]["namespace"] = "ImGui" -defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogramFloatPtr" +defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogram_FloatPtr" defs["igPlotHistogram"][1]["ret"] = "void" defs["igPlotHistogram"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" defs["igPlotHistogram"][1]["stname"] = "" @@ -22355,9 +23562,9 @@ defs["igPlotHistogram"][2]["defaults"]["scale_max"] = "FLT_MAX" defs["igPlotHistogram"][2]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotHistogram"][2]["defaults"]["values_offset"] = "0" defs["igPlotHistogram"][2]["funcname"] = "PlotHistogram" -defs["igPlotHistogram"][2]["location"] = "imgui:650" +defs["igPlotHistogram"][2]["location"] = "imgui:651" defs["igPlotHistogram"][2]["namespace"] = "ImGui" -defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogramFnFloatPtr" +defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogram_FnFloatPtr" defs["igPlotHistogram"][2]["ret"] = "void" defs["igPlotHistogram"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" defs["igPlotHistogram"][2]["stname"] = "" @@ -22405,9 +23612,9 @@ defs["igPlotLines"][1]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotLines"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotLines"][1]["defaults"]["values_offset"] = "0" defs["igPlotLines"][1]["funcname"] = "PlotLines" -defs["igPlotLines"][1]["location"] = "imgui:647" +defs["igPlotLines"][1]["location"] = "imgui:648" defs["igPlotLines"][1]["namespace"] = "ImGui" -defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLinesFloatPtr" +defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLines_FloatPtr" defs["igPlotLines"][1]["ret"] = "void" defs["igPlotLines"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" defs["igPlotLines"][1]["stname"] = "" @@ -22453,9 +23660,9 @@ defs["igPlotLines"][2]["defaults"]["scale_max"] = "FLT_MAX" defs["igPlotLines"][2]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotLines"][2]["defaults"]["values_offset"] = "0" defs["igPlotLines"][2]["funcname"] = "PlotLines" -defs["igPlotLines"][2]["location"] = "imgui:648" +defs["igPlotLines"][2]["location"] = "imgui:649" defs["igPlotLines"][2]["namespace"] = "ImGui" -defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLinesFnFloatPtr" +defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLines_FnFloatPtr" defs["igPlotLines"][2]["ret"] = "void" defs["igPlotLines"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" defs["igPlotLines"][2]["stname"] = "" @@ -22470,7 +23677,7 @@ defs["igPopAllowKeyboardFocus"][1]["call_args"] = "()" defs["igPopAllowKeyboardFocus"][1]["cimguiname"] = "igPopAllowKeyboardFocus" defs["igPopAllowKeyboardFocus"][1]["defaults"] = {} defs["igPopAllowKeyboardFocus"][1]["funcname"] = "PopAllowKeyboardFocus" -defs["igPopAllowKeyboardFocus"][1]["location"] = "imgui:421" +defs["igPopAllowKeyboardFocus"][1]["location"] = "imgui:418" defs["igPopAllowKeyboardFocus"][1]["namespace"] = "ImGui" defs["igPopAllowKeyboardFocus"][1]["ov_cimguiname"] = "igPopAllowKeyboardFocus" defs["igPopAllowKeyboardFocus"][1]["ret"] = "void" @@ -22486,7 +23693,7 @@ defs["igPopButtonRepeat"][1]["call_args"] = "()" defs["igPopButtonRepeat"][1]["cimguiname"] = "igPopButtonRepeat" defs["igPopButtonRepeat"][1]["defaults"] = {} defs["igPopButtonRepeat"][1]["funcname"] = "PopButtonRepeat" -defs["igPopButtonRepeat"][1]["location"] = "imgui:423" +defs["igPopButtonRepeat"][1]["location"] = "imgui:420" defs["igPopButtonRepeat"][1]["namespace"] = "ImGui" defs["igPopButtonRepeat"][1]["ov_cimguiname"] = "igPopButtonRepeat" defs["igPopButtonRepeat"][1]["ret"] = "void" @@ -22502,7 +23709,7 @@ defs["igPopClipRect"][1]["call_args"] = "()" defs["igPopClipRect"][1]["cimguiname"] = "igPopClipRect" defs["igPopClipRect"][1]["defaults"] = {} defs["igPopClipRect"][1]["funcname"] = "PopClipRect" -defs["igPopClipRect"][1]["location"] = "imgui:858" +defs["igPopClipRect"][1]["location"] = "imgui:855" defs["igPopClipRect"][1]["namespace"] = "ImGui" defs["igPopClipRect"][1]["ov_cimguiname"] = "igPopClipRect" defs["igPopClipRect"][1]["ret"] = "void" @@ -22518,7 +23725,7 @@ defs["igPopColumnsBackground"][1]["call_args"] = "()" defs["igPopColumnsBackground"][1]["cimguiname"] = "igPopColumnsBackground" defs["igPopColumnsBackground"][1]["defaults"] = {} defs["igPopColumnsBackground"][1]["funcname"] = "PopColumnsBackground" -defs["igPopColumnsBackground"][1]["location"] = "imgui_internal:2898" +defs["igPopColumnsBackground"][1]["location"] = "imgui_internal:3249" defs["igPopColumnsBackground"][1]["namespace"] = "ImGui" defs["igPopColumnsBackground"][1]["ov_cimguiname"] = "igPopColumnsBackground" defs["igPopColumnsBackground"][1]["ret"] = "void" @@ -22534,7 +23741,7 @@ defs["igPopFocusScope"][1]["call_args"] = "()" defs["igPopFocusScope"][1]["cimguiname"] = "igPopFocusScope" defs["igPopFocusScope"][1]["defaults"] = {} defs["igPopFocusScope"][1]["funcname"] = "PopFocusScope" -defs["igPopFocusScope"][1]["location"] = "imgui_internal:2819" +defs["igPopFocusScope"][1]["location"] = "imgui_internal:3233" defs["igPopFocusScope"][1]["namespace"] = "ImGui" defs["igPopFocusScope"][1]["ov_cimguiname"] = "igPopFocusScope" defs["igPopFocusScope"][1]["ret"] = "void" @@ -22550,7 +23757,7 @@ defs["igPopFont"][1]["call_args"] = "()" defs["igPopFont"][1]["cimguiname"] = "igPopFont" defs["igPopFont"][1]["defaults"] = {} defs["igPopFont"][1]["funcname"] = "PopFont" -defs["igPopFont"][1]["location"] = "imgui:413" +defs["igPopFont"][1]["location"] = "imgui:410" defs["igPopFont"][1]["namespace"] = "ImGui" defs["igPopFont"][1]["ov_cimguiname"] = "igPopFont" defs["igPopFont"][1]["ret"] = "void" @@ -22566,7 +23773,7 @@ defs["igPopID"][1]["call_args"] = "()" defs["igPopID"][1]["cimguiname"] = "igPopID" defs["igPopID"][1]["defaults"] = {} defs["igPopID"][1]["funcname"] = "PopID" -defs["igPopID"][1]["location"] = "imgui:489" +defs["igPopID"][1]["location"] = "imgui:486" defs["igPopID"][1]["namespace"] = "ImGui" defs["igPopID"][1]["ov_cimguiname"] = "igPopID" defs["igPopID"][1]["ret"] = "void" @@ -22582,7 +23789,7 @@ defs["igPopItemFlag"][1]["call_args"] = "()" defs["igPopItemFlag"][1]["cimguiname"] = "igPopItemFlag" defs["igPopItemFlag"][1]["defaults"] = {} defs["igPopItemFlag"][1]["funcname"] = "PopItemFlag" -defs["igPopItemFlag"][1]["location"] = "imgui_internal:2755" +defs["igPopItemFlag"][1]["location"] = "imgui_internal:3051" defs["igPopItemFlag"][1]["namespace"] = "ImGui" defs["igPopItemFlag"][1]["ov_cimguiname"] = "igPopItemFlag" defs["igPopItemFlag"][1]["ret"] = "void" @@ -22598,7 +23805,7 @@ defs["igPopItemWidth"][1]["call_args"] = "()" defs["igPopItemWidth"][1]["cimguiname"] = "igPopItemWidth" defs["igPopItemWidth"][1]["defaults"] = {} defs["igPopItemWidth"][1]["funcname"] = "PopItemWidth" -defs["igPopItemWidth"][1]["location"] = "imgui:427" +defs["igPopItemWidth"][1]["location"] = "imgui:424" defs["igPopItemWidth"][1]["namespace"] = "ImGui" defs["igPopItemWidth"][1]["ov_cimguiname"] = "igPopItemWidth" defs["igPopItemWidth"][1]["ret"] = "void" @@ -22618,7 +23825,7 @@ defs["igPopStyleColor"][1]["cimguiname"] = "igPopStyleColor" defs["igPopStyleColor"][1]["defaults"] = {} defs["igPopStyleColor"][1]["defaults"]["count"] = "1" defs["igPopStyleColor"][1]["funcname"] = "PopStyleColor" -defs["igPopStyleColor"][1]["location"] = "imgui:416" +defs["igPopStyleColor"][1]["location"] = "imgui:413" defs["igPopStyleColor"][1]["namespace"] = "ImGui" defs["igPopStyleColor"][1]["ov_cimguiname"] = "igPopStyleColor" defs["igPopStyleColor"][1]["ret"] = "void" @@ -22638,7 +23845,7 @@ defs["igPopStyleVar"][1]["cimguiname"] = "igPopStyleVar" defs["igPopStyleVar"][1]["defaults"] = {} defs["igPopStyleVar"][1]["defaults"]["count"] = "1" defs["igPopStyleVar"][1]["funcname"] = "PopStyleVar" -defs["igPopStyleVar"][1]["location"] = "imgui:419" +defs["igPopStyleVar"][1]["location"] = "imgui:416" defs["igPopStyleVar"][1]["namespace"] = "ImGui" defs["igPopStyleVar"][1]["ov_cimguiname"] = "igPopStyleVar" defs["igPopStyleVar"][1]["ret"] = "void" @@ -22654,7 +23861,7 @@ defs["igPopTextWrapPos"][1]["call_args"] = "()" defs["igPopTextWrapPos"][1]["cimguiname"] = "igPopTextWrapPos" defs["igPopTextWrapPos"][1]["defaults"] = {} defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos" -defs["igPopTextWrapPos"][1]["location"] = "imgui:431" +defs["igPopTextWrapPos"][1]["location"] = "imgui:428" defs["igPopTextWrapPos"][1]["namespace"] = "ImGui" defs["igPopTextWrapPos"][1]["ov_cimguiname"] = "igPopTextWrapPos" defs["igPopTextWrapPos"][1]["ret"] = "void" @@ -22681,7 +23888,7 @@ defs["igProgressBar"][1]["defaults"] = {} defs["igProgressBar"][1]["defaults"]["overlay"] = "NULL" defs["igProgressBar"][1]["defaults"]["size_arg"] = "ImVec2(-FLT_MIN,0)" defs["igProgressBar"][1]["funcname"] = "ProgressBar" -defs["igProgressBar"][1]["location"] = "imgui:523" +defs["igProgressBar"][1]["location"] = "imgui:518" defs["igProgressBar"][1]["namespace"] = "ImGui" defs["igProgressBar"][1]["ov_cimguiname"] = "igProgressBar" defs["igProgressBar"][1]["ret"] = "void" @@ -22700,7 +23907,7 @@ defs["igPushAllowKeyboardFocus"][1]["call_args"] = "(allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["cimguiname"] = "igPushAllowKeyboardFocus" defs["igPushAllowKeyboardFocus"][1]["defaults"] = {} defs["igPushAllowKeyboardFocus"][1]["funcname"] = "PushAllowKeyboardFocus" -defs["igPushAllowKeyboardFocus"][1]["location"] = "imgui:420" +defs["igPushAllowKeyboardFocus"][1]["location"] = "imgui:417" defs["igPushAllowKeyboardFocus"][1]["namespace"] = "ImGui" defs["igPushAllowKeyboardFocus"][1]["ov_cimguiname"] = "igPushAllowKeyboardFocus" defs["igPushAllowKeyboardFocus"][1]["ret"] = "void" @@ -22719,7 +23926,7 @@ defs["igPushButtonRepeat"][1]["call_args"] = "(repeat)" defs["igPushButtonRepeat"][1]["cimguiname"] = "igPushButtonRepeat" defs["igPushButtonRepeat"][1]["defaults"] = {} defs["igPushButtonRepeat"][1]["funcname"] = "PushButtonRepeat" -defs["igPushButtonRepeat"][1]["location"] = "imgui:422" +defs["igPushButtonRepeat"][1]["location"] = "imgui:419" defs["igPushButtonRepeat"][1]["namespace"] = "ImGui" defs["igPushButtonRepeat"][1]["ov_cimguiname"] = "igPushButtonRepeat" defs["igPushButtonRepeat"][1]["ret"] = "void" @@ -22744,7 +23951,7 @@ defs["igPushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect defs["igPushClipRect"][1]["cimguiname"] = "igPushClipRect" defs["igPushClipRect"][1]["defaults"] = {} defs["igPushClipRect"][1]["funcname"] = "PushClipRect" -defs["igPushClipRect"][1]["location"] = "imgui:857" +defs["igPushClipRect"][1]["location"] = "imgui:854" defs["igPushClipRect"][1]["namespace"] = "ImGui" defs["igPushClipRect"][1]["ov_cimguiname"] = "igPushClipRect" defs["igPushClipRect"][1]["ret"] = "void" @@ -22763,7 +23970,7 @@ defs["igPushColumnClipRect"][1]["call_args"] = "(column_index)" defs["igPushColumnClipRect"][1]["cimguiname"] = "igPushColumnClipRect" defs["igPushColumnClipRect"][1]["defaults"] = {} defs["igPushColumnClipRect"][1]["funcname"] = "PushColumnClipRect" -defs["igPushColumnClipRect"][1]["location"] = "imgui_internal:2896" +defs["igPushColumnClipRect"][1]["location"] = "imgui_internal:3247" defs["igPushColumnClipRect"][1]["namespace"] = "ImGui" defs["igPushColumnClipRect"][1]["ov_cimguiname"] = "igPushColumnClipRect" defs["igPushColumnClipRect"][1]["ret"] = "void" @@ -22779,7 +23986,7 @@ defs["igPushColumnsBackground"][1]["call_args"] = "()" defs["igPushColumnsBackground"][1]["cimguiname"] = "igPushColumnsBackground" defs["igPushColumnsBackground"][1]["defaults"] = {} defs["igPushColumnsBackground"][1]["funcname"] = "PushColumnsBackground" -defs["igPushColumnsBackground"][1]["location"] = "imgui_internal:2897" +defs["igPushColumnsBackground"][1]["location"] = "imgui_internal:3248" defs["igPushColumnsBackground"][1]["namespace"] = "ImGui" defs["igPushColumnsBackground"][1]["ov_cimguiname"] = "igPushColumnsBackground" defs["igPushColumnsBackground"][1]["ret"] = "void" @@ -22798,7 +24005,7 @@ defs["igPushFocusScope"][1]["call_args"] = "(id)" defs["igPushFocusScope"][1]["cimguiname"] = "igPushFocusScope" defs["igPushFocusScope"][1]["defaults"] = {} defs["igPushFocusScope"][1]["funcname"] = "PushFocusScope" -defs["igPushFocusScope"][1]["location"] = "imgui_internal:2818" +defs["igPushFocusScope"][1]["location"] = "imgui_internal:3232" defs["igPushFocusScope"][1]["namespace"] = "ImGui" defs["igPushFocusScope"][1]["ov_cimguiname"] = "igPushFocusScope" defs["igPushFocusScope"][1]["ret"] = "void" @@ -22817,7 +24024,7 @@ defs["igPushFont"][1]["call_args"] = "(font)" defs["igPushFont"][1]["cimguiname"] = "igPushFont" defs["igPushFont"][1]["defaults"] = {} defs["igPushFont"][1]["funcname"] = "PushFont" -defs["igPushFont"][1]["location"] = "imgui:412" +defs["igPushFont"][1]["location"] = "imgui:409" defs["igPushFont"][1]["namespace"] = "ImGui" defs["igPushFont"][1]["ov_cimguiname"] = "igPushFont" defs["igPushFont"][1]["ret"] = "void" @@ -22836,9 +24043,9 @@ defs["igPushID"][1]["call_args"] = "(str_id)" defs["igPushID"][1]["cimguiname"] = "igPushID" defs["igPushID"][1]["defaults"] = {} defs["igPushID"][1]["funcname"] = "PushID" -defs["igPushID"][1]["location"] = "imgui:485" +defs["igPushID"][1]["location"] = "imgui:482" defs["igPushID"][1]["namespace"] = "ImGui" -defs["igPushID"][1]["ov_cimguiname"] = "igPushIDStr" +defs["igPushID"][1]["ov_cimguiname"] = "igPushID_Str" defs["igPushID"][1]["ret"] = "void" defs["igPushID"][1]["signature"] = "(const char*)" defs["igPushID"][1]["stname"] = "" @@ -22856,9 +24063,9 @@ defs["igPushID"][2]["call_args"] = "(str_id_begin,str_id_end)" defs["igPushID"][2]["cimguiname"] = "igPushID" defs["igPushID"][2]["defaults"] = {} defs["igPushID"][2]["funcname"] = "PushID" -defs["igPushID"][2]["location"] = "imgui:486" +defs["igPushID"][2]["location"] = "imgui:483" defs["igPushID"][2]["namespace"] = "ImGui" -defs["igPushID"][2]["ov_cimguiname"] = "igPushIDStrStr" +defs["igPushID"][2]["ov_cimguiname"] = "igPushID_StrStr" defs["igPushID"][2]["ret"] = "void" defs["igPushID"][2]["signature"] = "(const char*,const char*)" defs["igPushID"][2]["stname"] = "" @@ -22873,9 +24080,9 @@ defs["igPushID"][3]["call_args"] = "(ptr_id)" defs["igPushID"][3]["cimguiname"] = "igPushID" defs["igPushID"][3]["defaults"] = {} defs["igPushID"][3]["funcname"] = "PushID" -defs["igPushID"][3]["location"] = "imgui:487" +defs["igPushID"][3]["location"] = "imgui:484" defs["igPushID"][3]["namespace"] = "ImGui" -defs["igPushID"][3]["ov_cimguiname"] = "igPushIDPtr" +defs["igPushID"][3]["ov_cimguiname"] = "igPushID_Ptr" defs["igPushID"][3]["ret"] = "void" defs["igPushID"][3]["signature"] = "(const void*)" defs["igPushID"][3]["stname"] = "" @@ -22890,9 +24097,9 @@ defs["igPushID"][4]["call_args"] = "(int_id)" defs["igPushID"][4]["cimguiname"] = "igPushID" defs["igPushID"][4]["defaults"] = {} defs["igPushID"][4]["funcname"] = "PushID" -defs["igPushID"][4]["location"] = "imgui:488" +defs["igPushID"][4]["location"] = "imgui:485" defs["igPushID"][4]["namespace"] = "ImGui" -defs["igPushID"][4]["ov_cimguiname"] = "igPushIDInt" +defs["igPushID"][4]["ov_cimguiname"] = "igPushID_Int" defs["igPushID"][4]["ret"] = "void" defs["igPushID"][4]["signature"] = "(int)" defs["igPushID"][4]["stname"] = "" @@ -22915,7 +24122,7 @@ defs["igPushItemFlag"][1]["call_args"] = "(option,enabled)" defs["igPushItemFlag"][1]["cimguiname"] = "igPushItemFlag" defs["igPushItemFlag"][1]["defaults"] = {} defs["igPushItemFlag"][1]["funcname"] = "PushItemFlag" -defs["igPushItemFlag"][1]["location"] = "imgui_internal:2754" +defs["igPushItemFlag"][1]["location"] = "imgui_internal:3050" defs["igPushItemFlag"][1]["namespace"] = "ImGui" defs["igPushItemFlag"][1]["ov_cimguiname"] = "igPushItemFlag" defs["igPushItemFlag"][1]["ret"] = "void" @@ -22934,7 +24141,7 @@ defs["igPushItemWidth"][1]["call_args"] = "(item_width)" defs["igPushItemWidth"][1]["cimguiname"] = "igPushItemWidth" defs["igPushItemWidth"][1]["defaults"] = {} defs["igPushItemWidth"][1]["funcname"] = "PushItemWidth" -defs["igPushItemWidth"][1]["location"] = "imgui:426" +defs["igPushItemWidth"][1]["location"] = "imgui:423" defs["igPushItemWidth"][1]["namespace"] = "ImGui" defs["igPushItemWidth"][1]["ov_cimguiname"] = "igPushItemWidth" defs["igPushItemWidth"][1]["ret"] = "void" @@ -22956,7 +24163,7 @@ defs["igPushMultiItemsWidths"][1]["call_args"] = "(components,width_full)" defs["igPushMultiItemsWidths"][1]["cimguiname"] = "igPushMultiItemsWidths" defs["igPushMultiItemsWidths"][1]["defaults"] = {} defs["igPushMultiItemsWidths"][1]["funcname"] = "PushMultiItemsWidths" -defs["igPushMultiItemsWidths"][1]["location"] = "imgui_internal:2748" +defs["igPushMultiItemsWidths"][1]["location"] = "imgui_internal:3044" defs["igPushMultiItemsWidths"][1]["namespace"] = "ImGui" defs["igPushMultiItemsWidths"][1]["ov_cimguiname"] = "igPushMultiItemsWidths" defs["igPushMultiItemsWidths"][1]["ret"] = "void" @@ -22975,7 +24182,7 @@ defs["igPushOverrideID"][1]["call_args"] = "(id)" defs["igPushOverrideID"][1]["cimguiname"] = "igPushOverrideID" defs["igPushOverrideID"][1]["defaults"] = {} defs["igPushOverrideID"][1]["funcname"] = "PushOverrideID" -defs["igPushOverrideID"][1]["location"] = "imgui_internal:2736" +defs["igPushOverrideID"][1]["location"] = "imgui_internal:3032" defs["igPushOverrideID"][1]["namespace"] = "ImGui" defs["igPushOverrideID"][1]["ov_cimguiname"] = "igPushOverrideID" defs["igPushOverrideID"][1]["ret"] = "void" @@ -22997,9 +24204,9 @@ defs["igPushStyleColor"][1]["call_args"] = "(idx,col)" defs["igPushStyleColor"][1]["cimguiname"] = "igPushStyleColor" defs["igPushStyleColor"][1]["defaults"] = {} defs["igPushStyleColor"][1]["funcname"] = "PushStyleColor" -defs["igPushStyleColor"][1]["location"] = "imgui:414" +defs["igPushStyleColor"][1]["location"] = "imgui:411" defs["igPushStyleColor"][1]["namespace"] = "ImGui" -defs["igPushStyleColor"][1]["ov_cimguiname"] = "igPushStyleColorU32" +defs["igPushStyleColor"][1]["ov_cimguiname"] = "igPushStyleColor_U32" defs["igPushStyleColor"][1]["ret"] = "void" defs["igPushStyleColor"][1]["signature"] = "(ImGuiCol,ImU32)" defs["igPushStyleColor"][1]["stname"] = "" @@ -23017,9 +24224,9 @@ defs["igPushStyleColor"][2]["call_args"] = "(idx,col)" defs["igPushStyleColor"][2]["cimguiname"] = "igPushStyleColor" defs["igPushStyleColor"][2]["defaults"] = {} defs["igPushStyleColor"][2]["funcname"] = "PushStyleColor" -defs["igPushStyleColor"][2]["location"] = "imgui:415" +defs["igPushStyleColor"][2]["location"] = "imgui:412" defs["igPushStyleColor"][2]["namespace"] = "ImGui" -defs["igPushStyleColor"][2]["ov_cimguiname"] = "igPushStyleColorVec4" +defs["igPushStyleColor"][2]["ov_cimguiname"] = "igPushStyleColor_Vec4" defs["igPushStyleColor"][2]["ret"] = "void" defs["igPushStyleColor"][2]["signature"] = "(ImGuiCol,const ImVec4)" defs["igPushStyleColor"][2]["stname"] = "" @@ -23040,9 +24247,9 @@ defs["igPushStyleVar"][1]["call_args"] = "(idx,val)" defs["igPushStyleVar"][1]["cimguiname"] = "igPushStyleVar" defs["igPushStyleVar"][1]["defaults"] = {} defs["igPushStyleVar"][1]["funcname"] = "PushStyleVar" -defs["igPushStyleVar"][1]["location"] = "imgui:417" +defs["igPushStyleVar"][1]["location"] = "imgui:414" defs["igPushStyleVar"][1]["namespace"] = "ImGui" -defs["igPushStyleVar"][1]["ov_cimguiname"] = "igPushStyleVarFloat" +defs["igPushStyleVar"][1]["ov_cimguiname"] = "igPushStyleVar_Float" defs["igPushStyleVar"][1]["ret"] = "void" defs["igPushStyleVar"][1]["signature"] = "(ImGuiStyleVar,float)" defs["igPushStyleVar"][1]["stname"] = "" @@ -23060,9 +24267,9 @@ defs["igPushStyleVar"][2]["call_args"] = "(idx,val)" defs["igPushStyleVar"][2]["cimguiname"] = "igPushStyleVar" defs["igPushStyleVar"][2]["defaults"] = {} defs["igPushStyleVar"][2]["funcname"] = "PushStyleVar" -defs["igPushStyleVar"][2]["location"] = "imgui:418" +defs["igPushStyleVar"][2]["location"] = "imgui:415" defs["igPushStyleVar"][2]["namespace"] = "ImGui" -defs["igPushStyleVar"][2]["ov_cimguiname"] = "igPushStyleVarVec2" +defs["igPushStyleVar"][2]["ov_cimguiname"] = "igPushStyleVar_Vec2" defs["igPushStyleVar"][2]["ret"] = "void" defs["igPushStyleVar"][2]["signature"] = "(ImGuiStyleVar,const ImVec2)" defs["igPushStyleVar"][2]["stname"] = "" @@ -23081,7 +24288,7 @@ defs["igPushTextWrapPos"][1]["cimguiname"] = "igPushTextWrapPos" defs["igPushTextWrapPos"][1]["defaults"] = {} defs["igPushTextWrapPos"][1]["defaults"]["wrap_local_pos_x"] = "0.0f" defs["igPushTextWrapPos"][1]["funcname"] = "PushTextWrapPos" -defs["igPushTextWrapPos"][1]["location"] = "imgui:430" +defs["igPushTextWrapPos"][1]["location"] = "imgui:427" defs["igPushTextWrapPos"][1]["namespace"] = "ImGui" defs["igPushTextWrapPos"][1]["ov_cimguiname"] = "igPushTextWrapPos" defs["igPushTextWrapPos"][1]["ret"] = "void" @@ -23103,9 +24310,9 @@ defs["igRadioButton"][1]["call_args"] = "(label,active)" defs["igRadioButton"][1]["cimguiname"] = "igRadioButton" defs["igRadioButton"][1]["defaults"] = {} defs["igRadioButton"][1]["funcname"] = "RadioButton" -defs["igRadioButton"][1]["location"] = "imgui:521" +defs["igRadioButton"][1]["location"] = "imgui:516" defs["igRadioButton"][1]["namespace"] = "ImGui" -defs["igRadioButton"][1]["ov_cimguiname"] = "igRadioButtonBool" +defs["igRadioButton"][1]["ov_cimguiname"] = "igRadioButton_Bool" defs["igRadioButton"][1]["ret"] = "bool" defs["igRadioButton"][1]["signature"] = "(const char*,bool)" defs["igRadioButton"][1]["stname"] = "" @@ -23126,9 +24333,9 @@ defs["igRadioButton"][2]["call_args"] = "(label,v,v_button)" defs["igRadioButton"][2]["cimguiname"] = "igRadioButton" defs["igRadioButton"][2]["defaults"] = {} defs["igRadioButton"][2]["funcname"] = "RadioButton" -defs["igRadioButton"][2]["location"] = "imgui:522" +defs["igRadioButton"][2]["location"] = "imgui:517" defs["igRadioButton"][2]["namespace"] = "ImGui" -defs["igRadioButton"][2]["ov_cimguiname"] = "igRadioButtonIntPtr" +defs["igRadioButton"][2]["ov_cimguiname"] = "igRadioButton_IntPtr" defs["igRadioButton"][2]["ret"] = "bool" defs["igRadioButton"][2]["signature"] = "(const char*,int*,int)" defs["igRadioButton"][2]["stname"] = "" @@ -23149,13 +24356,32 @@ defs["igRemoveContextHook"][1]["call_args"] = "(context,hook_to_remove)" defs["igRemoveContextHook"][1]["cimguiname"] = "igRemoveContextHook" defs["igRemoveContextHook"][1]["defaults"] = {} defs["igRemoveContextHook"][1]["funcname"] = "RemoveContextHook" -defs["igRemoveContextHook"][1]["location"] = "imgui_internal:2689" +defs["igRemoveContextHook"][1]["location"] = "imgui_internal:2978" defs["igRemoveContextHook"][1]["namespace"] = "ImGui" defs["igRemoveContextHook"][1]["ov_cimguiname"] = "igRemoveContextHook" defs["igRemoveContextHook"][1]["ret"] = "void" defs["igRemoveContextHook"][1]["signature"] = "(ImGuiContext*,ImGuiID)" defs["igRemoveContextHook"][1]["stname"] = "" defs["igRemoveContextHook"]["(ImGuiContext*,ImGuiID)"] = defs["igRemoveContextHook"][1] +defs["igRemoveSettingsHandler"] = {} +defs["igRemoveSettingsHandler"][1] = {} +defs["igRemoveSettingsHandler"][1]["args"] = "(const char* type_name)" +defs["igRemoveSettingsHandler"][1]["argsT"] = {} +defs["igRemoveSettingsHandler"][1]["argsT"][1] = {} +defs["igRemoveSettingsHandler"][1]["argsT"][1]["name"] = "type_name" +defs["igRemoveSettingsHandler"][1]["argsT"][1]["type"] = "const char*" +defs["igRemoveSettingsHandler"][1]["argsoriginal"] = "(const char* type_name)" +defs["igRemoveSettingsHandler"][1]["call_args"] = "(type_name)" +defs["igRemoveSettingsHandler"][1]["cimguiname"] = "igRemoveSettingsHandler" +defs["igRemoveSettingsHandler"][1]["defaults"] = {} +defs["igRemoveSettingsHandler"][1]["funcname"] = "RemoveSettingsHandler" +defs["igRemoveSettingsHandler"][1]["location"] = "imgui_internal:2998" +defs["igRemoveSettingsHandler"][1]["namespace"] = "ImGui" +defs["igRemoveSettingsHandler"][1]["ov_cimguiname"] = "igRemoveSettingsHandler" +defs["igRemoveSettingsHandler"][1]["ret"] = "void" +defs["igRemoveSettingsHandler"][1]["signature"] = "(const char*)" +defs["igRemoveSettingsHandler"][1]["stname"] = "" +defs["igRemoveSettingsHandler"]["(const char*)"] = defs["igRemoveSettingsHandler"][1] defs["igRender"] = {} defs["igRender"][1] = {} defs["igRender"][1]["args"] = "()" @@ -23165,7 +24391,7 @@ defs["igRender"][1]["call_args"] = "()" defs["igRender"][1]["cimguiname"] = "igRender" defs["igRender"][1]["defaults"] = {} defs["igRender"][1]["funcname"] = "Render" -defs["igRender"][1]["location"] = "imgui:311" +defs["igRender"][1]["location"] = "imgui:304" defs["igRender"][1]["namespace"] = "ImGui" defs["igRender"][1]["ov_cimguiname"] = "igRender" defs["igRender"][1]["ret"] = "void" @@ -23197,7 +24423,7 @@ defs["igRenderArrow"][1]["cimguiname"] = "igRenderArrow" defs["igRenderArrow"][1]["defaults"] = {} defs["igRenderArrow"][1]["defaults"]["scale"] = "1.0f" defs["igRenderArrow"][1]["funcname"] = "RenderArrow" -defs["igRenderArrow"][1]["location"] = "imgui_internal:2985" +defs["igRenderArrow"][1]["location"] = "imgui_internal:3340" defs["igRenderArrow"][1]["namespace"] = "ImGui" defs["igRenderArrow"][1]["ov_cimguiname"] = "igRenderArrow" defs["igRenderArrow"][1]["ret"] = "void" @@ -23225,7 +24451,7 @@ defs["igRenderArrowDockMenu"][1]["call_args"] = "(draw_list,p_min,sz,col)" defs["igRenderArrowDockMenu"][1]["cimguiname"] = "igRenderArrowDockMenu" defs["igRenderArrowDockMenu"][1]["defaults"] = {} defs["igRenderArrowDockMenu"][1]["funcname"] = "RenderArrowDockMenu" -defs["igRenderArrowDockMenu"][1]["location"] = "imgui_internal:2990" +defs["igRenderArrowDockMenu"][1]["location"] = "imgui_internal:3344" defs["igRenderArrowDockMenu"][1]["namespace"] = "ImGui" defs["igRenderArrowDockMenu"][1]["ov_cimguiname"] = "igRenderArrowDockMenu" defs["igRenderArrowDockMenu"][1]["ret"] = "void" @@ -23256,7 +24482,7 @@ defs["igRenderArrowPointingAt"][1]["call_args"] = "(draw_list,pos,half_sz,direct defs["igRenderArrowPointingAt"][1]["cimguiname"] = "igRenderArrowPointingAt" defs["igRenderArrowPointingAt"][1]["defaults"] = {} defs["igRenderArrowPointingAt"][1]["funcname"] = "RenderArrowPointingAt" -defs["igRenderArrowPointingAt"][1]["location"] = "imgui_internal:2989" +defs["igRenderArrowPointingAt"][1]["location"] = "imgui_internal:3343" defs["igRenderArrowPointingAt"][1]["namespace"] = "ImGui" defs["igRenderArrowPointingAt"][1]["ov_cimguiname"] = "igRenderArrowPointingAt" defs["igRenderArrowPointingAt"][1]["ret"] = "void" @@ -23281,7 +24507,7 @@ defs["igRenderBullet"][1]["call_args"] = "(draw_list,pos,col)" defs["igRenderBullet"][1]["cimguiname"] = "igRenderBullet" defs["igRenderBullet"][1]["defaults"] = {} defs["igRenderBullet"][1]["funcname"] = "RenderBullet" -defs["igRenderBullet"][1]["location"] = "imgui_internal:2986" +defs["igRenderBullet"][1]["location"] = "imgui_internal:3341" defs["igRenderBullet"][1]["namespace"] = "ImGui" defs["igRenderBullet"][1]["ov_cimguiname"] = "igRenderBullet" defs["igRenderBullet"][1]["ret"] = "void" @@ -23309,7 +24535,7 @@ defs["igRenderCheckMark"][1]["call_args"] = "(draw_list,pos,col,sz)" defs["igRenderCheckMark"][1]["cimguiname"] = "igRenderCheckMark" defs["igRenderCheckMark"][1]["defaults"] = {} defs["igRenderCheckMark"][1]["funcname"] = "RenderCheckMark" -defs["igRenderCheckMark"][1]["location"] = "imgui_internal:2987" +defs["igRenderCheckMark"][1]["location"] = "imgui_internal:3342" defs["igRenderCheckMark"][1]["namespace"] = "ImGui" defs["igRenderCheckMark"][1]["ov_cimguiname"] = "igRenderCheckMark" defs["igRenderCheckMark"][1]["ret"] = "void" @@ -23351,13 +24577,32 @@ defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"] = {} defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"]["flags"] = "0" defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"]["rounding"] = "0.0f" defs["igRenderColorRectWithAlphaCheckerboard"][1]["funcname"] = "RenderColorRectWithAlphaCheckerboard" -defs["igRenderColorRectWithAlphaCheckerboard"][1]["location"] = "imgui_internal:2980" +defs["igRenderColorRectWithAlphaCheckerboard"][1]["location"] = "imgui_internal:3334" defs["igRenderColorRectWithAlphaCheckerboard"][1]["namespace"] = "ImGui" defs["igRenderColorRectWithAlphaCheckerboard"][1]["ov_cimguiname"] = "igRenderColorRectWithAlphaCheckerboard" defs["igRenderColorRectWithAlphaCheckerboard"][1]["ret"] = "void" defs["igRenderColorRectWithAlphaCheckerboard"][1]["signature"] = "(ImDrawList*,ImVec2,ImVec2,ImU32,float,ImVec2,float,ImDrawFlags)" defs["igRenderColorRectWithAlphaCheckerboard"][1]["stname"] = "" defs["igRenderColorRectWithAlphaCheckerboard"]["(ImDrawList*,ImVec2,ImVec2,ImU32,float,ImVec2,float,ImDrawFlags)"] = defs["igRenderColorRectWithAlphaCheckerboard"][1] +defs["igRenderDragDropTargetRect"] = {} +defs["igRenderDragDropTargetRect"][1] = {} +defs["igRenderDragDropTargetRect"][1]["args"] = "(const ImRect bb)" +defs["igRenderDragDropTargetRect"][1]["argsT"] = {} +defs["igRenderDragDropTargetRect"][1]["argsT"][1] = {} +defs["igRenderDragDropTargetRect"][1]["argsT"][1]["name"] = "bb" +defs["igRenderDragDropTargetRect"][1]["argsT"][1]["type"] = "const ImRect" +defs["igRenderDragDropTargetRect"][1]["argsoriginal"] = "(const ImRect& bb)" +defs["igRenderDragDropTargetRect"][1]["call_args"] = "(bb)" +defs["igRenderDragDropTargetRect"][1]["cimguiname"] = "igRenderDragDropTargetRect" +defs["igRenderDragDropTargetRect"][1]["defaults"] = {} +defs["igRenderDragDropTargetRect"][1]["funcname"] = "RenderDragDropTargetRect" +defs["igRenderDragDropTargetRect"][1]["location"] = "imgui_internal:3241" +defs["igRenderDragDropTargetRect"][1]["namespace"] = "ImGui" +defs["igRenderDragDropTargetRect"][1]["ov_cimguiname"] = "igRenderDragDropTargetRect" +defs["igRenderDragDropTargetRect"][1]["ret"] = "void" +defs["igRenderDragDropTargetRect"][1]["signature"] = "(const ImRect)" +defs["igRenderDragDropTargetRect"][1]["stname"] = "" +defs["igRenderDragDropTargetRect"]["(const ImRect)"] = defs["igRenderDragDropTargetRect"][1] defs["igRenderFrame"] = {} defs["igRenderFrame"][1] = {} defs["igRenderFrame"][1]["args"] = "(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding)" @@ -23384,7 +24629,7 @@ defs["igRenderFrame"][1]["defaults"] = {} defs["igRenderFrame"][1]["defaults"]["border"] = "true" defs["igRenderFrame"][1]["defaults"]["rounding"] = "0.0f" defs["igRenderFrame"][1]["funcname"] = "RenderFrame" -defs["igRenderFrame"][1]["location"] = "imgui_internal:2978" +defs["igRenderFrame"][1]["location"] = "imgui_internal:3332" defs["igRenderFrame"][1]["namespace"] = "ImGui" defs["igRenderFrame"][1]["ov_cimguiname"] = "igRenderFrame" defs["igRenderFrame"][1]["ret"] = "void" @@ -23410,7 +24655,7 @@ defs["igRenderFrameBorder"][1]["cimguiname"] = "igRenderFrameBorder" defs["igRenderFrameBorder"][1]["defaults"] = {} defs["igRenderFrameBorder"][1]["defaults"]["rounding"] = "0.0f" defs["igRenderFrameBorder"][1]["funcname"] = "RenderFrameBorder" -defs["igRenderFrameBorder"][1]["location"] = "imgui_internal:2979" +defs["igRenderFrameBorder"][1]["location"] = "imgui_internal:3333" defs["igRenderFrameBorder"][1]["namespace"] = "ImGui" defs["igRenderFrameBorder"][1]["ov_cimguiname"] = "igRenderFrameBorder" defs["igRenderFrameBorder"][1]["ret"] = "void" @@ -23419,41 +24664,38 @@ defs["igRenderFrameBorder"][1]["stname"] = "" defs["igRenderFrameBorder"]["(ImVec2,ImVec2,float)"] = defs["igRenderFrameBorder"][1] defs["igRenderMouseCursor"] = {} defs["igRenderMouseCursor"][1] = {} -defs["igRenderMouseCursor"][1]["args"] = "(ImDrawList* draw_list,ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)" +defs["igRenderMouseCursor"][1]["args"] = "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)" defs["igRenderMouseCursor"][1]["argsT"] = {} defs["igRenderMouseCursor"][1]["argsT"][1] = {} -defs["igRenderMouseCursor"][1]["argsT"][1]["name"] = "draw_list" -defs["igRenderMouseCursor"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["igRenderMouseCursor"][1]["argsT"][1]["name"] = "pos" +defs["igRenderMouseCursor"][1]["argsT"][1]["type"] = "ImVec2" defs["igRenderMouseCursor"][1]["argsT"][2] = {} -defs["igRenderMouseCursor"][1]["argsT"][2]["name"] = "pos" -defs["igRenderMouseCursor"][1]["argsT"][2]["type"] = "ImVec2" +defs["igRenderMouseCursor"][1]["argsT"][2]["name"] = "scale" +defs["igRenderMouseCursor"][1]["argsT"][2]["type"] = "float" defs["igRenderMouseCursor"][1]["argsT"][3] = {} -defs["igRenderMouseCursor"][1]["argsT"][3]["name"] = "scale" -defs["igRenderMouseCursor"][1]["argsT"][3]["type"] = "float" +defs["igRenderMouseCursor"][1]["argsT"][3]["name"] = "mouse_cursor" +defs["igRenderMouseCursor"][1]["argsT"][3]["type"] = "ImGuiMouseCursor" defs["igRenderMouseCursor"][1]["argsT"][4] = {} -defs["igRenderMouseCursor"][1]["argsT"][4]["name"] = "mouse_cursor" -defs["igRenderMouseCursor"][1]["argsT"][4]["type"] = "ImGuiMouseCursor" +defs["igRenderMouseCursor"][1]["argsT"][4]["name"] = "col_fill" +defs["igRenderMouseCursor"][1]["argsT"][4]["type"] = "ImU32" defs["igRenderMouseCursor"][1]["argsT"][5] = {} -defs["igRenderMouseCursor"][1]["argsT"][5]["name"] = "col_fill" +defs["igRenderMouseCursor"][1]["argsT"][5]["name"] = "col_border" defs["igRenderMouseCursor"][1]["argsT"][5]["type"] = "ImU32" defs["igRenderMouseCursor"][1]["argsT"][6] = {} -defs["igRenderMouseCursor"][1]["argsT"][6]["name"] = "col_border" +defs["igRenderMouseCursor"][1]["argsT"][6]["name"] = "col_shadow" defs["igRenderMouseCursor"][1]["argsT"][6]["type"] = "ImU32" -defs["igRenderMouseCursor"][1]["argsT"][7] = {} -defs["igRenderMouseCursor"][1]["argsT"][7]["name"] = "col_shadow" -defs["igRenderMouseCursor"][1]["argsT"][7]["type"] = "ImU32" -defs["igRenderMouseCursor"][1]["argsoriginal"] = "(ImDrawList* draw_list,ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)" -defs["igRenderMouseCursor"][1]["call_args"] = "(draw_list,pos,scale,mouse_cursor,col_fill,col_border,col_shadow)" +defs["igRenderMouseCursor"][1]["argsoriginal"] = "(ImVec2 pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow)" +defs["igRenderMouseCursor"][1]["call_args"] = "(pos,scale,mouse_cursor,col_fill,col_border,col_shadow)" defs["igRenderMouseCursor"][1]["cimguiname"] = "igRenderMouseCursor" defs["igRenderMouseCursor"][1]["defaults"] = {} defs["igRenderMouseCursor"][1]["funcname"] = "RenderMouseCursor" -defs["igRenderMouseCursor"][1]["location"] = "imgui_internal:2988" +defs["igRenderMouseCursor"][1]["location"] = "imgui_internal:3337" defs["igRenderMouseCursor"][1]["namespace"] = "ImGui" defs["igRenderMouseCursor"][1]["ov_cimguiname"] = "igRenderMouseCursor" defs["igRenderMouseCursor"][1]["ret"] = "void" -defs["igRenderMouseCursor"][1]["signature"] = "(ImDrawList*,ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)" +defs["igRenderMouseCursor"][1]["signature"] = "(ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)" defs["igRenderMouseCursor"][1]["stname"] = "" -defs["igRenderMouseCursor"]["(ImDrawList*,ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)"] = defs["igRenderMouseCursor"][1] +defs["igRenderMouseCursor"]["(ImVec2,float,ImGuiMouseCursor,ImU32,ImU32,ImU32)"] = defs["igRenderMouseCursor"][1] defs["igRenderNavHighlight"] = {} defs["igRenderNavHighlight"][1] = {} defs["igRenderNavHighlight"][1]["args"] = "(const ImRect bb,ImGuiID id,ImGuiNavHighlightFlags flags)" @@ -23473,7 +24715,7 @@ defs["igRenderNavHighlight"][1]["cimguiname"] = "igRenderNavHighlight" defs["igRenderNavHighlight"][1]["defaults"] = {} defs["igRenderNavHighlight"][1]["defaults"]["flags"] = "ImGuiNavHighlightFlags_TypeDefault" defs["igRenderNavHighlight"][1]["funcname"] = "RenderNavHighlight" -defs["igRenderNavHighlight"][1]["location"] = "imgui_internal:2981" +defs["igRenderNavHighlight"][1]["location"] = "imgui_internal:3335" defs["igRenderNavHighlight"][1]["namespace"] = "ImGui" defs["igRenderNavHighlight"][1]["ov_cimguiname"] = "igRenderNavHighlight" defs["igRenderNavHighlight"][1]["ret"] = "void" @@ -23497,7 +24739,7 @@ defs["igRenderPlatformWindowsDefault"][1]["defaults"] = {} defs["igRenderPlatformWindowsDefault"][1]["defaults"]["platform_render_arg"] = "NULL" defs["igRenderPlatformWindowsDefault"][1]["defaults"]["renderer_render_arg"] = "NULL" defs["igRenderPlatformWindowsDefault"][1]["funcname"] = "RenderPlatformWindowsDefault" -defs["igRenderPlatformWindowsDefault"][1]["location"] = "imgui:980" +defs["igRenderPlatformWindowsDefault"][1]["location"] = "imgui:982" defs["igRenderPlatformWindowsDefault"][1]["namespace"] = "ImGui" defs["igRenderPlatformWindowsDefault"][1]["ov_cimguiname"] = "igRenderPlatformWindowsDefault" defs["igRenderPlatformWindowsDefault"][1]["ret"] = "void" @@ -23531,7 +24773,7 @@ defs["igRenderRectFilledRangeH"][1]["call_args"] = "(draw_list,rect,col,x_start_ defs["igRenderRectFilledRangeH"][1]["cimguiname"] = "igRenderRectFilledRangeH" defs["igRenderRectFilledRangeH"][1]["defaults"] = {} defs["igRenderRectFilledRangeH"][1]["funcname"] = "RenderRectFilledRangeH" -defs["igRenderRectFilledRangeH"][1]["location"] = "imgui_internal:2991" +defs["igRenderRectFilledRangeH"][1]["location"] = "imgui_internal:3345" defs["igRenderRectFilledRangeH"][1]["namespace"] = "ImGui" defs["igRenderRectFilledRangeH"][1]["ov_cimguiname"] = "igRenderRectFilledRangeH" defs["igRenderRectFilledRangeH"][1]["ret"] = "void" @@ -23540,35 +24782,35 @@ defs["igRenderRectFilledRangeH"][1]["stname"] = "" defs["igRenderRectFilledRangeH"]["(ImDrawList*,const ImRect,ImU32,float,float,float)"] = defs["igRenderRectFilledRangeH"][1] defs["igRenderRectFilledWithHole"] = {} defs["igRenderRectFilledWithHole"][1] = {} -defs["igRenderRectFilledWithHole"][1]["args"] = "(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding)" +defs["igRenderRectFilledWithHole"][1]["args"] = "(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding)" defs["igRenderRectFilledWithHole"][1]["argsT"] = {} defs["igRenderRectFilledWithHole"][1]["argsT"][1] = {} defs["igRenderRectFilledWithHole"][1]["argsT"][1]["name"] = "draw_list" defs["igRenderRectFilledWithHole"][1]["argsT"][1]["type"] = "ImDrawList*" defs["igRenderRectFilledWithHole"][1]["argsT"][2] = {} defs["igRenderRectFilledWithHole"][1]["argsT"][2]["name"] = "outer" -defs["igRenderRectFilledWithHole"][1]["argsT"][2]["type"] = "ImRect" +defs["igRenderRectFilledWithHole"][1]["argsT"][2]["type"] = "const ImRect" defs["igRenderRectFilledWithHole"][1]["argsT"][3] = {} defs["igRenderRectFilledWithHole"][1]["argsT"][3]["name"] = "inner" -defs["igRenderRectFilledWithHole"][1]["argsT"][3]["type"] = "ImRect" +defs["igRenderRectFilledWithHole"][1]["argsT"][3]["type"] = "const ImRect" defs["igRenderRectFilledWithHole"][1]["argsT"][4] = {} defs["igRenderRectFilledWithHole"][1]["argsT"][4]["name"] = "col" defs["igRenderRectFilledWithHole"][1]["argsT"][4]["type"] = "ImU32" defs["igRenderRectFilledWithHole"][1]["argsT"][5] = {} defs["igRenderRectFilledWithHole"][1]["argsT"][5]["name"] = "rounding" defs["igRenderRectFilledWithHole"][1]["argsT"][5]["type"] = "float" -defs["igRenderRectFilledWithHole"][1]["argsoriginal"] = "(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding)" +defs["igRenderRectFilledWithHole"][1]["argsoriginal"] = "(ImDrawList* draw_list,const ImRect& outer,const ImRect& inner,ImU32 col,float rounding)" defs["igRenderRectFilledWithHole"][1]["call_args"] = "(draw_list,outer,inner,col,rounding)" defs["igRenderRectFilledWithHole"][1]["cimguiname"] = "igRenderRectFilledWithHole" defs["igRenderRectFilledWithHole"][1]["defaults"] = {} defs["igRenderRectFilledWithHole"][1]["funcname"] = "RenderRectFilledWithHole" -defs["igRenderRectFilledWithHole"][1]["location"] = "imgui_internal:2992" +defs["igRenderRectFilledWithHole"][1]["location"] = "imgui_internal:3346" defs["igRenderRectFilledWithHole"][1]["namespace"] = "ImGui" defs["igRenderRectFilledWithHole"][1]["ov_cimguiname"] = "igRenderRectFilledWithHole" defs["igRenderRectFilledWithHole"][1]["ret"] = "void" -defs["igRenderRectFilledWithHole"][1]["signature"] = "(ImDrawList*,ImRect,ImRect,ImU32,float)" +defs["igRenderRectFilledWithHole"][1]["signature"] = "(ImDrawList*,const ImRect,const ImRect,ImU32,float)" defs["igRenderRectFilledWithHole"][1]["stname"] = "" -defs["igRenderRectFilledWithHole"]["(ImDrawList*,ImRect,ImRect,ImU32,float)"] = defs["igRenderRectFilledWithHole"][1] +defs["igRenderRectFilledWithHole"]["(ImDrawList*,const ImRect,const ImRect,ImU32,float)"] = defs["igRenderRectFilledWithHole"][1] defs["igRenderText"] = {} defs["igRenderText"][1] = {} defs["igRenderText"][1]["args"] = "(ImVec2 pos,const char* text,const char* text_end,bool hide_text_after_hash)" @@ -23592,7 +24834,7 @@ defs["igRenderText"][1]["defaults"] = {} defs["igRenderText"][1]["defaults"]["hide_text_after_hash"] = "true" defs["igRenderText"][1]["defaults"]["text_end"] = "NULL" defs["igRenderText"][1]["funcname"] = "RenderText" -defs["igRenderText"][1]["location"] = "imgui_internal:2973" +defs["igRenderText"][1]["location"] = "imgui_internal:3327" defs["igRenderText"][1]["namespace"] = "ImGui" defs["igRenderText"][1]["ov_cimguiname"] = "igRenderText" defs["igRenderText"][1]["ret"] = "void" @@ -23631,7 +24873,7 @@ defs["igRenderTextClipped"][1]["defaults"] = {} defs["igRenderTextClipped"][1]["defaults"]["align"] = "ImVec2(0,0)" defs["igRenderTextClipped"][1]["defaults"]["clip_rect"] = "NULL" defs["igRenderTextClipped"][1]["funcname"] = "RenderTextClipped" -defs["igRenderTextClipped"][1]["location"] = "imgui_internal:2975" +defs["igRenderTextClipped"][1]["location"] = "imgui_internal:3329" defs["igRenderTextClipped"][1]["namespace"] = "ImGui" defs["igRenderTextClipped"][1]["ov_cimguiname"] = "igRenderTextClipped" defs["igRenderTextClipped"][1]["ret"] = "void" @@ -23673,7 +24915,7 @@ defs["igRenderTextClippedEx"][1]["defaults"] = {} defs["igRenderTextClippedEx"][1]["defaults"]["align"] = "ImVec2(0,0)" defs["igRenderTextClippedEx"][1]["defaults"]["clip_rect"] = "NULL" defs["igRenderTextClippedEx"][1]["funcname"] = "RenderTextClippedEx" -defs["igRenderTextClippedEx"][1]["location"] = "imgui_internal:2976" +defs["igRenderTextClippedEx"][1]["location"] = "imgui_internal:3330" defs["igRenderTextClippedEx"][1]["namespace"] = "ImGui" defs["igRenderTextClippedEx"][1]["ov_cimguiname"] = "igRenderTextClippedEx" defs["igRenderTextClippedEx"][1]["ret"] = "void" @@ -23713,7 +24955,7 @@ defs["igRenderTextEllipsis"][1]["call_args"] = "(draw_list,pos_min,pos_max,clip_ defs["igRenderTextEllipsis"][1]["cimguiname"] = "igRenderTextEllipsis" defs["igRenderTextEllipsis"][1]["defaults"] = {} defs["igRenderTextEllipsis"][1]["funcname"] = "RenderTextEllipsis" -defs["igRenderTextEllipsis"][1]["location"] = "imgui_internal:2977" +defs["igRenderTextEllipsis"][1]["location"] = "imgui_internal:3331" defs["igRenderTextEllipsis"][1]["namespace"] = "ImGui" defs["igRenderTextEllipsis"][1]["ov_cimguiname"] = "igRenderTextEllipsis" defs["igRenderTextEllipsis"][1]["ret"] = "void" @@ -23741,7 +24983,7 @@ defs["igRenderTextWrapped"][1]["call_args"] = "(pos,text,text_end,wrap_width)" defs["igRenderTextWrapped"][1]["cimguiname"] = "igRenderTextWrapped" defs["igRenderTextWrapped"][1]["defaults"] = {} defs["igRenderTextWrapped"][1]["funcname"] = "RenderTextWrapped" -defs["igRenderTextWrapped"][1]["location"] = "imgui_internal:2974" +defs["igRenderTextWrapped"][1]["location"] = "imgui_internal:3328" defs["igRenderTextWrapped"][1]["namespace"] = "ImGui" defs["igRenderTextWrapped"][1]["ov_cimguiname"] = "igRenderTextWrapped" defs["igRenderTextWrapped"][1]["ret"] = "void" @@ -23761,7 +25003,7 @@ defs["igResetMouseDragDelta"][1]["cimguiname"] = "igResetMouseDragDelta" defs["igResetMouseDragDelta"][1]["defaults"] = {} defs["igResetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igResetMouseDragDelta"][1]["funcname"] = "ResetMouseDragDelta" -defs["igResetMouseDragDelta"][1]["location"] = "imgui:943" +defs["igResetMouseDragDelta"][1]["location"] = "imgui:945" defs["igResetMouseDragDelta"][1]["namespace"] = "ImGui" defs["igResetMouseDragDelta"][1]["ov_cimguiname"] = "igResetMouseDragDelta" defs["igResetMouseDragDelta"][1]["ret"] = "void" @@ -23785,7 +25027,7 @@ defs["igSameLine"][1]["defaults"] = {} defs["igSameLine"][1]["defaults"]["offset_from_start_x"] = "0.0f" defs["igSameLine"][1]["defaults"]["spacing"] = "-1.0f" defs["igSameLine"][1]["funcname"] = "SameLine" -defs["igSameLine"][1]["location"] = "imgui:451" +defs["igSameLine"][1]["location"] = "imgui:448" defs["igSameLine"][1]["namespace"] = "ImGui" defs["igSameLine"][1]["ov_cimguiname"] = "igSameLine" defs["igSameLine"][1]["ret"] = "void" @@ -23804,7 +25046,7 @@ defs["igSaveIniSettingsToDisk"][1]["call_args"] = "(ini_filename)" defs["igSaveIniSettingsToDisk"][1]["cimguiname"] = "igSaveIniSettingsToDisk" defs["igSaveIniSettingsToDisk"][1]["defaults"] = {} defs["igSaveIniSettingsToDisk"][1]["funcname"] = "SaveIniSettingsToDisk" -defs["igSaveIniSettingsToDisk"][1]["location"] = "imgui:959" +defs["igSaveIniSettingsToDisk"][1]["location"] = "imgui:961" defs["igSaveIniSettingsToDisk"][1]["namespace"] = "ImGui" defs["igSaveIniSettingsToDisk"][1]["ov_cimguiname"] = "igSaveIniSettingsToDisk" defs["igSaveIniSettingsToDisk"][1]["ret"] = "void" @@ -23824,7 +25066,7 @@ defs["igSaveIniSettingsToMemory"][1]["cimguiname"] = "igSaveIniSettingsToMemory" defs["igSaveIniSettingsToMemory"][1]["defaults"] = {} defs["igSaveIniSettingsToMemory"][1]["defaults"]["out_ini_size"] = "NULL" defs["igSaveIniSettingsToMemory"][1]["funcname"] = "SaveIniSettingsToMemory" -defs["igSaveIniSettingsToMemory"][1]["location"] = "imgui:960" +defs["igSaveIniSettingsToMemory"][1]["location"] = "imgui:962" defs["igSaveIniSettingsToMemory"][1]["namespace"] = "ImGui" defs["igSaveIniSettingsToMemory"][1]["ov_cimguiname"] = "igSaveIniSettingsToMemory" defs["igSaveIniSettingsToMemory"][1]["ret"] = "const char*" @@ -23846,7 +25088,7 @@ defs["igScaleWindowsInViewport"][1]["call_args"] = "(viewport,scale)" defs["igScaleWindowsInViewport"][1]["cimguiname"] = "igScaleWindowsInViewport" defs["igScaleWindowsInViewport"][1]["defaults"] = {} defs["igScaleWindowsInViewport"][1]["funcname"] = "ScaleWindowsInViewport" -defs["igScaleWindowsInViewport"][1]["location"] = "imgui_internal:2694" +defs["igScaleWindowsInViewport"][1]["location"] = "imgui_internal:2983" defs["igScaleWindowsInViewport"][1]["namespace"] = "ImGui" defs["igScaleWindowsInViewport"][1]["ov_cimguiname"] = "igScaleWindowsInViewport" defs["igScaleWindowsInViewport"][1]["ret"] = "void" @@ -23868,7 +25110,7 @@ defs["igScrollToBringRectIntoView"][1]["call_args"] = "(window,rect)" defs["igScrollToBringRectIntoView"][1]["cimguiname"] = "igScrollToBringRectIntoView" defs["igScrollToBringRectIntoView"][1]["defaults"] = {} defs["igScrollToBringRectIntoView"][1]["funcname"] = "ScrollToBringRectIntoView" -defs["igScrollToBringRectIntoView"][1]["location"] = "imgui_internal:2720" +defs["igScrollToBringRectIntoView"][1]["location"] = "imgui_internal:3016" defs["igScrollToBringRectIntoView"][1]["namespace"] = "ImGui" defs["igScrollToBringRectIntoView"][1]["ov_cimguiname"] = "igScrollToBringRectIntoView" defs["igScrollToBringRectIntoView"][1]["ret"] = "void" @@ -23888,7 +25130,7 @@ defs["igScrollToItem"][1]["cimguiname"] = "igScrollToItem" defs["igScrollToItem"][1]["defaults"] = {} defs["igScrollToItem"][1]["defaults"]["flags"] = "0" defs["igScrollToItem"][1]["funcname"] = "ScrollToItem" -defs["igScrollToItem"][1]["location"] = "imgui_internal:2716" +defs["igScrollToItem"][1]["location"] = "imgui_internal:3012" defs["igScrollToItem"][1]["namespace"] = "ImGui" defs["igScrollToItem"][1]["ov_cimguiname"] = "igScrollToItem" defs["igScrollToItem"][1]["ret"] = "void" @@ -23914,7 +25156,7 @@ defs["igScrollToRect"][1]["cimguiname"] = "igScrollToRect" defs["igScrollToRect"][1]["defaults"] = {} defs["igScrollToRect"][1]["defaults"]["flags"] = "0" defs["igScrollToRect"][1]["funcname"] = "ScrollToRect" -defs["igScrollToRect"][1]["location"] = "imgui_internal:2717" +defs["igScrollToRect"][1]["location"] = "imgui_internal:3013" defs["igScrollToRect"][1]["namespace"] = "ImGui" defs["igScrollToRect"][1]["ov_cimguiname"] = "igScrollToRect" defs["igScrollToRect"][1]["ret"] = "void" @@ -23943,7 +25185,7 @@ defs["igScrollToRectEx"][1]["cimguiname"] = "igScrollToRectEx" defs["igScrollToRectEx"][1]["defaults"] = {} defs["igScrollToRectEx"][1]["defaults"]["flags"] = "0" defs["igScrollToRectEx"][1]["funcname"] = "ScrollToRectEx" -defs["igScrollToRectEx"][1]["location"] = "imgui_internal:2718" +defs["igScrollToRectEx"][1]["location"] = "imgui_internal:3014" defs["igScrollToRectEx"][1]["namespace"] = "ImGui" defs["igScrollToRectEx"][1]["nonUDT"] = 1 defs["igScrollToRectEx"][1]["ov_cimguiname"] = "igScrollToRectEx" @@ -23963,7 +25205,7 @@ defs["igScrollbar"][1]["call_args"] = "(axis)" defs["igScrollbar"][1]["cimguiname"] = "igScrollbar" defs["igScrollbar"][1]["defaults"] = {} defs["igScrollbar"][1]["funcname"] = "Scrollbar" -defs["igScrollbar"][1]["location"] = "imgui_internal:3007" +defs["igScrollbar"][1]["location"] = "imgui_internal:3355" defs["igScrollbar"][1]["namespace"] = "ImGui" defs["igScrollbar"][1]["ov_cimguiname"] = "igScrollbar" defs["igScrollbar"][1]["ret"] = "void" @@ -24000,7 +25242,7 @@ defs["igScrollbarEx"][1]["call_args"] = "(bb,id,axis,p_scroll_v,avail_v,contents defs["igScrollbarEx"][1]["cimguiname"] = "igScrollbarEx" defs["igScrollbarEx"][1]["defaults"] = {} defs["igScrollbarEx"][1]["funcname"] = "ScrollbarEx" -defs["igScrollbarEx"][1]["location"] = "imgui_internal:3008" +defs["igScrollbarEx"][1]["location"] = "imgui_internal:3356" defs["igScrollbarEx"][1]["namespace"] = "ImGui" defs["igScrollbarEx"][1]["ov_cimguiname"] = "igScrollbarEx" defs["igScrollbarEx"][1]["ret"] = "bool" @@ -24031,9 +25273,9 @@ defs["igSelectable"][1]["defaults"]["flags"] = "0" defs["igSelectable"][1]["defaults"]["selected"] = "false" defs["igSelectable"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igSelectable"][1]["funcname"] = "Selectable" -defs["igSelectable"][1]["location"] = "imgui:631" +defs["igSelectable"][1]["location"] = "imgui:632" defs["igSelectable"][1]["namespace"] = "ImGui" -defs["igSelectable"][1]["ov_cimguiname"] = "igSelectableBool" +defs["igSelectable"][1]["ov_cimguiname"] = "igSelectable_Bool" defs["igSelectable"][1]["ret"] = "bool" defs["igSelectable"][1]["signature"] = "(const char*,bool,ImGuiSelectableFlags,const ImVec2)" defs["igSelectable"][1]["stname"] = "" @@ -24059,9 +25301,9 @@ defs["igSelectable"][2]["defaults"] = {} defs["igSelectable"][2]["defaults"]["flags"] = "0" defs["igSelectable"][2]["defaults"]["size"] = "ImVec2(0,0)" defs["igSelectable"][2]["funcname"] = "Selectable" -defs["igSelectable"][2]["location"] = "imgui:632" +defs["igSelectable"][2]["location"] = "imgui:633" defs["igSelectable"][2]["namespace"] = "ImGui" -defs["igSelectable"][2]["ov_cimguiname"] = "igSelectableBoolPtr" +defs["igSelectable"][2]["ov_cimguiname"] = "igSelectable_BoolPtr" defs["igSelectable"][2]["ret"] = "bool" defs["igSelectable"][2]["signature"] = "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)" defs["igSelectable"][2]["stname"] = "" @@ -24076,7 +25318,7 @@ defs["igSeparator"][1]["call_args"] = "()" defs["igSeparator"][1]["cimguiname"] = "igSeparator" defs["igSeparator"][1]["defaults"] = {} defs["igSeparator"][1]["funcname"] = "Separator" -defs["igSeparator"][1]["location"] = "imgui:450" +defs["igSeparator"][1]["location"] = "imgui:447" defs["igSeparator"][1]["namespace"] = "ImGui" defs["igSeparator"][1]["ov_cimguiname"] = "igSeparator" defs["igSeparator"][1]["ret"] = "void" @@ -24095,7 +25337,7 @@ defs["igSeparatorEx"][1]["call_args"] = "(flags)" defs["igSeparatorEx"][1]["cimguiname"] = "igSeparatorEx" defs["igSeparatorEx"][1]["defaults"] = {} defs["igSeparatorEx"][1]["funcname"] = "SeparatorEx" -defs["igSeparatorEx"][1]["location"] = "imgui_internal:3014" +defs["igSeparatorEx"][1]["location"] = "imgui_internal:3362" defs["igSeparatorEx"][1]["namespace"] = "ImGui" defs["igSeparatorEx"][1]["ov_cimguiname"] = "igSeparatorEx" defs["igSeparatorEx"][1]["ret"] = "void" @@ -24117,29 +25359,29 @@ defs["igSetActiveID"][1]["call_args"] = "(id,window)" defs["igSetActiveID"][1]["cimguiname"] = "igSetActiveID" defs["igSetActiveID"][1]["defaults"] = {} defs["igSetActiveID"][1]["funcname"] = "SetActiveID" -defs["igSetActiveID"][1]["location"] = "imgui_internal:2729" +defs["igSetActiveID"][1]["location"] = "imgui_internal:3025" defs["igSetActiveID"][1]["namespace"] = "ImGui" defs["igSetActiveID"][1]["ov_cimguiname"] = "igSetActiveID" defs["igSetActiveID"][1]["ret"] = "void" defs["igSetActiveID"][1]["signature"] = "(ImGuiID,ImGuiWindow*)" defs["igSetActiveID"][1]["stname"] = "" defs["igSetActiveID"]["(ImGuiID,ImGuiWindow*)"] = defs["igSetActiveID"][1] -defs["igSetActiveIdUsingNavAndKeys"] = {} -defs["igSetActiveIdUsingNavAndKeys"][1] = {} -defs["igSetActiveIdUsingNavAndKeys"][1]["args"] = "()" -defs["igSetActiveIdUsingNavAndKeys"][1]["argsT"] = {} -defs["igSetActiveIdUsingNavAndKeys"][1]["argsoriginal"] = "()" -defs["igSetActiveIdUsingNavAndKeys"][1]["call_args"] = "()" -defs["igSetActiveIdUsingNavAndKeys"][1]["cimguiname"] = "igSetActiveIdUsingNavAndKeys" -defs["igSetActiveIdUsingNavAndKeys"][1]["defaults"] = {} -defs["igSetActiveIdUsingNavAndKeys"][1]["funcname"] = "SetActiveIdUsingNavAndKeys" -defs["igSetActiveIdUsingNavAndKeys"][1]["location"] = "imgui_internal:2826" -defs["igSetActiveIdUsingNavAndKeys"][1]["namespace"] = "ImGui" -defs["igSetActiveIdUsingNavAndKeys"][1]["ov_cimguiname"] = "igSetActiveIdUsingNavAndKeys" -defs["igSetActiveIdUsingNavAndKeys"][1]["ret"] = "void" -defs["igSetActiveIdUsingNavAndKeys"][1]["signature"] = "()" -defs["igSetActiveIdUsingNavAndKeys"][1]["stname"] = "" -defs["igSetActiveIdUsingNavAndKeys"]["()"] = defs["igSetActiveIdUsingNavAndKeys"][1] +defs["igSetActiveIdUsingAllKeyboardKeys"] = {} +defs["igSetActiveIdUsingAllKeyboardKeys"][1] = {} +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["args"] = "()" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["argsT"] = {} +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["argsoriginal"] = "()" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["call_args"] = "()" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["cimguiname"] = "igSetActiveIdUsingAllKeyboardKeys" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["defaults"] = {} +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["funcname"] = "SetActiveIdUsingAllKeyboardKeys" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["location"] = "imgui_internal:3124" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["namespace"] = "ImGui" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["ov_cimguiname"] = "igSetActiveIdUsingAllKeyboardKeys" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["ret"] = "void" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["signature"] = "()" +defs["igSetActiveIdUsingAllKeyboardKeys"][1]["stname"] = "" +defs["igSetActiveIdUsingAllKeyboardKeys"]["()"] = defs["igSetActiveIdUsingAllKeyboardKeys"][1] defs["igSetAllocatorFunctions"] = {} defs["igSetAllocatorFunctions"][1] = {} defs["igSetAllocatorFunctions"][1]["args"] = "(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data)" @@ -24159,7 +25401,7 @@ defs["igSetAllocatorFunctions"][1]["cimguiname"] = "igSetAllocatorFunctions" defs["igSetAllocatorFunctions"][1]["defaults"] = {} defs["igSetAllocatorFunctions"][1]["defaults"]["user_data"] = "NULL" defs["igSetAllocatorFunctions"][1]["funcname"] = "SetAllocatorFunctions" -defs["igSetAllocatorFunctions"][1]["location"] = "imgui:970" +defs["igSetAllocatorFunctions"][1]["location"] = "imgui:972" defs["igSetAllocatorFunctions"][1]["namespace"] = "ImGui" defs["igSetAllocatorFunctions"][1]["ov_cimguiname"] = "igSetAllocatorFunctions" defs["igSetAllocatorFunctions"][1]["ret"] = "void" @@ -24178,7 +25420,7 @@ defs["igSetClipboardText"][1]["call_args"] = "(text)" defs["igSetClipboardText"][1]["cimguiname"] = "igSetClipboardText" defs["igSetClipboardText"][1]["defaults"] = {} defs["igSetClipboardText"][1]["funcname"] = "SetClipboardText" -defs["igSetClipboardText"][1]["location"] = "imgui:951" +defs["igSetClipboardText"][1]["location"] = "imgui:953" defs["igSetClipboardText"][1]["namespace"] = "ImGui" defs["igSetClipboardText"][1]["ov_cimguiname"] = "igSetClipboardText" defs["igSetClipboardText"][1]["ret"] = "void" @@ -24197,7 +25439,7 @@ defs["igSetColorEditOptions"][1]["call_args"] = "(flags)" defs["igSetColorEditOptions"][1]["cimguiname"] = "igSetColorEditOptions" defs["igSetColorEditOptions"][1]["defaults"] = {} defs["igSetColorEditOptions"][1]["funcname"] = "SetColorEditOptions" -defs["igSetColorEditOptions"][1]["location"] = "imgui:606" +defs["igSetColorEditOptions"][1]["location"] = "imgui:607" defs["igSetColorEditOptions"][1]["namespace"] = "ImGui" defs["igSetColorEditOptions"][1]["ov_cimguiname"] = "igSetColorEditOptions" defs["igSetColorEditOptions"][1]["ret"] = "void" @@ -24219,7 +25461,7 @@ defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" defs["igSetColumnOffset"][1]["defaults"] = {} defs["igSetColumnOffset"][1]["funcname"] = "SetColumnOffset" -defs["igSetColumnOffset"][1]["location"] = "imgui:793" +defs["igSetColumnOffset"][1]["location"] = "imgui:790" defs["igSetColumnOffset"][1]["namespace"] = "ImGui" defs["igSetColumnOffset"][1]["ov_cimguiname"] = "igSetColumnOffset" defs["igSetColumnOffset"][1]["ret"] = "void" @@ -24241,7 +25483,7 @@ defs["igSetColumnWidth"][1]["call_args"] = "(column_index,width)" defs["igSetColumnWidth"][1]["cimguiname"] = "igSetColumnWidth" defs["igSetColumnWidth"][1]["defaults"] = {} defs["igSetColumnWidth"][1]["funcname"] = "SetColumnWidth" -defs["igSetColumnWidth"][1]["location"] = "imgui:791" +defs["igSetColumnWidth"][1]["location"] = "imgui:788" defs["igSetColumnWidth"][1]["namespace"] = "ImGui" defs["igSetColumnWidth"][1]["ov_cimguiname"] = "igSetColumnWidth" defs["igSetColumnWidth"][1]["ret"] = "void" @@ -24260,7 +25502,7 @@ defs["igSetCurrentContext"][1]["call_args"] = "(ctx)" defs["igSetCurrentContext"][1]["cimguiname"] = "igSetCurrentContext" defs["igSetCurrentContext"][1]["defaults"] = {} defs["igSetCurrentContext"][1]["funcname"] = "SetCurrentContext" -defs["igSetCurrentContext"][1]["location"] = "imgui:304" +defs["igSetCurrentContext"][1]["location"] = "imgui:297" defs["igSetCurrentContext"][1]["namespace"] = "ImGui" defs["igSetCurrentContext"][1]["ov_cimguiname"] = "igSetCurrentContext" defs["igSetCurrentContext"][1]["ret"] = "void" @@ -24279,7 +25521,7 @@ defs["igSetCurrentFont"][1]["call_args"] = "(font)" defs["igSetCurrentFont"][1]["cimguiname"] = "igSetCurrentFont" defs["igSetCurrentFont"][1]["defaults"] = {} defs["igSetCurrentFont"][1]["funcname"] = "SetCurrentFont" -defs["igSetCurrentFont"][1]["location"] = "imgui_internal:2672" +defs["igSetCurrentFont"][1]["location"] = "imgui_internal:2960" defs["igSetCurrentFont"][1]["namespace"] = "ImGui" defs["igSetCurrentFont"][1]["ov_cimguiname"] = "igSetCurrentFont" defs["igSetCurrentFont"][1]["ret"] = "void" @@ -24301,7 +25543,7 @@ defs["igSetCurrentViewport"][1]["call_args"] = "(window,viewport)" defs["igSetCurrentViewport"][1]["cimguiname"] = "igSetCurrentViewport" defs["igSetCurrentViewport"][1]["defaults"] = {} defs["igSetCurrentViewport"][1]["funcname"] = "SetCurrentViewport" -defs["igSetCurrentViewport"][1]["location"] = "imgui_internal:2696" +defs["igSetCurrentViewport"][1]["location"] = "imgui_internal:2986" defs["igSetCurrentViewport"][1]["namespace"] = "ImGui" defs["igSetCurrentViewport"][1]["ov_cimguiname"] = "igSetCurrentViewport" defs["igSetCurrentViewport"][1]["ret"] = "void" @@ -24320,7 +25562,7 @@ defs["igSetCursorPos"][1]["call_args"] = "(local_pos)" defs["igSetCursorPos"][1]["cimguiname"] = "igSetCursorPos" defs["igSetCursorPos"][1]["defaults"] = {} defs["igSetCursorPos"][1]["funcname"] = "SetCursorPos" -defs["igSetCursorPos"][1]["location"] = "imgui:462" +defs["igSetCursorPos"][1]["location"] = "imgui:459" defs["igSetCursorPos"][1]["namespace"] = "ImGui" defs["igSetCursorPos"][1]["ov_cimguiname"] = "igSetCursorPos" defs["igSetCursorPos"][1]["ret"] = "void" @@ -24339,7 +25581,7 @@ defs["igSetCursorPosX"][1]["call_args"] = "(local_x)" defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" defs["igSetCursorPosX"][1]["defaults"] = {} defs["igSetCursorPosX"][1]["funcname"] = "SetCursorPosX" -defs["igSetCursorPosX"][1]["location"] = "imgui:463" +defs["igSetCursorPosX"][1]["location"] = "imgui:460" defs["igSetCursorPosX"][1]["namespace"] = "ImGui" defs["igSetCursorPosX"][1]["ov_cimguiname"] = "igSetCursorPosX" defs["igSetCursorPosX"][1]["ret"] = "void" @@ -24358,7 +25600,7 @@ defs["igSetCursorPosY"][1]["call_args"] = "(local_y)" defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" defs["igSetCursorPosY"][1]["defaults"] = {} defs["igSetCursorPosY"][1]["funcname"] = "SetCursorPosY" -defs["igSetCursorPosY"][1]["location"] = "imgui:464" +defs["igSetCursorPosY"][1]["location"] = "imgui:461" defs["igSetCursorPosY"][1]["namespace"] = "ImGui" defs["igSetCursorPosY"][1]["ov_cimguiname"] = "igSetCursorPosY" defs["igSetCursorPosY"][1]["ret"] = "void" @@ -24377,7 +25619,7 @@ defs["igSetCursorScreenPos"][1]["call_args"] = "(pos)" defs["igSetCursorScreenPos"][1]["cimguiname"] = "igSetCursorScreenPos" defs["igSetCursorScreenPos"][1]["defaults"] = {} defs["igSetCursorScreenPos"][1]["funcname"] = "SetCursorScreenPos" -defs["igSetCursorScreenPos"][1]["location"] = "imgui:467" +defs["igSetCursorScreenPos"][1]["location"] = "imgui:464" defs["igSetCursorScreenPos"][1]["namespace"] = "ImGui" defs["igSetCursorScreenPos"][1]["ov_cimguiname"] = "igSetCursorScreenPos" defs["igSetCursorScreenPos"][1]["ret"] = "void" @@ -24406,7 +25648,7 @@ defs["igSetDragDropPayload"][1]["cimguiname"] = "igSetDragDropPayload" defs["igSetDragDropPayload"][1]["defaults"] = {} defs["igSetDragDropPayload"][1]["defaults"]["cond"] = "0" defs["igSetDragDropPayload"][1]["funcname"] = "SetDragDropPayload" -defs["igSetDragDropPayload"][1]["location"] = "imgui:841" +defs["igSetDragDropPayload"][1]["location"] = "imgui:838" defs["igSetDragDropPayload"][1]["namespace"] = "ImGui" defs["igSetDragDropPayload"][1]["ov_cimguiname"] = "igSetDragDropPayload" defs["igSetDragDropPayload"][1]["ret"] = "bool" @@ -24428,7 +25670,7 @@ defs["igSetFocusID"][1]["call_args"] = "(id,window)" defs["igSetFocusID"][1]["cimguiname"] = "igSetFocusID" defs["igSetFocusID"][1]["defaults"] = {} defs["igSetFocusID"][1]["funcname"] = "SetFocusID" -defs["igSetFocusID"][1]["location"] = "imgui_internal:2730" +defs["igSetFocusID"][1]["location"] = "imgui_internal:3026" defs["igSetFocusID"][1]["namespace"] = "ImGui" defs["igSetFocusID"][1]["ov_cimguiname"] = "igSetFocusID" defs["igSetFocusID"][1]["ret"] = "void" @@ -24447,7 +25689,7 @@ defs["igSetHoveredID"][1]["call_args"] = "(id)" defs["igSetHoveredID"][1]["cimguiname"] = "igSetHoveredID" defs["igSetHoveredID"][1]["defaults"] = {} defs["igSetHoveredID"][1]["funcname"] = "SetHoveredID" -defs["igSetHoveredID"][1]["location"] = "imgui_internal:2733" +defs["igSetHoveredID"][1]["location"] = "imgui_internal:3029" defs["igSetHoveredID"][1]["namespace"] = "ImGui" defs["igSetHoveredID"][1]["ov_cimguiname"] = "igSetHoveredID" defs["igSetHoveredID"][1]["ret"] = "void" @@ -24463,7 +25705,7 @@ defs["igSetItemAllowOverlap"][1]["call_args"] = "()" defs["igSetItemAllowOverlap"][1]["cimguiname"] = "igSetItemAllowOverlap" defs["igSetItemAllowOverlap"][1]["defaults"] = {} defs["igSetItemAllowOverlap"][1]["funcname"] = "SetItemAllowOverlap" -defs["igSetItemAllowOverlap"][1]["location"] = "imgui:884" +defs["igSetItemAllowOverlap"][1]["location"] = "imgui:881" defs["igSetItemAllowOverlap"][1]["namespace"] = "ImGui" defs["igSetItemAllowOverlap"][1]["ov_cimguiname"] = "igSetItemAllowOverlap" defs["igSetItemAllowOverlap"][1]["ret"] = "void" @@ -24479,29 +25721,62 @@ defs["igSetItemDefaultFocus"][1]["call_args"] = "()" defs["igSetItemDefaultFocus"][1]["cimguiname"] = "igSetItemDefaultFocus" defs["igSetItemDefaultFocus"][1]["defaults"] = {} defs["igSetItemDefaultFocus"][1]["funcname"] = "SetItemDefaultFocus" -defs["igSetItemDefaultFocus"][1]["location"] = "imgui:862" +defs["igSetItemDefaultFocus"][1]["location"] = "imgui:859" defs["igSetItemDefaultFocus"][1]["namespace"] = "ImGui" defs["igSetItemDefaultFocus"][1]["ov_cimguiname"] = "igSetItemDefaultFocus" defs["igSetItemDefaultFocus"][1]["ret"] = "void" defs["igSetItemDefaultFocus"][1]["signature"] = "()" defs["igSetItemDefaultFocus"][1]["stname"] = "" defs["igSetItemDefaultFocus"]["()"] = defs["igSetItemDefaultFocus"][1] -defs["igSetItemUsingMouseWheel"] = {} -defs["igSetItemUsingMouseWheel"][1] = {} -defs["igSetItemUsingMouseWheel"][1]["args"] = "()" -defs["igSetItemUsingMouseWheel"][1]["argsT"] = {} -defs["igSetItemUsingMouseWheel"][1]["argsoriginal"] = "()" -defs["igSetItemUsingMouseWheel"][1]["call_args"] = "()" -defs["igSetItemUsingMouseWheel"][1]["cimguiname"] = "igSetItemUsingMouseWheel" -defs["igSetItemUsingMouseWheel"][1]["defaults"] = {} -defs["igSetItemUsingMouseWheel"][1]["funcname"] = "SetItemUsingMouseWheel" -defs["igSetItemUsingMouseWheel"][1]["location"] = "imgui_internal:2825" -defs["igSetItemUsingMouseWheel"][1]["namespace"] = "ImGui" -defs["igSetItemUsingMouseWheel"][1]["ov_cimguiname"] = "igSetItemUsingMouseWheel" -defs["igSetItemUsingMouseWheel"][1]["ret"] = "void" -defs["igSetItemUsingMouseWheel"][1]["signature"] = "()" -defs["igSetItemUsingMouseWheel"][1]["stname"] = "" -defs["igSetItemUsingMouseWheel"]["()"] = defs["igSetItemUsingMouseWheel"][1] +defs["igSetItemKeyOwner"] = {} +defs["igSetItemKeyOwner"][1] = {} +defs["igSetItemKeyOwner"][1]["args"] = "(ImGuiKey key,ImGuiInputFlags flags)" +defs["igSetItemKeyOwner"][1]["argsT"] = {} +defs["igSetItemKeyOwner"][1]["argsT"][1] = {} +defs["igSetItemKeyOwner"][1]["argsT"][1]["name"] = "key" +defs["igSetItemKeyOwner"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igSetItemKeyOwner"][1]["argsT"][2] = {} +defs["igSetItemKeyOwner"][1]["argsT"][2]["name"] = "flags" +defs["igSetItemKeyOwner"][1]["argsT"][2]["type"] = "ImGuiInputFlags" +defs["igSetItemKeyOwner"][1]["argsoriginal"] = "(ImGuiKey key,ImGuiInputFlags flags=0)" +defs["igSetItemKeyOwner"][1]["call_args"] = "(key,flags)" +defs["igSetItemKeyOwner"][1]["cimguiname"] = "igSetItemKeyOwner" +defs["igSetItemKeyOwner"][1]["defaults"] = {} +defs["igSetItemKeyOwner"][1]["defaults"]["flags"] = "0" +defs["igSetItemKeyOwner"][1]["funcname"] = "SetItemKeyOwner" +defs["igSetItemKeyOwner"][1]["location"] = "imgui_internal:3140" +defs["igSetItemKeyOwner"][1]["namespace"] = "ImGui" +defs["igSetItemKeyOwner"][1]["ov_cimguiname"] = "igSetItemKeyOwner" +defs["igSetItemKeyOwner"][1]["ret"] = "void" +defs["igSetItemKeyOwner"][1]["signature"] = "(ImGuiKey,ImGuiInputFlags)" +defs["igSetItemKeyOwner"][1]["stname"] = "" +defs["igSetItemKeyOwner"]["(ImGuiKey,ImGuiInputFlags)"] = defs["igSetItemKeyOwner"][1] +defs["igSetKeyOwner"] = {} +defs["igSetKeyOwner"][1] = {} +defs["igSetKeyOwner"][1]["args"] = "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags)" +defs["igSetKeyOwner"][1]["argsT"] = {} +defs["igSetKeyOwner"][1]["argsT"][1] = {} +defs["igSetKeyOwner"][1]["argsT"][1]["name"] = "key" +defs["igSetKeyOwner"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igSetKeyOwner"][1]["argsT"][2] = {} +defs["igSetKeyOwner"][1]["argsT"][2]["name"] = "owner_id" +defs["igSetKeyOwner"][1]["argsT"][2]["type"] = "ImGuiID" +defs["igSetKeyOwner"][1]["argsT"][3] = {} +defs["igSetKeyOwner"][1]["argsT"][3]["name"] = "flags" +defs["igSetKeyOwner"][1]["argsT"][3]["type"] = "ImGuiInputFlags" +defs["igSetKeyOwner"][1]["argsoriginal"] = "(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags=0)" +defs["igSetKeyOwner"][1]["call_args"] = "(key,owner_id,flags)" +defs["igSetKeyOwner"][1]["cimguiname"] = "igSetKeyOwner" +defs["igSetKeyOwner"][1]["defaults"] = {} +defs["igSetKeyOwner"][1]["defaults"]["flags"] = "0" +defs["igSetKeyOwner"][1]["funcname"] = "SetKeyOwner" +defs["igSetKeyOwner"][1]["location"] = "imgui_internal:3139" +defs["igSetKeyOwner"][1]["namespace"] = "ImGui" +defs["igSetKeyOwner"][1]["ov_cimguiname"] = "igSetKeyOwner" +defs["igSetKeyOwner"][1]["ret"] = "void" +defs["igSetKeyOwner"][1]["signature"] = "(ImGuiKey,ImGuiID,ImGuiInputFlags)" +defs["igSetKeyOwner"][1]["stname"] = "" +defs["igSetKeyOwner"]["(ImGuiKey,ImGuiID,ImGuiInputFlags)"] = defs["igSetKeyOwner"][1] defs["igSetKeyboardFocusHere"] = {} defs["igSetKeyboardFocusHere"][1] = {} defs["igSetKeyboardFocusHere"][1]["args"] = "(int offset)" @@ -24515,7 +25790,7 @@ defs["igSetKeyboardFocusHere"][1]["cimguiname"] = "igSetKeyboardFocusHere" defs["igSetKeyboardFocusHere"][1]["defaults"] = {} defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" defs["igSetKeyboardFocusHere"][1]["funcname"] = "SetKeyboardFocusHere" -defs["igSetKeyboardFocusHere"][1]["location"] = "imgui:863" +defs["igSetKeyboardFocusHere"][1]["location"] = "imgui:860" defs["igSetKeyboardFocusHere"][1]["namespace"] = "ImGui" defs["igSetKeyboardFocusHere"][1]["ov_cimguiname"] = "igSetKeyboardFocusHere" defs["igSetKeyboardFocusHere"][1]["ret"] = "void" @@ -24543,7 +25818,7 @@ defs["igSetLastItemData"][1]["call_args"] = "(item_id,in_flags,status_flags,item defs["igSetLastItemData"][1]["cimguiname"] = "igSetLastItemData" defs["igSetLastItemData"][1]["defaults"] = {} defs["igSetLastItemData"][1]["funcname"] = "SetLastItemData" -defs["igSetLastItemData"][1]["location"] = "imgui_internal:2745" +defs["igSetLastItemData"][1]["location"] = "imgui_internal:3041" defs["igSetLastItemData"][1]["namespace"] = "ImGui" defs["igSetLastItemData"][1]["ov_cimguiname"] = "igSetLastItemData" defs["igSetLastItemData"][1]["ret"] = "void" @@ -24562,7 +25837,7 @@ defs["igSetMouseCursor"][1]["call_args"] = "(cursor_type)" defs["igSetMouseCursor"][1]["cimguiname"] = "igSetMouseCursor" defs["igSetMouseCursor"][1]["defaults"] = {} defs["igSetMouseCursor"][1]["funcname"] = "SetMouseCursor" -defs["igSetMouseCursor"][1]["location"] = "imgui:945" +defs["igSetMouseCursor"][1]["location"] = "imgui:947" defs["igSetMouseCursor"][1]["namespace"] = "ImGui" defs["igSetMouseCursor"][1]["ov_cimguiname"] = "igSetMouseCursor" defs["igSetMouseCursor"][1]["ret"] = "void" @@ -24590,13 +25865,70 @@ defs["igSetNavID"][1]["call_args"] = "(id,nav_layer,focus_scope_id,rect_rel)" defs["igSetNavID"][1]["cimguiname"] = "igSetNavID" defs["igSetNavID"][1]["defaults"] = {} defs["igSetNavID"][1]["funcname"] = "SetNavID" -defs["igSetNavID"][1]["location"] = "imgui_internal:2813" +defs["igSetNavID"][1]["location"] = "imgui_internal:3096" defs["igSetNavID"][1]["namespace"] = "ImGui" defs["igSetNavID"][1]["ov_cimguiname"] = "igSetNavID" defs["igSetNavID"][1]["ret"] = "void" defs["igSetNavID"][1]["signature"] = "(ImGuiID,ImGuiNavLayer,ImGuiID,const ImRect)" defs["igSetNavID"][1]["stname"] = "" defs["igSetNavID"]["(ImGuiID,ImGuiNavLayer,ImGuiID,const ImRect)"] = defs["igSetNavID"][1] +defs["igSetNavWindow"] = {} +defs["igSetNavWindow"][1] = {} +defs["igSetNavWindow"][1]["args"] = "(ImGuiWindow* window)" +defs["igSetNavWindow"][1]["argsT"] = {} +defs["igSetNavWindow"][1]["argsT"][1] = {} +defs["igSetNavWindow"][1]["argsT"][1]["name"] = "window" +defs["igSetNavWindow"][1]["argsT"][1]["type"] = "ImGuiWindow*" +defs["igSetNavWindow"][1]["argsoriginal"] = "(ImGuiWindow* window)" +defs["igSetNavWindow"][1]["call_args"] = "(window)" +defs["igSetNavWindow"][1]["cimguiname"] = "igSetNavWindow" +defs["igSetNavWindow"][1]["defaults"] = {} +defs["igSetNavWindow"][1]["funcname"] = "SetNavWindow" +defs["igSetNavWindow"][1]["location"] = "imgui_internal:3095" +defs["igSetNavWindow"][1]["namespace"] = "ImGui" +defs["igSetNavWindow"][1]["ov_cimguiname"] = "igSetNavWindow" +defs["igSetNavWindow"][1]["ret"] = "void" +defs["igSetNavWindow"][1]["signature"] = "(ImGuiWindow*)" +defs["igSetNavWindow"][1]["stname"] = "" +defs["igSetNavWindow"]["(ImGuiWindow*)"] = defs["igSetNavWindow"][1] +defs["igSetNextFrameWantCaptureKeyboard"] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["args"] = "(bool want_capture_keyboard)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"][1] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"][1]["name"] = "want_capture_keyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"][1]["type"] = "bool" +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsoriginal"] = "(bool want_capture_keyboard)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["call_args"] = "(want_capture_keyboard)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["cimguiname"] = "igSetNextFrameWantCaptureKeyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["defaults"] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["funcname"] = "SetNextFrameWantCaptureKeyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["location"] = "imgui:927" +defs["igSetNextFrameWantCaptureKeyboard"][1]["namespace"] = "ImGui" +defs["igSetNextFrameWantCaptureKeyboard"][1]["ov_cimguiname"] = "igSetNextFrameWantCaptureKeyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["ret"] = "void" +defs["igSetNextFrameWantCaptureKeyboard"][1]["signature"] = "(bool)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["stname"] = "" +defs["igSetNextFrameWantCaptureKeyboard"]["(bool)"] = defs["igSetNextFrameWantCaptureKeyboard"][1] +defs["igSetNextFrameWantCaptureMouse"] = {} +defs["igSetNextFrameWantCaptureMouse"][1] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["args"] = "(bool want_capture_mouse)" +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"][1] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"][1]["name"] = "want_capture_mouse" +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"][1]["type"] = "bool" +defs["igSetNextFrameWantCaptureMouse"][1]["argsoriginal"] = "(bool want_capture_mouse)" +defs["igSetNextFrameWantCaptureMouse"][1]["call_args"] = "(want_capture_mouse)" +defs["igSetNextFrameWantCaptureMouse"][1]["cimguiname"] = "igSetNextFrameWantCaptureMouse" +defs["igSetNextFrameWantCaptureMouse"][1]["defaults"] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["funcname"] = "SetNextFrameWantCaptureMouse" +defs["igSetNextFrameWantCaptureMouse"][1]["location"] = "imgui:948" +defs["igSetNextFrameWantCaptureMouse"][1]["namespace"] = "ImGui" +defs["igSetNextFrameWantCaptureMouse"][1]["ov_cimguiname"] = "igSetNextFrameWantCaptureMouse" +defs["igSetNextFrameWantCaptureMouse"][1]["ret"] = "void" +defs["igSetNextFrameWantCaptureMouse"][1]["signature"] = "(bool)" +defs["igSetNextFrameWantCaptureMouse"][1]["stname"] = "" +defs["igSetNextFrameWantCaptureMouse"]["(bool)"] = defs["igSetNextFrameWantCaptureMouse"][1] defs["igSetNextItemOpen"] = {} defs["igSetNextItemOpen"][1] = {} defs["igSetNextItemOpen"][1]["args"] = "(bool is_open,ImGuiCond cond)" @@ -24613,7 +25945,7 @@ defs["igSetNextItemOpen"][1]["cimguiname"] = "igSetNextItemOpen" defs["igSetNextItemOpen"][1]["defaults"] = {} defs["igSetNextItemOpen"][1]["defaults"]["cond"] = "0" defs["igSetNextItemOpen"][1]["funcname"] = "SetNextItemOpen" -defs["igSetNextItemOpen"][1]["location"] = "imgui:626" +defs["igSetNextItemOpen"][1]["location"] = "imgui:627" defs["igSetNextItemOpen"][1]["namespace"] = "ImGui" defs["igSetNextItemOpen"][1]["ov_cimguiname"] = "igSetNextItemOpen" defs["igSetNextItemOpen"][1]["ret"] = "void" @@ -24632,7 +25964,7 @@ defs["igSetNextItemWidth"][1]["call_args"] = "(item_width)" defs["igSetNextItemWidth"][1]["cimguiname"] = "igSetNextItemWidth" defs["igSetNextItemWidth"][1]["defaults"] = {} defs["igSetNextItemWidth"][1]["funcname"] = "SetNextItemWidth" -defs["igSetNextItemWidth"][1]["location"] = "imgui:428" +defs["igSetNextItemWidth"][1]["location"] = "imgui:425" defs["igSetNextItemWidth"][1]["namespace"] = "ImGui" defs["igSetNextItemWidth"][1]["ov_cimguiname"] = "igSetNextItemWidth" defs["igSetNextItemWidth"][1]["ret"] = "void" @@ -24651,7 +25983,7 @@ defs["igSetNextWindowBgAlpha"][1]["call_args"] = "(alpha)" defs["igSetNextWindowBgAlpha"][1]["cimguiname"] = "igSetNextWindowBgAlpha" defs["igSetNextWindowBgAlpha"][1]["defaults"] = {} defs["igSetNextWindowBgAlpha"][1]["funcname"] = "SetNextWindowBgAlpha" -defs["igSetNextWindowBgAlpha"][1]["location"] = "imgui:379" +defs["igSetNextWindowBgAlpha"][1]["location"] = "imgui:374" defs["igSetNextWindowBgAlpha"][1]["namespace"] = "ImGui" defs["igSetNextWindowBgAlpha"][1]["ov_cimguiname"] = "igSetNextWindowBgAlpha" defs["igSetNextWindowBgAlpha"][1]["ret"] = "void" @@ -24670,7 +26002,7 @@ defs["igSetNextWindowClass"][1]["call_args"] = "(window_class)" defs["igSetNextWindowClass"][1]["cimguiname"] = "igSetNextWindowClass" defs["igSetNextWindowClass"][1]["defaults"] = {} defs["igSetNextWindowClass"][1]["funcname"] = "SetNextWindowClass" -defs["igSetNextWindowClass"][1]["location"] = "imgui:821" +defs["igSetNextWindowClass"][1]["location"] = "imgui:818" defs["igSetNextWindowClass"][1]["namespace"] = "ImGui" defs["igSetNextWindowClass"][1]["ov_cimguiname"] = "igSetNextWindowClass" defs["igSetNextWindowClass"][1]["ret"] = "void" @@ -24693,7 +26025,7 @@ defs["igSetNextWindowCollapsed"][1]["cimguiname"] = "igSetNextWindowCollapsed" defs["igSetNextWindowCollapsed"][1]["defaults"] = {} defs["igSetNextWindowCollapsed"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowCollapsed"][1]["funcname"] = "SetNextWindowCollapsed" -defs["igSetNextWindowCollapsed"][1]["location"] = "imgui:377" +defs["igSetNextWindowCollapsed"][1]["location"] = "imgui:371" defs["igSetNextWindowCollapsed"][1]["namespace"] = "ImGui" defs["igSetNextWindowCollapsed"][1]["ov_cimguiname"] = "igSetNextWindowCollapsed" defs["igSetNextWindowCollapsed"][1]["ret"] = "void" @@ -24712,7 +26044,7 @@ defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" defs["igSetNextWindowContentSize"][1]["defaults"] = {} defs["igSetNextWindowContentSize"][1]["funcname"] = "SetNextWindowContentSize" -defs["igSetNextWindowContentSize"][1]["location"] = "imgui:376" +defs["igSetNextWindowContentSize"][1]["location"] = "imgui:370" defs["igSetNextWindowContentSize"][1]["namespace"] = "ImGui" defs["igSetNextWindowContentSize"][1]["ov_cimguiname"] = "igSetNextWindowContentSize" defs["igSetNextWindowContentSize"][1]["ret"] = "void" @@ -24735,7 +26067,7 @@ defs["igSetNextWindowDockID"][1]["cimguiname"] = "igSetNextWindowDockID" defs["igSetNextWindowDockID"][1]["defaults"] = {} defs["igSetNextWindowDockID"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowDockID"][1]["funcname"] = "SetNextWindowDockID" -defs["igSetNextWindowDockID"][1]["location"] = "imgui:820" +defs["igSetNextWindowDockID"][1]["location"] = "imgui:817" defs["igSetNextWindowDockID"][1]["namespace"] = "ImGui" defs["igSetNextWindowDockID"][1]["ov_cimguiname"] = "igSetNextWindowDockID" defs["igSetNextWindowDockID"][1]["ret"] = "void" @@ -24751,7 +26083,7 @@ defs["igSetNextWindowFocus"][1]["call_args"] = "()" defs["igSetNextWindowFocus"][1]["cimguiname"] = "igSetNextWindowFocus" defs["igSetNextWindowFocus"][1]["defaults"] = {} defs["igSetNextWindowFocus"][1]["funcname"] = "SetNextWindowFocus" -defs["igSetNextWindowFocus"][1]["location"] = "imgui:378" +defs["igSetNextWindowFocus"][1]["location"] = "imgui:372" defs["igSetNextWindowFocus"][1]["namespace"] = "ImGui" defs["igSetNextWindowFocus"][1]["ov_cimguiname"] = "igSetNextWindowFocus" defs["igSetNextWindowFocus"][1]["ret"] = "void" @@ -24778,7 +26110,7 @@ defs["igSetNextWindowPos"][1]["defaults"] = {} defs["igSetNextWindowPos"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowPos"][1]["defaults"]["pivot"] = "ImVec2(0,0)" defs["igSetNextWindowPos"][1]["funcname"] = "SetNextWindowPos" -defs["igSetNextWindowPos"][1]["location"] = "imgui:373" +defs["igSetNextWindowPos"][1]["location"] = "imgui:367" defs["igSetNextWindowPos"][1]["namespace"] = "ImGui" defs["igSetNextWindowPos"][1]["ov_cimguiname"] = "igSetNextWindowPos" defs["igSetNextWindowPos"][1]["ret"] = "void" @@ -24797,7 +26129,7 @@ defs["igSetNextWindowScroll"][1]["call_args"] = "(scroll)" defs["igSetNextWindowScroll"][1]["cimguiname"] = "igSetNextWindowScroll" defs["igSetNextWindowScroll"][1]["defaults"] = {} defs["igSetNextWindowScroll"][1]["funcname"] = "SetNextWindowScroll" -defs["igSetNextWindowScroll"][1]["location"] = "imgui_internal:2709" +defs["igSetNextWindowScroll"][1]["location"] = "imgui:373" defs["igSetNextWindowScroll"][1]["namespace"] = "ImGui" defs["igSetNextWindowScroll"][1]["ov_cimguiname"] = "igSetNextWindowScroll" defs["igSetNextWindowScroll"][1]["ret"] = "void" @@ -24820,7 +26152,7 @@ defs["igSetNextWindowSize"][1]["cimguiname"] = "igSetNextWindowSize" defs["igSetNextWindowSize"][1]["defaults"] = {} defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowSize"][1]["funcname"] = "SetNextWindowSize" -defs["igSetNextWindowSize"][1]["location"] = "imgui:374" +defs["igSetNextWindowSize"][1]["location"] = "imgui:368" defs["igSetNextWindowSize"][1]["namespace"] = "ImGui" defs["igSetNextWindowSize"][1]["ov_cimguiname"] = "igSetNextWindowSize" defs["igSetNextWindowSize"][1]["ret"] = "void" @@ -24850,7 +26182,7 @@ defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "NULL" defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "NULL" defs["igSetNextWindowSizeConstraints"][1]["funcname"] = "SetNextWindowSizeConstraints" -defs["igSetNextWindowSizeConstraints"][1]["location"] = "imgui:375" +defs["igSetNextWindowSizeConstraints"][1]["location"] = "imgui:369" defs["igSetNextWindowSizeConstraints"][1]["namespace"] = "ImGui" defs["igSetNextWindowSizeConstraints"][1]["ov_cimguiname"] = "igSetNextWindowSizeConstraints" defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" @@ -24869,7 +26201,7 @@ defs["igSetNextWindowViewport"][1]["call_args"] = "(viewport_id)" defs["igSetNextWindowViewport"][1]["cimguiname"] = "igSetNextWindowViewport" defs["igSetNextWindowViewport"][1]["defaults"] = {} defs["igSetNextWindowViewport"][1]["funcname"] = "SetNextWindowViewport" -defs["igSetNextWindowViewport"][1]["location"] = "imgui:380" +defs["igSetNextWindowViewport"][1]["location"] = "imgui:375" defs["igSetNextWindowViewport"][1]["namespace"] = "ImGui" defs["igSetNextWindowViewport"][1]["ov_cimguiname"] = "igSetNextWindowViewport" defs["igSetNextWindowViewport"][1]["ret"] = "void" @@ -24892,9 +26224,9 @@ defs["igSetScrollFromPosX"][1]["cimguiname"] = "igSetScrollFromPosX" defs["igSetScrollFromPosX"][1]["defaults"] = {} defs["igSetScrollFromPosX"][1]["defaults"]["center_x_ratio"] = "0.5f" defs["igSetScrollFromPosX"][1]["funcname"] = "SetScrollFromPosX" -defs["igSetScrollFromPosX"][1]["location"] = "imgui:408" +defs["igSetScrollFromPosX"][1]["location"] = "imgui:405" defs["igSetScrollFromPosX"][1]["namespace"] = "ImGui" -defs["igSetScrollFromPosX"][1]["ov_cimguiname"] = "igSetScrollFromPosXFloat" +defs["igSetScrollFromPosX"][1]["ov_cimguiname"] = "igSetScrollFromPosX_Float" defs["igSetScrollFromPosX"][1]["ret"] = "void" defs["igSetScrollFromPosX"][1]["signature"] = "(float,float)" defs["igSetScrollFromPosX"][1]["stname"] = "" @@ -24915,9 +26247,9 @@ defs["igSetScrollFromPosX"][2]["call_args"] = "(window,local_x,center_x_ratio)" defs["igSetScrollFromPosX"][2]["cimguiname"] = "igSetScrollFromPosX" defs["igSetScrollFromPosX"][2]["defaults"] = {} defs["igSetScrollFromPosX"][2]["funcname"] = "SetScrollFromPosX" -defs["igSetScrollFromPosX"][2]["location"] = "imgui_internal:2712" +defs["igSetScrollFromPosX"][2]["location"] = "imgui_internal:3008" defs["igSetScrollFromPosX"][2]["namespace"] = "ImGui" -defs["igSetScrollFromPosX"][2]["ov_cimguiname"] = "igSetScrollFromPosXWindowPtr" +defs["igSetScrollFromPosX"][2]["ov_cimguiname"] = "igSetScrollFromPosX_WindowPtr" defs["igSetScrollFromPosX"][2]["ret"] = "void" defs["igSetScrollFromPosX"][2]["signature"] = "(ImGuiWindow*,float,float)" defs["igSetScrollFromPosX"][2]["stname"] = "" @@ -24939,9 +26271,9 @@ defs["igSetScrollFromPosY"][1]["cimguiname"] = "igSetScrollFromPosY" defs["igSetScrollFromPosY"][1]["defaults"] = {} defs["igSetScrollFromPosY"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollFromPosY"][1]["funcname"] = "SetScrollFromPosY" -defs["igSetScrollFromPosY"][1]["location"] = "imgui:409" +defs["igSetScrollFromPosY"][1]["location"] = "imgui:406" defs["igSetScrollFromPosY"][1]["namespace"] = "ImGui" -defs["igSetScrollFromPosY"][1]["ov_cimguiname"] = "igSetScrollFromPosYFloat" +defs["igSetScrollFromPosY"][1]["ov_cimguiname"] = "igSetScrollFromPosY_Float" defs["igSetScrollFromPosY"][1]["ret"] = "void" defs["igSetScrollFromPosY"][1]["signature"] = "(float,float)" defs["igSetScrollFromPosY"][1]["stname"] = "" @@ -24962,9 +26294,9 @@ defs["igSetScrollFromPosY"][2]["call_args"] = "(window,local_y,center_y_ratio)" defs["igSetScrollFromPosY"][2]["cimguiname"] = "igSetScrollFromPosY" defs["igSetScrollFromPosY"][2]["defaults"] = {} defs["igSetScrollFromPosY"][2]["funcname"] = "SetScrollFromPosY" -defs["igSetScrollFromPosY"][2]["location"] = "imgui_internal:2713" +defs["igSetScrollFromPosY"][2]["location"] = "imgui_internal:3009" defs["igSetScrollFromPosY"][2]["namespace"] = "ImGui" -defs["igSetScrollFromPosY"][2]["ov_cimguiname"] = "igSetScrollFromPosYWindowPtr" +defs["igSetScrollFromPosY"][2]["ov_cimguiname"] = "igSetScrollFromPosY_WindowPtr" defs["igSetScrollFromPosY"][2]["ret"] = "void" defs["igSetScrollFromPosY"][2]["signature"] = "(ImGuiWindow*,float,float)" defs["igSetScrollFromPosY"][2]["stname"] = "" @@ -24983,7 +26315,7 @@ defs["igSetScrollHereX"][1]["cimguiname"] = "igSetScrollHereX" defs["igSetScrollHereX"][1]["defaults"] = {} defs["igSetScrollHereX"][1]["defaults"]["center_x_ratio"] = "0.5f" defs["igSetScrollHereX"][1]["funcname"] = "SetScrollHereX" -defs["igSetScrollHereX"][1]["location"] = "imgui:406" +defs["igSetScrollHereX"][1]["location"] = "imgui:403" defs["igSetScrollHereX"][1]["namespace"] = "ImGui" defs["igSetScrollHereX"][1]["ov_cimguiname"] = "igSetScrollHereX" defs["igSetScrollHereX"][1]["ret"] = "void" @@ -25003,7 +26335,7 @@ defs["igSetScrollHereY"][1]["cimguiname"] = "igSetScrollHereY" defs["igSetScrollHereY"][1]["defaults"] = {} defs["igSetScrollHereY"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollHereY"][1]["funcname"] = "SetScrollHereY" -defs["igSetScrollHereY"][1]["location"] = "imgui:407" +defs["igSetScrollHereY"][1]["location"] = "imgui:404" defs["igSetScrollHereY"][1]["namespace"] = "ImGui" defs["igSetScrollHereY"][1]["ov_cimguiname"] = "igSetScrollHereY" defs["igSetScrollHereY"][1]["ret"] = "void" @@ -25022,9 +26354,9 @@ defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" defs["igSetScrollX"][1]["defaults"] = {} defs["igSetScrollX"][1]["funcname"] = "SetScrollX" -defs["igSetScrollX"][1]["location"] = "imgui:402" +defs["igSetScrollX"][1]["location"] = "imgui:399" defs["igSetScrollX"][1]["namespace"] = "ImGui" -defs["igSetScrollX"][1]["ov_cimguiname"] = "igSetScrollXFloat" +defs["igSetScrollX"][1]["ov_cimguiname"] = "igSetScrollX_Float" defs["igSetScrollX"][1]["ret"] = "void" defs["igSetScrollX"][1]["signature"] = "(float)" defs["igSetScrollX"][1]["stname"] = "" @@ -25042,9 +26374,9 @@ defs["igSetScrollX"][2]["call_args"] = "(window,scroll_x)" defs["igSetScrollX"][2]["cimguiname"] = "igSetScrollX" defs["igSetScrollX"][2]["defaults"] = {} defs["igSetScrollX"][2]["funcname"] = "SetScrollX" -defs["igSetScrollX"][2]["location"] = "imgui_internal:2710" +defs["igSetScrollX"][2]["location"] = "imgui_internal:3006" defs["igSetScrollX"][2]["namespace"] = "ImGui" -defs["igSetScrollX"][2]["ov_cimguiname"] = "igSetScrollXWindowPtr" +defs["igSetScrollX"][2]["ov_cimguiname"] = "igSetScrollX_WindowPtr" defs["igSetScrollX"][2]["ret"] = "void" defs["igSetScrollX"][2]["signature"] = "(ImGuiWindow*,float)" defs["igSetScrollX"][2]["stname"] = "" @@ -25062,9 +26394,9 @@ defs["igSetScrollY"][1]["call_args"] = "(scroll_y)" defs["igSetScrollY"][1]["cimguiname"] = "igSetScrollY" defs["igSetScrollY"][1]["defaults"] = {} defs["igSetScrollY"][1]["funcname"] = "SetScrollY" -defs["igSetScrollY"][1]["location"] = "imgui:403" +defs["igSetScrollY"][1]["location"] = "imgui:400" defs["igSetScrollY"][1]["namespace"] = "ImGui" -defs["igSetScrollY"][1]["ov_cimguiname"] = "igSetScrollYFloat" +defs["igSetScrollY"][1]["ov_cimguiname"] = "igSetScrollY_Float" defs["igSetScrollY"][1]["ret"] = "void" defs["igSetScrollY"][1]["signature"] = "(float)" defs["igSetScrollY"][1]["stname"] = "" @@ -25082,14 +26414,41 @@ defs["igSetScrollY"][2]["call_args"] = "(window,scroll_y)" defs["igSetScrollY"][2]["cimguiname"] = "igSetScrollY" defs["igSetScrollY"][2]["defaults"] = {} defs["igSetScrollY"][2]["funcname"] = "SetScrollY" -defs["igSetScrollY"][2]["location"] = "imgui_internal:2711" +defs["igSetScrollY"][2]["location"] = "imgui_internal:3007" defs["igSetScrollY"][2]["namespace"] = "ImGui" -defs["igSetScrollY"][2]["ov_cimguiname"] = "igSetScrollYWindowPtr" +defs["igSetScrollY"][2]["ov_cimguiname"] = "igSetScrollY_WindowPtr" defs["igSetScrollY"][2]["ret"] = "void" defs["igSetScrollY"][2]["signature"] = "(ImGuiWindow*,float)" defs["igSetScrollY"][2]["stname"] = "" defs["igSetScrollY"]["(ImGuiWindow*,float)"] = defs["igSetScrollY"][2] defs["igSetScrollY"]["(float)"] = defs["igSetScrollY"][1] +defs["igSetShortcutRouting"] = {} +defs["igSetShortcutRouting"][1] = {} +defs["igSetShortcutRouting"][1]["args"] = "(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)" +defs["igSetShortcutRouting"][1]["argsT"] = {} +defs["igSetShortcutRouting"][1]["argsT"][1] = {} +defs["igSetShortcutRouting"][1]["argsT"][1]["name"] = "key_chord" +defs["igSetShortcutRouting"][1]["argsT"][1]["type"] = "ImGuiKeyChord" +defs["igSetShortcutRouting"][1]["argsT"][2] = {} +defs["igSetShortcutRouting"][1]["argsT"][2]["name"] = "owner_id" +defs["igSetShortcutRouting"][1]["argsT"][2]["type"] = "ImGuiID" +defs["igSetShortcutRouting"][1]["argsT"][3] = {} +defs["igSetShortcutRouting"][1]["argsT"][3]["name"] = "flags" +defs["igSetShortcutRouting"][1]["argsT"][3]["type"] = "ImGuiInputFlags" +defs["igSetShortcutRouting"][1]["argsoriginal"] = "(ImGuiKeyChord key_chord,ImGuiID owner_id=0,ImGuiInputFlags flags=0)" +defs["igSetShortcutRouting"][1]["call_args"] = "(key_chord,owner_id,flags)" +defs["igSetShortcutRouting"][1]["cimguiname"] = "igSetShortcutRouting" +defs["igSetShortcutRouting"][1]["defaults"] = {} +defs["igSetShortcutRouting"][1]["defaults"]["flags"] = "0" +defs["igSetShortcutRouting"][1]["defaults"]["owner_id"] = "0" +defs["igSetShortcutRouting"][1]["funcname"] = "SetShortcutRouting" +defs["igSetShortcutRouting"][1]["location"] = "imgui_internal:3168" +defs["igSetShortcutRouting"][1]["namespace"] = "ImGui" +defs["igSetShortcutRouting"][1]["ov_cimguiname"] = "igSetShortcutRouting" +defs["igSetShortcutRouting"][1]["ret"] = "bool" +defs["igSetShortcutRouting"][1]["signature"] = "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)" +defs["igSetShortcutRouting"][1]["stname"] = "" +defs["igSetShortcutRouting"]["(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)"] = defs["igSetShortcutRouting"][1] defs["igSetStateStorage"] = {} defs["igSetStateStorage"][1] = {} defs["igSetStateStorage"][1]["args"] = "(ImGuiStorage* storage)" @@ -25102,7 +26461,7 @@ defs["igSetStateStorage"][1]["call_args"] = "(storage)" defs["igSetStateStorage"][1]["cimguiname"] = "igSetStateStorage" defs["igSetStateStorage"][1]["defaults"] = {} defs["igSetStateStorage"][1]["funcname"] = "SetStateStorage" -defs["igSetStateStorage"][1]["location"] = "imgui:903" +defs["igSetStateStorage"][1]["location"] = "imgui:902" defs["igSetStateStorage"][1]["namespace"] = "ImGui" defs["igSetStateStorage"][1]["ov_cimguiname"] = "igSetStateStorage" defs["igSetStateStorage"][1]["ret"] = "void" @@ -25121,7 +26480,7 @@ defs["igSetTabItemClosed"][1]["call_args"] = "(tab_or_docked_window_label)" defs["igSetTabItemClosed"][1]["cimguiname"] = "igSetTabItemClosed" defs["igSetTabItemClosed"][1]["defaults"] = {} defs["igSetTabItemClosed"][1]["funcname"] = "SetTabItemClosed" -defs["igSetTabItemClosed"][1]["location"] = "imgui:803" +defs["igSetTabItemClosed"][1]["location"] = "imgui:800" defs["igSetTabItemClosed"][1]["namespace"] = "ImGui" defs["igSetTabItemClosed"][1]["ov_cimguiname"] = "igSetTabItemClosed" defs["igSetTabItemClosed"][1]["ret"] = "void" @@ -25144,7 +26503,7 @@ defs["igSetTooltip"][1]["cimguiname"] = "igSetTooltip" defs["igSetTooltip"][1]["defaults"] = {} defs["igSetTooltip"][1]["funcname"] = "SetTooltip" defs["igSetTooltip"][1]["isvararg"] = "...)" -defs["igSetTooltip"][1]["location"] = "imgui:677" +defs["igSetTooltip"][1]["location"] = "imgui:678" defs["igSetTooltip"][1]["namespace"] = "ImGui" defs["igSetTooltip"][1]["ov_cimguiname"] = "igSetTooltip" defs["igSetTooltip"][1]["ret"] = "void" @@ -25166,7 +26525,7 @@ defs["igSetTooltipV"][1]["call_args"] = "(fmt,args)" defs["igSetTooltipV"][1]["cimguiname"] = "igSetTooltipV" defs["igSetTooltipV"][1]["defaults"] = {} defs["igSetTooltipV"][1]["funcname"] = "SetTooltipV" -defs["igSetTooltipV"][1]["location"] = "imgui:678" +defs["igSetTooltipV"][1]["location"] = "imgui:679" defs["igSetTooltipV"][1]["namespace"] = "ImGui" defs["igSetTooltipV"][1]["ov_cimguiname"] = "igSetTooltipV" defs["igSetTooltipV"][1]["ret"] = "void" @@ -25188,7 +26547,7 @@ defs["igSetWindowClipRectBeforeSetChannel"][1]["call_args"] = "(window,clip_rect defs["igSetWindowClipRectBeforeSetChannel"][1]["cimguiname"] = "igSetWindowClipRectBeforeSetChannel" defs["igSetWindowClipRectBeforeSetChannel"][1]["defaults"] = {} defs["igSetWindowClipRectBeforeSetChannel"][1]["funcname"] = "SetWindowClipRectBeforeSetChannel" -defs["igSetWindowClipRectBeforeSetChannel"][1]["location"] = "imgui_internal:2893" +defs["igSetWindowClipRectBeforeSetChannel"][1]["location"] = "imgui_internal:3244" defs["igSetWindowClipRectBeforeSetChannel"][1]["namespace"] = "ImGui" defs["igSetWindowClipRectBeforeSetChannel"][1]["ov_cimguiname"] = "igSetWindowClipRectBeforeSetChannel" defs["igSetWindowClipRectBeforeSetChannel"][1]["ret"] = "void" @@ -25211,9 +26570,9 @@ defs["igSetWindowCollapsed"][1]["cimguiname"] = "igSetWindowCollapsed" defs["igSetWindowCollapsed"][1]["defaults"] = {} defs["igSetWindowCollapsed"][1]["defaults"]["cond"] = "0" defs["igSetWindowCollapsed"][1]["funcname"] = "SetWindowCollapsed" -defs["igSetWindowCollapsed"][1]["location"] = "imgui:383" +defs["igSetWindowCollapsed"][1]["location"] = "imgui:378" defs["igSetWindowCollapsed"][1]["namespace"] = "ImGui" -defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsedBool" +defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsed_Bool" defs["igSetWindowCollapsed"][1]["ret"] = "void" defs["igSetWindowCollapsed"][1]["signature"] = "(bool,ImGuiCond)" defs["igSetWindowCollapsed"][1]["stname"] = "" @@ -25235,9 +26594,9 @@ defs["igSetWindowCollapsed"][2]["cimguiname"] = "igSetWindowCollapsed" defs["igSetWindowCollapsed"][2]["defaults"] = {} defs["igSetWindowCollapsed"][2]["defaults"]["cond"] = "0" defs["igSetWindowCollapsed"][2]["funcname"] = "SetWindowCollapsed" -defs["igSetWindowCollapsed"][2]["location"] = "imgui:388" +defs["igSetWindowCollapsed"][2]["location"] = "imgui:383" defs["igSetWindowCollapsed"][2]["namespace"] = "ImGui" -defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsedStr" +defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsed_Str" defs["igSetWindowCollapsed"][2]["ret"] = "void" defs["igSetWindowCollapsed"][2]["signature"] = "(const char*,bool,ImGuiCond)" defs["igSetWindowCollapsed"][2]["stname"] = "" @@ -25259,9 +26618,9 @@ defs["igSetWindowCollapsed"][3]["cimguiname"] = "igSetWindowCollapsed" defs["igSetWindowCollapsed"][3]["defaults"] = {} defs["igSetWindowCollapsed"][3]["defaults"]["cond"] = "0" defs["igSetWindowCollapsed"][3]["funcname"] = "SetWindowCollapsed" -defs["igSetWindowCollapsed"][3]["location"] = "imgui_internal:2656" +defs["igSetWindowCollapsed"][3]["location"] = "imgui_internal:2944" defs["igSetWindowCollapsed"][3]["namespace"] = "ImGui" -defs["igSetWindowCollapsed"][3]["ov_cimguiname"] = "igSetWindowCollapsedWindowPtr" +defs["igSetWindowCollapsed"][3]["ov_cimguiname"] = "igSetWindowCollapsed_WindowPtr" defs["igSetWindowCollapsed"][3]["ret"] = "void" defs["igSetWindowCollapsed"][3]["signature"] = "(ImGuiWindow*,bool,ImGuiCond)" defs["igSetWindowCollapsed"][3]["stname"] = "" @@ -25286,7 +26645,7 @@ defs["igSetWindowDock"][1]["call_args"] = "(window,dock_id,cond)" defs["igSetWindowDock"][1]["cimguiname"] = "igSetWindowDock" defs["igSetWindowDock"][1]["defaults"] = {} defs["igSetWindowDock"][1]["funcname"] = "SetWindowDock" -defs["igSetWindowDock"][1]["location"] = "imgui_internal:2861" +defs["igSetWindowDock"][1]["location"] = "imgui_internal:3198" defs["igSetWindowDock"][1]["namespace"] = "ImGui" defs["igSetWindowDock"][1]["ov_cimguiname"] = "igSetWindowDock" defs["igSetWindowDock"][1]["ret"] = "void" @@ -25302,9 +26661,9 @@ defs["igSetWindowFocus"][1]["call_args"] = "()" defs["igSetWindowFocus"][1]["cimguiname"] = "igSetWindowFocus" defs["igSetWindowFocus"][1]["defaults"] = {} defs["igSetWindowFocus"][1]["funcname"] = "SetWindowFocus" -defs["igSetWindowFocus"][1]["location"] = "imgui:384" +defs["igSetWindowFocus"][1]["location"] = "imgui:379" defs["igSetWindowFocus"][1]["namespace"] = "ImGui" -defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocusNil" +defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus_Nil" defs["igSetWindowFocus"][1]["ret"] = "void" defs["igSetWindowFocus"][1]["signature"] = "()" defs["igSetWindowFocus"][1]["stname"] = "" @@ -25319,9 +26678,9 @@ defs["igSetWindowFocus"][2]["call_args"] = "(name)" defs["igSetWindowFocus"][2]["cimguiname"] = "igSetWindowFocus" defs["igSetWindowFocus"][2]["defaults"] = {} defs["igSetWindowFocus"][2]["funcname"] = "SetWindowFocus" -defs["igSetWindowFocus"][2]["location"] = "imgui:389" +defs["igSetWindowFocus"][2]["location"] = "imgui:384" defs["igSetWindowFocus"][2]["namespace"] = "ImGui" -defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" +defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocus_Str" defs["igSetWindowFocus"][2]["ret"] = "void" defs["igSetWindowFocus"][2]["signature"] = "(const char*)" defs["igSetWindowFocus"][2]["stname"] = "" @@ -25339,7 +26698,7 @@ defs["igSetWindowFontScale"][1]["call_args"] = "(scale)" defs["igSetWindowFontScale"][1]["cimguiname"] = "igSetWindowFontScale" defs["igSetWindowFontScale"][1]["defaults"] = {} defs["igSetWindowFontScale"][1]["funcname"] = "SetWindowFontScale" -defs["igSetWindowFontScale"][1]["location"] = "imgui:385" +defs["igSetWindowFontScale"][1]["location"] = "imgui:380" defs["igSetWindowFontScale"][1]["namespace"] = "ImGui" defs["igSetWindowFontScale"][1]["ov_cimguiname"] = "igSetWindowFontScale" defs["igSetWindowFontScale"][1]["ret"] = "void" @@ -25364,7 +26723,7 @@ defs["igSetWindowHitTestHole"][1]["call_args"] = "(window,pos,size)" defs["igSetWindowHitTestHole"][1]["cimguiname"] = "igSetWindowHitTestHole" defs["igSetWindowHitTestHole"][1]["defaults"] = {} defs["igSetWindowHitTestHole"][1]["funcname"] = "SetWindowHitTestHole" -defs["igSetWindowHitTestHole"][1]["location"] = "imgui_internal:2657" +defs["igSetWindowHitTestHole"][1]["location"] = "imgui_internal:2945" defs["igSetWindowHitTestHole"][1]["namespace"] = "ImGui" defs["igSetWindowHitTestHole"][1]["ov_cimguiname"] = "igSetWindowHitTestHole" defs["igSetWindowHitTestHole"][1]["ret"] = "void" @@ -25387,9 +26746,9 @@ defs["igSetWindowPos"][1]["cimguiname"] = "igSetWindowPos" defs["igSetWindowPos"][1]["defaults"] = {} defs["igSetWindowPos"][1]["defaults"]["cond"] = "0" defs["igSetWindowPos"][1]["funcname"] = "SetWindowPos" -defs["igSetWindowPos"][1]["location"] = "imgui:381" +defs["igSetWindowPos"][1]["location"] = "imgui:376" defs["igSetWindowPos"][1]["namespace"] = "ImGui" -defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPosVec2" +defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPos_Vec2" defs["igSetWindowPos"][1]["ret"] = "void" defs["igSetWindowPos"][1]["signature"] = "(const ImVec2,ImGuiCond)" defs["igSetWindowPos"][1]["stname"] = "" @@ -25411,9 +26770,9 @@ defs["igSetWindowPos"][2]["cimguiname"] = "igSetWindowPos" defs["igSetWindowPos"][2]["defaults"] = {} defs["igSetWindowPos"][2]["defaults"]["cond"] = "0" defs["igSetWindowPos"][2]["funcname"] = "SetWindowPos" -defs["igSetWindowPos"][2]["location"] = "imgui:386" +defs["igSetWindowPos"][2]["location"] = "imgui:381" defs["igSetWindowPos"][2]["namespace"] = "ImGui" -defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPosStr" +defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPos_Str" defs["igSetWindowPos"][2]["ret"] = "void" defs["igSetWindowPos"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" defs["igSetWindowPos"][2]["stname"] = "" @@ -25435,9 +26794,9 @@ defs["igSetWindowPos"][3]["cimguiname"] = "igSetWindowPos" defs["igSetWindowPos"][3]["defaults"] = {} defs["igSetWindowPos"][3]["defaults"]["cond"] = "0" defs["igSetWindowPos"][3]["funcname"] = "SetWindowPos" -defs["igSetWindowPos"][3]["location"] = "imgui_internal:2654" +defs["igSetWindowPos"][3]["location"] = "imgui_internal:2942" defs["igSetWindowPos"][3]["namespace"] = "ImGui" -defs["igSetWindowPos"][3]["ov_cimguiname"] = "igSetWindowPosWindowPtr" +defs["igSetWindowPos"][3]["ov_cimguiname"] = "igSetWindowPos_WindowPtr" defs["igSetWindowPos"][3]["ret"] = "void" defs["igSetWindowPos"][3]["signature"] = "(ImGuiWindow*,const ImVec2,ImGuiCond)" defs["igSetWindowPos"][3]["stname"] = "" @@ -25460,9 +26819,9 @@ defs["igSetWindowSize"][1]["cimguiname"] = "igSetWindowSize" defs["igSetWindowSize"][1]["defaults"] = {} defs["igSetWindowSize"][1]["defaults"]["cond"] = "0" defs["igSetWindowSize"][1]["funcname"] = "SetWindowSize" -defs["igSetWindowSize"][1]["location"] = "imgui:382" +defs["igSetWindowSize"][1]["location"] = "imgui:377" defs["igSetWindowSize"][1]["namespace"] = "ImGui" -defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSizeVec2" +defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSize_Vec2" defs["igSetWindowSize"][1]["ret"] = "void" defs["igSetWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" defs["igSetWindowSize"][1]["stname"] = "" @@ -25484,9 +26843,9 @@ defs["igSetWindowSize"][2]["cimguiname"] = "igSetWindowSize" defs["igSetWindowSize"][2]["defaults"] = {} defs["igSetWindowSize"][2]["defaults"]["cond"] = "0" defs["igSetWindowSize"][2]["funcname"] = "SetWindowSize" -defs["igSetWindowSize"][2]["location"] = "imgui:387" +defs["igSetWindowSize"][2]["location"] = "imgui:382" defs["igSetWindowSize"][2]["namespace"] = "ImGui" -defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSizeStr" +defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSize_Str" defs["igSetWindowSize"][2]["ret"] = "void" defs["igSetWindowSize"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" defs["igSetWindowSize"][2]["stname"] = "" @@ -25508,15 +26867,37 @@ defs["igSetWindowSize"][3]["cimguiname"] = "igSetWindowSize" defs["igSetWindowSize"][3]["defaults"] = {} defs["igSetWindowSize"][3]["defaults"]["cond"] = "0" defs["igSetWindowSize"][3]["funcname"] = "SetWindowSize" -defs["igSetWindowSize"][3]["location"] = "imgui_internal:2655" +defs["igSetWindowSize"][3]["location"] = "imgui_internal:2943" defs["igSetWindowSize"][3]["namespace"] = "ImGui" -defs["igSetWindowSize"][3]["ov_cimguiname"] = "igSetWindowSizeWindowPtr" +defs["igSetWindowSize"][3]["ov_cimguiname"] = "igSetWindowSize_WindowPtr" defs["igSetWindowSize"][3]["ret"] = "void" defs["igSetWindowSize"][3]["signature"] = "(ImGuiWindow*,const ImVec2,ImGuiCond)" defs["igSetWindowSize"][3]["stname"] = "" defs["igSetWindowSize"]["(ImGuiWindow*,const ImVec2,ImGuiCond)"] = defs["igSetWindowSize"][3] defs["igSetWindowSize"]["(const ImVec2,ImGuiCond)"] = defs["igSetWindowSize"][1] defs["igSetWindowSize"]["(const char*,const ImVec2,ImGuiCond)"] = defs["igSetWindowSize"][2] +defs["igSetWindowViewport"] = {} +defs["igSetWindowViewport"][1] = {} +defs["igSetWindowViewport"][1]["args"] = "(ImGuiWindow* window,ImGuiViewportP* viewport)" +defs["igSetWindowViewport"][1]["argsT"] = {} +defs["igSetWindowViewport"][1]["argsT"][1] = {} +defs["igSetWindowViewport"][1]["argsT"][1]["name"] = "window" +defs["igSetWindowViewport"][1]["argsT"][1]["type"] = "ImGuiWindow*" +defs["igSetWindowViewport"][1]["argsT"][2] = {} +defs["igSetWindowViewport"][1]["argsT"][2]["name"] = "viewport" +defs["igSetWindowViewport"][1]["argsT"][2]["type"] = "ImGuiViewportP*" +defs["igSetWindowViewport"][1]["argsoriginal"] = "(ImGuiWindow* window,ImGuiViewportP* viewport)" +defs["igSetWindowViewport"][1]["call_args"] = "(window,viewport)" +defs["igSetWindowViewport"][1]["cimguiname"] = "igSetWindowViewport" +defs["igSetWindowViewport"][1]["defaults"] = {} +defs["igSetWindowViewport"][1]["funcname"] = "SetWindowViewport" +defs["igSetWindowViewport"][1]["location"] = "imgui_internal:2985" +defs["igSetWindowViewport"][1]["namespace"] = "ImGui" +defs["igSetWindowViewport"][1]["ov_cimguiname"] = "igSetWindowViewport" +defs["igSetWindowViewport"][1]["ret"] = "void" +defs["igSetWindowViewport"][1]["signature"] = "(ImGuiWindow*,ImGuiViewportP*)" +defs["igSetWindowViewport"][1]["stname"] = "" +defs["igSetWindowViewport"]["(ImGuiWindow*,ImGuiViewportP*)"] = defs["igSetWindowViewport"][1] defs["igShadeVertsLinearColorGradientKeepAlpha"] = {} defs["igShadeVertsLinearColorGradientKeepAlpha"][1] = {} defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["args"] = "(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2 gradient_p0,ImVec2 gradient_p1,ImU32 col0,ImU32 col1)" @@ -25547,7 +26928,7 @@ defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["call_args"] = "(draw_list,v defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["cimguiname"] = "igShadeVertsLinearColorGradientKeepAlpha" defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["defaults"] = {} defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["funcname"] = "ShadeVertsLinearColorGradientKeepAlpha" -defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["location"] = "imgui_internal:3061" +defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["location"] = "imgui_internal:3410" defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["namespace"] = "ImGui" defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["ov_cimguiname"] = "igShadeVertsLinearColorGradientKeepAlpha" defs["igShadeVertsLinearColorGradientKeepAlpha"][1]["ret"] = "void" @@ -25587,13 +26968,40 @@ defs["igShadeVertsLinearUV"][1]["call_args"] = "(draw_list,vert_start_idx,vert_e defs["igShadeVertsLinearUV"][1]["cimguiname"] = "igShadeVertsLinearUV" defs["igShadeVertsLinearUV"][1]["defaults"] = {} defs["igShadeVertsLinearUV"][1]["funcname"] = "ShadeVertsLinearUV" -defs["igShadeVertsLinearUV"][1]["location"] = "imgui_internal:3062" +defs["igShadeVertsLinearUV"][1]["location"] = "imgui_internal:3411" defs["igShadeVertsLinearUV"][1]["namespace"] = "ImGui" defs["igShadeVertsLinearUV"][1]["ov_cimguiname"] = "igShadeVertsLinearUV" defs["igShadeVertsLinearUV"][1]["ret"] = "void" defs["igShadeVertsLinearUV"][1]["signature"] = "(ImDrawList*,int,int,const ImVec2,const ImVec2,const ImVec2,const ImVec2,bool)" defs["igShadeVertsLinearUV"][1]["stname"] = "" defs["igShadeVertsLinearUV"]["(ImDrawList*,int,int,const ImVec2,const ImVec2,const ImVec2,const ImVec2,bool)"] = defs["igShadeVertsLinearUV"][1] +defs["igShortcut"] = {} +defs["igShortcut"][1] = {} +defs["igShortcut"][1]["args"] = "(ImGuiKeyChord key_chord,ImGuiID owner_id,ImGuiInputFlags flags)" +defs["igShortcut"][1]["argsT"] = {} +defs["igShortcut"][1]["argsT"][1] = {} +defs["igShortcut"][1]["argsT"][1]["name"] = "key_chord" +defs["igShortcut"][1]["argsT"][1]["type"] = "ImGuiKeyChord" +defs["igShortcut"][1]["argsT"][2] = {} +defs["igShortcut"][1]["argsT"][2]["name"] = "owner_id" +defs["igShortcut"][1]["argsT"][2]["type"] = "ImGuiID" +defs["igShortcut"][1]["argsT"][3] = {} +defs["igShortcut"][1]["argsT"][3]["name"] = "flags" +defs["igShortcut"][1]["argsT"][3]["type"] = "ImGuiInputFlags" +defs["igShortcut"][1]["argsoriginal"] = "(ImGuiKeyChord key_chord,ImGuiID owner_id=0,ImGuiInputFlags flags=0)" +defs["igShortcut"][1]["call_args"] = "(key_chord,owner_id,flags)" +defs["igShortcut"][1]["cimguiname"] = "igShortcut" +defs["igShortcut"][1]["defaults"] = {} +defs["igShortcut"][1]["defaults"]["flags"] = "0" +defs["igShortcut"][1]["defaults"]["owner_id"] = "0" +defs["igShortcut"][1]["funcname"] = "Shortcut" +defs["igShortcut"][1]["location"] = "imgui_internal:3167" +defs["igShortcut"][1]["namespace"] = "ImGui" +defs["igShortcut"][1]["ov_cimguiname"] = "igShortcut" +defs["igShortcut"][1]["ret"] = "bool" +defs["igShortcut"][1]["signature"] = "(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)" +defs["igShortcut"][1]["stname"] = "" +defs["igShortcut"]["(ImGuiKeyChord,ImGuiID,ImGuiInputFlags)"] = defs["igShortcut"][1] defs["igShowAboutWindow"] = {} defs["igShowAboutWindow"][1] = {} defs["igShowAboutWindow"][1]["args"] = "(bool* p_open)" @@ -25607,13 +27015,33 @@ defs["igShowAboutWindow"][1]["cimguiname"] = "igShowAboutWindow" defs["igShowAboutWindow"][1]["defaults"] = {} defs["igShowAboutWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowAboutWindow"][1]["funcname"] = "ShowAboutWindow" -defs["igShowAboutWindow"][1]["location"] = "imgui:318" +defs["igShowAboutWindow"][1]["location"] = "imgui:312" defs["igShowAboutWindow"][1]["namespace"] = "ImGui" defs["igShowAboutWindow"][1]["ov_cimguiname"] = "igShowAboutWindow" defs["igShowAboutWindow"][1]["ret"] = "void" defs["igShowAboutWindow"][1]["signature"] = "(bool*)" defs["igShowAboutWindow"][1]["stname"] = "" defs["igShowAboutWindow"]["(bool*)"] = defs["igShowAboutWindow"][1] +defs["igShowDebugLogWindow"] = {} +defs["igShowDebugLogWindow"][1] = {} +defs["igShowDebugLogWindow"][1]["args"] = "(bool* p_open)" +defs["igShowDebugLogWindow"][1]["argsT"] = {} +defs["igShowDebugLogWindow"][1]["argsT"][1] = {} +defs["igShowDebugLogWindow"][1]["argsT"][1]["name"] = "p_open" +defs["igShowDebugLogWindow"][1]["argsT"][1]["type"] = "bool*" +defs["igShowDebugLogWindow"][1]["argsoriginal"] = "(bool* p_open=((void*)0))" +defs["igShowDebugLogWindow"][1]["call_args"] = "(p_open)" +defs["igShowDebugLogWindow"][1]["cimguiname"] = "igShowDebugLogWindow" +defs["igShowDebugLogWindow"][1]["defaults"] = {} +defs["igShowDebugLogWindow"][1]["defaults"]["p_open"] = "NULL" +defs["igShowDebugLogWindow"][1]["funcname"] = "ShowDebugLogWindow" +defs["igShowDebugLogWindow"][1]["location"] = "imgui:310" +defs["igShowDebugLogWindow"][1]["namespace"] = "ImGui" +defs["igShowDebugLogWindow"][1]["ov_cimguiname"] = "igShowDebugLogWindow" +defs["igShowDebugLogWindow"][1]["ret"] = "void" +defs["igShowDebugLogWindow"][1]["signature"] = "(bool*)" +defs["igShowDebugLogWindow"][1]["stname"] = "" +defs["igShowDebugLogWindow"]["(bool*)"] = defs["igShowDebugLogWindow"][1] defs["igShowDemoWindow"] = {} defs["igShowDemoWindow"][1] = {} defs["igShowDemoWindow"][1]["args"] = "(bool* p_open)" @@ -25627,7 +27055,7 @@ defs["igShowDemoWindow"][1]["cimguiname"] = "igShowDemoWindow" defs["igShowDemoWindow"][1]["defaults"] = {} defs["igShowDemoWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowDemoWindow"][1]["funcname"] = "ShowDemoWindow" -defs["igShowDemoWindow"][1]["location"] = "imgui:315" +defs["igShowDemoWindow"][1]["location"] = "imgui:308" defs["igShowDemoWindow"][1]["namespace"] = "ImGui" defs["igShowDemoWindow"][1]["ov_cimguiname"] = "igShowDemoWindow" defs["igShowDemoWindow"][1]["ret"] = "void" @@ -25646,7 +27074,7 @@ defs["igShowFontAtlas"][1]["call_args"] = "(atlas)" defs["igShowFontAtlas"][1]["cimguiname"] = "igShowFontAtlas" defs["igShowFontAtlas"][1]["defaults"] = {} defs["igShowFontAtlas"][1]["funcname"] = "ShowFontAtlas" -defs["igShowFontAtlas"][1]["location"] = "imgui_internal:3075" +defs["igShowFontAtlas"][1]["location"] = "imgui_internal:3431" defs["igShowFontAtlas"][1]["namespace"] = "ImGui" defs["igShowFontAtlas"][1]["ov_cimguiname"] = "igShowFontAtlas" defs["igShowFontAtlas"][1]["ret"] = "void" @@ -25665,7 +27093,7 @@ defs["igShowFontSelector"][1]["call_args"] = "(label)" defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" defs["igShowFontSelector"][1]["defaults"] = {} defs["igShowFontSelector"][1]["funcname"] = "ShowFontSelector" -defs["igShowFontSelector"][1]["location"] = "imgui:321" +defs["igShowFontSelector"][1]["location"] = "imgui:315" defs["igShowFontSelector"][1]["namespace"] = "ImGui" defs["igShowFontSelector"][1]["ov_cimguiname"] = "igShowFontSelector" defs["igShowFontSelector"][1]["ret"] = "void" @@ -25685,7 +27113,7 @@ defs["igShowMetricsWindow"][1]["cimguiname"] = "igShowMetricsWindow" defs["igShowMetricsWindow"][1]["defaults"] = {} defs["igShowMetricsWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowMetricsWindow"][1]["funcname"] = "ShowMetricsWindow" -defs["igShowMetricsWindow"][1]["location"] = "imgui:316" +defs["igShowMetricsWindow"][1]["location"] = "imgui:309" defs["igShowMetricsWindow"][1]["namespace"] = "ImGui" defs["igShowMetricsWindow"][1]["ov_cimguiname"] = "igShowMetricsWindow" defs["igShowMetricsWindow"][1]["ret"] = "void" @@ -25705,7 +27133,7 @@ defs["igShowStackToolWindow"][1]["cimguiname"] = "igShowStackToolWindow" defs["igShowStackToolWindow"][1]["defaults"] = {} defs["igShowStackToolWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowStackToolWindow"][1]["funcname"] = "ShowStackToolWindow" -defs["igShowStackToolWindow"][1]["location"] = "imgui:317" +defs["igShowStackToolWindow"][1]["location"] = "imgui:311" defs["igShowStackToolWindow"][1]["namespace"] = "ImGui" defs["igShowStackToolWindow"][1]["ov_cimguiname"] = "igShowStackToolWindow" defs["igShowStackToolWindow"][1]["ret"] = "void" @@ -25725,7 +27153,7 @@ defs["igShowStyleEditor"][1]["cimguiname"] = "igShowStyleEditor" defs["igShowStyleEditor"][1]["defaults"] = {} defs["igShowStyleEditor"][1]["defaults"]["ref"] = "NULL" defs["igShowStyleEditor"][1]["funcname"] = "ShowStyleEditor" -defs["igShowStyleEditor"][1]["location"] = "imgui:319" +defs["igShowStyleEditor"][1]["location"] = "imgui:313" defs["igShowStyleEditor"][1]["namespace"] = "ImGui" defs["igShowStyleEditor"][1]["ov_cimguiname"] = "igShowStyleEditor" defs["igShowStyleEditor"][1]["ret"] = "void" @@ -25744,7 +27172,7 @@ defs["igShowStyleSelector"][1]["call_args"] = "(label)" defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" defs["igShowStyleSelector"][1]["defaults"] = {} defs["igShowStyleSelector"][1]["funcname"] = "ShowStyleSelector" -defs["igShowStyleSelector"][1]["location"] = "imgui:320" +defs["igShowStyleSelector"][1]["location"] = "imgui:314" defs["igShowStyleSelector"][1]["namespace"] = "ImGui" defs["igShowStyleSelector"][1]["ov_cimguiname"] = "igShowStyleSelector" defs["igShowStyleSelector"][1]["ret"] = "bool" @@ -25760,7 +27188,7 @@ defs["igShowUserGuide"][1]["call_args"] = "()" defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" defs["igShowUserGuide"][1]["defaults"] = {} defs["igShowUserGuide"][1]["funcname"] = "ShowUserGuide" -defs["igShowUserGuide"][1]["location"] = "imgui:322" +defs["igShowUserGuide"][1]["location"] = "imgui:316" defs["igShowUserGuide"][1]["namespace"] = "ImGui" defs["igShowUserGuide"][1]["ov_cimguiname"] = "igShowUserGuide" defs["igShowUserGuide"][1]["ret"] = "void" @@ -25785,7 +27213,7 @@ defs["igShrinkWidths"][1]["call_args"] = "(items,count,width_excess)" defs["igShrinkWidths"][1]["cimguiname"] = "igShrinkWidths" defs["igShrinkWidths"][1]["defaults"] = {} defs["igShrinkWidths"][1]["funcname"] = "ShrinkWidths" -defs["igShrinkWidths"][1]["location"] = "imgui_internal:2751" +defs["igShrinkWidths"][1]["location"] = "imgui_internal:3047" defs["igShrinkWidths"][1]["namespace"] = "ImGui" defs["igShrinkWidths"][1]["ov_cimguiname"] = "igShrinkWidths" defs["igShrinkWidths"][1]["ret"] = "void" @@ -25794,23 +27222,20 @@ defs["igShrinkWidths"][1]["stname"] = "" defs["igShrinkWidths"]["(ImGuiShrinkWidthItem*,int,float)"] = defs["igShrinkWidths"][1] defs["igShutdown"] = {} defs["igShutdown"][1] = {} -defs["igShutdown"][1]["args"] = "(ImGuiContext* context)" +defs["igShutdown"][1]["args"] = "()" defs["igShutdown"][1]["argsT"] = {} -defs["igShutdown"][1]["argsT"][1] = {} -defs["igShutdown"][1]["argsT"][1]["name"] = "context" -defs["igShutdown"][1]["argsT"][1]["type"] = "ImGuiContext*" -defs["igShutdown"][1]["argsoriginal"] = "(ImGuiContext* context)" -defs["igShutdown"][1]["call_args"] = "(context)" +defs["igShutdown"][1]["argsoriginal"] = "()" +defs["igShutdown"][1]["call_args"] = "()" defs["igShutdown"][1]["cimguiname"] = "igShutdown" defs["igShutdown"][1]["defaults"] = {} defs["igShutdown"][1]["funcname"] = "Shutdown" -defs["igShutdown"][1]["location"] = "imgui_internal:2678" +defs["igShutdown"][1]["location"] = "imgui_internal:2966" defs["igShutdown"][1]["namespace"] = "ImGui" defs["igShutdown"][1]["ov_cimguiname"] = "igShutdown" defs["igShutdown"][1]["ret"] = "void" -defs["igShutdown"][1]["signature"] = "(ImGuiContext*)" +defs["igShutdown"][1]["signature"] = "()" defs["igShutdown"][1]["stname"] = "" -defs["igShutdown"]["(ImGuiContext*)"] = defs["igShutdown"][1] +defs["igShutdown"]["()"] = defs["igShutdown"][1] defs["igSliderAngle"] = {} defs["igSliderAngle"][1] = {} defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format,ImGuiSliderFlags flags)" @@ -25842,7 +27267,7 @@ defs["igSliderAngle"][1]["defaults"]["format"] = "\"%.0f deg\"" defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f" defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" defs["igSliderAngle"][1]["funcname"] = "SliderAngle" -defs["igSliderAngle"][1]["location"] = "imgui:569" +defs["igSliderAngle"][1]["location"] = "imgui:570" defs["igSliderAngle"][1]["namespace"] = "ImGui" defs["igSliderAngle"][1]["ov_cimguiname"] = "igSliderAngle" defs["igSliderAngle"][1]["ret"] = "bool" @@ -25885,7 +27310,7 @@ defs["igSliderBehavior"][1]["call_args"] = "(bb,id,data_type,p_v,p_min,p_max,for defs["igSliderBehavior"][1]["cimguiname"] = "igSliderBehavior" defs["igSliderBehavior"][1]["defaults"] = {} defs["igSliderBehavior"][1]["funcname"] = "SliderBehavior" -defs["igSliderBehavior"][1]["location"] = "imgui_internal:3021" +defs["igSliderBehavior"][1]["location"] = "imgui_internal:3369" defs["igSliderBehavior"][1]["namespace"] = "ImGui" defs["igSliderBehavior"][1]["ov_cimguiname"] = "igSliderBehavior" defs["igSliderBehavior"][1]["ret"] = "bool" @@ -25921,7 +27346,7 @@ defs["igSliderFloat"][1]["defaults"] = {} defs["igSliderFloat"][1]["defaults"]["flags"] = "0" defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat"][1]["funcname"] = "SliderFloat" -defs["igSliderFloat"][1]["location"] = "imgui:565" +defs["igSliderFloat"][1]["location"] = "imgui:566" defs["igSliderFloat"][1]["namespace"] = "ImGui" defs["igSliderFloat"][1]["ov_cimguiname"] = "igSliderFloat" defs["igSliderFloat"][1]["ret"] = "bool" @@ -25957,7 +27382,7 @@ defs["igSliderFloat2"][1]["defaults"] = {} defs["igSliderFloat2"][1]["defaults"]["flags"] = "0" defs["igSliderFloat2"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat2"][1]["funcname"] = "SliderFloat2" -defs["igSliderFloat2"][1]["location"] = "imgui:566" +defs["igSliderFloat2"][1]["location"] = "imgui:567" defs["igSliderFloat2"][1]["namespace"] = "ImGui" defs["igSliderFloat2"][1]["ov_cimguiname"] = "igSliderFloat2" defs["igSliderFloat2"][1]["ret"] = "bool" @@ -25993,7 +27418,7 @@ defs["igSliderFloat3"][1]["defaults"] = {} defs["igSliderFloat3"][1]["defaults"]["flags"] = "0" defs["igSliderFloat3"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat3"][1]["funcname"] = "SliderFloat3" -defs["igSliderFloat3"][1]["location"] = "imgui:567" +defs["igSliderFloat3"][1]["location"] = "imgui:568" defs["igSliderFloat3"][1]["namespace"] = "ImGui" defs["igSliderFloat3"][1]["ov_cimguiname"] = "igSliderFloat3" defs["igSliderFloat3"][1]["ret"] = "bool" @@ -26029,7 +27454,7 @@ defs["igSliderFloat4"][1]["defaults"] = {} defs["igSliderFloat4"][1]["defaults"]["flags"] = "0" defs["igSliderFloat4"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat4"][1]["funcname"] = "SliderFloat4" -defs["igSliderFloat4"][1]["location"] = "imgui:568" +defs["igSliderFloat4"][1]["location"] = "imgui:569" defs["igSliderFloat4"][1]["namespace"] = "ImGui" defs["igSliderFloat4"][1]["ov_cimguiname"] = "igSliderFloat4" defs["igSliderFloat4"][1]["ret"] = "bool" @@ -26065,7 +27490,7 @@ defs["igSliderInt"][1]["defaults"] = {} defs["igSliderInt"][1]["defaults"]["flags"] = "0" defs["igSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt"][1]["funcname"] = "SliderInt" -defs["igSliderInt"][1]["location"] = "imgui:570" +defs["igSliderInt"][1]["location"] = "imgui:571" defs["igSliderInt"][1]["namespace"] = "ImGui" defs["igSliderInt"][1]["ov_cimguiname"] = "igSliderInt" defs["igSliderInt"][1]["ret"] = "bool" @@ -26101,7 +27526,7 @@ defs["igSliderInt2"][1]["defaults"] = {} defs["igSliderInt2"][1]["defaults"]["flags"] = "0" defs["igSliderInt2"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt2"][1]["funcname"] = "SliderInt2" -defs["igSliderInt2"][1]["location"] = "imgui:571" +defs["igSliderInt2"][1]["location"] = "imgui:572" defs["igSliderInt2"][1]["namespace"] = "ImGui" defs["igSliderInt2"][1]["ov_cimguiname"] = "igSliderInt2" defs["igSliderInt2"][1]["ret"] = "bool" @@ -26137,7 +27562,7 @@ defs["igSliderInt3"][1]["defaults"] = {} defs["igSliderInt3"][1]["defaults"]["flags"] = "0" defs["igSliderInt3"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt3"][1]["funcname"] = "SliderInt3" -defs["igSliderInt3"][1]["location"] = "imgui:572" +defs["igSliderInt3"][1]["location"] = "imgui:573" defs["igSliderInt3"][1]["namespace"] = "ImGui" defs["igSliderInt3"][1]["ov_cimguiname"] = "igSliderInt3" defs["igSliderInt3"][1]["ret"] = "bool" @@ -26173,7 +27598,7 @@ defs["igSliderInt4"][1]["defaults"] = {} defs["igSliderInt4"][1]["defaults"]["flags"] = "0" defs["igSliderInt4"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt4"][1]["funcname"] = "SliderInt4" -defs["igSliderInt4"][1]["location"] = "imgui:573" +defs["igSliderInt4"][1]["location"] = "imgui:574" defs["igSliderInt4"][1]["namespace"] = "ImGui" defs["igSliderInt4"][1]["ov_cimguiname"] = "igSliderInt4" defs["igSliderInt4"][1]["ret"] = "bool" @@ -26212,7 +27637,7 @@ defs["igSliderScalar"][1]["defaults"] = {} defs["igSliderScalar"][1]["defaults"]["flags"] = "0" defs["igSliderScalar"][1]["defaults"]["format"] = "NULL" defs["igSliderScalar"][1]["funcname"] = "SliderScalar" -defs["igSliderScalar"][1]["location"] = "imgui:574" +defs["igSliderScalar"][1]["location"] = "imgui:575" defs["igSliderScalar"][1]["namespace"] = "ImGui" defs["igSliderScalar"][1]["ov_cimguiname"] = "igSliderScalar" defs["igSliderScalar"][1]["ret"] = "bool" @@ -26254,7 +27679,7 @@ defs["igSliderScalarN"][1]["defaults"] = {} defs["igSliderScalarN"][1]["defaults"]["flags"] = "0" defs["igSliderScalarN"][1]["defaults"]["format"] = "NULL" defs["igSliderScalarN"][1]["funcname"] = "SliderScalarN" -defs["igSliderScalarN"][1]["location"] = "imgui:575" +defs["igSliderScalarN"][1]["location"] = "imgui:576" defs["igSliderScalarN"][1]["namespace"] = "ImGui" defs["igSliderScalarN"][1]["ov_cimguiname"] = "igSliderScalarN" defs["igSliderScalarN"][1]["ret"] = "bool" @@ -26273,7 +27698,7 @@ defs["igSmallButton"][1]["call_args"] = "(label)" defs["igSmallButton"][1]["cimguiname"] = "igSmallButton" defs["igSmallButton"][1]["defaults"] = {} defs["igSmallButton"][1]["funcname"] = "SmallButton" -defs["igSmallButton"][1]["location"] = "imgui:513" +defs["igSmallButton"][1]["location"] = "imgui:510" defs["igSmallButton"][1]["namespace"] = "ImGui" defs["igSmallButton"][1]["ov_cimguiname"] = "igSmallButton" defs["igSmallButton"][1]["ret"] = "bool" @@ -26289,7 +27714,7 @@ defs["igSpacing"][1]["call_args"] = "()" defs["igSpacing"][1]["cimguiname"] = "igSpacing" defs["igSpacing"][1]["defaults"] = {} defs["igSpacing"][1]["funcname"] = "Spacing" -defs["igSpacing"][1]["location"] = "imgui:453" +defs["igSpacing"][1]["location"] = "imgui:450" defs["igSpacing"][1]["namespace"] = "ImGui" defs["igSpacing"][1]["ov_cimguiname"] = "igSpacing" defs["igSpacing"][1]["ret"] = "void" @@ -26338,7 +27763,7 @@ defs["igSplitterBehavior"][1]["defaults"]["bg_col"] = "0" defs["igSplitterBehavior"][1]["defaults"]["hover_extend"] = "0.0f" defs["igSplitterBehavior"][1]["defaults"]["hover_visibility_delay"] = "0.0f" defs["igSplitterBehavior"][1]["funcname"] = "SplitterBehavior" -defs["igSplitterBehavior"][1]["location"] = "imgui_internal:3022" +defs["igSplitterBehavior"][1]["location"] = "imgui_internal:3370" defs["igSplitterBehavior"][1]["namespace"] = "ImGui" defs["igSplitterBehavior"][1]["ov_cimguiname"] = "igSplitterBehavior" defs["igSplitterBehavior"][1]["ret"] = "bool" @@ -26357,7 +27782,7 @@ defs["igStartMouseMovingWindow"][1]["call_args"] = "(window)" defs["igStartMouseMovingWindow"][1]["cimguiname"] = "igStartMouseMovingWindow" defs["igStartMouseMovingWindow"][1]["defaults"] = {} defs["igStartMouseMovingWindow"][1]["funcname"] = "StartMouseMovingWindow" -defs["igStartMouseMovingWindow"][1]["location"] = "imgui_internal:2682" +defs["igStartMouseMovingWindow"][1]["location"] = "imgui_internal:2971" defs["igStartMouseMovingWindow"][1]["namespace"] = "ImGui" defs["igStartMouseMovingWindow"][1]["ov_cimguiname"] = "igStartMouseMovingWindow" defs["igStartMouseMovingWindow"][1]["ret"] = "void" @@ -26382,7 +27807,7 @@ defs["igStartMouseMovingWindowOrNode"][1]["call_args"] = "(window,node,undock_fl defs["igStartMouseMovingWindowOrNode"][1]["cimguiname"] = "igStartMouseMovingWindowOrNode" defs["igStartMouseMovingWindowOrNode"][1]["defaults"] = {} defs["igStartMouseMovingWindowOrNode"][1]["funcname"] = "StartMouseMovingWindowOrNode" -defs["igStartMouseMovingWindowOrNode"][1]["location"] = "imgui_internal:2683" +defs["igStartMouseMovingWindowOrNode"][1]["location"] = "imgui_internal:2972" defs["igStartMouseMovingWindowOrNode"][1]["namespace"] = "ImGui" defs["igStartMouseMovingWindowOrNode"][1]["ov_cimguiname"] = "igStartMouseMovingWindowOrNode" defs["igStartMouseMovingWindowOrNode"][1]["ret"] = "void" @@ -26402,7 +27827,7 @@ defs["igStyleColorsClassic"][1]["cimguiname"] = "igStyleColorsClassic" defs["igStyleColorsClassic"][1]["defaults"] = {} defs["igStyleColorsClassic"][1]["defaults"]["dst"] = "NULL" defs["igStyleColorsClassic"][1]["funcname"] = "StyleColorsClassic" -defs["igStyleColorsClassic"][1]["location"] = "imgui:328" +defs["igStyleColorsClassic"][1]["location"] = "imgui:322" defs["igStyleColorsClassic"][1]["namespace"] = "ImGui" defs["igStyleColorsClassic"][1]["ov_cimguiname"] = "igStyleColorsClassic" defs["igStyleColorsClassic"][1]["ret"] = "void" @@ -26422,7 +27847,7 @@ defs["igStyleColorsDark"][1]["cimguiname"] = "igStyleColorsDark" defs["igStyleColorsDark"][1]["defaults"] = {} defs["igStyleColorsDark"][1]["defaults"]["dst"] = "NULL" defs["igStyleColorsDark"][1]["funcname"] = "StyleColorsDark" -defs["igStyleColorsDark"][1]["location"] = "imgui:326" +defs["igStyleColorsDark"][1]["location"] = "imgui:320" defs["igStyleColorsDark"][1]["namespace"] = "ImGui" defs["igStyleColorsDark"][1]["ov_cimguiname"] = "igStyleColorsDark" defs["igStyleColorsDark"][1]["ret"] = "void" @@ -26442,7 +27867,7 @@ defs["igStyleColorsLight"][1]["cimguiname"] = "igStyleColorsLight" defs["igStyleColorsLight"][1]["defaults"] = {} defs["igStyleColorsLight"][1]["defaults"]["dst"] = "NULL" defs["igStyleColorsLight"][1]["funcname"] = "StyleColorsLight" -defs["igStyleColorsLight"][1]["location"] = "imgui:327" +defs["igStyleColorsLight"][1]["location"] = "imgui:321" defs["igStyleColorsLight"][1]["namespace"] = "ImGui" defs["igStyleColorsLight"][1]["ov_cimguiname"] = "igStyleColorsLight" defs["igStyleColorsLight"][1]["ret"] = "void" @@ -26467,7 +27892,7 @@ defs["igTabBarAddTab"][1]["call_args"] = "(tab_bar,tab_flags,window)" defs["igTabBarAddTab"][1]["cimguiname"] = "igTabBarAddTab" defs["igTabBarAddTab"][1]["defaults"] = {} defs["igTabBarAddTab"][1]["funcname"] = "TabBarAddTab" -defs["igTabBarAddTab"][1]["location"] = "imgui_internal:2959" +defs["igTabBarAddTab"][1]["location"] = "imgui_internal:3312" defs["igTabBarAddTab"][1]["namespace"] = "ImGui" defs["igTabBarAddTab"][1]["ov_cimguiname"] = "igTabBarAddTab" defs["igTabBarAddTab"][1]["ret"] = "void" @@ -26489,7 +27914,7 @@ defs["igTabBarCloseTab"][1]["call_args"] = "(tab_bar,tab)" defs["igTabBarCloseTab"][1]["cimguiname"] = "igTabBarCloseTab" defs["igTabBarCloseTab"][1]["defaults"] = {} defs["igTabBarCloseTab"][1]["funcname"] = "TabBarCloseTab" -defs["igTabBarCloseTab"][1]["location"] = "imgui_internal:2961" +defs["igTabBarCloseTab"][1]["location"] = "imgui_internal:3314" defs["igTabBarCloseTab"][1]["namespace"] = "ImGui" defs["igTabBarCloseTab"][1]["ov_cimguiname"] = "igTabBarCloseTab" defs["igTabBarCloseTab"][1]["ret"] = "void" @@ -26508,7 +27933,7 @@ defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["call_args"] = "(t defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["cimguiname"] = "igTabBarFindMostRecentlySelectedTabForActiveWindow" defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["defaults"] = {} defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["funcname"] = "TabBarFindMostRecentlySelectedTabForActiveWindow" -defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["location"] = "imgui_internal:2958" +defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["location"] = "imgui_internal:3311" defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["namespace"] = "ImGui" defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["ov_cimguiname"] = "igTabBarFindMostRecentlySelectedTabForActiveWindow" defs["igTabBarFindMostRecentlySelectedTabForActiveWindow"][1]["ret"] = "ImGuiTabItem*" @@ -26530,7 +27955,7 @@ defs["igTabBarFindTabByID"][1]["call_args"] = "(tab_bar,tab_id)" defs["igTabBarFindTabByID"][1]["cimguiname"] = "igTabBarFindTabByID" defs["igTabBarFindTabByID"][1]["defaults"] = {} defs["igTabBarFindTabByID"][1]["funcname"] = "TabBarFindTabByID" -defs["igTabBarFindTabByID"][1]["location"] = "imgui_internal:2957" +defs["igTabBarFindTabByID"][1]["location"] = "imgui_internal:3310" defs["igTabBarFindTabByID"][1]["namespace"] = "ImGui" defs["igTabBarFindTabByID"][1]["ov_cimguiname"] = "igTabBarFindTabByID" defs["igTabBarFindTabByID"][1]["ret"] = "ImGuiTabItem*" @@ -26549,7 +27974,7 @@ defs["igTabBarProcessReorder"][1]["call_args"] = "(tab_bar)" defs["igTabBarProcessReorder"][1]["cimguiname"] = "igTabBarProcessReorder" defs["igTabBarProcessReorder"][1]["defaults"] = {} defs["igTabBarProcessReorder"][1]["funcname"] = "TabBarProcessReorder" -defs["igTabBarProcessReorder"][1]["location"] = "imgui_internal:2964" +defs["igTabBarProcessReorder"][1]["location"] = "imgui_internal:3317" defs["igTabBarProcessReorder"][1]["namespace"] = "ImGui" defs["igTabBarProcessReorder"][1]["ov_cimguiname"] = "igTabBarProcessReorder" defs["igTabBarProcessReorder"][1]["ret"] = "bool" @@ -26574,7 +27999,7 @@ defs["igTabBarQueueReorder"][1]["call_args"] = "(tab_bar,tab,offset)" defs["igTabBarQueueReorder"][1]["cimguiname"] = "igTabBarQueueReorder" defs["igTabBarQueueReorder"][1]["defaults"] = {} defs["igTabBarQueueReorder"][1]["funcname"] = "TabBarQueueReorder" -defs["igTabBarQueueReorder"][1]["location"] = "imgui_internal:2962" +defs["igTabBarQueueReorder"][1]["location"] = "imgui_internal:3315" defs["igTabBarQueueReorder"][1]["namespace"] = "ImGui" defs["igTabBarQueueReorder"][1]["ov_cimguiname"] = "igTabBarQueueReorder" defs["igTabBarQueueReorder"][1]["ret"] = "void" @@ -26599,7 +28024,7 @@ defs["igTabBarQueueReorderFromMousePos"][1]["call_args"] = "(tab_bar,tab,mouse_p defs["igTabBarQueueReorderFromMousePos"][1]["cimguiname"] = "igTabBarQueueReorderFromMousePos" defs["igTabBarQueueReorderFromMousePos"][1]["defaults"] = {} defs["igTabBarQueueReorderFromMousePos"][1]["funcname"] = "TabBarQueueReorderFromMousePos" -defs["igTabBarQueueReorderFromMousePos"][1]["location"] = "imgui_internal:2963" +defs["igTabBarQueueReorderFromMousePos"][1]["location"] = "imgui_internal:3316" defs["igTabBarQueueReorderFromMousePos"][1]["namespace"] = "ImGui" defs["igTabBarQueueReorderFromMousePos"][1]["ov_cimguiname"] = "igTabBarQueueReorderFromMousePos" defs["igTabBarQueueReorderFromMousePos"][1]["ret"] = "void" @@ -26621,7 +28046,7 @@ defs["igTabBarRemoveTab"][1]["call_args"] = "(tab_bar,tab_id)" defs["igTabBarRemoveTab"][1]["cimguiname"] = "igTabBarRemoveTab" defs["igTabBarRemoveTab"][1]["defaults"] = {} defs["igTabBarRemoveTab"][1]["funcname"] = "TabBarRemoveTab" -defs["igTabBarRemoveTab"][1]["location"] = "imgui_internal:2960" +defs["igTabBarRemoveTab"][1]["location"] = "imgui_internal:3313" defs["igTabBarRemoveTab"][1]["namespace"] = "ImGui" defs["igTabBarRemoveTab"][1]["ov_cimguiname"] = "igTabBarRemoveTab" defs["igTabBarRemoveTab"][1]["ret"] = "void" @@ -26649,7 +28074,7 @@ defs["igTabItemBackground"][1]["call_args"] = "(draw_list,bb,flags,col)" defs["igTabItemBackground"][1]["cimguiname"] = "igTabItemBackground" defs["igTabItemBackground"][1]["defaults"] = {} defs["igTabItemBackground"][1]["funcname"] = "TabItemBackground" -defs["igTabItemBackground"][1]["location"] = "imgui_internal:2967" +defs["igTabItemBackground"][1]["location"] = "imgui_internal:3321" defs["igTabItemBackground"][1]["namespace"] = "ImGui" defs["igTabItemBackground"][1]["ov_cimguiname"] = "igTabItemBackground" defs["igTabItemBackground"][1]["ret"] = "void" @@ -26672,7 +28097,7 @@ defs["igTabItemButton"][1]["cimguiname"] = "igTabItemButton" defs["igTabItemButton"][1]["defaults"] = {} defs["igTabItemButton"][1]["defaults"]["flags"] = "0" defs["igTabItemButton"][1]["funcname"] = "TabItemButton" -defs["igTabItemButton"][1]["location"] = "imgui:802" +defs["igTabItemButton"][1]["location"] = "imgui:799" defs["igTabItemButton"][1]["namespace"] = "ImGui" defs["igTabItemButton"][1]["ov_cimguiname"] = "igTabItemButton" defs["igTabItemButton"][1]["ret"] = "bool" @@ -26681,7 +28106,7 @@ defs["igTabItemButton"][1]["stname"] = "" defs["igTabItemButton"]["(const char*,ImGuiTabItemFlags)"] = defs["igTabItemButton"][1] defs["igTabItemCalcSize"] = {} defs["igTabItemCalcSize"][1] = {} -defs["igTabItemCalcSize"][1]["args"] = "(ImVec2 *pOut,const char* label,bool has_close_button)" +defs["igTabItemCalcSize"][1]["args"] = "(ImVec2 *pOut,const char* label,bool has_close_button_or_unsaved_marker)" defs["igTabItemCalcSize"][1]["argsT"] = {} defs["igTabItemCalcSize"][1]["argsT"][1] = {} defs["igTabItemCalcSize"][1]["argsT"][1]["name"] = "pOut" @@ -26690,20 +28115,42 @@ defs["igTabItemCalcSize"][1]["argsT"][2] = {} defs["igTabItemCalcSize"][1]["argsT"][2]["name"] = "label" defs["igTabItemCalcSize"][1]["argsT"][2]["type"] = "const char*" defs["igTabItemCalcSize"][1]["argsT"][3] = {} -defs["igTabItemCalcSize"][1]["argsT"][3]["name"] = "has_close_button" +defs["igTabItemCalcSize"][1]["argsT"][3]["name"] = "has_close_button_or_unsaved_marker" defs["igTabItemCalcSize"][1]["argsT"][3]["type"] = "bool" -defs["igTabItemCalcSize"][1]["argsoriginal"] = "(const char* label,bool has_close_button)" -defs["igTabItemCalcSize"][1]["call_args"] = "(label,has_close_button)" +defs["igTabItemCalcSize"][1]["argsoriginal"] = "(const char* label,bool has_close_button_or_unsaved_marker)" +defs["igTabItemCalcSize"][1]["call_args"] = "(label,has_close_button_or_unsaved_marker)" defs["igTabItemCalcSize"][1]["cimguiname"] = "igTabItemCalcSize" defs["igTabItemCalcSize"][1]["defaults"] = {} defs["igTabItemCalcSize"][1]["funcname"] = "TabItemCalcSize" -defs["igTabItemCalcSize"][1]["location"] = "imgui_internal:2966" +defs["igTabItemCalcSize"][1]["location"] = "imgui_internal:3319" defs["igTabItemCalcSize"][1]["namespace"] = "ImGui" defs["igTabItemCalcSize"][1]["nonUDT"] = 1 -defs["igTabItemCalcSize"][1]["ov_cimguiname"] = "igTabItemCalcSize" +defs["igTabItemCalcSize"][1]["ov_cimguiname"] = "igTabItemCalcSize_Str" defs["igTabItemCalcSize"][1]["ret"] = "void" defs["igTabItemCalcSize"][1]["signature"] = "(const char*,bool)" defs["igTabItemCalcSize"][1]["stname"] = "" +defs["igTabItemCalcSize"][2] = {} +defs["igTabItemCalcSize"][2]["args"] = "(ImVec2 *pOut,ImGuiWindow* window)" +defs["igTabItemCalcSize"][2]["argsT"] = {} +defs["igTabItemCalcSize"][2]["argsT"][1] = {} +defs["igTabItemCalcSize"][2]["argsT"][1]["name"] = "pOut" +defs["igTabItemCalcSize"][2]["argsT"][1]["type"] = "ImVec2*" +defs["igTabItemCalcSize"][2]["argsT"][2] = {} +defs["igTabItemCalcSize"][2]["argsT"][2]["name"] = "window" +defs["igTabItemCalcSize"][2]["argsT"][2]["type"] = "ImGuiWindow*" +defs["igTabItemCalcSize"][2]["argsoriginal"] = "(ImGuiWindow* window)" +defs["igTabItemCalcSize"][2]["call_args"] = "(window)" +defs["igTabItemCalcSize"][2]["cimguiname"] = "igTabItemCalcSize" +defs["igTabItemCalcSize"][2]["defaults"] = {} +defs["igTabItemCalcSize"][2]["funcname"] = "TabItemCalcSize" +defs["igTabItemCalcSize"][2]["location"] = "imgui_internal:3320" +defs["igTabItemCalcSize"][2]["namespace"] = "ImGui" +defs["igTabItemCalcSize"][2]["nonUDT"] = 1 +defs["igTabItemCalcSize"][2]["ov_cimguiname"] = "igTabItemCalcSize_WindowPtr" +defs["igTabItemCalcSize"][2]["ret"] = "void" +defs["igTabItemCalcSize"][2]["signature"] = "(ImGuiWindow*)" +defs["igTabItemCalcSize"][2]["stname"] = "" +defs["igTabItemCalcSize"]["(ImGuiWindow*)"] = defs["igTabItemCalcSize"][2] defs["igTabItemCalcSize"]["(const char*,bool)"] = defs["igTabItemCalcSize"][1] defs["igTabItemEx"] = {} defs["igTabItemEx"][1] = {} @@ -26729,7 +28176,7 @@ defs["igTabItemEx"][1]["call_args"] = "(tab_bar,label,p_open,flags,docked_window defs["igTabItemEx"][1]["cimguiname"] = "igTabItemEx" defs["igTabItemEx"][1]["defaults"] = {} defs["igTabItemEx"][1]["funcname"] = "TabItemEx" -defs["igTabItemEx"][1]["location"] = "imgui_internal:2965" +defs["igTabItemEx"][1]["location"] = "imgui_internal:3318" defs["igTabItemEx"][1]["namespace"] = "ImGui" defs["igTabItemEx"][1]["ov_cimguiname"] = "igTabItemEx" defs["igTabItemEx"][1]["ret"] = "bool" @@ -26775,7 +28222,7 @@ defs["igTabItemLabelAndCloseButton"][1]["call_args"] = "(draw_list,bb,flags,fram defs["igTabItemLabelAndCloseButton"][1]["cimguiname"] = "igTabItemLabelAndCloseButton" defs["igTabItemLabelAndCloseButton"][1]["defaults"] = {} defs["igTabItemLabelAndCloseButton"][1]["funcname"] = "TabItemLabelAndCloseButton" -defs["igTabItemLabelAndCloseButton"][1]["location"] = "imgui_internal:2968" +defs["igTabItemLabelAndCloseButton"][1]["location"] = "imgui_internal:3322" defs["igTabItemLabelAndCloseButton"][1]["namespace"] = "ImGui" defs["igTabItemLabelAndCloseButton"][1]["ov_cimguiname"] = "igTabItemLabelAndCloseButton" defs["igTabItemLabelAndCloseButton"][1]["ret"] = "void" @@ -26794,7 +28241,7 @@ defs["igTableBeginApplyRequests"][1]["call_args"] = "(table)" defs["igTableBeginApplyRequests"][1]["cimguiname"] = "igTableBeginApplyRequests" defs["igTableBeginApplyRequests"][1]["defaults"] = {} defs["igTableBeginApplyRequests"][1]["funcname"] = "TableBeginApplyRequests" -defs["igTableBeginApplyRequests"][1]["location"] = "imgui_internal:2918" +defs["igTableBeginApplyRequests"][1]["location"] = "imgui_internal:3269" defs["igTableBeginApplyRequests"][1]["namespace"] = "ImGui" defs["igTableBeginApplyRequests"][1]["ov_cimguiname"] = "igTableBeginApplyRequests" defs["igTableBeginApplyRequests"][1]["ret"] = "void" @@ -26816,13 +28263,32 @@ defs["igTableBeginCell"][1]["call_args"] = "(table,column_n)" defs["igTableBeginCell"][1]["cimguiname"] = "igTableBeginCell" defs["igTableBeginCell"][1]["defaults"] = {} defs["igTableBeginCell"][1]["funcname"] = "TableBeginCell" -defs["igTableBeginCell"][1]["location"] = "imgui_internal:2933" +defs["igTableBeginCell"][1]["location"] = "imgui_internal:3286" defs["igTableBeginCell"][1]["namespace"] = "ImGui" defs["igTableBeginCell"][1]["ov_cimguiname"] = "igTableBeginCell" defs["igTableBeginCell"][1]["ret"] = "void" defs["igTableBeginCell"][1]["signature"] = "(ImGuiTable*,int)" defs["igTableBeginCell"][1]["stname"] = "" defs["igTableBeginCell"]["(ImGuiTable*,int)"] = defs["igTableBeginCell"][1] +defs["igTableBeginContextMenuPopup"] = {} +defs["igTableBeginContextMenuPopup"][1] = {} +defs["igTableBeginContextMenuPopup"][1]["args"] = "(ImGuiTable* table)" +defs["igTableBeginContextMenuPopup"][1]["argsT"] = {} +defs["igTableBeginContextMenuPopup"][1]["argsT"][1] = {} +defs["igTableBeginContextMenuPopup"][1]["argsT"][1]["name"] = "table" +defs["igTableBeginContextMenuPopup"][1]["argsT"][1]["type"] = "ImGuiTable*" +defs["igTableBeginContextMenuPopup"][1]["argsoriginal"] = "(ImGuiTable* table)" +defs["igTableBeginContextMenuPopup"][1]["call_args"] = "(table)" +defs["igTableBeginContextMenuPopup"][1]["cimguiname"] = "igTableBeginContextMenuPopup" +defs["igTableBeginContextMenuPopup"][1]["defaults"] = {} +defs["igTableBeginContextMenuPopup"][1]["funcname"] = "TableBeginContextMenuPopup" +defs["igTableBeginContextMenuPopup"][1]["location"] = "imgui_internal:3276" +defs["igTableBeginContextMenuPopup"][1]["namespace"] = "ImGui" +defs["igTableBeginContextMenuPopup"][1]["ov_cimguiname"] = "igTableBeginContextMenuPopup" +defs["igTableBeginContextMenuPopup"][1]["ret"] = "bool" +defs["igTableBeginContextMenuPopup"][1]["signature"] = "(ImGuiTable*)" +defs["igTableBeginContextMenuPopup"][1]["stname"] = "" +defs["igTableBeginContextMenuPopup"]["(ImGuiTable*)"] = defs["igTableBeginContextMenuPopup"][1] defs["igTableBeginInitMemory"] = {} defs["igTableBeginInitMemory"][1] = {} defs["igTableBeginInitMemory"][1]["args"] = "(ImGuiTable* table,int columns_count)" @@ -26838,7 +28304,7 @@ defs["igTableBeginInitMemory"][1]["call_args"] = "(table,columns_count)" defs["igTableBeginInitMemory"][1]["cimguiname"] = "igTableBeginInitMemory" defs["igTableBeginInitMemory"][1]["defaults"] = {} defs["igTableBeginInitMemory"][1]["funcname"] = "TableBeginInitMemory" -defs["igTableBeginInitMemory"][1]["location"] = "imgui_internal:2917" +defs["igTableBeginInitMemory"][1]["location"] = "imgui_internal:3268" defs["igTableBeginInitMemory"][1]["namespace"] = "ImGui" defs["igTableBeginInitMemory"][1]["ov_cimguiname"] = "igTableBeginInitMemory" defs["igTableBeginInitMemory"][1]["ret"] = "void" @@ -26857,7 +28323,7 @@ defs["igTableBeginRow"][1]["call_args"] = "(table)" defs["igTableBeginRow"][1]["cimguiname"] = "igTableBeginRow" defs["igTableBeginRow"][1]["defaults"] = {} defs["igTableBeginRow"][1]["funcname"] = "TableBeginRow" -defs["igTableBeginRow"][1]["location"] = "imgui_internal:2931" +defs["igTableBeginRow"][1]["location"] = "imgui_internal:3284" defs["igTableBeginRow"][1]["namespace"] = "ImGui" defs["igTableBeginRow"][1]["ov_cimguiname"] = "igTableBeginRow" defs["igTableBeginRow"][1]["ret"] = "void" @@ -26876,7 +28342,7 @@ defs["igTableDrawBorders"][1]["call_args"] = "(table)" defs["igTableDrawBorders"][1]["cimguiname"] = "igTableDrawBorders" defs["igTableDrawBorders"][1]["defaults"] = {} defs["igTableDrawBorders"][1]["funcname"] = "TableDrawBorders" -defs["igTableDrawBorders"][1]["location"] = "imgui_internal:2923" +defs["igTableDrawBorders"][1]["location"] = "imgui_internal:3274" defs["igTableDrawBorders"][1]["namespace"] = "ImGui" defs["igTableDrawBorders"][1]["ov_cimguiname"] = "igTableDrawBorders" defs["igTableDrawBorders"][1]["ret"] = "void" @@ -26895,7 +28361,7 @@ defs["igTableDrawContextMenu"][1]["call_args"] = "(table)" defs["igTableDrawContextMenu"][1]["cimguiname"] = "igTableDrawContextMenu" defs["igTableDrawContextMenu"][1]["defaults"] = {} defs["igTableDrawContextMenu"][1]["funcname"] = "TableDrawContextMenu" -defs["igTableDrawContextMenu"][1]["location"] = "imgui_internal:2924" +defs["igTableDrawContextMenu"][1]["location"] = "imgui_internal:3275" defs["igTableDrawContextMenu"][1]["namespace"] = "ImGui" defs["igTableDrawContextMenu"][1]["ov_cimguiname"] = "igTableDrawContextMenu" defs["igTableDrawContextMenu"][1]["ret"] = "void" @@ -26914,7 +28380,7 @@ defs["igTableEndCell"][1]["call_args"] = "(table)" defs["igTableEndCell"][1]["cimguiname"] = "igTableEndCell" defs["igTableEndCell"][1]["defaults"] = {} defs["igTableEndCell"][1]["funcname"] = "TableEndCell" -defs["igTableEndCell"][1]["location"] = "imgui_internal:2934" +defs["igTableEndCell"][1]["location"] = "imgui_internal:3287" defs["igTableEndCell"][1]["namespace"] = "ImGui" defs["igTableEndCell"][1]["ov_cimguiname"] = "igTableEndCell" defs["igTableEndCell"][1]["ret"] = "void" @@ -26933,7 +28399,7 @@ defs["igTableEndRow"][1]["call_args"] = "(table)" defs["igTableEndRow"][1]["cimguiname"] = "igTableEndRow" defs["igTableEndRow"][1]["defaults"] = {} defs["igTableEndRow"][1]["funcname"] = "TableEndRow" -defs["igTableEndRow"][1]["location"] = "imgui_internal:2932" +defs["igTableEndRow"][1]["location"] = "imgui_internal:3285" defs["igTableEndRow"][1]["namespace"] = "ImGui" defs["igTableEndRow"][1]["ov_cimguiname"] = "igTableEndRow" defs["igTableEndRow"][1]["ret"] = "void" @@ -26952,7 +28418,7 @@ defs["igTableFindByID"][1]["call_args"] = "(id)" defs["igTableFindByID"][1]["cimguiname"] = "igTableFindByID" defs["igTableFindByID"][1]["defaults"] = {} defs["igTableFindByID"][1]["funcname"] = "TableFindByID" -defs["igTableFindByID"][1]["location"] = "imgui_internal:2915" +defs["igTableFindByID"][1]["location"] = "imgui_internal:3266" defs["igTableFindByID"][1]["namespace"] = "ImGui" defs["igTableFindByID"][1]["ov_cimguiname"] = "igTableFindByID" defs["igTableFindByID"][1]["ret"] = "ImGuiTable*" @@ -26974,7 +28440,7 @@ defs["igTableFixColumnSortDirection"][1]["call_args"] = "(table,column)" defs["igTableFixColumnSortDirection"][1]["cimguiname"] = "igTableFixColumnSortDirection" defs["igTableFixColumnSortDirection"][1]["defaults"] = {} defs["igTableFixColumnSortDirection"][1]["funcname"] = "TableFixColumnSortDirection" -defs["igTableFixColumnSortDirection"][1]["location"] = "imgui_internal:2929" +defs["igTableFixColumnSortDirection"][1]["location"] = "imgui_internal:3282" defs["igTableFixColumnSortDirection"][1]["namespace"] = "ImGui" defs["igTableFixColumnSortDirection"][1]["ov_cimguiname"] = "igTableFixColumnSortDirection" defs["igTableFixColumnSortDirection"][1]["ret"] = "void" @@ -26990,7 +28456,7 @@ defs["igTableGcCompactSettings"][1]["call_args"] = "()" defs["igTableGcCompactSettings"][1]["cimguiname"] = "igTableGcCompactSettings" defs["igTableGcCompactSettings"][1]["defaults"] = {} defs["igTableGcCompactSettings"][1]["funcname"] = "TableGcCompactSettings" -defs["igTableGcCompactSettings"][1]["location"] = "imgui_internal:2944" +defs["igTableGcCompactSettings"][1]["location"] = "imgui_internal:3297" defs["igTableGcCompactSettings"][1]["namespace"] = "ImGui" defs["igTableGcCompactSettings"][1]["ov_cimguiname"] = "igTableGcCompactSettings" defs["igTableGcCompactSettings"][1]["ret"] = "void" @@ -27009,9 +28475,9 @@ defs["igTableGcCompactTransientBuffers"][1]["call_args"] = "(table)" defs["igTableGcCompactTransientBuffers"][1]["cimguiname"] = "igTableGcCompactTransientBuffers" defs["igTableGcCompactTransientBuffers"][1]["defaults"] = {} defs["igTableGcCompactTransientBuffers"][1]["funcname"] = "TableGcCompactTransientBuffers" -defs["igTableGcCompactTransientBuffers"][1]["location"] = "imgui_internal:2942" +defs["igTableGcCompactTransientBuffers"][1]["location"] = "imgui_internal:3295" defs["igTableGcCompactTransientBuffers"][1]["namespace"] = "ImGui" -defs["igTableGcCompactTransientBuffers"][1]["ov_cimguiname"] = "igTableGcCompactTransientBuffersTablePtr" +defs["igTableGcCompactTransientBuffers"][1]["ov_cimguiname"] = "igTableGcCompactTransientBuffers_TablePtr" defs["igTableGcCompactTransientBuffers"][1]["ret"] = "void" defs["igTableGcCompactTransientBuffers"][1]["signature"] = "(ImGuiTable*)" defs["igTableGcCompactTransientBuffers"][1]["stname"] = "" @@ -27026,9 +28492,9 @@ defs["igTableGcCompactTransientBuffers"][2]["call_args"] = "(table)" defs["igTableGcCompactTransientBuffers"][2]["cimguiname"] = "igTableGcCompactTransientBuffers" defs["igTableGcCompactTransientBuffers"][2]["defaults"] = {} defs["igTableGcCompactTransientBuffers"][2]["funcname"] = "TableGcCompactTransientBuffers" -defs["igTableGcCompactTransientBuffers"][2]["location"] = "imgui_internal:2943" +defs["igTableGcCompactTransientBuffers"][2]["location"] = "imgui_internal:3296" defs["igTableGcCompactTransientBuffers"][2]["namespace"] = "ImGui" -defs["igTableGcCompactTransientBuffers"][2]["ov_cimguiname"] = "igTableGcCompactTransientBuffersTableTempDataPtr" +defs["igTableGcCompactTransientBuffers"][2]["ov_cimguiname"] = "igTableGcCompactTransientBuffers_TableTempDataPtr" defs["igTableGcCompactTransientBuffers"][2]["ret"] = "void" defs["igTableGcCompactTransientBuffers"][2]["signature"] = "(ImGuiTableTempData*)" defs["igTableGcCompactTransientBuffers"][2]["stname"] = "" @@ -27046,7 +28512,7 @@ defs["igTableGetBoundSettings"][1]["call_args"] = "(table)" defs["igTableGetBoundSettings"][1]["cimguiname"] = "igTableGetBoundSettings" defs["igTableGetBoundSettings"][1]["defaults"] = {} defs["igTableGetBoundSettings"][1]["funcname"] = "TableGetBoundSettings" -defs["igTableGetBoundSettings"][1]["location"] = "imgui_internal:2950" +defs["igTableGetBoundSettings"][1]["location"] = "imgui_internal:3303" defs["igTableGetBoundSettings"][1]["namespace"] = "ImGui" defs["igTableGetBoundSettings"][1]["ov_cimguiname"] = "igTableGetBoundSettings" defs["igTableGetBoundSettings"][1]["ret"] = "ImGuiTableSettings*" @@ -27071,7 +28537,7 @@ defs["igTableGetCellBgRect"][1]["call_args"] = "(table,column_n)" defs["igTableGetCellBgRect"][1]["cimguiname"] = "igTableGetCellBgRect" defs["igTableGetCellBgRect"][1]["defaults"] = {} defs["igTableGetCellBgRect"][1]["funcname"] = "TableGetCellBgRect" -defs["igTableGetCellBgRect"][1]["location"] = "imgui_internal:2935" +defs["igTableGetCellBgRect"][1]["location"] = "imgui_internal:3288" defs["igTableGetCellBgRect"][1]["namespace"] = "ImGui" defs["igTableGetCellBgRect"][1]["nonUDT"] = 1 defs["igTableGetCellBgRect"][1]["ov_cimguiname"] = "igTableGetCellBgRect" @@ -27088,7 +28554,7 @@ defs["igTableGetColumnCount"][1]["call_args"] = "()" defs["igTableGetColumnCount"][1]["cimguiname"] = "igTableGetColumnCount" defs["igTableGetColumnCount"][1]["defaults"] = {} defs["igTableGetColumnCount"][1]["funcname"] = "TableGetColumnCount" -defs["igTableGetColumnCount"][1]["location"] = "imgui:777" +defs["igTableGetColumnCount"][1]["location"] = "imgui:774" defs["igTableGetColumnCount"][1]["namespace"] = "ImGui" defs["igTableGetColumnCount"][1]["ov_cimguiname"] = "igTableGetColumnCount" defs["igTableGetColumnCount"][1]["ret"] = "int" @@ -27108,7 +28574,7 @@ defs["igTableGetColumnFlags"][1]["cimguiname"] = "igTableGetColumnFlags" defs["igTableGetColumnFlags"][1]["defaults"] = {} defs["igTableGetColumnFlags"][1]["defaults"]["column_n"] = "-1" defs["igTableGetColumnFlags"][1]["funcname"] = "TableGetColumnFlags" -defs["igTableGetColumnFlags"][1]["location"] = "imgui:781" +defs["igTableGetColumnFlags"][1]["location"] = "imgui:778" defs["igTableGetColumnFlags"][1]["namespace"] = "ImGui" defs["igTableGetColumnFlags"][1]["ov_cimguiname"] = "igTableGetColumnFlags" defs["igTableGetColumnFlags"][1]["ret"] = "ImGuiTableColumnFlags" @@ -27124,7 +28590,7 @@ defs["igTableGetColumnIndex"][1]["call_args"] = "()" defs["igTableGetColumnIndex"][1]["cimguiname"] = "igTableGetColumnIndex" defs["igTableGetColumnIndex"][1]["defaults"] = {} defs["igTableGetColumnIndex"][1]["funcname"] = "TableGetColumnIndex" -defs["igTableGetColumnIndex"][1]["location"] = "imgui:778" +defs["igTableGetColumnIndex"][1]["location"] = "imgui:775" defs["igTableGetColumnIndex"][1]["namespace"] = "ImGui" defs["igTableGetColumnIndex"][1]["ov_cimguiname"] = "igTableGetColumnIndex" defs["igTableGetColumnIndex"][1]["ret"] = "int" @@ -27144,9 +28610,9 @@ defs["igTableGetColumnName"][1]["cimguiname"] = "igTableGetColumnName" defs["igTableGetColumnName"][1]["defaults"] = {} defs["igTableGetColumnName"][1]["defaults"]["column_n"] = "-1" defs["igTableGetColumnName"][1]["funcname"] = "TableGetColumnName" -defs["igTableGetColumnName"][1]["location"] = "imgui:780" +defs["igTableGetColumnName"][1]["location"] = "imgui:777" defs["igTableGetColumnName"][1]["namespace"] = "ImGui" -defs["igTableGetColumnName"][1]["ov_cimguiname"] = "igTableGetColumnNameInt" +defs["igTableGetColumnName"][1]["ov_cimguiname"] = "igTableGetColumnName_Int" defs["igTableGetColumnName"][1]["ret"] = "const char*" defs["igTableGetColumnName"][1]["signature"] = "(int)" defs["igTableGetColumnName"][1]["stname"] = "" @@ -27164,9 +28630,9 @@ defs["igTableGetColumnName"][2]["call_args"] = "(table,column_n)" defs["igTableGetColumnName"][2]["cimguiname"] = "igTableGetColumnName" defs["igTableGetColumnName"][2]["defaults"] = {} defs["igTableGetColumnName"][2]["funcname"] = "TableGetColumnName" -defs["igTableGetColumnName"][2]["location"] = "imgui_internal:2936" +defs["igTableGetColumnName"][2]["location"] = "imgui_internal:3289" defs["igTableGetColumnName"][2]["namespace"] = "ImGui" -defs["igTableGetColumnName"][2]["ov_cimguiname"] = "igTableGetColumnNameTablePtr" +defs["igTableGetColumnName"][2]["ov_cimguiname"] = "igTableGetColumnName_TablePtr" defs["igTableGetColumnName"][2]["ret"] = "const char*" defs["igTableGetColumnName"][2]["signature"] = "(const ImGuiTable*,int)" defs["igTableGetColumnName"][2]["stname"] = "" @@ -27184,7 +28650,7 @@ defs["igTableGetColumnNextSortDirection"][1]["call_args"] = "(column)" defs["igTableGetColumnNextSortDirection"][1]["cimguiname"] = "igTableGetColumnNextSortDirection" defs["igTableGetColumnNextSortDirection"][1]["defaults"] = {} defs["igTableGetColumnNextSortDirection"][1]["funcname"] = "TableGetColumnNextSortDirection" -defs["igTableGetColumnNextSortDirection"][1]["location"] = "imgui_internal:2928" +defs["igTableGetColumnNextSortDirection"][1]["location"] = "imgui_internal:3281" defs["igTableGetColumnNextSortDirection"][1]["namespace"] = "ImGui" defs["igTableGetColumnNextSortDirection"][1]["ov_cimguiname"] = "igTableGetColumnNextSortDirection" defs["igTableGetColumnNextSortDirection"][1]["ret"] = "ImGuiSortDirection" @@ -27210,7 +28676,7 @@ defs["igTableGetColumnResizeID"][1]["cimguiname"] = "igTableGetColumnResizeID" defs["igTableGetColumnResizeID"][1]["defaults"] = {} defs["igTableGetColumnResizeID"][1]["defaults"]["instance_no"] = "0" defs["igTableGetColumnResizeID"][1]["funcname"] = "TableGetColumnResizeID" -defs["igTableGetColumnResizeID"][1]["location"] = "imgui_internal:2937" +defs["igTableGetColumnResizeID"][1]["location"] = "imgui_internal:3290" defs["igTableGetColumnResizeID"][1]["namespace"] = "ImGui" defs["igTableGetColumnResizeID"][1]["ov_cimguiname"] = "igTableGetColumnResizeID" defs["igTableGetColumnResizeID"][1]["ret"] = "ImGuiID" @@ -27232,7 +28698,7 @@ defs["igTableGetColumnWidthAuto"][1]["call_args"] = "(table,column)" defs["igTableGetColumnWidthAuto"][1]["cimguiname"] = "igTableGetColumnWidthAuto" defs["igTableGetColumnWidthAuto"][1]["defaults"] = {} defs["igTableGetColumnWidthAuto"][1]["funcname"] = "TableGetColumnWidthAuto" -defs["igTableGetColumnWidthAuto"][1]["location"] = "imgui_internal:2930" +defs["igTableGetColumnWidthAuto"][1]["location"] = "imgui_internal:3283" defs["igTableGetColumnWidthAuto"][1]["namespace"] = "ImGui" defs["igTableGetColumnWidthAuto"][1]["ov_cimguiname"] = "igTableGetColumnWidthAuto" defs["igTableGetColumnWidthAuto"][1]["ret"] = "float" @@ -27248,7 +28714,7 @@ defs["igTableGetHeaderRowHeight"][1]["call_args"] = "()" defs["igTableGetHeaderRowHeight"][1]["cimguiname"] = "igTableGetHeaderRowHeight" defs["igTableGetHeaderRowHeight"][1]["defaults"] = {} defs["igTableGetHeaderRowHeight"][1]["funcname"] = "TableGetHeaderRowHeight" -defs["igTableGetHeaderRowHeight"][1]["location"] = "imgui_internal:2909" +defs["igTableGetHeaderRowHeight"][1]["location"] = "imgui_internal:3260" defs["igTableGetHeaderRowHeight"][1]["namespace"] = "ImGui" defs["igTableGetHeaderRowHeight"][1]["ov_cimguiname"] = "igTableGetHeaderRowHeight" defs["igTableGetHeaderRowHeight"][1]["ret"] = "float" @@ -27264,13 +28730,35 @@ defs["igTableGetHoveredColumn"][1]["call_args"] = "()" defs["igTableGetHoveredColumn"][1]["cimguiname"] = "igTableGetHoveredColumn" defs["igTableGetHoveredColumn"][1]["defaults"] = {} defs["igTableGetHoveredColumn"][1]["funcname"] = "TableGetHoveredColumn" -defs["igTableGetHoveredColumn"][1]["location"] = "imgui_internal:2908" +defs["igTableGetHoveredColumn"][1]["location"] = "imgui_internal:3259" defs["igTableGetHoveredColumn"][1]["namespace"] = "ImGui" defs["igTableGetHoveredColumn"][1]["ov_cimguiname"] = "igTableGetHoveredColumn" defs["igTableGetHoveredColumn"][1]["ret"] = "int" defs["igTableGetHoveredColumn"][1]["signature"] = "()" defs["igTableGetHoveredColumn"][1]["stname"] = "" defs["igTableGetHoveredColumn"]["()"] = defs["igTableGetHoveredColumn"][1] +defs["igTableGetInstanceData"] = {} +defs["igTableGetInstanceData"][1] = {} +defs["igTableGetInstanceData"][1]["args"] = "(ImGuiTable* table,int instance_no)" +defs["igTableGetInstanceData"][1]["argsT"] = {} +defs["igTableGetInstanceData"][1]["argsT"][1] = {} +defs["igTableGetInstanceData"][1]["argsT"][1]["name"] = "table" +defs["igTableGetInstanceData"][1]["argsT"][1]["type"] = "ImGuiTable*" +defs["igTableGetInstanceData"][1]["argsT"][2] = {} +defs["igTableGetInstanceData"][1]["argsT"][2]["name"] = "instance_no" +defs["igTableGetInstanceData"][1]["argsT"][2]["type"] = "int" +defs["igTableGetInstanceData"][1]["argsoriginal"] = "(ImGuiTable* table,int instance_no)" +defs["igTableGetInstanceData"][1]["call_args"] = "(table,instance_no)" +defs["igTableGetInstanceData"][1]["cimguiname"] = "igTableGetInstanceData" +defs["igTableGetInstanceData"][1]["defaults"] = {} +defs["igTableGetInstanceData"][1]["funcname"] = "TableGetInstanceData" +defs["igTableGetInstanceData"][1]["location"] = "imgui_internal:3278" +defs["igTableGetInstanceData"][1]["namespace"] = "ImGui" +defs["igTableGetInstanceData"][1]["ov_cimguiname"] = "igTableGetInstanceData" +defs["igTableGetInstanceData"][1]["ret"] = "ImGuiTableInstanceData*" +defs["igTableGetInstanceData"][1]["signature"] = "(ImGuiTable*,int)" +defs["igTableGetInstanceData"][1]["stname"] = "" +defs["igTableGetInstanceData"]["(ImGuiTable*,int)"] = defs["igTableGetInstanceData"][1] defs["igTableGetMaxColumnWidth"] = {} defs["igTableGetMaxColumnWidth"][1] = {} defs["igTableGetMaxColumnWidth"][1]["args"] = "(const ImGuiTable* table,int column_n)" @@ -27286,7 +28774,7 @@ defs["igTableGetMaxColumnWidth"][1]["call_args"] = "(table,column_n)" defs["igTableGetMaxColumnWidth"][1]["cimguiname"] = "igTableGetMaxColumnWidth" defs["igTableGetMaxColumnWidth"][1]["defaults"] = {} defs["igTableGetMaxColumnWidth"][1]["funcname"] = "TableGetMaxColumnWidth" -defs["igTableGetMaxColumnWidth"][1]["location"] = "imgui_internal:2938" +defs["igTableGetMaxColumnWidth"][1]["location"] = "imgui_internal:3291" defs["igTableGetMaxColumnWidth"][1]["namespace"] = "ImGui" defs["igTableGetMaxColumnWidth"][1]["ov_cimguiname"] = "igTableGetMaxColumnWidth" defs["igTableGetMaxColumnWidth"][1]["ret"] = "float" @@ -27302,7 +28790,7 @@ defs["igTableGetRowIndex"][1]["call_args"] = "()" defs["igTableGetRowIndex"][1]["cimguiname"] = "igTableGetRowIndex" defs["igTableGetRowIndex"][1]["defaults"] = {} defs["igTableGetRowIndex"][1]["funcname"] = "TableGetRowIndex" -defs["igTableGetRowIndex"][1]["location"] = "imgui:779" +defs["igTableGetRowIndex"][1]["location"] = "imgui:776" defs["igTableGetRowIndex"][1]["namespace"] = "ImGui" defs["igTableGetRowIndex"][1]["ov_cimguiname"] = "igTableGetRowIndex" defs["igTableGetRowIndex"][1]["ret"] = "int" @@ -27372,7 +28860,7 @@ defs["igTableLoadSettings"][1]["call_args"] = "(table)" defs["igTableLoadSettings"][1]["cimguiname"] = "igTableLoadSettings" defs["igTableLoadSettings"][1]["defaults"] = {} defs["igTableLoadSettings"][1]["funcname"] = "TableLoadSettings" -defs["igTableLoadSettings"][1]["location"] = "imgui_internal:2947" +defs["igTableLoadSettings"][1]["location"] = "imgui_internal:3300" defs["igTableLoadSettings"][1]["namespace"] = "ImGui" defs["igTableLoadSettings"][1]["ov_cimguiname"] = "igTableLoadSettings" defs["igTableLoadSettings"][1]["ret"] = "void" @@ -27391,7 +28879,7 @@ defs["igTableMergeDrawChannels"][1]["call_args"] = "(table)" defs["igTableMergeDrawChannels"][1]["cimguiname"] = "igTableMergeDrawChannels" defs["igTableMergeDrawChannels"][1]["defaults"] = {} defs["igTableMergeDrawChannels"][1]["funcname"] = "TableMergeDrawChannels" -defs["igTableMergeDrawChannels"][1]["location"] = "imgui_internal:2925" +defs["igTableMergeDrawChannels"][1]["location"] = "imgui_internal:3277" defs["igTableMergeDrawChannels"][1]["namespace"] = "ImGui" defs["igTableMergeDrawChannels"][1]["ov_cimguiname"] = "igTableMergeDrawChannels" defs["igTableMergeDrawChannels"][1]["ret"] = "void" @@ -27451,7 +28939,7 @@ defs["igTableOpenContextMenu"][1]["cimguiname"] = "igTableOpenContextMenu" defs["igTableOpenContextMenu"][1]["defaults"] = {} defs["igTableOpenContextMenu"][1]["defaults"]["column_n"] = "-1" defs["igTableOpenContextMenu"][1]["funcname"] = "TableOpenContextMenu" -defs["igTableOpenContextMenu"][1]["location"] = "imgui_internal:2905" +defs["igTableOpenContextMenu"][1]["location"] = "imgui_internal:3256" defs["igTableOpenContextMenu"][1]["namespace"] = "ImGui" defs["igTableOpenContextMenu"][1]["ov_cimguiname"] = "igTableOpenContextMenu" defs["igTableOpenContextMenu"][1]["ret"] = "void" @@ -27467,7 +28955,7 @@ defs["igTablePopBackgroundChannel"][1]["call_args"] = "()" defs["igTablePopBackgroundChannel"][1]["cimguiname"] = "igTablePopBackgroundChannel" defs["igTablePopBackgroundChannel"][1]["defaults"] = {} defs["igTablePopBackgroundChannel"][1]["funcname"] = "TablePopBackgroundChannel" -defs["igTablePopBackgroundChannel"][1]["location"] = "imgui_internal:2911" +defs["igTablePopBackgroundChannel"][1]["location"] = "imgui_internal:3262" defs["igTablePopBackgroundChannel"][1]["namespace"] = "ImGui" defs["igTablePopBackgroundChannel"][1]["ov_cimguiname"] = "igTablePopBackgroundChannel" defs["igTablePopBackgroundChannel"][1]["ret"] = "void" @@ -27483,7 +28971,7 @@ defs["igTablePushBackgroundChannel"][1]["call_args"] = "()" defs["igTablePushBackgroundChannel"][1]["cimguiname"] = "igTablePushBackgroundChannel" defs["igTablePushBackgroundChannel"][1]["defaults"] = {} defs["igTablePushBackgroundChannel"][1]["funcname"] = "TablePushBackgroundChannel" -defs["igTablePushBackgroundChannel"][1]["location"] = "imgui_internal:2910" +defs["igTablePushBackgroundChannel"][1]["location"] = "imgui_internal:3261" defs["igTablePushBackgroundChannel"][1]["namespace"] = "ImGui" defs["igTablePushBackgroundChannel"][1]["ov_cimguiname"] = "igTablePushBackgroundChannel" defs["igTablePushBackgroundChannel"][1]["ret"] = "void" @@ -27502,7 +28990,7 @@ defs["igTableRemove"][1]["call_args"] = "(table)" defs["igTableRemove"][1]["cimguiname"] = "igTableRemove" defs["igTableRemove"][1]["defaults"] = {} defs["igTableRemove"][1]["funcname"] = "TableRemove" -defs["igTableRemove"][1]["location"] = "imgui_internal:2941" +defs["igTableRemove"][1]["location"] = "imgui_internal:3294" defs["igTableRemove"][1]["namespace"] = "ImGui" defs["igTableRemove"][1]["ov_cimguiname"] = "igTableRemove" defs["igTableRemove"][1]["ret"] = "void" @@ -27521,7 +29009,7 @@ defs["igTableResetSettings"][1]["call_args"] = "(table)" defs["igTableResetSettings"][1]["cimguiname"] = "igTableResetSettings" defs["igTableResetSettings"][1]["defaults"] = {} defs["igTableResetSettings"][1]["funcname"] = "TableResetSettings" -defs["igTableResetSettings"][1]["location"] = "imgui_internal:2949" +defs["igTableResetSettings"][1]["location"] = "imgui_internal:3302" defs["igTableResetSettings"][1]["namespace"] = "ImGui" defs["igTableResetSettings"][1]["ov_cimguiname"] = "igTableResetSettings" defs["igTableResetSettings"][1]["ret"] = "void" @@ -27540,7 +29028,7 @@ defs["igTableSaveSettings"][1]["call_args"] = "(table)" defs["igTableSaveSettings"][1]["cimguiname"] = "igTableSaveSettings" defs["igTableSaveSettings"][1]["defaults"] = {} defs["igTableSaveSettings"][1]["funcname"] = "TableSaveSettings" -defs["igTableSaveSettings"][1]["location"] = "imgui_internal:2948" +defs["igTableSaveSettings"][1]["location"] = "imgui_internal:3301" defs["igTableSaveSettings"][1]["namespace"] = "ImGui" defs["igTableSaveSettings"][1]["ov_cimguiname"] = "igTableSaveSettings" defs["igTableSaveSettings"][1]["ret"] = "void" @@ -27566,7 +29054,7 @@ defs["igTableSetBgColor"][1]["cimguiname"] = "igTableSetBgColor" defs["igTableSetBgColor"][1]["defaults"] = {} defs["igTableSetBgColor"][1]["defaults"]["column_n"] = "-1" defs["igTableSetBgColor"][1]["funcname"] = "TableSetBgColor" -defs["igTableSetBgColor"][1]["location"] = "imgui:783" +defs["igTableSetBgColor"][1]["location"] = "imgui:780" defs["igTableSetBgColor"][1]["namespace"] = "ImGui" defs["igTableSetBgColor"][1]["ov_cimguiname"] = "igTableSetBgColor" defs["igTableSetBgColor"][1]["ret"] = "void" @@ -27588,7 +29076,7 @@ defs["igTableSetColumnEnabled"][1]["call_args"] = "(column_n,v)" defs["igTableSetColumnEnabled"][1]["cimguiname"] = "igTableSetColumnEnabled" defs["igTableSetColumnEnabled"][1]["defaults"] = {} defs["igTableSetColumnEnabled"][1]["funcname"] = "TableSetColumnEnabled" -defs["igTableSetColumnEnabled"][1]["location"] = "imgui:782" +defs["igTableSetColumnEnabled"][1]["location"] = "imgui:779" defs["igTableSetColumnEnabled"][1]["namespace"] = "ImGui" defs["igTableSetColumnEnabled"][1]["ov_cimguiname"] = "igTableSetColumnEnabled" defs["igTableSetColumnEnabled"][1]["ret"] = "void" @@ -27632,7 +29120,7 @@ defs["igTableSetColumnSortDirection"][1]["call_args"] = "(column_n,sort_directio defs["igTableSetColumnSortDirection"][1]["cimguiname"] = "igTableSetColumnSortDirection" defs["igTableSetColumnSortDirection"][1]["defaults"] = {} defs["igTableSetColumnSortDirection"][1]["funcname"] = "TableSetColumnSortDirection" -defs["igTableSetColumnSortDirection"][1]["location"] = "imgui_internal:2907" +defs["igTableSetColumnSortDirection"][1]["location"] = "imgui_internal:3258" defs["igTableSetColumnSortDirection"][1]["namespace"] = "ImGui" defs["igTableSetColumnSortDirection"][1]["ov_cimguiname"] = "igTableSetColumnSortDirection" defs["igTableSetColumnSortDirection"][1]["ret"] = "void" @@ -27654,7 +29142,7 @@ defs["igTableSetColumnWidth"][1]["call_args"] = "(column_n,width)" defs["igTableSetColumnWidth"][1]["cimguiname"] = "igTableSetColumnWidth" defs["igTableSetColumnWidth"][1]["defaults"] = {} defs["igTableSetColumnWidth"][1]["funcname"] = "TableSetColumnWidth" -defs["igTableSetColumnWidth"][1]["location"] = "imgui_internal:2906" +defs["igTableSetColumnWidth"][1]["location"] = "imgui_internal:3257" defs["igTableSetColumnWidth"][1]["namespace"] = "ImGui" defs["igTableSetColumnWidth"][1]["ov_cimguiname"] = "igTableSetColumnWidth" defs["igTableSetColumnWidth"][1]["ret"] = "void" @@ -27673,7 +29161,7 @@ defs["igTableSetColumnWidthAutoAll"][1]["call_args"] = "(table)" defs["igTableSetColumnWidthAutoAll"][1]["cimguiname"] = "igTableSetColumnWidthAutoAll" defs["igTableSetColumnWidthAutoAll"][1]["defaults"] = {} defs["igTableSetColumnWidthAutoAll"][1]["funcname"] = "TableSetColumnWidthAutoAll" -defs["igTableSetColumnWidthAutoAll"][1]["location"] = "imgui_internal:2940" +defs["igTableSetColumnWidthAutoAll"][1]["location"] = "imgui_internal:3293" defs["igTableSetColumnWidthAutoAll"][1]["namespace"] = "ImGui" defs["igTableSetColumnWidthAutoAll"][1]["ov_cimguiname"] = "igTableSetColumnWidthAutoAll" defs["igTableSetColumnWidthAutoAll"][1]["ret"] = "void" @@ -27695,13 +29183,29 @@ defs["igTableSetColumnWidthAutoSingle"][1]["call_args"] = "(table,column_n)" defs["igTableSetColumnWidthAutoSingle"][1]["cimguiname"] = "igTableSetColumnWidthAutoSingle" defs["igTableSetColumnWidthAutoSingle"][1]["defaults"] = {} defs["igTableSetColumnWidthAutoSingle"][1]["funcname"] = "TableSetColumnWidthAutoSingle" -defs["igTableSetColumnWidthAutoSingle"][1]["location"] = "imgui_internal:2939" +defs["igTableSetColumnWidthAutoSingle"][1]["location"] = "imgui_internal:3292" defs["igTableSetColumnWidthAutoSingle"][1]["namespace"] = "ImGui" defs["igTableSetColumnWidthAutoSingle"][1]["ov_cimguiname"] = "igTableSetColumnWidthAutoSingle" defs["igTableSetColumnWidthAutoSingle"][1]["ret"] = "void" defs["igTableSetColumnWidthAutoSingle"][1]["signature"] = "(ImGuiTable*,int)" defs["igTableSetColumnWidthAutoSingle"][1]["stname"] = "" defs["igTableSetColumnWidthAutoSingle"]["(ImGuiTable*,int)"] = defs["igTableSetColumnWidthAutoSingle"][1] +defs["igTableSettingsAddSettingsHandler"] = {} +defs["igTableSettingsAddSettingsHandler"][1] = {} +defs["igTableSettingsAddSettingsHandler"][1]["args"] = "()" +defs["igTableSettingsAddSettingsHandler"][1]["argsT"] = {} +defs["igTableSettingsAddSettingsHandler"][1]["argsoriginal"] = "()" +defs["igTableSettingsAddSettingsHandler"][1]["call_args"] = "()" +defs["igTableSettingsAddSettingsHandler"][1]["cimguiname"] = "igTableSettingsAddSettingsHandler" +defs["igTableSettingsAddSettingsHandler"][1]["defaults"] = {} +defs["igTableSettingsAddSettingsHandler"][1]["funcname"] = "TableSettingsAddSettingsHandler" +defs["igTableSettingsAddSettingsHandler"][1]["location"] = "imgui_internal:3304" +defs["igTableSettingsAddSettingsHandler"][1]["namespace"] = "ImGui" +defs["igTableSettingsAddSettingsHandler"][1]["ov_cimguiname"] = "igTableSettingsAddSettingsHandler" +defs["igTableSettingsAddSettingsHandler"][1]["ret"] = "void" +defs["igTableSettingsAddSettingsHandler"][1]["signature"] = "()" +defs["igTableSettingsAddSettingsHandler"][1]["stname"] = "" +defs["igTableSettingsAddSettingsHandler"]["()"] = defs["igTableSettingsAddSettingsHandler"][1] defs["igTableSettingsCreate"] = {} defs["igTableSettingsCreate"][1] = {} defs["igTableSettingsCreate"][1]["args"] = "(ImGuiID id,int columns_count)" @@ -27717,7 +29221,7 @@ defs["igTableSettingsCreate"][1]["call_args"] = "(id,columns_count)" defs["igTableSettingsCreate"][1]["cimguiname"] = "igTableSettingsCreate" defs["igTableSettingsCreate"][1]["defaults"] = {} defs["igTableSettingsCreate"][1]["funcname"] = "TableSettingsCreate" -defs["igTableSettingsCreate"][1]["location"] = "imgui_internal:2952" +defs["igTableSettingsCreate"][1]["location"] = "imgui_internal:3305" defs["igTableSettingsCreate"][1]["namespace"] = "ImGui" defs["igTableSettingsCreate"][1]["ov_cimguiname"] = "igTableSettingsCreate" defs["igTableSettingsCreate"][1]["ret"] = "ImGuiTableSettings*" @@ -27736,32 +29240,13 @@ defs["igTableSettingsFindByID"][1]["call_args"] = "(id)" defs["igTableSettingsFindByID"][1]["cimguiname"] = "igTableSettingsFindByID" defs["igTableSettingsFindByID"][1]["defaults"] = {} defs["igTableSettingsFindByID"][1]["funcname"] = "TableSettingsFindByID" -defs["igTableSettingsFindByID"][1]["location"] = "imgui_internal:2953" +defs["igTableSettingsFindByID"][1]["location"] = "imgui_internal:3306" defs["igTableSettingsFindByID"][1]["namespace"] = "ImGui" defs["igTableSettingsFindByID"][1]["ov_cimguiname"] = "igTableSettingsFindByID" defs["igTableSettingsFindByID"][1]["ret"] = "ImGuiTableSettings*" defs["igTableSettingsFindByID"][1]["signature"] = "(ImGuiID)" defs["igTableSettingsFindByID"][1]["stname"] = "" defs["igTableSettingsFindByID"]["(ImGuiID)"] = defs["igTableSettingsFindByID"][1] -defs["igTableSettingsInstallHandler"] = {} -defs["igTableSettingsInstallHandler"][1] = {} -defs["igTableSettingsInstallHandler"][1]["args"] = "(ImGuiContext* context)" -defs["igTableSettingsInstallHandler"][1]["argsT"] = {} -defs["igTableSettingsInstallHandler"][1]["argsT"][1] = {} -defs["igTableSettingsInstallHandler"][1]["argsT"][1]["name"] = "context" -defs["igTableSettingsInstallHandler"][1]["argsT"][1]["type"] = "ImGuiContext*" -defs["igTableSettingsInstallHandler"][1]["argsoriginal"] = "(ImGuiContext* context)" -defs["igTableSettingsInstallHandler"][1]["call_args"] = "(context)" -defs["igTableSettingsInstallHandler"][1]["cimguiname"] = "igTableSettingsInstallHandler" -defs["igTableSettingsInstallHandler"][1]["defaults"] = {} -defs["igTableSettingsInstallHandler"][1]["funcname"] = "TableSettingsInstallHandler" -defs["igTableSettingsInstallHandler"][1]["location"] = "imgui_internal:2951" -defs["igTableSettingsInstallHandler"][1]["namespace"] = "ImGui" -defs["igTableSettingsInstallHandler"][1]["ov_cimguiname"] = "igTableSettingsInstallHandler" -defs["igTableSettingsInstallHandler"][1]["ret"] = "void" -defs["igTableSettingsInstallHandler"][1]["signature"] = "(ImGuiContext*)" -defs["igTableSettingsInstallHandler"][1]["stname"] = "" -defs["igTableSettingsInstallHandler"]["(ImGuiContext*)"] = defs["igTableSettingsInstallHandler"][1] defs["igTableSetupColumn"] = {} defs["igTableSetupColumn"][1] = {} defs["igTableSetupColumn"][1]["args"] = "(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id)" @@ -27805,7 +29290,7 @@ defs["igTableSetupDrawChannels"][1]["call_args"] = "(table)" defs["igTableSetupDrawChannels"][1]["cimguiname"] = "igTableSetupDrawChannels" defs["igTableSetupDrawChannels"][1]["defaults"] = {} defs["igTableSetupDrawChannels"][1]["funcname"] = "TableSetupDrawChannels" -defs["igTableSetupDrawChannels"][1]["location"] = "imgui_internal:2919" +defs["igTableSetupDrawChannels"][1]["location"] = "imgui_internal:3270" defs["igTableSetupDrawChannels"][1]["namespace"] = "ImGui" defs["igTableSetupDrawChannels"][1]["ov_cimguiname"] = "igTableSetupDrawChannels" defs["igTableSetupDrawChannels"][1]["ret"] = "void" @@ -27846,7 +29331,7 @@ defs["igTableSortSpecsBuild"][1]["call_args"] = "(table)" defs["igTableSortSpecsBuild"][1]["cimguiname"] = "igTableSortSpecsBuild" defs["igTableSortSpecsBuild"][1]["defaults"] = {} defs["igTableSortSpecsBuild"][1]["funcname"] = "TableSortSpecsBuild" -defs["igTableSortSpecsBuild"][1]["location"] = "imgui_internal:2927" +defs["igTableSortSpecsBuild"][1]["location"] = "imgui_internal:3280" defs["igTableSortSpecsBuild"][1]["namespace"] = "ImGui" defs["igTableSortSpecsBuild"][1]["ov_cimguiname"] = "igTableSortSpecsBuild" defs["igTableSortSpecsBuild"][1]["ret"] = "void" @@ -27865,7 +29350,7 @@ defs["igTableSortSpecsSanitize"][1]["call_args"] = "(table)" defs["igTableSortSpecsSanitize"][1]["cimguiname"] = "igTableSortSpecsSanitize" defs["igTableSortSpecsSanitize"][1]["defaults"] = {} defs["igTableSortSpecsSanitize"][1]["funcname"] = "TableSortSpecsSanitize" -defs["igTableSortSpecsSanitize"][1]["location"] = "imgui_internal:2926" +defs["igTableSortSpecsSanitize"][1]["location"] = "imgui_internal:3279" defs["igTableSortSpecsSanitize"][1]["namespace"] = "ImGui" defs["igTableSortSpecsSanitize"][1]["ov_cimguiname"] = "igTableSortSpecsSanitize" defs["igTableSortSpecsSanitize"][1]["ret"] = "void" @@ -27884,7 +29369,7 @@ defs["igTableUpdateBorders"][1]["call_args"] = "(table)" defs["igTableUpdateBorders"][1]["cimguiname"] = "igTableUpdateBorders" defs["igTableUpdateBorders"][1]["defaults"] = {} defs["igTableUpdateBorders"][1]["funcname"] = "TableUpdateBorders" -defs["igTableUpdateBorders"][1]["location"] = "imgui_internal:2921" +defs["igTableUpdateBorders"][1]["location"] = "imgui_internal:3272" defs["igTableUpdateBorders"][1]["namespace"] = "ImGui" defs["igTableUpdateBorders"][1]["ov_cimguiname"] = "igTableUpdateBorders" defs["igTableUpdateBorders"][1]["ret"] = "void" @@ -27903,7 +29388,7 @@ defs["igTableUpdateColumnsWeightFromWidth"][1]["call_args"] = "(table)" defs["igTableUpdateColumnsWeightFromWidth"][1]["cimguiname"] = "igTableUpdateColumnsWeightFromWidth" defs["igTableUpdateColumnsWeightFromWidth"][1]["defaults"] = {} defs["igTableUpdateColumnsWeightFromWidth"][1]["funcname"] = "TableUpdateColumnsWeightFromWidth" -defs["igTableUpdateColumnsWeightFromWidth"][1]["location"] = "imgui_internal:2922" +defs["igTableUpdateColumnsWeightFromWidth"][1]["location"] = "imgui_internal:3273" defs["igTableUpdateColumnsWeightFromWidth"][1]["namespace"] = "ImGui" defs["igTableUpdateColumnsWeightFromWidth"][1]["ov_cimguiname"] = "igTableUpdateColumnsWeightFromWidth" defs["igTableUpdateColumnsWeightFromWidth"][1]["ret"] = "void" @@ -27922,7 +29407,7 @@ defs["igTableUpdateLayout"][1]["call_args"] = "(table)" defs["igTableUpdateLayout"][1]["cimguiname"] = "igTableUpdateLayout" defs["igTableUpdateLayout"][1]["defaults"] = {} defs["igTableUpdateLayout"][1]["funcname"] = "TableUpdateLayout" -defs["igTableUpdateLayout"][1]["location"] = "imgui_internal:2920" +defs["igTableUpdateLayout"][1]["location"] = "imgui_internal:3271" defs["igTableUpdateLayout"][1]["namespace"] = "ImGui" defs["igTableUpdateLayout"][1]["ov_cimguiname"] = "igTableUpdateLayout" defs["igTableUpdateLayout"][1]["ret"] = "void" @@ -27941,7 +29426,7 @@ defs["igTempInputIsActive"][1]["call_args"] = "(id)" defs["igTempInputIsActive"][1]["cimguiname"] = "igTempInputIsActive" defs["igTempInputIsActive"][1]["defaults"] = {} defs["igTempInputIsActive"][1]["funcname"] = "TempInputIsActive" -defs["igTempInputIsActive"][1]["location"] = "imgui_internal:3049" +defs["igTempInputIsActive"][1]["location"] = "imgui_internal:3398" defs["igTempInputIsActive"][1]["namespace"] = "ImGui" defs["igTempInputIsActive"][1]["ov_cimguiname"] = "igTempInputIsActive" defs["igTempInputIsActive"][1]["ret"] = "bool" @@ -27983,7 +29468,7 @@ defs["igTempInputScalar"][1]["defaults"] = {} defs["igTempInputScalar"][1]["defaults"]["p_clamp_max"] = "NULL" defs["igTempInputScalar"][1]["defaults"]["p_clamp_min"] = "NULL" defs["igTempInputScalar"][1]["funcname"] = "TempInputScalar" -defs["igTempInputScalar"][1]["location"] = "imgui_internal:3048" +defs["igTempInputScalar"][1]["location"] = "imgui_internal:3397" defs["igTempInputScalar"][1]["namespace"] = "ImGui" defs["igTempInputScalar"][1]["ov_cimguiname"] = "igTempInputScalar" defs["igTempInputScalar"][1]["ret"] = "bool" @@ -28017,13 +29502,57 @@ defs["igTempInputText"][1]["call_args"] = "(bb,id,label,buf,buf_size,flags)" defs["igTempInputText"][1]["cimguiname"] = "igTempInputText" defs["igTempInputText"][1]["defaults"] = {} defs["igTempInputText"][1]["funcname"] = "TempInputText" -defs["igTempInputText"][1]["location"] = "imgui_internal:3047" +defs["igTempInputText"][1]["location"] = "imgui_internal:3396" defs["igTempInputText"][1]["namespace"] = "ImGui" defs["igTempInputText"][1]["ov_cimguiname"] = "igTempInputText" defs["igTempInputText"][1]["ret"] = "bool" defs["igTempInputText"][1]["signature"] = "(const ImRect,ImGuiID,const char*,char*,int,ImGuiInputTextFlags)" defs["igTempInputText"][1]["stname"] = "" defs["igTempInputText"]["(const ImRect,ImGuiID,const char*,char*,int,ImGuiInputTextFlags)"] = defs["igTempInputText"][1] +defs["igTestKeyOwner"] = {} +defs["igTestKeyOwner"][1] = {} +defs["igTestKeyOwner"][1]["args"] = "(ImGuiKey key,ImGuiID owner_id)" +defs["igTestKeyOwner"][1]["argsT"] = {} +defs["igTestKeyOwner"][1]["argsT"][1] = {} +defs["igTestKeyOwner"][1]["argsT"][1]["name"] = "key" +defs["igTestKeyOwner"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igTestKeyOwner"][1]["argsT"][2] = {} +defs["igTestKeyOwner"][1]["argsT"][2]["name"] = "owner_id" +defs["igTestKeyOwner"][1]["argsT"][2]["type"] = "ImGuiID" +defs["igTestKeyOwner"][1]["argsoriginal"] = "(ImGuiKey key,ImGuiID owner_id)" +defs["igTestKeyOwner"][1]["call_args"] = "(key,owner_id)" +defs["igTestKeyOwner"][1]["cimguiname"] = "igTestKeyOwner" +defs["igTestKeyOwner"][1]["defaults"] = {} +defs["igTestKeyOwner"][1]["funcname"] = "TestKeyOwner" +defs["igTestKeyOwner"][1]["location"] = "imgui_internal:3141" +defs["igTestKeyOwner"][1]["namespace"] = "ImGui" +defs["igTestKeyOwner"][1]["ov_cimguiname"] = "igTestKeyOwner" +defs["igTestKeyOwner"][1]["ret"] = "bool" +defs["igTestKeyOwner"][1]["signature"] = "(ImGuiKey,ImGuiID)" +defs["igTestKeyOwner"][1]["stname"] = "" +defs["igTestKeyOwner"]["(ImGuiKey,ImGuiID)"] = defs["igTestKeyOwner"][1] +defs["igTestShortcutRouting"] = {} +defs["igTestShortcutRouting"][1] = {} +defs["igTestShortcutRouting"][1]["args"] = "(ImGuiKeyChord key_chord,ImGuiID owner_id)" +defs["igTestShortcutRouting"][1]["argsT"] = {} +defs["igTestShortcutRouting"][1]["argsT"][1] = {} +defs["igTestShortcutRouting"][1]["argsT"][1]["name"] = "key_chord" +defs["igTestShortcutRouting"][1]["argsT"][1]["type"] = "ImGuiKeyChord" +defs["igTestShortcutRouting"][1]["argsT"][2] = {} +defs["igTestShortcutRouting"][1]["argsT"][2]["name"] = "owner_id" +defs["igTestShortcutRouting"][1]["argsT"][2]["type"] = "ImGuiID" +defs["igTestShortcutRouting"][1]["argsoriginal"] = "(ImGuiKeyChord key_chord,ImGuiID owner_id)" +defs["igTestShortcutRouting"][1]["call_args"] = "(key_chord,owner_id)" +defs["igTestShortcutRouting"][1]["cimguiname"] = "igTestShortcutRouting" +defs["igTestShortcutRouting"][1]["defaults"] = {} +defs["igTestShortcutRouting"][1]["funcname"] = "TestShortcutRouting" +defs["igTestShortcutRouting"][1]["location"] = "imgui_internal:3169" +defs["igTestShortcutRouting"][1]["namespace"] = "ImGui" +defs["igTestShortcutRouting"][1]["ov_cimguiname"] = "igTestShortcutRouting" +defs["igTestShortcutRouting"][1]["ret"] = "bool" +defs["igTestShortcutRouting"][1]["signature"] = "(ImGuiKeyChord,ImGuiID)" +defs["igTestShortcutRouting"][1]["stname"] = "" +defs["igTestShortcutRouting"]["(ImGuiKeyChord,ImGuiID)"] = defs["igTestShortcutRouting"][1] defs["igText"] = {} defs["igText"][1] = {} defs["igText"][1]["args"] = "(const char* fmt,...)" @@ -28040,7 +29569,7 @@ defs["igText"][1]["cimguiname"] = "igText" defs["igText"][1]["defaults"] = {} defs["igText"][1]["funcname"] = "Text" defs["igText"][1]["isvararg"] = "...)" -defs["igText"][1]["location"] = "imgui:496" +defs["igText"][1]["location"] = "imgui:493" defs["igText"][1]["namespace"] = "ImGui" defs["igText"][1]["ov_cimguiname"] = "igText" defs["igText"][1]["ret"] = "void" @@ -28066,7 +29595,7 @@ defs["igTextColored"][1]["cimguiname"] = "igTextColored" defs["igTextColored"][1]["defaults"] = {} defs["igTextColored"][1]["funcname"] = "TextColored" defs["igTextColored"][1]["isvararg"] = "...)" -defs["igTextColored"][1]["location"] = "imgui:498" +defs["igTextColored"][1]["location"] = "imgui:495" defs["igTextColored"][1]["namespace"] = "ImGui" defs["igTextColored"][1]["ov_cimguiname"] = "igTextColored" defs["igTextColored"][1]["ret"] = "void" @@ -28091,7 +29620,7 @@ defs["igTextColoredV"][1]["call_args"] = "(col,fmt,args)" defs["igTextColoredV"][1]["cimguiname"] = "igTextColoredV" defs["igTextColoredV"][1]["defaults"] = {} defs["igTextColoredV"][1]["funcname"] = "TextColoredV" -defs["igTextColoredV"][1]["location"] = "imgui:499" +defs["igTextColoredV"][1]["location"] = "imgui:496" defs["igTextColoredV"][1]["namespace"] = "ImGui" defs["igTextColoredV"][1]["ov_cimguiname"] = "igTextColoredV" defs["igTextColoredV"][1]["ret"] = "void" @@ -28114,7 +29643,7 @@ defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" defs["igTextDisabled"][1]["defaults"] = {} defs["igTextDisabled"][1]["funcname"] = "TextDisabled" defs["igTextDisabled"][1]["isvararg"] = "...)" -defs["igTextDisabled"][1]["location"] = "imgui:500" +defs["igTextDisabled"][1]["location"] = "imgui:497" defs["igTextDisabled"][1]["namespace"] = "ImGui" defs["igTextDisabled"][1]["ov_cimguiname"] = "igTextDisabled" defs["igTextDisabled"][1]["ret"] = "void" @@ -28136,7 +29665,7 @@ defs["igTextDisabledV"][1]["call_args"] = "(fmt,args)" defs["igTextDisabledV"][1]["cimguiname"] = "igTextDisabledV" defs["igTextDisabledV"][1]["defaults"] = {} defs["igTextDisabledV"][1]["funcname"] = "TextDisabledV" -defs["igTextDisabledV"][1]["location"] = "imgui:501" +defs["igTextDisabledV"][1]["location"] = "imgui:498" defs["igTextDisabledV"][1]["namespace"] = "ImGui" defs["igTextDisabledV"][1]["ov_cimguiname"] = "igTextDisabledV" defs["igTextDisabledV"][1]["ret"] = "void" @@ -28163,7 +29692,7 @@ defs["igTextEx"][1]["defaults"] = {} defs["igTextEx"][1]["defaults"]["flags"] = "0" defs["igTextEx"][1]["defaults"]["text_end"] = "NULL" defs["igTextEx"][1]["funcname"] = "TextEx" -defs["igTextEx"][1]["location"] = "imgui_internal:3002" +defs["igTextEx"][1]["location"] = "imgui_internal:3350" defs["igTextEx"][1]["namespace"] = "ImGui" defs["igTextEx"][1]["ov_cimguiname"] = "igTextEx" defs["igTextEx"][1]["ret"] = "void" @@ -28186,7 +29715,7 @@ defs["igTextUnformatted"][1]["cimguiname"] = "igTextUnformatted" defs["igTextUnformatted"][1]["defaults"] = {} defs["igTextUnformatted"][1]["defaults"]["text_end"] = "NULL" defs["igTextUnformatted"][1]["funcname"] = "TextUnformatted" -defs["igTextUnformatted"][1]["location"] = "imgui:495" +defs["igTextUnformatted"][1]["location"] = "imgui:492" defs["igTextUnformatted"][1]["namespace"] = "ImGui" defs["igTextUnformatted"][1]["ov_cimguiname"] = "igTextUnformatted" defs["igTextUnformatted"][1]["ret"] = "void" @@ -28208,7 +29737,7 @@ defs["igTextV"][1]["call_args"] = "(fmt,args)" defs["igTextV"][1]["cimguiname"] = "igTextV" defs["igTextV"][1]["defaults"] = {} defs["igTextV"][1]["funcname"] = "TextV" -defs["igTextV"][1]["location"] = "imgui:497" +defs["igTextV"][1]["location"] = "imgui:494" defs["igTextV"][1]["namespace"] = "ImGui" defs["igTextV"][1]["ov_cimguiname"] = "igTextV" defs["igTextV"][1]["ret"] = "void" @@ -28231,7 +29760,7 @@ defs["igTextWrapped"][1]["cimguiname"] = "igTextWrapped" defs["igTextWrapped"][1]["defaults"] = {} defs["igTextWrapped"][1]["funcname"] = "TextWrapped" defs["igTextWrapped"][1]["isvararg"] = "...)" -defs["igTextWrapped"][1]["location"] = "imgui:502" +defs["igTextWrapped"][1]["location"] = "imgui:499" defs["igTextWrapped"][1]["namespace"] = "ImGui" defs["igTextWrapped"][1]["ov_cimguiname"] = "igTextWrapped" defs["igTextWrapped"][1]["ret"] = "void" @@ -28253,7 +29782,7 @@ defs["igTextWrappedV"][1]["call_args"] = "(fmt,args)" defs["igTextWrappedV"][1]["cimguiname"] = "igTextWrappedV" defs["igTextWrappedV"][1]["defaults"] = {} defs["igTextWrappedV"][1]["funcname"] = "TextWrappedV" -defs["igTextWrappedV"][1]["location"] = "imgui:503" +defs["igTextWrappedV"][1]["location"] = "imgui:500" defs["igTextWrappedV"][1]["namespace"] = "ImGui" defs["igTextWrappedV"][1]["ov_cimguiname"] = "igTextWrappedV" defs["igTextWrappedV"][1]["ret"] = "void" @@ -28278,7 +29807,7 @@ defs["igTranslateWindowsInViewport"][1]["call_args"] = "(viewport,old_pos,new_po defs["igTranslateWindowsInViewport"][1]["cimguiname"] = "igTranslateWindowsInViewport" defs["igTranslateWindowsInViewport"][1]["defaults"] = {} defs["igTranslateWindowsInViewport"][1]["funcname"] = "TranslateWindowsInViewport" -defs["igTranslateWindowsInViewport"][1]["location"] = "imgui_internal:2693" +defs["igTranslateWindowsInViewport"][1]["location"] = "imgui_internal:2982" defs["igTranslateWindowsInViewport"][1]["namespace"] = "ImGui" defs["igTranslateWindowsInViewport"][1]["ov_cimguiname"] = "igTranslateWindowsInViewport" defs["igTranslateWindowsInViewport"][1]["ret"] = "void" @@ -28297,9 +29826,9 @@ defs["igTreeNode"][1]["call_args"] = "(label)" defs["igTreeNode"][1]["cimguiname"] = "igTreeNode" defs["igTreeNode"][1]["defaults"] = {} defs["igTreeNode"][1]["funcname"] = "TreeNode" -defs["igTreeNode"][1]["location"] = "imgui:610" +defs["igTreeNode"][1]["location"] = "imgui:611" defs["igTreeNode"][1]["namespace"] = "ImGui" -defs["igTreeNode"][1]["ov_cimguiname"] = "igTreeNodeStr" +defs["igTreeNode"][1]["ov_cimguiname"] = "igTreeNode_Str" defs["igTreeNode"][1]["ret"] = "bool" defs["igTreeNode"][1]["signature"] = "(const char*)" defs["igTreeNode"][1]["stname"] = "" @@ -28321,9 +29850,9 @@ defs["igTreeNode"][2]["cimguiname"] = "igTreeNode" defs["igTreeNode"][2]["defaults"] = {} defs["igTreeNode"][2]["funcname"] = "TreeNode" defs["igTreeNode"][2]["isvararg"] = "...)" -defs["igTreeNode"][2]["location"] = "imgui:611" +defs["igTreeNode"][2]["location"] = "imgui:612" defs["igTreeNode"][2]["namespace"] = "ImGui" -defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNodeStrStr" +defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNode_StrStr" defs["igTreeNode"][2]["ret"] = "bool" defs["igTreeNode"][2]["signature"] = "(const char*,const char*,...)" defs["igTreeNode"][2]["stname"] = "" @@ -28345,9 +29874,9 @@ defs["igTreeNode"][3]["cimguiname"] = "igTreeNode" defs["igTreeNode"][3]["defaults"] = {} defs["igTreeNode"][3]["funcname"] = "TreeNode" defs["igTreeNode"][3]["isvararg"] = "...)" -defs["igTreeNode"][3]["location"] = "imgui:612" +defs["igTreeNode"][3]["location"] = "imgui:613" defs["igTreeNode"][3]["namespace"] = "ImGui" -defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNodePtr" +defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNode_Ptr" defs["igTreeNode"][3]["ret"] = "bool" defs["igTreeNode"][3]["signature"] = "(const void*,const char*,...)" defs["igTreeNode"][3]["stname"] = "" @@ -28376,36 +29905,13 @@ defs["igTreeNodeBehavior"][1]["cimguiname"] = "igTreeNodeBehavior" defs["igTreeNodeBehavior"][1]["defaults"] = {} defs["igTreeNodeBehavior"][1]["defaults"]["label_end"] = "NULL" defs["igTreeNodeBehavior"][1]["funcname"] = "TreeNodeBehavior" -defs["igTreeNodeBehavior"][1]["location"] = "imgui_internal:3023" +defs["igTreeNodeBehavior"][1]["location"] = "imgui_internal:3371" defs["igTreeNodeBehavior"][1]["namespace"] = "ImGui" defs["igTreeNodeBehavior"][1]["ov_cimguiname"] = "igTreeNodeBehavior" defs["igTreeNodeBehavior"][1]["ret"] = "bool" defs["igTreeNodeBehavior"][1]["signature"] = "(ImGuiID,ImGuiTreeNodeFlags,const char*,const char*)" defs["igTreeNodeBehavior"][1]["stname"] = "" defs["igTreeNodeBehavior"]["(ImGuiID,ImGuiTreeNodeFlags,const char*,const char*)"] = defs["igTreeNodeBehavior"][1] -defs["igTreeNodeBehaviorIsOpen"] = {} -defs["igTreeNodeBehaviorIsOpen"][1] = {} -defs["igTreeNodeBehaviorIsOpen"][1]["args"] = "(ImGuiID id,ImGuiTreeNodeFlags flags)" -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"] = {} -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"][1] = {} -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"][1]["name"] = "id" -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"][1]["type"] = "ImGuiID" -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"][2] = {} -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"][2]["name"] = "flags" -defs["igTreeNodeBehaviorIsOpen"][1]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" -defs["igTreeNodeBehaviorIsOpen"][1]["argsoriginal"] = "(ImGuiID id,ImGuiTreeNodeFlags flags=0)" -defs["igTreeNodeBehaviorIsOpen"][1]["call_args"] = "(id,flags)" -defs["igTreeNodeBehaviorIsOpen"][1]["cimguiname"] = "igTreeNodeBehaviorIsOpen" -defs["igTreeNodeBehaviorIsOpen"][1]["defaults"] = {} -defs["igTreeNodeBehaviorIsOpen"][1]["defaults"]["flags"] = "0" -defs["igTreeNodeBehaviorIsOpen"][1]["funcname"] = "TreeNodeBehaviorIsOpen" -defs["igTreeNodeBehaviorIsOpen"][1]["location"] = "imgui_internal:3024" -defs["igTreeNodeBehaviorIsOpen"][1]["namespace"] = "ImGui" -defs["igTreeNodeBehaviorIsOpen"][1]["ov_cimguiname"] = "igTreeNodeBehaviorIsOpen" -defs["igTreeNodeBehaviorIsOpen"][1]["ret"] = "bool" -defs["igTreeNodeBehaviorIsOpen"][1]["signature"] = "(ImGuiID,ImGuiTreeNodeFlags)" -defs["igTreeNodeBehaviorIsOpen"][1]["stname"] = "" -defs["igTreeNodeBehaviorIsOpen"]["(ImGuiID,ImGuiTreeNodeFlags)"] = defs["igTreeNodeBehaviorIsOpen"][1] defs["igTreeNodeEx"] = {} defs["igTreeNodeEx"][1] = {} defs["igTreeNodeEx"][1]["args"] = "(const char* label,ImGuiTreeNodeFlags flags)" @@ -28422,9 +29928,9 @@ defs["igTreeNodeEx"][1]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"][1]["defaults"] = {} defs["igTreeNodeEx"][1]["defaults"]["flags"] = "0" defs["igTreeNodeEx"][1]["funcname"] = "TreeNodeEx" -defs["igTreeNodeEx"][1]["location"] = "imgui:615" +defs["igTreeNodeEx"][1]["location"] = "imgui:616" defs["igTreeNodeEx"][1]["namespace"] = "ImGui" -defs["igTreeNodeEx"][1]["ov_cimguiname"] = "igTreeNodeExStr" +defs["igTreeNodeEx"][1]["ov_cimguiname"] = "igTreeNodeEx_Str" defs["igTreeNodeEx"][1]["ret"] = "bool" defs["igTreeNodeEx"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags)" defs["igTreeNodeEx"][1]["stname"] = "" @@ -28449,9 +29955,9 @@ defs["igTreeNodeEx"][2]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"][2]["defaults"] = {} defs["igTreeNodeEx"][2]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][2]["isvararg"] = "...)" -defs["igTreeNodeEx"][2]["location"] = "imgui:616" +defs["igTreeNodeEx"][2]["location"] = "imgui:617" defs["igTreeNodeEx"][2]["namespace"] = "ImGui" -defs["igTreeNodeEx"][2]["ov_cimguiname"] = "igTreeNodeExStrStr" +defs["igTreeNodeEx"][2]["ov_cimguiname"] = "igTreeNodeEx_StrStr" defs["igTreeNodeEx"][2]["ret"] = "bool" defs["igTreeNodeEx"][2]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,...)" defs["igTreeNodeEx"][2]["stname"] = "" @@ -28476,9 +29982,9 @@ defs["igTreeNodeEx"][3]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"][3]["defaults"] = {} defs["igTreeNodeEx"][3]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][3]["isvararg"] = "...)" -defs["igTreeNodeEx"][3]["location"] = "imgui:617" +defs["igTreeNodeEx"][3]["location"] = "imgui:618" defs["igTreeNodeEx"][3]["namespace"] = "ImGui" -defs["igTreeNodeEx"][3]["ov_cimguiname"] = "igTreeNodeExPtr" +defs["igTreeNodeEx"][3]["ov_cimguiname"] = "igTreeNodeEx_Ptr" defs["igTreeNodeEx"][3]["ret"] = "bool" defs["igTreeNodeEx"][3]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,...)" defs["igTreeNodeEx"][3]["stname"] = "" @@ -28506,9 +30012,9 @@ defs["igTreeNodeExV"][1]["call_args"] = "(str_id,flags,fmt,args)" defs["igTreeNodeExV"][1]["cimguiname"] = "igTreeNodeExV" defs["igTreeNodeExV"][1]["defaults"] = {} defs["igTreeNodeExV"][1]["funcname"] = "TreeNodeExV" -defs["igTreeNodeExV"][1]["location"] = "imgui:618" +defs["igTreeNodeExV"][1]["location"] = "imgui:619" defs["igTreeNodeExV"][1]["namespace"] = "ImGui" -defs["igTreeNodeExV"][1]["ov_cimguiname"] = "igTreeNodeExVStr" +defs["igTreeNodeExV"][1]["ov_cimguiname"] = "igTreeNodeExV_Str" defs["igTreeNodeExV"][1]["ret"] = "bool" defs["igTreeNodeExV"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,va_list)" defs["igTreeNodeExV"][1]["stname"] = "" @@ -28532,14 +30038,58 @@ defs["igTreeNodeExV"][2]["call_args"] = "(ptr_id,flags,fmt,args)" defs["igTreeNodeExV"][2]["cimguiname"] = "igTreeNodeExV" defs["igTreeNodeExV"][2]["defaults"] = {} defs["igTreeNodeExV"][2]["funcname"] = "TreeNodeExV" -defs["igTreeNodeExV"][2]["location"] = "imgui:619" +defs["igTreeNodeExV"][2]["location"] = "imgui:620" defs["igTreeNodeExV"][2]["namespace"] = "ImGui" -defs["igTreeNodeExV"][2]["ov_cimguiname"] = "igTreeNodeExVPtr" +defs["igTreeNodeExV"][2]["ov_cimguiname"] = "igTreeNodeExV_Ptr" defs["igTreeNodeExV"][2]["ret"] = "bool" defs["igTreeNodeExV"][2]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,va_list)" defs["igTreeNodeExV"][2]["stname"] = "" defs["igTreeNodeExV"]["(const char*,ImGuiTreeNodeFlags,const char*,va_list)"] = defs["igTreeNodeExV"][1] defs["igTreeNodeExV"]["(const void*,ImGuiTreeNodeFlags,const char*,va_list)"] = defs["igTreeNodeExV"][2] +defs["igTreeNodeSetOpen"] = {} +defs["igTreeNodeSetOpen"][1] = {} +defs["igTreeNodeSetOpen"][1]["args"] = "(ImGuiID id,bool open)" +defs["igTreeNodeSetOpen"][1]["argsT"] = {} +defs["igTreeNodeSetOpen"][1]["argsT"][1] = {} +defs["igTreeNodeSetOpen"][1]["argsT"][1]["name"] = "id" +defs["igTreeNodeSetOpen"][1]["argsT"][1]["type"] = "ImGuiID" +defs["igTreeNodeSetOpen"][1]["argsT"][2] = {} +defs["igTreeNodeSetOpen"][1]["argsT"][2]["name"] = "open" +defs["igTreeNodeSetOpen"][1]["argsT"][2]["type"] = "bool" +defs["igTreeNodeSetOpen"][1]["argsoriginal"] = "(ImGuiID id,bool open)" +defs["igTreeNodeSetOpen"][1]["call_args"] = "(id,open)" +defs["igTreeNodeSetOpen"][1]["cimguiname"] = "igTreeNodeSetOpen" +defs["igTreeNodeSetOpen"][1]["defaults"] = {} +defs["igTreeNodeSetOpen"][1]["funcname"] = "TreeNodeSetOpen" +defs["igTreeNodeSetOpen"][1]["location"] = "imgui_internal:3373" +defs["igTreeNodeSetOpen"][1]["namespace"] = "ImGui" +defs["igTreeNodeSetOpen"][1]["ov_cimguiname"] = "igTreeNodeSetOpen" +defs["igTreeNodeSetOpen"][1]["ret"] = "void" +defs["igTreeNodeSetOpen"][1]["signature"] = "(ImGuiID,bool)" +defs["igTreeNodeSetOpen"][1]["stname"] = "" +defs["igTreeNodeSetOpen"]["(ImGuiID,bool)"] = defs["igTreeNodeSetOpen"][1] +defs["igTreeNodeUpdateNextOpen"] = {} +defs["igTreeNodeUpdateNextOpen"][1] = {} +defs["igTreeNodeUpdateNextOpen"][1]["args"] = "(ImGuiID id,ImGuiTreeNodeFlags flags)" +defs["igTreeNodeUpdateNextOpen"][1]["argsT"] = {} +defs["igTreeNodeUpdateNextOpen"][1]["argsT"][1] = {} +defs["igTreeNodeUpdateNextOpen"][1]["argsT"][1]["name"] = "id" +defs["igTreeNodeUpdateNextOpen"][1]["argsT"][1]["type"] = "ImGuiID" +defs["igTreeNodeUpdateNextOpen"][1]["argsT"][2] = {} +defs["igTreeNodeUpdateNextOpen"][1]["argsT"][2]["name"] = "flags" +defs["igTreeNodeUpdateNextOpen"][1]["argsT"][2]["type"] = "ImGuiTreeNodeFlags" +defs["igTreeNodeUpdateNextOpen"][1]["argsoriginal"] = "(ImGuiID id,ImGuiTreeNodeFlags flags)" +defs["igTreeNodeUpdateNextOpen"][1]["call_args"] = "(id,flags)" +defs["igTreeNodeUpdateNextOpen"][1]["cimguiname"] = "igTreeNodeUpdateNextOpen" +defs["igTreeNodeUpdateNextOpen"][1]["defaults"] = {} +defs["igTreeNodeUpdateNextOpen"][1]["funcname"] = "TreeNodeUpdateNextOpen" +defs["igTreeNodeUpdateNextOpen"][1]["location"] = "imgui_internal:3374" +defs["igTreeNodeUpdateNextOpen"][1]["namespace"] = "ImGui" +defs["igTreeNodeUpdateNextOpen"][1]["ov_cimguiname"] = "igTreeNodeUpdateNextOpen" +defs["igTreeNodeUpdateNextOpen"][1]["ret"] = "bool" +defs["igTreeNodeUpdateNextOpen"][1]["signature"] = "(ImGuiID,ImGuiTreeNodeFlags)" +defs["igTreeNodeUpdateNextOpen"][1]["stname"] = "" +defs["igTreeNodeUpdateNextOpen"]["(ImGuiID,ImGuiTreeNodeFlags)"] = defs["igTreeNodeUpdateNextOpen"][1] defs["igTreeNodeV"] = {} defs["igTreeNodeV"][1] = {} defs["igTreeNodeV"][1]["args"] = "(const char* str_id,const char* fmt,va_list args)" @@ -28558,9 +30108,9 @@ defs["igTreeNodeV"][1]["call_args"] = "(str_id,fmt,args)" defs["igTreeNodeV"][1]["cimguiname"] = "igTreeNodeV" defs["igTreeNodeV"][1]["defaults"] = {} defs["igTreeNodeV"][1]["funcname"] = "TreeNodeV" -defs["igTreeNodeV"][1]["location"] = "imgui:613" +defs["igTreeNodeV"][1]["location"] = "imgui:614" defs["igTreeNodeV"][1]["namespace"] = "ImGui" -defs["igTreeNodeV"][1]["ov_cimguiname"] = "igTreeNodeVStr" +defs["igTreeNodeV"][1]["ov_cimguiname"] = "igTreeNodeV_Str" defs["igTreeNodeV"][1]["ret"] = "bool" defs["igTreeNodeV"][1]["signature"] = "(const char*,const char*,va_list)" defs["igTreeNodeV"][1]["stname"] = "" @@ -28581,9 +30131,9 @@ defs["igTreeNodeV"][2]["call_args"] = "(ptr_id,fmt,args)" defs["igTreeNodeV"][2]["cimguiname"] = "igTreeNodeV" defs["igTreeNodeV"][2]["defaults"] = {} defs["igTreeNodeV"][2]["funcname"] = "TreeNodeV" -defs["igTreeNodeV"][2]["location"] = "imgui:614" +defs["igTreeNodeV"][2]["location"] = "imgui:615" defs["igTreeNodeV"][2]["namespace"] = "ImGui" -defs["igTreeNodeV"][2]["ov_cimguiname"] = "igTreeNodeVPtr" +defs["igTreeNodeV"][2]["ov_cimguiname"] = "igTreeNodeV_Ptr" defs["igTreeNodeV"][2]["ret"] = "bool" defs["igTreeNodeV"][2]["signature"] = "(const void*,const char*,va_list)" defs["igTreeNodeV"][2]["stname"] = "" @@ -28598,7 +30148,7 @@ defs["igTreePop"][1]["call_args"] = "()" defs["igTreePop"][1]["cimguiname"] = "igTreePop" defs["igTreePop"][1]["defaults"] = {} defs["igTreePop"][1]["funcname"] = "TreePop" -defs["igTreePop"][1]["location"] = "imgui:622" +defs["igTreePop"][1]["location"] = "imgui:623" defs["igTreePop"][1]["namespace"] = "ImGui" defs["igTreePop"][1]["ov_cimguiname"] = "igTreePop" defs["igTreePop"][1]["ret"] = "void" @@ -28617,9 +30167,9 @@ defs["igTreePush"][1]["call_args"] = "(str_id)" defs["igTreePush"][1]["cimguiname"] = "igTreePush" defs["igTreePush"][1]["defaults"] = {} defs["igTreePush"][1]["funcname"] = "TreePush" -defs["igTreePush"][1]["location"] = "imgui:620" +defs["igTreePush"][1]["location"] = "imgui:621" defs["igTreePush"][1]["namespace"] = "ImGui" -defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" +defs["igTreePush"][1]["ov_cimguiname"] = "igTreePush_Str" defs["igTreePush"][1]["ret"] = "void" defs["igTreePush"][1]["signature"] = "(const char*)" defs["igTreePush"][1]["stname"] = "" @@ -28629,15 +30179,14 @@ defs["igTreePush"][2]["argsT"] = {} defs["igTreePush"][2]["argsT"][1] = {} defs["igTreePush"][2]["argsT"][1]["name"] = "ptr_id" defs["igTreePush"][2]["argsT"][1]["type"] = "const void*" -defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void*)0))" +defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id)" defs["igTreePush"][2]["call_args"] = "(ptr_id)" defs["igTreePush"][2]["cimguiname"] = "igTreePush" defs["igTreePush"][2]["defaults"] = {} -defs["igTreePush"][2]["defaults"]["ptr_id"] = "NULL" defs["igTreePush"][2]["funcname"] = "TreePush" -defs["igTreePush"][2]["location"] = "imgui:621" +defs["igTreePush"][2]["location"] = "imgui:622" defs["igTreePush"][2]["namespace"] = "ImGui" -defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" +defs["igTreePush"][2]["ov_cimguiname"] = "igTreePush_Ptr" defs["igTreePush"][2]["ret"] = "void" defs["igTreePush"][2]["signature"] = "(const void*)" defs["igTreePush"][2]["stname"] = "" @@ -28655,7 +30204,7 @@ defs["igTreePushOverrideID"][1]["call_args"] = "(id)" defs["igTreePushOverrideID"][1]["cimguiname"] = "igTreePushOverrideID" defs["igTreePushOverrideID"][1]["defaults"] = {} defs["igTreePushOverrideID"][1]["funcname"] = "TreePushOverrideID" -defs["igTreePushOverrideID"][1]["location"] = "imgui_internal:3025" +defs["igTreePushOverrideID"][1]["location"] = "imgui_internal:3372" defs["igTreePushOverrideID"][1]["namespace"] = "ImGui" defs["igTreePushOverrideID"][1]["ov_cimguiname"] = "igTreePushOverrideID" defs["igTreePushOverrideID"][1]["ret"] = "void" @@ -28675,7 +30224,7 @@ defs["igUnindent"][1]["cimguiname"] = "igUnindent" defs["igUnindent"][1]["defaults"] = {} defs["igUnindent"][1]["defaults"]["indent_w"] = "0.0f" defs["igUnindent"][1]["funcname"] = "Unindent" -defs["igUnindent"][1]["location"] = "imgui:456" +defs["igUnindent"][1]["location"] = "imgui:453" defs["igUnindent"][1]["namespace"] = "ImGui" defs["igUnindent"][1]["ov_cimguiname"] = "igUnindent" defs["igUnindent"][1]["ret"] = "void" @@ -28691,13 +30240,32 @@ defs["igUpdateHoveredWindowAndCaptureFlags"][1]["call_args"] = "()" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["cimguiname"] = "igUpdateHoveredWindowAndCaptureFlags" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["defaults"] = {} defs["igUpdateHoveredWindowAndCaptureFlags"][1]["funcname"] = "UpdateHoveredWindowAndCaptureFlags" -defs["igUpdateHoveredWindowAndCaptureFlags"][1]["location"] = "imgui_internal:2681" +defs["igUpdateHoveredWindowAndCaptureFlags"][1]["location"] = "imgui_internal:2970" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["namespace"] = "ImGui" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["ov_cimguiname"] = "igUpdateHoveredWindowAndCaptureFlags" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["ret"] = "void" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["signature"] = "()" defs["igUpdateHoveredWindowAndCaptureFlags"][1]["stname"] = "" defs["igUpdateHoveredWindowAndCaptureFlags"]["()"] = defs["igUpdateHoveredWindowAndCaptureFlags"][1] +defs["igUpdateInputEvents"] = {} +defs["igUpdateInputEvents"][1] = {} +defs["igUpdateInputEvents"][1]["args"] = "(bool trickle_fast_inputs)" +defs["igUpdateInputEvents"][1]["argsT"] = {} +defs["igUpdateInputEvents"][1]["argsT"][1] = {} +defs["igUpdateInputEvents"][1]["argsT"][1]["name"] = "trickle_fast_inputs" +defs["igUpdateInputEvents"][1]["argsT"][1]["type"] = "bool" +defs["igUpdateInputEvents"][1]["argsoriginal"] = "(bool trickle_fast_inputs)" +defs["igUpdateInputEvents"][1]["call_args"] = "(trickle_fast_inputs)" +defs["igUpdateInputEvents"][1]["cimguiname"] = "igUpdateInputEvents" +defs["igUpdateInputEvents"][1]["defaults"] = {} +defs["igUpdateInputEvents"][1]["funcname"] = "UpdateInputEvents" +defs["igUpdateInputEvents"][1]["location"] = "imgui_internal:2969" +defs["igUpdateInputEvents"][1]["namespace"] = "ImGui" +defs["igUpdateInputEvents"][1]["ov_cimguiname"] = "igUpdateInputEvents" +defs["igUpdateInputEvents"][1]["ret"] = "void" +defs["igUpdateInputEvents"][1]["signature"] = "(bool)" +defs["igUpdateInputEvents"][1]["stname"] = "" +defs["igUpdateInputEvents"]["(bool)"] = defs["igUpdateInputEvents"][1] defs["igUpdateMouseMovingWindowEndFrame"] = {} defs["igUpdateMouseMovingWindowEndFrame"][1] = {} defs["igUpdateMouseMovingWindowEndFrame"][1]["args"] = "()" @@ -28707,7 +30275,7 @@ defs["igUpdateMouseMovingWindowEndFrame"][1]["call_args"] = "()" defs["igUpdateMouseMovingWindowEndFrame"][1]["cimguiname"] = "igUpdateMouseMovingWindowEndFrame" defs["igUpdateMouseMovingWindowEndFrame"][1]["defaults"] = {} defs["igUpdateMouseMovingWindowEndFrame"][1]["funcname"] = "UpdateMouseMovingWindowEndFrame" -defs["igUpdateMouseMovingWindowEndFrame"][1]["location"] = "imgui_internal:2685" +defs["igUpdateMouseMovingWindowEndFrame"][1]["location"] = "imgui_internal:2974" defs["igUpdateMouseMovingWindowEndFrame"][1]["namespace"] = "ImGui" defs["igUpdateMouseMovingWindowEndFrame"][1]["ov_cimguiname"] = "igUpdateMouseMovingWindowEndFrame" defs["igUpdateMouseMovingWindowEndFrame"][1]["ret"] = "void" @@ -28723,7 +30291,7 @@ defs["igUpdateMouseMovingWindowNewFrame"][1]["call_args"] = "()" defs["igUpdateMouseMovingWindowNewFrame"][1]["cimguiname"] = "igUpdateMouseMovingWindowNewFrame" defs["igUpdateMouseMovingWindowNewFrame"][1]["defaults"] = {} defs["igUpdateMouseMovingWindowNewFrame"][1]["funcname"] = "UpdateMouseMovingWindowNewFrame" -defs["igUpdateMouseMovingWindowNewFrame"][1]["location"] = "imgui_internal:2684" +defs["igUpdateMouseMovingWindowNewFrame"][1]["location"] = "imgui_internal:2973" defs["igUpdateMouseMovingWindowNewFrame"][1]["namespace"] = "ImGui" defs["igUpdateMouseMovingWindowNewFrame"][1]["ov_cimguiname"] = "igUpdateMouseMovingWindowNewFrame" defs["igUpdateMouseMovingWindowNewFrame"][1]["ret"] = "void" @@ -28739,7 +30307,7 @@ defs["igUpdatePlatformWindows"][1]["call_args"] = "()" defs["igUpdatePlatformWindows"][1]["cimguiname"] = "igUpdatePlatformWindows" defs["igUpdatePlatformWindows"][1]["defaults"] = {} defs["igUpdatePlatformWindows"][1]["funcname"] = "UpdatePlatformWindows" -defs["igUpdatePlatformWindows"][1]["location"] = "imgui:979" +defs["igUpdatePlatformWindows"][1]["location"] = "imgui:981" defs["igUpdatePlatformWindows"][1]["namespace"] = "ImGui" defs["igUpdatePlatformWindows"][1]["ov_cimguiname"] = "igUpdatePlatformWindows" defs["igUpdatePlatformWindows"][1]["ret"] = "void" @@ -28764,7 +30332,7 @@ defs["igUpdateWindowParentAndRootLinks"][1]["call_args"] = "(window,flags,parent defs["igUpdateWindowParentAndRootLinks"][1]["cimguiname"] = "igUpdateWindowParentAndRootLinks" defs["igUpdateWindowParentAndRootLinks"][1]["defaults"] = {} defs["igUpdateWindowParentAndRootLinks"][1]["funcname"] = "UpdateWindowParentAndRootLinks" -defs["igUpdateWindowParentAndRootLinks"][1]["location"] = "imgui_internal:2648" +defs["igUpdateWindowParentAndRootLinks"][1]["location"] = "imgui_internal:2936" defs["igUpdateWindowParentAndRootLinks"][1]["namespace"] = "ImGui" defs["igUpdateWindowParentAndRootLinks"][1]["ov_cimguiname"] = "igUpdateWindowParentAndRootLinks" defs["igUpdateWindowParentAndRootLinks"][1]["ret"] = "void" @@ -28803,7 +30371,7 @@ defs["igVSliderFloat"][1]["defaults"] = {} defs["igVSliderFloat"][1]["defaults"]["flags"] = "0" defs["igVSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igVSliderFloat"][1]["funcname"] = "VSliderFloat" -defs["igVSliderFloat"][1]["location"] = "imgui:576" +defs["igVSliderFloat"][1]["location"] = "imgui:577" defs["igVSliderFloat"][1]["namespace"] = "ImGui" defs["igVSliderFloat"][1]["ov_cimguiname"] = "igVSliderFloat" defs["igVSliderFloat"][1]["ret"] = "bool" @@ -28842,7 +30410,7 @@ defs["igVSliderInt"][1]["defaults"] = {} defs["igVSliderInt"][1]["defaults"]["flags"] = "0" defs["igVSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igVSliderInt"][1]["funcname"] = "VSliderInt" -defs["igVSliderInt"][1]["location"] = "imgui:577" +defs["igVSliderInt"][1]["location"] = "imgui:578" defs["igVSliderInt"][1]["namespace"] = "ImGui" defs["igVSliderInt"][1]["ov_cimguiname"] = "igVSliderInt" defs["igVSliderInt"][1]["ret"] = "bool" @@ -28884,7 +30452,7 @@ defs["igVSliderScalar"][1]["defaults"] = {} defs["igVSliderScalar"][1]["defaults"]["flags"] = "0" defs["igVSliderScalar"][1]["defaults"]["format"] = "NULL" defs["igVSliderScalar"][1]["funcname"] = "VSliderScalar" -defs["igVSliderScalar"][1]["location"] = "imgui:578" +defs["igVSliderScalar"][1]["location"] = "imgui:579" defs["igVSliderScalar"][1]["namespace"] = "ImGui" defs["igVSliderScalar"][1]["ov_cimguiname"] = "igVSliderScalar" defs["igVSliderScalar"][1]["ret"] = "bool" @@ -28906,9 +30474,9 @@ defs["igValue"][1]["call_args"] = "(prefix,b)" defs["igValue"][1]["cimguiname"] = "igValue" defs["igValue"][1]["defaults"] = {} defs["igValue"][1]["funcname"] = "Value" -defs["igValue"][1]["location"] = "imgui:654" +defs["igValue"][1]["location"] = "imgui:655" defs["igValue"][1]["namespace"] = "ImGui" -defs["igValue"][1]["ov_cimguiname"] = "igValueBool" +defs["igValue"][1]["ov_cimguiname"] = "igValue_Bool" defs["igValue"][1]["ret"] = "void" defs["igValue"][1]["signature"] = "(const char*,bool)" defs["igValue"][1]["stname"] = "" @@ -28926,9 +30494,9 @@ defs["igValue"][2]["call_args"] = "(prefix,v)" defs["igValue"][2]["cimguiname"] = "igValue" defs["igValue"][2]["defaults"] = {} defs["igValue"][2]["funcname"] = "Value" -defs["igValue"][2]["location"] = "imgui:655" +defs["igValue"][2]["location"] = "imgui:656" defs["igValue"][2]["namespace"] = "ImGui" -defs["igValue"][2]["ov_cimguiname"] = "igValueInt" +defs["igValue"][2]["ov_cimguiname"] = "igValue_Int" defs["igValue"][2]["ret"] = "void" defs["igValue"][2]["signature"] = "(const char*,int)" defs["igValue"][2]["stname"] = "" @@ -28946,9 +30514,9 @@ defs["igValue"][3]["call_args"] = "(prefix,v)" defs["igValue"][3]["cimguiname"] = "igValue" defs["igValue"][3]["defaults"] = {} defs["igValue"][3]["funcname"] = "Value" -defs["igValue"][3]["location"] = "imgui:656" +defs["igValue"][3]["location"] = "imgui:657" defs["igValue"][3]["namespace"] = "ImGui" -defs["igValue"][3]["ov_cimguiname"] = "igValueUint" +defs["igValue"][3]["ov_cimguiname"] = "igValue_Uint" defs["igValue"][3]["ret"] = "void" defs["igValue"][3]["signature"] = "(const char*,unsigned int)" defs["igValue"][3]["stname"] = "" @@ -28970,9 +30538,9 @@ defs["igValue"][4]["cimguiname"] = "igValue" defs["igValue"][4]["defaults"] = {} defs["igValue"][4]["defaults"]["float_format"] = "NULL" defs["igValue"][4]["funcname"] = "Value" -defs["igValue"][4]["location"] = "imgui:657" +defs["igValue"][4]["location"] = "imgui:658" defs["igValue"][4]["namespace"] = "ImGui" -defs["igValue"][4]["ov_cimguiname"] = "igValueFloat" +defs["igValue"][4]["ov_cimguiname"] = "igValue_Float" defs["igValue"][4]["ret"] = "void" defs["igValue"][4]["signature"] = "(const char*,float,const char*)" defs["igValue"][4]["stname"] = "" @@ -28998,7 +30566,7 @@ defs["igWindowRectAbsToRel"][1]["call_args"] = "(window,r)" defs["igWindowRectAbsToRel"][1]["cimguiname"] = "igWindowRectAbsToRel" defs["igWindowRectAbsToRel"][1]["defaults"] = {} defs["igWindowRectAbsToRel"][1]["funcname"] = "WindowRectAbsToRel" -defs["igWindowRectAbsToRel"][1]["location"] = "imgui_internal:2658" +defs["igWindowRectAbsToRel"][1]["location"] = "imgui_internal:2946" defs["igWindowRectAbsToRel"][1]["namespace"] = "ImGui" defs["igWindowRectAbsToRel"][1]["nonUDT"] = 1 defs["igWindowRectAbsToRel"][1]["ov_cimguiname"] = "igWindowRectAbsToRel" @@ -29024,7 +30592,7 @@ defs["igWindowRectRelToAbs"][1]["call_args"] = "(window,r)" defs["igWindowRectRelToAbs"][1]["cimguiname"] = "igWindowRectRelToAbs" defs["igWindowRectRelToAbs"][1]["defaults"] = {} defs["igWindowRectRelToAbs"][1]["funcname"] = "WindowRectRelToAbs" -defs["igWindowRectRelToAbs"][1]["location"] = "imgui_internal:2659" +defs["igWindowRectRelToAbs"][1]["location"] = "imgui_internal:2947" defs["igWindowRectRelToAbs"][1]["namespace"] = "ImGui" defs["igWindowRectRelToAbs"][1]["nonUDT"] = 1 defs["igWindowRectRelToAbs"][1]["ov_cimguiname"] = "igWindowRectRelToAbs" diff --git a/imgui-sys/third-party/imgui-docking/imgui/LICENSE.txt b/imgui-sys/third-party/imgui-docking/imgui/LICENSE.txt index 780533d..4023e0c 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/LICENSE.txt +++ b/imgui-sys/third-party/imgui-docking/imgui/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2021 Omar Cornut +Copyright (c) 2014-2022 Omar Cornut Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/imgui-sys/third-party/imgui-docking/imgui/imconfig.h b/imgui-sys/third-party/imgui-docking/imgui/imconfig.h index 7082c55..ed26508 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imconfig.h +++ b/imgui-sys/third-party/imgui-docking/imgui/imconfig.h @@ -28,12 +28,13 @@ //---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names. //#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS +//#define IMGUI_DISABLE_OBSOLETE_KEYIO // 1.87: disable legacy io.KeyMap[]+io.KeysDown[] in favor io.AddKeyEvent(). This will be folded into IMGUI_DISABLE_OBSOLETE_FUNCTIONS in a few versions. -//---- Disable all of Dear ImGui or don't implement standard windows. -// It is very strongly recommended to NOT disable the demo windows during development. Please read comments in imgui_demo.cpp. +//---- Disable all of Dear ImGui or don't implement standard windows/tools. +// It is very strongly recommended to NOT disable the demo windows and debug tool during development. They are extremely useful in day to day work. Please read comments in imgui_demo.cpp. //#define IMGUI_DISABLE // Disable everything: all headers and source files will be empty. -//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. Not recommended. -//#define IMGUI_DISABLE_METRICS_WINDOW // Disable metrics/debugger and other debug tools: ShowMetricsWindow() and ShowStackToolWindow() will be empty. +//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. +//#define IMGUI_DISABLE_DEBUG_TOOLS // Disable metrics/debugger and other debug tools: ShowMetricsWindow(), ShowDebugLogWindow() and ShowStackToolWindow() will be empty (this was called IMGUI_DISABLE_METRICS_WINDOW before 1.88). //---- Don't implement some functions to reduce linkage requirements. //#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS // [Win32] Don't implement default clipboard handler. Won't use and link with OpenClipboard/GetClipboardData/CloseClipboard etc. (user32.lib/.a, kernel32.lib/.a) @@ -61,12 +62,13 @@ // By default the embedded implementations are declared static and not available outside of Dear ImGui sources files. //#define IMGUI_STB_TRUETYPE_FILENAME "my_folder/stb_truetype.h" //#define IMGUI_STB_RECT_PACK_FILENAME "my_folder/stb_rect_pack.h" +//#define IMGUI_STB_SPRINTF_FILENAME "my_folder/stb_sprintf.h" // only used if enabled //#define IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION //#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION -//---- Use stb_printf's faster implementation of vsnprintf instead of the one from libc (unless IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS is defined) -// Requires 'stb_sprintf.h' to be available in the include path. Compatibility checks of arguments and formats done by clang and GCC will be disabled in order to support the extra formats provided by STB sprintf. -// #define IMGUI_USE_STB_SPRINTF +//---- Use stb_sprintf.h for a faster implementation of vsnprintf instead of the one from libc (unless IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS is defined) +// Compatibility checks of arguments and formats done by clang and GCC will be disabled in order to support the extra formats provided by stb_sprintf.h. +//#define IMGUI_USE_STB_SPRINTF //---- Use FreeType to build and rasterize the font atlas (instead of stb_truetype which is embedded by default in Dear ImGui) // Requires FreeType headers to be available in the include path. Requires program to be compiled with 'misc/freetype/imgui_freetype.cpp' (in this repository) + the FreeType library (not provided). @@ -80,12 +82,12 @@ //---- Define constructor and implicit cast operators to convert back<>forth between your math types and ImVec2/ImVec4. // This will be inlined as part of ImVec2 and ImVec4 class declarations. /* -#define IM_VEC2_CLASS_EXTRA \ - ImVec2(const MyVec2& f) { x = f.x; y = f.y; } \ +#define IM_VEC2_CLASS_EXTRA \ + constexpr ImVec2(const MyVec2& f) : x(f.x), y(f.y) {} \ operator MyVec2() const { return MyVec2(x,y); } -#define IM_VEC4_CLASS_EXTRA \ - ImVec4(const MyVec4& f) { x = f.x; y = f.y; z = f.z; w = f.w; } \ +#define IM_VEC4_CLASS_EXTRA \ + constexpr ImVec4(const MyVec4& f) : x(f.x), y(f.y), z(f.z), w(f.w) {} \ operator MyVec4() const { return MyVec4(x,y,z,w); } */ @@ -106,11 +108,6 @@ //#define IM_DEBUG_BREAK IM_ASSERT(0) //#define IM_DEBUG_BREAK __debugbreak() -//---- Debug Tools: Have the Item Picker break in the ItemAdd() function instead of ItemHoverable(), -// (which comes earlier in the code, will catch a few extra items, allow picking items other than Hovered one.) -// This adds a small runtime cost which is why it is not enabled by default. -//#define IMGUI_DEBUG_TOOL_ITEM_PICKER_EX - //---- Debug Tools: Enable slower asserts //#define IMGUI_DEBUG_PARANOID diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui.cpp b/imgui-sys/third-party/imgui-docking/imgui/imgui.cpp index eb5c710..ecfcd50 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui.cpp +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (main code and documentation) // Help: @@ -11,7 +11,7 @@ // - FAQ http://dearimgui.org/faq // - Homepage & latest https://github.com/ocornut/imgui // - Releases & changelog https://github.com/ocornut/imgui/releases -// - Gallery https://github.com/ocornut/imgui/issues/4451 (please post your screenshots/video there!) +// - Gallery https://github.com/ocornut/imgui/issues/5243 (please post your screenshots/video there!) // - Wiki https://github.com/ocornut/imgui/wiki (lots of good stuff there) // - Glossary https://github.com/ocornut/imgui/wiki/Glossary // - Issues & support https://github.com/ocornut/imgui/issues @@ -65,11 +65,12 @@ CODE // [SECTION] MISC HELPERS/UTILITIES (Color functions) // [SECTION] ImGuiStorage // [SECTION] ImGuiTextFilter -// [SECTION] ImGuiTextBuffer +// [SECTION] ImGuiTextBuffer, ImGuiTextIndex // [SECTION] ImGuiListClipper // [SECTION] STYLING // [SECTION] RENDER HELPERS // [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) +// [SECTION] INPUTS // [SECTION] ERROR CHECKING // [SECTION] LAYOUT // [SECTION] SCROLLING @@ -79,10 +80,12 @@ CODE // [SECTION] DRAG AND DROP // [SECTION] LOGGING/CAPTURING // [SECTION] SETTINGS +// [SECTION] LOCALIZATION // [SECTION] VIEWPORTS, PLATFORM WINDOWS // [SECTION] DOCKING // [SECTION] PLATFORM DEPENDENT HELPERS // [SECTION] METRICS/DEBUGGER WINDOW +// [SECTION] DEBUG LOG WINDOW // [SECTION] OTHER DEBUG TOOLS (ITEM PICKER, STACK TOOL) */ @@ -101,6 +104,7 @@ CODE - Easy to hack and improve. - Minimize setup and maintenance. - Minimize state storage on user side. + - Minimize state synchronization. - Portable, minimize dependencies, run on target (consoles, phones, etc.). - Efficient runtime and memory consumption. @@ -124,14 +128,13 @@ CODE - Hold SHIFT or use mouse to select text. - CTRL+Left/Right to word jump. - CTRL+Shift+Left/Right to select words. - - CTRL+A our Double-Click to select all. + - CTRL+A or Double-Click to select all. - CTRL+X,CTRL+C,CTRL+V to use OS clipboard/ - CTRL+Z,CTRL+Y to undo/redo. - ESCAPE to revert text to its original value. - - You can apply arithmetic operators +,*,/ on numerical values. Use +- to subtract (because - would set a negative value!) - Controls are automatically adjusted for OSX to match standard OSX text editing operations. - General Keyboard controls: enable with ImGuiConfigFlags_NavEnableKeyboard. - - General Gamepad controls: enable with ImGuiConfigFlags_NavEnableGamepad. See suggested mappings in imgui.h ImGuiNavInput_ + download PNG/PSD at http://dearimgui.org/controls_sheets + - General Gamepad controls: enable with ImGuiConfigFlags_NavEnableGamepad. Download controller mapping PNG/PSD at http://dearimgui.org/controls_sheets PROGRAMMER GUIDE @@ -255,9 +258,9 @@ CODE io.DeltaTime = 1.0f/60.0f; // set the time elapsed since the previous frame (in seconds) io.DisplaySize.x = 1920.0f; // set the current display width io.DisplaySize.y = 1280.0f; // set the current display height here - io.MousePos = my_mouse_pos; // set the mouse position - io.MouseDown[0] = my_mouse_buttons[0]; // set the mouse button states - io.MouseDown[1] = my_mouse_buttons[1]; + io.AddMousePosEvent(mouse_x, mouse_y); // update mouse position + io.AddMouseButtonEvent(0, mouse_b[0]); // update mouse button states + io.AddMouseButtonEvent(1, mouse_b[1]); // update mouse button states // Call NewFrame(), after this point you can use ImGui::* functions anytime // (So you want to try calling NewFrame() as early as you can in your main loop to be able to use Dear ImGui everywhere) @@ -289,12 +292,14 @@ CODE --------------------------------------------- The backends in impl_impl_XXX.cpp files contain many working implementations of a rendering function. - void void MyImGuiRenderFunction(ImDrawData* draw_data) + void MyImGuiRenderFunction(ImDrawData* draw_data) { // TODO: Setup render state: alpha-blending enabled, no face culling, no depth testing, scissor enabled + // TODO: Setup texture sampling state: sample with bilinear filtering (NOT point/nearest filtering). Use 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines;' to allow point/nearest filtering. // TODO: Setup viewport covering draw_data->DisplayPos to draw_data->DisplayPos + draw_data->DisplaySize // TODO: Setup orthographic projection matrix cover draw_data->DisplayPos to draw_data->DisplayPos + draw_data->DisplaySize // TODO: Setup shader: vertex { float2 pos, float2 uv, u32 color }, fragment shader sample color from 1 texture, multiply by vertex color. + ImVec2 clip_off = draw_data->DisplayPos; for (int n = 0; n < draw_data->CmdListsCount; n++) { const ImDrawList* cmd_list = draw_data->CmdLists[n]; @@ -309,9 +314,11 @@ CODE } else { - // The texture for the draw call is specified by pcmd->GetTexID(). - // The vast majority of draw calls will use the Dear ImGui texture atlas, which value you have set yourself during initialization. - MyEngineBindTexture((MyTexture*)pcmd->GetTexID()); + // Project scissor/clipping rectangles into framebuffer space + ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); + ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); + if (clip_max.x <= clip_min.x || clip_max.y <= clip_min.y) + continue; // We are using scissoring to clip some objects. All low-level graphics API should support it. // - If your engine doesn't support scissoring yet, you may ignore this at first. You will get some small glitches @@ -322,14 +329,16 @@ CODE // - In the interest of supporting multi-viewport applications (see 'docking' branch on github), // always subtract draw_data->DisplayPos from clipping bounds to convert them to your viewport space. // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) - ImVec2 pos = draw_data->DisplayPos; - MyEngineScissor((int)(pcmd->ClipRect.x - pos.x), (int)(pcmd->ClipRect.y - pos.y), (int)(pcmd->ClipRect.z - pos.x), (int)(pcmd->ClipRect.w - pos.y)); + MyEngineSetScissor(clip_min.x, clip_min.y, clip_max.x, clip_max.y); + + // The texture for the draw call is specified by pcmd->GetTexID(). + // The vast majority of draw calls will use the Dear ImGui texture atlas, which value you have set yourself during initialization. + MyEngineBindTexture((MyTexture*)pcmd->GetTexID()); // Render 'pcmd->ElemCount/3' indexed triangles. // By default the indices ImDrawIdx are 16-bit, you can change them to 32-bit in imconfig.h if your engine doesn't support 16-bit indices. - MyEngineDrawIndexedTriangles(pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer, vtx_buffer); + MyEngineDrawIndexedTriangles(pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer + pcmd->IdxOffset, vtx_buffer, pcmd->VtxOffset); } - idx_buffer += pcmd->ElemCount; } } } @@ -338,31 +347,27 @@ CODE USING GAMEPAD/KEYBOARD NAVIGATION CONTROLS ------------------------------------------ - The gamepad/keyboard navigation is fairly functional and keeps being improved. - - Gamepad support is particularly useful to use Dear ImGui on a console system (e.g. PS4, Switch, XB1) without a mouse! - - You can ask questions and report issues at https://github.com/ocornut/imgui/issues/787 + - Gamepad support is particularly useful to use Dear ImGui on a console system (e.g. PlayStation, Switch, Xbox) without a mouse! - The initial focus was to support game controllers, but keyboard is becoming increasingly and decently usable. - Keyboard: - - Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. - NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. - - When keyboard navigation is active (io.NavActive + ImGuiConfigFlags_NavEnableKeyboard), the io.WantCaptureKeyboard flag - will be set. For more advanced uses, you may want to read from: + - Application: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. + - When keyboard navigation is active (io.NavActive + ImGuiConfigFlags_NavEnableKeyboard), + the io.WantCaptureKeyboard flag will be set. For more advanced uses, you may want to read from: - io.NavActive: true when a window is focused and it doesn't have the ImGuiWindowFlags_NoNavInputs flag set. - io.NavVisible: true when the navigation cursor is visible (and usually goes false when mouse is used). - or query focus information with e.g. IsWindowFocused(ImGuiFocusedFlags_AnyWindow), IsItemFocused() etc. functions. Please reach out if you think the game vs navigation input sharing could be improved. - Gamepad: - - Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. - - Backend: Set io.BackendFlags |= ImGuiBackendFlags_HasGamepad + fill the io.NavInputs[] fields before calling NewFrame(). - Note that io.NavInputs[] is cleared by EndFrame(). - - See 'enum ImGuiNavInput_' in imgui.h for a description of inputs. For each entry of io.NavInputs[], set the following values: - 0.0f= not held. 1.0f= fully held. Pass intermediate 0.0f..1.0f values for analog triggers/sticks. - - We use a simple >0.0f test for activation testing, and won't attempt to test for a dead-zone. - Your code will probably need to transform your raw inputs (such as e.g. remapping your 0.2..0.9 raw input range to 0.0..1.0 imgui range, etc.). + - Application: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. + - Backend: Set io.BackendFlags |= ImGuiBackendFlags_HasGamepad + call io.AddKeyEvent/AddKeyAnalogEvent() with ImGuiKey_Gamepad_XXX keys. + For analog values (0.0f to 1.0f), backend is responsible to handling a dead-zone and rescaling inputs accordingly. + Backend code will probably need to transform your raw inputs (such as e.g. remapping your 0.2..0.9 raw input range to 0.0..1.0 imgui range, etc.). + - BEFORE 1.87, BACKENDS USED TO WRITE TO io.NavInputs[]. This is now obsolete. Please call io functions instead! - You can download PNG/PSD files depicting the gamepad controls for common controllers at: http://dearimgui.org/controls_sheets - - If you need to share inputs between your game and the imgui parts, the easiest approach is to go all-or-nothing, with a buttons combo - to toggle the target. Please reach out if you think the game vs navigation input sharing could be improved. + - If you need to share inputs between your game and the Dear ImGui interface, the easiest approach is to go all-or-nothing, + with a buttons combo to toggle the target. Please reach out if you think the game vs navigation input sharing could be improved. - Mouse: - - PS4 users: Consider emulating a mouse cursor with DualShock4 touch pad or a spare analog stick as a mouse-emulation fallback. + - PS4/PS5 users: Consider emulating a mouse cursor with DualShock4 touch pad or a spare analog stick as a mouse-emulation fallback. - Consoles/Tablet/Phone users: Consider using a Synergy 1.x server (on your PC) + uSynergy.c (on your console/tablet/phone app) to share your PC mouse/keyboard. - On a TV/console system where readability may be lower or mouse inputs may be awkward, you may want to set the ImGuiConfigFlags_NavEnableSetMousePos flag. Enabling ImGuiConfigFlags_NavEnableSetMousePos + ImGuiBackendFlags_HasSetMousePos instructs dear imgui to move your mouse cursor along with navigation movements. @@ -382,14 +387,80 @@ CODE You can read releases logs https://github.com/ocornut/imgui/releases for more details. (Docking/Viewport Branch) - - 2021/XX/XX (1.XX) - when multi-viewports are enabled, all positions will be in your natural OS coordinates space. It means that: + - 2022/XX/XX (1.XX) - when multi-viewports are enabled, all positions will be in your natural OS coordinates space. It means that: - reference to hard-coded positions such as in SetNextWindowPos(ImVec2(0,0)) are probably not what you want anymore. you may use GetMainViewport()->Pos to offset hard-coded positions, e.g. SetNextWindowPos(GetMainViewport()->Pos) - likewise io.MousePos and GetMousePos() will use OS coordinates. If you query mouse positions to interact with non-imgui coordinates you will need to offset them, e.g. subtract GetWindowViewport()->Pos. - - 2021/XX/XX (1.XX) - Moved IME support functions from io.ImeSetInputScreenPosFn, io.ImeWindowHandle to the PlatformIO api. - + - 2022/10/26 (1.89) - commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79. + - 2022/10/12 (1.89) - removed runtime patching of invalid "%f"/"%0.f" format strings for DragInt()/SliderInt(). This was obsoleted in 1.61 (May 2018). See 1.61 changelog for details. + - 2022/09/26 (1.89) - renamed and merged keyboard modifiers key enums and flags into a same set. Kept inline redirection enums (will obsolete). + - ImGuiKey_ModCtrl and ImGuiModFlags_Ctrl -> ImGuiMod_Ctrl + - ImGuiKey_ModShift and ImGuiModFlags_Shift -> ImGuiMod_Shift + - ImGuiKey_ModAlt and ImGuiModFlags_Alt -> ImGuiMod_Alt + - ImGuiKey_ModSuper and ImGuiModFlags_Super -> ImGuiMod_Super + the ImGuiKey_ModXXX were introduced in 1.87 and mostly used by backends. + the ImGuiModFlags_XXX have been exposed in imgui.h but not really used by any public api only by third-party extensions. + exceptionally commenting out the older ImGuiKeyModFlags_XXX names ahead of obsolescence schedule to reduce confusion and because they were not meant to be used anyway. + - 2022/09/12 (1.89) - removed the bizarre legacy default argument for 'TreePush(const void* ptr = NULL)', always pass a pointer value explicitly. NULL/nullptr is ok but require cast, e.g. TreePush((void*)nullptr); + - 2022/09/05 (1.89) - commented out redirecting functions/enums names that were marked obsolete in 1.77 and 1.78 (June 2020): + - DragScalar(), DragScalarN(), DragFloat(), DragFloat2(), DragFloat3(), DragFloat4(): For old signatures ending with (..., const char* format, float power = 1.0f) -> use (..., format ImGuiSliderFlags_Logarithmic) if power != 1.0f. + - SliderScalar(), SliderScalarN(), SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4(): For old signatures ending with (..., const char* format, float power = 1.0f) -> use (..., format ImGuiSliderFlags_Logarithmic) if power != 1.0f. + - BeginPopupContextWindow(const char*, ImGuiMouseButton, bool) -> use BeginPopupContextWindow(const char*, ImGuiPopupFlags) + - 2022/09/02 (1.89) - obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. + this relates to when moving the cursor position beyond current boundaries WITHOUT submitting an item. + - previously this would make the window content size ~200x200: + Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + End(); + - instead, please submit an item: + Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + Dummy(ImVec2(0,0)) + End(); + - alternative: + Begin(...) + Dummy(ImVec2(200,200)) + End(); + - content size is now only extended when submitting an item! + - with '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will now be detected and assert. + - without '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will silently be fixed until we obsolete it. + - 2022/08/03 (1.89) - changed signature of ImageButton() function. Kept redirection function (will obsolete). + - added 'const char* str_id' parameter + removed 'int frame_padding = -1' parameter. + - old signature: bool ImageButton(ImTextureID tex_id, ImVec2 size, ImVec2 uv0 = ImVec2(0,0), ImVec2 uv1 = ImVec2(1,1), int frame_padding = -1, ImVec4 bg_col = ImVec4(0,0,0,0), ImVec4 tint_col = ImVec4(1,1,1,1)); + - used the ImTextureID value to create an ID. This was inconsistent with other functions, led to ID conflicts, and caused problems with engines using transient ImTextureID values. + - had a FramePadding override which was inconsistent with other functions and made the already-long signature even longer. + - new signature: bool ImageButton(const char* str_id, ImTextureID tex_id, ImVec2 size, ImVec2 uv0 = ImVec2(0,0), ImVec2 uv1 = ImVec2(1,1), ImVec4 bg_col = ImVec4(0,0,0,0), ImVec4 tint_col = ImVec4(1,1,1,1)); + - requires an explicit identifier. You may still use e.g. PushID() calls and then pass an empty identifier. + - always uses style.FramePadding for padding, to be consistent with other buttons. You may use PushStyleVar() to alter this. + - 2022/07/08 (1.89) - inputs: removed io.NavInputs[] and ImGuiNavInput enum (following 1.87 changes). + - Official backends from 1.87+ -> no issue. + - Official backends from 1.60 to 1.86 -> will build and convert gamepad inputs, unless IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Need updating! + - Custom backends not writing to io.NavInputs[] -> no issue. + - Custom backends writing to io.NavInputs[] -> will build and convert gamepad inputs, unless IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Need fixing! + - TL;DR: Backends should call io.AddKeyEvent()/io.AddKeyAnalogEvent() with ImGuiKey_GamepadXXX values instead of filling io.NavInput[]. + - 2022/06/15 (1.88) - renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS for correctness. kept support for old define (will obsolete). + - 2022/05/03 (1.88) - backends: osx: removed ImGui_ImplOSX_HandleEvent() from backend API in favor of backend automatically handling event capture. All ImGui_ImplOSX_HandleEvent() calls should be removed as they are now unnecessary. + - 2022/04/05 (1.88) - inputs: renamed ImGuiKeyModFlags to ImGuiModFlags. Kept inline redirection enums (will obsolete). This was never used in public API functions but technically present in imgui.h and ImGuiIO. + - 2022/01/20 (1.87) - inputs: reworded gamepad IO. + - Backend writing to io.NavInputs[] -> backend should call io.AddKeyEvent()/io.AddKeyAnalogEvent() with ImGuiKey_GamepadXXX values. + - 2022/01/19 (1.87) - sliders, drags: removed support for legacy arithmetic operators (+,+-,*,/) when inputing text. This doesn't break any api/code but a feature that used to be accessible by end-users (which seemingly no one used). + - 2022/01/17 (1.87) - inputs: reworked mouse IO. + - Backend writing to io.MousePos -> backend should call io.AddMousePosEvent() + - Backend writing to io.MouseDown[] -> backend should call io.AddMouseButtonEvent() + - Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent() + - Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only] + note: for all calls to IO new functions, the Dear ImGui context should be bound/current. + read https://github.com/ocornut/imgui/issues/4921 for details. + - 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(). Removed GetKeyIndex(), now unecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details. + - IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX) + - IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX) + - Backend writing to io.KeyMap[],io.KeysDown[] -> backend should call io.AddKeyEvent() (+ call io.SetKeyEventNativeData() if you want legacy user code to stil function with legacy key codes). + - Backend writing to io.KeyCtrl, io.KeyShift.. -> backend should call io.AddKeyEvent() with ImGuiMod_XXX values. *IF YOU PULLED CODE BETWEEN 2021/01/10 and 2021/01/27: We used to have a io.AddKeyModsEvent() function which was now replaced by io.AddKeyEvent() with ImGuiMod_XXX values.* + - one case won't work with backward compatibility: if your custom backend used ImGuiKey as mock native indices (e.g. "io.KeyMap[ImGuiKey_A] = ImGuiKey_A") because those values are now larger than the legacy KeyDown[] array. Will assert. + - inputs: added ImGuiKey_ModCtrl/ImGuiKey_ModShift/ImGuiKey_ModAlt/ImGuiKey_ModSuper values to submit keyboard modifiers using io.AddKeyEvent(), instead of writing directly to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper. + - 2022/01/05 (1.87) - inputs: renamed ImGuiKey_KeyPadEnter to ImGuiKey_KeypadEnter to align with new symbols. Kept redirection enum. + - 2022/01/05 (1.87) - removed io.ImeSetInputScreenPosFn() in favor of more flexible io.SetPlatformImeDataFn(). Removed 'void* io.ImeWindowHandle' in favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'. + - 2022/01/01 (1.87) - commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72 (March-July 2019) + - ImGui::SetNextTreeNodeOpen() -> use ImGui::SetNextItemOpen() + - ImGui::GetContentRegionAvailWidth() -> use ImGui::GetContentRegionAvail().x + - ImGui::TreeAdvanceToLabelPos() -> use ImGui::SetCursorPosX(ImGui::GetCursorPosX() + ImGui::GetTreeNodeToLabelSpacing()); + - ImFontAtlas::CustomRect -> use ImFontAtlasCustomRect + - ImGuiColorEditFlags_RGB/HSV/HEX -> use ImGuiColorEditFlags_DisplayRGB/HSV/Hex - 2021/12/20 (1.86) - backends: removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. Find last supported version at https://github.com/ocornut/imgui/wiki/Bindings - 2021/11/04 (1.86) - removed CalcListClipping() function. Prefer using ImGuiListClipper which can return non-contiguous ranges. Please open an issue if you think you really need this function. - 2021/08/23 (1.85) - removed GetWindowContentRegionWidth() function. keep inline redirection helper. can use 'GetWindowContentRegionMax().x - GetWindowContentRegionMin().x' instead for generally 'GetContentRegionAvail().x' is more useful. @@ -740,7 +811,7 @@ CODE - How can I have widgets with an empty label? - How can I have multiple widgets with the same label? - How can I have multiple windows with the same label? - Q: How can I display an image? What is ImTextureID, how does it works? + Q: How can I display an image? What is ImTextureID, how does it work? Q: How can I use my own math types instead of ImVec2/ImVec4? Q: How can I interact with standard C++ types (such as std::string and std::vector)? Q: How can I display custom shapes? (using low-level ImDrawList API) @@ -799,7 +870,6 @@ CODE #include "imgui_internal.h" // System includes -#include // toupper #include // vsnprintf, sscanf, printf #if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier #include // intptr_t @@ -846,7 +916,7 @@ CODE #if defined(_MSC_VER) && _MSC_VER >= 1922 // MSVC 2019 16.2 or later #pragma warning (disable: 5054) // operator '|': deprecated between enumerations of different types #endif -#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to an 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). #pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6). #pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). #endif @@ -869,7 +939,7 @@ CODE #pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double. #pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision #elif defined(__GNUC__) -// We disable -Wpragmas because GCC doesn't provide an has_warning equivalent and some forks/patches may not following the warning/version association. +// We disable -Wpragmas because GCC doesn't provide a has_warning equivalent and some forks/patches may not follow the warning/version association. #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind #pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used #pragma GCC diagnostic ignored "-Wint-to-pointer-cast" // warning: cast to pointer from integer of different size @@ -893,7 +963,7 @@ static const float NAV_WINDOWING_LIST_APPEAR_DELAY = 0.15f; // Time // Window resizing from edges (when io.ConfigWindowsResizeFromEdges = true and ImGuiBackendFlags_HasMouseCursors is set in io.BackendFlags by backend) static const float WINDOWS_HOVER_PADDING = 4.0f; // Extend outside window for hovering/resizing (maxxed with TouchPadding) and inside windows for borders. Affect FindHoveredWindow(). static const float WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER = 0.04f; // Reduce visual noise by only highlighting the border after a certain time. -static const float WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER = 2.00f; // Lock scrolled window (so it doesn't pick child windows that are scrolling through) for a certain time, unless mouse moved. +static const float WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER = 0.70f; // Lock scrolled window (so it doesn't pick child windows that are scrolling through) for a certain time, unless mouse moved. // Docking static const float DOCKING_TRANSPARENT_PAYLOAD_ALPHA = 0.50f; // For use with io.ConfigDockingTransparentPayload. Apply to Viewport _or_ WindowBg in host viewport. @@ -921,6 +991,7 @@ static void WindowSettingsHandler_WriteAll(ImGuiContext*, ImGuiSetti // Platform Dependents default implementation for IO functions static const char* GetClipboardTextFn_DefaultImpl(void* user_data); static void SetClipboardTextFn_DefaultImpl(void* user_data, const char* text); +static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport* viewport, ImGuiPlatformImeData* data); namespace ImGui { @@ -954,6 +1025,7 @@ static void UpdateDebugToolStackQueries(); // Misc static void UpdateSettings(); +static void UpdateKeyboardInputs(); static void UpdateMouseInputs(); static void UpdateMouseWheel(); static bool UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect); @@ -1052,12 +1124,12 @@ ImGuiStyle::ImGuiStyle() ColumnsMinSpacing = 6.0f; // Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1). ScrollbarSize = 14.0f; // Width of the vertical scrollbar, Height of the horizontal scrollbar ScrollbarRounding = 9.0f; // Radius of grab corners rounding for scrollbar - GrabMinSize = 10.0f; // Minimum width/height of a grab box for slider/scrollbar + GrabMinSize = 12.0f; // Minimum width/height of a grab box for slider/scrollbar GrabRounding = 0.0f; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. LogSliderDeadzone = 4.0f; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. TabRounding = 4.0f; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. TabBorderSize = 0.0f; // Thickness of border around tabs. - TabMinWidthForCloseButton = 0.0f; // Minimum width for close button to appears on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. + TabMinWidthForCloseButton = 0.0f; // Minimum width for close button to appear on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. ColorButtonPosition = ImGuiDir_Right; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. ButtonTextAlign = ImVec2(0.5f,0.5f);// Alignment of button text when button is larger than text. SelectableTextAlign = ImVec2(0.0f,0.0f);// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. @@ -1065,7 +1137,7 @@ ImGuiStyle::ImGuiStyle() DisplaySafeAreaPadding = ImVec2(3,3); // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. MouseCursorScale = 1.0f; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. AntiAliasedLines = true; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. - AntiAliasedLinesUseTex = true; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering. + AntiAliasedLinesUseTex = true; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). AntiAliasedFill = true; // Enable anti-aliased filled shapes (rounded rectangles, circles, etc.). CurveTessellationTol = 1.25f; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. CircleTessellationMaxError = 0.30f; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. @@ -1107,7 +1179,7 @@ ImGuiIO::ImGuiIO() { // Most fields are initialized with zero memset(this, 0, sizeof(*this)); - IM_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT); // Our pre-C++11 IM_STATIC_ASSERT() macros triggers warning on modern compilers so we don't use it here. + IM_STATIC_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT); // Settings ConfigFlags = ImGuiConfigFlags_None; @@ -1119,10 +1191,14 @@ ImGuiIO::ImGuiIO() LogFilename = "imgui_log.txt"; MouseDoubleClickTime = 0.30f; MouseDoubleClickMaxDist = 6.0f; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO for (int i = 0; i < ImGuiKey_COUNT; i++) KeyMap[i] = -1; +#endif KeyRepeatDelay = 0.275f; KeyRepeatRate = 0.050f; + HoverDelayNormal = 0.30f; + HoverDelayShort = 0.10f; UserData = NULL; Fonts = NULL; @@ -1150,7 +1226,10 @@ ImGuiIO::ImGuiIO() #else ConfigMacOSXBehaviors = false; #endif + ConfigInputTrickleEventQueue = true; ConfigInputTextCursorBlink = true; + ConfigInputTextEnterKeepActive = false; + ConfigDragClickToInputText = false; ConfigWindowsResizeFromEdges = true; ConfigWindowsMoveFromTitleBarOnly = false; ConfigMemoryCompactTimer = 60.0f; @@ -1161,36 +1240,48 @@ ImGuiIO::ImGuiIO() GetClipboardTextFn = GetClipboardTextFn_DefaultImpl; // Platform dependent default implementations SetClipboardTextFn = SetClipboardTextFn_DefaultImpl; ClipboardUserData = NULL; + SetPlatformImeDataFn = SetPlatformImeDataFn_DefaultImpl; // Input (NB: we already have memset zero the entire structure!) MousePos = ImVec2(-FLT_MAX, -FLT_MAX); MousePosPrev = ImVec2(-FLT_MAX, -FLT_MAX); MouseDragThreshold = 6.0f; for (int i = 0; i < IM_ARRAYSIZE(MouseDownDuration); i++) MouseDownDuration[i] = MouseDownDurationPrev[i] = -1.0f; - for (int i = 0; i < IM_ARRAYSIZE(KeysDownDuration); i++) KeysDownDuration[i] = KeysDownDurationPrev[i] = -1.0f; - for (int i = 0; i < IM_ARRAYSIZE(NavInputsDownDuration); i++) NavInputsDownDuration[i] = -1.0f; + for (int i = 0; i < IM_ARRAYSIZE(KeysData); i++) { KeysData[i].DownDuration = KeysData[i].DownDurationPrev = -1.0f; } + AppAcceptingEvents = true; + BackendUsingLegacyKeyArrays = (ImS8)-1; + BackendUsingLegacyNavInputArray = true; // assume using legacy array until proven wrong } // Pass in translated ASCII characters for text input. // - with glfw you can get those from the callback set in glfwSetCharCallback() // - on Windows you can get those using ToAscii+keyboard state, or via the WM_CHAR message +// FIXME: Should in theory be called "AddCharacterEvent()" to be consistent with new API void ImGuiIO::AddInputCharacter(unsigned int c) { - if (c != 0) - InputQueueCharacters.push_back(c <= IM_UNICODE_CODEPOINT_MAX ? (ImWchar)c : IM_UNICODE_CODEPOINT_INVALID); + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + if (c == 0 || !AppAcceptingEvents) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Text; + e.Source = ImGuiInputSource_Keyboard; + e.Text.Char = c; + g.InputEventsQueue.push_back(e); } // UTF16 strings use surrogate pairs to encode codepoints >= 0x10000, so // we should save the high surrogate. void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) { - if (c == 0 && InputQueueSurrogate == 0) + if ((c == 0 && InputQueueSurrogate == 0) || !AppAcceptingEvents) return; if ((c & 0xFC00) == 0xD800) // High surrogate, must save { if (InputQueueSurrogate != 0) - InputQueueCharacters.push_back(IM_UNICODE_CODEPOINT_INVALID); + AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID); InputQueueSurrogate = c; return; } @@ -1200,7 +1291,7 @@ void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) { if ((c & 0xFC00) != 0xDC00) // Invalid low surrogate { - InputQueueCharacters.push_back(IM_UNICODE_CODEPOINT_INVALID); + AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID); } else { @@ -1213,41 +1304,250 @@ void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) InputQueueSurrogate = 0; } - InputQueueCharacters.push_back(cp); + AddInputCharacter((unsigned)cp); } void ImGuiIO::AddInputCharactersUTF8(const char* utf8_chars) { + if (!AppAcceptingEvents) + return; while (*utf8_chars != 0) { unsigned int c = 0; utf8_chars += ImTextCharFromUtf8(&c, utf8_chars, NULL); if (c != 0) - InputQueueCharacters.push_back((ImWchar)c); + AddInputCharacter(c); } } +// FIXME: Perhaps we could clear queued events as well? void ImGuiIO::ClearInputCharacters() { InputQueueCharacters.resize(0); } +// FIXME: Perhaps we could clear queued events as well? void ImGuiIO::ClearInputKeys() { +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO memset(KeysDown, 0, sizeof(KeysDown)); - for (int n = 0; n < IM_ARRAYSIZE(KeysDownDuration); n++) - KeysDownDuration[n] = KeysDownDurationPrev[n] = -1.0f; +#endif + for (int n = 0; n < IM_ARRAYSIZE(KeysData); n++) + { + KeysData[n].Down = false; + KeysData[n].DownDuration = -1.0f; + KeysData[n].DownDurationPrev = -1.0f; + } KeyCtrl = KeyShift = KeyAlt = KeySuper = false; - KeyMods = KeyModsPrev = ImGuiKeyModFlags_None; - for (int n = 0; n < IM_ARRAYSIZE(NavInputsDownDuration); n++) - NavInputsDownDuration[n] = NavInputsDownDurationPrev[n] = -1.0f; + KeyMods = ImGuiMod_None; + MousePos = ImVec2(-FLT_MAX, -FLT_MAX); + for (int n = 0; n < IM_ARRAYSIZE(MouseDown); n++) + { + MouseDown[n] = false; + MouseDownDuration[n] = MouseDownDurationPrev[n] = -1.0f; + } + MouseWheel = MouseWheelH = 0.0f; +} + +static ImGuiInputEvent* FindLatestInputEvent(ImGuiInputEventType type, int arg = -1) +{ + ImGuiContext& g = *GImGui; + for (int n = g.InputEventsQueue.Size - 1; n >= 0; n--) + { + ImGuiInputEvent* e = &g.InputEventsQueue[n]; + if (e->Type != type) + continue; + if (type == ImGuiInputEventType_Key && e->Key.Key != arg) + continue; + if (type == ImGuiInputEventType_MouseButton && e->MouseButton.Button != arg) + continue; + return e; + } + return NULL; +} + +// Queue a new key down/up event. +// - ImGuiKey key: Translated key (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) +// - bool down: Is the key down? use false to signify a key release. +// - float analog_value: 0.0f..1.0f +void ImGuiIO::AddKeyAnalogEvent(ImGuiKey key, bool down, float analog_value) +{ + //if (e->Down) { IMGUI_DEBUG_LOG_IO("AddKeyEvent() Key='%s' %d, NativeKeycode = %d, NativeScancode = %d\n", ImGui::GetKeyName(e->Key), e->Down, e->NativeKeycode, e->NativeScancode); } + if (key == ImGuiKey_None || !AppAcceptingEvents) + return; + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + IM_ASSERT(ImGui::IsNamedKeyOrModKey(key)); // Backend needs to pass a valid ImGuiKey_ constant. 0..511 values are legacy native key codes which are not accepted by this API. + IM_ASSERT(!ImGui::IsAliasKey(key)); // Backend cannot submit ImGuiKey_MouseXXX values they are automatically inferred from AddMouseXXX() events. + + // Verify that backend isn't mixing up using new io.AddKeyEvent() api and old io.KeysDown[] + io.KeyMap[] data. +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + IM_ASSERT((BackendUsingLegacyKeyArrays == -1 || BackendUsingLegacyKeyArrays == 0) && "Backend needs to either only use io.AddKeyEvent(), either only fill legacy io.KeysDown[] + io.KeyMap[]. Not both!"); + if (BackendUsingLegacyKeyArrays == -1) + for (int n = ImGuiKey_NamedKey_BEGIN; n < ImGuiKey_NamedKey_END; n++) + IM_ASSERT(KeyMap[n] == -1 && "Backend needs to either only use io.AddKeyEvent(), either only fill legacy io.KeysDown[] + io.KeyMap[]. Not both!"); + BackendUsingLegacyKeyArrays = 0; +#endif + if (ImGui::IsGamepadKey(key)) + BackendUsingLegacyNavInputArray = false; + + // Filter duplicate (in particular: key mods and gamepad analog values are commonly spammed) + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_Key, (int)key); + const ImGuiKeyData* key_data = ImGui::GetKeyData(key); + const bool latest_key_down = latest_event ? latest_event->Key.Down : key_data->Down; + const float latest_key_analog = latest_event ? latest_event->Key.AnalogValue : key_data->AnalogValue; + if (latest_key_down == down && latest_key_analog == analog_value) + return; + + // Add event + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Key; + e.Source = ImGui::IsGamepadKey(key) ? ImGuiInputSource_Gamepad : ImGuiInputSource_Keyboard; + e.Key.Key = key; + e.Key.Down = down; + e.Key.AnalogValue = analog_value; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddKeyEvent(ImGuiKey key, bool down) +{ + if (!AppAcceptingEvents) + return; + AddKeyAnalogEvent(key, down, down ? 1.0f : 0.0f); +} + +// [Optional] Call after AddKeyEvent(). +// Specify native keycode, scancode + Specify index for legacy <1.87 IsKeyXXX() functions with native indices. +// If you are writing a backend in 2022 or don't use IsKeyXXX() with native values that are not ImGuiKey values, you can avoid calling this. +void ImGuiIO::SetKeyEventNativeData(ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index) +{ + if (key == ImGuiKey_None) + return; + IM_ASSERT(ImGui::IsNamedKey(key)); // >= 512 + IM_ASSERT(native_legacy_index == -1 || ImGui::IsLegacyKey((ImGuiKey)native_legacy_index)); // >= 0 && <= 511 + IM_UNUSED(native_keycode); // Yet unused + IM_UNUSED(native_scancode); // Yet unused + + // Build native->imgui map so old user code can still call key functions with native 0..511 values. +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + const int legacy_key = (native_legacy_index != -1) ? native_legacy_index : native_keycode; + if (!ImGui::IsLegacyKey((ImGuiKey)legacy_key)) + return; + KeyMap[legacy_key] = key; + KeyMap[key] = legacy_key; +#else + IM_UNUSED(key); + IM_UNUSED(native_legacy_index); +#endif +} + +// Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. +void ImGuiIO::SetAppAcceptingEvents(bool accepting_events) +{ + AppAcceptingEvents = accepting_events; +} + +// Queue a mouse move event +void ImGuiIO::AddMousePosEvent(float x, float y) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + if (!AppAcceptingEvents) + return; + + // Apply same flooring as UpdateMouseInputs() + ImVec2 pos((x > -FLT_MAX) ? ImFloorSigned(x) : x, (y > -FLT_MAX) ? ImFloorSigned(y) : y); + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_MousePos); + const ImVec2 latest_pos = latest_event ? ImVec2(latest_event->MousePos.PosX, latest_event->MousePos.PosY) : g.IO.MousePos; + if (latest_pos.x == pos.x && latest_pos.y == pos.y) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MousePos; + e.Source = ImGuiInputSource_Mouse; + e.MousePos.PosX = pos.x; + e.MousePos.PosY = pos.y; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddMouseButtonEvent(int mouse_button, bool down) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + IM_ASSERT(mouse_button >= 0 && mouse_button < ImGuiMouseButton_COUNT); + if (!AppAcceptingEvents) + return; + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_MouseButton, (int)mouse_button); + const bool latest_button_down = latest_event ? latest_event->MouseButton.Down : g.IO.MouseDown[mouse_button]; + if (latest_button_down == down) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseButton; + e.Source = ImGuiInputSource_Mouse; + e.MouseButton.Button = mouse_button; + e.MouseButton.Down = down; + g.InputEventsQueue.push_back(e); +} + +// Queue a mouse wheel event (most mouse/API will only have a Y component) +void ImGuiIO::AddMouseWheelEvent(float wheel_x, float wheel_y) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + + // Filter duplicate (unlike most events, wheel values are relative and easy to filter) + if (!AppAcceptingEvents || (wheel_x == 0.0f && wheel_y == 0.0f)) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseWheel; + e.Source = ImGuiInputSource_Mouse; + e.MouseWheel.WheelX = wheel_x; + e.MouseWheel.WheelY = wheel_y; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddMouseViewportEvent(ImGuiID viewport_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + IM_ASSERT(g.IO.BackendFlags & ImGuiBackendFlags_HasMouseHoveredViewport); + if (!AppAcceptingEvents) + return; + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_MouseViewport); + const ImGuiID latest_viewport_id = latest_event ? latest_event->MouseViewport.HoveredViewportID : g.IO.MouseHoveredViewport; + if (latest_viewport_id == viewport_id) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseViewport; + e.Source = ImGuiInputSource_Mouse; + e.MouseViewport.HoveredViewportID = viewport_id; + g.InputEventsQueue.push_back(e); } void ImGuiIO::AddFocusEvent(bool focused) { - // We intentionally overwrite this and process in NewFrame(), in order to give a chance - // to multi-viewports backends to queue AddFocusEvent(false),AddFocusEvent(true) in same frame. - AppFocusLost = !focused; + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_Focus); + const bool latest_focused = latest_event ? latest_event->AppFocused.Focused : !g.IO.AppFocusLost; + if (latest_focused == focused) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Focus; + e.AppFocused.Focused = focused; + g.InputEventsQueue.push_back(e); } //----------------------------------------------------------------------------- @@ -1378,14 +1678,14 @@ ImVec2 ImTriangleClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, int ImStricmp(const char* str1, const char* str2) { int d; - while ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) { str1++; str2++; } + while ((d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; } return d; } int ImStrnicmp(const char* str1, const char* str2, size_t count) { int d = 0; - while (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) { str1++; str2++; count--; } + while (count > 0 && (d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; count--; } return d; } @@ -1452,14 +1752,14 @@ const char* ImStristr(const char* haystack, const char* haystack_end, const char if (!needle_end) needle_end = needle + strlen(needle); - const char un0 = (char)toupper(*needle); + const char un0 = (char)ImToUpper(*needle); while ((!haystack_end && *haystack) || (haystack_end && haystack < haystack_end)) { - if (toupper(*haystack) == un0) + if (ImToUpper(*haystack) == un0) { const char* b = needle + 1; for (const char* a = haystack + 1; b < needle_end; a++, b++) - if (toupper(*a) != toupper(*b)) + if (ImToUpper(*a) != ImToUpper(*b)) break; if (b == needle_end) return haystack; @@ -1503,8 +1803,12 @@ const char* ImStrSkipBlank(const char* str) // designed using two-passes worst case, which probably could be improved using the stbsp_vsprintfcb() function.) #ifdef IMGUI_USE_STB_SPRINTF #define STB_SPRINTF_IMPLEMENTATION +#ifdef IMGUI_STB_SPRINTF_FILENAME +#include IMGUI_STB_SPRINTF_FILENAME +#else #include "stb_sprintf.h" #endif +#endif #if defined(_MSC_VER) && !defined(vsnprintf) #define vsnprintf _vsnprintf @@ -1544,6 +1848,25 @@ int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) } #endif // #ifdef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) +{ + ImGuiContext& g = *GImGui; + va_list args; + va_start(args, fmt); + int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args); + *out_buf = g.TempBuffer.Data; + if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; } + va_end(args); +} + +void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args); + *out_buf = g.TempBuffer.Data; + if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; } +} + // CRC32 needs a 1KB lookup table (not cache friendly) // Although the code to generate the table is simple and shorter than the table itself, using a const table allows us to easily: // - avoid an unnecessary branch/memory tap, - keep the ImHashXXX functions usable by static constructors, - make it thread-safe. @@ -2105,18 +2428,15 @@ void ImGuiStorage::SetAllInt(int v) //----------------------------------------------------------------------------- // Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -ImGuiTextFilter::ImGuiTextFilter(const char* default_filter) +ImGuiTextFilter::ImGuiTextFilter(const char* default_filter) //-V1077 { + InputBuf[0] = 0; + CountGrep = 0; if (default_filter) { ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf)); Build(); } - else - { - InputBuf[0] = 0; - CountGrep = 0; - } } bool ImGuiTextFilter::Draw(const char* label, float width) @@ -2203,7 +2523,7 @@ bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const } //----------------------------------------------------------------------------- -// [SECTION] ImGuiTextBuffer +// [SECTION] ImGuiTextBuffer, ImGuiTextIndex //----------------------------------------------------------------------------- // On some platform vsnprintf() takes va_list by reference and modifies it. @@ -2271,6 +2591,20 @@ void ImGuiTextBuffer::appendfv(const char* fmt, va_list args) va_end(args_copy); } +void ImGuiTextIndex::append(const char* base, int old_size, int new_size) +{ + IM_ASSERT(old_size >= 0 && new_size >= old_size && new_size >= EndOffset); + if (old_size == new_size) + return; + if (EndOffset == 0 || base[EndOffset - 1] == '\n') + LineOffsets.push_back(EndOffset); + const char* base_end = base + new_size; + for (const char* p = base + old_size; (p = (const char*)memchr(p, '\n', base_end - p)) != 0; ) + if (++p < base_end) // Don't push a trailing offset on last \n + LineOffsets.push_back((int)(intptr_t)(p - base)); + EndOffset = ImMax(EndOffset, new_size); +} + //----------------------------------------------------------------------------- // [SECTION] ImGuiListClipper // This is currently not as flexible/powerful as it should be and really confusing/spaghetti, mostly because we changed @@ -2287,7 +2621,7 @@ static bool GetSkipItemForListClipping() #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS // Legacy helper to calculate coarse clipping of large list of evenly sized items. -// This legacy API is not ideal because it assume we will return a single contiguous rectangle. +// This legacy API is not ideal because it assumes we will return a single contiguous rectangle. // Prefer using ImGuiListClipper which can returns non-contiguous ranges. void ImGui::CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end) { @@ -2402,13 +2736,11 @@ ImGuiListClipper::~ImGuiListClipper() End(); } -// Use case A: Begin() called from constructor with items_height<0, then called again from Step() in StepNo 1 -// Use case B: Begin() called from constructor with items_height>0 -// FIXME-LEGACY: Ideally we should remove the Begin/End functions but they are part of the legacy API we still support. This is why some of the code in Step() calling Begin() and reassign some fields, spaghetti style. void ImGuiListClipper::Begin(int items_count, float items_height) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Begin(%d,%.2f) in '%s'\n", items_count, items_height, window->Name); if (ImGuiTable* table = g.CurrentTable) if (table->IsInsideRow) @@ -2431,15 +2763,15 @@ void ImGuiListClipper::Begin(int items_count, float items_height) void ImGuiListClipper::End() { - // In theory here we should assert that we are already at the right position, but it seems saner to just seek at the end and not assert/crash the user. ImGuiContext& g = *GImGui; - if (ItemsCount >= 0 && ItemsCount < INT_MAX && DisplayStart >= 0) - ImGuiListClipper_SeekCursorForItem(this, ItemsCount); - ItemsCount = -1; - - // Restore temporary buffer and fix back pointers which may be invalidated when nesting if (ImGuiListClipperData* data = (ImGuiListClipperData*)TempData) { + // In theory here we should assert that we are already at the right position, but it seems saner to just seek at the end and not assert/crash the user. + IMGUI_DEBUG_LOG_CLIPPER("Clipper: End() in '%s'\n", g.CurrentWindow->Name); + if (ItemsCount >= 0 && ItemsCount < INT_MAX && DisplayStart >= 0) + ImGuiListClipper_SeekCursorForItem(this, ItemsCount); + + // Restore temporary buffer and fix back pointers which may be invalidated when nesting IM_ASSERT(data->ListClipper == this); data->StepNo = data->Ranges.Size; if (--g.ClipperTempDataStacked > 0) @@ -2449,6 +2781,7 @@ void ImGuiListClipper::End() } TempData = NULL; } + ItemsCount = -1; } void ImGuiListClipper::ForceDisplayRangeByIndices(int item_min, int item_max) @@ -2460,29 +2793,29 @@ void ImGuiListClipper::ForceDisplayRangeByIndices(int item_min, int item_max) data->Ranges.push_back(ImGuiListClipperRange::FromIndices(item_min, item_max)); } -bool ImGuiListClipper::Step() +static bool ImGuiListClipper_StepInternal(ImGuiListClipper* clipper) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiListClipperData* data = (ImGuiListClipperData*)TempData; + ImGuiListClipperData* data = (ImGuiListClipperData*)clipper->TempData; + IM_ASSERT(data != NULL && "Called ImGuiListClipper::Step() too many times, or before ImGuiListClipper::Begin() ?"); ImGuiTable* table = g.CurrentTable; if (table && table->IsInsideRow) ImGui::TableEndRow(table); // No items - if (ItemsCount == 0 || GetSkipItemForListClipping()) - return (void)End(), false; + if (clipper->ItemsCount == 0 || GetSkipItemForListClipping()) + return false; // While we are in frozen row state, keep displaying items one by one, unclipped // FIXME: Could be stored as a table-agnostic state. if (data->StepNo == 0 && table != NULL && !table->IsUnfrozenRows) { - DisplayStart = data->ItemsFrozen; - DisplayEnd = data->ItemsFrozen + 1; - if (DisplayStart >= ItemsCount) - return (void)End(), false; - data->ItemsFrozen++; + clipper->DisplayStart = data->ItemsFrozen; + clipper->DisplayEnd = ImMin(data->ItemsFrozen + 1, clipper->ItemsCount); + if (clipper->DisplayStart < clipper->DisplayEnd) + data->ItemsFrozen++; return true; } @@ -2490,15 +2823,13 @@ bool ImGuiListClipper::Step() bool calc_clipping = false; if (data->StepNo == 0) { - StartPosY = window->DC.CursorPos.y; - if (ItemsHeight <= 0.0f) + clipper->StartPosY = window->DC.CursorPos.y; + if (clipper->ItemsHeight <= 0.0f) { // Submit the first item (or range) so we can measure its height (generally the first range is 0..1) data->Ranges.push_front(ImGuiListClipperRange::FromIndices(data->ItemsFrozen, data->ItemsFrozen + 1)); - DisplayStart = ImMax(data->Ranges[0].Min, data->ItemsFrozen); - DisplayEnd = ImMin(data->Ranges[0].Max, ItemsCount); - if (DisplayStart == DisplayEnd) - return (void)End(), false; + clipper->DisplayStart = ImMax(data->Ranges[0].Min, data->ItemsFrozen); + clipper->DisplayEnd = ImMin(data->Ranges[0].Max, clipper->ItemsCount); data->StepNo = 1; return true; } @@ -2506,29 +2837,29 @@ bool ImGuiListClipper::Step() } // Step 1: Let the clipper infer height from first range - if (ItemsHeight <= 0.0f) + if (clipper->ItemsHeight <= 0.0f) { IM_ASSERT(data->StepNo == 1); if (table) - IM_ASSERT(table->RowPosY1 == StartPosY && table->RowPosY2 == window->DC.CursorPos.y); + IM_ASSERT(table->RowPosY1 == clipper->StartPosY && table->RowPosY2 == window->DC.CursorPos.y); - ItemsHeight = (window->DC.CursorPos.y - StartPosY) / (float)(DisplayEnd - DisplayStart); - bool affected_by_floating_point_precision = ImIsFloatAboveGuaranteedIntegerPrecision(StartPosY) || ImIsFloatAboveGuaranteedIntegerPrecision(window->DC.CursorPos.y); + clipper->ItemsHeight = (window->DC.CursorPos.y - clipper->StartPosY) / (float)(clipper->DisplayEnd - clipper->DisplayStart); + bool affected_by_floating_point_precision = ImIsFloatAboveGuaranteedIntegerPrecision(clipper->StartPosY) || ImIsFloatAboveGuaranteedIntegerPrecision(window->DC.CursorPos.y); if (affected_by_floating_point_precision) - ItemsHeight = window->DC.PrevLineSize.y + g.Style.ItemSpacing.y; // FIXME: Technically wouldn't allow multi-line entries. + clipper->ItemsHeight = window->DC.PrevLineSize.y + g.Style.ItemSpacing.y; // FIXME: Technically wouldn't allow multi-line entries. - IM_ASSERT(ItemsHeight > 0.0f && "Unable to calculate item height! First item hasn't moved the cursor vertically!"); + IM_ASSERT(clipper->ItemsHeight > 0.0f && "Unable to calculate item height! First item hasn't moved the cursor vertically!"); calc_clipping = true; // If item height had to be calculated, calculate clipping afterwards. } // Step 0 or 1: Calculate the actual ranges of visible elements. - const int already_submitted = DisplayEnd; + const int already_submitted = clipper->DisplayEnd; if (calc_clipping) { if (g.LogEnabled) { // If logging is active, do not perform any clipping - data->Ranges.push_back(ImGuiListClipperRange::FromIndices(0, ItemsCount)); + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(0, clipper->ItemsCount)); } else { @@ -2537,7 +2868,7 @@ bool ImGuiListClipper::Step() if (is_nav_request) data->Ranges.push_back(ImGuiListClipperRange::FromPositions(g.NavScoringNoClipRect.Min.y, g.NavScoringNoClipRect.Max.y, 0, 0)); if (is_nav_request && (g.NavMoveFlags & ImGuiNavMoveFlags_Tabbing) && g.NavTabbingDir == -1) - data->Ranges.push_back(ImGuiListClipperRange::FromIndices(ItemsCount - 1, ItemsCount)); + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(clipper->ItemsCount - 1, clipper->ItemsCount)); // Add focused/active item ImRect nav_rect_abs = ImGui::WindowRectRelToAbs(window, window->NavRectRel[0]); @@ -2557,10 +2888,10 @@ bool ImGuiListClipper::Step() for (int i = 0; i < data->Ranges.Size; i++) if (data->Ranges[i].PosToIndexConvert) { - int m1 = (int)(((double)data->Ranges[i].Min - window->DC.CursorPos.y - data->LossynessOffset) / ItemsHeight); - int m2 = (int)((((double)data->Ranges[i].Max - window->DC.CursorPos.y - data->LossynessOffset) / ItemsHeight) + 0.999999f); - data->Ranges[i].Min = ImClamp(already_submitted + m1 + data->Ranges[i].PosToIndexOffsetMin, already_submitted, ItemsCount - 1); - data->Ranges[i].Max = ImClamp(already_submitted + m2 + data->Ranges[i].PosToIndexOffsetMax, data->Ranges[i].Min + 1, ItemsCount); + int m1 = (int)(((double)data->Ranges[i].Min - window->DC.CursorPos.y - data->LossynessOffset) / clipper->ItemsHeight); + int m2 = (int)((((double)data->Ranges[i].Max - window->DC.CursorPos.y - data->LossynessOffset) / clipper->ItemsHeight) + 0.999999f); + data->Ranges[i].Min = ImClamp(already_submitted + m1 + data->Ranges[i].PosToIndexOffsetMin, already_submitted, clipper->ItemsCount - 1); + data->Ranges[i].Max = ImClamp(already_submitted + m2 + data->Ranges[i].PosToIndexOffsetMax, data->Ranges[i].Min + 1, clipper->ItemsCount); data->Ranges[i].PosToIndexConvert = false; } ImGuiListClipper_SortAndFuseRanges(data->Ranges, data->StepNo); @@ -2569,23 +2900,42 @@ bool ImGuiListClipper::Step() // Step 0+ (if item height is given in advance) or 1+: Display the next range in line. if (data->StepNo < data->Ranges.Size) { - DisplayStart = ImMax(data->Ranges[data->StepNo].Min, already_submitted); - DisplayEnd = ImMin(data->Ranges[data->StepNo].Max, ItemsCount); - if (DisplayStart > already_submitted) //-V1051 - ImGuiListClipper_SeekCursorForItem(this, DisplayStart); + clipper->DisplayStart = ImMax(data->Ranges[data->StepNo].Min, already_submitted); + clipper->DisplayEnd = ImMin(data->Ranges[data->StepNo].Max, clipper->ItemsCount); + if (clipper->DisplayStart > already_submitted) //-V1051 + ImGuiListClipper_SeekCursorForItem(clipper, clipper->DisplayStart); data->StepNo++; return true; } // After the last step: Let the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), // Advance the cursor to the end of the list and then returns 'false' to end the loop. - if (ItemsCount < INT_MAX) - ImGuiListClipper_SeekCursorForItem(this, ItemsCount); - ItemsCount = -1; + if (clipper->ItemsCount < INT_MAX) + ImGuiListClipper_SeekCursorForItem(clipper, clipper->ItemsCount); return false; } +bool ImGuiListClipper::Step() +{ + ImGuiContext& g = *GImGui; + bool need_items_height = (ItemsHeight <= 0.0f); + bool ret = ImGuiListClipper_StepInternal(this); + if (ret && (DisplayStart == DisplayEnd)) + ret = false; + if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n"); + if (need_items_height && ItemsHeight > 0.0f) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight); + if (ret) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd); + else + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n"); + if (!ret) + End(); + return ret; +} + //----------------------------------------------------------------------------- // [SECTION] STYLING //----------------------------------------------------------------------------- @@ -2652,6 +3002,11 @@ void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col) void ImGui::PopStyleColor(int count) { ImGuiContext& g = *GImGui; + if (g.ColorStack.Size < count) + { + IM_ASSERT_USER_ERROR(g.ColorStack.Size > count, "Calling PopStyleColor() too many times: stack underflow."); + count = g.ColorStack.Size; + } while (count > 0) { ImGuiColorMod& backup = g.ColorStack.back(); @@ -2741,6 +3096,11 @@ void ImGui::PushStyleVar(ImGuiStyleVar idx, const ImVec2& val) void ImGui::PopStyleVar(int count) { ImGuiContext& g = *GImGui; + if (g.StyleVarStack.Size < count) + { + IM_ASSERT_USER_ERROR(g.StyleVarStack.Size > count, "Calling PopStyleVar() too many times: stack underflow."); + count = g.StyleVarStack.Size; + } while (count > 0) { // We avoid a generic memcpy(data, &backup.Backup.., GDataTypeSize[info->Type] * info->Count), the overhead in Debug is not worth it. @@ -3066,6 +3426,34 @@ void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFl } } +void ImGui::RenderMouseCursor(ImVec2 base_pos, float base_scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(mouse_cursor > ImGuiMouseCursor_None && mouse_cursor < ImGuiMouseCursor_COUNT); + ImFontAtlas* font_atlas = g.DrawListSharedData.Font->ContainerAtlas; + for (int n = 0; n < g.Viewports.Size; n++) + { + // We scale cursor with current viewport/monitor, however Windows 10 for its own hardware cursor seems to be using a different scale factor. + ImVec2 offset, size, uv[4]; + if (!font_atlas->GetMouseCursorTexData(mouse_cursor, &offset, &size, &uv[0], &uv[2])) + continue; + ImGuiViewportP* viewport = g.Viewports[n]; + const ImVec2 pos = base_pos - offset; + const float scale = base_scale * viewport->DpiScale; + if (!viewport->GetMainRect().Overlaps(ImRect(pos, pos + ImVec2(size.x + 2, size.y + 2) * scale))) + continue; + ImDrawList* draw_list = GetForegroundDrawList(viewport); + ImTextureID tex_id = font_atlas->TexID; + draw_list->PushTextureID(tex_id); + draw_list->AddImage(tex_id, pos + ImVec2(1, 0) * scale, pos + (ImVec2(1, 0) + size) * scale, uv[2], uv[3], col_shadow); + draw_list->AddImage(tex_id, pos + ImVec2(2, 0) * scale, pos + (ImVec2(2, 0) + size) * scale, uv[2], uv[3], col_shadow); + draw_list->AddImage(tex_id, pos, pos + size * scale, uv[2], uv[3], col_border); + draw_list->AddImage(tex_id, pos, pos + size * scale, uv[0], uv[1], col_fill); + draw_list->PopTextureID(); + } +} + + //----------------------------------------------------------------------------- // [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) //----------------------------------------------------------------------------- @@ -3081,6 +3469,7 @@ ImGuiWindow::ImGuiWindow(ImGuiContext* context, const char* name) : DrawListInst ViewportAllowPlatformMonitorExtend = -1; ViewportPos = ImVec2(FLT_MAX, FLT_MAX); MoveId = GetID("#MOVE"); + TabId = GetID("#TAB"); ScrollTarget = ImVec2(FLT_MAX, FLT_MAX); ScrollTargetCenterRatio = ImVec2(0.5f, 0.5f); AutoFitFramesX = AutoFitFramesY = -1; @@ -3110,7 +3499,6 @@ ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end) { ImGuiID seed = IDStack.back(); ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); - ImGui::KeepAliveID(id); ImGuiContext& g = *GImGui; if (g.DebugHookIdInfo == id) ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); @@ -3121,7 +3509,6 @@ ImGuiID ImGuiWindow::GetID(const void* ptr) { ImGuiID seed = IDStack.back(); ImGuiID id = ImHashData(&ptr, sizeof(void*), seed); - ImGui::KeepAliveID(id); ImGuiContext& g = *GImGui; if (g.DebugHookIdInfo == id) ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL); @@ -3129,37 +3516,6 @@ ImGuiID ImGuiWindow::GetID(const void* ptr) } ImGuiID ImGuiWindow::GetID(int n) -{ - ImGuiID seed = IDStack.back(); - ImGuiID id = ImHashData(&n, sizeof(n), seed); - ImGui::KeepAliveID(id); - ImGuiContext& g = *GImGui; - if (g.DebugHookIdInfo == id) - ImGui::DebugHookIdInfo(id, ImGuiDataType_S32, (void*)(intptr_t)n, NULL); - return id; -} - -ImGuiID ImGuiWindow::GetIDNoKeepAlive(const char* str, const char* str_end) -{ - ImGuiID seed = IDStack.back(); - ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); - ImGuiContext& g = *GImGui; - if (g.DebugHookIdInfo == id) - ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); - return id; -} - -ImGuiID ImGuiWindow::GetIDNoKeepAlive(const void* ptr) -{ - ImGuiID seed = IDStack.back(); - ImGuiID id = ImHashData(&ptr, sizeof(void*), seed); - ImGuiContext& g = *GImGui; - if (g.DebugHookIdInfo == id) - ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL); - return id; -} - -ImGuiID ImGuiWindow::GetIDNoKeepAlive(int n) { ImGuiID seed = IDStack.back(); ImGuiID id = ImHashData(&n, sizeof(n), seed); @@ -3175,7 +3531,6 @@ ImGuiID ImGuiWindow::GetIDFromRectangle(const ImRect& r_abs) ImGuiID seed = IDStack.back(); ImRect r_rel = ImGui::WindowRectAbsToRel(this, r_abs); ImGuiID id = ImHashData(&r_rel, sizeof(r_rel), seed); - ImGui::KeepAliveID(id); return id; } @@ -3225,9 +3580,21 @@ void ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow* window) void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window) { ImGuiContext& g = *GImGui; + + // While most behaved code would make an effort to not steal active id during window move/drag operations, + // we at least need to be resilient to it. Cancelling the move is rather aggressive and users of 'master' branch + // may prefer the weird ill-defined half working situation ('docking' did assert), so may need to rework that. + if (g.MovingWindow != NULL && g.ActiveId == g.MovingWindow->MoveId) + { + IMGUI_DEBUG_LOG_ACTIVEID("SetActiveID() cancel MovingWindow\n"); + g.MovingWindow = NULL; + } + + // Set active id g.ActiveIdIsJustActivated = (g.ActiveId != id); if (g.ActiveIdIsJustActivated) { + IMGUI_DEBUG_LOG_ACTIVEID("SetActiveID() old:0x%08X (window \"%s\") -> new:0x%08X (window \"%s\")\n", g.ActiveId, g.ActiveIdWindow ? g.ActiveIdWindow->Name : "", id, window ? window->Name : ""); g.ActiveIdTimer = 0.0f; g.ActiveIdHasBeenPressedBefore = false; g.ActiveIdHasBeenEditedBefore = false; @@ -3246,15 +3613,16 @@ void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window) if (id) { g.ActiveIdIsAlive = id; - g.ActiveIdSource = (g.NavActivateId == id || g.NavActivateInputId == id || g.NavJustMovedToId == id) ? ImGuiInputSource_Nav : ImGuiInputSource_Mouse; + g.ActiveIdSource = (g.NavActivateId == id || g.NavActivateInputId == id || g.NavJustMovedToId == id) ? (ImGuiInputSource)ImGuiInputSource_Nav : ImGuiInputSource_Mouse; } // Clear declaration of inputs claimed by the widget // (Please note that this is WIP and not all keys/inputs are thoroughly declared by all widgets yet) - g.ActiveIdUsingMouseWheel = false; g.ActiveIdUsingNavDirMask = 0x00; + g.ActiveIdUsingAllKeyboardKeys = false; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO g.ActiveIdUsingNavInputMask = 0x00; - g.ActiveIdUsingKeyInputMask = 0x00; +#endif } void ImGui::ClearActiveID() @@ -3267,7 +3635,6 @@ void ImGui::SetHoveredID(ImGuiID id) ImGuiContext& g = *GImGui; g.HoveredId = id; g.HoveredIdAllowOverlap = false; - g.HoveredIdUsingMouseWheel = false; if (id != 0 && g.HoveredIdPreviousFrame != id) g.HoveredIdTimer = g.HoveredIdNotActiveTimer = 0.0f; } @@ -3278,6 +3645,8 @@ ImGuiID ImGui::GetHoveredID() return g.HoveredId ? g.HoveredId : g.HoveredIdPreviousFrame; } +// This is called by ItemAdd(). +// Code not using ItemAdd() may need to call this manually otherwise ActiveId will be cleared. In IMGUI_VERSION_NUM < 18717 this was called by GetID(). void ImGui::KeepAliveID(ImGuiID id) { ImGuiContext& g = *GImGui; @@ -3290,7 +3659,7 @@ void ImGui::KeepAliveID(ImGuiID id) void ImGui::MarkItemEdited(ImGuiID id) { // This marking is solely to be able to provide info for IsItemDeactivatedAfterEdit(). - // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data. + // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need to fill the data. ImGuiContext& g = *GImGui; IM_ASSERT(g.ActiveId == id || g.ActiveId == 0 || g.DragDropActive); IM_UNUSED(id); // Avoid unused variable warnings when asserts are compiled out. @@ -3310,11 +3679,17 @@ static inline bool IsWindowContentHoverable(ImGuiWindow* window, ImGuiHoveredFla if (focused_root_window->WasActive && focused_root_window != window->RootWindowDockTree) { // For the purpose of those flags we differentiate "standard popup" from "modal popup" - // NB: The order of those two tests is important because Modal windows are also Popups. + // NB: The 'else' is important because Modal windows are also Popups. + bool want_inhibit = false; if (focused_root_window->Flags & ImGuiWindowFlags_Modal) - return false; - if ((focused_root_window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiHoveredFlags_AllowWhenBlockedByPopup)) - return false; + want_inhibit = true; + else if ((focused_root_window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + want_inhibit = true; + + // Inhibit hover unless the window is within the stack of our modal/popup + if (want_inhibit) + if (!ImGui::IsWindowWithinBeginStackOf(window->RootWindow, focused_root_window)) + return false; } // Filter by viewport @@ -3332,7 +3707,7 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - if (g.NavDisableMouseHover && !g.NavDisableHighlight) + if (g.NavDisableMouseHover && !g.NavDisableHighlight && !(flags & ImGuiHoveredFlags_NoNavOverride)) { if ((g.LastItemData.InFlags & ImGuiItemFlags_Disabled) && !(flags & ImGuiHoveredFlags_AllowWhenDisabled)) return false; @@ -3347,6 +3722,7 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) return false; IM_ASSERT((flags & (ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_DockHierarchy)) == 0); // Flags not supported by this function + // Done with rectangle culling so we can perform heavier checks now // Test if we are hovering the right window (our window could be behind another window) // [2021/03/02] Reworked / reverted the revert, finally. Note we want e.g. BeginGroup/ItemAdd/EndGroup to work as well. (#3851) // [2017/10/16] Reverted commit 344d48be3 and testing RootWindow instead. I believe it is correct to NOT test for RootWindow but this leaves us unable @@ -3358,12 +3734,13 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) // Test if another item is active (e.g. being dragged) if ((flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem) == 0) - if (g.ActiveId != 0 && g.ActiveId != g.LastItemData.ID && !g.ActiveIdAllowOverlap && g.ActiveId != window->MoveId) - return false; + if (g.ActiveId != 0 && g.ActiveId != g.LastItemData.ID && !g.ActiveIdAllowOverlap) + if (g.ActiveId != window->MoveId && g.ActiveId != window->TabId) + return false; // Test if interactions on this window are blocked by an active popup or modal. // The ImGuiHoveredFlags_AllowWhenBlockedByPopup flag will be tested here. - if (!IsWindowContentHoverable(window, flags)) + if (!IsWindowContentHoverable(window, flags) && !(g.LastItemData.InFlags & ImGuiItemFlags_NoWindowHoverableCheck)) return false; // Test if the item is disabled @@ -3371,11 +3748,30 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) return false; // Special handling for calling after Begin() which represent the title bar or tab. - // When the window is collapsed (SkipItems==true) that last item will never be overwritten so we need to detect the case. - if ((g.LastItemData.ID == window->ID || g.LastItemData.ID == window->MoveId) && window->WriteAccessed) + // When the window is skipped/collapsed (SkipItems==true) that last item (always ->MoveId submitted by Begin) + // will never be overwritten so we need to detect the case. + if (g.LastItemData.ID == window->MoveId && window->WriteAccessed) return false; } + // Handle hover delay + // (some ideas: https://www.nngroup.com/articles/timing-exposing-content) + float delay; + if (flags & ImGuiHoveredFlags_DelayNormal) + delay = g.IO.HoverDelayNormal; + else if (flags & ImGuiHoveredFlags_DelayShort) + delay = g.IO.HoverDelayShort; + else + delay = 0.0f; + if (delay > 0.0f) + { + ImGuiID hover_delay_id = (g.LastItemData.ID != 0) ? g.LastItemData.ID : window->GetIDFromRectangle(g.LastItemData.Rect); + if ((flags & ImGuiHoveredFlags_NoSharedDelay) && (g.HoverDelayIdPreviousFrame != hover_delay_id)) + g.HoverDelayTimer = 0.0f; + g.HoverDelayId = hover_delay_id; + return g.HoverDelayTimer >= delay; + } + return true; } @@ -3393,9 +3789,10 @@ bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id) return false; if (!IsMouseHoveringRect(bb.Min, bb.Max)) return false; - if (g.NavDisableMouseHover) - return false; - if (!IsWindowContentHoverable(window, ImGuiHoveredFlags_None)) + + // Done with rectangle culling so we can perform heavier checks now. + ImGuiItemFlags item_flags = (g.LastItemData.ID == id ? g.LastItemData.InFlags : g.CurrentItemFlags); + if (!(item_flags & ImGuiItemFlags_NoWindowHoverableCheck) && !IsWindowContentHoverable(window, ImGuiHoveredFlags_None)) { g.HoveredIdDisabled = true; return false; @@ -3407,7 +3804,6 @@ bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id) SetHoveredID(id); // When disabled we'll return false but still set HoveredId - ImGuiItemFlags item_flags = (g.LastItemData.ID == id ? g.LastItemData.InFlags : g.CurrentItemFlags); if (item_flags & ImGuiItemFlags_Disabled) { // Release active id if turning disabled @@ -3422,17 +3818,20 @@ bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id) // [DEBUG] Item Picker tool! // We perform the check here because SetHoveredID() is not frequently called (1~ time a frame), making // the cost of this tool near-zero. We can get slightly better call-stack and support picking non-hovered - // items if we perform the test in ItemAdd(), but that would incur a small runtime cost. - // #define IMGUI_DEBUG_TOOL_ITEM_PICKER_EX in imconfig.h if you want this check to also be performed in ItemAdd(). + // items if we performed the test in ItemAdd(), but that would incur a small runtime cost. if (g.DebugItemPickerActive && g.HoveredIdPreviousFrame == id) GetForegroundDrawList()->AddRect(bb.Min, bb.Max, IM_COL32(255, 255, 0, 255)); if (g.DebugItemPickerBreakId == id) IM_DEBUG_BREAK(); } + if (g.NavDisableMouseHover) + return false; + return true; } +// FIXME: This is inlined/duplicated in ItemAdd() bool ImGui::IsClippedEx(const ImRect& bb, ImGuiID id) { ImGuiContext& g = *GImGui; @@ -3547,20 +3946,23 @@ void ImGui::GetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func, ImGuiMemFreeF ImGuiContext* ImGui::CreateContext(ImFontAtlas* shared_font_atlas) { + ImGuiContext* prev_ctx = GetCurrentContext(); ImGuiContext* ctx = IM_NEW(ImGuiContext)(shared_font_atlas); - if (GImGui == NULL) - SetCurrentContext(ctx); - Initialize(ctx); + SetCurrentContext(ctx); + Initialize(); + if (prev_ctx != NULL) + SetCurrentContext(prev_ctx); // Restore previous context if any, else keep new one. return ctx; } void ImGui::DestroyContext(ImGuiContext* ctx) { - if (ctx == NULL) - ctx = GImGui; - Shutdown(ctx); - if (GImGui == ctx) - SetCurrentContext(NULL); + ImGuiContext* prev_ctx = GetCurrentContext(); + if (ctx == NULL) //-V1051 + ctx = prev_ctx; + SetCurrentContext(ctx); + Shutdown(); + SetCurrentContext((prev_ctx != ctx) ? prev_ctx : NULL); IM_DELETE(ctx); } @@ -3686,7 +4088,7 @@ void ImGui::StartMouseMovingWindow(ImGuiWindow* window) g.NavDisableHighlight = true; g.ActiveIdClickOffset = g.IO.MouseClickedPos[0] - window->RootWindowDockTree->Pos; g.ActiveIdNoClearOnFocusLoss = true; - SetActiveIdUsingNavAndKeys(); + SetActiveIdUsingAllKeyboardKeys(); bool can_move_window = true; if ((window->Flags & ImGuiWindowFlags_NoMove) || (window->RootWindowDockTree->Flags & ImGuiWindowFlags_NoMove)) @@ -3741,13 +4143,12 @@ void ImGui::UpdateMouseMovingWindowNewFrame() ImGuiWindow* moving_window = g.MovingWindow->RootWindowDockTree; // When a window stop being submitted while being dragged, it may will its viewport until next Begin() - const bool window_disappared = (!moving_window->WasActive || moving_window->Viewport == NULL); + const bool window_disappared = ((!moving_window->WasActive && !moving_window->Active) || moving_window->Viewport == NULL); if (g.IO.MouseDown[0] && IsMousePosValid(&g.IO.MousePos) && !window_disappared) { ImVec2 pos = g.IO.MousePos - g.ActiveIdClickOffset; if (moving_window->Pos.x != pos.x || moving_window->Pos.y != pos.y) { - MarkIniSettingsDirty(moving_window); SetWindowPos(moving_window, pos, ImGuiCond_Always); if (moving_window->ViewportOwned) // Synchronize viewport immediately because some overlays may relies on clipping rectangle before we Begin() into the window. { @@ -3845,6 +4246,8 @@ void ImGui::UpdateMouseMovingWindowEndFrame() } } +// This is called during NewFrame()->UpdateViewportsNewFrame() only. +// Need to keep in sync with SetWindowPos() static void TranslateWindow(ImGuiWindow* window, const ImVec2& delta) { window->Pos += delta; @@ -3854,6 +4257,7 @@ static void TranslateWindow(ImGuiWindow* window, const ImVec2& delta) window->DC.CursorPos += delta; window->DC.CursorStartPos += delta; window->DC.CursorMaxPos += delta; + window->DC.IdealMaxPos += delta; } static void ScaleWindow(ImGuiWindow* window, float scale) @@ -3870,77 +4274,251 @@ static bool IsWindowActiveAndVisible(ImGuiWindow* window) return (window->Active) && (!window->Hidden); } +static void UpdateAliasKey(ImGuiKey key, bool v, float analog_value) +{ + IM_ASSERT(ImGui::IsAliasKey(key)); + ImGuiKeyData* key_data = ImGui::GetKeyData(key); + key_data->Down = v; + key_data->AnalogValue = analog_value; +} + +// Rewrite routing data buffers to strip old entries + sort by key to make queries not touch scattered data. +// Entries D,A,B,B,A,C,B --> A,A,B,B,B,C,D +// Index A:1 B:2 C:5 D:0 --> A:0 B:2 C:5 D:6 +// See 'Metrics->Key Owners & Shortcut Routing' to visualize the result of that operation. +static void UpdateKeyRoutingTable(ImGuiKeyRoutingTable* rt) +{ + ImGuiContext& g = *GImGui; + rt->EntriesNext.resize(0); + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + const int new_routing_start_idx = rt->EntriesNext.Size; + ImGuiKeyRoutingData* routing_entry; + for (int old_routing_idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; old_routing_idx != -1; old_routing_idx = routing_entry->NextEntryIndex) + { + routing_entry = &rt->Entries[old_routing_idx]; + routing_entry->RoutingCurr = routing_entry->RoutingNext; // Update entry + routing_entry->RoutingNext = ImGuiKeyOwner_None; + routing_entry->RoutingNextScore = 255; + if (routing_entry->RoutingCurr == ImGuiKeyOwner_None) + continue; + rt->EntriesNext.push_back(*routing_entry); // Write alive ones into new buffer + + // Apply routing to owner if there's no owner already (RoutingCurr == None at this point) + if (routing_entry->Mods == g.IO.KeyMods) + { + ImGuiKeyOwnerData* owner_data = ImGui::GetKeyOwnerData(key); + if (owner_data->OwnerCurr == ImGuiKeyOwner_None) + owner_data->OwnerCurr = routing_entry->RoutingCurr; + } + } + + // Rewrite linked-list + rt->Index[key - ImGuiKey_NamedKey_BEGIN] = (ImGuiKeyRoutingIndex)(new_routing_start_idx < rt->EntriesNext.Size ? new_routing_start_idx : -1); + for (int n = new_routing_start_idx; n < rt->EntriesNext.Size; n++) + rt->EntriesNext[n].NextEntryIndex = (ImGuiKeyRoutingIndex)((n + 1 < rt->EntriesNext.Size) ? n + 1 : -1); + } + rt->Entries.swap(rt->EntriesNext); // Swap new and old indexes +} + +// [Internal] Do not use directly (should read io.KeyMods instead) +static ImGuiKeyChord GetMergedModsFromBools() +{ + ImGuiContext& g = *GImGui; + ImGuiKeyChord key_chord = 0; + if (g.IO.KeyCtrl) { key_chord |= ImGuiMod_Ctrl; } + if (g.IO.KeyShift) { key_chord |= ImGuiMod_Shift; } + if (g.IO.KeyAlt) { key_chord |= ImGuiMod_Alt; } + if (g.IO.KeySuper) { key_chord |= ImGuiMod_Super; } + return key_chord; +} + +static void ImGui::UpdateKeyboardInputs() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // Import legacy keys or verify they are not used +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + if (io.BackendUsingLegacyKeyArrays == 0) + { + // Backend used new io.AddKeyEvent() API: Good! Verify that old arrays are never written to externally. + for (int n = 0; n < ImGuiKey_LegacyNativeKey_END; n++) + IM_ASSERT((io.KeysDown[n] == false || IsKeyDown((ImGuiKey)n)) && "Backend needs to either only use io.AddKeyEvent(), either only fill legacy io.KeysDown[] + io.KeyMap[]. Not both!"); + } + else + { + if (g.FrameCount == 0) + for (int n = ImGuiKey_LegacyNativeKey_BEGIN; n < ImGuiKey_LegacyNativeKey_END; n++) + IM_ASSERT(g.IO.KeyMap[n] == -1 && "Backend is not allowed to write to io.KeyMap[0..511]!"); + + // Build reverse KeyMap (Named -> Legacy) + for (int n = ImGuiKey_NamedKey_BEGIN; n < ImGuiKey_NamedKey_END; n++) + if (io.KeyMap[n] != -1) + { + IM_ASSERT(IsLegacyKey((ImGuiKey)io.KeyMap[n])); + io.KeyMap[io.KeyMap[n]] = n; + } + + // Import legacy keys into new ones + for (int n = ImGuiKey_LegacyNativeKey_BEGIN; n < ImGuiKey_LegacyNativeKey_END; n++) + if (io.KeysDown[n] || io.BackendUsingLegacyKeyArrays == 1) + { + const ImGuiKey key = (ImGuiKey)(io.KeyMap[n] != -1 ? io.KeyMap[n] : n); + IM_ASSERT(io.KeyMap[n] == -1 || IsNamedKey(key)); + io.KeysData[key].Down = io.KeysDown[n]; + if (key != n) + io.KeysDown[key] = io.KeysDown[n]; // Allow legacy code using io.KeysDown[GetKeyIndex()] with old backends + io.BackendUsingLegacyKeyArrays = 1; + } + if (io.BackendUsingLegacyKeyArrays == 1) + { + GetKeyData(ImGuiMod_Ctrl)->Down = io.KeyCtrl; + GetKeyData(ImGuiMod_Shift)->Down = io.KeyShift; + GetKeyData(ImGuiMod_Alt)->Down = io.KeyAlt; + GetKeyData(ImGuiMod_Super)->Down = io.KeySuper; + } + } + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + if (io.BackendUsingLegacyNavInputArray && nav_gamepad_active) + { + #define MAP_LEGACY_NAV_INPUT_TO_KEY1(_KEY, _NAV1) do { io.KeysData[_KEY].Down = (io.NavInputs[_NAV1] > 0.0f); io.KeysData[_KEY].AnalogValue = io.NavInputs[_NAV1]; } while (0) + #define MAP_LEGACY_NAV_INPUT_TO_KEY2(_KEY, _NAV1, _NAV2) do { io.KeysData[_KEY].Down = (io.NavInputs[_NAV1] > 0.0f) || (io.NavInputs[_NAV2] > 0.0f); io.KeysData[_KEY].AnalogValue = ImMax(io.NavInputs[_NAV1], io.NavInputs[_NAV2]); } while (0) + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceDown, ImGuiNavInput_Activate); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceRight, ImGuiNavInput_Cancel); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceLeft, ImGuiNavInput_Menu); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceUp, ImGuiNavInput_Input); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadLeft, ImGuiNavInput_DpadLeft); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadRight, ImGuiNavInput_DpadRight); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadUp, ImGuiNavInput_DpadUp); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadDown, ImGuiNavInput_DpadDown); + MAP_LEGACY_NAV_INPUT_TO_KEY2(ImGuiKey_GamepadL1, ImGuiNavInput_FocusPrev, ImGuiNavInput_TweakSlow); + MAP_LEGACY_NAV_INPUT_TO_KEY2(ImGuiKey_GamepadR1, ImGuiNavInput_FocusNext, ImGuiNavInput_TweakFast); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickLeft, ImGuiNavInput_LStickLeft); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickRight, ImGuiNavInput_LStickRight); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickUp, ImGuiNavInput_LStickUp); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickDown, ImGuiNavInput_LStickDown); + #undef NAV_MAP_KEY + } +#endif + +#endif + + // Synchronize io.KeyMods with individual modifiers io.KeyXXX bools, update aliases + io.KeyMods = GetMergedModsFromBools(); + for (int n = 0; n < ImGuiMouseButton_COUNT; n++) + UpdateAliasKey(MouseButtonToKey(n), io.MouseDown[n], io.MouseDown[n] ? 1.0f : 0.0f); + UpdateAliasKey(ImGuiKey_MouseWheelX, io.MouseWheelH != 0.0f, io.MouseWheelH); + UpdateAliasKey(ImGuiKey_MouseWheelY, io.MouseWheel != 0.0f, io.MouseWheel); + + // Clear gamepad data if disabled + if ((io.BackendFlags & ImGuiBackendFlags_HasGamepad) == 0) + for (int i = ImGuiKey_Gamepad_BEGIN; i < ImGuiKey_Gamepad_END; i++) + { + io.KeysData[i - ImGuiKey_KeysData_OFFSET].Down = false; + io.KeysData[i - ImGuiKey_KeysData_OFFSET].AnalogValue = 0.0f; + } + + // Update keys + for (int i = 0; i < ImGuiKey_KeysData_SIZE; i++) + { + ImGuiKeyData* key_data = &io.KeysData[i]; + key_data->DownDurationPrev = key_data->DownDuration; + key_data->DownDuration = key_data->Down ? (key_data->DownDuration < 0.0f ? 0.0f : key_data->DownDuration + io.DeltaTime) : -1.0f; + } + + // Update keys/input owner (named keys only): one entry per key + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyData* key_data = &io.KeysData[key - ImGuiKey_KeysData_OFFSET]; + ImGuiKeyOwnerData* owner_data = &g.KeysOwnerData[key - ImGuiKey_NamedKey_BEGIN]; + owner_data->OwnerCurr = owner_data->OwnerNext; + if (!key_data->Down) // Important: ownership is released on the frame after a release. Ensure a 'MouseDown -> CloseWindow -> MouseUp' chain doesn't lead to someone else seeing the MouseUp. + owner_data->OwnerNext = ImGuiKeyOwner_None; + owner_data->LockThisFrame = owner_data->LockUntilRelease = owner_data->LockUntilRelease && key_data->Down; // Clear LockUntilRelease when key is not Down anymore + } + + UpdateKeyRoutingTable(&g.KeysRoutingTable); +} + static void ImGui::UpdateMouseInputs() { ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; // Round mouse position to avoid spreading non-rounded position (e.g. UpdateManualResize doesn't support them well) - if (IsMousePosValid(&g.IO.MousePos)) - g.IO.MousePos = g.MouseLastValidPos = ImFloor(g.IO.MousePos); + if (IsMousePosValid(&io.MousePos)) + io.MousePos = g.MouseLastValidPos = ImFloorSigned(io.MousePos); // If mouse just appeared or disappeared (usually denoted by -FLT_MAX components) we cancel out movement in MouseDelta - if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MousePosPrev)) - g.IO.MouseDelta = g.IO.MousePos - g.IO.MousePosPrev; + if (IsMousePosValid(&io.MousePos) && IsMousePosValid(&io.MousePosPrev)) + io.MouseDelta = io.MousePos - io.MousePosPrev; else - g.IO.MouseDelta = ImVec2(0.0f, 0.0f); + io.MouseDelta = ImVec2(0.0f, 0.0f); // If mouse moved we re-enable mouse hovering in case it was disabled by gamepad/keyboard. In theory should use a >0.0f threshold but would need to reset in everywhere we set this to true. - if (g.IO.MouseDelta.x != 0.0f || g.IO.MouseDelta.y != 0.0f) + if (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f) g.NavDisableMouseHover = false; - g.IO.MousePosPrev = g.IO.MousePos; - for (int i = 0; i < IM_ARRAYSIZE(g.IO.MouseDown); i++) + io.MousePosPrev = io.MousePos; + for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) { - g.IO.MouseClicked[i] = g.IO.MouseDown[i] && g.IO.MouseDownDuration[i] < 0.0f; - g.IO.MouseClickedCount[i] = 0; // Will be filled below - g.IO.MouseReleased[i] = !g.IO.MouseDown[i] && g.IO.MouseDownDuration[i] >= 0.0f; - g.IO.MouseDownDurationPrev[i] = g.IO.MouseDownDuration[i]; - g.IO.MouseDownDuration[i] = g.IO.MouseDown[i] ? (g.IO.MouseDownDuration[i] < 0.0f ? 0.0f : g.IO.MouseDownDuration[i] + g.IO.DeltaTime) : -1.0f; - if (g.IO.MouseClicked[i]) + io.MouseClicked[i] = io.MouseDown[i] && io.MouseDownDuration[i] < 0.0f; + io.MouseClickedCount[i] = 0; // Will be filled below + io.MouseReleased[i] = !io.MouseDown[i] && io.MouseDownDuration[i] >= 0.0f; + io.MouseDownDurationPrev[i] = io.MouseDownDuration[i]; + io.MouseDownDuration[i] = io.MouseDown[i] ? (io.MouseDownDuration[i] < 0.0f ? 0.0f : io.MouseDownDuration[i] + io.DeltaTime) : -1.0f; + if (io.MouseClicked[i]) { bool is_repeated_click = false; - if ((float)(g.Time - g.IO.MouseClickedTime[i]) < g.IO.MouseDoubleClickTime) + if ((float)(g.Time - io.MouseClickedTime[i]) < io.MouseDoubleClickTime) { - ImVec2 delta_from_click_pos = IsMousePosValid(&g.IO.MousePos) ? (g.IO.MousePos - g.IO.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); - if (ImLengthSqr(delta_from_click_pos) < g.IO.MouseDoubleClickMaxDist * g.IO.MouseDoubleClickMaxDist) + ImVec2 delta_from_click_pos = IsMousePosValid(&io.MousePos) ? (io.MousePos - io.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); + if (ImLengthSqr(delta_from_click_pos) < io.MouseDoubleClickMaxDist * io.MouseDoubleClickMaxDist) is_repeated_click = true; } if (is_repeated_click) - g.IO.MouseClickedLastCount[i]++; + io.MouseClickedLastCount[i]++; else - g.IO.MouseClickedLastCount[i] = 1; - g.IO.MouseClickedTime[i] = g.Time; - g.IO.MouseClickedPos[i] = g.IO.MousePos; - g.IO.MouseClickedCount[i] = g.IO.MouseClickedLastCount[i]; - g.IO.MouseDragMaxDistanceAbs[i] = ImVec2(0.0f, 0.0f); - g.IO.MouseDragMaxDistanceSqr[i] = 0.0f; + io.MouseClickedLastCount[i] = 1; + io.MouseClickedTime[i] = g.Time; + io.MouseClickedPos[i] = io.MousePos; + io.MouseClickedCount[i] = io.MouseClickedLastCount[i]; + io.MouseDragMaxDistanceAbs[i] = ImVec2(0.0f, 0.0f); + io.MouseDragMaxDistanceSqr[i] = 0.0f; } - else if (g.IO.MouseDown[i]) + else if (io.MouseDown[i]) { // Maintain the maximum distance we reaching from the initial click position, which is used with dragging threshold - ImVec2 delta_from_click_pos = IsMousePosValid(&g.IO.MousePos) ? (g.IO.MousePos - g.IO.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); - g.IO.MouseDragMaxDistanceSqr[i] = ImMax(g.IO.MouseDragMaxDistanceSqr[i], ImLengthSqr(delta_from_click_pos)); - g.IO.MouseDragMaxDistanceAbs[i].x = ImMax(g.IO.MouseDragMaxDistanceAbs[i].x, delta_from_click_pos.x < 0.0f ? -delta_from_click_pos.x : delta_from_click_pos.x); - g.IO.MouseDragMaxDistanceAbs[i].y = ImMax(g.IO.MouseDragMaxDistanceAbs[i].y, delta_from_click_pos.y < 0.0f ? -delta_from_click_pos.y : delta_from_click_pos.y); + ImVec2 delta_from_click_pos = IsMousePosValid(&io.MousePos) ? (io.MousePos - io.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); + io.MouseDragMaxDistanceSqr[i] = ImMax(io.MouseDragMaxDistanceSqr[i], ImLengthSqr(delta_from_click_pos)); + io.MouseDragMaxDistanceAbs[i].x = ImMax(io.MouseDragMaxDistanceAbs[i].x, delta_from_click_pos.x < 0.0f ? -delta_from_click_pos.x : delta_from_click_pos.x); + io.MouseDragMaxDistanceAbs[i].y = ImMax(io.MouseDragMaxDistanceAbs[i].y, delta_from_click_pos.y < 0.0f ? -delta_from_click_pos.y : delta_from_click_pos.y); } // We provide io.MouseDoubleClicked[] as a legacy service - g.IO.MouseDoubleClicked[i] = (g.IO.MouseClickedCount[i] == 2); + io.MouseDoubleClicked[i] = (io.MouseClickedCount[i] == 2); // Clicking any mouse button reactivate mouse hovering which may have been deactivated by gamepad/keyboard navigation - if (g.IO.MouseClicked[i]) + if (io.MouseClicked[i]) g.NavDisableMouseHover = false; } } -static void StartLockWheelingWindow(ImGuiWindow* window) +static void LockWheelingWindow(ImGuiWindow* window, float wheel_amount) { ImGuiContext& g = *GImGui; + if (window) + g.WheelingWindowReleaseTimer = ImMin(g.WheelingWindowReleaseTimer + ImAbs(wheel_amount) * WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER, WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER); + else + g.WheelingWindowReleaseTimer = 0.0f; if (g.WheelingWindow == window) return; + IMGUI_DEBUG_LOG_IO("LockWheelingWindow() \"%s\"\n", window ? window->Name : "NULL"); g.WheelingWindow = window; g.WheelingWindowRefMousePos = g.IO.MousePos; - g.WheelingWindowTimer = WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER; } void ImGui::UpdateMouseWheel() @@ -3950,31 +4528,30 @@ void ImGui::UpdateMouseWheel() // Reset the locked window if we move the mouse or after the timer elapses if (g.WheelingWindow != NULL) { - g.WheelingWindowTimer -= g.IO.DeltaTime; + g.WheelingWindowReleaseTimer -= g.IO.DeltaTime; if (IsMousePosValid() && ImLengthSqr(g.IO.MousePos - g.WheelingWindowRefMousePos) > g.IO.MouseDragThreshold * g.IO.MouseDragThreshold) - g.WheelingWindowTimer = 0.0f; - if (g.WheelingWindowTimer <= 0.0f) - { - g.WheelingWindow = NULL; - g.WheelingWindowTimer = 0.0f; - } + g.WheelingWindowReleaseTimer = 0.0f; + if (g.WheelingWindowReleaseTimer <= 0.0f) + LockWheelingWindow(NULL, 0.0f); } - if (g.IO.MouseWheel == 0.0f && g.IO.MouseWheelH == 0.0f) + ImVec2 wheel; + wheel.x = TestKeyOwner(ImGuiKey_MouseWheelX, ImGuiKeyOwner_None) ? g.IO.MouseWheelH : 0.0f; + wheel.y = TestKeyOwner(ImGuiKey_MouseWheelY, ImGuiKeyOwner_None) ? g.IO.MouseWheel : 0.0f; + if (wheel.x == 0.0f && wheel.y == 0.0f) return; - if ((g.ActiveId != 0 && g.ActiveIdUsingMouseWheel) || (g.HoveredIdPreviousFrame != 0 && g.HoveredIdPreviousFrameUsingMouseWheel)) - return; - - ImGuiWindow* window = g.WheelingWindow ? g.WheelingWindow : g.HoveredWindow; - if (!window || window->Collapsed) + //IMGUI_DEBUG_LOG("MouseWheel X:%.3f Y:%.3f\n", wheel_x, wheel_y); + ImGuiWindow* mouse_window = g.WheelingWindow ? g.WheelingWindow : g.HoveredWindow; + if (!mouse_window || mouse_window->Collapsed) return; // Zoom / Scale window // FIXME-OBSOLETE: This is an old feature, it still works but pretty much nobody is using it and may be best redesigned. - if (g.IO.MouseWheel != 0.0f && g.IO.KeyCtrl && g.IO.FontAllowUserScaling) + if (wheel.y != 0.0f && g.IO.KeyCtrl && g.IO.FontAllowUserScaling) { - StartLockWheelingWindow(window); + LockWheelingWindow(mouse_window, wheel.y); + ImGuiWindow* window = mouse_window; const float new_font_scale = ImClamp(window->FontWindowScale + g.IO.MouseWheel * 0.10f, 0.50f, 2.50f); const float scale = new_font_scale / window->FontWindowScale; window->FontWindowScale = new_font_scale; @@ -3987,43 +4564,50 @@ void ImGui::UpdateMouseWheel() } return; } - - // Mouse wheel scrolling - // If a child window has the ImGuiWindowFlags_NoScrollWithMouse flag, we give a chance to scroll its parent if (g.IO.KeyCtrl) return; + // Mouse wheel scrolling // As a standard behavior holding SHIFT while using Vertical Mouse Wheel triggers Horizontal scroll instead // (we avoid doing it on OSX as it the OS input layer handles this already) const bool swap_axis = g.IO.KeyShift && !g.IO.ConfigMacOSXBehaviors; - const float wheel_y = swap_axis ? 0.0f : g.IO.MouseWheel; - const float wheel_x = swap_axis ? g.IO.MouseWheel : g.IO.MouseWheelH; + if (swap_axis) + { + wheel.x = wheel.y; + wheel.y = 0.0f; + } // Vertical Mouse Wheel scrolling - if (wheel_y != 0.0f) + // Bubble up into parent window if: + // - a child window doesn't allow any scrolling. + // - a child window doesn't need scrolling because it is already at the edge for the direction we are going in. + // - a child window has the ImGuiWindowFlags_NoScrollWithMouse flag. + if (wheel.y != 0.0f) { - StartLockWheelingWindow(window); + ImGuiWindow* window = mouse_window; while ((window->Flags & ImGuiWindowFlags_ChildWindow) && ((window->ScrollMax.y == 0.0f) || ((window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)))) window = window->ParentWindow; if (!(window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)) { + LockWheelingWindow(mouse_window, wheel.y); float max_step = window->InnerRect.GetHeight() * 0.67f; float scroll_step = ImFloor(ImMin(5 * window->CalcFontSize(), max_step)); - SetScrollY(window, window->Scroll.y - wheel_y * scroll_step); + SetScrollY(window, window->Scroll.y - wheel.y * scroll_step); } } // Horizontal Mouse Wheel scrolling, or Vertical Mouse Wheel w/ Shift held - if (wheel_x != 0.0f) + if (wheel.x != 0.0f) { - StartLockWheelingWindow(window); + ImGuiWindow* window = mouse_window; while ((window->Flags & ImGuiWindowFlags_ChildWindow) && ((window->ScrollMax.x == 0.0f) || ((window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)))) window = window->ParentWindow; if (!(window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)) { + LockWheelingWindow(mouse_window, wheel.x); float max_step = window->InnerRect.GetWidth() * 0.67f; float scroll_step = ImFloor(ImMin(2 * window->CalcFontSize(), max_step)); - SetScrollX(window, window->Scroll.x - wheel_x * scroll_step); + SetScrollX(window, window->Scroll.x - wheel.x * scroll_step); } } } @@ -4106,17 +4690,6 @@ void ImGui::UpdateHoveredWindowAndCaptureFlags() io.WantTextInput = (g.WantTextInputNextFrame != -1) ? (g.WantTextInputNextFrame != 0) : false; } -ImGuiKeyModFlags ImGui::GetMergedKeyModFlags() -{ - ImGuiContext& g = *GImGui; - ImGuiKeyModFlags key_mod_flags = ImGuiKeyModFlags_None; - if (g.IO.KeyCtrl) { key_mod_flags |= ImGuiKeyModFlags_Ctrl; } - if (g.IO.KeyShift) { key_mod_flags |= ImGuiKeyModFlags_Shift; } - if (g.IO.KeyAlt) { key_mod_flags |= ImGuiKeyModFlags_Alt; } - if (g.IO.KeySuper) { key_mod_flags |= ImGuiKeyModFlags_Super; } - return key_mod_flags; -} - void ImGui::NewFrame() { IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"); @@ -4152,6 +4725,11 @@ void ImGui::NewFrame() g.FramerateSecPerFrameCount = ImMin(g.FramerateSecPerFrameCount + 1, IM_ARRAYSIZE(g.FramerateSecPerFrame)); g.IO.Framerate = (g.FramerateSecPerFrameAccum > 0.0f) ? (1.0f / (g.FramerateSecPerFrameAccum / (float)g.FramerateSecPerFrameCount)) : FLT_MAX; + // Process input queue (trickle as many events as possible), turn events into writes to IO structure + g.InputEventsTrail.resize(0); + UpdateInputEvents(g.IO.ConfigInputTrickleEventQueue); + + // Update viewports (after processing input queue, so io.MouseHoveredViewport is set) UpdateViewportsNewFrame(); // Setup current font and draw list shared data @@ -4197,15 +4775,20 @@ void ImGui::NewFrame() if (g.HoveredId && g.ActiveId != g.HoveredId) g.HoveredIdNotActiveTimer += g.IO.DeltaTime; g.HoveredIdPreviousFrame = g.HoveredId; - g.HoveredIdPreviousFrameUsingMouseWheel = g.HoveredIdUsingMouseWheel; g.HoveredId = 0; g.HoveredIdAllowOverlap = false; - g.HoveredIdUsingMouseWheel = false; g.HoveredIdDisabled = false; - // Update ActiveId data (clear reference to active widget if the widget isn't alive anymore) - if (g.ActiveIdIsAlive != g.ActiveId && g.ActiveIdPreviousFrame == g.ActiveId && g.ActiveId != 0) + // Clear ActiveID if the item is not alive anymore. + // In 1.87, the common most call to KeepAliveID() was moved from GetID() to ItemAdd(). + // As a result, custom widget using ButtonBehavior() _without_ ItemAdd() need to call KeepAliveID() themselves. + if (g.ActiveId != 0 && g.ActiveIdIsAlive != g.ActiveId && g.ActiveIdPreviousFrame == g.ActiveId) + { + IMGUI_DEBUG_LOG_ACTIVEID("NewFrame(): ClearActiveID() because it isn't marked alive anymore!\n"); ClearActiveID(); + } + + // Update ActiveId data (clear reference to active widget if the widget isn't alive anymore) if (g.ActiveId) g.ActiveIdTimer += g.IO.DeltaTime; g.LastActiveIdTimer += g.IO.DeltaTime; @@ -4221,8 +4804,41 @@ void ImGui::NewFrame() if (g.ActiveId == 0) { g.ActiveIdUsingNavDirMask = 0x00; + g.ActiveIdUsingAllKeyboardKeys = false; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO g.ActiveIdUsingNavInputMask = 0x00; - g.ActiveIdUsingKeyInputMask = 0x00; +#endif + } + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + if (g.ActiveId == 0) + g.ActiveIdUsingNavInputMask = 0; + else if (g.ActiveIdUsingNavInputMask != 0) + { + // If your custom widget code used: { g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel); } + // Since IMGUI_VERSION_NUM >= 18804 it should be: { SetKeyOwner(ImGuiKey_Escape, g.ActiveId); SetKeyOwner(ImGuiKey_NavGamepadCancel, g.ActiveId); } + if (g.ActiveIdUsingNavInputMask & (1 << ImGuiNavInput_Cancel)) + SetKeyOwner(ImGuiKey_Escape, g.ActiveId); + if (g.ActiveIdUsingNavInputMask & ~(1 << ImGuiNavInput_Cancel)) + IM_ASSERT(0); // Other values unsupported + } +#endif + + // Update hover delay for IsItemHovered() with delays and tooltips + g.HoverDelayIdPreviousFrame = g.HoverDelayId; + if (g.HoverDelayId != 0) + { + //if (g.IO.MouseDelta.x == 0.0f && g.IO.MouseDelta.y == 0.0f) // Need design/flags + g.HoverDelayTimer += g.IO.DeltaTime; + g.HoverDelayClearTimer = 0.0f; + g.HoverDelayId = 0; + } + else if (g.HoverDelayTimer > 0.0f) + { + // This gives a little bit of leeway before clearing the hover timer, allowing mouse to cross gaps + g.HoverDelayClearTimer += g.IO.DeltaTime; + if (g.HoverDelayClearTimer >= ImMax(0.20f, g.IO.DeltaTime * 2.0f)) // ~6 frames at 30 Hz + allow for low framerate + g.HoverDelayTimer = g.HoverDelayClearTimer = 0.0f; // May want a decaying timer, in which case need to clamp at max first, based on max of caller last requested timer. } // Drag and drop @@ -4237,20 +4853,13 @@ void ImGui::NewFrame() //if (g.IO.AppFocusLost) // ClosePopupsExceptModals(); - // Clear buttons state when focus is lost - // (this is useful so e.g. releasing Alt after focus loss on Alt-Tab doesn't trigger the Alt menu toggle) - if (g.IO.AppFocusLost) - { - g.IO.ClearInputKeys(); - g.IO.AppFocusLost = false; - } - // Update keyboard input state - // Synchronize io.KeyMods with individual modifiers io.KeyXXX bools - g.IO.KeyMods = GetMergedKeyModFlags(); - memcpy(g.IO.KeysDownDurationPrev, g.IO.KeysDownDuration, sizeof(g.IO.KeysDownDuration)); - for (int i = 0; i < IM_ARRAYSIZE(g.IO.KeysDown); i++) - g.IO.KeysDownDuration[i] = g.IO.KeysDown[i] ? (g.IO.KeysDownDuration[i] < 0.0f ? 0.0f : g.IO.KeysDownDuration[i] + g.IO.DeltaTime) : -1.0f; + UpdateKeyboardInputs(); + + //IM_ASSERT(g.IO.KeyCtrl == IsKeyDown(ImGuiKey_LeftCtrl) || IsKeyDown(ImGuiKey_RightCtrl)); + //IM_ASSERT(g.IO.KeyShift == IsKeyDown(ImGuiKey_LeftShift) || IsKeyDown(ImGuiKey_RightShift)); + //IM_ASSERT(g.IO.KeyAlt == IsKeyDown(ImGuiKey_LeftAlt) || IsKeyDown(ImGuiKey_RightAlt)); + //IM_ASSERT(g.IO.KeySuper == IsKeyDown(ImGuiKey_LeftSuper) || IsKeyDown(ImGuiKey_RightSuper)); // Update gamepad/keyboard navigation NavUpdate(); @@ -4277,8 +4886,10 @@ void ImGui::NewFrame() g.MouseCursor = ImGuiMouseCursor_Arrow; g.WantCaptureMouseNextFrame = g.WantCaptureKeyboardNextFrame = g.WantTextInputNextFrame = -1; - g.PlatformImePos = ImVec2(1.0f, 1.0f); // OS Input Method Editor showing on top-left of our window by default - g.PlatformImePosViewport = NULL; + + // Platform IME data: reset for the frame + g.PlatformImeDataPrev = g.PlatformImeData; + g.PlatformImeData.WantVisible = false; // Mouse wheel scrolling, scale UpdateMouseWheel(); @@ -4290,9 +4901,10 @@ void ImGui::NewFrame() { ImGuiWindow* window = g.Windows[i]; window->WasActive = window->Active; - window->BeginCount = 0; window->Active = false; window->WriteAccessed = false; + window->BeginCountPreviousFrame = window->BeginCount; + window->BeginCount = 0; // Garbage collect transient buffers of recently unused windows if (!window->WasActive && !window->MemoryCompacted && window->LastTimeActive < memory_compact_start_time) @@ -4328,10 +4940,12 @@ void ImGui::NewFrame() // [DEBUG] Update debug features UpdateDebugToolItemPicker(); UpdateDebugToolStackQueries(); + if (g.DebugLocateFrames > 0 && --g.DebugLocateFrames == 0) + g.DebugLocateId = 0; // Create implicit/fallback window - which we will only render it if the user has added something to it. // We don't use "Debug" to avoid colliding with user trying to create a "Debug" window with custom flags. - // This fallback is particularly important as it avoid ImGui:: calls from crashing. + // This fallback is particularly important as it prevents ImGui:: calls from crashing. g.WithinFrameScopeWithImplicitWindow = true; SetNextWindowSize(ImVec2(400, 400), ImGuiCond_FirstUseEver); Begin("Debug##Default"); @@ -4340,12 +4954,25 @@ void ImGui::NewFrame() CallContextHooks(&g, ImGuiContextHookType_NewFramePost); } -void ImGui::Initialize(ImGuiContext* context) +// IMPORTANT: ###xxx suffixes must be same in ALL languages +static const ImGuiLocEntry GLocalizationEntriesEnUS[] = { - ImGuiContext& g = *context; + { ImGuiLocKey_TableSizeOne, "Size column to fit###SizeOne" }, + { ImGuiLocKey_TableSizeAllFit, "Size all columns to fit###SizeAll" }, + { ImGuiLocKey_TableSizeAllDefault, "Size all columns to default###SizeAll" }, + { ImGuiLocKey_TableResetOrder, "Reset order###ResetOrder" }, + { ImGuiLocKey_WindowingMainMenuBar, "(Main menu bar)" }, + { ImGuiLocKey_WindowingPopup, "(Popup)" }, + { ImGuiLocKey_WindowingUntitled, "(Untitled)" }, + { ImGuiLocKey_DockingHideTabBar, "Hide tab bar###HideTabBar" }, +}; + +void ImGui::Initialize() +{ + ImGuiContext& g = *GImGui; IM_ASSERT(!g.Initialized && !g.SettingsLoaded); - // Add .ini handle for ImGuiWindow type + // Add .ini handle for ImGuiWindow and ImGuiTable types { ImGuiSettingsHandler ini_handler; ini_handler.TypeName = "Window"; @@ -4355,11 +4982,12 @@ void ImGui::Initialize(ImGuiContext* context) ini_handler.ReadLineFn = WindowSettingsHandler_ReadLine; ini_handler.ApplyAllFn = WindowSettingsHandler_ApplyAll; ini_handler.WriteAllFn = WindowSettingsHandler_WriteAll; - g.SettingsHandlers.push_back(ini_handler); + AddSettingsHandler(&ini_handler); } + TableSettingsAddSettingsHandler(); - // Add .ini handle for ImGuiTable type - TableSettingsInstallHandler(context); + // Setup default localization table + LocalizeRegisterEntries(GLocalizationEntriesEnUS, IM_ARRAYSIZE(GLocalizationEntriesEnUS)); // Create default viewport ImGuiViewportP* viewport = IM_NEW(ImGuiViewportP)(); @@ -4368,6 +4996,7 @@ void ImGui::Initialize(ImGuiContext* context) viewport->PlatformWindowCreated = true; viewport->Flags = ImGuiViewportFlags_OwnedByApp; g.Viewports.push_back(viewport); + g.TempBuffer.resize(1024 * 3 + 1, 0); g.PlatformIO.Viewports.push_back(g.Viewports[0]); #ifdef IMGUI_HAS_DOCK @@ -4379,16 +5008,17 @@ void ImGui::Initialize(ImGuiContext* context) } // This function is merely here to free heap allocations. -void ImGui::Shutdown(ImGuiContext* context) +void ImGui::Shutdown() { // The fonts atlas can be used prior to calling NewFrame(), so we clear it even if g.Initialized is FALSE (which would happen if we never called NewFrame) - ImGuiContext& g = *context; + ImGuiContext& g = *GImGui; if (g.IO.Fonts && g.FontAtlasOwnedByContext) { g.IO.Fonts->Locked = false; IM_DELETE(g.IO.Fonts); } g.IO.Fonts = NULL; + g.DrawListSharedData.TempBuffer.clear(); // Cleanup of other data are conditional on actually having initialized Dear ImGui. if (!g.Initialized) @@ -4396,18 +5026,10 @@ void ImGui::Shutdown(ImGuiContext* context) // Save settings (unless we haven't attempted to load them: CreateContext/DestroyContext without a call to NewFrame shouldn't save an empty file) if (g.SettingsLoaded && g.IO.IniFilename != NULL) - { - ImGuiContext* backup_context = GImGui; - SetCurrentContext(&g); SaveIniSettingsToDisk(g.IO.IniFilename); - SetCurrentContext(backup_context); - } // Destroy platform windows - ImGuiContext* backup_context = ImGui::GetCurrentContext(); - SetCurrentContext(context); DestroyPlatformWindows(); - SetCurrentContext(backup_context); // Shutdown extensions DockContextShutdown(&g); @@ -4425,6 +5047,9 @@ void ImGui::Shutdown(ImGuiContext* context) g.HoveredWindow = g.HoveredWindowUnderMovingWindow = NULL; g.ActiveIdWindow = g.ActiveIdPreviousFrameWindow = NULL; g.MovingWindow = NULL; + + g.KeysRoutingTable.Clear(); + g.ColorStack.clear(); g.StyleVarStack.clear(); g.FontStack.clear(); @@ -4460,6 +5085,8 @@ void ImGui::Shutdown(ImGuiContext* context) g.LogFile = NULL; } g.LogBuffer.clear(); + g.DebugLogBuf.clear(); + g.DebugLogIndex.clear(); g.Initialized = false; } @@ -4494,11 +5121,10 @@ static void AddWindowToSortBuffer(ImVector* out_sorted_windows, Im static void AddDrawListToDrawData(ImVector* out_list, ImDrawList* draw_list) { - // Remove trailing command if unused. - // Technically we could return directly instead of popping, but this make things looks neat in Metrics/Debugger window as well. - draw_list->_PopUnusedDrawCmd(); if (draw_list->CmdBuffer.Size == 0) return; + if (draw_list->CmdBuffer.Size == 1 && draw_list->CmdBuffer[0].ElemCount == 0 && draw_list->CmdBuffer[0].UserCallback == NULL) + return; // Draw list sanity check. Detect mismatch between PrimReserve() calls and incrementing _VtxCurrentIdx, _VtxWritePtr etc. // May trigger for you if you are using PrimXXX functions incorrectly. @@ -4595,8 +5221,10 @@ static void SetupViewportDrawData(ImGuiViewportP* viewport, ImVectorOwnerViewport = viewport; for (int n = 0; n < draw_lists->Size; n++) { - draw_data->TotalVtxCount += draw_lists->Data[n]->VtxBuffer.Size; - draw_data->TotalIdxCount += draw_lists->Data[n]->IdxBuffer.Size; + ImDrawList* draw_list = draw_lists->Data[n]; + draw_list->_PopUnusedDrawCmd(); + draw_data->TotalVtxCount += draw_list->VtxBuffer.Size; + draw_data->TotalIdxCount += draw_list->IdxBuffer.Size; } } @@ -4640,6 +5268,7 @@ static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 { // We've already called AddWindowToDrawData() which called DrawList->ChannelsMerge() on DockNodeHost windows, // and draw list have been trimmed already, hence the explicit recreation of a draw command if missing. + // FIXME: This is creating complication, might be simpler if we could inject a drawlist in drawdata at a given position and not attempt to manipulate ImDrawCmd order. ImDrawList* draw_list = window->RootWindowDockTree->DrawList; if (draw_list->CmdBuffer.Size == 0) draw_list->AddDrawCmd(); @@ -4650,12 +5279,15 @@ static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 draw_list->CmdBuffer.pop_back(); draw_list->CmdBuffer.push_front(cmd); draw_list->PopClipRect(); + draw_list->AddDrawCmd(); // We need to create a command as CmdBuffer.back().IdxOffset won't be correct if we append to same command. } // Draw over sibling docking nodes in a same docking tree if (window->RootWindow->DockIsActive) { ImDrawList* draw_list = FindFrontMostVisibleChildWindow(window->RootWindowDockTree)->DrawList; + if (draw_list->CmdBuffer.Size == 0) + draw_list->AddDrawCmd(); draw_list->PushClipRect(viewport_rect.Min, viewport_rect.Max, false); RenderRectFilledWithHole(draw_list, window->RootWindowDockTree->Rect(), window->RootWindow->Rect(), col, 0.0f);// window->RootWindowDockTree->WindowRounding); draw_list->PopClipRect(); @@ -4683,6 +5315,8 @@ static void ImGui::RenderDimmedBackgrounds() { ImGuiContext& g = *GImGui; ImGuiWindow* modal_window = GetTopMostAndVisiblePopupModal(); + if (g.DimBgRatio <= 0.0f && g.NavWindowingHighlightAlpha <= 0.0f) + return; const bool dim_bg_for_modal = (modal_window != NULL); const bool dim_bg_for_window_list = (g.NavWindowingTargetAnim != NULL && g.NavWindowingTargetAnim->Active); if (!dim_bg_for_modal && !dim_bg_for_window_list) @@ -4700,7 +5334,7 @@ static void ImGui::RenderDimmedBackgrounds() { // Draw dimming behind CTRL+Tab target window and behind CTRL+Tab UI window RenderDimmedBackgroundBehindWindow(g.NavWindowingTargetAnim, GetColorU32(ImGuiCol_NavWindowingDimBg, g.DimBgRatio)); - if (g.NavWindowingListWindow != NULL && g.NavWindowingListWindow->Viewport != g.NavWindowingTargetAnim->Viewport) + if (g.NavWindowingListWindow != NULL && g.NavWindowingListWindow->Viewport && g.NavWindowingListWindow->Viewport != g.NavWindowingTargetAnim->Viewport) RenderDimmedBackgroundBehindWindow(g.NavWindowingListWindow, GetColorU32(ImGuiCol_NavWindowingDimBg, g.DimBgRatio)); viewports_already_dimmed[0] = g.NavWindowingTargetAnim->Viewport; viewports_already_dimmed[1] = g.NavWindowingListWindow ? g.NavWindowingListWindow->Viewport : NULL; @@ -4749,14 +5383,12 @@ void ImGui::EndFrame() ErrorCheckEndFrameSanityChecks(); - // Notify OS when our Input Method Editor cursor has moved (e.g. CJK inputs using Microsoft IME) - if (g.PlatformIO.Platform_SetImeInputPos && (g.PlatformImeLastPos.x == FLT_MAX || ImLengthSqr(g.PlatformImePos - g.PlatformImeLastPos) > 0.0001f)) - if (g.PlatformImePosViewport && g.PlatformImePosViewport->PlatformWindowCreated) - { - g.PlatformIO.Platform_SetImeInputPos(g.PlatformImePosViewport, g.PlatformImePos); - g.PlatformImeLastPos = g.PlatformImePos; - g.PlatformImePosViewport = NULL; - } + // Notify Platform/OS when our Input Method Editor cursor has moved (e.g. CJK inputs using Microsoft IME) + if (g.IO.SetPlatformImeDataFn && memcmp(&g.PlatformImeData, &g.PlatformImeDataPrev, sizeof(ImGuiPlatformImeData)) != 0) + { + ImGuiViewport* viewport = FindViewportByID(g.PlatformImeViewport); + g.IO.SetPlatformImeDataFn(viewport ? viewport : GetMainViewport(), &g.PlatformImeData); + } // Hide implicit/fallback "Debug" window if it hasn't been used g.WithinFrameScopeWithImplicitWindow = false; @@ -4820,10 +5452,9 @@ void ImGui::EndFrame() g.IO.Fonts->Locked = false; // Clear Input data for next frame + g.IO.AppFocusLost = false; g.IO.MouseWheel = g.IO.MouseWheelH = 0.0f; g.IO.InputQueueCharacters.resize(0); - g.IO.KeyModsPrev = g.IO.KeyMods; // doing it here is better than in NewFrame() as we'll tolerate backend writing to KeyMods. If we want to firmly disallow it we should detect it. - memset(g.IO.NavInputs, 0, sizeof(g.IO.NavInputs)); CallContextHooks(&g, ImGuiContextHookType_EndFramePost); } @@ -4872,9 +5503,9 @@ void ImGui::Render() if (first_render_of_frame) RenderDimmedBackgrounds(); - ImVec2 mouse_cursor_offset, mouse_cursor_size, mouse_cursor_uv[4]; - if (g.IO.MouseDrawCursor && g.MouseCursor != ImGuiMouseCursor_None) - g.IO.Fonts->GetMouseCursorTexData(g.MouseCursor, &mouse_cursor_offset, &mouse_cursor_size, &mouse_cursor_uv[0], &mouse_cursor_uv[2]); + // Draw software mouse cursor if requested by io.MouseDrawCursor flag + if (g.IO.MouseDrawCursor && first_render_of_frame && g.MouseCursor != ImGuiMouseCursor_None) + RenderMouseCursor(g.IO.MousePos, g.Style.MouseCursorScale, g.MouseCursor, IM_COL32_WHITE, IM_COL32_BLACK, IM_COL32(0, 0, 0, 48)); // Setup ImDrawData structures for end-user g.IO.MetricsRenderVertices = g.IO.MetricsRenderIndices = 0; @@ -4883,15 +5514,6 @@ void ImGui::Render() ImGuiViewportP* viewport = g.Viewports[n]; viewport->DrawDataBuilder.FlattenIntoSingleLayer(); - // Draw software mouse cursor if requested by io.MouseDrawCursor flag - // (note we scale cursor by current viewport/monitor, however Windows 10 for its own hardware cursor seems to be using a different scale factor) - if (mouse_cursor_size.x > 0.0f && mouse_cursor_size.y > 0.0f && first_render_of_frame) - { - float scale = g.Style.MouseCursorScale * viewport->DpiScale; - if (viewport->GetMainRect().Overlaps(ImRect(g.IO.MousePos, g.IO.MousePos + ImVec2(mouse_cursor_size.x + 2, mouse_cursor_size.y + 2) * scale))) - RenderMouseCursor(GetForegroundDrawList(viewport), g.IO.MousePos, scale, g.MouseCursor, IM_COL32_WHITE, IM_COL32_BLACK, IM_COL32(0, 0, 0, 48)); - } - // Add foreground ImDrawList (for each active viewport) if (viewport->DrawLists[1] != NULL) AddDrawListToDrawData(&viewport->DrawDataBuilder.Layers[0], GetForegroundDrawList(viewport)); @@ -5000,240 +5622,6 @@ static void FindHoveredWindow() g.MovingWindow->Viewport = moving_window_viewport; } -// Test if mouse cursor is hovering given rectangle -// NB- Rectangle is clipped by our current clip setting -// NB- Expand the rectangle to be generous on imprecise inputs systems (g.Style.TouchExtraPadding) -bool ImGui::IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip) -{ - ImGuiContext& g = *GImGui; - - // Clip - ImRect rect_clipped(r_min, r_max); - if (clip) - rect_clipped.ClipWith(g.CurrentWindow->ClipRect); - - // Expand for touch input - const ImRect rect_for_touch(rect_clipped.Min - g.Style.TouchExtraPadding, rect_clipped.Max + g.Style.TouchExtraPadding); - if (!rect_for_touch.Contains(g.IO.MousePos)) - return false; - if (!g.MouseViewport->GetMainRect().Overlaps(rect_clipped)) - return false; - return true; -} - -int ImGui::GetKeyIndex(ImGuiKey imgui_key) -{ - IM_ASSERT(imgui_key >= 0 && imgui_key < ImGuiKey_COUNT); - ImGuiContext& g = *GImGui; - return g.IO.KeyMap[imgui_key]; -} - -// Note that dear imgui doesn't know the semantic of each entry of io.KeysDown[]! -// Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -bool ImGui::IsKeyDown(int user_key_index) -{ - if (user_key_index < 0) - return false; - ImGuiContext& g = *GImGui; - IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - return g.IO.KeysDown[user_key_index]; -} - -// t0 = previous time (e.g.: g.Time - g.IO.DeltaTime) -// t1 = current time (e.g.: g.Time) -// An event is triggered at: -// t = 0.0f t = repeat_delay, t = repeat_delay + repeat_rate*N -int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate) -{ - if (t1 == 0.0f) - return 1; - if (t0 >= t1) - return 0; - if (repeat_rate <= 0.0f) - return (t0 < repeat_delay) && (t1 >= repeat_delay); - const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((t0 - repeat_delay) / repeat_rate); - const int count_t1 = (t1 < repeat_delay) ? -1 : (int)((t1 - repeat_delay) / repeat_rate); - const int count = count_t1 - count_t0; - return count; -} - -int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) -{ - ImGuiContext& g = *GImGui; - if (key_index < 0) - return 0; - IM_ASSERT(key_index >= 0 && key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - const float t = g.IO.KeysDownDuration[key_index]; - return CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, repeat_delay, repeat_rate); -} - -bool ImGui::IsKeyPressed(int user_key_index, bool repeat) -{ - ImGuiContext& g = *GImGui; - if (user_key_index < 0) - return false; - IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - const float t = g.IO.KeysDownDuration[user_key_index]; - if (t == 0.0f) - return true; - if (repeat && t > g.IO.KeyRepeatDelay) - return GetKeyPressedAmount(user_key_index, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; - return false; -} - -bool ImGui::IsKeyReleased(int user_key_index) -{ - ImGuiContext& g = *GImGui; - if (user_key_index < 0) return false; - IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - return g.IO.KeysDownDurationPrev[user_key_index] >= 0.0f && !g.IO.KeysDown[user_key_index]; -} - -bool ImGui::IsMouseDown(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseDown[button]; -} - -bool ImGui::IsMouseClicked(ImGuiMouseButton button, bool repeat) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - const float t = g.IO.MouseDownDuration[button]; - if (t == 0.0f) - return true; - - if (repeat && t > g.IO.KeyRepeatDelay) - { - // FIXME: 2019/05/03: Our old repeat code was wrong here and led to doubling the repeat rate, which made it an ok rate for repeat on mouse hold. - int amount = CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate * 0.50f); - if (amount > 0) - return true; - } - return false; -} - -bool ImGui::IsMouseReleased(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseReleased[button]; -} - -bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseClickedCount[button] == 2; -} - -int ImGui::GetMouseClickedCount(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseClickedCount[button]; -} - -// Return if a mouse click/drag went past the given threshold. Valid to call during the MouseReleased frame. -// [Internal] This doesn't test if the button is pressed -bool ImGui::IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - if (lock_threshold < 0.0f) - lock_threshold = g.IO.MouseDragThreshold; - return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; -} - -bool ImGui::IsMouseDragging(ImGuiMouseButton button, float lock_threshold) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - if (!g.IO.MouseDown[button]) - return false; - return IsMouseDragPastThreshold(button, lock_threshold); -} - -ImVec2 ImGui::GetMousePos() -{ - ImGuiContext& g = *GImGui; - return g.IO.MousePos; -} - -// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed! -ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup() -{ - ImGuiContext& g = *GImGui; - if (g.BeginPopupStack.Size > 0) - return g.OpenPopupStack[g.BeginPopupStack.Size - 1].OpenMousePos; - return g.IO.MousePos; -} - -// We typically use ImVec2(-FLT_MAX,-FLT_MAX) to denote an invalid mouse position. -bool ImGui::IsMousePosValid(const ImVec2* mouse_pos) -{ - // The assert is only to silence a false-positive in XCode Static Analysis. - // Because GImGui is not dereferenced in every code path, the static analyzer assume that it may be NULL (which it doesn't for other functions). - IM_ASSERT(GImGui != NULL); - const float MOUSE_INVALID = -256000.0f; - ImVec2 p = mouse_pos ? *mouse_pos : GImGui->IO.MousePos; - return p.x >= MOUSE_INVALID && p.y >= MOUSE_INVALID; -} - -bool ImGui::IsAnyMouseDown() -{ - ImGuiContext& g = *GImGui; - for (int n = 0; n < IM_ARRAYSIZE(g.IO.MouseDown); n++) - if (g.IO.MouseDown[n]) - return true; - return false; -} - -// Return the delta from the initial clicking position while the mouse button is clicked or was just released. -// This is locked and return 0.0f until the mouse moves past a distance threshold at least once. -// NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window. -ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - if (lock_threshold < 0.0f) - lock_threshold = g.IO.MouseDragThreshold; - if (g.IO.MouseDown[button] || g.IO.MouseReleased[button]) - if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold) - if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MouseClickedPos[button])) - return g.IO.MousePos - g.IO.MouseClickedPos[button]; - return ImVec2(0.0f, 0.0f); -} - -void ImGui::ResetMouseDragDelta(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - // NB: We don't need to reset g.IO.MouseDragMaxDistanceSqr - g.IO.MouseClickedPos[button] = g.IO.MousePos; -} - -ImGuiMouseCursor ImGui::GetMouseCursor() -{ - return GImGui->MouseCursor; -} - -void ImGui::SetMouseCursor(ImGuiMouseCursor cursor_type) -{ - GImGui->MouseCursor = cursor_type; -} - -void ImGui::CaptureKeyboardFromApp(bool capture) -{ - GImGui->WantCaptureKeyboardNextFrame = capture ? 1 : 0; -} - -void ImGui::CaptureMouseFromApp(bool capture) -{ - GImGui->WantCaptureMouseNextFrame = capture ? 1 : 0; -} - bool ImGui::IsItemActive() { ImGuiContext& g = *GImGui; @@ -5321,7 +5709,7 @@ bool ImGui::IsAnyItemFocused() bool ImGui::IsItemVisible() { ImGuiContext& g = *GImGui; - return g.CurrentWindow->ClipRect.Overlaps(g.LastItemData.Rect); + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) != 0; } bool ImGui::IsItemEdited() @@ -5342,23 +5730,13 @@ void ImGui::SetItemAllowOverlap() g.ActiveIdAllowOverlap = true; } -void ImGui::SetItemUsingMouseWheel() -{ - ImGuiContext& g = *GImGui; - ImGuiID id = g.LastItemData.ID; - if (g.HoveredId == id) - g.HoveredIdUsingMouseWheel = true; - if (g.ActiveId == id) - g.ActiveIdUsingMouseWheel = true; -} - -void ImGui::SetActiveIdUsingNavAndKeys() +// FIXME: It might be undesirable that this will likely disable KeyOwner-aware shortcuts systems. Consider a more fine-tuned version for the two users of this function. +void ImGui::SetActiveIdUsingAllKeyboardKeys() { ImGuiContext& g = *GImGui; IM_ASSERT(g.ActiveId != 0); - g.ActiveIdUsingNavDirMask = ~(ImU32)0; - g.ActiveIdUsingNavInputMask = ~(ImU32)0; - g.ActiveIdUsingKeyInputMask = ~(ImU64)0; + g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_COUNT) - 1; + g.ActiveIdUsingAllKeyboardKeys = true; NavMoveRequestCancel(); } @@ -5393,21 +5771,22 @@ bool ImGui::BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, b ImVec2 size = ImFloor(size_arg); const int auto_fit_axises = ((size.x == 0.0f) ? (1 << ImGuiAxis_X) : 0x00) | ((size.y == 0.0f) ? (1 << ImGuiAxis_Y) : 0x00); if (size.x <= 0.0f) - size.x = ImMax(content_avail.x + size.x, 4.0f); // Arbitrary minimum child size (0.0f causing too much issues) + size.x = ImMax(content_avail.x + size.x, 4.0f); // Arbitrary minimum child size (0.0f causing too many issues) if (size.y <= 0.0f) size.y = ImMax(content_avail.y + size.y, 4.0f); SetNextWindowSize(size); // Build up name. If you need to append to a same child from multiple location in the ID stack, use BeginChild(ImGuiID id) with a stable value. + const char* temp_window_name; if (name) - ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%s/%s_%08X", parent_window->Name, name, id); + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%s_%08X", parent_window->Name, name, id); else - ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%s/%08X", parent_window->Name, id); + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%08X", parent_window->Name, id); const float backup_border_size = g.Style.ChildBorderSize; if (!border) g.Style.ChildBorderSize = 0.0f; - bool ret = Begin(g.TempBuffer, NULL, flags); + bool ret = Begin(temp_window_name, NULL, flags); g.Style.ChildBorderSize = backup_border_size; ImGuiWindow* child_window = g.CurrentWindow; @@ -5549,7 +5928,7 @@ static void UpdateWindowInFocusOrderList(ImGuiWindow* window, bool just_created, { ImGuiContext& g = *GImGui; - const bool new_is_explicit_child = (new_flags & ImGuiWindowFlags_ChildWindow) != 0; + const bool new_is_explicit_child = (new_flags & ImGuiWindowFlags_ChildWindow) != 0 && ((new_flags & ImGuiWindowFlags_Popup) == 0 || (new_flags & ImGuiWindowFlags_ChildMenu) != 0); const bool child_flag_changed = new_is_explicit_child != window->IsExplicitChild; if ((just_created || child_flag_changed) && !new_is_explicit_child) { @@ -5592,7 +5971,7 @@ static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags) SetWindowConditionAllowFlags(window, ImGuiCond_FirstUseEver, false); ApplyWindowSettings(window, settings); } - window->DC.CursorStartPos = window->DC.CursorMaxPos = window->Pos; // So first call to CalcContentSize() doesn't return crazy values + window->DC.CursorStartPos = window->DC.CursorMaxPos = window->DC.IdealMaxPos = window->Pos; // So first call to CalcWindowContentSizes() doesn't return crazy values if ((flags & ImGuiWindowFlags_AlwaysAutoResize) != 0) { @@ -5612,7 +5991,6 @@ static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags) g.Windows.push_front(window); // Quite slow but rare and only once else g.Windows.push_back(window); - UpdateWindowInFocusOrderList(window, true, window->Flags); return window; } @@ -5703,8 +6081,7 @@ static ImVec2 CalcWindowAutoFitSize(ImGuiWindow* window, const ImVec2& size_cont if (is_popup || is_menu) // Popups and menus bypass style.WindowMinSize by default, but we give then a non-zero minimum size to facilitate understanding problematic cases (e.g. empty popups) size_min = ImMin(size_min, ImVec2(4.0f, 4.0f)); - // FIXME-VIEWPORT-WORKAREA: May want to use GetWorkSize() instead of Size depending on the type of windows? - ImVec2 avail_size = window->Viewport->Size; + ImVec2 avail_size = window->Viewport->WorkSize; if (window->ViewportOwned) avail_size = ImVec2(FLT_MAX, FLT_MAX); const int monitor_idx = window->ViewportAllowPlatformMonitorExtend; @@ -5823,7 +6200,7 @@ ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) } // Handle resize for: Resize Grips, Borders, Gamepad -// Return true when using auto-fit (double click on resize grip) +// Return true when using auto-fit (double-click on resize grip) static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect) { ImGuiContext& g = *GImGui; @@ -5831,7 +6208,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s if ((flags & ImGuiWindowFlags_NoResize) || (flags & ImGuiWindowFlags_AlwaysAutoResize) || window->AutoFitFramesX > 0 || window->AutoFitFramesY > 0) return false; - if (window->WasActive == false) // Early out to avoid running this code for e.g. an hidden implicit/fallback Debug window. + if (window->WasActive == false) // Early out to avoid running this code for e.g. a hidden implicit/fallback Debug window. return false; bool ret_auto_fit = false; @@ -5869,6 +6246,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s if (resize_rect.Min.x > resize_rect.Max.x) ImSwap(resize_rect.Min.x, resize_rect.Max.x); if (resize_rect.Min.y > resize_rect.Max.y) ImSwap(resize_rect.Min.y, resize_rect.Max.y); ImGuiID resize_grip_id = window->GetID(resize_grip_n); // == GetWindowResizeCornerID() + ItemAdd(resize_rect, resize_grip_id, NULL, ImGuiItemFlags_NoNav); ButtonBehavior(resize_rect, resize_grip_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); //GetForegroundDrawList(window)->AddRect(resize_rect.Min, resize_rect.Max, IM_COL32(255, 255, 0, 255)); if (hovered || held) @@ -5904,6 +6282,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s bool hovered, held; ImRect border_rect = GetResizeBorderRect(window, border_n, grip_hover_inner_size, WINDOWS_HOVER_PADDING); ImGuiID border_id = window->GetID(border_n + 4); // == GetWindowResizeBorderID() + ItemAdd(border_rect, border_id, NULL, ImGuiItemFlags_NoNav); ButtonBehavior(border_rect, border_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); //GetForegroundDrawLists(window)->AddRect(border_rect.Min, border_rect.Max, IM_COL32(255, 255, 0, 255)); if ((hovered && g.HoveredIdTimer > WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER) || held) @@ -5928,23 +6307,31 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s window->DC.NavLayerCurrent = ImGuiNavLayer_Main; // Navigation resize (keyboard/gamepad) + // FIXME: This cannot be moved to NavUpdateWindowing() because CalcWindowSizeAfterConstraint() need to callback into user. + // Not even sure the callback works here. if (g.NavWindowingTarget && g.NavWindowingTarget->RootWindowDockTree == window) { - ImVec2 nav_resize_delta; + ImVec2 nav_resize_dir; if (g.NavInputSource == ImGuiInputSource_Keyboard && g.IO.KeyShift) - nav_resize_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_RawKeyboard, ImGuiInputReadMode_Down); + nav_resize_dir = GetKeyVector2d(ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow); if (g.NavInputSource == ImGuiInputSource_Gamepad) - nav_resize_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_PadDPad, ImGuiInputReadMode_Down); - if (nav_resize_delta.x != 0.0f || nav_resize_delta.y != 0.0f) + nav_resize_dir = GetKeyVector2d(ImGuiKey_GamepadDpadLeft, ImGuiKey_GamepadDpadRight, ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadDpadDown); + if (nav_resize_dir.x != 0.0f || nav_resize_dir.y != 0.0f) { const float NAV_RESIZE_SPEED = 600.0f; - nav_resize_delta *= ImFloor(NAV_RESIZE_SPEED * g.IO.DeltaTime * ImMin(g.IO.DisplayFramebufferScale.x, g.IO.DisplayFramebufferScale.y)); - nav_resize_delta = ImMax(nav_resize_delta, visibility_rect.Min - window->Pos - window->Size); + const float resize_step = NAV_RESIZE_SPEED * g.IO.DeltaTime * ImMin(g.IO.DisplayFramebufferScale.x, g.IO.DisplayFramebufferScale.y); + g.NavWindowingAccumDeltaSize += nav_resize_dir * resize_step; + g.NavWindowingAccumDeltaSize = ImMax(g.NavWindowingAccumDeltaSize, visibility_rect.Min - window->Pos - window->Size); // We need Pos+Size >= visibility_rect.Min, so Size >= visibility_rect.Min - Pos, so size_delta >= visibility_rect.Min - window->Pos - window->Size g.NavWindowingToggleLayer = false; g.NavDisableMouseHover = true; resize_grip_col[0] = GetColorU32(ImGuiCol_ResizeGripActive); - // FIXME-NAV: Should store and accumulate into a separate size buffer to handle sizing constraints properly, right now a constraint will make us stuck. - size_target = CalcWindowSizeAfterConstraint(window, window->SizeFull + nav_resize_delta); + ImVec2 accum_floored = ImFloor(g.NavWindowingAccumDeltaSize); + if (accum_floored.x != 0.0f || accum_floored.y != 0.0f) + { + // FIXME-NAV: Should store and accumulate into a separate size buffer to handle sizing constraints properly, right now a constraint will make us stuck. + size_target = CalcWindowSizeAfterConstraint(window, window->SizeFull + accum_floored); + g.NavWindowingAccumDeltaSize -= accum_floored; + } } } @@ -5964,12 +6351,12 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s return ret_auto_fit; } -static inline void ClampWindowRect(ImGuiWindow* window, const ImRect& visibility_rect) +static inline void ClampWindowPos(ImGuiWindow* window, const ImRect& visibility_rect) { ImGuiContext& g = *GImGui; ImVec2 size_for_clamping = window->Size; - if (g.IO.ConfigWindowsMoveFromTitleBarOnly && !(window->Flags & ImGuiWindowFlags_NoTitleBar)) - size_for_clamping.y = window->TitleBarHeight(); + if (g.IO.ConfigWindowsMoveFromTitleBarOnly && (!(window->Flags & ImGuiWindowFlags_NoTitleBar) || window->DockNodeAsHost)) + size_for_clamping.y = ImGui::GetFrameHeight(); // Not using window->TitleBarHeight() as DockNodeAsHost will report 0.0f here. window->Pos = ImClamp(window->Pos, visibility_rect.Min - size_for_clamping, visibility_rect.Max); } @@ -6010,15 +6397,17 @@ void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar window->SkipItems = false; // Draw window + handle manual resize - // As we highlight the title bar when want_focus is set, multiple reappearing windows will have have their title bar highlighted on their reappearing frame. + // As we highlight the title bar when want_focus is set, multiple reappearing windows will have their title bar highlighted on their reappearing frame. const float window_rounding = window->WindowRounding; const float window_border_size = window->WindowBorderSize; if (window->Collapsed) { // Title bar only - float backup_border_size = style.FrameBorderSize; + const float backup_border_size = style.FrameBorderSize; g.Style.FrameBorderSize = window->WindowBorderSize; ImU32 title_bar_col = GetColorU32((title_bar_is_highlight && !g.NavDisableHighlight) ? ImGuiCol_TitleBgActive : ImGuiCol_TitleBgCollapsed); + if (window->ViewportOwned) + title_bar_col |= IM_COL32_A_MASK; // No alpha (we don't support is_docking_transparent_payload here because simpler and less meaningful, but could with a bit of code shuffle/reuse) RenderFrame(title_bar_rect.Min, title_bar_rect.Max, title_bar_col, true, window_rounding); g.Style.FrameBorderSize = backup_border_size; } @@ -6035,8 +6424,7 @@ void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar ImU32 bg_col = GetColorU32(GetWindowBgColorIdx(window)); if (window->ViewportOwned) { - // No alpha - bg_col = (bg_col | IM_COL32_A_MASK); + bg_col |= IM_COL32_A_MASK; // No alpha if (is_docking_transparent_payload) window->Viewport->Alpha *= DOCKING_TRANSPARENT_PAYLOAD_ALPHA; } @@ -6060,16 +6448,14 @@ void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar } // Render, for docked windows and host windows we ensure bg goes before decorations - ImDrawList* bg_draw_list = window->DockIsActive ? window->DockNode->HostWindow->DrawList : window->DrawList; - if (window->DockIsActive || (flags & ImGuiWindowFlags_DockNodeHost)) - bg_draw_list->ChannelsSetCurrent(0); if (window->DockIsActive) window->DockNode->LastBgColor = bg_col; - - bg_draw_list->AddRectFilled(window->Pos + ImVec2(0, window->TitleBarHeight()), window->Pos + window->Size, bg_col, window_rounding, (flags & ImGuiWindowFlags_NoTitleBar) ? 0 : ImDrawFlags_RoundCornersBottom); - + ImDrawList* bg_draw_list = window->DockIsActive ? window->DockNode->HostWindow->DrawList : window->DrawList; if (window->DockIsActive || (flags & ImGuiWindowFlags_DockNodeHost)) - bg_draw_list->ChannelsSetCurrent(1); + bg_draw_list->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_BG); + bg_draw_list->AddRectFilled(window->Pos + ImVec2(0, window->TitleBarHeight()), window->Pos + window->Size, bg_col, window_rounding, (flags & ImGuiWindowFlags_NoTitleBar) ? 0 : ImDrawFlags_RoundCornersBottom); + if (window->DockIsActive || (flags & ImGuiWindowFlags_DockNodeHost)) + bg_draw_list->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_FG); } if (window->DockIsActive) window->DockNode->IsBgDrawnThisFrame = true; @@ -6101,8 +6487,10 @@ void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar float unhide_sz_hit = ImFloor(g.FontSize * 0.55f); ImVec2 p = node->Pos; ImRect r(p, p + ImVec2(unhide_sz_hit, unhide_sz_hit)); + ImGuiID unhide_id = window->GetID("#UNHIDE"); + KeepAliveID(unhide_id); bool hovered, held; - if (ButtonBehavior(r, window->GetID("#UNHIDE"), &hovered, &held, ImGuiButtonFlags_FlattenChildren)) + if (ButtonBehavior(r, unhide_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren)) node->WantHiddenTabBarToggle = true; else if (held && IsMouseDragging(0)) StartMouseMovingWindowOrNode(window, node, true); @@ -6240,7 +6628,7 @@ void ImGui::UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags } if (parent_window && (flags & ImGuiWindowFlags_Popup)) window->RootWindowPopupTree = parent_window->RootWindowPopupTree; - if (parent_window && !(flags & ImGuiWindowFlags_Modal) && (flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Popup))) + if (parent_window && !(flags & ImGuiWindowFlags_Modal) && (flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Popup))) // FIXME: simply use _NoTitleBar ? window->RootWindowForTitleBarHighlight = parent_window->RootWindowForTitleBarHighlight; while (window->RootWindowForNav->Flags & ImGuiWindowFlags_NavFlattened) { @@ -6268,7 +6656,9 @@ static ImGuiWindow* ImGui::FindBlockingModal(ImGuiWindow* window) for (int i = g.OpenPopupStack.Size - 1; i >= 0; i--) { ImGuiWindow* popup_window = g.OpenPopupStack.Data[i].Window; - if (popup_window == NULL || !popup_window->WasActive || !(popup_window->Flags & ImGuiWindowFlags_Modal)) // Check WasActive, because this code may run before popup renders on current frame. + if (popup_window == NULL || !(popup_window->Flags & ImGuiWindowFlags_Modal)) + continue; + if (!popup_window->Active && !popup_window->WasActive) // Check WasActive, because this code may run before popup renders on current frame, also check Active to handle newly created windows. continue; if (IsWindowWithinBeginStackOf(window, popup_window)) // Window is rendered over last modal, no render order change needed. break; @@ -6299,8 +6689,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) const bool window_just_created = (window == NULL); if (window_just_created) window = CreateNewWindow(name, flags); - else - UpdateWindowInFocusOrderList(window, window_just_created, flags); // Automatically disable manual moving/resizing when NoInputs is set if ((flags & ImGuiWindowFlags_NoInputs) == ImGuiWindowFlags_NoInputs) @@ -6326,10 +6714,10 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) const bool window_was_appearing = window->Appearing; if (first_begin_of_the_frame) { + UpdateWindowInFocusOrderList(window, window_just_created, flags); window->Appearing = window_just_activated_by_user; if (window->Appearing) SetWindowConditionAllowFlags(window, ImGuiCond_Appearing, true); - window->FlagsPreviousFrame = window->Flags; window->Flags = (ImGuiWindowFlags)flags; window->LastFrameActive = current_frame; @@ -6358,10 +6746,10 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) BeginDocked(window, p_open); flags = window->Flags; if (window->DockIsActive) + { IM_ASSERT(window->DockNode != NULL); - - // Docking currently override constraints - g.NextWindowData.Flags &= ~ImGuiNextWindowDataFlags_HasSizeConstraint; + g.NextWindowData.Flags &= ~ImGuiNextWindowDataFlags_HasSizeConstraint; // Docking currently override constraints + } // Amend the Appearing flag if (window->DockTabIsVisible && !dock_tab_was_visible && dock_node_was_visible && !window->Appearing && !window_was_appearing) @@ -6377,7 +6765,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) } // Parent window is latched only on the first call to Begin() of the frame, so further append-calls can be done from a different window stack - ImGuiWindow* parent_window_in_stack = window->DockIsActive ? window->DockNode->HostWindow : g.CurrentWindowStack.empty() ? NULL : g.CurrentWindowStack.back().Window; + ImGuiWindow* parent_window_in_stack = (window->DockIsActive && window->DockNode->HostWindow) ? window->DockNode->HostWindow : g.CurrentWindowStack.empty() ? NULL : g.CurrentWindowStack.back().Window; ImGuiWindow* parent_window = first_begin_of_the_frame ? ((flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_Popup)) ? parent_window_in_stack : NULL) : window->ParentWindow; IM_ASSERT(parent_window != NULL || !(flags & ImGuiWindowFlags_ChildWindow)); @@ -6393,18 +6781,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window_stack_data.ParentLastItemDataBackup = g.LastItemData; window_stack_data.StackSizesOnBegin.SetToCurrentState(); g.CurrentWindowStack.push_back(window_stack_data); - g.CurrentWindow = NULL; if (flags & ImGuiWindowFlags_ChildMenu) g.BeginMenuCount++; - if (flags & ImGuiWindowFlags_Popup) - { - ImGuiPopupData& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; - popup_ref.Window = window; - g.BeginPopupStack.push_back(popup_ref); - window->PopupId = popup_ref.PopupId; - } - // Update ->RootWindow and others pointers (before any possible call to FocusWindow) if (first_begin_of_the_frame) { @@ -6412,6 +6791,21 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window->ParentWindowInBeginStack = parent_window_in_stack; } + // Add to focus scope stack + PushFocusScope(window->ID); + window->NavRootFocusScopeId = g.CurrentFocusScopeId; + g.CurrentWindow = NULL; + + // Add to popup stack + if (flags & ImGuiWindowFlags_Popup) + { + ImGuiPopupData& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; + popup_ref.Window = window; + popup_ref.ParentNavLayer = parent_window_in_stack->DC.NavLayerCurrent; + g.BeginPopupStack.push_back(popup_ref); + window->PopupId = popup_ref.PopupId; + } + // Process SetNextWindow***() calls // (FIXME: Consider splitting the HasXXX flags into X/Y components bool window_pos_set_by_api = false; @@ -6469,6 +6863,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) { // Initialize const bool window_is_child_tooltip = (flags & ImGuiWindowFlags_ChildWindow) && (flags & ImGuiWindowFlags_Tooltip); // FIXME-WIP: Undocumented behavior of Child+Tooltip for pinned tooltip (#1345) + const bool window_just_appearing_after_hidden_for_resize = (window->HiddenFramesCannotSkipItems > 0); window->Active = true; window->HasCloseButton = (p_open != NULL); window->ClipRect = ImVec4(-FLT_MAX, -FLT_MAX, +FLT_MAX, +FLT_MAX); @@ -6478,7 +6873,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) if (flags & ImGuiWindowFlags_DockNodeHost) { window->DrawList->ChannelsSplit(2); - window->DrawList->ChannelsSetCurrent(1); // Render decorations on channel 1 as we will render the backgrounds manually later + window->DrawList->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_FG); // Render decorations on channel 1 as we will render the backgrounds manually later } // Restore buffer capacity when woken from a compacted state, to avoid @@ -6502,7 +6897,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // UPDATE CONTENTS SIZE, UPDATE HIDDEN STATUS // Update contents size from last frame for auto-fitting (or use explicit size) - const bool window_just_appearing_after_hidden_for_resize = (window->HiddenFramesCannotSkipItems > 0); CalcWindowContentSizes(window, &window->ContentSize, &window->ContentSizeIdeal); // FIXME: These flags are decremented before they are used. This means that in order to have these fields produce their intended behaviors @@ -6559,6 +6953,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window->DC.MenuBarOffset.x = ImMax(ImMax(window->WindowPadding.x, style.ItemSpacing.x), g.NextWindowData.MenuBarOffsetMinVal.x); window->DC.MenuBarOffset.y = g.NextWindowData.MenuBarOffsetMinVal.y; + bool use_current_size_for_scrollbar_x = window_just_created; + bool use_current_size_for_scrollbar_y = window_just_created; + // Collapse window by double-clicking on title bar // At this point we don't have a clipping rectangle setup yet, so we can use the title bar area for hit detection and drawing if (!(flags & ImGuiWindowFlags_NoTitleBar) && !(flags & ImGuiWindowFlags_NoCollapse) && !window->DockIsActive) @@ -6570,6 +6967,8 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) if (window->WantCollapseToggle) { window->Collapsed = !window->Collapsed; + if (!window->Collapsed) + use_current_size_for_scrollbar_y = true; MarkIniSettingsDirty(window); } } @@ -6583,8 +6982,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // Calculate auto-fit size, handle automatic resize const ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, window->ContentSizeIdeal); - bool use_current_size_for_scrollbar_x = window_just_created; - bool use_current_size_for_scrollbar_y = window_just_created; if ((flags & ImGuiWindowFlags_AlwaysAutoResize) && !window->Collapsed) { // Using SetNextWindowSize() overrides ImGuiWindowFlags_AlwaysAutoResize, so it can be used on tooltips/popups, etc. @@ -6682,11 +7079,11 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // Clamp position/size so window stays visible within its viewport or monitor // Ignore zero-sized display explicitly to avoid losing positions if a window manager reports zero-sized window when initializing or minimizing. // FIXME: Similar to code in GetWindowAllowedExtentRect() - if (!window_pos_set_by_api && !(flags & ImGuiWindowFlags_ChildWindow) && window->AutoFitFramesX <= 0 && window->AutoFitFramesY <= 0) + if (!window_pos_set_by_api && !(flags & ImGuiWindowFlags_ChildWindow)) { if (!window->ViewportOwned && viewport_rect.GetWidth() > 0 && viewport_rect.GetHeight() > 0.0f) { - ClampWindowRect(window, visibility_rect); + ClampWindowPos(window, visibility_rect); } else if (window->ViewportOwned && g.PlatformIO.Monitors.Size > 0) { @@ -6694,7 +7091,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) const ImGuiPlatformMonitor* monitor = GetViewportPlatformMonitor(window->Viewport); visibility_rect.Min = monitor->WorkPos + visibility_padding; visibility_rect.Max = monitor->WorkPos + monitor->WorkSize - visibility_padding; - ClampWindowRect(window, visibility_rect); + ClampWindowPos(window, visibility_rect); } } window->Pos = ImFloor(window->Pos); @@ -6736,6 +7133,18 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) } } + // [Test Engine] Register whole window in the item system +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (g.TestEngineHookItems) + { + IM_ASSERT(window->IDStack.Size == 1); + window->IDStack.Size = 0; // As window->IDStack[0] == window->ID here, make sure TestEngine doesn't erroneously see window as parent of itself. + IMGUI_TEST_ENGINE_ITEM_ADD(window->Rect(), window->ID); + IMGUI_TEST_ENGINE_ITEM_INFO(window->ID, window->Name, (g.HoveredWindow == window) ? ImGuiItemStatusFlags_HoveredRect : 0); + window->IDStack.Size = 1; + } +#endif + // Decide if we are going to handle borders and resize grips const bool handle_borders_and_resize_grips = (window->DockNodeAsHost || !window->DockIsActive); @@ -6784,7 +7193,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) } // UPDATE RECTANGLES (1- THOSE NOT AFFECTED BY SCROLLING) - // Update various regions. Variables they depends on should be set above in this function. + // Update various regions. Variables they depend on should be set above in this function. // We set this up after processing the resize grip so that our rectangles doesn't lag by a frame. // Outer rectangle @@ -6923,6 +7332,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window->DC.IdealMaxPos = window->DC.CursorStartPos; window->DC.CurrLineSize = window->DC.PrevLineSize = ImVec2(0.0f, 0.0f); window->DC.CurrLineTextBaseOffset = window->DC.PrevLineTextBaseOffset = 0.0f; + window->DC.IsSameLine = window->DC.IsSetPos = false; window->DC.NavLayerCurrent = ImGuiNavLayer_Main; window->DC.NavLayersActiveMask = window->DC.NavLayersActiveMaskNext; @@ -6964,7 +7374,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) { window->Viewport->PlatformRequestClose = false; g.NavWindowingToggleLayer = false; // Assume user mapped PlatformRequestClose on ALT-F4 so we disable ALT for menu toggle. False positive not an issue. - IMGUI_DEBUG_LOG_VIEWPORT("Window '%s' PlatformRequestClose\n", window->Name); + IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Window '%s' PlatformRequestClose\n", window->Name); *p_open = false; } } @@ -6982,7 +7392,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) /* //if (g.NavWindow == window && g.ActiveId == 0) if (g.ActiveId == window->MoveId) - if (g.IO.KeyCtrl && IsKeyPressedMap(ImGuiKey_C)) + if (g.IO.KeyCtrl && IsKeyPressed(ImGuiKey_C)) LogToClipboard(); */ @@ -7004,10 +7414,17 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // We fill last item data based on Title Bar/Tab, in order for IsItemHovered() and IsItemActive() to be usable after Begin(). // This is useful to allow creating context menus on title bar only, etc. if (window->DockIsActive) - SetLastItemData(window->ID, g.CurrentItemFlags, window->DockTabItemStatusFlags, window->DockTabItemRect); + SetLastItemData(window->MoveId, g.CurrentItemFlags, window->DockTabItemStatusFlags, window->DockTabItemRect); else SetLastItemData(window->MoveId, g.CurrentItemFlags, IsMouseHoveringRect(title_bar_rect.Min, title_bar_rect.Max, false) ? ImGuiItemStatusFlags_HoveredRect : 0, title_bar_rect); + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (g.DebugLocateId != 0 && (window->ID == g.DebugLocateId || window->MoveId == g.DebugLocateId)) + DebugLocateItemResolveWithLastItem(); +#endif + + // [Test Engine] Register title bar / tab #ifdef IMGUI_ENABLE_TEST_ENGINE if (!(window->Flags & ImGuiWindowFlags_NoTitleBar)) IMGUI_TEST_ENGINE_ITEM_ADD(g.LastItemData.Rect, g.LastItemData.ID); @@ -7020,9 +7437,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) SetCurrentWindow(window); } - // Pull/inherit current state - window->DC.NavFocusScopeIdCurrent = (flags & ImGuiWindowFlags_ChildWindow) ? parent_window->DC.NavFocusScopeIdCurrent : window->GetID("#FOCUSSCOPE"); // Inherit from parent only // -V595 - if (!(flags & ImGuiWindowFlags_DockNodeHost)) PushClipRect(window->InnerClipRect.Min, window->InnerClipRect.Max, true); @@ -7088,6 +7502,10 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) skip_items = true; window->SkipItems = skip_items; + // Restore NavLayersActiveMaskNext to previous value when not visible, so a CTRL+Tab back can use a safe value. + if (window->SkipItems) + window->DC.NavLayersActiveMaskNext = window->DC.NavLayersActiveMask; + // Sanity check: there are two spots which can set Appearing = true // - when 'window_just_activated_by_user' is set -> HiddenFramesCannotSkipItems is set -> SkipItems always false // - in BeginDocked() path when DockNodeIsVisible == DockTabIsVisible == true -> hidden _should_ be all zero // FIXME: Not formally proven, hence the assert. @@ -7120,11 +7538,15 @@ void ImGui::End() EndColumns(); if (!(window->Flags & ImGuiWindowFlags_DockNodeHost)) // Pop inner window clip rectangle PopClipRect(); + PopFocusScope(); // Stop logging if (!(window->Flags & ImGuiWindowFlags_ChildWindow)) // FIXME: add more options for scope of logging LogFinish(); + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + // Docking: report contents sizes to parent to allow for auto-resize if (window->DockNode && window->DockTabIsVisible) if (ImGuiWindow* host_window = window->DockNode->HostWindow) // FIXME-DOCK @@ -7228,20 +7650,17 @@ void ImGui::FocusWindow(ImGuiWindow* window) if (g.NavWindow != window) { - g.NavWindow = window; + SetNavWindow(window); if (window && g.NavDisableMouseHover) g.NavMousePosDirty = true; g.NavId = window ? window->NavLastIds[0] : 0; // Restore NavId - g.NavFocusScopeId = 0; - g.NavIdIsAlive = false; g.NavLayer = ImGuiNavLayer_Main; - g.NavInitRequest = g.NavMoveSubmitted = g.NavMoveScoringItems = false; - NavUpdateAnyRequestFlag(); - //IMGUI_DEBUG_LOG("FocusWindow(\"%s\")\n", window ? window->Name : NULL); - } + g.NavFocusScopeId = window ? window->NavRootFocusScopeId : 0; + g.NavIdIsAlive = false; - // Close popups if any - ClosePopupsOverWindow(window, false); + // Close popups if any + ClosePopupsOverWindow(window, false); + } // Move the root window to the top of the pile IM_ASSERT(window == NULL || window->RootWindowDockTree != NULL); @@ -7265,7 +7684,7 @@ void ImGui::FocusWindow(ImGuiWindow* window) // Select in dock node if (dock_node && dock_node->TabBar) - dock_node->TabBar->SelectedTabId = dock_node->TabBar->NextSelectedTabId = window->ID; + dock_node->TabBar->SelectedTabId = dock_node->TabBar->NextSelectedTabId = window->TabId; // Bring to front BringWindowToFocusFront(focus_front_window); @@ -7607,6 +8026,10 @@ void ImGui::SetWindowPos(ImGuiWindow* window, const ImVec2& pos, ImGuiCond cond) const ImVec2 old_pos = window->Pos; window->Pos = ImFloor(pos); ImVec2 offset = window->Pos - old_pos; + if (offset.x == 0.0f && offset.y == 0.0f) + return; + MarkIniSettingsDirty(window); + // FIXME: share code with TranslateWindow(), need to confirm whether the 3 rect modified by TranslateWindow() are desirable here. window->DC.CursorPos += offset; // As we happen to move the window while it is being appended to (which is a bad idea - will smear) let's at least offset the cursor window->DC.CursorMaxPos += offset; // And more importantly we need to offset CursorMaxPos/CursorStartPos this so ContentSize calculation doesn't get affected. window->DC.IdealMaxPos += offset; @@ -7641,26 +8064,19 @@ void ImGui::SetWindowSize(ImGuiWindow* window, const ImVec2& size, ImGuiCond con window->SetWindowSizeAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing); // Set - if (size.x > 0.0f) - { - window->AutoFitFramesX = 0; + ImVec2 old_size = window->SizeFull; + window->AutoFitFramesX = (size.x <= 0.0f) ? 2 : 0; + window->AutoFitFramesY = (size.y <= 0.0f) ? 2 : 0; + if (size.x <= 0.0f) + window->AutoFitOnlyGrows = false; + else window->SizeFull.x = IM_FLOOR(size.x); - } - else - { - window->AutoFitFramesX = 2; + if (size.y <= 0.0f) window->AutoFitOnlyGrows = false; - } - if (size.y > 0.0f) - { - window->AutoFitFramesY = 0; + else window->SizeFull.y = IM_FLOOR(size.y); - } - else - { - window->AutoFitFramesY = 2; - window->AutoFitOnlyGrows = false; - } + if (old_size.x != window->SizeFull.x || old_size.y != window->SizeFull.y) + MarkIniSettingsDirty(window); } void ImGui::SetWindowSize(const ImVec2& size, ImGuiCond cond) @@ -7876,26 +8292,38 @@ void ImGui::ActivateItem(ImGuiID id) void ImGui::PushFocusScope(ImGuiID id) { ImGuiContext& g = *GImGui; - ImGuiWindow* window = g.CurrentWindow; - g.FocusScopeStack.push_back(window->DC.NavFocusScopeIdCurrent); - window->DC.NavFocusScopeIdCurrent = id; + g.FocusScopeStack.push_back(id); + g.CurrentFocusScopeId = id; } void ImGui::PopFocusScope() { ImGuiContext& g = *GImGui; - ImGuiWindow* window = g.CurrentWindow; IM_ASSERT(g.FocusScopeStack.Size > 0); // Too many PopFocusScope() ? - window->DC.NavFocusScopeIdCurrent = g.FocusScopeStack.back(); g.FocusScopeStack.pop_back(); + g.CurrentFocusScopeId = g.FocusScopeStack.Size ? g.FocusScopeStack.back() : 0; } +// Note: this will likely be called ActivateItem() once we rework our Focus/Activation system! void ImGui::SetKeyboardFocusHere(int offset) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; IM_ASSERT(offset >= -1); // -1 is allowed but not below - g.NavWindow = window; + IMGUI_DEBUG_LOG_ACTIVEID("SetKeyboardFocusHere(%d) in window \"%s\"\n", offset, window->Name); + + // It makes sense in the vast majority of cases to never interrupt a drag and drop. + // When we refactor this function into ActivateItem() we may want to make this an option. + // MovingWindow is protected from most user inputs using SetActiveIdUsingNavAndKeys(), but + // is also automatically dropped in the event g.ActiveId is stolen. + if (g.DragDropActive || g.MovingWindow != NULL) + { + IMGUI_DEBUG_LOG_ACTIVEID("SetKeyboardFocusHere() ignored while DragDropActive!\n"); + return; + } + + SetNavWindow(window); + ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; NavMoveRequestSubmit(ImGuiDir_None, offset < 0 ? ImGuiDir_Up : ImGuiDir_Down, ImGuiNavMoveFlags_Tabbing | ImGuiNavMoveFlags_FocusApi, scroll_flags); // FIXME-NAV: Once we refactor tabbing, add LegacyApi flag to not activate non-inputable. if (offset == -1) @@ -7923,7 +8351,7 @@ void ImGui::SetItemDefaultFocus() g.NavInitResultRectRel = WindowRectAbsToRel(window, g.LastItemData.Rect); NavUpdateAnyRequestFlag(); - // Scroll could be done in NavInitRequestApplyResult() via a opt-in flag (we however don't want regular init requests to scroll) + // Scroll could be done in NavInitRequestApplyResult() via an opt-in flag (we however don't want regular init requests to scroll) if (!IsItemVisible()) ScrollToRectEx(window, g.LastItemData.Rect, ImGuiScrollFlags_None); } @@ -7944,7 +8372,7 @@ void ImGui::PushID(const char* str_id) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(str_id); + ImGuiID id = window->GetID(str_id); window->IDStack.push_back(id); } @@ -7952,7 +8380,7 @@ void ImGui::PushID(const char* str_id_begin, const char* str_id_end) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(str_id_begin, str_id_end); + ImGuiID id = window->GetID(str_id_begin, str_id_end); window->IDStack.push_back(id); } @@ -7960,7 +8388,7 @@ void ImGui::PushID(const void* ptr_id) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(ptr_id); + ImGuiID id = window->GetID(ptr_id); window->IDStack.push_back(id); } @@ -7968,7 +8396,7 @@ void ImGui::PushID(int int_id) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(int_id); + ImGuiID id = window->GetID(int_id); window->IDStack.push_back(id); } @@ -7988,7 +8416,6 @@ void ImGui::PushOverrideID(ImGuiID id) ImGuiID ImGui::GetIDWithSeed(const char* str, const char* str_end, ImGuiID seed) { ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); - KeepAliveID(id); ImGuiContext& g = *GImGui; if (g.DebugHookIdInfo == id) DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); @@ -8033,15 +8460,832 @@ bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max) } +//----------------------------------------------------------------------------- +// [SECTION] INPUTS +//----------------------------------------------------------------------------- + +// Test if mouse cursor is hovering given rectangle +// NB- Rectangle is clipped by our current clip setting +// NB- Expand the rectangle to be generous on imprecise inputs systems (g.Style.TouchExtraPadding) +bool ImGui::IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip) +{ + ImGuiContext& g = *GImGui; + + // Clip + ImRect rect_clipped(r_min, r_max); + if (clip) + rect_clipped.ClipWith(g.CurrentWindow->ClipRect); + + // Expand for touch input + const ImRect rect_for_touch(rect_clipped.Min - g.Style.TouchExtraPadding, rect_clipped.Max + g.Style.TouchExtraPadding); + if (!rect_for_touch.Contains(g.IO.MousePos)) + return false; + if (!g.MouseViewport->GetMainRect().Overlaps(rect_clipped)) + return false; + return true; +} + +ImGuiKeyData* ImGui::GetKeyData(ImGuiKey key) +{ + ImGuiContext& g = *GImGui; + + // Special storage location for mods + if (key & ImGuiMod_Mask_) + key = ConvertSingleModFlagToKey(key); + + int index; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + IM_ASSERT(key >= ImGuiKey_LegacyNativeKey_BEGIN && key < ImGuiKey_NamedKey_END); + if (IsLegacyKey(key)) + index = (g.IO.KeyMap[key] != -1) ? g.IO.KeyMap[key] : key; // Remap native->imgui or imgui->native + else + index = key; +#else + IM_ASSERT(IsNamedKey(key) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend & user code."); + index = key - ImGuiKey_NamedKey_BEGIN; +#endif + return &g.IO.KeysData[index]; +} + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +ImGuiKey ImGui::GetKeyIndex(ImGuiKey key) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(IsNamedKey(key)); + const ImGuiKeyData* key_data = GetKeyData(key); + return (ImGuiKey)(key_data - g.IO.KeysData); +} +#endif + +// Those names a provided for debugging purpose and are not meant to be saved persistently not compared. +static const char* const GKeyNames[] = +{ + "Tab", "LeftArrow", "RightArrow", "UpArrow", "DownArrow", "PageUp", "PageDown", + "Home", "End", "Insert", "Delete", "Backspace", "Space", "Enter", "Escape", + "LeftCtrl", "LeftShift", "LeftAlt", "LeftSuper", "RightCtrl", "RightShift", "RightAlt", "RightSuper", "Menu", + "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", + "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", + "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", + "Apostrophe", "Comma", "Minus", "Period", "Slash", "Semicolon", "Equal", "LeftBracket", + "Backslash", "RightBracket", "GraveAccent", "CapsLock", "ScrollLock", "NumLock", "PrintScreen", + "Pause", "Keypad0", "Keypad1", "Keypad2", "Keypad3", "Keypad4", "Keypad5", "Keypad6", + "Keypad7", "Keypad8", "Keypad9", "KeypadDecimal", "KeypadDivide", "KeypadMultiply", + "KeypadSubtract", "KeypadAdd", "KeypadEnter", "KeypadEqual", + "GamepadStart", "GamepadBack", + "GamepadFaceLeft", "GamepadFaceRight", "GamepadFaceUp", "GamepadFaceDown", + "GamepadDpadLeft", "GamepadDpadRight", "GamepadDpadUp", "GamepadDpadDown", + "GamepadL1", "GamepadR1", "GamepadL2", "GamepadR2", "GamepadL3", "GamepadR3", + "GamepadLStickLeft", "GamepadLStickRight", "GamepadLStickUp", "GamepadLStickDown", + "GamepadRStickLeft", "GamepadRStickRight", "GamepadRStickUp", "GamepadRStickDown", + "MouseLeft", "MouseRight", "MouseMiddle", "MouseX1", "MouseX2", "MouseWheelX", "MouseWheelY", + "ModCtrl", "ModShift", "ModAlt", "ModSuper", // ReservedForModXXX are showing the ModXXX names. +}; +IM_STATIC_ASSERT(ImGuiKey_NamedKey_COUNT == IM_ARRAYSIZE(GKeyNames)); + +const char* ImGui::GetKeyName(ImGuiKey key) +{ +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + IM_ASSERT((IsNamedKey(key) || key == ImGuiKey_None) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend and user code."); +#else + if (IsLegacyKey(key)) + { + ImGuiIO& io = GetIO(); + if (io.KeyMap[key] == -1) + return "N/A"; + IM_ASSERT(IsNamedKey((ImGuiKey)io.KeyMap[key])); + key = (ImGuiKey)io.KeyMap[key]; + } +#endif + if (key == ImGuiKey_None) + return "None"; + if (key & ImGuiMod_Mask_) + key = ConvertSingleModFlagToKey(key); + if (!IsNamedKey(key)) + return "Unknown"; + + return GKeyNames[key - ImGuiKey_NamedKey_BEGIN]; +} + +void ImGui::GetKeyChordName(ImGuiKeyChord key_chord, char* out_buf, int out_buf_size) +{ + ImGuiContext& g = *GImGui; + ImFormatString(out_buf, (size_t)out_buf_size, "%s%s%s%s%s", + (key_chord & ImGuiMod_Ctrl) ? "Ctrl+" : "", + (key_chord & ImGuiMod_Shift) ? "Shift+" : "", + (key_chord & ImGuiMod_Alt) ? "Alt+" : "", + (key_chord & ImGuiMod_Super) ? (g.IO.ConfigMacOSXBehaviors ? "Cmd+" : "Super+") : "", + GetKeyName((ImGuiKey)(key_chord & ~ImGuiMod_Mask_))); +} + +// t0 = previous time (e.g.: g.Time - g.IO.DeltaTime) +// t1 = current time (e.g.: g.Time) +// An event is triggered at: +// t = 0.0f t = repeat_delay, t = repeat_delay + repeat_rate*N +int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate) +{ + if (t1 == 0.0f) + return 1; + if (t0 >= t1) + return 0; + if (repeat_rate <= 0.0f) + return (t0 < repeat_delay) && (t1 >= repeat_delay); + const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((t0 - repeat_delay) / repeat_rate); + const int count_t1 = (t1 < repeat_delay) ? -1 : (int)((t1 - repeat_delay) / repeat_rate); + const int count = count_t1 - count_t0; + return count; +} + +void ImGui::GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate) +{ + ImGuiContext& g = *GImGui; + switch (flags & ImGuiInputFlags_RepeatRateMask_) + { + case ImGuiInputFlags_RepeatRateNavMove: *repeat_delay = g.IO.KeyRepeatDelay * 0.72f; *repeat_rate = g.IO.KeyRepeatRate * 0.80f; return; + case ImGuiInputFlags_RepeatRateNavTweak: *repeat_delay = g.IO.KeyRepeatDelay * 0.72f; *repeat_rate = g.IO.KeyRepeatRate * 0.30f; return; + case ImGuiInputFlags_RepeatRateDefault: default: *repeat_delay = g.IO.KeyRepeatDelay * 1.00f; *repeat_rate = g.IO.KeyRepeatRate * 1.00f; return; + } +} + +// Return value representing the number of presses in the last time period, for the given repeat rate +// (most often returns 0 or 1. The result is generally only >1 when RepeatRate is smaller than DeltaTime, aka large DeltaTime or fast RepeatRate) +int ImGui::GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float repeat_rate) +{ + ImGuiContext& g = *GImGui; + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return 0; + const float t = key_data->DownDuration; + return CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, repeat_delay, repeat_rate); +} + +// Return 2D vector representing the combination of four cardinal direction, with analog value support (for e.g. ImGuiKey_GamepadLStick* values). +ImVec2 ImGui::GetKeyVector2d(ImGuiKey key_left, ImGuiKey key_right, ImGuiKey key_up, ImGuiKey key_down) +{ + return ImVec2( + GetKeyData(key_right)->AnalogValue - GetKeyData(key_left)->AnalogValue, + GetKeyData(key_down)->AnalogValue - GetKeyData(key_up)->AnalogValue); +} + +// owner_id may be None/Any, but routing_id needs to be always be set, so we default to GetCurrentFocusScope(). +static inline ImGuiID GetRoutingIdFromOwnerId(ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + return (owner_id != ImGuiKeyOwner_None && owner_id != ImGuiKeyOwner_Any) ? owner_id : g.CurrentFocusScopeId; +} + +ImGuiKeyRoutingData* ImGui::GetShortcutRoutingData(ImGuiKeyChord key_chord) +{ + // Majority of shortcuts will be Key + any number of Mods + // We accept _Single_ mod with ImGuiKey_None. + // - Shortcut(ImGuiKey_S | ImGuiMod_Ctrl); // Legal + // - Shortcut(ImGuiKey_S | ImGuiMod_Ctrl | ImGuiMod_Shift); // Legal + // - Shortcut(ImGuiMod_Ctrl); // Legal + // - Shortcut(ImGuiMod_Ctrl | ImGuiMod_Shift); // Not legal + ImGuiContext& g = *GImGui; + ImGuiKeyRoutingTable* rt = &g.KeysRoutingTable; + ImGuiKeyRoutingData* routing_data; + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey(mods); + IM_ASSERT(IsNamedKey(key)); + + // Get (in the majority of case, the linked list will have one element so this should be 2 reads. + // Subsequent elements will be contiguous in memory as list is sorted/rebuilt in NewFrame). + for (ImGuiKeyRoutingIndex idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; idx != -1; idx = routing_data->NextEntryIndex) + { + routing_data = &rt->Entries[idx]; + if (routing_data->Mods == mods) + return routing_data; + } + + // Add to linked-list + ImGuiKeyRoutingIndex routing_data_idx = (ImGuiKeyRoutingIndex)rt->Entries.Size; + rt->Entries.push_back(ImGuiKeyRoutingData()); + routing_data = &rt->Entries[routing_data_idx]; + routing_data->Mods = (ImU16)mods; + routing_data->NextEntryIndex = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; // Setup linked list + rt->Index[key - ImGuiKey_NamedKey_BEGIN] = routing_data_idx; + return routing_data; +} + +// Current score encoding (lower is highest priority): +// - 0: ImGuiInputFlags_RouteGlobalHigh +// - 1: ImGuiInputFlags_RouteFocused (if item active) +// - 2: ImGuiInputFlags_RouteGlobal +// - 3+: ImGuiInputFlags_RouteFocused (if window in focus-stack) +// - 254: ImGuiInputFlags_RouteGlobalLow +// - 255: never route +// 'flags' should include an explicit routing policy +static int CalcRoutingScore(ImGuiWindow* location, ImGuiID owner_id, ImGuiInputFlags flags) +{ + if (flags & ImGuiInputFlags_RouteFocused) + { + ImGuiContext& g = *GImGui; + ImGuiWindow* focused = g.NavWindow; + + // ActiveID gets top priority + // (we don't check g.ActiveIdUsingAllKeys here. Routing is applied but if input ownership is tested later it may discard it) + if (owner_id != 0 && g.ActiveId == owner_id) + return 1; + + // Score based on distance to focused window (lower is better) + // Assuming both windows are submitting a routing request, + // - When Window....... is focused -> Window scores 3 (best), Window/ChildB scores 255 (no match) + // - When Window/ChildB is focused -> Window scores 4, Window/ChildB scores 3 (best) + // Assuming only WindowA is submitting a routing request, + // - When Window/ChildB is focused -> Window scores 4 (best), Window/ChildB doesn't have a score. + if (focused != NULL && focused->RootWindow == location->RootWindow) + for (int next_score = 3; focused != NULL; next_score++) + { + if (focused == location) + { + IM_ASSERT(next_score < 255); + return next_score; + } + focused = (focused->RootWindow != focused) ? focused->ParentWindow : NULL; // FIXME: This could be later abstracted as a focus path + } + return 255; + } + + // ImGuiInputFlags_RouteGlobalHigh is default, so calls without flags are not conditional + if (flags & ImGuiInputFlags_RouteGlobal) + return 2; + if (flags & ImGuiInputFlags_RouteGlobalLow) + return 254; + return 0; +} + +// Request a desired route for an input chord (key + mods). +// Return true if the route is available this frame. +// - Routes and key ownership are attributed at the beginning of next frame based on best score and mod state. +// (Conceptually this does a "Submit for next frame" + "Test for current frame". +// As such, it could be called TrySetXXX or SubmitXXX, or the Submit and Test operations should be separate.) +// - Using 'owner_id == ImGuiKeyOwner_Any/0': auto-assign an owner based on current focus scope (each window has its focus scope by default) +// - Using 'owner_id == ImGuiKeyOwner_None': allows disabling/locking a shortcut. +bool ImGui::SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + if ((flags & ImGuiInputFlags_RouteMask_) == 0) + flags |= ImGuiInputFlags_RouteGlobalHigh; // IMPORTANT: This is the default for SetShortcutRouting() but NOT Shortcut() + else + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiInputFlags_RouteMask_)); // Check that only 1 routing flag is used + + if (flags & ImGuiInputFlags_RouteUnlessBgFocused) + if (g.NavWindow == NULL) + return false; + if (flags & ImGuiInputFlags_RouteAlways) + return true; + + const int score = CalcRoutingScore(g.CurrentWindow, owner_id, flags); + if (score == 255) + return false; + + // Submit routing for NEXT frame (assuming score is sufficient) + // FIXME: Could expose a way to use a "serve last" policy for same score resolution (using <= instead of <). + ImGuiKeyRoutingData* routing_data = GetShortcutRoutingData(key_chord); + const ImGuiID routing_id = GetRoutingIdFromOwnerId(owner_id); + //const bool set_route = (flags & ImGuiInputFlags_ServeLast) ? (score <= routing_data->RoutingNextScore) : (score < routing_data->RoutingNextScore); + if (score < routing_data->RoutingNextScore) + { + routing_data->RoutingNext = routing_id; + routing_data->RoutingNextScore = (ImU8)score; + } + + // Return routing state for CURRENT frame + return routing_data->RoutingCurr == routing_id; +} + +// Currently unused by core (but used by tests) +// Note: this cannot be turned into GetShortcutRouting() because we do the owner_id->routing_id translation, name would be more misleading. +bool ImGui::TestShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id) +{ + const ImGuiID routing_id = GetRoutingIdFromOwnerId(owner_id); + ImGuiKeyRoutingData* routing_data = GetShortcutRoutingData(key_chord); + return routing_data->RoutingCurr == routing_id; +} + +// Note that Dear ImGui doesn't know the meaning/semantic of ImGuiKey from 0..511: they are legacy native keycodes. +// Consider transitioning from 'IsKeyDown(MY_ENGINE_KEY_A)' (<1.87) to IsKeyDown(ImGuiKey_A) (>= 1.87) +bool ImGui::IsKeyDown(ImGuiKey key) +{ + return IsKeyDown(key, ImGuiKeyOwner_Any); +} + +bool ImGui::IsKeyDown(ImGuiKey key, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat) +{ + return IsKeyPressed(key, ImGuiKeyOwner_Any, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None); +} + +// Important: unless legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat. +bool ImGui::IsKeyPressed(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return false; + const float t = key_data->DownDuration; + if (t < 0.0f) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByIsKeyPressed) == 0); // Passing flags not supported by this function! + + bool pressed = (t == 0.0f); + if (!pressed && ((flags & ImGuiInputFlags_Repeat) != 0)) + { + float repeat_delay, repeat_rate; + GetTypematicRepeatRate(flags, &repeat_delay, &repeat_rate); + pressed = (t > repeat_delay) && GetKeyPressedAmount(key, repeat_delay, repeat_rate) > 0; + } + if (!pressed) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsKeyReleased(ImGuiKey key) +{ + return IsKeyReleased(key, ImGuiKeyOwner_Any); +} + +bool ImGui::IsKeyReleased(ImGuiKey key, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (key_data->DownDurationPrev < 0.0f || key_data->Down) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsMouseDown(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // should be same as IsKeyDown(MouseButtonToKey(button), ImGuiKeyOwner_Any), but this allows legacy code hijacking the io.Mousedown[] array. +} + +bool ImGui::IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), owner_id); // Should be same as IsKeyDown(MouseButtonToKey(button), owner_id), but this allows legacy code hijacking the io.Mousedown[] array. +} + +bool ImGui::IsMouseClicked(ImGuiMouseButton button, bool repeat) +{ + return IsMouseClicked(button, ImGuiKeyOwner_Any, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None); +} + +bool ImGui::IsMouseClicked(ImGuiMouseButton button, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (!g.IO.MouseDown[button]) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return false; + const float t = g.IO.MouseDownDuration[button]; + if (t < 0.0f) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByIsKeyPressed) == 0); // Passing flags not supported by this function! + + const bool repeat = (flags & ImGuiInputFlags_Repeat) != 0; + const bool pressed = (t == 0.0f) || (repeat && t > g.IO.KeyRepeatDelay && CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0); + if (!pressed) + return false; + + if (!TestKeyOwner(MouseButtonToKey(button), owner_id)) + return false; + + return true; +} + +bool ImGui::IsMouseReleased(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any) +} + +bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), owner_id); // Should be same as IsKeyReleased(MouseButtonToKey(button), owner_id) +} + +bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); +} + +int ImGui::GetMouseClickedCount(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button]; +} + +// Return if a mouse click/drag went past the given threshold. Valid to call during the MouseReleased frame. +// [Internal] This doesn't test if the button is pressed +bool ImGui::IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (lock_threshold < 0.0f) + lock_threshold = g.IO.MouseDragThreshold; + return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; +} + +bool ImGui::IsMouseDragging(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (!g.IO.MouseDown[button]) + return false; + return IsMouseDragPastThreshold(button, lock_threshold); +} + +ImVec2 ImGui::GetMousePos() +{ + ImGuiContext& g = *GImGui; + return g.IO.MousePos; +} + +// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed! +ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup() +{ + ImGuiContext& g = *GImGui; + if (g.BeginPopupStack.Size > 0) + return g.OpenPopupStack[g.BeginPopupStack.Size - 1].OpenMousePos; + return g.IO.MousePos; +} + +// We typically use ImVec2(-FLT_MAX,-FLT_MAX) to denote an invalid mouse position. +bool ImGui::IsMousePosValid(const ImVec2* mouse_pos) +{ + // The assert is only to silence a false-positive in XCode Static Analysis. + // Because GImGui is not dereferenced in every code path, the static analyzer assume that it may be NULL (which it doesn't for other functions). + IM_ASSERT(GImGui != NULL); + const float MOUSE_INVALID = -256000.0f; + ImVec2 p = mouse_pos ? *mouse_pos : GImGui->IO.MousePos; + return p.x >= MOUSE_INVALID && p.y >= MOUSE_INVALID; +} + +// [WILL OBSOLETE] This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. +bool ImGui::IsAnyMouseDown() +{ + ImGuiContext& g = *GImGui; + for (int n = 0; n < IM_ARRAYSIZE(g.IO.MouseDown); n++) + if (g.IO.MouseDown[n]) + return true; + return false; +} + +// Return the delta from the initial clicking position while the mouse button is clicked or was just released. +// This is locked and return 0.0f until the mouse moves past a distance threshold at least once. +// NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window. +ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (lock_threshold < 0.0f) + lock_threshold = g.IO.MouseDragThreshold; + if (g.IO.MouseDown[button] || g.IO.MouseReleased[button]) + if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold) + if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MouseClickedPos[button])) + return g.IO.MousePos - g.IO.MouseClickedPos[button]; + return ImVec2(0.0f, 0.0f); +} + +void ImGui::ResetMouseDragDelta(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + // NB: We don't need to reset g.IO.MouseDragMaxDistanceSqr + g.IO.MouseClickedPos[button] = g.IO.MousePos; +} + +// Get desired mouse cursor shape. +// Important: this is meant to be used by a platform backend, it is reset in ImGui::NewFrame(), +// updated during the frame, and locked in EndFrame()/Render(). +// If you use software rendering by setting io.MouseDrawCursor then Dear ImGui will render those for you +ImGuiMouseCursor ImGui::GetMouseCursor() +{ + ImGuiContext& g = *GImGui; + return g.MouseCursor; +} + +void ImGui::SetMouseCursor(ImGuiMouseCursor cursor_type) +{ + ImGuiContext& g = *GImGui; + g.MouseCursor = cursor_type; +} + +void ImGui::SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) +{ + ImGuiContext& g = *GImGui; + g.WantCaptureKeyboardNextFrame = want_capture_keyboard ? 1 : 0; +} + +void ImGui::SetNextFrameWantCaptureMouse(bool want_capture_mouse) +{ + ImGuiContext& g = *GImGui; + g.WantCaptureMouseNextFrame = want_capture_mouse ? 1 : 0; +} + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS +static const char* GetInputSourceName(ImGuiInputSource source) +{ + const char* input_source_names[] = { "None", "Mouse", "Keyboard", "Gamepad", "Nav", "Clipboard" }; + IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT && source >= 0 && source < ImGuiInputSource_COUNT); + return input_source_names[source]; +} +static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e) +{ + ImGuiContext& g = *GImGui; + if (e->Type == ImGuiInputEventType_MousePos) { if (e->MousePos.PosX == -FLT_MAX && e->MousePos.PosY == -FLT_MAX) IMGUI_DEBUG_LOG_IO("%s: MousePos (-FLT_MAX, -FLT_MAX)\n", prefix); else IMGUI_DEBUG_LOG_IO("%s: MousePos (%.1f, %.1f)\n", prefix, e->MousePos.PosX, e->MousePos.PosY); return; } + if (e->Type == ImGuiInputEventType_MouseButton) { IMGUI_DEBUG_LOG_IO("%s: MouseButton %d %s\n", prefix, e->MouseButton.Button, e->MouseButton.Down ? "Down" : "Up"); return; } + if (e->Type == ImGuiInputEventType_MouseWheel) { IMGUI_DEBUG_LOG_IO("%s: MouseWheel (%.1f, %.1f)\n", prefix, e->MouseWheel.WheelX, e->MouseWheel.WheelY); return; } + if (e->Type == ImGuiInputEventType_MouseViewport){IMGUI_DEBUG_LOG_IO("%s: MouseViewport (0x%08X)\n", prefix, e->MouseViewport.HoveredViewportID); return; } + if (e->Type == ImGuiInputEventType_Key) { IMGUI_DEBUG_LOG_IO("%s: Key \"%s\" %s\n", prefix, ImGui::GetKeyName(e->Key.Key), e->Key.Down ? "Down" : "Up"); return; } + if (e->Type == ImGuiInputEventType_Text) { IMGUI_DEBUG_LOG_IO("%s: Text: %c (U+%08X)\n", prefix, e->Text.Char, e->Text.Char); return; } + if (e->Type == ImGuiInputEventType_Focus) { IMGUI_DEBUG_LOG_IO("%s: AppFocused %d\n", prefix, e->AppFocused.Focused); return; } +} +#endif + +// Process input queue +// We always call this with the value of 'bool g.IO.ConfigInputTrickleEventQueue'. +// - trickle_fast_inputs = false : process all events, turn into flattened input state (e.g. successive down/up/down/up will be lost) +// - trickle_fast_inputs = true : process as many events as possible (successive down/up/down/up will be trickled over several frames so nothing is lost) (new feature in 1.87) +void ImGui::UpdateInputEvents(bool trickle_fast_inputs) +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // Only trickle chars<>key when working with InputText() + // FIXME: InputText() could parse event trail? + // FIXME: Could specialize chars<>keys trickling rules for control keys (those not typically associated to characters) + const bool trickle_interleaved_keys_and_text = (trickle_fast_inputs && g.WantTextInputNextFrame == 1); + + bool mouse_moved = false, mouse_wheeled = false, key_changed = false, text_inputted = false; + int mouse_button_changed = 0x00; + ImBitArray key_changed_mask; + + int event_n = 0; + for (; event_n < g.InputEventsQueue.Size; event_n++) + { + ImGuiInputEvent* e = &g.InputEventsQueue[event_n]; + if (e->Type == ImGuiInputEventType_MousePos) + { + // Trickling Rule: Stop processing queued events if we already handled a mouse button change + ImVec2 event_pos(e->MousePos.PosX, e->MousePos.PosY); + if (trickle_fast_inputs && (mouse_button_changed != 0 || mouse_wheeled || key_changed || text_inputted)) + break; + io.MousePos = event_pos; + mouse_moved = true; + } + else if (e->Type == ImGuiInputEventType_MouseButton) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the same button + const ImGuiMouseButton button = e->MouseButton.Button; + IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); + if (trickle_fast_inputs && ((mouse_button_changed & (1 << button)) || mouse_wheeled)) + break; + io.MouseDown[button] = e->MouseButton.Down; + mouse_button_changed |= (1 << button); + } + else if (e->Type == ImGuiInputEventType_MouseWheel) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the event + if (trickle_fast_inputs && (mouse_moved || mouse_button_changed != 0)) + break; + io.MouseWheelH += e->MouseWheel.WheelX; + io.MouseWheel += e->MouseWheel.WheelY; + mouse_wheeled = true; + } + else if (e->Type == ImGuiInputEventType_MouseViewport) + { + io.MouseHoveredViewport = e->MouseViewport.HoveredViewportID; + } + else if (e->Type == ImGuiInputEventType_Key) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the same button + ImGuiKey key = e->Key.Key; + IM_ASSERT(key != ImGuiKey_None); + ImGuiKeyData* key_data = GetKeyData(key); + const int key_data_index = (int)(key_data - g.IO.KeysData); + if (trickle_fast_inputs && key_data->Down != e->Key.Down && (key_changed_mask.TestBit(key_data_index) || text_inputted || mouse_button_changed != 0)) + break; + key_data->Down = e->Key.Down; + key_data->AnalogValue = e->Key.AnalogValue; + key_changed = true; + key_changed_mask.SetBit(key_data_index); + + if (key == ImGuiMod_Ctrl || key == ImGuiMod_Shift || key == ImGuiMod_Alt || key == ImGuiMod_Super) + { + if (key == ImGuiMod_Ctrl) { io.KeyCtrl = key_data->Down; } + if (key == ImGuiMod_Shift) { io.KeyShift = key_data->Down; } + if (key == ImGuiMod_Alt) { io.KeyAlt = key_data->Down; } + if (key == ImGuiMod_Super) { io.KeySuper = key_data->Down; } + io.KeyMods = GetMergedModsFromBools(); + } + + // Allow legacy code using io.KeysDown[GetKeyIndex()] with new backends +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + io.KeysDown[key_data_index] = key_data->Down; + if (io.KeyMap[key_data_index] != -1) + io.KeysDown[io.KeyMap[key_data_index]] = key_data->Down; +#endif + } + else if (e->Type == ImGuiInputEventType_Text) + { + // Trickling Rule: Stop processing queued events if keys/mouse have been interacted with + if (trickle_fast_inputs && ((key_changed && trickle_interleaved_keys_and_text) || mouse_button_changed != 0 || mouse_moved || mouse_wheeled)) + break; + unsigned int c = e->Text.Char; + io.InputQueueCharacters.push_back(c <= IM_UNICODE_CODEPOINT_MAX ? (ImWchar)c : IM_UNICODE_CODEPOINT_INVALID); + if (trickle_interleaved_keys_and_text) + text_inputted = true; + } + else if (e->Type == ImGuiInputEventType_Focus) + { + // We intentionally overwrite this and process in NewFrame(), in order to give a chance + // to multi-viewports backends to queue AddFocusEvent(false) + AddFocusEvent(true) in same frame. + const bool focus_lost = !e->AppFocused.Focused; + io.AppFocusLost = focus_lost; + } + else + { + IM_ASSERT(0 && "Unknown event!"); + } + } + + // Record trail (for domain-specific applications wanting to access a precise trail) + //if (event_n != 0) IMGUI_DEBUG_LOG_IO("Processed: %d / Remaining: %d\n", event_n, g.InputEventsQueue.Size - event_n); + for (int n = 0; n < event_n; n++) + g.InputEventsTrail.push_back(g.InputEventsQueue[n]); + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (event_n != 0 && (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO)) + for (int n = 0; n < g.InputEventsQueue.Size; n++) + DebugPrintInputEvent(n < event_n ? "Processed" : "Remaining", &g.InputEventsQueue[n]); +#endif + + // Remaining events will be processed on the next frame + if (event_n == g.InputEventsQueue.Size) + g.InputEventsQueue.resize(0); + else + g.InputEventsQueue.erase(g.InputEventsQueue.Data, g.InputEventsQueue.Data + event_n); + + // Clear buttons state when focus is lost + // - this is useful so e.g. releasing Alt after focus loss on Alt-Tab doesn't trigger the Alt menu toggle. + // - we clear in EndFrame() and not now in order allow application/user code polling this flag + // (e.g. custom backend may want to clear additional data, custom widgets may want to react with a "canceling" event). + if (g.IO.AppFocusLost) + g.IO.ClearInputKeys(); +} + +ImGuiID ImGui::GetKeyOwner(ImGuiKey key) +{ + if (!IsNamedKeyOrModKey(key)) + return ImGuiKeyOwner_None; + + ImGuiContext& g = *GImGui; + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + ImGuiID owner_id = owner_data->OwnerCurr; + + if (g.ActiveIdUsingAllKeyboardKeys && owner_id != g.ActiveId && owner_id != ImGuiKeyOwner_Any) + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return ImGuiKeyOwner_None; + + return owner_id; +} + +// TestKeyOwner(..., ID) : (owner == None || owner == ID) +// TestKeyOwner(..., None) : (owner == None) +// TestKeyOwner(..., Any) : no owner test +// All paths are also testing for key not being locked, for the rare cases that key have been locked with using ImGuiInputFlags_LockXXX flags. +bool ImGui::TestKeyOwner(ImGuiKey key, ImGuiID owner_id) +{ + if (!IsNamedKeyOrModKey(key)) + return true; + + ImGuiContext& g = *GImGui; + if (g.ActiveIdUsingAllKeyboardKeys && owner_id != g.ActiveId && owner_id != ImGuiKeyOwner_Any) + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return false; + + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + if (owner_id == ImGuiKeyOwner_Any) + return (owner_data->LockThisFrame == false); + + // Note: SetKeyOwner() sets OwnerCurr. It is not strictly required for most mouse routing overlap (because of ActiveId/HoveredId + // are acting as filter before this has a chance to filter), but sane as soon as user tries to look into things. + // Setting OwnerCurr in SetKeyOwner() is more consistent than testing OwnerNext here: would be inconsistent with getter and other functions. + if (owner_data->OwnerCurr != owner_id) + { + if (owner_data->LockThisFrame) + return false; + if (owner_data->OwnerCurr != ImGuiKeyOwner_None) + return false; + } + + return true; +} + +// _LockXXX flags are useful to lock keys away from code which is not input-owner aware. +// When using _LockXXX flags, you can use ImGuiKeyOwner_Any to lock keys from everyone. +// - SetKeyOwner(..., None) : clears owner +// - SetKeyOwner(..., Any, !Lock) : illegal (assert) +// - SetKeyOwner(..., Any or None, Lock) : set lock +void ImGui::SetKeyOwner(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags) +{ + IM_ASSERT(IsNamedKeyOrModKey(key) && (owner_id != ImGuiKeyOwner_Any || (flags & (ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease)))); // Can only use _Any with _LockXXX flags (to eat a key away without an ID to retrieve it) + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetKeyOwner) == 0); // Passing flags not supported by this function! + + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + owner_data->OwnerCurr = owner_data->OwnerNext = owner_id; + + // We cannot lock by default as it would likely break lots of legacy code. + // In the case of using LockUntilRelease while key is not down we still lock during the frame (no key_data->Down test) + owner_data->LockUntilRelease = (flags & ImGuiInputFlags_LockUntilRelease) != 0; + owner_data->LockThisFrame = (flags & ImGuiInputFlags_LockThisFrame) != 0 || (owner_data->LockUntilRelease); +} + +// This is more or less equivalent to: +// if (IsItemHovered() || IsItemActive()) +// SetKeyOwner(key, GetItemID()); +// Extensive uses of that (e.g. many calls for a single item) may want to manually perform the tests once and then call SetKeyOwner() multiple times. +// More advanced usage scenarios may want to call SetKeyOwner() manually based on different condition. +// Worth noting is that only one item can be hovered and only one item can be active, therefore this usage pattern doesn't need to bother with routing and priority. +void ImGui::SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiID id = g.LastItemData.ID; + if (id == 0 || (g.HoveredId != id && g.ActiveId != id)) + return; + if ((flags & ImGuiInputFlags_CondMask_) == 0) + flags |= ImGuiInputFlags_CondDefault_; + if ((g.HoveredId == id && (flags & ImGuiInputFlags_CondHovered)) || (g.ActiveId == id && (flags & ImGuiInputFlags_CondActive))) + { + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetItemKeyOwner) == 0); // Passing flags not supported by this function! + SetKeyOwner(key, id, flags & ~ImGuiInputFlags_CondMask_); + } +} + +// - Need to decide how to handle shortcut translations for Non-Mac <> Mac +// - Ideas: https://github.com/ocornut/imgui/issues/456#issuecomment-264390864 +bool ImGui::Shortcut(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + + // When using (owner_id == 0/Any): SetShortcutRouting() will use CurrentFocusScopeId and filter with this, so IsKeyPressed() is fine with he 0/Any. + if ((flags & ImGuiInputFlags_RouteMask_) == 0) + flags |= ImGuiInputFlags_RouteFocused; + if (!SetShortcutRouting(key_chord, owner_id, flags)) + return false; + + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + if (g.IO.KeyMods != mods) + return false; + + // Special storage location for mods + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey(mods); + + if (!IsKeyPressed(key, owner_id, (flags & (ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_)))) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByShortcut) == 0); // Passing flags not supported by this function! + + return true; +} + + //----------------------------------------------------------------------------- // [SECTION] ERROR CHECKING //----------------------------------------------------------------------------- // Helper function to verify ABI compatibility between caller code and compiled version of Dear ImGui. // Verify that the type sizes are matching between the calling file's compilation unit and imgui.cpp's compilation unit -// If the user has inconsistent compilation settings, imgui configuration #define, packing pragma, etc. your user code -// may see different structures than what imgui.cpp sees, which is problematic. -// We usually require settings to be in imconfig.h to make sure that they are accessible to all compilation units involved with Dear ImGui. +// If this triggers you have an issue: +// - Most commonly: mismatched headers and compiled code version. +// - Or: mismatched configuration #define, compilation settings, packing pragma etc. +// The configuration settings mentioned in imconfig.h must be set for all compilation units involved with Dear ImGui, +// which is way it is required you put them in your imconfig file (and not just before including imgui.h). +// Otherwise it is possible that different compilation units would see different structure layout bool ImGui::DebugCheckVersionAndDataLayout(const char* version, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_vert, size_t sz_idx) { bool error = false; @@ -8055,6 +9299,38 @@ bool ImGui::DebugCheckVersionAndDataLayout(const char* version, size_t sz_io, si return !error; } +// Until 1.89 (IMGUI_VERSION_NUM < 18814) it was legal to use SetCursorPos() to extend the boundary of a parent (e.g. window or table cell) +// This is causing issues and ambiguity and we need to retire that. +// See https://github.com/ocornut/imgui/issues/5548 for more details. +// [Scenario 1] +// Previously this would make the window content size ~200x200: +// Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + End(); // NOT OK +// Instead, please submit an item: +// Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + Dummy(ImVec2(0,0)) + End(); // OK +// Alternative: +// Begin(...) + Dummy(ImVec2(200,200)) + End(); // OK +// [Scenario 2] +// For reference this is one of the issue what we aim to fix with this change: +// BeginGroup() + SomeItem("foobar") + SetCursorScreenPos(GetCursorScreenPos()) + EndGroup() +// The previous logic made SetCursorScreenPos(GetCursorScreenPos()) have a side-effect! It would erroneously incorporate ItemSpacing.y after the item into content size, making the group taller! +// While this code is a little twisted, no-one would expect SetXXX(GetXXX()) to have a side-effect. Using vertical alignment patterns could trigger this issue. +void ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(window->DC.IsSetPos); + window->DC.IsSetPos = false; +#ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + if (window->DC.CursorPos.x <= window->DC.CursorMaxPos.x && window->DC.CursorPos.y <= window->DC.CursorMaxPos.y) + return; + if (window->SkipItems) + return; + IM_ASSERT(0 && "Code uses SetCursorPos()/SetCursorScreenPos() to extend window/parent boundaries. Please submit an item e.g. Dummy() to validate extent."); +#else + window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); +#endif +} + static void ImGui::ErrorCheckNewFrameSanityChecks() { ImGuiContext& g = *GImGui; @@ -8075,16 +9351,19 @@ static void ImGui::ErrorCheckNewFrameSanityChecks() IM_ASSERT(g.IO.DisplaySize.x >= 0.0f && g.IO.DisplaySize.y >= 0.0f && "Invalid DisplaySize value!"); IM_ASSERT(g.IO.Fonts->IsBuilt() && "Font Atlas not built! Make sure you called ImGui_ImplXXXX_NewFrame() function for renderer backend, which should call io.Fonts->GetTexDataAsRGBA32() / GetTexDataAsAlpha8()"); IM_ASSERT(g.Style.CurveTessellationTol > 0.0f && "Invalid style setting!"); - IM_ASSERT(g.Style.CircleTessellationMaxError > 0.0f && "Invalid style setting!"); + IM_ASSERT(g.Style.CircleTessellationMaxError > 0.0f && "Invalid style setting!"); IM_ASSERT(g.Style.Alpha >= 0.0f && g.Style.Alpha <= 1.0f && "Invalid style setting!"); // Allows us to avoid a few clamps in color computations IM_ASSERT(g.Style.WindowMinSize.x >= 1.0f && g.Style.WindowMinSize.y >= 1.0f && "Invalid style setting."); IM_ASSERT(g.Style.WindowMenuButtonPosition == ImGuiDir_None || g.Style.WindowMenuButtonPosition == ImGuiDir_Left || g.Style.WindowMenuButtonPosition == ImGuiDir_Right); - for (int n = 0; n < ImGuiKey_COUNT; n++) - IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < IM_ARRAYSIZE(g.IO.KeysDown) && "io.KeyMap[] contains an out of bound value (need to be 0..512, or -1 for unmapped key)"); + IM_ASSERT(g.Style.ColorButtonPosition == ImGuiDir_Left || g.Style.ColorButtonPosition == ImGuiDir_Right); +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + for (int n = ImGuiKey_NamedKey_BEGIN; n < ImGuiKey_COUNT; n++) + IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < ImGuiKey_LegacyNativeKey_END && "io.KeyMap[] contains an out of bound value (need to be 0..511, or -1 for unmapped key)"); // Check: required key mapping (we intentionally do NOT check all keys to not pressure user into setting up everything, but Space is required and was only added in 1.60 WIP) - if (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) + if ((g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) && g.IO.BackendUsingLegacyKeyArrays == 1) IM_ASSERT(g.IO.KeyMap[ImGuiKey_Space] != -1 && "ImGuiKey_Space is not mapped, required for keyboard navigation."); +#endif // Check: the io.ConfigWindowsResizeFromEdges option requires backend to honor mouse cursor changes and set the ImGuiBackendFlags_HasMouseCursors flag accordingly. if (g.IO.ConfigWindowsResizeFromEdges && !(g.IO.BackendFlags & ImGuiBackendFlags_HasMouseCursors)) @@ -8141,11 +9420,11 @@ static void ImGui::ErrorCheckEndFrameSanityChecks() // send key release events mid-frame. This would normally trigger this assertion and lead to sheared inputs. // We silently accommodate for this case by ignoring/ the case where all io.KeyXXX modifiers were released (aka key_mod_flags == 0), // while still correctly asserting on mid-frame key press events. - const ImGuiKeyModFlags key_mod_flags = GetMergedKeyModFlags(); - IM_ASSERT((key_mod_flags == 0 || g.IO.KeyMods == key_mod_flags) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); - IM_UNUSED(key_mod_flags); + const ImGuiKeyChord key_mods = GetMergedModsFromBools(); + IM_ASSERT((key_mods == 0 || g.IO.KeyMods == key_mods) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); + IM_UNUSED(key_mods); - // Recover from errors + // [EXPERIMENTAL] Recover from errors: You may call this yourself before EndFrame(). //ErrorCheckEndFrameRecover(); // Report when there is a mismatch of Begin/BeginChild vs End/EndChild calls. Important: Remember that the Begin/BeginChild API requires you @@ -8185,7 +9464,6 @@ void ImGui::ErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback, voi IM_ASSERT(window->IsFallbackWindow); break; } - IM_ASSERT(window == g.CurrentWindow); if (window->Flags & ImGuiWindowFlags_ChildWindow) { if (log_callback) log_callback(user_data, "Recovered from missing EndChild() for '%s'", window->Name); @@ -8252,7 +9530,7 @@ void ImGui::ErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback, vo if (log_callback) log_callback(user_data, "Recovered from missing PopStyleVar() in '%s'", window->Name); PopStyleVar(); } - while (g.FocusScopeStack.Size > stack_sizes->SizeOfFocusScopeStack) //-V1044 + while (g.FocusScopeStack.Size > stack_sizes->SizeOfFocusScopeStack + 1) //-V1044 { if (log_callback) log_callback(user_data, "Recovered from missing PopFocusScope() in '%s'", window->Name); PopFocusScope(); @@ -8328,7 +9606,7 @@ void ImGuiStackSizes::CompareWithCurrentState() // - GetWindowContentRegionMin(), GetWindowContentRegionMax() // - BeginGroup() // - EndGroup() -// Also see in imgui_widgets: tab bars, columns. +// Also see in imgui_widgets: tab bars, and in imgui_tables: tables, columns. //----------------------------------------------------------------------------- // Advance cursor given item size for layout. @@ -8345,14 +9623,16 @@ void ImGui::ItemSize(const ImVec2& size, float text_baseline_y) // In theory we should be offsetting the starting position (window->DC.CursorPos), that will be the topic of a larger refactor, // but since ItemSize() is not yet an API that moves the cursor (to handle e.g. wrapping) enlarging the height has the same effect. const float offset_to_match_baseline_y = (text_baseline_y >= 0) ? ImMax(0.0f, window->DC.CurrLineTextBaseOffset - text_baseline_y) : 0.0f; - const float line_height = ImMax(window->DC.CurrLineSize.y, size.y + offset_to_match_baseline_y); + + const float line_y1 = window->DC.IsSameLine ? window->DC.CursorPosPrevLine.y : window->DC.CursorPos.y; + const float line_height = ImMax(window->DC.CurrLineSize.y, /*ImMax(*/window->DC.CursorPos.y - line_y1/*, 0.0f)*/ + size.y + offset_to_match_baseline_y); // Always align ourselves on pixel boundaries //if (g.IO.KeyAlt) window->DrawList->AddRect(window->DC.CursorPos, window->DC.CursorPos + ImVec2(size.x, line_height), IM_COL32(255,0,0,200)); // [DEBUG] window->DC.CursorPosPrevLine.x = window->DC.CursorPos.x + size.x; - window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y; + window->DC.CursorPosPrevLine.y = line_y1; window->DC.CursorPos.x = IM_FLOOR(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); // Next line - window->DC.CursorPos.y = IM_FLOOR(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y); // Next line + window->DC.CursorPos.y = IM_FLOOR(line_y1 + line_height + g.Style.ItemSpacing.y); // Next line window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPosPrevLine.x); window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y - g.Style.ItemSpacing.y); //if (g.IO.KeyAlt) window->DrawList->AddCircle(window->DC.CursorMaxPos, 3.0f, IM_COL32(255,0,0,255), 4); // [DEBUG] @@ -8361,17 +9641,13 @@ void ImGui::ItemSize(const ImVec2& size, float text_baseline_y) window->DC.CurrLineSize.y = 0.0f; window->DC.PrevLineTextBaseOffset = ImMax(window->DC.CurrLineTextBaseOffset, text_baseline_y); window->DC.CurrLineTextBaseOffset = 0.0f; + window->DC.IsSameLine = window->DC.IsSetPos = false; // Horizontal layout mode if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) SameLine(); } -void ImGui::ItemSize(const ImRect& bb, float text_baseline_y) -{ - ItemSize(bb.GetSize(), text_baseline_y); -} - // Declare item bounding box for clipping and interaction. // Note that the size can be different than the one provided to ItemSize(). Typically, widgets that spread over available surface // declare their minimum size requirement to ItemSize() and provide a larger region to ItemAdd() which is used drawing/interaction. @@ -8391,6 +9667,8 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // Directional navigation processing if (id != 0) { + KeepAliveID(id); + // Runs prior to clipping early-out // (a) So that NavInitRequest can be honored, for newly opened windows to select a default widget // (b) So that we can scroll up/down past clipped items. This adds a small O(N) cost to regular navigation requests @@ -8400,25 +9678,19 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // to reach unclipped widgets. This would work if user had explicit scrolling control (e.g. mapped on a stick). // We intentionally don't check if g.NavWindow != NULL because g.NavAnyRequest should only be set when it is non null. // If we crash on a NULL g.NavWindow we need to fix the bug elsewhere. - window->DC.NavLayersActiveMaskNext |= (1 << window->DC.NavLayerCurrent); - if (g.NavId == id || g.NavAnyRequest) - if (g.NavWindow->RootWindowForNav == window->RootWindowForNav) - if (window == g.NavWindow || ((window->Flags | g.NavWindow->Flags) & ImGuiWindowFlags_NavFlattened)) - NavProcessItem(); + if (!(g.LastItemData.InFlags & ImGuiItemFlags_NoNav)) + { + window->DC.NavLayersActiveMaskNext |= (1 << window->DC.NavLayerCurrent); + if (g.NavId == id || g.NavAnyRequest) + if (g.NavWindow->RootWindowForNav == window->RootWindowForNav) + if (window == g.NavWindow || ((window->Flags | g.NavWindow->Flags) & ImGuiWindowFlags_NavFlattened)) + NavProcessItem(); + } // [DEBUG] People keep stumbling on this problem and using "" as identifier in the root of a window instead of "##something". // Empty identifier are valid and useful in a small amount of cases, but 99.9% of the time you want to use "##something". // READ THE FAQ: https://dearimgui.org/faq IM_ASSERT(id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"); - - // [DEBUG] Item Picker tool, when enabling the "extended" version we perform the check in ItemAdd() -#ifdef IMGUI_DEBUG_TOOL_ITEM_PICKER_EX - if (id == g.DebugItemPickerBreakId) - { - IM_DEBUG_BREAK(); - g.DebugItemPickerBreakId = 0; - } -#endif } g.NextItemData.Flags = ImGuiNextItemDataFlags_None; @@ -8428,12 +9700,26 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu #endif // Clipping test - const bool is_clipped = IsClippedEx(bb, id); - if (is_clipped) - return false; + // (FIXME: This is a modified copy of IsClippedEx() so we can reuse the is_rect_visible value) + //const bool is_clipped = IsClippedEx(bb, id); + //if (is_clipped) + // return false; + const bool is_rect_visible = bb.Overlaps(window->ClipRect); + if (!is_rect_visible) + if (id == 0 || (id != g.ActiveId && id != g.NavId)) + if (!g.LogEnabled) + return false; + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (id != 0 && id == g.DebugLocateId) + DebugLocateItemResolveWithLastItem(); +#endif //if (g.IO.KeyAlt) window->DrawList->AddRect(bb.Min, bb.Max, IM_COL32(255,255,0,120)); // [DEBUG] // We need to calculate this now to take account of the current clipping rectangle (as items like Selectable may change them) + if (is_rect_visible) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Visible; if (IsMouseHoveringRect(bb.Min, bb.Max)) g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredRect; return true; @@ -8446,25 +9732,28 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // spacing_w >= 0 : enforce spacing amount void ImGui::SameLine(float offset_from_start_x, float spacing_w) { - ImGuiWindow* window = GetCurrentWindow(); + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) return; - ImGuiContext& g = *GImGui; if (offset_from_start_x != 0.0f) { - if (spacing_w < 0.0f) spacing_w = 0.0f; + if (spacing_w < 0.0f) + spacing_w = 0.0f; window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + offset_from_start_x + spacing_w + window->DC.GroupOffset.x + window->DC.ColumnsOffset.x; window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; } else { - if (spacing_w < 0.0f) spacing_w = g.Style.ItemSpacing.x; + if (spacing_w < 0.0f) + spacing_w = g.Style.ItemSpacing.x; window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w; window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; } window->DC.CurrLineSize = window->DC.PrevLineSize; window->DC.CurrLineTextBaseOffset = window->DC.PrevLineTextBaseOffset; + window->DC.IsSameLine = true; } ImVec2 ImGui::GetCursorScreenPos() @@ -8473,11 +9762,15 @@ ImVec2 ImGui::GetCursorScreenPos() return window->DC.CursorPos; } +// 2022/08/05: Setting cursor position also extend boundaries (via modifying CursorMaxPos) used to compute window size, group size etc. +// I believe this was is a judicious choice but it's probably being relied upon (it has been the case since 1.31 and 1.50) +// It would be sane if we requested user to use SetCursorPos() + Dummy(ImVec2(0,0)) to extend CursorMaxPos... void ImGui::SetCursorScreenPos(const ImVec2& pos) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos = pos; - window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + //window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + window->DC.IsSetPos = true; } // User generally sees positions in window coordinates. Internally we store CursorPos in absolute screen coordinates because it is more convenient. @@ -8504,21 +9797,24 @@ void ImGui::SetCursorPos(const ImVec2& local_pos) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos = window->Pos - window->Scroll + local_pos; - window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + //window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + window->DC.IsSetPos = true; } void ImGui::SetCursorPosX(float x) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + x; - window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x); + //window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x); + window->DC.IsSetPos = true; } void ImGui::SetCursorPosY(float y) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos.y = window->Pos.y - window->Scroll.y + y; - window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y); + //window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y); + window->DC.IsSetPos = true; } ImVec2 ImGui::GetCursorStartPos() @@ -8609,7 +9905,8 @@ float ImGui::CalcItemWidth() // The 4.0f here may be changed to match CalcItemWidth() and/or BeginChild() (right now we have a mismatch which is harmless but undesirable) ImVec2 ImGui::CalcItemSize(ImVec2 size, float default_w, float default_h) { - ImGuiWindow* window = GImGui->CurrentWindow; + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; ImVec2 region_max; if (size.x < 0.0f || size.y < 0.0f) @@ -8734,6 +10031,9 @@ void ImGui::EndGroup() ImGuiGroupData& group_data = g.GroupStack.back(); IM_ASSERT(group_data.WindowID == window->ID); // EndGroup() in wrong window? + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + ImRect group_bb(group_data.BackupCursorPos, ImMax(window->DC.CursorMaxPos, group_data.BackupCursorPos)); window->DC.CursorPos = group_data.BackupCursorPos; @@ -8756,7 +10056,7 @@ void ImGui::EndGroup() ItemAdd(group_bb, 0, NULL, ImGuiItemFlags_NoTabStop); // If the current ActiveId was declared within the boundary of our group, we copy it to LastItemId so IsItemActive(), IsItemDeactivated() etc. will be functional on the entire group. - // It would be be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets. + // It would be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets. // Also if you grep for LastItemId you'll notice it is only used in that context. // (The two tests not the same because ActiveIdIsAlive is an ID itself, in order to be able to handle ActiveId being overwritten during the frame.) const bool group_contains_curr_active_id = (group_data.BackupActiveIdIsAlive != g.ActiveId) && (g.ActiveIdIsAlive == g.ActiveId) && g.ActiveId; @@ -8874,8 +10174,8 @@ ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGui const bool fully_visible_x = item_rect.Min.x >= window_rect.Min.x && item_rect.Max.x <= window_rect.Max.x; const bool fully_visible_y = item_rect.Min.y >= window_rect.Min.y && item_rect.Max.y <= window_rect.Max.y; - const bool can_be_fully_visible_x = (item_rect.GetWidth() + g.Style.ItemSpacing.x * 2.0f) <= window_rect.GetWidth(); - const bool can_be_fully_visible_y = (item_rect.GetHeight() + g.Style.ItemSpacing.y * 2.0f) <= window_rect.GetHeight(); + const bool can_be_fully_visible_x = (item_rect.GetWidth() + g.Style.ItemSpacing.x * 2.0f) <= window_rect.GetWidth() || (window->AutoFitFramesX > 0) || (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0; + const bool can_be_fully_visible_y = (item_rect.GetHeight() + g.Style.ItemSpacing.y * 2.0f) <= window_rect.GetHeight() || (window->AutoFitFramesY > 0) || (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0; if ((flags & ImGuiScrollFlags_KeepVisibleEdgeX) && !fully_visible_x) { @@ -8886,8 +10186,10 @@ ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGui } else if (((flags & ImGuiScrollFlags_KeepVisibleCenterX) && !fully_visible_x) || (flags & ImGuiScrollFlags_AlwaysCenterX)) { - float target_x = can_be_fully_visible_x ? ImFloor((item_rect.Min.x + item_rect.Max.x - window->InnerRect.GetWidth()) * 0.5f) : item_rect.Min.x; - SetScrollFromPosX(window, target_x - window->Pos.x, 0.0f); + if (can_be_fully_visible_x) + SetScrollFromPosX(window, ImFloor((item_rect.Min.x + item_rect.Max.y) * 0.5f) - window->Pos.x, 0.5f); + else + SetScrollFromPosX(window, item_rect.Min.x - window->Pos.x, 0.0f); } if ((flags & ImGuiScrollFlags_KeepVisibleEdgeY) && !fully_visible_y) @@ -8899,8 +10201,10 @@ ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGui } else if (((flags & ImGuiScrollFlags_KeepVisibleCenterY) && !fully_visible_y) || (flags & ImGuiScrollFlags_AlwaysCenterY)) { - float target_y = can_be_fully_visible_y ? ImFloor((item_rect.Min.y + item_rect.Max.y - window->InnerRect.GetHeight()) * 0.5f) : item_rect.Min.y; - SetScrollFromPosY(window, target_y - window->Pos.y, 0.0f); + if (can_be_fully_visible_y) + SetScrollFromPosY(window, ImFloor((item_rect.Min.y + item_rect.Max.y) * 0.5f) - window->Pos.y, 0.5f); + else + SetScrollFromPosY(window, item_rect.Min.y - window->Pos.y, 0.0f); } ImVec2 next_scroll = CalcNextScrollFromScrollTargetAndClamp(window); @@ -8975,7 +10279,7 @@ void ImGui::SetScrollY(float scroll_y) // - local_pos = (absolution_pos - window->Pos) // - So local_x/local_y are 0.0f for a position at the upper-left corner of a window, // and generally local_x/local_y are >(padding+decoration) && <(size-padding-decoration) when in the visible area. -// - They mostly exists because of legacy API. +// - They mostly exist because of legacy API. // Following the rules above, when trying to work with scrolling code, consider that: // - SetScrollFromPosY(0.0f) == SetScrollY(0.0f + scroll.y) == has no effect! // - SetScrollFromPosY(-scroll.y) == SetScrollY(-scroll.y + scroll.y) == SetScrollY(0.0f) == reset scroll. Of course writing SetScrollY(0.0f) directly then makes more sense @@ -9166,7 +10470,9 @@ ImGuiWindow* ImGui::GetTopMostAndVisiblePopupModal() void ImGui::OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags) { ImGuiContext& g = *GImGui; - OpenPopupEx(g.CurrentWindow->GetID(str_id), popup_flags); + ImGuiID id = g.CurrentWindow->GetID(str_id); + IMGUI_DEBUG_LOG_POPUP("[popup] OpenPopup(\"%s\" -> 0x%08X\n", str_id, id); + OpenPopupEx(id, popup_flags); } void ImGui::OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags) @@ -9191,13 +10497,13 @@ void ImGui::OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags) ImGuiPopupData popup_ref; // Tagged as new ref as Window will be set back to NULL if we write this into OpenPopupStack. popup_ref.PopupId = id; popup_ref.Window = NULL; - popup_ref.SourceWindow = g.NavWindow; + popup_ref.BackupNavWindow = g.NavWindow; // When popup closes focus may be restored to NavWindow (depend on window type). popup_ref.OpenFrameCount = g.FrameCount; popup_ref.OpenParentId = parent_window->IDStack.back(); popup_ref.OpenPopupPos = NavCalcPreferredRefPos(); popup_ref.OpenMousePos = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : popup_ref.OpenPopupPos; - IMGUI_DEBUG_LOG_POPUP("OpenPopupEx(0x%08X)\n", id); + IMGUI_DEBUG_LOG_POPUP("[popup] OpenPopupEx(0x%08X)\n", id); if (g.OpenPopupStack.Size < current_stack_size + 1) { g.OpenPopupStack.push_back(popup_ref); @@ -9267,7 +10573,7 @@ void ImGui::ClosePopupsOverWindow(ImGuiWindow* ref_window, bool restore_focus_to } if (popup_count_to_keep < g.OpenPopupStack.Size) // This test is not required but it allows to set a convenient breakpoint on the statement below { - IMGUI_DEBUG_LOG_POPUP("ClosePopupsOverWindow(\"%s\") -> ClosePopupToLevel(%d)\n", ref_window->Name, popup_count_to_keep); + IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupsOverWindow(\"%s\")\n", ref_window ? ref_window->Name : ""); ClosePopupToLevel(popup_count_to_keep, restore_focus_to_window_under_popup); } } @@ -9290,16 +10596,17 @@ void ImGui::ClosePopupsExceptModals() void ImGui::ClosePopupToLevel(int remaining, bool restore_focus_to_window_under_popup) { ImGuiContext& g = *GImGui; - IMGUI_DEBUG_LOG_POPUP("ClosePopupToLevel(%d), restore_focus_to_window_under_popup=%d\n", remaining, restore_focus_to_window_under_popup); + IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupToLevel(%d), restore_focus_to_window_under_popup=%d\n", remaining, restore_focus_to_window_under_popup); IM_ASSERT(remaining >= 0 && remaining < g.OpenPopupStack.Size); // Trim open popup stack - ImGuiWindow* focus_window = g.OpenPopupStack[remaining].SourceWindow; ImGuiWindow* popup_window = g.OpenPopupStack[remaining].Window; + ImGuiWindow* popup_backup_nav_window = g.OpenPopupStack[remaining].BackupNavWindow; g.OpenPopupStack.resize(remaining); if (restore_focus_to_window_under_popup) { + ImGuiWindow* focus_window = (popup_window && popup_window->Flags & ImGuiWindowFlags_ChildMenu) ? popup_window->ParentWindow : popup_backup_nav_window; if (focus_window && !focus_window->WasActive && popup_window) { // Fallback @@ -9335,7 +10642,7 @@ void ImGui::CloseCurrentPopup() break; popup_idx--; } - IMGUI_DEBUG_LOG_POPUP("CloseCurrentPopup %d -> %d\n", g.BeginPopupStack.Size - 1, popup_idx); + IMGUI_DEBUG_LOG_POPUP("[popup] CloseCurrentPopup %d -> %d\n", g.BeginPopupStack.Size - 1, popup_idx); ClosePopupToLevel(popup_idx, true); // A common pattern is to close a popup when selecting a menu item/selectable that will open another window. @@ -9378,7 +10685,8 @@ bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags) return false; } flags |= ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings; - return BeginPopupEx(g.CurrentWindow->GetID(str_id), flags); + ImGuiID id = g.CurrentWindow->GetID(str_id); + return BeginPopupEx(id, flags); } // If 'p_open' is specified for a modal popup window, the popup will have a regular close button which will close the popup. @@ -9457,7 +10765,7 @@ void ImGui::OpenPopupOnItemClick(const char* str_id, ImGuiPopupFlags popup_flags // - You may want to handle the whole on user side if you have specific needs (e.g. tweaking IsItemHovered() parameters). // This is essentially the same as: // id = str_id ? GetID(str_id) : GetItemID(); -// OpenPopupOnItemClick(str_id); +// OpenPopupOnItemClick(str_id, ImGuiPopupFlags_MouseButtonRight); // return BeginPopup(id); // Which is essentially the same as: // id = str_id ? GetID(str_id) : GetItemID(); @@ -9553,7 +10861,7 @@ ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& s const float avail_w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? r_avoid.Max.x : r_outer.Min.x); const float avail_h = (dir == ImGuiDir_Up ? r_avoid.Min.y : r_outer.Max.y) - (dir == ImGuiDir_Down ? r_avoid.Max.y : r_outer.Min.y); - // If there not enough room on one axis, there's no point in positioning on a side on this axis (e.g. when not enough width, use a top/bottom position to maximize available width) + // If there's not enough room on one axis, there's no point in positioning on a side on this axis (e.g. when not enough width, use a top/bottom position to maximize available width) if (avail_w < size.x && (dir == ImGuiDir_Left || dir == ImGuiDir_Right)) continue; if (avail_h < size.y && (dir == ImGuiDir_Up || dir == ImGuiDir_Down)) @@ -9628,8 +10936,7 @@ ImVec2 ImGui::FindBestWindowPosForPopup(ImGuiWindow* window) } if (window->Flags & ImGuiWindowFlags_Popup) { - ImRect r_avoid = ImRect(window->Pos.x - 1, window->Pos.y - 1, window->Pos.x + 1, window->Pos.y + 1); - return FindBestWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, r_avoid, ImGuiPopupPositionPolicy_Default); + return FindBestWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, ImRect(window->Pos, window->Pos), ImGuiPopupPositionPolicy_Default); // Ideally we'd disable r_avoid here } if (window->Flags & ImGuiWindowFlags_Tooltip) { @@ -9651,8 +10958,22 @@ ImVec2 ImGui::FindBestWindowPosForPopup(ImGuiWindow* window) // [SECTION] KEYBOARD/GAMEPAD NAVIGATION //----------------------------------------------------------------------------- -// FIXME-NAV: The existence of SetNavID vs SetFocusID properly needs to be clarified/reworked. -// In our terminology those should be interchangeable. Those two functions are merely a legacy artifact, so at minimum naming should be clarified. +// FIXME-NAV: The existence of SetNavID vs SetFocusID vs FocusWindow() needs to be clarified/reworked. +// In our terminology those should be interchangeable, yet right now this is super confusing. +// Those two functions are merely a legacy artifact, so at minimum naming should be clarified. + +void ImGui::SetNavWindow(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (g.NavWindow != window) + { + IMGUI_DEBUG_LOG_FOCUS("[focus] SetNavWindow(\"%s\")\n", window ? window->Name : ""); + g.NavWindow = window; + } + g.NavInitRequest = g.NavMoveSubmitted = g.NavMoveScoringItems = false; + NavUpdateAnyRequestFlag(); +} + void ImGui::SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel) { ImGuiContext& g = *GImGui; @@ -9670,15 +10991,15 @@ void ImGui::SetFocusID(ImGuiID id, ImGuiWindow* window) ImGuiContext& g = *GImGui; IM_ASSERT(id != 0); - // Assume that SetFocusID() is called in the context where its window->DC.NavLayerCurrent and window->DC.NavFocusScopeIdCurrent are valid. + if (g.NavWindow != window) + SetNavWindow(window); + + // Assume that SetFocusID() is called in the context where its window->DC.NavLayerCurrent and g.CurrentFocusScopeId are valid. // Note that window may be != g.CurrentWindow (e.g. SetFocusID call in InputTextEx for multi-line text) const ImGuiNavLayer nav_layer = window->DC.NavLayerCurrent; - if (g.NavWindow != window) - g.NavInitRequest = false; - g.NavWindow = window; g.NavId = id; g.NavLayer = nav_layer; - g.NavFocusScopeId = window->DC.NavFocusScopeIdCurrent; + g.NavFocusScopeId = g.CurrentFocusScopeId; window->NavLastIds[nav_layer] = id; if (g.LastItemData.ID == id) window->NavRectRel[nav_layer] = WindowRectAbsToRel(window, g.LastItemData.NavRect); @@ -9742,7 +11063,7 @@ static bool ImGui::NavScoreItem(ImGuiNavItemData* result) } // We perform scoring on items bounding box clipped by the current clipping rectangle on the other axis (clipping on our movement axis would give us equal scores for all clipped items) - // For example, this ensure that items in one column are not reached when moving vertically from items in another column. + // For example, this ensures that items in one column are not reached when moving vertically from items in another column. NavClampRectToVisibleAreaForMoveDir(g.NavMoveClipDir, cand, window->ClipRect); // Compute distance between boxes @@ -9806,7 +11127,7 @@ static bool ImGui::NavScoreItem(ImGuiNavItemData* result) } #endif - // Is it in the quadrant we're interesting in moving to? + // Is it in the quadrant we're interested in moving to? bool new_best = false; const ImGuiDir move_dir = g.NavMoveDir; if (quadrant == move_dir) @@ -9859,7 +11180,7 @@ static void ImGui::NavApplyItemToResult(ImGuiNavItemData* result) ImGuiWindow* window = g.CurrentWindow; result->Window = window; result->ID = g.LastItemData.ID; - result->FocusScopeId = window->DC.NavFocusScopeIdCurrent; + result->FocusScopeId = g.CurrentFocusScopeId; result->InFlags = g.LastItemData.InFlags; result->RectRel = WindowRectAbsToRel(window, g.LastItemData.NavRect); } @@ -9875,10 +11196,10 @@ static void ImGui::NavProcessItem() const ImGuiItemFlags item_flags = g.LastItemData.InFlags; // Process Init Request - if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent) + if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent && (item_flags & ImGuiItemFlags_Disabled) == 0) { // Even if 'ImGuiItemFlags_NoNavDefaultFocus' is on (typically collapse/close button) we record the first ResultId so they can be used as a fallback - const bool candidate_for_nav_default_focus = (item_flags & (ImGuiItemFlags_NoNavDefaultFocus | ImGuiItemFlags_Disabled)) == 0; + const bool candidate_for_nav_default_focus = (item_flags & ImGuiItemFlags_NoNavDefaultFocus) == 0; if (candidate_for_nav_default_focus || g.NavInitResultId == 0) { g.NavInitResultId = id; @@ -9902,7 +11223,7 @@ static void ImGui::NavProcessItem() if (is_tab_stop || (g.NavMoveFlags & ImGuiNavMoveFlags_FocusApi)) NavProcessItemForTabbingRequest(id); } - else if ((g.NavId != id || (g.NavMoveFlags & ImGuiNavMoveFlags_AllowCurrentNavId)) && !(item_flags & (ImGuiItemFlags_Disabled | ImGuiItemFlags_NoNav))) + else if ((g.NavId != id || (g.NavMoveFlags & ImGuiNavMoveFlags_AllowCurrentNavId)) && !(item_flags & ImGuiItemFlags_Disabled)) { ImGuiNavItemData* result = (window == g.NavWindow) ? &g.NavMoveResultLocal : &g.NavMoveResultOther; if (!is_tabbing) @@ -9923,9 +11244,10 @@ static void ImGui::NavProcessItem() // Update window-relative bounding box of navigated item if (g.NavId == id) { - g.NavWindow = window; // Always refresh g.NavWindow, because some operations such as FocusItem() don't have a window. + if (g.NavWindow != window) + SetNavWindow(window); // Always refresh g.NavWindow, because some operations such as FocusItem() may not have a window. g.NavLayer = window->DC.NavLayerCurrent; - g.NavFocusScopeId = window->DC.NavFocusScopeIdCurrent; + g.NavFocusScopeId = g.CurrentFocusScopeId; g.NavIdIsAlive = true; window->NavRectRel[window->DC.NavLayerCurrent] = WindowRectAbsToRel(window, nav_bb); // Store item bounding box (relative to window position) } @@ -10001,10 +11323,11 @@ void ImGui::NavMoveRequestSubmit(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavM g.NavMoveScrollFlags = scroll_flags; g.NavMoveForwardToNextFrame = false; g.NavMoveKeyMods = g.IO.KeyMods; - g.NavTabbingCounter = 0; g.NavMoveResultLocal.Clear(); g.NavMoveResultLocalVisible.Clear(); g.NavMoveResultOther.Clear(); + g.NavTabbingCounter = 0; + g.NavTabbingResultFirst.Clear(); NavUpdateAnyRequestFlag(); } @@ -10074,7 +11397,12 @@ void ImGui::NavRestoreLayer(ImGuiNavLayer layer) { ImGuiContext& g = *GImGui; if (layer == ImGuiNavLayer_Main) - g.NavWindow = NavRestoreLastChildNavWindow(g.NavWindow); + { + ImGuiWindow* prev_nav_window = g.NavWindow; + g.NavWindow = NavRestoreLastChildNavWindow(g.NavWindow); // FIXME-NAV: Should clear ongoing nav requests? + if (prev_nav_window) + IMGUI_DEBUG_LOG_FOCUS("[focus] NavRestoreLayer: from \"%s\" to SetNavWindow(\"%s\")\n", prev_nav_window->Name, g.NavWindow->Name); + } ImGuiWindow* window = g.NavWindow; if (window->NavLastIds[layer] != 0) { @@ -10111,7 +11439,8 @@ void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) if (window->Flags & ImGuiWindowFlags_NoNavInputs) { - g.NavId = g.NavFocusScopeId = 0; + g.NavId = 0; + g.NavFocusScopeId = window->NavRootFocusScopeId; return; } @@ -10121,7 +11450,7 @@ void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from NavInitWindow(), init_for_nav=%d, window=\"%s\", layer=%d\n", init_for_nav, window->Name, g.NavLayer); if (init_for_nav) { - SetNavID(0, g.NavLayer, 0, ImRect()); + SetNavID(0, g.NavLayer, window->NavRootFocusScopeId, ImRect()); g.NavInitRequest = true; g.NavInitRequestFromMove = false; g.NavInitResultId = 0; @@ -10131,7 +11460,7 @@ void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) else { g.NavId = window->NavLastIds[0]; - g.NavFocusScopeId = 0; + g.NavFocusScopeId = window->NavRootFocusScopeId; } } @@ -10142,9 +11471,10 @@ static ImVec2 ImGui::NavCalcPreferredRefPos() if (g.NavDisableHighlight || !g.NavDisableMouseHover || !window) { // Mouse (we need a fallback in case the mouse becomes invalid after being used) - if (IsMousePosValid(&g.IO.MousePos)) - return g.IO.MousePos; - return g.MouseLastValidPos; + // The +1.0f offset when stored by OpenPopupEx() allows reopening this or another popup (same or another mouse button) while not moving the mouse, it is pretty standard. + // In theory we could move that +1.0f offset in OpenPopupEx() + ImVec2 p = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : g.MouseLastValidPos; + return ImVec2(p.x + 1.0f, p.y); } else { @@ -10162,44 +11492,27 @@ static ImVec2 ImGui::NavCalcPreferredRefPos() } } -float ImGui::GetNavInputAmount(ImGuiNavInput n, ImGuiInputReadMode mode) +float ImGui::GetNavTweakPressedAmount(ImGuiAxis axis) { ImGuiContext& g = *GImGui; - if (mode == ImGuiInputReadMode_Down) - return g.IO.NavInputs[n]; // Instant, read analog input (0.0f..1.0f, as provided by user) + float repeat_delay, repeat_rate; + GetTypematicRepeatRate(ImGuiInputFlags_RepeatRateNavTweak, &repeat_delay, &repeat_rate); - const float t = g.IO.NavInputsDownDuration[n]; - if (t < 0.0f && mode == ImGuiInputReadMode_Released) // Return 1.0f when just released, no repeat, ignore analog input. - return (g.IO.NavInputsDownDurationPrev[n] >= 0.0f ? 1.0f : 0.0f); - if (t < 0.0f) - return 0.0f; - if (mode == ImGuiInputReadMode_Pressed) // Return 1.0f when just pressed, no repeat, ignore analog input. - return (t == 0.0f) ? 1.0f : 0.0f; - if (mode == ImGuiInputReadMode_Repeat) - return (float)CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay * 0.72f, g.IO.KeyRepeatRate * 0.80f); - if (mode == ImGuiInputReadMode_RepeatSlow) - return (float)CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay * 1.25f, g.IO.KeyRepeatRate * 2.00f); - if (mode == ImGuiInputReadMode_RepeatFast) - return (float)CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay * 0.72f, g.IO.KeyRepeatRate * 0.30f); - return 0.0f; -} - -ImVec2 ImGui::GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor, float fast_factor) -{ - ImVec2 delta(0.0f, 0.0f); - if (dir_sources & ImGuiNavDirSourceFlags_RawKeyboard) - delta += ImVec2((float)IsKeyDown(GetKeyIndex(ImGuiKey_RightArrow)) - (float)IsKeyDown(GetKeyIndex(ImGuiKey_LeftArrow)), (float)IsKeyDown(GetKeyIndex(ImGuiKey_DownArrow)) - (float)IsKeyDown(GetKeyIndex(ImGuiKey_UpArrow))); - if (dir_sources & ImGuiNavDirSourceFlags_Keyboard) - delta += ImVec2(GetNavInputAmount(ImGuiNavInput_KeyRight_, mode) - GetNavInputAmount(ImGuiNavInput_KeyLeft_, mode), GetNavInputAmount(ImGuiNavInput_KeyDown_, mode) - GetNavInputAmount(ImGuiNavInput_KeyUp_, mode)); - if (dir_sources & ImGuiNavDirSourceFlags_PadDPad) - delta += ImVec2(GetNavInputAmount(ImGuiNavInput_DpadRight, mode) - GetNavInputAmount(ImGuiNavInput_DpadLeft, mode), GetNavInputAmount(ImGuiNavInput_DpadDown, mode) - GetNavInputAmount(ImGuiNavInput_DpadUp, mode)); - if (dir_sources & ImGuiNavDirSourceFlags_PadLStick) - delta += ImVec2(GetNavInputAmount(ImGuiNavInput_LStickRight, mode) - GetNavInputAmount(ImGuiNavInput_LStickLeft, mode), GetNavInputAmount(ImGuiNavInput_LStickDown, mode) - GetNavInputAmount(ImGuiNavInput_LStickUp, mode)); - if (slow_factor != 0.0f && IsNavInputDown(ImGuiNavInput_TweakSlow)) - delta *= slow_factor; - if (fast_factor != 0.0f && IsNavInputDown(ImGuiNavInput_TweakFast)) - delta *= fast_factor; - return delta; + ImGuiKey key_less, key_more; + if (g.NavInputSource == ImGuiInputSource_Gamepad) + { + key_less = (axis == ImGuiAxis_X) ? ImGuiKey_GamepadDpadLeft : ImGuiKey_GamepadDpadUp; + key_more = (axis == ImGuiAxis_X) ? ImGuiKey_GamepadDpadRight : ImGuiKey_GamepadDpadDown; + } + else + { + key_less = (axis == ImGuiAxis_X) ? ImGuiKey_LeftArrow : ImGuiKey_UpArrow; + key_more = (axis == ImGuiAxis_X) ? ImGuiKey_RightArrow : ImGuiKey_DownArrow; + } + float amount = (float)GetKeyPressedAmount(key_more, repeat_delay, repeat_rate) - (float)GetKeyPressedAmount(key_less, repeat_delay, repeat_rate); + if (amount != 0.0f && IsKeyDown(key_less) && IsKeyDown(key_more)) // Cancel when opposite directions are held, regardless of repeat phase + amount = 0.0f; + return amount; } static void ImGui::NavUpdate() @@ -10208,39 +11521,22 @@ static void ImGui::NavUpdate() ImGuiIO& io = g.IO; io.WantSetMousePos = false; - //if (g.NavScoringDebugCount > 0) IMGUI_DEBUG_LOG("NavScoringDebugCount %d for '%s' layer %d (Init:%d, Move:%d)\n", g.NavScoringDebugCount, g.NavWindow ? g.NavWindow->Name : "NULL", g.NavLayer, g.NavInitRequest || g.NavInitResultId != 0, g.NavMoveRequest); + //if (g.NavScoringDebugCount > 0) IMGUI_DEBUG_LOG_NAV("[nav] NavScoringDebugCount %d for '%s' layer %d (Init:%d, Move:%d)\n", g.NavScoringDebugCount, g.NavWindow ? g.NavWindow->Name : "NULL", g.NavLayer, g.NavInitRequest || g.NavInitResultId != 0, g.NavMoveRequest); - // Set input source as Gamepad when buttons are pressed (as some features differs when used with Gamepad vs Keyboard) - // (do it before we map Keyboard input!) - const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + // Set input source based on which keys are last pressed (as some features differs when used with Gamepad vs Keyboard) + // FIXME-NAV: Now that keys are separated maybe we can get rid of NavInputSource? const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; - if (nav_gamepad_active && g.NavInputSource != ImGuiInputSource_Gamepad) - { - if (io.NavInputs[ImGuiNavInput_Activate] > 0.0f || io.NavInputs[ImGuiNavInput_Input] > 0.0f || io.NavInputs[ImGuiNavInput_Cancel] > 0.0f || io.NavInputs[ImGuiNavInput_Menu] > 0.0f - || io.NavInputs[ImGuiNavInput_DpadLeft] > 0.0f || io.NavInputs[ImGuiNavInput_DpadRight] > 0.0f || io.NavInputs[ImGuiNavInput_DpadUp] > 0.0f || io.NavInputs[ImGuiNavInput_DpadDown] > 0.0f) - g.NavInputSource = ImGuiInputSource_Gamepad; - } - - // Update Keyboard->Nav inputs mapping + const ImGuiKey nav_gamepad_keys_to_change_source[] = { ImGuiKey_GamepadFaceRight, ImGuiKey_GamepadFaceLeft, ImGuiKey_GamepadFaceUp, ImGuiKey_GamepadFaceDown, ImGuiKey_GamepadDpadRight, ImGuiKey_GamepadDpadLeft, ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadDpadDown }; + if (nav_gamepad_active) + for (ImGuiKey key : nav_gamepad_keys_to_change_source) + if (IsKeyDown(key)) + g.NavInputSource = ImGuiInputSource_Gamepad; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + const ImGuiKey nav_keyboard_keys_to_change_source[] = { ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, ImGuiKey_RightArrow, ImGuiKey_LeftArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow }; if (nav_keyboard_active) - { - #define NAV_MAP_KEY(_KEY, _NAV_INPUT) do { if (IsKeyDown(io.KeyMap[_KEY])) { io.NavInputs[_NAV_INPUT] = 1.0f; g.NavInputSource = ImGuiInputSource_Keyboard; } } while (0) - NAV_MAP_KEY(ImGuiKey_Space, ImGuiNavInput_Activate ); - NAV_MAP_KEY(ImGuiKey_Enter, ImGuiNavInput_Input ); - NAV_MAP_KEY(ImGuiKey_Escape, ImGuiNavInput_Cancel ); - NAV_MAP_KEY(ImGuiKey_LeftArrow, ImGuiNavInput_KeyLeft_ ); - NAV_MAP_KEY(ImGuiKey_RightArrow,ImGuiNavInput_KeyRight_); - NAV_MAP_KEY(ImGuiKey_UpArrow, ImGuiNavInput_KeyUp_ ); - NAV_MAP_KEY(ImGuiKey_DownArrow, ImGuiNavInput_KeyDown_ ); - if (io.KeyCtrl) - io.NavInputs[ImGuiNavInput_TweakSlow] = 1.0f; - if (io.KeyShift) - io.NavInputs[ImGuiNavInput_TweakFast] = 1.0f; - #undef NAV_MAP_KEY - } - memcpy(io.NavInputsDownDurationPrev, io.NavInputsDownDuration, sizeof(io.NavInputsDownDuration)); - for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) - io.NavInputsDownDuration[i] = (io.NavInputs[i] > 0.0f) ? (io.NavInputsDownDuration[i] < 0.0f ? 0.0f : io.NavInputsDownDuration[i] + io.DeltaTime) : -1.0f; + for (ImGuiKey key : nav_keyboard_keys_to_change_source) + if (IsKeyDown(key)) + g.NavInputSource = ImGuiInputSource_Keyboard; // Process navigation init request (select first/default focus) if (g.NavInitResultId != 0) @@ -10285,10 +11581,10 @@ static void ImGui::NavUpdate() g.NavActivateFlags = ImGuiActivateFlags_None; if (g.NavId != 0 && !g.NavDisableHighlight && !g.NavWindowingTarget && g.NavWindow && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs)) { - bool activate_down = IsNavInputDown(ImGuiNavInput_Activate); - bool input_down = IsNavInputDown(ImGuiNavInput_Input); - bool activate_pressed = activate_down && IsNavInputTest(ImGuiNavInput_Activate, ImGuiInputReadMode_Pressed); - bool input_pressed = input_down && IsNavInputTest(ImGuiNavInput_Input, ImGuiInputReadMode_Pressed); + const bool activate_down = (nav_keyboard_active && IsKeyDown(ImGuiKey_Space)) || (nav_gamepad_active && IsKeyDown(ImGuiKey_NavGamepadActivate)); + const bool activate_pressed = activate_down && ((nav_keyboard_active && IsKeyPressed(ImGuiKey_Space, false)) || (nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadActivate, false))); + const bool input_down = (nav_keyboard_active && IsKeyDown(ImGuiKey_Enter)) || (nav_gamepad_active && IsKeyDown(ImGuiKey_NavGamepadInput)); + const bool input_pressed = input_down && ((nav_keyboard_active && IsKeyPressed(ImGuiKey_Enter, false)) || (nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadInput, false))); if (g.ActiveId == 0 && activate_pressed) { g.NavActivateId = g.NavId; @@ -10343,13 +11639,17 @@ static void ImGui::NavUpdate() SetScrollY(window, ImFloor(window->Scroll.y + ((move_dir == ImGuiDir_Up) ? -1.0f : +1.0f) * scroll_speed)); } - // *Normal* Manual scroll with NavScrollXXX keys + // *Normal* Manual scroll with LStick // Next movement request will clamp the NavId reference rectangle to the visible area, so navigation will resume within those bounds. - ImVec2 scroll_dir = GetNavInputAmount2d(ImGuiNavDirSourceFlags_PadLStick, ImGuiInputReadMode_Down, 1.0f / 10.0f, 10.0f); - if (scroll_dir.x != 0.0f && window->ScrollbarX) - SetScrollX(window, ImFloor(window->Scroll.x + scroll_dir.x * scroll_speed)); - if (scroll_dir.y != 0.0f) - SetScrollY(window, ImFloor(window->Scroll.y + scroll_dir.y * scroll_speed)); + if (nav_gamepad_active) + { + const ImVec2 scroll_dir = GetKeyVector2d(ImGuiKey_GamepadLStickLeft, ImGuiKey_GamepadLStickRight, ImGuiKey_GamepadLStickUp, ImGuiKey_GamepadLStickDown); + const float tweak_factor = IsKeyDown(ImGuiKey_NavGamepadTweakSlow) ? 1.0f / 10.0f : IsKeyDown(ImGuiKey_NavGamepadTweakFast) ? 10.0f : 1.0f; + if (scroll_dir.x != 0.0f && window->ScrollbarX) + SetScrollX(window, ImFloor(window->Scroll.x + scroll_dir.x * scroll_speed * tweak_factor)); + if (scroll_dir.y != 0.0f) + SetScrollY(window, ImFloor(window->Scroll.y + scroll_dir.y * scroll_speed * tweak_factor)); + } } // Always prioritize mouse highlight if navigation is disabled @@ -10365,7 +11665,7 @@ static void ImGui::NavUpdate() { io.MousePos = io.MousePosPrev = NavCalcPreferredRefPos(); io.WantSetMousePos = true; - //IMGUI_DEBUG_LOG("SetMousePos: (%.1f,%.1f)\n", io.MousePos.x, io.MousePos.y); + //IMGUI_DEBUG_LOG_IO("SetMousePos: (%.1f,%.1f)\n", io.MousePos.x, io.MousePos.y); } // [DEBUG] @@ -10389,7 +11689,7 @@ void ImGui::NavInitRequestApplyResult() // Apply result from previous navigation init request (will typically select the first item, unless SetItemDefaultFocus() has been called) // FIXME-NAV: On _NavFlattened windows, g.NavWindow will only be updated during subsequent frame. Not a problem currently. - IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: result NavID 0x%08X in Layer %d Window \"%s\"\n", g.NavInitResultId, g.NavLayer, g.NavWindow->Name); + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: ApplyResult: NavID 0x%08X in Layer %d Window \"%s\"\n", g.NavInitResultId, g.NavLayer, g.NavWindow->Name); SetNavID(g.NavInitResultId, g.NavLayer, 0, g.NavInitResultRectRel); g.NavIdIsAlive = true; // Mark as alive from previous frame as we got a result if (g.NavInitRequestFromMove) @@ -10401,6 +11701,8 @@ void ImGui::NavUpdateCreateMoveRequest() ImGuiContext& g = *GImGui; ImGuiIO& io = g.IO; ImGuiWindow* window = g.NavWindow; + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; if (g.NavMoveForwardToNextFrame && window != NULL) { @@ -10418,11 +11720,11 @@ void ImGui::NavUpdateCreateMoveRequest() g.NavMoveScrollFlags = ImGuiScrollFlags_None; if (window && !g.NavWindowingTarget && !(window->Flags & ImGuiWindowFlags_NoNavInputs)) { - const ImGuiInputReadMode read_mode = ImGuiInputReadMode_Repeat; - if (!IsActiveIdUsingNavDir(ImGuiDir_Left) && (IsNavInputTest(ImGuiNavInput_DpadLeft, read_mode) || IsNavInputTest(ImGuiNavInput_KeyLeft_, read_mode))) { g.NavMoveDir = ImGuiDir_Left; } - if (!IsActiveIdUsingNavDir(ImGuiDir_Right) && (IsNavInputTest(ImGuiNavInput_DpadRight, read_mode) || IsNavInputTest(ImGuiNavInput_KeyRight_, read_mode))) { g.NavMoveDir = ImGuiDir_Right; } - if (!IsActiveIdUsingNavDir(ImGuiDir_Up) && (IsNavInputTest(ImGuiNavInput_DpadUp, read_mode) || IsNavInputTest(ImGuiNavInput_KeyUp_, read_mode))) { g.NavMoveDir = ImGuiDir_Up; } - if (!IsActiveIdUsingNavDir(ImGuiDir_Down) && (IsNavInputTest(ImGuiNavInput_DpadDown, read_mode) || IsNavInputTest(ImGuiNavInput_KeyDown_, read_mode))) { g.NavMoveDir = ImGuiDir_Down; } + const ImGuiInputFlags repeat_mode = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateNavMove; + if (!IsActiveIdUsingNavDir(ImGuiDir_Left) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadLeft, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_LeftArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Left; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Right) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadRight, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_RightArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Right; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Up) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadUp, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_UpArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Up; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Down) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadDown, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_DownArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Down; } } g.NavMoveClipDir = g.NavMoveDir; g.NavScoringNoClipRect = ImRect(+FLT_MAX, +FLT_MAX, -FLT_MAX, -FLT_MAX); @@ -10430,7 +11732,6 @@ void ImGui::NavUpdateCreateMoveRequest() // Update PageUp/PageDown/Home/End scroll // FIXME-NAV: Consider enabling those keys even without the master ImGuiConfigFlags_NavEnableKeyboard flag? - const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; float scoring_rect_offset_y = 0.0f; if (window && g.NavMoveDir == ImGuiDir_None && nav_keyboard_active) scoring_rect_offset_y = NavUpdatePageUpPageDown(); @@ -10442,7 +11743,7 @@ void ImGui::NavUpdateCreateMoveRequest() // [DEBUG] Always send a request #if IMGUI_DEBUG_NAV_SCORING - if (io.KeyCtrl && IsKeyPressedMap(ImGuiKey_C)) + if (io.KeyCtrl && IsKeyPressed(ImGuiKey_C)) g.NavMoveDirForDebug = (ImGuiDir)((g.NavMoveDirForDebug + 1) & 3); if (io.KeyCtrl && g.NavMoveDir == ImGuiDir_None) { @@ -10456,28 +11757,34 @@ void ImGui::NavUpdateCreateMoveRequest() if (g.NavMoveDir != ImGuiDir_None) NavMoveRequestSubmit(g.NavMoveDir, g.NavMoveClipDir, g.NavMoveFlags, g.NavMoveScrollFlags); - // Moving with no reference triggers a init request (will be used as a fallback if the direction fails to find a match) + // Moving with no reference triggers an init request (will be used as a fallback if the direction fails to find a match) if (g.NavMoveSubmitted && g.NavId == 0) { - IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from move, window \"%s\", layer=%d\n", g.NavWindow->Name, g.NavLayer); + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from move, window \"%s\", layer=%d\n", window ? window->Name : "", g.NavLayer); g.NavInitRequest = g.NavInitRequestFromMove = true; g.NavInitResultId = 0; g.NavDisableHighlight = false; } // When using gamepad, we project the reference nav bounding box into window visible area. - // This is to allow resuming navigation inside the visible area after doing a large amount of scrolling, since with gamepad every movements are relative + // This is to allow resuming navigation inside the visible area after doing a large amount of scrolling, since with gamepad all movements are relative // (can't focus a visible object like we can with the mouse). - if (g.NavMoveSubmitted && g.NavInputSource == ImGuiInputSource_Gamepad && g.NavLayer == ImGuiNavLayer_Main && window != NULL) + if (g.NavMoveSubmitted && g.NavInputSource == ImGuiInputSource_Gamepad && g.NavLayer == ImGuiNavLayer_Main && window != NULL)// && (g.NavMoveFlags & ImGuiNavMoveFlags_Forwarded)) { - ImRect window_rect_rel = WindowRectAbsToRel(window, ImRect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1))); - if (!window_rect_rel.Contains(window->NavRectRel[g.NavLayer])) + bool clamp_x = (g.NavMoveFlags & (ImGuiNavMoveFlags_LoopX | ImGuiNavMoveFlags_WrapX)) == 0; + bool clamp_y = (g.NavMoveFlags & (ImGuiNavMoveFlags_LoopY | ImGuiNavMoveFlags_WrapY)) == 0; + ImRect inner_rect_rel = WindowRectAbsToRel(window, ImRect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1))); + if ((clamp_x || clamp_y) && !inner_rect_rel.Contains(window->NavRectRel[g.NavLayer])) { - IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequest: clamp NavRectRel\n"); - float pad = window->CalcFontSize() * 0.5f; - window_rect_rel.Expand(ImVec2(-ImMin(window_rect_rel.GetWidth(), pad), -ImMin(window_rect_rel.GetHeight(), pad))); // Terrible approximation for the intent of starting navigation from first fully visible item - window->NavRectRel[g.NavLayer].ClipWithFull(window_rect_rel); - g.NavId = g.NavFocusScopeId = 0; + //IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequest: clamp NavRectRel for gamepad move\n"); + float pad_x = ImMin(inner_rect_rel.GetWidth(), window->CalcFontSize() * 0.5f); + float pad_y = ImMin(inner_rect_rel.GetHeight(), window->CalcFontSize() * 0.5f); // Terrible approximation for the intent of starting navigation from first fully visible item + inner_rect_rel.Min.x = clamp_x ? (inner_rect_rel.Min.x + pad_x) : -FLT_MAX; + inner_rect_rel.Max.x = clamp_x ? (inner_rect_rel.Max.x - pad_x) : +FLT_MAX; + inner_rect_rel.Min.y = clamp_y ? (inner_rect_rel.Min.y + pad_y) : -FLT_MAX; + inner_rect_rel.Max.y = clamp_y ? (inner_rect_rel.Max.y - pad_y) : +FLT_MAX; + window->NavRectRel[g.NavLayer].ClipWithFull(inner_rect_rel); + g.NavId = 0; } } @@ -10490,7 +11797,7 @@ void ImGui::NavUpdateCreateMoveRequest() scoring_rect.TranslateY(scoring_rect_offset_y); scoring_rect.Min.x = ImMin(scoring_rect.Min.x + 1.0f, scoring_rect.Max.x); scoring_rect.Max.x = scoring_rect.Min.x; - IM_ASSERT(!scoring_rect.IsInverted()); // Ensure if we have a finite, non-inverted bounding box here will allows us to remove extraneous ImFabs() calls in NavScoreItem(). + IM_ASSERT(!scoring_rect.IsInverted()); // Ensure if we have a finite, non-inverted bounding box here will allow us to remove extraneous ImFabs() calls in NavScoreItem(). //GetForegroundDrawList()->AddRect(scoring_rect.Min, scoring_rect.Max, IM_COL32(255,200,0,255)); // [DEBUG] //if (!g.NavScoringNoClipRect.IsInverted()) { GetForegroundDrawList()->AddRect(g.NavScoringNoClipRect.Min, g.NavScoringNoClipRect.Max, IM_COL32(255, 200, 0, 255)); } // [DEBUG] } @@ -10506,7 +11813,7 @@ void ImGui::NavUpdateCreateTabbingRequest() if (window == NULL || g.NavWindowingTarget != NULL || (window->Flags & ImGuiWindowFlags_NoNavInputs)) return; - const bool tab_pressed = IsKeyPressedMap(ImGuiKey_Tab, true) && !IsActiveIdUsingKey(ImGuiKey_Tab) && !g.IO.KeyCtrl && !g.IO.KeyAlt; + const bool tab_pressed = IsKeyPressed(ImGuiKey_Tab, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat) && !g.IO.KeyCtrl && !g.IO.KeyAlt; if (!tab_pressed) return; @@ -10519,7 +11826,6 @@ void ImGui::NavUpdateCreateTabbingRequest() ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; ImGuiDir clip_dir = (g.NavTabbingDir < 0) ? ImGuiDir_Up : ImGuiDir_Down; NavMoveRequestSubmit(ImGuiDir_None, clip_dir, ImGuiNavMoveFlags_Tabbing, scroll_flags); // FIXME-NAV: Once we refactor tabbing, add LegacyApi flag to not activate non-inputable. - g.NavTabbingResultFirst.Clear(); g.NavTabbingCounter = -1; } @@ -10540,7 +11846,7 @@ void ImGui::NavMoveRequestApplyResult() if ((g.NavTabbingCounter == 1 || g.NavTabbingDir == 0) && g.NavTabbingResultFirst.ID) result = &g.NavTabbingResultFirst; - // In a situation when there is no results but NavId != 0, re-enable the Navigation highlight (because g.NavId is not considered as a possible result) + // In a situation when there are no results but NavId != 0, re-enable the Navigation highlight (because g.NavId is not considered as a possible result) if (result == NULL) { if (g.NavMoveFlags & ImGuiNavMoveFlags_Tabbing) @@ -10577,7 +11883,11 @@ void ImGui::NavMoveRequestApplyResult() } } - g.NavWindow = result->Window; + if (g.NavWindow != result->Window) + { + IMGUI_DEBUG_LOG_FOCUS("[focus] NavMoveRequest: SetNavWindow(\"%s\")\n", result->Window->Name); + g.NavWindow = result->Window; + } if (g.ActiveId != result->ID) ClearActiveID(); if (g.NavId != result->ID) @@ -10619,14 +11929,15 @@ void ImGui::NavMoveRequestApplyResult() static void ImGui::NavUpdateCancelRequest() { ImGuiContext& g = *GImGui; - if (!IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed)) + const bool nav_gamepad_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (g.IO.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + if (!(nav_keyboard_active && IsKeyPressed(ImGuiKey_Escape, ImGuiKeyOwner_None)) && !(nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadCancel, ImGuiKeyOwner_None))) return; - IMGUI_DEBUG_LOG_NAV("[nav] ImGuiNavInput_Cancel\n"); + IMGUI_DEBUG_LOG_NAV("[nav] NavUpdateCancelRequest()\n"); if (g.ActiveId != 0) { - if (!IsActiveIdUsingNavInput(ImGuiNavInput_Cancel)) - ClearActiveID(); + ClearActiveID(); } else if (g.NavLayer != ImGuiNavLayer_Main) { @@ -10645,18 +11956,17 @@ static void ImGui::NavUpdateCancelRequest() SetNavID(child_window->ChildId, ImGuiNavLayer_Main, 0, WindowRectAbsToRel(parent_window, child_rect)); NavRestoreHighlightAfterMove(); } - else if (g.OpenPopupStack.Size > 0) + else if (g.OpenPopupStack.Size > 0 && g.OpenPopupStack.back().Window != NULL && !(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal)) { // Close open popup/menu - if (!(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal)) - ClosePopupToLevel(g.OpenPopupStack.Size - 1, true); + ClosePopupToLevel(g.OpenPopupStack.Size - 1, true); } else { // Clear NavLastId for popups but keep it for regular child window so we can leave one and come back where we were if (g.NavWindow && ((g.NavWindow->Flags & ImGuiWindowFlags_Popup) || !(g.NavWindow->Flags & ImGuiWindowFlags_ChildWindow))) g.NavWindow->NavLastIds[0] = 0; - g.NavId = g.NavFocusScopeId = 0; + g.NavId = 0; } } @@ -10667,16 +11977,14 @@ static void ImGui::NavUpdateCancelRequest() static float ImGui::NavUpdatePageUpPageDown() { ImGuiContext& g = *GImGui; - ImGuiIO& io = g.IO; - ImGuiWindow* window = g.NavWindow; if ((window->Flags & ImGuiWindowFlags_NoNavInputs) || g.NavWindowingTarget != NULL) return 0.0f; - const bool page_up_held = IsKeyDown(io.KeyMap[ImGuiKey_PageUp]) && !IsActiveIdUsingKey(ImGuiKey_PageUp); - const bool page_down_held = IsKeyDown(io.KeyMap[ImGuiKey_PageDown]) && !IsActiveIdUsingKey(ImGuiKey_PageDown); - const bool home_pressed = IsKeyPressed(io.KeyMap[ImGuiKey_Home]) && !IsActiveIdUsingKey(ImGuiKey_Home); - const bool end_pressed = IsKeyPressed(io.KeyMap[ImGuiKey_End]) && !IsActiveIdUsingKey(ImGuiKey_End); + const bool page_up_held = IsKeyDown(ImGuiKey_PageUp, ImGuiKeyOwner_None); + const bool page_down_held = IsKeyDown(ImGuiKey_PageDown, ImGuiKeyOwner_None); + const bool home_pressed = IsKeyPressed(ImGuiKey_Home, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat); + const bool end_pressed = IsKeyPressed(ImGuiKey_End, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat); if (page_up_held == page_down_held && home_pressed == end_pressed) // Proceed if either (not both) are pressed, otherwise early out return 0.0f; @@ -10686,9 +11994,9 @@ static float ImGui::NavUpdatePageUpPageDown() if (window->DC.NavLayersActiveMask == 0x00 && window->DC.NavHasScroll) { // Fallback manual-scroll when window has no navigable item - if (IsKeyPressed(io.KeyMap[ImGuiKey_PageUp], true)) + if (IsKeyPressed(ImGuiKey_PageUp, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat)) SetScrollY(window, window->Scroll.y - window->InnerRect.GetHeight()); - else if (IsKeyPressed(io.KeyMap[ImGuiKey_PageDown], true)) + else if (IsKeyPressed(ImGuiKey_PageDown, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat)) SetScrollY(window, window->Scroll.y + window->InnerRect.GetHeight()); else if (home_pressed) SetScrollY(window, 0.0f); @@ -10700,14 +12008,14 @@ static float ImGui::NavUpdatePageUpPageDown() ImRect& nav_rect_rel = window->NavRectRel[g.NavLayer]; const float page_offset_y = ImMax(0.0f, window->InnerRect.GetHeight() - window->CalcFontSize() * 1.0f + nav_rect_rel.GetHeight()); float nav_scoring_rect_offset_y = 0.0f; - if (IsKeyPressed(io.KeyMap[ImGuiKey_PageUp], true)) + if (IsKeyPressed(ImGuiKey_PageUp, true)) { nav_scoring_rect_offset_y = -page_offset_y; g.NavMoveDir = ImGuiDir_Down; // Because our scoring rect is offset up, we request the down direction (so we can always land on the last item) g.NavMoveClipDir = ImGuiDir_Up; g.NavMoveFlags = ImGuiNavMoveFlags_AllowCurrentNavId | ImGuiNavMoveFlags_AlsoScoreVisibleSet; } - else if (IsKeyPressed(io.KeyMap[ImGuiKey_PageDown], true)) + else if (IsKeyPressed(ImGuiKey_PageDown, true)) { nav_scoring_rect_offset_y = +page_offset_y; g.NavMoveDir = ImGuiDir_Up; // Because our scoring rect is offset down, we request the up direction (so we can always land on the last item) @@ -10842,7 +12150,10 @@ static void NavUpdateWindowingHighlightWindow(int focus_change_dir) if (!window_target) window_target = FindWindowNavFocusable((focus_change_dir < 0) ? (g.WindowsFocusOrder.Size - 1) : 0, i_current, focus_change_dir); if (window_target) // Don't reset windowing target if there's a single window in the list + { g.NavWindowingTarget = g.NavWindowingTargetAnim = window_target; + g.NavWindowingAccumDeltaPos = g.NavWindowingAccumDeltaSize = ImVec2(0.0f, 0.0f); + } g.NavWindowingToggleLayer = false; } @@ -10871,13 +12182,18 @@ static void ImGui::NavUpdateWindowing() } // Start CTRL+Tab or Square+L/R window selection - const bool start_windowing_with_gamepad = allow_windowing && !g.NavWindowingTarget && IsNavInputTest(ImGuiNavInput_Menu, ImGuiInputReadMode_Pressed); - const bool start_windowing_with_keyboard = allow_windowing && !g.NavWindowingTarget && io.KeyCtrl && IsKeyPressedMap(ImGuiKey_Tab); + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + const bool keyboard_next_window = allow_windowing && g.ConfigNavWindowingKeyNext && Shortcut(g.ConfigNavWindowingKeyNext, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat | ImGuiInputFlags_RouteAlways); + const bool keyboard_prev_window = allow_windowing && g.ConfigNavWindowingKeyPrev && Shortcut(g.ConfigNavWindowingKeyPrev, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat | ImGuiInputFlags_RouteAlways); + const bool start_windowing_with_gamepad = allow_windowing && nav_gamepad_active && !g.NavWindowingTarget && IsKeyPressed(ImGuiKey_NavGamepadMenu, 0, ImGuiInputFlags_None); + const bool start_windowing_with_keyboard = allow_windowing && !g.NavWindowingTarget && (keyboard_next_window || keyboard_prev_window); // Note: enabled even without NavEnableKeyboard! if (start_windowing_with_gamepad || start_windowing_with_keyboard) if (ImGuiWindow* window = g.NavWindow ? g.NavWindow : FindWindowNavFocusable(g.WindowsFocusOrder.Size - 1, -INT_MAX, -1)) { g.NavWindowingTarget = g.NavWindowingTargetAnim = window->RootWindow; g.NavWindowingTimer = g.NavWindowingHighlightAlpha = 0.0f; + g.NavWindowingAccumDeltaPos = g.NavWindowingAccumDeltaSize = ImVec2(0.0f, 0.0f); g.NavWindowingToggleLayer = start_windowing_with_gamepad ? true : false; // Gamepad starts toggling layer g.NavInputSource = start_windowing_with_keyboard ? ImGuiInputSource_Keyboard : ImGuiInputSource_Gamepad; } @@ -10890,7 +12206,7 @@ static void ImGui::NavUpdateWindowing() g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha, ImSaturate((g.NavWindowingTimer - NAV_WINDOWING_HIGHLIGHT_DELAY) / 0.05f)); // Select window to focus - const int focus_change_dir = (int)IsNavInputTest(ImGuiNavInput_FocusPrev, ImGuiInputReadMode_RepeatSlow) - (int)IsNavInputTest(ImGuiNavInput_FocusNext, ImGuiInputReadMode_RepeatSlow); + const int focus_change_dir = (int)IsKeyPressed(ImGuiKey_GamepadL1) - (int)IsKeyPressed(ImGuiKey_GamepadR1); if (focus_change_dir != 0) { NavUpdateWindowingHighlightWindow(focus_change_dir); @@ -10898,7 +12214,7 @@ static void ImGui::NavUpdateWindowing() } // Single press toggles NavLayer, long press with L/R apply actual focus on release (until then the window was merely rendered top-most) - if (!IsNavInputDown(ImGuiNavInput_Menu)) + if (!IsKeyDown(ImGuiKey_NavGamepadMenu)) { g.NavWindowingToggleLayer &= (g.NavWindowingHighlightAlpha < 1.0f); // Once button was held long enough we don't consider it a tap-to-toggle-layer press anymore. if (g.NavWindowingToggleLayer && g.NavWindow) @@ -10913,18 +12229,19 @@ static void ImGui::NavUpdateWindowing() if (g.NavWindowingTarget && g.NavInputSource == ImGuiInputSource_Keyboard) { // Visuals only appears after a brief time after pressing TAB the first time, so that a fast CTRL+TAB doesn't add visual noise + ImGuiKeyChord shared_mods = ((g.ConfigNavWindowingKeyNext ? g.ConfigNavWindowingKeyNext : ImGuiMod_Mask_) & (g.ConfigNavWindowingKeyPrev ? g.ConfigNavWindowingKeyPrev : ImGuiMod_Mask_)) & ImGuiMod_Mask_; + IM_ASSERT(shared_mods != 0); // Next/Prev shortcut currently needs a shared modifier to "hold", otherwise Prev actions would keep cycling between two windows. g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha, ImSaturate((g.NavWindowingTimer - NAV_WINDOWING_HIGHLIGHT_DELAY) / 0.05f)); // 1.0f - if (IsKeyPressedMap(ImGuiKey_Tab, true)) - NavUpdateWindowingHighlightWindow(io.KeyShift ? +1 : -1); - if (!io.KeyCtrl) + if (keyboard_next_window || keyboard_prev_window) + NavUpdateWindowingHighlightWindow(keyboard_next_window ? -1 : +1); + else if ((io.KeyMods & shared_mods) != shared_mods) apply_focus_window = g.NavWindowingTarget; } // Keyboard: Press and Release ALT to toggle menu layer // - Testing that only Alt is tested prevents Alt+Shift or AltGR from toggling menu layer. // - AltGR is normally Alt+Ctrl but we can't reliably detect it (not all backends/systems/layout emit it as Alt+Ctrl). But even on keyboards without AltGR we don't want Alt+Ctrl to open menu anyway. - const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; - if (nav_keyboard_active && io.KeyMods == ImGuiKeyModFlags_Alt && (io.KeyModsPrev & ImGuiKeyModFlags_Alt) == 0) + if (nav_keyboard_active && IsKeyPressed(ImGuiMod_Alt, ImGuiKeyOwner_None)) { g.NavWindowingToggleLayer = true; g.NavInputSource = ImGuiInputSource_Keyboard; @@ -10933,36 +12250,41 @@ static void ImGui::NavUpdateWindowing() { // We cancel toggling nav layer when any text has been typed (generally while holding Alt). (See #370) // We cancel toggling nav layer when other modifiers are pressed. (See #4439) - if (io.InputQueueCharacters.Size > 0 || io.KeyCtrl || io.KeyShift || io.KeySuper) + // We cancel toggling nav layer if an owner has claimed the key. + if (io.InputQueueCharacters.Size > 0 || io.KeyCtrl || io.KeyShift || io.KeySuper || TestKeyOwner(ImGuiMod_Alt, ImGuiKeyOwner_None) == false) g.NavWindowingToggleLayer = false; // Apply layer toggle on release - // Important: we don't assume that Alt was previously held in order to handle loss of focus when backend calls io.AddFocusEvent(false) // Important: as before version <18314 we lacked an explicit IO event for focus gain/loss, we also compare mouse validity to detect old backends clearing mouse pos on focus loss. - if (!(io.KeyMods & ImGuiKeyModFlags_Alt) && (io.KeyModsPrev & ImGuiKeyModFlags_Alt) && g.NavWindowingToggleLayer) + if (IsKeyReleased(ImGuiMod_Alt) && g.NavWindowingToggleLayer) if (g.ActiveId == 0 || g.ActiveIdAllowOverlap) if (IsMousePosValid(&io.MousePos) == IsMousePosValid(&io.MousePosPrev)) apply_toggle_layer = true; - if (!io.KeyAlt) + if (!IsKeyDown(ImGuiMod_Alt)) g.NavWindowingToggleLayer = false; } // Move window if (g.NavWindowingTarget && !(g.NavWindowingTarget->Flags & ImGuiWindowFlags_NoMove)) { - ImVec2 move_delta; + ImVec2 nav_move_dir; if (g.NavInputSource == ImGuiInputSource_Keyboard && !io.KeyShift) - move_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_RawKeyboard, ImGuiInputReadMode_Down); + nav_move_dir = GetKeyVector2d(ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow); if (g.NavInputSource == ImGuiInputSource_Gamepad) - move_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_PadLStick, ImGuiInputReadMode_Down); - if (move_delta.x != 0.0f || move_delta.y != 0.0f) + nav_move_dir = GetKeyVector2d(ImGuiKey_GamepadLStickLeft, ImGuiKey_GamepadLStickRight, ImGuiKey_GamepadLStickUp, ImGuiKey_GamepadLStickDown); + if (nav_move_dir.x != 0.0f || nav_move_dir.y != 0.0f) { const float NAV_MOVE_SPEED = 800.0f; - const float move_speed = ImFloor(NAV_MOVE_SPEED * io.DeltaTime * ImMin(io.DisplayFramebufferScale.x, io.DisplayFramebufferScale.y)); // FIXME: Doesn't handle variable framerate very well - ImGuiWindow* moving_window = g.NavWindowingTarget->RootWindowDockTree; - SetWindowPos(moving_window, moving_window->Pos + move_delta * move_speed, ImGuiCond_Always); - MarkIniSettingsDirty(moving_window); + const float move_step = NAV_MOVE_SPEED * io.DeltaTime * ImMin(io.DisplayFramebufferScale.x, io.DisplayFramebufferScale.y); + g.NavWindowingAccumDeltaPos += nav_move_dir * move_step; g.NavDisableMouseHover = true; + ImVec2 accum_floored = ImFloor(g.NavWindowingAccumDeltaPos); + if (accum_floored.x != 0.0f || accum_floored.y != 0.0f) + { + ImGuiWindow* moving_window = g.NavWindowingTarget->RootWindowDockTree; + SetWindowPos(moving_window, moving_window->Pos + accum_floored, ImGuiCond_Always); + g.NavWindowingAccumDeltaPos -= accum_floored; + } } } @@ -11032,12 +12354,12 @@ static void ImGui::NavUpdateWindowing() static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window) { if (window->Flags & ImGuiWindowFlags_Popup) - return "(Popup)"; + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup); if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0) - return "(Main menu bar)"; + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar); if (window->DockNodeAsHost) - return "(Dock node)"; - return "(Untitled)"; + return "(Dock node)"; // Not normally shown to user. + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled); } // Overlay displayed when using CTRL+TAB. Called by EndFrame(). @@ -11076,6 +12398,12 @@ void ImGui::NavUpdateWindowingOverlay() // [SECTION] DRAG AND DROP //----------------------------------------------------------------------------- +bool ImGui::IsDragDropActive() +{ + ImGuiContext& g = *GImGui; + return g.DragDropActive; +} + void ImGui::ClearDragDrop() { ImGuiContext& g = *GImGui; @@ -11145,6 +12473,7 @@ bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) // We don't need to maintain/call ClearActiveID() as releasing the button will early out this function and trigger !ActiveIdIsAlive. // Rely on keeping other window->LastItemXXX fields intact. source_id = g.LastItemData.ID = window->GetIDFromRectangle(g.LastItemData.Rect); + KeepAliveID(source_id); bool is_hovered = ItemHoverable(g.LastItemData.Rect, source_id); if (is_hovered && g.IO.MouseClicked[mouse_button]) { @@ -11160,7 +12489,7 @@ bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) source_drag_active = IsMouseDragging(mouse_button); // Disable navigation and key inputs while dragging + cancel existing request if any - SetActiveIdUsingNavAndKeys(); + SetActiveIdUsingAllKeyboardKeys(); } else { @@ -11264,6 +12593,7 @@ bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_s } payload.DataFrameCount = g.FrameCount; + // Return whether the payload has been accepted return (g.DragDropAcceptFrameCount == g.FrameCount) || (g.DragDropAcceptFrameCount == g.FrameCount - 1); } @@ -11291,7 +12621,7 @@ bool ImGui::BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id) } // We don't use BeginDragDropTargetCustom() and duplicate its code because: -// 1) we use LastItemRectHoveredRect which handles items that pushes a temporarily clip rectangle in their code. Calling BeginDragDropTargetCustom(LastItemRect) would not handle them. +// 1) we use LastItemRectHoveredRect which handles items that push a temporarily clip rectangle in their code. Calling BeginDragDropTargetCustom(LastItemRect) would not handle them. // 2) and it's faster. as this code may be very frequently called, we want to early out as fast as we can. // Also note how the HoveredWindow test is positioned differently in both functions (in both functions we optimize for the cheapest early out case) bool ImGui::BeginDragDropTarget() @@ -11310,7 +12640,10 @@ bool ImGui::BeginDragDropTarget() const ImRect& display_rect = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) ? g.LastItemData.DisplayRect : g.LastItemData.Rect; ImGuiID id = g.LastItemData.ID; if (id == 0) + { id = window->GetIDFromRectangle(display_rect); + KeepAliveID(id); + } if (g.DragDropPayload.SourceId == id) return false; @@ -11350,9 +12683,8 @@ const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDrop } // Render default drop visuals - // FIXME-DRAGDROP: Settle on a proper default visuals for drop target. payload.Preview = was_accepted_previously; - flags |= (g.DragDropSourceFlags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect); // Source can also inhibit the preview (useful for external sources that lives for 1 frame) + flags |= (g.DragDropSourceFlags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect); // Source can also inhibit the preview (useful for external sources that live for 1 frame) if (!(flags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect) && payload.Preview) window->DrawList->AddRect(r.Min - ImVec2(3.5f,3.5f), r.Max + ImVec2(3.5f, 3.5f), GetColorU32(ImGuiCol_DragDropTarget), 0.0f, 0, 2.0f); @@ -11364,10 +12696,16 @@ const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDrop return &payload; } +// FIXME-DRAGDROP: Settle on a proper default visuals for drop target. +void ImGui::RenderDragDropTargetRect(const ImRect& bb) +{ + GetWindowDrawList()->AddRect(bb.Min - ImVec2(3.5f, 3.5f), bb.Max + ImVec2(3.5f, 3.5f), GetColorU32(ImGuiCol_DragDropTarget), 0.0f, 0, 2.0f); +} + const ImGuiPayload* ImGui::GetDragDropPayload() { ImGuiContext& g = *GImGui; - return g.DragDropActive ? &g.DragDropPayload : NULL; + return (g.DragDropActive && g.DragDropPayload.DataFrameCount != -1) ? &g.DragDropPayload : NULL; } // We don't really use/need this now, but added it for the sake of consistency and because we might need it later. @@ -11724,6 +13062,20 @@ ImGuiWindowSettings* ImGui::FindOrCreateWindowSettings(const char* name) return CreateNewWindowSettings(name); } +void ImGui::AddSettingsHandler(const ImGuiSettingsHandler* handler) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(FindSettingsHandler(handler->TypeName) == NULL); + g.SettingsHandlers.push_back(*handler); +} + +void ImGui::RemoveSettingsHandler(const char* type_name) +{ + ImGuiContext& g = *GImGui; + if (ImGuiSettingsHandler* handler = FindSettingsHandler(type_name)) + g.SettingsHandlers.erase(handler); +} + ImGuiSettingsHandler* ImGui::FindSettingsHandler(const char* type_name) { ImGuiContext& g = *GImGui; @@ -11749,7 +13101,8 @@ void ImGui::LoadIniSettingsFromDisk(const char* ini_filename) char* file_data = (char*)ImFileLoadToMemory(ini_filename, "rb", &file_data_size); if (!file_data) return; - LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); + if (file_data_size > 0) + LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); IM_FREE(file_data); } @@ -11951,6 +13304,7 @@ static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandl buf->appendf("Collapsed=%d\n", settings->Collapsed); if (settings->DockId != 0) { + //buf->appendf("TabId=0x%08X\n", ImHashStr("#TAB", 4, settings->ID)); // window->TabId: this is not read back but writing it makes "debugging" the .ini data easier. if (settings->DockOrder == -1) buf->appendf("DockId=0x%08X\n", settings->DockId); else @@ -11963,6 +13317,18 @@ static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandl } +//----------------------------------------------------------------------------- +// [SECTION] LOCALIZATION +//----------------------------------------------------------------------------- + +void ImGui::LocalizeRegisterEntries(const ImGuiLocEntry* entries, int count) +{ + ImGuiContext& g = *GImGui; + for (int n = 0; n < count; n++) + g.LocalizationTable[entries[n].Key] = entries[n].Text; +} + + //----------------------------------------------------------------------------- // [SECTION] VIEWPORTS, PLATFORM WINDOWS //----------------------------------------------------------------------------- @@ -12027,7 +13393,7 @@ void ImGui::SetCurrentViewport(ImGuiWindow* current_window, ImGuiViewportP* view return; g.CurrentDpiScale = viewport ? viewport->DpiScale : 1.0f; g.CurrentViewport = viewport; - //IMGUI_DEBUG_LOG_VIEWPORT("SetCurrentViewport changed '%s' 0x%08X\n", current_window ? current_window->Name : NULL, viewport ? viewport->ID : 0); + //IMGUI_DEBUG_LOG_VIEWPORT("[viewport] SetCurrentViewport changed '%s' 0x%08X\n", current_window ? current_window->Name : NULL, viewport ? viewport->ID : 0); // Notify platform layer of viewport changes // FIXME-DPI: This is only currently used for experimenting with handling of multiple DPI @@ -12035,7 +13401,7 @@ void ImGui::SetCurrentViewport(ImGuiWindow* current_window, ImGuiViewportP* view g.PlatformIO.Platform_OnChangedViewport(g.CurrentViewport); } -static void SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport) +void ImGui::SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport) { // Abandon viewport if (window->ViewportOwned && window->Viewport->Window == window) @@ -12142,7 +13508,7 @@ void ImGui::ScaleWindowsInViewport(ImGuiViewportP* viewport, float scale) // If the backend doesn't set MouseLastHoveredViewport or doesn't honor ImGuiViewportFlags_NoInputs, we do a search ourselves. // A) It won't take account of the possibility that non-imgui windows may be in-between our dragged window and our target window. // B) It requires Platform_GetWindowFocus to be implemented by backend. -static ImGuiViewportP* FindHoveredViewportFromPlatformWindowStack(const ImVec2 mouse_platform_pos) +ImGuiViewportP* ImGui::FindHoveredViewportFromPlatformWindowStack(const ImVec2& mouse_platform_pos) { ImGuiContext& g = *GImGui; ImGuiViewportP* best_candidate = NULL; @@ -12294,17 +13660,14 @@ static void ImGui::UpdateViewportsNewFrame() { viewport_hovered = g.IO.MouseHoveredViewport ? (ImGuiViewportP*)FindViewportByID(g.IO.MouseHoveredViewport) : NULL; if (viewport_hovered && (viewport_hovered->Flags & ImGuiViewportFlags_NoInputs)) - { - // Backend failed at honoring its contract if it returned a viewport with the _NoInputs flag. - IM_ASSERT(0); - viewport_hovered = FindHoveredViewportFromPlatformWindowStack(g.IO.MousePos); - } + viewport_hovered = FindHoveredViewportFromPlatformWindowStack(g.IO.MousePos); // Backend failed to handle _NoInputs viewport: revert to our fallback. } else { // If the backend doesn't know how to honor ImGuiViewportFlags_NoInputs, we do a search ourselves. Note that this search: // A) won't take account of the possibility that non-imgui windows may be in-between our dragged window and our target window. - // B) uses LastFrameAsRefViewport as a flawed replacement for the last time a window was focused (we could/should fix that by introducing Focus functions in PlatformIO) + // B) won't take account of how the backend apply parent<>child relationship to secondary viewports, which affects their Z order. + // C) uses LastFrameAsRefViewport as a flawed replacement for the last time a window was focused (we could/should fix that by introducing Focus functions in PlatformIO) viewport_hovered = FindHoveredViewportFromPlatformWindowStack(g.IO.MousePos); } if (viewport_hovered != NULL) @@ -12376,9 +13739,10 @@ ImGuiViewportP* ImGui::AddUpdateViewport(ImGuiWindow* window, ImGuiID id, const ImGuiViewportP* viewport = (ImGuiViewportP*)FindViewportByID(id); if (viewport) { - if (!viewport->PlatformRequestMove) + // Always update for main viewport as we are already pulling correct platform pos/size (see #4900) + if (!viewport->PlatformRequestMove || viewport->ID == IMGUI_VIEWPORT_DEFAULT_ID) viewport->Pos = pos; - if (!viewport->PlatformRequestResize) + if (!viewport->PlatformRequestResize || viewport->ID == IMGUI_VIEWPORT_DEFAULT_ID) viewport->Size = size; viewport->Flags = flags | (viewport->Flags & ImGuiViewportFlags_Minimized); // Preserve existing flags } @@ -12393,7 +13757,7 @@ ImGuiViewportP* ImGui::AddUpdateViewport(ImGuiWindow* window, ImGuiID id, const viewport->Flags = flags; UpdateViewportPlatformMonitor(viewport); g.Viewports.push_back(viewport); - IMGUI_DEBUG_LOG_VIEWPORT("Add Viewport %08X (%s)\n", id, window->Name); + IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Add Viewport %08X '%s'\n", id, window ? window->Name : ""); // We normally setup for all viewports in NewFrame() but here need to handle the mid-frame creation of a new viewport. // We need to extend the fullscreen clip rect so the OverlayDrawList clip is correct for that the first frame @@ -12435,7 +13799,7 @@ static void ImGui::DestroyViewport(ImGuiViewportP* viewport) g.MouseLastHoveredViewport = NULL; // Destroy - IMGUI_DEBUG_LOG_VIEWPORT("Delete Viewport %08X (%s)\n", viewport->ID, viewport->Window ? viewport->Window->Name : "n/a"); + IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Delete Viewport %08X '%s'\n", viewport->ID, viewport->Window ? viewport->Window->Name : "n/a"); DestroyPlatformWindow(viewport); // In most circumstances the platform window will already be destroyed here. IM_ASSERT(g.PlatformIO.Viewports.contains(viewport) == false); IM_ASSERT(g.Viewports[viewport->Idx] == viewport); @@ -12518,7 +13882,8 @@ static void ImGui::WindowSelectViewport(ImGuiWindow* window) { // Merge into host viewport? // We cannot test window->ViewportOwned as it set lower in the function. - bool try_to_merge_into_host_viewport = (window->Viewport && window == window->Viewport->Window && g.ActiveId == 0); + // Testing (g.ActiveId == 0 || g.ActiveIdAllowOverlap) to avoid merging during a short-term widget interaction. Main intent was to avoid during resize (see #4212) + bool try_to_merge_into_host_viewport = (window->Viewport && window == window->Viewport->Window && (g.ActiveId == 0 || g.ActiveIdAllowOverlap)); if (try_to_merge_into_host_viewport) UpdateTryMergeWindowIntoHostViewports(window); } @@ -12550,7 +13915,7 @@ static void ImGui::WindowSelectViewport(ImGuiWindow* window) if ((window->Flags & ImGuiWindowFlags_DockNodeHost) && window->Viewport->LastFrameActive < g.FrameCount && will_be_visible) { // Steal/transfer ownership - IMGUI_DEBUG_LOG_VIEWPORT("Window '%s' steal Viewport %08X from Window '%s'\n", window->Name, window->Viewport->ID, window->Viewport->Window->Name); + IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Window '%s' steal Viewport %08X from Window '%s'\n", window->Name, window->Viewport->ID, window->Viewport->Window->Name); window->Viewport->Window = window; window->Viewport->ID = window->ID; window->Viewport->LastNameHash = 0; @@ -12697,10 +14062,10 @@ void ImGui::UpdatePlatformWindows() continue; // Create window - bool is_new_platform_window = (viewport->PlatformWindowCreated == false); + const bool is_new_platform_window = (viewport->PlatformWindowCreated == false); if (is_new_platform_window) { - IMGUI_DEBUG_LOG_VIEWPORT("Create Platform Window %08X (%s)\n", viewport->ID, viewport->Window ? viewport->Window->Name : "n/a"); + IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Create Platform Window %08X '%s'\n", viewport->ID, viewport->Window ? viewport->Window->Name : "n/a"); g.PlatformIO.Platform_CreateWindow(viewport); if (g.PlatformIO.Renderer_CreateWindow != NULL) g.PlatformIO.Renderer_CreateWindow(viewport); @@ -13073,7 +14438,6 @@ namespace ImGui static void DockContextProcessUndockWindow(ImGuiContext* ctx, ImGuiWindow* window, bool clear_persistent_docking_ref = true); static void DockContextProcessUndockNode(ImGuiContext* ctx, ImGuiDockNode* node); static void DockContextPruneUnusedSettingsNodes(ImGuiContext* ctx); - static ImGuiDockNode* DockContextFindNodeByID(ImGuiContext* ctx, ImGuiID id); static ImGuiDockNode* DockContextBindNodeToWindow(ImGuiContext* ctx, ImGuiWindow* window); static void DockContextBuildNodesFromSettings(ImGuiContext* ctx, ImGuiDockNodeSettings* node_settings_array, int node_settings_count); static void DockContextBuildAddWindowsToNodes(ImGuiContext* ctx, ImGuiID root_id); // Use root_id==0 to add all @@ -13097,7 +14461,7 @@ namespace ImGui static void DockNodeUpdateVisibleFlag(ImGuiDockNode* node); static void DockNodeStartMouseMovingWindow(ImGuiDockNode* node, ImGuiWindow* window); static bool DockNodeIsDropAllowed(ImGuiWindow* host_window, ImGuiWindow* payload_window); - static void DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockNode* host_node, ImGuiWindow* payload_window, ImGuiDockPreviewData* preview_data, bool is_explicit_target, bool is_outer_docking); + static void DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockNode* host_node, ImGuiWindow* payload_window, ImGuiDockNode* payload_node, ImGuiDockPreviewData* preview_data, bool is_explicit_target, bool is_outer_docking); static void DockNodePreviewDockRender(ImGuiWindow* host_window, ImGuiDockNode* host_node, ImGuiWindow* payload_window, const ImGuiDockPreviewData* preview_data); static void DockNodeCalcTabBarLayout(const ImGuiDockNode* node, ImRect* out_title_rect, ImRect* out_tab_bar_rect, ImVec2* out_window_menu_button_pos, ImVec2* out_close_button_pos); static void DockNodeCalcSplitRects(ImVec2& pos_old, ImVec2& size_old, ImVec2& pos_new, ImVec2& size_new, ImGuiDir dir, ImVec2 size_new_desired); @@ -13189,8 +14553,9 @@ void ImGui::DockContextClearNodes(ImGuiContext* ctx, ImGuiID root_id, bool clear // (Different from DockSettingsHandler_ClearAll() + DockSettingsHandler_ApplyAll() because this reuses current settings!) void ImGui::DockContextRebuildNodes(ImGuiContext* ctx) { - IMGUI_DEBUG_LOG_DOCKING("DockContextRebuild()\n"); - ImGuiDockContext* dc = &ctx->DockContext; + ImGuiContext& g = *ctx; + ImGuiDockContext* dc = &ctx->DockContext; + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextRebuildNodes\n"); SaveIniSettingsToMemory(); ImGuiID root_id = 0; // Rebuild all DockContextClearNodes(ctx, root_id, false); @@ -13202,7 +14567,7 @@ void ImGui::DockContextRebuildNodes(ImGuiContext* ctx) void ImGui::DockContextNewFrameUpdateUndocking(ImGuiContext* ctx) { ImGuiContext& g = *ctx; - ImGuiDockContext* dc = &ctx->DockContext; + ImGuiDockContext* dc = &ctx->DockContext; if (!(g.IO.ConfigFlags & ImGuiConfigFlags_DockingEnable)) { if (dc->Nodes.Data.Size > 0 || dc->Requests.Size > 0) @@ -13253,13 +14618,13 @@ void ImGui::DockContextNewFrameUpdateDocking(ImGuiContext* ctx) // [DEBUG] Store hovered dock node. // We could in theory use DockNodeTreeFindVisibleNodeByPos() on the root host dock node, but using ->DockNode is a good shortcut. // Note this is mostly a debug thing and isn't actually used for docking target, because docking involve more detailed filtering. - g.HoveredDockNode = NULL; + g.DebugHoveredDockNode = NULL; if (ImGuiWindow* hovered_window = g.HoveredWindowUnderMovingWindow) { if (hovered_window->DockNodeAsHost) - g.HoveredDockNode = DockNodeTreeFindVisibleNodeByPos(hovered_window->DockNodeAsHost, g.IO.MousePos); + g.DebugHoveredDockNode = DockNodeTreeFindVisibleNodeByPos(hovered_window->DockNodeAsHost, g.IO.MousePos); else if (hovered_window->RootWindow->DockNode) - g.HoveredDockNode = hovered_window->RootWindow->DockNode; + g.DebugHoveredDockNode = hovered_window->RootWindow->DockNode; } // Process Docking requests @@ -13287,12 +14652,12 @@ void ImGui::DockContextEndFrame(ImGuiContext* ctx) { ImRect bg_rect(node->Pos + ImVec2(0.0f, GetFrameHeight()), node->Pos + node->Size); ImDrawFlags bg_rounding_flags = CalcRoundingFlagsForRectInRect(bg_rect, node->HostWindow->Rect(), DOCKING_SPLITTER_SIZE); - node->HostWindow->DrawList->ChannelsSetCurrent(0); + node->HostWindow->DrawList->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_BG); node->HostWindow->DrawList->AddRectFilled(bg_rect.Min, bg_rect.Max, node->LastBgColor, node->HostWindow->WindowRounding, bg_rounding_flags); } } -static ImGuiDockNode* ImGui::DockContextFindNodeByID(ImGuiContext* ctx, ImGuiID id) +ImGuiDockNode* ImGui::DockContextFindNodeByID(ImGuiContext* ctx, ImGuiID id) { return (ImGuiDockNode*)ctx->DockContext.Nodes.GetVoidPtr(id); } @@ -13311,13 +14676,14 @@ ImGuiID ImGui::DockContextGenNodeID(ImGuiContext* ctx) static ImGuiDockNode* ImGui::DockContextAddNode(ImGuiContext* ctx, ImGuiID id) { // Generate an ID for the new node (the exact ID value doesn't matter as long as it is not already used) and add the first window. + ImGuiContext& g = *ctx; if (id == 0) id = DockContextGenNodeID(ctx); else IM_ASSERT(DockContextFindNodeByID(ctx, id) == NULL); // We don't set node->LastFrameAlive on construction. Nodes are always created at all time to reflect .ini settings! - IMGUI_DEBUG_LOG_DOCKING("DockContextAddNode 0x%08X\n", id); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextAddNode 0x%08X\n", id); ImGuiDockNode* node = IM_NEW(ImGuiDockNode)(id); ctx->DockContext.Nodes.SetVoidPtr(node->ID, node); return node; @@ -13328,7 +14694,7 @@ static void ImGui::DockContextRemoveNode(ImGuiContext* ctx, ImGuiDockNode* node, ImGuiContext& g = *ctx; ImGuiDockContext* dc = &ctx->DockContext; - IMGUI_DEBUG_LOG_DOCKING("DockContextRemoveNode 0x%08X\n", node->ID); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextRemoveNode 0x%08X\n", node->ID); IM_ASSERT(DockContextFindNodeByID(ctx, node->ID) == node); IM_ASSERT(node->ChildNodes[0] == NULL && node->ChildNodes[1] == NULL); IM_ASSERT(node->Windows.Size == 0); @@ -13427,7 +14793,7 @@ static void ImGui::DockContextPruneUnusedSettingsNodes(ImGuiContext* ctx) remove |= (data_root->CountChildWindows == 0); if (remove) { - IMGUI_DEBUG_LOG_DOCKING("DockContextPruneUnusedSettingsNodes: Prune 0x%08X\n", settings->ID); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextPruneUnusedSettingsNodes: Prune 0x%08X\n", settings->ID); DockSettingsRemoveNodeReferences(&settings->ID, 1); settings->ID = 0; } @@ -13546,9 +14912,9 @@ void ImGui::DockContextProcessDock(ImGuiContext* ctx, ImGuiDockRequest* req) ImGuiWindow* target_window = req->DockTargetWindow; ImGuiDockNode* node = req->DockTargetNode; if (payload_window) - IMGUI_DEBUG_LOG_DOCKING("DockContextProcessDock node 0x%08X target '%s' dock window '%s', split_dir %d\n", node ? node->ID : 0, target_window ? target_window->Name : "NULL", payload_window ? payload_window->Name : "NULL", req->DockSplitDir); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextProcessDock node 0x%08X target '%s' dock window '%s', split_dir %d\n", node ? node->ID : 0, target_window ? target_window->Name : "NULL", payload_window->Name, req->DockSplitDir); else - IMGUI_DEBUG_LOG_DOCKING("DockContextProcessDock node 0x%08X, split_dir %d\n", node ? node->ID : 0, req->DockSplitDir); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextProcessDock node 0x%08X, split_dir %d\n", node ? node->ID : 0, req->DockSplitDir); // Decide which Tab will be selected at the end of the operation ImGuiID next_selected_id = 0; @@ -13560,7 +14926,7 @@ void ImGui::DockContextProcessDock(ImGuiContext* ctx, ImGuiDockRequest* req) if (payload_node && payload_node->IsLeafNode()) next_selected_id = payload_node->TabBar->NextSelectedTabId ? payload_node->TabBar->NextSelectedTabId : payload_node->TabBar->SelectedTabId; if (payload_node == NULL) - next_selected_id = payload_window->ID; + next_selected_id = payload_window->TabId; } // FIXME-DOCK: When we are trying to dock an existing single-window node into a loose window, transfer Node ID as well @@ -13697,8 +15063,8 @@ static ImVec2 FixLargeWindowsWhenUndocking(const ImVec2& size, ImGuiViewport* re void ImGui::DockContextProcessUndockWindow(ImGuiContext* ctx, ImGuiWindow* window, bool clear_persistent_docking_ref) { - IMGUI_DEBUG_LOG_DOCKING("DockContextProcessUndockWindow window '%s', clear_persistent_docking_ref = %d\n", window->Name, clear_persistent_docking_ref); - IM_UNUSED(ctx); + ImGuiContext& g = *ctx; + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextProcessUndockWindow window '%s', clear_persistent_docking_ref = %d\n", window->Name, clear_persistent_docking_ref); if (window->DockNode) DockNodeRemoveWindow(window->DockNode, window, clear_persistent_docking_ref ? 0 : window->DockId); else @@ -13713,7 +15079,8 @@ void ImGui::DockContextProcessUndockWindow(ImGuiContext* ctx, ImGuiWindow* windo void ImGui::DockContextProcessUndockNode(ImGuiContext* ctx, ImGuiDockNode* node) { - IMGUI_DEBUG_LOG_DOCKING("DockContextProcessUndockNode node %08X\n", node->ID); + ImGuiContext& g = *ctx; + IMGUI_DEBUG_LOG_DOCKING("[docking] DockContextProcessUndockNode node %08X\n", node->ID); IM_ASSERT(node->IsLeafNode()); IM_ASSERT(node->Windows.Size >= 1); @@ -13726,14 +15093,6 @@ void ImGui::DockContextProcessUndockNode(ImGuiContext* ctx, ImGuiDockNode* node) new_node->SizeRef = node->SizeRef; DockNodeMoveWindows(new_node, node); DockSettingsRenameNodeReferences(node->ID, new_node->ID); - for (int n = 0; n < new_node->Windows.Size; n++) - { - ImGuiWindow* window = new_node->Windows[n]; - window->Flags &= ~ImGuiWindowFlags_ChildWindow; - if (window->ParentWindow) - window->ParentWindow->DC.ChildWindows.find_erase(window); - UpdateWindowParentAndRootLinks(window, window->Flags, NULL); - } node = new_node; } else @@ -13746,6 +15105,14 @@ void ImGui::DockContextProcessUndockNode(ImGuiContext* ctx, ImGuiDockNode* node) node->ParentNode->AuthorityForViewport = ImGuiDataAuthority_Window; // The node that stays in place keeps the viewport, so our newly dragged out node will create a new viewport node->ParentNode = NULL; } + for (int n = 0; n < node->Windows.Size; n++) + { + ImGuiWindow* window = node->Windows[n]; + window->Flags &= ~ImGuiWindowFlags_ChildWindow; + if (window->ParentWindow) + window->ParentWindow->DC.ChildWindows.find_erase(window); + UpdateWindowParentAndRootLinks(window, window->Flags, NULL); + } node->AuthorityForPos = node->AuthorityForSize = ImGuiDataAuthority_DockNode; node->Size = FixLargeWindowsWhenUndocking(node->Size, node->Windows[0]->Viewport); node->WantMouseMove = true; @@ -13753,14 +15120,14 @@ void ImGui::DockContextProcessUndockNode(ImGuiContext* ctx, ImGuiDockNode* node) } // This is mostly used for automation. -bool ImGui::DockContextCalcDropPosForDocking(ImGuiWindow* target, ImGuiDockNode* target_node, ImGuiWindow* payload, ImGuiDir split_dir, bool split_outer, ImVec2* out_pos) +bool ImGui::DockContextCalcDropPosForDocking(ImGuiWindow* target, ImGuiDockNode* target_node, ImGuiWindow* payload_window, ImGuiDockNode* payload_node, ImGuiDir split_dir, bool split_outer, ImVec2* out_pos) { // In DockNodePreviewDockSetup() for a root central node instead of showing both "inner" and "outer" drop rects // (which would be functionally identical) we only show the outer one. Reflect this here. if (target_node && target_node->ParentNode == NULL && target_node->IsCentralNode() && split_dir != ImGuiDir_None) split_outer = true; ImGuiDockPreviewData split_data; - DockNodePreviewDockSetup(target, target_node, payload, &split_data, false, split_outer); + DockNodePreviewDockSetup(target, target_node, payload_window, payload_node, &split_data, false, split_outer); if (split_data.DropRectsDraw[split_dir+1].IsInverted()) return false; *out_pos = split_data.DropRectsDraw[split_dir+1].GetCenter(); @@ -13837,7 +15204,7 @@ int ImGui::DockNodeGetTabOrder(ImGuiWindow* window) ImGuiTabBar* tab_bar = window->DockNode->TabBar; if (tab_bar == NULL) return -1; - ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, window->ID); + ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, window->TabId); return tab ? tab_bar->GetTabOrder(tab) : -1; } @@ -13857,7 +15224,7 @@ static void ImGui::DockNodeAddWindow(ImGuiDockNode* node, ImGuiWindow* window, b DockNodeRemoveWindow(window->DockNode, window, 0); } IM_ASSERT(window->DockNode == NULL || window->DockNodeAsHost == NULL); - IMGUI_DEBUG_LOG_DOCKING("DockNodeAddWindow node 0x%08X window '%s'\n", node->ID, window->Name); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockNodeAddWindow node 0x%08X window '%s'\n", node->ID, window->Name); // If more than 2 windows appeared on the same frame leading to the creation of a new hosting window, // we'll hide windows until the host window is ready. Hide the 1st window after its been output (so it is not visible for one frame). @@ -13913,7 +15280,7 @@ static void ImGui::DockNodeRemoveWindow(ImGuiDockNode* node, ImGuiWindow* window //IM_ASSERT(window->RootWindowDockTree == node->HostWindow); //IM_ASSERT(window->LastFrameActive < g.FrameCount); // We may call this from Begin() IM_ASSERT(save_dock_id == 0 || save_dock_id == node->ID); - IMGUI_DEBUG_LOG_DOCKING("DockNodeRemoveWindow node 0x%08X window '%s'\n", node->ID, window->Name); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockNodeRemoveWindow node 0x%08X window '%s'\n", node->ID, window->Name); window->DockNode = NULL; window->DockIsActive = window->DockTabWantClose = false; @@ -13941,7 +15308,7 @@ static void ImGui::DockNodeRemoveWindow(ImGuiDockNode* node, ImGuiWindow* window node->WantHiddenTabBarUpdate = true; if (node->TabBar) { - TabBarRemoveTab(node->TabBar, window->ID); + TabBarRemoveTab(node->TabBar, window->TabId); const int tab_count_threshold_for_tab_bar = node->IsCentralNode() ? 1 : 2; if (node->Windows.Size < tab_count_threshold_for_tab_bar) DockNodeRemoveTabBar(node); @@ -13960,7 +15327,7 @@ static void ImGui::DockNodeRemoveWindow(ImGuiDockNode* node, ImGuiWindow* window if (node->HostWindow->ViewportOwned && node->IsRootNode()) { // Transfer viewport back to the remaining loose window - IMGUI_DEBUG_LOG_VIEWPORT("Node %08X transfer Viewport %08X=>%08X for Window '%s'\n", node->ID, node->HostWindow->Viewport->ID, remaining_window->ID, remaining_window->Name); + IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Node %08X transfer Viewport %08X=>%08X for Window '%s'\n", node->ID, node->HostWindow->Viewport->ID, remaining_window->ID, remaining_window->Name); IM_ASSERT(node->HostWindow->Viewport->Window == node->HostWindow); node->HostWindow->Viewport->Window = remaining_window; node->HostWindow->Viewport->ID = remaining_window->ID; @@ -14002,15 +15369,12 @@ static void ImGui::DockNodeMoveWindows(ImGuiDockNode* dst_node, ImGuiDockNode* s src_node->TabBar = NULL; } - for (int n = 0; n < src_node->Windows.Size; n++) + // Tab order is not important here, it is preserved by sorting in DockNodeUpdateTabBar(). + for (ImGuiWindow* window : src_node->Windows) { - // DockNode's TabBar may have non-window Tabs manually appended by user - if (ImGuiWindow* window = src_tab_bar ? src_tab_bar->Tabs[n].Window : src_node->Windows[n]) - { - window->DockNode = NULL; - window->DockIsActive = false; - DockNodeAddWindow(dst_node, window, move_tab_bar ? false : true); - } + window->DockNode = NULL; + window->DockIsActive = false; + DockNodeAddWindow(dst_node, window, !move_tab_bar); } src_node->Windows.clear(); @@ -14124,7 +15488,7 @@ static void ImGui::DockNodeUpdateFlagsAndCollapse(ImGuiDockNode* node) bool node_was_active = (node->LastFrameActive + 1 == g.FrameCount); bool remove = false; remove |= node_was_active && (window->LastFrameActive + 1 < g.FrameCount); - remove |= node_was_active && (node->WantCloseAll || node->WantCloseTabId == window->ID) && window->HasCloseButton && !(window->Flags & ImGuiWindowFlags_UnsavedDocument); // Submit all _expected_ closure from last frame + remove |= node_was_active && (node->WantCloseAll || node->WantCloseTabId == window->TabId) && window->HasCloseButton && !(window->Flags & ImGuiWindowFlags_UnsavedDocument); // Submit all _expected_ closure from last frame remove |= (window->DockTabWantClose); if (remove) { @@ -14442,8 +15806,17 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) if (node->IsSplitNode()) IM_ASSERT(node->TabBar == NULL); if (node->IsRootNode()) - if (g.NavWindow && g.NavWindow->RootWindow->DockNode && g.NavWindow->RootWindow->ParentWindow == host_window) - node->LastFocusedNodeId = g.NavWindow->RootWindow->DockNode->ID; + if (ImGuiWindow* p_window = g.NavWindow ? g.NavWindow->RootWindow : NULL) + while (p_window != NULL && p_window->DockNode != NULL) + { + ImGuiDockNode* p_node = DockNodeGetRootNode(p_window->DockNode); + if (p_node == node) + { + node->LastFocusedNodeId = p_window->DockNode->ID; // Note: not using root node ID! + break; + } + p_window = p_node->HostWindow ? p_node->HostWindow->RootWindow : NULL; + } // Register a hit-test hole in the window unless we are currently dragging a window that is compatible with our dockspace ImGuiDockNode* central_node = node->CentralNode; @@ -14470,14 +15843,14 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) if (central_node_hole && !hole_rect.IsInverted()) { SetWindowHitTestHole(host_window, hole_rect.Min, hole_rect.Max - hole_rect.Min); - SetWindowHitTestHole(host_window->ParentWindow, hole_rect.Min, hole_rect.Max - hole_rect.Min); + if (host_window->ParentWindow) + SetWindowHitTestHole(host_window->ParentWindow, hole_rect.Min, hole_rect.Max - hole_rect.Min); } } // Update position/size, process and draw resizing splitters if (node->IsRootNode() && host_window) { - host_window->DrawList->ChannelsSetCurrent(1); DockNodeTreeUpdatePosSize(node, host_window->Pos, host_window->Size); DockNodeTreeUpdateSplitter(node); } @@ -14485,7 +15858,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) // Draw empty node background (currently can only be the Central Node) if (host_window && node->IsEmpty() && node->IsVisible) { - host_window->DrawList->ChannelsSetCurrent(0); + host_window->DrawList->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_BG); node->LastBgColor = (node_flags & ImGuiDockNodeFlags_PassthruCentralNode) ? 0 : GetColorU32(ImGuiCol_DockingEmptyBg); if (node->LastBgColor != 0) host_window->DrawList->AddRectFilled(node->Pos, node->Pos + node->Size, node->LastBgColor); @@ -14498,7 +15871,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) const bool render_dockspace_bg = node->IsRootNode() && host_window && (node_flags & ImGuiDockNodeFlags_PassthruCentralNode) != 0; if (render_dockspace_bg && node->IsVisible) { - host_window->DrawList->ChannelsSetCurrent(0); + host_window->DrawList->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_BG); if (central_node_hole) RenderRectFilledWithHole(host_window->DrawList, node->Rect(), central_node->Rect(), GetColorU32(ImGuiCol_WindowBg), 0.0f); else @@ -14507,7 +15880,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) // Draw and populate Tab Bar if (host_window) - host_window->DrawList->ChannelsSetCurrent(1); + host_window->DrawList->ChannelsSetCurrent(DOCKING_HOST_DRAW_CHANNEL_FG); if (host_window && node->Windows.Size > 0) { DockNodeUpdateTabBar(node, host_window); @@ -14521,7 +15894,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) if (node->TabBar && node->TabBar->SelectedTabId) node->SelectedTabId = node->TabBar->SelectedTabId; else if (node->Windows.Size > 0) - node->SelectedTabId = node->Windows[0]->ID; + node->SelectedTabId = node->Windows[0]->TabId; // Draw payload drop target if (host_window && node->IsVisible) @@ -14542,13 +15915,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) // Render outer borders last (after the tab bar) if (node->IsRootNode()) - { - host_window->DrawList->ChannelsSetCurrent(1); RenderWindowOuterBorders(host_window); - } - - // Further rendering (= hosted windows background) will be drawn on layer 0 - host_window->DrawList->ChannelsSetCurrent(0); } // End host window @@ -14580,7 +15947,7 @@ static ImGuiID ImGui::DockNodeUpdateWindowMenu(ImGuiDockNode* node, ImGuiTabBar* node->IsFocused = true; if (tab_bar->Tabs.Size == 1) { - if (MenuItem("Hide tab bar", NULL, node->IsHiddenTabBar())) + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_DockingHideTabBar), NULL, node->IsHiddenTabBar())) node->WantHiddenTabBarToggle = true; } else @@ -14623,6 +15990,28 @@ void ImGui::DockNodeEndAmendTabBar() End(); } +static bool IsDockNodeTitleBarHighlighted(ImGuiDockNode* node, ImGuiDockNode* root_node) +{ + // CTRL+Tab highlight (only highlighting leaf node, not whole hierarchy) + ImGuiContext& g = *GImGui; + if (g.NavWindowingTarget) + return (g.NavWindowingTarget->DockNode == node); + + // FIXME-DOCKING: May want alternative to treat central node void differently? e.g. if (g.NavWindow == host_window) + if (g.NavWindow && root_node->LastFocusedNodeId == node->ID) + { + // FIXME: This could all be backed in RootWindowForTitleBarHighlight? Probably need to reorganize for both dock nodes + other RootWindowForTitleBarHighlight users (not-node) + ImGuiWindow* parent_window = g.NavWindow->RootWindow; + while (parent_window->Flags & ImGuiWindowFlags_ChildMenu) + parent_window = parent_window->ParentWindow->RootWindow; + ImGuiDockNode* start_parent_node = parent_window->DockNodeAsHost ? parent_window->DockNodeAsHost : parent_window->DockNode; + for (ImGuiDockNode* parent_node = start_parent_node; parent_node != NULL; parent_node = parent_node->HostWindow ? parent_node->HostWindow->RootWindow->DockNode : NULL) + if ((parent_node = ImGui::DockNodeGetRootNode(parent_node)) == root_node) + return true; + } + return false; +} + // Submit the tab bar corresponding to a dock node and various housekeeping details. static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_window) { @@ -14638,9 +16027,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w // Decide if we should use a focused title bar color bool is_focused = false; ImGuiDockNode* root_node = DockNodeGetRootNode(node); - if (g.NavWindowingTarget) - is_focused = (g.NavWindowingTarget->DockNode == node); - else if (g.NavWindow && g.NavWindow->RootWindowForTitleBarHighlight == host_window->RootWindowDockTree && root_node->LastFocusedNodeId == node->ID) + if (IsDockNodeTitleBarHighlighted(node, root_node)) is_focused = true; // Hidden tab bar will show a triangle on the upper-left (in Begin) @@ -14656,7 +16043,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w if (is_focused || root_node->VisibleWindow == NULL) root_node->VisibleWindow = node->VisibleWindow; if (node->TabBar) - node->TabBar->VisibleTabId = node->VisibleWindow->ID; + node->TabBar->VisibleTabId = node->VisibleWindow->TabId; } return; } @@ -14707,7 +16094,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w for (int window_n = 0; window_n < node->Windows.Size; window_n++) { ImGuiWindow* window = node->Windows[window_n]; - if (TabBarFindTabByID(tab_bar, window->ID) == NULL) + if (TabBarFindTabByID(tab_bar, window->TabId) == NULL) TabBarAddTab(tab_bar, ImGuiTabItemFlags_Unsorted, window); } @@ -14737,22 +16124,22 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w } if (tab_bar->Tabs.Size > tabs_unsorted_start) { - IMGUI_DEBUG_LOG_DOCKING("In node 0x%08X: %d new appearing tabs:%s\n", node->ID, tab_bar->Tabs.Size - tabs_unsorted_start, (tab_bar->Tabs.Size > tabs_unsorted_start + 1) ? " (will sort)" : ""); + IMGUI_DEBUG_LOG_DOCKING("[docking] In node 0x%08X: %d new appearing tabs:%s\n", node->ID, tab_bar->Tabs.Size - tabs_unsorted_start, (tab_bar->Tabs.Size > tabs_unsorted_start + 1) ? " (will sort)" : ""); for (int tab_n = tabs_unsorted_start; tab_n < tab_bar->Tabs.Size; tab_n++) - IMGUI_DEBUG_LOG_DOCKING(" - Tab '%s' Order %d\n", tab_bar->Tabs[tab_n].Window->Name, tab_bar->Tabs[tab_n].Window->DockOrder); + IMGUI_DEBUG_LOG_DOCKING("[docking] - Tab '%s' Order %d\n", tab_bar->Tabs[tab_n].Window->Name, tab_bar->Tabs[tab_n].Window->DockOrder); if (tab_bar->Tabs.Size > tabs_unsorted_start + 1) ImQsort(tab_bar->Tabs.Data + tabs_unsorted_start, tab_bar->Tabs.Size - tabs_unsorted_start, sizeof(ImGuiTabItem), TabItemComparerByDockOrder); } // Apply NavWindow focus back to the tab bar if (g.NavWindow && g.NavWindow->RootWindow->DockNode == node) - tab_bar->SelectedTabId = g.NavWindow->RootWindow->ID; + tab_bar->SelectedTabId = g.NavWindow->RootWindow->TabId; // Selected newly added tabs, or persistent tab ID if the tab bar was just recreated if (tab_bar_is_recreated && TabBarFindTabByID(tab_bar, node->SelectedTabId) != NULL) tab_bar->SelectedTabId = tab_bar->NextSelectedTabId = node->SelectedTabId; else if (tab_bar->Tabs.Size > tabs_count_old) - tab_bar->SelectedTabId = tab_bar->NextSelectedTabId = tab_bar->Tabs.back().Window->ID; + tab_bar->SelectedTabId = tab_bar->NextSelectedTabId = tab_bar->Tabs.back().Window->TabId; // Begin tab bar ImGuiTabBarFlags tab_bar_flags = ImGuiTabBarFlags_Reorderable | ImGuiTabBarFlags_AutoSelectNewTabs; // | ImGuiTabBarFlags_NoTabListScrollingButtons); @@ -14772,7 +16159,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w for (int window_n = 0; window_n < node->Windows.Size; window_n++) { ImGuiWindow* window = node->Windows[window_n]; - if ((closed_all || closed_one == window->ID) && window->HasCloseButton && !(window->Flags & ImGuiWindowFlags_UnsavedDocument)) + if ((closed_all || closed_one == window->TabId) && window->HasCloseButton && !(window->Flags & ImGuiWindowFlags_UnsavedDocument)) continue; if (window->LastFrameActive + 1 >= g.FrameCount || !node_was_active) { @@ -14787,11 +16174,12 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w for (int color_n = 0; color_n < ImGuiWindowDockStyleCol_COUNT; color_n++) g.Style.Colors[GWindowDockStyleColors[color_n]] = ColorConvertU32ToFloat4(window->DockStyle.Colors[color_n]); + // Note that TabItemEx() calls TabBarCalcTabID() so our tab item ID will ignore the current ID stack (rightly so) bool tab_open = true; TabItemEx(tab_bar, window->Name, window->HasCloseButton ? &tab_open : NULL, tab_item_flags, window); if (!tab_open) - node->WantCloseTabId = window->ID; - if (tab_bar->VisibleTabId == window->ID) + node->WantCloseTabId = window->TabId; + if (tab_bar->VisibleTabId == window->TabId) node->VisibleWindow = window; // Store last item data so it can be queried with IsItemXXX functions after the user Begin() call @@ -14800,7 +16188,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w // Update navigation ID on menu layer if (g.NavWindow && g.NavWindow->RootWindow == window && (window->DC.NavLayersActiveMask & (1 << ImGuiNavLayer_Menu)) == 0) - host_window->NavLastIds[1] = window->ID; + host_window->NavLastIds[1] = window->TabId; } } @@ -14814,7 +16202,7 @@ static void ImGui::DockNodeUpdateTabBar(ImGuiDockNode* node, ImGuiWindow* host_w root_node->VisibleWindow = node->VisibleWindow; // Close button (after VisibleWindow was updated) - // Note that VisibleWindow may have been overrided by CTRL+Tabbing, so VisibleWindow->ID may be != from tab_bar->SelectedTabId + // Note that VisibleWindow may have been overrided by CTRL+Tabbing, so VisibleWindow->TabId may be != from tab_bar->SelectedTabId const bool close_button_is_enabled = node->HasCloseButton && node->VisibleWindow && node->VisibleWindow->HasCloseButton; const bool close_button_is_visible = node->HasCloseButton; //const bool close_button_is_visible = close_button_is_enabled; // Most people would expect this behavior of not even showing the button (leaving a hole since we can't claim that space as other windows in the tba bar have one) @@ -15077,20 +16465,21 @@ bool ImGui::DockNodeCalcDropRectsAndTestMousePos(const ImRect& parent, ImGuiDir // host_node may be NULL if the window doesn't have a DockNode already. // FIXME-DOCK: This is misnamed since it's also doing the filtering. -static void ImGui::DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockNode* host_node, ImGuiWindow* root_payload, ImGuiDockPreviewData* data, bool is_explicit_target, bool is_outer_docking) +static void ImGui::DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockNode* host_node, ImGuiWindow* payload_window, ImGuiDockNode* payload_node, ImGuiDockPreviewData* data, bool is_explicit_target, bool is_outer_docking) { ImGuiContext& g = *GImGui; // There is an edge case when docking into a dockspace which only has inactive nodes. // In this case DockNodeTreeFindNodeByPos() will have selected a leaf node which is inactive. // Because the inactive leaf node doesn't have proper pos/size yet, we'll use the root node as reference. - ImGuiDockNode* root_payload_as_host = root_payload->DockNodeAsHost; + if (payload_node == NULL) + payload_node = payload_window->DockNodeAsHost; ImGuiDockNode* ref_node_for_rect = (host_node && !host_node->IsVisible) ? DockNodeGetRootNode(host_node) : host_node; if (ref_node_for_rect) - IM_ASSERT(ref_node_for_rect->IsVisible); + IM_ASSERT(ref_node_for_rect->IsVisible == true); // Filter, figure out where we are allowed to dock - ImGuiDockNodeFlags src_node_flags = root_payload_as_host ? root_payload_as_host->MergedFlags : root_payload->WindowClass.DockNodeFlagsOverrideSet; + ImGuiDockNodeFlags src_node_flags = payload_node ? payload_node->MergedFlags : payload_window->WindowClass.DockNodeFlagsOverrideSet; ImGuiDockNodeFlags dst_node_flags = host_node ? host_node->MergedFlags : host_window->WindowClass.DockNodeFlagsOverrideSet; data->IsCenterAvailable = true; if (is_outer_docking) @@ -15099,7 +16488,7 @@ static void ImGui::DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockN data->IsCenterAvailable = false; else if (host_node && (dst_node_flags & ImGuiDockNodeFlags_NoDockingInCentralNode) && host_node->IsCentralNode()) data->IsCenterAvailable = false; - else if ((!host_node || !host_node->IsEmpty()) && root_payload_as_host && root_payload_as_host->IsSplitNode() && (root_payload_as_host->OnlyNodeWithWindows == NULL)) // Is _visibly_ split? + else if ((!host_node || !host_node->IsEmpty()) && payload_node && payload_node->IsSplitNode() && (payload_node->OnlyNodeWithWindows == NULL)) // Is _visibly_ split? data->IsCenterAvailable = false; else if (dst_node_flags & ImGuiDockNodeFlags_NoDockingOverMe) data->IsCenterAvailable = false; @@ -15117,7 +16506,7 @@ static void ImGui::DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockN data->IsSidesAvailable = false; // Build a tentative future node (reuse same structure because it is practical. Shape will be readjusted when previewing a split) - data->FutureNode.HasCloseButton = (host_node ? host_node->HasCloseButton : host_window->HasCloseButton) || (root_payload->HasCloseButton); + data->FutureNode.HasCloseButton = (host_node ? host_node->HasCloseButton : host_window->HasCloseButton) || (payload_window->HasCloseButton); data->FutureNode.HasWindowMenuButton = host_node ? true : ((host_window->Flags & ImGuiWindowFlags_NoCollapse) == 0); data->FutureNode.Pos = ref_node_for_rect ? ref_node_for_rect->Pos : host_window->Pos; data->FutureNode.Size = ref_node_for_rect ? ref_node_for_rect->Size : host_window->Size; @@ -15154,7 +16543,7 @@ static void ImGui::DockNodePreviewDockSetup(ImGuiWindow* host_window, ImGuiDockN ImGuiAxis split_axis = (split_dir == ImGuiDir_Left || split_dir == ImGuiDir_Right) ? ImGuiAxis_X : ImGuiAxis_Y; ImVec2 pos_new, pos_old = data->FutureNode.Pos; ImVec2 size_new, size_old = data->FutureNode.Size; - DockNodeCalcSplitRects(pos_old, size_old, pos_new, size_new, split_dir, root_payload->Size); + DockNodeCalcSplitRects(pos_old, size_old, pos_new, size_new, split_dir, payload_window->Size); // Calculate split ratio so we can pass it down the docking request float split_ratio = ImSaturate(size_new[split_axis] / data->FutureNode.Size[split_axis]); @@ -15210,11 +16599,11 @@ static void ImGui::DockNodePreviewDockRender(ImGuiWindow* host_window, ImGuiDock if (!host_node->IsHiddenTabBar() && !host_node->IsNoTabBar()) tab_pos.x += host_node->TabBar->WidthAllTabs + g.Style.ItemInnerSpacing.x; // We don't use OffsetNewTab because when using non-persistent-order tab bar it is incremented with each Tab submission. else - tab_pos.x += g.Style.ItemInnerSpacing.x + TabItemCalcSize(host_node->Windows[0]->Name, host_node->Windows[0]->HasCloseButton).x; + tab_pos.x += g.Style.ItemInnerSpacing.x + TabItemCalcSize(host_node->Windows[0]).x; } else if (!(host_window->Flags & ImGuiWindowFlags_DockNodeHost)) { - tab_pos.x += g.Style.ItemInnerSpacing.x + TabItemCalcSize(host_window->Name, host_window->HasCloseButton).x; // Account for slight offset which will be added when changing from title bar to tab bar + tab_pos.x += g.Style.ItemInnerSpacing.x + TabItemCalcSize(host_window).x; // Account for slight offset which will be added when changing from title bar to tab bar } // Draw tab shape/label preview (payload may be a loose window or a host window carrying multiple tabbed windows) @@ -15232,7 +16621,7 @@ static void ImGui::DockNodePreviewDockRender(ImGuiWindow* host_window, ImGuiDock continue; // Calculate the tab bounding box for each payload window - ImVec2 tab_size = TabItemCalcSize(payload_window->Name, payload_window->HasCloseButton); + ImVec2 tab_size = TabItemCalcSize(payload_window); ImRect tab_bb(tab_pos.x, tab_pos.y, tab_pos.x + tab_size.x, tab_pos.y + tab_size.y); tab_pos.x += tab_size.x + g.Style.ItemInnerSpacing.x; const ImU32 overlay_col_text = GetColorU32(payload_window->DockStyle.Colors[ImGuiWindowDockStyleCol_Text]); @@ -15339,6 +16728,7 @@ void ImGui::DockNodeTreeSplit(ImGuiContext* ctx, ImGuiDockNode* parent_node, ImG void ImGui::DockNodeTreeMerge(ImGuiContext* ctx, ImGuiDockNode* parent_node, ImGuiDockNode* merge_lead_child) { // When called from DockContextProcessUndockNode() it is possible that one of the child is NULL. + ImGuiContext& g = *GImGui; ImGuiDockNode* child_0 = parent_node->ChildNodes[0]; ImGuiDockNode* child_1 = parent_node->ChildNodes[1]; IM_ASSERT(child_0 || child_1); @@ -15348,7 +16738,7 @@ void ImGui::DockNodeTreeMerge(ImGuiContext* ctx, ImGuiDockNode* parent_node, ImG IM_ASSERT(parent_node->TabBar == NULL); IM_ASSERT(parent_node->Windows.Size == 0); } - IMGUI_DEBUG_LOG_DOCKING("DockNodeTreeMerge 0x%08X & 0x%08X back into parent 0x%08X\n", child_0 ? child_0->ID : 0, child_1 ? child_1->ID : 0, parent_node->ID); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockNodeTreeMerge: 0x%08X + 0x%08X back into parent 0x%08X\n", child_0 ? child_0->ID : 0, child_1 ? child_1->ID : 0, parent_node->ID); ImVec2 backup_last_explicit_size = parent_node->SizeRef; DockNodeMoveChildNodes(parent_node, merge_lead_child); @@ -15646,7 +17036,8 @@ ImGuiDockNode* ImGui::DockNodeTreeFindVisibleNodeByPos(ImGuiDockNode* node, ImVe if (ImGuiDockNode* hovered_node = DockNodeTreeFindVisibleNodeByPos(node->ChildNodes[1], pos)) return hovered_node; - return NULL; + // This means we are hovering over the splitter/spacing of a parent node + return node; } //----------------------------------------------------------------------------- @@ -15716,12 +17107,12 @@ ImGuiID ImGui::DockSpace(ImGuiID id, const ImVec2& size_arg, ImGuiDockNodeFlags ImGuiDockNode* node = DockContextFindNodeByID(ctx, id); if (!node) { - IMGUI_DEBUG_LOG_DOCKING("DockSpace: dockspace node 0x%08X created\n", id); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockSpace: dockspace node 0x%08X created\n", id); node = DockContextAddNode(ctx, id); node->SetLocalFlags(ImGuiDockNodeFlags_CentralNode); } if (window_class && window_class->ClassId != node->WindowClass.ClassId) - IMGUI_DEBUG_LOG_DOCKING("DockSpace: dockspace node 0x%08X: setup WindowClass 0x%08X -> 0x%08X\n", id, node->WindowClass.ClassId, window_class->ClassId); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockSpace: dockspace node 0x%08X: setup WindowClass 0x%08X -> 0x%08X\n", id, node->WindowClass.ClassId, window_class->ClassId); node->SharedFlags = flags; node->WindowClass = window_class ? *window_class : ImGuiWindowClass(); @@ -16057,11 +17448,11 @@ void ImGui::DockBuilderRemoveNodeDockedWindows(ImGuiID root_id, bool clear_setti // FIXME-DOCK: We are not exposing nor using split_outer. ImGuiID ImGui::DockBuilderSplitNode(ImGuiID id, ImGuiDir split_dir, float size_ratio_for_node_at_dir, ImGuiID* out_id_at_dir, ImGuiID* out_id_at_opposite_dir) { - ImGuiContext* ctx = GImGui; + ImGuiContext& g = *GImGui; IM_ASSERT(split_dir != ImGuiDir_None); - IMGUI_DEBUG_LOG_DOCKING("DockBuilderSplitNode node 0x%08X, split_dir %d\n", id, split_dir); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockBuilderSplitNode: node 0x%08X, split_dir %d\n", id, split_dir); - ImGuiDockNode* node = DockContextFindNodeByID(ctx, id); + ImGuiDockNode* node = DockContextFindNodeByID(&g, id); if (node == NULL) { IM_ASSERT(node != NULL); @@ -16078,7 +17469,7 @@ ImGuiID ImGui::DockBuilderSplitNode(ImGuiID id, ImGuiDir split_dir, float size_r req.DockSplitDir = split_dir; req.DockSplitRatio = ImSaturate((split_dir == ImGuiDir_Left || split_dir == ImGuiDir_Up) ? size_ratio_for_node_at_dir : 1.0f - size_ratio_for_node_at_dir); req.DockSplitOuter = false; - DockContextProcessDock(ctx, &req); + DockContextProcessDock(&g, &req); ImGuiID id_at_dir = node->ChildNodes[(split_dir == ImGuiDir_Left || split_dir == ImGuiDir_Up) ? 0 : 1]->ID; ImGuiID id_at_opposite_dir = node->ChildNodes[(split_dir == ImGuiDir_Left || split_dir == ImGuiDir_Up) ? 1 : 0]->ID; @@ -16091,8 +17482,8 @@ ImGuiID ImGui::DockBuilderSplitNode(ImGuiID id, ImGuiDir split_dir, float size_r static ImGuiDockNode* DockBuilderCopyNodeRec(ImGuiDockNode* src_node, ImGuiID dst_node_id_if_known, ImVector* out_node_remap_pairs) { - ImGuiContext* ctx = GImGui; - ImGuiDockNode* dst_node = ImGui::DockContextAddNode(ctx, dst_node_id_if_known); + ImGuiContext& g = *GImGui; + ImGuiDockNode* dst_node = ImGui::DockContextAddNode(&g, dst_node_id_if_known); dst_node->SharedFlags = src_node->SharedFlags; dst_node->LocalFlags = src_node->LocalFlags; dst_node->LocalFlagsInWindows = ImGuiDockNodeFlags_None; @@ -16112,7 +17503,7 @@ static ImGuiDockNode* DockBuilderCopyNodeRec(ImGuiDockNode* src_node, ImGuiID ds dst_node->ChildNodes[child_n]->ParentNode = dst_node; } - IMGUI_DEBUG_LOG_DOCKING("Fork node %08X -> %08X (%d childs)\n", src_node->ID, dst_node->ID, dst_node->IsSplitNode() ? 2 : 0); + IMGUI_DEBUG_LOG_DOCKING("[docking] Fork node %08X -> %08X (%d childs)\n", src_node->ID, dst_node->ID, dst_node->IsSplitNode() ? 2 : 0); return dst_node; } @@ -16167,6 +17558,7 @@ void ImGui::DockBuilderCopyWindowSettings(const char* src_name, const char* dst_ // FIXME: Will probably want to change this signature, in particular how the window remapping pairs are passed. void ImGui::DockBuilderCopyDockSpace(ImGuiID src_dockspace_id, ImGuiID dst_dockspace_id, ImVector* in_window_remap_pairs) { + ImGuiContext& g = *GImGui; IM_ASSERT(src_dockspace_id != 0); IM_ASSERT(dst_dockspace_id != 0); IM_ASSERT(in_window_remap_pairs != NULL); @@ -16206,14 +17598,14 @@ void ImGui::DockBuilderCopyDockSpace(ImGuiID src_dockspace_id, ImGuiID dst_docks if (dst_dock_id != 0) { // Docked windows gets redocked into the new node hierarchy. - IMGUI_DEBUG_LOG_DOCKING("Remap live window '%s' 0x%08X -> '%s' 0x%08X\n", src_window_name, src_dock_id, dst_window_name, dst_dock_id); + IMGUI_DEBUG_LOG_DOCKING("[docking] Remap live window '%s' 0x%08X -> '%s' 0x%08X\n", src_window_name, src_dock_id, dst_window_name, dst_dock_id); DockBuilderDockWindow(dst_window_name, dst_dock_id); } else { // Floating windows gets their settings transferred (regardless of whether the new window already exist or not) // When this is leading to a Copy and not a Move, we would get two overlapping floating windows. Could we possibly dock them together? - IMGUI_DEBUG_LOG_DOCKING("Remap window settings '%s' -> '%s'\n", src_window_name, dst_window_name); + IMGUI_DEBUG_LOG_DOCKING("[docking] Remap window settings '%s' -> '%s'\n", src_window_name, dst_window_name); DockBuilderCopyWindowSettings(src_window_name, dst_window_name); } } @@ -16232,7 +17624,7 @@ void ImGui::DockBuilderCopyDockSpace(ImGuiID src_dockspace_id, ImGuiID dst_docks continue; // Docked windows gets redocked into the new node hierarchy. - IMGUI_DEBUG_LOG_DOCKING("Remap window '%s' %08X -> %08X\n", window->Name, src_dock_id, dst_dock_id); + IMGUI_DEBUG_LOG_DOCKING("[docking] Remap window '%s' %08X -> %08X\n", window->Name, src_dock_id, dst_dock_id); DockBuilderDockWindow(window->Name, dst_dock_id); } } @@ -16428,7 +17820,7 @@ void ImGui::BeginDocked(ImGuiWindow* window, bool* p_open) if (node->TabBar && window->WasActive) window->DockOrder = (short)DockNodeGetTabOrder(window); - if ((node->WantCloseAll || node->WantCloseTabId == window->ID) && p_open != NULL) + if ((node->WantCloseAll || node->WantCloseTabId == window->TabId) && p_open != NULL) *p_open = false; // Update ChildId to allow returning from Child to Parent with Escape @@ -16514,17 +17906,19 @@ void ImGui::BeginDockableDragDropTarget(ImGuiWindow* window) const bool do_preview = payload->IsPreview() || payload->IsDelivery(); if (do_preview && (node != NULL || dock_into_floating_window)) { + // If we have a non-leaf node it means we are hovering the border of a parent node, in which case only outer markers will appear. ImGuiDockPreviewData split_inner; ImGuiDockPreviewData split_outer; ImGuiDockPreviewData* split_data = &split_inner; - if (node && (node->ParentNode || node->IsCentralNode())) + if (node && (node->ParentNode || node->IsCentralNode() || !node->IsLeafNode())) if (ImGuiDockNode* root_node = DockNodeGetRootNode(node)) { - DockNodePreviewDockSetup(window, root_node, payload_window, &split_outer, is_explicit_target, true); + DockNodePreviewDockSetup(window, root_node, payload_window, NULL, &split_outer, is_explicit_target, true); if (split_outer.IsSplitDirExplicit) split_data = &split_outer; } - DockNodePreviewDockSetup(window, node, payload_window, &split_inner, is_explicit_target, false); + if (!node || node->IsLeafNode()) + DockNodePreviewDockSetup(window, node, payload_window, NULL, &split_inner, is_explicit_target, false); if (split_data == &split_outer) split_inner.IsDropAllowed = false; @@ -16556,7 +17950,7 @@ void ImGui::BeginDockableDragDropTarget(ImGuiWindow* window) static void ImGui::DockSettingsRenameNodeReferences(ImGuiID old_node_id, ImGuiID new_node_id) { ImGuiContext& g = *GImGui; - IMGUI_DEBUG_LOG_DOCKING("DockSettingsRenameNodeReferences: from 0x%08X -> to 0x%08X\n", old_node_id, new_node_id); + IMGUI_DEBUG_LOG_DOCKING("[docking] DockSettingsRenameNodeReferences: from 0x%08X -> to 0x%08X\n", old_node_id, new_node_id); for (int window_n = 0; window_n < g.Windows.Size; window_n++) { ImGuiWindow* window = g.Windows[window_n]; @@ -16894,17 +18288,63 @@ static void SetClipboardTextFn_DefaultImpl(void*, const char* text) #endif +// Win32 API IME support (for Asian languages, etc.) +#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) && !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS) + +#include +#ifdef _MSC_VER +#pragma comment(lib, "imm32") +#endif + +static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport* viewport, ImGuiPlatformImeData* data) +{ + // Notify OS Input Method Editor of text input position + HWND hwnd = (HWND)viewport->PlatformHandleRaw; +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + if (hwnd == 0) + hwnd = (HWND)ImGui::GetIO().ImeWindowHandle; +#endif + if (hwnd == 0) + return; + + //::ImmAssociateContextEx(hwnd, NULL, data->WantVisible ? IACE_DEFAULT : 0); + if (HIMC himc = ::ImmGetContext(hwnd)) + { + COMPOSITIONFORM composition_form = {}; + composition_form.ptCurrentPos.x = (LONG)(data->InputPos.x - viewport->Pos.x); + composition_form.ptCurrentPos.y = (LONG)(data->InputPos.y - viewport->Pos.y); + composition_form.dwStyle = CFS_FORCE_POSITION; + ::ImmSetCompositionWindow(himc, &composition_form); + CANDIDATEFORM candidate_form = {}; + candidate_form.dwStyle = CFS_CANDIDATEPOS; + candidate_form.ptCurrentPos.x = (LONG)(data->InputPos.x - viewport->Pos.x); + candidate_form.ptCurrentPos.y = (LONG)(data->InputPos.y - viewport->Pos.y); + ::ImmSetCandidateWindow(himc, &candidate_form); + ::ImmReleaseContext(hwnd, himc); + } +} + +#else + +static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport*, ImGuiPlatformImeData*) {} + +#endif + //----------------------------------------------------------------------------- // [SECTION] METRICS/DEBUGGER WINDOW //----------------------------------------------------------------------------- // - RenderViewportThumbnail() [Internal] // - RenderViewportsThumbnails() [Internal] +// - DebugTextEncoding() // - MetricsHelpMarker() [Internal] +// - ShowFontAtlas() [Internal] // - ShowMetricsWindow() // - DebugNodeColumns() [Internal] // - DebugNodeDockNode() [Internal] // - DebugNodeDrawList() [Internal] // - DebugNodeDrawCmdShowMeshAndBoundingBox() [Internal] +// - DebugNodeFont() [Internal] +// - DebugNodeFontGlyph() [Internal] // - DebugNodeStorage() [Internal] // - DebugNodeTabBar() [Internal] // - DebugNodeViewport() [Internal] @@ -16914,7 +18354,7 @@ static void SetClipboardTextFn_DefaultImpl(void*, const char* text) // - DebugNodeWindowsListByBeginStackParent() [Internal] //----------------------------------------------------------------------------- -#ifndef IMGUI_DISABLE_METRICS_WINDOW +#ifndef IMGUI_DISABLE_DEBUG_TOOLS void ImGui::DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb) { @@ -16971,16 +18411,52 @@ static void RenderViewportsThumbnails() static int IMGUI_CDECL ViewportComparerByFrontMostStampCount(const void* lhs, const void* rhs) { - const ImGuiViewportP* a = *(const ImGuiViewportP* const *)lhs; - const ImGuiViewportP* b = *(const ImGuiViewportP* const *)rhs; + const ImGuiViewportP* a = *(const ImGuiViewportP* const*)lhs; + const ImGuiViewportP* b = *(const ImGuiViewportP* const*)rhs; return b->LastFrontMostStampCount - a->LastFrontMostStampCount; } +// Helper tool to diagnose between text encoding issues and font loading issues. Pass your UTF-8 string and verify that there are correct. +void ImGui::DebugTextEncoding(const char* str) +{ + Text("Text: \"%s\"", str); + if (!BeginTable("list", 4, ImGuiTableFlags_Borders | ImGuiTableFlags_RowBg | ImGuiTableFlags_SizingFixedFit)) + return; + TableSetupColumn("Offset"); + TableSetupColumn("UTF-8"); + TableSetupColumn("Glyph"); + TableSetupColumn("Codepoint"); + TableHeadersRow(); + for (const char* p = str; *p != 0; ) + { + unsigned int c; + const int c_utf8_len = ImTextCharFromUtf8(&c, p, NULL); + TableNextColumn(); + Text("%d", (int)(p - str)); + TableNextColumn(); + for (int byte_index = 0; byte_index < c_utf8_len; byte_index++) + { + if (byte_index > 0) + SameLine(); + Text("0x%02X", (int)(unsigned char)p[byte_index]); + } + TableNextColumn(); + if (GetFont()->FindGlyphNoFallback((ImWchar)c)) + TextUnformatted(p, p + c_utf8_len); + else + TextUnformatted((c == IM_UNICODE_CODEPOINT_INVALID) ? "[invalid]" : "[missing]"); + TableNextColumn(); + Text("U+%04X", (int)c); + p += c_utf8_len; + } + EndTable(); +} + // Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds. static void MetricsHelpMarker(const char* desc) { ImGui::TextDisabled("(?)"); - if (ImGui::IsItemHovered()) + if (ImGui::IsItemHovered(ImGuiHoveredFlags_DelayShort)) { ImGui::BeginTooltip(); ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f); @@ -16990,15 +18466,32 @@ static void MetricsHelpMarker(const char* desc) } } -#ifndef IMGUI_DISABLE_DEMO_WINDOWS -namespace ImGui { void ShowFontAtlas(ImFontAtlas* atlas); } -#endif +// [DEBUG] List fonts in a font atlas and display its texture +void ImGui::ShowFontAtlas(ImFontAtlas* atlas) +{ + for (int i = 0; i < atlas->Fonts.Size; i++) + { + ImFont* font = atlas->Fonts[i]; + PushID(font); + DebugNodeFont(font); + PopID(); + } + if (TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight)) + { + ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); + ImVec4 border_col = ImVec4(1.0f, 1.0f, 1.0f, 0.5f); + Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), tint_col, border_col); + TreePop(); + } +} void ImGui::ShowMetricsWindow(bool* p_open) { ImGuiContext& g = *GImGui; ImGuiIO& io = g.IO; ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig; + if (cfg->ShowDebugLog) + ShowDebugLogWindow(&cfg->ShowDebugLog); if (cfg->ShowStackTool) ShowStackToolWindow(&cfg->ShowStackTool); @@ -17031,19 +18524,20 @@ void ImGui::ShowMetricsWindow(bool* p_open) { static ImRect GetTableRect(ImGuiTable* table, int rect_type, int n) { + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); // Always using last submitted instance if (rect_type == TRT_OuterRect) { return table->OuterRect; } else if (rect_type == TRT_InnerRect) { return table->InnerRect; } else if (rect_type == TRT_WorkRect) { return table->WorkRect; } else if (rect_type == TRT_HostClipRect) { return table->HostClipRect; } else if (rect_type == TRT_InnerClipRect) { return table->InnerClipRect; } else if (rect_type == TRT_BackgroundClipRect) { return table->BgClipRect; } - else if (rect_type == TRT_ColumnsRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->MinX, table->InnerClipRect.Min.y, c->MaxX, table->InnerClipRect.Min.y + table->LastOuterHeight); } + else if (rect_type == TRT_ColumnsRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->MinX, table->InnerClipRect.Min.y, c->MaxX, table->InnerClipRect.Min.y + table_instance->LastOuterHeight); } else if (rect_type == TRT_ColumnsWorkRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->WorkRect.Min.y, c->WorkMaxX, table->WorkRect.Max.y); } else if (rect_type == TRT_ColumnsClipRect) { ImGuiTableColumn* c = &table->Columns[n]; return c->ClipRect; } - else if (rect_type == TRT_ColumnsContentHeadersUsed){ ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersUsed, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } // Note: y1/y2 not always accurate - else if (rect_type == TRT_ColumnsContentHeadersIdeal){ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersIdeal, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } - else if (rect_type == TRT_ColumnsContentFrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXFrozen, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } - else if (rect_type == TRT_ColumnsContentUnfrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y + table->LastFirstRowHeight, c->ContentMaxXUnfrozen, table->InnerClipRect.Max.y); } + else if (rect_type == TRT_ColumnsContentHeadersUsed){ ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersUsed, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight); } // Note: y1/y2 not always accurate + else if (rect_type == TRT_ColumnsContentHeadersIdeal){ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersIdeal, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight); } + else if (rect_type == TRT_ColumnsContentFrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXFrozen, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight); } + else if (rect_type == TRT_ColumnsContentUnfrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight, c->ContentMaxXUnfrozen, table->InnerClipRect.Max.y); } IM_ASSERT(0); return ImRect(); } @@ -17066,8 +18560,32 @@ void ImGui::ShowMetricsWindow(bool* p_open) // Tools if (TreeNode("Tools")) { + bool show_encoding_viewer = TreeNode("UTF-8 Encoding viewer"); + SameLine(); + MetricsHelpMarker("You can also call ImGui::DebugTextEncoding() from your code with a given string to test that your UTF-8 encoding settings are correct."); + if (show_encoding_viewer) + { + static char buf[100] = ""; + SetNextItemWidth(-FLT_MIN); + InputText("##Text", buf, IM_ARRAYSIZE(buf)); + if (buf[0] != 0) + DebugTextEncoding(buf); + TreePop(); + } + + // The Item Picker tool is super useful to visually select an item and break into the call-stack of where it was submitted. + if (Checkbox("Show Item Picker", &g.DebugItemPickerActive) && g.DebugItemPickerActive) + DebugStartItemPicker(); + SameLine(); + MetricsHelpMarker("Will call the IM_DEBUG_BREAK() macro to break in debugger.\nWarning: If you don't have a debugger attached, this will probably crash."); + // Stack Tool is your best friend! - Checkbox("Show stack tool", &cfg->ShowStackTool); + Checkbox("Show Debug Log", &cfg->ShowDebugLog); + SameLine(); + MetricsHelpMarker("You can also call ImGui::ShowDebugLogWindow() from your code."); + + // Stack Tool is your best friend! + Checkbox("Show Stack Tool", &cfg->ShowStackTool); SameLine(); MetricsHelpMarker("You can also call ImGui::ShowStackToolWindow() from your code."); @@ -17133,12 +18651,6 @@ void ImGui::ShowMetricsWindow(bool* p_open) } } - // The Item Picker tool is super useful to visually select an item and break into the call-stack of where it was submitted. - if (Button("Item Picker..")) - DebugStartItemPicker(); - SameLine(); - MetricsHelpMarker("Will call the IM_DEBUG_BREAK() macro to break in debugger.\nWarning: If you don't have a debugger attached, this will probably crash."); - TreePop(); } @@ -17212,7 +18724,8 @@ void ImGui::ShowMetricsWindow(bool* p_open) TreePop(); } - if (TreeNode("Inferred order (front-to-back)")) + BulletText("MouseViewport: 0x%08X (UserHovered 0x%08X, LastHovered 0x%08X)", g.MouseViewport ? g.MouseViewport->ID : 0, g.IO.MouseHoveredViewport, g.MouseLastHoveredViewport ? g.MouseLastHoveredViewport->ID : 0); + if (TreeNode("Inferred Z order (front-to-back)")) { static ImVector viewports; viewports.resize(g.Viewports.Size); @@ -17234,8 +18747,12 @@ void ImGui::ShowMetricsWindow(bool* p_open) { for (int i = 0; i < g.OpenPopupStack.Size; i++) { - ImGuiWindow* window = g.OpenPopupStack[i].Window; - BulletText("PopupID: %08x, Window: '%s'%s%s", g.OpenPopupStack[i].PopupId, window ? window->Name : "NULL", window && (window->Flags & ImGuiWindowFlags_ChildWindow) ? " ChildWindow" : "", window && (window->Flags & ImGuiWindowFlags_ChildMenu) ? " ChildMenu" : ""); + // As it's difficult to interact with tree nodes while popups are open, we display everything inline. + const ImGuiPopupData* popup_data = &g.OpenPopupStack[i]; + ImGuiWindow* window = popup_data->Window; + BulletText("PopupID: %08x, Window: '%s' (%s%s), BackupNavWindow '%s', ParentWindow '%s'", + popup_data->PopupId, window ? window->Name : "NULL", window && (window->Flags & ImGuiWindowFlags_ChildWindow) ? "Child;" : "", window && (window->Flags & ImGuiWindowFlags_ChildMenu) ? "Menu;" : "", + popup_data->BackupNavWindow ? popup_data->BackupNavWindow->Name : "NULL", window && window->ParentWindow ? window->ParentWindow->Name : "NULL"); } TreePop(); } @@ -17263,14 +18780,19 @@ void ImGui::ShowMetricsWindow(bool* p_open) } // Details for Fonts -#ifndef IMGUI_DISABLE_DEMO_WINDOWS ImFontAtlas* atlas = g.IO.Fonts; if (TreeNode("Fonts", "Fonts (%d)", atlas->Fonts.Size)) { ShowFontAtlas(atlas); TreePop(); } -#endif + + // Details for InputText + if (TreeNode("InputText")) + { + DebugNodeInputTextState(&g.InputTextState); + TreePop(); + } // Details for Docking #ifdef IMGUI_HAS_DOCK @@ -17362,35 +18884,74 @@ void ImGui::ShowMetricsWindow(bool* p_open) TreePop(); } - // Misc Details + if (TreeNode("Key Owners & Shortcut Routing")) + { + TextUnformatted("Key Owners:"); + if (BeginListBox("##owners", ImVec2(-FLT_MIN, GetTextLineHeightWithSpacing() * 8))) + { + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + if (owner_data->OwnerCurr == ImGuiKeyOwner_None) + continue; + Text("%s: 0x%08X%s", GetKeyName(key), owner_data->OwnerCurr, + owner_data->LockUntilRelease ? " LockUntilRelease" : owner_data->LockThisFrame ? " LockThisFrame" : ""); + DebugLocateItemOnHover(owner_data->OwnerCurr); + } + EndListBox(); + } + TextUnformatted("Shortcut Routing:"); + if (BeginListBox("##routes", ImVec2(-FLT_MIN, GetTextLineHeightWithSpacing() * 8))) + { + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyRoutingTable* rt = &g.KeysRoutingTable; + for (ImGuiKeyRoutingIndex idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; idx != -1; ) + { + char key_chord_name[64]; + ImGuiKeyRoutingData* routing_data = &rt->Entries[idx]; + GetKeyChordName(key | routing_data->Mods, key_chord_name, IM_ARRAYSIZE(key_chord_name)); + Text("%s: 0x%08X", key_chord_name, routing_data->RoutingCurr); + DebugLocateItemOnHover(routing_data->RoutingCurr); + idx = routing_data->NextEntryIndex; + } + } + EndListBox(); + } + Text("(ActiveIdUsing: AllKeyboardKeys: %d, NavDirMask: 0x%X)", g.ActiveIdUsingAllKeyboardKeys, g.ActiveIdUsingNavDirMask); + TreePop(); + } + if (TreeNode("Internal state")) { - const char* input_source_names[] = { "None", "Mouse", "Keyboard", "Gamepad", "Nav", "Clipboard" }; IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT); - Text("WINDOWING"); Indent(); Text("HoveredWindow: '%s'", g.HoveredWindow ? g.HoveredWindow->Name : "NULL"); Text("HoveredWindow->Root: '%s'", g.HoveredWindow ? g.HoveredWindow->RootWindowDockTree->Name : "NULL"); Text("HoveredWindowUnderMovingWindow: '%s'", g.HoveredWindowUnderMovingWindow ? g.HoveredWindowUnderMovingWindow->Name : "NULL"); - Text("HoveredDockNode: 0x%08X", g.HoveredDockNode ? g.HoveredDockNode->ID : 0); + Text("HoveredDockNode: 0x%08X", g.DebugHoveredDockNode ? g.DebugHoveredDockNode->ID : 0); Text("MovingWindow: '%s'", g.MovingWindow ? g.MovingWindow->Name : "NULL"); Text("MouseViewport: 0x%08X (UserHovered 0x%08X, LastHovered 0x%08X)", g.MouseViewport->ID, g.IO.MouseHoveredViewport, g.MouseLastHoveredViewport ? g.MouseLastHoveredViewport->ID : 0); Unindent(); Text("ITEMS"); Indent(); - Text("ActiveId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d, Source: %s", g.ActiveId, g.ActiveIdPreviousFrame, g.ActiveIdTimer, g.ActiveIdAllowOverlap, input_source_names[g.ActiveIdSource]); + Text("ActiveId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d, Source: %s", g.ActiveId, g.ActiveIdPreviousFrame, g.ActiveIdTimer, g.ActiveIdAllowOverlap, GetInputSourceName(g.ActiveIdSource)); + DebugLocateItemOnHover(g.ActiveId); Text("ActiveIdWindow: '%s'", g.ActiveIdWindow ? g.ActiveIdWindow->Name : "NULL"); - Text("ActiveIdUsing: Wheel: %d, NavDirMask: %X, NavInputMask: %X, KeyInputMask: %llX", g.ActiveIdUsingMouseWheel, g.ActiveIdUsingNavDirMask, g.ActiveIdUsingNavInputMask, g.ActiveIdUsingKeyInputMask); + Text("ActiveIdUsing: AllKeyboardKeys: %d, NavDirMask: %X", g.ActiveIdUsingAllKeyboardKeys, g.ActiveIdUsingNavDirMask); Text("HoveredId: 0x%08X (%.2f sec), AllowOverlap: %d", g.HoveredIdPreviousFrame, g.HoveredIdTimer, g.HoveredIdAllowOverlap); // Not displaying g.HoveredId as it is update mid-frame + Text("HoverDelayId: 0x%08X, Timer: %.2f, ClearTimer: %.2f", g.HoverDelayId, g.HoverDelayTimer, g.HoverDelayClearTimer); Text("DragDrop: %d, SourceId = 0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayload.DataType, g.DragDropPayload.DataSize); + DebugLocateItemOnHover(g.DragDropPayload.SourceId); Unindent(); Text("NAV,FOCUS"); Indent(); Text("NavWindow: '%s'", g.NavWindow ? g.NavWindow->Name : "NULL"); Text("NavId: 0x%08X, NavLayer: %d", g.NavId, g.NavLayer); - Text("NavInputSource: %s", input_source_names[g.NavInputSource]); + DebugLocateItemOnHover(g.NavId); + Text("NavInputSource: %s", GetInputSourceName(g.NavInputSource)); Text("NavActive: %d, NavVisible: %d", g.IO.NavActive, g.IO.NavVisible); Text("NavActivateId/DownId/PressedId/InputId: %08X/%08X/%08X/%08X", g.NavActivateId, g.NavActivateDownId, g.NavActivatePressedId, g.NavActivateInputId); Text("NavActivateFlags: %04X", g.NavActivateFlags); @@ -17456,11 +19017,11 @@ void ImGui::ShowMetricsWindow(bool* p_open) #ifdef IMGUI_HAS_DOCK // Overlay: Display Docking info - if (cfg->ShowDockingNodes && g.IO.KeyCtrl && g.HoveredDockNode) + if (cfg->ShowDockingNodes && g.IO.KeyCtrl && g.DebugHoveredDockNode) { char buf[64] = ""; char* p = buf; - ImGuiDockNode* node = g.HoveredDockNode; + ImGuiDockNode* node = g.DebugHoveredDockNode; ImDrawList* overlay_draw_list = node->HostWindow ? GetForegroundDrawList(node->HostWindow) : GetForegroundDrawList(GetMainViewport()); p += ImFormatString(p, buf + IM_ARRAYSIZE(buf) - p, "DockId: %X%s\n", node->ID, node->IsCentralNode() ? " *CentralNode*" : ""); p += ImFormatString(p, buf + IM_ARRAYSIZE(buf) - p, "WindowClass: %08X\n", node->WindowClass.ClassId); @@ -17477,25 +19038,6 @@ void ImGui::ShowMetricsWindow(bool* p_open) End(); } -// [DEBUG] List fonts in a font atlas and display its texture -void ImGui::ShowFontAtlas(ImFontAtlas* atlas) -{ - for (int i = 0; i < atlas->Fonts.Size; i++) - { - ImFont* font = atlas->Fonts[i]; - PushID(font); - DebugNodeFont(font); - PopID(); - } - if (TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight)) - { - ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); - ImVec4 border_col = ImVec4(1.0f, 1.0f, 1.0f, 0.5f); - Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), tint_col, border_col); - TreePop(); - } -} - // [DEBUG] Display contents of Columns void ImGui::DebugNodeColumns(ImGuiOldColumns* columns) { @@ -17543,10 +19085,11 @@ void ImGui::DebugNodeDockNode(ImGuiDockNode* node, const char* label) const bool is_active = (g.FrameCount - node->LastFrameActive < 2); // Submitted if (!is_alive) { PushStyleColor(ImGuiCol_Text, GetStyleColorVec4(ImGuiCol_TextDisabled)); } bool open; + ImGuiTreeNodeFlags tree_node_flags = node->IsFocused ? ImGuiTreeNodeFlags_Selected : ImGuiTreeNodeFlags_None; if (node->Windows.Size > 0) - open = TreeNode((void*)(intptr_t)node->ID, "%s 0x%04X%s: %d windows (vis: '%s')", label, node->ID, node->IsVisible ? "" : " (hidden)", node->Windows.Size, node->VisibleWindow ? node->VisibleWindow->Name : "NULL"); + open = TreeNodeEx((void*)(intptr_t)node->ID, tree_node_flags, "%s 0x%04X%s: %d windows (vis: '%s')", label, node->ID, node->IsVisible ? "" : " (hidden)", node->Windows.Size, node->VisibleWindow ? node->VisibleWindow->Name : "NULL"); else - open = TreeNode((void*)(intptr_t)node->ID, "%s 0x%04X%s: %s split (vis: '%s')", label, node->ID, node->IsVisible ? "" : " (hidden)", (node->SplitAxis == ImGuiAxis_X) ? "horizontal" : (node->SplitAxis == ImGuiAxis_Y) ? "vertical" : "n/a", node->VisibleWindow ? node->VisibleWindow->Name : "NULL"); + open = TreeNodeEx((void*)(intptr_t)node->ID, tree_node_flags, "%s 0x%04X%s: %s (vis: '%s')", label, node->ID, node->IsVisible ? "" : " (hidden)", (node->SplitAxis == ImGuiAxis_X) ? "horizontal split" : (node->SplitAxis == ImGuiAxis_Y) ? "vertical split" : "empty", node->VisibleWindow ? node->VisibleWindow->Name : "NULL"); if (!is_alive) { PopStyleColor(); } if (is_active && IsItemHovered()) if (ImGuiWindow* window = node->HostWindow ? node->HostWindow : node->VisibleWindow) @@ -17560,10 +19103,10 @@ void ImGui::DebugNodeDockNode(ImGuiDockNode* node, const char* label) DebugNodeWindow(node->HostWindow, "HostWindow"); DebugNodeWindow(node->VisibleWindow, "VisibleWindow"); BulletText("SelectedTabID: 0x%08X, LastFocusedNodeID: 0x%08X", node->SelectedTabId, node->LastFocusedNodeId); - BulletText("Misc:%s%s%s%s%s%s", + BulletText("Misc:%s%s%s%s%s%s%s", node->IsDockSpace() ? " IsDockSpace" : "", node->IsCentralNode() ? " IsCentralNode" : "", - is_alive ? " IsAlive" : "", is_active ? " IsActive" : "", + is_alive ? " IsAlive" : "", is_active ? " IsActive" : "", node->IsFocused ? " IsFocused" : "", node->WantLockSizeOnce ? " WantLockSizeOnce" : "", node->HasCentralNodeChild ? " HasCentralNodeChild" : ""); if (TreeNode("flags", "Flags Merged: 0x%04X, Local: 0x%04X, InWindows: 0x%04X, Shared: 0x%04X", node->MergedFlags, node->LocalFlags, node->LocalFlagsInWindows, node->SharedFlags)) @@ -17586,6 +19129,8 @@ void ImGui::DebugNodeDockNode(ImGuiDockNode* node, const char* label) DebugNodeDockNode(node->ChildNodes[1], "Child[1]"); if (node->TabBar) DebugNodeTabBar(node->TabBar, "TabBar"); + DebugNodeWindowsList(&node->Windows, "Windows"); + TreePop(); } } @@ -17789,17 +19334,13 @@ void ImGui::DebugNodeFont(ImFont* font) ImVec2 cell_p2(cell_p1.x + cell_size, cell_p1.y + cell_size); const ImFontGlyph* glyph = font->FindGlyphNoFallback((ImWchar)(base + n)); draw_list->AddRect(cell_p1, cell_p2, glyph ? IM_COL32(255, 255, 255, 100) : IM_COL32(255, 255, 255, 50)); - if (glyph) - font->RenderChar(draw_list, cell_size, cell_p1, glyph_col, (ImWchar)(base + n)); - if (glyph && IsMouseHoveringRect(cell_p1, cell_p2)) + if (!glyph) + continue; + font->RenderChar(draw_list, cell_size, cell_p1, glyph_col, (ImWchar)(base + n)); + if (IsMouseHoveringRect(cell_p1, cell_p2)) { BeginTooltip(); - Text("Codepoint: U+%04X", base + n); - Separator(); - Text("Visible: %d", glyph->Visible); - Text("AdvanceX: %.1f", glyph->AdvanceX); - Text("Pos: (%.2f,%.2f)->(%.2f,%.2f)", glyph->X0, glyph->Y0, glyph->X1, glyph->Y1); - Text("UV: (%.3f,%.3f)->(%.3f,%.3f)", glyph->U0, glyph->V0, glyph->U1, glyph->V1); + DebugNodeFontGlyph(font, glyph); EndTooltip(); } } @@ -17811,6 +19352,16 @@ void ImGui::DebugNodeFont(ImFont* font) TreePop(); } +void ImGui::DebugNodeFontGlyph(ImFont*, const ImFontGlyph* glyph) +{ + Text("Codepoint: U+%04X", glyph->Codepoint); + Separator(); + Text("Visible: %d", glyph->Visible); + Text("AdvanceX: %.1f", glyph->AdvanceX); + Text("Pos: (%.2f,%.2f)->(%.2f,%.2f)", glyph->X0, glyph->Y0, glyph->X1, glyph->Y1); + Text("UV: (%.3f,%.3f)->(%.3f,%.3f)", glyph->U0, glyph->V0, glyph->U1, glyph->V1); +} + // [DEBUG] Display contents of ImGuiStorage void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label) { @@ -17859,7 +19410,7 @@ void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label) PushID(tab); if (SmallButton("<")) { TabBarQueueReorder(tab_bar, tab, -1); } SameLine(0, 2); if (SmallButton(">")) { TabBarQueueReorder(tab_bar, tab, +1); } SameLine(); - Text("%02d%c Tab 0x%08X '%s' Offset: %.1f, Width: %.1f/%.1f", + Text("%02d%c Tab 0x%08X '%s' Offset: %.2f, Width: %.2f/%.2f", tab_n, (tab->ID == tab_bar->SelectedTabId) ? '*' : ' ', tab->ID, (tab->Window || tab->NameOffset != -1) ? tab_bar->GetTabName(tab) : "???", tab->Offset, tab->Width, tab->ContentWidth); PopID(); } @@ -17936,13 +19487,10 @@ void ImGui::DebugNodeWindow(ImGuiWindow* window, const char* label) { ImRect r = window->NavRectRel[layer]; if (r.Min.x >= r.Max.y && r.Min.y >= r.Max.y) - { BulletText("NavLastIds[%d]: 0x%08X", layer, window->NavLastIds[layer]); - continue; - } - BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y); - if (IsItemHovered()) - GetForegroundDrawList(window)->AddRect(r.Min + window->Pos, r.Max + window->Pos, IM_COL32(255, 255, 0, 255)); + else + BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y); + DebugLocateItemOnHover(window->NavLastIds[layer]); } BulletText("NavLayersActiveMask: %X, NavLastChildNavWindow: %s", window->DC.NavLayersActiveMask, window->NavLastChildNavWindow ? window->NavLastChildNavWindow->Name : "NULL"); @@ -18003,10 +19551,128 @@ void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int wi } } +//----------------------------------------------------------------------------- +// [SECTION] DEBUG LOG WINDOW +//----------------------------------------------------------------------------- + +void ImGui::DebugLog(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + DebugLogV(fmt, args); + va_end(args); +} + +void ImGui::DebugLogV(const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + const int old_size = g.DebugLogBuf.size(); + g.DebugLogBuf.appendf("[%05d] ", g.FrameCount); + g.DebugLogBuf.appendfv(fmt, args); + if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTTY) + IMGUI_DEBUG_PRINTF("%s", g.DebugLogBuf.begin() + old_size); + g.DebugLogIndex.append(g.DebugLogBuf.c_str(), old_size, g.DebugLogBuf.size()); +} + +void ImGui::ShowDebugLogWindow(bool* p_open) +{ + ImGuiContext& g = *GImGui; + if (!(g.NextWindowData.Flags & ImGuiNextWindowDataFlags_HasSize)) + SetNextWindowSize(ImVec2(0.0f, GetFontSize() * 12.0f), ImGuiCond_FirstUseEver); + if (!Begin("Dear ImGui Debug Log", p_open) || GetCurrentWindow()->BeginCount > 1) + { + End(); + return; + } + + AlignTextToFramePadding(); + Text("Log events:"); + SameLine(); CheckboxFlags("All", &g.DebugLogFlags, ImGuiDebugLogFlags_EventMask_); + SameLine(); CheckboxFlags("ActiveId", &g.DebugLogFlags, ImGuiDebugLogFlags_EventActiveId); + SameLine(); CheckboxFlags("Focus", &g.DebugLogFlags, ImGuiDebugLogFlags_EventFocus); + SameLine(); CheckboxFlags("Popup", &g.DebugLogFlags, ImGuiDebugLogFlags_EventPopup); + SameLine(); CheckboxFlags("Nav", &g.DebugLogFlags, ImGuiDebugLogFlags_EventNav); + SameLine(); CheckboxFlags("Clipper", &g.DebugLogFlags, ImGuiDebugLogFlags_EventClipper); + SameLine(); CheckboxFlags("IO", &g.DebugLogFlags, ImGuiDebugLogFlags_EventIO); + SameLine(); CheckboxFlags("Docking", &g.DebugLogFlags, ImGuiDebugLogFlags_EventDocking); + SameLine(); CheckboxFlags("Viewport", &g.DebugLogFlags, ImGuiDebugLogFlags_EventViewport); + + if (SmallButton("Clear")) + { + g.DebugLogBuf.clear(); + g.DebugLogIndex.clear(); + } + SameLine(); + if (SmallButton("Copy")) + SetClipboardText(g.DebugLogBuf.c_str()); + BeginChild("##log", ImVec2(0.0f, 0.0f), true, ImGuiWindowFlags_AlwaysVerticalScrollbar | ImGuiWindowFlags_AlwaysHorizontalScrollbar); + + ImGuiListClipper clipper; + clipper.Begin(g.DebugLogIndex.size()); + while (clipper.Step()) + for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + { + const char* line_begin = g.DebugLogIndex.get_line_begin(g.DebugLogBuf.c_str(), line_no); + const char* line_end = g.DebugLogIndex.get_line_end(g.DebugLogBuf.c_str(), line_no); + TextUnformatted(line_begin, line_end); + ImRect text_rect = g.LastItemData.Rect; + if (IsItemHovered()) + for (const char* p = line_begin; p < line_end - 10; p++) + { + ImGuiID id = 0; + if (p[0] != '0' || (p[1] != 'x' && p[1] != 'X') || sscanf(p + 2, "%X", &id) != 1) + continue; + ImVec2 p0 = CalcTextSize(line_begin, p); + ImVec2 p1 = CalcTextSize(p, p + 10); + g.LastItemData.Rect = ImRect(text_rect.Min + ImVec2(p0.x, 0.0f), text_rect.Min + ImVec2(p0.x + p1.x, p1.y)); + if (IsMouseHoveringRect(g.LastItemData.Rect.Min, g.LastItemData.Rect.Max, true)) + DebugLocateItemOnHover(id); + p += 10; + } + } + if (GetScrollY() >= GetScrollMaxY()) + SetScrollHereY(1.0f); + EndChild(); + + End(); +} + //----------------------------------------------------------------------------- // [SECTION] OTHER DEBUG TOOLS (ITEM PICKER, STACK TOOL) //----------------------------------------------------------------------------- +static const ImU32 DEBUG_LOCATE_ITEM_COLOR = IM_COL32(0, 255, 0, 255); // Green + +void ImGui::DebugLocateItem(ImGuiID target_id) +{ + ImGuiContext& g = *GImGui; + g.DebugLocateId = target_id; + g.DebugLocateFrames = 2; +} + +void ImGui::DebugLocateItemOnHover(ImGuiID target_id) +{ + if (target_id == 0 || !IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + return; + ImGuiContext& g = *GImGui; + DebugLocateItem(target_id); + GetForegroundDrawList(g.CurrentWindow)->AddRect(g.LastItemData.Rect.Min - ImVec2(3.0f, 3.0f), g.LastItemData.Rect.Max + ImVec2(3.0f, 3.0f), DEBUG_LOCATE_ITEM_COLOR); +} + +void ImGui::DebugLocateItemResolveWithLastItem() +{ + ImGuiContext& g = *GImGui; + ImGuiLastItemData item_data = g.LastItemData; + g.DebugLocateId = 0; + ImDrawList* draw_list = GetForegroundDrawList(g.CurrentWindow); + ImRect r = item_data.Rect; + r.Expand(3.0f); + ImVec2 p1 = g.IO.MousePos; + ImVec2 p2 = ImVec2((p1.x < r.Min.x) ? r.Min.x : (p1.x > r.Max.x) ? r.Max.x : p1.x, (p1.y < r.Min.y) ? r.Min.y : (p1.y > r.Max.y) ? r.Max.y : p1.y); + draw_list->AddRect(r.Min, r.Max, DEBUG_LOCATE_ITEM_COLOR); + draw_list->AddLine(p1, p2, DEBUG_LOCATE_ITEM_COLOR); +} + // [DEBUG] Item picker tool - start with DebugStartItemPicker() - useful to visually select an item and break into its call-stack. void ImGui::UpdateDebugToolItemPicker() { @@ -18017,18 +19683,26 @@ void ImGui::UpdateDebugToolItemPicker() const ImGuiID hovered_id = g.HoveredIdPreviousFrame; SetMouseCursor(ImGuiMouseCursor_Hand); - if (IsKeyPressedMap(ImGuiKey_Escape)) + if (IsKeyPressed(ImGuiKey_Escape)) g.DebugItemPickerActive = false; - if (IsMouseClicked(0) && hovered_id) + const bool change_mapping = g.IO.KeyMods == (ImGuiMod_Ctrl | ImGuiMod_Shift); + if (!change_mapping && IsMouseClicked(g.DebugItemPickerMouseButton) && hovered_id) { g.DebugItemPickerBreakId = hovered_id; g.DebugItemPickerActive = false; } - SetNextWindowBgAlpha(0.60f); + for (int mouse_button = 0; mouse_button < 3; mouse_button++) + if (change_mapping && IsMouseClicked(mouse_button)) + g.DebugItemPickerMouseButton = (ImU8)mouse_button; + SetNextWindowBgAlpha(0.70f); BeginTooltip(); Text("HoveredId: 0x%08X", hovered_id); Text("Press ESC to abort picking."); - TextColored(GetStyleColorVec4(hovered_id ? ImGuiCol_Text : ImGuiCol_TextDisabled), "Click to break in debugger!"); + const char* mouse_button_names[] = { "Left", "Right", "Middle" }; + if (change_mapping) + Text("Remap w/ Ctrl+Shift: click anywhere to select new mouse button."); + else + TextColored(GetStyleColorVec4(hovered_id ? ImGuiCol_Text : ImGuiCol_TextDisabled), "Click %s Button to break in debugger! (remap w/ Ctrl+Shift)", mouse_button_names[g.DebugItemPickerMouseButton]); EndTooltip(); } @@ -18080,7 +19754,7 @@ void ImGui::DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* dat ImGuiStackTool* tool = &g.DebugStackTool; // Step 0: stack query - // This assume that the ID was computed with the current ID stack, which tends to be the case for our widget. + // This assumes that the ID was computed with the current ID stack, which tends to be the case for our widget. if (tool->StackLevel == -1) { tool->StackLevel++; @@ -18097,27 +19771,44 @@ void ImGui::DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* dat ImGuiStackLevelInfo* info = &tool->Results[tool->StackLevel]; IM_ASSERT(info->ID == id && info->QueryFrameCount > 0); - int data_len; switch (data_type) { case ImGuiDataType_S32: ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "%d", (int)(intptr_t)data_id); break; case ImGuiDataType_String: - data_len = data_id_end ? (int)((const char*)data_id_end - (const char*)data_id) : (int)strlen((const char*)data_id); - ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "\"%.*s\"", data_len, (const char*)data_id); + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "%.*s", data_id_end ? (int)((const char*)data_id_end - (const char*)data_id) : (int)strlen((const char*)data_id), (const char*)data_id); break; case ImGuiDataType_Pointer: ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "(void*)0x%p", data_id); break; case ImGuiDataType_ID: - if (info->Desc[0] == 0) // PushOverrideID() is often used to avoid hashing twice, which would lead to 2 calls to DebugHookIdInfo(). We prioritize the first one. - ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "0x%08X [override]", id); + if (info->Desc[0] != 0) // PushOverrideID() is often used to avoid hashing twice, which would lead to 2 calls to DebugHookIdInfo(). We prioritize the first one. + return; + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "0x%08X [override]", id); break; default: IM_ASSERT(0); } info->QuerySuccess = true; + info->DataType = data_type; +} + +static int StackToolFormatLevelInfo(ImGuiStackTool* tool, int n, bool format_for_ui, char* buf, size_t buf_size) +{ + ImGuiStackLevelInfo* info = &tool->Results[n]; + ImGuiWindow* window = (info->Desc[0] == 0 && n == 0) ? ImGui::FindWindowByID(info->ID) : NULL; + if (window) // Source: window name (because the root ID don't call GetID() and so doesn't get hooked) + return ImFormatString(buf, buf_size, format_for_ui ? "\"%s\" [window]" : "%s", window->Name); + if (info->QuerySuccess) // Source: GetID() hooks (prioritize over ItemInfo() because we frequently use patterns like: PushID(str), Button("") where they both have same id) + return ImFormatString(buf, buf_size, (format_for_ui && info->DataType == ImGuiDataType_String) ? "\"%s\"" : "%s", info->Desc); + if (tool->StackLevel < tool->Results.Size) // Only start using fallback below when all queries are done, so during queries we don't flickering ??? markers. + return (*buf = 0); +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (const char* label = ImGuiTestEngine_FindItemDebugLabel(GImGui, info->ID)) // Source: ImGuiTestEngine's ItemInfo() + return ImFormatString(buf, buf_size, format_for_ui ? "??? \"%s\"" : "%s", label); +#endif + return ImFormatString(buf, buf_size, "???"); } // Stack Tool: Display UI @@ -18133,6 +19824,7 @@ void ImGui::ShowStackToolWindow(bool* p_open) } // Display hovered/active status + ImGuiStackTool* tool = &g.DebugStackTool; const ImGuiID hovered_id = g.HoveredIdPreviousFrame; const ImGuiID active_id = g.ActiveId; #ifdef IMGUI_ENABLE_TEST_ENGINE @@ -18143,8 +19835,33 @@ void ImGui::ShowStackToolWindow(bool* p_open) SameLine(); MetricsHelpMarker("Hover an item with the mouse to display elements of the ID Stack leading to the item's final ID.\nEach level of the stack correspond to a PushID() call.\nAll levels of the stack are hashed together to make the final ID of a widget (ID displayed at the bottom level of the stack).\nRead FAQ entry about the ID stack for details."); + // CTRL+C to copy path + const float time_since_copy = (float)g.Time - tool->CopyToClipboardLastTime; + Checkbox("Ctrl+C: copy path to clipboard", &tool->CopyToClipboardOnCtrlC); + SameLine(); + TextColored((time_since_copy >= 0.0f && time_since_copy < 0.75f && ImFmod(time_since_copy, 0.25f) < 0.25f * 0.5f) ? ImVec4(1.f, 1.f, 0.3f, 1.f) : ImVec4(), "*COPIED*"); + if (tool->CopyToClipboardOnCtrlC && IsKeyDown(ImGuiMod_Ctrl) && IsKeyPressed(ImGuiKey_C)) + { + tool->CopyToClipboardLastTime = (float)g.Time; + char* p = g.TempBuffer.Data; + char* p_end = p + g.TempBuffer.Size; + for (int stack_n = 0; stack_n < tool->Results.Size && p + 3 < p_end; stack_n++) + { + *p++ = '/'; + char level_desc[256]; + StackToolFormatLevelInfo(tool, stack_n, false, level_desc, IM_ARRAYSIZE(level_desc)); + for (int n = 0; level_desc[n] && p + 2 < p_end; n++) + { + if (level_desc[n] == '/') + *p++ = '\\'; + *p++ = level_desc[n]; + } + } + *p = '\0'; + SetClipboardText(g.TempBuffer.Data); + } + // Display decorated stack - ImGuiStackTool* tool = &g.DebugStackTool; tool->LastActiveFrame = g.FrameCount; if (tool->Results.Size > 0 && BeginTable("##table", 3, ImGuiTableFlags_Borders)) { @@ -18158,23 +19875,9 @@ void ImGui::ShowStackToolWindow(bool* p_open) ImGuiStackLevelInfo* info = &tool->Results[n]; TableNextColumn(); Text("0x%08X", (n > 0) ? tool->Results[n - 1].ID : 0); - TableNextColumn(); - ImGuiWindow* window = (info->Desc[0] == 0 && n == 0) ? FindWindowByID(info->ID) : NULL; - if (window) // Source: window name (because the root ID don't call GetID() and so doesn't get hooked) - Text("\"%s\" [window]", window->Name); - else if (info->QuerySuccess) // Source: GetID() hooks (prioritize over ItemInfo() because we frequently use patterns like: PushID(str), Button("") where they both have same id) - TextUnformatted(info->Desc); - else if (tool->StackLevel >= tool->Results.Size) // Only start using fallback below when all queries are done, so during queries we don't flickering ??? markers. - { -#ifdef IMGUI_ENABLE_TEST_ENGINE - if (const char* label = ImGuiTestEngine_FindItemDebugLabel(&g, info->ID)) // Source: ImGuiTestEngine's ItemInfo() - Text("??? \"%s\"", label); - else -#endif - TextUnformatted("???"); - } - + StackToolFormatLevelInfo(tool, n, true, g.TempBuffer.Data, g.TempBuffer.Size); + TextUnformatted(g.TempBuffer.Data); TableNextColumn(); Text("0x%08X", info->ID); if (n == tool->Results.Size - 1) @@ -18200,12 +19903,15 @@ void ImGui::DebugNodeWindowSettings(ImGuiWindowSettings*) {} void ImGui::DebugNodeWindowsList(ImVector*, const char*) {} void ImGui::DebugNodeViewport(ImGuiViewportP*) {} +void ImGui::DebugLog(const char*, ...) {} +void ImGui::DebugLogV(const char*, va_list) {} +void ImGui::ShowDebugLogWindow(bool*) {} void ImGui::ShowStackToolWindow(bool*) {} void ImGui::DebugHookIdInfo(ImGuiID, ImGuiDataType, const void*, const void*) {} void ImGui::UpdateDebugToolItemPicker() {} void ImGui::UpdateDebugToolStackQueries() {} -#endif // #ifndef IMGUI_DISABLE_METRICS_WINDOW +#endif // #ifndef IMGUI_DISABLE_DEBUG_TOOLS //----------------------------------------------------------------------------- diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui.h b/imgui-sys/third-party/imgui-docking/imgui/imgui.h index ceb3b08..1004ac0 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui.h +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui.h @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (headers) // Help: @@ -11,7 +11,7 @@ // - FAQ http://dearimgui.org/faq // - Homepage & latest https://github.com/ocornut/imgui // - Releases & changelog https://github.com/ocornut/imgui/releases -// - Gallery https://github.com/ocornut/imgui/issues/4451 (please post your screenshots/video there!) +// - Gallery https://github.com/ocornut/imgui/issues/5243 (please post your screenshots/video there!) // - Wiki https://github.com/ocornut/imgui/wiki (lots of good stuff there) // - Glossary https://github.com/ocornut/imgui/wiki/Glossary // - Issues & support https://github.com/ocornut/imgui/issues @@ -20,6 +20,14 @@ // - For first-time users having issues compiling/linking/running or issues loading fonts: // please post in https://github.com/ocornut/imgui/discussions if you cannot find a solution in resources above. +// Library Version +// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345') +#define IMGUI_VERSION "1.89.1" +#define IMGUI_VERSION_NUM 18910 +#define IMGUI_HAS_TABLE +#define IMGUI_HAS_VIEWPORT // Viewport WIP branch +#define IMGUI_HAS_DOCK // Docking WIP branch + /* Index of this file: @@ -35,20 +43,19 @@ Index of this file: // [SECTION] Drawing API (ImDrawCallback, ImDrawCmd, ImDrawIdx, ImDrawVert, ImDrawChannel, ImDrawListSplitter, ImDrawFlags, ImDrawListFlags, ImDrawList, ImDrawData) // [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontGlyphRangesBuilder, ImFontAtlasFlags, ImFontAtlas, ImFont) // [SECTION] Viewports (ImGuiViewportFlags, ImGuiViewport) -// [SECTION] Platform interface for multi-viewport support (ImGuiPlatformIO, ImGuiPlatformMonitor) +// [SECTION] Platform Dependent Interfaces (ImGuiPlatformIO, ImGuiPlatformMonitor, ImGuiPlatformImeData) // [SECTION] Obsolete functions and types */ #pragma once -// Configuration file with compile-time options (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system') +// Configuration file with compile-time options +// (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system') #ifdef IMGUI_USER_CONFIG #include IMGUI_USER_CONFIG #endif -#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H) #include "imconfig.h" -#endif #ifndef IMGUI_DISABLE @@ -62,15 +69,6 @@ Index of this file: #include // ptrdiff_t, NULL #include // memset, memmove, memcpy, strlen, strchr, strcpy, strcmp -// Version -// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens) -#define IMGUI_VERSION "1.86" -#define IMGUI_VERSION_NUM 18600 -#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) -#define IMGUI_HAS_TABLE -#define IMGUI_HAS_VIEWPORT // Viewport WIP branch -#define IMGUI_HAS_DOCK // Docking WIP branch - // Define attributes of all API symbols declarations (e.g. for DLL under Windows) // IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default backends files (imgui_impl_xxx.h) // Using dear imgui via a shared library is not recommended, because we don't guarantee backward nor forward ABI compatibility (also function call overhead, as dear imgui is a call-heavy API) @@ -88,11 +86,8 @@ Index of this file: #endif #define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR)))) // Size of a static C-style array. Don't use on pointers! #define IM_UNUSED(_VAR) ((void)(_VAR)) // Used to silence "unused variable warnings". Often useful as asserts may be stripped out from final builds. -#if (__cplusplus >= 201100) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201100) #define IM_OFFSETOF(_TYPE,_MEMBER) offsetof(_TYPE, _MEMBER) // Offset of _MEMBER within _TYPE. Standardized as offsetof() in C++11 -#else -#define IM_OFFSETOF(_TYPE,_MEMBER) ((size_t)&(((_TYPE*)0)->_MEMBER)) // Offset of _MEMBER within _TYPE. Old style macro. -#endif +#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) // Helper Macros - IM_FMTARGS, IM_FMTLIST: Apply printf-style warnings to our formatting functions. #if !defined(IMGUI_USE_STB_SPRINTF) && defined(__MINGW32__) && !defined(__clang__) @@ -107,7 +102,7 @@ Index of this file: #endif // Disable some of MSVC most aggressive Debug runtime checks in function header/footer (used in some simple/low-level functions) -#if defined(_MSC_VER) && !defined(__clang__) && !defined(IMGUI_DEBUG_PARANOID) +#if defined(_MSC_VER) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(IMGUI_DEBUG_PARANOID) #define IM_MSVC_RUNTIME_CHECKS_OFF __pragma(runtime_checks("",off)) __pragma(check_stack(off)) __pragma(strict_gs_check(push,off)) #define IM_MSVC_RUNTIME_CHECKS_RESTORE __pragma(runtime_checks("",restore)) __pragma(check_stack()) __pragma(strict_gs_check(pop)) #else @@ -154,11 +149,13 @@ struct ImColor; // Helper functions to create a color that c struct ImGuiContext; // Dear ImGui context (opaque structure, unless including imgui_internal.h) struct ImGuiIO; // Main configuration and I/O between your application and ImGui struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) +struct ImGuiKeyData; // Storage for ImGuiIO and IsKeyDown(), IsKeyPressed() etc functions. struct ImGuiListClipper; // Helper to manually clip large list of items struct ImGuiOnceUponAFrame; // Helper for running a block of code not more than once a frame struct ImGuiPayload; // User data payload for drag and drop operations struct ImGuiPlatformIO; // Multi-viewport support: interface for Platform/Renderer backends + viewports to render struct ImGuiPlatformMonitor; // Multi-viewport support: user-provided bounds for each connected monitor/display. Used when positioning popups and tooltips to avoid them straddling monitors +struct ImGuiPlatformImeData; // Platform IME data for io.SetPlatformImeDataFn() function. struct ImGuiSizeCallbackData; // Callback data when using SetNextWindowSizeConstraints() (rare/advanced use) struct ImGuiStorage; // Helper for key->value storage struct ImGuiStyle; // Runtime data for styling/colors @@ -169,21 +166,26 @@ struct ImGuiTextFilter; // Helper to parse and apply text filters (e struct ImGuiViewport; // A Platform Window (always 1 unless multi-viewport are enabled. One per platform window to output to). In the future may represent Platform Monitor struct ImGuiWindowClass; // Window class (rare/advanced uses: provide hints to the platform backend via altered viewport flags and parent/child info) -// Enums/Flags (declared as int for compatibility with old C++, to allow using as flags without overhead, and to not pollute the top of this file) +// Enumerations +// - We don't use strongly typed enums much because they add constraints (can't extend in private code, can't store typed in bit fields, extra casting on iteration) // - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! -// In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. +enum ImGuiKey : int; // -> enum ImGuiKey // Enum: A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value) typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling typedef int ImGuiCond; // -> enum ImGuiCond_ // Enum: A condition for many Set*() functions typedef int ImGuiDataType; // -> enum ImGuiDataType_ // Enum: A primary data type typedef int ImGuiDir; // -> enum ImGuiDir_ // Enum: A cardinal direction -typedef int ImGuiKey; // -> enum ImGuiKey_ // Enum: A key identifier (ImGui-side enum) -typedef int ImGuiNavInput; // -> enum ImGuiNavInput_ // Enum: An input identifier for navigation typedef int ImGuiMouseButton; // -> enum ImGuiMouseButton_ // Enum: A mouse button identifier (0=left, 1=right, 2=middle) -typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor identifier +typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor shape typedef int ImGuiSortDirection; // -> enum ImGuiSortDirection_ // Enum: A sorting direction (ascending or descending) typedef int ImGuiStyleVar; // -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling typedef int ImGuiTableBgTarget; // -> enum ImGuiTableBgTarget_ // Enum: A color target for TableSetBgColor() + +// Flags (declared as int for compatibility with old C++, to allow using as flags without overhead, and to not pollute the top of this file) +// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! +// In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. typedef int ImDrawFlags; // -> enum ImDrawFlags_ // Flags: for ImDrawList functions typedef int ImDrawListFlags; // -> enum ImDrawListFlags_ // Flags: for ImDrawList instance typedef int ImFontAtlasFlags; // -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas build @@ -197,7 +199,7 @@ typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: f typedef int ImGuiFocusedFlags; // -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused() typedef int ImGuiHoveredFlags; // -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc. typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText(), InputTextMultiline() -typedef int ImGuiKeyModFlags; // -> enum ImGuiKeyModFlags_ // Flags: for io.KeyMods (Ctrl/Shift/Alt/Super) +typedef int ImGuiKeyChord; // -> ImGuiKey | ImGuiMod_XXX // Flags: for storage only for now: an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values. typedef int ImGuiPopupFlags; // -> enum ImGuiPopupFlags_ // Flags: for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() typedef int ImGuiSelectableFlags; // -> enum ImGuiSelectableFlags_ // Flags: for Selectable() typedef int ImGuiSliderFlags; // -> enum ImGuiSliderFlags_ // Flags: for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. @@ -232,17 +234,8 @@ typedef signed short ImS16; // 16-bit signed integer typedef unsigned short ImU16; // 16-bit unsigned integer typedef signed int ImS32; // 32-bit signed integer == int typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) -#if defined(_MSC_VER) && !defined(__clang__) -typedef signed __int64 ImS64; // 64-bit signed integer (pre and post C++11 with Visual Studio) -typedef unsigned __int64 ImU64; // 64-bit unsigned integer (pre and post C++11 with Visual Studio) -#elif (defined(__clang__) || defined(__GNUC__)) && (__cplusplus < 201100) -#include -typedef int64_t ImS64; // 64-bit signed integer (pre C++11) -typedef uint64_t ImU64; // 64-bit unsigned integer (pre C++11) -#else -typedef signed long long ImS64; // 64-bit signed integer (post C++11) -typedef unsigned long long ImU64; // 64-bit unsigned integer (post C++11) -#endif +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer // Character types // (we generally use UTF-8 encoded string in the API. This is storage specifically for a decoded character used for keyboard input and display) @@ -266,8 +259,8 @@ IM_MSVC_RUNTIME_CHECKS_OFF struct ImVec2 { float x, y; - ImVec2() { x = y = 0.0f; } - ImVec2(float _x, float _y) { x = _x; y = _y; } + constexpr ImVec2() : x(0.0f), y(0.0f) { } + constexpr ImVec2(float _x, float _y) : x(_x), y(_y) { } float operator[] (size_t idx) const { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine. float& operator[] (size_t idx) { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine. #ifdef IM_VEC2_CLASS_EXTRA @@ -278,9 +271,9 @@ struct ImVec2 // ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type] struct ImVec4 { - float x, y, z, w; - ImVec4() { x = y = z = w = 0.0f; } - ImVec4(float _x, float _y, float _z, float _w) { x = _x; y = _y; z = _z; w = _w; } + float x, y, z, w; + constexpr ImVec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) { } + constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) { } #ifdef IM_VEC4_CLASS_EXTRA IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4. #endif @@ -314,12 +307,13 @@ namespace ImGui // Demo, Debug, Information IMGUI_API void ShowDemoWindow(bool* p_open = NULL); // create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! IMGUI_API void ShowMetricsWindow(bool* p_open = NULL); // create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. + IMGUI_API void ShowDebugLogWindow(bool* p_open = NULL); // create Debug Log window. display a simplified log of important dear imgui events. IMGUI_API void ShowStackToolWindow(bool* p_open = NULL); // create Stack Tool window. hover items with mouse to query information about the source of their unique ID. IMGUI_API void ShowAboutWindow(bool* p_open = NULL); // create About window. display Dear ImGui version, credits and build/system information. IMGUI_API void ShowStyleEditor(ImGuiStyle* ref = NULL); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) IMGUI_API bool ShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. IMGUI_API void ShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. - IMGUI_API void ShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). + IMGUI_API void ShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls). IMGUI_API const char* GetVersion(); // get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) // Styles @@ -376,6 +370,7 @@ namespace ImGui IMGUI_API void SetNextWindowContentSize(const ImVec2& size); // set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin() IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond = 0); // set next window collapsed state. call before Begin() IMGUI_API void SetNextWindowFocus(); // set next window to be focused / top-most. call before Begin() + IMGUI_API void SetNextWindowScroll(const ImVec2& scroll); // set next window scrolling value (use < 0.0f to not affect a given axis). IMGUI_API void SetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground. IMGUI_API void SetNextWindowViewport(ImGuiID viewport_id); // set next window viewport IMGUI_API void SetWindowPos(const ImVec2& pos, ImGuiCond cond = 0); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. @@ -394,9 +389,11 @@ namespace ImGui IMGUI_API ImVec2 GetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() IMGUI_API ImVec2 GetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates IMGUI_API ImVec2 GetWindowContentRegionMin(); // content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates - IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates + IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates // Windows Scrolling + // - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin(). + // - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY(). IMGUI_API float GetScrollX(); // get scrolling amount [0 .. GetScrollMaxX()] IMGUI_API float GetScrollY(); // get scrolling amount [0 .. GetScrollMaxY()] IMGUI_API void SetScrollX(float scroll_x); // set scrolling amount [0 .. GetScrollMaxX()] @@ -449,7 +446,7 @@ namespace ImGui // Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. IMGUI_API void Separator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f); // call between widgets or groups to layout them horizontally. X position given in window coordinates. - IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in an horizontal-layout context. + IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in a horizontal-layout context. IMGUI_API void Spacing(); // add vertical spacing. IMGUI_API void Dummy(const ImVec2& size); // add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. IMGUI_API void Indent(float indent_w = 0.0f); // move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0 @@ -513,8 +510,6 @@ namespace ImGui IMGUI_API bool SmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text IMGUI_API bool InvisibleButton(const char* str_id, const ImVec2& size, ImGuiButtonFlags flags = 0); // flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) IMGUI_API bool ArrowButton(const char* str_id, ImGuiDir dir); // square button with an arrow shape - IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1,1), const ImVec4& tint_col = ImVec4(1,1,1,1), const ImVec4& border_col = ImVec4(0,0,0,0)); - IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1,1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0,0,0,0), const ImVec4& tint_col = ImVec4(1,1,1,1)); // <0 frame_padding uses default frame padding settings. 0 for no padding IMGUI_API bool Checkbox(const char* label, bool* v); IMGUI_API bool CheckboxFlags(const char* label, int* flags, int flags_value); IMGUI_API bool CheckboxFlags(const char* label, unsigned int* flags, unsigned int flags_value); @@ -523,7 +518,12 @@ namespace ImGui IMGUI_API void ProgressBar(float fraction, const ImVec2& size_arg = ImVec2(-FLT_MIN, 0), const char* overlay = NULL); IMGUI_API void Bullet(); // draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses - // Widgets: Combo Box + // Widgets: Images + // - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples + IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& tint_col = ImVec4(1, 1, 1, 1), const ImVec4& border_col = ImVec4(0, 0, 0, 0)); + IMGUI_API bool ImageButton(const char* str_id, ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); + + // Widgets: Combo Box (Dropdown) // - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. // - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags = 0); @@ -534,14 +534,15 @@ namespace ImGui // Widgets: Drag Sliders // - CTRL+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp. - // - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every function, note that a 'float v[X]' function argument is the same as 'float* v', + // the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x // - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. // - Format string may also be set to NULL or use the default format ("%f" or "%d"). // - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). // - Use v_min < v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used. // - Use v_max = FLT_MAX / INT_MAX etc to avoid clamping to a maximum, same with v_min = -FLT_MAX / INT_MIN to avoid clamping to a minimum. // - We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them. - // - Legacy: Pre-1.78 there are DragXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. + // - Legacy: Pre-1.78 there are DragXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. // If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 IMGUI_API bool DragFloat(const char* label, float* v, float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); // If v_min >= v_max we have no bound IMGUI_API bool DragFloat2(const char* label, float v[2], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); @@ -560,7 +561,7 @@ namespace ImGui // - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp. // - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. // - Format string may also be set to NULL or use the default format ("%f" or "%d"). - // - Legacy: Pre-1.78 there are SliderXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. + // - Legacy: Pre-1.78 there are SliderXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. // If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 IMGUI_API bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. IMGUI_API bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); @@ -602,7 +603,7 @@ namespace ImGui IMGUI_API bool ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0); IMGUI_API bool ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags = 0); IMGUI_API bool ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags = 0, const float* ref_col = NULL); - IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0, 0)); // display a color square/button, hover for details, return true when pressed. + IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags = 0, const ImVec2& size = ImVec2(0, 0)); // display a color square/button, hover for details, return true when pressed. IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. // Widgets: Trees @@ -618,7 +619,7 @@ namespace ImGui IMGUI_API bool TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); IMGUI_API bool TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); IMGUI_API void TreePush(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. - IMGUI_API void TreePush(const void* ptr_id = NULL); // " + IMGUI_API void TreePush(const void* ptr_id); // " IMGUI_API void TreePop(); // ~ Unindent()+PopId() IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). @@ -688,7 +689,7 @@ namespace ImGui // Popups: begin/end functions // - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards. ImGuiWindowFlags are forwarded to the window. - // - BeginPopupModal(): block every interactions behind the window, cannot be closed by user, add a dimming background, has a title bar. + // - BeginPopupModal(): block every interaction behind the window, cannot be closed by user, add a dimming background, has a title bar. IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); // return true if the popup is open, and you can start outputting to it. IMGUI_API bool BeginPopupModal(const char* name, bool* p_open = NULL, ImGuiWindowFlags flags = 0); // return true if the modal is open, and you can start outputting to it. IMGUI_API void EndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! @@ -700,6 +701,7 @@ namespace ImGui // - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options). // - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup(). // - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened. + // - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter IMGUI_API void OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags = 0); // call to mark popup as open (don't call every frame!). IMGUI_API void OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags = 0); // id overload to facilitate calling from nested stacks IMGUI_API void OpenPopupOnItemClick(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) @@ -709,7 +711,7 @@ namespace ImGui // - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking. // - They are convenient to easily create context menus, hence the name. // - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future. - // - IMPORTANT: we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight. + // - IMPORTANT: Notice that we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight. IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! IMGUI_API bool BeginPopupContextWindow(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1);// open+begin popup when clicked on current window. IMGUI_API bool BeginPopupContextVoid(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // open+begin popup when clicked in void (where there are no windows). @@ -721,19 +723,17 @@ namespace ImGui IMGUI_API bool IsPopupOpen(const char* str_id, ImGuiPopupFlags flags = 0); // return true if the popup is open. // Tables - // [BETA API] API may evolve slightly! If you use this, please update to the next version when it comes out! // - Full-featured replacement for old Columns API. - // - See Demo->Tables for demo code. - // - See top of imgui_tables.cpp for general commentary. + // - See Demo->Tables for demo code. See top of imgui_tables.cpp for general commentary. // - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags. // The typical call flow is: - // - 1. Call BeginTable(). + // - 1. Call BeginTable(), early out if returning false. // - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults. // - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows. // - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data. // - 5. Populate contents: // - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column. - // - If you are using tables as a sort of grid, where every columns is holding the same type of contents, + // - If you are using tables as a sort of grid, where every column is holding the same type of contents, // you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex(). // TableNextColumn() will automatically wrap-around into the next row if needed. // - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column! @@ -746,10 +746,10 @@ namespace ImGui // -------------------------------------------------------------------------------------------------------- // - 5. Call EndTable() IMGUI_API bool BeginTable(const char* str_id, int column, ImGuiTableFlags flags = 0, const ImVec2& outer_size = ImVec2(0.0f, 0.0f), float inner_width = 0.0f); - IMGUI_API void EndTable(); // only call EndTable() if BeginTable() returns true! + IMGUI_API void EndTable(); // only call EndTable() if BeginTable() returns true! IMGUI_API void TableNextRow(ImGuiTableRowFlags row_flags = 0, float min_row_height = 0.0f); // append into the first cell of a new row. - IMGUI_API bool TableNextColumn(); // append into the next column (or first column of next row if currently in last column). Return true when column is visible. - IMGUI_API bool TableSetColumnIndex(int column_n); // append into the specified column. Return true when column is visible. + IMGUI_API bool TableNextColumn(); // append into the next column (or first column of next row if currently in last column). Return true when column is visible. + IMGUI_API bool TableSetColumnIndex(int column_n); // append into the specified column. Return true when column is visible. // Tables: Headers & Columns declaration // - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc. @@ -760,20 +760,17 @@ namespace ImGui // some advanced use cases (e.g. adding custom widgets in header row). // - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled. IMGUI_API void TableSetupColumn(const char* label, ImGuiTableColumnFlags flags = 0, float init_width_or_weight = 0.0f, ImGuiID user_id = 0); - IMGUI_API void TableSetupScrollFreeze(int cols, int rows); // lock columns/rows so they stay visible when scrolled. - IMGUI_API void TableHeadersRow(); // submit all headers cells based on data provided to TableSetupColumn() + submit context menu - IMGUI_API void TableHeader(const char* label); // submit one header cell manually (rarely used) + IMGUI_API void TableSetupScrollFreeze(int cols, int rows); // lock columns/rows so they stay visible when scrolled. + IMGUI_API void TableHeadersRow(); // submit all headers cells based on data provided to TableSetupColumn() + submit context menu + IMGUI_API void TableHeader(const char* label); // submit one header cell manually (rarely used) - // Tables: Sorting - // - Call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. - // - When 'SpecsDirty == true' you should sort your data. It will be true when sorting specs have changed - // since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, else you may - // wastefully sort your data every frame! - // - Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). - IMGUI_API ImGuiTableSortSpecs* TableGetSortSpecs(); // get latest sort specs for the table (NULL if not sorting). - - // Tables: Miscellaneous functions + // Tables: Sorting & Miscellaneous functions + // - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. + // When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have + // changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, + // else you may wastefully sort your data every frame! // - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index. + IMGUI_API ImGuiTableSortSpecs* TableGetSortSpecs(); // get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). IMGUI_API int TableGetColumnCount(); // return number of columns (value passed to BeginTable) IMGUI_API int TableGetColumnIndex(); // return current column index. IMGUI_API int TableGetRowIndex(); // return current row index. @@ -838,7 +835,7 @@ namespace ImGui // - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip, see #1725) // - An item can be both drag source and drop target. IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); // call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource() - IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond = 0); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. + IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond = 0); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted. IMGUI_API void EndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! IMGUI_API bool BeginDragDropTarget(); // call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() IMGUI_API const ImGuiPayload* AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags = 0); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. @@ -868,12 +865,12 @@ namespace ImGui IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags = 0); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. IMGUI_API bool IsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) IMGUI_API bool IsItemFocused(); // is the last item focused for keyboard/gamepad navigation? - IMGUI_API bool IsItemClicked(ImGuiMouseButton mouse_button = 0); // is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this it NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. + IMGUI_API bool IsItemClicked(ImGuiMouseButton mouse_button = 0); // is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. IMGUI_API bool IsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) IMGUI_API bool IsItemEdited(); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. IMGUI_API bool IsItemActivated(); // was the last item just made active (item was previously inactive). - IMGUI_API bool IsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. - IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). + IMGUI_API bool IsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing. + IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). IMGUI_API bool IsItemToggledOpen(); // was the last item open state toggled? set by TreeNode(). IMGUI_API bool IsAnyItemHovered(); // is any item hovered? IMGUI_API bool IsAnyItemActive(); // is any item active? @@ -889,15 +886,17 @@ namespace ImGui // - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode. IMGUI_API ImGuiViewport* GetMainViewport(); // return primary/default viewport. This can never be NULL. + // Background/Foreground Draw Lists + IMGUI_API ImDrawList* GetBackgroundDrawList(); // get background draw list for the viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. + IMGUI_API ImDrawList* GetForegroundDrawList(); // get foreground draw list for the viewport associated to the current window. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. + IMGUI_API ImDrawList* GetBackgroundDrawList(ImGuiViewport* viewport); // get background draw list for the given viewport. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. + IMGUI_API ImDrawList* GetForegroundDrawList(ImGuiViewport* viewport); // get foreground draw list for the given viewport. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. + // Miscellaneous Utilities IMGUI_API bool IsRectVisible(const ImVec2& size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. IMGUI_API bool IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. IMGUI_API double GetTime(); // get global imgui time. incremented by io.DeltaTime every frame. IMGUI_API int GetFrameCount(); // get global imgui frame count. incremented by 1 every frame. - IMGUI_API ImDrawList* GetBackgroundDrawList(); // get background draw list for the viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. - IMGUI_API ImDrawList* GetForegroundDrawList(); // get foreground draw list for the viewport associated to the current window. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. - IMGUI_API ImDrawList* GetBackgroundDrawList(ImGuiViewport* viewport); // get background draw list for the given viewport. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. - IMGUI_API ImDrawList* GetForegroundDrawList(ImGuiViewport* viewport); // get foreground draw list for the given viewport. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. IMGUI_API ImDrawListSharedData* GetDrawListSharedData(); // you may use this when creating your own ImDrawList instances. IMGUI_API const char* GetStyleColorName(ImGuiCol idx); // get a string corresponding to the enum value (for display, saving, etc.). IMGUI_API void SetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) @@ -915,14 +914,17 @@ namespace ImGui IMGUI_API void ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g, float& out_b); // Inputs Utilities: Keyboard - // - For 'int user_key_index' you can use your own indices/enums according to how your backend/engine stored them in io.KeysDown[]. - // - We don't know the meaning of those value. You can use GetKeyIndex() to map a ImGuiKey_ value into the user index. - IMGUI_API int GetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] - IMGUI_API bool IsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. - IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat = true); // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate - IMGUI_API bool IsKeyReleased(int user_key_index); // was key released (went from Down to !Down)? - IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate - IMGUI_API void CaptureKeyboardFromApp(bool want_capture_keyboard_value = true); // attention: misleading name! manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard_value"; after the next NewFrame() call. + // Without IMGUI_DISABLE_OBSOLETE_KEYIO: (legacy support) + // - For 'ImGuiKey key' you can still use your legacy native/user indices according to how your backend/engine stored them in io.KeysDown[]. + // With IMGUI_DISABLE_OBSOLETE_KEYIO: (this is the way forward) + // - Any use of 'ImGuiKey' will assert when key < 512 will be passed, previously reserved as native/user keys indices + // - GetKeyIndex() is pass-through and therefore deprecated (gone if IMGUI_DISABLE_OBSOLETE_KEYIO is defined) + IMGUI_API bool IsKeyDown(ImGuiKey key); // is key being held. + IMGUI_API bool IsKeyPressed(ImGuiKey key, bool repeat = true); // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate + IMGUI_API bool IsKeyReleased(ImGuiKey key); // was key released (went from Down to !Down)? + IMGUI_API int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate + IMGUI_API const char* GetKeyName(ImGuiKey key); // [DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared. + IMGUI_API void SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); // Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call. // Inputs Utilities: Mouse // - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right. @@ -935,15 +937,15 @@ namespace ImGui IMGUI_API int GetMouseClickedCount(ImGuiMouseButton button); // return the number of successive mouse-clicks at the time where a click happen (otherwise 0). IMGUI_API bool IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip = true);// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. IMGUI_API bool IsMousePosValid(const ImVec2* mouse_pos = NULL); // by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available - IMGUI_API bool IsAnyMouseDown(); // is any mouse button held? + IMGUI_API bool IsAnyMouseDown(); // [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. IMGUI_API ImVec2 GetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves) IMGUI_API bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold = -1.0f); // is mouse dragging? (if lock_threshold < -1.0f, uses io.MouseDraggingThreshold) IMGUI_API ImVec2 GetMouseDragDelta(ImGuiMouseButton button = 0, float lock_threshold = -1.0f); // return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (if lock_threshold < -1.0f, uses io.MouseDraggingThreshold) IMGUI_API void ResetMouseDragDelta(ImGuiMouseButton button = 0); // - IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you - IMGUI_API void SetMouseCursor(ImGuiMouseCursor cursor_type); // set desired cursor type - IMGUI_API void CaptureMouseFromApp(bool want_capture_mouse_value = true); // attention: misleading name! manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse_value;" after the next NewFrame() call. + IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you + IMGUI_API void SetMouseCursor(ImGuiMouseCursor cursor_type); // set desired mouse cursor shape + IMGUI_API void SetNextFrameWantCaptureMouse(bool want_capture_mouse); // Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call. // Clipboard Utilities // - Also see the LogToClipboard() function to capture GUI into clipboard, or easily output text data to the clipboard. @@ -960,7 +962,7 @@ namespace ImGui IMGUI_API const char* SaveIniSettingsToMemory(size_t* out_ini_size = NULL); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. // Debug Utilities - // - This is used by the IMGUI_CHECKVERSION() macro. + IMGUI_API void DebugTextEncoding(const char* text); IMGUI_API bool DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert, size_t sz_drawidx); // This is called by IMGUI_CHECKVERSION() macro. // Memory Allocators @@ -989,6 +991,7 @@ namespace ImGui //----------------------------------------------------------------------------- // Flags for ImGui::Begin() +// (Those are per-window flags. There are shared flags in ImGuiIO: io.ConfigWindowsResizeFromEdges and io.ConfigWindowsMoveFromTitleBarOnly) enum ImGuiWindowFlags_ { ImGuiWindowFlags_None = 0, @@ -1025,13 +1028,11 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() ImGuiWindowFlags_ChildMenu = 1 << 28, // Don't use! For internal use by BeginMenu() - ImGuiWindowFlags_DockNodeHost = 1 << 29 // Don't use! For internal use by Begin()/NewFrame() - - // [Obsolete] - //ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // --> Set io.ConfigWindowsResizeFromEdges=true and make sure mouse cursors are supported by backend (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) + ImGuiWindowFlags_DockNodeHost = 1 << 29, // Don't use! For internal use by Begin()/NewFrame() }; // Flags for ImGui::InputText() +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive) enum ImGuiInputTextFlags_ { ImGuiInputTextFlags_None = 0, @@ -1054,11 +1055,12 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this) - ImGuiInputTextFlags_CallbackEdit = 1 << 19 // Callback on any edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active) + ImGuiInputTextFlags_CallbackEdit = 1 << 19, // Callback on any edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active) + ImGuiInputTextFlags_EscapeClearsAll = 1 << 20, // Escape key clears content if not empty, and deactivate otherwise (constrast to default behavior of Escape to revert) // Obsolete names (will be removed soon) #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiInputTextFlags_AlwaysInsertMode = ImGuiInputTextFlags_AlwaysOverwrite // [renamed in 1.82] name was not matching behavior + ImGuiInputTextFlags_AlwaysInsertMode = ImGuiInputTextFlags_AlwaysOverwrite // [renamed in 1.82] name was not matching behavior #endif }; @@ -1081,7 +1083,7 @@ enum ImGuiTreeNodeFlags_ ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12, // Extend hit box to the left-most and right-most edges (bypass the indented area). ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 14, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog, }; // Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions. @@ -1090,7 +1092,7 @@ enum ImGuiTreeNodeFlags_ // It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags. // - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0. // IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter -// and want to another another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag. +// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly. // - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later). enum ImGuiPopupFlags_ { @@ -1104,18 +1106,18 @@ enum ImGuiPopupFlags_ ImGuiPopupFlags_NoOpenOverItems = 1 << 6, // For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space ImGuiPopupFlags_AnyPopupId = 1 << 7, // For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup. ImGuiPopupFlags_AnyPopupLevel = 1 << 8, // For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level) - ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, }; // Flags for ImGui::Selectable() enum ImGuiSelectableFlags_ { ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this doesn't close parent popup window ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, // Generate press events on double clicks too ImGuiSelectableFlags_Disabled = 1 << 3, // Cannot be selected, display grayed out text - ImGuiSelectableFlags_AllowItemOverlap = 1 << 4 // (WIP) Hit testing to allow subsequent widgets to overlap this one + ImGuiSelectableFlags_AllowItemOverlap = 1 << 4, // (WIP) Hit testing to allow subsequent widgets to overlap this one }; // Flags for ImGui::BeginCombo() @@ -1129,7 +1131,7 @@ enum ImGuiComboFlags_ ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest, }; // Flags for ImGui::BeginTabBar() @@ -1145,7 +1147,7 @@ enum ImGuiTabBarFlags_ ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 6, // Resize tabs when they don't fit ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7, // Add scroll buttons when tabs don't fit ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll, - ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown + ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown, }; // Flags for ImGui::BeginTabItem() @@ -1159,12 +1161,11 @@ enum ImGuiTabItemFlags_ ImGuiTabItemFlags_NoTooltip = 1 << 4, // Disable tooltip for the given tab ImGuiTabItemFlags_NoReorder = 1 << 5, // Disable reordering this tab or having another tab cross over this tab ImGuiTabItemFlags_Leading = 1 << 6, // Enforce the tab position to the left of the tab bar (after the tab list popup button) - ImGuiTabItemFlags_Trailing = 1 << 7 // Enforce the tab position to the right of the tab bar (before the scrolling buttons) + ImGuiTabItemFlags_Trailing = 1 << 7, // Enforce the tab position to the right of the tab bar (before the scrolling buttons) }; // Flags for ImGui::BeginTable() -// [BETA API] API may evolve slightly! If you use this, please update to the next version when it comes out! -// - Important! Sizing policies have complex and subtle side effects, more so than you would expect. +// - Important! Sizing policies have complex and subtle side effects, much more so than you would expect. // Read comments/demos carefully + experiment with live demos to get acquainted with them. // - The DEFAULT sizing policies are: // - Default to ImGuiTableFlags_SizingFixedFit if ScrollX is on, or if host window has ImGuiWindowFlags_AlwaysAutoResize. @@ -1172,15 +1173,15 @@ enum ImGuiTabItemFlags_ // - When ScrollX is off: // - Table defaults to ImGuiTableFlags_SizingStretchSame -> all Columns defaults to ImGuiTableColumnFlags_WidthStretch with same weight. // - Columns sizing policy allowed: Stretch (default), Fixed/Auto. -// - Fixed Columns will generally obtain their requested width (unless the table cannot fit them all). -// - Stretch Columns will share the remaining width. +// - Fixed Columns (if any) will generally obtain their requested width (unless the table cannot fit them all). +// - Stretch Columns will share the remaining width according to their respective weight. // - Mixed Fixed/Stretch columns is possible but has various side-effects on resizing behaviors. // The typical use of mixing sizing policies is: any number of LEADING Fixed columns, followed by one or two TRAILING Stretch columns. // (this is because the visible order of columns have subtle but necessary effects on how they react to manual resizing). // - When ScrollX is on: // - Table defaults to ImGuiTableFlags_SizingFixedFit -> all Columns defaults to ImGuiTableColumnFlags_WidthFixed // - Columns sizing policy allowed: Fixed/Auto mostly. -// - Fixed Columns can be enlarged as needed. Table will show an horizontal scrollbar if needed. +// - Fixed Columns can be enlarged as needed. Table will show a horizontal scrollbar if needed. // - When using auto-resizing (non-resizable) fixed columns, querying the content width to use item right-alignment e.g. SetNextItemWidth(-FLT_MIN) doesn't make sense, would create a feedback loop. // - Using Stretch columns OFTEN DOES NOT MAKE SENSE if ScrollX is on, UNLESS you have specified a value for 'inner_width' in BeginTable(). // If you specify a value for 'inner_width' then effectively the scrolling space is known and Stretch or mixed Fixed/Stretch columns become meaningful again. @@ -1206,8 +1207,8 @@ enum ImGuiTableFlags_ ImGuiTableFlags_BordersInner = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH, // Draw inner borders. ImGuiTableFlags_BordersOuter = ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH, // Draw outer borders. ImGuiTableFlags_Borders = ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter, // Draw all borders. - ImGuiTableFlags_NoBordersInBody = 1 << 11, // [ALPHA] Disable vertical borders in columns Body (borders will always appears in Headers). -> May move to style - ImGuiTableFlags_NoBordersInBodyUntilResize = 1 << 12, // [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers). -> May move to style + ImGuiTableFlags_NoBordersInBody = 1 << 11, // [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style + ImGuiTableFlags_NoBordersInBodyUntilResize = 1 << 12, // [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style // Sizing Policy (read above for defaults) ImGuiTableFlags_SizingFixedFit = 1 << 13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width. ImGuiTableFlags_SizingFixedSame = 2 << 13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible. @@ -1221,24 +1222,18 @@ enum ImGuiTableFlags_ // Clipping ImGuiTableFlags_NoClip = 1 << 20, // Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze(). // Padding - ImGuiTableFlags_PadOuterX = 1 << 21, // Default if BordersOuterV is on. Enable outer-most padding. Generally desirable if you have headers. - ImGuiTableFlags_NoPadOuterX = 1 << 22, // Default if BordersOuterV is off. Disable outer-most padding. + ImGuiTableFlags_PadOuterX = 1 << 21, // Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers. + ImGuiTableFlags_NoPadOuterX = 1 << 22, // Default if BordersOuterV is off. Disable outermost padding. ImGuiTableFlags_NoPadInnerX = 1 << 23, // Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off). // Scrolling - ImGuiTableFlags_ScrollX = 1 << 24, // Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this create a child window, ScrollY is currently generally recommended when using ScrollX. + ImGuiTableFlags_ScrollX = 1 << 24, // Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX. ImGuiTableFlags_ScrollY = 1 << 25, // Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. // Sorting ImGuiTableFlags_SortMulti = 1 << 26, // Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1). ImGuiTableFlags_SortTristate = 1 << 27, // Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0). // [Internal] Combinations and masks - ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame - - // Obsolete names (will be removed soon) -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //, ImGuiTableFlags_ColumnsWidthFixed = ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_ColumnsWidthStretch = ImGuiTableFlags_SizingStretchSame // WIP Tables 2020/12 - //, ImGuiTableFlags_SizingPolicyFixed = ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_SizingPolicyStretch = ImGuiTableFlags_SizingStretchSame // WIP Tables 2021/01 -#endif + ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame, }; // Flags for ImGui::TableSetupColumn() @@ -1275,19 +1270,14 @@ enum ImGuiTableColumnFlags_ ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed, ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable, ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered, - ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30 // [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge) - - // Obsolete names (will be removed soon) -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //ImGuiTableColumnFlags_WidthAuto = ImGuiTableColumnFlags_WidthFixed | ImGuiTableColumnFlags_NoResize, // Column will not stretch and keep resizing based on submitted contents. -#endif + ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30, // [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge) }; // Flags for ImGui::TableNextRow() enum ImGuiTableRowFlags_ { - ImGuiTableRowFlags_None = 0, - ImGuiTableRowFlags_Headers = 1 << 0 // Identify header row (set default background color + width of its contents accounted different for auto column width) + ImGuiTableRowFlags_None = 0, + ImGuiTableRowFlags_Headers = 1 << 0, // Identify header row (set default background color + width of its contents accounted differently for auto column width) }; // Enum for ImGui::TableSetBgColor() @@ -1295,16 +1285,16 @@ enum ImGuiTableRowFlags_ // - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set. // - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set. // - Layer 2: draw with CellBg color if set. -// The purpose of the two row/columns layers is to let you decide if a background color changes should override or blend with the existing color. +// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color. // When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows. // If you set the color of RowBg0 target, your color will override the existing RowBg0 color. // If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color. enum ImGuiTableBgTarget_ { - ImGuiTableBgTarget_None = 0, - ImGuiTableBgTarget_RowBg0 = 1, // Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used) - ImGuiTableBgTarget_RowBg1 = 2, // Set row background color 1 (generally used for selection marking) - ImGuiTableBgTarget_CellBg = 3 // Set cell background color (top-most color) + ImGuiTableBgTarget_None = 0, + ImGuiTableBgTarget_RowBg0 = 1, // Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used) + ImGuiTableBgTarget_RowBg1 = 2, // Set row background color 1 (generally used for selection marking) + ImGuiTableBgTarget_CellBg = 3, // Set cell background color (top-most color) }; // Flags for ImGui::IsWindowFocused() @@ -1316,7 +1306,7 @@ enum ImGuiFocusedFlags_ ImGuiFocusedFlags_AnyWindow = 1 << 2, // Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ! ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3, // Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) ImGuiFocusedFlags_DockHierarchy = 1 << 4, // Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows, }; // Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() @@ -1335,8 +1325,14 @@ enum ImGuiHoveredFlags_ ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 8, // IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window ImGuiHoveredFlags_AllowWhenDisabled = 1 << 9, // IsItemHovered() only: Return true even if the item is disabled + ImGuiHoveredFlags_NoNavOverride = 1 << 10, // Disable using gamepad/keyboard navigation state when active, always query mouse. ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows, + + // Hovering delays (for tooltips) + ImGuiHoveredFlags_DelayNormal = 1 << 11, // Return true after io.HoverDelayNormal elapsed (~0.30 sec) + ImGuiHoveredFlags_DelayShort = 1 << 12, // Return true after io.HoverDelayShort elapsed (~0.10 sec) + ImGuiHoveredFlags_NoSharedDelay = 1 << 13, // Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays) }; // Flags for ImGui::DockSpace(), shared/inherited by child nodes. @@ -1351,7 +1347,7 @@ enum ImGuiDockNodeFlags_ ImGuiDockNodeFlags_PassthruCentralNode = 1 << 3, // Shared // Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details. ImGuiDockNodeFlags_NoSplit = 1 << 4, // Shared/Local // Disable splitting the node into smaller nodes. Useful e.g. when embedding dockspaces into a main root one (the root one may have splitting disabled to reduce confusion). Note: when turned off, existing splits will be preserved. ImGuiDockNodeFlags_NoResize = 1 << 5, // Shared/Local // Disable resizing node using the splitter/separators. Useful with programmatically setup dockspaces. - ImGuiDockNodeFlags_AutoHideTabBar = 1 << 6 // Shared/Local // Tab bar will automatically hide when there is a single window in the dock node. + ImGuiDockNodeFlags_AutoHideTabBar = 1 << 6, // Shared/Local // Tab bar will automatically hide when there is a single window in the dock node. }; // Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() @@ -1359,8 +1355,8 @@ enum ImGuiDragDropFlags_ { ImGuiDragDropFlags_None = 0, // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item. ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. @@ -1369,7 +1365,7 @@ enum ImGuiDragDropFlags_ ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, // For peeking ahead and inspecting the payload before delivery. }; // Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. @@ -1411,10 +1407,14 @@ enum ImGuiSortDirection_ ImGuiSortDirection_Descending = 2 // Descending = 9->0, Z->A etc. }; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array -enum ImGuiKey_ +// A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value) +// All our named keys are >= 512. Keys value 0 to 511 are left unused as legacy native/opaque key values (< 1.87) +// Since >= 1.89 we increased typing (went from int to enum), some legacy code may need a cast to ImGuiKey. +enum ImGuiKey : int { - ImGuiKey_Tab, + // Keyboard + ImGuiKey_None = 0, + ImGuiKey_Tab = 512, // == ImGuiKey_NamedKey_BEGIN ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, @@ -1429,66 +1429,133 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_KeyPadEnter, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT + ImGuiKey_LeftCtrl, ImGuiKey_LeftShift, ImGuiKey_LeftAlt, ImGuiKey_LeftSuper, + ImGuiKey_RightCtrl, ImGuiKey_RightShift, ImGuiKey_RightAlt, ImGuiKey_RightSuper, + ImGuiKey_Menu, + ImGuiKey_0, ImGuiKey_1, ImGuiKey_2, ImGuiKey_3, ImGuiKey_4, ImGuiKey_5, ImGuiKey_6, ImGuiKey_7, ImGuiKey_8, ImGuiKey_9, + ImGuiKey_A, ImGuiKey_B, ImGuiKey_C, ImGuiKey_D, ImGuiKey_E, ImGuiKey_F, ImGuiKey_G, ImGuiKey_H, ImGuiKey_I, ImGuiKey_J, + ImGuiKey_K, ImGuiKey_L, ImGuiKey_M, ImGuiKey_N, ImGuiKey_O, ImGuiKey_P, ImGuiKey_Q, ImGuiKey_R, ImGuiKey_S, ImGuiKey_T, + ImGuiKey_U, ImGuiKey_V, ImGuiKey_W, ImGuiKey_X, ImGuiKey_Y, ImGuiKey_Z, + ImGuiKey_F1, ImGuiKey_F2, ImGuiKey_F3, ImGuiKey_F4, ImGuiKey_F5, ImGuiKey_F6, + ImGuiKey_F7, ImGuiKey_F8, ImGuiKey_F9, ImGuiKey_F10, ImGuiKey_F11, ImGuiKey_F12, + ImGuiKey_Apostrophe, // ' + ImGuiKey_Comma, // , + ImGuiKey_Minus, // - + ImGuiKey_Period, // . + ImGuiKey_Slash, // / + ImGuiKey_Semicolon, // ; + ImGuiKey_Equal, // = + ImGuiKey_LeftBracket, // [ + ImGuiKey_Backslash, // \ (this text inhibit multiline comment caused by backslash) + ImGuiKey_RightBracket, // ] + ImGuiKey_GraveAccent, // ` + ImGuiKey_CapsLock, + ImGuiKey_ScrollLock, + ImGuiKey_NumLock, + ImGuiKey_PrintScreen, + ImGuiKey_Pause, + ImGuiKey_Keypad0, ImGuiKey_Keypad1, ImGuiKey_Keypad2, ImGuiKey_Keypad3, ImGuiKey_Keypad4, + ImGuiKey_Keypad5, ImGuiKey_Keypad6, ImGuiKey_Keypad7, ImGuiKey_Keypad8, ImGuiKey_Keypad9, + ImGuiKey_KeypadDecimal, + ImGuiKey_KeypadDivide, + ImGuiKey_KeypadMultiply, + ImGuiKey_KeypadSubtract, + ImGuiKey_KeypadAdd, + ImGuiKey_KeypadEnter, + ImGuiKey_KeypadEqual, + + // Gamepad (some of those are analog values, 0.0f to 1.0f) // GAME NAVIGATION ACTION + // (download controller mapping PNG/PSD at http://dearimgui.org/controls_sheets) + ImGuiKey_GamepadStart, // Menu (Xbox) + (Switch) Start/Options (PS) + ImGuiKey_GamepadBack, // View (Xbox) - (Switch) Share (PS) + ImGuiKey_GamepadFaceLeft, // X (Xbox) Y (Switch) Square (PS) // Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows) + ImGuiKey_GamepadFaceRight, // B (Xbox) A (Switch) Circle (PS) // Cancel / Close / Exit + ImGuiKey_GamepadFaceUp, // Y (Xbox) X (Switch) Triangle (PS) // Text Input / On-screen Keyboard + ImGuiKey_GamepadFaceDown, // A (Xbox) B (Switch) Cross (PS) // Activate / Open / Toggle / Tweak + ImGuiKey_GamepadDpadLeft, // D-pad Left // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadRight, // D-pad Right // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadUp, // D-pad Up // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadDown, // D-pad Down // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadL1, // L Bumper (Xbox) L (Switch) L1 (PS) // Tweak Slower / Focus Previous (in Windowing mode) + ImGuiKey_GamepadR1, // R Bumper (Xbox) R (Switch) R1 (PS) // Tweak Faster / Focus Next (in Windowing mode) + ImGuiKey_GamepadL2, // L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog] + ImGuiKey_GamepadR2, // R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog] + ImGuiKey_GamepadL3, // L Stick (Xbox) L3 (Switch) L3 (PS) + ImGuiKey_GamepadR3, // R Stick (Xbox) R3 (Switch) R3 (PS) + ImGuiKey_GamepadLStickLeft, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickRight, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickUp, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickDown, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadRStickLeft, // [Analog] + ImGuiKey_GamepadRStickRight, // [Analog] + ImGuiKey_GamepadRStickUp, // [Analog] + ImGuiKey_GamepadRStickDown, // [Analog] + + // Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) + // - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API. + ImGuiKey_MouseLeft, ImGuiKey_MouseRight, ImGuiKey_MouseMiddle, ImGuiKey_MouseX1, ImGuiKey_MouseX2, ImGuiKey_MouseWheelX, ImGuiKey_MouseWheelY, + + // [Internal] Reserved for mod storage + ImGuiKey_ReservedForModCtrl, ImGuiKey_ReservedForModShift, ImGuiKey_ReservedForModAlt, ImGuiKey_ReservedForModSuper, + ImGuiKey_COUNT, + + // Keyboard Modifiers (explicitly submitted by backend via AddKeyEvent() calls) + // - This is mirroring the data also written to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper, in a format allowing + // them to be accessed via standard key API, allowing calls such as IsKeyPressed(), IsKeyReleased(), querying duration etc. + // - Code polling every key (e.g. an interface to detect a key press for input mapping) might want to ignore those + // and prefer using the real keys (e.g. ImGuiKey_LeftCtrl, ImGuiKey_RightCtrl instead of ImGuiMod_Ctrl). + // - In theory the value of keyboard modifiers should be roughly equivalent to a logical or of the equivalent left/right keys. + // In practice: it's complicated; mods are often provided from different sources. Keyboard layout, IME, sticky keys and + // backends tend to interfere and break that equivalence. The safer decision is to relay that ambiguity down to the end-user... + ImGuiMod_None = 0, + ImGuiMod_Ctrl = 1 << 12, + ImGuiMod_Shift = 1 << 13, + ImGuiMod_Alt = 1 << 14, // Option/Menu + ImGuiMod_Super = 1 << 15, // Cmd/Super/Windows + ImGuiMod_Mask_ = 0xF000, +#if defined(__APPLE__) + ImGuiMod_Shortcut = ImGuiMod_Super, +#else + ImGuiMod_Shortcut = ImGuiMod_Ctrl, +#endif + + // [Internal] Prior to 1.87 we required user to fill io.KeysDown[512] using their own native index + the io.KeyMap[] array. + // We are ditching this method but keeping a legacy path for user code doing e.g. IsKeyPressed(MY_NATIVE_KEY_CODE) + ImGuiKey_NamedKey_BEGIN = 512, + ImGuiKey_NamedKey_END = ImGuiKey_COUNT, + ImGuiKey_NamedKey_COUNT = ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN, +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + ImGuiKey_KeysData_SIZE = ImGuiKey_NamedKey_COUNT, // Size of KeysData[]: only hold named keys + ImGuiKey_KeysData_OFFSET = ImGuiKey_NamedKey_BEGIN, // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET). +#else + ImGuiKey_KeysData_SIZE = ImGuiKey_COUNT, // Size of KeysData[]: hold legacy 0..512 keycodes + named keys + ImGuiKey_KeysData_OFFSET = 0, // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET). +#endif + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiKey_ModCtrl = ImGuiMod_Ctrl, ImGuiKey_ModShift = ImGuiMod_Shift, ImGuiKey_ModAlt = ImGuiMod_Alt, ImGuiKey_ModSuper = ImGuiMod_Super, // Renamed in 1.89 + ImGuiKey_KeyPadEnter = ImGuiKey_KeypadEnter, // Renamed in 1.87 +#endif }; -// To test io.KeyMods (which is a combination of individual fields io.KeyCtrl, io.KeyShift, io.KeyAlt set by user/backend) -enum ImGuiKeyModFlags_ +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +// OBSOLETED in 1.88 (from July 2022): ImGuiNavInput and io.NavInputs[]. +// Official backends between 1.60 and 1.86: will keep working and feed gamepad inputs as long as IMGUI_DISABLE_OBSOLETE_KEYIO is not set. +// Custom backends: feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. +enum ImGuiNavInput { - ImGuiKeyModFlags_None = 0, - ImGuiKeyModFlags_Ctrl = 1 << 0, - ImGuiKeyModFlags_Shift = 1 << 1, - ImGuiKeyModFlags_Alt = 1 << 2, - ImGuiKeyModFlags_Super = 1 << 3 -}; - -// Gamepad/Keyboard navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Backend: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at http://dearimgui.org/controls_sheets. -enum ImGuiNavInput_ -{ - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_Activate, ImGuiNavInput_Cancel, ImGuiNavInput_Input, ImGuiNavInput_Menu, ImGuiNavInput_DpadLeft, ImGuiNavInput_DpadRight, ImGuiNavInput_DpadUp, ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, ImGuiNavInput_LStickRight, ImGuiNavInput_LStickUp, ImGuiNavInput_LStickDown, ImGuiNavInput_FocusPrev, ImGuiNavInput_FocusNext, ImGuiNavInput_TweakSlow, ImGuiNavInput_TweakFast, ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyLeft_ }; +#endif // Configuration flags stored in io.ConfigFlags. Set by user/application. enum ImGuiConfigFlags_ { ImGuiConfigFlags_None = 0, - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui backend to fill io.NavInputs[]. Backend also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad. ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your backend, otherwise ImGui will react as if the mouse is jumping around back and forth. ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the backend. @@ -1503,9 +1570,9 @@ enum ImGuiConfigFlags_ ImGuiConfigFlags_DpiEnableScaleViewports= 1 << 14, // [BETA: Don't use] FIXME-DPI: Reposition and resize imgui windows when the DpiScale of a viewport changed (mostly useful for the main viewport hosting other window). Note that resizing the main window itself is up to your application. ImGuiConfigFlags_DpiEnableScaleFonts = 1 << 15, // [BETA: Don't use] FIXME-DPI: Request bitmap-scaled fonts to match DpiScale. This is a very low-quality workaround. The correct way to handle DPI is _currently_ to replace the atlas and/or fonts in the Platform_OnChangedViewport callback, but this is all early work in progress. - // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core Dear ImGui) + // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui) ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. + ImGuiConfigFlags_IsTouchScreen = 1 << 21, // Application is using a touch screen instead of a mouse. }; // Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend. @@ -1519,8 +1586,8 @@ enum ImGuiBackendFlags_ // [BETA] Viewports ImGuiBackendFlags_PlatformHasViewports = 1 << 10, // Backend Platform supports multiple viewports. - ImGuiBackendFlags_HasMouseHoveredViewport=1 << 11, // Backend Platform supports setting io.MouseHoveredViewport to the viewport directly under the mouse _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag and _REGARDLESS_ of whether another viewport is focused and may be capturing the mouse. This information is _NOT EASY_ to provide correctly with most high-level engines! Don't set this without studying _carefully_ how the backends handle ImGuiViewportFlags_NoInputs! - ImGuiBackendFlags_RendererHasViewports = 1 << 12 // Backend Renderer supports multiple viewports. + ImGuiBackendFlags_HasMouseHoveredViewport=1 << 11, // Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under. + ImGuiBackendFlags_RendererHasViewports = 1 << 12, // Backend Renderer supports multiple viewports. }; // Enumeration for PushStyleColor() / PopStyleColor() @@ -1556,10 +1623,10 @@ enum ImGuiCol_ ImGuiCol_Separator, ImGuiCol_SeparatorHovered, ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGrip, // Resize grip in lower-right and lower-left corners of windows. ImGuiCol_ResizeGripHovered, ImGuiCol_ResizeGripActive, - ImGuiCol_Tab, + ImGuiCol_Tab, // TabItem in a TabBar ImGuiCol_TabHovered, ImGuiCol_TabActive, ImGuiCol_TabUnfocused, @@ -1576,7 +1643,7 @@ enum ImGuiCol_ ImGuiCol_TableRowBg, // Table row background (even rows) ImGuiCol_TableRowBgAlt, // Table row background (odd rows) ImGuiCol_TextSelectedBg, - ImGuiCol_DragDropTarget, + ImGuiCol_DragDropTarget, // Rectangle highlighting a drop target ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item ImGuiCol_NavWindowingHighlight, // Highlight window when using CTRL+TAB ImGuiCol_NavWindowingDimBg, // Darken/colorize entire screen behind the CTRL+TAB window list, when active @@ -1588,7 +1655,7 @@ enum ImGuiCol_ // - The enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. // During initialization or between frames, feel free to just poke into ImGuiStyle directly. // - Tip: Use your programming IDE navigation facilities on the names in the _second column_ below to find the actual members and their description. -// In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. // - When changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. enum ImGuiStyleVar_ @@ -1632,7 +1699,7 @@ enum ImGuiButtonFlags_ // [Internal] ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle, - ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft + ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft, }; // Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() @@ -1673,16 +1740,15 @@ enum ImGuiColorEditFlags_ ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex, ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float, ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV + ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV, // Obsolete names (will be removed) -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiColorEditFlags_RGB = ImGuiColorEditFlags_DisplayRGB, ImGuiColorEditFlags_HSV = ImGuiColorEditFlags_DisplayHSV, ImGuiColorEditFlags_HEX = ImGuiColorEditFlags_DisplayHex // [renamed in 1.69] -#endif + // ImGuiColorEditFlags_RGB = ImGuiColorEditFlags_DisplayRGB, ImGuiColorEditFlags_HSV = ImGuiColorEditFlags_DisplayHSV, ImGuiColorEditFlags_HEX = ImGuiColorEditFlags_DisplayHex // [renamed in 1.69] }; // Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. // We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them. +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigDragClickToInputText) enum ImGuiSliderFlags_ { ImGuiSliderFlags_None = 0, @@ -1690,11 +1756,11 @@ enum ImGuiSliderFlags_ ImGuiSliderFlags_Logarithmic = 1 << 5, // Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits. ImGuiSliderFlags_NoRoundToFormat = 1 << 6, // Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits) ImGuiSliderFlags_NoInput = 1 << 7, // Disable CTRL+Click or Enter key allowing to input text directly into the widget - ImGuiSliderFlags_InvalidMask_ = 0x7000000F // [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed. + ImGuiSliderFlags_InvalidMask_ = 0x7000000F, // [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed. // Obsolete names (will be removed) #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiSliderFlags_ClampOnInput = ImGuiSliderFlags_AlwaysClamp // [renamed in 1.79] + ImGuiSliderFlags_ClampOnInput = ImGuiSliderFlags_AlwaysClamp, // [renamed in 1.79] #endif }; @@ -1716,7 +1782,7 @@ enum ImGuiMouseCursor_ ImGuiMouseCursor_Arrow = 0, ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. ImGuiMouseCursor_ResizeAll, // (Unused by Dear ImGui functions) - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeNS, // When hovering over a horizontal border ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window @@ -1731,10 +1797,10 @@ enum ImGuiMouseCursor_ enum ImGuiCond_ { ImGuiCond_None = 0, // No condition (always set the variable), same as _Always - ImGuiCond_Always = 1 << 0, // No condition (always set the variable) + ImGuiCond_Always = 1 << 0, // No condition (always set the variable), same as _None ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call will succeed) ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + ImGuiCond_Appearing = 1 << 3, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) }; //----------------------------------------------------------------------------- @@ -1783,7 +1849,7 @@ struct ImVector // Constructors, destructor inline ImVector() { Size = Capacity = 0; Data = NULL; } inline ImVector(const ImVector& src) { Size = Capacity = 0; Data = NULL; operator=(src); } - inline ImVector& operator=(const ImVector& src) { clear(); resize(src.Size); memcpy(Data, src.Data, (size_t)Size * sizeof(T)); return *this; } + inline ImVector& operator=(const ImVector& src) { clear(); resize(src.Size); if (src.Data) memcpy(Data, src.Data, (size_t)Size * sizeof(T)); return *this; } inline ~ImVector() { if (Data) IM_FREE(Data); } // Important: does not destruct anything inline void clear() { if (Data) { Size = Capacity = 0; IM_FREE(Data); Data = NULL; } } // Important: does not destruct anything @@ -1813,13 +1879,14 @@ struct ImVector inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } inline void shrink(int new_size) { IM_ASSERT(new_size <= Size); Size = new_size; } // Resize a vector to a smaller size, guaranteed not to cause a reallocation inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } + inline void reserve_discard(int new_capacity) { if (new_capacity <= Capacity) return; if (Data) IM_FREE(Data); Data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); Capacity = new_capacity; } // NB: It is illegal to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. inline void push_back(const T& v) { if (Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } inline void pop_back() { IM_ASSERT(Size > 0); Size--; } inline void push_front(const T& v) { if (Size == 0) push_back(v); else insert(Data, v); } inline T* erase(const T* it) { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + 1, ((size_t)Size - (size_t)off - 1) * sizeof(T)); Size--; return Data + off; } - inline T* erase(const T* it, const T* it_last){ IM_ASSERT(it >= Data && it < Data + Size && it_last > it && it_last <= Data + Size); const ptrdiff_t count = it_last - it; const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + count, ((size_t)Size - (size_t)off - (size_t)count) * sizeof(T)); Size -= (int)count; return Data + off; } + inline T* erase(const T* it, const T* it_last){ IM_ASSERT(it >= Data && it < Data + Size && it_last >= it && it_last <= Data + Size); const ptrdiff_t count = it_last - it; const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + count, ((size_t)Size - (size_t)off - (size_t)count) * sizeof(T)); Size -= (int)count; return Data + off; } inline T* erase_unsorted(const T* it) { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; if (it < Data + Size - 1) memcpy(Data + off, Data + Size - 1, sizeof(T)); Size--; return Data + off; } inline T* insert(const T* it, const T& v) { IM_ASSERT(it >= Data && it <= Data + Size); const ptrdiff_t off = it - Data; if (Size == Capacity) reserve(_grow_capacity(Size + 1)); if (off < (int)Size) memmove(Data + off + 1, Data + off, ((size_t)Size - (size_t)off) * sizeof(T)); memcpy(&Data[off], &v, sizeof(v)); Size++; return Data + off; } inline bool contains(const T& v) const { const T* data = Data; const T* data_end = Data + Size; while (data < data_end) if (*data++ == v) return true; return false; } @@ -1846,7 +1913,7 @@ struct ImGuiStyle ImVec2 WindowPadding; // Padding within a window. float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended. float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constrain individual windows, use SetNextWindowSizeConstraints(). ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. ImGuiDir WindowMenuButtonPosition; // Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left. float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. @@ -1869,7 +1936,7 @@ struct ImGuiStyle float LogSliderDeadzone; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. float TabRounding; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. float TabBorderSize; // Thickness of border around tabs. - float TabMinWidthForCloseButton; // Minimum width for close button to appears on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. + float TabMinWidthForCloseButton; // Minimum width for close button to appear on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. ImGuiDir ColorButtonPosition; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered). ImVec2 SelectableTextAlign; // Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. @@ -1877,7 +1944,7 @@ struct ImGuiStyle ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI scaling over this scale. May be removed later. bool AntiAliasedLines; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). - bool AntiAliasedLinesUseTex; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering. Latched at the beginning of the frame (copied to ImDrawList). + bool AntiAliasedLinesUseTex; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList). bool AntiAliasedFill; // Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. float CircleTessellationMaxError; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. @@ -1894,25 +1961,36 @@ struct ImGuiStyle // Access via ImGui::GetIO(). Read 'Programmer guide' section in .cpp file for general usage. //----------------------------------------------------------------------------- +// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions. +// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration. +struct ImGuiKeyData +{ + bool Down; // True for if key is down + float DownDuration; // Duration the key has been down (<0.0f: not pressed, 0.0f: just pressed, >0.0f: time held) + float DownDurationPrev; // Last frame duration the key has been down + float AnalogValue; // 0.0f..1.0f for gamepad values +}; + struct ImGuiIO { //------------------------------------------------------------------ - // Configuration (fill once) // Default value + // Configuration // Default value //------------------------------------------------------------------ ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. ImGuiBackendFlags BackendFlags; // = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend) to communicate features supported by the backend. - ImVec2 DisplaySize; // // Main display size, in pixels (generally == GetMainViewport()->Size) - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + ImVec2 DisplaySize; // // Main display size, in pixels (generally == GetMainViewport()->Size). May change every frame. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame. float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. const char* IniFilename; // = "imgui.ini" // Path to .ini file (important: default "imgui.ini" is relative to current working dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call LoadIniSettingsXXX() / SaveIniSettingsXXX() functions. const char* LogFilename; // = "imgui_log.txt"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified). float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatDelay; // = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + float HoverDelayNormal; // = 0.30 sec // Delay on hovering before IsItemHovered(ImGuiHoveredFlags_DelayNormal) returns true. + float HoverDelayShort; // = 0.10 sec // Delay on hovering before IsItemHovered(ImGuiHoveredFlags_DelayShort) returns true. void* UserData; // = NULL // Store your own data for retrieval by callbacks. ImFontAtlas*Fonts; // // Font atlas: load, rasterize and pack one or more fonts into a single texture. @@ -1936,7 +2014,9 @@ struct ImGuiIO // Miscellaneous options bool MouseDrawCursor; // = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend implementations. bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl. + bool ConfigInputTrickleEventQueue; // = true // Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates. bool ConfigInputTextCursorBlink; // = true // Enable blinking cursor (optional as some users consider it to be distracting). + bool ConfigInputTextEnterKeepActive; // = false // [BETA] Pressing Enter will keep item active and select contents (single-line only). bool ConfigDragClickToInputText; // = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). Not desirable on devices without a keyboard. bool ConfigWindowsResizeFromEdges; // = true // Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag) bool ConfigWindowsMoveFromTitleBarOnly; // = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to windows without a title bar. @@ -1960,29 +2040,35 @@ struct ImGuiIO void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; + // Optional: Notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME on Windows) + // (default to use native imm32 api on Windows) + void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data); +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + void* ImeWindowHandle; // = NULL // [Obsolete] Set ImGuiViewport::PlatformHandleRaw instead. Set this to your HWND to get automatic IME cursor positioning. +#else + void* _UnusedPadding; // Unused field to keep data structure the same size. +#endif + //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() + // Input - Call before calling NewFrame() //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all backends. - ImGuiID MouseHoveredViewport; // (Optional) When using multiple viewports: viewport the OS mouse cursor is hovering _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag, and _REGARDLESS_ of whether another viewport is focused. Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can provide this info. If you don't imgui will infer the value using the rectangles and last focused time of the viewports it knows about (ignoring other OS windows). - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs. Cleared back to zero by EndFrame(). Keyboard keys will be auto-mapped and be written here by NewFrame(). + // Input Functions + IMGUI_API void AddKeyEvent(ImGuiKey key, bool down); // Queue a new key down/up event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) + IMGUI_API void AddKeyAnalogEvent(ImGuiKey key, bool down, float v); // Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend. + IMGUI_API void AddMousePosEvent(float x, float y); // Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered) + IMGUI_API void AddMouseButtonEvent(int button, bool down); // Queue a mouse button change + IMGUI_API void AddMouseWheelEvent(float wh_x, float wh_y); // Queue a mouse wheel update + IMGUI_API void AddMouseViewportEvent(ImGuiID id); // Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support). + IMGUI_API void AddFocusEvent(bool focused); // Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window) + IMGUI_API void AddInputCharacter(unsigned int c); // Queue a new character input + IMGUI_API void AddInputCharacterUTF16(ImWchar16 c); // Queue a new character input from a UTF-16 character, it can be a surrogate + IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue a new characters input from a UTF-8 string - // Functions - IMGUI_API void AddInputCharacter(unsigned int c); // Queue new character input - IMGUI_API void AddInputCharacterUTF16(ImWchar16 c); // Queue new character input from an UTF-16 character, it can be a surrogate - IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue new characters input from an UTF-8 string - IMGUI_API void AddFocusEvent(bool focused); // Notifies Dear ImGui when hosting platform windows lose or gain input focus - IMGUI_API void ClearInputCharacters(); // [Internal] Clear the text input buffer manually - IMGUI_API void ClearInputKeys(); // [Internal] Release all keys + IMGUI_API void SetKeyEventNativeData(ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index = -1); // [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. + IMGUI_API void SetAppAcceptingEvents(bool accepting_events); // Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. + IMGUI_API void ClearInputCharacters(); // [Internal] Clear the text input buffer manually + IMGUI_API void ClearInputKeys(); // [Internal] Release all keys //------------------------------------------------------------------ // Output - Updated by NewFrame() or EndFrame()/Render() @@ -1990,50 +2076,72 @@ struct ImGuiIO // generally easier and more correct to use their state BEFORE calling NewFrame(). See FAQ for details!) //------------------------------------------------------------------ - bool WantCaptureMouse; // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving! - bool NavActive; // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Rough estimate of application framerate, in frame per second. Solely for convenience. Rolling average estimation based on io.DeltaTime over 120 frames. - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsRenderWindows; // Number of visible windows - int MetricsActiveWindows; // Number of active windows - int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts. - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + bool WantCaptureMouse; // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving! + bool NavActive; // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per second. Solely for convenience. Slow applications may not want to use a moving average or may want to reset underlying buffers occasionally. + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsRenderWindows; // Number of visible windows + int MetricsActiveWindows; // Number of active windows + int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts. + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + + // Legacy: before 1.87, we required backend to fill io.KeyMap[] (imgui->native map) during initialization and io.KeysDown[] (native indices) every frame. + // This is still temporarily supported as a legacy feature. However the new preferred scheme is for backend to call io.AddKeyEvent(). + // Old (<1.87): ImGui::IsKeyPressed(ImGui::GetIO().KeyMap[ImGuiKey_Space]) --> New (1.87+) ImGui::IsKeyPressed(ImGuiKey_Space) +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + int KeyMap[ImGuiKey_COUNT]; // [LEGACY] Input: map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. The first 512 are now unused and should be kept zero. Legacy backend will write into KeyMap[] using ImGuiKey_ indices which are always >512. + bool KeysDown[ImGuiKey_COUNT]; // [LEGACY] Input: Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). This used to be [512] sized. It is now ImGuiKey_COUNT to allow legacy io.KeysDown[GetKeyIndex(...)] to work without an overflow. + float NavInputs[ImGuiNavInput_COUNT]; // [LEGACY] Since 1.88, NavInputs[] was removed. Backends from 1.60 to 1.86 won't build. Feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. +#endif //------------------------------------------------------------------ // [Internal] Dear ImGui will maintain those fields. Forward compatibility not guaranteed! //------------------------------------------------------------------ - bool WantCaptureMouseUnlessPopupClose;// Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup. - ImGuiKeyModFlags KeyMods; // Key mods flags (same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags), updated by NewFrame() - ImGuiKeyModFlags KeyModsPrev; // Previous key mods - ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - double MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0) - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2) - ImU16 MouseClickedCount[5]; // == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down - ImU16 MouseClickedLastCount[5]; // Count successive number of clicks. Stays valid after mouse release. Reset after another click is done. - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds. - bool MouseDownOwnedUnlessPopupClose[5];//Track if button was clicked inside a dear imgui window. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; - float PenPressure; // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui. - bool AppFocusLost; - ImWchar16 InputQueueSurrogate; // For AddInputCharacterUTF16 - ImVector InputQueueCharacters; // Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper. + // Main Input State + // (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead) + // (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere) + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Other buttons allow us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with a horizontal wheel, may not be filled by all backends. + ImGuiID MouseHoveredViewport; // (Optional) Modify using io.AddMouseViewportEvent(). With multi-viewports: viewport the OS mouse is hovering. If possible _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag is much better (few backends can handle that). Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can provide this info. If you don't imgui will infer the value using the rectangles and last focused time of the viewports it knows about (ignoring other OS windows). + bool KeyCtrl; // Keyboard modifier down: Control + bool KeyShift; // Keyboard modifier down: Shift + bool KeyAlt; // Keyboard modifier down: Alt + bool KeySuper; // Keyboard modifier down: Cmd/Super/Windows + + // Other state maintained from data above + IO function calls + ImGuiKeyChord KeyMods; // Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags). Read-only, updated by NewFrame() + ImGuiKeyData KeysData[ImGuiKey_KeysData_SIZE]; // Key state for all known keys. Use IsKeyXXX() functions to access this. + bool WantCaptureMouseUnlessPopupClose; // Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup. + ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + double MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0) + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2) + ImU16 MouseClickedCount[5]; // == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down + ImU16 MouseClickedLastCount[5]; // Count successive number of clicks. Stays valid after mouse release. Reset after another click is done. + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds. + bool MouseDownOwnedUnlessPopupClose[5]; // Track if button was clicked inside a dear imgui window. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point (used for moving thresholds) + float PenPressure; // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui. + bool AppFocusLost; // Only modify via AddFocusEvent() + bool AppAcceptingEvents; // Only modify via SetAppAcceptingEvents() + ImS8 BackendUsingLegacyKeyArrays; // -1: unknown, 0: using AddKeyEvent(), 1: using legacy io.KeysDown[] + bool BackendUsingLegacyNavInputArray; // 0: using AddKeyAnalogEvent(), 1: writing to legacy io.NavInputs[] directly + ImWchar16 InputQueueSurrogate; // For AddInputCharacterUTF16() + ImVector InputQueueCharacters; // Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper. IMGUI_API ImGuiIO(); }; @@ -2084,7 +2192,7 @@ struct ImGuiInputTextCallbackData // NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. struct ImGuiSizeCallbackData { - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>). ImVec2 Pos; // Read-only. Window position, for reference. ImVec2 CurrentSize; // Read-only. Current window size. ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. @@ -2169,7 +2277,7 @@ struct ImGuiTableSortSpecs #define IM_UNICODE_CODEPOINT_MAX 0xFFFF // Maximum Unicode code point supported by this build. #endif -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create a UI within deep-nested code that runs multiple times every frame. // Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); struct ImGuiOnceUponAFrame { @@ -2277,7 +2385,7 @@ struct ImGuiStorage }; // Helper: Manually clip large list of items. -// If you have lots evenly spaced items and you have a random access to the list, you can perform coarse +// If you have lots evenly spaced items and you have random access to the list, you can perform coarse // clipping based on visibility to only submit items that are in view. // The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. // (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally @@ -2322,6 +2430,8 @@ struct ImGuiListClipper }; // Helpers macros to generate 32-bit encoded colors +// User can declare their own format by #defining the 5 _SHIFT/_MASK macros in their imconfig file. +#ifndef IM_COL32_R_SHIFT #ifdef IMGUI_USE_BGRA_PACKED_COLOR #define IM_COL32_R_SHIFT 16 #define IM_COL32_G_SHIFT 8 @@ -2335,6 +2445,7 @@ struct ImGuiListClipper #define IM_COL32_A_SHIFT 24 #define IM_COL32_A_MASK 0xFF000000 #endif +#endif #define IM_COL32(R,G,B,A) (((ImU32)(A)<> IM_COL32_R_SHIFT) & 0xFF) * sc; Value.y = (float)((rgba >> IM_COL32_G_SHIFT) & 0xFF) * sc; Value.z = (float)((rgba >> IM_COL32_B_SHIFT) & 0xFF) * sc; Value.w = (float)((rgba >> IM_COL32_A_SHIFT) & 0xFF) * sc; } - ImColor(float r, float g, float b, float a = 1.0f) { Value.x = r; Value.y = g; Value.z = b; Value.w = a; } - ImColor(const ImVec4& col) { Value = col; } inline operator ImU32() const { return ImGui::ColorConvertFloat4ToU32(Value); } inline operator ImVec4() const { return Value; } @@ -2389,16 +2500,16 @@ typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* c #define ImDrawCallback_ResetRenderState (ImDrawCallback)(-1) // Typically, 1 command = 1 GPU draw call (unless command is a callback) -// - VtxOffset/IdxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled, -// those fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices. -// Pre-1.71 backends will typically ignore the VtxOffset/IdxOffset fields. +// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled, +// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices. +// Backends made for <1.71. will typically ignore the VtxOffset fields. // - The ClipRect/TextureId/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for). struct ImDrawCmd { ImVec4 ClipRect; // 4*4 // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates ImTextureID TextureId; // 4-8 // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. unsigned int VtxOffset; // 4 // Start offset in vertex buffer. ImGuiBackendFlags_RendererHasVtxOffset: always 0, otherwise may be >0 to support meshes larger than 64K vertices with 16-bit indices. - unsigned int IdxOffset; // 4 // Start offset in index buffer. Always equal to sum of ElemCount drawn so far. + unsigned int IdxOffset; // 4 // Start offset in index buffer. unsigned int ElemCount; // 4 // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. ImDrawCallback UserCallback; // 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. void* UserCallbackData; // 4-8 // The draw callback code can access this. @@ -2420,7 +2531,7 @@ struct ImDrawVert #else // You can override the vertex format layout by defining IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT in imconfig.h // The code expect ImVec2 pos (8 bytes), ImVec2 uv (8 bytes), ImU32 col (4 bytes), but you can re-order them or add other fields as needed to simplify integration in your engine. -// The type has to be described within the macro (you can either declare the struct or use a typedef). This is because ImVec2/ImU32 are likely not declared a the time you'd want to set your type up. +// The type has to be described within the macro (you can either declare the struct or use a typedef). This is because ImVec2/ImU32 are likely not declared at the time you'd want to set your type up. // NOTE: IMGUI DOESN'T CLEAR THE STRUCTURE AND DOESN'T CALL A CONSTRUCTOR SO ANY CUSTOM FIELD WILL BE UNINITIALIZED. IF YOU ADD EXTRA FIELDS (SUCH AS A 'Z' COORDINATES) YOU WILL NEED TO CLEAR THEM DURING RENDER OR TO IGNORE THEM. IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT; #endif @@ -2475,7 +2586,7 @@ enum ImDrawFlags_ ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight, ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, // Default to ALL corners if none of the _RoundCornersXX flags are specified. - ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone + ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, }; // Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly. @@ -2484,9 +2595,9 @@ enum ImDrawListFlags_ { ImDrawListFlags_None = 0, ImDrawListFlags_AntiAliasedLines = 1 << 0, // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles) - ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering. + ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). ImDrawListFlags_AntiAliasedFill = 1 << 2, // Enable anti-aliased edge around filled shapes (rounded rectangles, circles). - ImDrawListFlags_AllowVtxOffset = 1 << 3 // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. + ImDrawListFlags_AllowVtxOffset = 1 << 3, // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. }; // Draw command list @@ -2508,7 +2619,7 @@ struct ImDrawList // [Internal, used while building lists] unsigned int _VtxCurrentIdx; // [Internal] generally == VtxBuffer.Size unless we are past 64K vertices, in which case this gets reset to 0. - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) const char* _OwnerName; // Pointer to owner window's name for debugging ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) @@ -2520,10 +2631,10 @@ struct ImDrawList float _FringeScale; // [Internal] anti-alias fringe is scaled by this value, this helps to keep things sharp while zooming at vertex buffer content // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - ImDrawList(const ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } + ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } ~ImDrawList() { _ClearFreeMemory(); } - IMGUI_API void PushClipRect(ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_current_clip_rect = false); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) + IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect = false); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) IMGUI_API void PushClipRectFullScreen(); IMGUI_API void PopClipRect(); IMGUI_API void PushTextureID(ImTextureID texture_id); @@ -2532,11 +2643,12 @@ struct ImDrawList inline ImVec2 GetClipRectMax() const { const ImVec4& cr = _ClipRectStack.back(); return ImVec2(cr.z, cr.w); } // Primitives + // - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. // - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. // - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). // In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. // In future versions we will use textures to provide cheaper and higher-quality circles. - // Use AddNgon() and AddNgonFilled() functions if you need to guaranteed a specific number of sides. + // Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. IMGUI_API void AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness = 1.0f); IMGUI_API void AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0, float thickness = 1.0f); // a: upper-left, b: lower-right (== upper-left + size) IMGUI_API void AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0); // a: upper-left, b: lower-right (== upper-left + size) @@ -2552,7 +2664,7 @@ struct ImDrawList IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL); IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); IMGUI_API void AddPolyline(const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness); - IMGUI_API void AddConvexPolyFilled(const ImVec2* points, int num_points, ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. + IMGUI_API void AddConvexPolyFilled(const ImVec2* points, int num_points, ImU32 col); IMGUI_API void AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0); // Cubic Bezier (4 control points) IMGUI_API void AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments = 0); // Quadratic Bezier (3 control points) @@ -2565,10 +2677,11 @@ struct ImDrawList IMGUI_API void AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags = 0); // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. inline void PathClear() { _Path.Size = 0; } inline void PathLineTo(const ImVec2& pos) { _Path.push_back(pos); } inline void PathLineToMergeDuplicate(const ImVec2& pos) { if (_Path.Size == 0 || memcmp(&_Path.Data[_Path.Size - 1], &pos, 8) != 0) _Path.push_back(pos); } - inline void PathFillConvex(ImU32 col) { AddConvexPolyFilled(_Path.Data, _Path.Size, col); _Path.Size = 0; } // Note: Anti-aliased filling requires points to be in clockwise order. + inline void PathFillConvex(ImU32 col) { AddConvexPolyFilled(_Path.Data, _Path.Size, col); _Path.Size = 0; } inline void PathStroke(ImU32 col, ImDrawFlags flags = 0, float thickness = 1.0f) { AddPolyline(_Path.Data, _Path.Size, col, flags, thickness); _Path.Size = 0; } IMGUI_API void PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments = 0); IMGUI_API void PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12); // Use precomputed angles for a 12 steps circle @@ -2604,8 +2717,8 @@ struct ImDrawList inline void PrimVtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) { PrimWriteIdx((ImDrawIdx)_VtxCurrentIdx); PrimWriteVtx(pos, uv, col); } // Write vertex with unique index #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - inline void AddBezierCurve(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); } - inline void PathBezierCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) { PathBezierCubicCurveTo(p2, p3, p4, num_segments); } + inline void AddBezierCurve(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); } // OBSOLETED in 1.80 (Jan 2021) + inline void PathBezierCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) { PathBezierCubicCurveTo(p2, p3, p4, num_segments); } // OBSOLETED in 1.80 (Jan 2021) #endif // [Internal helpers] @@ -2721,7 +2834,7 @@ enum ImFontAtlasFlags_ ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two ImFontAtlasFlags_NoMouseCursors = 1 << 1, // Don't build software mouse cursors into the atlas (save a little texture memory) - ImFontAtlasFlags_NoBakedLines = 1 << 2 // Don't build thick line textures into the atlas (save a little texture memory). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). + ImFontAtlasFlags_NoBakedLines = 1 << 2, // Don't build thick line textures into the atlas (save a little texture memory, allow support for point/nearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). }; // Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding: @@ -2740,7 +2853,7 @@ enum ImFontAtlasFlags_ // - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction. // You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed, // - Even though many functions are suffixed with "TTF", OTF data is supported just as well. -// - This is an old API and it is currently awkward for those and and various other reasons! We will address them in the future! +// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future! struct ImFontAtlas { IMGUI_API ImFontAtlas(); @@ -2764,7 +2877,7 @@ struct ImFontAtlas IMGUI_API bool Build(); // Build pixels data. This is called automatically for you by the GetTexData*** functions. IMGUI_API void GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 1 byte per-pixel IMGUI_API void GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 4 bytes-per-pixel - bool IsBuilt() const { return Fonts.Size > 0 && TexReady; } // Bit ambiguous: used to detect when user didn't built texture but effectively we should check TexID != 0 except that would be backend dependent... + bool IsBuilt() const { return Fonts.Size > 0 && TexReady; } // Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent... void SetTexID(ImTextureID id) { TexID = id; } //------------------------------------------- @@ -2775,6 +2888,7 @@ struct ImFontAtlas // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. // NB: Consider using ImFontGlyphRangesBuilder to build glyph ranges from textual data. IMGUI_API const ImWchar* GetGlyphRangesDefault(); // Basic Latin, Extended Latin + IMGUI_API const ImWchar* GetGlyphRangesGreek(); // Default + Greek and Coptic IMGUI_API const ImWchar* GetGlyphRangesKorean(); // Default + Korean characters IMGUI_API const ImWchar* GetGlyphRangesJapanese(); // Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs IMGUI_API const ImWchar* GetGlyphRangesChineseFull(); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs @@ -2809,7 +2923,7 @@ struct ImFontAtlas ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0 (will also need to set AntiAliasedLinesUseTex = false). bool Locked; // Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert. // [Internal] @@ -2835,10 +2949,9 @@ struct ImFontAtlas int PackIdMouseCursors; // Custom texture rectangle ID for white pixel and mouse cursors int PackIdLines; // Custom texture rectangle ID for baked anti-aliased lines -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ + // [Obsolete] + //typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ //typedef ImFontGlyphRangesBuilder GlyphRangesBuilder; // OBSOLETED in 1.67+ -#endif }; // Font runtime data and rendering @@ -2881,8 +2994,8 @@ struct ImFont // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const char** remaining = NULL) const; // utf8 IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const; - IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const; - IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu_fine_clip = false) const; + IMGUI_API void RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c) const; + IMGUI_API void RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu_fine_clip = false) const; // [Internal] Don't use! IMGUI_API void BuildLookupTable(); @@ -2914,7 +3027,7 @@ enum ImGuiViewportFlags_ ImGuiViewportFlags_TopMost = 1 << 9, // Platform Window: Display on top (for tooltips only). ImGuiViewportFlags_Minimized = 1 << 10, // Platform Window: Window is minimized, can skip render. When minimized we tend to avoid using the viewport pos/size for clipping window or testing if they are contained in the viewport. ImGuiViewportFlags_NoAutoMerge = 1 << 11, // Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!). - ImGuiViewportFlags_CanHostOtherWindows = 1 << 12 // Main viewport: can host multiple imgui windows (secondary viewports are associated to a single window). + ImGuiViewportFlags_CanHostOtherWindows = 1 << 12, // Main viewport: can host multiple imgui windows (secondary viewports are associated to a single window). }; // - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows. @@ -2936,6 +3049,7 @@ struct ImGuiViewport ImGuiID ParentViewportId; // (Advanced) 0: no parent. Instruct the platform backend to setup a parent/child relationship between platform windows. ImDrawData* DrawData; // The ImDrawData corresponding to this viewport. Valid after Render() and until the next call to NewFrame(). + // Platform/Backend Dependent Data // Our design separate the Renderer and Platform backends to facilitate combining default backends with each others. // When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled // by the same system and you may not need to use all the UserData/Handle fields. @@ -2943,7 +3057,8 @@ struct ImGuiViewport void* RendererUserData; // void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set by your Renderer_CreateWindow function. void* PlatformUserData; // void* to hold custom data structure for the OS / platform (e.g. windowing info, render context). generally set by your Platform_CreateWindow function. void* PlatformHandle; // void* for FindViewportByPlatformHandle(). (e.g. suggested to use natural platform handle such as HWND, GLFWWindow*, SDL_Window*) - void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (e.g. the HWND) when using an abstraction layer like GLFW or SDL (where PlatformHandle would be a SDL_Window*) + void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms), when using an abstraction layer like GLFW or SDL (where PlatformHandle would be a SDL_Window*) + bool PlatformWindowCreated; // Platform window has been created (Platform_CreateWindow() has been called). This is false during the first frame where a viewport is being created. bool PlatformRequestMove; // Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative position will be OS window position) bool PlatformRequestResize; // Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative size will be OS window size) bool PlatformRequestClose; // Platform window requested closure (e.g. window was moved by the OS / host window manager, e.g. pressing ALT-F4) @@ -2957,7 +3072,7 @@ struct ImGuiViewport }; //----------------------------------------------------------------------------- -// [SECTION] Platform interface for multi-viewport support +// [SECTION] Platform Dependent Interfaces (for e.g. multi-viewport support) //----------------------------------------------------------------------------- // [BETA] (Optional) This is completely optional, for advanced users! // If you are new to Dear ImGui and trying to integrate it into your engine, you can probably ignore this for now. @@ -3043,7 +3158,6 @@ struct ImGuiPlatformIO void (*Platform_SwapBuffers)(ImGuiViewport* vp, void* render_arg); // . . . R . // (Optional) Call Present/SwapBuffers (platform side! This is often unused!). 'render_arg' is the value passed to RenderPlatformWindowsDefault(). float (*Platform_GetWindowDpiScale)(ImGuiViewport* vp); // N . . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Return DPI scale for this viewport. 1.0f = 96 DPI. void (*Platform_OnChangedViewport)(ImGuiViewport* vp); // . F . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Called during Begin() every time the viewport we are outputting into changes, so backend has a chance to swap fonts to adjust style. - void (*Platform_SetImeInputPos)(ImGuiViewport* vp, ImVec2 pos); // . F . . . // (Optional) Set IME (Input Method Editor, e.g. for Asian languages) input position, so text preview appears over the imgui input box. FIXME: The call timing of this is inconsistent because we want to support without multi-viewports. int (*Platform_CreateVkSurface)(ImGuiViewport* vp, ImU64 vk_inst, const void* vk_allocators, ImU64* out_vk_surface); // (Optional) For a Vulkan Renderer to call into Platform code (since the surface creation needs to tie them both). // (Optional) Renderer functions (e.g. DirectX, OpenGL, Vulkan) @@ -3078,60 +3192,93 @@ struct ImGuiPlatformMonitor ImGuiPlatformMonitor() { MainPos = MainSize = WorkPos = WorkSize = ImVec2(0, 0); DpiScale = 1.0f; } }; +// (Optional) Support for IME (Input Method Editor) via the io.SetPlatformImeDataFn() function. +struct ImGuiPlatformImeData +{ + bool WantVisible; // A widget wants the IME to be visible + ImVec2 InputPos; // Position of the input cursor + float InputLineHeight; // Line height + + ImGuiPlatformImeData() { memset(this, 0, sizeof(*this)); } +}; + //----------------------------------------------------------------------------- // [SECTION] Obsolete functions and types // (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) // Please keep your copy of dear imgui up to date! Occasionally set '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' in imconfig.h to stay ahead. //----------------------------------------------------------------------------- +namespace ImGui +{ +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + IMGUI_API ImGuiKey GetKeyIndex(ImGuiKey key); // map ImGuiKey_* values into legacy native key index. == io.KeyMap[key] +#else + static inline ImGuiKey GetKeyIndex(ImGuiKey key) { IM_ASSERT(key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END && "ImGuiKey and native_index was merged together and native_index is disabled by IMGUI_DISABLE_OBSOLETE_KEYIO. Please switch to ImGuiKey."); return key; } +#endif +} + #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS namespace ImGui { + // OBSOLETED in 1.89 (from August 2022) + IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); // Use new ImageButton() signature (explicit item id, regular FramePadding) + // OBSOLETED in 1.88 (from May 2022) + static inline void CaptureKeyboardFromApp(bool want_capture_keyboard = true) { SetNextFrameWantCaptureKeyboard(want_capture_keyboard); } // Renamed as name was misleading + removed default value. + static inline void CaptureMouseFromApp(bool want_capture_mouse = true) { SetNextFrameWantCaptureMouse(want_capture_mouse); } // Renamed as name was misleading + removed default value. // OBSOLETED in 1.86 (from November 2021) IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end); // Calculate coarse clipping for large list of evenly sized items. Prefer using ImGuiListClipper. // OBSOLETED in 1.85 (from August 2021) - static inline float GetWindowContentRegionWidth() { return GetWindowContentRegionMax().x - GetWindowContentRegionMin().x; } + static inline float GetWindowContentRegionWidth() { return GetWindowContentRegionMax().x - GetWindowContentRegionMin().x; } // OBSOLETED in 1.81 (from February 2021) IMGUI_API bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1); // Helper to calculate size from items_count and height_in_items static inline bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0, 0)) { return BeginListBox(label, size); } - static inline void ListBoxFooter() { EndListBox(); } - // OBSOLETED in 1.79 (from August 2020) - static inline void OpenPopupContextItem(const char* str_id = NULL, ImGuiMouseButton mb = 1) { OpenPopupOnItemClick(str_id, mb); } // Bool return value removed. Use IsWindowAppearing() in BeginPopup() instead. Renamed in 1.77, renamed back in 1.79. Sorry! - // OBSOLETED in 1.78 (from June 2020) - // Old drag/sliders functions that took a 'float power = 1.0' argument instead of flags. - // For shared code, you can version check at compile-time with `#if IMGUI_VERSION_NUM >= 17704`. - IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power); - IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power); - static inline bool DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); } - static inline bool DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); } - static inline bool DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); } - static inline bool DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); } - IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power); - IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, float power); - static inline bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, float power) { return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, power); } - static inline bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, float power) { return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); } - static inline bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, float power) { return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); } - static inline bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, float power) { return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); } - // OBSOLETED in 1.77 (from June 2020) - static inline bool BeginPopupContextWindow(const char* str_id, ImGuiMouseButton mb, bool over_items) { return BeginPopupContextWindow(str_id, mb | (over_items ? 0 : ImGuiPopupFlags_NoOpenOverItems)); } - // OBSOLETED in 1.72 (from April 2019) - static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); } - // OBSOLETED in 1.71 (from June 2019) - static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); } - // OBSOLETED in 1.70 (from May 2019) - static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; } + static inline void ListBoxFooter() { EndListBox(); } // Some of the older obsolete names along with their replacement (commented out so they are not reported in IDE) - //static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); } // OBSOLETED in 1.69 (from Mar 2019) - //static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018) - //static inline bool IsItemDeactivatedAfterChange() { return IsItemDeactivatedAfterEdit(); } // OBSOLETED in 1.63 (from Aug 2018) - //static inline bool IsAnyWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_AnyWindow); } // OBSOLETED in 1.60 (from Apr 2018) - //static inline bool IsAnyWindowHovered() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.60 (between Dec 2017 and Apr 2018) - //static inline void ShowTestWindow() { return ShowDemoWindow(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline bool IsRootWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootWindow); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline bool IsRootWindowOrAnyChildFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline float GetItemsLineHeightWithSpacing() { return GetFrameHeightWithSpacing(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //-- OBSOLETED in 1.79 (from August 2020) + //static inline void OpenPopupContextItem(const char* str_id = NULL, ImGuiMouseButton mb = 1) { OpenPopupOnItemClick(str_id, mb); } // Bool return value removed. Use IsWindowAppearing() in BeginPopup() instead. Renamed in 1.77, renamed back in 1.79. Sorry! + //-- OBSOLETED in 1.78 (from June 2020): Old drag/sliders functions that took a 'float power > 1.0f' argument instead of ImGuiSliderFlags_Logarithmic. See github.com/ocornut/imgui/issues/3361 for details. + //IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f) // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //-- OBSOLETED in 1.77 and before + //static inline bool BeginPopupContextWindow(const char* str_id, ImGuiMouseButton mb, bool over_items) { return BeginPopupContextWindow(str_id, mb | (over_items ? 0 : ImGuiPopupFlags_NoOpenOverItems)); } // OBSOLETED in 1.77 (from June 2020) + //static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); } // OBSOLETED in 1.72 (from July 2019) + //static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); } // OBSOLETED in 1.71 (from June 2019) + //static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; } // OBSOLETED in 1.70 (from May 2019) + //static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); } // OBSOLETED in 1.69 (from Mar 2019) + //static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018) + //static inline bool IsItemDeactivatedAfterChange() { return IsItemDeactivatedAfterEdit(); } // OBSOLETED in 1.63 (from Aug 2018) + //-- OBSOLETED in 1.60 and before + //static inline bool IsAnyWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_AnyWindow); } // OBSOLETED in 1.60 (from Apr 2018) + //static inline bool IsAnyWindowHovered() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.60 (between Dec 2017 and Apr 2018) + //static inline void ShowTestWindow() { return ShowDemoWindow(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline bool IsRootWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootWindow); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline bool IsRootWindowOrAnyChildFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline float GetItemsLineHeightWithSpacing() { return GetFrameHeightWithSpacing(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //IMGUI_API bool Begin(char* name, bool* p_open, ImVec2 size_first_use, float bg_alpha = -1.0f, ImGuiWindowFlags flags=0); // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017): Equivalent of using SetNextWindowSize(size, ImGuiCond_FirstUseEver) and SetNextWindowBgAlpha(). + //static inline bool IsRootWindowOrAnyChildHovered() { return IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline void AlignFirstTextHeightToWidgets() { AlignTextToFramePadding(); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline void SetNextWindowPosCenter(ImGuiCond c=0) { SetNextWindowPos(GetMainViewport()->GetCenter(), c, ImVec2(0.5f,0.5f)); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline bool IsItemHoveredRect() { return IsItemHovered(ImGuiHoveredFlags_RectOnly); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //static inline bool IsPosHoveringAnyWindow(const ImVec2&) { IM_ASSERT(0); return false; } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017): This was misleading and partly broken. You probably want to use the io.WantCaptureMouse flag instead. + //static inline bool IsMouseHoveringAnyWindow() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //static inline bool IsMouseHoveringWindow() { return IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //-- OBSOLETED in 1.50 and before + //static inline bool CollapsingHeader(char* label, const char* str_id, bool framed = true, bool default_open = false) { return CollapsingHeader(label, (default_open ? (1 << 5) : 0)); } // OBSOLETED in 1.49 + //static inline ImFont*GetWindowFont() { return GetFont(); } // OBSOLETED in 1.48 + //static inline float GetWindowFontSize() { return GetFontSize(); } // OBSOLETED in 1.48 + //static inline void SetScrollPosHere() { SetScrollHere(); } // OBSOLETED in 1.42 } // OBSOLETED in 1.82 (from Mars 2021): flags for AddRect(), AddRectFilled(), AddImageRounded(), PathRect() @@ -3147,11 +3294,26 @@ enum ImDrawCornerFlags_ ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, }; +// RENAMED and MERGED both ImGuiKey_ModXXX and ImGuiModFlags_XXX into ImGuiMod_XXX (from September 2022) +// RENAMED ImGuiKeyModFlags -> ImGuiModFlags in 1.88 (from April 2022). Exceptionally commented out ahead of obscolescence schedule to reduce confusion and because they were not meant to be used in the first place. +typedef ImGuiKeyChord ImGuiModFlags; // == int. We generally use ImGuiKeyChord to mean "a ImGuiKey or-ed with any number of ImGuiMod_XXX value", but you may store only mods in there. +enum ImGuiModFlags_ { ImGuiModFlags_None = 0, ImGuiModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiModFlags_Shift = ImGuiMod_Shift, ImGuiModFlags_Alt = ImGuiMod_Alt, ImGuiModFlags_Super = ImGuiMod_Super }; +//typedef ImGuiKeyChord ImGuiKeyModFlags; // == int +//enum ImGuiKeyModFlags_ { ImGuiKeyModFlags_None = 0, ImGuiKeyModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiKeyModFlags_Shift = ImGuiMod_Shift, ImGuiKeyModFlags_Alt = ImGuiMod_Alt, ImGuiKeyModFlags_Super = ImGuiMod_Super }; + #endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// RENAMED IMGUI_DISABLE_METRICS_WINDOW > IMGUI_DISABLE_DEBUG_TOOLS in 1.88 (from June 2022) +#if defined(IMGUI_DISABLE_METRICS_WINDOW) && !defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) && !defined(IMGUI_DISABLE_DEBUG_TOOLS) +#define IMGUI_DISABLE_DEBUG_TOOLS +#endif +#if defined(IMGUI_DISABLE_METRICS_WINDOW) && defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) +#error IMGUI_DISABLE_METRICS_WINDOW was renamed to IMGUI_DISABLE_DEBUG_TOOLS, please use new name. +#endif + //----------------------------------------------------------------------------- #if defined(__clang__) diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui_demo.cpp b/imgui-sys/third-party/imgui-docking/imgui/imgui_demo.cpp index 5d6779e..45308de 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui_demo.cpp +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui_demo.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (demo code) // Help: @@ -8,11 +8,15 @@ // Read imgui.cpp for more details, documentation and comments. // Get the latest version at https://github.com/ocornut/imgui +// ------------------------------------------------- +// PLEASE DO NOT REMOVE THIS FILE FROM YOUR PROJECT! +// ------------------------------------------------- // Message to the person tempted to delete this file when integrating Dear ImGui into their codebase: -// Do NOT remove this file from your project! Think again! It is the most useful reference code that you and other -// coders will want to refer to and call. Have the ImGui::ShowDemoWindow() function wired in an always-available -// debug menu of your game/app! Removing this file from your project is hindering access to documentation for everyone -// in your team, likely leading you to poorer usage of the library. +// Think again! It is the most useful reference code that you and other coders will want to refer to and call. +// Have the ImGui::ShowDemoWindow() function wired in an always-available debug menu of your game/app! +// Also include Metrics! ItemPicker! DebugLog! and other debug features. +// Removing this file from your project is hindering access to documentation for everyone in your team, +// likely leading you to poorer usage of the library. // Everything in this file will be stripped out by the linker if you don't call ImGui::ShowDemoWindow(). // If you want to link core Dear ImGui in your shipped builds but want a thorough guarantee that the demo will not be // linked, you can setup your imconfig.h with #define IMGUI_DISABLE_DEMO_WINDOWS and those functions will be empty. @@ -39,22 +43,25 @@ // Because we can't assume anything about your support of maths operators, we cannot use them in imgui_demo.cpp. // Navigating this file: -// - In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // - With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. /* Index of this file: -// [SECTION] Forward Declarations, Helpers +// [SECTION] Forward Declarations +// [SECTION] Helpers // [SECTION] Demo Window / ShowDemoWindow() +// - ShowDemoWindow() // - sub section: ShowDemoWindowWidgets() // - sub section: ShowDemoWindowLayout() // - sub section: ShowDemoWindowPopups() // - sub section: ShowDemoWindowTables() -// - sub section: ShowDemoWindowMisc() +// - sub section: ShowDemoWindowInputs() // [SECTION] About Window / ShowAboutWindow() // [SECTION] Style Editor / ShowStyleEditor() +// [SECTION] User Guide / ShowUserGuide() // [SECTION] Example App: Main Menu Bar / ShowExampleAppMainMenuBar() // [SECTION] Example App: Debug Console / ShowExampleAppConsole() // [SECTION] Example App: Debug Log / ShowExampleAppLog() @@ -93,8 +100,9 @@ Index of this file: // Visual Studio warnings #ifdef _MSC_VER +#pragma warning (disable: 4127) // condition expression is constant #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen -#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to an 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). #endif // Clang/GCC warnings with -Weverything @@ -187,12 +195,25 @@ static void ShowExampleAppWindowTitles(bool* p_open); static void ShowExampleAppCustomRendering(bool* p_open); static void ShowExampleMenuFile(); +// We split the contents of the big ShowDemoWindow() function into smaller functions +// (because the link time of very large functions grow non-linearly) +static void ShowDemoWindowWidgets(); +static void ShowDemoWindowLayout(); +static void ShowDemoWindowPopups(); +static void ShowDemoWindowTables(); +static void ShowDemoWindowColumns(); +static void ShowDemoWindowInputs(); + +//----------------------------------------------------------------------------- +// [SECTION] Helpers +//----------------------------------------------------------------------------- + // Helper to display a little (?) mark which shows a tooltip when hovered. // In your own code you may want to display an actual icon if you are using a merged icon fonts (see docs/FONTS.md) static void HelpMarker(const char* desc) { ImGui::TextDisabled("(?)"); - if (ImGui::IsItemHovered()) + if (ImGui::IsItemHovered(ImGuiHoveredFlags_DelayShort)) { ImGui::BeginTooltip(); ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f); @@ -212,80 +233,39 @@ static void ShowDockingDisabledMessage() io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; } -// Helper to wire demo markers located in code to a interactive browser +// Helper to wire demo markers located in code to an interactive browser typedef void (*ImGuiDemoMarkerCallback)(const char* file, int line, const char* section, void* user_data); -extern ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback; -extern void* GImGuiDemoMarkerCallbackUserData; -ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback = NULL; -void* GImGuiDemoMarkerCallbackUserData = NULL; +extern ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback; +extern void* GImGuiDemoMarkerCallbackUserData; +ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback = NULL; +void* GImGuiDemoMarkerCallbackUserData = NULL; #define IMGUI_DEMO_MARKER(section) do { if (GImGuiDemoMarkerCallback != NULL) GImGuiDemoMarkerCallback(__FILE__, __LINE__, section, GImGuiDemoMarkerCallbackUserData); } while (0) -// Helper to display basic user controls. -void ImGui::ShowUserGuide() -{ - ImGuiIO& io = ImGui::GetIO(); - ImGui::BulletText("Double-click on title bar to collapse window."); - ImGui::BulletText( - "Click and drag on lower corner to resize window\n" - "(double-click to auto fit window to its contents)."); - ImGui::BulletText("CTRL+Click on a slider or drag box to input value as text."); - ImGui::BulletText("TAB/SHIFT+TAB to cycle through keyboard editable fields."); - ImGui::BulletText("CTRL+Tab to select a window."); - if (io.FontAllowUserScaling) - ImGui::BulletText("CTRL+Mouse Wheel to zoom window contents."); - ImGui::BulletText("While inputing text:\n"); - ImGui::Indent(); - ImGui::BulletText("CTRL+Left/Right to word jump."); - ImGui::BulletText("CTRL+A or double-click to select all."); - ImGui::BulletText("CTRL+X/C/V to use clipboard cut/copy/paste."); - ImGui::BulletText("CTRL+Z,CTRL+Y to undo/redo."); - ImGui::BulletText("ESCAPE to revert."); - ImGui::BulletText("You can apply arithmetic operators +,*,/ on numerical values.\nUse +- to subtract."); - ImGui::Unindent(); - ImGui::BulletText("With keyboard navigation enabled:"); - ImGui::Indent(); - ImGui::BulletText("Arrow keys to navigate."); - ImGui::BulletText("Space to activate a widget."); - ImGui::BulletText("Return to input text into a widget."); - ImGui::BulletText("Escape to deactivate a widget, close popup, exit child window."); - ImGui::BulletText("Alt to jump to the menu layer of a window."); - ImGui::Unindent(); -} - //----------------------------------------------------------------------------- // [SECTION] Demo Window / ShowDemoWindow() //----------------------------------------------------------------------------- +// - ShowDemoWindow() // - ShowDemoWindowWidgets() // - ShowDemoWindowLayout() // - ShowDemoWindowPopups() // - ShowDemoWindowTables() // - ShowDemoWindowColumns() -// - ShowDemoWindowMisc() +// - ShowDemoWindowInputs() //----------------------------------------------------------------------------- -// We split the contents of the big ShowDemoWindow() function into smaller functions -// (because the link time of very large functions grow non-linearly) -static void ShowDemoWindowWidgets(); -static void ShowDemoWindowLayout(); -static void ShowDemoWindowPopups(); -static void ShowDemoWindowTables(); -static void ShowDemoWindowColumns(); -static void ShowDemoWindowMisc(); - // Demonstrate most Dear ImGui features (this is big function!) // You may execute this function to experiment with the UI and understand what it does. // You may then search for keywords in the code when you are interested by a specific feature. void ImGui::ShowDemoWindow(bool* p_open) { // Exceptionally add an extra assert here for people confused about initial Dear ImGui setup - // Most ImGui functions would normally just crash if the context is missing. + // Most functions would normally just crash if the context is missing. IM_ASSERT(ImGui::GetCurrentContext() != NULL && "Missing dear imgui context. Refer to examples app!"); // Examples Apps (accessible from the "Examples" menu) static bool show_app_main_menu_bar = false; static bool show_app_dockspace = false; static bool show_app_documents = false; - static bool show_app_console = false; static bool show_app_log = false; static bool show_app_layout = false; @@ -301,7 +281,6 @@ void ImGui::ShowDemoWindow(bool* p_open) if (show_app_main_menu_bar) ShowExampleAppMainMenuBar(); if (show_app_dockspace) ShowExampleAppDockSpace(&show_app_dockspace); // Process the Docking app first, as explicit DockSpace() nodes needs to be submitted early (read comments near the DockSpace function) if (show_app_documents) ShowExampleAppDocuments(&show_app_documents); // Process the Document app next, as it may also use a DockSpace() - if (show_app_console) ShowExampleAppConsole(&show_app_console); if (show_app_log) ShowExampleAppLog(&show_app_log); if (show_app_layout) ShowExampleAppLayout(&show_app_layout); @@ -314,15 +293,21 @@ void ImGui::ShowDemoWindow(bool* p_open) if (show_app_window_titles) ShowExampleAppWindowTitles(&show_app_window_titles); if (show_app_custom_rendering) ShowExampleAppCustomRendering(&show_app_custom_rendering); - // Dear ImGui Apps (accessible from the "Tools" menu) + // Dear ImGui Tools/Apps (accessible from the "Tools" menu) static bool show_app_metrics = false; + static bool show_app_debug_log = false; static bool show_app_stack_tool = false; - static bool show_app_style_editor = false; static bool show_app_about = false; + static bool show_app_style_editor = false; - if (show_app_metrics) { ImGui::ShowMetricsWindow(&show_app_metrics); } - if (show_app_stack_tool) { ImGui::ShowStackToolWindow(&show_app_stack_tool); } - if (show_app_about) { ImGui::ShowAboutWindow(&show_app_about); } + if (show_app_metrics) + ImGui::ShowMetricsWindow(&show_app_metrics); + if (show_app_debug_log) + ImGui::ShowDebugLogWindow(&show_app_debug_log); + if (show_app_stack_tool) + ImGui::ShowStackToolWindow(&show_app_stack_tool); + if (show_app_about) + ImGui::ShowAboutWindow(&show_app_about); if (show_app_style_editor) { ImGui::Begin("Dear ImGui Style Editor", &show_app_style_editor); @@ -373,10 +358,8 @@ void ImGui::ShowDemoWindow(bool* p_open) } // Most "big" widgets share a common width settings by default. See 'Demo->Layout->Widgets Width' for details. - // e.g. Use 2/3 of the space for widgets and 1/3 for labels (right align) //ImGui::PushItemWidth(-ImGui::GetWindowWidth() * 0.35f); - // e.g. Leave a fixed amount of width for labels (by passing a negative value), the rest goes to widgets. ImGui::PushItemWidth(ImGui::GetFontSize() * -12); @@ -412,10 +395,14 @@ void ImGui::ShowDemoWindow(bool* p_open) if (ImGui::BeginMenu("Tools")) { IMGUI_DEMO_MARKER("Menu/Tools"); -#ifndef IMGUI_DISABLE_METRICS_WINDOW - ImGui::MenuItem("Metrics/Debugger", NULL, &show_app_metrics); - ImGui::MenuItem("Stack Tool", NULL, &show_app_stack_tool); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + const bool has_debug_tools = true; +#else + const bool has_debug_tools = false; #endif + ImGui::MenuItem("Metrics/Debugger", NULL, &show_app_metrics, has_debug_tools); + ImGui::MenuItem("Debug Log", NULL, &show_app_debug_log, has_debug_tools); + ImGui::MenuItem("Stack Tool", NULL, &show_app_stack_tool, has_debug_tools); ImGui::MenuItem("Style Editor", NULL, &show_app_style_editor); ImGui::MenuItem("About Dear ImGui", NULL, &show_app_about); ImGui::EndMenu(); @@ -423,7 +410,7 @@ void ImGui::ShowDemoWindow(bool* p_open) ImGui::EndMenuBar(); } - ImGui::Text("dear imgui says hello. (%s)", IMGUI_VERSION); + ImGui::Text("dear imgui says hello! (%s) (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM); ImGui::Spacing(); IMGUI_DEMO_MARKER("Help"); @@ -471,7 +458,7 @@ void ImGui::ShowDemoWindow(bool* p_open) ImGui::SameLine(); ImGui::Text("<>"); } - if (ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Space))) + if (ImGui::IsKeyPressed(ImGuiKey_Space)) io.ConfigFlags &= ~ImGuiConfigFlags_NoMouse; } ImGui::CheckboxFlags("io.ConfigFlags: NoMouseCursorChange", &io.ConfigFlags, ImGuiConfigFlags_NoMouseCursorChange); @@ -513,8 +500,12 @@ void ImGui::ShowDemoWindow(bool* p_open) ImGui::Unindent(); } + ImGui::Checkbox("io.ConfigInputTrickleEventQueue", &io.ConfigInputTrickleEventQueue); + ImGui::SameLine(); HelpMarker("Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates."); ImGui::Checkbox("io.ConfigInputTextCursorBlink", &io.ConfigInputTextCursorBlink); - ImGui::SameLine(); HelpMarker("Enable blinking cursor (optional as some users consider it to be distracting)"); + ImGui::SameLine(); HelpMarker("Enable blinking cursor (optional as some users consider it to be distracting)."); + ImGui::Checkbox("io.ConfigInputTextEnterKeepActive", &io.ConfigInputTextEnterKeepActive); + ImGui::SameLine(); HelpMarker("Pressing Enter will keep item active and select contents (single-line only)."); ImGui::Checkbox("io.ConfigDragClickToInputText", &io.ConfigDragClickToInputText); ImGui::SameLine(); HelpMarker("Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving)."); ImGui::Checkbox("io.ConfigWindowsResizeFromEdges", &io.ConfigWindowsResizeFromEdges); @@ -535,6 +526,7 @@ void ImGui::ShowDemoWindow(bool* p_open) "Here we expose them as read-only fields to avoid breaking interactions with your backend."); // Make a local copy to avoid modifying actual backend flags. + // FIXME: We don't use BeginDisabled() to keep label bright, maybe we need a BeginReadonly() equivalent.. ImGuiBackendFlags backend_flags = io.BackendFlags; ImGui::CheckboxFlags("io.BackendFlags: HasGamepad", &backend_flags, ImGuiBackendFlags_HasGamepad); ImGui::CheckboxFlags("io.BackendFlags: HasMouseCursors", &backend_flags, ImGuiBackendFlags_HasMouseCursors); @@ -602,7 +594,7 @@ void ImGui::ShowDemoWindow(bool* p_open) ShowDemoWindowLayout(); ShowDemoWindowPopups(); ShowDemoWindowTables(); - ShowDemoWindowMisc(); + ShowDemoWindowInputs(); // End of ShowDemoWindow() ImGui::PopItemWidth(); @@ -676,22 +668,6 @@ static void ShowDemoWindowWidgets() ImGui::SameLine(); ImGui::Text("%d", counter); - IMGUI_DEMO_MARKER("Widgets/Basic/Tooltips"); - ImGui::Text("Hover over me"); - if (ImGui::IsItemHovered()) - ImGui::SetTooltip("I am a tooltip"); - - ImGui::SameLine(); - ImGui::Text("- or me"); - if (ImGui::IsItemHovered()) - { - ImGui::BeginTooltip(); - ImGui::Text("I am a fancy tooltip"); - static float arr[] = { 0.6f, 0.1f, 1.0f, 0.5f, 0.92f, 0.1f, 0.2f }; - ImGui::PlotLines("Curve", arr, IM_ARRAYSIZE(arr)); - ImGui::EndTooltip(); - } - ImGui::Separator(); ImGui::LabelText("label", "Value"); @@ -716,7 +692,7 @@ static void ShowDemoWindowWidgets() "USER:\n" "Hold SHIFT or use mouse to select text.\n" "CTRL+Left/Right to word jump.\n" - "CTRL+A or double-click to select all.\n" + "CTRL+A or Double-Click to select all.\n" "CTRL+X,CTRL+C,CTRL+V clipboard.\n" "CTRL+Z,CTRL+Y undo/redo.\n" "ESCAPE to revert.\n\n" @@ -731,10 +707,6 @@ static void ShowDemoWindowWidgets() IMGUI_DEMO_MARKER("Widgets/Basic/InputInt, InputFloat"); static int i0 = 123; ImGui::InputInt("input int", &i0); - ImGui::SameLine(); HelpMarker( - "You can apply arithmetic operators +,*,/ on numerical values.\n" - " e.g. [ 100 ], input \'*2\', result becomes [ 200 ]\n" - "Use +- to subtract."); static float f0 = 0.001f; ImGui::InputFloat("input float", &f0, 0.01f, 1.0f, "%.3f"); @@ -819,6 +791,40 @@ static void ShowDemoWindowWidgets() "Using the simplified one-liner ListBox API here.\nRefer to the \"List boxes\" section below for an explanation of how to use the more flexible and general BeginListBox/EndListBox API."); } + { + // Tooltips + IMGUI_DEMO_MARKER("Widgets/Basic/Tooltips"); + ImGui::AlignTextToFramePadding(); + ImGui::Text("Tooltips:"); + + ImGui::SameLine(); + ImGui::Button("Button"); + if (ImGui::IsItemHovered()) + ImGui::SetTooltip("I am a tooltip"); + + ImGui::SameLine(); + ImGui::Button("Fancy"); + if (ImGui::IsItemHovered()) + { + ImGui::BeginTooltip(); + ImGui::Text("I am a fancy tooltip"); + static float arr[] = { 0.6f, 0.1f, 1.0f, 0.5f, 0.92f, 0.1f, 0.2f }; + ImGui::PlotLines("Curve", arr, IM_ARRAYSIZE(arr)); + ImGui::Text("Sin(time) = %f", sinf((float)ImGui::GetTime())); + ImGui::EndTooltip(); + } + + ImGui::SameLine(); + ImGui::Button("Delayed"); + if (ImGui::IsItemHovered(ImGuiHoveredFlags_DelayNormal)) // Delay best used on items that highlight on hover, so this not a great example! + ImGui::SetTooltip("I am a tooltip with a delay."); + + ImGui::SameLine(); + HelpMarker( + "Tooltip are created by using the IsItemHovered() function over any kind of item."); + + } + ImGui::TreePop(); } @@ -1037,7 +1043,7 @@ static void ShowDemoWindowWidgets() // Note that characters values are preserved even by InputText() if the font cannot be displayed, // so you can safely copy & paste garbled characters into another application. ImGui::TextWrapped( - "CJK text will only appears if the font was loaded with the appropriate CJK character ranges. " + "CJK text will only appear if the font was loaded with the appropriate CJK character ranges. " "Call io.Fonts->AddFontFromFileTTF() manually to load extra character ranges. " "Read docs/FONTS.md for details."); ImGui::Text("Hiragana: \xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91\xe3\x81\x93 (kakikukeko)"); // Normally we would use u8"blah blah" with the proper characters directly in the string. @@ -1110,15 +1116,21 @@ static void ShowDemoWindowWidgets() static int pressed_count = 0; for (int i = 0; i < 8; i++) { + // UV coordinates are often (0.0f, 0.0f) and (1.0f, 1.0f) to display an entire textures. + // Here are trying to display only a 32x32 pixels area of the texture, hence the UV computation. + // Read about UV coordinates here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples ImGui::PushID(i); - int frame_padding = -1 + i; // -1 == uses default padding (style.FramePadding) - ImVec2 size = ImVec2(32.0f, 32.0f); // Size of the image we want to make visible - ImVec2 uv0 = ImVec2(0.0f, 0.0f); // UV coordinates for lower-left - ImVec2 uv1 = ImVec2(32.0f / my_tex_w, 32.0f / my_tex_h);// UV coordinates for (32,32) in our texture - ImVec4 bg_col = ImVec4(0.0f, 0.0f, 0.0f, 1.0f); // Black background - ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); // No tint - if (ImGui::ImageButton(my_tex_id, size, uv0, uv1, frame_padding, bg_col, tint_col)) + if (i > 0) + ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(i - 1.0f, i - 1.0f)); + ImVec2 size = ImVec2(32.0f, 32.0f); // Size of the image we want to make visible + ImVec2 uv0 = ImVec2(0.0f, 0.0f); // UV coordinates for lower-left + ImVec2 uv1 = ImVec2(32.0f / my_tex_w, 32.0f / my_tex_h); // UV coordinates for (32,32) in our texture + ImVec4 bg_col = ImVec4(0.0f, 0.0f, 0.0f, 1.0f); // Black background + ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); // No tint + if (ImGui::ImageButton("", my_tex_id, size, uv0, uv1, bg_col, tint_col)) pressed_count += 1; + if (i > 0) + ImGui::PopStyleVar(); ImGui::PopID(); ImGui::SameLine(); } @@ -1130,6 +1142,7 @@ static void ShowDemoWindowWidgets() IMGUI_DEMO_MARKER("Widgets/Combo"); if (ImGui::TreeNode("Combo")) { + // Combo Boxes are also called "Dropdown" in other systems // Expose flags as checkbox for the demo static ImGuiComboFlags flags = 0; ImGui::CheckboxFlags("ImGuiComboFlags_PopupAlignLeft", &flags, ImGuiComboFlags_PopupAlignLeft); @@ -1494,7 +1507,7 @@ static void ShowDemoWindowWidgets() static char buf3[64]; static int edit_count = 0; ImGui::InputText("Edit", buf3, 64, ImGuiInputTextFlags_CallbackEdit, Funcs::MyCallback, (void*)&edit_count); - ImGui::SameLine(); HelpMarker("Here we toggle the casing of the first character on every edits + count edits."); + ImGui::SameLine(); HelpMarker("Here we toggle the casing of the first character on every edit + count edits."); ImGui::SameLine(); ImGui::Text("(%d)", edit_count); ImGui::TreePop(); @@ -1914,10 +1927,9 @@ static void ShowDemoWindowWidgets() ImGui::Combo("Display Mode", &display_mode, "Auto/Current\0None\0RGB Only\0HSV Only\0Hex Only\0"); ImGui::SameLine(); HelpMarker( "ColorEdit defaults to displaying RGB inputs if you don't specify a display mode, " - "but the user can change it with a right-click.\n\nColorPicker defaults to displaying RGB+HSV+Hex " + "but the user can change it with a right-click on those inputs.\n\nColorPicker defaults to displaying RGB+HSV+Hex " "if you don't specify a display mode.\n\nYou can change the defaults using SetColorEditOptions()."); - ImGui::Combo("Picker Mode", &picker_mode, "Auto/Current\0Hue bar + SV rect\0Hue wheel + SV triangle\0"); - ImGui::SameLine(); HelpMarker("User can right-click the picker to change mode."); + ImGui::SameLine(); HelpMarker("When not specified explicitly (Auto/Current mode), user can right-click the picker to change mode."); ImGuiColorEditFlags flags = misc_flags; if (!alpha) flags |= ImGuiColorEditFlags_NoAlpha; // This is by default if you call ColorPicker3() instead of ColorPicker4() if (alpha_bar) flags |= ImGuiColorEditFlags_AlphaBar; @@ -1941,6 +1953,15 @@ static void ShowDemoWindowWidgets() if (ImGui::Button("Default: Float + HDR + Hue Wheel")) ImGui::SetColorEditOptions(ImGuiColorEditFlags_Float | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_PickerHueWheel); + // Always both a small version of both types of pickers (to make it more visible in the demo to people who are skimming quickly through it) + ImGui::Text("Both types:"); + float w = (ImGui::GetContentRegionAvail().x - ImGui::GetStyle().ItemSpacing.y) * 0.40f; + ImGui::SetNextItemWidth(w); + ImGui::ColorPicker3("##MyColor##5", (float*)&color, ImGuiColorEditFlags_PickerHueBar | ImGuiColorEditFlags_NoSidePreview | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoAlpha); + ImGui::SameLine(); + ImGui::SetNextItemWidth(w); + ImGui::ColorPicker3("##MyColor##6", (float*)&color, ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_NoSidePreview | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoAlpha); + // HSV encoded support (to avoid RGB<>HSV round trips and singularities when S==0 or V==0) static ImVec4 color_hsv(0.23f, 1.0f, 1.0f, 1.0f); // Stored as HSV! ImGui::Spacing(); @@ -2011,7 +2032,7 @@ static void ShowDemoWindowWidgets() // - integer/float/double // To avoid polluting the public API with all possible combinations, we use the ImGuiDataType enum // to pass the type, and passing all arguments by pointer. - // This is the reason the test code below creates local variables to hold "zero" "one" etc. for each types. + // This is the reason the test code below creates local variables to hold "zero" "one" etc. for each type. // In practice, if you frequently use a given type that is not covered by the normal API entry points, // you can wrap it yourself inside a 1 line function which can take typed argument as value instead of void*, // and then pass their address to the generic function. For example: @@ -2056,13 +2077,14 @@ static void ShowDemoWindowWidgets() ImGui::Text("Drags:"); ImGui::Checkbox("Clamp integers to 0..50", &drag_clamp); ImGui::SameLine(); HelpMarker( - "As with every widgets in dear imgui, we never modify values unless there is a user interaction.\n" + "As with every widget in dear imgui, we never modify values unless there is a user interaction.\n" "You can override the clamping limits by using CTRL+Click to input a value."); ImGui::DragScalar("drag s8", ImGuiDataType_S8, &s8_v, drag_speed, drag_clamp ? &s8_zero : NULL, drag_clamp ? &s8_fifty : NULL); ImGui::DragScalar("drag u8", ImGuiDataType_U8, &u8_v, drag_speed, drag_clamp ? &u8_zero : NULL, drag_clamp ? &u8_fifty : NULL, "%u ms"); ImGui::DragScalar("drag s16", ImGuiDataType_S16, &s16_v, drag_speed, drag_clamp ? &s16_zero : NULL, drag_clamp ? &s16_fifty : NULL); ImGui::DragScalar("drag u16", ImGuiDataType_U16, &u16_v, drag_speed, drag_clamp ? &u16_zero : NULL, drag_clamp ? &u16_fifty : NULL, "%u ms"); ImGui::DragScalar("drag s32", ImGuiDataType_S32, &s32_v, drag_speed, drag_clamp ? &s32_zero : NULL, drag_clamp ? &s32_fifty : NULL); + ImGui::DragScalar("drag s32 hex", ImGuiDataType_S32, &s32_v, drag_speed, drag_clamp ? &s32_zero : NULL, drag_clamp ? &s32_fifty : NULL, "0x%08X"); ImGui::DragScalar("drag u32", ImGuiDataType_U32, &u32_v, drag_speed, drag_clamp ? &u32_zero : NULL, drag_clamp ? &u32_fifty : NULL, "%u ms"); ImGui::DragScalar("drag s64", ImGuiDataType_S64, &s64_v, drag_speed, drag_clamp ? &s64_zero : NULL, drag_clamp ? &s64_fifty : NULL); ImGui::DragScalar("drag u64", ImGuiDataType_U64, &u64_v, drag_speed, drag_clamp ? &u64_zero : NULL, drag_clamp ? &u64_fifty : NULL); @@ -2080,6 +2102,7 @@ static void ShowDemoWindowWidgets() ImGui::SliderScalar("slider s32 low", ImGuiDataType_S32, &s32_v, &s32_zero, &s32_fifty,"%d"); ImGui::SliderScalar("slider s32 high", ImGuiDataType_S32, &s32_v, &s32_hi_a, &s32_hi_b, "%d"); ImGui::SliderScalar("slider s32 full", ImGuiDataType_S32, &s32_v, &s32_min, &s32_max, "%d"); + ImGui::SliderScalar("slider s32 hex", ImGuiDataType_S32, &s32_v, &s32_zero, &s32_fifty, "0x%04X"); ImGui::SliderScalar("slider u32 low", ImGuiDataType_U32, &u32_v, &u32_zero, &u32_fifty,"%u"); ImGui::SliderScalar("slider u32 high", ImGuiDataType_U32, &u32_v, &u32_hi_a, &u32_hi_b, "%u"); ImGui::SliderScalar("slider u32 full", ImGuiDataType_U32, &u32_v, &u32_min, &u32_max, "%u"); @@ -2113,9 +2136,9 @@ static void ShowDemoWindowWidgets() ImGui::InputScalar("input s16", ImGuiDataType_S16, &s16_v, inputs_step ? &s16_one : NULL, NULL, "%d"); ImGui::InputScalar("input u16", ImGuiDataType_U16, &u16_v, inputs_step ? &u16_one : NULL, NULL, "%u"); ImGui::InputScalar("input s32", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%d"); - ImGui::InputScalar("input s32 hex", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%08X", ImGuiInputTextFlags_CharsHexadecimal); + ImGui::InputScalar("input s32 hex", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%04X"); ImGui::InputScalar("input u32", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%u"); - ImGui::InputScalar("input u32 hex", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%08X", ImGuiInputTextFlags_CharsHexadecimal); + ImGui::InputScalar("input u32 hex", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%08X"); ImGui::InputScalar("input s64", ImGuiDataType_S64, &s64_v, inputs_step ? &s64_one : NULL); ImGui::InputScalar("input u64", ImGuiDataType_U64, &u64_v, inputs_step ? &u64_one : NULL); ImGui::InputScalar("input float", ImGuiDataType_Float, &f32_v, inputs_step ? &f32_one : NULL); @@ -2353,7 +2376,7 @@ static void ShowDemoWindowWidgets() HelpMarker("Testing how various types of items are interacting with the IsItemXXX functions. Note that the bool return value of most ImGui function is generally equivalent to calling ImGui::IsItemHovered()."); ImGui::Checkbox("Item Disabled", &item_disabled); - // Submit selected item item so we can query their status in the code following it. + // Submit selected items so we can query their status in the code following it. bool ret = false; static bool b = false; static float col4f[4] = { 1.0f, 0.5, 0.0f, 1.0f }; @@ -2377,6 +2400,10 @@ static void ShowDemoWindowWidgets() if (item_type == 14){ const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi" }; static int current = 1; ret = ImGui::Combo("ITEM: Combo", ¤t, items, IM_ARRAYSIZE(items)); } if (item_type == 15){ const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi" }; static int current = 1; ret = ImGui::ListBox("ITEM: ListBox", ¤t, items, IM_ARRAYSIZE(items), IM_ARRAYSIZE(items)); } + bool hovered_delay_none = ImGui::IsItemHovered(); + bool hovered_delay_short = ImGui::IsItemHovered(ImGuiHoveredFlags_DelayShort); + bool hovered_delay_normal = ImGui::IsItemHovered(ImGuiHoveredFlags_DelayNormal); + // Display the values of IsItemHovered() and other common item state functions. // Note that the ImGuiHoveredFlags_XXX flags can be combined. // Because BulletText is an item itself and that would affect the output of IsItemXXX functions, @@ -2421,6 +2448,8 @@ static void ShowDemoWindowWidgets() ImGui::GetItemRectMax().x, ImGui::GetItemRectMax().y, ImGui::GetItemRectSize().x, ImGui::GetItemRectSize().y ); + ImGui::BulletText( + "w/ Hovering Delay: None = %d, Fast %d, Normal = %d", hovered_delay_none, hovered_delay_short, hovered_delay_normal); if (item_disabled) ImGui::EndDisabled(); @@ -2540,6 +2569,26 @@ static void ShowDemoWindowWidgets() ImGui::SameLine(); HelpMarker("Demonstrate using BeginDisabled()/EndDisabled() across this section."); ImGui::TreePop(); } + + IMGUI_DEMO_MARKER("Widgets/Text Filter"); + if (ImGui::TreeNode("Text Filter")) + { + // Helper class to easy setup a text filter. + // You may want to implement a more feature-full filtering scheme in your own application. + HelpMarker("Not a widget per-se, but ImGuiTextFilter is a helper to perform simple filtering on text strings."); + static ImGuiTextFilter filter; + ImGui::Text("Filter usage:\n" + " \"\" display all lines\n" + " \"xxx\" display lines containing \"xxx\"\n" + " \"xxx,yyy\" display lines containing \"xxx\" or \"yyy\"\n" + " \"-xxx\" hide lines containing \"xxx\""); + filter.Draw(); + const char* lines[] = { "aaa1.c", "bbb1.c", "ccc1.c", "aaa2.cpp", "bbb2.cpp", "ccc2.cpp", "abc.h", "hello, world" }; + for (int i = 0; i < IM_ARRAYSIZE(lines); i++) + if (filter.PassFilter(lines[i])) + ImGui::BulletText("%s", lines[i]); + ImGui::TreePop(); + } } static void ShowDemoWindowLayout() @@ -3266,59 +3315,58 @@ static void ShowDemoWindowLayout() ImGui::DragFloat2("size", (float*)&size, 0.5f, 1.0f, 200.0f, "%.0f"); ImGui::TextWrapped("(Click and drag to scroll)"); + HelpMarker( + "(Left) Using ImGui::PushClipRect():\n" + "Will alter ImGui hit-testing logic + ImDrawList rendering.\n" + "(use this if you want your clipping rectangle to affect interactions)\n\n" + "(Center) Using ImDrawList::PushClipRect():\n" + "Will alter ImDrawList rendering only.\n" + "(use this as a shortcut if you are only using ImDrawList calls)\n\n" + "(Right) Using ImDrawList::AddText() with a fine ClipRect:\n" + "Will alter only this specific ImDrawList::AddText() rendering.\n" + "This is often used internally to avoid altering the clipping rectangle and minimize draw calls."); + for (int n = 0; n < 3; n++) { if (n > 0) ImGui::SameLine(); - ImGui::PushID(n); - ImGui::BeginGroup(); // Lock X position - ImGui::InvisibleButton("##empty", size); + ImGui::PushID(n); + ImGui::InvisibleButton("##canvas", size); if (ImGui::IsItemActive() && ImGui::IsMouseDragging(ImGuiMouseButton_Left)) { offset.x += ImGui::GetIO().MouseDelta.x; offset.y += ImGui::GetIO().MouseDelta.y; } + ImGui::PopID(); + if (!ImGui::IsItemVisible()) // Skip rendering as ImDrawList elements are not clipped. + continue; + const ImVec2 p0 = ImGui::GetItemRectMin(); const ImVec2 p1 = ImGui::GetItemRectMax(); const char* text_str = "Line 1 hello\nLine 2 clip me!"; const ImVec2 text_pos = ImVec2(p0.x + offset.x, p0.y + offset.y); ImDrawList* draw_list = ImGui::GetWindowDrawList(); - switch (n) { case 0: - HelpMarker( - "Using ImGui::PushClipRect():\n" - "Will alter ImGui hit-testing logic + ImDrawList rendering.\n" - "(use this if you want your clipping rectangle to affect interactions)"); ImGui::PushClipRect(p0, p1, true); draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); ImGui::PopClipRect(); break; case 1: - HelpMarker( - "Using ImDrawList::PushClipRect():\n" - "Will alter ImDrawList rendering only.\n" - "(use this as a shortcut if you are only using ImDrawList calls)"); draw_list->PushClipRect(p0, p1, true); draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); draw_list->PopClipRect(); break; case 2: - HelpMarker( - "Using ImDrawList::AddText() with a fine ClipRect:\n" - "Will alter only this specific ImDrawList::AddText() rendering.\n" - "(this is often used internally to avoid altering the clipping rectangle and minimize draw calls)"); ImVec4 clip_rect(p0.x, p0.y, p1.x, p1.y); // AddText() takes a ImVec4* here so let's convert. draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); draw_list->AddText(ImGui::GetFont(), ImGui::GetFontSize(), text_pos, IM_COL32_WHITE, text_str, NULL, 0.0f, &clip_rect); break; } - ImGui::EndGroup(); - ImGui::PopID(); } ImGui::TreePop(); @@ -3455,7 +3503,7 @@ static void ShowDemoWindowPopups() // if (IsItemHovered() && IsMouseReleased(ImGuiMouseButton_Right)) // OpenPopup(id); // return BeginPopup(id); - // For advanced advanced uses you may want to replicate and customize this code. + // For advanced uses you may want to replicate and customize this code. // See more details in BeginPopupContextItem(). // Example 1 @@ -3484,7 +3532,7 @@ static void ShowDemoWindowPopups() { HelpMarker("Text() elements don't have stable identifiers so we need to provide one."); static float value = 0.5f; - ImGui::Text("Value = %.3f <-- (1) right-click this value", value); + ImGui::Text("Value = %.3f <-- (1) right-click this text", value); if (ImGui::BeginPopupContextItem("my popup")) { if (ImGui::Selectable("Set to zero")) value = 0.0f; @@ -3611,26 +3659,19 @@ static void ShowDemoWindowPopups() ImGui::TextWrapped("Below we are testing adding menu items to a regular window. It's rather unusual but should work!"); ImGui::Separator(); - // Note: As a quirk in this very specific example, we want to differentiate the parent of this menu from the - // parent of the various popup menus above. To do so we are encloding the items in a PushID()/PopID() block - // to make them two different menusets. If we don't, opening any popup above and hovering our menu here would - // open it. This is because once a menu is active, we allow to switch to a sibling menu by just hovering on it, - // which is the desired behavior for regular menus. - ImGui::PushID("foo"); ImGui::MenuItem("Menu item", "CTRL+M"); if (ImGui::BeginMenu("Menu inside a regular window")) { ShowExampleMenuFile(); ImGui::EndMenu(); } - ImGui::PopID(); ImGui::Separator(); ImGui::TreePop(); } } // Dummy data structure that we use for the Table demo. -// (pre-C++11 doesn't allow us to instantiate ImVector template if this structure if defined inside the demo function) +// (pre-C++11 doesn't allow us to instantiate ImVector template if this structure is defined inside the demo function) namespace { // We are passing our own identifier to TableSetupColumn() to facilitate identifying columns in the sorting code. @@ -3849,7 +3890,7 @@ static void ShowDemoWindowTables() } // [Method 2] Using TableNextColumn() called multiple times, instead of using a for loop + TableSetColumnIndex(). - // This is generally more convenient when you have code manually submitting the contents of each columns. + // This is generally more convenient when you have code manually submitting the contents of each column. HelpMarker("Using TableNextRow() + calling TableNextColumn() _before_ each cell, manually."); if (ImGui::BeginTable("table2", 3)) { @@ -3867,10 +3908,10 @@ static void ShowDemoWindowTables() } // [Method 3] We call TableNextColumn() _before_ each cell. We never call TableNextRow(), - // as TableNextColumn() will automatically wrap around and create new roes as needed. + // as TableNextColumn() will automatically wrap around and create new rows as needed. // This is generally more convenient when your cells all contains the same type of data. HelpMarker( - "Only using TableNextColumn(), which tends to be convenient for tables where every cells contains the same type of contents.\n" + "Only using TableNextColumn(), which tends to be convenient for tables where every cell contains the same type of contents.\n" "This is also more similar to the old NextColumn() function of the Columns API, and provided to facilitate the Columns->Tables API transition."); if (ImGui::BeginTable("table3", 3)) { @@ -3922,7 +3963,7 @@ static void ShowDemoWindowTables() ImGui::SameLine(); ImGui::RadioButton("Text", &contents_type, CT_Text); ImGui::SameLine(); ImGui::RadioButton("FillButton", &contents_type, CT_FillButton); ImGui::Checkbox("Display headers", &display_headers); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appears in Headers"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appear in Headers"); PopStyleCompact(); if (ImGui::BeginTable("table1", 3, flags)) @@ -3947,7 +3988,7 @@ static void ShowDemoWindowTables() sprintf(buf, "Hello %d,%d", column, row); if (contents_type == CT_Text) ImGui::TextUnformatted(buf); - else if (contents_type) + else if (contents_type == CT_FillButton) ImGui::Button(buf, ImVec2(-FLT_MIN, 0.0f)); } } @@ -3961,8 +4002,8 @@ static void ShowDemoWindowTables() IMGUI_DEMO_MARKER("Tables/Resizable, stretch"); if (ImGui::TreeNode("Resizable, stretch")) { - // By default, if we don't enable ScrollX the sizing policy for each columns is "Stretch" - // Each columns maintain a sizing weight, and they will occupy all available width. + // By default, if we don't enable ScrollX the sizing policy for each column is "Stretch" + // All columns maintain a sizing weight, and they will occupy all available width. static ImGuiTableFlags flags = ImGuiTableFlags_SizingStretchSame | ImGuiTableFlags_Resizable | ImGuiTableFlags_BordersOuter | ImGuiTableFlags_BordersV | ImGuiTableFlags_ContextMenuInBody; PushStyleCompact(); ImGui::CheckboxFlags("ImGuiTableFlags_Resizable", &flags, ImGuiTableFlags_Resizable); @@ -4084,7 +4125,7 @@ static void ShowDemoWindowTables() ImGui::CheckboxFlags("ImGuiTableFlags_Reorderable", &flags, ImGuiTableFlags_Reorderable); ImGui::CheckboxFlags("ImGuiTableFlags_Hideable", &flags, ImGuiTableFlags_Hideable); ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers)"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers)"); PopStyleCompact(); if (ImGui::BeginTable("table1", 3, flags)) @@ -4142,7 +4183,7 @@ static void ShowDemoWindowTables() "- any form of row selection\n" "Because of this, activating BorderOuterV sets the default to PadOuterX. Using PadOuterX or NoPadOuterX you can override the default.\n\n" "Actual padding values are using style.CellPadding.\n\n" - "In this demo we don't show horizontal borders to emphasis how they don't affect default horizontal padding."); + "In this demo we don't show horizontal borders to emphasize how they don't affect default horizontal padding."); static ImGuiTableFlags flags1 = ImGuiTableFlags_BordersV; PushStyleCompact(); @@ -4491,14 +4532,16 @@ static void ShowDemoWindowTables() { ImGui::TableNextColumn(); ImGui::PushID(column); - ImGui::AlignTextToFramePadding(); // FIXME-TABLE: Workaround for wrong text baseline propagation + ImGui::AlignTextToFramePadding(); // FIXME-TABLE: Workaround for wrong text baseline propagation across columns ImGui::Text("'%s'", column_names[column]); ImGui::Spacing(); ImGui::Text("Input flags:"); EditTableColumnsFlags(&column_flags[column]); ImGui::Spacing(); ImGui::Text("Output flags:"); + ImGui::BeginDisabled(); ShowTableColumnsStatusFlags(column_flags_out[column]); + ImGui::EndDisabled(); ImGui::PopID(); } PopStyleCompact(); @@ -4609,7 +4652,7 @@ static void ShowDemoWindowTables() IMGUI_DEMO_MARKER("Tables/Nested tables"); if (ImGui::TreeNode("Nested tables")) { - HelpMarker("This demonstrate embedding a table into another table cell."); + HelpMarker("This demonstrates embedding a table into another table cell."); if (ImGui::BeginTable("table_nested1", 2, ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable)) { @@ -4654,7 +4697,7 @@ static void ShowDemoWindowTables() IMGUI_DEMO_MARKER("Tables/Row height"); if (ImGui::TreeNode("Row height")) { - HelpMarker("You can pass a 'min_row_height' to TableNextRow().\n\nRows are padded with 'style.CellPadding.y' on top and bottom, so effectively the minimum row height will always be >= 'style.CellPadding.y * 2.0f'.\n\nWe cannot honor a _maximum_ row height as that would requires a unique clipping rectangle per row."); + HelpMarker("You can pass a 'min_row_height' to TableNextRow().\n\nRows are padded with 'style.CellPadding.y' on top and bottom, so effectively the minimum row height will always be >= 'style.CellPadding.y * 2.0f'.\n\nWe cannot honor a _maximum_ row height as that would require a unique clipping rectangle per row."); if (ImGui::BeginTable("table_row_height", 1, ImGuiTableFlags_BordersOuter | ImGuiTableFlags_BordersInnerV)) { for (int row = 0; row < 10; row++) @@ -4903,7 +4946,7 @@ static void ShowDemoWindowTables() ImGui::TableSetColumnIndex(1); ImGui::SliderFloat("float1", &dummy_f, 0.0f, 1.0f); ImGui::TableSetColumnIndex(2); - ImGui::SliderFloat("float2", &dummy_f, 0.0f, 1.0f); + ImGui::SliderFloat("##float2", &dummy_f, 0.0f, 1.0f); // No visible label since right-aligned ImGui::PopID(); } ImGui::EndTable(); @@ -5216,7 +5259,7 @@ static void ShowDemoWindowTables() static bool show_headers = true; static bool show_wrapped_text = false; //static ImGuiTextFilter filter; - //ImGui::SetNextItemOpen(true, ImGuiCond_Once); // FIXME-TABLE: Enabling this results in initial clipped first pass on table which tend to affects column sizing + //ImGui::SetNextItemOpen(true, ImGuiCond_Once); // FIXME-TABLE: Enabling this results in initial clipped first pass on table which tend to affect column sizing if (ImGui::TreeNode("Options")) { // Make the UI compact because there are so many fields @@ -5243,8 +5286,8 @@ static void ShowDemoWindowTables() ImGui::CheckboxFlags("ImGuiTableFlags_BordersH", &flags, ImGuiTableFlags_BordersH); ImGui::CheckboxFlags("ImGuiTableFlags_BordersOuterH", &flags, ImGuiTableFlags_BordersOuterH); ImGui::CheckboxFlags("ImGuiTableFlags_BordersInnerH", &flags, ImGuiTableFlags_BordersInnerH); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appears in Headers"); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers)"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appear in Headers"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers)"); ImGui::TreePop(); } @@ -5307,7 +5350,7 @@ static void ShowDemoWindowTables() HelpMarker("If scrolling is disabled (ScrollX and ScrollY not set):\n" "- The table is output directly in the parent window.\n" "- OuterSize.x < 0.0f will right-align the table.\n" - "- OuterSize.x = 0.0f will narrow fit the table unless there are any Stretch column.\n" + "- OuterSize.x = 0.0f will narrow fit the table unless there are any Stretch columns.\n" "- OuterSize.y then becomes the minimum size for the table, which will extend vertically if there are more rows (unless NoHostExtendY is set)."); // From a user point of view we will tend to use 'inner_width' differently depending on whether our table is embedding scrolling. @@ -5712,38 +5755,28 @@ static void ShowDemoWindowColumns() ImGui::TreePop(); } -static void ShowDemoWindowMisc() -{ - IMGUI_DEMO_MARKER("Filtering"); - if (ImGui::CollapsingHeader("Filtering")) - { - // Helper class to easy setup a text filter. - // You may want to implement a more feature-full filtering scheme in your own application. - static ImGuiTextFilter filter; - ImGui::Text("Filter usage:\n" - " \"\" display all lines\n" - " \"xxx\" display lines containing \"xxx\"\n" - " \"xxx,yyy\" display lines containing \"xxx\" or \"yyy\"\n" - " \"-xxx\" hide lines containing \"xxx\""); - filter.Draw(); - const char* lines[] = { "aaa1.c", "bbb1.c", "ccc1.c", "aaa2.cpp", "bbb2.cpp", "ccc2.cpp", "abc.h", "hello, world" }; - for (int i = 0; i < IM_ARRAYSIZE(lines); i++) - if (filter.PassFilter(lines[i])) - ImGui::BulletText("%s", lines[i]); - } +namespace ImGui { extern ImGuiKeyData* GetKeyData(ImGuiKey key); } +static void ShowDemoWindowInputs() +{ IMGUI_DEMO_MARKER("Inputs, Navigation & Focus"); if (ImGui::CollapsingHeader("Inputs, Navigation & Focus")) { ImGuiIO& io = ImGui::GetIO(); // Display ImGuiIO output flags - ImGui::Text("WantCaptureMouse: %d", io.WantCaptureMouse); - ImGui::Text("WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); - ImGui::Text("WantCaptureKeyboard: %d", io.WantCaptureKeyboard); - ImGui::Text("WantTextInput: %d", io.WantTextInput); - ImGui::Text("WantSetMousePos: %d", io.WantSetMousePos); - ImGui::Text("NavActive: %d, NavVisible: %d", io.NavActive, io.NavVisible); + IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Output"); + ImGui::SetNextItemOpen(true, ImGuiCond_Once); + if (ImGui::TreeNode("Output")) + { + ImGui::Text("io.WantCaptureMouse: %d", io.WantCaptureMouse); + ImGui::Text("io.WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); + ImGui::Text("io.WantCaptureKeyboard: %d", io.WantCaptureKeyboard); + ImGui::Text("io.WantTextInput: %d", io.WantTextInput); + ImGui::Text("io.WantSetMousePos: %d", io.WantSetMousePos); + ImGui::Text("io.NavActive: %d, io.NavVisible: %d", io.NavActive, io.NavVisible); + ImGui::TreePop(); + } // Display Mouse state IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse State"); @@ -5764,26 +5797,138 @@ static void ShowDemoWindowMisc() ImGui::TreePop(); } - // Display Keyboard/Mouse state - IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Keyboard & Navigation State"); - if (ImGui::TreeNode("Keyboard & Navigation State")) + // Display mouse cursors + IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse Cursors"); + if (ImGui::TreeNode("Mouse Cursors")) { - ImGui::Text("Keys down:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyDown(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X) (%.02f secs)", i, i, io.KeysDownDuration[i]); } - ImGui::Text("Keys pressed:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyPressed(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X)", i, i); } - ImGui::Text("Keys release:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyReleased(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X)", i, i); } + const char* mouse_cursors_names[] = { "Arrow", "TextInput", "ResizeAll", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand", "NotAllowed" }; + IM_ASSERT(IM_ARRAYSIZE(mouse_cursors_names) == ImGuiMouseCursor_COUNT); + + ImGuiMouseCursor current = ImGui::GetMouseCursor(); + ImGui::Text("Current mouse cursor = %d: %s", current, mouse_cursors_names[current]); + ImGui::BeginDisabled(true); + ImGui::CheckboxFlags("io.BackendFlags: HasMouseCursors", &io.BackendFlags, ImGuiBackendFlags_HasMouseCursors); + ImGui::EndDisabled(); + + ImGui::Text("Hover to see mouse cursors:"); + ImGui::SameLine(); HelpMarker( + "Your application can render a different mouse cursor based on what ImGui::GetMouseCursor() returns. " + "If software cursor rendering (io.MouseDrawCursor) is set ImGui will draw the right cursor for you, " + "otherwise your backend needs to handle it."); + for (int i = 0; i < ImGuiMouseCursor_COUNT; i++) + { + char label[32]; + sprintf(label, "Mouse cursor %d: %s", i, mouse_cursors_names[i]); + ImGui::Bullet(); ImGui::Selectable(label, false); + if (ImGui::IsItemHovered()) + ImGui::SetMouseCursor(i); + } + ImGui::TreePop(); + } + + // Display Keyboard/Mouse state + IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Keyboard, Gamepad & Navigation State"); + if (ImGui::TreeNode("Keyboard, Gamepad & Navigation State")) + { + // We iterate both legacy native range and named ImGuiKey ranges, which is a little odd but this allows displaying the data for old/new backends. + // User code should never have to go through such hoops: old code may use native keycodes, new code may use ImGuiKey codes. +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + struct funcs { static bool IsLegacyNativeDupe(ImGuiKey) { return false; } }; + const ImGuiKey key_first = (ImGuiKey)ImGuiKey_NamedKey_BEGIN; +#else + struct funcs { static bool IsLegacyNativeDupe(ImGuiKey key) { return key < 512 && ImGui::GetIO().KeyMap[key] != -1; } }; // Hide Native<>ImGuiKey duplicates when both exists in the array + const ImGuiKey key_first = (ImGuiKey)0; + //ImGui::Text("Legacy raw:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key++) { if (io.KeysDown[key]) { ImGui::SameLine(); ImGui::Text("\"%s\" %d", ImGui::GetKeyName(key), key); } } +#endif + ImGui::Text("Keys down:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key = (ImGuiKey)(key + 1)) { if (funcs::IsLegacyNativeDupe(key)) continue; if (ImGui::IsKeyDown(key)) { ImGui::SameLine(); ImGui::Text("\"%s\" %d (%.02f)", ImGui::GetKeyName(key), key, ImGui::GetKeyData(key)->DownDuration); } } + ImGui::Text("Keys pressed:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key = (ImGuiKey)(key + 1)) { if (funcs::IsLegacyNativeDupe(key)) continue; if (ImGui::IsKeyPressed(key)) { ImGui::SameLine(); ImGui::Text("\"%s\" %d", ImGui::GetKeyName(key), key); } } + ImGui::Text("Keys released:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key = (ImGuiKey)(key + 1)) { if (funcs::IsLegacyNativeDupe(key)) continue; if (ImGui::IsKeyReleased(key)) { ImGui::SameLine(); ImGui::Text("\"%s\" %d", ImGui::GetKeyName(key), key); } } ImGui::Text("Keys mods: %s%s%s%s", io.KeyCtrl ? "CTRL " : "", io.KeyShift ? "SHIFT " : "", io.KeyAlt ? "ALT " : "", io.KeySuper ? "SUPER " : ""); ImGui::Text("Chars queue:"); for (int i = 0; i < io.InputQueueCharacters.Size; i++) { ImWchar c = io.InputQueueCharacters[i]; ImGui::SameLine(); ImGui::Text("\'%c\' (0x%04X)", (c > ' ' && c <= 255) ? (char)c : '?', c); } // FIXME: We should convert 'c' to UTF-8 here but the functions are not public. - ImGui::Text("NavInputs down:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputs[i] > 0.0f) { ImGui::SameLine(); ImGui::Text("[%d] %.2f (%.02f secs)", i, io.NavInputs[i], io.NavInputsDownDuration[i]); } - ImGui::Text("NavInputs pressed:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputsDownDuration[i] == 0.0f) { ImGui::SameLine(); ImGui::Text("[%d]", i); } + // Draw an arbitrary US keyboard layout to visualize translated keys + { + const ImVec2 key_size = ImVec2(35.0f, 35.0f); + const float key_rounding = 3.0f; + const ImVec2 key_face_size = ImVec2(25.0f, 25.0f); + const ImVec2 key_face_pos = ImVec2(5.0f, 3.0f); + const float key_face_rounding = 2.0f; + const ImVec2 key_label_pos = ImVec2(7.0f, 4.0f); + const ImVec2 key_step = ImVec2(key_size.x - 1.0f, key_size.y - 1.0f); + const float key_row_offset = 9.0f; + + ImVec2 board_min = ImGui::GetCursorScreenPos(); + ImVec2 board_max = ImVec2(board_min.x + 3 * key_step.x + 2 * key_row_offset + 10.0f, board_min.y + 3 * key_step.y + 10.0f); + ImVec2 start_pos = ImVec2(board_min.x + 5.0f - key_step.x, board_min.y); + + struct KeyLayoutData { int Row, Col; const char* Label; ImGuiKey Key; }; + const KeyLayoutData keys_to_display[] = + { + { 0, 0, "", ImGuiKey_Tab }, { 0, 1, "Q", ImGuiKey_Q }, { 0, 2, "W", ImGuiKey_W }, { 0, 3, "E", ImGuiKey_E }, { 0, 4, "R", ImGuiKey_R }, + { 1, 0, "", ImGuiKey_CapsLock }, { 1, 1, "A", ImGuiKey_A }, { 1, 2, "S", ImGuiKey_S }, { 1, 3, "D", ImGuiKey_D }, { 1, 4, "F", ImGuiKey_F }, + { 2, 0, "", ImGuiKey_LeftShift },{ 2, 1, "Z", ImGuiKey_Z }, { 2, 2, "X", ImGuiKey_X }, { 2, 3, "C", ImGuiKey_C }, { 2, 4, "V", ImGuiKey_V } + }; + + // Elements rendered manually via ImDrawList API are not clipped automatically. + // While not strictly necessary, here IsItemVisible() is used to avoid rendering these shapes when they are out of view. + ImGui::Dummy(ImVec2(board_max.x - board_min.x, board_max.y - board_min.y)); + if (ImGui::IsItemVisible()) + { + ImDrawList* draw_list = ImGui::GetWindowDrawList(); + draw_list->PushClipRect(board_min, board_max, true); + for (int n = 0; n < IM_ARRAYSIZE(keys_to_display); n++) + { + const KeyLayoutData* key_data = &keys_to_display[n]; + ImVec2 key_min = ImVec2(start_pos.x + key_data->Col * key_step.x + key_data->Row * key_row_offset, start_pos.y + key_data->Row * key_step.y); + ImVec2 key_max = ImVec2(key_min.x + key_size.x, key_min.y + key_size.y); + draw_list->AddRectFilled(key_min, key_max, IM_COL32(204, 204, 204, 255), key_rounding); + draw_list->AddRect(key_min, key_max, IM_COL32(24, 24, 24, 255), key_rounding); + ImVec2 face_min = ImVec2(key_min.x + key_face_pos.x, key_min.y + key_face_pos.y); + ImVec2 face_max = ImVec2(face_min.x + key_face_size.x, face_min.y + key_face_size.y); + draw_list->AddRect(face_min, face_max, IM_COL32(193, 193, 193, 255), key_face_rounding, ImDrawFlags_None, 2.0f); + draw_list->AddRectFilled(face_min, face_max, IM_COL32(252, 252, 252, 255), key_face_rounding); + ImVec2 label_min = ImVec2(key_min.x + key_label_pos.x, key_min.y + key_label_pos.y); + draw_list->AddText(label_min, IM_COL32(64, 64, 64, 255), key_data->Label); + if (ImGui::IsKeyDown(key_data->Key)) + draw_list->AddRectFilled(key_min, key_max, IM_COL32(255, 0, 0, 128), key_rounding); + } + draw_list->PopClipRect(); + } + } + ImGui::TreePop(); + } + + if (ImGui::TreeNode("Capture override")) + { + HelpMarker( + "The value of io.WantCaptureMouse and io.WantCaptureKeyboard are normally set by Dear ImGui " + "to instruct your application of how to route inputs. Typically, when a value is true, it means " + "Dear ImGui wants the corresponding inputs and we expect the underlying application to ignore them.\n\n" + "The most typical case is: when hovering a window, Dear ImGui set io.WantCaptureMouse to true, " + "and underlying application should ignore mouse inputs (in practice there are many and more subtle " + "rules leading to how those flags are set)."); + + ImGui::Text("io.WantCaptureMouse: %d", io.WantCaptureMouse); + ImGui::Text("io.WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); + ImGui::Text("io.WantCaptureKeyboard: %d", io.WantCaptureKeyboard); + + HelpMarker( + "Hovering the colored canvas will override io.WantCaptureXXX fields.\n" + "Notice how normally (when set to none), the value of io.WantCaptureKeyboard would be false when hovering and true when clicking."); + static int capture_override_mouse = -1; + static int capture_override_keyboard = -1; + const char* capture_override_desc[] = { "None", "Set to false", "Set to true" }; + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 15); + ImGui::SliderInt("SetNextFrameWantCaptureMouse()", &capture_override_mouse, -1, +1, capture_override_desc[capture_override_mouse + 1], ImGuiSliderFlags_AlwaysClamp); + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 15); + ImGui::SliderInt("SetNextFrameWantCaptureKeyboard()", &capture_override_keyboard, -1, +1, capture_override_desc[capture_override_keyboard + 1], ImGuiSliderFlags_AlwaysClamp); + + ImGui::ColorButton("##panel", ImVec4(0.7f, 0.1f, 0.7f, 1.0f), ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoDragDrop, ImVec2(256.0f, 192.0f)); // Dummy item + if (ImGui::IsItemHovered() && capture_override_mouse != -1) + ImGui::SetNextFrameWantCaptureMouse(capture_override_mouse == 1); + if (ImGui::IsItemHovered() && capture_override_keyboard != -1) + ImGui::SetNextFrameWantCaptureKeyboard(capture_override_keyboard == 1); - ImGui::Button("Hovering me sets the\nkeyboard capture flag"); - if (ImGui::IsItemHovered()) - ImGui::CaptureKeyboardFromApp(true); - ImGui::SameLine(); - ImGui::Button("Holding me clears the\nthe keyboard capture flag"); - if (ImGui::IsItemActive()) - ImGui::CaptureKeyboardFromApp(false); ImGui::TreePop(); } @@ -5873,30 +6018,6 @@ static void ShowDemoWindowMisc() ImGui::Text("io.MouseDelta: (%.1f, %.1f)", mouse_delta.x, mouse_delta.y); ImGui::TreePop(); } - - IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse cursors"); - if (ImGui::TreeNode("Mouse cursors")) - { - const char* mouse_cursors_names[] = { "Arrow", "TextInput", "ResizeAll", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand", "NotAllowed" }; - IM_ASSERT(IM_ARRAYSIZE(mouse_cursors_names) == ImGuiMouseCursor_COUNT); - - ImGuiMouseCursor current = ImGui::GetMouseCursor(); - ImGui::Text("Current mouse cursor = %d: %s", current, mouse_cursors_names[current]); - ImGui::Text("Hover to see mouse cursors:"); - ImGui::SameLine(); HelpMarker( - "Your application can render a different mouse cursor based on what ImGui::GetMouseCursor() returns. " - "If software cursor rendering (io.MouseDrawCursor) is set ImGui will draw the right cursor for you, " - "otherwise your backend needs to handle it."); - for (int i = 0; i < ImGuiMouseCursor_COUNT; i++) - { - char label[32]; - sprintf(label, "Mouse cursor %d: %s", i, mouse_cursors_names[i]); - ImGui::Bullet(); ImGui::Selectable(label, false); - if (ImGui::IsItemHovered()) - ImGui::SetMouseCursor(i); - } - ImGui::TreePop(); - } } } @@ -5941,6 +6062,9 @@ void ImGui::ShowAboutWindow(bool* p_open) #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS ImGui::Text("define: IMGUI_DISABLE_OBSOLETE_FUNCTIONS"); #endif +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + ImGui::Text("define: IMGUI_DISABLE_OBSOLETE_KEYIO"); +#endif #ifdef IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS ImGui::Text("define: IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS"); #endif @@ -6075,7 +6199,7 @@ void ImGui::ShowAboutWindow(bool* p_open) namespace ImGui { IMGUI_API void ShowFontAtlas(ImFontAtlas* atlas); } // Demo helper function to select among loaded fonts. -// Here we use the regular BeginCombo()/EndCombo() api which is more the more flexible one. +// Here we use the regular BeginCombo()/EndCombo() api which is the more flexible one. void ImGui::ShowFontSelector(const char* label) { ImGuiIO& io = ImGui::GetIO(); @@ -6367,6 +6491,40 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref) ImGui::PopItemWidth(); } +//----------------------------------------------------------------------------- +// [SECTION] User Guide / ShowUserGuide() +//----------------------------------------------------------------------------- + +void ImGui::ShowUserGuide() +{ + ImGuiIO& io = ImGui::GetIO(); + ImGui::BulletText("Double-click on title bar to collapse window."); + ImGui::BulletText( + "Click and drag on lower corner to resize window\n" + "(double-click to auto fit window to its contents)."); + ImGui::BulletText("CTRL+Click on a slider or drag box to input value as text."); + ImGui::BulletText("TAB/SHIFT+TAB to cycle through keyboard editable fields."); + ImGui::BulletText("CTRL+Tab to select a window."); + if (io.FontAllowUserScaling) + ImGui::BulletText("CTRL+Mouse Wheel to zoom window contents."); + ImGui::BulletText("While inputing text:\n"); + ImGui::Indent(); + ImGui::BulletText("CTRL+Left/Right to word jump."); + ImGui::BulletText("CTRL+A or double-click to select all."); + ImGui::BulletText("CTRL+X/C/V to use clipboard cut/copy/paste."); + ImGui::BulletText("CTRL+Z,CTRL+Y to undo/redo."); + ImGui::BulletText("ESCAPE to revert."); + ImGui::Unindent(); + ImGui::BulletText("With keyboard navigation enabled:"); + ImGui::Indent(); + ImGui::BulletText("Arrow keys to navigate."); + ImGui::BulletText("Space to activate a widget."); + ImGui::BulletText("Return to input text into a widget."); + ImGui::BulletText("Escape to deactivate a widget, close popup, exit child window."); + ImGui::BulletText("Alt to jump to the menu layer of a window."); + ImGui::Unindent(); +} + //----------------------------------------------------------------------------- // [SECTION] Example App: Main Menu Bar / ShowExampleAppMainMenuBar() //----------------------------------------------------------------------------- @@ -6601,72 +6759,76 @@ struct ExampleAppConsole // Reserve enough left-over height for 1 separator + 1 input text const float footer_height_to_reserve = ImGui::GetStyle().ItemSpacing.y + ImGui::GetFrameHeightWithSpacing(); - ImGui::BeginChild("ScrollingRegion", ImVec2(0, -footer_height_to_reserve), false, ImGuiWindowFlags_HorizontalScrollbar); - if (ImGui::BeginPopupContextWindow()) + if (ImGui::BeginChild("ScrollingRegion", ImVec2(0, -footer_height_to_reserve), false, ImGuiWindowFlags_HorizontalScrollbar)) { - if (ImGui::Selectable("Clear")) ClearLog(); - ImGui::EndPopup(); + if (ImGui::BeginPopupContextWindow()) + { + if (ImGui::Selectable("Clear")) ClearLog(); + ImGui::EndPopup(); + } + + // Display every line as a separate entry so we can change their color or add custom widgets. + // If you only want raw text you can use ImGui::TextUnformatted(log.begin(), log.end()); + // NB- if you have thousands of entries this approach may be too inefficient and may require user-side clipping + // to only process visible items. The clipper will automatically measure the height of your first item and then + // "seek" to display only items in the visible area. + // To use the clipper we can replace your standard loop: + // for (int i = 0; i < Items.Size; i++) + // With: + // ImGuiListClipper clipper; + // clipper.Begin(Items.Size); + // while (clipper.Step()) + // for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) + // - That your items are evenly spaced (same height) + // - That you have cheap random access to your elements (you can access them given their index, + // without processing all the ones before) + // You cannot this code as-is if a filter is active because it breaks the 'cheap random-access' property. + // We would need random-access on the post-filtered list. + // A typical application wanting coarse clipping and filtering may want to pre-compute an array of indices + // or offsets of items that passed the filtering test, recomputing this array when user changes the filter, + // and appending newly elements as they are inserted. This is left as a task to the user until we can manage + // to improve this example code! + // If your items are of variable height: + // - Split them into same height items would be simpler and facilitate random-seeking into your list. + // - Consider using manual call to IsRectVisible() and skipping extraneous decoration from your items. + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(4, 1)); // Tighten spacing + if (copy_to_clipboard) + ImGui::LogToClipboard(); + for (int i = 0; i < Items.Size; i++) + { + const char* item = Items[i]; + if (!Filter.PassFilter(item)) + continue; + + // Normally you would store more information in your item than just a string. + // (e.g. make Items[] an array of structure, store color/type etc.) + ImVec4 color; + bool has_color = false; + if (strstr(item, "[error]")) { color = ImVec4(1.0f, 0.4f, 0.4f, 1.0f); has_color = true; } + else if (strncmp(item, "# ", 2) == 0) { color = ImVec4(1.0f, 0.8f, 0.6f, 1.0f); has_color = true; } + if (has_color) + ImGui::PushStyleColor(ImGuiCol_Text, color); + ImGui::TextUnformatted(item); + if (has_color) + ImGui::PopStyleColor(); + } + if (copy_to_clipboard) + ImGui::LogFinish(); + + // Keep up at the bottom of the scroll region if we were already at the bottom at the beginning of the frame. + // Using a scrollbar or mouse-wheel will take away from the bottom edge. + if (ScrollToBottom || (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY())) + ImGui::SetScrollHereY(1.0f); + ScrollToBottom = false; + + ImGui::PopStyleVar(); } - - // Display every line as a separate entry so we can change their color or add custom widgets. - // If you only want raw text you can use ImGui::TextUnformatted(log.begin(), log.end()); - // NB- if you have thousands of entries this approach may be too inefficient and may require user-side clipping - // to only process visible items. The clipper will automatically measure the height of your first item and then - // "seek" to display only items in the visible area. - // To use the clipper we can replace your standard loop: - // for (int i = 0; i < Items.Size; i++) - // With: - // ImGuiListClipper clipper; - // clipper.Begin(Items.Size); - // while (clipper.Step()) - // for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) - // - That your items are evenly spaced (same height) - // - That you have cheap random access to your elements (you can access them given their index, - // without processing all the ones before) - // You cannot this code as-is if a filter is active because it breaks the 'cheap random-access' property. - // We would need random-access on the post-filtered list. - // A typical application wanting coarse clipping and filtering may want to pre-compute an array of indices - // or offsets of items that passed the filtering test, recomputing this array when user changes the filter, - // and appending newly elements as they are inserted. This is left as a task to the user until we can manage - // to improve this example code! - // If your items are of variable height: - // - Split them into same height items would be simpler and facilitate random-seeking into your list. - // - Consider using manual call to IsRectVisible() and skipping extraneous decoration from your items. - ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(4, 1)); // Tighten spacing - if (copy_to_clipboard) - ImGui::LogToClipboard(); - for (int i = 0; i < Items.Size; i++) - { - const char* item = Items[i]; - if (!Filter.PassFilter(item)) - continue; - - // Normally you would store more information in your item than just a string. - // (e.g. make Items[] an array of structure, store color/type etc.) - ImVec4 color; - bool has_color = false; - if (strstr(item, "[error]")) { color = ImVec4(1.0f, 0.4f, 0.4f, 1.0f); has_color = true; } - else if (strncmp(item, "# ", 2) == 0) { color = ImVec4(1.0f, 0.8f, 0.6f, 1.0f); has_color = true; } - if (has_color) - ImGui::PushStyleColor(ImGuiCol_Text, color); - ImGui::TextUnformatted(item); - if (has_color) - ImGui::PopStyleColor(); - } - if (copy_to_clipboard) - ImGui::LogFinish(); - - if (ScrollToBottom || (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY())) - ImGui::SetScrollHereY(1.0f); - ScrollToBottom = false; - - ImGui::PopStyleVar(); ImGui::EndChild(); ImGui::Separator(); // Command-line bool reclaim_focus = false; - ImGuiInputTextFlags input_text_flags = ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory; + ImGuiInputTextFlags input_text_flags = ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_EscapeClearsAll | ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory; if (ImGui::InputText("Input", InputBuf, IM_ARRAYSIZE(InputBuf), input_text_flags, &TextEditCallbackStub, (void*)this)) { char* s = InputBuf; @@ -6908,63 +7070,66 @@ struct ExampleAppLog Filter.Draw("Filter", -100.0f); ImGui::Separator(); - ImGui::BeginChild("scrolling", ImVec2(0, 0), false, ImGuiWindowFlags_HorizontalScrollbar); - if (clear) - Clear(); - if (copy) - ImGui::LogToClipboard(); + if (ImGui::BeginChild("scrolling", ImVec2(0, 0), false, ImGuiWindowFlags_HorizontalScrollbar)) + { + if (clear) + Clear(); + if (copy) + ImGui::LogToClipboard(); - ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); - const char* buf = Buf.begin(); - const char* buf_end = Buf.end(); - if (Filter.IsActive()) - { - // In this example we don't use the clipper when Filter is enabled. - // This is because we don't have a random access on the result on our filter. - // A real application processing logs with ten of thousands of entries may want to store the result of - // search/filter.. especially if the filtering function is not trivial (e.g. reg-exp). - for (int line_no = 0; line_no < LineOffsets.Size; line_no++) + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); + const char* buf = Buf.begin(); + const char* buf_end = Buf.end(); + if (Filter.IsActive()) { - const char* line_start = buf + LineOffsets[line_no]; - const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end; - if (Filter.PassFilter(line_start, line_end)) - ImGui::TextUnformatted(line_start, line_end); - } - } - else - { - // The simplest and easy way to display the entire buffer: - // ImGui::TextUnformatted(buf_begin, buf_end); - // And it'll just work. TextUnformatted() has specialization for large blob of text and will fast-forward - // to skip non-visible lines. Here we instead demonstrate using the clipper to only process lines that are - // within the visible area. - // If you have tens of thousands of items and their processing cost is non-negligible, coarse clipping them - // on your side is recommended. Using ImGuiListClipper requires - // - A) random access into your data - // - B) items all being the same height, - // both of which we can handle since we an array pointing to the beginning of each line of text. - // When using the filter (in the block of code above) we don't have random access into the data to display - // anymore, which is why we don't use the clipper. Storing or skimming through the search result would make - // it possible (and would be recommended if you want to search through tens of thousands of entries). - ImGuiListClipper clipper; - clipper.Begin(LineOffsets.Size); - while (clipper.Step()) - { - for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + // In this example we don't use the clipper when Filter is enabled. + // This is because we don't have random access to the result of our filter. + // A real application processing logs with ten of thousands of entries may want to store the result of + // search/filter.. especially if the filtering function is not trivial (e.g. reg-exp). + for (int line_no = 0; line_no < LineOffsets.Size; line_no++) { const char* line_start = buf + LineOffsets[line_no]; const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end; - ImGui::TextUnformatted(line_start, line_end); + if (Filter.PassFilter(line_start, line_end)) + ImGui::TextUnformatted(line_start, line_end); } } - clipper.End(); + else + { + // The simplest and easy way to display the entire buffer: + // ImGui::TextUnformatted(buf_begin, buf_end); + // And it'll just work. TextUnformatted() has specialization for large blob of text and will fast-forward + // to skip non-visible lines. Here we instead demonstrate using the clipper to only process lines that are + // within the visible area. + // If you have tens of thousands of items and their processing cost is non-negligible, coarse clipping them + // on your side is recommended. Using ImGuiListClipper requires + // - A) random access into your data + // - B) items all being the same height, + // both of which we can handle since we have an array pointing to the beginning of each line of text. + // When using the filter (in the block of code above) we don't have random access into the data to display + // anymore, which is why we don't use the clipper. Storing or skimming through the search result would make + // it possible (and would be recommended if you want to search through tens of thousands of entries). + ImGuiListClipper clipper; + clipper.Begin(LineOffsets.Size); + while (clipper.Step()) + { + for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + { + const char* line_start = buf + LineOffsets[line_no]; + const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end; + ImGui::TextUnformatted(line_start, line_end); + } + } + clipper.End(); + } + ImGui::PopStyleVar(); + + // Keep up at the bottom of the scroll region if we were already at the bottom at the beginning of the frame. + // Using a scrollbar or mouse-wheel will take away from the bottom edge. + if (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) + ImGui::SetScrollHereY(1.0f); } - ImGui::PopStyleVar(); - - if (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) - ImGui::SetScrollHereY(1.0f); - ImGui::EndChild(); ImGui::End(); } @@ -7244,53 +7409,84 @@ static void ShowExampleAppAutoResize(bool* p_open) //----------------------------------------------------------------------------- // Demonstrate creating a window with custom resize constraints. +// Note that size constraints currently don't work on a docked window (when in 'docking' branch) static void ShowExampleAppConstrainedResize(bool* p_open) { struct CustomConstraints { // Helper functions to demonstrate programmatic constraints - static void Square(ImGuiSizeCallbackData* data) { data->DesiredSize.x = data->DesiredSize.y = IM_MAX(data->DesiredSize.x, data->DesiredSize.y); } - static void Step(ImGuiSizeCallbackData* data) { float step = (float)(int)(intptr_t)data->UserData; data->DesiredSize = ImVec2((int)(data->DesiredSize.x / step + 0.5f) * step, (int)(data->DesiredSize.y / step + 0.5f) * step); } + // FIXME: This doesn't take account of decoration size (e.g. title bar), library should make this easier. + static void AspectRatio(ImGuiSizeCallbackData* data) { float aspect_ratio = *(float*)data->UserData; data->DesiredSize.x = IM_MAX(data->CurrentSize.x, data->CurrentSize.y); data->DesiredSize.y = (float)(int)(data->DesiredSize.x / aspect_ratio); } + static void Square(ImGuiSizeCallbackData* data) { data->DesiredSize.x = data->DesiredSize.y = IM_MAX(data->CurrentSize.x, data->CurrentSize.y); } + static void Step(ImGuiSizeCallbackData* data) { float step = *(float*)data->UserData; data->DesiredSize = ImVec2((int)(data->CurrentSize.x / step + 0.5f) * step, (int)(data->CurrentSize.y / step + 0.5f) * step); } }; const char* test_desc[] = { + "Between 100x100 and 500x500", + "At least 100x100", "Resize vertical only", "Resize horizontal only", - "Width > 100, Height > 100", - "Width 400-500", - "Height 400-500", + "Width Between 400 and 500", + "Custom: Aspect Ratio 16:9", "Custom: Always Square", "Custom: Fixed Steps (100)", }; + // Options static bool auto_resize = false; - static int type = 0; + static bool window_padding = true; + static int type = 5; // Aspect Ratio static int display_lines = 10; - if (type == 0) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 0), ImVec2(-1, FLT_MAX)); // Vertical only - if (type == 1) ImGui::SetNextWindowSizeConstraints(ImVec2(0, -1), ImVec2(FLT_MAX, -1)); // Horizontal only - if (type == 2) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(FLT_MAX, FLT_MAX)); // Width > 100, Height > 100 - if (type == 3) ImGui::SetNextWindowSizeConstraints(ImVec2(400, -1), ImVec2(500, -1)); // Width 400-500 - if (type == 4) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 400), ImVec2(-1, 500)); // Height 400-500 - if (type == 5) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Square); // Always Square - if (type == 6) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Step, (void*)(intptr_t)100); // Fixed Step - ImGuiWindowFlags flags = auto_resize ? ImGuiWindowFlags_AlwaysAutoResize : 0; - if (ImGui::Begin("Example: Constrained Resize", p_open, flags)) + // Submit constraint + float aspect_ratio = 16.0f / 9.0f; + float fixed_step = 100.0f; + if (type == 0) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(500, 500)); // Between 100x100 and 500x500 + if (type == 1) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(FLT_MAX, FLT_MAX)); // Width > 100, Height > 100 + if (type == 2) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 0), ImVec2(-1, FLT_MAX)); // Vertical only + if (type == 3) ImGui::SetNextWindowSizeConstraints(ImVec2(0, -1), ImVec2(FLT_MAX, -1)); // Horizontal only + if (type == 4) ImGui::SetNextWindowSizeConstraints(ImVec2(400, -1), ImVec2(500, -1)); // Width Between and 400 and 500 + if (type == 5) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::AspectRatio, (void*)&aspect_ratio); // Aspect ratio + if (type == 6) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Square); // Always Square + if (type == 7) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Step, (void*)&fixed_step); // Fixed Step + + // Submit window + if (!window_padding) + ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0.0f, 0.0f)); + const ImGuiWindowFlags window_flags = auto_resize ? ImGuiWindowFlags_AlwaysAutoResize : 0; + const bool window_open = ImGui::Begin("Example: Constrained Resize", p_open, window_flags); + if (!window_padding) + ImGui::PopStyleVar(); + if (window_open) { IMGUI_DEMO_MARKER("Examples/Constrained Resizing window"); - if (ImGui::IsWindowDocked()) - ImGui::Text("Warning: Sizing Constraints won't work if the window is docked!"); - if (ImGui::Button("200x200")) { ImGui::SetWindowSize(ImVec2(200, 200)); } ImGui::SameLine(); - if (ImGui::Button("500x500")) { ImGui::SetWindowSize(ImVec2(500, 500)); } ImGui::SameLine(); - if (ImGui::Button("800x200")) { ImGui::SetWindowSize(ImVec2(800, 200)); } - ImGui::SetNextItemWidth(200); - ImGui::Combo("Constraint", &type, test_desc, IM_ARRAYSIZE(test_desc)); - ImGui::SetNextItemWidth(200); - ImGui::DragInt("Lines", &display_lines, 0.2f, 1, 100); - ImGui::Checkbox("Auto-resize", &auto_resize); - for (int i = 0; i < display_lines; i++) - ImGui::Text("%*sHello, sailor! Making this line long enough for the example.", i * 4, ""); + if (ImGui::GetIO().KeyShift) + { + // Display a dummy viewport (in your real app you would likely use ImageButton() to display a texture. + ImVec2 avail_size = ImGui::GetContentRegionAvail(); + ImVec2 pos = ImGui::GetCursorScreenPos(); + ImGui::ColorButton("viewport", ImVec4(0.5f, 0.2f, 0.5f, 1.0f), ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoDragDrop, avail_size); + ImGui::SetCursorScreenPos(ImVec2(pos.x + 10, pos.y + 10)); + ImGui::Text("%.2f x %.2f", avail_size.x, avail_size.y); + } + else + { + ImGui::Text("(Hold SHIFT to display a dummy viewport)"); + if (ImGui::IsWindowDocked()) + ImGui::Text("Warning: Sizing Constraints won't work if the window is docked!"); + if (ImGui::Button("Set 200x200")) { ImGui::SetWindowSize(ImVec2(200, 200)); } ImGui::SameLine(); + if (ImGui::Button("Set 500x500")) { ImGui::SetWindowSize(ImVec2(500, 500)); } ImGui::SameLine(); + if (ImGui::Button("Set 800x200")) { ImGui::SetWindowSize(ImVec2(800, 200)); } + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 20); + ImGui::Combo("Constraint", &type, test_desc, IM_ARRAYSIZE(test_desc)); + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 20); + ImGui::DragInt("Lines", &display_lines, 0.2f, 1, 100); + ImGui::Checkbox("Auto-resize", &auto_resize); + ImGui::Checkbox("Window padding", &window_padding); + for (int i = 0; i < display_lines; i++) + ImGui::Text("%*sHello, sailor! Making this line long enough for the example.", i * 4, ""); + } } ImGui::End(); } @@ -7303,29 +7499,35 @@ static void ShowExampleAppConstrainedResize(bool* p_open) // + a context-menu to choose which corner of the screen to use. static void ShowExampleAppSimpleOverlay(bool* p_open) { - static int corner = 0; + static int location = 0; ImGuiIO& io = ImGui::GetIO(); ImGuiWindowFlags window_flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoDocking | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoNav; - if (corner != -1) + if (location >= 0) { const float PAD = 10.0f; const ImGuiViewport* viewport = ImGui::GetMainViewport(); ImVec2 work_pos = viewport->WorkPos; // Use work area to avoid menu-bar/task-bar, if any! ImVec2 work_size = viewport->WorkSize; ImVec2 window_pos, window_pos_pivot; - window_pos.x = (corner & 1) ? (work_pos.x + work_size.x - PAD) : (work_pos.x + PAD); - window_pos.y = (corner & 2) ? (work_pos.y + work_size.y - PAD) : (work_pos.y + PAD); - window_pos_pivot.x = (corner & 1) ? 1.0f : 0.0f; - window_pos_pivot.y = (corner & 2) ? 1.0f : 0.0f; + window_pos.x = (location & 1) ? (work_pos.x + work_size.x - PAD) : (work_pos.x + PAD); + window_pos.y = (location & 2) ? (work_pos.y + work_size.y - PAD) : (work_pos.y + PAD); + window_pos_pivot.x = (location & 1) ? 1.0f : 0.0f; + window_pos_pivot.y = (location & 2) ? 1.0f : 0.0f; ImGui::SetNextWindowPos(window_pos, ImGuiCond_Always, window_pos_pivot); ImGui::SetNextWindowViewport(viewport->ID); window_flags |= ImGuiWindowFlags_NoMove; } + else if (location == -2) + { + // Center window + ImGui::SetNextWindowPos(ImGui::GetMainViewport()->GetCenter(), ImGuiCond_Always, ImVec2(0.5f, 0.5f)); + window_flags |= ImGuiWindowFlags_NoMove; + } ImGui::SetNextWindowBgAlpha(0.35f); // Transparent background if (ImGui::Begin("Example: Simple overlay", p_open, window_flags)) { IMGUI_DEMO_MARKER("Examples/Simple Overlay"); - ImGui::Text("Simple overlay\n" "in the corner of the screen.\n" "(right-click to change position)"); + ImGui::Text("Simple overlay\n" "(right-click to change position)"); ImGui::Separator(); if (ImGui::IsMousePosValid()) ImGui::Text("Mouse Position: (%.1f,%.1f)", io.MousePos.x, io.MousePos.y); @@ -7333,11 +7535,12 @@ static void ShowExampleAppSimpleOverlay(bool* p_open) ImGui::Text("Mouse Position: "); if (ImGui::BeginPopupContextWindow()) { - if (ImGui::MenuItem("Custom", NULL, corner == -1)) corner = -1; - if (ImGui::MenuItem("Top-left", NULL, corner == 0)) corner = 0; - if (ImGui::MenuItem("Top-right", NULL, corner == 1)) corner = 1; - if (ImGui::MenuItem("Bottom-left", NULL, corner == 2)) corner = 2; - if (ImGui::MenuItem("Bottom-right", NULL, corner == 3)) corner = 3; + if (ImGui::MenuItem("Custom", NULL, location == -1)) location = -1; + if (ImGui::MenuItem("Center", NULL, location == -2)) location = -2; + if (ImGui::MenuItem("Top-left", NULL, location == 0)) location = 0; + if (ImGui::MenuItem("Top-right", NULL, location == 1)) location = 1; + if (ImGui::MenuItem("Bottom-left", NULL, location == 2)) location = 2; + if (ImGui::MenuItem("Bottom-right", NULL, location == 3)) location = 3; if (p_open && ImGui::MenuItem("Close")) *p_open = false; ImGui::EndPopup(); } @@ -7353,7 +7556,7 @@ static void ShowExampleAppSimpleOverlay(bool* p_open) static void ShowExampleAppFullscreen(bool* p_open) { static bool use_work_area = true; - static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings; + static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings; // We demonstrate using the full viewport area or the work area (without menu-bars, task-bars etc.) // Based on your use case you may want one of the other. @@ -7385,8 +7588,8 @@ static void ShowExampleAppFullscreen(bool* p_open) // [SECTION] Example App: Manipulating Window Titles / ShowExampleAppWindowTitles() //----------------------------------------------------------------------------- -// Demonstrate using "##" and "###" in identifiers to manipulate ID generation. -// This apply to all regular items as well. +// Demonstrate the use of "##" and "###" in identifiers to manipulate ID generation. +// This applies to all regular items as well. // Read FAQ section "How can I have multiple widgets with the same label?" for details. static void ShowExampleAppWindowTitles(bool*) { @@ -7606,8 +7809,8 @@ static void ShowExampleAppCustomRendering(bool* p_open) // Context menu (under default mouse threshold) ImVec2 drag_delta = ImGui::GetMouseDragDelta(ImGuiMouseButton_Right); - if (opt_enable_context_menu && ImGui::IsMouseReleased(ImGuiMouseButton_Right) && drag_delta.x == 0.0f && drag_delta.y == 0.0f) - ImGui::OpenPopupOnItemClick("context"); + if (opt_enable_context_menu && drag_delta.x == 0.0f && drag_delta.y == 0.0f) + ImGui::OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); if (ImGui::BeginPopup("context")) { if (adding_line) @@ -7930,7 +8133,8 @@ void ShowExampleAppDocuments(bool* p_open) if (ImGui::MenuItem("Close All Documents", NULL, false, open_count > 0)) for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++) app.Documents[doc_n].DoQueueClose(); - if (ImGui::MenuItem("Exit", "Alt+F4")) {} + if (ImGui::MenuItem("Exit", "Ctrl+F4") && p_open) + *p_open = false; ImGui::EndMenu(); } ImGui::EndMenuBar(); diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui_draw.cpp b/imgui-sys/third-party/imgui-docking/imgui/imgui_draw.cpp index 80ef77d..3b9a640 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui_draw.cpp +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui_draw.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (drawing and font code) /* @@ -39,25 +39,12 @@ Index of this file: #endif #include // vsnprintf, sscanf, printf -#if !defined(alloca) -#if defined(__GLIBC__) || defined(__sun) || defined(__APPLE__) || defined(__NEWLIB__) -#include // alloca (glibc uses . Note that Cygwin may have _WIN32 defined, so the order matters here) -#elif defined(_WIN32) -#include // alloca -#if !defined(alloca) -#define alloca _alloca // for clang with MS Codegen -#endif -#else -#include // alloca -#endif -#endif // Visual Studio warnings #ifdef _MSC_VER #pragma warning (disable: 4127) // condition expression is constant #pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff) #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen -#pragma warning (disable: 6255) // [Static Analyzer] _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead. #pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). #pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). [MSVC Static Analyzer) #endif @@ -67,9 +54,6 @@ Index of this file: #if __has_warning("-Wunknown-warning-option") #pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great! #endif -#if __has_warning("-Walloca") -#pragma clang diagnostic ignored "-Walloca" // warning: use of function '__builtin_alloca' is discouraged -#endif #pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' #pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse. #pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants ok. @@ -90,7 +74,7 @@ Index of this file: #endif //------------------------------------------------------------------------- -// [SECTION] STB libraries implementation +// [SECTION] STB libraries implementation (for stb_truetype and stb_rect_pack) //------------------------------------------------------------------------- // Compile time options: @@ -399,7 +383,7 @@ void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error) for (int i = 0; i < IM_ARRAYSIZE(CircleSegmentCounts); i++) { const float radius = (float)i; - CircleSegmentCounts[i] = (ImU8)((i > 0) ? IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, CircleSegmentMaxError) : 0); + CircleSegmentCounts[i] = (ImU8)((i > 0) ? IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, CircleSegmentMaxError) : IM_DRAWLIST_ARCFAST_SAMPLE_MAX); } ArcFastRadiusCutoff = IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(IM_DRAWLIST_ARCFAST_SAMPLE_MAX, CircleSegmentMaxError); } @@ -408,10 +392,9 @@ void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error) void ImDrawList::_ResetForNewFrame() { // Verify that the ImDrawCmd fields we want to memcmp() are contiguous in memory. - // (those should be IM_STATIC_ASSERT() in theory but with our pre C++11 setup the whole check doesn't compile with GCC) - IM_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0); - IM_ASSERT(IM_OFFSETOF(ImDrawCmd, TextureId) == sizeof(ImVec4)); - IM_ASSERT(IM_OFFSETOF(ImDrawCmd, VtxOffset) == sizeof(ImVec4) + sizeof(ImTextureID)); + IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0); + IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, TextureId) == sizeof(ImVec4)); + IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, VtxOffset) == sizeof(ImVec4) + sizeof(ImTextureID)); if (_Splitter._Count > 1) _Splitter.Merge(this); @@ -496,9 +479,10 @@ void ImDrawList::AddCallback(ImDrawCallback callback, void* callback_data) } // Compare ClipRect, TextureId and VtxOffset with a single memcmp() -#define ImDrawCmd_HeaderSize (IM_OFFSETOF(ImDrawCmd, VtxOffset) + sizeof(unsigned int)) -#define ImDrawCmd_HeaderCompare(CMD_LHS, CMD_RHS) (memcmp(CMD_LHS, CMD_RHS, ImDrawCmd_HeaderSize)) // Compare ClipRect, TextureId, VtxOffset -#define ImDrawCmd_HeaderCopy(CMD_DST, CMD_SRC) (memcpy(CMD_DST, CMD_SRC, ImDrawCmd_HeaderSize)) // Copy ClipRect, TextureId, VtxOffset +#define ImDrawCmd_HeaderSize (IM_OFFSETOF(ImDrawCmd, VtxOffset) + sizeof(unsigned int)) +#define ImDrawCmd_HeaderCompare(CMD_LHS, CMD_RHS) (memcmp(CMD_LHS, CMD_RHS, ImDrawCmd_HeaderSize)) // Compare ClipRect, TextureId, VtxOffset +#define ImDrawCmd_HeaderCopy(CMD_DST, CMD_SRC) (memcpy(CMD_DST, CMD_SRC, ImDrawCmd_HeaderSize)) // Copy ClipRect, TextureId, VtxOffset +#define ImDrawCmd_AreSequentialIdxOffset(CMD_0, CMD_1) (CMD_0->IdxOffset + CMD_0->ElemCount == CMD_1->IdxOffset) // Try to merge two last draw commands void ImDrawList::_TryMergeDrawCmds() @@ -506,7 +490,7 @@ void ImDrawList::_TryMergeDrawCmds() IM_ASSERT_PARANOID(CmdBuffer.Size > 0); ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; ImDrawCmd* prev_cmd = curr_cmd - 1; - if (ImDrawCmd_HeaderCompare(curr_cmd, prev_cmd) == 0 && curr_cmd->UserCallback == NULL && prev_cmd->UserCallback == NULL) + if (ImDrawCmd_HeaderCompare(curr_cmd, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && curr_cmd->UserCallback == NULL && prev_cmd->UserCallback == NULL) { prev_cmd->ElemCount += curr_cmd->ElemCount; CmdBuffer.pop_back(); @@ -529,7 +513,7 @@ void ImDrawList::_OnChangedClipRect() // Try to merge with previous command if it matches, else use current command ImDrawCmd* prev_cmd = curr_cmd - 1; - if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && prev_cmd->UserCallback == NULL) + if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && prev_cmd->UserCallback == NULL) { CmdBuffer.pop_back(); return; @@ -552,7 +536,7 @@ void ImDrawList::_OnChangedTextureID() // Try to merge with previous command if it matches, else use current command ImDrawCmd* prev_cmd = curr_cmd - 1; - if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && prev_cmd->UserCallback == NULL) + if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && prev_cmd->UserCallback == NULL) { CmdBuffer.pop_back(); return; @@ -588,7 +572,7 @@ int ImDrawList::_CalcCircleAutoSegmentCount(float radius) const } // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -void ImDrawList::PushClipRect(ImVec2 cr_min, ImVec2 cr_max, bool intersect_with_current_clip_rect) +void ImDrawList::PushClipRect(const ImVec2& cr_min, const ImVec2& cr_max, bool intersect_with_current_clip_rect) { ImVec4 cr(cr_min.x, cr_min.y, cr_max.x, cr_max.y); if (intersect_with_current_clip_rect) @@ -761,7 +745,8 @@ void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 // Temporary buffer // The first items are normals at each line point, then after that there are either 2 or 4 temp points for each line point - ImVec2* temp_normals = (ImVec2*)alloca(points_count * ((use_texture || !thick_line) ? 3 : 5) * sizeof(ImVec2)); //-V630 + _Data->TempBuffer.reserve_discard(points_count * ((use_texture || !thick_line) ? 3 : 5)); + ImVec2* temp_normals = _Data->TempBuffer.Data; ImVec2* temp_points = temp_normals + points_count; // Calculate normals (tangents) for each line segment @@ -981,7 +966,8 @@ void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 } } -// We intentionally avoid using ImVec2 and its math operators here to reduce cost to a minimum for debug/non-inlined builds. +// - We intentionally avoid using ImVec2 and its math operators here to reduce cost to a minimum for debug/non-inlined builds. +// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col) { if (points_count < 3) @@ -1008,7 +994,8 @@ void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_coun } // Compute normals - ImVec2* temp_normals = (ImVec2*)alloca(points_count * sizeof(ImVec2)); //-V630 + _Data->TempBuffer.reserve_discard(points_count); + ImVec2* temp_normals = _Data->TempBuffer.Data; for (int i0 = points_count - 1, i1 = 0; i1 < points_count; i0 = i1++) { const ImVec2& p0 = points[i0]; @@ -1065,7 +1052,7 @@ void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_coun void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1157,7 +1144,7 @@ void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_ void ImDrawList::_PathArcToN(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1176,7 +1163,7 @@ void ImDrawList::_PathArcToN(const ImVec2& center, float radius, float a_min, fl // 0: East, 3: South, 6: West, 9: North, 12: East void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1186,7 +1173,7 @@ void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_ void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1214,8 +1201,8 @@ void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, floa const float a_min_segment_angle = a_min_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX; const float a_max_segment_angle = a_max_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX; - const bool a_emit_start = (a_min_segment_angle - a_min) != 0.0f; - const bool a_emit_end = (a_max - a_max_segment_angle) != 0.0f; + const bool a_emit_start = ImAbs(a_min_segment_angle - a_min) >= 1e-5f; + const bool a_emit_end = ImAbs(a_max - a_max_segment_angle) >= 1e-5f; _Path.reserve(_Path.Size + (a_mid_samples + 1 + (a_emit_start ? 1 : 0) + (a_emit_end ? 1 : 0))); if (a_emit_start) @@ -1302,6 +1289,7 @@ void ImDrawList::PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, cons ImVec2 p1 = _Path.back(); if (num_segments == 0) { + IM_ASSERT(_Data->CurveTessellationTol > 0.0f); PathBezierCubicCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y, _Data->CurveTessellationTol, 0); // Auto-tessellated } else @@ -1317,6 +1305,7 @@ void ImDrawList::PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, ImVec2 p1 = _Path.back(); if (num_segments == 0) { + IM_ASSERT(_Data->CurveTessellationTol > 0.0f); PathBezierQuadraticCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, _Data->CurveTessellationTol, 0);// Auto-tessellated } else @@ -1331,6 +1320,7 @@ IM_STATIC_ASSERT(ImDrawFlags_RoundCornersTopLeft == (1 << 4)); static inline ImDrawFlags FixRectCornerFlags(ImDrawFlags flags) { #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + // Obsoleted in 1.82 (from February 2021) // Legacy Support for hard coded ~0 (used to be a suggested equivalent to ImDrawCornerFlags_All) // ~0 --> ImDrawFlags_RoundCornersAll or 0 if (flags == ~0) @@ -1367,7 +1357,7 @@ void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, ImDr rounding = ImMin(rounding, ImFabs(b.x - a.x) * ( ((flags & ImDrawFlags_RoundCornersTop) == ImDrawFlags_RoundCornersTop) || ((flags & ImDrawFlags_RoundCornersBottom) == ImDrawFlags_RoundCornersBottom) ? 0.5f : 1.0f ) - 1.0f); rounding = ImMin(rounding, ImFabs(b.y - a.y) * ( ((flags & ImDrawFlags_RoundCornersLeft) == ImDrawFlags_RoundCornersLeft) || ((flags & ImDrawFlags_RoundCornersRight) == ImDrawFlags_RoundCornersRight) ? 0.5f : 1.0f ) - 1.0f); - if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) { PathLineTo(a); PathLineTo(ImVec2(b.x, a.y)); @@ -1413,7 +1403,7 @@ void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 c { if ((col & IM_COL32_A_MASK) == 0) return; - if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) { PrimReserve(6, 4); PrimRect(p_min, p_max, col); @@ -1489,7 +1479,7 @@ void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImV void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness) { - if ((col & IM_COL32_A_MASK) == 0 || radius <= 0.0f) + if ((col & IM_COL32_A_MASK) == 0 || radius < 0.5f) return; if (num_segments <= 0) @@ -1513,7 +1503,7 @@ void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int nu void ImDrawList::AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments) { - if ((col & IM_COL32_A_MASK) == 0 || radius <= 0.0f) + if ((col & IM_COL32_A_MASK) == 0 || radius < 0.5f) return; if (num_segments <= 0) @@ -1653,7 +1643,7 @@ void ImDrawList::AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_mi return; flags = FixRectCornerFlags(flags); - if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) { AddImage(user_texture_id, p_min, p_max, uv_min, uv_max, col); return; @@ -1741,13 +1731,13 @@ void ImDrawListSplitter::Merge(ImDrawList* draw_list) for (int i = 1; i < _Count; i++) { ImDrawChannel& ch = _Channels[i]; - - // Equivalent of PopUnusedDrawCmd() for this channel's cmdbuffer and except we don't need to test for UserCallback. - if (ch._CmdBuffer.Size > 0 && ch._CmdBuffer.back().ElemCount == 0) + if (ch._CmdBuffer.Size > 0 && ch._CmdBuffer.back().ElemCount == 0 && ch._CmdBuffer.back().UserCallback == NULL) // Equivalent of PopUnusedDrawCmd() ch._CmdBuffer.pop_back(); if (ch._CmdBuffer.Size > 0 && last_cmd != NULL) { + // Do not include ImDrawCmd_AreSequentialIdxOffset() in the compare as we rebuild IdxOffset values ourselves. + // Manipulating IdxOffset (e.g. by reordering draw commands like done by RenderDimmedBackgroundBehindWindow()) is not supported within a splitter. ImDrawCmd* next_cmd = &ch._CmdBuffer[0]; if (ImDrawCmd_HeaderCompare(last_cmd, next_cmd) == 0 && last_cmd->UserCallback == NULL && next_cmd->UserCallback == NULL) { @@ -2305,10 +2295,11 @@ void ImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256], fl void ImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256], unsigned char* pixels, int x, int y, int w, int h, int stride) { + IM_ASSERT_PARANOID(w <= stride); unsigned char* data = pixels + x + y * stride; - for (int j = h; j > 0; j--, data += stride) - for (int i = 0; i < w; i++) - data[i] = table[data[i]]; + for (int j = h; j > 0; j--, data += stride - w) + for (int i = w; i > 0; i--, data++) + *data = table[*data]; } #ifdef IMGUI_ENABLE_STB_TRUETYPE @@ -2325,7 +2316,7 @@ struct ImFontBuildSrcData int GlyphsHighest; // Highest requested codepoint int GlyphsCount; // Glyph count (excluding missing glyphs and glyphs already set by an earlier source font) ImBitVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB) - ImVector GlyphsList; // Glyph codepoints list (flattened version of GlyphsMap) + ImVector GlyphsList; // Glyph codepoints list (flattened version of GlyphsSet) }; // Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont) @@ -2645,8 +2636,8 @@ void ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* stbrp_context_opa for (int i = 0; i < pack_rects.Size; i++) if (pack_rects[i].was_packed) { - user_rects[i].X = pack_rects[i].x; - user_rects[i].Y = pack_rects[i].y; + user_rects[i].X = (unsigned short)pack_rects[i].x; + user_rects[i].Y = (unsigned short)pack_rects[i].y; IM_ASSERT(pack_rects[i].w == user_rects[i].Width && pack_rects[i].h == user_rects[i].Height); atlas->TexHeight = ImMax(atlas->TexHeight, pack_rects[i].y + pack_rects[i].h); } @@ -2746,13 +2737,13 @@ static void ImFontAtlasBuildRenderLinesTexData(ImFontAtlas* atlas) { unsigned int* write_ptr = &atlas->TexPixelsRGBA32[r->X + ((r->Y + y) * atlas->TexWidth)]; for (unsigned int i = 0; i < pad_left; i++) - *(write_ptr + i) = IM_COL32_BLACK_TRANS; + *(write_ptr + i) = IM_COL32(255, 255, 255, 0); for (unsigned int i = 0; i < line_width; i++) *(write_ptr + pad_left + i) = IM_COL32_WHITE; for (unsigned int i = 0; i < pad_right; i++) - *(write_ptr + pad_left + line_width + i) = IM_COL32_BLACK_TRANS; + *(write_ptr + pad_left + line_width + i) = IM_COL32(255, 255, 255, 0); } // Calculate UVs for this line @@ -2825,6 +2816,17 @@ const ImWchar* ImFontAtlas::GetGlyphRangesDefault() return &ranges[0]; } +const ImWchar* ImFontAtlas::GetGlyphRangesGreek() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x0370, 0x03FF, // Greek and Coptic + 0, + }; + return &ranges[0]; +} + const ImWchar* ImFontAtlas::GetGlyphRangesKorean() { static const ImWchar ranges[] = @@ -3337,11 +3339,21 @@ const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const return &Glyphs.Data[i]; } +// Wrapping skips upcoming blanks +static inline const char* CalcWordWrapNextLineStartA(const char* text, const char* text_end) +{ + while (text < text_end && ImCharIsBlankA(*text)) + text++; + if (*text == '\n') + text++; + return text; +} + +// Simple word-wrapping for English, not full-featured. Please submit failing cases! +// This will return the next location to wrap from. If no wrapping if necessary, this will fast-forward to e.g. text_end. +// FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,", more sensible support for punctuations, support for Unicode punctuations, etc.) const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const { - // Simple word-wrapping for English, not full-featured. Please submit failing cases! - // FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,", more sensible support for punctuations, support for Unicode punctuations, etc.) - // For references, possible wrap point marked with ^ // "aaa bbb, ccc,ddd. eee fff. ggg!" // ^ ^ ^ ^ ^__ ^ ^ @@ -3353,7 +3365,6 @@ const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const c // Cut words that cannot possibly fit within one line. // e.g.: "The tropical fish" with ~5 characters worth of width --> "The tr" "opical" "fish" - float line_width = 0.0f; float word_width = 0.0f; float blank_width = 0.0f; @@ -3433,6 +3444,10 @@ const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const c s = next_s; } + // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. + // +1 may not be a character start point in UTF-8 but it's ok because caller loops use (text >= word_wrap_eol). + if (s == text && text < text_end) + return s + 1; return s; } @@ -3457,11 +3472,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons { // Calculate how far we can render. Requires two passes on the string data but keeps the code simple and not intrusive for what's essentially an uncommon feature. if (!word_wrap_eol) - { word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - line_width); - if (word_wrap_eol == s) // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. - word_wrap_eol++; // +1 may not be a character start point in UTF-8 but it's ok because we use s >= word_wrap_eol below - } if (s >= word_wrap_eol) { @@ -3470,13 +3481,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons text_size.y += line_height; line_width = 0.0f; word_wrap_eol = NULL; - - // Wrapping skips upcoming blanks - while (s < text_end) - { - const char c = *s; - if (ImCharIsBlankA(c)) { s++; } else if (c == '\n') { s++; break; } else { break; } - } + s = CalcWordWrapNextLineStartA(s, text_end); // Wrapping skips upcoming blanks continue; } } @@ -3531,7 +3536,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons } // Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound. -void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const +void ImFont::RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c) const { const ImFontGlyph* glyph = FindGlyph(c); if (!glyph || !glyph->Visible) @@ -3539,38 +3544,47 @@ void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col if (glyph->Colored) col |= ~IM_COL32_A_MASK; float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f; - pos.x = IM_FLOOR(pos.x); - pos.y = IM_FLOOR(pos.y); + float x = IM_FLOOR(pos.x); + float y = IM_FLOOR(pos.y); draw_list->PrimReserve(6, 4); - draw_list->PrimRectUV(ImVec2(pos.x + glyph->X0 * scale, pos.y + glyph->Y0 * scale), ImVec2(pos.x + glyph->X1 * scale, pos.y + glyph->Y1 * scale), ImVec2(glyph->U0, glyph->V0), ImVec2(glyph->U1, glyph->V1), col); + draw_list->PrimRectUV(ImVec2(x + glyph->X0 * scale, y + glyph->Y0 * scale), ImVec2(x + glyph->X1 * scale, y + glyph->Y1 * scale), ImVec2(glyph->U0, glyph->V0), ImVec2(glyph->U1, glyph->V1), col); } // Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound. -void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) const +void ImFont::RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) const { if (!text_end) text_end = text_begin + strlen(text_begin); // ImGui:: functions generally already provides a valid text_end, so this is merely to handle direct calls. // Align to be pixel perfect - pos.x = IM_FLOOR(pos.x); - pos.y = IM_FLOOR(pos.y); - float x = pos.x; - float y = pos.y; + float x = IM_FLOOR(pos.x); + float y = IM_FLOOR(pos.y); if (y > clip_rect.w) return; + const float start_x = x; const float scale = size / FontSize; const float line_height = FontSize * scale; const bool word_wrap_enabled = (wrap_width > 0.0f); - const char* word_wrap_eol = NULL; // Fast-forward to first visible line const char* s = text_begin; - if (y + line_height < clip_rect.y && !word_wrap_enabled) + if (y + line_height < clip_rect.y) while (y + line_height < clip_rect.y && s < text_end) { - s = (const char*)memchr(s, '\n', text_end - s); - s = s ? s + 1 : text_end; + const char* line_end = (const char*)memchr(s, '\n', text_end - s); + if (word_wrap_enabled) + { + // FIXME-OPT: This is not optimal as do first do a search for \n before calling CalcWordWrapPositionA(). + // If the specs for CalcWordWrapPositionA() were reworked to optionally return on \n we could combine both. + // However it is still better than nothing performing the fast-forward! + s = CalcWordWrapPositionA(scale, s, line_end, wrap_width); + s = CalcWordWrapNextLineStartA(s, text_end); + } + else + { + s = line_end ? line_end + 1 : text_end; + } y += line_height; } @@ -3602,6 +3616,7 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col unsigned int vtx_current_idx = draw_list->_VtxCurrentIdx; const ImU32 col_untinted = col | ~IM_COL32_A_MASK; + const char* word_wrap_eol = NULL; while (s < text_end) { @@ -3609,24 +3624,14 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col { // Calculate how far we can render. Requires two passes on the string data but keeps the code simple and not intrusive for what's essentially an uncommon feature. if (!word_wrap_eol) - { - word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - pos.x)); - if (word_wrap_eol == s) // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. - word_wrap_eol++; // +1 may not be a character start point in UTF-8 but it's ok because we use s >= word_wrap_eol below - } + word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - start_x)); if (s >= word_wrap_eol) { - x = pos.x; + x = start_x; y += line_height; word_wrap_eol = NULL; - - // Wrapping skips upcoming blanks - while (s < text_end) - { - const char c = *s; - if (ImCharIsBlankA(c)) { s++; } else if (c == '\n') { s++; break; } else { break; } - } + s = CalcWordWrapNextLineStartA(s, text_end); // Wrapping skips upcoming blanks continue; } } @@ -3648,7 +3653,7 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col { if (c == '\n') { - x = pos.x; + x = start_x; y += line_height; if (y > clip_rect.w) break; // break out of main loop @@ -3744,7 +3749,6 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col // - RenderArrow() // - RenderBullet() // - RenderCheckMark() -// - RenderMouseCursor() // - RenderArrowDockMenu() // - RenderArrowPointingAt() // - RenderRectFilledRangeH() @@ -3806,27 +3810,6 @@ void ImGui::RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float draw_list->PathStroke(col, 0, thickness); } -void ImGui::RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow) -{ - if (mouse_cursor == ImGuiMouseCursor_None) - return; - IM_ASSERT(mouse_cursor > ImGuiMouseCursor_None && mouse_cursor < ImGuiMouseCursor_COUNT); - - ImFontAtlas* font_atlas = draw_list->_Data->Font->ContainerAtlas; - ImVec2 offset, size, uv[4]; - if (font_atlas->GetMouseCursorTexData(mouse_cursor, &offset, &size, &uv[0], &uv[2])) - { - pos -= offset; - ImTextureID tex_id = font_atlas->TexID; - draw_list->PushTextureID(tex_id); - draw_list->AddImage(tex_id, pos + ImVec2(1, 0) * scale, pos + (ImVec2(1, 0) + size) * scale, uv[2], uv[3], col_shadow); - draw_list->AddImage(tex_id, pos + ImVec2(2, 0) * scale, pos + (ImVec2(2, 0) + size) * scale, uv[2], uv[3], col_shadow); - draw_list->AddImage(tex_id, pos, pos + size * scale, uv[2], uv[3], col_border); - draw_list->AddImage(tex_id, pos, pos + size * scale, uv[0], uv[1], col_fill); - draw_list->PopTextureID(); - } -} - // Render an arrow. 'pos' is position of the arrow tip. half_sz.x is length from base to tip. half_sz.y is length on each side. void ImGui::RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col) { @@ -3917,7 +3900,7 @@ void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, Im draw_list->PathFillConvex(col); } -void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, ImRect outer, ImRect inner, ImU32 col, float rounding) +void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding) { const bool fill_L = (inner.Min.x > outer.Min.x); const bool fill_R = (inner.Max.x < outer.Max.x); diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui_internal.h b/imgui-sys/third-party/imgui-docking/imgui/imgui_internal.h index 398c69d..59916c7 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui_internal.h +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui_internal.h @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (internal structures/api) // You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility! @@ -18,6 +18,7 @@ Index of this file: // [SECTION] Generic helpers // [SECTION] ImDrawList support // [SECTION] Widgets support: flags, enums, data structures +// [SECTION] Inputs support // [SECTION] Clipper support // [SECTION] Navigation support // [SECTION] Columns support @@ -25,6 +26,7 @@ Index of this file: // [SECTION] Docking support // [SECTION] Viewport support // [SECTION] Settings support +// [SECTION] Localization support // [SECTION] Metrics, Debug tools // [SECTION] Generic context hooks // [SECTION] ImGuiContext (main imgui context) @@ -124,6 +126,7 @@ struct ImGuiDockNodeSettings; // Storage for a dock node in .ini file (we struct ImGuiGroupData; // Stacked storage data for BeginGroup()/EndGroup() struct ImGuiInputTextState; // Internal state of the currently focused/edited text input box struct ImGuiLastItemData; // Status storage for last submitted items +struct ImGuiLocEntry; // A localization entry. struct ImGuiMenuColumns; // Simple column measurement, currently used for MenuItem() only struct ImGuiNavItemData; // Result of a gamepad/keyboard directional navigation move query result struct ImGuiMetricsConfig; // Storage for ShowMetricsWindow() and DebugNodeXXX() functions @@ -139,6 +142,7 @@ struct ImGuiTabBar; // Storage for a tab bar struct ImGuiTabItem; // Storage for a tab item (within a tab bar) struct ImGuiTable; // Storage for a table struct ImGuiTableColumn; // Storage for one column of a table +struct ImGuiTableInstanceData; // Storage for one instance of a same table struct ImGuiTableTempData; // Temporary storage for one table (one per table in the stack), shared between tables. struct ImGuiTableSettings; // Storage for a table .ini settings struct ImGuiTableColumnsSettings; // Storage for a column .ini settings @@ -146,15 +150,20 @@ struct ImGuiWindow; // Storage for one window struct ImGuiWindowTempData; // Temporary storage for one window (that's the data which in theory we could ditch at the end of the frame, in practice we currently keep it for each window) struct ImGuiWindowSettings; // Storage for a window .ini settings (we keep one of those even if the actual window wasn't instanced during this session) +// Enumerations // Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists. +enum ImGuiLocKey : int; // -> enum ImGuiLocKey // Enum: a localization entry for translation. typedef int ImGuiDataAuthority; // -> enum ImGuiDataAuthority_ // Enum: for storing the source authority (dock node vs window) of a field typedef int ImGuiLayoutType; // -> enum ImGuiLayoutType_ // Enum: Horizontal or vertical + +// Flags typedef int ImGuiActivateFlags; // -> enum ImGuiActivateFlags_ // Flags: for navigation/focus function (will be for ActivateItem() later) -typedef int ImGuiItemFlags; // -> enum ImGuiItemFlags_ // Flags: for PushItemFlag() -typedef int ImGuiItemStatusFlags; // -> enum ImGuiItemStatusFlags_ // Flags: for DC.LastItemStatusFlags +typedef int ImGuiDebugLogFlags; // -> enum ImGuiDebugLogFlags_ // Flags: for ShowDebugLogWindow(), g.DebugLogFlags +typedef int ImGuiInputFlags; // -> enum ImGuiInputFlags_ // Flags: for IsKeyPressed(), IsMouseClicked(), SetKeyOwner(), SetItemKeyOwner() etc. +typedef int ImGuiItemFlags; // -> enum ImGuiItemFlags_ // Flags: for PushItemFlag(), g.LastItemData.InFlags +typedef int ImGuiItemStatusFlags; // -> enum ImGuiItemStatusFlags_ // Flags: for g.LastItemData.StatusFlags typedef int ImGuiOldColumnFlags; // -> enum ImGuiOldColumnFlags_ // Flags: for BeginColumns() typedef int ImGuiNavHighlightFlags; // -> enum ImGuiNavHighlightFlags_ // Flags: for RenderNavHighlight() -typedef int ImGuiNavDirSourceFlags; // -> enum ImGuiNavDirSourceFlags_ // Flags: for GetNavInputAmount2d() typedef int ImGuiNavMoveFlags; // -> enum ImGuiNavMoveFlags_ // Flags: for navigation requests typedef int ImGuiNextItemDataFlags; // -> enum ImGuiNextItemDataFlags_ // Flags: for SetNextItemXXX() functions typedef int ImGuiNextWindowDataFlags; // -> enum ImGuiNextWindowDataFlags_// Flags: for SetNextWindowXXX() functions @@ -199,27 +208,29 @@ namespace ImStb // Internal Drag and Drop payload types. String starting with '_' are reserved for Dear ImGui. #define IMGUI_PAYLOAD_TYPE_WINDOW "_IMWINDOW" // Payload == ImGuiWindow* -// Debug Logging -#ifndef IMGUI_DEBUG_LOG -#define IMGUI_DEBUG_LOG(_FMT,...) printf("[%05d] " _FMT, GImGui->FrameCount, __VA_ARGS__) +// Debug Printing Into TTY +// (since IMGUI_VERSION_NUM >= 18729: IMGUI_DEBUG_LOG was reworked into IMGUI_DEBUG_PRINTF (and removed framecount from it). If you were using a #define IMGUI_DEBUG_LOG please rename) +#ifndef IMGUI_DEBUG_PRINTF +#ifndef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +#define IMGUI_DEBUG_PRINTF(_FMT,...) printf(_FMT, __VA_ARGS__) +#else +#define IMGUI_DEBUG_PRINTF(_FMT,...) +#endif #endif -// Debug Logging for selected systems. Remove the '((void)0) //' to enable. -//#define IMGUI_DEBUG_LOG_POPUP IMGUI_DEBUG_LOG // Enable log -//#define IMGUI_DEBUG_LOG_NAV IMGUI_DEBUG_LOG // Enable log -//#define IMGUI_DEBUG_LOG_VIEWPORT IMGUI_DEBUG_LOG // Enable log -//#define IMGUI_DEBUG_LOG_DOCKING IMGUI_DEBUG_LOG // Enable log -#define IMGUI_DEBUG_LOG_POPUP(...) ((void)0) // Disable log -#define IMGUI_DEBUG_LOG_NAV(...) ((void)0) // Disable log -#define IMGUI_DEBUG_LOG_VIEWPORT(...) ((void)0) // Disable log -#define IMGUI_DEBUG_LOG_DOCKING(...) ((void)0) // Disable log +// Debug Logging for ShowDebugLogWindow(). This is designed for relatively rare events so please don't spam. +#define IMGUI_DEBUG_LOG(...) ImGui::DebugLog(__VA_ARGS__) +#define IMGUI_DEBUG_LOG_ACTIVEID(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_FOCUS(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_POPUP(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_NAV(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_CLIPPER(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_IO(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_DOCKING(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_VIEWPORT(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) // Static Asserts -#if (__cplusplus >= 201100) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201100) #define IM_STATIC_ASSERT(_COND) static_assert(_COND, "") -#else -#define IM_STATIC_ASSERT(_COND) typedef char static_assertion_##__line__[(_COND)?1:-1] -#endif // "Paranoid" Debug Asserts are meant to only be enabled during specific debugging/work, otherwise would slow down the code too much. // We currently don't have many of those so the effect is currently negligible, but onward intent to add more aggressive ones in the code. @@ -243,8 +254,10 @@ namespace ImStb #else #define IM_NEWLINE "\n" #endif +#ifndef IM_TABSIZE // Until we move this to runtime and/or add proper tab support, at least allow users to compile-time override #define IM_TABSIZE (4) -#define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + (_ALIGN - 1)) & ~(_ALIGN - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8 +#endif +#define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8 #define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // Unsaturated, for display purpose #define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255 #define IM_FLOOR(_VAL) ((float)(int)(_VAL)) // ImFloor() is not inlined in MSVC debug builds @@ -291,7 +304,8 @@ namespace ImStb // - Helpers: Hashing // - Helpers: Sorting // - Helpers: Bit manipulation -// - Helpers: String, Formatting +// - Helpers: String +// - Helpers: Formatting // - Helpers: UTF-8 <> wchar conversions // - Helpers: ImVec2/ImVec4 operators // - Helpers: Maths @@ -304,14 +318,12 @@ namespace ImStb // - Helper: ImSpan<>, ImSpanAllocator<> // - Helper: ImPool<> // - Helper: ImChunkStream<> +// - Helper: ImGuiTextIndex //----------------------------------------------------------------------------- // Helpers: Hashing IMGUI_API ImGuiID ImHashData(const void* data, size_t data_size, ImU32 seed = 0); IMGUI_API ImGuiID ImHashStr(const char* data, size_t data_size = 0, ImU32 seed = 0); -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS -static inline ImGuiID ImHash(const void* data, int size, ImU32 seed = 0) { return size ? ImHashData(data, (size_t)size, seed) : ImHashStr((const char*)data, 0, seed); } // [moved to ImHashStr/ImHashData in 1.68] -#endif // Helpers: Sorting #ifndef ImQsort @@ -326,7 +338,7 @@ static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & static inline bool ImIsPowerOfTwo(ImU64 v) { return v != 0 && (v & (v - 1)) == 0; } static inline int ImUpperPowerOfTwo(int v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; } -// Helpers: String, Formatting +// Helpers: String IMGUI_API int ImStricmp(const char* str1, const char* str2); IMGUI_API int ImStrnicmp(const char* str1, const char* str2, size_t count); IMGUI_API void ImStrncpy(char* dst, const char* src, size_t count); @@ -339,14 +351,23 @@ IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* bu IMGUI_API const char* ImStristr(const char* haystack, const char* haystack_end, const char* needle, const char* needle_end); IMGUI_API void ImStrTrimBlanks(char* str); IMGUI_API const char* ImStrSkipBlank(const char* str); +IM_MSVC_RUNTIME_CHECKS_OFF +static inline char ImToUpper(char c) { return (c >= 'a' && c <= 'z') ? c &= ~32 : c; } +static inline bool ImCharIsBlankA(char c) { return c == ' ' || c == '\t'; } +static inline bool ImCharIsBlankW(unsigned int c) { return c == ' ' || c == '\t' || c == 0x3000; } +IM_MSVC_RUNTIME_CHECKS_RESTORE + +// Helpers: Formatting IMGUI_API int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS(3); IMGUI_API int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) IM_FMTLIST(3); +IMGUI_API void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) IM_FMTARGS(3); +IMGUI_API void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) IM_FMTLIST(3); IMGUI_API const char* ImParseFormatFindStart(const char* format); IMGUI_API const char* ImParseFormatFindEnd(const char* format); IMGUI_API const char* ImParseFormatTrimDecorations(const char* format, char* buf, size_t buf_size); +IMGUI_API void ImParseFormatSanitizeForPrinting(const char* fmt_in, char* fmt_out, size_t fmt_out_size); +IMGUI_API const char* ImParseFormatSanitizeForScanning(const char* fmt_in, char* fmt_out, size_t fmt_out_size); IMGUI_API int ImParseFormatPrecision(const char* format, int default_value); -static inline bool ImCharIsBlankA(char c) { return c == ' ' || c == '\t'; } -static inline bool ImCharIsBlankW(unsigned int c) { return c == ' ' || c == '\t' || c == 0x3000; } // Helpers: UTF-8 <> wchar conversions IMGUI_API const char* ImTextCharToUtf8(char out_buf[5], unsigned int c); // return out_buf @@ -453,8 +474,9 @@ static inline float ImLengthSqr(const ImVec2& lhs) static inline float ImLengthSqr(const ImVec4& lhs) { return (lhs.x * lhs.x) + (lhs.y * lhs.y) + (lhs.z * lhs.z) + (lhs.w * lhs.w); } static inline float ImInvLength(const ImVec2& lhs, float fail_value) { float d = (lhs.x * lhs.x) + (lhs.y * lhs.y); if (d > 0.0f) return ImRsqrt(d); return fail_value; } static inline float ImFloor(float f) { return (float)(int)(f); } -static inline float ImFloorSigned(float f) { return (float)((f >= 0 || (int)f == f) ? (int)f : (int)f - 1); } // Decent replacement for floorf() +static inline float ImFloorSigned(float f) { return (float)((f >= 0 || (float)(int)f == f) ? (int)f : (int)f - 1); } // Decent replacement for floorf() static inline ImVec2 ImFloor(const ImVec2& v) { return ImVec2((float)(int)(v.x), (float)(int)(v.y)); } +static inline ImVec2 ImFloorSigned(const ImVec2& v) { return ImVec2(ImFloorSigned(v.x), ImFloorSigned(v.y)); } static inline int ImModPositive(int a, int b) { return (a + b) % b; } static inline float ImDot(const ImVec2& a, const ImVec2& b) { return a.x * b.x + a.y * b.y; } static inline ImVec2 ImRotate(const ImVec2& v, float cos_a, float sin_a) { return ImVec2(v.x * cos_a - v.y * sin_a, v.x * sin_a + v.y * cos_a); } @@ -481,17 +503,17 @@ IM_MSVC_RUNTIME_CHECKS_OFF struct ImVec1 { float x; - ImVec1() { x = 0.0f; } - ImVec1(float _x) { x = _x; } + constexpr ImVec1() : x(0.0f) { } + constexpr ImVec1(float _x) : x(_x) { } }; // Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage) struct ImVec2ih { short x, y; - ImVec2ih() { x = y = 0; } - ImVec2ih(short _x, short _y) { x = _x; y = _y; } - explicit ImVec2ih(const ImVec2& rhs) { x = (short)rhs.x; y = (short)rhs.y; } + constexpr ImVec2ih() : x(0), y(0) {} + constexpr ImVec2ih(short _x, short _y) : x(_x), y(_y) {} + constexpr explicit ImVec2ih(const ImVec2& rhs) : x((short)rhs.x), y((short)rhs.y) {} }; // Helper: ImRect (2D axis aligned bounding-box) @@ -501,10 +523,10 @@ struct IMGUI_API ImRect ImVec2 Min; // Upper-left ImVec2 Max; // Lower-right - ImRect() : Min(0.0f, 0.0f), Max(0.0f, 0.0f) {} - ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} - ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} - ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} + constexpr ImRect() : Min(0.0f, 0.0f), Max(0.0f, 0.0f) {} + constexpr ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} + constexpr ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} + constexpr ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + Max.y) * 0.5f); } ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } @@ -552,17 +574,18 @@ inline void ImBitArraySetBitRange(ImU32* arr, int n, int n2) // Works on ran // Helper: ImBitArray class (wrapper over ImBitArray functions) // Store 1-bit per value. -template -struct IMGUI_API ImBitArray +template +struct ImBitArray { ImU32 Storage[(BITCOUNT + 31) >> 5]; ImBitArray() { ClearAllBits(); } void ClearAllBits() { memset(Storage, 0, sizeof(Storage)); } void SetAllBits() { memset(Storage, 255, sizeof(Storage)); } - bool TestBit(int n) const { IM_ASSERT(n < BITCOUNT); return ImBitArrayTestBit(Storage, n); } - void SetBit(int n) { IM_ASSERT(n < BITCOUNT); ImBitArraySetBit(Storage, n); } - void ClearBit(int n) { IM_ASSERT(n < BITCOUNT); ImBitArrayClearBit(Storage, n); } - void SetBitRange(int n, int n2) { ImBitArraySetBitRange(Storage, n, n2); } // Works on range [n..n2) + bool TestBit(int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return ImBitArrayTestBit(Storage, n); } + void SetBit(int n) { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); ImBitArraySetBit(Storage, n); } + void ClearBit(int n) { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); ImBitArrayClearBit(Storage, n); } + void SetBitRange(int n, int n2) { n += OFFSET; n2 += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT && n2 > n && n2 <= BITCOUNT); ImBitArraySetBitRange(Storage, n, n2); } // Works on range [n..n2) + bool operator[](int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return ImBitArrayTestBit(Storage, n); } }; // Helper: ImBitVector @@ -633,7 +656,7 @@ struct ImSpanAllocator // Honor constructor/destructor. Add/remove invalidate all pointers. Indexes have the same lifetime as the associated object. typedef int ImPoolIdx; template -struct IMGUI_API ImPool +struct ImPool { ImVector Buf; // Contiguous data ImGuiStorage Map; // ID->Index @@ -670,7 +693,7 @@ struct IMGUI_API ImPool // We store the chunk size first, and align the final size on 4 bytes boundaries. // The tedious/zealous amount of casting is to avoid -Wcast-align warnings. template -struct IMGUI_API ImChunkStream +struct ImChunkStream { ImVector Buf; @@ -688,6 +711,20 @@ struct IMGUI_API ImChunkStream }; +// Helper: ImGuiTextIndex<> +// Maintain a line index for a text buffer. This is a strong candidate to be moved into the public API. +struct ImGuiTextIndex +{ + ImVector LineOffsets; + int EndOffset = 0; // Because we don't own text buffer we need to maintain EndOffset (may bake in LineOffsets?) + + void clear() { LineOffsets.clear(); EndOffset = 0; } + int size() { return LineOffsets.Size; } + const char* get_line_begin(const char* base, int n) { return base + LineOffsets[n]; } + const char* get_line_end(const char* base, int n) { return base + (n + 1 < LineOffsets.Size ? (LineOffsets[n + 1] - 1) : EndOffset); } + void append(const char* base, int old_size, int new_size); +}; + //----------------------------------------------------------------------------- // [SECTION] ImDrawList support //----------------------------------------------------------------------------- @@ -702,7 +739,6 @@ struct IMGUI_API ImChunkStream // // Rendering circles with an odd number of segments, while mathematically correct will produce // asymmetrical results on the raster grid. Therefore we're rounding N to next even number (7->8, 8->8, 9->10 etc.) -// #define IM_ROUNDUP_TO_EVEN(_V) ((((_V) + 1) / 2) * 2) #define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN 4 #define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX 512 @@ -730,6 +766,9 @@ struct IMGUI_API ImDrawListSharedData ImVec4 ClipRectFullscreen; // Value for PushClipRectFullscreen() ImDrawListFlags InitialFlags; // Initial flags at the beginning of the frame (it is possible to alter flags on a per-drawlist basis afterwards) + // [Internal] Temp write buffer + ImVector TempBuffer; + // [Internal] Lookup tables ImVec2 ArcFastVtx[IM_DRAWLIST_ARCFAST_TABLE_SIZE]; // Sample points on the quarter of the circle. float ArcFastRadiusCutoff; // Cutoff radius after which arc drawing will fallback to slower PathArcTo() @@ -754,10 +793,14 @@ struct ImDrawDataBuilder // [SECTION] Widgets support: flags, enums, data structures //----------------------------------------------------------------------------- -// Transient per-window flags, reset at the beginning of the frame. For child window, inherited from parent on first Begin(). +// Flags used by upcoming items +// - input: PushItemFlag() manipulates g.CurrentItemFlags, ItemAdd() calls may add extra flags. +// - output: stored in g.LastItemData.InFlags +// Current window shared by all windows. // This is going to be exposed in imgui.h when stabilized enough. enum ImGuiItemFlags_ { + // Controlled by user ImGuiItemFlags_None = 0, ImGuiItemFlags_NoTabStop = 1 << 0, // false // Disable keyboard tabbing (FIXME: should merge with _NoNav) ImGuiItemFlags_ButtonRepeat = 1 << 1, // false // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings. @@ -767,10 +810,14 @@ enum ImGuiItemFlags_ ImGuiItemFlags_SelectableDontClosePopup = 1 << 5, // false // Disable MenuItem/Selectable() automatically closing their popup window ImGuiItemFlags_MixedValue = 1 << 6, // false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets) ImGuiItemFlags_ReadOnly = 1 << 7, // false // [ALPHA] Allow hovering interactions but underlying value is not changed. - ImGuiItemFlags_Inputable = 1 << 8 // false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature. + ImGuiItemFlags_NoWindowHoverableCheck = 1 << 8, // false // Disable hoverable check in ItemHoverable() + + // Controlled by widget code + ImGuiItemFlags_Inputable = 1 << 10, // false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature. }; -// Storage for LastItem data +// Status flags for an already submitted item +// - output: stored in g.LastItemData.StatusFlags enum ImGuiItemStatusFlags_ { ImGuiItemStatusFlags_None = 0, @@ -782,14 +829,14 @@ enum ImGuiItemStatusFlags_ ImGuiItemStatusFlags_HasDeactivated = 1 << 5, // Set if the widget/group is able to provide data for the ImGuiItemStatusFlags_Deactivated flag. ImGuiItemStatusFlags_Deactivated = 1 << 6, // Only valid if ImGuiItemStatusFlags_HasDeactivated is set. ImGuiItemStatusFlags_HoveredWindow = 1 << 7, // Override the HoveredWindow test to allow cross-window hover testing. - ImGuiItemStatusFlags_FocusedByTabbing = 1 << 8 // Set when the Focusable item just got focused by Tabbing (FIXME: to be removed soon) + ImGuiItemStatusFlags_FocusedByTabbing = 1 << 8, // Set when the Focusable item just got focused by Tabbing (FIXME: to be removed soon) + ImGuiItemStatusFlags_Visible = 1 << 9, // [WIP] Set when item is overlapping the current clipping rectangle (Used internally. Please don't use yet: API/system will change as we refactor Itemadd()). #ifdef IMGUI_ENABLE_TEST_ENGINE - , // [imgui_tests only] - ImGuiItemStatusFlags_Openable = 1 << 20, // + ImGuiItemStatusFlags_Openable = 1 << 20, // Item is an openable (e.g. TreeNode) ImGuiItemStatusFlags_Opened = 1 << 21, // - ImGuiItemStatusFlags_Checkable = 1 << 22, // - ImGuiItemStatusFlags_Checked = 1 << 23 // + ImGuiItemStatusFlags_Checkable = 1 << 22, // Item is a checkable (e.g. CheckBox, MenuItem) + ImGuiItemStatusFlags_Checked = 1 << 23, // #endif }; @@ -799,7 +846,7 @@ enum ImGuiInputTextFlagsPrivate_ // [Internal] ImGuiInputTextFlags_Multiline = 1 << 26, // For internal use by InputTextMultiline() ImGuiInputTextFlags_NoMarkEdited = 1 << 27, // For internal use by functions using InputText() before reformatting data - ImGuiInputTextFlags_MergedItem = 1 << 28 // For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match. + ImGuiInputTextFlags_MergedItem = 1 << 28, // For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match. }; // Extend ImGuiButtonFlags_ @@ -819,23 +866,25 @@ enum ImGuiButtonFlagsPrivate_ ImGuiButtonFlags_AlignTextBaseLine = 1 << 15, // vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine ImGuiButtonFlags_NoKeyModifiers = 1 << 16, // disable mouse interaction if a key modifier is held ImGuiButtonFlags_NoHoldingActiveId = 1 << 17, // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only) - ImGuiButtonFlags_NoNavFocus = 1 << 18, // don't override navigation focus when activated + ImGuiButtonFlags_NoNavFocus = 1 << 18, // don't override navigation focus when activated (FIXME: this is essentially used everytime an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.InFlags) ImGuiButtonFlags_NoHoveredOnFocus = 1 << 19, // don't report as hovered when nav focus is on this item + ImGuiButtonFlags_NoSetKeyOwner = 1 << 20, // don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) + ImGuiButtonFlags_NoTestKeyOwner = 1 << 21, // don't test key/input owner when polling the key (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) ImGuiButtonFlags_PressedOnMask_ = ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold, - ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease + ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease, }; // Extend ImGuiComboFlags_ enum ImGuiComboFlagsPrivate_ { - ImGuiComboFlags_CustomPreview = 1 << 20 // enable BeginComboPreview() + ImGuiComboFlags_CustomPreview = 1 << 20, // enable BeginComboPreview() }; // Extend ImGuiSliderFlags_ enum ImGuiSliderFlagsPrivate_ { ImGuiSliderFlags_Vertical = 1 << 20, // Should this slider be orientated vertically? - ImGuiSliderFlags_ReadOnly = 1 << 21 + ImGuiSliderFlags_ReadOnly = 1 << 21, }; // Extend ImGuiSelectableFlags_ @@ -849,33 +898,34 @@ enum ImGuiSelectableFlagsPrivate_ ImGuiSelectableFlags_SpanAvailWidth = 1 << 24, // Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus) ImGuiSelectableFlags_DrawHoveredWhenHeld = 1 << 25, // Always show active when held, even is not hovered. This concept could probably be renamed/formalized somehow. ImGuiSelectableFlags_SetNavIdOnHover = 1 << 26, // Set Nav/Focus ID on mouse hover (used by MenuItem) - ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27 // Disable padding each side with ItemSpacing * 0.5f + ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27, // Disable padding each side with ItemSpacing * 0.5f + ImGuiSelectableFlags_NoSetKeyOwner = 1 << 28, // Don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) }; // Extend ImGuiTreeNodeFlags_ enum ImGuiTreeNodeFlagsPrivate_ { - ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20 + ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20, }; enum ImGuiSeparatorFlags_ { - ImGuiSeparatorFlags_None = 0, - ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar - ImGuiSeparatorFlags_Vertical = 1 << 1, - ImGuiSeparatorFlags_SpanAllColumns = 1 << 2 + ImGuiSeparatorFlags_None = 0, + ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar + ImGuiSeparatorFlags_Vertical = 1 << 1, + ImGuiSeparatorFlags_SpanAllColumns = 1 << 2, }; enum ImGuiTextFlags_ { - ImGuiTextFlags_None = 0, - ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0 + ImGuiTextFlags_None = 0, + ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0, }; enum ImGuiTooltipFlags_ { - ImGuiTooltipFlags_None = 0, - ImGuiTooltipFlags_OverridePreviousTooltip = 1 << 0 // Override will clear/ignore previously submitted tooltip (defaults to append) + ImGuiTooltipFlags_None = 0, + ImGuiTooltipFlags_OverridePreviousTooltip = 1 << 0, // Override will clear/ignore previously submitted tooltip (defaults to append) }; // FIXME: this is in development, not exposed/functional as a generic feature yet. @@ -892,7 +942,7 @@ enum ImGuiLogType ImGuiLogType_TTY, ImGuiLogType_File, ImGuiLogType_Buffer, - ImGuiLogType_Clipboard + ImGuiLogType_Clipboard, }; // X/Y enums are fixed to 0/1 so they may be used to index ImVec2 @@ -906,36 +956,14 @@ enum ImGuiAxis enum ImGuiPlotType { ImGuiPlotType_Lines, - ImGuiPlotType_Histogram -}; - -enum ImGuiInputSource -{ - ImGuiInputSource_None = 0, - ImGuiInputSource_Mouse, - ImGuiInputSource_Keyboard, - ImGuiInputSource_Gamepad, - ImGuiInputSource_Nav, // Stored in g.ActiveIdSource only - ImGuiInputSource_Clipboard, // Currently only used by InputText() - ImGuiInputSource_COUNT -}; - -// FIXME-NAV: Clarify/expose various repeat delay/rate -enum ImGuiInputReadMode -{ - ImGuiInputReadMode_Down, - ImGuiInputReadMode_Pressed, - ImGuiInputReadMode_Released, - ImGuiInputReadMode_Repeat, - ImGuiInputReadMode_RepeatSlow, - ImGuiInputReadMode_RepeatFast + ImGuiPlotType_Histogram, }; enum ImGuiPopupPositionPolicy { ImGuiPopupPositionPolicy_Default, ImGuiPopupPositionPolicy_ComboBox, - ImGuiPopupPositionPolicy_Tooltip + ImGuiPopupPositionPolicy_Tooltip, }; struct ImGuiDataTypeTempStorage @@ -957,14 +985,14 @@ enum ImGuiDataTypePrivate_ { ImGuiDataType_String = ImGuiDataType_COUNT + 1, ImGuiDataType_Pointer, - ImGuiDataType_ID + ImGuiDataType_ID, }; // Stacked color modifier, backup of modified data so we can restore it struct ImGuiColorMod { - ImGuiCol Col; - ImVec4 BackupValue; + ImGuiCol Col; + ImVec4 BackupValue; }; // Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable. @@ -1041,7 +1069,7 @@ struct IMGUI_API ImGuiInputTextState bool CursorFollow; // set when we want scrolling to follow the current cursor position (not always!) bool SelectedAllMouseLock; // after a double-click to select all, we ignore further mouse drags to update selection bool Edited; // edited this frame - ImGuiInputTextFlags Flags; // copy of InputText() flags + ImGuiInputTextFlags Flags; // copy of InputText() flags. may be used to check if e.g. ImGuiInputTextFlags_Password is set. ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } void ClearText() { CurLenW = CurLenA = 0; TextW[0] = 0; TextA[0] = 0; CursorClamp(); } @@ -1066,13 +1094,14 @@ struct ImGuiPopupData { ImGuiID PopupId; // Set on OpenPopup() ImGuiWindow* Window; // Resolved on BeginPopup() - may stay unresolved if user never calls OpenPopup() - ImGuiWindow* SourceWindow; // Set on OpenPopup() copy of NavWindow at the time of opening the popup + ImGuiWindow* BackupNavWindow;// Set on OpenPopup(), a NavWindow that will be restored on popup close + int ParentNavLayer; // Resolved on BeginPopup(). Actually a ImGuiNavLayer type (declared down below), initialized to -1 which is not part of an enum, but serves well-enough as "not any of layers" value int OpenFrameCount; // Set on OpenPopup() ImGuiID OpenParentId; // Set on OpenPopup(), we need this to differentiate multiple menu sets from each others (e.g. inside menu bar vs loose menu items) ImVec2 OpenPopupPos; // Set on OpenPopup(), preferred popup position (typically == OpenMousePos when using mouse) ImVec2 OpenMousePos; // Set on OpenPopup(), copy of mouse position at the time of opening popup - ImGuiPopupData() { memset(this, 0, sizeof(*this)); OpenFrameCount = -1; } + ImGuiPopupData() { memset(this, 0, sizeof(*this)); ParentNavLayer = OpenFrameCount = -1; } }; enum ImGuiNextWindowDataFlags_ @@ -1088,7 +1117,7 @@ enum ImGuiNextWindowDataFlags_ ImGuiNextWindowDataFlags_HasScroll = 1 << 7, ImGuiNextWindowDataFlags_HasViewport = 1 << 8, ImGuiNextWindowDataFlags_HasDock = 1 << 9, - ImGuiNextWindowDataFlags_HasWindowClass = 1 << 10 + ImGuiNextWindowDataFlags_HasWindowClass = 1 << 10, }; // Storage for SetNexWindow** functions @@ -1123,7 +1152,7 @@ enum ImGuiNextItemDataFlags_ { ImGuiNextItemDataFlags_None = 0, ImGuiNextItemDataFlags_HasWidth = 1 << 0, - ImGuiNextItemDataFlags_HasOpen = 1 << 1 + ImGuiNextItemDataFlags_HasOpen = 1 << 1, }; struct ImGuiNextItemData @@ -1180,6 +1209,7 @@ struct ImGuiShrinkWidthItem { int Index; float Width; + float InitialWidth; }; struct ImGuiPtrOrIndex @@ -1191,6 +1221,177 @@ struct ImGuiPtrOrIndex ImGuiPtrOrIndex(int index) { Ptr = NULL; Index = index; } }; +//----------------------------------------------------------------------------- +// [SECTION] Inputs support +//----------------------------------------------------------------------------- + +typedef ImBitArray ImBitArrayForNamedKeys; + +// [Internal] Key ranges +#define ImGuiKey_LegacyNativeKey_BEGIN 0 +#define ImGuiKey_LegacyNativeKey_END 512 +#define ImGuiKey_Keyboard_BEGIN (ImGuiKey_NamedKey_BEGIN) +#define ImGuiKey_Keyboard_END (ImGuiKey_GamepadStart) +#define ImGuiKey_Gamepad_BEGIN (ImGuiKey_GamepadStart) +#define ImGuiKey_Gamepad_END (ImGuiKey_GamepadRStickDown + 1) +#define ImGuiKey_Mouse_BEGIN (ImGuiKey_MouseLeft) +#define ImGuiKey_Mouse_END (ImGuiKey_MouseWheelY + 1) +#define ImGuiKey_Aliases_BEGIN (ImGuiKey_Mouse_BEGIN) +#define ImGuiKey_Aliases_END (ImGuiKey_Mouse_END) + +// [Internal] Named shortcuts for Navigation +#define ImGuiKey_NavKeyboardTweakSlow ImGuiMod_Ctrl +#define ImGuiKey_NavKeyboardTweakFast ImGuiMod_Shift +#define ImGuiKey_NavGamepadTweakSlow ImGuiKey_GamepadL1 +#define ImGuiKey_NavGamepadTweakFast ImGuiKey_GamepadR1 +#define ImGuiKey_NavGamepadActivate ImGuiKey_GamepadFaceDown +#define ImGuiKey_NavGamepadCancel ImGuiKey_GamepadFaceRight +#define ImGuiKey_NavGamepadMenu ImGuiKey_GamepadFaceLeft +#define ImGuiKey_NavGamepadInput ImGuiKey_GamepadFaceUp + +enum ImGuiInputEventType +{ + ImGuiInputEventType_None = 0, + ImGuiInputEventType_MousePos, + ImGuiInputEventType_MouseWheel, + ImGuiInputEventType_MouseButton, + ImGuiInputEventType_MouseViewport, + ImGuiInputEventType_Key, + ImGuiInputEventType_Text, + ImGuiInputEventType_Focus, + ImGuiInputEventType_COUNT +}; + +enum ImGuiInputSource +{ + ImGuiInputSource_None = 0, + ImGuiInputSource_Mouse, + ImGuiInputSource_Keyboard, + ImGuiInputSource_Gamepad, + ImGuiInputSource_Clipboard, // Currently only used by InputText() + ImGuiInputSource_Nav, // Stored in g.ActiveIdSource only + ImGuiInputSource_COUNT +}; + +// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? +// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' +struct ImGuiInputEventMousePos { float PosX, PosY; }; +struct ImGuiInputEventMouseWheel { float WheelX, WheelY; }; +struct ImGuiInputEventMouseButton { int Button; bool Down; }; +struct ImGuiInputEventMouseViewport { ImGuiID HoveredViewportID; }; +struct ImGuiInputEventKey { ImGuiKey Key; bool Down; float AnalogValue; }; +struct ImGuiInputEventText { unsigned int Char; }; +struct ImGuiInputEventAppFocused { bool Focused; }; + +struct ImGuiInputEvent +{ + ImGuiInputEventType Type; + ImGuiInputSource Source; + union + { + ImGuiInputEventMousePos MousePos; // if Type == ImGuiInputEventType_MousePos + ImGuiInputEventMouseWheel MouseWheel; // if Type == ImGuiInputEventType_MouseWheel + ImGuiInputEventMouseButton MouseButton; // if Type == ImGuiInputEventType_MouseButton + ImGuiInputEventMouseViewport MouseViewport; // if Type == ImGuiInputEventType_MouseViewport + ImGuiInputEventKey Key; // if Type == ImGuiInputEventType_Key + ImGuiInputEventText Text; // if Type == ImGuiInputEventType_Text + ImGuiInputEventAppFocused AppFocused; // if Type == ImGuiInputEventType_Focus + }; + bool AddedByTestEngine; + + ImGuiInputEvent() { memset(this, 0, sizeof(*this)); } +}; + +// Input function taking an 'ImGuiID owner_id' argument defaults to (ImGuiKeyOwner_Any == 0) aka don't test ownership, which matches legacy behavior. +#define ImGuiKeyOwner_Any ((ImGuiID)0) // Accept key that have an owner, UNLESS a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. +#define ImGuiKeyOwner_None ((ImGuiID)-1) // Require key to have no owner. + +typedef ImS16 ImGuiKeyRoutingIndex; + +// Routing table entry (sizeof() == 16 bytes) +struct ImGuiKeyRoutingData +{ + ImGuiKeyRoutingIndex NextEntryIndex; + ImU16 Mods; // Technically we'd only need 4 bits but for simplify we store ImGuiMod_ values which need 16 bits. + ImU8 RoutingNextScore; // Lower is better (0: perfect score) + ImGuiID RoutingCurr; + ImGuiID RoutingNext; + + ImGuiKeyRoutingData() { NextEntryIndex = -1; Mods = 0; RoutingNextScore = 255; RoutingCurr = RoutingNext = ImGuiKeyOwner_None; } +}; + +// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. +// Stored in main context (1 instance) +struct ImGuiKeyRoutingTable +{ + ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT]; // Index of first entry in Entries[] + ImVector Entries; + ImVector EntriesNext; // Double-buffer to avoid reallocation (could use a shared buffer) + + ImGuiKeyRoutingTable() { Clear(); } + void Clear() { for (int n = 0; n < IM_ARRAYSIZE(Index); n++) Index[n] = -1; Entries.clear(); EntriesNext.clear(); } +}; + +// This extends ImGuiKeyData but only for named keys (legacy keys don't support the new features) +// Stored in main context (1 per named key). In the future it might be merged into ImGuiKeyData. +struct ImGuiKeyOwnerData +{ + ImGuiID OwnerCurr; + ImGuiID OwnerNext; + bool LockThisFrame; // Reading this key requires explicit owner id (until end of frame). Set by ImGuiInputFlags_LockThisFrame. + bool LockUntilRelease; // Reading this key requires explicit owner id (until key is released). Set by ImGuiInputFlags_LockUntilRelease. When this is true LockThisFrame is always true as well. + + ImGuiKeyOwnerData() { OwnerCurr = OwnerNext = ImGuiKeyOwner_None; LockThisFrame = LockUntilRelease = false; } +}; + +// Flags for extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() +// Don't mistake with ImGuiInputTextFlags! (for ImGui::InputText() function) +enum ImGuiInputFlags_ +{ + // Flags for IsKeyPressed(), IsMouseClicked(), Shortcut() + ImGuiInputFlags_None = 0, + ImGuiInputFlags_Repeat = 1 << 0, // Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1. + ImGuiInputFlags_RepeatRateDefault = 1 << 1, // Repeat rate: Regular (default) + ImGuiInputFlags_RepeatRateNavMove = 1 << 2, // Repeat rate: Fast + ImGuiInputFlags_RepeatRateNavTweak = 1 << 3, // Repeat rate: Faster + ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak, + + // Flags for SetItemKeyOwner() + ImGuiInputFlags_CondHovered = 1 << 4, // Only set if item is hovered (default to both) + ImGuiInputFlags_CondActive = 1 << 5, // Only set if item is active (default to both) + ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + + // Flags for SetKeyOwner(), SetItemKeyOwner() + ImGuiInputFlags_LockThisFrame = 1 << 6, // Access to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared at end of frame. This is useful to make input-owner-aware code steal keys from non-input-owner-aware code. + ImGuiInputFlags_LockUntilRelease = 1 << 7, // Access to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared when the key is released or at end of each frame if key is released. This is useful to make input-owner-aware code steal keys from non-input-owner-aware code. + + // Routing policies for Shortcut() + low-level SetShortcutRouting() + // - The general idea is that several callers register interest in a shortcut, and only one owner gets it. + // - When a policy (other than _RouteAlways) is set, Shortcut() will register itself with SetShortcutRouting(), + // allowing the system to decide where to route the input among other route-aware calls. + // - Shortcut() uses ImGuiInputFlags_RouteFocused by default: meaning that a simple Shortcut() poll + // will register a route and only succeed when parent window is in the focus stack and if no-one + // with a higher priority is claiming the shortcut. + // - Using ImGuiInputFlags_RouteAlways is roughly equivalent to doing e.g. IsKeyPressed(key) + testing mods. + // - Priorities: GlobalHigh > Focused (when owner is active item) > Global > Focused (when focused window) > GlobalLow. + // - Can select only 1 policy among all available. + ImGuiInputFlags_RouteFocused = 1 << 8, // (Default) Register focused route: Accept inputs if window is in focus stack. Deep-most focused window takes inputs. ActiveId takes inputs over deep-most focused window. + ImGuiInputFlags_RouteGlobalLow = 1 << 9, // Register route globally (lowest priority: unless a focused window or active item registered the route) -> recommended Global priority. + ImGuiInputFlags_RouteGlobal = 1 << 10, // Register route globally (medium priority: unless an active item registered the route, e.g. CTRL+A registered by InputText). + ImGuiInputFlags_RouteGlobalHigh = 1 << 11, // Register route globally (highest priority: unlikely you need to use that: will interfere with every active items) + ImGuiInputFlags_RouteMask_ = ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh, // _Always not part of this! + ImGuiInputFlags_RouteAlways = 1 << 12, // Do not register route, poll keys directly. + ImGuiInputFlags_RouteUnlessBgFocused= 1 << 13, // Global routes will not be applied if underlying background/void is focused (== no Dear ImGui windows are focused). Useful for overlay applications. + ImGuiInputFlags_RouteExtraMask_ = ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused, + + // [Internal] Mask of which function support which flags + ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_, + ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteExtraMask_, + ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease, + ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_, +}; + //----------------------------------------------------------------------------- // [SECTION] Clipper support //----------------------------------------------------------------------------- @@ -1229,7 +1430,7 @@ enum ImGuiActivateFlags_ ImGuiActivateFlags_None = 0, ImGuiActivateFlags_PreferInput = 1 << 0, // Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default if keyboard is available. ImGuiActivateFlags_PreferTweak = 1 << 1, // Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default if keyboard is not available. - ImGuiActivateFlags_TryToPreserveState = 1 << 2 // Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection) + ImGuiActivateFlags_TryToPreserveState = 1 << 2, // Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection) }; // Early work-in-progress API for ScrollToItem() @@ -1244,7 +1445,7 @@ enum ImGuiScrollFlags_ ImGuiScrollFlags_AlwaysCenterY = 1 << 5, // Always center the result item on Y axis [default for Y axis for appearing window) ImGuiScrollFlags_NoScrollParent = 1 << 6, // Disable forwarding scrolling to parent window if required to keep item/rect visible (only scroll window the function was applied to). ImGuiScrollFlags_MaskX_ = ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX, - ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY + ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY, }; enum ImGuiNavHighlightFlags_ @@ -1253,16 +1454,7 @@ enum ImGuiNavHighlightFlags_ ImGuiNavHighlightFlags_TypeDefault = 1 << 0, ImGuiNavHighlightFlags_TypeThin = 1 << 1, ImGuiNavHighlightFlags_AlwaysDraw = 1 << 2, // Draw rectangular highlight if (g.NavId == id) _even_ when using the mouse. - ImGuiNavHighlightFlags_NoRounding = 1 << 3 -}; - -enum ImGuiNavDirSourceFlags_ -{ - ImGuiNavDirSourceFlags_None = 0, - ImGuiNavDirSourceFlags_RawKeyboard = 1 << 0, // Raw keyboard (not pulled from nav), faciliate use of some functions before we can unify nav and keys - ImGuiNavDirSourceFlags_Keyboard = 1 << 1, - ImGuiNavDirSourceFlags_PadDPad = 1 << 2, - ImGuiNavDirSourceFlags_PadLStick = 1 << 3 + ImGuiNavHighlightFlags_NoRounding = 1 << 3, }; enum ImGuiNavMoveFlags_ @@ -1280,13 +1472,13 @@ enum ImGuiNavMoveFlags_ ImGuiNavMoveFlags_FocusApi = 1 << 9, ImGuiNavMoveFlags_Tabbing = 1 << 10, // == Focus + Activate if item is Inputable + DontChangeNavHighlight ImGuiNavMoveFlags_Activate = 1 << 11, - ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12 // Do not alter the visible state of keyboard vs mouse nav highlight + ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12, // Do not alter the visible state of keyboard vs mouse nav highlight }; enum ImGuiNavLayer { ImGuiNavLayer_Main = 0, // Main scrolling layer - ImGuiNavLayer_Menu = 1, // Menu layer (access with Alt/ImGuiNavInput_Menu) + ImGuiNavLayer_Menu = 1, // Menu layer (access with Alt) ImGuiNavLayer_COUNT }; @@ -1317,24 +1509,24 @@ enum ImGuiOldColumnFlags_ ImGuiOldColumnFlags_NoResize = 1 << 1, // Disable resizing columns when clicking on the dividers ImGuiOldColumnFlags_NoPreserveWidths = 1 << 2, // Disable column width preservation when adjusting columns ImGuiOldColumnFlags_NoForceWithinWindow = 1 << 3, // Disable forcing columns to fit within window - ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4 // (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove. + ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4, // (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove. // Obsolete names (will be removed) #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiColumnsFlags_None = ImGuiOldColumnFlags_None, + ImGuiColumnsFlags_None = ImGuiOldColumnFlags_None, ImGuiColumnsFlags_NoBorder = ImGuiOldColumnFlags_NoBorder, ImGuiColumnsFlags_NoResize = ImGuiOldColumnFlags_NoResize, ImGuiColumnsFlags_NoPreserveWidths = ImGuiOldColumnFlags_NoPreserveWidths, ImGuiColumnsFlags_NoForceWithinWindow = ImGuiOldColumnFlags_NoForceWithinWindow, - ImGuiColumnsFlags_GrowParentContentsSize = ImGuiOldColumnFlags_GrowParentContentsSize + ImGuiColumnsFlags_GrowParentContentsSize = ImGuiOldColumnFlags_GrowParentContentsSize, #endif }; struct ImGuiOldColumnData { - float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right) + float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right) float OffsetNormBeforeResize; - ImGuiOldColumnFlags Flags; // Not exposed + ImGuiOldColumnFlags Flags; // Not exposed ImRect ClipRect; ImGuiOldColumnData() { memset(this, 0, sizeof(*this)); } @@ -1373,6 +1565,9 @@ struct ImGuiOldColumns // [SECTION] Docking support //----------------------------------------------------------------------------- +#define DOCKING_HOST_DRAW_CHANNEL_BG 0 // Dock host: background fill +#define DOCKING_HOST_DRAW_CHANNEL_FG 1 // Dock host: decorations and contents + #ifdef IMGUI_HAS_DOCK // Extend ImGuiDockNodeFlags_ @@ -1405,7 +1600,7 @@ enum ImGuiDataAuthority_ { ImGuiDataAuthority_Auto, ImGuiDataAuthority_DockNode, - ImGuiDataAuthority_Window + ImGuiDataAuthority_Window, }; enum ImGuiDockNodeState @@ -1413,7 +1608,7 @@ enum ImGuiDockNodeState ImGuiDockNodeState_Unknown, ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow, ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing, - ImGuiDockNodeState_HostWindowVisible + ImGuiDockNodeState_HostWindowVisible, }; // sizeof() 156~192 @@ -1526,7 +1721,6 @@ struct ImGuiViewportP : public ImGuiViewport float Alpha; // Window opacity (when dragging dockable windows/viewports we make them transparent) float LastAlpha; short PlatformMonitor; - bool PlatformWindowCreated; ImGuiWindow* Window; // Set when the viewport is owned by a window (and ImGuiViewportFlags_CanHostOtherWindows is NOT set) int DrawListsLastFrame[2]; // Last frame number the background (0) and foreground (1) draw lists were used ImDrawList* DrawLists[2]; // Convenience background (0) and foreground (1) draw lists. We use them to draw software mouser cursor when io.MouseDrawCursor is set and to draw most debug overlays. @@ -1540,7 +1734,7 @@ struct ImGuiViewportP : public ImGuiViewport ImVec2 BuildWorkOffsetMin; // Work Area: Offset being built during current frame. Generally >= 0.0f. ImVec2 BuildWorkOffsetMax; // Work Area: Offset being built during current frame. Generally <= 0.0f. - ImGuiViewportP() { Idx = -1; LastFrameActive = DrawListsLastFrame[0] = DrawListsLastFrame[1] = LastFrontMostStampCount = -1; LastNameHash = 0; Alpha = LastAlpha = 1.0f; PlatformMonitor = -1; PlatformWindowCreated = false; Window = NULL; DrawLists[0] = DrawLists[1] = NULL; LastPlatformPos = LastPlatformSize = LastRendererSize = ImVec2(FLT_MAX, FLT_MAX); } + ImGuiViewportP() { Idx = -1; LastFrameActive = DrawListsLastFrame[0] = DrawListsLastFrame[1] = LastFrontMostStampCount = -1; LastNameHash = 0; Alpha = LastAlpha = 1.0f; PlatformMonitor = -1; Window = NULL; DrawLists[0] = DrawLists[1] = NULL; LastPlatformPos = LastPlatformSize = LastRendererSize = ImVec2(FLT_MAX, FLT_MAX); } ~ImGuiViewportP() { if (DrawLists[0]) IM_DELETE(DrawLists[0]); if (DrawLists[1]) IM_DELETE(DrawLists[1]); } void ClearRequestFlags() { PlatformRequestClose = PlatformRequestMove = PlatformRequestResize = false; } @@ -1594,12 +1788,54 @@ struct ImGuiSettingsHandler ImGuiSettingsHandler() { memset(this, 0, sizeof(*this)); } }; +//----------------------------------------------------------------------------- +// [SECTION] Localization support +//----------------------------------------------------------------------------- + +// This is experimental and not officially supported, it'll probably fall short of features, if/when it does we may backtrack. +enum ImGuiLocKey : int +{ + ImGuiLocKey_TableSizeOne, + ImGuiLocKey_TableSizeAllFit, + ImGuiLocKey_TableSizeAllDefault, + ImGuiLocKey_TableResetOrder, + ImGuiLocKey_WindowingMainMenuBar, + ImGuiLocKey_WindowingPopup, + ImGuiLocKey_WindowingUntitled, + ImGuiLocKey_DockingHideTabBar, + ImGuiLocKey_COUNT +}; + +struct ImGuiLocEntry +{ + ImGuiLocKey Key; + const char* Text; +}; + + //----------------------------------------------------------------------------- // [SECTION] Metrics, Debug Tools //----------------------------------------------------------------------------- +enum ImGuiDebugLogFlags_ +{ + // Event types + ImGuiDebugLogFlags_None = 0, + ImGuiDebugLogFlags_EventActiveId = 1 << 0, + ImGuiDebugLogFlags_EventFocus = 1 << 1, + ImGuiDebugLogFlags_EventPopup = 1 << 2, + ImGuiDebugLogFlags_EventNav = 1 << 3, + ImGuiDebugLogFlags_EventClipper = 1 << 4, + ImGuiDebugLogFlags_EventIO = 1 << 5, + ImGuiDebugLogFlags_EventDocking = 1 << 6, + ImGuiDebugLogFlags_EventViewport = 1 << 7, + ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport, + ImGuiDebugLogFlags_OutputToTTY = 1 << 10, // Also send output to TTY +}; + struct ImGuiMetricsConfig { + bool ShowDebugLog; bool ShowStackTool; bool ShowWindowsRects; bool ShowWindowsBeginOrder; @@ -1612,15 +1848,11 @@ struct ImGuiMetricsConfig ImGuiMetricsConfig() { - ShowStackTool = false; - ShowWindowsRects = false; - ShowWindowsBeginOrder = false; - ShowTablesRects = false; + ShowDebugLog = ShowStackTool = ShowWindowsRects = ShowWindowsBeginOrder = ShowTablesRects = false; ShowDrawCmdMesh = true; ShowDrawCmdBoundingBoxes = true; ShowDockingNodes = false; - ShowWindowsRectsType = -1; - ShowTablesRectsType = -1; + ShowWindowsRectsType = ShowTablesRectsType = -1; } }; @@ -1629,7 +1861,8 @@ struct ImGuiStackLevelInfo ImGuiID ID; ImS8 QueryFrameCount; // >= 1: Query in progress bool QuerySuccess; // Obtained result from DebugHookIdInfo() - char Desc[58]; // Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) + ImGuiDataType DataType : 8; + char Desc[57]; // Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) FIXME: Now that we added CTRL+C this should be fixed. ImGuiStackLevelInfo() { memset(this, 0, sizeof(*this)); } }; @@ -1641,8 +1874,10 @@ struct ImGuiStackTool int StackLevel; // -1: query stack and resize Results, >= 0: individual stack level ImGuiID QueryId; // ID to query details for ImVector Results; + bool CopyToClipboardOnCtrlC; + float CopyToClipboardLastTime; - ImGuiStackTool() { memset(this, 0, sizeof(*this)); } + ImGuiStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } }; //----------------------------------------------------------------------------- @@ -1664,7 +1899,7 @@ struct ImGuiContextHook }; //----------------------------------------------------------------------------- -// [SECTION] ImGuiContext (main imgui context) +// [SECTION] ImGuiContext (main Dear ImGui context) //----------------------------------------------------------------------------- struct ImGuiContext @@ -1673,6 +1908,8 @@ struct ImGuiContext bool FontAtlasOwnedByContext; // IO.Fonts-> is owned by the ImGuiContext and will be destructed along with it. ImGuiIO IO; ImGuiPlatformIO PlatformIO; + ImVector InputEventsQueue; // Input events which will be tricked/written into IO structure. + ImVector InputEventsTrail; // Past input events processed in NewFrame(). This is to allow domain-specific application to access e.g mouse/pen trail. ImGuiStyle Style; ImGuiConfigFlags ConfigFlagsCurrFrame; // = g.IO.ConfigFlags at the time of NewFrame() ImGuiConfigFlags ConfigFlagsLastFrame; @@ -1703,19 +1940,16 @@ struct ImGuiContext ImGuiWindow* CurrentWindow; // Window being drawn into ImGuiWindow* HoveredWindow; // Window the mouse is hovering. Will typically catch mouse inputs. ImGuiWindow* HoveredWindowUnderMovingWindow; // Hovered window ignoring MovingWindow. Only set if MovingWindow is set. - ImGuiDockNode* HoveredDockNode; // [Debug] Hovered dock node. ImGuiWindow* MovingWindow; // Track the window we clicked on (in order to preserve focus). The actual window that is moved is generally MovingWindow->RootWindowDockTree. ImGuiWindow* WheelingWindow; // Track the window we started mouse-wheeling on. Until a timer elapse or mouse has moved, generally keep scrolling the same window even if during the course of scrolling the mouse ends up hovering a child window. ImVec2 WheelingWindowRefMousePos; - float WheelingWindowTimer; + float WheelingWindowReleaseTimer; // Item/widgets state and tracking information ImGuiID DebugHookIdInfo; // Will call core hooks: DebugHookIdInfo() from GetID functions, used by Stack Tool [next HoveredId/ActiveId to not pull in an extra cache-line] ImGuiID HoveredId; // Hovered widget, filled during the frame ImGuiID HoveredIdPreviousFrame; bool HoveredIdAllowOverlap; - bool HoveredIdUsingMouseWheel; // Hovered widget will use mouse wheel. Blocks scrolling the underlying window. - bool HoveredIdPreviousFrameUsingMouseWheel; bool HoveredIdDisabled; // At least one widget passed the rect test, but has been discarded by disabled flag or popup inhibit. May be true even if HoveredId == 0. float HoveredIdTimer; // Measure contiguous hovering time float HoveredIdNotActiveTimer; // Measure contiguous hovering time where the item has not been active @@ -1728,10 +1962,6 @@ struct ImGuiContext bool ActiveIdHasBeenPressedBefore; // Track whether the active id led to a press (this is to allow changing between PressOnClick and PressOnRelease without pressing twice). Used by range_select branch. bool ActiveIdHasBeenEditedBefore; // Was the value associated to the widget Edited over the course of the Active state. bool ActiveIdHasBeenEditedThisFrame; - bool ActiveIdUsingMouseWheel; // Active widget will want to read mouse wheel. Blocks scrolling the underlying window. - ImU32 ActiveIdUsingNavDirMask; // Active widget will want to read those nav move requests (e.g. can activate a button and move away from it) - ImU32 ActiveIdUsingNavInputMask; // Active widget will want to read those nav inputs. - ImU64 ActiveIdUsingKeyInputMask; // Active widget will want to read those key inputs. When we grow the ImGuiKey enum we'll need to either to order the enum to make useful keys come first, either redesign this into e.g. a small array. ImVec2 ActiveIdClickOffset; // Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior) ImGuiWindow* ActiveIdWindow; ImGuiInputSource ActiveIdSource; // Activating with mouse or nav (gamepad/keyboard) @@ -1743,8 +1973,22 @@ struct ImGuiContext ImGuiID LastActiveId; // Store the last non-zero ActiveId, useful for animation. float LastActiveIdTimer; // Store the last non-zero ActiveId timer since the beginning of activation, useful for animation. + // [EXPERIMENTAL] Key/Input Ownership + Shortcut Routing system + // - The idea is that instead of "eating" a given key, we can link to an owner. + // - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_None (== -1) or a custom ID. + // - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame(). + ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT]; + ImGuiKeyRoutingTable KeysRoutingTable; + ImU32 ActiveIdUsingNavDirMask; // Active widget will want to read those nav move requests (e.g. can activate a button and move away from it) + bool ActiveIdUsingAllKeyboardKeys; // Active widget will want to read all keyboard keys inputs. (FIXME: This is a shortcut for not taking ownership of 100+ keys but perhaps best to not have the inconsistency) +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + ImU32 ActiveIdUsingNavInputMask; // If you used this. Since (IMGUI_VERSION_NUM >= 18804) : 'g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel);' becomes 'SetKeyOwner(ImGuiKey_Escape, g.ActiveId) and/or SetKeyOwner(ImGuiKey_NavGamepadCancel, g.ActiveId);' +#endif + // Next window/item data - ImGuiItemFlags CurrentItemFlags; // == g.ItemFlagsStack.back() + ImGuiID CurrentFocusScopeId; // == g.FocusScopeStack.back() + ImGuiItemFlags CurrentItemFlags; // == g.ItemFlagsStack.back() + ImGuiID DebugLocateId; // Storage for DebugLocateItemOnHover() feature: this is read by ItemAdd() so we keep it in a hot/cached location ImGuiNextItemData NextItemData; // Storage for SetNextItem** functions ImGuiLastItemData LastItemData; // Storage for last submitted item (setup by ItemAdd) ImGuiNextWindowData NextWindowData; // Storage for SetNextWindow** functions @@ -1753,7 +1997,7 @@ struct ImGuiContext ImVector ColorStack; // Stack for PushStyleColor()/PopStyleColor() - inherited by Begin() ImVector StyleVarStack; // Stack for PushStyleVar()/PopStyleVar() - inherited by Begin() ImVector FontStack; // Stack for PushFont()/PopFont() - inherited by Begin() - ImVector FocusScopeStack; // Stack for PushFocusScope()/PopFocusScope() - not inherited by Begin(), unless child window + ImVector FocusScopeStack; // Stack for PushFocusScope()/PopFocusScope() - inherited by BeginChild(), pushed into by Begin() ImVectorItemFlagsStack; // Stack for PushItemFlag()/PopItemFlag() - inherited by Begin() ImVectorGroupStack; // Stack for BeginGroup()/EndGroup() - not inherited by Begin() ImVectorOpenPopupStack; // Which popups are open (persistent) @@ -1771,17 +2015,17 @@ struct ImGuiContext int ViewportFrontMostStampCount; // Every time the front-most window changes, we stamp its viewport with an incrementing counter // Gamepad/keyboard Navigation - ImGuiWindow* NavWindow; // Focused window for navigation. Could be called 'FocusWindow' + ImGuiWindow* NavWindow; // Focused window for navigation. Could be called 'FocusedWindow' ImGuiID NavId; // Focused item for navigation ImGuiID NavFocusScopeId; // Identify a selection scope (selection code often wants to "clear other items" when landing on an item of the selection set) - ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0, also set when calling ActivateItem() - ImGuiID NavActivateDownId; // ~~ IsNavInputDown(ImGuiNavInput_Activate) ? NavId : 0 - ImGuiID NavActivatePressedId; // ~~ IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0 - ImGuiID NavActivateInputId; // ~~ IsNavInputPressed(ImGuiNavInput_Input) ? NavId : 0; ImGuiActivateFlags_PreferInput will be set and NavActivateId will be 0. + ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && (IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_NavGamepadActivate)) ? NavId : 0, also set when calling ActivateItem() + ImGuiID NavActivateDownId; // ~~ IsKeyDown(ImGuiKey_Space) || IsKeyDown(ImGuiKey_NavGamepadActivate) ? NavId : 0 + ImGuiID NavActivatePressedId; // ~~ IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_NavGamepadActivate) ? NavId : 0 (no repeat) + ImGuiID NavActivateInputId; // ~~ IsKeyPressed(ImGuiKey_Enter) || IsKeyPressed(ImGuiKey_NavGamepadInput) ? NavId : 0; ImGuiActivateFlags_PreferInput will be set and NavActivateId will be 0. ImGuiActivateFlags NavActivateFlags; ImGuiID NavJustMovedToId; // Just navigated to this id (result of a successfully MoveRequest). ImGuiID NavJustMovedToFocusScopeId; // Just navigated to this focus scope id (result of a successfully MoveRequest). - ImGuiKeyModFlags NavJustMovedToKeyMods; + ImGuiKeyChord NavJustMovedToKeyMods; ImGuiID NavNextActivateId; // Set by ActivateItem(), queued until next frame. ImGuiActivateFlags NavNextActivateFlags; ImGuiInputSource NavInputSource; // Keyboard or Gamepad mode? THIS WILL ONLY BE None or NavGamepad or NavKeyboard. @@ -1802,7 +2046,7 @@ struct ImGuiContext bool NavMoveForwardToNextFrame; ImGuiNavMoveFlags NavMoveFlags; ImGuiScrollFlags NavMoveScrollFlags; - ImGuiKeyModFlags NavMoveKeyMods; + ImGuiKeyChord NavMoveKeyMods; ImGuiDir NavMoveDir; // Direction of the move request (left/right/up/down) ImGuiDir NavMoveDirForDebug; ImGuiDir NavMoveClipDir; // FIXME-NAV: Describe the purpose of this better. Might want to rename? @@ -1817,12 +2061,16 @@ struct ImGuiContext ImGuiNavItemData NavTabbingResultFirst; // First tabbing request candidate within NavWindow and flattened hierarchy // Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize) + ImGuiKeyChord ConfigNavWindowingKeyNext; // = ImGuiMod_Ctrl | ImGuiKey_Tab, for reconfiguration (see #4828) + ImGuiKeyChord ConfigNavWindowingKeyPrev; // = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab ImGuiWindow* NavWindowingTarget; // Target window when doing CTRL+Tab (or Pad Menu + FocusPrev/Next), this window is temporarily displayed top-most! ImGuiWindow* NavWindowingTargetAnim; // Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f, so the fade-out can stay on it. ImGuiWindow* NavWindowingListWindow; // Internal window actually listing the CTRL+Tab contents float NavWindowingTimer; float NavWindowingHighlightAlpha; bool NavWindowingToggleLayer; + ImVec2 NavWindowingAccumDeltaPos; + ImVec2 NavWindowingAccumDeltaSize; // Render float DimBgRatio; // 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list) @@ -1851,7 +2099,7 @@ struct ImGuiContext int ClipperTempDataStacked; ImVector ClipperTempData; - // Table + // Tables ImGuiTable* CurrentTable; int TablesTempDataStacked; // Temporary table data size (because we leave previous instances undestructed, we generally don't use TablesTempData.Size) ImVector TablesTempData; // Temporary table data (buffers reused/shared across instances, support nesting) @@ -1865,6 +2113,12 @@ struct ImGuiContext ImVector CurrentTabBarStack; ImVector ShrinkWidthBuffer; + // Hover Delay system + ImGuiID HoverDelayId; + ImGuiID HoverDelayIdPreviousFrame; + float HoverDelayTimer; // Currently used IsItemHovered(), generally inferred from g.HoveredIdTimer but kept uncleared until clear timer elapse. + float HoverDelayClearTimer; // Currently used IsItemHovered(): grace time before g.TooltipHoverTimer gets cleared. + // Widget state ImVec2 MouseLastValidPos; ImGuiInputTextState InputTextState; @@ -1876,6 +2130,7 @@ struct ImGuiContext ImU32 ColorEditLastColor; // RGB value with alpha set to 0. ImVec4 ColorPickerRef; // Initial/reference color at the time of opening the color picker. ImGuiComboPreviewData ComboPreviewData; + float SliderGrabClickOffset; float SliderCurrentAccum; // Accumulated slider delta when using navigation controls. bool SliderCurrentAccumDirty; // Has the accumulated slider delta changed since last time we tried to apply it? bool DragCurrentAccumDirty; @@ -1885,14 +2140,13 @@ struct ImGuiContext float DisabledAlphaBackup; // Backup for style.Alpha for BeginDisabled() short DisabledStackSize; short TooltipOverrideCount; - float TooltipSlowDelay; // Time before slow tooltips appears (FIXME: This is temporary until we merge in tooltip timer+priority work) ImVector ClipboardHandlerData; // If no custom clipboard handler is defined ImVector MenusIdSubmittedThisFrame; // A list of menu IDs that were rendered at least once // Platform support - ImVec2 PlatformImePos; // Cursor position request & last passed to the OS Input Method Editor - ImVec2 PlatformImeLastPos; - ImGuiViewportP* PlatformImePosViewport; + ImGuiPlatformImeData PlatformImeData; // Data updated by current frame + ImGuiPlatformImeData PlatformImeDataPrev; // Previous frame data (when changing we will call io.SetPlatformImeDataFn + ImGuiID PlatformImeViewport; char PlatformLocaleDecimalPoint; // '.' or *localeconv()->decimal_point // Extensions @@ -1909,6 +2163,9 @@ struct ImGuiContext ImVector Hooks; // Hooks for extensions (e.g. test engine) ImGuiID HookIdNext; // Next available HookId + // Localization + const char* LocalizationTable[ImGuiLocKey_COUNT]; + // Capture/Logging bool LogEnabled; // Currently capturing ImGuiLogType LogType; // Capture target @@ -1923,20 +2180,26 @@ struct ImGuiContext int LogDepthToExpandDefault; // Default/stored value for LogDepthMaxExpand if not specified in the LogXXX function call. // Debug Tools + ImGuiDebugLogFlags DebugLogFlags; + ImGuiTextBuffer DebugLogBuf; + ImGuiTextIndex DebugLogIndex; + ImU8 DebugLocateFrames; // For DebugLocateItemOnHover(). This is used together with DebugLocateId which is in a hot/cached spot above. bool DebugItemPickerActive; // Item picker is active (started with DebugStartItemPicker()) + ImU8 DebugItemPickerMouseButton; ImGuiID DebugItemPickerBreakId; // Will call IM_DEBUG_BREAK() when encountering this ID ImGuiMetricsConfig DebugMetricsConfig; ImGuiStackTool DebugStackTool; + ImGuiDockNode* DebugHoveredDockNode; // Hovered dock node. // Misc - float FramerateSecPerFrame[120]; // Calculate estimate of framerate for user over the last 2 seconds. + float FramerateSecPerFrame[60]; // Calculate estimate of framerate for user over the last 60 frames.. int FramerateSecPerFrameIdx; int FramerateSecPerFrameCount; float FramerateSecPerFrameAccum; - int WantCaptureMouseNextFrame; // Explicit capture via CaptureKeyboardFromApp()/CaptureMouseFromApp() sets those flags - int WantCaptureKeyboardNextFrame; + int WantCaptureMouseNextFrame; // Explicit capture override via SetNextFrameWantCaptureMouse()/SetNextFrameWantCaptureKeyboard(). Default to -1. + int WantCaptureKeyboardNextFrame; // " int WantTextInputNextFrame; - char TempBuffer[1024 * 3 + 1]; // Temporary text buffer + ImVector TempBuffer; // Temporary text buffer ImGuiContext(ImFontAtlas* shared_font_atlas) { @@ -1958,15 +2221,13 @@ struct ImGuiContext CurrentWindow = NULL; HoveredWindow = NULL; HoveredWindowUnderMovingWindow = NULL; - HoveredDockNode = NULL; MovingWindow = NULL; WheelingWindow = NULL; - WheelingWindowTimer = 0.0f; + WheelingWindowReleaseTimer = 0.0f; DebugHookIdInfo = 0; HoveredId = HoveredIdPreviousFrame = 0; HoveredIdAllowOverlap = false; - HoveredIdUsingMouseWheel = HoveredIdPreviousFrameUsingMouseWheel = false; HoveredIdDisabled = false; HoveredIdTimer = HoveredIdNotActiveTimer = 0.0f; ActiveId = 0; @@ -1978,10 +2239,6 @@ struct ImGuiContext ActiveIdHasBeenPressedBefore = false; ActiveIdHasBeenEditedBefore = false; ActiveIdHasBeenEditedThisFrame = false; - ActiveIdUsingMouseWheel = false; - ActiveIdUsingNavDirMask = 0x00; - ActiveIdUsingNavInputMask = 0x00; - ActiveIdUsingKeyInputMask = 0x00; ActiveIdClickOffset = ImVec2(-1, -1); ActiveIdWindow = NULL; ActiveIdSource = ImGuiInputSource_None; @@ -1993,6 +2250,13 @@ struct ImGuiContext LastActiveId = 0; LastActiveIdTimer = 0.0f; + ActiveIdUsingNavDirMask = 0x00; + ActiveIdUsingAllKeyboardKeys = false; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + ActiveIdUsingNavInputMask = 0x00; +#endif + + CurrentFocusScopeId = 0; CurrentItemFlags = ImGuiItemFlags_None; BeginMenuCount = 0; @@ -2006,7 +2270,7 @@ struct ImGuiContext NavId = NavFocusScopeId = NavActivateId = NavActivateDownId = NavActivatePressedId = NavActivateInputId = 0; NavJustMovedToId = NavJustMovedToFocusScopeId = NavNextActivateId = 0; NavActivateFlags = NavNextActivateFlags = ImGuiActivateFlags_None; - NavJustMovedToKeyMods = ImGuiKeyModFlags_None; + NavJustMovedToKeyMods = ImGuiMod_None; NavInputSource = ImGuiInputSource_None; NavLayer = ImGuiNavLayer_Main; NavIdIsAlive = false; @@ -2022,12 +2286,14 @@ struct ImGuiContext NavMoveForwardToNextFrame = false; NavMoveFlags = ImGuiNavMoveFlags_None; NavMoveScrollFlags = ImGuiScrollFlags_None; - NavMoveKeyMods = ImGuiKeyModFlags_None; + NavMoveKeyMods = ImGuiMod_None; NavMoveDir = NavMoveDirForDebug = NavMoveClipDir = ImGuiDir_None; NavScoringDebugCount = 0; NavTabbingDir = 0; NavTabbingCounter = 0; + ConfigNavWindowingKeyNext = ImGuiMod_Ctrl | ImGuiKey_Tab; + ConfigNavWindowingKeyPrev = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab; NavWindowingTarget = NavWindowingTargetAnim = NavWindowingListWindow = NULL; NavWindowingTimer = NavWindowingHighlightAlpha = 0.0f; NavWindowingToggleLayer = false; @@ -2053,29 +2319,35 @@ struct ImGuiContext TablesTempDataStacked = 0; CurrentTabBar = NULL; + HoverDelayId = HoverDelayIdPreviousFrame = 0; + HoverDelayTimer = HoverDelayClearTimer = 0.0f; + TempInputId = 0; ColorEditOptions = ImGuiColorEditFlags_DefaultOptions_; ColorEditLastHue = ColorEditLastSat = 0.0f; ColorEditLastColor = 0; + SliderGrabClickOffset = 0.0f; SliderCurrentAccum = 0.0f; SliderCurrentAccumDirty = false; DragCurrentAccumDirty = false; DragCurrentAccum = 0.0f; DragSpeedDefaultRatio = 1.0f / 100.0f; + ScrollbarClickDeltaToGrabCenter = 0.0f; DisabledAlphaBackup = 0.0f; DisabledStackSize = 0; - ScrollbarClickDeltaToGrabCenter = 0.0f; TooltipOverrideCount = 0; - TooltipSlowDelay = 0.50f; - PlatformImePos = PlatformImeLastPos = ImVec2(FLT_MAX, FLT_MAX); - PlatformImePosViewport = 0; + PlatformImeData.InputPos = ImVec2(0.0f, 0.0f); + PlatformImeDataPrev.InputPos = ImVec2(-1.0f, -1.0f); // Different to ensure initial submission + PlatformImeViewport = 0; PlatformLocaleDecimalPoint = '.'; SettingsLoaded = false; SettingsDirtyTimer = 0.0f; HookIdNext = 0; + memset(LocalizationTable, 0, sizeof(LocalizationTable)); + LogEnabled = false; LogType = ImGuiLogType_None; LogNextPrefix = LogNextSuffix = NULL; @@ -2085,14 +2357,18 @@ struct ImGuiContext LogDepthRef = 0; LogDepthToExpand = LogDepthToExpandDefault = 2; + DebugLogFlags = ImGuiDebugLogFlags_OutputToTTY; + DebugLocateId = 0; + DebugLocateFrames = 0; DebugItemPickerActive = false; + DebugItemPickerMouseButton = ImGuiMouseButton_Left; DebugItemPickerBreakId = 0; + DebugHoveredDockNode = NULL; memset(FramerateSecPerFrame, 0, sizeof(FramerateSecPerFrame)); FramerateSecPerFrameIdx = FramerateSecPerFrameCount = 0; FramerateSecPerFrameAccum = 0.0f; WantCaptureMouseNextFrame = WantCaptureKeyboardNextFrame = WantTextInputNextFrame = -1; - memset(TempBuffer, 0, sizeof(TempBuffer)); } }; @@ -2115,6 +2391,8 @@ struct IMGUI_API ImGuiWindowTempData ImVec2 PrevLineSize; float CurrLineTextBaseOffset; // Baseline offset (0.0f by default on a new line, generally == style.FramePadding.y when a framed item has been added). float PrevLineTextBaseOffset; + bool IsSameLine; + bool IsSetPos; ImVec1 Indent; // Indentation / start position from left of window (increased by TreePush/TreePop, etc.) ImVec1 ColumnsOffset; // Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to allow use cases like Tree->Column->Tree. Need revamp columns API. ImVec1 GroupOffset; @@ -2124,7 +2402,6 @@ struct IMGUI_API ImGuiWindowTempData ImGuiNavLayer NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1) short NavLayersActiveMask; // Which layers have been written to (result from previous frame) short NavLayersActiveMaskNext;// Which layers have been written to (accumulator for current frame) - ImGuiID NavFocusScopeIdCurrent; // Current focus scope ID while appending bool NavHideHighlightOneFrame; bool NavHasScroll; // Set when scrolling can be used (ScrollMax > 0.0f) @@ -2156,7 +2433,7 @@ struct IMGUI_API ImGuiWindow ImGuiID ID; // == ImHashStr(Name) ImGuiWindowFlags Flags, FlagsPreviousFrame; // See enum ImGuiWindowFlags_ ImGuiWindowClass WindowClass; // Advanced users only. Set with SetNextWindowClass() - ImGuiViewportP* Viewport; // Always set in Begin(), only inactive windows may have a NULL value here + ImGuiViewportP* Viewport; // Always set in Begin(). Inactive windows may have a NULL value here if their viewport was discarded. ImGuiID ViewportId; // We backup the viewport id (since the viewport may disappear or never be created if the window is inactive) ImVec2 ViewportPos; // We backup the viewport position (since the viewport may disappear or never be created if the window is inactive) int ViewportAllowPlatformMonitorExtend; // Reset to -1 every frame (index is guaranteed to be valid between NewFrame..EndFrame), only used in the Appearing frame of a tooltip/popup to enforce clamping to a given monitor @@ -2171,6 +2448,7 @@ struct IMGUI_API ImGuiWindow float WindowBorderSize; // Window border size at the time of Begin(). int NameBufLen; // Size of buffer storing Name. May be larger than strlen(Name)! ImGuiID MoveId; // == window->GetID("#MOVE") + ImGuiID TabId; // == window->GetID("#TAB") ImGuiID ChildId; // ID of corresponding item in parent window (for navigation to return from child window to parent window) ImVec2 Scroll; ImVec2 ScrollMax; @@ -2193,6 +2471,7 @@ struct IMGUI_API ImGuiWindow bool HasCloseButton; // Set when the window has a close button (p_open != NULL) signed char ResizeBorderHeld; // Current border being held for resize (-1: none, otherwise 0-3) short BeginCount; // Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End pairs) + short BeginCountPreviousFrame; // Number of Begin() during the previous frame short BeginOrderWithinParent; // Begin() order within immediate parent window, if we are a child window. Otherwise 0. short BeginOrderWithinContext; // Begin() order within entire imgui context. This is mostly used for debugging submission order related issues. short FocusOrder; // Order within WindowsFocusOrder[], altered when windows are focused. @@ -2250,6 +2529,7 @@ struct IMGUI_API ImGuiWindow ImGuiWindow* NavLastChildNavWindow; // When going to the menu bar, we remember the child window we came from. (This could probably be made implicit if we kept g.Windows sorted by last focused including child window.) ImGuiID NavLastIds[ImGuiNavLayer_COUNT]; // Last known NavId for this window, per layer (0/1) ImRect NavRectRel[ImGuiNavLayer_COUNT]; // Reference rectangle, in window relative space + ImGuiID NavRootFocusScopeId; // Focus Scope ID at the time of Begin() int MemoryDrawListIdxCapacity; // Backup of last idx/vtx count, so when waking up the window we can preallocate and avoid iterative alloc/copy int MemoryDrawListVtxCapacity; @@ -2275,12 +2555,9 @@ public: ImGuiID GetID(const char* str, const char* str_end = NULL); ImGuiID GetID(const void* ptr); ImGuiID GetID(int n); - ImGuiID GetIDNoKeepAlive(const char* str, const char* str_end = NULL); - ImGuiID GetIDNoKeepAlive(const void* ptr); - ImGuiID GetIDNoKeepAlive(int n); ImGuiID GetIDFromRectangle(const ImRect& r_abs); - // We don't use g.FontSize because the window may be != g.CurrentWidow. + // We don't use g.FontSize because the window may be != g.CurrentWindow. ImRect Rect() const { return ImRect(Pos.x, Pos.y, Pos.x + Size.x, Pos.y + Size.y); } float CalcFontSize() const { ImGuiContext& g = *GImGui; float scale = g.FontBaseSize * FontWindowScale * FontDpiScale; if (ParentWindow) scale *= ParentWindow->FontWindowScale; return scale; } float TitleBarHeight() const { ImGuiContext& g = *GImGui; return (Flags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + g.Style.FramePadding.y * 2.0f; } @@ -2298,7 +2575,7 @@ enum ImGuiTabBarFlagsPrivate_ { ImGuiTabBarFlags_DockNode = 1 << 20, // Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around] ImGuiTabBarFlags_IsFocused = 1 << 21, - ImGuiTabBarFlags_SaveSettings = 1 << 22 // FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs + ImGuiTabBarFlags_SaveSettings = 1 << 22, // FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs }; // Extend ImGuiTabItemFlags_ @@ -2308,7 +2585,7 @@ enum ImGuiTabItemFlagsPrivate_ ImGuiTabItemFlags_NoCloseButton = 1 << 20, // Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout) ImGuiTabItemFlags_Button = 1 << 21, // Used by TabItemButton, change the tab item behavior to mimic a button ImGuiTabItemFlags_Unsorted = 1 << 22, // [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window. - ImGuiTabItemFlags_Preview = 1 << 23 // [Docking] Display tab shape for docking preview (height is adjusted slightly to compensate for the yet missing tab bar) + ImGuiTabItemFlags_Preview = 1 << 23, // [Docking] Display tab shape for docking preview (height is adjusted slightly to compensate for the yet missing tab bar) }; // Storage for one active tab item (sizeof() 48 bytes) @@ -2322,12 +2599,13 @@ struct ImGuiTabItem float Offset; // Position relative to beginning of tab float Width; // Width currently displayed float ContentWidth; // Width of label, stored during BeginTabItem() call + float RequestedWidth; // Width optionally requested by caller, -1.0f is unused ImS32 NameOffset; // When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames ImS16 BeginOrder; // BeginTabItem() order, used to re-order tabs after toggling ImGuiTabBarFlags_Reorderable ImS16 IndexDuringLayout; // Index only used during TabBarLayout() bool WantClose; // Marked as closed by SetTabItemClosed() - ImGuiTabItem() { memset(this, 0, sizeof(*this)); LastFrameVisible = LastFrameSelected = -1; NameOffset = -1; BeginOrder = IndexDuringLayout = -1; } + ImGuiTabItem() { memset(this, 0, sizeof(*this)); LastFrameVisible = LastFrameSelected = -1; RequestedWidth = -1.0f; NameOffset = -1; BeginOrder = IndexDuringLayout = -1; } }; // Storage for a tab bar (sizeof() 152 bytes) @@ -2457,6 +2735,15 @@ struct ImGuiTableCellData ImGuiTableColumnIdx Column; // Column number }; +// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs, does that needs they could be moved to ImGuiTableTempData ?) +struct ImGuiTableInstanceData +{ + float LastOuterHeight; // Outer height from last frame // FIXME: multi-instance issue (#3955) + float LastFirstRowHeight; // Height of first row from last frame // FIXME: possible multi-instance issue? + + ImGuiTableInstanceData() { LastOuterHeight = LastFirstRowHeight = 0.0f; } +}; + // FIXME-TABLE: more transient data could be stored in a per-stacked table structure: DrawSplitter, SortSpecs, incoming RowData struct IMGUI_API ImGuiTable { @@ -2499,11 +2786,10 @@ struct IMGUI_API ImGuiTable float CellPaddingY; float CellSpacingX1; // Spacing between non-bordered cells float CellSpacingX2; - float LastOuterHeight; // Outer height from last frame - float LastFirstRowHeight; // Height of first row from last frame float InnerWidth; // User value passed to BeginTable(), see comments at the top of BeginTable() for details. float ColumnsGivenWidth; // Sum of current column width float ColumnsAutoFitWidth; // Sum of ideal column width in order nothing to be clipped, used for auto-fitting and content width submission in outer window + float ColumnsStretchSumWeights; // Sum of weight of all enabled stretching columns float ResizedColumnNextWidth; float ResizeLockMinContentsX2; // Lock minimum contents width while resizing down in order to not create feedback loops. But we allow growing the table. float RefScale; // Reference scale to be able to rescale columns on font/dpi changes. @@ -2511,7 +2797,7 @@ struct IMGUI_API ImGuiTable ImRect InnerRect; // InnerRect but without decoration. As with OuterRect, for non-scrolling tables, InnerRect.Max.y is ImRect WorkRect; ImRect InnerClipRect; - ImRect BgClipRect; // We use this to cpu-clip cell background color fill + ImRect BgClipRect; // We use this to cpu-clip cell background color fill, evolve during the frame as we cross frozen rows boundaries ImRect Bg0ClipRectForDrawCmd; // Actual ImDrawCmd clip rect for BG0/1 channel. This tends to be == OuterWindow->ClipRect at BeginTable() because output in BG0/BG1 is cpu-clipped ImRect Bg2ClipRectForDrawCmd; // Actual ImDrawCmd clip rect for BG2 channel. This tends to be a correct, tight-fit, because output to BG2 are done by widgets relying on regular ClipRect. ImRect HostClipRect; // This is used to check if we can eventually merge our columns draw calls into the current draw call of the current window. @@ -2520,6 +2806,8 @@ struct IMGUI_API ImGuiTable ImGuiWindow* InnerWindow; // Window holding the table data (== OuterWindow or a child window) ImGuiTextBuffer ColumnsNames; // Contiguous buffer holding columns names ImDrawListSplitter* DrawSplitter; // Shortcut to TempData->DrawSplitter while in table. Isolate draw commands per columns to avoid switching clip rect constantly + ImGuiTableInstanceData InstanceDataFirst; + ImVector InstanceDataExtra; // FIXME-OPT: Using a small-vector pattern would be good. ImGuiTableColumnSortSpecs SortSpecsSingle; ImVector SortSpecsMulti; // FIXME-OPT: Using a small-vector pattern would be good. ImGuiTableSortSpecs SortSpecs; // Public facing sorts specs, this is what we return in TableGetSortSpecs() @@ -2674,10 +2962,11 @@ namespace ImGui inline ImDrawList* GetForegroundDrawList(ImGuiWindow* window) { return GetForegroundDrawList(window->Viewport); } // Init - IMGUI_API void Initialize(ImGuiContext* context); - IMGUI_API void Shutdown(ImGuiContext* context); // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext(). + IMGUI_API void Initialize(); + IMGUI_API void Shutdown(); // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext(). // NewFrame + IMGUI_API void UpdateInputEvents(bool trickle_fast_inputs); IMGUI_API void UpdateHoveredWindowAndCaptureFlags(); IMGUI_API void StartMouseMovingWindow(ImGuiWindow* window); IMGUI_API void StartMouseMovingWindowOrNode(ImGuiWindow* window, ImGuiDockNode* node, bool undock_floating_node); @@ -2693,8 +2982,10 @@ namespace ImGui IMGUI_API void TranslateWindowsInViewport(ImGuiViewportP* viewport, const ImVec2& old_pos, const ImVec2& new_pos); IMGUI_API void ScaleWindowsInViewport(ImGuiViewportP* viewport, float scale); IMGUI_API void DestroyPlatformWindow(ImGuiViewportP* viewport); + IMGUI_API void SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport); IMGUI_API void SetCurrentViewport(ImGuiWindow* window, ImGuiViewportP* viewport); - IMGUI_API const ImGuiPlatformMonitor* GetViewportPlatformMonitor(ImGuiViewport* viewport); + IMGUI_API const ImGuiPlatformMonitor* GetViewportPlatformMonitor(ImGuiViewport* viewport); + IMGUI_API ImGuiViewportP* FindHoveredViewportFromPlatformWindowStack(const ImVec2& mouse_platform_pos); // Settings IMGUI_API void MarkIniSettingsDirty(); @@ -2703,10 +2994,15 @@ namespace ImGui IMGUI_API ImGuiWindowSettings* CreateNewWindowSettings(const char* name); IMGUI_API ImGuiWindowSettings* FindWindowSettings(ImGuiID id); IMGUI_API ImGuiWindowSettings* FindOrCreateWindowSettings(const char* name); + IMGUI_API void AddSettingsHandler(const ImGuiSettingsHandler* handler); + IMGUI_API void RemoveSettingsHandler(const char* type_name); IMGUI_API ImGuiSettingsHandler* FindSettingsHandler(const char* type_name); + // Localization + IMGUI_API void LocalizeRegisterEntries(const ImGuiLocEntry* entries, int count); + inline const char* LocalizeGetMsg(ImGuiLocKey key) { ImGuiContext& g = *GImGui; const char* msg = g.LocalizationTable[key]; return msg ? msg : "*Missing Text*"; } + // Scrolling - IMGUI_API void SetNextWindowScroll(const ImVec2& scroll); // Use -1.0f on one axis to leave as-is IMGUI_API void SetScrollX(ImGuiWindow* window, float scroll_x); IMGUI_API void SetScrollY(ImGuiWindow* window, float scroll_y); IMGUI_API void SetScrollFromPosX(ImGuiWindow* window, float local_x, float center_x_ratio); @@ -2738,7 +3034,7 @@ namespace ImGui // Basic Helpers for widget code IMGUI_API void ItemSize(const ImVec2& size, float text_baseline_y = -1.0f); - IMGUI_API void ItemSize(const ImRect& bb, float text_baseline_y = -1.0f); + inline void ItemSize(const ImRect& bb, float text_baseline_y = -1.0f) { ItemSize(bb.GetSize(), text_baseline_y); } // FIXME: This is a misleading API since we expect CursorPos to be bb.Min. IMGUI_API bool ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb = NULL, ImGuiItemFlags extra_flags = 0); IMGUI_API bool ItemHoverable(const ImRect& bb, ImGuiID id); IMGUI_API bool IsClippedEx(const ImRect& bb, ImGuiID id); @@ -2750,21 +3046,10 @@ namespace ImGui IMGUI_API ImVec2 GetContentRegionMaxAbs(); IMGUI_API void ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_excess); - // Parameter stacks + // Parameter stacks (shared) IMGUI_API void PushItemFlag(ImGuiItemFlags option, bool enabled); IMGUI_API void PopItemFlag(); -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - // Currently refactoring focus/nav/tabbing system - // If you have old/custom copy-and-pasted widgets that used FocusableItemRegister(): - // (Old) IMGUI_VERSION_NUM < 18209: using 'ItemAdd(....)' and 'bool tab_focused = FocusableItemRegister(...)' - // (Old) IMGUI_VERSION_NUM >= 18209: using 'ItemAdd(..., ImGuiItemAddFlags_Focusable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_Focused) != 0' - // (New) IMGUI_VERSION_NUM >= 18413: using 'ItemAdd(..., ImGuiItemFlags_Inputable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_FocusedTabbing) != 0 || g.NavActivateInputId == id' (WIP) - // Widget code are simplified as there's no need to call FocusableItemUnregister() while managing the transition from regular widget to TempInputText() - inline bool FocusableItemRegister(ImGuiWindow* window, ImGuiID id) { IM_ASSERT(0); IM_UNUSED(window); IM_UNUSED(id); return false; } // -> pass ImGuiItemAddFlags_Inputable flag to ItemAdd() - inline void FocusableItemUnregister(ImGuiWindow* window) { IM_ASSERT(0); IM_UNUSED(window); } // -> unnecessary: TempInputText() uses ImGuiInputTextFlags_MergedItem -#endif - // Logging/Capture IMGUI_API void LogBegin(ImGuiLogType type, int auto_open_depth); // -> BeginCapture() when we design v2 api, for now stay under the radar by using the old name. IMGUI_API void LogToBuffer(int auto_open_depth = -1); // Start logging/capturing to internal buffer @@ -2806,32 +3091,83 @@ namespace ImGui IMGUI_API void NavMoveRequestCancel(); IMGUI_API void NavMoveRequestApplyResult(); IMGUI_API void NavMoveRequestTryWrapping(ImGuiWindow* window, ImGuiNavMoveFlags move_flags); - IMGUI_API float GetNavInputAmount(ImGuiNavInput n, ImGuiInputReadMode mode); - IMGUI_API ImVec2 GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor = 0.0f, float fast_factor = 0.0f); - IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate); IMGUI_API void ActivateItem(ImGuiID id); // Remotely activate a button, checkbox, tree node etc. given its unique ID. activation is queued and processed on the next frame when the item is encountered again. + IMGUI_API void SetNavWindow(ImGuiWindow* window); IMGUI_API void SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel); - // Focus Scope (WIP) - // This is generally used to identify a selection set (multiple of which may be in the same window), as selection - // patterns generally need to react (e.g. clear selection) when landing on an item of the set. - IMGUI_API void PushFocusScope(ImGuiID id); - IMGUI_API void PopFocusScope(); - inline ImGuiID GetFocusedFocusScope() { ImGuiContext& g = *GImGui; return g.NavFocusScopeId; } // Focus scope which is actually active - inline ImGuiID GetFocusScope() { ImGuiContext& g = *GImGui; return g.CurrentWindow->DC.NavFocusScopeIdCurrent; } // Focus scope we are outputting into, set by PushFocusScope() - // Inputs // FIXME: Eventually we should aim to move e.g. IsActiveIdUsingKey() into IsKeyXXX functions. - IMGUI_API void SetItemUsingMouseWheel(); - IMGUI_API void SetActiveIdUsingNavAndKeys(); - inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; } - inline bool IsActiveIdUsingNavInput(ImGuiNavInput input) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavInputMask & (1 << input)) != 0; } - inline bool IsActiveIdUsingKey(ImGuiKey key) { ImGuiContext& g = *GImGui; IM_ASSERT(key < 64); return (g.ActiveIdUsingKeyInputMask & ((ImU64)1 << key)) != 0; } + inline bool IsNamedKey(ImGuiKey key) { return key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END; } + inline bool IsNamedKeyOrModKey(ImGuiKey key) { return (key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END) || key == ImGuiMod_Ctrl || key == ImGuiMod_Shift || key == ImGuiMod_Alt || key == ImGuiMod_Super; } + inline bool IsLegacyKey(ImGuiKey key) { return key >= ImGuiKey_LegacyNativeKey_BEGIN && key < ImGuiKey_LegacyNativeKey_END; } + inline bool IsKeyboardKey(ImGuiKey key) { return key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END; } + inline bool IsGamepadKey(ImGuiKey key) { return key >= ImGuiKey_Gamepad_BEGIN && key < ImGuiKey_Gamepad_END; } + inline bool IsMouseKey(ImGuiKey key) { return key >= ImGuiKey_Mouse_BEGIN && key < ImGuiKey_Mouse_END; } + inline bool IsAliasKey(ImGuiKey key) { return key >= ImGuiKey_Aliases_BEGIN && key < ImGuiKey_Aliases_END; } + inline ImGuiKey ConvertSingleModFlagToKey(ImGuiKey key) + { + if (key == ImGuiMod_Ctrl) return ImGuiKey_ReservedForModCtrl; + if (key == ImGuiMod_Shift) return ImGuiKey_ReservedForModShift; + if (key == ImGuiMod_Alt) return ImGuiKey_ReservedForModAlt; + if (key == ImGuiMod_Super) return ImGuiKey_ReservedForModSuper; + return key; + } + + IMGUI_API ImGuiKeyData* GetKeyData(ImGuiKey key); + IMGUI_API void GetKeyChordName(ImGuiKeyChord key_chord, char* out_buf, int out_buf_size); + inline ImGuiKey MouseButtonToKey(ImGuiMouseButton button) { IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); return (ImGuiKey)(ImGuiKey_MouseLeft + button); } IMGUI_API bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold = -1.0f); - inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { ImGuiContext& g = *GImGui; const int key_index = g.IO.KeyMap[key]; return (key_index >= 0) ? IsKeyPressed(key_index, repeat) : false; } - inline bool IsNavInputDown(ImGuiNavInput n) { ImGuiContext& g = *GImGui; return g.IO.NavInputs[n] > 0.0f; } - inline bool IsNavInputTest(ImGuiNavInput n, ImGuiInputReadMode rm) { return (GetNavInputAmount(n, rm) > 0.0f); } - IMGUI_API ImGuiKeyModFlags GetMergedKeyModFlags(); + IMGUI_API ImVec2 GetKeyVector2d(ImGuiKey key_left, ImGuiKey key_right, ImGuiKey key_up, ImGuiKey key_down); + IMGUI_API float GetNavTweakPressedAmount(ImGuiAxis axis); + IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate); + IMGUI_API void GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate); + IMGUI_API void SetActiveIdUsingAllKeyboardKeys(); + inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; } + + // [EXPERIMENTAL] Low-Level: Key/Input Ownership + // - The idea is that instead of "eating" a given input, we can link to an owner id. + // - Ownership is most often claimed as a result of reacting to a press/down event (but occasionally may be claimed ahead). + // - Input queries can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_None (== -1) or a custom ID. + // - Legacy input queries (without specifying an owner or _Any or _None) are equivalent to using ImGuiKeyOwner_Any (== 0). + // - Input ownership is automatically released on the frame after a key is released. Therefore: + // - for ownership registration happening as a result of a down/press event, the SetKeyOwner() call may be done once (common case). + // - for ownership registration happening ahead of a down/press event, the SetKeyOwner() call needs to be made every frame (happens if e.g. claiming ownership on hover). + // - SetItemKeyOwner() is a shortcut for common simple case. A custom widget will probably want to call SetKeyOwner() multiple times directly based on its interaction state. + // - This is marked experimental because not all widgets are fully honoring the Set/Test idioms. We will need to move forward step by step. + // Please open a GitHub Issue to submit your usage scenario or if there's a use case you need solved. + IMGUI_API ImGuiID GetKeyOwner(ImGuiKey key); + IMGUI_API void SetKeyOwner(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags = 0); + IMGUI_API void SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags = 0); // Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) { SetKeyOwner(key, GetItemID());'. + IMGUI_API bool TestKeyOwner(ImGuiKey key, ImGuiID owner_id); // Test that key is either not owned, either owned by 'owner_id' + inline ImGuiKeyOwnerData* GetKeyOwnerData(ImGuiKey key) { if (key & ImGuiMod_Mask_) key = ConvertSingleModFlagToKey(key); IM_ASSERT(IsNamedKey(key)); return &GImGui->KeysOwnerData[key - ImGuiKey_NamedKey_BEGIN]; } + + // [EXPERIMENTAL] High-Level: Input Access functions w/ support for Key/Input Ownership + // - Important: legacy IsKeyPressed(ImGuiKey, bool repeat=true) _DEFAULTS_ to repeat, new IsKeyPressed() requires _EXPLICIT_ ImGuiInputFlags_Repeat flag. + // - Expected to be later promoted to public API, the prototypes are designed to replace existing ones (since owner_id can default to Any == 0) + // - Specifying a value for 'ImGuiID owner' will test that EITHER the key is NOT owned (UNLESS locked), EITHER the key is owned by 'owner'. + // Legacy functions use ImGuiKeyOwner_Any meaning that they typically ignore ownership, unless a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. + // - Binding generators may want to ignore those for now, or suffix them with Ex() until we decide if this gets moved into public API. + IMGUI_API bool IsKeyDown(ImGuiKey key, ImGuiID owner_id); + IMGUI_API bool IsKeyPressed(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags = 0); // Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requiress explicit ImGuiInputFlags_Repeat. + IMGUI_API bool IsKeyReleased(ImGuiKey key, ImGuiID owner_id); + IMGUI_API bool IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id); + IMGUI_API bool IsMouseClicked(ImGuiMouseButton button, ImGuiID owner_id, ImGuiInputFlags flags = 0); + IMGUI_API bool IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id); + + // [EXPERIMENTAL] Shortcut Routing + // - ImGuiKeyChord = a ImGuiKey optionally OR-red with ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super. + // ImGuiKey_C (accepted by functions taking ImGuiKey or ImGuiKeyChord) + // ImGuiKey_C | ImGuiMod_Ctrl (accepted by functions taking ImGuiKeyChord) + // ONLY ImGuiMod_XXX values are legal to 'OR' with an ImGuiKey. You CANNOT 'OR' two ImGuiKey values. + // - When using one of the routing flags (e.g. ImGuiInputFlags_RouteFocused): routes requested ahead of time given a chord (key + modifiers) and a routing policy. + // - Routes are resolved during NewFrame(): if keyboard modifiers are matching current ones: SetKeyOwner() is called + route is granted for the frame. + // - Route is granted to a single owner. When multiple requests are made we have policies to select the winning route. + // - Multiple read sites may use the same owner id and will all get the granted route. + // - For routing: when owner_id is 0 we use the current Focus Scope ID as a default owner in order to identify our location. + IMGUI_API bool Shortcut(ImGuiKeyChord key_chord, ImGuiID owner_id = 0, ImGuiInputFlags flags = 0); + IMGUI_API bool SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id = 0, ImGuiInputFlags flags = 0); + IMGUI_API bool TestShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id); + IMGUI_API ImGuiKeyRoutingData* GetShortcutRoutingData(ImGuiKeyChord key_chord); // Docking // (some functions are only declared in imgui.cpp, see Docking section) @@ -2846,7 +3182,8 @@ namespace ImGui IMGUI_API void DockContextQueueDock(ImGuiContext* ctx, ImGuiWindow* target, ImGuiDockNode* target_node, ImGuiWindow* payload, ImGuiDir split_dir, float split_ratio, bool split_outer); IMGUI_API void DockContextQueueUndockWindow(ImGuiContext* ctx, ImGuiWindow* window); IMGUI_API void DockContextQueueUndockNode(ImGuiContext* ctx, ImGuiDockNode* node); - IMGUI_API bool DockContextCalcDropPosForDocking(ImGuiWindow* target, ImGuiDockNode* target_node, ImGuiWindow* payload, ImGuiDir split_dir, bool split_outer, ImVec2* out_pos); + IMGUI_API bool DockContextCalcDropPosForDocking(ImGuiWindow* target, ImGuiDockNode* target_node, ImGuiWindow* payload_window, ImGuiDockNode* payload_node, ImGuiDir split_dir, bool split_outer, ImVec2* out_pos); + IMGUI_API ImGuiDockNode*DockContextFindNodeByID(ImGuiContext* ctx, ImGuiID id); IMGUI_API bool DockNodeBeginAmendTabBar(ImGuiDockNode* node); IMGUI_API void DockNodeEndAmendTabBar(); inline ImGuiDockNode* DockNodeGetRootNode(ImGuiDockNode* node) { while (node->ParentNode) node = node->ParentNode; return node; } @@ -2884,10 +3221,24 @@ namespace ImGui IMGUI_API void DockBuilderCopyWindowSettings(const char* src_name, const char* dst_name); IMGUI_API void DockBuilderFinish(ImGuiID node_id); + // [EXPERIMENTAL] Focus Scope + // This is generally used to identify a unique input location (for e.g. a selection set) + // There is one per window (automatically set in Begin), but: + // - Selection patterns generally need to react (e.g. clear a selection) when landing on one item of the set. + // So in order to identify a set multiple lists in same window may each need a focus scope. + // If you imagine an hypothetical BeginSelectionGroup()/EndSelectionGroup() api, it would likely call PushFocusScope()/EndFocusScope() + // - Shortcut routing also use focus scope as a default location identifier if an owner is not provided. + // We don't use the ID Stack for this as it is common to want them separate. + IMGUI_API void PushFocusScope(ImGuiID id); + IMGUI_API void PopFocusScope(); + inline ImGuiID GetCurrentFocusScope() { ImGuiContext& g = *GImGui; return g.CurrentFocusScopeId; } // Focus scope we are outputting into, set by PushFocusScope() + // Drag and Drop + IMGUI_API bool IsDragDropActive(); IMGUI_API bool BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id); IMGUI_API void ClearDragDrop(); IMGUI_API bool IsDragDropPayloadBeingAccepted(); + IMGUI_API void RenderDragDropTargetRect(const ImRect& bb); // Internal Columns API (this is not exposed because we will encourage transitioning to the Tables API) IMGUI_API void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect); @@ -2922,7 +3273,9 @@ namespace ImGui IMGUI_API void TableUpdateColumnsWeightFromWidth(ImGuiTable* table); IMGUI_API void TableDrawBorders(ImGuiTable* table); IMGUI_API void TableDrawContextMenu(ImGuiTable* table); + IMGUI_API bool TableBeginContextMenuPopup(ImGuiTable* table); IMGUI_API void TableMergeDrawChannels(ImGuiTable* table); + inline ImGuiTableInstanceData* TableGetInstanceData(ImGuiTable* table, int instance_no) { if (instance_no == 0) return &table->InstanceDataFirst; return &table->InstanceDataExtra[instance_no - 1]; } IMGUI_API void TableSortSpecsSanitize(ImGuiTable* table); IMGUI_API void TableSortSpecsBuild(ImGuiTable* table); IMGUI_API ImGuiSortDirection TableGetColumnNextSortDirection(ImGuiTableColumn* column); @@ -2948,7 +3301,7 @@ namespace ImGui IMGUI_API void TableSaveSettings(ImGuiTable* table); IMGUI_API void TableResetSettings(ImGuiTable* table); IMGUI_API ImGuiTableSettings* TableGetBoundSettings(ImGuiTable* table); - IMGUI_API void TableSettingsInstallHandler(ImGuiContext* context); + IMGUI_API void TableSettingsAddSettingsHandler(); IMGUI_API ImGuiTableSettings* TableSettingsCreate(ImGuiID id, int columns_count); IMGUI_API ImGuiTableSettings* TableSettingsFindByID(ImGuiID id); @@ -2963,7 +3316,8 @@ namespace ImGui IMGUI_API void TabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar, const ImGuiTabItem* tab, ImVec2 mouse_pos); IMGUI_API bool TabBarProcessReorder(ImGuiTabBar* tab_bar); IMGUI_API bool TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags, ImGuiWindow* docked_window); - IMGUI_API ImVec2 TabItemCalcSize(const char* label, bool has_close_button); + IMGUI_API ImVec2 TabItemCalcSize(const char* label, bool has_close_button_or_unsaved_marker); + IMGUI_API ImVec2 TabItemCalcSize(ImGuiWindow* window); IMGUI_API void TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col); IMGUI_API void TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_button_id, bool is_contents_visible, bool* out_just_closed, bool* out_text_clipped); @@ -2980,24 +3334,18 @@ namespace ImGui IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list, ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, float grid_step, ImVec2 grid_off, float rounding = 0.0f, ImDrawFlags flags = 0); IMGUI_API void RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags = ImGuiNavHighlightFlags_TypeDefault); // Navigation highlight IMGUI_API const char* FindRenderedTextEnd(const char* text, const char* text_end = NULL); // Find the optional ## from which we stop displaying text. + IMGUI_API void RenderMouseCursor(ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow); // Render helpers (those functions don't access any ImGui state!) IMGUI_API void RenderArrow(ImDrawList* draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, float scale = 1.0f); IMGUI_API void RenderBullet(ImDrawList* draw_list, ImVec2 pos, ImU32 col); IMGUI_API void RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz); - IMGUI_API void RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow); IMGUI_API void RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col); IMGUI_API void RenderArrowDockMenu(ImDrawList* draw_list, ImVec2 p_min, float sz, ImU32 col); IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding); - IMGUI_API void RenderRectFilledWithHole(ImDrawList* draw_list, ImRect outer, ImRect inner, ImU32 col, float rounding); + IMGUI_API void RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding); IMGUI_API ImDrawFlags CalcRoundingFlagsForRectInRect(const ImRect& r_in, const ImRect& r_outer, float threshold); -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - // [1.71: 2019/06/07: Updating prototypes of some of the internal functions. Leaving those for reference for a short while] - inline void RenderArrow(ImVec2 pos, ImGuiDir dir, float scale=1.0f) { ImGuiWindow* window = GetCurrentWindow(); RenderArrow(window->DrawList, pos, GetColorU32(ImGuiCol_Text), dir, scale); } - inline void RenderBullet(ImVec2 pos) { ImGuiWindow* window = GetCurrentWindow(); RenderBullet(window->DrawList, pos, GetColorU32(ImGuiCol_Text)); } -#endif - // Widgets IMGUI_API void TextEx(const char* text, const char* text_end = NULL, ImGuiTextFlags flags = 0); IMGUI_API bool ButtonEx(const char* label, const ImVec2& size_arg = ImVec2(0, 0), ImGuiButtonFlags flags = 0); @@ -3006,7 +3354,7 @@ namespace ImGui IMGUI_API bool ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size_arg, ImGuiButtonFlags flags = 0); IMGUI_API void Scrollbar(ImGuiAxis axis); IMGUI_API bool ScrollbarEx(const ImRect& bb, ImGuiID id, ImGuiAxis axis, ImS64* p_scroll_v, ImS64 avail_v, ImS64 contents_v, ImDrawFlags flags); - IMGUI_API bool ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec2& padding, const ImVec4& bg_col, const ImVec4& tint_col); + IMGUI_API bool ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col); IMGUI_API ImRect GetWindowScrollbarRect(ImGuiWindow* window, ImGuiAxis axis); IMGUI_API ImGuiID GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis); IMGUI_API ImGuiID GetWindowResizeCornerID(ImGuiWindow* window, int n); // 0..3: corners @@ -3021,8 +3369,9 @@ namespace ImGui IMGUI_API bool SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, void* p_v, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb); IMGUI_API bool SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float* size1, float* size2, float min_size1, float min_size2, float hover_extend = 0.0f, float hover_visibility_delay = 0.0f, ImU32 bg_col = 0); IMGUI_API bool TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* label, const char* label_end = NULL); - IMGUI_API bool TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags = 0); // Consume previous SetNextItemOpen() data, if any. May return true when logging IMGUI_API void TreePushOverrideID(ImGuiID id); + IMGUI_API void TreeNodeSetOpen(ImGuiID id, bool open); + IMGUI_API bool TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags); // Return open state. Consume previous SetNextItemOpen() data, if any. May return true when logging. // Template functions are instantiated in imgui_widgets.cpp for a finite number of types. // To use them externally (for custom widget) you may need an "extern template" statement in your code in order to link to existing instances and silence Clang warnings (see #2036). @@ -3031,14 +3380,14 @@ namespace ImGui template IMGUI_API T ScaleValueFromRatioT(ImGuiDataType data_type, float t, T v_min, T v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_size); template IMGUI_API bool DragBehaviorT(ImGuiDataType data_type, T* v, float v_speed, T v_min, T v_max, const char* format, ImGuiSliderFlags flags); template IMGUI_API bool SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, T* v, T v_min, T v_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb); - template IMGUI_API T RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, T v); + template IMGUI_API T RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, T v); template IMGUI_API bool CheckboxFlagsT(const char* label, T* flags, T flags_value); // Data type helpers IMGUI_API const ImGuiDataTypeInfo* DataTypeGetInfo(ImGuiDataType data_type); IMGUI_API int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* p_data, const char* format); IMGUI_API void DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const void* arg_1, const void* arg_2); - IMGUI_API bool DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* p_data, const char* format); + IMGUI_API bool DataTypeApplyFromText(const char* buf, ImGuiDataType data_type, void* p_data, const char* format); IMGUI_API int DataTypeCompare(ImGuiDataType data_type, const void* arg_1, const void* arg_2); IMGUI_API bool DataTypeClamp(ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max); @@ -3047,7 +3396,7 @@ namespace ImGui IMGUI_API bool TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* buf, int buf_size, ImGuiInputTextFlags flags); IMGUI_API bool TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min = NULL, const void* p_clamp_max = NULL); inline bool TempInputIsActive(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.ActiveId == id && g.TempInputId == id); } - inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active + inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (id != 0 && g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active // Color IMGUI_API void ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags flags); @@ -3066,12 +3415,19 @@ namespace ImGui IMGUI_API void GcCompactTransientWindowBuffers(ImGuiWindow* window); IMGUI_API void GcAwakeTransientWindowBuffers(ImGuiWindow* window); + // Debug Log + IMGUI_API void DebugLog(const char* fmt, ...) IM_FMTARGS(1); + IMGUI_API void DebugLogV(const char* fmt, va_list args) IM_FMTLIST(1); + // Debug Tools IMGUI_API void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback, void* user_data = NULL); IMGUI_API void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback, void* user_data = NULL); + IMGUI_API void ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + IMGUI_API void DebugLocateItem(ImGuiID target_id); // Call sparingly: only 1 at the same time! + IMGUI_API void DebugLocateItemOnHover(ImGuiID target_id); // Only call on reaction to a mouse Hover: because only 1 at the same time! + IMGUI_API void DebugLocateItemResolveWithLastItem(); inline void DebugDrawItemRect(ImU32 col = IM_COL32(255,0,0,255)) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; GetForegroundDrawList(window)->AddRect(g.LastItemData.Rect.Min, g.LastItemData.Rect.Max, col); } inline void DebugStartItemPicker() { ImGuiContext& g = *GImGui; g.DebugItemPickerActive = true; } - IMGUI_API void ShowFontAtlas(ImFontAtlas* atlas); IMGUI_API void DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* data_id, const void* data_id_end); IMGUI_API void DebugNodeColumns(ImGuiOldColumns* columns); @@ -3079,10 +3435,12 @@ namespace ImGui IMGUI_API void DebugNodeDrawList(ImGuiWindow* window, ImGuiViewportP* viewport, const ImDrawList* draw_list, const char* label); IMGUI_API void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, bool show_aabb); IMGUI_API void DebugNodeFont(ImFont* font); + IMGUI_API void DebugNodeFontGlyph(ImFont* font, const ImFontGlyph* glyph); IMGUI_API void DebugNodeStorage(ImGuiStorage* storage, const char* label); IMGUI_API void DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label); IMGUI_API void DebugNodeTable(ImGuiTable* table); IMGUI_API void DebugNodeTableSettings(ImGuiTableSettings* settings); + IMGUI_API void DebugNodeInputTextState(ImGuiInputTextState* state); IMGUI_API void DebugNodeWindow(ImGuiWindow* window, const char* label); IMGUI_API void DebugNodeWindowSettings(ImGuiWindowSettings* settings); IMGUI_API void DebugNodeWindowsList(ImVector* windows, const char* label); @@ -3090,6 +3448,23 @@ namespace ImGui IMGUI_API void DebugNodeViewport(ImGuiViewportP* viewport); IMGUI_API void DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb); + // Obsolete functions +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + inline void SetItemUsingMouseWheel() { SetItemKeyOwner(ImGuiKey_MouseWheelY); } // Changed in 1.89 + inline bool TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags = 0) { return TreeNodeUpdateNextOpen(id, flags); } // Renamed in 1.89 + + // Refactored focus/nav/tabbing system in 1.82 and 1.84. If you have old/custom copy-and-pasted widgets that used FocusableItemRegister(): + // (Old) IMGUI_VERSION_NUM < 18209: using 'ItemAdd(....)' and 'bool tab_focused = FocusableItemRegister(...)' + // (Old) IMGUI_VERSION_NUM >= 18209: using 'ItemAdd(..., ImGuiItemAddFlags_Focusable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_Focused) != 0' + // (New) IMGUI_VERSION_NUM >= 18413: using 'ItemAdd(..., ImGuiItemFlags_Inputable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_FocusedTabbing) != 0 || g.NavActivateInputId == id' (WIP) + // Widget code are simplified as there's no need to call FocusableItemUnregister() while managing the transition from regular widget to TempInputText() + inline bool FocusableItemRegister(ImGuiWindow* window, ImGuiID id) { IM_ASSERT(0); IM_UNUSED(window); IM_UNUSED(id); return false; } // -> pass ImGuiItemAddFlags_Inputable flag to ItemAdd() + inline void FocusableItemUnregister(ImGuiWindow* window) { IM_ASSERT(0); IM_UNUSED(window); } // -> unnecessary: TempInputText() uses ImGuiInputTextFlags_MergedItem +#endif +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { IM_ASSERT(IsNamedKey(key)); return IsKeyPressed(key, repeat); } // Removed in 1.87: Mapping from named key is always identity! +#endif + } // namespace ImGui @@ -3104,7 +3479,9 @@ struct ImFontBuilderIO }; // Helper for font builder +#ifdef IMGUI_ENABLE_STB_TRUETYPE IMGUI_API const ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetype(); +#endif IMGUI_API void ImFontAtlasBuildInit(ImFontAtlas* atlas); IMGUI_API void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent); IMGUI_API void ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* stbrp_context_opaque); @@ -3128,7 +3505,8 @@ extern const char* ImGuiTestEngine_FindItemDebugLabel(ImGuiContext* ctx, ImGuiI #define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemInfo(&g, _ID, _LABEL, _FLAGS) // Register item label and status flags (optional) #define IMGUI_TEST_ENGINE_LOG(_FMT,...) if (g.TestEngineHookItems) ImGuiTestEngineHook_Log(&g, _FMT, __VA_ARGS__) // Custom log entry from user land into test log #else -#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) ((void)0) +#define IMGUI_TEST_ENGINE_ITEM_ADD(_BB,_ID) ((void)0) +#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) ((void)g) #endif //----------------------------------------------------------------------------- diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui_tables.cpp b/imgui-sys/third-party/imgui-docking/imgui/imgui_tables.cpp index 8a3fe93..503c098 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui_tables.cpp +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui_tables.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (tables and columns code) /* @@ -24,7 +24,7 @@ Index of this file: */ // Navigating this file: -// - In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // - With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. //----------------------------------------------------------------------------- @@ -361,6 +361,8 @@ bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImG table->IsLayoutLocked = false; table->InnerWidth = inner_width; temp_data->UserOuterSize = outer_size; + if (instance_no > 0 && table->InstanceDataExtra.Size < instance_no) + table->InstanceDataExtra.push_back(ImGuiTableInstanceData()); // When not using a child window, WorkRect.Max will grow as we append contents. if (use_child_window) @@ -537,7 +539,7 @@ bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImG if (table->RefScale != 0.0f && table->RefScale != new_ref_scale_unit) { const float scale_factor = new_ref_scale_unit / table->RefScale; - //IMGUI_DEBUG_LOG("[table] %08X RefScaleUnit %.3f -> %.3f, scaling width by %.3f\n", table->ID, table->RefScaleUnit, new_ref_scale_unit, scale_factor); + //IMGUI_DEBUG_PRINT("[table] %08X RefScaleUnit %.3f -> %.3f, scaling width by %.3f\n", table->ID, table->RefScaleUnit, new_ref_scale_unit, scale_factor); for (int n = 0; n < columns_count; n++) table->Columns[n].WidthRequest = table->Columns[n].WidthRequest * scale_factor; } @@ -886,6 +888,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table) sum_width_requests += table->CellPaddingX * 2.0f; } table->ColumnsEnabledFixedCount = (ImGuiTableColumnIdx)count_fixed; + table->ColumnsStretchSumWeights = stretch_sum_weights; // [Part 4] Apply final widths based on requested widths const ImRect work_rect = table->WorkRect; @@ -933,10 +936,19 @@ void ImGui::TableUpdateLayout(ImGuiTable* table) width_remaining_for_stretched_columns -= 1.0f; } + // Determine if table is hovered which will be used to flag columns as hovered. + // - In principle we'd like to use the equivalent of IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem), + // but because our item is partially submitted at this point we use ItemHoverable() and a workaround (temporarily + // clear ActiveId, which is equivalent to the change provided by _AllowWhenBLockedByActiveItem). + // - This allows columns to be marked as hovered when e.g. clicking a button inside the column, or using drag and drop. + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); table->HoveredColumnBody = -1; table->HoveredColumnBorder = -1; - const ImRect mouse_hit_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterRect.Max.y, table->OuterRect.Min.y + table->LastOuterHeight)); + const ImRect mouse_hit_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterRect.Max.y, table->OuterRect.Min.y + table_instance->LastOuterHeight)); + const ImGuiID backup_active_id = g.ActiveId; + g.ActiveId = 0; const bool is_hovering_table = ItemHoverable(mouse_hit_rect, 0); + g.ActiveId = backup_active_id; // [Part 6] Setup final position, offset, skip/clip states and clipping rectangles, detect hovered column // Process columns in their visible orders as we are comparing the visible order and adjusting host_clip_rect while looping. @@ -1096,23 +1108,15 @@ void ImGui::TableUpdateLayout(ImGuiTable* table) // [Part 10] Hit testing on borders if (table->Flags & ImGuiTableFlags_Resizable) TableUpdateBorders(table); - table->LastFirstRowHeight = 0.0f; + table_instance->LastFirstRowHeight = 0.0f; table->IsLayoutLocked = true; table->IsUsingHeaders = false; // [Part 11] Context menu - if (table->IsContextPopupOpen && table->InstanceCurrent == table->InstanceInteracted) + if (TableBeginContextMenuPopup(table)) { - const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); - if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) - { - TableDrawContextMenu(table); - EndPopup(); - } - else - { - table->IsContextPopupOpen = false; - } + TableDrawContextMenu(table); + EndPopup(); } // [Part 13] Sanitize and build sort specs before we have a change to use them for display. @@ -1141,10 +1145,11 @@ void ImGui::TableUpdateBorders(ImGuiTable* table) // use the final height from last frame. Because this is only affecting _interaction_ with columns, it is not // really problematic (whereas the actual visual will be displayed in EndTable() and using the current frame height). // Actual columns highlight/render will be performed in EndTable() and not be affected. + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); const float hit_half_width = TABLE_RESIZE_SEPARATOR_HALF_THICKNESS; const float hit_y1 = table->OuterRect.Min.y; - const float hit_y2_body = ImMax(table->OuterRect.Max.y, hit_y1 + table->LastOuterHeight); - const float hit_y2_head = hit_y1 + table->LastFirstRowHeight; + const float hit_y2_body = ImMax(table->OuterRect.Max.y, hit_y1 + table_instance->LastOuterHeight); + const float hit_y2_head = hit_y1 + table_instance->LastFirstRowHeight; for (int order_n = 0; order_n < table->ColumnsCount; order_n++) { @@ -1166,8 +1171,8 @@ void ImGui::TableUpdateBorders(ImGuiTable* table) ImGuiID column_id = TableGetColumnResizeID(table, column_n, table->InstanceCurrent); ImRect hit_rect(column->MaxX - hit_half_width, hit_y1, column->MaxX + hit_half_width, border_y2_hit); + ItemAdd(hit_rect, column_id, NULL, ImGuiItemFlags_NoNav); //GetForegroundDrawList()->AddRect(hit_rect.Min, hit_rect.Max, IM_COL32(255, 0, 0, 100)); - KeepAliveID(column_id); bool hovered = false, held = false; bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus); @@ -1223,6 +1228,7 @@ void ImGui::EndTable() TableOpenContextMenu((int)table->HoveredColumnBody); // Finalize table height + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); inner_window->DC.PrevLineSize = temp_data->HostBackupPrevLineSize; inner_window->DC.CurrLineSize = temp_data->HostBackupCurrLineSize; inner_window->DC.CursorMaxPos = temp_data->HostBackupCursorMaxPos; @@ -1233,7 +1239,7 @@ void ImGui::EndTable() else if (!(flags & ImGuiTableFlags_NoHostExtendY)) table->OuterRect.Max.y = table->InnerRect.Max.y = ImMax(table->OuterRect.Max.y, inner_content_max_y); // Patch OuterRect/InnerRect height table->WorkRect.Max.y = ImMax(table->WorkRect.Max.y, table->OuterRect.Max.y); - table->LastOuterHeight = table->OuterRect.GetHeight(); + table_instance->LastOuterHeight = table->OuterRect.GetHeight(); // Setup inner scrolling range // FIXME: This ideally should be done earlier, in BeginTable() SetNextWindowContentSize call, just like writing to inner_window->DC.CursorMaxPos.y, @@ -1279,17 +1285,23 @@ void ImGui::EndTable() splitter->Merge(inner_window->DrawList); // Update ColumnsAutoFitWidth to get us ahead for host using our size to auto-resize without waiting for next BeginTable() - const float width_spacings = (table->OuterPaddingX * 2.0f) + (table->CellSpacingX1 + table->CellSpacingX2) * (table->ColumnsEnabledCount - 1); - table->ColumnsAutoFitWidth = width_spacings + (table->CellPaddingX * 2.0f) * table->ColumnsEnabledCount; + float auto_fit_width_for_fixed = 0.0f; + float auto_fit_width_for_stretched = 0.0f; + float auto_fit_width_for_stretched_min = 0.0f; for (int column_n = 0; column_n < table->ColumnsCount; column_n++) if (table->EnabledMaskByIndex & ((ImU64)1 << column_n)) { ImGuiTableColumn* column = &table->Columns[column_n]; - if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && !(column->Flags & ImGuiTableColumnFlags_NoResize)) - table->ColumnsAutoFitWidth += column->WidthRequest; + float column_width_request = ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && !(column->Flags & ImGuiTableColumnFlags_NoResize)) ? column->WidthRequest : TableGetColumnWidthAuto(table, column); + if (column->Flags & ImGuiTableColumnFlags_WidthFixed) + auto_fit_width_for_fixed += column_width_request; else - table->ColumnsAutoFitWidth += TableGetColumnWidthAuto(table, column); + auto_fit_width_for_stretched += column_width_request; + if ((column->Flags & ImGuiTableColumnFlags_WidthStretch) && (column->Flags & ImGuiTableColumnFlags_NoResize) != 0) + auto_fit_width_for_stretched_min = ImMax(auto_fit_width_for_stretched_min, column_width_request / (column->StretchWeight / table->ColumnsStretchSumWeights)); } + const float width_spacings = (table->OuterPaddingX * 2.0f) + (table->CellSpacingX1 + table->CellSpacingX2) * (table->ColumnsEnabledCount - 1); + table->ColumnsAutoFitWidth = width_spacings + (table->CellPaddingX * 2.0f) * table->ColumnsEnabledCount + auto_fit_width_for_fixed + ImMax(auto_fit_width_for_stretched, auto_fit_width_for_stretched_min); // Update scroll if ((table->Flags & ImGuiTableFlags_ScrollX) == 0 && inner_window != outer_window) @@ -1569,18 +1581,21 @@ ImGuiTableColumnFlags ImGui::TableGetColumnFlags(int column_n) // Return the cell rectangle based on currently known height. // - Important: we generally don't know our row height until the end of the row, so Max.y will be incorrect in many situations. -// The only case where this is correct is if we provided a min_row_height to TableNextRow() and don't go below it. +// The only case where this is correct is if we provided a min_row_height to TableNextRow() and don't go below it, or in TableEndRow() when we locked that height. // - Important: if ImGuiTableFlags_PadOuterX is set but ImGuiTableFlags_PadInnerX is not set, the outer-most left and right // columns report a small offset so their CellBgRect can extend up to the outer border. +// FIXME: But the rendering code in TableEndRow() nullifies that with clamping required for scrolling. ImRect ImGui::TableGetCellBgRect(const ImGuiTable* table, int column_n) { const ImGuiTableColumn* column = &table->Columns[column_n]; float x1 = column->MinX; float x2 = column->MaxX; - if (column->PrevEnabledColumn == -1) - x1 -= table->CellSpacingX1; - if (column->NextEnabledColumn == -1) - x2 += table->CellSpacingX2; + //if (column->PrevEnabledColumn == -1) + // x1 -= table->OuterPaddingX; + //if (column->NextEnabledColumn == -1) + // x2 += table->OuterPaddingX; + x1 = ImMax(x1, table->WorkRect.Min.x); + x2 = ImMin(x2, table->WorkRect.Max.x); return ImRect(x1, table->RowPosY1, x2, table->RowPosY2); } @@ -1710,6 +1725,8 @@ void ImGui::TableBeginRow(ImGuiTable* table) table->RowTextBaseline = 0.0f; table->RowIndentOffsetX = window->DC.Indent.x - table->HostIndentX; // Lock indent window->DC.PrevLineTextBaseOffset = 0.0f; + window->DC.CurrLineSize = ImVec2(0.0f, 0.0f); + window->DC.IsSameLine = window->DC.IsSetPos = false; window->DC.CursorMaxPos.y = next_y1; // Making the header BG color non-transparent will allow us to overlay it multiple times when handling smooth dragging. @@ -1746,7 +1763,7 @@ void ImGui::TableEndRow(ImGuiTable* table) const bool unfreeze_rows_actual = (table->CurrentRow + 1 == table->FreezeRowsCount); const bool unfreeze_rows_request = (table->CurrentRow + 1 == table->FreezeRowsRequest); if (table->CurrentRow == 0) - table->LastFirstRowHeight = bg_y2 - bg_y1; + TableGetInstanceData(table, table->InstanceCurrent)->LastFirstRowHeight = bg_y2 - bg_y1; const bool is_visible = (bg_y2 >= table->InnerClipRect.Min.y && bg_y1 <= table->InnerClipRect.Max.y); if (is_visible) @@ -1797,10 +1814,12 @@ void ImGui::TableEndRow(ImGuiTable* table) ImGuiTableCellData* cell_data_end = &table->RowCellData[table->RowCellDataCurrent]; for (ImGuiTableCellData* cell_data = &table->RowCellData[0]; cell_data <= cell_data_end; cell_data++) { + // As we render the BG here we need to clip things (for layout we would not) + // FIXME: This cancels the OuterPadding addition done by TableGetCellBgRect(), need to keep it while rendering correctly while scrolling. const ImGuiTableColumn* column = &table->Columns[cell_data->Column]; ImRect cell_bg_rect = TableGetCellBgRect(table, cell_data->Column); cell_bg_rect.ClipWith(table->BgClipRect); - cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, column->ClipRect.Min.x); // So that first column after frozen one gets clipped + cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, column->ClipRect.Min.x); // So that first column after frozen one gets clipped when scrolling cell_bg_rect.Max.x = ImMin(cell_bg_rect.Max.x, column->MaxX); window->DrawList->AddRectFilled(cell_bg_rect.Min, cell_bg_rect.Max, cell_data->BgColor); } @@ -1989,6 +2008,9 @@ void ImGui::TableEndCell(ImGuiTable* table) ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; ImGuiWindow* window = table->InnerWindow; + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + // Report maximum position so we can infer content size per column. float* p_max_pos_x; if (table->RowFlags & ImGuiTableRowFlags_Headers) @@ -2083,7 +2105,7 @@ void ImGui::TableSetColumnWidth(int column_n, float width) if (column_0->WidthGiven == column_0_width || column_0->WidthRequest == column_0_width) return; - //IMGUI_DEBUG_LOG("TableSetColumnWidth(%d, %.1f->%.1f)\n", column_0_idx, column_0->WidthGiven, column_0_width); + //IMGUI_DEBUG_PRINT("TableSetColumnWidth(%d, %.1f->%.1f)\n", column_0_idx, column_0->WidthGiven, column_0_width); ImGuiTableColumn* column_1 = (column_0->NextEnabledColumn != -1) ? &table->Columns[column_0->NextEnabledColumn] : NULL; // In this surprisingly not simple because of how we support mixing Fixed and multiple Stretch columns. @@ -2353,7 +2375,7 @@ void ImGui::TableMergeDrawChannels(ImGuiTable* table) // Don't attempt to merge if there are multiple draw calls within the column ImDrawChannel* src_channel = &splitter->_Channels[channel_no]; - if (src_channel->_CmdBuffer.Size > 0 && src_channel->_CmdBuffer.back().ElemCount == 0) + if (src_channel->_CmdBuffer.Size > 0 && src_channel->_CmdBuffer.back().ElemCount == 0 && src_channel->_CmdBuffer.back().UserCallback == NULL) // Equivalent of PopUnusedDrawCmd() src_channel->_CmdBuffer.pop_back(); if (src_channel->_CmdBuffer.Size != 1) continue; @@ -2497,10 +2519,11 @@ void ImGui::TableDrawBorders(ImGuiTable* table) inner_drawlist->PushClipRect(table->Bg0ClipRectForDrawCmd.Min, table->Bg0ClipRectForDrawCmd.Max, false); // Draw inner border and resizing feedback + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); const float border_size = TABLE_BORDER_SIZE; const float draw_y1 = table->InnerRect.Min.y; const float draw_y2_body = table->InnerRect.Max.y; - const float draw_y2_head = table->IsUsingHeaders ? ImMin(table->InnerRect.Max.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table->LastFirstRowHeight) : draw_y1; + const float draw_y2_head = table->IsUsingHeaders ? ImMin(table->InnerRect.Max.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table_instance->LastFirstRowHeight) : draw_y1; if (table->Flags & ImGuiTableFlags_BordersInnerV) { for (int order_n = 0; order_n < table->ColumnsCount; order_n++) @@ -2982,7 +3005,7 @@ void ImGui::TableHeader(const char* label) RenderTextEllipsis(window->DrawList, label_pos, ImVec2(ellipsis_max, label_pos.y + label_height + g.Style.FramePadding.y), ellipsis_max, ellipsis_max, label, label_end, &label_size); const bool text_clipped = label_size.x > (ellipsis_max - label_pos.x); - if (text_clipped && hovered && g.HoveredIdNotActiveTimer > g.TooltipSlowDelay) + if (text_clipped && hovered && g.ActiveId == 0 && IsItemHovered(ImGuiHoveredFlags_DelayNormal)) SetTooltip("%.*s", (int)(label_end - label), label); // We don't use BeginPopupContextItem() because we want the popup to stay up even after the column is hidden @@ -3017,6 +3040,17 @@ void ImGui::TableOpenContextMenu(int column_n) } } +bool ImGui::TableBeginContextMenuPopup(ImGuiTable* table) +{ + if (!table->IsContextPopupOpen || table->InstanceCurrent != table->InstanceInteracted) + return false; + const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); + if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) + return true; + table->IsContextPopupOpen = false; + return false; +} + // Output context menu into current window (generally a popup) // FIXME-TABLE: Ideally this should be writable by the user. Full programmatic access to that data? void ImGui::TableDrawContextMenu(ImGuiTable* table) @@ -3036,15 +3070,15 @@ void ImGui::TableDrawContextMenu(ImGuiTable* table) if (column != NULL) { const bool can_resize = !(column->Flags & ImGuiTableColumnFlags_NoResize) && column->IsEnabled; - if (MenuItem("Size column to fit###SizeOne", NULL, false, can_resize)) + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_TableSizeOne), NULL, false, can_resize)) // "###SizeOne" TableSetColumnWidthAutoSingle(table, column_n); } const char* size_all_desc; if (table->ColumnsEnabledFixedCount == table->ColumnsEnabledCount && (table->Flags & ImGuiTableFlags_SizingMask_) != ImGuiTableFlags_SizingFixedSame) - size_all_desc = "Size all columns to fit###SizeAll"; // All fixed + size_all_desc = LocalizeGetMsg(ImGuiLocKey_TableSizeAllFit); // "###SizeAll" All fixed else - size_all_desc = "Size all columns to default###SizeAll"; // All stretch or mixed + size_all_desc = LocalizeGetMsg(ImGuiLocKey_TableSizeAllDefault); // "###SizeAll" All stretch or mixed if (MenuItem(size_all_desc, NULL)) TableSetColumnWidthAutoAll(table); want_separator = true; @@ -3053,7 +3087,7 @@ void ImGui::TableDrawContextMenu(ImGuiTable* table) // Ordering if (table->Flags & ImGuiTableFlags_Reorderable) { - if (MenuItem("Reset order", NULL, false, !table->IsDefaultDisplayOrder)) + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_TableResetOrder), NULL, false, !table->IsDefaultDisplayOrder)) table->IsResetDisplayOrderRequest = true; want_separator = true; } @@ -3422,9 +3456,8 @@ static void TableSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandle } } -void ImGui::TableSettingsInstallHandler(ImGuiContext* context) +void ImGui::TableSettingsAddSettingsHandler() { - ImGuiContext& g = *context; ImGuiSettingsHandler ini_handler; ini_handler.TypeName = "Table"; ini_handler.TypeHash = ImHashStr("Table"); @@ -3433,7 +3466,7 @@ void ImGui::TableSettingsInstallHandler(ImGuiContext* context) ini_handler.ReadLineFn = TableSettingsHandler_ReadLine; ini_handler.ApplyAllFn = TableSettingsHandler_ApplyAll; ini_handler.WriteAllFn = TableSettingsHandler_WriteAll; - g.SettingsHandlers.push_back(ini_handler); + AddSettingsHandler(&ini_handler); } //------------------------------------------------------------------------- @@ -3447,7 +3480,7 @@ void ImGui::TableSettingsInstallHandler(ImGuiContext* context) // Remove Table (currently only used by TestEngine) void ImGui::TableRemove(ImGuiTable* table) { - //IMGUI_DEBUG_LOG("TableRemove() id=0x%08X\n", table->ID); + //IMGUI_DEBUG_PRINT("TableRemove() id=0x%08X\n", table->ID); ImGuiContext& g = *GImGui; int table_idx = g.Tables.GetIndex(table); //memset(table->RawData.Data, 0, table->RawData.size_in_bytes()); @@ -3459,7 +3492,7 @@ void ImGui::TableRemove(ImGuiTable* table) // Free up/compact internal Table buffers for when it gets unused void ImGui::TableGcCompactTransientBuffers(ImGuiTable* table) { - //IMGUI_DEBUG_LOG("TableGcCompactTransientBuffers() id=0x%08X\n", table->ID); + //IMGUI_DEBUG_PRINT("TableGcCompactTransientBuffers() id=0x%08X\n", table->ID); ImGuiContext& g = *GImGui; IM_ASSERT(table->MemoryCompacted == false); table->SortSpecs.Specs = NULL; @@ -3503,7 +3536,7 @@ void ImGui::TableGcCompactSettings() // - DebugNodeTable() [Internal] //------------------------------------------------------------------------- -#ifndef IMGUI_DISABLE_METRICS_WINDOW +#ifndef IMGUI_DISABLE_DEBUG_TOOLS static const char* DebugNodeTableGetSizingPolicyDesc(ImGuiTableFlags sizing_policy) { @@ -3531,6 +3564,8 @@ void ImGui::DebugNodeTable(ImGuiTable* table) GetForegroundDrawList()->AddRect(GetItemRectMin(), GetItemRectMax(), IM_COL32(255, 255, 0, 255)); if (!open) return; + if (table->InstanceCurrent > 0) + ImGui::Text("** %d instances of same table! Some data below will refer to last instance.", table->InstanceCurrent + 1); bool clear_settings = SmallButton("Clear settings"); BulletText("OuterRect: Pos: (%.1f,%.1f) Size: (%.1f,%.1f) Sizing: '%s'", table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.GetWidth(), table->OuterRect.GetHeight(), DebugNodeTableGetSizingPolicyDesc(table->Flags)); BulletText("ColumnsGivenWidth: %.1f, ColumnsAutoFitWidth: %.1f, InnerWidth: %.1f%s", table->ColumnsGivenWidth, table->ColumnsAutoFitWidth, table->InnerWidth, table->InnerWidth == 0.0f ? " (auto)" : ""); @@ -3595,7 +3630,7 @@ void ImGui::DebugNodeTableSettings(ImGuiTableSettings* settings) TreePop(); } -#else // #ifndef IMGUI_DISABLE_METRICS_WINDOW +#else // #ifndef IMGUI_DISABLE_DEBUG_TOOLS void ImGui::DebugNodeTable(ImGuiTable*) {} void ImGui::DebugNodeTableSettings(ImGuiTableSettings*) {} @@ -3935,6 +3970,7 @@ void ImGui::NextColumn() { // New row/line: column 0 honor IndentX. window->DC.ColumnsOffset.x = ImMax(column_padding - window->WindowPadding.x, 0.0f); + window->DC.IsSameLine = false; columns->LineMinY = columns->LineMaxY; } window->DC.CursorPos.x = IM_FLOOR(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); @@ -3986,8 +4022,7 @@ void ImGui::EndColumns() const ImGuiID column_id = columns->ID + ImGuiID(n); const float column_hit_hw = COLUMNS_HIT_RECT_HALF_WIDTH; const ImRect column_hit_rect(ImVec2(x - column_hit_hw, y1), ImVec2(x + column_hit_hw, y2)); - KeepAliveID(column_id); - if (IsClippedEx(column_hit_rect, column_id)) // FIXME: Can be removed or replaced with a lower-level test + if (!ItemAdd(column_hit_rect, column_id, NULL, ImGuiItemFlags_NoNav)) continue; bool hovered = false, held = false; diff --git a/imgui-sys/third-party/imgui-docking/imgui/imgui_widgets.cpp b/imgui-sys/third-party/imgui-docking/imgui/imgui_widgets.cpp index 89e3681..28f8e89 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imgui_widgets.cpp +++ b/imgui-sys/third-party/imgui-docking/imgui/imgui_widgets.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (widgets code) /* @@ -41,7 +41,6 @@ Index of this file: #include "imgui_internal.h" // System includes -#include // toupper #if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier #include // intptr_t #else @@ -82,6 +81,7 @@ Index of this file: #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind #pragma GCC diagnostic ignored "-Wformat-nonliteral" // warning: format not a string literal, format string not checked #pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated #endif //------------------------------------------------------------------------- @@ -166,7 +166,21 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags) const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); const float wrap_pos_x = window->DC.TextWrapPos; const bool wrap_enabled = (wrap_pos_x >= 0.0f); - if (text_end - text > 2000 && !wrap_enabled) + if (text_end - text <= 2000 || wrap_enabled) + { + // Common case + const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f; + const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); + + ImRect bb(text_pos, text_pos + text_size); + ItemSize(text_size, 0.0f); + if (!ItemAdd(bb, 0)) + return; + + // Render (we don't hide text after ## in this end-user function) + RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); + } + else { // Long text! // Perform manual coarse clipping to optimize for long multi-line text @@ -239,19 +253,6 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags) ItemSize(text_size, 0.0f); ItemAdd(bb, 0); } - else - { - const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f; - const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); - - ImRect bb(text_pos, text_pos + text_size); - ItemSize(text_size, 0.0f); - if (!ItemAdd(bb, 0)) - return; - - // Render (we don't hide text after ## in this end-user function) - RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); - } } void ImGui::TextUnformatted(const char* text, const char* text_end) @@ -274,9 +275,9 @@ void ImGui::TextV(const char* fmt, va_list args) return; // FIXME-OPT: Handle the %s shortcut? - ImGuiContext& g = *GImGui; - const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); - TextEx(g.TempBuffer, text_end, ImGuiTextFlags_NoWidthForLargeClippedText); + const char* text, *text_end; + ImFormatStringToTempBufferV(&text, &text_end, fmt, args); + TextEx(text, text_end, ImGuiTextFlags_NoWidthForLargeClippedText); } void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) @@ -357,8 +358,8 @@ void ImGui::LabelTextV(const char* label, const char* fmt, va_list args) const ImGuiStyle& style = g.Style; const float w = CalcItemWidth(); - const char* value_text_begin = &g.TempBuffer[0]; - const char* value_text_end = value_text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); + const char* value_text_begin, *value_text_end; + ImFormatStringToTempBufferV(&value_text_begin, &value_text_end, fmt, args); const ImVec2 value_size = CalcTextSize(value_text_begin, value_text_end, false); const ImVec2 label_size = CalcTextSize(label, NULL, true); @@ -393,8 +394,8 @@ void ImGui::BulletTextV(const char* fmt, va_list args) ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; - const char* text_begin = g.TempBuffer; - const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); + const char* text_begin, *text_end; + ImFormatStringToTempBufferV(&text_begin, &text_end, fmt, args); const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); const ImVec2 total_size = ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x * 2) : 0.0f), label_size.y); // Empty text doesn't add padding ImVec2 pos = window->DC.CursorPos; @@ -540,22 +541,20 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool hovered = false; // Mouse handling + const ImGuiID test_owner_id = (flags & ImGuiButtonFlags_NoTestKeyOwner) ? ImGuiKeyOwner_Any : id; if (hovered) { if (!(flags & ImGuiButtonFlags_NoKeyModifiers) || (!g.IO.KeyCtrl && !g.IO.KeyShift && !g.IO.KeyAlt)) { // Poll buttons int mouse_button_clicked = -1; - int mouse_button_released = -1; - if ((flags & ImGuiButtonFlags_MouseButtonLeft) && g.IO.MouseClicked[0]) { mouse_button_clicked = 0; } - else if ((flags & ImGuiButtonFlags_MouseButtonRight) && g.IO.MouseClicked[1]) { mouse_button_clicked = 1; } - else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && g.IO.MouseClicked[2]) { mouse_button_clicked = 2; } - if ((flags & ImGuiButtonFlags_MouseButtonLeft) && g.IO.MouseReleased[0]) { mouse_button_released = 0; } - else if ((flags & ImGuiButtonFlags_MouseButtonRight) && g.IO.MouseReleased[1]) { mouse_button_released = 1; } - else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && g.IO.MouseReleased[2]) { mouse_button_released = 2; } - + if ((flags & ImGuiButtonFlags_MouseButtonLeft) && IsMouseClicked(0, test_owner_id)) { mouse_button_clicked = 0; } + else if ((flags & ImGuiButtonFlags_MouseButtonRight) && IsMouseClicked(1, test_owner_id)) { mouse_button_clicked = 1; } + else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && IsMouseClicked(2, test_owner_id)) { mouse_button_clicked = 2; } if (mouse_button_clicked != -1 && g.ActiveId != id) { + if (!(flags & ImGuiButtonFlags_NoSetKeyOwner)) + SetKeyOwner(MouseButtonToKey(mouse_button_clicked), id); if (flags & (ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere)) { SetActiveID(id, window); @@ -577,21 +576,27 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool FocusWindow(window); } } - if ((flags & ImGuiButtonFlags_PressedOnRelease) && mouse_button_released != -1) + if (flags & ImGuiButtonFlags_PressedOnRelease) { - // Repeat mode trumps on release behavior - const bool has_repeated_at_least_once = (flags & ImGuiButtonFlags_Repeat) && g.IO.MouseDownDurationPrev[mouse_button_released] >= g.IO.KeyRepeatDelay; - if (!has_repeated_at_least_once) - pressed = true; - if (!(flags & ImGuiButtonFlags_NoNavFocus)) - SetFocusID(id, window); - ClearActiveID(); + int mouse_button_released = -1; + if ((flags & ImGuiButtonFlags_MouseButtonLeft) && IsMouseReleased(0, test_owner_id)) { mouse_button_released = 0; } + else if ((flags & ImGuiButtonFlags_MouseButtonRight) && IsMouseReleased(1, test_owner_id)) { mouse_button_released = 1; } + else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && IsMouseReleased(2, test_owner_id)) { mouse_button_released = 2; } + if (mouse_button_released != -1) + { + const bool has_repeated_at_least_once = (flags & ImGuiButtonFlags_Repeat) && g.IO.MouseDownDurationPrev[mouse_button_released] >= g.IO.KeyRepeatDelay; // Repeat mode trumps on release behavior + if (!has_repeated_at_least_once) + pressed = true; + if (!(flags & ImGuiButtonFlags_NoNavFocus)) + SetFocusID(id, window); + ClearActiveID(); + } } // 'Repeat' mode acts when held regardless of _PressedOn flags (see table above). // Relies on repeat logic of IsMouseClicked() but we may as well do it ourselves if we end up exposing finer RepeatDelay/RepeatRate settings. if (g.ActiveId == id && (flags & ImGuiButtonFlags_Repeat)) - if (g.IO.MouseDownDuration[g.ActiveIdMouseButton] > 0.0f && IsMouseClicked(g.ActiveIdMouseButton, true)) + if (g.IO.MouseDownDuration[g.ActiveIdMouseButton] > 0.0f && IsMouseClicked(g.ActiveIdMouseButton, test_owner_id, ImGuiInputFlags_Repeat)) pressed = true; } @@ -607,7 +612,15 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool if (g.NavActivateDownId == id) { bool nav_activated_by_code = (g.NavActivateId == id); - bool nav_activated_by_inputs = IsNavInputTest(ImGuiNavInput_Activate, (flags & ImGuiButtonFlags_Repeat) ? ImGuiInputReadMode_Repeat : ImGuiInputReadMode_Pressed); + bool nav_activated_by_inputs = (g.NavActivatePressedId == id); + if (!nav_activated_by_inputs && (flags & ImGuiButtonFlags_Repeat)) + { + // Avoid pressing both keys from triggering double amount of repeat events + const ImGuiKeyData* key1 = GetKeyData(ImGuiKey_Space); + const ImGuiKeyData* key2 = GetKeyData(ImGuiKey_NavGamepadActivate); + const float t1 = ImMax(key1->DownDuration, key2->DownDuration); + nav_activated_by_inputs = CalcTypematicRepeatAmount(t1 - g.IO.DeltaTime, t1, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; + } if (nav_activated_by_code || nav_activated_by_inputs) { // Set active id so it can be queried by user via IsItemActive(), equivalent of holding the mouse button. @@ -629,8 +642,7 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; const int mouse_button = g.ActiveIdMouseButton; - IM_ASSERT(mouse_button >= 0 && mouse_button < ImGuiMouseButton_COUNT); - if (g.IO.MouseDown[mouse_button]) + if (IsMouseDown(mouse_button, test_owner_id)) { held = true; } @@ -643,7 +655,8 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool // Report as pressed when releasing the mouse (this is the most common path) bool is_double_click_release = (flags & ImGuiButtonFlags_PressedOnDoubleClick) && g.IO.MouseReleased[mouse_button] && g.IO.MouseClickedLastCount[mouse_button] == 2; bool is_repeating_already = (flags & ImGuiButtonFlags_Repeat) && g.IO.MouseDownDurationPrev[mouse_button] >= g.IO.KeyRepeatDelay; // Repeat mode trumps - if (!is_double_click_release && !is_repeating_already) + bool is_button_avail_or_owned = TestKeyOwner(MouseButtonToKey(mouse_button), test_owner_id); + if (!is_double_click_release && !is_repeating_already && is_button_avail_or_owned) pressed = true; } ClearActiveID(); @@ -731,6 +744,7 @@ bool ImGui::SmallButton(const char* label) // Then you can keep 'str_id' empty or the same for all your buttons (instead of creating a string based on a non-string id) bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiButtonFlags flags) { + ImGuiContext& g = *GImGui; ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; @@ -748,16 +762,17 @@ bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiBut bool hovered, held; bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); + IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, g.LastItemData.StatusFlags); return pressed; } bool ImGui::ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size, ImGuiButtonFlags flags) { + ImGuiContext& g = *GImGui; ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; - ImGuiContext& g = *GImGui; const ImGuiID id = window->GetID(str_id); const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); const float default_size = GetFrameHeight(); @@ -778,6 +793,7 @@ bool ImGui::ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size, ImGuiBu RenderFrame(bb.Min, bb.Max, bg_col, true, g.Style.FrameRounding); RenderArrow(window->DrawList, bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.FontSize) * 0.5f)), text_col, dir); + IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, g.LastItemData.StatusFlags); return pressed; } @@ -841,9 +857,8 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos, ImGuiDockNode* dock_no //bool is_dock_menu = (window->DockNodeAsHost && !window->Collapsed); ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); ImU32 text_col = GetColorU32(ImGuiCol_Text); - ImVec2 center = bb.GetCenter(); if (hovered || held) - window->DrawList->AddCircleFilled(center + ImVec2(0,-0.5f), g.FontSize * 0.5f + 1.0f, bg_col, 12); + window->DrawList->AddCircleFilled(bb.GetCenter() + ImVec2(0,-0.5f), g.FontSize * 0.5f + 1.0f, bg_col, 12); if (dock_node) RenderArrowDockMenu(window->DrawList, bb.Min + g.Style.FramePadding, g.FontSize, text_col); @@ -859,7 +874,7 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos, ImGuiDockNode* dock_no ImGuiID ImGui::GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis) { - return window->GetIDNoKeepAlive(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY"); + return window->GetID(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY"); } // Return scrollbar rectangle, must only be called for corresponding axis if window->ScrollbarX/Y is set. @@ -880,9 +895,7 @@ void ImGui::Scrollbar(ImGuiAxis axis) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - const ImGuiID id = GetWindowScrollbarID(window, axis); - KeepAliveID(id); // Calculate scrollbar bounding box ImRect bb = GetWindowScrollbarRect(window, axis); @@ -951,6 +964,7 @@ bool ImGui::ScrollbarEx(const ImRect& bb_frame, ImGuiID id, ImGuiAxis axis, ImS6 // Handle input right away. None of the code of Begin() is relying on scrolling position before calling Scrollbar(). bool held = false; bool hovered = false; + ItemAdd(bb_frame, id, NULL, ImGuiItemFlags_NoNav); ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_NoNavFocus); const ImS64 scroll_max = ImMax((ImS64)1, size_contents_v - size_avail_v); @@ -1030,14 +1044,15 @@ void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& // ImageButton() is flawed as 'id' is always derived from 'texture_id' (see #2464 #1390) // We provide this internal helper to write your own variant while we figure out how to redesign the public ImageButton() API. -bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec2& padding, const ImVec4& bg_col, const ImVec4& tint_col) +bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col) { ImGuiContext& g = *GImGui; ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; - const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size + padding * 2); + const ImVec2 padding = g.Style.FramePadding; + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size + padding * 2.0f); ItemSize(bb); if (!ItemAdd(bb, id)) return false; @@ -1056,9 +1071,21 @@ bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size return pressed; } -// frame_padding < 0: uses FramePadding from style (default) -// frame_padding = 0: no framing -// frame_padding > 0: set framing size +bool ImGui::ImageButton(const char* str_id, ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + return ImageButtonEx(window->GetID(str_id), user_texture_id, size, uv0, uv1, bg_col, tint_col); +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// Legacy API obsoleted in 1.89. Two differences with new ImageButton() +// - new ImageButton() requires an explicit 'const char* str_id' Old ImageButton() used opaque imTextureId (created issue with: multiple buttons with same image, transient texture id values, opaque computation of ID) +// - new ImageButton() always use style.FramePadding Old ImageButton() had an override argument. +// If you need to change padding with new ImageButton() you can use PushStyleVar(ImGuiStyleVar_FramePadding, value), consistent with other Button functions. bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) { ImGuiContext& g = *GImGui; @@ -1071,9 +1098,14 @@ bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const I const ImGuiID id = window->GetID("#image"); PopID(); - const ImVec2 padding = (frame_padding >= 0) ? ImVec2((float)frame_padding, (float)frame_padding) : g.Style.FramePadding; - return ImageButtonEx(id, user_texture_id, size, uv0, uv1, padding, bg_col, tint_col); + if (frame_padding >= 0) + PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2((float)frame_padding, (float)frame_padding)); + bool ret = ImageButtonEx(id, user_texture_id, size, uv0, uv1, bg_col, tint_col); + if (frame_padding >= 0) + PopStyleVar(); + return ret; } +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS bool ImGui::Checkbox(const char* label, bool* v) { @@ -1288,7 +1320,7 @@ void ImGui::Bullet() ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; - const float line_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + g.Style.FramePadding.y * 2), g.FontSize); + const float line_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + style.FramePadding.y * 2), g.FontSize); const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height)); ItemSize(bb); if (!ItemAdd(bb, 0)) @@ -1344,6 +1376,7 @@ void ImGui::NewLine() ImGuiContext& g = *GImGui; const ImGuiLayoutType backup_layout_type = window->DC.LayoutType; window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.IsSameLine = false; if (window->DC.CurrLineSize.y > 0.0f) // In the event that we are on a line with items that is smaller that FontSize high, we will preserve its height. ItemSize(ImVec2(0, 0)); else @@ -1451,11 +1484,7 @@ bool ImGui::SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - const ImGuiItemFlags item_flags_backup = g.CurrentItemFlags; - g.CurrentItemFlags |= ImGuiItemFlags_NoNav | ImGuiItemFlags_NoNavDefaultFocus; - bool item_add = ItemAdd(bb, id); - g.CurrentItemFlags = item_flags_backup; - if (!item_add) + if (!ItemAdd(bb, id, NULL, ImGuiItemFlags_NoNav)) return false; bool hovered, held; @@ -1541,7 +1570,7 @@ void ImGui::ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_exc width_excess -= width_to_remove_per_item * count_same_width; } - // Round width and redistribute remainder left-to-right (could make it an option of the function?) + // Round width and redistribute remainder // Ensure that e.g. the right-most tab of a shrunk tab-bar always reaches exactly at the same distance from the right-most edge of the tab bar separator. width_excess = 0.0f; for (int n = 0; n < count; n++) @@ -1550,10 +1579,13 @@ void ImGui::ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_exc width_excess += items[n].Width - width_rounded; items[n].Width = width_rounded; } - if (width_excess > 0.0f) - for (int n = 0; n < count; n++) - if (items[n].Index < (int)(width_excess + 0.01f)) - items[n].Width += 1.0f; + while (width_excess > 0.0f) + for (int n = 0; n < count && width_excess > 0.0f; n++) + { + float width_to_add = ImMin(items[n].InitialWidth - items[n].Width, 1.0f); + items[n].Width += width_to_add; + width_excess -= width_to_add; + } } //------------------------------------------------------------------------- @@ -1723,7 +1755,7 @@ bool ImGui::BeginComboPreview() ImGuiWindow* window = g.CurrentWindow; ImGuiComboPreviewData* preview_data = &g.ComboPreviewData; - if (window->SkipItems || !window->ClipRect.Overlaps(g.LastItemData.Rect)) // FIXME: Because we don't have a ImGuiItemStatusFlags_Visible flag to test last ItemAdd() result + if (window->SkipItems || !(g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible)) return false; IM_ASSERT(g.LastItemData.Rect.Min.x == preview_data->PreviewRect.Min.x && g.LastItemData.Rect.Min.y == preview_data->PreviewRect.Min.y); // Didn't call after BeginCombo/EndCombo block or forgot to pass ImGuiComboFlags_CustomPreview flag? if (!window->ClipRect.Contains(preview_data->PreviewRect)) // Narrower test (optional) @@ -1738,6 +1770,7 @@ bool ImGui::BeginComboPreview() window->DC.CursorPos = preview_data->PreviewRect.Min + g.Style.FramePadding; window->DC.CursorMaxPos = window->DC.CursorPos; window->DC.LayoutType = ImGuiLayoutType_Horizontal; + window->DC.IsSameLine = false; PushClipRect(preview_data->PreviewRect.Min, preview_data->PreviewRect.Max, true); return true; @@ -1763,6 +1796,7 @@ void ImGui::EndComboPreview() window->DC.CursorPosPrevLine = preview_data->BackupCursorPosPrevLine; window->DC.PrevLineTextBaseOffset = preview_data->BackupPrevLineTextBaseOffset; window->DC.LayoutType = preview_data->BackupLayout; + window->DC.IsSameLine = false; preview_data->PreviewRect = ImRect(); } @@ -1865,11 +1899,11 @@ bool ImGui::Combo(const char* label, int* current_item, const char* items_separa //------------------------------------------------------------------------- // [SECTION] Data Type and Data Formatting Helpers [Internal] //------------------------------------------------------------------------- -// - PatchFormatStringFloatToInt() // - DataTypeGetInfo() // - DataTypeFormatString() // - DataTypeApplyOp() // - DataTypeApplyOpFromText() +// - DataTypeCompare() // - DataTypeClamp() // - GetMinimumStepAtDecimalPrecision // - RoundScalarWithFormat<>() @@ -1895,30 +1929,6 @@ static const ImGuiDataTypeInfo GDataTypeInfo[] = }; IM_STATIC_ASSERT(IM_ARRAYSIZE(GDataTypeInfo) == ImGuiDataType_COUNT); -// FIXME-LEGACY: Prior to 1.61 our DragInt() function internally used floats and because of this the compile-time default value for format was "%.0f". -// Even though we changed the compile-time default, we expect users to have carried %f around, which would break the display of DragInt() calls. -// To honor backward compatibility we are rewriting the format string, unless IMGUI_DISABLE_OBSOLETE_FUNCTIONS is enabled. What could possibly go wrong?! -static const char* PatchFormatStringFloatToInt(const char* fmt) -{ - if (fmt[0] == '%' && fmt[1] == '.' && fmt[2] == '0' && fmt[3] == 'f' && fmt[4] == 0) // Fast legacy path for "%.0f" which is expected to be the most common case. - return "%d"; - const char* fmt_start = ImParseFormatFindStart(fmt); // Find % (if any, and ignore %%) - const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which itself is an exercise of confidence/recklessness (because snprintf is dependent on libc or user). - if (fmt_end > fmt_start && fmt_end[-1] == 'f') - { -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - if (fmt_start == fmt && fmt_end[0] == 0) - return "%d"; - ImGuiContext& g = *GImGui; - ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leading and trailing decorations, but lose alignment/precision. - return g.TempBuffer; -#else - IM_ASSERT(0 && "DragInt(): Invalid format string!"); // Old versions used a default parameter of "%.0f", please replace with e.g. "%d" -#endif - } - return fmt; -} - const ImGuiDataTypeInfo* ImGui::DataTypeGetInfo(ImGuiDataType data_type) { IM_ASSERT(data_type >= 0 && data_type < ImGuiDataType_COUNT); @@ -2000,24 +2010,10 @@ void ImGui::DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const // User can input math operators (e.g. +100) to edit a numerical values. // NB: This is _not_ a full expression evaluator. We should probably add one and replace this dumb mess.. -bool ImGui::DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* p_data, const char* format) +bool ImGui::DataTypeApplyFromText(const char* buf, ImGuiDataType data_type, void* p_data, const char* format) { while (ImCharIsBlankA(*buf)) buf++; - - // We don't support '-' op because it would conflict with inputing negative value. - // Instead you can use +-100 to subtract from an existing value - char op = buf[0]; - if (op == '+' || op == '*' || op == '/') - { - buf++; - while (ImCharIsBlankA(*buf)) - buf++; - } - else - { - op = 0; - } if (!buf[0]) return false; @@ -2026,66 +2022,20 @@ bool ImGui::DataTypeApplyOpFromText(const char* buf, const char* initial_value_b ImGuiDataTypeTempStorage data_backup; memcpy(&data_backup, p_data, type_info->Size); - if (format == NULL) + // Sanitize format + // For float/double we have to ignore format with precision (e.g. "%.2f") because sscanf doesn't take them in, so force them into %f and %lf + char format_sanitized[32]; + if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) format = type_info->ScanFmt; - - // FIXME-LEGACY: The aim is to remove those operators and write a proper expression evaluator at some point.. - int arg1i = 0; - if (data_type == ImGuiDataType_S32) - { - int* v = (int*)p_data; - int arg0i = *v; - float arg1f = 0.0f; - if (op && sscanf(initial_value_buf, format, &arg0i) < 1) - return false; - // Store operand in a float so we can use fractional value for multipliers (*1.1), but constant always parsed as integer so we can fit big integers (e.g. 2000000003) past float precision - if (op == '+') { if (sscanf(buf, "%d", &arg1i)) *v = (int)(arg0i + arg1i); } // Add (use "+-" to subtract) - else if (op == '*') { if (sscanf(buf, "%f", &arg1f)) *v = (int)(arg0i * arg1f); } // Multiply - else if (op == '/') { if (sscanf(buf, "%f", &arg1f) && arg1f != 0.0f) *v = (int)(arg0i / arg1f); } // Divide - else { if (sscanf(buf, format, &arg1i) == 1) *v = arg1i; } // Assign constant - } - else if (data_type == ImGuiDataType_Float) - { - // For floats we have to ignore format with precision (e.g. "%.2f") because sscanf doesn't take them in - format = "%f"; - float* v = (float*)p_data; - float arg0f = *v, arg1f = 0.0f; - if (op && sscanf(initial_value_buf, format, &arg0f) < 1) - return false; - if (sscanf(buf, format, &arg1f) < 1) - return false; - if (op == '+') { *v = arg0f + arg1f; } // Add (use "+-" to subtract) - else if (op == '*') { *v = arg0f * arg1f; } // Multiply - else if (op == '/') { if (arg1f != 0.0f) *v = arg0f / arg1f; } // Divide - else { *v = arg1f; } // Assign constant - } - else if (data_type == ImGuiDataType_Double) - { - format = "%lf"; // scanf differentiate float/double unlike printf which forces everything to double because of ellipsis - double* v = (double*)p_data; - double arg0f = *v, arg1f = 0.0; - if (op && sscanf(initial_value_buf, format, &arg0f) < 1) - return false; - if (sscanf(buf, format, &arg1f) < 1) - return false; - if (op == '+') { *v = arg0f + arg1f; } // Add (use "+-" to subtract) - else if (op == '*') { *v = arg0f * arg1f; } // Multiply - else if (op == '/') { if (arg1f != 0.0f) *v = arg0f / arg1f; } // Divide - else { *v = arg1f; } // Assign constant - } - else if (data_type == ImGuiDataType_U32 || data_type == ImGuiDataType_S64 || data_type == ImGuiDataType_U64) - { - // All other types assign constant - // We don't bother handling support for legacy operators since they are a little too crappy. Instead we will later implement a proper expression evaluator in the future. - if (sscanf(buf, format, p_data) < 1) - return false; - } else + format = ImParseFormatSanitizeForScanning(format, format_sanitized, IM_ARRAYSIZE(format_sanitized)); + + // Small types need a 32-bit buffer to receive the result from scanf() + int v32 = 0; + if (sscanf(buf, format, type_info->Size >= 4 ? p_data : &v32) < 1) + return false; + if (type_info->Size < 4) { - // Small types need a 32-bit buffer to receive the result from scanf() - int v32; - if (sscanf(buf, format, &v32) < 1) - return false; if (data_type == ImGuiDataType_S8) *(ImS8*)p_data = (ImS8)ImClamp(v32, (int)IM_S8_MIN, (int)IM_S8_MAX); else if (data_type == ImGuiDataType_U8) @@ -2167,45 +2117,17 @@ static float GetMinimumStepAtDecimalPrecision(int decimal_precision) } template -static const char* ImAtoi(const char* src, TYPE* output) -{ - int negative = 0; - if (*src == '-') { negative = 1; src++; } - if (*src == '+') { src++; } - TYPE v = 0; - while (*src >= '0' && *src <= '9') - v = (v * 10) + (*src++ - '0'); - *output = negative ? -v : v; - return src; -} - -// Sanitize format -// - Zero terminate so extra characters after format (e.g. "%f123") don't confuse atof/atoi -// - stb_sprintf.h supports several new modifiers which format numbers in a way that also makes them incompatible atof/atoi. -static void SanitizeFormatString(const char* fmt, char* fmt_out, size_t fmt_out_size) -{ - IM_UNUSED(fmt_out_size); - const char* fmt_end = ImParseFormatFindEnd(fmt); - IM_ASSERT((size_t)(fmt_end - fmt + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! - while (fmt < fmt_end) - { - char c = *(fmt++); - if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. - *(fmt_out++) = c; - } - *fmt_out = 0; // Zero-terminate -} - -template TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, TYPE v) { + IM_UNUSED(data_type); + IM_ASSERT(data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double); const char* fmt_start = ImParseFormatFindStart(format); if (fmt_start[0] != '%' || fmt_start[1] == '%') // Don't apply if the value is not visible in the format string return v; // Sanitize format char fmt_sanitized[32]; - SanitizeFormatString(fmt_start, fmt_sanitized, IM_ARRAYSIZE(fmt_sanitized)); + ImParseFormatSanitizeForPrinting(fmt_start, fmt_sanitized, IM_ARRAYSIZE(fmt_sanitized)); fmt_start = fmt_sanitized; // Format value with our rounding, and read back @@ -2214,10 +2136,8 @@ TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, const char* p = v_str; while (*p == ' ') p++; - if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) - v = (TYPE)ImAtof(p); - else - ImAtoi(p, (SIGNEDTYPE*)&v); + v = (TYPE)ImAtof(p); + return v; } @@ -2267,7 +2187,10 @@ bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const else if (g.ActiveIdSource == ImGuiInputSource_Nav) { const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 0; - adjust_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_Keyboard | ImGuiNavDirSourceFlags_PadDPad, ImGuiInputReadMode_RepeatFast, 1.0f / 10.0f, 10.0f)[axis]; + const bool tweak_slow = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakSlow : ImGuiKey_NavKeyboardTweakSlow); + const bool tweak_fast = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakFast : ImGuiKey_NavKeyboardTweakFast); + const float tweak_factor = tweak_slow ? 1.0f / 1.0f : tweak_fast ? 10.0f : 1.0f; + adjust_delta = GetNavTweakPressedAmount(axis) * tweak_factor; v_speed = ImMax(v_speed, GetMinimumStepAtDecimalPrecision(decimal_precision)); } adjust_delta *= v_speed; @@ -2321,8 +2244,8 @@ bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const } // Round to user desired precision based on format string - if (!(flags & ImGuiSliderFlags_NoRoundToFormat)) - v_cur = RoundScalarWithFormatT(format, data_type, v_cur); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_cur = RoundScalarWithFormatT(format, data_type, v_cur); // Preserve remainder after rounding has been applied. This also allow slow tweaking of values. g.DragCurrentAccumDirty = false; @@ -2365,6 +2288,7 @@ bool ImGui::DragBehavior(ImGuiID id, ImGuiDataType data_type, void* p_v, float v ImGuiContext& g = *GImGui; if (g.ActiveId == id) { + // Those are the things we can do easily outside the DragBehaviorT<> template, saves code generation. if (g.ActiveIdSource == ImGuiInputSource_Mouse && !g.IO.MouseDown[0]) ClearActiveID(); else if (g.ActiveIdSource == ImGuiInputSource_Nav && g.NavActivatePressedId == id && !g.ActiveIdIsJustActivated) @@ -2418,29 +2342,23 @@ bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, // Default format string when passing NULL if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt; - else if (data_type == ImGuiDataType_S32 && strcmp(format, "%d") != 0) // (FIXME-LEGACY: Patch old "%.0f" format string to use "%d", read function more details.) - format = PatchFormatStringFloatToInt(format); - // Tabbing or CTRL-clicking on Drag turns it into an InputText const bool hovered = ItemHoverable(frame_bb, id); bool temp_input_is_active = temp_input_allowed && TempInputIsActive(id); if (!temp_input_is_active) { + // Tabbing or CTRL-clicking on Drag turns it into an InputText const bool input_requested_by_tabbing = temp_input_allowed && (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_FocusedByTabbing) != 0; - const bool clicked = (hovered && g.IO.MouseClicked[0]); - const bool double_clicked = (hovered && g.IO.MouseClickedCount[0] == 2); - if (input_requested_by_tabbing || clicked || double_clicked || g.NavActivateId == id || g.NavActivateInputId == id) - { - SetActiveID(id, window); - SetFocusID(id, window); - FocusWindow(window); - g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); - if (temp_input_allowed) - if (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || double_clicked || g.NavActivateInputId == id) - temp_input_is_active = true; - } + const bool clicked = hovered && IsMouseClicked(0, id); + const bool double_clicked = (hovered && g.IO.MouseClickedCount[0] == 2 && TestKeyOwner(ImGuiKey_MouseLeft, id)); + const bool make_active = (input_requested_by_tabbing || clicked || double_clicked || g.NavActivateId == id || g.NavActivateInputId == id); + if (make_active && (clicked || double_clicked)) + SetKeyOwner(ImGuiKey_MouseLeft, id); + if (make_active && temp_input_allowed) + if (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || double_clicked || g.NavActivateInputId == id) + temp_input_is_active = true; - // Experimental: simple click (without moving) turns Drag into an InputText + // (Optional) simple click (without moving) turns Drag into an InputText if (g.IO.ConfigDragClickToInputText && temp_input_allowed && !temp_input_is_active) if (g.ActiveId == id && hovered && g.IO.MouseReleased[0] && !IsMouseDragPastThreshold(0, g.IO.MouseDragThreshold * DRAG_MOUSE_THRESHOLD_FACTOR)) { @@ -2448,6 +2366,14 @@ bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, g.NavActivateFlags = ImGuiActivateFlags_PreferInput; temp_input_is_active = true; } + + if (make_active && !temp_input_is_active) + { + SetActiveID(id, window); + SetFocusID(id, window); + FocusWindow(window); + g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); + } } if (temp_input_is_active) @@ -2623,35 +2549,6 @@ bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_ return value_changed; } -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - -// Obsolete versions with power parameter. See https://github.com/ocornut/imgui/issues/3361 for details. -bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power) -{ - ImGuiSliderFlags drag_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - IM_ASSERT(p_min != NULL && p_max != NULL); // When using a power curve the drag needs to have known bounds - drag_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return DragScalar(label, data_type, p_data, v_speed, p_min, p_max, format, drag_flags); -} - -bool ImGui::DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power) -{ - ImGuiSliderFlags drag_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - IM_ASSERT(p_min != NULL && p_max != NULL); // When using a power curve the drag needs to have known bounds - drag_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return DragScalarN(label, data_type, p_data, components, v_speed, p_min, p_max, format, drag_flags); -} - -#endif // IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //------------------------------------------------------------------------- // [SECTION] Widgets: SliderScalar, SliderFloat, SliderInt, etc. //------------------------------------------------------------------------- @@ -2702,7 +2599,6 @@ float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, T v_max_fudged = -logarithmic_zero_epsilon; float result; - if (v_clamped <= v_min_fudged) result = 0.0f; // Workaround for values that are in-range but below our fudge else if (v_clamped >= v_max_fudged) @@ -2726,91 +2622,81 @@ float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, T return flipped ? (1.0f - result) : result; } - - // Linear slider - return (float)((FLOATTYPE)(SIGNEDTYPE)(v_clamped - v_min) / (FLOATTYPE)(SIGNEDTYPE)(v_max - v_min)); + else + { + // Linear slider + return (float)((FLOATTYPE)(SIGNEDTYPE)(v_clamped - v_min) / (FLOATTYPE)(SIGNEDTYPE)(v_max - v_min)); + } } // Convert a parametric position on a slider into a value v in the output space (the logical opposite of ScaleRatioFromValueT) template TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { - if (v_min == v_max) + // We special-case the extents because otherwise our logarithmic fudging can lead to "mathematically correct" + // but non-intuitive behaviors like a fully-left slider not actually reaching the minimum value. Also generally simpler. + if (t <= 0.0f || v_min == v_max) return v_min; - const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + if (t >= 1.0f) + return v_max; - TYPE result; + TYPE result = (TYPE)0; if (is_logarithmic) { - // We special-case the extents because otherwise our fudging can lead to "mathematically correct" but non-intuitive behaviors like a fully-left slider not actually reaching the minimum value - if (t <= 0.0f) - result = v_min; - else if (t >= 1.0f) - result = v_max; - else + // Fudge min/max to avoid getting silly results close to zero + FLOATTYPE v_min_fudged = (ImAbs((FLOATTYPE)v_min) < logarithmic_zero_epsilon) ? ((v_min < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_min; + FLOATTYPE v_max_fudged = (ImAbs((FLOATTYPE)v_max) < logarithmic_zero_epsilon) ? ((v_max < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_max; + + const bool flipped = v_max < v_min; // Check if range is "backwards" + if (flipped) + ImSwap(v_min_fudged, v_max_fudged); + + // Awkward special case - we need ranges of the form (-100 .. 0) to convert to (-100 .. -epsilon), not (-100 .. epsilon) + if ((v_max == 0.0f) && (v_min < 0.0f)) + v_max_fudged = -logarithmic_zero_epsilon; + + float t_with_flip = flipped ? (1.0f - t) : t; // t, but flipped if necessary to account for us flipping the range + + if ((v_min * v_max) < 0.0f) // Range crosses zero, so we have to do this in two parts { - bool flipped = v_max < v_min; // Check if range is "backwards" - - // Fudge min/max to avoid getting silly results close to zero - FLOATTYPE v_min_fudged = (ImAbs((FLOATTYPE)v_min) < logarithmic_zero_epsilon) ? ((v_min < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_min; - FLOATTYPE v_max_fudged = (ImAbs((FLOATTYPE)v_max) < logarithmic_zero_epsilon) ? ((v_max < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_max; - - if (flipped) - ImSwap(v_min_fudged, v_max_fudged); - - // Awkward special case - we need ranges of the form (-100 .. 0) to convert to (-100 .. -epsilon), not (-100 .. epsilon) - if ((v_max == 0.0f) && (v_min < 0.0f)) - v_max_fudged = -logarithmic_zero_epsilon; - - float t_with_flip = flipped ? (1.0f - t) : t; // t, but flipped if necessary to account for us flipping the range - - if ((v_min * v_max) < 0.0f) // Range crosses zero, so we have to do this in two parts - { - float zero_point_center = (-(float)ImMin(v_min, v_max)) / ImAbs((float)v_max - (float)v_min); // The zero point in parametric space - float zero_point_snap_L = zero_point_center - zero_deadzone_halfsize; - float zero_point_snap_R = zero_point_center + zero_deadzone_halfsize; - if (t_with_flip >= zero_point_snap_L && t_with_flip <= zero_point_snap_R) - result = (TYPE)0.0f; // Special case to make getting exactly zero possible (the epsilon prevents it otherwise) - else if (t_with_flip < zero_point_center) - result = (TYPE)-(logarithmic_zero_epsilon * ImPow(-v_min_fudged / logarithmic_zero_epsilon, (FLOATTYPE)(1.0f - (t_with_flip / zero_point_snap_L)))); - else - result = (TYPE)(logarithmic_zero_epsilon * ImPow(v_max_fudged / logarithmic_zero_epsilon, (FLOATTYPE)((t_with_flip - zero_point_snap_R) / (1.0f - zero_point_snap_R)))); - } - else if ((v_min < 0.0f) || (v_max < 0.0f)) // Entirely negative slider - result = (TYPE)-(-v_max_fudged * ImPow(-v_min_fudged / -v_max_fudged, (FLOATTYPE)(1.0f - t_with_flip))); + float zero_point_center = (-(float)ImMin(v_min, v_max)) / ImAbs((float)v_max - (float)v_min); // The zero point in parametric space + float zero_point_snap_L = zero_point_center - zero_deadzone_halfsize; + float zero_point_snap_R = zero_point_center + zero_deadzone_halfsize; + if (t_with_flip >= zero_point_snap_L && t_with_flip <= zero_point_snap_R) + result = (TYPE)0.0f; // Special case to make getting exactly zero possible (the epsilon prevents it otherwise) + else if (t_with_flip < zero_point_center) + result = (TYPE)-(logarithmic_zero_epsilon * ImPow(-v_min_fudged / logarithmic_zero_epsilon, (FLOATTYPE)(1.0f - (t_with_flip / zero_point_snap_L)))); else - result = (TYPE)(v_min_fudged * ImPow(v_max_fudged / v_min_fudged, (FLOATTYPE)t_with_flip)); + result = (TYPE)(logarithmic_zero_epsilon * ImPow(v_max_fudged / logarithmic_zero_epsilon, (FLOATTYPE)((t_with_flip - zero_point_snap_R) / (1.0f - zero_point_snap_R)))); } + else if ((v_min < 0.0f) || (v_max < 0.0f)) // Entirely negative slider + result = (TYPE)-(-v_max_fudged * ImPow(-v_min_fudged / -v_max_fudged, (FLOATTYPE)(1.0f - t_with_flip))); + else + result = (TYPE)(v_min_fudged * ImPow(v_max_fudged / v_min_fudged, (FLOATTYPE)t_with_flip)); } else { // Linear slider + const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); if (is_floating_point) { result = ImLerp(v_min, v_max, t); } - else + else if (t < 1.0) { // - For integer values we want the clicking position to match the grab box so we round above // This code is carefully tuned to work with large values (e.g. high ranges of U64) while preserving this property.. // - Not doing a *1.0 multiply at the end of a range as it tends to be lossy. While absolute aiming at a large s64/u64 // range is going to be imprecise anyway, with this check we at least make the edge values matches expected limits. - if (t < 1.0) - { - FLOATTYPE v_new_off_f = (SIGNEDTYPE)(v_max - v_min) * t; - result = (TYPE)((SIGNEDTYPE)v_min + (SIGNEDTYPE)(v_new_off_f + (FLOATTYPE)(v_min > v_max ? -0.5 : 0.5))); - } - else - { - result = v_max; - } + FLOATTYPE v_new_off_f = (SIGNEDTYPE)(v_max - v_min) * t; + result = (TYPE)((SIGNEDTYPE)v_min + (SIGNEDTYPE)(v_new_off_f + (FLOATTYPE)(v_min > v_max ? -0.5 : 0.5))); } } return result; } -// FIXME: Move more of the code into SliderBehavior() +// FIXME: Try to move more of the code into shared SliderBehavior() template bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, TYPE* v, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb) { @@ -2820,13 +2706,14 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_logarithmic = (flags & ImGuiSliderFlags_Logarithmic) != 0; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + const SIGNEDTYPE v_range = (v_min < v_max ? v_max - v_min : v_min - v_max); - const float grab_padding = 2.0f; + // Calculate bounds + const float grab_padding = 2.0f; // FIXME: Should be part of style. const float slider_sz = (bb.Max[axis] - bb.Min[axis]) - grab_padding * 2.0f; float grab_sz = style.GrabMinSize; - SIGNEDTYPE v_range = (v_min < v_max ? v_max - v_min : v_min - v_max); - if (!is_floating_point && v_range >= 0) // v_range < 0 may happen on integer overflows - grab_sz = ImMax((float)(slider_sz / (v_range + 1)), style.GrabMinSize); // For integer sliders: if possible have the grab size represent 1 unit + if (!is_floating_point && v_range >= 0) // v_range < 0 may happen on integer overflows + grab_sz = ImMax((float)(slider_sz / (v_range + 1)), style.GrabMinSize); // For integer sliders: if possible have the grab size represent 1 unit grab_sz = ImMin(grab_sz, slider_sz); const float slider_usable_sz = slider_sz - grab_sz; const float slider_usable_pos_min = bb.Min[axis] + grab_padding + grab_sz * 0.5f; @@ -2857,7 +2744,17 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ else { const float mouse_abs_pos = g.IO.MousePos[axis]; - clicked_t = (slider_usable_sz > 0.0f) ? ImClamp((mouse_abs_pos - slider_usable_pos_min) / slider_usable_sz, 0.0f, 1.0f) : 0.0f; + if (g.ActiveIdIsJustActivated) + { + float grab_t = ScaleRatioFromValueT(data_type, *v, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + if (axis == ImGuiAxis_Y) + grab_t = 1.0f - grab_t; + const float grab_pos = ImLerp(slider_usable_pos_min, slider_usable_pos_max, grab_t); + const bool clicked_around_grab = (mouse_abs_pos >= grab_pos - grab_sz * 0.5f - 1.0f) && (mouse_abs_pos <= grab_pos + grab_sz * 0.5f + 1.0f); // No harm being extra generous here. + g.SliderGrabClickOffset = (clicked_around_grab && is_floating_point) ? mouse_abs_pos - grab_pos : 0.0f; + } + if (slider_usable_sz > 0.0f) + clicked_t = ImSaturate((mouse_abs_pos - g.SliderGrabClickOffset - slider_usable_pos_min) / slider_usable_sz); if (axis == ImGuiAxis_Y) clicked_t = 1.0f - clicked_t; set_new_value = true; @@ -2871,25 +2768,26 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ g.SliderCurrentAccumDirty = false; } - const ImVec2 input_delta2 = GetNavInputAmount2d(ImGuiNavDirSourceFlags_Keyboard | ImGuiNavDirSourceFlags_PadDPad, ImGuiInputReadMode_RepeatFast, 0.0f, 0.0f); - float input_delta = (axis == ImGuiAxis_X) ? input_delta2.x : -input_delta2.y; + float input_delta = (axis == ImGuiAxis_X) ? GetNavTweakPressedAmount(axis) : -GetNavTweakPressedAmount(axis); if (input_delta != 0.0f) { + const bool tweak_slow = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakSlow : ImGuiKey_NavKeyboardTweakSlow); + const bool tweak_fast = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakFast : ImGuiKey_NavKeyboardTweakFast); const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 0; if (decimal_precision > 0) { input_delta /= 100.0f; // Gamepad/keyboard tweak speeds in % of slider bounds - if (IsNavInputDown(ImGuiNavInput_TweakSlow)) + if (tweak_slow) input_delta /= 10.0f; } else { - if ((v_range >= -100.0f && v_range <= 100.0f) || IsNavInputDown(ImGuiNavInput_TweakSlow)) + if ((v_range >= -100.0f && v_range <= 100.0f) || tweak_slow) input_delta = ((input_delta < 0.0f) ? -1.0f : +1.0f) / (float)v_range; // Gamepad/keyboard tweak speeds in integer steps else input_delta /= 100.0f; } - if (IsNavInputDown(ImGuiNavInput_TweakFast)) + if (tweak_fast) input_delta *= 10.0f; g.SliderCurrentAccum += input_delta; @@ -2918,8 +2816,8 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ // Calculate what our "new" clicked_t will be, and thus how far we actually moved the slider, and subtract this from the accumulator TYPE v_new = ScaleValueFromRatioT(data_type, clicked_t, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); - if (!(flags & ImGuiSliderFlags_NoRoundToFormat)) - v_new = RoundScalarWithFormatT(format, data_type, v_new); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_new = RoundScalarWithFormatT(format, data_type, v_new); float new_clicked_t = ScaleRatioFromValueT(data_type, v_new, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); if (delta > 0) @@ -2937,8 +2835,8 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ TYPE v_new = ScaleValueFromRatioT(data_type, clicked_t, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); // Round to user desired precision based on format string - if (!(flags & ImGuiSliderFlags_NoRoundToFormat)) - v_new = RoundScalarWithFormatT(format, data_type, v_new); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_new = RoundScalarWithFormatT(format, data_type, v_new); // Apply result if (*v != v_new) @@ -2977,6 +2875,7 @@ bool ImGui::SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type // Read imgui.cpp "API BREAKING CHANGES" section for 1.78 if you hit this assert. IM_ASSERT((flags == 1 || (flags & ImGuiSliderFlags_InvalidMask_) == 0) && "Invalid ImGuiSliderFlags flag! Has the 'float power' argument been mistakenly cast to flags? Call function with ImGuiSliderFlags_Logarithmic flags instead."); + // Those are the things we can do easily outside the SliderBehaviorT<> template, saves code generation. ImGuiContext& g = *GImGui; if ((g.LastItemData.InFlags & ImGuiItemFlags_ReadOnly) || (flags & ImGuiSliderFlags_ReadOnly)) return false; @@ -3036,24 +2935,27 @@ bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_dat // Default format string when passing NULL if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt; - else if (data_type == ImGuiDataType_S32 && strcmp(format, "%d") != 0) // (FIXME-LEGACY: Patch old "%.0f" format string to use "%d", read function more details.) - format = PatchFormatStringFloatToInt(format); - // Tabbing or CTRL-clicking on Slider turns it into an input box const bool hovered = ItemHoverable(frame_bb, id); bool temp_input_is_active = temp_input_allowed && TempInputIsActive(id); if (!temp_input_is_active) { + // Tabbing or CTRL-clicking on Slider turns it into an input box const bool input_requested_by_tabbing = temp_input_allowed && (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_FocusedByTabbing) != 0; - const bool clicked = (hovered && g.IO.MouseClicked[0]); - if (input_requested_by_tabbing || clicked || g.NavActivateId == id || g.NavActivateInputId == id) + const bool clicked = hovered && IsMouseClicked(0, id); + const bool make_active = (input_requested_by_tabbing || clicked || g.NavActivateId == id || g.NavActivateInputId == id); + if (make_active && clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); + if (make_active && temp_input_allowed) + if (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || g.NavActivateInputId == id) + temp_input_is_active = true; + + if (make_active && !temp_input_is_active) { SetActiveID(id, window); SetFocusID(id, window); FocusWindow(window); g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); - if (temp_input_allowed && (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || g.NavActivateInputId == id)) - temp_input_is_active = true; } } @@ -3200,12 +3102,13 @@ bool ImGui::VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType d // Default format string when passing NULL if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt; - else if (data_type == ImGuiDataType_S32 && strcmp(format, "%d") != 0) // (FIXME-LEGACY: Patch old "%.0f" format string to use "%d", read function more details.) - format = PatchFormatStringFloatToInt(format); const bool hovered = ItemHoverable(frame_bb, id); - if ((hovered && g.IO.MouseClicked[0]) || g.NavActivateId == id || g.NavActivateInputId == id) + const bool clicked = hovered && IsMouseClicked(0, id); + if (clicked || g.NavActivateId == id || g.NavActivateInputId == id) { + if (clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); SetActiveID(id, window); SetFocusID(id, window); FocusWindow(window); @@ -3248,39 +3151,14 @@ bool ImGui::VSliderInt(const char* label, const ImVec2& size, int* v, int v_min, return VSliderScalar(label, size, ImGuiDataType_S32, v, &v_min, &v_max, format, flags); } -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - -// Obsolete versions with power parameter. See https://github.com/ocornut/imgui/issues/3361 for details. -bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power) -{ - ImGuiSliderFlags slider_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - slider_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return SliderScalar(label, data_type, p_data, p_min, p_max, format, slider_flags); -} - -bool ImGui::SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* v_min, const void* v_max, const char* format, float power) -{ - ImGuiSliderFlags slider_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - slider_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return SliderScalarN(label, data_type, v, components, v_min, v_max, format, slider_flags); -} - -#endif // IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //------------------------------------------------------------------------- // [SECTION] Widgets: InputScalar, InputFloat, InputInt, etc. //------------------------------------------------------------------------- // - ImParseFormatFindStart() [Internal] // - ImParseFormatFindEnd() [Internal] // - ImParseFormatTrimDecorations() [Internal] +// - ImParseFormatSanitizeForPrinting() [Internal] +// - ImParseFormatSanitizeForScanning() [Internal] // - ImParseFormatPrecision() [Internal] // - TempInputTextScalar() [Internal] // - InputScalar() @@ -3344,6 +3222,57 @@ const char* ImParseFormatTrimDecorations(const char* fmt, char* buf, size_t buf_ return buf; } +// Sanitize format +// - Zero terminate so extra characters after format (e.g. "%f123") don't confuse atof/atoi +// - stb_sprintf.h supports several new modifiers which format numbers in a way that also makes them incompatible atof/atoi. +void ImParseFormatSanitizeForPrinting(const char* fmt_in, char* fmt_out, size_t fmt_out_size) +{ + const char* fmt_end = ImParseFormatFindEnd(fmt_in); + IM_UNUSED(fmt_out_size); + IM_ASSERT((size_t)(fmt_end - fmt_in + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! + while (fmt_in < fmt_end) + { + char c = *fmt_in++; + if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. + *(fmt_out++) = c; + } + *fmt_out = 0; // Zero-terminate +} + +// - For scanning we need to remove all width and precision fields "%3.7f" -> "%f". BUT don't strip types like "%I64d" which includes digits. ! "%07I64d" -> "%I64d" +const char* ImParseFormatSanitizeForScanning(const char* fmt_in, char* fmt_out, size_t fmt_out_size) +{ + const char* fmt_end = ImParseFormatFindEnd(fmt_in); + const char* fmt_out_begin = fmt_out; + IM_UNUSED(fmt_out_size); + IM_ASSERT((size_t)(fmt_end - fmt_in + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! + bool has_type = false; + while (fmt_in < fmt_end) + { + char c = *fmt_in++; + if (!has_type && ((c >= '0' && c <= '9') || c == '.')) + continue; + has_type |= ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')); // Stop skipping digits + if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. + *(fmt_out++) = c; + } + *fmt_out = 0; // Zero-terminate + return fmt_out_begin; +} + +template +static const char* ImAtoi(const char* src, TYPE* output) +{ + int negative = 0; + if (*src == '-') { negative = 1; src++; } + if (*src == '+') { src++; } + TYPE v = 0; + while (*src >= '0' && *src <= '9') + v = (v * 10) + (*src++ - '0'); + *output = negative ? -v : v; + return src; +} + // Parse display precision back from the display format string // FIXME: This is still used by some navigation code path to infer a minimum tweak step, but we should aim to rework widgets so it isn't needed. int ImParseFormatPrecision(const char* fmt, int default_precision) @@ -3390,13 +3319,19 @@ bool ImGui::TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* return value_changed; } +static inline ImGuiInputTextFlags InputScalar_DefaultCharsFilter(ImGuiDataType data_type, const char* format) +{ + if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) + return ImGuiInputTextFlags_CharsScientific; + const char format_last_char = format[0] ? format[strlen(format) - 1] : 0; + return (format_last_char == 'x' || format_last_char == 'X') ? ImGuiInputTextFlags_CharsHexadecimal : ImGuiInputTextFlags_CharsDecimal; +} + // Note that Drag/Slider functions are only forwarding the min/max values clamping values if the ImGuiSliderFlags_AlwaysClamp flag is set! // This is intended: this way we allow CTRL+Click manual input to set a value out of bounds, for maximum flexibility. // However this may not be ideal for all uses, as some user code may break on out of bound values. bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min, const void* p_clamp_max) { - ImGuiContext& g = *GImGui; - char fmt_buf[32]; char data_buf[32]; format = ImParseFormatTrimDecorations(format, fmt_buf, IM_ARRAYSIZE(fmt_buf)); @@ -3404,7 +3339,8 @@ bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImG ImStrTrimBlanks(data_buf); ImGuiInputTextFlags flags = ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_NoMarkEdited; - flags |= ((data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) ? ImGuiInputTextFlags_CharsScientific : ImGuiInputTextFlags_CharsDecimal); + flags |= InputScalar_DefaultCharsFilter(data_type, format); + bool value_changed = false; if (TempInputText(bb, id, label, data_buf, IM_ARRAYSIZE(data_buf), flags)) { @@ -3414,7 +3350,7 @@ bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImG memcpy(&data_backup, p_data, data_type_size); // Apply new value (or operations) then clamp - DataTypeApplyOpFromText(data_buf, g.InputTextState.InitialTextA.Data, data_type, p_data, NULL); + DataTypeApplyFromText(data_buf, data_type, p_data, format); if (p_clamp_min || p_clamp_max) { if (p_clamp_min && p_clamp_max && DataTypeCompare(data_type, p_clamp_min, p_clamp_max) > 0) @@ -3447,12 +3383,12 @@ bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data char buf[64]; DataTypeFormatString(buf, IM_ARRAYSIZE(buf), data_type, p_data, format); - bool value_changed = false; - if ((flags & (ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsScientific)) == 0) - flags |= ImGuiInputTextFlags_CharsDecimal; - flags |= ImGuiInputTextFlags_AutoSelectAll; - flags |= ImGuiInputTextFlags_NoMarkEdited; // We call MarkItemEdited() ourselves by comparing the actual data rather than the string. + // Testing ActiveId as a minor optimization as filtering is not needed until active + if (g.ActiveId == 0 && (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsScientific)) == 0) + flags |= InputScalar_DefaultCharsFilter(data_type, format); + flags |= ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_NoMarkEdited; // We call MarkItemEdited() ourselves by comparing the actual data rather than the string. + bool value_changed = false; if (p_step != NULL) { const float button_size = GetFrameHeight(); @@ -3461,7 +3397,8 @@ bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data PushID(label); SetNextItemWidth(ImMax(1.0f, CalcItemWidth() - (button_size + style.ItemInnerSpacing.x) * 2)); if (InputText("", buf, IM_ARRAYSIZE(buf), flags)) // PushId(label) + "" gives us the expected ID from outside point of view - value_changed = DataTypeApplyOpFromText(buf, g.InputTextState.InitialTextA.Data, data_type, p_data, format); + value_changed = DataTypeApplyFromText(buf, data_type, p_data, format); + IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags); // Step buttons const ImVec2 backup_frame_padding = style.FramePadding; @@ -3498,7 +3435,7 @@ bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data else { if (InputText(label, buf, IM_ARRAYSIZE(buf), flags)) - value_changed = DataTypeApplyOpFromText(buf, g.InputTextState.InitialTextA.Data, data_type, p_data, format); + value_changed = DataTypeApplyFromText(buf, data_type, p_data, format); } if (value_changed) MarkItemEdited(g.LastItemData.ID); @@ -3596,7 +3533,11 @@ bool ImGui::InputDouble(const char* label, double* v, double step, double step_f // - InputText() // - InputTextWithHint() // - InputTextMultiline() +// - InputTextGetCharInfo() [Internal] +// - InputTextReindexLines() [Internal] +// - InputTextReindexLinesRange() [Internal] // - InputTextEx() [Internal] +// - DebugNodeInputTextState() [Internal] //------------------------------------------------------------------------- bool ImGui::InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) @@ -3612,7 +3553,7 @@ bool ImGui::InputTextMultiline(const char* label, char* buf, size_t buf_size, co bool ImGui::InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) { - IM_ASSERT(!(flags & ImGuiInputTextFlags_Multiline)); // call InputTextMultiline() + IM_ASSERT(!(flags & ImGuiInputTextFlags_Multiline)); // call InputTextMultiline() or InputTextEx() manually if you need multi-line + hint. return InputTextEx(label, hint, buf, (int)buf_size, ImVec2(0, 0), flags, callback, user_data); } @@ -3703,13 +3644,10 @@ static int is_word_boundary_from_right(ImGuiInputTextState* obj, int idx) static int is_word_boundary_from_left(ImGuiInputTextState* obj, int idx) { if (obj->Flags & ImGuiInputTextFlags_Password) return 0; return idx > 0 ? (!is_separator(obj->TextW[idx - 1]) && is_separator(obj->TextW[idx])) : 1; } static int STB_TEXTEDIT_MOVEWORDLEFT_IMPL(ImGuiInputTextState* obj, int idx) { idx--; while (idx >= 0 && !is_word_boundary_from_right(obj, idx)) idx--; return idx < 0 ? 0 : idx; } static int STB_TEXTEDIT_MOVEWORDRIGHT_MAC(ImGuiInputTextState* obj, int idx) { idx++; int len = obj->CurLenW; while (idx < len && !is_word_boundary_from_left(obj, idx)) idx++; return idx > len ? len : idx; } -#define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL // They need to be #define for stb_textedit.h -#ifdef __APPLE__ // FIXME: Move setting to IO structure -#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_MAC -#else static int STB_TEXTEDIT_MOVEWORDRIGHT_WIN(ImGuiInputTextState* obj, int idx) { idx++; int len = obj->CurLenW; while (idx < len && !is_word_boundary_from_right(obj, idx)) idx++; return idx > len ? len : idx; } -#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_WIN -#endif +static int STB_TEXTEDIT_MOVEWORDRIGHT_IMPL(ImGuiInputTextState* obj, int idx) { if (ImGui::GetIO().ConfigMacOSXBehaviors) return STB_TEXTEDIT_MOVEWORDRIGHT_MAC(obj, idx); else return STB_TEXTEDIT_MOVEWORDRIGHT_WIN(obj, idx); } +#define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL // They need to be #define for stb_textedit.h +#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL static void STB_TEXTEDIT_DELETECHARS(ImGuiInputTextState* obj, int pos, int n) { @@ -3787,11 +3725,12 @@ static void stb_textedit_replace(ImGuiInputTextState* str, STB_TexteditState* st { stb_text_makeundo_replace(str, state, 0, str->CurLenW, text_len); ImStb::STB_TEXTEDIT_DELETECHARS(str, 0, str->CurLenW); + state->cursor = state->select_start = state->select_end = 0; if (text_len <= 0) return; if (ImStb::STB_TEXTEDIT_INSERTCHARS(str, 0, text, text_len)) { - state->cursor = text_len; + state->cursor = state->select_start = state->select_end = text_len; state->has_preferred_x = 0; return; } @@ -3876,7 +3815,7 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f if (c < 0x20) { bool pass = false; - pass |= (c == '\n' && (flags & ImGuiInputTextFlags_Multiline)); + pass |= (c == '\n' && (flags & ImGuiInputTextFlags_Multiline)); // Note that an Enter KEY will emit \r and be ignored (we poll for KEY in InputText() code) pass |= (c == '\t' && (flags & ImGuiInputTextFlags_AllowTabInput)); if (!pass) return false; @@ -3910,6 +3849,13 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f ImGuiContext& g = *GImGui; const unsigned c_decimal_point = (unsigned int)g.PlatformLocaleDecimalPoint; + // Full-width -> half-width conversion for numeric fields (https://en.wikipedia.org/wiki/Halfwidth_and_Fullwidth_Forms_(Unicode_block) + // While this is mostly convenient, this has the side-effect for uninformed users accidentally inputting full-width characters that they may + // scratch their head as to why it works in numerical fields vs in generic text fields it would require support in the font. + if (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsScientific | ImGuiInputTextFlags_CharsHexadecimal)) + if (c >= 0xFF01 && c <= 0xFF5E) + c = c - 0xFF01 + 0x21; + // Allow 0-9 . - + * / if (flags & ImGuiInputTextFlags_CharsDecimal) if (!(c >= '0' && c <= '9') && (c != c_decimal_point) && (c != '-') && (c != '+') && (c != '*') && (c != '/')) @@ -3928,11 +3874,13 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f // Turn a-z into A-Z if (flags & ImGuiInputTextFlags_CharsUppercase) if (c >= 'a' && c <= 'z') - *p_char = (c += (unsigned int)('A' - 'a')); + c += (unsigned int)('A' - 'a'); if (flags & ImGuiInputTextFlags_CharsNoBlank) if (ImCharIsBlankW(c)) return false; + + *p_char = c; } // Custom callback filter @@ -3954,6 +3902,41 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f return true; } +// Find the shortest single replacement we can make to get the new text from the old text. +// Important: needs to be run before TextW is rewritten with the new characters because calling STB_TEXTEDIT_GETCHAR() at the end. +// FIXME: Ideally we should transition toward (1) making InsertChars()/DeleteChars() update undo-stack (2) discourage (and keep reconcile) or obsolete (and remove reconcile) accessing buffer directly. +static void InputTextReconcileUndoStateAfterUserCallback(ImGuiInputTextState* state, const char* new_buf_a, int new_length_a) +{ + ImGuiContext& g = *GImGui; + const ImWchar* old_buf = state->TextW.Data; + const int old_length = state->CurLenW; + const int new_length = ImTextCountCharsFromUtf8(new_buf_a, new_buf_a + new_length_a); + g.TempBuffer.reserve_discard((new_length + 1) * sizeof(ImWchar)); + ImWchar* new_buf = (ImWchar*)(void*)g.TempBuffer.Data; + ImTextStrFromUtf8(new_buf, new_length + 1, new_buf_a, new_buf_a + new_length_a); + + const int shorter_length = ImMin(old_length, new_length); + int first_diff; + for (first_diff = 0; first_diff < shorter_length; first_diff++) + if (old_buf[first_diff] != new_buf[first_diff]) + break; + if (first_diff == old_length && first_diff == new_length) + return; + + int old_last_diff = old_length - 1; + int new_last_diff = new_length - 1; + for (; old_last_diff >= first_diff && new_last_diff >= first_diff; old_last_diff--, new_last_diff--) + if (old_buf[old_last_diff] != new_buf[new_last_diff]) + break; + + const int insert_len = new_last_diff - first_diff + 1; + const int delete_len = old_last_diff - first_diff + 1; + if (insert_len > 0 || delete_len > 0) + if (STB_TEXTEDIT_CHARTYPE* p = stb_text_createundo(&state->Stb.undostate, first_diff, delete_len, insert_len)) + for (int i = 0; i < delete_len; i++) + p[i] = ImStb::STB_TEXTEDIT_GETCHAR(state, first_diff + i); +} + // Edit a string of text // - buf_size account for the zero-terminator, so a buf_size of 6 can hold "Hello" but not "Hello!". // This is so we can easily call InputText() on static arrays using ARRAYSIZE() and to match @@ -4074,17 +4057,21 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ state->InitialTextA.resize(buf_len + 1); // UTF-8. we use +1 to make sure that .Data is always pointing to at least an empty string. memcpy(state->InitialTextA.Data, buf, buf_len + 1); + // Preserve cursor position and undo/redo stack if we come back to same widget + // FIXME: Since we reworked this on 2022/06, may want to differenciate recycle_cursor vs recycle_undostate? + bool recycle_state = (state->ID == id && !init_changed_specs); + if (recycle_state && (state->CurLenA != buf_len || (state->TextAIsValid && strncmp(state->TextA.Data, buf, buf_len) != 0))) + recycle_state = false; + // Start edition const char* buf_end = NULL; + state->ID = id; state->TextW.resize(buf_size + 1); // wchar count <= UTF-8 count. we use +1 to make sure that .Data is always pointing to at least an empty string. state->TextA.resize(0); state->TextAIsValid = false; // TextA is not valid yet (we will display buf until then) state->CurLenW = ImTextStrFromUtf8(state->TextW.Data, buf_size, buf, NULL, &buf_end); state->CurLenA = (int)(buf_end - buf); // We can't get the result from ImStrncpy() above because it is not UTF-8 aware. Here we'll cut off malformed UTF-8. - // Preserve cursor position and undo/redo stack if we come back to same widget - // FIXME: For non-readonly widgets we might be able to require that TextAIsValid && TextA == buf ? (untested) and discard undo stack if user buffer has changed. - const bool recycle_state = (state->ID == id && !init_changed_specs); if (recycle_state) { // Recycle existing cursor/selection/undo stack but clamp position @@ -4093,7 +4080,6 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } else { - state->ID = id; state->ScrollX = 0.0f; stb_textedit_initialize_state(&state->Stb, !is_multiline); } @@ -4118,18 +4104,24 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ SetActiveID(id, window); SetFocusID(id, window); FocusWindow(window); - - // Declare our inputs - IM_ASSERT(ImGuiNavInput_COUNT < 32); + } + if (g.ActiveId == id) + { + // Declare some inputs, the other are registered and polled via Shortcut() routing system. + if (user_clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); if (is_multiline || (flags & ImGuiInputTextFlags_CallbackHistory)) g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Up) | (1 << ImGuiDir_Down); - g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel); - g.ActiveIdUsingKeyInputMask |= ((ImU64)1 << ImGuiKey_Home) | ((ImU64)1 << ImGuiKey_End); + SetKeyOwner(ImGuiKey_Home, id); + SetKeyOwner(ImGuiKey_End, id); if (is_multiline) - g.ActiveIdUsingKeyInputMask |= ((ImU64)1 << ImGuiKey_PageUp) | ((ImU64)1 << ImGuiKey_PageDown); - if (flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_AllowTabInput)) // Disable keyboard tabbing out as we will use the \t character. - g.ActiveIdUsingKeyInputMask |= ((ImU64)1 << ImGuiKey_Tab); + { + SetKeyOwner(ImGuiKey_PageUp, id); + SetKeyOwner(ImGuiKey_PageDown, id); + } + if (flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_AllowTabInput)) // Disable keyboard tabbing out as we will use the \t character. + SetKeyOwner(ImGuiKey_Tab, id); } // We have an edge case if ActiveId was set through another widget (e.g. widget being swapped), clear id immediately (don't wait until the end of the function) @@ -4141,10 +4133,10 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ clear_active_id = true; // Lock the decision of whether we are going to take the path displaying the cursor or selection - const bool render_cursor = (g.ActiveId == id) || (state && user_scroll_active); + bool render_cursor = (g.ActiveId == id) || (state && user_scroll_active); bool render_selection = state && (state->HasSelection() || select_all) && (RENDER_SELECTION_WHEN_INACTIVE || render_cursor); bool value_changed = false; - bool enter_pressed = false; + bool validated = false; // When read-only we always use the live data passed to the function // FIXME-OPT: Because our selection/cursor code currently needs the wide text we need to convert it when active, which is not ideal :( @@ -4240,10 +4232,12 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } else if (io.MouseClicked[0] && !state->SelectedAllMouseLock) { - // FIXME: unselect on late click could be done release? if (hovered) { - stb_textedit_click(state, &state->Stb, mouse_x, mouse_y); + if (io.KeyShift) + stb_textedit_drag(state, &state->Stb, mouse_x, mouse_y); + else + stb_textedit_click(state, &state->Stb, mouse_x, mouse_y); state->CursorAnimReset(); } } @@ -4256,16 +4250,15 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ if (state->SelectedAllMouseLock && !io.MouseDown[0]) state->SelectedAllMouseLock = false; - // It is ill-defined whether the backend needs to send a \t character when pressing the TAB keys. - // Win32 and GLFW naturally do it but not SDL. + // We expect backends to emit a Tab key but some also emit a Tab character which we ignore (#2467, #1336) + // (For Tab and Enter: Win32/SFML/Allegro are sending both keys and chars, GLFW and SDL are only sending keys. For Space they all send all threes) const bool ignore_char_inputs = (io.KeyCtrl && !io.KeyAlt) || (is_osx && io.KeySuper); - if ((flags & ImGuiInputTextFlags_AllowTabInput) && IsKeyPressedMap(ImGuiKey_Tab) && !ignore_char_inputs && !io.KeyShift && !is_readonly) - if (!io.InputQueueCharacters.contains('\t')) - { - unsigned int c = '\t'; // Insert TAB - if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard)) - state->OnKeyPressed((int)c); - } + if ((flags & ImGuiInputTextFlags_AllowTabInput) && IsKeyPressed(ImGuiKey_Tab) && !ignore_char_inputs && !io.KeyShift && !is_readonly) + { + unsigned int c = '\t'; // Insert TAB + if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard)) + state->OnKeyPressed((int)c); + } // Process regular text input (before we check for Return because using some IME will effectively send a Return?) // We ignore CTRL inputs, but need to allow ALT+CTRL as some keyboards (e.g. German) use AltGR (which _is_ Alt+Ctrl) to input certain characters. @@ -4276,7 +4269,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ { // Insert character if they pass filtering unsigned int c = (unsigned int)io.InputQueueCharacters[n]; - if (c == '\t' && io.KeyShift) + if (c == '\t') // Skip Tab, see above. continue; if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard)) state->OnKeyPressed((int)c); @@ -4288,45 +4281,46 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } // Process other shortcuts/key-presses - bool cancel_edit = false; + bool revert_edit = false; if (g.ActiveId == id && !g.ActiveIdIsJustActivated && !clear_active_id) { IM_ASSERT(state != NULL); - IM_ASSERT(io.KeyMods == GetMergedKeyModFlags() && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); // We rarely do this check, but if anything let's do it here. const int row_count_per_page = ImMax((int)((inner_size.y - style.FramePadding.y) / g.FontSize), 1); state->Stb.row_count_per_page = row_count_per_page; const int k_mask = (io.KeyShift ? STB_TEXTEDIT_K_SHIFT : 0); const bool is_osx = io.ConfigMacOSXBehaviors; - const bool is_osx_shift_shortcut = is_osx && (io.KeyMods == (ImGuiKeyModFlags_Super | ImGuiKeyModFlags_Shift)); const bool is_wordmove_key_down = is_osx ? io.KeyAlt : io.KeyCtrl; // OS X style: Text editing cursor movement using Alt instead of Ctrl const bool is_startend_key_down = is_osx && io.KeySuper && !io.KeyCtrl && !io.KeyAlt; // OS X style: Line/Text Start and End using Cmd+Arrows instead of Home/End - const bool is_ctrl_key_only = (io.KeyMods == ImGuiKeyModFlags_Ctrl); - const bool is_shift_key_only = (io.KeyMods == ImGuiKeyModFlags_Shift); - const bool is_shortcut_key = g.IO.ConfigMacOSXBehaviors ? (io.KeyMods == ImGuiKeyModFlags_Super) : (io.KeyMods == ImGuiKeyModFlags_Ctrl); - const bool is_cut = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_X)) || (is_shift_key_only && IsKeyPressedMap(ImGuiKey_Delete))) && !is_readonly && !is_password && (!is_multiline || state->HasSelection()); - const bool is_copy = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_C)) || (is_ctrl_key_only && IsKeyPressedMap(ImGuiKey_Insert))) && !is_password && (!is_multiline || state->HasSelection()); - const bool is_paste = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_V)) || (is_shift_key_only && IsKeyPressedMap(ImGuiKey_Insert))) && !is_readonly; - const bool is_undo = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_Z)) && !is_readonly && is_undoable); - const bool is_redo = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_Y)) || (is_osx_shift_shortcut && IsKeyPressedMap(ImGuiKey_Z))) && !is_readonly && is_undoable; + // Using Shortcut() with ImGuiInputFlags_RouteFocused (default policy) to allow routing operations for other code (e.g. calling window trying to use CTRL+A and CTRL+B: formet would be handled by InputText) + // Otherwise we could simply assume that we own the keys as we are active. + const ImGuiInputFlags f_repeat = ImGuiInputFlags_Repeat; + const bool is_cut = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_X, id, f_repeat) || Shortcut(ImGuiMod_Shift | ImGuiKey_Delete, id, f_repeat)) && !is_readonly && !is_password && (!is_multiline || state->HasSelection()); + const bool is_copy = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_C, id) || Shortcut(ImGuiMod_Ctrl | ImGuiKey_Insert, id)) && !is_password && (!is_multiline || state->HasSelection()); + const bool is_paste = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_V, id, f_repeat) || Shortcut(ImGuiMod_Shift | ImGuiKey_Insert, id, f_repeat)) && !is_readonly; + const bool is_undo = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_Z, id, f_repeat)) && !is_readonly && is_undoable; + const bool is_redo = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_Y, id, f_repeat) || (is_osx && Shortcut(ImGuiMod_Shortcut | ImGuiMod_Shift | ImGuiKey_Z, id, f_repeat))) && !is_readonly && is_undoable; + const bool is_select_all = Shortcut(ImGuiMod_Shortcut | ImGuiKey_A, id); // We allow validate/cancel with Nav source (gamepad) to makes it easier to undo an accidental NavInput press with no keyboard wired, but otherwise it isn't very useful. - const bool is_validate_enter = IsKeyPressedMap(ImGuiKey_Enter) || IsKeyPressedMap(ImGuiKey_KeyPadEnter); - const bool is_validate_nav = (IsNavInputTest(ImGuiNavInput_Activate, ImGuiInputReadMode_Pressed) && !IsKeyPressedMap(ImGuiKey_Space)) || IsNavInputTest(ImGuiNavInput_Input, ImGuiInputReadMode_Pressed); - const bool is_cancel = IsKeyPressedMap(ImGuiKey_Escape) || IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed); + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool is_enter_pressed = IsKeyPressed(ImGuiKey_Enter, true) || IsKeyPressed(ImGuiKey_KeypadEnter, true); + const bool is_gamepad_validate = nav_gamepad_active && (IsKeyPressed(ImGuiKey_NavGamepadActivate, false) || IsKeyPressed(ImGuiKey_NavGamepadInput, false)); + const bool is_cancel = Shortcut(ImGuiKey_Escape, id, f_repeat) || (nav_gamepad_active && Shortcut(ImGuiKey_NavGamepadCancel, id, f_repeat)); - if (IsKeyPressedMap(ImGuiKey_LeftArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINESTART : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDLEFT : STB_TEXTEDIT_K_LEFT) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_RightArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINEEND : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDRIGHT : STB_TEXTEDIT_K_RIGHT) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_UpArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTSTART : STB_TEXTEDIT_K_UP) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_DownArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMin(draw_window->Scroll.y + g.FontSize, GetScrollMaxY())); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTEND : STB_TEXTEDIT_K_DOWN) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_PageUp) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGUP | k_mask); scroll_y -= row_count_per_page * g.FontSize; } - else if (IsKeyPressedMap(ImGuiKey_PageDown) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGDOWN | k_mask); scroll_y += row_count_per_page * g.FontSize; } - else if (IsKeyPressedMap(ImGuiKey_Home)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTSTART | k_mask : STB_TEXTEDIT_K_LINESTART | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_End)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTEND | k_mask : STB_TEXTEDIT_K_LINEEND | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_Delete) && !is_readonly && !is_cut) { state->OnKeyPressed(STB_TEXTEDIT_K_DELETE | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_Backspace) && !is_readonly) + // FIXME: Should use more Shortcut() and reduce IsKeyPressed()+SetKeyOwner(), but requires modifiers combination to be taken account of. + if (IsKeyPressed(ImGuiKey_LeftArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINESTART : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDLEFT : STB_TEXTEDIT_K_LEFT) | k_mask); } + else if (IsKeyPressed(ImGuiKey_RightArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINEEND : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDRIGHT : STB_TEXTEDIT_K_RIGHT) | k_mask); } + else if (IsKeyPressed(ImGuiKey_UpArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTSTART : STB_TEXTEDIT_K_UP) | k_mask); } + else if (IsKeyPressed(ImGuiKey_DownArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMin(draw_window->Scroll.y + g.FontSize, GetScrollMaxY())); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTEND : STB_TEXTEDIT_K_DOWN) | k_mask); } + else if (IsKeyPressed(ImGuiKey_PageUp) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGUP | k_mask); scroll_y -= row_count_per_page * g.FontSize; } + else if (IsKeyPressed(ImGuiKey_PageDown) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGDOWN | k_mask); scroll_y += row_count_per_page * g.FontSize; } + else if (IsKeyPressed(ImGuiKey_Home)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTSTART | k_mask : STB_TEXTEDIT_K_LINESTART | k_mask); } + else if (IsKeyPressed(ImGuiKey_End)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTEND | k_mask : STB_TEXTEDIT_K_LINEEND | k_mask); } + else if (IsKeyPressed(ImGuiKey_Delete) && !is_readonly && !is_cut) { state->OnKeyPressed(STB_TEXTEDIT_K_DELETE | k_mask); } + else if (IsKeyPressed(ImGuiKey_Backspace) && !is_readonly) { if (!state->HasSelection()) { @@ -4337,12 +4331,17 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } state->OnKeyPressed(STB_TEXTEDIT_K_BACKSPACE | k_mask); } - else if (is_validate_enter) + else if (is_enter_pressed || is_gamepad_validate) { + // Determine if we turn Enter into a \n character bool ctrl_enter_for_new_line = (flags & ImGuiInputTextFlags_CtrlEnterForNewLine) != 0; - if (!is_multiline || (ctrl_enter_for_new_line && !io.KeyCtrl) || (!ctrl_enter_for_new_line && io.KeyCtrl)) + if (!is_multiline || is_gamepad_validate || (ctrl_enter_for_new_line && !io.KeyCtrl) || (!ctrl_enter_for_new_line && io.KeyCtrl)) { - enter_pressed = clear_active_id = true; + validated = true; + if (io.ConfigInputTextEnterKeepActive && !is_multiline) + state->SelectAll(); // No need to scroll + else + clear_active_id = true; } else if (!is_readonly) { @@ -4351,21 +4350,32 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ state->OnKeyPressed((int)c); } } - else if (is_validate_nav) - { - IM_ASSERT(!is_validate_enter); - enter_pressed = clear_active_id = true; - } else if (is_cancel) { - clear_active_id = cancel_edit = true; + if (flags & ImGuiInputTextFlags_EscapeClearsAll) + { + if (state->CurLenA > 0) + { + revert_edit = true; + } + else + { + render_cursor = render_selection = false; + clear_active_id = true; + } + } + else + { + clear_active_id = revert_edit = true; + render_cursor = render_selection = false; + } } else if (is_undo || is_redo) { state->OnKeyPressed(is_undo ? STB_TEXTEDIT_K_UNDO : STB_TEXTEDIT_K_REDO); state->ClearSelection(); } - else if (is_shortcut_key && IsKeyPressedMap(ImGuiKey_A)) + else if (is_select_all) { state->SelectAll(); state->CursorFollow = true; @@ -4429,11 +4439,19 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ if (g.ActiveId == id) { IM_ASSERT(state != NULL); - if (cancel_edit) + if (revert_edit && !is_readonly) { - // Restore initial value. Only return true if restoring to the initial value changes the current buffer contents. - if (!is_readonly && strcmp(buf, state->InitialTextA.Data) != 0) + if (flags & ImGuiInputTextFlags_EscapeClearsAll) { + // Clear input + apply_new_text = ""; + apply_new_text_length = 0; + STB_TEXTEDIT_CHARTYPE empty_string; + stb_textedit_replace(state, &state->Stb, &empty_string, 0); + } + else if (strcmp(buf, state->InitialTextA.Data) != 0) + { + // Restore initial value. Only return true if restoring to the initial value changes the current buffer contents. // Push records into the undo stack so we can CTRL+Z the revert operation itself apply_new_text = state->InitialTextA.Data; apply_new_text_length = state->InitialTextA.Size - 1; @@ -4447,22 +4465,24 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } } + // Apply ASCII value + if (!is_readonly) + { + state->TextAIsValid = true; + state->TextA.resize(state->TextW.Size * 4 + 1); + ImTextStrToUtf8(state->TextA.Data, state->TextA.Size, state->TextW.Data, NULL); + } + // When using 'ImGuiInputTextFlags_EnterReturnsTrue' as a special case we reapply the live buffer back to the input buffer before clearing ActiveId, even though strictly speaking it wasn't modified on this frame. // If we didn't do that, code like InputInt() with ImGuiInputTextFlags_EnterReturnsTrue would fail. // This also allows the user to use InputText() with ImGuiInputTextFlags_EnterReturnsTrue without maintaining any user-side storage (please note that if you use this property along ImGuiInputTextFlags_CallbackResize you can end up with your temporary string object unnecessarily allocating once a frame, either store your string data, either if you don't then don't use ImGuiInputTextFlags_CallbackResize). - bool apply_edit_back_to_user_buffer = !cancel_edit || (enter_pressed && (flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0); + const bool apply_edit_back_to_user_buffer = !revert_edit || (validated && (flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0); if (apply_edit_back_to_user_buffer) { // Apply new value immediately - copy modified buffer back // Note that as soon as the input box is active, the in-widget value gets priority over any underlying modification of the input buffer // FIXME: We actually always render 'buf' when calling DrawList->AddText, making the comment above incorrect. // FIXME-OPT: CPU waste to do this every time the widget is active, should mark dirty state from the stb_textedit callbacks. - if (!is_readonly) - { - state->TextAIsValid = true; - state->TextA.resize(state->TextW.Size * 4 + 1); - ImTextStrToUtf8(state->TextA.Data, state->TextA.Size, state->TextW.Data, NULL); - } // User callback if ((flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory | ImGuiInputTextFlags_CallbackEdit | ImGuiInputTextFlags_CallbackAlways)) != 0) @@ -4471,18 +4491,18 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ // The reason we specify the usage semantic (Completion/History) is that Completion needs to disable keyboard TABBING at the moment. ImGuiInputTextFlags event_flag = 0; - ImGuiKey event_key = ImGuiKey_COUNT; - if ((flags & ImGuiInputTextFlags_CallbackCompletion) != 0 && IsKeyPressedMap(ImGuiKey_Tab)) + ImGuiKey event_key = ImGuiKey_None; + if ((flags & ImGuiInputTextFlags_CallbackCompletion) != 0 && IsKeyPressed(ImGuiKey_Tab)) { event_flag = ImGuiInputTextFlags_CallbackCompletion; event_key = ImGuiKey_Tab; } - else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressedMap(ImGuiKey_UpArrow)) + else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressed(ImGuiKey_UpArrow)) { event_flag = ImGuiInputTextFlags_CallbackHistory; event_key = ImGuiKey_UpArrow; } - else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressedMap(ImGuiKey_DownArrow)) + else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressed(ImGuiKey_DownArrow)) { event_flag = ImGuiInputTextFlags_CallbackHistory; event_key = ImGuiKey_DownArrow; @@ -4531,9 +4551,11 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ if (callback_data.SelectionEnd != utf8_selection_end || buf_dirty) { state->Stb.select_end = (callback_data.SelectionEnd == callback_data.SelectionStart) ? state->Stb.select_start : ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionEnd); } if (buf_dirty) { + IM_ASSERT((flags & ImGuiInputTextFlags_ReadOnly) == 0); IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain BufTextLen if you change the text! + InputTextReconcileUndoStateAfterUserCallback(state, callback_data.Buf, callback_data.BufTextLen); // FIXME: Move the rest of this block inside function and rename to InputTextReconcileStateAfterUserCallback() ? if (callback_data.BufTextLen > backup_current_text_length && is_resizable) - state->TextW.resize(state->TextW.Size + (callback_data.BufTextLen - backup_current_text_length)); + state->TextW.resize(state->TextW.Size + (callback_data.BufTextLen - backup_current_text_length)); // Worse case scenario resize state->CurLenW = ImTextStrFromUtf8(state->TextW.Data, state->TextW.Size, callback_data.Buf, NULL); state->CurLenA = callback_data.BufTextLen; // Assume correct length and valid UTF-8 from user, saves us an extra strlen() state->CursorAnimReset(); @@ -4548,9 +4570,6 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ apply_new_text_length = state->CurLenA; } } - - // Clear temporary user storage - state->Flags = ImGuiInputTextFlags_None; } // Copy result to user buffer. This can currently only happen when (g.ActiveId == id) @@ -4575,7 +4594,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ apply_new_text_length = ImMin(callback_data.BufTextLen, buf_size - 1); IM_ASSERT(apply_new_text_length <= buf_size); } - //IMGUI_DEBUG_LOG("InputText(\"%s\"): apply_new_text length %d\n", label, apply_new_text_length); + //IMGUI_DEBUG_PRINT("InputText(\"%s\"): apply_new_text length %d\n", label, apply_new_text_length); // If the underlying buffer resize was denied or not carried to the next frame, apply_new_text_length+1 may be >= buf_size. ImStrncpy(buf, apply_new_text, ImMin(apply_new_text_length + 1, buf_size)); @@ -4769,8 +4788,10 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ // Notify OS of text input position for advanced IME (-1 x offset so that Windows IME can cover our cursor. Bit of an extra nicety.) if (!is_readonly) { - g.PlatformImePos = ImVec2(cursor_screen_pos.x - 1, cursor_screen_pos.y - g.FontSize); - g.PlatformImePosViewport = window->Viewport; + g.PlatformImeData.WantVisible = true; + g.PlatformImeData.InputPos = ImVec2(cursor_screen_pos.x - 1.0f, cursor_screen_pos.y - g.FontSize); + g.PlatformImeData.InputLineHeight = g.FontSize; + g.PlatformImeViewport = window->Viewport->ID; } } } @@ -4830,11 +4851,46 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); if ((flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0) - return enter_pressed; + return validated; else return value_changed; } +void ImGui::DebugNodeInputTextState(ImGuiInputTextState* state) +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *GImGui; + ImStb::STB_TexteditState* stb_state = &state->Stb; + ImStb::StbUndoState* undo_state = &stb_state->undostate; + Text("ID: 0x%08X, ActiveID: 0x%08X", state->ID, g.ActiveId); + DebugLocateItemOnHover(state->ID); + Text("CurLenW: %d, CurLenA: %d, Cursor: %d, Selection: %d..%d", state->CurLenA, state->CurLenW, stb_state->cursor, stb_state->select_start, stb_state->select_end); + Text("undo_point: %d, redo_point: %d, undo_char_point: %d, redo_char_point: %d", undo_state->undo_point, undo_state->redo_point, undo_state->undo_char_point, undo_state->redo_char_point); + if (BeginChild("undopoints", ImVec2(0.0f, GetTextLineHeight() * 15), true)) // Visualize undo state + { + PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); + for (int n = 0; n < STB_TEXTEDIT_UNDOSTATECOUNT; n++) + { + ImStb::StbUndoRecord* undo_rec = &undo_state->undo_rec[n]; + const char undo_rec_type = (n < undo_state->undo_point) ? 'u' : (n >= undo_state->redo_point) ? 'r' : ' '; + if (undo_rec_type == ' ') + BeginDisabled(); + char buf[64] = ""; + if (undo_rec_type != ' ' && undo_rec->char_storage != -1) + ImTextStrToUtf8(buf, IM_ARRAYSIZE(buf), undo_state->undo_char + undo_rec->char_storage, undo_state->undo_char + undo_rec->char_storage + undo_rec->insert_length); + Text("%c [%02d] where %03d, insert %03d, delete %03d, char_storage %03d \"%s\"", + undo_rec_type, n, undo_rec->where, undo_rec->insert_length, undo_rec->delete_length, undo_rec->char_storage, buf); + if (undo_rec_type == ' ') + EndDisabled(); + } + PopStyleVar(); + } + EndChild(); +#else + IM_UNUSED(state); +#endif +} + //------------------------------------------------------------------------- // [SECTION] Widgets: ColorEdit, ColorPicker, ColorButton, etc. //------------------------------------------------------------------------- @@ -4984,7 +5040,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]); } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); } } else if ((flags & ImGuiColorEditFlags_DisplayHex) != 0 && (flags & ImGuiColorEditFlags_NoInputs) == 0) @@ -5012,7 +5068,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag IM_UNUSED(r); // Fixes C6031: Return value ignored: 'sscanf'. } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); } ImGuiWindow* picker_active_window = NULL; @@ -5029,32 +5085,37 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag // Store current color and open a picker g.ColorPickerRef = col_v4; OpenPopup("picker"); - SetNextWindowPos(g.LastItemData.Rect.GetBL() + ImVec2(-1, style.ItemSpacing.y)); + SetNextWindowPos(g.LastItemData.Rect.GetBL() + ImVec2(0.0f, style.ItemSpacing.y)); } } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); if (BeginPopup("picker")) { - picker_active_window = g.CurrentWindow; - if (label != label_display_end) + if (g.CurrentWindow->BeginCount == 1) { - TextEx(label, label_display_end); - Spacing(); + picker_active_window = g.CurrentWindow; + if (label != label_display_end) + { + TextEx(label, label_display_end); + Spacing(); + } + ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_PickerMask_ | ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar; + ImGuiColorEditFlags picker_flags = (flags_untouched & picker_flags_to_forward) | ImGuiColorEditFlags_DisplayMask_ | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf; + SetNextItemWidth(square_sz * 12.0f); // Use 256 + bar sizes? + value_changed |= ColorPicker4("##picker", col, picker_flags, &g.ColorPickerRef.x); } - ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_PickerMask_ | ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar; - ImGuiColorEditFlags picker_flags = (flags_untouched & picker_flags_to_forward) | ImGuiColorEditFlags_DisplayMask_ | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf; - SetNextItemWidth(square_sz * 12.0f); // Use 256 + bar sizes? - value_changed |= ColorPicker4("##picker", col, picker_flags, &g.ColorPickerRef.x); EndPopup(); } } if (label != label_display_end && !(flags & ImGuiColorEditFlags_NoLabel)) { - const float text_offset_x = (flags & ImGuiColorEditFlags_NoInputs) ? w_button : w_full + style.ItemInnerSpacing.x; - window->DC.CursorPos = ImVec2(pos.x + text_offset_x, pos.y + style.FramePadding.y); + // Position not necessarily next to last submitted button (e.g. if style.ColorButtonPosition == ImGuiDir_Left), + // but we need to use SameLine() to setup baseline correctly. Might want to refactor SameLine() to simplify this. + SameLine(0.0f, style.ItemInnerSpacing.x); + window->DC.CursorPos.x = pos.x + ((flags & ImGuiColorEditFlags_NoInputs) ? w_button : w_full + style.ItemInnerSpacing.x); TextEx(label, label_display_end); } @@ -5091,7 +5152,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag bool accepted_drag_drop = false; if (const ImGuiPayload* payload = AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F)) { - memcpy((float*)col, payload->Data, sizeof(float) * 3); // Preserve alpha if any //-V512 + memcpy((float*)col, payload->Data, sizeof(float) * 3); // Preserve alpha if any //-V512 //-V1086 value_changed = accepted_drag_drop = true; } if (const ImGuiPayload* payload = AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F)) @@ -5110,7 +5171,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag if (picker_active_window && g.ActiveId != 0 && g.ActiveIdWindow == picker_active_window) g.LastItemData.ID = g.ActiveId; - if (value_changed) + if (value_changed && g.LastItemData.ID != 0) // In case of ID collision, the second EndGroup() won't catch g.ActiveId MarkItemEdited(g.LastItemData.ID); return value_changed; @@ -5247,7 +5308,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl } } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); } else if (flags & ImGuiColorEditFlags_PickerHueBar) { @@ -5264,7 +5325,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl value_changed = value_changed_sv = true; } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); // Hue bar logic SetCursorScreenPos(ImVec2(bar0_pos_x, picker_pos.y)); @@ -5498,7 +5559,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl if (value_changed && memcmp(backup_initial_col, col, components * sizeof(float)) == 0) value_changed = false; - if (value_changed) + if (value_changed && g.LastItemData.ID != 0) // In case of ID collision, the second EndGroup() won't catch g.ActiveId MarkItemEdited(g.LastItemData.ID); PopID(); @@ -5510,7 +5571,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl // FIXME: May want to display/ignore the alpha component in the color display? Yet show it in the tooltip. // 'desc_id' is not called 'label' because we don't display it next to the button, but only in the tooltip. // Note that 'col' may be encoded in HSV if ImGuiColorEditFlags_InputHSV is set. -bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags, ImVec2 size) +bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags, const ImVec2& size_arg) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) @@ -5518,11 +5579,8 @@ bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFl ImGuiContext& g = *GImGui; const ImGuiID id = window->GetID(desc_id); - float default_size = GetFrameHeight(); - if (size.x == 0.0f) - size.x = default_size; - if (size.y == 0.0f) - size.y = default_size; + const float default_size = GetFrameHeight(); + const ImVec2 size(size_arg.x == 0.0f ? default_size : size_arg.x, size_arg.y == 0.0f ? default_size : size_arg.y); const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); ItemSize(bb, (size.y >= default_size) ? g.Style.FramePadding.y : 0.0f); if (!ItemAdd(bb, id)) @@ -5820,9 +5878,9 @@ bool ImGui::TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char if (window->SkipItems) return false; - ImGuiContext& g = *GImGui; - const char* label_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); - return TreeNodeBehavior(window->GetID(str_id), flags, g.TempBuffer, label_end); + const char* label, *label_end; + ImFormatStringToTempBufferV(&label, &label_end, fmt, args); + return TreeNodeBehavior(window->GetID(str_id), flags, label, label_end); } bool ImGui::TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) @@ -5831,12 +5889,19 @@ bool ImGui::TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char if (window->SkipItems) return false; - ImGuiContext& g = *GImGui; - const char* label_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); - return TreeNodeBehavior(window->GetID(ptr_id), flags, g.TempBuffer, label_end); + const char* label, *label_end; + ImFormatStringToTempBufferV(&label, &label_end, fmt, args); + return TreeNodeBehavior(window->GetID(ptr_id), flags, label, label_end); } -bool ImGui::TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags) +void ImGui::TreeNodeSetOpen(ImGuiID id, bool open) +{ + ImGuiContext& g = *GImGui; + ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; + storage->SetInt(id, open ? 1 : 0); +} + +bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags) { if (flags & ImGuiTreeNodeFlags_Leaf) return true; @@ -5852,7 +5917,7 @@ bool ImGui::TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags) if (g.NextItemData.OpenCond & ImGuiCond_Always) { is_open = g.NextItemData.OpenVal; - storage->SetInt(id, is_open); + TreeNodeSetOpen(id, is_open); } else { @@ -5861,7 +5926,7 @@ bool ImGui::TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags) if (stored_value == -1) { is_open = g.NextItemData.OpenVal; - storage->SetInt(id, is_open); + TreeNodeSetOpen(id, is_open); } else { @@ -5927,7 +5992,7 @@ bool ImGui::TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* l // For this purpose we essentially compare if g.NavIdIsAlive went from 0 to 1 between TreeNode() and TreePop(). // This is currently only support 32 level deep and we are fine with (1 << Depth) overflowing into a zero. const bool is_leaf = (flags & ImGuiTreeNodeFlags_Leaf) != 0; - bool is_open = TreeNodeBehaviorIsOpen(id, flags); + bool is_open = TreeNodeUpdateNextOpen(id, flags); if (is_open && !g.NavIdIsAlive && (flags & ImGuiTreeNodeFlags_NavLeftJumpsBackHere) && !(flags & ImGuiTreeNodeFlags_NoTreePushOnOpen)) window->DC.TreeJumpToParentOnPopMask |= (1 << window->DC.TreeDepth); @@ -6270,6 +6335,7 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl // We use NoHoldingActiveID on menus so user can click and _hold_ on a menu then drag to browse child entries ImGuiButtonFlags button_flags = 0; if (flags & ImGuiSelectableFlags_NoHoldingActiveID) { button_flags |= ImGuiButtonFlags_NoHoldingActiveId; } + if (flags & ImGuiSelectableFlags_NoSetKeyOwner) { button_flags |= ImGuiButtonFlags_NoSetKeyOwner; } if (flags & ImGuiSelectableFlags_SelectOnClick) { button_flags |= ImGuiButtonFlags_PressedOnClick; } if (flags & ImGuiSelectableFlags_SelectOnRelease) { button_flags |= ImGuiButtonFlags_PressedOnRelease; } if (flags & ImGuiSelectableFlags_AllowDoubleClick) { button_flags |= ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnDoubleClick; } @@ -6286,7 +6352,7 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl // - (1) it would require focus scope to be set, need exposing PushFocusScope() or equivalent (e.g. BeginSelection() calling PushFocusScope()) // - (2) usage will fail with clipped items // The multi-select API aim to fix those issues, e.g. may be replaced with a BeginSelection() API. - if ((flags & ImGuiSelectableFlags_SelectOnNav) && g.NavJustMovedToId != 0 && g.NavJustMovedToFocusScopeId == window->DC.NavFocusScopeIdCurrent) + if ((flags & ImGuiSelectableFlags_SelectOnNav) && g.NavJustMovedToId != 0 && g.NavJustMovedToFocusScopeId == g.CurrentFocusScopeId) if (g.NavJustMovedToId == id) selected = pressed = true; @@ -6295,7 +6361,7 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl { if (!g.NavDisableMouseHover && g.NavWindow == window && g.NavLayer == window->DC.NavLayerCurrent) { - SetNavID(id, window->DC.NavLayerCurrent, window->DC.NavFocusScopeIdCurrent, WindowRectAbsToRel(window, bb)); // (bb == NavRect) + SetNavID(id, window->DC.NavLayerCurrent, g.CurrentFocusScopeId, WindowRectAbsToRel(window, bb)); // (bb == NavRect) g.NavDisableHighlight = true; } } @@ -6760,6 +6826,7 @@ bool ImGui::BeginMenuBar() // We overwrite CursorMaxPos because BeginGroup sets it to CursorPos (essentially the .EmitItem hack in EndMenuBar() would need something analogous here, maybe a BeginGroupEx() with flags). window->DC.CursorPos = window->DC.CursorMaxPos = ImVec2(bar_rect.Min.x + window->DC.MenuBarOffset.x, bar_rect.Min.y + window->DC.MenuBarOffset.y); window->DC.LayoutType = ImGuiLayoutType_Horizontal; + window->DC.IsSameLine = false; window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; window->DC.MenuBarAppending = true; AlignTextToFramePadding(); @@ -6785,7 +6852,7 @@ void ImGui::EndMenuBar() // To do so we claim focus back, restore NavId and then process the movement request for yet another frame. // This involve a one-frame delay which isn't very problematic in this situation. We could remove it by scoring in advance for multiple window (probably not worth bothering) const ImGuiNavLayer layer = ImGuiNavLayer_Menu; - IM_ASSERT(window->DC.NavLayersActiveMaskNext & (1 << layer)); // Sanity check + IM_ASSERT(window->DC.NavLayersActiveMaskNext & (1 << layer)); // Sanity check (FIXME: Seems unnecessary) FocusWindow(window); SetNavID(window->NavLastIds[layer], layer, 0, window->NavRectRel[layer]); g.NavDisableHighlight = true; // Hide highlight for the current frame so we don't see the intermediary selection. @@ -6803,6 +6870,7 @@ void ImGui::EndMenuBar() g.GroupStack.back().EmitItem = false; EndGroup(); // Restore position on layer 0 window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.IsSameLine = false; window->DC.NavLayerCurrent = ImGuiNavLayer_Main; window->DC.MenuBarAppending = false; } @@ -6890,14 +6958,19 @@ static bool IsRootOfOpenMenuSet() if ((g.OpenPopupStack.Size <= g.BeginPopupStack.Size) || (window->Flags & ImGuiWindowFlags_ChildMenu)) return false; - // Initially we used 'OpenParentId' to differentiate multiple menu sets from each others (e.g. inside menu bar vs loose menu items) based on parent ID. + // Initially we used 'upper_popup->OpenParentId == window->IDStack.back()' to differentiate multiple menu sets from each others + // (e.g. inside menu bar vs loose menu items) based on parent ID. // This would however prevent the use of e.g. PuhsID() user code submitting menus. // Previously this worked between popup and a first child menu because the first child menu always had the _ChildWindow flag, // making hovering on parent popup possible while first child menu was focused - but this was generally a bug with other side effects. // Instead we don't treat Popup specifically (in order to consistently support menu features in them), maybe the first child menu of a Popup - // doesn't have the _ChildWindow flag, and we rely on this IsRootOfOpenMenuSet() check to allow hovering between root window/popup and first chilld menu. + // doesn't have the _ChildWindow flag, and we rely on this IsRootOfOpenMenuSet() check to allow hovering between root window/popup and first child menu. + // In the end, lack of ID check made it so we could no longer differentiate between separate menu sets. To compensate for that, we at least check parent window nav layer. + // This fixes the most common case of menu opening on hover when moving between window content and menu bar. Multiple different menu sets in same nav layer would still + // open on hover, but that should be a lesser problem, because if such menus are close in proximity in window content then it won't feel weird and if they are far apart + // it likely won't be a problem anyone runs into. const ImGuiPopupData* upper_popup = &g.OpenPopupStack[g.BeginPopupStack.Size]; - return (/*upper_popup->OpenParentId == window->IDStack.back() &&*/ upper_popup->Window && (upper_popup->Window->Flags & ImGuiWindowFlags_ChildMenu)); + return (window->DC.NavLayerCurrent == upper_popup->ParentNavLayer && upper_popup->Window && (upper_popup->Window->Flags & ImGuiWindowFlags_ChildMenu)); } bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) @@ -6912,10 +6985,10 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) bool menu_is_open = IsPopupOpen(id, ImGuiPopupFlags_None); // Sub-menus are ChildWindow so that mouse can be hovering across them (otherwise top-most popup menu would steal focus and not allow hovering on parent menu) - // The first menu in a hierarchy isn't so hovering doesn't get accross (otherwise e.g. resizing borders with ImGuiButtonFlags_FlattenChildren would react), but top-most BeginMenu() will bypass that limitation. - ImGuiWindowFlags flags = ImGuiWindowFlags_ChildMenu | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoNavFocus; + // The first menu in a hierarchy isn't so hovering doesn't get across (otherwise e.g. resizing borders with ImGuiButtonFlags_FlattenChildren would react), but top-most BeginMenu() will bypass that limitation. + ImGuiWindowFlags window_flags = ImGuiWindowFlags_ChildMenu | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoNavFocus; if (window->Flags & ImGuiWindowFlags_ChildMenu) - flags |= ImGuiWindowFlags_ChildWindow; + window_flags |= ImGuiWindowFlags_ChildWindow; // If a menu with same the ID was already submitted, we will append to it, matching the behavior of Begin(). // We are relying on a O(N) search - so O(N log N) over the frame - which seems like the most efficient for the expected small amount of BeginMenu() calls per frame. @@ -6923,7 +6996,7 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) if (g.MenusIdSubmittedThisFrame.contains(id)) { if (menu_is_open) - menu_is_open = BeginPopupEx(id, flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + menu_is_open = BeginPopupEx(id, window_flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) else g.NextWindowData.ClearFlags(); // we behave like Begin() and need to consume those values return menu_is_open; @@ -6935,10 +7008,10 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) ImVec2 label_size = CalcTextSize(label, NULL, true); // Odd hack to allow hovering across menus of a same menu-set (otherwise we wouldn't be able to hover parent without always being a Child window) + // This is only done for items for the menu set and not the full parent window. const bool menuset_is_open = IsRootOfOpenMenuSet(); - ImGuiWindow* backed_nav_window = g.NavWindow; if (menuset_is_open) - g.NavWindow = window; + PushItemFlag(ImGuiItemFlags_NoWindowHoverableCheck, true); // The reference position stored in popup_pos will be used by Begin() to find a suitable position for the child menu, // However the final position is going to be different! It is chosen by FindBestWindowPosForPopup(). @@ -6949,6 +7022,9 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) BeginDisabled(); const ImGuiMenuColumns* offsets = &window->DC.MenuColumns; bool pressed; + + // We use ImGuiSelectableFlags_NoSetKeyOwner to allow down on one menu item, move, up on another. + const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_NoSetKeyOwner | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_DontClosePopups; if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) { // Menu inside an horizontal menu bar @@ -6959,7 +7035,7 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(style.ItemSpacing.x * 2.0f, style.ItemSpacing.y)); float w = label_size.x; ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); - pressed = Selectable("", menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_DontClosePopups, ImVec2(w, 0.0f)); + pressed = Selectable("", menu_is_open, selectable_flags, ImVec2(w, 0.0f)); RenderText(text_pos, label); PopStyleVar(); window->DC.CursorPos.x += IM_FLOOR(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar(). @@ -6975,7 +7051,7 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) float min_w = window->DC.MenuColumns.DeclColumns(icon_w, label_size.x, 0.0f, checkmark_w); // Feedback to next frame float extra_w = ImMax(0.0f, GetContentRegionAvail().x - min_w); ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); - pressed = Selectable("", menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_DontClosePopups | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, 0.0f)); + pressed = Selectable("", menu_is_open, selectable_flags | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, 0.0f)); RenderText(text_pos, label); if (icon_w > 0.0f) RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); @@ -6984,9 +7060,9 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) if (!enabled) EndDisabled(); - const bool hovered = (g.HoveredId == id) && enabled; + const bool hovered = (g.HoveredId == id) && enabled && !g.NavDisableMouseHover; if (menuset_is_open) - g.NavWindow = backed_nav_window; + PopItemFlag(); bool want_open = false; bool want_close = false; @@ -6994,29 +7070,37 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) { // Close menu when not hovering it anymore unless we are moving roughly in the direction of the menu // Implement http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown to avoid using timers, so menus feels more reactive. - bool moving_toward_other_child_menu = false; - ImGuiWindow* child_menu_window = (g.BeginPopupStack.Size < g.OpenPopupStack.Size && g.OpenPopupStack[g.BeginPopupStack.Size].SourceWindow == window) ? g.OpenPopupStack[g.BeginPopupStack.Size].Window : NULL; - if (g.HoveredWindow == window && child_menu_window != NULL && !(window->Flags & ImGuiWindowFlags_MenuBar)) + bool moving_toward_child_menu = false; + ImGuiPopupData* child_popup = (g.BeginPopupStack.Size < g.OpenPopupStack.Size) ? &g.OpenPopupStack[g.BeginPopupStack.Size] : NULL; // Popup candidate (testing below) + ImGuiWindow* child_menu_window = (child_popup && child_popup->Window && child_popup->Window->ParentWindow == window) ? child_popup->Window : NULL; + if (g.HoveredWindow == window && child_menu_window != NULL) { float ref_unit = g.FontSize; // FIXME-DPI + float child_dir = (window->Pos.x < child_menu_window->Pos.x) ? 1.0f : -1.0f; ImRect next_window_rect = child_menu_window->Rect(); ImVec2 ta = (g.IO.MousePos - g.IO.MouseDelta); - ImVec2 tb = (window->Pos.x < child_menu_window->Pos.x) ? next_window_rect.GetTL() : next_window_rect.GetTR(); - ImVec2 tc = (window->Pos.x < child_menu_window->Pos.x) ? next_window_rect.GetBL() : next_window_rect.GetBR(); + ImVec2 tb = (child_dir > 0.0f) ? next_window_rect.GetTL() : next_window_rect.GetTR(); + ImVec2 tc = (child_dir > 0.0f) ? next_window_rect.GetBL() : next_window_rect.GetBR(); float extra = ImClamp(ImFabs(ta.x - tb.x) * 0.30f, ref_unit * 0.5f, ref_unit * 2.5f); // add a bit of extra slack. - ta.x += (window->Pos.x < child_menu_window->Pos.x) ? -0.5f : +0.5f; // to avoid numerical issues (FIXME: ??) - tb.y = ta.y + ImMax((tb.y - extra) - ta.y, -ref_unit * 8.0f); // triangle is maximum 200 high to limit the slope and the bias toward large sub-menus // FIXME: Multiply by fb_scale? + ta.x += child_dir * -0.5f; + tb.x += child_dir * ref_unit; + tc.x += child_dir * ref_unit; + tb.y = ta.y + ImMax((tb.y - extra) - ta.y, -ref_unit * 8.0f); // triangle has maximum height to limit the slope and the bias toward large sub-menus tc.y = ta.y + ImMin((tc.y + extra) - ta.y, +ref_unit * 8.0f); - moving_toward_other_child_menu = ImTriangleContainsPoint(ta, tb, tc, g.IO.MousePos); - //GetForegroundDrawList()->AddTriangleFilled(ta, tb, tc, moving_toward_other_child_menu ? IM_COL32(0,128,0,128) : IM_COL32(128,0,0,128)); // [DEBUG] + moving_toward_child_menu = ImTriangleContainsPoint(ta, tb, tc, g.IO.MousePos); + //GetForegroundDrawList()->AddTriangleFilled(ta, tb, tc, moving_toward_child_menu ? IM_COL32(0,128,0,128) : IM_COL32(128,0,0,128)); // [DEBUG] } - if (menu_is_open && !hovered && g.HoveredWindow == window && g.HoveredIdPreviousFrame != 0 && g.HoveredIdPreviousFrame != id && !moving_toward_other_child_menu) + + // The 'HovereWindow == window' check creates an inconsistency (e.g. moving away from menu slowly tends to hit same window, whereas moving away fast does not) + // But we also need to not close the top-menu menu when moving over void. Perhaps we should extend the triangle check to a larger polygon. + // (Remember to test this on BeginPopup("A")->BeginMenu("B") sequence which behaves slightly differently as B isn't a Child of A and hovering isn't shared.) + if (menu_is_open && !hovered && g.HoveredWindow == window && !moving_toward_child_menu && !g.NavDisableMouseHover) want_close = true; // Open if (!menu_is_open && pressed) // Click/activate to open want_open = true; - else if (!menu_is_open && hovered && !moving_toward_other_child_menu) // Hover to open + else if (!menu_is_open && hovered && !moving_toward_child_menu) // Hover to open want_open = true; if (g.NavId == id && g.NavMoveDir == ImGuiDir_Right) // Nav-Right to open { @@ -7051,23 +7135,32 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Openable | (menu_is_open ? ImGuiItemStatusFlags_Opened : 0)); PopID(); - if (!menu_is_open && want_open && g.OpenPopupStack.Size > g.BeginPopupStack.Size) + if (want_open && !menu_is_open && g.OpenPopupStack.Size > g.BeginPopupStack.Size) { - // Don't recycle same menu level in the same frame, first close the other menu and yield for a frame. + // Don't reopen/recycle same menu level in the same frame, first close the other menu and yield for a frame. OpenPopup(label); - return false; } - - menu_is_open |= want_open; - if (want_open) + else if (want_open) + { + menu_is_open = true; OpenPopup(label); + } if (menu_is_open) { - SetNextWindowPos(popup_pos, ImGuiCond_Always); // Note: this is super misleading! The value will serve as reference for FindBestWindowPosForPopup(), not actual pos. + ImGuiLastItemData last_item_in_parent = g.LastItemData; + SetNextWindowPos(popup_pos, ImGuiCond_Always); // Note: misleading: the value will serve as reference for FindBestWindowPosForPopup(), not actual pos. PushStyleVar(ImGuiStyleVar_ChildRounding, style.PopupRounding); // First level will use _PopupRounding, subsequent will use _ChildRounding - menu_is_open = BeginPopupEx(id, flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + menu_is_open = BeginPopupEx(id, window_flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) PopStyleVar(); + if (menu_is_open) + { + // Restore LastItemData so IsItemXXXX functions can work after BeginMenu()/EndMenu() + // (This fixes using IsItemClicked() and IsItemHovered(), but IsItemHovered() also relies on its support for ImGuiItemFlags_NoWindowHoverableCheck) + g.LastItemData = last_item_in_parent; + if (g.HoveredWindow == window) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredWindow; + } } else { @@ -7084,17 +7177,18 @@ bool ImGui::BeginMenu(const char* label, bool enabled) void ImGui::EndMenu() { - // Nav: When a left move request _within our child menu_ failed, close ourselves (the _parent_ menu). - // A menu doesn't close itself because EndMenuBar() wants the catch the last Left<>Right inputs. - // However, it means that with the current code, a BeginMenu() from outside another menu or a menu-bar won't be closable with the Left direction. + // Nav: When a left move request our menu failed, close ourselves. ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - if (g.NavMoveDir == ImGuiDir_Left && NavMoveRequestButNoResultYet() && window->DC.LayoutType == ImGuiLayoutType_Vertical) - if (g.NavWindow && (g.NavWindow->RootWindowForNav->Flags & ImGuiWindowFlags_Popup) && g.NavWindow->RootWindowForNav->ParentWindow == window) - { - ClosePopupToLevel(g.BeginPopupStack.Size, true); - NavMoveRequestCancel(); - } + IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginMenu()/EndMenu() calls + ImGuiWindow* parent_window = window->ParentWindow; // Should always be != NULL is we passed assert. + if (window->BeginCount == window->BeginCountPreviousFrame) + if (g.NavMoveDir == ImGuiDir_Left && NavMoveRequestButNoResultYet()) + if (g.NavWindow && (g.NavWindow->RootWindowForNav == window) && parent_window->DC.LayoutType == ImGuiLayoutType_Vertical) + { + ClosePopupToLevel(g.BeginPopupStack.Size - 1, true); + NavMoveRequestCancel(); + } EndPopup(); } @@ -7110,10 +7204,10 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut ImVec2 pos = window->DC.CursorPos; ImVec2 label_size = CalcTextSize(label, NULL, true); + // See BeginMenuEx() for comments about this. const bool menuset_is_open = IsRootOfOpenMenuSet(); - ImGuiWindow* backed_nav_window = g.NavWindow; if (menuset_is_open) - g.NavWindow = window; + PushItemFlag(ImGuiItemFlags_NoWindowHoverableCheck, true); // We've been using the equivalent of ImGuiSelectableFlags_SetNavIdOnHover on all Selectable() since early Nav system days (commit 43ee5d73), // but I am unsure whether this should be kept at all. For now moved it to be an opt-in feature used by menus only. @@ -7122,7 +7216,8 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut if (!enabled) BeginDisabled(); - const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_SelectOnRelease | ImGuiSelectableFlags_SetNavIdOnHover; + // We use ImGuiSelectableFlags_NoSetKeyOwner to allow down on one menu item, move, up on another. + const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_SelectOnRelease | ImGuiSelectableFlags_NoSetKeyOwner | ImGuiSelectableFlags_SetNavIdOnHover; const ImGuiMenuColumns* offsets = &window->DC.MenuColumns; if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) { @@ -7134,7 +7229,8 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(style.ItemSpacing.x * 2.0f, style.ItemSpacing.y)); pressed = Selectable("", selected, selectable_flags, ImVec2(w, 0.0f)); PopStyleVar(); - RenderText(text_pos, label); + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) + RenderText(text_pos, label); window->DC.CursorPos.x += IM_FLOOR(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar(). } else @@ -7148,24 +7244,27 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut float min_w = window->DC.MenuColumns.DeclColumns(icon_w, label_size.x, shortcut_w, checkmark_w); // Feedback for next frame float stretch_w = ImMax(0.0f, GetContentRegionAvail().x - min_w); pressed = Selectable("", false, selectable_flags | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, 0.0f)); - RenderText(pos + ImVec2(offsets->OffsetLabel, 0.0f), label); - if (icon_w > 0.0f) - RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); - if (shortcut_w > 0.0f) + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) { - PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); - RenderText(pos + ImVec2(offsets->OffsetShortcut + stretch_w, 0.0f), shortcut, NULL, false); - PopStyleColor(); + RenderText(pos + ImVec2(offsets->OffsetLabel, 0.0f), label); + if (icon_w > 0.0f) + RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); + if (shortcut_w > 0.0f) + { + PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); + RenderText(pos + ImVec2(offsets->OffsetShortcut + stretch_w, 0.0f), shortcut, NULL, false); + PopStyleColor(); + } + if (selected) + RenderCheckMark(window->DrawList, pos + ImVec2(offsets->OffsetMark + stretch_w + g.FontSize * 0.40f, g.FontSize * 0.134f * 0.5f), GetColorU32(ImGuiCol_Text), g.FontSize * 0.866f); } - if (selected) - RenderCheckMark(window->DrawList, pos + ImVec2(offsets->OffsetMark + stretch_w + g.FontSize * 0.40f, g.FontSize * 0.134f * 0.5f), GetColorU32(ImGuiCol_Text), g.FontSize * 0.866f); } IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Checkable | (selected ? ImGuiItemStatusFlags_Checked : 0)); if (!enabled) EndDisabled(); PopID(); if (menuset_is_open) - g.NavWindow = backed_nav_window; + PopItemFlag(); return pressed; } @@ -7492,8 +7591,8 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) // Additionally, when using TabBarAddTab() to manipulate tab bar order we occasionally insert new tabs that don't have a width yet, // and we cannot wait for the next BeginTabItem() call. We cannot compute this width within TabBarAddTab() because font size depends on the active window. const char* tab_name = tab_bar->GetTabName(tab); - const bool has_close_button = (tab->Flags & ImGuiTabItemFlags_NoCloseButton) == 0; - tab->ContentWidth = TabItemCalcSize(tab_name, has_close_button).x; + const bool has_close_button_or_unsaved_marker = (tab->Flags & ImGuiTabItemFlags_NoCloseButton) == 0 || (tab->Flags & ImGuiTabItemFlags_UnsavedDocument); + tab->ContentWidth = (tab->RequestedWidth >= 0.0f) ? tab->RequestedWidth : TabItemCalcSize(tab_name, has_close_button_or_unsaved_marker).x; int section_n = TabItemGetSectionIdx(tab); ImGuiTabBarSection* section = §ions[section_n]; @@ -7502,12 +7601,10 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) // Store data so we can build an array sorted by width if we need to shrink tabs down IM_MSVC_WARNING_SUPPRESS(6385); - int shrink_buffer_index = shrink_buffer_indexes[section_n]++; - g.ShrinkWidthBuffer[shrink_buffer_index].Index = tab_n; - g.ShrinkWidthBuffer[shrink_buffer_index].Width = tab->ContentWidth; - - IM_ASSERT(tab->ContentWidth > 0.0f); - tab->Width = tab->ContentWidth; + ImGuiShrinkWidthItem* shrink_width_item = &g.ShrinkWidthBuffer[shrink_buffer_indexes[section_n]++]; + shrink_width_item->Index = tab_n; + shrink_width_item->Width = shrink_width_item->InitialWidth = tab->ContentWidth; + tab->Width = ImMax(tab->ContentWidth, 1.0f); } // Compute total ideal width (used for e.g. auto-resizing a window) @@ -7537,7 +7634,7 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) width_excess = (section_0_w + section_2_w) - tab_bar->BarRect.GetWidth(); // Excess used to shrink leading/trailing section // With ImGuiTabBarFlags_FittingPolicyScroll policy, we will only shrink leading/trailing if the central section is not visible anymore - if (width_excess > 0.0f && ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyResizeDown) || !central_section_is_visible)) + if (width_excess >= 1.0f && ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyResizeDown) || !central_section_is_visible)) { int shrink_data_count = (central_section_is_visible ? sections[1].TabCount : sections[0].TabCount + sections[2].TabCount); int shrink_data_offset = (central_section_is_visible ? sections[0].TabCount + sections[2].TabCount : 0); @@ -7551,6 +7648,7 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) if (shrinked_width < 0.0f) continue; + shrinked_width = ImMax(1.0f, shrinked_width); int section_n = TabItemGetSectionIdx(tab); sections[section_n].Width -= (tab->Width - shrinked_width); tab->Width = shrinked_width; @@ -7594,7 +7692,7 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) // CTRL+TAB can override visible tab temporarily if (g.NavWindowingTarget != NULL && g.NavWindowingTarget->DockNode && g.NavWindowingTarget->DockNode->TabBar == tab_bar) - tab_bar->VisibleTabId = scroll_to_tab_id = g.NavWindowingTarget->ID; + tab_bar->VisibleTabId = scroll_to_tab_id = g.NavWindowingTarget->TabId; // Update scrolling if (scroll_to_tab_id != 0) @@ -7631,7 +7729,7 @@ static ImU32 ImGui::TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label, I { IM_UNUSED(tab_bar); IM_ASSERT(tab_bar->Flags & ImGuiTabBarFlags_DockNode); - ImGuiID id = ImHashStr(label); + ImGuiID id = docked_window->TabId; KeepAliveID(id); return id; } @@ -7676,14 +7774,14 @@ ImGuiTabItem* ImGui::TabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBa void ImGui::TabBarAddTab(ImGuiTabBar* tab_bar, ImGuiTabItemFlags tab_flags, ImGuiWindow* window) { ImGuiContext& g = *GImGui; - IM_ASSERT(TabBarFindTabByID(tab_bar, window->ID) == NULL); + IM_ASSERT(TabBarFindTabByID(tab_bar, window->TabId) == NULL); IM_ASSERT(g.CurrentTabBar != tab_bar); // Can't work while the tab bar is active as our tab doesn't have an X offset yet, in theory we could/should test something like (tab_bar->CurrFrameVisible < g.FrameCount) but we'd need to solve why triggers the commented early-out assert in BeginTabBarEx() (probably dock node going from implicit to explicit in same frame) if (!window->HasCloseButton) tab_flags |= ImGuiTabItemFlags_NoCloseButton; // Set _NoCloseButton immediately because it will be used for first-frame width calculation. ImGuiTabItem new_tab; - new_tab.ID = window->ID; + new_tab.ID = window->TabId; new_tab.Flags = tab_flags; new_tab.LastFrameVisible = tab_bar->CurrFrameVisible; // Required so BeginTabBar() doesn't ditch the tab if (new_tab.LastFrameVisible == -1) @@ -7705,7 +7803,9 @@ void ImGui::TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id) // Called on manual closure attempt void ImGui::TabBarCloseTab(ImGuiTabBar* tab_bar, ImGuiTabItem* tab) { - IM_ASSERT(!(tab->Flags & ImGuiTabItemFlags_Button)); + if (tab->Flags & ImGuiTabItemFlags_Button) + return; // A button appended with TabItemButton(). + if (!(tab->Flags & ImGuiTabItemFlags_UnsavedDocument)) { // This will remove a frame of lag for selecting another tab on closure. @@ -8015,10 +8115,13 @@ bool ImGui::TabItemButton(const char* label, ImGuiTabItemFlags flags) bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags, ImGuiWindow* docked_window) { // Layout whole tab bar if not already done - if (tab_bar->WantLayout) - TabBarLayout(tab_bar); - ImGuiContext& g = *GImGui; + if (tab_bar->WantLayout) + { + ImGuiNextItemData backup_next_item_data = g.NextItemData; + TabBarLayout(tab_bar); + g.NextItemData = backup_next_item_data; + } ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) return false; @@ -8031,7 +8134,7 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); if (p_open && !*p_open) { - ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav | ImGuiItemFlags_NoNavDefaultFocus); + ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav); return false; } @@ -8044,9 +8147,6 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, else if (p_open == NULL) flags |= ImGuiTabItemFlags_NoCloseButton; - // Calculate tab contents size - ImVec2 size = TabItemCalcSize(label, p_open != NULL); - // Acquire tab data ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, id); bool tab_is_new = false; @@ -8055,17 +8155,24 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, tab_bar->Tabs.push_back(ImGuiTabItem()); tab = &tab_bar->Tabs.back(); tab->ID = id; - tab->Width = size.x; - tab_bar->TabsAddedNew = true; - tab_is_new = true; + tab_bar->TabsAddedNew = tab_is_new = true; } tab_bar->LastTabItemIdx = (ImS16)tab_bar->Tabs.index_from_ptr(tab); + + // Calculate tab contents size + ImVec2 size = TabItemCalcSize(label, (p_open != NULL) || (flags & ImGuiTabItemFlags_UnsavedDocument)); + tab->RequestedWidth = -1.0f; + if (g.NextItemData.Flags & ImGuiNextItemDataFlags_HasWidth) + size.x = tab->RequestedWidth = g.NextItemData.Width; + if (tab_is_new) + tab->Width = ImMax(1.0f, size.x); tab->ContentWidth = size.x; tab->BeginOrder = tab_bar->TabsActiveCount++; const bool tab_bar_appearing = (tab_bar->PrevFrameVisible + 1 < g.FrameCount); const bool tab_bar_focused = (tab_bar->Flags & ImGuiTabBarFlags_IsFocused) != 0; const bool tab_appearing = (tab->LastFrameVisible + 1 < g.FrameCount); + const bool tab_just_unsaved = (flags & ImGuiTabItemFlags_UnsavedDocument) && !(tab->Flags & ImGuiTabItemFlags_UnsavedDocument); const bool is_tab_button = (flags & ImGuiTabItemFlags_Button) != 0; tab->LastFrameVisible = g.FrameCount; tab->Flags = flags; @@ -8086,13 +8193,14 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, } // Update selected tab - if (tab_appearing && (tab_bar->Flags & ImGuiTabBarFlags_AutoSelectNewTabs) && tab_bar->NextSelectedTabId == 0) - if (!tab_bar_appearing || tab_bar->SelectedTabId == 0) - if (!is_tab_button) + if (!is_tab_button) + { + if (tab_appearing && (tab_bar->Flags & ImGuiTabBarFlags_AutoSelectNewTabs) && tab_bar->NextSelectedTabId == 0) + if (!tab_bar_appearing || tab_bar->SelectedTabId == 0) tab_bar->NextSelectedTabId = id; // New tabs gets activated - if ((flags & ImGuiTabItemFlags_SetSelected) && (tab_bar->SelectedTabId != id)) // SetSelected can only be passed on explicit tab bar - if (!is_tab_button) + if ((flags & ImGuiTabItemFlags_SetSelected) && (tab_bar->SelectedTabId != id)) // _SetSelected can only be passed on explicit tab bar tab_bar->NextSelectedTabId = id; + } // Lock visibility // (Note: tab_contents_visible != tab_selected... because CTRL+TAB operations may preview some tabs without selecting them!) @@ -8109,7 +8217,7 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, // and then gets submitted again, the tabs will have 'tab_appearing=true' but 'tab_is_new=false'. if (tab_appearing && (!tab_bar_appearing || tab_is_new)) { - ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav | ImGuiItemFlags_NoNavDefaultFocus); + ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav); if (is_tab_button) return false; return tab_contents_visible; @@ -8225,7 +8333,7 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, SetActiveID(g.MovingWindow->MoveId, g.MovingWindow); g.ActiveIdClickOffset -= g.MovingWindow->Pos - bb.Min; g.ActiveIdNoClearOnFocusLoss = true; - SetActiveIdUsingNavAndKeys(); + SetActiveIdUsingAllKeyboardKeys(); } } } @@ -8256,10 +8364,10 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, flags |= ImGuiTabItemFlags_NoCloseWithMiddleMouseButton; // Render tab label, process close button - const ImGuiID close_button_id = p_open ? GetIDWithSeed("#CLOSE", NULL, id) : 0; + const ImGuiID close_button_id = p_open ? GetIDWithSeed("#CLOSE", NULL, docked_window ? docked_window->ID : id) : 0; bool just_closed; bool text_clipped; - TabItemLabelAndCloseButton(display_draw_list, bb, flags, tab_bar->FramePadding, label, id, close_button_id, tab_contents_visible, &just_closed, &text_clipped); + TabItemLabelAndCloseButton(display_draw_list, bb, tab_just_unsaved ? (flags & ~ImGuiTabItemFlags_UnsavedDocument) : flags, tab_bar->FramePadding, label, id, close_button_id, tab_contents_visible, &just_closed, &text_clipped); if (just_closed && p_open != NULL) { *p_open = false; @@ -8281,9 +8389,10 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, // (We test IsItemHovered() to discard e.g. when another item is active or drag and drop over the tab bar, which g.HoveredId ignores) // FIXME: This is a mess. // FIXME: We may want disabled tab to still display the tooltip? - if (text_clipped && g.HoveredId == id && !held && g.HoveredIdNotActiveTimer > g.TooltipSlowDelay && IsItemHovered()) + if (text_clipped && g.HoveredId == id && !held) if (!(tab_bar->Flags & ImGuiTabBarFlags_NoTooltip) && !(tab->Flags & ImGuiTabItemFlags_NoTooltip)) - SetTooltip("%.*s", (int)(FindRenderedTextEnd(label) - label), label); + if (IsItemHovered(ImGuiHoveredFlags_DelayNormal)) + SetTooltip("%.*s", (int)(FindRenderedTextEnd(label) - label), label); IM_ASSERT(!is_tab_button || !(tab_bar->SelectedTabId == tab->ID && is_tab_button)); // TabItemButton should not be selected if (is_tab_button) @@ -8317,18 +8426,23 @@ void ImGui::SetTabItemClosed(const char* label) } } -ImVec2 ImGui::TabItemCalcSize(const char* label, bool has_close_button) +ImVec2 ImGui::TabItemCalcSize(const char* label, bool has_close_button_or_unsaved_marker) { ImGuiContext& g = *GImGui; ImVec2 label_size = CalcTextSize(label, NULL, true); ImVec2 size = ImVec2(label_size.x + g.Style.FramePadding.x, label_size.y + g.Style.FramePadding.y * 2.0f); - if (has_close_button) + if (has_close_button_or_unsaved_marker) size.x += g.Style.FramePadding.x + (g.Style.ItemInnerSpacing.x + g.FontSize); // We use Y intentionally to fit the close button circle. else size.x += g.Style.FramePadding.x + 1.0f; return ImVec2(ImMin(size.x, TabBarCalcMaxTabWidth()), size.y); } +ImVec2 ImGui::TabItemCalcSize(ImGuiWindow* window) +{ + return TabItemCalcSize(window->Name, window->HasCloseButton || (window->Flags & ImGuiWindowFlags_UnsavedDocument)); +} + void ImGui::TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col) { // While rendering tabs, we trim 1 pixel off the top of our bounding box so they can fit within a regular frame height while looking "detached" from it. diff --git a/imgui-sys/third-party/imgui-docking/imgui/imstb_rectpack.h b/imgui-sys/third-party/imgui-docking/imgui/imstb_rectpack.h index 3958952..f6917e7 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imstb_rectpack.h +++ b/imgui-sys/third-party/imgui-docking/imgui/imstb_rectpack.h @@ -1,15 +1,19 @@ // [DEAR IMGUI] -// This is a slightly modified version of stb_rect_pack.h 1.00. -// Those changes would need to be pushed into nothings/stb: -// - Added STBRP__CDECL +// This is a slightly modified version of stb_rect_pack.h 1.01. // Grep for [DEAR IMGUI] to find the changes. - -// stb_rect_pack.h - v1.00 - public domain - rectangle packing +// +// stb_rect_pack.h - v1.01 - public domain - rectangle packing // Sean Barrett 2014 // // Useful for e.g. packing rectangular textures into an atlas. // Does not do rotation. // +// Before #including, +// +// #define STB_RECT_PACK_IMPLEMENTATION +// +// in the file that you want to have the implementation. +// // Not necessarily the awesomest packing method, but better than // the totally naive one in stb_truetype (which is primarily what // this is meant to replace). @@ -41,6 +45,7 @@ // // Version history: // +// 1.01 (2021-07-11) always use large rect mode, expose STBRP__MAXVAL in public section // 1.00 (2019-02-25) avoid small space waste; gracefully fail too-wide rectangles // 0.99 (2019-02-07) warning fixes // 0.11 (2017-03-03) return packing success/fail result @@ -81,11 +86,10 @@ typedef struct stbrp_context stbrp_context; typedef struct stbrp_node stbrp_node; typedef struct stbrp_rect stbrp_rect; -#ifdef STBRP_LARGE_RECTS typedef int stbrp_coord; -#else -typedef unsigned short stbrp_coord; -#endif + +#define STBRP__MAXVAL 0x7fffffff +// Mostly for internal use, but this is the maximum supported coordinate value. STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects); // Assign packed locations to rectangles. The rectangles are of type @@ -213,10 +217,9 @@ struct stbrp_context #define STBRP_ASSERT assert #endif -// [DEAR IMGUI] Added STBRP__CDECL #ifdef _MSC_VER #define STBRP__NOTUSED(v) (void)(v) -#define STBRP__CDECL __cdecl +#define STBRP__CDECL __cdecl #else #define STBRP__NOTUSED(v) (void)sizeof(v) #define STBRP__CDECL @@ -262,9 +265,6 @@ STBRP_DEF void stbrp_setup_allow_out_of_mem(stbrp_context *context, int allow_ou STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes) { int i; -#ifndef STBRP_LARGE_RECTS - STBRP_ASSERT(width <= 0xffff && height <= 0xffff); -#endif for (i=0; i < num_nodes-1; ++i) nodes[i].next = &nodes[i+1]; @@ -283,11 +283,7 @@ STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, context->extra[0].y = 0; context->extra[0].next = &context->extra[1]; context->extra[1].x = (stbrp_coord) width; -#ifdef STBRP_LARGE_RECTS context->extra[1].y = (1<<30); -#else - context->extra[1].y = 65535; -#endif context->extra[1].next = NULL; } @@ -433,7 +429,7 @@ static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context *c, int widt if (y <= best_y) { if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { best_x = xpos; - STBRP_ASSERT(y <= best_y); + //STBRP_ASSERT(y <= best_y); [DEAR IMGUI] best_y = y; best_waste = waste; best = prev; @@ -529,7 +525,6 @@ static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, i return res; } -// [DEAR IMGUI] Added STBRP__CDECL static int STBRP__CDECL rect_height_compare(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; @@ -541,7 +536,6 @@ static int STBRP__CDECL rect_height_compare(const void *a, const void *b) return (p->w > q->w) ? -1 : (p->w < q->w); } -// [DEAR IMGUI] Added STBRP__CDECL static int STBRP__CDECL rect_original_order(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; @@ -549,12 +543,6 @@ static int STBRP__CDECL rect_original_order(const void *a, const void *b) return (p->was_packed < q->was_packed) ? -1 : (p->was_packed > q->was_packed); } -#ifdef STBRP_LARGE_RECTS -#define STBRP__MAXVAL 0xffffffff -#else -#define STBRP__MAXVAL 0xffff -#endif - STBRP_DEF int stbrp_pack_rects(stbrp_context *context, stbrp_rect *rects, int num_rects) { int i, all_rects_packed = 1; diff --git a/imgui-sys/third-party/imgui-docking/imgui/imstb_textedit.h b/imgui-sys/third-party/imgui-docking/imgui/imstb_textedit.h index 2c635b2..75a159d 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imstb_textedit.h +++ b/imgui-sys/third-party/imgui-docking/imgui/imstb_textedit.h @@ -1,10 +1,10 @@ // [DEAR IMGUI] -// This is a slightly modified version of stb_textedit.h 1.13. +// This is a slightly modified version of stb_textedit.h 1.14. // Those changes would need to be pushed into nothings/stb: // - Fix in stb_textedit_discard_redo (see https://github.com/nothings/stb/issues/321) // Grep for [DEAR IMGUI] to find the changes. -// stb_textedit.h - v1.13 - public domain - Sean Barrett +// stb_textedit.h - v1.14 - public domain - Sean Barrett // Development of this library was sponsored by RAD Game Tools // // This C header file implements the guts of a multi-line text-editing @@ -35,6 +35,7 @@ // // VERSION HISTORY // +// 1.14 (2021-07-11) page up/down, various fixes // 1.13 (2019-02-07) fix bug in undo size management // 1.12 (2018-01-29) user can change STB_TEXTEDIT_KEYTYPE, fix redo to avoid crash // 1.11 (2017-03-03) fix HOME on last line, dragging off single-line textfield @@ -58,6 +59,7 @@ // Ulf Winklemann: move-by-word in 1.1 // Fabian Giesen: secondary key inputs in 1.5 // Martins Mozeiko: STB_TEXTEDIT_memmove in 1.6 +// Louis Schnellbach: page up/down in 1.14 // // Bugfixes: // Scott Graham @@ -93,8 +95,8 @@ // moderate sizes. The undo system does no memory allocations, so // it grows STB_TexteditState by the worst-case storage which is (in bytes): // -// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATE_COUNT -// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHAR_COUNT +// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATECOUNT +// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHARCOUNT // // // Implementation mode: @@ -716,10 +718,6 @@ static int stb_textedit_paste_internal(STB_TEXTEDIT_STRING *str, STB_TexteditSta state->has_preferred_x = 0; return 1; } - // [DEAR IMGUI] - //// remove the undo since we didn't actually insert the characters - //if (state->undostate.undo_point) - // --state->undostate.undo_point; // note: paste failure will leave deleted selection, may be restored with an undo (see https://github.com/nothings/stb/issues/734 for details) return 0; } diff --git a/imgui-sys/third-party/imgui-docking/imgui/imstb_truetype.h b/imgui-sys/third-party/imgui-docking/imgui/imstb_truetype.h index 48c2026..643d378 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/imstb_truetype.h +++ b/imgui-sys/third-party/imgui-docking/imgui/imstb_truetype.h @@ -1,10 +1,19 @@ // [DEAR IMGUI] -// This is a slightly modified version of stb_truetype.h 1.20. +// This is a slightly modified version of stb_truetype.h 1.26. // Mostly fixing for compiler and static analyzer warnings. // Grep for [DEAR IMGUI] to find the changes. -// stb_truetype.h - v1.20 - public domain -// authored from 2009-2016 by Sean Barrett / RAD Game Tools +// stb_truetype.h - v1.26 - public domain +// authored from 2009-2021 by Sean Barrett / RAD Game Tools +// +// ======================================================================= +// +// NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES +// +// This library does no range checking of the offsets found in the file, +// meaning an attacker can use it to read arbitrary memory. +// +// ======================================================================= // // This library processes TrueType files: // parse files @@ -37,11 +46,11 @@ // Daniel Ribeiro Maciel // // Bug/warning reports/fixes: -// "Zer" on mollyrocket Fabian "ryg" Giesen -// Cass Everitt Martins Mozeiko -// stoiko (Haemimont Games) Cap Petschulat -// Brian Hook Omar Cornut -// Walter van Niftrik github:aloucks +// "Zer" on mollyrocket Fabian "ryg" Giesen github:NiLuJe +// Cass Everitt Martins Mozeiko github:aloucks +// stoiko (Haemimont Games) Cap Petschulat github:oyvindjam +// Brian Hook Omar Cornut github:vassvik +// Walter van Niftrik Ryan Griege // David Gow Peter LaValle // David Given Sergey Popov // Ivan-Assen Ivanov Giumo X. Clanjor @@ -49,11 +58,17 @@ // Johan Duparc Thomas Fields // Hou Qiming Derek Vinyard // Rob Loach Cort Stratton -// Kenney Phillis Jr. github:oyvindjam -// Brian Costabile github:vassvik +// Kenney Phillis Jr. Brian Costabile +// Ken Voskuil (kaesve) // // VERSION HISTORY // +// 1.26 (2021-08-28) fix broken rasterizer +// 1.25 (2021-07-11) many fixes +// 1.24 (2020-02-05) fix warning +// 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) +// 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined +// 1.21 (2019-02-25) fix warning // 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() // 1.19 (2018-02-11) GPOS kerning, STBTT_fmod // 1.18 (2018-01-29) add missing function @@ -248,19 +263,6 @@ // recommend it. // // -// SOURCE STATISTICS (based on v0.6c, 2050 LOC) -// -// Documentation & header file 520 LOC \___ 660 LOC documentation -// Sample code 140 LOC / -// Truetype parsing 620 LOC ---- 620 LOC TrueType -// Software rasterization 240 LOC \. -// Curve tessellation 120 LOC \__ 550 LOC Bitmap creation -// Bitmap management 100 LOC / -// Baked bitmap interface 70 LOC / -// Font name matching & access 150 LOC ---- 150 -// C runtime library abstraction 60 LOC ---- 60 -// -// // PERFORMANCE MEASUREMENTS FOR 1.06: // // 32-bit 64-bit @@ -275,8 +277,8 @@ //// SAMPLE PROGRAMS //// // -// Incomplete text-in-3d-api example, which draws quads properly aligned to be lossless -// +// Incomplete text-in-3d-api example, which draws quads properly aligned to be lossless. +// See "tests/truetype_demo_win32.c" for a complete version. #if 0 #define STB_TRUETYPE_IMPLEMENTATION // force following include to generate implementation #include "stb_truetype.h" @@ -302,6 +304,8 @@ void my_stbtt_initfont(void) void my_stbtt_print(float x, float y, char *text) { // assume orthographic projection with units = screen pixels, origin at top left + glEnable(GL_BLEND); + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, ftex); glBegin(GL_QUADS); @@ -309,10 +313,10 @@ void my_stbtt_print(float x, float y, char *text) if (*text >= 32 && *text < 128) { stbtt_aligned_quad q; stbtt_GetBakedQuad(cdata, 512,512, *text-32, &x,&y,&q,1);//1=opengl & d3d10+,0=d3d9 - glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y0); - glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y0); - glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y1); - glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y1); + glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y0); + glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y0); + glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y1); + glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y1); } ++text; } @@ -719,7 +723,7 @@ struct stbtt_fontinfo int numGlyphs; // number of glyphs, needed for range checking - int loca,head,glyf,hhea,hmtx,kern,gpos; // table locations as offset from start of .ttf + int loca,head,glyf,hhea,hmtx,kern,gpos,svg; // table locations as offset from start of .ttf int index_map; // a cmap mapping for our chosen character encoding int indexToLocFormat; // format needed to map from glyph index to glyph @@ -802,6 +806,18 @@ STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int glyph1, STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); // as above, but takes one or more glyph indices for greater efficiency +typedef struct stbtt_kerningentry +{ + int glyph1; // use stbtt_FindGlyphIndex + int glyph2; + int advance; +} stbtt_kerningentry; + +STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info); +STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length); +// Retrieves a complete list of all of the kerning pairs provided by the font +// stbtt_GetKerningTable never writes more than table_length entries and returns how many entries it did write. +// The table will be sorted by (a.glyph1 == b.glyph1)?(a.glyph2 < b.glyph2):(a.glyph1 < b.glyph1) ////////////////////////////////////////////////////////////////////////////// // @@ -846,6 +862,12 @@ STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, s STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *vertices); // frees the data allocated above +STBTT_DEF unsigned char *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl); +STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg); +STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg); +// fills svg with the character's SVG data. +// returns data size or 0 if SVG not found. + ////////////////////////////////////////////////////////////////////////////// // // BITMAP RENDERING @@ -1347,6 +1369,22 @@ static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) return stbtt__cff_get_index(&cff); } +// since most people won't use this, find this table the first time it's needed +static int stbtt__get_svg(stbtt_fontinfo *info) +{ + stbtt_uint32 t; + if (info->svg < 0) { + t = stbtt__find_table(info->data, info->fontstart, "SVG "); + if (t) { + stbtt_uint32 offset = ttULONG(info->data + t + 2); + info->svg = t + offset; + } else { + info->svg = 0; + } + } + return info->svg; +} + static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) { stbtt_uint32 cmap, t; @@ -1426,6 +1464,8 @@ static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, in else info->numGlyphs = 0xffff; + info->svg = -1; + // find a cmap encoding table we understand *now* to avoid searching // later. (todo: could make this installable) // the same regardless of glyph. @@ -1509,12 +1549,12 @@ STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codep search += 2; { - stbtt_uint16 offset, start; + stbtt_uint16 offset, start, last; stbtt_uint16 item = (stbtt_uint16) ((search - endCount) >> 1); - STBTT_assert(unicode_codepoint <= ttUSHORT(data + endCount + 2*item)); start = ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item); - if (unicode_codepoint < start) + last = ttUSHORT(data + endCount + 2*item); + if (unicode_codepoint < start || unicode_codepoint > last) return 0; offset = ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item); @@ -1774,7 +1814,7 @@ static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, s } } num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); - } else if (numberOfContours == -1) { + } else if (numberOfContours < 0) { // Compound shapes. int more = 1; stbtt_uint8 *comp = data + g + 10; @@ -1841,7 +1881,7 @@ static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, s if (comp_verts) STBTT_free(comp_verts, info->userdata); return 0; } - if (num_vertices > 0) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); //-V595 + if (num_vertices > 0 && vertices) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); STBTT_memcpy(tmp+num_vertices, comp_verts, comp_num_verts*sizeof(stbtt_vertex)); if (vertices) STBTT_free(vertices, info->userdata); vertices = tmp; @@ -1851,9 +1891,6 @@ static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, s // More components ? more = flags & (1<<5); } - } else if (numberOfContours < 0) { - // @TODO other compound variations? - STBTT_assert(0); } else { // numberOfCounters == 0, do nothing } @@ -2107,7 +2144,7 @@ static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, st subrs = stbtt__cid_get_glyph_subrs(info, glyph_index); has_subrs = 1; } - // fallthrough + // FALLTHROUGH case 0x1D: // callgsubr if (sp < 1) return STBTT__CSERR("call(g|)subr stack"); v = (int) s[--sp]; @@ -2212,7 +2249,7 @@ static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, st } break; default: - if (b0 != 255 && b0 != 28 && (b0 < 32 || b0 > 254)) //-V560 + if (b0 != 255 && b0 != 28 && b0 < 32) return STBTT__CSERR("reserved operator"); // push immediate @@ -2282,7 +2319,49 @@ STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_inde } } -static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) +STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) +{ + stbtt_uint8 *data = info->data + info->kern; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + return ttUSHORT(data+10); +} + +STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) +{ + stbtt_uint8 *data = info->data + info->kern; + int k, length; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + length = ttUSHORT(data+10); + if (table_length < length) + length = table_length; + + for (k = 0; k < length; k++) + { + table[k].glyph1 = ttUSHORT(data+18+(k*6)); + table[k].glyph2 = ttUSHORT(data+20+(k*6)); + table[k].advance = ttSHORT(data+22+(k*6)); + } + + return length; +} + +static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { stbtt_uint8 *data = info->data + info->kern; stbtt_uint32 needle, straw; @@ -2312,245 +2391,225 @@ static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph return 0; } -static stbtt_int32 stbtt__GetCoverageIndex(stbtt_uint8 *coverageTable, int glyph) +static stbtt_int32 stbtt__GetCoverageIndex(stbtt_uint8 *coverageTable, int glyph) { - stbtt_uint16 coverageFormat = ttUSHORT(coverageTable); - switch(coverageFormat) { - case 1: { - stbtt_uint16 glyphCount = ttUSHORT(coverageTable + 2); + stbtt_uint16 coverageFormat = ttUSHORT(coverageTable); + switch (coverageFormat) { + case 1: { + stbtt_uint16 glyphCount = ttUSHORT(coverageTable + 2); - // Binary search. - stbtt_int32 l=0, r=glyphCount-1, m; - int straw, needle=glyph; - while (l <= r) { - stbtt_uint8 *glyphArray = coverageTable + 4; - stbtt_uint16 glyphID; - m = (l + r) >> 1; - glyphID = ttUSHORT(glyphArray + 2 * m); - straw = glyphID; - if (needle < straw) - r = m - 1; - else if (needle > straw) - l = m + 1; - else { - return m; - } + // Binary search. + stbtt_int32 l=0, r=glyphCount-1, m; + int straw, needle=glyph; + while (l <= r) { + stbtt_uint8 *glyphArray = coverageTable + 4; + stbtt_uint16 glyphID; + m = (l + r) >> 1; + glyphID = ttUSHORT(glyphArray + 2 * m); + straw = glyphID; + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else { + return m; } - } break; + } + break; + } - case 2: { - stbtt_uint16 rangeCount = ttUSHORT(coverageTable + 2); - stbtt_uint8 *rangeArray = coverageTable + 4; + case 2: { + stbtt_uint16 rangeCount = ttUSHORT(coverageTable + 2); + stbtt_uint8 *rangeArray = coverageTable + 4; - // Binary search. - stbtt_int32 l=0, r=rangeCount-1, m; - int strawStart, strawEnd, needle=glyph; - while (l <= r) { - stbtt_uint8 *rangeRecord; - m = (l + r) >> 1; - rangeRecord = rangeArray + 6 * m; - strawStart = ttUSHORT(rangeRecord); - strawEnd = ttUSHORT(rangeRecord + 2); - if (needle < strawStart) - r = m - 1; - else if (needle > strawEnd) - l = m + 1; - else { - stbtt_uint16 startCoverageIndex = ttUSHORT(rangeRecord + 4); - return startCoverageIndex + glyph - strawStart; - } + // Binary search. + stbtt_int32 l=0, r=rangeCount-1, m; + int strawStart, strawEnd, needle=glyph; + while (l <= r) { + stbtt_uint8 *rangeRecord; + m = (l + r) >> 1; + rangeRecord = rangeArray + 6 * m; + strawStart = ttUSHORT(rangeRecord); + strawEnd = ttUSHORT(rangeRecord + 2); + if (needle < strawStart) + r = m - 1; + else if (needle > strawEnd) + l = m + 1; + else { + stbtt_uint16 startCoverageIndex = ttUSHORT(rangeRecord + 4); + return startCoverageIndex + glyph - strawStart; } - } break; + } + break; + } - default: { - // There are no other cases. - STBTT_assert(0); - } break; - } + default: return -1; // unsupported + } - return -1; + return -1; } static stbtt_int32 stbtt__GetGlyphClass(stbtt_uint8 *classDefTable, int glyph) { - stbtt_uint16 classDefFormat = ttUSHORT(classDefTable); - switch(classDefFormat) - { - case 1: { - stbtt_uint16 startGlyphID = ttUSHORT(classDefTable + 2); - stbtt_uint16 glyphCount = ttUSHORT(classDefTable + 4); - stbtt_uint8 *classDef1ValueArray = classDefTable + 6; + stbtt_uint16 classDefFormat = ttUSHORT(classDefTable); + switch (classDefFormat) + { + case 1: { + stbtt_uint16 startGlyphID = ttUSHORT(classDefTable + 2); + stbtt_uint16 glyphCount = ttUSHORT(classDefTable + 4); + stbtt_uint8 *classDef1ValueArray = classDefTable + 6; - if (glyph >= startGlyphID && glyph < startGlyphID + glyphCount) - return (stbtt_int32)ttUSHORT(classDef1ValueArray + 2 * (glyph - startGlyphID)); + if (glyph >= startGlyphID && glyph < startGlyphID + glyphCount) + return (stbtt_int32)ttUSHORT(classDef1ValueArray + 2 * (glyph - startGlyphID)); + break; + } - // [DEAR IMGUI] Commented to fix static analyzer warning - //classDefTable = classDef1ValueArray + 2 * glyphCount; - } break; + case 2: { + stbtt_uint16 classRangeCount = ttUSHORT(classDefTable + 2); + stbtt_uint8 *classRangeRecords = classDefTable + 4; - case 2: { - stbtt_uint16 classRangeCount = ttUSHORT(classDefTable + 2); - stbtt_uint8 *classRangeRecords = classDefTable + 4; + // Binary search. + stbtt_int32 l=0, r=classRangeCount-1, m; + int strawStart, strawEnd, needle=glyph; + while (l <= r) { + stbtt_uint8 *classRangeRecord; + m = (l + r) >> 1; + classRangeRecord = classRangeRecords + 6 * m; + strawStart = ttUSHORT(classRangeRecord); + strawEnd = ttUSHORT(classRangeRecord + 2); + if (needle < strawStart) + r = m - 1; + else if (needle > strawEnd) + l = m + 1; + else + return (stbtt_int32)ttUSHORT(classRangeRecord + 4); + } + break; + } - // Binary search. - stbtt_int32 l=0, r=classRangeCount-1, m; - int strawStart, strawEnd, needle=glyph; - while (l <= r) { - stbtt_uint8 *classRangeRecord; - m = (l + r) >> 1; - classRangeRecord = classRangeRecords + 6 * m; - strawStart = ttUSHORT(classRangeRecord); - strawEnd = ttUSHORT(classRangeRecord + 2); - if (needle < strawStart) - r = m - 1; - else if (needle > strawEnd) - l = m + 1; - else - return (stbtt_int32)ttUSHORT(classRangeRecord + 4); - } + default: + return -1; // Unsupported definition type, return an error. + } - // [DEAR IMGUI] Commented to fix static analyzer warning - //classDefTable = classRangeRecords + 6 * classRangeCount; - } break; - - default: { - // There are no other cases. - STBTT_assert(0); - } break; - } - - return -1; + // "All glyphs not assigned to a class fall into class 0". (OpenType spec) + return 0; } // Define to STBTT_assert(x) if you want to break on unimplemented formats. #define STBTT_GPOS_TODO_assert(x) -static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) +static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { - stbtt_uint16 lookupListOffset; - stbtt_uint8 *lookupList; - stbtt_uint16 lookupCount; - stbtt_uint8 *data; - stbtt_int32 i; + stbtt_uint16 lookupListOffset; + stbtt_uint8 *lookupList; + stbtt_uint16 lookupCount; + stbtt_uint8 *data; + stbtt_int32 i, sti; - if (!info->gpos) return 0; + if (!info->gpos) return 0; - data = info->data + info->gpos; + data = info->data + info->gpos; - if (ttUSHORT(data+0) != 1) return 0; // Major version 1 - if (ttUSHORT(data+2) != 0) return 0; // Minor version 0 + if (ttUSHORT(data+0) != 1) return 0; // Major version 1 + if (ttUSHORT(data+2) != 0) return 0; // Minor version 0 - lookupListOffset = ttUSHORT(data+8); - lookupList = data + lookupListOffset; - lookupCount = ttUSHORT(lookupList); + lookupListOffset = ttUSHORT(data+8); + lookupList = data + lookupListOffset; + lookupCount = ttUSHORT(lookupList); - for (i=0; i= pairSetCount) return 0; - // Binary search. - while (l <= r) { - stbtt_uint16 secondGlyph; - stbtt_uint8 *pairValue; - m = (l + r) >> 1; - pairValue = pairValueArray + (2 + valueRecordPairSizeInBytes) * m; - secondGlyph = ttUSHORT(pairValue); - straw = secondGlyph; - if (needle < straw) - r = m - 1; - else if (needle > straw) - l = m + 1; - else { - stbtt_int16 xAdvance = ttSHORT(pairValue + 2); - return xAdvance; - } - } - } break; + needle=glyph2; + r=pairValueCount-1; + l=0; - case 2: { - stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); - stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); + // Binary search. + while (l <= r) { + stbtt_uint16 secondGlyph; + stbtt_uint8 *pairValue; + m = (l + r) >> 1; + pairValue = pairValueArray + (2 + valueRecordPairSizeInBytes) * m; + secondGlyph = ttUSHORT(pairValue); + straw = secondGlyph; + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else { + stbtt_int16 xAdvance = ttSHORT(pairValue + 2); + return xAdvance; + } + } + } else + return 0; + break; + } - stbtt_uint16 classDef1Offset = ttUSHORT(table + 8); - stbtt_uint16 classDef2Offset = ttUSHORT(table + 10); - int glyph1class = stbtt__GetGlyphClass(table + classDef1Offset, glyph1); - int glyph2class = stbtt__GetGlyphClass(table + classDef2Offset, glyph2); + case 2: { + stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); + stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); + if (valueFormat1 == 4 && valueFormat2 == 0) { // Support more formats? + stbtt_uint16 classDef1Offset = ttUSHORT(table + 8); + stbtt_uint16 classDef2Offset = ttUSHORT(table + 10); + int glyph1class = stbtt__GetGlyphClass(table + classDef1Offset, glyph1); + int glyph2class = stbtt__GetGlyphClass(table + classDef2Offset, glyph2); - stbtt_uint16 class1Count = ttUSHORT(table + 12); - stbtt_uint16 class2Count = ttUSHORT(table + 14); - STBTT_assert(glyph1class < class1Count); - STBTT_assert(glyph2class < class2Count); + stbtt_uint16 class1Count = ttUSHORT(table + 12); + stbtt_uint16 class2Count = ttUSHORT(table + 14); + stbtt_uint8 *class1Records, *class2Records; + stbtt_int16 xAdvance; - // TODO: Support more formats. - STBTT_GPOS_TODO_assert(valueFormat1 == 4); - if (valueFormat1 != 4) return 0; - STBTT_GPOS_TODO_assert(valueFormat2 == 0); - if (valueFormat2 != 0) return 0; + if (glyph1class < 0 || glyph1class >= class1Count) return 0; // malformed + if (glyph2class < 0 || glyph2class >= class2Count) return 0; // malformed - if (glyph1class >= 0 && glyph1class < class1Count && glyph2class >= 0 && glyph2class < class2Count) { - stbtt_uint8 *class1Records = table + 16; - stbtt_uint8 *class2Records = class1Records + 2 * (glyph1class * class2Count); - stbtt_int16 xAdvance = ttSHORT(class2Records + 2 * glyph2class); - return xAdvance; - } - } break; - - default: { - // There are no other cases. - STBTT_assert(0); - break; - } // [DEAR IMGUI] removed ; - } - } - break; - } // [DEAR IMGUI] removed ; + class1Records = table + 16; + class2Records = class1Records + 2 * (glyph1class * class2Count); + xAdvance = ttSHORT(class2Records + 2 * glyph2class); + return xAdvance; + } else + return 0; + break; + } default: - // TODO: Implement other stuff. - break; - } - } + return 0; // Unsupported position format + } + } + } - return 0; + return 0; } STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int g2) @@ -2559,8 +2618,7 @@ STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int if (info->gpos) xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2); - - if (info->kern) + else if (info->kern) xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2); return xAdvance; @@ -2621,6 +2679,45 @@ STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) STBTT_free(v, info->userdata); } +STBTT_DEF stbtt_uint8 *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl) +{ + int i; + stbtt_uint8 *data = info->data; + stbtt_uint8 *svg_doc_list = data + stbtt__get_svg((stbtt_fontinfo *) info); + + int numEntries = ttUSHORT(svg_doc_list); + stbtt_uint8 *svg_docs = svg_doc_list + 2; + + for(i=0; i= ttUSHORT(svg_doc)) && (gl <= ttUSHORT(svg_doc + 2))) + return svg_doc; + } + return 0; +} + +STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg) +{ + stbtt_uint8 *data = info->data; + stbtt_uint8 *svg_doc; + + if (info->svg == 0) + return 0; + + svg_doc = stbtt_FindSVGDoc(info, gl); + if (svg_doc != NULL) { + *svg = (char *) data + info->svg + ttULONG(svg_doc + 4); + return ttULONG(svg_doc + 8); + } else { + return 0; + } +} + +STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) +{ + return stbtt_GetGlyphSVG(info, stbtt_FindGlyphIndex(info, unicode_codepoint), svg); +} + ////////////////////////////////////////////////////////////////////////////// // // antialiasing software rasterizer @@ -2970,6 +3067,23 @@ static void stbtt__handle_clipped_edge(float *scanline, int x, stbtt__active_edg } } +static float stbtt__sized_trapezoid_area(float height, float top_width, float bottom_width) +{ + STBTT_assert(top_width >= 0); + STBTT_assert(bottom_width >= 0); + return (top_width + bottom_width) / 2.0f * height; +} + +static float stbtt__position_trapezoid_area(float height, float tx0, float tx1, float bx0, float bx1) +{ + return stbtt__sized_trapezoid_area(height, tx1 - tx0, bx1 - bx0); +} + +static float stbtt__sized_triangle_area(float height, float width) +{ + return height * width / 2; +} + static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) { float y_bottom = y_top+1; @@ -3024,13 +3138,13 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, float height; // simple case, only spans one pixel int x = (int) x_top; - height = sy1 - sy0; + height = (sy1 - sy0) * e->direction; STBTT_assert(x >= 0 && x < len); - scanline[x] += e->direction * (1-((x_top - x) + (x_bottom-x))/2) * height; - scanline_fill[x] += e->direction * height; // everything right of this pixel is filled + scanline[x] += stbtt__position_trapezoid_area(height, x_top, x+1.0f, x_bottom, x+1.0f); + scanline_fill[x] += height; // everything right of this pixel is filled } else { int x,x1,x2; - float y_crossing, step, sign, area; + float y_crossing, y_final, step, sign, area; // covers 2+ pixels if (x_top > x_bottom) { // flip scanline vertically; signed area is the same @@ -3042,32 +3156,83 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, dx = -dx; dy = -dy; t = x0, x0 = xb, xb = t; - // [DEAR IMGUI] Fix static analyzer warning - (void)dx; // [ImGui: fix static analyzer warning] } + STBTT_assert(dy >= 0); + STBTT_assert(dx >= 0); x1 = (int) x_top; x2 = (int) x_bottom; // compute intersection with y axis at x1+1 - y_crossing = (x1+1 - x0) * dy + y_top; + y_crossing = y_top + dy * (x1+1 - x0); + + // compute intersection with y axis at x2 + y_final = y_top + dy * (x2 - x0); + + // x1 x_top x2 x_bottom + // y_top +------|-----+------------+------------+--------|---+------------+ + // | | | | | | + // | | | | | | + // sy0 | Txxxxx|............|............|............|............| + // y_crossing | *xxxxx.......|............|............|............| + // | | xxxxx..|............|............|............| + // | | /- xx*xxxx........|............|............| + // | | dy < | xxxxxx..|............|............| + // y_final | | \- | xx*xxx.........|............| + // sy1 | | | | xxxxxB...|............| + // | | | | | | + // | | | | | | + // y_bottom +------------+------------+------------+------------+------------+ + // + // goal is to measure the area covered by '.' in each pixel + + // if x2 is right at the right edge of x1, y_crossing can blow up, github #1057 + // @TODO: maybe test against sy1 rather than y_bottom? + if (y_crossing > y_bottom) + y_crossing = y_bottom; sign = e->direction; - // area of the rectangle covered from y0..y_crossing - area = sign * (y_crossing-sy0); - // area of the triangle (x_top,y0), (x+1,y0), (x+1,y_crossing) - scanline[x1] += area * (1-((x_top - x1)+(x1+1-x1))/2); - step = sign * dy; + // area of the rectangle covered from sy0..y_crossing + area = sign * (y_crossing-sy0); + + // area of the triangle (x_top,sy0), (x1+1,sy0), (x1+1,y_crossing) + scanline[x1] += stbtt__sized_triangle_area(area, x1+1 - x_top); + + // check if final y_crossing is blown up; no test case for this + if (y_final > y_bottom) { + int denom = (x2 - (x1+1)); + y_final = y_bottom; + if (denom != 0) { // [DEAR IMGUI] Avoid div by zero (https://github.com/nothings/stb/issues/1316) + dy = (y_final - y_crossing ) / denom; // if denom=0, y_final = y_crossing, so y_final <= y_bottom + } + } + + // in second pixel, area covered by line segment found in first pixel + // is always a rectangle 1 wide * the height of that line segment; this + // is exactly what the variable 'area' stores. it also gets a contribution + // from the line segment within it. the THIRD pixel will get the first + // pixel's rectangle contribution, the second pixel's rectangle contribution, + // and its own contribution. the 'own contribution' is the same in every pixel except + // the leftmost and rightmost, a trapezoid that slides down in each pixel. + // the second pixel's contribution to the third pixel will be the + // rectangle 1 wide times the height change in the second pixel, which is dy. + + step = sign * dy * 1; // dy is dy/dx, change in y for every 1 change in x, + // which multiplied by 1-pixel-width is how much pixel area changes for each step in x + // so the area advances by 'step' every time + for (x = x1+1; x < x2; ++x) { - scanline[x] += area + step/2; + scanline[x] += area + step/2; // area of trapezoid is 1*step/2 area += step; } - y_crossing += dy * (x2 - (x1+1)); + STBTT_assert(STBTT_fabs(area) <= 1.01f); // accumulated error from area += step unless we round step down + STBTT_assert(sy1 > y_final-0.01f); - STBTT_assert(STBTT_fabs(area) <= 1.01f); - - scanline[x2] += area + sign * (1-((x2-x2)+(x_bottom-x2))/2) * (sy1-y_crossing); + // area covered in the last pixel is the rectangle from all the pixels to the left, + // plus the trapezoid filled by the line segment in this pixel all the way to the right edge + scanline[x2] += area + sign * stbtt__position_trapezoid_area(sy1-y_final, (float) x2, x2+1.0f, x_bottom, x2+1.0f); + // the rest of the line is filled based on the total height of the line segment in this pixel scanline_fill[x2] += sign * (sy1-sy0); } } else { @@ -3075,6 +3240,9 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, // clipping logic. since this does not match the intended use // of this library, we use a different, very slow brute // force implementation + // note though that this does happen some of the time because + // x_top and x_bottom can be extrapolated at the top & bottom of + // the shape and actually lie outside the bounding box int x; for (x=0; x < len; ++x) { // cases: @@ -3989,6 +4157,7 @@ static float stbtt__oversample_shift(int oversample) STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { int i,j,k; + int missing_glyph_added = 0; k=0; for (i=0; i < num_ranges; ++i) { @@ -4000,7 +4169,7 @@ STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stb int x0,y0,x1,y1; int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; int glyph = stbtt_FindGlyphIndex(info, codepoint); - if (glyph == 0 && spc->skip_missing) { + if (glyph == 0 && (spc->skip_missing || missing_glyph_added)) { rects[k].w = rects[k].h = 0; } else { stbtt_GetGlyphBitmapBoxSubpixel(info,glyph, @@ -4010,6 +4179,8 @@ STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stb &x0,&y0,&x1,&y1); rects[k].w = (stbrp_coord) (x1-x0 + spc->padding + spc->h_oversample-1); rects[k].h = (stbrp_coord) (y1-y0 + spc->padding + spc->v_oversample-1); + if (glyph == 0) + missing_glyph_added = 1; } ++k; } @@ -4044,7 +4215,7 @@ STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info // rects array must be big enough to accommodate all characters in the given ranges STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { - int i,j,k, return_value = 1; + int i,j,k, missing_glyph = -1, return_value = 1; // save current values int old_h_over = spc->h_oversample; @@ -4109,6 +4280,13 @@ STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const bc->yoff = (float) y0 * recip_v + sub_y; bc->xoff2 = (x0 + r->w) * recip_h + sub_x; bc->yoff2 = (y0 + r->h) * recip_v + sub_y; + + if (glyph == 0) + missing_glyph = j; + } else if (spc->skip_missing) { + return_value = 0; + } else if (r->was_packed && r->w == 0 && r->h == 0 && missing_glyph >= 0) { + ranges[i].chardata_for_range[j] = ranges[i].chardata_for_range[missing_glyph]; } else { return_value = 0; // if any fail, report failure } @@ -4132,7 +4310,7 @@ STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges) { stbtt_fontinfo info; - int i,j,n, return_value; // [DEAR IMGUI] removed = 1 + int i, j, n, return_value; // [DEAR IMGUI] removed = 1; //stbrp_context *context = (stbrp_context *) spc->pack_info; stbrp_rect *rects; @@ -4301,15 +4479,14 @@ static int stbtt__compute_crossings_x(float x, float y, int nverts, stbtt_vertex float y_frac; int winding = 0; - orig[0] = x; - //orig[1] = y; // [DEAR IMGUI] commented double assignment - // make sure y never passes through a vertex of the shape y_frac = (float) STBTT_fmod(y, 1.0f); if (y_frac < 0.01f) y += 0.01f; else if (y_frac > 0.99f) y -= 0.01f; + + orig[0] = x; orig[1] = y; // test a ray from (-infinity,y) to (x,y) @@ -4371,35 +4548,35 @@ static float stbtt__cuberoot( float x ) return (float) STBTT_pow( x,1.0f/3.0f); } -// x^3 + c*x^2 + b*x + a = 0 +// x^3 + a*x^2 + b*x + c = 0 static int stbtt__solve_cubic(float a, float b, float c, float* r) { - float s = -a / 3; - float p = b - a*a / 3; - float q = a * (2*a*a - 9*b) / 27 + c; + float s = -a / 3; + float p = b - a*a / 3; + float q = a * (2*a*a - 9*b) / 27 + c; float p3 = p*p*p; - float d = q*q + 4*p3 / 27; - if (d >= 0) { - float z = (float) STBTT_sqrt(d); - float u = (-q + z) / 2; - float v = (-q - z) / 2; - u = stbtt__cuberoot(u); - v = stbtt__cuberoot(v); - r[0] = s + u + v; - return 1; - } else { - float u = (float) STBTT_sqrt(-p/3); - float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; // p3 must be negative, since d is negative - float m = (float) STBTT_cos(v); + float d = q*q + 4*p3 / 27; + if (d >= 0) { + float z = (float) STBTT_sqrt(d); + float u = (-q + z) / 2; + float v = (-q - z) / 2; + u = stbtt__cuberoot(u); + v = stbtt__cuberoot(v); + r[0] = s + u + v; + return 1; + } else { + float u = (float) STBTT_sqrt(-p/3); + float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; // p3 must be negative, since d is negative + float m = (float) STBTT_cos(v); float n = (float) STBTT_cos(v-3.141592/2)*1.732050808f; - r[0] = s + u * 2 * m; - r[1] = s - u * (m + n); - r[2] = s - u * (m - n); + r[0] = s + u * 2 * m; + r[1] = s - u * (m + n); + r[2] = s - u * (m - n); //STBTT_assert( STBTT_fabs(((r[0]+a)*r[0]+b)*r[0]+c) < 0.05f); // these asserts may not be safe at all scales, though they're in bezier t parameter units so maybe? //STBTT_assert( STBTT_fabs(((r[1]+a)*r[1]+b)*r[1]+c) < 0.05f); //STBTT_assert( STBTT_fabs(((r[2]+a)*r[2]+b)*r[2]+c) < 0.05f); - return 3; + return 3; } } @@ -4410,12 +4587,7 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc int w,h; unsigned char *data; - // if one scale is 0, use same scale for both - if (scale_x == 0) scale_x = scale_y; - if (scale_y == 0) { - if (scale_x == 0) return NULL; // if both scales are 0, return NULL - scale_y = scale_x; - } + if (scale == 0) return NULL; stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale, scale, 0.0f,0.0f, &ix0,&iy0,&ix1,&iy1); @@ -4481,18 +4653,17 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc for (i=0; i < num_verts; ++i) { float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; - // check against every point here rather than inside line/curve primitives -- @TODO: wrong if multiple 'moves' in a row produce a garbage point, and given culling, probably more efficient to do within line/curve - float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); - if (dist2 < min_dist*min_dist) - min_dist = (float) STBTT_sqrt(dist2); - - if (verts[i].type == STBTT_vline) { + if (verts[i].type == STBTT_vline && precompute[i] != 0.0f) { float x1 = verts[i-1].x*scale_x, y1 = verts[i-1].y*scale_y; + float dist,dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); + if (dist2 < min_dist*min_dist) + min_dist = (float) STBTT_sqrt(dist2); + // coarse culling against bbox //if (sx > STBTT_min(x0,x1)-min_dist && sx < STBTT_max(x0,x1)+min_dist && // sy > STBTT_min(y0,y1)-min_dist && sy < STBTT_max(y0,y1)+min_dist) - float dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; + dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; STBTT_assert(i != 0); if (dist < min_dist) { // check position along line @@ -4519,7 +4690,8 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc float ax = x1-x0, ay = y1-y0; float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; float mx = x0 - sx, my = y0 - sy; - float res[3],px,py,t,it; + float res[3] = {0.f,0.f,0.f}; + float px,py,t,it,dist2; float a_inv = precompute[i]; if (a_inv == 0.0) { // if a_inv is 0, it's 2nd degree so use quadratic formula float a = 3*(ax*bx + ay*by); @@ -4546,6 +4718,10 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc float d = (mx*ax+my*ay) * a_inv; num = stbtt__solve_cubic(b, c, d, res); } + dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); + if (dist2 < min_dist*min_dist) + min_dist = (float) STBTT_sqrt(dist2); + if (num >= 1 && res[0] >= 0.0f && res[0] <= 1.0f) { t = res[0], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; @@ -4805,6 +4981,12 @@ STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const // FULL VERSION HISTORY // +// 1.25 (2021-07-11) many fixes +// 1.24 (2020-02-05) fix warning +// 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) +// 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined +// 1.21 (2019-02-25) fix warning +// 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() // 1.19 (2018-02-11) OpenType GPOS kerning (horizontal only), STBTT_fmod // 1.18 (2018-01-29) add missing function // 1.17 (2017-07-23) make more arguments const; doc fix diff --git a/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/README.md b/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/README.md index f7d7bab..5fcfc2d 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/README.md +++ b/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/README.md @@ -26,12 +26,12 @@ See https://gist.github.com/ocornut/b3a9ecf13502fd818799a452969649ad ### Comparaison -Small, thin anti-aliased fonts are typically benefiting a lots from Freetype's hinting: +Small, thin anti-aliased fonts typically benefit a lot from FreeType's hinting: ![comparing_font_rasterizers](https://user-images.githubusercontent.com/8225057/107550178-fef87f00-6bd0-11eb-8d09-e2edb2f0ccfc.gif) ### Colorful glyphs/emojis -You can use the `ImGuiFreeTypeBuilderFlags_LoadColor` flag to load certain colorful glyphs. See -["Using Colorful Glyphs/Emojis"](https://github.com/ocornut/imgui/edit/master/docs/FONTS.md#using-colorful-glyphsemojis) section of FONTS.md. +You can use the `ImGuiFreeTypeBuilderFlags_LoadColor` flag to load certain colorful glyphs. See the +["Using Colorful Glyphs/Emojis"](https://github.com/ocornut/imgui/blob/master/docs/FONTS.md#using-colorful-glyphsemojis) section of FONTS.md. ![colored glyphs](https://user-images.githubusercontent.com/8225057/106171241-9dc4ba80-6191-11eb-8a69-ca1467b206d1.png) diff --git a/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/imgui_freetype.cpp b/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/imgui_freetype.cpp index a72ec8c..0325532 100644 --- a/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/imgui_freetype.cpp +++ b/imgui-sys/third-party/imgui-docking/imgui/misc/freetype/imgui_freetype.cpp @@ -368,7 +368,7 @@ struct ImFontBuildSrcGlyphFT uint32_t Codepoint; unsigned int* BitmapData; // Point within one of the dst_tmp_bitmap_buffers[] array - ImFontBuildSrcGlyphFT() { memset(this, 0, sizeof(*this)); } + ImFontBuildSrcGlyphFT() { memset((void*)this, 0, sizeof(*this)); } }; struct ImFontBuildSrcDataFT @@ -508,7 +508,7 @@ bool ImFontAtlasBuildWithFreeTypeEx(FT_Library ft_library, ImFontAtlas* atlas, u // Allocate temporary rasterization data buffers. // We could not find a way to retrieve accurate glyph size without rendering them. // (e.g. slot->metrics->width not always matching bitmap->width, especially considering the Oblique transform) - // We allocate in chunks of 256 KB to not waste too much extra memory ahead. Hopefully users of FreeType won't find the temporary allocations. + // We allocate in chunks of 256 KB to not waste too much extra memory ahead. Hopefully users of FreeType won't mind the temporary allocations. const int BITMAP_BUFFERS_CHUNK_SIZE = 256 * 1024; int buf_bitmap_current_used_bytes = 0; ImVector buf_bitmap_buffers; @@ -556,6 +556,7 @@ bool ImFontAtlasBuildWithFreeTypeEx(FT_Library ft_library, ImFontAtlas* atlas, u buf_bitmap_current_used_bytes = 0; buf_bitmap_buffers.push_back((unsigned char*)IM_ALLOC(BITMAP_BUFFERS_CHUNK_SIZE)); } + IM_ASSERT(buf_bitmap_current_used_bytes + bitmap_size_in_bytes <= BITMAP_BUFFERS_CHUNK_SIZE); // We could probably allocate custom-sized buffer instead. // Blit rasterized pixels to our temporary buffer and keep a pointer to it. src_glyph.BitmapData = (unsigned int*)(buf_bitmap_buffers.back() + buf_bitmap_current_used_bytes); diff --git a/imgui-sys/third-party/imgui-docking/impl_definitions.json b/imgui-sys/third-party/imgui-docking/impl_definitions.json index 0637a08..b64b6d1 100644 --- a/imgui-sys/third-party/imgui-docking/impl_definitions.json +++ b/imgui-sys/third-party/imgui-docking/impl_definitions.json @@ -1 +1,818 @@ -[] \ No newline at end of file +{ + "ImGui_ImplGlfw_CharCallback": [ + { + "args": "(GLFWwindow* window,unsigned int c)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "c", + "type": "unsigned int" + } + ], + "argsoriginal": "(GLFWwindow* window,unsigned int c)", + "call_args": "(window,c)", + "cimguiname": "ImGui_ImplGlfw_CharCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_CharCallback", + "location": "imgui_impl_glfw:46", + "ov_cimguiname": "ImGui_ImplGlfw_CharCallback", + "ret": "void", + "signature": "(GLFWwindow*,unsigned int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_CursorEnterCallback": [ + { + "args": "(GLFWwindow* window,int entered)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "entered", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int entered)", + "call_args": "(window,entered)", + "cimguiname": "ImGui_ImplGlfw_CursorEnterCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_CursorEnterCallback", + "location": "imgui_impl_glfw:41", + "ov_cimguiname": "ImGui_ImplGlfw_CursorEnterCallback", + "ret": "void", + "signature": "(GLFWwindow*,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_CursorPosCallback": [ + { + "args": "(GLFWwindow* window,double x,double y)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "x", + "type": "double" + }, + { + "name": "y", + "type": "double" + } + ], + "argsoriginal": "(GLFWwindow* window,double x,double y)", + "call_args": "(window,x,y)", + "cimguiname": "ImGui_ImplGlfw_CursorPosCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_CursorPosCallback", + "location": "imgui_impl_glfw:42", + "ov_cimguiname": "ImGui_ImplGlfw_CursorPosCallback", + "ret": "void", + "signature": "(GLFWwindow*,double,double)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InitForOpenGL": [ + { + "args": "(GLFWwindow* window,bool install_callbacks)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "install_callbacks", + "type": "bool" + } + ], + "argsoriginal": "(GLFWwindow* window,bool install_callbacks)", + "call_args": "(window,install_callbacks)", + "cimguiname": "ImGui_ImplGlfw_InitForOpenGL", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InitForOpenGL", + "location": "imgui_impl_glfw:27", + "ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL", + "ret": "bool", + "signature": "(GLFWwindow*,bool)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InitForOther": [ + { + "args": "(GLFWwindow* window,bool install_callbacks)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "install_callbacks", + "type": "bool" + } + ], + "argsoriginal": "(GLFWwindow* window,bool install_callbacks)", + "call_args": "(window,install_callbacks)", + "cimguiname": "ImGui_ImplGlfw_InitForOther", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InitForOther", + "location": "imgui_impl_glfw:29", + "ov_cimguiname": "ImGui_ImplGlfw_InitForOther", + "ret": "bool", + "signature": "(GLFWwindow*,bool)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InitForVulkan": [ + { + "args": "(GLFWwindow* window,bool install_callbacks)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "install_callbacks", + "type": "bool" + } + ], + "argsoriginal": "(GLFWwindow* window,bool install_callbacks)", + "call_args": "(window,install_callbacks)", + "cimguiname": "ImGui_ImplGlfw_InitForVulkan", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InitForVulkan", + "location": "imgui_impl_glfw:28", + "ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan", + "ret": "bool", + "signature": "(GLFWwindow*,bool)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InstallCallbacks": [ + { + "args": "(GLFWwindow* window)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + } + ], + "argsoriginal": "(GLFWwindow* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplGlfw_InstallCallbacks", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InstallCallbacks", + "location": "imgui_impl_glfw:36", + "ov_cimguiname": "ImGui_ImplGlfw_InstallCallbacks", + "ret": "void", + "signature": "(GLFWwindow*)", + "stname": "" + } + ], + "ImGui_ImplGlfw_KeyCallback": [ + { + "args": "(GLFWwindow* window,int key,int scancode,int action,int mods)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "key", + "type": "int" + }, + { + "name": "scancode", + "type": "int" + }, + { + "name": "action", + "type": "int" + }, + { + "name": "mods", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)", + "call_args": "(window,key,scancode,action,mods)", + "cimguiname": "ImGui_ImplGlfw_KeyCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_KeyCallback", + "location": "imgui_impl_glfw:45", + "ov_cimguiname": "ImGui_ImplGlfw_KeyCallback", + "ret": "void", + "signature": "(GLFWwindow*,int,int,int,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_MonitorCallback": [ + { + "args": "(GLFWmonitor* monitor,int event)", + "argsT": [ + { + "name": "monitor", + "type": "GLFWmonitor*" + }, + { + "name": "event", + "type": "int" + } + ], + "argsoriginal": "(GLFWmonitor* monitor,int event)", + "call_args": "(monitor,event)", + "cimguiname": "ImGui_ImplGlfw_MonitorCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_MonitorCallback", + "location": "imgui_impl_glfw:47", + "ov_cimguiname": "ImGui_ImplGlfw_MonitorCallback", + "ret": "void", + "signature": "(GLFWmonitor*,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_MouseButtonCallback": [ + { + "args": "(GLFWwindow* window,int button,int action,int mods)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "button", + "type": "int" + }, + { + "name": "action", + "type": "int" + }, + { + "name": "mods", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int button,int action,int mods)", + "call_args": "(window,button,action,mods)", + "cimguiname": "ImGui_ImplGlfw_MouseButtonCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_MouseButtonCallback", + "location": "imgui_impl_glfw:43", + "ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback", + "ret": "void", + "signature": "(GLFWwindow*,int,int,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplGlfw_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_NewFrame", + "location": "imgui_impl_glfw:31", + "ov_cimguiname": "ImGui_ImplGlfw_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplGlfw_RestoreCallbacks": [ + { + "args": "(GLFWwindow* window)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + } + ], + "argsoriginal": "(GLFWwindow* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplGlfw_RestoreCallbacks", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_RestoreCallbacks", + "location": "imgui_impl_glfw:37", + "ov_cimguiname": "ImGui_ImplGlfw_RestoreCallbacks", + "ret": "void", + "signature": "(GLFWwindow*)", + "stname": "" + } + ], + "ImGui_ImplGlfw_ScrollCallback": [ + { + "args": "(GLFWwindow* window,double xoffset,double yoffset)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "xoffset", + "type": "double" + }, + { + "name": "yoffset", + "type": "double" + } + ], + "argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)", + "call_args": "(window,xoffset,yoffset)", + "cimguiname": "ImGui_ImplGlfw_ScrollCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_ScrollCallback", + "location": "imgui_impl_glfw:44", + "ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback", + "ret": "void", + "signature": "(GLFWwindow*,double,double)", + "stname": "" + } + ], + "ImGui_ImplGlfw_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplGlfw_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_Shutdown", + "location": "imgui_impl_glfw:30", + "ov_cimguiname": "ImGui_ImplGlfw_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplGlfw_WindowFocusCallback": [ + { + "args": "(GLFWwindow* window,int focused)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "focused", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int focused)", + "call_args": "(window,focused)", + "cimguiname": "ImGui_ImplGlfw_WindowFocusCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_WindowFocusCallback", + "location": "imgui_impl_glfw:40", + "ov_cimguiname": "ImGui_ImplGlfw_WindowFocusCallback", + "ret": "void", + "signature": "(GLFWwindow*,int)", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_CreateDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects", + "location": "imgui_impl_opengl2:32", + "ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_CreateFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_CreateFontsTexture", + "location": "imgui_impl_opengl2:30", + "ov_cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_DestroyDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", + "location": "imgui_impl_opengl2:33", + "ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_DestroyFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_DestroyFontsTexture", + "location": "imgui_impl_opengl2:31", + "ov_cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_Init": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_Init", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_Init", + "location": "imgui_impl_opengl2:24", + "ov_cimguiname": "ImGui_ImplOpenGL2_Init", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_NewFrame", + "location": "imgui_impl_opengl2:26", + "ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_RenderDrawData": [ + { + "args": "(ImDrawData* draw_data)", + "argsT": [ + { + "name": "draw_data", + "type": "ImDrawData*" + } + ], + "argsoriginal": "(ImDrawData* draw_data)", + "call_args": "(draw_data)", + "cimguiname": "ImGui_ImplOpenGL2_RenderDrawData", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_RenderDrawData", + "location": "imgui_impl_opengl2:27", + "ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData", + "ret": "void", + "signature": "(ImDrawData*)", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_Shutdown", + "location": "imgui_impl_opengl2:25", + "ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_CreateDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects", + "location": "imgui_impl_opengl3:33", + "ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_CreateFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_CreateFontsTexture", + "location": "imgui_impl_opengl3:31", + "ov_cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_DestroyDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects", + "location": "imgui_impl_opengl3:34", + "ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_DestroyFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_DestroyFontsTexture", + "location": "imgui_impl_opengl3:32", + "ov_cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_Init": [ + { + "args": "(const char* glsl_version)", + "argsT": [ + { + "name": "glsl_version", + "type": "const char*" + } + ], + "argsoriginal": "(const char* glsl_version=nullptr)", + "call_args": "(glsl_version)", + "cimguiname": "ImGui_ImplOpenGL3_Init", + "defaults": { + "glsl_version": "nullptr" + }, + "funcname": "ImGui_ImplOpenGL3_Init", + "location": "imgui_impl_opengl3:25", + "ov_cimguiname": "ImGui_ImplOpenGL3_Init", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_NewFrame", + "location": "imgui_impl_opengl3:27", + "ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_RenderDrawData": [ + { + "args": "(ImDrawData* draw_data)", + "argsT": [ + { + "name": "draw_data", + "type": "ImDrawData*" + } + ], + "argsoriginal": "(ImDrawData* draw_data)", + "call_args": "(draw_data)", + "cimguiname": "ImGui_ImplOpenGL3_RenderDrawData", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_RenderDrawData", + "location": "imgui_impl_opengl3:28", + "ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData", + "ret": "void", + "signature": "(ImDrawData*)", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_Shutdown", + "location": "imgui_impl_opengl3:26", + "ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForD3D": [ + { + "args": "(SDL_Window* window)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + } + ], + "argsoriginal": "(SDL_Window* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplSDL2_InitForD3D", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForD3D", + "location": "imgui_impl_sdl:29", + "ov_cimguiname": "ImGui_ImplSDL2_InitForD3D", + "ret": "bool", + "signature": "(SDL_Window*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForMetal": [ + { + "args": "(SDL_Window* window)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + } + ], + "argsoriginal": "(SDL_Window* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplSDL2_InitForMetal", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForMetal", + "location": "imgui_impl_sdl:30", + "ov_cimguiname": "ImGui_ImplSDL2_InitForMetal", + "ret": "bool", + "signature": "(SDL_Window*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForOpenGL": [ + { + "args": "(SDL_Window* window,void* sdl_gl_context)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + }, + { + "name": "sdl_gl_context", + "type": "void*" + } + ], + "argsoriginal": "(SDL_Window* window,void* sdl_gl_context)", + "call_args": "(window,sdl_gl_context)", + "cimguiname": "ImGui_ImplSDL2_InitForOpenGL", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForOpenGL", + "location": "imgui_impl_sdl:27", + "ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL", + "ret": "bool", + "signature": "(SDL_Window*,void*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForSDLRenderer": [ + { + "args": "(SDL_Window* window,SDL_Renderer* renderer)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + }, + { + "name": "renderer", + "type": "SDL_Renderer*" + } + ], + "argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)", + "call_args": "(window,renderer)", + "cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForSDLRenderer", + "location": "imgui_impl_sdl:31", + "ov_cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer", + "ret": "bool", + "signature": "(SDL_Window*,SDL_Renderer*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForVulkan": [ + { + "args": "(SDL_Window* window)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + } + ], + "argsoriginal": "(SDL_Window* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplSDL2_InitForVulkan", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForVulkan", + "location": "imgui_impl_sdl:28", + "ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan", + "ret": "bool", + "signature": "(SDL_Window*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplSDL2_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_NewFrame", + "location": "imgui_impl_sdl:33", + "ov_cimguiname": "ImGui_ImplSDL2_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplSDL2_ProcessEvent": [ + { + "args": "(const SDL_Event* event)", + "argsT": [ + { + "name": "event", + "type": "const SDL_Event*" + } + ], + "argsoriginal": "(const SDL_Event* event)", + "call_args": "(event)", + "cimguiname": "ImGui_ImplSDL2_ProcessEvent", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_ProcessEvent", + "location": "imgui_impl_sdl:34", + "ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent", + "ret": "bool", + "signature": "(const SDL_Event*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplSDL2_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_Shutdown", + "location": "imgui_impl_sdl:32", + "ov_cimguiname": "ImGui_ImplSDL2_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ] +} \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-docking/impl_definitions.lua b/imgui-sys/third-party/imgui-docking/impl_definitions.lua index 45b23e0..e5c6fec 100644 --- a/imgui-sys/third-party/imgui-docking/impl_definitions.lua +++ b/imgui-sys/third-party/imgui-docking/impl_definitions.lua @@ -1,3 +1,715 @@ local defs = {} +defs["ImGui_ImplGlfw_CharCallback"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["args"] = "(GLFWwindow* window,unsigned int c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["name"] = "c" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["type"] = "unsigned int" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsoriginal"] = "(GLFWwindow* window,unsigned int c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw:46" +defs["ImGui_ImplGlfw_CharCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)" +defs["ImGui_ImplGlfw_CharCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CharCallback"]["(GLFWwindow*,unsigned int)"] = defs["ImGui_ImplGlfw_CharCallback"][1] +defs["ImGui_ImplGlfw_CursorEnterCallback"] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["args"] = "(GLFWwindow* window,int entered)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][2]["name"] = "entered" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int entered)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["call_args"] = "(window,entered)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CursorEnterCallback" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["funcname"] = "ImGui_ImplGlfw_CursorEnterCallback" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["location"] = "imgui_impl_glfw:41" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CursorEnterCallback" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["signature"] = "(GLFWwindow*,int)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CursorEnterCallback"]["(GLFWwindow*,int)"] = defs["ImGui_ImplGlfw_CursorEnterCallback"][1] +defs["ImGui_ImplGlfw_CursorPosCallback"] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["args"] = "(GLFWwindow* window,double x,double y)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][2]["name"] = "x" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][2]["type"] = "double" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][3]["name"] = "y" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][3]["type"] = "double" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double x,double y)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["call_args"] = "(window,x,y)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CursorPosCallback" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["funcname"] = "ImGui_ImplGlfw_CursorPosCallback" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["location"] = "imgui_impl_glfw:42" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CursorPosCallback" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["signature"] = "(GLFWwindow*,double,double)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CursorPosCallback"]["(GLFWwindow*,double,double)"] = defs["ImGui_ImplGlfw_CursorPosCallback"][1] +defs["ImGui_ImplGlfw_InitForOpenGL"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["name"] = "install_callbacks" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw:27" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForOpenGL"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForOpenGL"][1] +defs["ImGui_ImplGlfw_InitForOther"] = {} +defs["ImGui_ImplGlfw_InitForOther"][1] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][2]["name"] = "install_callbacks" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOther"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForOther"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOther" +defs["ImGui_ImplGlfw_InitForOther"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["funcname"] = "ImGui_ImplGlfw_InitForOther" +defs["ImGui_ImplGlfw_InitForOther"][1]["location"] = "imgui_impl_glfw:29" +defs["ImGui_ImplGlfw_InitForOther"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForOther" +defs["ImGui_ImplGlfw_InitForOther"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForOther"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForOther"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForOther"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForOther"][1] +defs["ImGui_ImplGlfw_InitForVulkan"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["name"] = "install_callbacks" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw:28" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForVulkan"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForVulkan"][1] +defs["ImGui_ImplGlfw_InstallCallbacks"] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["args"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsoriginal"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["call_args"] = "(window)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["cimguiname"] = "ImGui_ImplGlfw_InstallCallbacks" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["funcname"] = "ImGui_ImplGlfw_InstallCallbacks" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["location"] = "imgui_impl_glfw:36" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InstallCallbacks" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["signature"] = "(GLFWwindow*)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InstallCallbacks"]["(GLFWwindow*)"] = defs["ImGui_ImplGlfw_InstallCallbacks"][1] +defs["ImGui_ImplGlfw_KeyCallback"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["args"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["name"] = "key" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["name"] = "scancode" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["name"] = "action" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["name"] = "mods" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,action,mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw:45" +defs["ImGui_ImplGlfw_KeyCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_KeyCallback"]["(GLFWwindow*,int,int,int,int)"] = defs["ImGui_ImplGlfw_KeyCallback"][1] +defs["ImGui_ImplGlfw_MonitorCallback"] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["args"] = "(GLFWmonitor* monitor,int event)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][1]["name"] = "monitor" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][1]["type"] = "GLFWmonitor*" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][2]["name"] = "event" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsoriginal"] = "(GLFWmonitor* monitor,int event)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["call_args"] = "(monitor,event)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MonitorCallback" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["funcname"] = "ImGui_ImplGlfw_MonitorCallback" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["location"] = "imgui_impl_glfw:47" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_MonitorCallback" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["signature"] = "(GLFWmonitor*,int)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_MonitorCallback"]["(GLFWmonitor*,int)"] = defs["ImGui_ImplGlfw_MonitorCallback"][1] +defs["ImGui_ImplGlfw_MouseButtonCallback"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["args"] = "(GLFWwindow* window,int button,int action,int mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["name"] = "button" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["name"] = "action" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["name"] = "mods" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int button,int action,int mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,action,mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw:43" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_MouseButtonCallback"]["(GLFWwindow*,int,int,int)"] = defs["ImGui_ImplGlfw_MouseButtonCallback"][1] +defs["ImGui_ImplGlfw_NewFrame"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["cimguiname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw:31" +defs["ImGui_ImplGlfw_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplGlfw_NewFrame"]["()"] = defs["ImGui_ImplGlfw_NewFrame"][1] +defs["ImGui_ImplGlfw_RestoreCallbacks"] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["args"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsoriginal"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["call_args"] = "(window)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["cimguiname"] = "ImGui_ImplGlfw_RestoreCallbacks" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["funcname"] = "ImGui_ImplGlfw_RestoreCallbacks" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["location"] = "imgui_impl_glfw:37" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_RestoreCallbacks" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["signature"] = "(GLFWwindow*)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["stname"] = "" +defs["ImGui_ImplGlfw_RestoreCallbacks"]["(GLFWwindow*)"] = defs["ImGui_ImplGlfw_RestoreCallbacks"][1] +defs["ImGui_ImplGlfw_ScrollCallback"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["args"] = "(GLFWwindow* window,double xoffset,double yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["name"] = "xoffset" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["type"] = "double" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["name"] = "yoffset" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["type"] = "double" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double xoffset,double yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw:44" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_ScrollCallback"]["(GLFWwindow*,double,double)"] = defs["ImGui_ImplGlfw_ScrollCallback"][1] +defs["ImGui_ImplGlfw_Shutdown"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["cimguiname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw:30" +defs["ImGui_ImplGlfw_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplGlfw_Shutdown"]["()"] = defs["ImGui_ImplGlfw_Shutdown"][1] +defs["ImGui_ImplGlfw_WindowFocusCallback"] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["args"] = "(GLFWwindow* window,int focused)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][2]["name"] = "focused" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int focused)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["call_args"] = "(window,focused)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_WindowFocusCallback" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["funcname"] = "ImGui_ImplGlfw_WindowFocusCallback" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["location"] = "imgui_impl_glfw:40" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_WindowFocusCallback" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["signature"] = "(GLFWwindow*,int)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_WindowFocusCallback"]["(GLFWwindow*,int)"] = defs["ImGui_ImplGlfw_WindowFocusCallback"][1] +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2:32" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] +defs["ImGui_ImplOpenGL2_CreateFontsTexture"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2:30" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"]["()"] = defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2:33" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2:31" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"]["()"] = defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] +defs["ImGui_ImplOpenGL2_Init"] = {} +defs["ImGui_ImplOpenGL2_Init"][1] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2:24" +defs["ImGui_ImplOpenGL2_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_Init"]["()"] = defs["ImGui_ImplOpenGL2_Init"][1] +defs["ImGui_ImplOpenGL2_NewFrame"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2:26" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_NewFrame"]["()"] = defs["ImGui_ImplOpenGL2_NewFrame"][1] +defs["ImGui_ImplOpenGL2_RenderDrawData"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2:27" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_RenderDrawData"]["(ImDrawData*)"] = defs["ImGui_ImplOpenGL2_RenderDrawData"][1] +defs["ImGui_ImplOpenGL2_Shutdown"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2:25" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_Shutdown"]["()"] = defs["ImGui_ImplOpenGL2_Shutdown"][1] +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3:33" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] +defs["ImGui_ImplOpenGL3_CreateFontsTexture"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3:31" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"]["()"] = defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3:34" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3:32" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"]["()"] = defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] +defs["ImGui_ImplOpenGL3_Init"] = {} +defs["ImGui_ImplOpenGL3_Init"][1] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)" +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["name"] = "glsl_version" +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*" +defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=nullptr)" +defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)" +defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "nullptr" +defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3:25" +defs["ImGui_ImplOpenGL3_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)" +defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1] +defs["ImGui_ImplOpenGL3_NewFrame"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3:27" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_NewFrame"]["()"] = defs["ImGui_ImplOpenGL3_NewFrame"][1] +defs["ImGui_ImplOpenGL3_RenderDrawData"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3:28" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_RenderDrawData"]["(ImDrawData*)"] = defs["ImGui_ImplOpenGL3_RenderDrawData"][1] +defs["ImGui_ImplOpenGL3_Shutdown"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3:26" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_Shutdown"]["()"] = defs["ImGui_ImplOpenGL3_Shutdown"][1] +defs["ImGui_ImplSDL2_InitForD3D"] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForD3D" +defs["ImGui_ImplSDL2_InitForD3D"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["funcname"] = "ImGui_ImplSDL2_InitForD3D" +defs["ImGui_ImplSDL2_InitForD3D"][1]["location"] = "imgui_impl_sdl:29" +defs["ImGui_ImplSDL2_InitForD3D"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForD3D" +defs["ImGui_ImplSDL2_InitForD3D"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForD3D"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForD3D"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForD3D"][1] +defs["ImGui_ImplSDL2_InitForMetal"] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForMetal" +defs["ImGui_ImplSDL2_InitForMetal"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["funcname"] = "ImGui_ImplSDL2_InitForMetal" +defs["ImGui_ImplSDL2_InitForMetal"][1]["location"] = "imgui_impl_sdl:30" +defs["ImGui_ImplSDL2_InitForMetal"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForMetal" +defs["ImGui_ImplSDL2_InitForMetal"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForMetal"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForMetal"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForMetal"][1] +defs["ImGui_ImplSDL2_InitForOpenGL"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["args"] = "(SDL_Window* window,void* sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["name"] = "sdl_gl_context" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["type"] = "void*" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl:27" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForOpenGL"]["(SDL_Window*,void*)"] = defs["ImGui_ImplSDL2_InitForOpenGL"][1] +defs["ImGui_ImplSDL2_InitForSDLRenderer"] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["args"] = "(SDL_Window* window,SDL_Renderer* renderer)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][2] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][2]["name"] = "renderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][2]["type"] = "SDL_Renderer*" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsoriginal"] = "(SDL_Window* window,SDL_Renderer* renderer)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["call_args"] = "(window,renderer)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForSDLRenderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["funcname"] = "ImGui_ImplSDL2_InitForSDLRenderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["location"] = "imgui_impl_sdl:31" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForSDLRenderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["signature"] = "(SDL_Window*,SDL_Renderer*)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForSDLRenderer"]["(SDL_Window*,SDL_Renderer*)"] = defs["ImGui_ImplSDL2_InitForSDLRenderer"][1] +defs["ImGui_ImplSDL2_InitForVulkan"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl:28" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForVulkan"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForVulkan"][1] +defs["ImGui_ImplSDL2_NewFrame"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl:33" +defs["ImGui_ImplSDL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplSDL2_NewFrame"]["()"] = defs["ImGui_ImplSDL2_NewFrame"][1] +defs["ImGui_ImplSDL2_ProcessEvent"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["args"] = "(const SDL_Event* event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["name"] = "event" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["type"] = "const SDL_Event*" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsoriginal"] = "(const SDL_Event* event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["cimguiname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl:34" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(const SDL_Event*)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["stname"] = "" +defs["ImGui_ImplSDL2_ProcessEvent"]["(const SDL_Event*)"] = defs["ImGui_ImplSDL2_ProcessEvent"][1] +defs["ImGui_ImplSDL2_Shutdown"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl:32" +defs["ImGui_ImplSDL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplSDL2_Shutdown"]["()"] = defs["ImGui_ImplSDL2_Shutdown"][1] return defs \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-docking/overloads.txt b/imgui-sys/third-party/imgui-docking/overloads.txt index 6d3e331..6b78943 100644 --- a/imgui-sys/third-party/imgui-docking/overloads.txt +++ b/imgui-sys/third-party/imgui-docking/overloads.txt @@ -1,258 +1,278 @@ ----------------overloadings--------------------------- ImColor_ImColor 5 -1 nil ImColor_ImColorNil () -2 nil ImColor_ImColorInt (int,int,int,int) -3 nil ImColor_ImColorU32 (ImU32) -4 nil ImColor_ImColorFloat (float,float,float,float) -5 nil ImColor_ImColorVec4 (const ImVec4) +1 nil ImColor_ImColor_Nil () +2 nil ImColor_ImColor_Float (float,float,float,float) +3 nil ImColor_ImColor_Vec4 (const ImVec4) +4 nil ImColor_ImColor_Int (int,int,int,int) +5 nil ImColor_ImColor_U32 (ImU32) ImDrawList_AddText 2 -1 void ImDrawList_AddTextVec2 (const ImVec2,ImU32,const char*,const char*) -2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) +1 void ImDrawList_AddText_Vec2 (const ImVec2,ImU32,const char*,const char*) +2 void ImDrawList_AddText_FontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) ImGuiPtrOrIndex_ImGuiPtrOrIndex 2 -1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr (void*) -2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndexInt (int) +1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr (void*) +2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int (int) ImGuiStoragePair_ImGuiStoragePair 3 -1 nil ImGuiStoragePair_ImGuiStoragePairInt (ImGuiID,int) -2 nil ImGuiStoragePair_ImGuiStoragePairFloat (ImGuiID,float) -3 nil ImGuiStoragePair_ImGuiStoragePairPtr (ImGuiID,void*) +1 nil ImGuiStoragePair_ImGuiStoragePair_Int (ImGuiID,int) +2 nil ImGuiStoragePair_ImGuiStoragePair_Float (ImGuiID,float) +3 nil ImGuiStoragePair_ImGuiStoragePair_Ptr (ImGuiID,void*) ImGuiStyleMod_ImGuiStyleMod 3 -1 nil ImGuiStyleMod_ImGuiStyleModInt (ImGuiStyleVar,int) -2 nil ImGuiStyleMod_ImGuiStyleModFloat (ImGuiStyleVar,float) -3 nil ImGuiStyleMod_ImGuiStyleModVec2 (ImGuiStyleVar,ImVec2) +1 nil ImGuiStyleMod_ImGuiStyleMod_Int (ImGuiStyleVar,int) +2 nil ImGuiStyleMod_ImGuiStyleMod_Float (ImGuiStyleVar,float) +3 nil ImGuiStyleMod_ImGuiStyleMod_Vec2 (ImGuiStyleVar,ImVec2) ImGuiTextRange_ImGuiTextRange 2 -1 nil ImGuiTextRange_ImGuiTextRangeNil () -2 nil ImGuiTextRange_ImGuiTextRangeStr (const char*,const char*) +1 nil ImGuiTextRange_ImGuiTextRange_Nil () +2 nil ImGuiTextRange_ImGuiTextRange_Str (const char*,const char*) ImGuiWindow_GetID 3 -1 ImGuiID ImGuiWindow_GetIDStr (const char*,const char*) -2 ImGuiID ImGuiWindow_GetIDPtr (const void*) -3 ImGuiID ImGuiWindow_GetIDInt (int) -ImGuiWindow_GetIDNoKeepAlive 3 -1 ImGuiID ImGuiWindow_GetIDNoKeepAliveStr (const char*,const char*) -2 ImGuiID ImGuiWindow_GetIDNoKeepAlivePtr (const void*) -3 ImGuiID ImGuiWindow_GetIDNoKeepAliveInt (int) +1 ImGuiID ImGuiWindow_GetID_Str (const char*,const char*) +2 ImGuiID ImGuiWindow_GetID_Ptr (const void*) +3 ImGuiID ImGuiWindow_GetID_Int (int) ImPool_Remove 2 -1 void ImPool_RemoveTPtr (ImGuiID,const T*) -2 void ImPool_RemovePoolIdx (ImGuiID,ImPoolIdx) +1 void ImPool_Remove_TPtr (ImGuiID,const T*) +2 void ImPool_Remove_PoolIdx (ImGuiID,ImPoolIdx) ImRect_Add 2 -1 void ImRect_AddVec2 (const ImVec2) -2 void ImRect_AddRect (const ImRect) +1 void ImRect_Add_Vec2 (const ImVec2) +2 void ImRect_Add_Rect (const ImRect) ImRect_Contains 2 -1 bool ImRect_ContainsVec2 (const ImVec2)const -2 bool ImRect_ContainsRect (const ImRect)const +1 bool ImRect_Contains_Vec2 (const ImVec2)const +2 bool ImRect_Contains_Rect (const ImRect)const ImRect_Expand 2 -1 void ImRect_ExpandFloat (const float) -2 void ImRect_ExpandVec2 (const ImVec2) +1 void ImRect_Expand_Float (const float) +2 void ImRect_Expand_Vec2 (const ImVec2) ImRect_ImRect 4 -1 nil ImRect_ImRectNil () -2 nil ImRect_ImRectVec2 (const ImVec2,const ImVec2) -3 nil ImRect_ImRectVec4 (const ImVec4) -4 nil ImRect_ImRectFloat (float,float,float,float) +1 nil ImRect_ImRect_Nil () +2 nil ImRect_ImRect_Vec2 (const ImVec2,const ImVec2) +3 nil ImRect_ImRect_Vec4 (const ImVec4) +4 nil ImRect_ImRect_Float (float,float,float,float) ImSpan_ImSpan 3 -1 nil ImSpan_ImSpanNil () -2 nil ImSpan_ImSpanTPtrInt (T*,int) -3 nil ImSpan_ImSpanTPtrTPtr (T*,T*) +1 nil ImSpan_ImSpan_Nil () +2 nil ImSpan_ImSpan_TPtrInt (T*,int) +3 nil ImSpan_ImSpan_TPtrTPtr (T*,T*) ImSpan_begin 2 -1 T* ImSpan_beginNil () -2 const T* ImSpan_begin_const ()const +1 T* ImSpan_begin_Nil () +2 const T* ImSpan_begin__const ()const ImSpan_end 2 -1 T* ImSpan_endNil () -2 const T* ImSpan_end_const ()const +1 T* ImSpan_end_Nil () +2 const T* ImSpan_end__const ()const ImSpan_set 2 -1 void ImSpan_setInt (T*,int) -2 void ImSpan_setTPtr (T*,T*) +1 void ImSpan_set_Int (T*,int) +2 void ImSpan_set_TPtr (T*,T*) ImVec1_ImVec1 2 -1 nil ImVec1_ImVec1Nil () -2 nil ImVec1_ImVec1Float (float) +1 nil ImVec1_ImVec1_Nil () +2 nil ImVec1_ImVec1_Float (float) ImVec2_ImVec2 2 -1 nil ImVec2_ImVec2Nil () -2 nil ImVec2_ImVec2Float (float,float) +1 nil ImVec2_ImVec2_Nil () +2 nil ImVec2_ImVec2_Float (float,float) ImVec2ih_ImVec2ih 3 -1 nil ImVec2ih_ImVec2ihNil () -2 nil ImVec2ih_ImVec2ihshort (short,short) -3 nil ImVec2ih_ImVec2ihVec2 (const ImVec2) +1 nil ImVec2ih_ImVec2ih_Nil () +2 nil ImVec2ih_ImVec2ih_short (short,short) +3 nil ImVec2ih_ImVec2ih_Vec2 (const ImVec2) ImVec4_ImVec4 2 -1 nil ImVec4_ImVec4Nil () -2 nil ImVec4_ImVec4Float (float,float,float,float) +1 nil ImVec4_ImVec4_Nil () +2 nil ImVec4_ImVec4_Float (float,float,float,float) ImVector_ImVector 2 -1 nil ImVector_ImVectorNil () -2 nil ImVector_ImVectorVector (const ImVector) +1 nil ImVector_ImVector_Nil () +2 nil ImVector_ImVector_Vector_T_ (const ImVector_T ) ImVector_back 2 -1 T* ImVector_backNil () -2 const T* ImVector_back_const ()const +1 T* ImVector_back_Nil () +2 const T* ImVector_back__const ()const ImVector_begin 2 -1 T* ImVector_beginNil () -2 const T* ImVector_begin_const ()const +1 T* ImVector_begin_Nil () +2 const T* ImVector_begin__const ()const ImVector_end 2 -1 T* ImVector_endNil () -2 const T* ImVector_end_const ()const +1 T* ImVector_end_Nil () +2 const T* ImVector_end__const ()const ImVector_erase 2 -1 T* ImVector_eraseNil (const T*) -2 T* ImVector_eraseTPtr (const T*,const T*) +1 T* ImVector_erase_Nil (const T*) +2 T* ImVector_erase_TPtr (const T*,const T*) ImVector_find 2 -1 T* ImVector_findNil (const T) -2 const T* ImVector_find_const (const T)const +1 T* ImVector_find_Nil (const T) +2 const T* ImVector_find__const (const T)const ImVector_front 2 -1 T* ImVector_frontNil () -2 const T* ImVector_front_const ()const +1 T* ImVector_front_Nil () +2 const T* ImVector_front__const ()const ImVector_resize 2 -1 void ImVector_resizeNil (int) -2 void ImVector_resizeT (int,const T) +1 void ImVector_resize_Nil (int) +2 void ImVector_resize_T (int,const T) igBeginChild 2 -1 bool igBeginChildStr (const char*,const ImVec2,bool,ImGuiWindowFlags) -2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) +1 bool igBeginChild_Str (const char*,const ImVec2,bool,ImGuiWindowFlags) +2 bool igBeginChild_ID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) igCheckboxFlags 4 -1 bool igCheckboxFlagsIntPtr (const char*,int*,int) -2 bool igCheckboxFlagsUintPtr (const char*,unsigned int*,unsigned int) -3 bool igCheckboxFlagsS64Ptr (const char*,ImS64*,ImS64) -4 bool igCheckboxFlagsU64Ptr (const char*,ImU64*,ImU64) +1 bool igCheckboxFlags_IntPtr (const char*,int*,int) +2 bool igCheckboxFlags_UintPtr (const char*,unsigned int*,unsigned int) +3 bool igCheckboxFlags_S64Ptr (const char*,ImS64*,ImS64) +4 bool igCheckboxFlags_U64Ptr (const char*,ImU64*,ImU64) igCollapsingHeader 2 -1 bool igCollapsingHeaderTreeNodeFlags (const char*,ImGuiTreeNodeFlags) -2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags) +1 bool igCollapsingHeader_TreeNodeFlags (const char*,ImGuiTreeNodeFlags) +2 bool igCollapsingHeader_BoolPtr (const char*,bool*,ImGuiTreeNodeFlags) igCombo 3 -1 bool igComboStr_arr (const char*,int*,const char* const[],int,int) -2 bool igComboStr (const char*,int*,const char*,int) -3 bool igComboFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) +1 bool igCombo_Str_arr (const char*,int*,const char* const[],int,int) +2 bool igCombo_Str (const char*,int*,const char*,int) +3 bool igCombo_FnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) igGetBackgroundDrawList 2 -1 ImDrawList* igGetBackgroundDrawListNil () -2 ImDrawList* igGetBackgroundDrawListViewportPtr (ImGuiViewport*) +1 ImDrawList* igGetBackgroundDrawList_Nil () +2 ImDrawList* igGetBackgroundDrawList_ViewportPtr (ImGuiViewport*) igGetColorU32 3 -1 ImU32 igGetColorU32Col (ImGuiCol,float) -2 ImU32 igGetColorU32Vec4 (const ImVec4) -3 ImU32 igGetColorU32U32 (ImU32) +1 ImU32 igGetColorU32_Col (ImGuiCol,float) +2 ImU32 igGetColorU32_Vec4 (const ImVec4) +3 ImU32 igGetColorU32_U32 (ImU32) igGetForegroundDrawList 3 -1 ImDrawList* igGetForegroundDrawListNil () -2 ImDrawList* igGetForegroundDrawListViewportPtr (ImGuiViewport*) -3 ImDrawList* igGetForegroundDrawListWindowPtr (ImGuiWindow*) +1 ImDrawList* igGetForegroundDrawList_Nil () +2 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*) +3 ImDrawList* igGetForegroundDrawList_WindowPtr (ImGuiWindow*) igGetID 3 -1 ImGuiID igGetIDStr (const char*) -2 ImGuiID igGetIDStrStr (const char*,const char*) -3 ImGuiID igGetIDPtr (const void*) +1 ImGuiID igGetID_Str (const char*) +2 ImGuiID igGetID_StrStr (const char*,const char*) +3 ImGuiID igGetID_Ptr (const void*) igImAbs 3 -1 int igImAbsInt (int) -2 float igImAbsFloat (float) -3 double igImAbsdouble (double) +1 int igImAbs_Int (int) +2 float igImAbs_Float (float) +3 double igImAbs_double (double) igImFloor 2 -1 float igImFloorFloat (float) -2 ImVec2 igImFloorVec2 (const ImVec2) +1 float igImFloor_Float (float) +2 ImVec2 igImFloor_Vec2 (const ImVec2) +igImFloorSigned 2 +1 float igImFloorSigned_Float (float) +2 ImVec2 igImFloorSigned_Vec2 (const ImVec2) igImIsPowerOfTwo 2 -1 bool igImIsPowerOfTwoInt (int) -2 bool igImIsPowerOfTwoU64 (ImU64) +1 bool igImIsPowerOfTwo_Int (int) +2 bool igImIsPowerOfTwo_U64 (ImU64) igImLengthSqr 2 -1 float igImLengthSqrVec2 (const ImVec2) -2 float igImLengthSqrVec4 (const ImVec4) +1 float igImLengthSqr_Vec2 (const ImVec2) +2 float igImLengthSqr_Vec4 (const ImVec4) igImLerp 3 -1 ImVec2 igImLerpVec2Float (const ImVec2,const ImVec2,float) -2 ImVec2 igImLerpVec2Vec2 (const ImVec2,const ImVec2,const ImVec2) -3 ImVec4 igImLerpVec4 (const ImVec4,const ImVec4,float) +1 ImVec2 igImLerp_Vec2Float (const ImVec2,const ImVec2,float) +2 ImVec2 igImLerp_Vec2Vec2 (const ImVec2,const ImVec2,const ImVec2) +3 ImVec4 igImLerp_Vec4 (const ImVec4,const ImVec4,float) igImLog 2 -1 float igImLogFloat (float) -2 double igImLogdouble (double) +1 float igImLog_Float (float) +2 double igImLog_double (double) igImPow 2 -1 float igImPowFloat (float,float) -2 double igImPowdouble (double,double) +1 float igImPow_Float (float,float) +2 double igImPow_double (double,double) igImRsqrt 2 -1 float igImRsqrtFloat (float) -2 double igImRsqrtdouble (double) +1 float igImRsqrt_Float (float) +2 double igImRsqrt_double (double) igImSign 2 -1 float igImSignFloat (float) -2 double igImSigndouble (double) +1 float igImSign_Float (float) +2 double igImSign_double (double) +igIsKeyDown 2 +1 bool igIsKeyDown_Nil (ImGuiKey) +2 bool igIsKeyDown_ID (ImGuiKey,ImGuiID) +igIsKeyPressed 2 +1 bool igIsKeyPressed_Bool (ImGuiKey,bool) +2 bool igIsKeyPressed_ID (ImGuiKey,ImGuiID,ImGuiInputFlags) +igIsKeyReleased 2 +1 bool igIsKeyReleased_Nil (ImGuiKey) +2 bool igIsKeyReleased_ID (ImGuiKey,ImGuiID) +igIsMouseClicked 2 +1 bool igIsMouseClicked_Bool (ImGuiMouseButton,bool) +2 bool igIsMouseClicked_ID (ImGuiMouseButton,ImGuiID,ImGuiInputFlags) +igIsMouseDown 2 +1 bool igIsMouseDown_Nil (ImGuiMouseButton) +2 bool igIsMouseDown_ID (ImGuiMouseButton,ImGuiID) +igIsMouseReleased 2 +1 bool igIsMouseReleased_Nil (ImGuiMouseButton) +2 bool igIsMouseReleased_ID (ImGuiMouseButton,ImGuiID) igIsPopupOpen 2 -1 bool igIsPopupOpenStr (const char*,ImGuiPopupFlags) -2 bool igIsPopupOpenID (ImGuiID,ImGuiPopupFlags) +1 bool igIsPopupOpen_Str (const char*,ImGuiPopupFlags) +2 bool igIsPopupOpen_ID (ImGuiID,ImGuiPopupFlags) igIsRectVisible 2 -1 bool igIsRectVisibleNil (const ImVec2) -2 bool igIsRectVisibleVec2 (const ImVec2,const ImVec2) +1 bool igIsRectVisible_Nil (const ImVec2) +2 bool igIsRectVisible_Vec2 (const ImVec2,const ImVec2) igItemSize 2 -1 void igItemSizeVec2 (const ImVec2,float) -2 void igItemSizeRect (const ImRect,float) +1 void igItemSize_Vec2 (const ImVec2,float) +2 void igItemSize_Rect (const ImRect,float) igListBox 2 -1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int) -2 bool igListBoxFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) +1 bool igListBox_Str_arr (const char*,int*,const char* const[],int,int) +2 bool igListBox_FnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) igMarkIniSettingsDirty 2 -1 void igMarkIniSettingsDirtyNil () -2 void igMarkIniSettingsDirtyWindowPtr (ImGuiWindow*) +1 void igMarkIniSettingsDirty_Nil () +2 void igMarkIniSettingsDirty_WindowPtr (ImGuiWindow*) igMenuItem 2 -1 bool igMenuItemBool (const char*,const char*,bool,bool) -2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) +1 bool igMenuItem_Bool (const char*,const char*,bool,bool) +2 bool igMenuItem_BoolPtr (const char*,const char*,bool*,bool) igOpenPopup 2 -1 void igOpenPopupStr (const char*,ImGuiPopupFlags) -2 void igOpenPopupID (ImGuiID,ImGuiPopupFlags) +1 void igOpenPopup_Str (const char*,ImGuiPopupFlags) +2 void igOpenPopup_ID (ImGuiID,ImGuiPopupFlags) igPlotHistogram 2 -1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) -2 void igPlotHistogramFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +1 void igPlotHistogram_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) +2 void igPlotHistogram_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) igPlotLines 2 -1 void igPlotLinesFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) -2 void igPlotLinesFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +1 void igPlotLines_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) +2 void igPlotLines_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) igPushID 4 -1 void igPushIDStr (const char*) -2 void igPushIDStrStr (const char*,const char*) -3 void igPushIDPtr (const void*) -4 void igPushIDInt (int) +1 void igPushID_Str (const char*) +2 void igPushID_StrStr (const char*,const char*) +3 void igPushID_Ptr (const void*) +4 void igPushID_Int (int) igPushStyleColor 2 -1 void igPushStyleColorU32 (ImGuiCol,ImU32) -2 void igPushStyleColorVec4 (ImGuiCol,const ImVec4) +1 void igPushStyleColor_U32 (ImGuiCol,ImU32) +2 void igPushStyleColor_Vec4 (ImGuiCol,const ImVec4) igPushStyleVar 2 -1 void igPushStyleVarFloat (ImGuiStyleVar,float) -2 void igPushStyleVarVec2 (ImGuiStyleVar,const ImVec2) +1 void igPushStyleVar_Float (ImGuiStyleVar,float) +2 void igPushStyleVar_Vec2 (ImGuiStyleVar,const ImVec2) igRadioButton 2 -1 bool igRadioButtonBool (const char*,bool) -2 bool igRadioButtonIntPtr (const char*,int*,int) +1 bool igRadioButton_Bool (const char*,bool) +2 bool igRadioButton_IntPtr (const char*,int*,int) igSelectable 2 -1 bool igSelectableBool (const char*,bool,ImGuiSelectableFlags,const ImVec2) -2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2) +1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2) +2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2) igSetScrollFromPosX 2 -1 void igSetScrollFromPosXFloat (float,float) -2 void igSetScrollFromPosXWindowPtr (ImGuiWindow*,float,float) +1 void igSetScrollFromPosX_Float (float,float) +2 void igSetScrollFromPosX_WindowPtr (ImGuiWindow*,float,float) igSetScrollFromPosY 2 -1 void igSetScrollFromPosYFloat (float,float) -2 void igSetScrollFromPosYWindowPtr (ImGuiWindow*,float,float) +1 void igSetScrollFromPosY_Float (float,float) +2 void igSetScrollFromPosY_WindowPtr (ImGuiWindow*,float,float) igSetScrollX 2 -1 void igSetScrollXFloat (float) -2 void igSetScrollXWindowPtr (ImGuiWindow*,float) +1 void igSetScrollX_Float (float) +2 void igSetScrollX_WindowPtr (ImGuiWindow*,float) igSetScrollY 2 -1 void igSetScrollYFloat (float) -2 void igSetScrollYWindowPtr (ImGuiWindow*,float) +1 void igSetScrollY_Float (float) +2 void igSetScrollY_WindowPtr (ImGuiWindow*,float) igSetWindowCollapsed 3 -1 void igSetWindowCollapsedBool (bool,ImGuiCond) -2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond) -3 void igSetWindowCollapsedWindowPtr (ImGuiWindow*,bool,ImGuiCond) +1 void igSetWindowCollapsed_Bool (bool,ImGuiCond) +2 void igSetWindowCollapsed_Str (const char*,bool,ImGuiCond) +3 void igSetWindowCollapsed_WindowPtr (ImGuiWindow*,bool,ImGuiCond) igSetWindowFocus 2 -1 void igSetWindowFocusNil () -2 void igSetWindowFocusStr (const char*) +1 void igSetWindowFocus_Nil () +2 void igSetWindowFocus_Str (const char*) igSetWindowPos 3 -1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond) -2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond) -3 void igSetWindowPosWindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond) +1 void igSetWindowPos_Vec2 (const ImVec2,ImGuiCond) +2 void igSetWindowPos_Str (const char*,const ImVec2,ImGuiCond) +3 void igSetWindowPos_WindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond) igSetWindowSize 3 -1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond) -2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond) -3 void igSetWindowSizeWindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond) +1 void igSetWindowSize_Vec2 (const ImVec2,ImGuiCond) +2 void igSetWindowSize_Str (const char*,const ImVec2,ImGuiCond) +3 void igSetWindowSize_WindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond) +igTabItemCalcSize 2 +1 ImVec2 igTabItemCalcSize_Str (const char*,bool) +2 ImVec2 igTabItemCalcSize_WindowPtr (ImGuiWindow*) igTableGcCompactTransientBuffers 2 -1 void igTableGcCompactTransientBuffersTablePtr (ImGuiTable*) -2 void igTableGcCompactTransientBuffersTableTempDataPtr (ImGuiTableTempData*) +1 void igTableGcCompactTransientBuffers_TablePtr (ImGuiTable*) +2 void igTableGcCompactTransientBuffers_TableTempDataPtr (ImGuiTableTempData*) igTableGetColumnName 2 -1 const char* igTableGetColumnNameInt (int) -2 const char* igTableGetColumnNameTablePtr (const ImGuiTable*,int) +1 const char* igTableGetColumnName_Int (int) +2 const char* igTableGetColumnName_TablePtr (const ImGuiTable*,int) igTreeNode 3 -1 bool igTreeNodeStr (const char*) -2 bool igTreeNodeStrStr (const char*,const char*,...) -3 bool igTreeNodePtr (const void*,const char*,...) +1 bool igTreeNode_Str (const char*) +2 bool igTreeNode_StrStr (const char*,const char*,...) +3 bool igTreeNode_Ptr (const void*,const char*,...) igTreeNodeEx 3 -1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags) -2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...) -3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...) +1 bool igTreeNodeEx_Str (const char*,ImGuiTreeNodeFlags) +2 bool igTreeNodeEx_StrStr (const char*,ImGuiTreeNodeFlags,const char*,...) +3 bool igTreeNodeEx_Ptr (const void*,ImGuiTreeNodeFlags,const char*,...) igTreeNodeExV 2 -1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list) -2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list) +1 bool igTreeNodeExV_Str (const char*,ImGuiTreeNodeFlags,const char*,va_list) +2 bool igTreeNodeExV_Ptr (const void*,ImGuiTreeNodeFlags,const char*,va_list) igTreeNodeV 2 -1 bool igTreeNodeVStr (const char*,const char*,va_list) -2 bool igTreeNodeVPtr (const void*,const char*,va_list) +1 bool igTreeNodeV_Str (const char*,const char*,va_list) +2 bool igTreeNodeV_Ptr (const void*,const char*,va_list) igTreePush 2 -1 void igTreePushStr (const char*) -2 void igTreePushPtr (const void*) +1 void igTreePush_Str (const char*) +2 void igTreePush_Ptr (const void*) igValue 4 -1 void igValueBool (const char*,bool) -2 void igValueInt (const char*,int) -3 void igValueUint (const char*,unsigned int) -4 void igValueFloat (const char*,float,const char*) -180 overloaded \ No newline at end of file +1 void igValue_Bool (const char*,bool) +2 void igValue_Int (const char*,int) +3 void igValue_Uint (const char*,unsigned int) +4 void igValue_Float (const char*,float,const char*) +193 overloaded \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-docking/structs_and_enums.json b/imgui-sys/third-party/imgui-docking/structs_and_enums.json index aa22506..9ec24d5 100644 --- a/imgui-sys/third-party/imgui-docking/structs_and_enums.json +++ b/imgui-sys/third-party/imgui-docking/structs_and_enums.json @@ -278,6 +278,16 @@ "name": "ImGuiButtonFlags_NoHoveredOnFocus", "value": "1 << 19" }, + { + "calc_value": 1048576, + "name": "ImGuiButtonFlags_NoSetKeyOwner", + "value": "1 << 20" + }, + { + "calc_value": 2097152, + "name": "ImGuiButtonFlags_NoTestKeyOwner", + "value": "1 << 21" + }, { "calc_value": 1008, "name": "ImGuiButtonFlags_PressedOnMask_", @@ -1031,6 +1041,63 @@ "value": "10" } ], + "ImGuiDebugLogFlags_": [ + { + "calc_value": 0, + "name": "ImGuiDebugLogFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiDebugLogFlags_EventActiveId", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiDebugLogFlags_EventFocus", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiDebugLogFlags_EventPopup", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiDebugLogFlags_EventNav", + "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiDebugLogFlags_EventClipper", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiDebugLogFlags_EventIO", + "value": "1 << 5" + }, + { + "calc_value": 64, + "name": "ImGuiDebugLogFlags_EventDocking", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiDebugLogFlags_EventViewport", + "value": "1 << 7" + }, + { + "calc_value": 255, + "name": "ImGuiDebugLogFlags_EventMask_", + "value": "ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport" + }, + { + "calc_value": 1024, + "name": "ImGuiDebugLogFlags_OutputToTTY", + "value": "1 << 10" + } + ], "ImGuiDir_": [ { "calc_value": -1, @@ -1364,6 +1431,11 @@ "name": "ImGuiHoveredFlags_AllowWhenDisabled", "value": "1 << 9" }, + { + "calc_value": 1024, + "name": "ImGuiHoveredFlags_NoNavOverride", + "value": "1 << 10" + }, { "calc_value": 416, "name": "ImGuiHoveredFlags_RectOnly", @@ -1373,38 +1445,190 @@ "calc_value": 3, "name": "ImGuiHoveredFlags_RootAndChildWindows", "value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" + }, + { + "calc_value": 2048, + "name": "ImGuiHoveredFlags_DelayNormal", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiHoveredFlags_DelayShort", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiHoveredFlags_NoSharedDelay", + "value": "1 << 13" } ], - "ImGuiInputReadMode": [ + "ImGuiInputEventType": [ { "calc_value": 0, - "name": "ImGuiInputReadMode_Down", + "name": "ImGuiInputEventType_None", "value": "0" }, { "calc_value": 1, - "name": "ImGuiInputReadMode_Pressed", + "name": "ImGuiInputEventType_MousePos", "value": "1" }, { "calc_value": 2, - "name": "ImGuiInputReadMode_Released", + "name": "ImGuiInputEventType_MouseWheel", "value": "2" }, { "calc_value": 3, - "name": "ImGuiInputReadMode_Repeat", + "name": "ImGuiInputEventType_MouseButton", "value": "3" }, { "calc_value": 4, - "name": "ImGuiInputReadMode_RepeatSlow", + "name": "ImGuiInputEventType_MouseViewport", "value": "4" }, { "calc_value": 5, - "name": "ImGuiInputReadMode_RepeatFast", + "name": "ImGuiInputEventType_Key", "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiInputEventType_Text", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiInputEventType_Focus", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiInputEventType_COUNT", + "value": "8" + } + ], + "ImGuiInputFlags_": [ + { + "calc_value": 0, + "name": "ImGuiInputFlags_None", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiInputFlags_Repeat", + "value": "1 << 0" + }, + { + "calc_value": 2, + "name": "ImGuiInputFlags_RepeatRateDefault", + "value": "1 << 1" + }, + { + "calc_value": 4, + "name": "ImGuiInputFlags_RepeatRateNavMove", + "value": "1 << 2" + }, + { + "calc_value": 8, + "name": "ImGuiInputFlags_RepeatRateNavTweak", + "value": "1 << 3" + }, + { + "calc_value": 14, + "name": "ImGuiInputFlags_RepeatRateMask_", + "value": "ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak" + }, + { + "calc_value": 16, + "name": "ImGuiInputFlags_CondHovered", + "value": "1 << 4" + }, + { + "calc_value": 32, + "name": "ImGuiInputFlags_CondActive", + "value": "1 << 5" + }, + { + "calc_value": 48, + "name": "ImGuiInputFlags_CondDefault_", + "value": "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" + }, + { + "calc_value": 48, + "name": "ImGuiInputFlags_CondMask_", + "value": "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" + }, + { + "calc_value": 64, + "name": "ImGuiInputFlags_LockThisFrame", + "value": "1 << 6" + }, + { + "calc_value": 128, + "name": "ImGuiInputFlags_LockUntilRelease", + "value": "1 << 7" + }, + { + "calc_value": 256, + "name": "ImGuiInputFlags_RouteFocused", + "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiInputFlags_RouteGlobalLow", + "value": "1 << 9" + }, + { + "calc_value": 1024, + "name": "ImGuiInputFlags_RouteGlobal", + "value": "1 << 10" + }, + { + "calc_value": 2048, + "name": "ImGuiInputFlags_RouteGlobalHigh", + "value": "1 << 11" + }, + { + "calc_value": 3840, + "name": "ImGuiInputFlags_RouteMask_", + "value": "ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh" + }, + { + "calc_value": 4096, + "name": "ImGuiInputFlags_RouteAlways", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiInputFlags_RouteUnlessBgFocused", + "value": "1 << 13" + }, + { + "calc_value": 12288, + "name": "ImGuiInputFlags_RouteExtraMask_", + "value": "ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused" + }, + { + "calc_value": 15, + "name": "ImGuiInputFlags_SupportedByIsKeyPressed", + "value": "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_" + }, + { + "calc_value": 16143, + "name": "ImGuiInputFlags_SupportedByShortcut", + "value": "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteExtraMask_" + }, + { + "calc_value": 192, + "name": "ImGuiInputFlags_SupportedBySetKeyOwner", + "value": "ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease" + }, + { + "calc_value": 240, + "name": "ImGuiInputFlags_SupportedBySetItemKeyOwner", + "value": "ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_" } ], "ImGuiInputSource": [ @@ -1430,12 +1654,12 @@ }, { "calc_value": 4, - "name": "ImGuiInputSource_Nav", + "name": "ImGuiInputSource_Clipboard", "value": "4" }, { "calc_value": 5, - "name": "ImGuiInputSource_Clipboard", + "name": "ImGuiInputSource_Nav", "value": "5" }, { @@ -1566,6 +1790,11 @@ "calc_value": 524288, "name": "ImGuiInputTextFlags_CallbackEdit", "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiInputTextFlags_EscapeClearsAll", + "value": "1 << 20" } ], "ImGuiItemFlags_": [ @@ -1616,8 +1845,13 @@ }, { "calc_value": 256, - "name": "ImGuiItemFlags_Inputable", + "name": "ImGuiItemFlags_NoWindowHoverableCheck", "value": "1 << 8" + }, + { + "calc_value": 1024, + "name": "ImGuiItemFlags_Inputable", + "value": "1 << 10" } ], "ImGuiItemStatusFlags_": [ @@ -1670,150 +1904,783 @@ "calc_value": 256, "name": "ImGuiItemStatusFlags_FocusedByTabbing", "value": "1 << 8" + }, + { + "calc_value": 512, + "name": "ImGuiItemStatusFlags_Visible", + "value": "1 << 9" } ], - "ImGuiKeyModFlags_": [ + "ImGuiKey": [ { "calc_value": 0, - "name": "ImGuiKeyModFlags_None", + "name": "ImGuiKey_None", "value": "0" }, { - "calc_value": 1, - "name": "ImGuiKeyModFlags_Ctrl", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiKeyModFlags_Shift", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiKeyModFlags_Alt", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiKeyModFlags_Super", - "value": "1 << 3" - } - ], - "ImGuiKey_": [ - { - "calc_value": 0, + "calc_value": 512, "name": "ImGuiKey_Tab", + "value": "512" + }, + { + "calc_value": 513, + "name": "ImGuiKey_LeftArrow", + "value": "513" + }, + { + "calc_value": 514, + "name": "ImGuiKey_RightArrow", + "value": "514" + }, + { + "calc_value": 515, + "name": "ImGuiKey_UpArrow", + "value": "515" + }, + { + "calc_value": 516, + "name": "ImGuiKey_DownArrow", + "value": "516" + }, + { + "calc_value": 517, + "name": "ImGuiKey_PageUp", + "value": "517" + }, + { + "calc_value": 518, + "name": "ImGuiKey_PageDown", + "value": "518" + }, + { + "calc_value": 519, + "name": "ImGuiKey_Home", + "value": "519" + }, + { + "calc_value": 520, + "name": "ImGuiKey_End", + "value": "520" + }, + { + "calc_value": 521, + "name": "ImGuiKey_Insert", + "value": "521" + }, + { + "calc_value": 522, + "name": "ImGuiKey_Delete", + "value": "522" + }, + { + "calc_value": 523, + "name": "ImGuiKey_Backspace", + "value": "523" + }, + { + "calc_value": 524, + "name": "ImGuiKey_Space", + "value": "524" + }, + { + "calc_value": 525, + "name": "ImGuiKey_Enter", + "value": "525" + }, + { + "calc_value": 526, + "name": "ImGuiKey_Escape", + "value": "526" + }, + { + "calc_value": 527, + "name": "ImGuiKey_LeftCtrl", + "value": "527" + }, + { + "calc_value": 528, + "name": "ImGuiKey_LeftShift", + "value": "528" + }, + { + "calc_value": 529, + "name": "ImGuiKey_LeftAlt", + "value": "529" + }, + { + "calc_value": 530, + "name": "ImGuiKey_LeftSuper", + "value": "530" + }, + { + "calc_value": 531, + "name": "ImGuiKey_RightCtrl", + "value": "531" + }, + { + "calc_value": 532, + "name": "ImGuiKey_RightShift", + "value": "532" + }, + { + "calc_value": 533, + "name": "ImGuiKey_RightAlt", + "value": "533" + }, + { + "calc_value": 534, + "name": "ImGuiKey_RightSuper", + "value": "534" + }, + { + "calc_value": 535, + "name": "ImGuiKey_Menu", + "value": "535" + }, + { + "calc_value": 536, + "name": "ImGuiKey_0", + "value": "536" + }, + { + "calc_value": 537, + "name": "ImGuiKey_1", + "value": "537" + }, + { + "calc_value": 538, + "name": "ImGuiKey_2", + "value": "538" + }, + { + "calc_value": 539, + "name": "ImGuiKey_3", + "value": "539" + }, + { + "calc_value": 540, + "name": "ImGuiKey_4", + "value": "540" + }, + { + "calc_value": 541, + "name": "ImGuiKey_5", + "value": "541" + }, + { + "calc_value": 542, + "name": "ImGuiKey_6", + "value": "542" + }, + { + "calc_value": 543, + "name": "ImGuiKey_7", + "value": "543" + }, + { + "calc_value": 544, + "name": "ImGuiKey_8", + "value": "544" + }, + { + "calc_value": 545, + "name": "ImGuiKey_9", + "value": "545" + }, + { + "calc_value": 546, + "name": "ImGuiKey_A", + "value": "546" + }, + { + "calc_value": 547, + "name": "ImGuiKey_B", + "value": "547" + }, + { + "calc_value": 548, + "name": "ImGuiKey_C", + "value": "548" + }, + { + "calc_value": 549, + "name": "ImGuiKey_D", + "value": "549" + }, + { + "calc_value": 550, + "name": "ImGuiKey_E", + "value": "550" + }, + { + "calc_value": 551, + "name": "ImGuiKey_F", + "value": "551" + }, + { + "calc_value": 552, + "name": "ImGuiKey_G", + "value": "552" + }, + { + "calc_value": 553, + "name": "ImGuiKey_H", + "value": "553" + }, + { + "calc_value": 554, + "name": "ImGuiKey_I", + "value": "554" + }, + { + "calc_value": 555, + "name": "ImGuiKey_J", + "value": "555" + }, + { + "calc_value": 556, + "name": "ImGuiKey_K", + "value": "556" + }, + { + "calc_value": 557, + "name": "ImGuiKey_L", + "value": "557" + }, + { + "calc_value": 558, + "name": "ImGuiKey_M", + "value": "558" + }, + { + "calc_value": 559, + "name": "ImGuiKey_N", + "value": "559" + }, + { + "calc_value": 560, + "name": "ImGuiKey_O", + "value": "560" + }, + { + "calc_value": 561, + "name": "ImGuiKey_P", + "value": "561" + }, + { + "calc_value": 562, + "name": "ImGuiKey_Q", + "value": "562" + }, + { + "calc_value": 563, + "name": "ImGuiKey_R", + "value": "563" + }, + { + "calc_value": 564, + "name": "ImGuiKey_S", + "value": "564" + }, + { + "calc_value": 565, + "name": "ImGuiKey_T", + "value": "565" + }, + { + "calc_value": 566, + "name": "ImGuiKey_U", + "value": "566" + }, + { + "calc_value": 567, + "name": "ImGuiKey_V", + "value": "567" + }, + { + "calc_value": 568, + "name": "ImGuiKey_W", + "value": "568" + }, + { + "calc_value": 569, + "name": "ImGuiKey_X", + "value": "569" + }, + { + "calc_value": 570, + "name": "ImGuiKey_Y", + "value": "570" + }, + { + "calc_value": 571, + "name": "ImGuiKey_Z", + "value": "571" + }, + { + "calc_value": 572, + "name": "ImGuiKey_F1", + "value": "572" + }, + { + "calc_value": 573, + "name": "ImGuiKey_F2", + "value": "573" + }, + { + "calc_value": 574, + "name": "ImGuiKey_F3", + "value": "574" + }, + { + "calc_value": 575, + "name": "ImGuiKey_F4", + "value": "575" + }, + { + "calc_value": 576, + "name": "ImGuiKey_F5", + "value": "576" + }, + { + "calc_value": 577, + "name": "ImGuiKey_F6", + "value": "577" + }, + { + "calc_value": 578, + "name": "ImGuiKey_F7", + "value": "578" + }, + { + "calc_value": 579, + "name": "ImGuiKey_F8", + "value": "579" + }, + { + "calc_value": 580, + "name": "ImGuiKey_F9", + "value": "580" + }, + { + "calc_value": 581, + "name": "ImGuiKey_F10", + "value": "581" + }, + { + "calc_value": 582, + "name": "ImGuiKey_F11", + "value": "582" + }, + { + "calc_value": 583, + "name": "ImGuiKey_F12", + "value": "583" + }, + { + "calc_value": 584, + "name": "ImGuiKey_Apostrophe", + "value": "584" + }, + { + "calc_value": 585, + "name": "ImGuiKey_Comma", + "value": "585" + }, + { + "calc_value": 586, + "name": "ImGuiKey_Minus", + "value": "586" + }, + { + "calc_value": 587, + "name": "ImGuiKey_Period", + "value": "587" + }, + { + "calc_value": 588, + "name": "ImGuiKey_Slash", + "value": "588" + }, + { + "calc_value": 589, + "name": "ImGuiKey_Semicolon", + "value": "589" + }, + { + "calc_value": 590, + "name": "ImGuiKey_Equal", + "value": "590" + }, + { + "calc_value": 591, + "name": "ImGuiKey_LeftBracket", + "value": "591" + }, + { + "calc_value": 592, + "name": "ImGuiKey_Backslash", + "value": "592" + }, + { + "calc_value": 593, + "name": "ImGuiKey_RightBracket", + "value": "593" + }, + { + "calc_value": 594, + "name": "ImGuiKey_GraveAccent", + "value": "594" + }, + { + "calc_value": 595, + "name": "ImGuiKey_CapsLock", + "value": "595" + }, + { + "calc_value": 596, + "name": "ImGuiKey_ScrollLock", + "value": "596" + }, + { + "calc_value": 597, + "name": "ImGuiKey_NumLock", + "value": "597" + }, + { + "calc_value": 598, + "name": "ImGuiKey_PrintScreen", + "value": "598" + }, + { + "calc_value": 599, + "name": "ImGuiKey_Pause", + "value": "599" + }, + { + "calc_value": 600, + "name": "ImGuiKey_Keypad0", + "value": "600" + }, + { + "calc_value": 601, + "name": "ImGuiKey_Keypad1", + "value": "601" + }, + { + "calc_value": 602, + "name": "ImGuiKey_Keypad2", + "value": "602" + }, + { + "calc_value": 603, + "name": "ImGuiKey_Keypad3", + "value": "603" + }, + { + "calc_value": 604, + "name": "ImGuiKey_Keypad4", + "value": "604" + }, + { + "calc_value": 605, + "name": "ImGuiKey_Keypad5", + "value": "605" + }, + { + "calc_value": 606, + "name": "ImGuiKey_Keypad6", + "value": "606" + }, + { + "calc_value": 607, + "name": "ImGuiKey_Keypad7", + "value": "607" + }, + { + "calc_value": 608, + "name": "ImGuiKey_Keypad8", + "value": "608" + }, + { + "calc_value": 609, + "name": "ImGuiKey_Keypad9", + "value": "609" + }, + { + "calc_value": 610, + "name": "ImGuiKey_KeypadDecimal", + "value": "610" + }, + { + "calc_value": 611, + "name": "ImGuiKey_KeypadDivide", + "value": "611" + }, + { + "calc_value": 612, + "name": "ImGuiKey_KeypadMultiply", + "value": "612" + }, + { + "calc_value": 613, + "name": "ImGuiKey_KeypadSubtract", + "value": "613" + }, + { + "calc_value": 614, + "name": "ImGuiKey_KeypadAdd", + "value": "614" + }, + { + "calc_value": 615, + "name": "ImGuiKey_KeypadEnter", + "value": "615" + }, + { + "calc_value": 616, + "name": "ImGuiKey_KeypadEqual", + "value": "616" + }, + { + "calc_value": 617, + "name": "ImGuiKey_GamepadStart", + "value": "617" + }, + { + "calc_value": 618, + "name": "ImGuiKey_GamepadBack", + "value": "618" + }, + { + "calc_value": 619, + "name": "ImGuiKey_GamepadFaceLeft", + "value": "619" + }, + { + "calc_value": 620, + "name": "ImGuiKey_GamepadFaceRight", + "value": "620" + }, + { + "calc_value": 621, + "name": "ImGuiKey_GamepadFaceUp", + "value": "621" + }, + { + "calc_value": 622, + "name": "ImGuiKey_GamepadFaceDown", + "value": "622" + }, + { + "calc_value": 623, + "name": "ImGuiKey_GamepadDpadLeft", + "value": "623" + }, + { + "calc_value": 624, + "name": "ImGuiKey_GamepadDpadRight", + "value": "624" + }, + { + "calc_value": 625, + "name": "ImGuiKey_GamepadDpadUp", + "value": "625" + }, + { + "calc_value": 626, + "name": "ImGuiKey_GamepadDpadDown", + "value": "626" + }, + { + "calc_value": 627, + "name": "ImGuiKey_GamepadL1", + "value": "627" + }, + { + "calc_value": 628, + "name": "ImGuiKey_GamepadR1", + "value": "628" + }, + { + "calc_value": 629, + "name": "ImGuiKey_GamepadL2", + "value": "629" + }, + { + "calc_value": 630, + "name": "ImGuiKey_GamepadR2", + "value": "630" + }, + { + "calc_value": 631, + "name": "ImGuiKey_GamepadL3", + "value": "631" + }, + { + "calc_value": 632, + "name": "ImGuiKey_GamepadR3", + "value": "632" + }, + { + "calc_value": 633, + "name": "ImGuiKey_GamepadLStickLeft", + "value": "633" + }, + { + "calc_value": 634, + "name": "ImGuiKey_GamepadLStickRight", + "value": "634" + }, + { + "calc_value": 635, + "name": "ImGuiKey_GamepadLStickUp", + "value": "635" + }, + { + "calc_value": 636, + "name": "ImGuiKey_GamepadLStickDown", + "value": "636" + }, + { + "calc_value": 637, + "name": "ImGuiKey_GamepadRStickLeft", + "value": "637" + }, + { + "calc_value": 638, + "name": "ImGuiKey_GamepadRStickRight", + "value": "638" + }, + { + "calc_value": 639, + "name": "ImGuiKey_GamepadRStickUp", + "value": "639" + }, + { + "calc_value": 640, + "name": "ImGuiKey_GamepadRStickDown", + "value": "640" + }, + { + "calc_value": 641, + "name": "ImGuiKey_MouseLeft", + "value": "641" + }, + { + "calc_value": 642, + "name": "ImGuiKey_MouseRight", + "value": "642" + }, + { + "calc_value": 643, + "name": "ImGuiKey_MouseMiddle", + "value": "643" + }, + { + "calc_value": 644, + "name": "ImGuiKey_MouseX1", + "value": "644" + }, + { + "calc_value": 645, + "name": "ImGuiKey_MouseX2", + "value": "645" + }, + { + "calc_value": 646, + "name": "ImGuiKey_MouseWheelX", + "value": "646" + }, + { + "calc_value": 647, + "name": "ImGuiKey_MouseWheelY", + "value": "647" + }, + { + "calc_value": 648, + "name": "ImGuiKey_ReservedForModCtrl", + "value": "648" + }, + { + "calc_value": 649, + "name": "ImGuiKey_ReservedForModShift", + "value": "649" + }, + { + "calc_value": 650, + "name": "ImGuiKey_ReservedForModAlt", + "value": "650" + }, + { + "calc_value": 651, + "name": "ImGuiKey_ReservedForModSuper", + "value": "651" + }, + { + "calc_value": 652, + "name": "ImGuiKey_COUNT", + "value": "652" + }, + { + "calc_value": 0, + "name": "ImGuiMod_None", "value": "0" }, { - "calc_value": 1, - "name": "ImGuiKey_LeftArrow", - "value": "1" + "calc_value": 4096, + "name": "ImGuiMod_Ctrl", + "value": "1 << 12" }, { - "calc_value": 2, - "name": "ImGuiKey_RightArrow", - "value": "2" + "calc_value": 8192, + "name": "ImGuiMod_Shift", + "value": "1 << 13" }, { - "calc_value": 3, - "name": "ImGuiKey_UpArrow", - "value": "3" + "calc_value": 16384, + "name": "ImGuiMod_Alt", + "value": "1 << 14" }, { - "calc_value": 4, - "name": "ImGuiKey_DownArrow", - "value": "4" + "calc_value": 32768, + "name": "ImGuiMod_Super", + "value": "1 << 15" }, { - "calc_value": 5, - "name": "ImGuiKey_PageUp", - "value": "5" + "calc_value": 61440, + "name": "ImGuiMod_Mask_", + "value": "0xF000" }, { - "calc_value": 6, - "name": "ImGuiKey_PageDown", - "value": "6" + "calc_value": 4096, + "name": "ImGuiMod_Shortcut", + "value": "ImGuiMod_Ctrl" }, { - "calc_value": 7, - "name": "ImGuiKey_Home", - "value": "7" + "calc_value": 512, + "name": "ImGuiKey_NamedKey_BEGIN", + "value": "512" }, { - "calc_value": 8, - "name": "ImGuiKey_End", - "value": "8" + "calc_value": 652, + "name": "ImGuiKey_NamedKey_END", + "value": "ImGuiKey_COUNT" }, { - "calc_value": 9, - "name": "ImGuiKey_Insert", - "value": "9" + "calc_value": 140, + "name": "ImGuiKey_NamedKey_COUNT", + "value": "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN" }, { - "calc_value": 10, - "name": "ImGuiKey_Delete", - "value": "10" + "calc_value": 652, + "name": "ImGuiKey_KeysData_SIZE", + "value": "ImGuiKey_COUNT" }, { - "calc_value": 11, - "name": "ImGuiKey_Backspace", - "value": "11" - }, - { - "calc_value": 12, - "name": "ImGuiKey_Space", - "value": "12" - }, - { - "calc_value": 13, - "name": "ImGuiKey_Enter", - "value": "13" - }, - { - "calc_value": 14, - "name": "ImGuiKey_Escape", - "value": "14" - }, - { - "calc_value": 15, - "name": "ImGuiKey_KeyPadEnter", - "value": "15" - }, - { - "calc_value": 16, - "name": "ImGuiKey_A", - "value": "16" - }, - { - "calc_value": 17, - "name": "ImGuiKey_C", - "value": "17" - }, - { - "calc_value": 18, - "name": "ImGuiKey_V", - "value": "18" - }, - { - "calc_value": 19, - "name": "ImGuiKey_X", - "value": "19" - }, - { - "calc_value": 20, - "name": "ImGuiKey_Y", - "value": "20" - }, - { - "calc_value": 21, - "name": "ImGuiKey_Z", - "value": "21" - }, - { - "calc_value": 22, - "name": "ImGuiKey_COUNT", - "value": "22" + "calc_value": 0, + "name": "ImGuiKey_KeysData_OFFSET", + "value": "0" } ], "ImGuiLayoutType_": [ @@ -1828,6 +2695,53 @@ "value": "1" } ], + "ImGuiLocKey": [ + { + "calc_value": 0, + "name": "ImGuiLocKey_TableSizeOne", + "value": "0" + }, + { + "calc_value": 1, + "name": "ImGuiLocKey_TableSizeAllFit", + "value": "1" + }, + { + "calc_value": 2, + "name": "ImGuiLocKey_TableSizeAllDefault", + "value": "2" + }, + { + "calc_value": 3, + "name": "ImGuiLocKey_TableResetOrder", + "value": "3" + }, + { + "calc_value": 4, + "name": "ImGuiLocKey_WindowingMainMenuBar", + "value": "4" + }, + { + "calc_value": 5, + "name": "ImGuiLocKey_WindowingPopup", + "value": "5" + }, + { + "calc_value": 6, + "name": "ImGuiLocKey_WindowingUntitled", + "value": "6" + }, + { + "calc_value": 7, + "name": "ImGuiLocKey_DockingHideTabBar", + "value": "7" + }, + { + "calc_value": 8, + "name": "ImGuiLocKey_COUNT", + "value": "8" + } + ], "ImGuiLogType": [ { "calc_value": 0, @@ -1934,33 +2848,6 @@ "value": "9" } ], - "ImGuiNavDirSourceFlags_": [ - { - "calc_value": 0, - "name": "ImGuiNavDirSourceFlags_None", - "value": "0" - }, - { - "calc_value": 1, - "name": "ImGuiNavDirSourceFlags_RawKeyboard", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiNavDirSourceFlags_Keyboard", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiNavDirSourceFlags_PadDPad", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiNavDirSourceFlags_PadLStick", - "value": "1 << 3" - } - ], "ImGuiNavHighlightFlags_": [ { "calc_value": 0, @@ -1988,7 +2875,7 @@ "value": "1 << 3" } ], - "ImGuiNavInput_": [ + "ImGuiNavInput": [ { "calc_value": 0, "name": "ImGuiNavInput_Activate", @@ -2071,33 +2958,8 @@ }, { "calc_value": 16, - "name": "ImGuiNavInput_KeyLeft_", - "value": "16" - }, - { - "calc_value": 17, - "name": "ImGuiNavInput_KeyRight_", - "value": "17" - }, - { - "calc_value": 18, - "name": "ImGuiNavInput_KeyUp_", - "value": "18" - }, - { - "calc_value": 19, - "name": "ImGuiNavInput_KeyDown_", - "value": "19" - }, - { - "calc_value": 20, "name": "ImGuiNavInput_COUNT", - "value": "20" - }, - { - "calc_value": 16, - "name": "ImGuiNavInput_InternalStart_", - "value": "ImGuiNavInput_KeyLeft_" + "value": "16" } ], "ImGuiNavLayer": [ @@ -2478,6 +3340,11 @@ "calc_value": 134217728, "name": "ImGuiSelectableFlags_NoPadWithHalfSpacing", "value": "1 << 27" + }, + { + "calc_value": 268435456, + "name": "ImGuiSelectableFlags_NoSetKeyOwner", + "value": "1 << 28" } ], "ImGuiSelectableFlags_": [ @@ -3613,166 +4480,186 @@ } ] }, - "enumtypes": [], + "enumtypes": { + "ImGuiKey": "int", + "ImGuiLocKey": "int" + }, "locations": { - "ImBitVector": "imgui_internal:570", - "ImColor": "imgui:2347", - "ImDrawChannel": "imgui:2437", - "ImDrawCmd": "imgui:2396", - "ImDrawCmdHeader": "imgui:2429", - "ImDrawData": "imgui:2627", - "ImDrawDataBuilder": "imgui_internal:743", - "ImDrawFlags_": "imgui:2463", - "ImDrawList": "imgui:2501", - "ImDrawListFlags_": "imgui:2483", - "ImDrawListSharedData": "imgui_internal:723", - "ImDrawListSplitter": "imgui:2446", - "ImDrawVert": "imgui:2414", - "ImFont": "imgui:2846", - "ImFontAtlas": "imgui:2744", - "ImFontAtlasCustomRect": "imgui:2706", - "ImFontAtlasFlags_": "imgui:2719", - "ImFontBuilderIO": "imgui_internal:3101", - "ImFontConfig": "imgui:2650", - "ImFontGlyph": "imgui:2679", - "ImFontGlyphRangesBuilder": "imgui:2691", - "ImGuiActivateFlags_": "imgui_internal:1227", - "ImGuiAxis": "imgui_internal:899", - "ImGuiBackendFlags_": "imgui:1512", - "ImGuiButtonFlagsPrivate_": "imgui_internal:806", - "ImGuiButtonFlags_": "imgui:1626", - "ImGuiCol_": "imgui:1527", - "ImGuiColorEditFlags_": "imgui:1639", - "ImGuiColorMod": "imgui_internal:964", - "ImGuiComboFlagsPrivate_": "imgui_internal:829", - "ImGuiComboFlags_": "imgui:1122", - "ImGuiComboPreviewData": "imgui_internal:981", - "ImGuiCond_": "imgui:1731", - "ImGuiConfigFlags_": "imgui:1487", - "ImGuiContext": "imgui_internal:1670", - "ImGuiContextHook": "imgui_internal:1655", - "ImGuiContextHookType": "imgui_internal:1653", - "ImGuiDataAuthority_": "imgui_internal:1404", - "ImGuiDataTypeInfo": "imgui_internal:947", - "ImGuiDataTypePrivate_": "imgui_internal:956", - "ImGuiDataTypeTempStorage": "imgui_internal:941", - "ImGuiDataType_": "imgui:1380", - "ImGuiDir_": "imgui:1396", - "ImGuiDockContext": "imgui_internal:1502", - "ImGuiDockNode": "imgui_internal:1420", - "ImGuiDockNodeFlagsPrivate_": "imgui_internal:1379", - "ImGuiDockNodeFlags_": "imgui:1345", - "ImGuiDockNodeState": "imgui_internal:1411", - "ImGuiDragDropFlags_": "imgui:1358", - "ImGuiFocusedFlags_": "imgui:1311", - "ImGuiGroupData": "imgui_internal:994", - "ImGuiHoveredFlags_": "imgui:1325", - "ImGuiIO": "imgui:1897", - "ImGuiInputReadMode": "imgui_internal:924", - "ImGuiInputSource": "imgui_internal:912", - "ImGuiInputTextCallbackData": "imgui:2054", - "ImGuiInputTextFlagsPrivate_": "imgui_internal:797", - "ImGuiInputTextFlags_": "imgui:1035", - "ImGuiInputTextState": "imgui_internal:1029", - "ImGuiItemFlags_": "imgui_internal:759", - "ImGuiItemStatusFlags_": "imgui_internal:774", - "ImGuiKeyModFlags_": "imgui:1443", - "ImGuiKey_": "imgui:1415", - "ImGuiLastItemData": "imgui_internal:1142", - "ImGuiLayoutType_": "imgui_internal:883", - "ImGuiListClipper": "imgui:2299", - "ImGuiListClipperData": "imgui_internal:1211", - "ImGuiListClipperRange": "imgui_internal:1198", - "ImGuiLogType": "imgui_internal:889", - "ImGuiMenuColumns": "imgui_internal:1010", - "ImGuiMetricsConfig": "imgui_internal:1601", - "ImGuiMouseButton_": "imgui:1703", - "ImGuiMouseCursor_": "imgui:1713", - "ImGuiNavDirSourceFlags_": "imgui_internal:1259", - "ImGuiNavHighlightFlags_": "imgui_internal:1250", - "ImGuiNavInput_": "imgui:1456", - "ImGuiNavItemData": "imgui_internal:1293", - "ImGuiNavLayer": "imgui_internal:1286", - "ImGuiNavMoveFlags_": "imgui_internal:1268", - "ImGuiNextItemData": "imgui_internal:1129", - "ImGuiNextItemDataFlags_": "imgui_internal:1122", - "ImGuiNextWindowData": "imgui_internal:1095", - "ImGuiNextWindowDataFlags_": "imgui_internal:1078", - "ImGuiOldColumnData": "imgui_internal:1333", - "ImGuiOldColumnFlags_": "imgui_internal:1313", - "ImGuiOldColumns": "imgui_internal:1343", - "ImGuiOnceUponAFrame": "imgui:2174", - "ImGuiPayload": "imgui:2115", - "ImGuiPlatformIO": "imgui:3009", - "ImGuiPlatformMonitor": "imgui:3073", - "ImGuiPlotType": "imgui_internal:906", - "ImGuiPopupData": "imgui_internal:1065", - "ImGuiPopupFlags_": "imgui:1095", - "ImGuiPopupPositionPolicy": "imgui_internal:934", - "ImGuiPtrOrIndex": "imgui_internal:1185", - "ImGuiScrollFlags_": "imgui_internal:1236", - "ImGuiSelectableFlagsPrivate_": "imgui_internal:842", - "ImGuiSelectableFlags_": "imgui:1111", - "ImGuiSeparatorFlags_": "imgui_internal:861", - "ImGuiSettingsHandler": "imgui_internal:1582", - "ImGuiShrinkWidthItem": "imgui_internal:1179", - "ImGuiSizeCallbackData": "imgui:2085", - "ImGuiSliderFlagsPrivate_": "imgui_internal:835", - "ImGuiSliderFlags_": "imgui:1686", - "ImGuiSortDirection_": "imgui:1407", - "ImGuiStackLevelInfo": "imgui_internal:1627", - "ImGuiStackSizes": "imgui_internal:1154", - "ImGuiStackTool": "imgui_internal:1638", - "ImGuiStorage": "imgui:2236", - "ImGuiStoragePair": "imgui:2239", - "ImGuiStyle": "imgui:1842", - "ImGuiStyleMod": "imgui_internal:971", - "ImGuiStyleVar_": "imgui:1594", - "ImGuiTabBar": "imgui_internal:2334", - "ImGuiTabBarFlagsPrivate_": "imgui_internal:2297", - "ImGuiTabBarFlags_": "imgui:1136", - "ImGuiTabItem": "imgui_internal:2315", - "ImGuiTabItemFlagsPrivate_": "imgui_internal:2305", - "ImGuiTabItemFlags_": "imgui:1152", - "ImGuiTable": "imgui_internal:2461", - "ImGuiTableBgTarget_": "imgui:1302", - "ImGuiTableCellData": "imgui_internal:2454", - "ImGuiTableColumn": "imgui_internal:2395", - "ImGuiTableColumnFlags_": "imgui:1245", - "ImGuiTableColumnSettings": "imgui_internal:2595", - "ImGuiTableColumnSortSpecs": "imgui:2137", - "ImGuiTableFlags_": "imgui:1188", - "ImGuiTableRowFlags_": "imgui:1287", - "ImGuiTableSettings": "imgui_internal:2619", - "ImGuiTableSortSpecs": "imgui:2151", - "ImGuiTableTempData": "imgui_internal:2574", - "ImGuiTextBuffer": "imgui:2209", - "ImGuiTextFilter": "imgui:2182", - "ImGuiTextFlags_": "imgui_internal:869", - "ImGuiTextRange": "imgui:2192", - "ImGuiTooltipFlags_": "imgui_internal:875", - "ImGuiTreeNodeFlagsPrivate_": "imgui_internal:856", - "ImGuiTreeNodeFlags_": "imgui:1066", - "ImGuiViewport": "imgui:2927", - "ImGuiViewportFlags_": "imgui:2902", - "ImGuiViewportP": "imgui_internal:1519", - "ImGuiWindow": "imgui_internal:2153", - "ImGuiWindowClass": "imgui:2100", - "ImGuiWindowDockStyle": "imgui_internal:1497", - "ImGuiWindowDockStyleCol": "imgui_internal:1486", - "ImGuiWindowFlags_": "imgui:992", - "ImGuiWindowSettings": "imgui_internal:1565", - "ImGuiWindowStackData": "imgui_internal:1172", - "ImGuiWindowTempData": "imgui_internal:2106", - "ImRect": "imgui_internal:499", - "ImVec1": "imgui_internal:481", - "ImVec2": "imgui:266", - "ImVec2ih": "imgui_internal:489", - "ImVec4": "imgui:279", - "STB_TexteditState": "imstb_textedit:317", - "StbTexteditRow": "imstb_textedit:364", - "StbUndoRecord": "imstb_textedit:299", - "StbUndoState": "imstb_textedit:308" + "ImBitVector": "imgui_internal:593", + "ImColor": "imgui:2458", + "ImDrawChannel": "imgui:2548", + "ImDrawCmd": "imgui:2507", + "ImDrawCmdHeader": "imgui:2540", + "ImDrawData": "imgui:2740", + "ImDrawDataBuilder": "imgui_internal:782", + "ImDrawFlags_": "imgui:2574", + "ImDrawList": "imgui:2612", + "ImDrawListFlags_": "imgui:2594", + "ImDrawListSharedData": "imgui_internal:759", + "ImDrawListSplitter": "imgui:2557", + "ImDrawVert": "imgui:2525", + "ImFont": "imgui:2959", + "ImFontAtlas": "imgui:2857", + "ImFontAtlasCustomRect": "imgui:2819", + "ImFontAtlasFlags_": "imgui:2832", + "ImFontBuilderIO": "imgui_internal:3476", + "ImFontConfig": "imgui:2763", + "ImFontGlyph": "imgui:2792", + "ImFontGlyphRangesBuilder": "imgui:2804", + "ImGuiActivateFlags_": "imgui_internal:1428", + "ImGuiAxis": "imgui_internal:949", + "ImGuiBackendFlags_": "imgui:1579", + "ImGuiButtonFlagsPrivate_": "imgui_internal:853", + "ImGuiButtonFlags_": "imgui:1693", + "ImGuiCol_": "imgui:1594", + "ImGuiColorEditFlags_": "imgui:1706", + "ImGuiColorMod": "imgui_internal:992", + "ImGuiComboFlagsPrivate_": "imgui_internal:878", + "ImGuiComboFlags_": "imgui:1124", + "ImGuiComboPreviewData": "imgui_internal:1009", + "ImGuiCond_": "imgui:1797", + "ImGuiConfigFlags_": "imgui:1554", + "ImGuiContext": "imgui_internal:1905", + "ImGuiContextHook": "imgui_internal:1890", + "ImGuiContextHookType": "imgui_internal:1888", + "ImGuiDataAuthority_": "imgui_internal:1599", + "ImGuiDataTypeInfo": "imgui_internal:975", + "ImGuiDataTypePrivate_": "imgui_internal:984", + "ImGuiDataTypeTempStorage": "imgui_internal:969", + "ImGuiDataType_": "imgui:1376", + "ImGuiDebugLogFlags_": "imgui_internal:1820", + "ImGuiDir_": "imgui:1392", + "ImGuiDockContext": "imgui_internal:1697", + "ImGuiDockNode": "imgui_internal:1615", + "ImGuiDockNodeFlagsPrivate_": "imgui_internal:1574", + "ImGuiDockNodeFlags_": "imgui:1341", + "ImGuiDockNodeState": "imgui_internal:1606", + "ImGuiDragDropFlags_": "imgui:1354", + "ImGuiFocusedFlags_": "imgui:1301", + "ImGuiGroupData": "imgui_internal:1022", + "ImGuiHoveredFlags_": "imgui:1315", + "ImGuiIO": "imgui:1974", + "ImGuiInputEvent": "imgui_internal:1286", + "ImGuiInputEventAppFocused": "imgui_internal:1284", + "ImGuiInputEventKey": "imgui_internal:1282", + "ImGuiInputEventMouseButton": "imgui_internal:1280", + "ImGuiInputEventMousePos": "imgui_internal:1278", + "ImGuiInputEventMouseViewport": "imgui_internal:1281", + "ImGuiInputEventMouseWheel": "imgui_internal:1279", + "ImGuiInputEventText": "imgui_internal:1283", + "ImGuiInputEventType": "imgui_internal:1252", + "ImGuiInputFlags_": "imgui_internal:1349", + "ImGuiInputSource": "imgui_internal:1265", + "ImGuiInputTextCallbackData": "imgui:2162", + "ImGuiInputTextFlagsPrivate_": "imgui_internal:844", + "ImGuiInputTextFlags_": "imgui:1036", + "ImGuiInputTextState": "imgui_internal:1057", + "ImGuiItemFlags_": "imgui_internal:801", + "ImGuiItemStatusFlags_": "imgui_internal:821", + "ImGuiKey": "imgui:1413", + "ImGuiKeyData": "imgui:1966", + "ImGuiKeyOwnerData": "imgui_internal:1337", + "ImGuiKeyRoutingData": "imgui_internal:1312", + "ImGuiKeyRoutingTable": "imgui_internal:1325", + "ImGuiLastItemData": "imgui_internal:1171", + "ImGuiLayoutType_": "imgui_internal:933", + "ImGuiListClipper": "imgui:2407", + "ImGuiListClipperData": "imgui_internal:1412", + "ImGuiListClipperRange": "imgui_internal:1399", + "ImGuiLocEntry": "imgui_internal:1809", + "ImGuiLocKey": "imgui_internal:1796", + "ImGuiLogType": "imgui_internal:939", + "ImGuiMenuColumns": "imgui_internal:1038", + "ImGuiMetricsConfig": "imgui_internal:1836", + "ImGuiMouseButton_": "imgui:1769", + "ImGuiMouseCursor_": "imgui:1779", + "ImGuiNavHighlightFlags_": "imgui_internal:1451", + "ImGuiNavInput": "imgui:1545", + "ImGuiNavItemData": "imgui_internal:1485", + "ImGuiNavLayer": "imgui_internal:1478", + "ImGuiNavMoveFlags_": "imgui_internal:1460", + "ImGuiNextItemData": "imgui_internal:1158", + "ImGuiNextItemDataFlags_": "imgui_internal:1151", + "ImGuiNextWindowData": "imgui_internal:1124", + "ImGuiNextWindowDataFlags_": "imgui_internal:1107", + "ImGuiOldColumnData": "imgui_internal:1525", + "ImGuiOldColumnFlags_": "imgui_internal:1505", + "ImGuiOldColumns": "imgui_internal:1535", + "ImGuiOnceUponAFrame": "imgui:2282", + "ImGuiPayload": "imgui:2223", + "ImGuiPlatformIO": "imgui:3124", + "ImGuiPlatformImeData": "imgui:3196", + "ImGuiPlatformMonitor": "imgui:3187", + "ImGuiPlotType": "imgui_internal:956", + "ImGuiPopupData": "imgui_internal:1093", + "ImGuiPopupFlags_": "imgui:1097", + "ImGuiPopupPositionPolicy": "imgui_internal:962", + "ImGuiPtrOrIndex": "imgui_internal:1215", + "ImGuiScrollFlags_": "imgui_internal:1437", + "ImGuiSelectableFlagsPrivate_": "imgui_internal:891", + "ImGuiSelectableFlags_": "imgui:1113", + "ImGuiSeparatorFlags_": "imgui_internal:911", + "ImGuiSettingsHandler": "imgui_internal:1776", + "ImGuiShrinkWidthItem": "imgui_internal:1208", + "ImGuiSizeCallbackData": "imgui:2193", + "ImGuiSliderFlagsPrivate_": "imgui_internal:884", + "ImGuiSliderFlags_": "imgui:1752", + "ImGuiSortDirection_": "imgui:1403", + "ImGuiStackLevelInfo": "imgui_internal:1859", + "ImGuiStackSizes": "imgui_internal:1183", + "ImGuiStackTool": "imgui_internal:1871", + "ImGuiStorage": "imgui:2344", + "ImGuiStoragePair": "imgui:2347", + "ImGuiStyle": "imgui:1909", + "ImGuiStyleMod": "imgui_internal:999", + "ImGuiStyleVar_": "imgui:1661", + "ImGuiTabBar": "imgui_internal:2612", + "ImGuiTabBarFlagsPrivate_": "imgui_internal:2574", + "ImGuiTabBarFlags_": "imgui:1138", + "ImGuiTabItem": "imgui_internal:2592", + "ImGuiTabItemFlagsPrivate_": "imgui_internal:2582", + "ImGuiTabItemFlags_": "imgui:1154", + "ImGuiTable": "imgui_internal:2748", + "ImGuiTableBgTarget_": "imgui:1292", + "ImGuiTableCellData": "imgui_internal:2732", + "ImGuiTableColumn": "imgui_internal:2673", + "ImGuiTableColumnFlags_": "imgui:1240", + "ImGuiTableColumnSettings": "imgui_internal:2883", + "ImGuiTableColumnSortSpecs": "imgui:2245", + "ImGuiTableFlags_": "imgui:1189", + "ImGuiTableInstanceData": "imgui_internal:2739", + "ImGuiTableRowFlags_": "imgui:1277", + "ImGuiTableSettings": "imgui_internal:2907", + "ImGuiTableSortSpecs": "imgui:2259", + "ImGuiTableTempData": "imgui_internal:2862", + "ImGuiTextBuffer": "imgui:2317", + "ImGuiTextFilter": "imgui:2290", + "ImGuiTextFlags_": "imgui_internal:919", + "ImGuiTextIndex": "imgui_internal:716", + "ImGuiTextRange": "imgui:2300", + "ImGuiTooltipFlags_": "imgui_internal:925", + "ImGuiTreeNodeFlagsPrivate_": "imgui_internal:906", + "ImGuiTreeNodeFlags_": "imgui:1068", + "ImGuiViewport": "imgui:3040", + "ImGuiViewportFlags_": "imgui:3015", + "ImGuiViewportP": "imgui_internal:1714", + "ImGuiWindow": "imgui_internal:2430", + "ImGuiWindowClass": "imgui:2208", + "ImGuiWindowDockStyle": "imgui_internal:1692", + "ImGuiWindowDockStyleCol": "imgui_internal:1681", + "ImGuiWindowFlags_": "imgui:995", + "ImGuiWindowSettings": "imgui_internal:1759", + "ImGuiWindowStackData": "imgui_internal:1201", + "ImGuiWindowTempData": "imgui_internal:2382", + "ImRect": "imgui_internal:521", + "ImVec1": "imgui_internal:503", + "ImVec2": "imgui:259", + "ImVec2ih": "imgui_internal:511", + "ImVec4": "imgui:272", + "STB_TexteditState": "imstb_textedit:319", + "StbTexteditRow": "imstb_textedit:366", + "StbUndoRecord": "imstb_textedit:301", + "StbUndoState": "imstb_textedit:310" }, "structs": { "ImBitVector": [ @@ -3916,7 +4803,7 @@ }, { "name": "_Data", - "type": "const ImDrawListSharedData*" + "type": "ImDrawListSharedData*" }, { "name": "_OwnerName", @@ -3987,6 +4874,11 @@ "name": "InitialFlags", "type": "ImDrawListFlags" }, + { + "name": "TempBuffer", + "template_type": "ImVec2", + "type": "ImVector_ImVec2" + }, { "name": "ArcFastVtx[48]", "size": 48, @@ -4435,6 +5327,16 @@ "name": "PlatformIO", "type": "ImGuiPlatformIO" }, + { + "name": "InputEventsQueue", + "template_type": "ImGuiInputEvent", + "type": "ImVector_ImGuiInputEvent" + }, + { + "name": "InputEventsTrail", + "template_type": "ImGuiInputEvent", + "type": "ImVector_ImGuiInputEvent" + }, { "name": "Style", "type": "ImGuiStyle" @@ -4551,10 +5453,6 @@ "name": "HoveredWindowUnderMovingWindow", "type": "ImGuiWindow*" }, - { - "name": "HoveredDockNode", - "type": "ImGuiDockNode*" - }, { "name": "MovingWindow", "type": "ImGuiWindow*" @@ -4568,7 +5466,7 @@ "type": "ImVec2" }, { - "name": "WheelingWindowTimer", + "name": "WheelingWindowReleaseTimer", "type": "float" }, { @@ -4587,14 +5485,6 @@ "name": "HoveredIdAllowOverlap", "type": "bool" }, - { - "name": "HoveredIdUsingMouseWheel", - "type": "bool" - }, - { - "name": "HoveredIdPreviousFrameUsingMouseWheel", - "type": "bool" - }, { "name": "HoveredIdDisabled", "type": "bool" @@ -4643,22 +5533,6 @@ "name": "ActiveIdHasBeenEditedThisFrame", "type": "bool" }, - { - "name": "ActiveIdUsingMouseWheel", - "type": "bool" - }, - { - "name": "ActiveIdUsingNavDirMask", - "type": "ImU32" - }, - { - "name": "ActiveIdUsingNavInputMask", - "type": "ImU32" - }, - { - "name": "ActiveIdUsingKeyInputMask", - "type": "ImU64" - }, { "name": "ActiveIdClickOffset", "type": "ImVec2" @@ -4699,10 +5573,39 @@ "name": "LastActiveIdTimer", "type": "float" }, + { + "name": "KeysOwnerData[ImGuiKey_NamedKey_COUNT]", + "size": 140, + "type": "ImGuiKeyOwnerData" + }, + { + "name": "KeysRoutingTable", + "type": "ImGuiKeyRoutingTable" + }, + { + "name": "ActiveIdUsingNavDirMask", + "type": "ImU32" + }, + { + "name": "ActiveIdUsingAllKeyboardKeys", + "type": "bool" + }, + { + "name": "ActiveIdUsingNavInputMask", + "type": "ImU32" + }, + { + "name": "CurrentFocusScopeId", + "type": "ImGuiID" + }, { "name": "CurrentItemFlags", "type": "ImGuiItemFlags" }, + { + "name": "DebugLocateId", + "type": "ImGuiID" + }, { "name": "NextItemData", "type": "ImGuiNextItemData" @@ -4834,7 +5737,7 @@ }, { "name": "NavJustMovedToKeyMods", - "type": "ImGuiKeyModFlags" + "type": "ImGuiKeyChord" }, { "name": "NavNextActivateId", @@ -4910,7 +5813,7 @@ }, { "name": "NavMoveKeyMods", - "type": "ImGuiKeyModFlags" + "type": "ImGuiKeyChord" }, { "name": "NavMoveDir", @@ -4960,6 +5863,14 @@ "name": "NavTabbingResultFirst", "type": "ImGuiNavItemData" }, + { + "name": "ConfigNavWindowingKeyNext", + "type": "ImGuiKeyChord" + }, + { + "name": "ConfigNavWindowingKeyPrev", + "type": "ImGuiKeyChord" + }, { "name": "NavWindowingTarget", "type": "ImGuiWindow*" @@ -4984,6 +5895,14 @@ "name": "NavWindowingToggleLayer", "type": "bool" }, + { + "name": "NavWindowingAccumDeltaPos", + "type": "ImVec2" + }, + { + "name": "NavWindowingAccumDeltaSize", + "type": "ImVec2" + }, { "name": "DimBgRatio", "type": "float" @@ -5118,6 +6037,22 @@ "template_type": "ImGuiShrinkWidthItem", "type": "ImVector_ImGuiShrinkWidthItem" }, + { + "name": "HoverDelayId", + "type": "ImGuiID" + }, + { + "name": "HoverDelayIdPreviousFrame", + "type": "ImGuiID" + }, + { + "name": "HoverDelayTimer", + "type": "float" + }, + { + "name": "HoverDelayClearTimer", + "type": "float" + }, { "name": "MouseLastValidPos", "type": "ImVec2" @@ -5158,6 +6093,10 @@ "name": "ComboPreviewData", "type": "ImGuiComboPreviewData" }, + { + "name": "SliderGrabClickOffset", + "type": "float" + }, { "name": "SliderCurrentAccum", "type": "float" @@ -5194,10 +6133,6 @@ "name": "TooltipOverrideCount", "type": "short" }, - { - "name": "TooltipSlowDelay", - "type": "float" - }, { "name": "ClipboardHandlerData", "template_type": "char", @@ -5209,16 +6144,16 @@ "type": "ImVector_ImGuiID" }, { - "name": "PlatformImePos", - "type": "ImVec2" + "name": "PlatformImeData", + "type": "ImGuiPlatformImeData" }, { - "name": "PlatformImeLastPos", - "type": "ImVec2" + "name": "PlatformImeDataPrev", + "type": "ImGuiPlatformImeData" }, { - "name": "PlatformImePosViewport", - "type": "ImGuiViewportP*" + "name": "PlatformImeViewport", + "type": "ImGuiID" }, { "name": "PlatformLocaleDecimalPoint", @@ -5264,6 +6199,11 @@ "name": "HookIdNext", "type": "ImGuiID" }, + { + "name": "LocalizationTable[ImGuiLocKey_COUNT]", + "size": 8, + "type": "const char*" + }, { "name": "LogEnabled", "type": "bool" @@ -5308,10 +6248,30 @@ "name": "LogDepthToExpandDefault", "type": "int" }, + { + "name": "DebugLogFlags", + "type": "ImGuiDebugLogFlags" + }, + { + "name": "DebugLogBuf", + "type": "ImGuiTextBuffer" + }, + { + "name": "DebugLogIndex", + "type": "ImGuiTextIndex" + }, + { + "name": "DebugLocateFrames", + "type": "ImU8" + }, { "name": "DebugItemPickerActive", "type": "bool" }, + { + "name": "DebugItemPickerMouseButton", + "type": "ImU8" + }, { "name": "DebugItemPickerBreakId", "type": "ImGuiID" @@ -5325,8 +6285,12 @@ "type": "ImGuiStackTool" }, { - "name": "FramerateSecPerFrame[120]", - "size": 120, + "name": "DebugHoveredDockNode", + "type": "ImGuiDockNode*" + }, + { + "name": "FramerateSecPerFrame[60]", + "size": 60, "type": "float" }, { @@ -5354,9 +6318,9 @@ "type": "int" }, { - "name": "TempBuffer[1024*3+1]", - "size": 3073, - "type": "char" + "name": "TempBuffer", + "template_type": "char", + "type": "ImVector_char" } ], "ImGuiContextHook": [ @@ -5695,11 +6659,6 @@ "name": "MouseDragThreshold", "type": "float" }, - { - "name": "KeyMap[ImGuiKey_COUNT]", - "size": 22, - "type": "int" - }, { "name": "KeyRepeatDelay", "type": "float" @@ -5708,6 +6667,14 @@ "name": "KeyRepeatRate", "type": "float" }, + { + "name": "HoverDelayNormal", + "type": "float" + }, + { + "name": "HoverDelayShort", + "type": "float" + }, { "name": "UserData", "type": "void*" @@ -5772,10 +6739,18 @@ "name": "ConfigMacOSXBehaviors", "type": "bool" }, + { + "name": "ConfigInputTrickleEventQueue", + "type": "bool" + }, { "name": "ConfigInputTextCursorBlink", "type": "bool" }, + { + "name": "ConfigInputTextEnterKeepActive", + "type": "bool" + }, { "name": "ConfigDragClickToInputText", "type": "bool" @@ -5825,51 +6800,12 @@ "type": "void*" }, { - "name": "MousePos", - "type": "ImVec2" + "name": "SetPlatformImeDataFn", + "type": "void(*)(ImGuiViewport* viewport,ImGuiPlatformImeData* data)" }, { - "name": "MouseDown[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseWheel", - "type": "float" - }, - { - "name": "MouseWheelH", - "type": "float" - }, - { - "name": "MouseHoveredViewport", - "type": "ImGuiID" - }, - { - "name": "KeyCtrl", - "type": "bool" - }, - { - "name": "KeyShift", - "type": "bool" - }, - { - "name": "KeyAlt", - "type": "bool" - }, - { - "name": "KeySuper", - "type": "bool" - }, - { - "name": "KeysDown[512]", - "size": 512, - "type": "bool" - }, - { - "name": "NavInputs[ImGuiNavInput_COUNT]", - "size": 20, - "type": "float" + "name": "_UnusedPadding", + "type": "void*" }, { "name": "WantCaptureMouse", @@ -5928,16 +6864,69 @@ "type": "ImVec2" }, { - "name": "WantCaptureMouseUnlessPopupClose", + "name": "KeyMap[ImGuiKey_COUNT]", + "size": 652, + "type": "int" + }, + { + "name": "KeysDown[ImGuiKey_COUNT]", + "size": 652, + "type": "bool" + }, + { + "name": "NavInputs[ImGuiNavInput_COUNT]", + "size": 16, + "type": "float" + }, + { + "name": "MousePos", + "type": "ImVec2" + }, + { + "name": "MouseDown[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseWheel", + "type": "float" + }, + { + "name": "MouseWheelH", + "type": "float" + }, + { + "name": "MouseHoveredViewport", + "type": "ImGuiID" + }, + { + "name": "KeyCtrl", + "type": "bool" + }, + { + "name": "KeyShift", + "type": "bool" + }, + { + "name": "KeyAlt", + "type": "bool" + }, + { + "name": "KeySuper", "type": "bool" }, { "name": "KeyMods", - "type": "ImGuiKeyModFlags" + "type": "ImGuiKeyChord" }, { - "name": "KeyModsPrev", - "type": "ImGuiKeyModFlags" + "name": "KeysData[ImGuiKey_KeysData_SIZE]", + "size": 652, + "type": "ImGuiKeyData" + }, + { + "name": "WantCaptureMouseUnlessPopupClose", + "type": "bool" }, { "name": "MousePosPrev", @@ -6008,26 +6997,6 @@ "size": 5, "type": "float" }, - { - "name": "KeysDownDuration[512]", - "size": 512, - "type": "float" - }, - { - "name": "KeysDownDurationPrev[512]", - "size": 512, - "type": "float" - }, - { - "name": "NavInputsDownDuration[ImGuiNavInput_COUNT]", - "size": 20, - "type": "float" - }, - { - "name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]", - "size": 20, - "type": "float" - }, { "name": "PenPressure", "type": "float" @@ -6036,6 +7005,18 @@ "name": "AppFocusLost", "type": "bool" }, + { + "name": "AppAcceptingEvents", + "type": "bool" + }, + { + "name": "BackendUsingLegacyKeyArrays", + "type": "ImS8" + }, + { + "name": "BackendUsingLegacyNavInputArray", + "type": "bool" + }, { "name": "InputQueueSurrogate", "type": "ImWchar16" @@ -6046,6 +7027,86 @@ "type": "ImVector_ImWchar" } ], + "ImGuiInputEvent": [ + { + "name": "Type", + "type": "ImGuiInputEventType" + }, + { + "name": "Source", + "type": "ImGuiInputSource" + }, + { + "name": "", + "type": "union { ImGuiInputEventMousePos MousePos; ImGuiInputEventMouseWheel MouseWheel; ImGuiInputEventMouseButton MouseButton; ImGuiInputEventMouseViewport MouseViewport; ImGuiInputEventKey Key; ImGuiInputEventText Text; ImGuiInputEventAppFocused AppFocused;}" + }, + { + "name": "AddedByTestEngine", + "type": "bool" + } + ], + "ImGuiInputEventAppFocused": [ + { + "name": "Focused", + "type": "bool" + } + ], + "ImGuiInputEventKey": [ + { + "name": "Key", + "type": "ImGuiKey" + }, + { + "name": "Down", + "type": "bool" + }, + { + "name": "AnalogValue", + "type": "float" + } + ], + "ImGuiInputEventMouseButton": [ + { + "name": "Button", + "type": "int" + }, + { + "name": "Down", + "type": "bool" + } + ], + "ImGuiInputEventMousePos": [ + { + "name": "PosX", + "type": "float" + }, + { + "name": "PosY", + "type": "float" + } + ], + "ImGuiInputEventMouseViewport": [ + { + "name": "HoveredViewportID", + "type": "ImGuiID" + } + ], + "ImGuiInputEventMouseWheel": [ + { + "name": "WheelX", + "type": "float" + }, + { + "name": "WheelY", + "type": "float" + } + ], + "ImGuiInputEventText": [ + { + "name": "Char", + "type": "unsigned int" + } + ], "ImGuiInputTextCallbackData": [ { "name": "EventFlag", @@ -6161,6 +7222,81 @@ "type": "ImGuiInputTextFlags" } ], + "ImGuiKeyData": [ + { + "name": "Down", + "type": "bool" + }, + { + "name": "DownDuration", + "type": "float" + }, + { + "name": "DownDurationPrev", + "type": "float" + }, + { + "name": "AnalogValue", + "type": "float" + } + ], + "ImGuiKeyOwnerData": [ + { + "name": "OwnerCurr", + "type": "ImGuiID" + }, + { + "name": "OwnerNext", + "type": "ImGuiID" + }, + { + "name": "LockThisFrame", + "type": "bool" + }, + { + "name": "LockUntilRelease", + "type": "bool" + } + ], + "ImGuiKeyRoutingData": [ + { + "name": "NextEntryIndex", + "type": "ImGuiKeyRoutingIndex" + }, + { + "name": "Mods", + "type": "ImU16" + }, + { + "name": "RoutingNextScore", + "type": "ImU8" + }, + { + "name": "RoutingCurr", + "type": "ImGuiID" + }, + { + "name": "RoutingNext", + "type": "ImGuiID" + } + ], + "ImGuiKeyRoutingTable": [ + { + "name": "Index[ImGuiKey_NamedKey_COUNT]", + "size": 140, + "type": "ImGuiKeyRoutingIndex" + }, + { + "name": "Entries", + "template_type": "ImGuiKeyRoutingData", + "type": "ImVector_ImGuiKeyRoutingData" + }, + { + "name": "EntriesNext", + "template_type": "ImGuiKeyRoutingData", + "type": "ImVector_ImGuiKeyRoutingData" + } + ], "ImGuiLastItemData": [ { "name": "ID", @@ -6258,6 +7394,16 @@ "type": "ImS8" } ], + "ImGuiLocEntry": [ + { + "name": "Key", + "type": "ImGuiLocKey" + }, + { + "name": "Text", + "type": "const char*" + } + ], "ImGuiMenuColumns": [ { "name": "TotalWidth", @@ -6294,6 +7440,10 @@ } ], "ImGuiMetricsConfig": [ + { + "name": "ShowDebugLog", + "type": "bool" + }, { "name": "ShowStackTool", "type": "bool" @@ -6668,10 +7818,6 @@ "name": "Platform_OnChangedViewport", "type": "void(*)(ImGuiViewport* vp)" }, - { - "name": "Platform_SetImeInputPos", - "type": "void(*)(ImGuiViewport* vp,ImVec2 pos)" - }, { "name": "Platform_CreateVkSurface", "type": "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)" @@ -6707,6 +7853,20 @@ "type": "ImVector_ImGuiViewportPtr" } ], + "ImGuiPlatformImeData": [ + { + "name": "WantVisible", + "type": "bool" + }, + { + "name": "InputPos", + "type": "ImVec2" + }, + { + "name": "InputLineHeight", + "type": "float" + } + ], "ImGuiPlatformMonitor": [ { "name": "MainPos", @@ -6739,9 +7899,13 @@ "type": "ImGuiWindow*" }, { - "name": "SourceWindow", + "name": "BackupNavWindow", "type": "ImGuiWindow*" }, + { + "name": "ParentNavLayer", + "type": "int" + }, { "name": "OpenFrameCount", "type": "int" @@ -6815,6 +7979,10 @@ { "name": "Width", "type": "float" + }, + { + "name": "InitialWidth", + "type": "float" } ], "ImGuiSizeCallbackData": [ @@ -6849,8 +8017,13 @@ "type": "bool" }, { - "name": "Desc[58]", - "size": 58, + "bitfield": "8", + "name": "DataType", + "type": "ImGuiDataType" + }, + { + "name": "Desc[57]", + "size": 57, "type": "char" } ], @@ -6909,6 +8082,14 @@ "name": "Results", "template_type": "ImGuiStackLevelInfo", "type": "ImVector_ImGuiStackLevelInfo" + }, + { + "name": "CopyToClipboardOnCtrlC", + "type": "bool" + }, + { + "name": "CopyToClipboardLastTime", + "type": "float" } ], "ImGuiStorage": [ @@ -7265,6 +8446,10 @@ "name": "ContentWidth", "type": "float" }, + { + "name": "RequestedWidth", + "type": "float" + }, { "name": "NameOffset", "type": "ImS32" @@ -7445,14 +8630,6 @@ "name": "CellSpacingX2", "type": "float" }, - { - "name": "LastOuterHeight", - "type": "float" - }, - { - "name": "LastFirstRowHeight", - "type": "float" - }, { "name": "InnerWidth", "type": "float" @@ -7465,6 +8642,10 @@ "name": "ColumnsAutoFitWidth", "type": "float" }, + { + "name": "ColumnsStretchSumWeights", + "type": "float" + }, { "name": "ResizedColumnNextWidth", "type": "float" @@ -7529,6 +8710,15 @@ "name": "DrawSplitter", "type": "ImDrawListSplitter*" }, + { + "name": "InstanceDataFirst", + "type": "ImGuiTableInstanceData" + }, + { + "name": "InstanceDataExtra", + "template_type": "ImGuiTableInstanceData", + "type": "ImVector_ImGuiTableInstanceData" + }, { "name": "SortSpecsSingle", "type": "ImGuiTableColumnSortSpecs" @@ -7938,6 +9128,16 @@ "type": "ImGuiSortDirection" } ], + "ImGuiTableInstanceData": [ + { + "name": "LastOuterHeight", + "type": "float" + }, + { + "name": "LastFirstRowHeight", + "type": "float" + } + ], "ImGuiTableSettings": [ { "name": "ID", @@ -8051,6 +9251,17 @@ "type": "int" } ], + "ImGuiTextIndex": [ + { + "name": "LineOffsets", + "template_type": "int", + "type": "ImVector_int" + }, + { + "name": "EndOffset", + "type": "int" + } + ], "ImGuiTextRange": [ { "name": "b", @@ -8114,6 +9325,10 @@ "name": "PlatformHandleRaw", "type": "void*" }, + { + "name": "PlatformWindowCreated", + "type": "bool" + }, { "name": "PlatformRequestMove", "type": "bool" @@ -8164,10 +9379,6 @@ "name": "PlatformMonitor", "type": "short" }, - { - "name": "PlatformWindowCreated", - "type": "bool" - }, { "name": "Window", "type": "ImGuiWindow*" @@ -8300,6 +9511,10 @@ "name": "MoveId", "type": "ImGuiID" }, + { + "name": "TabId", + "type": "ImGuiID" + }, { "name": "ChildId", "type": "ImGuiID" @@ -8392,6 +9607,10 @@ "name": "BeginCount", "type": "short" }, + { + "name": "BeginCountPreviousFrame", + "type": "short" + }, { "name": "BeginOrderWithinParent", "type": "short" @@ -8604,6 +9823,10 @@ "size": 2, "type": "ImRect" }, + { + "name": "NavRootFocusScopeId", + "type": "ImGuiID" + }, { "name": "MemoryDrawListIdxCapacity", "type": "int" @@ -8799,6 +10022,14 @@ "name": "PrevLineTextBaseOffset", "type": "float" }, + { + "name": "IsSameLine", + "type": "bool" + }, + { + "name": "IsSetPos", + "type": "bool" + }, { "name": "Indent", "type": "ImVec1" @@ -8827,10 +10058,6 @@ "name": "NavLayersActiveMaskNext", "type": "short" }, - { - "name": "NavFocusScopeIdCurrent", - "type": "ImGuiID" - }, { "name": "NavHideHighlightOneFrame", "type": "bool" diff --git a/imgui-sys/third-party/imgui-docking/structs_and_enums.lua b/imgui-sys/third-party/imgui-docking/structs_and_enums.lua index afa4e82..e4c3fb8 100644 --- a/imgui-sys/third-party/imgui-docking/structs_and_enums.lua +++ b/imgui-sys/third-party/imgui-docking/structs_and_enums.lua @@ -220,13 +220,21 @@ defs["enums"]["ImGuiButtonFlagsPrivate_"][15]["calc_value"] = 524288 defs["enums"]["ImGuiButtonFlagsPrivate_"][15]["name"] = "ImGuiButtonFlags_NoHoveredOnFocus" defs["enums"]["ImGuiButtonFlagsPrivate_"][15]["value"] = "1 << 19" defs["enums"]["ImGuiButtonFlagsPrivate_"][16] = {} -defs["enums"]["ImGuiButtonFlagsPrivate_"][16]["calc_value"] = 1008 -defs["enums"]["ImGuiButtonFlagsPrivate_"][16]["name"] = "ImGuiButtonFlags_PressedOnMask_" -defs["enums"]["ImGuiButtonFlagsPrivate_"][16]["value"] = "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold" +defs["enums"]["ImGuiButtonFlagsPrivate_"][16]["calc_value"] = 1048576 +defs["enums"]["ImGuiButtonFlagsPrivate_"][16]["name"] = "ImGuiButtonFlags_NoSetKeyOwner" +defs["enums"]["ImGuiButtonFlagsPrivate_"][16]["value"] = "1 << 20" defs["enums"]["ImGuiButtonFlagsPrivate_"][17] = {} -defs["enums"]["ImGuiButtonFlagsPrivate_"][17]["calc_value"] = 32 -defs["enums"]["ImGuiButtonFlagsPrivate_"][17]["name"] = "ImGuiButtonFlags_PressedOnDefault_" -defs["enums"]["ImGuiButtonFlagsPrivate_"][17]["value"] = "ImGuiButtonFlags_PressedOnClickRelease" +defs["enums"]["ImGuiButtonFlagsPrivate_"][17]["calc_value"] = 2097152 +defs["enums"]["ImGuiButtonFlagsPrivate_"][17]["name"] = "ImGuiButtonFlags_NoTestKeyOwner" +defs["enums"]["ImGuiButtonFlagsPrivate_"][17]["value"] = "1 << 21" +defs["enums"]["ImGuiButtonFlagsPrivate_"][18] = {} +defs["enums"]["ImGuiButtonFlagsPrivate_"][18]["calc_value"] = 1008 +defs["enums"]["ImGuiButtonFlagsPrivate_"][18]["name"] = "ImGuiButtonFlags_PressedOnMask_" +defs["enums"]["ImGuiButtonFlagsPrivate_"][18]["value"] = "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold" +defs["enums"]["ImGuiButtonFlagsPrivate_"][19] = {} +defs["enums"]["ImGuiButtonFlagsPrivate_"][19]["calc_value"] = 32 +defs["enums"]["ImGuiButtonFlagsPrivate_"][19]["name"] = "ImGuiButtonFlags_PressedOnDefault_" +defs["enums"]["ImGuiButtonFlagsPrivate_"][19]["value"] = "ImGuiButtonFlags_PressedOnClickRelease" defs["enums"]["ImGuiButtonFlags_"] = {} defs["enums"]["ImGuiButtonFlags_"][1] = {} defs["enums"]["ImGuiButtonFlags_"][1]["calc_value"] = 0 @@ -814,6 +822,51 @@ defs["enums"]["ImGuiDataType_"][11] = {} defs["enums"]["ImGuiDataType_"][11]["calc_value"] = 10 defs["enums"]["ImGuiDataType_"][11]["name"] = "ImGuiDataType_COUNT" defs["enums"]["ImGuiDataType_"][11]["value"] = "10" +defs["enums"]["ImGuiDebugLogFlags_"] = {} +defs["enums"]["ImGuiDebugLogFlags_"][1] = {} +defs["enums"]["ImGuiDebugLogFlags_"][1]["calc_value"] = 0 +defs["enums"]["ImGuiDebugLogFlags_"][1]["name"] = "ImGuiDebugLogFlags_None" +defs["enums"]["ImGuiDebugLogFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiDebugLogFlags_"][2] = {} +defs["enums"]["ImGuiDebugLogFlags_"][2]["calc_value"] = 1 +defs["enums"]["ImGuiDebugLogFlags_"][2]["name"] = "ImGuiDebugLogFlags_EventActiveId" +defs["enums"]["ImGuiDebugLogFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiDebugLogFlags_"][3] = {} +defs["enums"]["ImGuiDebugLogFlags_"][3]["calc_value"] = 2 +defs["enums"]["ImGuiDebugLogFlags_"][3]["name"] = "ImGuiDebugLogFlags_EventFocus" +defs["enums"]["ImGuiDebugLogFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiDebugLogFlags_"][4] = {} +defs["enums"]["ImGuiDebugLogFlags_"][4]["calc_value"] = 4 +defs["enums"]["ImGuiDebugLogFlags_"][4]["name"] = "ImGuiDebugLogFlags_EventPopup" +defs["enums"]["ImGuiDebugLogFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiDebugLogFlags_"][5] = {} +defs["enums"]["ImGuiDebugLogFlags_"][5]["calc_value"] = 8 +defs["enums"]["ImGuiDebugLogFlags_"][5]["name"] = "ImGuiDebugLogFlags_EventNav" +defs["enums"]["ImGuiDebugLogFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiDebugLogFlags_"][6] = {} +defs["enums"]["ImGuiDebugLogFlags_"][6]["calc_value"] = 16 +defs["enums"]["ImGuiDebugLogFlags_"][6]["name"] = "ImGuiDebugLogFlags_EventClipper" +defs["enums"]["ImGuiDebugLogFlags_"][6]["value"] = "1 << 4" +defs["enums"]["ImGuiDebugLogFlags_"][7] = {} +defs["enums"]["ImGuiDebugLogFlags_"][7]["calc_value"] = 32 +defs["enums"]["ImGuiDebugLogFlags_"][7]["name"] = "ImGuiDebugLogFlags_EventIO" +defs["enums"]["ImGuiDebugLogFlags_"][7]["value"] = "1 << 5" +defs["enums"]["ImGuiDebugLogFlags_"][8] = {} +defs["enums"]["ImGuiDebugLogFlags_"][8]["calc_value"] = 64 +defs["enums"]["ImGuiDebugLogFlags_"][8]["name"] = "ImGuiDebugLogFlags_EventDocking" +defs["enums"]["ImGuiDebugLogFlags_"][8]["value"] = "1 << 6" +defs["enums"]["ImGuiDebugLogFlags_"][9] = {} +defs["enums"]["ImGuiDebugLogFlags_"][9]["calc_value"] = 128 +defs["enums"]["ImGuiDebugLogFlags_"][9]["name"] = "ImGuiDebugLogFlags_EventViewport" +defs["enums"]["ImGuiDebugLogFlags_"][9]["value"] = "1 << 7" +defs["enums"]["ImGuiDebugLogFlags_"][10] = {} +defs["enums"]["ImGuiDebugLogFlags_"][10]["calc_value"] = 255 +defs["enums"]["ImGuiDebugLogFlags_"][10]["name"] = "ImGuiDebugLogFlags_EventMask_" +defs["enums"]["ImGuiDebugLogFlags_"][10]["value"] = "ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport" +defs["enums"]["ImGuiDebugLogFlags_"][11] = {} +defs["enums"]["ImGuiDebugLogFlags_"][11]["calc_value"] = 1024 +defs["enums"]["ImGuiDebugLogFlags_"][11]["name"] = "ImGuiDebugLogFlags_OutputToTTY" +defs["enums"]["ImGuiDebugLogFlags_"][11]["value"] = "1 << 10" defs["enums"]["ImGuiDir_"] = {} defs["enums"]["ImGuiDir_"][1] = {} defs["enums"]["ImGuiDir_"][1]["calc_value"] = -1 @@ -1078,38 +1131,163 @@ defs["enums"]["ImGuiHoveredFlags_"][10]["calc_value"] = 512 defs["enums"]["ImGuiHoveredFlags_"][10]["name"] = "ImGuiHoveredFlags_AllowWhenDisabled" defs["enums"]["ImGuiHoveredFlags_"][10]["value"] = "1 << 9" defs["enums"]["ImGuiHoveredFlags_"][11] = {} -defs["enums"]["ImGuiHoveredFlags_"][11]["calc_value"] = 416 -defs["enums"]["ImGuiHoveredFlags_"][11]["name"] = "ImGuiHoveredFlags_RectOnly" -defs["enums"]["ImGuiHoveredFlags_"][11]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][11]["calc_value"] = 1024 +defs["enums"]["ImGuiHoveredFlags_"][11]["name"] = "ImGuiHoveredFlags_NoNavOverride" +defs["enums"]["ImGuiHoveredFlags_"][11]["value"] = "1 << 10" defs["enums"]["ImGuiHoveredFlags_"][12] = {} -defs["enums"]["ImGuiHoveredFlags_"][12]["calc_value"] = 3 -defs["enums"]["ImGuiHoveredFlags_"][12]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" -defs["enums"]["ImGuiHoveredFlags_"][12]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" -defs["enums"]["ImGuiInputReadMode"] = {} -defs["enums"]["ImGuiInputReadMode"][1] = {} -defs["enums"]["ImGuiInputReadMode"][1]["calc_value"] = 0 -defs["enums"]["ImGuiInputReadMode"][1]["name"] = "ImGuiInputReadMode_Down" -defs["enums"]["ImGuiInputReadMode"][1]["value"] = "0" -defs["enums"]["ImGuiInputReadMode"][2] = {} -defs["enums"]["ImGuiInputReadMode"][2]["calc_value"] = 1 -defs["enums"]["ImGuiInputReadMode"][2]["name"] = "ImGuiInputReadMode_Pressed" -defs["enums"]["ImGuiInputReadMode"][2]["value"] = "1" -defs["enums"]["ImGuiInputReadMode"][3] = {} -defs["enums"]["ImGuiInputReadMode"][3]["calc_value"] = 2 -defs["enums"]["ImGuiInputReadMode"][3]["name"] = "ImGuiInputReadMode_Released" -defs["enums"]["ImGuiInputReadMode"][3]["value"] = "2" -defs["enums"]["ImGuiInputReadMode"][4] = {} -defs["enums"]["ImGuiInputReadMode"][4]["calc_value"] = 3 -defs["enums"]["ImGuiInputReadMode"][4]["name"] = "ImGuiInputReadMode_Repeat" -defs["enums"]["ImGuiInputReadMode"][4]["value"] = "3" -defs["enums"]["ImGuiInputReadMode"][5] = {} -defs["enums"]["ImGuiInputReadMode"][5]["calc_value"] = 4 -defs["enums"]["ImGuiInputReadMode"][5]["name"] = "ImGuiInputReadMode_RepeatSlow" -defs["enums"]["ImGuiInputReadMode"][5]["value"] = "4" -defs["enums"]["ImGuiInputReadMode"][6] = {} -defs["enums"]["ImGuiInputReadMode"][6]["calc_value"] = 5 -defs["enums"]["ImGuiInputReadMode"][6]["name"] = "ImGuiInputReadMode_RepeatFast" -defs["enums"]["ImGuiInputReadMode"][6]["value"] = "5" +defs["enums"]["ImGuiHoveredFlags_"][12]["calc_value"] = 416 +defs["enums"]["ImGuiHoveredFlags_"][12]["name"] = "ImGuiHoveredFlags_RectOnly" +defs["enums"]["ImGuiHoveredFlags_"][12]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][13] = {} +defs["enums"]["ImGuiHoveredFlags_"][13]["calc_value"] = 3 +defs["enums"]["ImGuiHoveredFlags_"][13]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][13]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][14] = {} +defs["enums"]["ImGuiHoveredFlags_"][14]["calc_value"] = 2048 +defs["enums"]["ImGuiHoveredFlags_"][14]["name"] = "ImGuiHoveredFlags_DelayNormal" +defs["enums"]["ImGuiHoveredFlags_"][14]["value"] = "1 << 11" +defs["enums"]["ImGuiHoveredFlags_"][15] = {} +defs["enums"]["ImGuiHoveredFlags_"][15]["calc_value"] = 4096 +defs["enums"]["ImGuiHoveredFlags_"][15]["name"] = "ImGuiHoveredFlags_DelayShort" +defs["enums"]["ImGuiHoveredFlags_"][15]["value"] = "1 << 12" +defs["enums"]["ImGuiHoveredFlags_"][16] = {} +defs["enums"]["ImGuiHoveredFlags_"][16]["calc_value"] = 8192 +defs["enums"]["ImGuiHoveredFlags_"][16]["name"] = "ImGuiHoveredFlags_NoSharedDelay" +defs["enums"]["ImGuiHoveredFlags_"][16]["value"] = "1 << 13" +defs["enums"]["ImGuiInputEventType"] = {} +defs["enums"]["ImGuiInputEventType"][1] = {} +defs["enums"]["ImGuiInputEventType"][1]["calc_value"] = 0 +defs["enums"]["ImGuiInputEventType"][1]["name"] = "ImGuiInputEventType_None" +defs["enums"]["ImGuiInputEventType"][1]["value"] = "0" +defs["enums"]["ImGuiInputEventType"][2] = {} +defs["enums"]["ImGuiInputEventType"][2]["calc_value"] = 1 +defs["enums"]["ImGuiInputEventType"][2]["name"] = "ImGuiInputEventType_MousePos" +defs["enums"]["ImGuiInputEventType"][2]["value"] = "1" +defs["enums"]["ImGuiInputEventType"][3] = {} +defs["enums"]["ImGuiInputEventType"][3]["calc_value"] = 2 +defs["enums"]["ImGuiInputEventType"][3]["name"] = "ImGuiInputEventType_MouseWheel" +defs["enums"]["ImGuiInputEventType"][3]["value"] = "2" +defs["enums"]["ImGuiInputEventType"][4] = {} +defs["enums"]["ImGuiInputEventType"][4]["calc_value"] = 3 +defs["enums"]["ImGuiInputEventType"][4]["name"] = "ImGuiInputEventType_MouseButton" +defs["enums"]["ImGuiInputEventType"][4]["value"] = "3" +defs["enums"]["ImGuiInputEventType"][5] = {} +defs["enums"]["ImGuiInputEventType"][5]["calc_value"] = 4 +defs["enums"]["ImGuiInputEventType"][5]["name"] = "ImGuiInputEventType_MouseViewport" +defs["enums"]["ImGuiInputEventType"][5]["value"] = "4" +defs["enums"]["ImGuiInputEventType"][6] = {} +defs["enums"]["ImGuiInputEventType"][6]["calc_value"] = 5 +defs["enums"]["ImGuiInputEventType"][6]["name"] = "ImGuiInputEventType_Key" +defs["enums"]["ImGuiInputEventType"][6]["value"] = "5" +defs["enums"]["ImGuiInputEventType"][7] = {} +defs["enums"]["ImGuiInputEventType"][7]["calc_value"] = 6 +defs["enums"]["ImGuiInputEventType"][7]["name"] = "ImGuiInputEventType_Text" +defs["enums"]["ImGuiInputEventType"][7]["value"] = "6" +defs["enums"]["ImGuiInputEventType"][8] = {} +defs["enums"]["ImGuiInputEventType"][8]["calc_value"] = 7 +defs["enums"]["ImGuiInputEventType"][8]["name"] = "ImGuiInputEventType_Focus" +defs["enums"]["ImGuiInputEventType"][8]["value"] = "7" +defs["enums"]["ImGuiInputEventType"][9] = {} +defs["enums"]["ImGuiInputEventType"][9]["calc_value"] = 8 +defs["enums"]["ImGuiInputEventType"][9]["name"] = "ImGuiInputEventType_COUNT" +defs["enums"]["ImGuiInputEventType"][9]["value"] = "8" +defs["enums"]["ImGuiInputFlags_"] = {} +defs["enums"]["ImGuiInputFlags_"][1] = {} +defs["enums"]["ImGuiInputFlags_"][1]["calc_value"] = 0 +defs["enums"]["ImGuiInputFlags_"][1]["name"] = "ImGuiInputFlags_None" +defs["enums"]["ImGuiInputFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiInputFlags_"][2] = {} +defs["enums"]["ImGuiInputFlags_"][2]["calc_value"] = 1 +defs["enums"]["ImGuiInputFlags_"][2]["name"] = "ImGuiInputFlags_Repeat" +defs["enums"]["ImGuiInputFlags_"][2]["value"] = "1 << 0" +defs["enums"]["ImGuiInputFlags_"][3] = {} +defs["enums"]["ImGuiInputFlags_"][3]["calc_value"] = 2 +defs["enums"]["ImGuiInputFlags_"][3]["name"] = "ImGuiInputFlags_RepeatRateDefault" +defs["enums"]["ImGuiInputFlags_"][3]["value"] = "1 << 1" +defs["enums"]["ImGuiInputFlags_"][4] = {} +defs["enums"]["ImGuiInputFlags_"][4]["calc_value"] = 4 +defs["enums"]["ImGuiInputFlags_"][4]["name"] = "ImGuiInputFlags_RepeatRateNavMove" +defs["enums"]["ImGuiInputFlags_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiInputFlags_"][5] = {} +defs["enums"]["ImGuiInputFlags_"][5]["calc_value"] = 8 +defs["enums"]["ImGuiInputFlags_"][5]["name"] = "ImGuiInputFlags_RepeatRateNavTweak" +defs["enums"]["ImGuiInputFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiInputFlags_"][6] = {} +defs["enums"]["ImGuiInputFlags_"][6]["calc_value"] = 14 +defs["enums"]["ImGuiInputFlags_"][6]["name"] = "ImGuiInputFlags_RepeatRateMask_" +defs["enums"]["ImGuiInputFlags_"][6]["value"] = "ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak" +defs["enums"]["ImGuiInputFlags_"][7] = {} +defs["enums"]["ImGuiInputFlags_"][7]["calc_value"] = 16 +defs["enums"]["ImGuiInputFlags_"][7]["name"] = "ImGuiInputFlags_CondHovered" +defs["enums"]["ImGuiInputFlags_"][7]["value"] = "1 << 4" +defs["enums"]["ImGuiInputFlags_"][8] = {} +defs["enums"]["ImGuiInputFlags_"][8]["calc_value"] = 32 +defs["enums"]["ImGuiInputFlags_"][8]["name"] = "ImGuiInputFlags_CondActive" +defs["enums"]["ImGuiInputFlags_"][8]["value"] = "1 << 5" +defs["enums"]["ImGuiInputFlags_"][9] = {} +defs["enums"]["ImGuiInputFlags_"][9]["calc_value"] = 48 +defs["enums"]["ImGuiInputFlags_"][9]["name"] = "ImGuiInputFlags_CondDefault_" +defs["enums"]["ImGuiInputFlags_"][9]["value"] = "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" +defs["enums"]["ImGuiInputFlags_"][10] = {} +defs["enums"]["ImGuiInputFlags_"][10]["calc_value"] = 48 +defs["enums"]["ImGuiInputFlags_"][10]["name"] = "ImGuiInputFlags_CondMask_" +defs["enums"]["ImGuiInputFlags_"][10]["value"] = "ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive" +defs["enums"]["ImGuiInputFlags_"][11] = {} +defs["enums"]["ImGuiInputFlags_"][11]["calc_value"] = 64 +defs["enums"]["ImGuiInputFlags_"][11]["name"] = "ImGuiInputFlags_LockThisFrame" +defs["enums"]["ImGuiInputFlags_"][11]["value"] = "1 << 6" +defs["enums"]["ImGuiInputFlags_"][12] = {} +defs["enums"]["ImGuiInputFlags_"][12]["calc_value"] = 128 +defs["enums"]["ImGuiInputFlags_"][12]["name"] = "ImGuiInputFlags_LockUntilRelease" +defs["enums"]["ImGuiInputFlags_"][12]["value"] = "1 << 7" +defs["enums"]["ImGuiInputFlags_"][13] = {} +defs["enums"]["ImGuiInputFlags_"][13]["calc_value"] = 256 +defs["enums"]["ImGuiInputFlags_"][13]["name"] = "ImGuiInputFlags_RouteFocused" +defs["enums"]["ImGuiInputFlags_"][13]["value"] = "1 << 8" +defs["enums"]["ImGuiInputFlags_"][14] = {} +defs["enums"]["ImGuiInputFlags_"][14]["calc_value"] = 512 +defs["enums"]["ImGuiInputFlags_"][14]["name"] = "ImGuiInputFlags_RouteGlobalLow" +defs["enums"]["ImGuiInputFlags_"][14]["value"] = "1 << 9" +defs["enums"]["ImGuiInputFlags_"][15] = {} +defs["enums"]["ImGuiInputFlags_"][15]["calc_value"] = 1024 +defs["enums"]["ImGuiInputFlags_"][15]["name"] = "ImGuiInputFlags_RouteGlobal" +defs["enums"]["ImGuiInputFlags_"][15]["value"] = "1 << 10" +defs["enums"]["ImGuiInputFlags_"][16] = {} +defs["enums"]["ImGuiInputFlags_"][16]["calc_value"] = 2048 +defs["enums"]["ImGuiInputFlags_"][16]["name"] = "ImGuiInputFlags_RouteGlobalHigh" +defs["enums"]["ImGuiInputFlags_"][16]["value"] = "1 << 11" +defs["enums"]["ImGuiInputFlags_"][17] = {} +defs["enums"]["ImGuiInputFlags_"][17]["calc_value"] = 3840 +defs["enums"]["ImGuiInputFlags_"][17]["name"] = "ImGuiInputFlags_RouteMask_" +defs["enums"]["ImGuiInputFlags_"][17]["value"] = "ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh" +defs["enums"]["ImGuiInputFlags_"][18] = {} +defs["enums"]["ImGuiInputFlags_"][18]["calc_value"] = 4096 +defs["enums"]["ImGuiInputFlags_"][18]["name"] = "ImGuiInputFlags_RouteAlways" +defs["enums"]["ImGuiInputFlags_"][18]["value"] = "1 << 12" +defs["enums"]["ImGuiInputFlags_"][19] = {} +defs["enums"]["ImGuiInputFlags_"][19]["calc_value"] = 8192 +defs["enums"]["ImGuiInputFlags_"][19]["name"] = "ImGuiInputFlags_RouteUnlessBgFocused" +defs["enums"]["ImGuiInputFlags_"][19]["value"] = "1 << 13" +defs["enums"]["ImGuiInputFlags_"][20] = {} +defs["enums"]["ImGuiInputFlags_"][20]["calc_value"] = 12288 +defs["enums"]["ImGuiInputFlags_"][20]["name"] = "ImGuiInputFlags_RouteExtraMask_" +defs["enums"]["ImGuiInputFlags_"][20]["value"] = "ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused" +defs["enums"]["ImGuiInputFlags_"][21] = {} +defs["enums"]["ImGuiInputFlags_"][21]["calc_value"] = 15 +defs["enums"]["ImGuiInputFlags_"][21]["name"] = "ImGuiInputFlags_SupportedByIsKeyPressed" +defs["enums"]["ImGuiInputFlags_"][21]["value"] = "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_" +defs["enums"]["ImGuiInputFlags_"][22] = {} +defs["enums"]["ImGuiInputFlags_"][22]["calc_value"] = 16143 +defs["enums"]["ImGuiInputFlags_"][22]["name"] = "ImGuiInputFlags_SupportedByShortcut" +defs["enums"]["ImGuiInputFlags_"][22]["value"] = "ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteExtraMask_" +defs["enums"]["ImGuiInputFlags_"][23] = {} +defs["enums"]["ImGuiInputFlags_"][23]["calc_value"] = 192 +defs["enums"]["ImGuiInputFlags_"][23]["name"] = "ImGuiInputFlags_SupportedBySetKeyOwner" +defs["enums"]["ImGuiInputFlags_"][23]["value"] = "ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease" +defs["enums"]["ImGuiInputFlags_"][24] = {} +defs["enums"]["ImGuiInputFlags_"][24]["calc_value"] = 240 +defs["enums"]["ImGuiInputFlags_"][24]["name"] = "ImGuiInputFlags_SupportedBySetItemKeyOwner" +defs["enums"]["ImGuiInputFlags_"][24]["value"] = "ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_" defs["enums"]["ImGuiInputSource"] = {} defs["enums"]["ImGuiInputSource"][1] = {} defs["enums"]["ImGuiInputSource"][1]["calc_value"] = 0 @@ -1129,11 +1307,11 @@ defs["enums"]["ImGuiInputSource"][4]["name"] = "ImGuiInputSource_Gamepad" defs["enums"]["ImGuiInputSource"][4]["value"] = "3" defs["enums"]["ImGuiInputSource"][5] = {} defs["enums"]["ImGuiInputSource"][5]["calc_value"] = 4 -defs["enums"]["ImGuiInputSource"][5]["name"] = "ImGuiInputSource_Nav" +defs["enums"]["ImGuiInputSource"][5]["name"] = "ImGuiInputSource_Clipboard" defs["enums"]["ImGuiInputSource"][5]["value"] = "4" defs["enums"]["ImGuiInputSource"][6] = {} defs["enums"]["ImGuiInputSource"][6]["calc_value"] = 5 -defs["enums"]["ImGuiInputSource"][6]["name"] = "ImGuiInputSource_Clipboard" +defs["enums"]["ImGuiInputSource"][6]["name"] = "ImGuiInputSource_Nav" defs["enums"]["ImGuiInputSource"][6]["value"] = "5" defs["enums"]["ImGuiInputSource"][7] = {} defs["enums"]["ImGuiInputSource"][7]["calc_value"] = 6 @@ -1237,6 +1415,10 @@ defs["enums"]["ImGuiInputTextFlags_"][21] = {} defs["enums"]["ImGuiInputTextFlags_"][21]["calc_value"] = 524288 defs["enums"]["ImGuiInputTextFlags_"][21]["name"] = "ImGuiInputTextFlags_CallbackEdit" defs["enums"]["ImGuiInputTextFlags_"][21]["value"] = "1 << 19" +defs["enums"]["ImGuiInputTextFlags_"][22] = {} +defs["enums"]["ImGuiInputTextFlags_"][22]["calc_value"] = 1048576 +defs["enums"]["ImGuiInputTextFlags_"][22]["name"] = "ImGuiInputTextFlags_EscapeClearsAll" +defs["enums"]["ImGuiInputTextFlags_"][22]["value"] = "1 << 20" defs["enums"]["ImGuiItemFlags_"] = {} defs["enums"]["ImGuiItemFlags_"][1] = {} defs["enums"]["ImGuiItemFlags_"][1]["calc_value"] = 0 @@ -1276,8 +1458,12 @@ defs["enums"]["ImGuiItemFlags_"][9]["name"] = "ImGuiItemFlags_ReadOnly" defs["enums"]["ImGuiItemFlags_"][9]["value"] = "1 << 7" defs["enums"]["ImGuiItemFlags_"][10] = {} defs["enums"]["ImGuiItemFlags_"][10]["calc_value"] = 256 -defs["enums"]["ImGuiItemFlags_"][10]["name"] = "ImGuiItemFlags_Inputable" +defs["enums"]["ImGuiItemFlags_"][10]["name"] = "ImGuiItemFlags_NoWindowHoverableCheck" defs["enums"]["ImGuiItemFlags_"][10]["value"] = "1 << 8" +defs["enums"]["ImGuiItemFlags_"][11] = {} +defs["enums"]["ImGuiItemFlags_"][11]["calc_value"] = 1024 +defs["enums"]["ImGuiItemFlags_"][11]["name"] = "ImGuiItemFlags_Inputable" +defs["enums"]["ImGuiItemFlags_"][11]["value"] = "1 << 10" defs["enums"]["ImGuiItemStatusFlags_"] = {} defs["enums"]["ImGuiItemStatusFlags_"][1] = {} defs["enums"]["ImGuiItemStatusFlags_"][1]["calc_value"] = 0 @@ -1319,120 +1505,627 @@ defs["enums"]["ImGuiItemStatusFlags_"][10] = {} defs["enums"]["ImGuiItemStatusFlags_"][10]["calc_value"] = 256 defs["enums"]["ImGuiItemStatusFlags_"][10]["name"] = "ImGuiItemStatusFlags_FocusedByTabbing" defs["enums"]["ImGuiItemStatusFlags_"][10]["value"] = "1 << 8" -defs["enums"]["ImGuiKeyModFlags_"] = {} -defs["enums"]["ImGuiKeyModFlags_"][1] = {} -defs["enums"]["ImGuiKeyModFlags_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiKeyModFlags_"][1]["name"] = "ImGuiKeyModFlags_None" -defs["enums"]["ImGuiKeyModFlags_"][1]["value"] = "0" -defs["enums"]["ImGuiKeyModFlags_"][2] = {} -defs["enums"]["ImGuiKeyModFlags_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiKeyModFlags_"][2]["name"] = "ImGuiKeyModFlags_Ctrl" -defs["enums"]["ImGuiKeyModFlags_"][2]["value"] = "1 << 0" -defs["enums"]["ImGuiKeyModFlags_"][3] = {} -defs["enums"]["ImGuiKeyModFlags_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiKeyModFlags_"][3]["name"] = "ImGuiKeyModFlags_Shift" -defs["enums"]["ImGuiKeyModFlags_"][3]["value"] = "1 << 1" -defs["enums"]["ImGuiKeyModFlags_"][4] = {} -defs["enums"]["ImGuiKeyModFlags_"][4]["calc_value"] = 4 -defs["enums"]["ImGuiKeyModFlags_"][4]["name"] = "ImGuiKeyModFlags_Alt" -defs["enums"]["ImGuiKeyModFlags_"][4]["value"] = "1 << 2" -defs["enums"]["ImGuiKeyModFlags_"][5] = {} -defs["enums"]["ImGuiKeyModFlags_"][5]["calc_value"] = 8 -defs["enums"]["ImGuiKeyModFlags_"][5]["name"] = "ImGuiKeyModFlags_Super" -defs["enums"]["ImGuiKeyModFlags_"][5]["value"] = "1 << 3" -defs["enums"]["ImGuiKey_"] = {} -defs["enums"]["ImGuiKey_"][1] = {} -defs["enums"]["ImGuiKey_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiKey_"][1]["name"] = "ImGuiKey_Tab" -defs["enums"]["ImGuiKey_"][1]["value"] = "0" -defs["enums"]["ImGuiKey_"][2] = {} -defs["enums"]["ImGuiKey_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiKey_"][2]["name"] = "ImGuiKey_LeftArrow" -defs["enums"]["ImGuiKey_"][2]["value"] = "1" -defs["enums"]["ImGuiKey_"][3] = {} -defs["enums"]["ImGuiKey_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiKey_"][3]["name"] = "ImGuiKey_RightArrow" -defs["enums"]["ImGuiKey_"][3]["value"] = "2" -defs["enums"]["ImGuiKey_"][4] = {} -defs["enums"]["ImGuiKey_"][4]["calc_value"] = 3 -defs["enums"]["ImGuiKey_"][4]["name"] = "ImGuiKey_UpArrow" -defs["enums"]["ImGuiKey_"][4]["value"] = "3" -defs["enums"]["ImGuiKey_"][5] = {} -defs["enums"]["ImGuiKey_"][5]["calc_value"] = 4 -defs["enums"]["ImGuiKey_"][5]["name"] = "ImGuiKey_DownArrow" -defs["enums"]["ImGuiKey_"][5]["value"] = "4" -defs["enums"]["ImGuiKey_"][6] = {} -defs["enums"]["ImGuiKey_"][6]["calc_value"] = 5 -defs["enums"]["ImGuiKey_"][6]["name"] = "ImGuiKey_PageUp" -defs["enums"]["ImGuiKey_"][6]["value"] = "5" -defs["enums"]["ImGuiKey_"][7] = {} -defs["enums"]["ImGuiKey_"][7]["calc_value"] = 6 -defs["enums"]["ImGuiKey_"][7]["name"] = "ImGuiKey_PageDown" -defs["enums"]["ImGuiKey_"][7]["value"] = "6" -defs["enums"]["ImGuiKey_"][8] = {} -defs["enums"]["ImGuiKey_"][8]["calc_value"] = 7 -defs["enums"]["ImGuiKey_"][8]["name"] = "ImGuiKey_Home" -defs["enums"]["ImGuiKey_"][8]["value"] = "7" -defs["enums"]["ImGuiKey_"][9] = {} -defs["enums"]["ImGuiKey_"][9]["calc_value"] = 8 -defs["enums"]["ImGuiKey_"][9]["name"] = "ImGuiKey_End" -defs["enums"]["ImGuiKey_"][9]["value"] = "8" -defs["enums"]["ImGuiKey_"][10] = {} -defs["enums"]["ImGuiKey_"][10]["calc_value"] = 9 -defs["enums"]["ImGuiKey_"][10]["name"] = "ImGuiKey_Insert" -defs["enums"]["ImGuiKey_"][10]["value"] = "9" -defs["enums"]["ImGuiKey_"][11] = {} -defs["enums"]["ImGuiKey_"][11]["calc_value"] = 10 -defs["enums"]["ImGuiKey_"][11]["name"] = "ImGuiKey_Delete" -defs["enums"]["ImGuiKey_"][11]["value"] = "10" -defs["enums"]["ImGuiKey_"][12] = {} -defs["enums"]["ImGuiKey_"][12]["calc_value"] = 11 -defs["enums"]["ImGuiKey_"][12]["name"] = "ImGuiKey_Backspace" -defs["enums"]["ImGuiKey_"][12]["value"] = "11" -defs["enums"]["ImGuiKey_"][13] = {} -defs["enums"]["ImGuiKey_"][13]["calc_value"] = 12 -defs["enums"]["ImGuiKey_"][13]["name"] = "ImGuiKey_Space" -defs["enums"]["ImGuiKey_"][13]["value"] = "12" -defs["enums"]["ImGuiKey_"][14] = {} -defs["enums"]["ImGuiKey_"][14]["calc_value"] = 13 -defs["enums"]["ImGuiKey_"][14]["name"] = "ImGuiKey_Enter" -defs["enums"]["ImGuiKey_"][14]["value"] = "13" -defs["enums"]["ImGuiKey_"][15] = {} -defs["enums"]["ImGuiKey_"][15]["calc_value"] = 14 -defs["enums"]["ImGuiKey_"][15]["name"] = "ImGuiKey_Escape" -defs["enums"]["ImGuiKey_"][15]["value"] = "14" -defs["enums"]["ImGuiKey_"][16] = {} -defs["enums"]["ImGuiKey_"][16]["calc_value"] = 15 -defs["enums"]["ImGuiKey_"][16]["name"] = "ImGuiKey_KeyPadEnter" -defs["enums"]["ImGuiKey_"][16]["value"] = "15" -defs["enums"]["ImGuiKey_"][17] = {} -defs["enums"]["ImGuiKey_"][17]["calc_value"] = 16 -defs["enums"]["ImGuiKey_"][17]["name"] = "ImGuiKey_A" -defs["enums"]["ImGuiKey_"][17]["value"] = "16" -defs["enums"]["ImGuiKey_"][18] = {} -defs["enums"]["ImGuiKey_"][18]["calc_value"] = 17 -defs["enums"]["ImGuiKey_"][18]["name"] = "ImGuiKey_C" -defs["enums"]["ImGuiKey_"][18]["value"] = "17" -defs["enums"]["ImGuiKey_"][19] = {} -defs["enums"]["ImGuiKey_"][19]["calc_value"] = 18 -defs["enums"]["ImGuiKey_"][19]["name"] = "ImGuiKey_V" -defs["enums"]["ImGuiKey_"][19]["value"] = "18" -defs["enums"]["ImGuiKey_"][20] = {} -defs["enums"]["ImGuiKey_"][20]["calc_value"] = 19 -defs["enums"]["ImGuiKey_"][20]["name"] = "ImGuiKey_X" -defs["enums"]["ImGuiKey_"][20]["value"] = "19" -defs["enums"]["ImGuiKey_"][21] = {} -defs["enums"]["ImGuiKey_"][21]["calc_value"] = 20 -defs["enums"]["ImGuiKey_"][21]["name"] = "ImGuiKey_Y" -defs["enums"]["ImGuiKey_"][21]["value"] = "20" -defs["enums"]["ImGuiKey_"][22] = {} -defs["enums"]["ImGuiKey_"][22]["calc_value"] = 21 -defs["enums"]["ImGuiKey_"][22]["name"] = "ImGuiKey_Z" -defs["enums"]["ImGuiKey_"][22]["value"] = "21" -defs["enums"]["ImGuiKey_"][23] = {} -defs["enums"]["ImGuiKey_"][23]["calc_value"] = 22 -defs["enums"]["ImGuiKey_"][23]["name"] = "ImGuiKey_COUNT" -defs["enums"]["ImGuiKey_"][23]["value"] = "22" +defs["enums"]["ImGuiItemStatusFlags_"][11] = {} +defs["enums"]["ImGuiItemStatusFlags_"][11]["calc_value"] = 512 +defs["enums"]["ImGuiItemStatusFlags_"][11]["name"] = "ImGuiItemStatusFlags_Visible" +defs["enums"]["ImGuiItemStatusFlags_"][11]["value"] = "1 << 9" +defs["enums"]["ImGuiKey"] = {} +defs["enums"]["ImGuiKey"][1] = {} +defs["enums"]["ImGuiKey"][1]["calc_value"] = 0 +defs["enums"]["ImGuiKey"][1]["name"] = "ImGuiKey_None" +defs["enums"]["ImGuiKey"][1]["value"] = "0" +defs["enums"]["ImGuiKey"][2] = {} +defs["enums"]["ImGuiKey"][2]["calc_value"] = 512 +defs["enums"]["ImGuiKey"][2]["name"] = "ImGuiKey_Tab" +defs["enums"]["ImGuiKey"][2]["value"] = "512" +defs["enums"]["ImGuiKey"][3] = {} +defs["enums"]["ImGuiKey"][3]["calc_value"] = 513 +defs["enums"]["ImGuiKey"][3]["name"] = "ImGuiKey_LeftArrow" +defs["enums"]["ImGuiKey"][3]["value"] = "513" +defs["enums"]["ImGuiKey"][4] = {} +defs["enums"]["ImGuiKey"][4]["calc_value"] = 514 +defs["enums"]["ImGuiKey"][4]["name"] = "ImGuiKey_RightArrow" +defs["enums"]["ImGuiKey"][4]["value"] = "514" +defs["enums"]["ImGuiKey"][5] = {} +defs["enums"]["ImGuiKey"][5]["calc_value"] = 515 +defs["enums"]["ImGuiKey"][5]["name"] = "ImGuiKey_UpArrow" +defs["enums"]["ImGuiKey"][5]["value"] = "515" +defs["enums"]["ImGuiKey"][6] = {} +defs["enums"]["ImGuiKey"][6]["calc_value"] = 516 +defs["enums"]["ImGuiKey"][6]["name"] = "ImGuiKey_DownArrow" +defs["enums"]["ImGuiKey"][6]["value"] = "516" +defs["enums"]["ImGuiKey"][7] = {} +defs["enums"]["ImGuiKey"][7]["calc_value"] = 517 +defs["enums"]["ImGuiKey"][7]["name"] = "ImGuiKey_PageUp" +defs["enums"]["ImGuiKey"][7]["value"] = "517" +defs["enums"]["ImGuiKey"][8] = {} +defs["enums"]["ImGuiKey"][8]["calc_value"] = 518 +defs["enums"]["ImGuiKey"][8]["name"] = "ImGuiKey_PageDown" +defs["enums"]["ImGuiKey"][8]["value"] = "518" +defs["enums"]["ImGuiKey"][9] = {} +defs["enums"]["ImGuiKey"][9]["calc_value"] = 519 +defs["enums"]["ImGuiKey"][9]["name"] = "ImGuiKey_Home" +defs["enums"]["ImGuiKey"][9]["value"] = "519" +defs["enums"]["ImGuiKey"][10] = {} +defs["enums"]["ImGuiKey"][10]["calc_value"] = 520 +defs["enums"]["ImGuiKey"][10]["name"] = "ImGuiKey_End" +defs["enums"]["ImGuiKey"][10]["value"] = "520" +defs["enums"]["ImGuiKey"][11] = {} +defs["enums"]["ImGuiKey"][11]["calc_value"] = 521 +defs["enums"]["ImGuiKey"][11]["name"] = "ImGuiKey_Insert" +defs["enums"]["ImGuiKey"][11]["value"] = "521" +defs["enums"]["ImGuiKey"][12] = {} +defs["enums"]["ImGuiKey"][12]["calc_value"] = 522 +defs["enums"]["ImGuiKey"][12]["name"] = "ImGuiKey_Delete" +defs["enums"]["ImGuiKey"][12]["value"] = "522" +defs["enums"]["ImGuiKey"][13] = {} +defs["enums"]["ImGuiKey"][13]["calc_value"] = 523 +defs["enums"]["ImGuiKey"][13]["name"] = "ImGuiKey_Backspace" +defs["enums"]["ImGuiKey"][13]["value"] = "523" +defs["enums"]["ImGuiKey"][14] = {} +defs["enums"]["ImGuiKey"][14]["calc_value"] = 524 +defs["enums"]["ImGuiKey"][14]["name"] = "ImGuiKey_Space" +defs["enums"]["ImGuiKey"][14]["value"] = "524" +defs["enums"]["ImGuiKey"][15] = {} +defs["enums"]["ImGuiKey"][15]["calc_value"] = 525 +defs["enums"]["ImGuiKey"][15]["name"] = "ImGuiKey_Enter" +defs["enums"]["ImGuiKey"][15]["value"] = "525" +defs["enums"]["ImGuiKey"][16] = {} +defs["enums"]["ImGuiKey"][16]["calc_value"] = 526 +defs["enums"]["ImGuiKey"][16]["name"] = "ImGuiKey_Escape" +defs["enums"]["ImGuiKey"][16]["value"] = "526" +defs["enums"]["ImGuiKey"][17] = {} +defs["enums"]["ImGuiKey"][17]["calc_value"] = 527 +defs["enums"]["ImGuiKey"][17]["name"] = "ImGuiKey_LeftCtrl" +defs["enums"]["ImGuiKey"][17]["value"] = "527" +defs["enums"]["ImGuiKey"][18] = {} +defs["enums"]["ImGuiKey"][18]["calc_value"] = 528 +defs["enums"]["ImGuiKey"][18]["name"] = "ImGuiKey_LeftShift" +defs["enums"]["ImGuiKey"][18]["value"] = "528" +defs["enums"]["ImGuiKey"][19] = {} +defs["enums"]["ImGuiKey"][19]["calc_value"] = 529 +defs["enums"]["ImGuiKey"][19]["name"] = "ImGuiKey_LeftAlt" +defs["enums"]["ImGuiKey"][19]["value"] = "529" +defs["enums"]["ImGuiKey"][20] = {} +defs["enums"]["ImGuiKey"][20]["calc_value"] = 530 +defs["enums"]["ImGuiKey"][20]["name"] = "ImGuiKey_LeftSuper" +defs["enums"]["ImGuiKey"][20]["value"] = "530" +defs["enums"]["ImGuiKey"][21] = {} +defs["enums"]["ImGuiKey"][21]["calc_value"] = 531 +defs["enums"]["ImGuiKey"][21]["name"] = "ImGuiKey_RightCtrl" +defs["enums"]["ImGuiKey"][21]["value"] = "531" +defs["enums"]["ImGuiKey"][22] = {} +defs["enums"]["ImGuiKey"][22]["calc_value"] = 532 +defs["enums"]["ImGuiKey"][22]["name"] = "ImGuiKey_RightShift" +defs["enums"]["ImGuiKey"][22]["value"] = "532" +defs["enums"]["ImGuiKey"][23] = {} +defs["enums"]["ImGuiKey"][23]["calc_value"] = 533 +defs["enums"]["ImGuiKey"][23]["name"] = "ImGuiKey_RightAlt" +defs["enums"]["ImGuiKey"][23]["value"] = "533" +defs["enums"]["ImGuiKey"][24] = {} +defs["enums"]["ImGuiKey"][24]["calc_value"] = 534 +defs["enums"]["ImGuiKey"][24]["name"] = "ImGuiKey_RightSuper" +defs["enums"]["ImGuiKey"][24]["value"] = "534" +defs["enums"]["ImGuiKey"][25] = {} +defs["enums"]["ImGuiKey"][25]["calc_value"] = 535 +defs["enums"]["ImGuiKey"][25]["name"] = "ImGuiKey_Menu" +defs["enums"]["ImGuiKey"][25]["value"] = "535" +defs["enums"]["ImGuiKey"][26] = {} +defs["enums"]["ImGuiKey"][26]["calc_value"] = 536 +defs["enums"]["ImGuiKey"][26]["name"] = "ImGuiKey_0" +defs["enums"]["ImGuiKey"][26]["value"] = "536" +defs["enums"]["ImGuiKey"][27] = {} +defs["enums"]["ImGuiKey"][27]["calc_value"] = 537 +defs["enums"]["ImGuiKey"][27]["name"] = "ImGuiKey_1" +defs["enums"]["ImGuiKey"][27]["value"] = "537" +defs["enums"]["ImGuiKey"][28] = {} +defs["enums"]["ImGuiKey"][28]["calc_value"] = 538 +defs["enums"]["ImGuiKey"][28]["name"] = "ImGuiKey_2" +defs["enums"]["ImGuiKey"][28]["value"] = "538" +defs["enums"]["ImGuiKey"][29] = {} +defs["enums"]["ImGuiKey"][29]["calc_value"] = 539 +defs["enums"]["ImGuiKey"][29]["name"] = "ImGuiKey_3" +defs["enums"]["ImGuiKey"][29]["value"] = "539" +defs["enums"]["ImGuiKey"][30] = {} +defs["enums"]["ImGuiKey"][30]["calc_value"] = 540 +defs["enums"]["ImGuiKey"][30]["name"] = "ImGuiKey_4" +defs["enums"]["ImGuiKey"][30]["value"] = "540" +defs["enums"]["ImGuiKey"][31] = {} +defs["enums"]["ImGuiKey"][31]["calc_value"] = 541 +defs["enums"]["ImGuiKey"][31]["name"] = "ImGuiKey_5" +defs["enums"]["ImGuiKey"][31]["value"] = "541" +defs["enums"]["ImGuiKey"][32] = {} +defs["enums"]["ImGuiKey"][32]["calc_value"] = 542 +defs["enums"]["ImGuiKey"][32]["name"] = "ImGuiKey_6" +defs["enums"]["ImGuiKey"][32]["value"] = "542" +defs["enums"]["ImGuiKey"][33] = {} +defs["enums"]["ImGuiKey"][33]["calc_value"] = 543 +defs["enums"]["ImGuiKey"][33]["name"] = "ImGuiKey_7" +defs["enums"]["ImGuiKey"][33]["value"] = "543" +defs["enums"]["ImGuiKey"][34] = {} +defs["enums"]["ImGuiKey"][34]["calc_value"] = 544 +defs["enums"]["ImGuiKey"][34]["name"] = "ImGuiKey_8" +defs["enums"]["ImGuiKey"][34]["value"] = "544" +defs["enums"]["ImGuiKey"][35] = {} +defs["enums"]["ImGuiKey"][35]["calc_value"] = 545 +defs["enums"]["ImGuiKey"][35]["name"] = "ImGuiKey_9" +defs["enums"]["ImGuiKey"][35]["value"] = "545" +defs["enums"]["ImGuiKey"][36] = {} +defs["enums"]["ImGuiKey"][36]["calc_value"] = 546 +defs["enums"]["ImGuiKey"][36]["name"] = "ImGuiKey_A" +defs["enums"]["ImGuiKey"][36]["value"] = "546" +defs["enums"]["ImGuiKey"][37] = {} +defs["enums"]["ImGuiKey"][37]["calc_value"] = 547 +defs["enums"]["ImGuiKey"][37]["name"] = "ImGuiKey_B" +defs["enums"]["ImGuiKey"][37]["value"] = "547" +defs["enums"]["ImGuiKey"][38] = {} +defs["enums"]["ImGuiKey"][38]["calc_value"] = 548 +defs["enums"]["ImGuiKey"][38]["name"] = "ImGuiKey_C" +defs["enums"]["ImGuiKey"][38]["value"] = "548" +defs["enums"]["ImGuiKey"][39] = {} +defs["enums"]["ImGuiKey"][39]["calc_value"] = 549 +defs["enums"]["ImGuiKey"][39]["name"] = "ImGuiKey_D" +defs["enums"]["ImGuiKey"][39]["value"] = "549" +defs["enums"]["ImGuiKey"][40] = {} +defs["enums"]["ImGuiKey"][40]["calc_value"] = 550 +defs["enums"]["ImGuiKey"][40]["name"] = "ImGuiKey_E" +defs["enums"]["ImGuiKey"][40]["value"] = "550" +defs["enums"]["ImGuiKey"][41] = {} +defs["enums"]["ImGuiKey"][41]["calc_value"] = 551 +defs["enums"]["ImGuiKey"][41]["name"] = "ImGuiKey_F" +defs["enums"]["ImGuiKey"][41]["value"] = "551" +defs["enums"]["ImGuiKey"][42] = {} +defs["enums"]["ImGuiKey"][42]["calc_value"] = 552 +defs["enums"]["ImGuiKey"][42]["name"] = "ImGuiKey_G" +defs["enums"]["ImGuiKey"][42]["value"] = "552" +defs["enums"]["ImGuiKey"][43] = {} +defs["enums"]["ImGuiKey"][43]["calc_value"] = 553 +defs["enums"]["ImGuiKey"][43]["name"] = "ImGuiKey_H" +defs["enums"]["ImGuiKey"][43]["value"] = "553" +defs["enums"]["ImGuiKey"][44] = {} +defs["enums"]["ImGuiKey"][44]["calc_value"] = 554 +defs["enums"]["ImGuiKey"][44]["name"] = "ImGuiKey_I" +defs["enums"]["ImGuiKey"][44]["value"] = "554" +defs["enums"]["ImGuiKey"][45] = {} +defs["enums"]["ImGuiKey"][45]["calc_value"] = 555 +defs["enums"]["ImGuiKey"][45]["name"] = "ImGuiKey_J" +defs["enums"]["ImGuiKey"][45]["value"] = "555" +defs["enums"]["ImGuiKey"][46] = {} +defs["enums"]["ImGuiKey"][46]["calc_value"] = 556 +defs["enums"]["ImGuiKey"][46]["name"] = "ImGuiKey_K" +defs["enums"]["ImGuiKey"][46]["value"] = "556" +defs["enums"]["ImGuiKey"][47] = {} +defs["enums"]["ImGuiKey"][47]["calc_value"] = 557 +defs["enums"]["ImGuiKey"][47]["name"] = "ImGuiKey_L" +defs["enums"]["ImGuiKey"][47]["value"] = "557" +defs["enums"]["ImGuiKey"][48] = {} +defs["enums"]["ImGuiKey"][48]["calc_value"] = 558 +defs["enums"]["ImGuiKey"][48]["name"] = "ImGuiKey_M" +defs["enums"]["ImGuiKey"][48]["value"] = "558" +defs["enums"]["ImGuiKey"][49] = {} +defs["enums"]["ImGuiKey"][49]["calc_value"] = 559 +defs["enums"]["ImGuiKey"][49]["name"] = "ImGuiKey_N" +defs["enums"]["ImGuiKey"][49]["value"] = "559" +defs["enums"]["ImGuiKey"][50] = {} +defs["enums"]["ImGuiKey"][50]["calc_value"] = 560 +defs["enums"]["ImGuiKey"][50]["name"] = "ImGuiKey_O" +defs["enums"]["ImGuiKey"][50]["value"] = "560" +defs["enums"]["ImGuiKey"][51] = {} +defs["enums"]["ImGuiKey"][51]["calc_value"] = 561 +defs["enums"]["ImGuiKey"][51]["name"] = "ImGuiKey_P" +defs["enums"]["ImGuiKey"][51]["value"] = "561" +defs["enums"]["ImGuiKey"][52] = {} +defs["enums"]["ImGuiKey"][52]["calc_value"] = 562 +defs["enums"]["ImGuiKey"][52]["name"] = "ImGuiKey_Q" +defs["enums"]["ImGuiKey"][52]["value"] = "562" +defs["enums"]["ImGuiKey"][53] = {} +defs["enums"]["ImGuiKey"][53]["calc_value"] = 563 +defs["enums"]["ImGuiKey"][53]["name"] = "ImGuiKey_R" +defs["enums"]["ImGuiKey"][53]["value"] = "563" +defs["enums"]["ImGuiKey"][54] = {} +defs["enums"]["ImGuiKey"][54]["calc_value"] = 564 +defs["enums"]["ImGuiKey"][54]["name"] = "ImGuiKey_S" +defs["enums"]["ImGuiKey"][54]["value"] = "564" +defs["enums"]["ImGuiKey"][55] = {} +defs["enums"]["ImGuiKey"][55]["calc_value"] = 565 +defs["enums"]["ImGuiKey"][55]["name"] = "ImGuiKey_T" +defs["enums"]["ImGuiKey"][55]["value"] = "565" +defs["enums"]["ImGuiKey"][56] = {} +defs["enums"]["ImGuiKey"][56]["calc_value"] = 566 +defs["enums"]["ImGuiKey"][56]["name"] = "ImGuiKey_U" +defs["enums"]["ImGuiKey"][56]["value"] = "566" +defs["enums"]["ImGuiKey"][57] = {} +defs["enums"]["ImGuiKey"][57]["calc_value"] = 567 +defs["enums"]["ImGuiKey"][57]["name"] = "ImGuiKey_V" +defs["enums"]["ImGuiKey"][57]["value"] = "567" +defs["enums"]["ImGuiKey"][58] = {} +defs["enums"]["ImGuiKey"][58]["calc_value"] = 568 +defs["enums"]["ImGuiKey"][58]["name"] = "ImGuiKey_W" +defs["enums"]["ImGuiKey"][58]["value"] = "568" +defs["enums"]["ImGuiKey"][59] = {} +defs["enums"]["ImGuiKey"][59]["calc_value"] = 569 +defs["enums"]["ImGuiKey"][59]["name"] = "ImGuiKey_X" +defs["enums"]["ImGuiKey"][59]["value"] = "569" +defs["enums"]["ImGuiKey"][60] = {} +defs["enums"]["ImGuiKey"][60]["calc_value"] = 570 +defs["enums"]["ImGuiKey"][60]["name"] = "ImGuiKey_Y" +defs["enums"]["ImGuiKey"][60]["value"] = "570" +defs["enums"]["ImGuiKey"][61] = {} +defs["enums"]["ImGuiKey"][61]["calc_value"] = 571 +defs["enums"]["ImGuiKey"][61]["name"] = "ImGuiKey_Z" +defs["enums"]["ImGuiKey"][61]["value"] = "571" +defs["enums"]["ImGuiKey"][62] = {} +defs["enums"]["ImGuiKey"][62]["calc_value"] = 572 +defs["enums"]["ImGuiKey"][62]["name"] = "ImGuiKey_F1" +defs["enums"]["ImGuiKey"][62]["value"] = "572" +defs["enums"]["ImGuiKey"][63] = {} +defs["enums"]["ImGuiKey"][63]["calc_value"] = 573 +defs["enums"]["ImGuiKey"][63]["name"] = "ImGuiKey_F2" +defs["enums"]["ImGuiKey"][63]["value"] = "573" +defs["enums"]["ImGuiKey"][64] = {} +defs["enums"]["ImGuiKey"][64]["calc_value"] = 574 +defs["enums"]["ImGuiKey"][64]["name"] = "ImGuiKey_F3" +defs["enums"]["ImGuiKey"][64]["value"] = "574" +defs["enums"]["ImGuiKey"][65] = {} +defs["enums"]["ImGuiKey"][65]["calc_value"] = 575 +defs["enums"]["ImGuiKey"][65]["name"] = "ImGuiKey_F4" +defs["enums"]["ImGuiKey"][65]["value"] = "575" +defs["enums"]["ImGuiKey"][66] = {} +defs["enums"]["ImGuiKey"][66]["calc_value"] = 576 +defs["enums"]["ImGuiKey"][66]["name"] = "ImGuiKey_F5" +defs["enums"]["ImGuiKey"][66]["value"] = "576" +defs["enums"]["ImGuiKey"][67] = {} +defs["enums"]["ImGuiKey"][67]["calc_value"] = 577 +defs["enums"]["ImGuiKey"][67]["name"] = "ImGuiKey_F6" +defs["enums"]["ImGuiKey"][67]["value"] = "577" +defs["enums"]["ImGuiKey"][68] = {} +defs["enums"]["ImGuiKey"][68]["calc_value"] = 578 +defs["enums"]["ImGuiKey"][68]["name"] = "ImGuiKey_F7" +defs["enums"]["ImGuiKey"][68]["value"] = "578" +defs["enums"]["ImGuiKey"][69] = {} +defs["enums"]["ImGuiKey"][69]["calc_value"] = 579 +defs["enums"]["ImGuiKey"][69]["name"] = "ImGuiKey_F8" +defs["enums"]["ImGuiKey"][69]["value"] = "579" +defs["enums"]["ImGuiKey"][70] = {} +defs["enums"]["ImGuiKey"][70]["calc_value"] = 580 +defs["enums"]["ImGuiKey"][70]["name"] = "ImGuiKey_F9" +defs["enums"]["ImGuiKey"][70]["value"] = "580" +defs["enums"]["ImGuiKey"][71] = {} +defs["enums"]["ImGuiKey"][71]["calc_value"] = 581 +defs["enums"]["ImGuiKey"][71]["name"] = "ImGuiKey_F10" +defs["enums"]["ImGuiKey"][71]["value"] = "581" +defs["enums"]["ImGuiKey"][72] = {} +defs["enums"]["ImGuiKey"][72]["calc_value"] = 582 +defs["enums"]["ImGuiKey"][72]["name"] = "ImGuiKey_F11" +defs["enums"]["ImGuiKey"][72]["value"] = "582" +defs["enums"]["ImGuiKey"][73] = {} +defs["enums"]["ImGuiKey"][73]["calc_value"] = 583 +defs["enums"]["ImGuiKey"][73]["name"] = "ImGuiKey_F12" +defs["enums"]["ImGuiKey"][73]["value"] = "583" +defs["enums"]["ImGuiKey"][74] = {} +defs["enums"]["ImGuiKey"][74]["calc_value"] = 584 +defs["enums"]["ImGuiKey"][74]["name"] = "ImGuiKey_Apostrophe" +defs["enums"]["ImGuiKey"][74]["value"] = "584" +defs["enums"]["ImGuiKey"][75] = {} +defs["enums"]["ImGuiKey"][75]["calc_value"] = 585 +defs["enums"]["ImGuiKey"][75]["name"] = "ImGuiKey_Comma" +defs["enums"]["ImGuiKey"][75]["value"] = "585" +defs["enums"]["ImGuiKey"][76] = {} +defs["enums"]["ImGuiKey"][76]["calc_value"] = 586 +defs["enums"]["ImGuiKey"][76]["name"] = "ImGuiKey_Minus" +defs["enums"]["ImGuiKey"][76]["value"] = "586" +defs["enums"]["ImGuiKey"][77] = {} +defs["enums"]["ImGuiKey"][77]["calc_value"] = 587 +defs["enums"]["ImGuiKey"][77]["name"] = "ImGuiKey_Period" +defs["enums"]["ImGuiKey"][77]["value"] = "587" +defs["enums"]["ImGuiKey"][78] = {} +defs["enums"]["ImGuiKey"][78]["calc_value"] = 588 +defs["enums"]["ImGuiKey"][78]["name"] = "ImGuiKey_Slash" +defs["enums"]["ImGuiKey"][78]["value"] = "588" +defs["enums"]["ImGuiKey"][79] = {} +defs["enums"]["ImGuiKey"][79]["calc_value"] = 589 +defs["enums"]["ImGuiKey"][79]["name"] = "ImGuiKey_Semicolon" +defs["enums"]["ImGuiKey"][79]["value"] = "589" +defs["enums"]["ImGuiKey"][80] = {} +defs["enums"]["ImGuiKey"][80]["calc_value"] = 590 +defs["enums"]["ImGuiKey"][80]["name"] = "ImGuiKey_Equal" +defs["enums"]["ImGuiKey"][80]["value"] = "590" +defs["enums"]["ImGuiKey"][81] = {} +defs["enums"]["ImGuiKey"][81]["calc_value"] = 591 +defs["enums"]["ImGuiKey"][81]["name"] = "ImGuiKey_LeftBracket" +defs["enums"]["ImGuiKey"][81]["value"] = "591" +defs["enums"]["ImGuiKey"][82] = {} +defs["enums"]["ImGuiKey"][82]["calc_value"] = 592 +defs["enums"]["ImGuiKey"][82]["name"] = "ImGuiKey_Backslash" +defs["enums"]["ImGuiKey"][82]["value"] = "592" +defs["enums"]["ImGuiKey"][83] = {} +defs["enums"]["ImGuiKey"][83]["calc_value"] = 593 +defs["enums"]["ImGuiKey"][83]["name"] = "ImGuiKey_RightBracket" +defs["enums"]["ImGuiKey"][83]["value"] = "593" +defs["enums"]["ImGuiKey"][84] = {} +defs["enums"]["ImGuiKey"][84]["calc_value"] = 594 +defs["enums"]["ImGuiKey"][84]["name"] = "ImGuiKey_GraveAccent" +defs["enums"]["ImGuiKey"][84]["value"] = "594" +defs["enums"]["ImGuiKey"][85] = {} +defs["enums"]["ImGuiKey"][85]["calc_value"] = 595 +defs["enums"]["ImGuiKey"][85]["name"] = "ImGuiKey_CapsLock" +defs["enums"]["ImGuiKey"][85]["value"] = "595" +defs["enums"]["ImGuiKey"][86] = {} +defs["enums"]["ImGuiKey"][86]["calc_value"] = 596 +defs["enums"]["ImGuiKey"][86]["name"] = "ImGuiKey_ScrollLock" +defs["enums"]["ImGuiKey"][86]["value"] = "596" +defs["enums"]["ImGuiKey"][87] = {} +defs["enums"]["ImGuiKey"][87]["calc_value"] = 597 +defs["enums"]["ImGuiKey"][87]["name"] = "ImGuiKey_NumLock" +defs["enums"]["ImGuiKey"][87]["value"] = "597" +defs["enums"]["ImGuiKey"][88] = {} +defs["enums"]["ImGuiKey"][88]["calc_value"] = 598 +defs["enums"]["ImGuiKey"][88]["name"] = "ImGuiKey_PrintScreen" +defs["enums"]["ImGuiKey"][88]["value"] = "598" +defs["enums"]["ImGuiKey"][89] = {} +defs["enums"]["ImGuiKey"][89]["calc_value"] = 599 +defs["enums"]["ImGuiKey"][89]["name"] = "ImGuiKey_Pause" +defs["enums"]["ImGuiKey"][89]["value"] = "599" +defs["enums"]["ImGuiKey"][90] = {} +defs["enums"]["ImGuiKey"][90]["calc_value"] = 600 +defs["enums"]["ImGuiKey"][90]["name"] = "ImGuiKey_Keypad0" +defs["enums"]["ImGuiKey"][90]["value"] = "600" +defs["enums"]["ImGuiKey"][91] = {} +defs["enums"]["ImGuiKey"][91]["calc_value"] = 601 +defs["enums"]["ImGuiKey"][91]["name"] = "ImGuiKey_Keypad1" +defs["enums"]["ImGuiKey"][91]["value"] = "601" +defs["enums"]["ImGuiKey"][92] = {} +defs["enums"]["ImGuiKey"][92]["calc_value"] = 602 +defs["enums"]["ImGuiKey"][92]["name"] = "ImGuiKey_Keypad2" +defs["enums"]["ImGuiKey"][92]["value"] = "602" +defs["enums"]["ImGuiKey"][93] = {} +defs["enums"]["ImGuiKey"][93]["calc_value"] = 603 +defs["enums"]["ImGuiKey"][93]["name"] = "ImGuiKey_Keypad3" +defs["enums"]["ImGuiKey"][93]["value"] = "603" +defs["enums"]["ImGuiKey"][94] = {} +defs["enums"]["ImGuiKey"][94]["calc_value"] = 604 +defs["enums"]["ImGuiKey"][94]["name"] = "ImGuiKey_Keypad4" +defs["enums"]["ImGuiKey"][94]["value"] = "604" +defs["enums"]["ImGuiKey"][95] = {} +defs["enums"]["ImGuiKey"][95]["calc_value"] = 605 +defs["enums"]["ImGuiKey"][95]["name"] = "ImGuiKey_Keypad5" +defs["enums"]["ImGuiKey"][95]["value"] = "605" +defs["enums"]["ImGuiKey"][96] = {} +defs["enums"]["ImGuiKey"][96]["calc_value"] = 606 +defs["enums"]["ImGuiKey"][96]["name"] = "ImGuiKey_Keypad6" +defs["enums"]["ImGuiKey"][96]["value"] = "606" +defs["enums"]["ImGuiKey"][97] = {} +defs["enums"]["ImGuiKey"][97]["calc_value"] = 607 +defs["enums"]["ImGuiKey"][97]["name"] = "ImGuiKey_Keypad7" +defs["enums"]["ImGuiKey"][97]["value"] = "607" +defs["enums"]["ImGuiKey"][98] = {} +defs["enums"]["ImGuiKey"][98]["calc_value"] = 608 +defs["enums"]["ImGuiKey"][98]["name"] = "ImGuiKey_Keypad8" +defs["enums"]["ImGuiKey"][98]["value"] = "608" +defs["enums"]["ImGuiKey"][99] = {} +defs["enums"]["ImGuiKey"][99]["calc_value"] = 609 +defs["enums"]["ImGuiKey"][99]["name"] = "ImGuiKey_Keypad9" +defs["enums"]["ImGuiKey"][99]["value"] = "609" +defs["enums"]["ImGuiKey"][100] = {} +defs["enums"]["ImGuiKey"][100]["calc_value"] = 610 +defs["enums"]["ImGuiKey"][100]["name"] = "ImGuiKey_KeypadDecimal" +defs["enums"]["ImGuiKey"][100]["value"] = "610" +defs["enums"]["ImGuiKey"][101] = {} +defs["enums"]["ImGuiKey"][101]["calc_value"] = 611 +defs["enums"]["ImGuiKey"][101]["name"] = "ImGuiKey_KeypadDivide" +defs["enums"]["ImGuiKey"][101]["value"] = "611" +defs["enums"]["ImGuiKey"][102] = {} +defs["enums"]["ImGuiKey"][102]["calc_value"] = 612 +defs["enums"]["ImGuiKey"][102]["name"] = "ImGuiKey_KeypadMultiply" +defs["enums"]["ImGuiKey"][102]["value"] = "612" +defs["enums"]["ImGuiKey"][103] = {} +defs["enums"]["ImGuiKey"][103]["calc_value"] = 613 +defs["enums"]["ImGuiKey"][103]["name"] = "ImGuiKey_KeypadSubtract" +defs["enums"]["ImGuiKey"][103]["value"] = "613" +defs["enums"]["ImGuiKey"][104] = {} +defs["enums"]["ImGuiKey"][104]["calc_value"] = 614 +defs["enums"]["ImGuiKey"][104]["name"] = "ImGuiKey_KeypadAdd" +defs["enums"]["ImGuiKey"][104]["value"] = "614" +defs["enums"]["ImGuiKey"][105] = {} +defs["enums"]["ImGuiKey"][105]["calc_value"] = 615 +defs["enums"]["ImGuiKey"][105]["name"] = "ImGuiKey_KeypadEnter" +defs["enums"]["ImGuiKey"][105]["value"] = "615" +defs["enums"]["ImGuiKey"][106] = {} +defs["enums"]["ImGuiKey"][106]["calc_value"] = 616 +defs["enums"]["ImGuiKey"][106]["name"] = "ImGuiKey_KeypadEqual" +defs["enums"]["ImGuiKey"][106]["value"] = "616" +defs["enums"]["ImGuiKey"][107] = {} +defs["enums"]["ImGuiKey"][107]["calc_value"] = 617 +defs["enums"]["ImGuiKey"][107]["name"] = "ImGuiKey_GamepadStart" +defs["enums"]["ImGuiKey"][107]["value"] = "617" +defs["enums"]["ImGuiKey"][108] = {} +defs["enums"]["ImGuiKey"][108]["calc_value"] = 618 +defs["enums"]["ImGuiKey"][108]["name"] = "ImGuiKey_GamepadBack" +defs["enums"]["ImGuiKey"][108]["value"] = "618" +defs["enums"]["ImGuiKey"][109] = {} +defs["enums"]["ImGuiKey"][109]["calc_value"] = 619 +defs["enums"]["ImGuiKey"][109]["name"] = "ImGuiKey_GamepadFaceLeft" +defs["enums"]["ImGuiKey"][109]["value"] = "619" +defs["enums"]["ImGuiKey"][110] = {} +defs["enums"]["ImGuiKey"][110]["calc_value"] = 620 +defs["enums"]["ImGuiKey"][110]["name"] = "ImGuiKey_GamepadFaceRight" +defs["enums"]["ImGuiKey"][110]["value"] = "620" +defs["enums"]["ImGuiKey"][111] = {} +defs["enums"]["ImGuiKey"][111]["calc_value"] = 621 +defs["enums"]["ImGuiKey"][111]["name"] = "ImGuiKey_GamepadFaceUp" +defs["enums"]["ImGuiKey"][111]["value"] = "621" +defs["enums"]["ImGuiKey"][112] = {} +defs["enums"]["ImGuiKey"][112]["calc_value"] = 622 +defs["enums"]["ImGuiKey"][112]["name"] = "ImGuiKey_GamepadFaceDown" +defs["enums"]["ImGuiKey"][112]["value"] = "622" +defs["enums"]["ImGuiKey"][113] = {} +defs["enums"]["ImGuiKey"][113]["calc_value"] = 623 +defs["enums"]["ImGuiKey"][113]["name"] = "ImGuiKey_GamepadDpadLeft" +defs["enums"]["ImGuiKey"][113]["value"] = "623" +defs["enums"]["ImGuiKey"][114] = {} +defs["enums"]["ImGuiKey"][114]["calc_value"] = 624 +defs["enums"]["ImGuiKey"][114]["name"] = "ImGuiKey_GamepadDpadRight" +defs["enums"]["ImGuiKey"][114]["value"] = "624" +defs["enums"]["ImGuiKey"][115] = {} +defs["enums"]["ImGuiKey"][115]["calc_value"] = 625 +defs["enums"]["ImGuiKey"][115]["name"] = "ImGuiKey_GamepadDpadUp" +defs["enums"]["ImGuiKey"][115]["value"] = "625" +defs["enums"]["ImGuiKey"][116] = {} +defs["enums"]["ImGuiKey"][116]["calc_value"] = 626 +defs["enums"]["ImGuiKey"][116]["name"] = "ImGuiKey_GamepadDpadDown" +defs["enums"]["ImGuiKey"][116]["value"] = "626" +defs["enums"]["ImGuiKey"][117] = {} +defs["enums"]["ImGuiKey"][117]["calc_value"] = 627 +defs["enums"]["ImGuiKey"][117]["name"] = "ImGuiKey_GamepadL1" +defs["enums"]["ImGuiKey"][117]["value"] = "627" +defs["enums"]["ImGuiKey"][118] = {} +defs["enums"]["ImGuiKey"][118]["calc_value"] = 628 +defs["enums"]["ImGuiKey"][118]["name"] = "ImGuiKey_GamepadR1" +defs["enums"]["ImGuiKey"][118]["value"] = "628" +defs["enums"]["ImGuiKey"][119] = {} +defs["enums"]["ImGuiKey"][119]["calc_value"] = 629 +defs["enums"]["ImGuiKey"][119]["name"] = "ImGuiKey_GamepadL2" +defs["enums"]["ImGuiKey"][119]["value"] = "629" +defs["enums"]["ImGuiKey"][120] = {} +defs["enums"]["ImGuiKey"][120]["calc_value"] = 630 +defs["enums"]["ImGuiKey"][120]["name"] = "ImGuiKey_GamepadR2" +defs["enums"]["ImGuiKey"][120]["value"] = "630" +defs["enums"]["ImGuiKey"][121] = {} +defs["enums"]["ImGuiKey"][121]["calc_value"] = 631 +defs["enums"]["ImGuiKey"][121]["name"] = "ImGuiKey_GamepadL3" +defs["enums"]["ImGuiKey"][121]["value"] = "631" +defs["enums"]["ImGuiKey"][122] = {} +defs["enums"]["ImGuiKey"][122]["calc_value"] = 632 +defs["enums"]["ImGuiKey"][122]["name"] = "ImGuiKey_GamepadR3" +defs["enums"]["ImGuiKey"][122]["value"] = "632" +defs["enums"]["ImGuiKey"][123] = {} +defs["enums"]["ImGuiKey"][123]["calc_value"] = 633 +defs["enums"]["ImGuiKey"][123]["name"] = "ImGuiKey_GamepadLStickLeft" +defs["enums"]["ImGuiKey"][123]["value"] = "633" +defs["enums"]["ImGuiKey"][124] = {} +defs["enums"]["ImGuiKey"][124]["calc_value"] = 634 +defs["enums"]["ImGuiKey"][124]["name"] = "ImGuiKey_GamepadLStickRight" +defs["enums"]["ImGuiKey"][124]["value"] = "634" +defs["enums"]["ImGuiKey"][125] = {} +defs["enums"]["ImGuiKey"][125]["calc_value"] = 635 +defs["enums"]["ImGuiKey"][125]["name"] = "ImGuiKey_GamepadLStickUp" +defs["enums"]["ImGuiKey"][125]["value"] = "635" +defs["enums"]["ImGuiKey"][126] = {} +defs["enums"]["ImGuiKey"][126]["calc_value"] = 636 +defs["enums"]["ImGuiKey"][126]["name"] = "ImGuiKey_GamepadLStickDown" +defs["enums"]["ImGuiKey"][126]["value"] = "636" +defs["enums"]["ImGuiKey"][127] = {} +defs["enums"]["ImGuiKey"][127]["calc_value"] = 637 +defs["enums"]["ImGuiKey"][127]["name"] = "ImGuiKey_GamepadRStickLeft" +defs["enums"]["ImGuiKey"][127]["value"] = "637" +defs["enums"]["ImGuiKey"][128] = {} +defs["enums"]["ImGuiKey"][128]["calc_value"] = 638 +defs["enums"]["ImGuiKey"][128]["name"] = "ImGuiKey_GamepadRStickRight" +defs["enums"]["ImGuiKey"][128]["value"] = "638" +defs["enums"]["ImGuiKey"][129] = {} +defs["enums"]["ImGuiKey"][129]["calc_value"] = 639 +defs["enums"]["ImGuiKey"][129]["name"] = "ImGuiKey_GamepadRStickUp" +defs["enums"]["ImGuiKey"][129]["value"] = "639" +defs["enums"]["ImGuiKey"][130] = {} +defs["enums"]["ImGuiKey"][130]["calc_value"] = 640 +defs["enums"]["ImGuiKey"][130]["name"] = "ImGuiKey_GamepadRStickDown" +defs["enums"]["ImGuiKey"][130]["value"] = "640" +defs["enums"]["ImGuiKey"][131] = {} +defs["enums"]["ImGuiKey"][131]["calc_value"] = 641 +defs["enums"]["ImGuiKey"][131]["name"] = "ImGuiKey_MouseLeft" +defs["enums"]["ImGuiKey"][131]["value"] = "641" +defs["enums"]["ImGuiKey"][132] = {} +defs["enums"]["ImGuiKey"][132]["calc_value"] = 642 +defs["enums"]["ImGuiKey"][132]["name"] = "ImGuiKey_MouseRight" +defs["enums"]["ImGuiKey"][132]["value"] = "642" +defs["enums"]["ImGuiKey"][133] = {} +defs["enums"]["ImGuiKey"][133]["calc_value"] = 643 +defs["enums"]["ImGuiKey"][133]["name"] = "ImGuiKey_MouseMiddle" +defs["enums"]["ImGuiKey"][133]["value"] = "643" +defs["enums"]["ImGuiKey"][134] = {} +defs["enums"]["ImGuiKey"][134]["calc_value"] = 644 +defs["enums"]["ImGuiKey"][134]["name"] = "ImGuiKey_MouseX1" +defs["enums"]["ImGuiKey"][134]["value"] = "644" +defs["enums"]["ImGuiKey"][135] = {} +defs["enums"]["ImGuiKey"][135]["calc_value"] = 645 +defs["enums"]["ImGuiKey"][135]["name"] = "ImGuiKey_MouseX2" +defs["enums"]["ImGuiKey"][135]["value"] = "645" +defs["enums"]["ImGuiKey"][136] = {} +defs["enums"]["ImGuiKey"][136]["calc_value"] = 646 +defs["enums"]["ImGuiKey"][136]["name"] = "ImGuiKey_MouseWheelX" +defs["enums"]["ImGuiKey"][136]["value"] = "646" +defs["enums"]["ImGuiKey"][137] = {} +defs["enums"]["ImGuiKey"][137]["calc_value"] = 647 +defs["enums"]["ImGuiKey"][137]["name"] = "ImGuiKey_MouseWheelY" +defs["enums"]["ImGuiKey"][137]["value"] = "647" +defs["enums"]["ImGuiKey"][138] = {} +defs["enums"]["ImGuiKey"][138]["calc_value"] = 648 +defs["enums"]["ImGuiKey"][138]["name"] = "ImGuiKey_ReservedForModCtrl" +defs["enums"]["ImGuiKey"][138]["value"] = "648" +defs["enums"]["ImGuiKey"][139] = {} +defs["enums"]["ImGuiKey"][139]["calc_value"] = 649 +defs["enums"]["ImGuiKey"][139]["name"] = "ImGuiKey_ReservedForModShift" +defs["enums"]["ImGuiKey"][139]["value"] = "649" +defs["enums"]["ImGuiKey"][140] = {} +defs["enums"]["ImGuiKey"][140]["calc_value"] = 650 +defs["enums"]["ImGuiKey"][140]["name"] = "ImGuiKey_ReservedForModAlt" +defs["enums"]["ImGuiKey"][140]["value"] = "650" +defs["enums"]["ImGuiKey"][141] = {} +defs["enums"]["ImGuiKey"][141]["calc_value"] = 651 +defs["enums"]["ImGuiKey"][141]["name"] = "ImGuiKey_ReservedForModSuper" +defs["enums"]["ImGuiKey"][141]["value"] = "651" +defs["enums"]["ImGuiKey"][142] = {} +defs["enums"]["ImGuiKey"][142]["calc_value"] = 652 +defs["enums"]["ImGuiKey"][142]["name"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey"][142]["value"] = "652" +defs["enums"]["ImGuiKey"][143] = {} +defs["enums"]["ImGuiKey"][143]["calc_value"] = 0 +defs["enums"]["ImGuiKey"][143]["name"] = "ImGuiMod_None" +defs["enums"]["ImGuiKey"][143]["value"] = "0" +defs["enums"]["ImGuiKey"][144] = {} +defs["enums"]["ImGuiKey"][144]["calc_value"] = 4096 +defs["enums"]["ImGuiKey"][144]["name"] = "ImGuiMod_Ctrl" +defs["enums"]["ImGuiKey"][144]["value"] = "1 << 12" +defs["enums"]["ImGuiKey"][145] = {} +defs["enums"]["ImGuiKey"][145]["calc_value"] = 8192 +defs["enums"]["ImGuiKey"][145]["name"] = "ImGuiMod_Shift" +defs["enums"]["ImGuiKey"][145]["value"] = "1 << 13" +defs["enums"]["ImGuiKey"][146] = {} +defs["enums"]["ImGuiKey"][146]["calc_value"] = 16384 +defs["enums"]["ImGuiKey"][146]["name"] = "ImGuiMod_Alt" +defs["enums"]["ImGuiKey"][146]["value"] = "1 << 14" +defs["enums"]["ImGuiKey"][147] = {} +defs["enums"]["ImGuiKey"][147]["calc_value"] = 32768 +defs["enums"]["ImGuiKey"][147]["name"] = "ImGuiMod_Super" +defs["enums"]["ImGuiKey"][147]["value"] = "1 << 15" +defs["enums"]["ImGuiKey"][148] = {} +defs["enums"]["ImGuiKey"][148]["calc_value"] = 61440 +defs["enums"]["ImGuiKey"][148]["name"] = "ImGuiMod_Mask_" +defs["enums"]["ImGuiKey"][148]["value"] = "0xF000" +defs["enums"]["ImGuiKey"][149] = {} +defs["enums"]["ImGuiKey"][149]["calc_value"] = 4096 +defs["enums"]["ImGuiKey"][149]["name"] = "ImGuiMod_Shortcut" +defs["enums"]["ImGuiKey"][149]["value"] = "ImGuiMod_Ctrl" +defs["enums"]["ImGuiKey"][150] = {} +defs["enums"]["ImGuiKey"][150]["calc_value"] = 512 +defs["enums"]["ImGuiKey"][150]["name"] = "ImGuiKey_NamedKey_BEGIN" +defs["enums"]["ImGuiKey"][150]["value"] = "512" +defs["enums"]["ImGuiKey"][151] = {} +defs["enums"]["ImGuiKey"][151]["calc_value"] = 652 +defs["enums"]["ImGuiKey"][151]["name"] = "ImGuiKey_NamedKey_END" +defs["enums"]["ImGuiKey"][151]["value"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey"][152] = {} +defs["enums"]["ImGuiKey"][152]["calc_value"] = 140 +defs["enums"]["ImGuiKey"][152]["name"] = "ImGuiKey_NamedKey_COUNT" +defs["enums"]["ImGuiKey"][152]["value"] = "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN" +defs["enums"]["ImGuiKey"][153] = {} +defs["enums"]["ImGuiKey"][153]["calc_value"] = 652 +defs["enums"]["ImGuiKey"][153]["name"] = "ImGuiKey_KeysData_SIZE" +defs["enums"]["ImGuiKey"][153]["value"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey"][154] = {} +defs["enums"]["ImGuiKey"][154]["calc_value"] = 0 +defs["enums"]["ImGuiKey"][154]["name"] = "ImGuiKey_KeysData_OFFSET" +defs["enums"]["ImGuiKey"][154]["value"] = "0" defs["enums"]["ImGuiLayoutType_"] = {} defs["enums"]["ImGuiLayoutType_"][1] = {} defs["enums"]["ImGuiLayoutType_"][1]["calc_value"] = 0 @@ -1442,6 +2135,43 @@ defs["enums"]["ImGuiLayoutType_"][2] = {} defs["enums"]["ImGuiLayoutType_"][2]["calc_value"] = 1 defs["enums"]["ImGuiLayoutType_"][2]["name"] = "ImGuiLayoutType_Vertical" defs["enums"]["ImGuiLayoutType_"][2]["value"] = "1" +defs["enums"]["ImGuiLocKey"] = {} +defs["enums"]["ImGuiLocKey"][1] = {} +defs["enums"]["ImGuiLocKey"][1]["calc_value"] = 0 +defs["enums"]["ImGuiLocKey"][1]["name"] = "ImGuiLocKey_TableSizeOne" +defs["enums"]["ImGuiLocKey"][1]["value"] = "0" +defs["enums"]["ImGuiLocKey"][2] = {} +defs["enums"]["ImGuiLocKey"][2]["calc_value"] = 1 +defs["enums"]["ImGuiLocKey"][2]["name"] = "ImGuiLocKey_TableSizeAllFit" +defs["enums"]["ImGuiLocKey"][2]["value"] = "1" +defs["enums"]["ImGuiLocKey"][3] = {} +defs["enums"]["ImGuiLocKey"][3]["calc_value"] = 2 +defs["enums"]["ImGuiLocKey"][3]["name"] = "ImGuiLocKey_TableSizeAllDefault" +defs["enums"]["ImGuiLocKey"][3]["value"] = "2" +defs["enums"]["ImGuiLocKey"][4] = {} +defs["enums"]["ImGuiLocKey"][4]["calc_value"] = 3 +defs["enums"]["ImGuiLocKey"][4]["name"] = "ImGuiLocKey_TableResetOrder" +defs["enums"]["ImGuiLocKey"][4]["value"] = "3" +defs["enums"]["ImGuiLocKey"][5] = {} +defs["enums"]["ImGuiLocKey"][5]["calc_value"] = 4 +defs["enums"]["ImGuiLocKey"][5]["name"] = "ImGuiLocKey_WindowingMainMenuBar" +defs["enums"]["ImGuiLocKey"][5]["value"] = "4" +defs["enums"]["ImGuiLocKey"][6] = {} +defs["enums"]["ImGuiLocKey"][6]["calc_value"] = 5 +defs["enums"]["ImGuiLocKey"][6]["name"] = "ImGuiLocKey_WindowingPopup" +defs["enums"]["ImGuiLocKey"][6]["value"] = "5" +defs["enums"]["ImGuiLocKey"][7] = {} +defs["enums"]["ImGuiLocKey"][7]["calc_value"] = 6 +defs["enums"]["ImGuiLocKey"][7]["name"] = "ImGuiLocKey_WindowingUntitled" +defs["enums"]["ImGuiLocKey"][7]["value"] = "6" +defs["enums"]["ImGuiLocKey"][8] = {} +defs["enums"]["ImGuiLocKey"][8]["calc_value"] = 7 +defs["enums"]["ImGuiLocKey"][8]["name"] = "ImGuiLocKey_DockingHideTabBar" +defs["enums"]["ImGuiLocKey"][8]["value"] = "7" +defs["enums"]["ImGuiLocKey"][9] = {} +defs["enums"]["ImGuiLocKey"][9]["calc_value"] = 8 +defs["enums"]["ImGuiLocKey"][9]["name"] = "ImGuiLocKey_COUNT" +defs["enums"]["ImGuiLocKey"][9]["value"] = "8" defs["enums"]["ImGuiLogType"] = {} defs["enums"]["ImGuiLogType"][1] = {} defs["enums"]["ImGuiLogType"][1]["calc_value"] = 0 @@ -1525,27 +2255,6 @@ defs["enums"]["ImGuiMouseCursor_"][11] = {} defs["enums"]["ImGuiMouseCursor_"][11]["calc_value"] = 9 defs["enums"]["ImGuiMouseCursor_"][11]["name"] = "ImGuiMouseCursor_COUNT" defs["enums"]["ImGuiMouseCursor_"][11]["value"] = "9" -defs["enums"]["ImGuiNavDirSourceFlags_"] = {} -defs["enums"]["ImGuiNavDirSourceFlags_"][1] = {} -defs["enums"]["ImGuiNavDirSourceFlags_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiNavDirSourceFlags_"][1]["name"] = "ImGuiNavDirSourceFlags_None" -defs["enums"]["ImGuiNavDirSourceFlags_"][1]["value"] = "0" -defs["enums"]["ImGuiNavDirSourceFlags_"][2] = {} -defs["enums"]["ImGuiNavDirSourceFlags_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiNavDirSourceFlags_"][2]["name"] = "ImGuiNavDirSourceFlags_RawKeyboard" -defs["enums"]["ImGuiNavDirSourceFlags_"][2]["value"] = "1 << 0" -defs["enums"]["ImGuiNavDirSourceFlags_"][3] = {} -defs["enums"]["ImGuiNavDirSourceFlags_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiNavDirSourceFlags_"][3]["name"] = "ImGuiNavDirSourceFlags_Keyboard" -defs["enums"]["ImGuiNavDirSourceFlags_"][3]["value"] = "1 << 1" -defs["enums"]["ImGuiNavDirSourceFlags_"][4] = {} -defs["enums"]["ImGuiNavDirSourceFlags_"][4]["calc_value"] = 4 -defs["enums"]["ImGuiNavDirSourceFlags_"][4]["name"] = "ImGuiNavDirSourceFlags_PadDPad" -defs["enums"]["ImGuiNavDirSourceFlags_"][4]["value"] = "1 << 2" -defs["enums"]["ImGuiNavDirSourceFlags_"][5] = {} -defs["enums"]["ImGuiNavDirSourceFlags_"][5]["calc_value"] = 8 -defs["enums"]["ImGuiNavDirSourceFlags_"][5]["name"] = "ImGuiNavDirSourceFlags_PadLStick" -defs["enums"]["ImGuiNavDirSourceFlags_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiNavHighlightFlags_"] = {} defs["enums"]["ImGuiNavHighlightFlags_"][1] = {} defs["enums"]["ImGuiNavHighlightFlags_"][1]["calc_value"] = 0 @@ -1567,95 +2276,75 @@ defs["enums"]["ImGuiNavHighlightFlags_"][5] = {} defs["enums"]["ImGuiNavHighlightFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiNavHighlightFlags_"][5]["name"] = "ImGuiNavHighlightFlags_NoRounding" defs["enums"]["ImGuiNavHighlightFlags_"][5]["value"] = "1 << 3" -defs["enums"]["ImGuiNavInput_"] = {} -defs["enums"]["ImGuiNavInput_"][1] = {} -defs["enums"]["ImGuiNavInput_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiNavInput_"][1]["name"] = "ImGuiNavInput_Activate" -defs["enums"]["ImGuiNavInput_"][1]["value"] = "0" -defs["enums"]["ImGuiNavInput_"][2] = {} -defs["enums"]["ImGuiNavInput_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiNavInput_"][2]["name"] = "ImGuiNavInput_Cancel" -defs["enums"]["ImGuiNavInput_"][2]["value"] = "1" -defs["enums"]["ImGuiNavInput_"][3] = {} -defs["enums"]["ImGuiNavInput_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiNavInput_"][3]["name"] = "ImGuiNavInput_Input" -defs["enums"]["ImGuiNavInput_"][3]["value"] = "2" -defs["enums"]["ImGuiNavInput_"][4] = {} -defs["enums"]["ImGuiNavInput_"][4]["calc_value"] = 3 -defs["enums"]["ImGuiNavInput_"][4]["name"] = "ImGuiNavInput_Menu" -defs["enums"]["ImGuiNavInput_"][4]["value"] = "3" -defs["enums"]["ImGuiNavInput_"][5] = {} -defs["enums"]["ImGuiNavInput_"][5]["calc_value"] = 4 -defs["enums"]["ImGuiNavInput_"][5]["name"] = "ImGuiNavInput_DpadLeft" -defs["enums"]["ImGuiNavInput_"][5]["value"] = "4" -defs["enums"]["ImGuiNavInput_"][6] = {} -defs["enums"]["ImGuiNavInput_"][6]["calc_value"] = 5 -defs["enums"]["ImGuiNavInput_"][6]["name"] = "ImGuiNavInput_DpadRight" -defs["enums"]["ImGuiNavInput_"][6]["value"] = "5" -defs["enums"]["ImGuiNavInput_"][7] = {} -defs["enums"]["ImGuiNavInput_"][7]["calc_value"] = 6 -defs["enums"]["ImGuiNavInput_"][7]["name"] = "ImGuiNavInput_DpadUp" -defs["enums"]["ImGuiNavInput_"][7]["value"] = "6" -defs["enums"]["ImGuiNavInput_"][8] = {} -defs["enums"]["ImGuiNavInput_"][8]["calc_value"] = 7 -defs["enums"]["ImGuiNavInput_"][8]["name"] = "ImGuiNavInput_DpadDown" -defs["enums"]["ImGuiNavInput_"][8]["value"] = "7" -defs["enums"]["ImGuiNavInput_"][9] = {} -defs["enums"]["ImGuiNavInput_"][9]["calc_value"] = 8 -defs["enums"]["ImGuiNavInput_"][9]["name"] = "ImGuiNavInput_LStickLeft" -defs["enums"]["ImGuiNavInput_"][9]["value"] = "8" -defs["enums"]["ImGuiNavInput_"][10] = {} -defs["enums"]["ImGuiNavInput_"][10]["calc_value"] = 9 -defs["enums"]["ImGuiNavInput_"][10]["name"] = "ImGuiNavInput_LStickRight" -defs["enums"]["ImGuiNavInput_"][10]["value"] = "9" -defs["enums"]["ImGuiNavInput_"][11] = {} -defs["enums"]["ImGuiNavInput_"][11]["calc_value"] = 10 -defs["enums"]["ImGuiNavInput_"][11]["name"] = "ImGuiNavInput_LStickUp" -defs["enums"]["ImGuiNavInput_"][11]["value"] = "10" -defs["enums"]["ImGuiNavInput_"][12] = {} -defs["enums"]["ImGuiNavInput_"][12]["calc_value"] = 11 -defs["enums"]["ImGuiNavInput_"][12]["name"] = "ImGuiNavInput_LStickDown" -defs["enums"]["ImGuiNavInput_"][12]["value"] = "11" -defs["enums"]["ImGuiNavInput_"][13] = {} -defs["enums"]["ImGuiNavInput_"][13]["calc_value"] = 12 -defs["enums"]["ImGuiNavInput_"][13]["name"] = "ImGuiNavInput_FocusPrev" -defs["enums"]["ImGuiNavInput_"][13]["value"] = "12" -defs["enums"]["ImGuiNavInput_"][14] = {} -defs["enums"]["ImGuiNavInput_"][14]["calc_value"] = 13 -defs["enums"]["ImGuiNavInput_"][14]["name"] = "ImGuiNavInput_FocusNext" -defs["enums"]["ImGuiNavInput_"][14]["value"] = "13" -defs["enums"]["ImGuiNavInput_"][15] = {} -defs["enums"]["ImGuiNavInput_"][15]["calc_value"] = 14 -defs["enums"]["ImGuiNavInput_"][15]["name"] = "ImGuiNavInput_TweakSlow" -defs["enums"]["ImGuiNavInput_"][15]["value"] = "14" -defs["enums"]["ImGuiNavInput_"][16] = {} -defs["enums"]["ImGuiNavInput_"][16]["calc_value"] = 15 -defs["enums"]["ImGuiNavInput_"][16]["name"] = "ImGuiNavInput_TweakFast" -defs["enums"]["ImGuiNavInput_"][16]["value"] = "15" -defs["enums"]["ImGuiNavInput_"][17] = {} -defs["enums"]["ImGuiNavInput_"][17]["calc_value"] = 16 -defs["enums"]["ImGuiNavInput_"][17]["name"] = "ImGuiNavInput_KeyLeft_" -defs["enums"]["ImGuiNavInput_"][17]["value"] = "16" -defs["enums"]["ImGuiNavInput_"][18] = {} -defs["enums"]["ImGuiNavInput_"][18]["calc_value"] = 17 -defs["enums"]["ImGuiNavInput_"][18]["name"] = "ImGuiNavInput_KeyRight_" -defs["enums"]["ImGuiNavInput_"][18]["value"] = "17" -defs["enums"]["ImGuiNavInput_"][19] = {} -defs["enums"]["ImGuiNavInput_"][19]["calc_value"] = 18 -defs["enums"]["ImGuiNavInput_"][19]["name"] = "ImGuiNavInput_KeyUp_" -defs["enums"]["ImGuiNavInput_"][19]["value"] = "18" -defs["enums"]["ImGuiNavInput_"][20] = {} -defs["enums"]["ImGuiNavInput_"][20]["calc_value"] = 19 -defs["enums"]["ImGuiNavInput_"][20]["name"] = "ImGuiNavInput_KeyDown_" -defs["enums"]["ImGuiNavInput_"][20]["value"] = "19" -defs["enums"]["ImGuiNavInput_"][21] = {} -defs["enums"]["ImGuiNavInput_"][21]["calc_value"] = 20 -defs["enums"]["ImGuiNavInput_"][21]["name"] = "ImGuiNavInput_COUNT" -defs["enums"]["ImGuiNavInput_"][21]["value"] = "20" -defs["enums"]["ImGuiNavInput_"][22] = {} -defs["enums"]["ImGuiNavInput_"][22]["calc_value"] = 16 -defs["enums"]["ImGuiNavInput_"][22]["name"] = "ImGuiNavInput_InternalStart_" -defs["enums"]["ImGuiNavInput_"][22]["value"] = "ImGuiNavInput_KeyLeft_" +defs["enums"]["ImGuiNavInput"] = {} +defs["enums"]["ImGuiNavInput"][1] = {} +defs["enums"]["ImGuiNavInput"][1]["calc_value"] = 0 +defs["enums"]["ImGuiNavInput"][1]["name"] = "ImGuiNavInput_Activate" +defs["enums"]["ImGuiNavInput"][1]["value"] = "0" +defs["enums"]["ImGuiNavInput"][2] = {} +defs["enums"]["ImGuiNavInput"][2]["calc_value"] = 1 +defs["enums"]["ImGuiNavInput"][2]["name"] = "ImGuiNavInput_Cancel" +defs["enums"]["ImGuiNavInput"][2]["value"] = "1" +defs["enums"]["ImGuiNavInput"][3] = {} +defs["enums"]["ImGuiNavInput"][3]["calc_value"] = 2 +defs["enums"]["ImGuiNavInput"][3]["name"] = "ImGuiNavInput_Input" +defs["enums"]["ImGuiNavInput"][3]["value"] = "2" +defs["enums"]["ImGuiNavInput"][4] = {} +defs["enums"]["ImGuiNavInput"][4]["calc_value"] = 3 +defs["enums"]["ImGuiNavInput"][4]["name"] = "ImGuiNavInput_Menu" +defs["enums"]["ImGuiNavInput"][4]["value"] = "3" +defs["enums"]["ImGuiNavInput"][5] = {} +defs["enums"]["ImGuiNavInput"][5]["calc_value"] = 4 +defs["enums"]["ImGuiNavInput"][5]["name"] = "ImGuiNavInput_DpadLeft" +defs["enums"]["ImGuiNavInput"][5]["value"] = "4" +defs["enums"]["ImGuiNavInput"][6] = {} +defs["enums"]["ImGuiNavInput"][6]["calc_value"] = 5 +defs["enums"]["ImGuiNavInput"][6]["name"] = "ImGuiNavInput_DpadRight" +defs["enums"]["ImGuiNavInput"][6]["value"] = "5" +defs["enums"]["ImGuiNavInput"][7] = {} +defs["enums"]["ImGuiNavInput"][7]["calc_value"] = 6 +defs["enums"]["ImGuiNavInput"][7]["name"] = "ImGuiNavInput_DpadUp" +defs["enums"]["ImGuiNavInput"][7]["value"] = "6" +defs["enums"]["ImGuiNavInput"][8] = {} +defs["enums"]["ImGuiNavInput"][8]["calc_value"] = 7 +defs["enums"]["ImGuiNavInput"][8]["name"] = "ImGuiNavInput_DpadDown" +defs["enums"]["ImGuiNavInput"][8]["value"] = "7" +defs["enums"]["ImGuiNavInput"][9] = {} +defs["enums"]["ImGuiNavInput"][9]["calc_value"] = 8 +defs["enums"]["ImGuiNavInput"][9]["name"] = "ImGuiNavInput_LStickLeft" +defs["enums"]["ImGuiNavInput"][9]["value"] = "8" +defs["enums"]["ImGuiNavInput"][10] = {} +defs["enums"]["ImGuiNavInput"][10]["calc_value"] = 9 +defs["enums"]["ImGuiNavInput"][10]["name"] = "ImGuiNavInput_LStickRight" +defs["enums"]["ImGuiNavInput"][10]["value"] = "9" +defs["enums"]["ImGuiNavInput"][11] = {} +defs["enums"]["ImGuiNavInput"][11]["calc_value"] = 10 +defs["enums"]["ImGuiNavInput"][11]["name"] = "ImGuiNavInput_LStickUp" +defs["enums"]["ImGuiNavInput"][11]["value"] = "10" +defs["enums"]["ImGuiNavInput"][12] = {} +defs["enums"]["ImGuiNavInput"][12]["calc_value"] = 11 +defs["enums"]["ImGuiNavInput"][12]["name"] = "ImGuiNavInput_LStickDown" +defs["enums"]["ImGuiNavInput"][12]["value"] = "11" +defs["enums"]["ImGuiNavInput"][13] = {} +defs["enums"]["ImGuiNavInput"][13]["calc_value"] = 12 +defs["enums"]["ImGuiNavInput"][13]["name"] = "ImGuiNavInput_FocusPrev" +defs["enums"]["ImGuiNavInput"][13]["value"] = "12" +defs["enums"]["ImGuiNavInput"][14] = {} +defs["enums"]["ImGuiNavInput"][14]["calc_value"] = 13 +defs["enums"]["ImGuiNavInput"][14]["name"] = "ImGuiNavInput_FocusNext" +defs["enums"]["ImGuiNavInput"][14]["value"] = "13" +defs["enums"]["ImGuiNavInput"][15] = {} +defs["enums"]["ImGuiNavInput"][15]["calc_value"] = 14 +defs["enums"]["ImGuiNavInput"][15]["name"] = "ImGuiNavInput_TweakSlow" +defs["enums"]["ImGuiNavInput"][15]["value"] = "14" +defs["enums"]["ImGuiNavInput"][16] = {} +defs["enums"]["ImGuiNavInput"][16]["calc_value"] = 15 +defs["enums"]["ImGuiNavInput"][16]["name"] = "ImGuiNavInput_TweakFast" +defs["enums"]["ImGuiNavInput"][16]["value"] = "15" +defs["enums"]["ImGuiNavInput"][17] = {} +defs["enums"]["ImGuiNavInput"][17]["calc_value"] = 16 +defs["enums"]["ImGuiNavInput"][17]["name"] = "ImGuiNavInput_COUNT" +defs["enums"]["ImGuiNavInput"][17]["value"] = "16" defs["enums"]["ImGuiNavLayer"] = {} defs["enums"]["ImGuiNavLayer"][1] = {} defs["enums"]["ImGuiNavLayer"][1]["calc_value"] = 0 @@ -1954,6 +2643,10 @@ defs["enums"]["ImGuiSelectableFlagsPrivate_"][8] = {} defs["enums"]["ImGuiSelectableFlagsPrivate_"][8]["calc_value"] = 134217728 defs["enums"]["ImGuiSelectableFlagsPrivate_"][8]["name"] = "ImGuiSelectableFlags_NoPadWithHalfSpacing" defs["enums"]["ImGuiSelectableFlagsPrivate_"][8]["value"] = "1 << 27" +defs["enums"]["ImGuiSelectableFlagsPrivate_"][9] = {} +defs["enums"]["ImGuiSelectableFlagsPrivate_"][9]["calc_value"] = 268435456 +defs["enums"]["ImGuiSelectableFlagsPrivate_"][9]["name"] = "ImGuiSelectableFlags_NoSetKeyOwner" +defs["enums"]["ImGuiSelectableFlagsPrivate_"][9]["value"] = "1 << 28" defs["enums"]["ImGuiSelectableFlags_"] = {} defs["enums"]["ImGuiSelectableFlags_"][1] = {} defs["enums"]["ImGuiSelectableFlags_"][1]["calc_value"] = 0 @@ -2848,165 +3541,184 @@ defs["enums"]["ImGuiWindowFlags_"][32]["calc_value"] = 536870912 defs["enums"]["ImGuiWindowFlags_"][32]["name"] = "ImGuiWindowFlags_DockNodeHost" defs["enums"]["ImGuiWindowFlags_"][32]["value"] = "1 << 29" defs["enumtypes"] = {} +defs["enumtypes"]["ImGuiKey"] = "int" +defs["enumtypes"]["ImGuiLocKey"] = "int" defs["locations"] = {} -defs["locations"]["ImBitVector"] = "imgui_internal:570" -defs["locations"]["ImColor"] = "imgui:2347" -defs["locations"]["ImDrawChannel"] = "imgui:2437" -defs["locations"]["ImDrawCmd"] = "imgui:2396" -defs["locations"]["ImDrawCmdHeader"] = "imgui:2429" -defs["locations"]["ImDrawData"] = "imgui:2627" -defs["locations"]["ImDrawDataBuilder"] = "imgui_internal:743" -defs["locations"]["ImDrawFlags_"] = "imgui:2463" -defs["locations"]["ImDrawList"] = "imgui:2501" -defs["locations"]["ImDrawListFlags_"] = "imgui:2483" -defs["locations"]["ImDrawListSharedData"] = "imgui_internal:723" -defs["locations"]["ImDrawListSplitter"] = "imgui:2446" -defs["locations"]["ImDrawVert"] = "imgui:2414" -defs["locations"]["ImFont"] = "imgui:2846" -defs["locations"]["ImFontAtlas"] = "imgui:2744" -defs["locations"]["ImFontAtlasCustomRect"] = "imgui:2706" -defs["locations"]["ImFontAtlasFlags_"] = "imgui:2719" -defs["locations"]["ImFontBuilderIO"] = "imgui_internal:3101" -defs["locations"]["ImFontConfig"] = "imgui:2650" -defs["locations"]["ImFontGlyph"] = "imgui:2679" -defs["locations"]["ImFontGlyphRangesBuilder"] = "imgui:2691" -defs["locations"]["ImGuiActivateFlags_"] = "imgui_internal:1227" -defs["locations"]["ImGuiAxis"] = "imgui_internal:899" -defs["locations"]["ImGuiBackendFlags_"] = "imgui:1512" -defs["locations"]["ImGuiButtonFlagsPrivate_"] = "imgui_internal:806" -defs["locations"]["ImGuiButtonFlags_"] = "imgui:1626" -defs["locations"]["ImGuiCol_"] = "imgui:1527" -defs["locations"]["ImGuiColorEditFlags_"] = "imgui:1639" -defs["locations"]["ImGuiColorMod"] = "imgui_internal:964" -defs["locations"]["ImGuiComboFlagsPrivate_"] = "imgui_internal:829" -defs["locations"]["ImGuiComboFlags_"] = "imgui:1122" -defs["locations"]["ImGuiComboPreviewData"] = "imgui_internal:981" -defs["locations"]["ImGuiCond_"] = "imgui:1731" -defs["locations"]["ImGuiConfigFlags_"] = "imgui:1487" -defs["locations"]["ImGuiContext"] = "imgui_internal:1670" -defs["locations"]["ImGuiContextHook"] = "imgui_internal:1655" -defs["locations"]["ImGuiContextHookType"] = "imgui_internal:1653" -defs["locations"]["ImGuiDataAuthority_"] = "imgui_internal:1404" -defs["locations"]["ImGuiDataTypeInfo"] = "imgui_internal:947" -defs["locations"]["ImGuiDataTypePrivate_"] = "imgui_internal:956" -defs["locations"]["ImGuiDataTypeTempStorage"] = "imgui_internal:941" -defs["locations"]["ImGuiDataType_"] = "imgui:1380" -defs["locations"]["ImGuiDir_"] = "imgui:1396" -defs["locations"]["ImGuiDockContext"] = "imgui_internal:1502" -defs["locations"]["ImGuiDockNode"] = "imgui_internal:1420" -defs["locations"]["ImGuiDockNodeFlagsPrivate_"] = "imgui_internal:1379" -defs["locations"]["ImGuiDockNodeFlags_"] = "imgui:1345" -defs["locations"]["ImGuiDockNodeState"] = "imgui_internal:1411" -defs["locations"]["ImGuiDragDropFlags_"] = "imgui:1358" -defs["locations"]["ImGuiFocusedFlags_"] = "imgui:1311" -defs["locations"]["ImGuiGroupData"] = "imgui_internal:994" -defs["locations"]["ImGuiHoveredFlags_"] = "imgui:1325" -defs["locations"]["ImGuiIO"] = "imgui:1897" -defs["locations"]["ImGuiInputReadMode"] = "imgui_internal:924" -defs["locations"]["ImGuiInputSource"] = "imgui_internal:912" -defs["locations"]["ImGuiInputTextCallbackData"] = "imgui:2054" -defs["locations"]["ImGuiInputTextFlagsPrivate_"] = "imgui_internal:797" -defs["locations"]["ImGuiInputTextFlags_"] = "imgui:1035" -defs["locations"]["ImGuiInputTextState"] = "imgui_internal:1029" -defs["locations"]["ImGuiItemFlags_"] = "imgui_internal:759" -defs["locations"]["ImGuiItemStatusFlags_"] = "imgui_internal:774" -defs["locations"]["ImGuiKeyModFlags_"] = "imgui:1443" -defs["locations"]["ImGuiKey_"] = "imgui:1415" -defs["locations"]["ImGuiLastItemData"] = "imgui_internal:1142" -defs["locations"]["ImGuiLayoutType_"] = "imgui_internal:883" -defs["locations"]["ImGuiListClipper"] = "imgui:2299" -defs["locations"]["ImGuiListClipperData"] = "imgui_internal:1211" -defs["locations"]["ImGuiListClipperRange"] = "imgui_internal:1198" -defs["locations"]["ImGuiLogType"] = "imgui_internal:889" -defs["locations"]["ImGuiMenuColumns"] = "imgui_internal:1010" -defs["locations"]["ImGuiMetricsConfig"] = "imgui_internal:1601" -defs["locations"]["ImGuiMouseButton_"] = "imgui:1703" -defs["locations"]["ImGuiMouseCursor_"] = "imgui:1713" -defs["locations"]["ImGuiNavDirSourceFlags_"] = "imgui_internal:1259" -defs["locations"]["ImGuiNavHighlightFlags_"] = "imgui_internal:1250" -defs["locations"]["ImGuiNavInput_"] = "imgui:1456" -defs["locations"]["ImGuiNavItemData"] = "imgui_internal:1293" -defs["locations"]["ImGuiNavLayer"] = "imgui_internal:1286" -defs["locations"]["ImGuiNavMoveFlags_"] = "imgui_internal:1268" -defs["locations"]["ImGuiNextItemData"] = "imgui_internal:1129" -defs["locations"]["ImGuiNextItemDataFlags_"] = "imgui_internal:1122" -defs["locations"]["ImGuiNextWindowData"] = "imgui_internal:1095" -defs["locations"]["ImGuiNextWindowDataFlags_"] = "imgui_internal:1078" -defs["locations"]["ImGuiOldColumnData"] = "imgui_internal:1333" -defs["locations"]["ImGuiOldColumnFlags_"] = "imgui_internal:1313" -defs["locations"]["ImGuiOldColumns"] = "imgui_internal:1343" -defs["locations"]["ImGuiOnceUponAFrame"] = "imgui:2174" -defs["locations"]["ImGuiPayload"] = "imgui:2115" -defs["locations"]["ImGuiPlatformIO"] = "imgui:3009" -defs["locations"]["ImGuiPlatformMonitor"] = "imgui:3073" -defs["locations"]["ImGuiPlotType"] = "imgui_internal:906" -defs["locations"]["ImGuiPopupData"] = "imgui_internal:1065" -defs["locations"]["ImGuiPopupFlags_"] = "imgui:1095" -defs["locations"]["ImGuiPopupPositionPolicy"] = "imgui_internal:934" -defs["locations"]["ImGuiPtrOrIndex"] = "imgui_internal:1185" -defs["locations"]["ImGuiScrollFlags_"] = "imgui_internal:1236" -defs["locations"]["ImGuiSelectableFlagsPrivate_"] = "imgui_internal:842" -defs["locations"]["ImGuiSelectableFlags_"] = "imgui:1111" -defs["locations"]["ImGuiSeparatorFlags_"] = "imgui_internal:861" -defs["locations"]["ImGuiSettingsHandler"] = "imgui_internal:1582" -defs["locations"]["ImGuiShrinkWidthItem"] = "imgui_internal:1179" -defs["locations"]["ImGuiSizeCallbackData"] = "imgui:2085" -defs["locations"]["ImGuiSliderFlagsPrivate_"] = "imgui_internal:835" -defs["locations"]["ImGuiSliderFlags_"] = "imgui:1686" -defs["locations"]["ImGuiSortDirection_"] = "imgui:1407" -defs["locations"]["ImGuiStackLevelInfo"] = "imgui_internal:1627" -defs["locations"]["ImGuiStackSizes"] = "imgui_internal:1154" -defs["locations"]["ImGuiStackTool"] = "imgui_internal:1638" -defs["locations"]["ImGuiStorage"] = "imgui:2236" -defs["locations"]["ImGuiStoragePair"] = "imgui:2239" -defs["locations"]["ImGuiStyle"] = "imgui:1842" -defs["locations"]["ImGuiStyleMod"] = "imgui_internal:971" -defs["locations"]["ImGuiStyleVar_"] = "imgui:1594" -defs["locations"]["ImGuiTabBar"] = "imgui_internal:2334" -defs["locations"]["ImGuiTabBarFlagsPrivate_"] = "imgui_internal:2297" -defs["locations"]["ImGuiTabBarFlags_"] = "imgui:1136" -defs["locations"]["ImGuiTabItem"] = "imgui_internal:2315" -defs["locations"]["ImGuiTabItemFlagsPrivate_"] = "imgui_internal:2305" -defs["locations"]["ImGuiTabItemFlags_"] = "imgui:1152" -defs["locations"]["ImGuiTable"] = "imgui_internal:2461" -defs["locations"]["ImGuiTableBgTarget_"] = "imgui:1302" -defs["locations"]["ImGuiTableCellData"] = "imgui_internal:2454" -defs["locations"]["ImGuiTableColumn"] = "imgui_internal:2395" -defs["locations"]["ImGuiTableColumnFlags_"] = "imgui:1245" -defs["locations"]["ImGuiTableColumnSettings"] = "imgui_internal:2595" -defs["locations"]["ImGuiTableColumnSortSpecs"] = "imgui:2137" -defs["locations"]["ImGuiTableFlags_"] = "imgui:1188" -defs["locations"]["ImGuiTableRowFlags_"] = "imgui:1287" -defs["locations"]["ImGuiTableSettings"] = "imgui_internal:2619" -defs["locations"]["ImGuiTableSortSpecs"] = "imgui:2151" -defs["locations"]["ImGuiTableTempData"] = "imgui_internal:2574" -defs["locations"]["ImGuiTextBuffer"] = "imgui:2209" -defs["locations"]["ImGuiTextFilter"] = "imgui:2182" -defs["locations"]["ImGuiTextFlags_"] = "imgui_internal:869" -defs["locations"]["ImGuiTextRange"] = "imgui:2192" -defs["locations"]["ImGuiTooltipFlags_"] = "imgui_internal:875" -defs["locations"]["ImGuiTreeNodeFlagsPrivate_"] = "imgui_internal:856" -defs["locations"]["ImGuiTreeNodeFlags_"] = "imgui:1066" -defs["locations"]["ImGuiViewport"] = "imgui:2927" -defs["locations"]["ImGuiViewportFlags_"] = "imgui:2902" -defs["locations"]["ImGuiViewportP"] = "imgui_internal:1519" -defs["locations"]["ImGuiWindow"] = "imgui_internal:2153" -defs["locations"]["ImGuiWindowClass"] = "imgui:2100" -defs["locations"]["ImGuiWindowDockStyle"] = "imgui_internal:1497" -defs["locations"]["ImGuiWindowDockStyleCol"] = "imgui_internal:1486" -defs["locations"]["ImGuiWindowFlags_"] = "imgui:992" -defs["locations"]["ImGuiWindowSettings"] = "imgui_internal:1565" -defs["locations"]["ImGuiWindowStackData"] = "imgui_internal:1172" -defs["locations"]["ImGuiWindowTempData"] = "imgui_internal:2106" -defs["locations"]["ImRect"] = "imgui_internal:499" -defs["locations"]["ImVec1"] = "imgui_internal:481" -defs["locations"]["ImVec2"] = "imgui:266" -defs["locations"]["ImVec2ih"] = "imgui_internal:489" -defs["locations"]["ImVec4"] = "imgui:279" -defs["locations"]["STB_TexteditState"] = "imstb_textedit:317" -defs["locations"]["StbTexteditRow"] = "imstb_textedit:364" -defs["locations"]["StbUndoRecord"] = "imstb_textedit:299" -defs["locations"]["StbUndoState"] = "imstb_textedit:308" +defs["locations"]["ImBitVector"] = "imgui_internal:593" +defs["locations"]["ImColor"] = "imgui:2458" +defs["locations"]["ImDrawChannel"] = "imgui:2548" +defs["locations"]["ImDrawCmd"] = "imgui:2507" +defs["locations"]["ImDrawCmdHeader"] = "imgui:2540" +defs["locations"]["ImDrawData"] = "imgui:2740" +defs["locations"]["ImDrawDataBuilder"] = "imgui_internal:782" +defs["locations"]["ImDrawFlags_"] = "imgui:2574" +defs["locations"]["ImDrawList"] = "imgui:2612" +defs["locations"]["ImDrawListFlags_"] = "imgui:2594" +defs["locations"]["ImDrawListSharedData"] = "imgui_internal:759" +defs["locations"]["ImDrawListSplitter"] = "imgui:2557" +defs["locations"]["ImDrawVert"] = "imgui:2525" +defs["locations"]["ImFont"] = "imgui:2959" +defs["locations"]["ImFontAtlas"] = "imgui:2857" +defs["locations"]["ImFontAtlasCustomRect"] = "imgui:2819" +defs["locations"]["ImFontAtlasFlags_"] = "imgui:2832" +defs["locations"]["ImFontBuilderIO"] = "imgui_internal:3476" +defs["locations"]["ImFontConfig"] = "imgui:2763" +defs["locations"]["ImFontGlyph"] = "imgui:2792" +defs["locations"]["ImFontGlyphRangesBuilder"] = "imgui:2804" +defs["locations"]["ImGuiActivateFlags_"] = "imgui_internal:1428" +defs["locations"]["ImGuiAxis"] = "imgui_internal:949" +defs["locations"]["ImGuiBackendFlags_"] = "imgui:1579" +defs["locations"]["ImGuiButtonFlagsPrivate_"] = "imgui_internal:853" +defs["locations"]["ImGuiButtonFlags_"] = "imgui:1693" +defs["locations"]["ImGuiCol_"] = "imgui:1594" +defs["locations"]["ImGuiColorEditFlags_"] = "imgui:1706" +defs["locations"]["ImGuiColorMod"] = "imgui_internal:992" +defs["locations"]["ImGuiComboFlagsPrivate_"] = "imgui_internal:878" +defs["locations"]["ImGuiComboFlags_"] = "imgui:1124" +defs["locations"]["ImGuiComboPreviewData"] = "imgui_internal:1009" +defs["locations"]["ImGuiCond_"] = "imgui:1797" +defs["locations"]["ImGuiConfigFlags_"] = "imgui:1554" +defs["locations"]["ImGuiContext"] = "imgui_internal:1905" +defs["locations"]["ImGuiContextHook"] = "imgui_internal:1890" +defs["locations"]["ImGuiContextHookType"] = "imgui_internal:1888" +defs["locations"]["ImGuiDataAuthority_"] = "imgui_internal:1599" +defs["locations"]["ImGuiDataTypeInfo"] = "imgui_internal:975" +defs["locations"]["ImGuiDataTypePrivate_"] = "imgui_internal:984" +defs["locations"]["ImGuiDataTypeTempStorage"] = "imgui_internal:969" +defs["locations"]["ImGuiDataType_"] = "imgui:1376" +defs["locations"]["ImGuiDebugLogFlags_"] = "imgui_internal:1820" +defs["locations"]["ImGuiDir_"] = "imgui:1392" +defs["locations"]["ImGuiDockContext"] = "imgui_internal:1697" +defs["locations"]["ImGuiDockNode"] = "imgui_internal:1615" +defs["locations"]["ImGuiDockNodeFlagsPrivate_"] = "imgui_internal:1574" +defs["locations"]["ImGuiDockNodeFlags_"] = "imgui:1341" +defs["locations"]["ImGuiDockNodeState"] = "imgui_internal:1606" +defs["locations"]["ImGuiDragDropFlags_"] = "imgui:1354" +defs["locations"]["ImGuiFocusedFlags_"] = "imgui:1301" +defs["locations"]["ImGuiGroupData"] = "imgui_internal:1022" +defs["locations"]["ImGuiHoveredFlags_"] = "imgui:1315" +defs["locations"]["ImGuiIO"] = "imgui:1974" +defs["locations"]["ImGuiInputEvent"] = "imgui_internal:1286" +defs["locations"]["ImGuiInputEventAppFocused"] = "imgui_internal:1284" +defs["locations"]["ImGuiInputEventKey"] = "imgui_internal:1282" +defs["locations"]["ImGuiInputEventMouseButton"] = "imgui_internal:1280" +defs["locations"]["ImGuiInputEventMousePos"] = "imgui_internal:1278" +defs["locations"]["ImGuiInputEventMouseViewport"] = "imgui_internal:1281" +defs["locations"]["ImGuiInputEventMouseWheel"] = "imgui_internal:1279" +defs["locations"]["ImGuiInputEventText"] = "imgui_internal:1283" +defs["locations"]["ImGuiInputEventType"] = "imgui_internal:1252" +defs["locations"]["ImGuiInputFlags_"] = "imgui_internal:1349" +defs["locations"]["ImGuiInputSource"] = "imgui_internal:1265" +defs["locations"]["ImGuiInputTextCallbackData"] = "imgui:2162" +defs["locations"]["ImGuiInputTextFlagsPrivate_"] = "imgui_internal:844" +defs["locations"]["ImGuiInputTextFlags_"] = "imgui:1036" +defs["locations"]["ImGuiInputTextState"] = "imgui_internal:1057" +defs["locations"]["ImGuiItemFlags_"] = "imgui_internal:801" +defs["locations"]["ImGuiItemStatusFlags_"] = "imgui_internal:821" +defs["locations"]["ImGuiKey"] = "imgui:1413" +defs["locations"]["ImGuiKeyData"] = "imgui:1966" +defs["locations"]["ImGuiKeyOwnerData"] = "imgui_internal:1337" +defs["locations"]["ImGuiKeyRoutingData"] = "imgui_internal:1312" +defs["locations"]["ImGuiKeyRoutingTable"] = "imgui_internal:1325" +defs["locations"]["ImGuiLastItemData"] = "imgui_internal:1171" +defs["locations"]["ImGuiLayoutType_"] = "imgui_internal:933" +defs["locations"]["ImGuiListClipper"] = "imgui:2407" +defs["locations"]["ImGuiListClipperData"] = "imgui_internal:1412" +defs["locations"]["ImGuiListClipperRange"] = "imgui_internal:1399" +defs["locations"]["ImGuiLocEntry"] = "imgui_internal:1809" +defs["locations"]["ImGuiLocKey"] = "imgui_internal:1796" +defs["locations"]["ImGuiLogType"] = "imgui_internal:939" +defs["locations"]["ImGuiMenuColumns"] = "imgui_internal:1038" +defs["locations"]["ImGuiMetricsConfig"] = "imgui_internal:1836" +defs["locations"]["ImGuiMouseButton_"] = "imgui:1769" +defs["locations"]["ImGuiMouseCursor_"] = "imgui:1779" +defs["locations"]["ImGuiNavHighlightFlags_"] = "imgui_internal:1451" +defs["locations"]["ImGuiNavInput"] = "imgui:1545" +defs["locations"]["ImGuiNavItemData"] = "imgui_internal:1485" +defs["locations"]["ImGuiNavLayer"] = "imgui_internal:1478" +defs["locations"]["ImGuiNavMoveFlags_"] = "imgui_internal:1460" +defs["locations"]["ImGuiNextItemData"] = "imgui_internal:1158" +defs["locations"]["ImGuiNextItemDataFlags_"] = "imgui_internal:1151" +defs["locations"]["ImGuiNextWindowData"] = "imgui_internal:1124" +defs["locations"]["ImGuiNextWindowDataFlags_"] = "imgui_internal:1107" +defs["locations"]["ImGuiOldColumnData"] = "imgui_internal:1525" +defs["locations"]["ImGuiOldColumnFlags_"] = "imgui_internal:1505" +defs["locations"]["ImGuiOldColumns"] = "imgui_internal:1535" +defs["locations"]["ImGuiOnceUponAFrame"] = "imgui:2282" +defs["locations"]["ImGuiPayload"] = "imgui:2223" +defs["locations"]["ImGuiPlatformIO"] = "imgui:3124" +defs["locations"]["ImGuiPlatformImeData"] = "imgui:3196" +defs["locations"]["ImGuiPlatformMonitor"] = "imgui:3187" +defs["locations"]["ImGuiPlotType"] = "imgui_internal:956" +defs["locations"]["ImGuiPopupData"] = "imgui_internal:1093" +defs["locations"]["ImGuiPopupFlags_"] = "imgui:1097" +defs["locations"]["ImGuiPopupPositionPolicy"] = "imgui_internal:962" +defs["locations"]["ImGuiPtrOrIndex"] = "imgui_internal:1215" +defs["locations"]["ImGuiScrollFlags_"] = "imgui_internal:1437" +defs["locations"]["ImGuiSelectableFlagsPrivate_"] = "imgui_internal:891" +defs["locations"]["ImGuiSelectableFlags_"] = "imgui:1113" +defs["locations"]["ImGuiSeparatorFlags_"] = "imgui_internal:911" +defs["locations"]["ImGuiSettingsHandler"] = "imgui_internal:1776" +defs["locations"]["ImGuiShrinkWidthItem"] = "imgui_internal:1208" +defs["locations"]["ImGuiSizeCallbackData"] = "imgui:2193" +defs["locations"]["ImGuiSliderFlagsPrivate_"] = "imgui_internal:884" +defs["locations"]["ImGuiSliderFlags_"] = "imgui:1752" +defs["locations"]["ImGuiSortDirection_"] = "imgui:1403" +defs["locations"]["ImGuiStackLevelInfo"] = "imgui_internal:1859" +defs["locations"]["ImGuiStackSizes"] = "imgui_internal:1183" +defs["locations"]["ImGuiStackTool"] = "imgui_internal:1871" +defs["locations"]["ImGuiStorage"] = "imgui:2344" +defs["locations"]["ImGuiStoragePair"] = "imgui:2347" +defs["locations"]["ImGuiStyle"] = "imgui:1909" +defs["locations"]["ImGuiStyleMod"] = "imgui_internal:999" +defs["locations"]["ImGuiStyleVar_"] = "imgui:1661" +defs["locations"]["ImGuiTabBar"] = "imgui_internal:2612" +defs["locations"]["ImGuiTabBarFlagsPrivate_"] = "imgui_internal:2574" +defs["locations"]["ImGuiTabBarFlags_"] = "imgui:1138" +defs["locations"]["ImGuiTabItem"] = "imgui_internal:2592" +defs["locations"]["ImGuiTabItemFlagsPrivate_"] = "imgui_internal:2582" +defs["locations"]["ImGuiTabItemFlags_"] = "imgui:1154" +defs["locations"]["ImGuiTable"] = "imgui_internal:2748" +defs["locations"]["ImGuiTableBgTarget_"] = "imgui:1292" +defs["locations"]["ImGuiTableCellData"] = "imgui_internal:2732" +defs["locations"]["ImGuiTableColumn"] = "imgui_internal:2673" +defs["locations"]["ImGuiTableColumnFlags_"] = "imgui:1240" +defs["locations"]["ImGuiTableColumnSettings"] = "imgui_internal:2883" +defs["locations"]["ImGuiTableColumnSortSpecs"] = "imgui:2245" +defs["locations"]["ImGuiTableFlags_"] = "imgui:1189" +defs["locations"]["ImGuiTableInstanceData"] = "imgui_internal:2739" +defs["locations"]["ImGuiTableRowFlags_"] = "imgui:1277" +defs["locations"]["ImGuiTableSettings"] = "imgui_internal:2907" +defs["locations"]["ImGuiTableSortSpecs"] = "imgui:2259" +defs["locations"]["ImGuiTableTempData"] = "imgui_internal:2862" +defs["locations"]["ImGuiTextBuffer"] = "imgui:2317" +defs["locations"]["ImGuiTextFilter"] = "imgui:2290" +defs["locations"]["ImGuiTextFlags_"] = "imgui_internal:919" +defs["locations"]["ImGuiTextIndex"] = "imgui_internal:716" +defs["locations"]["ImGuiTextRange"] = "imgui:2300" +defs["locations"]["ImGuiTooltipFlags_"] = "imgui_internal:925" +defs["locations"]["ImGuiTreeNodeFlagsPrivate_"] = "imgui_internal:906" +defs["locations"]["ImGuiTreeNodeFlags_"] = "imgui:1068" +defs["locations"]["ImGuiViewport"] = "imgui:3040" +defs["locations"]["ImGuiViewportFlags_"] = "imgui:3015" +defs["locations"]["ImGuiViewportP"] = "imgui_internal:1714" +defs["locations"]["ImGuiWindow"] = "imgui_internal:2430" +defs["locations"]["ImGuiWindowClass"] = "imgui:2208" +defs["locations"]["ImGuiWindowDockStyle"] = "imgui_internal:1692" +defs["locations"]["ImGuiWindowDockStyleCol"] = "imgui_internal:1681" +defs["locations"]["ImGuiWindowFlags_"] = "imgui:995" +defs["locations"]["ImGuiWindowSettings"] = "imgui_internal:1759" +defs["locations"]["ImGuiWindowStackData"] = "imgui_internal:1201" +defs["locations"]["ImGuiWindowTempData"] = "imgui_internal:2382" +defs["locations"]["ImRect"] = "imgui_internal:521" +defs["locations"]["ImVec1"] = "imgui_internal:503" +defs["locations"]["ImVec2"] = "imgui:259" +defs["locations"]["ImVec2ih"] = "imgui_internal:511" +defs["locations"]["ImVec4"] = "imgui:272" +defs["locations"]["STB_TexteditState"] = "imstb_textedit:319" +defs["locations"]["StbTexteditRow"] = "imstb_textedit:366" +defs["locations"]["StbUndoRecord"] = "imstb_textedit:301" +defs["locations"]["StbUndoState"] = "imstb_textedit:310" defs["structs"] = {} defs["structs"]["ImBitVector"] = {} defs["structs"]["ImBitVector"][1] = {} @@ -3113,7 +3825,7 @@ defs["structs"]["ImDrawList"][5]["name"] = "_VtxCurrentIdx" defs["structs"]["ImDrawList"][5]["type"] = "unsigned int" defs["structs"]["ImDrawList"][6] = {} defs["structs"]["ImDrawList"][6]["name"] = "_Data" -defs["structs"]["ImDrawList"][6]["type"] = "const ImDrawListSharedData*" +defs["structs"]["ImDrawList"][6]["type"] = "ImDrawListSharedData*" defs["structs"]["ImDrawList"][7] = {} defs["structs"]["ImDrawList"][7]["name"] = "_OwnerName" defs["structs"]["ImDrawList"][7]["type"] = "const char*" @@ -3167,19 +3879,23 @@ defs["structs"]["ImDrawListSharedData"][7] = {} defs["structs"]["ImDrawListSharedData"][7]["name"] = "InitialFlags" defs["structs"]["ImDrawListSharedData"][7]["type"] = "ImDrawListFlags" defs["structs"]["ImDrawListSharedData"][8] = {} -defs["structs"]["ImDrawListSharedData"][8]["name"] = "ArcFastVtx[48]" -defs["structs"]["ImDrawListSharedData"][8]["size"] = 48 -defs["structs"]["ImDrawListSharedData"][8]["type"] = "ImVec2" +defs["structs"]["ImDrawListSharedData"][8]["name"] = "TempBuffer" +defs["structs"]["ImDrawListSharedData"][8]["template_type"] = "ImVec2" +defs["structs"]["ImDrawListSharedData"][8]["type"] = "ImVector_ImVec2" defs["structs"]["ImDrawListSharedData"][9] = {} -defs["structs"]["ImDrawListSharedData"][9]["name"] = "ArcFastRadiusCutoff" -defs["structs"]["ImDrawListSharedData"][9]["type"] = "float" +defs["structs"]["ImDrawListSharedData"][9]["name"] = "ArcFastVtx[48]" +defs["structs"]["ImDrawListSharedData"][9]["size"] = 48 +defs["structs"]["ImDrawListSharedData"][9]["type"] = "ImVec2" defs["structs"]["ImDrawListSharedData"][10] = {} -defs["structs"]["ImDrawListSharedData"][10]["name"] = "CircleSegmentCounts[64]" -defs["structs"]["ImDrawListSharedData"][10]["size"] = 64 -defs["structs"]["ImDrawListSharedData"][10]["type"] = "ImU8" +defs["structs"]["ImDrawListSharedData"][10]["name"] = "ArcFastRadiusCutoff" +defs["structs"]["ImDrawListSharedData"][10]["type"] = "float" defs["structs"]["ImDrawListSharedData"][11] = {} -defs["structs"]["ImDrawListSharedData"][11]["name"] = "TexUvLines" -defs["structs"]["ImDrawListSharedData"][11]["type"] = "const ImVec4*" +defs["structs"]["ImDrawListSharedData"][11]["name"] = "CircleSegmentCounts[64]" +defs["structs"]["ImDrawListSharedData"][11]["size"] = 64 +defs["structs"]["ImDrawListSharedData"][11]["type"] = "ImU8" +defs["structs"]["ImDrawListSharedData"][12] = {} +defs["structs"]["ImDrawListSharedData"][12]["name"] = "TexUvLines" +defs["structs"]["ImDrawListSharedData"][12]["type"] = "const ImVec4*" defs["structs"]["ImDrawListSplitter"] = {} defs["structs"]["ImDrawListSplitter"][1] = {} defs["structs"]["ImDrawListSplitter"][1]["name"] = "_Current" @@ -3501,705 +4217,760 @@ defs["structs"]["ImGuiContext"][4] = {} defs["structs"]["ImGuiContext"][4]["name"] = "PlatformIO" defs["structs"]["ImGuiContext"][4]["type"] = "ImGuiPlatformIO" defs["structs"]["ImGuiContext"][5] = {} -defs["structs"]["ImGuiContext"][5]["name"] = "Style" -defs["structs"]["ImGuiContext"][5]["type"] = "ImGuiStyle" +defs["structs"]["ImGuiContext"][5]["name"] = "InputEventsQueue" +defs["structs"]["ImGuiContext"][5]["template_type"] = "ImGuiInputEvent" +defs["structs"]["ImGuiContext"][5]["type"] = "ImVector_ImGuiInputEvent" defs["structs"]["ImGuiContext"][6] = {} -defs["structs"]["ImGuiContext"][6]["name"] = "ConfigFlagsCurrFrame" -defs["structs"]["ImGuiContext"][6]["type"] = "ImGuiConfigFlags" +defs["structs"]["ImGuiContext"][6]["name"] = "InputEventsTrail" +defs["structs"]["ImGuiContext"][6]["template_type"] = "ImGuiInputEvent" +defs["structs"]["ImGuiContext"][6]["type"] = "ImVector_ImGuiInputEvent" defs["structs"]["ImGuiContext"][7] = {} -defs["structs"]["ImGuiContext"][7]["name"] = "ConfigFlagsLastFrame" -defs["structs"]["ImGuiContext"][7]["type"] = "ImGuiConfigFlags" +defs["structs"]["ImGuiContext"][7]["name"] = "Style" +defs["structs"]["ImGuiContext"][7]["type"] = "ImGuiStyle" defs["structs"]["ImGuiContext"][8] = {} -defs["structs"]["ImGuiContext"][8]["name"] = "Font" -defs["structs"]["ImGuiContext"][8]["type"] = "ImFont*" +defs["structs"]["ImGuiContext"][8]["name"] = "ConfigFlagsCurrFrame" +defs["structs"]["ImGuiContext"][8]["type"] = "ImGuiConfigFlags" defs["structs"]["ImGuiContext"][9] = {} -defs["structs"]["ImGuiContext"][9]["name"] = "FontSize" -defs["structs"]["ImGuiContext"][9]["type"] = "float" +defs["structs"]["ImGuiContext"][9]["name"] = "ConfigFlagsLastFrame" +defs["structs"]["ImGuiContext"][9]["type"] = "ImGuiConfigFlags" defs["structs"]["ImGuiContext"][10] = {} -defs["structs"]["ImGuiContext"][10]["name"] = "FontBaseSize" -defs["structs"]["ImGuiContext"][10]["type"] = "float" +defs["structs"]["ImGuiContext"][10]["name"] = "Font" +defs["structs"]["ImGuiContext"][10]["type"] = "ImFont*" defs["structs"]["ImGuiContext"][11] = {} -defs["structs"]["ImGuiContext"][11]["name"] = "DrawListSharedData" -defs["structs"]["ImGuiContext"][11]["type"] = "ImDrawListSharedData" +defs["structs"]["ImGuiContext"][11]["name"] = "FontSize" +defs["structs"]["ImGuiContext"][11]["type"] = "float" defs["structs"]["ImGuiContext"][12] = {} -defs["structs"]["ImGuiContext"][12]["name"] = "Time" -defs["structs"]["ImGuiContext"][12]["type"] = "double" +defs["structs"]["ImGuiContext"][12]["name"] = "FontBaseSize" +defs["structs"]["ImGuiContext"][12]["type"] = "float" defs["structs"]["ImGuiContext"][13] = {} -defs["structs"]["ImGuiContext"][13]["name"] = "FrameCount" -defs["structs"]["ImGuiContext"][13]["type"] = "int" +defs["structs"]["ImGuiContext"][13]["name"] = "DrawListSharedData" +defs["structs"]["ImGuiContext"][13]["type"] = "ImDrawListSharedData" defs["structs"]["ImGuiContext"][14] = {} -defs["structs"]["ImGuiContext"][14]["name"] = "FrameCountEnded" -defs["structs"]["ImGuiContext"][14]["type"] = "int" +defs["structs"]["ImGuiContext"][14]["name"] = "Time" +defs["structs"]["ImGuiContext"][14]["type"] = "double" defs["structs"]["ImGuiContext"][15] = {} -defs["structs"]["ImGuiContext"][15]["name"] = "FrameCountPlatformEnded" +defs["structs"]["ImGuiContext"][15]["name"] = "FrameCount" defs["structs"]["ImGuiContext"][15]["type"] = "int" defs["structs"]["ImGuiContext"][16] = {} -defs["structs"]["ImGuiContext"][16]["name"] = "FrameCountRendered" +defs["structs"]["ImGuiContext"][16]["name"] = "FrameCountEnded" defs["structs"]["ImGuiContext"][16]["type"] = "int" defs["structs"]["ImGuiContext"][17] = {} -defs["structs"]["ImGuiContext"][17]["name"] = "WithinFrameScope" -defs["structs"]["ImGuiContext"][17]["type"] = "bool" +defs["structs"]["ImGuiContext"][17]["name"] = "FrameCountPlatformEnded" +defs["structs"]["ImGuiContext"][17]["type"] = "int" defs["structs"]["ImGuiContext"][18] = {} -defs["structs"]["ImGuiContext"][18]["name"] = "WithinFrameScopeWithImplicitWindow" -defs["structs"]["ImGuiContext"][18]["type"] = "bool" +defs["structs"]["ImGuiContext"][18]["name"] = "FrameCountRendered" +defs["structs"]["ImGuiContext"][18]["type"] = "int" defs["structs"]["ImGuiContext"][19] = {} -defs["structs"]["ImGuiContext"][19]["name"] = "WithinEndChild" +defs["structs"]["ImGuiContext"][19]["name"] = "WithinFrameScope" defs["structs"]["ImGuiContext"][19]["type"] = "bool" defs["structs"]["ImGuiContext"][20] = {} -defs["structs"]["ImGuiContext"][20]["name"] = "GcCompactAll" +defs["structs"]["ImGuiContext"][20]["name"] = "WithinFrameScopeWithImplicitWindow" defs["structs"]["ImGuiContext"][20]["type"] = "bool" defs["structs"]["ImGuiContext"][21] = {} -defs["structs"]["ImGuiContext"][21]["name"] = "TestEngineHookItems" +defs["structs"]["ImGuiContext"][21]["name"] = "WithinEndChild" defs["structs"]["ImGuiContext"][21]["type"] = "bool" defs["structs"]["ImGuiContext"][22] = {} -defs["structs"]["ImGuiContext"][22]["name"] = "TestEngine" -defs["structs"]["ImGuiContext"][22]["type"] = "void*" +defs["structs"]["ImGuiContext"][22]["name"] = "GcCompactAll" +defs["structs"]["ImGuiContext"][22]["type"] = "bool" defs["structs"]["ImGuiContext"][23] = {} -defs["structs"]["ImGuiContext"][23]["name"] = "Windows" -defs["structs"]["ImGuiContext"][23]["template_type"] = "ImGuiWindow*" -defs["structs"]["ImGuiContext"][23]["type"] = "ImVector_ImGuiWindowPtr" +defs["structs"]["ImGuiContext"][23]["name"] = "TestEngineHookItems" +defs["structs"]["ImGuiContext"][23]["type"] = "bool" defs["structs"]["ImGuiContext"][24] = {} -defs["structs"]["ImGuiContext"][24]["name"] = "WindowsFocusOrder" -defs["structs"]["ImGuiContext"][24]["template_type"] = "ImGuiWindow*" -defs["structs"]["ImGuiContext"][24]["type"] = "ImVector_ImGuiWindowPtr" +defs["structs"]["ImGuiContext"][24]["name"] = "TestEngine" +defs["structs"]["ImGuiContext"][24]["type"] = "void*" defs["structs"]["ImGuiContext"][25] = {} -defs["structs"]["ImGuiContext"][25]["name"] = "WindowsTempSortBuffer" +defs["structs"]["ImGuiContext"][25]["name"] = "Windows" defs["structs"]["ImGuiContext"][25]["template_type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][25]["type"] = "ImVector_ImGuiWindowPtr" defs["structs"]["ImGuiContext"][26] = {} -defs["structs"]["ImGuiContext"][26]["name"] = "CurrentWindowStack" -defs["structs"]["ImGuiContext"][26]["template_type"] = "ImGuiWindowStackData" -defs["structs"]["ImGuiContext"][26]["type"] = "ImVector_ImGuiWindowStackData" +defs["structs"]["ImGuiContext"][26]["name"] = "WindowsFocusOrder" +defs["structs"]["ImGuiContext"][26]["template_type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][26]["type"] = "ImVector_ImGuiWindowPtr" defs["structs"]["ImGuiContext"][27] = {} -defs["structs"]["ImGuiContext"][27]["name"] = "WindowsById" -defs["structs"]["ImGuiContext"][27]["type"] = "ImGuiStorage" +defs["structs"]["ImGuiContext"][27]["name"] = "WindowsTempSortBuffer" +defs["structs"]["ImGuiContext"][27]["template_type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][27]["type"] = "ImVector_ImGuiWindowPtr" defs["structs"]["ImGuiContext"][28] = {} -defs["structs"]["ImGuiContext"][28]["name"] = "WindowsActiveCount" -defs["structs"]["ImGuiContext"][28]["type"] = "int" +defs["structs"]["ImGuiContext"][28]["name"] = "CurrentWindowStack" +defs["structs"]["ImGuiContext"][28]["template_type"] = "ImGuiWindowStackData" +defs["structs"]["ImGuiContext"][28]["type"] = "ImVector_ImGuiWindowStackData" defs["structs"]["ImGuiContext"][29] = {} -defs["structs"]["ImGuiContext"][29]["name"] = "WindowsHoverPadding" -defs["structs"]["ImGuiContext"][29]["type"] = "ImVec2" +defs["structs"]["ImGuiContext"][29]["name"] = "WindowsById" +defs["structs"]["ImGuiContext"][29]["type"] = "ImGuiStorage" defs["structs"]["ImGuiContext"][30] = {} -defs["structs"]["ImGuiContext"][30]["name"] = "CurrentWindow" -defs["structs"]["ImGuiContext"][30]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][30]["name"] = "WindowsActiveCount" +defs["structs"]["ImGuiContext"][30]["type"] = "int" defs["structs"]["ImGuiContext"][31] = {} -defs["structs"]["ImGuiContext"][31]["name"] = "HoveredWindow" -defs["structs"]["ImGuiContext"][31]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][31]["name"] = "WindowsHoverPadding" +defs["structs"]["ImGuiContext"][31]["type"] = "ImVec2" defs["structs"]["ImGuiContext"][32] = {} -defs["structs"]["ImGuiContext"][32]["name"] = "HoveredWindowUnderMovingWindow" +defs["structs"]["ImGuiContext"][32]["name"] = "CurrentWindow" defs["structs"]["ImGuiContext"][32]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][33] = {} -defs["structs"]["ImGuiContext"][33]["name"] = "HoveredDockNode" -defs["structs"]["ImGuiContext"][33]["type"] = "ImGuiDockNode*" +defs["structs"]["ImGuiContext"][33]["name"] = "HoveredWindow" +defs["structs"]["ImGuiContext"][33]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][34] = {} -defs["structs"]["ImGuiContext"][34]["name"] = "MovingWindow" +defs["structs"]["ImGuiContext"][34]["name"] = "HoveredWindowUnderMovingWindow" defs["structs"]["ImGuiContext"][34]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][35] = {} -defs["structs"]["ImGuiContext"][35]["name"] = "WheelingWindow" +defs["structs"]["ImGuiContext"][35]["name"] = "MovingWindow" defs["structs"]["ImGuiContext"][35]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][36] = {} -defs["structs"]["ImGuiContext"][36]["name"] = "WheelingWindowRefMousePos" -defs["structs"]["ImGuiContext"][36]["type"] = "ImVec2" +defs["structs"]["ImGuiContext"][36]["name"] = "WheelingWindow" +defs["structs"]["ImGuiContext"][36]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][37] = {} -defs["structs"]["ImGuiContext"][37]["name"] = "WheelingWindowTimer" -defs["structs"]["ImGuiContext"][37]["type"] = "float" +defs["structs"]["ImGuiContext"][37]["name"] = "WheelingWindowRefMousePos" +defs["structs"]["ImGuiContext"][37]["type"] = "ImVec2" defs["structs"]["ImGuiContext"][38] = {} -defs["structs"]["ImGuiContext"][38]["name"] = "DebugHookIdInfo" -defs["structs"]["ImGuiContext"][38]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][38]["name"] = "WheelingWindowReleaseTimer" +defs["structs"]["ImGuiContext"][38]["type"] = "float" defs["structs"]["ImGuiContext"][39] = {} -defs["structs"]["ImGuiContext"][39]["name"] = "HoveredId" +defs["structs"]["ImGuiContext"][39]["name"] = "DebugHookIdInfo" defs["structs"]["ImGuiContext"][39]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][40] = {} -defs["structs"]["ImGuiContext"][40]["name"] = "HoveredIdPreviousFrame" +defs["structs"]["ImGuiContext"][40]["name"] = "HoveredId" defs["structs"]["ImGuiContext"][40]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][41] = {} -defs["structs"]["ImGuiContext"][41]["name"] = "HoveredIdAllowOverlap" -defs["structs"]["ImGuiContext"][41]["type"] = "bool" +defs["structs"]["ImGuiContext"][41]["name"] = "HoveredIdPreviousFrame" +defs["structs"]["ImGuiContext"][41]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][42] = {} -defs["structs"]["ImGuiContext"][42]["name"] = "HoveredIdUsingMouseWheel" +defs["structs"]["ImGuiContext"][42]["name"] = "HoveredIdAllowOverlap" defs["structs"]["ImGuiContext"][42]["type"] = "bool" defs["structs"]["ImGuiContext"][43] = {} -defs["structs"]["ImGuiContext"][43]["name"] = "HoveredIdPreviousFrameUsingMouseWheel" +defs["structs"]["ImGuiContext"][43]["name"] = "HoveredIdDisabled" defs["structs"]["ImGuiContext"][43]["type"] = "bool" defs["structs"]["ImGuiContext"][44] = {} -defs["structs"]["ImGuiContext"][44]["name"] = "HoveredIdDisabled" -defs["structs"]["ImGuiContext"][44]["type"] = "bool" +defs["structs"]["ImGuiContext"][44]["name"] = "HoveredIdTimer" +defs["structs"]["ImGuiContext"][44]["type"] = "float" defs["structs"]["ImGuiContext"][45] = {} -defs["structs"]["ImGuiContext"][45]["name"] = "HoveredIdTimer" +defs["structs"]["ImGuiContext"][45]["name"] = "HoveredIdNotActiveTimer" defs["structs"]["ImGuiContext"][45]["type"] = "float" defs["structs"]["ImGuiContext"][46] = {} -defs["structs"]["ImGuiContext"][46]["name"] = "HoveredIdNotActiveTimer" -defs["structs"]["ImGuiContext"][46]["type"] = "float" +defs["structs"]["ImGuiContext"][46]["name"] = "ActiveId" +defs["structs"]["ImGuiContext"][46]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][47] = {} -defs["structs"]["ImGuiContext"][47]["name"] = "ActiveId" +defs["structs"]["ImGuiContext"][47]["name"] = "ActiveIdIsAlive" defs["structs"]["ImGuiContext"][47]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][48] = {} -defs["structs"]["ImGuiContext"][48]["name"] = "ActiveIdIsAlive" -defs["structs"]["ImGuiContext"][48]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][48]["name"] = "ActiveIdTimer" +defs["structs"]["ImGuiContext"][48]["type"] = "float" defs["structs"]["ImGuiContext"][49] = {} -defs["structs"]["ImGuiContext"][49]["name"] = "ActiveIdTimer" -defs["structs"]["ImGuiContext"][49]["type"] = "float" +defs["structs"]["ImGuiContext"][49]["name"] = "ActiveIdIsJustActivated" +defs["structs"]["ImGuiContext"][49]["type"] = "bool" defs["structs"]["ImGuiContext"][50] = {} -defs["structs"]["ImGuiContext"][50]["name"] = "ActiveIdIsJustActivated" +defs["structs"]["ImGuiContext"][50]["name"] = "ActiveIdAllowOverlap" defs["structs"]["ImGuiContext"][50]["type"] = "bool" defs["structs"]["ImGuiContext"][51] = {} -defs["structs"]["ImGuiContext"][51]["name"] = "ActiveIdAllowOverlap" +defs["structs"]["ImGuiContext"][51]["name"] = "ActiveIdNoClearOnFocusLoss" defs["structs"]["ImGuiContext"][51]["type"] = "bool" defs["structs"]["ImGuiContext"][52] = {} -defs["structs"]["ImGuiContext"][52]["name"] = "ActiveIdNoClearOnFocusLoss" +defs["structs"]["ImGuiContext"][52]["name"] = "ActiveIdHasBeenPressedBefore" defs["structs"]["ImGuiContext"][52]["type"] = "bool" defs["structs"]["ImGuiContext"][53] = {} -defs["structs"]["ImGuiContext"][53]["name"] = "ActiveIdHasBeenPressedBefore" +defs["structs"]["ImGuiContext"][53]["name"] = "ActiveIdHasBeenEditedBefore" defs["structs"]["ImGuiContext"][53]["type"] = "bool" defs["structs"]["ImGuiContext"][54] = {} -defs["structs"]["ImGuiContext"][54]["name"] = "ActiveIdHasBeenEditedBefore" +defs["structs"]["ImGuiContext"][54]["name"] = "ActiveIdHasBeenEditedThisFrame" defs["structs"]["ImGuiContext"][54]["type"] = "bool" defs["structs"]["ImGuiContext"][55] = {} -defs["structs"]["ImGuiContext"][55]["name"] = "ActiveIdHasBeenEditedThisFrame" -defs["structs"]["ImGuiContext"][55]["type"] = "bool" +defs["structs"]["ImGuiContext"][55]["name"] = "ActiveIdClickOffset" +defs["structs"]["ImGuiContext"][55]["type"] = "ImVec2" defs["structs"]["ImGuiContext"][56] = {} -defs["structs"]["ImGuiContext"][56]["name"] = "ActiveIdUsingMouseWheel" -defs["structs"]["ImGuiContext"][56]["type"] = "bool" +defs["structs"]["ImGuiContext"][56]["name"] = "ActiveIdWindow" +defs["structs"]["ImGuiContext"][56]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][57] = {} -defs["structs"]["ImGuiContext"][57]["name"] = "ActiveIdUsingNavDirMask" -defs["structs"]["ImGuiContext"][57]["type"] = "ImU32" +defs["structs"]["ImGuiContext"][57]["name"] = "ActiveIdSource" +defs["structs"]["ImGuiContext"][57]["type"] = "ImGuiInputSource" defs["structs"]["ImGuiContext"][58] = {} -defs["structs"]["ImGuiContext"][58]["name"] = "ActiveIdUsingNavInputMask" -defs["structs"]["ImGuiContext"][58]["type"] = "ImU32" +defs["structs"]["ImGuiContext"][58]["name"] = "ActiveIdMouseButton" +defs["structs"]["ImGuiContext"][58]["type"] = "int" defs["structs"]["ImGuiContext"][59] = {} -defs["structs"]["ImGuiContext"][59]["name"] = "ActiveIdUsingKeyInputMask" -defs["structs"]["ImGuiContext"][59]["type"] = "ImU64" +defs["structs"]["ImGuiContext"][59]["name"] = "ActiveIdPreviousFrame" +defs["structs"]["ImGuiContext"][59]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][60] = {} -defs["structs"]["ImGuiContext"][60]["name"] = "ActiveIdClickOffset" -defs["structs"]["ImGuiContext"][60]["type"] = "ImVec2" +defs["structs"]["ImGuiContext"][60]["name"] = "ActiveIdPreviousFrameIsAlive" +defs["structs"]["ImGuiContext"][60]["type"] = "bool" defs["structs"]["ImGuiContext"][61] = {} -defs["structs"]["ImGuiContext"][61]["name"] = "ActiveIdWindow" -defs["structs"]["ImGuiContext"][61]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][61]["name"] = "ActiveIdPreviousFrameHasBeenEditedBefore" +defs["structs"]["ImGuiContext"][61]["type"] = "bool" defs["structs"]["ImGuiContext"][62] = {} -defs["structs"]["ImGuiContext"][62]["name"] = "ActiveIdSource" -defs["structs"]["ImGuiContext"][62]["type"] = "ImGuiInputSource" +defs["structs"]["ImGuiContext"][62]["name"] = "ActiveIdPreviousFrameWindow" +defs["structs"]["ImGuiContext"][62]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][63] = {} -defs["structs"]["ImGuiContext"][63]["name"] = "ActiveIdMouseButton" -defs["structs"]["ImGuiContext"][63]["type"] = "int" +defs["structs"]["ImGuiContext"][63]["name"] = "LastActiveId" +defs["structs"]["ImGuiContext"][63]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][64] = {} -defs["structs"]["ImGuiContext"][64]["name"] = "ActiveIdPreviousFrame" -defs["structs"]["ImGuiContext"][64]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][64]["name"] = "LastActiveIdTimer" +defs["structs"]["ImGuiContext"][64]["type"] = "float" defs["structs"]["ImGuiContext"][65] = {} -defs["structs"]["ImGuiContext"][65]["name"] = "ActiveIdPreviousFrameIsAlive" -defs["structs"]["ImGuiContext"][65]["type"] = "bool" +defs["structs"]["ImGuiContext"][65]["name"] = "KeysOwnerData[ImGuiKey_NamedKey_COUNT]" +defs["structs"]["ImGuiContext"][65]["size"] = 140 +defs["structs"]["ImGuiContext"][65]["type"] = "ImGuiKeyOwnerData" defs["structs"]["ImGuiContext"][66] = {} -defs["structs"]["ImGuiContext"][66]["name"] = "ActiveIdPreviousFrameHasBeenEditedBefore" -defs["structs"]["ImGuiContext"][66]["type"] = "bool" +defs["structs"]["ImGuiContext"][66]["name"] = "KeysRoutingTable" +defs["structs"]["ImGuiContext"][66]["type"] = "ImGuiKeyRoutingTable" defs["structs"]["ImGuiContext"][67] = {} -defs["structs"]["ImGuiContext"][67]["name"] = "ActiveIdPreviousFrameWindow" -defs["structs"]["ImGuiContext"][67]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][67]["name"] = "ActiveIdUsingNavDirMask" +defs["structs"]["ImGuiContext"][67]["type"] = "ImU32" defs["structs"]["ImGuiContext"][68] = {} -defs["structs"]["ImGuiContext"][68]["name"] = "LastActiveId" -defs["structs"]["ImGuiContext"][68]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][68]["name"] = "ActiveIdUsingAllKeyboardKeys" +defs["structs"]["ImGuiContext"][68]["type"] = "bool" defs["structs"]["ImGuiContext"][69] = {} -defs["structs"]["ImGuiContext"][69]["name"] = "LastActiveIdTimer" -defs["structs"]["ImGuiContext"][69]["type"] = "float" +defs["structs"]["ImGuiContext"][69]["name"] = "ActiveIdUsingNavInputMask" +defs["structs"]["ImGuiContext"][69]["type"] = "ImU32" defs["structs"]["ImGuiContext"][70] = {} -defs["structs"]["ImGuiContext"][70]["name"] = "CurrentItemFlags" -defs["structs"]["ImGuiContext"][70]["type"] = "ImGuiItemFlags" +defs["structs"]["ImGuiContext"][70]["name"] = "CurrentFocusScopeId" +defs["structs"]["ImGuiContext"][70]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][71] = {} -defs["structs"]["ImGuiContext"][71]["name"] = "NextItemData" -defs["structs"]["ImGuiContext"][71]["type"] = "ImGuiNextItemData" +defs["structs"]["ImGuiContext"][71]["name"] = "CurrentItemFlags" +defs["structs"]["ImGuiContext"][71]["type"] = "ImGuiItemFlags" defs["structs"]["ImGuiContext"][72] = {} -defs["structs"]["ImGuiContext"][72]["name"] = "LastItemData" -defs["structs"]["ImGuiContext"][72]["type"] = "ImGuiLastItemData" +defs["structs"]["ImGuiContext"][72]["name"] = "DebugLocateId" +defs["structs"]["ImGuiContext"][72]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][73] = {} -defs["structs"]["ImGuiContext"][73]["name"] = "NextWindowData" -defs["structs"]["ImGuiContext"][73]["type"] = "ImGuiNextWindowData" +defs["structs"]["ImGuiContext"][73]["name"] = "NextItemData" +defs["structs"]["ImGuiContext"][73]["type"] = "ImGuiNextItemData" defs["structs"]["ImGuiContext"][74] = {} -defs["structs"]["ImGuiContext"][74]["name"] = "ColorStack" -defs["structs"]["ImGuiContext"][74]["template_type"] = "ImGuiColorMod" -defs["structs"]["ImGuiContext"][74]["type"] = "ImVector_ImGuiColorMod" +defs["structs"]["ImGuiContext"][74]["name"] = "LastItemData" +defs["structs"]["ImGuiContext"][74]["type"] = "ImGuiLastItemData" defs["structs"]["ImGuiContext"][75] = {} -defs["structs"]["ImGuiContext"][75]["name"] = "StyleVarStack" -defs["structs"]["ImGuiContext"][75]["template_type"] = "ImGuiStyleMod" -defs["structs"]["ImGuiContext"][75]["type"] = "ImVector_ImGuiStyleMod" +defs["structs"]["ImGuiContext"][75]["name"] = "NextWindowData" +defs["structs"]["ImGuiContext"][75]["type"] = "ImGuiNextWindowData" defs["structs"]["ImGuiContext"][76] = {} -defs["structs"]["ImGuiContext"][76]["name"] = "FontStack" -defs["structs"]["ImGuiContext"][76]["template_type"] = "ImFont*" -defs["structs"]["ImGuiContext"][76]["type"] = "ImVector_ImFontPtr" +defs["structs"]["ImGuiContext"][76]["name"] = "ColorStack" +defs["structs"]["ImGuiContext"][76]["template_type"] = "ImGuiColorMod" +defs["structs"]["ImGuiContext"][76]["type"] = "ImVector_ImGuiColorMod" defs["structs"]["ImGuiContext"][77] = {} -defs["structs"]["ImGuiContext"][77]["name"] = "FocusScopeStack" -defs["structs"]["ImGuiContext"][77]["template_type"] = "ImGuiID" -defs["structs"]["ImGuiContext"][77]["type"] = "ImVector_ImGuiID" +defs["structs"]["ImGuiContext"][77]["name"] = "StyleVarStack" +defs["structs"]["ImGuiContext"][77]["template_type"] = "ImGuiStyleMod" +defs["structs"]["ImGuiContext"][77]["type"] = "ImVector_ImGuiStyleMod" defs["structs"]["ImGuiContext"][78] = {} -defs["structs"]["ImGuiContext"][78]["name"] = "ItemFlagsStack" -defs["structs"]["ImGuiContext"][78]["template_type"] = "ImGuiItemFlags" -defs["structs"]["ImGuiContext"][78]["type"] = "ImVector_ImGuiItemFlags" +defs["structs"]["ImGuiContext"][78]["name"] = "FontStack" +defs["structs"]["ImGuiContext"][78]["template_type"] = "ImFont*" +defs["structs"]["ImGuiContext"][78]["type"] = "ImVector_ImFontPtr" defs["structs"]["ImGuiContext"][79] = {} -defs["structs"]["ImGuiContext"][79]["name"] = "GroupStack" -defs["structs"]["ImGuiContext"][79]["template_type"] = "ImGuiGroupData" -defs["structs"]["ImGuiContext"][79]["type"] = "ImVector_ImGuiGroupData" +defs["structs"]["ImGuiContext"][79]["name"] = "FocusScopeStack" +defs["structs"]["ImGuiContext"][79]["template_type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][79]["type"] = "ImVector_ImGuiID" defs["structs"]["ImGuiContext"][80] = {} -defs["structs"]["ImGuiContext"][80]["name"] = "OpenPopupStack" -defs["structs"]["ImGuiContext"][80]["template_type"] = "ImGuiPopupData" -defs["structs"]["ImGuiContext"][80]["type"] = "ImVector_ImGuiPopupData" +defs["structs"]["ImGuiContext"][80]["name"] = "ItemFlagsStack" +defs["structs"]["ImGuiContext"][80]["template_type"] = "ImGuiItemFlags" +defs["structs"]["ImGuiContext"][80]["type"] = "ImVector_ImGuiItemFlags" defs["structs"]["ImGuiContext"][81] = {} -defs["structs"]["ImGuiContext"][81]["name"] = "BeginPopupStack" -defs["structs"]["ImGuiContext"][81]["template_type"] = "ImGuiPopupData" -defs["structs"]["ImGuiContext"][81]["type"] = "ImVector_ImGuiPopupData" +defs["structs"]["ImGuiContext"][81]["name"] = "GroupStack" +defs["structs"]["ImGuiContext"][81]["template_type"] = "ImGuiGroupData" +defs["structs"]["ImGuiContext"][81]["type"] = "ImVector_ImGuiGroupData" defs["structs"]["ImGuiContext"][82] = {} -defs["structs"]["ImGuiContext"][82]["name"] = "BeginMenuCount" -defs["structs"]["ImGuiContext"][82]["type"] = "int" +defs["structs"]["ImGuiContext"][82]["name"] = "OpenPopupStack" +defs["structs"]["ImGuiContext"][82]["template_type"] = "ImGuiPopupData" +defs["structs"]["ImGuiContext"][82]["type"] = "ImVector_ImGuiPopupData" defs["structs"]["ImGuiContext"][83] = {} -defs["structs"]["ImGuiContext"][83]["name"] = "Viewports" -defs["structs"]["ImGuiContext"][83]["template_type"] = "ImGuiViewportP*" -defs["structs"]["ImGuiContext"][83]["type"] = "ImVector_ImGuiViewportPPtr" +defs["structs"]["ImGuiContext"][83]["name"] = "BeginPopupStack" +defs["structs"]["ImGuiContext"][83]["template_type"] = "ImGuiPopupData" +defs["structs"]["ImGuiContext"][83]["type"] = "ImVector_ImGuiPopupData" defs["structs"]["ImGuiContext"][84] = {} -defs["structs"]["ImGuiContext"][84]["name"] = "CurrentDpiScale" -defs["structs"]["ImGuiContext"][84]["type"] = "float" +defs["structs"]["ImGuiContext"][84]["name"] = "BeginMenuCount" +defs["structs"]["ImGuiContext"][84]["type"] = "int" defs["structs"]["ImGuiContext"][85] = {} -defs["structs"]["ImGuiContext"][85]["name"] = "CurrentViewport" -defs["structs"]["ImGuiContext"][85]["type"] = "ImGuiViewportP*" +defs["structs"]["ImGuiContext"][85]["name"] = "Viewports" +defs["structs"]["ImGuiContext"][85]["template_type"] = "ImGuiViewportP*" +defs["structs"]["ImGuiContext"][85]["type"] = "ImVector_ImGuiViewportPPtr" defs["structs"]["ImGuiContext"][86] = {} -defs["structs"]["ImGuiContext"][86]["name"] = "MouseViewport" -defs["structs"]["ImGuiContext"][86]["type"] = "ImGuiViewportP*" +defs["structs"]["ImGuiContext"][86]["name"] = "CurrentDpiScale" +defs["structs"]["ImGuiContext"][86]["type"] = "float" defs["structs"]["ImGuiContext"][87] = {} -defs["structs"]["ImGuiContext"][87]["name"] = "MouseLastHoveredViewport" +defs["structs"]["ImGuiContext"][87]["name"] = "CurrentViewport" defs["structs"]["ImGuiContext"][87]["type"] = "ImGuiViewportP*" defs["structs"]["ImGuiContext"][88] = {} -defs["structs"]["ImGuiContext"][88]["name"] = "PlatformLastFocusedViewportId" -defs["structs"]["ImGuiContext"][88]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][88]["name"] = "MouseViewport" +defs["structs"]["ImGuiContext"][88]["type"] = "ImGuiViewportP*" defs["structs"]["ImGuiContext"][89] = {} -defs["structs"]["ImGuiContext"][89]["name"] = "FallbackMonitor" -defs["structs"]["ImGuiContext"][89]["type"] = "ImGuiPlatformMonitor" +defs["structs"]["ImGuiContext"][89]["name"] = "MouseLastHoveredViewport" +defs["structs"]["ImGuiContext"][89]["type"] = "ImGuiViewportP*" defs["structs"]["ImGuiContext"][90] = {} -defs["structs"]["ImGuiContext"][90]["name"] = "ViewportFrontMostStampCount" -defs["structs"]["ImGuiContext"][90]["type"] = "int" +defs["structs"]["ImGuiContext"][90]["name"] = "PlatformLastFocusedViewportId" +defs["structs"]["ImGuiContext"][90]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][91] = {} -defs["structs"]["ImGuiContext"][91]["name"] = "NavWindow" -defs["structs"]["ImGuiContext"][91]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][91]["name"] = "FallbackMonitor" +defs["structs"]["ImGuiContext"][91]["type"] = "ImGuiPlatformMonitor" defs["structs"]["ImGuiContext"][92] = {} -defs["structs"]["ImGuiContext"][92]["name"] = "NavId" -defs["structs"]["ImGuiContext"][92]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][92]["name"] = "ViewportFrontMostStampCount" +defs["structs"]["ImGuiContext"][92]["type"] = "int" defs["structs"]["ImGuiContext"][93] = {} -defs["structs"]["ImGuiContext"][93]["name"] = "NavFocusScopeId" -defs["structs"]["ImGuiContext"][93]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][93]["name"] = "NavWindow" +defs["structs"]["ImGuiContext"][93]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][94] = {} -defs["structs"]["ImGuiContext"][94]["name"] = "NavActivateId" +defs["structs"]["ImGuiContext"][94]["name"] = "NavId" defs["structs"]["ImGuiContext"][94]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][95] = {} -defs["structs"]["ImGuiContext"][95]["name"] = "NavActivateDownId" +defs["structs"]["ImGuiContext"][95]["name"] = "NavFocusScopeId" defs["structs"]["ImGuiContext"][95]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][96] = {} -defs["structs"]["ImGuiContext"][96]["name"] = "NavActivatePressedId" +defs["structs"]["ImGuiContext"][96]["name"] = "NavActivateId" defs["structs"]["ImGuiContext"][96]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][97] = {} -defs["structs"]["ImGuiContext"][97]["name"] = "NavActivateInputId" +defs["structs"]["ImGuiContext"][97]["name"] = "NavActivateDownId" defs["structs"]["ImGuiContext"][97]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][98] = {} -defs["structs"]["ImGuiContext"][98]["name"] = "NavActivateFlags" -defs["structs"]["ImGuiContext"][98]["type"] = "ImGuiActivateFlags" +defs["structs"]["ImGuiContext"][98]["name"] = "NavActivatePressedId" +defs["structs"]["ImGuiContext"][98]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][99] = {} -defs["structs"]["ImGuiContext"][99]["name"] = "NavJustMovedToId" +defs["structs"]["ImGuiContext"][99]["name"] = "NavActivateInputId" defs["structs"]["ImGuiContext"][99]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][100] = {} -defs["structs"]["ImGuiContext"][100]["name"] = "NavJustMovedToFocusScopeId" -defs["structs"]["ImGuiContext"][100]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][100]["name"] = "NavActivateFlags" +defs["structs"]["ImGuiContext"][100]["type"] = "ImGuiActivateFlags" defs["structs"]["ImGuiContext"][101] = {} -defs["structs"]["ImGuiContext"][101]["name"] = "NavJustMovedToKeyMods" -defs["structs"]["ImGuiContext"][101]["type"] = "ImGuiKeyModFlags" +defs["structs"]["ImGuiContext"][101]["name"] = "NavJustMovedToId" +defs["structs"]["ImGuiContext"][101]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][102] = {} -defs["structs"]["ImGuiContext"][102]["name"] = "NavNextActivateId" +defs["structs"]["ImGuiContext"][102]["name"] = "NavJustMovedToFocusScopeId" defs["structs"]["ImGuiContext"][102]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][103] = {} -defs["structs"]["ImGuiContext"][103]["name"] = "NavNextActivateFlags" -defs["structs"]["ImGuiContext"][103]["type"] = "ImGuiActivateFlags" +defs["structs"]["ImGuiContext"][103]["name"] = "NavJustMovedToKeyMods" +defs["structs"]["ImGuiContext"][103]["type"] = "ImGuiKeyChord" defs["structs"]["ImGuiContext"][104] = {} -defs["structs"]["ImGuiContext"][104]["name"] = "NavInputSource" -defs["structs"]["ImGuiContext"][104]["type"] = "ImGuiInputSource" +defs["structs"]["ImGuiContext"][104]["name"] = "NavNextActivateId" +defs["structs"]["ImGuiContext"][104]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][105] = {} -defs["structs"]["ImGuiContext"][105]["name"] = "NavLayer" -defs["structs"]["ImGuiContext"][105]["type"] = "ImGuiNavLayer" +defs["structs"]["ImGuiContext"][105]["name"] = "NavNextActivateFlags" +defs["structs"]["ImGuiContext"][105]["type"] = "ImGuiActivateFlags" defs["structs"]["ImGuiContext"][106] = {} -defs["structs"]["ImGuiContext"][106]["name"] = "NavIdIsAlive" -defs["structs"]["ImGuiContext"][106]["type"] = "bool" +defs["structs"]["ImGuiContext"][106]["name"] = "NavInputSource" +defs["structs"]["ImGuiContext"][106]["type"] = "ImGuiInputSource" defs["structs"]["ImGuiContext"][107] = {} -defs["structs"]["ImGuiContext"][107]["name"] = "NavMousePosDirty" -defs["structs"]["ImGuiContext"][107]["type"] = "bool" +defs["structs"]["ImGuiContext"][107]["name"] = "NavLayer" +defs["structs"]["ImGuiContext"][107]["type"] = "ImGuiNavLayer" defs["structs"]["ImGuiContext"][108] = {} -defs["structs"]["ImGuiContext"][108]["name"] = "NavDisableHighlight" +defs["structs"]["ImGuiContext"][108]["name"] = "NavIdIsAlive" defs["structs"]["ImGuiContext"][108]["type"] = "bool" defs["structs"]["ImGuiContext"][109] = {} -defs["structs"]["ImGuiContext"][109]["name"] = "NavDisableMouseHover" +defs["structs"]["ImGuiContext"][109]["name"] = "NavMousePosDirty" defs["structs"]["ImGuiContext"][109]["type"] = "bool" defs["structs"]["ImGuiContext"][110] = {} -defs["structs"]["ImGuiContext"][110]["name"] = "NavAnyRequest" +defs["structs"]["ImGuiContext"][110]["name"] = "NavDisableHighlight" defs["structs"]["ImGuiContext"][110]["type"] = "bool" defs["structs"]["ImGuiContext"][111] = {} -defs["structs"]["ImGuiContext"][111]["name"] = "NavInitRequest" +defs["structs"]["ImGuiContext"][111]["name"] = "NavDisableMouseHover" defs["structs"]["ImGuiContext"][111]["type"] = "bool" defs["structs"]["ImGuiContext"][112] = {} -defs["structs"]["ImGuiContext"][112]["name"] = "NavInitRequestFromMove" +defs["structs"]["ImGuiContext"][112]["name"] = "NavAnyRequest" defs["structs"]["ImGuiContext"][112]["type"] = "bool" defs["structs"]["ImGuiContext"][113] = {} -defs["structs"]["ImGuiContext"][113]["name"] = "NavInitResultId" -defs["structs"]["ImGuiContext"][113]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][113]["name"] = "NavInitRequest" +defs["structs"]["ImGuiContext"][113]["type"] = "bool" defs["structs"]["ImGuiContext"][114] = {} -defs["structs"]["ImGuiContext"][114]["name"] = "NavInitResultRectRel" -defs["structs"]["ImGuiContext"][114]["type"] = "ImRect" +defs["structs"]["ImGuiContext"][114]["name"] = "NavInitRequestFromMove" +defs["structs"]["ImGuiContext"][114]["type"] = "bool" defs["structs"]["ImGuiContext"][115] = {} -defs["structs"]["ImGuiContext"][115]["name"] = "NavMoveSubmitted" -defs["structs"]["ImGuiContext"][115]["type"] = "bool" +defs["structs"]["ImGuiContext"][115]["name"] = "NavInitResultId" +defs["structs"]["ImGuiContext"][115]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][116] = {} -defs["structs"]["ImGuiContext"][116]["name"] = "NavMoveScoringItems" -defs["structs"]["ImGuiContext"][116]["type"] = "bool" +defs["structs"]["ImGuiContext"][116]["name"] = "NavInitResultRectRel" +defs["structs"]["ImGuiContext"][116]["type"] = "ImRect" defs["structs"]["ImGuiContext"][117] = {} -defs["structs"]["ImGuiContext"][117]["name"] = "NavMoveForwardToNextFrame" +defs["structs"]["ImGuiContext"][117]["name"] = "NavMoveSubmitted" defs["structs"]["ImGuiContext"][117]["type"] = "bool" defs["structs"]["ImGuiContext"][118] = {} -defs["structs"]["ImGuiContext"][118]["name"] = "NavMoveFlags" -defs["structs"]["ImGuiContext"][118]["type"] = "ImGuiNavMoveFlags" +defs["structs"]["ImGuiContext"][118]["name"] = "NavMoveScoringItems" +defs["structs"]["ImGuiContext"][118]["type"] = "bool" defs["structs"]["ImGuiContext"][119] = {} -defs["structs"]["ImGuiContext"][119]["name"] = "NavMoveScrollFlags" -defs["structs"]["ImGuiContext"][119]["type"] = "ImGuiScrollFlags" +defs["structs"]["ImGuiContext"][119]["name"] = "NavMoveForwardToNextFrame" +defs["structs"]["ImGuiContext"][119]["type"] = "bool" defs["structs"]["ImGuiContext"][120] = {} -defs["structs"]["ImGuiContext"][120]["name"] = "NavMoveKeyMods" -defs["structs"]["ImGuiContext"][120]["type"] = "ImGuiKeyModFlags" +defs["structs"]["ImGuiContext"][120]["name"] = "NavMoveFlags" +defs["structs"]["ImGuiContext"][120]["type"] = "ImGuiNavMoveFlags" defs["structs"]["ImGuiContext"][121] = {} -defs["structs"]["ImGuiContext"][121]["name"] = "NavMoveDir" -defs["structs"]["ImGuiContext"][121]["type"] = "ImGuiDir" +defs["structs"]["ImGuiContext"][121]["name"] = "NavMoveScrollFlags" +defs["structs"]["ImGuiContext"][121]["type"] = "ImGuiScrollFlags" defs["structs"]["ImGuiContext"][122] = {} -defs["structs"]["ImGuiContext"][122]["name"] = "NavMoveDirForDebug" -defs["structs"]["ImGuiContext"][122]["type"] = "ImGuiDir" +defs["structs"]["ImGuiContext"][122]["name"] = "NavMoveKeyMods" +defs["structs"]["ImGuiContext"][122]["type"] = "ImGuiKeyChord" defs["structs"]["ImGuiContext"][123] = {} -defs["structs"]["ImGuiContext"][123]["name"] = "NavMoveClipDir" +defs["structs"]["ImGuiContext"][123]["name"] = "NavMoveDir" defs["structs"]["ImGuiContext"][123]["type"] = "ImGuiDir" defs["structs"]["ImGuiContext"][124] = {} -defs["structs"]["ImGuiContext"][124]["name"] = "NavScoringRect" -defs["structs"]["ImGuiContext"][124]["type"] = "ImRect" +defs["structs"]["ImGuiContext"][124]["name"] = "NavMoveDirForDebug" +defs["structs"]["ImGuiContext"][124]["type"] = "ImGuiDir" defs["structs"]["ImGuiContext"][125] = {} -defs["structs"]["ImGuiContext"][125]["name"] = "NavScoringNoClipRect" -defs["structs"]["ImGuiContext"][125]["type"] = "ImRect" +defs["structs"]["ImGuiContext"][125]["name"] = "NavMoveClipDir" +defs["structs"]["ImGuiContext"][125]["type"] = "ImGuiDir" defs["structs"]["ImGuiContext"][126] = {} -defs["structs"]["ImGuiContext"][126]["name"] = "NavScoringDebugCount" -defs["structs"]["ImGuiContext"][126]["type"] = "int" +defs["structs"]["ImGuiContext"][126]["name"] = "NavScoringRect" +defs["structs"]["ImGuiContext"][126]["type"] = "ImRect" defs["structs"]["ImGuiContext"][127] = {} -defs["structs"]["ImGuiContext"][127]["name"] = "NavTabbingDir" -defs["structs"]["ImGuiContext"][127]["type"] = "int" +defs["structs"]["ImGuiContext"][127]["name"] = "NavScoringNoClipRect" +defs["structs"]["ImGuiContext"][127]["type"] = "ImRect" defs["structs"]["ImGuiContext"][128] = {} -defs["structs"]["ImGuiContext"][128]["name"] = "NavTabbingCounter" +defs["structs"]["ImGuiContext"][128]["name"] = "NavScoringDebugCount" defs["structs"]["ImGuiContext"][128]["type"] = "int" defs["structs"]["ImGuiContext"][129] = {} -defs["structs"]["ImGuiContext"][129]["name"] = "NavMoveResultLocal" -defs["structs"]["ImGuiContext"][129]["type"] = "ImGuiNavItemData" +defs["structs"]["ImGuiContext"][129]["name"] = "NavTabbingDir" +defs["structs"]["ImGuiContext"][129]["type"] = "int" defs["structs"]["ImGuiContext"][130] = {} -defs["structs"]["ImGuiContext"][130]["name"] = "NavMoveResultLocalVisible" -defs["structs"]["ImGuiContext"][130]["type"] = "ImGuiNavItemData" +defs["structs"]["ImGuiContext"][130]["name"] = "NavTabbingCounter" +defs["structs"]["ImGuiContext"][130]["type"] = "int" defs["structs"]["ImGuiContext"][131] = {} -defs["structs"]["ImGuiContext"][131]["name"] = "NavMoveResultOther" +defs["structs"]["ImGuiContext"][131]["name"] = "NavMoveResultLocal" defs["structs"]["ImGuiContext"][131]["type"] = "ImGuiNavItemData" defs["structs"]["ImGuiContext"][132] = {} -defs["structs"]["ImGuiContext"][132]["name"] = "NavTabbingResultFirst" +defs["structs"]["ImGuiContext"][132]["name"] = "NavMoveResultLocalVisible" defs["structs"]["ImGuiContext"][132]["type"] = "ImGuiNavItemData" defs["structs"]["ImGuiContext"][133] = {} -defs["structs"]["ImGuiContext"][133]["name"] = "NavWindowingTarget" -defs["structs"]["ImGuiContext"][133]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][133]["name"] = "NavMoveResultOther" +defs["structs"]["ImGuiContext"][133]["type"] = "ImGuiNavItemData" defs["structs"]["ImGuiContext"][134] = {} -defs["structs"]["ImGuiContext"][134]["name"] = "NavWindowingTargetAnim" -defs["structs"]["ImGuiContext"][134]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][134]["name"] = "NavTabbingResultFirst" +defs["structs"]["ImGuiContext"][134]["type"] = "ImGuiNavItemData" defs["structs"]["ImGuiContext"][135] = {} -defs["structs"]["ImGuiContext"][135]["name"] = "NavWindowingListWindow" -defs["structs"]["ImGuiContext"][135]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiContext"][135]["name"] = "ConfigNavWindowingKeyNext" +defs["structs"]["ImGuiContext"][135]["type"] = "ImGuiKeyChord" defs["structs"]["ImGuiContext"][136] = {} -defs["structs"]["ImGuiContext"][136]["name"] = "NavWindowingTimer" -defs["structs"]["ImGuiContext"][136]["type"] = "float" +defs["structs"]["ImGuiContext"][136]["name"] = "ConfigNavWindowingKeyPrev" +defs["structs"]["ImGuiContext"][136]["type"] = "ImGuiKeyChord" defs["structs"]["ImGuiContext"][137] = {} -defs["structs"]["ImGuiContext"][137]["name"] = "NavWindowingHighlightAlpha" -defs["structs"]["ImGuiContext"][137]["type"] = "float" +defs["structs"]["ImGuiContext"][137]["name"] = "NavWindowingTarget" +defs["structs"]["ImGuiContext"][137]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][138] = {} -defs["structs"]["ImGuiContext"][138]["name"] = "NavWindowingToggleLayer" -defs["structs"]["ImGuiContext"][138]["type"] = "bool" +defs["structs"]["ImGuiContext"][138]["name"] = "NavWindowingTargetAnim" +defs["structs"]["ImGuiContext"][138]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][139] = {} -defs["structs"]["ImGuiContext"][139]["name"] = "DimBgRatio" -defs["structs"]["ImGuiContext"][139]["type"] = "float" +defs["structs"]["ImGuiContext"][139]["name"] = "NavWindowingListWindow" +defs["structs"]["ImGuiContext"][139]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiContext"][140] = {} -defs["structs"]["ImGuiContext"][140]["name"] = "MouseCursor" -defs["structs"]["ImGuiContext"][140]["type"] = "ImGuiMouseCursor" +defs["structs"]["ImGuiContext"][140]["name"] = "NavWindowingTimer" +defs["structs"]["ImGuiContext"][140]["type"] = "float" defs["structs"]["ImGuiContext"][141] = {} -defs["structs"]["ImGuiContext"][141]["name"] = "DragDropActive" -defs["structs"]["ImGuiContext"][141]["type"] = "bool" +defs["structs"]["ImGuiContext"][141]["name"] = "NavWindowingHighlightAlpha" +defs["structs"]["ImGuiContext"][141]["type"] = "float" defs["structs"]["ImGuiContext"][142] = {} -defs["structs"]["ImGuiContext"][142]["name"] = "DragDropWithinSource" +defs["structs"]["ImGuiContext"][142]["name"] = "NavWindowingToggleLayer" defs["structs"]["ImGuiContext"][142]["type"] = "bool" defs["structs"]["ImGuiContext"][143] = {} -defs["structs"]["ImGuiContext"][143]["name"] = "DragDropWithinTarget" -defs["structs"]["ImGuiContext"][143]["type"] = "bool" +defs["structs"]["ImGuiContext"][143]["name"] = "NavWindowingAccumDeltaPos" +defs["structs"]["ImGuiContext"][143]["type"] = "ImVec2" defs["structs"]["ImGuiContext"][144] = {} -defs["structs"]["ImGuiContext"][144]["name"] = "DragDropSourceFlags" -defs["structs"]["ImGuiContext"][144]["type"] = "ImGuiDragDropFlags" +defs["structs"]["ImGuiContext"][144]["name"] = "NavWindowingAccumDeltaSize" +defs["structs"]["ImGuiContext"][144]["type"] = "ImVec2" defs["structs"]["ImGuiContext"][145] = {} -defs["structs"]["ImGuiContext"][145]["name"] = "DragDropSourceFrameCount" -defs["structs"]["ImGuiContext"][145]["type"] = "int" +defs["structs"]["ImGuiContext"][145]["name"] = "DimBgRatio" +defs["structs"]["ImGuiContext"][145]["type"] = "float" defs["structs"]["ImGuiContext"][146] = {} -defs["structs"]["ImGuiContext"][146]["name"] = "DragDropMouseButton" -defs["structs"]["ImGuiContext"][146]["type"] = "int" +defs["structs"]["ImGuiContext"][146]["name"] = "MouseCursor" +defs["structs"]["ImGuiContext"][146]["type"] = "ImGuiMouseCursor" defs["structs"]["ImGuiContext"][147] = {} -defs["structs"]["ImGuiContext"][147]["name"] = "DragDropPayload" -defs["structs"]["ImGuiContext"][147]["type"] = "ImGuiPayload" +defs["structs"]["ImGuiContext"][147]["name"] = "DragDropActive" +defs["structs"]["ImGuiContext"][147]["type"] = "bool" defs["structs"]["ImGuiContext"][148] = {} -defs["structs"]["ImGuiContext"][148]["name"] = "DragDropTargetRect" -defs["structs"]["ImGuiContext"][148]["type"] = "ImRect" +defs["structs"]["ImGuiContext"][148]["name"] = "DragDropWithinSource" +defs["structs"]["ImGuiContext"][148]["type"] = "bool" defs["structs"]["ImGuiContext"][149] = {} -defs["structs"]["ImGuiContext"][149]["name"] = "DragDropTargetId" -defs["structs"]["ImGuiContext"][149]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][149]["name"] = "DragDropWithinTarget" +defs["structs"]["ImGuiContext"][149]["type"] = "bool" defs["structs"]["ImGuiContext"][150] = {} -defs["structs"]["ImGuiContext"][150]["name"] = "DragDropAcceptFlags" +defs["structs"]["ImGuiContext"][150]["name"] = "DragDropSourceFlags" defs["structs"]["ImGuiContext"][150]["type"] = "ImGuiDragDropFlags" defs["structs"]["ImGuiContext"][151] = {} -defs["structs"]["ImGuiContext"][151]["name"] = "DragDropAcceptIdCurrRectSurface" -defs["structs"]["ImGuiContext"][151]["type"] = "float" +defs["structs"]["ImGuiContext"][151]["name"] = "DragDropSourceFrameCount" +defs["structs"]["ImGuiContext"][151]["type"] = "int" defs["structs"]["ImGuiContext"][152] = {} -defs["structs"]["ImGuiContext"][152]["name"] = "DragDropAcceptIdCurr" -defs["structs"]["ImGuiContext"][152]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][152]["name"] = "DragDropMouseButton" +defs["structs"]["ImGuiContext"][152]["type"] = "int" defs["structs"]["ImGuiContext"][153] = {} -defs["structs"]["ImGuiContext"][153]["name"] = "DragDropAcceptIdPrev" -defs["structs"]["ImGuiContext"][153]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][153]["name"] = "DragDropPayload" +defs["structs"]["ImGuiContext"][153]["type"] = "ImGuiPayload" defs["structs"]["ImGuiContext"][154] = {} -defs["structs"]["ImGuiContext"][154]["name"] = "DragDropAcceptFrameCount" -defs["structs"]["ImGuiContext"][154]["type"] = "int" +defs["structs"]["ImGuiContext"][154]["name"] = "DragDropTargetRect" +defs["structs"]["ImGuiContext"][154]["type"] = "ImRect" defs["structs"]["ImGuiContext"][155] = {} -defs["structs"]["ImGuiContext"][155]["name"] = "DragDropHoldJustPressedId" +defs["structs"]["ImGuiContext"][155]["name"] = "DragDropTargetId" defs["structs"]["ImGuiContext"][155]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][156] = {} -defs["structs"]["ImGuiContext"][156]["name"] = "DragDropPayloadBufHeap" -defs["structs"]["ImGuiContext"][156]["template_type"] = "unsigned char" -defs["structs"]["ImGuiContext"][156]["type"] = "ImVector_unsigned_char" +defs["structs"]["ImGuiContext"][156]["name"] = "DragDropAcceptFlags" +defs["structs"]["ImGuiContext"][156]["type"] = "ImGuiDragDropFlags" defs["structs"]["ImGuiContext"][157] = {} -defs["structs"]["ImGuiContext"][157]["name"] = "DragDropPayloadBufLocal[16]" -defs["structs"]["ImGuiContext"][157]["size"] = 16 -defs["structs"]["ImGuiContext"][157]["type"] = "unsigned char" +defs["structs"]["ImGuiContext"][157]["name"] = "DragDropAcceptIdCurrRectSurface" +defs["structs"]["ImGuiContext"][157]["type"] = "float" defs["structs"]["ImGuiContext"][158] = {} -defs["structs"]["ImGuiContext"][158]["name"] = "ClipperTempDataStacked" -defs["structs"]["ImGuiContext"][158]["type"] = "int" +defs["structs"]["ImGuiContext"][158]["name"] = "DragDropAcceptIdCurr" +defs["structs"]["ImGuiContext"][158]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][159] = {} -defs["structs"]["ImGuiContext"][159]["name"] = "ClipperTempData" -defs["structs"]["ImGuiContext"][159]["template_type"] = "ImGuiListClipperData" -defs["structs"]["ImGuiContext"][159]["type"] = "ImVector_ImGuiListClipperData" +defs["structs"]["ImGuiContext"][159]["name"] = "DragDropAcceptIdPrev" +defs["structs"]["ImGuiContext"][159]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][160] = {} -defs["structs"]["ImGuiContext"][160]["name"] = "CurrentTable" -defs["structs"]["ImGuiContext"][160]["type"] = "ImGuiTable*" +defs["structs"]["ImGuiContext"][160]["name"] = "DragDropAcceptFrameCount" +defs["structs"]["ImGuiContext"][160]["type"] = "int" defs["structs"]["ImGuiContext"][161] = {} -defs["structs"]["ImGuiContext"][161]["name"] = "TablesTempDataStacked" -defs["structs"]["ImGuiContext"][161]["type"] = "int" +defs["structs"]["ImGuiContext"][161]["name"] = "DragDropHoldJustPressedId" +defs["structs"]["ImGuiContext"][161]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][162] = {} -defs["structs"]["ImGuiContext"][162]["name"] = "TablesTempData" -defs["structs"]["ImGuiContext"][162]["template_type"] = "ImGuiTableTempData" -defs["structs"]["ImGuiContext"][162]["type"] = "ImVector_ImGuiTableTempData" +defs["structs"]["ImGuiContext"][162]["name"] = "DragDropPayloadBufHeap" +defs["structs"]["ImGuiContext"][162]["template_type"] = "unsigned char" +defs["structs"]["ImGuiContext"][162]["type"] = "ImVector_unsigned_char" defs["structs"]["ImGuiContext"][163] = {} -defs["structs"]["ImGuiContext"][163]["name"] = "Tables" -defs["structs"]["ImGuiContext"][163]["template_type"] = "ImGuiTable" -defs["structs"]["ImGuiContext"][163]["type"] = "ImPool_ImGuiTable" +defs["structs"]["ImGuiContext"][163]["name"] = "DragDropPayloadBufLocal[16]" +defs["structs"]["ImGuiContext"][163]["size"] = 16 +defs["structs"]["ImGuiContext"][163]["type"] = "unsigned char" defs["structs"]["ImGuiContext"][164] = {} -defs["structs"]["ImGuiContext"][164]["name"] = "TablesLastTimeActive" -defs["structs"]["ImGuiContext"][164]["template_type"] = "float" -defs["structs"]["ImGuiContext"][164]["type"] = "ImVector_float" +defs["structs"]["ImGuiContext"][164]["name"] = "ClipperTempDataStacked" +defs["structs"]["ImGuiContext"][164]["type"] = "int" defs["structs"]["ImGuiContext"][165] = {} -defs["structs"]["ImGuiContext"][165]["name"] = "DrawChannelsTempMergeBuffer" -defs["structs"]["ImGuiContext"][165]["template_type"] = "ImDrawChannel" -defs["structs"]["ImGuiContext"][165]["type"] = "ImVector_ImDrawChannel" +defs["structs"]["ImGuiContext"][165]["name"] = "ClipperTempData" +defs["structs"]["ImGuiContext"][165]["template_type"] = "ImGuiListClipperData" +defs["structs"]["ImGuiContext"][165]["type"] = "ImVector_ImGuiListClipperData" defs["structs"]["ImGuiContext"][166] = {} -defs["structs"]["ImGuiContext"][166]["name"] = "CurrentTabBar" -defs["structs"]["ImGuiContext"][166]["type"] = "ImGuiTabBar*" +defs["structs"]["ImGuiContext"][166]["name"] = "CurrentTable" +defs["structs"]["ImGuiContext"][166]["type"] = "ImGuiTable*" defs["structs"]["ImGuiContext"][167] = {} -defs["structs"]["ImGuiContext"][167]["name"] = "TabBars" -defs["structs"]["ImGuiContext"][167]["template_type"] = "ImGuiTabBar" -defs["structs"]["ImGuiContext"][167]["type"] = "ImPool_ImGuiTabBar" +defs["structs"]["ImGuiContext"][167]["name"] = "TablesTempDataStacked" +defs["structs"]["ImGuiContext"][167]["type"] = "int" defs["structs"]["ImGuiContext"][168] = {} -defs["structs"]["ImGuiContext"][168]["name"] = "CurrentTabBarStack" -defs["structs"]["ImGuiContext"][168]["template_type"] = "ImGuiPtrOrIndex" -defs["structs"]["ImGuiContext"][168]["type"] = "ImVector_ImGuiPtrOrIndex" +defs["structs"]["ImGuiContext"][168]["name"] = "TablesTempData" +defs["structs"]["ImGuiContext"][168]["template_type"] = "ImGuiTableTempData" +defs["structs"]["ImGuiContext"][168]["type"] = "ImVector_ImGuiTableTempData" defs["structs"]["ImGuiContext"][169] = {} -defs["structs"]["ImGuiContext"][169]["name"] = "ShrinkWidthBuffer" -defs["structs"]["ImGuiContext"][169]["template_type"] = "ImGuiShrinkWidthItem" -defs["structs"]["ImGuiContext"][169]["type"] = "ImVector_ImGuiShrinkWidthItem" +defs["structs"]["ImGuiContext"][169]["name"] = "Tables" +defs["structs"]["ImGuiContext"][169]["template_type"] = "ImGuiTable" +defs["structs"]["ImGuiContext"][169]["type"] = "ImPool_ImGuiTable" defs["structs"]["ImGuiContext"][170] = {} -defs["structs"]["ImGuiContext"][170]["name"] = "MouseLastValidPos" -defs["structs"]["ImGuiContext"][170]["type"] = "ImVec2" +defs["structs"]["ImGuiContext"][170]["name"] = "TablesLastTimeActive" +defs["structs"]["ImGuiContext"][170]["template_type"] = "float" +defs["structs"]["ImGuiContext"][170]["type"] = "ImVector_float" defs["structs"]["ImGuiContext"][171] = {} -defs["structs"]["ImGuiContext"][171]["name"] = "InputTextState" -defs["structs"]["ImGuiContext"][171]["type"] = "ImGuiInputTextState" +defs["structs"]["ImGuiContext"][171]["name"] = "DrawChannelsTempMergeBuffer" +defs["structs"]["ImGuiContext"][171]["template_type"] = "ImDrawChannel" +defs["structs"]["ImGuiContext"][171]["type"] = "ImVector_ImDrawChannel" defs["structs"]["ImGuiContext"][172] = {} -defs["structs"]["ImGuiContext"][172]["name"] = "InputTextPasswordFont" -defs["structs"]["ImGuiContext"][172]["type"] = "ImFont" +defs["structs"]["ImGuiContext"][172]["name"] = "CurrentTabBar" +defs["structs"]["ImGuiContext"][172]["type"] = "ImGuiTabBar*" defs["structs"]["ImGuiContext"][173] = {} -defs["structs"]["ImGuiContext"][173]["name"] = "TempInputId" -defs["structs"]["ImGuiContext"][173]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][173]["name"] = "TabBars" +defs["structs"]["ImGuiContext"][173]["template_type"] = "ImGuiTabBar" +defs["structs"]["ImGuiContext"][173]["type"] = "ImPool_ImGuiTabBar" defs["structs"]["ImGuiContext"][174] = {} -defs["structs"]["ImGuiContext"][174]["name"] = "ColorEditOptions" -defs["structs"]["ImGuiContext"][174]["type"] = "ImGuiColorEditFlags" +defs["structs"]["ImGuiContext"][174]["name"] = "CurrentTabBarStack" +defs["structs"]["ImGuiContext"][174]["template_type"] = "ImGuiPtrOrIndex" +defs["structs"]["ImGuiContext"][174]["type"] = "ImVector_ImGuiPtrOrIndex" defs["structs"]["ImGuiContext"][175] = {} -defs["structs"]["ImGuiContext"][175]["name"] = "ColorEditLastHue" -defs["structs"]["ImGuiContext"][175]["type"] = "float" +defs["structs"]["ImGuiContext"][175]["name"] = "ShrinkWidthBuffer" +defs["structs"]["ImGuiContext"][175]["template_type"] = "ImGuiShrinkWidthItem" +defs["structs"]["ImGuiContext"][175]["type"] = "ImVector_ImGuiShrinkWidthItem" defs["structs"]["ImGuiContext"][176] = {} -defs["structs"]["ImGuiContext"][176]["name"] = "ColorEditLastSat" -defs["structs"]["ImGuiContext"][176]["type"] = "float" +defs["structs"]["ImGuiContext"][176]["name"] = "HoverDelayId" +defs["structs"]["ImGuiContext"][176]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][177] = {} -defs["structs"]["ImGuiContext"][177]["name"] = "ColorEditLastColor" -defs["structs"]["ImGuiContext"][177]["type"] = "ImU32" +defs["structs"]["ImGuiContext"][177]["name"] = "HoverDelayIdPreviousFrame" +defs["structs"]["ImGuiContext"][177]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][178] = {} -defs["structs"]["ImGuiContext"][178]["name"] = "ColorPickerRef" -defs["structs"]["ImGuiContext"][178]["type"] = "ImVec4" +defs["structs"]["ImGuiContext"][178]["name"] = "HoverDelayTimer" +defs["structs"]["ImGuiContext"][178]["type"] = "float" defs["structs"]["ImGuiContext"][179] = {} -defs["structs"]["ImGuiContext"][179]["name"] = "ComboPreviewData" -defs["structs"]["ImGuiContext"][179]["type"] = "ImGuiComboPreviewData" +defs["structs"]["ImGuiContext"][179]["name"] = "HoverDelayClearTimer" +defs["structs"]["ImGuiContext"][179]["type"] = "float" defs["structs"]["ImGuiContext"][180] = {} -defs["structs"]["ImGuiContext"][180]["name"] = "SliderCurrentAccum" -defs["structs"]["ImGuiContext"][180]["type"] = "float" +defs["structs"]["ImGuiContext"][180]["name"] = "MouseLastValidPos" +defs["structs"]["ImGuiContext"][180]["type"] = "ImVec2" defs["structs"]["ImGuiContext"][181] = {} -defs["structs"]["ImGuiContext"][181]["name"] = "SliderCurrentAccumDirty" -defs["structs"]["ImGuiContext"][181]["type"] = "bool" +defs["structs"]["ImGuiContext"][181]["name"] = "InputTextState" +defs["structs"]["ImGuiContext"][181]["type"] = "ImGuiInputTextState" defs["structs"]["ImGuiContext"][182] = {} -defs["structs"]["ImGuiContext"][182]["name"] = "DragCurrentAccumDirty" -defs["structs"]["ImGuiContext"][182]["type"] = "bool" +defs["structs"]["ImGuiContext"][182]["name"] = "InputTextPasswordFont" +defs["structs"]["ImGuiContext"][182]["type"] = "ImFont" defs["structs"]["ImGuiContext"][183] = {} -defs["structs"]["ImGuiContext"][183]["name"] = "DragCurrentAccum" -defs["structs"]["ImGuiContext"][183]["type"] = "float" +defs["structs"]["ImGuiContext"][183]["name"] = "TempInputId" +defs["structs"]["ImGuiContext"][183]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][184] = {} -defs["structs"]["ImGuiContext"][184]["name"] = "DragSpeedDefaultRatio" -defs["structs"]["ImGuiContext"][184]["type"] = "float" +defs["structs"]["ImGuiContext"][184]["name"] = "ColorEditOptions" +defs["structs"]["ImGuiContext"][184]["type"] = "ImGuiColorEditFlags" defs["structs"]["ImGuiContext"][185] = {} -defs["structs"]["ImGuiContext"][185]["name"] = "ScrollbarClickDeltaToGrabCenter" +defs["structs"]["ImGuiContext"][185]["name"] = "ColorEditLastHue" defs["structs"]["ImGuiContext"][185]["type"] = "float" defs["structs"]["ImGuiContext"][186] = {} -defs["structs"]["ImGuiContext"][186]["name"] = "DisabledAlphaBackup" +defs["structs"]["ImGuiContext"][186]["name"] = "ColorEditLastSat" defs["structs"]["ImGuiContext"][186]["type"] = "float" defs["structs"]["ImGuiContext"][187] = {} -defs["structs"]["ImGuiContext"][187]["name"] = "DisabledStackSize" -defs["structs"]["ImGuiContext"][187]["type"] = "short" +defs["structs"]["ImGuiContext"][187]["name"] = "ColorEditLastColor" +defs["structs"]["ImGuiContext"][187]["type"] = "ImU32" defs["structs"]["ImGuiContext"][188] = {} -defs["structs"]["ImGuiContext"][188]["name"] = "TooltipOverrideCount" -defs["structs"]["ImGuiContext"][188]["type"] = "short" +defs["structs"]["ImGuiContext"][188]["name"] = "ColorPickerRef" +defs["structs"]["ImGuiContext"][188]["type"] = "ImVec4" defs["structs"]["ImGuiContext"][189] = {} -defs["structs"]["ImGuiContext"][189]["name"] = "TooltipSlowDelay" -defs["structs"]["ImGuiContext"][189]["type"] = "float" +defs["structs"]["ImGuiContext"][189]["name"] = "ComboPreviewData" +defs["structs"]["ImGuiContext"][189]["type"] = "ImGuiComboPreviewData" defs["structs"]["ImGuiContext"][190] = {} -defs["structs"]["ImGuiContext"][190]["name"] = "ClipboardHandlerData" -defs["structs"]["ImGuiContext"][190]["template_type"] = "char" -defs["structs"]["ImGuiContext"][190]["type"] = "ImVector_char" +defs["structs"]["ImGuiContext"][190]["name"] = "SliderGrabClickOffset" +defs["structs"]["ImGuiContext"][190]["type"] = "float" defs["structs"]["ImGuiContext"][191] = {} -defs["structs"]["ImGuiContext"][191]["name"] = "MenusIdSubmittedThisFrame" -defs["structs"]["ImGuiContext"][191]["template_type"] = "ImGuiID" -defs["structs"]["ImGuiContext"][191]["type"] = "ImVector_ImGuiID" +defs["structs"]["ImGuiContext"][191]["name"] = "SliderCurrentAccum" +defs["structs"]["ImGuiContext"][191]["type"] = "float" defs["structs"]["ImGuiContext"][192] = {} -defs["structs"]["ImGuiContext"][192]["name"] = "PlatformImePos" -defs["structs"]["ImGuiContext"][192]["type"] = "ImVec2" +defs["structs"]["ImGuiContext"][192]["name"] = "SliderCurrentAccumDirty" +defs["structs"]["ImGuiContext"][192]["type"] = "bool" defs["structs"]["ImGuiContext"][193] = {} -defs["structs"]["ImGuiContext"][193]["name"] = "PlatformImeLastPos" -defs["structs"]["ImGuiContext"][193]["type"] = "ImVec2" +defs["structs"]["ImGuiContext"][193]["name"] = "DragCurrentAccumDirty" +defs["structs"]["ImGuiContext"][193]["type"] = "bool" defs["structs"]["ImGuiContext"][194] = {} -defs["structs"]["ImGuiContext"][194]["name"] = "PlatformImePosViewport" -defs["structs"]["ImGuiContext"][194]["type"] = "ImGuiViewportP*" +defs["structs"]["ImGuiContext"][194]["name"] = "DragCurrentAccum" +defs["structs"]["ImGuiContext"][194]["type"] = "float" defs["structs"]["ImGuiContext"][195] = {} -defs["structs"]["ImGuiContext"][195]["name"] = "PlatformLocaleDecimalPoint" -defs["structs"]["ImGuiContext"][195]["type"] = "char" +defs["structs"]["ImGuiContext"][195]["name"] = "DragSpeedDefaultRatio" +defs["structs"]["ImGuiContext"][195]["type"] = "float" defs["structs"]["ImGuiContext"][196] = {} -defs["structs"]["ImGuiContext"][196]["name"] = "DockContext" -defs["structs"]["ImGuiContext"][196]["type"] = "ImGuiDockContext" +defs["structs"]["ImGuiContext"][196]["name"] = "ScrollbarClickDeltaToGrabCenter" +defs["structs"]["ImGuiContext"][196]["type"] = "float" defs["structs"]["ImGuiContext"][197] = {} -defs["structs"]["ImGuiContext"][197]["name"] = "SettingsLoaded" -defs["structs"]["ImGuiContext"][197]["type"] = "bool" +defs["structs"]["ImGuiContext"][197]["name"] = "DisabledAlphaBackup" +defs["structs"]["ImGuiContext"][197]["type"] = "float" defs["structs"]["ImGuiContext"][198] = {} -defs["structs"]["ImGuiContext"][198]["name"] = "SettingsDirtyTimer" -defs["structs"]["ImGuiContext"][198]["type"] = "float" +defs["structs"]["ImGuiContext"][198]["name"] = "DisabledStackSize" +defs["structs"]["ImGuiContext"][198]["type"] = "short" defs["structs"]["ImGuiContext"][199] = {} -defs["structs"]["ImGuiContext"][199]["name"] = "SettingsIniData" -defs["structs"]["ImGuiContext"][199]["type"] = "ImGuiTextBuffer" +defs["structs"]["ImGuiContext"][199]["name"] = "TooltipOverrideCount" +defs["structs"]["ImGuiContext"][199]["type"] = "short" defs["structs"]["ImGuiContext"][200] = {} -defs["structs"]["ImGuiContext"][200]["name"] = "SettingsHandlers" -defs["structs"]["ImGuiContext"][200]["template_type"] = "ImGuiSettingsHandler" -defs["structs"]["ImGuiContext"][200]["type"] = "ImVector_ImGuiSettingsHandler" +defs["structs"]["ImGuiContext"][200]["name"] = "ClipboardHandlerData" +defs["structs"]["ImGuiContext"][200]["template_type"] = "char" +defs["structs"]["ImGuiContext"][200]["type"] = "ImVector_char" defs["structs"]["ImGuiContext"][201] = {} -defs["structs"]["ImGuiContext"][201]["name"] = "SettingsWindows" -defs["structs"]["ImGuiContext"][201]["template_type"] = "ImGuiWindowSettings" -defs["structs"]["ImGuiContext"][201]["type"] = "ImChunkStream_ImGuiWindowSettings" +defs["structs"]["ImGuiContext"][201]["name"] = "MenusIdSubmittedThisFrame" +defs["structs"]["ImGuiContext"][201]["template_type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][201]["type"] = "ImVector_ImGuiID" defs["structs"]["ImGuiContext"][202] = {} -defs["structs"]["ImGuiContext"][202]["name"] = "SettingsTables" -defs["structs"]["ImGuiContext"][202]["template_type"] = "ImGuiTableSettings" -defs["structs"]["ImGuiContext"][202]["type"] = "ImChunkStream_ImGuiTableSettings" +defs["structs"]["ImGuiContext"][202]["name"] = "PlatformImeData" +defs["structs"]["ImGuiContext"][202]["type"] = "ImGuiPlatformImeData" defs["structs"]["ImGuiContext"][203] = {} -defs["structs"]["ImGuiContext"][203]["name"] = "Hooks" -defs["structs"]["ImGuiContext"][203]["template_type"] = "ImGuiContextHook" -defs["structs"]["ImGuiContext"][203]["type"] = "ImVector_ImGuiContextHook" +defs["structs"]["ImGuiContext"][203]["name"] = "PlatformImeDataPrev" +defs["structs"]["ImGuiContext"][203]["type"] = "ImGuiPlatformImeData" defs["structs"]["ImGuiContext"][204] = {} -defs["structs"]["ImGuiContext"][204]["name"] = "HookIdNext" +defs["structs"]["ImGuiContext"][204]["name"] = "PlatformImeViewport" defs["structs"]["ImGuiContext"][204]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][205] = {} -defs["structs"]["ImGuiContext"][205]["name"] = "LogEnabled" -defs["structs"]["ImGuiContext"][205]["type"] = "bool" +defs["structs"]["ImGuiContext"][205]["name"] = "PlatformLocaleDecimalPoint" +defs["structs"]["ImGuiContext"][205]["type"] = "char" defs["structs"]["ImGuiContext"][206] = {} -defs["structs"]["ImGuiContext"][206]["name"] = "LogType" -defs["structs"]["ImGuiContext"][206]["type"] = "ImGuiLogType" +defs["structs"]["ImGuiContext"][206]["name"] = "DockContext" +defs["structs"]["ImGuiContext"][206]["type"] = "ImGuiDockContext" defs["structs"]["ImGuiContext"][207] = {} -defs["structs"]["ImGuiContext"][207]["name"] = "LogFile" -defs["structs"]["ImGuiContext"][207]["type"] = "ImFileHandle" +defs["structs"]["ImGuiContext"][207]["name"] = "SettingsLoaded" +defs["structs"]["ImGuiContext"][207]["type"] = "bool" defs["structs"]["ImGuiContext"][208] = {} -defs["structs"]["ImGuiContext"][208]["name"] = "LogBuffer" -defs["structs"]["ImGuiContext"][208]["type"] = "ImGuiTextBuffer" +defs["structs"]["ImGuiContext"][208]["name"] = "SettingsDirtyTimer" +defs["structs"]["ImGuiContext"][208]["type"] = "float" defs["structs"]["ImGuiContext"][209] = {} -defs["structs"]["ImGuiContext"][209]["name"] = "LogNextPrefix" -defs["structs"]["ImGuiContext"][209]["type"] = "const char*" +defs["structs"]["ImGuiContext"][209]["name"] = "SettingsIniData" +defs["structs"]["ImGuiContext"][209]["type"] = "ImGuiTextBuffer" defs["structs"]["ImGuiContext"][210] = {} -defs["structs"]["ImGuiContext"][210]["name"] = "LogNextSuffix" -defs["structs"]["ImGuiContext"][210]["type"] = "const char*" +defs["structs"]["ImGuiContext"][210]["name"] = "SettingsHandlers" +defs["structs"]["ImGuiContext"][210]["template_type"] = "ImGuiSettingsHandler" +defs["structs"]["ImGuiContext"][210]["type"] = "ImVector_ImGuiSettingsHandler" defs["structs"]["ImGuiContext"][211] = {} -defs["structs"]["ImGuiContext"][211]["name"] = "LogLinePosY" -defs["structs"]["ImGuiContext"][211]["type"] = "float" +defs["structs"]["ImGuiContext"][211]["name"] = "SettingsWindows" +defs["structs"]["ImGuiContext"][211]["template_type"] = "ImGuiWindowSettings" +defs["structs"]["ImGuiContext"][211]["type"] = "ImChunkStream_ImGuiWindowSettings" defs["structs"]["ImGuiContext"][212] = {} -defs["structs"]["ImGuiContext"][212]["name"] = "LogLineFirstItem" -defs["structs"]["ImGuiContext"][212]["type"] = "bool" +defs["structs"]["ImGuiContext"][212]["name"] = "SettingsTables" +defs["structs"]["ImGuiContext"][212]["template_type"] = "ImGuiTableSettings" +defs["structs"]["ImGuiContext"][212]["type"] = "ImChunkStream_ImGuiTableSettings" defs["structs"]["ImGuiContext"][213] = {} -defs["structs"]["ImGuiContext"][213]["name"] = "LogDepthRef" -defs["structs"]["ImGuiContext"][213]["type"] = "int" +defs["structs"]["ImGuiContext"][213]["name"] = "Hooks" +defs["structs"]["ImGuiContext"][213]["template_type"] = "ImGuiContextHook" +defs["structs"]["ImGuiContext"][213]["type"] = "ImVector_ImGuiContextHook" defs["structs"]["ImGuiContext"][214] = {} -defs["structs"]["ImGuiContext"][214]["name"] = "LogDepthToExpand" -defs["structs"]["ImGuiContext"][214]["type"] = "int" +defs["structs"]["ImGuiContext"][214]["name"] = "HookIdNext" +defs["structs"]["ImGuiContext"][214]["type"] = "ImGuiID" defs["structs"]["ImGuiContext"][215] = {} -defs["structs"]["ImGuiContext"][215]["name"] = "LogDepthToExpandDefault" -defs["structs"]["ImGuiContext"][215]["type"] = "int" +defs["structs"]["ImGuiContext"][215]["name"] = "LocalizationTable[ImGuiLocKey_COUNT]" +defs["structs"]["ImGuiContext"][215]["size"] = 8 +defs["structs"]["ImGuiContext"][215]["type"] = "const char*" defs["structs"]["ImGuiContext"][216] = {} -defs["structs"]["ImGuiContext"][216]["name"] = "DebugItemPickerActive" +defs["structs"]["ImGuiContext"][216]["name"] = "LogEnabled" defs["structs"]["ImGuiContext"][216]["type"] = "bool" defs["structs"]["ImGuiContext"][217] = {} -defs["structs"]["ImGuiContext"][217]["name"] = "DebugItemPickerBreakId" -defs["structs"]["ImGuiContext"][217]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][217]["name"] = "LogType" +defs["structs"]["ImGuiContext"][217]["type"] = "ImGuiLogType" defs["structs"]["ImGuiContext"][218] = {} -defs["structs"]["ImGuiContext"][218]["name"] = "DebugMetricsConfig" -defs["structs"]["ImGuiContext"][218]["type"] = "ImGuiMetricsConfig" +defs["structs"]["ImGuiContext"][218]["name"] = "LogFile" +defs["structs"]["ImGuiContext"][218]["type"] = "ImFileHandle" defs["structs"]["ImGuiContext"][219] = {} -defs["structs"]["ImGuiContext"][219]["name"] = "DebugStackTool" -defs["structs"]["ImGuiContext"][219]["type"] = "ImGuiStackTool" +defs["structs"]["ImGuiContext"][219]["name"] = "LogBuffer" +defs["structs"]["ImGuiContext"][219]["type"] = "ImGuiTextBuffer" defs["structs"]["ImGuiContext"][220] = {} -defs["structs"]["ImGuiContext"][220]["name"] = "FramerateSecPerFrame[120]" -defs["structs"]["ImGuiContext"][220]["size"] = 120 -defs["structs"]["ImGuiContext"][220]["type"] = "float" +defs["structs"]["ImGuiContext"][220]["name"] = "LogNextPrefix" +defs["structs"]["ImGuiContext"][220]["type"] = "const char*" defs["structs"]["ImGuiContext"][221] = {} -defs["structs"]["ImGuiContext"][221]["name"] = "FramerateSecPerFrameIdx" -defs["structs"]["ImGuiContext"][221]["type"] = "int" +defs["structs"]["ImGuiContext"][221]["name"] = "LogNextSuffix" +defs["structs"]["ImGuiContext"][221]["type"] = "const char*" defs["structs"]["ImGuiContext"][222] = {} -defs["structs"]["ImGuiContext"][222]["name"] = "FramerateSecPerFrameCount" -defs["structs"]["ImGuiContext"][222]["type"] = "int" +defs["structs"]["ImGuiContext"][222]["name"] = "LogLinePosY" +defs["structs"]["ImGuiContext"][222]["type"] = "float" defs["structs"]["ImGuiContext"][223] = {} -defs["structs"]["ImGuiContext"][223]["name"] = "FramerateSecPerFrameAccum" -defs["structs"]["ImGuiContext"][223]["type"] = "float" +defs["structs"]["ImGuiContext"][223]["name"] = "LogLineFirstItem" +defs["structs"]["ImGuiContext"][223]["type"] = "bool" defs["structs"]["ImGuiContext"][224] = {} -defs["structs"]["ImGuiContext"][224]["name"] = "WantCaptureMouseNextFrame" +defs["structs"]["ImGuiContext"][224]["name"] = "LogDepthRef" defs["structs"]["ImGuiContext"][224]["type"] = "int" defs["structs"]["ImGuiContext"][225] = {} -defs["structs"]["ImGuiContext"][225]["name"] = "WantCaptureKeyboardNextFrame" +defs["structs"]["ImGuiContext"][225]["name"] = "LogDepthToExpand" defs["structs"]["ImGuiContext"][225]["type"] = "int" defs["structs"]["ImGuiContext"][226] = {} -defs["structs"]["ImGuiContext"][226]["name"] = "WantTextInputNextFrame" +defs["structs"]["ImGuiContext"][226]["name"] = "LogDepthToExpandDefault" defs["structs"]["ImGuiContext"][226]["type"] = "int" defs["structs"]["ImGuiContext"][227] = {} -defs["structs"]["ImGuiContext"][227]["name"] = "TempBuffer[1024*3+1]" -defs["structs"]["ImGuiContext"][227]["size"] = 3073 -defs["structs"]["ImGuiContext"][227]["type"] = "char" +defs["structs"]["ImGuiContext"][227]["name"] = "DebugLogFlags" +defs["structs"]["ImGuiContext"][227]["type"] = "ImGuiDebugLogFlags" +defs["structs"]["ImGuiContext"][228] = {} +defs["structs"]["ImGuiContext"][228]["name"] = "DebugLogBuf" +defs["structs"]["ImGuiContext"][228]["type"] = "ImGuiTextBuffer" +defs["structs"]["ImGuiContext"][229] = {} +defs["structs"]["ImGuiContext"][229]["name"] = "DebugLogIndex" +defs["structs"]["ImGuiContext"][229]["type"] = "ImGuiTextIndex" +defs["structs"]["ImGuiContext"][230] = {} +defs["structs"]["ImGuiContext"][230]["name"] = "DebugLocateFrames" +defs["structs"]["ImGuiContext"][230]["type"] = "ImU8" +defs["structs"]["ImGuiContext"][231] = {} +defs["structs"]["ImGuiContext"][231]["name"] = "DebugItemPickerActive" +defs["structs"]["ImGuiContext"][231]["type"] = "bool" +defs["structs"]["ImGuiContext"][232] = {} +defs["structs"]["ImGuiContext"][232]["name"] = "DebugItemPickerMouseButton" +defs["structs"]["ImGuiContext"][232]["type"] = "ImU8" +defs["structs"]["ImGuiContext"][233] = {} +defs["structs"]["ImGuiContext"][233]["name"] = "DebugItemPickerBreakId" +defs["structs"]["ImGuiContext"][233]["type"] = "ImGuiID" +defs["structs"]["ImGuiContext"][234] = {} +defs["structs"]["ImGuiContext"][234]["name"] = "DebugMetricsConfig" +defs["structs"]["ImGuiContext"][234]["type"] = "ImGuiMetricsConfig" +defs["structs"]["ImGuiContext"][235] = {} +defs["structs"]["ImGuiContext"][235]["name"] = "DebugStackTool" +defs["structs"]["ImGuiContext"][235]["type"] = "ImGuiStackTool" +defs["structs"]["ImGuiContext"][236] = {} +defs["structs"]["ImGuiContext"][236]["name"] = "DebugHoveredDockNode" +defs["structs"]["ImGuiContext"][236]["type"] = "ImGuiDockNode*" +defs["structs"]["ImGuiContext"][237] = {} +defs["structs"]["ImGuiContext"][237]["name"] = "FramerateSecPerFrame[60]" +defs["structs"]["ImGuiContext"][237]["size"] = 60 +defs["structs"]["ImGuiContext"][237]["type"] = "float" +defs["structs"]["ImGuiContext"][238] = {} +defs["structs"]["ImGuiContext"][238]["name"] = "FramerateSecPerFrameIdx" +defs["structs"]["ImGuiContext"][238]["type"] = "int" +defs["structs"]["ImGuiContext"][239] = {} +defs["structs"]["ImGuiContext"][239]["name"] = "FramerateSecPerFrameCount" +defs["structs"]["ImGuiContext"][239]["type"] = "int" +defs["structs"]["ImGuiContext"][240] = {} +defs["structs"]["ImGuiContext"][240]["name"] = "FramerateSecPerFrameAccum" +defs["structs"]["ImGuiContext"][240]["type"] = "float" +defs["structs"]["ImGuiContext"][241] = {} +defs["structs"]["ImGuiContext"][241]["name"] = "WantCaptureMouseNextFrame" +defs["structs"]["ImGuiContext"][241]["type"] = "int" +defs["structs"]["ImGuiContext"][242] = {} +defs["structs"]["ImGuiContext"][242]["name"] = "WantCaptureKeyboardNextFrame" +defs["structs"]["ImGuiContext"][242]["type"] = "int" +defs["structs"]["ImGuiContext"][243] = {} +defs["structs"]["ImGuiContext"][243]["name"] = "WantTextInputNextFrame" +defs["structs"]["ImGuiContext"][243]["type"] = "int" +defs["structs"]["ImGuiContext"][244] = {} +defs["structs"]["ImGuiContext"][244]["name"] = "TempBuffer" +defs["structs"]["ImGuiContext"][244]["template_type"] = "char" +defs["structs"]["ImGuiContext"][244]["type"] = "ImVector_char" defs["structs"]["ImGuiContextHook"] = {} defs["structs"]["ImGuiContextHook"][1] = {} defs["structs"]["ImGuiContextHook"][1]["name"] = "HookId" @@ -4455,273 +5226,341 @@ defs["structs"]["ImGuiIO"][10] = {} defs["structs"]["ImGuiIO"][10]["name"] = "MouseDragThreshold" defs["structs"]["ImGuiIO"][10]["type"] = "float" defs["structs"]["ImGuiIO"][11] = {} -defs["structs"]["ImGuiIO"][11]["name"] = "KeyMap[ImGuiKey_COUNT]" -defs["structs"]["ImGuiIO"][11]["size"] = 22 -defs["structs"]["ImGuiIO"][11]["type"] = "int" +defs["structs"]["ImGuiIO"][11]["name"] = "KeyRepeatDelay" +defs["structs"]["ImGuiIO"][11]["type"] = "float" defs["structs"]["ImGuiIO"][12] = {} -defs["structs"]["ImGuiIO"][12]["name"] = "KeyRepeatDelay" +defs["structs"]["ImGuiIO"][12]["name"] = "KeyRepeatRate" defs["structs"]["ImGuiIO"][12]["type"] = "float" defs["structs"]["ImGuiIO"][13] = {} -defs["structs"]["ImGuiIO"][13]["name"] = "KeyRepeatRate" +defs["structs"]["ImGuiIO"][13]["name"] = "HoverDelayNormal" defs["structs"]["ImGuiIO"][13]["type"] = "float" defs["structs"]["ImGuiIO"][14] = {} -defs["structs"]["ImGuiIO"][14]["name"] = "UserData" -defs["structs"]["ImGuiIO"][14]["type"] = "void*" +defs["structs"]["ImGuiIO"][14]["name"] = "HoverDelayShort" +defs["structs"]["ImGuiIO"][14]["type"] = "float" defs["structs"]["ImGuiIO"][15] = {} -defs["structs"]["ImGuiIO"][15]["name"] = "Fonts" -defs["structs"]["ImGuiIO"][15]["type"] = "ImFontAtlas*" +defs["structs"]["ImGuiIO"][15]["name"] = "UserData" +defs["structs"]["ImGuiIO"][15]["type"] = "void*" defs["structs"]["ImGuiIO"][16] = {} -defs["structs"]["ImGuiIO"][16]["name"] = "FontGlobalScale" -defs["structs"]["ImGuiIO"][16]["type"] = "float" +defs["structs"]["ImGuiIO"][16]["name"] = "Fonts" +defs["structs"]["ImGuiIO"][16]["type"] = "ImFontAtlas*" defs["structs"]["ImGuiIO"][17] = {} -defs["structs"]["ImGuiIO"][17]["name"] = "FontAllowUserScaling" -defs["structs"]["ImGuiIO"][17]["type"] = "bool" +defs["structs"]["ImGuiIO"][17]["name"] = "FontGlobalScale" +defs["structs"]["ImGuiIO"][17]["type"] = "float" defs["structs"]["ImGuiIO"][18] = {} -defs["structs"]["ImGuiIO"][18]["name"] = "FontDefault" -defs["structs"]["ImGuiIO"][18]["type"] = "ImFont*" +defs["structs"]["ImGuiIO"][18]["name"] = "FontAllowUserScaling" +defs["structs"]["ImGuiIO"][18]["type"] = "bool" defs["structs"]["ImGuiIO"][19] = {} -defs["structs"]["ImGuiIO"][19]["name"] = "DisplayFramebufferScale" -defs["structs"]["ImGuiIO"][19]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][19]["name"] = "FontDefault" +defs["structs"]["ImGuiIO"][19]["type"] = "ImFont*" defs["structs"]["ImGuiIO"][20] = {} -defs["structs"]["ImGuiIO"][20]["name"] = "ConfigDockingNoSplit" -defs["structs"]["ImGuiIO"][20]["type"] = "bool" +defs["structs"]["ImGuiIO"][20]["name"] = "DisplayFramebufferScale" +defs["structs"]["ImGuiIO"][20]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][21] = {} -defs["structs"]["ImGuiIO"][21]["name"] = "ConfigDockingWithShift" +defs["structs"]["ImGuiIO"][21]["name"] = "ConfigDockingNoSplit" defs["structs"]["ImGuiIO"][21]["type"] = "bool" defs["structs"]["ImGuiIO"][22] = {} -defs["structs"]["ImGuiIO"][22]["name"] = "ConfigDockingAlwaysTabBar" +defs["structs"]["ImGuiIO"][22]["name"] = "ConfigDockingWithShift" defs["structs"]["ImGuiIO"][22]["type"] = "bool" defs["structs"]["ImGuiIO"][23] = {} -defs["structs"]["ImGuiIO"][23]["name"] = "ConfigDockingTransparentPayload" +defs["structs"]["ImGuiIO"][23]["name"] = "ConfigDockingAlwaysTabBar" defs["structs"]["ImGuiIO"][23]["type"] = "bool" defs["structs"]["ImGuiIO"][24] = {} -defs["structs"]["ImGuiIO"][24]["name"] = "ConfigViewportsNoAutoMerge" +defs["structs"]["ImGuiIO"][24]["name"] = "ConfigDockingTransparentPayload" defs["structs"]["ImGuiIO"][24]["type"] = "bool" defs["structs"]["ImGuiIO"][25] = {} -defs["structs"]["ImGuiIO"][25]["name"] = "ConfigViewportsNoTaskBarIcon" +defs["structs"]["ImGuiIO"][25]["name"] = "ConfigViewportsNoAutoMerge" defs["structs"]["ImGuiIO"][25]["type"] = "bool" defs["structs"]["ImGuiIO"][26] = {} -defs["structs"]["ImGuiIO"][26]["name"] = "ConfigViewportsNoDecoration" +defs["structs"]["ImGuiIO"][26]["name"] = "ConfigViewportsNoTaskBarIcon" defs["structs"]["ImGuiIO"][26]["type"] = "bool" defs["structs"]["ImGuiIO"][27] = {} -defs["structs"]["ImGuiIO"][27]["name"] = "ConfigViewportsNoDefaultParent" +defs["structs"]["ImGuiIO"][27]["name"] = "ConfigViewportsNoDecoration" defs["structs"]["ImGuiIO"][27]["type"] = "bool" defs["structs"]["ImGuiIO"][28] = {} -defs["structs"]["ImGuiIO"][28]["name"] = "MouseDrawCursor" +defs["structs"]["ImGuiIO"][28]["name"] = "ConfigViewportsNoDefaultParent" defs["structs"]["ImGuiIO"][28]["type"] = "bool" defs["structs"]["ImGuiIO"][29] = {} -defs["structs"]["ImGuiIO"][29]["name"] = "ConfigMacOSXBehaviors" +defs["structs"]["ImGuiIO"][29]["name"] = "MouseDrawCursor" defs["structs"]["ImGuiIO"][29]["type"] = "bool" defs["structs"]["ImGuiIO"][30] = {} -defs["structs"]["ImGuiIO"][30]["name"] = "ConfigInputTextCursorBlink" +defs["structs"]["ImGuiIO"][30]["name"] = "ConfigMacOSXBehaviors" defs["structs"]["ImGuiIO"][30]["type"] = "bool" defs["structs"]["ImGuiIO"][31] = {} -defs["structs"]["ImGuiIO"][31]["name"] = "ConfigDragClickToInputText" +defs["structs"]["ImGuiIO"][31]["name"] = "ConfigInputTrickleEventQueue" defs["structs"]["ImGuiIO"][31]["type"] = "bool" defs["structs"]["ImGuiIO"][32] = {} -defs["structs"]["ImGuiIO"][32]["name"] = "ConfigWindowsResizeFromEdges" +defs["structs"]["ImGuiIO"][32]["name"] = "ConfigInputTextCursorBlink" defs["structs"]["ImGuiIO"][32]["type"] = "bool" defs["structs"]["ImGuiIO"][33] = {} -defs["structs"]["ImGuiIO"][33]["name"] = "ConfigWindowsMoveFromTitleBarOnly" +defs["structs"]["ImGuiIO"][33]["name"] = "ConfigInputTextEnterKeepActive" defs["structs"]["ImGuiIO"][33]["type"] = "bool" defs["structs"]["ImGuiIO"][34] = {} -defs["structs"]["ImGuiIO"][34]["name"] = "ConfigMemoryCompactTimer" -defs["structs"]["ImGuiIO"][34]["type"] = "float" +defs["structs"]["ImGuiIO"][34]["name"] = "ConfigDragClickToInputText" +defs["structs"]["ImGuiIO"][34]["type"] = "bool" defs["structs"]["ImGuiIO"][35] = {} -defs["structs"]["ImGuiIO"][35]["name"] = "BackendPlatformName" -defs["structs"]["ImGuiIO"][35]["type"] = "const char*" +defs["structs"]["ImGuiIO"][35]["name"] = "ConfigWindowsResizeFromEdges" +defs["structs"]["ImGuiIO"][35]["type"] = "bool" defs["structs"]["ImGuiIO"][36] = {} -defs["structs"]["ImGuiIO"][36]["name"] = "BackendRendererName" -defs["structs"]["ImGuiIO"][36]["type"] = "const char*" +defs["structs"]["ImGuiIO"][36]["name"] = "ConfigWindowsMoveFromTitleBarOnly" +defs["structs"]["ImGuiIO"][36]["type"] = "bool" defs["structs"]["ImGuiIO"][37] = {} -defs["structs"]["ImGuiIO"][37]["name"] = "BackendPlatformUserData" -defs["structs"]["ImGuiIO"][37]["type"] = "void*" +defs["structs"]["ImGuiIO"][37]["name"] = "ConfigMemoryCompactTimer" +defs["structs"]["ImGuiIO"][37]["type"] = "float" defs["structs"]["ImGuiIO"][38] = {} -defs["structs"]["ImGuiIO"][38]["name"] = "BackendRendererUserData" -defs["structs"]["ImGuiIO"][38]["type"] = "void*" +defs["structs"]["ImGuiIO"][38]["name"] = "BackendPlatformName" +defs["structs"]["ImGuiIO"][38]["type"] = "const char*" defs["structs"]["ImGuiIO"][39] = {} -defs["structs"]["ImGuiIO"][39]["name"] = "BackendLanguageUserData" -defs["structs"]["ImGuiIO"][39]["type"] = "void*" +defs["structs"]["ImGuiIO"][39]["name"] = "BackendRendererName" +defs["structs"]["ImGuiIO"][39]["type"] = "const char*" defs["structs"]["ImGuiIO"][40] = {} -defs["structs"]["ImGuiIO"][40]["name"] = "GetClipboardTextFn" -defs["structs"]["ImGuiIO"][40]["type"] = "const char*(*)(void* user_data)" +defs["structs"]["ImGuiIO"][40]["name"] = "BackendPlatformUserData" +defs["structs"]["ImGuiIO"][40]["type"] = "void*" defs["structs"]["ImGuiIO"][41] = {} -defs["structs"]["ImGuiIO"][41]["name"] = "SetClipboardTextFn" -defs["structs"]["ImGuiIO"][41]["type"] = "void(*)(void* user_data,const char* text)" +defs["structs"]["ImGuiIO"][41]["name"] = "BackendRendererUserData" +defs["structs"]["ImGuiIO"][41]["type"] = "void*" defs["structs"]["ImGuiIO"][42] = {} -defs["structs"]["ImGuiIO"][42]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][42]["name"] = "BackendLanguageUserData" defs["structs"]["ImGuiIO"][42]["type"] = "void*" defs["structs"]["ImGuiIO"][43] = {} -defs["structs"]["ImGuiIO"][43]["name"] = "MousePos" -defs["structs"]["ImGuiIO"][43]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][43]["name"] = "GetClipboardTextFn" +defs["structs"]["ImGuiIO"][43]["type"] = "const char*(*)(void* user_data)" defs["structs"]["ImGuiIO"][44] = {} -defs["structs"]["ImGuiIO"][44]["name"] = "MouseDown[5]" -defs["structs"]["ImGuiIO"][44]["size"] = 5 -defs["structs"]["ImGuiIO"][44]["type"] = "bool" +defs["structs"]["ImGuiIO"][44]["name"] = "SetClipboardTextFn" +defs["structs"]["ImGuiIO"][44]["type"] = "void(*)(void* user_data,const char* text)" defs["structs"]["ImGuiIO"][45] = {} -defs["structs"]["ImGuiIO"][45]["name"] = "MouseWheel" -defs["structs"]["ImGuiIO"][45]["type"] = "float" +defs["structs"]["ImGuiIO"][45]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][45]["type"] = "void*" defs["structs"]["ImGuiIO"][46] = {} -defs["structs"]["ImGuiIO"][46]["name"] = "MouseWheelH" -defs["structs"]["ImGuiIO"][46]["type"] = "float" +defs["structs"]["ImGuiIO"][46]["name"] = "SetPlatformImeDataFn" +defs["structs"]["ImGuiIO"][46]["type"] = "void(*)(ImGuiViewport* viewport,ImGuiPlatformImeData* data)" defs["structs"]["ImGuiIO"][47] = {} -defs["structs"]["ImGuiIO"][47]["name"] = "MouseHoveredViewport" -defs["structs"]["ImGuiIO"][47]["type"] = "ImGuiID" +defs["structs"]["ImGuiIO"][47]["name"] = "_UnusedPadding" +defs["structs"]["ImGuiIO"][47]["type"] = "void*" defs["structs"]["ImGuiIO"][48] = {} -defs["structs"]["ImGuiIO"][48]["name"] = "KeyCtrl" +defs["structs"]["ImGuiIO"][48]["name"] = "WantCaptureMouse" defs["structs"]["ImGuiIO"][48]["type"] = "bool" defs["structs"]["ImGuiIO"][49] = {} -defs["structs"]["ImGuiIO"][49]["name"] = "KeyShift" +defs["structs"]["ImGuiIO"][49]["name"] = "WantCaptureKeyboard" defs["structs"]["ImGuiIO"][49]["type"] = "bool" defs["structs"]["ImGuiIO"][50] = {} -defs["structs"]["ImGuiIO"][50]["name"] = "KeyAlt" +defs["structs"]["ImGuiIO"][50]["name"] = "WantTextInput" defs["structs"]["ImGuiIO"][50]["type"] = "bool" defs["structs"]["ImGuiIO"][51] = {} -defs["structs"]["ImGuiIO"][51]["name"] = "KeySuper" +defs["structs"]["ImGuiIO"][51]["name"] = "WantSetMousePos" defs["structs"]["ImGuiIO"][51]["type"] = "bool" defs["structs"]["ImGuiIO"][52] = {} -defs["structs"]["ImGuiIO"][52]["name"] = "KeysDown[512]" -defs["structs"]["ImGuiIO"][52]["size"] = 512 +defs["structs"]["ImGuiIO"][52]["name"] = "WantSaveIniSettings" defs["structs"]["ImGuiIO"][52]["type"] = "bool" defs["structs"]["ImGuiIO"][53] = {} -defs["structs"]["ImGuiIO"][53]["name"] = "NavInputs[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][53]["size"] = 20 -defs["structs"]["ImGuiIO"][53]["type"] = "float" +defs["structs"]["ImGuiIO"][53]["name"] = "NavActive" +defs["structs"]["ImGuiIO"][53]["type"] = "bool" defs["structs"]["ImGuiIO"][54] = {} -defs["structs"]["ImGuiIO"][54]["name"] = "WantCaptureMouse" +defs["structs"]["ImGuiIO"][54]["name"] = "NavVisible" defs["structs"]["ImGuiIO"][54]["type"] = "bool" defs["structs"]["ImGuiIO"][55] = {} -defs["structs"]["ImGuiIO"][55]["name"] = "WantCaptureKeyboard" -defs["structs"]["ImGuiIO"][55]["type"] = "bool" +defs["structs"]["ImGuiIO"][55]["name"] = "Framerate" +defs["structs"]["ImGuiIO"][55]["type"] = "float" defs["structs"]["ImGuiIO"][56] = {} -defs["structs"]["ImGuiIO"][56]["name"] = "WantTextInput" -defs["structs"]["ImGuiIO"][56]["type"] = "bool" +defs["structs"]["ImGuiIO"][56]["name"] = "MetricsRenderVertices" +defs["structs"]["ImGuiIO"][56]["type"] = "int" defs["structs"]["ImGuiIO"][57] = {} -defs["structs"]["ImGuiIO"][57]["name"] = "WantSetMousePos" -defs["structs"]["ImGuiIO"][57]["type"] = "bool" +defs["structs"]["ImGuiIO"][57]["name"] = "MetricsRenderIndices" +defs["structs"]["ImGuiIO"][57]["type"] = "int" defs["structs"]["ImGuiIO"][58] = {} -defs["structs"]["ImGuiIO"][58]["name"] = "WantSaveIniSettings" -defs["structs"]["ImGuiIO"][58]["type"] = "bool" +defs["structs"]["ImGuiIO"][58]["name"] = "MetricsRenderWindows" +defs["structs"]["ImGuiIO"][58]["type"] = "int" defs["structs"]["ImGuiIO"][59] = {} -defs["structs"]["ImGuiIO"][59]["name"] = "NavActive" -defs["structs"]["ImGuiIO"][59]["type"] = "bool" +defs["structs"]["ImGuiIO"][59]["name"] = "MetricsActiveWindows" +defs["structs"]["ImGuiIO"][59]["type"] = "int" defs["structs"]["ImGuiIO"][60] = {} -defs["structs"]["ImGuiIO"][60]["name"] = "NavVisible" -defs["structs"]["ImGuiIO"][60]["type"] = "bool" +defs["structs"]["ImGuiIO"][60]["name"] = "MetricsActiveAllocations" +defs["structs"]["ImGuiIO"][60]["type"] = "int" defs["structs"]["ImGuiIO"][61] = {} -defs["structs"]["ImGuiIO"][61]["name"] = "Framerate" -defs["structs"]["ImGuiIO"][61]["type"] = "float" +defs["structs"]["ImGuiIO"][61]["name"] = "MouseDelta" +defs["structs"]["ImGuiIO"][61]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][62] = {} -defs["structs"]["ImGuiIO"][62]["name"] = "MetricsRenderVertices" +defs["structs"]["ImGuiIO"][62]["name"] = "KeyMap[ImGuiKey_COUNT]" +defs["structs"]["ImGuiIO"][62]["size"] = 652 defs["structs"]["ImGuiIO"][62]["type"] = "int" defs["structs"]["ImGuiIO"][63] = {} -defs["structs"]["ImGuiIO"][63]["name"] = "MetricsRenderIndices" -defs["structs"]["ImGuiIO"][63]["type"] = "int" +defs["structs"]["ImGuiIO"][63]["name"] = "KeysDown[ImGuiKey_COUNT]" +defs["structs"]["ImGuiIO"][63]["size"] = 652 +defs["structs"]["ImGuiIO"][63]["type"] = "bool" defs["structs"]["ImGuiIO"][64] = {} -defs["structs"]["ImGuiIO"][64]["name"] = "MetricsRenderWindows" -defs["structs"]["ImGuiIO"][64]["type"] = "int" +defs["structs"]["ImGuiIO"][64]["name"] = "NavInputs[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][64]["size"] = 16 +defs["structs"]["ImGuiIO"][64]["type"] = "float" defs["structs"]["ImGuiIO"][65] = {} -defs["structs"]["ImGuiIO"][65]["name"] = "MetricsActiveWindows" -defs["structs"]["ImGuiIO"][65]["type"] = "int" +defs["structs"]["ImGuiIO"][65]["name"] = "MousePos" +defs["structs"]["ImGuiIO"][65]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][66] = {} -defs["structs"]["ImGuiIO"][66]["name"] = "MetricsActiveAllocations" -defs["structs"]["ImGuiIO"][66]["type"] = "int" +defs["structs"]["ImGuiIO"][66]["name"] = "MouseDown[5]" +defs["structs"]["ImGuiIO"][66]["size"] = 5 +defs["structs"]["ImGuiIO"][66]["type"] = "bool" defs["structs"]["ImGuiIO"][67] = {} -defs["structs"]["ImGuiIO"][67]["name"] = "MouseDelta" -defs["structs"]["ImGuiIO"][67]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][67]["name"] = "MouseWheel" +defs["structs"]["ImGuiIO"][67]["type"] = "float" defs["structs"]["ImGuiIO"][68] = {} -defs["structs"]["ImGuiIO"][68]["name"] = "WantCaptureMouseUnlessPopupClose" -defs["structs"]["ImGuiIO"][68]["type"] = "bool" +defs["structs"]["ImGuiIO"][68]["name"] = "MouseWheelH" +defs["structs"]["ImGuiIO"][68]["type"] = "float" defs["structs"]["ImGuiIO"][69] = {} -defs["structs"]["ImGuiIO"][69]["name"] = "KeyMods" -defs["structs"]["ImGuiIO"][69]["type"] = "ImGuiKeyModFlags" +defs["structs"]["ImGuiIO"][69]["name"] = "MouseHoveredViewport" +defs["structs"]["ImGuiIO"][69]["type"] = "ImGuiID" defs["structs"]["ImGuiIO"][70] = {} -defs["structs"]["ImGuiIO"][70]["name"] = "KeyModsPrev" -defs["structs"]["ImGuiIO"][70]["type"] = "ImGuiKeyModFlags" +defs["structs"]["ImGuiIO"][70]["name"] = "KeyCtrl" +defs["structs"]["ImGuiIO"][70]["type"] = "bool" defs["structs"]["ImGuiIO"][71] = {} -defs["structs"]["ImGuiIO"][71]["name"] = "MousePosPrev" -defs["structs"]["ImGuiIO"][71]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][71]["name"] = "KeyShift" +defs["structs"]["ImGuiIO"][71]["type"] = "bool" defs["structs"]["ImGuiIO"][72] = {} -defs["structs"]["ImGuiIO"][72]["name"] = "MouseClickedPos[5]" -defs["structs"]["ImGuiIO"][72]["size"] = 5 -defs["structs"]["ImGuiIO"][72]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][72]["name"] = "KeyAlt" +defs["structs"]["ImGuiIO"][72]["type"] = "bool" defs["structs"]["ImGuiIO"][73] = {} -defs["structs"]["ImGuiIO"][73]["name"] = "MouseClickedTime[5]" -defs["structs"]["ImGuiIO"][73]["size"] = 5 -defs["structs"]["ImGuiIO"][73]["type"] = "double" +defs["structs"]["ImGuiIO"][73]["name"] = "KeySuper" +defs["structs"]["ImGuiIO"][73]["type"] = "bool" defs["structs"]["ImGuiIO"][74] = {} -defs["structs"]["ImGuiIO"][74]["name"] = "MouseClicked[5]" -defs["structs"]["ImGuiIO"][74]["size"] = 5 -defs["structs"]["ImGuiIO"][74]["type"] = "bool" +defs["structs"]["ImGuiIO"][74]["name"] = "KeyMods" +defs["structs"]["ImGuiIO"][74]["type"] = "ImGuiKeyChord" defs["structs"]["ImGuiIO"][75] = {} -defs["structs"]["ImGuiIO"][75]["name"] = "MouseDoubleClicked[5]" -defs["structs"]["ImGuiIO"][75]["size"] = 5 -defs["structs"]["ImGuiIO"][75]["type"] = "bool" +defs["structs"]["ImGuiIO"][75]["name"] = "KeysData[ImGuiKey_KeysData_SIZE]" +defs["structs"]["ImGuiIO"][75]["size"] = 652 +defs["structs"]["ImGuiIO"][75]["type"] = "ImGuiKeyData" defs["structs"]["ImGuiIO"][76] = {} -defs["structs"]["ImGuiIO"][76]["name"] = "MouseClickedCount[5]" -defs["structs"]["ImGuiIO"][76]["size"] = 5 -defs["structs"]["ImGuiIO"][76]["type"] = "ImU16" +defs["structs"]["ImGuiIO"][76]["name"] = "WantCaptureMouseUnlessPopupClose" +defs["structs"]["ImGuiIO"][76]["type"] = "bool" defs["structs"]["ImGuiIO"][77] = {} -defs["structs"]["ImGuiIO"][77]["name"] = "MouseClickedLastCount[5]" -defs["structs"]["ImGuiIO"][77]["size"] = 5 -defs["structs"]["ImGuiIO"][77]["type"] = "ImU16" +defs["structs"]["ImGuiIO"][77]["name"] = "MousePosPrev" +defs["structs"]["ImGuiIO"][77]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][78] = {} -defs["structs"]["ImGuiIO"][78]["name"] = "MouseReleased[5]" +defs["structs"]["ImGuiIO"][78]["name"] = "MouseClickedPos[5]" defs["structs"]["ImGuiIO"][78]["size"] = 5 -defs["structs"]["ImGuiIO"][78]["type"] = "bool" +defs["structs"]["ImGuiIO"][78]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][79] = {} -defs["structs"]["ImGuiIO"][79]["name"] = "MouseDownOwned[5]" +defs["structs"]["ImGuiIO"][79]["name"] = "MouseClickedTime[5]" defs["structs"]["ImGuiIO"][79]["size"] = 5 -defs["structs"]["ImGuiIO"][79]["type"] = "bool" +defs["structs"]["ImGuiIO"][79]["type"] = "double" defs["structs"]["ImGuiIO"][80] = {} -defs["structs"]["ImGuiIO"][80]["name"] = "MouseDownOwnedUnlessPopupClose[5]" +defs["structs"]["ImGuiIO"][80]["name"] = "MouseClicked[5]" defs["structs"]["ImGuiIO"][80]["size"] = 5 defs["structs"]["ImGuiIO"][80]["type"] = "bool" defs["structs"]["ImGuiIO"][81] = {} -defs["structs"]["ImGuiIO"][81]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][81]["name"] = "MouseDoubleClicked[5]" defs["structs"]["ImGuiIO"][81]["size"] = 5 -defs["structs"]["ImGuiIO"][81]["type"] = "float" +defs["structs"]["ImGuiIO"][81]["type"] = "bool" defs["structs"]["ImGuiIO"][82] = {} -defs["structs"]["ImGuiIO"][82]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][82]["name"] = "MouseClickedCount[5]" defs["structs"]["ImGuiIO"][82]["size"] = 5 -defs["structs"]["ImGuiIO"][82]["type"] = "float" +defs["structs"]["ImGuiIO"][82]["type"] = "ImU16" defs["structs"]["ImGuiIO"][83] = {} -defs["structs"]["ImGuiIO"][83]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][83]["name"] = "MouseClickedLastCount[5]" defs["structs"]["ImGuiIO"][83]["size"] = 5 -defs["structs"]["ImGuiIO"][83]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][83]["type"] = "ImU16" defs["structs"]["ImGuiIO"][84] = {} -defs["structs"]["ImGuiIO"][84]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][84]["name"] = "MouseReleased[5]" defs["structs"]["ImGuiIO"][84]["size"] = 5 -defs["structs"]["ImGuiIO"][84]["type"] = "float" +defs["structs"]["ImGuiIO"][84]["type"] = "bool" defs["structs"]["ImGuiIO"][85] = {} -defs["structs"]["ImGuiIO"][85]["name"] = "KeysDownDuration[512]" -defs["structs"]["ImGuiIO"][85]["size"] = 512 -defs["structs"]["ImGuiIO"][85]["type"] = "float" +defs["structs"]["ImGuiIO"][85]["name"] = "MouseDownOwned[5]" +defs["structs"]["ImGuiIO"][85]["size"] = 5 +defs["structs"]["ImGuiIO"][85]["type"] = "bool" defs["structs"]["ImGuiIO"][86] = {} -defs["structs"]["ImGuiIO"][86]["name"] = "KeysDownDurationPrev[512]" -defs["structs"]["ImGuiIO"][86]["size"] = 512 -defs["structs"]["ImGuiIO"][86]["type"] = "float" +defs["structs"]["ImGuiIO"][86]["name"] = "MouseDownOwnedUnlessPopupClose[5]" +defs["structs"]["ImGuiIO"][86]["size"] = 5 +defs["structs"]["ImGuiIO"][86]["type"] = "bool" defs["structs"]["ImGuiIO"][87] = {} -defs["structs"]["ImGuiIO"][87]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][87]["size"] = 20 +defs["structs"]["ImGuiIO"][87]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][87]["size"] = 5 defs["structs"]["ImGuiIO"][87]["type"] = "float" defs["structs"]["ImGuiIO"][88] = {} -defs["structs"]["ImGuiIO"][88]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][88]["size"] = 20 +defs["structs"]["ImGuiIO"][88]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][88]["size"] = 5 defs["structs"]["ImGuiIO"][88]["type"] = "float" defs["structs"]["ImGuiIO"][89] = {} -defs["structs"]["ImGuiIO"][89]["name"] = "PenPressure" -defs["structs"]["ImGuiIO"][89]["type"] = "float" +defs["structs"]["ImGuiIO"][89]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][89]["size"] = 5 +defs["structs"]["ImGuiIO"][89]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][90] = {} -defs["structs"]["ImGuiIO"][90]["name"] = "AppFocusLost" -defs["structs"]["ImGuiIO"][90]["type"] = "bool" +defs["structs"]["ImGuiIO"][90]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][90]["size"] = 5 +defs["structs"]["ImGuiIO"][90]["type"] = "float" defs["structs"]["ImGuiIO"][91] = {} -defs["structs"]["ImGuiIO"][91]["name"] = "InputQueueSurrogate" -defs["structs"]["ImGuiIO"][91]["type"] = "ImWchar16" +defs["structs"]["ImGuiIO"][91]["name"] = "PenPressure" +defs["structs"]["ImGuiIO"][91]["type"] = "float" defs["structs"]["ImGuiIO"][92] = {} -defs["structs"]["ImGuiIO"][92]["name"] = "InputQueueCharacters" -defs["structs"]["ImGuiIO"][92]["template_type"] = "ImWchar" -defs["structs"]["ImGuiIO"][92]["type"] = "ImVector_ImWchar" +defs["structs"]["ImGuiIO"][92]["name"] = "AppFocusLost" +defs["structs"]["ImGuiIO"][92]["type"] = "bool" +defs["structs"]["ImGuiIO"][93] = {} +defs["structs"]["ImGuiIO"][93]["name"] = "AppAcceptingEvents" +defs["structs"]["ImGuiIO"][93]["type"] = "bool" +defs["structs"]["ImGuiIO"][94] = {} +defs["structs"]["ImGuiIO"][94]["name"] = "BackendUsingLegacyKeyArrays" +defs["structs"]["ImGuiIO"][94]["type"] = "ImS8" +defs["structs"]["ImGuiIO"][95] = {} +defs["structs"]["ImGuiIO"][95]["name"] = "BackendUsingLegacyNavInputArray" +defs["structs"]["ImGuiIO"][95]["type"] = "bool" +defs["structs"]["ImGuiIO"][96] = {} +defs["structs"]["ImGuiIO"][96]["name"] = "InputQueueSurrogate" +defs["structs"]["ImGuiIO"][96]["type"] = "ImWchar16" +defs["structs"]["ImGuiIO"][97] = {} +defs["structs"]["ImGuiIO"][97]["name"] = "InputQueueCharacters" +defs["structs"]["ImGuiIO"][97]["template_type"] = "ImWchar" +defs["structs"]["ImGuiIO"][97]["type"] = "ImVector_ImWchar" +defs["structs"]["ImGuiInputEvent"] = {} +defs["structs"]["ImGuiInputEvent"][1] = {} +defs["structs"]["ImGuiInputEvent"][1]["name"] = "Type" +defs["structs"]["ImGuiInputEvent"][1]["type"] = "ImGuiInputEventType" +defs["structs"]["ImGuiInputEvent"][2] = {} +defs["structs"]["ImGuiInputEvent"][2]["name"] = "Source" +defs["structs"]["ImGuiInputEvent"][2]["type"] = "ImGuiInputSource" +defs["structs"]["ImGuiInputEvent"][3] = {} +defs["structs"]["ImGuiInputEvent"][3]["name"] = "" +defs["structs"]["ImGuiInputEvent"][3]["type"] = "union { ImGuiInputEventMousePos MousePos; ImGuiInputEventMouseWheel MouseWheel; ImGuiInputEventMouseButton MouseButton; ImGuiInputEventMouseViewport MouseViewport; ImGuiInputEventKey Key; ImGuiInputEventText Text; ImGuiInputEventAppFocused AppFocused;}" +defs["structs"]["ImGuiInputEvent"][4] = {} +defs["structs"]["ImGuiInputEvent"][4]["name"] = "AddedByTestEngine" +defs["structs"]["ImGuiInputEvent"][4]["type"] = "bool" +defs["structs"]["ImGuiInputEventAppFocused"] = {} +defs["structs"]["ImGuiInputEventAppFocused"][1] = {} +defs["structs"]["ImGuiInputEventAppFocused"][1]["name"] = "Focused" +defs["structs"]["ImGuiInputEventAppFocused"][1]["type"] = "bool" +defs["structs"]["ImGuiInputEventKey"] = {} +defs["structs"]["ImGuiInputEventKey"][1] = {} +defs["structs"]["ImGuiInputEventKey"][1]["name"] = "Key" +defs["structs"]["ImGuiInputEventKey"][1]["type"] = "ImGuiKey" +defs["structs"]["ImGuiInputEventKey"][2] = {} +defs["structs"]["ImGuiInputEventKey"][2]["name"] = "Down" +defs["structs"]["ImGuiInputEventKey"][2]["type"] = "bool" +defs["structs"]["ImGuiInputEventKey"][3] = {} +defs["structs"]["ImGuiInputEventKey"][3]["name"] = "AnalogValue" +defs["structs"]["ImGuiInputEventKey"][3]["type"] = "float" +defs["structs"]["ImGuiInputEventMouseButton"] = {} +defs["structs"]["ImGuiInputEventMouseButton"][1] = {} +defs["structs"]["ImGuiInputEventMouseButton"][1]["name"] = "Button" +defs["structs"]["ImGuiInputEventMouseButton"][1]["type"] = "int" +defs["structs"]["ImGuiInputEventMouseButton"][2] = {} +defs["structs"]["ImGuiInputEventMouseButton"][2]["name"] = "Down" +defs["structs"]["ImGuiInputEventMouseButton"][2]["type"] = "bool" +defs["structs"]["ImGuiInputEventMousePos"] = {} +defs["structs"]["ImGuiInputEventMousePos"][1] = {} +defs["structs"]["ImGuiInputEventMousePos"][1]["name"] = "PosX" +defs["structs"]["ImGuiInputEventMousePos"][1]["type"] = "float" +defs["structs"]["ImGuiInputEventMousePos"][2] = {} +defs["structs"]["ImGuiInputEventMousePos"][2]["name"] = "PosY" +defs["structs"]["ImGuiInputEventMousePos"][2]["type"] = "float" +defs["structs"]["ImGuiInputEventMouseViewport"] = {} +defs["structs"]["ImGuiInputEventMouseViewport"][1] = {} +defs["structs"]["ImGuiInputEventMouseViewport"][1]["name"] = "HoveredViewportID" +defs["structs"]["ImGuiInputEventMouseViewport"][1]["type"] = "ImGuiID" +defs["structs"]["ImGuiInputEventMouseWheel"] = {} +defs["structs"]["ImGuiInputEventMouseWheel"][1] = {} +defs["structs"]["ImGuiInputEventMouseWheel"][1]["name"] = "WheelX" +defs["structs"]["ImGuiInputEventMouseWheel"][1]["type"] = "float" +defs["structs"]["ImGuiInputEventMouseWheel"][2] = {} +defs["structs"]["ImGuiInputEventMouseWheel"][2]["name"] = "WheelY" +defs["structs"]["ImGuiInputEventMouseWheel"][2]["type"] = "float" +defs["structs"]["ImGuiInputEventText"] = {} +defs["structs"]["ImGuiInputEventText"][1] = {} +defs["structs"]["ImGuiInputEventText"][1]["name"] = "Char" +defs["structs"]["ImGuiInputEventText"][1]["type"] = "unsigned int" defs["structs"]["ImGuiInputTextCallbackData"] = {} defs["structs"]["ImGuiInputTextCallbackData"][1] = {} defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag" @@ -4808,6 +5647,61 @@ defs["structs"]["ImGuiInputTextState"][14]["type"] = "bool" defs["structs"]["ImGuiInputTextState"][15] = {} defs["structs"]["ImGuiInputTextState"][15]["name"] = "Flags" defs["structs"]["ImGuiInputTextState"][15]["type"] = "ImGuiInputTextFlags" +defs["structs"]["ImGuiKeyData"] = {} +defs["structs"]["ImGuiKeyData"][1] = {} +defs["structs"]["ImGuiKeyData"][1]["name"] = "Down" +defs["structs"]["ImGuiKeyData"][1]["type"] = "bool" +defs["structs"]["ImGuiKeyData"][2] = {} +defs["structs"]["ImGuiKeyData"][2]["name"] = "DownDuration" +defs["structs"]["ImGuiKeyData"][2]["type"] = "float" +defs["structs"]["ImGuiKeyData"][3] = {} +defs["structs"]["ImGuiKeyData"][3]["name"] = "DownDurationPrev" +defs["structs"]["ImGuiKeyData"][3]["type"] = "float" +defs["structs"]["ImGuiKeyData"][4] = {} +defs["structs"]["ImGuiKeyData"][4]["name"] = "AnalogValue" +defs["structs"]["ImGuiKeyData"][4]["type"] = "float" +defs["structs"]["ImGuiKeyOwnerData"] = {} +defs["structs"]["ImGuiKeyOwnerData"][1] = {} +defs["structs"]["ImGuiKeyOwnerData"][1]["name"] = "OwnerCurr" +defs["structs"]["ImGuiKeyOwnerData"][1]["type"] = "ImGuiID" +defs["structs"]["ImGuiKeyOwnerData"][2] = {} +defs["structs"]["ImGuiKeyOwnerData"][2]["name"] = "OwnerNext" +defs["structs"]["ImGuiKeyOwnerData"][2]["type"] = "ImGuiID" +defs["structs"]["ImGuiKeyOwnerData"][3] = {} +defs["structs"]["ImGuiKeyOwnerData"][3]["name"] = "LockThisFrame" +defs["structs"]["ImGuiKeyOwnerData"][3]["type"] = "bool" +defs["structs"]["ImGuiKeyOwnerData"][4] = {} +defs["structs"]["ImGuiKeyOwnerData"][4]["name"] = "LockUntilRelease" +defs["structs"]["ImGuiKeyOwnerData"][4]["type"] = "bool" +defs["structs"]["ImGuiKeyRoutingData"] = {} +defs["structs"]["ImGuiKeyRoutingData"][1] = {} +defs["structs"]["ImGuiKeyRoutingData"][1]["name"] = "NextEntryIndex" +defs["structs"]["ImGuiKeyRoutingData"][1]["type"] = "ImGuiKeyRoutingIndex" +defs["structs"]["ImGuiKeyRoutingData"][2] = {} +defs["structs"]["ImGuiKeyRoutingData"][2]["name"] = "Mods" +defs["structs"]["ImGuiKeyRoutingData"][2]["type"] = "ImU16" +defs["structs"]["ImGuiKeyRoutingData"][3] = {} +defs["structs"]["ImGuiKeyRoutingData"][3]["name"] = "RoutingNextScore" +defs["structs"]["ImGuiKeyRoutingData"][3]["type"] = "ImU8" +defs["structs"]["ImGuiKeyRoutingData"][4] = {} +defs["structs"]["ImGuiKeyRoutingData"][4]["name"] = "RoutingCurr" +defs["structs"]["ImGuiKeyRoutingData"][4]["type"] = "ImGuiID" +defs["structs"]["ImGuiKeyRoutingData"][5] = {} +defs["structs"]["ImGuiKeyRoutingData"][5]["name"] = "RoutingNext" +defs["structs"]["ImGuiKeyRoutingData"][5]["type"] = "ImGuiID" +defs["structs"]["ImGuiKeyRoutingTable"] = {} +defs["structs"]["ImGuiKeyRoutingTable"][1] = {} +defs["structs"]["ImGuiKeyRoutingTable"][1]["name"] = "Index[ImGuiKey_NamedKey_COUNT]" +defs["structs"]["ImGuiKeyRoutingTable"][1]["size"] = 140 +defs["structs"]["ImGuiKeyRoutingTable"][1]["type"] = "ImGuiKeyRoutingIndex" +defs["structs"]["ImGuiKeyRoutingTable"][2] = {} +defs["structs"]["ImGuiKeyRoutingTable"][2]["name"] = "Entries" +defs["structs"]["ImGuiKeyRoutingTable"][2]["template_type"] = "ImGuiKeyRoutingData" +defs["structs"]["ImGuiKeyRoutingTable"][2]["type"] = "ImVector_ImGuiKeyRoutingData" +defs["structs"]["ImGuiKeyRoutingTable"][3] = {} +defs["structs"]["ImGuiKeyRoutingTable"][3]["name"] = "EntriesNext" +defs["structs"]["ImGuiKeyRoutingTable"][3]["template_type"] = "ImGuiKeyRoutingData" +defs["structs"]["ImGuiKeyRoutingTable"][3]["type"] = "ImVector_ImGuiKeyRoutingData" defs["structs"]["ImGuiLastItemData"] = {} defs["structs"]["ImGuiLastItemData"][1] = {} defs["structs"]["ImGuiLastItemData"][1]["name"] = "ID" @@ -4879,6 +5773,13 @@ defs["structs"]["ImGuiListClipperRange"][4]["type"] = "ImS8" defs["structs"]["ImGuiListClipperRange"][5] = {} defs["structs"]["ImGuiListClipperRange"][5]["name"] = "PosToIndexOffsetMax" defs["structs"]["ImGuiListClipperRange"][5]["type"] = "ImS8" +defs["structs"]["ImGuiLocEntry"] = {} +defs["structs"]["ImGuiLocEntry"][1] = {} +defs["structs"]["ImGuiLocEntry"][1]["name"] = "Key" +defs["structs"]["ImGuiLocEntry"][1]["type"] = "ImGuiLocKey" +defs["structs"]["ImGuiLocEntry"][2] = {} +defs["structs"]["ImGuiLocEntry"][2]["name"] = "Text" +defs["structs"]["ImGuiLocEntry"][2]["type"] = "const char*" defs["structs"]["ImGuiMenuColumns"] = {} defs["structs"]["ImGuiMenuColumns"][1] = {} defs["structs"]["ImGuiMenuColumns"][1]["name"] = "TotalWidth" @@ -4907,32 +5808,35 @@ defs["structs"]["ImGuiMenuColumns"][8]["size"] = 4 defs["structs"]["ImGuiMenuColumns"][8]["type"] = "ImU16" defs["structs"]["ImGuiMetricsConfig"] = {} defs["structs"]["ImGuiMetricsConfig"][1] = {} -defs["structs"]["ImGuiMetricsConfig"][1]["name"] = "ShowStackTool" +defs["structs"]["ImGuiMetricsConfig"][1]["name"] = "ShowDebugLog" defs["structs"]["ImGuiMetricsConfig"][1]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][2] = {} -defs["structs"]["ImGuiMetricsConfig"][2]["name"] = "ShowWindowsRects" +defs["structs"]["ImGuiMetricsConfig"][2]["name"] = "ShowStackTool" defs["structs"]["ImGuiMetricsConfig"][2]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][3] = {} -defs["structs"]["ImGuiMetricsConfig"][3]["name"] = "ShowWindowsBeginOrder" +defs["structs"]["ImGuiMetricsConfig"][3]["name"] = "ShowWindowsRects" defs["structs"]["ImGuiMetricsConfig"][3]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][4] = {} -defs["structs"]["ImGuiMetricsConfig"][4]["name"] = "ShowTablesRects" +defs["structs"]["ImGuiMetricsConfig"][4]["name"] = "ShowWindowsBeginOrder" defs["structs"]["ImGuiMetricsConfig"][4]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][5] = {} -defs["structs"]["ImGuiMetricsConfig"][5]["name"] = "ShowDrawCmdMesh" +defs["structs"]["ImGuiMetricsConfig"][5]["name"] = "ShowTablesRects" defs["structs"]["ImGuiMetricsConfig"][5]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][6] = {} -defs["structs"]["ImGuiMetricsConfig"][6]["name"] = "ShowDrawCmdBoundingBoxes" +defs["structs"]["ImGuiMetricsConfig"][6]["name"] = "ShowDrawCmdMesh" defs["structs"]["ImGuiMetricsConfig"][6]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][7] = {} -defs["structs"]["ImGuiMetricsConfig"][7]["name"] = "ShowDockingNodes" +defs["structs"]["ImGuiMetricsConfig"][7]["name"] = "ShowDrawCmdBoundingBoxes" defs["structs"]["ImGuiMetricsConfig"][7]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][8] = {} -defs["structs"]["ImGuiMetricsConfig"][8]["name"] = "ShowWindowsRectsType" -defs["structs"]["ImGuiMetricsConfig"][8]["type"] = "int" +defs["structs"]["ImGuiMetricsConfig"][8]["name"] = "ShowDockingNodes" +defs["structs"]["ImGuiMetricsConfig"][8]["type"] = "bool" defs["structs"]["ImGuiMetricsConfig"][9] = {} -defs["structs"]["ImGuiMetricsConfig"][9]["name"] = "ShowTablesRectsType" +defs["structs"]["ImGuiMetricsConfig"][9]["name"] = "ShowWindowsRectsType" defs["structs"]["ImGuiMetricsConfig"][9]["type"] = "int" +defs["structs"]["ImGuiMetricsConfig"][10] = {} +defs["structs"]["ImGuiMetricsConfig"][10]["name"] = "ShowTablesRectsType" +defs["structs"]["ImGuiMetricsConfig"][10]["type"] = "int" defs["structs"]["ImGuiNavItemData"] = {} defs["structs"]["ImGuiNavItemData"][1] = {} defs["structs"]["ImGuiNavItemData"][1]["name"] = "Window" @@ -5184,34 +6088,41 @@ defs["structs"]["ImGuiPlatformIO"][17] = {} defs["structs"]["ImGuiPlatformIO"][17]["name"] = "Platform_OnChangedViewport" defs["structs"]["ImGuiPlatformIO"][17]["type"] = "void(*)(ImGuiViewport* vp)" defs["structs"]["ImGuiPlatformIO"][18] = {} -defs["structs"]["ImGuiPlatformIO"][18]["name"] = "Platform_SetImeInputPos" -defs["structs"]["ImGuiPlatformIO"][18]["type"] = "void(*)(ImGuiViewport* vp,ImVec2 pos)" +defs["structs"]["ImGuiPlatformIO"][18]["name"] = "Platform_CreateVkSurface" +defs["structs"]["ImGuiPlatformIO"][18]["type"] = "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)" defs["structs"]["ImGuiPlatformIO"][19] = {} -defs["structs"]["ImGuiPlatformIO"][19]["name"] = "Platform_CreateVkSurface" -defs["structs"]["ImGuiPlatformIO"][19]["type"] = "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)" +defs["structs"]["ImGuiPlatformIO"][19]["name"] = "Renderer_CreateWindow" +defs["structs"]["ImGuiPlatformIO"][19]["type"] = "void(*)(ImGuiViewport* vp)" defs["structs"]["ImGuiPlatformIO"][20] = {} -defs["structs"]["ImGuiPlatformIO"][20]["name"] = "Renderer_CreateWindow" +defs["structs"]["ImGuiPlatformIO"][20]["name"] = "Renderer_DestroyWindow" defs["structs"]["ImGuiPlatformIO"][20]["type"] = "void(*)(ImGuiViewport* vp)" defs["structs"]["ImGuiPlatformIO"][21] = {} -defs["structs"]["ImGuiPlatformIO"][21]["name"] = "Renderer_DestroyWindow" -defs["structs"]["ImGuiPlatformIO"][21]["type"] = "void(*)(ImGuiViewport* vp)" +defs["structs"]["ImGuiPlatformIO"][21]["name"] = "Renderer_SetWindowSize" +defs["structs"]["ImGuiPlatformIO"][21]["type"] = "void(*)(ImGuiViewport* vp,ImVec2 size)" defs["structs"]["ImGuiPlatformIO"][22] = {} -defs["structs"]["ImGuiPlatformIO"][22]["name"] = "Renderer_SetWindowSize" -defs["structs"]["ImGuiPlatformIO"][22]["type"] = "void(*)(ImGuiViewport* vp,ImVec2 size)" +defs["structs"]["ImGuiPlatformIO"][22]["name"] = "Renderer_RenderWindow" +defs["structs"]["ImGuiPlatformIO"][22]["type"] = "void(*)(ImGuiViewport* vp,void* render_arg)" defs["structs"]["ImGuiPlatformIO"][23] = {} -defs["structs"]["ImGuiPlatformIO"][23]["name"] = "Renderer_RenderWindow" +defs["structs"]["ImGuiPlatformIO"][23]["name"] = "Renderer_SwapBuffers" defs["structs"]["ImGuiPlatformIO"][23]["type"] = "void(*)(ImGuiViewport* vp,void* render_arg)" defs["structs"]["ImGuiPlatformIO"][24] = {} -defs["structs"]["ImGuiPlatformIO"][24]["name"] = "Renderer_SwapBuffers" -defs["structs"]["ImGuiPlatformIO"][24]["type"] = "void(*)(ImGuiViewport* vp,void* render_arg)" +defs["structs"]["ImGuiPlatformIO"][24]["name"] = "Monitors" +defs["structs"]["ImGuiPlatformIO"][24]["template_type"] = "ImGuiPlatformMonitor" +defs["structs"]["ImGuiPlatformIO"][24]["type"] = "ImVector_ImGuiPlatformMonitor" defs["structs"]["ImGuiPlatformIO"][25] = {} -defs["structs"]["ImGuiPlatformIO"][25]["name"] = "Monitors" -defs["structs"]["ImGuiPlatformIO"][25]["template_type"] = "ImGuiPlatformMonitor" -defs["structs"]["ImGuiPlatformIO"][25]["type"] = "ImVector_ImGuiPlatformMonitor" -defs["structs"]["ImGuiPlatformIO"][26] = {} -defs["structs"]["ImGuiPlatformIO"][26]["name"] = "Viewports" -defs["structs"]["ImGuiPlatformIO"][26]["template_type"] = "ImGuiViewport*" -defs["structs"]["ImGuiPlatformIO"][26]["type"] = "ImVector_ImGuiViewportPtr" +defs["structs"]["ImGuiPlatformIO"][25]["name"] = "Viewports" +defs["structs"]["ImGuiPlatformIO"][25]["template_type"] = "ImGuiViewport*" +defs["structs"]["ImGuiPlatformIO"][25]["type"] = "ImVector_ImGuiViewportPtr" +defs["structs"]["ImGuiPlatformImeData"] = {} +defs["structs"]["ImGuiPlatformImeData"][1] = {} +defs["structs"]["ImGuiPlatformImeData"][1]["name"] = "WantVisible" +defs["structs"]["ImGuiPlatformImeData"][1]["type"] = "bool" +defs["structs"]["ImGuiPlatformImeData"][2] = {} +defs["structs"]["ImGuiPlatformImeData"][2]["name"] = "InputPos" +defs["structs"]["ImGuiPlatformImeData"][2]["type"] = "ImVec2" +defs["structs"]["ImGuiPlatformImeData"][3] = {} +defs["structs"]["ImGuiPlatformImeData"][3]["name"] = "InputLineHeight" +defs["structs"]["ImGuiPlatformImeData"][3]["type"] = "float" defs["structs"]["ImGuiPlatformMonitor"] = {} defs["structs"]["ImGuiPlatformMonitor"][1] = {} defs["structs"]["ImGuiPlatformMonitor"][1]["name"] = "MainPos" @@ -5236,20 +6147,23 @@ defs["structs"]["ImGuiPopupData"][2] = {} defs["structs"]["ImGuiPopupData"][2]["name"] = "Window" defs["structs"]["ImGuiPopupData"][2]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiPopupData"][3] = {} -defs["structs"]["ImGuiPopupData"][3]["name"] = "SourceWindow" +defs["structs"]["ImGuiPopupData"][3]["name"] = "BackupNavWindow" defs["structs"]["ImGuiPopupData"][3]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiPopupData"][4] = {} -defs["structs"]["ImGuiPopupData"][4]["name"] = "OpenFrameCount" +defs["structs"]["ImGuiPopupData"][4]["name"] = "ParentNavLayer" defs["structs"]["ImGuiPopupData"][4]["type"] = "int" defs["structs"]["ImGuiPopupData"][5] = {} -defs["structs"]["ImGuiPopupData"][5]["name"] = "OpenParentId" -defs["structs"]["ImGuiPopupData"][5]["type"] = "ImGuiID" +defs["structs"]["ImGuiPopupData"][5]["name"] = "OpenFrameCount" +defs["structs"]["ImGuiPopupData"][5]["type"] = "int" defs["structs"]["ImGuiPopupData"][6] = {} -defs["structs"]["ImGuiPopupData"][6]["name"] = "OpenPopupPos" -defs["structs"]["ImGuiPopupData"][6]["type"] = "ImVec2" +defs["structs"]["ImGuiPopupData"][6]["name"] = "OpenParentId" +defs["structs"]["ImGuiPopupData"][6]["type"] = "ImGuiID" defs["structs"]["ImGuiPopupData"][7] = {} -defs["structs"]["ImGuiPopupData"][7]["name"] = "OpenMousePos" +defs["structs"]["ImGuiPopupData"][7]["name"] = "OpenPopupPos" defs["structs"]["ImGuiPopupData"][7]["type"] = "ImVec2" +defs["structs"]["ImGuiPopupData"][8] = {} +defs["structs"]["ImGuiPopupData"][8]["name"] = "OpenMousePos" +defs["structs"]["ImGuiPopupData"][8]["type"] = "ImVec2" defs["structs"]["ImGuiPtrOrIndex"] = {} defs["structs"]["ImGuiPtrOrIndex"][1] = {} defs["structs"]["ImGuiPtrOrIndex"][1]["name"] = "Ptr" @@ -5292,6 +6206,9 @@ defs["structs"]["ImGuiShrinkWidthItem"][1]["type"] = "int" defs["structs"]["ImGuiShrinkWidthItem"][2] = {} defs["structs"]["ImGuiShrinkWidthItem"][2]["name"] = "Width" defs["structs"]["ImGuiShrinkWidthItem"][2]["type"] = "float" +defs["structs"]["ImGuiShrinkWidthItem"][3] = {} +defs["structs"]["ImGuiShrinkWidthItem"][3]["name"] = "InitialWidth" +defs["structs"]["ImGuiShrinkWidthItem"][3]["type"] = "float" defs["structs"]["ImGuiSizeCallbackData"] = {} defs["structs"]["ImGuiSizeCallbackData"][1] = {} defs["structs"]["ImGuiSizeCallbackData"][1]["name"] = "UserData" @@ -5316,9 +6233,13 @@ defs["structs"]["ImGuiStackLevelInfo"][3] = {} defs["structs"]["ImGuiStackLevelInfo"][3]["name"] = "QuerySuccess" defs["structs"]["ImGuiStackLevelInfo"][3]["type"] = "bool" defs["structs"]["ImGuiStackLevelInfo"][4] = {} -defs["structs"]["ImGuiStackLevelInfo"][4]["name"] = "Desc[58]" -defs["structs"]["ImGuiStackLevelInfo"][4]["size"] = 58 -defs["structs"]["ImGuiStackLevelInfo"][4]["type"] = "char" +defs["structs"]["ImGuiStackLevelInfo"][4]["bitfield"] = "8" +defs["structs"]["ImGuiStackLevelInfo"][4]["name"] = "DataType" +defs["structs"]["ImGuiStackLevelInfo"][4]["type"] = "ImGuiDataType" +defs["structs"]["ImGuiStackLevelInfo"][5] = {} +defs["structs"]["ImGuiStackLevelInfo"][5]["name"] = "Desc[57]" +defs["structs"]["ImGuiStackLevelInfo"][5]["size"] = 57 +defs["structs"]["ImGuiStackLevelInfo"][5]["type"] = "char" defs["structs"]["ImGuiStackSizes"] = {} defs["structs"]["ImGuiStackSizes"][1] = {} defs["structs"]["ImGuiStackSizes"][1]["name"] = "SizeOfIDStack" @@ -5361,6 +6282,12 @@ defs["structs"]["ImGuiStackTool"][4] = {} defs["structs"]["ImGuiStackTool"][4]["name"] = "Results" defs["structs"]["ImGuiStackTool"][4]["template_type"] = "ImGuiStackLevelInfo" defs["structs"]["ImGuiStackTool"][4]["type"] = "ImVector_ImGuiStackLevelInfo" +defs["structs"]["ImGuiStackTool"][5] = {} +defs["structs"]["ImGuiStackTool"][5]["name"] = "CopyToClipboardOnCtrlC" +defs["structs"]["ImGuiStackTool"][5]["type"] = "bool" +defs["structs"]["ImGuiStackTool"][6] = {} +defs["structs"]["ImGuiStackTool"][6]["name"] = "CopyToClipboardLastTime" +defs["structs"]["ImGuiStackTool"][6]["type"] = "float" defs["structs"]["ImGuiStorage"] = {} defs["structs"]["ImGuiStorage"][1] = {} defs["structs"]["ImGuiStorage"][1]["name"] = "Data" @@ -5626,17 +6553,20 @@ defs["structs"]["ImGuiTabItem"][8] = {} defs["structs"]["ImGuiTabItem"][8]["name"] = "ContentWidth" defs["structs"]["ImGuiTabItem"][8]["type"] = "float" defs["structs"]["ImGuiTabItem"][9] = {} -defs["structs"]["ImGuiTabItem"][9]["name"] = "NameOffset" -defs["structs"]["ImGuiTabItem"][9]["type"] = "ImS32" +defs["structs"]["ImGuiTabItem"][9]["name"] = "RequestedWidth" +defs["structs"]["ImGuiTabItem"][9]["type"] = "float" defs["structs"]["ImGuiTabItem"][10] = {} -defs["structs"]["ImGuiTabItem"][10]["name"] = "BeginOrder" -defs["structs"]["ImGuiTabItem"][10]["type"] = "ImS16" +defs["structs"]["ImGuiTabItem"][10]["name"] = "NameOffset" +defs["structs"]["ImGuiTabItem"][10]["type"] = "ImS32" defs["structs"]["ImGuiTabItem"][11] = {} -defs["structs"]["ImGuiTabItem"][11]["name"] = "IndexDuringLayout" +defs["structs"]["ImGuiTabItem"][11]["name"] = "BeginOrder" defs["structs"]["ImGuiTabItem"][11]["type"] = "ImS16" defs["structs"]["ImGuiTabItem"][12] = {} -defs["structs"]["ImGuiTabItem"][12]["name"] = "WantClose" -defs["structs"]["ImGuiTabItem"][12]["type"] = "bool" +defs["structs"]["ImGuiTabItem"][12]["name"] = "IndexDuringLayout" +defs["structs"]["ImGuiTabItem"][12]["type"] = "ImS16" +defs["structs"]["ImGuiTabItem"][13] = {} +defs["structs"]["ImGuiTabItem"][13]["name"] = "WantClose" +defs["structs"]["ImGuiTabItem"][13]["type"] = "bool" defs["structs"]["ImGuiTable"] = {} defs["structs"]["ImGuiTable"][1] = {} defs["structs"]["ImGuiTable"][1]["name"] = "ID" @@ -5762,198 +6692,202 @@ defs["structs"]["ImGuiTable"][39] = {} defs["structs"]["ImGuiTable"][39]["name"] = "CellSpacingX2" defs["structs"]["ImGuiTable"][39]["type"] = "float" defs["structs"]["ImGuiTable"][40] = {} -defs["structs"]["ImGuiTable"][40]["name"] = "LastOuterHeight" +defs["structs"]["ImGuiTable"][40]["name"] = "InnerWidth" defs["structs"]["ImGuiTable"][40]["type"] = "float" defs["structs"]["ImGuiTable"][41] = {} -defs["structs"]["ImGuiTable"][41]["name"] = "LastFirstRowHeight" +defs["structs"]["ImGuiTable"][41]["name"] = "ColumnsGivenWidth" defs["structs"]["ImGuiTable"][41]["type"] = "float" defs["structs"]["ImGuiTable"][42] = {} -defs["structs"]["ImGuiTable"][42]["name"] = "InnerWidth" +defs["structs"]["ImGuiTable"][42]["name"] = "ColumnsAutoFitWidth" defs["structs"]["ImGuiTable"][42]["type"] = "float" defs["structs"]["ImGuiTable"][43] = {} -defs["structs"]["ImGuiTable"][43]["name"] = "ColumnsGivenWidth" +defs["structs"]["ImGuiTable"][43]["name"] = "ColumnsStretchSumWeights" defs["structs"]["ImGuiTable"][43]["type"] = "float" defs["structs"]["ImGuiTable"][44] = {} -defs["structs"]["ImGuiTable"][44]["name"] = "ColumnsAutoFitWidth" +defs["structs"]["ImGuiTable"][44]["name"] = "ResizedColumnNextWidth" defs["structs"]["ImGuiTable"][44]["type"] = "float" defs["structs"]["ImGuiTable"][45] = {} -defs["structs"]["ImGuiTable"][45]["name"] = "ResizedColumnNextWidth" +defs["structs"]["ImGuiTable"][45]["name"] = "ResizeLockMinContentsX2" defs["structs"]["ImGuiTable"][45]["type"] = "float" defs["structs"]["ImGuiTable"][46] = {} -defs["structs"]["ImGuiTable"][46]["name"] = "ResizeLockMinContentsX2" +defs["structs"]["ImGuiTable"][46]["name"] = "RefScale" defs["structs"]["ImGuiTable"][46]["type"] = "float" defs["structs"]["ImGuiTable"][47] = {} -defs["structs"]["ImGuiTable"][47]["name"] = "RefScale" -defs["structs"]["ImGuiTable"][47]["type"] = "float" +defs["structs"]["ImGuiTable"][47]["name"] = "OuterRect" +defs["structs"]["ImGuiTable"][47]["type"] = "ImRect" defs["structs"]["ImGuiTable"][48] = {} -defs["structs"]["ImGuiTable"][48]["name"] = "OuterRect" +defs["structs"]["ImGuiTable"][48]["name"] = "InnerRect" defs["structs"]["ImGuiTable"][48]["type"] = "ImRect" defs["structs"]["ImGuiTable"][49] = {} -defs["structs"]["ImGuiTable"][49]["name"] = "InnerRect" +defs["structs"]["ImGuiTable"][49]["name"] = "WorkRect" defs["structs"]["ImGuiTable"][49]["type"] = "ImRect" defs["structs"]["ImGuiTable"][50] = {} -defs["structs"]["ImGuiTable"][50]["name"] = "WorkRect" +defs["structs"]["ImGuiTable"][50]["name"] = "InnerClipRect" defs["structs"]["ImGuiTable"][50]["type"] = "ImRect" defs["structs"]["ImGuiTable"][51] = {} -defs["structs"]["ImGuiTable"][51]["name"] = "InnerClipRect" +defs["structs"]["ImGuiTable"][51]["name"] = "BgClipRect" defs["structs"]["ImGuiTable"][51]["type"] = "ImRect" defs["structs"]["ImGuiTable"][52] = {} -defs["structs"]["ImGuiTable"][52]["name"] = "BgClipRect" +defs["structs"]["ImGuiTable"][52]["name"] = "Bg0ClipRectForDrawCmd" defs["structs"]["ImGuiTable"][52]["type"] = "ImRect" defs["structs"]["ImGuiTable"][53] = {} -defs["structs"]["ImGuiTable"][53]["name"] = "Bg0ClipRectForDrawCmd" +defs["structs"]["ImGuiTable"][53]["name"] = "Bg2ClipRectForDrawCmd" defs["structs"]["ImGuiTable"][53]["type"] = "ImRect" defs["structs"]["ImGuiTable"][54] = {} -defs["structs"]["ImGuiTable"][54]["name"] = "Bg2ClipRectForDrawCmd" +defs["structs"]["ImGuiTable"][54]["name"] = "HostClipRect" defs["structs"]["ImGuiTable"][54]["type"] = "ImRect" defs["structs"]["ImGuiTable"][55] = {} -defs["structs"]["ImGuiTable"][55]["name"] = "HostClipRect" +defs["structs"]["ImGuiTable"][55]["name"] = "HostBackupInnerClipRect" defs["structs"]["ImGuiTable"][55]["type"] = "ImRect" defs["structs"]["ImGuiTable"][56] = {} -defs["structs"]["ImGuiTable"][56]["name"] = "HostBackupInnerClipRect" -defs["structs"]["ImGuiTable"][56]["type"] = "ImRect" +defs["structs"]["ImGuiTable"][56]["name"] = "OuterWindow" +defs["structs"]["ImGuiTable"][56]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiTable"][57] = {} -defs["structs"]["ImGuiTable"][57]["name"] = "OuterWindow" +defs["structs"]["ImGuiTable"][57]["name"] = "InnerWindow" defs["structs"]["ImGuiTable"][57]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiTable"][58] = {} -defs["structs"]["ImGuiTable"][58]["name"] = "InnerWindow" -defs["structs"]["ImGuiTable"][58]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiTable"][58]["name"] = "ColumnsNames" +defs["structs"]["ImGuiTable"][58]["type"] = "ImGuiTextBuffer" defs["structs"]["ImGuiTable"][59] = {} -defs["structs"]["ImGuiTable"][59]["name"] = "ColumnsNames" -defs["structs"]["ImGuiTable"][59]["type"] = "ImGuiTextBuffer" +defs["structs"]["ImGuiTable"][59]["name"] = "DrawSplitter" +defs["structs"]["ImGuiTable"][59]["type"] = "ImDrawListSplitter*" defs["structs"]["ImGuiTable"][60] = {} -defs["structs"]["ImGuiTable"][60]["name"] = "DrawSplitter" -defs["structs"]["ImGuiTable"][60]["type"] = "ImDrawListSplitter*" +defs["structs"]["ImGuiTable"][60]["name"] = "InstanceDataFirst" +defs["structs"]["ImGuiTable"][60]["type"] = "ImGuiTableInstanceData" defs["structs"]["ImGuiTable"][61] = {} -defs["structs"]["ImGuiTable"][61]["name"] = "SortSpecsSingle" -defs["structs"]["ImGuiTable"][61]["type"] = "ImGuiTableColumnSortSpecs" +defs["structs"]["ImGuiTable"][61]["name"] = "InstanceDataExtra" +defs["structs"]["ImGuiTable"][61]["template_type"] = "ImGuiTableInstanceData" +defs["structs"]["ImGuiTable"][61]["type"] = "ImVector_ImGuiTableInstanceData" defs["structs"]["ImGuiTable"][62] = {} -defs["structs"]["ImGuiTable"][62]["name"] = "SortSpecsMulti" -defs["structs"]["ImGuiTable"][62]["template_type"] = "ImGuiTableColumnSortSpecs" -defs["structs"]["ImGuiTable"][62]["type"] = "ImVector_ImGuiTableColumnSortSpecs" +defs["structs"]["ImGuiTable"][62]["name"] = "SortSpecsSingle" +defs["structs"]["ImGuiTable"][62]["type"] = "ImGuiTableColumnSortSpecs" defs["structs"]["ImGuiTable"][63] = {} -defs["structs"]["ImGuiTable"][63]["name"] = "SortSpecs" -defs["structs"]["ImGuiTable"][63]["type"] = "ImGuiTableSortSpecs" +defs["structs"]["ImGuiTable"][63]["name"] = "SortSpecsMulti" +defs["structs"]["ImGuiTable"][63]["template_type"] = "ImGuiTableColumnSortSpecs" +defs["structs"]["ImGuiTable"][63]["type"] = "ImVector_ImGuiTableColumnSortSpecs" defs["structs"]["ImGuiTable"][64] = {} -defs["structs"]["ImGuiTable"][64]["name"] = "SortSpecsCount" -defs["structs"]["ImGuiTable"][64]["type"] = "ImGuiTableColumnIdx" +defs["structs"]["ImGuiTable"][64]["name"] = "SortSpecs" +defs["structs"]["ImGuiTable"][64]["type"] = "ImGuiTableSortSpecs" defs["structs"]["ImGuiTable"][65] = {} -defs["structs"]["ImGuiTable"][65]["name"] = "ColumnsEnabledCount" +defs["structs"]["ImGuiTable"][65]["name"] = "SortSpecsCount" defs["structs"]["ImGuiTable"][65]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][66] = {} -defs["structs"]["ImGuiTable"][66]["name"] = "ColumnsEnabledFixedCount" +defs["structs"]["ImGuiTable"][66]["name"] = "ColumnsEnabledCount" defs["structs"]["ImGuiTable"][66]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][67] = {} -defs["structs"]["ImGuiTable"][67]["name"] = "DeclColumnsCount" +defs["structs"]["ImGuiTable"][67]["name"] = "ColumnsEnabledFixedCount" defs["structs"]["ImGuiTable"][67]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][68] = {} -defs["structs"]["ImGuiTable"][68]["name"] = "HoveredColumnBody" +defs["structs"]["ImGuiTable"][68]["name"] = "DeclColumnsCount" defs["structs"]["ImGuiTable"][68]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][69] = {} -defs["structs"]["ImGuiTable"][69]["name"] = "HoveredColumnBorder" +defs["structs"]["ImGuiTable"][69]["name"] = "HoveredColumnBody" defs["structs"]["ImGuiTable"][69]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][70] = {} -defs["structs"]["ImGuiTable"][70]["name"] = "AutoFitSingleColumn" +defs["structs"]["ImGuiTable"][70]["name"] = "HoveredColumnBorder" defs["structs"]["ImGuiTable"][70]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][71] = {} -defs["structs"]["ImGuiTable"][71]["name"] = "ResizedColumn" +defs["structs"]["ImGuiTable"][71]["name"] = "AutoFitSingleColumn" defs["structs"]["ImGuiTable"][71]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][72] = {} -defs["structs"]["ImGuiTable"][72]["name"] = "LastResizedColumn" +defs["structs"]["ImGuiTable"][72]["name"] = "ResizedColumn" defs["structs"]["ImGuiTable"][72]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][73] = {} -defs["structs"]["ImGuiTable"][73]["name"] = "HeldHeaderColumn" +defs["structs"]["ImGuiTable"][73]["name"] = "LastResizedColumn" defs["structs"]["ImGuiTable"][73]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][74] = {} -defs["structs"]["ImGuiTable"][74]["name"] = "ReorderColumn" +defs["structs"]["ImGuiTable"][74]["name"] = "HeldHeaderColumn" defs["structs"]["ImGuiTable"][74]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][75] = {} -defs["structs"]["ImGuiTable"][75]["name"] = "ReorderColumnDir" +defs["structs"]["ImGuiTable"][75]["name"] = "ReorderColumn" defs["structs"]["ImGuiTable"][75]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][76] = {} -defs["structs"]["ImGuiTable"][76]["name"] = "LeftMostEnabledColumn" +defs["structs"]["ImGuiTable"][76]["name"] = "ReorderColumnDir" defs["structs"]["ImGuiTable"][76]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][77] = {} -defs["structs"]["ImGuiTable"][77]["name"] = "RightMostEnabledColumn" +defs["structs"]["ImGuiTable"][77]["name"] = "LeftMostEnabledColumn" defs["structs"]["ImGuiTable"][77]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][78] = {} -defs["structs"]["ImGuiTable"][78]["name"] = "LeftMostStretchedColumn" +defs["structs"]["ImGuiTable"][78]["name"] = "RightMostEnabledColumn" defs["structs"]["ImGuiTable"][78]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][79] = {} -defs["structs"]["ImGuiTable"][79]["name"] = "RightMostStretchedColumn" +defs["structs"]["ImGuiTable"][79]["name"] = "LeftMostStretchedColumn" defs["structs"]["ImGuiTable"][79]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][80] = {} -defs["structs"]["ImGuiTable"][80]["name"] = "ContextPopupColumn" +defs["structs"]["ImGuiTable"][80]["name"] = "RightMostStretchedColumn" defs["structs"]["ImGuiTable"][80]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][81] = {} -defs["structs"]["ImGuiTable"][81]["name"] = "FreezeRowsRequest" +defs["structs"]["ImGuiTable"][81]["name"] = "ContextPopupColumn" defs["structs"]["ImGuiTable"][81]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][82] = {} -defs["structs"]["ImGuiTable"][82]["name"] = "FreezeRowsCount" +defs["structs"]["ImGuiTable"][82]["name"] = "FreezeRowsRequest" defs["structs"]["ImGuiTable"][82]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][83] = {} -defs["structs"]["ImGuiTable"][83]["name"] = "FreezeColumnsRequest" +defs["structs"]["ImGuiTable"][83]["name"] = "FreezeRowsCount" defs["structs"]["ImGuiTable"][83]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][84] = {} -defs["structs"]["ImGuiTable"][84]["name"] = "FreezeColumnsCount" +defs["structs"]["ImGuiTable"][84]["name"] = "FreezeColumnsRequest" defs["structs"]["ImGuiTable"][84]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][85] = {} -defs["structs"]["ImGuiTable"][85]["name"] = "RowCellDataCurrent" +defs["structs"]["ImGuiTable"][85]["name"] = "FreezeColumnsCount" defs["structs"]["ImGuiTable"][85]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][86] = {} -defs["structs"]["ImGuiTable"][86]["name"] = "DummyDrawChannel" -defs["structs"]["ImGuiTable"][86]["type"] = "ImGuiTableDrawChannelIdx" +defs["structs"]["ImGuiTable"][86]["name"] = "RowCellDataCurrent" +defs["structs"]["ImGuiTable"][86]["type"] = "ImGuiTableColumnIdx" defs["structs"]["ImGuiTable"][87] = {} -defs["structs"]["ImGuiTable"][87]["name"] = "Bg2DrawChannelCurrent" +defs["structs"]["ImGuiTable"][87]["name"] = "DummyDrawChannel" defs["structs"]["ImGuiTable"][87]["type"] = "ImGuiTableDrawChannelIdx" defs["structs"]["ImGuiTable"][88] = {} -defs["structs"]["ImGuiTable"][88]["name"] = "Bg2DrawChannelUnfrozen" +defs["structs"]["ImGuiTable"][88]["name"] = "Bg2DrawChannelCurrent" defs["structs"]["ImGuiTable"][88]["type"] = "ImGuiTableDrawChannelIdx" defs["structs"]["ImGuiTable"][89] = {} -defs["structs"]["ImGuiTable"][89]["name"] = "IsLayoutLocked" -defs["structs"]["ImGuiTable"][89]["type"] = "bool" +defs["structs"]["ImGuiTable"][89]["name"] = "Bg2DrawChannelUnfrozen" +defs["structs"]["ImGuiTable"][89]["type"] = "ImGuiTableDrawChannelIdx" defs["structs"]["ImGuiTable"][90] = {} -defs["structs"]["ImGuiTable"][90]["name"] = "IsInsideRow" +defs["structs"]["ImGuiTable"][90]["name"] = "IsLayoutLocked" defs["structs"]["ImGuiTable"][90]["type"] = "bool" defs["structs"]["ImGuiTable"][91] = {} -defs["structs"]["ImGuiTable"][91]["name"] = "IsInitializing" +defs["structs"]["ImGuiTable"][91]["name"] = "IsInsideRow" defs["structs"]["ImGuiTable"][91]["type"] = "bool" defs["structs"]["ImGuiTable"][92] = {} -defs["structs"]["ImGuiTable"][92]["name"] = "IsSortSpecsDirty" +defs["structs"]["ImGuiTable"][92]["name"] = "IsInitializing" defs["structs"]["ImGuiTable"][92]["type"] = "bool" defs["structs"]["ImGuiTable"][93] = {} -defs["structs"]["ImGuiTable"][93]["name"] = "IsUsingHeaders" +defs["structs"]["ImGuiTable"][93]["name"] = "IsSortSpecsDirty" defs["structs"]["ImGuiTable"][93]["type"] = "bool" defs["structs"]["ImGuiTable"][94] = {} -defs["structs"]["ImGuiTable"][94]["name"] = "IsContextPopupOpen" +defs["structs"]["ImGuiTable"][94]["name"] = "IsUsingHeaders" defs["structs"]["ImGuiTable"][94]["type"] = "bool" defs["structs"]["ImGuiTable"][95] = {} -defs["structs"]["ImGuiTable"][95]["name"] = "IsSettingsRequestLoad" +defs["structs"]["ImGuiTable"][95]["name"] = "IsContextPopupOpen" defs["structs"]["ImGuiTable"][95]["type"] = "bool" defs["structs"]["ImGuiTable"][96] = {} -defs["structs"]["ImGuiTable"][96]["name"] = "IsSettingsDirty" +defs["structs"]["ImGuiTable"][96]["name"] = "IsSettingsRequestLoad" defs["structs"]["ImGuiTable"][96]["type"] = "bool" defs["structs"]["ImGuiTable"][97] = {} -defs["structs"]["ImGuiTable"][97]["name"] = "IsDefaultDisplayOrder" +defs["structs"]["ImGuiTable"][97]["name"] = "IsSettingsDirty" defs["structs"]["ImGuiTable"][97]["type"] = "bool" defs["structs"]["ImGuiTable"][98] = {} -defs["structs"]["ImGuiTable"][98]["name"] = "IsResetAllRequest" +defs["structs"]["ImGuiTable"][98]["name"] = "IsDefaultDisplayOrder" defs["structs"]["ImGuiTable"][98]["type"] = "bool" defs["structs"]["ImGuiTable"][99] = {} -defs["structs"]["ImGuiTable"][99]["name"] = "IsResetDisplayOrderRequest" +defs["structs"]["ImGuiTable"][99]["name"] = "IsResetAllRequest" defs["structs"]["ImGuiTable"][99]["type"] = "bool" defs["structs"]["ImGuiTable"][100] = {} -defs["structs"]["ImGuiTable"][100]["name"] = "IsUnfrozenRows" +defs["structs"]["ImGuiTable"][100]["name"] = "IsResetDisplayOrderRequest" defs["structs"]["ImGuiTable"][100]["type"] = "bool" defs["structs"]["ImGuiTable"][101] = {} -defs["structs"]["ImGuiTable"][101]["name"] = "IsDefaultSizingPolicy" +defs["structs"]["ImGuiTable"][101]["name"] = "IsUnfrozenRows" defs["structs"]["ImGuiTable"][101]["type"] = "bool" defs["structs"]["ImGuiTable"][102] = {} -defs["structs"]["ImGuiTable"][102]["name"] = "MemoryCompacted" +defs["structs"]["ImGuiTable"][102]["name"] = "IsDefaultSizingPolicy" defs["structs"]["ImGuiTable"][102]["type"] = "bool" defs["structs"]["ImGuiTable"][103] = {} -defs["structs"]["ImGuiTable"][103]["name"] = "HostSkipItems" +defs["structs"]["ImGuiTable"][103]["name"] = "MemoryCompacted" defs["structs"]["ImGuiTable"][103]["type"] = "bool" +defs["structs"]["ImGuiTable"][104] = {} +defs["structs"]["ImGuiTable"][104]["name"] = "HostSkipItems" +defs["structs"]["ImGuiTable"][104]["type"] = "bool" defs["structs"]["ImGuiTableCellData"] = {} defs["structs"]["ImGuiTableCellData"][1] = {} defs["structs"]["ImGuiTableCellData"][1]["name"] = "BgColor" @@ -6130,6 +7064,13 @@ defs["structs"]["ImGuiTableColumnSortSpecs"][4] = {} defs["structs"]["ImGuiTableColumnSortSpecs"][4]["bitfield"] = "8" defs["structs"]["ImGuiTableColumnSortSpecs"][4]["name"] = "SortDirection" defs["structs"]["ImGuiTableColumnSortSpecs"][4]["type"] = "ImGuiSortDirection" +defs["structs"]["ImGuiTableInstanceData"] = {} +defs["structs"]["ImGuiTableInstanceData"][1] = {} +defs["structs"]["ImGuiTableInstanceData"][1]["name"] = "LastOuterHeight" +defs["structs"]["ImGuiTableInstanceData"][1]["type"] = "float" +defs["structs"]["ImGuiTableInstanceData"][2] = {} +defs["structs"]["ImGuiTableInstanceData"][2]["name"] = "LastFirstRowHeight" +defs["structs"]["ImGuiTableInstanceData"][2]["type"] = "float" defs["structs"]["ImGuiTableSettings"] = {} defs["structs"]["ImGuiTableSettings"][1] = {} defs["structs"]["ImGuiTableSettings"][1]["name"] = "ID" @@ -6213,6 +7154,14 @@ defs["structs"]["ImGuiTextFilter"][2]["type"] = "ImVector_ImGuiTextRange" defs["structs"]["ImGuiTextFilter"][3] = {} defs["structs"]["ImGuiTextFilter"][3]["name"] = "CountGrep" defs["structs"]["ImGuiTextFilter"][3]["type"] = "int" +defs["structs"]["ImGuiTextIndex"] = {} +defs["structs"]["ImGuiTextIndex"][1] = {} +defs["structs"]["ImGuiTextIndex"][1]["name"] = "LineOffsets" +defs["structs"]["ImGuiTextIndex"][1]["template_type"] = "int" +defs["structs"]["ImGuiTextIndex"][1]["type"] = "ImVector_int" +defs["structs"]["ImGuiTextIndex"][2] = {} +defs["structs"]["ImGuiTextIndex"][2]["name"] = "EndOffset" +defs["structs"]["ImGuiTextIndex"][2]["type"] = "int" defs["structs"]["ImGuiTextRange"] = {} defs["structs"]["ImGuiTextRange"][1] = {} defs["structs"]["ImGuiTextRange"][1]["name"] = "b" @@ -6261,14 +7210,17 @@ defs["structs"]["ImGuiViewport"][13] = {} defs["structs"]["ImGuiViewport"][13]["name"] = "PlatformHandleRaw" defs["structs"]["ImGuiViewport"][13]["type"] = "void*" defs["structs"]["ImGuiViewport"][14] = {} -defs["structs"]["ImGuiViewport"][14]["name"] = "PlatformRequestMove" +defs["structs"]["ImGuiViewport"][14]["name"] = "PlatformWindowCreated" defs["structs"]["ImGuiViewport"][14]["type"] = "bool" defs["structs"]["ImGuiViewport"][15] = {} -defs["structs"]["ImGuiViewport"][15]["name"] = "PlatformRequestResize" +defs["structs"]["ImGuiViewport"][15]["name"] = "PlatformRequestMove" defs["structs"]["ImGuiViewport"][15]["type"] = "bool" defs["structs"]["ImGuiViewport"][16] = {} -defs["structs"]["ImGuiViewport"][16]["name"] = "PlatformRequestClose" +defs["structs"]["ImGuiViewport"][16]["name"] = "PlatformRequestResize" defs["structs"]["ImGuiViewport"][16]["type"] = "bool" +defs["structs"]["ImGuiViewport"][17] = {} +defs["structs"]["ImGuiViewport"][17]["name"] = "PlatformRequestClose" +defs["structs"]["ImGuiViewport"][17]["type"] = "bool" defs["structs"]["ImGuiViewportP"] = {} defs["structs"]["ImGuiViewportP"][1] = {} defs["structs"]["ImGuiViewportP"][1]["name"] = "_ImGuiViewport" @@ -6298,46 +7250,43 @@ defs["structs"]["ImGuiViewportP"][9] = {} defs["structs"]["ImGuiViewportP"][9]["name"] = "PlatformMonitor" defs["structs"]["ImGuiViewportP"][9]["type"] = "short" defs["structs"]["ImGuiViewportP"][10] = {} -defs["structs"]["ImGuiViewportP"][10]["name"] = "PlatformWindowCreated" -defs["structs"]["ImGuiViewportP"][10]["type"] = "bool" +defs["structs"]["ImGuiViewportP"][10]["name"] = "Window" +defs["structs"]["ImGuiViewportP"][10]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiViewportP"][11] = {} -defs["structs"]["ImGuiViewportP"][11]["name"] = "Window" -defs["structs"]["ImGuiViewportP"][11]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiViewportP"][11]["name"] = "DrawListsLastFrame[2]" +defs["structs"]["ImGuiViewportP"][11]["size"] = 2 +defs["structs"]["ImGuiViewportP"][11]["type"] = "int" defs["structs"]["ImGuiViewportP"][12] = {} -defs["structs"]["ImGuiViewportP"][12]["name"] = "DrawListsLastFrame[2]" +defs["structs"]["ImGuiViewportP"][12]["name"] = "DrawLists[2]" defs["structs"]["ImGuiViewportP"][12]["size"] = 2 -defs["structs"]["ImGuiViewportP"][12]["type"] = "int" +defs["structs"]["ImGuiViewportP"][12]["type"] = "ImDrawList*" defs["structs"]["ImGuiViewportP"][13] = {} -defs["structs"]["ImGuiViewportP"][13]["name"] = "DrawLists[2]" -defs["structs"]["ImGuiViewportP"][13]["size"] = 2 -defs["structs"]["ImGuiViewportP"][13]["type"] = "ImDrawList*" +defs["structs"]["ImGuiViewportP"][13]["name"] = "DrawDataP" +defs["structs"]["ImGuiViewportP"][13]["type"] = "ImDrawData" defs["structs"]["ImGuiViewportP"][14] = {} -defs["structs"]["ImGuiViewportP"][14]["name"] = "DrawDataP" -defs["structs"]["ImGuiViewportP"][14]["type"] = "ImDrawData" +defs["structs"]["ImGuiViewportP"][14]["name"] = "DrawDataBuilder" +defs["structs"]["ImGuiViewportP"][14]["type"] = "ImDrawDataBuilder" defs["structs"]["ImGuiViewportP"][15] = {} -defs["structs"]["ImGuiViewportP"][15]["name"] = "DrawDataBuilder" -defs["structs"]["ImGuiViewportP"][15]["type"] = "ImDrawDataBuilder" +defs["structs"]["ImGuiViewportP"][15]["name"] = "LastPlatformPos" +defs["structs"]["ImGuiViewportP"][15]["type"] = "ImVec2" defs["structs"]["ImGuiViewportP"][16] = {} -defs["structs"]["ImGuiViewportP"][16]["name"] = "LastPlatformPos" +defs["structs"]["ImGuiViewportP"][16]["name"] = "LastPlatformSize" defs["structs"]["ImGuiViewportP"][16]["type"] = "ImVec2" defs["structs"]["ImGuiViewportP"][17] = {} -defs["structs"]["ImGuiViewportP"][17]["name"] = "LastPlatformSize" +defs["structs"]["ImGuiViewportP"][17]["name"] = "LastRendererSize" defs["structs"]["ImGuiViewportP"][17]["type"] = "ImVec2" defs["structs"]["ImGuiViewportP"][18] = {} -defs["structs"]["ImGuiViewportP"][18]["name"] = "LastRendererSize" +defs["structs"]["ImGuiViewportP"][18]["name"] = "WorkOffsetMin" defs["structs"]["ImGuiViewportP"][18]["type"] = "ImVec2" defs["structs"]["ImGuiViewportP"][19] = {} -defs["structs"]["ImGuiViewportP"][19]["name"] = "WorkOffsetMin" +defs["structs"]["ImGuiViewportP"][19]["name"] = "WorkOffsetMax" defs["structs"]["ImGuiViewportP"][19]["type"] = "ImVec2" defs["structs"]["ImGuiViewportP"][20] = {} -defs["structs"]["ImGuiViewportP"][20]["name"] = "WorkOffsetMax" +defs["structs"]["ImGuiViewportP"][20]["name"] = "BuildWorkOffsetMin" defs["structs"]["ImGuiViewportP"][20]["type"] = "ImVec2" defs["structs"]["ImGuiViewportP"][21] = {} -defs["structs"]["ImGuiViewportP"][21]["name"] = "BuildWorkOffsetMin" +defs["structs"]["ImGuiViewportP"][21]["name"] = "BuildWorkOffsetMax" defs["structs"]["ImGuiViewportP"][21]["type"] = "ImVec2" -defs["structs"]["ImGuiViewportP"][22] = {} -defs["structs"]["ImGuiViewportP"][22]["name"] = "BuildWorkOffsetMax" -defs["structs"]["ImGuiViewportP"][22]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"] = {} defs["structs"]["ImGuiWindow"][1] = {} defs["structs"]["ImGuiWindow"][1]["name"] = "Name" @@ -6400,281 +7349,290 @@ defs["structs"]["ImGuiWindow"][20] = {} defs["structs"]["ImGuiWindow"][20]["name"] = "MoveId" defs["structs"]["ImGuiWindow"][20]["type"] = "ImGuiID" defs["structs"]["ImGuiWindow"][21] = {} -defs["structs"]["ImGuiWindow"][21]["name"] = "ChildId" +defs["structs"]["ImGuiWindow"][21]["name"] = "TabId" defs["structs"]["ImGuiWindow"][21]["type"] = "ImGuiID" defs["structs"]["ImGuiWindow"][22] = {} -defs["structs"]["ImGuiWindow"][22]["name"] = "Scroll" -defs["structs"]["ImGuiWindow"][22]["type"] = "ImVec2" +defs["structs"]["ImGuiWindow"][22]["name"] = "ChildId" +defs["structs"]["ImGuiWindow"][22]["type"] = "ImGuiID" defs["structs"]["ImGuiWindow"][23] = {} -defs["structs"]["ImGuiWindow"][23]["name"] = "ScrollMax" +defs["structs"]["ImGuiWindow"][23]["name"] = "Scroll" defs["structs"]["ImGuiWindow"][23]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][24] = {} -defs["structs"]["ImGuiWindow"][24]["name"] = "ScrollTarget" +defs["structs"]["ImGuiWindow"][24]["name"] = "ScrollMax" defs["structs"]["ImGuiWindow"][24]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][25] = {} -defs["structs"]["ImGuiWindow"][25]["name"] = "ScrollTargetCenterRatio" +defs["structs"]["ImGuiWindow"][25]["name"] = "ScrollTarget" defs["structs"]["ImGuiWindow"][25]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][26] = {} -defs["structs"]["ImGuiWindow"][26]["name"] = "ScrollTargetEdgeSnapDist" +defs["structs"]["ImGuiWindow"][26]["name"] = "ScrollTargetCenterRatio" defs["structs"]["ImGuiWindow"][26]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][27] = {} -defs["structs"]["ImGuiWindow"][27]["name"] = "ScrollbarSizes" +defs["structs"]["ImGuiWindow"][27]["name"] = "ScrollTargetEdgeSnapDist" defs["structs"]["ImGuiWindow"][27]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][28] = {} -defs["structs"]["ImGuiWindow"][28]["name"] = "ScrollbarX" -defs["structs"]["ImGuiWindow"][28]["type"] = "bool" +defs["structs"]["ImGuiWindow"][28]["name"] = "ScrollbarSizes" +defs["structs"]["ImGuiWindow"][28]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][29] = {} -defs["structs"]["ImGuiWindow"][29]["name"] = "ScrollbarY" +defs["structs"]["ImGuiWindow"][29]["name"] = "ScrollbarX" defs["structs"]["ImGuiWindow"][29]["type"] = "bool" defs["structs"]["ImGuiWindow"][30] = {} -defs["structs"]["ImGuiWindow"][30]["name"] = "ViewportOwned" +defs["structs"]["ImGuiWindow"][30]["name"] = "ScrollbarY" defs["structs"]["ImGuiWindow"][30]["type"] = "bool" defs["structs"]["ImGuiWindow"][31] = {} -defs["structs"]["ImGuiWindow"][31]["name"] = "Active" +defs["structs"]["ImGuiWindow"][31]["name"] = "ViewportOwned" defs["structs"]["ImGuiWindow"][31]["type"] = "bool" defs["structs"]["ImGuiWindow"][32] = {} -defs["structs"]["ImGuiWindow"][32]["name"] = "WasActive" +defs["structs"]["ImGuiWindow"][32]["name"] = "Active" defs["structs"]["ImGuiWindow"][32]["type"] = "bool" defs["structs"]["ImGuiWindow"][33] = {} -defs["structs"]["ImGuiWindow"][33]["name"] = "WriteAccessed" +defs["structs"]["ImGuiWindow"][33]["name"] = "WasActive" defs["structs"]["ImGuiWindow"][33]["type"] = "bool" defs["structs"]["ImGuiWindow"][34] = {} -defs["structs"]["ImGuiWindow"][34]["name"] = "Collapsed" +defs["structs"]["ImGuiWindow"][34]["name"] = "WriteAccessed" defs["structs"]["ImGuiWindow"][34]["type"] = "bool" defs["structs"]["ImGuiWindow"][35] = {} -defs["structs"]["ImGuiWindow"][35]["name"] = "WantCollapseToggle" +defs["structs"]["ImGuiWindow"][35]["name"] = "Collapsed" defs["structs"]["ImGuiWindow"][35]["type"] = "bool" defs["structs"]["ImGuiWindow"][36] = {} -defs["structs"]["ImGuiWindow"][36]["name"] = "SkipItems" +defs["structs"]["ImGuiWindow"][36]["name"] = "WantCollapseToggle" defs["structs"]["ImGuiWindow"][36]["type"] = "bool" defs["structs"]["ImGuiWindow"][37] = {} -defs["structs"]["ImGuiWindow"][37]["name"] = "Appearing" +defs["structs"]["ImGuiWindow"][37]["name"] = "SkipItems" defs["structs"]["ImGuiWindow"][37]["type"] = "bool" defs["structs"]["ImGuiWindow"][38] = {} -defs["structs"]["ImGuiWindow"][38]["name"] = "Hidden" +defs["structs"]["ImGuiWindow"][38]["name"] = "Appearing" defs["structs"]["ImGuiWindow"][38]["type"] = "bool" defs["structs"]["ImGuiWindow"][39] = {} -defs["structs"]["ImGuiWindow"][39]["name"] = "IsFallbackWindow" +defs["structs"]["ImGuiWindow"][39]["name"] = "Hidden" defs["structs"]["ImGuiWindow"][39]["type"] = "bool" defs["structs"]["ImGuiWindow"][40] = {} -defs["structs"]["ImGuiWindow"][40]["name"] = "IsExplicitChild" +defs["structs"]["ImGuiWindow"][40]["name"] = "IsFallbackWindow" defs["structs"]["ImGuiWindow"][40]["type"] = "bool" defs["structs"]["ImGuiWindow"][41] = {} -defs["structs"]["ImGuiWindow"][41]["name"] = "HasCloseButton" +defs["structs"]["ImGuiWindow"][41]["name"] = "IsExplicitChild" defs["structs"]["ImGuiWindow"][41]["type"] = "bool" defs["structs"]["ImGuiWindow"][42] = {} -defs["structs"]["ImGuiWindow"][42]["name"] = "ResizeBorderHeld" -defs["structs"]["ImGuiWindow"][42]["type"] = "signed char" +defs["structs"]["ImGuiWindow"][42]["name"] = "HasCloseButton" +defs["structs"]["ImGuiWindow"][42]["type"] = "bool" defs["structs"]["ImGuiWindow"][43] = {} -defs["structs"]["ImGuiWindow"][43]["name"] = "BeginCount" -defs["structs"]["ImGuiWindow"][43]["type"] = "short" +defs["structs"]["ImGuiWindow"][43]["name"] = "ResizeBorderHeld" +defs["structs"]["ImGuiWindow"][43]["type"] = "signed char" defs["structs"]["ImGuiWindow"][44] = {} -defs["structs"]["ImGuiWindow"][44]["name"] = "BeginOrderWithinParent" +defs["structs"]["ImGuiWindow"][44]["name"] = "BeginCount" defs["structs"]["ImGuiWindow"][44]["type"] = "short" defs["structs"]["ImGuiWindow"][45] = {} -defs["structs"]["ImGuiWindow"][45]["name"] = "BeginOrderWithinContext" +defs["structs"]["ImGuiWindow"][45]["name"] = "BeginCountPreviousFrame" defs["structs"]["ImGuiWindow"][45]["type"] = "short" defs["structs"]["ImGuiWindow"][46] = {} -defs["structs"]["ImGuiWindow"][46]["name"] = "FocusOrder" +defs["structs"]["ImGuiWindow"][46]["name"] = "BeginOrderWithinParent" defs["structs"]["ImGuiWindow"][46]["type"] = "short" defs["structs"]["ImGuiWindow"][47] = {} -defs["structs"]["ImGuiWindow"][47]["name"] = "PopupId" -defs["structs"]["ImGuiWindow"][47]["type"] = "ImGuiID" +defs["structs"]["ImGuiWindow"][47]["name"] = "BeginOrderWithinContext" +defs["structs"]["ImGuiWindow"][47]["type"] = "short" defs["structs"]["ImGuiWindow"][48] = {} -defs["structs"]["ImGuiWindow"][48]["name"] = "AutoFitFramesX" -defs["structs"]["ImGuiWindow"][48]["type"] = "ImS8" +defs["structs"]["ImGuiWindow"][48]["name"] = "FocusOrder" +defs["structs"]["ImGuiWindow"][48]["type"] = "short" defs["structs"]["ImGuiWindow"][49] = {} -defs["structs"]["ImGuiWindow"][49]["name"] = "AutoFitFramesY" -defs["structs"]["ImGuiWindow"][49]["type"] = "ImS8" +defs["structs"]["ImGuiWindow"][49]["name"] = "PopupId" +defs["structs"]["ImGuiWindow"][49]["type"] = "ImGuiID" defs["structs"]["ImGuiWindow"][50] = {} -defs["structs"]["ImGuiWindow"][50]["name"] = "AutoFitChildAxises" +defs["structs"]["ImGuiWindow"][50]["name"] = "AutoFitFramesX" defs["structs"]["ImGuiWindow"][50]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][51] = {} -defs["structs"]["ImGuiWindow"][51]["name"] = "AutoFitOnlyGrows" -defs["structs"]["ImGuiWindow"][51]["type"] = "bool" +defs["structs"]["ImGuiWindow"][51]["name"] = "AutoFitFramesY" +defs["structs"]["ImGuiWindow"][51]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][52] = {} -defs["structs"]["ImGuiWindow"][52]["name"] = "AutoPosLastDirection" -defs["structs"]["ImGuiWindow"][52]["type"] = "ImGuiDir" +defs["structs"]["ImGuiWindow"][52]["name"] = "AutoFitChildAxises" +defs["structs"]["ImGuiWindow"][52]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][53] = {} -defs["structs"]["ImGuiWindow"][53]["name"] = "HiddenFramesCanSkipItems" -defs["structs"]["ImGuiWindow"][53]["type"] = "ImS8" +defs["structs"]["ImGuiWindow"][53]["name"] = "AutoFitOnlyGrows" +defs["structs"]["ImGuiWindow"][53]["type"] = "bool" defs["structs"]["ImGuiWindow"][54] = {} -defs["structs"]["ImGuiWindow"][54]["name"] = "HiddenFramesCannotSkipItems" -defs["structs"]["ImGuiWindow"][54]["type"] = "ImS8" +defs["structs"]["ImGuiWindow"][54]["name"] = "AutoPosLastDirection" +defs["structs"]["ImGuiWindow"][54]["type"] = "ImGuiDir" defs["structs"]["ImGuiWindow"][55] = {} -defs["structs"]["ImGuiWindow"][55]["name"] = "HiddenFramesForRenderOnly" +defs["structs"]["ImGuiWindow"][55]["name"] = "HiddenFramesCanSkipItems" defs["structs"]["ImGuiWindow"][55]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][56] = {} -defs["structs"]["ImGuiWindow"][56]["name"] = "DisableInputsFrames" +defs["structs"]["ImGuiWindow"][56]["name"] = "HiddenFramesCannotSkipItems" defs["structs"]["ImGuiWindow"][56]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][57] = {} -defs["structs"]["ImGuiWindow"][57]["bitfield"] = "8" -defs["structs"]["ImGuiWindow"][57]["name"] = "SetWindowPosAllowFlags" -defs["structs"]["ImGuiWindow"][57]["type"] = "ImGuiCond" +defs["structs"]["ImGuiWindow"][57]["name"] = "HiddenFramesForRenderOnly" +defs["structs"]["ImGuiWindow"][57]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][58] = {} -defs["structs"]["ImGuiWindow"][58]["bitfield"] = "8" -defs["structs"]["ImGuiWindow"][58]["name"] = "SetWindowSizeAllowFlags" -defs["structs"]["ImGuiWindow"][58]["type"] = "ImGuiCond" +defs["structs"]["ImGuiWindow"][58]["name"] = "DisableInputsFrames" +defs["structs"]["ImGuiWindow"][58]["type"] = "ImS8" defs["structs"]["ImGuiWindow"][59] = {} defs["structs"]["ImGuiWindow"][59]["bitfield"] = "8" -defs["structs"]["ImGuiWindow"][59]["name"] = "SetWindowCollapsedAllowFlags" +defs["structs"]["ImGuiWindow"][59]["name"] = "SetWindowPosAllowFlags" defs["structs"]["ImGuiWindow"][59]["type"] = "ImGuiCond" defs["structs"]["ImGuiWindow"][60] = {} defs["structs"]["ImGuiWindow"][60]["bitfield"] = "8" -defs["structs"]["ImGuiWindow"][60]["name"] = "SetWindowDockAllowFlags" +defs["structs"]["ImGuiWindow"][60]["name"] = "SetWindowSizeAllowFlags" defs["structs"]["ImGuiWindow"][60]["type"] = "ImGuiCond" defs["structs"]["ImGuiWindow"][61] = {} -defs["structs"]["ImGuiWindow"][61]["name"] = "SetWindowPosVal" -defs["structs"]["ImGuiWindow"][61]["type"] = "ImVec2" +defs["structs"]["ImGuiWindow"][61]["bitfield"] = "8" +defs["structs"]["ImGuiWindow"][61]["name"] = "SetWindowCollapsedAllowFlags" +defs["structs"]["ImGuiWindow"][61]["type"] = "ImGuiCond" defs["structs"]["ImGuiWindow"][62] = {} -defs["structs"]["ImGuiWindow"][62]["name"] = "SetWindowPosPivot" -defs["structs"]["ImGuiWindow"][62]["type"] = "ImVec2" +defs["structs"]["ImGuiWindow"][62]["bitfield"] = "8" +defs["structs"]["ImGuiWindow"][62]["name"] = "SetWindowDockAllowFlags" +defs["structs"]["ImGuiWindow"][62]["type"] = "ImGuiCond" defs["structs"]["ImGuiWindow"][63] = {} -defs["structs"]["ImGuiWindow"][63]["name"] = "IDStack" -defs["structs"]["ImGuiWindow"][63]["template_type"] = "ImGuiID" -defs["structs"]["ImGuiWindow"][63]["type"] = "ImVector_ImGuiID" +defs["structs"]["ImGuiWindow"][63]["name"] = "SetWindowPosVal" +defs["structs"]["ImGuiWindow"][63]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][64] = {} -defs["structs"]["ImGuiWindow"][64]["name"] = "DC" -defs["structs"]["ImGuiWindow"][64]["type"] = "ImGuiWindowTempData" +defs["structs"]["ImGuiWindow"][64]["name"] = "SetWindowPosPivot" +defs["structs"]["ImGuiWindow"][64]["type"] = "ImVec2" defs["structs"]["ImGuiWindow"][65] = {} -defs["structs"]["ImGuiWindow"][65]["name"] = "OuterRectClipped" -defs["structs"]["ImGuiWindow"][65]["type"] = "ImRect" +defs["structs"]["ImGuiWindow"][65]["name"] = "IDStack" +defs["structs"]["ImGuiWindow"][65]["template_type"] = "ImGuiID" +defs["structs"]["ImGuiWindow"][65]["type"] = "ImVector_ImGuiID" defs["structs"]["ImGuiWindow"][66] = {} -defs["structs"]["ImGuiWindow"][66]["name"] = "InnerRect" -defs["structs"]["ImGuiWindow"][66]["type"] = "ImRect" +defs["structs"]["ImGuiWindow"][66]["name"] = "DC" +defs["structs"]["ImGuiWindow"][66]["type"] = "ImGuiWindowTempData" defs["structs"]["ImGuiWindow"][67] = {} -defs["structs"]["ImGuiWindow"][67]["name"] = "InnerClipRect" +defs["structs"]["ImGuiWindow"][67]["name"] = "OuterRectClipped" defs["structs"]["ImGuiWindow"][67]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][68] = {} -defs["structs"]["ImGuiWindow"][68]["name"] = "WorkRect" +defs["structs"]["ImGuiWindow"][68]["name"] = "InnerRect" defs["structs"]["ImGuiWindow"][68]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][69] = {} -defs["structs"]["ImGuiWindow"][69]["name"] = "ParentWorkRect" +defs["structs"]["ImGuiWindow"][69]["name"] = "InnerClipRect" defs["structs"]["ImGuiWindow"][69]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][70] = {} -defs["structs"]["ImGuiWindow"][70]["name"] = "ClipRect" +defs["structs"]["ImGuiWindow"][70]["name"] = "WorkRect" defs["structs"]["ImGuiWindow"][70]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][71] = {} -defs["structs"]["ImGuiWindow"][71]["name"] = "ContentRegionRect" +defs["structs"]["ImGuiWindow"][71]["name"] = "ParentWorkRect" defs["structs"]["ImGuiWindow"][71]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][72] = {} -defs["structs"]["ImGuiWindow"][72]["name"] = "HitTestHoleSize" -defs["structs"]["ImGuiWindow"][72]["type"] = "ImVec2ih" +defs["structs"]["ImGuiWindow"][72]["name"] = "ClipRect" +defs["structs"]["ImGuiWindow"][72]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][73] = {} -defs["structs"]["ImGuiWindow"][73]["name"] = "HitTestHoleOffset" -defs["structs"]["ImGuiWindow"][73]["type"] = "ImVec2ih" +defs["structs"]["ImGuiWindow"][73]["name"] = "ContentRegionRect" +defs["structs"]["ImGuiWindow"][73]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][74] = {} -defs["structs"]["ImGuiWindow"][74]["name"] = "LastFrameActive" -defs["structs"]["ImGuiWindow"][74]["type"] = "int" +defs["structs"]["ImGuiWindow"][74]["name"] = "HitTestHoleSize" +defs["structs"]["ImGuiWindow"][74]["type"] = "ImVec2ih" defs["structs"]["ImGuiWindow"][75] = {} -defs["structs"]["ImGuiWindow"][75]["name"] = "LastFrameJustFocused" -defs["structs"]["ImGuiWindow"][75]["type"] = "int" +defs["structs"]["ImGuiWindow"][75]["name"] = "HitTestHoleOffset" +defs["structs"]["ImGuiWindow"][75]["type"] = "ImVec2ih" defs["structs"]["ImGuiWindow"][76] = {} -defs["structs"]["ImGuiWindow"][76]["name"] = "LastTimeActive" -defs["structs"]["ImGuiWindow"][76]["type"] = "float" +defs["structs"]["ImGuiWindow"][76]["name"] = "LastFrameActive" +defs["structs"]["ImGuiWindow"][76]["type"] = "int" defs["structs"]["ImGuiWindow"][77] = {} -defs["structs"]["ImGuiWindow"][77]["name"] = "ItemWidthDefault" -defs["structs"]["ImGuiWindow"][77]["type"] = "float" +defs["structs"]["ImGuiWindow"][77]["name"] = "LastFrameJustFocused" +defs["structs"]["ImGuiWindow"][77]["type"] = "int" defs["structs"]["ImGuiWindow"][78] = {} -defs["structs"]["ImGuiWindow"][78]["name"] = "StateStorage" -defs["structs"]["ImGuiWindow"][78]["type"] = "ImGuiStorage" +defs["structs"]["ImGuiWindow"][78]["name"] = "LastTimeActive" +defs["structs"]["ImGuiWindow"][78]["type"] = "float" defs["structs"]["ImGuiWindow"][79] = {} -defs["structs"]["ImGuiWindow"][79]["name"] = "ColumnsStorage" -defs["structs"]["ImGuiWindow"][79]["template_type"] = "ImGuiOldColumns" -defs["structs"]["ImGuiWindow"][79]["type"] = "ImVector_ImGuiOldColumns" +defs["structs"]["ImGuiWindow"][79]["name"] = "ItemWidthDefault" +defs["structs"]["ImGuiWindow"][79]["type"] = "float" defs["structs"]["ImGuiWindow"][80] = {} -defs["structs"]["ImGuiWindow"][80]["name"] = "FontWindowScale" -defs["structs"]["ImGuiWindow"][80]["type"] = "float" +defs["structs"]["ImGuiWindow"][80]["name"] = "StateStorage" +defs["structs"]["ImGuiWindow"][80]["type"] = "ImGuiStorage" defs["structs"]["ImGuiWindow"][81] = {} -defs["structs"]["ImGuiWindow"][81]["name"] = "FontDpiScale" -defs["structs"]["ImGuiWindow"][81]["type"] = "float" +defs["structs"]["ImGuiWindow"][81]["name"] = "ColumnsStorage" +defs["structs"]["ImGuiWindow"][81]["template_type"] = "ImGuiOldColumns" +defs["structs"]["ImGuiWindow"][81]["type"] = "ImVector_ImGuiOldColumns" defs["structs"]["ImGuiWindow"][82] = {} -defs["structs"]["ImGuiWindow"][82]["name"] = "SettingsOffset" -defs["structs"]["ImGuiWindow"][82]["type"] = "int" +defs["structs"]["ImGuiWindow"][82]["name"] = "FontWindowScale" +defs["structs"]["ImGuiWindow"][82]["type"] = "float" defs["structs"]["ImGuiWindow"][83] = {} -defs["structs"]["ImGuiWindow"][83]["name"] = "DrawList" -defs["structs"]["ImGuiWindow"][83]["type"] = "ImDrawList*" +defs["structs"]["ImGuiWindow"][83]["name"] = "FontDpiScale" +defs["structs"]["ImGuiWindow"][83]["type"] = "float" defs["structs"]["ImGuiWindow"][84] = {} -defs["structs"]["ImGuiWindow"][84]["name"] = "DrawListInst" -defs["structs"]["ImGuiWindow"][84]["type"] = "ImDrawList" +defs["structs"]["ImGuiWindow"][84]["name"] = "SettingsOffset" +defs["structs"]["ImGuiWindow"][84]["type"] = "int" defs["structs"]["ImGuiWindow"][85] = {} -defs["structs"]["ImGuiWindow"][85]["name"] = "ParentWindow" -defs["structs"]["ImGuiWindow"][85]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiWindow"][85]["name"] = "DrawList" +defs["structs"]["ImGuiWindow"][85]["type"] = "ImDrawList*" defs["structs"]["ImGuiWindow"][86] = {} -defs["structs"]["ImGuiWindow"][86]["name"] = "ParentWindowInBeginStack" -defs["structs"]["ImGuiWindow"][86]["type"] = "ImGuiWindow*" +defs["structs"]["ImGuiWindow"][86]["name"] = "DrawListInst" +defs["structs"]["ImGuiWindow"][86]["type"] = "ImDrawList" defs["structs"]["ImGuiWindow"][87] = {} -defs["structs"]["ImGuiWindow"][87]["name"] = "RootWindow" +defs["structs"]["ImGuiWindow"][87]["name"] = "ParentWindow" defs["structs"]["ImGuiWindow"][87]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][88] = {} -defs["structs"]["ImGuiWindow"][88]["name"] = "RootWindowPopupTree" +defs["structs"]["ImGuiWindow"][88]["name"] = "ParentWindowInBeginStack" defs["structs"]["ImGuiWindow"][88]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][89] = {} -defs["structs"]["ImGuiWindow"][89]["name"] = "RootWindowDockTree" +defs["structs"]["ImGuiWindow"][89]["name"] = "RootWindow" defs["structs"]["ImGuiWindow"][89]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][90] = {} -defs["structs"]["ImGuiWindow"][90]["name"] = "RootWindowForTitleBarHighlight" +defs["structs"]["ImGuiWindow"][90]["name"] = "RootWindowPopupTree" defs["structs"]["ImGuiWindow"][90]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][91] = {} -defs["structs"]["ImGuiWindow"][91]["name"] = "RootWindowForNav" +defs["structs"]["ImGuiWindow"][91]["name"] = "RootWindowDockTree" defs["structs"]["ImGuiWindow"][91]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][92] = {} -defs["structs"]["ImGuiWindow"][92]["name"] = "NavLastChildNavWindow" +defs["structs"]["ImGuiWindow"][92]["name"] = "RootWindowForTitleBarHighlight" defs["structs"]["ImGuiWindow"][92]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][93] = {} -defs["structs"]["ImGuiWindow"][93]["name"] = "NavLastIds[ImGuiNavLayer_COUNT]" -defs["structs"]["ImGuiWindow"][93]["size"] = 2 -defs["structs"]["ImGuiWindow"][93]["type"] = "ImGuiID" +defs["structs"]["ImGuiWindow"][93]["name"] = "RootWindowForNav" +defs["structs"]["ImGuiWindow"][93]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][94] = {} -defs["structs"]["ImGuiWindow"][94]["name"] = "NavRectRel[ImGuiNavLayer_COUNT]" -defs["structs"]["ImGuiWindow"][94]["size"] = 2 -defs["structs"]["ImGuiWindow"][94]["type"] = "ImRect" +defs["structs"]["ImGuiWindow"][94]["name"] = "NavLastChildNavWindow" +defs["structs"]["ImGuiWindow"][94]["type"] = "ImGuiWindow*" defs["structs"]["ImGuiWindow"][95] = {} -defs["structs"]["ImGuiWindow"][95]["name"] = "MemoryDrawListIdxCapacity" -defs["structs"]["ImGuiWindow"][95]["type"] = "int" +defs["structs"]["ImGuiWindow"][95]["name"] = "NavLastIds[ImGuiNavLayer_COUNT]" +defs["structs"]["ImGuiWindow"][95]["size"] = 2 +defs["structs"]["ImGuiWindow"][95]["type"] = "ImGuiID" defs["structs"]["ImGuiWindow"][96] = {} -defs["structs"]["ImGuiWindow"][96]["name"] = "MemoryDrawListVtxCapacity" -defs["structs"]["ImGuiWindow"][96]["type"] = "int" +defs["structs"]["ImGuiWindow"][96]["name"] = "NavRectRel[ImGuiNavLayer_COUNT]" +defs["structs"]["ImGuiWindow"][96]["size"] = 2 +defs["structs"]["ImGuiWindow"][96]["type"] = "ImRect" defs["structs"]["ImGuiWindow"][97] = {} -defs["structs"]["ImGuiWindow"][97]["name"] = "MemoryCompacted" -defs["structs"]["ImGuiWindow"][97]["type"] = "bool" +defs["structs"]["ImGuiWindow"][97]["name"] = "NavRootFocusScopeId" +defs["structs"]["ImGuiWindow"][97]["type"] = "ImGuiID" defs["structs"]["ImGuiWindow"][98] = {} -defs["structs"]["ImGuiWindow"][98]["bitfield"] = "1" -defs["structs"]["ImGuiWindow"][98]["name"] = "DockIsActive" -defs["structs"]["ImGuiWindow"][98]["type"] = "bool" +defs["structs"]["ImGuiWindow"][98]["name"] = "MemoryDrawListIdxCapacity" +defs["structs"]["ImGuiWindow"][98]["type"] = "int" defs["structs"]["ImGuiWindow"][99] = {} -defs["structs"]["ImGuiWindow"][99]["bitfield"] = "1" -defs["structs"]["ImGuiWindow"][99]["name"] = "DockNodeIsVisible" -defs["structs"]["ImGuiWindow"][99]["type"] = "bool" +defs["structs"]["ImGuiWindow"][99]["name"] = "MemoryDrawListVtxCapacity" +defs["structs"]["ImGuiWindow"][99]["type"] = "int" defs["structs"]["ImGuiWindow"][100] = {} -defs["structs"]["ImGuiWindow"][100]["bitfield"] = "1" -defs["structs"]["ImGuiWindow"][100]["name"] = "DockTabIsVisible" +defs["structs"]["ImGuiWindow"][100]["name"] = "MemoryCompacted" defs["structs"]["ImGuiWindow"][100]["type"] = "bool" defs["structs"]["ImGuiWindow"][101] = {} defs["structs"]["ImGuiWindow"][101]["bitfield"] = "1" -defs["structs"]["ImGuiWindow"][101]["name"] = "DockTabWantClose" +defs["structs"]["ImGuiWindow"][101]["name"] = "DockIsActive" defs["structs"]["ImGuiWindow"][101]["type"] = "bool" defs["structs"]["ImGuiWindow"][102] = {} -defs["structs"]["ImGuiWindow"][102]["name"] = "DockOrder" -defs["structs"]["ImGuiWindow"][102]["type"] = "short" +defs["structs"]["ImGuiWindow"][102]["bitfield"] = "1" +defs["structs"]["ImGuiWindow"][102]["name"] = "DockNodeIsVisible" +defs["structs"]["ImGuiWindow"][102]["type"] = "bool" defs["structs"]["ImGuiWindow"][103] = {} -defs["structs"]["ImGuiWindow"][103]["name"] = "DockStyle" -defs["structs"]["ImGuiWindow"][103]["type"] = "ImGuiWindowDockStyle" +defs["structs"]["ImGuiWindow"][103]["bitfield"] = "1" +defs["structs"]["ImGuiWindow"][103]["name"] = "DockTabIsVisible" +defs["structs"]["ImGuiWindow"][103]["type"] = "bool" defs["structs"]["ImGuiWindow"][104] = {} -defs["structs"]["ImGuiWindow"][104]["name"] = "DockNode" -defs["structs"]["ImGuiWindow"][104]["type"] = "ImGuiDockNode*" +defs["structs"]["ImGuiWindow"][104]["bitfield"] = "1" +defs["structs"]["ImGuiWindow"][104]["name"] = "DockTabWantClose" +defs["structs"]["ImGuiWindow"][104]["type"] = "bool" defs["structs"]["ImGuiWindow"][105] = {} -defs["structs"]["ImGuiWindow"][105]["name"] = "DockNodeAsHost" -defs["structs"]["ImGuiWindow"][105]["type"] = "ImGuiDockNode*" +defs["structs"]["ImGuiWindow"][105]["name"] = "DockOrder" +defs["structs"]["ImGuiWindow"][105]["type"] = "short" defs["structs"]["ImGuiWindow"][106] = {} -defs["structs"]["ImGuiWindow"][106]["name"] = "DockId" -defs["structs"]["ImGuiWindow"][106]["type"] = "ImGuiID" +defs["structs"]["ImGuiWindow"][106]["name"] = "DockStyle" +defs["structs"]["ImGuiWindow"][106]["type"] = "ImGuiWindowDockStyle" defs["structs"]["ImGuiWindow"][107] = {} -defs["structs"]["ImGuiWindow"][107]["name"] = "DockTabItemStatusFlags" -defs["structs"]["ImGuiWindow"][107]["type"] = "ImGuiItemStatusFlags" +defs["structs"]["ImGuiWindow"][107]["name"] = "DockNode" +defs["structs"]["ImGuiWindow"][107]["type"] = "ImGuiDockNode*" defs["structs"]["ImGuiWindow"][108] = {} -defs["structs"]["ImGuiWindow"][108]["name"] = "DockTabItemRect" -defs["structs"]["ImGuiWindow"][108]["type"] = "ImRect" +defs["structs"]["ImGuiWindow"][108]["name"] = "DockNodeAsHost" +defs["structs"]["ImGuiWindow"][108]["type"] = "ImGuiDockNode*" +defs["structs"]["ImGuiWindow"][109] = {} +defs["structs"]["ImGuiWindow"][109]["name"] = "DockId" +defs["structs"]["ImGuiWindow"][109]["type"] = "ImGuiID" +defs["structs"]["ImGuiWindow"][110] = {} +defs["structs"]["ImGuiWindow"][110]["name"] = "DockTabItemStatusFlags" +defs["structs"]["ImGuiWindow"][110]["type"] = "ImGuiItemStatusFlags" +defs["structs"]["ImGuiWindow"][111] = {} +defs["structs"]["ImGuiWindow"][111]["name"] = "DockTabItemRect" +defs["structs"]["ImGuiWindow"][111]["type"] = "ImRect" defs["structs"]["ImGuiWindowClass"] = {} defs["structs"]["ImGuiWindowClass"][1] = {} defs["structs"]["ImGuiWindowClass"][1]["name"] = "ClassId" @@ -6775,83 +7733,86 @@ defs["structs"]["ImGuiWindowTempData"][9] = {} defs["structs"]["ImGuiWindowTempData"][9]["name"] = "PrevLineTextBaseOffset" defs["structs"]["ImGuiWindowTempData"][9]["type"] = "float" defs["structs"]["ImGuiWindowTempData"][10] = {} -defs["structs"]["ImGuiWindowTempData"][10]["name"] = "Indent" -defs["structs"]["ImGuiWindowTempData"][10]["type"] = "ImVec1" +defs["structs"]["ImGuiWindowTempData"][10]["name"] = "IsSameLine" +defs["structs"]["ImGuiWindowTempData"][10]["type"] = "bool" defs["structs"]["ImGuiWindowTempData"][11] = {} -defs["structs"]["ImGuiWindowTempData"][11]["name"] = "ColumnsOffset" -defs["structs"]["ImGuiWindowTempData"][11]["type"] = "ImVec1" +defs["structs"]["ImGuiWindowTempData"][11]["name"] = "IsSetPos" +defs["structs"]["ImGuiWindowTempData"][11]["type"] = "bool" defs["structs"]["ImGuiWindowTempData"][12] = {} -defs["structs"]["ImGuiWindowTempData"][12]["name"] = "GroupOffset" +defs["structs"]["ImGuiWindowTempData"][12]["name"] = "Indent" defs["structs"]["ImGuiWindowTempData"][12]["type"] = "ImVec1" defs["structs"]["ImGuiWindowTempData"][13] = {} -defs["structs"]["ImGuiWindowTempData"][13]["name"] = "CursorStartPosLossyness" -defs["structs"]["ImGuiWindowTempData"][13]["type"] = "ImVec2" +defs["structs"]["ImGuiWindowTempData"][13]["name"] = "ColumnsOffset" +defs["structs"]["ImGuiWindowTempData"][13]["type"] = "ImVec1" defs["structs"]["ImGuiWindowTempData"][14] = {} -defs["structs"]["ImGuiWindowTempData"][14]["name"] = "NavLayerCurrent" -defs["structs"]["ImGuiWindowTempData"][14]["type"] = "ImGuiNavLayer" +defs["structs"]["ImGuiWindowTempData"][14]["name"] = "GroupOffset" +defs["structs"]["ImGuiWindowTempData"][14]["type"] = "ImVec1" defs["structs"]["ImGuiWindowTempData"][15] = {} -defs["structs"]["ImGuiWindowTempData"][15]["name"] = "NavLayersActiveMask" -defs["structs"]["ImGuiWindowTempData"][15]["type"] = "short" +defs["structs"]["ImGuiWindowTempData"][15]["name"] = "CursorStartPosLossyness" +defs["structs"]["ImGuiWindowTempData"][15]["type"] = "ImVec2" defs["structs"]["ImGuiWindowTempData"][16] = {} -defs["structs"]["ImGuiWindowTempData"][16]["name"] = "NavLayersActiveMaskNext" -defs["structs"]["ImGuiWindowTempData"][16]["type"] = "short" +defs["structs"]["ImGuiWindowTempData"][16]["name"] = "NavLayerCurrent" +defs["structs"]["ImGuiWindowTempData"][16]["type"] = "ImGuiNavLayer" defs["structs"]["ImGuiWindowTempData"][17] = {} -defs["structs"]["ImGuiWindowTempData"][17]["name"] = "NavFocusScopeIdCurrent" -defs["structs"]["ImGuiWindowTempData"][17]["type"] = "ImGuiID" +defs["structs"]["ImGuiWindowTempData"][17]["name"] = "NavLayersActiveMask" +defs["structs"]["ImGuiWindowTempData"][17]["type"] = "short" defs["structs"]["ImGuiWindowTempData"][18] = {} -defs["structs"]["ImGuiWindowTempData"][18]["name"] = "NavHideHighlightOneFrame" -defs["structs"]["ImGuiWindowTempData"][18]["type"] = "bool" +defs["structs"]["ImGuiWindowTempData"][18]["name"] = "NavLayersActiveMaskNext" +defs["structs"]["ImGuiWindowTempData"][18]["type"] = "short" defs["structs"]["ImGuiWindowTempData"][19] = {} -defs["structs"]["ImGuiWindowTempData"][19]["name"] = "NavHasScroll" +defs["structs"]["ImGuiWindowTempData"][19]["name"] = "NavHideHighlightOneFrame" defs["structs"]["ImGuiWindowTempData"][19]["type"] = "bool" defs["structs"]["ImGuiWindowTempData"][20] = {} -defs["structs"]["ImGuiWindowTempData"][20]["name"] = "MenuBarAppending" +defs["structs"]["ImGuiWindowTempData"][20]["name"] = "NavHasScroll" defs["structs"]["ImGuiWindowTempData"][20]["type"] = "bool" defs["structs"]["ImGuiWindowTempData"][21] = {} -defs["structs"]["ImGuiWindowTempData"][21]["name"] = "MenuBarOffset" -defs["structs"]["ImGuiWindowTempData"][21]["type"] = "ImVec2" +defs["structs"]["ImGuiWindowTempData"][21]["name"] = "MenuBarAppending" +defs["structs"]["ImGuiWindowTempData"][21]["type"] = "bool" defs["structs"]["ImGuiWindowTempData"][22] = {} -defs["structs"]["ImGuiWindowTempData"][22]["name"] = "MenuColumns" -defs["structs"]["ImGuiWindowTempData"][22]["type"] = "ImGuiMenuColumns" +defs["structs"]["ImGuiWindowTempData"][22]["name"] = "MenuBarOffset" +defs["structs"]["ImGuiWindowTempData"][22]["type"] = "ImVec2" defs["structs"]["ImGuiWindowTempData"][23] = {} -defs["structs"]["ImGuiWindowTempData"][23]["name"] = "TreeDepth" -defs["structs"]["ImGuiWindowTempData"][23]["type"] = "int" +defs["structs"]["ImGuiWindowTempData"][23]["name"] = "MenuColumns" +defs["structs"]["ImGuiWindowTempData"][23]["type"] = "ImGuiMenuColumns" defs["structs"]["ImGuiWindowTempData"][24] = {} -defs["structs"]["ImGuiWindowTempData"][24]["name"] = "TreeJumpToParentOnPopMask" -defs["structs"]["ImGuiWindowTempData"][24]["type"] = "ImU32" +defs["structs"]["ImGuiWindowTempData"][24]["name"] = "TreeDepth" +defs["structs"]["ImGuiWindowTempData"][24]["type"] = "int" defs["structs"]["ImGuiWindowTempData"][25] = {} -defs["structs"]["ImGuiWindowTempData"][25]["name"] = "ChildWindows" -defs["structs"]["ImGuiWindowTempData"][25]["template_type"] = "ImGuiWindow*" -defs["structs"]["ImGuiWindowTempData"][25]["type"] = "ImVector_ImGuiWindowPtr" +defs["structs"]["ImGuiWindowTempData"][25]["name"] = "TreeJumpToParentOnPopMask" +defs["structs"]["ImGuiWindowTempData"][25]["type"] = "ImU32" defs["structs"]["ImGuiWindowTempData"][26] = {} -defs["structs"]["ImGuiWindowTempData"][26]["name"] = "StateStorage" -defs["structs"]["ImGuiWindowTempData"][26]["type"] = "ImGuiStorage*" +defs["structs"]["ImGuiWindowTempData"][26]["name"] = "ChildWindows" +defs["structs"]["ImGuiWindowTempData"][26]["template_type"] = "ImGuiWindow*" +defs["structs"]["ImGuiWindowTempData"][26]["type"] = "ImVector_ImGuiWindowPtr" defs["structs"]["ImGuiWindowTempData"][27] = {} -defs["structs"]["ImGuiWindowTempData"][27]["name"] = "CurrentColumns" -defs["structs"]["ImGuiWindowTempData"][27]["type"] = "ImGuiOldColumns*" +defs["structs"]["ImGuiWindowTempData"][27]["name"] = "StateStorage" +defs["structs"]["ImGuiWindowTempData"][27]["type"] = "ImGuiStorage*" defs["structs"]["ImGuiWindowTempData"][28] = {} -defs["structs"]["ImGuiWindowTempData"][28]["name"] = "CurrentTableIdx" -defs["structs"]["ImGuiWindowTempData"][28]["type"] = "int" +defs["structs"]["ImGuiWindowTempData"][28]["name"] = "CurrentColumns" +defs["structs"]["ImGuiWindowTempData"][28]["type"] = "ImGuiOldColumns*" defs["structs"]["ImGuiWindowTempData"][29] = {} -defs["structs"]["ImGuiWindowTempData"][29]["name"] = "LayoutType" -defs["structs"]["ImGuiWindowTempData"][29]["type"] = "ImGuiLayoutType" +defs["structs"]["ImGuiWindowTempData"][29]["name"] = "CurrentTableIdx" +defs["structs"]["ImGuiWindowTempData"][29]["type"] = "int" defs["structs"]["ImGuiWindowTempData"][30] = {} -defs["structs"]["ImGuiWindowTempData"][30]["name"] = "ParentLayoutType" +defs["structs"]["ImGuiWindowTempData"][30]["name"] = "LayoutType" defs["structs"]["ImGuiWindowTempData"][30]["type"] = "ImGuiLayoutType" defs["structs"]["ImGuiWindowTempData"][31] = {} -defs["structs"]["ImGuiWindowTempData"][31]["name"] = "ItemWidth" -defs["structs"]["ImGuiWindowTempData"][31]["type"] = "float" +defs["structs"]["ImGuiWindowTempData"][31]["name"] = "ParentLayoutType" +defs["structs"]["ImGuiWindowTempData"][31]["type"] = "ImGuiLayoutType" defs["structs"]["ImGuiWindowTempData"][32] = {} -defs["structs"]["ImGuiWindowTempData"][32]["name"] = "TextWrapPos" +defs["structs"]["ImGuiWindowTempData"][32]["name"] = "ItemWidth" defs["structs"]["ImGuiWindowTempData"][32]["type"] = "float" defs["structs"]["ImGuiWindowTempData"][33] = {} -defs["structs"]["ImGuiWindowTempData"][33]["name"] = "ItemWidthStack" -defs["structs"]["ImGuiWindowTempData"][33]["template_type"] = "float" -defs["structs"]["ImGuiWindowTempData"][33]["type"] = "ImVector_float" +defs["structs"]["ImGuiWindowTempData"][33]["name"] = "TextWrapPos" +defs["structs"]["ImGuiWindowTempData"][33]["type"] = "float" defs["structs"]["ImGuiWindowTempData"][34] = {} -defs["structs"]["ImGuiWindowTempData"][34]["name"] = "TextWrapPosStack" +defs["structs"]["ImGuiWindowTempData"][34]["name"] = "ItemWidthStack" defs["structs"]["ImGuiWindowTempData"][34]["template_type"] = "float" defs["structs"]["ImGuiWindowTempData"][34]["type"] = "ImVector_float" +defs["structs"]["ImGuiWindowTempData"][35] = {} +defs["structs"]["ImGuiWindowTempData"][35]["name"] = "TextWrapPosStack" +defs["structs"]["ImGuiWindowTempData"][35]["template_type"] = "float" +defs["structs"]["ImGuiWindowTempData"][35]["type"] = "ImVector_float" defs["structs"]["ImRect"] = {} defs["structs"]["ImRect"][1] = {} defs["structs"]["ImRect"][1]["name"] = "Min" @@ -6986,5 +7947,133 @@ defs["structs"]["StbUndoState"][5]["type"] = "int" defs["structs"]["StbUndoState"][6] = {} defs["structs"]["StbUndoState"][6]["name"] = "redo_char_point" defs["structs"]["StbUndoState"][6]["type"] = "int" +defs["templated_structs"] = {} +defs["templated_structs"]["ImBitArray"] = {} +defs["templated_structs"]["ImBitArray"][1] = {} +defs["templated_structs"]["ImBitArray"][1]["name"] = "Storage[(BITCOUNT+31)>>5]" +defs["templated_structs"]["ImBitArray"][1]["type"] = "ImU32" +defs["templated_structs"]["ImChunkStream"] = {} +defs["templated_structs"]["ImChunkStream"][1] = {} +defs["templated_structs"]["ImChunkStream"][1]["name"] = "Buf" +defs["templated_structs"]["ImChunkStream"][1]["template_type"] = "char" +defs["templated_structs"]["ImChunkStream"][1]["type"] = "ImVector_char" +defs["templated_structs"]["ImPool"] = {} +defs["templated_structs"]["ImPool"][1] = {} +defs["templated_structs"]["ImPool"][1]["name"] = "Buf" +defs["templated_structs"]["ImPool"][1]["type"] = "ImVector" +defs["templated_structs"]["ImPool"][2] = {} +defs["templated_structs"]["ImPool"][2]["name"] = "Map" +defs["templated_structs"]["ImPool"][2]["type"] = "ImGuiStorage" +defs["templated_structs"]["ImPool"][3] = {} +defs["templated_structs"]["ImPool"][3]["name"] = "FreeIdx" +defs["templated_structs"]["ImPool"][3]["type"] = "ImPoolIdx" +defs["templated_structs"]["ImPool"][4] = {} +defs["templated_structs"]["ImPool"][4]["name"] = "AliveCount" +defs["templated_structs"]["ImPool"][4]["type"] = "ImPoolIdx" +defs["templated_structs"]["ImSpan"] = {} +defs["templated_structs"]["ImSpan"][1] = {} +defs["templated_structs"]["ImSpan"][1]["name"] = "Data" +defs["templated_structs"]["ImSpan"][1]["type"] = "T*" +defs["templated_structs"]["ImSpan"][2] = {} +defs["templated_structs"]["ImSpan"][2]["name"] = "DataEnd" +defs["templated_structs"]["ImSpan"][2]["type"] = "T*" +defs["templated_structs"]["ImSpanAllocator"] = {} +defs["templated_structs"]["ImSpanAllocator"][1] = {} +defs["templated_structs"]["ImSpanAllocator"][1]["name"] = "BasePtr" +defs["templated_structs"]["ImSpanAllocator"][1]["type"] = "char*" +defs["templated_structs"]["ImSpanAllocator"][2] = {} +defs["templated_structs"]["ImSpanAllocator"][2]["name"] = "CurrOff" +defs["templated_structs"]["ImSpanAllocator"][2]["type"] = "int" +defs["templated_structs"]["ImSpanAllocator"][3] = {} +defs["templated_structs"]["ImSpanAllocator"][3]["name"] = "CurrIdx" +defs["templated_structs"]["ImSpanAllocator"][3]["type"] = "int" +defs["templated_structs"]["ImSpanAllocator"][4] = {} +defs["templated_structs"]["ImSpanAllocator"][4]["name"] = "Offsets[CHUNKS]" +defs["templated_structs"]["ImSpanAllocator"][4]["type"] = "int" +defs["templated_structs"]["ImSpanAllocator"][5] = {} +defs["templated_structs"]["ImSpanAllocator"][5]["name"] = "Sizes[CHUNKS]" +defs["templated_structs"]["ImSpanAllocator"][5]["type"] = "int" +defs["templated_structs"]["ImVector"] = {} +defs["templated_structs"]["ImVector"][1] = {} +defs["templated_structs"]["ImVector"][1]["name"] = "Size" +defs["templated_structs"]["ImVector"][1]["type"] = "int" +defs["templated_structs"]["ImVector"][2] = {} +defs["templated_structs"]["ImVector"][2]["name"] = "Capacity" +defs["templated_structs"]["ImVector"][2]["type"] = "int" +defs["templated_structs"]["ImVector"][3] = {} +defs["templated_structs"]["ImVector"][3]["name"] = "Data" +defs["templated_structs"]["ImVector"][3]["type"] = "T*" +defs["templates_done"] = {} +defs["templates_done"]["ImBitArray"] = {} +defs["templates_done"]["ImBitArray"]["ImGuiKey_NamedKey_COUNT, -ImGuiKey_NamedKey_BEGIN"] = true +defs["templates_done"]["ImChunkStream"] = {} +defs["templates_done"]["ImChunkStream"]["ImGuiTableSettings"] = true +defs["templates_done"]["ImChunkStream"]["ImGuiWindowSettings"] = true +defs["templates_done"]["ImPool"] = {} +defs["templates_done"]["ImPool"]["ImGuiTabBar"] = true +defs["templates_done"]["ImPool"]["ImGuiTable"] = true +defs["templates_done"]["ImSpan"] = {} +defs["templates_done"]["ImSpan"]["ImGuiTableCellData"] = true +defs["templates_done"]["ImSpan"]["ImGuiTableColumn"] = true +defs["templates_done"]["ImSpan"]["ImGuiTableColumnIdx"] = true +defs["templates_done"]["ImVector"] = {} +defs["templates_done"]["ImVector"]["ImDrawChannel"] = true +defs["templates_done"]["ImVector"]["ImDrawCmd"] = true +defs["templates_done"]["ImVector"]["ImDrawIdx"] = true +defs["templates_done"]["ImVector"]["ImDrawList*"] = true +defs["templates_done"]["ImVector"]["ImDrawVert"] = true +defs["templates_done"]["ImVector"]["ImFont*"] = true +defs["templates_done"]["ImVector"]["ImFontAtlasCustomRect"] = true +defs["templates_done"]["ImVector"]["ImFontConfig"] = true +defs["templates_done"]["ImVector"]["ImFontGlyph"] = true +defs["templates_done"]["ImVector"]["ImGuiColorMod"] = true +defs["templates_done"]["ImVector"]["ImGuiContextHook"] = true +defs["templates_done"]["ImVector"]["ImGuiDockNodeSettings"] = true +defs["templates_done"]["ImVector"]["ImGuiDockRequest"] = true +defs["templates_done"]["ImVector"]["ImGuiGroupData"] = true +defs["templates_done"]["ImVector"]["ImGuiID"] = true +defs["templates_done"]["ImVector"]["ImGuiInputEvent"] = true +defs["templates_done"]["ImVector"]["ImGuiItemFlags"] = true +defs["templates_done"]["ImVector"]["ImGuiKeyRoutingData"] = true +defs["templates_done"]["ImVector"]["ImGuiListClipperData"] = true +defs["templates_done"]["ImVector"]["ImGuiListClipperRange"] = true +defs["templates_done"]["ImVector"]["ImGuiOldColumnData"] = true +defs["templates_done"]["ImVector"]["ImGuiOldColumns"] = true +defs["templates_done"]["ImVector"]["ImGuiPlatformMonitor"] = true +defs["templates_done"]["ImVector"]["ImGuiPopupData"] = true +defs["templates_done"]["ImVector"]["ImGuiPtrOrIndex"] = true +defs["templates_done"]["ImVector"]["ImGuiSettingsHandler"] = true +defs["templates_done"]["ImVector"]["ImGuiShrinkWidthItem"] = true +defs["templates_done"]["ImVector"]["ImGuiStackLevelInfo"] = true +defs["templates_done"]["ImVector"]["ImGuiStoragePair"] = true +defs["templates_done"]["ImVector"]["ImGuiStyleMod"] = true +defs["templates_done"]["ImVector"]["ImGuiTabBar"] = true +defs["templates_done"]["ImVector"]["ImGuiTabItem"] = true +defs["templates_done"]["ImVector"]["ImGuiTable"] = true +defs["templates_done"]["ImVector"]["ImGuiTableColumnSortSpecs"] = true +defs["templates_done"]["ImVector"]["ImGuiTableInstanceData"] = true +defs["templates_done"]["ImVector"]["ImGuiTableTempData"] = true +defs["templates_done"]["ImVector"]["ImGuiTextRange"] = true +defs["templates_done"]["ImVector"]["ImGuiViewport*"] = true +defs["templates_done"]["ImVector"]["ImGuiViewportP*"] = true +defs["templates_done"]["ImVector"]["ImGuiWindow*"] = true +defs["templates_done"]["ImVector"]["ImGuiWindowStackData"] = true +defs["templates_done"]["ImVector"]["ImTextureID"] = true +defs["templates_done"]["ImVector"]["ImU32"] = true +defs["templates_done"]["ImVector"]["ImVec2"] = true +defs["templates_done"]["ImVector"]["ImVec4"] = true +defs["templates_done"]["ImVector"]["ImWchar"] = true +defs["templates_done"]["ImVector"]["char"] = true +defs["templates_done"]["ImVector"]["const char*"] = true +defs["templates_done"]["ImVector"]["float"] = true +defs["templates_done"]["ImVector"]["int"] = true +defs["templates_done"]["ImVector"]["unsigned char"] = true +defs["typenames"] = {} +defs["typenames"]["ImBitArray"] = "int BITCOUNT, int OFFSET = 0" +defs["typenames"]["ImChunkStream"] = "T" +defs["typenames"]["ImPool"] = "T" +defs["typenames"]["ImSpan"] = "T" +defs["typenames"]["ImSpanAllocator"] = "int CHUNKS" +defs["typenames"]["ImVector"] = "T" return defs \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-docking/typedefs_dict.json b/imgui-sys/third-party/imgui-docking/typedefs_dict.json index e5acb3e..3cb480f 100644 --- a/imgui-sys/third-party/imgui-docking/typedefs_dict.json +++ b/imgui-sys/third-party/imgui-docking/typedefs_dict.json @@ -1,4 +1,5 @@ { + "ImBitArrayForNamedKeys": "ImBitArray", "ImBitVector": "struct ImBitVector", "ImColor": "struct ImColor", "ImDrawCallback": "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);", @@ -40,6 +41,7 @@ "ImGuiDataType": "int", "ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo", "ImGuiDataTypeTempStorage": "struct ImGuiDataTypeTempStorage", + "ImGuiDebugLogFlags": "int", "ImGuiDir": "int", "ImGuiDockContext": "struct ImGuiDockContext", "ImGuiDockNode": "struct ImGuiDockNode", @@ -53,28 +55,40 @@ "ImGuiHoveredFlags": "int", "ImGuiID": "unsigned int", "ImGuiIO": "struct ImGuiIO", + "ImGuiInputEvent": "struct ImGuiInputEvent", + "ImGuiInputEventAppFocused": "struct ImGuiInputEventAppFocused", + "ImGuiInputEventKey": "struct ImGuiInputEventKey", + "ImGuiInputEventMouseButton": "struct ImGuiInputEventMouseButton", + "ImGuiInputEventMousePos": "struct ImGuiInputEventMousePos", + "ImGuiInputEventMouseViewport": "struct ImGuiInputEventMouseViewport", + "ImGuiInputEventMouseWheel": "struct ImGuiInputEventMouseWheel", + "ImGuiInputEventText": "struct ImGuiInputEventText", + "ImGuiInputFlags": "int", "ImGuiInputTextCallback": "int(*)(ImGuiInputTextCallbackData* data);", "ImGuiInputTextCallbackData": "struct ImGuiInputTextCallbackData", "ImGuiInputTextFlags": "int", "ImGuiInputTextState": "struct ImGuiInputTextState", "ImGuiItemFlags": "int", "ImGuiItemStatusFlags": "int", - "ImGuiKey": "int", - "ImGuiKeyModFlags": "int", + "ImGuiKeyChord": "int", + "ImGuiKeyData": "struct ImGuiKeyData", + "ImGuiKeyOwnerData": "struct ImGuiKeyOwnerData", + "ImGuiKeyRoutingData": "struct ImGuiKeyRoutingData", + "ImGuiKeyRoutingIndex": "ImS16", + "ImGuiKeyRoutingTable": "struct ImGuiKeyRoutingTable", "ImGuiLastItemData": "struct ImGuiLastItemData", "ImGuiLayoutType": "int", "ImGuiListClipper": "struct ImGuiListClipper", "ImGuiListClipperData": "struct ImGuiListClipperData", "ImGuiListClipperRange": "struct ImGuiListClipperRange", + "ImGuiLocEntry": "struct ImGuiLocEntry", "ImGuiMemAllocFunc": "void*(*)(size_t sz,void* user_data);", "ImGuiMemFreeFunc": "void(*)(void* ptr,void* user_data);", "ImGuiMenuColumns": "struct ImGuiMenuColumns", "ImGuiMetricsConfig": "struct ImGuiMetricsConfig", "ImGuiMouseButton": "int", "ImGuiMouseCursor": "int", - "ImGuiNavDirSourceFlags": "int", "ImGuiNavHighlightFlags": "int", - "ImGuiNavInput": "int", "ImGuiNavItemData": "struct ImGuiNavItemData", "ImGuiNavMoveFlags": "int", "ImGuiNextItemData": "struct ImGuiNextItemData", @@ -87,6 +101,7 @@ "ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame", "ImGuiPayload": "struct ImGuiPayload", "ImGuiPlatformIO": "struct ImGuiPlatformIO", + "ImGuiPlatformImeData": "struct ImGuiPlatformImeData", "ImGuiPlatformMonitor": "struct ImGuiPlatformMonitor", "ImGuiPopupData": "struct ImGuiPopupData", "ImGuiPopupFlags": "int", @@ -123,6 +138,7 @@ "ImGuiTableColumnsSettings": "struct ImGuiTableColumnsSettings", "ImGuiTableDrawChannelIdx": "ImU8", "ImGuiTableFlags": "int", + "ImGuiTableInstanceData": "struct ImGuiTableInstanceData", "ImGuiTableRowFlags": "int", "ImGuiTableSettings": "struct ImGuiTableSettings", "ImGuiTableSortSpecs": "struct ImGuiTableSortSpecs", @@ -130,6 +146,7 @@ "ImGuiTextBuffer": "struct ImGuiTextBuffer", "ImGuiTextFilter": "struct ImGuiTextFilter", "ImGuiTextFlags": "int", + "ImGuiTextIndex": "struct ImGuiTextIndex", "ImGuiTextRange": "struct ImGuiTextRange", "ImGuiTooltipFlags": "int", "ImGuiTreeNodeFlags": "int", @@ -147,12 +164,12 @@ "ImRect": "struct ImRect", "ImS16": "signed short", "ImS32": "signed int", - "ImS64": "int64_t", + "ImS64": "signed long long", "ImS8": "signed char", "ImTextureID": "void*", "ImU16": "unsigned short", "ImU32": "unsigned int", - "ImU64": "uint64_t", + "ImU64": "unsigned long long", "ImU8": "unsigned char", "ImVec1": "struct ImVec1", "ImVec2": "struct ImVec2", diff --git a/imgui-sys/third-party/imgui-docking/typedefs_dict.lua b/imgui-sys/third-party/imgui-docking/typedefs_dict.lua index 4f5a92d..eba4c86 100644 --- a/imgui-sys/third-party/imgui-docking/typedefs_dict.lua +++ b/imgui-sys/third-party/imgui-docking/typedefs_dict.lua @@ -1,4 +1,5 @@ local defs = {} +defs["ImBitArrayForNamedKeys"] = "ImBitArray" defs["ImBitVector"] = "struct ImBitVector" defs["ImColor"] = "struct ImColor" defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" @@ -40,6 +41,7 @@ defs["ImGuiDataAuthority"] = "int" defs["ImGuiDataType"] = "int" defs["ImGuiDataTypeInfo"] = "struct ImGuiDataTypeInfo" defs["ImGuiDataTypeTempStorage"] = "struct ImGuiDataTypeTempStorage" +defs["ImGuiDebugLogFlags"] = "int" defs["ImGuiDir"] = "int" defs["ImGuiDockContext"] = "struct ImGuiDockContext" defs["ImGuiDockNode"] = "struct ImGuiDockNode" @@ -53,28 +55,40 @@ defs["ImGuiGroupData"] = "struct ImGuiGroupData" defs["ImGuiHoveredFlags"] = "int" defs["ImGuiID"] = "unsigned int" defs["ImGuiIO"] = "struct ImGuiIO" +defs["ImGuiInputEvent"] = "struct ImGuiInputEvent" +defs["ImGuiInputEventAppFocused"] = "struct ImGuiInputEventAppFocused" +defs["ImGuiInputEventKey"] = "struct ImGuiInputEventKey" +defs["ImGuiInputEventMouseButton"] = "struct ImGuiInputEventMouseButton" +defs["ImGuiInputEventMousePos"] = "struct ImGuiInputEventMousePos" +defs["ImGuiInputEventMouseViewport"] = "struct ImGuiInputEventMouseViewport" +defs["ImGuiInputEventMouseWheel"] = "struct ImGuiInputEventMouseWheel" +defs["ImGuiInputEventText"] = "struct ImGuiInputEventText" +defs["ImGuiInputFlags"] = "int" defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData* data);" defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData" defs["ImGuiInputTextFlags"] = "int" defs["ImGuiInputTextState"] = "struct ImGuiInputTextState" defs["ImGuiItemFlags"] = "int" defs["ImGuiItemStatusFlags"] = "int" -defs["ImGuiKey"] = "int" -defs["ImGuiKeyModFlags"] = "int" +defs["ImGuiKeyChord"] = "int" +defs["ImGuiKeyData"] = "struct ImGuiKeyData" +defs["ImGuiKeyOwnerData"] = "struct ImGuiKeyOwnerData" +defs["ImGuiKeyRoutingData"] = "struct ImGuiKeyRoutingData" +defs["ImGuiKeyRoutingIndex"] = "ImS16" +defs["ImGuiKeyRoutingTable"] = "struct ImGuiKeyRoutingTable" defs["ImGuiLastItemData"] = "struct ImGuiLastItemData" defs["ImGuiLayoutType"] = "int" defs["ImGuiListClipper"] = "struct ImGuiListClipper" defs["ImGuiListClipperData"] = "struct ImGuiListClipperData" defs["ImGuiListClipperRange"] = "struct ImGuiListClipperRange" +defs["ImGuiLocEntry"] = "struct ImGuiLocEntry" defs["ImGuiMemAllocFunc"] = "void*(*)(size_t sz,void* user_data);" defs["ImGuiMemFreeFunc"] = "void(*)(void* ptr,void* user_data);" defs["ImGuiMenuColumns"] = "struct ImGuiMenuColumns" defs["ImGuiMetricsConfig"] = "struct ImGuiMetricsConfig" defs["ImGuiMouseButton"] = "int" defs["ImGuiMouseCursor"] = "int" -defs["ImGuiNavDirSourceFlags"] = "int" defs["ImGuiNavHighlightFlags"] = "int" -defs["ImGuiNavInput"] = "int" defs["ImGuiNavItemData"] = "struct ImGuiNavItemData" defs["ImGuiNavMoveFlags"] = "int" defs["ImGuiNextItemData"] = "struct ImGuiNextItemData" @@ -87,6 +101,7 @@ defs["ImGuiOldColumns"] = "struct ImGuiOldColumns" defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame" defs["ImGuiPayload"] = "struct ImGuiPayload" defs["ImGuiPlatformIO"] = "struct ImGuiPlatformIO" +defs["ImGuiPlatformImeData"] = "struct ImGuiPlatformImeData" defs["ImGuiPlatformMonitor"] = "struct ImGuiPlatformMonitor" defs["ImGuiPopupData"] = "struct ImGuiPopupData" defs["ImGuiPopupFlags"] = "int" @@ -123,6 +138,7 @@ defs["ImGuiTableColumnSortSpecs"] = "struct ImGuiTableColumnSortSpecs" defs["ImGuiTableColumnsSettings"] = "struct ImGuiTableColumnsSettings" defs["ImGuiTableDrawChannelIdx"] = "ImU8" defs["ImGuiTableFlags"] = "int" +defs["ImGuiTableInstanceData"] = "struct ImGuiTableInstanceData" defs["ImGuiTableRowFlags"] = "int" defs["ImGuiTableSettings"] = "struct ImGuiTableSettings" defs["ImGuiTableSortSpecs"] = "struct ImGuiTableSortSpecs" @@ -130,6 +146,7 @@ defs["ImGuiTableTempData"] = "struct ImGuiTableTempData" defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer" defs["ImGuiTextFilter"] = "struct ImGuiTextFilter" defs["ImGuiTextFlags"] = "int" +defs["ImGuiTextIndex"] = "struct ImGuiTextIndex" defs["ImGuiTextRange"] = "struct ImGuiTextRange" defs["ImGuiTooltipFlags"] = "int" defs["ImGuiTreeNodeFlags"] = "int" @@ -147,12 +164,12 @@ defs["ImPoolIdx"] = "int" defs["ImRect"] = "struct ImRect" defs["ImS16"] = "signed short" defs["ImS32"] = "signed int" -defs["ImS64"] = "int64_t" +defs["ImS64"] = "signed long long" defs["ImS8"] = "signed char" defs["ImTextureID"] = "void*" defs["ImU16"] = "unsigned short" defs["ImU32"] = "unsigned int" -defs["ImU64"] = "uint64_t" +defs["ImU64"] = "unsigned long long" defs["ImU8"] = "unsigned char" defs["ImVec1"] = "struct ImVec1" defs["ImVec2"] = "struct ImVec2" diff --git a/imgui-sys/third-party/imgui-master/cimgui.cpp b/imgui-sys/third-party/imgui-master/cimgui.cpp index 2a81cc5..af31a48 100644 --- a/imgui-sys/third-party/imgui-master/cimgui.cpp +++ b/imgui-sys/third-party/imgui-master/cimgui.cpp @@ -1,8 +1,16 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.86" from Dear ImGui https://github.com/ocornut/imgui - -#include "./imgui/imgui.h" +//based on imgui.h file version "1.89.1 WIP" 18910 from Dear ImGui https://github.com/ocornut/imgui +#ifdef IMGUI_ENABLE_FREETYPE +#ifndef CIMGUI_FREETYPE +#error "IMGUI_FREETYPE should be defined for Freetype linking" +#endif +#else #ifdef CIMGUI_FREETYPE +#error "IMGUI_FREETYPE should not be defined without freetype generated cimgui" +#endif +#endif +#include "./imgui/imgui.h" +#ifdef IMGUI_ENABLE_FREETYPE #include "./imgui/misc/freetype/imgui_freetype.h" #endif #include "./imgui/imgui_internal.h" @@ -10,7 +18,7 @@ -CIMGUI_API ImVec2* ImVec2_ImVec2Nil(void) +CIMGUI_API ImVec2* ImVec2_ImVec2_Nil(void) { return IM_NEW(ImVec2)(); } @@ -18,11 +26,11 @@ CIMGUI_API void ImVec2_destroy(ImVec2* self) { IM_DELETE(self); } -CIMGUI_API ImVec2* ImVec2_ImVec2Float(float _x,float _y) +CIMGUI_API ImVec2* ImVec2_ImVec2_Float(float _x,float _y) { return IM_NEW(ImVec2)(_x,_y); } -CIMGUI_API ImVec4* ImVec4_ImVec4Nil(void) +CIMGUI_API ImVec4* ImVec4_ImVec4_Nil(void) { return IM_NEW(ImVec4)(); } @@ -30,7 +38,7 @@ CIMGUI_API void ImVec4_destroy(ImVec4* self) { IM_DELETE(self); } -CIMGUI_API ImVec4* ImVec4_ImVec4Float(float _x,float _y,float _z,float _w) +CIMGUI_API ImVec4* ImVec4_ImVec4_Float(float _x,float _y,float _z,float _w) { return IM_NEW(ImVec4)(_x,_y,_z,_w); } @@ -82,6 +90,10 @@ CIMGUI_API void igShowMetricsWindow(bool* p_open) { return ImGui::ShowMetricsWindow(p_open); } +CIMGUI_API void igShowDebugLogWindow(bool* p_open) +{ + return ImGui::ShowDebugLogWindow(p_open); +} CIMGUI_API void igShowStackToolWindow(bool* p_open) { return ImGui::ShowStackToolWindow(p_open); @@ -130,11 +142,11 @@ CIMGUI_API void igEnd() { return ImGui::End(); } -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild_Str(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) +CIMGUI_API bool igBeginChild_ID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(id,size,border,flags); } @@ -202,23 +214,27 @@ CIMGUI_API void igSetNextWindowFocus() { return ImGui::SetNextWindowFocus(); } +CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll) +{ + return ImGui::SetNextWindowScroll(scroll); +} CIMGUI_API void igSetNextWindowBgAlpha(float alpha) { return ImGui::SetNextWindowBgAlpha(alpha); } -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPos_Vec2(const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(pos,cond); } -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSize_Vec2(const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(size,cond); } -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsed_Bool(bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(collapsed,cond); } -CIMGUI_API void igSetWindowFocusNil() +CIMGUI_API void igSetWindowFocus_Nil() { return ImGui::SetWindowFocus(); } @@ -226,19 +242,19 @@ CIMGUI_API void igSetWindowFontScale(float scale) { return ImGui::SetWindowFontScale(scale); } -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond) +CIMGUI_API void igSetWindowPos_Str(const char* name,const ImVec2 pos,ImGuiCond cond) { return ImGui::SetWindowPos(name,pos,cond); } -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond) +CIMGUI_API void igSetWindowSize_Str(const char* name,const ImVec2 size,ImGuiCond cond) { return ImGui::SetWindowSize(name,size,cond); } -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond) +CIMGUI_API void igSetWindowCollapsed_Str(const char* name,bool collapsed,ImGuiCond cond) { return ImGui::SetWindowCollapsed(name,collapsed,cond); } -CIMGUI_API void igSetWindowFocusStr(const char* name) +CIMGUI_API void igSetWindowFocus_Str(const char* name) { return ImGui::SetWindowFocus(name); } @@ -306,11 +322,11 @@ CIMGUI_API void igPopFont() { return ImGui::PopFont(); } -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col) +CIMGUI_API void igPushStyleColor_U32(ImGuiCol idx,ImU32 col) { return ImGui::PushStyleColor(idx,col); } -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col) +CIMGUI_API void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4 col) { return ImGui::PushStyleColor(idx,col); } @@ -318,11 +334,11 @@ CIMGUI_API void igPopStyleColor(int count) { return ImGui::PopStyleColor(count); } -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val) +CIMGUI_API void igPushStyleVar_Float(ImGuiStyleVar idx,float val) { return ImGui::PushStyleVar(idx,val); } -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val) +CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val) { return ImGui::PushStyleVar(idx,val); } @@ -382,15 +398,15 @@ CIMGUI_API void igGetFontTexUvWhitePixel(ImVec2 *pOut) { *pOut = ImGui::GetFontTexUvWhitePixel(); } -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul) +CIMGUI_API ImU32 igGetColorU32_Col(ImGuiCol idx,float alpha_mul) { return ImGui::GetColorU32(idx,alpha_mul); } -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col) +CIMGUI_API ImU32 igGetColorU32_Vec4(const ImVec4 col) { return ImGui::GetColorU32(col); } -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col) +CIMGUI_API ImU32 igGetColorU32_U32(ImU32 col) { return ImGui::GetColorU32(col); } @@ -490,19 +506,19 @@ CIMGUI_API float igGetFrameHeightWithSpacing() { return ImGui::GetFrameHeightWithSpacing(); } -CIMGUI_API void igPushIDStr(const char* str_id) +CIMGUI_API void igPushID_Str(const char* str_id) { return ImGui::PushID(str_id); } -CIMGUI_API void igPushIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API void igPushID_StrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::PushID(str_id_begin,str_id_end); } -CIMGUI_API void igPushIDPtr(const void* ptr_id) +CIMGUI_API void igPushID_Ptr(const void* ptr_id) { return ImGui::PushID(ptr_id); } -CIMGUI_API void igPushIDInt(int int_id) +CIMGUI_API void igPushID_Int(int int_id) { return ImGui::PushID(int_id); } @@ -510,15 +526,15 @@ CIMGUI_API void igPopID() { return ImGui::PopID(); } -CIMGUI_API ImGuiID igGetIDStr(const char* str_id) +CIMGUI_API ImGuiID igGetID_Str(const char* str_id) { return ImGui::GetID(str_id); } -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end) +CIMGUI_API ImGuiID igGetID_StrStr(const char* str_id_begin,const char* str_id_end) { return ImGui::GetID(str_id_begin,str_id_end); } -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id) +CIMGUI_API ImGuiID igGetID_Ptr(const void* ptr_id) { return ImGui::GetID(ptr_id); } @@ -608,31 +624,23 @@ CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir) { return ImGui::ArrowButton(str_id,dir); } -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) -{ - return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); -} -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col) -{ - return ImGui::ImageButton(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col); -} CIMGUI_API bool igCheckbox(const char* label,bool* v) { return ImGui::Checkbox(label,v); } -CIMGUI_API bool igCheckboxFlagsIntPtr(const char* label,int* flags,int flags_value) +CIMGUI_API bool igCheckboxFlags_IntPtr(const char* label,int* flags,int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igCheckboxFlagsUintPtr(const char* label,unsigned int* flags,unsigned int flags_value) +CIMGUI_API bool igCheckboxFlags_UintPtr(const char* label,unsigned int* flags,unsigned int flags_value) { return ImGui::CheckboxFlags(label,flags,flags_value); } -CIMGUI_API bool igRadioButtonBool(const char* label,bool active) +CIMGUI_API bool igRadioButton_Bool(const char* label,bool active) { return ImGui::RadioButton(label,active); } -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button) +CIMGUI_API bool igRadioButton_IntPtr(const char* label,int* v,int v_button) { return ImGui::RadioButton(label,v,v_button); } @@ -644,6 +652,14 @@ CIMGUI_API void igBullet() { return ImGui::Bullet(); } +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) +{ + return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); +} +CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col) +{ + return ImGui::ImageButton(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col); +} CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags) { return ImGui::BeginCombo(label,preview_value,flags); @@ -652,15 +668,15 @@ CIMGUI_API void igEndCombo() { return ImGui::EndCombo(); } -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items,items_count,popup_max_height_in_items); } -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) +CIMGUI_API bool igCombo_Str(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items); } -CIMGUI_API bool igComboFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) +CIMGUI_API bool igCombo_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items) { return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items); } @@ -840,7 +856,7 @@ CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlag { return ImGui::ColorPicker4(label,col,flags,ref_col); } -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size) +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size) { return ImGui::ColorButton(desc_id,col,flags,size); } @@ -848,11 +864,11 @@ CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags) { return ImGui::SetColorEditOptions(flags); } -CIMGUI_API bool igTreeNodeStr(const char* label) +CIMGUI_API bool igTreeNode_Str(const char* label) { return ImGui::TreeNode(label); } -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) +CIMGUI_API bool igTreeNode_StrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -860,7 +876,7 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...) va_end(args); return ret; } -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) +CIMGUI_API bool igTreeNode_Ptr(const void* ptr_id,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -868,19 +884,19 @@ CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...) va_end(args); return ret; } -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeV_Str(const char* str_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(str_id,fmt,args); } -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeV_Ptr(const void* ptr_id,const char* fmt,va_list args) { return ImGui::TreeNodeV(ptr_id,fmt,args); } -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igTreeNodeEx_Str(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::TreeNodeEx(label,flags); } -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeEx_StrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -888,7 +904,7 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c va_end(args); return ret; } -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) +CIMGUI_API bool igTreeNodeEx_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...) { va_list args; va_start(args, fmt); @@ -896,19 +912,19 @@ CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,cons va_end(args); return ret; } -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExV_Str(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(str_id,flags,fmt,args); } -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) +CIMGUI_API bool igTreeNodeExV_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args) { return ImGui::TreeNodeExV(ptr_id,flags,fmt,args); } -CIMGUI_API void igTreePushStr(const char* str_id) +CIMGUI_API void igTreePush_Str(const char* str_id) { return ImGui::TreePush(str_id); } -CIMGUI_API void igTreePushPtr(const void* ptr_id) +CIMGUI_API void igTreePush_Ptr(const void* ptr_id) { return ImGui::TreePush(ptr_id); } @@ -920,11 +936,11 @@ CIMGUI_API float igGetTreeNodeToLabelSpacing() { return ImGui::GetTreeNodeToLabelSpacing(); } -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader_TreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,flags); } -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags) +CIMGUI_API bool igCollapsingHeader_BoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags) { return ImGui::CollapsingHeader(label,p_visible,flags); } @@ -932,11 +948,11 @@ CIMGUI_API void igSetNextItemOpen(bool is_open,ImGuiCond cond) { return ImGui::SetNextItemOpen(is_open,cond); } -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) +CIMGUI_API bool igSelectable_BoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,p_selected,flags,size); } @@ -948,43 +964,43 @@ CIMGUI_API void igEndListBox() { return ImGui::EndListBox(); } -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) +CIMGUI_API bool igListBox_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items,items_count,height_in_items); } -CIMGUI_API bool igListBoxFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) +CIMGUI_API bool igListBox_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items) { return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items); } -CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) +CIMGUI_API void igPlotLines_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) { return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotLinesFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) +CIMGUI_API void igPlotLines_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) { return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) +CIMGUI_API void igPlotHistogram_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride) { return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride); } -CIMGUI_API void igPlotHistogramFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) +CIMGUI_API void igPlotHistogram_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size) { return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size); } -CIMGUI_API void igValueBool(const char* prefix,bool b) +CIMGUI_API void igValue_Bool(const char* prefix,bool b) { return ImGui::Value(prefix,b); } -CIMGUI_API void igValueInt(const char* prefix,int v) +CIMGUI_API void igValue_Int(const char* prefix,int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueUint(const char* prefix,unsigned int v) +CIMGUI_API void igValue_Uint(const char* prefix,unsigned int v) { return ImGui::Value(prefix,v); } -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format) +CIMGUI_API void igValue_Float(const char* prefix,float v,const char* float_format) { return ImGui::Value(prefix,v,float_format); } @@ -1012,11 +1028,11 @@ CIMGUI_API void igEndMenu() { return ImGui::EndMenu(); } -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled) +CIMGUI_API bool igMenuItem_Bool(const char* label,const char* shortcut,bool selected,bool enabled) { return ImGui::MenuItem(label,shortcut,selected,enabled); } -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) +CIMGUI_API bool igMenuItem_BoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled) { return ImGui::MenuItem(label,shortcut,p_selected,enabled); } @@ -1051,11 +1067,11 @@ CIMGUI_API void igEndPopup() { return ImGui::EndPopup(); } -CIMGUI_API void igOpenPopupStr(const char* str_id,ImGuiPopupFlags popup_flags) +CIMGUI_API void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags) { return ImGui::OpenPopup(str_id,popup_flags); } -CIMGUI_API void igOpenPopupID(ImGuiID id,ImGuiPopupFlags popup_flags) +CIMGUI_API void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags) { return ImGui::OpenPopup(id,popup_flags); } @@ -1355,11 +1371,19 @@ CIMGUI_API ImGuiViewport* igGetMainViewport() { return ImGui::GetMainViewport(); } -CIMGUI_API bool igIsRectVisibleNil(const ImVec2 size) +CIMGUI_API ImDrawList* igGetBackgroundDrawList() +{ + return ImGui::GetBackgroundDrawList(); +} +CIMGUI_API ImDrawList* igGetForegroundDrawList() +{ + return ImGui::GetForegroundDrawList(); +} +CIMGUI_API bool igIsRectVisible_Nil(const ImVec2 size) { return ImGui::IsRectVisible(size); } -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max) +CIMGUI_API bool igIsRectVisible_Vec2(const ImVec2 rect_min,const ImVec2 rect_max) { return ImGui::IsRectVisible(rect_min,rect_max); } @@ -1371,14 +1395,6 @@ CIMGUI_API int igGetFrameCount() { return ImGui::GetFrameCount(); } -CIMGUI_API ImDrawList* igGetBackgroundDrawList() -{ - return ImGui::GetBackgroundDrawList(); -} -CIMGUI_API ImDrawList* igGetForegroundDrawList() -{ - return ImGui::GetForegroundDrawList(); -} CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData() { return ImGui::GetDrawListSharedData(); @@ -1423,29 +1439,29 @@ CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,floa { return ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b); } -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key) +CIMGUI_API bool igIsKeyDown(ImGuiKey key) { - return ImGui::GetKeyIndex(imgui_key); + return ImGui::IsKeyDown(key); } -CIMGUI_API bool igIsKeyDown(int user_key_index) +CIMGUI_API bool igIsKeyPressed(ImGuiKey key,bool repeat) { - return ImGui::IsKeyDown(user_key_index); + return ImGui::IsKeyPressed(key,repeat); } -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat) +CIMGUI_API bool igIsKeyReleased(ImGuiKey key) { - return ImGui::IsKeyPressed(user_key_index,repeat); + return ImGui::IsKeyReleased(key); } -CIMGUI_API bool igIsKeyReleased(int user_key_index) +CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate) { - return ImGui::IsKeyReleased(user_key_index); + return ImGui::GetKeyPressedAmount(key,repeat_delay,rate); } -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate) +CIMGUI_API const char* igGetKeyName(ImGuiKey key) { - return ImGui::GetKeyPressedAmount(key_index,repeat_delay,rate); + return ImGui::GetKeyName(key); } -CIMGUI_API void igCaptureKeyboardFromApp(bool want_capture_keyboard_value) +CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) { - return ImGui::CaptureKeyboardFromApp(want_capture_keyboard_value); + return ImGui::SetNextFrameWantCaptureKeyboard(want_capture_keyboard); } CIMGUI_API bool igIsMouseDown(ImGuiMouseButton button) { @@ -1507,9 +1523,9 @@ CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor cursor_type) { return ImGui::SetMouseCursor(cursor_type); } -CIMGUI_API void igCaptureMouseFromApp(bool want_capture_mouse_value) +CIMGUI_API void igSetNextFrameWantCaptureMouse(bool want_capture_mouse) { - return ImGui::CaptureMouseFromApp(want_capture_mouse_value); + return ImGui::SetNextFrameWantCaptureMouse(want_capture_mouse); } CIMGUI_API const char* igGetClipboardText() { @@ -1535,6 +1551,10 @@ CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size) { return ImGui::SaveIniSettingsToMemory(out_ini_size); } +CIMGUI_API void igDebugTextEncoding(const char* text) +{ + return ImGui::DebugTextEncoding(text); +} CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx) { return ImGui::DebugCheckVersionAndDataLayout(version_str,sz_io,sz_style,sz_vec2,sz_vec4,sz_drawvert,sz_drawidx); @@ -1567,6 +1587,30 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor) { return self->ScaleAllSizes(scale_factor); } +CIMGUI_API void ImGuiIO_AddKeyEvent(ImGuiIO* self,ImGuiKey key,bool down) +{ + return self->AddKeyEvent(key,down); +} +CIMGUI_API void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self,ImGuiKey key,bool down,float v) +{ + return self->AddKeyAnalogEvent(key,down,v); +} +CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self,float x,float y) +{ + return self->AddMousePosEvent(x,y); +} +CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self,int button,bool down) +{ + return self->AddMouseButtonEvent(button,down); +} +CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self,float wh_x,float wh_y) +{ + return self->AddMouseWheelEvent(wh_x,wh_y); +} +CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused) +{ + return self->AddFocusEvent(focused); +} CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,unsigned int c) { return self->AddInputCharacter(c); @@ -1579,9 +1623,13 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* str) { return self->AddInputCharactersUTF8(str); } -CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused) +CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index) { - return self->AddFocusEvent(focused); + return self->SetKeyEventNativeData(key,native_keycode,native_scancode,native_legacy_index); +} +CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self,bool accepting_events) +{ + return self->SetAppAcceptingEvents(accepting_events); } CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self) { @@ -1703,7 +1751,7 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self) { return self->IsActive(); } -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeNil(void) +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Nil(void) { return IM_NEW(ImGuiTextRange)(); } @@ -1711,7 +1759,7 @@ CIMGUI_API void ImGuiTextRange_destroy(ImGuiTextRange* self) { IM_DELETE(self); } -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeStr(const char* _b,const char* _e) +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Str(const char* _b,const char* _e) { return IM_NEW(ImGuiTextRange)(_b,_e); } @@ -1767,7 +1815,7 @@ CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,v { return self->appendfv(fmt,args); } -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairInt(ImGuiID _key,int _val_i) +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val_i) { return IM_NEW(ImGuiStoragePair)(_key,_val_i); } @@ -1775,11 +1823,11 @@ CIMGUI_API void ImGuiStoragePair_destroy(ImGuiStoragePair* self) { IM_DELETE(self); } -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairFloat(ImGuiID _key,float _val_f) +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val_f) { return IM_NEW(ImGuiStoragePair)(_key,_val_f); } -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairPtr(ImGuiID _key,void* _val_p) +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val_p) { return IM_NEW(ImGuiStoragePair)(_key,_val_p); } @@ -1867,7 +1915,7 @@ CIMGUI_API void ImGuiListClipper_ForceDisplayRangeByIndices(ImGuiListClipper* se { return self->ForceDisplayRangeByIndices(item_min,item_max); } -CIMGUI_API ImColor* ImColor_ImColorNil(void) +CIMGUI_API ImColor* ImColor_ImColor_Nil(void) { return IM_NEW(ImColor)(); } @@ -1875,22 +1923,22 @@ CIMGUI_API void ImColor_destroy(ImColor* self) { IM_DELETE(self); } -CIMGUI_API ImColor* ImColor_ImColorInt(int r,int g,int b,int a) +CIMGUI_API ImColor* ImColor_ImColor_Float(float r,float g,float b,float a) { return IM_NEW(ImColor)(r,g,b,a); } -CIMGUI_API ImColor* ImColor_ImColorU32(ImU32 rgba) -{ - return IM_NEW(ImColor)(rgba); -} -CIMGUI_API ImColor* ImColor_ImColorFloat(float r,float g,float b,float a) -{ - return IM_NEW(ImColor)(r,g,b,a); -} -CIMGUI_API ImColor* ImColor_ImColorVec4(const ImVec4 col) +CIMGUI_API ImColor* ImColor_ImColor_Vec4(const ImVec4 col) { return IM_NEW(ImColor)(col); } +CIMGUI_API ImColor* ImColor_ImColor_Int(int r,int g,int b,int a) +{ + return IM_NEW(ImColor)(r,g,b,a); +} +CIMGUI_API ImColor* ImColor_ImColor_U32(ImU32 rgba) +{ + return IM_NEW(ImColor)(rgba); +} CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a) { return self->SetHSV(h,s,v,a); @@ -1939,7 +1987,7 @@ CIMGUI_API void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self,Im { return self->SetCurrentChannel(draw_list,channel_idx); } -CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data) +CIMGUI_API ImDrawList* ImDrawList_ImDrawList(ImDrawListSharedData* shared_data) { return IM_NEW(ImDrawList)(shared_data); } @@ -1947,7 +1995,7 @@ CIMGUI_API void ImDrawList_destroy(ImDrawList* self) { IM_DELETE(self); } -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect) { return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect); } @@ -2023,11 +2071,11 @@ CIMGUI_API void ImDrawList_AddNgonFilled(ImDrawList* self,const ImVec2 center,fl { return self->AddNgonFilled(center,radius,col,num_segments); } -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) +CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end) { return self->AddText(pos,col,text_begin,text_end); } -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) +CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect) { return self->AddText(font,font_size,pos,col,text_begin,text_end,wrap_width,cpu_fine_clip_rect); } @@ -2343,6 +2391,10 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self) { return self->GetGlyphRangesDefault(); } +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesGreek(ImFontAtlas* self) +{ + return self->GetGlyphRangesGreek(); +} CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self) { return self->GetGlyphRangesKorean(); @@ -2427,11 +2479,11 @@ CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,con { return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width); } -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c) +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c) { return self->RenderChar(draw_list,size,pos,col,c); } -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip) { return self->RenderText(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip); } @@ -2479,6 +2531,18 @@ CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self) { *pOut = self->GetWorkCenter(); } +CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void) +{ + return IM_NEW(ImGuiPlatformImeData)(); +} +CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self) +{ + IM_DELETE(self); +} +CIMGUI_API ImGuiKey igGetKeyIndex(ImGuiKey key) +{ + return ImGui::GetKeyIndex(key); +} diff --git a/imgui-sys/third-party/imgui-master/cimgui.h b/imgui-sys/third-party/imgui-master/cimgui.h index c65f8c2..3aded16 100644 --- a/imgui-sys/third-party/imgui-master/cimgui.h +++ b/imgui-sys/third-party/imgui-master/cimgui.h @@ -1,5 +1,5 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.86" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.89.1 WIP" 18910 from Dear ImGui https://github.com/ocornut/imgui #ifndef CIMGUI_INCLUDED #define CIMGUI_INCLUDED #include @@ -10,9 +10,6 @@ #else #define API __declspec(dllexport) #endif - #ifndef __GNUC__ - #define snprintf sprintf_s - #endif #else #ifdef __GNUC__ #define API __attribute__((__visibility__("default"))) @@ -41,41 +38,37 @@ typedef unsigned __int64 ImU64; #ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef struct ImFontAtlasCustomRect ImFontAtlasCustomRect; -typedef struct ImDrawCmdHeader ImDrawCmdHeader; -typedef struct ImGuiStoragePair ImGuiStoragePair; -typedef struct ImGuiTextRange ImGuiTextRange; -typedef struct ImVec4 ImVec4; -typedef struct ImVec2 ImVec2; -typedef struct ImGuiViewport ImGuiViewport; -typedef struct ImGuiTextFilter ImGuiTextFilter; -typedef struct ImGuiTextBuffer ImGuiTextBuffer; -typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs; -typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs; -typedef struct ImGuiStyle ImGuiStyle; -typedef struct ImGuiStorage ImGuiStorage; -typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; -typedef struct ImGuiPayload ImGuiPayload; -typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; -typedef struct ImGuiListClipper ImGuiListClipper; -typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; -typedef struct ImGuiIO ImGuiIO; -typedef struct ImGuiContext ImGuiContext; -typedef struct ImColor ImColor; -typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder; -typedef struct ImFontGlyph ImFontGlyph; -typedef struct ImFontConfig ImFontConfig; -typedef struct ImFontBuilderIO ImFontBuilderIO; -typedef struct ImFontAtlas ImFontAtlas; -typedef struct ImFont ImFont; -typedef struct ImDrawVert ImDrawVert; -typedef struct ImDrawListSplitter ImDrawListSplitter; -typedef struct ImDrawListSharedData ImDrawListSharedData; -typedef struct ImDrawList ImDrawList; -typedef struct ImDrawData ImDrawData; -typedef struct ImDrawCmd ImDrawCmd; -typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawChannel ImDrawChannel; +typedef struct ImDrawCmd ImDrawCmd; +typedef struct ImDrawData ImDrawData; +typedef struct ImDrawList ImDrawList; +typedef struct ImDrawListSharedData ImDrawListSharedData; +typedef struct ImDrawListSplitter ImDrawListSplitter; +typedef struct ImDrawVert ImDrawVert; +typedef struct ImFont ImFont; +typedef struct ImFontAtlas ImFontAtlas; +typedef struct ImFontBuilderIO ImFontBuilderIO; +typedef struct ImFontConfig ImFontConfig; +typedef struct ImFontGlyph ImFontGlyph; +typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder; +typedef struct ImColor ImColor; +typedef struct ImGuiContext ImGuiContext; +typedef struct ImGuiIO ImGuiIO; +typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData; +typedef struct ImGuiKeyData ImGuiKeyData; +typedef struct ImGuiListClipper ImGuiListClipper; +typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame; +typedef struct ImGuiPayload ImGuiPayload; +typedef struct ImGuiPlatformImeData ImGuiPlatformImeData; +typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData; +typedef struct ImGuiStorage ImGuiStorage; +typedef struct ImGuiStyle ImGuiStyle; +typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs; +typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs; +typedef struct ImGuiTextBuffer ImGuiTextBuffer; +typedef struct ImGuiTextFilter ImGuiTextFilter; +typedef struct ImGuiViewport ImGuiViewport; struct ImDrawChannel; struct ImDrawCmd; struct ImDrawData; @@ -93,9 +86,11 @@ struct ImColor; struct ImGuiContext; struct ImGuiIO; struct ImGuiInputTextCallbackData; +struct ImGuiKeyData; struct ImGuiListClipper; struct ImGuiOnceUponAFrame; struct ImGuiPayload; +struct ImGuiPlatformImeData; struct ImGuiSizeCallbackData; struct ImGuiStorage; struct ImGuiStyle; @@ -108,8 +103,6 @@ typedef int ImGuiCol; typedef int ImGuiCond; typedef int ImGuiDataType; typedef int ImGuiDir; -typedef int ImGuiKey; -typedef int ImGuiNavInput; typedef int ImGuiMouseButton; typedef int ImGuiMouseCursor; typedef int ImGuiSortDirection; @@ -127,7 +120,7 @@ typedef int ImGuiDragDropFlags; typedef int ImGuiFocusedFlags; typedef int ImGuiHoveredFlags; typedef int ImGuiInputTextFlags; -typedef int ImGuiKeyModFlags; +typedef int ImGuiKeyChord; typedef int ImGuiPopupFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiSliderFlags; @@ -148,8 +141,8 @@ typedef signed short ImS16; typedef unsigned short ImU16; typedef signed int ImS32; typedef unsigned int ImU32; -typedef int64_t ImS64; -typedef uint64_t ImU64; +typedef signed long long ImS64; +typedef unsigned long long ImU64; typedef unsigned short ImWchar16; typedef unsigned int ImWchar32; typedef ImWchar32 ImWchar; @@ -157,30 +150,12 @@ typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data); typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data); typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data); typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data); -typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); -typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector; -typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel; -typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd; -typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx; -typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert; -typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr; -typedef struct ImVector_ImFontAtlasCustomRect {int Size;int Capacity;ImFontAtlasCustomRect* Data;} ImVector_ImFontAtlasCustomRect; -typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig; -typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph; -typedef struct ImVector_ImGuiStoragePair {int Size;int Capacity;ImGuiStoragePair* Data;} ImVector_ImGuiStoragePair; -typedef struct ImVector_ImGuiTextRange {int Size;int Capacity;ImGuiTextRange* Data;} ImVector_ImGuiTextRange; -typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID; -typedef struct ImVector_ImU32 {int Size;int Capacity;ImU32* Data;} ImVector_ImU32; -typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2; -typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4; -typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar; -typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char; -typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float; - +typedef struct ImVec2 ImVec2; struct ImVec2 { float x, y; }; +typedef struct ImVec4 ImVec4; struct ImVec4 { float x, y, z, w; @@ -215,7 +190,7 @@ typedef enum { ImGuiWindowFlags_Tooltip = 1 << 25, ImGuiWindowFlags_Popup = 1 << 26, ImGuiWindowFlags_Modal = 1 << 27, - ImGuiWindowFlags_ChildMenu = 1 << 28 + ImGuiWindowFlags_ChildMenu = 1 << 28, }ImGuiWindowFlags_; typedef enum { ImGuiInputTextFlags_None = 0, @@ -238,7 +213,8 @@ typedef enum { ImGuiInputTextFlags_NoUndoRedo = 1 << 16, ImGuiInputTextFlags_CharsScientific = 1 << 17, ImGuiInputTextFlags_CallbackResize = 1 << 18, - ImGuiInputTextFlags_CallbackEdit = 1 << 19 + ImGuiInputTextFlags_CallbackEdit = 1 << 19, + ImGuiInputTextFlags_EscapeClearsAll = 1 << 20, }ImGuiInputTextFlags_; typedef enum { ImGuiTreeNodeFlags_None = 0, @@ -256,7 +232,7 @@ typedef enum { ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11, ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12, ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog, }ImGuiTreeNodeFlags_; typedef enum { ImGuiPopupFlags_None = 0, @@ -269,7 +245,7 @@ typedef enum { ImGuiPopupFlags_NoOpenOverItems = 1 << 6, ImGuiPopupFlags_AnyPopupId = 1 << 7, ImGuiPopupFlags_AnyPopupLevel = 1 << 8, - ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, }ImGuiPopupFlags_; typedef enum { ImGuiSelectableFlags_None = 0, @@ -277,7 +253,7 @@ typedef enum { ImGuiSelectableFlags_SpanAllColumns = 1 << 1, ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, ImGuiSelectableFlags_Disabled = 1 << 3, - ImGuiSelectableFlags_AllowItemOverlap = 1 << 4 + ImGuiSelectableFlags_AllowItemOverlap = 1 << 4, }ImGuiSelectableFlags_; typedef enum { ImGuiComboFlags_None = 0, @@ -288,7 +264,7 @@ typedef enum { ImGuiComboFlags_HeightLargest = 1 << 4, ImGuiComboFlags_NoArrowButton = 1 << 5, ImGuiComboFlags_NoPreview = 1 << 6, - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest, }ImGuiComboFlags_; typedef enum { ImGuiTabBarFlags_None = 0, @@ -301,7 +277,7 @@ typedef enum { ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 6, ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7, ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll, - ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown + ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown, }ImGuiTabBarFlags_; typedef enum { ImGuiTabItemFlags_None = 0, @@ -312,7 +288,7 @@ typedef enum { ImGuiTabItemFlags_NoTooltip = 1 << 4, ImGuiTabItemFlags_NoReorder = 1 << 5, ImGuiTabItemFlags_Leading = 1 << 6, - ImGuiTabItemFlags_Trailing = 1 << 7 + ImGuiTabItemFlags_Trailing = 1 << 7, }ImGuiTabItemFlags_; typedef enum { ImGuiTableFlags_None = 0, @@ -350,7 +326,7 @@ typedef enum { ImGuiTableFlags_ScrollY = 1 << 25, ImGuiTableFlags_SortMulti = 1 << 26, ImGuiTableFlags_SortTristate = 1 << 27, - ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame + ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame, }ImGuiTableFlags_; typedef enum { ImGuiTableColumnFlags_None = 0, @@ -379,17 +355,17 @@ typedef enum { ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed, ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable, ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered, - ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30 + ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30, }ImGuiTableColumnFlags_; typedef enum { ImGuiTableRowFlags_None = 0, - ImGuiTableRowFlags_Headers = 1 << 0 + ImGuiTableRowFlags_Headers = 1 << 0, }ImGuiTableRowFlags_; typedef enum { ImGuiTableBgTarget_None = 0, ImGuiTableBgTarget_RowBg0 = 1, ImGuiTableBgTarget_RowBg1 = 2, - ImGuiTableBgTarget_CellBg = 3 + ImGuiTableBgTarget_CellBg = 3, }ImGuiTableBgTarget_; typedef enum { ImGuiFocusedFlags_None = 0, @@ -397,7 +373,7 @@ typedef enum { ImGuiFocusedFlags_RootWindow = 1 << 1, ImGuiFocusedFlags_AnyWindow = 1 << 2, ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3, - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows, }ImGuiFocusedFlags_; typedef enum { ImGuiHoveredFlags_None = 0, @@ -409,8 +385,12 @@ typedef enum { ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7, ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 8, ImGuiHoveredFlags_AllowWhenDisabled = 1 << 9, + ImGuiHoveredFlags_NoNavOverride = 1 << 10, ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows, + ImGuiHoveredFlags_DelayNormal = 1 << 11, + ImGuiHoveredFlags_DelayShort = 1 << 12, + ImGuiHoveredFlags_NoSharedDelay = 1 << 13, }ImGuiHoveredFlags_; typedef enum { ImGuiDragDropFlags_None = 0, @@ -423,7 +403,7 @@ typedef enum { ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, }ImGuiDragDropFlags_; typedef enum { ImGuiDataType_S8, @@ -452,61 +432,166 @@ typedef enum { ImGuiSortDirection_Descending = 2 }ImGuiSortDirection_; typedef enum { - ImGuiKey_Tab, - ImGuiKey_LeftArrow, - ImGuiKey_RightArrow, - ImGuiKey_UpArrow, - ImGuiKey_DownArrow, - ImGuiKey_PageUp, - ImGuiKey_PageDown, - ImGuiKey_Home, - ImGuiKey_End, - ImGuiKey_Insert, - ImGuiKey_Delete, - ImGuiKey_Backspace, - ImGuiKey_Space, - ImGuiKey_Enter, - ImGuiKey_Escape, - ImGuiKey_KeyPadEnter, - ImGuiKey_A, - ImGuiKey_C, - ImGuiKey_V, - ImGuiKey_X, - ImGuiKey_Y, - ImGuiKey_Z, - ImGuiKey_COUNT -}ImGuiKey_; +ImGuiKey_None=0, +ImGuiKey_Tab=512, +ImGuiKey_LeftArrow=513, +ImGuiKey_RightArrow=514, +ImGuiKey_UpArrow=515, +ImGuiKey_DownArrow=516, +ImGuiKey_PageUp=517, +ImGuiKey_PageDown=518, +ImGuiKey_Home=519, +ImGuiKey_End=520, +ImGuiKey_Insert=521, +ImGuiKey_Delete=522, +ImGuiKey_Backspace=523, +ImGuiKey_Space=524, +ImGuiKey_Enter=525, +ImGuiKey_Escape=526, +ImGuiKey_LeftCtrl=527, +ImGuiKey_LeftShift=528, +ImGuiKey_LeftAlt=529, +ImGuiKey_LeftSuper=530, +ImGuiKey_RightCtrl=531, +ImGuiKey_RightShift=532, +ImGuiKey_RightAlt=533, +ImGuiKey_RightSuper=534, +ImGuiKey_Menu=535, +ImGuiKey_0=536, +ImGuiKey_1=537, +ImGuiKey_2=538, +ImGuiKey_3=539, +ImGuiKey_4=540, +ImGuiKey_5=541, +ImGuiKey_6=542, +ImGuiKey_7=543, +ImGuiKey_8=544, +ImGuiKey_9=545, +ImGuiKey_A=546, +ImGuiKey_B=547, +ImGuiKey_C=548, +ImGuiKey_D=549, +ImGuiKey_E=550, +ImGuiKey_F=551, +ImGuiKey_G=552, +ImGuiKey_H=553, +ImGuiKey_I=554, +ImGuiKey_J=555, +ImGuiKey_K=556, +ImGuiKey_L=557, +ImGuiKey_M=558, +ImGuiKey_N=559, +ImGuiKey_O=560, +ImGuiKey_P=561, +ImGuiKey_Q=562, +ImGuiKey_R=563, +ImGuiKey_S=564, +ImGuiKey_T=565, +ImGuiKey_U=566, +ImGuiKey_V=567, +ImGuiKey_W=568, +ImGuiKey_X=569, +ImGuiKey_Y=570, +ImGuiKey_Z=571, +ImGuiKey_F1=572, +ImGuiKey_F2=573, +ImGuiKey_F3=574, +ImGuiKey_F4=575, +ImGuiKey_F5=576, +ImGuiKey_F6=577, +ImGuiKey_F7=578, +ImGuiKey_F8=579, +ImGuiKey_F9=580, +ImGuiKey_F10=581, +ImGuiKey_F11=582, +ImGuiKey_F12=583, +ImGuiKey_Apostrophe=584, +ImGuiKey_Comma=585, +ImGuiKey_Minus=586, +ImGuiKey_Period=587, +ImGuiKey_Slash=588, +ImGuiKey_Semicolon=589, +ImGuiKey_Equal=590, +ImGuiKey_LeftBracket=591, +ImGuiKey_Backslash=592, +ImGuiKey_RightBracket=593, +ImGuiKey_GraveAccent=594, +ImGuiKey_CapsLock=595, +ImGuiKey_ScrollLock=596, +ImGuiKey_NumLock=597, +ImGuiKey_PrintScreen=598, +ImGuiKey_Pause=599, +ImGuiKey_Keypad0=600, +ImGuiKey_Keypad1=601, +ImGuiKey_Keypad2=602, +ImGuiKey_Keypad3=603, +ImGuiKey_Keypad4=604, +ImGuiKey_Keypad5=605, +ImGuiKey_Keypad6=606, +ImGuiKey_Keypad7=607, +ImGuiKey_Keypad8=608, +ImGuiKey_Keypad9=609, +ImGuiKey_KeypadDecimal=610, +ImGuiKey_KeypadDivide=611, +ImGuiKey_KeypadMultiply=612, +ImGuiKey_KeypadSubtract=613, +ImGuiKey_KeypadAdd=614, +ImGuiKey_KeypadEnter=615, +ImGuiKey_KeypadEqual=616, +ImGuiKey_GamepadStart=617, +ImGuiKey_GamepadBack=618, +ImGuiKey_GamepadFaceLeft=619, +ImGuiKey_GamepadFaceRight=620, +ImGuiKey_GamepadFaceUp=621, +ImGuiKey_GamepadFaceDown=622, +ImGuiKey_GamepadDpadLeft=623, +ImGuiKey_GamepadDpadRight=624, +ImGuiKey_GamepadDpadUp=625, +ImGuiKey_GamepadDpadDown=626, +ImGuiKey_GamepadL1=627, +ImGuiKey_GamepadR1=628, +ImGuiKey_GamepadL2=629, +ImGuiKey_GamepadR2=630, +ImGuiKey_GamepadL3=631, +ImGuiKey_GamepadR3=632, +ImGuiKey_GamepadLStickLeft=633, +ImGuiKey_GamepadLStickRight=634, +ImGuiKey_GamepadLStickUp=635, +ImGuiKey_GamepadLStickDown=636, +ImGuiKey_GamepadRStickLeft=637, +ImGuiKey_GamepadRStickRight=638, +ImGuiKey_GamepadRStickUp=639, +ImGuiKey_GamepadRStickDown=640, +ImGuiKey_MouseLeft=641, +ImGuiKey_MouseRight=642, +ImGuiKey_MouseMiddle=643, +ImGuiKey_MouseX1=644, +ImGuiKey_MouseX2=645, +ImGuiKey_MouseWheelX=646, +ImGuiKey_MouseWheelY=647, +ImGuiKey_ReservedForModCtrl=648, +ImGuiKey_ReservedForModShift=649, +ImGuiKey_ReservedForModAlt=650, +ImGuiKey_ReservedForModSuper=651, +ImGuiKey_COUNT=652, +ImGuiMod_None=0, +ImGuiMod_Ctrl=1 << 12, +ImGuiMod_Shift=1 << 13, +ImGuiMod_Alt=1 << 14, +ImGuiMod_Super=1 << 15, +ImGuiMod_Mask_=0xF000, +ImGuiMod_Shortcut=ImGuiMod_Ctrl, +ImGuiKey_NamedKey_BEGIN=512, +ImGuiKey_NamedKey_END=ImGuiKey_COUNT, +ImGuiKey_NamedKey_COUNT=ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN, +ImGuiKey_KeysData_SIZE=ImGuiKey_COUNT, +ImGuiKey_KeysData_OFFSET=0, +}ImGuiKey; typedef enum { - ImGuiKeyModFlags_None = 0, - ImGuiKeyModFlags_Ctrl = 1 << 0, - ImGuiKeyModFlags_Shift = 1 << 1, - ImGuiKeyModFlags_Alt = 1 << 2, - ImGuiKeyModFlags_Super = 1 << 3 -}ImGuiKeyModFlags_; -typedef enum { - ImGuiNavInput_Activate, - ImGuiNavInput_Cancel, - ImGuiNavInput_Input, - ImGuiNavInput_Menu, - ImGuiNavInput_DpadLeft, - ImGuiNavInput_DpadRight, - ImGuiNavInput_DpadUp, - ImGuiNavInput_DpadDown, - ImGuiNavInput_LStickLeft, - ImGuiNavInput_LStickRight, - ImGuiNavInput_LStickUp, - ImGuiNavInput_LStickDown, - ImGuiNavInput_FocusPrev, - ImGuiNavInput_FocusNext, - ImGuiNavInput_TweakSlow, - ImGuiNavInput_TweakFast, - ImGuiNavInput_KeyLeft_, - ImGuiNavInput_KeyRight_, - ImGuiNavInput_KeyUp_, - ImGuiNavInput_KeyDown_, + ImGuiNavInput_Activate, ImGuiNavInput_Cancel, ImGuiNavInput_Input, ImGuiNavInput_Menu, ImGuiNavInput_DpadLeft, ImGuiNavInput_DpadRight, ImGuiNavInput_DpadUp, ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, ImGuiNavInput_LStickRight, ImGuiNavInput_LStickUp, ImGuiNavInput_LStickDown, ImGuiNavInput_FocusPrev, ImGuiNavInput_FocusNext, ImGuiNavInput_TweakSlow, ImGuiNavInput_TweakFast, ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyLeft_ -}ImGuiNavInput_; +}ImGuiNavInput; typedef enum { ImGuiConfigFlags_None = 0, ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, @@ -516,14 +601,14 @@ typedef enum { ImGuiConfigFlags_NoMouse = 1 << 4, ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, ImGuiConfigFlags_IsSRGB = 1 << 20, - ImGuiConfigFlags_IsTouchScreen = 1 << 21 + ImGuiConfigFlags_IsTouchScreen = 1 << 21, }ImGuiConfigFlags_; typedef enum { ImGuiBackendFlags_None = 0, ImGuiBackendFlags_HasGamepad = 1 << 0, ImGuiBackendFlags_HasMouseCursors = 1 << 1, ImGuiBackendFlags_HasSetMousePos = 1 << 2, - ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3 + ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3, }ImGuiBackendFlags_; typedef enum { ImGuiCol_Text, @@ -615,7 +700,7 @@ typedef enum { ImGuiButtonFlags_MouseButtonRight = 1 << 1, ImGuiButtonFlags_MouseButtonMiddle = 1 << 2, ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle, - ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft + ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft, }ImGuiButtonFlags_; typedef enum { ImGuiColorEditFlags_None = 0, @@ -646,7 +731,7 @@ typedef enum { ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex, ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float, ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV + ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV, }ImGuiColorEditFlags_; typedef enum { ImGuiSliderFlags_None = 0, @@ -654,7 +739,7 @@ typedef enum { ImGuiSliderFlags_Logarithmic = 1 << 5, ImGuiSliderFlags_NoRoundToFormat = 1 << 6, ImGuiSliderFlags_NoInput = 1 << 7, - ImGuiSliderFlags_InvalidMask_ = 0x7000000F + ImGuiSliderFlags_InvalidMask_ = 0x7000000F, }ImGuiSliderFlags_; typedef enum { ImGuiMouseButton_Left = 0, @@ -680,7 +765,7 @@ typedef enum { ImGuiCond_Always = 1 << 0, ImGuiCond_Once = 1 << 1, ImGuiCond_FirstUseEver = 1 << 2, - ImGuiCond_Appearing = 1 << 3 + ImGuiCond_Appearing = 1 << 3, }ImGuiCond_; struct ImGuiStyle { @@ -726,6 +811,15 @@ struct ImGuiStyle float CircleTessellationMaxError; ImVec4 Colors[ImGuiCol_COUNT]; }; +struct ImGuiKeyData +{ + bool Down; + float DownDuration; + float DownDurationPrev; + float AnalogValue; +}; +typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar; + struct ImGuiIO { ImGuiConfigFlags ConfigFlags; @@ -738,9 +832,10 @@ struct ImGuiIO float MouseDoubleClickTime; float MouseDoubleClickMaxDist; float MouseDragThreshold; - int KeyMap[ImGuiKey_COUNT]; float KeyRepeatDelay; float KeyRepeatRate; + float HoverDelayNormal; + float HoverDelayShort; void* UserData; ImFontAtlas*Fonts; float FontGlobalScale; @@ -749,7 +844,9 @@ struct ImGuiIO ImVec2 DisplayFramebufferScale; bool MouseDrawCursor; bool ConfigMacOSXBehaviors; + bool ConfigInputTrickleEventQueue; bool ConfigInputTextCursorBlink; + bool ConfigInputTextEnterKeepActive; bool ConfigDragClickToInputText; bool ConfigWindowsResizeFromEdges; bool ConfigWindowsMoveFromTitleBarOnly; @@ -762,18 +859,8 @@ struct ImGuiIO const char* (*GetClipboardTextFn)(void* user_data); void (*SetClipboardTextFn)(void* user_data, const char* text); void* ClipboardUserData; - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; - ImVec2 MousePos; - bool MouseDown[5]; - float MouseWheel; - float MouseWheelH; - bool KeyCtrl; - bool KeyShift; - bool KeyAlt; - bool KeySuper; - bool KeysDown[512]; - float NavInputs[ImGuiNavInput_COUNT]; + void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data); + void* _UnusedPadding; bool WantCaptureMouse; bool WantCaptureKeyboard; bool WantTextInput; @@ -788,9 +875,20 @@ struct ImGuiIO int MetricsActiveWindows; int MetricsActiveAllocations; ImVec2 MouseDelta; + int KeyMap[ImGuiKey_COUNT]; + bool KeysDown[ImGuiKey_COUNT]; + float NavInputs[ImGuiNavInput_COUNT]; + ImVec2 MousePos; + bool MouseDown[5]; + float MouseWheel; + float MouseWheelH; + bool KeyCtrl; + bool KeyShift; + bool KeyAlt; + bool KeySuper; + ImGuiKeyChord KeyMods; + ImGuiKeyData KeysData[ImGuiKey_KeysData_SIZE]; bool WantCaptureMouseUnlessPopupClose; - ImGuiKeyModFlags KeyMods; - ImGuiKeyModFlags KeyModsPrev; ImVec2 MousePosPrev; ImVec2 MouseClickedPos[5]; double MouseClickedTime[5]; @@ -803,14 +901,12 @@ struct ImGuiIO bool MouseDownOwnedUnlessPopupClose[5]; float MouseDownDuration[5]; float MouseDownDurationPrev[5]; - ImVec2 MouseDragMaxDistanceAbs[5]; float MouseDragMaxDistanceSqr[5]; - float KeysDownDuration[512]; - float KeysDownDurationPrev[512]; - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; float PenPressure; bool AppFocusLost; + bool AppAcceptingEvents; + ImS8 BackendUsingLegacyKeyArrays; + bool BackendUsingLegacyNavInputArray; ImWchar16 InputQueueSurrogate; ImVector_ImWchar InputQueueCharacters; }; @@ -869,12 +965,19 @@ struct ImGuiTextRange const char* b; const char* e; }; +typedef struct ImGuiTextRange ImGuiTextRange; + +typedef struct ImVector_ImGuiTextRange {int Size;int Capacity;ImGuiTextRange* Data;} ImVector_ImGuiTextRange; + struct ImGuiTextFilter { char InputBuf[256]; ImVector_ImGuiTextRange Filters; int CountGrep; }; +typedef struct ImGuiTextRange ImGuiTextRange; +typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char; + struct ImGuiTextBuffer { ImVector_char Buf; @@ -884,10 +987,15 @@ struct ImGuiStoragePair ImGuiID key; union { int val_i; float val_f; void* val_p; }; }; +typedef struct ImGuiStoragePair ImGuiStoragePair; + +typedef struct ImVector_ImGuiStoragePair {int Size;int Capacity;ImGuiStoragePair* Data;} ImVector_ImGuiStoragePair; + struct ImGuiStorage { ImVector_ImGuiStoragePair Data; }; +typedef struct ImGuiStoragePair ImGuiStoragePair; struct ImGuiListClipper { int DisplayStart; @@ -901,6 +1009,7 @@ struct ImColor { ImVec4 Value; }; +typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd); struct ImDrawCmd { ImVec4 ClipRect; @@ -917,17 +1026,24 @@ struct ImDrawVert ImVec2 uv; ImU32 col; }; +typedef struct ImDrawCmdHeader ImDrawCmdHeader; struct ImDrawCmdHeader { ImVec4 ClipRect; ImTextureID TextureId; unsigned int VtxOffset; }; +typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd; + +typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx; + struct ImDrawChannel { ImVector_ImDrawCmd _CmdBuffer; ImVector_ImDrawIdx _IdxBuffer; }; +typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel; + struct ImDrawListSplitter { int _Current; @@ -948,15 +1064,23 @@ typedef enum { ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight, ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, - ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone + ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, }ImDrawFlags_; typedef enum { ImDrawListFlags_None = 0, ImDrawListFlags_AntiAliasedLines = 1 << 0, ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, ImDrawListFlags_AntiAliasedFill = 1 << 2, - ImDrawListFlags_AllowVtxOffset = 1 << 3 + ImDrawListFlags_AllowVtxOffset = 1 << 3, }ImDrawListFlags_; +typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert; + +typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4; + +typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID; + +typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2; + struct ImDrawList { ImVector_ImDrawCmd CmdBuffer; @@ -964,7 +1088,7 @@ struct ImDrawList ImVector_ImDrawVert VtxBuffer; ImDrawListFlags Flags; unsigned int _VtxCurrentIdx; - const ImDrawListSharedData* _Data; + ImDrawListSharedData* _Data; const char* _OwnerName; ImDrawVert* _VtxWritePtr; ImDrawIdx* _IdxWritePtr; @@ -1017,10 +1141,13 @@ struct ImFontGlyph float X0, Y0, X1, Y1; float U0, V0, U1, V1; }; +typedef struct ImVector_ImU32 {int Size;int Capacity;ImU32* Data;} ImVector_ImU32; + struct ImFontGlyphRangesBuilder { ImVector_ImU32 UsedChars; }; +typedef struct ImFontAtlasCustomRect ImFontAtlasCustomRect; struct ImFontAtlasCustomRect { unsigned short Width, Height; @@ -1034,8 +1161,14 @@ typedef enum { ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, ImFontAtlasFlags_NoMouseCursors = 1 << 1, - ImFontAtlasFlags_NoBakedLines = 1 << 2 + ImFontAtlasFlags_NoBakedLines = 1 << 2, }ImFontAtlasFlags_; +typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr; + +typedef struct ImVector_ImFontAtlasCustomRect {int Size;int Capacity;ImFontAtlasCustomRect* Data;} ImVector_ImFontAtlasCustomRect; + +typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig; + struct ImFontAtlas { ImFontAtlasFlags Flags; @@ -1060,6 +1193,10 @@ struct ImFontAtlas int PackIdMouseCursors; int PackIdLines; }; +typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float; + +typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph; + struct ImFont { ImVector_float IndexAdvanceX; @@ -1084,7 +1221,7 @@ typedef enum { ImGuiViewportFlags_None = 0, ImGuiViewportFlags_IsPlatformWindow = 1 << 0, ImGuiViewportFlags_IsPlatformMonitor = 1 << 1, - ImGuiViewportFlags_OwnedByApp = 1 << 2 + ImGuiViewportFlags_OwnedByApp = 1 << 2, }ImGuiViewportFlags_; struct ImGuiViewport { @@ -1093,6 +1230,13 @@ struct ImGuiViewport ImVec2 Size; ImVec2 WorkPos; ImVec2 WorkSize; + void* PlatformHandleRaw; +}; +struct ImGuiPlatformImeData +{ + bool WantVisible; + ImVec2 InputPos; + float InputLineHeight; }; #else struct GLFWwindow; @@ -1101,8 +1245,8 @@ typedef union SDL_Event SDL_Event; #endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS #ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS -typedef ImGuiStorage::ImGuiStoragePair ImGuiStoragePair; -typedef ImGuiTextFilter::ImGuiTextRange ImGuiTextRange; +typedef struct ImGuiStorage::ImGuiStoragePair ImGuiStoragePair; +typedef struct ImGuiTextFilter::ImGuiTextRange ImGuiTextRange; typedef ImVector ImVector_ImDrawChannel; typedef ImVector ImVector_ImDrawCmd; typedef ImVector ImVector_ImDrawIdx; @@ -1121,12 +1265,12 @@ typedef ImVector ImVector_ImWchar; typedef ImVector ImVector_char; typedef ImVector ImVector_float; #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS -CIMGUI_API ImVec2* ImVec2_ImVec2Nil(void); +CIMGUI_API ImVec2* ImVec2_ImVec2_Nil(void); CIMGUI_API void ImVec2_destroy(ImVec2* self); -CIMGUI_API ImVec2* ImVec2_ImVec2Float(float _x,float _y); -CIMGUI_API ImVec4* ImVec4_ImVec4Nil(void); +CIMGUI_API ImVec2* ImVec2_ImVec2_Float(float _x,float _y); +CIMGUI_API ImVec4* ImVec4_ImVec4_Nil(void); CIMGUI_API void ImVec4_destroy(ImVec4* self); -CIMGUI_API ImVec4* ImVec4_ImVec4Float(float _x,float _y,float _z,float _w); +CIMGUI_API ImVec4* ImVec4_ImVec4_Float(float _x,float _y,float _z,float _w); CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas); CIMGUI_API void igDestroyContext(ImGuiContext* ctx); CIMGUI_API ImGuiContext* igGetCurrentContext(void); @@ -1139,6 +1283,7 @@ CIMGUI_API void igRender(void); CIMGUI_API ImDrawData* igGetDrawData(void); CIMGUI_API void igShowDemoWindow(bool* p_open); CIMGUI_API void igShowMetricsWindow(bool* p_open); +CIMGUI_API void igShowDebugLogWindow(bool* p_open); CIMGUI_API void igShowStackToolWindow(bool* p_open); CIMGUI_API void igShowAboutWindow(bool* p_open); CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); @@ -1151,8 +1296,8 @@ CIMGUI_API void igStyleColorsLight(ImGuiStyle* dst); CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); CIMGUI_API bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEnd(void); -CIMGUI_API bool igBeginChildStr(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginChildID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChild_Str(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags); +CIMGUI_API bool igBeginChild_ID(ImGuiID id,const ImVec2 size,bool border,ImGuiWindowFlags flags); CIMGUI_API void igEndChild(void); CIMGUI_API bool igIsWindowAppearing(void); CIMGUI_API bool igIsWindowCollapsed(void); @@ -1169,16 +1314,17 @@ CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec CIMGUI_API void igSetNextWindowContentSize(const ImVec2 size); CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond); CIMGUI_API void igSetNextWindowFocus(void); +CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll); CIMGUI_API void igSetNextWindowBgAlpha(float alpha); -CIMGUI_API void igSetWindowPosVec2(const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeVec2(const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedBool(bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusNil(void); +CIMGUI_API void igSetWindowPos_Vec2(const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSize_Vec2(const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsed_Bool(bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus_Nil(void); CIMGUI_API void igSetWindowFontScale(float scale); -CIMGUI_API void igSetWindowPosStr(const char* name,const ImVec2 pos,ImGuiCond cond); -CIMGUI_API void igSetWindowSizeStr(const char* name,const ImVec2 size,ImGuiCond cond); -CIMGUI_API void igSetWindowCollapsedStr(const char* name,bool collapsed,ImGuiCond cond); -CIMGUI_API void igSetWindowFocusStr(const char* name); +CIMGUI_API void igSetWindowPos_Str(const char* name,const ImVec2 pos,ImGuiCond cond); +CIMGUI_API void igSetWindowSize_Str(const char* name,const ImVec2 size,ImGuiCond cond); +CIMGUI_API void igSetWindowCollapsed_Str(const char* name,bool collapsed,ImGuiCond cond); +CIMGUI_API void igSetWindowFocus_Str(const char* name); CIMGUI_API void igGetContentRegionAvail(ImVec2 *pOut); CIMGUI_API void igGetContentRegionMax(ImVec2 *pOut); CIMGUI_API void igGetWindowContentRegionMin(ImVec2 *pOut); @@ -1195,11 +1341,11 @@ CIMGUI_API void igSetScrollFromPosX(float local_x,float center_x_ratio); CIMGUI_API void igSetScrollFromPosY(float local_y,float center_y_ratio); CIMGUI_API void igPushFont(ImFont* font); CIMGUI_API void igPopFont(void); -CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col); -CIMGUI_API void igPushStyleColorVec4(ImGuiCol idx,const ImVec4 col); +CIMGUI_API void igPushStyleColor_U32(ImGuiCol idx,ImU32 col); +CIMGUI_API void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4 col); CIMGUI_API void igPopStyleColor(int count); -CIMGUI_API void igPushStyleVarFloat(ImGuiStyleVar idx,float val); -CIMGUI_API void igPushStyleVarVec2(ImGuiStyleVar idx,const ImVec2 val); +CIMGUI_API void igPushStyleVar_Float(ImGuiStyleVar idx,float val); +CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val); CIMGUI_API void igPopStyleVar(int count); CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus); CIMGUI_API void igPopAllowKeyboardFocus(void); @@ -1214,9 +1360,9 @@ CIMGUI_API void igPopTextWrapPos(void); CIMGUI_API ImFont* igGetFont(void); CIMGUI_API float igGetFontSize(void); CIMGUI_API void igGetFontTexUvWhitePixel(ImVec2 *pOut); -CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul); -CIMGUI_API ImU32 igGetColorU32Vec4(const ImVec4 col); -CIMGUI_API ImU32 igGetColorU32U32(ImU32 col); +CIMGUI_API ImU32 igGetColorU32_Col(ImGuiCol idx,float alpha_mul); +CIMGUI_API ImU32 igGetColorU32_Vec4(const ImVec4 col); +CIMGUI_API ImU32 igGetColorU32_U32(ImU32 col); CIMGUI_API const ImVec4* igGetStyleColorVec4(ImGuiCol idx); CIMGUI_API void igSeparator(void); CIMGUI_API void igSameLine(float offset_from_start_x,float spacing); @@ -1241,14 +1387,14 @@ CIMGUI_API float igGetTextLineHeight(void); CIMGUI_API float igGetTextLineHeightWithSpacing(void); CIMGUI_API float igGetFrameHeight(void); CIMGUI_API float igGetFrameHeightWithSpacing(void); -CIMGUI_API void igPushIDStr(const char* str_id); -CIMGUI_API void igPushIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API void igPushIDPtr(const void* ptr_id); -CIMGUI_API void igPushIDInt(int int_id); +CIMGUI_API void igPushID_Str(const char* str_id); +CIMGUI_API void igPushID_StrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API void igPushID_Ptr(const void* ptr_id); +CIMGUI_API void igPushID_Int(int int_id); CIMGUI_API void igPopID(void); -CIMGUI_API ImGuiID igGetIDStr(const char* str_id); -CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end); -CIMGUI_API ImGuiID igGetIDPtr(const void* ptr_id); +CIMGUI_API ImGuiID igGetID_Str(const char* str_id); +CIMGUI_API ImGuiID igGetID_StrStr(const char* str_id_begin,const char* str_id_end); +CIMGUI_API ImGuiID igGetID_Ptr(const void* ptr_id); CIMGUI_API void igTextUnformatted(const char* text,const char* text_end); CIMGUI_API void igText(const char* fmt,...); CIMGUI_API void igTextV(const char* fmt,va_list args); @@ -1266,20 +1412,20 @@ CIMGUI_API bool igButton(const char* label,const ImVec2 size); CIMGUI_API bool igSmallButton(const char* label); CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size,ImGuiButtonFlags flags); CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir); -CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); -CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API bool igCheckbox(const char* label,bool* v); -CIMGUI_API bool igCheckboxFlagsIntPtr(const char* label,int* flags,int flags_value); -CIMGUI_API bool igCheckboxFlagsUintPtr(const char* label,unsigned int* flags,unsigned int flags_value); -CIMGUI_API bool igRadioButtonBool(const char* label,bool active); -CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); +CIMGUI_API bool igCheckboxFlags_IntPtr(const char* label,int* flags,int flags_value); +CIMGUI_API bool igCheckboxFlags_UintPtr(const char* label,unsigned int* flags,unsigned int flags_value); +CIMGUI_API bool igRadioButton_Bool(const char* label,bool active); +CIMGUI_API bool igRadioButton_IntPtr(const char* label,int* v,int v_button); CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay); CIMGUI_API void igBullet(void); +CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col); +CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col); CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags); CIMGUI_API void igEndCombo(void); -CIMGUI_API bool igComboStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); -CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); -CIMGUI_API bool igComboFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); +CIMGUI_API bool igCombo_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items); +CIMGUI_API bool igCombo_Str(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items); +CIMGUI_API bool igCombo_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items); CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags); CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags); CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags); @@ -1324,47 +1470,47 @@ CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags); CIMGUI_API bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col); -CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size); +CIMGUI_API bool igColorButton(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size); CIMGUI_API void igSetColorEditOptions(ImGuiColorEditFlags flags); -CIMGUI_API bool igTreeNodeStr(const char* label); -CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...); -CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...); -CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeVPtr(const void* ptr_id,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExStr(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); -CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API bool igTreeNodeExVPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); -CIMGUI_API void igTreePushStr(const char* str_id); -CIMGUI_API void igTreePushPtr(const void* ptr_id); +CIMGUI_API bool igTreeNode_Str(const char* label); +CIMGUI_API bool igTreeNode_StrStr(const char* str_id,const char* fmt,...); +CIMGUI_API bool igTreeNode_Ptr(const void* ptr_id,const char* fmt,...); +CIMGUI_API bool igTreeNodeV_Str(const char* str_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeV_Ptr(const void* ptr_id,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeEx_Str(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igTreeNodeEx_StrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeEx_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...); +CIMGUI_API bool igTreeNodeExV_Str(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API bool igTreeNodeExV_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args); +CIMGUI_API void igTreePush_Str(const char* str_id); +CIMGUI_API void igTreePush_Ptr(const void* ptr_id); CIMGUI_API void igTreePop(void); CIMGUI_API float igGetTreeNodeToLabelSpacing(void); -CIMGUI_API bool igCollapsingHeaderTreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); -CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeader_TreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags); +CIMGUI_API bool igCollapsingHeader_BoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags); CIMGUI_API void igSetNextItemOpen(bool is_open,ImGuiCond cond); -CIMGUI_API bool igSelectableBool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); -CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); +CIMGUI_API bool igSelectable_BoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); CIMGUI_API bool igBeginListBox(const char* label,const ImVec2 size); CIMGUI_API void igEndListBox(void); -CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); -CIMGUI_API bool igListBoxFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); -CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); -CIMGUI_API void igPlotLinesFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); -CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); -CIMGUI_API void igPlotHistogramFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); -CIMGUI_API void igValueBool(const char* prefix,bool b); -CIMGUI_API void igValueInt(const char* prefix,int v); -CIMGUI_API void igValueUint(const char* prefix,unsigned int v); -CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format); +CIMGUI_API bool igListBox_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items); +CIMGUI_API bool igListBox_FnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items); +CIMGUI_API void igPlotLines_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); +CIMGUI_API void igPlotLines_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); +CIMGUI_API void igPlotHistogram_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride); +CIMGUI_API void igPlotHistogram_FnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size); +CIMGUI_API void igValue_Bool(const char* prefix,bool b); +CIMGUI_API void igValue_Int(const char* prefix,int v); +CIMGUI_API void igValue_Uint(const char* prefix,unsigned int v); +CIMGUI_API void igValue_Float(const char* prefix,float v,const char* float_format); CIMGUI_API bool igBeginMenuBar(void); CIMGUI_API void igEndMenuBar(void); CIMGUI_API bool igBeginMainMenuBar(void); CIMGUI_API void igEndMainMenuBar(void); CIMGUI_API bool igBeginMenu(const char* label,bool enabled); CIMGUI_API void igEndMenu(void); -CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); -CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); +CIMGUI_API bool igMenuItem_Bool(const char* label,const char* shortcut,bool selected,bool enabled); +CIMGUI_API bool igMenuItem_BoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); CIMGUI_API void igBeginTooltip(void); CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); @@ -1372,8 +1518,8 @@ CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEndPopup(void); -CIMGUI_API void igOpenPopupStr(const char* str_id,ImGuiPopupFlags popup_flags); -CIMGUI_API void igOpenPopupID(ImGuiID id,ImGuiPopupFlags popup_flags); +CIMGUI_API void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API void igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags); CIMGUI_API void igCloseCurrentPopup(void); CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags); @@ -1448,12 +1594,12 @@ CIMGUI_API void igGetItemRectMax(ImVec2 *pOut); CIMGUI_API void igGetItemRectSize(ImVec2 *pOut); CIMGUI_API void igSetItemAllowOverlap(void); CIMGUI_API ImGuiViewport* igGetMainViewport(void); -CIMGUI_API bool igIsRectVisibleNil(const ImVec2 size); -CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); -CIMGUI_API double igGetTime(void); -CIMGUI_API int igGetFrameCount(void); CIMGUI_API ImDrawList* igGetBackgroundDrawList(void); CIMGUI_API ImDrawList* igGetForegroundDrawList(void); +CIMGUI_API bool igIsRectVisible_Nil(const ImVec2 size); +CIMGUI_API bool igIsRectVisible_Vec2(const ImVec2 rect_min,const ImVec2 rect_max); +CIMGUI_API double igGetTime(void); +CIMGUI_API int igGetFrameCount(void); CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(void); CIMGUI_API const char* igGetStyleColorName(ImGuiCol idx); CIMGUI_API void igSetStateStorage(ImGuiStorage* storage); @@ -1465,12 +1611,12 @@ CIMGUI_API void igColorConvertU32ToFloat4(ImVec4 *pOut,ImU32 in); CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in); CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float* out_h,float* out_s,float* out_v); CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,float* out_g,float* out_b); -CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key); -CIMGUI_API bool igIsKeyDown(int user_key_index); -CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); -CIMGUI_API bool igIsKeyReleased(int user_key_index); -CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); -CIMGUI_API void igCaptureKeyboardFromApp(bool want_capture_keyboard_value); +CIMGUI_API bool igIsKeyDown(ImGuiKey key); +CIMGUI_API bool igIsKeyPressed(ImGuiKey key,bool repeat); +CIMGUI_API bool igIsKeyReleased(ImGuiKey key); +CIMGUI_API int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate); +CIMGUI_API const char* igGetKeyName(ImGuiKey key); +CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); CIMGUI_API bool igIsMouseDown(ImGuiMouseButton button); CIMGUI_API bool igIsMouseClicked(ImGuiMouseButton button,bool repeat); CIMGUI_API bool igIsMouseReleased(ImGuiMouseButton button); @@ -1486,13 +1632,14 @@ CIMGUI_API void igGetMouseDragDelta(ImVec2 *pOut,ImGuiMouseButton button,float l CIMGUI_API void igResetMouseDragDelta(ImGuiMouseButton button); CIMGUI_API ImGuiMouseCursor igGetMouseCursor(void); CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor cursor_type); -CIMGUI_API void igCaptureMouseFromApp(bool want_capture_mouse_value); +CIMGUI_API void igSetNextFrameWantCaptureMouse(bool want_capture_mouse); CIMGUI_API const char* igGetClipboardText(void); CIMGUI_API void igSetClipboardText(const char* text); CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename); CIMGUI_API void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size); CIMGUI_API void igSaveIniSettingsToDisk(const char* ini_filename); CIMGUI_API const char* igSaveIniSettingsToMemory(size_t* out_ini_size); +CIMGUI_API void igDebugTextEncoding(const char* text); CIMGUI_API bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx); CIMGUI_API void igSetAllocatorFunctions(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data); CIMGUI_API void igGetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data); @@ -1501,10 +1648,17 @@ CIMGUI_API void igMemFree(void* ptr); CIMGUI_API ImGuiStyle* ImGuiStyle_ImGuiStyle(void); CIMGUI_API void ImGuiStyle_destroy(ImGuiStyle* self); CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor); +CIMGUI_API void ImGuiIO_AddKeyEvent(ImGuiIO* self,ImGuiKey key,bool down); +CIMGUI_API void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self,ImGuiKey key,bool down,float v); +CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self,float x,float y); +CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self,int button,bool down); +CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self,float wh_x,float wh_y); +CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused); CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,unsigned int c); CIMGUI_API void ImGuiIO_AddInputCharacterUTF16(ImGuiIO* self,ImWchar16 c); CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* str); -CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused); +CIMGUI_API void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index); +CIMGUI_API void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self,bool accepting_events); CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); CIMGUI_API void ImGuiIO_ClearInputKeys(ImGuiIO* self); CIMGUI_API ImGuiIO* ImGuiIO_ImGuiIO(void); @@ -1535,9 +1689,9 @@ CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* tex CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self); CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self); CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self); -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeNil(void); +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Nil(void); CIMGUI_API void ImGuiTextRange_destroy(ImGuiTextRange* self); -CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRangeStr(const char* _b,const char* _e); +CIMGUI_API ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Str(const char* _b,const char* _e); CIMGUI_API bool ImGuiTextRange_empty(ImGuiTextRange* self); CIMGUI_API void ImGuiTextRange_split(ImGuiTextRange* self,char separator,ImVector_ImGuiTextRange* out); CIMGUI_API ImGuiTextBuffer* ImGuiTextBuffer_ImGuiTextBuffer(void); @@ -1551,10 +1705,10 @@ CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity); CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self); CIMGUI_API void ImGuiTextBuffer_append(ImGuiTextBuffer* self,const char* str,const char* str_end); CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args); -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairInt(ImGuiID _key,int _val_i); +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val_i); CIMGUI_API void ImGuiStoragePair_destroy(ImGuiStoragePair* self); -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairFloat(ImGuiID _key,float _val_f); -CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePairPtr(ImGuiID _key,void* _val_p); +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val_f); +CIMGUI_API ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val_p); CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self); CIMGUI_API int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val); CIMGUI_API void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val); @@ -1576,12 +1730,12 @@ CIMGUI_API void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,fl CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self); CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self); CIMGUI_API void ImGuiListClipper_ForceDisplayRangeByIndices(ImGuiListClipper* self,int item_min,int item_max); -CIMGUI_API ImColor* ImColor_ImColorNil(void); +CIMGUI_API ImColor* ImColor_ImColor_Nil(void); CIMGUI_API void ImColor_destroy(ImColor* self); -CIMGUI_API ImColor* ImColor_ImColorInt(int r,int g,int b,int a); -CIMGUI_API ImColor* ImColor_ImColorU32(ImU32 rgba); -CIMGUI_API ImColor* ImColor_ImColorFloat(float r,float g,float b,float a); -CIMGUI_API ImColor* ImColor_ImColorVec4(const ImVec4 col); +CIMGUI_API ImColor* ImColor_ImColor_Float(float r,float g,float b,float a); +CIMGUI_API ImColor* ImColor_ImColor_Vec4(const ImVec4 col); +CIMGUI_API ImColor* ImColor_ImColor_Int(int r,int g,int b,int a); +CIMGUI_API ImColor* ImColor_ImColor_U32(ImU32 rgba); CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a); CIMGUI_API void ImColor_HSV(ImColor *pOut,float h,float s,float v,float a); CIMGUI_API ImDrawCmd* ImDrawCmd_ImDrawCmd(void); @@ -1594,9 +1748,9 @@ CIMGUI_API void ImDrawListSplitter_ClearFreeMemory(ImDrawListSplitter* self); CIMGUI_API void ImDrawListSplitter_Split(ImDrawListSplitter* self,ImDrawList* draw_list,int count); CIMGUI_API void ImDrawListSplitter_Merge(ImDrawListSplitter* self,ImDrawList* draw_list); CIMGUI_API void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self,ImDrawList* draw_list,int channel_idx); -CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data); +CIMGUI_API ImDrawList* ImDrawList_ImDrawList(ImDrawListSharedData* shared_data); CIMGUI_API void ImDrawList_destroy(ImDrawList* self); -CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); +CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect); CIMGUI_API void ImDrawList_PushClipRectFullScreen(ImDrawList* self); CIMGUI_API void ImDrawList_PopClipRect(ImDrawList* self); CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id); @@ -1615,8 +1769,8 @@ CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 center,float CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments); CIMGUI_API void ImDrawList_AddNgon(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness); CIMGUI_API void ImDrawList_AddNgonFilled(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments); -CIMGUI_API void ImDrawList_AddTextVec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); -CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); +CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end); +CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness); CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness,int num_segments); @@ -1695,6 +1849,7 @@ CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); +CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesGreek(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesJapanese(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* self); @@ -1716,8 +1871,8 @@ CIMGUI_API bool ImFont_IsLoaded(ImFont* self); CIMGUI_API const char* ImFont_GetDebugName(ImFont* self); CIMGUI_API void ImFont_CalcTextSizeA(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining); CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width); -CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c); -CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); +CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c); +CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip); CIMGUI_API void ImFont_BuildLookupTable(ImFont* self); CIMGUI_API void ImFont_ClearOutputData(ImFont* self); CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size); @@ -1729,6 +1884,9 @@ CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void); CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self); CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self); +CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void); +CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self); +CIMGUI_API ImGuiKey igGetKeyIndex(ImGuiKey key); /////////////////////////hand written functions @@ -1737,12 +1895,12 @@ CIMGUI_API void igLogText(CONST char *fmt, ...); //no appendfV CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...); //for getting FLT_MAX in bindings -CIMGUI_API float igGET_FLT_MAX(); +CIMGUI_API float igGET_FLT_MAX(void); //for getting FLT_MIN in bindings -CIMGUI_API float igGET_FLT_MIN(); +CIMGUI_API float igGET_FLT_MIN(void); -CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create(); +CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create(void); CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self); CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p); CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p); diff --git a/imgui-sys/third-party/imgui-master/cimgui_impl.h b/imgui-sys/third-party/imgui-master/cimgui_impl.h index e69de29..597cca0 100644 --- a/imgui-sys/third-party/imgui-master/cimgui_impl.h +++ b/imgui-sys/third-party/imgui-master/cimgui_impl.h @@ -0,0 +1,60 @@ +#ifdef CIMGUI_USE_GLFW + +typedef struct GLFWwindow GLFWwindow; +typedef struct GLFWmonitor GLFWmonitor; +struct GLFWwindow; +struct GLFWmonitor;CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks); +CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks); +CIMGUI_API bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks); +CIMGUI_API void ImGui_ImplGlfw_Shutdown(void); +CIMGUI_API void ImGui_ImplGlfw_NewFrame(void); +CIMGUI_API void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window); +CIMGUI_API void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window); +CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused); +CIMGUI_API void ImGui_ImplGlfw_CursorEnterCallback(GLFWwindow* window,int entered); +CIMGUI_API void ImGui_ImplGlfw_CursorPosCallback(GLFWwindow* window,double x,double y); +CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset); +CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods); +CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c); +CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event); + +#endif +#ifdef CIMGUI_USE_OPENGL3 +CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version); +CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(void); +CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void); +CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateFontsTexture(void); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyFontsTexture(void); +CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void); +CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void); + +#endif +#ifdef CIMGUI_USE_OPENGL2 +CIMGUI_API bool ImGui_ImplOpenGL2_Init(void); +CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(void); +CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(void); +CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateFontsTexture(void); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyFontsTexture(void); +CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(void); +CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(void); + +#endif +#ifdef CIMGUI_USE_SDL + +typedef struct SDL_Window SDL_Window; +typedef struct SDL_Renderer SDL_Renderer; +struct SDL_Window; +struct SDL_Renderer; +typedef union SDL_Event SDL_Event;CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context); +CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_InitForMetal(SDL_Window* window); +CIMGUI_API bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer); +CIMGUI_API void ImGui_ImplSDL2_Shutdown(void); +CIMGUI_API void ImGui_ImplSDL2_NewFrame(void); +CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event); + +#endif diff --git a/imgui-sys/third-party/imgui-master/definitions.json b/imgui-sys/third-party/imgui-master/definitions.json index 7c2e3aa..38670f9 100644 --- a/imgui-sys/third-party/imgui-master/definitions.json +++ b/imgui-sys/third-party/imgui-master/definitions.json @@ -32,7 +32,7 @@ }, "funcname": "HSV", "is_static_function": true, - "location": "imgui:2255", + "location": "imgui:2360", "nonUDT": 1, "ov_cimguiname": "ImColor_HSV", "ret": "void", @@ -50,63 +50,11 @@ "constructor": true, "defaults": {}, "funcname": "ImColor", - "location": "imgui:2245", - "ov_cimguiname": "ImColor_ImColorNil", + "location": "imgui:2350", + "ov_cimguiname": "ImColor_ImColor_Nil", "signature": "()", "stname": "ImColor" }, - { - "args": "(int r,int g,int b,int a)", - "argsT": [ - { - "name": "r", - "type": "int" - }, - { - "name": "g", - "type": "int" - }, - { - "name": "b", - "type": "int" - }, - { - "name": "a", - "type": "int" - } - ], - "argsoriginal": "(int r,int g,int b,int a=255)", - "call_args": "(r,g,b,a)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": { - "a": "255" - }, - "funcname": "ImColor", - "location": "imgui:2246", - "ov_cimguiname": "ImColor_ImColorInt", - "signature": "(int,int,int,int)", - "stname": "ImColor" - }, - { - "args": "(ImU32 rgba)", - "argsT": [ - { - "name": "rgba", - "type": "ImU32" - } - ], - "argsoriginal": "(ImU32 rgba)", - "call_args": "(rgba)", - "cimguiname": "ImColor_ImColor", - "constructor": true, - "defaults": {}, - "funcname": "ImColor", - "location": "imgui:2247", - "ov_cimguiname": "ImColor_ImColorU32", - "signature": "(ImU32)", - "stname": "ImColor" - }, { "args": "(float r,float g,float b,float a)", "argsT": [ @@ -135,8 +83,8 @@ "a": "1.0f" }, "funcname": "ImColor", - "location": "imgui:2248", - "ov_cimguiname": "ImColor_ImColorFloat", + "location": "imgui:2351", + "ov_cimguiname": "ImColor_ImColor_Float", "signature": "(float,float,float,float)", "stname": "ImColor" }, @@ -154,10 +102,62 @@ "constructor": true, "defaults": {}, "funcname": "ImColor", - "location": "imgui:2249", - "ov_cimguiname": "ImColor_ImColorVec4", + "location": "imgui:2352", + "ov_cimguiname": "ImColor_ImColor_Vec4", "signature": "(const ImVec4)", "stname": "ImColor" + }, + { + "args": "(int r,int g,int b,int a)", + "argsT": [ + { + "name": "r", + "type": "int" + }, + { + "name": "g", + "type": "int" + }, + { + "name": "b", + "type": "int" + }, + { + "name": "a", + "type": "int" + } + ], + "argsoriginal": "(int r,int g,int b,int a=255)", + "call_args": "(r,g,b,a)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": { + "a": "255" + }, + "funcname": "ImColor", + "location": "imgui:2353", + "ov_cimguiname": "ImColor_ImColor_Int", + "signature": "(int,int,int,int)", + "stname": "ImColor" + }, + { + "args": "(ImU32 rgba)", + "argsT": [ + { + "name": "rgba", + "type": "ImU32" + } + ], + "argsoriginal": "(ImU32 rgba)", + "call_args": "(rgba)", + "cimguiname": "ImColor_ImColor", + "constructor": true, + "defaults": {}, + "funcname": "ImColor", + "location": "imgui:2354", + "ov_cimguiname": "ImColor_ImColor_U32", + "signature": "(ImU32)", + "stname": "ImColor" } ], "ImColor_SetHSV": [ @@ -192,7 +192,7 @@ "a": "1.0f" }, "funcname": "SetHSV", - "location": "imgui:2254", + "location": "imgui:2359", "ov_cimguiname": "ImColor_SetHSV", "ret": "void", "signature": "(float,float,float,float)", @@ -232,7 +232,7 @@ "cimguiname": "ImDrawCmd_GetTexID", "defaults": {}, "funcname": "GetTexID", - "location": "imgui:2303", + "location": "imgui:2408", "ov_cimguiname": "ImDrawCmd_GetTexID", "ret": "ImTextureID", "signature": "()const", @@ -249,7 +249,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawCmd", - "location": "imgui:2300", + "location": "imgui:2405", "ov_cimguiname": "ImDrawCmd_ImDrawCmd", "signature": "()", "stname": "ImDrawCmd" @@ -288,7 +288,7 @@ "cimguiname": "ImDrawData_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2534", + "location": "imgui:2641", "ov_cimguiname": "ImDrawData_Clear", "ret": "void", "signature": "()", @@ -309,7 +309,7 @@ "cimguiname": "ImDrawData_DeIndexAllBuffers", "defaults": {}, "funcname": "DeIndexAllBuffers", - "location": "imgui:2535", + "location": "imgui:2642", "ov_cimguiname": "ImDrawData_DeIndexAllBuffers", "ret": "void", "signature": "()", @@ -326,7 +326,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawData", - "location": "imgui:2533", + "location": "imgui:2640", "ov_cimguiname": "ImDrawData_ImDrawData", "signature": "()", "stname": "ImDrawData" @@ -350,7 +350,7 @@ "cimguiname": "ImDrawData_ScaleClipRects", "defaults": {}, "funcname": "ScaleClipRects", - "location": "imgui:2536", + "location": "imgui:2643", "ov_cimguiname": "ImDrawData_ScaleClipRects", "ret": "void", "signature": "(const ImVec2)", @@ -390,7 +390,7 @@ "cimguiname": "ImDrawListSplitter_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2348", + "location": "imgui:2453", "ov_cimguiname": "ImDrawListSplitter_Clear", "ret": "void", "signature": "()", @@ -411,7 +411,7 @@ "cimguiname": "ImDrawListSplitter_ClearFreeMemory", "defaults": {}, "funcname": "ClearFreeMemory", - "location": "imgui:2349", + "location": "imgui:2454", "ov_cimguiname": "ImDrawListSplitter_ClearFreeMemory", "ret": "void", "signature": "()", @@ -428,7 +428,7 @@ "constructor": true, "defaults": {}, "funcname": "ImDrawListSplitter", - "location": "imgui:2346", + "location": "imgui:2451", "ov_cimguiname": "ImDrawListSplitter_ImDrawListSplitter", "signature": "()", "stname": "ImDrawListSplitter" @@ -452,7 +452,7 @@ "cimguiname": "ImDrawListSplitter_Merge", "defaults": {}, "funcname": "Merge", - "location": "imgui:2351", + "location": "imgui:2456", "ov_cimguiname": "ImDrawListSplitter_Merge", "ret": "void", "signature": "(ImDrawList*)", @@ -481,7 +481,7 @@ "cimguiname": "ImDrawListSplitter_SetCurrentChannel", "defaults": {}, "funcname": "SetCurrentChannel", - "location": "imgui:2352", + "location": "imgui:2457", "ov_cimguiname": "ImDrawListSplitter_SetCurrentChannel", "ret": "void", "signature": "(ImDrawList*,int)", @@ -510,7 +510,7 @@ "cimguiname": "ImDrawListSplitter_Split", "defaults": {}, "funcname": "Split", - "location": "imgui:2350", + "location": "imgui:2455", "ov_cimguiname": "ImDrawListSplitter_Split", "ret": "void", "signature": "(ImDrawList*,int)", @@ -530,7 +530,7 @@ "cimguiname": "ImDrawListSplitter_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2347", + "location": "imgui:2452", "ov_cimguiname": "ImDrawListSplitter_destroy", "realdestructor": true, "ret": "void", @@ -582,7 +582,7 @@ "num_segments": "0" }, "funcname": "AddBezierCubic", - "location": "imgui:2450", + "location": "imgui:2556", "ov_cimguiname": "ImDrawList_AddBezierCubic", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", @@ -629,7 +629,7 @@ "num_segments": "0" }, "funcname": "AddBezierQuadratic", - "location": "imgui:2451", + "location": "imgui:2557", "ov_cimguiname": "ImDrawList_AddBezierQuadratic", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)", @@ -658,7 +658,7 @@ "cimguiname": "ImDrawList_AddCallback", "defaults": {}, "funcname": "AddCallback", - "location": "imgui:2474", + "location": "imgui:2581", "ov_cimguiname": "ImDrawList_AddCallback", "ret": "void", "signature": "(ImDrawCallback,void*)", @@ -702,7 +702,7 @@ "thickness": "1.0f" }, "funcname": "AddCircle", - "location": "imgui:2442", + "location": "imgui:2548", "ov_cimguiname": "ImDrawList_AddCircle", "ret": "void", "signature": "(const ImVec2,float,ImU32,int,float)", @@ -741,7 +741,7 @@ "num_segments": "0" }, "funcname": "AddCircleFilled", - "location": "imgui:2443", + "location": "imgui:2549", "ov_cimguiname": "ImDrawList_AddCircleFilled", "ret": "void", "signature": "(const ImVec2,float,ImU32,int)", @@ -774,7 +774,7 @@ "cimguiname": "ImDrawList_AddConvexPolyFilled", "defaults": {}, "funcname": "AddConvexPolyFilled", - "location": "imgui:2449", + "location": "imgui:2555", "ov_cimguiname": "ImDrawList_AddConvexPolyFilled", "ret": "void", "signature": "(const ImVec2*,int,ImU32)", @@ -795,7 +795,7 @@ "cimguiname": "ImDrawList_AddDrawCmd", "defaults": {}, "funcname": "AddDrawCmd", - "location": "imgui:2475", + "location": "imgui:2582", "ov_cimguiname": "ImDrawList_AddDrawCmd", "ret": "void", "signature": "()", @@ -844,7 +844,7 @@ "uv_min": "ImVec2(0,0)" }, "funcname": "AddImage", - "location": "imgui:2457", + "location": "imgui:2563", "ov_cimguiname": "ImDrawList_AddImage", "ret": "void", "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -911,7 +911,7 @@ "uv4": "ImVec2(0,1)" }, "funcname": "AddImageQuad", - "location": "imgui:2458", + "location": "imgui:2564", "ov_cimguiname": "ImDrawList_AddImageQuad", "ret": "void", "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -966,7 +966,7 @@ "flags": "0" }, "funcname": "AddImageRounded", - "location": "imgui:2459", + "location": "imgui:2565", "ov_cimguiname": "ImDrawList_AddImageRounded", "ret": "void", "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", @@ -1005,7 +1005,7 @@ "thickness": "1.0f" }, "funcname": "AddLine", - "location": "imgui:2434", + "location": "imgui:2540", "ov_cimguiname": "ImDrawList_AddLine", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,float)", @@ -1048,7 +1048,7 @@ "thickness": "1.0f" }, "funcname": "AddNgon", - "location": "imgui:2444", + "location": "imgui:2550", "ov_cimguiname": "ImDrawList_AddNgon", "ret": "void", "signature": "(const ImVec2,float,ImU32,int,float)", @@ -1085,7 +1085,7 @@ "cimguiname": "ImDrawList_AddNgonFilled", "defaults": {}, "funcname": "AddNgonFilled", - "location": "imgui:2445", + "location": "imgui:2551", "ov_cimguiname": "ImDrawList_AddNgonFilled", "ret": "void", "signature": "(const ImVec2,float,ImU32,int)", @@ -1126,7 +1126,7 @@ "cimguiname": "ImDrawList_AddPolyline", "defaults": {}, "funcname": "AddPolyline", - "location": "imgui:2448", + "location": "imgui:2554", "ov_cimguiname": "ImDrawList_AddPolyline", "ret": "void", "signature": "(const ImVec2*,int,ImU32,ImDrawFlags,float)", @@ -1173,7 +1173,7 @@ "thickness": "1.0f" }, "funcname": "AddQuad", - "location": "imgui:2438", + "location": "imgui:2544", "ov_cimguiname": "ImDrawList_AddQuad", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)", @@ -1214,7 +1214,7 @@ "cimguiname": "ImDrawList_AddQuadFilled", "defaults": {}, "funcname": "AddQuadFilled", - "location": "imgui:2439", + "location": "imgui:2545", "ov_cimguiname": "ImDrawList_AddQuadFilled", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -1263,7 +1263,7 @@ "thickness": "1.0f" }, "funcname": "AddRect", - "location": "imgui:2435", + "location": "imgui:2541", "ov_cimguiname": "ImDrawList_AddRect", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags,float)", @@ -1307,7 +1307,7 @@ "rounding": "0.0f" }, "funcname": "AddRectFilled", - "location": "imgui:2436", + "location": "imgui:2542", "ov_cimguiname": "ImDrawList_AddRectFilled", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)", @@ -1352,7 +1352,7 @@ "cimguiname": "ImDrawList_AddRectFilledMultiColor", "defaults": {}, "funcname": "AddRectFilledMultiColor", - "location": "imgui:2437", + "location": "imgui:2543", "ov_cimguiname": "ImDrawList_AddRectFilledMultiColor", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)", @@ -1391,8 +1391,8 @@ "text_end": "NULL" }, "funcname": "AddText", - "location": "imgui:2446", - "ov_cimguiname": "ImDrawList_AddTextVec2", + "location": "imgui:2552", + "ov_cimguiname": "ImDrawList_AddText_Vec2", "ret": "void", "signature": "(const ImVec2,ImU32,const char*,const char*)", "stname": "ImDrawList" @@ -1446,8 +1446,8 @@ "wrap_width": "0.0f" }, "funcname": "AddText", - "location": "imgui:2447", - "ov_cimguiname": "ImDrawList_AddTextFontPtr", + "location": "imgui:2553", + "ov_cimguiname": "ImDrawList_AddText_FontPtr", "ret": "void", "signature": "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)", "stname": "ImDrawList" @@ -1489,7 +1489,7 @@ "thickness": "1.0f" }, "funcname": "AddTriangle", - "location": "imgui:2440", + "location": "imgui:2546", "ov_cimguiname": "ImDrawList_AddTriangle", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)", @@ -1526,7 +1526,7 @@ "cimguiname": "ImDrawList_AddTriangleFilled", "defaults": {}, "funcname": "AddTriangleFilled", - "location": "imgui:2441", + "location": "imgui:2547", "ov_cimguiname": "ImDrawList_AddTriangleFilled", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -1547,7 +1547,7 @@ "cimguiname": "ImDrawList_ChannelsMerge", "defaults": {}, "funcname": "ChannelsMerge", - "location": "imgui:2485", + "location": "imgui:2592", "ov_cimguiname": "ImDrawList_ChannelsMerge", "ret": "void", "signature": "()", @@ -1572,7 +1572,7 @@ "cimguiname": "ImDrawList_ChannelsSetCurrent", "defaults": {}, "funcname": "ChannelsSetCurrent", - "location": "imgui:2486", + "location": "imgui:2593", "ov_cimguiname": "ImDrawList_ChannelsSetCurrent", "ret": "void", "signature": "(int)", @@ -1597,7 +1597,7 @@ "cimguiname": "ImDrawList_ChannelsSplit", "defaults": {}, "funcname": "ChannelsSplit", - "location": "imgui:2484", + "location": "imgui:2591", "ov_cimguiname": "ImDrawList_ChannelsSplit", "ret": "void", "signature": "(int)", @@ -1618,7 +1618,7 @@ "cimguiname": "ImDrawList_CloneOutput", "defaults": {}, "funcname": "CloneOutput", - "location": "imgui:2476", + "location": "imgui:2583", "ov_cimguiname": "ImDrawList_CloneOutput", "ret": "ImDrawList*", "signature": "()const", @@ -1643,7 +1643,7 @@ "cimguiname": "ImDrawList_GetClipRectMax", "defaults": {}, "funcname": "GetClipRectMax", - "location": "imgui:2426", + "location": "imgui:2531", "nonUDT": 1, "ov_cimguiname": "ImDrawList_GetClipRectMax", "ret": "void", @@ -1669,7 +1669,7 @@ "cimguiname": "ImDrawList_GetClipRectMin", "defaults": {}, "funcname": "GetClipRectMin", - "location": "imgui:2425", + "location": "imgui:2530", "nonUDT": 1, "ov_cimguiname": "ImDrawList_GetClipRectMin", "ret": "void", @@ -1679,22 +1679,22 @@ ], "ImDrawList_ImDrawList": [ { - "args": "(const ImDrawListSharedData* shared_data)", + "args": "(ImDrawListSharedData* shared_data)", "argsT": [ { "name": "shared_data", - "type": "const ImDrawListSharedData*" + "type": "ImDrawListSharedData*" } ], - "argsoriginal": "(const ImDrawListSharedData* shared_data)", + "argsoriginal": "(ImDrawListSharedData* shared_data)", "call_args": "(shared_data)", "cimguiname": "ImDrawList_ImDrawList", "constructor": true, "defaults": {}, "funcname": "ImDrawList", - "location": "imgui:2417", + "location": "imgui:2522", "ov_cimguiname": "ImDrawList_ImDrawList", - "signature": "(const ImDrawListSharedData*)", + "signature": "(ImDrawListSharedData*)", "stname": "ImDrawList" } ], @@ -1734,7 +1734,7 @@ "num_segments": "0" }, "funcname": "PathArcTo", - "location": "imgui:2467", + "location": "imgui:2574", "ov_cimguiname": "ImDrawList_PathArcTo", "ret": "void", "signature": "(const ImVec2,float,float,float,int)", @@ -1771,7 +1771,7 @@ "cimguiname": "ImDrawList_PathArcToFast", "defaults": {}, "funcname": "PathArcToFast", - "location": "imgui:2468", + "location": "imgui:2575", "ov_cimguiname": "ImDrawList_PathArcToFast", "ret": "void", "signature": "(const ImVec2,float,int,int)", @@ -1810,7 +1810,7 @@ "num_segments": "0" }, "funcname": "PathBezierCubicCurveTo", - "location": "imgui:2469", + "location": "imgui:2576", "ov_cimguiname": "ImDrawList_PathBezierCubicCurveTo", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,int)", @@ -1845,7 +1845,7 @@ "num_segments": "0" }, "funcname": "PathBezierQuadraticCurveTo", - "location": "imgui:2470", + "location": "imgui:2577", "ov_cimguiname": "ImDrawList_PathBezierQuadraticCurveTo", "ret": "void", "signature": "(const ImVec2,const ImVec2,int)", @@ -1866,7 +1866,7 @@ "cimguiname": "ImDrawList_PathClear", "defaults": {}, "funcname": "PathClear", - "location": "imgui:2462", + "location": "imgui:2569", "ov_cimguiname": "ImDrawList_PathClear", "ret": "void", "signature": "()", @@ -1891,7 +1891,7 @@ "cimguiname": "ImDrawList_PathFillConvex", "defaults": {}, "funcname": "PathFillConvex", - "location": "imgui:2465", + "location": "imgui:2572", "ov_cimguiname": "ImDrawList_PathFillConvex", "ret": "void", "signature": "(ImU32)", @@ -1916,7 +1916,7 @@ "cimguiname": "ImDrawList_PathLineTo", "defaults": {}, "funcname": "PathLineTo", - "location": "imgui:2463", + "location": "imgui:2570", "ov_cimguiname": "ImDrawList_PathLineTo", "ret": "void", "signature": "(const ImVec2)", @@ -1941,7 +1941,7 @@ "cimguiname": "ImDrawList_PathLineToMergeDuplicate", "defaults": {}, "funcname": "PathLineToMergeDuplicate", - "location": "imgui:2464", + "location": "imgui:2571", "ov_cimguiname": "ImDrawList_PathLineToMergeDuplicate", "ret": "void", "signature": "(const ImVec2)", @@ -1981,7 +1981,7 @@ "rounding": "0.0f" }, "funcname": "PathRect", - "location": "imgui:2471", + "location": "imgui:2578", "ov_cimguiname": "ImDrawList_PathRect", "ret": "void", "signature": "(const ImVec2,const ImVec2,float,ImDrawFlags)", @@ -2017,7 +2017,7 @@ "thickness": "1.0f" }, "funcname": "PathStroke", - "location": "imgui:2466", + "location": "imgui:2573", "ov_cimguiname": "ImDrawList_PathStroke", "ret": "void", "signature": "(ImU32,ImDrawFlags,float)", @@ -2038,7 +2038,7 @@ "cimguiname": "ImDrawList_PopClipRect", "defaults": {}, "funcname": "PopClipRect", - "location": "imgui:2422", + "location": "imgui:2527", "ov_cimguiname": "ImDrawList_PopClipRect", "ret": "void", "signature": "()", @@ -2059,7 +2059,7 @@ "cimguiname": "ImDrawList_PopTextureID", "defaults": {}, "funcname": "PopTextureID", - "location": "imgui:2424", + "location": "imgui:2529", "ov_cimguiname": "ImDrawList_PopTextureID", "ret": "void", "signature": "()", @@ -2116,7 +2116,7 @@ "cimguiname": "ImDrawList_PrimQuadUV", "defaults": {}, "funcname": "PrimQuadUV", - "location": "imgui:2495", + "location": "imgui:2602", "ov_cimguiname": "ImDrawList_PrimQuadUV", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -2149,7 +2149,7 @@ "cimguiname": "ImDrawList_PrimRect", "defaults": {}, "funcname": "PrimRect", - "location": "imgui:2493", + "location": "imgui:2600", "ov_cimguiname": "ImDrawList_PrimRect", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32)", @@ -2190,7 +2190,7 @@ "cimguiname": "ImDrawList_PrimRectUV", "defaults": {}, "funcname": "PrimRectUV", - "location": "imgui:2494", + "location": "imgui:2601", "ov_cimguiname": "ImDrawList_PrimRectUV", "ret": "void", "signature": "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)", @@ -2219,7 +2219,7 @@ "cimguiname": "ImDrawList_PrimReserve", "defaults": {}, "funcname": "PrimReserve", - "location": "imgui:2491", + "location": "imgui:2598", "ov_cimguiname": "ImDrawList_PrimReserve", "ret": "void", "signature": "(int,int)", @@ -2248,7 +2248,7 @@ "cimguiname": "ImDrawList_PrimUnreserve", "defaults": {}, "funcname": "PrimUnreserve", - "location": "imgui:2492", + "location": "imgui:2599", "ov_cimguiname": "ImDrawList_PrimUnreserve", "ret": "void", "signature": "(int,int)", @@ -2281,7 +2281,7 @@ "cimguiname": "ImDrawList_PrimVtx", "defaults": {}, "funcname": "PrimVtx", - "location": "imgui:2498", + "location": "imgui:2605", "ov_cimguiname": "ImDrawList_PrimVtx", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32)", @@ -2306,7 +2306,7 @@ "cimguiname": "ImDrawList_PrimWriteIdx", "defaults": {}, "funcname": "PrimWriteIdx", - "location": "imgui:2497", + "location": "imgui:2604", "ov_cimguiname": "ImDrawList_PrimWriteIdx", "ret": "void", "signature": "(ImDrawIdx)", @@ -2339,7 +2339,7 @@ "cimguiname": "ImDrawList_PrimWriteVtx", "defaults": {}, "funcname": "PrimWriteVtx", - "location": "imgui:2496", + "location": "imgui:2603", "ov_cimguiname": "ImDrawList_PrimWriteVtx", "ret": "void", "signature": "(const ImVec2,const ImVec2,ImU32)", @@ -2348,7 +2348,7 @@ ], "ImDrawList_PushClipRect": [ { - "args": "(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", + "args": "(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)", "argsT": [ { "name": "self", @@ -2356,28 +2356,28 @@ }, { "name": "clip_rect_min", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "clip_rect_max", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "intersect_with_current_clip_rect", "type": "bool" } ], - "argsoriginal": "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)", + "argsoriginal": "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect=false)", "call_args": "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)", "cimguiname": "ImDrawList_PushClipRect", "defaults": { "intersect_with_current_clip_rect": "false" }, "funcname": "PushClipRect", - "location": "imgui:2420", + "location": "imgui:2525", "ov_cimguiname": "ImDrawList_PushClipRect", "ret": "void", - "signature": "(ImVec2,ImVec2,bool)", + "signature": "(const ImVec2,const ImVec2,bool)", "stname": "ImDrawList" } ], @@ -2395,7 +2395,7 @@ "cimguiname": "ImDrawList_PushClipRectFullScreen", "defaults": {}, "funcname": "PushClipRectFullScreen", - "location": "imgui:2421", + "location": "imgui:2526", "ov_cimguiname": "ImDrawList_PushClipRectFullScreen", "ret": "void", "signature": "()", @@ -2420,7 +2420,7 @@ "cimguiname": "ImDrawList_PushTextureID", "defaults": {}, "funcname": "PushTextureID", - "location": "imgui:2423", + "location": "imgui:2528", "ov_cimguiname": "ImDrawList_PushTextureID", "ret": "void", "signature": "(ImTextureID)", @@ -2445,7 +2445,7 @@ "cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", "defaults": {}, "funcname": "_CalcCircleAutoSegmentCount", - "location": "imgui:2513", + "location": "imgui:2620", "ov_cimguiname": "ImDrawList__CalcCircleAutoSegmentCount", "ret": "int", "signature": "(float)const", @@ -2466,7 +2466,7 @@ "cimguiname": "ImDrawList__ClearFreeMemory", "defaults": {}, "funcname": "_ClearFreeMemory", - "location": "imgui:2507", + "location": "imgui:2614", "ov_cimguiname": "ImDrawList__ClearFreeMemory", "ret": "void", "signature": "()", @@ -2487,7 +2487,7 @@ "cimguiname": "ImDrawList__OnChangedClipRect", "defaults": {}, "funcname": "_OnChangedClipRect", - "location": "imgui:2510", + "location": "imgui:2617", "ov_cimguiname": "ImDrawList__OnChangedClipRect", "ret": "void", "signature": "()", @@ -2508,7 +2508,7 @@ "cimguiname": "ImDrawList__OnChangedTextureID", "defaults": {}, "funcname": "_OnChangedTextureID", - "location": "imgui:2511", + "location": "imgui:2618", "ov_cimguiname": "ImDrawList__OnChangedTextureID", "ret": "void", "signature": "()", @@ -2529,7 +2529,7 @@ "cimguiname": "ImDrawList__OnChangedVtxOffset", "defaults": {}, "funcname": "_OnChangedVtxOffset", - "location": "imgui:2512", + "location": "imgui:2619", "ov_cimguiname": "ImDrawList__OnChangedVtxOffset", "ret": "void", "signature": "()", @@ -2570,7 +2570,7 @@ "cimguiname": "ImDrawList__PathArcToFastEx", "defaults": {}, "funcname": "_PathArcToFastEx", - "location": "imgui:2514", + "location": "imgui:2621", "ov_cimguiname": "ImDrawList__PathArcToFastEx", "ret": "void", "signature": "(const ImVec2,float,int,int,int)", @@ -2611,7 +2611,7 @@ "cimguiname": "ImDrawList__PathArcToN", "defaults": {}, "funcname": "_PathArcToN", - "location": "imgui:2515", + "location": "imgui:2622", "ov_cimguiname": "ImDrawList__PathArcToN", "ret": "void", "signature": "(const ImVec2,float,float,float,int)", @@ -2632,7 +2632,7 @@ "cimguiname": "ImDrawList__PopUnusedDrawCmd", "defaults": {}, "funcname": "_PopUnusedDrawCmd", - "location": "imgui:2508", + "location": "imgui:2615", "ov_cimguiname": "ImDrawList__PopUnusedDrawCmd", "ret": "void", "signature": "()", @@ -2653,7 +2653,7 @@ "cimguiname": "ImDrawList__ResetForNewFrame", "defaults": {}, "funcname": "_ResetForNewFrame", - "location": "imgui:2506", + "location": "imgui:2613", "ov_cimguiname": "ImDrawList__ResetForNewFrame", "ret": "void", "signature": "()", @@ -2674,7 +2674,7 @@ "cimguiname": "ImDrawList__TryMergeDrawCmds", "defaults": {}, "funcname": "_TryMergeDrawCmds", - "location": "imgui:2509", + "location": "imgui:2616", "ov_cimguiname": "ImDrawList__TryMergeDrawCmds", "ret": "void", "signature": "()", @@ -2694,7 +2694,7 @@ "cimguiname": "ImDrawList_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2419", + "location": "imgui:2524", "ov_cimguiname": "ImDrawList_destroy", "realdestructor": true, "ret": "void", @@ -2712,7 +2712,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontAtlasCustomRect", - "location": "imgui:2607", + "location": "imgui:2714", "ov_cimguiname": "ImFontAtlasCustomRect_ImFontAtlasCustomRect", "signature": "()", "stname": "ImFontAtlasCustomRect" @@ -2732,7 +2732,7 @@ "cimguiname": "ImFontAtlasCustomRect_IsPacked", "defaults": {}, "funcname": "IsPacked", - "location": "imgui:2608", + "location": "imgui:2715", "ov_cimguiname": "ImFontAtlasCustomRect_IsPacked", "ret": "bool", "signature": "()const", @@ -2798,7 +2798,7 @@ "offset": "ImVec2(0,0)" }, "funcname": "AddCustomRectFontGlyph", - "location": "imgui:2691", + "location": "imgui:2799", "ov_cimguiname": "ImFontAtlas_AddCustomRectFontGlyph", "ret": "int", "signature": "(ImFont*,ImWchar,int,int,float,const ImVec2)", @@ -2827,7 +2827,7 @@ "cimguiname": "ImFontAtlas_AddCustomRectRegular", "defaults": {}, "funcname": "AddCustomRectRegular", - "location": "imgui:2690", + "location": "imgui:2798", "ov_cimguiname": "ImFontAtlas_AddCustomRectRegular", "ret": "int", "signature": "(int,int)", @@ -2852,7 +2852,7 @@ "cimguiname": "ImFontAtlas_AddFont", "defaults": {}, "funcname": "AddFont", - "location": "imgui:2641", + "location": "imgui:2748", "ov_cimguiname": "ImFontAtlas_AddFont", "ret": "ImFont*", "signature": "(const ImFontConfig*)", @@ -2879,7 +2879,7 @@ "font_cfg": "NULL" }, "funcname": "AddFontDefault", - "location": "imgui:2642", + "location": "imgui:2749", "ov_cimguiname": "ImFontAtlas_AddFontDefault", "ret": "ImFont*", "signature": "(const ImFontConfig*)", @@ -2919,7 +2919,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromFileTTF", - "location": "imgui:2643", + "location": "imgui:2750", "ov_cimguiname": "ImFontAtlas_AddFontFromFileTTF", "ret": "ImFont*", "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", @@ -2959,7 +2959,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromMemoryCompressedBase85TTF", - "location": "imgui:2646", + "location": "imgui:2753", "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF", "ret": "ImFont*", "signature": "(const char*,float,const ImFontConfig*,const ImWchar*)", @@ -3003,7 +3003,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromMemoryCompressedTTF", - "location": "imgui:2645", + "location": "imgui:2752", "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryCompressedTTF", "ret": "ImFont*", "signature": "(const void*,int,float,const ImFontConfig*,const ImWchar*)", @@ -3047,7 +3047,7 @@ "glyph_ranges": "NULL" }, "funcname": "AddFontFromMemoryTTF", - "location": "imgui:2644", + "location": "imgui:2751", "ov_cimguiname": "ImFontAtlas_AddFontFromMemoryTTF", "ret": "ImFont*", "signature": "(void*,int,float,const ImFontConfig*,const ImWchar*)", @@ -3068,7 +3068,7 @@ "cimguiname": "ImFontAtlas_Build", "defaults": {}, "funcname": "Build", - "location": "imgui:2657", + "location": "imgui:2764", "ov_cimguiname": "ImFontAtlas_Build", "ret": "bool", "signature": "()", @@ -3101,7 +3101,7 @@ "cimguiname": "ImFontAtlas_CalcCustomRectUV", "defaults": {}, "funcname": "CalcCustomRectUV", - "location": "imgui:2695", + "location": "imgui:2803", "ov_cimguiname": "ImFontAtlas_CalcCustomRectUV", "ret": "void", "signature": "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)const", @@ -3122,7 +3122,7 @@ "cimguiname": "ImFontAtlas_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2650", + "location": "imgui:2757", "ov_cimguiname": "ImFontAtlas_Clear", "ret": "void", "signature": "()", @@ -3143,7 +3143,7 @@ "cimguiname": "ImFontAtlas_ClearFonts", "defaults": {}, "funcname": "ClearFonts", - "location": "imgui:2649", + "location": "imgui:2756", "ov_cimguiname": "ImFontAtlas_ClearFonts", "ret": "void", "signature": "()", @@ -3164,7 +3164,7 @@ "cimguiname": "ImFontAtlas_ClearInputData", "defaults": {}, "funcname": "ClearInputData", - "location": "imgui:2647", + "location": "imgui:2754", "ov_cimguiname": "ImFontAtlas_ClearInputData", "ret": "void", "signature": "()", @@ -3185,7 +3185,7 @@ "cimguiname": "ImFontAtlas_ClearTexData", "defaults": {}, "funcname": "ClearTexData", - "location": "imgui:2648", + "location": "imgui:2755", "ov_cimguiname": "ImFontAtlas_ClearTexData", "ret": "void", "signature": "()", @@ -3210,7 +3210,7 @@ "cimguiname": "ImFontAtlas_GetCustomRectByIndex", "defaults": {}, "funcname": "GetCustomRectByIndex", - "location": "imgui:2692", + "location": "imgui:2800", "ov_cimguiname": "ImFontAtlas_GetCustomRectByIndex", "ret": "ImFontAtlasCustomRect*", "signature": "(int)", @@ -3231,7 +3231,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", "defaults": {}, "funcname": "GetGlyphRangesChineseFull", - "location": "imgui:2673", + "location": "imgui:2781", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseFull", "ret": "const ImWchar*", "signature": "()", @@ -3252,7 +3252,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", "defaults": {}, "funcname": "GetGlyphRangesChineseSimplifiedCommon", - "location": "imgui:2674", + "location": "imgui:2782", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon", "ret": "const ImWchar*", "signature": "()", @@ -3273,7 +3273,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", "defaults": {}, "funcname": "GetGlyphRangesCyrillic", - "location": "imgui:2675", + "location": "imgui:2783", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesCyrillic", "ret": "const ImWchar*", "signature": "()", @@ -3294,13 +3294,34 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesDefault", "defaults": {}, "funcname": "GetGlyphRangesDefault", - "location": "imgui:2670", + "location": "imgui:2777", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesDefault", "ret": "const ImWchar*", "signature": "()", "stname": "ImFontAtlas" } ], + "ImFontAtlas_GetGlyphRangesGreek": [ + { + "args": "(ImFontAtlas* self)", + "argsT": [ + { + "name": "self", + "type": "ImFontAtlas*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImFontAtlas_GetGlyphRangesGreek", + "defaults": {}, + "funcname": "GetGlyphRangesGreek", + "location": "imgui:2778", + "ov_cimguiname": "ImFontAtlas_GetGlyphRangesGreek", + "ret": "const ImWchar*", + "signature": "()", + "stname": "ImFontAtlas" + } + ], "ImFontAtlas_GetGlyphRangesJapanese": [ { "args": "(ImFontAtlas* self)", @@ -3315,7 +3336,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", "defaults": {}, "funcname": "GetGlyphRangesJapanese", - "location": "imgui:2672", + "location": "imgui:2780", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesJapanese", "ret": "const ImWchar*", "signature": "()", @@ -3336,7 +3357,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesKorean", "defaults": {}, "funcname": "GetGlyphRangesKorean", - "location": "imgui:2671", + "location": "imgui:2779", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesKorean", "ret": "const ImWchar*", "signature": "()", @@ -3357,7 +3378,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesThai", "defaults": {}, "funcname": "GetGlyphRangesThai", - "location": "imgui:2676", + "location": "imgui:2784", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesThai", "ret": "const ImWchar*", "signature": "()", @@ -3378,7 +3399,7 @@ "cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", "defaults": {}, "funcname": "GetGlyphRangesVietnamese", - "location": "imgui:2677", + "location": "imgui:2785", "ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese", "ret": "const ImWchar*", "signature": "()", @@ -3419,7 +3440,7 @@ "cimguiname": "ImFontAtlas_GetMouseCursorTexData", "defaults": {}, "funcname": "GetMouseCursorTexData", - "location": "imgui:2696", + "location": "imgui:2804", "ov_cimguiname": "ImFontAtlas_GetMouseCursorTexData", "ret": "bool", "signature": "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])", @@ -3458,7 +3479,7 @@ "out_bytes_per_pixel": "NULL" }, "funcname": "GetTexDataAsAlpha8", - "location": "imgui:2658", + "location": "imgui:2765", "ov_cimguiname": "ImFontAtlas_GetTexDataAsAlpha8", "ret": "void", "signature": "(unsigned char**,int*,int*,int*)", @@ -3497,7 +3518,7 @@ "out_bytes_per_pixel": "NULL" }, "funcname": "GetTexDataAsRGBA32", - "location": "imgui:2659", + "location": "imgui:2766", "ov_cimguiname": "ImFontAtlas_GetTexDataAsRGBA32", "ret": "void", "signature": "(unsigned char**,int*,int*,int*)", @@ -3514,7 +3535,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontAtlas", - "location": "imgui:2639", + "location": "imgui:2746", "ov_cimguiname": "ImFontAtlas_ImFontAtlas", "signature": "()", "stname": "ImFontAtlas" @@ -3534,7 +3555,7 @@ "cimguiname": "ImFontAtlas_IsBuilt", "defaults": {}, "funcname": "IsBuilt", - "location": "imgui:2660", + "location": "imgui:2767", "ov_cimguiname": "ImFontAtlas_IsBuilt", "ret": "bool", "signature": "()const", @@ -3559,7 +3580,7 @@ "cimguiname": "ImFontAtlas_SetTexID", "defaults": {}, "funcname": "SetTexID", - "location": "imgui:2661", + "location": "imgui:2768", "ov_cimguiname": "ImFontAtlas_SetTexID", "ret": "void", "signature": "(ImTextureID)", @@ -3579,7 +3600,7 @@ "cimguiname": "ImFontAtlas_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2640", + "location": "imgui:2747", "ov_cimguiname": "ImFontAtlas_destroy", "realdestructor": true, "ret": "void", @@ -3597,7 +3618,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontConfig", - "location": "imgui:2567", + "location": "imgui:2674", "ov_cimguiname": "ImFontConfig_ImFontConfig", "signature": "()", "stname": "ImFontConfig" @@ -3640,7 +3661,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_AddChar", "defaults": {}, "funcname": "AddChar", - "location": "imgui:2592", + "location": "imgui:2699", "ov_cimguiname": "ImFontGlyphRangesBuilder_AddChar", "ret": "void", "signature": "(ImWchar)", @@ -3665,7 +3686,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_AddRanges", "defaults": {}, "funcname": "AddRanges", - "location": "imgui:2594", + "location": "imgui:2701", "ov_cimguiname": "ImFontGlyphRangesBuilder_AddRanges", "ret": "void", "signature": "(const ImWchar*)", @@ -3696,7 +3717,7 @@ "text_end": "NULL" }, "funcname": "AddText", - "location": "imgui:2593", + "location": "imgui:2700", "ov_cimguiname": "ImFontGlyphRangesBuilder_AddText", "ret": "void", "signature": "(const char*,const char*)", @@ -3721,7 +3742,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", "defaults": {}, "funcname": "BuildRanges", - "location": "imgui:2595", + "location": "imgui:2702", "ov_cimguiname": "ImFontGlyphRangesBuilder_BuildRanges", "ret": "void", "signature": "(ImVector_ImWchar*)", @@ -3742,7 +3763,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2589", + "location": "imgui:2696", "ov_cimguiname": "ImFontGlyphRangesBuilder_Clear", "ret": "void", "signature": "()", @@ -3767,7 +3788,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_GetBit", "defaults": {}, "funcname": "GetBit", - "location": "imgui:2590", + "location": "imgui:2697", "ov_cimguiname": "ImFontGlyphRangesBuilder_GetBit", "ret": "bool", "signature": "(size_t)const", @@ -3784,7 +3805,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFontGlyphRangesBuilder", - "location": "imgui:2588", + "location": "imgui:2695", "ov_cimguiname": "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder", "signature": "()", "stname": "ImFontGlyphRangesBuilder" @@ -3808,7 +3829,7 @@ "cimguiname": "ImFontGlyphRangesBuilder_SetBit", "defaults": {}, "funcname": "SetBit", - "location": "imgui:2591", + "location": "imgui:2698", "ov_cimguiname": "ImFontGlyphRangesBuilder_SetBit", "ret": "void", "signature": "(size_t)", @@ -3892,7 +3913,7 @@ "cimguiname": "ImFont_AddGlyph", "defaults": {}, "funcname": "AddGlyph", - "location": "imgui:2784", + "location": "imgui:2891", "ov_cimguiname": "ImFont_AddGlyph", "ret": "void", "signature": "(const ImFontConfig*,ImWchar,float,float,float,float,float,float,float,float,float)", @@ -3927,7 +3948,7 @@ "overwrite_dst": "true" }, "funcname": "AddRemapChar", - "location": "imgui:2785", + "location": "imgui:2892", "ov_cimguiname": "ImFont_AddRemapChar", "ret": "void", "signature": "(ImWchar,ImWchar,bool)", @@ -3948,7 +3969,7 @@ "cimguiname": "ImFont_BuildLookupTable", "defaults": {}, "funcname": "BuildLookupTable", - "location": "imgui:2781", + "location": "imgui:2888", "ov_cimguiname": "ImFont_BuildLookupTable", "ret": "void", "signature": "()", @@ -4000,7 +4021,7 @@ "text_end": "NULL" }, "funcname": "CalcTextSizeA", - "location": "imgui:2775", + "location": "imgui:2882", "nonUDT": 1, "ov_cimguiname": "ImFont_CalcTextSizeA", "ret": "void", @@ -4038,7 +4059,7 @@ "cimguiname": "ImFont_CalcWordWrapPositionA", "defaults": {}, "funcname": "CalcWordWrapPositionA", - "location": "imgui:2776", + "location": "imgui:2883", "ov_cimguiname": "ImFont_CalcWordWrapPositionA", "ret": "const char*", "signature": "(float,const char*,const char*,float)const", @@ -4059,7 +4080,7 @@ "cimguiname": "ImFont_ClearOutputData", "defaults": {}, "funcname": "ClearOutputData", - "location": "imgui:2782", + "location": "imgui:2889", "ov_cimguiname": "ImFont_ClearOutputData", "ret": "void", "signature": "()", @@ -4084,7 +4105,7 @@ "cimguiname": "ImFont_FindGlyph", "defaults": {}, "funcname": "FindGlyph", - "location": "imgui:2767", + "location": "imgui:2874", "ov_cimguiname": "ImFont_FindGlyph", "ret": "const ImFontGlyph*", "signature": "(ImWchar)const", @@ -4109,7 +4130,7 @@ "cimguiname": "ImFont_FindGlyphNoFallback", "defaults": {}, "funcname": "FindGlyphNoFallback", - "location": "imgui:2768", + "location": "imgui:2875", "ov_cimguiname": "ImFont_FindGlyphNoFallback", "ret": "const ImFontGlyph*", "signature": "(ImWchar)const", @@ -4134,7 +4155,7 @@ "cimguiname": "ImFont_GetCharAdvance", "defaults": {}, "funcname": "GetCharAdvance", - "location": "imgui:2769", + "location": "imgui:2876", "ov_cimguiname": "ImFont_GetCharAdvance", "ret": "float", "signature": "(ImWchar)const", @@ -4155,7 +4176,7 @@ "cimguiname": "ImFont_GetDebugName", "defaults": {}, "funcname": "GetDebugName", - "location": "imgui:2771", + "location": "imgui:2878", "ov_cimguiname": "ImFont_GetDebugName", "ret": "const char*", "signature": "()const", @@ -4180,7 +4201,7 @@ "cimguiname": "ImFont_GrowIndex", "defaults": {}, "funcname": "GrowIndex", - "location": "imgui:2783", + "location": "imgui:2890", "ov_cimguiname": "ImFont_GrowIndex", "ret": "void", "signature": "(int)", @@ -4197,7 +4218,7 @@ "constructor": true, "defaults": {}, "funcname": "ImFont", - "location": "imgui:2765", + "location": "imgui:2872", "ov_cimguiname": "ImFont_ImFont", "signature": "()", "stname": "ImFont" @@ -4225,7 +4246,7 @@ "cimguiname": "ImFont_IsGlyphRangeUnused", "defaults": {}, "funcname": "IsGlyphRangeUnused", - "location": "imgui:2787", + "location": "imgui:2894", "ov_cimguiname": "ImFont_IsGlyphRangeUnused", "ret": "bool", "signature": "(unsigned int,unsigned int)", @@ -4246,7 +4267,7 @@ "cimguiname": "ImFont_IsLoaded", "defaults": {}, "funcname": "IsLoaded", - "location": "imgui:2770", + "location": "imgui:2877", "ov_cimguiname": "ImFont_IsLoaded", "ret": "bool", "signature": "()const", @@ -4255,7 +4276,7 @@ ], "ImFont_RenderChar": [ { - "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", + "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c)", "argsT": [ { "name": "self", @@ -4271,7 +4292,7 @@ }, { "name": "pos", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "col", @@ -4282,21 +4303,21 @@ "type": "ImWchar" } ], - "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)", + "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,ImWchar c)", "call_args": "(draw_list,size,pos,col,c)", "cimguiname": "ImFont_RenderChar", "defaults": {}, "funcname": "RenderChar", - "location": "imgui:2777", + "location": "imgui:2884", "ov_cimguiname": "ImFont_RenderChar", "ret": "void", - "signature": "(ImDrawList*,float,ImVec2,ImU32,ImWchar)const", + "signature": "(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const", "stname": "ImFont" } ], "ImFont_RenderText": [ { - "args": "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", + "args": "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)", "argsT": [ { "name": "self", @@ -4312,7 +4333,7 @@ }, { "name": "pos", - "type": "ImVec2" + "type": "const ImVec2" }, { "name": "col", @@ -4339,7 +4360,7 @@ "type": "bool" } ], - "argsoriginal": "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", + "argsoriginal": "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)", "call_args": "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)", "cimguiname": "ImFont_RenderText", "defaults": { @@ -4347,10 +4368,10 @@ "wrap_width": "0.0f" }, "funcname": "RenderText", - "location": "imgui:2778", + "location": "imgui:2885", "ov_cimguiname": "ImFont_RenderText", "ret": "void", - "signature": "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const", + "signature": "(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const", "stname": "ImFont" } ], @@ -4376,7 +4397,7 @@ "cimguiname": "ImFont_SetGlyphVisible", "defaults": {}, "funcname": "SetGlyphVisible", - "location": "imgui:2786", + "location": "imgui:2893", "ov_cimguiname": "ImFont_SetGlyphVisible", "ret": "void", "signature": "(ImWchar,bool)", @@ -4396,7 +4417,7 @@ "cimguiname": "ImFont_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2766", + "location": "imgui:2873", "ov_cimguiname": "ImFont_destroy", "realdestructor": true, "ret": "void", @@ -4422,7 +4443,7 @@ "cimguiname": "ImGuiIO_AddFocusEvent", "defaults": {}, "funcname": "AddFocusEvent", - "location": "imgui:1898", + "location": "imgui:1974", "ov_cimguiname": "ImGuiIO_AddFocusEvent", "ret": "void", "signature": "(bool)", @@ -4447,7 +4468,7 @@ "cimguiname": "ImGuiIO_AddInputCharacter", "defaults": {}, "funcname": "AddInputCharacter", - "location": "imgui:1895", + "location": "imgui:1975", "ov_cimguiname": "ImGuiIO_AddInputCharacter", "ret": "void", "signature": "(unsigned int)", @@ -4472,7 +4493,7 @@ "cimguiname": "ImGuiIO_AddInputCharacterUTF16", "defaults": {}, "funcname": "AddInputCharacterUTF16", - "location": "imgui:1896", + "location": "imgui:1976", "ov_cimguiname": "ImGuiIO_AddInputCharacterUTF16", "ret": "void", "signature": "(ImWchar16)", @@ -4497,13 +4518,162 @@ "cimguiname": "ImGuiIO_AddInputCharactersUTF8", "defaults": {}, "funcname": "AddInputCharactersUTF8", - "location": "imgui:1897", + "location": "imgui:1977", "ov_cimguiname": "ImGuiIO_AddInputCharactersUTF8", "ret": "void", "signature": "(const char*)", "stname": "ImGuiIO" } ], + "ImGuiIO_AddKeyAnalogEvent": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,bool down,float v)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "down", + "type": "bool" + }, + { + "name": "v", + "type": "float" + } + ], + "argsoriginal": "(ImGuiKey key,bool down,float v)", + "call_args": "(key,down,v)", + "cimguiname": "ImGuiIO_AddKeyAnalogEvent", + "defaults": {}, + "funcname": "AddKeyAnalogEvent", + "location": "imgui:1970", + "ov_cimguiname": "ImGuiIO_AddKeyAnalogEvent", + "ret": "void", + "signature": "(ImGuiKey,bool,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddKeyEvent": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,bool down)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "down", + "type": "bool" + } + ], + "argsoriginal": "(ImGuiKey key,bool down)", + "call_args": "(key,down)", + "cimguiname": "ImGuiIO_AddKeyEvent", + "defaults": {}, + "funcname": "AddKeyEvent", + "location": "imgui:1969", + "ov_cimguiname": "ImGuiIO_AddKeyEvent", + "ret": "void", + "signature": "(ImGuiKey,bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseButtonEvent": [ + { + "args": "(ImGuiIO* self,int button,bool down)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "button", + "type": "int" + }, + { + "name": "down", + "type": "bool" + } + ], + "argsoriginal": "(int button,bool down)", + "call_args": "(button,down)", + "cimguiname": "ImGuiIO_AddMouseButtonEvent", + "defaults": {}, + "funcname": "AddMouseButtonEvent", + "location": "imgui:1972", + "ov_cimguiname": "ImGuiIO_AddMouseButtonEvent", + "ret": "void", + "signature": "(int,bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMousePosEvent": [ + { + "args": "(ImGuiIO* self,float x,float y)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "x", + "type": "float" + }, + { + "name": "y", + "type": "float" + } + ], + "argsoriginal": "(float x,float y)", + "call_args": "(x,y)", + "cimguiname": "ImGuiIO_AddMousePosEvent", + "defaults": {}, + "funcname": "AddMousePosEvent", + "location": "imgui:1971", + "ov_cimguiname": "ImGuiIO_AddMousePosEvent", + "ret": "void", + "signature": "(float,float)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_AddMouseWheelEvent": [ + { + "args": "(ImGuiIO* self,float wh_x,float wh_y)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "wh_x", + "type": "float" + }, + { + "name": "wh_y", + "type": "float" + } + ], + "argsoriginal": "(float wh_x,float wh_y)", + "call_args": "(wh_x,wh_y)", + "cimguiname": "ImGuiIO_AddMouseWheelEvent", + "defaults": {}, + "funcname": "AddMouseWheelEvent", + "location": "imgui:1973", + "ov_cimguiname": "ImGuiIO_AddMouseWheelEvent", + "ret": "void", + "signature": "(float,float)", + "stname": "ImGuiIO" + } + ], "ImGuiIO_ClearInputCharacters": [ { "args": "(ImGuiIO* self)", @@ -4518,7 +4688,7 @@ "cimguiname": "ImGuiIO_ClearInputCharacters", "defaults": {}, "funcname": "ClearInputCharacters", - "location": "imgui:1899", + "location": "imgui:1981", "ov_cimguiname": "ImGuiIO_ClearInputCharacters", "ret": "void", "signature": "()", @@ -4539,7 +4709,7 @@ "cimguiname": "ImGuiIO_ClearInputKeys", "defaults": {}, "funcname": "ClearInputKeys", - "location": "imgui:1900", + "location": "imgui:1982", "ov_cimguiname": "ImGuiIO_ClearInputKeys", "ret": "void", "signature": "()", @@ -4556,12 +4726,76 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiIO", - "location": "imgui:1953", + "location": "imgui:2055", "ov_cimguiname": "ImGuiIO_ImGuiIO", "signature": "()", "stname": "ImGuiIO" } ], + "ImGuiIO_SetAppAcceptingEvents": [ + { + "args": "(ImGuiIO* self,bool accepting_events)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "accepting_events", + "type": "bool" + } + ], + "argsoriginal": "(bool accepting_events)", + "call_args": "(accepting_events)", + "cimguiname": "ImGuiIO_SetAppAcceptingEvents", + "defaults": {}, + "funcname": "SetAppAcceptingEvents", + "location": "imgui:1980", + "ov_cimguiname": "ImGuiIO_SetAppAcceptingEvents", + "ret": "void", + "signature": "(bool)", + "stname": "ImGuiIO" + } + ], + "ImGuiIO_SetKeyEventNativeData": [ + { + "args": "(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index)", + "argsT": [ + { + "name": "self", + "type": "ImGuiIO*" + }, + { + "name": "key", + "type": "ImGuiKey" + }, + { + "name": "native_keycode", + "type": "int" + }, + { + "name": "native_scancode", + "type": "int" + }, + { + "name": "native_legacy_index", + "type": "int" + } + ], + "argsoriginal": "(ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index=-1)", + "call_args": "(key,native_keycode,native_scancode,native_legacy_index)", + "cimguiname": "ImGuiIO_SetKeyEventNativeData", + "defaults": { + "native_legacy_index": "-1" + }, + "funcname": "SetKeyEventNativeData", + "location": "imgui:1979", + "ov_cimguiname": "ImGuiIO_SetKeyEventNativeData", + "ret": "void", + "signature": "(ImGuiKey,int,int,int)", + "stname": "ImGuiIO" + } + ], "ImGuiIO_destroy": [ { "args": "(ImGuiIO* self)", @@ -4595,7 +4829,7 @@ "cimguiname": "ImGuiInputTextCallbackData_ClearSelection", "defaults": {}, "funcname": "ClearSelection", - "location": "imgui:1994", + "location": "imgui:2096", "ov_cimguiname": "ImGuiInputTextCallbackData_ClearSelection", "ret": "void", "signature": "()", @@ -4624,7 +4858,7 @@ "cimguiname": "ImGuiInputTextCallbackData_DeleteChars", "defaults": {}, "funcname": "DeleteChars", - "location": "imgui:1991", + "location": "imgui:2093", "ov_cimguiname": "ImGuiInputTextCallbackData_DeleteChars", "ret": "void", "signature": "(int,int)", @@ -4645,7 +4879,7 @@ "cimguiname": "ImGuiInputTextCallbackData_HasSelection", "defaults": {}, "funcname": "HasSelection", - "location": "imgui:1995", + "location": "imgui:2097", "ov_cimguiname": "ImGuiInputTextCallbackData_HasSelection", "ret": "bool", "signature": "()const", @@ -4662,7 +4896,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiInputTextCallbackData", - "location": "imgui:1990", + "location": "imgui:2092", "ov_cimguiname": "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData", "signature": "()", "stname": "ImGuiInputTextCallbackData" @@ -4696,7 +4930,7 @@ "text_end": "NULL" }, "funcname": "InsertChars", - "location": "imgui:1992", + "location": "imgui:2094", "ov_cimguiname": "ImGuiInputTextCallbackData_InsertChars", "ret": "void", "signature": "(int,const char*,const char*)", @@ -4717,7 +4951,7 @@ "cimguiname": "ImGuiInputTextCallbackData_SelectAll", "defaults": {}, "funcname": "SelectAll", - "location": "imgui:1993", + "location": "imgui:2095", "ov_cimguiname": "ImGuiInputTextCallbackData_SelectAll", "ret": "void", "signature": "()", @@ -4767,7 +5001,7 @@ "items_height": "-1.0f" }, "funcname": "Begin", - "location": "imgui:2206", + "location": "imgui:2308", "ov_cimguiname": "ImGuiListClipper_Begin", "ret": "void", "signature": "(int,float)", @@ -4788,7 +5022,7 @@ "cimguiname": "ImGuiListClipper_End", "defaults": {}, "funcname": "End", - "location": "imgui:2207", + "location": "imgui:2309", "ov_cimguiname": "ImGuiListClipper_End", "ret": "void", "signature": "()", @@ -4817,7 +5051,7 @@ "cimguiname": "ImGuiListClipper_ForceDisplayRangeByIndices", "defaults": {}, "funcname": "ForceDisplayRangeByIndices", - "location": "imgui:2211", + "location": "imgui:2313", "ov_cimguiname": "ImGuiListClipper_ForceDisplayRangeByIndices", "ret": "void", "signature": "(int,int)", @@ -4834,7 +5068,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiListClipper", - "location": "imgui:2204", + "location": "imgui:2306", "ov_cimguiname": "ImGuiListClipper_ImGuiListClipper", "signature": "()", "stname": "ImGuiListClipper" @@ -4854,7 +5088,7 @@ "cimguiname": "ImGuiListClipper_Step", "defaults": {}, "funcname": "Step", - "location": "imgui:2208", + "location": "imgui:2310", "ov_cimguiname": "ImGuiListClipper_Step", "ret": "bool", "signature": "()", @@ -4874,7 +5108,7 @@ "cimguiname": "ImGuiListClipper_destroy", "defaults": {}, "destructor": true, - "location": "imgui:2205", + "location": "imgui:2307", "ov_cimguiname": "ImGuiListClipper_destroy", "realdestructor": true, "ret": "void", @@ -4892,7 +5126,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiOnceUponAFrame", - "location": "imgui:2070", + "location": "imgui:2172", "ov_cimguiname": "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame", "signature": "()", "stname": "ImGuiOnceUponAFrame" @@ -4931,7 +5165,7 @@ "cimguiname": "ImGuiPayload_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2024", + "location": "imgui:2126", "ov_cimguiname": "ImGuiPayload_Clear", "ret": "void", "signature": "()", @@ -4948,7 +5182,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiPayload", - "location": "imgui:2023", + "location": "imgui:2125", "ov_cimguiname": "ImGuiPayload_ImGuiPayload", "signature": "()", "stname": "ImGuiPayload" @@ -4972,7 +5206,7 @@ "cimguiname": "ImGuiPayload_IsDataType", "defaults": {}, "funcname": "IsDataType", - "location": "imgui:2025", + "location": "imgui:2127", "ov_cimguiname": "ImGuiPayload_IsDataType", "ret": "bool", "signature": "(const char*)const", @@ -4993,7 +5227,7 @@ "cimguiname": "ImGuiPayload_IsDelivery", "defaults": {}, "funcname": "IsDelivery", - "location": "imgui:2027", + "location": "imgui:2129", "ov_cimguiname": "ImGuiPayload_IsDelivery", "ret": "bool", "signature": "()const", @@ -5014,7 +5248,7 @@ "cimguiname": "ImGuiPayload_IsPreview", "defaults": {}, "funcname": "IsPreview", - "location": "imgui:2026", + "location": "imgui:2128", "ov_cimguiname": "ImGuiPayload_IsPreview", "ret": "bool", "signature": "()const", @@ -5040,6 +5274,41 @@ "stname": "ImGuiPayload" } ], + "ImGuiPlatformImeData_ImGuiPlatformImeData": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", + "constructor": true, + "defaults": {}, + "funcname": "ImGuiPlatformImeData", + "location": "imgui:2946", + "ov_cimguiname": "ImGuiPlatformImeData_ImGuiPlatformImeData", + "signature": "()", + "stname": "ImGuiPlatformImeData" + } + ], + "ImGuiPlatformImeData_destroy": [ + { + "args": "(ImGuiPlatformImeData* self)", + "argsT": [ + { + "name": "self", + "type": "ImGuiPlatformImeData*" + } + ], + "call_args": "(self)", + "cimguiname": "ImGuiPlatformImeData_destroy", + "defaults": {}, + "destructor": true, + "ov_cimguiname": "ImGuiPlatformImeData_destroy", + "ret": "void", + "signature": "(ImGuiPlatformImeData*)", + "stname": "ImGuiPlatformImeData" + } + ], "ImGuiStoragePair_ImGuiStoragePair": [ { "args": "(ImGuiID _key,int _val_i)", @@ -5059,8 +5328,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStoragePair", - "location": "imgui:2137", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairInt", + "location": "imgui:2239", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Int", "signature": "(ImGuiID,int)", "stname": "ImGuiStoragePair" }, @@ -5082,8 +5351,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStoragePair", - "location": "imgui:2138", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairFloat", + "location": "imgui:2240", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Float", "signature": "(ImGuiID,float)", "stname": "ImGuiStoragePair" }, @@ -5105,8 +5374,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStoragePair", - "location": "imgui:2139", - "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePairPtr", + "location": "imgui:2241", + "ov_cimguiname": "ImGuiStoragePair_ImGuiStoragePair_Ptr", "signature": "(ImGuiID,void*)", "stname": "ImGuiStoragePair" } @@ -5144,7 +5413,7 @@ "cimguiname": "ImGuiStorage_BuildSortByKey", "defaults": {}, "funcname": "BuildSortByKey", - "location": "imgui:2170", + "location": "imgui:2272", "ov_cimguiname": "ImGuiStorage_BuildSortByKey", "ret": "void", "signature": "()", @@ -5165,7 +5434,7 @@ "cimguiname": "ImGuiStorage_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2147", + "location": "imgui:2249", "ov_cimguiname": "ImGuiStorage_Clear", "ret": "void", "signature": "()", @@ -5196,7 +5465,7 @@ "default_val": "false" }, "funcname": "GetBool", - "location": "imgui:2150", + "location": "imgui:2252", "ov_cimguiname": "ImGuiStorage_GetBool", "ret": "bool", "signature": "(ImGuiID,bool)const", @@ -5227,7 +5496,7 @@ "default_val": "false" }, "funcname": "GetBoolRef", - "location": "imgui:2162", + "location": "imgui:2264", "ov_cimguiname": "ImGuiStorage_GetBoolRef", "ret": "bool*", "signature": "(ImGuiID,bool)", @@ -5258,7 +5527,7 @@ "default_val": "0.0f" }, "funcname": "GetFloat", - "location": "imgui:2152", + "location": "imgui:2254", "ov_cimguiname": "ImGuiStorage_GetFloat", "ret": "float", "signature": "(ImGuiID,float)const", @@ -5289,7 +5558,7 @@ "default_val": "0.0f" }, "funcname": "GetFloatRef", - "location": "imgui:2163", + "location": "imgui:2265", "ov_cimguiname": "ImGuiStorage_GetFloatRef", "ret": "float*", "signature": "(ImGuiID,float)", @@ -5320,7 +5589,7 @@ "default_val": "0" }, "funcname": "GetInt", - "location": "imgui:2148", + "location": "imgui:2250", "ov_cimguiname": "ImGuiStorage_GetInt", "ret": "int", "signature": "(ImGuiID,int)const", @@ -5351,7 +5620,7 @@ "default_val": "0" }, "funcname": "GetIntRef", - "location": "imgui:2161", + "location": "imgui:2263", "ov_cimguiname": "ImGuiStorage_GetIntRef", "ret": "int*", "signature": "(ImGuiID,int)", @@ -5376,7 +5645,7 @@ "cimguiname": "ImGuiStorage_GetVoidPtr", "defaults": {}, "funcname": "GetVoidPtr", - "location": "imgui:2154", + "location": "imgui:2256", "ov_cimguiname": "ImGuiStorage_GetVoidPtr", "ret": "void*", "signature": "(ImGuiID)const", @@ -5407,7 +5676,7 @@ "default_val": "NULL" }, "funcname": "GetVoidPtrRef", - "location": "imgui:2164", + "location": "imgui:2266", "ov_cimguiname": "ImGuiStorage_GetVoidPtrRef", "ret": "void**", "signature": "(ImGuiID,void*)", @@ -5432,7 +5701,7 @@ "cimguiname": "ImGuiStorage_SetAllInt", "defaults": {}, "funcname": "SetAllInt", - "location": "imgui:2167", + "location": "imgui:2269", "ov_cimguiname": "ImGuiStorage_SetAllInt", "ret": "void", "signature": "(int)", @@ -5461,7 +5730,7 @@ "cimguiname": "ImGuiStorage_SetBool", "defaults": {}, "funcname": "SetBool", - "location": "imgui:2151", + "location": "imgui:2253", "ov_cimguiname": "ImGuiStorage_SetBool", "ret": "void", "signature": "(ImGuiID,bool)", @@ -5490,7 +5759,7 @@ "cimguiname": "ImGuiStorage_SetFloat", "defaults": {}, "funcname": "SetFloat", - "location": "imgui:2153", + "location": "imgui:2255", "ov_cimguiname": "ImGuiStorage_SetFloat", "ret": "void", "signature": "(ImGuiID,float)", @@ -5519,7 +5788,7 @@ "cimguiname": "ImGuiStorage_SetInt", "defaults": {}, "funcname": "SetInt", - "location": "imgui:2149", + "location": "imgui:2251", "ov_cimguiname": "ImGuiStorage_SetInt", "ret": "void", "signature": "(ImGuiID,int)", @@ -5548,7 +5817,7 @@ "cimguiname": "ImGuiStorage_SetVoidPtr", "defaults": {}, "funcname": "SetVoidPtr", - "location": "imgui:2155", + "location": "imgui:2257", "ov_cimguiname": "ImGuiStorage_SetVoidPtr", "ret": "void", "signature": "(ImGuiID,void*)", @@ -5565,7 +5834,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiStyle", - "location": "imgui:1809", + "location": "imgui:1877", "ov_cimguiname": "ImGuiStyle_ImGuiStyle", "signature": "()", "stname": "ImGuiStyle" @@ -5589,7 +5858,7 @@ "cimguiname": "ImGuiStyle_ScaleAllSizes", "defaults": {}, "funcname": "ScaleAllSizes", - "location": "imgui:1810", + "location": "imgui:1878", "ov_cimguiname": "ImGuiStyle_ScaleAllSizes", "ret": "void", "signature": "(float)", @@ -5625,7 +5894,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableColumnSortSpecs", - "location": "imgui:2038", + "location": "imgui:2140", "ov_cimguiname": "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs", "signature": "()", "stname": "ImGuiTableColumnSortSpecs" @@ -5660,7 +5929,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTableSortSpecs", - "location": "imgui:2051", + "location": "imgui:2153", "ov_cimguiname": "ImGuiTableSortSpecs_ImGuiTableSortSpecs", "signature": "()", "stname": "ImGuiTableSortSpecs" @@ -5695,7 +5964,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTextBuffer", - "location": "imgui:2108", + "location": "imgui:2210", "ov_cimguiname": "ImGuiTextBuffer_ImGuiTextBuffer", "signature": "()", "stname": "ImGuiTextBuffer" @@ -5725,7 +5994,7 @@ "str_end": "NULL" }, "funcname": "append", - "location": "imgui:2117", + "location": "imgui:2219", "ov_cimguiname": "ImGuiTextBuffer_append", "ret": "void", "signature": "(const char*,const char*)", @@ -5755,7 +6024,7 @@ "defaults": {}, "funcname": "appendf", "isvararg": "...)", - "location": "imgui:2118", + "location": "imgui:2220", "manual": true, "ov_cimguiname": "ImGuiTextBuffer_appendf", "ret": "void", @@ -5785,7 +6054,7 @@ "cimguiname": "ImGuiTextBuffer_appendfv", "defaults": {}, "funcname": "appendfv", - "location": "imgui:2119", + "location": "imgui:2221", "ov_cimguiname": "ImGuiTextBuffer_appendfv", "ret": "void", "signature": "(const char*,va_list)", @@ -5806,7 +6075,7 @@ "cimguiname": "ImGuiTextBuffer_begin", "defaults": {}, "funcname": "begin", - "location": "imgui:2110", + "location": "imgui:2212", "ov_cimguiname": "ImGuiTextBuffer_begin", "ret": "const char*", "signature": "()const", @@ -5827,7 +6096,7 @@ "cimguiname": "ImGuiTextBuffer_c_str", "defaults": {}, "funcname": "c_str", - "location": "imgui:2116", + "location": "imgui:2218", "ov_cimguiname": "ImGuiTextBuffer_c_str", "ret": "const char*", "signature": "()const", @@ -5848,7 +6117,7 @@ "cimguiname": "ImGuiTextBuffer_clear", "defaults": {}, "funcname": "clear", - "location": "imgui:2114", + "location": "imgui:2216", "ov_cimguiname": "ImGuiTextBuffer_clear", "ret": "void", "signature": "()", @@ -5888,7 +6157,7 @@ "cimguiname": "ImGuiTextBuffer_empty", "defaults": {}, "funcname": "empty", - "location": "imgui:2113", + "location": "imgui:2215", "ov_cimguiname": "ImGuiTextBuffer_empty", "ret": "bool", "signature": "()const", @@ -5909,7 +6178,7 @@ "cimguiname": "ImGuiTextBuffer_end", "defaults": {}, "funcname": "end", - "location": "imgui:2111", + "location": "imgui:2213", "ov_cimguiname": "ImGuiTextBuffer_end", "ret": "const char*", "signature": "()const", @@ -5934,7 +6203,7 @@ "cimguiname": "ImGuiTextBuffer_reserve", "defaults": {}, "funcname": "reserve", - "location": "imgui:2115", + "location": "imgui:2217", "ov_cimguiname": "ImGuiTextBuffer_reserve", "ret": "void", "signature": "(int)", @@ -5955,7 +6224,7 @@ "cimguiname": "ImGuiTextBuffer_size", "defaults": {}, "funcname": "size", - "location": "imgui:2112", + "location": "imgui:2214", "ov_cimguiname": "ImGuiTextBuffer_size", "ret": "int", "signature": "()const", @@ -5976,7 +6245,7 @@ "cimguiname": "ImGuiTextFilter_Build", "defaults": {}, "funcname": "Build", - "location": "imgui:2081", + "location": "imgui:2183", "ov_cimguiname": "ImGuiTextFilter_Build", "ret": "void", "signature": "()", @@ -5997,7 +6266,7 @@ "cimguiname": "ImGuiTextFilter_Clear", "defaults": {}, "funcname": "Clear", - "location": "imgui:2082", + "location": "imgui:2184", "ov_cimguiname": "ImGuiTextFilter_Clear", "ret": "void", "signature": "()", @@ -6029,7 +6298,7 @@ "width": "0.0f" }, "funcname": "Draw", - "location": "imgui:2079", + "location": "imgui:2181", "ov_cimguiname": "ImGuiTextFilter_Draw", "ret": "bool", "signature": "(const char*,float)", @@ -6053,7 +6322,7 @@ "default_filter": "\"\"" }, "funcname": "ImGuiTextFilter", - "location": "imgui:2078", + "location": "imgui:2180", "ov_cimguiname": "ImGuiTextFilter_ImGuiTextFilter", "signature": "(const char*)", "stname": "ImGuiTextFilter" @@ -6073,7 +6342,7 @@ "cimguiname": "ImGuiTextFilter_IsActive", "defaults": {}, "funcname": "IsActive", - "location": "imgui:2083", + "location": "imgui:2185", "ov_cimguiname": "ImGuiTextFilter_IsActive", "ret": "bool", "signature": "()const", @@ -6104,7 +6373,7 @@ "text_end": "NULL" }, "funcname": "PassFilter", - "location": "imgui:2080", + "location": "imgui:2182", "ov_cimguiname": "ImGuiTextFilter_PassFilter", "ret": "bool", "signature": "(const char*,const char*)const", @@ -6140,8 +6409,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTextRange", - "location": "imgui:2091", - "ov_cimguiname": "ImGuiTextRange_ImGuiTextRangeNil", + "location": "imgui:2193", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Nil", "signature": "()", "stname": "ImGuiTextRange" }, @@ -6163,8 +6432,8 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiTextRange", - "location": "imgui:2092", - "ov_cimguiname": "ImGuiTextRange_ImGuiTextRangeStr", + "location": "imgui:2194", + "ov_cimguiname": "ImGuiTextRange_ImGuiTextRange_Str", "signature": "(const char*,const char*)", "stname": "ImGuiTextRange" } @@ -6202,7 +6471,7 @@ "cimguiname": "ImGuiTextRange_empty", "defaults": {}, "funcname": "empty", - "location": "imgui:2093", + "location": "imgui:2195", "ov_cimguiname": "ImGuiTextRange_empty", "ret": "bool", "signature": "()const", @@ -6231,7 +6500,7 @@ "cimguiname": "ImGuiTextRange_split", "defaults": {}, "funcname": "split", - "location": "imgui:2094", + "location": "imgui:2196", "ov_cimguiname": "ImGuiTextRange_split", "ret": "void", "signature": "(char,ImVector_ImGuiTextRange*)const", @@ -6256,7 +6525,7 @@ "cimguiname": "ImGuiViewport_GetCenter", "defaults": {}, "funcname": "GetCenter", - "location": "imgui:2821", + "location": "imgui:2931", "nonUDT": 1, "ov_cimguiname": "ImGuiViewport_GetCenter", "ret": "void", @@ -6282,7 +6551,7 @@ "cimguiname": "ImGuiViewport_GetWorkCenter", "defaults": {}, "funcname": "GetWorkCenter", - "location": "imgui:2822", + "location": "imgui:2932", "nonUDT": 1, "ov_cimguiname": "ImGuiViewport_GetWorkCenter", "ret": "void", @@ -6300,7 +6569,7 @@ "constructor": true, "defaults": {}, "funcname": "ImGuiViewport", - "location": "imgui:2818", + "location": "imgui:2928", "ov_cimguiname": "ImGuiViewport_ImGuiViewport", "signature": "()", "stname": "ImGuiViewport" @@ -6335,8 +6604,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2", - "location": "imgui:262", - "ov_cimguiname": "ImVec2_ImVec2Nil", + "location": "imgui:256", + "ov_cimguiname": "ImVec2_ImVec2_Nil", "signature": "()", "stname": "ImVec2" }, @@ -6358,8 +6627,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec2", - "location": "imgui:263", - "ov_cimguiname": "ImVec2_ImVec2Float", + "location": "imgui:257", + "ov_cimguiname": "ImVec2_ImVec2_Float", "signature": "(float,float)", "stname": "ImVec2" } @@ -6393,8 +6662,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec4", - "location": "imgui:275", - "ov_cimguiname": "ImVec4_ImVec4Nil", + "location": "imgui:269", + "ov_cimguiname": "ImVec4_ImVec4_Nil", "signature": "()", "stname": "ImVec4" }, @@ -6424,8 +6693,8 @@ "constructor": true, "defaults": {}, "funcname": "ImVec4", - "location": "imgui:276", - "ov_cimguiname": "ImVec4_ImVec4Float", + "location": "imgui:270", + "ov_cimguiname": "ImVec4_ImVec4_Float", "signature": "(float,float,float,float)", "stname": "ImVec4" } @@ -6459,18 +6728,18 @@ "constructor": true, "defaults": {}, "funcname": "ImVector", - "location": "imgui:1707", - "ov_cimguiname": "ImVector_ImVectorNil", + "location": "imgui:1774", + "ov_cimguiname": "ImVector_ImVector_Nil", "signature": "()", "stname": "ImVector", "templated": true }, { - "args": "(const ImVector src)", + "args": "(const ImVector_T src)", "argsT": [ { "name": "src", - "type": "const ImVector" + "type": "const ImVector_T " } ], "argsoriginal": "(const ImVector& src)", @@ -6479,9 +6748,9 @@ "constructor": true, "defaults": {}, "funcname": "ImVector", - "location": "imgui:1708", - "ov_cimguiname": "ImVector_ImVectorVector", - "signature": "(const ImVector)", + "location": "imgui:1775", + "ov_cimguiname": "ImVector_ImVector_Vector_T_", + "signature": "(const ImVector_T )", "stname": "ImVector", "templated": true } @@ -6504,7 +6773,7 @@ "cimguiname": "ImVector__grow_capacity", "defaults": {}, "funcname": "_grow_capacity", - "location": "imgui:1734", + "location": "imgui:1801", "ov_cimguiname": "ImVector__grow_capacity", "ret": "int", "signature": "(int)const", @@ -6526,8 +6795,8 @@ "cimguiname": "ImVector_back", "defaults": {}, "funcname": "back", - "location": "imgui:1730", - "ov_cimguiname": "ImVector_backNil", + "location": "imgui:1797", + "ov_cimguiname": "ImVector_back_Nil", "ret": "T*", "retref": "&", "signature": "()", @@ -6547,8 +6816,8 @@ "cimguiname": "ImVector_back", "defaults": {}, "funcname": "back", - "location": "imgui:1731", - "ov_cimguiname": "ImVector_back_const", + "location": "imgui:1798", + "ov_cimguiname": "ImVector_back__const", "ret": "const T*", "retref": "&", "signature": "()const", @@ -6570,8 +6839,8 @@ "cimguiname": "ImVector_begin", "defaults": {}, "funcname": "begin", - "location": "imgui:1724", - "ov_cimguiname": "ImVector_beginNil", + "location": "imgui:1791", + "ov_cimguiname": "ImVector_begin_Nil", "ret": "T*", "signature": "()", "stname": "ImVector", @@ -6590,8 +6859,8 @@ "cimguiname": "ImVector_begin", "defaults": {}, "funcname": "begin", - "location": "imgui:1725", - "ov_cimguiname": "ImVector_begin_const", + "location": "imgui:1792", + "ov_cimguiname": "ImVector_begin__const", "ret": "const T*", "signature": "()const", "stname": "ImVector", @@ -6612,7 +6881,7 @@ "cimguiname": "ImVector_capacity", "defaults": {}, "funcname": "capacity", - "location": "imgui:1720", + "location": "imgui:1787", "ov_cimguiname": "ImVector_capacity", "ret": "int", "signature": "()const", @@ -6634,7 +6903,7 @@ "cimguiname": "ImVector_clear", "defaults": {}, "funcname": "clear", - "location": "imgui:1712", + "location": "imgui:1779", "ov_cimguiname": "ImVector_clear", "ret": "void", "signature": "()", @@ -6656,7 +6925,7 @@ "cimguiname": "ImVector_clear_delete", "defaults": {}, "funcname": "clear_delete", - "location": "imgui:1713", + "location": "imgui:1780", "ov_cimguiname": "ImVector_clear_delete", "ret": "void", "signature": "()", @@ -6678,7 +6947,7 @@ "cimguiname": "ImVector_clear_destruct", "defaults": {}, "funcname": "clear_destruct", - "location": "imgui:1714", + "location": "imgui:1781", "ov_cimguiname": "ImVector_clear_destruct", "ret": "void", "signature": "()", @@ -6704,7 +6973,7 @@ "cimguiname": "ImVector_contains", "defaults": {}, "funcname": "contains", - "location": "imgui:1748", + "location": "imgui:1816", "ov_cimguiname": "ImVector_contains", "ret": "bool", "signature": "(const T)const", @@ -6725,7 +6994,7 @@ "cimguiname": "ImVector_destroy", "defaults": {}, "destructor": true, - "location": "imgui:1710", + "location": "imgui:1777", "ov_cimguiname": "ImVector_destroy", "realdestructor": true, "ret": "void", @@ -6748,7 +7017,7 @@ "cimguiname": "ImVector_empty", "defaults": {}, "funcname": "empty", - "location": "imgui:1716", + "location": "imgui:1783", "ov_cimguiname": "ImVector_empty", "ret": "bool", "signature": "()const", @@ -6770,8 +7039,8 @@ "cimguiname": "ImVector_end", "defaults": {}, "funcname": "end", - "location": "imgui:1726", - "ov_cimguiname": "ImVector_endNil", + "location": "imgui:1793", + "ov_cimguiname": "ImVector_end_Nil", "ret": "T*", "signature": "()", "stname": "ImVector", @@ -6790,8 +7059,8 @@ "cimguiname": "ImVector_end", "defaults": {}, "funcname": "end", - "location": "imgui:1727", - "ov_cimguiname": "ImVector_end_const", + "location": "imgui:1794", + "ov_cimguiname": "ImVector_end__const", "ret": "const T*", "signature": "()const", "stname": "ImVector", @@ -6816,8 +7085,8 @@ "cimguiname": "ImVector_erase", "defaults": {}, "funcname": "erase", - "location": "imgui:1744", - "ov_cimguiname": "ImVector_eraseNil", + "location": "imgui:1812", + "ov_cimguiname": "ImVector_erase_Nil", "ret": "T*", "signature": "(const T*)", "stname": "ImVector", @@ -6844,8 +7113,8 @@ "cimguiname": "ImVector_erase", "defaults": {}, "funcname": "erase", - "location": "imgui:1745", - "ov_cimguiname": "ImVector_eraseTPtr", + "location": "imgui:1813", + "ov_cimguiname": "ImVector_erase_TPtr", "ret": "T*", "signature": "(const T*,const T*)", "stname": "ImVector", @@ -6870,7 +7139,7 @@ "cimguiname": "ImVector_erase_unsorted", "defaults": {}, "funcname": "erase_unsorted", - "location": "imgui:1746", + "location": "imgui:1814", "ov_cimguiname": "ImVector_erase_unsorted", "ret": "T*", "signature": "(const T*)", @@ -6896,8 +7165,8 @@ "cimguiname": "ImVector_find", "defaults": {}, "funcname": "find", - "location": "imgui:1749", - "ov_cimguiname": "ImVector_findNil", + "location": "imgui:1817", + "ov_cimguiname": "ImVector_find_Nil", "ret": "T*", "signature": "(const T)", "stname": "ImVector", @@ -6920,8 +7189,8 @@ "cimguiname": "ImVector_find", "defaults": {}, "funcname": "find", - "location": "imgui:1750", - "ov_cimguiname": "ImVector_find_const", + "location": "imgui:1818", + "ov_cimguiname": "ImVector_find__const", "ret": "const T*", "signature": "(const T)const", "stname": "ImVector", @@ -6946,7 +7215,7 @@ "cimguiname": "ImVector_find_erase", "defaults": {}, "funcname": "find_erase", - "location": "imgui:1751", + "location": "imgui:1819", "ov_cimguiname": "ImVector_find_erase", "ret": "bool", "signature": "(const T)", @@ -6972,7 +7241,7 @@ "cimguiname": "ImVector_find_erase_unsorted", "defaults": {}, "funcname": "find_erase_unsorted", - "location": "imgui:1752", + "location": "imgui:1820", "ov_cimguiname": "ImVector_find_erase_unsorted", "ret": "bool", "signature": "(const T)", @@ -6994,8 +7263,8 @@ "cimguiname": "ImVector_front", "defaults": {}, "funcname": "front", - "location": "imgui:1728", - "ov_cimguiname": "ImVector_frontNil", + "location": "imgui:1795", + "ov_cimguiname": "ImVector_front_Nil", "ret": "T*", "retref": "&", "signature": "()", @@ -7015,8 +7284,8 @@ "cimguiname": "ImVector_front", "defaults": {}, "funcname": "front", - "location": "imgui:1729", - "ov_cimguiname": "ImVector_front_const", + "location": "imgui:1796", + "ov_cimguiname": "ImVector_front__const", "ret": "const T*", "retref": "&", "signature": "()const", @@ -7042,7 +7311,7 @@ "cimguiname": "ImVector_index_from_ptr", "defaults": {}, "funcname": "index_from_ptr", - "location": "imgui:1753", + "location": "imgui:1821", "ov_cimguiname": "ImVector_index_from_ptr", "ret": "int", "signature": "(const T*)const", @@ -7072,7 +7341,7 @@ "cimguiname": "ImVector_insert", "defaults": {}, "funcname": "insert", - "location": "imgui:1747", + "location": "imgui:1815", "ov_cimguiname": "ImVector_insert", "ret": "T*", "signature": "(const T*,const T)", @@ -7094,7 +7363,7 @@ "cimguiname": "ImVector_max_size", "defaults": {}, "funcname": "max_size", - "location": "imgui:1719", + "location": "imgui:1786", "ov_cimguiname": "ImVector_max_size", "ret": "int", "signature": "()const", @@ -7116,7 +7385,7 @@ "cimguiname": "ImVector_pop_back", "defaults": {}, "funcname": "pop_back", - "location": "imgui:1742", + "location": "imgui:1810", "ov_cimguiname": "ImVector_pop_back", "ret": "void", "signature": "()", @@ -7142,7 +7411,7 @@ "cimguiname": "ImVector_push_back", "defaults": {}, "funcname": "push_back", - "location": "imgui:1741", + "location": "imgui:1809", "ov_cimguiname": "ImVector_push_back", "ret": "void", "signature": "(const T)", @@ -7168,7 +7437,7 @@ "cimguiname": "ImVector_push_front", "defaults": {}, "funcname": "push_front", - "location": "imgui:1743", + "location": "imgui:1811", "ov_cimguiname": "ImVector_push_front", "ret": "void", "signature": "(const T)", @@ -7194,7 +7463,7 @@ "cimguiname": "ImVector_reserve", "defaults": {}, "funcname": "reserve", - "location": "imgui:1738", + "location": "imgui:1805", "ov_cimguiname": "ImVector_reserve", "ret": "void", "signature": "(int)", @@ -7202,6 +7471,32 @@ "templated": true } ], + "ImVector_reserve_discard": [ + { + "args": "(ImVector* self,int new_capacity)", + "argsT": [ + { + "name": "self", + "type": "ImVector*" + }, + { + "name": "new_capacity", + "type": "int" + } + ], + "argsoriginal": "(int new_capacity)", + "call_args": "(new_capacity)", + "cimguiname": "ImVector_reserve_discard", + "defaults": {}, + "funcname": "reserve_discard", + "location": "imgui:1806", + "ov_cimguiname": "ImVector_reserve_discard", + "ret": "void", + "signature": "(int)", + "stname": "ImVector", + "templated": true + } + ], "ImVector_resize": [ { "args": "(ImVector* self,int new_size)", @@ -7220,8 +7515,8 @@ "cimguiname": "ImVector_resize", "defaults": {}, "funcname": "resize", - "location": "imgui:1735", - "ov_cimguiname": "ImVector_resizeNil", + "location": "imgui:1802", + "ov_cimguiname": "ImVector_resize_Nil", "ret": "void", "signature": "(int)", "stname": "ImVector", @@ -7248,8 +7543,8 @@ "cimguiname": "ImVector_resize", "defaults": {}, "funcname": "resize", - "location": "imgui:1736", - "ov_cimguiname": "ImVector_resizeT", + "location": "imgui:1803", + "ov_cimguiname": "ImVector_resize_T", "ret": "void", "signature": "(int,const T)", "stname": "ImVector", @@ -7274,7 +7569,7 @@ "cimguiname": "ImVector_shrink", "defaults": {}, "funcname": "shrink", - "location": "imgui:1737", + "location": "imgui:1804", "ov_cimguiname": "ImVector_shrink", "ret": "void", "signature": "(int)", @@ -7296,7 +7591,7 @@ "cimguiname": "ImVector_size", "defaults": {}, "funcname": "size", - "location": "imgui:1717", + "location": "imgui:1784", "ov_cimguiname": "ImVector_size", "ret": "int", "signature": "()const", @@ -7318,7 +7613,7 @@ "cimguiname": "ImVector_size_in_bytes", "defaults": {}, "funcname": "size_in_bytes", - "location": "imgui:1718", + "location": "imgui:1785", "ov_cimguiname": "ImVector_size_in_bytes", "ret": "int", "signature": "()const", @@ -7328,7 +7623,7 @@ ], "ImVector_swap": [ { - "args": "(ImVector* self,ImVector* rhs)", + "args": "(ImVector* self,ImVector_T * rhs)", "argsT": [ { "name": "self", @@ -7337,7 +7632,7 @@ { "name": "rhs", "reftoptr": true, - "type": "ImVector*" + "type": "ImVector_T *" } ], "argsoriginal": "(ImVector& rhs)", @@ -7345,10 +7640,10 @@ "cimguiname": "ImVector_swap", "defaults": {}, "funcname": "swap", - "location": "imgui:1732", + "location": "imgui:1799", "ov_cimguiname": "ImVector_swap", "ret": "void", - "signature": "(ImVector*)", + "signature": "(ImVector_T *)", "stname": "ImVector", "templated": true } @@ -7373,7 +7668,7 @@ "flags": "0" }, "funcname": "AcceptDragDropPayload", - "location": "imgui:813", + "location": "imgui:811", "namespace": "ImGui", "ov_cimguiname": "igAcceptDragDropPayload", "ret": "const ImGuiPayload*", @@ -7390,7 +7685,7 @@ "cimguiname": "igAlignTextToFramePadding", "defaults": {}, "funcname": "AlignTextToFramePadding", - "location": "imgui:458", + "location": "imgui:456", "namespace": "ImGui", "ov_cimguiname": "igAlignTextToFramePadding", "ret": "void", @@ -7416,7 +7711,7 @@ "cimguiname": "igArrowButton", "defaults": {}, "funcname": "ArrowButton", - "location": "imgui:505", + "location": "imgui:503", "namespace": "ImGui", "ov_cimguiname": "igArrowButton", "ret": "bool", @@ -7449,7 +7744,7 @@ "p_open": "NULL" }, "funcname": "Begin", - "location": "imgui:335", + "location": "imgui:330", "namespace": "ImGui", "ov_cimguiname": "igBegin", "ret": "bool", @@ -7487,9 +7782,9 @@ "size": "ImVec2(0,0)" }, "funcname": "BeginChild", - "location": "imgui:346", + "location": "imgui:341", "namespace": "ImGui", - "ov_cimguiname": "igBeginChildStr", + "ov_cimguiname": "igBeginChild_Str", "ret": "bool", "signature": "(const char*,const ImVec2,bool,ImGuiWindowFlags)", "stname": "" @@ -7523,9 +7818,9 @@ "size": "ImVec2(0,0)" }, "funcname": "BeginChild", - "location": "imgui:347", + "location": "imgui:342", "namespace": "ImGui", - "ov_cimguiname": "igBeginChildID", + "ov_cimguiname": "igBeginChild_ID", "ret": "bool", "signature": "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)", "stname": "" @@ -7587,7 +7882,7 @@ "flags": "0" }, "funcname": "BeginCombo", - "location": "imgui:519", + "location": "imgui:520", "namespace": "ImGui", "ov_cimguiname": "igBeginCombo", "ret": "bool", @@ -7611,7 +7906,7 @@ "disabled": "true" }, "funcname": "BeginDisabled", - "location": "imgui:821", + "location": "imgui:819", "namespace": "ImGui", "ov_cimguiname": "igBeginDisabled", "ret": "void", @@ -7635,7 +7930,7 @@ "flags": "0" }, "funcname": "BeginDragDropSource", - "location": "imgui:809", + "location": "imgui:807", "namespace": "ImGui", "ov_cimguiname": "igBeginDragDropSource", "ret": "bool", @@ -7652,7 +7947,7 @@ "cimguiname": "igBeginDragDropTarget", "defaults": {}, "funcname": "BeginDragDropTarget", - "location": "imgui:812", + "location": "imgui:810", "namespace": "ImGui", "ov_cimguiname": "igBeginDragDropTarget", "ret": "bool", @@ -7669,7 +7964,7 @@ "cimguiname": "igBeginGroup", "defaults": {}, "funcname": "BeginGroup", - "location": "imgui:447", + "location": "imgui:445", "namespace": "ImGui", "ov_cimguiname": "igBeginGroup", "ret": "void", @@ -7697,7 +7992,7 @@ "size": "ImVec2(0,0)" }, "funcname": "BeginListBox", - "location": "imgui:630", + "location": "imgui:632", "namespace": "ImGui", "ov_cimguiname": "igBeginListBox", "ret": "bool", @@ -7714,7 +8009,7 @@ "cimguiname": "igBeginMainMenuBar", "defaults": {}, "funcname": "BeginMainMenuBar", - "location": "imgui:656", + "location": "imgui:658", "namespace": "ImGui", "ov_cimguiname": "igBeginMainMenuBar", "ret": "bool", @@ -7742,7 +8037,7 @@ "enabled": "true" }, "funcname": "BeginMenu", - "location": "imgui:658", + "location": "imgui:660", "namespace": "ImGui", "ov_cimguiname": "igBeginMenu", "ret": "bool", @@ -7759,7 +8054,7 @@ "cimguiname": "igBeginMenuBar", "defaults": {}, "funcname": "BeginMenuBar", - "location": "imgui:654", + "location": "imgui:656", "namespace": "ImGui", "ov_cimguiname": "igBeginMenuBar", "ret": "bool", @@ -7787,7 +8082,7 @@ "flags": "0" }, "funcname": "BeginPopup", - "location": "imgui:682", + "location": "imgui:684", "namespace": "ImGui", "ov_cimguiname": "igBeginPopup", "ret": "bool", @@ -7816,7 +8111,7 @@ "str_id": "NULL" }, "funcname": "BeginPopupContextItem", - "location": "imgui:703", + "location": "imgui:706", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextItem", "ret": "bool", @@ -7845,7 +8140,7 @@ "str_id": "NULL" }, "funcname": "BeginPopupContextVoid", - "location": "imgui:705", + "location": "imgui:708", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextVoid", "ret": "bool", @@ -7874,7 +8169,7 @@ "str_id": "NULL" }, "funcname": "BeginPopupContextWindow", - "location": "imgui:704", + "location": "imgui:707", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextWindow", "ret": "bool", @@ -7907,7 +8202,7 @@ "p_open": "NULL" }, "funcname": "BeginPopupModal", - "location": "imgui:683", + "location": "imgui:685", "namespace": "ImGui", "ov_cimguiname": "igBeginPopupModal", "ret": "bool", @@ -7935,7 +8230,7 @@ "flags": "0" }, "funcname": "BeginTabBar", - "location": "imgui:787", + "location": "imgui:785", "namespace": "ImGui", "ov_cimguiname": "igBeginTabBar", "ret": "bool", @@ -7968,7 +8263,7 @@ "p_open": "NULL" }, "funcname": "BeginTabItem", - "location": "imgui:789", + "location": "imgui:787", "namespace": "ImGui", "ov_cimguiname": "igBeginTabItem", "ret": "bool", @@ -8010,7 +8305,7 @@ "outer_size": "ImVec2(0.0f,0.0f)" }, "funcname": "BeginTable", - "location": "imgui:738", + "location": "imgui:739", "namespace": "ImGui", "ov_cimguiname": "igBeginTable", "ret": "bool", @@ -8027,7 +8322,7 @@ "cimguiname": "igBeginTooltip", "defaults": {}, "funcname": "BeginTooltip", - "location": "imgui:665", + "location": "imgui:667", "namespace": "ImGui", "ov_cimguiname": "igBeginTooltip", "ret": "void", @@ -8044,7 +8339,7 @@ "cimguiname": "igBullet", "defaults": {}, "funcname": "Bullet", - "location": "imgui:514", + "location": "imgui:510", "namespace": "ImGui", "ov_cimguiname": "igBullet", "ret": "void", @@ -8071,7 +8366,7 @@ "defaults": {}, "funcname": "BulletText", "isvararg": "...)", - "location": "imgui:496", + "location": "imgui:494", "namespace": "ImGui", "ov_cimguiname": "igBulletText", "ret": "void", @@ -8097,7 +8392,7 @@ "cimguiname": "igBulletTextV", "defaults": {}, "funcname": "BulletTextV", - "location": "imgui:497", + "location": "imgui:495", "namespace": "ImGui", "ov_cimguiname": "igBulletTextV", "ret": "void", @@ -8125,7 +8420,7 @@ "size": "ImVec2(0,0)" }, "funcname": "Button", - "location": "imgui:502", + "location": "imgui:500", "namespace": "ImGui", "ov_cimguiname": "igButton", "ret": "bool", @@ -8142,7 +8437,7 @@ "cimguiname": "igCalcItemWidth", "defaults": {}, "funcname": "CalcItemWidth", - "location": "imgui:419", + "location": "imgui:417", "namespace": "ImGui", "ov_cimguiname": "igCalcItemWidth", "ret": "float", @@ -8193,54 +8488,6 @@ "stname": "" } ], - "igCaptureKeyboardFromApp": [ - { - "args": "(bool want_capture_keyboard_value)", - "argsT": [ - { - "name": "want_capture_keyboard_value", - "type": "bool" - } - ], - "argsoriginal": "(bool want_capture_keyboard_value=true)", - "call_args": "(want_capture_keyboard_value)", - "cimguiname": "igCaptureKeyboardFromApp", - "defaults": { - "want_capture_keyboard_value": "true" - }, - "funcname": "CaptureKeyboardFromApp", - "location": "imgui:892", - "namespace": "ImGui", - "ov_cimguiname": "igCaptureKeyboardFromApp", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], - "igCaptureMouseFromApp": [ - { - "args": "(bool want_capture_mouse_value)", - "argsT": [ - { - "name": "want_capture_mouse_value", - "type": "bool" - } - ], - "argsoriginal": "(bool want_capture_mouse_value=true)", - "call_args": "(want_capture_mouse_value)", - "cimguiname": "igCaptureMouseFromApp", - "defaults": { - "want_capture_mouse_value": "true" - }, - "funcname": "CaptureMouseFromApp", - "location": "imgui:913", - "namespace": "ImGui", - "ov_cimguiname": "igCaptureMouseFromApp", - "ret": "void", - "signature": "(bool)", - "stname": "" - } - ], "igCheckbox": [ { "args": "(const char* label,bool* v)", @@ -8259,7 +8506,7 @@ "cimguiname": "igCheckbox", "defaults": {}, "funcname": "Checkbox", - "location": "imgui:508", + "location": "imgui:504", "namespace": "ImGui", "ov_cimguiname": "igCheckbox", "ret": "bool", @@ -8289,9 +8536,9 @@ "cimguiname": "igCheckboxFlags", "defaults": {}, "funcname": "CheckboxFlags", - "location": "imgui:509", + "location": "imgui:505", "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlagsIntPtr", + "ov_cimguiname": "igCheckboxFlags_IntPtr", "ret": "bool", "signature": "(const char*,int*,int)", "stname": "" @@ -8317,9 +8564,9 @@ "cimguiname": "igCheckboxFlags", "defaults": {}, "funcname": "CheckboxFlags", - "location": "imgui:510", + "location": "imgui:506", "namespace": "ImGui", - "ov_cimguiname": "igCheckboxFlagsUintPtr", + "ov_cimguiname": "igCheckboxFlags_UintPtr", "ret": "bool", "signature": "(const char*,unsigned int*,unsigned int)", "stname": "" @@ -8334,7 +8581,7 @@ "cimguiname": "igCloseCurrentPopup", "defaults": {}, "funcname": "CloseCurrentPopup", - "location": "imgui:696", + "location": "imgui:699", "namespace": "ImGui", "ov_cimguiname": "igCloseCurrentPopup", "ret": "void", @@ -8362,9 +8609,9 @@ "flags": "0" }, "funcname": "CollapsingHeader", - "location": "imgui:614", + "location": "imgui:616", "namespace": "ImGui", - "ov_cimguiname": "igCollapsingHeaderTreeNodeFlags", + "ov_cimguiname": "igCollapsingHeader_TreeNodeFlags", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags)", "stname": "" @@ -8392,9 +8639,9 @@ "flags": "0" }, "funcname": "CollapsingHeader", - "location": "imgui:615", + "location": "imgui:617", "namespace": "ImGui", - "ov_cimguiname": "igCollapsingHeaderBoolPtr", + "ov_cimguiname": "igCollapsingHeader_BoolPtr", "ret": "bool", "signature": "(const char*,bool*,ImGuiTreeNodeFlags)", "stname": "" @@ -8402,7 +8649,7 @@ ], "igColorButton": [ { - "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)", + "args": "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size)", "argsT": [ { "name": "desc_id", @@ -8418,10 +8665,10 @@ }, { "name": "size", - "type": "ImVec2" + "type": "const ImVec2" } ], - "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))", + "argsoriginal": "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,const ImVec2& size=ImVec2(0,0))", "call_args": "(desc_id,col,flags,size)", "cimguiname": "igColorButton", "defaults": { @@ -8429,11 +8676,11 @@ "size": "ImVec2(0,0)" }, "funcname": "ColorButton", - "location": "imgui:595", + "location": "imgui:597", "namespace": "ImGui", "ov_cimguiname": "igColorButton", "ret": "bool", - "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)", + "signature": "(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)", "stname": "" } ], @@ -8600,7 +8847,7 @@ "flags": "0" }, "funcname": "ColorEdit3", - "location": "imgui:591", + "location": "imgui:593", "namespace": "ImGui", "ov_cimguiname": "igColorEdit3", "ret": "bool", @@ -8632,7 +8879,7 @@ "flags": "0" }, "funcname": "ColorEdit4", - "location": "imgui:592", + "location": "imgui:594", "namespace": "ImGui", "ov_cimguiname": "igColorEdit4", "ret": "bool", @@ -8664,7 +8911,7 @@ "flags": "0" }, "funcname": "ColorPicker3", - "location": "imgui:593", + "location": "imgui:595", "namespace": "ImGui", "ov_cimguiname": "igColorPicker3", "ret": "bool", @@ -8701,7 +8948,7 @@ "ref_col": "NULL" }, "funcname": "ColorPicker4", - "location": "imgui:594", + "location": "imgui:596", "namespace": "ImGui", "ov_cimguiname": "igColorPicker4", "ret": "bool", @@ -8735,7 +8982,7 @@ "id": "NULL" }, "funcname": "Columns", - "location": "imgui:777", + "location": "imgui:775", "namespace": "ImGui", "ov_cimguiname": "igColumns", "ret": "void", @@ -8775,9 +9022,9 @@ "popup_max_height_in_items": "-1" }, "funcname": "Combo", - "location": "imgui:521", + "location": "imgui:522", "namespace": "ImGui", - "ov_cimguiname": "igComboStr_arr", + "ov_cimguiname": "igCombo_Str_arr", "ret": "bool", "signature": "(const char*,int*,const char* const[],int,int)", "stname": "" @@ -8809,9 +9056,9 @@ "popup_max_height_in_items": "-1" }, "funcname": "Combo", - "location": "imgui:522", + "location": "imgui:523", "namespace": "ImGui", - "ov_cimguiname": "igComboStr", + "ov_cimguiname": "igCombo_Str", "ret": "bool", "signature": "(const char*,int*,const char*,int)", "stname": "" @@ -8853,9 +9100,9 @@ "popup_max_height_in_items": "-1" }, "funcname": "Combo", - "location": "imgui:523", + "location": "imgui:524", "namespace": "ImGui", - "ov_cimguiname": "igComboFnBoolPtr", + "ov_cimguiname": "igCombo_FnBoolPtr", "ret": "bool", "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", "stname": "" @@ -8877,7 +9124,7 @@ "shared_font_atlas": "NULL" }, "funcname": "CreateContext", - "location": "imgui:294", + "location": "imgui:288", "namespace": "ImGui", "ov_cimguiname": "igCreateContext", "ret": "ImGuiContext*", @@ -8923,7 +9170,7 @@ "cimguiname": "igDebugCheckVersionAndDataLayout", "defaults": {}, "funcname": "DebugCheckVersionAndDataLayout", - "location": "imgui:931", + "location": "imgui:934", "namespace": "ImGui", "ov_cimguiname": "igDebugCheckVersionAndDataLayout", "ret": "bool", @@ -8931,6 +9178,28 @@ "stname": "" } ], + "igDebugTextEncoding": [ + { + "args": "(const char* text)", + "argsT": [ + { + "name": "text", + "type": "const char*" + } + ], + "argsoriginal": "(const char* text)", + "call_args": "(text)", + "cimguiname": "igDebugTextEncoding", + "defaults": {}, + "funcname": "DebugTextEncoding", + "location": "imgui:933", + "namespace": "ImGui", + "ov_cimguiname": "igDebugTextEncoding", + "ret": "void", + "signature": "(const char*)", + "stname": "" + } + ], "igDestroyContext": [ { "args": "(ImGuiContext* ctx)", @@ -8947,7 +9216,7 @@ "ctx": "NULL" }, "funcname": "DestroyContext", - "location": "imgui:295", + "location": "imgui:289", "namespace": "ImGui", "ov_cimguiname": "igDestroyContext", "ret": "void", @@ -8999,7 +9268,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat", - "location": "imgui:536", + "location": "imgui:538", "namespace": "ImGui", "ov_cimguiname": "igDragFloat", "ret": "bool", @@ -9051,7 +9320,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat2", - "location": "imgui:537", + "location": "imgui:539", "namespace": "ImGui", "ov_cimguiname": "igDragFloat2", "ret": "bool", @@ -9103,7 +9372,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat3", - "location": "imgui:538", + "location": "imgui:540", "namespace": "ImGui", "ov_cimguiname": "igDragFloat3", "ret": "bool", @@ -9155,7 +9424,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloat4", - "location": "imgui:539", + "location": "imgui:541", "namespace": "ImGui", "ov_cimguiname": "igDragFloat4", "ret": "bool", @@ -9216,7 +9485,7 @@ "v_speed": "1.0f" }, "funcname": "DragFloatRange2", - "location": "imgui:540", + "location": "imgui:542", "namespace": "ImGui", "ov_cimguiname": "igDragFloatRange2", "ret": "bool", @@ -9268,7 +9537,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt", - "location": "imgui:541", + "location": "imgui:543", "namespace": "ImGui", "ov_cimguiname": "igDragInt", "ret": "bool", @@ -9320,7 +9589,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt2", - "location": "imgui:542", + "location": "imgui:544", "namespace": "ImGui", "ov_cimguiname": "igDragInt2", "ret": "bool", @@ -9372,7 +9641,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt3", - "location": "imgui:543", + "location": "imgui:545", "namespace": "ImGui", "ov_cimguiname": "igDragInt3", "ret": "bool", @@ -9424,7 +9693,7 @@ "v_speed": "1.0f" }, "funcname": "DragInt4", - "location": "imgui:544", + "location": "imgui:546", "namespace": "ImGui", "ov_cimguiname": "igDragInt4", "ret": "bool", @@ -9485,7 +9754,7 @@ "v_speed": "1.0f" }, "funcname": "DragIntRange2", - "location": "imgui:545", + "location": "imgui:547", "namespace": "ImGui", "ov_cimguiname": "igDragIntRange2", "ret": "bool", @@ -9541,7 +9810,7 @@ "v_speed": "1.0f" }, "funcname": "DragScalar", - "location": "imgui:546", + "location": "imgui:548", "namespace": "ImGui", "ov_cimguiname": "igDragScalar", "ret": "bool", @@ -9601,7 +9870,7 @@ "v_speed": "1.0f" }, "funcname": "DragScalarN", - "location": "imgui:547", + "location": "imgui:549", "namespace": "ImGui", "ov_cimguiname": "igDragScalarN", "ret": "bool", @@ -9623,7 +9892,7 @@ "cimguiname": "igDummy", "defaults": {}, "funcname": "Dummy", - "location": "imgui:444", + "location": "imgui:442", "namespace": "ImGui", "ov_cimguiname": "igDummy", "ret": "void", @@ -9640,7 +9909,7 @@ "cimguiname": "igEnd", "defaults": {}, "funcname": "End", - "location": "imgui:336", + "location": "imgui:331", "namespace": "ImGui", "ov_cimguiname": "igEnd", "ret": "void", @@ -9657,7 +9926,7 @@ "cimguiname": "igEndChild", "defaults": {}, "funcname": "EndChild", - "location": "imgui:348", + "location": "imgui:343", "namespace": "ImGui", "ov_cimguiname": "igEndChild", "ret": "void", @@ -9691,7 +9960,7 @@ "cimguiname": "igEndCombo", "defaults": {}, "funcname": "EndCombo", - "location": "imgui:520", + "location": "imgui:521", "namespace": "ImGui", "ov_cimguiname": "igEndCombo", "ret": "void", @@ -9708,7 +9977,7 @@ "cimguiname": "igEndDisabled", "defaults": {}, "funcname": "EndDisabled", - "location": "imgui:822", + "location": "imgui:820", "namespace": "ImGui", "ov_cimguiname": "igEndDisabled", "ret": "void", @@ -9725,7 +9994,7 @@ "cimguiname": "igEndDragDropSource", "defaults": {}, "funcname": "EndDragDropSource", - "location": "imgui:811", + "location": "imgui:809", "namespace": "ImGui", "ov_cimguiname": "igEndDragDropSource", "ret": "void", @@ -9742,7 +10011,7 @@ "cimguiname": "igEndDragDropTarget", "defaults": {}, "funcname": "EndDragDropTarget", - "location": "imgui:814", + "location": "imgui:812", "namespace": "ImGui", "ov_cimguiname": "igEndDragDropTarget", "ret": "void", @@ -9759,7 +10028,7 @@ "cimguiname": "igEndFrame", "defaults": {}, "funcname": "EndFrame", - "location": "imgui:303", + "location": "imgui:297", "namespace": "ImGui", "ov_cimguiname": "igEndFrame", "ret": "void", @@ -9776,7 +10045,7 @@ "cimguiname": "igEndGroup", "defaults": {}, "funcname": "EndGroup", - "location": "imgui:448", + "location": "imgui:446", "namespace": "ImGui", "ov_cimguiname": "igEndGroup", "ret": "void", @@ -9793,7 +10062,7 @@ "cimguiname": "igEndListBox", "defaults": {}, "funcname": "EndListBox", - "location": "imgui:631", + "location": "imgui:633", "namespace": "ImGui", "ov_cimguiname": "igEndListBox", "ret": "void", @@ -9810,7 +10079,7 @@ "cimguiname": "igEndMainMenuBar", "defaults": {}, "funcname": "EndMainMenuBar", - "location": "imgui:657", + "location": "imgui:659", "namespace": "ImGui", "ov_cimguiname": "igEndMainMenuBar", "ret": "void", @@ -9827,7 +10096,7 @@ "cimguiname": "igEndMenu", "defaults": {}, "funcname": "EndMenu", - "location": "imgui:659", + "location": "imgui:661", "namespace": "ImGui", "ov_cimguiname": "igEndMenu", "ret": "void", @@ -9844,7 +10113,7 @@ "cimguiname": "igEndMenuBar", "defaults": {}, "funcname": "EndMenuBar", - "location": "imgui:655", + "location": "imgui:657", "namespace": "ImGui", "ov_cimguiname": "igEndMenuBar", "ret": "void", @@ -9861,7 +10130,7 @@ "cimguiname": "igEndPopup", "defaults": {}, "funcname": "EndPopup", - "location": "imgui:684", + "location": "imgui:686", "namespace": "ImGui", "ov_cimguiname": "igEndPopup", "ret": "void", @@ -9878,7 +10147,7 @@ "cimguiname": "igEndTabBar", "defaults": {}, "funcname": "EndTabBar", - "location": "imgui:788", + "location": "imgui:786", "namespace": "ImGui", "ov_cimguiname": "igEndTabBar", "ret": "void", @@ -9895,7 +10164,7 @@ "cimguiname": "igEndTabItem", "defaults": {}, "funcname": "EndTabItem", - "location": "imgui:790", + "location": "imgui:788", "namespace": "ImGui", "ov_cimguiname": "igEndTabItem", "ret": "void", @@ -9912,7 +10181,7 @@ "cimguiname": "igEndTable", "defaults": {}, "funcname": "EndTable", - "location": "imgui:739", + "location": "imgui:740", "namespace": "ImGui", "ov_cimguiname": "igEndTable", "ret": "void", @@ -9929,7 +10198,7 @@ "cimguiname": "igEndTooltip", "defaults": {}, "funcname": "EndTooltip", - "location": "imgui:666", + "location": "imgui:668", "namespace": "ImGui", "ov_cimguiname": "igEndTooltip", "ret": "void", @@ -9959,7 +10228,7 @@ "cimguiname": "igGetAllocatorFunctions", "defaults": {}, "funcname": "GetAllocatorFunctions", - "location": "imgui:938", + "location": "imgui:941", "namespace": "ImGui", "ov_cimguiname": "igGetAllocatorFunctions", "ret": "void", @@ -9976,7 +10245,7 @@ "cimguiname": "igGetBackgroundDrawList", "defaults": {}, "funcname": "GetBackgroundDrawList", - "location": "imgui:866", + "location": "imgui:860", "namespace": "ImGui", "ov_cimguiname": "igGetBackgroundDrawList", "ret": "ImDrawList*", @@ -9993,7 +10262,7 @@ "cimguiname": "igGetClipboardText", "defaults": {}, "funcname": "GetClipboardText", - "location": "imgui:917", + "location": "imgui:920", "namespace": "ImGui", "ov_cimguiname": "igGetClipboardText", "ret": "const char*", @@ -10021,9 +10290,9 @@ "alpha_mul": "1.0f" }, "funcname": "GetColorU32", - "location": "imgui:428", + "location": "imgui:426", "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32Col", + "ov_cimguiname": "igGetColorU32_Col", "ret": "ImU32", "signature": "(ImGuiCol,float)", "stname": "" @@ -10041,9 +10310,9 @@ "cimguiname": "igGetColorU32", "defaults": {}, "funcname": "GetColorU32", - "location": "imgui:429", + "location": "imgui:427", "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32Vec4", + "ov_cimguiname": "igGetColorU32_Vec4", "ret": "ImU32", "signature": "(const ImVec4)", "stname": "" @@ -10061,9 +10330,9 @@ "cimguiname": "igGetColorU32", "defaults": {}, "funcname": "GetColorU32", - "location": "imgui:430", + "location": "imgui:428", "namespace": "ImGui", - "ov_cimguiname": "igGetColorU32U32", + "ov_cimguiname": "igGetColorU32_U32", "ret": "ImU32", "signature": "(ImU32)", "stname": "" @@ -10078,7 +10347,7 @@ "cimguiname": "igGetColumnIndex", "defaults": {}, "funcname": "GetColumnIndex", - "location": "imgui:779", + "location": "imgui:777", "namespace": "ImGui", "ov_cimguiname": "igGetColumnIndex", "ret": "int", @@ -10102,7 +10371,7 @@ "column_index": "-1" }, "funcname": "GetColumnOffset", - "location": "imgui:782", + "location": "imgui:780", "namespace": "ImGui", "ov_cimguiname": "igGetColumnOffset", "ret": "float", @@ -10126,7 +10395,7 @@ "column_index": "-1" }, "funcname": "GetColumnWidth", - "location": "imgui:780", + "location": "imgui:778", "namespace": "ImGui", "ov_cimguiname": "igGetColumnWidth", "ret": "float", @@ -10143,7 +10412,7 @@ "cimguiname": "igGetColumnsCount", "defaults": {}, "funcname": "GetColumnsCount", - "location": "imgui:784", + "location": "imgui:782", "namespace": "ImGui", "ov_cimguiname": "igGetColumnsCount", "ret": "int", @@ -10165,7 +10434,7 @@ "cimguiname": "igGetContentRegionAvail", "defaults": {}, "funcname": "GetContentRegionAvail", - "location": "imgui:384", + "location": "imgui:380", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetContentRegionAvail", @@ -10188,7 +10457,7 @@ "cimguiname": "igGetContentRegionMax", "defaults": {}, "funcname": "GetContentRegionMax", - "location": "imgui:385", + "location": "imgui:381", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetContentRegionMax", @@ -10206,7 +10475,7 @@ "cimguiname": "igGetCurrentContext", "defaults": {}, "funcname": "GetCurrentContext", - "location": "imgui:296", + "location": "imgui:290", "namespace": "ImGui", "ov_cimguiname": "igGetCurrentContext", "ret": "ImGuiContext*", @@ -10228,7 +10497,7 @@ "cimguiname": "igGetCursorPos", "defaults": {}, "funcname": "GetCursorPos", - "location": "imgui:449", + "location": "imgui:447", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetCursorPos", @@ -10246,7 +10515,7 @@ "cimguiname": "igGetCursorPosX", "defaults": {}, "funcname": "GetCursorPosX", - "location": "imgui:450", + "location": "imgui:448", "namespace": "ImGui", "ov_cimguiname": "igGetCursorPosX", "ret": "float", @@ -10263,7 +10532,7 @@ "cimguiname": "igGetCursorPosY", "defaults": {}, "funcname": "GetCursorPosY", - "location": "imgui:451", + "location": "imgui:449", "namespace": "ImGui", "ov_cimguiname": "igGetCursorPosY", "ret": "float", @@ -10285,7 +10554,7 @@ "cimguiname": "igGetCursorScreenPos", "defaults": {}, "funcname": "GetCursorScreenPos", - "location": "imgui:456", + "location": "imgui:454", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetCursorScreenPos", @@ -10308,7 +10577,7 @@ "cimguiname": "igGetCursorStartPos", "defaults": {}, "funcname": "GetCursorStartPos", - "location": "imgui:455", + "location": "imgui:453", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetCursorStartPos", @@ -10326,7 +10595,7 @@ "cimguiname": "igGetDragDropPayload", "defaults": {}, "funcname": "GetDragDropPayload", - "location": "imgui:815", + "location": "imgui:813", "namespace": "ImGui", "ov_cimguiname": "igGetDragDropPayload", "ret": "const ImGuiPayload*", @@ -10343,7 +10612,7 @@ "cimguiname": "igGetDrawData", "defaults": {}, "funcname": "GetDrawData", - "location": "imgui:305", + "location": "imgui:299", "namespace": "ImGui", "ov_cimguiname": "igGetDrawData", "ret": "ImDrawData*", @@ -10377,7 +10646,7 @@ "cimguiname": "igGetFont", "defaults": {}, "funcname": "GetFont", - "location": "imgui:425", + "location": "imgui:423", "namespace": "ImGui", "ov_cimguiname": "igGetFont", "ret": "ImFont*", @@ -10394,7 +10663,7 @@ "cimguiname": "igGetFontSize", "defaults": {}, "funcname": "GetFontSize", - "location": "imgui:426", + "location": "imgui:424", "namespace": "ImGui", "ov_cimguiname": "igGetFontSize", "ret": "float", @@ -10416,7 +10685,7 @@ "cimguiname": "igGetFontTexUvWhitePixel", "defaults": {}, "funcname": "GetFontTexUvWhitePixel", - "location": "imgui:427", + "location": "imgui:425", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetFontTexUvWhitePixel", @@ -10434,7 +10703,7 @@ "cimguiname": "igGetForegroundDrawList", "defaults": {}, "funcname": "GetForegroundDrawList", - "location": "imgui:867", + "location": "imgui:861", "namespace": "ImGui", "ov_cimguiname": "igGetForegroundDrawList", "ret": "ImDrawList*", @@ -10451,7 +10720,7 @@ "cimguiname": "igGetFrameCount", "defaults": {}, "funcname": "GetFrameCount", - "location": "imgui:865", + "location": "imgui:867", "namespace": "ImGui", "ov_cimguiname": "igGetFrameCount", "ret": "int", @@ -10468,7 +10737,7 @@ "cimguiname": "igGetFrameHeight", "defaults": {}, "funcname": "GetFrameHeight", - "location": "imgui:461", + "location": "imgui:459", "namespace": "ImGui", "ov_cimguiname": "igGetFrameHeight", "ret": "float", @@ -10485,7 +10754,7 @@ "cimguiname": "igGetFrameHeightWithSpacing", "defaults": {}, "funcname": "GetFrameHeightWithSpacing", - "location": "imgui:462", + "location": "imgui:460", "namespace": "ImGui", "ov_cimguiname": "igGetFrameHeightWithSpacing", "ret": "float", @@ -10507,9 +10776,9 @@ "cimguiname": "igGetID", "defaults": {}, "funcname": "GetID", - "location": "imgui:480", + "location": "imgui:478", "namespace": "ImGui", - "ov_cimguiname": "igGetIDStr", + "ov_cimguiname": "igGetID_Str", "ret": "ImGuiID", "signature": "(const char*)", "stname": "" @@ -10531,9 +10800,9 @@ "cimguiname": "igGetID", "defaults": {}, "funcname": "GetID", - "location": "imgui:481", + "location": "imgui:479", "namespace": "ImGui", - "ov_cimguiname": "igGetIDStrStr", + "ov_cimguiname": "igGetID_StrStr", "ret": "ImGuiID", "signature": "(const char*,const char*)", "stname": "" @@ -10551,9 +10820,9 @@ "cimguiname": "igGetID", "defaults": {}, "funcname": "GetID", - "location": "imgui:482", + "location": "imgui:480", "namespace": "ImGui", - "ov_cimguiname": "igGetIDPtr", + "ov_cimguiname": "igGetID_Ptr", "ret": "ImGuiID", "signature": "(const void*)", "stname": "" @@ -10568,7 +10837,7 @@ "cimguiname": "igGetIO", "defaults": {}, "funcname": "GetIO", - "location": "imgui:300", + "location": "imgui:294", "namespace": "ImGui", "ov_cimguiname": "igGetIO", "ret": "ImGuiIO*", @@ -10591,7 +10860,7 @@ "cimguiname": "igGetItemRectMax", "defaults": {}, "funcname": "GetItemRectMax", - "location": "imgui:851", + "location": "imgui:849", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetItemRectMax", @@ -10614,7 +10883,7 @@ "cimguiname": "igGetItemRectMin", "defaults": {}, "funcname": "GetItemRectMin", - "location": "imgui:850", + "location": "imgui:848", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetItemRectMin", @@ -10637,7 +10906,7 @@ "cimguiname": "igGetItemRectSize", "defaults": {}, "funcname": "GetItemRectSize", - "location": "imgui:852", + "location": "imgui:850", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetItemRectSize", @@ -10648,33 +10917,55 @@ ], "igGetKeyIndex": [ { - "args": "(ImGuiKey imgui_key)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "imgui_key", + "name": "key", "type": "ImGuiKey" } ], - "argsoriginal": "(ImGuiKey imgui_key)", - "call_args": "(imgui_key)", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", "cimguiname": "igGetKeyIndex", "defaults": {}, "funcname": "GetKeyIndex", - "location": "imgui:887", + "location": "imgui:2958", "namespace": "ImGui", "ov_cimguiname": "igGetKeyIndex", - "ret": "int", + "ret": "ImGuiKey", + "signature": "(ImGuiKey)", + "stname": "" + } + ], + "igGetKeyName": [ + { + "args": "(ImGuiKey key)", + "argsT": [ + { + "name": "key", + "type": "ImGuiKey" + } + ], + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", + "cimguiname": "igGetKeyName", + "defaults": {}, + "funcname": "GetKeyName", + "location": "imgui:894", + "namespace": "ImGui", + "ov_cimguiname": "igGetKeyName", + "ret": "const char*", "signature": "(ImGuiKey)", "stname": "" } ], "igGetKeyPressedAmount": [ { - "args": "(int key_index,float repeat_delay,float rate)", + "args": "(ImGuiKey key,float repeat_delay,float rate)", "argsT": [ { - "name": "key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" }, { "name": "repeat_delay", @@ -10685,16 +10976,16 @@ "type": "float" } ], - "argsoriginal": "(int key_index,float repeat_delay,float rate)", - "call_args": "(key_index,repeat_delay,rate)", + "argsoriginal": "(ImGuiKey key,float repeat_delay,float rate)", + "call_args": "(key,repeat_delay,rate)", "cimguiname": "igGetKeyPressedAmount", "defaults": {}, "funcname": "GetKeyPressedAmount", - "location": "imgui:891", + "location": "imgui:893", "namespace": "ImGui", "ov_cimguiname": "igGetKeyPressedAmount", "ret": "int", - "signature": "(int,float,float)", + "signature": "(ImGuiKey,float,float)", "stname": "" } ], @@ -10707,7 +10998,7 @@ "cimguiname": "igGetMainViewport", "defaults": {}, "funcname": "GetMainViewport", - "location": "imgui:859", + "location": "imgui:857", "namespace": "ImGui", "ov_cimguiname": "igGetMainViewport", "ret": "ImGuiViewport*", @@ -10729,7 +11020,7 @@ "cimguiname": "igGetMouseClickedCount", "defaults": {}, "funcname": "GetMouseClickedCount", - "location": "imgui:902", + "location": "imgui:905", "namespace": "ImGui", "ov_cimguiname": "igGetMouseClickedCount", "ret": "int", @@ -10746,7 +11037,7 @@ "cimguiname": "igGetMouseCursor", "defaults": {}, "funcname": "GetMouseCursor", - "location": "imgui:911", + "location": "imgui:914", "namespace": "ImGui", "ov_cimguiname": "igGetMouseCursor", "ret": "ImGuiMouseCursor", @@ -10779,7 +11070,7 @@ "lock_threshold": "-1.0f" }, "funcname": "GetMouseDragDelta", - "location": "imgui:909", + "location": "imgui:912", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetMouseDragDelta", @@ -10802,7 +11093,7 @@ "cimguiname": "igGetMousePos", "defaults": {}, "funcname": "GetMousePos", - "location": "imgui:906", + "location": "imgui:909", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetMousePos", @@ -10825,7 +11116,7 @@ "cimguiname": "igGetMousePosOnOpeningCurrentPopup", "defaults": {}, "funcname": "GetMousePosOnOpeningCurrentPopup", - "location": "imgui:907", + "location": "imgui:910", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetMousePosOnOpeningCurrentPopup", @@ -10843,7 +11134,7 @@ "cimguiname": "igGetScrollMaxX", "defaults": {}, "funcname": "GetScrollMaxX", - "location": "imgui:394", + "location": "imgui:392", "namespace": "ImGui", "ov_cimguiname": "igGetScrollMaxX", "ret": "float", @@ -10860,7 +11151,7 @@ "cimguiname": "igGetScrollMaxY", "defaults": {}, "funcname": "GetScrollMaxY", - "location": "imgui:395", + "location": "imgui:393", "namespace": "ImGui", "ov_cimguiname": "igGetScrollMaxY", "ret": "float", @@ -10877,7 +11168,7 @@ "cimguiname": "igGetScrollX", "defaults": {}, "funcname": "GetScrollX", - "location": "imgui:390", + "location": "imgui:388", "namespace": "ImGui", "ov_cimguiname": "igGetScrollX", "ret": "float", @@ -10894,7 +11185,7 @@ "cimguiname": "igGetScrollY", "defaults": {}, "funcname": "GetScrollY", - "location": "imgui:391", + "location": "imgui:389", "namespace": "ImGui", "ov_cimguiname": "igGetScrollY", "ret": "float", @@ -10928,7 +11219,7 @@ "cimguiname": "igGetStyle", "defaults": {}, "funcname": "GetStyle", - "location": "imgui:301", + "location": "imgui:295", "namespace": "ImGui", "ov_cimguiname": "igGetStyle", "ret": "ImGuiStyle*", @@ -10973,7 +11264,7 @@ "cimguiname": "igGetStyleColorVec4", "defaults": {}, "funcname": "GetStyleColorVec4", - "location": "imgui:431", + "location": "imgui:429", "namespace": "ImGui", "ov_cimguiname": "igGetStyleColorVec4", "ret": "const ImVec4*", @@ -10991,7 +11282,7 @@ "cimguiname": "igGetTextLineHeight", "defaults": {}, "funcname": "GetTextLineHeight", - "location": "imgui:459", + "location": "imgui:457", "namespace": "ImGui", "ov_cimguiname": "igGetTextLineHeight", "ret": "float", @@ -11008,7 +11299,7 @@ "cimguiname": "igGetTextLineHeightWithSpacing", "defaults": {}, "funcname": "GetTextLineHeightWithSpacing", - "location": "imgui:460", + "location": "imgui:458", "namespace": "ImGui", "ov_cimguiname": "igGetTextLineHeightWithSpacing", "ret": "float", @@ -11025,7 +11316,7 @@ "cimguiname": "igGetTime", "defaults": {}, "funcname": "GetTime", - "location": "imgui:864", + "location": "imgui:866", "namespace": "ImGui", "ov_cimguiname": "igGetTime", "ret": "double", @@ -11042,7 +11333,7 @@ "cimguiname": "igGetTreeNodeToLabelSpacing", "defaults": {}, "funcname": "GetTreeNodeToLabelSpacing", - "location": "imgui:613", + "location": "imgui:615", "namespace": "ImGui", "ov_cimguiname": "igGetTreeNodeToLabelSpacing", "ret": "float", @@ -11059,7 +11350,7 @@ "cimguiname": "igGetVersion", "defaults": {}, "funcname": "GetVersion", - "location": "imgui:316", + "location": "imgui:311", "namespace": "ImGui", "ov_cimguiname": "igGetVersion", "ret": "const char*", @@ -11081,7 +11372,7 @@ "cimguiname": "igGetWindowContentRegionMax", "defaults": {}, "funcname": "GetWindowContentRegionMax", - "location": "imgui:387", + "location": "imgui:383", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowContentRegionMax", @@ -11104,7 +11395,7 @@ "cimguiname": "igGetWindowContentRegionMin", "defaults": {}, "funcname": "GetWindowContentRegionMin", - "location": "imgui:386", + "location": "imgui:382", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowContentRegionMin", @@ -11122,7 +11413,7 @@ "cimguiname": "igGetWindowDrawList", "defaults": {}, "funcname": "GetWindowDrawList", - "location": "imgui:356", + "location": "imgui:351", "namespace": "ImGui", "ov_cimguiname": "igGetWindowDrawList", "ret": "ImDrawList*", @@ -11139,7 +11430,7 @@ "cimguiname": "igGetWindowHeight", "defaults": {}, "funcname": "GetWindowHeight", - "location": "imgui:360", + "location": "imgui:355", "namespace": "ImGui", "ov_cimguiname": "igGetWindowHeight", "ret": "float", @@ -11161,7 +11452,7 @@ "cimguiname": "igGetWindowPos", "defaults": {}, "funcname": "GetWindowPos", - "location": "imgui:357", + "location": "imgui:352", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowPos", @@ -11184,7 +11475,7 @@ "cimguiname": "igGetWindowSize", "defaults": {}, "funcname": "GetWindowSize", - "location": "imgui:358", + "location": "imgui:353", "namespace": "ImGui", "nonUDT": 1, "ov_cimguiname": "igGetWindowSize", @@ -11202,7 +11493,7 @@ "cimguiname": "igGetWindowWidth", "defaults": {}, "funcname": "GetWindowWidth", - "location": "imgui:359", + "location": "imgui:354", "namespace": "ImGui", "ov_cimguiname": "igGetWindowWidth", "ret": "float", @@ -11249,7 +11540,7 @@ "uv1": "ImVec2(1,1)" }, "funcname": "Image", - "location": "imgui:506", + "location": "imgui:514", "namespace": "ImGui", "ov_cimguiname": "igImage", "ret": "void", @@ -11259,8 +11550,12 @@ ], "igImageButton": [ { - "args": "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)", + "args": "(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)", "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, { "name": "user_texture_id", "type": "ImTextureID" @@ -11277,10 +11572,6 @@ "name": "uv1", "type": "const ImVec2" }, - { - "name": "frame_padding", - "type": "int" - }, { "name": "bg_col", "type": "const ImVec4" @@ -11290,22 +11581,21 @@ "type": "const ImVec4" } ], - "argsoriginal": "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", - "call_args": "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)", + "argsoriginal": "(const char* str_id,ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))", + "call_args": "(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col)", "cimguiname": "igImageButton", "defaults": { "bg_col": "ImVec4(0,0,0,0)", - "frame_padding": "-1", "tint_col": "ImVec4(1,1,1,1)", "uv0": "ImVec2(0,0)", "uv1": "ImVec2(1,1)" }, "funcname": "ImageButton", - "location": "imgui:507", + "location": "imgui:515", "namespace": "ImGui", "ov_cimguiname": "igImageButton", "ret": "bool", - "signature": "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)", + "signature": "(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", "stname": "" } ], @@ -11325,7 +11615,7 @@ "indent_w": "0.0f" }, "funcname": "Indent", - "location": "imgui:445", + "location": "imgui:443", "namespace": "ImGui", "ov_cimguiname": "igIndent", "ret": "void", @@ -11372,7 +11662,7 @@ "step_fast": "0.0" }, "funcname": "InputDouble", - "location": "imgui:584", + "location": "imgui:586", "namespace": "ImGui", "ov_cimguiname": "igInputDouble", "ret": "bool", @@ -11419,7 +11709,7 @@ "step_fast": "0.0f" }, "funcname": "InputFloat", - "location": "imgui:576", + "location": "imgui:578", "namespace": "ImGui", "ov_cimguiname": "igInputFloat", "ret": "bool", @@ -11456,7 +11746,7 @@ "format": "\"%.3f\"" }, "funcname": "InputFloat2", - "location": "imgui:577", + "location": "imgui:579", "namespace": "ImGui", "ov_cimguiname": "igInputFloat2", "ret": "bool", @@ -11493,7 +11783,7 @@ "format": "\"%.3f\"" }, "funcname": "InputFloat3", - "location": "imgui:578", + "location": "imgui:580", "namespace": "ImGui", "ov_cimguiname": "igInputFloat3", "ret": "bool", @@ -11530,7 +11820,7 @@ "format": "\"%.3f\"" }, "funcname": "InputFloat4", - "location": "imgui:579", + "location": "imgui:581", "namespace": "ImGui", "ov_cimguiname": "igInputFloat4", "ret": "bool", @@ -11572,7 +11862,7 @@ "step_fast": "100" }, "funcname": "InputInt", - "location": "imgui:580", + "location": "imgui:582", "namespace": "ImGui", "ov_cimguiname": "igInputInt", "ret": "bool", @@ -11604,7 +11894,7 @@ "flags": "0" }, "funcname": "InputInt2", - "location": "imgui:581", + "location": "imgui:583", "namespace": "ImGui", "ov_cimguiname": "igInputInt2", "ret": "bool", @@ -11636,7 +11926,7 @@ "flags": "0" }, "funcname": "InputInt3", - "location": "imgui:582", + "location": "imgui:584", "namespace": "ImGui", "ov_cimguiname": "igInputInt3", "ret": "bool", @@ -11668,7 +11958,7 @@ "flags": "0" }, "funcname": "InputInt4", - "location": "imgui:583", + "location": "imgui:585", "namespace": "ImGui", "ov_cimguiname": "igInputInt4", "ret": "bool", @@ -11719,7 +12009,7 @@ "p_step_fast": "NULL" }, "funcname": "InputScalar", - "location": "imgui:585", + "location": "imgui:587", "namespace": "ImGui", "ov_cimguiname": "igInputScalar", "ret": "bool", @@ -11774,7 +12064,7 @@ "p_step_fast": "NULL" }, "funcname": "InputScalarN", - "location": "imgui:586", + "location": "imgui:588", "namespace": "ImGui", "ov_cimguiname": "igInputScalarN", "ret": "bool", @@ -11820,7 +12110,7 @@ "user_data": "NULL" }, "funcname": "InputText", - "location": "imgui:573", + "location": "imgui:575", "namespace": "ImGui", "ov_cimguiname": "igInputText", "ret": "bool", @@ -11871,7 +12161,7 @@ "user_data": "NULL" }, "funcname": "InputTextMultiline", - "location": "imgui:574", + "location": "imgui:576", "namespace": "ImGui", "ov_cimguiname": "igInputTextMultiline", "ret": "bool", @@ -11921,7 +12211,7 @@ "user_data": "NULL" }, "funcname": "InputTextWithHint", - "location": "imgui:575", + "location": "imgui:577", "namespace": "ImGui", "ov_cimguiname": "igInputTextWithHint", "ret": "bool", @@ -11953,7 +12243,7 @@ "flags": "0" }, "funcname": "InvisibleButton", - "location": "imgui:504", + "location": "imgui:502", "namespace": "ImGui", "ov_cimguiname": "igInvisibleButton", "ret": "bool", @@ -11970,7 +12260,7 @@ "cimguiname": "igIsAnyItemActive", "defaults": {}, "funcname": "IsAnyItemActive", - "location": "imgui:848", + "location": "imgui:846", "namespace": "ImGui", "ov_cimguiname": "igIsAnyItemActive", "ret": "bool", @@ -11987,7 +12277,7 @@ "cimguiname": "igIsAnyItemFocused", "defaults": {}, "funcname": "IsAnyItemFocused", - "location": "imgui:849", + "location": "imgui:847", "namespace": "ImGui", "ov_cimguiname": "igIsAnyItemFocused", "ret": "bool", @@ -12004,7 +12294,7 @@ "cimguiname": "igIsAnyItemHovered", "defaults": {}, "funcname": "IsAnyItemHovered", - "location": "imgui:847", + "location": "imgui:845", "namespace": "ImGui", "ov_cimguiname": "igIsAnyItemHovered", "ret": "bool", @@ -12021,7 +12311,7 @@ "cimguiname": "igIsAnyMouseDown", "defaults": {}, "funcname": "IsAnyMouseDown", - "location": "imgui:905", + "location": "imgui:908", "namespace": "ImGui", "ov_cimguiname": "igIsAnyMouseDown", "ret": "bool", @@ -12038,7 +12328,7 @@ "cimguiname": "igIsItemActivated", "defaults": {}, "funcname": "IsItemActivated", - "location": "imgui:843", + "location": "imgui:841", "namespace": "ImGui", "ov_cimguiname": "igIsItemActivated", "ret": "bool", @@ -12055,7 +12345,7 @@ "cimguiname": "igIsItemActive", "defaults": {}, "funcname": "IsItemActive", - "location": "imgui:838", + "location": "imgui:836", "namespace": "ImGui", "ov_cimguiname": "igIsItemActive", "ret": "bool", @@ -12079,7 +12369,7 @@ "mouse_button": "0" }, "funcname": "IsItemClicked", - "location": "imgui:840", + "location": "imgui:838", "namespace": "ImGui", "ov_cimguiname": "igIsItemClicked", "ret": "bool", @@ -12096,7 +12386,7 @@ "cimguiname": "igIsItemDeactivated", "defaults": {}, "funcname": "IsItemDeactivated", - "location": "imgui:844", + "location": "imgui:842", "namespace": "ImGui", "ov_cimguiname": "igIsItemDeactivated", "ret": "bool", @@ -12113,7 +12403,7 @@ "cimguiname": "igIsItemDeactivatedAfterEdit", "defaults": {}, "funcname": "IsItemDeactivatedAfterEdit", - "location": "imgui:845", + "location": "imgui:843", "namespace": "ImGui", "ov_cimguiname": "igIsItemDeactivatedAfterEdit", "ret": "bool", @@ -12130,7 +12420,7 @@ "cimguiname": "igIsItemEdited", "defaults": {}, "funcname": "IsItemEdited", - "location": "imgui:842", + "location": "imgui:840", "namespace": "ImGui", "ov_cimguiname": "igIsItemEdited", "ret": "bool", @@ -12147,7 +12437,7 @@ "cimguiname": "igIsItemFocused", "defaults": {}, "funcname": "IsItemFocused", - "location": "imgui:839", + "location": "imgui:837", "namespace": "ImGui", "ov_cimguiname": "igIsItemFocused", "ret": "bool", @@ -12171,7 +12461,7 @@ "flags": "0" }, "funcname": "IsItemHovered", - "location": "imgui:837", + "location": "imgui:835", "namespace": "ImGui", "ov_cimguiname": "igIsItemHovered", "ret": "bool", @@ -12188,7 +12478,7 @@ "cimguiname": "igIsItemToggledOpen", "defaults": {}, "funcname": "IsItemToggledOpen", - "location": "imgui:846", + "location": "imgui:844", "namespace": "ImGui", "ov_cimguiname": "igIsItemToggledOpen", "ret": "bool", @@ -12205,7 +12495,7 @@ "cimguiname": "igIsItemVisible", "defaults": {}, "funcname": "IsItemVisible", - "location": "imgui:841", + "location": "imgui:839", "namespace": "ImGui", "ov_cimguiname": "igIsItemVisible", "ret": "bool", @@ -12215,73 +12505,73 @@ ], "igIsKeyDown": [ { - "args": "(int user_key_index)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "user_key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" } ], - "argsoriginal": "(int user_key_index)", - "call_args": "(user_key_index)", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", "cimguiname": "igIsKeyDown", "defaults": {}, "funcname": "IsKeyDown", - "location": "imgui:888", + "location": "imgui:890", "namespace": "ImGui", "ov_cimguiname": "igIsKeyDown", "ret": "bool", - "signature": "(int)", + "signature": "(ImGuiKey)", "stname": "" } ], "igIsKeyPressed": [ { - "args": "(int user_key_index,bool repeat)", + "args": "(ImGuiKey key,bool repeat)", "argsT": [ { - "name": "user_key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" }, { "name": "repeat", "type": "bool" } ], - "argsoriginal": "(int user_key_index,bool repeat=true)", - "call_args": "(user_key_index,repeat)", + "argsoriginal": "(ImGuiKey key,bool repeat=true)", + "call_args": "(key,repeat)", "cimguiname": "igIsKeyPressed", "defaults": { "repeat": "true" }, "funcname": "IsKeyPressed", - "location": "imgui:889", + "location": "imgui:891", "namespace": "ImGui", "ov_cimguiname": "igIsKeyPressed", "ret": "bool", - "signature": "(int,bool)", + "signature": "(ImGuiKey,bool)", "stname": "" } ], "igIsKeyReleased": [ { - "args": "(int user_key_index)", + "args": "(ImGuiKey key)", "argsT": [ { - "name": "user_key_index", - "type": "int" + "name": "key", + "type": "ImGuiKey" } ], - "argsoriginal": "(int user_key_index)", - "call_args": "(user_key_index)", + "argsoriginal": "(ImGuiKey key)", + "call_args": "(key)", "cimguiname": "igIsKeyReleased", "defaults": {}, "funcname": "IsKeyReleased", - "location": "imgui:890", + "location": "imgui:892", "namespace": "ImGui", "ov_cimguiname": "igIsKeyReleased", "ret": "bool", - "signature": "(int)", + "signature": "(ImGuiKey)", "stname": "" } ], @@ -12305,7 +12595,7 @@ "repeat": "false" }, "funcname": "IsMouseClicked", - "location": "imgui:899", + "location": "imgui:902", "namespace": "ImGui", "ov_cimguiname": "igIsMouseClicked", "ret": "bool", @@ -12327,7 +12617,7 @@ "cimguiname": "igIsMouseDoubleClicked", "defaults": {}, "funcname": "IsMouseDoubleClicked", - "location": "imgui:901", + "location": "imgui:904", "namespace": "ImGui", "ov_cimguiname": "igIsMouseDoubleClicked", "ret": "bool", @@ -12349,7 +12639,7 @@ "cimguiname": "igIsMouseDown", "defaults": {}, "funcname": "IsMouseDown", - "location": "imgui:898", + "location": "imgui:901", "namespace": "ImGui", "ov_cimguiname": "igIsMouseDown", "ret": "bool", @@ -12377,7 +12667,7 @@ "lock_threshold": "-1.0f" }, "funcname": "IsMouseDragging", - "location": "imgui:908", + "location": "imgui:911", "namespace": "ImGui", "ov_cimguiname": "igIsMouseDragging", "ret": "bool", @@ -12409,7 +12699,7 @@ "clip": "true" }, "funcname": "IsMouseHoveringRect", - "location": "imgui:903", + "location": "imgui:906", "namespace": "ImGui", "ov_cimguiname": "igIsMouseHoveringRect", "ret": "bool", @@ -12433,7 +12723,7 @@ "mouse_pos": "NULL" }, "funcname": "IsMousePosValid", - "location": "imgui:904", + "location": "imgui:907", "namespace": "ImGui", "ov_cimguiname": "igIsMousePosValid", "ret": "bool", @@ -12455,7 +12745,7 @@ "cimguiname": "igIsMouseReleased", "defaults": {}, "funcname": "IsMouseReleased", - "location": "imgui:900", + "location": "imgui:903", "namespace": "ImGui", "ov_cimguiname": "igIsMouseReleased", "ret": "bool", @@ -12483,7 +12773,7 @@ "flags": "0" }, "funcname": "IsPopupOpen", - "location": "imgui:711", + "location": "imgui:714", "namespace": "ImGui", "ov_cimguiname": "igIsPopupOpen", "ret": "bool", @@ -12505,9 +12795,9 @@ "cimguiname": "igIsRectVisible", "defaults": {}, "funcname": "IsRectVisible", - "location": "imgui:862", + "location": "imgui:864", "namespace": "ImGui", - "ov_cimguiname": "igIsRectVisibleNil", + "ov_cimguiname": "igIsRectVisible_Nil", "ret": "bool", "signature": "(const ImVec2)", "stname": "" @@ -12529,9 +12819,9 @@ "cimguiname": "igIsRectVisible", "defaults": {}, "funcname": "IsRectVisible", - "location": "imgui:863", + "location": "imgui:865", "namespace": "ImGui", - "ov_cimguiname": "igIsRectVisibleVec2", + "ov_cimguiname": "igIsRectVisible_Vec2", "ret": "bool", "signature": "(const ImVec2,const ImVec2)", "stname": "" @@ -12546,7 +12836,7 @@ "cimguiname": "igIsWindowAppearing", "defaults": {}, "funcname": "IsWindowAppearing", - "location": "imgui:352", + "location": "imgui:347", "namespace": "ImGui", "ov_cimguiname": "igIsWindowAppearing", "ret": "bool", @@ -12563,7 +12853,7 @@ "cimguiname": "igIsWindowCollapsed", "defaults": {}, "funcname": "IsWindowCollapsed", - "location": "imgui:353", + "location": "imgui:348", "namespace": "ImGui", "ov_cimguiname": "igIsWindowCollapsed", "ret": "bool", @@ -12587,7 +12877,7 @@ "flags": "0" }, "funcname": "IsWindowFocused", - "location": "imgui:354", + "location": "imgui:349", "namespace": "ImGui", "ov_cimguiname": "igIsWindowFocused", "ret": "bool", @@ -12611,7 +12901,7 @@ "flags": "0" }, "funcname": "IsWindowHovered", - "location": "imgui:355", + "location": "imgui:350", "namespace": "ImGui", "ov_cimguiname": "igIsWindowHovered", "ret": "bool", @@ -12642,7 +12932,7 @@ "defaults": {}, "funcname": "LabelText", "isvararg": "...)", - "location": "imgui:494", + "location": "imgui:492", "namespace": "ImGui", "ov_cimguiname": "igLabelText", "ret": "void", @@ -12672,7 +12962,7 @@ "cimguiname": "igLabelTextV", "defaults": {}, "funcname": "LabelTextV", - "location": "imgui:495", + "location": "imgui:493", "namespace": "ImGui", "ov_cimguiname": "igLabelTextV", "ret": "void", @@ -12712,9 +13002,9 @@ "height_in_items": "-1" }, "funcname": "ListBox", - "location": "imgui:632", + "location": "imgui:634", "namespace": "ImGui", - "ov_cimguiname": "igListBoxStr_arr", + "ov_cimguiname": "igListBox_Str_arr", "ret": "bool", "signature": "(const char*,int*,const char* const[],int,int)", "stname": "" @@ -12756,9 +13046,9 @@ "height_in_items": "-1" }, "funcname": "ListBox", - "location": "imgui:633", + "location": "imgui:635", "namespace": "ImGui", - "ov_cimguiname": "igListBoxFnBoolPtr", + "ov_cimguiname": "igListBox_FnBoolPtr", "ret": "bool", "signature": "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)", "stname": "" @@ -12778,7 +13068,7 @@ "cimguiname": "igLoadIniSettingsFromDisk", "defaults": {}, "funcname": "LoadIniSettingsFromDisk", - "location": "imgui:924", + "location": "imgui:927", "namespace": "ImGui", "ov_cimguiname": "igLoadIniSettingsFromDisk", "ret": "void", @@ -12806,7 +13096,7 @@ "ini_size": "0" }, "funcname": "LoadIniSettingsFromMemory", - "location": "imgui:925", + "location": "imgui:928", "namespace": "ImGui", "ov_cimguiname": "igLoadIniSettingsFromMemory", "ret": "void", @@ -12823,7 +13113,7 @@ "cimguiname": "igLogButtons", "defaults": {}, "funcname": "LogButtons", - "location": "imgui:800", + "location": "imgui:798", "namespace": "ImGui", "ov_cimguiname": "igLogButtons", "ret": "void", @@ -12840,7 +13130,7 @@ "cimguiname": "igLogFinish", "defaults": {}, "funcname": "LogFinish", - "location": "imgui:799", + "location": "imgui:797", "namespace": "ImGui", "ov_cimguiname": "igLogFinish", "ret": "void", @@ -12867,7 +13157,7 @@ "defaults": {}, "funcname": "LogText", "isvararg": "...)", - "location": "imgui:801", + "location": "imgui:799", "manual": true, "namespace": "ImGui", "ov_cimguiname": "igLogText", @@ -12894,7 +13184,7 @@ "cimguiname": "igLogTextV", "defaults": {}, "funcname": "LogTextV", - "location": "imgui:802", + "location": "imgui:800", "namespace": "ImGui", "ov_cimguiname": "igLogTextV", "ret": "void", @@ -12918,7 +13208,7 @@ "auto_open_depth": "-1" }, "funcname": "LogToClipboard", - "location": "imgui:798", + "location": "imgui:796", "namespace": "ImGui", "ov_cimguiname": "igLogToClipboard", "ret": "void", @@ -12947,7 +13237,7 @@ "filename": "NULL" }, "funcname": "LogToFile", - "location": "imgui:797", + "location": "imgui:795", "namespace": "ImGui", "ov_cimguiname": "igLogToFile", "ret": "void", @@ -12971,7 +13261,7 @@ "auto_open_depth": "-1" }, "funcname": "LogToTTY", - "location": "imgui:796", + "location": "imgui:794", "namespace": "ImGui", "ov_cimguiname": "igLogToTTY", "ret": "void", @@ -12993,7 +13283,7 @@ "cimguiname": "igMemAlloc", "defaults": {}, "funcname": "MemAlloc", - "location": "imgui:939", + "location": "imgui:942", "namespace": "ImGui", "ov_cimguiname": "igMemAlloc", "ret": "void*", @@ -13015,7 +13305,7 @@ "cimguiname": "igMemFree", "defaults": {}, "funcname": "MemFree", - "location": "imgui:940", + "location": "imgui:943", "namespace": "ImGui", "ov_cimguiname": "igMemFree", "ret": "void", @@ -13053,9 +13343,9 @@ "shortcut": "NULL" }, "funcname": "MenuItem", - "location": "imgui:660", + "location": "imgui:662", "namespace": "ImGui", - "ov_cimguiname": "igMenuItemBool", + "ov_cimguiname": "igMenuItem_Bool", "ret": "bool", "signature": "(const char*,const char*,bool,bool)", "stname": "" @@ -13087,9 +13377,9 @@ "enabled": "true" }, "funcname": "MenuItem", - "location": "imgui:661", + "location": "imgui:663", "namespace": "ImGui", - "ov_cimguiname": "igMenuItemBoolPtr", + "ov_cimguiname": "igMenuItem_BoolPtr", "ret": "bool", "signature": "(const char*,const char*,bool*,bool)", "stname": "" @@ -13104,7 +13394,7 @@ "cimguiname": "igNewFrame", "defaults": {}, "funcname": "NewFrame", - "location": "imgui:302", + "location": "imgui:296", "namespace": "ImGui", "ov_cimguiname": "igNewFrame", "ret": "void", @@ -13121,7 +13411,7 @@ "cimguiname": "igNewLine", "defaults": {}, "funcname": "NewLine", - "location": "imgui:442", + "location": "imgui:440", "namespace": "ImGui", "ov_cimguiname": "igNewLine", "ret": "void", @@ -13138,7 +13428,7 @@ "cimguiname": "igNextColumn", "defaults": {}, "funcname": "NextColumn", - "location": "imgui:778", + "location": "imgui:776", "namespace": "ImGui", "ov_cimguiname": "igNextColumn", "ret": "void", @@ -13166,9 +13456,9 @@ "popup_flags": "0" }, "funcname": "OpenPopup", - "location": "imgui:693", + "location": "imgui:696", "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupStr", + "ov_cimguiname": "igOpenPopup_Str", "ret": "void", "signature": "(const char*,ImGuiPopupFlags)", "stname": "" @@ -13192,9 +13482,9 @@ "popup_flags": "0" }, "funcname": "OpenPopup", - "location": "imgui:694", + "location": "imgui:697", "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupID", + "ov_cimguiname": "igOpenPopup_ID", "ret": "void", "signature": "(ImGuiID,ImGuiPopupFlags)", "stname": "" @@ -13221,7 +13511,7 @@ "str_id": "NULL" }, "funcname": "OpenPopupOnItemClick", - "location": "imgui:695", + "location": "imgui:698", "namespace": "ImGui", "ov_cimguiname": "igOpenPopupOnItemClick", "ret": "void", @@ -13282,9 +13572,9 @@ "values_offset": "0" }, "funcname": "PlotHistogram", - "location": "imgui:639", + "location": "imgui:641", "namespace": "ImGui", - "ov_cimguiname": "igPlotHistogramFloatPtr", + "ov_cimguiname": "igPlotHistogram_FloatPtr", "ret": "void", "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", "stname": "" @@ -13342,9 +13632,9 @@ "values_offset": "0" }, "funcname": "PlotHistogram", - "location": "imgui:640", + "location": "imgui:642", "namespace": "ImGui", - "ov_cimguiname": "igPlotHistogramFnFloatPtr", + "ov_cimguiname": "igPlotHistogram_FnFloatPtr", "ret": "void", "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", "stname": "" @@ -13403,9 +13693,9 @@ "values_offset": "0" }, "funcname": "PlotLines", - "location": "imgui:637", + "location": "imgui:639", "namespace": "ImGui", - "ov_cimguiname": "igPlotLinesFloatPtr", + "ov_cimguiname": "igPlotLines_FloatPtr", "ret": "void", "signature": "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)", "stname": "" @@ -13463,9 +13753,9 @@ "values_offset": "0" }, "funcname": "PlotLines", - "location": "imgui:638", + "location": "imgui:640", "namespace": "ImGui", - "ov_cimguiname": "igPlotLinesFnFloatPtr", + "ov_cimguiname": "igPlotLines_FnFloatPtr", "ret": "void", "signature": "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)", "stname": "" @@ -13480,7 +13770,7 @@ "cimguiname": "igPopAllowKeyboardFocus", "defaults": {}, "funcname": "PopAllowKeyboardFocus", - "location": "imgui:411", + "location": "imgui:409", "namespace": "ImGui", "ov_cimguiname": "igPopAllowKeyboardFocus", "ret": "void", @@ -13497,7 +13787,7 @@ "cimguiname": "igPopButtonRepeat", "defaults": {}, "funcname": "PopButtonRepeat", - "location": "imgui:413", + "location": "imgui:411", "namespace": "ImGui", "ov_cimguiname": "igPopButtonRepeat", "ret": "void", @@ -13514,7 +13804,7 @@ "cimguiname": "igPopClipRect", "defaults": {}, "funcname": "PopClipRect", - "location": "imgui:827", + "location": "imgui:825", "namespace": "ImGui", "ov_cimguiname": "igPopClipRect", "ret": "void", @@ -13531,7 +13821,7 @@ "cimguiname": "igPopFont", "defaults": {}, "funcname": "PopFont", - "location": "imgui:403", + "location": "imgui:401", "namespace": "ImGui", "ov_cimguiname": "igPopFont", "ret": "void", @@ -13548,7 +13838,7 @@ "cimguiname": "igPopID", "defaults": {}, "funcname": "PopID", - "location": "imgui:479", + "location": "imgui:477", "namespace": "ImGui", "ov_cimguiname": "igPopID", "ret": "void", @@ -13565,7 +13855,7 @@ "cimguiname": "igPopItemWidth", "defaults": {}, "funcname": "PopItemWidth", - "location": "imgui:417", + "location": "imgui:415", "namespace": "ImGui", "ov_cimguiname": "igPopItemWidth", "ret": "void", @@ -13589,7 +13879,7 @@ "count": "1" }, "funcname": "PopStyleColor", - "location": "imgui:406", + "location": "imgui:404", "namespace": "ImGui", "ov_cimguiname": "igPopStyleColor", "ret": "void", @@ -13613,7 +13903,7 @@ "count": "1" }, "funcname": "PopStyleVar", - "location": "imgui:409", + "location": "imgui:407", "namespace": "ImGui", "ov_cimguiname": "igPopStyleVar", "ret": "void", @@ -13630,7 +13920,7 @@ "cimguiname": "igPopTextWrapPos", "defaults": {}, "funcname": "PopTextWrapPos", - "location": "imgui:421", + "location": "imgui:419", "namespace": "ImGui", "ov_cimguiname": "igPopTextWrapPos", "ret": "void", @@ -13663,7 +13953,7 @@ "size_arg": "ImVec2(-FLT_MIN,0)" }, "funcname": "ProgressBar", - "location": "imgui:513", + "location": "imgui:509", "namespace": "ImGui", "ov_cimguiname": "igProgressBar", "ret": "void", @@ -13685,7 +13975,7 @@ "cimguiname": "igPushAllowKeyboardFocus", "defaults": {}, "funcname": "PushAllowKeyboardFocus", - "location": "imgui:410", + "location": "imgui:408", "namespace": "ImGui", "ov_cimguiname": "igPushAllowKeyboardFocus", "ret": "void", @@ -13707,7 +13997,7 @@ "cimguiname": "igPushButtonRepeat", "defaults": {}, "funcname": "PushButtonRepeat", - "location": "imgui:412", + "location": "imgui:410", "namespace": "ImGui", "ov_cimguiname": "igPushButtonRepeat", "ret": "void", @@ -13737,7 +14027,7 @@ "cimguiname": "igPushClipRect", "defaults": {}, "funcname": "PushClipRect", - "location": "imgui:826", + "location": "imgui:824", "namespace": "ImGui", "ov_cimguiname": "igPushClipRect", "ret": "void", @@ -13759,7 +14049,7 @@ "cimguiname": "igPushFont", "defaults": {}, "funcname": "PushFont", - "location": "imgui:402", + "location": "imgui:400", "namespace": "ImGui", "ov_cimguiname": "igPushFont", "ret": "void", @@ -13781,9 +14071,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:475", + "location": "imgui:473", "namespace": "ImGui", - "ov_cimguiname": "igPushIDStr", + "ov_cimguiname": "igPushID_Str", "ret": "void", "signature": "(const char*)", "stname": "" @@ -13805,9 +14095,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:476", + "location": "imgui:474", "namespace": "ImGui", - "ov_cimguiname": "igPushIDStrStr", + "ov_cimguiname": "igPushID_StrStr", "ret": "void", "signature": "(const char*,const char*)", "stname": "" @@ -13825,9 +14115,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:477", + "location": "imgui:475", "namespace": "ImGui", - "ov_cimguiname": "igPushIDPtr", + "ov_cimguiname": "igPushID_Ptr", "ret": "void", "signature": "(const void*)", "stname": "" @@ -13845,9 +14135,9 @@ "cimguiname": "igPushID", "defaults": {}, "funcname": "PushID", - "location": "imgui:478", + "location": "imgui:476", "namespace": "ImGui", - "ov_cimguiname": "igPushIDInt", + "ov_cimguiname": "igPushID_Int", "ret": "void", "signature": "(int)", "stname": "" @@ -13867,7 +14157,7 @@ "cimguiname": "igPushItemWidth", "defaults": {}, "funcname": "PushItemWidth", - "location": "imgui:416", + "location": "imgui:414", "namespace": "ImGui", "ov_cimguiname": "igPushItemWidth", "ret": "void", @@ -13893,9 +14183,9 @@ "cimguiname": "igPushStyleColor", "defaults": {}, "funcname": "PushStyleColor", - "location": "imgui:404", + "location": "imgui:402", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleColorU32", + "ov_cimguiname": "igPushStyleColor_U32", "ret": "void", "signature": "(ImGuiCol,ImU32)", "stname": "" @@ -13917,9 +14207,9 @@ "cimguiname": "igPushStyleColor", "defaults": {}, "funcname": "PushStyleColor", - "location": "imgui:405", + "location": "imgui:403", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleColorVec4", + "ov_cimguiname": "igPushStyleColor_Vec4", "ret": "void", "signature": "(ImGuiCol,const ImVec4)", "stname": "" @@ -13943,9 +14233,9 @@ "cimguiname": "igPushStyleVar", "defaults": {}, "funcname": "PushStyleVar", - "location": "imgui:407", + "location": "imgui:405", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleVarFloat", + "ov_cimguiname": "igPushStyleVar_Float", "ret": "void", "signature": "(ImGuiStyleVar,float)", "stname": "" @@ -13967,9 +14257,9 @@ "cimguiname": "igPushStyleVar", "defaults": {}, "funcname": "PushStyleVar", - "location": "imgui:408", + "location": "imgui:406", "namespace": "ImGui", - "ov_cimguiname": "igPushStyleVarVec2", + "ov_cimguiname": "igPushStyleVar_Vec2", "ret": "void", "signature": "(ImGuiStyleVar,const ImVec2)", "stname": "" @@ -13991,7 +14281,7 @@ "wrap_local_pos_x": "0.0f" }, "funcname": "PushTextWrapPos", - "location": "imgui:420", + "location": "imgui:418", "namespace": "ImGui", "ov_cimguiname": "igPushTextWrapPos", "ret": "void", @@ -14017,9 +14307,9 @@ "cimguiname": "igRadioButton", "defaults": {}, "funcname": "RadioButton", - "location": "imgui:511", + "location": "imgui:507", "namespace": "ImGui", - "ov_cimguiname": "igRadioButtonBool", + "ov_cimguiname": "igRadioButton_Bool", "ret": "bool", "signature": "(const char*,bool)", "stname": "" @@ -14045,9 +14335,9 @@ "cimguiname": "igRadioButton", "defaults": {}, "funcname": "RadioButton", - "location": "imgui:512", + "location": "imgui:508", "namespace": "ImGui", - "ov_cimguiname": "igRadioButtonIntPtr", + "ov_cimguiname": "igRadioButton_IntPtr", "ret": "bool", "signature": "(const char*,int*,int)", "stname": "" @@ -14062,7 +14352,7 @@ "cimguiname": "igRender", "defaults": {}, "funcname": "Render", - "location": "imgui:304", + "location": "imgui:298", "namespace": "ImGui", "ov_cimguiname": "igRender", "ret": "void", @@ -14086,7 +14376,7 @@ "button": "0" }, "funcname": "ResetMouseDragDelta", - "location": "imgui:910", + "location": "imgui:913", "namespace": "ImGui", "ov_cimguiname": "igResetMouseDragDelta", "ret": "void", @@ -14115,7 +14405,7 @@ "spacing": "-1.0f" }, "funcname": "SameLine", - "location": "imgui:441", + "location": "imgui:439", "namespace": "ImGui", "ov_cimguiname": "igSameLine", "ret": "void", @@ -14137,7 +14427,7 @@ "cimguiname": "igSaveIniSettingsToDisk", "defaults": {}, "funcname": "SaveIniSettingsToDisk", - "location": "imgui:926", + "location": "imgui:929", "namespace": "ImGui", "ov_cimguiname": "igSaveIniSettingsToDisk", "ret": "void", @@ -14161,7 +14451,7 @@ "out_ini_size": "NULL" }, "funcname": "SaveIniSettingsToMemory", - "location": "imgui:927", + "location": "imgui:930", "namespace": "ImGui", "ov_cimguiname": "igSaveIniSettingsToMemory", "ret": "const char*", @@ -14199,9 +14489,9 @@ "size": "ImVec2(0,0)" }, "funcname": "Selectable", - "location": "imgui:621", + "location": "imgui:623", "namespace": "ImGui", - "ov_cimguiname": "igSelectableBool", + "ov_cimguiname": "igSelectable_Bool", "ret": "bool", "signature": "(const char*,bool,ImGuiSelectableFlags,const ImVec2)", "stname": "" @@ -14234,9 +14524,9 @@ "size": "ImVec2(0,0)" }, "funcname": "Selectable", - "location": "imgui:622", + "location": "imgui:624", "namespace": "ImGui", - "ov_cimguiname": "igSelectableBoolPtr", + "ov_cimguiname": "igSelectable_BoolPtr", "ret": "bool", "signature": "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)", "stname": "" @@ -14251,7 +14541,7 @@ "cimguiname": "igSeparator", "defaults": {}, "funcname": "Separator", - "location": "imgui:440", + "location": "imgui:438", "namespace": "ImGui", "ov_cimguiname": "igSeparator", "ret": "void", @@ -14283,7 +14573,7 @@ "user_data": "NULL" }, "funcname": "SetAllocatorFunctions", - "location": "imgui:937", + "location": "imgui:940", "namespace": "ImGui", "ov_cimguiname": "igSetAllocatorFunctions", "ret": "void", @@ -14305,7 +14595,7 @@ "cimguiname": "igSetClipboardText", "defaults": {}, "funcname": "SetClipboardText", - "location": "imgui:918", + "location": "imgui:921", "namespace": "ImGui", "ov_cimguiname": "igSetClipboardText", "ret": "void", @@ -14327,7 +14617,7 @@ "cimguiname": "igSetColorEditOptions", "defaults": {}, "funcname": "SetColorEditOptions", - "location": "imgui:596", + "location": "imgui:598", "namespace": "ImGui", "ov_cimguiname": "igSetColorEditOptions", "ret": "void", @@ -14353,7 +14643,7 @@ "cimguiname": "igSetColumnOffset", "defaults": {}, "funcname": "SetColumnOffset", - "location": "imgui:783", + "location": "imgui:781", "namespace": "ImGui", "ov_cimguiname": "igSetColumnOffset", "ret": "void", @@ -14379,7 +14669,7 @@ "cimguiname": "igSetColumnWidth", "defaults": {}, "funcname": "SetColumnWidth", - "location": "imgui:781", + "location": "imgui:779", "namespace": "ImGui", "ov_cimguiname": "igSetColumnWidth", "ret": "void", @@ -14401,7 +14691,7 @@ "cimguiname": "igSetCurrentContext", "defaults": {}, "funcname": "SetCurrentContext", - "location": "imgui:297", + "location": "imgui:291", "namespace": "ImGui", "ov_cimguiname": "igSetCurrentContext", "ret": "void", @@ -14423,7 +14713,7 @@ "cimguiname": "igSetCursorPos", "defaults": {}, "funcname": "SetCursorPos", - "location": "imgui:452", + "location": "imgui:450", "namespace": "ImGui", "ov_cimguiname": "igSetCursorPos", "ret": "void", @@ -14445,7 +14735,7 @@ "cimguiname": "igSetCursorPosX", "defaults": {}, "funcname": "SetCursorPosX", - "location": "imgui:453", + "location": "imgui:451", "namespace": "ImGui", "ov_cimguiname": "igSetCursorPosX", "ret": "void", @@ -14467,7 +14757,7 @@ "cimguiname": "igSetCursorPosY", "defaults": {}, "funcname": "SetCursorPosY", - "location": "imgui:454", + "location": "imgui:452", "namespace": "ImGui", "ov_cimguiname": "igSetCursorPosY", "ret": "void", @@ -14489,7 +14779,7 @@ "cimguiname": "igSetCursorScreenPos", "defaults": {}, "funcname": "SetCursorScreenPos", - "location": "imgui:457", + "location": "imgui:455", "namespace": "ImGui", "ov_cimguiname": "igSetCursorScreenPos", "ret": "void", @@ -14525,7 +14815,7 @@ "cond": "0" }, "funcname": "SetDragDropPayload", - "location": "imgui:810", + "location": "imgui:808", "namespace": "ImGui", "ov_cimguiname": "igSetDragDropPayload", "ret": "bool", @@ -14542,7 +14832,7 @@ "cimguiname": "igSetItemAllowOverlap", "defaults": {}, "funcname": "SetItemAllowOverlap", - "location": "imgui:853", + "location": "imgui:851", "namespace": "ImGui", "ov_cimguiname": "igSetItemAllowOverlap", "ret": "void", @@ -14559,7 +14849,7 @@ "cimguiname": "igSetItemDefaultFocus", "defaults": {}, "funcname": "SetItemDefaultFocus", - "location": "imgui:831", + "location": "imgui:829", "namespace": "ImGui", "ov_cimguiname": "igSetItemDefaultFocus", "ret": "void", @@ -14583,7 +14873,7 @@ "offset": "0" }, "funcname": "SetKeyboardFocusHere", - "location": "imgui:832", + "location": "imgui:830", "namespace": "ImGui", "ov_cimguiname": "igSetKeyboardFocusHere", "ret": "void", @@ -14605,7 +14895,7 @@ "cimguiname": "igSetMouseCursor", "defaults": {}, "funcname": "SetMouseCursor", - "location": "imgui:912", + "location": "imgui:915", "namespace": "ImGui", "ov_cimguiname": "igSetMouseCursor", "ret": "void", @@ -14613,6 +14903,50 @@ "stname": "" } ], + "igSetNextFrameWantCaptureKeyboard": [ + { + "args": "(bool want_capture_keyboard)", + "argsT": [ + { + "name": "want_capture_keyboard", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_keyboard)", + "call_args": "(want_capture_keyboard)", + "cimguiname": "igSetNextFrameWantCaptureKeyboard", + "defaults": {}, + "funcname": "SetNextFrameWantCaptureKeyboard", + "location": "imgui:895", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextFrameWantCaptureKeyboard", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], + "igSetNextFrameWantCaptureMouse": [ + { + "args": "(bool want_capture_mouse)", + "argsT": [ + { + "name": "want_capture_mouse", + "type": "bool" + } + ], + "argsoriginal": "(bool want_capture_mouse)", + "call_args": "(want_capture_mouse)", + "cimguiname": "igSetNextFrameWantCaptureMouse", + "defaults": {}, + "funcname": "SetNextFrameWantCaptureMouse", + "location": "imgui:916", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextFrameWantCaptureMouse", + "ret": "void", + "signature": "(bool)", + "stname": "" + } + ], "igSetNextItemOpen": [ { "args": "(bool is_open,ImGuiCond cond)", @@ -14633,7 +14967,7 @@ "cond": "0" }, "funcname": "SetNextItemOpen", - "location": "imgui:616", + "location": "imgui:618", "namespace": "ImGui", "ov_cimguiname": "igSetNextItemOpen", "ret": "void", @@ -14655,7 +14989,7 @@ "cimguiname": "igSetNextItemWidth", "defaults": {}, "funcname": "SetNextItemWidth", - "location": "imgui:418", + "location": "imgui:416", "namespace": "ImGui", "ov_cimguiname": "igSetNextItemWidth", "ret": "void", @@ -14677,7 +15011,7 @@ "cimguiname": "igSetNextWindowBgAlpha", "defaults": {}, "funcname": "SetNextWindowBgAlpha", - "location": "imgui:370", + "location": "imgui:366", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowBgAlpha", "ret": "void", @@ -14705,7 +15039,7 @@ "cond": "0" }, "funcname": "SetNextWindowCollapsed", - "location": "imgui:368", + "location": "imgui:363", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowCollapsed", "ret": "void", @@ -14727,7 +15061,7 @@ "cimguiname": "igSetNextWindowContentSize", "defaults": {}, "funcname": "SetNextWindowContentSize", - "location": "imgui:367", + "location": "imgui:362", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowContentSize", "ret": "void", @@ -14744,7 +15078,7 @@ "cimguiname": "igSetNextWindowFocus", "defaults": {}, "funcname": "SetNextWindowFocus", - "location": "imgui:369", + "location": "imgui:364", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowFocus", "ret": "void", @@ -14777,7 +15111,7 @@ "pivot": "ImVec2(0,0)" }, "funcname": "SetNextWindowPos", - "location": "imgui:364", + "location": "imgui:359", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowPos", "ret": "void", @@ -14785,6 +15119,28 @@ "stname": "" } ], + "igSetNextWindowScroll": [ + { + "args": "(const ImVec2 scroll)", + "argsT": [ + { + "name": "scroll", + "type": "const ImVec2" + } + ], + "argsoriginal": "(const ImVec2& scroll)", + "call_args": "(scroll)", + "cimguiname": "igSetNextWindowScroll", + "defaults": {}, + "funcname": "SetNextWindowScroll", + "location": "imgui:365", + "namespace": "ImGui", + "ov_cimguiname": "igSetNextWindowScroll", + "ret": "void", + "signature": "(const ImVec2)", + "stname": "" + } + ], "igSetNextWindowSize": [ { "args": "(const ImVec2 size,ImGuiCond cond)", @@ -14805,7 +15161,7 @@ "cond": "0" }, "funcname": "SetNextWindowSize", - "location": "imgui:365", + "location": "imgui:360", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowSize", "ret": "void", @@ -14842,7 +15198,7 @@ "custom_callback_data": "NULL" }, "funcname": "SetNextWindowSizeConstraints", - "location": "imgui:366", + "location": "imgui:361", "namespace": "ImGui", "ov_cimguiname": "igSetNextWindowSizeConstraints", "ret": "void", @@ -14870,7 +15226,7 @@ "center_x_ratio": "0.5f" }, "funcname": "SetScrollFromPosX", - "location": "imgui:398", + "location": "imgui:396", "namespace": "ImGui", "ov_cimguiname": "igSetScrollFromPosX", "ret": "void", @@ -14898,7 +15254,7 @@ "center_y_ratio": "0.5f" }, "funcname": "SetScrollFromPosY", - "location": "imgui:399", + "location": "imgui:397", "namespace": "ImGui", "ov_cimguiname": "igSetScrollFromPosY", "ret": "void", @@ -14922,7 +15278,7 @@ "center_x_ratio": "0.5f" }, "funcname": "SetScrollHereX", - "location": "imgui:396", + "location": "imgui:394", "namespace": "ImGui", "ov_cimguiname": "igSetScrollHereX", "ret": "void", @@ -14946,7 +15302,7 @@ "center_y_ratio": "0.5f" }, "funcname": "SetScrollHereY", - "location": "imgui:397", + "location": "imgui:395", "namespace": "ImGui", "ov_cimguiname": "igSetScrollHereY", "ret": "void", @@ -14968,7 +15324,7 @@ "cimguiname": "igSetScrollX", "defaults": {}, "funcname": "SetScrollX", - "location": "imgui:392", + "location": "imgui:390", "namespace": "ImGui", "ov_cimguiname": "igSetScrollX", "ret": "void", @@ -14990,7 +15346,7 @@ "cimguiname": "igSetScrollY", "defaults": {}, "funcname": "SetScrollY", - "location": "imgui:393", + "location": "imgui:391", "namespace": "ImGui", "ov_cimguiname": "igSetScrollY", "ret": "void", @@ -15034,7 +15390,7 @@ "cimguiname": "igSetTabItemClosed", "defaults": {}, "funcname": "SetTabItemClosed", - "location": "imgui:792", + "location": "imgui:790", "namespace": "ImGui", "ov_cimguiname": "igSetTabItemClosed", "ret": "void", @@ -15061,7 +15417,7 @@ "defaults": {}, "funcname": "SetTooltip", "isvararg": "...)", - "location": "imgui:667", + "location": "imgui:669", "namespace": "ImGui", "ov_cimguiname": "igSetTooltip", "ret": "void", @@ -15087,7 +15443,7 @@ "cimguiname": "igSetTooltipV", "defaults": {}, "funcname": "SetTooltipV", - "location": "imgui:668", + "location": "imgui:670", "namespace": "ImGui", "ov_cimguiname": "igSetTooltipV", "ret": "void", @@ -15115,9 +15471,9 @@ "cond": "0" }, "funcname": "SetWindowCollapsed", - "location": "imgui:373", + "location": "imgui:369", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsedBool", + "ov_cimguiname": "igSetWindowCollapsed_Bool", "ret": "void", "signature": "(bool,ImGuiCond)", "stname": "" @@ -15145,9 +15501,9 @@ "cond": "0" }, "funcname": "SetWindowCollapsed", - "location": "imgui:378", + "location": "imgui:374", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowCollapsedStr", + "ov_cimguiname": "igSetWindowCollapsed_Str", "ret": "void", "signature": "(const char*,bool,ImGuiCond)", "stname": "" @@ -15162,9 +15518,9 @@ "cimguiname": "igSetWindowFocus", "defaults": {}, "funcname": "SetWindowFocus", - "location": "imgui:374", + "location": "imgui:370", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFocusNil", + "ov_cimguiname": "igSetWindowFocus_Nil", "ret": "void", "signature": "()", "stname": "" @@ -15182,9 +15538,9 @@ "cimguiname": "igSetWindowFocus", "defaults": {}, "funcname": "SetWindowFocus", - "location": "imgui:379", + "location": "imgui:375", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowFocusStr", + "ov_cimguiname": "igSetWindowFocus_Str", "ret": "void", "signature": "(const char*)", "stname": "" @@ -15204,7 +15560,7 @@ "cimguiname": "igSetWindowFontScale", "defaults": {}, "funcname": "SetWindowFontScale", - "location": "imgui:375", + "location": "imgui:371", "namespace": "ImGui", "ov_cimguiname": "igSetWindowFontScale", "ret": "void", @@ -15232,9 +15588,9 @@ "cond": "0" }, "funcname": "SetWindowPos", - "location": "imgui:371", + "location": "imgui:367", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPosVec2", + "ov_cimguiname": "igSetWindowPos_Vec2", "ret": "void", "signature": "(const ImVec2,ImGuiCond)", "stname": "" @@ -15262,9 +15618,9 @@ "cond": "0" }, "funcname": "SetWindowPos", - "location": "imgui:376", + "location": "imgui:372", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowPosStr", + "ov_cimguiname": "igSetWindowPos_Str", "ret": "void", "signature": "(const char*,const ImVec2,ImGuiCond)", "stname": "" @@ -15290,9 +15646,9 @@ "cond": "0" }, "funcname": "SetWindowSize", - "location": "imgui:372", + "location": "imgui:368", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSizeVec2", + "ov_cimguiname": "igSetWindowSize_Vec2", "ret": "void", "signature": "(const ImVec2,ImGuiCond)", "stname": "" @@ -15320,9 +15676,9 @@ "cond": "0" }, "funcname": "SetWindowSize", - "location": "imgui:377", + "location": "imgui:373", "namespace": "ImGui", - "ov_cimguiname": "igSetWindowSizeStr", + "ov_cimguiname": "igSetWindowSize_Str", "ret": "void", "signature": "(const char*,const ImVec2,ImGuiCond)", "stname": "" @@ -15344,7 +15700,7 @@ "p_open": "NULL" }, "funcname": "ShowAboutWindow", - "location": "imgui:311", + "location": "imgui:306", "namespace": "ImGui", "ov_cimguiname": "igShowAboutWindow", "ret": "void", @@ -15352,6 +15708,30 @@ "stname": "" } ], + "igShowDebugLogWindow": [ + { + "args": "(bool* p_open)", + "argsT": [ + { + "name": "p_open", + "type": "bool*" + } + ], + "argsoriginal": "(bool* p_open=((void*)0))", + "call_args": "(p_open)", + "cimguiname": "igShowDebugLogWindow", + "defaults": { + "p_open": "NULL" + }, + "funcname": "ShowDebugLogWindow", + "location": "imgui:304", + "namespace": "ImGui", + "ov_cimguiname": "igShowDebugLogWindow", + "ret": "void", + "signature": "(bool*)", + "stname": "" + } + ], "igShowDemoWindow": [ { "args": "(bool* p_open)", @@ -15368,7 +15748,7 @@ "p_open": "NULL" }, "funcname": "ShowDemoWindow", - "location": "imgui:308", + "location": "imgui:302", "namespace": "ImGui", "ov_cimguiname": "igShowDemoWindow", "ret": "void", @@ -15390,7 +15770,7 @@ "cimguiname": "igShowFontSelector", "defaults": {}, "funcname": "ShowFontSelector", - "location": "imgui:314", + "location": "imgui:309", "namespace": "ImGui", "ov_cimguiname": "igShowFontSelector", "ret": "void", @@ -15414,7 +15794,7 @@ "p_open": "NULL" }, "funcname": "ShowMetricsWindow", - "location": "imgui:309", + "location": "imgui:303", "namespace": "ImGui", "ov_cimguiname": "igShowMetricsWindow", "ret": "void", @@ -15438,7 +15818,7 @@ "p_open": "NULL" }, "funcname": "ShowStackToolWindow", - "location": "imgui:310", + "location": "imgui:305", "namespace": "ImGui", "ov_cimguiname": "igShowStackToolWindow", "ret": "void", @@ -15462,7 +15842,7 @@ "ref": "NULL" }, "funcname": "ShowStyleEditor", - "location": "imgui:312", + "location": "imgui:307", "namespace": "ImGui", "ov_cimguiname": "igShowStyleEditor", "ret": "void", @@ -15484,7 +15864,7 @@ "cimguiname": "igShowStyleSelector", "defaults": {}, "funcname": "ShowStyleSelector", - "location": "imgui:313", + "location": "imgui:308", "namespace": "ImGui", "ov_cimguiname": "igShowStyleSelector", "ret": "bool", @@ -15501,7 +15881,7 @@ "cimguiname": "igShowUserGuide", "defaults": {}, "funcname": "ShowUserGuide", - "location": "imgui:315", + "location": "imgui:310", "namespace": "ImGui", "ov_cimguiname": "igShowUserGuide", "ret": "void", @@ -15548,7 +15928,7 @@ "v_degrees_min": "-360.0f" }, "funcname": "SliderAngle", - "location": "imgui:559", + "location": "imgui:561", "namespace": "ImGui", "ov_cimguiname": "igSliderAngle", "ret": "bool", @@ -15593,7 +15973,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat", - "location": "imgui:555", + "location": "imgui:557", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat", "ret": "bool", @@ -15638,7 +16018,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat2", - "location": "imgui:556", + "location": "imgui:558", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat2", "ret": "bool", @@ -15683,7 +16063,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat3", - "location": "imgui:557", + "location": "imgui:559", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat3", "ret": "bool", @@ -15728,7 +16108,7 @@ "format": "\"%.3f\"" }, "funcname": "SliderFloat4", - "location": "imgui:558", + "location": "imgui:560", "namespace": "ImGui", "ov_cimguiname": "igSliderFloat4", "ret": "bool", @@ -15773,7 +16153,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt", - "location": "imgui:560", + "location": "imgui:562", "namespace": "ImGui", "ov_cimguiname": "igSliderInt", "ret": "bool", @@ -15818,7 +16198,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt2", - "location": "imgui:561", + "location": "imgui:563", "namespace": "ImGui", "ov_cimguiname": "igSliderInt2", "ret": "bool", @@ -15863,7 +16243,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt3", - "location": "imgui:562", + "location": "imgui:564", "namespace": "ImGui", "ov_cimguiname": "igSliderInt3", "ret": "bool", @@ -15908,7 +16288,7 @@ "format": "\"%d\"" }, "funcname": "SliderInt4", - "location": "imgui:563", + "location": "imgui:565", "namespace": "ImGui", "ov_cimguiname": "igSliderInt4", "ret": "bool", @@ -15957,7 +16337,7 @@ "format": "NULL" }, "funcname": "SliderScalar", - "location": "imgui:564", + "location": "imgui:566", "namespace": "ImGui", "ov_cimguiname": "igSliderScalar", "ret": "bool", @@ -16010,7 +16390,7 @@ "format": "NULL" }, "funcname": "SliderScalarN", - "location": "imgui:565", + "location": "imgui:567", "namespace": "ImGui", "ov_cimguiname": "igSliderScalarN", "ret": "bool", @@ -16032,7 +16412,7 @@ "cimguiname": "igSmallButton", "defaults": {}, "funcname": "SmallButton", - "location": "imgui:503", + "location": "imgui:501", "namespace": "ImGui", "ov_cimguiname": "igSmallButton", "ret": "bool", @@ -16049,7 +16429,7 @@ "cimguiname": "igSpacing", "defaults": {}, "funcname": "Spacing", - "location": "imgui:443", + "location": "imgui:441", "namespace": "ImGui", "ov_cimguiname": "igSpacing", "ret": "void", @@ -16073,7 +16453,7 @@ "dst": "NULL" }, "funcname": "StyleColorsClassic", - "location": "imgui:321", + "location": "imgui:316", "namespace": "ImGui", "ov_cimguiname": "igStyleColorsClassic", "ret": "void", @@ -16097,7 +16477,7 @@ "dst": "NULL" }, "funcname": "StyleColorsDark", - "location": "imgui:319", + "location": "imgui:314", "namespace": "ImGui", "ov_cimguiname": "igStyleColorsDark", "ret": "void", @@ -16121,7 +16501,7 @@ "dst": "NULL" }, "funcname": "StyleColorsLight", - "location": "imgui:320", + "location": "imgui:315", "namespace": "ImGui", "ov_cimguiname": "igStyleColorsLight", "ret": "void", @@ -16149,7 +16529,7 @@ "flags": "0" }, "funcname": "TabItemButton", - "location": "imgui:791", + "location": "imgui:789", "namespace": "ImGui", "ov_cimguiname": "igTabItemButton", "ret": "bool", @@ -16166,7 +16546,7 @@ "cimguiname": "igTableGetColumnCount", "defaults": {}, "funcname": "TableGetColumnCount", - "location": "imgui:767", + "location": "imgui:765", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnCount", "ret": "int", @@ -16190,7 +16570,7 @@ "column_n": "-1" }, "funcname": "TableGetColumnFlags", - "location": "imgui:771", + "location": "imgui:769", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnFlags", "ret": "ImGuiTableColumnFlags", @@ -16207,7 +16587,7 @@ "cimguiname": "igTableGetColumnIndex", "defaults": {}, "funcname": "TableGetColumnIndex", - "location": "imgui:768", + "location": "imgui:766", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnIndex", "ret": "int", @@ -16231,7 +16611,7 @@ "column_n": "-1" }, "funcname": "TableGetColumnName", - "location": "imgui:770", + "location": "imgui:768", "namespace": "ImGui", "ov_cimguiname": "igTableGetColumnName", "ret": "const char*", @@ -16248,7 +16628,7 @@ "cimguiname": "igTableGetRowIndex", "defaults": {}, "funcname": "TableGetRowIndex", - "location": "imgui:769", + "location": "imgui:767", "namespace": "ImGui", "ov_cimguiname": "igTableGetRowIndex", "ret": "int", @@ -16265,7 +16645,7 @@ "cimguiname": "igTableGetSortSpecs", "defaults": {}, "funcname": "TableGetSortSpecs", - "location": "imgui:763", + "location": "imgui:764", "namespace": "ImGui", "ov_cimguiname": "igTableGetSortSpecs", "ret": "ImGuiTableSortSpecs*", @@ -16287,7 +16667,7 @@ "cimguiname": "igTableHeader", "defaults": {}, "funcname": "TableHeader", - "location": "imgui:755", + "location": "imgui:756", "namespace": "ImGui", "ov_cimguiname": "igTableHeader", "ret": "void", @@ -16304,7 +16684,7 @@ "cimguiname": "igTableHeadersRow", "defaults": {}, "funcname": "TableHeadersRow", - "location": "imgui:754", + "location": "imgui:755", "namespace": "ImGui", "ov_cimguiname": "igTableHeadersRow", "ret": "void", @@ -16321,7 +16701,7 @@ "cimguiname": "igTableNextColumn", "defaults": {}, "funcname": "TableNextColumn", - "location": "imgui:741", + "location": "imgui:742", "namespace": "ImGui", "ov_cimguiname": "igTableNextColumn", "ret": "bool", @@ -16350,7 +16730,7 @@ "row_flags": "0" }, "funcname": "TableNextRow", - "location": "imgui:740", + "location": "imgui:741", "namespace": "ImGui", "ov_cimguiname": "igTableNextRow", "ret": "void", @@ -16382,7 +16762,7 @@ "column_n": "-1" }, "funcname": "TableSetBgColor", - "location": "imgui:773", + "location": "imgui:771", "namespace": "ImGui", "ov_cimguiname": "igTableSetBgColor", "ret": "void", @@ -16408,7 +16788,7 @@ "cimguiname": "igTableSetColumnEnabled", "defaults": {}, "funcname": "TableSetColumnEnabled", - "location": "imgui:772", + "location": "imgui:770", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnEnabled", "ret": "void", @@ -16430,7 +16810,7 @@ "cimguiname": "igTableSetColumnIndex", "defaults": {}, "funcname": "TableSetColumnIndex", - "location": "imgui:742", + "location": "imgui:743", "namespace": "ImGui", "ov_cimguiname": "igTableSetColumnIndex", "ret": "bool", @@ -16468,7 +16848,7 @@ "user_id": "0" }, "funcname": "TableSetupColumn", - "location": "imgui:752", + "location": "imgui:753", "namespace": "ImGui", "ov_cimguiname": "igTableSetupColumn", "ret": "void", @@ -16494,7 +16874,7 @@ "cimguiname": "igTableSetupScrollFreeze", "defaults": {}, "funcname": "TableSetupScrollFreeze", - "location": "imgui:753", + "location": "imgui:754", "namespace": "ImGui", "ov_cimguiname": "igTableSetupScrollFreeze", "ret": "void", @@ -16521,7 +16901,7 @@ "defaults": {}, "funcname": "Text", "isvararg": "...)", - "location": "imgui:486", + "location": "imgui:484", "namespace": "ImGui", "ov_cimguiname": "igText", "ret": "void", @@ -16552,7 +16932,7 @@ "defaults": {}, "funcname": "TextColored", "isvararg": "...)", - "location": "imgui:488", + "location": "imgui:486", "namespace": "ImGui", "ov_cimguiname": "igTextColored", "ret": "void", @@ -16582,7 +16962,7 @@ "cimguiname": "igTextColoredV", "defaults": {}, "funcname": "TextColoredV", - "location": "imgui:489", + "location": "imgui:487", "namespace": "ImGui", "ov_cimguiname": "igTextColoredV", "ret": "void", @@ -16609,7 +16989,7 @@ "defaults": {}, "funcname": "TextDisabled", "isvararg": "...)", - "location": "imgui:490", + "location": "imgui:488", "namespace": "ImGui", "ov_cimguiname": "igTextDisabled", "ret": "void", @@ -16635,7 +17015,7 @@ "cimguiname": "igTextDisabledV", "defaults": {}, "funcname": "TextDisabledV", - "location": "imgui:491", + "location": "imgui:489", "namespace": "ImGui", "ov_cimguiname": "igTextDisabledV", "ret": "void", @@ -16663,7 +17043,7 @@ "text_end": "NULL" }, "funcname": "TextUnformatted", - "location": "imgui:485", + "location": "imgui:483", "namespace": "ImGui", "ov_cimguiname": "igTextUnformatted", "ret": "void", @@ -16689,7 +17069,7 @@ "cimguiname": "igTextV", "defaults": {}, "funcname": "TextV", - "location": "imgui:487", + "location": "imgui:485", "namespace": "ImGui", "ov_cimguiname": "igTextV", "ret": "void", @@ -16716,7 +17096,7 @@ "defaults": {}, "funcname": "TextWrapped", "isvararg": "...)", - "location": "imgui:492", + "location": "imgui:490", "namespace": "ImGui", "ov_cimguiname": "igTextWrapped", "ret": "void", @@ -16742,7 +17122,7 @@ "cimguiname": "igTextWrappedV", "defaults": {}, "funcname": "TextWrappedV", - "location": "imgui:493", + "location": "imgui:491", "namespace": "ImGui", "ov_cimguiname": "igTextWrappedV", "ret": "void", @@ -16764,9 +17144,9 @@ "cimguiname": "igTreeNode", "defaults": {}, "funcname": "TreeNode", - "location": "imgui:600", + "location": "imgui:602", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeStr", + "ov_cimguiname": "igTreeNode_Str", "ret": "bool", "signature": "(const char*)", "stname": "" @@ -16793,9 +17173,9 @@ "defaults": {}, "funcname": "TreeNode", "isvararg": "...)", - "location": "imgui:601", + "location": "imgui:603", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeStrStr", + "ov_cimguiname": "igTreeNode_StrStr", "ret": "bool", "signature": "(const char*,const char*,...)", "stname": "" @@ -16822,9 +17202,9 @@ "defaults": {}, "funcname": "TreeNode", "isvararg": "...)", - "location": "imgui:602", + "location": "imgui:604", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodePtr", + "ov_cimguiname": "igTreeNode_Ptr", "ret": "bool", "signature": "(const void*,const char*,...)", "stname": "" @@ -16850,9 +17230,9 @@ "flags": "0" }, "funcname": "TreeNodeEx", - "location": "imgui:605", + "location": "imgui:607", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExStr", + "ov_cimguiname": "igTreeNodeEx_Str", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags)", "stname": "" @@ -16883,9 +17263,9 @@ "defaults": {}, "funcname": "TreeNodeEx", "isvararg": "...)", - "location": "imgui:606", + "location": "imgui:608", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExStrStr", + "ov_cimguiname": "igTreeNodeEx_StrStr", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags,const char*,...)", "stname": "" @@ -16916,9 +17296,9 @@ "defaults": {}, "funcname": "TreeNodeEx", "isvararg": "...)", - "location": "imgui:607", + "location": "imgui:609", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExPtr", + "ov_cimguiname": "igTreeNodeEx_Ptr", "ret": "bool", "signature": "(const void*,ImGuiTreeNodeFlags,const char*,...)", "stname": "" @@ -16950,9 +17330,9 @@ "cimguiname": "igTreeNodeExV", "defaults": {}, "funcname": "TreeNodeExV", - "location": "imgui:608", + "location": "imgui:610", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExVStr", + "ov_cimguiname": "igTreeNodeExV_Str", "ret": "bool", "signature": "(const char*,ImGuiTreeNodeFlags,const char*,va_list)", "stname": "" @@ -16982,9 +17362,9 @@ "cimguiname": "igTreeNodeExV", "defaults": {}, "funcname": "TreeNodeExV", - "location": "imgui:609", + "location": "imgui:611", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeExVPtr", + "ov_cimguiname": "igTreeNodeExV_Ptr", "ret": "bool", "signature": "(const void*,ImGuiTreeNodeFlags,const char*,va_list)", "stname": "" @@ -17012,9 +17392,9 @@ "cimguiname": "igTreeNodeV", "defaults": {}, "funcname": "TreeNodeV", - "location": "imgui:603", + "location": "imgui:605", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeVStr", + "ov_cimguiname": "igTreeNodeV_Str", "ret": "bool", "signature": "(const char*,const char*,va_list)", "stname": "" @@ -17040,9 +17420,9 @@ "cimguiname": "igTreeNodeV", "defaults": {}, "funcname": "TreeNodeV", - "location": "imgui:604", + "location": "imgui:606", "namespace": "ImGui", - "ov_cimguiname": "igTreeNodeVPtr", + "ov_cimguiname": "igTreeNodeV_Ptr", "ret": "bool", "signature": "(const void*,const char*,va_list)", "stname": "" @@ -17057,7 +17437,7 @@ "cimguiname": "igTreePop", "defaults": {}, "funcname": "TreePop", - "location": "imgui:612", + "location": "imgui:614", "namespace": "ImGui", "ov_cimguiname": "igTreePop", "ret": "void", @@ -17079,9 +17459,9 @@ "cimguiname": "igTreePush", "defaults": {}, "funcname": "TreePush", - "location": "imgui:610", + "location": "imgui:612", "namespace": "ImGui", - "ov_cimguiname": "igTreePushStr", + "ov_cimguiname": "igTreePush_Str", "ret": "void", "signature": "(const char*)", "stname": "" @@ -17094,16 +17474,14 @@ "type": "const void*" } ], - "argsoriginal": "(const void* ptr_id=((void*)0))", + "argsoriginal": "(const void* ptr_id)", "call_args": "(ptr_id)", "cimguiname": "igTreePush", - "defaults": { - "ptr_id": "NULL" - }, + "defaults": {}, "funcname": "TreePush", - "location": "imgui:611", + "location": "imgui:613", "namespace": "ImGui", - "ov_cimguiname": "igTreePushPtr", + "ov_cimguiname": "igTreePush_Ptr", "ret": "void", "signature": "(const void*)", "stname": "" @@ -17125,7 +17503,7 @@ "indent_w": "0.0f" }, "funcname": "Unindent", - "location": "imgui:446", + "location": "imgui:444", "namespace": "ImGui", "ov_cimguiname": "igUnindent", "ret": "void", @@ -17174,7 +17552,7 @@ "format": "\"%.3f\"" }, "funcname": "VSliderFloat", - "location": "imgui:566", + "location": "imgui:568", "namespace": "ImGui", "ov_cimguiname": "igVSliderFloat", "ret": "bool", @@ -17223,7 +17601,7 @@ "format": "\"%d\"" }, "funcname": "VSliderInt", - "location": "imgui:567", + "location": "imgui:569", "namespace": "ImGui", "ov_cimguiname": "igVSliderInt", "ret": "bool", @@ -17276,7 +17654,7 @@ "format": "NULL" }, "funcname": "VSliderScalar", - "location": "imgui:568", + "location": "imgui:570", "namespace": "ImGui", "ov_cimguiname": "igVSliderScalar", "ret": "bool", @@ -17302,9 +17680,9 @@ "cimguiname": "igValue", "defaults": {}, "funcname": "Value", - "location": "imgui:644", + "location": "imgui:646", "namespace": "ImGui", - "ov_cimguiname": "igValueBool", + "ov_cimguiname": "igValue_Bool", "ret": "void", "signature": "(const char*,bool)", "stname": "" @@ -17326,9 +17704,9 @@ "cimguiname": "igValue", "defaults": {}, "funcname": "Value", - "location": "imgui:645", + "location": "imgui:647", "namespace": "ImGui", - "ov_cimguiname": "igValueInt", + "ov_cimguiname": "igValue_Int", "ret": "void", "signature": "(const char*,int)", "stname": "" @@ -17350,9 +17728,9 @@ "cimguiname": "igValue", "defaults": {}, "funcname": "Value", - "location": "imgui:646", + "location": "imgui:648", "namespace": "ImGui", - "ov_cimguiname": "igValueUint", + "ov_cimguiname": "igValue_Uint", "ret": "void", "signature": "(const char*,unsigned int)", "stname": "" @@ -17380,9 +17758,9 @@ "float_format": "NULL" }, "funcname": "Value", - "location": "imgui:647", + "location": "imgui:649", "namespace": "ImGui", - "ov_cimguiname": "igValueFloat", + "ov_cimguiname": "igValue_Float", "ret": "void", "signature": "(const char*,float,const char*)", "stname": "" diff --git a/imgui-sys/third-party/imgui-master/definitions.lua b/imgui-sys/third-party/imgui-master/definitions.lua index 156c9b2..3e43622 100644 --- a/imgui-sys/third-party/imgui-master/definitions.lua +++ b/imgui-sys/third-party/imgui-master/definitions.lua @@ -25,7 +25,7 @@ defs["ImColor_HSV"][1]["defaults"] = {} defs["ImColor_HSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_HSV"][1]["funcname"] = "HSV" defs["ImColor_HSV"][1]["is_static_function"] = true -defs["ImColor_HSV"][1]["location"] = "imgui:2255" +defs["ImColor_HSV"][1]["location"] = "imgui:2360" defs["ImColor_HSV"][1]["nonUDT"] = 1 defs["ImColor_HSV"][1]["ov_cimguiname"] = "ImColor_HSV" defs["ImColor_HSV"][1]["ret"] = "void" @@ -42,99 +42,99 @@ defs["ImColor_ImColor"][1]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][1]["constructor"] = true defs["ImColor_ImColor"][1]["defaults"] = {} defs["ImColor_ImColor"][1]["funcname"] = "ImColor" -defs["ImColor_ImColor"][1]["location"] = "imgui:2245" -defs["ImColor_ImColor"][1]["ov_cimguiname"] = "ImColor_ImColorNil" +defs["ImColor_ImColor"][1]["location"] = "imgui:2350" +defs["ImColor_ImColor"][1]["ov_cimguiname"] = "ImColor_ImColor_Nil" defs["ImColor_ImColor"][1]["signature"] = "()" defs["ImColor_ImColor"][1]["stname"] = "ImColor" defs["ImColor_ImColor"][2] = {} -defs["ImColor_ImColor"][2]["args"] = "(int r,int g,int b,int a)" +defs["ImColor_ImColor"][2]["args"] = "(float r,float g,float b,float a)" defs["ImColor_ImColor"][2]["argsT"] = {} defs["ImColor_ImColor"][2]["argsT"][1] = {} defs["ImColor_ImColor"][2]["argsT"][1]["name"] = "r" -defs["ImColor_ImColor"][2]["argsT"][1]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][1]["type"] = "float" defs["ImColor_ImColor"][2]["argsT"][2] = {} defs["ImColor_ImColor"][2]["argsT"][2]["name"] = "g" -defs["ImColor_ImColor"][2]["argsT"][2]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][2]["type"] = "float" defs["ImColor_ImColor"][2]["argsT"][3] = {} defs["ImColor_ImColor"][2]["argsT"][3]["name"] = "b" -defs["ImColor_ImColor"][2]["argsT"][3]["type"] = "int" +defs["ImColor_ImColor"][2]["argsT"][3]["type"] = "float" defs["ImColor_ImColor"][2]["argsT"][4] = {} defs["ImColor_ImColor"][2]["argsT"][4]["name"] = "a" -defs["ImColor_ImColor"][2]["argsT"][4]["type"] = "int" -defs["ImColor_ImColor"][2]["argsoriginal"] = "(int r,int g,int b,int a=255)" +defs["ImColor_ImColor"][2]["argsT"][4]["type"] = "float" +defs["ImColor_ImColor"][2]["argsoriginal"] = "(float r,float g,float b,float a=1.0f)" defs["ImColor_ImColor"][2]["call_args"] = "(r,g,b,a)" defs["ImColor_ImColor"][2]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][2]["constructor"] = true defs["ImColor_ImColor"][2]["defaults"] = {} -defs["ImColor_ImColor"][2]["defaults"]["a"] = "255" +defs["ImColor_ImColor"][2]["defaults"]["a"] = "1.0f" defs["ImColor_ImColor"][2]["funcname"] = "ImColor" -defs["ImColor_ImColor"][2]["location"] = "imgui:2246" -defs["ImColor_ImColor"][2]["ov_cimguiname"] = "ImColor_ImColorInt" -defs["ImColor_ImColor"][2]["signature"] = "(int,int,int,int)" +defs["ImColor_ImColor"][2]["location"] = "imgui:2351" +defs["ImColor_ImColor"][2]["ov_cimguiname"] = "ImColor_ImColor_Float" +defs["ImColor_ImColor"][2]["signature"] = "(float,float,float,float)" defs["ImColor_ImColor"][2]["stname"] = "ImColor" defs["ImColor_ImColor"][3] = {} -defs["ImColor_ImColor"][3]["args"] = "(ImU32 rgba)" +defs["ImColor_ImColor"][3]["args"] = "(const ImVec4 col)" defs["ImColor_ImColor"][3]["argsT"] = {} defs["ImColor_ImColor"][3]["argsT"][1] = {} -defs["ImColor_ImColor"][3]["argsT"][1]["name"] = "rgba" -defs["ImColor_ImColor"][3]["argsT"][1]["type"] = "ImU32" -defs["ImColor_ImColor"][3]["argsoriginal"] = "(ImU32 rgba)" -defs["ImColor_ImColor"][3]["call_args"] = "(rgba)" +defs["ImColor_ImColor"][3]["argsT"][1]["name"] = "col" +defs["ImColor_ImColor"][3]["argsT"][1]["type"] = "const ImVec4" +defs["ImColor_ImColor"][3]["argsoriginal"] = "(const ImVec4& col)" +defs["ImColor_ImColor"][3]["call_args"] = "(col)" defs["ImColor_ImColor"][3]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][3]["constructor"] = true defs["ImColor_ImColor"][3]["defaults"] = {} defs["ImColor_ImColor"][3]["funcname"] = "ImColor" -defs["ImColor_ImColor"][3]["location"] = "imgui:2247" -defs["ImColor_ImColor"][3]["ov_cimguiname"] = "ImColor_ImColorU32" -defs["ImColor_ImColor"][3]["signature"] = "(ImU32)" +defs["ImColor_ImColor"][3]["location"] = "imgui:2352" +defs["ImColor_ImColor"][3]["ov_cimguiname"] = "ImColor_ImColor_Vec4" +defs["ImColor_ImColor"][3]["signature"] = "(const ImVec4)" defs["ImColor_ImColor"][3]["stname"] = "ImColor" defs["ImColor_ImColor"][4] = {} -defs["ImColor_ImColor"][4]["args"] = "(float r,float g,float b,float a)" +defs["ImColor_ImColor"][4]["args"] = "(int r,int g,int b,int a)" defs["ImColor_ImColor"][4]["argsT"] = {} defs["ImColor_ImColor"][4]["argsT"][1] = {} defs["ImColor_ImColor"][4]["argsT"][1]["name"] = "r" -defs["ImColor_ImColor"][4]["argsT"][1]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][1]["type"] = "int" defs["ImColor_ImColor"][4]["argsT"][2] = {} defs["ImColor_ImColor"][4]["argsT"][2]["name"] = "g" -defs["ImColor_ImColor"][4]["argsT"][2]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][2]["type"] = "int" defs["ImColor_ImColor"][4]["argsT"][3] = {} defs["ImColor_ImColor"][4]["argsT"][3]["name"] = "b" -defs["ImColor_ImColor"][4]["argsT"][3]["type"] = "float" +defs["ImColor_ImColor"][4]["argsT"][3]["type"] = "int" defs["ImColor_ImColor"][4]["argsT"][4] = {} defs["ImColor_ImColor"][4]["argsT"][4]["name"] = "a" -defs["ImColor_ImColor"][4]["argsT"][4]["type"] = "float" -defs["ImColor_ImColor"][4]["argsoriginal"] = "(float r,float g,float b,float a=1.0f)" +defs["ImColor_ImColor"][4]["argsT"][4]["type"] = "int" +defs["ImColor_ImColor"][4]["argsoriginal"] = "(int r,int g,int b,int a=255)" defs["ImColor_ImColor"][4]["call_args"] = "(r,g,b,a)" defs["ImColor_ImColor"][4]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][4]["constructor"] = true defs["ImColor_ImColor"][4]["defaults"] = {} -defs["ImColor_ImColor"][4]["defaults"]["a"] = "1.0f" +defs["ImColor_ImColor"][4]["defaults"]["a"] = "255" defs["ImColor_ImColor"][4]["funcname"] = "ImColor" -defs["ImColor_ImColor"][4]["location"] = "imgui:2248" -defs["ImColor_ImColor"][4]["ov_cimguiname"] = "ImColor_ImColorFloat" -defs["ImColor_ImColor"][4]["signature"] = "(float,float,float,float)" +defs["ImColor_ImColor"][4]["location"] = "imgui:2353" +defs["ImColor_ImColor"][4]["ov_cimguiname"] = "ImColor_ImColor_Int" +defs["ImColor_ImColor"][4]["signature"] = "(int,int,int,int)" defs["ImColor_ImColor"][4]["stname"] = "ImColor" defs["ImColor_ImColor"][5] = {} -defs["ImColor_ImColor"][5]["args"] = "(const ImVec4 col)" +defs["ImColor_ImColor"][5]["args"] = "(ImU32 rgba)" defs["ImColor_ImColor"][5]["argsT"] = {} defs["ImColor_ImColor"][5]["argsT"][1] = {} -defs["ImColor_ImColor"][5]["argsT"][1]["name"] = "col" -defs["ImColor_ImColor"][5]["argsT"][1]["type"] = "const ImVec4" -defs["ImColor_ImColor"][5]["argsoriginal"] = "(const ImVec4& col)" -defs["ImColor_ImColor"][5]["call_args"] = "(col)" +defs["ImColor_ImColor"][5]["argsT"][1]["name"] = "rgba" +defs["ImColor_ImColor"][5]["argsT"][1]["type"] = "ImU32" +defs["ImColor_ImColor"][5]["argsoriginal"] = "(ImU32 rgba)" +defs["ImColor_ImColor"][5]["call_args"] = "(rgba)" defs["ImColor_ImColor"][5]["cimguiname"] = "ImColor_ImColor" defs["ImColor_ImColor"][5]["constructor"] = true defs["ImColor_ImColor"][5]["defaults"] = {} defs["ImColor_ImColor"][5]["funcname"] = "ImColor" -defs["ImColor_ImColor"][5]["location"] = "imgui:2249" -defs["ImColor_ImColor"][5]["ov_cimguiname"] = "ImColor_ImColorVec4" -defs["ImColor_ImColor"][5]["signature"] = "(const ImVec4)" +defs["ImColor_ImColor"][5]["location"] = "imgui:2354" +defs["ImColor_ImColor"][5]["ov_cimguiname"] = "ImColor_ImColor_U32" +defs["ImColor_ImColor"][5]["signature"] = "(ImU32)" defs["ImColor_ImColor"][5]["stname"] = "ImColor" defs["ImColor_ImColor"]["()"] = defs["ImColor_ImColor"][1] -defs["ImColor_ImColor"]["(ImU32)"] = defs["ImColor_ImColor"][3] -defs["ImColor_ImColor"]["(const ImVec4)"] = defs["ImColor_ImColor"][5] -defs["ImColor_ImColor"]["(float,float,float,float)"] = defs["ImColor_ImColor"][4] -defs["ImColor_ImColor"]["(int,int,int,int)"] = defs["ImColor_ImColor"][2] +defs["ImColor_ImColor"]["(ImU32)"] = defs["ImColor_ImColor"][5] +defs["ImColor_ImColor"]["(const ImVec4)"] = defs["ImColor_ImColor"][3] +defs["ImColor_ImColor"]["(float,float,float,float)"] = defs["ImColor_ImColor"][2] +defs["ImColor_ImColor"]["(int,int,int,int)"] = defs["ImColor_ImColor"][4] defs["ImColor_SetHSV"] = {} defs["ImColor_SetHSV"][1] = {} defs["ImColor_SetHSV"][1]["args"] = "(ImColor* self,float h,float s,float v,float a)" @@ -160,7 +160,7 @@ defs["ImColor_SetHSV"][1]["cimguiname"] = "ImColor_SetHSV" defs["ImColor_SetHSV"][1]["defaults"] = {} defs["ImColor_SetHSV"][1]["defaults"]["a"] = "1.0f" defs["ImColor_SetHSV"][1]["funcname"] = "SetHSV" -defs["ImColor_SetHSV"][1]["location"] = "imgui:2254" +defs["ImColor_SetHSV"][1]["location"] = "imgui:2359" defs["ImColor_SetHSV"][1]["ov_cimguiname"] = "ImColor_SetHSV" defs["ImColor_SetHSV"][1]["ret"] = "void" defs["ImColor_SetHSV"][1]["signature"] = "(float,float,float,float)" @@ -194,7 +194,7 @@ defs["ImDrawCmd_GetTexID"][1]["call_args"] = "()" defs["ImDrawCmd_GetTexID"][1]["cimguiname"] = "ImDrawCmd_GetTexID" defs["ImDrawCmd_GetTexID"][1]["defaults"] = {} defs["ImDrawCmd_GetTexID"][1]["funcname"] = "GetTexID" -defs["ImDrawCmd_GetTexID"][1]["location"] = "imgui:2303" +defs["ImDrawCmd_GetTexID"][1]["location"] = "imgui:2408" defs["ImDrawCmd_GetTexID"][1]["ov_cimguiname"] = "ImDrawCmd_GetTexID" defs["ImDrawCmd_GetTexID"][1]["ret"] = "ImTextureID" defs["ImDrawCmd_GetTexID"][1]["signature"] = "()const" @@ -210,7 +210,7 @@ defs["ImDrawCmd_ImDrawCmd"][1]["cimguiname"] = "ImDrawCmd_ImDrawCmd" defs["ImDrawCmd_ImDrawCmd"][1]["constructor"] = true defs["ImDrawCmd_ImDrawCmd"][1]["defaults"] = {} defs["ImDrawCmd_ImDrawCmd"][1]["funcname"] = "ImDrawCmd" -defs["ImDrawCmd_ImDrawCmd"][1]["location"] = "imgui:2300" +defs["ImDrawCmd_ImDrawCmd"][1]["location"] = "imgui:2405" defs["ImDrawCmd_ImDrawCmd"][1]["ov_cimguiname"] = "ImDrawCmd_ImDrawCmd" defs["ImDrawCmd_ImDrawCmd"][1]["signature"] = "()" defs["ImDrawCmd_ImDrawCmd"][1]["stname"] = "ImDrawCmd" @@ -243,7 +243,7 @@ defs["ImDrawData_Clear"][1]["call_args"] = "()" defs["ImDrawData_Clear"][1]["cimguiname"] = "ImDrawData_Clear" defs["ImDrawData_Clear"][1]["defaults"] = {} defs["ImDrawData_Clear"][1]["funcname"] = "Clear" -defs["ImDrawData_Clear"][1]["location"] = "imgui:2534" +defs["ImDrawData_Clear"][1]["location"] = "imgui:2641" defs["ImDrawData_Clear"][1]["ov_cimguiname"] = "ImDrawData_Clear" defs["ImDrawData_Clear"][1]["ret"] = "void" defs["ImDrawData_Clear"][1]["signature"] = "()" @@ -261,7 +261,7 @@ defs["ImDrawData_DeIndexAllBuffers"][1]["call_args"] = "()" defs["ImDrawData_DeIndexAllBuffers"][1]["cimguiname"] = "ImDrawData_DeIndexAllBuffers" defs["ImDrawData_DeIndexAllBuffers"][1]["defaults"] = {} defs["ImDrawData_DeIndexAllBuffers"][1]["funcname"] = "DeIndexAllBuffers" -defs["ImDrawData_DeIndexAllBuffers"][1]["location"] = "imgui:2535" +defs["ImDrawData_DeIndexAllBuffers"][1]["location"] = "imgui:2642" defs["ImDrawData_DeIndexAllBuffers"][1]["ov_cimguiname"] = "ImDrawData_DeIndexAllBuffers" defs["ImDrawData_DeIndexAllBuffers"][1]["ret"] = "void" defs["ImDrawData_DeIndexAllBuffers"][1]["signature"] = "()" @@ -277,7 +277,7 @@ defs["ImDrawData_ImDrawData"][1]["cimguiname"] = "ImDrawData_ImDrawData" defs["ImDrawData_ImDrawData"][1]["constructor"] = true defs["ImDrawData_ImDrawData"][1]["defaults"] = {} defs["ImDrawData_ImDrawData"][1]["funcname"] = "ImDrawData" -defs["ImDrawData_ImDrawData"][1]["location"] = "imgui:2533" +defs["ImDrawData_ImDrawData"][1]["location"] = "imgui:2640" defs["ImDrawData_ImDrawData"][1]["ov_cimguiname"] = "ImDrawData_ImDrawData" defs["ImDrawData_ImDrawData"][1]["signature"] = "()" defs["ImDrawData_ImDrawData"][1]["stname"] = "ImDrawData" @@ -297,7 +297,7 @@ defs["ImDrawData_ScaleClipRects"][1]["call_args"] = "(fb_scale)" defs["ImDrawData_ScaleClipRects"][1]["cimguiname"] = "ImDrawData_ScaleClipRects" defs["ImDrawData_ScaleClipRects"][1]["defaults"] = {} defs["ImDrawData_ScaleClipRects"][1]["funcname"] = "ScaleClipRects" -defs["ImDrawData_ScaleClipRects"][1]["location"] = "imgui:2536" +defs["ImDrawData_ScaleClipRects"][1]["location"] = "imgui:2643" defs["ImDrawData_ScaleClipRects"][1]["ov_cimguiname"] = "ImDrawData_ScaleClipRects" defs["ImDrawData_ScaleClipRects"][1]["ret"] = "void" defs["ImDrawData_ScaleClipRects"][1]["signature"] = "(const ImVec2)" @@ -331,7 +331,7 @@ defs["ImDrawListSplitter_Clear"][1]["call_args"] = "()" defs["ImDrawListSplitter_Clear"][1]["cimguiname"] = "ImDrawListSplitter_Clear" defs["ImDrawListSplitter_Clear"][1]["defaults"] = {} defs["ImDrawListSplitter_Clear"][1]["funcname"] = "Clear" -defs["ImDrawListSplitter_Clear"][1]["location"] = "imgui:2348" +defs["ImDrawListSplitter_Clear"][1]["location"] = "imgui:2453" defs["ImDrawListSplitter_Clear"][1]["ov_cimguiname"] = "ImDrawListSplitter_Clear" defs["ImDrawListSplitter_Clear"][1]["ret"] = "void" defs["ImDrawListSplitter_Clear"][1]["signature"] = "()" @@ -349,7 +349,7 @@ defs["ImDrawListSplitter_ClearFreeMemory"][1]["call_args"] = "()" defs["ImDrawListSplitter_ClearFreeMemory"][1]["cimguiname"] = "ImDrawListSplitter_ClearFreeMemory" defs["ImDrawListSplitter_ClearFreeMemory"][1]["defaults"] = {} defs["ImDrawListSplitter_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" -defs["ImDrawListSplitter_ClearFreeMemory"][1]["location"] = "imgui:2349" +defs["ImDrawListSplitter_ClearFreeMemory"][1]["location"] = "imgui:2454" defs["ImDrawListSplitter_ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawListSplitter_ClearFreeMemory" defs["ImDrawListSplitter_ClearFreeMemory"][1]["ret"] = "void" defs["ImDrawListSplitter_ClearFreeMemory"][1]["signature"] = "()" @@ -365,7 +365,7 @@ defs["ImDrawListSplitter_ImDrawListSplitter"][1]["cimguiname"] = "ImDrawListSpli defs["ImDrawListSplitter_ImDrawListSplitter"][1]["constructor"] = true defs["ImDrawListSplitter_ImDrawListSplitter"][1]["defaults"] = {} defs["ImDrawListSplitter_ImDrawListSplitter"][1]["funcname"] = "ImDrawListSplitter" -defs["ImDrawListSplitter_ImDrawListSplitter"][1]["location"] = "imgui:2346" +defs["ImDrawListSplitter_ImDrawListSplitter"][1]["location"] = "imgui:2451" defs["ImDrawListSplitter_ImDrawListSplitter"][1]["ov_cimguiname"] = "ImDrawListSplitter_ImDrawListSplitter" defs["ImDrawListSplitter_ImDrawListSplitter"][1]["signature"] = "()" defs["ImDrawListSplitter_ImDrawListSplitter"][1]["stname"] = "ImDrawListSplitter" @@ -385,7 +385,7 @@ defs["ImDrawListSplitter_Merge"][1]["call_args"] = "(draw_list)" defs["ImDrawListSplitter_Merge"][1]["cimguiname"] = "ImDrawListSplitter_Merge" defs["ImDrawListSplitter_Merge"][1]["defaults"] = {} defs["ImDrawListSplitter_Merge"][1]["funcname"] = "Merge" -defs["ImDrawListSplitter_Merge"][1]["location"] = "imgui:2351" +defs["ImDrawListSplitter_Merge"][1]["location"] = "imgui:2456" defs["ImDrawListSplitter_Merge"][1]["ov_cimguiname"] = "ImDrawListSplitter_Merge" defs["ImDrawListSplitter_Merge"][1]["ret"] = "void" defs["ImDrawListSplitter_Merge"][1]["signature"] = "(ImDrawList*)" @@ -409,7 +409,7 @@ defs["ImDrawListSplitter_SetCurrentChannel"][1]["call_args"] = "(draw_list,chann defs["ImDrawListSplitter_SetCurrentChannel"][1]["cimguiname"] = "ImDrawListSplitter_SetCurrentChannel" defs["ImDrawListSplitter_SetCurrentChannel"][1]["defaults"] = {} defs["ImDrawListSplitter_SetCurrentChannel"][1]["funcname"] = "SetCurrentChannel" -defs["ImDrawListSplitter_SetCurrentChannel"][1]["location"] = "imgui:2352" +defs["ImDrawListSplitter_SetCurrentChannel"][1]["location"] = "imgui:2457" defs["ImDrawListSplitter_SetCurrentChannel"][1]["ov_cimguiname"] = "ImDrawListSplitter_SetCurrentChannel" defs["ImDrawListSplitter_SetCurrentChannel"][1]["ret"] = "void" defs["ImDrawListSplitter_SetCurrentChannel"][1]["signature"] = "(ImDrawList*,int)" @@ -433,7 +433,7 @@ defs["ImDrawListSplitter_Split"][1]["call_args"] = "(draw_list,count)" defs["ImDrawListSplitter_Split"][1]["cimguiname"] = "ImDrawListSplitter_Split" defs["ImDrawListSplitter_Split"][1]["defaults"] = {} defs["ImDrawListSplitter_Split"][1]["funcname"] = "Split" -defs["ImDrawListSplitter_Split"][1]["location"] = "imgui:2350" +defs["ImDrawListSplitter_Split"][1]["location"] = "imgui:2455" defs["ImDrawListSplitter_Split"][1]["ov_cimguiname"] = "ImDrawListSplitter_Split" defs["ImDrawListSplitter_Split"][1]["ret"] = "void" defs["ImDrawListSplitter_Split"][1]["signature"] = "(ImDrawList*,int)" @@ -450,7 +450,7 @@ defs["ImDrawListSplitter_destroy"][1]["call_args"] = "(self)" defs["ImDrawListSplitter_destroy"][1]["cimguiname"] = "ImDrawListSplitter_destroy" defs["ImDrawListSplitter_destroy"][1]["defaults"] = {} defs["ImDrawListSplitter_destroy"][1]["destructor"] = true -defs["ImDrawListSplitter_destroy"][1]["location"] = "imgui:2347" +defs["ImDrawListSplitter_destroy"][1]["location"] = "imgui:2452" defs["ImDrawListSplitter_destroy"][1]["ov_cimguiname"] = "ImDrawListSplitter_destroy" defs["ImDrawListSplitter_destroy"][1]["realdestructor"] = true defs["ImDrawListSplitter_destroy"][1]["ret"] = "void" @@ -491,7 +491,7 @@ defs["ImDrawList_AddBezierCubic"][1]["cimguiname"] = "ImDrawList_AddBezierCubic" defs["ImDrawList_AddBezierCubic"][1]["defaults"] = {} defs["ImDrawList_AddBezierCubic"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddBezierCubic"][1]["funcname"] = "AddBezierCubic" -defs["ImDrawList_AddBezierCubic"][1]["location"] = "imgui:2450" +defs["ImDrawList_AddBezierCubic"][1]["location"] = "imgui:2556" defs["ImDrawList_AddBezierCubic"][1]["ov_cimguiname"] = "ImDrawList_AddBezierCubic" defs["ImDrawList_AddBezierCubic"][1]["ret"] = "void" defs["ImDrawList_AddBezierCubic"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" @@ -528,7 +528,7 @@ defs["ImDrawList_AddBezierQuadratic"][1]["cimguiname"] = "ImDrawList_AddBezierQu defs["ImDrawList_AddBezierQuadratic"][1]["defaults"] = {} defs["ImDrawList_AddBezierQuadratic"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddBezierQuadratic"][1]["funcname"] = "AddBezierQuadratic" -defs["ImDrawList_AddBezierQuadratic"][1]["location"] = "imgui:2451" +defs["ImDrawList_AddBezierQuadratic"][1]["location"] = "imgui:2557" defs["ImDrawList_AddBezierQuadratic"][1]["ov_cimguiname"] = "ImDrawList_AddBezierQuadratic" defs["ImDrawList_AddBezierQuadratic"][1]["ret"] = "void" defs["ImDrawList_AddBezierQuadratic"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32,float,int)" @@ -552,7 +552,7 @@ defs["ImDrawList_AddCallback"][1]["call_args"] = "(callback,callback_data)" defs["ImDrawList_AddCallback"][1]["cimguiname"] = "ImDrawList_AddCallback" defs["ImDrawList_AddCallback"][1]["defaults"] = {} defs["ImDrawList_AddCallback"][1]["funcname"] = "AddCallback" -defs["ImDrawList_AddCallback"][1]["location"] = "imgui:2474" +defs["ImDrawList_AddCallback"][1]["location"] = "imgui:2581" defs["ImDrawList_AddCallback"][1]["ov_cimguiname"] = "ImDrawList_AddCallback" defs["ImDrawList_AddCallback"][1]["ret"] = "void" defs["ImDrawList_AddCallback"][1]["signature"] = "(ImDrawCallback,void*)" @@ -587,7 +587,7 @@ defs["ImDrawList_AddCircle"][1]["defaults"] = {} defs["ImDrawList_AddCircle"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddCircle"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddCircle"][1]["funcname"] = "AddCircle" -defs["ImDrawList_AddCircle"][1]["location"] = "imgui:2442" +defs["ImDrawList_AddCircle"][1]["location"] = "imgui:2548" defs["ImDrawList_AddCircle"][1]["ov_cimguiname"] = "ImDrawList_AddCircle" defs["ImDrawList_AddCircle"][1]["ret"] = "void" defs["ImDrawList_AddCircle"][1]["signature"] = "(const ImVec2,float,ImU32,int,float)" @@ -618,7 +618,7 @@ defs["ImDrawList_AddCircleFilled"][1]["cimguiname"] = "ImDrawList_AddCircleFille defs["ImDrawList_AddCircleFilled"][1]["defaults"] = {} defs["ImDrawList_AddCircleFilled"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_AddCircleFilled"][1]["funcname"] = "AddCircleFilled" -defs["ImDrawList_AddCircleFilled"][1]["location"] = "imgui:2443" +defs["ImDrawList_AddCircleFilled"][1]["location"] = "imgui:2549" defs["ImDrawList_AddCircleFilled"][1]["ov_cimguiname"] = "ImDrawList_AddCircleFilled" defs["ImDrawList_AddCircleFilled"][1]["ret"] = "void" defs["ImDrawList_AddCircleFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" @@ -645,7 +645,7 @@ defs["ImDrawList_AddConvexPolyFilled"][1]["call_args"] = "(points,num_points,col defs["ImDrawList_AddConvexPolyFilled"][1]["cimguiname"] = "ImDrawList_AddConvexPolyFilled" defs["ImDrawList_AddConvexPolyFilled"][1]["defaults"] = {} defs["ImDrawList_AddConvexPolyFilled"][1]["funcname"] = "AddConvexPolyFilled" -defs["ImDrawList_AddConvexPolyFilled"][1]["location"] = "imgui:2449" +defs["ImDrawList_AddConvexPolyFilled"][1]["location"] = "imgui:2555" defs["ImDrawList_AddConvexPolyFilled"][1]["ov_cimguiname"] = "ImDrawList_AddConvexPolyFilled" defs["ImDrawList_AddConvexPolyFilled"][1]["ret"] = "void" defs["ImDrawList_AddConvexPolyFilled"][1]["signature"] = "(const ImVec2*,int,ImU32)" @@ -663,7 +663,7 @@ defs["ImDrawList_AddDrawCmd"][1]["call_args"] = "()" defs["ImDrawList_AddDrawCmd"][1]["cimguiname"] = "ImDrawList_AddDrawCmd" defs["ImDrawList_AddDrawCmd"][1]["defaults"] = {} defs["ImDrawList_AddDrawCmd"][1]["funcname"] = "AddDrawCmd" -defs["ImDrawList_AddDrawCmd"][1]["location"] = "imgui:2475" +defs["ImDrawList_AddDrawCmd"][1]["location"] = "imgui:2582" defs["ImDrawList_AddDrawCmd"][1]["ov_cimguiname"] = "ImDrawList_AddDrawCmd" defs["ImDrawList_AddDrawCmd"][1]["ret"] = "void" defs["ImDrawList_AddDrawCmd"][1]["signature"] = "()" @@ -702,7 +702,7 @@ defs["ImDrawList_AddImage"][1]["defaults"]["col"] = "4294967295" defs["ImDrawList_AddImage"][1]["defaults"]["uv_max"] = "ImVec2(1,1)" defs["ImDrawList_AddImage"][1]["defaults"]["uv_min"] = "ImVec2(0,0)" defs["ImDrawList_AddImage"][1]["funcname"] = "AddImage" -defs["ImDrawList_AddImage"][1]["location"] = "imgui:2457" +defs["ImDrawList_AddImage"][1]["location"] = "imgui:2563" defs["ImDrawList_AddImage"][1]["ov_cimguiname"] = "ImDrawList_AddImage" defs["ImDrawList_AddImage"][1]["ret"] = "void" defs["ImDrawList_AddImage"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -755,7 +755,7 @@ defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv2"] = "ImVec2(1,0)" defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv3"] = "ImVec2(1,1)" defs["ImDrawList_AddImageQuad"][1]["defaults"]["uv4"] = "ImVec2(0,1)" defs["ImDrawList_AddImageQuad"][1]["funcname"] = "AddImageQuad" -defs["ImDrawList_AddImageQuad"][1]["location"] = "imgui:2458" +defs["ImDrawList_AddImageQuad"][1]["location"] = "imgui:2564" defs["ImDrawList_AddImageQuad"][1]["ov_cimguiname"] = "ImDrawList_AddImageQuad" defs["ImDrawList_AddImageQuad"][1]["ret"] = "void" defs["ImDrawList_AddImageQuad"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -798,7 +798,7 @@ defs["ImDrawList_AddImageRounded"][1]["cimguiname"] = "ImDrawList_AddImageRounde defs["ImDrawList_AddImageRounded"][1]["defaults"] = {} defs["ImDrawList_AddImageRounded"][1]["defaults"]["flags"] = "0" defs["ImDrawList_AddImageRounded"][1]["funcname"] = "AddImageRounded" -defs["ImDrawList_AddImageRounded"][1]["location"] = "imgui:2459" +defs["ImDrawList_AddImageRounded"][1]["location"] = "imgui:2565" defs["ImDrawList_AddImageRounded"][1]["ov_cimguiname"] = "ImDrawList_AddImageRounded" defs["ImDrawList_AddImageRounded"][1]["ret"] = "void" defs["ImDrawList_AddImageRounded"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)" @@ -829,7 +829,7 @@ defs["ImDrawList_AddLine"][1]["cimguiname"] = "ImDrawList_AddLine" defs["ImDrawList_AddLine"][1]["defaults"] = {} defs["ImDrawList_AddLine"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddLine"][1]["funcname"] = "AddLine" -defs["ImDrawList_AddLine"][1]["location"] = "imgui:2434" +defs["ImDrawList_AddLine"][1]["location"] = "imgui:2540" defs["ImDrawList_AddLine"][1]["ov_cimguiname"] = "ImDrawList_AddLine" defs["ImDrawList_AddLine"][1]["ret"] = "void" defs["ImDrawList_AddLine"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float)" @@ -863,7 +863,7 @@ defs["ImDrawList_AddNgon"][1]["cimguiname"] = "ImDrawList_AddNgon" defs["ImDrawList_AddNgon"][1]["defaults"] = {} defs["ImDrawList_AddNgon"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddNgon"][1]["funcname"] = "AddNgon" -defs["ImDrawList_AddNgon"][1]["location"] = "imgui:2444" +defs["ImDrawList_AddNgon"][1]["location"] = "imgui:2550" defs["ImDrawList_AddNgon"][1]["ov_cimguiname"] = "ImDrawList_AddNgon" defs["ImDrawList_AddNgon"][1]["ret"] = "void" defs["ImDrawList_AddNgon"][1]["signature"] = "(const ImVec2,float,ImU32,int,float)" @@ -893,7 +893,7 @@ defs["ImDrawList_AddNgonFilled"][1]["call_args"] = "(center,radius,col,num_segme defs["ImDrawList_AddNgonFilled"][1]["cimguiname"] = "ImDrawList_AddNgonFilled" defs["ImDrawList_AddNgonFilled"][1]["defaults"] = {} defs["ImDrawList_AddNgonFilled"][1]["funcname"] = "AddNgonFilled" -defs["ImDrawList_AddNgonFilled"][1]["location"] = "imgui:2445" +defs["ImDrawList_AddNgonFilled"][1]["location"] = "imgui:2551" defs["ImDrawList_AddNgonFilled"][1]["ov_cimguiname"] = "ImDrawList_AddNgonFilled" defs["ImDrawList_AddNgonFilled"][1]["ret"] = "void" defs["ImDrawList_AddNgonFilled"][1]["signature"] = "(const ImVec2,float,ImU32,int)" @@ -926,7 +926,7 @@ defs["ImDrawList_AddPolyline"][1]["call_args"] = "(points,num_points,col,flags,t defs["ImDrawList_AddPolyline"][1]["cimguiname"] = "ImDrawList_AddPolyline" defs["ImDrawList_AddPolyline"][1]["defaults"] = {} defs["ImDrawList_AddPolyline"][1]["funcname"] = "AddPolyline" -defs["ImDrawList_AddPolyline"][1]["location"] = "imgui:2448" +defs["ImDrawList_AddPolyline"][1]["location"] = "imgui:2554" defs["ImDrawList_AddPolyline"][1]["ov_cimguiname"] = "ImDrawList_AddPolyline" defs["ImDrawList_AddPolyline"][1]["ret"] = "void" defs["ImDrawList_AddPolyline"][1]["signature"] = "(const ImVec2*,int,ImU32,ImDrawFlags,float)" @@ -963,7 +963,7 @@ defs["ImDrawList_AddQuad"][1]["cimguiname"] = "ImDrawList_AddQuad" defs["ImDrawList_AddQuad"][1]["defaults"] = {} defs["ImDrawList_AddQuad"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddQuad"][1]["funcname"] = "AddQuad" -defs["ImDrawList_AddQuad"][1]["location"] = "imgui:2438" +defs["ImDrawList_AddQuad"][1]["location"] = "imgui:2544" defs["ImDrawList_AddQuad"][1]["ov_cimguiname"] = "ImDrawList_AddQuad" defs["ImDrawList_AddQuad"][1]["ret"] = "void" defs["ImDrawList_AddQuad"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32,float)" @@ -996,7 +996,7 @@ defs["ImDrawList_AddQuadFilled"][1]["call_args"] = "(p1,p2,p3,p4,col)" defs["ImDrawList_AddQuadFilled"][1]["cimguiname"] = "ImDrawList_AddQuadFilled" defs["ImDrawList_AddQuadFilled"][1]["defaults"] = {} defs["ImDrawList_AddQuadFilled"][1]["funcname"] = "AddQuadFilled" -defs["ImDrawList_AddQuadFilled"][1]["location"] = "imgui:2439" +defs["ImDrawList_AddQuadFilled"][1]["location"] = "imgui:2545" defs["ImDrawList_AddQuadFilled"][1]["ov_cimguiname"] = "ImDrawList_AddQuadFilled" defs["ImDrawList_AddQuadFilled"][1]["ret"] = "void" defs["ImDrawList_AddQuadFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1035,7 +1035,7 @@ defs["ImDrawList_AddRect"][1]["defaults"]["flags"] = "0" defs["ImDrawList_AddRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRect"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddRect"][1]["funcname"] = "AddRect" -defs["ImDrawList_AddRect"][1]["location"] = "imgui:2435" +defs["ImDrawList_AddRect"][1]["location"] = "imgui:2541" defs["ImDrawList_AddRect"][1]["ov_cimguiname"] = "ImDrawList_AddRect" defs["ImDrawList_AddRect"][1]["ret"] = "void" defs["ImDrawList_AddRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags,float)" @@ -1070,7 +1070,7 @@ defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} defs["ImDrawList_AddRectFilled"][1]["defaults"]["flags"] = "0" defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" -defs["ImDrawList_AddRectFilled"][1]["location"] = "imgui:2436" +defs["ImDrawList_AddRectFilled"][1]["location"] = "imgui:2542" defs["ImDrawList_AddRectFilled"][1]["ov_cimguiname"] = "ImDrawList_AddRectFilled" defs["ImDrawList_AddRectFilled"][1]["ret"] = "void" defs["ImDrawList_AddRectFilled"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,float,ImDrawFlags)" @@ -1106,7 +1106,7 @@ defs["ImDrawList_AddRectFilledMultiColor"][1]["call_args"] = "(p_min,p_max,col_u defs["ImDrawList_AddRectFilledMultiColor"][1]["cimguiname"] = "ImDrawList_AddRectFilledMultiColor" defs["ImDrawList_AddRectFilledMultiColor"][1]["defaults"] = {} defs["ImDrawList_AddRectFilledMultiColor"][1]["funcname"] = "AddRectFilledMultiColor" -defs["ImDrawList_AddRectFilledMultiColor"][1]["location"] = "imgui:2437" +defs["ImDrawList_AddRectFilledMultiColor"][1]["location"] = "imgui:2543" defs["ImDrawList_AddRectFilledMultiColor"][1]["ov_cimguiname"] = "ImDrawList_AddRectFilledMultiColor" defs["ImDrawList_AddRectFilledMultiColor"][1]["ret"] = "void" defs["ImDrawList_AddRectFilledMultiColor"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32,ImU32,ImU32,ImU32)" @@ -1137,8 +1137,8 @@ defs["ImDrawList_AddText"][1]["cimguiname"] = "ImDrawList_AddText" defs["ImDrawList_AddText"][1]["defaults"] = {} defs["ImDrawList_AddText"][1]["defaults"]["text_end"] = "NULL" defs["ImDrawList_AddText"][1]["funcname"] = "AddText" -defs["ImDrawList_AddText"][1]["location"] = "imgui:2446" -defs["ImDrawList_AddText"][1]["ov_cimguiname"] = "ImDrawList_AddTextVec2" +defs["ImDrawList_AddText"][1]["location"] = "imgui:2552" +defs["ImDrawList_AddText"][1]["ov_cimguiname"] = "ImDrawList_AddText_Vec2" defs["ImDrawList_AddText"][1]["ret"] = "void" defs["ImDrawList_AddText"][1]["signature"] = "(const ImVec2,ImU32,const char*,const char*)" defs["ImDrawList_AddText"][1]["stname"] = "ImDrawList" @@ -1180,8 +1180,8 @@ defs["ImDrawList_AddText"][2]["defaults"]["cpu_fine_clip_rect"] = "NULL" defs["ImDrawList_AddText"][2]["defaults"]["text_end"] = "NULL" defs["ImDrawList_AddText"][2]["defaults"]["wrap_width"] = "0.0f" defs["ImDrawList_AddText"][2]["funcname"] = "AddText" -defs["ImDrawList_AddText"][2]["location"] = "imgui:2447" -defs["ImDrawList_AddText"][2]["ov_cimguiname"] = "ImDrawList_AddTextFontPtr" +defs["ImDrawList_AddText"][2]["location"] = "imgui:2553" +defs["ImDrawList_AddText"][2]["ov_cimguiname"] = "ImDrawList_AddText_FontPtr" defs["ImDrawList_AddText"][2]["ret"] = "void" defs["ImDrawList_AddText"][2]["signature"] = "(const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)" defs["ImDrawList_AddText"][2]["stname"] = "ImDrawList" @@ -1215,7 +1215,7 @@ defs["ImDrawList_AddTriangle"][1]["cimguiname"] = "ImDrawList_AddTriangle" defs["ImDrawList_AddTriangle"][1]["defaults"] = {} defs["ImDrawList_AddTriangle"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddTriangle"][1]["funcname"] = "AddTriangle" -defs["ImDrawList_AddTriangle"][1]["location"] = "imgui:2440" +defs["ImDrawList_AddTriangle"][1]["location"] = "imgui:2546" defs["ImDrawList_AddTriangle"][1]["ov_cimguiname"] = "ImDrawList_AddTriangle" defs["ImDrawList_AddTriangle"][1]["ret"] = "void" defs["ImDrawList_AddTriangle"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32,float)" @@ -1245,7 +1245,7 @@ defs["ImDrawList_AddTriangleFilled"][1]["call_args"] = "(p1,p2,p3,col)" defs["ImDrawList_AddTriangleFilled"][1]["cimguiname"] = "ImDrawList_AddTriangleFilled" defs["ImDrawList_AddTriangleFilled"][1]["defaults"] = {} defs["ImDrawList_AddTriangleFilled"][1]["funcname"] = "AddTriangleFilled" -defs["ImDrawList_AddTriangleFilled"][1]["location"] = "imgui:2441" +defs["ImDrawList_AddTriangleFilled"][1]["location"] = "imgui:2547" defs["ImDrawList_AddTriangleFilled"][1]["ov_cimguiname"] = "ImDrawList_AddTriangleFilled" defs["ImDrawList_AddTriangleFilled"][1]["ret"] = "void" defs["ImDrawList_AddTriangleFilled"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1263,7 +1263,7 @@ defs["ImDrawList_ChannelsMerge"][1]["call_args"] = "()" defs["ImDrawList_ChannelsMerge"][1]["cimguiname"] = "ImDrawList_ChannelsMerge" defs["ImDrawList_ChannelsMerge"][1]["defaults"] = {} defs["ImDrawList_ChannelsMerge"][1]["funcname"] = "ChannelsMerge" -defs["ImDrawList_ChannelsMerge"][1]["location"] = "imgui:2485" +defs["ImDrawList_ChannelsMerge"][1]["location"] = "imgui:2592" defs["ImDrawList_ChannelsMerge"][1]["ov_cimguiname"] = "ImDrawList_ChannelsMerge" defs["ImDrawList_ChannelsMerge"][1]["ret"] = "void" defs["ImDrawList_ChannelsMerge"][1]["signature"] = "()" @@ -1284,7 +1284,7 @@ defs["ImDrawList_ChannelsSetCurrent"][1]["call_args"] = "(n)" defs["ImDrawList_ChannelsSetCurrent"][1]["cimguiname"] = "ImDrawList_ChannelsSetCurrent" defs["ImDrawList_ChannelsSetCurrent"][1]["defaults"] = {} defs["ImDrawList_ChannelsSetCurrent"][1]["funcname"] = "ChannelsSetCurrent" -defs["ImDrawList_ChannelsSetCurrent"][1]["location"] = "imgui:2486" +defs["ImDrawList_ChannelsSetCurrent"][1]["location"] = "imgui:2593" defs["ImDrawList_ChannelsSetCurrent"][1]["ov_cimguiname"] = "ImDrawList_ChannelsSetCurrent" defs["ImDrawList_ChannelsSetCurrent"][1]["ret"] = "void" defs["ImDrawList_ChannelsSetCurrent"][1]["signature"] = "(int)" @@ -1305,7 +1305,7 @@ defs["ImDrawList_ChannelsSplit"][1]["call_args"] = "(count)" defs["ImDrawList_ChannelsSplit"][1]["cimguiname"] = "ImDrawList_ChannelsSplit" defs["ImDrawList_ChannelsSplit"][1]["defaults"] = {} defs["ImDrawList_ChannelsSplit"][1]["funcname"] = "ChannelsSplit" -defs["ImDrawList_ChannelsSplit"][1]["location"] = "imgui:2484" +defs["ImDrawList_ChannelsSplit"][1]["location"] = "imgui:2591" defs["ImDrawList_ChannelsSplit"][1]["ov_cimguiname"] = "ImDrawList_ChannelsSplit" defs["ImDrawList_ChannelsSplit"][1]["ret"] = "void" defs["ImDrawList_ChannelsSplit"][1]["signature"] = "(int)" @@ -1323,7 +1323,7 @@ defs["ImDrawList_CloneOutput"][1]["call_args"] = "()" defs["ImDrawList_CloneOutput"][1]["cimguiname"] = "ImDrawList_CloneOutput" defs["ImDrawList_CloneOutput"][1]["defaults"] = {} defs["ImDrawList_CloneOutput"][1]["funcname"] = "CloneOutput" -defs["ImDrawList_CloneOutput"][1]["location"] = "imgui:2476" +defs["ImDrawList_CloneOutput"][1]["location"] = "imgui:2583" defs["ImDrawList_CloneOutput"][1]["ov_cimguiname"] = "ImDrawList_CloneOutput" defs["ImDrawList_CloneOutput"][1]["ret"] = "ImDrawList*" defs["ImDrawList_CloneOutput"][1]["signature"] = "()const" @@ -1344,7 +1344,7 @@ defs["ImDrawList_GetClipRectMax"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMax"][1]["cimguiname"] = "ImDrawList_GetClipRectMax" defs["ImDrawList_GetClipRectMax"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMax"][1]["funcname"] = "GetClipRectMax" -defs["ImDrawList_GetClipRectMax"][1]["location"] = "imgui:2426" +defs["ImDrawList_GetClipRectMax"][1]["location"] = "imgui:2531" defs["ImDrawList_GetClipRectMax"][1]["nonUDT"] = 1 defs["ImDrawList_GetClipRectMax"][1]["ov_cimguiname"] = "ImDrawList_GetClipRectMax" defs["ImDrawList_GetClipRectMax"][1]["ret"] = "void" @@ -1366,7 +1366,7 @@ defs["ImDrawList_GetClipRectMin"][1]["call_args"] = "()" defs["ImDrawList_GetClipRectMin"][1]["cimguiname"] = "ImDrawList_GetClipRectMin" defs["ImDrawList_GetClipRectMin"][1]["defaults"] = {} defs["ImDrawList_GetClipRectMin"][1]["funcname"] = "GetClipRectMin" -defs["ImDrawList_GetClipRectMin"][1]["location"] = "imgui:2425" +defs["ImDrawList_GetClipRectMin"][1]["location"] = "imgui:2530" defs["ImDrawList_GetClipRectMin"][1]["nonUDT"] = 1 defs["ImDrawList_GetClipRectMin"][1]["ov_cimguiname"] = "ImDrawList_GetClipRectMin" defs["ImDrawList_GetClipRectMin"][1]["ret"] = "void" @@ -1375,22 +1375,22 @@ defs["ImDrawList_GetClipRectMin"][1]["stname"] = "ImDrawList" defs["ImDrawList_GetClipRectMin"]["()const"] = defs["ImDrawList_GetClipRectMin"][1] defs["ImDrawList_ImDrawList"] = {} defs["ImDrawList_ImDrawList"][1] = {} -defs["ImDrawList_ImDrawList"][1]["args"] = "(const ImDrawListSharedData* shared_data)" +defs["ImDrawList_ImDrawList"][1]["args"] = "(ImDrawListSharedData* shared_data)" defs["ImDrawList_ImDrawList"][1]["argsT"] = {} defs["ImDrawList_ImDrawList"][1]["argsT"][1] = {} defs["ImDrawList_ImDrawList"][1]["argsT"][1]["name"] = "shared_data" -defs["ImDrawList_ImDrawList"][1]["argsT"][1]["type"] = "const ImDrawListSharedData*" -defs["ImDrawList_ImDrawList"][1]["argsoriginal"] = "(const ImDrawListSharedData* shared_data)" +defs["ImDrawList_ImDrawList"][1]["argsT"][1]["type"] = "ImDrawListSharedData*" +defs["ImDrawList_ImDrawList"][1]["argsoriginal"] = "(ImDrawListSharedData* shared_data)" defs["ImDrawList_ImDrawList"][1]["call_args"] = "(shared_data)" defs["ImDrawList_ImDrawList"][1]["cimguiname"] = "ImDrawList_ImDrawList" defs["ImDrawList_ImDrawList"][1]["constructor"] = true defs["ImDrawList_ImDrawList"][1]["defaults"] = {} defs["ImDrawList_ImDrawList"][1]["funcname"] = "ImDrawList" -defs["ImDrawList_ImDrawList"][1]["location"] = "imgui:2417" +defs["ImDrawList_ImDrawList"][1]["location"] = "imgui:2522" defs["ImDrawList_ImDrawList"][1]["ov_cimguiname"] = "ImDrawList_ImDrawList" -defs["ImDrawList_ImDrawList"][1]["signature"] = "(const ImDrawListSharedData*)" +defs["ImDrawList_ImDrawList"][1]["signature"] = "(ImDrawListSharedData*)" defs["ImDrawList_ImDrawList"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ImDrawList"]["(const ImDrawListSharedData*)"] = defs["ImDrawList_ImDrawList"][1] +defs["ImDrawList_ImDrawList"]["(ImDrawListSharedData*)"] = defs["ImDrawList_ImDrawList"][1] defs["ImDrawList_PathArcTo"] = {} defs["ImDrawList_PathArcTo"][1] = {} defs["ImDrawList_PathArcTo"][1]["args"] = "(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments)" @@ -1419,7 +1419,7 @@ defs["ImDrawList_PathArcTo"][1]["cimguiname"] = "ImDrawList_PathArcTo" defs["ImDrawList_PathArcTo"][1]["defaults"] = {} defs["ImDrawList_PathArcTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathArcTo"][1]["funcname"] = "PathArcTo" -defs["ImDrawList_PathArcTo"][1]["location"] = "imgui:2467" +defs["ImDrawList_PathArcTo"][1]["location"] = "imgui:2574" defs["ImDrawList_PathArcTo"][1]["ov_cimguiname"] = "ImDrawList_PathArcTo" defs["ImDrawList_PathArcTo"][1]["ret"] = "void" defs["ImDrawList_PathArcTo"][1]["signature"] = "(const ImVec2,float,float,float,int)" @@ -1449,7 +1449,7 @@ defs["ImDrawList_PathArcToFast"][1]["call_args"] = "(center,radius,a_min_of_12,a defs["ImDrawList_PathArcToFast"][1]["cimguiname"] = "ImDrawList_PathArcToFast" defs["ImDrawList_PathArcToFast"][1]["defaults"] = {} defs["ImDrawList_PathArcToFast"][1]["funcname"] = "PathArcToFast" -defs["ImDrawList_PathArcToFast"][1]["location"] = "imgui:2468" +defs["ImDrawList_PathArcToFast"][1]["location"] = "imgui:2575" defs["ImDrawList_PathArcToFast"][1]["ov_cimguiname"] = "ImDrawList_PathArcToFast" defs["ImDrawList_PathArcToFast"][1]["ret"] = "void" defs["ImDrawList_PathArcToFast"][1]["signature"] = "(const ImVec2,float,int,int)" @@ -1480,7 +1480,7 @@ defs["ImDrawList_PathBezierCubicCurveTo"][1]["cimguiname"] = "ImDrawList_PathBez defs["ImDrawList_PathBezierCubicCurveTo"][1]["defaults"] = {} defs["ImDrawList_PathBezierCubicCurveTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathBezierCubicCurveTo"][1]["funcname"] = "PathBezierCubicCurveTo" -defs["ImDrawList_PathBezierCubicCurveTo"][1]["location"] = "imgui:2469" +defs["ImDrawList_PathBezierCubicCurveTo"][1]["location"] = "imgui:2576" defs["ImDrawList_PathBezierCubicCurveTo"][1]["ov_cimguiname"] = "ImDrawList_PathBezierCubicCurveTo" defs["ImDrawList_PathBezierCubicCurveTo"][1]["ret"] = "void" defs["ImDrawList_PathBezierCubicCurveTo"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,int)" @@ -1508,7 +1508,7 @@ defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["cimguiname"] = "ImDrawList_Pat defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["defaults"] = {} defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["defaults"]["num_segments"] = "0" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["funcname"] = "PathBezierQuadraticCurveTo" -defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["location"] = "imgui:2470" +defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["location"] = "imgui:2577" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["ov_cimguiname"] = "ImDrawList_PathBezierQuadraticCurveTo" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["ret"] = "void" defs["ImDrawList_PathBezierQuadraticCurveTo"][1]["signature"] = "(const ImVec2,const ImVec2,int)" @@ -1526,7 +1526,7 @@ defs["ImDrawList_PathClear"][1]["call_args"] = "()" defs["ImDrawList_PathClear"][1]["cimguiname"] = "ImDrawList_PathClear" defs["ImDrawList_PathClear"][1]["defaults"] = {} defs["ImDrawList_PathClear"][1]["funcname"] = "PathClear" -defs["ImDrawList_PathClear"][1]["location"] = "imgui:2462" +defs["ImDrawList_PathClear"][1]["location"] = "imgui:2569" defs["ImDrawList_PathClear"][1]["ov_cimguiname"] = "ImDrawList_PathClear" defs["ImDrawList_PathClear"][1]["ret"] = "void" defs["ImDrawList_PathClear"][1]["signature"] = "()" @@ -1547,7 +1547,7 @@ defs["ImDrawList_PathFillConvex"][1]["call_args"] = "(col)" defs["ImDrawList_PathFillConvex"][1]["cimguiname"] = "ImDrawList_PathFillConvex" defs["ImDrawList_PathFillConvex"][1]["defaults"] = {} defs["ImDrawList_PathFillConvex"][1]["funcname"] = "PathFillConvex" -defs["ImDrawList_PathFillConvex"][1]["location"] = "imgui:2465" +defs["ImDrawList_PathFillConvex"][1]["location"] = "imgui:2572" defs["ImDrawList_PathFillConvex"][1]["ov_cimguiname"] = "ImDrawList_PathFillConvex" defs["ImDrawList_PathFillConvex"][1]["ret"] = "void" defs["ImDrawList_PathFillConvex"][1]["signature"] = "(ImU32)" @@ -1568,7 +1568,7 @@ defs["ImDrawList_PathLineTo"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineTo"][1]["cimguiname"] = "ImDrawList_PathLineTo" defs["ImDrawList_PathLineTo"][1]["defaults"] = {} defs["ImDrawList_PathLineTo"][1]["funcname"] = "PathLineTo" -defs["ImDrawList_PathLineTo"][1]["location"] = "imgui:2463" +defs["ImDrawList_PathLineTo"][1]["location"] = "imgui:2570" defs["ImDrawList_PathLineTo"][1]["ov_cimguiname"] = "ImDrawList_PathLineTo" defs["ImDrawList_PathLineTo"][1]["ret"] = "void" defs["ImDrawList_PathLineTo"][1]["signature"] = "(const ImVec2)" @@ -1589,7 +1589,7 @@ defs["ImDrawList_PathLineToMergeDuplicate"][1]["call_args"] = "(pos)" defs["ImDrawList_PathLineToMergeDuplicate"][1]["cimguiname"] = "ImDrawList_PathLineToMergeDuplicate" defs["ImDrawList_PathLineToMergeDuplicate"][1]["defaults"] = {} defs["ImDrawList_PathLineToMergeDuplicate"][1]["funcname"] = "PathLineToMergeDuplicate" -defs["ImDrawList_PathLineToMergeDuplicate"][1]["location"] = "imgui:2464" +defs["ImDrawList_PathLineToMergeDuplicate"][1]["location"] = "imgui:2571" defs["ImDrawList_PathLineToMergeDuplicate"][1]["ov_cimguiname"] = "ImDrawList_PathLineToMergeDuplicate" defs["ImDrawList_PathLineToMergeDuplicate"][1]["ret"] = "void" defs["ImDrawList_PathLineToMergeDuplicate"][1]["signature"] = "(const ImVec2)" @@ -1621,7 +1621,7 @@ defs["ImDrawList_PathRect"][1]["defaults"] = {} defs["ImDrawList_PathRect"][1]["defaults"]["flags"] = "0" defs["ImDrawList_PathRect"][1]["defaults"]["rounding"] = "0.0f" defs["ImDrawList_PathRect"][1]["funcname"] = "PathRect" -defs["ImDrawList_PathRect"][1]["location"] = "imgui:2471" +defs["ImDrawList_PathRect"][1]["location"] = "imgui:2578" defs["ImDrawList_PathRect"][1]["ov_cimguiname"] = "ImDrawList_PathRect" defs["ImDrawList_PathRect"][1]["ret"] = "void" defs["ImDrawList_PathRect"][1]["signature"] = "(const ImVec2,const ImVec2,float,ImDrawFlags)" @@ -1650,7 +1650,7 @@ defs["ImDrawList_PathStroke"][1]["defaults"] = {} defs["ImDrawList_PathStroke"][1]["defaults"]["flags"] = "0" defs["ImDrawList_PathStroke"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_PathStroke"][1]["funcname"] = "PathStroke" -defs["ImDrawList_PathStroke"][1]["location"] = "imgui:2466" +defs["ImDrawList_PathStroke"][1]["location"] = "imgui:2573" defs["ImDrawList_PathStroke"][1]["ov_cimguiname"] = "ImDrawList_PathStroke" defs["ImDrawList_PathStroke"][1]["ret"] = "void" defs["ImDrawList_PathStroke"][1]["signature"] = "(ImU32,ImDrawFlags,float)" @@ -1668,7 +1668,7 @@ defs["ImDrawList_PopClipRect"][1]["call_args"] = "()" defs["ImDrawList_PopClipRect"][1]["cimguiname"] = "ImDrawList_PopClipRect" defs["ImDrawList_PopClipRect"][1]["defaults"] = {} defs["ImDrawList_PopClipRect"][1]["funcname"] = "PopClipRect" -defs["ImDrawList_PopClipRect"][1]["location"] = "imgui:2422" +defs["ImDrawList_PopClipRect"][1]["location"] = "imgui:2527" defs["ImDrawList_PopClipRect"][1]["ov_cimguiname"] = "ImDrawList_PopClipRect" defs["ImDrawList_PopClipRect"][1]["ret"] = "void" defs["ImDrawList_PopClipRect"][1]["signature"] = "()" @@ -1686,7 +1686,7 @@ defs["ImDrawList_PopTextureID"][1]["call_args"] = "()" defs["ImDrawList_PopTextureID"][1]["cimguiname"] = "ImDrawList_PopTextureID" defs["ImDrawList_PopTextureID"][1]["defaults"] = {} defs["ImDrawList_PopTextureID"][1]["funcname"] = "PopTextureID" -defs["ImDrawList_PopTextureID"][1]["location"] = "imgui:2424" +defs["ImDrawList_PopTextureID"][1]["location"] = "imgui:2529" defs["ImDrawList_PopTextureID"][1]["ov_cimguiname"] = "ImDrawList_PopTextureID" defs["ImDrawList_PopTextureID"][1]["ret"] = "void" defs["ImDrawList_PopTextureID"][1]["signature"] = "()" @@ -1731,7 +1731,7 @@ defs["ImDrawList_PrimQuadUV"][1]["call_args"] = "(a,b,c,d,uv_a,uv_b,uv_c,uv_d,co defs["ImDrawList_PrimQuadUV"][1]["cimguiname"] = "ImDrawList_PrimQuadUV" defs["ImDrawList_PrimQuadUV"][1]["defaults"] = {} defs["ImDrawList_PrimQuadUV"][1]["funcname"] = "PrimQuadUV" -defs["ImDrawList_PrimQuadUV"][1]["location"] = "imgui:2495" +defs["ImDrawList_PrimQuadUV"][1]["location"] = "imgui:2602" defs["ImDrawList_PrimQuadUV"][1]["ov_cimguiname"] = "ImDrawList_PrimQuadUV" defs["ImDrawList_PrimQuadUV"][1]["ret"] = "void" defs["ImDrawList_PrimQuadUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1758,7 +1758,7 @@ defs["ImDrawList_PrimRect"][1]["call_args"] = "(a,b,col)" defs["ImDrawList_PrimRect"][1]["cimguiname"] = "ImDrawList_PrimRect" defs["ImDrawList_PrimRect"][1]["defaults"] = {} defs["ImDrawList_PrimRect"][1]["funcname"] = "PrimRect" -defs["ImDrawList_PrimRect"][1]["location"] = "imgui:2493" +defs["ImDrawList_PrimRect"][1]["location"] = "imgui:2600" defs["ImDrawList_PrimRect"][1]["ov_cimguiname"] = "ImDrawList_PrimRect" defs["ImDrawList_PrimRect"][1]["ret"] = "void" defs["ImDrawList_PrimRect"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" @@ -1791,7 +1791,7 @@ defs["ImDrawList_PrimRectUV"][1]["call_args"] = "(a,b,uv_a,uv_b,col)" defs["ImDrawList_PrimRectUV"][1]["cimguiname"] = "ImDrawList_PrimRectUV" defs["ImDrawList_PrimRectUV"][1]["defaults"] = {} defs["ImDrawList_PrimRectUV"][1]["funcname"] = "PrimRectUV" -defs["ImDrawList_PrimRectUV"][1]["location"] = "imgui:2494" +defs["ImDrawList_PrimRectUV"][1]["location"] = "imgui:2601" defs["ImDrawList_PrimRectUV"][1]["ov_cimguiname"] = "ImDrawList_PrimRectUV" defs["ImDrawList_PrimRectUV"][1]["ret"] = "void" defs["ImDrawList_PrimRectUV"][1]["signature"] = "(const ImVec2,const ImVec2,const ImVec2,const ImVec2,ImU32)" @@ -1815,7 +1815,7 @@ defs["ImDrawList_PrimReserve"][1]["call_args"] = "(idx_count,vtx_count)" defs["ImDrawList_PrimReserve"][1]["cimguiname"] = "ImDrawList_PrimReserve" defs["ImDrawList_PrimReserve"][1]["defaults"] = {} defs["ImDrawList_PrimReserve"][1]["funcname"] = "PrimReserve" -defs["ImDrawList_PrimReserve"][1]["location"] = "imgui:2491" +defs["ImDrawList_PrimReserve"][1]["location"] = "imgui:2598" defs["ImDrawList_PrimReserve"][1]["ov_cimguiname"] = "ImDrawList_PrimReserve" defs["ImDrawList_PrimReserve"][1]["ret"] = "void" defs["ImDrawList_PrimReserve"][1]["signature"] = "(int,int)" @@ -1839,7 +1839,7 @@ defs["ImDrawList_PrimUnreserve"][1]["call_args"] = "(idx_count,vtx_count)" defs["ImDrawList_PrimUnreserve"][1]["cimguiname"] = "ImDrawList_PrimUnreserve" defs["ImDrawList_PrimUnreserve"][1]["defaults"] = {} defs["ImDrawList_PrimUnreserve"][1]["funcname"] = "PrimUnreserve" -defs["ImDrawList_PrimUnreserve"][1]["location"] = "imgui:2492" +defs["ImDrawList_PrimUnreserve"][1]["location"] = "imgui:2599" defs["ImDrawList_PrimUnreserve"][1]["ov_cimguiname"] = "ImDrawList_PrimUnreserve" defs["ImDrawList_PrimUnreserve"][1]["ret"] = "void" defs["ImDrawList_PrimUnreserve"][1]["signature"] = "(int,int)" @@ -1866,7 +1866,7 @@ defs["ImDrawList_PrimVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimVtx"][1]["cimguiname"] = "ImDrawList_PrimVtx" defs["ImDrawList_PrimVtx"][1]["defaults"] = {} defs["ImDrawList_PrimVtx"][1]["funcname"] = "PrimVtx" -defs["ImDrawList_PrimVtx"][1]["location"] = "imgui:2498" +defs["ImDrawList_PrimVtx"][1]["location"] = "imgui:2605" defs["ImDrawList_PrimVtx"][1]["ov_cimguiname"] = "ImDrawList_PrimVtx" defs["ImDrawList_PrimVtx"][1]["ret"] = "void" defs["ImDrawList_PrimVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" @@ -1887,7 +1887,7 @@ defs["ImDrawList_PrimWriteIdx"][1]["call_args"] = "(idx)" defs["ImDrawList_PrimWriteIdx"][1]["cimguiname"] = "ImDrawList_PrimWriteIdx" defs["ImDrawList_PrimWriteIdx"][1]["defaults"] = {} defs["ImDrawList_PrimWriteIdx"][1]["funcname"] = "PrimWriteIdx" -defs["ImDrawList_PrimWriteIdx"][1]["location"] = "imgui:2497" +defs["ImDrawList_PrimWriteIdx"][1]["location"] = "imgui:2604" defs["ImDrawList_PrimWriteIdx"][1]["ov_cimguiname"] = "ImDrawList_PrimWriteIdx" defs["ImDrawList_PrimWriteIdx"][1]["ret"] = "void" defs["ImDrawList_PrimWriteIdx"][1]["signature"] = "(ImDrawIdx)" @@ -1914,7 +1914,7 @@ defs["ImDrawList_PrimWriteVtx"][1]["call_args"] = "(pos,uv,col)" defs["ImDrawList_PrimWriteVtx"][1]["cimguiname"] = "ImDrawList_PrimWriteVtx" defs["ImDrawList_PrimWriteVtx"][1]["defaults"] = {} defs["ImDrawList_PrimWriteVtx"][1]["funcname"] = "PrimWriteVtx" -defs["ImDrawList_PrimWriteVtx"][1]["location"] = "imgui:2496" +defs["ImDrawList_PrimWriteVtx"][1]["location"] = "imgui:2603" defs["ImDrawList_PrimWriteVtx"][1]["ov_cimguiname"] = "ImDrawList_PrimWriteVtx" defs["ImDrawList_PrimWriteVtx"][1]["ret"] = "void" defs["ImDrawList_PrimWriteVtx"][1]["signature"] = "(const ImVec2,const ImVec2,ImU32)" @@ -1922,32 +1922,32 @@ defs["ImDrawList_PrimWriteVtx"][1]["stname"] = "ImDrawList" defs["ImDrawList_PrimWriteVtx"]["(const ImVec2,const ImVec2,ImU32)"] = defs["ImDrawList_PrimWriteVtx"][1] defs["ImDrawList_PushClipRect"] = {} defs["ImDrawList_PushClipRect"][1] = {} -defs["ImDrawList_PushClipRect"][1]["args"] = "(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" +defs["ImDrawList_PushClipRect"][1]["args"] = "(ImDrawList* self,const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["argsT"] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][1] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][1]["name"] = "self" defs["ImDrawList_PushClipRect"][1]["argsT"][1]["type"] = "ImDrawList*" defs["ImDrawList_PushClipRect"][1]["argsT"][2] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][2]["name"] = "clip_rect_min" -defs["ImDrawList_PushClipRect"][1]["argsT"][2]["type"] = "ImVec2" +defs["ImDrawList_PushClipRect"][1]["argsT"][2]["type"] = "const ImVec2" defs["ImDrawList_PushClipRect"][1]["argsT"][3] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][3]["name"] = "clip_rect_max" -defs["ImDrawList_PushClipRect"][1]["argsT"][3]["type"] = "ImVec2" +defs["ImDrawList_PushClipRect"][1]["argsT"][3]["type"] = "const ImVec2" defs["ImDrawList_PushClipRect"][1]["argsT"][4] = {} defs["ImDrawList_PushClipRect"][1]["argsT"][4]["name"] = "intersect_with_current_clip_rect" defs["ImDrawList_PushClipRect"][1]["argsT"][4]["type"] = "bool" -defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect=false)" +defs["ImDrawList_PushClipRect"][1]["argsoriginal"] = "(const ImVec2& clip_rect_min,const ImVec2& clip_rect_max,bool intersect_with_current_clip_rect=false)" defs["ImDrawList_PushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect)" defs["ImDrawList_PushClipRect"][1]["cimguiname"] = "ImDrawList_PushClipRect" defs["ImDrawList_PushClipRect"][1]["defaults"] = {} defs["ImDrawList_PushClipRect"][1]["defaults"]["intersect_with_current_clip_rect"] = "false" defs["ImDrawList_PushClipRect"][1]["funcname"] = "PushClipRect" -defs["ImDrawList_PushClipRect"][1]["location"] = "imgui:2420" +defs["ImDrawList_PushClipRect"][1]["location"] = "imgui:2525" defs["ImDrawList_PushClipRect"][1]["ov_cimguiname"] = "ImDrawList_PushClipRect" defs["ImDrawList_PushClipRect"][1]["ret"] = "void" -defs["ImDrawList_PushClipRect"][1]["signature"] = "(ImVec2,ImVec2,bool)" +defs["ImDrawList_PushClipRect"][1]["signature"] = "(const ImVec2,const ImVec2,bool)" defs["ImDrawList_PushClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_PushClipRect"]["(ImVec2,ImVec2,bool)"] = defs["ImDrawList_PushClipRect"][1] +defs["ImDrawList_PushClipRect"]["(const ImVec2,const ImVec2,bool)"] = defs["ImDrawList_PushClipRect"][1] defs["ImDrawList_PushClipRectFullScreen"] = {} defs["ImDrawList_PushClipRectFullScreen"][1] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["args"] = "(ImDrawList* self)" @@ -1960,7 +1960,7 @@ defs["ImDrawList_PushClipRectFullScreen"][1]["call_args"] = "()" defs["ImDrawList_PushClipRectFullScreen"][1]["cimguiname"] = "ImDrawList_PushClipRectFullScreen" defs["ImDrawList_PushClipRectFullScreen"][1]["defaults"] = {} defs["ImDrawList_PushClipRectFullScreen"][1]["funcname"] = "PushClipRectFullScreen" -defs["ImDrawList_PushClipRectFullScreen"][1]["location"] = "imgui:2421" +defs["ImDrawList_PushClipRectFullScreen"][1]["location"] = "imgui:2526" defs["ImDrawList_PushClipRectFullScreen"][1]["ov_cimguiname"] = "ImDrawList_PushClipRectFullScreen" defs["ImDrawList_PushClipRectFullScreen"][1]["ret"] = "void" defs["ImDrawList_PushClipRectFullScreen"][1]["signature"] = "()" @@ -1981,7 +1981,7 @@ defs["ImDrawList_PushTextureID"][1]["call_args"] = "(texture_id)" defs["ImDrawList_PushTextureID"][1]["cimguiname"] = "ImDrawList_PushTextureID" defs["ImDrawList_PushTextureID"][1]["defaults"] = {} defs["ImDrawList_PushTextureID"][1]["funcname"] = "PushTextureID" -defs["ImDrawList_PushTextureID"][1]["location"] = "imgui:2423" +defs["ImDrawList_PushTextureID"][1]["location"] = "imgui:2528" defs["ImDrawList_PushTextureID"][1]["ov_cimguiname"] = "ImDrawList_PushTextureID" defs["ImDrawList_PushTextureID"][1]["ret"] = "void" defs["ImDrawList_PushTextureID"][1]["signature"] = "(ImTextureID)" @@ -2002,7 +2002,7 @@ defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["call_args"] = "(radius)" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["cimguiname"] = "ImDrawList__CalcCircleAutoSegmentCount" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["defaults"] = {} defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["funcname"] = "_CalcCircleAutoSegmentCount" -defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["location"] = "imgui:2513" +defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["location"] = "imgui:2620" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["ov_cimguiname"] = "ImDrawList__CalcCircleAutoSegmentCount" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["ret"] = "int" defs["ImDrawList__CalcCircleAutoSegmentCount"][1]["signature"] = "(float)const" @@ -2020,7 +2020,7 @@ defs["ImDrawList__ClearFreeMemory"][1]["call_args"] = "()" defs["ImDrawList__ClearFreeMemory"][1]["cimguiname"] = "ImDrawList__ClearFreeMemory" defs["ImDrawList__ClearFreeMemory"][1]["defaults"] = {} defs["ImDrawList__ClearFreeMemory"][1]["funcname"] = "_ClearFreeMemory" -defs["ImDrawList__ClearFreeMemory"][1]["location"] = "imgui:2507" +defs["ImDrawList__ClearFreeMemory"][1]["location"] = "imgui:2614" defs["ImDrawList__ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawList__ClearFreeMemory" defs["ImDrawList__ClearFreeMemory"][1]["ret"] = "void" defs["ImDrawList__ClearFreeMemory"][1]["signature"] = "()" @@ -2038,7 +2038,7 @@ defs["ImDrawList__OnChangedClipRect"][1]["call_args"] = "()" defs["ImDrawList__OnChangedClipRect"][1]["cimguiname"] = "ImDrawList__OnChangedClipRect" defs["ImDrawList__OnChangedClipRect"][1]["defaults"] = {} defs["ImDrawList__OnChangedClipRect"][1]["funcname"] = "_OnChangedClipRect" -defs["ImDrawList__OnChangedClipRect"][1]["location"] = "imgui:2510" +defs["ImDrawList__OnChangedClipRect"][1]["location"] = "imgui:2617" defs["ImDrawList__OnChangedClipRect"][1]["ov_cimguiname"] = "ImDrawList__OnChangedClipRect" defs["ImDrawList__OnChangedClipRect"][1]["ret"] = "void" defs["ImDrawList__OnChangedClipRect"][1]["signature"] = "()" @@ -2056,7 +2056,7 @@ defs["ImDrawList__OnChangedTextureID"][1]["call_args"] = "()" defs["ImDrawList__OnChangedTextureID"][1]["cimguiname"] = "ImDrawList__OnChangedTextureID" defs["ImDrawList__OnChangedTextureID"][1]["defaults"] = {} defs["ImDrawList__OnChangedTextureID"][1]["funcname"] = "_OnChangedTextureID" -defs["ImDrawList__OnChangedTextureID"][1]["location"] = "imgui:2511" +defs["ImDrawList__OnChangedTextureID"][1]["location"] = "imgui:2618" defs["ImDrawList__OnChangedTextureID"][1]["ov_cimguiname"] = "ImDrawList__OnChangedTextureID" defs["ImDrawList__OnChangedTextureID"][1]["ret"] = "void" defs["ImDrawList__OnChangedTextureID"][1]["signature"] = "()" @@ -2074,7 +2074,7 @@ defs["ImDrawList__OnChangedVtxOffset"][1]["call_args"] = "()" defs["ImDrawList__OnChangedVtxOffset"][1]["cimguiname"] = "ImDrawList__OnChangedVtxOffset" defs["ImDrawList__OnChangedVtxOffset"][1]["defaults"] = {} defs["ImDrawList__OnChangedVtxOffset"][1]["funcname"] = "_OnChangedVtxOffset" -defs["ImDrawList__OnChangedVtxOffset"][1]["location"] = "imgui:2512" +defs["ImDrawList__OnChangedVtxOffset"][1]["location"] = "imgui:2619" defs["ImDrawList__OnChangedVtxOffset"][1]["ov_cimguiname"] = "ImDrawList__OnChangedVtxOffset" defs["ImDrawList__OnChangedVtxOffset"][1]["ret"] = "void" defs["ImDrawList__OnChangedVtxOffset"][1]["signature"] = "()" @@ -2107,7 +2107,7 @@ defs["ImDrawList__PathArcToFastEx"][1]["call_args"] = "(center,radius,a_min_samp defs["ImDrawList__PathArcToFastEx"][1]["cimguiname"] = "ImDrawList__PathArcToFastEx" defs["ImDrawList__PathArcToFastEx"][1]["defaults"] = {} defs["ImDrawList__PathArcToFastEx"][1]["funcname"] = "_PathArcToFastEx" -defs["ImDrawList__PathArcToFastEx"][1]["location"] = "imgui:2514" +defs["ImDrawList__PathArcToFastEx"][1]["location"] = "imgui:2621" defs["ImDrawList__PathArcToFastEx"][1]["ov_cimguiname"] = "ImDrawList__PathArcToFastEx" defs["ImDrawList__PathArcToFastEx"][1]["ret"] = "void" defs["ImDrawList__PathArcToFastEx"][1]["signature"] = "(const ImVec2,float,int,int,int)" @@ -2140,7 +2140,7 @@ defs["ImDrawList__PathArcToN"][1]["call_args"] = "(center,radius,a_min,a_max,num defs["ImDrawList__PathArcToN"][1]["cimguiname"] = "ImDrawList__PathArcToN" defs["ImDrawList__PathArcToN"][1]["defaults"] = {} defs["ImDrawList__PathArcToN"][1]["funcname"] = "_PathArcToN" -defs["ImDrawList__PathArcToN"][1]["location"] = "imgui:2515" +defs["ImDrawList__PathArcToN"][1]["location"] = "imgui:2622" defs["ImDrawList__PathArcToN"][1]["ov_cimguiname"] = "ImDrawList__PathArcToN" defs["ImDrawList__PathArcToN"][1]["ret"] = "void" defs["ImDrawList__PathArcToN"][1]["signature"] = "(const ImVec2,float,float,float,int)" @@ -2158,7 +2158,7 @@ defs["ImDrawList__PopUnusedDrawCmd"][1]["call_args"] = "()" defs["ImDrawList__PopUnusedDrawCmd"][1]["cimguiname"] = "ImDrawList__PopUnusedDrawCmd" defs["ImDrawList__PopUnusedDrawCmd"][1]["defaults"] = {} defs["ImDrawList__PopUnusedDrawCmd"][1]["funcname"] = "_PopUnusedDrawCmd" -defs["ImDrawList__PopUnusedDrawCmd"][1]["location"] = "imgui:2508" +defs["ImDrawList__PopUnusedDrawCmd"][1]["location"] = "imgui:2615" defs["ImDrawList__PopUnusedDrawCmd"][1]["ov_cimguiname"] = "ImDrawList__PopUnusedDrawCmd" defs["ImDrawList__PopUnusedDrawCmd"][1]["ret"] = "void" defs["ImDrawList__PopUnusedDrawCmd"][1]["signature"] = "()" @@ -2176,7 +2176,7 @@ defs["ImDrawList__ResetForNewFrame"][1]["call_args"] = "()" defs["ImDrawList__ResetForNewFrame"][1]["cimguiname"] = "ImDrawList__ResetForNewFrame" defs["ImDrawList__ResetForNewFrame"][1]["defaults"] = {} defs["ImDrawList__ResetForNewFrame"][1]["funcname"] = "_ResetForNewFrame" -defs["ImDrawList__ResetForNewFrame"][1]["location"] = "imgui:2506" +defs["ImDrawList__ResetForNewFrame"][1]["location"] = "imgui:2613" defs["ImDrawList__ResetForNewFrame"][1]["ov_cimguiname"] = "ImDrawList__ResetForNewFrame" defs["ImDrawList__ResetForNewFrame"][1]["ret"] = "void" defs["ImDrawList__ResetForNewFrame"][1]["signature"] = "()" @@ -2194,7 +2194,7 @@ defs["ImDrawList__TryMergeDrawCmds"][1]["call_args"] = "()" defs["ImDrawList__TryMergeDrawCmds"][1]["cimguiname"] = "ImDrawList__TryMergeDrawCmds" defs["ImDrawList__TryMergeDrawCmds"][1]["defaults"] = {} defs["ImDrawList__TryMergeDrawCmds"][1]["funcname"] = "_TryMergeDrawCmds" -defs["ImDrawList__TryMergeDrawCmds"][1]["location"] = "imgui:2509" +defs["ImDrawList__TryMergeDrawCmds"][1]["location"] = "imgui:2616" defs["ImDrawList__TryMergeDrawCmds"][1]["ov_cimguiname"] = "ImDrawList__TryMergeDrawCmds" defs["ImDrawList__TryMergeDrawCmds"][1]["ret"] = "void" defs["ImDrawList__TryMergeDrawCmds"][1]["signature"] = "()" @@ -2211,7 +2211,7 @@ defs["ImDrawList_destroy"][1]["call_args"] = "(self)" defs["ImDrawList_destroy"][1]["cimguiname"] = "ImDrawList_destroy" defs["ImDrawList_destroy"][1]["defaults"] = {} defs["ImDrawList_destroy"][1]["destructor"] = true -defs["ImDrawList_destroy"][1]["location"] = "imgui:2419" +defs["ImDrawList_destroy"][1]["location"] = "imgui:2524" defs["ImDrawList_destroy"][1]["ov_cimguiname"] = "ImDrawList_destroy" defs["ImDrawList_destroy"][1]["realdestructor"] = true defs["ImDrawList_destroy"][1]["ret"] = "void" @@ -2228,7 +2228,7 @@ defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["cimguiname"] = "ImFontAt defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["constructor"] = true defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["defaults"] = {} defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["funcname"] = "ImFontAtlasCustomRect" -defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["location"] = "imgui:2607" +defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["location"] = "imgui:2714" defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["ov_cimguiname"] = "ImFontAtlasCustomRect_ImFontAtlasCustomRect" defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["signature"] = "()" defs["ImFontAtlasCustomRect_ImFontAtlasCustomRect"][1]["stname"] = "ImFontAtlasCustomRect" @@ -2245,7 +2245,7 @@ defs["ImFontAtlasCustomRect_IsPacked"][1]["call_args"] = "()" defs["ImFontAtlasCustomRect_IsPacked"][1]["cimguiname"] = "ImFontAtlasCustomRect_IsPacked" defs["ImFontAtlasCustomRect_IsPacked"][1]["defaults"] = {} defs["ImFontAtlasCustomRect_IsPacked"][1]["funcname"] = "IsPacked" -defs["ImFontAtlasCustomRect_IsPacked"][1]["location"] = "imgui:2608" +defs["ImFontAtlasCustomRect_IsPacked"][1]["location"] = "imgui:2715" defs["ImFontAtlasCustomRect_IsPacked"][1]["ov_cimguiname"] = "ImFontAtlasCustomRect_IsPacked" defs["ImFontAtlasCustomRect_IsPacked"][1]["ret"] = "bool" defs["ImFontAtlasCustomRect_IsPacked"][1]["signature"] = "()const" @@ -2298,7 +2298,7 @@ defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["cimguiname"] = "ImFontAtlas_AddCu defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["defaults"]["offset"] = "ImVec2(0,0)" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["funcname"] = "AddCustomRectFontGlyph" -defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["location"] = "imgui:2691" +defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["location"] = "imgui:2799" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ov_cimguiname"] = "ImFontAtlas_AddCustomRectFontGlyph" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["ret"] = "int" defs["ImFontAtlas_AddCustomRectFontGlyph"][1]["signature"] = "(ImFont*,ImWchar,int,int,float,const ImVec2)" @@ -2322,7 +2322,7 @@ defs["ImFontAtlas_AddCustomRectRegular"][1]["call_args"] = "(width,height)" defs["ImFontAtlas_AddCustomRectRegular"][1]["cimguiname"] = "ImFontAtlas_AddCustomRectRegular" defs["ImFontAtlas_AddCustomRectRegular"][1]["defaults"] = {} defs["ImFontAtlas_AddCustomRectRegular"][1]["funcname"] = "AddCustomRectRegular" -defs["ImFontAtlas_AddCustomRectRegular"][1]["location"] = "imgui:2690" +defs["ImFontAtlas_AddCustomRectRegular"][1]["location"] = "imgui:2798" defs["ImFontAtlas_AddCustomRectRegular"][1]["ov_cimguiname"] = "ImFontAtlas_AddCustomRectRegular" defs["ImFontAtlas_AddCustomRectRegular"][1]["ret"] = "int" defs["ImFontAtlas_AddCustomRectRegular"][1]["signature"] = "(int,int)" @@ -2343,7 +2343,7 @@ defs["ImFontAtlas_AddFont"][1]["call_args"] = "(font_cfg)" defs["ImFontAtlas_AddFont"][1]["cimguiname"] = "ImFontAtlas_AddFont" defs["ImFontAtlas_AddFont"][1]["defaults"] = {} defs["ImFontAtlas_AddFont"][1]["funcname"] = "AddFont" -defs["ImFontAtlas_AddFont"][1]["location"] = "imgui:2641" +defs["ImFontAtlas_AddFont"][1]["location"] = "imgui:2748" defs["ImFontAtlas_AddFont"][1]["ov_cimguiname"] = "ImFontAtlas_AddFont" defs["ImFontAtlas_AddFont"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFont"][1]["signature"] = "(const ImFontConfig*)" @@ -2365,7 +2365,7 @@ defs["ImFontAtlas_AddFontDefault"][1]["cimguiname"] = "ImFontAtlas_AddFontDefaul defs["ImFontAtlas_AddFontDefault"][1]["defaults"] = {} defs["ImFontAtlas_AddFontDefault"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontDefault"][1]["funcname"] = "AddFontDefault" -defs["ImFontAtlas_AddFontDefault"][1]["location"] = "imgui:2642" +defs["ImFontAtlas_AddFontDefault"][1]["location"] = "imgui:2749" defs["ImFontAtlas_AddFontDefault"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontDefault" defs["ImFontAtlas_AddFontDefault"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontDefault"][1]["signature"] = "(const ImFontConfig*)" @@ -2397,7 +2397,7 @@ defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromFileTTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromFileTTF"][1]["funcname"] = "AddFontFromFileTTF" -defs["ImFontAtlas_AddFontFromFileTTF"][1]["location"] = "imgui:2643" +defs["ImFontAtlas_AddFontFromFileTTF"][1]["location"] = "imgui:2750" defs["ImFontAtlas_AddFontFromFileTTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromFileTTF" defs["ImFontAtlas_AddFontFromFileTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromFileTTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" @@ -2429,7 +2429,7 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["funcname"] = "AddFontFromMemoryCompressedBase85TTF" -defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["location"] = "imgui:2646" +defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["location"] = "imgui:2753" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"][1]["signature"] = "(const char*,float,const ImFontConfig*,const ImWchar*)" @@ -2464,7 +2464,7 @@ defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["funcname"] = "AddFontFromMemoryCompressedTTF" -defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["location"] = "imgui:2645" +defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["location"] = "imgui:2752" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromMemoryCompressedTTF" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryCompressedTTF"][1]["signature"] = "(const void*,int,float,const ImFontConfig*,const ImWchar*)" @@ -2499,7 +2499,7 @@ defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"] = {} defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["font_cfg"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["defaults"]["glyph_ranges"] = "NULL" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["funcname"] = "AddFontFromMemoryTTF" -defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["location"] = "imgui:2644" +defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["location"] = "imgui:2751" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ov_cimguiname"] = "ImFontAtlas_AddFontFromMemoryTTF" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["ret"] = "ImFont*" defs["ImFontAtlas_AddFontFromMemoryTTF"][1]["signature"] = "(void*,int,float,const ImFontConfig*,const ImWchar*)" @@ -2517,7 +2517,7 @@ defs["ImFontAtlas_Build"][1]["call_args"] = "()" defs["ImFontAtlas_Build"][1]["cimguiname"] = "ImFontAtlas_Build" defs["ImFontAtlas_Build"][1]["defaults"] = {} defs["ImFontAtlas_Build"][1]["funcname"] = "Build" -defs["ImFontAtlas_Build"][1]["location"] = "imgui:2657" +defs["ImFontAtlas_Build"][1]["location"] = "imgui:2764" defs["ImFontAtlas_Build"][1]["ov_cimguiname"] = "ImFontAtlas_Build" defs["ImFontAtlas_Build"][1]["ret"] = "bool" defs["ImFontAtlas_Build"][1]["signature"] = "()" @@ -2544,7 +2544,7 @@ defs["ImFontAtlas_CalcCustomRectUV"][1]["call_args"] = "(rect,out_uv_min,out_uv_ defs["ImFontAtlas_CalcCustomRectUV"][1]["cimguiname"] = "ImFontAtlas_CalcCustomRectUV" defs["ImFontAtlas_CalcCustomRectUV"][1]["defaults"] = {} defs["ImFontAtlas_CalcCustomRectUV"][1]["funcname"] = "CalcCustomRectUV" -defs["ImFontAtlas_CalcCustomRectUV"][1]["location"] = "imgui:2695" +defs["ImFontAtlas_CalcCustomRectUV"][1]["location"] = "imgui:2803" defs["ImFontAtlas_CalcCustomRectUV"][1]["ov_cimguiname"] = "ImFontAtlas_CalcCustomRectUV" defs["ImFontAtlas_CalcCustomRectUV"][1]["ret"] = "void" defs["ImFontAtlas_CalcCustomRectUV"][1]["signature"] = "(const ImFontAtlasCustomRect*,ImVec2*,ImVec2*)const" @@ -2562,7 +2562,7 @@ defs["ImFontAtlas_Clear"][1]["call_args"] = "()" defs["ImFontAtlas_Clear"][1]["cimguiname"] = "ImFontAtlas_Clear" defs["ImFontAtlas_Clear"][1]["defaults"] = {} defs["ImFontAtlas_Clear"][1]["funcname"] = "Clear" -defs["ImFontAtlas_Clear"][1]["location"] = "imgui:2650" +defs["ImFontAtlas_Clear"][1]["location"] = "imgui:2757" defs["ImFontAtlas_Clear"][1]["ov_cimguiname"] = "ImFontAtlas_Clear" defs["ImFontAtlas_Clear"][1]["ret"] = "void" defs["ImFontAtlas_Clear"][1]["signature"] = "()" @@ -2580,7 +2580,7 @@ defs["ImFontAtlas_ClearFonts"][1]["call_args"] = "()" defs["ImFontAtlas_ClearFonts"][1]["cimguiname"] = "ImFontAtlas_ClearFonts" defs["ImFontAtlas_ClearFonts"][1]["defaults"] = {} defs["ImFontAtlas_ClearFonts"][1]["funcname"] = "ClearFonts" -defs["ImFontAtlas_ClearFonts"][1]["location"] = "imgui:2649" +defs["ImFontAtlas_ClearFonts"][1]["location"] = "imgui:2756" defs["ImFontAtlas_ClearFonts"][1]["ov_cimguiname"] = "ImFontAtlas_ClearFonts" defs["ImFontAtlas_ClearFonts"][1]["ret"] = "void" defs["ImFontAtlas_ClearFonts"][1]["signature"] = "()" @@ -2598,7 +2598,7 @@ defs["ImFontAtlas_ClearInputData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearInputData"][1]["cimguiname"] = "ImFontAtlas_ClearInputData" defs["ImFontAtlas_ClearInputData"][1]["defaults"] = {} defs["ImFontAtlas_ClearInputData"][1]["funcname"] = "ClearInputData" -defs["ImFontAtlas_ClearInputData"][1]["location"] = "imgui:2647" +defs["ImFontAtlas_ClearInputData"][1]["location"] = "imgui:2754" defs["ImFontAtlas_ClearInputData"][1]["ov_cimguiname"] = "ImFontAtlas_ClearInputData" defs["ImFontAtlas_ClearInputData"][1]["ret"] = "void" defs["ImFontAtlas_ClearInputData"][1]["signature"] = "()" @@ -2616,7 +2616,7 @@ defs["ImFontAtlas_ClearTexData"][1]["call_args"] = "()" defs["ImFontAtlas_ClearTexData"][1]["cimguiname"] = "ImFontAtlas_ClearTexData" defs["ImFontAtlas_ClearTexData"][1]["defaults"] = {} defs["ImFontAtlas_ClearTexData"][1]["funcname"] = "ClearTexData" -defs["ImFontAtlas_ClearTexData"][1]["location"] = "imgui:2648" +defs["ImFontAtlas_ClearTexData"][1]["location"] = "imgui:2755" defs["ImFontAtlas_ClearTexData"][1]["ov_cimguiname"] = "ImFontAtlas_ClearTexData" defs["ImFontAtlas_ClearTexData"][1]["ret"] = "void" defs["ImFontAtlas_ClearTexData"][1]["signature"] = "()" @@ -2637,7 +2637,7 @@ defs["ImFontAtlas_GetCustomRectByIndex"][1]["call_args"] = "(index)" defs["ImFontAtlas_GetCustomRectByIndex"][1]["cimguiname"] = "ImFontAtlas_GetCustomRectByIndex" defs["ImFontAtlas_GetCustomRectByIndex"][1]["defaults"] = {} defs["ImFontAtlas_GetCustomRectByIndex"][1]["funcname"] = "GetCustomRectByIndex" -defs["ImFontAtlas_GetCustomRectByIndex"][1]["location"] = "imgui:2692" +defs["ImFontAtlas_GetCustomRectByIndex"][1]["location"] = "imgui:2800" defs["ImFontAtlas_GetCustomRectByIndex"][1]["ov_cimguiname"] = "ImFontAtlas_GetCustomRectByIndex" defs["ImFontAtlas_GetCustomRectByIndex"][1]["ret"] = "ImFontAtlasCustomRect*" defs["ImFontAtlas_GetCustomRectByIndex"][1]["signature"] = "(int)" @@ -2655,7 +2655,7 @@ defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["funcname"] = "GetGlyphRangesChineseFull" -defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["location"] = "imgui:2673" +defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["location"] = "imgui:2781" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseFull" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesChineseFull"][1]["signature"] = "()" @@ -2673,7 +2673,7 @@ defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["funcname"] = "GetGlyphRangesChineseSimplifiedCommon" -defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["location"] = "imgui:2674" +defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["location"] = "imgui:2782" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"][1]["signature"] = "()" @@ -2691,7 +2691,7 @@ defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["funcname"] = "GetGlyphRangesCyrillic" -defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["location"] = "imgui:2675" +defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["location"] = "imgui:2783" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesCyrillic" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesCyrillic"][1]["signature"] = "()" @@ -2709,12 +2709,30 @@ defs["ImFontAtlas_GetGlyphRangesDefault"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesDefault"][1]["funcname"] = "GetGlyphRangesDefault" -defs["ImFontAtlas_GetGlyphRangesDefault"][1]["location"] = "imgui:2670" +defs["ImFontAtlas_GetGlyphRangesDefault"][1]["location"] = "imgui:2777" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesDefault" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["signature"] = "()" defs["ImFontAtlas_GetGlyphRangesDefault"][1]["stname"] = "ImFontAtlas" defs["ImFontAtlas_GetGlyphRangesDefault"]["()"] = defs["ImFontAtlas_GetGlyphRangesDefault"][1] +defs["ImFontAtlas_GetGlyphRangesGreek"] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["args"] = "(ImFontAtlas* self)" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"][1] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"][1]["name"] = "self" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsT"][1]["type"] = "ImFontAtlas*" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["argsoriginal"] = "()" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["call_args"] = "()" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesGreek" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["defaults"] = {} +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["funcname"] = "GetGlyphRangesGreek" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["location"] = "imgui:2778" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesGreek" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["ret"] = "const ImWchar*" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["signature"] = "()" +defs["ImFontAtlas_GetGlyphRangesGreek"][1]["stname"] = "ImFontAtlas" +defs["ImFontAtlas_GetGlyphRangesGreek"]["()"] = defs["ImFontAtlas_GetGlyphRangesGreek"][1] defs["ImFontAtlas_GetGlyphRangesJapanese"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["args"] = "(ImFontAtlas* self)" @@ -2727,7 +2745,7 @@ defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["funcname"] = "GetGlyphRangesJapanese" -defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["location"] = "imgui:2672" +defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["location"] = "imgui:2780" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesJapanese" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesJapanese"][1]["signature"] = "()" @@ -2745,7 +2763,7 @@ defs["ImFontAtlas_GetGlyphRangesKorean"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesKorean"][1]["funcname"] = "GetGlyphRangesKorean" -defs["ImFontAtlas_GetGlyphRangesKorean"][1]["location"] = "imgui:2671" +defs["ImFontAtlas_GetGlyphRangesKorean"][1]["location"] = "imgui:2779" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesKorean" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesKorean"][1]["signature"] = "()" @@ -2763,7 +2781,7 @@ defs["ImFontAtlas_GetGlyphRangesThai"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesThai"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" defs["ImFontAtlas_GetGlyphRangesThai"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesThai"][1]["funcname"] = "GetGlyphRangesThai" -defs["ImFontAtlas_GetGlyphRangesThai"][1]["location"] = "imgui:2676" +defs["ImFontAtlas_GetGlyphRangesThai"][1]["location"] = "imgui:2784" defs["ImFontAtlas_GetGlyphRangesThai"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesThai" defs["ImFontAtlas_GetGlyphRangesThai"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesThai"][1]["signature"] = "()" @@ -2781,7 +2799,7 @@ defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["call_args"] = "()" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["cimguiname"] = "ImFontAtlas_GetGlyphRangesVietnamese" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["defaults"] = {} defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["funcname"] = "GetGlyphRangesVietnamese" -defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["location"] = "imgui:2677" +defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["location"] = "imgui:2785" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["ov_cimguiname"] = "ImFontAtlas_GetGlyphRangesVietnamese" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["ret"] = "const ImWchar*" defs["ImFontAtlas_GetGlyphRangesVietnamese"][1]["signature"] = "()" @@ -2814,7 +2832,7 @@ defs["ImFontAtlas_GetMouseCursorTexData"][1]["call_args"] = "(cursor,out_offset, defs["ImFontAtlas_GetMouseCursorTexData"][1]["cimguiname"] = "ImFontAtlas_GetMouseCursorTexData" defs["ImFontAtlas_GetMouseCursorTexData"][1]["defaults"] = {} defs["ImFontAtlas_GetMouseCursorTexData"][1]["funcname"] = "GetMouseCursorTexData" -defs["ImFontAtlas_GetMouseCursorTexData"][1]["location"] = "imgui:2696" +defs["ImFontAtlas_GetMouseCursorTexData"][1]["location"] = "imgui:2804" defs["ImFontAtlas_GetMouseCursorTexData"][1]["ov_cimguiname"] = "ImFontAtlas_GetMouseCursorTexData" defs["ImFontAtlas_GetMouseCursorTexData"][1]["ret"] = "bool" defs["ImFontAtlas_GetMouseCursorTexData"][1]["signature"] = "(ImGuiMouseCursor,ImVec2*,ImVec2*,ImVec2[2],ImVec2[2])" @@ -2845,7 +2863,7 @@ defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["cimguiname"] = "ImFontAtlas_GetTexDat defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["defaults"]["out_bytes_per_pixel"] = "NULL" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["funcname"] = "GetTexDataAsAlpha8" -defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["location"] = "imgui:2658" +defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["location"] = "imgui:2765" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ov_cimguiname"] = "ImFontAtlas_GetTexDataAsAlpha8" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["ret"] = "void" defs["ImFontAtlas_GetTexDataAsAlpha8"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -2876,7 +2894,7 @@ defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["cimguiname"] = "ImFontAtlas_GetTexDat defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"] = {} defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["defaults"]["out_bytes_per_pixel"] = "NULL" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["funcname"] = "GetTexDataAsRGBA32" -defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["location"] = "imgui:2659" +defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["location"] = "imgui:2766" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ov_cimguiname"] = "ImFontAtlas_GetTexDataAsRGBA32" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["ret"] = "void" defs["ImFontAtlas_GetTexDataAsRGBA32"][1]["signature"] = "(unsigned char**,int*,int*,int*)" @@ -2892,7 +2910,7 @@ defs["ImFontAtlas_ImFontAtlas"][1]["cimguiname"] = "ImFontAtlas_ImFontAtlas" defs["ImFontAtlas_ImFontAtlas"][1]["constructor"] = true defs["ImFontAtlas_ImFontAtlas"][1]["defaults"] = {} defs["ImFontAtlas_ImFontAtlas"][1]["funcname"] = "ImFontAtlas" -defs["ImFontAtlas_ImFontAtlas"][1]["location"] = "imgui:2639" +defs["ImFontAtlas_ImFontAtlas"][1]["location"] = "imgui:2746" defs["ImFontAtlas_ImFontAtlas"][1]["ov_cimguiname"] = "ImFontAtlas_ImFontAtlas" defs["ImFontAtlas_ImFontAtlas"][1]["signature"] = "()" defs["ImFontAtlas_ImFontAtlas"][1]["stname"] = "ImFontAtlas" @@ -2909,7 +2927,7 @@ defs["ImFontAtlas_IsBuilt"][1]["call_args"] = "()" defs["ImFontAtlas_IsBuilt"][1]["cimguiname"] = "ImFontAtlas_IsBuilt" defs["ImFontAtlas_IsBuilt"][1]["defaults"] = {} defs["ImFontAtlas_IsBuilt"][1]["funcname"] = "IsBuilt" -defs["ImFontAtlas_IsBuilt"][1]["location"] = "imgui:2660" +defs["ImFontAtlas_IsBuilt"][1]["location"] = "imgui:2767" defs["ImFontAtlas_IsBuilt"][1]["ov_cimguiname"] = "ImFontAtlas_IsBuilt" defs["ImFontAtlas_IsBuilt"][1]["ret"] = "bool" defs["ImFontAtlas_IsBuilt"][1]["signature"] = "()const" @@ -2930,7 +2948,7 @@ defs["ImFontAtlas_SetTexID"][1]["call_args"] = "(id)" defs["ImFontAtlas_SetTexID"][1]["cimguiname"] = "ImFontAtlas_SetTexID" defs["ImFontAtlas_SetTexID"][1]["defaults"] = {} defs["ImFontAtlas_SetTexID"][1]["funcname"] = "SetTexID" -defs["ImFontAtlas_SetTexID"][1]["location"] = "imgui:2661" +defs["ImFontAtlas_SetTexID"][1]["location"] = "imgui:2768" defs["ImFontAtlas_SetTexID"][1]["ov_cimguiname"] = "ImFontAtlas_SetTexID" defs["ImFontAtlas_SetTexID"][1]["ret"] = "void" defs["ImFontAtlas_SetTexID"][1]["signature"] = "(ImTextureID)" @@ -2947,7 +2965,7 @@ defs["ImFontAtlas_destroy"][1]["call_args"] = "(self)" defs["ImFontAtlas_destroy"][1]["cimguiname"] = "ImFontAtlas_destroy" defs["ImFontAtlas_destroy"][1]["defaults"] = {} defs["ImFontAtlas_destroy"][1]["destructor"] = true -defs["ImFontAtlas_destroy"][1]["location"] = "imgui:2640" +defs["ImFontAtlas_destroy"][1]["location"] = "imgui:2747" defs["ImFontAtlas_destroy"][1]["ov_cimguiname"] = "ImFontAtlas_destroy" defs["ImFontAtlas_destroy"][1]["realdestructor"] = true defs["ImFontAtlas_destroy"][1]["ret"] = "void" @@ -2964,7 +2982,7 @@ defs["ImFontConfig_ImFontConfig"][1]["cimguiname"] = "ImFontConfig_ImFontConfig" defs["ImFontConfig_ImFontConfig"][1]["constructor"] = true defs["ImFontConfig_ImFontConfig"][1]["defaults"] = {} defs["ImFontConfig_ImFontConfig"][1]["funcname"] = "ImFontConfig" -defs["ImFontConfig_ImFontConfig"][1]["location"] = "imgui:2567" +defs["ImFontConfig_ImFontConfig"][1]["location"] = "imgui:2674" defs["ImFontConfig_ImFontConfig"][1]["ov_cimguiname"] = "ImFontConfig_ImFontConfig" defs["ImFontConfig_ImFontConfig"][1]["signature"] = "()" defs["ImFontConfig_ImFontConfig"][1]["stname"] = "ImFontConfig" @@ -3000,7 +3018,7 @@ defs["ImFontGlyphRangesBuilder_AddChar"][1]["call_args"] = "(c)" defs["ImFontGlyphRangesBuilder_AddChar"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_AddChar" defs["ImFontGlyphRangesBuilder_AddChar"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_AddChar"][1]["funcname"] = "AddChar" -defs["ImFontGlyphRangesBuilder_AddChar"][1]["location"] = "imgui:2592" +defs["ImFontGlyphRangesBuilder_AddChar"][1]["location"] = "imgui:2699" defs["ImFontGlyphRangesBuilder_AddChar"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_AddChar" defs["ImFontGlyphRangesBuilder_AddChar"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_AddChar"][1]["signature"] = "(ImWchar)" @@ -3021,7 +3039,7 @@ defs["ImFontGlyphRangesBuilder_AddRanges"][1]["call_args"] = "(ranges)" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_AddRanges" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_AddRanges"][1]["funcname"] = "AddRanges" -defs["ImFontGlyphRangesBuilder_AddRanges"][1]["location"] = "imgui:2594" +defs["ImFontGlyphRangesBuilder_AddRanges"][1]["location"] = "imgui:2701" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_AddRanges" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_AddRanges"][1]["signature"] = "(const ImWchar*)" @@ -3046,7 +3064,7 @@ defs["ImFontGlyphRangesBuilder_AddText"][1]["cimguiname"] = "ImFontGlyphRangesBu defs["ImFontGlyphRangesBuilder_AddText"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_AddText"][1]["defaults"]["text_end"] = "NULL" defs["ImFontGlyphRangesBuilder_AddText"][1]["funcname"] = "AddText" -defs["ImFontGlyphRangesBuilder_AddText"][1]["location"] = "imgui:2593" +defs["ImFontGlyphRangesBuilder_AddText"][1]["location"] = "imgui:2700" defs["ImFontGlyphRangesBuilder_AddText"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_AddText" defs["ImFontGlyphRangesBuilder_AddText"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_AddText"][1]["signature"] = "(const char*,const char*)" @@ -3067,7 +3085,7 @@ defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["call_args"] = "(out_ranges)" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_BuildRanges" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["funcname"] = "BuildRanges" -defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["location"] = "imgui:2595" +defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["location"] = "imgui:2702" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_BuildRanges" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_BuildRanges"][1]["signature"] = "(ImVector_ImWchar*)" @@ -3085,7 +3103,7 @@ defs["ImFontGlyphRangesBuilder_Clear"][1]["call_args"] = "()" defs["ImFontGlyphRangesBuilder_Clear"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_Clear" defs["ImFontGlyphRangesBuilder_Clear"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_Clear"][1]["funcname"] = "Clear" -defs["ImFontGlyphRangesBuilder_Clear"][1]["location"] = "imgui:2589" +defs["ImFontGlyphRangesBuilder_Clear"][1]["location"] = "imgui:2696" defs["ImFontGlyphRangesBuilder_Clear"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_Clear" defs["ImFontGlyphRangesBuilder_Clear"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_Clear"][1]["signature"] = "()" @@ -3106,7 +3124,7 @@ defs["ImFontGlyphRangesBuilder_GetBit"][1]["call_args"] = "(n)" defs["ImFontGlyphRangesBuilder_GetBit"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_GetBit" defs["ImFontGlyphRangesBuilder_GetBit"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_GetBit"][1]["funcname"] = "GetBit" -defs["ImFontGlyphRangesBuilder_GetBit"][1]["location"] = "imgui:2590" +defs["ImFontGlyphRangesBuilder_GetBit"][1]["location"] = "imgui:2697" defs["ImFontGlyphRangesBuilder_GetBit"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_GetBit" defs["ImFontGlyphRangesBuilder_GetBit"][1]["ret"] = "bool" defs["ImFontGlyphRangesBuilder_GetBit"][1]["signature"] = "(size_t)const" @@ -3122,7 +3140,7 @@ defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["cimguiname"] = "Im defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["constructor"] = true defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["funcname"] = "ImFontGlyphRangesBuilder" -defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["location"] = "imgui:2588" +defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["location"] = "imgui:2695" defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder" defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["signature"] = "()" defs["ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"][1]["stname"] = "ImFontGlyphRangesBuilder" @@ -3142,7 +3160,7 @@ defs["ImFontGlyphRangesBuilder_SetBit"][1]["call_args"] = "(n)" defs["ImFontGlyphRangesBuilder_SetBit"][1]["cimguiname"] = "ImFontGlyphRangesBuilder_SetBit" defs["ImFontGlyphRangesBuilder_SetBit"][1]["defaults"] = {} defs["ImFontGlyphRangesBuilder_SetBit"][1]["funcname"] = "SetBit" -defs["ImFontGlyphRangesBuilder_SetBit"][1]["location"] = "imgui:2591" +defs["ImFontGlyphRangesBuilder_SetBit"][1]["location"] = "imgui:2698" defs["ImFontGlyphRangesBuilder_SetBit"][1]["ov_cimguiname"] = "ImFontGlyphRangesBuilder_SetBit" defs["ImFontGlyphRangesBuilder_SetBit"][1]["ret"] = "void" defs["ImFontGlyphRangesBuilder_SetBit"][1]["signature"] = "(size_t)" @@ -3209,7 +3227,7 @@ defs["ImFont_AddGlyph"][1]["call_args"] = "(src_cfg,c,x0,y0,x1,y1,u0,v0,u1,v1,ad defs["ImFont_AddGlyph"][1]["cimguiname"] = "ImFont_AddGlyph" defs["ImFont_AddGlyph"][1]["defaults"] = {} defs["ImFont_AddGlyph"][1]["funcname"] = "AddGlyph" -defs["ImFont_AddGlyph"][1]["location"] = "imgui:2784" +defs["ImFont_AddGlyph"][1]["location"] = "imgui:2891" defs["ImFont_AddGlyph"][1]["ov_cimguiname"] = "ImFont_AddGlyph" defs["ImFont_AddGlyph"][1]["ret"] = "void" defs["ImFont_AddGlyph"][1]["signature"] = "(const ImFontConfig*,ImWchar,float,float,float,float,float,float,float,float,float)" @@ -3237,7 +3255,7 @@ defs["ImFont_AddRemapChar"][1]["cimguiname"] = "ImFont_AddRemapChar" defs["ImFont_AddRemapChar"][1]["defaults"] = {} defs["ImFont_AddRemapChar"][1]["defaults"]["overwrite_dst"] = "true" defs["ImFont_AddRemapChar"][1]["funcname"] = "AddRemapChar" -defs["ImFont_AddRemapChar"][1]["location"] = "imgui:2785" +defs["ImFont_AddRemapChar"][1]["location"] = "imgui:2892" defs["ImFont_AddRemapChar"][1]["ov_cimguiname"] = "ImFont_AddRemapChar" defs["ImFont_AddRemapChar"][1]["ret"] = "void" defs["ImFont_AddRemapChar"][1]["signature"] = "(ImWchar,ImWchar,bool)" @@ -3255,7 +3273,7 @@ defs["ImFont_BuildLookupTable"][1]["call_args"] = "()" defs["ImFont_BuildLookupTable"][1]["cimguiname"] = "ImFont_BuildLookupTable" defs["ImFont_BuildLookupTable"][1]["defaults"] = {} defs["ImFont_BuildLookupTable"][1]["funcname"] = "BuildLookupTable" -defs["ImFont_BuildLookupTable"][1]["location"] = "imgui:2781" +defs["ImFont_BuildLookupTable"][1]["location"] = "imgui:2888" defs["ImFont_BuildLookupTable"][1]["ov_cimguiname"] = "ImFont_BuildLookupTable" defs["ImFont_BuildLookupTable"][1]["ret"] = "void" defs["ImFont_BuildLookupTable"][1]["signature"] = "()" @@ -3296,7 +3314,7 @@ defs["ImFont_CalcTextSizeA"][1]["defaults"] = {} defs["ImFont_CalcTextSizeA"][1]["defaults"]["remaining"] = "NULL" defs["ImFont_CalcTextSizeA"][1]["defaults"]["text_end"] = "NULL" defs["ImFont_CalcTextSizeA"][1]["funcname"] = "CalcTextSizeA" -defs["ImFont_CalcTextSizeA"][1]["location"] = "imgui:2775" +defs["ImFont_CalcTextSizeA"][1]["location"] = "imgui:2882" defs["ImFont_CalcTextSizeA"][1]["nonUDT"] = 1 defs["ImFont_CalcTextSizeA"][1]["ov_cimguiname"] = "ImFont_CalcTextSizeA" defs["ImFont_CalcTextSizeA"][1]["ret"] = "void" @@ -3327,7 +3345,7 @@ defs["ImFont_CalcWordWrapPositionA"][1]["call_args"] = "(scale,text,text_end,wra defs["ImFont_CalcWordWrapPositionA"][1]["cimguiname"] = "ImFont_CalcWordWrapPositionA" defs["ImFont_CalcWordWrapPositionA"][1]["defaults"] = {} defs["ImFont_CalcWordWrapPositionA"][1]["funcname"] = "CalcWordWrapPositionA" -defs["ImFont_CalcWordWrapPositionA"][1]["location"] = "imgui:2776" +defs["ImFont_CalcWordWrapPositionA"][1]["location"] = "imgui:2883" defs["ImFont_CalcWordWrapPositionA"][1]["ov_cimguiname"] = "ImFont_CalcWordWrapPositionA" defs["ImFont_CalcWordWrapPositionA"][1]["ret"] = "const char*" defs["ImFont_CalcWordWrapPositionA"][1]["signature"] = "(float,const char*,const char*,float)const" @@ -3345,7 +3363,7 @@ defs["ImFont_ClearOutputData"][1]["call_args"] = "()" defs["ImFont_ClearOutputData"][1]["cimguiname"] = "ImFont_ClearOutputData" defs["ImFont_ClearOutputData"][1]["defaults"] = {} defs["ImFont_ClearOutputData"][1]["funcname"] = "ClearOutputData" -defs["ImFont_ClearOutputData"][1]["location"] = "imgui:2782" +defs["ImFont_ClearOutputData"][1]["location"] = "imgui:2889" defs["ImFont_ClearOutputData"][1]["ov_cimguiname"] = "ImFont_ClearOutputData" defs["ImFont_ClearOutputData"][1]["ret"] = "void" defs["ImFont_ClearOutputData"][1]["signature"] = "()" @@ -3366,7 +3384,7 @@ defs["ImFont_FindGlyph"][1]["call_args"] = "(c)" defs["ImFont_FindGlyph"][1]["cimguiname"] = "ImFont_FindGlyph" defs["ImFont_FindGlyph"][1]["defaults"] = {} defs["ImFont_FindGlyph"][1]["funcname"] = "FindGlyph" -defs["ImFont_FindGlyph"][1]["location"] = "imgui:2767" +defs["ImFont_FindGlyph"][1]["location"] = "imgui:2874" defs["ImFont_FindGlyph"][1]["ov_cimguiname"] = "ImFont_FindGlyph" defs["ImFont_FindGlyph"][1]["ret"] = "const ImFontGlyph*" defs["ImFont_FindGlyph"][1]["signature"] = "(ImWchar)const" @@ -3387,7 +3405,7 @@ defs["ImFont_FindGlyphNoFallback"][1]["call_args"] = "(c)" defs["ImFont_FindGlyphNoFallback"][1]["cimguiname"] = "ImFont_FindGlyphNoFallback" defs["ImFont_FindGlyphNoFallback"][1]["defaults"] = {} defs["ImFont_FindGlyphNoFallback"][1]["funcname"] = "FindGlyphNoFallback" -defs["ImFont_FindGlyphNoFallback"][1]["location"] = "imgui:2768" +defs["ImFont_FindGlyphNoFallback"][1]["location"] = "imgui:2875" defs["ImFont_FindGlyphNoFallback"][1]["ov_cimguiname"] = "ImFont_FindGlyphNoFallback" defs["ImFont_FindGlyphNoFallback"][1]["ret"] = "const ImFontGlyph*" defs["ImFont_FindGlyphNoFallback"][1]["signature"] = "(ImWchar)const" @@ -3408,7 +3426,7 @@ defs["ImFont_GetCharAdvance"][1]["call_args"] = "(c)" defs["ImFont_GetCharAdvance"][1]["cimguiname"] = "ImFont_GetCharAdvance" defs["ImFont_GetCharAdvance"][1]["defaults"] = {} defs["ImFont_GetCharAdvance"][1]["funcname"] = "GetCharAdvance" -defs["ImFont_GetCharAdvance"][1]["location"] = "imgui:2769" +defs["ImFont_GetCharAdvance"][1]["location"] = "imgui:2876" defs["ImFont_GetCharAdvance"][1]["ov_cimguiname"] = "ImFont_GetCharAdvance" defs["ImFont_GetCharAdvance"][1]["ret"] = "float" defs["ImFont_GetCharAdvance"][1]["signature"] = "(ImWchar)const" @@ -3426,7 +3444,7 @@ defs["ImFont_GetDebugName"][1]["call_args"] = "()" defs["ImFont_GetDebugName"][1]["cimguiname"] = "ImFont_GetDebugName" defs["ImFont_GetDebugName"][1]["defaults"] = {} defs["ImFont_GetDebugName"][1]["funcname"] = "GetDebugName" -defs["ImFont_GetDebugName"][1]["location"] = "imgui:2771" +defs["ImFont_GetDebugName"][1]["location"] = "imgui:2878" defs["ImFont_GetDebugName"][1]["ov_cimguiname"] = "ImFont_GetDebugName" defs["ImFont_GetDebugName"][1]["ret"] = "const char*" defs["ImFont_GetDebugName"][1]["signature"] = "()const" @@ -3447,7 +3465,7 @@ defs["ImFont_GrowIndex"][1]["call_args"] = "(new_size)" defs["ImFont_GrowIndex"][1]["cimguiname"] = "ImFont_GrowIndex" defs["ImFont_GrowIndex"][1]["defaults"] = {} defs["ImFont_GrowIndex"][1]["funcname"] = "GrowIndex" -defs["ImFont_GrowIndex"][1]["location"] = "imgui:2783" +defs["ImFont_GrowIndex"][1]["location"] = "imgui:2890" defs["ImFont_GrowIndex"][1]["ov_cimguiname"] = "ImFont_GrowIndex" defs["ImFont_GrowIndex"][1]["ret"] = "void" defs["ImFont_GrowIndex"][1]["signature"] = "(int)" @@ -3463,7 +3481,7 @@ defs["ImFont_ImFont"][1]["cimguiname"] = "ImFont_ImFont" defs["ImFont_ImFont"][1]["constructor"] = true defs["ImFont_ImFont"][1]["defaults"] = {} defs["ImFont_ImFont"][1]["funcname"] = "ImFont" -defs["ImFont_ImFont"][1]["location"] = "imgui:2765" +defs["ImFont_ImFont"][1]["location"] = "imgui:2872" defs["ImFont_ImFont"][1]["ov_cimguiname"] = "ImFont_ImFont" defs["ImFont_ImFont"][1]["signature"] = "()" defs["ImFont_ImFont"][1]["stname"] = "ImFont" @@ -3486,7 +3504,7 @@ defs["ImFont_IsGlyphRangeUnused"][1]["call_args"] = "(c_begin,c_last)" defs["ImFont_IsGlyphRangeUnused"][1]["cimguiname"] = "ImFont_IsGlyphRangeUnused" defs["ImFont_IsGlyphRangeUnused"][1]["defaults"] = {} defs["ImFont_IsGlyphRangeUnused"][1]["funcname"] = "IsGlyphRangeUnused" -defs["ImFont_IsGlyphRangeUnused"][1]["location"] = "imgui:2787" +defs["ImFont_IsGlyphRangeUnused"][1]["location"] = "imgui:2894" defs["ImFont_IsGlyphRangeUnused"][1]["ov_cimguiname"] = "ImFont_IsGlyphRangeUnused" defs["ImFont_IsGlyphRangeUnused"][1]["ret"] = "bool" defs["ImFont_IsGlyphRangeUnused"][1]["signature"] = "(unsigned int,unsigned int)" @@ -3504,7 +3522,7 @@ defs["ImFont_IsLoaded"][1]["call_args"] = "()" defs["ImFont_IsLoaded"][1]["cimguiname"] = "ImFont_IsLoaded" defs["ImFont_IsLoaded"][1]["defaults"] = {} defs["ImFont_IsLoaded"][1]["funcname"] = "IsLoaded" -defs["ImFont_IsLoaded"][1]["location"] = "imgui:2770" +defs["ImFont_IsLoaded"][1]["location"] = "imgui:2877" defs["ImFont_IsLoaded"][1]["ov_cimguiname"] = "ImFont_IsLoaded" defs["ImFont_IsLoaded"][1]["ret"] = "bool" defs["ImFont_IsLoaded"][1]["signature"] = "()const" @@ -3512,7 +3530,7 @@ defs["ImFont_IsLoaded"][1]["stname"] = "ImFont" defs["ImFont_IsLoaded"]["()const"] = defs["ImFont_IsLoaded"][1] defs["ImFont_RenderChar"] = {} defs["ImFont_RenderChar"][1] = {} -defs["ImFont_RenderChar"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)" +defs["ImFont_RenderChar"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,ImWchar c)" defs["ImFont_RenderChar"][1]["argsT"] = {} defs["ImFont_RenderChar"][1]["argsT"][1] = {} defs["ImFont_RenderChar"][1]["argsT"][1]["name"] = "self" @@ -3525,27 +3543,27 @@ defs["ImFont_RenderChar"][1]["argsT"][3]["name"] = "size" defs["ImFont_RenderChar"][1]["argsT"][3]["type"] = "float" defs["ImFont_RenderChar"][1]["argsT"][4] = {} defs["ImFont_RenderChar"][1]["argsT"][4]["name"] = "pos" -defs["ImFont_RenderChar"][1]["argsT"][4]["type"] = "ImVec2" +defs["ImFont_RenderChar"][1]["argsT"][4]["type"] = "const ImVec2" defs["ImFont_RenderChar"][1]["argsT"][5] = {} defs["ImFont_RenderChar"][1]["argsT"][5]["name"] = "col" defs["ImFont_RenderChar"][1]["argsT"][5]["type"] = "ImU32" defs["ImFont_RenderChar"][1]["argsT"][6] = {} defs["ImFont_RenderChar"][1]["argsT"][6]["name"] = "c" defs["ImFont_RenderChar"][1]["argsT"][6]["type"] = "ImWchar" -defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)" +defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,ImWchar c)" defs["ImFont_RenderChar"][1]["call_args"] = "(draw_list,size,pos,col,c)" defs["ImFont_RenderChar"][1]["cimguiname"] = "ImFont_RenderChar" defs["ImFont_RenderChar"][1]["defaults"] = {} defs["ImFont_RenderChar"][1]["funcname"] = "RenderChar" -defs["ImFont_RenderChar"][1]["location"] = "imgui:2777" +defs["ImFont_RenderChar"][1]["location"] = "imgui:2884" defs["ImFont_RenderChar"][1]["ov_cimguiname"] = "ImFont_RenderChar" defs["ImFont_RenderChar"][1]["ret"] = "void" -defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,ImWchar)const" +defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const" defs["ImFont_RenderChar"][1]["stname"] = "ImFont" -defs["ImFont_RenderChar"]["(ImDrawList*,float,ImVec2,ImU32,ImWchar)const"] = defs["ImFont_RenderChar"][1] +defs["ImFont_RenderChar"]["(ImDrawList*,float,const ImVec2,ImU32,ImWchar)const"] = defs["ImFont_RenderChar"][1] defs["ImFont_RenderText"] = {} defs["ImFont_RenderText"][1] = {} -defs["ImFont_RenderText"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)" +defs["ImFont_RenderText"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,const ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)" defs["ImFont_RenderText"][1]["argsT"] = {} defs["ImFont_RenderText"][1]["argsT"][1] = {} defs["ImFont_RenderText"][1]["argsT"][1]["name"] = "self" @@ -3558,7 +3576,7 @@ defs["ImFont_RenderText"][1]["argsT"][3]["name"] = "size" defs["ImFont_RenderText"][1]["argsT"][3]["type"] = "float" defs["ImFont_RenderText"][1]["argsT"][4] = {} defs["ImFont_RenderText"][1]["argsT"][4]["name"] = "pos" -defs["ImFont_RenderText"][1]["argsT"][4]["type"] = "ImVec2" +defs["ImFont_RenderText"][1]["argsT"][4]["type"] = "const ImVec2" defs["ImFont_RenderText"][1]["argsT"][5] = {} defs["ImFont_RenderText"][1]["argsT"][5]["name"] = "col" defs["ImFont_RenderText"][1]["argsT"][5]["type"] = "ImU32" @@ -3577,19 +3595,19 @@ defs["ImFont_RenderText"][1]["argsT"][9]["type"] = "float" defs["ImFont_RenderText"][1]["argsT"][10] = {} defs["ImFont_RenderText"][1]["argsT"][10]["name"] = "cpu_fine_clip" defs["ImFont_RenderText"][1]["argsT"][10]["type"] = "bool" -defs["ImFont_RenderText"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)" +defs["ImFont_RenderText"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,const ImVec2& pos,ImU32 col,const ImVec4& clip_rect,const char* text_begin,const char* text_end,float wrap_width=0.0f,bool cpu_fine_clip=false)" defs["ImFont_RenderText"][1]["call_args"] = "(draw_list,size,pos,col,clip_rect,text_begin,text_end,wrap_width,cpu_fine_clip)" defs["ImFont_RenderText"][1]["cimguiname"] = "ImFont_RenderText" defs["ImFont_RenderText"][1]["defaults"] = {} defs["ImFont_RenderText"][1]["defaults"]["cpu_fine_clip"] = "false" defs["ImFont_RenderText"][1]["defaults"]["wrap_width"] = "0.0f" defs["ImFont_RenderText"][1]["funcname"] = "RenderText" -defs["ImFont_RenderText"][1]["location"] = "imgui:2778" +defs["ImFont_RenderText"][1]["location"] = "imgui:2885" defs["ImFont_RenderText"][1]["ov_cimguiname"] = "ImFont_RenderText" defs["ImFont_RenderText"][1]["ret"] = "void" -defs["ImFont_RenderText"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const" +defs["ImFont_RenderText"][1]["signature"] = "(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const" defs["ImFont_RenderText"][1]["stname"] = "ImFont" -defs["ImFont_RenderText"]["(ImDrawList*,float,ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const"] = defs["ImFont_RenderText"][1] +defs["ImFont_RenderText"]["(ImDrawList*,float,const ImVec2,ImU32,const ImVec4,const char*,const char*,float,bool)const"] = defs["ImFont_RenderText"][1] defs["ImFont_SetGlyphVisible"] = {} defs["ImFont_SetGlyphVisible"][1] = {} defs["ImFont_SetGlyphVisible"][1]["args"] = "(ImFont* self,ImWchar c,bool visible)" @@ -3608,7 +3626,7 @@ defs["ImFont_SetGlyphVisible"][1]["call_args"] = "(c,visible)" defs["ImFont_SetGlyphVisible"][1]["cimguiname"] = "ImFont_SetGlyphVisible" defs["ImFont_SetGlyphVisible"][1]["defaults"] = {} defs["ImFont_SetGlyphVisible"][1]["funcname"] = "SetGlyphVisible" -defs["ImFont_SetGlyphVisible"][1]["location"] = "imgui:2786" +defs["ImFont_SetGlyphVisible"][1]["location"] = "imgui:2893" defs["ImFont_SetGlyphVisible"][1]["ov_cimguiname"] = "ImFont_SetGlyphVisible" defs["ImFont_SetGlyphVisible"][1]["ret"] = "void" defs["ImFont_SetGlyphVisible"][1]["signature"] = "(ImWchar,bool)" @@ -3625,7 +3643,7 @@ defs["ImFont_destroy"][1]["call_args"] = "(self)" defs["ImFont_destroy"][1]["cimguiname"] = "ImFont_destroy" defs["ImFont_destroy"][1]["defaults"] = {} defs["ImFont_destroy"][1]["destructor"] = true -defs["ImFont_destroy"][1]["location"] = "imgui:2766" +defs["ImFont_destroy"][1]["location"] = "imgui:2873" defs["ImFont_destroy"][1]["ov_cimguiname"] = "ImFont_destroy" defs["ImFont_destroy"][1]["realdestructor"] = true defs["ImFont_destroy"][1]["ret"] = "void" @@ -3647,7 +3665,7 @@ defs["ImGuiIO_AddFocusEvent"][1]["call_args"] = "(focused)" defs["ImGuiIO_AddFocusEvent"][1]["cimguiname"] = "ImGuiIO_AddFocusEvent" defs["ImGuiIO_AddFocusEvent"][1]["defaults"] = {} defs["ImGuiIO_AddFocusEvent"][1]["funcname"] = "AddFocusEvent" -defs["ImGuiIO_AddFocusEvent"][1]["location"] = "imgui:1898" +defs["ImGuiIO_AddFocusEvent"][1]["location"] = "imgui:1974" defs["ImGuiIO_AddFocusEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddFocusEvent" defs["ImGuiIO_AddFocusEvent"][1]["ret"] = "void" defs["ImGuiIO_AddFocusEvent"][1]["signature"] = "(bool)" @@ -3668,7 +3686,7 @@ defs["ImGuiIO_AddInputCharacter"][1]["call_args"] = "(c)" defs["ImGuiIO_AddInputCharacter"][1]["cimguiname"] = "ImGuiIO_AddInputCharacter" defs["ImGuiIO_AddInputCharacter"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharacter"][1]["funcname"] = "AddInputCharacter" -defs["ImGuiIO_AddInputCharacter"][1]["location"] = "imgui:1895" +defs["ImGuiIO_AddInputCharacter"][1]["location"] = "imgui:1975" defs["ImGuiIO_AddInputCharacter"][1]["ov_cimguiname"] = "ImGuiIO_AddInputCharacter" defs["ImGuiIO_AddInputCharacter"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharacter"][1]["signature"] = "(unsigned int)" @@ -3689,7 +3707,7 @@ defs["ImGuiIO_AddInputCharacterUTF16"][1]["call_args"] = "(c)" defs["ImGuiIO_AddInputCharacterUTF16"][1]["cimguiname"] = "ImGuiIO_AddInputCharacterUTF16" defs["ImGuiIO_AddInputCharacterUTF16"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharacterUTF16"][1]["funcname"] = "AddInputCharacterUTF16" -defs["ImGuiIO_AddInputCharacterUTF16"][1]["location"] = "imgui:1896" +defs["ImGuiIO_AddInputCharacterUTF16"][1]["location"] = "imgui:1976" defs["ImGuiIO_AddInputCharacterUTF16"][1]["ov_cimguiname"] = "ImGuiIO_AddInputCharacterUTF16" defs["ImGuiIO_AddInputCharacterUTF16"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharacterUTF16"][1]["signature"] = "(ImWchar16)" @@ -3710,12 +3728,135 @@ defs["ImGuiIO_AddInputCharactersUTF8"][1]["call_args"] = "(str)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" defs["ImGuiIO_AddInputCharactersUTF8"][1]["defaults"] = {} defs["ImGuiIO_AddInputCharactersUTF8"][1]["funcname"] = "AddInputCharactersUTF8" -defs["ImGuiIO_AddInputCharactersUTF8"][1]["location"] = "imgui:1897" +defs["ImGuiIO_AddInputCharactersUTF8"][1]["location"] = "imgui:1977" defs["ImGuiIO_AddInputCharactersUTF8"][1]["ov_cimguiname"] = "ImGuiIO_AddInputCharactersUTF8" defs["ImGuiIO_AddInputCharactersUTF8"][1]["ret"] = "void" defs["ImGuiIO_AddInputCharactersUTF8"][1]["signature"] = "(const char*)" defs["ImGuiIO_AddInputCharactersUTF8"][1]["stname"] = "ImGuiIO" defs["ImGuiIO_AddInputCharactersUTF8"]["(const char*)"] = defs["ImGuiIO_AddInputCharactersUTF8"][1] +defs["ImGuiIO_AddKeyAnalogEvent"] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["args"] = "(ImGuiIO* self,ImGuiKey key,bool down,float v)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][2]["name"] = "key" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][3]["name"] = "down" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][3]["type"] = "bool" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][4] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][4]["name"] = "v" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsT"][4]["type"] = "float" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["argsoriginal"] = "(ImGuiKey key,bool down,float v)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["call_args"] = "(key,down,v)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["cimguiname"] = "ImGuiIO_AddKeyAnalogEvent" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddKeyAnalogEvent"][1]["funcname"] = "AddKeyAnalogEvent" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["location"] = "imgui:1970" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddKeyAnalogEvent" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["signature"] = "(ImGuiKey,bool,float)" +defs["ImGuiIO_AddKeyAnalogEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddKeyAnalogEvent"]["(ImGuiKey,bool,float)"] = defs["ImGuiIO_AddKeyAnalogEvent"][1] +defs["ImGuiIO_AddKeyEvent"] = {} +defs["ImGuiIO_AddKeyEvent"][1] = {} +defs["ImGuiIO_AddKeyEvent"][1]["args"] = "(ImGuiIO* self,ImGuiKey key,bool down)" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][2]["name"] = "key" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][3]["name"] = "down" +defs["ImGuiIO_AddKeyEvent"][1]["argsT"][3]["type"] = "bool" +defs["ImGuiIO_AddKeyEvent"][1]["argsoriginal"] = "(ImGuiKey key,bool down)" +defs["ImGuiIO_AddKeyEvent"][1]["call_args"] = "(key,down)" +defs["ImGuiIO_AddKeyEvent"][1]["cimguiname"] = "ImGuiIO_AddKeyEvent" +defs["ImGuiIO_AddKeyEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddKeyEvent"][1]["funcname"] = "AddKeyEvent" +defs["ImGuiIO_AddKeyEvent"][1]["location"] = "imgui:1969" +defs["ImGuiIO_AddKeyEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddKeyEvent" +defs["ImGuiIO_AddKeyEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddKeyEvent"][1]["signature"] = "(ImGuiKey,bool)" +defs["ImGuiIO_AddKeyEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddKeyEvent"]["(ImGuiKey,bool)"] = defs["ImGuiIO_AddKeyEvent"][1] +defs["ImGuiIO_AddMouseButtonEvent"] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["args"] = "(ImGuiIO* self,int button,bool down)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][2]["name"] = "button" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][2]["type"] = "int" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][3]["name"] = "down" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsT"][3]["type"] = "bool" +defs["ImGuiIO_AddMouseButtonEvent"][1]["argsoriginal"] = "(int button,bool down)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["call_args"] = "(button,down)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["cimguiname"] = "ImGuiIO_AddMouseButtonEvent" +defs["ImGuiIO_AddMouseButtonEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMouseButtonEvent"][1]["funcname"] = "AddMouseButtonEvent" +defs["ImGuiIO_AddMouseButtonEvent"][1]["location"] = "imgui:1972" +defs["ImGuiIO_AddMouseButtonEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMouseButtonEvent" +defs["ImGuiIO_AddMouseButtonEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMouseButtonEvent"][1]["signature"] = "(int,bool)" +defs["ImGuiIO_AddMouseButtonEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMouseButtonEvent"]["(int,bool)"] = defs["ImGuiIO_AddMouseButtonEvent"][1] +defs["ImGuiIO_AddMousePosEvent"] = {} +defs["ImGuiIO_AddMousePosEvent"][1] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["args"] = "(ImGuiIO* self,float x,float y)" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][2]["name"] = "x" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][2]["type"] = "float" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][3]["name"] = "y" +defs["ImGuiIO_AddMousePosEvent"][1]["argsT"][3]["type"] = "float" +defs["ImGuiIO_AddMousePosEvent"][1]["argsoriginal"] = "(float x,float y)" +defs["ImGuiIO_AddMousePosEvent"][1]["call_args"] = "(x,y)" +defs["ImGuiIO_AddMousePosEvent"][1]["cimguiname"] = "ImGuiIO_AddMousePosEvent" +defs["ImGuiIO_AddMousePosEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMousePosEvent"][1]["funcname"] = "AddMousePosEvent" +defs["ImGuiIO_AddMousePosEvent"][1]["location"] = "imgui:1971" +defs["ImGuiIO_AddMousePosEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMousePosEvent" +defs["ImGuiIO_AddMousePosEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMousePosEvent"][1]["signature"] = "(float,float)" +defs["ImGuiIO_AddMousePosEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMousePosEvent"]["(float,float)"] = defs["ImGuiIO_AddMousePosEvent"][1] +defs["ImGuiIO_AddMouseWheelEvent"] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["args"] = "(ImGuiIO* self,float wh_x,float wh_y)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][1] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][2] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][2]["name"] = "wh_x" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][2]["type"] = "float" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][3] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][3]["name"] = "wh_y" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsT"][3]["type"] = "float" +defs["ImGuiIO_AddMouseWheelEvent"][1]["argsoriginal"] = "(float wh_x,float wh_y)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["call_args"] = "(wh_x,wh_y)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["cimguiname"] = "ImGuiIO_AddMouseWheelEvent" +defs["ImGuiIO_AddMouseWheelEvent"][1]["defaults"] = {} +defs["ImGuiIO_AddMouseWheelEvent"][1]["funcname"] = "AddMouseWheelEvent" +defs["ImGuiIO_AddMouseWheelEvent"][1]["location"] = "imgui:1973" +defs["ImGuiIO_AddMouseWheelEvent"][1]["ov_cimguiname"] = "ImGuiIO_AddMouseWheelEvent" +defs["ImGuiIO_AddMouseWheelEvent"][1]["ret"] = "void" +defs["ImGuiIO_AddMouseWheelEvent"][1]["signature"] = "(float,float)" +defs["ImGuiIO_AddMouseWheelEvent"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_AddMouseWheelEvent"]["(float,float)"] = defs["ImGuiIO_AddMouseWheelEvent"][1] defs["ImGuiIO_ClearInputCharacters"] = {} defs["ImGuiIO_ClearInputCharacters"][1] = {} defs["ImGuiIO_ClearInputCharacters"][1]["args"] = "(ImGuiIO* self)" @@ -3728,7 +3869,7 @@ defs["ImGuiIO_ClearInputCharacters"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputCharacters"][1]["cimguiname"] = "ImGuiIO_ClearInputCharacters" defs["ImGuiIO_ClearInputCharacters"][1]["defaults"] = {} defs["ImGuiIO_ClearInputCharacters"][1]["funcname"] = "ClearInputCharacters" -defs["ImGuiIO_ClearInputCharacters"][1]["location"] = "imgui:1899" +defs["ImGuiIO_ClearInputCharacters"][1]["location"] = "imgui:1981" defs["ImGuiIO_ClearInputCharacters"][1]["ov_cimguiname"] = "ImGuiIO_ClearInputCharacters" defs["ImGuiIO_ClearInputCharacters"][1]["ret"] = "void" defs["ImGuiIO_ClearInputCharacters"][1]["signature"] = "()" @@ -3746,7 +3887,7 @@ defs["ImGuiIO_ClearInputKeys"][1]["call_args"] = "()" defs["ImGuiIO_ClearInputKeys"][1]["cimguiname"] = "ImGuiIO_ClearInputKeys" defs["ImGuiIO_ClearInputKeys"][1]["defaults"] = {} defs["ImGuiIO_ClearInputKeys"][1]["funcname"] = "ClearInputKeys" -defs["ImGuiIO_ClearInputKeys"][1]["location"] = "imgui:1900" +defs["ImGuiIO_ClearInputKeys"][1]["location"] = "imgui:1982" defs["ImGuiIO_ClearInputKeys"][1]["ov_cimguiname"] = "ImGuiIO_ClearInputKeys" defs["ImGuiIO_ClearInputKeys"][1]["ret"] = "void" defs["ImGuiIO_ClearInputKeys"][1]["signature"] = "()" @@ -3762,11 +3903,63 @@ defs["ImGuiIO_ImGuiIO"][1]["cimguiname"] = "ImGuiIO_ImGuiIO" defs["ImGuiIO_ImGuiIO"][1]["constructor"] = true defs["ImGuiIO_ImGuiIO"][1]["defaults"] = {} defs["ImGuiIO_ImGuiIO"][1]["funcname"] = "ImGuiIO" -defs["ImGuiIO_ImGuiIO"][1]["location"] = "imgui:1953" +defs["ImGuiIO_ImGuiIO"][1]["location"] = "imgui:2055" defs["ImGuiIO_ImGuiIO"][1]["ov_cimguiname"] = "ImGuiIO_ImGuiIO" defs["ImGuiIO_ImGuiIO"][1]["signature"] = "()" defs["ImGuiIO_ImGuiIO"][1]["stname"] = "ImGuiIO" defs["ImGuiIO_ImGuiIO"]["()"] = defs["ImGuiIO_ImGuiIO"][1] +defs["ImGuiIO_SetAppAcceptingEvents"] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["args"] = "(ImGuiIO* self,bool accepting_events)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][1] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][2] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][2]["name"] = "accepting_events" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsT"][2]["type"] = "bool" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["argsoriginal"] = "(bool accepting_events)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["call_args"] = "(accepting_events)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["cimguiname"] = "ImGuiIO_SetAppAcceptingEvents" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["defaults"] = {} +defs["ImGuiIO_SetAppAcceptingEvents"][1]["funcname"] = "SetAppAcceptingEvents" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["location"] = "imgui:1980" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["ov_cimguiname"] = "ImGuiIO_SetAppAcceptingEvents" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["ret"] = "void" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["signature"] = "(bool)" +defs["ImGuiIO_SetAppAcceptingEvents"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_SetAppAcceptingEvents"]["(bool)"] = defs["ImGuiIO_SetAppAcceptingEvents"][1] +defs["ImGuiIO_SetKeyEventNativeData"] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["args"] = "(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][1] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][1]["name"] = "self" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][1]["type"] = "ImGuiIO*" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][2] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][2]["name"] = "key" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][2]["type"] = "ImGuiKey" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][3] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][3]["name"] = "native_keycode" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][3]["type"] = "int" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][4] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][4]["name"] = "native_scancode" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][4]["type"] = "int" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][5] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][5]["name"] = "native_legacy_index" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsT"][5]["type"] = "int" +defs["ImGuiIO_SetKeyEventNativeData"][1]["argsoriginal"] = "(ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index=-1)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["call_args"] = "(key,native_keycode,native_scancode,native_legacy_index)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["cimguiname"] = "ImGuiIO_SetKeyEventNativeData" +defs["ImGuiIO_SetKeyEventNativeData"][1]["defaults"] = {} +defs["ImGuiIO_SetKeyEventNativeData"][1]["defaults"]["native_legacy_index"] = "-1" +defs["ImGuiIO_SetKeyEventNativeData"][1]["funcname"] = "SetKeyEventNativeData" +defs["ImGuiIO_SetKeyEventNativeData"][1]["location"] = "imgui:1979" +defs["ImGuiIO_SetKeyEventNativeData"][1]["ov_cimguiname"] = "ImGuiIO_SetKeyEventNativeData" +defs["ImGuiIO_SetKeyEventNativeData"][1]["ret"] = "void" +defs["ImGuiIO_SetKeyEventNativeData"][1]["signature"] = "(ImGuiKey,int,int,int)" +defs["ImGuiIO_SetKeyEventNativeData"][1]["stname"] = "ImGuiIO" +defs["ImGuiIO_SetKeyEventNativeData"]["(ImGuiKey,int,int,int)"] = defs["ImGuiIO_SetKeyEventNativeData"][1] defs["ImGuiIO_destroy"] = {} defs["ImGuiIO_destroy"][1] = {} defs["ImGuiIO_destroy"][1]["args"] = "(ImGuiIO* self)" @@ -3795,7 +3988,7 @@ defs["ImGuiInputTextCallbackData_ClearSelection"][1]["call_args"] = "()" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["cimguiname"] = "ImGuiInputTextCallbackData_ClearSelection" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_ClearSelection"][1]["funcname"] = "ClearSelection" -defs["ImGuiInputTextCallbackData_ClearSelection"][1]["location"] = "imgui:1994" +defs["ImGuiInputTextCallbackData_ClearSelection"][1]["location"] = "imgui:2096" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_ClearSelection" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_ClearSelection"][1]["signature"] = "()" @@ -3819,7 +4012,7 @@ defs["ImGuiInputTextCallbackData_DeleteChars"][1]["call_args"] = "(pos,bytes_cou defs["ImGuiInputTextCallbackData_DeleteChars"][1]["cimguiname"] = "ImGuiInputTextCallbackData_DeleteChars" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_DeleteChars"][1]["funcname"] = "DeleteChars" -defs["ImGuiInputTextCallbackData_DeleteChars"][1]["location"] = "imgui:1991" +defs["ImGuiInputTextCallbackData_DeleteChars"][1]["location"] = "imgui:2093" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_DeleteChars" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_DeleteChars"][1]["signature"] = "(int,int)" @@ -3837,7 +4030,7 @@ defs["ImGuiInputTextCallbackData_HasSelection"][1]["call_args"] = "()" defs["ImGuiInputTextCallbackData_HasSelection"][1]["cimguiname"] = "ImGuiInputTextCallbackData_HasSelection" defs["ImGuiInputTextCallbackData_HasSelection"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_HasSelection"][1]["funcname"] = "HasSelection" -defs["ImGuiInputTextCallbackData_HasSelection"][1]["location"] = "imgui:1995" +defs["ImGuiInputTextCallbackData_HasSelection"][1]["location"] = "imgui:2097" defs["ImGuiInputTextCallbackData_HasSelection"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_HasSelection" defs["ImGuiInputTextCallbackData_HasSelection"][1]["ret"] = "bool" defs["ImGuiInputTextCallbackData_HasSelection"][1]["signature"] = "()const" @@ -3853,7 +4046,7 @@ defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["cimguiname"] = defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["constructor"] = true defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["funcname"] = "ImGuiInputTextCallbackData" -defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["location"] = "imgui:1990" +defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["location"] = "imgui:2092" defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData" defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["signature"] = "()" defs["ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"][1]["stname"] = "ImGuiInputTextCallbackData" @@ -3880,7 +4073,7 @@ defs["ImGuiInputTextCallbackData_InsertChars"][1]["cimguiname"] = "ImGuiInputTex defs["ImGuiInputTextCallbackData_InsertChars"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_InsertChars"][1]["defaults"]["text_end"] = "NULL" defs["ImGuiInputTextCallbackData_InsertChars"][1]["funcname"] = "InsertChars" -defs["ImGuiInputTextCallbackData_InsertChars"][1]["location"] = "imgui:1992" +defs["ImGuiInputTextCallbackData_InsertChars"][1]["location"] = "imgui:2094" defs["ImGuiInputTextCallbackData_InsertChars"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_InsertChars" defs["ImGuiInputTextCallbackData_InsertChars"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_InsertChars"][1]["signature"] = "(int,const char*,const char*)" @@ -3898,7 +4091,7 @@ defs["ImGuiInputTextCallbackData_SelectAll"][1]["call_args"] = "()" defs["ImGuiInputTextCallbackData_SelectAll"][1]["cimguiname"] = "ImGuiInputTextCallbackData_SelectAll" defs["ImGuiInputTextCallbackData_SelectAll"][1]["defaults"] = {} defs["ImGuiInputTextCallbackData_SelectAll"][1]["funcname"] = "SelectAll" -defs["ImGuiInputTextCallbackData_SelectAll"][1]["location"] = "imgui:1993" +defs["ImGuiInputTextCallbackData_SelectAll"][1]["location"] = "imgui:2095" defs["ImGuiInputTextCallbackData_SelectAll"][1]["ov_cimguiname"] = "ImGuiInputTextCallbackData_SelectAll" defs["ImGuiInputTextCallbackData_SelectAll"][1]["ret"] = "void" defs["ImGuiInputTextCallbackData_SelectAll"][1]["signature"] = "()" @@ -3939,7 +4132,7 @@ defs["ImGuiListClipper_Begin"][1]["cimguiname"] = "ImGuiListClipper_Begin" defs["ImGuiListClipper_Begin"][1]["defaults"] = {} defs["ImGuiListClipper_Begin"][1]["defaults"]["items_height"] = "-1.0f" defs["ImGuiListClipper_Begin"][1]["funcname"] = "Begin" -defs["ImGuiListClipper_Begin"][1]["location"] = "imgui:2206" +defs["ImGuiListClipper_Begin"][1]["location"] = "imgui:2308" defs["ImGuiListClipper_Begin"][1]["ov_cimguiname"] = "ImGuiListClipper_Begin" defs["ImGuiListClipper_Begin"][1]["ret"] = "void" defs["ImGuiListClipper_Begin"][1]["signature"] = "(int,float)" @@ -3957,7 +4150,7 @@ defs["ImGuiListClipper_End"][1]["call_args"] = "()" defs["ImGuiListClipper_End"][1]["cimguiname"] = "ImGuiListClipper_End" defs["ImGuiListClipper_End"][1]["defaults"] = {} defs["ImGuiListClipper_End"][1]["funcname"] = "End" -defs["ImGuiListClipper_End"][1]["location"] = "imgui:2207" +defs["ImGuiListClipper_End"][1]["location"] = "imgui:2309" defs["ImGuiListClipper_End"][1]["ov_cimguiname"] = "ImGuiListClipper_End" defs["ImGuiListClipper_End"][1]["ret"] = "void" defs["ImGuiListClipper_End"][1]["signature"] = "()" @@ -3981,7 +4174,7 @@ defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["call_args"] = "(item_min defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["cimguiname"] = "ImGuiListClipper_ForceDisplayRangeByIndices" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["defaults"] = {} defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["funcname"] = "ForceDisplayRangeByIndices" -defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["location"] = "imgui:2211" +defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["location"] = "imgui:2313" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["ov_cimguiname"] = "ImGuiListClipper_ForceDisplayRangeByIndices" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["ret"] = "void" defs["ImGuiListClipper_ForceDisplayRangeByIndices"][1]["signature"] = "(int,int)" @@ -3997,7 +4190,7 @@ defs["ImGuiListClipper_ImGuiListClipper"][1]["cimguiname"] = "ImGuiListClipper_I defs["ImGuiListClipper_ImGuiListClipper"][1]["constructor"] = true defs["ImGuiListClipper_ImGuiListClipper"][1]["defaults"] = {} defs["ImGuiListClipper_ImGuiListClipper"][1]["funcname"] = "ImGuiListClipper" -defs["ImGuiListClipper_ImGuiListClipper"][1]["location"] = "imgui:2204" +defs["ImGuiListClipper_ImGuiListClipper"][1]["location"] = "imgui:2306" defs["ImGuiListClipper_ImGuiListClipper"][1]["ov_cimguiname"] = "ImGuiListClipper_ImGuiListClipper" defs["ImGuiListClipper_ImGuiListClipper"][1]["signature"] = "()" defs["ImGuiListClipper_ImGuiListClipper"][1]["stname"] = "ImGuiListClipper" @@ -4014,7 +4207,7 @@ defs["ImGuiListClipper_Step"][1]["call_args"] = "()" defs["ImGuiListClipper_Step"][1]["cimguiname"] = "ImGuiListClipper_Step" defs["ImGuiListClipper_Step"][1]["defaults"] = {} defs["ImGuiListClipper_Step"][1]["funcname"] = "Step" -defs["ImGuiListClipper_Step"][1]["location"] = "imgui:2208" +defs["ImGuiListClipper_Step"][1]["location"] = "imgui:2310" defs["ImGuiListClipper_Step"][1]["ov_cimguiname"] = "ImGuiListClipper_Step" defs["ImGuiListClipper_Step"][1]["ret"] = "bool" defs["ImGuiListClipper_Step"][1]["signature"] = "()" @@ -4031,7 +4224,7 @@ defs["ImGuiListClipper_destroy"][1]["call_args"] = "(self)" defs["ImGuiListClipper_destroy"][1]["cimguiname"] = "ImGuiListClipper_destroy" defs["ImGuiListClipper_destroy"][1]["defaults"] = {} defs["ImGuiListClipper_destroy"][1]["destructor"] = true -defs["ImGuiListClipper_destroy"][1]["location"] = "imgui:2205" +defs["ImGuiListClipper_destroy"][1]["location"] = "imgui:2307" defs["ImGuiListClipper_destroy"][1]["ov_cimguiname"] = "ImGuiListClipper_destroy" defs["ImGuiListClipper_destroy"][1]["realdestructor"] = true defs["ImGuiListClipper_destroy"][1]["ret"] = "void" @@ -4048,7 +4241,7 @@ defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["cimguiname"] = "ImGuiOnceUpo defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["constructor"] = true defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["defaults"] = {} defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["funcname"] = "ImGuiOnceUponAFrame" -defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["location"] = "imgui:2070" +defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["location"] = "imgui:2172" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["ov_cimguiname"] = "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["signature"] = "()" defs["ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"][1]["stname"] = "ImGuiOnceUponAFrame" @@ -4081,7 +4274,7 @@ defs["ImGuiPayload_Clear"][1]["call_args"] = "()" defs["ImGuiPayload_Clear"][1]["cimguiname"] = "ImGuiPayload_Clear" defs["ImGuiPayload_Clear"][1]["defaults"] = {} defs["ImGuiPayload_Clear"][1]["funcname"] = "Clear" -defs["ImGuiPayload_Clear"][1]["location"] = "imgui:2024" +defs["ImGuiPayload_Clear"][1]["location"] = "imgui:2126" defs["ImGuiPayload_Clear"][1]["ov_cimguiname"] = "ImGuiPayload_Clear" defs["ImGuiPayload_Clear"][1]["ret"] = "void" defs["ImGuiPayload_Clear"][1]["signature"] = "()" @@ -4097,7 +4290,7 @@ defs["ImGuiPayload_ImGuiPayload"][1]["cimguiname"] = "ImGuiPayload_ImGuiPayload" defs["ImGuiPayload_ImGuiPayload"][1]["constructor"] = true defs["ImGuiPayload_ImGuiPayload"][1]["defaults"] = {} defs["ImGuiPayload_ImGuiPayload"][1]["funcname"] = "ImGuiPayload" -defs["ImGuiPayload_ImGuiPayload"][1]["location"] = "imgui:2023" +defs["ImGuiPayload_ImGuiPayload"][1]["location"] = "imgui:2125" defs["ImGuiPayload_ImGuiPayload"][1]["ov_cimguiname"] = "ImGuiPayload_ImGuiPayload" defs["ImGuiPayload_ImGuiPayload"][1]["signature"] = "()" defs["ImGuiPayload_ImGuiPayload"][1]["stname"] = "ImGuiPayload" @@ -4117,7 +4310,7 @@ defs["ImGuiPayload_IsDataType"][1]["call_args"] = "(type)" defs["ImGuiPayload_IsDataType"][1]["cimguiname"] = "ImGuiPayload_IsDataType" defs["ImGuiPayload_IsDataType"][1]["defaults"] = {} defs["ImGuiPayload_IsDataType"][1]["funcname"] = "IsDataType" -defs["ImGuiPayload_IsDataType"][1]["location"] = "imgui:2025" +defs["ImGuiPayload_IsDataType"][1]["location"] = "imgui:2127" defs["ImGuiPayload_IsDataType"][1]["ov_cimguiname"] = "ImGuiPayload_IsDataType" defs["ImGuiPayload_IsDataType"][1]["ret"] = "bool" defs["ImGuiPayload_IsDataType"][1]["signature"] = "(const char*)const" @@ -4135,7 +4328,7 @@ defs["ImGuiPayload_IsDelivery"][1]["call_args"] = "()" defs["ImGuiPayload_IsDelivery"][1]["cimguiname"] = "ImGuiPayload_IsDelivery" defs["ImGuiPayload_IsDelivery"][1]["defaults"] = {} defs["ImGuiPayload_IsDelivery"][1]["funcname"] = "IsDelivery" -defs["ImGuiPayload_IsDelivery"][1]["location"] = "imgui:2027" +defs["ImGuiPayload_IsDelivery"][1]["location"] = "imgui:2129" defs["ImGuiPayload_IsDelivery"][1]["ov_cimguiname"] = "ImGuiPayload_IsDelivery" defs["ImGuiPayload_IsDelivery"][1]["ret"] = "bool" defs["ImGuiPayload_IsDelivery"][1]["signature"] = "()const" @@ -4153,7 +4346,7 @@ defs["ImGuiPayload_IsPreview"][1]["call_args"] = "()" defs["ImGuiPayload_IsPreview"][1]["cimguiname"] = "ImGuiPayload_IsPreview" defs["ImGuiPayload_IsPreview"][1]["defaults"] = {} defs["ImGuiPayload_IsPreview"][1]["funcname"] = "IsPreview" -defs["ImGuiPayload_IsPreview"][1]["location"] = "imgui:2026" +defs["ImGuiPayload_IsPreview"][1]["location"] = "imgui:2128" defs["ImGuiPayload_IsPreview"][1]["ov_cimguiname"] = "ImGuiPayload_IsPreview" defs["ImGuiPayload_IsPreview"][1]["ret"] = "bool" defs["ImGuiPayload_IsPreview"][1]["signature"] = "()const" @@ -4175,6 +4368,37 @@ defs["ImGuiPayload_destroy"][1]["ret"] = "void" defs["ImGuiPayload_destroy"][1]["signature"] = "(ImGuiPayload*)" defs["ImGuiPayload_destroy"][1]["stname"] = "ImGuiPayload" defs["ImGuiPayload_destroy"]["(ImGuiPayload*)"] = defs["ImGuiPayload_destroy"][1] +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["args"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["argsT"] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["argsoriginal"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["call_args"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["cimguiname"] = "ImGuiPlatformImeData_ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["constructor"] = true +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["defaults"] = {} +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["funcname"] = "ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["location"] = "imgui:2946" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["ov_cimguiname"] = "ImGuiPlatformImeData_ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["signature"] = "()" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1]["stname"] = "ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_ImGuiPlatformImeData"]["()"] = defs["ImGuiPlatformImeData_ImGuiPlatformImeData"][1] +defs["ImGuiPlatformImeData_destroy"] = {} +defs["ImGuiPlatformImeData_destroy"][1] = {} +defs["ImGuiPlatformImeData_destroy"][1]["args"] = "(ImGuiPlatformImeData* self)" +defs["ImGuiPlatformImeData_destroy"][1]["argsT"] = {} +defs["ImGuiPlatformImeData_destroy"][1]["argsT"][1] = {} +defs["ImGuiPlatformImeData_destroy"][1]["argsT"][1]["name"] = "self" +defs["ImGuiPlatformImeData_destroy"][1]["argsT"][1]["type"] = "ImGuiPlatformImeData*" +defs["ImGuiPlatformImeData_destroy"][1]["call_args"] = "(self)" +defs["ImGuiPlatformImeData_destroy"][1]["cimguiname"] = "ImGuiPlatformImeData_destroy" +defs["ImGuiPlatformImeData_destroy"][1]["defaults"] = {} +defs["ImGuiPlatformImeData_destroy"][1]["destructor"] = true +defs["ImGuiPlatformImeData_destroy"][1]["ov_cimguiname"] = "ImGuiPlatformImeData_destroy" +defs["ImGuiPlatformImeData_destroy"][1]["ret"] = "void" +defs["ImGuiPlatformImeData_destroy"][1]["signature"] = "(ImGuiPlatformImeData*)" +defs["ImGuiPlatformImeData_destroy"][1]["stname"] = "ImGuiPlatformImeData" +defs["ImGuiPlatformImeData_destroy"]["(ImGuiPlatformImeData*)"] = defs["ImGuiPlatformImeData_destroy"][1] defs["ImGuiStoragePair_ImGuiStoragePair"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][1] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][1]["args"] = "(ImGuiID _key,int _val_i)" @@ -4191,8 +4415,8 @@ defs["ImGuiStoragePair_ImGuiStoragePair"][1]["cimguiname"] = "ImGuiStoragePair_I defs["ImGuiStoragePair_ImGuiStoragePair"][1]["constructor"] = true defs["ImGuiStoragePair_ImGuiStoragePair"][1]["defaults"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][1]["funcname"] = "ImGuiStoragePair" -defs["ImGuiStoragePair_ImGuiStoragePair"][1]["location"] = "imgui:2137" -defs["ImGuiStoragePair_ImGuiStoragePair"][1]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePairInt" +defs["ImGuiStoragePair_ImGuiStoragePair"][1]["location"] = "imgui:2239" +defs["ImGuiStoragePair_ImGuiStoragePair"][1]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePair_Int" defs["ImGuiStoragePair_ImGuiStoragePair"][1]["signature"] = "(ImGuiID,int)" defs["ImGuiStoragePair_ImGuiStoragePair"][1]["stname"] = "ImGuiStoragePair" defs["ImGuiStoragePair_ImGuiStoragePair"][2] = {} @@ -4210,8 +4434,8 @@ defs["ImGuiStoragePair_ImGuiStoragePair"][2]["cimguiname"] = "ImGuiStoragePair_I defs["ImGuiStoragePair_ImGuiStoragePair"][2]["constructor"] = true defs["ImGuiStoragePair_ImGuiStoragePair"][2]["defaults"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][2]["funcname"] = "ImGuiStoragePair" -defs["ImGuiStoragePair_ImGuiStoragePair"][2]["location"] = "imgui:2138" -defs["ImGuiStoragePair_ImGuiStoragePair"][2]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePairFloat" +defs["ImGuiStoragePair_ImGuiStoragePair"][2]["location"] = "imgui:2240" +defs["ImGuiStoragePair_ImGuiStoragePair"][2]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePair_Float" defs["ImGuiStoragePair_ImGuiStoragePair"][2]["signature"] = "(ImGuiID,float)" defs["ImGuiStoragePair_ImGuiStoragePair"][2]["stname"] = "ImGuiStoragePair" defs["ImGuiStoragePair_ImGuiStoragePair"][3] = {} @@ -4229,8 +4453,8 @@ defs["ImGuiStoragePair_ImGuiStoragePair"][3]["cimguiname"] = "ImGuiStoragePair_I defs["ImGuiStoragePair_ImGuiStoragePair"][3]["constructor"] = true defs["ImGuiStoragePair_ImGuiStoragePair"][3]["defaults"] = {} defs["ImGuiStoragePair_ImGuiStoragePair"][3]["funcname"] = "ImGuiStoragePair" -defs["ImGuiStoragePair_ImGuiStoragePair"][3]["location"] = "imgui:2139" -defs["ImGuiStoragePair_ImGuiStoragePair"][3]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePairPtr" +defs["ImGuiStoragePair_ImGuiStoragePair"][3]["location"] = "imgui:2241" +defs["ImGuiStoragePair_ImGuiStoragePair"][3]["ov_cimguiname"] = "ImGuiStoragePair_ImGuiStoragePair_Ptr" defs["ImGuiStoragePair_ImGuiStoragePair"][3]["signature"] = "(ImGuiID,void*)" defs["ImGuiStoragePair_ImGuiStoragePair"][3]["stname"] = "ImGuiStoragePair" defs["ImGuiStoragePair_ImGuiStoragePair"]["(ImGuiID,float)"] = defs["ImGuiStoragePair_ImGuiStoragePair"][2] @@ -4264,7 +4488,7 @@ defs["ImGuiStorage_BuildSortByKey"][1]["call_args"] = "()" defs["ImGuiStorage_BuildSortByKey"][1]["cimguiname"] = "ImGuiStorage_BuildSortByKey" defs["ImGuiStorage_BuildSortByKey"][1]["defaults"] = {} defs["ImGuiStorage_BuildSortByKey"][1]["funcname"] = "BuildSortByKey" -defs["ImGuiStorage_BuildSortByKey"][1]["location"] = "imgui:2170" +defs["ImGuiStorage_BuildSortByKey"][1]["location"] = "imgui:2272" defs["ImGuiStorage_BuildSortByKey"][1]["ov_cimguiname"] = "ImGuiStorage_BuildSortByKey" defs["ImGuiStorage_BuildSortByKey"][1]["ret"] = "void" defs["ImGuiStorage_BuildSortByKey"][1]["signature"] = "()" @@ -4282,7 +4506,7 @@ defs["ImGuiStorage_Clear"][1]["call_args"] = "()" defs["ImGuiStorage_Clear"][1]["cimguiname"] = "ImGuiStorage_Clear" defs["ImGuiStorage_Clear"][1]["defaults"] = {} defs["ImGuiStorage_Clear"][1]["funcname"] = "Clear" -defs["ImGuiStorage_Clear"][1]["location"] = "imgui:2147" +defs["ImGuiStorage_Clear"][1]["location"] = "imgui:2249" defs["ImGuiStorage_Clear"][1]["ov_cimguiname"] = "ImGuiStorage_Clear" defs["ImGuiStorage_Clear"][1]["ret"] = "void" defs["ImGuiStorage_Clear"][1]["signature"] = "()" @@ -4307,7 +4531,7 @@ defs["ImGuiStorage_GetBool"][1]["cimguiname"] = "ImGuiStorage_GetBool" defs["ImGuiStorage_GetBool"][1]["defaults"] = {} defs["ImGuiStorage_GetBool"][1]["defaults"]["default_val"] = "false" defs["ImGuiStorage_GetBool"][1]["funcname"] = "GetBool" -defs["ImGuiStorage_GetBool"][1]["location"] = "imgui:2150" +defs["ImGuiStorage_GetBool"][1]["location"] = "imgui:2252" defs["ImGuiStorage_GetBool"][1]["ov_cimguiname"] = "ImGuiStorage_GetBool" defs["ImGuiStorage_GetBool"][1]["ret"] = "bool" defs["ImGuiStorage_GetBool"][1]["signature"] = "(ImGuiID,bool)const" @@ -4332,7 +4556,7 @@ defs["ImGuiStorage_GetBoolRef"][1]["cimguiname"] = "ImGuiStorage_GetBoolRef" defs["ImGuiStorage_GetBoolRef"][1]["defaults"] = {} defs["ImGuiStorage_GetBoolRef"][1]["defaults"]["default_val"] = "false" defs["ImGuiStorage_GetBoolRef"][1]["funcname"] = "GetBoolRef" -defs["ImGuiStorage_GetBoolRef"][1]["location"] = "imgui:2162" +defs["ImGuiStorage_GetBoolRef"][1]["location"] = "imgui:2264" defs["ImGuiStorage_GetBoolRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetBoolRef" defs["ImGuiStorage_GetBoolRef"][1]["ret"] = "bool*" defs["ImGuiStorage_GetBoolRef"][1]["signature"] = "(ImGuiID,bool)" @@ -4357,7 +4581,7 @@ defs["ImGuiStorage_GetFloat"][1]["cimguiname"] = "ImGuiStorage_GetFloat" defs["ImGuiStorage_GetFloat"][1]["defaults"] = {} defs["ImGuiStorage_GetFloat"][1]["defaults"]["default_val"] = "0.0f" defs["ImGuiStorage_GetFloat"][1]["funcname"] = "GetFloat" -defs["ImGuiStorage_GetFloat"][1]["location"] = "imgui:2152" +defs["ImGuiStorage_GetFloat"][1]["location"] = "imgui:2254" defs["ImGuiStorage_GetFloat"][1]["ov_cimguiname"] = "ImGuiStorage_GetFloat" defs["ImGuiStorage_GetFloat"][1]["ret"] = "float" defs["ImGuiStorage_GetFloat"][1]["signature"] = "(ImGuiID,float)const" @@ -4382,7 +4606,7 @@ defs["ImGuiStorage_GetFloatRef"][1]["cimguiname"] = "ImGuiStorage_GetFloatRef" defs["ImGuiStorage_GetFloatRef"][1]["defaults"] = {} defs["ImGuiStorage_GetFloatRef"][1]["defaults"]["default_val"] = "0.0f" defs["ImGuiStorage_GetFloatRef"][1]["funcname"] = "GetFloatRef" -defs["ImGuiStorage_GetFloatRef"][1]["location"] = "imgui:2163" +defs["ImGuiStorage_GetFloatRef"][1]["location"] = "imgui:2265" defs["ImGuiStorage_GetFloatRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetFloatRef" defs["ImGuiStorage_GetFloatRef"][1]["ret"] = "float*" defs["ImGuiStorage_GetFloatRef"][1]["signature"] = "(ImGuiID,float)" @@ -4407,7 +4631,7 @@ defs["ImGuiStorage_GetInt"][1]["cimguiname"] = "ImGuiStorage_GetInt" defs["ImGuiStorage_GetInt"][1]["defaults"] = {} defs["ImGuiStorage_GetInt"][1]["defaults"]["default_val"] = "0" defs["ImGuiStorage_GetInt"][1]["funcname"] = "GetInt" -defs["ImGuiStorage_GetInt"][1]["location"] = "imgui:2148" +defs["ImGuiStorage_GetInt"][1]["location"] = "imgui:2250" defs["ImGuiStorage_GetInt"][1]["ov_cimguiname"] = "ImGuiStorage_GetInt" defs["ImGuiStorage_GetInt"][1]["ret"] = "int" defs["ImGuiStorage_GetInt"][1]["signature"] = "(ImGuiID,int)const" @@ -4432,7 +4656,7 @@ defs["ImGuiStorage_GetIntRef"][1]["cimguiname"] = "ImGuiStorage_GetIntRef" defs["ImGuiStorage_GetIntRef"][1]["defaults"] = {} defs["ImGuiStorage_GetIntRef"][1]["defaults"]["default_val"] = "0" defs["ImGuiStorage_GetIntRef"][1]["funcname"] = "GetIntRef" -defs["ImGuiStorage_GetIntRef"][1]["location"] = "imgui:2161" +defs["ImGuiStorage_GetIntRef"][1]["location"] = "imgui:2263" defs["ImGuiStorage_GetIntRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetIntRef" defs["ImGuiStorage_GetIntRef"][1]["ret"] = "int*" defs["ImGuiStorage_GetIntRef"][1]["signature"] = "(ImGuiID,int)" @@ -4453,7 +4677,7 @@ defs["ImGuiStorage_GetVoidPtr"][1]["call_args"] = "(key)" defs["ImGuiStorage_GetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtr" defs["ImGuiStorage_GetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtr"][1]["funcname"] = "GetVoidPtr" -defs["ImGuiStorage_GetVoidPtr"][1]["location"] = "imgui:2154" +defs["ImGuiStorage_GetVoidPtr"][1]["location"] = "imgui:2256" defs["ImGuiStorage_GetVoidPtr"][1]["ov_cimguiname"] = "ImGuiStorage_GetVoidPtr" defs["ImGuiStorage_GetVoidPtr"][1]["ret"] = "void*" defs["ImGuiStorage_GetVoidPtr"][1]["signature"] = "(ImGuiID)const" @@ -4478,7 +4702,7 @@ defs["ImGuiStorage_GetVoidPtrRef"][1]["cimguiname"] = "ImGuiStorage_GetVoidPtrRe defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"] = {} defs["ImGuiStorage_GetVoidPtrRef"][1]["defaults"]["default_val"] = "NULL" defs["ImGuiStorage_GetVoidPtrRef"][1]["funcname"] = "GetVoidPtrRef" -defs["ImGuiStorage_GetVoidPtrRef"][1]["location"] = "imgui:2164" +defs["ImGuiStorage_GetVoidPtrRef"][1]["location"] = "imgui:2266" defs["ImGuiStorage_GetVoidPtrRef"][1]["ov_cimguiname"] = "ImGuiStorage_GetVoidPtrRef" defs["ImGuiStorage_GetVoidPtrRef"][1]["ret"] = "void**" defs["ImGuiStorage_GetVoidPtrRef"][1]["signature"] = "(ImGuiID,void*)" @@ -4499,7 +4723,7 @@ defs["ImGuiStorage_SetAllInt"][1]["call_args"] = "(val)" defs["ImGuiStorage_SetAllInt"][1]["cimguiname"] = "ImGuiStorage_SetAllInt" defs["ImGuiStorage_SetAllInt"][1]["defaults"] = {} defs["ImGuiStorage_SetAllInt"][1]["funcname"] = "SetAllInt" -defs["ImGuiStorage_SetAllInt"][1]["location"] = "imgui:2167" +defs["ImGuiStorage_SetAllInt"][1]["location"] = "imgui:2269" defs["ImGuiStorage_SetAllInt"][1]["ov_cimguiname"] = "ImGuiStorage_SetAllInt" defs["ImGuiStorage_SetAllInt"][1]["ret"] = "void" defs["ImGuiStorage_SetAllInt"][1]["signature"] = "(int)" @@ -4523,7 +4747,7 @@ defs["ImGuiStorage_SetBool"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetBool"][1]["cimguiname"] = "ImGuiStorage_SetBool" defs["ImGuiStorage_SetBool"][1]["defaults"] = {} defs["ImGuiStorage_SetBool"][1]["funcname"] = "SetBool" -defs["ImGuiStorage_SetBool"][1]["location"] = "imgui:2151" +defs["ImGuiStorage_SetBool"][1]["location"] = "imgui:2253" defs["ImGuiStorage_SetBool"][1]["ov_cimguiname"] = "ImGuiStorage_SetBool" defs["ImGuiStorage_SetBool"][1]["ret"] = "void" defs["ImGuiStorage_SetBool"][1]["signature"] = "(ImGuiID,bool)" @@ -4547,7 +4771,7 @@ defs["ImGuiStorage_SetFloat"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetFloat"][1]["cimguiname"] = "ImGuiStorage_SetFloat" defs["ImGuiStorage_SetFloat"][1]["defaults"] = {} defs["ImGuiStorage_SetFloat"][1]["funcname"] = "SetFloat" -defs["ImGuiStorage_SetFloat"][1]["location"] = "imgui:2153" +defs["ImGuiStorage_SetFloat"][1]["location"] = "imgui:2255" defs["ImGuiStorage_SetFloat"][1]["ov_cimguiname"] = "ImGuiStorage_SetFloat" defs["ImGuiStorage_SetFloat"][1]["ret"] = "void" defs["ImGuiStorage_SetFloat"][1]["signature"] = "(ImGuiID,float)" @@ -4571,7 +4795,7 @@ defs["ImGuiStorage_SetInt"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetInt"][1]["cimguiname"] = "ImGuiStorage_SetInt" defs["ImGuiStorage_SetInt"][1]["defaults"] = {} defs["ImGuiStorage_SetInt"][1]["funcname"] = "SetInt" -defs["ImGuiStorage_SetInt"][1]["location"] = "imgui:2149" +defs["ImGuiStorage_SetInt"][1]["location"] = "imgui:2251" defs["ImGuiStorage_SetInt"][1]["ov_cimguiname"] = "ImGuiStorage_SetInt" defs["ImGuiStorage_SetInt"][1]["ret"] = "void" defs["ImGuiStorage_SetInt"][1]["signature"] = "(ImGuiID,int)" @@ -4595,7 +4819,7 @@ defs["ImGuiStorage_SetVoidPtr"][1]["call_args"] = "(key,val)" defs["ImGuiStorage_SetVoidPtr"][1]["cimguiname"] = "ImGuiStorage_SetVoidPtr" defs["ImGuiStorage_SetVoidPtr"][1]["defaults"] = {} defs["ImGuiStorage_SetVoidPtr"][1]["funcname"] = "SetVoidPtr" -defs["ImGuiStorage_SetVoidPtr"][1]["location"] = "imgui:2155" +defs["ImGuiStorage_SetVoidPtr"][1]["location"] = "imgui:2257" defs["ImGuiStorage_SetVoidPtr"][1]["ov_cimguiname"] = "ImGuiStorage_SetVoidPtr" defs["ImGuiStorage_SetVoidPtr"][1]["ret"] = "void" defs["ImGuiStorage_SetVoidPtr"][1]["signature"] = "(ImGuiID,void*)" @@ -4611,7 +4835,7 @@ defs["ImGuiStyle_ImGuiStyle"][1]["cimguiname"] = "ImGuiStyle_ImGuiStyle" defs["ImGuiStyle_ImGuiStyle"][1]["constructor"] = true defs["ImGuiStyle_ImGuiStyle"][1]["defaults"] = {} defs["ImGuiStyle_ImGuiStyle"][1]["funcname"] = "ImGuiStyle" -defs["ImGuiStyle_ImGuiStyle"][1]["location"] = "imgui:1809" +defs["ImGuiStyle_ImGuiStyle"][1]["location"] = "imgui:1877" defs["ImGuiStyle_ImGuiStyle"][1]["ov_cimguiname"] = "ImGuiStyle_ImGuiStyle" defs["ImGuiStyle_ImGuiStyle"][1]["signature"] = "()" defs["ImGuiStyle_ImGuiStyle"][1]["stname"] = "ImGuiStyle" @@ -4631,7 +4855,7 @@ defs["ImGuiStyle_ScaleAllSizes"][1]["call_args"] = "(scale_factor)" defs["ImGuiStyle_ScaleAllSizes"][1]["cimguiname"] = "ImGuiStyle_ScaleAllSizes" defs["ImGuiStyle_ScaleAllSizes"][1]["defaults"] = {} defs["ImGuiStyle_ScaleAllSizes"][1]["funcname"] = "ScaleAllSizes" -defs["ImGuiStyle_ScaleAllSizes"][1]["location"] = "imgui:1810" +defs["ImGuiStyle_ScaleAllSizes"][1]["location"] = "imgui:1878" defs["ImGuiStyle_ScaleAllSizes"][1]["ov_cimguiname"] = "ImGuiStyle_ScaleAllSizes" defs["ImGuiStyle_ScaleAllSizes"][1]["ret"] = "void" defs["ImGuiStyle_ScaleAllSizes"][1]["signature"] = "(float)" @@ -4663,7 +4887,7 @@ defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["cimguiname"] = " defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["constructor"] = true defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["defaults"] = {} defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["funcname"] = "ImGuiTableColumnSortSpecs" -defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["location"] = "imgui:2038" +defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["location"] = "imgui:2140" defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["ov_cimguiname"] = "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs" defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["signature"] = "()" defs["ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"][1]["stname"] = "ImGuiTableColumnSortSpecs" @@ -4694,7 +4918,7 @@ defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["cimguiname"] = "ImGuiTableSo defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["constructor"] = true defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["defaults"] = {} defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["funcname"] = "ImGuiTableSortSpecs" -defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["location"] = "imgui:2051" +defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["location"] = "imgui:2153" defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["ov_cimguiname"] = "ImGuiTableSortSpecs_ImGuiTableSortSpecs" defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["signature"] = "()" defs["ImGuiTableSortSpecs_ImGuiTableSortSpecs"][1]["stname"] = "ImGuiTableSortSpecs" @@ -4725,7 +4949,7 @@ defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["cimguiname"] = "ImGuiTextBuffer_ImGu defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["constructor"] = true defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["defaults"] = {} defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["funcname"] = "ImGuiTextBuffer" -defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["location"] = "imgui:2108" +defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["location"] = "imgui:2210" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["ov_cimguiname"] = "ImGuiTextBuffer_ImGuiTextBuffer" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["signature"] = "()" defs["ImGuiTextBuffer_ImGuiTextBuffer"][1]["stname"] = "ImGuiTextBuffer" @@ -4749,7 +4973,7 @@ defs["ImGuiTextBuffer_append"][1]["cimguiname"] = "ImGuiTextBuffer_append" defs["ImGuiTextBuffer_append"][1]["defaults"] = {} defs["ImGuiTextBuffer_append"][1]["defaults"]["str_end"] = "NULL" defs["ImGuiTextBuffer_append"][1]["funcname"] = "append" -defs["ImGuiTextBuffer_append"][1]["location"] = "imgui:2117" +defs["ImGuiTextBuffer_append"][1]["location"] = "imgui:2219" defs["ImGuiTextBuffer_append"][1]["ov_cimguiname"] = "ImGuiTextBuffer_append" defs["ImGuiTextBuffer_append"][1]["ret"] = "void" defs["ImGuiTextBuffer_append"][1]["signature"] = "(const char*,const char*)" @@ -4774,7 +4998,7 @@ defs["ImGuiTextBuffer_appendf"][1]["cimguiname"] = "ImGuiTextBuffer_appendf" defs["ImGuiTextBuffer_appendf"][1]["defaults"] = {} defs["ImGuiTextBuffer_appendf"][1]["funcname"] = "appendf" defs["ImGuiTextBuffer_appendf"][1]["isvararg"] = "...)" -defs["ImGuiTextBuffer_appendf"][1]["location"] = "imgui:2118" +defs["ImGuiTextBuffer_appendf"][1]["location"] = "imgui:2220" defs["ImGuiTextBuffer_appendf"][1]["manual"] = true defs["ImGuiTextBuffer_appendf"][1]["ov_cimguiname"] = "ImGuiTextBuffer_appendf" defs["ImGuiTextBuffer_appendf"][1]["ret"] = "void" @@ -4799,7 +5023,7 @@ defs["ImGuiTextBuffer_appendfv"][1]["call_args"] = "(fmt,args)" defs["ImGuiTextBuffer_appendfv"][1]["cimguiname"] = "ImGuiTextBuffer_appendfv" defs["ImGuiTextBuffer_appendfv"][1]["defaults"] = {} defs["ImGuiTextBuffer_appendfv"][1]["funcname"] = "appendfv" -defs["ImGuiTextBuffer_appendfv"][1]["location"] = "imgui:2119" +defs["ImGuiTextBuffer_appendfv"][1]["location"] = "imgui:2221" defs["ImGuiTextBuffer_appendfv"][1]["ov_cimguiname"] = "ImGuiTextBuffer_appendfv" defs["ImGuiTextBuffer_appendfv"][1]["ret"] = "void" defs["ImGuiTextBuffer_appendfv"][1]["signature"] = "(const char*,va_list)" @@ -4817,7 +5041,7 @@ defs["ImGuiTextBuffer_begin"][1]["call_args"] = "()" defs["ImGuiTextBuffer_begin"][1]["cimguiname"] = "ImGuiTextBuffer_begin" defs["ImGuiTextBuffer_begin"][1]["defaults"] = {} defs["ImGuiTextBuffer_begin"][1]["funcname"] = "begin" -defs["ImGuiTextBuffer_begin"][1]["location"] = "imgui:2110" +defs["ImGuiTextBuffer_begin"][1]["location"] = "imgui:2212" defs["ImGuiTextBuffer_begin"][1]["ov_cimguiname"] = "ImGuiTextBuffer_begin" defs["ImGuiTextBuffer_begin"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_begin"][1]["signature"] = "()const" @@ -4835,7 +5059,7 @@ defs["ImGuiTextBuffer_c_str"][1]["call_args"] = "()" defs["ImGuiTextBuffer_c_str"][1]["cimguiname"] = "ImGuiTextBuffer_c_str" defs["ImGuiTextBuffer_c_str"][1]["defaults"] = {} defs["ImGuiTextBuffer_c_str"][1]["funcname"] = "c_str" -defs["ImGuiTextBuffer_c_str"][1]["location"] = "imgui:2116" +defs["ImGuiTextBuffer_c_str"][1]["location"] = "imgui:2218" defs["ImGuiTextBuffer_c_str"][1]["ov_cimguiname"] = "ImGuiTextBuffer_c_str" defs["ImGuiTextBuffer_c_str"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_c_str"][1]["signature"] = "()const" @@ -4853,7 +5077,7 @@ defs["ImGuiTextBuffer_clear"][1]["call_args"] = "()" defs["ImGuiTextBuffer_clear"][1]["cimguiname"] = "ImGuiTextBuffer_clear" defs["ImGuiTextBuffer_clear"][1]["defaults"] = {} defs["ImGuiTextBuffer_clear"][1]["funcname"] = "clear" -defs["ImGuiTextBuffer_clear"][1]["location"] = "imgui:2114" +defs["ImGuiTextBuffer_clear"][1]["location"] = "imgui:2216" defs["ImGuiTextBuffer_clear"][1]["ov_cimguiname"] = "ImGuiTextBuffer_clear" defs["ImGuiTextBuffer_clear"][1]["ret"] = "void" defs["ImGuiTextBuffer_clear"][1]["signature"] = "()" @@ -4887,7 +5111,7 @@ defs["ImGuiTextBuffer_empty"][1]["call_args"] = "()" defs["ImGuiTextBuffer_empty"][1]["cimguiname"] = "ImGuiTextBuffer_empty" defs["ImGuiTextBuffer_empty"][1]["defaults"] = {} defs["ImGuiTextBuffer_empty"][1]["funcname"] = "empty" -defs["ImGuiTextBuffer_empty"][1]["location"] = "imgui:2113" +defs["ImGuiTextBuffer_empty"][1]["location"] = "imgui:2215" defs["ImGuiTextBuffer_empty"][1]["ov_cimguiname"] = "ImGuiTextBuffer_empty" defs["ImGuiTextBuffer_empty"][1]["ret"] = "bool" defs["ImGuiTextBuffer_empty"][1]["signature"] = "()const" @@ -4905,7 +5129,7 @@ defs["ImGuiTextBuffer_end"][1]["call_args"] = "()" defs["ImGuiTextBuffer_end"][1]["cimguiname"] = "ImGuiTextBuffer_end" defs["ImGuiTextBuffer_end"][1]["defaults"] = {} defs["ImGuiTextBuffer_end"][1]["funcname"] = "end" -defs["ImGuiTextBuffer_end"][1]["location"] = "imgui:2111" +defs["ImGuiTextBuffer_end"][1]["location"] = "imgui:2213" defs["ImGuiTextBuffer_end"][1]["ov_cimguiname"] = "ImGuiTextBuffer_end" defs["ImGuiTextBuffer_end"][1]["ret"] = "const char*" defs["ImGuiTextBuffer_end"][1]["signature"] = "()const" @@ -4926,7 +5150,7 @@ defs["ImGuiTextBuffer_reserve"][1]["call_args"] = "(capacity)" defs["ImGuiTextBuffer_reserve"][1]["cimguiname"] = "ImGuiTextBuffer_reserve" defs["ImGuiTextBuffer_reserve"][1]["defaults"] = {} defs["ImGuiTextBuffer_reserve"][1]["funcname"] = "reserve" -defs["ImGuiTextBuffer_reserve"][1]["location"] = "imgui:2115" +defs["ImGuiTextBuffer_reserve"][1]["location"] = "imgui:2217" defs["ImGuiTextBuffer_reserve"][1]["ov_cimguiname"] = "ImGuiTextBuffer_reserve" defs["ImGuiTextBuffer_reserve"][1]["ret"] = "void" defs["ImGuiTextBuffer_reserve"][1]["signature"] = "(int)" @@ -4944,7 +5168,7 @@ defs["ImGuiTextBuffer_size"][1]["call_args"] = "()" defs["ImGuiTextBuffer_size"][1]["cimguiname"] = "ImGuiTextBuffer_size" defs["ImGuiTextBuffer_size"][1]["defaults"] = {} defs["ImGuiTextBuffer_size"][1]["funcname"] = "size" -defs["ImGuiTextBuffer_size"][1]["location"] = "imgui:2112" +defs["ImGuiTextBuffer_size"][1]["location"] = "imgui:2214" defs["ImGuiTextBuffer_size"][1]["ov_cimguiname"] = "ImGuiTextBuffer_size" defs["ImGuiTextBuffer_size"][1]["ret"] = "int" defs["ImGuiTextBuffer_size"][1]["signature"] = "()const" @@ -4962,7 +5186,7 @@ defs["ImGuiTextFilter_Build"][1]["call_args"] = "()" defs["ImGuiTextFilter_Build"][1]["cimguiname"] = "ImGuiTextFilter_Build" defs["ImGuiTextFilter_Build"][1]["defaults"] = {} defs["ImGuiTextFilter_Build"][1]["funcname"] = "Build" -defs["ImGuiTextFilter_Build"][1]["location"] = "imgui:2081" +defs["ImGuiTextFilter_Build"][1]["location"] = "imgui:2183" defs["ImGuiTextFilter_Build"][1]["ov_cimguiname"] = "ImGuiTextFilter_Build" defs["ImGuiTextFilter_Build"][1]["ret"] = "void" defs["ImGuiTextFilter_Build"][1]["signature"] = "()" @@ -4980,7 +5204,7 @@ defs["ImGuiTextFilter_Clear"][1]["call_args"] = "()" defs["ImGuiTextFilter_Clear"][1]["cimguiname"] = "ImGuiTextFilter_Clear" defs["ImGuiTextFilter_Clear"][1]["defaults"] = {} defs["ImGuiTextFilter_Clear"][1]["funcname"] = "Clear" -defs["ImGuiTextFilter_Clear"][1]["location"] = "imgui:2082" +defs["ImGuiTextFilter_Clear"][1]["location"] = "imgui:2184" defs["ImGuiTextFilter_Clear"][1]["ov_cimguiname"] = "ImGuiTextFilter_Clear" defs["ImGuiTextFilter_Clear"][1]["ret"] = "void" defs["ImGuiTextFilter_Clear"][1]["signature"] = "()" @@ -5006,7 +5230,7 @@ defs["ImGuiTextFilter_Draw"][1]["defaults"] = {} defs["ImGuiTextFilter_Draw"][1]["defaults"]["label"] = "\"Filter(inc,-exc)\"" defs["ImGuiTextFilter_Draw"][1]["defaults"]["width"] = "0.0f" defs["ImGuiTextFilter_Draw"][1]["funcname"] = "Draw" -defs["ImGuiTextFilter_Draw"][1]["location"] = "imgui:2079" +defs["ImGuiTextFilter_Draw"][1]["location"] = "imgui:2181" defs["ImGuiTextFilter_Draw"][1]["ov_cimguiname"] = "ImGuiTextFilter_Draw" defs["ImGuiTextFilter_Draw"][1]["ret"] = "bool" defs["ImGuiTextFilter_Draw"][1]["signature"] = "(const char*,float)" @@ -5026,7 +5250,7 @@ defs["ImGuiTextFilter_ImGuiTextFilter"][1]["constructor"] = true defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"] = {} defs["ImGuiTextFilter_ImGuiTextFilter"][1]["defaults"]["default_filter"] = "\"\"" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["funcname"] = "ImGuiTextFilter" -defs["ImGuiTextFilter_ImGuiTextFilter"][1]["location"] = "imgui:2078" +defs["ImGuiTextFilter_ImGuiTextFilter"][1]["location"] = "imgui:2180" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["ov_cimguiname"] = "ImGuiTextFilter_ImGuiTextFilter" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["signature"] = "(const char*)" defs["ImGuiTextFilter_ImGuiTextFilter"][1]["stname"] = "ImGuiTextFilter" @@ -5043,7 +5267,7 @@ defs["ImGuiTextFilter_IsActive"][1]["call_args"] = "()" defs["ImGuiTextFilter_IsActive"][1]["cimguiname"] = "ImGuiTextFilter_IsActive" defs["ImGuiTextFilter_IsActive"][1]["defaults"] = {} defs["ImGuiTextFilter_IsActive"][1]["funcname"] = "IsActive" -defs["ImGuiTextFilter_IsActive"][1]["location"] = "imgui:2083" +defs["ImGuiTextFilter_IsActive"][1]["location"] = "imgui:2185" defs["ImGuiTextFilter_IsActive"][1]["ov_cimguiname"] = "ImGuiTextFilter_IsActive" defs["ImGuiTextFilter_IsActive"][1]["ret"] = "bool" defs["ImGuiTextFilter_IsActive"][1]["signature"] = "()const" @@ -5068,7 +5292,7 @@ defs["ImGuiTextFilter_PassFilter"][1]["cimguiname"] = "ImGuiTextFilter_PassFilte defs["ImGuiTextFilter_PassFilter"][1]["defaults"] = {} defs["ImGuiTextFilter_PassFilter"][1]["defaults"]["text_end"] = "NULL" defs["ImGuiTextFilter_PassFilter"][1]["funcname"] = "PassFilter" -defs["ImGuiTextFilter_PassFilter"][1]["location"] = "imgui:2080" +defs["ImGuiTextFilter_PassFilter"][1]["location"] = "imgui:2182" defs["ImGuiTextFilter_PassFilter"][1]["ov_cimguiname"] = "ImGuiTextFilter_PassFilter" defs["ImGuiTextFilter_PassFilter"][1]["ret"] = "bool" defs["ImGuiTextFilter_PassFilter"][1]["signature"] = "(const char*,const char*)const" @@ -5100,8 +5324,8 @@ defs["ImGuiTextRange_ImGuiTextRange"][1]["cimguiname"] = "ImGuiTextRange_ImGuiTe defs["ImGuiTextRange_ImGuiTextRange"][1]["constructor"] = true defs["ImGuiTextRange_ImGuiTextRange"][1]["defaults"] = {} defs["ImGuiTextRange_ImGuiTextRange"][1]["funcname"] = "ImGuiTextRange" -defs["ImGuiTextRange_ImGuiTextRange"][1]["location"] = "imgui:2091" -defs["ImGuiTextRange_ImGuiTextRange"][1]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRangeNil" +defs["ImGuiTextRange_ImGuiTextRange"][1]["location"] = "imgui:2193" +defs["ImGuiTextRange_ImGuiTextRange"][1]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRange_Nil" defs["ImGuiTextRange_ImGuiTextRange"][1]["signature"] = "()" defs["ImGuiTextRange_ImGuiTextRange"][1]["stname"] = "ImGuiTextRange" defs["ImGuiTextRange_ImGuiTextRange"][2] = {} @@ -5119,8 +5343,8 @@ defs["ImGuiTextRange_ImGuiTextRange"][2]["cimguiname"] = "ImGuiTextRange_ImGuiTe defs["ImGuiTextRange_ImGuiTextRange"][2]["constructor"] = true defs["ImGuiTextRange_ImGuiTextRange"][2]["defaults"] = {} defs["ImGuiTextRange_ImGuiTextRange"][2]["funcname"] = "ImGuiTextRange" -defs["ImGuiTextRange_ImGuiTextRange"][2]["location"] = "imgui:2092" -defs["ImGuiTextRange_ImGuiTextRange"][2]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRangeStr" +defs["ImGuiTextRange_ImGuiTextRange"][2]["location"] = "imgui:2194" +defs["ImGuiTextRange_ImGuiTextRange"][2]["ov_cimguiname"] = "ImGuiTextRange_ImGuiTextRange_Str" defs["ImGuiTextRange_ImGuiTextRange"][2]["signature"] = "(const char*,const char*)" defs["ImGuiTextRange_ImGuiTextRange"][2]["stname"] = "ImGuiTextRange" defs["ImGuiTextRange_ImGuiTextRange"]["()"] = defs["ImGuiTextRange_ImGuiTextRange"][1] @@ -5153,7 +5377,7 @@ defs["ImGuiTextRange_empty"][1]["call_args"] = "()" defs["ImGuiTextRange_empty"][1]["cimguiname"] = "ImGuiTextRange_empty" defs["ImGuiTextRange_empty"][1]["defaults"] = {} defs["ImGuiTextRange_empty"][1]["funcname"] = "empty" -defs["ImGuiTextRange_empty"][1]["location"] = "imgui:2093" +defs["ImGuiTextRange_empty"][1]["location"] = "imgui:2195" defs["ImGuiTextRange_empty"][1]["ov_cimguiname"] = "ImGuiTextRange_empty" defs["ImGuiTextRange_empty"][1]["ret"] = "bool" defs["ImGuiTextRange_empty"][1]["signature"] = "()const" @@ -5177,7 +5401,7 @@ defs["ImGuiTextRange_split"][1]["call_args"] = "(separator,out)" defs["ImGuiTextRange_split"][1]["cimguiname"] = "ImGuiTextRange_split" defs["ImGuiTextRange_split"][1]["defaults"] = {} defs["ImGuiTextRange_split"][1]["funcname"] = "split" -defs["ImGuiTextRange_split"][1]["location"] = "imgui:2094" +defs["ImGuiTextRange_split"][1]["location"] = "imgui:2196" defs["ImGuiTextRange_split"][1]["ov_cimguiname"] = "ImGuiTextRange_split" defs["ImGuiTextRange_split"][1]["ret"] = "void" defs["ImGuiTextRange_split"][1]["signature"] = "(char,ImVector_ImGuiTextRange*)const" @@ -5198,7 +5422,7 @@ defs["ImGuiViewport_GetCenter"][1]["call_args"] = "()" defs["ImGuiViewport_GetCenter"][1]["cimguiname"] = "ImGuiViewport_GetCenter" defs["ImGuiViewport_GetCenter"][1]["defaults"] = {} defs["ImGuiViewport_GetCenter"][1]["funcname"] = "GetCenter" -defs["ImGuiViewport_GetCenter"][1]["location"] = "imgui:2821" +defs["ImGuiViewport_GetCenter"][1]["location"] = "imgui:2931" defs["ImGuiViewport_GetCenter"][1]["nonUDT"] = 1 defs["ImGuiViewport_GetCenter"][1]["ov_cimguiname"] = "ImGuiViewport_GetCenter" defs["ImGuiViewport_GetCenter"][1]["ret"] = "void" @@ -5220,7 +5444,7 @@ defs["ImGuiViewport_GetWorkCenter"][1]["call_args"] = "()" defs["ImGuiViewport_GetWorkCenter"][1]["cimguiname"] = "ImGuiViewport_GetWorkCenter" defs["ImGuiViewport_GetWorkCenter"][1]["defaults"] = {} defs["ImGuiViewport_GetWorkCenter"][1]["funcname"] = "GetWorkCenter" -defs["ImGuiViewport_GetWorkCenter"][1]["location"] = "imgui:2822" +defs["ImGuiViewport_GetWorkCenter"][1]["location"] = "imgui:2932" defs["ImGuiViewport_GetWorkCenter"][1]["nonUDT"] = 1 defs["ImGuiViewport_GetWorkCenter"][1]["ov_cimguiname"] = "ImGuiViewport_GetWorkCenter" defs["ImGuiViewport_GetWorkCenter"][1]["ret"] = "void" @@ -5237,7 +5461,7 @@ defs["ImGuiViewport_ImGuiViewport"][1]["cimguiname"] = "ImGuiViewport_ImGuiViewp defs["ImGuiViewport_ImGuiViewport"][1]["constructor"] = true defs["ImGuiViewport_ImGuiViewport"][1]["defaults"] = {} defs["ImGuiViewport_ImGuiViewport"][1]["funcname"] = "ImGuiViewport" -defs["ImGuiViewport_ImGuiViewport"][1]["location"] = "imgui:2818" +defs["ImGuiViewport_ImGuiViewport"][1]["location"] = "imgui:2928" defs["ImGuiViewport_ImGuiViewport"][1]["ov_cimguiname"] = "ImGuiViewport_ImGuiViewport" defs["ImGuiViewport_ImGuiViewport"][1]["signature"] = "()" defs["ImGuiViewport_ImGuiViewport"][1]["stname"] = "ImGuiViewport" @@ -5268,8 +5492,8 @@ defs["ImVec2_ImVec2"][1]["cimguiname"] = "ImVec2_ImVec2" defs["ImVec2_ImVec2"][1]["constructor"] = true defs["ImVec2_ImVec2"][1]["defaults"] = {} defs["ImVec2_ImVec2"][1]["funcname"] = "ImVec2" -defs["ImVec2_ImVec2"][1]["location"] = "imgui:262" -defs["ImVec2_ImVec2"][1]["ov_cimguiname"] = "ImVec2_ImVec2Nil" +defs["ImVec2_ImVec2"][1]["location"] = "imgui:256" +defs["ImVec2_ImVec2"][1]["ov_cimguiname"] = "ImVec2_ImVec2_Nil" defs["ImVec2_ImVec2"][1]["signature"] = "()" defs["ImVec2_ImVec2"][1]["stname"] = "ImVec2" defs["ImVec2_ImVec2"][2] = {} @@ -5287,8 +5511,8 @@ defs["ImVec2_ImVec2"][2]["cimguiname"] = "ImVec2_ImVec2" defs["ImVec2_ImVec2"][2]["constructor"] = true defs["ImVec2_ImVec2"][2]["defaults"] = {} defs["ImVec2_ImVec2"][2]["funcname"] = "ImVec2" -defs["ImVec2_ImVec2"][2]["location"] = "imgui:263" -defs["ImVec2_ImVec2"][2]["ov_cimguiname"] = "ImVec2_ImVec2Float" +defs["ImVec2_ImVec2"][2]["location"] = "imgui:257" +defs["ImVec2_ImVec2"][2]["ov_cimguiname"] = "ImVec2_ImVec2_Float" defs["ImVec2_ImVec2"][2]["signature"] = "(float,float)" defs["ImVec2_ImVec2"][2]["stname"] = "ImVec2" defs["ImVec2_ImVec2"]["()"] = defs["ImVec2_ImVec2"][1] @@ -5319,8 +5543,8 @@ defs["ImVec4_ImVec4"][1]["cimguiname"] = "ImVec4_ImVec4" defs["ImVec4_ImVec4"][1]["constructor"] = true defs["ImVec4_ImVec4"][1]["defaults"] = {} defs["ImVec4_ImVec4"][1]["funcname"] = "ImVec4" -defs["ImVec4_ImVec4"][1]["location"] = "imgui:275" -defs["ImVec4_ImVec4"][1]["ov_cimguiname"] = "ImVec4_ImVec4Nil" +defs["ImVec4_ImVec4"][1]["location"] = "imgui:269" +defs["ImVec4_ImVec4"][1]["ov_cimguiname"] = "ImVec4_ImVec4_Nil" defs["ImVec4_ImVec4"][1]["signature"] = "()" defs["ImVec4_ImVec4"][1]["stname"] = "ImVec4" defs["ImVec4_ImVec4"][2] = {} @@ -5344,8 +5568,8 @@ defs["ImVec4_ImVec4"][2]["cimguiname"] = "ImVec4_ImVec4" defs["ImVec4_ImVec4"][2]["constructor"] = true defs["ImVec4_ImVec4"][2]["defaults"] = {} defs["ImVec4_ImVec4"][2]["funcname"] = "ImVec4" -defs["ImVec4_ImVec4"][2]["location"] = "imgui:276" -defs["ImVec4_ImVec4"][2]["ov_cimguiname"] = "ImVec4_ImVec4Float" +defs["ImVec4_ImVec4"][2]["location"] = "imgui:270" +defs["ImVec4_ImVec4"][2]["ov_cimguiname"] = "ImVec4_ImVec4_Float" defs["ImVec4_ImVec4"][2]["signature"] = "(float,float,float,float)" defs["ImVec4_ImVec4"][2]["stname"] = "ImVec4" defs["ImVec4_ImVec4"]["()"] = defs["ImVec4_ImVec4"][1] @@ -5376,30 +5600,30 @@ defs["ImVector_ImVector"][1]["cimguiname"] = "ImVector_ImVector" defs["ImVector_ImVector"][1]["constructor"] = true defs["ImVector_ImVector"][1]["defaults"] = {} defs["ImVector_ImVector"][1]["funcname"] = "ImVector" -defs["ImVector_ImVector"][1]["location"] = "imgui:1707" -defs["ImVector_ImVector"][1]["ov_cimguiname"] = "ImVector_ImVectorNil" +defs["ImVector_ImVector"][1]["location"] = "imgui:1774" +defs["ImVector_ImVector"][1]["ov_cimguiname"] = "ImVector_ImVector_Nil" defs["ImVector_ImVector"][1]["signature"] = "()" defs["ImVector_ImVector"][1]["stname"] = "ImVector" defs["ImVector_ImVector"][1]["templated"] = true defs["ImVector_ImVector"][2] = {} -defs["ImVector_ImVector"][2]["args"] = "(const ImVector src)" +defs["ImVector_ImVector"][2]["args"] = "(const ImVector_T src)" defs["ImVector_ImVector"][2]["argsT"] = {} defs["ImVector_ImVector"][2]["argsT"][1] = {} defs["ImVector_ImVector"][2]["argsT"][1]["name"] = "src" -defs["ImVector_ImVector"][2]["argsT"][1]["type"] = "const ImVector" +defs["ImVector_ImVector"][2]["argsT"][1]["type"] = "const ImVector_T " defs["ImVector_ImVector"][2]["argsoriginal"] = "(const ImVector& src)" defs["ImVector_ImVector"][2]["call_args"] = "(src)" defs["ImVector_ImVector"][2]["cimguiname"] = "ImVector_ImVector" defs["ImVector_ImVector"][2]["constructor"] = true defs["ImVector_ImVector"][2]["defaults"] = {} defs["ImVector_ImVector"][2]["funcname"] = "ImVector" -defs["ImVector_ImVector"][2]["location"] = "imgui:1708" -defs["ImVector_ImVector"][2]["ov_cimguiname"] = "ImVector_ImVectorVector" -defs["ImVector_ImVector"][2]["signature"] = "(const ImVector)" +defs["ImVector_ImVector"][2]["location"] = "imgui:1775" +defs["ImVector_ImVector"][2]["ov_cimguiname"] = "ImVector_ImVector_Vector_T_" +defs["ImVector_ImVector"][2]["signature"] = "(const ImVector_T )" defs["ImVector_ImVector"][2]["stname"] = "ImVector" defs["ImVector_ImVector"][2]["templated"] = true defs["ImVector_ImVector"]["()"] = defs["ImVector_ImVector"][1] -defs["ImVector_ImVector"]["(const ImVector)"] = defs["ImVector_ImVector"][2] +defs["ImVector_ImVector"]["(const ImVector_T )"] = defs["ImVector_ImVector"][2] defs["ImVector__grow_capacity"] = {} defs["ImVector__grow_capacity"][1] = {} defs["ImVector__grow_capacity"][1]["args"] = "(ImVector* self,int sz)" @@ -5415,7 +5639,7 @@ defs["ImVector__grow_capacity"][1]["call_args"] = "(sz)" defs["ImVector__grow_capacity"][1]["cimguiname"] = "ImVector__grow_capacity" defs["ImVector__grow_capacity"][1]["defaults"] = {} defs["ImVector__grow_capacity"][1]["funcname"] = "_grow_capacity" -defs["ImVector__grow_capacity"][1]["location"] = "imgui:1734" +defs["ImVector__grow_capacity"][1]["location"] = "imgui:1801" defs["ImVector__grow_capacity"][1]["ov_cimguiname"] = "ImVector__grow_capacity" defs["ImVector__grow_capacity"][1]["ret"] = "int" defs["ImVector__grow_capacity"][1]["signature"] = "(int)const" @@ -5434,8 +5658,8 @@ defs["ImVector_back"][1]["call_args"] = "()" defs["ImVector_back"][1]["cimguiname"] = "ImVector_back" defs["ImVector_back"][1]["defaults"] = {} defs["ImVector_back"][1]["funcname"] = "back" -defs["ImVector_back"][1]["location"] = "imgui:1730" -defs["ImVector_back"][1]["ov_cimguiname"] = "ImVector_backNil" +defs["ImVector_back"][1]["location"] = "imgui:1797" +defs["ImVector_back"][1]["ov_cimguiname"] = "ImVector_back_Nil" defs["ImVector_back"][1]["ret"] = "T*" defs["ImVector_back"][1]["retref"] = "&" defs["ImVector_back"][1]["signature"] = "()" @@ -5452,8 +5676,8 @@ defs["ImVector_back"][2]["call_args"] = "()" defs["ImVector_back"][2]["cimguiname"] = "ImVector_back" defs["ImVector_back"][2]["defaults"] = {} defs["ImVector_back"][2]["funcname"] = "back" -defs["ImVector_back"][2]["location"] = "imgui:1731" -defs["ImVector_back"][2]["ov_cimguiname"] = "ImVector_back_const" +defs["ImVector_back"][2]["location"] = "imgui:1798" +defs["ImVector_back"][2]["ov_cimguiname"] = "ImVector_back__const" defs["ImVector_back"][2]["ret"] = "const T*" defs["ImVector_back"][2]["retref"] = "&" defs["ImVector_back"][2]["signature"] = "()const" @@ -5473,8 +5697,8 @@ defs["ImVector_begin"][1]["call_args"] = "()" defs["ImVector_begin"][1]["cimguiname"] = "ImVector_begin" defs["ImVector_begin"][1]["defaults"] = {} defs["ImVector_begin"][1]["funcname"] = "begin" -defs["ImVector_begin"][1]["location"] = "imgui:1724" -defs["ImVector_begin"][1]["ov_cimguiname"] = "ImVector_beginNil" +defs["ImVector_begin"][1]["location"] = "imgui:1791" +defs["ImVector_begin"][1]["ov_cimguiname"] = "ImVector_begin_Nil" defs["ImVector_begin"][1]["ret"] = "T*" defs["ImVector_begin"][1]["signature"] = "()" defs["ImVector_begin"][1]["stname"] = "ImVector" @@ -5490,8 +5714,8 @@ defs["ImVector_begin"][2]["call_args"] = "()" defs["ImVector_begin"][2]["cimguiname"] = "ImVector_begin" defs["ImVector_begin"][2]["defaults"] = {} defs["ImVector_begin"][2]["funcname"] = "begin" -defs["ImVector_begin"][2]["location"] = "imgui:1725" -defs["ImVector_begin"][2]["ov_cimguiname"] = "ImVector_begin_const" +defs["ImVector_begin"][2]["location"] = "imgui:1792" +defs["ImVector_begin"][2]["ov_cimguiname"] = "ImVector_begin__const" defs["ImVector_begin"][2]["ret"] = "const T*" defs["ImVector_begin"][2]["signature"] = "()const" defs["ImVector_begin"][2]["stname"] = "ImVector" @@ -5510,7 +5734,7 @@ defs["ImVector_capacity"][1]["call_args"] = "()" defs["ImVector_capacity"][1]["cimguiname"] = "ImVector_capacity" defs["ImVector_capacity"][1]["defaults"] = {} defs["ImVector_capacity"][1]["funcname"] = "capacity" -defs["ImVector_capacity"][1]["location"] = "imgui:1720" +defs["ImVector_capacity"][1]["location"] = "imgui:1787" defs["ImVector_capacity"][1]["ov_cimguiname"] = "ImVector_capacity" defs["ImVector_capacity"][1]["ret"] = "int" defs["ImVector_capacity"][1]["signature"] = "()const" @@ -5529,7 +5753,7 @@ defs["ImVector_clear"][1]["call_args"] = "()" defs["ImVector_clear"][1]["cimguiname"] = "ImVector_clear" defs["ImVector_clear"][1]["defaults"] = {} defs["ImVector_clear"][1]["funcname"] = "clear" -defs["ImVector_clear"][1]["location"] = "imgui:1712" +defs["ImVector_clear"][1]["location"] = "imgui:1779" defs["ImVector_clear"][1]["ov_cimguiname"] = "ImVector_clear" defs["ImVector_clear"][1]["ret"] = "void" defs["ImVector_clear"][1]["signature"] = "()" @@ -5548,7 +5772,7 @@ defs["ImVector_clear_delete"][1]["call_args"] = "()" defs["ImVector_clear_delete"][1]["cimguiname"] = "ImVector_clear_delete" defs["ImVector_clear_delete"][1]["defaults"] = {} defs["ImVector_clear_delete"][1]["funcname"] = "clear_delete" -defs["ImVector_clear_delete"][1]["location"] = "imgui:1713" +defs["ImVector_clear_delete"][1]["location"] = "imgui:1780" defs["ImVector_clear_delete"][1]["ov_cimguiname"] = "ImVector_clear_delete" defs["ImVector_clear_delete"][1]["ret"] = "void" defs["ImVector_clear_delete"][1]["signature"] = "()" @@ -5567,7 +5791,7 @@ defs["ImVector_clear_destruct"][1]["call_args"] = "()" defs["ImVector_clear_destruct"][1]["cimguiname"] = "ImVector_clear_destruct" defs["ImVector_clear_destruct"][1]["defaults"] = {} defs["ImVector_clear_destruct"][1]["funcname"] = "clear_destruct" -defs["ImVector_clear_destruct"][1]["location"] = "imgui:1714" +defs["ImVector_clear_destruct"][1]["location"] = "imgui:1781" defs["ImVector_clear_destruct"][1]["ov_cimguiname"] = "ImVector_clear_destruct" defs["ImVector_clear_destruct"][1]["ret"] = "void" defs["ImVector_clear_destruct"][1]["signature"] = "()" @@ -5589,7 +5813,7 @@ defs["ImVector_contains"][1]["call_args"] = "(v)" defs["ImVector_contains"][1]["cimguiname"] = "ImVector_contains" defs["ImVector_contains"][1]["defaults"] = {} defs["ImVector_contains"][1]["funcname"] = "contains" -defs["ImVector_contains"][1]["location"] = "imgui:1748" +defs["ImVector_contains"][1]["location"] = "imgui:1816" defs["ImVector_contains"][1]["ov_cimguiname"] = "ImVector_contains" defs["ImVector_contains"][1]["ret"] = "bool" defs["ImVector_contains"][1]["signature"] = "(const T)const" @@ -5607,7 +5831,7 @@ defs["ImVector_destroy"][1]["call_args"] = "(self)" defs["ImVector_destroy"][1]["cimguiname"] = "ImVector_destroy" defs["ImVector_destroy"][1]["defaults"] = {} defs["ImVector_destroy"][1]["destructor"] = true -defs["ImVector_destroy"][1]["location"] = "imgui:1710" +defs["ImVector_destroy"][1]["location"] = "imgui:1777" defs["ImVector_destroy"][1]["ov_cimguiname"] = "ImVector_destroy" defs["ImVector_destroy"][1]["realdestructor"] = true defs["ImVector_destroy"][1]["ret"] = "void" @@ -5627,7 +5851,7 @@ defs["ImVector_empty"][1]["call_args"] = "()" defs["ImVector_empty"][1]["cimguiname"] = "ImVector_empty" defs["ImVector_empty"][1]["defaults"] = {} defs["ImVector_empty"][1]["funcname"] = "empty" -defs["ImVector_empty"][1]["location"] = "imgui:1716" +defs["ImVector_empty"][1]["location"] = "imgui:1783" defs["ImVector_empty"][1]["ov_cimguiname"] = "ImVector_empty" defs["ImVector_empty"][1]["ret"] = "bool" defs["ImVector_empty"][1]["signature"] = "()const" @@ -5646,8 +5870,8 @@ defs["ImVector_end"][1]["call_args"] = "()" defs["ImVector_end"][1]["cimguiname"] = "ImVector_end" defs["ImVector_end"][1]["defaults"] = {} defs["ImVector_end"][1]["funcname"] = "end" -defs["ImVector_end"][1]["location"] = "imgui:1726" -defs["ImVector_end"][1]["ov_cimguiname"] = "ImVector_endNil" +defs["ImVector_end"][1]["location"] = "imgui:1793" +defs["ImVector_end"][1]["ov_cimguiname"] = "ImVector_end_Nil" defs["ImVector_end"][1]["ret"] = "T*" defs["ImVector_end"][1]["signature"] = "()" defs["ImVector_end"][1]["stname"] = "ImVector" @@ -5663,8 +5887,8 @@ defs["ImVector_end"][2]["call_args"] = "()" defs["ImVector_end"][2]["cimguiname"] = "ImVector_end" defs["ImVector_end"][2]["defaults"] = {} defs["ImVector_end"][2]["funcname"] = "end" -defs["ImVector_end"][2]["location"] = "imgui:1727" -defs["ImVector_end"][2]["ov_cimguiname"] = "ImVector_end_const" +defs["ImVector_end"][2]["location"] = "imgui:1794" +defs["ImVector_end"][2]["ov_cimguiname"] = "ImVector_end__const" defs["ImVector_end"][2]["ret"] = "const T*" defs["ImVector_end"][2]["signature"] = "()const" defs["ImVector_end"][2]["stname"] = "ImVector" @@ -5686,8 +5910,8 @@ defs["ImVector_erase"][1]["call_args"] = "(it)" defs["ImVector_erase"][1]["cimguiname"] = "ImVector_erase" defs["ImVector_erase"][1]["defaults"] = {} defs["ImVector_erase"][1]["funcname"] = "erase" -defs["ImVector_erase"][1]["location"] = "imgui:1744" -defs["ImVector_erase"][1]["ov_cimguiname"] = "ImVector_eraseNil" +defs["ImVector_erase"][1]["location"] = "imgui:1812" +defs["ImVector_erase"][1]["ov_cimguiname"] = "ImVector_erase_Nil" defs["ImVector_erase"][1]["ret"] = "T*" defs["ImVector_erase"][1]["signature"] = "(const T*)" defs["ImVector_erase"][1]["stname"] = "ImVector" @@ -5709,8 +5933,8 @@ defs["ImVector_erase"][2]["call_args"] = "(it,it_last)" defs["ImVector_erase"][2]["cimguiname"] = "ImVector_erase" defs["ImVector_erase"][2]["defaults"] = {} defs["ImVector_erase"][2]["funcname"] = "erase" -defs["ImVector_erase"][2]["location"] = "imgui:1745" -defs["ImVector_erase"][2]["ov_cimguiname"] = "ImVector_eraseTPtr" +defs["ImVector_erase"][2]["location"] = "imgui:1813" +defs["ImVector_erase"][2]["ov_cimguiname"] = "ImVector_erase_TPtr" defs["ImVector_erase"][2]["ret"] = "T*" defs["ImVector_erase"][2]["signature"] = "(const T*,const T*)" defs["ImVector_erase"][2]["stname"] = "ImVector" @@ -5732,7 +5956,7 @@ defs["ImVector_erase_unsorted"][1]["call_args"] = "(it)" defs["ImVector_erase_unsorted"][1]["cimguiname"] = "ImVector_erase_unsorted" defs["ImVector_erase_unsorted"][1]["defaults"] = {} defs["ImVector_erase_unsorted"][1]["funcname"] = "erase_unsorted" -defs["ImVector_erase_unsorted"][1]["location"] = "imgui:1746" +defs["ImVector_erase_unsorted"][1]["location"] = "imgui:1814" defs["ImVector_erase_unsorted"][1]["ov_cimguiname"] = "ImVector_erase_unsorted" defs["ImVector_erase_unsorted"][1]["ret"] = "T*" defs["ImVector_erase_unsorted"][1]["signature"] = "(const T*)" @@ -5754,8 +5978,8 @@ defs["ImVector_find"][1]["call_args"] = "(v)" defs["ImVector_find"][1]["cimguiname"] = "ImVector_find" defs["ImVector_find"][1]["defaults"] = {} defs["ImVector_find"][1]["funcname"] = "find" -defs["ImVector_find"][1]["location"] = "imgui:1749" -defs["ImVector_find"][1]["ov_cimguiname"] = "ImVector_findNil" +defs["ImVector_find"][1]["location"] = "imgui:1817" +defs["ImVector_find"][1]["ov_cimguiname"] = "ImVector_find_Nil" defs["ImVector_find"][1]["ret"] = "T*" defs["ImVector_find"][1]["signature"] = "(const T)" defs["ImVector_find"][1]["stname"] = "ImVector" @@ -5774,8 +5998,8 @@ defs["ImVector_find"][2]["call_args"] = "(v)" defs["ImVector_find"][2]["cimguiname"] = "ImVector_find" defs["ImVector_find"][2]["defaults"] = {} defs["ImVector_find"][2]["funcname"] = "find" -defs["ImVector_find"][2]["location"] = "imgui:1750" -defs["ImVector_find"][2]["ov_cimguiname"] = "ImVector_find_const" +defs["ImVector_find"][2]["location"] = "imgui:1818" +defs["ImVector_find"][2]["ov_cimguiname"] = "ImVector_find__const" defs["ImVector_find"][2]["ret"] = "const T*" defs["ImVector_find"][2]["signature"] = "(const T)const" defs["ImVector_find"][2]["stname"] = "ImVector" @@ -5797,7 +6021,7 @@ defs["ImVector_find_erase"][1]["call_args"] = "(v)" defs["ImVector_find_erase"][1]["cimguiname"] = "ImVector_find_erase" defs["ImVector_find_erase"][1]["defaults"] = {} defs["ImVector_find_erase"][1]["funcname"] = "find_erase" -defs["ImVector_find_erase"][1]["location"] = "imgui:1751" +defs["ImVector_find_erase"][1]["location"] = "imgui:1819" defs["ImVector_find_erase"][1]["ov_cimguiname"] = "ImVector_find_erase" defs["ImVector_find_erase"][1]["ret"] = "bool" defs["ImVector_find_erase"][1]["signature"] = "(const T)" @@ -5819,7 +6043,7 @@ defs["ImVector_find_erase_unsorted"][1]["call_args"] = "(v)" defs["ImVector_find_erase_unsorted"][1]["cimguiname"] = "ImVector_find_erase_unsorted" defs["ImVector_find_erase_unsorted"][1]["defaults"] = {} defs["ImVector_find_erase_unsorted"][1]["funcname"] = "find_erase_unsorted" -defs["ImVector_find_erase_unsorted"][1]["location"] = "imgui:1752" +defs["ImVector_find_erase_unsorted"][1]["location"] = "imgui:1820" defs["ImVector_find_erase_unsorted"][1]["ov_cimguiname"] = "ImVector_find_erase_unsorted" defs["ImVector_find_erase_unsorted"][1]["ret"] = "bool" defs["ImVector_find_erase_unsorted"][1]["signature"] = "(const T)" @@ -5838,8 +6062,8 @@ defs["ImVector_front"][1]["call_args"] = "()" defs["ImVector_front"][1]["cimguiname"] = "ImVector_front" defs["ImVector_front"][1]["defaults"] = {} defs["ImVector_front"][1]["funcname"] = "front" -defs["ImVector_front"][1]["location"] = "imgui:1728" -defs["ImVector_front"][1]["ov_cimguiname"] = "ImVector_frontNil" +defs["ImVector_front"][1]["location"] = "imgui:1795" +defs["ImVector_front"][1]["ov_cimguiname"] = "ImVector_front_Nil" defs["ImVector_front"][1]["ret"] = "T*" defs["ImVector_front"][1]["retref"] = "&" defs["ImVector_front"][1]["signature"] = "()" @@ -5856,8 +6080,8 @@ defs["ImVector_front"][2]["call_args"] = "()" defs["ImVector_front"][2]["cimguiname"] = "ImVector_front" defs["ImVector_front"][2]["defaults"] = {} defs["ImVector_front"][2]["funcname"] = "front" -defs["ImVector_front"][2]["location"] = "imgui:1729" -defs["ImVector_front"][2]["ov_cimguiname"] = "ImVector_front_const" +defs["ImVector_front"][2]["location"] = "imgui:1796" +defs["ImVector_front"][2]["ov_cimguiname"] = "ImVector_front__const" defs["ImVector_front"][2]["ret"] = "const T*" defs["ImVector_front"][2]["retref"] = "&" defs["ImVector_front"][2]["signature"] = "()const" @@ -5880,7 +6104,7 @@ defs["ImVector_index_from_ptr"][1]["call_args"] = "(it)" defs["ImVector_index_from_ptr"][1]["cimguiname"] = "ImVector_index_from_ptr" defs["ImVector_index_from_ptr"][1]["defaults"] = {} defs["ImVector_index_from_ptr"][1]["funcname"] = "index_from_ptr" -defs["ImVector_index_from_ptr"][1]["location"] = "imgui:1753" +defs["ImVector_index_from_ptr"][1]["location"] = "imgui:1821" defs["ImVector_index_from_ptr"][1]["ov_cimguiname"] = "ImVector_index_from_ptr" defs["ImVector_index_from_ptr"][1]["ret"] = "int" defs["ImVector_index_from_ptr"][1]["signature"] = "(const T*)const" @@ -5905,7 +6129,7 @@ defs["ImVector_insert"][1]["call_args"] = "(it,v)" defs["ImVector_insert"][1]["cimguiname"] = "ImVector_insert" defs["ImVector_insert"][1]["defaults"] = {} defs["ImVector_insert"][1]["funcname"] = "insert" -defs["ImVector_insert"][1]["location"] = "imgui:1747" +defs["ImVector_insert"][1]["location"] = "imgui:1815" defs["ImVector_insert"][1]["ov_cimguiname"] = "ImVector_insert" defs["ImVector_insert"][1]["ret"] = "T*" defs["ImVector_insert"][1]["signature"] = "(const T*,const T)" @@ -5924,7 +6148,7 @@ defs["ImVector_max_size"][1]["call_args"] = "()" defs["ImVector_max_size"][1]["cimguiname"] = "ImVector_max_size" defs["ImVector_max_size"][1]["defaults"] = {} defs["ImVector_max_size"][1]["funcname"] = "max_size" -defs["ImVector_max_size"][1]["location"] = "imgui:1719" +defs["ImVector_max_size"][1]["location"] = "imgui:1786" defs["ImVector_max_size"][1]["ov_cimguiname"] = "ImVector_max_size" defs["ImVector_max_size"][1]["ret"] = "int" defs["ImVector_max_size"][1]["signature"] = "()const" @@ -5943,7 +6167,7 @@ defs["ImVector_pop_back"][1]["call_args"] = "()" defs["ImVector_pop_back"][1]["cimguiname"] = "ImVector_pop_back" defs["ImVector_pop_back"][1]["defaults"] = {} defs["ImVector_pop_back"][1]["funcname"] = "pop_back" -defs["ImVector_pop_back"][1]["location"] = "imgui:1742" +defs["ImVector_pop_back"][1]["location"] = "imgui:1810" defs["ImVector_pop_back"][1]["ov_cimguiname"] = "ImVector_pop_back" defs["ImVector_pop_back"][1]["ret"] = "void" defs["ImVector_pop_back"][1]["signature"] = "()" @@ -5965,7 +6189,7 @@ defs["ImVector_push_back"][1]["call_args"] = "(v)" defs["ImVector_push_back"][1]["cimguiname"] = "ImVector_push_back" defs["ImVector_push_back"][1]["defaults"] = {} defs["ImVector_push_back"][1]["funcname"] = "push_back" -defs["ImVector_push_back"][1]["location"] = "imgui:1741" +defs["ImVector_push_back"][1]["location"] = "imgui:1809" defs["ImVector_push_back"][1]["ov_cimguiname"] = "ImVector_push_back" defs["ImVector_push_back"][1]["ret"] = "void" defs["ImVector_push_back"][1]["signature"] = "(const T)" @@ -5987,7 +6211,7 @@ defs["ImVector_push_front"][1]["call_args"] = "(v)" defs["ImVector_push_front"][1]["cimguiname"] = "ImVector_push_front" defs["ImVector_push_front"][1]["defaults"] = {} defs["ImVector_push_front"][1]["funcname"] = "push_front" -defs["ImVector_push_front"][1]["location"] = "imgui:1743" +defs["ImVector_push_front"][1]["location"] = "imgui:1811" defs["ImVector_push_front"][1]["ov_cimguiname"] = "ImVector_push_front" defs["ImVector_push_front"][1]["ret"] = "void" defs["ImVector_push_front"][1]["signature"] = "(const T)" @@ -6009,13 +6233,35 @@ defs["ImVector_reserve"][1]["call_args"] = "(new_capacity)" defs["ImVector_reserve"][1]["cimguiname"] = "ImVector_reserve" defs["ImVector_reserve"][1]["defaults"] = {} defs["ImVector_reserve"][1]["funcname"] = "reserve" -defs["ImVector_reserve"][1]["location"] = "imgui:1738" +defs["ImVector_reserve"][1]["location"] = "imgui:1805" defs["ImVector_reserve"][1]["ov_cimguiname"] = "ImVector_reserve" defs["ImVector_reserve"][1]["ret"] = "void" defs["ImVector_reserve"][1]["signature"] = "(int)" defs["ImVector_reserve"][1]["stname"] = "ImVector" defs["ImVector_reserve"][1]["templated"] = true defs["ImVector_reserve"]["(int)"] = defs["ImVector_reserve"][1] +defs["ImVector_reserve_discard"] = {} +defs["ImVector_reserve_discard"][1] = {} +defs["ImVector_reserve_discard"][1]["args"] = "(ImVector* self,int new_capacity)" +defs["ImVector_reserve_discard"][1]["argsT"] = {} +defs["ImVector_reserve_discard"][1]["argsT"][1] = {} +defs["ImVector_reserve_discard"][1]["argsT"][1]["name"] = "self" +defs["ImVector_reserve_discard"][1]["argsT"][1]["type"] = "ImVector*" +defs["ImVector_reserve_discard"][1]["argsT"][2] = {} +defs["ImVector_reserve_discard"][1]["argsT"][2]["name"] = "new_capacity" +defs["ImVector_reserve_discard"][1]["argsT"][2]["type"] = "int" +defs["ImVector_reserve_discard"][1]["argsoriginal"] = "(int new_capacity)" +defs["ImVector_reserve_discard"][1]["call_args"] = "(new_capacity)" +defs["ImVector_reserve_discard"][1]["cimguiname"] = "ImVector_reserve_discard" +defs["ImVector_reserve_discard"][1]["defaults"] = {} +defs["ImVector_reserve_discard"][1]["funcname"] = "reserve_discard" +defs["ImVector_reserve_discard"][1]["location"] = "imgui:1806" +defs["ImVector_reserve_discard"][1]["ov_cimguiname"] = "ImVector_reserve_discard" +defs["ImVector_reserve_discard"][1]["ret"] = "void" +defs["ImVector_reserve_discard"][1]["signature"] = "(int)" +defs["ImVector_reserve_discard"][1]["stname"] = "ImVector" +defs["ImVector_reserve_discard"][1]["templated"] = true +defs["ImVector_reserve_discard"]["(int)"] = defs["ImVector_reserve_discard"][1] defs["ImVector_resize"] = {} defs["ImVector_resize"][1] = {} defs["ImVector_resize"][1]["args"] = "(ImVector* self,int new_size)" @@ -6031,8 +6277,8 @@ defs["ImVector_resize"][1]["call_args"] = "(new_size)" defs["ImVector_resize"][1]["cimguiname"] = "ImVector_resize" defs["ImVector_resize"][1]["defaults"] = {} defs["ImVector_resize"][1]["funcname"] = "resize" -defs["ImVector_resize"][1]["location"] = "imgui:1735" -defs["ImVector_resize"][1]["ov_cimguiname"] = "ImVector_resizeNil" +defs["ImVector_resize"][1]["location"] = "imgui:1802" +defs["ImVector_resize"][1]["ov_cimguiname"] = "ImVector_resize_Nil" defs["ImVector_resize"][1]["ret"] = "void" defs["ImVector_resize"][1]["signature"] = "(int)" defs["ImVector_resize"][1]["stname"] = "ImVector" @@ -6054,8 +6300,8 @@ defs["ImVector_resize"][2]["call_args"] = "(new_size,v)" defs["ImVector_resize"][2]["cimguiname"] = "ImVector_resize" defs["ImVector_resize"][2]["defaults"] = {} defs["ImVector_resize"][2]["funcname"] = "resize" -defs["ImVector_resize"][2]["location"] = "imgui:1736" -defs["ImVector_resize"][2]["ov_cimguiname"] = "ImVector_resizeT" +defs["ImVector_resize"][2]["location"] = "imgui:1803" +defs["ImVector_resize"][2]["ov_cimguiname"] = "ImVector_resize_T" defs["ImVector_resize"][2]["ret"] = "void" defs["ImVector_resize"][2]["signature"] = "(int,const T)" defs["ImVector_resize"][2]["stname"] = "ImVector" @@ -6077,7 +6323,7 @@ defs["ImVector_shrink"][1]["call_args"] = "(new_size)" defs["ImVector_shrink"][1]["cimguiname"] = "ImVector_shrink" defs["ImVector_shrink"][1]["defaults"] = {} defs["ImVector_shrink"][1]["funcname"] = "shrink" -defs["ImVector_shrink"][1]["location"] = "imgui:1737" +defs["ImVector_shrink"][1]["location"] = "imgui:1804" defs["ImVector_shrink"][1]["ov_cimguiname"] = "ImVector_shrink" defs["ImVector_shrink"][1]["ret"] = "void" defs["ImVector_shrink"][1]["signature"] = "(int)" @@ -6096,7 +6342,7 @@ defs["ImVector_size"][1]["call_args"] = "()" defs["ImVector_size"][1]["cimguiname"] = "ImVector_size" defs["ImVector_size"][1]["defaults"] = {} defs["ImVector_size"][1]["funcname"] = "size" -defs["ImVector_size"][1]["location"] = "imgui:1717" +defs["ImVector_size"][1]["location"] = "imgui:1784" defs["ImVector_size"][1]["ov_cimguiname"] = "ImVector_size" defs["ImVector_size"][1]["ret"] = "int" defs["ImVector_size"][1]["signature"] = "()const" @@ -6115,7 +6361,7 @@ defs["ImVector_size_in_bytes"][1]["call_args"] = "()" defs["ImVector_size_in_bytes"][1]["cimguiname"] = "ImVector_size_in_bytes" defs["ImVector_size_in_bytes"][1]["defaults"] = {} defs["ImVector_size_in_bytes"][1]["funcname"] = "size_in_bytes" -defs["ImVector_size_in_bytes"][1]["location"] = "imgui:1718" +defs["ImVector_size_in_bytes"][1]["location"] = "imgui:1785" defs["ImVector_size_in_bytes"][1]["ov_cimguiname"] = "ImVector_size_in_bytes" defs["ImVector_size_in_bytes"][1]["ret"] = "int" defs["ImVector_size_in_bytes"][1]["signature"] = "()const" @@ -6124,7 +6370,7 @@ defs["ImVector_size_in_bytes"][1]["templated"] = true defs["ImVector_size_in_bytes"]["()const"] = defs["ImVector_size_in_bytes"][1] defs["ImVector_swap"] = {} defs["ImVector_swap"][1] = {} -defs["ImVector_swap"][1]["args"] = "(ImVector* self,ImVector* rhs)" +defs["ImVector_swap"][1]["args"] = "(ImVector* self,ImVector_T * rhs)" defs["ImVector_swap"][1]["argsT"] = {} defs["ImVector_swap"][1]["argsT"][1] = {} defs["ImVector_swap"][1]["argsT"][1]["name"] = "self" @@ -6132,19 +6378,19 @@ defs["ImVector_swap"][1]["argsT"][1]["type"] = "ImVector*" defs["ImVector_swap"][1]["argsT"][2] = {} defs["ImVector_swap"][1]["argsT"][2]["name"] = "rhs" defs["ImVector_swap"][1]["argsT"][2]["reftoptr"] = true -defs["ImVector_swap"][1]["argsT"][2]["type"] = "ImVector*" +defs["ImVector_swap"][1]["argsT"][2]["type"] = "ImVector_T *" defs["ImVector_swap"][1]["argsoriginal"] = "(ImVector& rhs)" defs["ImVector_swap"][1]["call_args"] = "(*rhs)" defs["ImVector_swap"][1]["cimguiname"] = "ImVector_swap" defs["ImVector_swap"][1]["defaults"] = {} defs["ImVector_swap"][1]["funcname"] = "swap" -defs["ImVector_swap"][1]["location"] = "imgui:1732" +defs["ImVector_swap"][1]["location"] = "imgui:1799" defs["ImVector_swap"][1]["ov_cimguiname"] = "ImVector_swap" defs["ImVector_swap"][1]["ret"] = "void" -defs["ImVector_swap"][1]["signature"] = "(ImVector*)" +defs["ImVector_swap"][1]["signature"] = "(ImVector_T *)" defs["ImVector_swap"][1]["stname"] = "ImVector" defs["ImVector_swap"][1]["templated"] = true -defs["ImVector_swap"]["(ImVector*)"] = defs["ImVector_swap"][1] +defs["ImVector_swap"]["(ImVector_T *)"] = defs["ImVector_swap"][1] defs["igAcceptDragDropPayload"] = {} defs["igAcceptDragDropPayload"][1] = {} defs["igAcceptDragDropPayload"][1]["args"] = "(const char* type,ImGuiDragDropFlags flags)" @@ -6161,7 +6407,7 @@ defs["igAcceptDragDropPayload"][1]["cimguiname"] = "igAcceptDragDropPayload" defs["igAcceptDragDropPayload"][1]["defaults"] = {} defs["igAcceptDragDropPayload"][1]["defaults"]["flags"] = "0" defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload" -defs["igAcceptDragDropPayload"][1]["location"] = "imgui:813" +defs["igAcceptDragDropPayload"][1]["location"] = "imgui:811" defs["igAcceptDragDropPayload"][1]["namespace"] = "ImGui" defs["igAcceptDragDropPayload"][1]["ov_cimguiname"] = "igAcceptDragDropPayload" defs["igAcceptDragDropPayload"][1]["ret"] = "const ImGuiPayload*" @@ -6177,7 +6423,7 @@ defs["igAlignTextToFramePadding"][1]["call_args"] = "()" defs["igAlignTextToFramePadding"][1]["cimguiname"] = "igAlignTextToFramePadding" defs["igAlignTextToFramePadding"][1]["defaults"] = {} defs["igAlignTextToFramePadding"][1]["funcname"] = "AlignTextToFramePadding" -defs["igAlignTextToFramePadding"][1]["location"] = "imgui:458" +defs["igAlignTextToFramePadding"][1]["location"] = "imgui:456" defs["igAlignTextToFramePadding"][1]["namespace"] = "ImGui" defs["igAlignTextToFramePadding"][1]["ov_cimguiname"] = "igAlignTextToFramePadding" defs["igAlignTextToFramePadding"][1]["ret"] = "void" @@ -6199,7 +6445,7 @@ defs["igArrowButton"][1]["call_args"] = "(str_id,dir)" defs["igArrowButton"][1]["cimguiname"] = "igArrowButton" defs["igArrowButton"][1]["defaults"] = {} defs["igArrowButton"][1]["funcname"] = "ArrowButton" -defs["igArrowButton"][1]["location"] = "imgui:505" +defs["igArrowButton"][1]["location"] = "imgui:503" defs["igArrowButton"][1]["namespace"] = "ImGui" defs["igArrowButton"][1]["ov_cimguiname"] = "igArrowButton" defs["igArrowButton"][1]["ret"] = "bool" @@ -6226,7 +6472,7 @@ defs["igBegin"][1]["defaults"] = {} defs["igBegin"][1]["defaults"]["flags"] = "0" defs["igBegin"][1]["defaults"]["p_open"] = "NULL" defs["igBegin"][1]["funcname"] = "Begin" -defs["igBegin"][1]["location"] = "imgui:335" +defs["igBegin"][1]["location"] = "imgui:330" defs["igBegin"][1]["namespace"] = "ImGui" defs["igBegin"][1]["ov_cimguiname"] = "igBegin" defs["igBegin"][1]["ret"] = "bool" @@ -6257,9 +6503,9 @@ defs["igBeginChild"][1]["defaults"]["border"] = "false" defs["igBeginChild"][1]["defaults"]["flags"] = "0" defs["igBeginChild"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igBeginChild"][1]["funcname"] = "BeginChild" -defs["igBeginChild"][1]["location"] = "imgui:346" +defs["igBeginChild"][1]["location"] = "imgui:341" defs["igBeginChild"][1]["namespace"] = "ImGui" -defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChildStr" +defs["igBeginChild"][1]["ov_cimguiname"] = "igBeginChild_Str" defs["igBeginChild"][1]["ret"] = "bool" defs["igBeginChild"][1]["signature"] = "(const char*,const ImVec2,bool,ImGuiWindowFlags)" defs["igBeginChild"][1]["stname"] = "" @@ -6286,9 +6532,9 @@ defs["igBeginChild"][2]["defaults"]["border"] = "false" defs["igBeginChild"][2]["defaults"]["flags"] = "0" defs["igBeginChild"][2]["defaults"]["size"] = "ImVec2(0,0)" defs["igBeginChild"][2]["funcname"] = "BeginChild" -defs["igBeginChild"][2]["location"] = "imgui:347" +defs["igBeginChild"][2]["location"] = "imgui:342" defs["igBeginChild"][2]["namespace"] = "ImGui" -defs["igBeginChild"][2]["ov_cimguiname"] = "igBeginChildID" +defs["igBeginChild"][2]["ov_cimguiname"] = "igBeginChild_ID" defs["igBeginChild"][2]["ret"] = "bool" defs["igBeginChild"][2]["signature"] = "(ImGuiID,const ImVec2,bool,ImGuiWindowFlags)" defs["igBeginChild"][2]["stname"] = "" @@ -6339,7 +6585,7 @@ defs["igBeginCombo"][1]["cimguiname"] = "igBeginCombo" defs["igBeginCombo"][1]["defaults"] = {} defs["igBeginCombo"][1]["defaults"]["flags"] = "0" defs["igBeginCombo"][1]["funcname"] = "BeginCombo" -defs["igBeginCombo"][1]["location"] = "imgui:519" +defs["igBeginCombo"][1]["location"] = "imgui:520" defs["igBeginCombo"][1]["namespace"] = "ImGui" defs["igBeginCombo"][1]["ov_cimguiname"] = "igBeginCombo" defs["igBeginCombo"][1]["ret"] = "bool" @@ -6359,7 +6605,7 @@ defs["igBeginDisabled"][1]["cimguiname"] = "igBeginDisabled" defs["igBeginDisabled"][1]["defaults"] = {} defs["igBeginDisabled"][1]["defaults"]["disabled"] = "true" defs["igBeginDisabled"][1]["funcname"] = "BeginDisabled" -defs["igBeginDisabled"][1]["location"] = "imgui:821" +defs["igBeginDisabled"][1]["location"] = "imgui:819" defs["igBeginDisabled"][1]["namespace"] = "ImGui" defs["igBeginDisabled"][1]["ov_cimguiname"] = "igBeginDisabled" defs["igBeginDisabled"][1]["ret"] = "void" @@ -6379,7 +6625,7 @@ defs["igBeginDragDropSource"][1]["cimguiname"] = "igBeginDragDropSource" defs["igBeginDragDropSource"][1]["defaults"] = {} defs["igBeginDragDropSource"][1]["defaults"]["flags"] = "0" defs["igBeginDragDropSource"][1]["funcname"] = "BeginDragDropSource" -defs["igBeginDragDropSource"][1]["location"] = "imgui:809" +defs["igBeginDragDropSource"][1]["location"] = "imgui:807" defs["igBeginDragDropSource"][1]["namespace"] = "ImGui" defs["igBeginDragDropSource"][1]["ov_cimguiname"] = "igBeginDragDropSource" defs["igBeginDragDropSource"][1]["ret"] = "bool" @@ -6395,7 +6641,7 @@ defs["igBeginDragDropTarget"][1]["call_args"] = "()" defs["igBeginDragDropTarget"][1]["cimguiname"] = "igBeginDragDropTarget" defs["igBeginDragDropTarget"][1]["defaults"] = {} defs["igBeginDragDropTarget"][1]["funcname"] = "BeginDragDropTarget" -defs["igBeginDragDropTarget"][1]["location"] = "imgui:812" +defs["igBeginDragDropTarget"][1]["location"] = "imgui:810" defs["igBeginDragDropTarget"][1]["namespace"] = "ImGui" defs["igBeginDragDropTarget"][1]["ov_cimguiname"] = "igBeginDragDropTarget" defs["igBeginDragDropTarget"][1]["ret"] = "bool" @@ -6411,7 +6657,7 @@ defs["igBeginGroup"][1]["call_args"] = "()" defs["igBeginGroup"][1]["cimguiname"] = "igBeginGroup" defs["igBeginGroup"][1]["defaults"] = {} defs["igBeginGroup"][1]["funcname"] = "BeginGroup" -defs["igBeginGroup"][1]["location"] = "imgui:447" +defs["igBeginGroup"][1]["location"] = "imgui:445" defs["igBeginGroup"][1]["namespace"] = "ImGui" defs["igBeginGroup"][1]["ov_cimguiname"] = "igBeginGroup" defs["igBeginGroup"][1]["ret"] = "void" @@ -6434,7 +6680,7 @@ defs["igBeginListBox"][1]["cimguiname"] = "igBeginListBox" defs["igBeginListBox"][1]["defaults"] = {} defs["igBeginListBox"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igBeginListBox"][1]["funcname"] = "BeginListBox" -defs["igBeginListBox"][1]["location"] = "imgui:630" +defs["igBeginListBox"][1]["location"] = "imgui:632" defs["igBeginListBox"][1]["namespace"] = "ImGui" defs["igBeginListBox"][1]["ov_cimguiname"] = "igBeginListBox" defs["igBeginListBox"][1]["ret"] = "bool" @@ -6450,7 +6696,7 @@ defs["igBeginMainMenuBar"][1]["call_args"] = "()" defs["igBeginMainMenuBar"][1]["cimguiname"] = "igBeginMainMenuBar" defs["igBeginMainMenuBar"][1]["defaults"] = {} defs["igBeginMainMenuBar"][1]["funcname"] = "BeginMainMenuBar" -defs["igBeginMainMenuBar"][1]["location"] = "imgui:656" +defs["igBeginMainMenuBar"][1]["location"] = "imgui:658" defs["igBeginMainMenuBar"][1]["namespace"] = "ImGui" defs["igBeginMainMenuBar"][1]["ov_cimguiname"] = "igBeginMainMenuBar" defs["igBeginMainMenuBar"][1]["ret"] = "bool" @@ -6473,7 +6719,7 @@ defs["igBeginMenu"][1]["cimguiname"] = "igBeginMenu" defs["igBeginMenu"][1]["defaults"] = {} defs["igBeginMenu"][1]["defaults"]["enabled"] = "true" defs["igBeginMenu"][1]["funcname"] = "BeginMenu" -defs["igBeginMenu"][1]["location"] = "imgui:658" +defs["igBeginMenu"][1]["location"] = "imgui:660" defs["igBeginMenu"][1]["namespace"] = "ImGui" defs["igBeginMenu"][1]["ov_cimguiname"] = "igBeginMenu" defs["igBeginMenu"][1]["ret"] = "bool" @@ -6489,7 +6735,7 @@ defs["igBeginMenuBar"][1]["call_args"] = "()" defs["igBeginMenuBar"][1]["cimguiname"] = "igBeginMenuBar" defs["igBeginMenuBar"][1]["defaults"] = {} defs["igBeginMenuBar"][1]["funcname"] = "BeginMenuBar" -defs["igBeginMenuBar"][1]["location"] = "imgui:654" +defs["igBeginMenuBar"][1]["location"] = "imgui:656" defs["igBeginMenuBar"][1]["namespace"] = "ImGui" defs["igBeginMenuBar"][1]["ov_cimguiname"] = "igBeginMenuBar" defs["igBeginMenuBar"][1]["ret"] = "bool" @@ -6512,7 +6758,7 @@ defs["igBeginPopup"][1]["cimguiname"] = "igBeginPopup" defs["igBeginPopup"][1]["defaults"] = {} defs["igBeginPopup"][1]["defaults"]["flags"] = "0" defs["igBeginPopup"][1]["funcname"] = "BeginPopup" -defs["igBeginPopup"][1]["location"] = "imgui:682" +defs["igBeginPopup"][1]["location"] = "imgui:684" defs["igBeginPopup"][1]["namespace"] = "ImGui" defs["igBeginPopup"][1]["ov_cimguiname"] = "igBeginPopup" defs["igBeginPopup"][1]["ret"] = "bool" @@ -6536,7 +6782,7 @@ defs["igBeginPopupContextItem"][1]["defaults"] = {} defs["igBeginPopupContextItem"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "NULL" defs["igBeginPopupContextItem"][1]["funcname"] = "BeginPopupContextItem" -defs["igBeginPopupContextItem"][1]["location"] = "imgui:703" +defs["igBeginPopupContextItem"][1]["location"] = "imgui:706" defs["igBeginPopupContextItem"][1]["namespace"] = "ImGui" defs["igBeginPopupContextItem"][1]["ov_cimguiname"] = "igBeginPopupContextItem" defs["igBeginPopupContextItem"][1]["ret"] = "bool" @@ -6560,7 +6806,7 @@ defs["igBeginPopupContextVoid"][1]["defaults"] = {} defs["igBeginPopupContextVoid"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextVoid"][1]["defaults"]["str_id"] = "NULL" defs["igBeginPopupContextVoid"][1]["funcname"] = "BeginPopupContextVoid" -defs["igBeginPopupContextVoid"][1]["location"] = "imgui:705" +defs["igBeginPopupContextVoid"][1]["location"] = "imgui:708" defs["igBeginPopupContextVoid"][1]["namespace"] = "ImGui" defs["igBeginPopupContextVoid"][1]["ov_cimguiname"] = "igBeginPopupContextVoid" defs["igBeginPopupContextVoid"][1]["ret"] = "bool" @@ -6584,7 +6830,7 @@ defs["igBeginPopupContextWindow"][1]["defaults"] = {} defs["igBeginPopupContextWindow"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextWindow"][1]["defaults"]["str_id"] = "NULL" defs["igBeginPopupContextWindow"][1]["funcname"] = "BeginPopupContextWindow" -defs["igBeginPopupContextWindow"][1]["location"] = "imgui:704" +defs["igBeginPopupContextWindow"][1]["location"] = "imgui:707" defs["igBeginPopupContextWindow"][1]["namespace"] = "ImGui" defs["igBeginPopupContextWindow"][1]["ov_cimguiname"] = "igBeginPopupContextWindow" defs["igBeginPopupContextWindow"][1]["ret"] = "bool" @@ -6611,7 +6857,7 @@ defs["igBeginPopupModal"][1]["defaults"] = {} defs["igBeginPopupModal"][1]["defaults"]["flags"] = "0" defs["igBeginPopupModal"][1]["defaults"]["p_open"] = "NULL" defs["igBeginPopupModal"][1]["funcname"] = "BeginPopupModal" -defs["igBeginPopupModal"][1]["location"] = "imgui:683" +defs["igBeginPopupModal"][1]["location"] = "imgui:685" defs["igBeginPopupModal"][1]["namespace"] = "ImGui" defs["igBeginPopupModal"][1]["ov_cimguiname"] = "igBeginPopupModal" defs["igBeginPopupModal"][1]["ret"] = "bool" @@ -6634,7 +6880,7 @@ defs["igBeginTabBar"][1]["cimguiname"] = "igBeginTabBar" defs["igBeginTabBar"][1]["defaults"] = {} defs["igBeginTabBar"][1]["defaults"]["flags"] = "0" defs["igBeginTabBar"][1]["funcname"] = "BeginTabBar" -defs["igBeginTabBar"][1]["location"] = "imgui:787" +defs["igBeginTabBar"][1]["location"] = "imgui:785" defs["igBeginTabBar"][1]["namespace"] = "ImGui" defs["igBeginTabBar"][1]["ov_cimguiname"] = "igBeginTabBar" defs["igBeginTabBar"][1]["ret"] = "bool" @@ -6661,7 +6907,7 @@ defs["igBeginTabItem"][1]["defaults"] = {} defs["igBeginTabItem"][1]["defaults"]["flags"] = "0" defs["igBeginTabItem"][1]["defaults"]["p_open"] = "NULL" defs["igBeginTabItem"][1]["funcname"] = "BeginTabItem" -defs["igBeginTabItem"][1]["location"] = "imgui:789" +defs["igBeginTabItem"][1]["location"] = "imgui:787" defs["igBeginTabItem"][1]["namespace"] = "ImGui" defs["igBeginTabItem"][1]["ov_cimguiname"] = "igBeginTabItem" defs["igBeginTabItem"][1]["ret"] = "bool" @@ -6695,7 +6941,7 @@ defs["igBeginTable"][1]["defaults"]["flags"] = "0" defs["igBeginTable"][1]["defaults"]["inner_width"] = "0.0f" defs["igBeginTable"][1]["defaults"]["outer_size"] = "ImVec2(0.0f,0.0f)" defs["igBeginTable"][1]["funcname"] = "BeginTable" -defs["igBeginTable"][1]["location"] = "imgui:738" +defs["igBeginTable"][1]["location"] = "imgui:739" defs["igBeginTable"][1]["namespace"] = "ImGui" defs["igBeginTable"][1]["ov_cimguiname"] = "igBeginTable" defs["igBeginTable"][1]["ret"] = "bool" @@ -6711,7 +6957,7 @@ defs["igBeginTooltip"][1]["call_args"] = "()" defs["igBeginTooltip"][1]["cimguiname"] = "igBeginTooltip" defs["igBeginTooltip"][1]["defaults"] = {} defs["igBeginTooltip"][1]["funcname"] = "BeginTooltip" -defs["igBeginTooltip"][1]["location"] = "imgui:665" +defs["igBeginTooltip"][1]["location"] = "imgui:667" defs["igBeginTooltip"][1]["namespace"] = "ImGui" defs["igBeginTooltip"][1]["ov_cimguiname"] = "igBeginTooltip" defs["igBeginTooltip"][1]["ret"] = "void" @@ -6727,7 +6973,7 @@ defs["igBullet"][1]["call_args"] = "()" defs["igBullet"][1]["cimguiname"] = "igBullet" defs["igBullet"][1]["defaults"] = {} defs["igBullet"][1]["funcname"] = "Bullet" -defs["igBullet"][1]["location"] = "imgui:514" +defs["igBullet"][1]["location"] = "imgui:510" defs["igBullet"][1]["namespace"] = "ImGui" defs["igBullet"][1]["ov_cimguiname"] = "igBullet" defs["igBullet"][1]["ret"] = "void" @@ -6750,7 +6996,7 @@ defs["igBulletText"][1]["cimguiname"] = "igBulletText" defs["igBulletText"][1]["defaults"] = {} defs["igBulletText"][1]["funcname"] = "BulletText" defs["igBulletText"][1]["isvararg"] = "...)" -defs["igBulletText"][1]["location"] = "imgui:496" +defs["igBulletText"][1]["location"] = "imgui:494" defs["igBulletText"][1]["namespace"] = "ImGui" defs["igBulletText"][1]["ov_cimguiname"] = "igBulletText" defs["igBulletText"][1]["ret"] = "void" @@ -6772,7 +7018,7 @@ defs["igBulletTextV"][1]["call_args"] = "(fmt,args)" defs["igBulletTextV"][1]["cimguiname"] = "igBulletTextV" defs["igBulletTextV"][1]["defaults"] = {} defs["igBulletTextV"][1]["funcname"] = "BulletTextV" -defs["igBulletTextV"][1]["location"] = "imgui:497" +defs["igBulletTextV"][1]["location"] = "imgui:495" defs["igBulletTextV"][1]["namespace"] = "ImGui" defs["igBulletTextV"][1]["ov_cimguiname"] = "igBulletTextV" defs["igBulletTextV"][1]["ret"] = "void" @@ -6795,7 +7041,7 @@ defs["igButton"][1]["cimguiname"] = "igButton" defs["igButton"][1]["defaults"] = {} defs["igButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igButton"][1]["funcname"] = "Button" -defs["igButton"][1]["location"] = "imgui:502" +defs["igButton"][1]["location"] = "imgui:500" defs["igButton"][1]["namespace"] = "ImGui" defs["igButton"][1]["ov_cimguiname"] = "igButton" defs["igButton"][1]["ret"] = "bool" @@ -6811,7 +7057,7 @@ defs["igCalcItemWidth"][1]["call_args"] = "()" defs["igCalcItemWidth"][1]["cimguiname"] = "igCalcItemWidth" defs["igCalcItemWidth"][1]["defaults"] = {} defs["igCalcItemWidth"][1]["funcname"] = "CalcItemWidth" -defs["igCalcItemWidth"][1]["location"] = "imgui:419" +defs["igCalcItemWidth"][1]["location"] = "imgui:417" defs["igCalcItemWidth"][1]["namespace"] = "ImGui" defs["igCalcItemWidth"][1]["ov_cimguiname"] = "igCalcItemWidth" defs["igCalcItemWidth"][1]["ret"] = "float" @@ -6853,46 +7099,6 @@ defs["igCalcTextSize"][1]["ret"] = "void" defs["igCalcTextSize"][1]["signature"] = "(const char*,const char*,bool,float)" defs["igCalcTextSize"][1]["stname"] = "" defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1] -defs["igCaptureKeyboardFromApp"] = {} -defs["igCaptureKeyboardFromApp"][1] = {} -defs["igCaptureKeyboardFromApp"][1]["args"] = "(bool want_capture_keyboard_value)" -defs["igCaptureKeyboardFromApp"][1]["argsT"] = {} -defs["igCaptureKeyboardFromApp"][1]["argsT"][1] = {} -defs["igCaptureKeyboardFromApp"][1]["argsT"][1]["name"] = "want_capture_keyboard_value" -defs["igCaptureKeyboardFromApp"][1]["argsT"][1]["type"] = "bool" -defs["igCaptureKeyboardFromApp"][1]["argsoriginal"] = "(bool want_capture_keyboard_value=true)" -defs["igCaptureKeyboardFromApp"][1]["call_args"] = "(want_capture_keyboard_value)" -defs["igCaptureKeyboardFromApp"][1]["cimguiname"] = "igCaptureKeyboardFromApp" -defs["igCaptureKeyboardFromApp"][1]["defaults"] = {} -defs["igCaptureKeyboardFromApp"][1]["defaults"]["want_capture_keyboard_value"] = "true" -defs["igCaptureKeyboardFromApp"][1]["funcname"] = "CaptureKeyboardFromApp" -defs["igCaptureKeyboardFromApp"][1]["location"] = "imgui:892" -defs["igCaptureKeyboardFromApp"][1]["namespace"] = "ImGui" -defs["igCaptureKeyboardFromApp"][1]["ov_cimguiname"] = "igCaptureKeyboardFromApp" -defs["igCaptureKeyboardFromApp"][1]["ret"] = "void" -defs["igCaptureKeyboardFromApp"][1]["signature"] = "(bool)" -defs["igCaptureKeyboardFromApp"][1]["stname"] = "" -defs["igCaptureKeyboardFromApp"]["(bool)"] = defs["igCaptureKeyboardFromApp"][1] -defs["igCaptureMouseFromApp"] = {} -defs["igCaptureMouseFromApp"][1] = {} -defs["igCaptureMouseFromApp"][1]["args"] = "(bool want_capture_mouse_value)" -defs["igCaptureMouseFromApp"][1]["argsT"] = {} -defs["igCaptureMouseFromApp"][1]["argsT"][1] = {} -defs["igCaptureMouseFromApp"][1]["argsT"][1]["name"] = "want_capture_mouse_value" -defs["igCaptureMouseFromApp"][1]["argsT"][1]["type"] = "bool" -defs["igCaptureMouseFromApp"][1]["argsoriginal"] = "(bool want_capture_mouse_value=true)" -defs["igCaptureMouseFromApp"][1]["call_args"] = "(want_capture_mouse_value)" -defs["igCaptureMouseFromApp"][1]["cimguiname"] = "igCaptureMouseFromApp" -defs["igCaptureMouseFromApp"][1]["defaults"] = {} -defs["igCaptureMouseFromApp"][1]["defaults"]["want_capture_mouse_value"] = "true" -defs["igCaptureMouseFromApp"][1]["funcname"] = "CaptureMouseFromApp" -defs["igCaptureMouseFromApp"][1]["location"] = "imgui:913" -defs["igCaptureMouseFromApp"][1]["namespace"] = "ImGui" -defs["igCaptureMouseFromApp"][1]["ov_cimguiname"] = "igCaptureMouseFromApp" -defs["igCaptureMouseFromApp"][1]["ret"] = "void" -defs["igCaptureMouseFromApp"][1]["signature"] = "(bool)" -defs["igCaptureMouseFromApp"][1]["stname"] = "" -defs["igCaptureMouseFromApp"]["(bool)"] = defs["igCaptureMouseFromApp"][1] defs["igCheckbox"] = {} defs["igCheckbox"][1] = {} defs["igCheckbox"][1]["args"] = "(const char* label,bool* v)" @@ -6908,7 +7114,7 @@ defs["igCheckbox"][1]["call_args"] = "(label,v)" defs["igCheckbox"][1]["cimguiname"] = "igCheckbox" defs["igCheckbox"][1]["defaults"] = {} defs["igCheckbox"][1]["funcname"] = "Checkbox" -defs["igCheckbox"][1]["location"] = "imgui:508" +defs["igCheckbox"][1]["location"] = "imgui:504" defs["igCheckbox"][1]["namespace"] = "ImGui" defs["igCheckbox"][1]["ov_cimguiname"] = "igCheckbox" defs["igCheckbox"][1]["ret"] = "bool" @@ -6933,9 +7139,9 @@ defs["igCheckboxFlags"][1]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][1]["cimguiname"] = "igCheckboxFlags" defs["igCheckboxFlags"][1]["defaults"] = {} defs["igCheckboxFlags"][1]["funcname"] = "CheckboxFlags" -defs["igCheckboxFlags"][1]["location"] = "imgui:509" +defs["igCheckboxFlags"][1]["location"] = "imgui:505" defs["igCheckboxFlags"][1]["namespace"] = "ImGui" -defs["igCheckboxFlags"][1]["ov_cimguiname"] = "igCheckboxFlagsIntPtr" +defs["igCheckboxFlags"][1]["ov_cimguiname"] = "igCheckboxFlags_IntPtr" defs["igCheckboxFlags"][1]["ret"] = "bool" defs["igCheckboxFlags"][1]["signature"] = "(const char*,int*,int)" defs["igCheckboxFlags"][1]["stname"] = "" @@ -6956,9 +7162,9 @@ defs["igCheckboxFlags"][2]["call_args"] = "(label,flags,flags_value)" defs["igCheckboxFlags"][2]["cimguiname"] = "igCheckboxFlags" defs["igCheckboxFlags"][2]["defaults"] = {} defs["igCheckboxFlags"][2]["funcname"] = "CheckboxFlags" -defs["igCheckboxFlags"][2]["location"] = "imgui:510" +defs["igCheckboxFlags"][2]["location"] = "imgui:506" defs["igCheckboxFlags"][2]["namespace"] = "ImGui" -defs["igCheckboxFlags"][2]["ov_cimguiname"] = "igCheckboxFlagsUintPtr" +defs["igCheckboxFlags"][2]["ov_cimguiname"] = "igCheckboxFlags_UintPtr" defs["igCheckboxFlags"][2]["ret"] = "bool" defs["igCheckboxFlags"][2]["signature"] = "(const char*,unsigned int*,unsigned int)" defs["igCheckboxFlags"][2]["stname"] = "" @@ -6973,7 +7179,7 @@ defs["igCloseCurrentPopup"][1]["call_args"] = "()" defs["igCloseCurrentPopup"][1]["cimguiname"] = "igCloseCurrentPopup" defs["igCloseCurrentPopup"][1]["defaults"] = {} defs["igCloseCurrentPopup"][1]["funcname"] = "CloseCurrentPopup" -defs["igCloseCurrentPopup"][1]["location"] = "imgui:696" +defs["igCloseCurrentPopup"][1]["location"] = "imgui:699" defs["igCloseCurrentPopup"][1]["namespace"] = "ImGui" defs["igCloseCurrentPopup"][1]["ov_cimguiname"] = "igCloseCurrentPopup" defs["igCloseCurrentPopup"][1]["ret"] = "void" @@ -6996,9 +7202,9 @@ defs["igCollapsingHeader"][1]["cimguiname"] = "igCollapsingHeader" defs["igCollapsingHeader"][1]["defaults"] = {} defs["igCollapsingHeader"][1]["defaults"]["flags"] = "0" defs["igCollapsingHeader"][1]["funcname"] = "CollapsingHeader" -defs["igCollapsingHeader"][1]["location"] = "imgui:614" +defs["igCollapsingHeader"][1]["location"] = "imgui:616" defs["igCollapsingHeader"][1]["namespace"] = "ImGui" -defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeaderTreeNodeFlags" +defs["igCollapsingHeader"][1]["ov_cimguiname"] = "igCollapsingHeader_TreeNodeFlags" defs["igCollapsingHeader"][1]["ret"] = "bool" defs["igCollapsingHeader"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags)" defs["igCollapsingHeader"][1]["stname"] = "" @@ -7020,9 +7226,9 @@ defs["igCollapsingHeader"][2]["cimguiname"] = "igCollapsingHeader" defs["igCollapsingHeader"][2]["defaults"] = {} defs["igCollapsingHeader"][2]["defaults"]["flags"] = "0" defs["igCollapsingHeader"][2]["funcname"] = "CollapsingHeader" -defs["igCollapsingHeader"][2]["location"] = "imgui:615" +defs["igCollapsingHeader"][2]["location"] = "imgui:617" defs["igCollapsingHeader"][2]["namespace"] = "ImGui" -defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeaderBoolPtr" +defs["igCollapsingHeader"][2]["ov_cimguiname"] = "igCollapsingHeader_BoolPtr" defs["igCollapsingHeader"][2]["ret"] = "bool" defs["igCollapsingHeader"][2]["signature"] = "(const char*,bool*,ImGuiTreeNodeFlags)" defs["igCollapsingHeader"][2]["stname"] = "" @@ -7030,7 +7236,7 @@ defs["igCollapsingHeader"]["(const char*,ImGuiTreeNodeFlags)"] = defs["igCollaps defs["igCollapsingHeader"]["(const char*,bool*,ImGuiTreeNodeFlags)"] = defs["igCollapsingHeader"][2] defs["igColorButton"] = {} defs["igColorButton"][1] = {} -defs["igColorButton"][1]["args"] = "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,ImVec2 size)" +defs["igColorButton"][1]["args"] = "(const char* desc_id,const ImVec4 col,ImGuiColorEditFlags flags,const ImVec2 size)" defs["igColorButton"][1]["argsT"] = {} defs["igColorButton"][1]["argsT"][1] = {} defs["igColorButton"][1]["argsT"][1]["name"] = "desc_id" @@ -7043,21 +7249,21 @@ defs["igColorButton"][1]["argsT"][3]["name"] = "flags" defs["igColorButton"][1]["argsT"][3]["type"] = "ImGuiColorEditFlags" defs["igColorButton"][1]["argsT"][4] = {} defs["igColorButton"][1]["argsT"][4]["name"] = "size" -defs["igColorButton"][1]["argsT"][4]["type"] = "ImVec2" -defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,ImVec2 size=ImVec2(0,0))" +defs["igColorButton"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igColorButton"][1]["argsoriginal"] = "(const char* desc_id,const ImVec4& col,ImGuiColorEditFlags flags=0,const ImVec2& size=ImVec2(0,0))" defs["igColorButton"][1]["call_args"] = "(desc_id,col,flags,size)" defs["igColorButton"][1]["cimguiname"] = "igColorButton" defs["igColorButton"][1]["defaults"] = {} defs["igColorButton"][1]["defaults"]["flags"] = "0" defs["igColorButton"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igColorButton"][1]["funcname"] = "ColorButton" -defs["igColorButton"][1]["location"] = "imgui:595" +defs["igColorButton"][1]["location"] = "imgui:597" defs["igColorButton"][1]["namespace"] = "ImGui" defs["igColorButton"][1]["ov_cimguiname"] = "igColorButton" defs["igColorButton"][1]["ret"] = "bool" -defs["igColorButton"][1]["signature"] = "(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)" +defs["igColorButton"][1]["signature"] = "(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)" defs["igColorButton"][1]["stname"] = "" -defs["igColorButton"]["(const char*,const ImVec4,ImGuiColorEditFlags,ImVec2)"] = defs["igColorButton"][1] +defs["igColorButton"]["(const char*,const ImVec4,ImGuiColorEditFlags,const ImVec2)"] = defs["igColorButton"][1] defs["igColorConvertFloat4ToU32"] = {} defs["igColorConvertFloat4ToU32"][1] = {} defs["igColorConvertFloat4ToU32"][1]["args"] = "(const ImVec4 in)" @@ -7193,7 +7399,7 @@ defs["igColorEdit3"][1]["cimguiname"] = "igColorEdit3" defs["igColorEdit3"][1]["defaults"] = {} defs["igColorEdit3"][1]["defaults"]["flags"] = "0" defs["igColorEdit3"][1]["funcname"] = "ColorEdit3" -defs["igColorEdit3"][1]["location"] = "imgui:591" +defs["igColorEdit3"][1]["location"] = "imgui:593" defs["igColorEdit3"][1]["namespace"] = "ImGui" defs["igColorEdit3"][1]["ov_cimguiname"] = "igColorEdit3" defs["igColorEdit3"][1]["ret"] = "bool" @@ -7219,7 +7425,7 @@ defs["igColorEdit4"][1]["cimguiname"] = "igColorEdit4" defs["igColorEdit4"][1]["defaults"] = {} defs["igColorEdit4"][1]["defaults"]["flags"] = "0" defs["igColorEdit4"][1]["funcname"] = "ColorEdit4" -defs["igColorEdit4"][1]["location"] = "imgui:592" +defs["igColorEdit4"][1]["location"] = "imgui:594" defs["igColorEdit4"][1]["namespace"] = "ImGui" defs["igColorEdit4"][1]["ov_cimguiname"] = "igColorEdit4" defs["igColorEdit4"][1]["ret"] = "bool" @@ -7245,7 +7451,7 @@ defs["igColorPicker3"][1]["cimguiname"] = "igColorPicker3" defs["igColorPicker3"][1]["defaults"] = {} defs["igColorPicker3"][1]["defaults"]["flags"] = "0" defs["igColorPicker3"][1]["funcname"] = "ColorPicker3" -defs["igColorPicker3"][1]["location"] = "imgui:593" +defs["igColorPicker3"][1]["location"] = "imgui:595" defs["igColorPicker3"][1]["namespace"] = "ImGui" defs["igColorPicker3"][1]["ov_cimguiname"] = "igColorPicker3" defs["igColorPicker3"][1]["ret"] = "bool" @@ -7275,7 +7481,7 @@ defs["igColorPicker4"][1]["defaults"] = {} defs["igColorPicker4"][1]["defaults"]["flags"] = "0" defs["igColorPicker4"][1]["defaults"]["ref_col"] = "NULL" defs["igColorPicker4"][1]["funcname"] = "ColorPicker4" -defs["igColorPicker4"][1]["location"] = "imgui:594" +defs["igColorPicker4"][1]["location"] = "imgui:596" defs["igColorPicker4"][1]["namespace"] = "ImGui" defs["igColorPicker4"][1]["ov_cimguiname"] = "igColorPicker4" defs["igColorPicker4"][1]["ret"] = "bool" @@ -7303,7 +7509,7 @@ defs["igColumns"][1]["defaults"]["border"] = "true" defs["igColumns"][1]["defaults"]["count"] = "1" defs["igColumns"][1]["defaults"]["id"] = "NULL" defs["igColumns"][1]["funcname"] = "Columns" -defs["igColumns"][1]["location"] = "imgui:777" +defs["igColumns"][1]["location"] = "imgui:775" defs["igColumns"][1]["namespace"] = "ImGui" defs["igColumns"][1]["ov_cimguiname"] = "igColumns" defs["igColumns"][1]["ret"] = "void" @@ -7335,9 +7541,9 @@ defs["igCombo"][1]["cimguiname"] = "igCombo" defs["igCombo"][1]["defaults"] = {} defs["igCombo"][1]["defaults"]["popup_max_height_in_items"] = "-1" defs["igCombo"][1]["funcname"] = "Combo" -defs["igCombo"][1]["location"] = "imgui:521" +defs["igCombo"][1]["location"] = "imgui:522" defs["igCombo"][1]["namespace"] = "ImGui" -defs["igCombo"][1]["ov_cimguiname"] = "igComboStr_arr" +defs["igCombo"][1]["ov_cimguiname"] = "igCombo_Str_arr" defs["igCombo"][1]["ret"] = "bool" defs["igCombo"][1]["signature"] = "(const char*,int*,const char* const[],int,int)" defs["igCombo"][1]["stname"] = "" @@ -7362,9 +7568,9 @@ defs["igCombo"][2]["cimguiname"] = "igCombo" defs["igCombo"][2]["defaults"] = {} defs["igCombo"][2]["defaults"]["popup_max_height_in_items"] = "-1" defs["igCombo"][2]["funcname"] = "Combo" -defs["igCombo"][2]["location"] = "imgui:522" +defs["igCombo"][2]["location"] = "imgui:523" defs["igCombo"][2]["namespace"] = "ImGui" -defs["igCombo"][2]["ov_cimguiname"] = "igComboStr" +defs["igCombo"][2]["ov_cimguiname"] = "igCombo_Str" defs["igCombo"][2]["ret"] = "bool" defs["igCombo"][2]["signature"] = "(const char*,int*,const char*,int)" defs["igCombo"][2]["stname"] = "" @@ -7397,9 +7603,9 @@ defs["igCombo"][3]["cimguiname"] = "igCombo" defs["igCombo"][3]["defaults"] = {} defs["igCombo"][3]["defaults"]["popup_max_height_in_items"] = "-1" defs["igCombo"][3]["funcname"] = "Combo" -defs["igCombo"][3]["location"] = "imgui:523" +defs["igCombo"][3]["location"] = "imgui:524" defs["igCombo"][3]["namespace"] = "ImGui" -defs["igCombo"][3]["ov_cimguiname"] = "igComboFnBoolPtr" +defs["igCombo"][3]["ov_cimguiname"] = "igCombo_FnBoolPtr" defs["igCombo"][3]["ret"] = "bool" defs["igCombo"][3]["signature"] = "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)" defs["igCombo"][3]["stname"] = "" @@ -7419,7 +7625,7 @@ defs["igCreateContext"][1]["cimguiname"] = "igCreateContext" defs["igCreateContext"][1]["defaults"] = {} defs["igCreateContext"][1]["defaults"]["shared_font_atlas"] = "NULL" defs["igCreateContext"][1]["funcname"] = "CreateContext" -defs["igCreateContext"][1]["location"] = "imgui:294" +defs["igCreateContext"][1]["location"] = "imgui:288" defs["igCreateContext"][1]["namespace"] = "ImGui" defs["igCreateContext"][1]["ov_cimguiname"] = "igCreateContext" defs["igCreateContext"][1]["ret"] = "ImGuiContext*" @@ -7456,13 +7662,32 @@ defs["igDebugCheckVersionAndDataLayout"][1]["call_args"] = "(version_str,sz_io,s defs["igDebugCheckVersionAndDataLayout"][1]["cimguiname"] = "igDebugCheckVersionAndDataLayout" defs["igDebugCheckVersionAndDataLayout"][1]["defaults"] = {} defs["igDebugCheckVersionAndDataLayout"][1]["funcname"] = "DebugCheckVersionAndDataLayout" -defs["igDebugCheckVersionAndDataLayout"][1]["location"] = "imgui:931" +defs["igDebugCheckVersionAndDataLayout"][1]["location"] = "imgui:934" defs["igDebugCheckVersionAndDataLayout"][1]["namespace"] = "ImGui" defs["igDebugCheckVersionAndDataLayout"][1]["ov_cimguiname"] = "igDebugCheckVersionAndDataLayout" defs["igDebugCheckVersionAndDataLayout"][1]["ret"] = "bool" defs["igDebugCheckVersionAndDataLayout"][1]["signature"] = "(const char*,size_t,size_t,size_t,size_t,size_t,size_t)" defs["igDebugCheckVersionAndDataLayout"][1]["stname"] = "" defs["igDebugCheckVersionAndDataLayout"]["(const char*,size_t,size_t,size_t,size_t,size_t,size_t)"] = defs["igDebugCheckVersionAndDataLayout"][1] +defs["igDebugTextEncoding"] = {} +defs["igDebugTextEncoding"][1] = {} +defs["igDebugTextEncoding"][1]["args"] = "(const char* text)" +defs["igDebugTextEncoding"][1]["argsT"] = {} +defs["igDebugTextEncoding"][1]["argsT"][1] = {} +defs["igDebugTextEncoding"][1]["argsT"][1]["name"] = "text" +defs["igDebugTextEncoding"][1]["argsT"][1]["type"] = "const char*" +defs["igDebugTextEncoding"][1]["argsoriginal"] = "(const char* text)" +defs["igDebugTextEncoding"][1]["call_args"] = "(text)" +defs["igDebugTextEncoding"][1]["cimguiname"] = "igDebugTextEncoding" +defs["igDebugTextEncoding"][1]["defaults"] = {} +defs["igDebugTextEncoding"][1]["funcname"] = "DebugTextEncoding" +defs["igDebugTextEncoding"][1]["location"] = "imgui:933" +defs["igDebugTextEncoding"][1]["namespace"] = "ImGui" +defs["igDebugTextEncoding"][1]["ov_cimguiname"] = "igDebugTextEncoding" +defs["igDebugTextEncoding"][1]["ret"] = "void" +defs["igDebugTextEncoding"][1]["signature"] = "(const char*)" +defs["igDebugTextEncoding"][1]["stname"] = "" +defs["igDebugTextEncoding"]["(const char*)"] = defs["igDebugTextEncoding"][1] defs["igDestroyContext"] = {} defs["igDestroyContext"][1] = {} defs["igDestroyContext"][1]["args"] = "(ImGuiContext* ctx)" @@ -7476,7 +7701,7 @@ defs["igDestroyContext"][1]["cimguiname"] = "igDestroyContext" defs["igDestroyContext"][1]["defaults"] = {} defs["igDestroyContext"][1]["defaults"]["ctx"] = "NULL" defs["igDestroyContext"][1]["funcname"] = "DestroyContext" -defs["igDestroyContext"][1]["location"] = "imgui:295" +defs["igDestroyContext"][1]["location"] = "imgui:289" defs["igDestroyContext"][1]["namespace"] = "ImGui" defs["igDestroyContext"][1]["ov_cimguiname"] = "igDestroyContext" defs["igDestroyContext"][1]["ret"] = "void" @@ -7518,7 +7743,7 @@ defs["igDragFloat"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat"][1]["funcname"] = "DragFloat" -defs["igDragFloat"][1]["location"] = "imgui:536" +defs["igDragFloat"][1]["location"] = "imgui:538" defs["igDragFloat"][1]["namespace"] = "ImGui" defs["igDragFloat"][1]["ov_cimguiname"] = "igDragFloat" defs["igDragFloat"][1]["ret"] = "bool" @@ -7560,7 +7785,7 @@ defs["igDragFloat2"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat2"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat2"][1]["funcname"] = "DragFloat2" -defs["igDragFloat2"][1]["location"] = "imgui:537" +defs["igDragFloat2"][1]["location"] = "imgui:539" defs["igDragFloat2"][1]["namespace"] = "ImGui" defs["igDragFloat2"][1]["ov_cimguiname"] = "igDragFloat2" defs["igDragFloat2"][1]["ret"] = "bool" @@ -7602,7 +7827,7 @@ defs["igDragFloat3"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat3"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat3"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat3"][1]["funcname"] = "DragFloat3" -defs["igDragFloat3"][1]["location"] = "imgui:538" +defs["igDragFloat3"][1]["location"] = "imgui:540" defs["igDragFloat3"][1]["namespace"] = "ImGui" defs["igDragFloat3"][1]["ov_cimguiname"] = "igDragFloat3" defs["igDragFloat3"][1]["ret"] = "bool" @@ -7644,7 +7869,7 @@ defs["igDragFloat4"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloat4"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloat4"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloat4"][1]["funcname"] = "DragFloat4" -defs["igDragFloat4"][1]["location"] = "imgui:539" +defs["igDragFloat4"][1]["location"] = "imgui:541" defs["igDragFloat4"][1]["namespace"] = "ImGui" defs["igDragFloat4"][1]["ov_cimguiname"] = "igDragFloat4" defs["igDragFloat4"][1]["ret"] = "bool" @@ -7693,7 +7918,7 @@ defs["igDragFloatRange2"][1]["defaults"]["v_max"] = "0.0f" defs["igDragFloatRange2"][1]["defaults"]["v_min"] = "0.0f" defs["igDragFloatRange2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragFloatRange2"][1]["funcname"] = "DragFloatRange2" -defs["igDragFloatRange2"][1]["location"] = "imgui:540" +defs["igDragFloatRange2"][1]["location"] = "imgui:542" defs["igDragFloatRange2"][1]["namespace"] = "ImGui" defs["igDragFloatRange2"][1]["ov_cimguiname"] = "igDragFloatRange2" defs["igDragFloatRange2"][1]["ret"] = "bool" @@ -7735,7 +7960,7 @@ defs["igDragInt"][1]["defaults"]["v_max"] = "0" defs["igDragInt"][1]["defaults"]["v_min"] = "0" defs["igDragInt"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt"][1]["funcname"] = "DragInt" -defs["igDragInt"][1]["location"] = "imgui:541" +defs["igDragInt"][1]["location"] = "imgui:543" defs["igDragInt"][1]["namespace"] = "ImGui" defs["igDragInt"][1]["ov_cimguiname"] = "igDragInt" defs["igDragInt"][1]["ret"] = "bool" @@ -7777,7 +8002,7 @@ defs["igDragInt2"][1]["defaults"]["v_max"] = "0" defs["igDragInt2"][1]["defaults"]["v_min"] = "0" defs["igDragInt2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt2"][1]["funcname"] = "DragInt2" -defs["igDragInt2"][1]["location"] = "imgui:542" +defs["igDragInt2"][1]["location"] = "imgui:544" defs["igDragInt2"][1]["namespace"] = "ImGui" defs["igDragInt2"][1]["ov_cimguiname"] = "igDragInt2" defs["igDragInt2"][1]["ret"] = "bool" @@ -7819,7 +8044,7 @@ defs["igDragInt3"][1]["defaults"]["v_max"] = "0" defs["igDragInt3"][1]["defaults"]["v_min"] = "0" defs["igDragInt3"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt3"][1]["funcname"] = "DragInt3" -defs["igDragInt3"][1]["location"] = "imgui:543" +defs["igDragInt3"][1]["location"] = "imgui:545" defs["igDragInt3"][1]["namespace"] = "ImGui" defs["igDragInt3"][1]["ov_cimguiname"] = "igDragInt3" defs["igDragInt3"][1]["ret"] = "bool" @@ -7861,7 +8086,7 @@ defs["igDragInt4"][1]["defaults"]["v_max"] = "0" defs["igDragInt4"][1]["defaults"]["v_min"] = "0" defs["igDragInt4"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragInt4"][1]["funcname"] = "DragInt4" -defs["igDragInt4"][1]["location"] = "imgui:544" +defs["igDragInt4"][1]["location"] = "imgui:546" defs["igDragInt4"][1]["namespace"] = "ImGui" defs["igDragInt4"][1]["ov_cimguiname"] = "igDragInt4" defs["igDragInt4"][1]["ret"] = "bool" @@ -7910,7 +8135,7 @@ defs["igDragIntRange2"][1]["defaults"]["v_max"] = "0" defs["igDragIntRange2"][1]["defaults"]["v_min"] = "0" defs["igDragIntRange2"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragIntRange2"][1]["funcname"] = "DragIntRange2" -defs["igDragIntRange2"][1]["location"] = "imgui:545" +defs["igDragIntRange2"][1]["location"] = "imgui:547" defs["igDragIntRange2"][1]["namespace"] = "ImGui" defs["igDragIntRange2"][1]["ov_cimguiname"] = "igDragIntRange2" defs["igDragIntRange2"][1]["ret"] = "bool" @@ -7955,7 +8180,7 @@ defs["igDragScalar"][1]["defaults"]["p_max"] = "NULL" defs["igDragScalar"][1]["defaults"]["p_min"] = "NULL" defs["igDragScalar"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragScalar"][1]["funcname"] = "DragScalar" -defs["igDragScalar"][1]["location"] = "imgui:546" +defs["igDragScalar"][1]["location"] = "imgui:548" defs["igDragScalar"][1]["namespace"] = "ImGui" defs["igDragScalar"][1]["ov_cimguiname"] = "igDragScalar" defs["igDragScalar"][1]["ret"] = "bool" @@ -8003,7 +8228,7 @@ defs["igDragScalarN"][1]["defaults"]["p_max"] = "NULL" defs["igDragScalarN"][1]["defaults"]["p_min"] = "NULL" defs["igDragScalarN"][1]["defaults"]["v_speed"] = "1.0f" defs["igDragScalarN"][1]["funcname"] = "DragScalarN" -defs["igDragScalarN"][1]["location"] = "imgui:547" +defs["igDragScalarN"][1]["location"] = "imgui:549" defs["igDragScalarN"][1]["namespace"] = "ImGui" defs["igDragScalarN"][1]["ov_cimguiname"] = "igDragScalarN" defs["igDragScalarN"][1]["ret"] = "bool" @@ -8022,7 +8247,7 @@ defs["igDummy"][1]["call_args"] = "(size)" defs["igDummy"][1]["cimguiname"] = "igDummy" defs["igDummy"][1]["defaults"] = {} defs["igDummy"][1]["funcname"] = "Dummy" -defs["igDummy"][1]["location"] = "imgui:444" +defs["igDummy"][1]["location"] = "imgui:442" defs["igDummy"][1]["namespace"] = "ImGui" defs["igDummy"][1]["ov_cimguiname"] = "igDummy" defs["igDummy"][1]["ret"] = "void" @@ -8038,7 +8263,7 @@ defs["igEnd"][1]["call_args"] = "()" defs["igEnd"][1]["cimguiname"] = "igEnd" defs["igEnd"][1]["defaults"] = {} defs["igEnd"][1]["funcname"] = "End" -defs["igEnd"][1]["location"] = "imgui:336" +defs["igEnd"][1]["location"] = "imgui:331" defs["igEnd"][1]["namespace"] = "ImGui" defs["igEnd"][1]["ov_cimguiname"] = "igEnd" defs["igEnd"][1]["ret"] = "void" @@ -8054,7 +8279,7 @@ defs["igEndChild"][1]["call_args"] = "()" defs["igEndChild"][1]["cimguiname"] = "igEndChild" defs["igEndChild"][1]["defaults"] = {} defs["igEndChild"][1]["funcname"] = "EndChild" -defs["igEndChild"][1]["location"] = "imgui:348" +defs["igEndChild"][1]["location"] = "imgui:343" defs["igEndChild"][1]["namespace"] = "ImGui" defs["igEndChild"][1]["ov_cimguiname"] = "igEndChild" defs["igEndChild"][1]["ret"] = "void" @@ -8086,7 +8311,7 @@ defs["igEndCombo"][1]["call_args"] = "()" defs["igEndCombo"][1]["cimguiname"] = "igEndCombo" defs["igEndCombo"][1]["defaults"] = {} defs["igEndCombo"][1]["funcname"] = "EndCombo" -defs["igEndCombo"][1]["location"] = "imgui:520" +defs["igEndCombo"][1]["location"] = "imgui:521" defs["igEndCombo"][1]["namespace"] = "ImGui" defs["igEndCombo"][1]["ov_cimguiname"] = "igEndCombo" defs["igEndCombo"][1]["ret"] = "void" @@ -8102,7 +8327,7 @@ defs["igEndDisabled"][1]["call_args"] = "()" defs["igEndDisabled"][1]["cimguiname"] = "igEndDisabled" defs["igEndDisabled"][1]["defaults"] = {} defs["igEndDisabled"][1]["funcname"] = "EndDisabled" -defs["igEndDisabled"][1]["location"] = "imgui:822" +defs["igEndDisabled"][1]["location"] = "imgui:820" defs["igEndDisabled"][1]["namespace"] = "ImGui" defs["igEndDisabled"][1]["ov_cimguiname"] = "igEndDisabled" defs["igEndDisabled"][1]["ret"] = "void" @@ -8118,7 +8343,7 @@ defs["igEndDragDropSource"][1]["call_args"] = "()" defs["igEndDragDropSource"][1]["cimguiname"] = "igEndDragDropSource" defs["igEndDragDropSource"][1]["defaults"] = {} defs["igEndDragDropSource"][1]["funcname"] = "EndDragDropSource" -defs["igEndDragDropSource"][1]["location"] = "imgui:811" +defs["igEndDragDropSource"][1]["location"] = "imgui:809" defs["igEndDragDropSource"][1]["namespace"] = "ImGui" defs["igEndDragDropSource"][1]["ov_cimguiname"] = "igEndDragDropSource" defs["igEndDragDropSource"][1]["ret"] = "void" @@ -8134,7 +8359,7 @@ defs["igEndDragDropTarget"][1]["call_args"] = "()" defs["igEndDragDropTarget"][1]["cimguiname"] = "igEndDragDropTarget" defs["igEndDragDropTarget"][1]["defaults"] = {} defs["igEndDragDropTarget"][1]["funcname"] = "EndDragDropTarget" -defs["igEndDragDropTarget"][1]["location"] = "imgui:814" +defs["igEndDragDropTarget"][1]["location"] = "imgui:812" defs["igEndDragDropTarget"][1]["namespace"] = "ImGui" defs["igEndDragDropTarget"][1]["ov_cimguiname"] = "igEndDragDropTarget" defs["igEndDragDropTarget"][1]["ret"] = "void" @@ -8150,7 +8375,7 @@ defs["igEndFrame"][1]["call_args"] = "()" defs["igEndFrame"][1]["cimguiname"] = "igEndFrame" defs["igEndFrame"][1]["defaults"] = {} defs["igEndFrame"][1]["funcname"] = "EndFrame" -defs["igEndFrame"][1]["location"] = "imgui:303" +defs["igEndFrame"][1]["location"] = "imgui:297" defs["igEndFrame"][1]["namespace"] = "ImGui" defs["igEndFrame"][1]["ov_cimguiname"] = "igEndFrame" defs["igEndFrame"][1]["ret"] = "void" @@ -8166,7 +8391,7 @@ defs["igEndGroup"][1]["call_args"] = "()" defs["igEndGroup"][1]["cimguiname"] = "igEndGroup" defs["igEndGroup"][1]["defaults"] = {} defs["igEndGroup"][1]["funcname"] = "EndGroup" -defs["igEndGroup"][1]["location"] = "imgui:448" +defs["igEndGroup"][1]["location"] = "imgui:446" defs["igEndGroup"][1]["namespace"] = "ImGui" defs["igEndGroup"][1]["ov_cimguiname"] = "igEndGroup" defs["igEndGroup"][1]["ret"] = "void" @@ -8182,7 +8407,7 @@ defs["igEndListBox"][1]["call_args"] = "()" defs["igEndListBox"][1]["cimguiname"] = "igEndListBox" defs["igEndListBox"][1]["defaults"] = {} defs["igEndListBox"][1]["funcname"] = "EndListBox" -defs["igEndListBox"][1]["location"] = "imgui:631" +defs["igEndListBox"][1]["location"] = "imgui:633" defs["igEndListBox"][1]["namespace"] = "ImGui" defs["igEndListBox"][1]["ov_cimguiname"] = "igEndListBox" defs["igEndListBox"][1]["ret"] = "void" @@ -8198,7 +8423,7 @@ defs["igEndMainMenuBar"][1]["call_args"] = "()" defs["igEndMainMenuBar"][1]["cimguiname"] = "igEndMainMenuBar" defs["igEndMainMenuBar"][1]["defaults"] = {} defs["igEndMainMenuBar"][1]["funcname"] = "EndMainMenuBar" -defs["igEndMainMenuBar"][1]["location"] = "imgui:657" +defs["igEndMainMenuBar"][1]["location"] = "imgui:659" defs["igEndMainMenuBar"][1]["namespace"] = "ImGui" defs["igEndMainMenuBar"][1]["ov_cimguiname"] = "igEndMainMenuBar" defs["igEndMainMenuBar"][1]["ret"] = "void" @@ -8214,7 +8439,7 @@ defs["igEndMenu"][1]["call_args"] = "()" defs["igEndMenu"][1]["cimguiname"] = "igEndMenu" defs["igEndMenu"][1]["defaults"] = {} defs["igEndMenu"][1]["funcname"] = "EndMenu" -defs["igEndMenu"][1]["location"] = "imgui:659" +defs["igEndMenu"][1]["location"] = "imgui:661" defs["igEndMenu"][1]["namespace"] = "ImGui" defs["igEndMenu"][1]["ov_cimguiname"] = "igEndMenu" defs["igEndMenu"][1]["ret"] = "void" @@ -8230,7 +8455,7 @@ defs["igEndMenuBar"][1]["call_args"] = "()" defs["igEndMenuBar"][1]["cimguiname"] = "igEndMenuBar" defs["igEndMenuBar"][1]["defaults"] = {} defs["igEndMenuBar"][1]["funcname"] = "EndMenuBar" -defs["igEndMenuBar"][1]["location"] = "imgui:655" +defs["igEndMenuBar"][1]["location"] = "imgui:657" defs["igEndMenuBar"][1]["namespace"] = "ImGui" defs["igEndMenuBar"][1]["ov_cimguiname"] = "igEndMenuBar" defs["igEndMenuBar"][1]["ret"] = "void" @@ -8246,7 +8471,7 @@ defs["igEndPopup"][1]["call_args"] = "()" defs["igEndPopup"][1]["cimguiname"] = "igEndPopup" defs["igEndPopup"][1]["defaults"] = {} defs["igEndPopup"][1]["funcname"] = "EndPopup" -defs["igEndPopup"][1]["location"] = "imgui:684" +defs["igEndPopup"][1]["location"] = "imgui:686" defs["igEndPopup"][1]["namespace"] = "ImGui" defs["igEndPopup"][1]["ov_cimguiname"] = "igEndPopup" defs["igEndPopup"][1]["ret"] = "void" @@ -8262,7 +8487,7 @@ defs["igEndTabBar"][1]["call_args"] = "()" defs["igEndTabBar"][1]["cimguiname"] = "igEndTabBar" defs["igEndTabBar"][1]["defaults"] = {} defs["igEndTabBar"][1]["funcname"] = "EndTabBar" -defs["igEndTabBar"][1]["location"] = "imgui:788" +defs["igEndTabBar"][1]["location"] = "imgui:786" defs["igEndTabBar"][1]["namespace"] = "ImGui" defs["igEndTabBar"][1]["ov_cimguiname"] = "igEndTabBar" defs["igEndTabBar"][1]["ret"] = "void" @@ -8278,7 +8503,7 @@ defs["igEndTabItem"][1]["call_args"] = "()" defs["igEndTabItem"][1]["cimguiname"] = "igEndTabItem" defs["igEndTabItem"][1]["defaults"] = {} defs["igEndTabItem"][1]["funcname"] = "EndTabItem" -defs["igEndTabItem"][1]["location"] = "imgui:790" +defs["igEndTabItem"][1]["location"] = "imgui:788" defs["igEndTabItem"][1]["namespace"] = "ImGui" defs["igEndTabItem"][1]["ov_cimguiname"] = "igEndTabItem" defs["igEndTabItem"][1]["ret"] = "void" @@ -8294,7 +8519,7 @@ defs["igEndTable"][1]["call_args"] = "()" defs["igEndTable"][1]["cimguiname"] = "igEndTable" defs["igEndTable"][1]["defaults"] = {} defs["igEndTable"][1]["funcname"] = "EndTable" -defs["igEndTable"][1]["location"] = "imgui:739" +defs["igEndTable"][1]["location"] = "imgui:740" defs["igEndTable"][1]["namespace"] = "ImGui" defs["igEndTable"][1]["ov_cimguiname"] = "igEndTable" defs["igEndTable"][1]["ret"] = "void" @@ -8310,7 +8535,7 @@ defs["igEndTooltip"][1]["call_args"] = "()" defs["igEndTooltip"][1]["cimguiname"] = "igEndTooltip" defs["igEndTooltip"][1]["defaults"] = {} defs["igEndTooltip"][1]["funcname"] = "EndTooltip" -defs["igEndTooltip"][1]["location"] = "imgui:666" +defs["igEndTooltip"][1]["location"] = "imgui:668" defs["igEndTooltip"][1]["namespace"] = "ImGui" defs["igEndTooltip"][1]["ov_cimguiname"] = "igEndTooltip" defs["igEndTooltip"][1]["ret"] = "void" @@ -8335,7 +8560,7 @@ defs["igGetAllocatorFunctions"][1]["call_args"] = "(p_alloc_func,p_free_func,p_u defs["igGetAllocatorFunctions"][1]["cimguiname"] = "igGetAllocatorFunctions" defs["igGetAllocatorFunctions"][1]["defaults"] = {} defs["igGetAllocatorFunctions"][1]["funcname"] = "GetAllocatorFunctions" -defs["igGetAllocatorFunctions"][1]["location"] = "imgui:938" +defs["igGetAllocatorFunctions"][1]["location"] = "imgui:941" defs["igGetAllocatorFunctions"][1]["namespace"] = "ImGui" defs["igGetAllocatorFunctions"][1]["ov_cimguiname"] = "igGetAllocatorFunctions" defs["igGetAllocatorFunctions"][1]["ret"] = "void" @@ -8351,7 +8576,7 @@ defs["igGetBackgroundDrawList"][1]["call_args"] = "()" defs["igGetBackgroundDrawList"][1]["cimguiname"] = "igGetBackgroundDrawList" defs["igGetBackgroundDrawList"][1]["defaults"] = {} defs["igGetBackgroundDrawList"][1]["funcname"] = "GetBackgroundDrawList" -defs["igGetBackgroundDrawList"][1]["location"] = "imgui:866" +defs["igGetBackgroundDrawList"][1]["location"] = "imgui:860" defs["igGetBackgroundDrawList"][1]["namespace"] = "ImGui" defs["igGetBackgroundDrawList"][1]["ov_cimguiname"] = "igGetBackgroundDrawList" defs["igGetBackgroundDrawList"][1]["ret"] = "ImDrawList*" @@ -8367,7 +8592,7 @@ defs["igGetClipboardText"][1]["call_args"] = "()" defs["igGetClipboardText"][1]["cimguiname"] = "igGetClipboardText" defs["igGetClipboardText"][1]["defaults"] = {} defs["igGetClipboardText"][1]["funcname"] = "GetClipboardText" -defs["igGetClipboardText"][1]["location"] = "imgui:917" +defs["igGetClipboardText"][1]["location"] = "imgui:920" defs["igGetClipboardText"][1]["namespace"] = "ImGui" defs["igGetClipboardText"][1]["ov_cimguiname"] = "igGetClipboardText" defs["igGetClipboardText"][1]["ret"] = "const char*" @@ -8390,9 +8615,9 @@ defs["igGetColorU32"][1]["cimguiname"] = "igGetColorU32" defs["igGetColorU32"][1]["defaults"] = {} defs["igGetColorU32"][1]["defaults"]["alpha_mul"] = "1.0f" defs["igGetColorU32"][1]["funcname"] = "GetColorU32" -defs["igGetColorU32"][1]["location"] = "imgui:428" +defs["igGetColorU32"][1]["location"] = "imgui:426" defs["igGetColorU32"][1]["namespace"] = "ImGui" -defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32Col" +defs["igGetColorU32"][1]["ov_cimguiname"] = "igGetColorU32_Col" defs["igGetColorU32"][1]["ret"] = "ImU32" defs["igGetColorU32"][1]["signature"] = "(ImGuiCol,float)" defs["igGetColorU32"][1]["stname"] = "" @@ -8407,9 +8632,9 @@ defs["igGetColorU32"][2]["call_args"] = "(col)" defs["igGetColorU32"][2]["cimguiname"] = "igGetColorU32" defs["igGetColorU32"][2]["defaults"] = {} defs["igGetColorU32"][2]["funcname"] = "GetColorU32" -defs["igGetColorU32"][2]["location"] = "imgui:429" +defs["igGetColorU32"][2]["location"] = "imgui:427" defs["igGetColorU32"][2]["namespace"] = "ImGui" -defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32Vec4" +defs["igGetColorU32"][2]["ov_cimguiname"] = "igGetColorU32_Vec4" defs["igGetColorU32"][2]["ret"] = "ImU32" defs["igGetColorU32"][2]["signature"] = "(const ImVec4)" defs["igGetColorU32"][2]["stname"] = "" @@ -8424,9 +8649,9 @@ defs["igGetColorU32"][3]["call_args"] = "(col)" defs["igGetColorU32"][3]["cimguiname"] = "igGetColorU32" defs["igGetColorU32"][3]["defaults"] = {} defs["igGetColorU32"][3]["funcname"] = "GetColorU32" -defs["igGetColorU32"][3]["location"] = "imgui:430" +defs["igGetColorU32"][3]["location"] = "imgui:428" defs["igGetColorU32"][3]["namespace"] = "ImGui" -defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32U32" +defs["igGetColorU32"][3]["ov_cimguiname"] = "igGetColorU32_U32" defs["igGetColorU32"][3]["ret"] = "ImU32" defs["igGetColorU32"][3]["signature"] = "(ImU32)" defs["igGetColorU32"][3]["stname"] = "" @@ -8442,7 +8667,7 @@ defs["igGetColumnIndex"][1]["call_args"] = "()" defs["igGetColumnIndex"][1]["cimguiname"] = "igGetColumnIndex" defs["igGetColumnIndex"][1]["defaults"] = {} defs["igGetColumnIndex"][1]["funcname"] = "GetColumnIndex" -defs["igGetColumnIndex"][1]["location"] = "imgui:779" +defs["igGetColumnIndex"][1]["location"] = "imgui:777" defs["igGetColumnIndex"][1]["namespace"] = "ImGui" defs["igGetColumnIndex"][1]["ov_cimguiname"] = "igGetColumnIndex" defs["igGetColumnIndex"][1]["ret"] = "int" @@ -8462,7 +8687,7 @@ defs["igGetColumnOffset"][1]["cimguiname"] = "igGetColumnOffset" defs["igGetColumnOffset"][1]["defaults"] = {} defs["igGetColumnOffset"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnOffset"][1]["funcname"] = "GetColumnOffset" -defs["igGetColumnOffset"][1]["location"] = "imgui:782" +defs["igGetColumnOffset"][1]["location"] = "imgui:780" defs["igGetColumnOffset"][1]["namespace"] = "ImGui" defs["igGetColumnOffset"][1]["ov_cimguiname"] = "igGetColumnOffset" defs["igGetColumnOffset"][1]["ret"] = "float" @@ -8482,7 +8707,7 @@ defs["igGetColumnWidth"][1]["cimguiname"] = "igGetColumnWidth" defs["igGetColumnWidth"][1]["defaults"] = {} defs["igGetColumnWidth"][1]["defaults"]["column_index"] = "-1" defs["igGetColumnWidth"][1]["funcname"] = "GetColumnWidth" -defs["igGetColumnWidth"][1]["location"] = "imgui:780" +defs["igGetColumnWidth"][1]["location"] = "imgui:778" defs["igGetColumnWidth"][1]["namespace"] = "ImGui" defs["igGetColumnWidth"][1]["ov_cimguiname"] = "igGetColumnWidth" defs["igGetColumnWidth"][1]["ret"] = "float" @@ -8498,7 +8723,7 @@ defs["igGetColumnsCount"][1]["call_args"] = "()" defs["igGetColumnsCount"][1]["cimguiname"] = "igGetColumnsCount" defs["igGetColumnsCount"][1]["defaults"] = {} defs["igGetColumnsCount"][1]["funcname"] = "GetColumnsCount" -defs["igGetColumnsCount"][1]["location"] = "imgui:784" +defs["igGetColumnsCount"][1]["location"] = "imgui:782" defs["igGetColumnsCount"][1]["namespace"] = "ImGui" defs["igGetColumnsCount"][1]["ov_cimguiname"] = "igGetColumnsCount" defs["igGetColumnsCount"][1]["ret"] = "int" @@ -8517,7 +8742,7 @@ defs["igGetContentRegionAvail"][1]["call_args"] = "()" defs["igGetContentRegionAvail"][1]["cimguiname"] = "igGetContentRegionAvail" defs["igGetContentRegionAvail"][1]["defaults"] = {} defs["igGetContentRegionAvail"][1]["funcname"] = "GetContentRegionAvail" -defs["igGetContentRegionAvail"][1]["location"] = "imgui:384" +defs["igGetContentRegionAvail"][1]["location"] = "imgui:380" defs["igGetContentRegionAvail"][1]["namespace"] = "ImGui" defs["igGetContentRegionAvail"][1]["nonUDT"] = 1 defs["igGetContentRegionAvail"][1]["ov_cimguiname"] = "igGetContentRegionAvail" @@ -8537,7 +8762,7 @@ defs["igGetContentRegionMax"][1]["call_args"] = "()" defs["igGetContentRegionMax"][1]["cimguiname"] = "igGetContentRegionMax" defs["igGetContentRegionMax"][1]["defaults"] = {} defs["igGetContentRegionMax"][1]["funcname"] = "GetContentRegionMax" -defs["igGetContentRegionMax"][1]["location"] = "imgui:385" +defs["igGetContentRegionMax"][1]["location"] = "imgui:381" defs["igGetContentRegionMax"][1]["namespace"] = "ImGui" defs["igGetContentRegionMax"][1]["nonUDT"] = 1 defs["igGetContentRegionMax"][1]["ov_cimguiname"] = "igGetContentRegionMax" @@ -8554,7 +8779,7 @@ defs["igGetCurrentContext"][1]["call_args"] = "()" defs["igGetCurrentContext"][1]["cimguiname"] = "igGetCurrentContext" defs["igGetCurrentContext"][1]["defaults"] = {} defs["igGetCurrentContext"][1]["funcname"] = "GetCurrentContext" -defs["igGetCurrentContext"][1]["location"] = "imgui:296" +defs["igGetCurrentContext"][1]["location"] = "imgui:290" defs["igGetCurrentContext"][1]["namespace"] = "ImGui" defs["igGetCurrentContext"][1]["ov_cimguiname"] = "igGetCurrentContext" defs["igGetCurrentContext"][1]["ret"] = "ImGuiContext*" @@ -8573,7 +8798,7 @@ defs["igGetCursorPos"][1]["call_args"] = "()" defs["igGetCursorPos"][1]["cimguiname"] = "igGetCursorPos" defs["igGetCursorPos"][1]["defaults"] = {} defs["igGetCursorPos"][1]["funcname"] = "GetCursorPos" -defs["igGetCursorPos"][1]["location"] = "imgui:449" +defs["igGetCursorPos"][1]["location"] = "imgui:447" defs["igGetCursorPos"][1]["namespace"] = "ImGui" defs["igGetCursorPos"][1]["nonUDT"] = 1 defs["igGetCursorPos"][1]["ov_cimguiname"] = "igGetCursorPos" @@ -8590,7 +8815,7 @@ defs["igGetCursorPosX"][1]["call_args"] = "()" defs["igGetCursorPosX"][1]["cimguiname"] = "igGetCursorPosX" defs["igGetCursorPosX"][1]["defaults"] = {} defs["igGetCursorPosX"][1]["funcname"] = "GetCursorPosX" -defs["igGetCursorPosX"][1]["location"] = "imgui:450" +defs["igGetCursorPosX"][1]["location"] = "imgui:448" defs["igGetCursorPosX"][1]["namespace"] = "ImGui" defs["igGetCursorPosX"][1]["ov_cimguiname"] = "igGetCursorPosX" defs["igGetCursorPosX"][1]["ret"] = "float" @@ -8606,7 +8831,7 @@ defs["igGetCursorPosY"][1]["call_args"] = "()" defs["igGetCursorPosY"][1]["cimguiname"] = "igGetCursorPosY" defs["igGetCursorPosY"][1]["defaults"] = {} defs["igGetCursorPosY"][1]["funcname"] = "GetCursorPosY" -defs["igGetCursorPosY"][1]["location"] = "imgui:451" +defs["igGetCursorPosY"][1]["location"] = "imgui:449" defs["igGetCursorPosY"][1]["namespace"] = "ImGui" defs["igGetCursorPosY"][1]["ov_cimguiname"] = "igGetCursorPosY" defs["igGetCursorPosY"][1]["ret"] = "float" @@ -8625,7 +8850,7 @@ defs["igGetCursorScreenPos"][1]["call_args"] = "()" defs["igGetCursorScreenPos"][1]["cimguiname"] = "igGetCursorScreenPos" defs["igGetCursorScreenPos"][1]["defaults"] = {} defs["igGetCursorScreenPos"][1]["funcname"] = "GetCursorScreenPos" -defs["igGetCursorScreenPos"][1]["location"] = "imgui:456" +defs["igGetCursorScreenPos"][1]["location"] = "imgui:454" defs["igGetCursorScreenPos"][1]["namespace"] = "ImGui" defs["igGetCursorScreenPos"][1]["nonUDT"] = 1 defs["igGetCursorScreenPos"][1]["ov_cimguiname"] = "igGetCursorScreenPos" @@ -8645,7 +8870,7 @@ defs["igGetCursorStartPos"][1]["call_args"] = "()" defs["igGetCursorStartPos"][1]["cimguiname"] = "igGetCursorStartPos" defs["igGetCursorStartPos"][1]["defaults"] = {} defs["igGetCursorStartPos"][1]["funcname"] = "GetCursorStartPos" -defs["igGetCursorStartPos"][1]["location"] = "imgui:455" +defs["igGetCursorStartPos"][1]["location"] = "imgui:453" defs["igGetCursorStartPos"][1]["namespace"] = "ImGui" defs["igGetCursorStartPos"][1]["nonUDT"] = 1 defs["igGetCursorStartPos"][1]["ov_cimguiname"] = "igGetCursorStartPos" @@ -8662,7 +8887,7 @@ defs["igGetDragDropPayload"][1]["call_args"] = "()" defs["igGetDragDropPayload"][1]["cimguiname"] = "igGetDragDropPayload" defs["igGetDragDropPayload"][1]["defaults"] = {} defs["igGetDragDropPayload"][1]["funcname"] = "GetDragDropPayload" -defs["igGetDragDropPayload"][1]["location"] = "imgui:815" +defs["igGetDragDropPayload"][1]["location"] = "imgui:813" defs["igGetDragDropPayload"][1]["namespace"] = "ImGui" defs["igGetDragDropPayload"][1]["ov_cimguiname"] = "igGetDragDropPayload" defs["igGetDragDropPayload"][1]["ret"] = "const ImGuiPayload*" @@ -8678,7 +8903,7 @@ defs["igGetDrawData"][1]["call_args"] = "()" defs["igGetDrawData"][1]["cimguiname"] = "igGetDrawData" defs["igGetDrawData"][1]["defaults"] = {} defs["igGetDrawData"][1]["funcname"] = "GetDrawData" -defs["igGetDrawData"][1]["location"] = "imgui:305" +defs["igGetDrawData"][1]["location"] = "imgui:299" defs["igGetDrawData"][1]["namespace"] = "ImGui" defs["igGetDrawData"][1]["ov_cimguiname"] = "igGetDrawData" defs["igGetDrawData"][1]["ret"] = "ImDrawData*" @@ -8710,7 +8935,7 @@ defs["igGetFont"][1]["call_args"] = "()" defs["igGetFont"][1]["cimguiname"] = "igGetFont" defs["igGetFont"][1]["defaults"] = {} defs["igGetFont"][1]["funcname"] = "GetFont" -defs["igGetFont"][1]["location"] = "imgui:425" +defs["igGetFont"][1]["location"] = "imgui:423" defs["igGetFont"][1]["namespace"] = "ImGui" defs["igGetFont"][1]["ov_cimguiname"] = "igGetFont" defs["igGetFont"][1]["ret"] = "ImFont*" @@ -8726,7 +8951,7 @@ defs["igGetFontSize"][1]["call_args"] = "()" defs["igGetFontSize"][1]["cimguiname"] = "igGetFontSize" defs["igGetFontSize"][1]["defaults"] = {} defs["igGetFontSize"][1]["funcname"] = "GetFontSize" -defs["igGetFontSize"][1]["location"] = "imgui:426" +defs["igGetFontSize"][1]["location"] = "imgui:424" defs["igGetFontSize"][1]["namespace"] = "ImGui" defs["igGetFontSize"][1]["ov_cimguiname"] = "igGetFontSize" defs["igGetFontSize"][1]["ret"] = "float" @@ -8745,7 +8970,7 @@ defs["igGetFontTexUvWhitePixel"][1]["call_args"] = "()" defs["igGetFontTexUvWhitePixel"][1]["cimguiname"] = "igGetFontTexUvWhitePixel" defs["igGetFontTexUvWhitePixel"][1]["defaults"] = {} defs["igGetFontTexUvWhitePixel"][1]["funcname"] = "GetFontTexUvWhitePixel" -defs["igGetFontTexUvWhitePixel"][1]["location"] = "imgui:427" +defs["igGetFontTexUvWhitePixel"][1]["location"] = "imgui:425" defs["igGetFontTexUvWhitePixel"][1]["namespace"] = "ImGui" defs["igGetFontTexUvWhitePixel"][1]["nonUDT"] = 1 defs["igGetFontTexUvWhitePixel"][1]["ov_cimguiname"] = "igGetFontTexUvWhitePixel" @@ -8762,7 +8987,7 @@ defs["igGetForegroundDrawList"][1]["call_args"] = "()" defs["igGetForegroundDrawList"][1]["cimguiname"] = "igGetForegroundDrawList" defs["igGetForegroundDrawList"][1]["defaults"] = {} defs["igGetForegroundDrawList"][1]["funcname"] = "GetForegroundDrawList" -defs["igGetForegroundDrawList"][1]["location"] = "imgui:867" +defs["igGetForegroundDrawList"][1]["location"] = "imgui:861" defs["igGetForegroundDrawList"][1]["namespace"] = "ImGui" defs["igGetForegroundDrawList"][1]["ov_cimguiname"] = "igGetForegroundDrawList" defs["igGetForegroundDrawList"][1]["ret"] = "ImDrawList*" @@ -8778,7 +9003,7 @@ defs["igGetFrameCount"][1]["call_args"] = "()" defs["igGetFrameCount"][1]["cimguiname"] = "igGetFrameCount" defs["igGetFrameCount"][1]["defaults"] = {} defs["igGetFrameCount"][1]["funcname"] = "GetFrameCount" -defs["igGetFrameCount"][1]["location"] = "imgui:865" +defs["igGetFrameCount"][1]["location"] = "imgui:867" defs["igGetFrameCount"][1]["namespace"] = "ImGui" defs["igGetFrameCount"][1]["ov_cimguiname"] = "igGetFrameCount" defs["igGetFrameCount"][1]["ret"] = "int" @@ -8794,7 +9019,7 @@ defs["igGetFrameHeight"][1]["call_args"] = "()" defs["igGetFrameHeight"][1]["cimguiname"] = "igGetFrameHeight" defs["igGetFrameHeight"][1]["defaults"] = {} defs["igGetFrameHeight"][1]["funcname"] = "GetFrameHeight" -defs["igGetFrameHeight"][1]["location"] = "imgui:461" +defs["igGetFrameHeight"][1]["location"] = "imgui:459" defs["igGetFrameHeight"][1]["namespace"] = "ImGui" defs["igGetFrameHeight"][1]["ov_cimguiname"] = "igGetFrameHeight" defs["igGetFrameHeight"][1]["ret"] = "float" @@ -8810,7 +9035,7 @@ defs["igGetFrameHeightWithSpacing"][1]["call_args"] = "()" defs["igGetFrameHeightWithSpacing"][1]["cimguiname"] = "igGetFrameHeightWithSpacing" defs["igGetFrameHeightWithSpacing"][1]["defaults"] = {} defs["igGetFrameHeightWithSpacing"][1]["funcname"] = "GetFrameHeightWithSpacing" -defs["igGetFrameHeightWithSpacing"][1]["location"] = "imgui:462" +defs["igGetFrameHeightWithSpacing"][1]["location"] = "imgui:460" defs["igGetFrameHeightWithSpacing"][1]["namespace"] = "ImGui" defs["igGetFrameHeightWithSpacing"][1]["ov_cimguiname"] = "igGetFrameHeightWithSpacing" defs["igGetFrameHeightWithSpacing"][1]["ret"] = "float" @@ -8829,9 +9054,9 @@ defs["igGetID"][1]["call_args"] = "(str_id)" defs["igGetID"][1]["cimguiname"] = "igGetID" defs["igGetID"][1]["defaults"] = {} defs["igGetID"][1]["funcname"] = "GetID" -defs["igGetID"][1]["location"] = "imgui:480" +defs["igGetID"][1]["location"] = "imgui:478" defs["igGetID"][1]["namespace"] = "ImGui" -defs["igGetID"][1]["ov_cimguiname"] = "igGetIDStr" +defs["igGetID"][1]["ov_cimguiname"] = "igGetID_Str" defs["igGetID"][1]["ret"] = "ImGuiID" defs["igGetID"][1]["signature"] = "(const char*)" defs["igGetID"][1]["stname"] = "" @@ -8849,9 +9074,9 @@ defs["igGetID"][2]["call_args"] = "(str_id_begin,str_id_end)" defs["igGetID"][2]["cimguiname"] = "igGetID" defs["igGetID"][2]["defaults"] = {} defs["igGetID"][2]["funcname"] = "GetID" -defs["igGetID"][2]["location"] = "imgui:481" +defs["igGetID"][2]["location"] = "imgui:479" defs["igGetID"][2]["namespace"] = "ImGui" -defs["igGetID"][2]["ov_cimguiname"] = "igGetIDStrStr" +defs["igGetID"][2]["ov_cimguiname"] = "igGetID_StrStr" defs["igGetID"][2]["ret"] = "ImGuiID" defs["igGetID"][2]["signature"] = "(const char*,const char*)" defs["igGetID"][2]["stname"] = "" @@ -8866,9 +9091,9 @@ defs["igGetID"][3]["call_args"] = "(ptr_id)" defs["igGetID"][3]["cimguiname"] = "igGetID" defs["igGetID"][3]["defaults"] = {} defs["igGetID"][3]["funcname"] = "GetID" -defs["igGetID"][3]["location"] = "imgui:482" +defs["igGetID"][3]["location"] = "imgui:480" defs["igGetID"][3]["namespace"] = "ImGui" -defs["igGetID"][3]["ov_cimguiname"] = "igGetIDPtr" +defs["igGetID"][3]["ov_cimguiname"] = "igGetID_Ptr" defs["igGetID"][3]["ret"] = "ImGuiID" defs["igGetID"][3]["signature"] = "(const void*)" defs["igGetID"][3]["stname"] = "" @@ -8884,7 +9109,7 @@ defs["igGetIO"][1]["call_args"] = "()" defs["igGetIO"][1]["cimguiname"] = "igGetIO" defs["igGetIO"][1]["defaults"] = {} defs["igGetIO"][1]["funcname"] = "GetIO" -defs["igGetIO"][1]["location"] = "imgui:300" +defs["igGetIO"][1]["location"] = "imgui:294" defs["igGetIO"][1]["namespace"] = "ImGui" defs["igGetIO"][1]["ov_cimguiname"] = "igGetIO" defs["igGetIO"][1]["ret"] = "ImGuiIO*" @@ -8904,7 +9129,7 @@ defs["igGetItemRectMax"][1]["call_args"] = "()" defs["igGetItemRectMax"][1]["cimguiname"] = "igGetItemRectMax" defs["igGetItemRectMax"][1]["defaults"] = {} defs["igGetItemRectMax"][1]["funcname"] = "GetItemRectMax" -defs["igGetItemRectMax"][1]["location"] = "imgui:851" +defs["igGetItemRectMax"][1]["location"] = "imgui:849" defs["igGetItemRectMax"][1]["namespace"] = "ImGui" defs["igGetItemRectMax"][1]["nonUDT"] = 1 defs["igGetItemRectMax"][1]["ov_cimguiname"] = "igGetItemRectMax" @@ -8924,7 +9149,7 @@ defs["igGetItemRectMin"][1]["call_args"] = "()" defs["igGetItemRectMin"][1]["cimguiname"] = "igGetItemRectMin" defs["igGetItemRectMin"][1]["defaults"] = {} defs["igGetItemRectMin"][1]["funcname"] = "GetItemRectMin" -defs["igGetItemRectMin"][1]["location"] = "imgui:850" +defs["igGetItemRectMin"][1]["location"] = "imgui:848" defs["igGetItemRectMin"][1]["namespace"] = "ImGui" defs["igGetItemRectMin"][1]["nonUDT"] = 1 defs["igGetItemRectMin"][1]["ov_cimguiname"] = "igGetItemRectMin" @@ -8944,7 +9169,7 @@ defs["igGetItemRectSize"][1]["call_args"] = "()" defs["igGetItemRectSize"][1]["cimguiname"] = "igGetItemRectSize" defs["igGetItemRectSize"][1]["defaults"] = {} defs["igGetItemRectSize"][1]["funcname"] = "GetItemRectSize" -defs["igGetItemRectSize"][1]["location"] = "imgui:852" +defs["igGetItemRectSize"][1]["location"] = "imgui:850" defs["igGetItemRectSize"][1]["namespace"] = "ImGui" defs["igGetItemRectSize"][1]["nonUDT"] = 1 defs["igGetItemRectSize"][1]["ov_cimguiname"] = "igGetItemRectSize" @@ -8954,48 +9179,67 @@ defs["igGetItemRectSize"][1]["stname"] = "" defs["igGetItemRectSize"]["()"] = defs["igGetItemRectSize"][1] defs["igGetKeyIndex"] = {} defs["igGetKeyIndex"][1] = {} -defs["igGetKeyIndex"][1]["args"] = "(ImGuiKey imgui_key)" +defs["igGetKeyIndex"][1]["args"] = "(ImGuiKey key)" defs["igGetKeyIndex"][1]["argsT"] = {} defs["igGetKeyIndex"][1]["argsT"][1] = {} -defs["igGetKeyIndex"][1]["argsT"][1]["name"] = "imgui_key" +defs["igGetKeyIndex"][1]["argsT"][1]["name"] = "key" defs["igGetKeyIndex"][1]["argsT"][1]["type"] = "ImGuiKey" -defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey imgui_key)" -defs["igGetKeyIndex"][1]["call_args"] = "(imgui_key)" +defs["igGetKeyIndex"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyIndex"][1]["call_args"] = "(key)" defs["igGetKeyIndex"][1]["cimguiname"] = "igGetKeyIndex" defs["igGetKeyIndex"][1]["defaults"] = {} defs["igGetKeyIndex"][1]["funcname"] = "GetKeyIndex" -defs["igGetKeyIndex"][1]["location"] = "imgui:887" +defs["igGetKeyIndex"][1]["location"] = "imgui:2958" defs["igGetKeyIndex"][1]["namespace"] = "ImGui" defs["igGetKeyIndex"][1]["ov_cimguiname"] = "igGetKeyIndex" -defs["igGetKeyIndex"][1]["ret"] = "int" +defs["igGetKeyIndex"][1]["ret"] = "ImGuiKey" defs["igGetKeyIndex"][1]["signature"] = "(ImGuiKey)" defs["igGetKeyIndex"][1]["stname"] = "" defs["igGetKeyIndex"]["(ImGuiKey)"] = defs["igGetKeyIndex"][1] +defs["igGetKeyName"] = {} +defs["igGetKeyName"][1] = {} +defs["igGetKeyName"][1]["args"] = "(ImGuiKey key)" +defs["igGetKeyName"][1]["argsT"] = {} +defs["igGetKeyName"][1]["argsT"][1] = {} +defs["igGetKeyName"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyName"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igGetKeyName"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igGetKeyName"][1]["call_args"] = "(key)" +defs["igGetKeyName"][1]["cimguiname"] = "igGetKeyName" +defs["igGetKeyName"][1]["defaults"] = {} +defs["igGetKeyName"][1]["funcname"] = "GetKeyName" +defs["igGetKeyName"][1]["location"] = "imgui:894" +defs["igGetKeyName"][1]["namespace"] = "ImGui" +defs["igGetKeyName"][1]["ov_cimguiname"] = "igGetKeyName" +defs["igGetKeyName"][1]["ret"] = "const char*" +defs["igGetKeyName"][1]["signature"] = "(ImGuiKey)" +defs["igGetKeyName"][1]["stname"] = "" +defs["igGetKeyName"]["(ImGuiKey)"] = defs["igGetKeyName"][1] defs["igGetKeyPressedAmount"] = {} defs["igGetKeyPressedAmount"][1] = {} -defs["igGetKeyPressedAmount"][1]["args"] = "(int key_index,float repeat_delay,float rate)" +defs["igGetKeyPressedAmount"][1]["args"] = "(ImGuiKey key,float repeat_delay,float rate)" defs["igGetKeyPressedAmount"][1]["argsT"] = {} defs["igGetKeyPressedAmount"][1]["argsT"][1] = {} -defs["igGetKeyPressedAmount"][1]["argsT"][1]["name"] = "key_index" -defs["igGetKeyPressedAmount"][1]["argsT"][1]["type"] = "int" +defs["igGetKeyPressedAmount"][1]["argsT"][1]["name"] = "key" +defs["igGetKeyPressedAmount"][1]["argsT"][1]["type"] = "ImGuiKey" defs["igGetKeyPressedAmount"][1]["argsT"][2] = {} defs["igGetKeyPressedAmount"][1]["argsT"][2]["name"] = "repeat_delay" defs["igGetKeyPressedAmount"][1]["argsT"][2]["type"] = "float" defs["igGetKeyPressedAmount"][1]["argsT"][3] = {} defs["igGetKeyPressedAmount"][1]["argsT"][3]["name"] = "rate" defs["igGetKeyPressedAmount"][1]["argsT"][3]["type"] = "float" -defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(int key_index,float repeat_delay,float rate)" -defs["igGetKeyPressedAmount"][1]["call_args"] = "(key_index,repeat_delay,rate)" +defs["igGetKeyPressedAmount"][1]["argsoriginal"] = "(ImGuiKey key,float repeat_delay,float rate)" +defs["igGetKeyPressedAmount"][1]["call_args"] = "(key,repeat_delay,rate)" defs["igGetKeyPressedAmount"][1]["cimguiname"] = "igGetKeyPressedAmount" defs["igGetKeyPressedAmount"][1]["defaults"] = {} defs["igGetKeyPressedAmount"][1]["funcname"] = "GetKeyPressedAmount" -defs["igGetKeyPressedAmount"][1]["location"] = "imgui:891" +defs["igGetKeyPressedAmount"][1]["location"] = "imgui:893" defs["igGetKeyPressedAmount"][1]["namespace"] = "ImGui" defs["igGetKeyPressedAmount"][1]["ov_cimguiname"] = "igGetKeyPressedAmount" defs["igGetKeyPressedAmount"][1]["ret"] = "int" -defs["igGetKeyPressedAmount"][1]["signature"] = "(int,float,float)" +defs["igGetKeyPressedAmount"][1]["signature"] = "(ImGuiKey,float,float)" defs["igGetKeyPressedAmount"][1]["stname"] = "" -defs["igGetKeyPressedAmount"]["(int,float,float)"] = defs["igGetKeyPressedAmount"][1] +defs["igGetKeyPressedAmount"]["(ImGuiKey,float,float)"] = defs["igGetKeyPressedAmount"][1] defs["igGetMainViewport"] = {} defs["igGetMainViewport"][1] = {} defs["igGetMainViewport"][1]["args"] = "()" @@ -9005,7 +9249,7 @@ defs["igGetMainViewport"][1]["call_args"] = "()" defs["igGetMainViewport"][1]["cimguiname"] = "igGetMainViewport" defs["igGetMainViewport"][1]["defaults"] = {} defs["igGetMainViewport"][1]["funcname"] = "GetMainViewport" -defs["igGetMainViewport"][1]["location"] = "imgui:859" +defs["igGetMainViewport"][1]["location"] = "imgui:857" defs["igGetMainViewport"][1]["namespace"] = "ImGui" defs["igGetMainViewport"][1]["ov_cimguiname"] = "igGetMainViewport" defs["igGetMainViewport"][1]["ret"] = "ImGuiViewport*" @@ -9024,7 +9268,7 @@ defs["igGetMouseClickedCount"][1]["call_args"] = "(button)" defs["igGetMouseClickedCount"][1]["cimguiname"] = "igGetMouseClickedCount" defs["igGetMouseClickedCount"][1]["defaults"] = {} defs["igGetMouseClickedCount"][1]["funcname"] = "GetMouseClickedCount" -defs["igGetMouseClickedCount"][1]["location"] = "imgui:902" +defs["igGetMouseClickedCount"][1]["location"] = "imgui:905" defs["igGetMouseClickedCount"][1]["namespace"] = "ImGui" defs["igGetMouseClickedCount"][1]["ov_cimguiname"] = "igGetMouseClickedCount" defs["igGetMouseClickedCount"][1]["ret"] = "int" @@ -9040,7 +9284,7 @@ defs["igGetMouseCursor"][1]["call_args"] = "()" defs["igGetMouseCursor"][1]["cimguiname"] = "igGetMouseCursor" defs["igGetMouseCursor"][1]["defaults"] = {} defs["igGetMouseCursor"][1]["funcname"] = "GetMouseCursor" -defs["igGetMouseCursor"][1]["location"] = "imgui:911" +defs["igGetMouseCursor"][1]["location"] = "imgui:914" defs["igGetMouseCursor"][1]["namespace"] = "ImGui" defs["igGetMouseCursor"][1]["ov_cimguiname"] = "igGetMouseCursor" defs["igGetMouseCursor"][1]["ret"] = "ImGuiMouseCursor" @@ -9067,7 +9311,7 @@ defs["igGetMouseDragDelta"][1]["defaults"] = {} defs["igGetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igGetMouseDragDelta"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igGetMouseDragDelta"][1]["funcname"] = "GetMouseDragDelta" -defs["igGetMouseDragDelta"][1]["location"] = "imgui:909" +defs["igGetMouseDragDelta"][1]["location"] = "imgui:912" defs["igGetMouseDragDelta"][1]["namespace"] = "ImGui" defs["igGetMouseDragDelta"][1]["nonUDT"] = 1 defs["igGetMouseDragDelta"][1]["ov_cimguiname"] = "igGetMouseDragDelta" @@ -9087,7 +9331,7 @@ defs["igGetMousePos"][1]["call_args"] = "()" defs["igGetMousePos"][1]["cimguiname"] = "igGetMousePos" defs["igGetMousePos"][1]["defaults"] = {} defs["igGetMousePos"][1]["funcname"] = "GetMousePos" -defs["igGetMousePos"][1]["location"] = "imgui:906" +defs["igGetMousePos"][1]["location"] = "imgui:909" defs["igGetMousePos"][1]["namespace"] = "ImGui" defs["igGetMousePos"][1]["nonUDT"] = 1 defs["igGetMousePos"][1]["ov_cimguiname"] = "igGetMousePos" @@ -9107,7 +9351,7 @@ defs["igGetMousePosOnOpeningCurrentPopup"][1]["call_args"] = "()" defs["igGetMousePosOnOpeningCurrentPopup"][1]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"] = {} defs["igGetMousePosOnOpeningCurrentPopup"][1]["funcname"] = "GetMousePosOnOpeningCurrentPopup" -defs["igGetMousePosOnOpeningCurrentPopup"][1]["location"] = "imgui:907" +defs["igGetMousePosOnOpeningCurrentPopup"][1]["location"] = "imgui:910" defs["igGetMousePosOnOpeningCurrentPopup"][1]["namespace"] = "ImGui" defs["igGetMousePosOnOpeningCurrentPopup"][1]["nonUDT"] = 1 defs["igGetMousePosOnOpeningCurrentPopup"][1]["ov_cimguiname"] = "igGetMousePosOnOpeningCurrentPopup" @@ -9124,7 +9368,7 @@ defs["igGetScrollMaxX"][1]["call_args"] = "()" defs["igGetScrollMaxX"][1]["cimguiname"] = "igGetScrollMaxX" defs["igGetScrollMaxX"][1]["defaults"] = {} defs["igGetScrollMaxX"][1]["funcname"] = "GetScrollMaxX" -defs["igGetScrollMaxX"][1]["location"] = "imgui:394" +defs["igGetScrollMaxX"][1]["location"] = "imgui:392" defs["igGetScrollMaxX"][1]["namespace"] = "ImGui" defs["igGetScrollMaxX"][1]["ov_cimguiname"] = "igGetScrollMaxX" defs["igGetScrollMaxX"][1]["ret"] = "float" @@ -9140,7 +9384,7 @@ defs["igGetScrollMaxY"][1]["call_args"] = "()" defs["igGetScrollMaxY"][1]["cimguiname"] = "igGetScrollMaxY" defs["igGetScrollMaxY"][1]["defaults"] = {} defs["igGetScrollMaxY"][1]["funcname"] = "GetScrollMaxY" -defs["igGetScrollMaxY"][1]["location"] = "imgui:395" +defs["igGetScrollMaxY"][1]["location"] = "imgui:393" defs["igGetScrollMaxY"][1]["namespace"] = "ImGui" defs["igGetScrollMaxY"][1]["ov_cimguiname"] = "igGetScrollMaxY" defs["igGetScrollMaxY"][1]["ret"] = "float" @@ -9156,7 +9400,7 @@ defs["igGetScrollX"][1]["call_args"] = "()" defs["igGetScrollX"][1]["cimguiname"] = "igGetScrollX" defs["igGetScrollX"][1]["defaults"] = {} defs["igGetScrollX"][1]["funcname"] = "GetScrollX" -defs["igGetScrollX"][1]["location"] = "imgui:390" +defs["igGetScrollX"][1]["location"] = "imgui:388" defs["igGetScrollX"][1]["namespace"] = "ImGui" defs["igGetScrollX"][1]["ov_cimguiname"] = "igGetScrollX" defs["igGetScrollX"][1]["ret"] = "float" @@ -9172,7 +9416,7 @@ defs["igGetScrollY"][1]["call_args"] = "()" defs["igGetScrollY"][1]["cimguiname"] = "igGetScrollY" defs["igGetScrollY"][1]["defaults"] = {} defs["igGetScrollY"][1]["funcname"] = "GetScrollY" -defs["igGetScrollY"][1]["location"] = "imgui:391" +defs["igGetScrollY"][1]["location"] = "imgui:389" defs["igGetScrollY"][1]["namespace"] = "ImGui" defs["igGetScrollY"][1]["ov_cimguiname"] = "igGetScrollY" defs["igGetScrollY"][1]["ret"] = "float" @@ -9204,7 +9448,7 @@ defs["igGetStyle"][1]["call_args"] = "()" defs["igGetStyle"][1]["cimguiname"] = "igGetStyle" defs["igGetStyle"][1]["defaults"] = {} defs["igGetStyle"][1]["funcname"] = "GetStyle" -defs["igGetStyle"][1]["location"] = "imgui:301" +defs["igGetStyle"][1]["location"] = "imgui:295" defs["igGetStyle"][1]["namespace"] = "ImGui" defs["igGetStyle"][1]["ov_cimguiname"] = "igGetStyle" defs["igGetStyle"][1]["ret"] = "ImGuiStyle*" @@ -9243,7 +9487,7 @@ defs["igGetStyleColorVec4"][1]["call_args"] = "(idx)" defs["igGetStyleColorVec4"][1]["cimguiname"] = "igGetStyleColorVec4" defs["igGetStyleColorVec4"][1]["defaults"] = {} defs["igGetStyleColorVec4"][1]["funcname"] = "GetStyleColorVec4" -defs["igGetStyleColorVec4"][1]["location"] = "imgui:431" +defs["igGetStyleColorVec4"][1]["location"] = "imgui:429" defs["igGetStyleColorVec4"][1]["namespace"] = "ImGui" defs["igGetStyleColorVec4"][1]["ov_cimguiname"] = "igGetStyleColorVec4" defs["igGetStyleColorVec4"][1]["ret"] = "const ImVec4*" @@ -9260,7 +9504,7 @@ defs["igGetTextLineHeight"][1]["call_args"] = "()" defs["igGetTextLineHeight"][1]["cimguiname"] = "igGetTextLineHeight" defs["igGetTextLineHeight"][1]["defaults"] = {} defs["igGetTextLineHeight"][1]["funcname"] = "GetTextLineHeight" -defs["igGetTextLineHeight"][1]["location"] = "imgui:459" +defs["igGetTextLineHeight"][1]["location"] = "imgui:457" defs["igGetTextLineHeight"][1]["namespace"] = "ImGui" defs["igGetTextLineHeight"][1]["ov_cimguiname"] = "igGetTextLineHeight" defs["igGetTextLineHeight"][1]["ret"] = "float" @@ -9276,7 +9520,7 @@ defs["igGetTextLineHeightWithSpacing"][1]["call_args"] = "()" defs["igGetTextLineHeightWithSpacing"][1]["cimguiname"] = "igGetTextLineHeightWithSpacing" defs["igGetTextLineHeightWithSpacing"][1]["defaults"] = {} defs["igGetTextLineHeightWithSpacing"][1]["funcname"] = "GetTextLineHeightWithSpacing" -defs["igGetTextLineHeightWithSpacing"][1]["location"] = "imgui:460" +defs["igGetTextLineHeightWithSpacing"][1]["location"] = "imgui:458" defs["igGetTextLineHeightWithSpacing"][1]["namespace"] = "ImGui" defs["igGetTextLineHeightWithSpacing"][1]["ov_cimguiname"] = "igGetTextLineHeightWithSpacing" defs["igGetTextLineHeightWithSpacing"][1]["ret"] = "float" @@ -9292,7 +9536,7 @@ defs["igGetTime"][1]["call_args"] = "()" defs["igGetTime"][1]["cimguiname"] = "igGetTime" defs["igGetTime"][1]["defaults"] = {} defs["igGetTime"][1]["funcname"] = "GetTime" -defs["igGetTime"][1]["location"] = "imgui:864" +defs["igGetTime"][1]["location"] = "imgui:866" defs["igGetTime"][1]["namespace"] = "ImGui" defs["igGetTime"][1]["ov_cimguiname"] = "igGetTime" defs["igGetTime"][1]["ret"] = "double" @@ -9308,7 +9552,7 @@ defs["igGetTreeNodeToLabelSpacing"][1]["call_args"] = "()" defs["igGetTreeNodeToLabelSpacing"][1]["cimguiname"] = "igGetTreeNodeToLabelSpacing" defs["igGetTreeNodeToLabelSpacing"][1]["defaults"] = {} defs["igGetTreeNodeToLabelSpacing"][1]["funcname"] = "GetTreeNodeToLabelSpacing" -defs["igGetTreeNodeToLabelSpacing"][1]["location"] = "imgui:613" +defs["igGetTreeNodeToLabelSpacing"][1]["location"] = "imgui:615" defs["igGetTreeNodeToLabelSpacing"][1]["namespace"] = "ImGui" defs["igGetTreeNodeToLabelSpacing"][1]["ov_cimguiname"] = "igGetTreeNodeToLabelSpacing" defs["igGetTreeNodeToLabelSpacing"][1]["ret"] = "float" @@ -9324,7 +9568,7 @@ defs["igGetVersion"][1]["call_args"] = "()" defs["igGetVersion"][1]["cimguiname"] = "igGetVersion" defs["igGetVersion"][1]["defaults"] = {} defs["igGetVersion"][1]["funcname"] = "GetVersion" -defs["igGetVersion"][1]["location"] = "imgui:316" +defs["igGetVersion"][1]["location"] = "imgui:311" defs["igGetVersion"][1]["namespace"] = "ImGui" defs["igGetVersion"][1]["ov_cimguiname"] = "igGetVersion" defs["igGetVersion"][1]["ret"] = "const char*" @@ -9343,7 +9587,7 @@ defs["igGetWindowContentRegionMax"][1]["call_args"] = "()" defs["igGetWindowContentRegionMax"][1]["cimguiname"] = "igGetWindowContentRegionMax" defs["igGetWindowContentRegionMax"][1]["defaults"] = {} defs["igGetWindowContentRegionMax"][1]["funcname"] = "GetWindowContentRegionMax" -defs["igGetWindowContentRegionMax"][1]["location"] = "imgui:387" +defs["igGetWindowContentRegionMax"][1]["location"] = "imgui:383" defs["igGetWindowContentRegionMax"][1]["namespace"] = "ImGui" defs["igGetWindowContentRegionMax"][1]["nonUDT"] = 1 defs["igGetWindowContentRegionMax"][1]["ov_cimguiname"] = "igGetWindowContentRegionMax" @@ -9363,7 +9607,7 @@ defs["igGetWindowContentRegionMin"][1]["call_args"] = "()" defs["igGetWindowContentRegionMin"][1]["cimguiname"] = "igGetWindowContentRegionMin" defs["igGetWindowContentRegionMin"][1]["defaults"] = {} defs["igGetWindowContentRegionMin"][1]["funcname"] = "GetWindowContentRegionMin" -defs["igGetWindowContentRegionMin"][1]["location"] = "imgui:386" +defs["igGetWindowContentRegionMin"][1]["location"] = "imgui:382" defs["igGetWindowContentRegionMin"][1]["namespace"] = "ImGui" defs["igGetWindowContentRegionMin"][1]["nonUDT"] = 1 defs["igGetWindowContentRegionMin"][1]["ov_cimguiname"] = "igGetWindowContentRegionMin" @@ -9380,7 +9624,7 @@ defs["igGetWindowDrawList"][1]["call_args"] = "()" defs["igGetWindowDrawList"][1]["cimguiname"] = "igGetWindowDrawList" defs["igGetWindowDrawList"][1]["defaults"] = {} defs["igGetWindowDrawList"][1]["funcname"] = "GetWindowDrawList" -defs["igGetWindowDrawList"][1]["location"] = "imgui:356" +defs["igGetWindowDrawList"][1]["location"] = "imgui:351" defs["igGetWindowDrawList"][1]["namespace"] = "ImGui" defs["igGetWindowDrawList"][1]["ov_cimguiname"] = "igGetWindowDrawList" defs["igGetWindowDrawList"][1]["ret"] = "ImDrawList*" @@ -9396,7 +9640,7 @@ defs["igGetWindowHeight"][1]["call_args"] = "()" defs["igGetWindowHeight"][1]["cimguiname"] = "igGetWindowHeight" defs["igGetWindowHeight"][1]["defaults"] = {} defs["igGetWindowHeight"][1]["funcname"] = "GetWindowHeight" -defs["igGetWindowHeight"][1]["location"] = "imgui:360" +defs["igGetWindowHeight"][1]["location"] = "imgui:355" defs["igGetWindowHeight"][1]["namespace"] = "ImGui" defs["igGetWindowHeight"][1]["ov_cimguiname"] = "igGetWindowHeight" defs["igGetWindowHeight"][1]["ret"] = "float" @@ -9415,7 +9659,7 @@ defs["igGetWindowPos"][1]["call_args"] = "()" defs["igGetWindowPos"][1]["cimguiname"] = "igGetWindowPos" defs["igGetWindowPos"][1]["defaults"] = {} defs["igGetWindowPos"][1]["funcname"] = "GetWindowPos" -defs["igGetWindowPos"][1]["location"] = "imgui:357" +defs["igGetWindowPos"][1]["location"] = "imgui:352" defs["igGetWindowPos"][1]["namespace"] = "ImGui" defs["igGetWindowPos"][1]["nonUDT"] = 1 defs["igGetWindowPos"][1]["ov_cimguiname"] = "igGetWindowPos" @@ -9435,7 +9679,7 @@ defs["igGetWindowSize"][1]["call_args"] = "()" defs["igGetWindowSize"][1]["cimguiname"] = "igGetWindowSize" defs["igGetWindowSize"][1]["defaults"] = {} defs["igGetWindowSize"][1]["funcname"] = "GetWindowSize" -defs["igGetWindowSize"][1]["location"] = "imgui:358" +defs["igGetWindowSize"][1]["location"] = "imgui:353" defs["igGetWindowSize"][1]["namespace"] = "ImGui" defs["igGetWindowSize"][1]["nonUDT"] = 1 defs["igGetWindowSize"][1]["ov_cimguiname"] = "igGetWindowSize" @@ -9452,7 +9696,7 @@ defs["igGetWindowWidth"][1]["call_args"] = "()" defs["igGetWindowWidth"][1]["cimguiname"] = "igGetWindowWidth" defs["igGetWindowWidth"][1]["defaults"] = {} defs["igGetWindowWidth"][1]["funcname"] = "GetWindowWidth" -defs["igGetWindowWidth"][1]["location"] = "imgui:359" +defs["igGetWindowWidth"][1]["location"] = "imgui:354" defs["igGetWindowWidth"][1]["namespace"] = "ImGui" defs["igGetWindowWidth"][1]["ov_cimguiname"] = "igGetWindowWidth" defs["igGetWindowWidth"][1]["ret"] = "float" @@ -9490,7 +9734,7 @@ defs["igImage"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" defs["igImage"][1]["defaults"]["uv0"] = "ImVec2(0,0)" defs["igImage"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImage"][1]["funcname"] = "Image" -defs["igImage"][1]["location"] = "imgui:506" +defs["igImage"][1]["location"] = "imgui:514" defs["igImage"][1]["namespace"] = "ImGui" defs["igImage"][1]["ov_cimguiname"] = "igImage" defs["igImage"][1]["ret"] = "void" @@ -9499,46 +9743,45 @@ defs["igImage"][1]["stname"] = "" defs["igImage"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImage"][1] defs["igImageButton"] = {} defs["igImageButton"][1] = {} -defs["igImageButton"][1]["args"] = "(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col)" +defs["igImageButton"][1]["args"] = "(const char* str_id,ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col)" defs["igImageButton"][1]["argsT"] = {} defs["igImageButton"][1]["argsT"][1] = {} -defs["igImageButton"][1]["argsT"][1]["name"] = "user_texture_id" -defs["igImageButton"][1]["argsT"][1]["type"] = "ImTextureID" +defs["igImageButton"][1]["argsT"][1]["name"] = "str_id" +defs["igImageButton"][1]["argsT"][1]["type"] = "const char*" defs["igImageButton"][1]["argsT"][2] = {} -defs["igImageButton"][1]["argsT"][2]["name"] = "size" -defs["igImageButton"][1]["argsT"][2]["type"] = "const ImVec2" +defs["igImageButton"][1]["argsT"][2]["name"] = "user_texture_id" +defs["igImageButton"][1]["argsT"][2]["type"] = "ImTextureID" defs["igImageButton"][1]["argsT"][3] = {} -defs["igImageButton"][1]["argsT"][3]["name"] = "uv0" +defs["igImageButton"][1]["argsT"][3]["name"] = "size" defs["igImageButton"][1]["argsT"][3]["type"] = "const ImVec2" defs["igImageButton"][1]["argsT"][4] = {} -defs["igImageButton"][1]["argsT"][4]["name"] = "uv1" +defs["igImageButton"][1]["argsT"][4]["name"] = "uv0" defs["igImageButton"][1]["argsT"][4]["type"] = "const ImVec2" defs["igImageButton"][1]["argsT"][5] = {} -defs["igImageButton"][1]["argsT"][5]["name"] = "frame_padding" -defs["igImageButton"][1]["argsT"][5]["type"] = "int" +defs["igImageButton"][1]["argsT"][5]["name"] = "uv1" +defs["igImageButton"][1]["argsT"][5]["type"] = "const ImVec2" defs["igImageButton"][1]["argsT"][6] = {} defs["igImageButton"][1]["argsT"][6]["name"] = "bg_col" defs["igImageButton"][1]["argsT"][6]["type"] = "const ImVec4" defs["igImageButton"][1]["argsT"][7] = {} defs["igImageButton"][1]["argsT"][7]["name"] = "tint_col" defs["igImageButton"][1]["argsT"][7]["type"] = "const ImVec4" -defs["igImageButton"][1]["argsoriginal"] = "(ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),int frame_padding=-1,const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" -defs["igImageButton"][1]["call_args"] = "(user_texture_id,size,uv0,uv1,frame_padding,bg_col,tint_col)" +defs["igImageButton"][1]["argsoriginal"] = "(const char* str_id,ImTextureID user_texture_id,const ImVec2& size,const ImVec2& uv0=ImVec2(0,0),const ImVec2& uv1=ImVec2(1,1),const ImVec4& bg_col=ImVec4(0,0,0,0),const ImVec4& tint_col=ImVec4(1,1,1,1))" +defs["igImageButton"][1]["call_args"] = "(str_id,user_texture_id,size,uv0,uv1,bg_col,tint_col)" defs["igImageButton"][1]["cimguiname"] = "igImageButton" defs["igImageButton"][1]["defaults"] = {} defs["igImageButton"][1]["defaults"]["bg_col"] = "ImVec4(0,0,0,0)" -defs["igImageButton"][1]["defaults"]["frame_padding"] = "-1" defs["igImageButton"][1]["defaults"]["tint_col"] = "ImVec4(1,1,1,1)" defs["igImageButton"][1]["defaults"]["uv0"] = "ImVec2(0,0)" defs["igImageButton"][1]["defaults"]["uv1"] = "ImVec2(1,1)" defs["igImageButton"][1]["funcname"] = "ImageButton" -defs["igImageButton"][1]["location"] = "imgui:507" +defs["igImageButton"][1]["location"] = "imgui:515" defs["igImageButton"][1]["namespace"] = "ImGui" defs["igImageButton"][1]["ov_cimguiname"] = "igImageButton" defs["igImageButton"][1]["ret"] = "bool" -defs["igImageButton"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)" +defs["igImageButton"][1]["signature"] = "(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" defs["igImageButton"][1]["stname"] = "" -defs["igImageButton"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] +defs["igImageButton"]["(const char*,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] defs["igIndent"] = {} defs["igIndent"][1] = {} defs["igIndent"][1]["args"] = "(float indent_w)" @@ -9552,7 +9795,7 @@ defs["igIndent"][1]["cimguiname"] = "igIndent" defs["igIndent"][1]["defaults"] = {} defs["igIndent"][1]["defaults"]["indent_w"] = "0.0f" defs["igIndent"][1]["funcname"] = "Indent" -defs["igIndent"][1]["location"] = "imgui:445" +defs["igIndent"][1]["location"] = "imgui:443" defs["igIndent"][1]["namespace"] = "ImGui" defs["igIndent"][1]["ov_cimguiname"] = "igIndent" defs["igIndent"][1]["ret"] = "void" @@ -9590,7 +9833,7 @@ defs["igInputDouble"][1]["defaults"]["format"] = "\"%.6f\"" defs["igInputDouble"][1]["defaults"]["step"] = "0.0" defs["igInputDouble"][1]["defaults"]["step_fast"] = "0.0" defs["igInputDouble"][1]["funcname"] = "InputDouble" -defs["igInputDouble"][1]["location"] = "imgui:584" +defs["igInputDouble"][1]["location"] = "imgui:586" defs["igInputDouble"][1]["namespace"] = "ImGui" defs["igInputDouble"][1]["ov_cimguiname"] = "igInputDouble" defs["igInputDouble"][1]["ret"] = "bool" @@ -9628,7 +9871,7 @@ defs["igInputFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat"][1]["defaults"]["step"] = "0.0f" defs["igInputFloat"][1]["defaults"]["step_fast"] = "0.0f" defs["igInputFloat"][1]["funcname"] = "InputFloat" -defs["igInputFloat"][1]["location"] = "imgui:576" +defs["igInputFloat"][1]["location"] = "imgui:578" defs["igInputFloat"][1]["namespace"] = "ImGui" defs["igInputFloat"][1]["ov_cimguiname"] = "igInputFloat" defs["igInputFloat"][1]["ret"] = "bool" @@ -9658,7 +9901,7 @@ defs["igInputFloat2"][1]["defaults"] = {} defs["igInputFloat2"][1]["defaults"]["flags"] = "0" defs["igInputFloat2"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat2"][1]["funcname"] = "InputFloat2" -defs["igInputFloat2"][1]["location"] = "imgui:577" +defs["igInputFloat2"][1]["location"] = "imgui:579" defs["igInputFloat2"][1]["namespace"] = "ImGui" defs["igInputFloat2"][1]["ov_cimguiname"] = "igInputFloat2" defs["igInputFloat2"][1]["ret"] = "bool" @@ -9688,7 +9931,7 @@ defs["igInputFloat3"][1]["defaults"] = {} defs["igInputFloat3"][1]["defaults"]["flags"] = "0" defs["igInputFloat3"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat3"][1]["funcname"] = "InputFloat3" -defs["igInputFloat3"][1]["location"] = "imgui:578" +defs["igInputFloat3"][1]["location"] = "imgui:580" defs["igInputFloat3"][1]["namespace"] = "ImGui" defs["igInputFloat3"][1]["ov_cimguiname"] = "igInputFloat3" defs["igInputFloat3"][1]["ret"] = "bool" @@ -9718,7 +9961,7 @@ defs["igInputFloat4"][1]["defaults"] = {} defs["igInputFloat4"][1]["defaults"]["flags"] = "0" defs["igInputFloat4"][1]["defaults"]["format"] = "\"%.3f\"" defs["igInputFloat4"][1]["funcname"] = "InputFloat4" -defs["igInputFloat4"][1]["location"] = "imgui:579" +defs["igInputFloat4"][1]["location"] = "imgui:581" defs["igInputFloat4"][1]["namespace"] = "ImGui" defs["igInputFloat4"][1]["ov_cimguiname"] = "igInputFloat4" defs["igInputFloat4"][1]["ret"] = "bool" @@ -9752,7 +9995,7 @@ defs["igInputInt"][1]["defaults"]["flags"] = "0" defs["igInputInt"][1]["defaults"]["step"] = "1" defs["igInputInt"][1]["defaults"]["step_fast"] = "100" defs["igInputInt"][1]["funcname"] = "InputInt" -defs["igInputInt"][1]["location"] = "imgui:580" +defs["igInputInt"][1]["location"] = "imgui:582" defs["igInputInt"][1]["namespace"] = "ImGui" defs["igInputInt"][1]["ov_cimguiname"] = "igInputInt" defs["igInputInt"][1]["ret"] = "bool" @@ -9778,7 +10021,7 @@ defs["igInputInt2"][1]["cimguiname"] = "igInputInt2" defs["igInputInt2"][1]["defaults"] = {} defs["igInputInt2"][1]["defaults"]["flags"] = "0" defs["igInputInt2"][1]["funcname"] = "InputInt2" -defs["igInputInt2"][1]["location"] = "imgui:581" +defs["igInputInt2"][1]["location"] = "imgui:583" defs["igInputInt2"][1]["namespace"] = "ImGui" defs["igInputInt2"][1]["ov_cimguiname"] = "igInputInt2" defs["igInputInt2"][1]["ret"] = "bool" @@ -9804,7 +10047,7 @@ defs["igInputInt3"][1]["cimguiname"] = "igInputInt3" defs["igInputInt3"][1]["defaults"] = {} defs["igInputInt3"][1]["defaults"]["flags"] = "0" defs["igInputInt3"][1]["funcname"] = "InputInt3" -defs["igInputInt3"][1]["location"] = "imgui:582" +defs["igInputInt3"][1]["location"] = "imgui:584" defs["igInputInt3"][1]["namespace"] = "ImGui" defs["igInputInt3"][1]["ov_cimguiname"] = "igInputInt3" defs["igInputInt3"][1]["ret"] = "bool" @@ -9830,7 +10073,7 @@ defs["igInputInt4"][1]["cimguiname"] = "igInputInt4" defs["igInputInt4"][1]["defaults"] = {} defs["igInputInt4"][1]["defaults"]["flags"] = "0" defs["igInputInt4"][1]["funcname"] = "InputInt4" -defs["igInputInt4"][1]["location"] = "imgui:583" +defs["igInputInt4"][1]["location"] = "imgui:585" defs["igInputInt4"][1]["namespace"] = "ImGui" defs["igInputInt4"][1]["ov_cimguiname"] = "igInputInt4" defs["igInputInt4"][1]["ret"] = "bool" @@ -9871,7 +10114,7 @@ defs["igInputScalar"][1]["defaults"]["format"] = "NULL" defs["igInputScalar"][1]["defaults"]["p_step"] = "NULL" defs["igInputScalar"][1]["defaults"]["p_step_fast"] = "NULL" defs["igInputScalar"][1]["funcname"] = "InputScalar" -defs["igInputScalar"][1]["location"] = "imgui:585" +defs["igInputScalar"][1]["location"] = "imgui:587" defs["igInputScalar"][1]["namespace"] = "ImGui" defs["igInputScalar"][1]["ov_cimguiname"] = "igInputScalar" defs["igInputScalar"][1]["ret"] = "bool" @@ -9915,7 +10158,7 @@ defs["igInputScalarN"][1]["defaults"]["format"] = "NULL" defs["igInputScalarN"][1]["defaults"]["p_step"] = "NULL" defs["igInputScalarN"][1]["defaults"]["p_step_fast"] = "NULL" defs["igInputScalarN"][1]["funcname"] = "InputScalarN" -defs["igInputScalarN"][1]["location"] = "imgui:586" +defs["igInputScalarN"][1]["location"] = "imgui:588" defs["igInputScalarN"][1]["namespace"] = "ImGui" defs["igInputScalarN"][1]["ov_cimguiname"] = "igInputScalarN" defs["igInputScalarN"][1]["ret"] = "bool" @@ -9952,7 +10195,7 @@ defs["igInputText"][1]["defaults"]["callback"] = "NULL" defs["igInputText"][1]["defaults"]["flags"] = "0" defs["igInputText"][1]["defaults"]["user_data"] = "NULL" defs["igInputText"][1]["funcname"] = "InputText" -defs["igInputText"][1]["location"] = "imgui:573" +defs["igInputText"][1]["location"] = "imgui:575" defs["igInputText"][1]["namespace"] = "ImGui" defs["igInputText"][1]["ov_cimguiname"] = "igInputText" defs["igInputText"][1]["ret"] = "bool" @@ -9993,7 +10236,7 @@ defs["igInputTextMultiline"][1]["defaults"]["flags"] = "0" defs["igInputTextMultiline"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igInputTextMultiline"][1]["defaults"]["user_data"] = "NULL" defs["igInputTextMultiline"][1]["funcname"] = "InputTextMultiline" -defs["igInputTextMultiline"][1]["location"] = "imgui:574" +defs["igInputTextMultiline"][1]["location"] = "imgui:576" defs["igInputTextMultiline"][1]["namespace"] = "ImGui" defs["igInputTextMultiline"][1]["ov_cimguiname"] = "igInputTextMultiline" defs["igInputTextMultiline"][1]["ret"] = "bool" @@ -10033,7 +10276,7 @@ defs["igInputTextWithHint"][1]["defaults"]["callback"] = "NULL" defs["igInputTextWithHint"][1]["defaults"]["flags"] = "0" defs["igInputTextWithHint"][1]["defaults"]["user_data"] = "NULL" defs["igInputTextWithHint"][1]["funcname"] = "InputTextWithHint" -defs["igInputTextWithHint"][1]["location"] = "imgui:575" +defs["igInputTextWithHint"][1]["location"] = "imgui:577" defs["igInputTextWithHint"][1]["namespace"] = "ImGui" defs["igInputTextWithHint"][1]["ov_cimguiname"] = "igInputTextWithHint" defs["igInputTextWithHint"][1]["ret"] = "bool" @@ -10059,7 +10302,7 @@ defs["igInvisibleButton"][1]["cimguiname"] = "igInvisibleButton" defs["igInvisibleButton"][1]["defaults"] = {} defs["igInvisibleButton"][1]["defaults"]["flags"] = "0" defs["igInvisibleButton"][1]["funcname"] = "InvisibleButton" -defs["igInvisibleButton"][1]["location"] = "imgui:504" +defs["igInvisibleButton"][1]["location"] = "imgui:502" defs["igInvisibleButton"][1]["namespace"] = "ImGui" defs["igInvisibleButton"][1]["ov_cimguiname"] = "igInvisibleButton" defs["igInvisibleButton"][1]["ret"] = "bool" @@ -10075,7 +10318,7 @@ defs["igIsAnyItemActive"][1]["call_args"] = "()" defs["igIsAnyItemActive"][1]["cimguiname"] = "igIsAnyItemActive" defs["igIsAnyItemActive"][1]["defaults"] = {} defs["igIsAnyItemActive"][1]["funcname"] = "IsAnyItemActive" -defs["igIsAnyItemActive"][1]["location"] = "imgui:848" +defs["igIsAnyItemActive"][1]["location"] = "imgui:846" defs["igIsAnyItemActive"][1]["namespace"] = "ImGui" defs["igIsAnyItemActive"][1]["ov_cimguiname"] = "igIsAnyItemActive" defs["igIsAnyItemActive"][1]["ret"] = "bool" @@ -10091,7 +10334,7 @@ defs["igIsAnyItemFocused"][1]["call_args"] = "()" defs["igIsAnyItemFocused"][1]["cimguiname"] = "igIsAnyItemFocused" defs["igIsAnyItemFocused"][1]["defaults"] = {} defs["igIsAnyItemFocused"][1]["funcname"] = "IsAnyItemFocused" -defs["igIsAnyItemFocused"][1]["location"] = "imgui:849" +defs["igIsAnyItemFocused"][1]["location"] = "imgui:847" defs["igIsAnyItemFocused"][1]["namespace"] = "ImGui" defs["igIsAnyItemFocused"][1]["ov_cimguiname"] = "igIsAnyItemFocused" defs["igIsAnyItemFocused"][1]["ret"] = "bool" @@ -10107,7 +10350,7 @@ defs["igIsAnyItemHovered"][1]["call_args"] = "()" defs["igIsAnyItemHovered"][1]["cimguiname"] = "igIsAnyItemHovered" defs["igIsAnyItemHovered"][1]["defaults"] = {} defs["igIsAnyItemHovered"][1]["funcname"] = "IsAnyItemHovered" -defs["igIsAnyItemHovered"][1]["location"] = "imgui:847" +defs["igIsAnyItemHovered"][1]["location"] = "imgui:845" defs["igIsAnyItemHovered"][1]["namespace"] = "ImGui" defs["igIsAnyItemHovered"][1]["ov_cimguiname"] = "igIsAnyItemHovered" defs["igIsAnyItemHovered"][1]["ret"] = "bool" @@ -10123,7 +10366,7 @@ defs["igIsAnyMouseDown"][1]["call_args"] = "()" defs["igIsAnyMouseDown"][1]["cimguiname"] = "igIsAnyMouseDown" defs["igIsAnyMouseDown"][1]["defaults"] = {} defs["igIsAnyMouseDown"][1]["funcname"] = "IsAnyMouseDown" -defs["igIsAnyMouseDown"][1]["location"] = "imgui:905" +defs["igIsAnyMouseDown"][1]["location"] = "imgui:908" defs["igIsAnyMouseDown"][1]["namespace"] = "ImGui" defs["igIsAnyMouseDown"][1]["ov_cimguiname"] = "igIsAnyMouseDown" defs["igIsAnyMouseDown"][1]["ret"] = "bool" @@ -10139,7 +10382,7 @@ defs["igIsItemActivated"][1]["call_args"] = "()" defs["igIsItemActivated"][1]["cimguiname"] = "igIsItemActivated" defs["igIsItemActivated"][1]["defaults"] = {} defs["igIsItemActivated"][1]["funcname"] = "IsItemActivated" -defs["igIsItemActivated"][1]["location"] = "imgui:843" +defs["igIsItemActivated"][1]["location"] = "imgui:841" defs["igIsItemActivated"][1]["namespace"] = "ImGui" defs["igIsItemActivated"][1]["ov_cimguiname"] = "igIsItemActivated" defs["igIsItemActivated"][1]["ret"] = "bool" @@ -10155,7 +10398,7 @@ defs["igIsItemActive"][1]["call_args"] = "()" defs["igIsItemActive"][1]["cimguiname"] = "igIsItemActive" defs["igIsItemActive"][1]["defaults"] = {} defs["igIsItemActive"][1]["funcname"] = "IsItemActive" -defs["igIsItemActive"][1]["location"] = "imgui:838" +defs["igIsItemActive"][1]["location"] = "imgui:836" defs["igIsItemActive"][1]["namespace"] = "ImGui" defs["igIsItemActive"][1]["ov_cimguiname"] = "igIsItemActive" defs["igIsItemActive"][1]["ret"] = "bool" @@ -10175,7 +10418,7 @@ defs["igIsItemClicked"][1]["cimguiname"] = "igIsItemClicked" defs["igIsItemClicked"][1]["defaults"] = {} defs["igIsItemClicked"][1]["defaults"]["mouse_button"] = "0" defs["igIsItemClicked"][1]["funcname"] = "IsItemClicked" -defs["igIsItemClicked"][1]["location"] = "imgui:840" +defs["igIsItemClicked"][1]["location"] = "imgui:838" defs["igIsItemClicked"][1]["namespace"] = "ImGui" defs["igIsItemClicked"][1]["ov_cimguiname"] = "igIsItemClicked" defs["igIsItemClicked"][1]["ret"] = "bool" @@ -10191,7 +10434,7 @@ defs["igIsItemDeactivated"][1]["call_args"] = "()" defs["igIsItemDeactivated"][1]["cimguiname"] = "igIsItemDeactivated" defs["igIsItemDeactivated"][1]["defaults"] = {} defs["igIsItemDeactivated"][1]["funcname"] = "IsItemDeactivated" -defs["igIsItemDeactivated"][1]["location"] = "imgui:844" +defs["igIsItemDeactivated"][1]["location"] = "imgui:842" defs["igIsItemDeactivated"][1]["namespace"] = "ImGui" defs["igIsItemDeactivated"][1]["ov_cimguiname"] = "igIsItemDeactivated" defs["igIsItemDeactivated"][1]["ret"] = "bool" @@ -10207,7 +10450,7 @@ defs["igIsItemDeactivatedAfterEdit"][1]["call_args"] = "()" defs["igIsItemDeactivatedAfterEdit"][1]["cimguiname"] = "igIsItemDeactivatedAfterEdit" defs["igIsItemDeactivatedAfterEdit"][1]["defaults"] = {} defs["igIsItemDeactivatedAfterEdit"][1]["funcname"] = "IsItemDeactivatedAfterEdit" -defs["igIsItemDeactivatedAfterEdit"][1]["location"] = "imgui:845" +defs["igIsItemDeactivatedAfterEdit"][1]["location"] = "imgui:843" defs["igIsItemDeactivatedAfterEdit"][1]["namespace"] = "ImGui" defs["igIsItemDeactivatedAfterEdit"][1]["ov_cimguiname"] = "igIsItemDeactivatedAfterEdit" defs["igIsItemDeactivatedAfterEdit"][1]["ret"] = "bool" @@ -10223,7 +10466,7 @@ defs["igIsItemEdited"][1]["call_args"] = "()" defs["igIsItemEdited"][1]["cimguiname"] = "igIsItemEdited" defs["igIsItemEdited"][1]["defaults"] = {} defs["igIsItemEdited"][1]["funcname"] = "IsItemEdited" -defs["igIsItemEdited"][1]["location"] = "imgui:842" +defs["igIsItemEdited"][1]["location"] = "imgui:840" defs["igIsItemEdited"][1]["namespace"] = "ImGui" defs["igIsItemEdited"][1]["ov_cimguiname"] = "igIsItemEdited" defs["igIsItemEdited"][1]["ret"] = "bool" @@ -10239,7 +10482,7 @@ defs["igIsItemFocused"][1]["call_args"] = "()" defs["igIsItemFocused"][1]["cimguiname"] = "igIsItemFocused" defs["igIsItemFocused"][1]["defaults"] = {} defs["igIsItemFocused"][1]["funcname"] = "IsItemFocused" -defs["igIsItemFocused"][1]["location"] = "imgui:839" +defs["igIsItemFocused"][1]["location"] = "imgui:837" defs["igIsItemFocused"][1]["namespace"] = "ImGui" defs["igIsItemFocused"][1]["ov_cimguiname"] = "igIsItemFocused" defs["igIsItemFocused"][1]["ret"] = "bool" @@ -10259,7 +10502,7 @@ defs["igIsItemHovered"][1]["cimguiname"] = "igIsItemHovered" defs["igIsItemHovered"][1]["defaults"] = {} defs["igIsItemHovered"][1]["defaults"]["flags"] = "0" defs["igIsItemHovered"][1]["funcname"] = "IsItemHovered" -defs["igIsItemHovered"][1]["location"] = "imgui:837" +defs["igIsItemHovered"][1]["location"] = "imgui:835" defs["igIsItemHovered"][1]["namespace"] = "ImGui" defs["igIsItemHovered"][1]["ov_cimguiname"] = "igIsItemHovered" defs["igIsItemHovered"][1]["ret"] = "bool" @@ -10275,7 +10518,7 @@ defs["igIsItemToggledOpen"][1]["call_args"] = "()" defs["igIsItemToggledOpen"][1]["cimguiname"] = "igIsItemToggledOpen" defs["igIsItemToggledOpen"][1]["defaults"] = {} defs["igIsItemToggledOpen"][1]["funcname"] = "IsItemToggledOpen" -defs["igIsItemToggledOpen"][1]["location"] = "imgui:846" +defs["igIsItemToggledOpen"][1]["location"] = "imgui:844" defs["igIsItemToggledOpen"][1]["namespace"] = "ImGui" defs["igIsItemToggledOpen"][1]["ov_cimguiname"] = "igIsItemToggledOpen" defs["igIsItemToggledOpen"][1]["ret"] = "bool" @@ -10291,7 +10534,7 @@ defs["igIsItemVisible"][1]["call_args"] = "()" defs["igIsItemVisible"][1]["cimguiname"] = "igIsItemVisible" defs["igIsItemVisible"][1]["defaults"] = {} defs["igIsItemVisible"][1]["funcname"] = "IsItemVisible" -defs["igIsItemVisible"][1]["location"] = "imgui:841" +defs["igIsItemVisible"][1]["location"] = "imgui:839" defs["igIsItemVisible"][1]["namespace"] = "ImGui" defs["igIsItemVisible"][1]["ov_cimguiname"] = "igIsItemVisible" defs["igIsItemVisible"][1]["ret"] = "bool" @@ -10300,65 +10543,65 @@ defs["igIsItemVisible"][1]["stname"] = "" defs["igIsItemVisible"]["()"] = defs["igIsItemVisible"][1] defs["igIsKeyDown"] = {} defs["igIsKeyDown"][1] = {} -defs["igIsKeyDown"][1]["args"] = "(int user_key_index)" +defs["igIsKeyDown"][1]["args"] = "(ImGuiKey key)" defs["igIsKeyDown"][1]["argsT"] = {} defs["igIsKeyDown"][1]["argsT"][1] = {} -defs["igIsKeyDown"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyDown"][1]["argsT"][1]["type"] = "int" -defs["igIsKeyDown"][1]["argsoriginal"] = "(int user_key_index)" -defs["igIsKeyDown"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyDown"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyDown"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyDown"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsKeyDown"][1]["call_args"] = "(key)" defs["igIsKeyDown"][1]["cimguiname"] = "igIsKeyDown" defs["igIsKeyDown"][1]["defaults"] = {} defs["igIsKeyDown"][1]["funcname"] = "IsKeyDown" -defs["igIsKeyDown"][1]["location"] = "imgui:888" +defs["igIsKeyDown"][1]["location"] = "imgui:890" defs["igIsKeyDown"][1]["namespace"] = "ImGui" defs["igIsKeyDown"][1]["ov_cimguiname"] = "igIsKeyDown" defs["igIsKeyDown"][1]["ret"] = "bool" -defs["igIsKeyDown"][1]["signature"] = "(int)" +defs["igIsKeyDown"][1]["signature"] = "(ImGuiKey)" defs["igIsKeyDown"][1]["stname"] = "" -defs["igIsKeyDown"]["(int)"] = defs["igIsKeyDown"][1] +defs["igIsKeyDown"]["(ImGuiKey)"] = defs["igIsKeyDown"][1] defs["igIsKeyPressed"] = {} defs["igIsKeyPressed"][1] = {} -defs["igIsKeyPressed"][1]["args"] = "(int user_key_index,bool repeat)" +defs["igIsKeyPressed"][1]["args"] = "(ImGuiKey key,bool repeat)" defs["igIsKeyPressed"][1]["argsT"] = {} defs["igIsKeyPressed"][1]["argsT"][1] = {} -defs["igIsKeyPressed"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyPressed"][1]["argsT"][1]["type"] = "int" +defs["igIsKeyPressed"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyPressed"][1]["argsT"][1]["type"] = "ImGuiKey" defs["igIsKeyPressed"][1]["argsT"][2] = {} defs["igIsKeyPressed"][1]["argsT"][2]["name"] = "repeat" defs["igIsKeyPressed"][1]["argsT"][2]["type"] = "bool" -defs["igIsKeyPressed"][1]["argsoriginal"] = "(int user_key_index,bool repeat=true)" -defs["igIsKeyPressed"][1]["call_args"] = "(user_key_index,repeat)" +defs["igIsKeyPressed"][1]["argsoriginal"] = "(ImGuiKey key,bool repeat=true)" +defs["igIsKeyPressed"][1]["call_args"] = "(key,repeat)" defs["igIsKeyPressed"][1]["cimguiname"] = "igIsKeyPressed" defs["igIsKeyPressed"][1]["defaults"] = {} defs["igIsKeyPressed"][1]["defaults"]["repeat"] = "true" defs["igIsKeyPressed"][1]["funcname"] = "IsKeyPressed" -defs["igIsKeyPressed"][1]["location"] = "imgui:889" +defs["igIsKeyPressed"][1]["location"] = "imgui:891" defs["igIsKeyPressed"][1]["namespace"] = "ImGui" defs["igIsKeyPressed"][1]["ov_cimguiname"] = "igIsKeyPressed" defs["igIsKeyPressed"][1]["ret"] = "bool" -defs["igIsKeyPressed"][1]["signature"] = "(int,bool)" +defs["igIsKeyPressed"][1]["signature"] = "(ImGuiKey,bool)" defs["igIsKeyPressed"][1]["stname"] = "" -defs["igIsKeyPressed"]["(int,bool)"] = defs["igIsKeyPressed"][1] +defs["igIsKeyPressed"]["(ImGuiKey,bool)"] = defs["igIsKeyPressed"][1] defs["igIsKeyReleased"] = {} defs["igIsKeyReleased"][1] = {} -defs["igIsKeyReleased"][1]["args"] = "(int user_key_index)" +defs["igIsKeyReleased"][1]["args"] = "(ImGuiKey key)" defs["igIsKeyReleased"][1]["argsT"] = {} defs["igIsKeyReleased"][1]["argsT"][1] = {} -defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "user_key_index" -defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "int" -defs["igIsKeyReleased"][1]["argsoriginal"] = "(int user_key_index)" -defs["igIsKeyReleased"][1]["call_args"] = "(user_key_index)" +defs["igIsKeyReleased"][1]["argsT"][1]["name"] = "key" +defs["igIsKeyReleased"][1]["argsT"][1]["type"] = "ImGuiKey" +defs["igIsKeyReleased"][1]["argsoriginal"] = "(ImGuiKey key)" +defs["igIsKeyReleased"][1]["call_args"] = "(key)" defs["igIsKeyReleased"][1]["cimguiname"] = "igIsKeyReleased" defs["igIsKeyReleased"][1]["defaults"] = {} defs["igIsKeyReleased"][1]["funcname"] = "IsKeyReleased" -defs["igIsKeyReleased"][1]["location"] = "imgui:890" +defs["igIsKeyReleased"][1]["location"] = "imgui:892" defs["igIsKeyReleased"][1]["namespace"] = "ImGui" defs["igIsKeyReleased"][1]["ov_cimguiname"] = "igIsKeyReleased" defs["igIsKeyReleased"][1]["ret"] = "bool" -defs["igIsKeyReleased"][1]["signature"] = "(int)" +defs["igIsKeyReleased"][1]["signature"] = "(ImGuiKey)" defs["igIsKeyReleased"][1]["stname"] = "" -defs["igIsKeyReleased"]["(int)"] = defs["igIsKeyReleased"][1] +defs["igIsKeyReleased"]["(ImGuiKey)"] = defs["igIsKeyReleased"][1] defs["igIsMouseClicked"] = {} defs["igIsMouseClicked"][1] = {} defs["igIsMouseClicked"][1]["args"] = "(ImGuiMouseButton button,bool repeat)" @@ -10375,7 +10618,7 @@ defs["igIsMouseClicked"][1]["cimguiname"] = "igIsMouseClicked" defs["igIsMouseClicked"][1]["defaults"] = {} defs["igIsMouseClicked"][1]["defaults"]["repeat"] = "false" defs["igIsMouseClicked"][1]["funcname"] = "IsMouseClicked" -defs["igIsMouseClicked"][1]["location"] = "imgui:899" +defs["igIsMouseClicked"][1]["location"] = "imgui:902" defs["igIsMouseClicked"][1]["namespace"] = "ImGui" defs["igIsMouseClicked"][1]["ov_cimguiname"] = "igIsMouseClicked" defs["igIsMouseClicked"][1]["ret"] = "bool" @@ -10394,7 +10637,7 @@ defs["igIsMouseDoubleClicked"][1]["call_args"] = "(button)" defs["igIsMouseDoubleClicked"][1]["cimguiname"] = "igIsMouseDoubleClicked" defs["igIsMouseDoubleClicked"][1]["defaults"] = {} defs["igIsMouseDoubleClicked"][1]["funcname"] = "IsMouseDoubleClicked" -defs["igIsMouseDoubleClicked"][1]["location"] = "imgui:901" +defs["igIsMouseDoubleClicked"][1]["location"] = "imgui:904" defs["igIsMouseDoubleClicked"][1]["namespace"] = "ImGui" defs["igIsMouseDoubleClicked"][1]["ov_cimguiname"] = "igIsMouseDoubleClicked" defs["igIsMouseDoubleClicked"][1]["ret"] = "bool" @@ -10413,7 +10656,7 @@ defs["igIsMouseDown"][1]["call_args"] = "(button)" defs["igIsMouseDown"][1]["cimguiname"] = "igIsMouseDown" defs["igIsMouseDown"][1]["defaults"] = {} defs["igIsMouseDown"][1]["funcname"] = "IsMouseDown" -defs["igIsMouseDown"][1]["location"] = "imgui:898" +defs["igIsMouseDown"][1]["location"] = "imgui:901" defs["igIsMouseDown"][1]["namespace"] = "ImGui" defs["igIsMouseDown"][1]["ov_cimguiname"] = "igIsMouseDown" defs["igIsMouseDown"][1]["ret"] = "bool" @@ -10436,7 +10679,7 @@ defs["igIsMouseDragging"][1]["cimguiname"] = "igIsMouseDragging" defs["igIsMouseDragging"][1]["defaults"] = {} defs["igIsMouseDragging"][1]["defaults"]["lock_threshold"] = "-1.0f" defs["igIsMouseDragging"][1]["funcname"] = "IsMouseDragging" -defs["igIsMouseDragging"][1]["location"] = "imgui:908" +defs["igIsMouseDragging"][1]["location"] = "imgui:911" defs["igIsMouseDragging"][1]["namespace"] = "ImGui" defs["igIsMouseDragging"][1]["ov_cimguiname"] = "igIsMouseDragging" defs["igIsMouseDragging"][1]["ret"] = "bool" @@ -10462,7 +10705,7 @@ defs["igIsMouseHoveringRect"][1]["cimguiname"] = "igIsMouseHoveringRect" defs["igIsMouseHoveringRect"][1]["defaults"] = {} defs["igIsMouseHoveringRect"][1]["defaults"]["clip"] = "true" defs["igIsMouseHoveringRect"][1]["funcname"] = "IsMouseHoveringRect" -defs["igIsMouseHoveringRect"][1]["location"] = "imgui:903" +defs["igIsMouseHoveringRect"][1]["location"] = "imgui:906" defs["igIsMouseHoveringRect"][1]["namespace"] = "ImGui" defs["igIsMouseHoveringRect"][1]["ov_cimguiname"] = "igIsMouseHoveringRect" defs["igIsMouseHoveringRect"][1]["ret"] = "bool" @@ -10482,7 +10725,7 @@ defs["igIsMousePosValid"][1]["cimguiname"] = "igIsMousePosValid" defs["igIsMousePosValid"][1]["defaults"] = {} defs["igIsMousePosValid"][1]["defaults"]["mouse_pos"] = "NULL" defs["igIsMousePosValid"][1]["funcname"] = "IsMousePosValid" -defs["igIsMousePosValid"][1]["location"] = "imgui:904" +defs["igIsMousePosValid"][1]["location"] = "imgui:907" defs["igIsMousePosValid"][1]["namespace"] = "ImGui" defs["igIsMousePosValid"][1]["ov_cimguiname"] = "igIsMousePosValid" defs["igIsMousePosValid"][1]["ret"] = "bool" @@ -10501,7 +10744,7 @@ defs["igIsMouseReleased"][1]["call_args"] = "(button)" defs["igIsMouseReleased"][1]["cimguiname"] = "igIsMouseReleased" defs["igIsMouseReleased"][1]["defaults"] = {} defs["igIsMouseReleased"][1]["funcname"] = "IsMouseReleased" -defs["igIsMouseReleased"][1]["location"] = "imgui:900" +defs["igIsMouseReleased"][1]["location"] = "imgui:903" defs["igIsMouseReleased"][1]["namespace"] = "ImGui" defs["igIsMouseReleased"][1]["ov_cimguiname"] = "igIsMouseReleased" defs["igIsMouseReleased"][1]["ret"] = "bool" @@ -10524,7 +10767,7 @@ defs["igIsPopupOpen"][1]["cimguiname"] = "igIsPopupOpen" defs["igIsPopupOpen"][1]["defaults"] = {} defs["igIsPopupOpen"][1]["defaults"]["flags"] = "0" defs["igIsPopupOpen"][1]["funcname"] = "IsPopupOpen" -defs["igIsPopupOpen"][1]["location"] = "imgui:711" +defs["igIsPopupOpen"][1]["location"] = "imgui:714" defs["igIsPopupOpen"][1]["namespace"] = "ImGui" defs["igIsPopupOpen"][1]["ov_cimguiname"] = "igIsPopupOpen" defs["igIsPopupOpen"][1]["ret"] = "bool" @@ -10543,9 +10786,9 @@ defs["igIsRectVisible"][1]["call_args"] = "(size)" defs["igIsRectVisible"][1]["cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"][1]["defaults"] = {} defs["igIsRectVisible"][1]["funcname"] = "IsRectVisible" -defs["igIsRectVisible"][1]["location"] = "imgui:862" +defs["igIsRectVisible"][1]["location"] = "imgui:864" defs["igIsRectVisible"][1]["namespace"] = "ImGui" -defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisibleNil" +defs["igIsRectVisible"][1]["ov_cimguiname"] = "igIsRectVisible_Nil" defs["igIsRectVisible"][1]["ret"] = "bool" defs["igIsRectVisible"][1]["signature"] = "(const ImVec2)" defs["igIsRectVisible"][1]["stname"] = "" @@ -10563,9 +10806,9 @@ defs["igIsRectVisible"][2]["call_args"] = "(rect_min,rect_max)" defs["igIsRectVisible"][2]["cimguiname"] = "igIsRectVisible" defs["igIsRectVisible"][2]["defaults"] = {} defs["igIsRectVisible"][2]["funcname"] = "IsRectVisible" -defs["igIsRectVisible"][2]["location"] = "imgui:863" +defs["igIsRectVisible"][2]["location"] = "imgui:865" defs["igIsRectVisible"][2]["namespace"] = "ImGui" -defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisibleVec2" +defs["igIsRectVisible"][2]["ov_cimguiname"] = "igIsRectVisible_Vec2" defs["igIsRectVisible"][2]["ret"] = "bool" defs["igIsRectVisible"][2]["signature"] = "(const ImVec2,const ImVec2)" defs["igIsRectVisible"][2]["stname"] = "" @@ -10580,7 +10823,7 @@ defs["igIsWindowAppearing"][1]["call_args"] = "()" defs["igIsWindowAppearing"][1]["cimguiname"] = "igIsWindowAppearing" defs["igIsWindowAppearing"][1]["defaults"] = {} defs["igIsWindowAppearing"][1]["funcname"] = "IsWindowAppearing" -defs["igIsWindowAppearing"][1]["location"] = "imgui:352" +defs["igIsWindowAppearing"][1]["location"] = "imgui:347" defs["igIsWindowAppearing"][1]["namespace"] = "ImGui" defs["igIsWindowAppearing"][1]["ov_cimguiname"] = "igIsWindowAppearing" defs["igIsWindowAppearing"][1]["ret"] = "bool" @@ -10596,7 +10839,7 @@ defs["igIsWindowCollapsed"][1]["call_args"] = "()" defs["igIsWindowCollapsed"][1]["cimguiname"] = "igIsWindowCollapsed" defs["igIsWindowCollapsed"][1]["defaults"] = {} defs["igIsWindowCollapsed"][1]["funcname"] = "IsWindowCollapsed" -defs["igIsWindowCollapsed"][1]["location"] = "imgui:353" +defs["igIsWindowCollapsed"][1]["location"] = "imgui:348" defs["igIsWindowCollapsed"][1]["namespace"] = "ImGui" defs["igIsWindowCollapsed"][1]["ov_cimguiname"] = "igIsWindowCollapsed" defs["igIsWindowCollapsed"][1]["ret"] = "bool" @@ -10616,7 +10859,7 @@ defs["igIsWindowFocused"][1]["cimguiname"] = "igIsWindowFocused" defs["igIsWindowFocused"][1]["defaults"] = {} defs["igIsWindowFocused"][1]["defaults"]["flags"] = "0" defs["igIsWindowFocused"][1]["funcname"] = "IsWindowFocused" -defs["igIsWindowFocused"][1]["location"] = "imgui:354" +defs["igIsWindowFocused"][1]["location"] = "imgui:349" defs["igIsWindowFocused"][1]["namespace"] = "ImGui" defs["igIsWindowFocused"][1]["ov_cimguiname"] = "igIsWindowFocused" defs["igIsWindowFocused"][1]["ret"] = "bool" @@ -10636,7 +10879,7 @@ defs["igIsWindowHovered"][1]["cimguiname"] = "igIsWindowHovered" defs["igIsWindowHovered"][1]["defaults"] = {} defs["igIsWindowHovered"][1]["defaults"]["flags"] = "0" defs["igIsWindowHovered"][1]["funcname"] = "IsWindowHovered" -defs["igIsWindowHovered"][1]["location"] = "imgui:355" +defs["igIsWindowHovered"][1]["location"] = "imgui:350" defs["igIsWindowHovered"][1]["namespace"] = "ImGui" defs["igIsWindowHovered"][1]["ov_cimguiname"] = "igIsWindowHovered" defs["igIsWindowHovered"][1]["ret"] = "bool" @@ -10662,7 +10905,7 @@ defs["igLabelText"][1]["cimguiname"] = "igLabelText" defs["igLabelText"][1]["defaults"] = {} defs["igLabelText"][1]["funcname"] = "LabelText" defs["igLabelText"][1]["isvararg"] = "...)" -defs["igLabelText"][1]["location"] = "imgui:494" +defs["igLabelText"][1]["location"] = "imgui:492" defs["igLabelText"][1]["namespace"] = "ImGui" defs["igLabelText"][1]["ov_cimguiname"] = "igLabelText" defs["igLabelText"][1]["ret"] = "void" @@ -10687,7 +10930,7 @@ defs["igLabelTextV"][1]["call_args"] = "(label,fmt,args)" defs["igLabelTextV"][1]["cimguiname"] = "igLabelTextV" defs["igLabelTextV"][1]["defaults"] = {} defs["igLabelTextV"][1]["funcname"] = "LabelTextV" -defs["igLabelTextV"][1]["location"] = "imgui:495" +defs["igLabelTextV"][1]["location"] = "imgui:493" defs["igLabelTextV"][1]["namespace"] = "ImGui" defs["igLabelTextV"][1]["ov_cimguiname"] = "igLabelTextV" defs["igLabelTextV"][1]["ret"] = "void" @@ -10719,9 +10962,9 @@ defs["igListBox"][1]["cimguiname"] = "igListBox" defs["igListBox"][1]["defaults"] = {} defs["igListBox"][1]["defaults"]["height_in_items"] = "-1" defs["igListBox"][1]["funcname"] = "ListBox" -defs["igListBox"][1]["location"] = "imgui:632" +defs["igListBox"][1]["location"] = "imgui:634" defs["igListBox"][1]["namespace"] = "ImGui" -defs["igListBox"][1]["ov_cimguiname"] = "igListBoxStr_arr" +defs["igListBox"][1]["ov_cimguiname"] = "igListBox_Str_arr" defs["igListBox"][1]["ret"] = "bool" defs["igListBox"][1]["signature"] = "(const char*,int*,const char* const[],int,int)" defs["igListBox"][1]["stname"] = "" @@ -10754,9 +10997,9 @@ defs["igListBox"][2]["cimguiname"] = "igListBox" defs["igListBox"][2]["defaults"] = {} defs["igListBox"][2]["defaults"]["height_in_items"] = "-1" defs["igListBox"][2]["funcname"] = "ListBox" -defs["igListBox"][2]["location"] = "imgui:633" +defs["igListBox"][2]["location"] = "imgui:635" defs["igListBox"][2]["namespace"] = "ImGui" -defs["igListBox"][2]["ov_cimguiname"] = "igListBoxFnBoolPtr" +defs["igListBox"][2]["ov_cimguiname"] = "igListBox_FnBoolPtr" defs["igListBox"][2]["ret"] = "bool" defs["igListBox"][2]["signature"] = "(const char*,int*,bool(*)(void*,int,const char**),void*,int,int)" defs["igListBox"][2]["stname"] = "" @@ -10774,7 +11017,7 @@ defs["igLoadIniSettingsFromDisk"][1]["call_args"] = "(ini_filename)" defs["igLoadIniSettingsFromDisk"][1]["cimguiname"] = "igLoadIniSettingsFromDisk" defs["igLoadIniSettingsFromDisk"][1]["defaults"] = {} defs["igLoadIniSettingsFromDisk"][1]["funcname"] = "LoadIniSettingsFromDisk" -defs["igLoadIniSettingsFromDisk"][1]["location"] = "imgui:924" +defs["igLoadIniSettingsFromDisk"][1]["location"] = "imgui:927" defs["igLoadIniSettingsFromDisk"][1]["namespace"] = "ImGui" defs["igLoadIniSettingsFromDisk"][1]["ov_cimguiname"] = "igLoadIniSettingsFromDisk" defs["igLoadIniSettingsFromDisk"][1]["ret"] = "void" @@ -10797,7 +11040,7 @@ defs["igLoadIniSettingsFromMemory"][1]["cimguiname"] = "igLoadIniSettingsFromMem defs["igLoadIniSettingsFromMemory"][1]["defaults"] = {} defs["igLoadIniSettingsFromMemory"][1]["defaults"]["ini_size"] = "0" defs["igLoadIniSettingsFromMemory"][1]["funcname"] = "LoadIniSettingsFromMemory" -defs["igLoadIniSettingsFromMemory"][1]["location"] = "imgui:925" +defs["igLoadIniSettingsFromMemory"][1]["location"] = "imgui:928" defs["igLoadIniSettingsFromMemory"][1]["namespace"] = "ImGui" defs["igLoadIniSettingsFromMemory"][1]["ov_cimguiname"] = "igLoadIniSettingsFromMemory" defs["igLoadIniSettingsFromMemory"][1]["ret"] = "void" @@ -10813,7 +11056,7 @@ defs["igLogButtons"][1]["call_args"] = "()" defs["igLogButtons"][1]["cimguiname"] = "igLogButtons" defs["igLogButtons"][1]["defaults"] = {} defs["igLogButtons"][1]["funcname"] = "LogButtons" -defs["igLogButtons"][1]["location"] = "imgui:800" +defs["igLogButtons"][1]["location"] = "imgui:798" defs["igLogButtons"][1]["namespace"] = "ImGui" defs["igLogButtons"][1]["ov_cimguiname"] = "igLogButtons" defs["igLogButtons"][1]["ret"] = "void" @@ -10829,7 +11072,7 @@ defs["igLogFinish"][1]["call_args"] = "()" defs["igLogFinish"][1]["cimguiname"] = "igLogFinish" defs["igLogFinish"][1]["defaults"] = {} defs["igLogFinish"][1]["funcname"] = "LogFinish" -defs["igLogFinish"][1]["location"] = "imgui:799" +defs["igLogFinish"][1]["location"] = "imgui:797" defs["igLogFinish"][1]["namespace"] = "ImGui" defs["igLogFinish"][1]["ov_cimguiname"] = "igLogFinish" defs["igLogFinish"][1]["ret"] = "void" @@ -10852,7 +11095,7 @@ defs["igLogText"][1]["cimguiname"] = "igLogText" defs["igLogText"][1]["defaults"] = {} defs["igLogText"][1]["funcname"] = "LogText" defs["igLogText"][1]["isvararg"] = "...)" -defs["igLogText"][1]["location"] = "imgui:801" +defs["igLogText"][1]["location"] = "imgui:799" defs["igLogText"][1]["manual"] = true defs["igLogText"][1]["namespace"] = "ImGui" defs["igLogText"][1]["ov_cimguiname"] = "igLogText" @@ -10875,7 +11118,7 @@ defs["igLogTextV"][1]["call_args"] = "(fmt,args)" defs["igLogTextV"][1]["cimguiname"] = "igLogTextV" defs["igLogTextV"][1]["defaults"] = {} defs["igLogTextV"][1]["funcname"] = "LogTextV" -defs["igLogTextV"][1]["location"] = "imgui:802" +defs["igLogTextV"][1]["location"] = "imgui:800" defs["igLogTextV"][1]["namespace"] = "ImGui" defs["igLogTextV"][1]["ov_cimguiname"] = "igLogTextV" defs["igLogTextV"][1]["ret"] = "void" @@ -10895,7 +11138,7 @@ defs["igLogToClipboard"][1]["cimguiname"] = "igLogToClipboard" defs["igLogToClipboard"][1]["defaults"] = {} defs["igLogToClipboard"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToClipboard"][1]["funcname"] = "LogToClipboard" -defs["igLogToClipboard"][1]["location"] = "imgui:798" +defs["igLogToClipboard"][1]["location"] = "imgui:796" defs["igLogToClipboard"][1]["namespace"] = "ImGui" defs["igLogToClipboard"][1]["ov_cimguiname"] = "igLogToClipboard" defs["igLogToClipboard"][1]["ret"] = "void" @@ -10919,7 +11162,7 @@ defs["igLogToFile"][1]["defaults"] = {} defs["igLogToFile"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToFile"][1]["defaults"]["filename"] = "NULL" defs["igLogToFile"][1]["funcname"] = "LogToFile" -defs["igLogToFile"][1]["location"] = "imgui:797" +defs["igLogToFile"][1]["location"] = "imgui:795" defs["igLogToFile"][1]["namespace"] = "ImGui" defs["igLogToFile"][1]["ov_cimguiname"] = "igLogToFile" defs["igLogToFile"][1]["ret"] = "void" @@ -10939,7 +11182,7 @@ defs["igLogToTTY"][1]["cimguiname"] = "igLogToTTY" defs["igLogToTTY"][1]["defaults"] = {} defs["igLogToTTY"][1]["defaults"]["auto_open_depth"] = "-1" defs["igLogToTTY"][1]["funcname"] = "LogToTTY" -defs["igLogToTTY"][1]["location"] = "imgui:796" +defs["igLogToTTY"][1]["location"] = "imgui:794" defs["igLogToTTY"][1]["namespace"] = "ImGui" defs["igLogToTTY"][1]["ov_cimguiname"] = "igLogToTTY" defs["igLogToTTY"][1]["ret"] = "void" @@ -10958,7 +11201,7 @@ defs["igMemAlloc"][1]["call_args"] = "(size)" defs["igMemAlloc"][1]["cimguiname"] = "igMemAlloc" defs["igMemAlloc"][1]["defaults"] = {} defs["igMemAlloc"][1]["funcname"] = "MemAlloc" -defs["igMemAlloc"][1]["location"] = "imgui:939" +defs["igMemAlloc"][1]["location"] = "imgui:942" defs["igMemAlloc"][1]["namespace"] = "ImGui" defs["igMemAlloc"][1]["ov_cimguiname"] = "igMemAlloc" defs["igMemAlloc"][1]["ret"] = "void*" @@ -10977,7 +11220,7 @@ defs["igMemFree"][1]["call_args"] = "(ptr)" defs["igMemFree"][1]["cimguiname"] = "igMemFree" defs["igMemFree"][1]["defaults"] = {} defs["igMemFree"][1]["funcname"] = "MemFree" -defs["igMemFree"][1]["location"] = "imgui:940" +defs["igMemFree"][1]["location"] = "imgui:943" defs["igMemFree"][1]["namespace"] = "ImGui" defs["igMemFree"][1]["ov_cimguiname"] = "igMemFree" defs["igMemFree"][1]["ret"] = "void" @@ -11008,9 +11251,9 @@ defs["igMenuItem"][1]["defaults"]["enabled"] = "true" defs["igMenuItem"][1]["defaults"]["selected"] = "false" defs["igMenuItem"][1]["defaults"]["shortcut"] = "NULL" defs["igMenuItem"][1]["funcname"] = "MenuItem" -defs["igMenuItem"][1]["location"] = "imgui:660" +defs["igMenuItem"][1]["location"] = "imgui:662" defs["igMenuItem"][1]["namespace"] = "ImGui" -defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItemBool" +defs["igMenuItem"][1]["ov_cimguiname"] = "igMenuItem_Bool" defs["igMenuItem"][1]["ret"] = "bool" defs["igMenuItem"][1]["signature"] = "(const char*,const char*,bool,bool)" defs["igMenuItem"][1]["stname"] = "" @@ -11035,9 +11278,9 @@ defs["igMenuItem"][2]["cimguiname"] = "igMenuItem" defs["igMenuItem"][2]["defaults"] = {} defs["igMenuItem"][2]["defaults"]["enabled"] = "true" defs["igMenuItem"][2]["funcname"] = "MenuItem" -defs["igMenuItem"][2]["location"] = "imgui:661" +defs["igMenuItem"][2]["location"] = "imgui:663" defs["igMenuItem"][2]["namespace"] = "ImGui" -defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItemBoolPtr" +defs["igMenuItem"][2]["ov_cimguiname"] = "igMenuItem_BoolPtr" defs["igMenuItem"][2]["ret"] = "bool" defs["igMenuItem"][2]["signature"] = "(const char*,const char*,bool*,bool)" defs["igMenuItem"][2]["stname"] = "" @@ -11052,7 +11295,7 @@ defs["igNewFrame"][1]["call_args"] = "()" defs["igNewFrame"][1]["cimguiname"] = "igNewFrame" defs["igNewFrame"][1]["defaults"] = {} defs["igNewFrame"][1]["funcname"] = "NewFrame" -defs["igNewFrame"][1]["location"] = "imgui:302" +defs["igNewFrame"][1]["location"] = "imgui:296" defs["igNewFrame"][1]["namespace"] = "ImGui" defs["igNewFrame"][1]["ov_cimguiname"] = "igNewFrame" defs["igNewFrame"][1]["ret"] = "void" @@ -11068,7 +11311,7 @@ defs["igNewLine"][1]["call_args"] = "()" defs["igNewLine"][1]["cimguiname"] = "igNewLine" defs["igNewLine"][1]["defaults"] = {} defs["igNewLine"][1]["funcname"] = "NewLine" -defs["igNewLine"][1]["location"] = "imgui:442" +defs["igNewLine"][1]["location"] = "imgui:440" defs["igNewLine"][1]["namespace"] = "ImGui" defs["igNewLine"][1]["ov_cimguiname"] = "igNewLine" defs["igNewLine"][1]["ret"] = "void" @@ -11084,7 +11327,7 @@ defs["igNextColumn"][1]["call_args"] = "()" defs["igNextColumn"][1]["cimguiname"] = "igNextColumn" defs["igNextColumn"][1]["defaults"] = {} defs["igNextColumn"][1]["funcname"] = "NextColumn" -defs["igNextColumn"][1]["location"] = "imgui:778" +defs["igNextColumn"][1]["location"] = "imgui:776" defs["igNextColumn"][1]["namespace"] = "ImGui" defs["igNextColumn"][1]["ov_cimguiname"] = "igNextColumn" defs["igNextColumn"][1]["ret"] = "void" @@ -11107,9 +11350,9 @@ defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" defs["igOpenPopup"][1]["defaults"] = {} defs["igOpenPopup"][1]["defaults"]["popup_flags"] = "0" defs["igOpenPopup"][1]["funcname"] = "OpenPopup" -defs["igOpenPopup"][1]["location"] = "imgui:693" +defs["igOpenPopup"][1]["location"] = "imgui:696" defs["igOpenPopup"][1]["namespace"] = "ImGui" -defs["igOpenPopup"][1]["ov_cimguiname"] = "igOpenPopupStr" +defs["igOpenPopup"][1]["ov_cimguiname"] = "igOpenPopup_Str" defs["igOpenPopup"][1]["ret"] = "void" defs["igOpenPopup"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igOpenPopup"][1]["stname"] = "" @@ -11128,9 +11371,9 @@ defs["igOpenPopup"][2]["cimguiname"] = "igOpenPopup" defs["igOpenPopup"][2]["defaults"] = {} defs["igOpenPopup"][2]["defaults"]["popup_flags"] = "0" defs["igOpenPopup"][2]["funcname"] = "OpenPopup" -defs["igOpenPopup"][2]["location"] = "imgui:694" +defs["igOpenPopup"][2]["location"] = "imgui:697" defs["igOpenPopup"][2]["namespace"] = "ImGui" -defs["igOpenPopup"][2]["ov_cimguiname"] = "igOpenPopupID" +defs["igOpenPopup"][2]["ov_cimguiname"] = "igOpenPopup_ID" defs["igOpenPopup"][2]["ret"] = "void" defs["igOpenPopup"][2]["signature"] = "(ImGuiID,ImGuiPopupFlags)" defs["igOpenPopup"][2]["stname"] = "" @@ -11153,7 +11396,7 @@ defs["igOpenPopupOnItemClick"][1]["defaults"] = {} defs["igOpenPopupOnItemClick"][1]["defaults"]["popup_flags"] = "1" defs["igOpenPopupOnItemClick"][1]["defaults"]["str_id"] = "NULL" defs["igOpenPopupOnItemClick"][1]["funcname"] = "OpenPopupOnItemClick" -defs["igOpenPopupOnItemClick"][1]["location"] = "imgui:695" +defs["igOpenPopupOnItemClick"][1]["location"] = "imgui:698" defs["igOpenPopupOnItemClick"][1]["namespace"] = "ImGui" defs["igOpenPopupOnItemClick"][1]["ov_cimguiname"] = "igOpenPopupOnItemClick" defs["igOpenPopupOnItemClick"][1]["ret"] = "void" @@ -11202,9 +11445,9 @@ defs["igPlotHistogram"][1]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotHistogram"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotHistogram"][1]["defaults"]["values_offset"] = "0" defs["igPlotHistogram"][1]["funcname"] = "PlotHistogram" -defs["igPlotHistogram"][1]["location"] = "imgui:639" +defs["igPlotHistogram"][1]["location"] = "imgui:641" defs["igPlotHistogram"][1]["namespace"] = "ImGui" -defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogramFloatPtr" +defs["igPlotHistogram"][1]["ov_cimguiname"] = "igPlotHistogram_FloatPtr" defs["igPlotHistogram"][1]["ret"] = "void" defs["igPlotHistogram"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" defs["igPlotHistogram"][1]["stname"] = "" @@ -11250,9 +11493,9 @@ defs["igPlotHistogram"][2]["defaults"]["scale_max"] = "FLT_MAX" defs["igPlotHistogram"][2]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotHistogram"][2]["defaults"]["values_offset"] = "0" defs["igPlotHistogram"][2]["funcname"] = "PlotHistogram" -defs["igPlotHistogram"][2]["location"] = "imgui:640" +defs["igPlotHistogram"][2]["location"] = "imgui:642" defs["igPlotHistogram"][2]["namespace"] = "ImGui" -defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogramFnFloatPtr" +defs["igPlotHistogram"][2]["ov_cimguiname"] = "igPlotHistogram_FnFloatPtr" defs["igPlotHistogram"][2]["ret"] = "void" defs["igPlotHistogram"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" defs["igPlotHistogram"][2]["stname"] = "" @@ -11300,9 +11543,9 @@ defs["igPlotLines"][1]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotLines"][1]["defaults"]["stride"] = "sizeof(float)" defs["igPlotLines"][1]["defaults"]["values_offset"] = "0" defs["igPlotLines"][1]["funcname"] = "PlotLines" -defs["igPlotLines"][1]["location"] = "imgui:637" +defs["igPlotLines"][1]["location"] = "imgui:639" defs["igPlotLines"][1]["namespace"] = "ImGui" -defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLinesFloatPtr" +defs["igPlotLines"][1]["ov_cimguiname"] = "igPlotLines_FloatPtr" defs["igPlotLines"][1]["ret"] = "void" defs["igPlotLines"][1]["signature"] = "(const char*,const float*,int,int,const char*,float,float,ImVec2,int)" defs["igPlotLines"][1]["stname"] = "" @@ -11348,9 +11591,9 @@ defs["igPlotLines"][2]["defaults"]["scale_max"] = "FLT_MAX" defs["igPlotLines"][2]["defaults"]["scale_min"] = "FLT_MAX" defs["igPlotLines"][2]["defaults"]["values_offset"] = "0" defs["igPlotLines"][2]["funcname"] = "PlotLines" -defs["igPlotLines"][2]["location"] = "imgui:638" +defs["igPlotLines"][2]["location"] = "imgui:640" defs["igPlotLines"][2]["namespace"] = "ImGui" -defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLinesFnFloatPtr" +defs["igPlotLines"][2]["ov_cimguiname"] = "igPlotLines_FnFloatPtr" defs["igPlotLines"][2]["ret"] = "void" defs["igPlotLines"][2]["signature"] = "(const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)" defs["igPlotLines"][2]["stname"] = "" @@ -11365,7 +11608,7 @@ defs["igPopAllowKeyboardFocus"][1]["call_args"] = "()" defs["igPopAllowKeyboardFocus"][1]["cimguiname"] = "igPopAllowKeyboardFocus" defs["igPopAllowKeyboardFocus"][1]["defaults"] = {} defs["igPopAllowKeyboardFocus"][1]["funcname"] = "PopAllowKeyboardFocus" -defs["igPopAllowKeyboardFocus"][1]["location"] = "imgui:411" +defs["igPopAllowKeyboardFocus"][1]["location"] = "imgui:409" defs["igPopAllowKeyboardFocus"][1]["namespace"] = "ImGui" defs["igPopAllowKeyboardFocus"][1]["ov_cimguiname"] = "igPopAllowKeyboardFocus" defs["igPopAllowKeyboardFocus"][1]["ret"] = "void" @@ -11381,7 +11624,7 @@ defs["igPopButtonRepeat"][1]["call_args"] = "()" defs["igPopButtonRepeat"][1]["cimguiname"] = "igPopButtonRepeat" defs["igPopButtonRepeat"][1]["defaults"] = {} defs["igPopButtonRepeat"][1]["funcname"] = "PopButtonRepeat" -defs["igPopButtonRepeat"][1]["location"] = "imgui:413" +defs["igPopButtonRepeat"][1]["location"] = "imgui:411" defs["igPopButtonRepeat"][1]["namespace"] = "ImGui" defs["igPopButtonRepeat"][1]["ov_cimguiname"] = "igPopButtonRepeat" defs["igPopButtonRepeat"][1]["ret"] = "void" @@ -11397,7 +11640,7 @@ defs["igPopClipRect"][1]["call_args"] = "()" defs["igPopClipRect"][1]["cimguiname"] = "igPopClipRect" defs["igPopClipRect"][1]["defaults"] = {} defs["igPopClipRect"][1]["funcname"] = "PopClipRect" -defs["igPopClipRect"][1]["location"] = "imgui:827" +defs["igPopClipRect"][1]["location"] = "imgui:825" defs["igPopClipRect"][1]["namespace"] = "ImGui" defs["igPopClipRect"][1]["ov_cimguiname"] = "igPopClipRect" defs["igPopClipRect"][1]["ret"] = "void" @@ -11413,7 +11656,7 @@ defs["igPopFont"][1]["call_args"] = "()" defs["igPopFont"][1]["cimguiname"] = "igPopFont" defs["igPopFont"][1]["defaults"] = {} defs["igPopFont"][1]["funcname"] = "PopFont" -defs["igPopFont"][1]["location"] = "imgui:403" +defs["igPopFont"][1]["location"] = "imgui:401" defs["igPopFont"][1]["namespace"] = "ImGui" defs["igPopFont"][1]["ov_cimguiname"] = "igPopFont" defs["igPopFont"][1]["ret"] = "void" @@ -11429,7 +11672,7 @@ defs["igPopID"][1]["call_args"] = "()" defs["igPopID"][1]["cimguiname"] = "igPopID" defs["igPopID"][1]["defaults"] = {} defs["igPopID"][1]["funcname"] = "PopID" -defs["igPopID"][1]["location"] = "imgui:479" +defs["igPopID"][1]["location"] = "imgui:477" defs["igPopID"][1]["namespace"] = "ImGui" defs["igPopID"][1]["ov_cimguiname"] = "igPopID" defs["igPopID"][1]["ret"] = "void" @@ -11445,7 +11688,7 @@ defs["igPopItemWidth"][1]["call_args"] = "()" defs["igPopItemWidth"][1]["cimguiname"] = "igPopItemWidth" defs["igPopItemWidth"][1]["defaults"] = {} defs["igPopItemWidth"][1]["funcname"] = "PopItemWidth" -defs["igPopItemWidth"][1]["location"] = "imgui:417" +defs["igPopItemWidth"][1]["location"] = "imgui:415" defs["igPopItemWidth"][1]["namespace"] = "ImGui" defs["igPopItemWidth"][1]["ov_cimguiname"] = "igPopItemWidth" defs["igPopItemWidth"][1]["ret"] = "void" @@ -11465,7 +11708,7 @@ defs["igPopStyleColor"][1]["cimguiname"] = "igPopStyleColor" defs["igPopStyleColor"][1]["defaults"] = {} defs["igPopStyleColor"][1]["defaults"]["count"] = "1" defs["igPopStyleColor"][1]["funcname"] = "PopStyleColor" -defs["igPopStyleColor"][1]["location"] = "imgui:406" +defs["igPopStyleColor"][1]["location"] = "imgui:404" defs["igPopStyleColor"][1]["namespace"] = "ImGui" defs["igPopStyleColor"][1]["ov_cimguiname"] = "igPopStyleColor" defs["igPopStyleColor"][1]["ret"] = "void" @@ -11485,7 +11728,7 @@ defs["igPopStyleVar"][1]["cimguiname"] = "igPopStyleVar" defs["igPopStyleVar"][1]["defaults"] = {} defs["igPopStyleVar"][1]["defaults"]["count"] = "1" defs["igPopStyleVar"][1]["funcname"] = "PopStyleVar" -defs["igPopStyleVar"][1]["location"] = "imgui:409" +defs["igPopStyleVar"][1]["location"] = "imgui:407" defs["igPopStyleVar"][1]["namespace"] = "ImGui" defs["igPopStyleVar"][1]["ov_cimguiname"] = "igPopStyleVar" defs["igPopStyleVar"][1]["ret"] = "void" @@ -11501,7 +11744,7 @@ defs["igPopTextWrapPos"][1]["call_args"] = "()" defs["igPopTextWrapPos"][1]["cimguiname"] = "igPopTextWrapPos" defs["igPopTextWrapPos"][1]["defaults"] = {} defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos" -defs["igPopTextWrapPos"][1]["location"] = "imgui:421" +defs["igPopTextWrapPos"][1]["location"] = "imgui:419" defs["igPopTextWrapPos"][1]["namespace"] = "ImGui" defs["igPopTextWrapPos"][1]["ov_cimguiname"] = "igPopTextWrapPos" defs["igPopTextWrapPos"][1]["ret"] = "void" @@ -11528,7 +11771,7 @@ defs["igProgressBar"][1]["defaults"] = {} defs["igProgressBar"][1]["defaults"]["overlay"] = "NULL" defs["igProgressBar"][1]["defaults"]["size_arg"] = "ImVec2(-FLT_MIN,0)" defs["igProgressBar"][1]["funcname"] = "ProgressBar" -defs["igProgressBar"][1]["location"] = "imgui:513" +defs["igProgressBar"][1]["location"] = "imgui:509" defs["igProgressBar"][1]["namespace"] = "ImGui" defs["igProgressBar"][1]["ov_cimguiname"] = "igProgressBar" defs["igProgressBar"][1]["ret"] = "void" @@ -11547,7 +11790,7 @@ defs["igPushAllowKeyboardFocus"][1]["call_args"] = "(allow_keyboard_focus)" defs["igPushAllowKeyboardFocus"][1]["cimguiname"] = "igPushAllowKeyboardFocus" defs["igPushAllowKeyboardFocus"][1]["defaults"] = {} defs["igPushAllowKeyboardFocus"][1]["funcname"] = "PushAllowKeyboardFocus" -defs["igPushAllowKeyboardFocus"][1]["location"] = "imgui:410" +defs["igPushAllowKeyboardFocus"][1]["location"] = "imgui:408" defs["igPushAllowKeyboardFocus"][1]["namespace"] = "ImGui" defs["igPushAllowKeyboardFocus"][1]["ov_cimguiname"] = "igPushAllowKeyboardFocus" defs["igPushAllowKeyboardFocus"][1]["ret"] = "void" @@ -11566,7 +11809,7 @@ defs["igPushButtonRepeat"][1]["call_args"] = "(repeat)" defs["igPushButtonRepeat"][1]["cimguiname"] = "igPushButtonRepeat" defs["igPushButtonRepeat"][1]["defaults"] = {} defs["igPushButtonRepeat"][1]["funcname"] = "PushButtonRepeat" -defs["igPushButtonRepeat"][1]["location"] = "imgui:412" +defs["igPushButtonRepeat"][1]["location"] = "imgui:410" defs["igPushButtonRepeat"][1]["namespace"] = "ImGui" defs["igPushButtonRepeat"][1]["ov_cimguiname"] = "igPushButtonRepeat" defs["igPushButtonRepeat"][1]["ret"] = "void" @@ -11591,7 +11834,7 @@ defs["igPushClipRect"][1]["call_args"] = "(clip_rect_min,clip_rect_max,intersect defs["igPushClipRect"][1]["cimguiname"] = "igPushClipRect" defs["igPushClipRect"][1]["defaults"] = {} defs["igPushClipRect"][1]["funcname"] = "PushClipRect" -defs["igPushClipRect"][1]["location"] = "imgui:826" +defs["igPushClipRect"][1]["location"] = "imgui:824" defs["igPushClipRect"][1]["namespace"] = "ImGui" defs["igPushClipRect"][1]["ov_cimguiname"] = "igPushClipRect" defs["igPushClipRect"][1]["ret"] = "void" @@ -11610,7 +11853,7 @@ defs["igPushFont"][1]["call_args"] = "(font)" defs["igPushFont"][1]["cimguiname"] = "igPushFont" defs["igPushFont"][1]["defaults"] = {} defs["igPushFont"][1]["funcname"] = "PushFont" -defs["igPushFont"][1]["location"] = "imgui:402" +defs["igPushFont"][1]["location"] = "imgui:400" defs["igPushFont"][1]["namespace"] = "ImGui" defs["igPushFont"][1]["ov_cimguiname"] = "igPushFont" defs["igPushFont"][1]["ret"] = "void" @@ -11629,9 +11872,9 @@ defs["igPushID"][1]["call_args"] = "(str_id)" defs["igPushID"][1]["cimguiname"] = "igPushID" defs["igPushID"][1]["defaults"] = {} defs["igPushID"][1]["funcname"] = "PushID" -defs["igPushID"][1]["location"] = "imgui:475" +defs["igPushID"][1]["location"] = "imgui:473" defs["igPushID"][1]["namespace"] = "ImGui" -defs["igPushID"][1]["ov_cimguiname"] = "igPushIDStr" +defs["igPushID"][1]["ov_cimguiname"] = "igPushID_Str" defs["igPushID"][1]["ret"] = "void" defs["igPushID"][1]["signature"] = "(const char*)" defs["igPushID"][1]["stname"] = "" @@ -11649,9 +11892,9 @@ defs["igPushID"][2]["call_args"] = "(str_id_begin,str_id_end)" defs["igPushID"][2]["cimguiname"] = "igPushID" defs["igPushID"][2]["defaults"] = {} defs["igPushID"][2]["funcname"] = "PushID" -defs["igPushID"][2]["location"] = "imgui:476" +defs["igPushID"][2]["location"] = "imgui:474" defs["igPushID"][2]["namespace"] = "ImGui" -defs["igPushID"][2]["ov_cimguiname"] = "igPushIDStrStr" +defs["igPushID"][2]["ov_cimguiname"] = "igPushID_StrStr" defs["igPushID"][2]["ret"] = "void" defs["igPushID"][2]["signature"] = "(const char*,const char*)" defs["igPushID"][2]["stname"] = "" @@ -11666,9 +11909,9 @@ defs["igPushID"][3]["call_args"] = "(ptr_id)" defs["igPushID"][3]["cimguiname"] = "igPushID" defs["igPushID"][3]["defaults"] = {} defs["igPushID"][3]["funcname"] = "PushID" -defs["igPushID"][3]["location"] = "imgui:477" +defs["igPushID"][3]["location"] = "imgui:475" defs["igPushID"][3]["namespace"] = "ImGui" -defs["igPushID"][3]["ov_cimguiname"] = "igPushIDPtr" +defs["igPushID"][3]["ov_cimguiname"] = "igPushID_Ptr" defs["igPushID"][3]["ret"] = "void" defs["igPushID"][3]["signature"] = "(const void*)" defs["igPushID"][3]["stname"] = "" @@ -11683,9 +11926,9 @@ defs["igPushID"][4]["call_args"] = "(int_id)" defs["igPushID"][4]["cimguiname"] = "igPushID" defs["igPushID"][4]["defaults"] = {} defs["igPushID"][4]["funcname"] = "PushID" -defs["igPushID"][4]["location"] = "imgui:478" +defs["igPushID"][4]["location"] = "imgui:476" defs["igPushID"][4]["namespace"] = "ImGui" -defs["igPushID"][4]["ov_cimguiname"] = "igPushIDInt" +defs["igPushID"][4]["ov_cimguiname"] = "igPushID_Int" defs["igPushID"][4]["ret"] = "void" defs["igPushID"][4]["signature"] = "(int)" defs["igPushID"][4]["stname"] = "" @@ -11705,7 +11948,7 @@ defs["igPushItemWidth"][1]["call_args"] = "(item_width)" defs["igPushItemWidth"][1]["cimguiname"] = "igPushItemWidth" defs["igPushItemWidth"][1]["defaults"] = {} defs["igPushItemWidth"][1]["funcname"] = "PushItemWidth" -defs["igPushItemWidth"][1]["location"] = "imgui:416" +defs["igPushItemWidth"][1]["location"] = "imgui:414" defs["igPushItemWidth"][1]["namespace"] = "ImGui" defs["igPushItemWidth"][1]["ov_cimguiname"] = "igPushItemWidth" defs["igPushItemWidth"][1]["ret"] = "void" @@ -11727,9 +11970,9 @@ defs["igPushStyleColor"][1]["call_args"] = "(idx,col)" defs["igPushStyleColor"][1]["cimguiname"] = "igPushStyleColor" defs["igPushStyleColor"][1]["defaults"] = {} defs["igPushStyleColor"][1]["funcname"] = "PushStyleColor" -defs["igPushStyleColor"][1]["location"] = "imgui:404" +defs["igPushStyleColor"][1]["location"] = "imgui:402" defs["igPushStyleColor"][1]["namespace"] = "ImGui" -defs["igPushStyleColor"][1]["ov_cimguiname"] = "igPushStyleColorU32" +defs["igPushStyleColor"][1]["ov_cimguiname"] = "igPushStyleColor_U32" defs["igPushStyleColor"][1]["ret"] = "void" defs["igPushStyleColor"][1]["signature"] = "(ImGuiCol,ImU32)" defs["igPushStyleColor"][1]["stname"] = "" @@ -11747,9 +11990,9 @@ defs["igPushStyleColor"][2]["call_args"] = "(idx,col)" defs["igPushStyleColor"][2]["cimguiname"] = "igPushStyleColor" defs["igPushStyleColor"][2]["defaults"] = {} defs["igPushStyleColor"][2]["funcname"] = "PushStyleColor" -defs["igPushStyleColor"][2]["location"] = "imgui:405" +defs["igPushStyleColor"][2]["location"] = "imgui:403" defs["igPushStyleColor"][2]["namespace"] = "ImGui" -defs["igPushStyleColor"][2]["ov_cimguiname"] = "igPushStyleColorVec4" +defs["igPushStyleColor"][2]["ov_cimguiname"] = "igPushStyleColor_Vec4" defs["igPushStyleColor"][2]["ret"] = "void" defs["igPushStyleColor"][2]["signature"] = "(ImGuiCol,const ImVec4)" defs["igPushStyleColor"][2]["stname"] = "" @@ -11770,9 +12013,9 @@ defs["igPushStyleVar"][1]["call_args"] = "(idx,val)" defs["igPushStyleVar"][1]["cimguiname"] = "igPushStyleVar" defs["igPushStyleVar"][1]["defaults"] = {} defs["igPushStyleVar"][1]["funcname"] = "PushStyleVar" -defs["igPushStyleVar"][1]["location"] = "imgui:407" +defs["igPushStyleVar"][1]["location"] = "imgui:405" defs["igPushStyleVar"][1]["namespace"] = "ImGui" -defs["igPushStyleVar"][1]["ov_cimguiname"] = "igPushStyleVarFloat" +defs["igPushStyleVar"][1]["ov_cimguiname"] = "igPushStyleVar_Float" defs["igPushStyleVar"][1]["ret"] = "void" defs["igPushStyleVar"][1]["signature"] = "(ImGuiStyleVar,float)" defs["igPushStyleVar"][1]["stname"] = "" @@ -11790,9 +12033,9 @@ defs["igPushStyleVar"][2]["call_args"] = "(idx,val)" defs["igPushStyleVar"][2]["cimguiname"] = "igPushStyleVar" defs["igPushStyleVar"][2]["defaults"] = {} defs["igPushStyleVar"][2]["funcname"] = "PushStyleVar" -defs["igPushStyleVar"][2]["location"] = "imgui:408" +defs["igPushStyleVar"][2]["location"] = "imgui:406" defs["igPushStyleVar"][2]["namespace"] = "ImGui" -defs["igPushStyleVar"][2]["ov_cimguiname"] = "igPushStyleVarVec2" +defs["igPushStyleVar"][2]["ov_cimguiname"] = "igPushStyleVar_Vec2" defs["igPushStyleVar"][2]["ret"] = "void" defs["igPushStyleVar"][2]["signature"] = "(ImGuiStyleVar,const ImVec2)" defs["igPushStyleVar"][2]["stname"] = "" @@ -11811,7 +12054,7 @@ defs["igPushTextWrapPos"][1]["cimguiname"] = "igPushTextWrapPos" defs["igPushTextWrapPos"][1]["defaults"] = {} defs["igPushTextWrapPos"][1]["defaults"]["wrap_local_pos_x"] = "0.0f" defs["igPushTextWrapPos"][1]["funcname"] = "PushTextWrapPos" -defs["igPushTextWrapPos"][1]["location"] = "imgui:420" +defs["igPushTextWrapPos"][1]["location"] = "imgui:418" defs["igPushTextWrapPos"][1]["namespace"] = "ImGui" defs["igPushTextWrapPos"][1]["ov_cimguiname"] = "igPushTextWrapPos" defs["igPushTextWrapPos"][1]["ret"] = "void" @@ -11833,9 +12076,9 @@ defs["igRadioButton"][1]["call_args"] = "(label,active)" defs["igRadioButton"][1]["cimguiname"] = "igRadioButton" defs["igRadioButton"][1]["defaults"] = {} defs["igRadioButton"][1]["funcname"] = "RadioButton" -defs["igRadioButton"][1]["location"] = "imgui:511" +defs["igRadioButton"][1]["location"] = "imgui:507" defs["igRadioButton"][1]["namespace"] = "ImGui" -defs["igRadioButton"][1]["ov_cimguiname"] = "igRadioButtonBool" +defs["igRadioButton"][1]["ov_cimguiname"] = "igRadioButton_Bool" defs["igRadioButton"][1]["ret"] = "bool" defs["igRadioButton"][1]["signature"] = "(const char*,bool)" defs["igRadioButton"][1]["stname"] = "" @@ -11856,9 +12099,9 @@ defs["igRadioButton"][2]["call_args"] = "(label,v,v_button)" defs["igRadioButton"][2]["cimguiname"] = "igRadioButton" defs["igRadioButton"][2]["defaults"] = {} defs["igRadioButton"][2]["funcname"] = "RadioButton" -defs["igRadioButton"][2]["location"] = "imgui:512" +defs["igRadioButton"][2]["location"] = "imgui:508" defs["igRadioButton"][2]["namespace"] = "ImGui" -defs["igRadioButton"][2]["ov_cimguiname"] = "igRadioButtonIntPtr" +defs["igRadioButton"][2]["ov_cimguiname"] = "igRadioButton_IntPtr" defs["igRadioButton"][2]["ret"] = "bool" defs["igRadioButton"][2]["signature"] = "(const char*,int*,int)" defs["igRadioButton"][2]["stname"] = "" @@ -11873,7 +12116,7 @@ defs["igRender"][1]["call_args"] = "()" defs["igRender"][1]["cimguiname"] = "igRender" defs["igRender"][1]["defaults"] = {} defs["igRender"][1]["funcname"] = "Render" -defs["igRender"][1]["location"] = "imgui:304" +defs["igRender"][1]["location"] = "imgui:298" defs["igRender"][1]["namespace"] = "ImGui" defs["igRender"][1]["ov_cimguiname"] = "igRender" defs["igRender"][1]["ret"] = "void" @@ -11893,7 +12136,7 @@ defs["igResetMouseDragDelta"][1]["cimguiname"] = "igResetMouseDragDelta" defs["igResetMouseDragDelta"][1]["defaults"] = {} defs["igResetMouseDragDelta"][1]["defaults"]["button"] = "0" defs["igResetMouseDragDelta"][1]["funcname"] = "ResetMouseDragDelta" -defs["igResetMouseDragDelta"][1]["location"] = "imgui:910" +defs["igResetMouseDragDelta"][1]["location"] = "imgui:913" defs["igResetMouseDragDelta"][1]["namespace"] = "ImGui" defs["igResetMouseDragDelta"][1]["ov_cimguiname"] = "igResetMouseDragDelta" defs["igResetMouseDragDelta"][1]["ret"] = "void" @@ -11917,7 +12160,7 @@ defs["igSameLine"][1]["defaults"] = {} defs["igSameLine"][1]["defaults"]["offset_from_start_x"] = "0.0f" defs["igSameLine"][1]["defaults"]["spacing"] = "-1.0f" defs["igSameLine"][1]["funcname"] = "SameLine" -defs["igSameLine"][1]["location"] = "imgui:441" +defs["igSameLine"][1]["location"] = "imgui:439" defs["igSameLine"][1]["namespace"] = "ImGui" defs["igSameLine"][1]["ov_cimguiname"] = "igSameLine" defs["igSameLine"][1]["ret"] = "void" @@ -11936,7 +12179,7 @@ defs["igSaveIniSettingsToDisk"][1]["call_args"] = "(ini_filename)" defs["igSaveIniSettingsToDisk"][1]["cimguiname"] = "igSaveIniSettingsToDisk" defs["igSaveIniSettingsToDisk"][1]["defaults"] = {} defs["igSaveIniSettingsToDisk"][1]["funcname"] = "SaveIniSettingsToDisk" -defs["igSaveIniSettingsToDisk"][1]["location"] = "imgui:926" +defs["igSaveIniSettingsToDisk"][1]["location"] = "imgui:929" defs["igSaveIniSettingsToDisk"][1]["namespace"] = "ImGui" defs["igSaveIniSettingsToDisk"][1]["ov_cimguiname"] = "igSaveIniSettingsToDisk" defs["igSaveIniSettingsToDisk"][1]["ret"] = "void" @@ -11956,7 +12199,7 @@ defs["igSaveIniSettingsToMemory"][1]["cimguiname"] = "igSaveIniSettingsToMemory" defs["igSaveIniSettingsToMemory"][1]["defaults"] = {} defs["igSaveIniSettingsToMemory"][1]["defaults"]["out_ini_size"] = "NULL" defs["igSaveIniSettingsToMemory"][1]["funcname"] = "SaveIniSettingsToMemory" -defs["igSaveIniSettingsToMemory"][1]["location"] = "imgui:927" +defs["igSaveIniSettingsToMemory"][1]["location"] = "imgui:930" defs["igSaveIniSettingsToMemory"][1]["namespace"] = "ImGui" defs["igSaveIniSettingsToMemory"][1]["ov_cimguiname"] = "igSaveIniSettingsToMemory" defs["igSaveIniSettingsToMemory"][1]["ret"] = "const char*" @@ -11987,9 +12230,9 @@ defs["igSelectable"][1]["defaults"]["flags"] = "0" defs["igSelectable"][1]["defaults"]["selected"] = "false" defs["igSelectable"][1]["defaults"]["size"] = "ImVec2(0,0)" defs["igSelectable"][1]["funcname"] = "Selectable" -defs["igSelectable"][1]["location"] = "imgui:621" +defs["igSelectable"][1]["location"] = "imgui:623" defs["igSelectable"][1]["namespace"] = "ImGui" -defs["igSelectable"][1]["ov_cimguiname"] = "igSelectableBool" +defs["igSelectable"][1]["ov_cimguiname"] = "igSelectable_Bool" defs["igSelectable"][1]["ret"] = "bool" defs["igSelectable"][1]["signature"] = "(const char*,bool,ImGuiSelectableFlags,const ImVec2)" defs["igSelectable"][1]["stname"] = "" @@ -12015,9 +12258,9 @@ defs["igSelectable"][2]["defaults"] = {} defs["igSelectable"][2]["defaults"]["flags"] = "0" defs["igSelectable"][2]["defaults"]["size"] = "ImVec2(0,0)" defs["igSelectable"][2]["funcname"] = "Selectable" -defs["igSelectable"][2]["location"] = "imgui:622" +defs["igSelectable"][2]["location"] = "imgui:624" defs["igSelectable"][2]["namespace"] = "ImGui" -defs["igSelectable"][2]["ov_cimguiname"] = "igSelectableBoolPtr" +defs["igSelectable"][2]["ov_cimguiname"] = "igSelectable_BoolPtr" defs["igSelectable"][2]["ret"] = "bool" defs["igSelectable"][2]["signature"] = "(const char*,bool*,ImGuiSelectableFlags,const ImVec2)" defs["igSelectable"][2]["stname"] = "" @@ -12032,7 +12275,7 @@ defs["igSeparator"][1]["call_args"] = "()" defs["igSeparator"][1]["cimguiname"] = "igSeparator" defs["igSeparator"][1]["defaults"] = {} defs["igSeparator"][1]["funcname"] = "Separator" -defs["igSeparator"][1]["location"] = "imgui:440" +defs["igSeparator"][1]["location"] = "imgui:438" defs["igSeparator"][1]["namespace"] = "ImGui" defs["igSeparator"][1]["ov_cimguiname"] = "igSeparator" defs["igSeparator"][1]["ret"] = "void" @@ -12058,7 +12301,7 @@ defs["igSetAllocatorFunctions"][1]["cimguiname"] = "igSetAllocatorFunctions" defs["igSetAllocatorFunctions"][1]["defaults"] = {} defs["igSetAllocatorFunctions"][1]["defaults"]["user_data"] = "NULL" defs["igSetAllocatorFunctions"][1]["funcname"] = "SetAllocatorFunctions" -defs["igSetAllocatorFunctions"][1]["location"] = "imgui:937" +defs["igSetAllocatorFunctions"][1]["location"] = "imgui:940" defs["igSetAllocatorFunctions"][1]["namespace"] = "ImGui" defs["igSetAllocatorFunctions"][1]["ov_cimguiname"] = "igSetAllocatorFunctions" defs["igSetAllocatorFunctions"][1]["ret"] = "void" @@ -12077,7 +12320,7 @@ defs["igSetClipboardText"][1]["call_args"] = "(text)" defs["igSetClipboardText"][1]["cimguiname"] = "igSetClipboardText" defs["igSetClipboardText"][1]["defaults"] = {} defs["igSetClipboardText"][1]["funcname"] = "SetClipboardText" -defs["igSetClipboardText"][1]["location"] = "imgui:918" +defs["igSetClipboardText"][1]["location"] = "imgui:921" defs["igSetClipboardText"][1]["namespace"] = "ImGui" defs["igSetClipboardText"][1]["ov_cimguiname"] = "igSetClipboardText" defs["igSetClipboardText"][1]["ret"] = "void" @@ -12096,7 +12339,7 @@ defs["igSetColorEditOptions"][1]["call_args"] = "(flags)" defs["igSetColorEditOptions"][1]["cimguiname"] = "igSetColorEditOptions" defs["igSetColorEditOptions"][1]["defaults"] = {} defs["igSetColorEditOptions"][1]["funcname"] = "SetColorEditOptions" -defs["igSetColorEditOptions"][1]["location"] = "imgui:596" +defs["igSetColorEditOptions"][1]["location"] = "imgui:598" defs["igSetColorEditOptions"][1]["namespace"] = "ImGui" defs["igSetColorEditOptions"][1]["ov_cimguiname"] = "igSetColorEditOptions" defs["igSetColorEditOptions"][1]["ret"] = "void" @@ -12118,7 +12361,7 @@ defs["igSetColumnOffset"][1]["call_args"] = "(column_index,offset_x)" defs["igSetColumnOffset"][1]["cimguiname"] = "igSetColumnOffset" defs["igSetColumnOffset"][1]["defaults"] = {} defs["igSetColumnOffset"][1]["funcname"] = "SetColumnOffset" -defs["igSetColumnOffset"][1]["location"] = "imgui:783" +defs["igSetColumnOffset"][1]["location"] = "imgui:781" defs["igSetColumnOffset"][1]["namespace"] = "ImGui" defs["igSetColumnOffset"][1]["ov_cimguiname"] = "igSetColumnOffset" defs["igSetColumnOffset"][1]["ret"] = "void" @@ -12140,7 +12383,7 @@ defs["igSetColumnWidth"][1]["call_args"] = "(column_index,width)" defs["igSetColumnWidth"][1]["cimguiname"] = "igSetColumnWidth" defs["igSetColumnWidth"][1]["defaults"] = {} defs["igSetColumnWidth"][1]["funcname"] = "SetColumnWidth" -defs["igSetColumnWidth"][1]["location"] = "imgui:781" +defs["igSetColumnWidth"][1]["location"] = "imgui:779" defs["igSetColumnWidth"][1]["namespace"] = "ImGui" defs["igSetColumnWidth"][1]["ov_cimguiname"] = "igSetColumnWidth" defs["igSetColumnWidth"][1]["ret"] = "void" @@ -12159,7 +12402,7 @@ defs["igSetCurrentContext"][1]["call_args"] = "(ctx)" defs["igSetCurrentContext"][1]["cimguiname"] = "igSetCurrentContext" defs["igSetCurrentContext"][1]["defaults"] = {} defs["igSetCurrentContext"][1]["funcname"] = "SetCurrentContext" -defs["igSetCurrentContext"][1]["location"] = "imgui:297" +defs["igSetCurrentContext"][1]["location"] = "imgui:291" defs["igSetCurrentContext"][1]["namespace"] = "ImGui" defs["igSetCurrentContext"][1]["ov_cimguiname"] = "igSetCurrentContext" defs["igSetCurrentContext"][1]["ret"] = "void" @@ -12178,7 +12421,7 @@ defs["igSetCursorPos"][1]["call_args"] = "(local_pos)" defs["igSetCursorPos"][1]["cimguiname"] = "igSetCursorPos" defs["igSetCursorPos"][1]["defaults"] = {} defs["igSetCursorPos"][1]["funcname"] = "SetCursorPos" -defs["igSetCursorPos"][1]["location"] = "imgui:452" +defs["igSetCursorPos"][1]["location"] = "imgui:450" defs["igSetCursorPos"][1]["namespace"] = "ImGui" defs["igSetCursorPos"][1]["ov_cimguiname"] = "igSetCursorPos" defs["igSetCursorPos"][1]["ret"] = "void" @@ -12197,7 +12440,7 @@ defs["igSetCursorPosX"][1]["call_args"] = "(local_x)" defs["igSetCursorPosX"][1]["cimguiname"] = "igSetCursorPosX" defs["igSetCursorPosX"][1]["defaults"] = {} defs["igSetCursorPosX"][1]["funcname"] = "SetCursorPosX" -defs["igSetCursorPosX"][1]["location"] = "imgui:453" +defs["igSetCursorPosX"][1]["location"] = "imgui:451" defs["igSetCursorPosX"][1]["namespace"] = "ImGui" defs["igSetCursorPosX"][1]["ov_cimguiname"] = "igSetCursorPosX" defs["igSetCursorPosX"][1]["ret"] = "void" @@ -12216,7 +12459,7 @@ defs["igSetCursorPosY"][1]["call_args"] = "(local_y)" defs["igSetCursorPosY"][1]["cimguiname"] = "igSetCursorPosY" defs["igSetCursorPosY"][1]["defaults"] = {} defs["igSetCursorPosY"][1]["funcname"] = "SetCursorPosY" -defs["igSetCursorPosY"][1]["location"] = "imgui:454" +defs["igSetCursorPosY"][1]["location"] = "imgui:452" defs["igSetCursorPosY"][1]["namespace"] = "ImGui" defs["igSetCursorPosY"][1]["ov_cimguiname"] = "igSetCursorPosY" defs["igSetCursorPosY"][1]["ret"] = "void" @@ -12235,7 +12478,7 @@ defs["igSetCursorScreenPos"][1]["call_args"] = "(pos)" defs["igSetCursorScreenPos"][1]["cimguiname"] = "igSetCursorScreenPos" defs["igSetCursorScreenPos"][1]["defaults"] = {} defs["igSetCursorScreenPos"][1]["funcname"] = "SetCursorScreenPos" -defs["igSetCursorScreenPos"][1]["location"] = "imgui:457" +defs["igSetCursorScreenPos"][1]["location"] = "imgui:455" defs["igSetCursorScreenPos"][1]["namespace"] = "ImGui" defs["igSetCursorScreenPos"][1]["ov_cimguiname"] = "igSetCursorScreenPos" defs["igSetCursorScreenPos"][1]["ret"] = "void" @@ -12264,7 +12507,7 @@ defs["igSetDragDropPayload"][1]["cimguiname"] = "igSetDragDropPayload" defs["igSetDragDropPayload"][1]["defaults"] = {} defs["igSetDragDropPayload"][1]["defaults"]["cond"] = "0" defs["igSetDragDropPayload"][1]["funcname"] = "SetDragDropPayload" -defs["igSetDragDropPayload"][1]["location"] = "imgui:810" +defs["igSetDragDropPayload"][1]["location"] = "imgui:808" defs["igSetDragDropPayload"][1]["namespace"] = "ImGui" defs["igSetDragDropPayload"][1]["ov_cimguiname"] = "igSetDragDropPayload" defs["igSetDragDropPayload"][1]["ret"] = "bool" @@ -12280,7 +12523,7 @@ defs["igSetItemAllowOverlap"][1]["call_args"] = "()" defs["igSetItemAllowOverlap"][1]["cimguiname"] = "igSetItemAllowOverlap" defs["igSetItemAllowOverlap"][1]["defaults"] = {} defs["igSetItemAllowOverlap"][1]["funcname"] = "SetItemAllowOverlap" -defs["igSetItemAllowOverlap"][1]["location"] = "imgui:853" +defs["igSetItemAllowOverlap"][1]["location"] = "imgui:851" defs["igSetItemAllowOverlap"][1]["namespace"] = "ImGui" defs["igSetItemAllowOverlap"][1]["ov_cimguiname"] = "igSetItemAllowOverlap" defs["igSetItemAllowOverlap"][1]["ret"] = "void" @@ -12296,7 +12539,7 @@ defs["igSetItemDefaultFocus"][1]["call_args"] = "()" defs["igSetItemDefaultFocus"][1]["cimguiname"] = "igSetItemDefaultFocus" defs["igSetItemDefaultFocus"][1]["defaults"] = {} defs["igSetItemDefaultFocus"][1]["funcname"] = "SetItemDefaultFocus" -defs["igSetItemDefaultFocus"][1]["location"] = "imgui:831" +defs["igSetItemDefaultFocus"][1]["location"] = "imgui:829" defs["igSetItemDefaultFocus"][1]["namespace"] = "ImGui" defs["igSetItemDefaultFocus"][1]["ov_cimguiname"] = "igSetItemDefaultFocus" defs["igSetItemDefaultFocus"][1]["ret"] = "void" @@ -12316,7 +12559,7 @@ defs["igSetKeyboardFocusHere"][1]["cimguiname"] = "igSetKeyboardFocusHere" defs["igSetKeyboardFocusHere"][1]["defaults"] = {} defs["igSetKeyboardFocusHere"][1]["defaults"]["offset"] = "0" defs["igSetKeyboardFocusHere"][1]["funcname"] = "SetKeyboardFocusHere" -defs["igSetKeyboardFocusHere"][1]["location"] = "imgui:832" +defs["igSetKeyboardFocusHere"][1]["location"] = "imgui:830" defs["igSetKeyboardFocusHere"][1]["namespace"] = "ImGui" defs["igSetKeyboardFocusHere"][1]["ov_cimguiname"] = "igSetKeyboardFocusHere" defs["igSetKeyboardFocusHere"][1]["ret"] = "void" @@ -12335,13 +12578,51 @@ defs["igSetMouseCursor"][1]["call_args"] = "(cursor_type)" defs["igSetMouseCursor"][1]["cimguiname"] = "igSetMouseCursor" defs["igSetMouseCursor"][1]["defaults"] = {} defs["igSetMouseCursor"][1]["funcname"] = "SetMouseCursor" -defs["igSetMouseCursor"][1]["location"] = "imgui:912" +defs["igSetMouseCursor"][1]["location"] = "imgui:915" defs["igSetMouseCursor"][1]["namespace"] = "ImGui" defs["igSetMouseCursor"][1]["ov_cimguiname"] = "igSetMouseCursor" defs["igSetMouseCursor"][1]["ret"] = "void" defs["igSetMouseCursor"][1]["signature"] = "(ImGuiMouseCursor)" defs["igSetMouseCursor"][1]["stname"] = "" defs["igSetMouseCursor"]["(ImGuiMouseCursor)"] = defs["igSetMouseCursor"][1] +defs["igSetNextFrameWantCaptureKeyboard"] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["args"] = "(bool want_capture_keyboard)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"][1] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"][1]["name"] = "want_capture_keyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsT"][1]["type"] = "bool" +defs["igSetNextFrameWantCaptureKeyboard"][1]["argsoriginal"] = "(bool want_capture_keyboard)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["call_args"] = "(want_capture_keyboard)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["cimguiname"] = "igSetNextFrameWantCaptureKeyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["defaults"] = {} +defs["igSetNextFrameWantCaptureKeyboard"][1]["funcname"] = "SetNextFrameWantCaptureKeyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["location"] = "imgui:895" +defs["igSetNextFrameWantCaptureKeyboard"][1]["namespace"] = "ImGui" +defs["igSetNextFrameWantCaptureKeyboard"][1]["ov_cimguiname"] = "igSetNextFrameWantCaptureKeyboard" +defs["igSetNextFrameWantCaptureKeyboard"][1]["ret"] = "void" +defs["igSetNextFrameWantCaptureKeyboard"][1]["signature"] = "(bool)" +defs["igSetNextFrameWantCaptureKeyboard"][1]["stname"] = "" +defs["igSetNextFrameWantCaptureKeyboard"]["(bool)"] = defs["igSetNextFrameWantCaptureKeyboard"][1] +defs["igSetNextFrameWantCaptureMouse"] = {} +defs["igSetNextFrameWantCaptureMouse"][1] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["args"] = "(bool want_capture_mouse)" +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"][1] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"][1]["name"] = "want_capture_mouse" +defs["igSetNextFrameWantCaptureMouse"][1]["argsT"][1]["type"] = "bool" +defs["igSetNextFrameWantCaptureMouse"][1]["argsoriginal"] = "(bool want_capture_mouse)" +defs["igSetNextFrameWantCaptureMouse"][1]["call_args"] = "(want_capture_mouse)" +defs["igSetNextFrameWantCaptureMouse"][1]["cimguiname"] = "igSetNextFrameWantCaptureMouse" +defs["igSetNextFrameWantCaptureMouse"][1]["defaults"] = {} +defs["igSetNextFrameWantCaptureMouse"][1]["funcname"] = "SetNextFrameWantCaptureMouse" +defs["igSetNextFrameWantCaptureMouse"][1]["location"] = "imgui:916" +defs["igSetNextFrameWantCaptureMouse"][1]["namespace"] = "ImGui" +defs["igSetNextFrameWantCaptureMouse"][1]["ov_cimguiname"] = "igSetNextFrameWantCaptureMouse" +defs["igSetNextFrameWantCaptureMouse"][1]["ret"] = "void" +defs["igSetNextFrameWantCaptureMouse"][1]["signature"] = "(bool)" +defs["igSetNextFrameWantCaptureMouse"][1]["stname"] = "" +defs["igSetNextFrameWantCaptureMouse"]["(bool)"] = defs["igSetNextFrameWantCaptureMouse"][1] defs["igSetNextItemOpen"] = {} defs["igSetNextItemOpen"][1] = {} defs["igSetNextItemOpen"][1]["args"] = "(bool is_open,ImGuiCond cond)" @@ -12358,7 +12639,7 @@ defs["igSetNextItemOpen"][1]["cimguiname"] = "igSetNextItemOpen" defs["igSetNextItemOpen"][1]["defaults"] = {} defs["igSetNextItemOpen"][1]["defaults"]["cond"] = "0" defs["igSetNextItemOpen"][1]["funcname"] = "SetNextItemOpen" -defs["igSetNextItemOpen"][1]["location"] = "imgui:616" +defs["igSetNextItemOpen"][1]["location"] = "imgui:618" defs["igSetNextItemOpen"][1]["namespace"] = "ImGui" defs["igSetNextItemOpen"][1]["ov_cimguiname"] = "igSetNextItemOpen" defs["igSetNextItemOpen"][1]["ret"] = "void" @@ -12377,7 +12658,7 @@ defs["igSetNextItemWidth"][1]["call_args"] = "(item_width)" defs["igSetNextItemWidth"][1]["cimguiname"] = "igSetNextItemWidth" defs["igSetNextItemWidth"][1]["defaults"] = {} defs["igSetNextItemWidth"][1]["funcname"] = "SetNextItemWidth" -defs["igSetNextItemWidth"][1]["location"] = "imgui:418" +defs["igSetNextItemWidth"][1]["location"] = "imgui:416" defs["igSetNextItemWidth"][1]["namespace"] = "ImGui" defs["igSetNextItemWidth"][1]["ov_cimguiname"] = "igSetNextItemWidth" defs["igSetNextItemWidth"][1]["ret"] = "void" @@ -12396,7 +12677,7 @@ defs["igSetNextWindowBgAlpha"][1]["call_args"] = "(alpha)" defs["igSetNextWindowBgAlpha"][1]["cimguiname"] = "igSetNextWindowBgAlpha" defs["igSetNextWindowBgAlpha"][1]["defaults"] = {} defs["igSetNextWindowBgAlpha"][1]["funcname"] = "SetNextWindowBgAlpha" -defs["igSetNextWindowBgAlpha"][1]["location"] = "imgui:370" +defs["igSetNextWindowBgAlpha"][1]["location"] = "imgui:366" defs["igSetNextWindowBgAlpha"][1]["namespace"] = "ImGui" defs["igSetNextWindowBgAlpha"][1]["ov_cimguiname"] = "igSetNextWindowBgAlpha" defs["igSetNextWindowBgAlpha"][1]["ret"] = "void" @@ -12419,7 +12700,7 @@ defs["igSetNextWindowCollapsed"][1]["cimguiname"] = "igSetNextWindowCollapsed" defs["igSetNextWindowCollapsed"][1]["defaults"] = {} defs["igSetNextWindowCollapsed"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowCollapsed"][1]["funcname"] = "SetNextWindowCollapsed" -defs["igSetNextWindowCollapsed"][1]["location"] = "imgui:368" +defs["igSetNextWindowCollapsed"][1]["location"] = "imgui:363" defs["igSetNextWindowCollapsed"][1]["namespace"] = "ImGui" defs["igSetNextWindowCollapsed"][1]["ov_cimguiname"] = "igSetNextWindowCollapsed" defs["igSetNextWindowCollapsed"][1]["ret"] = "void" @@ -12438,7 +12719,7 @@ defs["igSetNextWindowContentSize"][1]["call_args"] = "(size)" defs["igSetNextWindowContentSize"][1]["cimguiname"] = "igSetNextWindowContentSize" defs["igSetNextWindowContentSize"][1]["defaults"] = {} defs["igSetNextWindowContentSize"][1]["funcname"] = "SetNextWindowContentSize" -defs["igSetNextWindowContentSize"][1]["location"] = "imgui:367" +defs["igSetNextWindowContentSize"][1]["location"] = "imgui:362" defs["igSetNextWindowContentSize"][1]["namespace"] = "ImGui" defs["igSetNextWindowContentSize"][1]["ov_cimguiname"] = "igSetNextWindowContentSize" defs["igSetNextWindowContentSize"][1]["ret"] = "void" @@ -12454,7 +12735,7 @@ defs["igSetNextWindowFocus"][1]["call_args"] = "()" defs["igSetNextWindowFocus"][1]["cimguiname"] = "igSetNextWindowFocus" defs["igSetNextWindowFocus"][1]["defaults"] = {} defs["igSetNextWindowFocus"][1]["funcname"] = "SetNextWindowFocus" -defs["igSetNextWindowFocus"][1]["location"] = "imgui:369" +defs["igSetNextWindowFocus"][1]["location"] = "imgui:364" defs["igSetNextWindowFocus"][1]["namespace"] = "ImGui" defs["igSetNextWindowFocus"][1]["ov_cimguiname"] = "igSetNextWindowFocus" defs["igSetNextWindowFocus"][1]["ret"] = "void" @@ -12481,13 +12762,32 @@ defs["igSetNextWindowPos"][1]["defaults"] = {} defs["igSetNextWindowPos"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowPos"][1]["defaults"]["pivot"] = "ImVec2(0,0)" defs["igSetNextWindowPos"][1]["funcname"] = "SetNextWindowPos" -defs["igSetNextWindowPos"][1]["location"] = "imgui:364" +defs["igSetNextWindowPos"][1]["location"] = "imgui:359" defs["igSetNextWindowPos"][1]["namespace"] = "ImGui" defs["igSetNextWindowPos"][1]["ov_cimguiname"] = "igSetNextWindowPos" defs["igSetNextWindowPos"][1]["ret"] = "void" defs["igSetNextWindowPos"][1]["signature"] = "(const ImVec2,ImGuiCond,const ImVec2)" defs["igSetNextWindowPos"][1]["stname"] = "" defs["igSetNextWindowPos"]["(const ImVec2,ImGuiCond,const ImVec2)"] = defs["igSetNextWindowPos"][1] +defs["igSetNextWindowScroll"] = {} +defs["igSetNextWindowScroll"][1] = {} +defs["igSetNextWindowScroll"][1]["args"] = "(const ImVec2 scroll)" +defs["igSetNextWindowScroll"][1]["argsT"] = {} +defs["igSetNextWindowScroll"][1]["argsT"][1] = {} +defs["igSetNextWindowScroll"][1]["argsT"][1]["name"] = "scroll" +defs["igSetNextWindowScroll"][1]["argsT"][1]["type"] = "const ImVec2" +defs["igSetNextWindowScroll"][1]["argsoriginal"] = "(const ImVec2& scroll)" +defs["igSetNextWindowScroll"][1]["call_args"] = "(scroll)" +defs["igSetNextWindowScroll"][1]["cimguiname"] = "igSetNextWindowScroll" +defs["igSetNextWindowScroll"][1]["defaults"] = {} +defs["igSetNextWindowScroll"][1]["funcname"] = "SetNextWindowScroll" +defs["igSetNextWindowScroll"][1]["location"] = "imgui:365" +defs["igSetNextWindowScroll"][1]["namespace"] = "ImGui" +defs["igSetNextWindowScroll"][1]["ov_cimguiname"] = "igSetNextWindowScroll" +defs["igSetNextWindowScroll"][1]["ret"] = "void" +defs["igSetNextWindowScroll"][1]["signature"] = "(const ImVec2)" +defs["igSetNextWindowScroll"][1]["stname"] = "" +defs["igSetNextWindowScroll"]["(const ImVec2)"] = defs["igSetNextWindowScroll"][1] defs["igSetNextWindowSize"] = {} defs["igSetNextWindowSize"][1] = {} defs["igSetNextWindowSize"][1]["args"] = "(const ImVec2 size,ImGuiCond cond)" @@ -12504,7 +12804,7 @@ defs["igSetNextWindowSize"][1]["cimguiname"] = "igSetNextWindowSize" defs["igSetNextWindowSize"][1]["defaults"] = {} defs["igSetNextWindowSize"][1]["defaults"]["cond"] = "0" defs["igSetNextWindowSize"][1]["funcname"] = "SetNextWindowSize" -defs["igSetNextWindowSize"][1]["location"] = "imgui:365" +defs["igSetNextWindowSize"][1]["location"] = "imgui:360" defs["igSetNextWindowSize"][1]["namespace"] = "ImGui" defs["igSetNextWindowSize"][1]["ov_cimguiname"] = "igSetNextWindowSize" defs["igSetNextWindowSize"][1]["ret"] = "void" @@ -12534,7 +12834,7 @@ defs["igSetNextWindowSizeConstraints"][1]["defaults"] = {} defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback"] = "NULL" defs["igSetNextWindowSizeConstraints"][1]["defaults"]["custom_callback_data"] = "NULL" defs["igSetNextWindowSizeConstraints"][1]["funcname"] = "SetNextWindowSizeConstraints" -defs["igSetNextWindowSizeConstraints"][1]["location"] = "imgui:366" +defs["igSetNextWindowSizeConstraints"][1]["location"] = "imgui:361" defs["igSetNextWindowSizeConstraints"][1]["namespace"] = "ImGui" defs["igSetNextWindowSizeConstraints"][1]["ov_cimguiname"] = "igSetNextWindowSizeConstraints" defs["igSetNextWindowSizeConstraints"][1]["ret"] = "void" @@ -12557,7 +12857,7 @@ defs["igSetScrollFromPosX"][1]["cimguiname"] = "igSetScrollFromPosX" defs["igSetScrollFromPosX"][1]["defaults"] = {} defs["igSetScrollFromPosX"][1]["defaults"]["center_x_ratio"] = "0.5f" defs["igSetScrollFromPosX"][1]["funcname"] = "SetScrollFromPosX" -defs["igSetScrollFromPosX"][1]["location"] = "imgui:398" +defs["igSetScrollFromPosX"][1]["location"] = "imgui:396" defs["igSetScrollFromPosX"][1]["namespace"] = "ImGui" defs["igSetScrollFromPosX"][1]["ov_cimguiname"] = "igSetScrollFromPosX" defs["igSetScrollFromPosX"][1]["ret"] = "void" @@ -12580,7 +12880,7 @@ defs["igSetScrollFromPosY"][1]["cimguiname"] = "igSetScrollFromPosY" defs["igSetScrollFromPosY"][1]["defaults"] = {} defs["igSetScrollFromPosY"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollFromPosY"][1]["funcname"] = "SetScrollFromPosY" -defs["igSetScrollFromPosY"][1]["location"] = "imgui:399" +defs["igSetScrollFromPosY"][1]["location"] = "imgui:397" defs["igSetScrollFromPosY"][1]["namespace"] = "ImGui" defs["igSetScrollFromPosY"][1]["ov_cimguiname"] = "igSetScrollFromPosY" defs["igSetScrollFromPosY"][1]["ret"] = "void" @@ -12600,7 +12900,7 @@ defs["igSetScrollHereX"][1]["cimguiname"] = "igSetScrollHereX" defs["igSetScrollHereX"][1]["defaults"] = {} defs["igSetScrollHereX"][1]["defaults"]["center_x_ratio"] = "0.5f" defs["igSetScrollHereX"][1]["funcname"] = "SetScrollHereX" -defs["igSetScrollHereX"][1]["location"] = "imgui:396" +defs["igSetScrollHereX"][1]["location"] = "imgui:394" defs["igSetScrollHereX"][1]["namespace"] = "ImGui" defs["igSetScrollHereX"][1]["ov_cimguiname"] = "igSetScrollHereX" defs["igSetScrollHereX"][1]["ret"] = "void" @@ -12620,7 +12920,7 @@ defs["igSetScrollHereY"][1]["cimguiname"] = "igSetScrollHereY" defs["igSetScrollHereY"][1]["defaults"] = {} defs["igSetScrollHereY"][1]["defaults"]["center_y_ratio"] = "0.5f" defs["igSetScrollHereY"][1]["funcname"] = "SetScrollHereY" -defs["igSetScrollHereY"][1]["location"] = "imgui:397" +defs["igSetScrollHereY"][1]["location"] = "imgui:395" defs["igSetScrollHereY"][1]["namespace"] = "ImGui" defs["igSetScrollHereY"][1]["ov_cimguiname"] = "igSetScrollHereY" defs["igSetScrollHereY"][1]["ret"] = "void" @@ -12639,7 +12939,7 @@ defs["igSetScrollX"][1]["call_args"] = "(scroll_x)" defs["igSetScrollX"][1]["cimguiname"] = "igSetScrollX" defs["igSetScrollX"][1]["defaults"] = {} defs["igSetScrollX"][1]["funcname"] = "SetScrollX" -defs["igSetScrollX"][1]["location"] = "imgui:392" +defs["igSetScrollX"][1]["location"] = "imgui:390" defs["igSetScrollX"][1]["namespace"] = "ImGui" defs["igSetScrollX"][1]["ov_cimguiname"] = "igSetScrollX" defs["igSetScrollX"][1]["ret"] = "void" @@ -12658,7 +12958,7 @@ defs["igSetScrollY"][1]["call_args"] = "(scroll_y)" defs["igSetScrollY"][1]["cimguiname"] = "igSetScrollY" defs["igSetScrollY"][1]["defaults"] = {} defs["igSetScrollY"][1]["funcname"] = "SetScrollY" -defs["igSetScrollY"][1]["location"] = "imgui:393" +defs["igSetScrollY"][1]["location"] = "imgui:391" defs["igSetScrollY"][1]["namespace"] = "ImGui" defs["igSetScrollY"][1]["ov_cimguiname"] = "igSetScrollY" defs["igSetScrollY"][1]["ret"] = "void" @@ -12696,7 +12996,7 @@ defs["igSetTabItemClosed"][1]["call_args"] = "(tab_or_docked_window_label)" defs["igSetTabItemClosed"][1]["cimguiname"] = "igSetTabItemClosed" defs["igSetTabItemClosed"][1]["defaults"] = {} defs["igSetTabItemClosed"][1]["funcname"] = "SetTabItemClosed" -defs["igSetTabItemClosed"][1]["location"] = "imgui:792" +defs["igSetTabItemClosed"][1]["location"] = "imgui:790" defs["igSetTabItemClosed"][1]["namespace"] = "ImGui" defs["igSetTabItemClosed"][1]["ov_cimguiname"] = "igSetTabItemClosed" defs["igSetTabItemClosed"][1]["ret"] = "void" @@ -12719,7 +13019,7 @@ defs["igSetTooltip"][1]["cimguiname"] = "igSetTooltip" defs["igSetTooltip"][1]["defaults"] = {} defs["igSetTooltip"][1]["funcname"] = "SetTooltip" defs["igSetTooltip"][1]["isvararg"] = "...)" -defs["igSetTooltip"][1]["location"] = "imgui:667" +defs["igSetTooltip"][1]["location"] = "imgui:669" defs["igSetTooltip"][1]["namespace"] = "ImGui" defs["igSetTooltip"][1]["ov_cimguiname"] = "igSetTooltip" defs["igSetTooltip"][1]["ret"] = "void" @@ -12741,7 +13041,7 @@ defs["igSetTooltipV"][1]["call_args"] = "(fmt,args)" defs["igSetTooltipV"][1]["cimguiname"] = "igSetTooltipV" defs["igSetTooltipV"][1]["defaults"] = {} defs["igSetTooltipV"][1]["funcname"] = "SetTooltipV" -defs["igSetTooltipV"][1]["location"] = "imgui:668" +defs["igSetTooltipV"][1]["location"] = "imgui:670" defs["igSetTooltipV"][1]["namespace"] = "ImGui" defs["igSetTooltipV"][1]["ov_cimguiname"] = "igSetTooltipV" defs["igSetTooltipV"][1]["ret"] = "void" @@ -12764,9 +13064,9 @@ defs["igSetWindowCollapsed"][1]["cimguiname"] = "igSetWindowCollapsed" defs["igSetWindowCollapsed"][1]["defaults"] = {} defs["igSetWindowCollapsed"][1]["defaults"]["cond"] = "0" defs["igSetWindowCollapsed"][1]["funcname"] = "SetWindowCollapsed" -defs["igSetWindowCollapsed"][1]["location"] = "imgui:373" +defs["igSetWindowCollapsed"][1]["location"] = "imgui:369" defs["igSetWindowCollapsed"][1]["namespace"] = "ImGui" -defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsedBool" +defs["igSetWindowCollapsed"][1]["ov_cimguiname"] = "igSetWindowCollapsed_Bool" defs["igSetWindowCollapsed"][1]["ret"] = "void" defs["igSetWindowCollapsed"][1]["signature"] = "(bool,ImGuiCond)" defs["igSetWindowCollapsed"][1]["stname"] = "" @@ -12788,9 +13088,9 @@ defs["igSetWindowCollapsed"][2]["cimguiname"] = "igSetWindowCollapsed" defs["igSetWindowCollapsed"][2]["defaults"] = {} defs["igSetWindowCollapsed"][2]["defaults"]["cond"] = "0" defs["igSetWindowCollapsed"][2]["funcname"] = "SetWindowCollapsed" -defs["igSetWindowCollapsed"][2]["location"] = "imgui:378" +defs["igSetWindowCollapsed"][2]["location"] = "imgui:374" defs["igSetWindowCollapsed"][2]["namespace"] = "ImGui" -defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsedStr" +defs["igSetWindowCollapsed"][2]["ov_cimguiname"] = "igSetWindowCollapsed_Str" defs["igSetWindowCollapsed"][2]["ret"] = "void" defs["igSetWindowCollapsed"][2]["signature"] = "(const char*,bool,ImGuiCond)" defs["igSetWindowCollapsed"][2]["stname"] = "" @@ -12805,9 +13105,9 @@ defs["igSetWindowFocus"][1]["call_args"] = "()" defs["igSetWindowFocus"][1]["cimguiname"] = "igSetWindowFocus" defs["igSetWindowFocus"][1]["defaults"] = {} defs["igSetWindowFocus"][1]["funcname"] = "SetWindowFocus" -defs["igSetWindowFocus"][1]["location"] = "imgui:374" +defs["igSetWindowFocus"][1]["location"] = "imgui:370" defs["igSetWindowFocus"][1]["namespace"] = "ImGui" -defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocusNil" +defs["igSetWindowFocus"][1]["ov_cimguiname"] = "igSetWindowFocus_Nil" defs["igSetWindowFocus"][1]["ret"] = "void" defs["igSetWindowFocus"][1]["signature"] = "()" defs["igSetWindowFocus"][1]["stname"] = "" @@ -12822,9 +13122,9 @@ defs["igSetWindowFocus"][2]["call_args"] = "(name)" defs["igSetWindowFocus"][2]["cimguiname"] = "igSetWindowFocus" defs["igSetWindowFocus"][2]["defaults"] = {} defs["igSetWindowFocus"][2]["funcname"] = "SetWindowFocus" -defs["igSetWindowFocus"][2]["location"] = "imgui:379" +defs["igSetWindowFocus"][2]["location"] = "imgui:375" defs["igSetWindowFocus"][2]["namespace"] = "ImGui" -defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocusStr" +defs["igSetWindowFocus"][2]["ov_cimguiname"] = "igSetWindowFocus_Str" defs["igSetWindowFocus"][2]["ret"] = "void" defs["igSetWindowFocus"][2]["signature"] = "(const char*)" defs["igSetWindowFocus"][2]["stname"] = "" @@ -12842,7 +13142,7 @@ defs["igSetWindowFontScale"][1]["call_args"] = "(scale)" defs["igSetWindowFontScale"][1]["cimguiname"] = "igSetWindowFontScale" defs["igSetWindowFontScale"][1]["defaults"] = {} defs["igSetWindowFontScale"][1]["funcname"] = "SetWindowFontScale" -defs["igSetWindowFontScale"][1]["location"] = "imgui:375" +defs["igSetWindowFontScale"][1]["location"] = "imgui:371" defs["igSetWindowFontScale"][1]["namespace"] = "ImGui" defs["igSetWindowFontScale"][1]["ov_cimguiname"] = "igSetWindowFontScale" defs["igSetWindowFontScale"][1]["ret"] = "void" @@ -12865,9 +13165,9 @@ defs["igSetWindowPos"][1]["cimguiname"] = "igSetWindowPos" defs["igSetWindowPos"][1]["defaults"] = {} defs["igSetWindowPos"][1]["defaults"]["cond"] = "0" defs["igSetWindowPos"][1]["funcname"] = "SetWindowPos" -defs["igSetWindowPos"][1]["location"] = "imgui:371" +defs["igSetWindowPos"][1]["location"] = "imgui:367" defs["igSetWindowPos"][1]["namespace"] = "ImGui" -defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPosVec2" +defs["igSetWindowPos"][1]["ov_cimguiname"] = "igSetWindowPos_Vec2" defs["igSetWindowPos"][1]["ret"] = "void" defs["igSetWindowPos"][1]["signature"] = "(const ImVec2,ImGuiCond)" defs["igSetWindowPos"][1]["stname"] = "" @@ -12889,9 +13189,9 @@ defs["igSetWindowPos"][2]["cimguiname"] = "igSetWindowPos" defs["igSetWindowPos"][2]["defaults"] = {} defs["igSetWindowPos"][2]["defaults"]["cond"] = "0" defs["igSetWindowPos"][2]["funcname"] = "SetWindowPos" -defs["igSetWindowPos"][2]["location"] = "imgui:376" +defs["igSetWindowPos"][2]["location"] = "imgui:372" defs["igSetWindowPos"][2]["namespace"] = "ImGui" -defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPosStr" +defs["igSetWindowPos"][2]["ov_cimguiname"] = "igSetWindowPos_Str" defs["igSetWindowPos"][2]["ret"] = "void" defs["igSetWindowPos"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" defs["igSetWindowPos"][2]["stname"] = "" @@ -12913,9 +13213,9 @@ defs["igSetWindowSize"][1]["cimguiname"] = "igSetWindowSize" defs["igSetWindowSize"][1]["defaults"] = {} defs["igSetWindowSize"][1]["defaults"]["cond"] = "0" defs["igSetWindowSize"][1]["funcname"] = "SetWindowSize" -defs["igSetWindowSize"][1]["location"] = "imgui:372" +defs["igSetWindowSize"][1]["location"] = "imgui:368" defs["igSetWindowSize"][1]["namespace"] = "ImGui" -defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSizeVec2" +defs["igSetWindowSize"][1]["ov_cimguiname"] = "igSetWindowSize_Vec2" defs["igSetWindowSize"][1]["ret"] = "void" defs["igSetWindowSize"][1]["signature"] = "(const ImVec2,ImGuiCond)" defs["igSetWindowSize"][1]["stname"] = "" @@ -12937,9 +13237,9 @@ defs["igSetWindowSize"][2]["cimguiname"] = "igSetWindowSize" defs["igSetWindowSize"][2]["defaults"] = {} defs["igSetWindowSize"][2]["defaults"]["cond"] = "0" defs["igSetWindowSize"][2]["funcname"] = "SetWindowSize" -defs["igSetWindowSize"][2]["location"] = "imgui:377" +defs["igSetWindowSize"][2]["location"] = "imgui:373" defs["igSetWindowSize"][2]["namespace"] = "ImGui" -defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSizeStr" +defs["igSetWindowSize"][2]["ov_cimguiname"] = "igSetWindowSize_Str" defs["igSetWindowSize"][2]["ret"] = "void" defs["igSetWindowSize"][2]["signature"] = "(const char*,const ImVec2,ImGuiCond)" defs["igSetWindowSize"][2]["stname"] = "" @@ -12958,13 +13258,33 @@ defs["igShowAboutWindow"][1]["cimguiname"] = "igShowAboutWindow" defs["igShowAboutWindow"][1]["defaults"] = {} defs["igShowAboutWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowAboutWindow"][1]["funcname"] = "ShowAboutWindow" -defs["igShowAboutWindow"][1]["location"] = "imgui:311" +defs["igShowAboutWindow"][1]["location"] = "imgui:306" defs["igShowAboutWindow"][1]["namespace"] = "ImGui" defs["igShowAboutWindow"][1]["ov_cimguiname"] = "igShowAboutWindow" defs["igShowAboutWindow"][1]["ret"] = "void" defs["igShowAboutWindow"][1]["signature"] = "(bool*)" defs["igShowAboutWindow"][1]["stname"] = "" defs["igShowAboutWindow"]["(bool*)"] = defs["igShowAboutWindow"][1] +defs["igShowDebugLogWindow"] = {} +defs["igShowDebugLogWindow"][1] = {} +defs["igShowDebugLogWindow"][1]["args"] = "(bool* p_open)" +defs["igShowDebugLogWindow"][1]["argsT"] = {} +defs["igShowDebugLogWindow"][1]["argsT"][1] = {} +defs["igShowDebugLogWindow"][1]["argsT"][1]["name"] = "p_open" +defs["igShowDebugLogWindow"][1]["argsT"][1]["type"] = "bool*" +defs["igShowDebugLogWindow"][1]["argsoriginal"] = "(bool* p_open=((void*)0))" +defs["igShowDebugLogWindow"][1]["call_args"] = "(p_open)" +defs["igShowDebugLogWindow"][1]["cimguiname"] = "igShowDebugLogWindow" +defs["igShowDebugLogWindow"][1]["defaults"] = {} +defs["igShowDebugLogWindow"][1]["defaults"]["p_open"] = "NULL" +defs["igShowDebugLogWindow"][1]["funcname"] = "ShowDebugLogWindow" +defs["igShowDebugLogWindow"][1]["location"] = "imgui:304" +defs["igShowDebugLogWindow"][1]["namespace"] = "ImGui" +defs["igShowDebugLogWindow"][1]["ov_cimguiname"] = "igShowDebugLogWindow" +defs["igShowDebugLogWindow"][1]["ret"] = "void" +defs["igShowDebugLogWindow"][1]["signature"] = "(bool*)" +defs["igShowDebugLogWindow"][1]["stname"] = "" +defs["igShowDebugLogWindow"]["(bool*)"] = defs["igShowDebugLogWindow"][1] defs["igShowDemoWindow"] = {} defs["igShowDemoWindow"][1] = {} defs["igShowDemoWindow"][1]["args"] = "(bool* p_open)" @@ -12978,7 +13298,7 @@ defs["igShowDemoWindow"][1]["cimguiname"] = "igShowDemoWindow" defs["igShowDemoWindow"][1]["defaults"] = {} defs["igShowDemoWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowDemoWindow"][1]["funcname"] = "ShowDemoWindow" -defs["igShowDemoWindow"][1]["location"] = "imgui:308" +defs["igShowDemoWindow"][1]["location"] = "imgui:302" defs["igShowDemoWindow"][1]["namespace"] = "ImGui" defs["igShowDemoWindow"][1]["ov_cimguiname"] = "igShowDemoWindow" defs["igShowDemoWindow"][1]["ret"] = "void" @@ -12997,7 +13317,7 @@ defs["igShowFontSelector"][1]["call_args"] = "(label)" defs["igShowFontSelector"][1]["cimguiname"] = "igShowFontSelector" defs["igShowFontSelector"][1]["defaults"] = {} defs["igShowFontSelector"][1]["funcname"] = "ShowFontSelector" -defs["igShowFontSelector"][1]["location"] = "imgui:314" +defs["igShowFontSelector"][1]["location"] = "imgui:309" defs["igShowFontSelector"][1]["namespace"] = "ImGui" defs["igShowFontSelector"][1]["ov_cimguiname"] = "igShowFontSelector" defs["igShowFontSelector"][1]["ret"] = "void" @@ -13017,7 +13337,7 @@ defs["igShowMetricsWindow"][1]["cimguiname"] = "igShowMetricsWindow" defs["igShowMetricsWindow"][1]["defaults"] = {} defs["igShowMetricsWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowMetricsWindow"][1]["funcname"] = "ShowMetricsWindow" -defs["igShowMetricsWindow"][1]["location"] = "imgui:309" +defs["igShowMetricsWindow"][1]["location"] = "imgui:303" defs["igShowMetricsWindow"][1]["namespace"] = "ImGui" defs["igShowMetricsWindow"][1]["ov_cimguiname"] = "igShowMetricsWindow" defs["igShowMetricsWindow"][1]["ret"] = "void" @@ -13037,7 +13357,7 @@ defs["igShowStackToolWindow"][1]["cimguiname"] = "igShowStackToolWindow" defs["igShowStackToolWindow"][1]["defaults"] = {} defs["igShowStackToolWindow"][1]["defaults"]["p_open"] = "NULL" defs["igShowStackToolWindow"][1]["funcname"] = "ShowStackToolWindow" -defs["igShowStackToolWindow"][1]["location"] = "imgui:310" +defs["igShowStackToolWindow"][1]["location"] = "imgui:305" defs["igShowStackToolWindow"][1]["namespace"] = "ImGui" defs["igShowStackToolWindow"][1]["ov_cimguiname"] = "igShowStackToolWindow" defs["igShowStackToolWindow"][1]["ret"] = "void" @@ -13057,7 +13377,7 @@ defs["igShowStyleEditor"][1]["cimguiname"] = "igShowStyleEditor" defs["igShowStyleEditor"][1]["defaults"] = {} defs["igShowStyleEditor"][1]["defaults"]["ref"] = "NULL" defs["igShowStyleEditor"][1]["funcname"] = "ShowStyleEditor" -defs["igShowStyleEditor"][1]["location"] = "imgui:312" +defs["igShowStyleEditor"][1]["location"] = "imgui:307" defs["igShowStyleEditor"][1]["namespace"] = "ImGui" defs["igShowStyleEditor"][1]["ov_cimguiname"] = "igShowStyleEditor" defs["igShowStyleEditor"][1]["ret"] = "void" @@ -13076,7 +13396,7 @@ defs["igShowStyleSelector"][1]["call_args"] = "(label)" defs["igShowStyleSelector"][1]["cimguiname"] = "igShowStyleSelector" defs["igShowStyleSelector"][1]["defaults"] = {} defs["igShowStyleSelector"][1]["funcname"] = "ShowStyleSelector" -defs["igShowStyleSelector"][1]["location"] = "imgui:313" +defs["igShowStyleSelector"][1]["location"] = "imgui:308" defs["igShowStyleSelector"][1]["namespace"] = "ImGui" defs["igShowStyleSelector"][1]["ov_cimguiname"] = "igShowStyleSelector" defs["igShowStyleSelector"][1]["ret"] = "bool" @@ -13092,7 +13412,7 @@ defs["igShowUserGuide"][1]["call_args"] = "()" defs["igShowUserGuide"][1]["cimguiname"] = "igShowUserGuide" defs["igShowUserGuide"][1]["defaults"] = {} defs["igShowUserGuide"][1]["funcname"] = "ShowUserGuide" -defs["igShowUserGuide"][1]["location"] = "imgui:315" +defs["igShowUserGuide"][1]["location"] = "imgui:310" defs["igShowUserGuide"][1]["namespace"] = "ImGui" defs["igShowUserGuide"][1]["ov_cimguiname"] = "igShowUserGuide" defs["igShowUserGuide"][1]["ret"] = "void" @@ -13130,7 +13450,7 @@ defs["igSliderAngle"][1]["defaults"]["format"] = "\"%.0f deg\"" defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f" defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f" defs["igSliderAngle"][1]["funcname"] = "SliderAngle" -defs["igSliderAngle"][1]["location"] = "imgui:559" +defs["igSliderAngle"][1]["location"] = "imgui:561" defs["igSliderAngle"][1]["namespace"] = "ImGui" defs["igSliderAngle"][1]["ov_cimguiname"] = "igSliderAngle" defs["igSliderAngle"][1]["ret"] = "bool" @@ -13166,7 +13486,7 @@ defs["igSliderFloat"][1]["defaults"] = {} defs["igSliderFloat"][1]["defaults"]["flags"] = "0" defs["igSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat"][1]["funcname"] = "SliderFloat" -defs["igSliderFloat"][1]["location"] = "imgui:555" +defs["igSliderFloat"][1]["location"] = "imgui:557" defs["igSliderFloat"][1]["namespace"] = "ImGui" defs["igSliderFloat"][1]["ov_cimguiname"] = "igSliderFloat" defs["igSliderFloat"][1]["ret"] = "bool" @@ -13202,7 +13522,7 @@ defs["igSliderFloat2"][1]["defaults"] = {} defs["igSliderFloat2"][1]["defaults"]["flags"] = "0" defs["igSliderFloat2"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat2"][1]["funcname"] = "SliderFloat2" -defs["igSliderFloat2"][1]["location"] = "imgui:556" +defs["igSliderFloat2"][1]["location"] = "imgui:558" defs["igSliderFloat2"][1]["namespace"] = "ImGui" defs["igSliderFloat2"][1]["ov_cimguiname"] = "igSliderFloat2" defs["igSliderFloat2"][1]["ret"] = "bool" @@ -13238,7 +13558,7 @@ defs["igSliderFloat3"][1]["defaults"] = {} defs["igSliderFloat3"][1]["defaults"]["flags"] = "0" defs["igSliderFloat3"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat3"][1]["funcname"] = "SliderFloat3" -defs["igSliderFloat3"][1]["location"] = "imgui:557" +defs["igSliderFloat3"][1]["location"] = "imgui:559" defs["igSliderFloat3"][1]["namespace"] = "ImGui" defs["igSliderFloat3"][1]["ov_cimguiname"] = "igSliderFloat3" defs["igSliderFloat3"][1]["ret"] = "bool" @@ -13274,7 +13594,7 @@ defs["igSliderFloat4"][1]["defaults"] = {} defs["igSliderFloat4"][1]["defaults"]["flags"] = "0" defs["igSliderFloat4"][1]["defaults"]["format"] = "\"%.3f\"" defs["igSliderFloat4"][1]["funcname"] = "SliderFloat4" -defs["igSliderFloat4"][1]["location"] = "imgui:558" +defs["igSliderFloat4"][1]["location"] = "imgui:560" defs["igSliderFloat4"][1]["namespace"] = "ImGui" defs["igSliderFloat4"][1]["ov_cimguiname"] = "igSliderFloat4" defs["igSliderFloat4"][1]["ret"] = "bool" @@ -13310,7 +13630,7 @@ defs["igSliderInt"][1]["defaults"] = {} defs["igSliderInt"][1]["defaults"]["flags"] = "0" defs["igSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt"][1]["funcname"] = "SliderInt" -defs["igSliderInt"][1]["location"] = "imgui:560" +defs["igSliderInt"][1]["location"] = "imgui:562" defs["igSliderInt"][1]["namespace"] = "ImGui" defs["igSliderInt"][1]["ov_cimguiname"] = "igSliderInt" defs["igSliderInt"][1]["ret"] = "bool" @@ -13346,7 +13666,7 @@ defs["igSliderInt2"][1]["defaults"] = {} defs["igSliderInt2"][1]["defaults"]["flags"] = "0" defs["igSliderInt2"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt2"][1]["funcname"] = "SliderInt2" -defs["igSliderInt2"][1]["location"] = "imgui:561" +defs["igSliderInt2"][1]["location"] = "imgui:563" defs["igSliderInt2"][1]["namespace"] = "ImGui" defs["igSliderInt2"][1]["ov_cimguiname"] = "igSliderInt2" defs["igSliderInt2"][1]["ret"] = "bool" @@ -13382,7 +13702,7 @@ defs["igSliderInt3"][1]["defaults"] = {} defs["igSliderInt3"][1]["defaults"]["flags"] = "0" defs["igSliderInt3"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt3"][1]["funcname"] = "SliderInt3" -defs["igSliderInt3"][1]["location"] = "imgui:562" +defs["igSliderInt3"][1]["location"] = "imgui:564" defs["igSliderInt3"][1]["namespace"] = "ImGui" defs["igSliderInt3"][1]["ov_cimguiname"] = "igSliderInt3" defs["igSliderInt3"][1]["ret"] = "bool" @@ -13418,7 +13738,7 @@ defs["igSliderInt4"][1]["defaults"] = {} defs["igSliderInt4"][1]["defaults"]["flags"] = "0" defs["igSliderInt4"][1]["defaults"]["format"] = "\"%d\"" defs["igSliderInt4"][1]["funcname"] = "SliderInt4" -defs["igSliderInt4"][1]["location"] = "imgui:563" +defs["igSliderInt4"][1]["location"] = "imgui:565" defs["igSliderInt4"][1]["namespace"] = "ImGui" defs["igSliderInt4"][1]["ov_cimguiname"] = "igSliderInt4" defs["igSliderInt4"][1]["ret"] = "bool" @@ -13457,7 +13777,7 @@ defs["igSliderScalar"][1]["defaults"] = {} defs["igSliderScalar"][1]["defaults"]["flags"] = "0" defs["igSliderScalar"][1]["defaults"]["format"] = "NULL" defs["igSliderScalar"][1]["funcname"] = "SliderScalar" -defs["igSliderScalar"][1]["location"] = "imgui:564" +defs["igSliderScalar"][1]["location"] = "imgui:566" defs["igSliderScalar"][1]["namespace"] = "ImGui" defs["igSliderScalar"][1]["ov_cimguiname"] = "igSliderScalar" defs["igSliderScalar"][1]["ret"] = "bool" @@ -13499,7 +13819,7 @@ defs["igSliderScalarN"][1]["defaults"] = {} defs["igSliderScalarN"][1]["defaults"]["flags"] = "0" defs["igSliderScalarN"][1]["defaults"]["format"] = "NULL" defs["igSliderScalarN"][1]["funcname"] = "SliderScalarN" -defs["igSliderScalarN"][1]["location"] = "imgui:565" +defs["igSliderScalarN"][1]["location"] = "imgui:567" defs["igSliderScalarN"][1]["namespace"] = "ImGui" defs["igSliderScalarN"][1]["ov_cimguiname"] = "igSliderScalarN" defs["igSliderScalarN"][1]["ret"] = "bool" @@ -13518,7 +13838,7 @@ defs["igSmallButton"][1]["call_args"] = "(label)" defs["igSmallButton"][1]["cimguiname"] = "igSmallButton" defs["igSmallButton"][1]["defaults"] = {} defs["igSmallButton"][1]["funcname"] = "SmallButton" -defs["igSmallButton"][1]["location"] = "imgui:503" +defs["igSmallButton"][1]["location"] = "imgui:501" defs["igSmallButton"][1]["namespace"] = "ImGui" defs["igSmallButton"][1]["ov_cimguiname"] = "igSmallButton" defs["igSmallButton"][1]["ret"] = "bool" @@ -13534,7 +13854,7 @@ defs["igSpacing"][1]["call_args"] = "()" defs["igSpacing"][1]["cimguiname"] = "igSpacing" defs["igSpacing"][1]["defaults"] = {} defs["igSpacing"][1]["funcname"] = "Spacing" -defs["igSpacing"][1]["location"] = "imgui:443" +defs["igSpacing"][1]["location"] = "imgui:441" defs["igSpacing"][1]["namespace"] = "ImGui" defs["igSpacing"][1]["ov_cimguiname"] = "igSpacing" defs["igSpacing"][1]["ret"] = "void" @@ -13554,7 +13874,7 @@ defs["igStyleColorsClassic"][1]["cimguiname"] = "igStyleColorsClassic" defs["igStyleColorsClassic"][1]["defaults"] = {} defs["igStyleColorsClassic"][1]["defaults"]["dst"] = "NULL" defs["igStyleColorsClassic"][1]["funcname"] = "StyleColorsClassic" -defs["igStyleColorsClassic"][1]["location"] = "imgui:321" +defs["igStyleColorsClassic"][1]["location"] = "imgui:316" defs["igStyleColorsClassic"][1]["namespace"] = "ImGui" defs["igStyleColorsClassic"][1]["ov_cimguiname"] = "igStyleColorsClassic" defs["igStyleColorsClassic"][1]["ret"] = "void" @@ -13574,7 +13894,7 @@ defs["igStyleColorsDark"][1]["cimguiname"] = "igStyleColorsDark" defs["igStyleColorsDark"][1]["defaults"] = {} defs["igStyleColorsDark"][1]["defaults"]["dst"] = "NULL" defs["igStyleColorsDark"][1]["funcname"] = "StyleColorsDark" -defs["igStyleColorsDark"][1]["location"] = "imgui:319" +defs["igStyleColorsDark"][1]["location"] = "imgui:314" defs["igStyleColorsDark"][1]["namespace"] = "ImGui" defs["igStyleColorsDark"][1]["ov_cimguiname"] = "igStyleColorsDark" defs["igStyleColorsDark"][1]["ret"] = "void" @@ -13594,7 +13914,7 @@ defs["igStyleColorsLight"][1]["cimguiname"] = "igStyleColorsLight" defs["igStyleColorsLight"][1]["defaults"] = {} defs["igStyleColorsLight"][1]["defaults"]["dst"] = "NULL" defs["igStyleColorsLight"][1]["funcname"] = "StyleColorsLight" -defs["igStyleColorsLight"][1]["location"] = "imgui:320" +defs["igStyleColorsLight"][1]["location"] = "imgui:315" defs["igStyleColorsLight"][1]["namespace"] = "ImGui" defs["igStyleColorsLight"][1]["ov_cimguiname"] = "igStyleColorsLight" defs["igStyleColorsLight"][1]["ret"] = "void" @@ -13617,7 +13937,7 @@ defs["igTabItemButton"][1]["cimguiname"] = "igTabItemButton" defs["igTabItemButton"][1]["defaults"] = {} defs["igTabItemButton"][1]["defaults"]["flags"] = "0" defs["igTabItemButton"][1]["funcname"] = "TabItemButton" -defs["igTabItemButton"][1]["location"] = "imgui:791" +defs["igTabItemButton"][1]["location"] = "imgui:789" defs["igTabItemButton"][1]["namespace"] = "ImGui" defs["igTabItemButton"][1]["ov_cimguiname"] = "igTabItemButton" defs["igTabItemButton"][1]["ret"] = "bool" @@ -13633,7 +13953,7 @@ defs["igTableGetColumnCount"][1]["call_args"] = "()" defs["igTableGetColumnCount"][1]["cimguiname"] = "igTableGetColumnCount" defs["igTableGetColumnCount"][1]["defaults"] = {} defs["igTableGetColumnCount"][1]["funcname"] = "TableGetColumnCount" -defs["igTableGetColumnCount"][1]["location"] = "imgui:767" +defs["igTableGetColumnCount"][1]["location"] = "imgui:765" defs["igTableGetColumnCount"][1]["namespace"] = "ImGui" defs["igTableGetColumnCount"][1]["ov_cimguiname"] = "igTableGetColumnCount" defs["igTableGetColumnCount"][1]["ret"] = "int" @@ -13653,7 +13973,7 @@ defs["igTableGetColumnFlags"][1]["cimguiname"] = "igTableGetColumnFlags" defs["igTableGetColumnFlags"][1]["defaults"] = {} defs["igTableGetColumnFlags"][1]["defaults"]["column_n"] = "-1" defs["igTableGetColumnFlags"][1]["funcname"] = "TableGetColumnFlags" -defs["igTableGetColumnFlags"][1]["location"] = "imgui:771" +defs["igTableGetColumnFlags"][1]["location"] = "imgui:769" defs["igTableGetColumnFlags"][1]["namespace"] = "ImGui" defs["igTableGetColumnFlags"][1]["ov_cimguiname"] = "igTableGetColumnFlags" defs["igTableGetColumnFlags"][1]["ret"] = "ImGuiTableColumnFlags" @@ -13669,7 +13989,7 @@ defs["igTableGetColumnIndex"][1]["call_args"] = "()" defs["igTableGetColumnIndex"][1]["cimguiname"] = "igTableGetColumnIndex" defs["igTableGetColumnIndex"][1]["defaults"] = {} defs["igTableGetColumnIndex"][1]["funcname"] = "TableGetColumnIndex" -defs["igTableGetColumnIndex"][1]["location"] = "imgui:768" +defs["igTableGetColumnIndex"][1]["location"] = "imgui:766" defs["igTableGetColumnIndex"][1]["namespace"] = "ImGui" defs["igTableGetColumnIndex"][1]["ov_cimguiname"] = "igTableGetColumnIndex" defs["igTableGetColumnIndex"][1]["ret"] = "int" @@ -13689,7 +14009,7 @@ defs["igTableGetColumnName"][1]["cimguiname"] = "igTableGetColumnName" defs["igTableGetColumnName"][1]["defaults"] = {} defs["igTableGetColumnName"][1]["defaults"]["column_n"] = "-1" defs["igTableGetColumnName"][1]["funcname"] = "TableGetColumnName" -defs["igTableGetColumnName"][1]["location"] = "imgui:770" +defs["igTableGetColumnName"][1]["location"] = "imgui:768" defs["igTableGetColumnName"][1]["namespace"] = "ImGui" defs["igTableGetColumnName"][1]["ov_cimguiname"] = "igTableGetColumnName" defs["igTableGetColumnName"][1]["ret"] = "const char*" @@ -13705,7 +14025,7 @@ defs["igTableGetRowIndex"][1]["call_args"] = "()" defs["igTableGetRowIndex"][1]["cimguiname"] = "igTableGetRowIndex" defs["igTableGetRowIndex"][1]["defaults"] = {} defs["igTableGetRowIndex"][1]["funcname"] = "TableGetRowIndex" -defs["igTableGetRowIndex"][1]["location"] = "imgui:769" +defs["igTableGetRowIndex"][1]["location"] = "imgui:767" defs["igTableGetRowIndex"][1]["namespace"] = "ImGui" defs["igTableGetRowIndex"][1]["ov_cimguiname"] = "igTableGetRowIndex" defs["igTableGetRowIndex"][1]["ret"] = "int" @@ -13721,7 +14041,7 @@ defs["igTableGetSortSpecs"][1]["call_args"] = "()" defs["igTableGetSortSpecs"][1]["cimguiname"] = "igTableGetSortSpecs" defs["igTableGetSortSpecs"][1]["defaults"] = {} defs["igTableGetSortSpecs"][1]["funcname"] = "TableGetSortSpecs" -defs["igTableGetSortSpecs"][1]["location"] = "imgui:763" +defs["igTableGetSortSpecs"][1]["location"] = "imgui:764" defs["igTableGetSortSpecs"][1]["namespace"] = "ImGui" defs["igTableGetSortSpecs"][1]["ov_cimguiname"] = "igTableGetSortSpecs" defs["igTableGetSortSpecs"][1]["ret"] = "ImGuiTableSortSpecs*" @@ -13740,7 +14060,7 @@ defs["igTableHeader"][1]["call_args"] = "(label)" defs["igTableHeader"][1]["cimguiname"] = "igTableHeader" defs["igTableHeader"][1]["defaults"] = {} defs["igTableHeader"][1]["funcname"] = "TableHeader" -defs["igTableHeader"][1]["location"] = "imgui:755" +defs["igTableHeader"][1]["location"] = "imgui:756" defs["igTableHeader"][1]["namespace"] = "ImGui" defs["igTableHeader"][1]["ov_cimguiname"] = "igTableHeader" defs["igTableHeader"][1]["ret"] = "void" @@ -13756,7 +14076,7 @@ defs["igTableHeadersRow"][1]["call_args"] = "()" defs["igTableHeadersRow"][1]["cimguiname"] = "igTableHeadersRow" defs["igTableHeadersRow"][1]["defaults"] = {} defs["igTableHeadersRow"][1]["funcname"] = "TableHeadersRow" -defs["igTableHeadersRow"][1]["location"] = "imgui:754" +defs["igTableHeadersRow"][1]["location"] = "imgui:755" defs["igTableHeadersRow"][1]["namespace"] = "ImGui" defs["igTableHeadersRow"][1]["ov_cimguiname"] = "igTableHeadersRow" defs["igTableHeadersRow"][1]["ret"] = "void" @@ -13772,7 +14092,7 @@ defs["igTableNextColumn"][1]["call_args"] = "()" defs["igTableNextColumn"][1]["cimguiname"] = "igTableNextColumn" defs["igTableNextColumn"][1]["defaults"] = {} defs["igTableNextColumn"][1]["funcname"] = "TableNextColumn" -defs["igTableNextColumn"][1]["location"] = "imgui:741" +defs["igTableNextColumn"][1]["location"] = "imgui:742" defs["igTableNextColumn"][1]["namespace"] = "ImGui" defs["igTableNextColumn"][1]["ov_cimguiname"] = "igTableNextColumn" defs["igTableNextColumn"][1]["ret"] = "bool" @@ -13796,7 +14116,7 @@ defs["igTableNextRow"][1]["defaults"] = {} defs["igTableNextRow"][1]["defaults"]["min_row_height"] = "0.0f" defs["igTableNextRow"][1]["defaults"]["row_flags"] = "0" defs["igTableNextRow"][1]["funcname"] = "TableNextRow" -defs["igTableNextRow"][1]["location"] = "imgui:740" +defs["igTableNextRow"][1]["location"] = "imgui:741" defs["igTableNextRow"][1]["namespace"] = "ImGui" defs["igTableNextRow"][1]["ov_cimguiname"] = "igTableNextRow" defs["igTableNextRow"][1]["ret"] = "void" @@ -13822,7 +14142,7 @@ defs["igTableSetBgColor"][1]["cimguiname"] = "igTableSetBgColor" defs["igTableSetBgColor"][1]["defaults"] = {} defs["igTableSetBgColor"][1]["defaults"]["column_n"] = "-1" defs["igTableSetBgColor"][1]["funcname"] = "TableSetBgColor" -defs["igTableSetBgColor"][1]["location"] = "imgui:773" +defs["igTableSetBgColor"][1]["location"] = "imgui:771" defs["igTableSetBgColor"][1]["namespace"] = "ImGui" defs["igTableSetBgColor"][1]["ov_cimguiname"] = "igTableSetBgColor" defs["igTableSetBgColor"][1]["ret"] = "void" @@ -13844,7 +14164,7 @@ defs["igTableSetColumnEnabled"][1]["call_args"] = "(column_n,v)" defs["igTableSetColumnEnabled"][1]["cimguiname"] = "igTableSetColumnEnabled" defs["igTableSetColumnEnabled"][1]["defaults"] = {} defs["igTableSetColumnEnabled"][1]["funcname"] = "TableSetColumnEnabled" -defs["igTableSetColumnEnabled"][1]["location"] = "imgui:772" +defs["igTableSetColumnEnabled"][1]["location"] = "imgui:770" defs["igTableSetColumnEnabled"][1]["namespace"] = "ImGui" defs["igTableSetColumnEnabled"][1]["ov_cimguiname"] = "igTableSetColumnEnabled" defs["igTableSetColumnEnabled"][1]["ret"] = "void" @@ -13863,7 +14183,7 @@ defs["igTableSetColumnIndex"][1]["call_args"] = "(column_n)" defs["igTableSetColumnIndex"][1]["cimguiname"] = "igTableSetColumnIndex" defs["igTableSetColumnIndex"][1]["defaults"] = {} defs["igTableSetColumnIndex"][1]["funcname"] = "TableSetColumnIndex" -defs["igTableSetColumnIndex"][1]["location"] = "imgui:742" +defs["igTableSetColumnIndex"][1]["location"] = "imgui:743" defs["igTableSetColumnIndex"][1]["namespace"] = "ImGui" defs["igTableSetColumnIndex"][1]["ov_cimguiname"] = "igTableSetColumnIndex" defs["igTableSetColumnIndex"][1]["ret"] = "bool" @@ -13894,7 +14214,7 @@ defs["igTableSetupColumn"][1]["defaults"]["flags"] = "0" defs["igTableSetupColumn"][1]["defaults"]["init_width_or_weight"] = "0.0f" defs["igTableSetupColumn"][1]["defaults"]["user_id"] = "0" defs["igTableSetupColumn"][1]["funcname"] = "TableSetupColumn" -defs["igTableSetupColumn"][1]["location"] = "imgui:752" +defs["igTableSetupColumn"][1]["location"] = "imgui:753" defs["igTableSetupColumn"][1]["namespace"] = "ImGui" defs["igTableSetupColumn"][1]["ov_cimguiname"] = "igTableSetupColumn" defs["igTableSetupColumn"][1]["ret"] = "void" @@ -13916,7 +14236,7 @@ defs["igTableSetupScrollFreeze"][1]["call_args"] = "(cols,rows)" defs["igTableSetupScrollFreeze"][1]["cimguiname"] = "igTableSetupScrollFreeze" defs["igTableSetupScrollFreeze"][1]["defaults"] = {} defs["igTableSetupScrollFreeze"][1]["funcname"] = "TableSetupScrollFreeze" -defs["igTableSetupScrollFreeze"][1]["location"] = "imgui:753" +defs["igTableSetupScrollFreeze"][1]["location"] = "imgui:754" defs["igTableSetupScrollFreeze"][1]["namespace"] = "ImGui" defs["igTableSetupScrollFreeze"][1]["ov_cimguiname"] = "igTableSetupScrollFreeze" defs["igTableSetupScrollFreeze"][1]["ret"] = "void" @@ -13939,7 +14259,7 @@ defs["igText"][1]["cimguiname"] = "igText" defs["igText"][1]["defaults"] = {} defs["igText"][1]["funcname"] = "Text" defs["igText"][1]["isvararg"] = "...)" -defs["igText"][1]["location"] = "imgui:486" +defs["igText"][1]["location"] = "imgui:484" defs["igText"][1]["namespace"] = "ImGui" defs["igText"][1]["ov_cimguiname"] = "igText" defs["igText"][1]["ret"] = "void" @@ -13965,7 +14285,7 @@ defs["igTextColored"][1]["cimguiname"] = "igTextColored" defs["igTextColored"][1]["defaults"] = {} defs["igTextColored"][1]["funcname"] = "TextColored" defs["igTextColored"][1]["isvararg"] = "...)" -defs["igTextColored"][1]["location"] = "imgui:488" +defs["igTextColored"][1]["location"] = "imgui:486" defs["igTextColored"][1]["namespace"] = "ImGui" defs["igTextColored"][1]["ov_cimguiname"] = "igTextColored" defs["igTextColored"][1]["ret"] = "void" @@ -13990,7 +14310,7 @@ defs["igTextColoredV"][1]["call_args"] = "(col,fmt,args)" defs["igTextColoredV"][1]["cimguiname"] = "igTextColoredV" defs["igTextColoredV"][1]["defaults"] = {} defs["igTextColoredV"][1]["funcname"] = "TextColoredV" -defs["igTextColoredV"][1]["location"] = "imgui:489" +defs["igTextColoredV"][1]["location"] = "imgui:487" defs["igTextColoredV"][1]["namespace"] = "ImGui" defs["igTextColoredV"][1]["ov_cimguiname"] = "igTextColoredV" defs["igTextColoredV"][1]["ret"] = "void" @@ -14013,7 +14333,7 @@ defs["igTextDisabled"][1]["cimguiname"] = "igTextDisabled" defs["igTextDisabled"][1]["defaults"] = {} defs["igTextDisabled"][1]["funcname"] = "TextDisabled" defs["igTextDisabled"][1]["isvararg"] = "...)" -defs["igTextDisabled"][1]["location"] = "imgui:490" +defs["igTextDisabled"][1]["location"] = "imgui:488" defs["igTextDisabled"][1]["namespace"] = "ImGui" defs["igTextDisabled"][1]["ov_cimguiname"] = "igTextDisabled" defs["igTextDisabled"][1]["ret"] = "void" @@ -14035,7 +14355,7 @@ defs["igTextDisabledV"][1]["call_args"] = "(fmt,args)" defs["igTextDisabledV"][1]["cimguiname"] = "igTextDisabledV" defs["igTextDisabledV"][1]["defaults"] = {} defs["igTextDisabledV"][1]["funcname"] = "TextDisabledV" -defs["igTextDisabledV"][1]["location"] = "imgui:491" +defs["igTextDisabledV"][1]["location"] = "imgui:489" defs["igTextDisabledV"][1]["namespace"] = "ImGui" defs["igTextDisabledV"][1]["ov_cimguiname"] = "igTextDisabledV" defs["igTextDisabledV"][1]["ret"] = "void" @@ -14058,7 +14378,7 @@ defs["igTextUnformatted"][1]["cimguiname"] = "igTextUnformatted" defs["igTextUnformatted"][1]["defaults"] = {} defs["igTextUnformatted"][1]["defaults"]["text_end"] = "NULL" defs["igTextUnformatted"][1]["funcname"] = "TextUnformatted" -defs["igTextUnformatted"][1]["location"] = "imgui:485" +defs["igTextUnformatted"][1]["location"] = "imgui:483" defs["igTextUnformatted"][1]["namespace"] = "ImGui" defs["igTextUnformatted"][1]["ov_cimguiname"] = "igTextUnformatted" defs["igTextUnformatted"][1]["ret"] = "void" @@ -14080,7 +14400,7 @@ defs["igTextV"][1]["call_args"] = "(fmt,args)" defs["igTextV"][1]["cimguiname"] = "igTextV" defs["igTextV"][1]["defaults"] = {} defs["igTextV"][1]["funcname"] = "TextV" -defs["igTextV"][1]["location"] = "imgui:487" +defs["igTextV"][1]["location"] = "imgui:485" defs["igTextV"][1]["namespace"] = "ImGui" defs["igTextV"][1]["ov_cimguiname"] = "igTextV" defs["igTextV"][1]["ret"] = "void" @@ -14103,7 +14423,7 @@ defs["igTextWrapped"][1]["cimguiname"] = "igTextWrapped" defs["igTextWrapped"][1]["defaults"] = {} defs["igTextWrapped"][1]["funcname"] = "TextWrapped" defs["igTextWrapped"][1]["isvararg"] = "...)" -defs["igTextWrapped"][1]["location"] = "imgui:492" +defs["igTextWrapped"][1]["location"] = "imgui:490" defs["igTextWrapped"][1]["namespace"] = "ImGui" defs["igTextWrapped"][1]["ov_cimguiname"] = "igTextWrapped" defs["igTextWrapped"][1]["ret"] = "void" @@ -14125,7 +14445,7 @@ defs["igTextWrappedV"][1]["call_args"] = "(fmt,args)" defs["igTextWrappedV"][1]["cimguiname"] = "igTextWrappedV" defs["igTextWrappedV"][1]["defaults"] = {} defs["igTextWrappedV"][1]["funcname"] = "TextWrappedV" -defs["igTextWrappedV"][1]["location"] = "imgui:493" +defs["igTextWrappedV"][1]["location"] = "imgui:491" defs["igTextWrappedV"][1]["namespace"] = "ImGui" defs["igTextWrappedV"][1]["ov_cimguiname"] = "igTextWrappedV" defs["igTextWrappedV"][1]["ret"] = "void" @@ -14144,9 +14464,9 @@ defs["igTreeNode"][1]["call_args"] = "(label)" defs["igTreeNode"][1]["cimguiname"] = "igTreeNode" defs["igTreeNode"][1]["defaults"] = {} defs["igTreeNode"][1]["funcname"] = "TreeNode" -defs["igTreeNode"][1]["location"] = "imgui:600" +defs["igTreeNode"][1]["location"] = "imgui:602" defs["igTreeNode"][1]["namespace"] = "ImGui" -defs["igTreeNode"][1]["ov_cimguiname"] = "igTreeNodeStr" +defs["igTreeNode"][1]["ov_cimguiname"] = "igTreeNode_Str" defs["igTreeNode"][1]["ret"] = "bool" defs["igTreeNode"][1]["signature"] = "(const char*)" defs["igTreeNode"][1]["stname"] = "" @@ -14168,9 +14488,9 @@ defs["igTreeNode"][2]["cimguiname"] = "igTreeNode" defs["igTreeNode"][2]["defaults"] = {} defs["igTreeNode"][2]["funcname"] = "TreeNode" defs["igTreeNode"][2]["isvararg"] = "...)" -defs["igTreeNode"][2]["location"] = "imgui:601" +defs["igTreeNode"][2]["location"] = "imgui:603" defs["igTreeNode"][2]["namespace"] = "ImGui" -defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNodeStrStr" +defs["igTreeNode"][2]["ov_cimguiname"] = "igTreeNode_StrStr" defs["igTreeNode"][2]["ret"] = "bool" defs["igTreeNode"][2]["signature"] = "(const char*,const char*,...)" defs["igTreeNode"][2]["stname"] = "" @@ -14192,9 +14512,9 @@ defs["igTreeNode"][3]["cimguiname"] = "igTreeNode" defs["igTreeNode"][3]["defaults"] = {} defs["igTreeNode"][3]["funcname"] = "TreeNode" defs["igTreeNode"][3]["isvararg"] = "...)" -defs["igTreeNode"][3]["location"] = "imgui:602" +defs["igTreeNode"][3]["location"] = "imgui:604" defs["igTreeNode"][3]["namespace"] = "ImGui" -defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNodePtr" +defs["igTreeNode"][3]["ov_cimguiname"] = "igTreeNode_Ptr" defs["igTreeNode"][3]["ret"] = "bool" defs["igTreeNode"][3]["signature"] = "(const void*,const char*,...)" defs["igTreeNode"][3]["stname"] = "" @@ -14217,9 +14537,9 @@ defs["igTreeNodeEx"][1]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"][1]["defaults"] = {} defs["igTreeNodeEx"][1]["defaults"]["flags"] = "0" defs["igTreeNodeEx"][1]["funcname"] = "TreeNodeEx" -defs["igTreeNodeEx"][1]["location"] = "imgui:605" +defs["igTreeNodeEx"][1]["location"] = "imgui:607" defs["igTreeNodeEx"][1]["namespace"] = "ImGui" -defs["igTreeNodeEx"][1]["ov_cimguiname"] = "igTreeNodeExStr" +defs["igTreeNodeEx"][1]["ov_cimguiname"] = "igTreeNodeEx_Str" defs["igTreeNodeEx"][1]["ret"] = "bool" defs["igTreeNodeEx"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags)" defs["igTreeNodeEx"][1]["stname"] = "" @@ -14244,9 +14564,9 @@ defs["igTreeNodeEx"][2]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"][2]["defaults"] = {} defs["igTreeNodeEx"][2]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][2]["isvararg"] = "...)" -defs["igTreeNodeEx"][2]["location"] = "imgui:606" +defs["igTreeNodeEx"][2]["location"] = "imgui:608" defs["igTreeNodeEx"][2]["namespace"] = "ImGui" -defs["igTreeNodeEx"][2]["ov_cimguiname"] = "igTreeNodeExStrStr" +defs["igTreeNodeEx"][2]["ov_cimguiname"] = "igTreeNodeEx_StrStr" defs["igTreeNodeEx"][2]["ret"] = "bool" defs["igTreeNodeEx"][2]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,...)" defs["igTreeNodeEx"][2]["stname"] = "" @@ -14271,9 +14591,9 @@ defs["igTreeNodeEx"][3]["cimguiname"] = "igTreeNodeEx" defs["igTreeNodeEx"][3]["defaults"] = {} defs["igTreeNodeEx"][3]["funcname"] = "TreeNodeEx" defs["igTreeNodeEx"][3]["isvararg"] = "...)" -defs["igTreeNodeEx"][3]["location"] = "imgui:607" +defs["igTreeNodeEx"][3]["location"] = "imgui:609" defs["igTreeNodeEx"][3]["namespace"] = "ImGui" -defs["igTreeNodeEx"][3]["ov_cimguiname"] = "igTreeNodeExPtr" +defs["igTreeNodeEx"][3]["ov_cimguiname"] = "igTreeNodeEx_Ptr" defs["igTreeNodeEx"][3]["ret"] = "bool" defs["igTreeNodeEx"][3]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,...)" defs["igTreeNodeEx"][3]["stname"] = "" @@ -14301,9 +14621,9 @@ defs["igTreeNodeExV"][1]["call_args"] = "(str_id,flags,fmt,args)" defs["igTreeNodeExV"][1]["cimguiname"] = "igTreeNodeExV" defs["igTreeNodeExV"][1]["defaults"] = {} defs["igTreeNodeExV"][1]["funcname"] = "TreeNodeExV" -defs["igTreeNodeExV"][1]["location"] = "imgui:608" +defs["igTreeNodeExV"][1]["location"] = "imgui:610" defs["igTreeNodeExV"][1]["namespace"] = "ImGui" -defs["igTreeNodeExV"][1]["ov_cimguiname"] = "igTreeNodeExVStr" +defs["igTreeNodeExV"][1]["ov_cimguiname"] = "igTreeNodeExV_Str" defs["igTreeNodeExV"][1]["ret"] = "bool" defs["igTreeNodeExV"][1]["signature"] = "(const char*,ImGuiTreeNodeFlags,const char*,va_list)" defs["igTreeNodeExV"][1]["stname"] = "" @@ -14327,9 +14647,9 @@ defs["igTreeNodeExV"][2]["call_args"] = "(ptr_id,flags,fmt,args)" defs["igTreeNodeExV"][2]["cimguiname"] = "igTreeNodeExV" defs["igTreeNodeExV"][2]["defaults"] = {} defs["igTreeNodeExV"][2]["funcname"] = "TreeNodeExV" -defs["igTreeNodeExV"][2]["location"] = "imgui:609" +defs["igTreeNodeExV"][2]["location"] = "imgui:611" defs["igTreeNodeExV"][2]["namespace"] = "ImGui" -defs["igTreeNodeExV"][2]["ov_cimguiname"] = "igTreeNodeExVPtr" +defs["igTreeNodeExV"][2]["ov_cimguiname"] = "igTreeNodeExV_Ptr" defs["igTreeNodeExV"][2]["ret"] = "bool" defs["igTreeNodeExV"][2]["signature"] = "(const void*,ImGuiTreeNodeFlags,const char*,va_list)" defs["igTreeNodeExV"][2]["stname"] = "" @@ -14353,9 +14673,9 @@ defs["igTreeNodeV"][1]["call_args"] = "(str_id,fmt,args)" defs["igTreeNodeV"][1]["cimguiname"] = "igTreeNodeV" defs["igTreeNodeV"][1]["defaults"] = {} defs["igTreeNodeV"][1]["funcname"] = "TreeNodeV" -defs["igTreeNodeV"][1]["location"] = "imgui:603" +defs["igTreeNodeV"][1]["location"] = "imgui:605" defs["igTreeNodeV"][1]["namespace"] = "ImGui" -defs["igTreeNodeV"][1]["ov_cimguiname"] = "igTreeNodeVStr" +defs["igTreeNodeV"][1]["ov_cimguiname"] = "igTreeNodeV_Str" defs["igTreeNodeV"][1]["ret"] = "bool" defs["igTreeNodeV"][1]["signature"] = "(const char*,const char*,va_list)" defs["igTreeNodeV"][1]["stname"] = "" @@ -14376,9 +14696,9 @@ defs["igTreeNodeV"][2]["call_args"] = "(ptr_id,fmt,args)" defs["igTreeNodeV"][2]["cimguiname"] = "igTreeNodeV" defs["igTreeNodeV"][2]["defaults"] = {} defs["igTreeNodeV"][2]["funcname"] = "TreeNodeV" -defs["igTreeNodeV"][2]["location"] = "imgui:604" +defs["igTreeNodeV"][2]["location"] = "imgui:606" defs["igTreeNodeV"][2]["namespace"] = "ImGui" -defs["igTreeNodeV"][2]["ov_cimguiname"] = "igTreeNodeVPtr" +defs["igTreeNodeV"][2]["ov_cimguiname"] = "igTreeNodeV_Ptr" defs["igTreeNodeV"][2]["ret"] = "bool" defs["igTreeNodeV"][2]["signature"] = "(const void*,const char*,va_list)" defs["igTreeNodeV"][2]["stname"] = "" @@ -14393,7 +14713,7 @@ defs["igTreePop"][1]["call_args"] = "()" defs["igTreePop"][1]["cimguiname"] = "igTreePop" defs["igTreePop"][1]["defaults"] = {} defs["igTreePop"][1]["funcname"] = "TreePop" -defs["igTreePop"][1]["location"] = "imgui:612" +defs["igTreePop"][1]["location"] = "imgui:614" defs["igTreePop"][1]["namespace"] = "ImGui" defs["igTreePop"][1]["ov_cimguiname"] = "igTreePop" defs["igTreePop"][1]["ret"] = "void" @@ -14412,9 +14732,9 @@ defs["igTreePush"][1]["call_args"] = "(str_id)" defs["igTreePush"][1]["cimguiname"] = "igTreePush" defs["igTreePush"][1]["defaults"] = {} defs["igTreePush"][1]["funcname"] = "TreePush" -defs["igTreePush"][1]["location"] = "imgui:610" +defs["igTreePush"][1]["location"] = "imgui:612" defs["igTreePush"][1]["namespace"] = "ImGui" -defs["igTreePush"][1]["ov_cimguiname"] = "igTreePushStr" +defs["igTreePush"][1]["ov_cimguiname"] = "igTreePush_Str" defs["igTreePush"][1]["ret"] = "void" defs["igTreePush"][1]["signature"] = "(const char*)" defs["igTreePush"][1]["stname"] = "" @@ -14424,15 +14744,14 @@ defs["igTreePush"][2]["argsT"] = {} defs["igTreePush"][2]["argsT"][1] = {} defs["igTreePush"][2]["argsT"][1]["name"] = "ptr_id" defs["igTreePush"][2]["argsT"][1]["type"] = "const void*" -defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id=((void*)0))" +defs["igTreePush"][2]["argsoriginal"] = "(const void* ptr_id)" defs["igTreePush"][2]["call_args"] = "(ptr_id)" defs["igTreePush"][2]["cimguiname"] = "igTreePush" defs["igTreePush"][2]["defaults"] = {} -defs["igTreePush"][2]["defaults"]["ptr_id"] = "NULL" defs["igTreePush"][2]["funcname"] = "TreePush" -defs["igTreePush"][2]["location"] = "imgui:611" +defs["igTreePush"][2]["location"] = "imgui:613" defs["igTreePush"][2]["namespace"] = "ImGui" -defs["igTreePush"][2]["ov_cimguiname"] = "igTreePushPtr" +defs["igTreePush"][2]["ov_cimguiname"] = "igTreePush_Ptr" defs["igTreePush"][2]["ret"] = "void" defs["igTreePush"][2]["signature"] = "(const void*)" defs["igTreePush"][2]["stname"] = "" @@ -14451,7 +14770,7 @@ defs["igUnindent"][1]["cimguiname"] = "igUnindent" defs["igUnindent"][1]["defaults"] = {} defs["igUnindent"][1]["defaults"]["indent_w"] = "0.0f" defs["igUnindent"][1]["funcname"] = "Unindent" -defs["igUnindent"][1]["location"] = "imgui:446" +defs["igUnindent"][1]["location"] = "imgui:444" defs["igUnindent"][1]["namespace"] = "ImGui" defs["igUnindent"][1]["ov_cimguiname"] = "igUnindent" defs["igUnindent"][1]["ret"] = "void" @@ -14490,7 +14809,7 @@ defs["igVSliderFloat"][1]["defaults"] = {} defs["igVSliderFloat"][1]["defaults"]["flags"] = "0" defs["igVSliderFloat"][1]["defaults"]["format"] = "\"%.3f\"" defs["igVSliderFloat"][1]["funcname"] = "VSliderFloat" -defs["igVSliderFloat"][1]["location"] = "imgui:566" +defs["igVSliderFloat"][1]["location"] = "imgui:568" defs["igVSliderFloat"][1]["namespace"] = "ImGui" defs["igVSliderFloat"][1]["ov_cimguiname"] = "igVSliderFloat" defs["igVSliderFloat"][1]["ret"] = "bool" @@ -14529,7 +14848,7 @@ defs["igVSliderInt"][1]["defaults"] = {} defs["igVSliderInt"][1]["defaults"]["flags"] = "0" defs["igVSliderInt"][1]["defaults"]["format"] = "\"%d\"" defs["igVSliderInt"][1]["funcname"] = "VSliderInt" -defs["igVSliderInt"][1]["location"] = "imgui:567" +defs["igVSliderInt"][1]["location"] = "imgui:569" defs["igVSliderInt"][1]["namespace"] = "ImGui" defs["igVSliderInt"][1]["ov_cimguiname"] = "igVSliderInt" defs["igVSliderInt"][1]["ret"] = "bool" @@ -14571,7 +14890,7 @@ defs["igVSliderScalar"][1]["defaults"] = {} defs["igVSliderScalar"][1]["defaults"]["flags"] = "0" defs["igVSliderScalar"][1]["defaults"]["format"] = "NULL" defs["igVSliderScalar"][1]["funcname"] = "VSliderScalar" -defs["igVSliderScalar"][1]["location"] = "imgui:568" +defs["igVSliderScalar"][1]["location"] = "imgui:570" defs["igVSliderScalar"][1]["namespace"] = "ImGui" defs["igVSliderScalar"][1]["ov_cimguiname"] = "igVSliderScalar" defs["igVSliderScalar"][1]["ret"] = "bool" @@ -14593,9 +14912,9 @@ defs["igValue"][1]["call_args"] = "(prefix,b)" defs["igValue"][1]["cimguiname"] = "igValue" defs["igValue"][1]["defaults"] = {} defs["igValue"][1]["funcname"] = "Value" -defs["igValue"][1]["location"] = "imgui:644" +defs["igValue"][1]["location"] = "imgui:646" defs["igValue"][1]["namespace"] = "ImGui" -defs["igValue"][1]["ov_cimguiname"] = "igValueBool" +defs["igValue"][1]["ov_cimguiname"] = "igValue_Bool" defs["igValue"][1]["ret"] = "void" defs["igValue"][1]["signature"] = "(const char*,bool)" defs["igValue"][1]["stname"] = "" @@ -14613,9 +14932,9 @@ defs["igValue"][2]["call_args"] = "(prefix,v)" defs["igValue"][2]["cimguiname"] = "igValue" defs["igValue"][2]["defaults"] = {} defs["igValue"][2]["funcname"] = "Value" -defs["igValue"][2]["location"] = "imgui:645" +defs["igValue"][2]["location"] = "imgui:647" defs["igValue"][2]["namespace"] = "ImGui" -defs["igValue"][2]["ov_cimguiname"] = "igValueInt" +defs["igValue"][2]["ov_cimguiname"] = "igValue_Int" defs["igValue"][2]["ret"] = "void" defs["igValue"][2]["signature"] = "(const char*,int)" defs["igValue"][2]["stname"] = "" @@ -14633,9 +14952,9 @@ defs["igValue"][3]["call_args"] = "(prefix,v)" defs["igValue"][3]["cimguiname"] = "igValue" defs["igValue"][3]["defaults"] = {} defs["igValue"][3]["funcname"] = "Value" -defs["igValue"][3]["location"] = "imgui:646" +defs["igValue"][3]["location"] = "imgui:648" defs["igValue"][3]["namespace"] = "ImGui" -defs["igValue"][3]["ov_cimguiname"] = "igValueUint" +defs["igValue"][3]["ov_cimguiname"] = "igValue_Uint" defs["igValue"][3]["ret"] = "void" defs["igValue"][3]["signature"] = "(const char*,unsigned int)" defs["igValue"][3]["stname"] = "" @@ -14657,9 +14976,9 @@ defs["igValue"][4]["cimguiname"] = "igValue" defs["igValue"][4]["defaults"] = {} defs["igValue"][4]["defaults"]["float_format"] = "NULL" defs["igValue"][4]["funcname"] = "Value" -defs["igValue"][4]["location"] = "imgui:647" +defs["igValue"][4]["location"] = "imgui:649" defs["igValue"][4]["namespace"] = "ImGui" -defs["igValue"][4]["ov_cimguiname"] = "igValueFloat" +defs["igValue"][4]["ov_cimguiname"] = "igValue_Float" defs["igValue"][4]["ret"] = "void" defs["igValue"][4]["signature"] = "(const char*,float,const char*)" defs["igValue"][4]["stname"] = "" diff --git a/imgui-sys/third-party/imgui-master/imgui/LICENSE.txt b/imgui-sys/third-party/imgui-master/imgui/LICENSE.txt index 780533d..4023e0c 100644 --- a/imgui-sys/third-party/imgui-master/imgui/LICENSE.txt +++ b/imgui-sys/third-party/imgui-master/imgui/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2021 Omar Cornut +Copyright (c) 2014-2022 Omar Cornut Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/imgui-sys/third-party/imgui-master/imgui/imconfig.h b/imgui-sys/third-party/imgui-master/imgui/imconfig.h index 7082c55..ed26508 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imconfig.h +++ b/imgui-sys/third-party/imgui-master/imgui/imconfig.h @@ -28,12 +28,13 @@ //---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names. //#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS +//#define IMGUI_DISABLE_OBSOLETE_KEYIO // 1.87: disable legacy io.KeyMap[]+io.KeysDown[] in favor io.AddKeyEvent(). This will be folded into IMGUI_DISABLE_OBSOLETE_FUNCTIONS in a few versions. -//---- Disable all of Dear ImGui or don't implement standard windows. -// It is very strongly recommended to NOT disable the demo windows during development. Please read comments in imgui_demo.cpp. +//---- Disable all of Dear ImGui or don't implement standard windows/tools. +// It is very strongly recommended to NOT disable the demo windows and debug tool during development. They are extremely useful in day to day work. Please read comments in imgui_demo.cpp. //#define IMGUI_DISABLE // Disable everything: all headers and source files will be empty. -//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. Not recommended. -//#define IMGUI_DISABLE_METRICS_WINDOW // Disable metrics/debugger and other debug tools: ShowMetricsWindow() and ShowStackToolWindow() will be empty. +//#define IMGUI_DISABLE_DEMO_WINDOWS // Disable demo windows: ShowDemoWindow()/ShowStyleEditor() will be empty. +//#define IMGUI_DISABLE_DEBUG_TOOLS // Disable metrics/debugger and other debug tools: ShowMetricsWindow(), ShowDebugLogWindow() and ShowStackToolWindow() will be empty (this was called IMGUI_DISABLE_METRICS_WINDOW before 1.88). //---- Don't implement some functions to reduce linkage requirements. //#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS // [Win32] Don't implement default clipboard handler. Won't use and link with OpenClipboard/GetClipboardData/CloseClipboard etc. (user32.lib/.a, kernel32.lib/.a) @@ -61,12 +62,13 @@ // By default the embedded implementations are declared static and not available outside of Dear ImGui sources files. //#define IMGUI_STB_TRUETYPE_FILENAME "my_folder/stb_truetype.h" //#define IMGUI_STB_RECT_PACK_FILENAME "my_folder/stb_rect_pack.h" +//#define IMGUI_STB_SPRINTF_FILENAME "my_folder/stb_sprintf.h" // only used if enabled //#define IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION //#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION -//---- Use stb_printf's faster implementation of vsnprintf instead of the one from libc (unless IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS is defined) -// Requires 'stb_sprintf.h' to be available in the include path. Compatibility checks of arguments and formats done by clang and GCC will be disabled in order to support the extra formats provided by STB sprintf. -// #define IMGUI_USE_STB_SPRINTF +//---- Use stb_sprintf.h for a faster implementation of vsnprintf instead of the one from libc (unless IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS is defined) +// Compatibility checks of arguments and formats done by clang and GCC will be disabled in order to support the extra formats provided by stb_sprintf.h. +//#define IMGUI_USE_STB_SPRINTF //---- Use FreeType to build and rasterize the font atlas (instead of stb_truetype which is embedded by default in Dear ImGui) // Requires FreeType headers to be available in the include path. Requires program to be compiled with 'misc/freetype/imgui_freetype.cpp' (in this repository) + the FreeType library (not provided). @@ -80,12 +82,12 @@ //---- Define constructor and implicit cast operators to convert back<>forth between your math types and ImVec2/ImVec4. // This will be inlined as part of ImVec2 and ImVec4 class declarations. /* -#define IM_VEC2_CLASS_EXTRA \ - ImVec2(const MyVec2& f) { x = f.x; y = f.y; } \ +#define IM_VEC2_CLASS_EXTRA \ + constexpr ImVec2(const MyVec2& f) : x(f.x), y(f.y) {} \ operator MyVec2() const { return MyVec2(x,y); } -#define IM_VEC4_CLASS_EXTRA \ - ImVec4(const MyVec4& f) { x = f.x; y = f.y; z = f.z; w = f.w; } \ +#define IM_VEC4_CLASS_EXTRA \ + constexpr ImVec4(const MyVec4& f) : x(f.x), y(f.y), z(f.z), w(f.w) {} \ operator MyVec4() const { return MyVec4(x,y,z,w); } */ @@ -106,11 +108,6 @@ //#define IM_DEBUG_BREAK IM_ASSERT(0) //#define IM_DEBUG_BREAK __debugbreak() -//---- Debug Tools: Have the Item Picker break in the ItemAdd() function instead of ItemHoverable(), -// (which comes earlier in the code, will catch a few extra items, allow picking items other than Hovered one.) -// This adds a small runtime cost which is why it is not enabled by default. -//#define IMGUI_DEBUG_TOOL_ITEM_PICKER_EX - //---- Debug Tools: Enable slower asserts //#define IMGUI_DEBUG_PARANOID diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui.cpp b/imgui-sys/third-party/imgui-master/imgui/imgui.cpp index d7653d4..d179039 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui.cpp +++ b/imgui-sys/third-party/imgui-master/imgui/imgui.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (main code and documentation) // Help: @@ -11,7 +11,7 @@ // - FAQ http://dearimgui.org/faq // - Homepage & latest https://github.com/ocornut/imgui // - Releases & changelog https://github.com/ocornut/imgui/releases -// - Gallery https://github.com/ocornut/imgui/issues/4451 (please post your screenshots/video there!) +// - Gallery https://github.com/ocornut/imgui/issues/5243 (please post your screenshots/video there!) // - Wiki https://github.com/ocornut/imgui/wiki (lots of good stuff there) // - Glossary https://github.com/ocornut/imgui/wiki/Glossary // - Issues & support https://github.com/ocornut/imgui/issues @@ -65,11 +65,12 @@ CODE // [SECTION] MISC HELPERS/UTILITIES (Color functions) // [SECTION] ImGuiStorage // [SECTION] ImGuiTextFilter -// [SECTION] ImGuiTextBuffer +// [SECTION] ImGuiTextBuffer, ImGuiTextIndex // [SECTION] ImGuiListClipper // [SECTION] STYLING // [SECTION] RENDER HELPERS // [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) +// [SECTION] INPUTS // [SECTION] ERROR CHECKING // [SECTION] LAYOUT // [SECTION] SCROLLING @@ -79,9 +80,11 @@ CODE // [SECTION] DRAG AND DROP // [SECTION] LOGGING/CAPTURING // [SECTION] SETTINGS -// [SECTION] VIEWPORTS +// [SECTION] LOCALIZATION +// [SECTION] VIEWPORTS, PLATFORM WINDOWS // [SECTION] PLATFORM DEPENDENT HELPERS // [SECTION] METRICS/DEBUGGER WINDOW +// [SECTION] DEBUG LOG WINDOW // [SECTION] OTHER DEBUG TOOLS (ITEM PICKER, STACK TOOL) */ @@ -100,6 +103,7 @@ CODE - Easy to hack and improve. - Minimize setup and maintenance. - Minimize state storage on user side. + - Minimize state synchronization. - Portable, minimize dependencies, run on target (consoles, phones, etc.). - Efficient runtime and memory consumption. @@ -123,14 +127,13 @@ CODE - Hold SHIFT or use mouse to select text. - CTRL+Left/Right to word jump. - CTRL+Shift+Left/Right to select words. - - CTRL+A our Double-Click to select all. + - CTRL+A or Double-Click to select all. - CTRL+X,CTRL+C,CTRL+V to use OS clipboard/ - CTRL+Z,CTRL+Y to undo/redo. - ESCAPE to revert text to its original value. - - You can apply arithmetic operators +,*,/ on numerical values. Use +- to subtract (because - would set a negative value!) - Controls are automatically adjusted for OSX to match standard OSX text editing operations. - General Keyboard controls: enable with ImGuiConfigFlags_NavEnableKeyboard. - - General Gamepad controls: enable with ImGuiConfigFlags_NavEnableGamepad. See suggested mappings in imgui.h ImGuiNavInput_ + download PNG/PSD at http://dearimgui.org/controls_sheets + - General Gamepad controls: enable with ImGuiConfigFlags_NavEnableGamepad. Download controller mapping PNG/PSD at http://dearimgui.org/controls_sheets PROGRAMMER GUIDE @@ -254,9 +257,9 @@ CODE io.DeltaTime = 1.0f/60.0f; // set the time elapsed since the previous frame (in seconds) io.DisplaySize.x = 1920.0f; // set the current display width io.DisplaySize.y = 1280.0f; // set the current display height here - io.MousePos = my_mouse_pos; // set the mouse position - io.MouseDown[0] = my_mouse_buttons[0]; // set the mouse button states - io.MouseDown[1] = my_mouse_buttons[1]; + io.AddMousePosEvent(mouse_x, mouse_y); // update mouse position + io.AddMouseButtonEvent(0, mouse_b[0]); // update mouse button states + io.AddMouseButtonEvent(1, mouse_b[1]); // update mouse button states // Call NewFrame(), after this point you can use ImGui::* functions anytime // (So you want to try calling NewFrame() as early as you can in your main loop to be able to use Dear ImGui everywhere) @@ -288,12 +291,14 @@ CODE --------------------------------------------- The backends in impl_impl_XXX.cpp files contain many working implementations of a rendering function. - void void MyImGuiRenderFunction(ImDrawData* draw_data) + void MyImGuiRenderFunction(ImDrawData* draw_data) { // TODO: Setup render state: alpha-blending enabled, no face culling, no depth testing, scissor enabled + // TODO: Setup texture sampling state: sample with bilinear filtering (NOT point/nearest filtering). Use 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines;' to allow point/nearest filtering. // TODO: Setup viewport covering draw_data->DisplayPos to draw_data->DisplayPos + draw_data->DisplaySize // TODO: Setup orthographic projection matrix cover draw_data->DisplayPos to draw_data->DisplayPos + draw_data->DisplaySize // TODO: Setup shader: vertex { float2 pos, float2 uv, u32 color }, fragment shader sample color from 1 texture, multiply by vertex color. + ImVec2 clip_off = draw_data->DisplayPos; for (int n = 0; n < draw_data->CmdListsCount; n++) { const ImDrawList* cmd_list = draw_data->CmdLists[n]; @@ -308,9 +313,11 @@ CODE } else { - // The texture for the draw call is specified by pcmd->GetTexID(). - // The vast majority of draw calls will use the Dear ImGui texture atlas, which value you have set yourself during initialization. - MyEngineBindTexture((MyTexture*)pcmd->GetTexID()); + // Project scissor/clipping rectangles into framebuffer space + ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); + ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); + if (clip_max.x <= clip_min.x || clip_max.y <= clip_min.y) + continue; // We are using scissoring to clip some objects. All low-level graphics API should support it. // - If your engine doesn't support scissoring yet, you may ignore this at first. You will get some small glitches @@ -321,14 +328,16 @@ CODE // - In the interest of supporting multi-viewport applications (see 'docking' branch on github), // always subtract draw_data->DisplayPos from clipping bounds to convert them to your viewport space. // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) - ImVec2 pos = draw_data->DisplayPos; - MyEngineScissor((int)(pcmd->ClipRect.x - pos.x), (int)(pcmd->ClipRect.y - pos.y), (int)(pcmd->ClipRect.z - pos.x), (int)(pcmd->ClipRect.w - pos.y)); + MyEngineSetScissor(clip_min.x, clip_min.y, clip_max.x, clip_max.y); + + // The texture for the draw call is specified by pcmd->GetTexID(). + // The vast majority of draw calls will use the Dear ImGui texture atlas, which value you have set yourself during initialization. + MyEngineBindTexture((MyTexture*)pcmd->GetTexID()); // Render 'pcmd->ElemCount/3' indexed triangles. // By default the indices ImDrawIdx are 16-bit, you can change them to 32-bit in imconfig.h if your engine doesn't support 16-bit indices. - MyEngineDrawIndexedTriangles(pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer, vtx_buffer); + MyEngineDrawIndexedTriangles(pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT, idx_buffer + pcmd->IdxOffset, vtx_buffer, pcmd->VtxOffset); } - idx_buffer += pcmd->ElemCount; } } } @@ -337,31 +346,27 @@ CODE USING GAMEPAD/KEYBOARD NAVIGATION CONTROLS ------------------------------------------ - The gamepad/keyboard navigation is fairly functional and keeps being improved. - - Gamepad support is particularly useful to use Dear ImGui on a console system (e.g. PS4, Switch, XB1) without a mouse! - - You can ask questions and report issues at https://github.com/ocornut/imgui/issues/787 + - Gamepad support is particularly useful to use Dear ImGui on a console system (e.g. PlayStation, Switch, Xbox) without a mouse! - The initial focus was to support game controllers, but keyboard is becoming increasingly and decently usable. - Keyboard: - - Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. - NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. - - When keyboard navigation is active (io.NavActive + ImGuiConfigFlags_NavEnableKeyboard), the io.WantCaptureKeyboard flag - will be set. For more advanced uses, you may want to read from: + - Application: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. + - When keyboard navigation is active (io.NavActive + ImGuiConfigFlags_NavEnableKeyboard), + the io.WantCaptureKeyboard flag will be set. For more advanced uses, you may want to read from: - io.NavActive: true when a window is focused and it doesn't have the ImGuiWindowFlags_NoNavInputs flag set. - io.NavVisible: true when the navigation cursor is visible (and usually goes false when mouse is used). - or query focus information with e.g. IsWindowFocused(ImGuiFocusedFlags_AnyWindow), IsItemFocused() etc. functions. Please reach out if you think the game vs navigation input sharing could be improved. - Gamepad: - - Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. - - Backend: Set io.BackendFlags |= ImGuiBackendFlags_HasGamepad + fill the io.NavInputs[] fields before calling NewFrame(). - Note that io.NavInputs[] is cleared by EndFrame(). - - See 'enum ImGuiNavInput_' in imgui.h for a description of inputs. For each entry of io.NavInputs[], set the following values: - 0.0f= not held. 1.0f= fully held. Pass intermediate 0.0f..1.0f values for analog triggers/sticks. - - We use a simple >0.0f test for activation testing, and won't attempt to test for a dead-zone. - Your code will probably need to transform your raw inputs (such as e.g. remapping your 0.2..0.9 raw input range to 0.0..1.0 imgui range, etc.). + - Application: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. + - Backend: Set io.BackendFlags |= ImGuiBackendFlags_HasGamepad + call io.AddKeyEvent/AddKeyAnalogEvent() with ImGuiKey_Gamepad_XXX keys. + For analog values (0.0f to 1.0f), backend is responsible to handling a dead-zone and rescaling inputs accordingly. + Backend code will probably need to transform your raw inputs (such as e.g. remapping your 0.2..0.9 raw input range to 0.0..1.0 imgui range, etc.). + - BEFORE 1.87, BACKENDS USED TO WRITE TO io.NavInputs[]. This is now obsolete. Please call io functions instead! - You can download PNG/PSD files depicting the gamepad controls for common controllers at: http://dearimgui.org/controls_sheets - - If you need to share inputs between your game and the imgui parts, the easiest approach is to go all-or-nothing, with a buttons combo - to toggle the target. Please reach out if you think the game vs navigation input sharing could be improved. + - If you need to share inputs between your game and the Dear ImGui interface, the easiest approach is to go all-or-nothing, + with a buttons combo to toggle the target. Please reach out if you think the game vs navigation input sharing could be improved. - Mouse: - - PS4 users: Consider emulating a mouse cursor with DualShock4 touch pad or a spare analog stick as a mouse-emulation fallback. + - PS4/PS5 users: Consider emulating a mouse cursor with DualShock4 touch pad or a spare analog stick as a mouse-emulation fallback. - Consoles/Tablet/Phone users: Consider using a Synergy 1.x server (on your PC) + uSynergy.c (on your console/tablet/phone app) to share your PC mouse/keyboard. - On a TV/console system where readability may be lower or mouse inputs may be awkward, you may want to set the ImGuiConfigFlags_NavEnableSetMousePos flag. Enabling ImGuiConfigFlags_NavEnableSetMousePos + ImGuiBackendFlags_HasSetMousePos instructs dear imgui to move your mouse cursor along with navigation movements. @@ -380,6 +385,74 @@ CODE When you are not sure about an old symbol or function name, try using the Search/Find function of your IDE to look for comments or references in all imgui files. You can read releases logs https://github.com/ocornut/imgui/releases for more details. + - 2022/10/26 (1.89) - commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79. + - 2022/10/12 (1.89) - removed runtime patching of invalid "%f"/"%0.f" format strings for DragInt()/SliderInt(). This was obsoleted in 1.61 (May 2018). See 1.61 changelog for details. + - 2022/09/26 (1.89) - renamed and merged keyboard modifiers key enums and flags into a same set. Kept inline redirection enums (will obsolete). + - ImGuiKey_ModCtrl and ImGuiModFlags_Ctrl -> ImGuiMod_Ctrl + - ImGuiKey_ModShift and ImGuiModFlags_Shift -> ImGuiMod_Shift + - ImGuiKey_ModAlt and ImGuiModFlags_Alt -> ImGuiMod_Alt + - ImGuiKey_ModSuper and ImGuiModFlags_Super -> ImGuiMod_Super + the ImGuiKey_ModXXX were introduced in 1.87 and mostly used by backends. + the ImGuiModFlags_XXX have been exposed in imgui.h but not really used by any public api only by third-party extensions. + exceptionally commenting out the older ImGuiKeyModFlags_XXX names ahead of obsolescence schedule to reduce confusion and because they were not meant to be used anyway. + - 2022/09/12 (1.89) - removed the bizarre legacy default argument for 'TreePush(const void* ptr = NULL)', always pass a pointer value explicitly. NULL/nullptr is ok but require cast, e.g. TreePush((void*)nullptr); + - 2022/09/05 (1.89) - commented out redirecting functions/enums names that were marked obsolete in 1.77 and 1.78 (June 2020): + - DragScalar(), DragScalarN(), DragFloat(), DragFloat2(), DragFloat3(), DragFloat4(): For old signatures ending with (..., const char* format, float power = 1.0f) -> use (..., format ImGuiSliderFlags_Logarithmic) if power != 1.0f. + - SliderScalar(), SliderScalarN(), SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4(): For old signatures ending with (..., const char* format, float power = 1.0f) -> use (..., format ImGuiSliderFlags_Logarithmic) if power != 1.0f. + - BeginPopupContextWindow(const char*, ImGuiMouseButton, bool) -> use BeginPopupContextWindow(const char*, ImGuiPopupFlags) + - 2022/09/02 (1.89) - obsoleted using SetCursorPos()/SetCursorScreenPos() to extend parent window/cell boundaries. + this relates to when moving the cursor position beyond current boundaries WITHOUT submitting an item. + - previously this would make the window content size ~200x200: + Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + End(); + - instead, please submit an item: + Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + Dummy(ImVec2(0,0)) + End(); + - alternative: + Begin(...) + Dummy(ImVec2(200,200)) + End(); + - content size is now only extended when submitting an item! + - with '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will now be detected and assert. + - without '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' this will silently be fixed until we obsolete it. + - 2022/08/03 (1.89) - changed signature of ImageButton() function. Kept redirection function (will obsolete). + - added 'const char* str_id' parameter + removed 'int frame_padding = -1' parameter. + - old signature: bool ImageButton(ImTextureID tex_id, ImVec2 size, ImVec2 uv0 = ImVec2(0,0), ImVec2 uv1 = ImVec2(1,1), int frame_padding = -1, ImVec4 bg_col = ImVec4(0,0,0,0), ImVec4 tint_col = ImVec4(1,1,1,1)); + - used the ImTextureID value to create an ID. This was inconsistent with other functions, led to ID conflicts, and caused problems with engines using transient ImTextureID values. + - had a FramePadding override which was inconsistent with other functions and made the already-long signature even longer. + - new signature: bool ImageButton(const char* str_id, ImTextureID tex_id, ImVec2 size, ImVec2 uv0 = ImVec2(0,0), ImVec2 uv1 = ImVec2(1,1), ImVec4 bg_col = ImVec4(0,0,0,0), ImVec4 tint_col = ImVec4(1,1,1,1)); + - requires an explicit identifier. You may still use e.g. PushID() calls and then pass an empty identifier. + - always uses style.FramePadding for padding, to be consistent with other buttons. You may use PushStyleVar() to alter this. + - 2022/07/08 (1.89) - inputs: removed io.NavInputs[] and ImGuiNavInput enum (following 1.87 changes). + - Official backends from 1.87+ -> no issue. + - Official backends from 1.60 to 1.86 -> will build and convert gamepad inputs, unless IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Need updating! + - Custom backends not writing to io.NavInputs[] -> no issue. + - Custom backends writing to io.NavInputs[] -> will build and convert gamepad inputs, unless IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Need fixing! + - TL;DR: Backends should call io.AddKeyEvent()/io.AddKeyAnalogEvent() with ImGuiKey_GamepadXXX values instead of filling io.NavInput[]. + - 2022/06/15 (1.88) - renamed IMGUI_DISABLE_METRICS_WINDOW to IMGUI_DISABLE_DEBUG_TOOLS for correctness. kept support for old define (will obsolete). + - 2022/05/03 (1.88) - backends: osx: removed ImGui_ImplOSX_HandleEvent() from backend API in favor of backend automatically handling event capture. All ImGui_ImplOSX_HandleEvent() calls should be removed as they are now unnecessary. + - 2022/04/05 (1.88) - inputs: renamed ImGuiKeyModFlags to ImGuiModFlags. Kept inline redirection enums (will obsolete). This was never used in public API functions but technically present in imgui.h and ImGuiIO. + - 2022/01/20 (1.87) - inputs: reworded gamepad IO. + - Backend writing to io.NavInputs[] -> backend should call io.AddKeyEvent()/io.AddKeyAnalogEvent() with ImGuiKey_GamepadXXX values. + - 2022/01/19 (1.87) - sliders, drags: removed support for legacy arithmetic operators (+,+-,*,/) when inputing text. This doesn't break any api/code but a feature that used to be accessible by end-users (which seemingly no one used). + - 2022/01/17 (1.87) - inputs: reworked mouse IO. + - Backend writing to io.MousePos -> backend should call io.AddMousePosEvent() + - Backend writing to io.MouseDown[] -> backend should call io.AddMouseButtonEvent() + - Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent() + - Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only] + note: for all calls to IO new functions, the Dear ImGui context should be bound/current. + read https://github.com/ocornut/imgui/issues/4921 for details. + - 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(). Removed GetKeyIndex(), now unecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details. + - IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX) + - IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX) + - Backend writing to io.KeyMap[],io.KeysDown[] -> backend should call io.AddKeyEvent() (+ call io.SetKeyEventNativeData() if you want legacy user code to stil function with legacy key codes). + - Backend writing to io.KeyCtrl, io.KeyShift.. -> backend should call io.AddKeyEvent() with ImGuiMod_XXX values. *IF YOU PULLED CODE BETWEEN 2021/01/10 and 2021/01/27: We used to have a io.AddKeyModsEvent() function which was now replaced by io.AddKeyEvent() with ImGuiMod_XXX values.* + - one case won't work with backward compatibility: if your custom backend used ImGuiKey as mock native indices (e.g. "io.KeyMap[ImGuiKey_A] = ImGuiKey_A") because those values are now larger than the legacy KeyDown[] array. Will assert. + - inputs: added ImGuiKey_ModCtrl/ImGuiKey_ModShift/ImGuiKey_ModAlt/ImGuiKey_ModSuper values to submit keyboard modifiers using io.AddKeyEvent(), instead of writing directly to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper. + - 2022/01/05 (1.87) - inputs: renamed ImGuiKey_KeyPadEnter to ImGuiKey_KeypadEnter to align with new symbols. Kept redirection enum. + - 2022/01/05 (1.87) - removed io.ImeSetInputScreenPosFn() in favor of more flexible io.SetPlatformImeDataFn(). Removed 'void* io.ImeWindowHandle' in favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'. + - 2022/01/01 (1.87) - commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72 (March-July 2019) + - ImGui::SetNextTreeNodeOpen() -> use ImGui::SetNextItemOpen() + - ImGui::GetContentRegionAvailWidth() -> use ImGui::GetContentRegionAvail().x + - ImGui::TreeAdvanceToLabelPos() -> use ImGui::SetCursorPosX(ImGui::GetCursorPosX() + ImGui::GetTreeNodeToLabelSpacing()); + - ImFontAtlas::CustomRect -> use ImFontAtlasCustomRect + - ImGuiColorEditFlags_RGB/HSV/HEX -> use ImGuiColorEditFlags_DisplayRGB/HSV/Hex - 2021/12/20 (1.86) - backends: removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. Find last supported version at https://github.com/ocornut/imgui/wiki/Bindings - 2021/11/04 (1.86) - removed CalcListClipping() function. Prefer using ImGuiListClipper which can return non-contiguous ranges. Please open an issue if you think you really need this function. - 2021/08/23 (1.85) - removed GetWindowContentRegionWidth() function. keep inline redirection helper. can use 'GetWindowContentRegionMax().x - GetWindowContentRegionMin().x' instead for generally 'GetContentRegionAvail().x' is more useful. @@ -730,7 +803,7 @@ CODE - How can I have widgets with an empty label? - How can I have multiple widgets with the same label? - How can I have multiple windows with the same label? - Q: How can I display an image? What is ImTextureID, how does it works? + Q: How can I display an image? What is ImTextureID, how does it work? Q: How can I use my own math types instead of ImVec2/ImVec4? Q: How can I interact with standard C++ types (such as std::string and std::vector)? Q: How can I display custom shapes? (using low-level ImDrawList API) @@ -789,7 +862,6 @@ CODE #include "imgui_internal.h" // System includes -#include // toupper #include // vsnprintf, sscanf, printf #if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier #include // intptr_t @@ -836,7 +908,7 @@ CODE #if defined(_MSC_VER) && _MSC_VER >= 1922 // MSVC 2019 16.2 or later #pragma warning (disable: 5054) // operator '|': deprecated between enumerations of different types #endif -#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to an 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). #pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6). #pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). #endif @@ -859,7 +931,7 @@ CODE #pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double. #pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision #elif defined(__GNUC__) -// We disable -Wpragmas because GCC doesn't provide an has_warning equivalent and some forks/patches may not following the warning/version association. +// We disable -Wpragmas because GCC doesn't provide a has_warning equivalent and some forks/patches may not follow the warning/version association. #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind #pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used #pragma GCC diagnostic ignored "-Wint-to-pointer-cast" // warning: cast to pointer from integer of different size @@ -883,7 +955,7 @@ static const float NAV_WINDOWING_LIST_APPEAR_DELAY = 0.15f; // Time // Window resizing from edges (when io.ConfigWindowsResizeFromEdges = true and ImGuiBackendFlags_HasMouseCursors is set in io.BackendFlags by backend) static const float WINDOWS_HOVER_PADDING = 4.0f; // Extend outside window for hovering/resizing (maxxed with TouchPadding) and inside windows for borders. Affect FindHoveredWindow(). static const float WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER = 0.04f; // Reduce visual noise by only highlighting the border after a certain time. -static const float WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER = 2.00f; // Lock scrolled window (so it doesn't pick child windows that are scrolling through) for a certain time, unless mouse moved. +static const float WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER = 0.70f; // Lock scrolled window (so it doesn't pick child windows that are scrolling through) for a certain time, unless mouse moved. //------------------------------------------------------------------------- // [SECTION] FORWARD DECLARATIONS @@ -907,7 +979,7 @@ static void WindowSettingsHandler_WriteAll(ImGuiContext*, ImGuiSetti // Platform Dependents default implementation for IO functions static const char* GetClipboardTextFn_DefaultImpl(void* user_data); static void SetClipboardTextFn_DefaultImpl(void* user_data, const char* text); -static void ImeSetInputScreenPosFn_DefaultImpl(int x, int y); +static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport* viewport, ImGuiPlatformImeData* data); namespace ImGui { @@ -941,6 +1013,7 @@ static void UpdateDebugToolStackQueries(); // Misc static void UpdateSettings(); +static void UpdateKeyboardInputs(); static void UpdateMouseInputs(); static void UpdateMouseWheel(); static bool UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect); @@ -1027,12 +1100,12 @@ ImGuiStyle::ImGuiStyle() ColumnsMinSpacing = 6.0f; // Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1). ScrollbarSize = 14.0f; // Width of the vertical scrollbar, Height of the horizontal scrollbar ScrollbarRounding = 9.0f; // Radius of grab corners rounding for scrollbar - GrabMinSize = 10.0f; // Minimum width/height of a grab box for slider/scrollbar + GrabMinSize = 12.0f; // Minimum width/height of a grab box for slider/scrollbar GrabRounding = 0.0f; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. LogSliderDeadzone = 4.0f; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. TabRounding = 4.0f; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. TabBorderSize = 0.0f; // Thickness of border around tabs. - TabMinWidthForCloseButton = 0.0f; // Minimum width for close button to appears on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. + TabMinWidthForCloseButton = 0.0f; // Minimum width for close button to appear on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. ColorButtonPosition = ImGuiDir_Right; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. ButtonTextAlign = ImVec2(0.5f,0.5f);// Alignment of button text when button is larger than text. SelectableTextAlign = ImVec2(0.0f,0.0f);// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. @@ -1040,7 +1113,7 @@ ImGuiStyle::ImGuiStyle() DisplaySafeAreaPadding = ImVec2(3,3); // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows. MouseCursorScale = 1.0f; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. AntiAliasedLines = true; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. - AntiAliasedLinesUseTex = true; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering. + AntiAliasedLinesUseTex = true; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). AntiAliasedFill = true; // Enable anti-aliased filled shapes (rounded rectangles, circles, etc.). CurveTessellationTol = 1.25f; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. CircleTessellationMaxError = 0.30f; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. @@ -1082,7 +1155,7 @@ ImGuiIO::ImGuiIO() { // Most fields are initialized with zero memset(this, 0, sizeof(*this)); - IM_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT); // Our pre-C++11 IM_STATIC_ASSERT() macros triggers warning on modern compilers so we don't use it here. + IM_STATIC_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT); // Settings ConfigFlags = ImGuiConfigFlags_None; @@ -1094,10 +1167,14 @@ ImGuiIO::ImGuiIO() LogFilename = "imgui_log.txt"; MouseDoubleClickTime = 0.30f; MouseDoubleClickMaxDist = 6.0f; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO for (int i = 0; i < ImGuiKey_COUNT; i++) KeyMap[i] = -1; +#endif KeyRepeatDelay = 0.275f; KeyRepeatRate = 0.050f; + HoverDelayNormal = 0.30f; + HoverDelayShort = 0.10f; UserData = NULL; Fonts = NULL; @@ -1113,7 +1190,10 @@ ImGuiIO::ImGuiIO() #else ConfigMacOSXBehaviors = false; #endif + ConfigInputTrickleEventQueue = true; ConfigInputTextCursorBlink = true; + ConfigInputTextEnterKeepActive = false; + ConfigDragClickToInputText = false; ConfigWindowsResizeFromEdges = true; ConfigWindowsMoveFromTitleBarOnly = false; ConfigMemoryCompactTimer = 60.0f; @@ -1124,38 +1204,48 @@ ImGuiIO::ImGuiIO() GetClipboardTextFn = GetClipboardTextFn_DefaultImpl; // Platform dependent default implementations SetClipboardTextFn = SetClipboardTextFn_DefaultImpl; ClipboardUserData = NULL; - ImeSetInputScreenPosFn = ImeSetInputScreenPosFn_DefaultImpl; - ImeWindowHandle = NULL; + SetPlatformImeDataFn = SetPlatformImeDataFn_DefaultImpl; // Input (NB: we already have memset zero the entire structure!) MousePos = ImVec2(-FLT_MAX, -FLT_MAX); MousePosPrev = ImVec2(-FLT_MAX, -FLT_MAX); MouseDragThreshold = 6.0f; for (int i = 0; i < IM_ARRAYSIZE(MouseDownDuration); i++) MouseDownDuration[i] = MouseDownDurationPrev[i] = -1.0f; - for (int i = 0; i < IM_ARRAYSIZE(KeysDownDuration); i++) KeysDownDuration[i] = KeysDownDurationPrev[i] = -1.0f; - for (int i = 0; i < IM_ARRAYSIZE(NavInputsDownDuration); i++) NavInputsDownDuration[i] = -1.0f; + for (int i = 0; i < IM_ARRAYSIZE(KeysData); i++) { KeysData[i].DownDuration = KeysData[i].DownDurationPrev = -1.0f; } + AppAcceptingEvents = true; + BackendUsingLegacyKeyArrays = (ImS8)-1; + BackendUsingLegacyNavInputArray = true; // assume using legacy array until proven wrong } // Pass in translated ASCII characters for text input. // - with glfw you can get those from the callback set in glfwSetCharCallback() // - on Windows you can get those using ToAscii+keyboard state, or via the WM_CHAR message +// FIXME: Should in theory be called "AddCharacterEvent()" to be consistent with new API void ImGuiIO::AddInputCharacter(unsigned int c) { - if (c != 0) - InputQueueCharacters.push_back(c <= IM_UNICODE_CODEPOINT_MAX ? (ImWchar)c : IM_UNICODE_CODEPOINT_INVALID); + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + if (c == 0 || !AppAcceptingEvents) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Text; + e.Source = ImGuiInputSource_Keyboard; + e.Text.Char = c; + g.InputEventsQueue.push_back(e); } // UTF16 strings use surrogate pairs to encode codepoints >= 0x10000, so // we should save the high surrogate. void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) { - if (c == 0 && InputQueueSurrogate == 0) + if ((c == 0 && InputQueueSurrogate == 0) || !AppAcceptingEvents) return; if ((c & 0xFC00) == 0xD800) // High surrogate, must save { if (InputQueueSurrogate != 0) - InputQueueCharacters.push_back(IM_UNICODE_CODEPOINT_INVALID); + AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID); InputQueueSurrogate = c; return; } @@ -1165,7 +1255,7 @@ void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) { if ((c & 0xFC00) != 0xDC00) // Invalid low surrogate { - InputQueueCharacters.push_back(IM_UNICODE_CODEPOINT_INVALID); + AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID); } else { @@ -1178,41 +1268,229 @@ void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c) InputQueueSurrogate = 0; } - InputQueueCharacters.push_back(cp); + AddInputCharacter((unsigned)cp); } void ImGuiIO::AddInputCharactersUTF8(const char* utf8_chars) { + if (!AppAcceptingEvents) + return; while (*utf8_chars != 0) { unsigned int c = 0; utf8_chars += ImTextCharFromUtf8(&c, utf8_chars, NULL); if (c != 0) - InputQueueCharacters.push_back((ImWchar)c); + AddInputCharacter(c); } } +// FIXME: Perhaps we could clear queued events as well? void ImGuiIO::ClearInputCharacters() { InputQueueCharacters.resize(0); } +// FIXME: Perhaps we could clear queued events as well? void ImGuiIO::ClearInputKeys() { +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO memset(KeysDown, 0, sizeof(KeysDown)); - for (int n = 0; n < IM_ARRAYSIZE(KeysDownDuration); n++) - KeysDownDuration[n] = KeysDownDurationPrev[n] = -1.0f; +#endif + for (int n = 0; n < IM_ARRAYSIZE(KeysData); n++) + { + KeysData[n].Down = false; + KeysData[n].DownDuration = -1.0f; + KeysData[n].DownDurationPrev = -1.0f; + } KeyCtrl = KeyShift = KeyAlt = KeySuper = false; - KeyMods = KeyModsPrev = ImGuiKeyModFlags_None; - for (int n = 0; n < IM_ARRAYSIZE(NavInputsDownDuration); n++) - NavInputsDownDuration[n] = NavInputsDownDurationPrev[n] = -1.0f; + KeyMods = ImGuiMod_None; + MousePos = ImVec2(-FLT_MAX, -FLT_MAX); + for (int n = 0; n < IM_ARRAYSIZE(MouseDown); n++) + { + MouseDown[n] = false; + MouseDownDuration[n] = MouseDownDurationPrev[n] = -1.0f; + } + MouseWheel = MouseWheelH = 0.0f; +} + +static ImGuiInputEvent* FindLatestInputEvent(ImGuiInputEventType type, int arg = -1) +{ + ImGuiContext& g = *GImGui; + for (int n = g.InputEventsQueue.Size - 1; n >= 0; n--) + { + ImGuiInputEvent* e = &g.InputEventsQueue[n]; + if (e->Type != type) + continue; + if (type == ImGuiInputEventType_Key && e->Key.Key != arg) + continue; + if (type == ImGuiInputEventType_MouseButton && e->MouseButton.Button != arg) + continue; + return e; + } + return NULL; +} + +// Queue a new key down/up event. +// - ImGuiKey key: Translated key (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) +// - bool down: Is the key down? use false to signify a key release. +// - float analog_value: 0.0f..1.0f +void ImGuiIO::AddKeyAnalogEvent(ImGuiKey key, bool down, float analog_value) +{ + //if (e->Down) { IMGUI_DEBUG_LOG_IO("AddKeyEvent() Key='%s' %d, NativeKeycode = %d, NativeScancode = %d\n", ImGui::GetKeyName(e->Key), e->Down, e->NativeKeycode, e->NativeScancode); } + if (key == ImGuiKey_None || !AppAcceptingEvents) + return; + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + IM_ASSERT(ImGui::IsNamedKeyOrModKey(key)); // Backend needs to pass a valid ImGuiKey_ constant. 0..511 values are legacy native key codes which are not accepted by this API. + IM_ASSERT(!ImGui::IsAliasKey(key)); // Backend cannot submit ImGuiKey_MouseXXX values they are automatically inferred from AddMouseXXX() events. + + // Verify that backend isn't mixing up using new io.AddKeyEvent() api and old io.KeysDown[] + io.KeyMap[] data. +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + IM_ASSERT((BackendUsingLegacyKeyArrays == -1 || BackendUsingLegacyKeyArrays == 0) && "Backend needs to either only use io.AddKeyEvent(), either only fill legacy io.KeysDown[] + io.KeyMap[]. Not both!"); + if (BackendUsingLegacyKeyArrays == -1) + for (int n = ImGuiKey_NamedKey_BEGIN; n < ImGuiKey_NamedKey_END; n++) + IM_ASSERT(KeyMap[n] == -1 && "Backend needs to either only use io.AddKeyEvent(), either only fill legacy io.KeysDown[] + io.KeyMap[]. Not both!"); + BackendUsingLegacyKeyArrays = 0; +#endif + if (ImGui::IsGamepadKey(key)) + BackendUsingLegacyNavInputArray = false; + + // Filter duplicate (in particular: key mods and gamepad analog values are commonly spammed) + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_Key, (int)key); + const ImGuiKeyData* key_data = ImGui::GetKeyData(key); + const bool latest_key_down = latest_event ? latest_event->Key.Down : key_data->Down; + const float latest_key_analog = latest_event ? latest_event->Key.AnalogValue : key_data->AnalogValue; + if (latest_key_down == down && latest_key_analog == analog_value) + return; + + // Add event + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Key; + e.Source = ImGui::IsGamepadKey(key) ? ImGuiInputSource_Gamepad : ImGuiInputSource_Keyboard; + e.Key.Key = key; + e.Key.Down = down; + e.Key.AnalogValue = analog_value; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddKeyEvent(ImGuiKey key, bool down) +{ + if (!AppAcceptingEvents) + return; + AddKeyAnalogEvent(key, down, down ? 1.0f : 0.0f); +} + +// [Optional] Call after AddKeyEvent(). +// Specify native keycode, scancode + Specify index for legacy <1.87 IsKeyXXX() functions with native indices. +// If you are writing a backend in 2022 or don't use IsKeyXXX() with native values that are not ImGuiKey values, you can avoid calling this. +void ImGuiIO::SetKeyEventNativeData(ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index) +{ + if (key == ImGuiKey_None) + return; + IM_ASSERT(ImGui::IsNamedKey(key)); // >= 512 + IM_ASSERT(native_legacy_index == -1 || ImGui::IsLegacyKey((ImGuiKey)native_legacy_index)); // >= 0 && <= 511 + IM_UNUSED(native_keycode); // Yet unused + IM_UNUSED(native_scancode); // Yet unused + + // Build native->imgui map so old user code can still call key functions with native 0..511 values. +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + const int legacy_key = (native_legacy_index != -1) ? native_legacy_index : native_keycode; + if (!ImGui::IsLegacyKey((ImGuiKey)legacy_key)) + return; + KeyMap[legacy_key] = key; + KeyMap[key] = legacy_key; +#else + IM_UNUSED(key); + IM_UNUSED(native_legacy_index); +#endif +} + +// Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. +void ImGuiIO::SetAppAcceptingEvents(bool accepting_events) +{ + AppAcceptingEvents = accepting_events; +} + +// Queue a mouse move event +void ImGuiIO::AddMousePosEvent(float x, float y) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + if (!AppAcceptingEvents) + return; + + // Apply same flooring as UpdateMouseInputs() + ImVec2 pos((x > -FLT_MAX) ? ImFloorSigned(x) : x, (y > -FLT_MAX) ? ImFloorSigned(y) : y); + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_MousePos); + const ImVec2 latest_pos = latest_event ? ImVec2(latest_event->MousePos.PosX, latest_event->MousePos.PosY) : g.IO.MousePos; + if (latest_pos.x == pos.x && latest_pos.y == pos.y) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MousePos; + e.Source = ImGuiInputSource_Mouse; + e.MousePos.PosX = pos.x; + e.MousePos.PosY = pos.y; + g.InputEventsQueue.push_back(e); +} + +void ImGuiIO::AddMouseButtonEvent(int mouse_button, bool down) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + IM_ASSERT(mouse_button >= 0 && mouse_button < ImGuiMouseButton_COUNT); + if (!AppAcceptingEvents) + return; + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_MouseButton, (int)mouse_button); + const bool latest_button_down = latest_event ? latest_event->MouseButton.Down : g.IO.MouseDown[mouse_button]; + if (latest_button_down == down) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseButton; + e.Source = ImGuiInputSource_Mouse; + e.MouseButton.Button = mouse_button; + e.MouseButton.Down = down; + g.InputEventsQueue.push_back(e); +} + +// Queue a mouse wheel event (most mouse/API will only have a Y component) +void ImGuiIO::AddMouseWheelEvent(float wheel_x, float wheel_y) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + + // Filter duplicate (unlike most events, wheel values are relative and easy to filter) + if (!AppAcceptingEvents || (wheel_x == 0.0f && wheel_y == 0.0f)) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_MouseWheel; + e.Source = ImGuiInputSource_Mouse; + e.MouseWheel.WheelX = wheel_x; + e.MouseWheel.WheelY = wheel_y; + g.InputEventsQueue.push_back(e); } void ImGuiIO::AddFocusEvent(bool focused) { - // We intentionally overwrite this and process in NewFrame(), in order to give a chance - // to multi-viewports backends to queue AddFocusEvent(false),AddFocusEvent(true) in same frame. - AppFocusLost = !focused; + ImGuiContext& g = *GImGui; + IM_ASSERT(&g.IO == this && "Can only add events to current context."); + + // Filter duplicate + const ImGuiInputEvent* latest_event = FindLatestInputEvent(ImGuiInputEventType_Focus); + const bool latest_focused = latest_event ? latest_event->AppFocused.Focused : !g.IO.AppFocusLost; + if (latest_focused == focused) + return; + + ImGuiInputEvent e; + e.Type = ImGuiInputEventType_Focus; + e.AppFocused.Focused = focused; + g.InputEventsQueue.push_back(e); } //----------------------------------------------------------------------------- @@ -1343,14 +1621,14 @@ ImVec2 ImTriangleClosestPoint(const ImVec2& a, const ImVec2& b, const ImVec2& c, int ImStricmp(const char* str1, const char* str2) { int d; - while ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) { str1++; str2++; } + while ((d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; } return d; } int ImStrnicmp(const char* str1, const char* str2, size_t count) { int d = 0; - while (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) { str1++; str2++; count--; } + while (count > 0 && (d = ImToUpper(*str2) - ImToUpper(*str1)) == 0 && *str1) { str1++; str2++; count--; } return d; } @@ -1417,14 +1695,14 @@ const char* ImStristr(const char* haystack, const char* haystack_end, const char if (!needle_end) needle_end = needle + strlen(needle); - const char un0 = (char)toupper(*needle); + const char un0 = (char)ImToUpper(*needle); while ((!haystack_end && *haystack) || (haystack_end && haystack < haystack_end)) { - if (toupper(*haystack) == un0) + if (ImToUpper(*haystack) == un0) { const char* b = needle + 1; for (const char* a = haystack + 1; b < needle_end; a++, b++) - if (toupper(*a) != toupper(*b)) + if (ImToUpper(*a) != ImToUpper(*b)) break; if (b == needle_end) return haystack; @@ -1468,8 +1746,12 @@ const char* ImStrSkipBlank(const char* str) // designed using two-passes worst case, which probably could be improved using the stbsp_vsprintfcb() function.) #ifdef IMGUI_USE_STB_SPRINTF #define STB_SPRINTF_IMPLEMENTATION +#ifdef IMGUI_STB_SPRINTF_FILENAME +#include IMGUI_STB_SPRINTF_FILENAME +#else #include "stb_sprintf.h" #endif +#endif #if defined(_MSC_VER) && !defined(vsnprintf) #define vsnprintf _vsnprintf @@ -1509,6 +1791,25 @@ int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) } #endif // #ifdef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) +{ + ImGuiContext& g = *GImGui; + va_list args; + va_start(args, fmt); + int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args); + *out_buf = g.TempBuffer.Data; + if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; } + va_end(args); +} + +void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args); + *out_buf = g.TempBuffer.Data; + if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; } +} + // CRC32 needs a 1KB lookup table (not cache friendly) // Although the code to generate the table is simple and shorter than the table itself, using a const table allows us to easily: // - avoid an unnecessary branch/memory tap, - keep the ImHashXXX functions usable by static constructors, - make it thread-safe. @@ -2070,18 +2371,15 @@ void ImGuiStorage::SetAllInt(int v) //----------------------------------------------------------------------------- // Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]" -ImGuiTextFilter::ImGuiTextFilter(const char* default_filter) +ImGuiTextFilter::ImGuiTextFilter(const char* default_filter) //-V1077 { + InputBuf[0] = 0; + CountGrep = 0; if (default_filter) { ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf)); Build(); } - else - { - InputBuf[0] = 0; - CountGrep = 0; - } } bool ImGuiTextFilter::Draw(const char* label, float width) @@ -2168,7 +2466,7 @@ bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const } //----------------------------------------------------------------------------- -// [SECTION] ImGuiTextBuffer +// [SECTION] ImGuiTextBuffer, ImGuiTextIndex //----------------------------------------------------------------------------- // On some platform vsnprintf() takes va_list by reference and modifies it. @@ -2236,6 +2534,20 @@ void ImGuiTextBuffer::appendfv(const char* fmt, va_list args) va_end(args_copy); } +void ImGuiTextIndex::append(const char* base, int old_size, int new_size) +{ + IM_ASSERT(old_size >= 0 && new_size >= old_size && new_size >= EndOffset); + if (old_size == new_size) + return; + if (EndOffset == 0 || base[EndOffset - 1] == '\n') + LineOffsets.push_back(EndOffset); + const char* base_end = base + new_size; + for (const char* p = base + old_size; (p = (const char*)memchr(p, '\n', base_end - p)) != 0; ) + if (++p < base_end) // Don't push a trailing offset on last \n + LineOffsets.push_back((int)(intptr_t)(p - base)); + EndOffset = ImMax(EndOffset, new_size); +} + //----------------------------------------------------------------------------- // [SECTION] ImGuiListClipper // This is currently not as flexible/powerful as it should be and really confusing/spaghetti, mostly because we changed @@ -2252,7 +2564,7 @@ static bool GetSkipItemForListClipping() #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS // Legacy helper to calculate coarse clipping of large list of evenly sized items. -// This legacy API is not ideal because it assume we will return a single contiguous rectangle. +// This legacy API is not ideal because it assumes we will return a single contiguous rectangle. // Prefer using ImGuiListClipper which can returns non-contiguous ranges. void ImGui::CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end) { @@ -2367,13 +2679,11 @@ ImGuiListClipper::~ImGuiListClipper() End(); } -// Use case A: Begin() called from constructor with items_height<0, then called again from Step() in StepNo 1 -// Use case B: Begin() called from constructor with items_height>0 -// FIXME-LEGACY: Ideally we should remove the Begin/End functions but they are part of the legacy API we still support. This is why some of the code in Step() calling Begin() and reassign some fields, spaghetti style. void ImGuiListClipper::Begin(int items_count, float items_height) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Begin(%d,%.2f) in '%s'\n", items_count, items_height, window->Name); if (ImGuiTable* table = g.CurrentTable) if (table->IsInsideRow) @@ -2396,15 +2706,15 @@ void ImGuiListClipper::Begin(int items_count, float items_height) void ImGuiListClipper::End() { - // In theory here we should assert that we are already at the right position, but it seems saner to just seek at the end and not assert/crash the user. ImGuiContext& g = *GImGui; - if (ItemsCount >= 0 && ItemsCount < INT_MAX && DisplayStart >= 0) - ImGuiListClipper_SeekCursorForItem(this, ItemsCount); - ItemsCount = -1; - - // Restore temporary buffer and fix back pointers which may be invalidated when nesting if (ImGuiListClipperData* data = (ImGuiListClipperData*)TempData) { + // In theory here we should assert that we are already at the right position, but it seems saner to just seek at the end and not assert/crash the user. + IMGUI_DEBUG_LOG_CLIPPER("Clipper: End() in '%s'\n", g.CurrentWindow->Name); + if (ItemsCount >= 0 && ItemsCount < INT_MAX && DisplayStart >= 0) + ImGuiListClipper_SeekCursorForItem(this, ItemsCount); + + // Restore temporary buffer and fix back pointers which may be invalidated when nesting IM_ASSERT(data->ListClipper == this); data->StepNo = data->Ranges.Size; if (--g.ClipperTempDataStacked > 0) @@ -2414,6 +2724,7 @@ void ImGuiListClipper::End() } TempData = NULL; } + ItemsCount = -1; } void ImGuiListClipper::ForceDisplayRangeByIndices(int item_min, int item_max) @@ -2425,29 +2736,29 @@ void ImGuiListClipper::ForceDisplayRangeByIndices(int item_min, int item_max) data->Ranges.push_back(ImGuiListClipperRange::FromIndices(item_min, item_max)); } -bool ImGuiListClipper::Step() +static bool ImGuiListClipper_StepInternal(ImGuiListClipper* clipper) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiListClipperData* data = (ImGuiListClipperData*)TempData; + ImGuiListClipperData* data = (ImGuiListClipperData*)clipper->TempData; + IM_ASSERT(data != NULL && "Called ImGuiListClipper::Step() too many times, or before ImGuiListClipper::Begin() ?"); ImGuiTable* table = g.CurrentTable; if (table && table->IsInsideRow) ImGui::TableEndRow(table); // No items - if (ItemsCount == 0 || GetSkipItemForListClipping()) - return (void)End(), false; + if (clipper->ItemsCount == 0 || GetSkipItemForListClipping()) + return false; // While we are in frozen row state, keep displaying items one by one, unclipped // FIXME: Could be stored as a table-agnostic state. if (data->StepNo == 0 && table != NULL && !table->IsUnfrozenRows) { - DisplayStart = data->ItemsFrozen; - DisplayEnd = data->ItemsFrozen + 1; - if (DisplayStart >= ItemsCount) - return (void)End(), false; - data->ItemsFrozen++; + clipper->DisplayStart = data->ItemsFrozen; + clipper->DisplayEnd = ImMin(data->ItemsFrozen + 1, clipper->ItemsCount); + if (clipper->DisplayStart < clipper->DisplayEnd) + data->ItemsFrozen++; return true; } @@ -2455,15 +2766,13 @@ bool ImGuiListClipper::Step() bool calc_clipping = false; if (data->StepNo == 0) { - StartPosY = window->DC.CursorPos.y; - if (ItemsHeight <= 0.0f) + clipper->StartPosY = window->DC.CursorPos.y; + if (clipper->ItemsHeight <= 0.0f) { // Submit the first item (or range) so we can measure its height (generally the first range is 0..1) data->Ranges.push_front(ImGuiListClipperRange::FromIndices(data->ItemsFrozen, data->ItemsFrozen + 1)); - DisplayStart = ImMax(data->Ranges[0].Min, data->ItemsFrozen); - DisplayEnd = ImMin(data->Ranges[0].Max, ItemsCount); - if (DisplayStart == DisplayEnd) - return (void)End(), false; + clipper->DisplayStart = ImMax(data->Ranges[0].Min, data->ItemsFrozen); + clipper->DisplayEnd = ImMin(data->Ranges[0].Max, clipper->ItemsCount); data->StepNo = 1; return true; } @@ -2471,29 +2780,29 @@ bool ImGuiListClipper::Step() } // Step 1: Let the clipper infer height from first range - if (ItemsHeight <= 0.0f) + if (clipper->ItemsHeight <= 0.0f) { IM_ASSERT(data->StepNo == 1); if (table) - IM_ASSERT(table->RowPosY1 == StartPosY && table->RowPosY2 == window->DC.CursorPos.y); + IM_ASSERT(table->RowPosY1 == clipper->StartPosY && table->RowPosY2 == window->DC.CursorPos.y); - ItemsHeight = (window->DC.CursorPos.y - StartPosY) / (float)(DisplayEnd - DisplayStart); - bool affected_by_floating_point_precision = ImIsFloatAboveGuaranteedIntegerPrecision(StartPosY) || ImIsFloatAboveGuaranteedIntegerPrecision(window->DC.CursorPos.y); + clipper->ItemsHeight = (window->DC.CursorPos.y - clipper->StartPosY) / (float)(clipper->DisplayEnd - clipper->DisplayStart); + bool affected_by_floating_point_precision = ImIsFloatAboveGuaranteedIntegerPrecision(clipper->StartPosY) || ImIsFloatAboveGuaranteedIntegerPrecision(window->DC.CursorPos.y); if (affected_by_floating_point_precision) - ItemsHeight = window->DC.PrevLineSize.y + g.Style.ItemSpacing.y; // FIXME: Technically wouldn't allow multi-line entries. + clipper->ItemsHeight = window->DC.PrevLineSize.y + g.Style.ItemSpacing.y; // FIXME: Technically wouldn't allow multi-line entries. - IM_ASSERT(ItemsHeight > 0.0f && "Unable to calculate item height! First item hasn't moved the cursor vertically!"); + IM_ASSERT(clipper->ItemsHeight > 0.0f && "Unable to calculate item height! First item hasn't moved the cursor vertically!"); calc_clipping = true; // If item height had to be calculated, calculate clipping afterwards. } // Step 0 or 1: Calculate the actual ranges of visible elements. - const int already_submitted = DisplayEnd; + const int already_submitted = clipper->DisplayEnd; if (calc_clipping) { if (g.LogEnabled) { // If logging is active, do not perform any clipping - data->Ranges.push_back(ImGuiListClipperRange::FromIndices(0, ItemsCount)); + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(0, clipper->ItemsCount)); } else { @@ -2502,7 +2811,7 @@ bool ImGuiListClipper::Step() if (is_nav_request) data->Ranges.push_back(ImGuiListClipperRange::FromPositions(g.NavScoringNoClipRect.Min.y, g.NavScoringNoClipRect.Max.y, 0, 0)); if (is_nav_request && (g.NavMoveFlags & ImGuiNavMoveFlags_Tabbing) && g.NavTabbingDir == -1) - data->Ranges.push_back(ImGuiListClipperRange::FromIndices(ItemsCount - 1, ItemsCount)); + data->Ranges.push_back(ImGuiListClipperRange::FromIndices(clipper->ItemsCount - 1, clipper->ItemsCount)); // Add focused/active item ImRect nav_rect_abs = ImGui::WindowRectRelToAbs(window, window->NavRectRel[0]); @@ -2522,10 +2831,10 @@ bool ImGuiListClipper::Step() for (int i = 0; i < data->Ranges.Size; i++) if (data->Ranges[i].PosToIndexConvert) { - int m1 = (int)(((double)data->Ranges[i].Min - window->DC.CursorPos.y - data->LossynessOffset) / ItemsHeight); - int m2 = (int)((((double)data->Ranges[i].Max - window->DC.CursorPos.y - data->LossynessOffset) / ItemsHeight) + 0.999999f); - data->Ranges[i].Min = ImClamp(already_submitted + m1 + data->Ranges[i].PosToIndexOffsetMin, already_submitted, ItemsCount - 1); - data->Ranges[i].Max = ImClamp(already_submitted + m2 + data->Ranges[i].PosToIndexOffsetMax, data->Ranges[i].Min + 1, ItemsCount); + int m1 = (int)(((double)data->Ranges[i].Min - window->DC.CursorPos.y - data->LossynessOffset) / clipper->ItemsHeight); + int m2 = (int)((((double)data->Ranges[i].Max - window->DC.CursorPos.y - data->LossynessOffset) / clipper->ItemsHeight) + 0.999999f); + data->Ranges[i].Min = ImClamp(already_submitted + m1 + data->Ranges[i].PosToIndexOffsetMin, already_submitted, clipper->ItemsCount - 1); + data->Ranges[i].Max = ImClamp(already_submitted + m2 + data->Ranges[i].PosToIndexOffsetMax, data->Ranges[i].Min + 1, clipper->ItemsCount); data->Ranges[i].PosToIndexConvert = false; } ImGuiListClipper_SortAndFuseRanges(data->Ranges, data->StepNo); @@ -2534,23 +2843,42 @@ bool ImGuiListClipper::Step() // Step 0+ (if item height is given in advance) or 1+: Display the next range in line. if (data->StepNo < data->Ranges.Size) { - DisplayStart = ImMax(data->Ranges[data->StepNo].Min, already_submitted); - DisplayEnd = ImMin(data->Ranges[data->StepNo].Max, ItemsCount); - if (DisplayStart > already_submitted) //-V1051 - ImGuiListClipper_SeekCursorForItem(this, DisplayStart); + clipper->DisplayStart = ImMax(data->Ranges[data->StepNo].Min, already_submitted); + clipper->DisplayEnd = ImMin(data->Ranges[data->StepNo].Max, clipper->ItemsCount); + if (clipper->DisplayStart > already_submitted) //-V1051 + ImGuiListClipper_SeekCursorForItem(clipper, clipper->DisplayStart); data->StepNo++; return true; } // After the last step: Let the clipper validate that we have reached the expected Y position (corresponding to element DisplayEnd), // Advance the cursor to the end of the list and then returns 'false' to end the loop. - if (ItemsCount < INT_MAX) - ImGuiListClipper_SeekCursorForItem(this, ItemsCount); - ItemsCount = -1; + if (clipper->ItemsCount < INT_MAX) + ImGuiListClipper_SeekCursorForItem(clipper, clipper->ItemsCount); return false; } +bool ImGuiListClipper::Step() +{ + ImGuiContext& g = *GImGui; + bool need_items_height = (ItemsHeight <= 0.0f); + bool ret = ImGuiListClipper_StepInternal(this); + if (ret && (DisplayStart == DisplayEnd)) + ret = false; + if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n"); + if (need_items_height && ItemsHeight > 0.0f) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight); + if (ret) + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd); + else + IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n"); + if (!ret) + End(); + return ret; +} + //----------------------------------------------------------------------------- // [SECTION] STYLING //----------------------------------------------------------------------------- @@ -2617,6 +2945,11 @@ void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col) void ImGui::PopStyleColor(int count) { ImGuiContext& g = *GImGui; + if (g.ColorStack.Size < count) + { + IM_ASSERT_USER_ERROR(g.ColorStack.Size > count, "Calling PopStyleColor() too many times: stack underflow."); + count = g.ColorStack.Size; + } while (count > 0) { ImGuiColorMod& backup = g.ColorStack.back(); @@ -2701,6 +3034,11 @@ void ImGui::PushStyleVar(ImGuiStyleVar idx, const ImVec2& val) void ImGui::PopStyleVar(int count) { ImGuiContext& g = *GImGui; + if (g.StyleVarStack.Size < count) + { + IM_ASSERT_USER_ERROR(g.StyleVarStack.Size > count, "Calling PopStyleVar() too many times: stack underflow."); + count = g.StyleVarStack.Size; + } while (count > 0) { // We avoid a generic memcpy(data, &backup.Backup.., GDataTypeSize[info->Type] * info->Count), the overhead in Debug is not worth it. @@ -3024,6 +3362,32 @@ void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFl } } +void ImGui::RenderMouseCursor(ImVec2 base_pos, float base_scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(mouse_cursor > ImGuiMouseCursor_None && mouse_cursor < ImGuiMouseCursor_COUNT); + for (int n = 0; n < g.Viewports.Size; n++) + { + ImGuiViewportP* viewport = g.Viewports[n]; + ImDrawList* draw_list = GetForegroundDrawList(viewport); + ImFontAtlas* font_atlas = draw_list->_Data->Font->ContainerAtlas; + ImVec2 offset, size, uv[4]; + if (font_atlas->GetMouseCursorTexData(mouse_cursor, &offset, &size, &uv[0], &uv[2])) + { + const ImVec2 pos = base_pos - offset; + const float scale = base_scale; + ImTextureID tex_id = font_atlas->TexID; + draw_list->PushTextureID(tex_id); + draw_list->AddImage(tex_id, pos + ImVec2(1, 0) * scale, pos + (ImVec2(1, 0) + size) * scale, uv[2], uv[3], col_shadow); + draw_list->AddImage(tex_id, pos + ImVec2(2, 0) * scale, pos + (ImVec2(2, 0) + size) * scale, uv[2], uv[3], col_shadow); + draw_list->AddImage(tex_id, pos, pos + size * scale, uv[2], uv[3], col_border); + draw_list->AddImage(tex_id, pos, pos + size * scale, uv[0], uv[1], col_fill); + draw_list->PopTextureID(); + } + } +} + + //----------------------------------------------------------------------------- // [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) //----------------------------------------------------------------------------- @@ -3063,7 +3427,6 @@ ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end) { ImGuiID seed = IDStack.back(); ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); - ImGui::KeepAliveID(id); ImGuiContext& g = *GImGui; if (g.DebugHookIdInfo == id) ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); @@ -3074,7 +3437,6 @@ ImGuiID ImGuiWindow::GetID(const void* ptr) { ImGuiID seed = IDStack.back(); ImGuiID id = ImHashData(&ptr, sizeof(void*), seed); - ImGui::KeepAliveID(id); ImGuiContext& g = *GImGui; if (g.DebugHookIdInfo == id) ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL); @@ -3082,37 +3444,6 @@ ImGuiID ImGuiWindow::GetID(const void* ptr) } ImGuiID ImGuiWindow::GetID(int n) -{ - ImGuiID seed = IDStack.back(); - ImGuiID id = ImHashData(&n, sizeof(n), seed); - ImGui::KeepAliveID(id); - ImGuiContext& g = *GImGui; - if (g.DebugHookIdInfo == id) - ImGui::DebugHookIdInfo(id, ImGuiDataType_S32, (void*)(intptr_t)n, NULL); - return id; -} - -ImGuiID ImGuiWindow::GetIDNoKeepAlive(const char* str, const char* str_end) -{ - ImGuiID seed = IDStack.back(); - ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); - ImGuiContext& g = *GImGui; - if (g.DebugHookIdInfo == id) - ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); - return id; -} - -ImGuiID ImGuiWindow::GetIDNoKeepAlive(const void* ptr) -{ - ImGuiID seed = IDStack.back(); - ImGuiID id = ImHashData(&ptr, sizeof(void*), seed); - ImGuiContext& g = *GImGui; - if (g.DebugHookIdInfo == id) - ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL); - return id; -} - -ImGuiID ImGuiWindow::GetIDNoKeepAlive(int n) { ImGuiID seed = IDStack.back(); ImGuiID id = ImHashData(&n, sizeof(n), seed); @@ -3128,7 +3459,6 @@ ImGuiID ImGuiWindow::GetIDFromRectangle(const ImRect& r_abs) ImGuiID seed = IDStack.back(); ImRect r_rel = ImGui::WindowRectAbsToRel(this, r_abs); ImGuiID id = ImHashData(&r_rel, sizeof(r_rel), seed); - ImGui::KeepAliveID(id); return id; } @@ -3178,9 +3508,21 @@ void ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow* window) void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window) { ImGuiContext& g = *GImGui; + + // While most behaved code would make an effort to not steal active id during window move/drag operations, + // we at least need to be resilient to it. Cancelling the move is rather aggressive and users of 'master' branch + // may prefer the weird ill-defined half working situation ('docking' did assert), so may need to rework that. + if (g.MovingWindow != NULL && g.ActiveId == g.MovingWindow->MoveId) + { + IMGUI_DEBUG_LOG_ACTIVEID("SetActiveID() cancel MovingWindow\n"); + g.MovingWindow = NULL; + } + + // Set active id g.ActiveIdIsJustActivated = (g.ActiveId != id); if (g.ActiveIdIsJustActivated) { + IMGUI_DEBUG_LOG_ACTIVEID("SetActiveID() old:0x%08X (window \"%s\") -> new:0x%08X (window \"%s\")\n", g.ActiveId, g.ActiveIdWindow ? g.ActiveIdWindow->Name : "", id, window ? window->Name : ""); g.ActiveIdTimer = 0.0f; g.ActiveIdHasBeenPressedBefore = false; g.ActiveIdHasBeenEditedBefore = false; @@ -3199,15 +3541,16 @@ void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window) if (id) { g.ActiveIdIsAlive = id; - g.ActiveIdSource = (g.NavActivateId == id || g.NavActivateInputId == id || g.NavJustMovedToId == id) ? ImGuiInputSource_Nav : ImGuiInputSource_Mouse; + g.ActiveIdSource = (g.NavActivateId == id || g.NavActivateInputId == id || g.NavJustMovedToId == id) ? (ImGuiInputSource)ImGuiInputSource_Nav : ImGuiInputSource_Mouse; } // Clear declaration of inputs claimed by the widget // (Please note that this is WIP and not all keys/inputs are thoroughly declared by all widgets yet) - g.ActiveIdUsingMouseWheel = false; g.ActiveIdUsingNavDirMask = 0x00; + g.ActiveIdUsingAllKeyboardKeys = false; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO g.ActiveIdUsingNavInputMask = 0x00; - g.ActiveIdUsingKeyInputMask = 0x00; +#endif } void ImGui::ClearActiveID() @@ -3220,7 +3563,6 @@ void ImGui::SetHoveredID(ImGuiID id) ImGuiContext& g = *GImGui; g.HoveredId = id; g.HoveredIdAllowOverlap = false; - g.HoveredIdUsingMouseWheel = false; if (id != 0 && g.HoveredIdPreviousFrame != id) g.HoveredIdTimer = g.HoveredIdNotActiveTimer = 0.0f; } @@ -3231,6 +3573,8 @@ ImGuiID ImGui::GetHoveredID() return g.HoveredId ? g.HoveredId : g.HoveredIdPreviousFrame; } +// This is called by ItemAdd(). +// Code not using ItemAdd() may need to call this manually otherwise ActiveId will be cleared. In IMGUI_VERSION_NUM < 18717 this was called by GetID(). void ImGui::KeepAliveID(ImGuiID id) { ImGuiContext& g = *GImGui; @@ -3243,7 +3587,7 @@ void ImGui::KeepAliveID(ImGuiID id) void ImGui::MarkItemEdited(ImGuiID id) { // This marking is solely to be able to provide info for IsItemDeactivatedAfterEdit(). - // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data. + // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need to fill the data. ImGuiContext& g = *GImGui; IM_ASSERT(g.ActiveId == id || g.ActiveId == 0 || g.DragDropActive); IM_UNUSED(id); // Avoid unused variable warnings when asserts are compiled out. @@ -3263,11 +3607,17 @@ static inline bool IsWindowContentHoverable(ImGuiWindow* window, ImGuiHoveredFla if (focused_root_window->WasActive && focused_root_window != window->RootWindow) { // For the purpose of those flags we differentiate "standard popup" from "modal popup" - // NB: The order of those two tests is important because Modal windows are also Popups. + // NB: The 'else' is important because Modal windows are also Popups. + bool want_inhibit = false; if (focused_root_window->Flags & ImGuiWindowFlags_Modal) - return false; - if ((focused_root_window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiHoveredFlags_AllowWhenBlockedByPopup)) - return false; + want_inhibit = true; + else if ((focused_root_window->Flags & ImGuiWindowFlags_Popup) && !(flags & ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + want_inhibit = true; + + // Inhibit hover unless the window is within the stack of our modal/popup + if (want_inhibit) + if (!ImGui::IsWindowWithinBeginStackOf(window->RootWindow, focused_root_window)) + return false; } return true; } @@ -3279,7 +3629,7 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - if (g.NavDisableMouseHover && !g.NavDisableHighlight) + if (g.NavDisableMouseHover && !g.NavDisableHighlight && !(flags & ImGuiHoveredFlags_NoNavOverride)) { if ((g.LastItemData.InFlags & ImGuiItemFlags_Disabled) && !(flags & ImGuiHoveredFlags_AllowWhenDisabled)) return false; @@ -3294,6 +3644,7 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) return false; IM_ASSERT((flags & (ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_NoPopupHierarchy)) == 0); // Flags not supported by this function + // Done with rectangle culling so we can perform heavier checks now // Test if we are hovering the right window (our window could be behind another window) // [2021/03/02] Reworked / reverted the revert, finally. Note we want e.g. BeginGroup/ItemAdd/EndGroup to work as well. (#3851) // [2017/10/16] Reverted commit 344d48be3 and testing RootWindow instead. I believe it is correct to NOT test for RootWindow but this leaves us unable @@ -3310,7 +3661,7 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) // Test if interactions on this window are blocked by an active popup or modal. // The ImGuiHoveredFlags_AllowWhenBlockedByPopup flag will be tested here. - if (!IsWindowContentHoverable(window, flags)) + if (!IsWindowContentHoverable(window, flags) && !(g.LastItemData.InFlags & ImGuiItemFlags_NoWindowHoverableCheck)) return false; // Test if the item is disabled @@ -3323,6 +3674,24 @@ bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) return false; } + // Handle hover delay + // (some ideas: https://www.nngroup.com/articles/timing-exposing-content) + float delay; + if (flags & ImGuiHoveredFlags_DelayNormal) + delay = g.IO.HoverDelayNormal; + else if (flags & ImGuiHoveredFlags_DelayShort) + delay = g.IO.HoverDelayShort; + else + delay = 0.0f; + if (delay > 0.0f) + { + ImGuiID hover_delay_id = (g.LastItemData.ID != 0) ? g.LastItemData.ID : window->GetIDFromRectangle(g.LastItemData.Rect); + if ((flags & ImGuiHoveredFlags_NoSharedDelay) && (g.HoverDelayIdPreviousFrame != hover_delay_id)) + g.HoverDelayTimer = 0.0f; + g.HoverDelayId = hover_delay_id; + return g.HoverDelayTimer >= delay; + } + return true; } @@ -3340,9 +3709,10 @@ bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id) return false; if (!IsMouseHoveringRect(bb.Min, bb.Max)) return false; - if (g.NavDisableMouseHover) - return false; - if (!IsWindowContentHoverable(window, ImGuiHoveredFlags_None)) + + // Done with rectangle culling so we can perform heavier checks now. + ImGuiItemFlags item_flags = (g.LastItemData.ID == id ? g.LastItemData.InFlags : g.CurrentItemFlags); + if (!(item_flags & ImGuiItemFlags_NoWindowHoverableCheck) && !IsWindowContentHoverable(window, ImGuiHoveredFlags_None)) { g.HoveredIdDisabled = true; return false; @@ -3354,7 +3724,6 @@ bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id) SetHoveredID(id); // When disabled we'll return false but still set HoveredId - ImGuiItemFlags item_flags = (g.LastItemData.ID == id ? g.LastItemData.InFlags : g.CurrentItemFlags); if (item_flags & ImGuiItemFlags_Disabled) { // Release active id if turning disabled @@ -3369,17 +3738,20 @@ bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id) // [DEBUG] Item Picker tool! // We perform the check here because SetHoveredID() is not frequently called (1~ time a frame), making // the cost of this tool near-zero. We can get slightly better call-stack and support picking non-hovered - // items if we perform the test in ItemAdd(), but that would incur a small runtime cost. - // #define IMGUI_DEBUG_TOOL_ITEM_PICKER_EX in imconfig.h if you want this check to also be performed in ItemAdd(). + // items if we performed the test in ItemAdd(), but that would incur a small runtime cost. if (g.DebugItemPickerActive && g.HoveredIdPreviousFrame == id) GetForegroundDrawList()->AddRect(bb.Min, bb.Max, IM_COL32(255, 255, 0, 255)); if (g.DebugItemPickerBreakId == id) IM_DEBUG_BREAK(); } + if (g.NavDisableMouseHover) + return false; + return true; } +// FIXME: This is inlined/duplicated in ItemAdd() bool ImGui::IsClippedEx(const ImRect& bb, ImGuiID id) { ImGuiContext& g = *GImGui; @@ -3494,20 +3866,23 @@ void ImGui::GetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func, ImGuiMemFreeF ImGuiContext* ImGui::CreateContext(ImFontAtlas* shared_font_atlas) { + ImGuiContext* prev_ctx = GetCurrentContext(); ImGuiContext* ctx = IM_NEW(ImGuiContext)(shared_font_atlas); - if (GImGui == NULL) - SetCurrentContext(ctx); - Initialize(ctx); + SetCurrentContext(ctx); + Initialize(); + if (prev_ctx != NULL) + SetCurrentContext(prev_ctx); // Restore previous context if any, else keep new one. return ctx; } void ImGui::DestroyContext(ImGuiContext* ctx) { - if (ctx == NULL) - ctx = GImGui; - Shutdown(ctx); - if (GImGui == ctx) - SetCurrentContext(NULL); + ImGuiContext* prev_ctx = GetCurrentContext(); + if (ctx == NULL) //-V1051 + ctx = prev_ctx; + SetCurrentContext(ctx); + Shutdown(); + SetCurrentContext((prev_ctx != ctx) ? prev_ctx : NULL); IM_DELETE(ctx); } @@ -3627,7 +4002,7 @@ void ImGui::StartMouseMovingWindow(ImGuiWindow* window) g.NavDisableHighlight = true; g.ActiveIdClickOffset = g.IO.MouseClickedPos[0] - window->RootWindow->Pos; g.ActiveIdNoClearOnFocusLoss = true; - SetActiveIdUsingNavAndKeys(); + SetActiveIdUsingAllKeyboardKeys(); bool can_move_window = true; if ((window->Flags & ImGuiWindowFlags_NoMove) || (window->RootWindow->Flags & ImGuiWindowFlags_NoMove)) @@ -3654,11 +4029,7 @@ void ImGui::UpdateMouseMovingWindowNewFrame() if (g.IO.MouseDown[0] && IsMousePosValid(&g.IO.MousePos)) { ImVec2 pos = g.IO.MousePos - g.ActiveIdClickOffset; - if (moving_window->Pos.x != pos.x || moving_window->Pos.y != pos.y) - { - MarkIniSettingsDirty(moving_window); - SetWindowPos(moving_window, pos, ImGuiCond_Always); - } + SetWindowPos(moving_window, pos, ImGuiCond_Always); FocusWindow(g.MovingWindow); } else @@ -3738,77 +4109,248 @@ static bool IsWindowActiveAndVisible(ImGuiWindow* window) return (window->Active) && (!window->Hidden); } +static void UpdateAliasKey(ImGuiKey key, bool v, float analog_value) +{ + IM_ASSERT(ImGui::IsAliasKey(key)); + ImGuiKeyData* key_data = ImGui::GetKeyData(key); + key_data->Down = v; + key_data->AnalogValue = analog_value; +} + +// Rewrite routing data buffers to strip old entries + sort by key to make queries not touch scattered data. +// Entries D,A,B,B,A,C,B --> A,A,B,B,B,C,D +// Index A:1 B:2 C:5 D:0 --> A:0 B:2 C:5 D:6 +// See 'Metrics->Key Owners & Shortcut Routing' to visualize the result of that operation. +static void UpdateKeyRoutingTable(ImGuiKeyRoutingTable* rt) +{ + ImGuiContext& g = *GImGui; + rt->EntriesNext.resize(0); + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + const int new_routing_start_idx = rt->EntriesNext.Size; + ImGuiKeyRoutingData* routing_entry; + for (int old_routing_idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; old_routing_idx != -1; old_routing_idx = routing_entry->NextEntryIndex) + { + routing_entry = &rt->Entries[old_routing_idx]; + routing_entry->RoutingCurr = routing_entry->RoutingNext; // Update entry + routing_entry->RoutingNext = ImGuiKeyOwner_None; + routing_entry->RoutingNextScore = 255; + if (routing_entry->RoutingCurr == ImGuiKeyOwner_None) + continue; + rt->EntriesNext.push_back(*routing_entry); // Write alive ones into new buffer + + // Apply routing to owner if there's no owner already (RoutingCurr == None at this point) + if (routing_entry->Mods == g.IO.KeyMods) + { + ImGuiKeyOwnerData* owner_data = ImGui::GetKeyOwnerData(key); + if (owner_data->OwnerCurr == ImGuiKeyOwner_None) + owner_data->OwnerCurr = routing_entry->RoutingCurr; + } + } + + // Rewrite linked-list + rt->Index[key - ImGuiKey_NamedKey_BEGIN] = (ImGuiKeyRoutingIndex)(new_routing_start_idx < rt->EntriesNext.Size ? new_routing_start_idx : -1); + for (int n = new_routing_start_idx; n < rt->EntriesNext.Size; n++) + rt->EntriesNext[n].NextEntryIndex = (ImGuiKeyRoutingIndex)((n + 1 < rt->EntriesNext.Size) ? n + 1 : -1); + } + rt->Entries.swap(rt->EntriesNext); // Swap new and old indexes +} + +// [Internal] Do not use directly (should read io.KeyMods instead) +static ImGuiKeyChord GetMergedModsFromBools() +{ + ImGuiContext& g = *GImGui; + ImGuiKeyChord key_chord = 0; + if (g.IO.KeyCtrl) { key_chord |= ImGuiMod_Ctrl; } + if (g.IO.KeyShift) { key_chord |= ImGuiMod_Shift; } + if (g.IO.KeyAlt) { key_chord |= ImGuiMod_Alt; } + if (g.IO.KeySuper) { key_chord |= ImGuiMod_Super; } + return key_chord; +} + +static void ImGui::UpdateKeyboardInputs() +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // Import legacy keys or verify they are not used +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + if (io.BackendUsingLegacyKeyArrays == 0) + { + // Backend used new io.AddKeyEvent() API: Good! Verify that old arrays are never written to externally. + for (int n = 0; n < ImGuiKey_LegacyNativeKey_END; n++) + IM_ASSERT((io.KeysDown[n] == false || IsKeyDown((ImGuiKey)n)) && "Backend needs to either only use io.AddKeyEvent(), either only fill legacy io.KeysDown[] + io.KeyMap[]. Not both!"); + } + else + { + if (g.FrameCount == 0) + for (int n = ImGuiKey_LegacyNativeKey_BEGIN; n < ImGuiKey_LegacyNativeKey_END; n++) + IM_ASSERT(g.IO.KeyMap[n] == -1 && "Backend is not allowed to write to io.KeyMap[0..511]!"); + + // Build reverse KeyMap (Named -> Legacy) + for (int n = ImGuiKey_NamedKey_BEGIN; n < ImGuiKey_NamedKey_END; n++) + if (io.KeyMap[n] != -1) + { + IM_ASSERT(IsLegacyKey((ImGuiKey)io.KeyMap[n])); + io.KeyMap[io.KeyMap[n]] = n; + } + + // Import legacy keys into new ones + for (int n = ImGuiKey_LegacyNativeKey_BEGIN; n < ImGuiKey_LegacyNativeKey_END; n++) + if (io.KeysDown[n] || io.BackendUsingLegacyKeyArrays == 1) + { + const ImGuiKey key = (ImGuiKey)(io.KeyMap[n] != -1 ? io.KeyMap[n] : n); + IM_ASSERT(io.KeyMap[n] == -1 || IsNamedKey(key)); + io.KeysData[key].Down = io.KeysDown[n]; + if (key != n) + io.KeysDown[key] = io.KeysDown[n]; // Allow legacy code using io.KeysDown[GetKeyIndex()] with old backends + io.BackendUsingLegacyKeyArrays = 1; + } + if (io.BackendUsingLegacyKeyArrays == 1) + { + GetKeyData(ImGuiMod_Ctrl)->Down = io.KeyCtrl; + GetKeyData(ImGuiMod_Shift)->Down = io.KeyShift; + GetKeyData(ImGuiMod_Alt)->Down = io.KeyAlt; + GetKeyData(ImGuiMod_Super)->Down = io.KeySuper; + } + } + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + if (io.BackendUsingLegacyNavInputArray && nav_gamepad_active) + { + #define MAP_LEGACY_NAV_INPUT_TO_KEY1(_KEY, _NAV1) do { io.KeysData[_KEY].Down = (io.NavInputs[_NAV1] > 0.0f); io.KeysData[_KEY].AnalogValue = io.NavInputs[_NAV1]; } while (0) + #define MAP_LEGACY_NAV_INPUT_TO_KEY2(_KEY, _NAV1, _NAV2) do { io.KeysData[_KEY].Down = (io.NavInputs[_NAV1] > 0.0f) || (io.NavInputs[_NAV2] > 0.0f); io.KeysData[_KEY].AnalogValue = ImMax(io.NavInputs[_NAV1], io.NavInputs[_NAV2]); } while (0) + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceDown, ImGuiNavInput_Activate); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceRight, ImGuiNavInput_Cancel); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceLeft, ImGuiNavInput_Menu); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadFaceUp, ImGuiNavInput_Input); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadLeft, ImGuiNavInput_DpadLeft); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadRight, ImGuiNavInput_DpadRight); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadUp, ImGuiNavInput_DpadUp); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadDpadDown, ImGuiNavInput_DpadDown); + MAP_LEGACY_NAV_INPUT_TO_KEY2(ImGuiKey_GamepadL1, ImGuiNavInput_FocusPrev, ImGuiNavInput_TweakSlow); + MAP_LEGACY_NAV_INPUT_TO_KEY2(ImGuiKey_GamepadR1, ImGuiNavInput_FocusNext, ImGuiNavInput_TweakFast); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickLeft, ImGuiNavInput_LStickLeft); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickRight, ImGuiNavInput_LStickRight); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickUp, ImGuiNavInput_LStickUp); + MAP_LEGACY_NAV_INPUT_TO_KEY1(ImGuiKey_GamepadLStickDown, ImGuiNavInput_LStickDown); + #undef NAV_MAP_KEY + } +#endif + +#endif + + // Synchronize io.KeyMods with individual modifiers io.KeyXXX bools, update aliases + io.KeyMods = GetMergedModsFromBools(); + for (int n = 0; n < ImGuiMouseButton_COUNT; n++) + UpdateAliasKey(MouseButtonToKey(n), io.MouseDown[n], io.MouseDown[n] ? 1.0f : 0.0f); + UpdateAliasKey(ImGuiKey_MouseWheelX, io.MouseWheelH != 0.0f, io.MouseWheelH); + UpdateAliasKey(ImGuiKey_MouseWheelY, io.MouseWheel != 0.0f, io.MouseWheel); + + // Clear gamepad data if disabled + if ((io.BackendFlags & ImGuiBackendFlags_HasGamepad) == 0) + for (int i = ImGuiKey_Gamepad_BEGIN; i < ImGuiKey_Gamepad_END; i++) + { + io.KeysData[i - ImGuiKey_KeysData_OFFSET].Down = false; + io.KeysData[i - ImGuiKey_KeysData_OFFSET].AnalogValue = 0.0f; + } + + // Update keys + for (int i = 0; i < ImGuiKey_KeysData_SIZE; i++) + { + ImGuiKeyData* key_data = &io.KeysData[i]; + key_data->DownDurationPrev = key_data->DownDuration; + key_data->DownDuration = key_data->Down ? (key_data->DownDuration < 0.0f ? 0.0f : key_data->DownDuration + io.DeltaTime) : -1.0f; + } + + // Update keys/input owner (named keys only): one entry per key + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyData* key_data = &io.KeysData[key - ImGuiKey_KeysData_OFFSET]; + ImGuiKeyOwnerData* owner_data = &g.KeysOwnerData[key - ImGuiKey_NamedKey_BEGIN]; + owner_data->OwnerCurr = owner_data->OwnerNext; + if (!key_data->Down) // Important: ownership is released on the frame after a release. Ensure a 'MouseDown -> CloseWindow -> MouseUp' chain doesn't lead to someone else seeing the MouseUp. + owner_data->OwnerNext = ImGuiKeyOwner_None; + owner_data->LockThisFrame = owner_data->LockUntilRelease = owner_data->LockUntilRelease && key_data->Down; // Clear LockUntilRelease when key is not Down anymore + } + + UpdateKeyRoutingTable(&g.KeysRoutingTable); +} + static void ImGui::UpdateMouseInputs() { ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; // Round mouse position to avoid spreading non-rounded position (e.g. UpdateManualResize doesn't support them well) - if (IsMousePosValid(&g.IO.MousePos)) - g.IO.MousePos = g.MouseLastValidPos = ImFloor(g.IO.MousePos); + if (IsMousePosValid(&io.MousePos)) + io.MousePos = g.MouseLastValidPos = ImFloorSigned(io.MousePos); // If mouse just appeared or disappeared (usually denoted by -FLT_MAX components) we cancel out movement in MouseDelta - if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MousePosPrev)) - g.IO.MouseDelta = g.IO.MousePos - g.IO.MousePosPrev; + if (IsMousePosValid(&io.MousePos) && IsMousePosValid(&io.MousePosPrev)) + io.MouseDelta = io.MousePos - io.MousePosPrev; else - g.IO.MouseDelta = ImVec2(0.0f, 0.0f); + io.MouseDelta = ImVec2(0.0f, 0.0f); // If mouse moved we re-enable mouse hovering in case it was disabled by gamepad/keyboard. In theory should use a >0.0f threshold but would need to reset in everywhere we set this to true. - if (g.IO.MouseDelta.x != 0.0f || g.IO.MouseDelta.y != 0.0f) + if (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f) g.NavDisableMouseHover = false; - g.IO.MousePosPrev = g.IO.MousePos; - for (int i = 0; i < IM_ARRAYSIZE(g.IO.MouseDown); i++) + io.MousePosPrev = io.MousePos; + for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) { - g.IO.MouseClicked[i] = g.IO.MouseDown[i] && g.IO.MouseDownDuration[i] < 0.0f; - g.IO.MouseClickedCount[i] = 0; // Will be filled below - g.IO.MouseReleased[i] = !g.IO.MouseDown[i] && g.IO.MouseDownDuration[i] >= 0.0f; - g.IO.MouseDownDurationPrev[i] = g.IO.MouseDownDuration[i]; - g.IO.MouseDownDuration[i] = g.IO.MouseDown[i] ? (g.IO.MouseDownDuration[i] < 0.0f ? 0.0f : g.IO.MouseDownDuration[i] + g.IO.DeltaTime) : -1.0f; - if (g.IO.MouseClicked[i]) + io.MouseClicked[i] = io.MouseDown[i] && io.MouseDownDuration[i] < 0.0f; + io.MouseClickedCount[i] = 0; // Will be filled below + io.MouseReleased[i] = !io.MouseDown[i] && io.MouseDownDuration[i] >= 0.0f; + io.MouseDownDurationPrev[i] = io.MouseDownDuration[i]; + io.MouseDownDuration[i] = io.MouseDown[i] ? (io.MouseDownDuration[i] < 0.0f ? 0.0f : io.MouseDownDuration[i] + io.DeltaTime) : -1.0f; + if (io.MouseClicked[i]) { bool is_repeated_click = false; - if ((float)(g.Time - g.IO.MouseClickedTime[i]) < g.IO.MouseDoubleClickTime) + if ((float)(g.Time - io.MouseClickedTime[i]) < io.MouseDoubleClickTime) { - ImVec2 delta_from_click_pos = IsMousePosValid(&g.IO.MousePos) ? (g.IO.MousePos - g.IO.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); - if (ImLengthSqr(delta_from_click_pos) < g.IO.MouseDoubleClickMaxDist * g.IO.MouseDoubleClickMaxDist) + ImVec2 delta_from_click_pos = IsMousePosValid(&io.MousePos) ? (io.MousePos - io.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); + if (ImLengthSqr(delta_from_click_pos) < io.MouseDoubleClickMaxDist * io.MouseDoubleClickMaxDist) is_repeated_click = true; } if (is_repeated_click) - g.IO.MouseClickedLastCount[i]++; + io.MouseClickedLastCount[i]++; else - g.IO.MouseClickedLastCount[i] = 1; - g.IO.MouseClickedTime[i] = g.Time; - g.IO.MouseClickedPos[i] = g.IO.MousePos; - g.IO.MouseClickedCount[i] = g.IO.MouseClickedLastCount[i]; - g.IO.MouseDragMaxDistanceAbs[i] = ImVec2(0.0f, 0.0f); - g.IO.MouseDragMaxDistanceSqr[i] = 0.0f; + io.MouseClickedLastCount[i] = 1; + io.MouseClickedTime[i] = g.Time; + io.MouseClickedPos[i] = io.MousePos; + io.MouseClickedCount[i] = io.MouseClickedLastCount[i]; + io.MouseDragMaxDistanceSqr[i] = 0.0f; } - else if (g.IO.MouseDown[i]) + else if (io.MouseDown[i]) { // Maintain the maximum distance we reaching from the initial click position, which is used with dragging threshold - ImVec2 delta_from_click_pos = IsMousePosValid(&g.IO.MousePos) ? (g.IO.MousePos - g.IO.MouseClickedPos[i]) : ImVec2(0.0f, 0.0f); - g.IO.MouseDragMaxDistanceSqr[i] = ImMax(g.IO.MouseDragMaxDistanceSqr[i], ImLengthSqr(delta_from_click_pos)); - g.IO.MouseDragMaxDistanceAbs[i].x = ImMax(g.IO.MouseDragMaxDistanceAbs[i].x, delta_from_click_pos.x < 0.0f ? -delta_from_click_pos.x : delta_from_click_pos.x); - g.IO.MouseDragMaxDistanceAbs[i].y = ImMax(g.IO.MouseDragMaxDistanceAbs[i].y, delta_from_click_pos.y < 0.0f ? -delta_from_click_pos.y : delta_from_click_pos.y); + float delta_sqr_click_pos = IsMousePosValid(&io.MousePos) ? ImLengthSqr(io.MousePos - io.MouseClickedPos[i]) : 0.0f; + io.MouseDragMaxDistanceSqr[i] = ImMax(io.MouseDragMaxDistanceSqr[i], delta_sqr_click_pos); } // We provide io.MouseDoubleClicked[] as a legacy service - g.IO.MouseDoubleClicked[i] = (g.IO.MouseClickedCount[i] == 2); + io.MouseDoubleClicked[i] = (io.MouseClickedCount[i] == 2); // Clicking any mouse button reactivate mouse hovering which may have been deactivated by gamepad/keyboard navigation - if (g.IO.MouseClicked[i]) + if (io.MouseClicked[i]) g.NavDisableMouseHover = false; } } -static void StartLockWheelingWindow(ImGuiWindow* window) +static void LockWheelingWindow(ImGuiWindow* window, float wheel_amount) { ImGuiContext& g = *GImGui; + if (window) + g.WheelingWindowReleaseTimer = ImMin(g.WheelingWindowReleaseTimer + ImAbs(wheel_amount) * WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER, WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER); + else + g.WheelingWindowReleaseTimer = 0.0f; if (g.WheelingWindow == window) return; + IMGUI_DEBUG_LOG_IO("LockWheelingWindow() \"%s\"\n", window ? window->Name : "NULL"); g.WheelingWindow = window; g.WheelingWindowRefMousePos = g.IO.MousePos; - g.WheelingWindowTimer = WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER; } void ImGui::UpdateMouseWheel() @@ -3818,31 +4360,30 @@ void ImGui::UpdateMouseWheel() // Reset the locked window if we move the mouse or after the timer elapses if (g.WheelingWindow != NULL) { - g.WheelingWindowTimer -= g.IO.DeltaTime; + g.WheelingWindowReleaseTimer -= g.IO.DeltaTime; if (IsMousePosValid() && ImLengthSqr(g.IO.MousePos - g.WheelingWindowRefMousePos) > g.IO.MouseDragThreshold * g.IO.MouseDragThreshold) - g.WheelingWindowTimer = 0.0f; - if (g.WheelingWindowTimer <= 0.0f) - { - g.WheelingWindow = NULL; - g.WheelingWindowTimer = 0.0f; - } + g.WheelingWindowReleaseTimer = 0.0f; + if (g.WheelingWindowReleaseTimer <= 0.0f) + LockWheelingWindow(NULL, 0.0f); } - if (g.IO.MouseWheel == 0.0f && g.IO.MouseWheelH == 0.0f) + ImVec2 wheel; + wheel.x = TestKeyOwner(ImGuiKey_MouseWheelX, ImGuiKeyOwner_None) ? g.IO.MouseWheelH : 0.0f; + wheel.y = TestKeyOwner(ImGuiKey_MouseWheelY, ImGuiKeyOwner_None) ? g.IO.MouseWheel : 0.0f; + if (wheel.x == 0.0f && wheel.y == 0.0f) return; - if ((g.ActiveId != 0 && g.ActiveIdUsingMouseWheel) || (g.HoveredIdPreviousFrame != 0 && g.HoveredIdPreviousFrameUsingMouseWheel)) - return; - - ImGuiWindow* window = g.WheelingWindow ? g.WheelingWindow : g.HoveredWindow; - if (!window || window->Collapsed) + //IMGUI_DEBUG_LOG("MouseWheel X:%.3f Y:%.3f\n", wheel_x, wheel_y); + ImGuiWindow* mouse_window = g.WheelingWindow ? g.WheelingWindow : g.HoveredWindow; + if (!mouse_window || mouse_window->Collapsed) return; // Zoom / Scale window // FIXME-OBSOLETE: This is an old feature, it still works but pretty much nobody is using it and may be best redesigned. - if (g.IO.MouseWheel != 0.0f && g.IO.KeyCtrl && g.IO.FontAllowUserScaling) + if (wheel.y != 0.0f && g.IO.KeyCtrl && g.IO.FontAllowUserScaling) { - StartLockWheelingWindow(window); + LockWheelingWindow(mouse_window, wheel.y); + ImGuiWindow* window = mouse_window; const float new_font_scale = ImClamp(window->FontWindowScale + g.IO.MouseWheel * 0.10f, 0.50f, 2.50f); const float scale = new_font_scale / window->FontWindowScale; window->FontWindowScale = new_font_scale; @@ -3855,43 +4396,50 @@ void ImGui::UpdateMouseWheel() } return; } - - // Mouse wheel scrolling - // If a child window has the ImGuiWindowFlags_NoScrollWithMouse flag, we give a chance to scroll its parent if (g.IO.KeyCtrl) return; + // Mouse wheel scrolling // As a standard behavior holding SHIFT while using Vertical Mouse Wheel triggers Horizontal scroll instead // (we avoid doing it on OSX as it the OS input layer handles this already) const bool swap_axis = g.IO.KeyShift && !g.IO.ConfigMacOSXBehaviors; - const float wheel_y = swap_axis ? 0.0f : g.IO.MouseWheel; - const float wheel_x = swap_axis ? g.IO.MouseWheel : g.IO.MouseWheelH; + if (swap_axis) + { + wheel.x = wheel.y; + wheel.y = 0.0f; + } // Vertical Mouse Wheel scrolling - if (wheel_y != 0.0f) + // Bubble up into parent window if: + // - a child window doesn't allow any scrolling. + // - a child window doesn't need scrolling because it is already at the edge for the direction we are going in. + // - a child window has the ImGuiWindowFlags_NoScrollWithMouse flag. + if (wheel.y != 0.0f) { - StartLockWheelingWindow(window); + ImGuiWindow* window = mouse_window; while ((window->Flags & ImGuiWindowFlags_ChildWindow) && ((window->ScrollMax.y == 0.0f) || ((window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)))) window = window->ParentWindow; if (!(window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)) { + LockWheelingWindow(mouse_window, wheel.y); float max_step = window->InnerRect.GetHeight() * 0.67f; float scroll_step = ImFloor(ImMin(5 * window->CalcFontSize(), max_step)); - SetScrollY(window, window->Scroll.y - wheel_y * scroll_step); + SetScrollY(window, window->Scroll.y - wheel.y * scroll_step); } } // Horizontal Mouse Wheel scrolling, or Vertical Mouse Wheel w/ Shift held - if (wheel_x != 0.0f) + if (wheel.x != 0.0f) { - StartLockWheelingWindow(window); + ImGuiWindow* window = mouse_window; while ((window->Flags & ImGuiWindowFlags_ChildWindow) && ((window->ScrollMax.x == 0.0f) || ((window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)))) window = window->ParentWindow; if (!(window->Flags & ImGuiWindowFlags_NoScrollWithMouse) && !(window->Flags & ImGuiWindowFlags_NoMouseInputs)) { + LockWheelingWindow(mouse_window, wheel.x); float max_step = window->InnerRect.GetWidth() * 0.67f; float scroll_step = ImFloor(ImMin(2 * window->CalcFontSize(), max_step)); - SetScrollX(window, window->Scroll.x - wheel_x * scroll_step); + SetScrollX(window, window->Scroll.x - wheel.x * scroll_step); } } } @@ -3973,17 +4521,6 @@ void ImGui::UpdateHoveredWindowAndCaptureFlags() io.WantTextInput = (g.WantTextInputNextFrame != -1) ? (g.WantTextInputNextFrame != 0) : false; } -ImGuiKeyModFlags ImGui::GetMergedKeyModFlags() -{ - ImGuiContext& g = *GImGui; - ImGuiKeyModFlags key_mod_flags = ImGuiKeyModFlags_None; - if (g.IO.KeyCtrl) { key_mod_flags |= ImGuiKeyModFlags_Ctrl; } - if (g.IO.KeyShift) { key_mod_flags |= ImGuiKeyModFlags_Shift; } - if (g.IO.KeyAlt) { key_mod_flags |= ImGuiKeyModFlags_Alt; } - if (g.IO.KeySuper) { key_mod_flags |= ImGuiKeyModFlags_Super; } - return key_mod_flags; -} - void ImGui::NewFrame() { IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?"); @@ -4060,15 +4597,20 @@ void ImGui::NewFrame() if (g.HoveredId && g.ActiveId != g.HoveredId) g.HoveredIdNotActiveTimer += g.IO.DeltaTime; g.HoveredIdPreviousFrame = g.HoveredId; - g.HoveredIdPreviousFrameUsingMouseWheel = g.HoveredIdUsingMouseWheel; g.HoveredId = 0; g.HoveredIdAllowOverlap = false; - g.HoveredIdUsingMouseWheel = false; g.HoveredIdDisabled = false; - // Update ActiveId data (clear reference to active widget if the widget isn't alive anymore) - if (g.ActiveIdIsAlive != g.ActiveId && g.ActiveIdPreviousFrame == g.ActiveId && g.ActiveId != 0) + // Clear ActiveID if the item is not alive anymore. + // In 1.87, the common most call to KeepAliveID() was moved from GetID() to ItemAdd(). + // As a result, custom widget using ButtonBehavior() _without_ ItemAdd() need to call KeepAliveID() themselves. + if (g.ActiveId != 0 && g.ActiveIdIsAlive != g.ActiveId && g.ActiveIdPreviousFrame == g.ActiveId) + { + IMGUI_DEBUG_LOG_ACTIVEID("NewFrame(): ClearActiveID() because it isn't marked alive anymore!\n"); ClearActiveID(); + } + + // Update ActiveId data (clear reference to active widget if the widget isn't alive anymore) if (g.ActiveId) g.ActiveIdTimer += g.IO.DeltaTime; g.LastActiveIdTimer += g.IO.DeltaTime; @@ -4084,8 +4626,41 @@ void ImGui::NewFrame() if (g.ActiveId == 0) { g.ActiveIdUsingNavDirMask = 0x00; + g.ActiveIdUsingAllKeyboardKeys = false; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO g.ActiveIdUsingNavInputMask = 0x00; - g.ActiveIdUsingKeyInputMask = 0x00; +#endif + } + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + if (g.ActiveId == 0) + g.ActiveIdUsingNavInputMask = 0; + else if (g.ActiveIdUsingNavInputMask != 0) + { + // If your custom widget code used: { g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel); } + // Since IMGUI_VERSION_NUM >= 18804 it should be: { SetKeyOwner(ImGuiKey_Escape, g.ActiveId); SetKeyOwner(ImGuiKey_NavGamepadCancel, g.ActiveId); } + if (g.ActiveIdUsingNavInputMask & (1 << ImGuiNavInput_Cancel)) + SetKeyOwner(ImGuiKey_Escape, g.ActiveId); + if (g.ActiveIdUsingNavInputMask & ~(1 << ImGuiNavInput_Cancel)) + IM_ASSERT(0); // Other values unsupported + } +#endif + + // Update hover delay for IsItemHovered() with delays and tooltips + g.HoverDelayIdPreviousFrame = g.HoverDelayId; + if (g.HoverDelayId != 0) + { + //if (g.IO.MouseDelta.x == 0.0f && g.IO.MouseDelta.y == 0.0f) // Need design/flags + g.HoverDelayTimer += g.IO.DeltaTime; + g.HoverDelayClearTimer = 0.0f; + g.HoverDelayId = 0; + } + else if (g.HoverDelayTimer > 0.0f) + { + // This gives a little bit of leeway before clearing the hover timer, allowing mouse to cross gaps + g.HoverDelayClearTimer += g.IO.DeltaTime; + if (g.HoverDelayClearTimer >= ImMax(0.20f, g.IO.DeltaTime * 2.0f)) // ~6 frames at 30 Hz + allow for low framerate + g.HoverDelayTimer = g.HoverDelayClearTimer = 0.0f; // May want a decaying timer, in which case need to clamp at max first, based on max of caller last requested timer. } // Drag and drop @@ -4100,20 +4675,17 @@ void ImGui::NewFrame() //if (g.IO.AppFocusLost) // ClosePopupsExceptModals(); - // Clear buttons state when focus is lost - // (this is useful so e.g. releasing Alt after focus loss on Alt-Tab doesn't trigger the Alt menu toggle) - if (g.IO.AppFocusLost) - { - g.IO.ClearInputKeys(); - g.IO.AppFocusLost = false; - } + // Process input queue (trickle as many events as possible) + g.InputEventsTrail.resize(0); + UpdateInputEvents(g.IO.ConfigInputTrickleEventQueue); // Update keyboard input state - // Synchronize io.KeyMods with individual modifiers io.KeyXXX bools - g.IO.KeyMods = GetMergedKeyModFlags(); - memcpy(g.IO.KeysDownDurationPrev, g.IO.KeysDownDuration, sizeof(g.IO.KeysDownDuration)); - for (int i = 0; i < IM_ARRAYSIZE(g.IO.KeysDown); i++) - g.IO.KeysDownDuration[i] = g.IO.KeysDown[i] ? (g.IO.KeysDownDuration[i] < 0.0f ? 0.0f : g.IO.KeysDownDuration[i] + g.IO.DeltaTime) : -1.0f; + UpdateKeyboardInputs(); + + //IM_ASSERT(g.IO.KeyCtrl == IsKeyDown(ImGuiKey_LeftCtrl) || IsKeyDown(ImGuiKey_RightCtrl)); + //IM_ASSERT(g.IO.KeyShift == IsKeyDown(ImGuiKey_LeftShift) || IsKeyDown(ImGuiKey_RightShift)); + //IM_ASSERT(g.IO.KeyAlt == IsKeyDown(ImGuiKey_LeftAlt) || IsKeyDown(ImGuiKey_RightAlt)); + //IM_ASSERT(g.IO.KeySuper == IsKeyDown(ImGuiKey_LeftSuper) || IsKeyDown(ImGuiKey_RightSuper)); // Update gamepad/keyboard navigation NavUpdate(); @@ -4136,7 +4708,10 @@ void ImGui::NewFrame() g.MouseCursor = ImGuiMouseCursor_Arrow; g.WantCaptureMouseNextFrame = g.WantCaptureKeyboardNextFrame = g.WantTextInputNextFrame = -1; - g.PlatformImePos = ImVec2(1.0f, 1.0f); // OS Input Method Editor showing on top-left of our window by default + + // Platform IME data: reset for the frame + g.PlatformImeDataPrev = g.PlatformImeData; + g.PlatformImeData.WantVisible = false; // Mouse wheel scrolling, scale UpdateMouseWheel(); @@ -4148,9 +4723,10 @@ void ImGui::NewFrame() { ImGuiWindow* window = g.Windows[i]; window->WasActive = window->Active; - window->BeginCount = 0; window->Active = false; window->WriteAccessed = false; + window->BeginCountPreviousFrame = window->BeginCount; + window->BeginCount = 0; // Garbage collect transient buffers of recently unused windows if (!window->WasActive && !window->MemoryCompacted && window->LastTimeActive < memory_compact_start_time) @@ -4183,10 +4759,12 @@ void ImGui::NewFrame() // [DEBUG] Update debug features UpdateDebugToolItemPicker(); UpdateDebugToolStackQueries(); + if (g.DebugLocateFrames > 0 && --g.DebugLocateFrames == 0) + g.DebugLocateId = 0; // Create implicit/fallback window - which we will only render it if the user has added something to it. // We don't use "Debug" to avoid colliding with user trying to create a "Debug" window with custom flags. - // This fallback is particularly important as it avoid ImGui:: calls from crashing. + // This fallback is particularly important as it prevents ImGui:: calls from crashing. g.WithinFrameScopeWithImplicitWindow = true; SetNextWindowSize(ImVec2(400, 400), ImGuiCond_FirstUseEver); Begin("Debug##Default"); @@ -4195,12 +4773,24 @@ void ImGui::NewFrame() CallContextHooks(&g, ImGuiContextHookType_NewFramePost); } -void ImGui::Initialize(ImGuiContext* context) +// IMPORTANT: ###xxx suffixes must be same in ALL languages +static const ImGuiLocEntry GLocalizationEntriesEnUS[] = { - ImGuiContext& g = *context; + { ImGuiLocKey_TableSizeOne, "Size column to fit###SizeOne" }, + { ImGuiLocKey_TableSizeAllFit, "Size all columns to fit###SizeAll" }, + { ImGuiLocKey_TableSizeAllDefault, "Size all columns to default###SizeAll" }, + { ImGuiLocKey_TableResetOrder, "Reset order###ResetOrder" }, + { ImGuiLocKey_WindowingMainMenuBar, "(Main menu bar)" }, + { ImGuiLocKey_WindowingPopup, "(Popup)" }, + { ImGuiLocKey_WindowingUntitled, "(Untitled)" }, +}; + +void ImGui::Initialize() +{ + ImGuiContext& g = *GImGui; IM_ASSERT(!g.Initialized && !g.SettingsLoaded); - // Add .ini handle for ImGuiWindow type + // Add .ini handle for ImGuiWindow and ImGuiTable types { ImGuiSettingsHandler ini_handler; ini_handler.TypeName = "Window"; @@ -4210,15 +4800,17 @@ void ImGui::Initialize(ImGuiContext* context) ini_handler.ReadLineFn = WindowSettingsHandler_ReadLine; ini_handler.ApplyAllFn = WindowSettingsHandler_ApplyAll; ini_handler.WriteAllFn = WindowSettingsHandler_WriteAll; - g.SettingsHandlers.push_back(ini_handler); + AddSettingsHandler(&ini_handler); } + TableSettingsAddSettingsHandler(); - // Add .ini handle for ImGuiTable type - TableSettingsInstallHandler(context); + // Setup default localization table + LocalizeRegisterEntries(GLocalizationEntriesEnUS, IM_ARRAYSIZE(GLocalizationEntriesEnUS)); // Create default viewport ImGuiViewportP* viewport = IM_NEW(ImGuiViewportP)(); g.Viewports.push_back(viewport); + g.TempBuffer.resize(1024 * 3 + 1, 0); #ifdef IMGUI_HAS_DOCK #endif @@ -4227,16 +4819,17 @@ void ImGui::Initialize(ImGuiContext* context) } // This function is merely here to free heap allocations. -void ImGui::Shutdown(ImGuiContext* context) +void ImGui::Shutdown() { // The fonts atlas can be used prior to calling NewFrame(), so we clear it even if g.Initialized is FALSE (which would happen if we never called NewFrame) - ImGuiContext& g = *context; + ImGuiContext& g = *GImGui; if (g.IO.Fonts && g.FontAtlasOwnedByContext) { g.IO.Fonts->Locked = false; IM_DELETE(g.IO.Fonts); } g.IO.Fonts = NULL; + g.DrawListSharedData.TempBuffer.clear(); // Cleanup of other data are conditional on actually having initialized Dear ImGui. if (!g.Initialized) @@ -4244,12 +4837,7 @@ void ImGui::Shutdown(ImGuiContext* context) // Save settings (unless we haven't attempted to load them: CreateContext/DestroyContext without a call to NewFrame shouldn't save an empty file) if (g.SettingsLoaded && g.IO.IniFilename != NULL) - { - ImGuiContext* backup_context = GImGui; - SetCurrentContext(&g); SaveIniSettingsToDisk(g.IO.IniFilename); - SetCurrentContext(backup_context); - } CallContextHooks(&g, ImGuiContextHookType_Shutdown); @@ -4264,6 +4852,9 @@ void ImGui::Shutdown(ImGuiContext* context) g.HoveredWindow = g.HoveredWindowUnderMovingWindow = NULL; g.ActiveIdWindow = g.ActiveIdPreviousFrameWindow = NULL; g.MovingWindow = NULL; + + g.KeysRoutingTable.Clear(); + g.ColorStack.clear(); g.StyleVarStack.clear(); g.FontStack.clear(); @@ -4298,6 +4889,8 @@ void ImGui::Shutdown(ImGuiContext* context) g.LogFile = NULL; } g.LogBuffer.clear(); + g.DebugLogBuf.clear(); + g.DebugLogIndex.clear(); g.Initialized = false; } @@ -4332,11 +4925,10 @@ static void AddWindowToSortBuffer(ImVector* out_sorted_windows, Im static void AddDrawListToDrawData(ImVector* out_list, ImDrawList* draw_list) { - // Remove trailing command if unused. - // Technically we could return directly instead of popping, but this make things looks neat in Metrics/Debugger window as well. - draw_list->_PopUnusedDrawCmd(); if (draw_list->CmdBuffer.Size == 0) return; + if (draw_list->CmdBuffer.Size == 1 && draw_list->CmdBuffer[0].ElemCount == 0 && draw_list->CmdBuffer[0].UserCallback == NULL) + return; // Draw list sanity check. Detect mismatch between PrimReserve() calls and incrementing _VtxCurrentIdx, _VtxWritePtr etc. // May trigger for you if you are using PrimXXX functions incorrectly. @@ -4422,8 +5014,10 @@ static void SetupViewportDrawData(ImGuiViewportP* viewport, ImVectorFramebufferScale = io.DisplayFramebufferScale; for (int n = 0; n < draw_lists->Size; n++) { - draw_data->TotalVtxCount += draw_lists->Data[n]->VtxBuffer.Size; - draw_data->TotalIdxCount += draw_lists->Data[n]->IdxBuffer.Size; + ImDrawList* draw_list = draw_lists->Data[n]; + draw_list->_PopUnusedDrawCmd(); + draw_data->TotalVtxCount += draw_list->VtxBuffer.Size; + draw_data->TotalIdxCount += draw_list->IdxBuffer.Size; } } @@ -4459,6 +5053,7 @@ static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 { // We've already called AddWindowToDrawData() which called DrawList->ChannelsMerge() on DockNodeHost windows, // and draw list have been trimmed already, hence the explicit recreation of a draw command if missing. + // FIXME: This is creating complication, might be simpler if we could inject a drawlist in drawdata at a given position and not attempt to manipulate ImDrawCmd order. ImDrawList* draw_list = window->RootWindow->DrawList; if (draw_list->CmdBuffer.Size == 0) draw_list->AddDrawCmd(); @@ -4469,6 +5064,7 @@ static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 draw_list->CmdBuffer.pop_back(); draw_list->CmdBuffer.push_front(cmd); draw_list->PopClipRect(); + draw_list->AddDrawCmd(); // We need to create a command as CmdBuffer.back().IdxOffset won't be correct if we append to same command. } } @@ -4493,6 +5089,8 @@ static void ImGui::RenderDimmedBackgrounds() { ImGuiContext& g = *GImGui; ImGuiWindow* modal_window = GetTopMostAndVisiblePopupModal(); + if (g.DimBgRatio <= 0.0f && g.NavWindowingHighlightAlpha <= 0.0f) + return; const bool dim_bg_for_modal = (modal_window != NULL); const bool dim_bg_for_window_list = (g.NavWindowingTargetAnim != NULL && g.NavWindowingTargetAnim->Active); if (!dim_bg_for_modal && !dim_bg_for_window_list) @@ -4540,12 +5138,9 @@ void ImGui::EndFrame() ErrorCheckEndFrameSanityChecks(); - // Notify OS when our Input Method Editor cursor has moved (e.g. CJK inputs using Microsoft IME) - if (g.IO.ImeSetInputScreenPosFn && (g.PlatformImeLastPos.x == FLT_MAX || ImLengthSqr(g.PlatformImeLastPos - g.PlatformImePos) > 0.0001f)) - { - g.IO.ImeSetInputScreenPosFn((int)g.PlatformImePos.x, (int)g.PlatformImePos.y); - g.PlatformImeLastPos = g.PlatformImePos; - } + // Notify Platform/OS when our Input Method Editor cursor has moved (e.g. CJK inputs using Microsoft IME) + if (g.IO.SetPlatformImeDataFn && memcmp(&g.PlatformImeData, &g.PlatformImeDataPrev, sizeof(ImGuiPlatformImeData)) != 0) + g.IO.SetPlatformImeDataFn(GetMainViewport(), &g.PlatformImeData); // Hide implicit/fallback "Debug" window if it hasn't been used g.WithinFrameScopeWithImplicitWindow = false; @@ -4601,10 +5196,9 @@ void ImGui::EndFrame() g.IO.Fonts->Locked = false; // Clear Input data for next frame + g.IO.AppFocusLost = false; g.IO.MouseWheel = g.IO.MouseWheelH = 0.0f; g.IO.InputQueueCharacters.resize(0); - g.IO.KeyModsPrev = g.IO.KeyMods; // doing it here is better than in NewFrame() as we'll tolerate backend writing to KeyMods. If we want to firmly disallow it we should detect it. - memset(g.IO.NavInputs, 0, sizeof(g.IO.NavInputs)); CallContextHooks(&g, ImGuiContextHookType_EndFramePost); } @@ -4653,6 +5247,10 @@ void ImGui::Render() if (windows_to_render_top_most[n] && IsWindowActiveAndVisible(windows_to_render_top_most[n])) // NavWindowingTarget is always temporarily displayed as the top-most window AddRootWindowToDrawData(windows_to_render_top_most[n]); + // Draw software mouse cursor if requested by io.MouseDrawCursor flag + if (g.IO.MouseDrawCursor && first_render_of_frame && g.MouseCursor != ImGuiMouseCursor_None) + RenderMouseCursor(g.IO.MousePos, g.Style.MouseCursorScale, g.MouseCursor, IM_COL32_WHITE, IM_COL32_BLACK, IM_COL32(0, 0, 0, 48)); + // Setup ImDrawData structures for end-user g.IO.MetricsRenderVertices = g.IO.MetricsRenderIndices = 0; for (int n = 0; n < g.Viewports.Size; n++) @@ -4660,10 +5258,6 @@ void ImGui::Render() ImGuiViewportP* viewport = g.Viewports[n]; viewport->DrawDataBuilder.FlattenIntoSingleLayer(); - // Draw software mouse cursor if requested by io.MouseDrawCursor flag - if (g.IO.MouseDrawCursor && first_render_of_frame) - RenderMouseCursor(GetForegroundDrawList(viewport), g.IO.MousePos, g.Style.MouseCursorScale, g.MouseCursor, IM_COL32_WHITE, IM_COL32_BLACK, IM_COL32(0, 0, 0, 48)); - // Add foreground ImDrawList (for each active viewport) if (viewport->DrawLists[1] != NULL) AddDrawListToDrawData(&viewport->DrawDataBuilder.Layers[0], GetForegroundDrawList(viewport)); @@ -4761,238 +5355,6 @@ static void FindHoveredWindow() g.HoveredWindowUnderMovingWindow = hovered_window_ignoring_moving_window; } -// Test if mouse cursor is hovering given rectangle -// NB- Rectangle is clipped by our current clip setting -// NB- Expand the rectangle to be generous on imprecise inputs systems (g.Style.TouchExtraPadding) -bool ImGui::IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip) -{ - ImGuiContext& g = *GImGui; - - // Clip - ImRect rect_clipped(r_min, r_max); - if (clip) - rect_clipped.ClipWith(g.CurrentWindow->ClipRect); - - // Expand for touch input - const ImRect rect_for_touch(rect_clipped.Min - g.Style.TouchExtraPadding, rect_clipped.Max + g.Style.TouchExtraPadding); - if (!rect_for_touch.Contains(g.IO.MousePos)) - return false; - return true; -} - -int ImGui::GetKeyIndex(ImGuiKey imgui_key) -{ - IM_ASSERT(imgui_key >= 0 && imgui_key < ImGuiKey_COUNT); - ImGuiContext& g = *GImGui; - return g.IO.KeyMap[imgui_key]; -} - -// Note that dear imgui doesn't know the semantic of each entry of io.KeysDown[]! -// Use your own indices/enums according to how your backend/engine stored them into io.KeysDown[]! -bool ImGui::IsKeyDown(int user_key_index) -{ - if (user_key_index < 0) - return false; - ImGuiContext& g = *GImGui; - IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - return g.IO.KeysDown[user_key_index]; -} - -// t0 = previous time (e.g.: g.Time - g.IO.DeltaTime) -// t1 = current time (e.g.: g.Time) -// An event is triggered at: -// t = 0.0f t = repeat_delay, t = repeat_delay + repeat_rate*N -int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate) -{ - if (t1 == 0.0f) - return 1; - if (t0 >= t1) - return 0; - if (repeat_rate <= 0.0f) - return (t0 < repeat_delay) && (t1 >= repeat_delay); - const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((t0 - repeat_delay) / repeat_rate); - const int count_t1 = (t1 < repeat_delay) ? -1 : (int)((t1 - repeat_delay) / repeat_rate); - const int count = count_t1 - count_t0; - return count; -} - -int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) -{ - ImGuiContext& g = *GImGui; - if (key_index < 0) - return 0; - IM_ASSERT(key_index >= 0 && key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - const float t = g.IO.KeysDownDuration[key_index]; - return CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, repeat_delay, repeat_rate); -} - -bool ImGui::IsKeyPressed(int user_key_index, bool repeat) -{ - ImGuiContext& g = *GImGui; - if (user_key_index < 0) - return false; - IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - const float t = g.IO.KeysDownDuration[user_key_index]; - if (t == 0.0f) - return true; - if (repeat && t > g.IO.KeyRepeatDelay) - return GetKeyPressedAmount(user_key_index, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; - return false; -} - -bool ImGui::IsKeyReleased(int user_key_index) -{ - ImGuiContext& g = *GImGui; - if (user_key_index < 0) return false; - IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); - return g.IO.KeysDownDurationPrev[user_key_index] >= 0.0f && !g.IO.KeysDown[user_key_index]; -} - -bool ImGui::IsMouseDown(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseDown[button]; -} - -bool ImGui::IsMouseClicked(ImGuiMouseButton button, bool repeat) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - const float t = g.IO.MouseDownDuration[button]; - if (t == 0.0f) - return true; - - if (repeat && t > g.IO.KeyRepeatDelay) - { - // FIXME: 2019/05/03: Our old repeat code was wrong here and led to doubling the repeat rate, which made it an ok rate for repeat on mouse hold. - int amount = CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate * 0.50f); - if (amount > 0) - return true; - } - return false; -} - -bool ImGui::IsMouseReleased(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseReleased[button]; -} - -bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseClickedCount[button] == 2; -} - -int ImGui::GetMouseClickedCount(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - return g.IO.MouseClickedCount[button]; -} - -// Return if a mouse click/drag went past the given threshold. Valid to call during the MouseReleased frame. -// [Internal] This doesn't test if the button is pressed -bool ImGui::IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - if (lock_threshold < 0.0f) - lock_threshold = g.IO.MouseDragThreshold; - return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; -} - -bool ImGui::IsMouseDragging(ImGuiMouseButton button, float lock_threshold) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - if (!g.IO.MouseDown[button]) - return false; - return IsMouseDragPastThreshold(button, lock_threshold); -} - -ImVec2 ImGui::GetMousePos() -{ - ImGuiContext& g = *GImGui; - return g.IO.MousePos; -} - -// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed! -ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup() -{ - ImGuiContext& g = *GImGui; - if (g.BeginPopupStack.Size > 0) - return g.OpenPopupStack[g.BeginPopupStack.Size - 1].OpenMousePos; - return g.IO.MousePos; -} - -// We typically use ImVec2(-FLT_MAX,-FLT_MAX) to denote an invalid mouse position. -bool ImGui::IsMousePosValid(const ImVec2* mouse_pos) -{ - // The assert is only to silence a false-positive in XCode Static Analysis. - // Because GImGui is not dereferenced in every code path, the static analyzer assume that it may be NULL (which it doesn't for other functions). - IM_ASSERT(GImGui != NULL); - const float MOUSE_INVALID = -256000.0f; - ImVec2 p = mouse_pos ? *mouse_pos : GImGui->IO.MousePos; - return p.x >= MOUSE_INVALID && p.y >= MOUSE_INVALID; -} - -bool ImGui::IsAnyMouseDown() -{ - ImGuiContext& g = *GImGui; - for (int n = 0; n < IM_ARRAYSIZE(g.IO.MouseDown); n++) - if (g.IO.MouseDown[n]) - return true; - return false; -} - -// Return the delta from the initial clicking position while the mouse button is clicked or was just released. -// This is locked and return 0.0f until the mouse moves past a distance threshold at least once. -// NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window. -ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - if (lock_threshold < 0.0f) - lock_threshold = g.IO.MouseDragThreshold; - if (g.IO.MouseDown[button] || g.IO.MouseReleased[button]) - if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold) - if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MouseClickedPos[button])) - return g.IO.MousePos - g.IO.MouseClickedPos[button]; - return ImVec2(0.0f, 0.0f); -} - -void ImGui::ResetMouseDragDelta(ImGuiMouseButton button) -{ - ImGuiContext& g = *GImGui; - IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); - // NB: We don't need to reset g.IO.MouseDragMaxDistanceSqr - g.IO.MouseClickedPos[button] = g.IO.MousePos; -} - -ImGuiMouseCursor ImGui::GetMouseCursor() -{ - return GImGui->MouseCursor; -} - -void ImGui::SetMouseCursor(ImGuiMouseCursor cursor_type) -{ - GImGui->MouseCursor = cursor_type; -} - -void ImGui::CaptureKeyboardFromApp(bool capture) -{ - GImGui->WantCaptureKeyboardNextFrame = capture ? 1 : 0; -} - -void ImGui::CaptureMouseFromApp(bool capture) -{ - GImGui->WantCaptureMouseNextFrame = capture ? 1 : 0; -} - bool ImGui::IsItemActive() { ImGuiContext& g = *GImGui; @@ -5073,7 +5435,7 @@ bool ImGui::IsAnyItemFocused() bool ImGui::IsItemVisible() { ImGuiContext& g = *GImGui; - return g.CurrentWindow->ClipRect.Overlaps(g.LastItemData.Rect); + return (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) != 0; } bool ImGui::IsItemEdited() @@ -5094,23 +5456,13 @@ void ImGui::SetItemAllowOverlap() g.ActiveIdAllowOverlap = true; } -void ImGui::SetItemUsingMouseWheel() -{ - ImGuiContext& g = *GImGui; - ImGuiID id = g.LastItemData.ID; - if (g.HoveredId == id) - g.HoveredIdUsingMouseWheel = true; - if (g.ActiveId == id) - g.ActiveIdUsingMouseWheel = true; -} - -void ImGui::SetActiveIdUsingNavAndKeys() +// FIXME: It might be undesirable that this will likely disable KeyOwner-aware shortcuts systems. Consider a more fine-tuned version for the two users of this function. +void ImGui::SetActiveIdUsingAllKeyboardKeys() { ImGuiContext& g = *GImGui; IM_ASSERT(g.ActiveId != 0); - g.ActiveIdUsingNavDirMask = ~(ImU32)0; - g.ActiveIdUsingNavInputMask = ~(ImU32)0; - g.ActiveIdUsingKeyInputMask = ~(ImU64)0; + g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_COUNT) - 1; + g.ActiveIdUsingAllKeyboardKeys = true; NavMoveRequestCancel(); } @@ -5145,21 +5497,22 @@ bool ImGui::BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, b ImVec2 size = ImFloor(size_arg); const int auto_fit_axises = ((size.x == 0.0f) ? (1 << ImGuiAxis_X) : 0x00) | ((size.y == 0.0f) ? (1 << ImGuiAxis_Y) : 0x00); if (size.x <= 0.0f) - size.x = ImMax(content_avail.x + size.x, 4.0f); // Arbitrary minimum child size (0.0f causing too much issues) + size.x = ImMax(content_avail.x + size.x, 4.0f); // Arbitrary minimum child size (0.0f causing too many issues) if (size.y <= 0.0f) size.y = ImMax(content_avail.y + size.y, 4.0f); SetNextWindowSize(size); // Build up name. If you need to append to a same child from multiple location in the ID stack, use BeginChild(ImGuiID id) with a stable value. + const char* temp_window_name; if (name) - ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%s/%s_%08X", parent_window->Name, name, id); + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%s_%08X", parent_window->Name, name, id); else - ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%s/%08X", parent_window->Name, id); + ImFormatStringToTempBuffer(&temp_window_name, NULL, "%s/%08X", parent_window->Name, id); const float backup_border_size = g.Style.ChildBorderSize; if (!border) g.Style.ChildBorderSize = 0.0f; - bool ret = Begin(g.TempBuffer, NULL, flags); + bool ret = Begin(temp_window_name, NULL, flags); g.Style.ChildBorderSize = backup_border_size; ImGuiWindow* child_window = g.CurrentWindow; @@ -5291,7 +5644,7 @@ static void UpdateWindowInFocusOrderList(ImGuiWindow* window, bool just_created, { ImGuiContext& g = *GImGui; - const bool new_is_explicit_child = (new_flags & ImGuiWindowFlags_ChildWindow) != 0; + const bool new_is_explicit_child = (new_flags & ImGuiWindowFlags_ChildWindow) != 0 && ((new_flags & ImGuiWindowFlags_Popup) == 0 || (new_flags & ImGuiWindowFlags_ChildMenu) != 0); const bool child_flag_changed = new_is_explicit_child != window->IsExplicitChild; if ((just_created || child_flag_changed) && !new_is_explicit_child) { @@ -5333,7 +5686,7 @@ static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags) SetWindowConditionAllowFlags(window, ImGuiCond_FirstUseEver, false); ApplyWindowSettings(window, settings); } - window->DC.CursorStartPos = window->DC.CursorMaxPos = window->Pos; // So first call to CalcContentSize() doesn't return crazy values + window->DC.CursorStartPos = window->DC.CursorMaxPos = window->DC.IdealMaxPos = window->Pos; // So first call to CalcWindowContentSizes() doesn't return crazy values if ((flags & ImGuiWindowFlags_AlwaysAutoResize) != 0) { @@ -5353,7 +5706,6 @@ static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags) g.Windows.push_front(window); // Quite slow but rare and only once else g.Windows.push_back(window); - UpdateWindowInFocusOrderList(window, true, window->Flags); return window; } @@ -5434,8 +5786,7 @@ static ImVec2 CalcWindowAutoFitSize(ImGuiWindow* window, const ImVec2& size_cont if (is_popup || is_menu) // Popups and menus bypass style.WindowMinSize by default, but we give then a non-zero minimum size to facilitate understanding problematic cases (e.g. empty popups) size_min = ImMin(size_min, ImVec2(4.0f, 4.0f)); - // FIXME-VIEWPORT-WORKAREA: May want to use GetWorkSize() instead of Size depending on the type of windows? - ImVec2 avail_size = ImGui::GetMainViewport()->Size; + ImVec2 avail_size = ImGui::GetMainViewport()->WorkSize; ImVec2 size_auto_fit = ImClamp(size_desired, size_min, ImMax(size_min, avail_size - style.DisplaySafeAreaPadding * 2.0f)); // When the window cannot fit all contents (either because of constraints, either because screen is too small), @@ -5549,7 +5900,7 @@ ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) } // Handle resize for: Resize Grips, Borders, Gamepad -// Return true when using auto-fit (double click on resize grip) +// Return true when using auto-fit (double-click on resize grip) static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect) { ImGuiContext& g = *GImGui; @@ -5557,7 +5908,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s if ((flags & ImGuiWindowFlags_NoResize) || (flags & ImGuiWindowFlags_AlwaysAutoResize) || window->AutoFitFramesX > 0 || window->AutoFitFramesY > 0) return false; - if (window->WasActive == false) // Early out to avoid running this code for e.g. an hidden implicit/fallback Debug window. + if (window->WasActive == false) // Early out to avoid running this code for e.g. a hidden implicit/fallback Debug window. return false; bool ret_auto_fit = false; @@ -5585,6 +5936,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s if (resize_rect.Min.x > resize_rect.Max.x) ImSwap(resize_rect.Min.x, resize_rect.Max.x); if (resize_rect.Min.y > resize_rect.Max.y) ImSwap(resize_rect.Min.y, resize_rect.Max.y); ImGuiID resize_grip_id = window->GetID(resize_grip_n); // == GetWindowResizeCornerID() + ItemAdd(resize_rect, resize_grip_id, NULL, ImGuiItemFlags_NoNav); ButtonBehavior(resize_rect, resize_grip_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); //GetForegroundDrawList(window)->AddRect(resize_rect.Min, resize_rect.Max, IM_COL32(255, 255, 0, 255)); if (hovered || held) @@ -5620,6 +5972,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s bool hovered, held; ImRect border_rect = GetResizeBorderRect(window, border_n, grip_hover_inner_size, WINDOWS_HOVER_PADDING); ImGuiID border_id = window->GetID(border_n + 4); // == GetWindowResizeBorderID() + ItemAdd(border_rect, border_id, NULL, ImGuiItemFlags_NoNav); ButtonBehavior(border_rect, border_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); //GetForegroundDrawLists(window)->AddRect(border_rect.Min, border_rect.Max, IM_COL32(255, 255, 0, 255)); if ((hovered && g.HoveredIdTimer > WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER) || held) @@ -5644,23 +5997,31 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s window->DC.NavLayerCurrent = ImGuiNavLayer_Main; // Navigation resize (keyboard/gamepad) + // FIXME: This cannot be moved to NavUpdateWindowing() because CalcWindowSizeAfterConstraint() need to callback into user. + // Not even sure the callback works here. if (g.NavWindowingTarget && g.NavWindowingTarget->RootWindow == window) { - ImVec2 nav_resize_delta; + ImVec2 nav_resize_dir; if (g.NavInputSource == ImGuiInputSource_Keyboard && g.IO.KeyShift) - nav_resize_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_RawKeyboard, ImGuiInputReadMode_Down); + nav_resize_dir = GetKeyVector2d(ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow); if (g.NavInputSource == ImGuiInputSource_Gamepad) - nav_resize_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_PadDPad, ImGuiInputReadMode_Down); - if (nav_resize_delta.x != 0.0f || nav_resize_delta.y != 0.0f) + nav_resize_dir = GetKeyVector2d(ImGuiKey_GamepadDpadLeft, ImGuiKey_GamepadDpadRight, ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadDpadDown); + if (nav_resize_dir.x != 0.0f || nav_resize_dir.y != 0.0f) { const float NAV_RESIZE_SPEED = 600.0f; - nav_resize_delta *= ImFloor(NAV_RESIZE_SPEED * g.IO.DeltaTime * ImMin(g.IO.DisplayFramebufferScale.x, g.IO.DisplayFramebufferScale.y)); - nav_resize_delta = ImMax(nav_resize_delta, visibility_rect.Min - window->Pos - window->Size); + const float resize_step = NAV_RESIZE_SPEED * g.IO.DeltaTime * ImMin(g.IO.DisplayFramebufferScale.x, g.IO.DisplayFramebufferScale.y); + g.NavWindowingAccumDeltaSize += nav_resize_dir * resize_step; + g.NavWindowingAccumDeltaSize = ImMax(g.NavWindowingAccumDeltaSize, visibility_rect.Min - window->Pos - window->Size); // We need Pos+Size >= visibility_rect.Min, so Size >= visibility_rect.Min - Pos, so size_delta >= visibility_rect.Min - window->Pos - window->Size g.NavWindowingToggleLayer = false; g.NavDisableMouseHover = true; resize_grip_col[0] = GetColorU32(ImGuiCol_ResizeGripActive); - // FIXME-NAV: Should store and accumulate into a separate size buffer to handle sizing constraints properly, right now a constraint will make us stuck. - size_target = CalcWindowSizeAfterConstraint(window, window->SizeFull + nav_resize_delta); + ImVec2 accum_floored = ImFloor(g.NavWindowingAccumDeltaSize); + if (accum_floored.x != 0.0f || accum_floored.y != 0.0f) + { + // FIXME-NAV: Should store and accumulate into a separate size buffer to handle sizing constraints properly, right now a constraint will make us stuck. + size_target = CalcWindowSizeAfterConstraint(window, window->SizeFull + accum_floored); + g.NavWindowingAccumDeltaSize -= accum_floored; + } } } @@ -5680,7 +6041,7 @@ static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& s return ret_auto_fit; } -static inline void ClampWindowRect(ImGuiWindow* window, const ImRect& visibility_rect) +static inline void ClampWindowPos(ImGuiWindow* window, const ImRect& visibility_rect) { ImGuiContext& g = *GImGui; ImVec2 size_for_clamping = window->Size; @@ -5726,7 +6087,7 @@ void ImGui::RenderWindowDecorations(ImGuiWindow* window, const ImRect& title_bar window->SkipItems = false; // Draw window + handle manual resize - // As we highlight the title bar when want_focus is set, multiple reappearing windows will have have their title bar highlighted on their reappearing frame. + // As we highlight the title bar when want_focus is set, multiple reappearing windows will have their title bar highlighted on their reappearing frame. const float window_rounding = window->WindowRounding; const float window_border_size = window->WindowBorderSize; if (window->Collapsed) @@ -5923,7 +6284,9 @@ static ImGuiWindow* ImGui::FindBlockingModal(ImGuiWindow* window) for (int i = g.OpenPopupStack.Size - 1; i >= 0; i--) { ImGuiWindow* popup_window = g.OpenPopupStack.Data[i].Window; - if (popup_window == NULL || !popup_window->WasActive || !(popup_window->Flags & ImGuiWindowFlags_Modal)) // Check WasActive, because this code may run before popup renders on current frame. + if (popup_window == NULL || !(popup_window->Flags & ImGuiWindowFlags_Modal)) + continue; + if (!popup_window->Active && !popup_window->WasActive) // Check WasActive, because this code may run before popup renders on current frame, also check Active to handle newly created windows. continue; if (IsWindowWithinBeginStackOf(window, popup_window)) // Window is rendered over last modal, no render order change needed. break; @@ -5954,8 +6317,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) const bool window_just_created = (window == NULL); if (window_just_created) window = CreateNewWindow(name, flags); - else - UpdateWindowInFocusOrderList(window, window_just_created, flags); // Automatically disable manual moving/resizing when NoInputs is set if ((flags & ImGuiWindowFlags_NoInputs) == ImGuiWindowFlags_NoInputs) @@ -5983,6 +6344,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // Update Flags, LastFrameActive, BeginOrderXXX fields if (first_begin_of_the_frame) { + UpdateWindowInFocusOrderList(window, window_just_created, flags); window->Flags = (ImGuiWindowFlags)flags; window->LastFrameActive = current_frame; window->LastTimeActive = (float)g.Time; @@ -6011,18 +6373,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window_stack_data.ParentLastItemDataBackup = g.LastItemData; window_stack_data.StackSizesOnBegin.SetToCurrentState(); g.CurrentWindowStack.push_back(window_stack_data); - g.CurrentWindow = NULL; if (flags & ImGuiWindowFlags_ChildMenu) g.BeginMenuCount++; - if (flags & ImGuiWindowFlags_Popup) - { - ImGuiPopupData& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; - popup_ref.Window = window; - g.BeginPopupStack.push_back(popup_ref); - window->PopupId = popup_ref.PopupId; - } - // Update ->RootWindow and others pointers (before any possible call to FocusWindow) if (first_begin_of_the_frame) { @@ -6030,6 +6383,21 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window->ParentWindowInBeginStack = parent_window_in_stack; } + // Add to focus scope stack + PushFocusScope(window->ID); + window->NavRootFocusScopeId = g.CurrentFocusScopeId; + g.CurrentWindow = NULL; + + // Add to popup stack + if (flags & ImGuiWindowFlags_Popup) + { + ImGuiPopupData& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; + popup_ref.Window = window; + popup_ref.ParentNavLayer = parent_window_in_stack->DC.NavLayerCurrent; + g.BeginPopupStack.push_back(popup_ref); + window->PopupId = popup_ref.PopupId; + } + // Process SetNextWindow***() calls // (FIXME: Consider splitting the HasXXX flags into X/Y components bool window_pos_set_by_api = false; @@ -6085,6 +6453,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) { // Initialize const bool window_is_child_tooltip = (flags & ImGuiWindowFlags_ChildWindow) && (flags & ImGuiWindowFlags_Tooltip); // FIXME-WIP: Undocumented behavior of Child+Tooltip for pinned tooltip (#1345) + const bool window_just_appearing_after_hidden_for_resize = (window->HiddenFramesCannotSkipItems > 0); window->Active = true; window->HasCloseButton = (p_open != NULL); window->ClipRect = ImVec4(-FLT_MAX, -FLT_MAX, +FLT_MAX, +FLT_MAX); @@ -6111,7 +6480,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // UPDATE CONTENTS SIZE, UPDATE HIDDEN STATUS // Update contents size from last frame for auto-fitting (or use explicit size) - const bool window_just_appearing_after_hidden_for_resize = (window->HiddenFramesCannotSkipItems > 0); CalcWindowContentSizes(window, &window->ContentSize, &window->ContentSizeIdeal); if (window->HiddenFramesCanSkipItems > 0) window->HiddenFramesCanSkipItems--; @@ -6141,6 +6509,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // SELECT VIEWPORT // FIXME-VIEWPORT: In the docking/viewport branch, this is the point where we select the current viewport (which may affect the style) + + ImGuiViewportP* viewport = (ImGuiViewportP*)(void*)GetMainViewport(); + SetWindowViewport(window, viewport); SetCurrentWindow(window); // LOCK BORDER SIZE AND PADDING FOR THE FRAME (so that altering them doesn't cause inconsistencies) @@ -6157,6 +6528,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window->DC.MenuBarOffset.x = ImMax(ImMax(window->WindowPadding.x, style.ItemSpacing.x), g.NextWindowData.MenuBarOffsetMinVal.x); window->DC.MenuBarOffset.y = g.NextWindowData.MenuBarOffsetMinVal.y; + bool use_current_size_for_scrollbar_x = window_just_created; + bool use_current_size_for_scrollbar_y = window_just_created; + // Collapse window by double-clicking on title bar // At this point we don't have a clipping rectangle setup yet, so we can use the title bar area for hit detection and drawing if (!(flags & ImGuiWindowFlags_NoTitleBar) && !(flags & ImGuiWindowFlags_NoCollapse)) @@ -6168,6 +6542,8 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) if (window->WantCollapseToggle) { window->Collapsed = !window->Collapsed; + if (!window->Collapsed) + use_current_size_for_scrollbar_y = true; MarkIniSettingsDirty(window); } } @@ -6181,8 +6557,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // Calculate auto-fit size, handle automatic resize const ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, window->ContentSizeIdeal); - bool use_current_size_for_scrollbar_x = window_just_created; - bool use_current_size_for_scrollbar_y = window_just_created; if ((flags & ImGuiWindowFlags_AlwaysAutoResize) && !window->Collapsed) { // Using SetNextWindowSize() overrides ImGuiWindowFlags_AlwaysAutoResize, so it can be used on tooltips/popups, etc. @@ -6254,7 +6628,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // Calculate the range of allowed position for that window (to be movable and visible past safe area padding) // When clamping to stay visible, we will enforce that window->Pos stays inside of visibility_rect. - ImGuiViewportP* viewport = (ImGuiViewportP*)(void*)GetMainViewport(); ImRect viewport_rect(viewport->GetMainRect()); ImRect viewport_work_rect(viewport->GetWorkRect()); ImVec2 visibility_padding = ImMax(style.DisplayWindowPadding, style.DisplaySafeAreaPadding); @@ -6262,9 +6635,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // Clamp position/size so window stays visible within its viewport or monitor // Ignore zero-sized display explicitly to avoid losing positions if a window manager reports zero-sized window when initializing or minimizing. - if (!window_pos_set_by_api && !(flags & ImGuiWindowFlags_ChildWindow) && window->AutoFitFramesX <= 0 && window->AutoFitFramesY <= 0) + if (!window_pos_set_by_api && !(flags & ImGuiWindowFlags_ChildWindow)) if (viewport_rect.GetWidth() > 0.0f && viewport_rect.GetHeight() > 0.0f) - ClampWindowRect(window, visibility_rect); + ClampWindowPos(window, visibility_rect); window->Pos = ImFloor(window->Pos); // Lock window rounding for the frame (so that altering them doesn't cause inconsistencies) @@ -6301,6 +6674,18 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) } } + // [Test Engine] Register whole window in the item system +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (g.TestEngineHookItems) + { + IM_ASSERT(window->IDStack.Size == 1); + window->IDStack.Size = 0; // As window->IDStack[0] == window->ID here, make sure TestEngine doesn't erroneously see window as parent of itself. + IMGUI_TEST_ENGINE_ITEM_ADD(window->Rect(), window->ID); + IMGUI_TEST_ENGINE_ITEM_INFO(window->ID, window->Name, (g.HoveredWindow == window) ? ImGuiItemStatusFlags_HoveredRect : 0); + window->IDStack.Size = 1; + } +#endif + // Handle manual resize: Resize Grips, Borders, Gamepad int border_held = -1; ImU32 resize_grip_col[4] = {}; @@ -6332,7 +6717,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) } // UPDATE RECTANGLES (1- THOSE NOT AFFECTED BY SCROLLING) - // Update various regions. Variables they depends on should be set above in this function. + // Update various regions. Variables they depend on should be set above in this function. // We set this up after processing the resize grip so that our rectangles doesn't lag by a frame. // Outer rectangle @@ -6467,6 +6852,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) window->DC.IdealMaxPos = window->DC.CursorStartPos; window->DC.CurrLineSize = window->DC.PrevLineSize = ImVec2(0.0f, 0.0f); window->DC.CurrLineTextBaseOffset = window->DC.PrevLineTextBaseOffset = 0.0f; + window->DC.IsSameLine = window->DC.IsSetPos = false; window->DC.NavLayerCurrent = ImGuiNavLayer_Main; window->DC.NavLayersActiveMask = window->DC.NavLayersActiveMaskNext; @@ -6514,7 +6900,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) /* //if (g.NavWindow == window && g.ActiveId == 0) if (g.ActiveId == window->MoveId) - if (g.IO.KeyCtrl && IsKeyPressedMap(ImGuiKey_C)) + if (g.IO.KeyCtrl && IsKeyPressed(ImGuiKey_C)) LogToClipboard(); */ @@ -6522,6 +6908,13 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) // This is useful to allow creating context menus on title bar only, etc. SetLastItemData(window->MoveId, g.CurrentItemFlags, IsMouseHoveringRect(title_bar_rect.Min, title_bar_rect.Max, false) ? ImGuiItemStatusFlags_HoveredRect : 0, title_bar_rect); + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (g.DebugLocateId != 0 && (window->ID == g.DebugLocateId || window->MoveId == g.DebugLocateId)) + DebugLocateItemResolveWithLastItem(); +#endif + + // [Test Engine] Register title bar / tab #ifdef IMGUI_ENABLE_TEST_ENGINE if (!(window->Flags & ImGuiWindowFlags_NoTitleBar)) IMGUI_TEST_ENGINE_ITEM_ADD(g.LastItemData.Rect, g.LastItemData.ID); @@ -6533,9 +6926,6 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags) SetCurrentWindow(window); } - // Pull/inherit current state - window->DC.NavFocusScopeIdCurrent = (flags & ImGuiWindowFlags_ChildWindow) ? parent_window->DC.NavFocusScopeIdCurrent : window->GetID("#FOCUSSCOPE"); // Inherit from parent only // -V595 - PushClipRect(window->InnerClipRect.Min, window->InnerClipRect.Max, true); // Clear 'accessed' flag last thing (After PushClipRect which will set the flag. We want the flag to stay false when the default "Debug" window is unused) @@ -6613,11 +7003,15 @@ void ImGui::End() if (window->DC.CurrentColumns) EndColumns(); PopClipRect(); // Inner window clip rectangle + PopFocusScope(); // Stop logging if (!(window->Flags & ImGuiWindowFlags_ChildWindow)) // FIXME: add more options for scope of logging LogFinish(); + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + // Pop from window stack g.LastItemData = g.CurrentWindowStack.back().ParentLastItemDataBackup; if (window->Flags & ImGuiWindowFlags_ChildMenu) @@ -6714,20 +7108,17 @@ void ImGui::FocusWindow(ImGuiWindow* window) if (g.NavWindow != window) { - g.NavWindow = window; + SetNavWindow(window); if (window && g.NavDisableMouseHover) g.NavMousePosDirty = true; g.NavId = window ? window->NavLastIds[0] : 0; // Restore NavId - g.NavFocusScopeId = 0; - g.NavIdIsAlive = false; g.NavLayer = ImGuiNavLayer_Main; - g.NavInitRequest = g.NavMoveSubmitted = g.NavMoveScoringItems = false; - NavUpdateAnyRequestFlag(); - //IMGUI_DEBUG_LOG("FocusWindow(\"%s\")\n", window ? window->Name : NULL); - } + g.NavFocusScopeId = window ? window->NavRootFocusScopeId : 0; + g.NavIdIsAlive = false; - // Close popups if any - ClosePopupsOverWindow(window, false); + // Close popups if any + ClosePopupsOverWindow(window, false); + } // Move the root window to the top of the pile IM_ASSERT(window == NULL || window->RootWindow != NULL); @@ -7065,6 +7456,9 @@ void ImGui::SetWindowPos(ImGuiWindow* window, const ImVec2& pos, ImGuiCond cond) const ImVec2 old_pos = window->Pos; window->Pos = ImFloor(pos); ImVec2 offset = window->Pos - old_pos; + if (offset.x == 0.0f && offset.y == 0.0f) + return; + MarkIniSettingsDirty(window); window->DC.CursorPos += offset; // As we happen to move the window while it is being appended to (which is a bad idea - will smear) let's at least offset the cursor window->DC.CursorMaxPos += offset; // And more importantly we need to offset CursorMaxPos/CursorStartPos this so ContentSize calculation doesn't get affected. window->DC.IdealMaxPos += offset; @@ -7099,26 +7493,19 @@ void ImGui::SetWindowSize(ImGuiWindow* window, const ImVec2& size, ImGuiCond con window->SetWindowSizeAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing); // Set - if (size.x > 0.0f) - { - window->AutoFitFramesX = 0; + ImVec2 old_size = window->SizeFull; + window->AutoFitFramesX = (size.x <= 0.0f) ? 2 : 0; + window->AutoFitFramesY = (size.y <= 0.0f) ? 2 : 0; + if (size.x <= 0.0f) + window->AutoFitOnlyGrows = false; + else window->SizeFull.x = IM_FLOOR(size.x); - } - else - { - window->AutoFitFramesX = 2; + if (size.y <= 0.0f) window->AutoFitOnlyGrows = false; - } - if (size.y > 0.0f) - { - window->AutoFitFramesY = 0; + else window->SizeFull.y = IM_FLOOR(size.y); - } - else - { - window->AutoFitFramesY = 2; - window->AutoFitOnlyGrows = false; - } + if (old_size.x != window->SizeFull.x || old_size.y != window->SizeFull.y) + MarkIniSettingsDirty(window); } void ImGui::SetWindowSize(const ImVec2& size, ImGuiCond cond) @@ -7297,26 +7684,38 @@ void ImGui::ActivateItem(ImGuiID id) void ImGui::PushFocusScope(ImGuiID id) { ImGuiContext& g = *GImGui; - ImGuiWindow* window = g.CurrentWindow; - g.FocusScopeStack.push_back(window->DC.NavFocusScopeIdCurrent); - window->DC.NavFocusScopeIdCurrent = id; + g.FocusScopeStack.push_back(id); + g.CurrentFocusScopeId = id; } void ImGui::PopFocusScope() { ImGuiContext& g = *GImGui; - ImGuiWindow* window = g.CurrentWindow; IM_ASSERT(g.FocusScopeStack.Size > 0); // Too many PopFocusScope() ? - window->DC.NavFocusScopeIdCurrent = g.FocusScopeStack.back(); g.FocusScopeStack.pop_back(); + g.CurrentFocusScopeId = g.FocusScopeStack.Size ? g.FocusScopeStack.back() : 0; } +// Note: this will likely be called ActivateItem() once we rework our Focus/Activation system! void ImGui::SetKeyboardFocusHere(int offset) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; IM_ASSERT(offset >= -1); // -1 is allowed but not below - g.NavWindow = window; + IMGUI_DEBUG_LOG_ACTIVEID("SetKeyboardFocusHere(%d) in window \"%s\"\n", offset, window->Name); + + // It makes sense in the vast majority of cases to never interrupt a drag and drop. + // When we refactor this function into ActivateItem() we may want to make this an option. + // MovingWindow is protected from most user inputs using SetActiveIdUsingNavAndKeys(), but + // is also automatically dropped in the event g.ActiveId is stolen. + if (g.DragDropActive || g.MovingWindow != NULL) + { + IMGUI_DEBUG_LOG_ACTIVEID("SetKeyboardFocusHere() ignored while DragDropActive!\n"); + return; + } + + SetNavWindow(window); + ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; NavMoveRequestSubmit(ImGuiDir_None, offset < 0 ? ImGuiDir_Up : ImGuiDir_Down, ImGuiNavMoveFlags_Tabbing | ImGuiNavMoveFlags_FocusApi, scroll_flags); // FIXME-NAV: Once we refactor tabbing, add LegacyApi flag to not activate non-inputable. if (offset == -1) @@ -7344,7 +7743,7 @@ void ImGui::SetItemDefaultFocus() g.NavInitResultRectRel = WindowRectAbsToRel(window, g.LastItemData.Rect); NavUpdateAnyRequestFlag(); - // Scroll could be done in NavInitRequestApplyResult() via a opt-in flag (we however don't want regular init requests to scroll) + // Scroll could be done in NavInitRequestApplyResult() via an opt-in flag (we however don't want regular init requests to scroll) if (!IsItemVisible()) ScrollToRectEx(window, g.LastItemData.Rect, ImGuiScrollFlags_None); } @@ -7365,7 +7764,7 @@ void ImGui::PushID(const char* str_id) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(str_id); + ImGuiID id = window->GetID(str_id); window->IDStack.push_back(id); } @@ -7373,7 +7772,7 @@ void ImGui::PushID(const char* str_id_begin, const char* str_id_end) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(str_id_begin, str_id_end); + ImGuiID id = window->GetID(str_id_begin, str_id_end); window->IDStack.push_back(id); } @@ -7381,7 +7780,7 @@ void ImGui::PushID(const void* ptr_id) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(ptr_id); + ImGuiID id = window->GetID(ptr_id); window->IDStack.push_back(id); } @@ -7389,7 +7788,7 @@ void ImGui::PushID(int int_id) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - ImGuiID id = window->GetIDNoKeepAlive(int_id); + ImGuiID id = window->GetID(int_id); window->IDStack.push_back(id); } @@ -7409,7 +7808,6 @@ void ImGui::PushOverrideID(ImGuiID id) ImGuiID ImGui::GetIDWithSeed(const char* str, const char* str_end, ImGuiID seed) { ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); - KeepAliveID(id); ImGuiContext& g = *GImGui; if (g.DebugHookIdInfo == id) DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); @@ -7454,15 +7852,825 @@ bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max) } +//----------------------------------------------------------------------------- +// [SECTION] INPUTS +//----------------------------------------------------------------------------- + +// Test if mouse cursor is hovering given rectangle +// NB- Rectangle is clipped by our current clip setting +// NB- Expand the rectangle to be generous on imprecise inputs systems (g.Style.TouchExtraPadding) +bool ImGui::IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip) +{ + ImGuiContext& g = *GImGui; + + // Clip + ImRect rect_clipped(r_min, r_max); + if (clip) + rect_clipped.ClipWith(g.CurrentWindow->ClipRect); + + // Expand for touch input + const ImRect rect_for_touch(rect_clipped.Min - g.Style.TouchExtraPadding, rect_clipped.Max + g.Style.TouchExtraPadding); + if (!rect_for_touch.Contains(g.IO.MousePos)) + return false; + return true; +} + +ImGuiKeyData* ImGui::GetKeyData(ImGuiKey key) +{ + ImGuiContext& g = *GImGui; + + // Special storage location for mods + if (key & ImGuiMod_Mask_) + key = ConvertSingleModFlagToKey(key); + + int index; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + IM_ASSERT(key >= ImGuiKey_LegacyNativeKey_BEGIN && key < ImGuiKey_NamedKey_END); + if (IsLegacyKey(key)) + index = (g.IO.KeyMap[key] != -1) ? g.IO.KeyMap[key] : key; // Remap native->imgui or imgui->native + else + index = key; +#else + IM_ASSERT(IsNamedKey(key) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend & user code."); + index = key - ImGuiKey_NamedKey_BEGIN; +#endif + return &g.IO.KeysData[index]; +} + +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +ImGuiKey ImGui::GetKeyIndex(ImGuiKey key) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(IsNamedKey(key)); + const ImGuiKeyData* key_data = GetKeyData(key); + return (ImGuiKey)(key_data - g.IO.KeysData); +} +#endif + +// Those names a provided for debugging purpose and are not meant to be saved persistently not compared. +static const char* const GKeyNames[] = +{ + "Tab", "LeftArrow", "RightArrow", "UpArrow", "DownArrow", "PageUp", "PageDown", + "Home", "End", "Insert", "Delete", "Backspace", "Space", "Enter", "Escape", + "LeftCtrl", "LeftShift", "LeftAlt", "LeftSuper", "RightCtrl", "RightShift", "RightAlt", "RightSuper", "Menu", + "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", + "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", + "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", + "Apostrophe", "Comma", "Minus", "Period", "Slash", "Semicolon", "Equal", "LeftBracket", + "Backslash", "RightBracket", "GraveAccent", "CapsLock", "ScrollLock", "NumLock", "PrintScreen", + "Pause", "Keypad0", "Keypad1", "Keypad2", "Keypad3", "Keypad4", "Keypad5", "Keypad6", + "Keypad7", "Keypad8", "Keypad9", "KeypadDecimal", "KeypadDivide", "KeypadMultiply", + "KeypadSubtract", "KeypadAdd", "KeypadEnter", "KeypadEqual", + "GamepadStart", "GamepadBack", + "GamepadFaceLeft", "GamepadFaceRight", "GamepadFaceUp", "GamepadFaceDown", + "GamepadDpadLeft", "GamepadDpadRight", "GamepadDpadUp", "GamepadDpadDown", + "GamepadL1", "GamepadR1", "GamepadL2", "GamepadR2", "GamepadL3", "GamepadR3", + "GamepadLStickLeft", "GamepadLStickRight", "GamepadLStickUp", "GamepadLStickDown", + "GamepadRStickLeft", "GamepadRStickRight", "GamepadRStickUp", "GamepadRStickDown", + "MouseLeft", "MouseRight", "MouseMiddle", "MouseX1", "MouseX2", "MouseWheelX", "MouseWheelY", + "ModCtrl", "ModShift", "ModAlt", "ModSuper", // ReservedForModXXX are showing the ModXXX names. +}; +IM_STATIC_ASSERT(ImGuiKey_NamedKey_COUNT == IM_ARRAYSIZE(GKeyNames)); + +const char* ImGui::GetKeyName(ImGuiKey key) +{ +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + IM_ASSERT((IsNamedKey(key) || key == ImGuiKey_None) && "Support for user key indices was dropped in favor of ImGuiKey. Please update backend and user code."); +#else + if (IsLegacyKey(key)) + { + ImGuiIO& io = GetIO(); + if (io.KeyMap[key] == -1) + return "N/A"; + IM_ASSERT(IsNamedKey((ImGuiKey)io.KeyMap[key])); + key = (ImGuiKey)io.KeyMap[key]; + } +#endif + if (key == ImGuiKey_None) + return "None"; + if (key & ImGuiMod_Mask_) + key = ConvertSingleModFlagToKey(key); + if (!IsNamedKey(key)) + return "Unknown"; + + return GKeyNames[key - ImGuiKey_NamedKey_BEGIN]; +} + +void ImGui::GetKeyChordName(ImGuiKeyChord key_chord, char* out_buf, int out_buf_size) +{ + ImGuiContext& g = *GImGui; + ImFormatString(out_buf, (size_t)out_buf_size, "%s%s%s%s%s", + (key_chord & ImGuiMod_Ctrl) ? "Ctrl+" : "", + (key_chord & ImGuiMod_Shift) ? "Shift+" : "", + (key_chord & ImGuiMod_Alt) ? "Alt+" : "", + (key_chord & ImGuiMod_Super) ? (g.IO.ConfigMacOSXBehaviors ? "Cmd+" : "Super+") : "", + GetKeyName((ImGuiKey)(key_chord & ~ImGuiMod_Mask_))); +} + +// t0 = previous time (e.g.: g.Time - g.IO.DeltaTime) +// t1 = current time (e.g.: g.Time) +// An event is triggered at: +// t = 0.0f t = repeat_delay, t = repeat_delay + repeat_rate*N +int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate) +{ + if (t1 == 0.0f) + return 1; + if (t0 >= t1) + return 0; + if (repeat_rate <= 0.0f) + return (t0 < repeat_delay) && (t1 >= repeat_delay); + const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((t0 - repeat_delay) / repeat_rate); + const int count_t1 = (t1 < repeat_delay) ? -1 : (int)((t1 - repeat_delay) / repeat_rate); + const int count = count_t1 - count_t0; + return count; +} + +void ImGui::GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate) +{ + ImGuiContext& g = *GImGui; + switch (flags & ImGuiInputFlags_RepeatRateMask_) + { + case ImGuiInputFlags_RepeatRateNavMove: *repeat_delay = g.IO.KeyRepeatDelay * 0.72f; *repeat_rate = g.IO.KeyRepeatRate * 0.80f; return; + case ImGuiInputFlags_RepeatRateNavTweak: *repeat_delay = g.IO.KeyRepeatDelay * 0.72f; *repeat_rate = g.IO.KeyRepeatRate * 0.30f; return; + case ImGuiInputFlags_RepeatRateDefault: default: *repeat_delay = g.IO.KeyRepeatDelay * 1.00f; *repeat_rate = g.IO.KeyRepeatRate * 1.00f; return; + } +} + +// Return value representing the number of presses in the last time period, for the given repeat rate +// (most often returns 0 or 1. The result is generally only >1 when RepeatRate is smaller than DeltaTime, aka large DeltaTime or fast RepeatRate) +int ImGui::GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float repeat_rate) +{ + ImGuiContext& g = *GImGui; + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return 0; + const float t = key_data->DownDuration; + return CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, repeat_delay, repeat_rate); +} + +// Return 2D vector representing the combination of four cardinal direction, with analog value support (for e.g. ImGuiKey_GamepadLStick* values). +ImVec2 ImGui::GetKeyVector2d(ImGuiKey key_left, ImGuiKey key_right, ImGuiKey key_up, ImGuiKey key_down) +{ + return ImVec2( + GetKeyData(key_right)->AnalogValue - GetKeyData(key_left)->AnalogValue, + GetKeyData(key_down)->AnalogValue - GetKeyData(key_up)->AnalogValue); +} + +// owner_id may be None/Any, but routing_id needs to be always be set, so we default to GetCurrentFocusScope(). +static inline ImGuiID GetRoutingIdFromOwnerId(ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + return (owner_id != ImGuiKeyOwner_None && owner_id != ImGuiKeyOwner_Any) ? owner_id : g.CurrentFocusScopeId; +} + +ImGuiKeyRoutingData* ImGui::GetShortcutRoutingData(ImGuiKeyChord key_chord) +{ + // Majority of shortcuts will be Key + any number of Mods + // We accept _Single_ mod with ImGuiKey_None. + // - Shortcut(ImGuiKey_S | ImGuiMod_Ctrl); // Legal + // - Shortcut(ImGuiKey_S | ImGuiMod_Ctrl | ImGuiMod_Shift); // Legal + // - Shortcut(ImGuiMod_Ctrl); // Legal + // - Shortcut(ImGuiMod_Ctrl | ImGuiMod_Shift); // Not legal + ImGuiContext& g = *GImGui; + ImGuiKeyRoutingTable* rt = &g.KeysRoutingTable; + ImGuiKeyRoutingData* routing_data; + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey(mods); + IM_ASSERT(IsNamedKey(key)); + + // Get (in the majority of case, the linked list will have one element so this should be 2 reads. + // Subsequent elements will be contiguous in memory as list is sorted/rebuilt in NewFrame). + for (ImGuiKeyRoutingIndex idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; idx != -1; idx = routing_data->NextEntryIndex) + { + routing_data = &rt->Entries[idx]; + if (routing_data->Mods == mods) + return routing_data; + } + + // Add to linked-list + ImGuiKeyRoutingIndex routing_data_idx = (ImGuiKeyRoutingIndex)rt->Entries.Size; + rt->Entries.push_back(ImGuiKeyRoutingData()); + routing_data = &rt->Entries[routing_data_idx]; + routing_data->Mods = (ImU16)mods; + routing_data->NextEntryIndex = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; // Setup linked list + rt->Index[key - ImGuiKey_NamedKey_BEGIN] = routing_data_idx; + return routing_data; +} + +// Current score encoding (lower is highest priority): +// - 0: ImGuiInputFlags_RouteGlobalHigh +// - 1: ImGuiInputFlags_RouteFocused (if item active) +// - 2: ImGuiInputFlags_RouteGlobal +// - 3+: ImGuiInputFlags_RouteFocused (if window in focus-stack) +// - 254: ImGuiInputFlags_RouteGlobalLow +// - 255: never route +// 'flags' should include an explicit routing policy +static int CalcRoutingScore(ImGuiWindow* location, ImGuiID owner_id, ImGuiInputFlags flags) +{ + if (flags & ImGuiInputFlags_RouteFocused) + { + ImGuiContext& g = *GImGui; + ImGuiWindow* focused = g.NavWindow; + + // ActiveID gets top priority + // (we don't check g.ActiveIdUsingAllKeys here. Routing is applied but if input ownership is tested later it may discard it) + if (owner_id != 0 && g.ActiveId == owner_id) + return 1; + + // Score based on distance to focused window (lower is better) + // Assuming both windows are submitting a routing request, + // - When Window....... is focused -> Window scores 3 (best), Window/ChildB scores 255 (no match) + // - When Window/ChildB is focused -> Window scores 4, Window/ChildB scores 3 (best) + // Assuming only WindowA is submitting a routing request, + // - When Window/ChildB is focused -> Window scores 4 (best), Window/ChildB doesn't have a score. + if (focused != NULL && focused->RootWindow == location->RootWindow) + for (int next_score = 3; focused != NULL; next_score++) + { + if (focused == location) + { + IM_ASSERT(next_score < 255); + return next_score; + } + focused = (focused->RootWindow != focused) ? focused->ParentWindow : NULL; // FIXME: This could be later abstracted as a focus path + } + return 255; + } + + // ImGuiInputFlags_RouteGlobalHigh is default, so calls without flags are not conditional + if (flags & ImGuiInputFlags_RouteGlobal) + return 2; + if (flags & ImGuiInputFlags_RouteGlobalLow) + return 254; + return 0; +} + +// Request a desired route for an input chord (key + mods). +// Return true if the route is available this frame. +// - Routes and key ownership are attributed at the beginning of next frame based on best score and mod state. +// (Conceptually this does a "Submit for next frame" + "Test for current frame". +// As such, it could be called TrySetXXX or SubmitXXX, or the Submit and Test operations should be separate.) +// - Using 'owner_id == ImGuiKeyOwner_Any/0': auto-assign an owner based on current focus scope (each window has its focus scope by default) +// - Using 'owner_id == ImGuiKeyOwner_None': allows disabling/locking a shortcut. +bool ImGui::SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + if ((flags & ImGuiInputFlags_RouteMask_) == 0) + flags |= ImGuiInputFlags_RouteGlobalHigh; // IMPORTANT: This is the default for SetShortcutRouting() but NOT Shortcut() + else + IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiInputFlags_RouteMask_)); // Check that only 1 routing flag is used + + if (flags & ImGuiInputFlags_RouteUnlessBgFocused) + if (g.NavWindow == NULL) + return false; + if (flags & ImGuiInputFlags_RouteAlways) + return true; + + const int score = CalcRoutingScore(g.CurrentWindow, owner_id, flags); + if (score == 255) + return false; + + // Submit routing for NEXT frame (assuming score is sufficient) + // FIXME: Could expose a way to use a "serve last" policy for same score resolution (using <= instead of <). + ImGuiKeyRoutingData* routing_data = GetShortcutRoutingData(key_chord); + const ImGuiID routing_id = GetRoutingIdFromOwnerId(owner_id); + //const bool set_route = (flags & ImGuiInputFlags_ServeLast) ? (score <= routing_data->RoutingNextScore) : (score < routing_data->RoutingNextScore); + if (score < routing_data->RoutingNextScore) + { + routing_data->RoutingNext = routing_id; + routing_data->RoutingNextScore = (ImU8)score; + } + + // Return routing state for CURRENT frame + return routing_data->RoutingCurr == routing_id; +} + +// Currently unused by core (but used by tests) +// Note: this cannot be turned into GetShortcutRouting() because we do the owner_id->routing_id translation, name would be more misleading. +bool ImGui::TestShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id) +{ + const ImGuiID routing_id = GetRoutingIdFromOwnerId(owner_id); + ImGuiKeyRoutingData* routing_data = GetShortcutRoutingData(key_chord); + return routing_data->RoutingCurr == routing_id; +} + +// Note that Dear ImGui doesn't know the meaning/semantic of ImGuiKey from 0..511: they are legacy native keycodes. +// Consider transitioning from 'IsKeyDown(MY_ENGINE_KEY_A)' (<1.87) to IsKeyDown(ImGuiKey_A) (>= 1.87) +bool ImGui::IsKeyDown(ImGuiKey key) +{ + return IsKeyDown(key, ImGuiKeyOwner_Any); +} + +bool ImGui::IsKeyDown(ImGuiKey key, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat) +{ + return IsKeyPressed(key, ImGuiKeyOwner_Any, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None); +} + +// Important: unless legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat. +bool ImGui::IsKeyPressed(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (!key_data->Down) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return false; + const float t = key_data->DownDuration; + if (t < 0.0f) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByIsKeyPressed) == 0); // Passing flags not supported by this function! + + bool pressed = (t == 0.0f); + if (!pressed && ((flags & ImGuiInputFlags_Repeat) != 0)) + { + float repeat_delay, repeat_rate; + GetTypematicRepeatRate(flags, &repeat_delay, &repeat_rate); + pressed = (t > repeat_delay) && GetKeyPressedAmount(key, repeat_delay, repeat_rate) > 0; + } + if (!pressed) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsKeyReleased(ImGuiKey key) +{ + return IsKeyReleased(key, ImGuiKeyOwner_Any); +} + +bool ImGui::IsKeyReleased(ImGuiKey key, ImGuiID owner_id) +{ + const ImGuiKeyData* key_data = GetKeyData(key); + if (key_data->DownDurationPrev < 0.0f || key_data->Down) + return false; + if (!TestKeyOwner(key, owner_id)) + return false; + return true; +} + +bool ImGui::IsMouseDown(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // should be same as IsKeyDown(MouseButtonToKey(button), ImGuiKeyOwner_Any), but this allows legacy code hijacking the io.Mousedown[] array. +} + +bool ImGui::IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), owner_id); // Should be same as IsKeyDown(MouseButtonToKey(button), owner_id), but this allows legacy code hijacking the io.Mousedown[] array. +} + +bool ImGui::IsMouseClicked(ImGuiMouseButton button, bool repeat) +{ + return IsMouseClicked(button, ImGuiKeyOwner_Any, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None); +} + +bool ImGui::IsMouseClicked(ImGuiMouseButton button, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (!g.IO.MouseDown[button]) // In theory this should already be encoded as (DownDuration < 0.0f), but testing this facilitates eating mechanism (until we finish work on key ownership) + return false; + const float t = g.IO.MouseDownDuration[button]; + if (t < 0.0f) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByIsKeyPressed) == 0); // Passing flags not supported by this function! + + const bool repeat = (flags & ImGuiInputFlags_Repeat) != 0; + const bool pressed = (t == 0.0f) || (repeat && t > g.IO.KeyRepeatDelay && CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0); + if (!pressed) + return false; + + if (!TestKeyOwner(MouseButtonToKey(button), owner_id)) + return false; + + return true; +} + +bool ImGui::IsMouseReleased(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any) +} + +bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), owner_id); // Should be same as IsKeyReleased(MouseButtonToKey(button), owner_id) +} + +bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); +} + +int ImGui::GetMouseClickedCount(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + return g.IO.MouseClickedCount[button]; +} + +// Return if a mouse click/drag went past the given threshold. Valid to call during the MouseReleased frame. +// [Internal] This doesn't test if the button is pressed +bool ImGui::IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (lock_threshold < 0.0f) + lock_threshold = g.IO.MouseDragThreshold; + return g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold; +} + +bool ImGui::IsMouseDragging(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (!g.IO.MouseDown[button]) + return false; + return IsMouseDragPastThreshold(button, lock_threshold); +} + +ImVec2 ImGui::GetMousePos() +{ + ImGuiContext& g = *GImGui; + return g.IO.MousePos; +} + +// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup is already closed! +ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup() +{ + ImGuiContext& g = *GImGui; + if (g.BeginPopupStack.Size > 0) + return g.OpenPopupStack[g.BeginPopupStack.Size - 1].OpenMousePos; + return g.IO.MousePos; +} + +// We typically use ImVec2(-FLT_MAX,-FLT_MAX) to denote an invalid mouse position. +bool ImGui::IsMousePosValid(const ImVec2* mouse_pos) +{ + // The assert is only to silence a false-positive in XCode Static Analysis. + // Because GImGui is not dereferenced in every code path, the static analyzer assume that it may be NULL (which it doesn't for other functions). + IM_ASSERT(GImGui != NULL); + const float MOUSE_INVALID = -256000.0f; + ImVec2 p = mouse_pos ? *mouse_pos : GImGui->IO.MousePos; + return p.x >= MOUSE_INVALID && p.y >= MOUSE_INVALID; +} + +// [WILL OBSOLETE] This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. +bool ImGui::IsAnyMouseDown() +{ + ImGuiContext& g = *GImGui; + for (int n = 0; n < IM_ARRAYSIZE(g.IO.MouseDown); n++) + if (g.IO.MouseDown[n]) + return true; + return false; +} + +// Return the delta from the initial clicking position while the mouse button is clicked or was just released. +// This is locked and return 0.0f until the mouse moves past a distance threshold at least once. +// NB: This is only valid if IsMousePosValid(). backends in theory should always keep mouse position valid when dragging even outside the client window. +ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + if (lock_threshold < 0.0f) + lock_threshold = g.IO.MouseDragThreshold; + if (g.IO.MouseDown[button] || g.IO.MouseReleased[button]) + if (g.IO.MouseDragMaxDistanceSqr[button] >= lock_threshold * lock_threshold) + if (IsMousePosValid(&g.IO.MousePos) && IsMousePosValid(&g.IO.MouseClickedPos[button])) + return g.IO.MousePos - g.IO.MouseClickedPos[button]; + return ImVec2(0.0f, 0.0f); +} + +void ImGui::ResetMouseDragDelta(ImGuiMouseButton button) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); + // NB: We don't need to reset g.IO.MouseDragMaxDistanceSqr + g.IO.MouseClickedPos[button] = g.IO.MousePos; +} + +// Get desired mouse cursor shape. +// Important: this is meant to be used by a platform backend, it is reset in ImGui::NewFrame(), +// updated during the frame, and locked in EndFrame()/Render(). +// If you use software rendering by setting io.MouseDrawCursor then Dear ImGui will render those for you +ImGuiMouseCursor ImGui::GetMouseCursor() +{ + ImGuiContext& g = *GImGui; + return g.MouseCursor; +} + +void ImGui::SetMouseCursor(ImGuiMouseCursor cursor_type) +{ + ImGuiContext& g = *GImGui; + g.MouseCursor = cursor_type; +} + +void ImGui::SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard) +{ + ImGuiContext& g = *GImGui; + g.WantCaptureKeyboardNextFrame = want_capture_keyboard ? 1 : 0; +} + +void ImGui::SetNextFrameWantCaptureMouse(bool want_capture_mouse) +{ + ImGuiContext& g = *GImGui; + g.WantCaptureMouseNextFrame = want_capture_mouse ? 1 : 0; +} + +#ifndef IMGUI_DISABLE_DEBUG_TOOLS +static const char* GetInputSourceName(ImGuiInputSource source) +{ + const char* input_source_names[] = { "None", "Mouse", "Keyboard", "Gamepad", "Nav", "Clipboard" }; + IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT && source >= 0 && source < ImGuiInputSource_COUNT); + return input_source_names[source]; +} +static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e) +{ + ImGuiContext& g = *GImGui; + if (e->Type == ImGuiInputEventType_MousePos) { if (e->MousePos.PosX == -FLT_MAX && e->MousePos.PosY == -FLT_MAX) IMGUI_DEBUG_LOG_IO("%s: MousePos (-FLT_MAX, -FLT_MAX)\n", prefix); else IMGUI_DEBUG_LOG_IO("%s: MousePos (%.1f, %.1f)\n", prefix, e->MousePos.PosX, e->MousePos.PosY); return; } + if (e->Type == ImGuiInputEventType_MouseButton) { IMGUI_DEBUG_LOG_IO("%s: MouseButton %d %s\n", prefix, e->MouseButton.Button, e->MouseButton.Down ? "Down" : "Up"); return; } + if (e->Type == ImGuiInputEventType_MouseWheel) { IMGUI_DEBUG_LOG_IO("%s: MouseWheel (%.1f, %.1f)\n", prefix, e->MouseWheel.WheelX, e->MouseWheel.WheelY); return; } + if (e->Type == ImGuiInputEventType_Key) { IMGUI_DEBUG_LOG_IO("%s: Key \"%s\" %s\n", prefix, ImGui::GetKeyName(e->Key.Key), e->Key.Down ? "Down" : "Up"); return; } + if (e->Type == ImGuiInputEventType_Text) { IMGUI_DEBUG_LOG_IO("%s: Text: %c (U+%08X)\n", prefix, e->Text.Char, e->Text.Char); return; } + if (e->Type == ImGuiInputEventType_Focus) { IMGUI_DEBUG_LOG_IO("%s: AppFocused %d\n", prefix, e->AppFocused.Focused); return; } +} +#endif + +// Process input queue +// We always call this with the value of 'bool g.IO.ConfigInputTrickleEventQueue'. +// - trickle_fast_inputs = false : process all events, turn into flattened input state (e.g. successive down/up/down/up will be lost) +// - trickle_fast_inputs = true : process as many events as possible (successive down/up/down/up will be trickled over several frames so nothing is lost) (new feature in 1.87) +void ImGui::UpdateInputEvents(bool trickle_fast_inputs) +{ + ImGuiContext& g = *GImGui; + ImGuiIO& io = g.IO; + + // Only trickle chars<>key when working with InputText() + // FIXME: InputText() could parse event trail? + // FIXME: Could specialize chars<>keys trickling rules for control keys (those not typically associated to characters) + const bool trickle_interleaved_keys_and_text = (trickle_fast_inputs && g.WantTextInputNextFrame == 1); + + bool mouse_moved = false, mouse_wheeled = false, key_changed = false, text_inputted = false; + int mouse_button_changed = 0x00; + ImBitArray key_changed_mask; + + int event_n = 0; + for (; event_n < g.InputEventsQueue.Size; event_n++) + { + ImGuiInputEvent* e = &g.InputEventsQueue[event_n]; + if (e->Type == ImGuiInputEventType_MousePos) + { + // Trickling Rule: Stop processing queued events if we already handled a mouse button change + ImVec2 event_pos(e->MousePos.PosX, e->MousePos.PosY); + if (trickle_fast_inputs && (mouse_button_changed != 0 || mouse_wheeled || key_changed || text_inputted)) + break; + io.MousePos = event_pos; + mouse_moved = true; + } + else if (e->Type == ImGuiInputEventType_MouseButton) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the same button + const ImGuiMouseButton button = e->MouseButton.Button; + IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); + if (trickle_fast_inputs && ((mouse_button_changed & (1 << button)) || mouse_wheeled)) + break; + io.MouseDown[button] = e->MouseButton.Down; + mouse_button_changed |= (1 << button); + } + else if (e->Type == ImGuiInputEventType_MouseWheel) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the event + if (trickle_fast_inputs && (mouse_moved || mouse_button_changed != 0)) + break; + io.MouseWheelH += e->MouseWheel.WheelX; + io.MouseWheel += e->MouseWheel.WheelY; + mouse_wheeled = true; + } + else if (e->Type == ImGuiInputEventType_Key) + { + // Trickling Rule: Stop processing queued events if we got multiple action on the same button + ImGuiKey key = e->Key.Key; + IM_ASSERT(key != ImGuiKey_None); + ImGuiKeyData* key_data = GetKeyData(key); + const int key_data_index = (int)(key_data - g.IO.KeysData); + if (trickle_fast_inputs && key_data->Down != e->Key.Down && (key_changed_mask.TestBit(key_data_index) || text_inputted || mouse_button_changed != 0)) + break; + key_data->Down = e->Key.Down; + key_data->AnalogValue = e->Key.AnalogValue; + key_changed = true; + key_changed_mask.SetBit(key_data_index); + + if (key == ImGuiMod_Ctrl || key == ImGuiMod_Shift || key == ImGuiMod_Alt || key == ImGuiMod_Super) + { + if (key == ImGuiMod_Ctrl) { io.KeyCtrl = key_data->Down; } + if (key == ImGuiMod_Shift) { io.KeyShift = key_data->Down; } + if (key == ImGuiMod_Alt) { io.KeyAlt = key_data->Down; } + if (key == ImGuiMod_Super) { io.KeySuper = key_data->Down; } + io.KeyMods = GetMergedModsFromBools(); + } + + // Allow legacy code using io.KeysDown[GetKeyIndex()] with new backends +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + io.KeysDown[key_data_index] = key_data->Down; + if (io.KeyMap[key_data_index] != -1) + io.KeysDown[io.KeyMap[key_data_index]] = key_data->Down; +#endif + } + else if (e->Type == ImGuiInputEventType_Text) + { + // Trickling Rule: Stop processing queued events if keys/mouse have been interacted with + if (trickle_fast_inputs && ((key_changed && trickle_interleaved_keys_and_text) || mouse_button_changed != 0 || mouse_moved || mouse_wheeled)) + break; + unsigned int c = e->Text.Char; + io.InputQueueCharacters.push_back(c <= IM_UNICODE_CODEPOINT_MAX ? (ImWchar)c : IM_UNICODE_CODEPOINT_INVALID); + if (trickle_interleaved_keys_and_text) + text_inputted = true; + } + else if (e->Type == ImGuiInputEventType_Focus) + { + // We intentionally overwrite this and process in NewFrame(), in order to give a chance + // to multi-viewports backends to queue AddFocusEvent(false) + AddFocusEvent(true) in same frame. + const bool focus_lost = !e->AppFocused.Focused; + io.AppFocusLost = focus_lost; + } + else + { + IM_ASSERT(0 && "Unknown event!"); + } + } + + // Record trail (for domain-specific applications wanting to access a precise trail) + //if (event_n != 0) IMGUI_DEBUG_LOG_IO("Processed: %d / Remaining: %d\n", event_n, g.InputEventsQueue.Size - event_n); + for (int n = 0; n < event_n; n++) + g.InputEventsTrail.push_back(g.InputEventsQueue[n]); + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (event_n != 0 && (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO)) + for (int n = 0; n < g.InputEventsQueue.Size; n++) + DebugPrintInputEvent(n < event_n ? "Processed" : "Remaining", &g.InputEventsQueue[n]); +#endif + + // Remaining events will be processed on the next frame + if (event_n == g.InputEventsQueue.Size) + g.InputEventsQueue.resize(0); + else + g.InputEventsQueue.erase(g.InputEventsQueue.Data, g.InputEventsQueue.Data + event_n); + + // Clear buttons state when focus is lost + // - this is useful so e.g. releasing Alt after focus loss on Alt-Tab doesn't trigger the Alt menu toggle. + // - we clear in EndFrame() and not now in order allow application/user code polling this flag + // (e.g. custom backend may want to clear additional data, custom widgets may want to react with a "canceling" event). + if (g.IO.AppFocusLost) + g.IO.ClearInputKeys(); +} + +ImGuiID ImGui::GetKeyOwner(ImGuiKey key) +{ + if (!IsNamedKeyOrModKey(key)) + return ImGuiKeyOwner_None; + + ImGuiContext& g = *GImGui; + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + ImGuiID owner_id = owner_data->OwnerCurr; + + if (g.ActiveIdUsingAllKeyboardKeys && owner_id != g.ActiveId && owner_id != ImGuiKeyOwner_Any) + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return ImGuiKeyOwner_None; + + return owner_id; +} + +// TestKeyOwner(..., ID) : (owner == None || owner == ID) +// TestKeyOwner(..., None) : (owner == None) +// TestKeyOwner(..., Any) : no owner test +// All paths are also testing for key not being locked, for the rare cases that key have been locked with using ImGuiInputFlags_LockXXX flags. +bool ImGui::TestKeyOwner(ImGuiKey key, ImGuiID owner_id) +{ + if (!IsNamedKeyOrModKey(key)) + return true; + + ImGuiContext& g = *GImGui; + if (g.ActiveIdUsingAllKeyboardKeys && owner_id != g.ActiveId && owner_id != ImGuiKeyOwner_Any) + if (key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END) + return false; + + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + if (owner_id == ImGuiKeyOwner_Any) + return (owner_data->LockThisFrame == false); + + // Note: SetKeyOwner() sets OwnerCurr. It is not strictly required for most mouse routing overlap (because of ActiveId/HoveredId + // are acting as filter before this has a chance to filter), but sane as soon as user tries to look into things. + // Setting OwnerCurr in SetKeyOwner() is more consistent than testing OwnerNext here: would be inconsistent with getter and other functions. + if (owner_data->OwnerCurr != owner_id) + { + if (owner_data->LockThisFrame) + return false; + if (owner_data->OwnerCurr != ImGuiKeyOwner_None) + return false; + } + + return true; +} + +// _LockXXX flags are useful to lock keys away from code which is not input-owner aware. +// When using _LockXXX flags, you can use ImGuiKeyOwner_Any to lock keys from everyone. +// - SetKeyOwner(..., None) : clears owner +// - SetKeyOwner(..., Any, !Lock) : illegal (assert) +// - SetKeyOwner(..., Any or None, Lock) : set lock +void ImGui::SetKeyOwner(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags) +{ + IM_ASSERT(IsNamedKeyOrModKey(key) && (owner_id != ImGuiKeyOwner_Any || (flags & (ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease)))); // Can only use _Any with _LockXXX flags (to eat a key away without an ID to retrieve it) + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetKeyOwner) == 0); // Passing flags not supported by this function! + + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + owner_data->OwnerCurr = owner_data->OwnerNext = owner_id; + + // We cannot lock by default as it would likely break lots of legacy code. + // In the case of using LockUntilRelease while key is not down we still lock during the frame (no key_data->Down test) + owner_data->LockUntilRelease = (flags & ImGuiInputFlags_LockUntilRelease) != 0; + owner_data->LockThisFrame = (flags & ImGuiInputFlags_LockThisFrame) != 0 || (owner_data->LockUntilRelease); +} + +// This is more or less equivalent to: +// if (IsItemHovered() || IsItemActive()) +// SetKeyOwner(key, GetItemID()); +// Extensive uses of that (e.g. many calls for a single item) may want to manually perform the tests once and then call SetKeyOwner() multiple times. +// More advanced usage scenarios may want to call SetKeyOwner() manually based on different condition. +// Worth noting is that only one item can be hovered and only one item can be active, therefore this usage pattern doesn't need to bother with routing and priority. +void ImGui::SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + ImGuiID id = g.LastItemData.ID; + if (id == 0 || (g.HoveredId != id && g.ActiveId != id)) + return; + if ((flags & ImGuiInputFlags_CondMask_) == 0) + flags |= ImGuiInputFlags_CondDefault_; + if ((g.HoveredId == id && (flags & ImGuiInputFlags_CondHovered)) || (g.ActiveId == id && (flags & ImGuiInputFlags_CondActive))) + { + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedBySetItemKeyOwner) == 0); // Passing flags not supported by this function! + SetKeyOwner(key, id, flags & ~ImGuiInputFlags_CondMask_); + } +} + +// - Need to decide how to handle shortcut translations for Non-Mac <> Mac +// - Ideas: https://github.com/ocornut/imgui/issues/456#issuecomment-264390864 +bool ImGui::Shortcut(ImGuiKeyChord key_chord, ImGuiID owner_id, ImGuiInputFlags flags) +{ + ImGuiContext& g = *GImGui; + + // When using (owner_id == 0/Any): SetShortcutRouting() will use CurrentFocusScopeId and filter with this, so IsKeyPressed() is fine with he 0/Any. + if ((flags & ImGuiInputFlags_RouteMask_) == 0) + flags |= ImGuiInputFlags_RouteFocused; + if (!SetShortcutRouting(key_chord, owner_id, flags)) + return false; + + ImGuiKey key = (ImGuiKey)(key_chord & ~ImGuiMod_Mask_); + ImGuiKey mods = (ImGuiKey)(key_chord & ImGuiMod_Mask_); + if (g.IO.KeyMods != mods) + return false; + + // Special storage location for mods + if (key == ImGuiKey_None) + key = ConvertSingleModFlagToKey(mods); + + if (!IsKeyPressed(key, owner_id, (flags & (ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_)))) + return false; + IM_ASSERT((flags & ~ImGuiInputFlags_SupportedByShortcut) == 0); // Passing flags not supported by this function! + + return true; +} + + //----------------------------------------------------------------------------- // [SECTION] ERROR CHECKING //----------------------------------------------------------------------------- // Helper function to verify ABI compatibility between caller code and compiled version of Dear ImGui. // Verify that the type sizes are matching between the calling file's compilation unit and imgui.cpp's compilation unit -// If the user has inconsistent compilation settings, imgui configuration #define, packing pragma, etc. your user code -// may see different structures than what imgui.cpp sees, which is problematic. -// We usually require settings to be in imconfig.h to make sure that they are accessible to all compilation units involved with Dear ImGui. +// If this triggers you have an issue: +// - Most commonly: mismatched headers and compiled code version. +// - Or: mismatched configuration #define, compilation settings, packing pragma etc. +// The configuration settings mentioned in imconfig.h must be set for all compilation units involved with Dear ImGui, +// which is way it is required you put them in your imconfig file (and not just before including imgui.h). +// Otherwise it is possible that different compilation units would see different structure layout bool ImGui::DebugCheckVersionAndDataLayout(const char* version, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_vert, size_t sz_idx) { bool error = false; @@ -7476,6 +8684,38 @@ bool ImGui::DebugCheckVersionAndDataLayout(const char* version, size_t sz_io, si return !error; } +// Until 1.89 (IMGUI_VERSION_NUM < 18814) it was legal to use SetCursorPos() to extend the boundary of a parent (e.g. window or table cell) +// This is causing issues and ambiguity and we need to retire that. +// See https://github.com/ocornut/imgui/issues/5548 for more details. +// [Scenario 1] +// Previously this would make the window content size ~200x200: +// Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + End(); // NOT OK +// Instead, please submit an item: +// Begin(...) + SetCursorScreenPos(GetCursorScreenPos() + ImVec2(200,200)) + Dummy(ImVec2(0,0)) + End(); // OK +// Alternative: +// Begin(...) + Dummy(ImVec2(200,200)) + End(); // OK +// [Scenario 2] +// For reference this is one of the issue what we aim to fix with this change: +// BeginGroup() + SomeItem("foobar") + SetCursorScreenPos(GetCursorScreenPos()) + EndGroup() +// The previous logic made SetCursorScreenPos(GetCursorScreenPos()) have a side-effect! It would erroneously incorporate ItemSpacing.y after the item into content size, making the group taller! +// While this code is a little twisted, no-one would expect SetXXX(GetXXX()) to have a side-effect. Using vertical alignment patterns could trigger this issue. +void ImGui::ErrorCheckUsingSetCursorPosToExtendParentBoundaries() +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + IM_ASSERT(window->DC.IsSetPos); + window->DC.IsSetPos = false; +#ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + if (window->DC.CursorPos.x <= window->DC.CursorMaxPos.x && window->DC.CursorPos.y <= window->DC.CursorMaxPos.y) + return; + if (window->SkipItems) + return; + IM_ASSERT(0 && "Code uses SetCursorPos()/SetCursorScreenPos() to extend window/parent boundaries. Please submit an item e.g. Dummy() to validate extent."); +#else + window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); +#endif +} + static void ImGui::ErrorCheckNewFrameSanityChecks() { ImGuiContext& g = *GImGui; @@ -7496,16 +8736,19 @@ static void ImGui::ErrorCheckNewFrameSanityChecks() IM_ASSERT(g.IO.DisplaySize.x >= 0.0f && g.IO.DisplaySize.y >= 0.0f && "Invalid DisplaySize value!"); IM_ASSERT(g.IO.Fonts->IsBuilt() && "Font Atlas not built! Make sure you called ImGui_ImplXXXX_NewFrame() function for renderer backend, which should call io.Fonts->GetTexDataAsRGBA32() / GetTexDataAsAlpha8()"); IM_ASSERT(g.Style.CurveTessellationTol > 0.0f && "Invalid style setting!"); - IM_ASSERT(g.Style.CircleTessellationMaxError > 0.0f && "Invalid style setting!"); + IM_ASSERT(g.Style.CircleTessellationMaxError > 0.0f && "Invalid style setting!"); IM_ASSERT(g.Style.Alpha >= 0.0f && g.Style.Alpha <= 1.0f && "Invalid style setting!"); // Allows us to avoid a few clamps in color computations IM_ASSERT(g.Style.WindowMinSize.x >= 1.0f && g.Style.WindowMinSize.y >= 1.0f && "Invalid style setting."); IM_ASSERT(g.Style.WindowMenuButtonPosition == ImGuiDir_None || g.Style.WindowMenuButtonPosition == ImGuiDir_Left || g.Style.WindowMenuButtonPosition == ImGuiDir_Right); - for (int n = 0; n < ImGuiKey_COUNT; n++) - IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < IM_ARRAYSIZE(g.IO.KeysDown) && "io.KeyMap[] contains an out of bound value (need to be 0..512, or -1 for unmapped key)"); + IM_ASSERT(g.Style.ColorButtonPosition == ImGuiDir_Left || g.Style.ColorButtonPosition == ImGuiDir_Right); +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + for (int n = ImGuiKey_NamedKey_BEGIN; n < ImGuiKey_COUNT; n++) + IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < ImGuiKey_LegacyNativeKey_END && "io.KeyMap[] contains an out of bound value (need to be 0..511, or -1 for unmapped key)"); // Check: required key mapping (we intentionally do NOT check all keys to not pressure user into setting up everything, but Space is required and was only added in 1.60 WIP) - if (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) + if ((g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) && g.IO.BackendUsingLegacyKeyArrays == 1) IM_ASSERT(g.IO.KeyMap[ImGuiKey_Space] != -1 && "ImGuiKey_Space is not mapped, required for keyboard navigation."); +#endif // Check: the io.ConfigWindowsResizeFromEdges option requires backend to honor mouse cursor changes and set the ImGuiBackendFlags_HasMouseCursors flag accordingly. if (g.IO.ConfigWindowsResizeFromEdges && !(g.IO.BackendFlags & ImGuiBackendFlags_HasMouseCursors)) @@ -7522,11 +8765,11 @@ static void ImGui::ErrorCheckEndFrameSanityChecks() // send key release events mid-frame. This would normally trigger this assertion and lead to sheared inputs. // We silently accommodate for this case by ignoring/ the case where all io.KeyXXX modifiers were released (aka key_mod_flags == 0), // while still correctly asserting on mid-frame key press events. - const ImGuiKeyModFlags key_mod_flags = GetMergedKeyModFlags(); - IM_ASSERT((key_mod_flags == 0 || g.IO.KeyMods == key_mod_flags) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); - IM_UNUSED(key_mod_flags); + const ImGuiKeyChord key_mods = GetMergedModsFromBools(); + IM_ASSERT((key_mods == 0 || g.IO.KeyMods == key_mods) && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); + IM_UNUSED(key_mods); - // Recover from errors + // [EXPERIMENTAL] Recover from errors: You may call this yourself before EndFrame(). //ErrorCheckEndFrameRecover(); // Report when there is a mismatch of Begin/BeginChild vs End/EndChild calls. Important: Remember that the Begin/BeginChild API requires you @@ -7566,7 +8809,6 @@ void ImGui::ErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback, voi IM_ASSERT(window->IsFallbackWindow); break; } - IM_ASSERT(window == g.CurrentWindow); if (window->Flags & ImGuiWindowFlags_ChildWindow) { if (log_callback) log_callback(user_data, "Recovered from missing EndChild() for '%s'", window->Name); @@ -7633,7 +8875,7 @@ void ImGui::ErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback, vo if (log_callback) log_callback(user_data, "Recovered from missing PopStyleVar() in '%s'", window->Name); PopStyleVar(); } - while (g.FocusScopeStack.Size > stack_sizes->SizeOfFocusScopeStack) //-V1044 + while (g.FocusScopeStack.Size > stack_sizes->SizeOfFocusScopeStack + 1) //-V1044 { if (log_callback) log_callback(user_data, "Recovered from missing PopFocusScope() in '%s'", window->Name); PopFocusScope(); @@ -7709,7 +8951,7 @@ void ImGuiStackSizes::CompareWithCurrentState() // - GetWindowContentRegionMin(), GetWindowContentRegionMax() // - BeginGroup() // - EndGroup() -// Also see in imgui_widgets: tab bars, columns. +// Also see in imgui_widgets: tab bars, and in imgui_tables: tables, columns. //----------------------------------------------------------------------------- // Advance cursor given item size for layout. @@ -7726,14 +8968,16 @@ void ImGui::ItemSize(const ImVec2& size, float text_baseline_y) // In theory we should be offsetting the starting position (window->DC.CursorPos), that will be the topic of a larger refactor, // but since ItemSize() is not yet an API that moves the cursor (to handle e.g. wrapping) enlarging the height has the same effect. const float offset_to_match_baseline_y = (text_baseline_y >= 0) ? ImMax(0.0f, window->DC.CurrLineTextBaseOffset - text_baseline_y) : 0.0f; - const float line_height = ImMax(window->DC.CurrLineSize.y, size.y + offset_to_match_baseline_y); + + const float line_y1 = window->DC.IsSameLine ? window->DC.CursorPosPrevLine.y : window->DC.CursorPos.y; + const float line_height = ImMax(window->DC.CurrLineSize.y, /*ImMax(*/window->DC.CursorPos.y - line_y1/*, 0.0f)*/ + size.y + offset_to_match_baseline_y); // Always align ourselves on pixel boundaries //if (g.IO.KeyAlt) window->DrawList->AddRect(window->DC.CursorPos, window->DC.CursorPos + ImVec2(size.x, line_height), IM_COL32(255,0,0,200)); // [DEBUG] window->DC.CursorPosPrevLine.x = window->DC.CursorPos.x + size.x; - window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y; + window->DC.CursorPosPrevLine.y = line_y1; window->DC.CursorPos.x = IM_FLOOR(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); // Next line - window->DC.CursorPos.y = IM_FLOOR(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y); // Next line + window->DC.CursorPos.y = IM_FLOOR(line_y1 + line_height + g.Style.ItemSpacing.y); // Next line window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPosPrevLine.x); window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y - g.Style.ItemSpacing.y); //if (g.IO.KeyAlt) window->DrawList->AddCircle(window->DC.CursorMaxPos, 3.0f, IM_COL32(255,0,0,255), 4); // [DEBUG] @@ -7742,17 +8986,13 @@ void ImGui::ItemSize(const ImVec2& size, float text_baseline_y) window->DC.CurrLineSize.y = 0.0f; window->DC.PrevLineTextBaseOffset = ImMax(window->DC.CurrLineTextBaseOffset, text_baseline_y); window->DC.CurrLineTextBaseOffset = 0.0f; + window->DC.IsSameLine = window->DC.IsSetPos = false; // Horizontal layout mode if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) SameLine(); } -void ImGui::ItemSize(const ImRect& bb, float text_baseline_y) -{ - ItemSize(bb.GetSize(), text_baseline_y); -} - // Declare item bounding box for clipping and interaction. // Note that the size can be different than the one provided to ItemSize(). Typically, widgets that spread over available surface // declare their minimum size requirement to ItemSize() and provide a larger region to ItemAdd() which is used drawing/interaction. @@ -7772,6 +9012,8 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // Directional navigation processing if (id != 0) { + KeepAliveID(id); + // Runs prior to clipping early-out // (a) So that NavInitRequest can be honored, for newly opened windows to select a default widget // (b) So that we can scroll up/down past clipped items. This adds a small O(N) cost to regular navigation requests @@ -7781,25 +9023,19 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // to reach unclipped widgets. This would work if user had explicit scrolling control (e.g. mapped on a stick). // We intentionally don't check if g.NavWindow != NULL because g.NavAnyRequest should only be set when it is non null. // If we crash on a NULL g.NavWindow we need to fix the bug elsewhere. - window->DC.NavLayersActiveMaskNext |= (1 << window->DC.NavLayerCurrent); - if (g.NavId == id || g.NavAnyRequest) - if (g.NavWindow->RootWindowForNav == window->RootWindowForNav) - if (window == g.NavWindow || ((window->Flags | g.NavWindow->Flags) & ImGuiWindowFlags_NavFlattened)) - NavProcessItem(); + if (!(g.LastItemData.InFlags & ImGuiItemFlags_NoNav)) + { + window->DC.NavLayersActiveMaskNext |= (1 << window->DC.NavLayerCurrent); + if (g.NavId == id || g.NavAnyRequest) + if (g.NavWindow->RootWindowForNav == window->RootWindowForNav) + if (window == g.NavWindow || ((window->Flags | g.NavWindow->Flags) & ImGuiWindowFlags_NavFlattened)) + NavProcessItem(); + } // [DEBUG] People keep stumbling on this problem and using "" as identifier in the root of a window instead of "##something". // Empty identifier are valid and useful in a small amount of cases, but 99.9% of the time you want to use "##something". // READ THE FAQ: https://dearimgui.org/faq IM_ASSERT(id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"); - - // [DEBUG] Item Picker tool, when enabling the "extended" version we perform the check in ItemAdd() -#ifdef IMGUI_DEBUG_TOOL_ITEM_PICKER_EX - if (id == g.DebugItemPickerBreakId) - { - IM_DEBUG_BREAK(); - g.DebugItemPickerBreakId = 0; - } -#endif } g.NextItemData.Flags = ImGuiNextItemDataFlags_None; @@ -7809,12 +9045,26 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu #endif // Clipping test - const bool is_clipped = IsClippedEx(bb, id); - if (is_clipped) - return false; + // (FIXME: This is a modified copy of IsClippedEx() so we can reuse the is_rect_visible value) + //const bool is_clipped = IsClippedEx(bb, id); + //if (is_clipped) + // return false; + const bool is_rect_visible = bb.Overlaps(window->ClipRect); + if (!is_rect_visible) + if (id == 0 || (id != g.ActiveId && id != g.NavId)) + if (!g.LogEnabled) + return false; + + // [DEBUG] +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + if (id != 0 && id == g.DebugLocateId) + DebugLocateItemResolveWithLastItem(); +#endif //if (g.IO.KeyAlt) window->DrawList->AddRect(bb.Min, bb.Max, IM_COL32(255,255,0,120)); // [DEBUG] // We need to calculate this now to take account of the current clipping rectangle (as items like Selectable may change them) + if (is_rect_visible) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Visible; if (IsMouseHoveringRect(bb.Min, bb.Max)) g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredRect; return true; @@ -7827,25 +9077,28 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // spacing_w >= 0 : enforce spacing amount void ImGui::SameLine(float offset_from_start_x, float spacing_w) { - ImGuiWindow* window = GetCurrentWindow(); + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) return; - ImGuiContext& g = *GImGui; if (offset_from_start_x != 0.0f) { - if (spacing_w < 0.0f) spacing_w = 0.0f; + if (spacing_w < 0.0f) + spacing_w = 0.0f; window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + offset_from_start_x + spacing_w + window->DC.GroupOffset.x + window->DC.ColumnsOffset.x; window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; } else { - if (spacing_w < 0.0f) spacing_w = g.Style.ItemSpacing.x; + if (spacing_w < 0.0f) + spacing_w = g.Style.ItemSpacing.x; window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w; window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; } window->DC.CurrLineSize = window->DC.PrevLineSize; window->DC.CurrLineTextBaseOffset = window->DC.PrevLineTextBaseOffset; + window->DC.IsSameLine = true; } ImVec2 ImGui::GetCursorScreenPos() @@ -7854,11 +9107,15 @@ ImVec2 ImGui::GetCursorScreenPos() return window->DC.CursorPos; } +// 2022/08/05: Setting cursor position also extend boundaries (via modifying CursorMaxPos) used to compute window size, group size etc. +// I believe this was is a judicious choice but it's probably being relied upon (it has been the case since 1.31 and 1.50) +// It would be sane if we requested user to use SetCursorPos() + Dummy(ImVec2(0,0)) to extend CursorMaxPos... void ImGui::SetCursorScreenPos(const ImVec2& pos) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos = pos; - window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + //window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + window->DC.IsSetPos = true; } // User generally sees positions in window coordinates. Internally we store CursorPos in absolute screen coordinates because it is more convenient. @@ -7885,21 +9142,24 @@ void ImGui::SetCursorPos(const ImVec2& local_pos) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos = window->Pos - window->Scroll + local_pos; - window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + //window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); + window->DC.IsSetPos = true; } void ImGui::SetCursorPosX(float x) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + x; - window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x); + //window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x); + window->DC.IsSetPos = true; } void ImGui::SetCursorPosY(float y) { ImGuiWindow* window = GetCurrentWindow(); window->DC.CursorPos.y = window->Pos.y - window->Scroll.y + y; - window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y); + //window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y); + window->DC.IsSetPos = true; } ImVec2 ImGui::GetCursorStartPos() @@ -7990,7 +9250,8 @@ float ImGui::CalcItemWidth() // The 4.0f here may be changed to match CalcItemWidth() and/or BeginChild() (right now we have a mismatch which is harmless but undesirable) ImVec2 ImGui::CalcItemSize(ImVec2 size, float default_w, float default_h) { - ImGuiWindow* window = GImGui->CurrentWindow; + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; ImVec2 region_max; if (size.x < 0.0f || size.y < 0.0f) @@ -8115,6 +9376,9 @@ void ImGui::EndGroup() ImGuiGroupData& group_data = g.GroupStack.back(); IM_ASSERT(group_data.WindowID == window->ID); // EndGroup() in wrong window? + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + ImRect group_bb(group_data.BackupCursorPos, ImMax(window->DC.CursorMaxPos, group_data.BackupCursorPos)); window->DC.CursorPos = group_data.BackupCursorPos; @@ -8137,7 +9401,7 @@ void ImGui::EndGroup() ItemAdd(group_bb, 0, NULL, ImGuiItemFlags_NoTabStop); // If the current ActiveId was declared within the boundary of our group, we copy it to LastItemId so IsItemActive(), IsItemDeactivated() etc. will be functional on the entire group. - // It would be be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets. + // It would be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets. // Also if you grep for LastItemId you'll notice it is only used in that context. // (The two tests not the same because ActiveIdIsAlive is an ID itself, in order to be able to handle ActiveId being overwritten during the frame.) const bool group_contains_curr_active_id = (group_data.BackupActiveIdIsAlive != g.ActiveId) && (g.ActiveIdIsAlive == g.ActiveId) && g.ActiveId; @@ -8255,8 +9519,8 @@ ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGui const bool fully_visible_x = item_rect.Min.x >= window_rect.Min.x && item_rect.Max.x <= window_rect.Max.x; const bool fully_visible_y = item_rect.Min.y >= window_rect.Min.y && item_rect.Max.y <= window_rect.Max.y; - const bool can_be_fully_visible_x = (item_rect.GetWidth() + g.Style.ItemSpacing.x * 2.0f) <= window_rect.GetWidth(); - const bool can_be_fully_visible_y = (item_rect.GetHeight() + g.Style.ItemSpacing.y * 2.0f) <= window_rect.GetHeight(); + const bool can_be_fully_visible_x = (item_rect.GetWidth() + g.Style.ItemSpacing.x * 2.0f) <= window_rect.GetWidth() || (window->AutoFitFramesX > 0) || (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0; + const bool can_be_fully_visible_y = (item_rect.GetHeight() + g.Style.ItemSpacing.y * 2.0f) <= window_rect.GetHeight() || (window->AutoFitFramesY > 0) || (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0; if ((flags & ImGuiScrollFlags_KeepVisibleEdgeX) && !fully_visible_x) { @@ -8267,8 +9531,10 @@ ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGui } else if (((flags & ImGuiScrollFlags_KeepVisibleCenterX) && !fully_visible_x) || (flags & ImGuiScrollFlags_AlwaysCenterX)) { - float target_x = can_be_fully_visible_x ? ImFloor((item_rect.Min.x + item_rect.Max.x - window->InnerRect.GetWidth()) * 0.5f) : item_rect.Min.x; - SetScrollFromPosX(window, target_x - window->Pos.x, 0.0f); + if (can_be_fully_visible_x) + SetScrollFromPosX(window, ImFloor((item_rect.Min.x + item_rect.Max.y) * 0.5f) - window->Pos.x, 0.5f); + else + SetScrollFromPosX(window, item_rect.Min.x - window->Pos.x, 0.0f); } if ((flags & ImGuiScrollFlags_KeepVisibleEdgeY) && !fully_visible_y) @@ -8280,8 +9546,10 @@ ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGui } else if (((flags & ImGuiScrollFlags_KeepVisibleCenterY) && !fully_visible_y) || (flags & ImGuiScrollFlags_AlwaysCenterY)) { - float target_y = can_be_fully_visible_y ? ImFloor((item_rect.Min.y + item_rect.Max.y - window->InnerRect.GetHeight()) * 0.5f) : item_rect.Min.y; - SetScrollFromPosY(window, target_y - window->Pos.y, 0.0f); + if (can_be_fully_visible_y) + SetScrollFromPosY(window, ImFloor((item_rect.Min.y + item_rect.Max.y) * 0.5f) - window->Pos.y, 0.5f); + else + SetScrollFromPosY(window, item_rect.Min.y - window->Pos.y, 0.0f); } ImVec2 next_scroll = CalcNextScrollFromScrollTargetAndClamp(window); @@ -8356,7 +9624,7 @@ void ImGui::SetScrollY(float scroll_y) // - local_pos = (absolution_pos - window->Pos) // - So local_x/local_y are 0.0f for a position at the upper-left corner of a window, // and generally local_x/local_y are >(padding+decoration) && <(size-padding-decoration) when in the visible area. -// - They mostly exists because of legacy API. +// - They mostly exist because of legacy API. // Following the rules above, when trying to work with scrolling code, consider that: // - SetScrollFromPosY(0.0f) == SetScrollY(0.0f + scroll.y) == has no effect! // - SetScrollFromPosY(-scroll.y) == SetScrollY(-scroll.y + scroll.y) == SetScrollY(0.0f) == reset scroll. Of course writing SetScrollY(0.0f) directly then makes more sense @@ -8547,7 +9815,9 @@ ImGuiWindow* ImGui::GetTopMostAndVisiblePopupModal() void ImGui::OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags) { ImGuiContext& g = *GImGui; - OpenPopupEx(g.CurrentWindow->GetID(str_id), popup_flags); + ImGuiID id = g.CurrentWindow->GetID(str_id); + IMGUI_DEBUG_LOG_POPUP("[popup] OpenPopup(\"%s\" -> 0x%08X\n", str_id, id); + OpenPopupEx(id, popup_flags); } void ImGui::OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags) @@ -8572,13 +9842,13 @@ void ImGui::OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags) ImGuiPopupData popup_ref; // Tagged as new ref as Window will be set back to NULL if we write this into OpenPopupStack. popup_ref.PopupId = id; popup_ref.Window = NULL; - popup_ref.SourceWindow = g.NavWindow; + popup_ref.BackupNavWindow = g.NavWindow; // When popup closes focus may be restored to NavWindow (depend on window type). popup_ref.OpenFrameCount = g.FrameCount; popup_ref.OpenParentId = parent_window->IDStack.back(); popup_ref.OpenPopupPos = NavCalcPreferredRefPos(); popup_ref.OpenMousePos = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : popup_ref.OpenPopupPos; - IMGUI_DEBUG_LOG_POPUP("OpenPopupEx(0x%08X)\n", id); + IMGUI_DEBUG_LOG_POPUP("[popup] OpenPopupEx(0x%08X)\n", id); if (g.OpenPopupStack.Size < current_stack_size + 1) { g.OpenPopupStack.push_back(popup_ref); @@ -8647,7 +9917,7 @@ void ImGui::ClosePopupsOverWindow(ImGuiWindow* ref_window, bool restore_focus_to } if (popup_count_to_keep < g.OpenPopupStack.Size) // This test is not required but it allows to set a convenient breakpoint on the statement below { - IMGUI_DEBUG_LOG_POPUP("ClosePopupsOverWindow(\"%s\") -> ClosePopupToLevel(%d)\n", ref_window->Name, popup_count_to_keep); + IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupsOverWindow(\"%s\")\n", ref_window ? ref_window->Name : ""); ClosePopupToLevel(popup_count_to_keep, restore_focus_to_window_under_popup); } } @@ -8670,16 +9940,17 @@ void ImGui::ClosePopupsExceptModals() void ImGui::ClosePopupToLevel(int remaining, bool restore_focus_to_window_under_popup) { ImGuiContext& g = *GImGui; - IMGUI_DEBUG_LOG_POPUP("ClosePopupToLevel(%d), restore_focus_to_window_under_popup=%d\n", remaining, restore_focus_to_window_under_popup); + IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupToLevel(%d), restore_focus_to_window_under_popup=%d\n", remaining, restore_focus_to_window_under_popup); IM_ASSERT(remaining >= 0 && remaining < g.OpenPopupStack.Size); // Trim open popup stack - ImGuiWindow* focus_window = g.OpenPopupStack[remaining].SourceWindow; ImGuiWindow* popup_window = g.OpenPopupStack[remaining].Window; + ImGuiWindow* popup_backup_nav_window = g.OpenPopupStack[remaining].BackupNavWindow; g.OpenPopupStack.resize(remaining); if (restore_focus_to_window_under_popup) { + ImGuiWindow* focus_window = (popup_window && popup_window->Flags & ImGuiWindowFlags_ChildMenu) ? popup_window->ParentWindow : popup_backup_nav_window; if (focus_window && !focus_window->WasActive && popup_window) { // Fallback @@ -8715,7 +9986,7 @@ void ImGui::CloseCurrentPopup() break; popup_idx--; } - IMGUI_DEBUG_LOG_POPUP("CloseCurrentPopup %d -> %d\n", g.BeginPopupStack.Size - 1, popup_idx); + IMGUI_DEBUG_LOG_POPUP("[popup] CloseCurrentPopup %d -> %d\n", g.BeginPopupStack.Size - 1, popup_idx); ClosePopupToLevel(popup_idx, true); // A common pattern is to close a popup when selecting a menu item/selectable that will open another window. @@ -8758,7 +10029,8 @@ bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags) return false; } flags |= ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings; - return BeginPopupEx(g.CurrentWindow->GetID(str_id), flags); + ImGuiID id = g.CurrentWindow->GetID(str_id); + return BeginPopupEx(id, flags); } // If 'p_open' is specified for a modal popup window, the popup will have a regular close button which will close the popup. @@ -8837,7 +10109,7 @@ void ImGui::OpenPopupOnItemClick(const char* str_id, ImGuiPopupFlags popup_flags // - You may want to handle the whole on user side if you have specific needs (e.g. tweaking IsItemHovered() parameters). // This is essentially the same as: // id = str_id ? GetID(str_id) : GetItemID(); -// OpenPopupOnItemClick(str_id); +// OpenPopupOnItemClick(str_id, ImGuiPopupFlags_MouseButtonRight); // return BeginPopup(id); // Which is essentially the same as: // id = str_id ? GetID(str_id) : GetItemID(); @@ -8933,7 +10205,7 @@ ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& s const float avail_w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? r_avoid.Max.x : r_outer.Min.x); const float avail_h = (dir == ImGuiDir_Up ? r_avoid.Min.y : r_outer.Max.y) - (dir == ImGuiDir_Down ? r_avoid.Max.y : r_outer.Min.y); - // If there not enough room on one axis, there's no point in positioning on a side on this axis (e.g. when not enough width, use a top/bottom position to maximize available width) + // If there's not enough room on one axis, there's no point in positioning on a side on this axis (e.g. when not enough width, use a top/bottom position to maximize available width) if (avail_w < size.x && (dir == ImGuiDir_Left || dir == ImGuiDir_Right)) continue; if (avail_h < size.y && (dir == ImGuiDir_Up || dir == ImGuiDir_Down)) @@ -8998,8 +10270,7 @@ ImVec2 ImGui::FindBestWindowPosForPopup(ImGuiWindow* window) } if (window->Flags & ImGuiWindowFlags_Popup) { - ImRect r_avoid = ImRect(window->Pos.x - 1, window->Pos.y - 1, window->Pos.x + 1, window->Pos.y + 1); - return FindBestWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, r_avoid, ImGuiPopupPositionPolicy_Default); + return FindBestWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, ImRect(window->Pos, window->Pos), ImGuiPopupPositionPolicy_Default); // Ideally we'd disable r_avoid here } if (window->Flags & ImGuiWindowFlags_Tooltip) { @@ -9021,8 +10292,22 @@ ImVec2 ImGui::FindBestWindowPosForPopup(ImGuiWindow* window) // [SECTION] KEYBOARD/GAMEPAD NAVIGATION //----------------------------------------------------------------------------- -// FIXME-NAV: The existence of SetNavID vs SetFocusID properly needs to be clarified/reworked. -// In our terminology those should be interchangeable. Those two functions are merely a legacy artifact, so at minimum naming should be clarified. +// FIXME-NAV: The existence of SetNavID vs SetFocusID vs FocusWindow() needs to be clarified/reworked. +// In our terminology those should be interchangeable, yet right now this is super confusing. +// Those two functions are merely a legacy artifact, so at minimum naming should be clarified. + +void ImGui::SetNavWindow(ImGuiWindow* window) +{ + ImGuiContext& g = *GImGui; + if (g.NavWindow != window) + { + IMGUI_DEBUG_LOG_FOCUS("[focus] SetNavWindow(\"%s\")\n", window ? window->Name : ""); + g.NavWindow = window; + } + g.NavInitRequest = g.NavMoveSubmitted = g.NavMoveScoringItems = false; + NavUpdateAnyRequestFlag(); +} + void ImGui::SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel) { ImGuiContext& g = *GImGui; @@ -9040,15 +10325,15 @@ void ImGui::SetFocusID(ImGuiID id, ImGuiWindow* window) ImGuiContext& g = *GImGui; IM_ASSERT(id != 0); - // Assume that SetFocusID() is called in the context where its window->DC.NavLayerCurrent and window->DC.NavFocusScopeIdCurrent are valid. + if (g.NavWindow != window) + SetNavWindow(window); + + // Assume that SetFocusID() is called in the context where its window->DC.NavLayerCurrent and g.CurrentFocusScopeId are valid. // Note that window may be != g.CurrentWindow (e.g. SetFocusID call in InputTextEx for multi-line text) const ImGuiNavLayer nav_layer = window->DC.NavLayerCurrent; - if (g.NavWindow != window) - g.NavInitRequest = false; - g.NavWindow = window; g.NavId = id; g.NavLayer = nav_layer; - g.NavFocusScopeId = window->DC.NavFocusScopeIdCurrent; + g.NavFocusScopeId = g.CurrentFocusScopeId; window->NavLastIds[nav_layer] = id; if (g.LastItemData.ID == id) window->NavRectRel[nav_layer] = WindowRectAbsToRel(window, g.LastItemData.NavRect); @@ -9112,7 +10397,7 @@ static bool ImGui::NavScoreItem(ImGuiNavItemData* result) } // We perform scoring on items bounding box clipped by the current clipping rectangle on the other axis (clipping on our movement axis would give us equal scores for all clipped items) - // For example, this ensure that items in one column are not reached when moving vertically from items in another column. + // For example, this ensures that items in one column are not reached when moving vertically from items in another column. NavClampRectToVisibleAreaForMoveDir(g.NavMoveClipDir, cand, window->ClipRect); // Compute distance between boxes @@ -9176,7 +10461,7 @@ static bool ImGui::NavScoreItem(ImGuiNavItemData* result) } #endif - // Is it in the quadrant we're interesting in moving to? + // Is it in the quadrant we're interested in moving to? bool new_best = false; const ImGuiDir move_dir = g.NavMoveDir; if (quadrant == move_dir) @@ -9229,7 +10514,7 @@ static void ImGui::NavApplyItemToResult(ImGuiNavItemData* result) ImGuiWindow* window = g.CurrentWindow; result->Window = window; result->ID = g.LastItemData.ID; - result->FocusScopeId = window->DC.NavFocusScopeIdCurrent; + result->FocusScopeId = g.CurrentFocusScopeId; result->InFlags = g.LastItemData.InFlags; result->RectRel = WindowRectAbsToRel(window, g.LastItemData.NavRect); } @@ -9245,10 +10530,10 @@ static void ImGui::NavProcessItem() const ImGuiItemFlags item_flags = g.LastItemData.InFlags; // Process Init Request - if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent) + if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent && (item_flags & ImGuiItemFlags_Disabled) == 0) { // Even if 'ImGuiItemFlags_NoNavDefaultFocus' is on (typically collapse/close button) we record the first ResultId so they can be used as a fallback - const bool candidate_for_nav_default_focus = (item_flags & (ImGuiItemFlags_NoNavDefaultFocus | ImGuiItemFlags_Disabled)) == 0; + const bool candidate_for_nav_default_focus = (item_flags & ImGuiItemFlags_NoNavDefaultFocus) == 0; if (candidate_for_nav_default_focus || g.NavInitResultId == 0) { g.NavInitResultId = id; @@ -9272,7 +10557,7 @@ static void ImGui::NavProcessItem() if (is_tab_stop || (g.NavMoveFlags & ImGuiNavMoveFlags_FocusApi)) NavProcessItemForTabbingRequest(id); } - else if ((g.NavId != id || (g.NavMoveFlags & ImGuiNavMoveFlags_AllowCurrentNavId)) && !(item_flags & (ImGuiItemFlags_Disabled | ImGuiItemFlags_NoNav))) + else if ((g.NavId != id || (g.NavMoveFlags & ImGuiNavMoveFlags_AllowCurrentNavId)) && !(item_flags & ImGuiItemFlags_Disabled)) { ImGuiNavItemData* result = (window == g.NavWindow) ? &g.NavMoveResultLocal : &g.NavMoveResultOther; if (!is_tabbing) @@ -9293,9 +10578,10 @@ static void ImGui::NavProcessItem() // Update window-relative bounding box of navigated item if (g.NavId == id) { - g.NavWindow = window; // Always refresh g.NavWindow, because some operations such as FocusItem() don't have a window. + if (g.NavWindow != window) + SetNavWindow(window); // Always refresh g.NavWindow, because some operations such as FocusItem() may not have a window. g.NavLayer = window->DC.NavLayerCurrent; - g.NavFocusScopeId = window->DC.NavFocusScopeIdCurrent; + g.NavFocusScopeId = g.CurrentFocusScopeId; g.NavIdIsAlive = true; window->NavRectRel[window->DC.NavLayerCurrent] = WindowRectAbsToRel(window, nav_bb); // Store item bounding box (relative to window position) } @@ -9371,10 +10657,11 @@ void ImGui::NavMoveRequestSubmit(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavM g.NavMoveScrollFlags = scroll_flags; g.NavMoveForwardToNextFrame = false; g.NavMoveKeyMods = g.IO.KeyMods; - g.NavTabbingCounter = 0; g.NavMoveResultLocal.Clear(); g.NavMoveResultLocalVisible.Clear(); g.NavMoveResultOther.Clear(); + g.NavTabbingCounter = 0; + g.NavTabbingResultFirst.Clear(); NavUpdateAnyRequestFlag(); } @@ -9441,7 +10728,12 @@ void ImGui::NavRestoreLayer(ImGuiNavLayer layer) { ImGuiContext& g = *GImGui; if (layer == ImGuiNavLayer_Main) - g.NavWindow = NavRestoreLastChildNavWindow(g.NavWindow); + { + ImGuiWindow* prev_nav_window = g.NavWindow; + g.NavWindow = NavRestoreLastChildNavWindow(g.NavWindow); // FIXME-NAV: Should clear ongoing nav requests? + if (prev_nav_window) + IMGUI_DEBUG_LOG_FOCUS("[focus] NavRestoreLayer: from \"%s\" to SetNavWindow(\"%s\")\n", prev_nav_window->Name, g.NavWindow->Name); + } ImGuiWindow* window = g.NavWindow; if (window->NavLastIds[layer] != 0) { @@ -9477,7 +10769,8 @@ void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) if (window->Flags & ImGuiWindowFlags_NoNavInputs) { - g.NavId = g.NavFocusScopeId = 0; + g.NavId = 0; + g.NavFocusScopeId = window->NavRootFocusScopeId; return; } @@ -9487,7 +10780,7 @@ void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from NavInitWindow(), init_for_nav=%d, window=\"%s\", layer=%d\n", init_for_nav, window->Name, g.NavLayer); if (init_for_nav) { - SetNavID(0, g.NavLayer, 0, ImRect()); + SetNavID(0, g.NavLayer, window->NavRootFocusScopeId, ImRect()); g.NavInitRequest = true; g.NavInitRequestFromMove = false; g.NavInitResultId = 0; @@ -9497,7 +10790,7 @@ void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit) else { g.NavId = window->NavLastIds[0]; - g.NavFocusScopeId = 0; + g.NavFocusScopeId = window->NavRootFocusScopeId; } } @@ -9508,9 +10801,10 @@ static ImVec2 ImGui::NavCalcPreferredRefPos() if (g.NavDisableHighlight || !g.NavDisableMouseHover || !window) { // Mouse (we need a fallback in case the mouse becomes invalid after being used) - if (IsMousePosValid(&g.IO.MousePos)) - return g.IO.MousePos; - return g.MouseLastValidPos; + // The +1.0f offset when stored by OpenPopupEx() allows reopening this or another popup (same or another mouse button) while not moving the mouse, it is pretty standard. + // In theory we could move that +1.0f offset in OpenPopupEx() + ImVec2 p = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : g.MouseLastValidPos; + return ImVec2(p.x + 1.0f, p.y); } else { @@ -9528,44 +10822,27 @@ static ImVec2 ImGui::NavCalcPreferredRefPos() } } -float ImGui::GetNavInputAmount(ImGuiNavInput n, ImGuiInputReadMode mode) +float ImGui::GetNavTweakPressedAmount(ImGuiAxis axis) { ImGuiContext& g = *GImGui; - if (mode == ImGuiInputReadMode_Down) - return g.IO.NavInputs[n]; // Instant, read analog input (0.0f..1.0f, as provided by user) + float repeat_delay, repeat_rate; + GetTypematicRepeatRate(ImGuiInputFlags_RepeatRateNavTweak, &repeat_delay, &repeat_rate); - const float t = g.IO.NavInputsDownDuration[n]; - if (t < 0.0f && mode == ImGuiInputReadMode_Released) // Return 1.0f when just released, no repeat, ignore analog input. - return (g.IO.NavInputsDownDurationPrev[n] >= 0.0f ? 1.0f : 0.0f); - if (t < 0.0f) - return 0.0f; - if (mode == ImGuiInputReadMode_Pressed) // Return 1.0f when just pressed, no repeat, ignore analog input. - return (t == 0.0f) ? 1.0f : 0.0f; - if (mode == ImGuiInputReadMode_Repeat) - return (float)CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay * 0.72f, g.IO.KeyRepeatRate * 0.80f); - if (mode == ImGuiInputReadMode_RepeatSlow) - return (float)CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay * 1.25f, g.IO.KeyRepeatRate * 2.00f); - if (mode == ImGuiInputReadMode_RepeatFast) - return (float)CalcTypematicRepeatAmount(t - g.IO.DeltaTime, t, g.IO.KeyRepeatDelay * 0.72f, g.IO.KeyRepeatRate * 0.30f); - return 0.0f; -} - -ImVec2 ImGui::GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor, float fast_factor) -{ - ImVec2 delta(0.0f, 0.0f); - if (dir_sources & ImGuiNavDirSourceFlags_RawKeyboard) - delta += ImVec2((float)IsKeyDown(GetKeyIndex(ImGuiKey_RightArrow)) - (float)IsKeyDown(GetKeyIndex(ImGuiKey_LeftArrow)), (float)IsKeyDown(GetKeyIndex(ImGuiKey_DownArrow)) - (float)IsKeyDown(GetKeyIndex(ImGuiKey_UpArrow))); - if (dir_sources & ImGuiNavDirSourceFlags_Keyboard) - delta += ImVec2(GetNavInputAmount(ImGuiNavInput_KeyRight_, mode) - GetNavInputAmount(ImGuiNavInput_KeyLeft_, mode), GetNavInputAmount(ImGuiNavInput_KeyDown_, mode) - GetNavInputAmount(ImGuiNavInput_KeyUp_, mode)); - if (dir_sources & ImGuiNavDirSourceFlags_PadDPad) - delta += ImVec2(GetNavInputAmount(ImGuiNavInput_DpadRight, mode) - GetNavInputAmount(ImGuiNavInput_DpadLeft, mode), GetNavInputAmount(ImGuiNavInput_DpadDown, mode) - GetNavInputAmount(ImGuiNavInput_DpadUp, mode)); - if (dir_sources & ImGuiNavDirSourceFlags_PadLStick) - delta += ImVec2(GetNavInputAmount(ImGuiNavInput_LStickRight, mode) - GetNavInputAmount(ImGuiNavInput_LStickLeft, mode), GetNavInputAmount(ImGuiNavInput_LStickDown, mode) - GetNavInputAmount(ImGuiNavInput_LStickUp, mode)); - if (slow_factor != 0.0f && IsNavInputDown(ImGuiNavInput_TweakSlow)) - delta *= slow_factor; - if (fast_factor != 0.0f && IsNavInputDown(ImGuiNavInput_TweakFast)) - delta *= fast_factor; - return delta; + ImGuiKey key_less, key_more; + if (g.NavInputSource == ImGuiInputSource_Gamepad) + { + key_less = (axis == ImGuiAxis_X) ? ImGuiKey_GamepadDpadLeft : ImGuiKey_GamepadDpadUp; + key_more = (axis == ImGuiAxis_X) ? ImGuiKey_GamepadDpadRight : ImGuiKey_GamepadDpadDown; + } + else + { + key_less = (axis == ImGuiAxis_X) ? ImGuiKey_LeftArrow : ImGuiKey_UpArrow; + key_more = (axis == ImGuiAxis_X) ? ImGuiKey_RightArrow : ImGuiKey_DownArrow; + } + float amount = (float)GetKeyPressedAmount(key_more, repeat_delay, repeat_rate) - (float)GetKeyPressedAmount(key_less, repeat_delay, repeat_rate); + if (amount != 0.0f && IsKeyDown(key_less) && IsKeyDown(key_more)) // Cancel when opposite directions are held, regardless of repeat phase + amount = 0.0f; + return amount; } static void ImGui::NavUpdate() @@ -9574,39 +10851,22 @@ static void ImGui::NavUpdate() ImGuiIO& io = g.IO; io.WantSetMousePos = false; - //if (g.NavScoringDebugCount > 0) IMGUI_DEBUG_LOG("NavScoringDebugCount %d for '%s' layer %d (Init:%d, Move:%d)\n", g.NavScoringDebugCount, g.NavWindow ? g.NavWindow->Name : "NULL", g.NavLayer, g.NavInitRequest || g.NavInitResultId != 0, g.NavMoveRequest); + //if (g.NavScoringDebugCount > 0) IMGUI_DEBUG_LOG_NAV("[nav] NavScoringDebugCount %d for '%s' layer %d (Init:%d, Move:%d)\n", g.NavScoringDebugCount, g.NavWindow ? g.NavWindow->Name : "NULL", g.NavLayer, g.NavInitRequest || g.NavInitResultId != 0, g.NavMoveRequest); - // Set input source as Gamepad when buttons are pressed (as some features differs when used with Gamepad vs Keyboard) - // (do it before we map Keyboard input!) - const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + // Set input source based on which keys are last pressed (as some features differs when used with Gamepad vs Keyboard) + // FIXME-NAV: Now that keys are separated maybe we can get rid of NavInputSource? const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; - if (nav_gamepad_active && g.NavInputSource != ImGuiInputSource_Gamepad) - { - if (io.NavInputs[ImGuiNavInput_Activate] > 0.0f || io.NavInputs[ImGuiNavInput_Input] > 0.0f || io.NavInputs[ImGuiNavInput_Cancel] > 0.0f || io.NavInputs[ImGuiNavInput_Menu] > 0.0f - || io.NavInputs[ImGuiNavInput_DpadLeft] > 0.0f || io.NavInputs[ImGuiNavInput_DpadRight] > 0.0f || io.NavInputs[ImGuiNavInput_DpadUp] > 0.0f || io.NavInputs[ImGuiNavInput_DpadDown] > 0.0f) - g.NavInputSource = ImGuiInputSource_Gamepad; - } - - // Update Keyboard->Nav inputs mapping + const ImGuiKey nav_gamepad_keys_to_change_source[] = { ImGuiKey_GamepadFaceRight, ImGuiKey_GamepadFaceLeft, ImGuiKey_GamepadFaceUp, ImGuiKey_GamepadFaceDown, ImGuiKey_GamepadDpadRight, ImGuiKey_GamepadDpadLeft, ImGuiKey_GamepadDpadUp, ImGuiKey_GamepadDpadDown }; + if (nav_gamepad_active) + for (ImGuiKey key : nav_gamepad_keys_to_change_source) + if (IsKeyDown(key)) + g.NavInputSource = ImGuiInputSource_Gamepad; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + const ImGuiKey nav_keyboard_keys_to_change_source[] = { ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, ImGuiKey_RightArrow, ImGuiKey_LeftArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow }; if (nav_keyboard_active) - { - #define NAV_MAP_KEY(_KEY, _NAV_INPUT) do { if (IsKeyDown(io.KeyMap[_KEY])) { io.NavInputs[_NAV_INPUT] = 1.0f; g.NavInputSource = ImGuiInputSource_Keyboard; } } while (0) - NAV_MAP_KEY(ImGuiKey_Space, ImGuiNavInput_Activate ); - NAV_MAP_KEY(ImGuiKey_Enter, ImGuiNavInput_Input ); - NAV_MAP_KEY(ImGuiKey_Escape, ImGuiNavInput_Cancel ); - NAV_MAP_KEY(ImGuiKey_LeftArrow, ImGuiNavInput_KeyLeft_ ); - NAV_MAP_KEY(ImGuiKey_RightArrow,ImGuiNavInput_KeyRight_); - NAV_MAP_KEY(ImGuiKey_UpArrow, ImGuiNavInput_KeyUp_ ); - NAV_MAP_KEY(ImGuiKey_DownArrow, ImGuiNavInput_KeyDown_ ); - if (io.KeyCtrl) - io.NavInputs[ImGuiNavInput_TweakSlow] = 1.0f; - if (io.KeyShift) - io.NavInputs[ImGuiNavInput_TweakFast] = 1.0f; - #undef NAV_MAP_KEY - } - memcpy(io.NavInputsDownDurationPrev, io.NavInputsDownDuration, sizeof(io.NavInputsDownDuration)); - for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) - io.NavInputsDownDuration[i] = (io.NavInputs[i] > 0.0f) ? (io.NavInputsDownDuration[i] < 0.0f ? 0.0f : io.NavInputsDownDuration[i] + io.DeltaTime) : -1.0f; + for (ImGuiKey key : nav_keyboard_keys_to_change_source) + if (IsKeyDown(key)) + g.NavInputSource = ImGuiInputSource_Keyboard; // Process navigation init request (select first/default focus) if (g.NavInitResultId != 0) @@ -9651,10 +10911,10 @@ static void ImGui::NavUpdate() g.NavActivateFlags = ImGuiActivateFlags_None; if (g.NavId != 0 && !g.NavDisableHighlight && !g.NavWindowingTarget && g.NavWindow && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs)) { - bool activate_down = IsNavInputDown(ImGuiNavInput_Activate); - bool input_down = IsNavInputDown(ImGuiNavInput_Input); - bool activate_pressed = activate_down && IsNavInputTest(ImGuiNavInput_Activate, ImGuiInputReadMode_Pressed); - bool input_pressed = input_down && IsNavInputTest(ImGuiNavInput_Input, ImGuiInputReadMode_Pressed); + const bool activate_down = (nav_keyboard_active && IsKeyDown(ImGuiKey_Space)) || (nav_gamepad_active && IsKeyDown(ImGuiKey_NavGamepadActivate)); + const bool activate_pressed = activate_down && ((nav_keyboard_active && IsKeyPressed(ImGuiKey_Space, false)) || (nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadActivate, false))); + const bool input_down = (nav_keyboard_active && IsKeyDown(ImGuiKey_Enter)) || (nav_gamepad_active && IsKeyDown(ImGuiKey_NavGamepadInput)); + const bool input_pressed = input_down && ((nav_keyboard_active && IsKeyPressed(ImGuiKey_Enter, false)) || (nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadInput, false))); if (g.ActiveId == 0 && activate_pressed) { g.NavActivateId = g.NavId; @@ -9709,13 +10969,17 @@ static void ImGui::NavUpdate() SetScrollY(window, ImFloor(window->Scroll.y + ((move_dir == ImGuiDir_Up) ? -1.0f : +1.0f) * scroll_speed)); } - // *Normal* Manual scroll with NavScrollXXX keys + // *Normal* Manual scroll with LStick // Next movement request will clamp the NavId reference rectangle to the visible area, so navigation will resume within those bounds. - ImVec2 scroll_dir = GetNavInputAmount2d(ImGuiNavDirSourceFlags_PadLStick, ImGuiInputReadMode_Down, 1.0f / 10.0f, 10.0f); - if (scroll_dir.x != 0.0f && window->ScrollbarX) - SetScrollX(window, ImFloor(window->Scroll.x + scroll_dir.x * scroll_speed)); - if (scroll_dir.y != 0.0f) - SetScrollY(window, ImFloor(window->Scroll.y + scroll_dir.y * scroll_speed)); + if (nav_gamepad_active) + { + const ImVec2 scroll_dir = GetKeyVector2d(ImGuiKey_GamepadLStickLeft, ImGuiKey_GamepadLStickRight, ImGuiKey_GamepadLStickUp, ImGuiKey_GamepadLStickDown); + const float tweak_factor = IsKeyDown(ImGuiKey_NavGamepadTweakSlow) ? 1.0f / 10.0f : IsKeyDown(ImGuiKey_NavGamepadTweakFast) ? 10.0f : 1.0f; + if (scroll_dir.x != 0.0f && window->ScrollbarX) + SetScrollX(window, ImFloor(window->Scroll.x + scroll_dir.x * scroll_speed * tweak_factor)); + if (scroll_dir.y != 0.0f) + SetScrollY(window, ImFloor(window->Scroll.y + scroll_dir.y * scroll_speed * tweak_factor)); + } } // Always prioritize mouse highlight if navigation is disabled @@ -9731,7 +10995,7 @@ static void ImGui::NavUpdate() { io.MousePos = io.MousePosPrev = NavCalcPreferredRefPos(); io.WantSetMousePos = true; - //IMGUI_DEBUG_LOG("SetMousePos: (%.1f,%.1f)\n", io.MousePos.x, io.MousePos.y); + //IMGUI_DEBUG_LOG_IO("SetMousePos: (%.1f,%.1f)\n", io.MousePos.x, io.MousePos.y); } // [DEBUG] @@ -9755,7 +11019,7 @@ void ImGui::NavInitRequestApplyResult() // Apply result from previous navigation init request (will typically select the first item, unless SetItemDefaultFocus() has been called) // FIXME-NAV: On _NavFlattened windows, g.NavWindow will only be updated during subsequent frame. Not a problem currently. - IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: result NavID 0x%08X in Layer %d Window \"%s\"\n", g.NavInitResultId, g.NavLayer, g.NavWindow->Name); + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: ApplyResult: NavID 0x%08X in Layer %d Window \"%s\"\n", g.NavInitResultId, g.NavLayer, g.NavWindow->Name); SetNavID(g.NavInitResultId, g.NavLayer, 0, g.NavInitResultRectRel); g.NavIdIsAlive = true; // Mark as alive from previous frame as we got a result if (g.NavInitRequestFromMove) @@ -9767,6 +11031,8 @@ void ImGui::NavUpdateCreateMoveRequest() ImGuiContext& g = *GImGui; ImGuiIO& io = g.IO; ImGuiWindow* window = g.NavWindow; + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; if (g.NavMoveForwardToNextFrame && window != NULL) { @@ -9784,11 +11050,11 @@ void ImGui::NavUpdateCreateMoveRequest() g.NavMoveScrollFlags = ImGuiScrollFlags_None; if (window && !g.NavWindowingTarget && !(window->Flags & ImGuiWindowFlags_NoNavInputs)) { - const ImGuiInputReadMode read_mode = ImGuiInputReadMode_Repeat; - if (!IsActiveIdUsingNavDir(ImGuiDir_Left) && (IsNavInputTest(ImGuiNavInput_DpadLeft, read_mode) || IsNavInputTest(ImGuiNavInput_KeyLeft_, read_mode))) { g.NavMoveDir = ImGuiDir_Left; } - if (!IsActiveIdUsingNavDir(ImGuiDir_Right) && (IsNavInputTest(ImGuiNavInput_DpadRight, read_mode) || IsNavInputTest(ImGuiNavInput_KeyRight_, read_mode))) { g.NavMoveDir = ImGuiDir_Right; } - if (!IsActiveIdUsingNavDir(ImGuiDir_Up) && (IsNavInputTest(ImGuiNavInput_DpadUp, read_mode) || IsNavInputTest(ImGuiNavInput_KeyUp_, read_mode))) { g.NavMoveDir = ImGuiDir_Up; } - if (!IsActiveIdUsingNavDir(ImGuiDir_Down) && (IsNavInputTest(ImGuiNavInput_DpadDown, read_mode) || IsNavInputTest(ImGuiNavInput_KeyDown_, read_mode))) { g.NavMoveDir = ImGuiDir_Down; } + const ImGuiInputFlags repeat_mode = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateNavMove; + if (!IsActiveIdUsingNavDir(ImGuiDir_Left) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadLeft, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_LeftArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Left; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Right) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadRight, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_RightArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Right; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Up) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadUp, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_UpArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Up; } + if (!IsActiveIdUsingNavDir(ImGuiDir_Down) && ((nav_gamepad_active && IsKeyPressed(ImGuiKey_GamepadDpadDown, ImGuiKeyOwner_None, repeat_mode)) || (nav_keyboard_active && IsKeyPressed(ImGuiKey_DownArrow, ImGuiKeyOwner_None, repeat_mode)))) { g.NavMoveDir = ImGuiDir_Down; } } g.NavMoveClipDir = g.NavMoveDir; g.NavScoringNoClipRect = ImRect(+FLT_MAX, +FLT_MAX, -FLT_MAX, -FLT_MAX); @@ -9796,7 +11062,6 @@ void ImGui::NavUpdateCreateMoveRequest() // Update PageUp/PageDown/Home/End scroll // FIXME-NAV: Consider enabling those keys even without the master ImGuiConfigFlags_NavEnableKeyboard flag? - const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; float scoring_rect_offset_y = 0.0f; if (window && g.NavMoveDir == ImGuiDir_None && nav_keyboard_active) scoring_rect_offset_y = NavUpdatePageUpPageDown(); @@ -9808,7 +11073,7 @@ void ImGui::NavUpdateCreateMoveRequest() // [DEBUG] Always send a request #if IMGUI_DEBUG_NAV_SCORING - if (io.KeyCtrl && IsKeyPressedMap(ImGuiKey_C)) + if (io.KeyCtrl && IsKeyPressed(ImGuiKey_C)) g.NavMoveDirForDebug = (ImGuiDir)((g.NavMoveDirForDebug + 1) & 3); if (io.KeyCtrl && g.NavMoveDir == ImGuiDir_None) { @@ -9822,28 +11087,34 @@ void ImGui::NavUpdateCreateMoveRequest() if (g.NavMoveDir != ImGuiDir_None) NavMoveRequestSubmit(g.NavMoveDir, g.NavMoveClipDir, g.NavMoveFlags, g.NavMoveScrollFlags); - // Moving with no reference triggers a init request (will be used as a fallback if the direction fails to find a match) + // Moving with no reference triggers an init request (will be used as a fallback if the direction fails to find a match) if (g.NavMoveSubmitted && g.NavId == 0) { - IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from move, window \"%s\", layer=%d\n", g.NavWindow->Name, g.NavLayer); + IMGUI_DEBUG_LOG_NAV("[nav] NavInitRequest: from move, window \"%s\", layer=%d\n", window ? window->Name : "", g.NavLayer); g.NavInitRequest = g.NavInitRequestFromMove = true; g.NavInitResultId = 0; g.NavDisableHighlight = false; } // When using gamepad, we project the reference nav bounding box into window visible area. - // This is to allow resuming navigation inside the visible area after doing a large amount of scrolling, since with gamepad every movements are relative + // This is to allow resuming navigation inside the visible area after doing a large amount of scrolling, since with gamepad all movements are relative // (can't focus a visible object like we can with the mouse). - if (g.NavMoveSubmitted && g.NavInputSource == ImGuiInputSource_Gamepad && g.NavLayer == ImGuiNavLayer_Main && window != NULL) + if (g.NavMoveSubmitted && g.NavInputSource == ImGuiInputSource_Gamepad && g.NavLayer == ImGuiNavLayer_Main && window != NULL)// && (g.NavMoveFlags & ImGuiNavMoveFlags_Forwarded)) { - ImRect window_rect_rel = WindowRectAbsToRel(window, ImRect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1))); - if (!window_rect_rel.Contains(window->NavRectRel[g.NavLayer])) + bool clamp_x = (g.NavMoveFlags & (ImGuiNavMoveFlags_LoopX | ImGuiNavMoveFlags_WrapX)) == 0; + bool clamp_y = (g.NavMoveFlags & (ImGuiNavMoveFlags_LoopY | ImGuiNavMoveFlags_WrapY)) == 0; + ImRect inner_rect_rel = WindowRectAbsToRel(window, ImRect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1))); + if ((clamp_x || clamp_y) && !inner_rect_rel.Contains(window->NavRectRel[g.NavLayer])) { - IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequest: clamp NavRectRel\n"); - float pad = window->CalcFontSize() * 0.5f; - window_rect_rel.Expand(ImVec2(-ImMin(window_rect_rel.GetWidth(), pad), -ImMin(window_rect_rel.GetHeight(), pad))); // Terrible approximation for the intent of starting navigation from first fully visible item - window->NavRectRel[g.NavLayer].ClipWithFull(window_rect_rel); - g.NavId = g.NavFocusScopeId = 0; + //IMGUI_DEBUG_LOG_NAV("[nav] NavMoveRequest: clamp NavRectRel for gamepad move\n"); + float pad_x = ImMin(inner_rect_rel.GetWidth(), window->CalcFontSize() * 0.5f); + float pad_y = ImMin(inner_rect_rel.GetHeight(), window->CalcFontSize() * 0.5f); // Terrible approximation for the intent of starting navigation from first fully visible item + inner_rect_rel.Min.x = clamp_x ? (inner_rect_rel.Min.x + pad_x) : -FLT_MAX; + inner_rect_rel.Max.x = clamp_x ? (inner_rect_rel.Max.x - pad_x) : +FLT_MAX; + inner_rect_rel.Min.y = clamp_y ? (inner_rect_rel.Min.y + pad_y) : -FLT_MAX; + inner_rect_rel.Max.y = clamp_y ? (inner_rect_rel.Max.y - pad_y) : +FLT_MAX; + window->NavRectRel[g.NavLayer].ClipWithFull(inner_rect_rel); + g.NavId = 0; } } @@ -9856,7 +11127,7 @@ void ImGui::NavUpdateCreateMoveRequest() scoring_rect.TranslateY(scoring_rect_offset_y); scoring_rect.Min.x = ImMin(scoring_rect.Min.x + 1.0f, scoring_rect.Max.x); scoring_rect.Max.x = scoring_rect.Min.x; - IM_ASSERT(!scoring_rect.IsInverted()); // Ensure if we have a finite, non-inverted bounding box here will allows us to remove extraneous ImFabs() calls in NavScoreItem(). + IM_ASSERT(!scoring_rect.IsInverted()); // Ensure if we have a finite, non-inverted bounding box here will allow us to remove extraneous ImFabs() calls in NavScoreItem(). //GetForegroundDrawList()->AddRect(scoring_rect.Min, scoring_rect.Max, IM_COL32(255,200,0,255)); // [DEBUG] //if (!g.NavScoringNoClipRect.IsInverted()) { GetForegroundDrawList()->AddRect(g.NavScoringNoClipRect.Min, g.NavScoringNoClipRect.Max, IM_COL32(255, 200, 0, 255)); } // [DEBUG] } @@ -9872,7 +11143,7 @@ void ImGui::NavUpdateCreateTabbingRequest() if (window == NULL || g.NavWindowingTarget != NULL || (window->Flags & ImGuiWindowFlags_NoNavInputs)) return; - const bool tab_pressed = IsKeyPressedMap(ImGuiKey_Tab, true) && !IsActiveIdUsingKey(ImGuiKey_Tab) && !g.IO.KeyCtrl && !g.IO.KeyAlt; + const bool tab_pressed = IsKeyPressed(ImGuiKey_Tab, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat) && !g.IO.KeyCtrl && !g.IO.KeyAlt; if (!tab_pressed) return; @@ -9885,7 +11156,6 @@ void ImGui::NavUpdateCreateTabbingRequest() ImGuiScrollFlags scroll_flags = window->Appearing ? ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_AlwaysCenterY : ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleEdgeY; ImGuiDir clip_dir = (g.NavTabbingDir < 0) ? ImGuiDir_Up : ImGuiDir_Down; NavMoveRequestSubmit(ImGuiDir_None, clip_dir, ImGuiNavMoveFlags_Tabbing, scroll_flags); // FIXME-NAV: Once we refactor tabbing, add LegacyApi flag to not activate non-inputable. - g.NavTabbingResultFirst.Clear(); g.NavTabbingCounter = -1; } @@ -9906,7 +11176,7 @@ void ImGui::NavMoveRequestApplyResult() if ((g.NavTabbingCounter == 1 || g.NavTabbingDir == 0) && g.NavTabbingResultFirst.ID) result = &g.NavTabbingResultFirst; - // In a situation when there is no results but NavId != 0, re-enable the Navigation highlight (because g.NavId is not considered as a possible result) + // In a situation when there are no results but NavId != 0, re-enable the Navigation highlight (because g.NavId is not considered as a possible result) if (result == NULL) { if (g.NavMoveFlags & ImGuiNavMoveFlags_Tabbing) @@ -9943,7 +11213,11 @@ void ImGui::NavMoveRequestApplyResult() } } - g.NavWindow = result->Window; + if (g.NavWindow != result->Window) + { + IMGUI_DEBUG_LOG_FOCUS("[focus] NavMoveRequest: SetNavWindow(\"%s\")\n", result->Window->Name); + g.NavWindow = result->Window; + } if (g.ActiveId != result->ID) ClearActiveID(); if (g.NavId != result->ID) @@ -9985,14 +11259,15 @@ void ImGui::NavMoveRequestApplyResult() static void ImGui::NavUpdateCancelRequest() { ImGuiContext& g = *GImGui; - if (!IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed)) + const bool nav_gamepad_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (g.IO.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + if (!(nav_keyboard_active && IsKeyPressed(ImGuiKey_Escape, ImGuiKeyOwner_None)) && !(nav_gamepad_active && IsKeyPressed(ImGuiKey_NavGamepadCancel, ImGuiKeyOwner_None))) return; - IMGUI_DEBUG_LOG_NAV("[nav] ImGuiNavInput_Cancel\n"); + IMGUI_DEBUG_LOG_NAV("[nav] NavUpdateCancelRequest()\n"); if (g.ActiveId != 0) { - if (!IsActiveIdUsingNavInput(ImGuiNavInput_Cancel)) - ClearActiveID(); + ClearActiveID(); } else if (g.NavLayer != ImGuiNavLayer_Main) { @@ -10011,18 +11286,17 @@ static void ImGui::NavUpdateCancelRequest() SetNavID(child_window->ChildId, ImGuiNavLayer_Main, 0, WindowRectAbsToRel(parent_window, child_rect)); NavRestoreHighlightAfterMove(); } - else if (g.OpenPopupStack.Size > 0) + else if (g.OpenPopupStack.Size > 0 && g.OpenPopupStack.back().Window != NULL && !(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal)) { // Close open popup/menu - if (!(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal)) - ClosePopupToLevel(g.OpenPopupStack.Size - 1, true); + ClosePopupToLevel(g.OpenPopupStack.Size - 1, true); } else { // Clear NavLastId for popups but keep it for regular child window so we can leave one and come back where we were if (g.NavWindow && ((g.NavWindow->Flags & ImGuiWindowFlags_Popup) || !(g.NavWindow->Flags & ImGuiWindowFlags_ChildWindow))) g.NavWindow->NavLastIds[0] = 0; - g.NavId = g.NavFocusScopeId = 0; + g.NavId = 0; } } @@ -10033,16 +11307,14 @@ static void ImGui::NavUpdateCancelRequest() static float ImGui::NavUpdatePageUpPageDown() { ImGuiContext& g = *GImGui; - ImGuiIO& io = g.IO; - ImGuiWindow* window = g.NavWindow; if ((window->Flags & ImGuiWindowFlags_NoNavInputs) || g.NavWindowingTarget != NULL) return 0.0f; - const bool page_up_held = IsKeyDown(io.KeyMap[ImGuiKey_PageUp]) && !IsActiveIdUsingKey(ImGuiKey_PageUp); - const bool page_down_held = IsKeyDown(io.KeyMap[ImGuiKey_PageDown]) && !IsActiveIdUsingKey(ImGuiKey_PageDown); - const bool home_pressed = IsKeyPressed(io.KeyMap[ImGuiKey_Home]) && !IsActiveIdUsingKey(ImGuiKey_Home); - const bool end_pressed = IsKeyPressed(io.KeyMap[ImGuiKey_End]) && !IsActiveIdUsingKey(ImGuiKey_End); + const bool page_up_held = IsKeyDown(ImGuiKey_PageUp, ImGuiKeyOwner_None); + const bool page_down_held = IsKeyDown(ImGuiKey_PageDown, ImGuiKeyOwner_None); + const bool home_pressed = IsKeyPressed(ImGuiKey_Home, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat); + const bool end_pressed = IsKeyPressed(ImGuiKey_End, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat); if (page_up_held == page_down_held && home_pressed == end_pressed) // Proceed if either (not both) are pressed, otherwise early out return 0.0f; @@ -10052,9 +11324,9 @@ static float ImGui::NavUpdatePageUpPageDown() if (window->DC.NavLayersActiveMask == 0x00 && window->DC.NavHasScroll) { // Fallback manual-scroll when window has no navigable item - if (IsKeyPressed(io.KeyMap[ImGuiKey_PageUp], true)) + if (IsKeyPressed(ImGuiKey_PageUp, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat)) SetScrollY(window, window->Scroll.y - window->InnerRect.GetHeight()); - else if (IsKeyPressed(io.KeyMap[ImGuiKey_PageDown], true)) + else if (IsKeyPressed(ImGuiKey_PageDown, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat)) SetScrollY(window, window->Scroll.y + window->InnerRect.GetHeight()); else if (home_pressed) SetScrollY(window, 0.0f); @@ -10066,14 +11338,14 @@ static float ImGui::NavUpdatePageUpPageDown() ImRect& nav_rect_rel = window->NavRectRel[g.NavLayer]; const float page_offset_y = ImMax(0.0f, window->InnerRect.GetHeight() - window->CalcFontSize() * 1.0f + nav_rect_rel.GetHeight()); float nav_scoring_rect_offset_y = 0.0f; - if (IsKeyPressed(io.KeyMap[ImGuiKey_PageUp], true)) + if (IsKeyPressed(ImGuiKey_PageUp, true)) { nav_scoring_rect_offset_y = -page_offset_y; g.NavMoveDir = ImGuiDir_Down; // Because our scoring rect is offset up, we request the down direction (so we can always land on the last item) g.NavMoveClipDir = ImGuiDir_Up; g.NavMoveFlags = ImGuiNavMoveFlags_AllowCurrentNavId | ImGuiNavMoveFlags_AlsoScoreVisibleSet; } - else if (IsKeyPressed(io.KeyMap[ImGuiKey_PageDown], true)) + else if (IsKeyPressed(ImGuiKey_PageDown, true)) { nav_scoring_rect_offset_y = +page_offset_y; g.NavMoveDir = ImGuiDir_Up; // Because our scoring rect is offset down, we request the up direction (so we can always land on the last item) @@ -10208,7 +11480,10 @@ static void NavUpdateWindowingHighlightWindow(int focus_change_dir) if (!window_target) window_target = FindWindowNavFocusable((focus_change_dir < 0) ? (g.WindowsFocusOrder.Size - 1) : 0, i_current, focus_change_dir); if (window_target) // Don't reset windowing target if there's a single window in the list + { g.NavWindowingTarget = g.NavWindowingTargetAnim = window_target; + g.NavWindowingAccumDeltaPos = g.NavWindowingAccumDeltaSize = ImVec2(0.0f, 0.0f); + } g.NavWindowingToggleLayer = false; } @@ -10237,13 +11512,18 @@ static void ImGui::NavUpdateWindowing() } // Start CTRL+Tab or Square+L/R window selection - const bool start_windowing_with_gamepad = allow_windowing && !g.NavWindowingTarget && IsNavInputTest(ImGuiNavInput_Menu, ImGuiInputReadMode_Pressed); - const bool start_windowing_with_keyboard = allow_windowing && !g.NavWindowingTarget && io.KeyCtrl && IsKeyPressedMap(ImGuiKey_Tab); + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; + const bool keyboard_next_window = allow_windowing && g.ConfigNavWindowingKeyNext && Shortcut(g.ConfigNavWindowingKeyNext, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat | ImGuiInputFlags_RouteAlways); + const bool keyboard_prev_window = allow_windowing && g.ConfigNavWindowingKeyPrev && Shortcut(g.ConfigNavWindowingKeyPrev, ImGuiKeyOwner_None, ImGuiInputFlags_Repeat | ImGuiInputFlags_RouteAlways); + const bool start_windowing_with_gamepad = allow_windowing && nav_gamepad_active && !g.NavWindowingTarget && IsKeyPressed(ImGuiKey_NavGamepadMenu, 0, ImGuiInputFlags_None); + const bool start_windowing_with_keyboard = allow_windowing && !g.NavWindowingTarget && (keyboard_next_window || keyboard_prev_window); // Note: enabled even without NavEnableKeyboard! if (start_windowing_with_gamepad || start_windowing_with_keyboard) if (ImGuiWindow* window = g.NavWindow ? g.NavWindow : FindWindowNavFocusable(g.WindowsFocusOrder.Size - 1, -INT_MAX, -1)) { g.NavWindowingTarget = g.NavWindowingTargetAnim = window->RootWindow; g.NavWindowingTimer = g.NavWindowingHighlightAlpha = 0.0f; + g.NavWindowingAccumDeltaPos = g.NavWindowingAccumDeltaSize = ImVec2(0.0f, 0.0f); g.NavWindowingToggleLayer = start_windowing_with_gamepad ? true : false; // Gamepad starts toggling layer g.NavInputSource = start_windowing_with_keyboard ? ImGuiInputSource_Keyboard : ImGuiInputSource_Gamepad; } @@ -10256,7 +11536,7 @@ static void ImGui::NavUpdateWindowing() g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha, ImSaturate((g.NavWindowingTimer - NAV_WINDOWING_HIGHLIGHT_DELAY) / 0.05f)); // Select window to focus - const int focus_change_dir = (int)IsNavInputTest(ImGuiNavInput_FocusPrev, ImGuiInputReadMode_RepeatSlow) - (int)IsNavInputTest(ImGuiNavInput_FocusNext, ImGuiInputReadMode_RepeatSlow); + const int focus_change_dir = (int)IsKeyPressed(ImGuiKey_GamepadL1) - (int)IsKeyPressed(ImGuiKey_GamepadR1); if (focus_change_dir != 0) { NavUpdateWindowingHighlightWindow(focus_change_dir); @@ -10264,7 +11544,7 @@ static void ImGui::NavUpdateWindowing() } // Single press toggles NavLayer, long press with L/R apply actual focus on release (until then the window was merely rendered top-most) - if (!IsNavInputDown(ImGuiNavInput_Menu)) + if (!IsKeyDown(ImGuiKey_NavGamepadMenu)) { g.NavWindowingToggleLayer &= (g.NavWindowingHighlightAlpha < 1.0f); // Once button was held long enough we don't consider it a tap-to-toggle-layer press anymore. if (g.NavWindowingToggleLayer && g.NavWindow) @@ -10279,18 +11559,19 @@ static void ImGui::NavUpdateWindowing() if (g.NavWindowingTarget && g.NavInputSource == ImGuiInputSource_Keyboard) { // Visuals only appears after a brief time after pressing TAB the first time, so that a fast CTRL+TAB doesn't add visual noise + ImGuiKeyChord shared_mods = ((g.ConfigNavWindowingKeyNext ? g.ConfigNavWindowingKeyNext : ImGuiMod_Mask_) & (g.ConfigNavWindowingKeyPrev ? g.ConfigNavWindowingKeyPrev : ImGuiMod_Mask_)) & ImGuiMod_Mask_; + IM_ASSERT(shared_mods != 0); // Next/Prev shortcut currently needs a shared modifier to "hold", otherwise Prev actions would keep cycling between two windows. g.NavWindowingHighlightAlpha = ImMax(g.NavWindowingHighlightAlpha, ImSaturate((g.NavWindowingTimer - NAV_WINDOWING_HIGHLIGHT_DELAY) / 0.05f)); // 1.0f - if (IsKeyPressedMap(ImGuiKey_Tab, true)) - NavUpdateWindowingHighlightWindow(io.KeyShift ? +1 : -1); - if (!io.KeyCtrl) + if (keyboard_next_window || keyboard_prev_window) + NavUpdateWindowingHighlightWindow(keyboard_next_window ? -1 : +1); + else if ((io.KeyMods & shared_mods) != shared_mods) apply_focus_window = g.NavWindowingTarget; } // Keyboard: Press and Release ALT to toggle menu layer // - Testing that only Alt is tested prevents Alt+Shift or AltGR from toggling menu layer. // - AltGR is normally Alt+Ctrl but we can't reliably detect it (not all backends/systems/layout emit it as Alt+Ctrl). But even on keyboards without AltGR we don't want Alt+Ctrl to open menu anyway. - const bool nav_keyboard_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) != 0; - if (nav_keyboard_active && io.KeyMods == ImGuiKeyModFlags_Alt && (io.KeyModsPrev & ImGuiKeyModFlags_Alt) == 0) + if (nav_keyboard_active && IsKeyPressed(ImGuiMod_Alt, ImGuiKeyOwner_None)) { g.NavWindowingToggleLayer = true; g.NavInputSource = ImGuiInputSource_Keyboard; @@ -10299,36 +11580,41 @@ static void ImGui::NavUpdateWindowing() { // We cancel toggling nav layer when any text has been typed (generally while holding Alt). (See #370) // We cancel toggling nav layer when other modifiers are pressed. (See #4439) - if (io.InputQueueCharacters.Size > 0 || io.KeyCtrl || io.KeyShift || io.KeySuper) + // We cancel toggling nav layer if an owner has claimed the key. + if (io.InputQueueCharacters.Size > 0 || io.KeyCtrl || io.KeyShift || io.KeySuper || TestKeyOwner(ImGuiMod_Alt, ImGuiKeyOwner_None) == false) g.NavWindowingToggleLayer = false; // Apply layer toggle on release - // Important: we don't assume that Alt was previously held in order to handle loss of focus when backend calls io.AddFocusEvent(false) // Important: as before version <18314 we lacked an explicit IO event for focus gain/loss, we also compare mouse validity to detect old backends clearing mouse pos on focus loss. - if (!(io.KeyMods & ImGuiKeyModFlags_Alt) && (io.KeyModsPrev & ImGuiKeyModFlags_Alt) && g.NavWindowingToggleLayer) + if (IsKeyReleased(ImGuiMod_Alt) && g.NavWindowingToggleLayer) if (g.ActiveId == 0 || g.ActiveIdAllowOverlap) if (IsMousePosValid(&io.MousePos) == IsMousePosValid(&io.MousePosPrev)) apply_toggle_layer = true; - if (!io.KeyAlt) + if (!IsKeyDown(ImGuiMod_Alt)) g.NavWindowingToggleLayer = false; } // Move window if (g.NavWindowingTarget && !(g.NavWindowingTarget->Flags & ImGuiWindowFlags_NoMove)) { - ImVec2 move_delta; + ImVec2 nav_move_dir; if (g.NavInputSource == ImGuiInputSource_Keyboard && !io.KeyShift) - move_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_RawKeyboard, ImGuiInputReadMode_Down); + nav_move_dir = GetKeyVector2d(ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, ImGuiKey_DownArrow); if (g.NavInputSource == ImGuiInputSource_Gamepad) - move_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_PadLStick, ImGuiInputReadMode_Down); - if (move_delta.x != 0.0f || move_delta.y != 0.0f) + nav_move_dir = GetKeyVector2d(ImGuiKey_GamepadLStickLeft, ImGuiKey_GamepadLStickRight, ImGuiKey_GamepadLStickUp, ImGuiKey_GamepadLStickDown); + if (nav_move_dir.x != 0.0f || nav_move_dir.y != 0.0f) { const float NAV_MOVE_SPEED = 800.0f; - const float move_speed = ImFloor(NAV_MOVE_SPEED * io.DeltaTime * ImMin(io.DisplayFramebufferScale.x, io.DisplayFramebufferScale.y)); // FIXME: Doesn't handle variable framerate very well - ImGuiWindow* moving_window = g.NavWindowingTarget->RootWindow; - SetWindowPos(moving_window, moving_window->Pos + move_delta * move_speed, ImGuiCond_Always); - MarkIniSettingsDirty(moving_window); + const float move_step = NAV_MOVE_SPEED * io.DeltaTime * ImMin(io.DisplayFramebufferScale.x, io.DisplayFramebufferScale.y); + g.NavWindowingAccumDeltaPos += nav_move_dir * move_step; g.NavDisableMouseHover = true; + ImVec2 accum_floored = ImFloor(g.NavWindowingAccumDeltaPos); + if (accum_floored.x != 0.0f || accum_floored.y != 0.0f) + { + ImGuiWindow* moving_window = g.NavWindowingTarget->RootWindow; + SetWindowPos(moving_window, moving_window->Pos + accum_floored, ImGuiCond_Always); + g.NavWindowingAccumDeltaPos -= accum_floored; + } } } @@ -10392,10 +11678,10 @@ static void ImGui::NavUpdateWindowing() static const char* GetFallbackWindowNameForWindowingList(ImGuiWindow* window) { if (window->Flags & ImGuiWindowFlags_Popup) - return "(Popup)"; + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingPopup); if ((window->Flags & ImGuiWindowFlags_MenuBar) && strcmp(window->Name, "##MainMenuBar") == 0) - return "(Main menu bar)"; - return "(Untitled)"; + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingMainMenuBar); + return ImGui::LocalizeGetMsg(ImGuiLocKey_WindowingUntitled); } // Overlay displayed when using CTRL+TAB. Called by EndFrame(). @@ -10434,6 +11720,12 @@ void ImGui::NavUpdateWindowingOverlay() // [SECTION] DRAG AND DROP //----------------------------------------------------------------------------- +bool ImGui::IsDragDropActive() +{ + ImGuiContext& g = *GImGui; + return g.DragDropActive; +} + void ImGui::ClearDragDrop() { ImGuiContext& g = *GImGui; @@ -10503,6 +11795,7 @@ bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) // We don't need to maintain/call ClearActiveID() as releasing the button will early out this function and trigger !ActiveIdIsAlive. // Rely on keeping other window->LastItemXXX fields intact. source_id = g.LastItemData.ID = window->GetIDFromRectangle(g.LastItemData.Rect); + KeepAliveID(source_id); bool is_hovered = ItemHoverable(g.LastItemData.Rect, source_id); if (is_hovered && g.IO.MouseClicked[mouse_button]) { @@ -10518,7 +11811,7 @@ bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) source_drag_active = IsMouseDragging(mouse_button); // Disable navigation and key inputs while dragging + cancel existing request if any - SetActiveIdUsingNavAndKeys(); + SetActiveIdUsingAllKeyboardKeys(); } else { @@ -10622,6 +11915,7 @@ bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_s } payload.DataFrameCount = g.FrameCount; + // Return whether the payload has been accepted return (g.DragDropAcceptFrameCount == g.FrameCount) || (g.DragDropAcceptFrameCount == g.FrameCount - 1); } @@ -10649,7 +11943,7 @@ bool ImGui::BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id) } // We don't use BeginDragDropTargetCustom() and duplicate its code because: -// 1) we use LastItemRectHoveredRect which handles items that pushes a temporarily clip rectangle in their code. Calling BeginDragDropTargetCustom(LastItemRect) would not handle them. +// 1) we use LastItemRectHoveredRect which handles items that push a temporarily clip rectangle in their code. Calling BeginDragDropTargetCustom(LastItemRect) would not handle them. // 2) and it's faster. as this code may be very frequently called, we want to early out as fast as we can. // Also note how the HoveredWindow test is positioned differently in both functions (in both functions we optimize for the cheapest early out case) bool ImGui::BeginDragDropTarget() @@ -10668,7 +11962,10 @@ bool ImGui::BeginDragDropTarget() const ImRect& display_rect = (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) ? g.LastItemData.DisplayRect : g.LastItemData.Rect; ImGuiID id = g.LastItemData.ID; if (id == 0) + { id = window->GetIDFromRectangle(display_rect); + KeepAliveID(id); + } if (g.DragDropPayload.SourceId == id) return false; @@ -10708,9 +12005,8 @@ const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDrop } // Render default drop visuals - // FIXME-DRAGDROP: Settle on a proper default visuals for drop target. payload.Preview = was_accepted_previously; - flags |= (g.DragDropSourceFlags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect); // Source can also inhibit the preview (useful for external sources that lives for 1 frame) + flags |= (g.DragDropSourceFlags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect); // Source can also inhibit the preview (useful for external sources that live for 1 frame) if (!(flags & ImGuiDragDropFlags_AcceptNoDrawDefaultRect) && payload.Preview) window->DrawList->AddRect(r.Min - ImVec2(3.5f,3.5f), r.Max + ImVec2(3.5f, 3.5f), GetColorU32(ImGuiCol_DragDropTarget), 0.0f, 0, 2.0f); @@ -10722,10 +12018,16 @@ const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDrop return &payload; } +// FIXME-DRAGDROP: Settle on a proper default visuals for drop target. +void ImGui::RenderDragDropTargetRect(const ImRect& bb) +{ + GetWindowDrawList()->AddRect(bb.Min - ImVec2(3.5f, 3.5f), bb.Max + ImVec2(3.5f, 3.5f), GetColorU32(ImGuiCol_DragDropTarget), 0.0f, 0, 2.0f); +} + const ImGuiPayload* ImGui::GetDragDropPayload() { ImGuiContext& g = *GImGui; - return g.DragDropActive ? &g.DragDropPayload : NULL; + return (g.DragDropActive && g.DragDropPayload.DataFrameCount != -1) ? &g.DragDropPayload : NULL; } // We don't really use/need this now, but added it for the sake of consistency and because we might need it later. @@ -11082,6 +12384,20 @@ ImGuiWindowSettings* ImGui::FindOrCreateWindowSettings(const char* name) return CreateNewWindowSettings(name); } +void ImGui::AddSettingsHandler(const ImGuiSettingsHandler* handler) +{ + ImGuiContext& g = *GImGui; + IM_ASSERT(FindSettingsHandler(handler->TypeName) == NULL); + g.SettingsHandlers.push_back(*handler); +} + +void ImGui::RemoveSettingsHandler(const char* type_name) +{ + ImGuiContext& g = *GImGui; + if (ImGuiSettingsHandler* handler = FindSettingsHandler(type_name)) + g.SettingsHandlers.erase(handler); +} + ImGuiSettingsHandler* ImGui::FindSettingsHandler(const char* type_name) { ImGuiContext& g = *GImGui; @@ -11107,7 +12423,8 @@ void ImGui::LoadIniSettingsFromDisk(const char* ini_filename) char* file_data = (char*)ImFileLoadToMemory(ini_filename, "rb", &file_data_size); if (!file_data) return; - LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); + if (file_data_size > 0) + LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); IM_FREE(file_data); } @@ -11294,10 +12611,23 @@ static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandl } +//----------------------------------------------------------------------------- +// [SECTION] LOCALIZATION +//----------------------------------------------------------------------------- + +void ImGui::LocalizeRegisterEntries(const ImGuiLocEntry* entries, int count) +{ + ImGuiContext& g = *GImGui; + for (int n = 0; n < count; n++) + g.LocalizationTable[entries[n].Key] = entries[n].Text; +} + + //----------------------------------------------------------------------------- // [SECTION] VIEWPORTS, PLATFORM WINDOWS //----------------------------------------------------------------------------- // - GetMainViewport() +// - SetWindowViewport() [Internal] // - UpdateViewportsNewFrame() [Internal] // (this section is more complete in the 'docking' branch) //----------------------------------------------------------------------------- @@ -11308,6 +12638,11 @@ ImGuiViewport* ImGui::GetMainViewport() return g.Viewports[0]; } +void ImGui::SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport) +{ + window->Viewport = viewport; +} + // Update viewports and monitor infos static void ImGui::UpdateViewportsNewFrame() { @@ -11478,25 +12813,37 @@ static void SetClipboardTextFn_DefaultImpl(void*, const char* text) #pragma comment(lib, "imm32") #endif -static void ImeSetInputScreenPosFn_DefaultImpl(int x, int y) +static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport* viewport, ImGuiPlatformImeData* data) { // Notify OS Input Method Editor of text input position - ImGuiIO& io = ImGui::GetIO(); - if (HWND hwnd = (HWND)io.ImeWindowHandle) - if (HIMC himc = ::ImmGetContext(hwnd)) - { - COMPOSITIONFORM cf; - cf.ptCurrentPos.x = x; - cf.ptCurrentPos.y = y; - cf.dwStyle = CFS_FORCE_POSITION; - ::ImmSetCompositionWindow(himc, &cf); - ::ImmReleaseContext(hwnd, himc); - } + HWND hwnd = (HWND)viewport->PlatformHandleRaw; +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + if (hwnd == 0) + hwnd = (HWND)ImGui::GetIO().ImeWindowHandle; +#endif + if (hwnd == 0) + return; + + //::ImmAssociateContextEx(hwnd, NULL, data->WantVisible ? IACE_DEFAULT : 0); + if (HIMC himc = ::ImmGetContext(hwnd)) + { + COMPOSITIONFORM composition_form = {}; + composition_form.ptCurrentPos.x = (LONG)data->InputPos.x; + composition_form.ptCurrentPos.y = (LONG)data->InputPos.y; + composition_form.dwStyle = CFS_FORCE_POSITION; + ::ImmSetCompositionWindow(himc, &composition_form); + CANDIDATEFORM candidate_form = {}; + candidate_form.dwStyle = CFS_CANDIDATEPOS; + candidate_form.ptCurrentPos.x = (LONG)data->InputPos.x; + candidate_form.ptCurrentPos.y = (LONG)data->InputPos.y; + ::ImmSetCandidateWindow(himc, &candidate_form); + ::ImmReleaseContext(hwnd, himc); + } } #else -static void ImeSetInputScreenPosFn_DefaultImpl(int, int) {} +static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport*, ImGuiPlatformImeData*) {} #endif @@ -11505,11 +12852,15 @@ static void ImeSetInputScreenPosFn_DefaultImpl(int, int) {} //----------------------------------------------------------------------------- // - RenderViewportThumbnail() [Internal] // - RenderViewportsThumbnails() [Internal] +// - DebugTextEncoding() // - MetricsHelpMarker() [Internal] +// - ShowFontAtlas() [Internal] // - ShowMetricsWindow() // - DebugNodeColumns() [Internal] // - DebugNodeDrawList() [Internal] // - DebugNodeDrawCmdShowMeshAndBoundingBox() [Internal] +// - DebugNodeFont() [Internal] +// - DebugNodeFontGlyph() [Internal] // - DebugNodeStorage() [Internal] // - DebugNodeTabBar() [Internal] // - DebugNodeViewport() [Internal] @@ -11519,7 +12870,7 @@ static void ImeSetInputScreenPosFn_DefaultImpl(int, int) {} // - DebugNodeWindowsListByBeginStackParent() [Internal] //----------------------------------------------------------------------------- -#ifndef IMGUI_DISABLE_METRICS_WINDOW +#ifndef IMGUI_DISABLE_DEBUG_TOOLS void ImGui::DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb) { @@ -11572,11 +12923,47 @@ static void RenderViewportsThumbnails() ImGui::Dummy(bb_full.GetSize() * SCALE); } +// Helper tool to diagnose between text encoding issues and font loading issues. Pass your UTF-8 string and verify that there are correct. +void ImGui::DebugTextEncoding(const char* str) +{ + Text("Text: \"%s\"", str); + if (!BeginTable("list", 4, ImGuiTableFlags_Borders | ImGuiTableFlags_RowBg | ImGuiTableFlags_SizingFixedFit)) + return; + TableSetupColumn("Offset"); + TableSetupColumn("UTF-8"); + TableSetupColumn("Glyph"); + TableSetupColumn("Codepoint"); + TableHeadersRow(); + for (const char* p = str; *p != 0; ) + { + unsigned int c; + const int c_utf8_len = ImTextCharFromUtf8(&c, p, NULL); + TableNextColumn(); + Text("%d", (int)(p - str)); + TableNextColumn(); + for (int byte_index = 0; byte_index < c_utf8_len; byte_index++) + { + if (byte_index > 0) + SameLine(); + Text("0x%02X", (int)(unsigned char)p[byte_index]); + } + TableNextColumn(); + if (GetFont()->FindGlyphNoFallback((ImWchar)c)) + TextUnformatted(p, p + c_utf8_len); + else + TextUnformatted((c == IM_UNICODE_CODEPOINT_INVALID) ? "[invalid]" : "[missing]"); + TableNextColumn(); + Text("U+%04X", (int)c); + p += c_utf8_len; + } + EndTable(); +} + // Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds. static void MetricsHelpMarker(const char* desc) { ImGui::TextDisabled("(?)"); - if (ImGui::IsItemHovered()) + if (ImGui::IsItemHovered(ImGuiHoveredFlags_DelayShort)) { ImGui::BeginTooltip(); ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f); @@ -11586,15 +12973,32 @@ static void MetricsHelpMarker(const char* desc) } } -#ifndef IMGUI_DISABLE_DEMO_WINDOWS -namespace ImGui { void ShowFontAtlas(ImFontAtlas* atlas); } -#endif +// [DEBUG] List fonts in a font atlas and display its texture +void ImGui::ShowFontAtlas(ImFontAtlas* atlas) +{ + for (int i = 0; i < atlas->Fonts.Size; i++) + { + ImFont* font = atlas->Fonts[i]; + PushID(font); + DebugNodeFont(font); + PopID(); + } + if (TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight)) + { + ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); + ImVec4 border_col = ImVec4(1.0f, 1.0f, 1.0f, 0.5f); + Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), tint_col, border_col); + TreePop(); + } +} void ImGui::ShowMetricsWindow(bool* p_open) { ImGuiContext& g = *GImGui; ImGuiIO& io = g.IO; ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig; + if (cfg->ShowDebugLog) + ShowDebugLogWindow(&cfg->ShowDebugLog); if (cfg->ShowStackTool) ShowStackToolWindow(&cfg->ShowStackTool); @@ -11627,19 +13031,20 @@ void ImGui::ShowMetricsWindow(bool* p_open) { static ImRect GetTableRect(ImGuiTable* table, int rect_type, int n) { + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); // Always using last submitted instance if (rect_type == TRT_OuterRect) { return table->OuterRect; } else if (rect_type == TRT_InnerRect) { return table->InnerRect; } else if (rect_type == TRT_WorkRect) { return table->WorkRect; } else if (rect_type == TRT_HostClipRect) { return table->HostClipRect; } else if (rect_type == TRT_InnerClipRect) { return table->InnerClipRect; } else if (rect_type == TRT_BackgroundClipRect) { return table->BgClipRect; } - else if (rect_type == TRT_ColumnsRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->MinX, table->InnerClipRect.Min.y, c->MaxX, table->InnerClipRect.Min.y + table->LastOuterHeight); } + else if (rect_type == TRT_ColumnsRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->MinX, table->InnerClipRect.Min.y, c->MaxX, table->InnerClipRect.Min.y + table_instance->LastOuterHeight); } else if (rect_type == TRT_ColumnsWorkRect) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->WorkRect.Min.y, c->WorkMaxX, table->WorkRect.Max.y); } else if (rect_type == TRT_ColumnsClipRect) { ImGuiTableColumn* c = &table->Columns[n]; return c->ClipRect; } - else if (rect_type == TRT_ColumnsContentHeadersUsed){ ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersUsed, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } // Note: y1/y2 not always accurate - else if (rect_type == TRT_ColumnsContentHeadersIdeal){ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersIdeal, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } - else if (rect_type == TRT_ColumnsContentFrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXFrozen, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } - else if (rect_type == TRT_ColumnsContentUnfrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y + table->LastFirstRowHeight, c->ContentMaxXUnfrozen, table->InnerClipRect.Max.y); } + else if (rect_type == TRT_ColumnsContentHeadersUsed){ ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersUsed, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight); } // Note: y1/y2 not always accurate + else if (rect_type == TRT_ColumnsContentHeadersIdeal){ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersIdeal, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight); } + else if (rect_type == TRT_ColumnsContentFrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXFrozen, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight); } + else if (rect_type == TRT_ColumnsContentUnfrozen) { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y + table_instance->LastFirstRowHeight, c->ContentMaxXUnfrozen, table->InnerClipRect.Max.y); } IM_ASSERT(0); return ImRect(); } @@ -11662,8 +13067,32 @@ void ImGui::ShowMetricsWindow(bool* p_open) // Tools if (TreeNode("Tools")) { + bool show_encoding_viewer = TreeNode("UTF-8 Encoding viewer"); + SameLine(); + MetricsHelpMarker("You can also call ImGui::DebugTextEncoding() from your code with a given string to test that your UTF-8 encoding settings are correct."); + if (show_encoding_viewer) + { + static char buf[100] = ""; + SetNextItemWidth(-FLT_MIN); + InputText("##Text", buf, IM_ARRAYSIZE(buf)); + if (buf[0] != 0) + DebugTextEncoding(buf); + TreePop(); + } + + // The Item Picker tool is super useful to visually select an item and break into the call-stack of where it was submitted. + if (Checkbox("Show Item Picker", &g.DebugItemPickerActive) && g.DebugItemPickerActive) + DebugStartItemPicker(); + SameLine(); + MetricsHelpMarker("Will call the IM_DEBUG_BREAK() macro to break in debugger.\nWarning: If you don't have a debugger attached, this will probably crash."); + // Stack Tool is your best friend! - Checkbox("Show stack tool", &cfg->ShowStackTool); + Checkbox("Show Debug Log", &cfg->ShowDebugLog); + SameLine(); + MetricsHelpMarker("You can also call ImGui::ShowDebugLogWindow() from your code."); + + // Stack Tool is your best friend! + Checkbox("Show Stack Tool", &cfg->ShowStackTool); SameLine(); MetricsHelpMarker("You can also call ImGui::ShowStackToolWindow() from your code."); @@ -11729,12 +13158,6 @@ void ImGui::ShowMetricsWindow(bool* p_open) } } - // The Item Picker tool is super useful to visually select an item and break into the call-stack of where it was submitted. - if (Button("Item Picker..")) - DebugStartItemPicker(); - SameLine(); - MetricsHelpMarker("Will call the IM_DEBUG_BREAK() macro to break in debugger.\nWarning: If you don't have a debugger attached, this will probably crash."); - TreePop(); } @@ -11795,8 +13218,12 @@ void ImGui::ShowMetricsWindow(bool* p_open) { for (int i = 0; i < g.OpenPopupStack.Size; i++) { - ImGuiWindow* window = g.OpenPopupStack[i].Window; - BulletText("PopupID: %08x, Window: '%s'%s%s", g.OpenPopupStack[i].PopupId, window ? window->Name : "NULL", window && (window->Flags & ImGuiWindowFlags_ChildWindow) ? " ChildWindow" : "", window && (window->Flags & ImGuiWindowFlags_ChildMenu) ? " ChildMenu" : ""); + // As it's difficult to interact with tree nodes while popups are open, we display everything inline. + const ImGuiPopupData* popup_data = &g.OpenPopupStack[i]; + ImGuiWindow* window = popup_data->Window; + BulletText("PopupID: %08x, Window: '%s' (%s%s), BackupNavWindow '%s', ParentWindow '%s'", + popup_data->PopupId, window ? window->Name : "NULL", window && (window->Flags & ImGuiWindowFlags_ChildWindow) ? "Child;" : "", window && (window->Flags & ImGuiWindowFlags_ChildMenu) ? "Menu;" : "", + popup_data->BackupNavWindow ? popup_data->BackupNavWindow->Name : "NULL", window && window->ParentWindow ? window->ParentWindow->Name : "NULL"); } TreePop(); } @@ -11824,14 +13251,19 @@ void ImGui::ShowMetricsWindow(bool* p_open) } // Details for Fonts -#ifndef IMGUI_DISABLE_DEMO_WINDOWS ImFontAtlas* atlas = g.IO.Fonts; if (TreeNode("Fonts", "Fonts (%d)", atlas->Fonts.Size)) { ShowFontAtlas(atlas); TreePop(); } -#endif + + // Details for InputText + if (TreeNode("InputText")) + { + DebugNodeInputTextState(&g.InputTextState); + TreePop(); + } // Details for Docking #ifdef IMGUI_HAS_DOCK @@ -11889,11 +13321,46 @@ void ImGui::ShowMetricsWindow(bool* p_open) TreePop(); } - // Misc Details + if (TreeNode("Key Owners & Shortcut Routing")) + { + TextUnformatted("Key Owners:"); + if (BeginListBox("##owners", ImVec2(-FLT_MIN, GetTextLineHeightWithSpacing() * 8))) + { + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyOwnerData* owner_data = GetKeyOwnerData(key); + if (owner_data->OwnerCurr == ImGuiKeyOwner_None) + continue; + Text("%s: 0x%08X%s", GetKeyName(key), owner_data->OwnerCurr, + owner_data->LockUntilRelease ? " LockUntilRelease" : owner_data->LockThisFrame ? " LockThisFrame" : ""); + DebugLocateItemOnHover(owner_data->OwnerCurr); + } + EndListBox(); + } + TextUnformatted("Shortcut Routing:"); + if (BeginListBox("##routes", ImVec2(-FLT_MIN, GetTextLineHeightWithSpacing() * 8))) + { + for (ImGuiKey key = ImGuiKey_NamedKey_BEGIN; key < ImGuiKey_NamedKey_END; key = (ImGuiKey)(key + 1)) + { + ImGuiKeyRoutingTable* rt = &g.KeysRoutingTable; + for (ImGuiKeyRoutingIndex idx = rt->Index[key - ImGuiKey_NamedKey_BEGIN]; idx != -1; ) + { + char key_chord_name[64]; + ImGuiKeyRoutingData* routing_data = &rt->Entries[idx]; + GetKeyChordName(key | routing_data->Mods, key_chord_name, IM_ARRAYSIZE(key_chord_name)); + Text("%s: 0x%08X", key_chord_name, routing_data->RoutingCurr); + DebugLocateItemOnHover(routing_data->RoutingCurr); + idx = routing_data->NextEntryIndex; + } + } + EndListBox(); + } + Text("(ActiveIdUsing: AllKeyboardKeys: %d, NavDirMask: 0x%X)", g.ActiveIdUsingAllKeyboardKeys, g.ActiveIdUsingNavDirMask); + TreePop(); + } + if (TreeNode("Internal state")) { - const char* input_source_names[] = { "None", "Mouse", "Keyboard", "Gamepad", "Nav", "Clipboard" }; IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT); - Text("WINDOWING"); Indent(); Text("HoveredWindow: '%s'", g.HoveredWindow ? g.HoveredWindow->Name : "NULL"); @@ -11904,18 +13371,22 @@ void ImGui::ShowMetricsWindow(bool* p_open) Text("ITEMS"); Indent(); - Text("ActiveId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d, Source: %s", g.ActiveId, g.ActiveIdPreviousFrame, g.ActiveIdTimer, g.ActiveIdAllowOverlap, input_source_names[g.ActiveIdSource]); + Text("ActiveId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d, Source: %s", g.ActiveId, g.ActiveIdPreviousFrame, g.ActiveIdTimer, g.ActiveIdAllowOverlap, GetInputSourceName(g.ActiveIdSource)); + DebugLocateItemOnHover(g.ActiveId); Text("ActiveIdWindow: '%s'", g.ActiveIdWindow ? g.ActiveIdWindow->Name : "NULL"); - Text("ActiveIdUsing: Wheel: %d, NavDirMask: %X, NavInputMask: %X, KeyInputMask: %llX", g.ActiveIdUsingMouseWheel, g.ActiveIdUsingNavDirMask, g.ActiveIdUsingNavInputMask, g.ActiveIdUsingKeyInputMask); + Text("ActiveIdUsing: AllKeyboardKeys: %d, NavDirMask: %X", g.ActiveIdUsingAllKeyboardKeys, g.ActiveIdUsingNavDirMask); Text("HoveredId: 0x%08X (%.2f sec), AllowOverlap: %d", g.HoveredIdPreviousFrame, g.HoveredIdTimer, g.HoveredIdAllowOverlap); // Not displaying g.HoveredId as it is update mid-frame + Text("HoverDelayId: 0x%08X, Timer: %.2f, ClearTimer: %.2f", g.HoverDelayId, g.HoverDelayTimer, g.HoverDelayClearTimer); Text("DragDrop: %d, SourceId = 0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayload.DataType, g.DragDropPayload.DataSize); + DebugLocateItemOnHover(g.DragDropPayload.SourceId); Unindent(); Text("NAV,FOCUS"); Indent(); Text("NavWindow: '%s'", g.NavWindow ? g.NavWindow->Name : "NULL"); Text("NavId: 0x%08X, NavLayer: %d", g.NavId, g.NavLayer); - Text("NavInputSource: %s", input_source_names[g.NavInputSource]); + DebugLocateItemOnHover(g.NavId); + Text("NavInputSource: %s", GetInputSourceName(g.NavInputSource)); Text("NavActive: %d, NavVisible: %d", g.IO.NavActive, g.IO.NavVisible); Text("NavActivateId/DownId/PressedId/InputId: %08X/%08X/%08X/%08X", g.NavActivateId, g.NavActivateDownId, g.NavActivatePressedId, g.NavActivateInputId); Text("NavActivateFlags: %04X", g.NavActivateFlags); @@ -11989,25 +13460,6 @@ void ImGui::ShowMetricsWindow(bool* p_open) End(); } -// [DEBUG] List fonts in a font atlas and display its texture -void ImGui::ShowFontAtlas(ImFontAtlas* atlas) -{ - for (int i = 0; i < atlas->Fonts.Size; i++) - { - ImFont* font = atlas->Fonts[i]; - PushID(font); - DebugNodeFont(font); - PopID(); - } - if (TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight)) - { - ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); - ImVec4 border_col = ImVec4(1.0f, 1.0f, 1.0f, 0.5f); - Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), tint_col, border_col); - TreePop(); - } -} - // [DEBUG] Display contents of Columns void ImGui::DebugNodeColumns(ImGuiOldColumns* columns) { @@ -12217,17 +13669,13 @@ void ImGui::DebugNodeFont(ImFont* font) ImVec2 cell_p2(cell_p1.x + cell_size, cell_p1.y + cell_size); const ImFontGlyph* glyph = font->FindGlyphNoFallback((ImWchar)(base + n)); draw_list->AddRect(cell_p1, cell_p2, glyph ? IM_COL32(255, 255, 255, 100) : IM_COL32(255, 255, 255, 50)); - if (glyph) - font->RenderChar(draw_list, cell_size, cell_p1, glyph_col, (ImWchar)(base + n)); - if (glyph && IsMouseHoveringRect(cell_p1, cell_p2)) + if (!glyph) + continue; + font->RenderChar(draw_list, cell_size, cell_p1, glyph_col, (ImWchar)(base + n)); + if (IsMouseHoveringRect(cell_p1, cell_p2)) { BeginTooltip(); - Text("Codepoint: U+%04X", base + n); - Separator(); - Text("Visible: %d", glyph->Visible); - Text("AdvanceX: %.1f", glyph->AdvanceX); - Text("Pos: (%.2f,%.2f)->(%.2f,%.2f)", glyph->X0, glyph->Y0, glyph->X1, glyph->Y1); - Text("UV: (%.3f,%.3f)->(%.3f,%.3f)", glyph->U0, glyph->V0, glyph->U1, glyph->V1); + DebugNodeFontGlyph(font, glyph); EndTooltip(); } } @@ -12239,6 +13687,16 @@ void ImGui::DebugNodeFont(ImFont* font) TreePop(); } +void ImGui::DebugNodeFontGlyph(ImFont*, const ImFontGlyph* glyph) +{ + Text("Codepoint: U+%04X", glyph->Codepoint); + Separator(); + Text("Visible: %d", glyph->Visible); + Text("AdvanceX: %.1f", glyph->AdvanceX); + Text("Pos: (%.2f,%.2f)->(%.2f,%.2f)", glyph->X0, glyph->Y0, glyph->X1, glyph->Y1); + Text("UV: (%.3f,%.3f)->(%.3f,%.3f)", glyph->U0, glyph->V0, glyph->U1, glyph->V1); +} + // [DEBUG] Display contents of ImGuiStorage void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label) { @@ -12287,7 +13745,7 @@ void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label) PushID(tab); if (SmallButton("<")) { TabBarQueueReorder(tab_bar, tab, -1); } SameLine(0, 2); if (SmallButton(">")) { TabBarQueueReorder(tab_bar, tab, +1); } SameLine(); - Text("%02d%c Tab 0x%08X '%s' Offset: %.1f, Width: %.1f/%.1f", + Text("%02d%c Tab 0x%08X '%s' Offset: %.2f, Width: %.2f/%.2f", tab_n, (tab->ID == tab_bar->SelectedTabId) ? '*' : ' ', tab->ID, (tab->NameOffset != -1) ? tab_bar->GetTabName(tab) : "???", tab->Offset, tab->Width, tab->ContentWidth); PopID(); } @@ -12351,13 +13809,10 @@ void ImGui::DebugNodeWindow(ImGuiWindow* window, const char* label) { ImRect r = window->NavRectRel[layer]; if (r.Min.x >= r.Max.y && r.Min.y >= r.Max.y) - { BulletText("NavLastIds[%d]: 0x%08X", layer, window->NavLastIds[layer]); - continue; - } - BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y); - if (IsItemHovered()) - GetForegroundDrawList(window)->AddRect(r.Min + window->Pos, r.Max + window->Pos, IM_COL32(255, 255, 0, 255)); + else + BulletText("NavLastIds[%d]: 0x%08X at +(%.1f,%.1f)(%.1f,%.1f)", layer, window->NavLastIds[layer], r.Min.x, r.Min.y, r.Max.x, r.Max.y); + DebugLocateItemOnHover(window->NavLastIds[layer]); } BulletText("NavLayersActiveMask: %X, NavLastChildNavWindow: %s", window->DC.NavLayersActiveMask, window->NavLastChildNavWindow ? window->NavLastChildNavWindow->Name : "NULL"); if (window->RootWindow != window) { DebugNodeWindow(window->RootWindow, "RootWindow"); } @@ -12410,10 +13865,126 @@ void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int wi } } +//----------------------------------------------------------------------------- +// [SECTION] DEBUG LOG WINDOW +//----------------------------------------------------------------------------- + +void ImGui::DebugLog(const char* fmt, ...) +{ + va_list args; + va_start(args, fmt); + DebugLogV(fmt, args); + va_end(args); +} + +void ImGui::DebugLogV(const char* fmt, va_list args) +{ + ImGuiContext& g = *GImGui; + const int old_size = g.DebugLogBuf.size(); + g.DebugLogBuf.appendf("[%05d] ", g.FrameCount); + g.DebugLogBuf.appendfv(fmt, args); + if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTTY) + IMGUI_DEBUG_PRINTF("%s", g.DebugLogBuf.begin() + old_size); + g.DebugLogIndex.append(g.DebugLogBuf.c_str(), old_size, g.DebugLogBuf.size()); +} + +void ImGui::ShowDebugLogWindow(bool* p_open) +{ + ImGuiContext& g = *GImGui; + if (!(g.NextWindowData.Flags & ImGuiNextWindowDataFlags_HasSize)) + SetNextWindowSize(ImVec2(0.0f, GetFontSize() * 12.0f), ImGuiCond_FirstUseEver); + if (!Begin("Dear ImGui Debug Log", p_open) || GetCurrentWindow()->BeginCount > 1) + { + End(); + return; + } + + AlignTextToFramePadding(); + Text("Log events:"); + SameLine(); CheckboxFlags("All", &g.DebugLogFlags, ImGuiDebugLogFlags_EventMask_); + SameLine(); CheckboxFlags("ActiveId", &g.DebugLogFlags, ImGuiDebugLogFlags_EventActiveId); + SameLine(); CheckboxFlags("Focus", &g.DebugLogFlags, ImGuiDebugLogFlags_EventFocus); + SameLine(); CheckboxFlags("Popup", &g.DebugLogFlags, ImGuiDebugLogFlags_EventPopup); + SameLine(); CheckboxFlags("Nav", &g.DebugLogFlags, ImGuiDebugLogFlags_EventNav); + SameLine(); CheckboxFlags("Clipper", &g.DebugLogFlags, ImGuiDebugLogFlags_EventClipper); + SameLine(); CheckboxFlags("IO", &g.DebugLogFlags, ImGuiDebugLogFlags_EventIO); + + if (SmallButton("Clear")) + { + g.DebugLogBuf.clear(); + g.DebugLogIndex.clear(); + } + SameLine(); + if (SmallButton("Copy")) + SetClipboardText(g.DebugLogBuf.c_str()); + BeginChild("##log", ImVec2(0.0f, 0.0f), true, ImGuiWindowFlags_AlwaysVerticalScrollbar | ImGuiWindowFlags_AlwaysHorizontalScrollbar); + + ImGuiListClipper clipper; + clipper.Begin(g.DebugLogIndex.size()); + while (clipper.Step()) + for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + { + const char* line_begin = g.DebugLogIndex.get_line_begin(g.DebugLogBuf.c_str(), line_no); + const char* line_end = g.DebugLogIndex.get_line_end(g.DebugLogBuf.c_str(), line_no); + TextUnformatted(line_begin, line_end); + ImRect text_rect = g.LastItemData.Rect; + if (IsItemHovered()) + for (const char* p = line_begin; p < line_end - 10; p++) + { + ImGuiID id = 0; + if (p[0] != '0' || (p[1] != 'x' && p[1] != 'X') || sscanf(p + 2, "%X", &id) != 1) + continue; + ImVec2 p0 = CalcTextSize(line_begin, p); + ImVec2 p1 = CalcTextSize(p, p + 10); + g.LastItemData.Rect = ImRect(text_rect.Min + ImVec2(p0.x, 0.0f), text_rect.Min + ImVec2(p0.x + p1.x, p1.y)); + if (IsMouseHoveringRect(g.LastItemData.Rect.Min, g.LastItemData.Rect.Max, true)) + DebugLocateItemOnHover(id); + p += 10; + } + } + if (GetScrollY() >= GetScrollMaxY()) + SetScrollHereY(1.0f); + EndChild(); + + End(); +} + //----------------------------------------------------------------------------- // [SECTION] OTHER DEBUG TOOLS (ITEM PICKER, STACK TOOL) //----------------------------------------------------------------------------- +static const ImU32 DEBUG_LOCATE_ITEM_COLOR = IM_COL32(0, 255, 0, 255); // Green + +void ImGui::DebugLocateItem(ImGuiID target_id) +{ + ImGuiContext& g = *GImGui; + g.DebugLocateId = target_id; + g.DebugLocateFrames = 2; +} + +void ImGui::DebugLocateItemOnHover(ImGuiID target_id) +{ + if (target_id == 0 || !IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenBlockedByPopup)) + return; + ImGuiContext& g = *GImGui; + DebugLocateItem(target_id); + GetForegroundDrawList(g.CurrentWindow)->AddRect(g.LastItemData.Rect.Min - ImVec2(3.0f, 3.0f), g.LastItemData.Rect.Max + ImVec2(3.0f, 3.0f), DEBUG_LOCATE_ITEM_COLOR); +} + +void ImGui::DebugLocateItemResolveWithLastItem() +{ + ImGuiContext& g = *GImGui; + ImGuiLastItemData item_data = g.LastItemData; + g.DebugLocateId = 0; + ImDrawList* draw_list = GetForegroundDrawList(g.CurrentWindow); + ImRect r = item_data.Rect; + r.Expand(3.0f); + ImVec2 p1 = g.IO.MousePos; + ImVec2 p2 = ImVec2((p1.x < r.Min.x) ? r.Min.x : (p1.x > r.Max.x) ? r.Max.x : p1.x, (p1.y < r.Min.y) ? r.Min.y : (p1.y > r.Max.y) ? r.Max.y : p1.y); + draw_list->AddRect(r.Min, r.Max, DEBUG_LOCATE_ITEM_COLOR); + draw_list->AddLine(p1, p2, DEBUG_LOCATE_ITEM_COLOR); +} + // [DEBUG] Item picker tool - start with DebugStartItemPicker() - useful to visually select an item and break into its call-stack. void ImGui::UpdateDebugToolItemPicker() { @@ -12424,18 +13995,26 @@ void ImGui::UpdateDebugToolItemPicker() const ImGuiID hovered_id = g.HoveredIdPreviousFrame; SetMouseCursor(ImGuiMouseCursor_Hand); - if (IsKeyPressedMap(ImGuiKey_Escape)) + if (IsKeyPressed(ImGuiKey_Escape)) g.DebugItemPickerActive = false; - if (IsMouseClicked(0) && hovered_id) + const bool change_mapping = g.IO.KeyMods == (ImGuiMod_Ctrl | ImGuiMod_Shift); + if (!change_mapping && IsMouseClicked(g.DebugItemPickerMouseButton) && hovered_id) { g.DebugItemPickerBreakId = hovered_id; g.DebugItemPickerActive = false; } - SetNextWindowBgAlpha(0.60f); + for (int mouse_button = 0; mouse_button < 3; mouse_button++) + if (change_mapping && IsMouseClicked(mouse_button)) + g.DebugItemPickerMouseButton = (ImU8)mouse_button; + SetNextWindowBgAlpha(0.70f); BeginTooltip(); Text("HoveredId: 0x%08X", hovered_id); Text("Press ESC to abort picking."); - TextColored(GetStyleColorVec4(hovered_id ? ImGuiCol_Text : ImGuiCol_TextDisabled), "Click to break in debugger!"); + const char* mouse_button_names[] = { "Left", "Right", "Middle" }; + if (change_mapping) + Text("Remap w/ Ctrl+Shift: click anywhere to select new mouse button."); + else + TextColored(GetStyleColorVec4(hovered_id ? ImGuiCol_Text : ImGuiCol_TextDisabled), "Click %s Button to break in debugger! (remap w/ Ctrl+Shift)", mouse_button_names[g.DebugItemPickerMouseButton]); EndTooltip(); } @@ -12487,7 +14066,7 @@ void ImGui::DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* dat ImGuiStackTool* tool = &g.DebugStackTool; // Step 0: stack query - // This assume that the ID was computed with the current ID stack, which tends to be the case for our widget. + // This assumes that the ID was computed with the current ID stack, which tends to be the case for our widget. if (tool->StackLevel == -1) { tool->StackLevel++; @@ -12504,27 +14083,44 @@ void ImGui::DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* dat ImGuiStackLevelInfo* info = &tool->Results[tool->StackLevel]; IM_ASSERT(info->ID == id && info->QueryFrameCount > 0); - int data_len; switch (data_type) { case ImGuiDataType_S32: ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "%d", (int)(intptr_t)data_id); break; case ImGuiDataType_String: - data_len = data_id_end ? (int)((const char*)data_id_end - (const char*)data_id) : (int)strlen((const char*)data_id); - ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "\"%.*s\"", data_len, (const char*)data_id); + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "%.*s", data_id_end ? (int)((const char*)data_id_end - (const char*)data_id) : (int)strlen((const char*)data_id), (const char*)data_id); break; case ImGuiDataType_Pointer: ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "(void*)0x%p", data_id); break; case ImGuiDataType_ID: - if (info->Desc[0] == 0) // PushOverrideID() is often used to avoid hashing twice, which would lead to 2 calls to DebugHookIdInfo(). We prioritize the first one. - ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "0x%08X [override]", id); + if (info->Desc[0] != 0) // PushOverrideID() is often used to avoid hashing twice, which would lead to 2 calls to DebugHookIdInfo(). We prioritize the first one. + return; + ImFormatString(info->Desc, IM_ARRAYSIZE(info->Desc), "0x%08X [override]", id); break; default: IM_ASSERT(0); } info->QuerySuccess = true; + info->DataType = data_type; +} + +static int StackToolFormatLevelInfo(ImGuiStackTool* tool, int n, bool format_for_ui, char* buf, size_t buf_size) +{ + ImGuiStackLevelInfo* info = &tool->Results[n]; + ImGuiWindow* window = (info->Desc[0] == 0 && n == 0) ? ImGui::FindWindowByID(info->ID) : NULL; + if (window) // Source: window name (because the root ID don't call GetID() and so doesn't get hooked) + return ImFormatString(buf, buf_size, format_for_ui ? "\"%s\" [window]" : "%s", window->Name); + if (info->QuerySuccess) // Source: GetID() hooks (prioritize over ItemInfo() because we frequently use patterns like: PushID(str), Button("") where they both have same id) + return ImFormatString(buf, buf_size, (format_for_ui && info->DataType == ImGuiDataType_String) ? "\"%s\"" : "%s", info->Desc); + if (tool->StackLevel < tool->Results.Size) // Only start using fallback below when all queries are done, so during queries we don't flickering ??? markers. + return (*buf = 0); +#ifdef IMGUI_ENABLE_TEST_ENGINE + if (const char* label = ImGuiTestEngine_FindItemDebugLabel(GImGui, info->ID)) // Source: ImGuiTestEngine's ItemInfo() + return ImFormatString(buf, buf_size, format_for_ui ? "??? \"%s\"" : "%s", label); +#endif + return ImFormatString(buf, buf_size, "???"); } // Stack Tool: Display UI @@ -12540,6 +14136,7 @@ void ImGui::ShowStackToolWindow(bool* p_open) } // Display hovered/active status + ImGuiStackTool* tool = &g.DebugStackTool; const ImGuiID hovered_id = g.HoveredIdPreviousFrame; const ImGuiID active_id = g.ActiveId; #ifdef IMGUI_ENABLE_TEST_ENGINE @@ -12550,8 +14147,33 @@ void ImGui::ShowStackToolWindow(bool* p_open) SameLine(); MetricsHelpMarker("Hover an item with the mouse to display elements of the ID Stack leading to the item's final ID.\nEach level of the stack correspond to a PushID() call.\nAll levels of the stack are hashed together to make the final ID of a widget (ID displayed at the bottom level of the stack).\nRead FAQ entry about the ID stack for details."); + // CTRL+C to copy path + const float time_since_copy = (float)g.Time - tool->CopyToClipboardLastTime; + Checkbox("Ctrl+C: copy path to clipboard", &tool->CopyToClipboardOnCtrlC); + SameLine(); + TextColored((time_since_copy >= 0.0f && time_since_copy < 0.75f && ImFmod(time_since_copy, 0.25f) < 0.25f * 0.5f) ? ImVec4(1.f, 1.f, 0.3f, 1.f) : ImVec4(), "*COPIED*"); + if (tool->CopyToClipboardOnCtrlC && IsKeyDown(ImGuiMod_Ctrl) && IsKeyPressed(ImGuiKey_C)) + { + tool->CopyToClipboardLastTime = (float)g.Time; + char* p = g.TempBuffer.Data; + char* p_end = p + g.TempBuffer.Size; + for (int stack_n = 0; stack_n < tool->Results.Size && p + 3 < p_end; stack_n++) + { + *p++ = '/'; + char level_desc[256]; + StackToolFormatLevelInfo(tool, stack_n, false, level_desc, IM_ARRAYSIZE(level_desc)); + for (int n = 0; level_desc[n] && p + 2 < p_end; n++) + { + if (level_desc[n] == '/') + *p++ = '\\'; + *p++ = level_desc[n]; + } + } + *p = '\0'; + SetClipboardText(g.TempBuffer.Data); + } + // Display decorated stack - ImGuiStackTool* tool = &g.DebugStackTool; tool->LastActiveFrame = g.FrameCount; if (tool->Results.Size > 0 && BeginTable("##table", 3, ImGuiTableFlags_Borders)) { @@ -12565,23 +14187,9 @@ void ImGui::ShowStackToolWindow(bool* p_open) ImGuiStackLevelInfo* info = &tool->Results[n]; TableNextColumn(); Text("0x%08X", (n > 0) ? tool->Results[n - 1].ID : 0); - TableNextColumn(); - ImGuiWindow* window = (info->Desc[0] == 0 && n == 0) ? FindWindowByID(info->ID) : NULL; - if (window) // Source: window name (because the root ID don't call GetID() and so doesn't get hooked) - Text("\"%s\" [window]", window->Name); - else if (info->QuerySuccess) // Source: GetID() hooks (prioritize over ItemInfo() because we frequently use patterns like: PushID(str), Button("") where they both have same id) - TextUnformatted(info->Desc); - else if (tool->StackLevel >= tool->Results.Size) // Only start using fallback below when all queries are done, so during queries we don't flickering ??? markers. - { -#ifdef IMGUI_ENABLE_TEST_ENGINE - if (const char* label = ImGuiTestEngine_FindItemDebugLabel(&g, info->ID)) // Source: ImGuiTestEngine's ItemInfo() - Text("??? \"%s\"", label); - else -#endif - TextUnformatted("???"); - } - + StackToolFormatLevelInfo(tool, n, true, g.TempBuffer.Data, g.TempBuffer.Size); + TextUnformatted(g.TempBuffer.Data); TableNextColumn(); Text("0x%08X", info->ID); if (n == tool->Results.Size - 1) @@ -12607,12 +14215,15 @@ void ImGui::DebugNodeWindowSettings(ImGuiWindowSettings*) {} void ImGui::DebugNodeWindowsList(ImVector*, const char*) {} void ImGui::DebugNodeViewport(ImGuiViewportP*) {} +void ImGui::DebugLog(const char*, ...) {} +void ImGui::DebugLogV(const char*, va_list) {} +void ImGui::ShowDebugLogWindow(bool*) {} void ImGui::ShowStackToolWindow(bool*) {} void ImGui::DebugHookIdInfo(ImGuiID, ImGuiDataType, const void*, const void*) {} void ImGui::UpdateDebugToolItemPicker() {} void ImGui::UpdateDebugToolStackQueries() {} -#endif // #ifndef IMGUI_DISABLE_METRICS_WINDOW +#endif // #ifndef IMGUI_DISABLE_DEBUG_TOOLS //----------------------------------------------------------------------------- diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui.h b/imgui-sys/third-party/imgui-master/imgui/imgui.h index e986e6c..03eb0ca 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui.h +++ b/imgui-sys/third-party/imgui-master/imgui/imgui.h @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (headers) // Help: @@ -11,7 +11,7 @@ // - FAQ http://dearimgui.org/faq // - Homepage & latest https://github.com/ocornut/imgui // - Releases & changelog https://github.com/ocornut/imgui/releases -// - Gallery https://github.com/ocornut/imgui/issues/4451 (please post your screenshots/video there!) +// - Gallery https://github.com/ocornut/imgui/issues/5243 (please post your screenshots/video there!) // - Wiki https://github.com/ocornut/imgui/wiki (lots of good stuff there) // - Glossary https://github.com/ocornut/imgui/wiki/Glossary // - Issues & support https://github.com/ocornut/imgui/issues @@ -20,6 +20,12 @@ // - For first-time users having issues compiling/linking/running or issues loading fonts: // please post in https://github.com/ocornut/imgui/discussions if you cannot find a solution in resources above. +// Library Version +// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345') +#define IMGUI_VERSION "1.89.1 WIP" +#define IMGUI_VERSION_NUM 18910 +#define IMGUI_HAS_TABLE + /* Index of this file: @@ -35,19 +41,19 @@ Index of this file: // [SECTION] Drawing API (ImDrawCallback, ImDrawCmd, ImDrawIdx, ImDrawVert, ImDrawChannel, ImDrawListSplitter, ImDrawFlags, ImDrawListFlags, ImDrawList, ImDrawData) // [SECTION] Font API (ImFontConfig, ImFontGlyph, ImFontGlyphRangesBuilder, ImFontAtlasFlags, ImFontAtlas, ImFont) // [SECTION] Viewports (ImGuiViewportFlags, ImGuiViewport) +// [SECTION] Platform Dependent Interfaces (ImGuiPlatformImeData) // [SECTION] Obsolete functions and types */ #pragma once -// Configuration file with compile-time options (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system') +// Configuration file with compile-time options +// (edit imconfig.h or '#define IMGUI_USER_CONFIG "myfilename.h" from your build system') #ifdef IMGUI_USER_CONFIG #include IMGUI_USER_CONFIG #endif -#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H) #include "imconfig.h" -#endif #ifndef IMGUI_DISABLE @@ -61,13 +67,6 @@ Index of this file: #include // ptrdiff_t, NULL #include // memset, memmove, memcpy, strlen, strchr, strcpy, strcmp -// Version -// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens) -#define IMGUI_VERSION "1.86" -#define IMGUI_VERSION_NUM 18600 -#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) -#define IMGUI_HAS_TABLE - // Define attributes of all API symbols declarations (e.g. for DLL under Windows) // IMGUI_API is used for core imgui functions, IMGUI_IMPL_API is used for the default backends files (imgui_impl_xxx.h) // Using dear imgui via a shared library is not recommended, because we don't guarantee backward nor forward ABI compatibility (also function call overhead, as dear imgui is a call-heavy API) @@ -85,11 +84,8 @@ Index of this file: #endif #define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR)))) // Size of a static C-style array. Don't use on pointers! #define IM_UNUSED(_VAR) ((void)(_VAR)) // Used to silence "unused variable warnings". Often useful as asserts may be stripped out from final builds. -#if (__cplusplus >= 201100) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201100) #define IM_OFFSETOF(_TYPE,_MEMBER) offsetof(_TYPE, _MEMBER) // Offset of _MEMBER within _TYPE. Standardized as offsetof() in C++11 -#else -#define IM_OFFSETOF(_TYPE,_MEMBER) ((size_t)&(((_TYPE*)0)->_MEMBER)) // Offset of _MEMBER within _TYPE. Old style macro. -#endif +#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx)) // Helper Macros - IM_FMTARGS, IM_FMTLIST: Apply printf-style warnings to our formatting functions. #if !defined(IMGUI_USE_STB_SPRINTF) && defined(__MINGW32__) && !defined(__clang__) @@ -104,7 +100,7 @@ Index of this file: #endif // Disable some of MSVC most aggressive Debug runtime checks in function header/footer (used in some simple/low-level functions) -#if defined(_MSC_VER) && !defined(__clang__) && !defined(IMGUI_DEBUG_PARANOID) +#if defined(_MSC_VER) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(IMGUI_DEBUG_PARANOID) #define IM_MSVC_RUNTIME_CHECKS_OFF __pragma(runtime_checks("",off)) __pragma(check_stack(off)) __pragma(strict_gs_check(push,off)) #define IM_MSVC_RUNTIME_CHECKS_RESTORE __pragma(runtime_checks("",restore)) __pragma(check_stack()) __pragma(strict_gs_check(pop)) #else @@ -151,9 +147,11 @@ struct ImColor; // Helper functions to create a color that c struct ImGuiContext; // Dear ImGui context (opaque structure, unless including imgui_internal.h) struct ImGuiIO; // Main configuration and I/O between your application and ImGui struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) +struct ImGuiKeyData; // Storage for ImGuiIO and IsKeyDown(), IsKeyPressed() etc functions. struct ImGuiListClipper; // Helper to manually clip large list of items struct ImGuiOnceUponAFrame; // Helper for running a block of code not more than once a frame struct ImGuiPayload; // User data payload for drag and drop operations +struct ImGuiPlatformImeData; // Platform IME data for io.SetPlatformImeDataFn() function. struct ImGuiSizeCallbackData; // Callback data when using SetNextWindowSizeConstraints() (rare/advanced use) struct ImGuiStorage; // Helper for key->value storage struct ImGuiStyle; // Runtime data for styling/colors @@ -163,21 +161,26 @@ struct ImGuiTextBuffer; // Helper to hold and append into a text buf struct ImGuiTextFilter; // Helper to parse and apply text filters (e.g. "aaaaa[,bbbbb][,ccccc]") struct ImGuiViewport; // A Platform Window (always only one in 'master' branch), in the future may represent Platform Monitor -// Enums/Flags (declared as int for compatibility with old C++, to allow using as flags without overhead, and to not pollute the top of this file) +// Enumerations +// - We don't use strongly typed enums much because they add constraints (can't extend in private code, can't store typed in bit fields, extra casting on iteration) // - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! -// In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. +enum ImGuiKey : int; // -> enum ImGuiKey // Enum: A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value) typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling typedef int ImGuiCond; // -> enum ImGuiCond_ // Enum: A condition for many Set*() functions typedef int ImGuiDataType; // -> enum ImGuiDataType_ // Enum: A primary data type typedef int ImGuiDir; // -> enum ImGuiDir_ // Enum: A cardinal direction -typedef int ImGuiKey; // -> enum ImGuiKey_ // Enum: A key identifier (ImGui-side enum) -typedef int ImGuiNavInput; // -> enum ImGuiNavInput_ // Enum: An input identifier for navigation typedef int ImGuiMouseButton; // -> enum ImGuiMouseButton_ // Enum: A mouse button identifier (0=left, 1=right, 2=middle) -typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor identifier +typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor shape typedef int ImGuiSortDirection; // -> enum ImGuiSortDirection_ // Enum: A sorting direction (ascending or descending) typedef int ImGuiStyleVar; // -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling typedef int ImGuiTableBgTarget; // -> enum ImGuiTableBgTarget_ // Enum: A color target for TableSetBgColor() + +// Flags (declared as int for compatibility with old C++, to allow using as flags without overhead, and to not pollute the top of this file) +// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists! +// In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. typedef int ImDrawFlags; // -> enum ImDrawFlags_ // Flags: for ImDrawList functions typedef int ImDrawListFlags; // -> enum ImDrawListFlags_ // Flags: for ImDrawList instance typedef int ImFontAtlasFlags; // -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas build @@ -190,7 +193,7 @@ typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: f typedef int ImGuiFocusedFlags; // -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused() typedef int ImGuiHoveredFlags; // -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc. typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText(), InputTextMultiline() -typedef int ImGuiKeyModFlags; // -> enum ImGuiKeyModFlags_ // Flags: for io.KeyMods (Ctrl/Shift/Alt/Super) +typedef int ImGuiKeyChord; // -> ImGuiKey | ImGuiMod_XXX // Flags: for storage only for now: an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values. typedef int ImGuiPopupFlags; // -> enum ImGuiPopupFlags_ // Flags: for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() typedef int ImGuiSelectableFlags; // -> enum ImGuiSelectableFlags_ // Flags: for Selectable() typedef int ImGuiSliderFlags; // -> enum ImGuiSliderFlags_ // Flags: for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. @@ -225,17 +228,8 @@ typedef signed short ImS16; // 16-bit signed integer typedef unsigned short ImU16; // 16-bit unsigned integer typedef signed int ImS32; // 32-bit signed integer == int typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) -#if defined(_MSC_VER) && !defined(__clang__) -typedef signed __int64 ImS64; // 64-bit signed integer (pre and post C++11 with Visual Studio) -typedef unsigned __int64 ImU64; // 64-bit unsigned integer (pre and post C++11 with Visual Studio) -#elif (defined(__clang__) || defined(__GNUC__)) && (__cplusplus < 201100) -#include -typedef int64_t ImS64; // 64-bit signed integer (pre C++11) -typedef uint64_t ImU64; // 64-bit unsigned integer (pre C++11) -#else -typedef signed long long ImS64; // 64-bit signed integer (post C++11) -typedef unsigned long long ImU64; // 64-bit unsigned integer (post C++11) -#endif +typedef signed long long ImS64; // 64-bit signed integer +typedef unsigned long long ImU64; // 64-bit unsigned integer // Character types // (we generally use UTF-8 encoded string in the API. This is storage specifically for a decoded character used for keyboard input and display) @@ -259,8 +253,8 @@ IM_MSVC_RUNTIME_CHECKS_OFF struct ImVec2 { float x, y; - ImVec2() { x = y = 0.0f; } - ImVec2(float _x, float _y) { x = _x; y = _y; } + constexpr ImVec2() : x(0.0f), y(0.0f) { } + constexpr ImVec2(float _x, float _y) : x(_x), y(_y) { } float operator[] (size_t idx) const { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine. float& operator[] (size_t idx) { IM_ASSERT(idx <= 1); return (&x)[idx]; } // We very rarely use this [] operator, the assert overhead is fine. #ifdef IM_VEC2_CLASS_EXTRA @@ -271,9 +265,9 @@ struct ImVec2 // ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type] struct ImVec4 { - float x, y, z, w; - ImVec4() { x = y = z = w = 0.0f; } - ImVec4(float _x, float _y, float _z, float _w) { x = _x; y = _y; z = _z; w = _w; } + float x, y, z, w; + constexpr ImVec4() : x(0.0f), y(0.0f), z(0.0f), w(0.0f) { } + constexpr ImVec4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) { } #ifdef IM_VEC4_CLASS_EXTRA IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4. #endif @@ -307,12 +301,13 @@ namespace ImGui // Demo, Debug, Information IMGUI_API void ShowDemoWindow(bool* p_open = NULL); // create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! IMGUI_API void ShowMetricsWindow(bool* p_open = NULL); // create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. + IMGUI_API void ShowDebugLogWindow(bool* p_open = NULL); // create Debug Log window. display a simplified log of important dear imgui events. IMGUI_API void ShowStackToolWindow(bool* p_open = NULL); // create Stack Tool window. hover items with mouse to query information about the source of their unique ID. IMGUI_API void ShowAboutWindow(bool* p_open = NULL); // create About window. display Dear ImGui version, credits and build/system information. IMGUI_API void ShowStyleEditor(ImGuiStyle* ref = NULL); // add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) IMGUI_API bool ShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles. IMGUI_API void ShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts. - IMGUI_API void ShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls). + IMGUI_API void ShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls). IMGUI_API const char* GetVersion(); // get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) // Styles @@ -367,6 +362,7 @@ namespace ImGui IMGUI_API void SetNextWindowContentSize(const ImVec2& size); // set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin() IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond = 0); // set next window collapsed state. call before Begin() IMGUI_API void SetNextWindowFocus(); // set next window to be focused / top-most. call before Begin() + IMGUI_API void SetNextWindowScroll(const ImVec2& scroll); // set next window scrolling value (use < 0.0f to not affect a given axis). IMGUI_API void SetNextWindowBgAlpha(float alpha); // set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground. IMGUI_API void SetWindowPos(const ImVec2& pos, ImGuiCond cond = 0); // (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. IMGUI_API void SetWindowSize(const ImVec2& size, ImGuiCond cond = 0); // (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. @@ -384,9 +380,11 @@ namespace ImGui IMGUI_API ImVec2 GetContentRegionAvail(); // == GetContentRegionMax() - GetCursorPos() IMGUI_API ImVec2 GetContentRegionMax(); // current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates IMGUI_API ImVec2 GetWindowContentRegionMin(); // content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates - IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be override with SetNextWindowContentSize(), in window coordinates + IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates // Windows Scrolling + // - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin(). + // - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY(). IMGUI_API float GetScrollX(); // get scrolling amount [0 .. GetScrollMaxX()] IMGUI_API float GetScrollY(); // get scrolling amount [0 .. GetScrollMaxY()] IMGUI_API void SetScrollX(float scroll_x); // set scrolling amount [0 .. GetScrollMaxX()] @@ -439,7 +437,7 @@ namespace ImGui // Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions. IMGUI_API void Separator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f); // call between widgets or groups to layout them horizontally. X position given in window coordinates. - IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in an horizontal-layout context. + IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in a horizontal-layout context. IMGUI_API void Spacing(); // add vertical spacing. IMGUI_API void Dummy(const ImVec2& size); // add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. IMGUI_API void Indent(float indent_w = 0.0f); // move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0 @@ -503,8 +501,6 @@ namespace ImGui IMGUI_API bool SmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text IMGUI_API bool InvisibleButton(const char* str_id, const ImVec2& size, ImGuiButtonFlags flags = 0); // flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) IMGUI_API bool ArrowButton(const char* str_id, ImGuiDir dir); // square button with an arrow shape - IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1,1), const ImVec4& tint_col = ImVec4(1,1,1,1), const ImVec4& border_col = ImVec4(0,0,0,0)); - IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1,1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0,0,0,0), const ImVec4& tint_col = ImVec4(1,1,1,1)); // <0 frame_padding uses default frame padding settings. 0 for no padding IMGUI_API bool Checkbox(const char* label, bool* v); IMGUI_API bool CheckboxFlags(const char* label, int* flags, int flags_value); IMGUI_API bool CheckboxFlags(const char* label, unsigned int* flags, unsigned int flags_value); @@ -513,7 +509,12 @@ namespace ImGui IMGUI_API void ProgressBar(float fraction, const ImVec2& size_arg = ImVec2(-FLT_MIN, 0), const char* overlay = NULL); IMGUI_API void Bullet(); // draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses - // Widgets: Combo Box + // Widgets: Images + // - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples + IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& tint_col = ImVec4(1, 1, 1, 1), const ImVec4& border_col = ImVec4(0, 0, 0, 0)); + IMGUI_API bool ImageButton(const char* str_id, ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); + + // Widgets: Combo Box (Dropdown) // - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. // - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags = 0); @@ -524,14 +525,15 @@ namespace ImGui // Widgets: Drag Sliders // - CTRL+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp. - // - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x + // - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every function, note that a 'float v[X]' function argument is the same as 'float* v', + // the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. &myvector.x // - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. // - Format string may also be set to NULL or use the default format ("%f" or "%d"). // - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision). // - Use v_min < v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used. // - Use v_max = FLT_MAX / INT_MAX etc to avoid clamping to a maximum, same with v_min = -FLT_MAX / INT_MIN to avoid clamping to a minimum. // - We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them. - // - Legacy: Pre-1.78 there are DragXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. + // - Legacy: Pre-1.78 there are DragXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. // If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 IMGUI_API bool DragFloat(const char* label, float* v, float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); // If v_min >= v_max we have no bound IMGUI_API bool DragFloat2(const char* label, float v[2], float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, const char* format = "%.3f", ImGuiSliderFlags flags = 0); @@ -550,7 +552,7 @@ namespace ImGui // - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp. // - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc. // - Format string may also be set to NULL or use the default format ("%f" or "%d"). - // - Legacy: Pre-1.78 there are SliderXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. + // - Legacy: Pre-1.78 there are SliderXXX() function signatures that take a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument. // If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361 IMGUI_API bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. IMGUI_API bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); @@ -592,7 +594,7 @@ namespace ImGui IMGUI_API bool ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0); IMGUI_API bool ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags = 0); IMGUI_API bool ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags = 0, const float* ref_col = NULL); - IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0, 0)); // display a color square/button, hover for details, return true when pressed. + IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags = 0, const ImVec2& size = ImVec2(0, 0)); // display a color square/button, hover for details, return true when pressed. IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags); // initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. // Widgets: Trees @@ -608,7 +610,7 @@ namespace ImGui IMGUI_API bool TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); IMGUI_API bool TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) IM_FMTLIST(3); IMGUI_API void TreePush(const char* str_id); // ~ Indent()+PushId(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. - IMGUI_API void TreePush(const void* ptr_id = NULL); // " + IMGUI_API void TreePush(const void* ptr_id); // " IMGUI_API void TreePop(); // ~ Unindent()+PopId() IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). @@ -678,7 +680,7 @@ namespace ImGui // Popups: begin/end functions // - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards. ImGuiWindowFlags are forwarded to the window. - // - BeginPopupModal(): block every interactions behind the window, cannot be closed by user, add a dimming background, has a title bar. + // - BeginPopupModal(): block every interaction behind the window, cannot be closed by user, add a dimming background, has a title bar. IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); // return true if the popup is open, and you can start outputting to it. IMGUI_API bool BeginPopupModal(const char* name, bool* p_open = NULL, ImGuiWindowFlags flags = 0); // return true if the modal is open, and you can start outputting to it. IMGUI_API void EndPopup(); // only call EndPopup() if BeginPopupXXX() returns true! @@ -690,6 +692,7 @@ namespace ImGui // - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options). // - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup(). // - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened. + // - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter IMGUI_API void OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags = 0); // call to mark popup as open (don't call every frame!). IMGUI_API void OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags = 0); // id overload to facilitate calling from nested stacks IMGUI_API void OpenPopupOnItemClick(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) @@ -699,7 +702,7 @@ namespace ImGui // - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking. // - They are convenient to easily create context menus, hence the name. // - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future. - // - IMPORTANT: we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight. + // - IMPORTANT: Notice that we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight. IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! IMGUI_API bool BeginPopupContextWindow(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1);// open+begin popup when clicked on current window. IMGUI_API bool BeginPopupContextVoid(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1); // open+begin popup when clicked in void (where there are no windows). @@ -711,19 +714,17 @@ namespace ImGui IMGUI_API bool IsPopupOpen(const char* str_id, ImGuiPopupFlags flags = 0); // return true if the popup is open. // Tables - // [BETA API] API may evolve slightly! If you use this, please update to the next version when it comes out! // - Full-featured replacement for old Columns API. - // - See Demo->Tables for demo code. - // - See top of imgui_tables.cpp for general commentary. + // - See Demo->Tables for demo code. See top of imgui_tables.cpp for general commentary. // - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags. // The typical call flow is: - // - 1. Call BeginTable(). + // - 1. Call BeginTable(), early out if returning false. // - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults. // - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows. // - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data. // - 5. Populate contents: // - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column. - // - If you are using tables as a sort of grid, where every columns is holding the same type of contents, + // - If you are using tables as a sort of grid, where every column is holding the same type of contents, // you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex(). // TableNextColumn() will automatically wrap-around into the next row if needed. // - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column! @@ -736,10 +737,10 @@ namespace ImGui // -------------------------------------------------------------------------------------------------------- // - 5. Call EndTable() IMGUI_API bool BeginTable(const char* str_id, int column, ImGuiTableFlags flags = 0, const ImVec2& outer_size = ImVec2(0.0f, 0.0f), float inner_width = 0.0f); - IMGUI_API void EndTable(); // only call EndTable() if BeginTable() returns true! + IMGUI_API void EndTable(); // only call EndTable() if BeginTable() returns true! IMGUI_API void TableNextRow(ImGuiTableRowFlags row_flags = 0, float min_row_height = 0.0f); // append into the first cell of a new row. - IMGUI_API bool TableNextColumn(); // append into the next column (or first column of next row if currently in last column). Return true when column is visible. - IMGUI_API bool TableSetColumnIndex(int column_n); // append into the specified column. Return true when column is visible. + IMGUI_API bool TableNextColumn(); // append into the next column (or first column of next row if currently in last column). Return true when column is visible. + IMGUI_API bool TableSetColumnIndex(int column_n); // append into the specified column. Return true when column is visible. // Tables: Headers & Columns declaration // - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc. @@ -750,20 +751,17 @@ namespace ImGui // some advanced use cases (e.g. adding custom widgets in header row). // - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled. IMGUI_API void TableSetupColumn(const char* label, ImGuiTableColumnFlags flags = 0, float init_width_or_weight = 0.0f, ImGuiID user_id = 0); - IMGUI_API void TableSetupScrollFreeze(int cols, int rows); // lock columns/rows so they stay visible when scrolled. - IMGUI_API void TableHeadersRow(); // submit all headers cells based on data provided to TableSetupColumn() + submit context menu - IMGUI_API void TableHeader(const char* label); // submit one header cell manually (rarely used) + IMGUI_API void TableSetupScrollFreeze(int cols, int rows); // lock columns/rows so they stay visible when scrolled. + IMGUI_API void TableHeadersRow(); // submit all headers cells based on data provided to TableSetupColumn() + submit context menu + IMGUI_API void TableHeader(const char* label); // submit one header cell manually (rarely used) - // Tables: Sorting - // - Call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. - // - When 'SpecsDirty == true' you should sort your data. It will be true when sorting specs have changed - // since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, else you may - // wastefully sort your data every frame! - // - Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). - IMGUI_API ImGuiTableSortSpecs* TableGetSortSpecs(); // get latest sort specs for the table (NULL if not sorting). - - // Tables: Miscellaneous functions + // Tables: Sorting & Miscellaneous functions + // - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting. + // When 'sort_specs->SpecsDirty == true' you should sort your data. It will be true when sorting specs have + // changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, + // else you may wastefully sort your data every frame! // - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index. + IMGUI_API ImGuiTableSortSpecs* TableGetSortSpecs(); // get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). IMGUI_API int TableGetColumnCount(); // return number of columns (value passed to BeginTable) IMGUI_API int TableGetColumnIndex(); // return current column index. IMGUI_API int TableGetRowIndex(); // return current row index. @@ -807,7 +805,7 @@ namespace ImGui // - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip, see #1725) // - An item can be both drag source and drop target. IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); // call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource() - IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond = 0); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. + IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond = 0); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted. IMGUI_API void EndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true! IMGUI_API bool BeginDragDropTarget(); // call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() IMGUI_API const ImGuiPayload* AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags = 0); // accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. @@ -837,12 +835,12 @@ namespace ImGui IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags = 0); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. IMGUI_API bool IsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) IMGUI_API bool IsItemFocused(); // is the last item focused for keyboard/gamepad navigation? - IMGUI_API bool IsItemClicked(ImGuiMouseButton mouse_button = 0); // is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this it NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. + IMGUI_API bool IsItemClicked(ImGuiMouseButton mouse_button = 0); // is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. IMGUI_API bool IsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling) IMGUI_API bool IsItemEdited(); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. IMGUI_API bool IsItemActivated(); // was the last item just made active (item was previously inactive). - IMGUI_API bool IsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing. - IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). + IMGUI_API bool IsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing. + IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). IMGUI_API bool IsItemToggledOpen(); // was the last item open state toggled? set by TreeNode(). IMGUI_API bool IsAnyItemHovered(); // is any item hovered? IMGUI_API bool IsAnyItemActive(); // is any item active? @@ -858,13 +856,15 @@ namespace ImGui // - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode. IMGUI_API ImGuiViewport* GetMainViewport(); // return primary/default viewport. This can never be NULL. + // Background/Foreground Draw Lists + IMGUI_API ImDrawList* GetBackgroundDrawList(); // this draw list will be the first rendered one. Useful to quickly draw shapes/text behind dear imgui contents. + IMGUI_API ImDrawList* GetForegroundDrawList(); // this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. + // Miscellaneous Utilities IMGUI_API bool IsRectVisible(const ImVec2& size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped. IMGUI_API bool IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. IMGUI_API double GetTime(); // get global imgui time. incremented by io.DeltaTime every frame. IMGUI_API int GetFrameCount(); // get global imgui frame count. incremented by 1 every frame. - IMGUI_API ImDrawList* GetBackgroundDrawList(); // this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. - IMGUI_API ImDrawList* GetForegroundDrawList(); // this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. IMGUI_API ImDrawListSharedData* GetDrawListSharedData(); // you may use this when creating your own ImDrawList instances. IMGUI_API const char* GetStyleColorName(ImGuiCol idx); // get a string corresponding to the enum value (for display, saving, etc.). IMGUI_API void SetStateStorage(ImGuiStorage* storage); // replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it) @@ -882,14 +882,17 @@ namespace ImGui IMGUI_API void ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g, float& out_b); // Inputs Utilities: Keyboard - // - For 'int user_key_index' you can use your own indices/enums according to how your backend/engine stored them in io.KeysDown[]. - // - We don't know the meaning of those value. You can use GetKeyIndex() to map a ImGuiKey_ value into the user index. - IMGUI_API int GetKeyIndex(ImGuiKey imgui_key); // map ImGuiKey_* values into user's key index. == io.KeyMap[key] - IMGUI_API bool IsKeyDown(int user_key_index); // is key being held. == io.KeysDown[user_key_index]. - IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat = true); // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate - IMGUI_API bool IsKeyReleased(int user_key_index); // was key released (went from Down to !Down)? - IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate - IMGUI_API void CaptureKeyboardFromApp(bool want_capture_keyboard_value = true); // attention: misleading name! manually override io.WantCaptureKeyboard flag next frame (said flag is entirely left for your application to handle). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard_value"; after the next NewFrame() call. + // Without IMGUI_DISABLE_OBSOLETE_KEYIO: (legacy support) + // - For 'ImGuiKey key' you can still use your legacy native/user indices according to how your backend/engine stored them in io.KeysDown[]. + // With IMGUI_DISABLE_OBSOLETE_KEYIO: (this is the way forward) + // - Any use of 'ImGuiKey' will assert when key < 512 will be passed, previously reserved as native/user keys indices + // - GetKeyIndex() is pass-through and therefore deprecated (gone if IMGUI_DISABLE_OBSOLETE_KEYIO is defined) + IMGUI_API bool IsKeyDown(ImGuiKey key); // is key being held. + IMGUI_API bool IsKeyPressed(ImGuiKey key, bool repeat = true); // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate + IMGUI_API bool IsKeyReleased(ImGuiKey key); // was key released (went from Down to !Down)? + IMGUI_API int GetKeyPressedAmount(ImGuiKey key, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate + IMGUI_API const char* GetKeyName(ImGuiKey key); // [DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared. + IMGUI_API void SetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); // Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call. // Inputs Utilities: Mouse // - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right. @@ -902,15 +905,15 @@ namespace ImGui IMGUI_API int GetMouseClickedCount(ImGuiMouseButton button); // return the number of successive mouse-clicks at the time where a click happen (otherwise 0). IMGUI_API bool IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip = true);// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. IMGUI_API bool IsMousePosValid(const ImVec2* mouse_pos = NULL); // by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available - IMGUI_API bool IsAnyMouseDown(); // is any mouse button held? + IMGUI_API bool IsAnyMouseDown(); // [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. IMGUI_API ImVec2 GetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves) IMGUI_API bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold = -1.0f); // is mouse dragging? (if lock_threshold < -1.0f, uses io.MouseDraggingThreshold) IMGUI_API ImVec2 GetMouseDragDelta(ImGuiMouseButton button = 0, float lock_threshold = -1.0f); // return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (if lock_threshold < -1.0f, uses io.MouseDraggingThreshold) IMGUI_API void ResetMouseDragDelta(ImGuiMouseButton button = 0); // - IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get desired cursor type, reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you - IMGUI_API void SetMouseCursor(ImGuiMouseCursor cursor_type); // set desired cursor type - IMGUI_API void CaptureMouseFromApp(bool want_capture_mouse_value = true); // attention: misleading name! manually override io.WantCaptureMouse flag next frame (said flag is entirely left for your application to handle). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse_value;" after the next NewFrame() call. + IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you + IMGUI_API void SetMouseCursor(ImGuiMouseCursor cursor_type); // set desired mouse cursor shape + IMGUI_API void SetNextFrameWantCaptureMouse(bool want_capture_mouse); // Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call. // Clipboard Utilities // - Also see the LogToClipboard() function to capture GUI into clipboard, or easily output text data to the clipboard. @@ -927,7 +930,7 @@ namespace ImGui IMGUI_API const char* SaveIniSettingsToMemory(size_t* out_ini_size = NULL); // return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. // Debug Utilities - // - This is used by the IMGUI_CHECKVERSION() macro. + IMGUI_API void DebugTextEncoding(const char* text); IMGUI_API bool DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert, size_t sz_drawidx); // This is called by IMGUI_CHECKVERSION() macro. // Memory Allocators @@ -946,6 +949,7 @@ namespace ImGui //----------------------------------------------------------------------------- // Flags for ImGui::Begin() +// (Those are per-window flags. There are shared flags in ImGuiIO: io.ConfigWindowsResizeFromEdges and io.ConfigWindowsMoveFromTitleBarOnly) enum ImGuiWindowFlags_ { ImGuiWindowFlags_None = 0, @@ -979,13 +983,11 @@ enum ImGuiWindowFlags_ ImGuiWindowFlags_Tooltip = 1 << 25, // Don't use! For internal use by BeginTooltip() ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup() ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal() - ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu() - - // [Obsolete] - //ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // --> Set io.ConfigWindowsResizeFromEdges=true and make sure mouse cursors are supported by backend (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) + ImGuiWindowFlags_ChildMenu = 1 << 28, // Don't use! For internal use by BeginMenu() }; // Flags for ImGui::InputText() +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive) enum ImGuiInputTextFlags_ { ImGuiInputTextFlags_None = 0, @@ -1008,11 +1010,12 @@ enum ImGuiInputTextFlags_ ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID(). ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input) ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this) - ImGuiInputTextFlags_CallbackEdit = 1 << 19 // Callback on any edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active) + ImGuiInputTextFlags_CallbackEdit = 1 << 19, // Callback on any edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active) + ImGuiInputTextFlags_EscapeClearsAll = 1 << 20, // Escape key clears content if not empty, and deactivate otherwise (constrast to default behavior of Escape to revert) // Obsolete names (will be removed soon) #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiInputTextFlags_AlwaysInsertMode = ImGuiInputTextFlags_AlwaysOverwrite // [renamed in 1.82] name was not matching behavior + ImGuiInputTextFlags_AlwaysInsertMode = ImGuiInputTextFlags_AlwaysOverwrite // [renamed in 1.82] name was not matching behavior #endif }; @@ -1035,7 +1038,7 @@ enum ImGuiTreeNodeFlags_ ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12, // Extend hit box to the left-most and right-most edges (bypass the indented area). ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop) //ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 14, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible - ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog + ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog, }; // Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions. @@ -1044,7 +1047,7 @@ enum ImGuiTreeNodeFlags_ // It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags. // - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0. // IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter -// and want to another another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag. +// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly. // - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later). enum ImGuiPopupFlags_ { @@ -1058,18 +1061,18 @@ enum ImGuiPopupFlags_ ImGuiPopupFlags_NoOpenOverItems = 1 << 6, // For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space ImGuiPopupFlags_AnyPopupId = 1 << 7, // For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup. ImGuiPopupFlags_AnyPopupLevel = 1 << 8, // For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level) - ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, }; // Flags for ImGui::Selectable() enum ImGuiSelectableFlags_ { ImGuiSelectableFlags_None = 0, - ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window + ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this doesn't close parent popup window ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column) ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, // Generate press events on double clicks too ImGuiSelectableFlags_Disabled = 1 << 3, // Cannot be selected, display grayed out text - ImGuiSelectableFlags_AllowItemOverlap = 1 << 4 // (WIP) Hit testing to allow subsequent widgets to overlap this one + ImGuiSelectableFlags_AllowItemOverlap = 1 << 4, // (WIP) Hit testing to allow subsequent widgets to overlap this one }; // Flags for ImGui::BeginCombo() @@ -1083,7 +1086,7 @@ enum ImGuiComboFlags_ ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button - ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest + ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest, }; // Flags for ImGui::BeginTabBar() @@ -1099,7 +1102,7 @@ enum ImGuiTabBarFlags_ ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 6, // Resize tabs when they don't fit ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7, // Add scroll buttons when tabs don't fit ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll, - ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown + ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown, }; // Flags for ImGui::BeginTabItem() @@ -1113,12 +1116,11 @@ enum ImGuiTabItemFlags_ ImGuiTabItemFlags_NoTooltip = 1 << 4, // Disable tooltip for the given tab ImGuiTabItemFlags_NoReorder = 1 << 5, // Disable reordering this tab or having another tab cross over this tab ImGuiTabItemFlags_Leading = 1 << 6, // Enforce the tab position to the left of the tab bar (after the tab list popup button) - ImGuiTabItemFlags_Trailing = 1 << 7 // Enforce the tab position to the right of the tab bar (before the scrolling buttons) + ImGuiTabItemFlags_Trailing = 1 << 7, // Enforce the tab position to the right of the tab bar (before the scrolling buttons) }; // Flags for ImGui::BeginTable() -// [BETA API] API may evolve slightly! If you use this, please update to the next version when it comes out! -// - Important! Sizing policies have complex and subtle side effects, more so than you would expect. +// - Important! Sizing policies have complex and subtle side effects, much more so than you would expect. // Read comments/demos carefully + experiment with live demos to get acquainted with them. // - The DEFAULT sizing policies are: // - Default to ImGuiTableFlags_SizingFixedFit if ScrollX is on, or if host window has ImGuiWindowFlags_AlwaysAutoResize. @@ -1126,15 +1128,15 @@ enum ImGuiTabItemFlags_ // - When ScrollX is off: // - Table defaults to ImGuiTableFlags_SizingStretchSame -> all Columns defaults to ImGuiTableColumnFlags_WidthStretch with same weight. // - Columns sizing policy allowed: Stretch (default), Fixed/Auto. -// - Fixed Columns will generally obtain their requested width (unless the table cannot fit them all). -// - Stretch Columns will share the remaining width. +// - Fixed Columns (if any) will generally obtain their requested width (unless the table cannot fit them all). +// - Stretch Columns will share the remaining width according to their respective weight. // - Mixed Fixed/Stretch columns is possible but has various side-effects on resizing behaviors. // The typical use of mixing sizing policies is: any number of LEADING Fixed columns, followed by one or two TRAILING Stretch columns. // (this is because the visible order of columns have subtle but necessary effects on how they react to manual resizing). // - When ScrollX is on: // - Table defaults to ImGuiTableFlags_SizingFixedFit -> all Columns defaults to ImGuiTableColumnFlags_WidthFixed // - Columns sizing policy allowed: Fixed/Auto mostly. -// - Fixed Columns can be enlarged as needed. Table will show an horizontal scrollbar if needed. +// - Fixed Columns can be enlarged as needed. Table will show a horizontal scrollbar if needed. // - When using auto-resizing (non-resizable) fixed columns, querying the content width to use item right-alignment e.g. SetNextItemWidth(-FLT_MIN) doesn't make sense, would create a feedback loop. // - Using Stretch columns OFTEN DOES NOT MAKE SENSE if ScrollX is on, UNLESS you have specified a value for 'inner_width' in BeginTable(). // If you specify a value for 'inner_width' then effectively the scrolling space is known and Stretch or mixed Fixed/Stretch columns become meaningful again. @@ -1160,8 +1162,8 @@ enum ImGuiTableFlags_ ImGuiTableFlags_BordersInner = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH, // Draw inner borders. ImGuiTableFlags_BordersOuter = ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH, // Draw outer borders. ImGuiTableFlags_Borders = ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter, // Draw all borders. - ImGuiTableFlags_NoBordersInBody = 1 << 11, // [ALPHA] Disable vertical borders in columns Body (borders will always appears in Headers). -> May move to style - ImGuiTableFlags_NoBordersInBodyUntilResize = 1 << 12, // [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers). -> May move to style + ImGuiTableFlags_NoBordersInBody = 1 << 11, // [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style + ImGuiTableFlags_NoBordersInBodyUntilResize = 1 << 12, // [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style // Sizing Policy (read above for defaults) ImGuiTableFlags_SizingFixedFit = 1 << 13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width. ImGuiTableFlags_SizingFixedSame = 2 << 13, // Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible. @@ -1175,24 +1177,18 @@ enum ImGuiTableFlags_ // Clipping ImGuiTableFlags_NoClip = 1 << 20, // Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze(). // Padding - ImGuiTableFlags_PadOuterX = 1 << 21, // Default if BordersOuterV is on. Enable outer-most padding. Generally desirable if you have headers. - ImGuiTableFlags_NoPadOuterX = 1 << 22, // Default if BordersOuterV is off. Disable outer-most padding. + ImGuiTableFlags_PadOuterX = 1 << 21, // Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers. + ImGuiTableFlags_NoPadOuterX = 1 << 22, // Default if BordersOuterV is off. Disable outermost padding. ImGuiTableFlags_NoPadInnerX = 1 << 23, // Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off). // Scrolling - ImGuiTableFlags_ScrollX = 1 << 24, // Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this create a child window, ScrollY is currently generally recommended when using ScrollX. + ImGuiTableFlags_ScrollX = 1 << 24, // Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX. ImGuiTableFlags_ScrollY = 1 << 25, // Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. // Sorting ImGuiTableFlags_SortMulti = 1 << 26, // Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1). ImGuiTableFlags_SortTristate = 1 << 27, // Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0). // [Internal] Combinations and masks - ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame - - // Obsolete names (will be removed soon) -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //, ImGuiTableFlags_ColumnsWidthFixed = ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_ColumnsWidthStretch = ImGuiTableFlags_SizingStretchSame // WIP Tables 2020/12 - //, ImGuiTableFlags_SizingPolicyFixed = ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_SizingPolicyStretch = ImGuiTableFlags_SizingStretchSame // WIP Tables 2021/01 -#endif + ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame, }; // Flags for ImGui::TableSetupColumn() @@ -1229,19 +1225,14 @@ enum ImGuiTableColumnFlags_ ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed, ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable, ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered, - ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30 // [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge) - - // Obsolete names (will be removed soon) -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //ImGuiTableColumnFlags_WidthAuto = ImGuiTableColumnFlags_WidthFixed | ImGuiTableColumnFlags_NoResize, // Column will not stretch and keep resizing based on submitted contents. -#endif + ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30, // [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge) }; // Flags for ImGui::TableNextRow() enum ImGuiTableRowFlags_ { - ImGuiTableRowFlags_None = 0, - ImGuiTableRowFlags_Headers = 1 << 0 // Identify header row (set default background color + width of its contents accounted different for auto column width) + ImGuiTableRowFlags_None = 0, + ImGuiTableRowFlags_Headers = 1 << 0, // Identify header row (set default background color + width of its contents accounted differently for auto column width) }; // Enum for ImGui::TableSetBgColor() @@ -1249,16 +1240,16 @@ enum ImGuiTableRowFlags_ // - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set. // - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set. // - Layer 2: draw with CellBg color if set. -// The purpose of the two row/columns layers is to let you decide if a background color changes should override or blend with the existing color. +// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color. // When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows. // If you set the color of RowBg0 target, your color will override the existing RowBg0 color. // If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color. enum ImGuiTableBgTarget_ { - ImGuiTableBgTarget_None = 0, - ImGuiTableBgTarget_RowBg0 = 1, // Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used) - ImGuiTableBgTarget_RowBg1 = 2, // Set row background color 1 (generally used for selection marking) - ImGuiTableBgTarget_CellBg = 3 // Set cell background color (top-most color) + ImGuiTableBgTarget_None = 0, + ImGuiTableBgTarget_RowBg0 = 1, // Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used) + ImGuiTableBgTarget_RowBg1 = 2, // Set row background color 1 (generally used for selection marking) + ImGuiTableBgTarget_CellBg = 3, // Set cell background color (top-most color) }; // Flags for ImGui::IsWindowFocused() @@ -1270,7 +1261,7 @@ enum ImGuiFocusedFlags_ ImGuiFocusedFlags_AnyWindow = 1 << 2, // Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ! ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3, // Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow) //ImGuiFocusedFlags_DockHierarchy = 1 << 4, // Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow) - ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows + ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows, }; // Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered() @@ -1289,8 +1280,14 @@ enum ImGuiHoveredFlags_ ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns. ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 8, // IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window ImGuiHoveredFlags_AllowWhenDisabled = 1 << 9, // IsItemHovered() only: Return true even if the item is disabled + ImGuiHoveredFlags_NoNavOverride = 1 << 10, // Disable using gamepad/keyboard navigation state when active, always query mouse. ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped, - ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows + ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows, + + // Hovering delays (for tooltips) + ImGuiHoveredFlags_DelayNormal = 1 << 11, // Return true after io.HoverDelayNormal elapsed (~0.30 sec) + ImGuiHoveredFlags_DelayShort = 1 << 12, // Return true after io.HoverDelayShort elapsed (~0.10 sec) + ImGuiHoveredFlags_NoSharedDelay = 1 << 13, // Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays) }; // Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() @@ -1298,8 +1295,8 @@ enum ImGuiDragDropFlags_ { ImGuiDragDropFlags_None = 0, // BeginDragDropSource() flags - ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior. - ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item. + ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior. + ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item. ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item. ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit. ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously. @@ -1308,7 +1305,7 @@ enum ImGuiDragDropFlags_ ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered. ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target. ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. - ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect // For peeking ahead and inspecting the payload before delivery. + ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, // For peeking ahead and inspecting the payload before delivery. }; // Standard Drag and Drop payload types. You can define you own payload types using short strings. Types starting with '_' are defined by Dear ImGui. @@ -1350,10 +1347,14 @@ enum ImGuiSortDirection_ ImGuiSortDirection_Descending = 2 // Descending = 9->0, Z->A etc. }; -// User fill ImGuiIO.KeyMap[] array with indices into the ImGuiIO.KeysDown[512] array -enum ImGuiKey_ +// A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value) +// All our named keys are >= 512. Keys value 0 to 511 are left unused as legacy native/opaque key values (< 1.87) +// Since >= 1.89 we increased typing (went from int to enum), some legacy code may need a cast to ImGuiKey. +enum ImGuiKey : int { - ImGuiKey_Tab, + // Keyboard + ImGuiKey_None = 0, + ImGuiKey_Tab = 512, // == ImGuiKey_NamedKey_BEGIN ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow, @@ -1368,74 +1369,141 @@ enum ImGuiKey_ ImGuiKey_Space, ImGuiKey_Enter, ImGuiKey_Escape, - ImGuiKey_KeyPadEnter, - ImGuiKey_A, // for text edit CTRL+A: select all - ImGuiKey_C, // for text edit CTRL+C: copy - ImGuiKey_V, // for text edit CTRL+V: paste - ImGuiKey_X, // for text edit CTRL+X: cut - ImGuiKey_Y, // for text edit CTRL+Y: redo - ImGuiKey_Z, // for text edit CTRL+Z: undo - ImGuiKey_COUNT + ImGuiKey_LeftCtrl, ImGuiKey_LeftShift, ImGuiKey_LeftAlt, ImGuiKey_LeftSuper, + ImGuiKey_RightCtrl, ImGuiKey_RightShift, ImGuiKey_RightAlt, ImGuiKey_RightSuper, + ImGuiKey_Menu, + ImGuiKey_0, ImGuiKey_1, ImGuiKey_2, ImGuiKey_3, ImGuiKey_4, ImGuiKey_5, ImGuiKey_6, ImGuiKey_7, ImGuiKey_8, ImGuiKey_9, + ImGuiKey_A, ImGuiKey_B, ImGuiKey_C, ImGuiKey_D, ImGuiKey_E, ImGuiKey_F, ImGuiKey_G, ImGuiKey_H, ImGuiKey_I, ImGuiKey_J, + ImGuiKey_K, ImGuiKey_L, ImGuiKey_M, ImGuiKey_N, ImGuiKey_O, ImGuiKey_P, ImGuiKey_Q, ImGuiKey_R, ImGuiKey_S, ImGuiKey_T, + ImGuiKey_U, ImGuiKey_V, ImGuiKey_W, ImGuiKey_X, ImGuiKey_Y, ImGuiKey_Z, + ImGuiKey_F1, ImGuiKey_F2, ImGuiKey_F3, ImGuiKey_F4, ImGuiKey_F5, ImGuiKey_F6, + ImGuiKey_F7, ImGuiKey_F8, ImGuiKey_F9, ImGuiKey_F10, ImGuiKey_F11, ImGuiKey_F12, + ImGuiKey_Apostrophe, // ' + ImGuiKey_Comma, // , + ImGuiKey_Minus, // - + ImGuiKey_Period, // . + ImGuiKey_Slash, // / + ImGuiKey_Semicolon, // ; + ImGuiKey_Equal, // = + ImGuiKey_LeftBracket, // [ + ImGuiKey_Backslash, // \ (this text inhibit multiline comment caused by backslash) + ImGuiKey_RightBracket, // ] + ImGuiKey_GraveAccent, // ` + ImGuiKey_CapsLock, + ImGuiKey_ScrollLock, + ImGuiKey_NumLock, + ImGuiKey_PrintScreen, + ImGuiKey_Pause, + ImGuiKey_Keypad0, ImGuiKey_Keypad1, ImGuiKey_Keypad2, ImGuiKey_Keypad3, ImGuiKey_Keypad4, + ImGuiKey_Keypad5, ImGuiKey_Keypad6, ImGuiKey_Keypad7, ImGuiKey_Keypad8, ImGuiKey_Keypad9, + ImGuiKey_KeypadDecimal, + ImGuiKey_KeypadDivide, + ImGuiKey_KeypadMultiply, + ImGuiKey_KeypadSubtract, + ImGuiKey_KeypadAdd, + ImGuiKey_KeypadEnter, + ImGuiKey_KeypadEqual, + + // Gamepad (some of those are analog values, 0.0f to 1.0f) // GAME NAVIGATION ACTION + // (download controller mapping PNG/PSD at http://dearimgui.org/controls_sheets) + ImGuiKey_GamepadStart, // Menu (Xbox) + (Switch) Start/Options (PS) + ImGuiKey_GamepadBack, // View (Xbox) - (Switch) Share (PS) + ImGuiKey_GamepadFaceLeft, // X (Xbox) Y (Switch) Square (PS) // Tap: Toggle Menu. Hold: Windowing mode (Focus/Move/Resize windows) + ImGuiKey_GamepadFaceRight, // B (Xbox) A (Switch) Circle (PS) // Cancel / Close / Exit + ImGuiKey_GamepadFaceUp, // Y (Xbox) X (Switch) Triangle (PS) // Text Input / On-screen Keyboard + ImGuiKey_GamepadFaceDown, // A (Xbox) B (Switch) Cross (PS) // Activate / Open / Toggle / Tweak + ImGuiKey_GamepadDpadLeft, // D-pad Left // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadRight, // D-pad Right // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadUp, // D-pad Up // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadDpadDown, // D-pad Down // Move / Tweak / Resize Window (in Windowing mode) + ImGuiKey_GamepadL1, // L Bumper (Xbox) L (Switch) L1 (PS) // Tweak Slower / Focus Previous (in Windowing mode) + ImGuiKey_GamepadR1, // R Bumper (Xbox) R (Switch) R1 (PS) // Tweak Faster / Focus Next (in Windowing mode) + ImGuiKey_GamepadL2, // L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog] + ImGuiKey_GamepadR2, // R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog] + ImGuiKey_GamepadL3, // L Stick (Xbox) L3 (Switch) L3 (PS) + ImGuiKey_GamepadR3, // R Stick (Xbox) R3 (Switch) R3 (PS) + ImGuiKey_GamepadLStickLeft, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickRight, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickUp, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadLStickDown, // [Analog] // Move Window (in Windowing mode) + ImGuiKey_GamepadRStickLeft, // [Analog] + ImGuiKey_GamepadRStickRight, // [Analog] + ImGuiKey_GamepadRStickUp, // [Analog] + ImGuiKey_GamepadRStickDown, // [Analog] + + // Mouse Buttons (auto-submitted from AddMouseButtonEvent() calls) + // - This is mirroring the data also written to io.MouseDown[], io.MouseWheel, in a format allowing them to be accessed via standard key API. + ImGuiKey_MouseLeft, ImGuiKey_MouseRight, ImGuiKey_MouseMiddle, ImGuiKey_MouseX1, ImGuiKey_MouseX2, ImGuiKey_MouseWheelX, ImGuiKey_MouseWheelY, + + // [Internal] Reserved for mod storage + ImGuiKey_ReservedForModCtrl, ImGuiKey_ReservedForModShift, ImGuiKey_ReservedForModAlt, ImGuiKey_ReservedForModSuper, + ImGuiKey_COUNT, + + // Keyboard Modifiers (explicitly submitted by backend via AddKeyEvent() calls) + // - This is mirroring the data also written to io.KeyCtrl, io.KeyShift, io.KeyAlt, io.KeySuper, in a format allowing + // them to be accessed via standard key API, allowing calls such as IsKeyPressed(), IsKeyReleased(), querying duration etc. + // - Code polling every key (e.g. an interface to detect a key press for input mapping) might want to ignore those + // and prefer using the real keys (e.g. ImGuiKey_LeftCtrl, ImGuiKey_RightCtrl instead of ImGuiMod_Ctrl). + // - In theory the value of keyboard modifiers should be roughly equivalent to a logical or of the equivalent left/right keys. + // In practice: it's complicated; mods are often provided from different sources. Keyboard layout, IME, sticky keys and + // backends tend to interfere and break that equivalence. The safer decision is to relay that ambiguity down to the end-user... + ImGuiMod_None = 0, + ImGuiMod_Ctrl = 1 << 12, + ImGuiMod_Shift = 1 << 13, + ImGuiMod_Alt = 1 << 14, // Option/Menu + ImGuiMod_Super = 1 << 15, // Cmd/Super/Windows + ImGuiMod_Mask_ = 0xF000, +#if defined(__APPLE__) + ImGuiMod_Shortcut = ImGuiMod_Super, +#else + ImGuiMod_Shortcut = ImGuiMod_Ctrl, +#endif + + // [Internal] Prior to 1.87 we required user to fill io.KeysDown[512] using their own native index + the io.KeyMap[] array. + // We are ditching this method but keeping a legacy path for user code doing e.g. IsKeyPressed(MY_NATIVE_KEY_CODE) + ImGuiKey_NamedKey_BEGIN = 512, + ImGuiKey_NamedKey_END = ImGuiKey_COUNT, + ImGuiKey_NamedKey_COUNT = ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN, +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + ImGuiKey_KeysData_SIZE = ImGuiKey_NamedKey_COUNT, // Size of KeysData[]: only hold named keys + ImGuiKey_KeysData_OFFSET = ImGuiKey_NamedKey_BEGIN, // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET). +#else + ImGuiKey_KeysData_SIZE = ImGuiKey_COUNT, // Size of KeysData[]: hold legacy 0..512 keycodes + named keys + ImGuiKey_KeysData_OFFSET = 0, // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET). +#endif + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + ImGuiKey_ModCtrl = ImGuiMod_Ctrl, ImGuiKey_ModShift = ImGuiMod_Shift, ImGuiKey_ModAlt = ImGuiMod_Alt, ImGuiKey_ModSuper = ImGuiMod_Super, // Renamed in 1.89 + ImGuiKey_KeyPadEnter = ImGuiKey_KeypadEnter, // Renamed in 1.87 +#endif }; -// To test io.KeyMods (which is a combination of individual fields io.KeyCtrl, io.KeyShift, io.KeyAlt set by user/backend) -enum ImGuiKeyModFlags_ +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO +// OBSOLETED in 1.88 (from July 2022): ImGuiNavInput and io.NavInputs[]. +// Official backends between 1.60 and 1.86: will keep working and feed gamepad inputs as long as IMGUI_DISABLE_OBSOLETE_KEYIO is not set. +// Custom backends: feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. +enum ImGuiNavInput { - ImGuiKeyModFlags_None = 0, - ImGuiKeyModFlags_Ctrl = 1 << 0, - ImGuiKeyModFlags_Shift = 1 << 1, - ImGuiKeyModFlags_Alt = 1 << 2, - ImGuiKeyModFlags_Super = 1 << 3 -}; - -// Gamepad/Keyboard navigation -// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.KeysDown[] + io.KeyMap[] arrays. -// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Backend: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame(). -// Read instructions in imgui.cpp for more details. Download PNG/PSD at http://dearimgui.org/controls_sheets. -enum ImGuiNavInput_ -{ - // Gamepad Mapping - ImGuiNavInput_Activate, // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard) - ImGuiNavInput_Cancel, // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard) - ImGuiNavInput_Input, // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard) - ImGuiNavInput_Menu, // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard) - ImGuiNavInput_DpadLeft, // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard) - ImGuiNavInput_DpadRight, // - ImGuiNavInput_DpadUp, // - ImGuiNavInput_DpadDown, // - ImGuiNavInput_LStickLeft, // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down - ImGuiNavInput_LStickRight, // - ImGuiNavInput_LStickUp, // - ImGuiNavInput_LStickDown, // - ImGuiNavInput_FocusPrev, // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_FocusNext, // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - ImGuiNavInput_TweakSlow, // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch) - ImGuiNavInput_TweakFast, // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch) - - // [Internal] Don't use directly! This is used internally to differentiate keyboard from gamepad inputs for behaviors that require to differentiate them. - // Keyboard behavior that have no corresponding gamepad mapping (e.g. CTRL+TAB) will be directly reading from io.KeysDown[] instead of io.NavInputs[]. - ImGuiNavInput_KeyLeft_, // move left // = Arrow keys - ImGuiNavInput_KeyRight_, // move right - ImGuiNavInput_KeyUp_, // move up - ImGuiNavInput_KeyDown_, // move down + ImGuiNavInput_Activate, ImGuiNavInput_Cancel, ImGuiNavInput_Input, ImGuiNavInput_Menu, ImGuiNavInput_DpadLeft, ImGuiNavInput_DpadRight, ImGuiNavInput_DpadUp, ImGuiNavInput_DpadDown, + ImGuiNavInput_LStickLeft, ImGuiNavInput_LStickRight, ImGuiNavInput_LStickUp, ImGuiNavInput_LStickDown, ImGuiNavInput_FocusPrev, ImGuiNavInput_FocusNext, ImGuiNavInput_TweakSlow, ImGuiNavInput_TweakFast, ImGuiNavInput_COUNT, - ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyLeft_ }; +#endif // Configuration flags stored in io.ConfigFlags. Set by user/application. enum ImGuiConfigFlags_ { ImGuiConfigFlags_None = 0, - ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[]. - ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. This is mostly to instruct your imgui backend to fill io.NavInputs[]. Backend also needs to set ImGuiBackendFlags_HasGamepad. + ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. + ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad. ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your backend, otherwise ImGui will react as if the mouse is jumping around back and forth. ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the backend. ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. - // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are not used by core Dear ImGui) + // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui) ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. - ImGuiConfigFlags_IsTouchScreen = 1 << 21 // Application is using a touch screen instead of a mouse. + ImGuiConfigFlags_IsTouchScreen = 1 << 21, // Application is using a touch screen instead of a mouse. }; // Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend. @@ -1445,7 +1513,7 @@ enum ImGuiBackendFlags_ ImGuiBackendFlags_HasGamepad = 1 << 0, // Backend Platform supports gamepad and currently has one connected. ImGuiBackendFlags_HasMouseCursors = 1 << 1, // Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape. ImGuiBackendFlags_HasSetMousePos = 1 << 2, // Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set). - ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3 // Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices. + ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3, // Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices. }; // Enumeration for PushStyleColor() / PopStyleColor() @@ -1481,10 +1549,10 @@ enum ImGuiCol_ ImGuiCol_Separator, ImGuiCol_SeparatorHovered, ImGuiCol_SeparatorActive, - ImGuiCol_ResizeGrip, + ImGuiCol_ResizeGrip, // Resize grip in lower-right and lower-left corners of windows. ImGuiCol_ResizeGripHovered, ImGuiCol_ResizeGripActive, - ImGuiCol_Tab, + ImGuiCol_Tab, // TabItem in a TabBar ImGuiCol_TabHovered, ImGuiCol_TabActive, ImGuiCol_TabUnfocused, @@ -1499,7 +1567,7 @@ enum ImGuiCol_ ImGuiCol_TableRowBg, // Table row background (even rows) ImGuiCol_TableRowBgAlt, // Table row background (odd rows) ImGuiCol_TextSelectedBg, - ImGuiCol_DragDropTarget, + ImGuiCol_DragDropTarget, // Rectangle highlighting a drop target ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item ImGuiCol_NavWindowingHighlight, // Highlight window when using CTRL+TAB ImGuiCol_NavWindowingDimBg, // Darken/colorize entire screen behind the CTRL+TAB window list, when active @@ -1511,7 +1579,7 @@ enum ImGuiCol_ // - The enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. // During initialization or between frames, feel free to just poke into ImGuiStyle directly. // - Tip: Use your programming IDE navigation facilities on the names in the _second column_ below to find the actual members and their description. -// In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. // - When changing this enum, you need to update the associated internal table GStyleVarInfo[] accordingly. This is where we link enum values to members offset/type. enum ImGuiStyleVar_ @@ -1555,7 +1623,7 @@ enum ImGuiButtonFlags_ // [Internal] ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle, - ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft + ImGuiButtonFlags_MouseButtonDefault_ = ImGuiButtonFlags_MouseButtonLeft, }; // Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton() @@ -1596,16 +1664,15 @@ enum ImGuiColorEditFlags_ ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex, ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float, ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar, - ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV + ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV, // Obsolete names (will be removed) -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiColorEditFlags_RGB = ImGuiColorEditFlags_DisplayRGB, ImGuiColorEditFlags_HSV = ImGuiColorEditFlags_DisplayHSV, ImGuiColorEditFlags_HEX = ImGuiColorEditFlags_DisplayHex // [renamed in 1.69] -#endif + // ImGuiColorEditFlags_RGB = ImGuiColorEditFlags_DisplayRGB, ImGuiColorEditFlags_HSV = ImGuiColorEditFlags_DisplayHSV, ImGuiColorEditFlags_HEX = ImGuiColorEditFlags_DisplayHex // [renamed in 1.69] }; // Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc. // We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them. +// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigDragClickToInputText) enum ImGuiSliderFlags_ { ImGuiSliderFlags_None = 0, @@ -1613,11 +1680,11 @@ enum ImGuiSliderFlags_ ImGuiSliderFlags_Logarithmic = 1 << 5, // Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits. ImGuiSliderFlags_NoRoundToFormat = 1 << 6, // Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits) ImGuiSliderFlags_NoInput = 1 << 7, // Disable CTRL+Click or Enter key allowing to input text directly into the widget - ImGuiSliderFlags_InvalidMask_ = 0x7000000F // [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed. + ImGuiSliderFlags_InvalidMask_ = 0x7000000F, // [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed. // Obsolete names (will be removed) #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiSliderFlags_ClampOnInput = ImGuiSliderFlags_AlwaysClamp // [renamed in 1.79] + ImGuiSliderFlags_ClampOnInput = ImGuiSliderFlags_AlwaysClamp, // [renamed in 1.79] #endif }; @@ -1639,7 +1706,7 @@ enum ImGuiMouseCursor_ ImGuiMouseCursor_Arrow = 0, ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. ImGuiMouseCursor_ResizeAll, // (Unused by Dear ImGui functions) - ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border + ImGuiMouseCursor_ResizeNS, // When hovering over a horizontal border ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window @@ -1654,10 +1721,10 @@ enum ImGuiMouseCursor_ enum ImGuiCond_ { ImGuiCond_None = 0, // No condition (always set the variable), same as _Always - ImGuiCond_Always = 1 << 0, // No condition (always set the variable) + ImGuiCond_Always = 1 << 0, // No condition (always set the variable), same as _None ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call will succeed) ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file) - ImGuiCond_Appearing = 1 << 3 // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) + ImGuiCond_Appearing = 1 << 3, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time) }; //----------------------------------------------------------------------------- @@ -1706,7 +1773,7 @@ struct ImVector // Constructors, destructor inline ImVector() { Size = Capacity = 0; Data = NULL; } inline ImVector(const ImVector& src) { Size = Capacity = 0; Data = NULL; operator=(src); } - inline ImVector& operator=(const ImVector& src) { clear(); resize(src.Size); memcpy(Data, src.Data, (size_t)Size * sizeof(T)); return *this; } + inline ImVector& operator=(const ImVector& src) { clear(); resize(src.Size); if (src.Data) memcpy(Data, src.Data, (size_t)Size * sizeof(T)); return *this; } inline ~ImVector() { if (Data) IM_FREE(Data); } // Important: does not destruct anything inline void clear() { if (Data) { Size = Capacity = 0; IM_FREE(Data); Data = NULL; } } // Important: does not destruct anything @@ -1736,13 +1803,14 @@ struct ImVector inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; } inline void shrink(int new_size) { IM_ASSERT(new_size <= Size); Size = new_size; } // Resize a vector to a smaller size, guaranteed not to cause a reallocation inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); IM_FREE(Data); } Data = new_data; Capacity = new_capacity; } + inline void reserve_discard(int new_capacity) { if (new_capacity <= Capacity) return; if (Data) IM_FREE(Data); Data = (T*)IM_ALLOC((size_t)new_capacity * sizeof(T)); Capacity = new_capacity; } // NB: It is illegal to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden. inline void push_back(const T& v) { if (Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } inline void pop_back() { IM_ASSERT(Size > 0); Size--; } inline void push_front(const T& v) { if (Size == 0) push_back(v); else insert(Data, v); } inline T* erase(const T* it) { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + 1, ((size_t)Size - (size_t)off - 1) * sizeof(T)); Size--; return Data + off; } - inline T* erase(const T* it, const T* it_last){ IM_ASSERT(it >= Data && it < Data + Size && it_last > it && it_last <= Data + Size); const ptrdiff_t count = it_last - it; const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + count, ((size_t)Size - (size_t)off - (size_t)count) * sizeof(T)); Size -= (int)count; return Data + off; } + inline T* erase(const T* it, const T* it_last){ IM_ASSERT(it >= Data && it < Data + Size && it_last >= it && it_last <= Data + Size); const ptrdiff_t count = it_last - it; const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + count, ((size_t)Size - (size_t)off - (size_t)count) * sizeof(T)); Size -= (int)count; return Data + off; } inline T* erase_unsorted(const T* it) { IM_ASSERT(it >= Data && it < Data + Size); const ptrdiff_t off = it - Data; if (it < Data + Size - 1) memcpy(Data + off, Data + Size - 1, sizeof(T)); Size--; return Data + off; } inline T* insert(const T* it, const T& v) { IM_ASSERT(it >= Data && it <= Data + Size); const ptrdiff_t off = it - Data; if (Size == Capacity) reserve(_grow_capacity(Size + 1)); if (off < (int)Size) memmove(Data + off + 1, Data + off, ((size_t)Size - (size_t)off) * sizeof(T)); memcpy(&Data[off], &v, sizeof(v)); Size++; return Data + off; } inline bool contains(const T& v) const { const T* data = Data; const T* data_end = Data + Size; while (data < data_end) if (*data++ == v) return true; return false; } @@ -1769,7 +1837,7 @@ struct ImGuiStyle ImVec2 WindowPadding; // Padding within a window. float WindowRounding; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended. float WindowBorderSize; // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly). - ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints(). + ImVec2 WindowMinSize; // Minimum window size. This is a global setting. If you want to constrain individual windows, use SetNextWindowSizeConstraints(). ImVec2 WindowTitleAlign; // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered. ImGuiDir WindowMenuButtonPosition; // Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left. float ChildRounding; // Radius of child window corners rounding. Set to 0.0f to have rectangular windows. @@ -1792,7 +1860,7 @@ struct ImGuiStyle float LogSliderDeadzone; // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero. float TabRounding; // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs. float TabBorderSize; // Thickness of border around tabs. - float TabMinWidthForCloseButton; // Minimum width for close button to appears on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. + float TabMinWidthForCloseButton; // Minimum width for close button to appear on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. ImGuiDir ColorButtonPosition; // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right. ImVec2 ButtonTextAlign; // Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered). ImVec2 SelectableTextAlign; // Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line. @@ -1800,7 +1868,7 @@ struct ImGuiStyle ImVec2 DisplaySafeAreaPadding; // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly! float MouseCursorScale; // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). May be removed later. bool AntiAliasedLines; // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). - bool AntiAliasedLinesUseTex; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering. Latched at the beginning of the frame (copied to ImDrawList). + bool AntiAliasedLinesUseTex; // Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList). bool AntiAliasedFill; // Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList). float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality. float CircleTessellationMaxError; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry. @@ -1817,25 +1885,36 @@ struct ImGuiStyle // Access via ImGui::GetIO(). Read 'Programmer guide' section in .cpp file for general usage. //----------------------------------------------------------------------------- +// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions. +// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration. +struct ImGuiKeyData +{ + bool Down; // True for if key is down + float DownDuration; // Duration the key has been down (<0.0f: not pressed, 0.0f: just pressed, >0.0f: time held) + float DownDurationPrev; // Last frame duration the key has been down + float AnalogValue; // 0.0f..1.0f for gamepad values +}; + struct ImGuiIO { //------------------------------------------------------------------ - // Configuration (fill once) // Default value + // Configuration // Default value //------------------------------------------------------------------ ImGuiConfigFlags ConfigFlags; // = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. ImGuiBackendFlags BackendFlags; // = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend) to communicate features supported by the backend. - ImVec2 DisplaySize; // // Main display size, in pixels (generally == GetMainViewport()->Size) - float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. + ImVec2 DisplaySize; // // Main display size, in pixels (generally == GetMainViewport()->Size). May change every frame. + float DeltaTime; // = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame. float IniSavingRate; // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds. const char* IniFilename; // = "imgui.ini" // Path to .ini file (important: default "imgui.ini" is relative to current working dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call LoadIniSettingsXXX() / SaveIniSettingsXXX() functions. const char* LogFilename; // = "imgui_log.txt"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified). float MouseDoubleClickTime; // = 0.30f // Time for a double-click, in seconds. float MouseDoubleClickMaxDist; // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels. float MouseDragThreshold; // = 6.0f // Distance threshold before considering we are dragging. - int KeyMap[ImGuiKey_COUNT]; // // Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. - float KeyRepeatDelay; // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). + float KeyRepeatDelay; // = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.). float KeyRepeatRate; // = 0.050f // When holding a key/button, rate at which it repeats, in seconds. + float HoverDelayNormal; // = 0.30 sec // Delay on hovering before IsItemHovered(ImGuiHoveredFlags_DelayNormal) returns true. + float HoverDelayShort; // = 0.10 sec // Delay on hovering before IsItemHovered(ImGuiHoveredFlags_DelayShort) returns true. void* UserData; // = NULL // Store your own data for retrieval by callbacks. ImFontAtlas*Fonts; // // Font atlas: load, rasterize and pack one or more fonts into a single texture. @@ -1847,7 +1926,9 @@ struct ImGuiIO // Miscellaneous options bool MouseDrawCursor; // = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend implementations. bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl. + bool ConfigInputTrickleEventQueue; // = true // Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates. bool ConfigInputTextCursorBlink; // = true // Enable blinking cursor (optional as some users consider it to be distracting). + bool ConfigInputTextEnterKeepActive; // = false // [BETA] Pressing Enter will keep item active and select contents (single-line only). bool ConfigDragClickToInputText; // = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). Not desirable on devices without a keyboard. bool ConfigWindowsResizeFromEdges; // = true // Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag) bool ConfigWindowsMoveFromTitleBarOnly; // = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to windows without a title bar. @@ -1873,31 +1954,32 @@ struct ImGuiIO // Optional: Notify OS Input Method Editor of the screen position of your cursor for text input position (e.g. when using Japanese/Chinese IME on Windows) // (default to use native imm32 api on Windows) - void (*ImeSetInputScreenPosFn)(int x, int y); - void* ImeWindowHandle; // = NULL // (Windows) Set this to your HWND to get automatic IME cursor positioning. + void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data); +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + void* ImeWindowHandle; // = NULL // [Obsolete] Set ImGuiViewport::PlatformHandleRaw instead. Set this to your HWND to get automatic IME cursor positioning. +#else + void* _UnusedPadding; // Unused field to keep data structure the same size. +#endif //------------------------------------------------------------------ - // Input - Fill before calling NewFrame() + // Input - Call before calling NewFrame() //------------------------------------------------------------------ - ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.) - bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. - float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. - float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all backends. - bool KeyCtrl; // Keyboard modifier pressed: Control - bool KeyShift; // Keyboard modifier pressed: Shift - bool KeyAlt; // Keyboard modifier pressed: Alt - bool KeySuper; // Keyboard modifier pressed: Cmd/Super/Windows - bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). - float NavInputs[ImGuiNavInput_COUNT]; // Gamepad inputs. Cleared back to zero by EndFrame(). Keyboard keys will be auto-mapped and be written here by NewFrame(). + // Input Functions + IMGUI_API void AddKeyEvent(ImGuiKey key, bool down); // Queue a new key down/up event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character) + IMGUI_API void AddKeyAnalogEvent(ImGuiKey key, bool down, float v); // Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend. + IMGUI_API void AddMousePosEvent(float x, float y); // Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered) + IMGUI_API void AddMouseButtonEvent(int button, bool down); // Queue a mouse button change + IMGUI_API void AddMouseWheelEvent(float wh_x, float wh_y); // Queue a mouse wheel update + IMGUI_API void AddFocusEvent(bool focused); // Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window) + IMGUI_API void AddInputCharacter(unsigned int c); // Queue a new character input + IMGUI_API void AddInputCharacterUTF16(ImWchar16 c); // Queue a new character input from a UTF-16 character, it can be a surrogate + IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue a new characters input from a UTF-8 string - // Functions - IMGUI_API void AddInputCharacter(unsigned int c); // Queue new character input - IMGUI_API void AddInputCharacterUTF16(ImWchar16 c); // Queue new character input from an UTF-16 character, it can be a surrogate - IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue new characters input from an UTF-8 string - IMGUI_API void AddFocusEvent(bool focused); // Notifies Dear ImGui when hosting platform windows lose or gain input focus - IMGUI_API void ClearInputCharacters(); // [Internal] Clear the text input buffer manually - IMGUI_API void ClearInputKeys(); // [Internal] Release all keys + IMGUI_API void SetKeyEventNativeData(ImGuiKey key, int native_keycode, int native_scancode, int native_legacy_index = -1); // [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. + IMGUI_API void SetAppAcceptingEvents(bool accepting_events); // Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. + IMGUI_API void ClearInputCharacters(); // [Internal] Clear the text input buffer manually + IMGUI_API void ClearInputKeys(); // [Internal] Release all keys //------------------------------------------------------------------ // Output - Updated by NewFrame() or EndFrame()/Render() @@ -1905,50 +1987,70 @@ struct ImGuiIO // generally easier and more correct to use their state BEFORE calling NewFrame(). See FAQ for details!) //------------------------------------------------------------------ - bool WantCaptureMouse; // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). - bool WantCaptureKeyboard; // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). - bool WantTextInput; // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). - bool WantSetMousePos; // MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. - bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving! - bool NavActive; // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. - bool NavVisible; // Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events). - float Framerate; // Rough estimate of application framerate, in frame per second. Solely for convenience. Rolling average estimation based on io.DeltaTime over 120 frames. - int MetricsRenderVertices; // Vertices output during last call to Render() - int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 - int MetricsRenderWindows; // Number of visible windows - int MetricsActiveWindows; // Number of active windows - int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts. - ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + bool WantCaptureMouse; // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.). + bool WantCaptureKeyboard; // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). + bool WantTextInput; // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). + bool WantSetMousePos; // MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled. + bool WantSaveIniSettings; // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving! + bool NavActive; // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag. + bool NavVisible; // Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events). + float Framerate; // Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per second. Solely for convenience. Slow applications may not want to use a moving average or may want to reset underlying buffers occasionally. + int MetricsRenderVertices; // Vertices output during last call to Render() + int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3 + int MetricsRenderWindows; // Number of visible windows + int MetricsActiveWindows; // Number of active windows + int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts. + ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. + + // Legacy: before 1.87, we required backend to fill io.KeyMap[] (imgui->native map) during initialization and io.KeysDown[] (native indices) every frame. + // This is still temporarily supported as a legacy feature. However the new preferred scheme is for backend to call io.AddKeyEvent(). + // Old (<1.87): ImGui::IsKeyPressed(ImGui::GetIO().KeyMap[ImGuiKey_Space]) --> New (1.87+) ImGui::IsKeyPressed(ImGuiKey_Space) +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + int KeyMap[ImGuiKey_COUNT]; // [LEGACY] Input: map of indices into the KeysDown[512] entries array which represent your "native" keyboard state. The first 512 are now unused and should be kept zero. Legacy backend will write into KeyMap[] using ImGuiKey_ indices which are always >512. + bool KeysDown[ImGuiKey_COUNT]; // [LEGACY] Input: Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys). This used to be [512] sized. It is now ImGuiKey_COUNT to allow legacy io.KeysDown[GetKeyIndex(...)] to work without an overflow. + float NavInputs[ImGuiNavInput_COUNT]; // [LEGACY] Since 1.88, NavInputs[] was removed. Backends from 1.60 to 1.86 won't build. Feed gamepad inputs via io.AddKeyEvent() and ImGuiKey_GamepadXXX enums. +#endif //------------------------------------------------------------------ // [Internal] Dear ImGui will maintain those fields. Forward compatibility not guaranteed! //------------------------------------------------------------------ - bool WantCaptureMouseUnlessPopupClose;// Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup. - ImGuiKeyModFlags KeyMods; // Key mods flags (same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags), updated by NewFrame() - ImGuiKeyModFlags KeyModsPrev; // Previous key mods - ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid) - ImVec2 MouseClickedPos[5]; // Position at time of clicking - double MouseClickedTime[5]; // Time of last click (used to figure out double-click) - bool MouseClicked[5]; // Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0) - bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2) - ImU16 MouseClickedCount[5]; // == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down - ImU16 MouseClickedLastCount[5]; // Count successive number of clicks. Stays valid after mouse release. Reset after another click is done. - bool MouseReleased[5]; // Mouse button went from Down to !Down - bool MouseDownOwned[5]; // Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds. - bool MouseDownOwnedUnlessPopupClose[5];//Track if button was clicked inside a dear imgui window. - float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) - float MouseDownDurationPrev[5]; // Previous time the mouse button has been down - ImVec2 MouseDragMaxDistanceAbs[5]; // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point - float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point - float KeysDownDuration[512]; // Duration the keyboard key has been down (0.0f == just pressed) - float KeysDownDurationPrev[512]; // Previous duration the key has been down - float NavInputsDownDuration[ImGuiNavInput_COUNT]; - float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; - float PenPressure; // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui. - bool AppFocusLost; - ImWchar16 InputQueueSurrogate; // For AddInputCharacterUTF16 - ImVector InputQueueCharacters; // Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper. + // Main Input State + // (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead) + // (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere) + ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.) + bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Other buttons allow us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API. + float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text. + float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with a horizontal wheel, may not be filled by all backends. + bool KeyCtrl; // Keyboard modifier down: Control + bool KeyShift; // Keyboard modifier down: Shift + bool KeyAlt; // Keyboard modifier down: Alt + bool KeySuper; // Keyboard modifier down: Cmd/Super/Windows + + // Other state maintained from data above + IO function calls + ImGuiKeyChord KeyMods; // Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags). Read-only, updated by NewFrame() + ImGuiKeyData KeysData[ImGuiKey_KeysData_SIZE]; // Key state for all known keys. Use IsKeyXXX() functions to access this. + bool WantCaptureMouseUnlessPopupClose; // Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose == false) when a click over void is expected to close a popup. + ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid) + ImVec2 MouseClickedPos[5]; // Position at time of clicking + double MouseClickedTime[5]; // Time of last click (used to figure out double-click) + bool MouseClicked[5]; // Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0) + bool MouseDoubleClicked[5]; // Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2) + ImU16 MouseClickedCount[5]; // == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc. when going from !Down to Down + ImU16 MouseClickedLastCount[5]; // Count successive number of clicks. Stays valid after mouse release. Reset after another click is done. + bool MouseReleased[5]; // Mouse button went from Down to !Down + bool MouseDownOwned[5]; // Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request mouse capture from the application if click started outside ImGui bounds. + bool MouseDownOwnedUnlessPopupClose[5]; // Track if button was clicked inside a dear imgui window. + float MouseDownDuration[5]; // Duration the mouse button has been down (0.0f == just clicked) + float MouseDownDurationPrev[5]; // Previous time the mouse button has been down + float MouseDragMaxDistanceSqr[5]; // Squared maximum distance of how much mouse has traveled from the clicking point (used for moving thresholds) + float PenPressure; // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui. + bool AppFocusLost; // Only modify via AddFocusEvent() + bool AppAcceptingEvents; // Only modify via SetAppAcceptingEvents() + ImS8 BackendUsingLegacyKeyArrays; // -1: unknown, 0: using AddKeyEvent(), 1: using legacy io.KeysDown[] + bool BackendUsingLegacyNavInputArray; // 0: using AddKeyAnalogEvent(), 1: writing to legacy io.NavInputs[] directly + ImWchar16 InputQueueSurrogate; // For AddInputCharacterUTF16() + ImVector InputQueueCharacters; // Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper. IMGUI_API ImGuiIO(); }; @@ -1999,7 +2101,7 @@ struct ImGuiInputTextCallbackData // NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough. struct ImGuiSizeCallbackData { - void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints() + void* UserData; // Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>). ImVec2 Pos; // Read-only. Window position, for reference. ImVec2 CurrentSize; // Read-only. Current window size. ImVec2 DesiredSize; // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing. @@ -2063,7 +2165,7 @@ struct ImGuiTableSortSpecs #define IM_UNICODE_CODEPOINT_MAX 0xFFFF // Maximum Unicode code point supported by this build. #endif -// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create an UI within deep-nested code that runs multiple times every frame. +// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create a UI within deep-nested code that runs multiple times every frame. // Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame"); struct ImGuiOnceUponAFrame { @@ -2171,7 +2273,7 @@ struct ImGuiStorage }; // Helper: Manually clip large list of items. -// If you have lots evenly spaced items and you have a random access to the list, you can perform coarse +// If you have lots evenly spaced items and you have random access to the list, you can perform coarse // clipping based on visibility to only submit items that are in view. // The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped. // (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally @@ -2216,6 +2318,8 @@ struct ImGuiListClipper }; // Helpers macros to generate 32-bit encoded colors +// User can declare their own format by #defining the 5 _SHIFT/_MASK macros in their imconfig file. +#ifndef IM_COL32_R_SHIFT #ifdef IMGUI_USE_BGRA_PACKED_COLOR #define IM_COL32_R_SHIFT 16 #define IM_COL32_G_SHIFT 8 @@ -2229,6 +2333,7 @@ struct ImGuiListClipper #define IM_COL32_A_SHIFT 24 #define IM_COL32_A_MASK 0xFF000000 #endif +#endif #define IM_COL32(R,G,B,A) (((ImU32)(A)<> IM_COL32_R_SHIFT) & 0xFF) * sc; Value.y = (float)((rgba >> IM_COL32_G_SHIFT) & 0xFF) * sc; Value.z = (float)((rgba >> IM_COL32_B_SHIFT) & 0xFF) * sc; Value.w = (float)((rgba >> IM_COL32_A_SHIFT) & 0xFF) * sc; } - ImColor(float r, float g, float b, float a = 1.0f) { Value.x = r; Value.y = g; Value.z = b; Value.w = a; } - ImColor(const ImVec4& col) { Value = col; } inline operator ImU32() const { return ImGui::ColorConvertFloat4ToU32(Value); } inline operator ImVec4() const { return Value; } @@ -2283,16 +2388,16 @@ typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* c #define ImDrawCallback_ResetRenderState (ImDrawCallback)(-1) // Typically, 1 command = 1 GPU draw call (unless command is a callback) -// - VtxOffset/IdxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled, -// those fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices. -// Pre-1.71 backends will typically ignore the VtxOffset/IdxOffset fields. +// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled, +// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices. +// Backends made for <1.71. will typically ignore the VtxOffset fields. // - The ClipRect/TextureId/VtxOffset fields must be contiguous as we memcmp() them together (this is asserted for). struct ImDrawCmd { ImVec4 ClipRect; // 4*4 // Clipping rectangle (x1, y1, x2, y2). Subtract ImDrawData->DisplayPos to get clipping rectangle in "viewport" coordinates ImTextureID TextureId; // 4-8 // User-provided texture ID. Set by user in ImfontAtlas::SetTexID() for fonts or passed to Image*() functions. Ignore if never using images or multiple fonts atlas. unsigned int VtxOffset; // 4 // Start offset in vertex buffer. ImGuiBackendFlags_RendererHasVtxOffset: always 0, otherwise may be >0 to support meshes larger than 64K vertices with 16-bit indices. - unsigned int IdxOffset; // 4 // Start offset in index buffer. Always equal to sum of ElemCount drawn so far. + unsigned int IdxOffset; // 4 // Start offset in index buffer. unsigned int ElemCount; // 4 // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[]. ImDrawCallback UserCallback; // 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally. void* UserCallbackData; // 4-8 // The draw callback code can access this. @@ -2314,7 +2419,7 @@ struct ImDrawVert #else // You can override the vertex format layout by defining IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT in imconfig.h // The code expect ImVec2 pos (8 bytes), ImVec2 uv (8 bytes), ImU32 col (4 bytes), but you can re-order them or add other fields as needed to simplify integration in your engine. -// The type has to be described within the macro (you can either declare the struct or use a typedef). This is because ImVec2/ImU32 are likely not declared a the time you'd want to set your type up. +// The type has to be described within the macro (you can either declare the struct or use a typedef). This is because ImVec2/ImU32 are likely not declared at the time you'd want to set your type up. // NOTE: IMGUI DOESN'T CLEAR THE STRUCTURE AND DOESN'T CALL A CONSTRUCTOR SO ANY CUSTOM FIELD WILL BE UNINITIALIZED. IF YOU ADD EXTRA FIELDS (SUCH AS A 'Z' COORDINATES) YOU WILL NEED TO CLEAR THEM DURING RENDER OR TO IGNORE THEM. IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT; #endif @@ -2369,7 +2474,7 @@ enum ImDrawFlags_ ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight, ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, // Default to ALL corners if none of the _RoundCornersXX flags are specified. - ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone + ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, }; // Flags for ImDrawList instance. Those are set automatically by ImGui:: functions from ImGuiIO settings, and generally not manipulated directly. @@ -2378,9 +2483,9 @@ enum ImDrawListFlags_ { ImDrawListFlags_None = 0, ImDrawListFlags_AntiAliasedLines = 1 << 0, // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles) - ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering. + ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1, // Enable anti-aliased lines/borders using textures when possible. Require backend to render with bilinear filtering (NOT point/nearest filtering). ImDrawListFlags_AntiAliasedFill = 1 << 2, // Enable anti-aliased edge around filled shapes (rounded rectangles, circles). - ImDrawListFlags_AllowVtxOffset = 1 << 3 // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. + ImDrawListFlags_AllowVtxOffset = 1 << 3, // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled. }; // Draw command list @@ -2402,7 +2507,7 @@ struct ImDrawList // [Internal, used while building lists] unsigned int _VtxCurrentIdx; // [Internal] generally == VtxBuffer.Size unless we are past 64K vertices, in which case this gets reset to 0. - const ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) + ImDrawListSharedData* _Data; // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context) const char* _OwnerName; // Pointer to owner window's name for debugging ImDrawVert* _VtxWritePtr; // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) ImDrawIdx* _IdxWritePtr; // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much) @@ -2414,10 +2519,10 @@ struct ImDrawList float _FringeScale; // [Internal] anti-alias fringe is scaled by this value, this helps to keep things sharp while zooming at vertex buffer content // If you want to create ImDrawList instances, pass them ImGui::GetDrawListSharedData() or create and use your own ImDrawListSharedData (so you can use ImDrawList without ImGui) - ImDrawList(const ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } + ImDrawList(ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } ~ImDrawList() { _ClearFreeMemory(); } - IMGUI_API void PushClipRect(ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_current_clip_rect = false); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) + IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect = false); // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) IMGUI_API void PushClipRectFullScreen(); IMGUI_API void PopClipRect(); IMGUI_API void PushTextureID(ImTextureID texture_id); @@ -2426,11 +2531,12 @@ struct ImDrawList inline ImVec2 GetClipRectMax() const { const ImVec4& cr = _ClipRectStack.back(); return ImVec2(cr.z, cr.w); } // Primitives + // - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. // - For rectangular primitives, "p_min" and "p_max" represent the upper-left and lower-right corners. // - For circle primitives, use "num_segments == 0" to automatically calculate tessellation (preferred). // In older versions (until Dear ImGui 1.77) the AddCircle functions defaulted to num_segments == 12. // In future versions we will use textures to provide cheaper and higher-quality circles. - // Use AddNgon() and AddNgonFilled() functions if you need to guaranteed a specific number of sides. + // Use AddNgon() and AddNgonFilled() functions if you need to guarantee a specific number of sides. IMGUI_API void AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness = 1.0f); IMGUI_API void AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0, float thickness = 1.0f); // a: upper-left, b: lower-right (== upper-left + size) IMGUI_API void AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0); // a: upper-left, b: lower-right (== upper-left + size) @@ -2446,7 +2552,7 @@ struct ImDrawList IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL); IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); IMGUI_API void AddPolyline(const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness); - IMGUI_API void AddConvexPolyFilled(const ImVec2* points, int num_points, ImU32 col); // Note: Anti-aliased filling requires points to be in clockwise order. + IMGUI_API void AddConvexPolyFilled(const ImVec2* points, int num_points, ImU32 col); IMGUI_API void AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0); // Cubic Bezier (4 control points) IMGUI_API void AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments = 0); // Quadratic Bezier (3 control points) @@ -2459,10 +2565,11 @@ struct ImDrawList IMGUI_API void AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags = 0); // Stateful path API, add points then finish with PathFillConvex() or PathStroke() + // - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. inline void PathClear() { _Path.Size = 0; } inline void PathLineTo(const ImVec2& pos) { _Path.push_back(pos); } inline void PathLineToMergeDuplicate(const ImVec2& pos) { if (_Path.Size == 0 || memcmp(&_Path.Data[_Path.Size - 1], &pos, 8) != 0) _Path.push_back(pos); } - inline void PathFillConvex(ImU32 col) { AddConvexPolyFilled(_Path.Data, _Path.Size, col); _Path.Size = 0; } // Note: Anti-aliased filling requires points to be in clockwise order. + inline void PathFillConvex(ImU32 col) { AddConvexPolyFilled(_Path.Data, _Path.Size, col); _Path.Size = 0; } inline void PathStroke(ImU32 col, ImDrawFlags flags = 0, float thickness = 1.0f) { AddPolyline(_Path.Data, _Path.Size, col, flags, thickness); _Path.Size = 0; } IMGUI_API void PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments = 0); IMGUI_API void PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12); // Use precomputed angles for a 12 steps circle @@ -2498,8 +2605,8 @@ struct ImDrawList inline void PrimVtx(const ImVec2& pos, const ImVec2& uv, ImU32 col) { PrimWriteIdx((ImDrawIdx)_VtxCurrentIdx); PrimWriteVtx(pos, uv, col); } // Write vertex with unique index #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - inline void AddBezierCurve(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); } - inline void PathBezierCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) { PathBezierCubicCurveTo(p2, p3, p4, num_segments); } + inline void AddBezierCurve(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); } // OBSOLETED in 1.80 (Jan 2021) + inline void PathBezierCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments = 0) { PathBezierCubicCurveTo(p2, p3, p4, num_segments); } // OBSOLETED in 1.80 (Jan 2021) #endif // [Internal helpers] @@ -2614,7 +2721,7 @@ enum ImFontAtlasFlags_ ImFontAtlasFlags_None = 0, ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two ImFontAtlasFlags_NoMouseCursors = 1 << 1, // Don't build software mouse cursors into the atlas (save a little texture memory) - ImFontAtlasFlags_NoBakedLines = 1 << 2 // Don't build thick line textures into the atlas (save a little texture memory). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). + ImFontAtlasFlags_NoBakedLines = 1 << 2, // Don't build thick line textures into the atlas (save a little texture memory, allow support for point/nearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU). }; // Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding: @@ -2633,7 +2740,7 @@ enum ImFontAtlasFlags_ // - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction. // You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed, // - Even though many functions are suffixed with "TTF", OTF data is supported just as well. -// - This is an old API and it is currently awkward for those and and various other reasons! We will address them in the future! +// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future! struct ImFontAtlas { IMGUI_API ImFontAtlas(); @@ -2657,7 +2764,7 @@ struct ImFontAtlas IMGUI_API bool Build(); // Build pixels data. This is called automatically for you by the GetTexData*** functions. IMGUI_API void GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 1 byte per-pixel IMGUI_API void GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* out_height, int* out_bytes_per_pixel = NULL); // 4 bytes-per-pixel - bool IsBuilt() const { return Fonts.Size > 0 && TexReady; } // Bit ambiguous: used to detect when user didn't built texture but effectively we should check TexID != 0 except that would be backend dependent... + bool IsBuilt() const { return Fonts.Size > 0 && TexReady; } // Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent... void SetTexID(ImTextureID id) { TexID = id; } //------------------------------------------- @@ -2668,6 +2775,7 @@ struct ImFontAtlas // NB: Make sure that your string are UTF-8 and NOT in your local code page. In C++11, you can create UTF-8 string literal using the u8"Hello world" syntax. See FAQ for details. // NB: Consider using ImFontGlyphRangesBuilder to build glyph ranges from textual data. IMGUI_API const ImWchar* GetGlyphRangesDefault(); // Basic Latin, Extended Latin + IMGUI_API const ImWchar* GetGlyphRangesGreek(); // Default + Greek and Coptic IMGUI_API const ImWchar* GetGlyphRangesKorean(); // Default + Korean characters IMGUI_API const ImWchar* GetGlyphRangesJapanese(); // Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs IMGUI_API const ImWchar* GetGlyphRangesChineseFull(); // Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs @@ -2702,7 +2810,7 @@ struct ImFontAtlas ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_) ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure. int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height. - int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0. + int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0 (will also need to set AntiAliasedLinesUseTex = false). bool Locked; // Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert. // [Internal] @@ -2728,10 +2836,9 @@ struct ImFontAtlas int PackIdMouseCursors; // Custom texture rectangle ID for white pixel and mouse cursors int PackIdLines; // Custom texture rectangle ID for baked anti-aliased lines -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ + // [Obsolete] + //typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ //typedef ImFontGlyphRangesBuilder GlyphRangesBuilder; // OBSOLETED in 1.67+ -#endif }; // Font runtime data and rendering @@ -2774,8 +2881,8 @@ struct ImFont // 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable. IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const char** remaining = NULL) const; // utf8 IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const; - IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const; - IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu_fine_clip = false) const; + IMGUI_API void RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c) const; + IMGUI_API void RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width = 0.0f, bool cpu_fine_clip = false) const; // [Internal] Don't use! IMGUI_API void BuildLookupTable(); @@ -2797,7 +2904,7 @@ enum ImGuiViewportFlags_ ImGuiViewportFlags_None = 0, ImGuiViewportFlags_IsPlatformWindow = 1 << 0, // Represent a Platform Window ImGuiViewportFlags_IsPlatformMonitor = 1 << 1, // Represent a Platform Monitor (unused yet) - ImGuiViewportFlags_OwnedByApp = 1 << 2 // Platform Window: is created/managed by the application (rather than a dear imgui backend) + ImGuiViewportFlags_OwnedByApp = 1 << 2, // Platform Window: is created/managed by the application (rather than a dear imgui backend) }; // - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows. @@ -2815,6 +2922,9 @@ struct ImGuiViewport ImVec2 WorkPos; // Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos) ImVec2 WorkSize; // Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size) + // Platform/Backend Dependent Data + void* PlatformHandleRaw; // void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms) + ImGuiViewport() { memset(this, 0, sizeof(*this)); } // Helpers @@ -2822,60 +2932,97 @@ struct ImGuiViewport ImVec2 GetWorkCenter() const { return ImVec2(WorkPos.x + WorkSize.x * 0.5f, WorkPos.y + WorkSize.y * 0.5f); } }; +//----------------------------------------------------------------------------- +// [SECTION] Platform Dependent Interfaces +//----------------------------------------------------------------------------- + +// (Optional) Support for IME (Input Method Editor) via the io.SetPlatformImeDataFn() function. +struct ImGuiPlatformImeData +{ + bool WantVisible; // A widget wants the IME to be visible + ImVec2 InputPos; // Position of the input cursor + float InputLineHeight; // Line height + + ImGuiPlatformImeData() { memset(this, 0, sizeof(*this)); } +}; + //----------------------------------------------------------------------------- // [SECTION] Obsolete functions and types // (Will be removed! Read 'API BREAKING CHANGES' section in imgui.cpp for details) // Please keep your copy of dear imgui up to date! Occasionally set '#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS' in imconfig.h to stay ahead. //----------------------------------------------------------------------------- +namespace ImGui +{ +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + IMGUI_API ImGuiKey GetKeyIndex(ImGuiKey key); // map ImGuiKey_* values into legacy native key index. == io.KeyMap[key] +#else + static inline ImGuiKey GetKeyIndex(ImGuiKey key) { IM_ASSERT(key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END && "ImGuiKey and native_index was merged together and native_index is disabled by IMGUI_DISABLE_OBSOLETE_KEYIO. Please switch to ImGuiKey."); return key; } +#endif +} + #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS namespace ImGui { + // OBSOLETED in 1.89 (from August 2022) + IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), int frame_padding = -1, const ImVec4& bg_col = ImVec4(0, 0, 0, 0), const ImVec4& tint_col = ImVec4(1, 1, 1, 1)); // Use new ImageButton() signature (explicit item id, regular FramePadding) + // OBSOLETED in 1.88 (from May 2022) + static inline void CaptureKeyboardFromApp(bool want_capture_keyboard = true) { SetNextFrameWantCaptureKeyboard(want_capture_keyboard); } // Renamed as name was misleading + removed default value. + static inline void CaptureMouseFromApp(bool want_capture_mouse = true) { SetNextFrameWantCaptureMouse(want_capture_mouse); } // Renamed as name was misleading + removed default value. // OBSOLETED in 1.86 (from November 2021) IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end); // Calculate coarse clipping for large list of evenly sized items. Prefer using ImGuiListClipper. // OBSOLETED in 1.85 (from August 2021) - static inline float GetWindowContentRegionWidth() { return GetWindowContentRegionMax().x - GetWindowContentRegionMin().x; } + static inline float GetWindowContentRegionWidth() { return GetWindowContentRegionMax().x - GetWindowContentRegionMin().x; } // OBSOLETED in 1.81 (from February 2021) IMGUI_API bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1); // Helper to calculate size from items_count and height_in_items static inline bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0, 0)) { return BeginListBox(label, size); } - static inline void ListBoxFooter() { EndListBox(); } - // OBSOLETED in 1.79 (from August 2020) - static inline void OpenPopupContextItem(const char* str_id = NULL, ImGuiMouseButton mb = 1) { OpenPopupOnItemClick(str_id, mb); } // Bool return value removed. Use IsWindowAppearing() in BeginPopup() instead. Renamed in 1.77, renamed back in 1.79. Sorry! - // OBSOLETED in 1.78 (from June 2020) - // Old drag/sliders functions that took a 'float power = 1.0' argument instead of flags. - // For shared code, you can version check at compile-time with `#if IMGUI_VERSION_NUM >= 17704`. - IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power); - IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power); - static inline bool DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); } - static inline bool DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); } - static inline bool DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); } - static inline bool DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, float power) { return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); } - IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power); - IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, float power); - static inline bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, float power) { return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, power); } - static inline bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, float power) { return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); } - static inline bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, float power) { return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); } - static inline bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, float power) { return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); } - // OBSOLETED in 1.77 (from June 2020) - static inline bool BeginPopupContextWindow(const char* str_id, ImGuiMouseButton mb, bool over_items) { return BeginPopupContextWindow(str_id, mb | (over_items ? 0 : ImGuiPopupFlags_NoOpenOverItems)); } - // OBSOLETED in 1.72 (from April 2019) - static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); } - // OBSOLETED in 1.71 (from June 2019) - static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); } - // OBSOLETED in 1.70 (from May 2019) - static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; } + static inline void ListBoxFooter() { EndListBox(); } // Some of the older obsolete names along with their replacement (commented out so they are not reported in IDE) - //static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); } // OBSOLETED in 1.69 (from Mar 2019) - //static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018) - //static inline bool IsItemDeactivatedAfterChange() { return IsItemDeactivatedAfterEdit(); } // OBSOLETED in 1.63 (from Aug 2018) - //static inline bool IsAnyWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_AnyWindow); } // OBSOLETED in 1.60 (from Apr 2018) - //static inline bool IsAnyWindowHovered() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.60 (between Dec 2017 and Apr 2018) - //static inline void ShowTestWindow() { return ShowDemoWindow(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline bool IsRootWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootWindow); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline bool IsRootWindowOrAnyChildFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) - //static inline float GetItemsLineHeightWithSpacing() { return GetFrameHeightWithSpacing(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //-- OBSOLETED in 1.79 (from August 2020) + //static inline void OpenPopupContextItem(const char* str_id = NULL, ImGuiMouseButton mb = 1) { OpenPopupOnItemClick(str_id, mb); } // Bool return value removed. Use IsWindowAppearing() in BeginPopup() instead. Renamed in 1.77, renamed back in 1.79. Sorry! + //-- OBSOLETED in 1.78 (from June 2020): Old drag/sliders functions that took a 'float power > 1.0f' argument instead of ImGuiSliderFlags_Logarithmic. See github.com/ocornut/imgui/issues/3361 for details. + //IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f) // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, const void* p_min, const void* p_max, const char* format, float power = 1.0f); // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat(const char* label, float* v, float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalar(label, ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat2(const char* label, float v[2], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat3(const char* label, float v[3], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool DragFloat4(const char* label, float v[4], float v_speed, float v_min, float v_max, const char* format, float power = 1.0f) { return DragScalarN(label, ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalar(label, ImGuiDataType_Float, v, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //static inline bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, const char* format, float power = 1.0f) { return SliderScalarN(label, ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); } // OBSOLETED in 1.78 (from June 2020) + //-- OBSOLETED in 1.77 and before + //static inline bool BeginPopupContextWindow(const char* str_id, ImGuiMouseButton mb, bool over_items) { return BeginPopupContextWindow(str_id, mb | (over_items ? 0 : ImGuiPopupFlags_NoOpenOverItems)); } // OBSOLETED in 1.77 (from June 2020) + //static inline void TreeAdvanceToLabelPos() { SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()); } // OBSOLETED in 1.72 (from July 2019) + //static inline void SetNextTreeNodeOpen(bool open, ImGuiCond cond = 0) { SetNextItemOpen(open, cond); } // OBSOLETED in 1.71 (from June 2019) + //static inline float GetContentRegionAvailWidth() { return GetContentRegionAvail().x; } // OBSOLETED in 1.70 (from May 2019) + //static inline ImDrawList* GetOverlayDrawList() { return GetForegroundDrawList(); } // OBSOLETED in 1.69 (from Mar 2019) + //static inline void SetScrollHere(float ratio = 0.5f) { SetScrollHereY(ratio); } // OBSOLETED in 1.66 (from Nov 2018) + //static inline bool IsItemDeactivatedAfterChange() { return IsItemDeactivatedAfterEdit(); } // OBSOLETED in 1.63 (from Aug 2018) + //-- OBSOLETED in 1.60 and before + //static inline bool IsAnyWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_AnyWindow); } // OBSOLETED in 1.60 (from Apr 2018) + //static inline bool IsAnyWindowHovered() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.60 (between Dec 2017 and Apr 2018) + //static inline void ShowTestWindow() { return ShowDemoWindow(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline bool IsRootWindowFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootWindow); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline bool IsRootWindowOrAnyChildFocused() { return IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //static inline float GetItemsLineHeightWithSpacing() { return GetFrameHeightWithSpacing(); } // OBSOLETED in 1.53 (between Oct 2017 and Dec 2017) + //IMGUI_API bool Begin(char* name, bool* p_open, ImVec2 size_first_use, float bg_alpha = -1.0f, ImGuiWindowFlags flags=0); // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017): Equivalent of using SetNextWindowSize(size, ImGuiCond_FirstUseEver) and SetNextWindowBgAlpha(). + //static inline bool IsRootWindowOrAnyChildHovered() { return IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline void AlignFirstTextHeightToWidgets() { AlignTextToFramePadding(); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline void SetNextWindowPosCenter(ImGuiCond c=0) { SetNextWindowPos(GetMainViewport()->GetCenter(), c, ImVec2(0.5f,0.5f)); } // OBSOLETED in 1.52 (between Aug 2017 and Oct 2017) + //static inline bool IsItemHoveredRect() { return IsItemHovered(ImGuiHoveredFlags_RectOnly); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //static inline bool IsPosHoveringAnyWindow(const ImVec2&) { IM_ASSERT(0); return false; } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017): This was misleading and partly broken. You probably want to use the io.WantCaptureMouse flag instead. + //static inline bool IsMouseHoveringAnyWindow() { return IsWindowHovered(ImGuiHoveredFlags_AnyWindow); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //static inline bool IsMouseHoveringWindow() { return IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem); } // OBSOLETED in 1.51 (between Jun 2017 and Aug 2017) + //-- OBSOLETED in 1.50 and before + //static inline bool CollapsingHeader(char* label, const char* str_id, bool framed = true, bool default_open = false) { return CollapsingHeader(label, (default_open ? (1 << 5) : 0)); } // OBSOLETED in 1.49 + //static inline ImFont*GetWindowFont() { return GetFont(); } // OBSOLETED in 1.48 + //static inline float GetWindowFontSize() { return GetFontSize(); } // OBSOLETED in 1.48 + //static inline void SetScrollPosHere() { SetScrollHere(); } // OBSOLETED in 1.42 } // OBSOLETED in 1.82 (from Mars 2021): flags for AddRect(), AddRectFilled(), AddImageRounded(), PathRect() @@ -2891,11 +3038,26 @@ enum ImDrawCornerFlags_ ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight, ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight, ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft, - ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight + ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight, }; +// RENAMED and MERGED both ImGuiKey_ModXXX and ImGuiModFlags_XXX into ImGuiMod_XXX (from September 2022) +// RENAMED ImGuiKeyModFlags -> ImGuiModFlags in 1.88 (from April 2022). Exceptionally commented out ahead of obscolescence schedule to reduce confusion and because they were not meant to be used in the first place. +typedef ImGuiKeyChord ImGuiModFlags; // == int. We generally use ImGuiKeyChord to mean "a ImGuiKey or-ed with any number of ImGuiMod_XXX value", but you may store only mods in there. +enum ImGuiModFlags_ { ImGuiModFlags_None = 0, ImGuiModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiModFlags_Shift = ImGuiMod_Shift, ImGuiModFlags_Alt = ImGuiMod_Alt, ImGuiModFlags_Super = ImGuiMod_Super }; +//typedef ImGuiKeyChord ImGuiKeyModFlags; // == int +//enum ImGuiKeyModFlags_ { ImGuiKeyModFlags_None = 0, ImGuiKeyModFlags_Ctrl = ImGuiMod_Ctrl, ImGuiKeyModFlags_Shift = ImGuiMod_Shift, ImGuiKeyModFlags_Alt = ImGuiMod_Alt, ImGuiKeyModFlags_Super = ImGuiMod_Super }; + #endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// RENAMED IMGUI_DISABLE_METRICS_WINDOW > IMGUI_DISABLE_DEBUG_TOOLS in 1.88 (from June 2022) +#if defined(IMGUI_DISABLE_METRICS_WINDOW) && !defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) && !defined(IMGUI_DISABLE_DEBUG_TOOLS) +#define IMGUI_DISABLE_DEBUG_TOOLS +#endif +#if defined(IMGUI_DISABLE_METRICS_WINDOW) && defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) +#error IMGUI_DISABLE_METRICS_WINDOW was renamed to IMGUI_DISABLE_DEBUG_TOOLS, please use new name. +#endif + //----------------------------------------------------------------------------- #if defined(__clang__) diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui_demo.cpp b/imgui-sys/third-party/imgui-master/imgui/imgui_demo.cpp index 9cbc503..636c7b8 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui_demo.cpp +++ b/imgui-sys/third-party/imgui-master/imgui/imgui_demo.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (demo code) // Help: @@ -8,11 +8,15 @@ // Read imgui.cpp for more details, documentation and comments. // Get the latest version at https://github.com/ocornut/imgui +// ------------------------------------------------- +// PLEASE DO NOT REMOVE THIS FILE FROM YOUR PROJECT! +// ------------------------------------------------- // Message to the person tempted to delete this file when integrating Dear ImGui into their codebase: -// Do NOT remove this file from your project! Think again! It is the most useful reference code that you and other -// coders will want to refer to and call. Have the ImGui::ShowDemoWindow() function wired in an always-available -// debug menu of your game/app! Removing this file from your project is hindering access to documentation for everyone -// in your team, likely leading you to poorer usage of the library. +// Think again! It is the most useful reference code that you and other coders will want to refer to and call. +// Have the ImGui::ShowDemoWindow() function wired in an always-available debug menu of your game/app! +// Also include Metrics! ItemPicker! DebugLog! and other debug features. +// Removing this file from your project is hindering access to documentation for everyone in your team, +// likely leading you to poorer usage of the library. // Everything in this file will be stripped out by the linker if you don't call ImGui::ShowDemoWindow(). // If you want to link core Dear ImGui in your shipped builds but want a thorough guarantee that the demo will not be // linked, you can setup your imconfig.h with #define IMGUI_DISABLE_DEMO_WINDOWS and those functions will be empty. @@ -39,22 +43,25 @@ // Because we can't assume anything about your support of maths operators, we cannot use them in imgui_demo.cpp. // Navigating this file: -// - In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // - With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. /* Index of this file: -// [SECTION] Forward Declarations, Helpers +// [SECTION] Forward Declarations +// [SECTION] Helpers // [SECTION] Demo Window / ShowDemoWindow() +// - ShowDemoWindow() // - sub section: ShowDemoWindowWidgets() // - sub section: ShowDemoWindowLayout() // - sub section: ShowDemoWindowPopups() // - sub section: ShowDemoWindowTables() -// - sub section: ShowDemoWindowMisc() +// - sub section: ShowDemoWindowInputs() // [SECTION] About Window / ShowAboutWindow() // [SECTION] Style Editor / ShowStyleEditor() +// [SECTION] User Guide / ShowUserGuide() // [SECTION] Example App: Main Menu Bar / ShowExampleAppMainMenuBar() // [SECTION] Example App: Debug Console / ShowExampleAppConsole() // [SECTION] Example App: Debug Log / ShowExampleAppLog() @@ -92,8 +99,9 @@ Index of this file: // Visual Studio warnings #ifdef _MSC_VER +#pragma warning (disable: 4127) // condition expression is constant #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen -#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). +#pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to an 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). #endif // Clang/GCC warnings with -Weverything @@ -185,12 +193,25 @@ static void ShowExampleAppWindowTitles(bool* p_open); static void ShowExampleAppCustomRendering(bool* p_open); static void ShowExampleMenuFile(); +// We split the contents of the big ShowDemoWindow() function into smaller functions +// (because the link time of very large functions grow non-linearly) +static void ShowDemoWindowWidgets(); +static void ShowDemoWindowLayout(); +static void ShowDemoWindowPopups(); +static void ShowDemoWindowTables(); +static void ShowDemoWindowColumns(); +static void ShowDemoWindowInputs(); + +//----------------------------------------------------------------------------- +// [SECTION] Helpers +//----------------------------------------------------------------------------- + // Helper to display a little (?) mark which shows a tooltip when hovered. // In your own code you may want to display an actual icon if you are using a merged icon fonts (see docs/FONTS.md) static void HelpMarker(const char* desc) { ImGui::TextDisabled("(?)"); - if (ImGui::IsItemHovered()) + if (ImGui::IsItemHovered(ImGuiHoveredFlags_DelayShort)) { ImGui::BeginTooltip(); ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f); @@ -200,79 +221,38 @@ static void HelpMarker(const char* desc) } } -// Helper to wire demo markers located in code to a interactive browser +// Helper to wire demo markers located in code to an interactive browser typedef void (*ImGuiDemoMarkerCallback)(const char* file, int line, const char* section, void* user_data); -extern ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback; -extern void* GImGuiDemoMarkerCallbackUserData; -ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback = NULL; -void* GImGuiDemoMarkerCallbackUserData = NULL; +extern ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback; +extern void* GImGuiDemoMarkerCallbackUserData; +ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback = NULL; +void* GImGuiDemoMarkerCallbackUserData = NULL; #define IMGUI_DEMO_MARKER(section) do { if (GImGuiDemoMarkerCallback != NULL) GImGuiDemoMarkerCallback(__FILE__, __LINE__, section, GImGuiDemoMarkerCallbackUserData); } while (0) -// Helper to display basic user controls. -void ImGui::ShowUserGuide() -{ - ImGuiIO& io = ImGui::GetIO(); - ImGui::BulletText("Double-click on title bar to collapse window."); - ImGui::BulletText( - "Click and drag on lower corner to resize window\n" - "(double-click to auto fit window to its contents)."); - ImGui::BulletText("CTRL+Click on a slider or drag box to input value as text."); - ImGui::BulletText("TAB/SHIFT+TAB to cycle through keyboard editable fields."); - ImGui::BulletText("CTRL+Tab to select a window."); - if (io.FontAllowUserScaling) - ImGui::BulletText("CTRL+Mouse Wheel to zoom window contents."); - ImGui::BulletText("While inputing text:\n"); - ImGui::Indent(); - ImGui::BulletText("CTRL+Left/Right to word jump."); - ImGui::BulletText("CTRL+A or double-click to select all."); - ImGui::BulletText("CTRL+X/C/V to use clipboard cut/copy/paste."); - ImGui::BulletText("CTRL+Z,CTRL+Y to undo/redo."); - ImGui::BulletText("ESCAPE to revert."); - ImGui::BulletText("You can apply arithmetic operators +,*,/ on numerical values.\nUse +- to subtract."); - ImGui::Unindent(); - ImGui::BulletText("With keyboard navigation enabled:"); - ImGui::Indent(); - ImGui::BulletText("Arrow keys to navigate."); - ImGui::BulletText("Space to activate a widget."); - ImGui::BulletText("Return to input text into a widget."); - ImGui::BulletText("Escape to deactivate a widget, close popup, exit child window."); - ImGui::BulletText("Alt to jump to the menu layer of a window."); - ImGui::Unindent(); -} - //----------------------------------------------------------------------------- // [SECTION] Demo Window / ShowDemoWindow() //----------------------------------------------------------------------------- +// - ShowDemoWindow() // - ShowDemoWindowWidgets() // - ShowDemoWindowLayout() // - ShowDemoWindowPopups() // - ShowDemoWindowTables() // - ShowDemoWindowColumns() -// - ShowDemoWindowMisc() +// - ShowDemoWindowInputs() //----------------------------------------------------------------------------- -// We split the contents of the big ShowDemoWindow() function into smaller functions -// (because the link time of very large functions grow non-linearly) -static void ShowDemoWindowWidgets(); -static void ShowDemoWindowLayout(); -static void ShowDemoWindowPopups(); -static void ShowDemoWindowTables(); -static void ShowDemoWindowColumns(); -static void ShowDemoWindowMisc(); - // Demonstrate most Dear ImGui features (this is big function!) // You may execute this function to experiment with the UI and understand what it does. // You may then search for keywords in the code when you are interested by a specific feature. void ImGui::ShowDemoWindow(bool* p_open) { // Exceptionally add an extra assert here for people confused about initial Dear ImGui setup - // Most ImGui functions would normally just crash if the context is missing. + // Most functions would normally just crash if the context is missing. IM_ASSERT(ImGui::GetCurrentContext() != NULL && "Missing dear imgui context. Refer to examples app!"); // Examples Apps (accessible from the "Examples" menu) static bool show_app_main_menu_bar = false; static bool show_app_documents = false; - static bool show_app_console = false; static bool show_app_log = false; static bool show_app_layout = false; @@ -287,7 +267,6 @@ void ImGui::ShowDemoWindow(bool* p_open) if (show_app_main_menu_bar) ShowExampleAppMainMenuBar(); if (show_app_documents) ShowExampleAppDocuments(&show_app_documents); - if (show_app_console) ShowExampleAppConsole(&show_app_console); if (show_app_log) ShowExampleAppLog(&show_app_log); if (show_app_layout) ShowExampleAppLayout(&show_app_layout); @@ -300,15 +279,21 @@ void ImGui::ShowDemoWindow(bool* p_open) if (show_app_window_titles) ShowExampleAppWindowTitles(&show_app_window_titles); if (show_app_custom_rendering) ShowExampleAppCustomRendering(&show_app_custom_rendering); - // Dear ImGui Apps (accessible from the "Tools" menu) + // Dear ImGui Tools/Apps (accessible from the "Tools" menu) static bool show_app_metrics = false; + static bool show_app_debug_log = false; static bool show_app_stack_tool = false; - static bool show_app_style_editor = false; static bool show_app_about = false; + static bool show_app_style_editor = false; - if (show_app_metrics) { ImGui::ShowMetricsWindow(&show_app_metrics); } - if (show_app_stack_tool) { ImGui::ShowStackToolWindow(&show_app_stack_tool); } - if (show_app_about) { ImGui::ShowAboutWindow(&show_app_about); } + if (show_app_metrics) + ImGui::ShowMetricsWindow(&show_app_metrics); + if (show_app_debug_log) + ImGui::ShowDebugLogWindow(&show_app_debug_log); + if (show_app_stack_tool) + ImGui::ShowStackToolWindow(&show_app_stack_tool); + if (show_app_about) + ImGui::ShowAboutWindow(&show_app_about); if (show_app_style_editor) { ImGui::Begin("Dear ImGui Style Editor", &show_app_style_editor); @@ -357,10 +342,8 @@ void ImGui::ShowDemoWindow(bool* p_open) } // Most "big" widgets share a common width settings by default. See 'Demo->Layout->Widgets Width' for details. - // e.g. Use 2/3 of the space for widgets and 1/3 for labels (right align) //ImGui::PushItemWidth(-ImGui::GetWindowWidth() * 0.35f); - // e.g. Leave a fixed amount of width for labels (by passing a negative value), the rest goes to widgets. ImGui::PushItemWidth(ImGui::GetFontSize() * -12); @@ -395,10 +378,14 @@ void ImGui::ShowDemoWindow(bool* p_open) if (ImGui::BeginMenu("Tools")) { IMGUI_DEMO_MARKER("Menu/Tools"); -#ifndef IMGUI_DISABLE_METRICS_WINDOW - ImGui::MenuItem("Metrics/Debugger", NULL, &show_app_metrics); - ImGui::MenuItem("Stack Tool", NULL, &show_app_stack_tool); +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + const bool has_debug_tools = true; +#else + const bool has_debug_tools = false; #endif + ImGui::MenuItem("Metrics/Debugger", NULL, &show_app_metrics, has_debug_tools); + ImGui::MenuItem("Debug Log", NULL, &show_app_debug_log, has_debug_tools); + ImGui::MenuItem("Stack Tool", NULL, &show_app_stack_tool, has_debug_tools); ImGui::MenuItem("Style Editor", NULL, &show_app_style_editor); ImGui::MenuItem("About Dear ImGui", NULL, &show_app_about); ImGui::EndMenu(); @@ -406,7 +393,7 @@ void ImGui::ShowDemoWindow(bool* p_open) ImGui::EndMenuBar(); } - ImGui::Text("dear imgui says hello. (%s)", IMGUI_VERSION); + ImGui::Text("dear imgui says hello! (%s) (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM); ImGui::Spacing(); IMGUI_DEMO_MARKER("Help"); @@ -454,13 +441,17 @@ void ImGui::ShowDemoWindow(bool* p_open) ImGui::SameLine(); ImGui::Text("<>"); } - if (ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Space))) + if (ImGui::IsKeyPressed(ImGuiKey_Space)) io.ConfigFlags &= ~ImGuiConfigFlags_NoMouse; } ImGui::CheckboxFlags("io.ConfigFlags: NoMouseCursorChange", &io.ConfigFlags, ImGuiConfigFlags_NoMouseCursorChange); ImGui::SameLine(); HelpMarker("Instruct backend to not alter mouse cursor shape and visibility."); + ImGui::Checkbox("io.ConfigInputTrickleEventQueue", &io.ConfigInputTrickleEventQueue); + ImGui::SameLine(); HelpMarker("Enable input queue trickling: some types of events submitted during the same frame (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates."); ImGui::Checkbox("io.ConfigInputTextCursorBlink", &io.ConfigInputTextCursorBlink); - ImGui::SameLine(); HelpMarker("Enable blinking cursor (optional as some users consider it to be distracting)"); + ImGui::SameLine(); HelpMarker("Enable blinking cursor (optional as some users consider it to be distracting)."); + ImGui::Checkbox("io.ConfigInputTextEnterKeepActive", &io.ConfigInputTextEnterKeepActive); + ImGui::SameLine(); HelpMarker("Pressing Enter will keep item active and select contents (single-line only)."); ImGui::Checkbox("io.ConfigDragClickToInputText", &io.ConfigDragClickToInputText); ImGui::SameLine(); HelpMarker("Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving)."); ImGui::Checkbox("io.ConfigWindowsResizeFromEdges", &io.ConfigWindowsResizeFromEdges); @@ -481,6 +472,7 @@ void ImGui::ShowDemoWindow(bool* p_open) "Here we expose them as read-only fields to avoid breaking interactions with your backend."); // Make a local copy to avoid modifying actual backend flags. + // FIXME: We don't use BeginDisabled() to keep label bright, maybe we need a BeginReadonly() equivalent.. ImGuiBackendFlags backend_flags = io.BackendFlags; ImGui::CheckboxFlags("io.BackendFlags: HasGamepad", &backend_flags, ImGuiBackendFlags_HasGamepad); ImGui::CheckboxFlags("io.BackendFlags: HasMouseCursors", &backend_flags, ImGuiBackendFlags_HasMouseCursors); @@ -544,7 +536,7 @@ void ImGui::ShowDemoWindow(bool* p_open) ShowDemoWindowLayout(); ShowDemoWindowPopups(); ShowDemoWindowTables(); - ShowDemoWindowMisc(); + ShowDemoWindowInputs(); // End of ShowDemoWindow() ImGui::PopItemWidth(); @@ -618,22 +610,6 @@ static void ShowDemoWindowWidgets() ImGui::SameLine(); ImGui::Text("%d", counter); - IMGUI_DEMO_MARKER("Widgets/Basic/Tooltips"); - ImGui::Text("Hover over me"); - if (ImGui::IsItemHovered()) - ImGui::SetTooltip("I am a tooltip"); - - ImGui::SameLine(); - ImGui::Text("- or me"); - if (ImGui::IsItemHovered()) - { - ImGui::BeginTooltip(); - ImGui::Text("I am a fancy tooltip"); - static float arr[] = { 0.6f, 0.1f, 1.0f, 0.5f, 0.92f, 0.1f, 0.2f }; - ImGui::PlotLines("Curve", arr, IM_ARRAYSIZE(arr)); - ImGui::EndTooltip(); - } - ImGui::Separator(); ImGui::LabelText("label", "Value"); @@ -658,7 +634,7 @@ static void ShowDemoWindowWidgets() "USER:\n" "Hold SHIFT or use mouse to select text.\n" "CTRL+Left/Right to word jump.\n" - "CTRL+A or double-click to select all.\n" + "CTRL+A or Double-Click to select all.\n" "CTRL+X,CTRL+C,CTRL+V clipboard.\n" "CTRL+Z,CTRL+Y undo/redo.\n" "ESCAPE to revert.\n\n" @@ -673,10 +649,6 @@ static void ShowDemoWindowWidgets() IMGUI_DEMO_MARKER("Widgets/Basic/InputInt, InputFloat"); static int i0 = 123; ImGui::InputInt("input int", &i0); - ImGui::SameLine(); HelpMarker( - "You can apply arithmetic operators +,*,/ on numerical values.\n" - " e.g. [ 100 ], input \'*2\', result becomes [ 200 ]\n" - "Use +- to subtract."); static float f0 = 0.001f; ImGui::InputFloat("input float", &f0, 0.01f, 1.0f, "%.3f"); @@ -761,6 +733,40 @@ static void ShowDemoWindowWidgets() "Using the simplified one-liner ListBox API here.\nRefer to the \"List boxes\" section below for an explanation of how to use the more flexible and general BeginListBox/EndListBox API."); } + { + // Tooltips + IMGUI_DEMO_MARKER("Widgets/Basic/Tooltips"); + ImGui::AlignTextToFramePadding(); + ImGui::Text("Tooltips:"); + + ImGui::SameLine(); + ImGui::Button("Button"); + if (ImGui::IsItemHovered()) + ImGui::SetTooltip("I am a tooltip"); + + ImGui::SameLine(); + ImGui::Button("Fancy"); + if (ImGui::IsItemHovered()) + { + ImGui::BeginTooltip(); + ImGui::Text("I am a fancy tooltip"); + static float arr[] = { 0.6f, 0.1f, 1.0f, 0.5f, 0.92f, 0.1f, 0.2f }; + ImGui::PlotLines("Curve", arr, IM_ARRAYSIZE(arr)); + ImGui::Text("Sin(time) = %f", sinf((float)ImGui::GetTime())); + ImGui::EndTooltip(); + } + + ImGui::SameLine(); + ImGui::Button("Delayed"); + if (ImGui::IsItemHovered(ImGuiHoveredFlags_DelayNormal)) // Delay best used on items that highlight on hover, so this not a great example! + ImGui::SetTooltip("I am a tooltip with a delay."); + + ImGui::SameLine(); + HelpMarker( + "Tooltip are created by using the IsItemHovered() function over any kind of item."); + + } + ImGui::TreePop(); } @@ -979,7 +985,7 @@ static void ShowDemoWindowWidgets() // Note that characters values are preserved even by InputText() if the font cannot be displayed, // so you can safely copy & paste garbled characters into another application. ImGui::TextWrapped( - "CJK text will only appears if the font was loaded with the appropriate CJK character ranges. " + "CJK text will only appear if the font was loaded with the appropriate CJK character ranges. " "Call io.Fonts->AddFontFromFileTTF() manually to load extra character ranges. " "Read docs/FONTS.md for details."); ImGui::Text("Hiragana: \xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91\xe3\x81\x93 (kakikukeko)"); // Normally we would use u8"blah blah" with the proper characters directly in the string. @@ -1052,15 +1058,21 @@ static void ShowDemoWindowWidgets() static int pressed_count = 0; for (int i = 0; i < 8; i++) { + // UV coordinates are often (0.0f, 0.0f) and (1.0f, 1.0f) to display an entire textures. + // Here are trying to display only a 32x32 pixels area of the texture, hence the UV computation. + // Read about UV coordinates here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples ImGui::PushID(i); - int frame_padding = -1 + i; // -1 == uses default padding (style.FramePadding) - ImVec2 size = ImVec2(32.0f, 32.0f); // Size of the image we want to make visible - ImVec2 uv0 = ImVec2(0.0f, 0.0f); // UV coordinates for lower-left - ImVec2 uv1 = ImVec2(32.0f / my_tex_w, 32.0f / my_tex_h);// UV coordinates for (32,32) in our texture - ImVec4 bg_col = ImVec4(0.0f, 0.0f, 0.0f, 1.0f); // Black background - ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); // No tint - if (ImGui::ImageButton(my_tex_id, size, uv0, uv1, frame_padding, bg_col, tint_col)) + if (i > 0) + ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(i - 1.0f, i - 1.0f)); + ImVec2 size = ImVec2(32.0f, 32.0f); // Size of the image we want to make visible + ImVec2 uv0 = ImVec2(0.0f, 0.0f); // UV coordinates for lower-left + ImVec2 uv1 = ImVec2(32.0f / my_tex_w, 32.0f / my_tex_h); // UV coordinates for (32,32) in our texture + ImVec4 bg_col = ImVec4(0.0f, 0.0f, 0.0f, 1.0f); // Black background + ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); // No tint + if (ImGui::ImageButton("", my_tex_id, size, uv0, uv1, bg_col, tint_col)) pressed_count += 1; + if (i > 0) + ImGui::PopStyleVar(); ImGui::PopID(); ImGui::SameLine(); } @@ -1072,6 +1084,7 @@ static void ShowDemoWindowWidgets() IMGUI_DEMO_MARKER("Widgets/Combo"); if (ImGui::TreeNode("Combo")) { + // Combo Boxes are also called "Dropdown" in other systems // Expose flags as checkbox for the demo static ImGuiComboFlags flags = 0; ImGui::CheckboxFlags("ImGuiComboFlags_PopupAlignLeft", &flags, ImGuiComboFlags_PopupAlignLeft); @@ -1436,7 +1449,7 @@ static void ShowDemoWindowWidgets() static char buf3[64]; static int edit_count = 0; ImGui::InputText("Edit", buf3, 64, ImGuiInputTextFlags_CallbackEdit, Funcs::MyCallback, (void*)&edit_count); - ImGui::SameLine(); HelpMarker("Here we toggle the casing of the first character on every edits + count edits."); + ImGui::SameLine(); HelpMarker("Here we toggle the casing of the first character on every edit + count edits."); ImGui::SameLine(); ImGui::Text("(%d)", edit_count); ImGui::TreePop(); @@ -1856,10 +1869,9 @@ static void ShowDemoWindowWidgets() ImGui::Combo("Display Mode", &display_mode, "Auto/Current\0None\0RGB Only\0HSV Only\0Hex Only\0"); ImGui::SameLine(); HelpMarker( "ColorEdit defaults to displaying RGB inputs if you don't specify a display mode, " - "but the user can change it with a right-click.\n\nColorPicker defaults to displaying RGB+HSV+Hex " + "but the user can change it with a right-click on those inputs.\n\nColorPicker defaults to displaying RGB+HSV+Hex " "if you don't specify a display mode.\n\nYou can change the defaults using SetColorEditOptions()."); - ImGui::Combo("Picker Mode", &picker_mode, "Auto/Current\0Hue bar + SV rect\0Hue wheel + SV triangle\0"); - ImGui::SameLine(); HelpMarker("User can right-click the picker to change mode."); + ImGui::SameLine(); HelpMarker("When not specified explicitly (Auto/Current mode), user can right-click the picker to change mode."); ImGuiColorEditFlags flags = misc_flags; if (!alpha) flags |= ImGuiColorEditFlags_NoAlpha; // This is by default if you call ColorPicker3() instead of ColorPicker4() if (alpha_bar) flags |= ImGuiColorEditFlags_AlphaBar; @@ -1883,6 +1895,15 @@ static void ShowDemoWindowWidgets() if (ImGui::Button("Default: Float + HDR + Hue Wheel")) ImGui::SetColorEditOptions(ImGuiColorEditFlags_Float | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_PickerHueWheel); + // Always both a small version of both types of pickers (to make it more visible in the demo to people who are skimming quickly through it) + ImGui::Text("Both types:"); + float w = (ImGui::GetContentRegionAvail().x - ImGui::GetStyle().ItemSpacing.y) * 0.40f; + ImGui::SetNextItemWidth(w); + ImGui::ColorPicker3("##MyColor##5", (float*)&color, ImGuiColorEditFlags_PickerHueBar | ImGuiColorEditFlags_NoSidePreview | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoAlpha); + ImGui::SameLine(); + ImGui::SetNextItemWidth(w); + ImGui::ColorPicker3("##MyColor##6", (float*)&color, ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_NoSidePreview | ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoAlpha); + // HSV encoded support (to avoid RGB<>HSV round trips and singularities when S==0 or V==0) static ImVec4 color_hsv(0.23f, 1.0f, 1.0f, 1.0f); // Stored as HSV! ImGui::Spacing(); @@ -1953,7 +1974,7 @@ static void ShowDemoWindowWidgets() // - integer/float/double // To avoid polluting the public API with all possible combinations, we use the ImGuiDataType enum // to pass the type, and passing all arguments by pointer. - // This is the reason the test code below creates local variables to hold "zero" "one" etc. for each types. + // This is the reason the test code below creates local variables to hold "zero" "one" etc. for each type. // In practice, if you frequently use a given type that is not covered by the normal API entry points, // you can wrap it yourself inside a 1 line function which can take typed argument as value instead of void*, // and then pass their address to the generic function. For example: @@ -1998,13 +2019,14 @@ static void ShowDemoWindowWidgets() ImGui::Text("Drags:"); ImGui::Checkbox("Clamp integers to 0..50", &drag_clamp); ImGui::SameLine(); HelpMarker( - "As with every widgets in dear imgui, we never modify values unless there is a user interaction.\n" + "As with every widget in dear imgui, we never modify values unless there is a user interaction.\n" "You can override the clamping limits by using CTRL+Click to input a value."); ImGui::DragScalar("drag s8", ImGuiDataType_S8, &s8_v, drag_speed, drag_clamp ? &s8_zero : NULL, drag_clamp ? &s8_fifty : NULL); ImGui::DragScalar("drag u8", ImGuiDataType_U8, &u8_v, drag_speed, drag_clamp ? &u8_zero : NULL, drag_clamp ? &u8_fifty : NULL, "%u ms"); ImGui::DragScalar("drag s16", ImGuiDataType_S16, &s16_v, drag_speed, drag_clamp ? &s16_zero : NULL, drag_clamp ? &s16_fifty : NULL); ImGui::DragScalar("drag u16", ImGuiDataType_U16, &u16_v, drag_speed, drag_clamp ? &u16_zero : NULL, drag_clamp ? &u16_fifty : NULL, "%u ms"); ImGui::DragScalar("drag s32", ImGuiDataType_S32, &s32_v, drag_speed, drag_clamp ? &s32_zero : NULL, drag_clamp ? &s32_fifty : NULL); + ImGui::DragScalar("drag s32 hex", ImGuiDataType_S32, &s32_v, drag_speed, drag_clamp ? &s32_zero : NULL, drag_clamp ? &s32_fifty : NULL, "0x%08X"); ImGui::DragScalar("drag u32", ImGuiDataType_U32, &u32_v, drag_speed, drag_clamp ? &u32_zero : NULL, drag_clamp ? &u32_fifty : NULL, "%u ms"); ImGui::DragScalar("drag s64", ImGuiDataType_S64, &s64_v, drag_speed, drag_clamp ? &s64_zero : NULL, drag_clamp ? &s64_fifty : NULL); ImGui::DragScalar("drag u64", ImGuiDataType_U64, &u64_v, drag_speed, drag_clamp ? &u64_zero : NULL, drag_clamp ? &u64_fifty : NULL); @@ -2022,6 +2044,7 @@ static void ShowDemoWindowWidgets() ImGui::SliderScalar("slider s32 low", ImGuiDataType_S32, &s32_v, &s32_zero, &s32_fifty,"%d"); ImGui::SliderScalar("slider s32 high", ImGuiDataType_S32, &s32_v, &s32_hi_a, &s32_hi_b, "%d"); ImGui::SliderScalar("slider s32 full", ImGuiDataType_S32, &s32_v, &s32_min, &s32_max, "%d"); + ImGui::SliderScalar("slider s32 hex", ImGuiDataType_S32, &s32_v, &s32_zero, &s32_fifty, "0x%04X"); ImGui::SliderScalar("slider u32 low", ImGuiDataType_U32, &u32_v, &u32_zero, &u32_fifty,"%u"); ImGui::SliderScalar("slider u32 high", ImGuiDataType_U32, &u32_v, &u32_hi_a, &u32_hi_b, "%u"); ImGui::SliderScalar("slider u32 full", ImGuiDataType_U32, &u32_v, &u32_min, &u32_max, "%u"); @@ -2055,9 +2078,9 @@ static void ShowDemoWindowWidgets() ImGui::InputScalar("input s16", ImGuiDataType_S16, &s16_v, inputs_step ? &s16_one : NULL, NULL, "%d"); ImGui::InputScalar("input u16", ImGuiDataType_U16, &u16_v, inputs_step ? &u16_one : NULL, NULL, "%u"); ImGui::InputScalar("input s32", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%d"); - ImGui::InputScalar("input s32 hex", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%08X", ImGuiInputTextFlags_CharsHexadecimal); + ImGui::InputScalar("input s32 hex", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%04X"); ImGui::InputScalar("input u32", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%u"); - ImGui::InputScalar("input u32 hex", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%08X", ImGuiInputTextFlags_CharsHexadecimal); + ImGui::InputScalar("input u32 hex", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%08X"); ImGui::InputScalar("input s64", ImGuiDataType_S64, &s64_v, inputs_step ? &s64_one : NULL); ImGui::InputScalar("input u64", ImGuiDataType_U64, &u64_v, inputs_step ? &u64_one : NULL); ImGui::InputScalar("input float", ImGuiDataType_Float, &f32_v, inputs_step ? &f32_one : NULL); @@ -2295,7 +2318,7 @@ static void ShowDemoWindowWidgets() HelpMarker("Testing how various types of items are interacting with the IsItemXXX functions. Note that the bool return value of most ImGui function is generally equivalent to calling ImGui::IsItemHovered()."); ImGui::Checkbox("Item Disabled", &item_disabled); - // Submit selected item item so we can query their status in the code following it. + // Submit selected items so we can query their status in the code following it. bool ret = false; static bool b = false; static float col4f[4] = { 1.0f, 0.5, 0.0f, 1.0f }; @@ -2319,6 +2342,10 @@ static void ShowDemoWindowWidgets() if (item_type == 14){ const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi" }; static int current = 1; ret = ImGui::Combo("ITEM: Combo", ¤t, items, IM_ARRAYSIZE(items)); } if (item_type == 15){ const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi" }; static int current = 1; ret = ImGui::ListBox("ITEM: ListBox", ¤t, items, IM_ARRAYSIZE(items), IM_ARRAYSIZE(items)); } + bool hovered_delay_none = ImGui::IsItemHovered(); + bool hovered_delay_short = ImGui::IsItemHovered(ImGuiHoveredFlags_DelayShort); + bool hovered_delay_normal = ImGui::IsItemHovered(ImGuiHoveredFlags_DelayNormal); + // Display the values of IsItemHovered() and other common item state functions. // Note that the ImGuiHoveredFlags_XXX flags can be combined. // Because BulletText is an item itself and that would affect the output of IsItemXXX functions, @@ -2363,6 +2390,8 @@ static void ShowDemoWindowWidgets() ImGui::GetItemRectMax().x, ImGui::GetItemRectMax().y, ImGui::GetItemRectSize().x, ImGui::GetItemRectSize().y ); + ImGui::BulletText( + "w/ Hovering Delay: None = %d, Fast %d, Normal = %d", hovered_delay_none, hovered_delay_short, hovered_delay_normal); if (item_disabled) ImGui::EndDisabled(); @@ -2467,6 +2496,26 @@ static void ShowDemoWindowWidgets() ImGui::SameLine(); HelpMarker("Demonstrate using BeginDisabled()/EndDisabled() across this section."); ImGui::TreePop(); } + + IMGUI_DEMO_MARKER("Widgets/Text Filter"); + if (ImGui::TreeNode("Text Filter")) + { + // Helper class to easy setup a text filter. + // You may want to implement a more feature-full filtering scheme in your own application. + HelpMarker("Not a widget per-se, but ImGuiTextFilter is a helper to perform simple filtering on text strings."); + static ImGuiTextFilter filter; + ImGui::Text("Filter usage:\n" + " \"\" display all lines\n" + " \"xxx\" display lines containing \"xxx\"\n" + " \"xxx,yyy\" display lines containing \"xxx\" or \"yyy\"\n" + " \"-xxx\" hide lines containing \"xxx\""); + filter.Draw(); + const char* lines[] = { "aaa1.c", "bbb1.c", "ccc1.c", "aaa2.cpp", "bbb2.cpp", "ccc2.cpp", "abc.h", "hello, world" }; + for (int i = 0; i < IM_ARRAYSIZE(lines); i++) + if (filter.PassFilter(lines[i])) + ImGui::BulletText("%s", lines[i]); + ImGui::TreePop(); + } } static void ShowDemoWindowLayout() @@ -3193,59 +3242,58 @@ static void ShowDemoWindowLayout() ImGui::DragFloat2("size", (float*)&size, 0.5f, 1.0f, 200.0f, "%.0f"); ImGui::TextWrapped("(Click and drag to scroll)"); + HelpMarker( + "(Left) Using ImGui::PushClipRect():\n" + "Will alter ImGui hit-testing logic + ImDrawList rendering.\n" + "(use this if you want your clipping rectangle to affect interactions)\n\n" + "(Center) Using ImDrawList::PushClipRect():\n" + "Will alter ImDrawList rendering only.\n" + "(use this as a shortcut if you are only using ImDrawList calls)\n\n" + "(Right) Using ImDrawList::AddText() with a fine ClipRect:\n" + "Will alter only this specific ImDrawList::AddText() rendering.\n" + "This is often used internally to avoid altering the clipping rectangle and minimize draw calls."); + for (int n = 0; n < 3; n++) { if (n > 0) ImGui::SameLine(); - ImGui::PushID(n); - ImGui::BeginGroup(); // Lock X position - ImGui::InvisibleButton("##empty", size); + ImGui::PushID(n); + ImGui::InvisibleButton("##canvas", size); if (ImGui::IsItemActive() && ImGui::IsMouseDragging(ImGuiMouseButton_Left)) { offset.x += ImGui::GetIO().MouseDelta.x; offset.y += ImGui::GetIO().MouseDelta.y; } + ImGui::PopID(); + if (!ImGui::IsItemVisible()) // Skip rendering as ImDrawList elements are not clipped. + continue; + const ImVec2 p0 = ImGui::GetItemRectMin(); const ImVec2 p1 = ImGui::GetItemRectMax(); const char* text_str = "Line 1 hello\nLine 2 clip me!"; const ImVec2 text_pos = ImVec2(p0.x + offset.x, p0.y + offset.y); ImDrawList* draw_list = ImGui::GetWindowDrawList(); - switch (n) { case 0: - HelpMarker( - "Using ImGui::PushClipRect():\n" - "Will alter ImGui hit-testing logic + ImDrawList rendering.\n" - "(use this if you want your clipping rectangle to affect interactions)"); ImGui::PushClipRect(p0, p1, true); draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); ImGui::PopClipRect(); break; case 1: - HelpMarker( - "Using ImDrawList::PushClipRect():\n" - "Will alter ImDrawList rendering only.\n" - "(use this as a shortcut if you are only using ImDrawList calls)"); draw_list->PushClipRect(p0, p1, true); draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); draw_list->AddText(text_pos, IM_COL32_WHITE, text_str); draw_list->PopClipRect(); break; case 2: - HelpMarker( - "Using ImDrawList::AddText() with a fine ClipRect:\n" - "Will alter only this specific ImDrawList::AddText() rendering.\n" - "(this is often used internally to avoid altering the clipping rectangle and minimize draw calls)"); ImVec4 clip_rect(p0.x, p0.y, p1.x, p1.y); // AddText() takes a ImVec4* here so let's convert. draw_list->AddRectFilled(p0, p1, IM_COL32(90, 90, 120, 255)); draw_list->AddText(ImGui::GetFont(), ImGui::GetFontSize(), text_pos, IM_COL32_WHITE, text_str, NULL, 0.0f, &clip_rect); break; } - ImGui::EndGroup(); - ImGui::PopID(); } ImGui::TreePop(); @@ -3382,7 +3430,7 @@ static void ShowDemoWindowPopups() // if (IsItemHovered() && IsMouseReleased(ImGuiMouseButton_Right)) // OpenPopup(id); // return BeginPopup(id); - // For advanced advanced uses you may want to replicate and customize this code. + // For advanced uses you may want to replicate and customize this code. // See more details in BeginPopupContextItem(). // Example 1 @@ -3411,7 +3459,7 @@ static void ShowDemoWindowPopups() { HelpMarker("Text() elements don't have stable identifiers so we need to provide one."); static float value = 0.5f; - ImGui::Text("Value = %.3f <-- (1) right-click this value", value); + ImGui::Text("Value = %.3f <-- (1) right-click this text", value); if (ImGui::BeginPopupContextItem("my popup")) { if (ImGui::Selectable("Set to zero")) value = 0.0f; @@ -3538,26 +3586,19 @@ static void ShowDemoWindowPopups() ImGui::TextWrapped("Below we are testing adding menu items to a regular window. It's rather unusual but should work!"); ImGui::Separator(); - // Note: As a quirk in this very specific example, we want to differentiate the parent of this menu from the - // parent of the various popup menus above. To do so we are encloding the items in a PushID()/PopID() block - // to make them two different menusets. If we don't, opening any popup above and hovering our menu here would - // open it. This is because once a menu is active, we allow to switch to a sibling menu by just hovering on it, - // which is the desired behavior for regular menus. - ImGui::PushID("foo"); ImGui::MenuItem("Menu item", "CTRL+M"); if (ImGui::BeginMenu("Menu inside a regular window")) { ShowExampleMenuFile(); ImGui::EndMenu(); } - ImGui::PopID(); ImGui::Separator(); ImGui::TreePop(); } } // Dummy data structure that we use for the Table demo. -// (pre-C++11 doesn't allow us to instantiate ImVector template if this structure if defined inside the demo function) +// (pre-C++11 doesn't allow us to instantiate ImVector template if this structure is defined inside the demo function) namespace { // We are passing our own identifier to TableSetupColumn() to facilitate identifying columns in the sorting code. @@ -3776,7 +3817,7 @@ static void ShowDemoWindowTables() } // [Method 2] Using TableNextColumn() called multiple times, instead of using a for loop + TableSetColumnIndex(). - // This is generally more convenient when you have code manually submitting the contents of each columns. + // This is generally more convenient when you have code manually submitting the contents of each column. HelpMarker("Using TableNextRow() + calling TableNextColumn() _before_ each cell, manually."); if (ImGui::BeginTable("table2", 3)) { @@ -3794,10 +3835,10 @@ static void ShowDemoWindowTables() } // [Method 3] We call TableNextColumn() _before_ each cell. We never call TableNextRow(), - // as TableNextColumn() will automatically wrap around and create new roes as needed. + // as TableNextColumn() will automatically wrap around and create new rows as needed. // This is generally more convenient when your cells all contains the same type of data. HelpMarker( - "Only using TableNextColumn(), which tends to be convenient for tables where every cells contains the same type of contents.\n" + "Only using TableNextColumn(), which tends to be convenient for tables where every cell contains the same type of contents.\n" "This is also more similar to the old NextColumn() function of the Columns API, and provided to facilitate the Columns->Tables API transition."); if (ImGui::BeginTable("table3", 3)) { @@ -3849,7 +3890,7 @@ static void ShowDemoWindowTables() ImGui::SameLine(); ImGui::RadioButton("Text", &contents_type, CT_Text); ImGui::SameLine(); ImGui::RadioButton("FillButton", &contents_type, CT_FillButton); ImGui::Checkbox("Display headers", &display_headers); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appears in Headers"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appear in Headers"); PopStyleCompact(); if (ImGui::BeginTable("table1", 3, flags)) @@ -3874,7 +3915,7 @@ static void ShowDemoWindowTables() sprintf(buf, "Hello %d,%d", column, row); if (contents_type == CT_Text) ImGui::TextUnformatted(buf); - else if (contents_type) + else if (contents_type == CT_FillButton) ImGui::Button(buf, ImVec2(-FLT_MIN, 0.0f)); } } @@ -3888,8 +3929,8 @@ static void ShowDemoWindowTables() IMGUI_DEMO_MARKER("Tables/Resizable, stretch"); if (ImGui::TreeNode("Resizable, stretch")) { - // By default, if we don't enable ScrollX the sizing policy for each columns is "Stretch" - // Each columns maintain a sizing weight, and they will occupy all available width. + // By default, if we don't enable ScrollX the sizing policy for each column is "Stretch" + // All columns maintain a sizing weight, and they will occupy all available width. static ImGuiTableFlags flags = ImGuiTableFlags_SizingStretchSame | ImGuiTableFlags_Resizable | ImGuiTableFlags_BordersOuter | ImGuiTableFlags_BordersV | ImGuiTableFlags_ContextMenuInBody; PushStyleCompact(); ImGui::CheckboxFlags("ImGuiTableFlags_Resizable", &flags, ImGuiTableFlags_Resizable); @@ -4011,7 +4052,7 @@ static void ShowDemoWindowTables() ImGui::CheckboxFlags("ImGuiTableFlags_Reorderable", &flags, ImGuiTableFlags_Reorderable); ImGui::CheckboxFlags("ImGuiTableFlags_Hideable", &flags, ImGuiTableFlags_Hideable); ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers)"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers)"); PopStyleCompact(); if (ImGui::BeginTable("table1", 3, flags)) @@ -4069,7 +4110,7 @@ static void ShowDemoWindowTables() "- any form of row selection\n" "Because of this, activating BorderOuterV sets the default to PadOuterX. Using PadOuterX or NoPadOuterX you can override the default.\n\n" "Actual padding values are using style.CellPadding.\n\n" - "In this demo we don't show horizontal borders to emphasis how they don't affect default horizontal padding."); + "In this demo we don't show horizontal borders to emphasize how they don't affect default horizontal padding."); static ImGuiTableFlags flags1 = ImGuiTableFlags_BordersV; PushStyleCompact(); @@ -4418,14 +4459,16 @@ static void ShowDemoWindowTables() { ImGui::TableNextColumn(); ImGui::PushID(column); - ImGui::AlignTextToFramePadding(); // FIXME-TABLE: Workaround for wrong text baseline propagation + ImGui::AlignTextToFramePadding(); // FIXME-TABLE: Workaround for wrong text baseline propagation across columns ImGui::Text("'%s'", column_names[column]); ImGui::Spacing(); ImGui::Text("Input flags:"); EditTableColumnsFlags(&column_flags[column]); ImGui::Spacing(); ImGui::Text("Output flags:"); + ImGui::BeginDisabled(); ShowTableColumnsStatusFlags(column_flags_out[column]); + ImGui::EndDisabled(); ImGui::PopID(); } PopStyleCompact(); @@ -4536,7 +4579,7 @@ static void ShowDemoWindowTables() IMGUI_DEMO_MARKER("Tables/Nested tables"); if (ImGui::TreeNode("Nested tables")) { - HelpMarker("This demonstrate embedding a table into another table cell."); + HelpMarker("This demonstrates embedding a table into another table cell."); if (ImGui::BeginTable("table_nested1", 2, ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable | ImGuiTableFlags_Hideable)) { @@ -4581,7 +4624,7 @@ static void ShowDemoWindowTables() IMGUI_DEMO_MARKER("Tables/Row height"); if (ImGui::TreeNode("Row height")) { - HelpMarker("You can pass a 'min_row_height' to TableNextRow().\n\nRows are padded with 'style.CellPadding.y' on top and bottom, so effectively the minimum row height will always be >= 'style.CellPadding.y * 2.0f'.\n\nWe cannot honor a _maximum_ row height as that would requires a unique clipping rectangle per row."); + HelpMarker("You can pass a 'min_row_height' to TableNextRow().\n\nRows are padded with 'style.CellPadding.y' on top and bottom, so effectively the minimum row height will always be >= 'style.CellPadding.y * 2.0f'.\n\nWe cannot honor a _maximum_ row height as that would require a unique clipping rectangle per row."); if (ImGui::BeginTable("table_row_height", 1, ImGuiTableFlags_BordersOuter | ImGuiTableFlags_BordersInnerV)) { for (int row = 0; row < 10; row++) @@ -4830,7 +4873,7 @@ static void ShowDemoWindowTables() ImGui::TableSetColumnIndex(1); ImGui::SliderFloat("float1", &dummy_f, 0.0f, 1.0f); ImGui::TableSetColumnIndex(2); - ImGui::SliderFloat("float2", &dummy_f, 0.0f, 1.0f); + ImGui::SliderFloat("##float2", &dummy_f, 0.0f, 1.0f); // No visible label since right-aligned ImGui::PopID(); } ImGui::EndTable(); @@ -5143,7 +5186,7 @@ static void ShowDemoWindowTables() static bool show_headers = true; static bool show_wrapped_text = false; //static ImGuiTextFilter filter; - //ImGui::SetNextItemOpen(true, ImGuiCond_Once); // FIXME-TABLE: Enabling this results in initial clipped first pass on table which tend to affects column sizing + //ImGui::SetNextItemOpen(true, ImGuiCond_Once); // FIXME-TABLE: Enabling this results in initial clipped first pass on table which tend to affect column sizing if (ImGui::TreeNode("Options")) { // Make the UI compact because there are so many fields @@ -5170,8 +5213,8 @@ static void ShowDemoWindowTables() ImGui::CheckboxFlags("ImGuiTableFlags_BordersH", &flags, ImGuiTableFlags_BordersH); ImGui::CheckboxFlags("ImGuiTableFlags_BordersOuterH", &flags, ImGuiTableFlags_BordersOuterH); ImGui::CheckboxFlags("ImGuiTableFlags_BordersInnerH", &flags, ImGuiTableFlags_BordersInnerH); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appears in Headers"); - ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers)"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBody", &flags, ImGuiTableFlags_NoBordersInBody); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body (borders will always appear in Headers"); + ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers)"); ImGui::TreePop(); } @@ -5234,7 +5277,7 @@ static void ShowDemoWindowTables() HelpMarker("If scrolling is disabled (ScrollX and ScrollY not set):\n" "- The table is output directly in the parent window.\n" "- OuterSize.x < 0.0f will right-align the table.\n" - "- OuterSize.x = 0.0f will narrow fit the table unless there are any Stretch column.\n" + "- OuterSize.x = 0.0f will narrow fit the table unless there are any Stretch columns.\n" "- OuterSize.y then becomes the minimum size for the table, which will extend vertically if there are more rows (unless NoHostExtendY is set)."); // From a user point of view we will tend to use 'inner_width' differently depending on whether our table is embedding scrolling. @@ -5639,38 +5682,28 @@ static void ShowDemoWindowColumns() ImGui::TreePop(); } -static void ShowDemoWindowMisc() -{ - IMGUI_DEMO_MARKER("Filtering"); - if (ImGui::CollapsingHeader("Filtering")) - { - // Helper class to easy setup a text filter. - // You may want to implement a more feature-full filtering scheme in your own application. - static ImGuiTextFilter filter; - ImGui::Text("Filter usage:\n" - " \"\" display all lines\n" - " \"xxx\" display lines containing \"xxx\"\n" - " \"xxx,yyy\" display lines containing \"xxx\" or \"yyy\"\n" - " \"-xxx\" hide lines containing \"xxx\""); - filter.Draw(); - const char* lines[] = { "aaa1.c", "bbb1.c", "ccc1.c", "aaa2.cpp", "bbb2.cpp", "ccc2.cpp", "abc.h", "hello, world" }; - for (int i = 0; i < IM_ARRAYSIZE(lines); i++) - if (filter.PassFilter(lines[i])) - ImGui::BulletText("%s", lines[i]); - } +namespace ImGui { extern ImGuiKeyData* GetKeyData(ImGuiKey key); } +static void ShowDemoWindowInputs() +{ IMGUI_DEMO_MARKER("Inputs, Navigation & Focus"); if (ImGui::CollapsingHeader("Inputs, Navigation & Focus")) { ImGuiIO& io = ImGui::GetIO(); // Display ImGuiIO output flags - ImGui::Text("WantCaptureMouse: %d", io.WantCaptureMouse); - ImGui::Text("WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); - ImGui::Text("WantCaptureKeyboard: %d", io.WantCaptureKeyboard); - ImGui::Text("WantTextInput: %d", io.WantTextInput); - ImGui::Text("WantSetMousePos: %d", io.WantSetMousePos); - ImGui::Text("NavActive: %d, NavVisible: %d", io.NavActive, io.NavVisible); + IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Output"); + ImGui::SetNextItemOpen(true, ImGuiCond_Once); + if (ImGui::TreeNode("Output")) + { + ImGui::Text("io.WantCaptureMouse: %d", io.WantCaptureMouse); + ImGui::Text("io.WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); + ImGui::Text("io.WantCaptureKeyboard: %d", io.WantCaptureKeyboard); + ImGui::Text("io.WantTextInput: %d", io.WantTextInput); + ImGui::Text("io.WantSetMousePos: %d", io.WantSetMousePos); + ImGui::Text("io.NavActive: %d, io.NavVisible: %d", io.NavActive, io.NavVisible); + ImGui::TreePop(); + } // Display Mouse state IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse State"); @@ -5691,26 +5724,138 @@ static void ShowDemoWindowMisc() ImGui::TreePop(); } - // Display Keyboard/Mouse state - IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Keyboard & Navigation State"); - if (ImGui::TreeNode("Keyboard & Navigation State")) + // Display mouse cursors + IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse Cursors"); + if (ImGui::TreeNode("Mouse Cursors")) { - ImGui::Text("Keys down:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyDown(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X) (%.02f secs)", i, i, io.KeysDownDuration[i]); } - ImGui::Text("Keys pressed:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyPressed(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X)", i, i); } - ImGui::Text("Keys release:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyReleased(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X)", i, i); } + const char* mouse_cursors_names[] = { "Arrow", "TextInput", "ResizeAll", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand", "NotAllowed" }; + IM_ASSERT(IM_ARRAYSIZE(mouse_cursors_names) == ImGuiMouseCursor_COUNT); + + ImGuiMouseCursor current = ImGui::GetMouseCursor(); + ImGui::Text("Current mouse cursor = %d: %s", current, mouse_cursors_names[current]); + ImGui::BeginDisabled(true); + ImGui::CheckboxFlags("io.BackendFlags: HasMouseCursors", &io.BackendFlags, ImGuiBackendFlags_HasMouseCursors); + ImGui::EndDisabled(); + + ImGui::Text("Hover to see mouse cursors:"); + ImGui::SameLine(); HelpMarker( + "Your application can render a different mouse cursor based on what ImGui::GetMouseCursor() returns. " + "If software cursor rendering (io.MouseDrawCursor) is set ImGui will draw the right cursor for you, " + "otherwise your backend needs to handle it."); + for (int i = 0; i < ImGuiMouseCursor_COUNT; i++) + { + char label[32]; + sprintf(label, "Mouse cursor %d: %s", i, mouse_cursors_names[i]); + ImGui::Bullet(); ImGui::Selectable(label, false); + if (ImGui::IsItemHovered()) + ImGui::SetMouseCursor(i); + } + ImGui::TreePop(); + } + + // Display Keyboard/Mouse state + IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Keyboard, Gamepad & Navigation State"); + if (ImGui::TreeNode("Keyboard, Gamepad & Navigation State")) + { + // We iterate both legacy native range and named ImGuiKey ranges, which is a little odd but this allows displaying the data for old/new backends. + // User code should never have to go through such hoops: old code may use native keycodes, new code may use ImGuiKey codes. +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + struct funcs { static bool IsLegacyNativeDupe(ImGuiKey) { return false; } }; + const ImGuiKey key_first = (ImGuiKey)ImGuiKey_NamedKey_BEGIN; +#else + struct funcs { static bool IsLegacyNativeDupe(ImGuiKey key) { return key < 512 && ImGui::GetIO().KeyMap[key] != -1; } }; // Hide Native<>ImGuiKey duplicates when both exists in the array + const ImGuiKey key_first = (ImGuiKey)0; + //ImGui::Text("Legacy raw:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key++) { if (io.KeysDown[key]) { ImGui::SameLine(); ImGui::Text("\"%s\" %d", ImGui::GetKeyName(key), key); } } +#endif + ImGui::Text("Keys down:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key = (ImGuiKey)(key + 1)) { if (funcs::IsLegacyNativeDupe(key)) continue; if (ImGui::IsKeyDown(key)) { ImGui::SameLine(); ImGui::Text("\"%s\" %d (%.02f)", ImGui::GetKeyName(key), key, ImGui::GetKeyData(key)->DownDuration); } } + ImGui::Text("Keys pressed:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key = (ImGuiKey)(key + 1)) { if (funcs::IsLegacyNativeDupe(key)) continue; if (ImGui::IsKeyPressed(key)) { ImGui::SameLine(); ImGui::Text("\"%s\" %d", ImGui::GetKeyName(key), key); } } + ImGui::Text("Keys released:"); for (ImGuiKey key = key_first; key < ImGuiKey_COUNT; key = (ImGuiKey)(key + 1)) { if (funcs::IsLegacyNativeDupe(key)) continue; if (ImGui::IsKeyReleased(key)) { ImGui::SameLine(); ImGui::Text("\"%s\" %d", ImGui::GetKeyName(key), key); } } ImGui::Text("Keys mods: %s%s%s%s", io.KeyCtrl ? "CTRL " : "", io.KeyShift ? "SHIFT " : "", io.KeyAlt ? "ALT " : "", io.KeySuper ? "SUPER " : ""); ImGui::Text("Chars queue:"); for (int i = 0; i < io.InputQueueCharacters.Size; i++) { ImWchar c = io.InputQueueCharacters[i]; ImGui::SameLine(); ImGui::Text("\'%c\' (0x%04X)", (c > ' ' && c <= 255) ? (char)c : '?', c); } // FIXME: We should convert 'c' to UTF-8 here but the functions are not public. - ImGui::Text("NavInputs down:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputs[i] > 0.0f) { ImGui::SameLine(); ImGui::Text("[%d] %.2f (%.02f secs)", i, io.NavInputs[i], io.NavInputsDownDuration[i]); } - ImGui::Text("NavInputs pressed:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputsDownDuration[i] == 0.0f) { ImGui::SameLine(); ImGui::Text("[%d]", i); } + // Draw an arbitrary US keyboard layout to visualize translated keys + { + const ImVec2 key_size = ImVec2(35.0f, 35.0f); + const float key_rounding = 3.0f; + const ImVec2 key_face_size = ImVec2(25.0f, 25.0f); + const ImVec2 key_face_pos = ImVec2(5.0f, 3.0f); + const float key_face_rounding = 2.0f; + const ImVec2 key_label_pos = ImVec2(7.0f, 4.0f); + const ImVec2 key_step = ImVec2(key_size.x - 1.0f, key_size.y - 1.0f); + const float key_row_offset = 9.0f; + + ImVec2 board_min = ImGui::GetCursorScreenPos(); + ImVec2 board_max = ImVec2(board_min.x + 3 * key_step.x + 2 * key_row_offset + 10.0f, board_min.y + 3 * key_step.y + 10.0f); + ImVec2 start_pos = ImVec2(board_min.x + 5.0f - key_step.x, board_min.y); + + struct KeyLayoutData { int Row, Col; const char* Label; ImGuiKey Key; }; + const KeyLayoutData keys_to_display[] = + { + { 0, 0, "", ImGuiKey_Tab }, { 0, 1, "Q", ImGuiKey_Q }, { 0, 2, "W", ImGuiKey_W }, { 0, 3, "E", ImGuiKey_E }, { 0, 4, "R", ImGuiKey_R }, + { 1, 0, "", ImGuiKey_CapsLock }, { 1, 1, "A", ImGuiKey_A }, { 1, 2, "S", ImGuiKey_S }, { 1, 3, "D", ImGuiKey_D }, { 1, 4, "F", ImGuiKey_F }, + { 2, 0, "", ImGuiKey_LeftShift },{ 2, 1, "Z", ImGuiKey_Z }, { 2, 2, "X", ImGuiKey_X }, { 2, 3, "C", ImGuiKey_C }, { 2, 4, "V", ImGuiKey_V } + }; + + // Elements rendered manually via ImDrawList API are not clipped automatically. + // While not strictly necessary, here IsItemVisible() is used to avoid rendering these shapes when they are out of view. + ImGui::Dummy(ImVec2(board_max.x - board_min.x, board_max.y - board_min.y)); + if (ImGui::IsItemVisible()) + { + ImDrawList* draw_list = ImGui::GetWindowDrawList(); + draw_list->PushClipRect(board_min, board_max, true); + for (int n = 0; n < IM_ARRAYSIZE(keys_to_display); n++) + { + const KeyLayoutData* key_data = &keys_to_display[n]; + ImVec2 key_min = ImVec2(start_pos.x + key_data->Col * key_step.x + key_data->Row * key_row_offset, start_pos.y + key_data->Row * key_step.y); + ImVec2 key_max = ImVec2(key_min.x + key_size.x, key_min.y + key_size.y); + draw_list->AddRectFilled(key_min, key_max, IM_COL32(204, 204, 204, 255), key_rounding); + draw_list->AddRect(key_min, key_max, IM_COL32(24, 24, 24, 255), key_rounding); + ImVec2 face_min = ImVec2(key_min.x + key_face_pos.x, key_min.y + key_face_pos.y); + ImVec2 face_max = ImVec2(face_min.x + key_face_size.x, face_min.y + key_face_size.y); + draw_list->AddRect(face_min, face_max, IM_COL32(193, 193, 193, 255), key_face_rounding, ImDrawFlags_None, 2.0f); + draw_list->AddRectFilled(face_min, face_max, IM_COL32(252, 252, 252, 255), key_face_rounding); + ImVec2 label_min = ImVec2(key_min.x + key_label_pos.x, key_min.y + key_label_pos.y); + draw_list->AddText(label_min, IM_COL32(64, 64, 64, 255), key_data->Label); + if (ImGui::IsKeyDown(key_data->Key)) + draw_list->AddRectFilled(key_min, key_max, IM_COL32(255, 0, 0, 128), key_rounding); + } + draw_list->PopClipRect(); + } + } + ImGui::TreePop(); + } + + if (ImGui::TreeNode("Capture override")) + { + HelpMarker( + "The value of io.WantCaptureMouse and io.WantCaptureKeyboard are normally set by Dear ImGui " + "to instruct your application of how to route inputs. Typically, when a value is true, it means " + "Dear ImGui wants the corresponding inputs and we expect the underlying application to ignore them.\n\n" + "The most typical case is: when hovering a window, Dear ImGui set io.WantCaptureMouse to true, " + "and underlying application should ignore mouse inputs (in practice there are many and more subtle " + "rules leading to how those flags are set)."); + + ImGui::Text("io.WantCaptureMouse: %d", io.WantCaptureMouse); + ImGui::Text("io.WantCaptureMouseUnlessPopupClose: %d", io.WantCaptureMouseUnlessPopupClose); + ImGui::Text("io.WantCaptureKeyboard: %d", io.WantCaptureKeyboard); + + HelpMarker( + "Hovering the colored canvas will override io.WantCaptureXXX fields.\n" + "Notice how normally (when set to none), the value of io.WantCaptureKeyboard would be false when hovering and true when clicking."); + static int capture_override_mouse = -1; + static int capture_override_keyboard = -1; + const char* capture_override_desc[] = { "None", "Set to false", "Set to true" }; + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 15); + ImGui::SliderInt("SetNextFrameWantCaptureMouse()", &capture_override_mouse, -1, +1, capture_override_desc[capture_override_mouse + 1], ImGuiSliderFlags_AlwaysClamp); + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 15); + ImGui::SliderInt("SetNextFrameWantCaptureKeyboard()", &capture_override_keyboard, -1, +1, capture_override_desc[capture_override_keyboard + 1], ImGuiSliderFlags_AlwaysClamp); + + ImGui::ColorButton("##panel", ImVec4(0.7f, 0.1f, 0.7f, 1.0f), ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoDragDrop, ImVec2(256.0f, 192.0f)); // Dummy item + if (ImGui::IsItemHovered() && capture_override_mouse != -1) + ImGui::SetNextFrameWantCaptureMouse(capture_override_mouse == 1); + if (ImGui::IsItemHovered() && capture_override_keyboard != -1) + ImGui::SetNextFrameWantCaptureKeyboard(capture_override_keyboard == 1); - ImGui::Button("Hovering me sets the\nkeyboard capture flag"); - if (ImGui::IsItemHovered()) - ImGui::CaptureKeyboardFromApp(true); - ImGui::SameLine(); - ImGui::Button("Holding me clears the\nthe keyboard capture flag"); - if (ImGui::IsItemActive()) - ImGui::CaptureKeyboardFromApp(false); ImGui::TreePop(); } @@ -5800,30 +5945,6 @@ static void ShowDemoWindowMisc() ImGui::Text("io.MouseDelta: (%.1f, %.1f)", mouse_delta.x, mouse_delta.y); ImGui::TreePop(); } - - IMGUI_DEMO_MARKER("Inputs, Navigation & Focus/Mouse cursors"); - if (ImGui::TreeNode("Mouse cursors")) - { - const char* mouse_cursors_names[] = { "Arrow", "TextInput", "ResizeAll", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand", "NotAllowed" }; - IM_ASSERT(IM_ARRAYSIZE(mouse_cursors_names) == ImGuiMouseCursor_COUNT); - - ImGuiMouseCursor current = ImGui::GetMouseCursor(); - ImGui::Text("Current mouse cursor = %d: %s", current, mouse_cursors_names[current]); - ImGui::Text("Hover to see mouse cursors:"); - ImGui::SameLine(); HelpMarker( - "Your application can render a different mouse cursor based on what ImGui::GetMouseCursor() returns. " - "If software cursor rendering (io.MouseDrawCursor) is set ImGui will draw the right cursor for you, " - "otherwise your backend needs to handle it."); - for (int i = 0; i < ImGuiMouseCursor_COUNT; i++) - { - char label[32]; - sprintf(label, "Mouse cursor %d: %s", i, mouse_cursors_names[i]); - ImGui::Bullet(); ImGui::Selectable(label, false); - if (ImGui::IsItemHovered()) - ImGui::SetMouseCursor(i); - } - ImGui::TreePop(); - } } } @@ -5868,6 +5989,9 @@ void ImGui::ShowAboutWindow(bool* p_open) #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS ImGui::Text("define: IMGUI_DISABLE_OBSOLETE_FUNCTIONS"); #endif +#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO + ImGui::Text("define: IMGUI_DISABLE_OBSOLETE_KEYIO"); +#endif #ifdef IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS ImGui::Text("define: IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS"); #endif @@ -5981,7 +6105,7 @@ void ImGui::ShowAboutWindow(bool* p_open) namespace ImGui { IMGUI_API void ShowFontAtlas(ImFontAtlas* atlas); } // Demo helper function to select among loaded fonts. -// Here we use the regular BeginCombo()/EndCombo() api which is more the more flexible one. +// Here we use the regular BeginCombo()/EndCombo() api which is the more flexible one. void ImGui::ShowFontSelector(const char* label) { ImGuiIO& io = ImGui::GetIO(); @@ -6273,6 +6397,40 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref) ImGui::PopItemWidth(); } +//----------------------------------------------------------------------------- +// [SECTION] User Guide / ShowUserGuide() +//----------------------------------------------------------------------------- + +void ImGui::ShowUserGuide() +{ + ImGuiIO& io = ImGui::GetIO(); + ImGui::BulletText("Double-click on title bar to collapse window."); + ImGui::BulletText( + "Click and drag on lower corner to resize window\n" + "(double-click to auto fit window to its contents)."); + ImGui::BulletText("CTRL+Click on a slider or drag box to input value as text."); + ImGui::BulletText("TAB/SHIFT+TAB to cycle through keyboard editable fields."); + ImGui::BulletText("CTRL+Tab to select a window."); + if (io.FontAllowUserScaling) + ImGui::BulletText("CTRL+Mouse Wheel to zoom window contents."); + ImGui::BulletText("While inputing text:\n"); + ImGui::Indent(); + ImGui::BulletText("CTRL+Left/Right to word jump."); + ImGui::BulletText("CTRL+A or double-click to select all."); + ImGui::BulletText("CTRL+X/C/V to use clipboard cut/copy/paste."); + ImGui::BulletText("CTRL+Z,CTRL+Y to undo/redo."); + ImGui::BulletText("ESCAPE to revert."); + ImGui::Unindent(); + ImGui::BulletText("With keyboard navigation enabled:"); + ImGui::Indent(); + ImGui::BulletText("Arrow keys to navigate."); + ImGui::BulletText("Space to activate a widget."); + ImGui::BulletText("Return to input text into a widget."); + ImGui::BulletText("Escape to deactivate a widget, close popup, exit child window."); + ImGui::BulletText("Alt to jump to the menu layer of a window."); + ImGui::Unindent(); +} + //----------------------------------------------------------------------------- // [SECTION] Example App: Main Menu Bar / ShowExampleAppMainMenuBar() //----------------------------------------------------------------------------- @@ -6507,72 +6665,76 @@ struct ExampleAppConsole // Reserve enough left-over height for 1 separator + 1 input text const float footer_height_to_reserve = ImGui::GetStyle().ItemSpacing.y + ImGui::GetFrameHeightWithSpacing(); - ImGui::BeginChild("ScrollingRegion", ImVec2(0, -footer_height_to_reserve), false, ImGuiWindowFlags_HorizontalScrollbar); - if (ImGui::BeginPopupContextWindow()) + if (ImGui::BeginChild("ScrollingRegion", ImVec2(0, -footer_height_to_reserve), false, ImGuiWindowFlags_HorizontalScrollbar)) { - if (ImGui::Selectable("Clear")) ClearLog(); - ImGui::EndPopup(); + if (ImGui::BeginPopupContextWindow()) + { + if (ImGui::Selectable("Clear")) ClearLog(); + ImGui::EndPopup(); + } + + // Display every line as a separate entry so we can change their color or add custom widgets. + // If you only want raw text you can use ImGui::TextUnformatted(log.begin(), log.end()); + // NB- if you have thousands of entries this approach may be too inefficient and may require user-side clipping + // to only process visible items. The clipper will automatically measure the height of your first item and then + // "seek" to display only items in the visible area. + // To use the clipper we can replace your standard loop: + // for (int i = 0; i < Items.Size; i++) + // With: + // ImGuiListClipper clipper; + // clipper.Begin(Items.Size); + // while (clipper.Step()) + // for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) + // - That your items are evenly spaced (same height) + // - That you have cheap random access to your elements (you can access them given their index, + // without processing all the ones before) + // You cannot this code as-is if a filter is active because it breaks the 'cheap random-access' property. + // We would need random-access on the post-filtered list. + // A typical application wanting coarse clipping and filtering may want to pre-compute an array of indices + // or offsets of items that passed the filtering test, recomputing this array when user changes the filter, + // and appending newly elements as they are inserted. This is left as a task to the user until we can manage + // to improve this example code! + // If your items are of variable height: + // - Split them into same height items would be simpler and facilitate random-seeking into your list. + // - Consider using manual call to IsRectVisible() and skipping extraneous decoration from your items. + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(4, 1)); // Tighten spacing + if (copy_to_clipboard) + ImGui::LogToClipboard(); + for (int i = 0; i < Items.Size; i++) + { + const char* item = Items[i]; + if (!Filter.PassFilter(item)) + continue; + + // Normally you would store more information in your item than just a string. + // (e.g. make Items[] an array of structure, store color/type etc.) + ImVec4 color; + bool has_color = false; + if (strstr(item, "[error]")) { color = ImVec4(1.0f, 0.4f, 0.4f, 1.0f); has_color = true; } + else if (strncmp(item, "# ", 2) == 0) { color = ImVec4(1.0f, 0.8f, 0.6f, 1.0f); has_color = true; } + if (has_color) + ImGui::PushStyleColor(ImGuiCol_Text, color); + ImGui::TextUnformatted(item); + if (has_color) + ImGui::PopStyleColor(); + } + if (copy_to_clipboard) + ImGui::LogFinish(); + + // Keep up at the bottom of the scroll region if we were already at the bottom at the beginning of the frame. + // Using a scrollbar or mouse-wheel will take away from the bottom edge. + if (ScrollToBottom || (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY())) + ImGui::SetScrollHereY(1.0f); + ScrollToBottom = false; + + ImGui::PopStyleVar(); } - - // Display every line as a separate entry so we can change their color or add custom widgets. - // If you only want raw text you can use ImGui::TextUnformatted(log.begin(), log.end()); - // NB- if you have thousands of entries this approach may be too inefficient and may require user-side clipping - // to only process visible items. The clipper will automatically measure the height of your first item and then - // "seek" to display only items in the visible area. - // To use the clipper we can replace your standard loop: - // for (int i = 0; i < Items.Size; i++) - // With: - // ImGuiListClipper clipper; - // clipper.Begin(Items.Size); - // while (clipper.Step()) - // for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++) - // - That your items are evenly spaced (same height) - // - That you have cheap random access to your elements (you can access them given their index, - // without processing all the ones before) - // You cannot this code as-is if a filter is active because it breaks the 'cheap random-access' property. - // We would need random-access on the post-filtered list. - // A typical application wanting coarse clipping and filtering may want to pre-compute an array of indices - // or offsets of items that passed the filtering test, recomputing this array when user changes the filter, - // and appending newly elements as they are inserted. This is left as a task to the user until we can manage - // to improve this example code! - // If your items are of variable height: - // - Split them into same height items would be simpler and facilitate random-seeking into your list. - // - Consider using manual call to IsRectVisible() and skipping extraneous decoration from your items. - ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(4, 1)); // Tighten spacing - if (copy_to_clipboard) - ImGui::LogToClipboard(); - for (int i = 0; i < Items.Size; i++) - { - const char* item = Items[i]; - if (!Filter.PassFilter(item)) - continue; - - // Normally you would store more information in your item than just a string. - // (e.g. make Items[] an array of structure, store color/type etc.) - ImVec4 color; - bool has_color = false; - if (strstr(item, "[error]")) { color = ImVec4(1.0f, 0.4f, 0.4f, 1.0f); has_color = true; } - else if (strncmp(item, "# ", 2) == 0) { color = ImVec4(1.0f, 0.8f, 0.6f, 1.0f); has_color = true; } - if (has_color) - ImGui::PushStyleColor(ImGuiCol_Text, color); - ImGui::TextUnformatted(item); - if (has_color) - ImGui::PopStyleColor(); - } - if (copy_to_clipboard) - ImGui::LogFinish(); - - if (ScrollToBottom || (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY())) - ImGui::SetScrollHereY(1.0f); - ScrollToBottom = false; - - ImGui::PopStyleVar(); ImGui::EndChild(); ImGui::Separator(); // Command-line bool reclaim_focus = false; - ImGuiInputTextFlags input_text_flags = ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory; + ImGuiInputTextFlags input_text_flags = ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_EscapeClearsAll | ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory; if (ImGui::InputText("Input", InputBuf, IM_ARRAYSIZE(InputBuf), input_text_flags, &TextEditCallbackStub, (void*)this)) { char* s = InputBuf; @@ -6814,63 +6976,66 @@ struct ExampleAppLog Filter.Draw("Filter", -100.0f); ImGui::Separator(); - ImGui::BeginChild("scrolling", ImVec2(0, 0), false, ImGuiWindowFlags_HorizontalScrollbar); - if (clear) - Clear(); - if (copy) - ImGui::LogToClipboard(); + if (ImGui::BeginChild("scrolling", ImVec2(0, 0), false, ImGuiWindowFlags_HorizontalScrollbar)) + { + if (clear) + Clear(); + if (copy) + ImGui::LogToClipboard(); - ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); - const char* buf = Buf.begin(); - const char* buf_end = Buf.end(); - if (Filter.IsActive()) - { - // In this example we don't use the clipper when Filter is enabled. - // This is because we don't have a random access on the result on our filter. - // A real application processing logs with ten of thousands of entries may want to store the result of - // search/filter.. especially if the filtering function is not trivial (e.g. reg-exp). - for (int line_no = 0; line_no < LineOffsets.Size; line_no++) + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); + const char* buf = Buf.begin(); + const char* buf_end = Buf.end(); + if (Filter.IsActive()) { - const char* line_start = buf + LineOffsets[line_no]; - const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end; - if (Filter.PassFilter(line_start, line_end)) - ImGui::TextUnformatted(line_start, line_end); - } - } - else - { - // The simplest and easy way to display the entire buffer: - // ImGui::TextUnformatted(buf_begin, buf_end); - // And it'll just work. TextUnformatted() has specialization for large blob of text and will fast-forward - // to skip non-visible lines. Here we instead demonstrate using the clipper to only process lines that are - // within the visible area. - // If you have tens of thousands of items and their processing cost is non-negligible, coarse clipping them - // on your side is recommended. Using ImGuiListClipper requires - // - A) random access into your data - // - B) items all being the same height, - // both of which we can handle since we an array pointing to the beginning of each line of text. - // When using the filter (in the block of code above) we don't have random access into the data to display - // anymore, which is why we don't use the clipper. Storing or skimming through the search result would make - // it possible (and would be recommended if you want to search through tens of thousands of entries). - ImGuiListClipper clipper; - clipper.Begin(LineOffsets.Size); - while (clipper.Step()) - { - for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + // In this example we don't use the clipper when Filter is enabled. + // This is because we don't have random access to the result of our filter. + // A real application processing logs with ten of thousands of entries may want to store the result of + // search/filter.. especially if the filtering function is not trivial (e.g. reg-exp). + for (int line_no = 0; line_no < LineOffsets.Size; line_no++) { const char* line_start = buf + LineOffsets[line_no]; const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end; - ImGui::TextUnformatted(line_start, line_end); + if (Filter.PassFilter(line_start, line_end)) + ImGui::TextUnformatted(line_start, line_end); } } - clipper.End(); + else + { + // The simplest and easy way to display the entire buffer: + // ImGui::TextUnformatted(buf_begin, buf_end); + // And it'll just work. TextUnformatted() has specialization for large blob of text and will fast-forward + // to skip non-visible lines. Here we instead demonstrate using the clipper to only process lines that are + // within the visible area. + // If you have tens of thousands of items and their processing cost is non-negligible, coarse clipping them + // on your side is recommended. Using ImGuiListClipper requires + // - A) random access into your data + // - B) items all being the same height, + // both of which we can handle since we have an array pointing to the beginning of each line of text. + // When using the filter (in the block of code above) we don't have random access into the data to display + // anymore, which is why we don't use the clipper. Storing or skimming through the search result would make + // it possible (and would be recommended if you want to search through tens of thousands of entries). + ImGuiListClipper clipper; + clipper.Begin(LineOffsets.Size); + while (clipper.Step()) + { + for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++) + { + const char* line_start = buf + LineOffsets[line_no]; + const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end; + ImGui::TextUnformatted(line_start, line_end); + } + } + clipper.End(); + } + ImGui::PopStyleVar(); + + // Keep up at the bottom of the scroll region if we were already at the bottom at the beginning of the frame. + // Using a scrollbar or mouse-wheel will take away from the bottom edge. + if (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) + ImGui::SetScrollHereY(1.0f); } - ImGui::PopStyleVar(); - - if (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) - ImGui::SetScrollHereY(1.0f); - ImGui::EndChild(); ImGui::End(); } @@ -7150,51 +7315,82 @@ static void ShowExampleAppAutoResize(bool* p_open) //----------------------------------------------------------------------------- // Demonstrate creating a window with custom resize constraints. +// Note that size constraints currently don't work on a docked window (when in 'docking' branch) static void ShowExampleAppConstrainedResize(bool* p_open) { struct CustomConstraints { // Helper functions to demonstrate programmatic constraints - static void Square(ImGuiSizeCallbackData* data) { data->DesiredSize.x = data->DesiredSize.y = IM_MAX(data->DesiredSize.x, data->DesiredSize.y); } - static void Step(ImGuiSizeCallbackData* data) { float step = (float)(int)(intptr_t)data->UserData; data->DesiredSize = ImVec2((int)(data->DesiredSize.x / step + 0.5f) * step, (int)(data->DesiredSize.y / step + 0.5f) * step); } + // FIXME: This doesn't take account of decoration size (e.g. title bar), library should make this easier. + static void AspectRatio(ImGuiSizeCallbackData* data) { float aspect_ratio = *(float*)data->UserData; data->DesiredSize.x = IM_MAX(data->CurrentSize.x, data->CurrentSize.y); data->DesiredSize.y = (float)(int)(data->DesiredSize.x / aspect_ratio); } + static void Square(ImGuiSizeCallbackData* data) { data->DesiredSize.x = data->DesiredSize.y = IM_MAX(data->CurrentSize.x, data->CurrentSize.y); } + static void Step(ImGuiSizeCallbackData* data) { float step = *(float*)data->UserData; data->DesiredSize = ImVec2((int)(data->CurrentSize.x / step + 0.5f) * step, (int)(data->CurrentSize.y / step + 0.5f) * step); } }; const char* test_desc[] = { + "Between 100x100 and 500x500", + "At least 100x100", "Resize vertical only", "Resize horizontal only", - "Width > 100, Height > 100", - "Width 400-500", - "Height 400-500", + "Width Between 400 and 500", + "Custom: Aspect Ratio 16:9", "Custom: Always Square", "Custom: Fixed Steps (100)", }; + // Options static bool auto_resize = false; - static int type = 0; + static bool window_padding = true; + static int type = 5; // Aspect Ratio static int display_lines = 10; - if (type == 0) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 0), ImVec2(-1, FLT_MAX)); // Vertical only - if (type == 1) ImGui::SetNextWindowSizeConstraints(ImVec2(0, -1), ImVec2(FLT_MAX, -1)); // Horizontal only - if (type == 2) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(FLT_MAX, FLT_MAX)); // Width > 100, Height > 100 - if (type == 3) ImGui::SetNextWindowSizeConstraints(ImVec2(400, -1), ImVec2(500, -1)); // Width 400-500 - if (type == 4) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 400), ImVec2(-1, 500)); // Height 400-500 - if (type == 5) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Square); // Always Square - if (type == 6) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Step, (void*)(intptr_t)100); // Fixed Step - ImGuiWindowFlags flags = auto_resize ? ImGuiWindowFlags_AlwaysAutoResize : 0; - if (ImGui::Begin("Example: Constrained Resize", p_open, flags)) + // Submit constraint + float aspect_ratio = 16.0f / 9.0f; + float fixed_step = 100.0f; + if (type == 0) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(500, 500)); // Between 100x100 and 500x500 + if (type == 1) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(FLT_MAX, FLT_MAX)); // Width > 100, Height > 100 + if (type == 2) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 0), ImVec2(-1, FLT_MAX)); // Vertical only + if (type == 3) ImGui::SetNextWindowSizeConstraints(ImVec2(0, -1), ImVec2(FLT_MAX, -1)); // Horizontal only + if (type == 4) ImGui::SetNextWindowSizeConstraints(ImVec2(400, -1), ImVec2(500, -1)); // Width Between and 400 and 500 + if (type == 5) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::AspectRatio, (void*)&aspect_ratio); // Aspect ratio + if (type == 6) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Square); // Always Square + if (type == 7) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Step, (void*)&fixed_step); // Fixed Step + + // Submit window + if (!window_padding) + ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0.0f, 0.0f)); + const ImGuiWindowFlags window_flags = auto_resize ? ImGuiWindowFlags_AlwaysAutoResize : 0; + const bool window_open = ImGui::Begin("Example: Constrained Resize", p_open, window_flags); + if (!window_padding) + ImGui::PopStyleVar(); + if (window_open) { IMGUI_DEMO_MARKER("Examples/Constrained Resizing window"); - if (ImGui::Button("200x200")) { ImGui::SetWindowSize(ImVec2(200, 200)); } ImGui::SameLine(); - if (ImGui::Button("500x500")) { ImGui::SetWindowSize(ImVec2(500, 500)); } ImGui::SameLine(); - if (ImGui::Button("800x200")) { ImGui::SetWindowSize(ImVec2(800, 200)); } - ImGui::SetNextItemWidth(200); - ImGui::Combo("Constraint", &type, test_desc, IM_ARRAYSIZE(test_desc)); - ImGui::SetNextItemWidth(200); - ImGui::DragInt("Lines", &display_lines, 0.2f, 1, 100); - ImGui::Checkbox("Auto-resize", &auto_resize); - for (int i = 0; i < display_lines; i++) - ImGui::Text("%*sHello, sailor! Making this line long enough for the example.", i * 4, ""); + if (ImGui::GetIO().KeyShift) + { + // Display a dummy viewport (in your real app you would likely use ImageButton() to display a texture. + ImVec2 avail_size = ImGui::GetContentRegionAvail(); + ImVec2 pos = ImGui::GetCursorScreenPos(); + ImGui::ColorButton("viewport", ImVec4(0.5f, 0.2f, 0.5f, 1.0f), ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoDragDrop, avail_size); + ImGui::SetCursorScreenPos(ImVec2(pos.x + 10, pos.y + 10)); + ImGui::Text("%.2f x %.2f", avail_size.x, avail_size.y); + } + else + { + ImGui::Text("(Hold SHIFT to display a dummy viewport)"); + if (ImGui::Button("Set 200x200")) { ImGui::SetWindowSize(ImVec2(200, 200)); } ImGui::SameLine(); + if (ImGui::Button("Set 500x500")) { ImGui::SetWindowSize(ImVec2(500, 500)); } ImGui::SameLine(); + if (ImGui::Button("Set 800x200")) { ImGui::SetWindowSize(ImVec2(800, 200)); } + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 20); + ImGui::Combo("Constraint", &type, test_desc, IM_ARRAYSIZE(test_desc)); + ImGui::SetNextItemWidth(ImGui::GetFontSize() * 20); + ImGui::DragInt("Lines", &display_lines, 0.2f, 1, 100); + ImGui::Checkbox("Auto-resize", &auto_resize); + ImGui::Checkbox("Window padding", &window_padding); + for (int i = 0; i < display_lines; i++) + ImGui::Text("%*sHello, sailor! Making this line long enough for the example.", i * 4, ""); + } } ImGui::End(); } @@ -7207,28 +7403,34 @@ static void ShowExampleAppConstrainedResize(bool* p_open) // + a context-menu to choose which corner of the screen to use. static void ShowExampleAppSimpleOverlay(bool* p_open) { - static int corner = 0; + static int location = 0; ImGuiIO& io = ImGui::GetIO(); ImGuiWindowFlags window_flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoNav; - if (corner != -1) + if (location >= 0) { const float PAD = 10.0f; const ImGuiViewport* viewport = ImGui::GetMainViewport(); ImVec2 work_pos = viewport->WorkPos; // Use work area to avoid menu-bar/task-bar, if any! ImVec2 work_size = viewport->WorkSize; ImVec2 window_pos, window_pos_pivot; - window_pos.x = (corner & 1) ? (work_pos.x + work_size.x - PAD) : (work_pos.x + PAD); - window_pos.y = (corner & 2) ? (work_pos.y + work_size.y - PAD) : (work_pos.y + PAD); - window_pos_pivot.x = (corner & 1) ? 1.0f : 0.0f; - window_pos_pivot.y = (corner & 2) ? 1.0f : 0.0f; + window_pos.x = (location & 1) ? (work_pos.x + work_size.x - PAD) : (work_pos.x + PAD); + window_pos.y = (location & 2) ? (work_pos.y + work_size.y - PAD) : (work_pos.y + PAD); + window_pos_pivot.x = (location & 1) ? 1.0f : 0.0f; + window_pos_pivot.y = (location & 2) ? 1.0f : 0.0f; ImGui::SetNextWindowPos(window_pos, ImGuiCond_Always, window_pos_pivot); window_flags |= ImGuiWindowFlags_NoMove; } + else if (location == -2) + { + // Center window + ImGui::SetNextWindowPos(ImGui::GetMainViewport()->GetCenter(), ImGuiCond_Always, ImVec2(0.5f, 0.5f)); + window_flags |= ImGuiWindowFlags_NoMove; + } ImGui::SetNextWindowBgAlpha(0.35f); // Transparent background if (ImGui::Begin("Example: Simple overlay", p_open, window_flags)) { IMGUI_DEMO_MARKER("Examples/Simple Overlay"); - ImGui::Text("Simple overlay\n" "in the corner of the screen.\n" "(right-click to change position)"); + ImGui::Text("Simple overlay\n" "(right-click to change position)"); ImGui::Separator(); if (ImGui::IsMousePosValid()) ImGui::Text("Mouse Position: (%.1f,%.1f)", io.MousePos.x, io.MousePos.y); @@ -7236,11 +7438,12 @@ static void ShowExampleAppSimpleOverlay(bool* p_open) ImGui::Text("Mouse Position: "); if (ImGui::BeginPopupContextWindow()) { - if (ImGui::MenuItem("Custom", NULL, corner == -1)) corner = -1; - if (ImGui::MenuItem("Top-left", NULL, corner == 0)) corner = 0; - if (ImGui::MenuItem("Top-right", NULL, corner == 1)) corner = 1; - if (ImGui::MenuItem("Bottom-left", NULL, corner == 2)) corner = 2; - if (ImGui::MenuItem("Bottom-right", NULL, corner == 3)) corner = 3; + if (ImGui::MenuItem("Custom", NULL, location == -1)) location = -1; + if (ImGui::MenuItem("Center", NULL, location == -2)) location = -2; + if (ImGui::MenuItem("Top-left", NULL, location == 0)) location = 0; + if (ImGui::MenuItem("Top-right", NULL, location == 1)) location = 1; + if (ImGui::MenuItem("Bottom-left", NULL, location == 2)) location = 2; + if (ImGui::MenuItem("Bottom-right", NULL, location == 3)) location = 3; if (p_open && ImGui::MenuItem("Close")) *p_open = false; ImGui::EndPopup(); } @@ -7256,7 +7459,7 @@ static void ShowExampleAppSimpleOverlay(bool* p_open) static void ShowExampleAppFullscreen(bool* p_open) { static bool use_work_area = true; - static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings; + static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings; // We demonstrate using the full viewport area or the work area (without menu-bars, task-bars etc.) // Based on your use case you may want one of the other. @@ -7288,8 +7491,8 @@ static void ShowExampleAppFullscreen(bool* p_open) // [SECTION] Example App: Manipulating Window Titles / ShowExampleAppWindowTitles() //----------------------------------------------------------------------------- -// Demonstrate using "##" and "###" in identifiers to manipulate ID generation. -// This apply to all regular items as well. +// Demonstrate the use of "##" and "###" in identifiers to manipulate ID generation. +// This applies to all regular items as well. // Read FAQ section "How can I have multiple widgets with the same label?" for details. static void ShowExampleAppWindowTitles(bool*) { @@ -7509,8 +7712,8 @@ static void ShowExampleAppCustomRendering(bool* p_open) // Context menu (under default mouse threshold) ImVec2 drag_delta = ImGui::GetMouseDragDelta(ImGuiMouseButton_Right); - if (opt_enable_context_menu && ImGui::IsMouseReleased(ImGuiMouseButton_Right) && drag_delta.x == 0.0f && drag_delta.y == 0.0f) - ImGui::OpenPopupOnItemClick("context"); + if (opt_enable_context_menu && drag_delta.x == 0.0f && drag_delta.y == 0.0f) + ImGui::OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); if (ImGui::BeginPopup("context")) { if (adding_line) @@ -7694,7 +7897,8 @@ void ShowExampleAppDocuments(bool* p_open) if (ImGui::MenuItem("Close All Documents", NULL, false, open_count > 0)) for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++) app.Documents[doc_n].DoQueueClose(); - if (ImGui::MenuItem("Exit", "Alt+F4")) {} + if (ImGui::MenuItem("Exit", "Ctrl+F4") && p_open) + *p_open = false; ImGui::EndMenu(); } ImGui::EndMenuBar(); diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui_draw.cpp b/imgui-sys/third-party/imgui-master/imgui/imgui_draw.cpp index bf1da15..1203af8 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui_draw.cpp +++ b/imgui-sys/third-party/imgui-master/imgui/imgui_draw.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (drawing and font code) /* @@ -39,25 +39,12 @@ Index of this file: #endif #include // vsnprintf, sscanf, printf -#if !defined(alloca) -#if defined(__GLIBC__) || defined(__sun) || defined(__APPLE__) || defined(__NEWLIB__) -#include // alloca (glibc uses . Note that Cygwin may have _WIN32 defined, so the order matters here) -#elif defined(_WIN32) -#include // alloca -#if !defined(alloca) -#define alloca _alloca // for clang with MS Codegen -#endif -#else -#include // alloca -#endif -#endif // Visual Studio warnings #ifdef _MSC_VER #pragma warning (disable: 4127) // condition expression is constant #pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff) #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen -#pragma warning (disable: 6255) // [Static Analyzer] _alloca indicates failure by raising a stack overflow exception. Consider using _malloca instead. #pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). #pragma warning (disable: 26812) // [Static Analyzer] The enum type 'xxx' is unscoped. Prefer 'enum class' over 'enum' (Enum.3). [MSVC Static Analyzer) #endif @@ -67,9 +54,6 @@ Index of this file: #if __has_warning("-Wunknown-warning-option") #pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great! #endif -#if __has_warning("-Walloca") -#pragma clang diagnostic ignored "-Walloca" // warning: use of function '__builtin_alloca' is discouraged -#endif #pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx' #pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse. #pragma clang diagnostic ignored "-Wfloat-equal" // warning: comparing floating point with == or != is unsafe // storing and comparing against same constants ok. @@ -90,7 +74,7 @@ Index of this file: #endif //------------------------------------------------------------------------- -// [SECTION] STB libraries implementation +// [SECTION] STB libraries implementation (for stb_truetype and stb_rect_pack) //------------------------------------------------------------------------- // Compile time options: @@ -393,7 +377,7 @@ void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error) for (int i = 0; i < IM_ARRAYSIZE(CircleSegmentCounts); i++) { const float radius = (float)i; - CircleSegmentCounts[i] = (ImU8)((i > 0) ? IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, CircleSegmentMaxError) : 0); + CircleSegmentCounts[i] = (ImU8)((i > 0) ? IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, CircleSegmentMaxError) : IM_DRAWLIST_ARCFAST_SAMPLE_MAX); } ArcFastRadiusCutoff = IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(IM_DRAWLIST_ARCFAST_SAMPLE_MAX, CircleSegmentMaxError); } @@ -402,10 +386,9 @@ void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error) void ImDrawList::_ResetForNewFrame() { // Verify that the ImDrawCmd fields we want to memcmp() are contiguous in memory. - // (those should be IM_STATIC_ASSERT() in theory but with our pre C++11 setup the whole check doesn't compile with GCC) - IM_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0); - IM_ASSERT(IM_OFFSETOF(ImDrawCmd, TextureId) == sizeof(ImVec4)); - IM_ASSERT(IM_OFFSETOF(ImDrawCmd, VtxOffset) == sizeof(ImVec4) + sizeof(ImTextureID)); + IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0); + IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, TextureId) == sizeof(ImVec4)); + IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, VtxOffset) == sizeof(ImVec4) + sizeof(ImTextureID)); CmdBuffer.resize(0); IdxBuffer.resize(0); @@ -488,9 +471,10 @@ void ImDrawList::AddCallback(ImDrawCallback callback, void* callback_data) } // Compare ClipRect, TextureId and VtxOffset with a single memcmp() -#define ImDrawCmd_HeaderSize (IM_OFFSETOF(ImDrawCmd, VtxOffset) + sizeof(unsigned int)) -#define ImDrawCmd_HeaderCompare(CMD_LHS, CMD_RHS) (memcmp(CMD_LHS, CMD_RHS, ImDrawCmd_HeaderSize)) // Compare ClipRect, TextureId, VtxOffset -#define ImDrawCmd_HeaderCopy(CMD_DST, CMD_SRC) (memcpy(CMD_DST, CMD_SRC, ImDrawCmd_HeaderSize)) // Copy ClipRect, TextureId, VtxOffset +#define ImDrawCmd_HeaderSize (IM_OFFSETOF(ImDrawCmd, VtxOffset) + sizeof(unsigned int)) +#define ImDrawCmd_HeaderCompare(CMD_LHS, CMD_RHS) (memcmp(CMD_LHS, CMD_RHS, ImDrawCmd_HeaderSize)) // Compare ClipRect, TextureId, VtxOffset +#define ImDrawCmd_HeaderCopy(CMD_DST, CMD_SRC) (memcpy(CMD_DST, CMD_SRC, ImDrawCmd_HeaderSize)) // Copy ClipRect, TextureId, VtxOffset +#define ImDrawCmd_AreSequentialIdxOffset(CMD_0, CMD_1) (CMD_0->IdxOffset + CMD_0->ElemCount == CMD_1->IdxOffset) // Try to merge two last draw commands void ImDrawList::_TryMergeDrawCmds() @@ -498,7 +482,7 @@ void ImDrawList::_TryMergeDrawCmds() IM_ASSERT_PARANOID(CmdBuffer.Size > 0); ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1]; ImDrawCmd* prev_cmd = curr_cmd - 1; - if (ImDrawCmd_HeaderCompare(curr_cmd, prev_cmd) == 0 && curr_cmd->UserCallback == NULL && prev_cmd->UserCallback == NULL) + if (ImDrawCmd_HeaderCompare(curr_cmd, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && curr_cmd->UserCallback == NULL && prev_cmd->UserCallback == NULL) { prev_cmd->ElemCount += curr_cmd->ElemCount; CmdBuffer.pop_back(); @@ -521,7 +505,7 @@ void ImDrawList::_OnChangedClipRect() // Try to merge with previous command if it matches, else use current command ImDrawCmd* prev_cmd = curr_cmd - 1; - if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && prev_cmd->UserCallback == NULL) + if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && prev_cmd->UserCallback == NULL) { CmdBuffer.pop_back(); return; @@ -544,7 +528,7 @@ void ImDrawList::_OnChangedTextureID() // Try to merge with previous command if it matches, else use current command ImDrawCmd* prev_cmd = curr_cmd - 1; - if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && prev_cmd->UserCallback == NULL) + if (curr_cmd->ElemCount == 0 && CmdBuffer.Size > 1 && ImDrawCmd_HeaderCompare(&_CmdHeader, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && prev_cmd->UserCallback == NULL) { CmdBuffer.pop_back(); return; @@ -580,7 +564,7 @@ int ImDrawList::_CalcCircleAutoSegmentCount(float radius) const } // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) -void ImDrawList::PushClipRect(ImVec2 cr_min, ImVec2 cr_max, bool intersect_with_current_clip_rect) +void ImDrawList::PushClipRect(const ImVec2& cr_min, const ImVec2& cr_max, bool intersect_with_current_clip_rect) { ImVec4 cr(cr_min.x, cr_min.y, cr_max.x, cr_max.y); if (intersect_with_current_clip_rect) @@ -753,7 +737,8 @@ void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 // Temporary buffer // The first items are normals at each line point, then after that there are either 2 or 4 temp points for each line point - ImVec2* temp_normals = (ImVec2*)alloca(points_count * ((use_texture || !thick_line) ? 3 : 5) * sizeof(ImVec2)); //-V630 + _Data->TempBuffer.reserve_discard(points_count * ((use_texture || !thick_line) ? 3 : 5)); + ImVec2* temp_normals = _Data->TempBuffer.Data; ImVec2* temp_points = temp_normals + points_count; // Calculate normals (tangents) for each line segment @@ -973,7 +958,8 @@ void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 } } -// We intentionally avoid using ImVec2 and its math operators here to reduce cost to a minimum for debug/non-inlined builds. +// - We intentionally avoid using ImVec2 and its math operators here to reduce cost to a minimum for debug/non-inlined builds. +// - Filled shapes must always use clockwise winding order. The anti-aliasing fringe depends on it. Counter-clockwise shapes will have "inward" anti-aliasing. void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col) { if (points_count < 3) @@ -1000,7 +986,8 @@ void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_coun } // Compute normals - ImVec2* temp_normals = (ImVec2*)alloca(points_count * sizeof(ImVec2)); //-V630 + _Data->TempBuffer.reserve_discard(points_count); + ImVec2* temp_normals = _Data->TempBuffer.Data; for (int i0 = points_count - 1, i1 = 0; i1 < points_count; i0 = i1++) { const ImVec2& p0 = points[i0]; @@ -1057,7 +1044,7 @@ void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_coun void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1149,7 +1136,7 @@ void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_ void ImDrawList::_PathArcToN(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1168,7 +1155,7 @@ void ImDrawList::_PathArcToN(const ImVec2& center, float radius, float a_min, fl // 0: East, 3: South, 6: West, 9: North, 12: East void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_12, int a_max_of_12) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1178,7 +1165,7 @@ void ImDrawList::PathArcToFast(const ImVec2& center, float radius, int a_min_of_ void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, float a_max, int num_segments) { - if (radius <= 0.0f) + if (radius < 0.5f) { _Path.push_back(center); return; @@ -1206,8 +1193,8 @@ void ImDrawList::PathArcTo(const ImVec2& center, float radius, float a_min, floa const float a_min_segment_angle = a_min_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX; const float a_max_segment_angle = a_max_sample * IM_PI * 2.0f / IM_DRAWLIST_ARCFAST_SAMPLE_MAX; - const bool a_emit_start = (a_min_segment_angle - a_min) != 0.0f; - const bool a_emit_end = (a_max - a_max_segment_angle) != 0.0f; + const bool a_emit_start = ImAbs(a_min_segment_angle - a_min) >= 1e-5f; + const bool a_emit_end = ImAbs(a_max - a_max_segment_angle) >= 1e-5f; _Path.reserve(_Path.Size + (a_mid_samples + 1 + (a_emit_start ? 1 : 0) + (a_emit_end ? 1 : 0))); if (a_emit_start) @@ -1294,6 +1281,7 @@ void ImDrawList::PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, cons ImVec2 p1 = _Path.back(); if (num_segments == 0) { + IM_ASSERT(_Data->CurveTessellationTol > 0.0f); PathBezierCubicCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y, _Data->CurveTessellationTol, 0); // Auto-tessellated } else @@ -1309,6 +1297,7 @@ void ImDrawList::PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, ImVec2 p1 = _Path.back(); if (num_segments == 0) { + IM_ASSERT(_Data->CurveTessellationTol > 0.0f); PathBezierQuadraticCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, _Data->CurveTessellationTol, 0);// Auto-tessellated } else @@ -1323,6 +1312,7 @@ IM_STATIC_ASSERT(ImDrawFlags_RoundCornersTopLeft == (1 << 4)); static inline ImDrawFlags FixRectCornerFlags(ImDrawFlags flags) { #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + // Obsoleted in 1.82 (from February 2021) // Legacy Support for hard coded ~0 (used to be a suggested equivalent to ImDrawCornerFlags_All) // ~0 --> ImDrawFlags_RoundCornersAll or 0 if (flags == ~0) @@ -1359,7 +1349,7 @@ void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, ImDr rounding = ImMin(rounding, ImFabs(b.x - a.x) * ( ((flags & ImDrawFlags_RoundCornersTop) == ImDrawFlags_RoundCornersTop) || ((flags & ImDrawFlags_RoundCornersBottom) == ImDrawFlags_RoundCornersBottom) ? 0.5f : 1.0f ) - 1.0f); rounding = ImMin(rounding, ImFabs(b.y - a.y) * ( ((flags & ImDrawFlags_RoundCornersLeft) == ImDrawFlags_RoundCornersLeft) || ((flags & ImDrawFlags_RoundCornersRight) == ImDrawFlags_RoundCornersRight) ? 0.5f : 1.0f ) - 1.0f); - if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) { PathLineTo(a); PathLineTo(ImVec2(b.x, a.y)); @@ -1405,7 +1395,7 @@ void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 c { if ((col & IM_COL32_A_MASK) == 0) return; - if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) { PrimReserve(6, 4); PrimRect(p_min, p_max, col); @@ -1481,7 +1471,7 @@ void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImV void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness) { - if ((col & IM_COL32_A_MASK) == 0 || radius <= 0.0f) + if ((col & IM_COL32_A_MASK) == 0 || radius < 0.5f) return; if (num_segments <= 0) @@ -1505,7 +1495,7 @@ void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int nu void ImDrawList::AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments) { - if ((col & IM_COL32_A_MASK) == 0 || radius <= 0.0f) + if ((col & IM_COL32_A_MASK) == 0 || radius < 0.5f) return; if (num_segments <= 0) @@ -1645,7 +1635,7 @@ void ImDrawList::AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_mi return; flags = FixRectCornerFlags(flags); - if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) + if (rounding < 0.5f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone) { AddImage(user_texture_id, p_min, p_max, uv_min, uv_max, col); return; @@ -1733,13 +1723,13 @@ void ImDrawListSplitter::Merge(ImDrawList* draw_list) for (int i = 1; i < _Count; i++) { ImDrawChannel& ch = _Channels[i]; - - // Equivalent of PopUnusedDrawCmd() for this channel's cmdbuffer and except we don't need to test for UserCallback. - if (ch._CmdBuffer.Size > 0 && ch._CmdBuffer.back().ElemCount == 0) + if (ch._CmdBuffer.Size > 0 && ch._CmdBuffer.back().ElemCount == 0 && ch._CmdBuffer.back().UserCallback == NULL) // Equivalent of PopUnusedDrawCmd() ch._CmdBuffer.pop_back(); if (ch._CmdBuffer.Size > 0 && last_cmd != NULL) { + // Do not include ImDrawCmd_AreSequentialIdxOffset() in the compare as we rebuild IdxOffset values ourselves. + // Manipulating IdxOffset (e.g. by reordering draw commands like done by RenderDimmedBackgroundBehindWindow()) is not supported within a splitter. ImDrawCmd* next_cmd = &ch._CmdBuffer[0]; if (ImDrawCmd_HeaderCompare(last_cmd, next_cmd) == 0 && last_cmd->UserCallback == NULL && next_cmd->UserCallback == NULL) { @@ -2297,10 +2287,11 @@ void ImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256], fl void ImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256], unsigned char* pixels, int x, int y, int w, int h, int stride) { + IM_ASSERT_PARANOID(w <= stride); unsigned char* data = pixels + x + y * stride; - for (int j = h; j > 0; j--, data += stride) - for (int i = 0; i < w; i++) - data[i] = table[data[i]]; + for (int j = h; j > 0; j--, data += stride - w) + for (int i = w; i > 0; i--, data++) + *data = table[*data]; } #ifdef IMGUI_ENABLE_STB_TRUETYPE @@ -2317,7 +2308,7 @@ struct ImFontBuildSrcData int GlyphsHighest; // Highest requested codepoint int GlyphsCount; // Glyph count (excluding missing glyphs and glyphs already set by an earlier source font) ImBitVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB) - ImVector GlyphsList; // Glyph codepoints list (flattened version of GlyphsMap) + ImVector GlyphsList; // Glyph codepoints list (flattened version of GlyphsSet) }; // Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont) @@ -2637,8 +2628,8 @@ void ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* stbrp_context_opa for (int i = 0; i < pack_rects.Size; i++) if (pack_rects[i].was_packed) { - user_rects[i].X = pack_rects[i].x; - user_rects[i].Y = pack_rects[i].y; + user_rects[i].X = (unsigned short)pack_rects[i].x; + user_rects[i].Y = (unsigned short)pack_rects[i].y; IM_ASSERT(pack_rects[i].w == user_rects[i].Width && pack_rects[i].h == user_rects[i].Height); atlas->TexHeight = ImMax(atlas->TexHeight, pack_rects[i].y + pack_rects[i].h); } @@ -2738,13 +2729,13 @@ static void ImFontAtlasBuildRenderLinesTexData(ImFontAtlas* atlas) { unsigned int* write_ptr = &atlas->TexPixelsRGBA32[r->X + ((r->Y + y) * atlas->TexWidth)]; for (unsigned int i = 0; i < pad_left; i++) - *(write_ptr + i) = IM_COL32_BLACK_TRANS; + *(write_ptr + i) = IM_COL32(255, 255, 255, 0); for (unsigned int i = 0; i < line_width; i++) *(write_ptr + pad_left + i) = IM_COL32_WHITE; for (unsigned int i = 0; i < pad_right; i++) - *(write_ptr + pad_left + line_width + i) = IM_COL32_BLACK_TRANS; + *(write_ptr + pad_left + line_width + i) = IM_COL32(255, 255, 255, 0); } // Calculate UVs for this line @@ -2817,6 +2808,17 @@ const ImWchar* ImFontAtlas::GetGlyphRangesDefault() return &ranges[0]; } +const ImWchar* ImFontAtlas::GetGlyphRangesGreek() +{ + static const ImWchar ranges[] = + { + 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x0370, 0x03FF, // Greek and Coptic + 0, + }; + return &ranges[0]; +} + const ImWchar* ImFontAtlas::GetGlyphRangesKorean() { static const ImWchar ranges[] = @@ -3329,11 +3331,21 @@ const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const return &Glyphs.Data[i]; } +// Wrapping skips upcoming blanks +static inline const char* CalcWordWrapNextLineStartA(const char* text, const char* text_end) +{ + while (text < text_end && ImCharIsBlankA(*text)) + text++; + if (*text == '\n') + text++; + return text; +} + +// Simple word-wrapping for English, not full-featured. Please submit failing cases! +// This will return the next location to wrap from. If no wrapping if necessary, this will fast-forward to e.g. text_end. +// FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,", more sensible support for punctuations, support for Unicode punctuations, etc.) const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const { - // Simple word-wrapping for English, not full-featured. Please submit failing cases! - // FIXME: Much possible improvements (don't cut things like "word !", "word!!!" but cut within "word,,,,", more sensible support for punctuations, support for Unicode punctuations, etc.) - // For references, possible wrap point marked with ^ // "aaa bbb, ccc,ddd. eee fff. ggg!" // ^ ^ ^ ^ ^__ ^ ^ @@ -3345,7 +3357,6 @@ const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const c // Cut words that cannot possibly fit within one line. // e.g.: "The tropical fish" with ~5 characters worth of width --> "The tr" "opical" "fish" - float line_width = 0.0f; float word_width = 0.0f; float blank_width = 0.0f; @@ -3425,6 +3436,10 @@ const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const c s = next_s; } + // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. + // +1 may not be a character start point in UTF-8 but it's ok because caller loops use (text >= word_wrap_eol). + if (s == text && text < text_end) + return s + 1; return s; } @@ -3449,11 +3464,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons { // Calculate how far we can render. Requires two passes on the string data but keeps the code simple and not intrusive for what's essentially an uncommon feature. if (!word_wrap_eol) - { word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - line_width); - if (word_wrap_eol == s) // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. - word_wrap_eol++; // +1 may not be a character start point in UTF-8 but it's ok because we use s >= word_wrap_eol below - } if (s >= word_wrap_eol) { @@ -3462,13 +3473,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons text_size.y += line_height; line_width = 0.0f; word_wrap_eol = NULL; - - // Wrapping skips upcoming blanks - while (s < text_end) - { - const char c = *s; - if (ImCharIsBlankA(c)) { s++; } else if (c == '\n') { s++; break; } else { break; } - } + s = CalcWordWrapNextLineStartA(s, text_end); // Wrapping skips upcoming blanks continue; } } @@ -3523,7 +3528,7 @@ ImVec2 ImFont::CalcTextSizeA(float size, float max_width, float wrap_width, cons } // Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound. -void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, ImWchar c) const +void ImFont::RenderChar(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, ImWchar c) const { const ImFontGlyph* glyph = FindGlyph(c); if (!glyph || !glyph->Visible) @@ -3531,38 +3536,47 @@ void ImFont::RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col if (glyph->Colored) col |= ~IM_COL32_A_MASK; float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f; - pos.x = IM_FLOOR(pos.x); - pos.y = IM_FLOOR(pos.y); + float x = IM_FLOOR(pos.x); + float y = IM_FLOOR(pos.y); draw_list->PrimReserve(6, 4); - draw_list->PrimRectUV(ImVec2(pos.x + glyph->X0 * scale, pos.y + glyph->Y0 * scale), ImVec2(pos.x + glyph->X1 * scale, pos.y + glyph->Y1 * scale), ImVec2(glyph->U0, glyph->V0), ImVec2(glyph->U1, glyph->V1), col); + draw_list->PrimRectUV(ImVec2(x + glyph->X0 * scale, y + glyph->Y0 * scale), ImVec2(x + glyph->X1 * scale, y + glyph->Y1 * scale), ImVec2(glyph->U0, glyph->V0), ImVec2(glyph->U1, glyph->V1), col); } // Note: as with every ImDrawList drawing function, this expects that the font atlas texture is bound. -void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) const +void ImFont::RenderText(ImDrawList* draw_list, float size, const ImVec2& pos, ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width, bool cpu_fine_clip) const { if (!text_end) text_end = text_begin + strlen(text_begin); // ImGui:: functions generally already provides a valid text_end, so this is merely to handle direct calls. // Align to be pixel perfect - pos.x = IM_FLOOR(pos.x); - pos.y = IM_FLOOR(pos.y); - float x = pos.x; - float y = pos.y; + float x = IM_FLOOR(pos.x); + float y = IM_FLOOR(pos.y); if (y > clip_rect.w) return; + const float start_x = x; const float scale = size / FontSize; const float line_height = FontSize * scale; const bool word_wrap_enabled = (wrap_width > 0.0f); - const char* word_wrap_eol = NULL; // Fast-forward to first visible line const char* s = text_begin; - if (y + line_height < clip_rect.y && !word_wrap_enabled) + if (y + line_height < clip_rect.y) while (y + line_height < clip_rect.y && s < text_end) { - s = (const char*)memchr(s, '\n', text_end - s); - s = s ? s + 1 : text_end; + const char* line_end = (const char*)memchr(s, '\n', text_end - s); + if (word_wrap_enabled) + { + // FIXME-OPT: This is not optimal as do first do a search for \n before calling CalcWordWrapPositionA(). + // If the specs for CalcWordWrapPositionA() were reworked to optionally return on \n we could combine both. + // However it is still better than nothing performing the fast-forward! + s = CalcWordWrapPositionA(scale, s, line_end, wrap_width); + s = CalcWordWrapNextLineStartA(s, text_end); + } + else + { + s = line_end ? line_end + 1 : text_end; + } y += line_height; } @@ -3594,6 +3608,7 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col unsigned int vtx_current_idx = draw_list->_VtxCurrentIdx; const ImU32 col_untinted = col | ~IM_COL32_A_MASK; + const char* word_wrap_eol = NULL; while (s < text_end) { @@ -3601,24 +3616,14 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col { // Calculate how far we can render. Requires two passes on the string data but keeps the code simple and not intrusive for what's essentially an uncommon feature. if (!word_wrap_eol) - { - word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - pos.x)); - if (word_wrap_eol == s) // Wrap_width is too small to fit anything. Force displaying 1 character to minimize the height discontinuity. - word_wrap_eol++; // +1 may not be a character start point in UTF-8 but it's ok because we use s >= word_wrap_eol below - } + word_wrap_eol = CalcWordWrapPositionA(scale, s, text_end, wrap_width - (x - start_x)); if (s >= word_wrap_eol) { - x = pos.x; + x = start_x; y += line_height; word_wrap_eol = NULL; - - // Wrapping skips upcoming blanks - while (s < text_end) - { - const char c = *s; - if (ImCharIsBlankA(c)) { s++; } else if (c == '\n') { s++; break; } else { break; } - } + s = CalcWordWrapNextLineStartA(s, text_end); // Wrapping skips upcoming blanks continue; } } @@ -3640,7 +3645,7 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col { if (c == '\n') { - x = pos.x; + x = start_x; y += line_height; if (y > clip_rect.w) break; // break out of main loop @@ -3736,7 +3741,6 @@ void ImFont::RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col // - RenderArrow() // - RenderBullet() // - RenderCheckMark() -// - RenderMouseCursor() // - RenderArrowPointingAt() // - RenderRectFilledRangeH() // - RenderRectFilledWithHole() @@ -3797,27 +3801,6 @@ void ImGui::RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float draw_list->PathStroke(col, 0, thickness); } -void ImGui::RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow) -{ - if (mouse_cursor == ImGuiMouseCursor_None) - return; - IM_ASSERT(mouse_cursor > ImGuiMouseCursor_None && mouse_cursor < ImGuiMouseCursor_COUNT); - - ImFontAtlas* font_atlas = draw_list->_Data->Font->ContainerAtlas; - ImVec2 offset, size, uv[4]; - if (font_atlas->GetMouseCursorTexData(mouse_cursor, &offset, &size, &uv[0], &uv[2])) - { - pos -= offset; - ImTextureID tex_id = font_atlas->TexID; - draw_list->PushTextureID(tex_id); - draw_list->AddImage(tex_id, pos + ImVec2(1, 0) * scale, pos + (ImVec2(1, 0) + size) * scale, uv[2], uv[3], col_shadow); - draw_list->AddImage(tex_id, pos + ImVec2(2, 0) * scale, pos + (ImVec2(2, 0) + size) * scale, uv[2], uv[3], col_shadow); - draw_list->AddImage(tex_id, pos, pos + size * scale, uv[2], uv[3], col_border); - draw_list->AddImage(tex_id, pos, pos + size * scale, uv[0], uv[1], col_fill); - draw_list->PopTextureID(); - } -} - // Render an arrow. 'pos' is position of the arrow tip. half_sz.x is length from base to tip. half_sz.y is length on each side. void ImGui::RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col) { @@ -3900,7 +3883,7 @@ void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, Im draw_list->PathFillConvex(col); } -void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, ImRect outer, ImRect inner, ImU32 col, float rounding) +void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding) { const bool fill_L = (inner.Min.x > outer.Min.x); const bool fill_R = (inner.Max.x < outer.Max.x); diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui_internal.h b/imgui-sys/third-party/imgui-master/imgui/imgui_internal.h index 73d58f6..816141e 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui_internal.h +++ b/imgui-sys/third-party/imgui-master/imgui/imgui_internal.h @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (internal structures/api) // You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility! @@ -18,6 +18,7 @@ Index of this file: // [SECTION] Generic helpers // [SECTION] ImDrawList support // [SECTION] Widgets support: flags, enums, data structures +// [SECTION] Inputs support // [SECTION] Clipper support // [SECTION] Navigation support // [SECTION] Columns support @@ -25,6 +26,7 @@ Index of this file: // [SECTION] Docking support // [SECTION] Viewport support // [SECTION] Settings support +// [SECTION] Localization support // [SECTION] Metrics, Debug tools // [SECTION] Generic context hooks // [SECTION] ImGuiContext (main imgui context) @@ -120,6 +122,7 @@ struct ImGuiDataTypeInfo; // Type information associated to a ImGuiDat struct ImGuiGroupData; // Stacked storage data for BeginGroup()/EndGroup() struct ImGuiInputTextState; // Internal state of the currently focused/edited text input box struct ImGuiLastItemData; // Status storage for last submitted items +struct ImGuiLocEntry; // A localization entry. struct ImGuiMenuColumns; // Simple column measurement, currently used for MenuItem() only struct ImGuiNavItemData; // Result of a gamepad/keyboard directional navigation move query result struct ImGuiMetricsConfig; // Storage for ShowMetricsWindow() and DebugNodeXXX() functions @@ -135,6 +138,7 @@ struct ImGuiTabBar; // Storage for a tab bar struct ImGuiTabItem; // Storage for a tab item (within a tab bar) struct ImGuiTable; // Storage for a table struct ImGuiTableColumn; // Storage for one column of a table +struct ImGuiTableInstanceData; // Storage for one instance of a same table struct ImGuiTableTempData; // Temporary storage for one table (one per table in the stack), shared between tables. struct ImGuiTableSettings; // Storage for a table .ini settings struct ImGuiTableColumnsSettings; // Storage for a column .ini settings @@ -142,14 +146,19 @@ struct ImGuiWindow; // Storage for one window struct ImGuiWindowTempData; // Temporary storage for one window (that's the data which in theory we could ditch at the end of the frame, in practice we currently keep it for each window) struct ImGuiWindowSettings; // Storage for a window .ini settings (we keep one of those even if the actual window wasn't instanced during this session) +// Enumerations // Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists. +enum ImGuiLocKey : int; // -> enum ImGuiLocKey // Enum: a localization entry for translation. typedef int ImGuiLayoutType; // -> enum ImGuiLayoutType_ // Enum: Horizontal or vertical + +// Flags typedef int ImGuiActivateFlags; // -> enum ImGuiActivateFlags_ // Flags: for navigation/focus function (will be for ActivateItem() later) -typedef int ImGuiItemFlags; // -> enum ImGuiItemFlags_ // Flags: for PushItemFlag() -typedef int ImGuiItemStatusFlags; // -> enum ImGuiItemStatusFlags_ // Flags: for DC.LastItemStatusFlags +typedef int ImGuiDebugLogFlags; // -> enum ImGuiDebugLogFlags_ // Flags: for ShowDebugLogWindow(), g.DebugLogFlags +typedef int ImGuiInputFlags; // -> enum ImGuiInputFlags_ // Flags: for IsKeyPressed(), IsMouseClicked(), SetKeyOwner(), SetItemKeyOwner() etc. +typedef int ImGuiItemFlags; // -> enum ImGuiItemFlags_ // Flags: for PushItemFlag(), g.LastItemData.InFlags +typedef int ImGuiItemStatusFlags; // -> enum ImGuiItemStatusFlags_ // Flags: for g.LastItemData.StatusFlags typedef int ImGuiOldColumnFlags; // -> enum ImGuiOldColumnFlags_ // Flags: for BeginColumns() typedef int ImGuiNavHighlightFlags; // -> enum ImGuiNavHighlightFlags_ // Flags: for RenderNavHighlight() -typedef int ImGuiNavDirSourceFlags; // -> enum ImGuiNavDirSourceFlags_ // Flags: for GetNavInputAmount2d() typedef int ImGuiNavMoveFlags; // -> enum ImGuiNavMoveFlags_ // Flags: for navigation requests typedef int ImGuiNextItemDataFlags; // -> enum ImGuiNextItemDataFlags_ // Flags: for SetNextItemXXX() functions typedef int ImGuiNextWindowDataFlags; // -> enum ImGuiNextWindowDataFlags_// Flags: for SetNextWindowXXX() functions @@ -191,23 +200,27 @@ namespace ImStb // [SECTION] Macros //----------------------------------------------------------------------------- -// Debug Logging -#ifndef IMGUI_DEBUG_LOG -#define IMGUI_DEBUG_LOG(_FMT,...) printf("[%05d] " _FMT, GImGui->FrameCount, __VA_ARGS__) +// Debug Printing Into TTY +// (since IMGUI_VERSION_NUM >= 18729: IMGUI_DEBUG_LOG was reworked into IMGUI_DEBUG_PRINTF (and removed framecount from it). If you were using a #define IMGUI_DEBUG_LOG please rename) +#ifndef IMGUI_DEBUG_PRINTF +#ifndef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS +#define IMGUI_DEBUG_PRINTF(_FMT,...) printf(_FMT, __VA_ARGS__) +#else +#define IMGUI_DEBUG_PRINTF(_FMT,...) +#endif #endif -// Debug Logging for selected systems. Remove the '((void)0) //' to enable. -//#define IMGUI_DEBUG_LOG_POPUP IMGUI_DEBUG_LOG // Enable log -//#define IMGUI_DEBUG_LOG_NAV IMGUI_DEBUG_LOG // Enable log -#define IMGUI_DEBUG_LOG_POPUP(...) ((void)0) // Disable log -#define IMGUI_DEBUG_LOG_NAV(...) ((void)0) // Disable log +// Debug Logging for ShowDebugLogWindow(). This is designed for relatively rare events so please don't spam. +#define IMGUI_DEBUG_LOG(...) ImGui::DebugLog(__VA_ARGS__) +#define IMGUI_DEBUG_LOG_ACTIVEID(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_FOCUS(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_POPUP(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_NAV(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_CLIPPER(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) +#define IMGUI_DEBUG_LOG_IO(...) do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0) // Static Asserts -#if (__cplusplus >= 201100) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201100) #define IM_STATIC_ASSERT(_COND) static_assert(_COND, "") -#else -#define IM_STATIC_ASSERT(_COND) typedef char static_assertion_##__line__[(_COND)?1:-1] -#endif // "Paranoid" Debug Asserts are meant to only be enabled during specific debugging/work, otherwise would slow down the code too much. // We currently don't have many of those so the effect is currently negligible, but onward intent to add more aggressive ones in the code. @@ -231,8 +244,10 @@ namespace ImStb #else #define IM_NEWLINE "\n" #endif +#ifndef IM_TABSIZE // Until we move this to runtime and/or add proper tab support, at least allow users to compile-time override #define IM_TABSIZE (4) -#define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + (_ALIGN - 1)) & ~(_ALIGN - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8 +#endif +#define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8 #define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // Unsaturated, for display purpose #define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255 #define IM_FLOOR(_VAL) ((float)(int)(_VAL)) // ImFloor() is not inlined in MSVC debug builds @@ -279,7 +294,8 @@ namespace ImStb // - Helpers: Hashing // - Helpers: Sorting // - Helpers: Bit manipulation -// - Helpers: String, Formatting +// - Helpers: String +// - Helpers: Formatting // - Helpers: UTF-8 <> wchar conversions // - Helpers: ImVec2/ImVec4 operators // - Helpers: Maths @@ -292,14 +308,12 @@ namespace ImStb // - Helper: ImSpan<>, ImSpanAllocator<> // - Helper: ImPool<> // - Helper: ImChunkStream<> +// - Helper: ImGuiTextIndex //----------------------------------------------------------------------------- // Helpers: Hashing IMGUI_API ImGuiID ImHashData(const void* data, size_t data_size, ImU32 seed = 0); IMGUI_API ImGuiID ImHashStr(const char* data, size_t data_size = 0, ImU32 seed = 0); -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS -static inline ImGuiID ImHash(const void* data, int size, ImU32 seed = 0) { return size ? ImHashData(data, (size_t)size, seed) : ImHashStr((const char*)data, 0, seed); } // [moved to ImHashStr/ImHashData in 1.68] -#endif // Helpers: Sorting #ifndef ImQsort @@ -314,7 +328,7 @@ static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & static inline bool ImIsPowerOfTwo(ImU64 v) { return v != 0 && (v & (v - 1)) == 0; } static inline int ImUpperPowerOfTwo(int v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; } -// Helpers: String, Formatting +// Helpers: String IMGUI_API int ImStricmp(const char* str1, const char* str2); IMGUI_API int ImStrnicmp(const char* str1, const char* str2, size_t count); IMGUI_API void ImStrncpy(char* dst, const char* src, size_t count); @@ -327,14 +341,23 @@ IMGUI_API const ImWchar*ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* bu IMGUI_API const char* ImStristr(const char* haystack, const char* haystack_end, const char* needle, const char* needle_end); IMGUI_API void ImStrTrimBlanks(char* str); IMGUI_API const char* ImStrSkipBlank(const char* str); +IM_MSVC_RUNTIME_CHECKS_OFF +static inline char ImToUpper(char c) { return (c >= 'a' && c <= 'z') ? c &= ~32 : c; } +static inline bool ImCharIsBlankA(char c) { return c == ' ' || c == '\t'; } +static inline bool ImCharIsBlankW(unsigned int c) { return c == ' ' || c == '\t' || c == 0x3000; } +IM_MSVC_RUNTIME_CHECKS_RESTORE + +// Helpers: Formatting IMGUI_API int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...) IM_FMTARGS(3); IMGUI_API int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args) IM_FMTLIST(3); +IMGUI_API void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) IM_FMTARGS(3); +IMGUI_API void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) IM_FMTLIST(3); IMGUI_API const char* ImParseFormatFindStart(const char* format); IMGUI_API const char* ImParseFormatFindEnd(const char* format); IMGUI_API const char* ImParseFormatTrimDecorations(const char* format, char* buf, size_t buf_size); +IMGUI_API void ImParseFormatSanitizeForPrinting(const char* fmt_in, char* fmt_out, size_t fmt_out_size); +IMGUI_API const char* ImParseFormatSanitizeForScanning(const char* fmt_in, char* fmt_out, size_t fmt_out_size); IMGUI_API int ImParseFormatPrecision(const char* format, int default_value); -static inline bool ImCharIsBlankA(char c) { return c == ' ' || c == '\t'; } -static inline bool ImCharIsBlankW(unsigned int c) { return c == ' ' || c == '\t' || c == 0x3000; } // Helpers: UTF-8 <> wchar conversions IMGUI_API const char* ImTextCharToUtf8(char out_buf[5], unsigned int c); // return out_buf @@ -441,8 +464,9 @@ static inline float ImLengthSqr(const ImVec2& lhs) static inline float ImLengthSqr(const ImVec4& lhs) { return (lhs.x * lhs.x) + (lhs.y * lhs.y) + (lhs.z * lhs.z) + (lhs.w * lhs.w); } static inline float ImInvLength(const ImVec2& lhs, float fail_value) { float d = (lhs.x * lhs.x) + (lhs.y * lhs.y); if (d > 0.0f) return ImRsqrt(d); return fail_value; } static inline float ImFloor(float f) { return (float)(int)(f); } -static inline float ImFloorSigned(float f) { return (float)((f >= 0 || (int)f == f) ? (int)f : (int)f - 1); } // Decent replacement for floorf() +static inline float ImFloorSigned(float f) { return (float)((f >= 0 || (float)(int)f == f) ? (int)f : (int)f - 1); } // Decent replacement for floorf() static inline ImVec2 ImFloor(const ImVec2& v) { return ImVec2((float)(int)(v.x), (float)(int)(v.y)); } +static inline ImVec2 ImFloorSigned(const ImVec2& v) { return ImVec2(ImFloorSigned(v.x), ImFloorSigned(v.y)); } static inline int ImModPositive(int a, int b) { return (a + b) % b; } static inline float ImDot(const ImVec2& a, const ImVec2& b) { return a.x * b.x + a.y * b.y; } static inline ImVec2 ImRotate(const ImVec2& v, float cos_a, float sin_a) { return ImVec2(v.x * cos_a - v.y * sin_a, v.x * sin_a + v.y * cos_a); } @@ -469,17 +493,17 @@ IM_MSVC_RUNTIME_CHECKS_OFF struct ImVec1 { float x; - ImVec1() { x = 0.0f; } - ImVec1(float _x) { x = _x; } + constexpr ImVec1() : x(0.0f) { } + constexpr ImVec1(float _x) : x(_x) { } }; // Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage) struct ImVec2ih { short x, y; - ImVec2ih() { x = y = 0; } - ImVec2ih(short _x, short _y) { x = _x; y = _y; } - explicit ImVec2ih(const ImVec2& rhs) { x = (short)rhs.x; y = (short)rhs.y; } + constexpr ImVec2ih() : x(0), y(0) {} + constexpr ImVec2ih(short _x, short _y) : x(_x), y(_y) {} + constexpr explicit ImVec2ih(const ImVec2& rhs) : x((short)rhs.x), y((short)rhs.y) {} }; // Helper: ImRect (2D axis aligned bounding-box) @@ -489,10 +513,10 @@ struct IMGUI_API ImRect ImVec2 Min; // Upper-left ImVec2 Max; // Lower-right - ImRect() : Min(0.0f, 0.0f), Max(0.0f, 0.0f) {} - ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} - ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} - ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} + constexpr ImRect() : Min(0.0f, 0.0f), Max(0.0f, 0.0f) {} + constexpr ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} + constexpr ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} + constexpr ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + Max.y) * 0.5f); } ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } @@ -540,17 +564,18 @@ inline void ImBitArraySetBitRange(ImU32* arr, int n, int n2) // Works on ran // Helper: ImBitArray class (wrapper over ImBitArray functions) // Store 1-bit per value. -template -struct IMGUI_API ImBitArray +template +struct ImBitArray { ImU32 Storage[(BITCOUNT + 31) >> 5]; ImBitArray() { ClearAllBits(); } void ClearAllBits() { memset(Storage, 0, sizeof(Storage)); } void SetAllBits() { memset(Storage, 255, sizeof(Storage)); } - bool TestBit(int n) const { IM_ASSERT(n < BITCOUNT); return ImBitArrayTestBit(Storage, n); } - void SetBit(int n) { IM_ASSERT(n < BITCOUNT); ImBitArraySetBit(Storage, n); } - void ClearBit(int n) { IM_ASSERT(n < BITCOUNT); ImBitArrayClearBit(Storage, n); } - void SetBitRange(int n, int n2) { ImBitArraySetBitRange(Storage, n, n2); } // Works on range [n..n2) + bool TestBit(int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return ImBitArrayTestBit(Storage, n); } + void SetBit(int n) { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); ImBitArraySetBit(Storage, n); } + void ClearBit(int n) { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); ImBitArrayClearBit(Storage, n); } + void SetBitRange(int n, int n2) { n += OFFSET; n2 += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT && n2 > n && n2 <= BITCOUNT); ImBitArraySetBitRange(Storage, n, n2); } // Works on range [n..n2) + bool operator[](int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return ImBitArrayTestBit(Storage, n); } }; // Helper: ImBitVector @@ -621,7 +646,7 @@ struct ImSpanAllocator // Honor constructor/destructor. Add/remove invalidate all pointers. Indexes have the same lifetime as the associated object. typedef int ImPoolIdx; template -struct IMGUI_API ImPool +struct ImPool { ImVector Buf; // Contiguous data ImGuiStorage Map; // ID->Index @@ -658,7 +683,7 @@ struct IMGUI_API ImPool // We store the chunk size first, and align the final size on 4 bytes boundaries. // The tedious/zealous amount of casting is to avoid -Wcast-align warnings. template -struct IMGUI_API ImChunkStream +struct ImChunkStream { ImVector Buf; @@ -676,6 +701,20 @@ struct IMGUI_API ImChunkStream }; +// Helper: ImGuiTextIndex<> +// Maintain a line index for a text buffer. This is a strong candidate to be moved into the public API. +struct ImGuiTextIndex +{ + ImVector LineOffsets; + int EndOffset = 0; // Because we don't own text buffer we need to maintain EndOffset (may bake in LineOffsets?) + + void clear() { LineOffsets.clear(); EndOffset = 0; } + int size() { return LineOffsets.Size; } + const char* get_line_begin(const char* base, int n) { return base + LineOffsets[n]; } + const char* get_line_end(const char* base, int n) { return base + (n + 1 < LineOffsets.Size ? (LineOffsets[n + 1] - 1) : EndOffset); } + void append(const char* base, int old_size, int new_size); +}; + //----------------------------------------------------------------------------- // [SECTION] ImDrawList support //----------------------------------------------------------------------------- @@ -690,7 +729,6 @@ struct IMGUI_API ImChunkStream // // Rendering circles with an odd number of segments, while mathematically correct will produce // asymmetrical results on the raster grid. Therefore we're rounding N to next even number (7->8, 8->8, 9->10 etc.) -// #define IM_ROUNDUP_TO_EVEN(_V) ((((_V) + 1) / 2) * 2) #define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN 4 #define IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX 512 @@ -718,6 +756,9 @@ struct IMGUI_API ImDrawListSharedData ImVec4 ClipRectFullscreen; // Value for PushClipRectFullscreen() ImDrawListFlags InitialFlags; // Initial flags at the beginning of the frame (it is possible to alter flags on a per-drawlist basis afterwards) + // [Internal] Temp write buffer + ImVector TempBuffer; + // [Internal] Lookup tables ImVec2 ArcFastVtx[IM_DRAWLIST_ARCFAST_TABLE_SIZE]; // Sample points on the quarter of the circle. float ArcFastRadiusCutoff; // Cutoff radius after which arc drawing will fallback to slower PathArcTo() @@ -742,10 +783,14 @@ struct ImDrawDataBuilder // [SECTION] Widgets support: flags, enums, data structures //----------------------------------------------------------------------------- -// Transient per-window flags, reset at the beginning of the frame. For child window, inherited from parent on first Begin(). +// Flags used by upcoming items +// - input: PushItemFlag() manipulates g.CurrentItemFlags, ItemAdd() calls may add extra flags. +// - output: stored in g.LastItemData.InFlags +// Current window shared by all windows. // This is going to be exposed in imgui.h when stabilized enough. enum ImGuiItemFlags_ { + // Controlled by user ImGuiItemFlags_None = 0, ImGuiItemFlags_NoTabStop = 1 << 0, // false // Disable keyboard tabbing (FIXME: should merge with _NoNav) ImGuiItemFlags_ButtonRepeat = 1 << 1, // false // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings. @@ -755,10 +800,14 @@ enum ImGuiItemFlags_ ImGuiItemFlags_SelectableDontClosePopup = 1 << 5, // false // Disable MenuItem/Selectable() automatically closing their popup window ImGuiItemFlags_MixedValue = 1 << 6, // false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets) ImGuiItemFlags_ReadOnly = 1 << 7, // false // [ALPHA] Allow hovering interactions but underlying value is not changed. - ImGuiItemFlags_Inputable = 1 << 8 // false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature. + ImGuiItemFlags_NoWindowHoverableCheck = 1 << 8, // false // Disable hoverable check in ItemHoverable() + + // Controlled by widget code + ImGuiItemFlags_Inputable = 1 << 10, // false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature. }; -// Storage for LastItem data +// Status flags for an already submitted item +// - output: stored in g.LastItemData.StatusFlags enum ImGuiItemStatusFlags_ { ImGuiItemStatusFlags_None = 0, @@ -770,14 +819,14 @@ enum ImGuiItemStatusFlags_ ImGuiItemStatusFlags_HasDeactivated = 1 << 5, // Set if the widget/group is able to provide data for the ImGuiItemStatusFlags_Deactivated flag. ImGuiItemStatusFlags_Deactivated = 1 << 6, // Only valid if ImGuiItemStatusFlags_HasDeactivated is set. ImGuiItemStatusFlags_HoveredWindow = 1 << 7, // Override the HoveredWindow test to allow cross-window hover testing. - ImGuiItemStatusFlags_FocusedByTabbing = 1 << 8 // Set when the Focusable item just got focused by Tabbing (FIXME: to be removed soon) + ImGuiItemStatusFlags_FocusedByTabbing = 1 << 8, // Set when the Focusable item just got focused by Tabbing (FIXME: to be removed soon) + ImGuiItemStatusFlags_Visible = 1 << 9, // [WIP] Set when item is overlapping the current clipping rectangle (Used internally. Please don't use yet: API/system will change as we refactor Itemadd()). #ifdef IMGUI_ENABLE_TEST_ENGINE - , // [imgui_tests only] - ImGuiItemStatusFlags_Openable = 1 << 20, // + ImGuiItemStatusFlags_Openable = 1 << 20, // Item is an openable (e.g. TreeNode) ImGuiItemStatusFlags_Opened = 1 << 21, // - ImGuiItemStatusFlags_Checkable = 1 << 22, // - ImGuiItemStatusFlags_Checked = 1 << 23 // + ImGuiItemStatusFlags_Checkable = 1 << 22, // Item is a checkable (e.g. CheckBox, MenuItem) + ImGuiItemStatusFlags_Checked = 1 << 23, // #endif }; @@ -787,7 +836,7 @@ enum ImGuiInputTextFlagsPrivate_ // [Internal] ImGuiInputTextFlags_Multiline = 1 << 26, // For internal use by InputTextMultiline() ImGuiInputTextFlags_NoMarkEdited = 1 << 27, // For internal use by functions using InputText() before reformatting data - ImGuiInputTextFlags_MergedItem = 1 << 28 // For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match. + ImGuiInputTextFlags_MergedItem = 1 << 28, // For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match. }; // Extend ImGuiButtonFlags_ @@ -807,23 +856,25 @@ enum ImGuiButtonFlagsPrivate_ ImGuiButtonFlags_AlignTextBaseLine = 1 << 15, // vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine ImGuiButtonFlags_NoKeyModifiers = 1 << 16, // disable mouse interaction if a key modifier is held ImGuiButtonFlags_NoHoldingActiveId = 1 << 17, // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only) - ImGuiButtonFlags_NoNavFocus = 1 << 18, // don't override navigation focus when activated + ImGuiButtonFlags_NoNavFocus = 1 << 18, // don't override navigation focus when activated (FIXME: this is essentially used everytime an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.InFlags) ImGuiButtonFlags_NoHoveredOnFocus = 1 << 19, // don't report as hovered when nav focus is on this item + ImGuiButtonFlags_NoSetKeyOwner = 1 << 20, // don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) + ImGuiButtonFlags_NoTestKeyOwner = 1 << 21, // don't test key/input owner when polling the key (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) ImGuiButtonFlags_PressedOnMask_ = ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold, - ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease + ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease, }; // Extend ImGuiComboFlags_ enum ImGuiComboFlagsPrivate_ { - ImGuiComboFlags_CustomPreview = 1 << 20 // enable BeginComboPreview() + ImGuiComboFlags_CustomPreview = 1 << 20, // enable BeginComboPreview() }; // Extend ImGuiSliderFlags_ enum ImGuiSliderFlagsPrivate_ { ImGuiSliderFlags_Vertical = 1 << 20, // Should this slider be orientated vertically? - ImGuiSliderFlags_ReadOnly = 1 << 21 + ImGuiSliderFlags_ReadOnly = 1 << 21, }; // Extend ImGuiSelectableFlags_ @@ -837,33 +888,34 @@ enum ImGuiSelectableFlagsPrivate_ ImGuiSelectableFlags_SpanAvailWidth = 1 << 24, // Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus) ImGuiSelectableFlags_DrawHoveredWhenHeld = 1 << 25, // Always show active when held, even is not hovered. This concept could probably be renamed/formalized somehow. ImGuiSelectableFlags_SetNavIdOnHover = 1 << 26, // Set Nav/Focus ID on mouse hover (used by MenuItem) - ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27 // Disable padding each side with ItemSpacing * 0.5f + ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 27, // Disable padding each side with ItemSpacing * 0.5f + ImGuiSelectableFlags_NoSetKeyOwner = 1 << 28, // Don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!) }; // Extend ImGuiTreeNodeFlags_ enum ImGuiTreeNodeFlagsPrivate_ { - ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20 + ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20, }; enum ImGuiSeparatorFlags_ { - ImGuiSeparatorFlags_None = 0, - ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar - ImGuiSeparatorFlags_Vertical = 1 << 1, - ImGuiSeparatorFlags_SpanAllColumns = 1 << 2 + ImGuiSeparatorFlags_None = 0, + ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar + ImGuiSeparatorFlags_Vertical = 1 << 1, + ImGuiSeparatorFlags_SpanAllColumns = 1 << 2, }; enum ImGuiTextFlags_ { - ImGuiTextFlags_None = 0, - ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0 + ImGuiTextFlags_None = 0, + ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0, }; enum ImGuiTooltipFlags_ { - ImGuiTooltipFlags_None = 0, - ImGuiTooltipFlags_OverridePreviousTooltip = 1 << 0 // Override will clear/ignore previously submitted tooltip (defaults to append) + ImGuiTooltipFlags_None = 0, + ImGuiTooltipFlags_OverridePreviousTooltip = 1 << 0, // Override will clear/ignore previously submitted tooltip (defaults to append) }; // FIXME: this is in development, not exposed/functional as a generic feature yet. @@ -880,7 +932,7 @@ enum ImGuiLogType ImGuiLogType_TTY, ImGuiLogType_File, ImGuiLogType_Buffer, - ImGuiLogType_Clipboard + ImGuiLogType_Clipboard, }; // X/Y enums are fixed to 0/1 so they may be used to index ImVec2 @@ -894,36 +946,14 @@ enum ImGuiAxis enum ImGuiPlotType { ImGuiPlotType_Lines, - ImGuiPlotType_Histogram -}; - -enum ImGuiInputSource -{ - ImGuiInputSource_None = 0, - ImGuiInputSource_Mouse, - ImGuiInputSource_Keyboard, - ImGuiInputSource_Gamepad, - ImGuiInputSource_Nav, // Stored in g.ActiveIdSource only - ImGuiInputSource_Clipboard, // Currently only used by InputText() - ImGuiInputSource_COUNT -}; - -// FIXME-NAV: Clarify/expose various repeat delay/rate -enum ImGuiInputReadMode -{ - ImGuiInputReadMode_Down, - ImGuiInputReadMode_Pressed, - ImGuiInputReadMode_Released, - ImGuiInputReadMode_Repeat, - ImGuiInputReadMode_RepeatSlow, - ImGuiInputReadMode_RepeatFast + ImGuiPlotType_Histogram, }; enum ImGuiPopupPositionPolicy { ImGuiPopupPositionPolicy_Default, ImGuiPopupPositionPolicy_ComboBox, - ImGuiPopupPositionPolicy_Tooltip + ImGuiPopupPositionPolicy_Tooltip, }; struct ImGuiDataTypeTempStorage @@ -945,14 +975,14 @@ enum ImGuiDataTypePrivate_ { ImGuiDataType_String = ImGuiDataType_COUNT + 1, ImGuiDataType_Pointer, - ImGuiDataType_ID + ImGuiDataType_ID, }; // Stacked color modifier, backup of modified data so we can restore it struct ImGuiColorMod { - ImGuiCol Col; - ImVec4 BackupValue; + ImGuiCol Col; + ImVec4 BackupValue; }; // Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable. @@ -1029,7 +1059,7 @@ struct IMGUI_API ImGuiInputTextState bool CursorFollow; // set when we want scrolling to follow the current cursor position (not always!) bool SelectedAllMouseLock; // after a double-click to select all, we ignore further mouse drags to update selection bool Edited; // edited this frame - ImGuiInputTextFlags Flags; // copy of InputText() flags + ImGuiInputTextFlags Flags; // copy of InputText() flags. may be used to check if e.g. ImGuiInputTextFlags_Password is set. ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } void ClearText() { CurLenW = CurLenA = 0; TextW[0] = 0; TextA[0] = 0; CursorClamp(); } @@ -1054,13 +1084,14 @@ struct ImGuiPopupData { ImGuiID PopupId; // Set on OpenPopup() ImGuiWindow* Window; // Resolved on BeginPopup() - may stay unresolved if user never calls OpenPopup() - ImGuiWindow* SourceWindow; // Set on OpenPopup() copy of NavWindow at the time of opening the popup + ImGuiWindow* BackupNavWindow;// Set on OpenPopup(), a NavWindow that will be restored on popup close + int ParentNavLayer; // Resolved on BeginPopup(). Actually a ImGuiNavLayer type (declared down below), initialized to -1 which is not part of an enum, but serves well-enough as "not any of layers" value int OpenFrameCount; // Set on OpenPopup() ImGuiID OpenParentId; // Set on OpenPopup(), we need this to differentiate multiple menu sets from each others (e.g. inside menu bar vs loose menu items) ImVec2 OpenPopupPos; // Set on OpenPopup(), preferred popup position (typically == OpenMousePos when using mouse) ImVec2 OpenMousePos; // Set on OpenPopup(), copy of mouse position at the time of opening popup - ImGuiPopupData() { memset(this, 0, sizeof(*this)); OpenFrameCount = -1; } + ImGuiPopupData() { memset(this, 0, sizeof(*this)); ParentNavLayer = OpenFrameCount = -1; } }; enum ImGuiNextWindowDataFlags_ @@ -1073,7 +1104,7 @@ enum ImGuiNextWindowDataFlags_ ImGuiNextWindowDataFlags_HasSizeConstraint = 1 << 4, ImGuiNextWindowDataFlags_HasFocus = 1 << 5, ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6, - ImGuiNextWindowDataFlags_HasScroll = 1 << 7 + ImGuiNextWindowDataFlags_HasScroll = 1 << 7, }; // Storage for SetNexWindow** functions @@ -1103,7 +1134,7 @@ enum ImGuiNextItemDataFlags_ { ImGuiNextItemDataFlags_None = 0, ImGuiNextItemDataFlags_HasWidth = 1 << 0, - ImGuiNextItemDataFlags_HasOpen = 1 << 1 + ImGuiNextItemDataFlags_HasOpen = 1 << 1, }; struct ImGuiNextItemData @@ -1160,6 +1191,7 @@ struct ImGuiShrinkWidthItem { int Index; float Width; + float InitialWidth; }; struct ImGuiPtrOrIndex @@ -1171,6 +1203,174 @@ struct ImGuiPtrOrIndex ImGuiPtrOrIndex(int index) { Ptr = NULL; Index = index; } }; +//----------------------------------------------------------------------------- +// [SECTION] Inputs support +//----------------------------------------------------------------------------- + +typedef ImBitArray ImBitArrayForNamedKeys; + +// [Internal] Key ranges +#define ImGuiKey_LegacyNativeKey_BEGIN 0 +#define ImGuiKey_LegacyNativeKey_END 512 +#define ImGuiKey_Keyboard_BEGIN (ImGuiKey_NamedKey_BEGIN) +#define ImGuiKey_Keyboard_END (ImGuiKey_GamepadStart) +#define ImGuiKey_Gamepad_BEGIN (ImGuiKey_GamepadStart) +#define ImGuiKey_Gamepad_END (ImGuiKey_GamepadRStickDown + 1) +#define ImGuiKey_Mouse_BEGIN (ImGuiKey_MouseLeft) +#define ImGuiKey_Mouse_END (ImGuiKey_MouseWheelY + 1) +#define ImGuiKey_Aliases_BEGIN (ImGuiKey_Mouse_BEGIN) +#define ImGuiKey_Aliases_END (ImGuiKey_Mouse_END) + +// [Internal] Named shortcuts for Navigation +#define ImGuiKey_NavKeyboardTweakSlow ImGuiMod_Ctrl +#define ImGuiKey_NavKeyboardTweakFast ImGuiMod_Shift +#define ImGuiKey_NavGamepadTweakSlow ImGuiKey_GamepadL1 +#define ImGuiKey_NavGamepadTweakFast ImGuiKey_GamepadR1 +#define ImGuiKey_NavGamepadActivate ImGuiKey_GamepadFaceDown +#define ImGuiKey_NavGamepadCancel ImGuiKey_GamepadFaceRight +#define ImGuiKey_NavGamepadMenu ImGuiKey_GamepadFaceLeft +#define ImGuiKey_NavGamepadInput ImGuiKey_GamepadFaceUp + +enum ImGuiInputEventType +{ + ImGuiInputEventType_None = 0, + ImGuiInputEventType_MousePos, + ImGuiInputEventType_MouseWheel, + ImGuiInputEventType_MouseButton, + ImGuiInputEventType_Key, + ImGuiInputEventType_Text, + ImGuiInputEventType_Focus, + ImGuiInputEventType_COUNT +}; + +enum ImGuiInputSource +{ + ImGuiInputSource_None = 0, + ImGuiInputSource_Mouse, + ImGuiInputSource_Keyboard, + ImGuiInputSource_Gamepad, + ImGuiInputSource_Clipboard, // Currently only used by InputText() + ImGuiInputSource_Nav, // Stored in g.ActiveIdSource only + ImGuiInputSource_COUNT +}; + +// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? +// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' +struct ImGuiInputEventMousePos { float PosX, PosY; }; +struct ImGuiInputEventMouseWheel { float WheelX, WheelY; }; +struct ImGuiInputEventMouseButton { int Button; bool Down; }; +struct ImGuiInputEventKey { ImGuiKey Key; bool Down; float AnalogValue; }; +struct ImGuiInputEventText { unsigned int Char; }; +struct ImGuiInputEventAppFocused { bool Focused; }; + +struct ImGuiInputEvent +{ + ImGuiInputEventType Type; + ImGuiInputSource Source; + union + { + ImGuiInputEventMousePos MousePos; // if Type == ImGuiInputEventType_MousePos + ImGuiInputEventMouseWheel MouseWheel; // if Type == ImGuiInputEventType_MouseWheel + ImGuiInputEventMouseButton MouseButton; // if Type == ImGuiInputEventType_MouseButton + ImGuiInputEventKey Key; // if Type == ImGuiInputEventType_Key + ImGuiInputEventText Text; // if Type == ImGuiInputEventType_Text + ImGuiInputEventAppFocused AppFocused; // if Type == ImGuiInputEventType_Focus + }; + bool AddedByTestEngine; + + ImGuiInputEvent() { memset(this, 0, sizeof(*this)); } +}; + +// Input function taking an 'ImGuiID owner_id' argument defaults to (ImGuiKeyOwner_Any == 0) aka don't test ownership, which matches legacy behavior. +#define ImGuiKeyOwner_Any ((ImGuiID)0) // Accept key that have an owner, UNLESS a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. +#define ImGuiKeyOwner_None ((ImGuiID)-1) // Require key to have no owner. + +typedef ImS16 ImGuiKeyRoutingIndex; + +// Routing table entry (sizeof() == 16 bytes) +struct ImGuiKeyRoutingData +{ + ImGuiKeyRoutingIndex NextEntryIndex; + ImU16 Mods; // Technically we'd only need 4 bits but for simplify we store ImGuiMod_ values which need 16 bits. + ImU8 RoutingNextScore; // Lower is better (0: perfect score) + ImGuiID RoutingCurr; + ImGuiID RoutingNext; + + ImGuiKeyRoutingData() { NextEntryIndex = -1; Mods = 0; RoutingNextScore = 255; RoutingCurr = RoutingNext = ImGuiKeyOwner_None; } +}; + +// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching. +// Stored in main context (1 instance) +struct ImGuiKeyRoutingTable +{ + ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT]; // Index of first entry in Entries[] + ImVector Entries; + ImVector EntriesNext; // Double-buffer to avoid reallocation (could use a shared buffer) + + ImGuiKeyRoutingTable() { Clear(); } + void Clear() { for (int n = 0; n < IM_ARRAYSIZE(Index); n++) Index[n] = -1; Entries.clear(); EntriesNext.clear(); } +}; + +// This extends ImGuiKeyData but only for named keys (legacy keys don't support the new features) +// Stored in main context (1 per named key). In the future it might be merged into ImGuiKeyData. +struct ImGuiKeyOwnerData +{ + ImGuiID OwnerCurr; + ImGuiID OwnerNext; + bool LockThisFrame; // Reading this key requires explicit owner id (until end of frame). Set by ImGuiInputFlags_LockThisFrame. + bool LockUntilRelease; // Reading this key requires explicit owner id (until key is released). Set by ImGuiInputFlags_LockUntilRelease. When this is true LockThisFrame is always true as well. + + ImGuiKeyOwnerData() { OwnerCurr = OwnerNext = ImGuiKeyOwner_None; LockThisFrame = LockUntilRelease = false; } +}; + +// Flags for extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() +// Don't mistake with ImGuiInputTextFlags! (for ImGui::InputText() function) +enum ImGuiInputFlags_ +{ + // Flags for IsKeyPressed(), IsMouseClicked(), Shortcut() + ImGuiInputFlags_None = 0, + ImGuiInputFlags_Repeat = 1 << 0, // Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1. + ImGuiInputFlags_RepeatRateDefault = 1 << 1, // Repeat rate: Regular (default) + ImGuiInputFlags_RepeatRateNavMove = 1 << 2, // Repeat rate: Fast + ImGuiInputFlags_RepeatRateNavTweak = 1 << 3, // Repeat rate: Faster + ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak, + + // Flags for SetItemKeyOwner() + ImGuiInputFlags_CondHovered = 1 << 4, // Only set if item is hovered (default to both) + ImGuiInputFlags_CondActive = 1 << 5, // Only set if item is active (default to both) + ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive, + + // Flags for SetKeyOwner(), SetItemKeyOwner() + ImGuiInputFlags_LockThisFrame = 1 << 6, // Access to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared at end of frame. This is useful to make input-owner-aware code steal keys from non-input-owner-aware code. + ImGuiInputFlags_LockUntilRelease = 1 << 7, // Access to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for polling). Cleared when the key is released or at end of each frame if key is released. This is useful to make input-owner-aware code steal keys from non-input-owner-aware code. + + // Routing policies for Shortcut() + low-level SetShortcutRouting() + // - The general idea is that several callers register interest in a shortcut, and only one owner gets it. + // - When a policy (other than _RouteAlways) is set, Shortcut() will register itself with SetShortcutRouting(), + // allowing the system to decide where to route the input among other route-aware calls. + // - Shortcut() uses ImGuiInputFlags_RouteFocused by default: meaning that a simple Shortcut() poll + // will register a route and only succeed when parent window is in the focus stack and if no-one + // with a higher priority is claiming the shortcut. + // - Using ImGuiInputFlags_RouteAlways is roughly equivalent to doing e.g. IsKeyPressed(key) + testing mods. + // - Priorities: GlobalHigh > Focused (when owner is active item) > Global > Focused (when focused window) > GlobalLow. + // - Can select only 1 policy among all available. + ImGuiInputFlags_RouteFocused = 1 << 8, // (Default) Register focused route: Accept inputs if window is in focus stack. Deep-most focused window takes inputs. ActiveId takes inputs over deep-most focused window. + ImGuiInputFlags_RouteGlobalLow = 1 << 9, // Register route globally (lowest priority: unless a focused window or active item registered the route) -> recommended Global priority. + ImGuiInputFlags_RouteGlobal = 1 << 10, // Register route globally (medium priority: unless an active item registered the route, e.g. CTRL+A registered by InputText). + ImGuiInputFlags_RouteGlobalHigh = 1 << 11, // Register route globally (highest priority: unlikely you need to use that: will interfere with every active items) + ImGuiInputFlags_RouteMask_ = ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteGlobalLow | ImGuiInputFlags_RouteGlobalHigh, // _Always not part of this! + ImGuiInputFlags_RouteAlways = 1 << 12, // Do not register route, poll keys directly. + ImGuiInputFlags_RouteUnlessBgFocused= 1 << 13, // Global routes will not be applied if underlying background/void is focused (== no Dear ImGui windows are focused). Useful for overlay applications. + ImGuiInputFlags_RouteExtraMask_ = ImGuiInputFlags_RouteAlways | ImGuiInputFlags_RouteUnlessBgFocused, + + // [Internal] Mask of which function support which flags + ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_, + ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RouteMask_ | ImGuiInputFlags_RouteExtraMask_, + ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease, + ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_, +}; + //----------------------------------------------------------------------------- // [SECTION] Clipper support //----------------------------------------------------------------------------- @@ -1209,7 +1409,7 @@ enum ImGuiActivateFlags_ ImGuiActivateFlags_None = 0, ImGuiActivateFlags_PreferInput = 1 << 0, // Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default if keyboard is available. ImGuiActivateFlags_PreferTweak = 1 << 1, // Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default if keyboard is not available. - ImGuiActivateFlags_TryToPreserveState = 1 << 2 // Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection) + ImGuiActivateFlags_TryToPreserveState = 1 << 2, // Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection) }; // Early work-in-progress API for ScrollToItem() @@ -1224,7 +1424,7 @@ enum ImGuiScrollFlags_ ImGuiScrollFlags_AlwaysCenterY = 1 << 5, // Always center the result item on Y axis [default for Y axis for appearing window) ImGuiScrollFlags_NoScrollParent = 1 << 6, // Disable forwarding scrolling to parent window if required to keep item/rect visible (only scroll window the function was applied to). ImGuiScrollFlags_MaskX_ = ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX, - ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY + ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY, }; enum ImGuiNavHighlightFlags_ @@ -1233,16 +1433,7 @@ enum ImGuiNavHighlightFlags_ ImGuiNavHighlightFlags_TypeDefault = 1 << 0, ImGuiNavHighlightFlags_TypeThin = 1 << 1, ImGuiNavHighlightFlags_AlwaysDraw = 1 << 2, // Draw rectangular highlight if (g.NavId == id) _even_ when using the mouse. - ImGuiNavHighlightFlags_NoRounding = 1 << 3 -}; - -enum ImGuiNavDirSourceFlags_ -{ - ImGuiNavDirSourceFlags_None = 0, - ImGuiNavDirSourceFlags_RawKeyboard = 1 << 0, // Raw keyboard (not pulled from nav), faciliate use of some functions before we can unify nav and keys - ImGuiNavDirSourceFlags_Keyboard = 1 << 1, - ImGuiNavDirSourceFlags_PadDPad = 1 << 2, - ImGuiNavDirSourceFlags_PadLStick = 1 << 3 + ImGuiNavHighlightFlags_NoRounding = 1 << 3, }; enum ImGuiNavMoveFlags_ @@ -1260,13 +1451,13 @@ enum ImGuiNavMoveFlags_ ImGuiNavMoveFlags_FocusApi = 1 << 9, ImGuiNavMoveFlags_Tabbing = 1 << 10, // == Focus + Activate if item is Inputable + DontChangeNavHighlight ImGuiNavMoveFlags_Activate = 1 << 11, - ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12 // Do not alter the visible state of keyboard vs mouse nav highlight + ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12, // Do not alter the visible state of keyboard vs mouse nav highlight }; enum ImGuiNavLayer { ImGuiNavLayer_Main = 0, // Main scrolling layer - ImGuiNavLayer_Menu = 1, // Menu layer (access with Alt/ImGuiNavInput_Menu) + ImGuiNavLayer_Menu = 1, // Menu layer (access with Alt) ImGuiNavLayer_COUNT }; @@ -1297,24 +1488,24 @@ enum ImGuiOldColumnFlags_ ImGuiOldColumnFlags_NoResize = 1 << 1, // Disable resizing columns when clicking on the dividers ImGuiOldColumnFlags_NoPreserveWidths = 1 << 2, // Disable column width preservation when adjusting columns ImGuiOldColumnFlags_NoForceWithinWindow = 1 << 3, // Disable forcing columns to fit within window - ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4 // (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove. + ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4, // (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove. // Obsolete names (will be removed) #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - , ImGuiColumnsFlags_None = ImGuiOldColumnFlags_None, + ImGuiColumnsFlags_None = ImGuiOldColumnFlags_None, ImGuiColumnsFlags_NoBorder = ImGuiOldColumnFlags_NoBorder, ImGuiColumnsFlags_NoResize = ImGuiOldColumnFlags_NoResize, ImGuiColumnsFlags_NoPreserveWidths = ImGuiOldColumnFlags_NoPreserveWidths, ImGuiColumnsFlags_NoForceWithinWindow = ImGuiOldColumnFlags_NoForceWithinWindow, - ImGuiColumnsFlags_GrowParentContentsSize = ImGuiOldColumnFlags_GrowParentContentsSize + ImGuiColumnsFlags_GrowParentContentsSize = ImGuiOldColumnFlags_GrowParentContentsSize, #endif }; struct ImGuiOldColumnData { - float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right) + float OffsetNorm; // Column start offset, normalized 0.0 (far left) -> 1.0 (far right) float OffsetNormBeforeResize; - ImGuiOldColumnFlags Flags; // Not exposed + ImGuiOldColumnFlags Flags; // Not exposed ImRect ClipRect; ImGuiOldColumnData() { memset(this, 0, sizeof(*this)); } @@ -1423,12 +1614,51 @@ struct ImGuiSettingsHandler ImGuiSettingsHandler() { memset(this, 0, sizeof(*this)); } }; +//----------------------------------------------------------------------------- +// [SECTION] Localization support +//----------------------------------------------------------------------------- + +// This is experimental and not officially supported, it'll probably fall short of features, if/when it does we may backtrack. +enum ImGuiLocKey : int +{ + ImGuiLocKey_TableSizeOne, + ImGuiLocKey_TableSizeAllFit, + ImGuiLocKey_TableSizeAllDefault, + ImGuiLocKey_TableResetOrder, + ImGuiLocKey_WindowingMainMenuBar, + ImGuiLocKey_WindowingPopup, + ImGuiLocKey_WindowingUntitled, + ImGuiLocKey_COUNT +}; + +struct ImGuiLocEntry +{ + ImGuiLocKey Key; + const char* Text; +}; + + //----------------------------------------------------------------------------- // [SECTION] Metrics, Debug Tools //----------------------------------------------------------------------------- +enum ImGuiDebugLogFlags_ +{ + // Event types + ImGuiDebugLogFlags_None = 0, + ImGuiDebugLogFlags_EventActiveId = 1 << 0, + ImGuiDebugLogFlags_EventFocus = 1 << 1, + ImGuiDebugLogFlags_EventPopup = 1 << 2, + ImGuiDebugLogFlags_EventNav = 1 << 3, + ImGuiDebugLogFlags_EventClipper = 1 << 4, + ImGuiDebugLogFlags_EventIO = 1 << 5, + ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventIO, + ImGuiDebugLogFlags_OutputToTTY = 1 << 10, // Also send output to TTY +}; + struct ImGuiMetricsConfig { + bool ShowDebugLog; bool ShowStackTool; bool ShowWindowsRects; bool ShowWindowsBeginOrder; @@ -1440,14 +1670,10 @@ struct ImGuiMetricsConfig ImGuiMetricsConfig() { - ShowStackTool = false; - ShowWindowsRects = false; - ShowWindowsBeginOrder = false; - ShowTablesRects = false; + ShowDebugLog = ShowStackTool = ShowWindowsRects = ShowWindowsBeginOrder = ShowTablesRects = false; ShowDrawCmdMesh = true; ShowDrawCmdBoundingBoxes = true; - ShowWindowsRectsType = -1; - ShowTablesRectsType = -1; + ShowWindowsRectsType = ShowTablesRectsType = -1; } }; @@ -1456,7 +1682,8 @@ struct ImGuiStackLevelInfo ImGuiID ID; ImS8 QueryFrameCount; // >= 1: Query in progress bool QuerySuccess; // Obtained result from DebugHookIdInfo() - char Desc[58]; // Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) + ImGuiDataType DataType : 8; + char Desc[57]; // Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) FIXME: Now that we added CTRL+C this should be fixed. ImGuiStackLevelInfo() { memset(this, 0, sizeof(*this)); } }; @@ -1468,8 +1695,10 @@ struct ImGuiStackTool int StackLevel; // -1: query stack and resize Results, >= 0: individual stack level ImGuiID QueryId; // ID to query details for ImVector Results; + bool CopyToClipboardOnCtrlC; + float CopyToClipboardLastTime; - ImGuiStackTool() { memset(this, 0, sizeof(*this)); } + ImGuiStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; } }; //----------------------------------------------------------------------------- @@ -1491,7 +1720,7 @@ struct ImGuiContextHook }; //----------------------------------------------------------------------------- -// [SECTION] ImGuiContext (main imgui context) +// [SECTION] ImGuiContext (main Dear ImGui context) //----------------------------------------------------------------------------- struct ImGuiContext @@ -1499,6 +1728,8 @@ struct ImGuiContext bool Initialized; bool FontAtlasOwnedByContext; // IO.Fonts-> is owned by the ImGuiContext and will be destructed along with it. ImGuiIO IO; + ImVector InputEventsQueue; // Input events which will be tricked/written into IO structure. + ImVector InputEventsTrail; // Past input events processed in NewFrame(). This is to allow domain-specific application to access e.g mouse/pen trail. ImGuiStyle Style; ImFont* Font; // (Shortcut) == FontStack.empty() ? IO.Font : FontStack.back() float FontSize; // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window. @@ -1529,15 +1760,13 @@ struct ImGuiContext ImGuiWindow* MovingWindow; // Track the window we clicked on (in order to preserve focus). The actual window that is moved is generally MovingWindow->RootWindow. ImGuiWindow* WheelingWindow; // Track the window we started mouse-wheeling on. Until a timer elapse or mouse has moved, generally keep scrolling the same window even if during the course of scrolling the mouse ends up hovering a child window. ImVec2 WheelingWindowRefMousePos; - float WheelingWindowTimer; + float WheelingWindowReleaseTimer; // Item/widgets state and tracking information ImGuiID DebugHookIdInfo; // Will call core hooks: DebugHookIdInfo() from GetID functions, used by Stack Tool [next HoveredId/ActiveId to not pull in an extra cache-line] ImGuiID HoveredId; // Hovered widget, filled during the frame ImGuiID HoveredIdPreviousFrame; bool HoveredIdAllowOverlap; - bool HoveredIdUsingMouseWheel; // Hovered widget will use mouse wheel. Blocks scrolling the underlying window. - bool HoveredIdPreviousFrameUsingMouseWheel; bool HoveredIdDisabled; // At least one widget passed the rect test, but has been discarded by disabled flag or popup inhibit. May be true even if HoveredId == 0. float HoveredIdTimer; // Measure contiguous hovering time float HoveredIdNotActiveTimer; // Measure contiguous hovering time where the item has not been active @@ -1550,10 +1779,6 @@ struct ImGuiContext bool ActiveIdHasBeenPressedBefore; // Track whether the active id led to a press (this is to allow changing between PressOnClick and PressOnRelease without pressing twice). Used by range_select branch. bool ActiveIdHasBeenEditedBefore; // Was the value associated to the widget Edited over the course of the Active state. bool ActiveIdHasBeenEditedThisFrame; - bool ActiveIdUsingMouseWheel; // Active widget will want to read mouse wheel. Blocks scrolling the underlying window. - ImU32 ActiveIdUsingNavDirMask; // Active widget will want to read those nav move requests (e.g. can activate a button and move away from it) - ImU32 ActiveIdUsingNavInputMask; // Active widget will want to read those nav inputs. - ImU64 ActiveIdUsingKeyInputMask; // Active widget will want to read those key inputs. When we grow the ImGuiKey enum we'll need to either to order the enum to make useful keys come first, either redesign this into e.g. a small array. ImVec2 ActiveIdClickOffset; // Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior) ImGuiWindow* ActiveIdWindow; ImGuiInputSource ActiveIdSource; // Activating with mouse or nav (gamepad/keyboard) @@ -1565,8 +1790,22 @@ struct ImGuiContext ImGuiID LastActiveId; // Store the last non-zero ActiveId, useful for animation. float LastActiveIdTimer; // Store the last non-zero ActiveId timer since the beginning of activation, useful for animation. + // [EXPERIMENTAL] Key/Input Ownership + Shortcut Routing system + // - The idea is that instead of "eating" a given key, we can link to an owner. + // - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_None (== -1) or a custom ID. + // - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame(). + ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT]; + ImGuiKeyRoutingTable KeysRoutingTable; + ImU32 ActiveIdUsingNavDirMask; // Active widget will want to read those nav move requests (e.g. can activate a button and move away from it) + bool ActiveIdUsingAllKeyboardKeys; // Active widget will want to read all keyboard keys inputs. (FIXME: This is a shortcut for not taking ownership of 100+ keys but perhaps best to not have the inconsistency) +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + ImU32 ActiveIdUsingNavInputMask; // If you used this. Since (IMGUI_VERSION_NUM >= 18804) : 'g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel);' becomes 'SetKeyOwner(ImGuiKey_Escape, g.ActiveId) and/or SetKeyOwner(ImGuiKey_NavGamepadCancel, g.ActiveId);' +#endif + // Next window/item data - ImGuiItemFlags CurrentItemFlags; // == g.ItemFlagsStack.back() + ImGuiID CurrentFocusScopeId; // == g.FocusScopeStack.back() + ImGuiItemFlags CurrentItemFlags; // == g.ItemFlagsStack.back() + ImGuiID DebugLocateId; // Storage for DebugLocateItemOnHover() feature: this is read by ItemAdd() so we keep it in a hot/cached location ImGuiNextItemData NextItemData; // Storage for SetNextItem** functions ImGuiLastItemData LastItemData; // Storage for last submitted item (setup by ItemAdd) ImGuiNextWindowData NextWindowData; // Storage for SetNextWindow** functions @@ -1575,7 +1814,7 @@ struct ImGuiContext ImVector ColorStack; // Stack for PushStyleColor()/PopStyleColor() - inherited by Begin() ImVector StyleVarStack; // Stack for PushStyleVar()/PopStyleVar() - inherited by Begin() ImVector FontStack; // Stack for PushFont()/PopFont() - inherited by Begin() - ImVector FocusScopeStack; // Stack for PushFocusScope()/PopFocusScope() - not inherited by Begin(), unless child window + ImVector FocusScopeStack; // Stack for PushFocusScope()/PopFocusScope() - inherited by BeginChild(), pushed into by Begin() ImVectorItemFlagsStack; // Stack for PushItemFlag()/PopItemFlag() - inherited by Begin() ImVectorGroupStack; // Stack for BeginGroup()/EndGroup() - not inherited by Begin() ImVectorOpenPopupStack; // Which popups are open (persistent) @@ -1586,17 +1825,17 @@ struct ImGuiContext ImVector Viewports; // Active viewports (Size==1 in 'master' branch). Each viewports hold their copy of ImDrawData. // Gamepad/keyboard Navigation - ImGuiWindow* NavWindow; // Focused window for navigation. Could be called 'FocusWindow' + ImGuiWindow* NavWindow; // Focused window for navigation. Could be called 'FocusedWindow' ImGuiID NavId; // Focused item for navigation ImGuiID NavFocusScopeId; // Identify a selection scope (selection code often wants to "clear other items" when landing on an item of the selection set) - ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0, also set when calling ActivateItem() - ImGuiID NavActivateDownId; // ~~ IsNavInputDown(ImGuiNavInput_Activate) ? NavId : 0 - ImGuiID NavActivatePressedId; // ~~ IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0 - ImGuiID NavActivateInputId; // ~~ IsNavInputPressed(ImGuiNavInput_Input) ? NavId : 0; ImGuiActivateFlags_PreferInput will be set and NavActivateId will be 0. + ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && (IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_NavGamepadActivate)) ? NavId : 0, also set when calling ActivateItem() + ImGuiID NavActivateDownId; // ~~ IsKeyDown(ImGuiKey_Space) || IsKeyDown(ImGuiKey_NavGamepadActivate) ? NavId : 0 + ImGuiID NavActivatePressedId; // ~~ IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_NavGamepadActivate) ? NavId : 0 (no repeat) + ImGuiID NavActivateInputId; // ~~ IsKeyPressed(ImGuiKey_Enter) || IsKeyPressed(ImGuiKey_NavGamepadInput) ? NavId : 0; ImGuiActivateFlags_PreferInput will be set and NavActivateId will be 0. ImGuiActivateFlags NavActivateFlags; ImGuiID NavJustMovedToId; // Just navigated to this id (result of a successfully MoveRequest). ImGuiID NavJustMovedToFocusScopeId; // Just navigated to this focus scope id (result of a successfully MoveRequest). - ImGuiKeyModFlags NavJustMovedToKeyMods; + ImGuiKeyChord NavJustMovedToKeyMods; ImGuiID NavNextActivateId; // Set by ActivateItem(), queued until next frame. ImGuiActivateFlags NavNextActivateFlags; ImGuiInputSource NavInputSource; // Keyboard or Gamepad mode? THIS WILL ONLY BE None or NavGamepad or NavKeyboard. @@ -1617,7 +1856,7 @@ struct ImGuiContext bool NavMoveForwardToNextFrame; ImGuiNavMoveFlags NavMoveFlags; ImGuiScrollFlags NavMoveScrollFlags; - ImGuiKeyModFlags NavMoveKeyMods; + ImGuiKeyChord NavMoveKeyMods; ImGuiDir NavMoveDir; // Direction of the move request (left/right/up/down) ImGuiDir NavMoveDirForDebug; ImGuiDir NavMoveClipDir; // FIXME-NAV: Describe the purpose of this better. Might want to rename? @@ -1632,12 +1871,16 @@ struct ImGuiContext ImGuiNavItemData NavTabbingResultFirst; // First tabbing request candidate within NavWindow and flattened hierarchy // Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize) + ImGuiKeyChord ConfigNavWindowingKeyNext; // = ImGuiMod_Ctrl | ImGuiKey_Tab, for reconfiguration (see #4828) + ImGuiKeyChord ConfigNavWindowingKeyPrev; // = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab ImGuiWindow* NavWindowingTarget; // Target window when doing CTRL+Tab (or Pad Menu + FocusPrev/Next), this window is temporarily displayed top-most! ImGuiWindow* NavWindowingTargetAnim; // Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f, so the fade-out can stay on it. ImGuiWindow* NavWindowingListWindow; // Internal window actually listing the CTRL+Tab contents float NavWindowingTimer; float NavWindowingHighlightAlpha; bool NavWindowingToggleLayer; + ImVec2 NavWindowingAccumDeltaPos; + ImVec2 NavWindowingAccumDeltaSize; // Render float DimBgRatio; // 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list) @@ -1666,7 +1909,7 @@ struct ImGuiContext int ClipperTempDataStacked; ImVector ClipperTempData; - // Table + // Tables ImGuiTable* CurrentTable; int TablesTempDataStacked; // Temporary table data size (because we leave previous instances undestructed, we generally don't use TablesTempData.Size) ImVector TablesTempData; // Temporary table data (buffers reused/shared across instances, support nesting) @@ -1680,6 +1923,12 @@ struct ImGuiContext ImVector CurrentTabBarStack; ImVector ShrinkWidthBuffer; + // Hover Delay system + ImGuiID HoverDelayId; + ImGuiID HoverDelayIdPreviousFrame; + float HoverDelayTimer; // Currently used IsItemHovered(), generally inferred from g.HoveredIdTimer but kept uncleared until clear timer elapse. + float HoverDelayClearTimer; // Currently used IsItemHovered(): grace time before g.TooltipHoverTimer gets cleared. + // Widget state ImVec2 MouseLastValidPos; ImGuiInputTextState InputTextState; @@ -1691,6 +1940,7 @@ struct ImGuiContext ImU32 ColorEditLastColor; // RGB value with alpha set to 0. ImVec4 ColorPickerRef; // Initial/reference color at the time of opening the color picker. ImGuiComboPreviewData ComboPreviewData; + float SliderGrabClickOffset; float SliderCurrentAccum; // Accumulated slider delta when using navigation controls. bool SliderCurrentAccumDirty; // Has the accumulated slider delta changed since last time we tried to apply it? bool DragCurrentAccumDirty; @@ -1700,13 +1950,12 @@ struct ImGuiContext float DisabledAlphaBackup; // Backup for style.Alpha for BeginDisabled() short DisabledStackSize; short TooltipOverrideCount; - float TooltipSlowDelay; // Time before slow tooltips appears (FIXME: This is temporary until we merge in tooltip timer+priority work) ImVector ClipboardHandlerData; // If no custom clipboard handler is defined ImVector MenusIdSubmittedThisFrame; // A list of menu IDs that were rendered at least once // Platform support - ImVec2 PlatformImePos; // Cursor position request & last passed to the OS Input Method Editor - ImVec2 PlatformImeLastPos; + ImGuiPlatformImeData PlatformImeData; // Data updated by current frame + ImGuiPlatformImeData PlatformImeDataPrev; // Previous frame data (when changing we will call io.SetPlatformImeDataFn char PlatformLocaleDecimalPoint; // '.' or *localeconv()->decimal_point // Settings @@ -1719,6 +1968,9 @@ struct ImGuiContext ImVector Hooks; // Hooks for extensions (e.g. test engine) ImGuiID HookIdNext; // Next available HookId + // Localization + const char* LocalizationTable[ImGuiLocKey_COUNT]; + // Capture/Logging bool LogEnabled; // Currently capturing ImGuiLogType LogType; // Capture target @@ -1733,20 +1985,25 @@ struct ImGuiContext int LogDepthToExpandDefault; // Default/stored value for LogDepthMaxExpand if not specified in the LogXXX function call. // Debug Tools + ImGuiDebugLogFlags DebugLogFlags; + ImGuiTextBuffer DebugLogBuf; + ImGuiTextIndex DebugLogIndex; + ImU8 DebugLocateFrames; // For DebugLocateItemOnHover(). This is used together with DebugLocateId which is in a hot/cached spot above. bool DebugItemPickerActive; // Item picker is active (started with DebugStartItemPicker()) + ImU8 DebugItemPickerMouseButton; ImGuiID DebugItemPickerBreakId; // Will call IM_DEBUG_BREAK() when encountering this ID ImGuiMetricsConfig DebugMetricsConfig; ImGuiStackTool DebugStackTool; // Misc - float FramerateSecPerFrame[120]; // Calculate estimate of framerate for user over the last 2 seconds. + float FramerateSecPerFrame[60]; // Calculate estimate of framerate for user over the last 60 frames.. int FramerateSecPerFrameIdx; int FramerateSecPerFrameCount; float FramerateSecPerFrameAccum; - int WantCaptureMouseNextFrame; // Explicit capture via CaptureKeyboardFromApp()/CaptureMouseFromApp() sets those flags - int WantCaptureKeyboardNextFrame; + int WantCaptureMouseNextFrame; // Explicit capture override via SetNextFrameWantCaptureMouse()/SetNextFrameWantCaptureKeyboard(). Default to -1. + int WantCaptureKeyboardNextFrame; // " int WantTextInputNextFrame; - char TempBuffer[1024 * 3 + 1]; // Temporary text buffer + ImVector TempBuffer; // Temporary text buffer ImGuiContext(ImFontAtlas* shared_font_atlas) { @@ -1769,12 +2026,11 @@ struct ImGuiContext HoveredWindowUnderMovingWindow = NULL; MovingWindow = NULL; WheelingWindow = NULL; - WheelingWindowTimer = 0.0f; + WheelingWindowReleaseTimer = 0.0f; DebugHookIdInfo = 0; HoveredId = HoveredIdPreviousFrame = 0; HoveredIdAllowOverlap = false; - HoveredIdUsingMouseWheel = HoveredIdPreviousFrameUsingMouseWheel = false; HoveredIdDisabled = false; HoveredIdTimer = HoveredIdNotActiveTimer = 0.0f; ActiveId = 0; @@ -1786,10 +2042,6 @@ struct ImGuiContext ActiveIdHasBeenPressedBefore = false; ActiveIdHasBeenEditedBefore = false; ActiveIdHasBeenEditedThisFrame = false; - ActiveIdUsingMouseWheel = false; - ActiveIdUsingNavDirMask = 0x00; - ActiveIdUsingNavInputMask = 0x00; - ActiveIdUsingKeyInputMask = 0x00; ActiveIdClickOffset = ImVec2(-1, -1); ActiveIdWindow = NULL; ActiveIdSource = ImGuiInputSource_None; @@ -1801,6 +2053,13 @@ struct ImGuiContext LastActiveId = 0; LastActiveIdTimer = 0.0f; + ActiveIdUsingNavDirMask = 0x00; + ActiveIdUsingAllKeyboardKeys = false; +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + ActiveIdUsingNavInputMask = 0x00; +#endif + + CurrentFocusScopeId = 0; CurrentItemFlags = ImGuiItemFlags_None; BeginMenuCount = 0; @@ -1808,7 +2067,7 @@ struct ImGuiContext NavId = NavFocusScopeId = NavActivateId = NavActivateDownId = NavActivatePressedId = NavActivateInputId = 0; NavJustMovedToId = NavJustMovedToFocusScopeId = NavNextActivateId = 0; NavActivateFlags = NavNextActivateFlags = ImGuiActivateFlags_None; - NavJustMovedToKeyMods = ImGuiKeyModFlags_None; + NavJustMovedToKeyMods = ImGuiMod_None; NavInputSource = ImGuiInputSource_None; NavLayer = ImGuiNavLayer_Main; NavIdIsAlive = false; @@ -1824,12 +2083,14 @@ struct ImGuiContext NavMoveForwardToNextFrame = false; NavMoveFlags = ImGuiNavMoveFlags_None; NavMoveScrollFlags = ImGuiScrollFlags_None; - NavMoveKeyMods = ImGuiKeyModFlags_None; + NavMoveKeyMods = ImGuiMod_None; NavMoveDir = NavMoveDirForDebug = NavMoveClipDir = ImGuiDir_None; NavScoringDebugCount = 0; NavTabbingDir = 0; NavTabbingCounter = 0; + ConfigNavWindowingKeyNext = ImGuiMod_Ctrl | ImGuiKey_Tab; + ConfigNavWindowingKeyPrev = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab; NavWindowingTarget = NavWindowingTargetAnim = NavWindowingListWindow = NULL; NavWindowingTimer = NavWindowingHighlightAlpha = 0.0f; NavWindowingToggleLayer = false; @@ -1855,28 +2116,34 @@ struct ImGuiContext TablesTempDataStacked = 0; CurrentTabBar = NULL; + HoverDelayId = HoverDelayIdPreviousFrame = 0; + HoverDelayTimer = HoverDelayClearTimer = 0.0f; + TempInputId = 0; ColorEditOptions = ImGuiColorEditFlags_DefaultOptions_; ColorEditLastHue = ColorEditLastSat = 0.0f; ColorEditLastColor = 0; + SliderGrabClickOffset = 0.0f; SliderCurrentAccum = 0.0f; SliderCurrentAccumDirty = false; DragCurrentAccumDirty = false; DragCurrentAccum = 0.0f; DragSpeedDefaultRatio = 1.0f / 100.0f; + ScrollbarClickDeltaToGrabCenter = 0.0f; DisabledAlphaBackup = 0.0f; DisabledStackSize = 0; - ScrollbarClickDeltaToGrabCenter = 0.0f; TooltipOverrideCount = 0; - TooltipSlowDelay = 0.50f; - PlatformImePos = PlatformImeLastPos = ImVec2(FLT_MAX, FLT_MAX); + PlatformImeData.InputPos = ImVec2(0.0f, 0.0f); + PlatformImeDataPrev.InputPos = ImVec2(-1.0f, -1.0f); // Different to ensure initial submission PlatformLocaleDecimalPoint = '.'; SettingsLoaded = false; SettingsDirtyTimer = 0.0f; HookIdNext = 0; + memset(LocalizationTable, 0, sizeof(LocalizationTable)); + LogEnabled = false; LogType = ImGuiLogType_None; LogNextPrefix = LogNextSuffix = NULL; @@ -1886,14 +2153,17 @@ struct ImGuiContext LogDepthRef = 0; LogDepthToExpand = LogDepthToExpandDefault = 2; + DebugLogFlags = ImGuiDebugLogFlags_OutputToTTY; + DebugLocateId = 0; + DebugLocateFrames = 0; DebugItemPickerActive = false; + DebugItemPickerMouseButton = ImGuiMouseButton_Left; DebugItemPickerBreakId = 0; memset(FramerateSecPerFrame, 0, sizeof(FramerateSecPerFrame)); FramerateSecPerFrameIdx = FramerateSecPerFrameCount = 0; FramerateSecPerFrameAccum = 0.0f; WantCaptureMouseNextFrame = WantCaptureKeyboardNextFrame = WantTextInputNextFrame = -1; - memset(TempBuffer, 0, sizeof(TempBuffer)); } }; @@ -1916,6 +2186,8 @@ struct IMGUI_API ImGuiWindowTempData ImVec2 PrevLineSize; float CurrLineTextBaseOffset; // Baseline offset (0.0f by default on a new line, generally == style.FramePadding.y when a framed item has been added). float PrevLineTextBaseOffset; + bool IsSameLine; + bool IsSetPos; ImVec1 Indent; // Indentation / start position from left of window (increased by TreePush/TreePop, etc.) ImVec1 ColumnsOffset; // Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to allow use cases like Tree->Column->Tree. Need revamp columns API. ImVec1 GroupOffset; @@ -1925,7 +2197,6 @@ struct IMGUI_API ImGuiWindowTempData ImGuiNavLayer NavLayerCurrent; // Current layer, 0..31 (we currently only use 0..1) short NavLayersActiveMask; // Which layers have been written to (result from previous frame) short NavLayersActiveMaskNext;// Which layers have been written to (accumulator for current frame) - ImGuiID NavFocusScopeIdCurrent; // Current focus scope ID while appending bool NavHideHighlightOneFrame; bool NavHasScroll; // Set when scrolling can be used (ScrollMax > 0.0f) @@ -1956,6 +2227,7 @@ struct IMGUI_API ImGuiWindow char* Name; // Window name, owned by the window. ImGuiID ID; // == ImHashStr(Name) ImGuiWindowFlags Flags; // See enum ImGuiWindowFlags_ + ImGuiViewportP* Viewport; // Always set in Begin(). Inactive windows may have a NULL value here if their viewport was discarded. ImVec2 Pos; // Position (always rounded-up to nearest pixel) ImVec2 Size; // Current size (==SizeFull or collapsed title bar size) ImVec2 SizeFull; // Size when non collapsed @@ -1988,6 +2260,7 @@ struct IMGUI_API ImGuiWindow bool HasCloseButton; // Set when the window has a close button (p_open != NULL) signed char ResizeBorderHeld; // Current border being held for resize (-1: none, otherwise 0-3) short BeginCount; // Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End pairs) + short BeginCountPreviousFrame; // Number of Begin() during the previous frame short BeginOrderWithinParent; // Begin() order within immediate parent window, if we are a child window. Otherwise 0. short BeginOrderWithinContext; // Begin() order within entire imgui context. This is mostly used for debugging submission order related issues. short FocusOrder; // Order within WindowsFocusOrder[], altered when windows are focused. @@ -2041,6 +2314,7 @@ struct IMGUI_API ImGuiWindow ImGuiWindow* NavLastChildNavWindow; // When going to the menu bar, we remember the child window we came from. (This could probably be made implicit if we kept g.Windows sorted by last focused including child window.) ImGuiID NavLastIds[ImGuiNavLayer_COUNT]; // Last known NavId for this window, per layer (0/1) ImRect NavRectRel[ImGuiNavLayer_COUNT]; // Reference rectangle, in window relative space + ImGuiID NavRootFocusScopeId; // Focus Scope ID at the time of Begin() int MemoryDrawListIdxCapacity; // Backup of last idx/vtx count, so when waking up the window we can preallocate and avoid iterative alloc/copy int MemoryDrawListVtxCapacity; @@ -2053,12 +2327,9 @@ public: ImGuiID GetID(const char* str, const char* str_end = NULL); ImGuiID GetID(const void* ptr); ImGuiID GetID(int n); - ImGuiID GetIDNoKeepAlive(const char* str, const char* str_end = NULL); - ImGuiID GetIDNoKeepAlive(const void* ptr); - ImGuiID GetIDNoKeepAlive(int n); ImGuiID GetIDFromRectangle(const ImRect& r_abs); - // We don't use g.FontSize because the window may be != g.CurrentWidow. + // We don't use g.FontSize because the window may be != g.CurrentWindow. ImRect Rect() const { return ImRect(Pos.x, Pos.y, Pos.x + Size.x, Pos.y + Size.y); } float CalcFontSize() const { ImGuiContext& g = *GImGui; float scale = g.FontBaseSize * FontWindowScale; if (ParentWindow) scale *= ParentWindow->FontWindowScale; return scale; } float TitleBarHeight() const { ImGuiContext& g = *GImGui; return (Flags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + g.Style.FramePadding.y * 2.0f; } @@ -2076,7 +2347,7 @@ enum ImGuiTabBarFlagsPrivate_ { ImGuiTabBarFlags_DockNode = 1 << 20, // Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around] ImGuiTabBarFlags_IsFocused = 1 << 21, - ImGuiTabBarFlags_SaveSettings = 1 << 22 // FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs + ImGuiTabBarFlags_SaveSettings = 1 << 22, // FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs }; // Extend ImGuiTabItemFlags_ @@ -2084,7 +2355,7 @@ enum ImGuiTabItemFlagsPrivate_ { ImGuiTabItemFlags_SectionMask_ = ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing, ImGuiTabItemFlags_NoCloseButton = 1 << 20, // Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout) - ImGuiTabItemFlags_Button = 1 << 21 // Used by TabItemButton, change the tab item behavior to mimic a button + ImGuiTabItemFlags_Button = 1 << 21, // Used by TabItemButton, change the tab item behavior to mimic a button }; // Storage for one active tab item (sizeof() 40 bytes) @@ -2097,12 +2368,13 @@ struct ImGuiTabItem float Offset; // Position relative to beginning of tab float Width; // Width currently displayed float ContentWidth; // Width of label, stored during BeginTabItem() call + float RequestedWidth; // Width optionally requested by caller, -1.0f is unused ImS32 NameOffset; // When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames ImS16 BeginOrder; // BeginTabItem() order, used to re-order tabs after toggling ImGuiTabBarFlags_Reorderable ImS16 IndexDuringLayout; // Index only used during TabBarLayout() bool WantClose; // Marked as closed by SetTabItemClosed() - ImGuiTabItem() { memset(this, 0, sizeof(*this)); LastFrameVisible = LastFrameSelected = -1; NameOffset = -1; BeginOrder = IndexDuringLayout = -1; } + ImGuiTabItem() { memset(this, 0, sizeof(*this)); LastFrameVisible = LastFrameSelected = -1; RequestedWidth = -1.0f; NameOffset = -1; BeginOrder = IndexDuringLayout = -1; } }; // Storage for a tab bar (sizeof() 152 bytes) @@ -2230,6 +2502,15 @@ struct ImGuiTableCellData ImGuiTableColumnIdx Column; // Column number }; +// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs, does that needs they could be moved to ImGuiTableTempData ?) +struct ImGuiTableInstanceData +{ + float LastOuterHeight; // Outer height from last frame // FIXME: multi-instance issue (#3955) + float LastFirstRowHeight; // Height of first row from last frame // FIXME: possible multi-instance issue? + + ImGuiTableInstanceData() { LastOuterHeight = LastFirstRowHeight = 0.0f; } +}; + // FIXME-TABLE: more transient data could be stored in a per-stacked table structure: DrawSplitter, SortSpecs, incoming RowData struct IMGUI_API ImGuiTable { @@ -2272,11 +2553,10 @@ struct IMGUI_API ImGuiTable float CellPaddingY; float CellSpacingX1; // Spacing between non-bordered cells float CellSpacingX2; - float LastOuterHeight; // Outer height from last frame - float LastFirstRowHeight; // Height of first row from last frame float InnerWidth; // User value passed to BeginTable(), see comments at the top of BeginTable() for details. float ColumnsGivenWidth; // Sum of current column width float ColumnsAutoFitWidth; // Sum of ideal column width in order nothing to be clipped, used for auto-fitting and content width submission in outer window + float ColumnsStretchSumWeights; // Sum of weight of all enabled stretching columns float ResizedColumnNextWidth; float ResizeLockMinContentsX2; // Lock minimum contents width while resizing down in order to not create feedback loops. But we allow growing the table. float RefScale; // Reference scale to be able to rescale columns on font/dpi changes. @@ -2284,7 +2564,7 @@ struct IMGUI_API ImGuiTable ImRect InnerRect; // InnerRect but without decoration. As with OuterRect, for non-scrolling tables, InnerRect.Max.y is ImRect WorkRect; ImRect InnerClipRect; - ImRect BgClipRect; // We use this to cpu-clip cell background color fill + ImRect BgClipRect; // We use this to cpu-clip cell background color fill, evolve during the frame as we cross frozen rows boundaries ImRect Bg0ClipRectForDrawCmd; // Actual ImDrawCmd clip rect for BG0/1 channel. This tends to be == OuterWindow->ClipRect at BeginTable() because output in BG0/BG1 is cpu-clipped ImRect Bg2ClipRectForDrawCmd; // Actual ImDrawCmd clip rect for BG2 channel. This tends to be a correct, tight-fit, because output to BG2 are done by widgets relying on regular ClipRect. ImRect HostClipRect; // This is used to check if we can eventually merge our columns draw calls into the current draw call of the current window. @@ -2293,6 +2573,8 @@ struct IMGUI_API ImGuiTable ImGuiWindow* InnerWindow; // Window holding the table data (== OuterWindow or a child window) ImGuiTextBuffer ColumnsNames; // Contiguous buffer holding columns names ImDrawListSplitter* DrawSplitter; // Shortcut to TempData->DrawSplitter while in table. Isolate draw commands per columns to avoid switching clip rect constantly + ImGuiTableInstanceData InstanceDataFirst; + ImVector InstanceDataExtra; // FIXME-OPT: Using a small-vector pattern would be good. ImGuiTableColumnSortSpecs SortSpecsSingle; ImVector SortSpecsMulti; // FIXME-OPT: Using a small-vector pattern would be good. ImGuiTableSortSpecs SortSpecs; // Public facing sorts specs, this is what we return in TableGetSortSpecs() @@ -2449,10 +2731,11 @@ namespace ImGui IMGUI_API ImDrawList* GetForegroundDrawList(ImGuiViewport* viewport); // get foreground draw list for the given viewport. this draw list will be the last rendered one. Useful to quickly draw shapes/text over dear imgui contents. // Init - IMGUI_API void Initialize(ImGuiContext* context); - IMGUI_API void Shutdown(ImGuiContext* context); // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext(). + IMGUI_API void Initialize(); + IMGUI_API void Shutdown(); // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext(). // NewFrame + IMGUI_API void UpdateInputEvents(bool trickle_fast_inputs); IMGUI_API void UpdateHoveredWindowAndCaptureFlags(); IMGUI_API void StartMouseMovingWindow(ImGuiWindow* window); IMGUI_API void UpdateMouseMovingWindowNewFrame(); @@ -2463,6 +2746,9 @@ namespace ImGui IMGUI_API void RemoveContextHook(ImGuiContext* context, ImGuiID hook_to_remove); IMGUI_API void CallContextHooks(ImGuiContext* context, ImGuiContextHookType type); + // Viewports + IMGUI_API void SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport); + // Settings IMGUI_API void MarkIniSettingsDirty(); IMGUI_API void MarkIniSettingsDirty(ImGuiWindow* window); @@ -2470,10 +2756,15 @@ namespace ImGui IMGUI_API ImGuiWindowSettings* CreateNewWindowSettings(const char* name); IMGUI_API ImGuiWindowSettings* FindWindowSettings(ImGuiID id); IMGUI_API ImGuiWindowSettings* FindOrCreateWindowSettings(const char* name); + IMGUI_API void AddSettingsHandler(const ImGuiSettingsHandler* handler); + IMGUI_API void RemoveSettingsHandler(const char* type_name); IMGUI_API ImGuiSettingsHandler* FindSettingsHandler(const char* type_name); + // Localization + IMGUI_API void LocalizeRegisterEntries(const ImGuiLocEntry* entries, int count); + inline const char* LocalizeGetMsg(ImGuiLocKey key) { ImGuiContext& g = *GImGui; const char* msg = g.LocalizationTable[key]; return msg ? msg : "*Missing Text*"; } + // Scrolling - IMGUI_API void SetNextWindowScroll(const ImVec2& scroll); // Use -1.0f on one axis to leave as-is IMGUI_API void SetScrollX(ImGuiWindow* window, float scroll_x); IMGUI_API void SetScrollY(ImGuiWindow* window, float scroll_y); IMGUI_API void SetScrollFromPosX(ImGuiWindow* window, float local_x, float center_x_ratio); @@ -2505,7 +2796,7 @@ namespace ImGui // Basic Helpers for widget code IMGUI_API void ItemSize(const ImVec2& size, float text_baseline_y = -1.0f); - IMGUI_API void ItemSize(const ImRect& bb, float text_baseline_y = -1.0f); + inline void ItemSize(const ImRect& bb, float text_baseline_y = -1.0f) { ItemSize(bb.GetSize(), text_baseline_y); } // FIXME: This is a misleading API since we expect CursorPos to be bb.Min. IMGUI_API bool ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb = NULL, ImGuiItemFlags extra_flags = 0); IMGUI_API bool ItemHoverable(const ImRect& bb, ImGuiID id); IMGUI_API bool IsClippedEx(const ImRect& bb, ImGuiID id); @@ -2517,21 +2808,10 @@ namespace ImGui IMGUI_API ImVec2 GetContentRegionMaxAbs(); IMGUI_API void ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_excess); - // Parameter stacks + // Parameter stacks (shared) IMGUI_API void PushItemFlag(ImGuiItemFlags option, bool enabled); IMGUI_API void PopItemFlag(); -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - // Currently refactoring focus/nav/tabbing system - // If you have old/custom copy-and-pasted widgets that used FocusableItemRegister(): - // (Old) IMGUI_VERSION_NUM < 18209: using 'ItemAdd(....)' and 'bool tab_focused = FocusableItemRegister(...)' - // (Old) IMGUI_VERSION_NUM >= 18209: using 'ItemAdd(..., ImGuiItemAddFlags_Focusable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_Focused) != 0' - // (New) IMGUI_VERSION_NUM >= 18413: using 'ItemAdd(..., ImGuiItemFlags_Inputable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_FocusedTabbing) != 0 || g.NavActivateInputId == id' (WIP) - // Widget code are simplified as there's no need to call FocusableItemUnregister() while managing the transition from regular widget to TempInputText() - inline bool FocusableItemRegister(ImGuiWindow* window, ImGuiID id) { IM_ASSERT(0); IM_UNUSED(window); IM_UNUSED(id); return false; } // -> pass ImGuiItemAddFlags_Inputable flag to ItemAdd() - inline void FocusableItemUnregister(ImGuiWindow* window) { IM_ASSERT(0); IM_UNUSED(window); } // -> unnecessary: TempInputText() uses ImGuiInputTextFlags_MergedItem -#endif - // Logging/Capture IMGUI_API void LogBegin(ImGuiLogType type, int auto_open_depth); // -> BeginCapture() when we design v2 api, for now stay under the radar by using the old name. IMGUI_API void LogToBuffer(int auto_open_depth = -1); // Start logging/capturing to internal buffer @@ -2573,37 +2853,102 @@ namespace ImGui IMGUI_API void NavMoveRequestCancel(); IMGUI_API void NavMoveRequestApplyResult(); IMGUI_API void NavMoveRequestTryWrapping(ImGuiWindow* window, ImGuiNavMoveFlags move_flags); - IMGUI_API float GetNavInputAmount(ImGuiNavInput n, ImGuiInputReadMode mode); - IMGUI_API ImVec2 GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor = 0.0f, float fast_factor = 0.0f); - IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate); IMGUI_API void ActivateItem(ImGuiID id); // Remotely activate a button, checkbox, tree node etc. given its unique ID. activation is queued and processed on the next frame when the item is encountered again. + IMGUI_API void SetNavWindow(ImGuiWindow* window); IMGUI_API void SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel); - // Focus Scope (WIP) - // This is generally used to identify a selection set (multiple of which may be in the same window), as selection - // patterns generally need to react (e.g. clear selection) when landing on an item of the set. - IMGUI_API void PushFocusScope(ImGuiID id); - IMGUI_API void PopFocusScope(); - inline ImGuiID GetFocusedFocusScope() { ImGuiContext& g = *GImGui; return g.NavFocusScopeId; } // Focus scope which is actually active - inline ImGuiID GetFocusScope() { ImGuiContext& g = *GImGui; return g.CurrentWindow->DC.NavFocusScopeIdCurrent; } // Focus scope we are outputting into, set by PushFocusScope() - // Inputs // FIXME: Eventually we should aim to move e.g. IsActiveIdUsingKey() into IsKeyXXX functions. - IMGUI_API void SetItemUsingMouseWheel(); - IMGUI_API void SetActiveIdUsingNavAndKeys(); - inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; } - inline bool IsActiveIdUsingNavInput(ImGuiNavInput input) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavInputMask & (1 << input)) != 0; } - inline bool IsActiveIdUsingKey(ImGuiKey key) { ImGuiContext& g = *GImGui; IM_ASSERT(key < 64); return (g.ActiveIdUsingKeyInputMask & ((ImU64)1 << key)) != 0; } + inline bool IsNamedKey(ImGuiKey key) { return key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END; } + inline bool IsNamedKeyOrModKey(ImGuiKey key) { return (key >= ImGuiKey_NamedKey_BEGIN && key < ImGuiKey_NamedKey_END) || key == ImGuiMod_Ctrl || key == ImGuiMod_Shift || key == ImGuiMod_Alt || key == ImGuiMod_Super; } + inline bool IsLegacyKey(ImGuiKey key) { return key >= ImGuiKey_LegacyNativeKey_BEGIN && key < ImGuiKey_LegacyNativeKey_END; } + inline bool IsKeyboardKey(ImGuiKey key) { return key >= ImGuiKey_Keyboard_BEGIN && key < ImGuiKey_Keyboard_END; } + inline bool IsGamepadKey(ImGuiKey key) { return key >= ImGuiKey_Gamepad_BEGIN && key < ImGuiKey_Gamepad_END; } + inline bool IsMouseKey(ImGuiKey key) { return key >= ImGuiKey_Mouse_BEGIN && key < ImGuiKey_Mouse_END; } + inline bool IsAliasKey(ImGuiKey key) { return key >= ImGuiKey_Aliases_BEGIN && key < ImGuiKey_Aliases_END; } + inline ImGuiKey ConvertSingleModFlagToKey(ImGuiKey key) + { + if (key == ImGuiMod_Ctrl) return ImGuiKey_ReservedForModCtrl; + if (key == ImGuiMod_Shift) return ImGuiKey_ReservedForModShift; + if (key == ImGuiMod_Alt) return ImGuiKey_ReservedForModAlt; + if (key == ImGuiMod_Super) return ImGuiKey_ReservedForModSuper; + return key; + } + + IMGUI_API ImGuiKeyData* GetKeyData(ImGuiKey key); + IMGUI_API void GetKeyChordName(ImGuiKeyChord key_chord, char* out_buf, int out_buf_size); + inline ImGuiKey MouseButtonToKey(ImGuiMouseButton button) { IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); return (ImGuiKey)(ImGuiKey_MouseLeft + button); } IMGUI_API bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold = -1.0f); - inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { ImGuiContext& g = *GImGui; const int key_index = g.IO.KeyMap[key]; return (key_index >= 0) ? IsKeyPressed(key_index, repeat) : false; } - inline bool IsNavInputDown(ImGuiNavInput n) { ImGuiContext& g = *GImGui; return g.IO.NavInputs[n] > 0.0f; } - inline bool IsNavInputTest(ImGuiNavInput n, ImGuiInputReadMode rm) { return (GetNavInputAmount(n, rm) > 0.0f); } - IMGUI_API ImGuiKeyModFlags GetMergedKeyModFlags(); + IMGUI_API ImVec2 GetKeyVector2d(ImGuiKey key_left, ImGuiKey key_right, ImGuiKey key_up, ImGuiKey key_down); + IMGUI_API float GetNavTweakPressedAmount(ImGuiAxis axis); + IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate); + IMGUI_API void GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate); + IMGUI_API void SetActiveIdUsingAllKeyboardKeys(); + inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; } + + // [EXPERIMENTAL] Low-Level: Key/Input Ownership + // - The idea is that instead of "eating" a given input, we can link to an owner id. + // - Ownership is most often claimed as a result of reacting to a press/down event (but occasionally may be claimed ahead). + // - Input queries can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_None (== -1) or a custom ID. + // - Legacy input queries (without specifying an owner or _Any or _None) are equivalent to using ImGuiKeyOwner_Any (== 0). + // - Input ownership is automatically released on the frame after a key is released. Therefore: + // - for ownership registration happening as a result of a down/press event, the SetKeyOwner() call may be done once (common case). + // - for ownership registration happening ahead of a down/press event, the SetKeyOwner() call needs to be made every frame (happens if e.g. claiming ownership on hover). + // - SetItemKeyOwner() is a shortcut for common simple case. A custom widget will probably want to call SetKeyOwner() multiple times directly based on its interaction state. + // - This is marked experimental because not all widgets are fully honoring the Set/Test idioms. We will need to move forward step by step. + // Please open a GitHub Issue to submit your usage scenario or if there's a use case you need solved. + IMGUI_API ImGuiID GetKeyOwner(ImGuiKey key); + IMGUI_API void SetKeyOwner(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags = 0); + IMGUI_API void SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags = 0); // Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) { SetKeyOwner(key, GetItemID());'. + IMGUI_API bool TestKeyOwner(ImGuiKey key, ImGuiID owner_id); // Test that key is either not owned, either owned by 'owner_id' + inline ImGuiKeyOwnerData* GetKeyOwnerData(ImGuiKey key) { if (key & ImGuiMod_Mask_) key = ConvertSingleModFlagToKey(key); IM_ASSERT(IsNamedKey(key)); return &GImGui->KeysOwnerData[key - ImGuiKey_NamedKey_BEGIN]; } + + // [EXPERIMENTAL] High-Level: Input Access functions w/ support for Key/Input Ownership + // - Important: legacy IsKeyPressed(ImGuiKey, bool repeat=true) _DEFAULTS_ to repeat, new IsKeyPressed() requires _EXPLICIT_ ImGuiInputFlags_Repeat flag. + // - Expected to be later promoted to public API, the prototypes are designed to replace existing ones (since owner_id can default to Any == 0) + // - Specifying a value for 'ImGuiID owner' will test that EITHER the key is NOT owned (UNLESS locked), EITHER the key is owned by 'owner'. + // Legacy functions use ImGuiKeyOwner_Any meaning that they typically ignore ownership, unless a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. + // - Binding generators may want to ignore those for now, or suffix them with Ex() until we decide if this gets moved into public API. + IMGUI_API bool IsKeyDown(ImGuiKey key, ImGuiID owner_id); + IMGUI_API bool IsKeyPressed(ImGuiKey key, ImGuiID owner_id, ImGuiInputFlags flags = 0); // Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requiress explicit ImGuiInputFlags_Repeat. + IMGUI_API bool IsKeyReleased(ImGuiKey key, ImGuiID owner_id); + IMGUI_API bool IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id); + IMGUI_API bool IsMouseClicked(ImGuiMouseButton button, ImGuiID owner_id, ImGuiInputFlags flags = 0); + IMGUI_API bool IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id); + + // [EXPERIMENTAL] Shortcut Routing + // - ImGuiKeyChord = a ImGuiKey optionally OR-red with ImGuiMod_Alt/ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Super. + // ImGuiKey_C (accepted by functions taking ImGuiKey or ImGuiKeyChord) + // ImGuiKey_C | ImGuiMod_Ctrl (accepted by functions taking ImGuiKeyChord) + // ONLY ImGuiMod_XXX values are legal to 'OR' with an ImGuiKey. You CANNOT 'OR' two ImGuiKey values. + // - When using one of the routing flags (e.g. ImGuiInputFlags_RouteFocused): routes requested ahead of time given a chord (key + modifiers) and a routing policy. + // - Routes are resolved during NewFrame(): if keyboard modifiers are matching current ones: SetKeyOwner() is called + route is granted for the frame. + // - Route is granted to a single owner. When multiple requests are made we have policies to select the winning route. + // - Multiple read sites may use the same owner id and will all get the granted route. + // - For routing: when owner_id is 0 we use the current Focus Scope ID as a default owner in order to identify our location. + IMGUI_API bool Shortcut(ImGuiKeyChord key_chord, ImGuiID owner_id = 0, ImGuiInputFlags flags = 0); + IMGUI_API bool SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id = 0, ImGuiInputFlags flags = 0); + IMGUI_API bool TestShortcutRouting(ImGuiKeyChord key_chord, ImGuiID owner_id); + IMGUI_API ImGuiKeyRoutingData* GetShortcutRoutingData(ImGuiKeyChord key_chord); + + // [EXPERIMENTAL] Focus Scope + // This is generally used to identify a unique input location (for e.g. a selection set) + // There is one per window (automatically set in Begin), but: + // - Selection patterns generally need to react (e.g. clear a selection) when landing on one item of the set. + // So in order to identify a set multiple lists in same window may each need a focus scope. + // If you imagine an hypothetical BeginSelectionGroup()/EndSelectionGroup() api, it would likely call PushFocusScope()/EndFocusScope() + // - Shortcut routing also use focus scope as a default location identifier if an owner is not provided. + // We don't use the ID Stack for this as it is common to want them separate. + IMGUI_API void PushFocusScope(ImGuiID id); + IMGUI_API void PopFocusScope(); + inline ImGuiID GetCurrentFocusScope() { ImGuiContext& g = *GImGui; return g.CurrentFocusScopeId; } // Focus scope we are outputting into, set by PushFocusScope() // Drag and Drop + IMGUI_API bool IsDragDropActive(); IMGUI_API bool BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id); IMGUI_API void ClearDragDrop(); IMGUI_API bool IsDragDropPayloadBeingAccepted(); + IMGUI_API void RenderDragDropTargetRect(const ImRect& bb); // Internal Columns API (this is not exposed because we will encourage transitioning to the Tables API) IMGUI_API void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect); @@ -2638,7 +2983,9 @@ namespace ImGui IMGUI_API void TableUpdateColumnsWeightFromWidth(ImGuiTable* table); IMGUI_API void TableDrawBorders(ImGuiTable* table); IMGUI_API void TableDrawContextMenu(ImGuiTable* table); + IMGUI_API bool TableBeginContextMenuPopup(ImGuiTable* table); IMGUI_API void TableMergeDrawChannels(ImGuiTable* table); + inline ImGuiTableInstanceData* TableGetInstanceData(ImGuiTable* table, int instance_no) { if (instance_no == 0) return &table->InstanceDataFirst; return &table->InstanceDataExtra[instance_no - 1]; } IMGUI_API void TableSortSpecsSanitize(ImGuiTable* table); IMGUI_API void TableSortSpecsBuild(ImGuiTable* table); IMGUI_API ImGuiSortDirection TableGetColumnNextSortDirection(ImGuiTableColumn* column); @@ -2664,7 +3011,7 @@ namespace ImGui IMGUI_API void TableSaveSettings(ImGuiTable* table); IMGUI_API void TableResetSettings(ImGuiTable* table); IMGUI_API ImGuiTableSettings* TableGetBoundSettings(ImGuiTable* table); - IMGUI_API void TableSettingsInstallHandler(ImGuiContext* context); + IMGUI_API void TableSettingsAddSettingsHandler(); IMGUI_API ImGuiTableSettings* TableSettingsCreate(ImGuiID id, int columns_count); IMGUI_API ImGuiTableSettings* TableSettingsFindByID(ImGuiID id); @@ -2677,7 +3024,7 @@ namespace ImGui IMGUI_API void TabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar, const ImGuiTabItem* tab, ImVec2 mouse_pos); IMGUI_API bool TabBarProcessReorder(ImGuiTabBar* tab_bar); IMGUI_API bool TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags); - IMGUI_API ImVec2 TabItemCalcSize(const char* label, bool has_close_button); + IMGUI_API ImVec2 TabItemCalcSize(const char* label, bool has_close_button_or_unsaved_marker); IMGUI_API void TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col); IMGUI_API void TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_button_id, bool is_contents_visible, bool* out_just_closed, bool* out_text_clipped); @@ -2694,21 +3041,15 @@ namespace ImGui IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list, ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, float grid_step, ImVec2 grid_off, float rounding = 0.0f, ImDrawFlags flags = 0); IMGUI_API void RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags = ImGuiNavHighlightFlags_TypeDefault); // Navigation highlight IMGUI_API const char* FindRenderedTextEnd(const char* text, const char* text_end = NULL); // Find the optional ## from which we stop displaying text. + IMGUI_API void RenderMouseCursor(ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow); // Render helpers (those functions don't access any ImGui state!) IMGUI_API void RenderArrow(ImDrawList* draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, float scale = 1.0f); IMGUI_API void RenderBullet(ImDrawList* draw_list, ImVec2 pos, ImU32 col); IMGUI_API void RenderCheckMark(ImDrawList* draw_list, ImVec2 pos, ImU32 col, float sz); - IMGUI_API void RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow); IMGUI_API void RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col); IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding); - IMGUI_API void RenderRectFilledWithHole(ImDrawList* draw_list, ImRect outer, ImRect inner, ImU32 col, float rounding); - -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - // [1.71: 2019/06/07: Updating prototypes of some of the internal functions. Leaving those for reference for a short while] - inline void RenderArrow(ImVec2 pos, ImGuiDir dir, float scale=1.0f) { ImGuiWindow* window = GetCurrentWindow(); RenderArrow(window->DrawList, pos, GetColorU32(ImGuiCol_Text), dir, scale); } - inline void RenderBullet(ImVec2 pos) { ImGuiWindow* window = GetCurrentWindow(); RenderBullet(window->DrawList, pos, GetColorU32(ImGuiCol_Text)); } -#endif + IMGUI_API void RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding); // Widgets IMGUI_API void TextEx(const char* text, const char* text_end = NULL, ImGuiTextFlags flags = 0); @@ -2718,7 +3059,7 @@ namespace ImGui IMGUI_API bool ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size_arg, ImGuiButtonFlags flags = 0); IMGUI_API void Scrollbar(ImGuiAxis axis); IMGUI_API bool ScrollbarEx(const ImRect& bb, ImGuiID id, ImGuiAxis axis, ImS64* p_scroll_v, ImS64 avail_v, ImS64 contents_v, ImDrawFlags flags); - IMGUI_API bool ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec2& padding, const ImVec4& bg_col, const ImVec4& tint_col); + IMGUI_API bool ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col); IMGUI_API ImRect GetWindowScrollbarRect(ImGuiWindow* window, ImGuiAxis axis); IMGUI_API ImGuiID GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis); IMGUI_API ImGuiID GetWindowResizeCornerID(ImGuiWindow* window, int n); // 0..3: corners @@ -2733,8 +3074,9 @@ namespace ImGui IMGUI_API bool SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, void* p_v, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb); IMGUI_API bool SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float* size1, float* size2, float min_size1, float min_size2, float hover_extend = 0.0f, float hover_visibility_delay = 0.0f); IMGUI_API bool TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* label, const char* label_end = NULL); - IMGUI_API bool TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags = 0); // Consume previous SetNextItemOpen() data, if any. May return true when logging IMGUI_API void TreePushOverrideID(ImGuiID id); + IMGUI_API void TreeNodeSetOpen(ImGuiID id, bool open); + IMGUI_API bool TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags); // Return open state. Consume previous SetNextItemOpen() data, if any. May return true when logging. // Template functions are instantiated in imgui_widgets.cpp for a finite number of types. // To use them externally (for custom widget) you may need an "extern template" statement in your code in order to link to existing instances and silence Clang warnings (see #2036). @@ -2743,14 +3085,14 @@ namespace ImGui template IMGUI_API T ScaleValueFromRatioT(ImGuiDataType data_type, float t, T v_min, T v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_size); template IMGUI_API bool DragBehaviorT(ImGuiDataType data_type, T* v, float v_speed, T v_min, T v_max, const char* format, ImGuiSliderFlags flags); template IMGUI_API bool SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, T* v, T v_min, T v_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb); - template IMGUI_API T RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, T v); + template IMGUI_API T RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, T v); template IMGUI_API bool CheckboxFlagsT(const char* label, T* flags, T flags_value); // Data type helpers IMGUI_API const ImGuiDataTypeInfo* DataTypeGetInfo(ImGuiDataType data_type); IMGUI_API int DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* p_data, const char* format); IMGUI_API void DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const void* arg_1, const void* arg_2); - IMGUI_API bool DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* p_data, const char* format); + IMGUI_API bool DataTypeApplyFromText(const char* buf, ImGuiDataType data_type, void* p_data, const char* format); IMGUI_API int DataTypeCompare(ImGuiDataType data_type, const void* arg_1, const void* arg_2); IMGUI_API bool DataTypeClamp(ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max); @@ -2759,7 +3101,7 @@ namespace ImGui IMGUI_API bool TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* buf, int buf_size, ImGuiInputTextFlags flags); IMGUI_API bool TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min = NULL, const void* p_clamp_max = NULL); inline bool TempInputIsActive(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.ActiveId == id && g.TempInputId == id); } - inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active + inline ImGuiInputTextState* GetInputTextState(ImGuiID id) { ImGuiContext& g = *GImGui; return (id != 0 && g.InputTextState.ID == id) ? &g.InputTextState : NULL; } // Get input text state if active // Color IMGUI_API void ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags flags); @@ -2778,22 +3120,31 @@ namespace ImGui IMGUI_API void GcCompactTransientWindowBuffers(ImGuiWindow* window); IMGUI_API void GcAwakeTransientWindowBuffers(ImGuiWindow* window); + // Debug Log + IMGUI_API void DebugLog(const char* fmt, ...) IM_FMTARGS(1); + IMGUI_API void DebugLogV(const char* fmt, va_list args) IM_FMTLIST(1); + // Debug Tools IMGUI_API void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback, void* user_data = NULL); IMGUI_API void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback, void* user_data = NULL); + IMGUI_API void ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + IMGUI_API void DebugLocateItem(ImGuiID target_id); // Call sparingly: only 1 at the same time! + IMGUI_API void DebugLocateItemOnHover(ImGuiID target_id); // Only call on reaction to a mouse Hover: because only 1 at the same time! + IMGUI_API void DebugLocateItemResolveWithLastItem(); inline void DebugDrawItemRect(ImU32 col = IM_COL32(255,0,0,255)) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; GetForegroundDrawList(window)->AddRect(g.LastItemData.Rect.Min, g.LastItemData.Rect.Max, col); } inline void DebugStartItemPicker() { ImGuiContext& g = *GImGui; g.DebugItemPickerActive = true; } - IMGUI_API void ShowFontAtlas(ImFontAtlas* atlas); IMGUI_API void DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* data_id, const void* data_id_end); IMGUI_API void DebugNodeColumns(ImGuiOldColumns* columns); IMGUI_API void DebugNodeDrawList(ImGuiWindow* window, const ImDrawList* draw_list, const char* label); IMGUI_API void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, bool show_aabb); IMGUI_API void DebugNodeFont(ImFont* font); + IMGUI_API void DebugNodeFontGlyph(ImFont* font, const ImFontGlyph* glyph); IMGUI_API void DebugNodeStorage(ImGuiStorage* storage, const char* label); IMGUI_API void DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label); IMGUI_API void DebugNodeTable(ImGuiTable* table); IMGUI_API void DebugNodeTableSettings(ImGuiTableSettings* settings); + IMGUI_API void DebugNodeInputTextState(ImGuiInputTextState* state); IMGUI_API void DebugNodeWindow(ImGuiWindow* window, const char* label); IMGUI_API void DebugNodeWindowSettings(ImGuiWindowSettings* settings); IMGUI_API void DebugNodeWindowsList(ImVector* windows, const char* label); @@ -2801,6 +3152,23 @@ namespace ImGui IMGUI_API void DebugNodeViewport(ImGuiViewportP* viewport); IMGUI_API void DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb); + // Obsolete functions +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS + inline void SetItemUsingMouseWheel() { SetItemKeyOwner(ImGuiKey_MouseWheelY); } // Changed in 1.89 + inline bool TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags = 0) { return TreeNodeUpdateNextOpen(id, flags); } // Renamed in 1.89 + + // Refactored focus/nav/tabbing system in 1.82 and 1.84. If you have old/custom copy-and-pasted widgets that used FocusableItemRegister(): + // (Old) IMGUI_VERSION_NUM < 18209: using 'ItemAdd(....)' and 'bool tab_focused = FocusableItemRegister(...)' + // (Old) IMGUI_VERSION_NUM >= 18209: using 'ItemAdd(..., ImGuiItemAddFlags_Focusable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_Focused) != 0' + // (New) IMGUI_VERSION_NUM >= 18413: using 'ItemAdd(..., ImGuiItemFlags_Inputable)' and 'bool tab_focused = (GetItemStatusFlags() & ImGuiItemStatusFlags_FocusedTabbing) != 0 || g.NavActivateInputId == id' (WIP) + // Widget code are simplified as there's no need to call FocusableItemUnregister() while managing the transition from regular widget to TempInputText() + inline bool FocusableItemRegister(ImGuiWindow* window, ImGuiID id) { IM_ASSERT(0); IM_UNUSED(window); IM_UNUSED(id); return false; } // -> pass ImGuiItemAddFlags_Inputable flag to ItemAdd() + inline void FocusableItemUnregister(ImGuiWindow* window) { IM_ASSERT(0); IM_UNUSED(window); } // -> unnecessary: TempInputText() uses ImGuiInputTextFlags_MergedItem +#endif +#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO + inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { IM_ASSERT(IsNamedKey(key)); return IsKeyPressed(key, repeat); } // Removed in 1.87: Mapping from named key is always identity! +#endif + } // namespace ImGui @@ -2815,7 +3183,9 @@ struct ImFontBuilderIO }; // Helper for font builder +#ifdef IMGUI_ENABLE_STB_TRUETYPE IMGUI_API const ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetype(); +#endif IMGUI_API void ImFontAtlasBuildInit(ImFontAtlas* atlas); IMGUI_API void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent); IMGUI_API void ImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas, void* stbrp_context_opaque); @@ -2839,7 +3209,8 @@ extern const char* ImGuiTestEngine_FindItemDebugLabel(ImGuiContext* ctx, ImGuiI #define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) if (g.TestEngineHookItems) ImGuiTestEngineHook_ItemInfo(&g, _ID, _LABEL, _FLAGS) // Register item label and status flags (optional) #define IMGUI_TEST_ENGINE_LOG(_FMT,...) if (g.TestEngineHookItems) ImGuiTestEngineHook_Log(&g, _FMT, __VA_ARGS__) // Custom log entry from user land into test log #else -#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) ((void)0) +#define IMGUI_TEST_ENGINE_ITEM_ADD(_BB,_ID) ((void)0) +#define IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS) ((void)g) #endif //----------------------------------------------------------------------------- diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui_tables.cpp b/imgui-sys/third-party/imgui-master/imgui/imgui_tables.cpp index 8a3fe93..503c098 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui_tables.cpp +++ b/imgui-sys/third-party/imgui-master/imgui/imgui_tables.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (tables and columns code) /* @@ -24,7 +24,7 @@ Index of this file: */ // Navigating this file: -// - In Visual Studio IDE: CTRL+comma ("Edit.NavigateTo") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. +// - In Visual Studio IDE: CTRL+comma ("Edit.GoToAll") can follow symbols in comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot. // - With Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols in comments. //----------------------------------------------------------------------------- @@ -361,6 +361,8 @@ bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImG table->IsLayoutLocked = false; table->InnerWidth = inner_width; temp_data->UserOuterSize = outer_size; + if (instance_no > 0 && table->InstanceDataExtra.Size < instance_no) + table->InstanceDataExtra.push_back(ImGuiTableInstanceData()); // When not using a child window, WorkRect.Max will grow as we append contents. if (use_child_window) @@ -537,7 +539,7 @@ bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImG if (table->RefScale != 0.0f && table->RefScale != new_ref_scale_unit) { const float scale_factor = new_ref_scale_unit / table->RefScale; - //IMGUI_DEBUG_LOG("[table] %08X RefScaleUnit %.3f -> %.3f, scaling width by %.3f\n", table->ID, table->RefScaleUnit, new_ref_scale_unit, scale_factor); + //IMGUI_DEBUG_PRINT("[table] %08X RefScaleUnit %.3f -> %.3f, scaling width by %.3f\n", table->ID, table->RefScaleUnit, new_ref_scale_unit, scale_factor); for (int n = 0; n < columns_count; n++) table->Columns[n].WidthRequest = table->Columns[n].WidthRequest * scale_factor; } @@ -886,6 +888,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table) sum_width_requests += table->CellPaddingX * 2.0f; } table->ColumnsEnabledFixedCount = (ImGuiTableColumnIdx)count_fixed; + table->ColumnsStretchSumWeights = stretch_sum_weights; // [Part 4] Apply final widths based on requested widths const ImRect work_rect = table->WorkRect; @@ -933,10 +936,19 @@ void ImGui::TableUpdateLayout(ImGuiTable* table) width_remaining_for_stretched_columns -= 1.0f; } + // Determine if table is hovered which will be used to flag columns as hovered. + // - In principle we'd like to use the equivalent of IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem), + // but because our item is partially submitted at this point we use ItemHoverable() and a workaround (temporarily + // clear ActiveId, which is equivalent to the change provided by _AllowWhenBLockedByActiveItem). + // - This allows columns to be marked as hovered when e.g. clicking a button inside the column, or using drag and drop. + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); table->HoveredColumnBody = -1; table->HoveredColumnBorder = -1; - const ImRect mouse_hit_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterRect.Max.y, table->OuterRect.Min.y + table->LastOuterHeight)); + const ImRect mouse_hit_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterRect.Max.y, table->OuterRect.Min.y + table_instance->LastOuterHeight)); + const ImGuiID backup_active_id = g.ActiveId; + g.ActiveId = 0; const bool is_hovering_table = ItemHoverable(mouse_hit_rect, 0); + g.ActiveId = backup_active_id; // [Part 6] Setup final position, offset, skip/clip states and clipping rectangles, detect hovered column // Process columns in their visible orders as we are comparing the visible order and adjusting host_clip_rect while looping. @@ -1096,23 +1108,15 @@ void ImGui::TableUpdateLayout(ImGuiTable* table) // [Part 10] Hit testing on borders if (table->Flags & ImGuiTableFlags_Resizable) TableUpdateBorders(table); - table->LastFirstRowHeight = 0.0f; + table_instance->LastFirstRowHeight = 0.0f; table->IsLayoutLocked = true; table->IsUsingHeaders = false; // [Part 11] Context menu - if (table->IsContextPopupOpen && table->InstanceCurrent == table->InstanceInteracted) + if (TableBeginContextMenuPopup(table)) { - const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); - if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) - { - TableDrawContextMenu(table); - EndPopup(); - } - else - { - table->IsContextPopupOpen = false; - } + TableDrawContextMenu(table); + EndPopup(); } // [Part 13] Sanitize and build sort specs before we have a change to use them for display. @@ -1141,10 +1145,11 @@ void ImGui::TableUpdateBorders(ImGuiTable* table) // use the final height from last frame. Because this is only affecting _interaction_ with columns, it is not // really problematic (whereas the actual visual will be displayed in EndTable() and using the current frame height). // Actual columns highlight/render will be performed in EndTable() and not be affected. + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); const float hit_half_width = TABLE_RESIZE_SEPARATOR_HALF_THICKNESS; const float hit_y1 = table->OuterRect.Min.y; - const float hit_y2_body = ImMax(table->OuterRect.Max.y, hit_y1 + table->LastOuterHeight); - const float hit_y2_head = hit_y1 + table->LastFirstRowHeight; + const float hit_y2_body = ImMax(table->OuterRect.Max.y, hit_y1 + table_instance->LastOuterHeight); + const float hit_y2_head = hit_y1 + table_instance->LastFirstRowHeight; for (int order_n = 0; order_n < table->ColumnsCount; order_n++) { @@ -1166,8 +1171,8 @@ void ImGui::TableUpdateBorders(ImGuiTable* table) ImGuiID column_id = TableGetColumnResizeID(table, column_n, table->InstanceCurrent); ImRect hit_rect(column->MaxX - hit_half_width, hit_y1, column->MaxX + hit_half_width, border_y2_hit); + ItemAdd(hit_rect, column_id, NULL, ImGuiItemFlags_NoNav); //GetForegroundDrawList()->AddRect(hit_rect.Min, hit_rect.Max, IM_COL32(255, 0, 0, 100)); - KeepAliveID(column_id); bool hovered = false, held = false; bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus); @@ -1223,6 +1228,7 @@ void ImGui::EndTable() TableOpenContextMenu((int)table->HoveredColumnBody); // Finalize table height + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); inner_window->DC.PrevLineSize = temp_data->HostBackupPrevLineSize; inner_window->DC.CurrLineSize = temp_data->HostBackupCurrLineSize; inner_window->DC.CursorMaxPos = temp_data->HostBackupCursorMaxPos; @@ -1233,7 +1239,7 @@ void ImGui::EndTable() else if (!(flags & ImGuiTableFlags_NoHostExtendY)) table->OuterRect.Max.y = table->InnerRect.Max.y = ImMax(table->OuterRect.Max.y, inner_content_max_y); // Patch OuterRect/InnerRect height table->WorkRect.Max.y = ImMax(table->WorkRect.Max.y, table->OuterRect.Max.y); - table->LastOuterHeight = table->OuterRect.GetHeight(); + table_instance->LastOuterHeight = table->OuterRect.GetHeight(); // Setup inner scrolling range // FIXME: This ideally should be done earlier, in BeginTable() SetNextWindowContentSize call, just like writing to inner_window->DC.CursorMaxPos.y, @@ -1279,17 +1285,23 @@ void ImGui::EndTable() splitter->Merge(inner_window->DrawList); // Update ColumnsAutoFitWidth to get us ahead for host using our size to auto-resize without waiting for next BeginTable() - const float width_spacings = (table->OuterPaddingX * 2.0f) + (table->CellSpacingX1 + table->CellSpacingX2) * (table->ColumnsEnabledCount - 1); - table->ColumnsAutoFitWidth = width_spacings + (table->CellPaddingX * 2.0f) * table->ColumnsEnabledCount; + float auto_fit_width_for_fixed = 0.0f; + float auto_fit_width_for_stretched = 0.0f; + float auto_fit_width_for_stretched_min = 0.0f; for (int column_n = 0; column_n < table->ColumnsCount; column_n++) if (table->EnabledMaskByIndex & ((ImU64)1 << column_n)) { ImGuiTableColumn* column = &table->Columns[column_n]; - if ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && !(column->Flags & ImGuiTableColumnFlags_NoResize)) - table->ColumnsAutoFitWidth += column->WidthRequest; + float column_width_request = ((column->Flags & ImGuiTableColumnFlags_WidthFixed) && !(column->Flags & ImGuiTableColumnFlags_NoResize)) ? column->WidthRequest : TableGetColumnWidthAuto(table, column); + if (column->Flags & ImGuiTableColumnFlags_WidthFixed) + auto_fit_width_for_fixed += column_width_request; else - table->ColumnsAutoFitWidth += TableGetColumnWidthAuto(table, column); + auto_fit_width_for_stretched += column_width_request; + if ((column->Flags & ImGuiTableColumnFlags_WidthStretch) && (column->Flags & ImGuiTableColumnFlags_NoResize) != 0) + auto_fit_width_for_stretched_min = ImMax(auto_fit_width_for_stretched_min, column_width_request / (column->StretchWeight / table->ColumnsStretchSumWeights)); } + const float width_spacings = (table->OuterPaddingX * 2.0f) + (table->CellSpacingX1 + table->CellSpacingX2) * (table->ColumnsEnabledCount - 1); + table->ColumnsAutoFitWidth = width_spacings + (table->CellPaddingX * 2.0f) * table->ColumnsEnabledCount + auto_fit_width_for_fixed + ImMax(auto_fit_width_for_stretched, auto_fit_width_for_stretched_min); // Update scroll if ((table->Flags & ImGuiTableFlags_ScrollX) == 0 && inner_window != outer_window) @@ -1569,18 +1581,21 @@ ImGuiTableColumnFlags ImGui::TableGetColumnFlags(int column_n) // Return the cell rectangle based on currently known height. // - Important: we generally don't know our row height until the end of the row, so Max.y will be incorrect in many situations. -// The only case where this is correct is if we provided a min_row_height to TableNextRow() and don't go below it. +// The only case where this is correct is if we provided a min_row_height to TableNextRow() and don't go below it, or in TableEndRow() when we locked that height. // - Important: if ImGuiTableFlags_PadOuterX is set but ImGuiTableFlags_PadInnerX is not set, the outer-most left and right // columns report a small offset so their CellBgRect can extend up to the outer border. +// FIXME: But the rendering code in TableEndRow() nullifies that with clamping required for scrolling. ImRect ImGui::TableGetCellBgRect(const ImGuiTable* table, int column_n) { const ImGuiTableColumn* column = &table->Columns[column_n]; float x1 = column->MinX; float x2 = column->MaxX; - if (column->PrevEnabledColumn == -1) - x1 -= table->CellSpacingX1; - if (column->NextEnabledColumn == -1) - x2 += table->CellSpacingX2; + //if (column->PrevEnabledColumn == -1) + // x1 -= table->OuterPaddingX; + //if (column->NextEnabledColumn == -1) + // x2 += table->OuterPaddingX; + x1 = ImMax(x1, table->WorkRect.Min.x); + x2 = ImMin(x2, table->WorkRect.Max.x); return ImRect(x1, table->RowPosY1, x2, table->RowPosY2); } @@ -1710,6 +1725,8 @@ void ImGui::TableBeginRow(ImGuiTable* table) table->RowTextBaseline = 0.0f; table->RowIndentOffsetX = window->DC.Indent.x - table->HostIndentX; // Lock indent window->DC.PrevLineTextBaseOffset = 0.0f; + window->DC.CurrLineSize = ImVec2(0.0f, 0.0f); + window->DC.IsSameLine = window->DC.IsSetPos = false; window->DC.CursorMaxPos.y = next_y1; // Making the header BG color non-transparent will allow us to overlay it multiple times when handling smooth dragging. @@ -1746,7 +1763,7 @@ void ImGui::TableEndRow(ImGuiTable* table) const bool unfreeze_rows_actual = (table->CurrentRow + 1 == table->FreezeRowsCount); const bool unfreeze_rows_request = (table->CurrentRow + 1 == table->FreezeRowsRequest); if (table->CurrentRow == 0) - table->LastFirstRowHeight = bg_y2 - bg_y1; + TableGetInstanceData(table, table->InstanceCurrent)->LastFirstRowHeight = bg_y2 - bg_y1; const bool is_visible = (bg_y2 >= table->InnerClipRect.Min.y && bg_y1 <= table->InnerClipRect.Max.y); if (is_visible) @@ -1797,10 +1814,12 @@ void ImGui::TableEndRow(ImGuiTable* table) ImGuiTableCellData* cell_data_end = &table->RowCellData[table->RowCellDataCurrent]; for (ImGuiTableCellData* cell_data = &table->RowCellData[0]; cell_data <= cell_data_end; cell_data++) { + // As we render the BG here we need to clip things (for layout we would not) + // FIXME: This cancels the OuterPadding addition done by TableGetCellBgRect(), need to keep it while rendering correctly while scrolling. const ImGuiTableColumn* column = &table->Columns[cell_data->Column]; ImRect cell_bg_rect = TableGetCellBgRect(table, cell_data->Column); cell_bg_rect.ClipWith(table->BgClipRect); - cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, column->ClipRect.Min.x); // So that first column after frozen one gets clipped + cell_bg_rect.Min.x = ImMax(cell_bg_rect.Min.x, column->ClipRect.Min.x); // So that first column after frozen one gets clipped when scrolling cell_bg_rect.Max.x = ImMin(cell_bg_rect.Max.x, column->MaxX); window->DrawList->AddRectFilled(cell_bg_rect.Min, cell_bg_rect.Max, cell_data->BgColor); } @@ -1989,6 +2008,9 @@ void ImGui::TableEndCell(ImGuiTable* table) ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; ImGuiWindow* window = table->InnerWindow; + if (window->DC.IsSetPos) + ErrorCheckUsingSetCursorPosToExtendParentBoundaries(); + // Report maximum position so we can infer content size per column. float* p_max_pos_x; if (table->RowFlags & ImGuiTableRowFlags_Headers) @@ -2083,7 +2105,7 @@ void ImGui::TableSetColumnWidth(int column_n, float width) if (column_0->WidthGiven == column_0_width || column_0->WidthRequest == column_0_width) return; - //IMGUI_DEBUG_LOG("TableSetColumnWidth(%d, %.1f->%.1f)\n", column_0_idx, column_0->WidthGiven, column_0_width); + //IMGUI_DEBUG_PRINT("TableSetColumnWidth(%d, %.1f->%.1f)\n", column_0_idx, column_0->WidthGiven, column_0_width); ImGuiTableColumn* column_1 = (column_0->NextEnabledColumn != -1) ? &table->Columns[column_0->NextEnabledColumn] : NULL; // In this surprisingly not simple because of how we support mixing Fixed and multiple Stretch columns. @@ -2353,7 +2375,7 @@ void ImGui::TableMergeDrawChannels(ImGuiTable* table) // Don't attempt to merge if there are multiple draw calls within the column ImDrawChannel* src_channel = &splitter->_Channels[channel_no]; - if (src_channel->_CmdBuffer.Size > 0 && src_channel->_CmdBuffer.back().ElemCount == 0) + if (src_channel->_CmdBuffer.Size > 0 && src_channel->_CmdBuffer.back().ElemCount == 0 && src_channel->_CmdBuffer.back().UserCallback == NULL) // Equivalent of PopUnusedDrawCmd() src_channel->_CmdBuffer.pop_back(); if (src_channel->_CmdBuffer.Size != 1) continue; @@ -2497,10 +2519,11 @@ void ImGui::TableDrawBorders(ImGuiTable* table) inner_drawlist->PushClipRect(table->Bg0ClipRectForDrawCmd.Min, table->Bg0ClipRectForDrawCmd.Max, false); // Draw inner border and resizing feedback + ImGuiTableInstanceData* table_instance = TableGetInstanceData(table, table->InstanceCurrent); const float border_size = TABLE_BORDER_SIZE; const float draw_y1 = table->InnerRect.Min.y; const float draw_y2_body = table->InnerRect.Max.y; - const float draw_y2_head = table->IsUsingHeaders ? ImMin(table->InnerRect.Max.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table->LastFirstRowHeight) : draw_y1; + const float draw_y2_head = table->IsUsingHeaders ? ImMin(table->InnerRect.Max.y, (table->FreezeRowsCount >= 1 ? table->InnerRect.Min.y : table->WorkRect.Min.y) + table_instance->LastFirstRowHeight) : draw_y1; if (table->Flags & ImGuiTableFlags_BordersInnerV) { for (int order_n = 0; order_n < table->ColumnsCount; order_n++) @@ -2982,7 +3005,7 @@ void ImGui::TableHeader(const char* label) RenderTextEllipsis(window->DrawList, label_pos, ImVec2(ellipsis_max, label_pos.y + label_height + g.Style.FramePadding.y), ellipsis_max, ellipsis_max, label, label_end, &label_size); const bool text_clipped = label_size.x > (ellipsis_max - label_pos.x); - if (text_clipped && hovered && g.HoveredIdNotActiveTimer > g.TooltipSlowDelay) + if (text_clipped && hovered && g.ActiveId == 0 && IsItemHovered(ImGuiHoveredFlags_DelayNormal)) SetTooltip("%.*s", (int)(label_end - label), label); // We don't use BeginPopupContextItem() because we want the popup to stay up even after the column is hidden @@ -3017,6 +3040,17 @@ void ImGui::TableOpenContextMenu(int column_n) } } +bool ImGui::TableBeginContextMenuPopup(ImGuiTable* table) +{ + if (!table->IsContextPopupOpen || table->InstanceCurrent != table->InstanceInteracted) + return false; + const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); + if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) + return true; + table->IsContextPopupOpen = false; + return false; +} + // Output context menu into current window (generally a popup) // FIXME-TABLE: Ideally this should be writable by the user. Full programmatic access to that data? void ImGui::TableDrawContextMenu(ImGuiTable* table) @@ -3036,15 +3070,15 @@ void ImGui::TableDrawContextMenu(ImGuiTable* table) if (column != NULL) { const bool can_resize = !(column->Flags & ImGuiTableColumnFlags_NoResize) && column->IsEnabled; - if (MenuItem("Size column to fit###SizeOne", NULL, false, can_resize)) + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_TableSizeOne), NULL, false, can_resize)) // "###SizeOne" TableSetColumnWidthAutoSingle(table, column_n); } const char* size_all_desc; if (table->ColumnsEnabledFixedCount == table->ColumnsEnabledCount && (table->Flags & ImGuiTableFlags_SizingMask_) != ImGuiTableFlags_SizingFixedSame) - size_all_desc = "Size all columns to fit###SizeAll"; // All fixed + size_all_desc = LocalizeGetMsg(ImGuiLocKey_TableSizeAllFit); // "###SizeAll" All fixed else - size_all_desc = "Size all columns to default###SizeAll"; // All stretch or mixed + size_all_desc = LocalizeGetMsg(ImGuiLocKey_TableSizeAllDefault); // "###SizeAll" All stretch or mixed if (MenuItem(size_all_desc, NULL)) TableSetColumnWidthAutoAll(table); want_separator = true; @@ -3053,7 +3087,7 @@ void ImGui::TableDrawContextMenu(ImGuiTable* table) // Ordering if (table->Flags & ImGuiTableFlags_Reorderable) { - if (MenuItem("Reset order", NULL, false, !table->IsDefaultDisplayOrder)) + if (MenuItem(LocalizeGetMsg(ImGuiLocKey_TableResetOrder), NULL, false, !table->IsDefaultDisplayOrder)) table->IsResetDisplayOrderRequest = true; want_separator = true; } @@ -3422,9 +3456,8 @@ static void TableSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandle } } -void ImGui::TableSettingsInstallHandler(ImGuiContext* context) +void ImGui::TableSettingsAddSettingsHandler() { - ImGuiContext& g = *context; ImGuiSettingsHandler ini_handler; ini_handler.TypeName = "Table"; ini_handler.TypeHash = ImHashStr("Table"); @@ -3433,7 +3466,7 @@ void ImGui::TableSettingsInstallHandler(ImGuiContext* context) ini_handler.ReadLineFn = TableSettingsHandler_ReadLine; ini_handler.ApplyAllFn = TableSettingsHandler_ApplyAll; ini_handler.WriteAllFn = TableSettingsHandler_WriteAll; - g.SettingsHandlers.push_back(ini_handler); + AddSettingsHandler(&ini_handler); } //------------------------------------------------------------------------- @@ -3447,7 +3480,7 @@ void ImGui::TableSettingsInstallHandler(ImGuiContext* context) // Remove Table (currently only used by TestEngine) void ImGui::TableRemove(ImGuiTable* table) { - //IMGUI_DEBUG_LOG("TableRemove() id=0x%08X\n", table->ID); + //IMGUI_DEBUG_PRINT("TableRemove() id=0x%08X\n", table->ID); ImGuiContext& g = *GImGui; int table_idx = g.Tables.GetIndex(table); //memset(table->RawData.Data, 0, table->RawData.size_in_bytes()); @@ -3459,7 +3492,7 @@ void ImGui::TableRemove(ImGuiTable* table) // Free up/compact internal Table buffers for when it gets unused void ImGui::TableGcCompactTransientBuffers(ImGuiTable* table) { - //IMGUI_DEBUG_LOG("TableGcCompactTransientBuffers() id=0x%08X\n", table->ID); + //IMGUI_DEBUG_PRINT("TableGcCompactTransientBuffers() id=0x%08X\n", table->ID); ImGuiContext& g = *GImGui; IM_ASSERT(table->MemoryCompacted == false); table->SortSpecs.Specs = NULL; @@ -3503,7 +3536,7 @@ void ImGui::TableGcCompactSettings() // - DebugNodeTable() [Internal] //------------------------------------------------------------------------- -#ifndef IMGUI_DISABLE_METRICS_WINDOW +#ifndef IMGUI_DISABLE_DEBUG_TOOLS static const char* DebugNodeTableGetSizingPolicyDesc(ImGuiTableFlags sizing_policy) { @@ -3531,6 +3564,8 @@ void ImGui::DebugNodeTable(ImGuiTable* table) GetForegroundDrawList()->AddRect(GetItemRectMin(), GetItemRectMax(), IM_COL32(255, 255, 0, 255)); if (!open) return; + if (table->InstanceCurrent > 0) + ImGui::Text("** %d instances of same table! Some data below will refer to last instance.", table->InstanceCurrent + 1); bool clear_settings = SmallButton("Clear settings"); BulletText("OuterRect: Pos: (%.1f,%.1f) Size: (%.1f,%.1f) Sizing: '%s'", table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.GetWidth(), table->OuterRect.GetHeight(), DebugNodeTableGetSizingPolicyDesc(table->Flags)); BulletText("ColumnsGivenWidth: %.1f, ColumnsAutoFitWidth: %.1f, InnerWidth: %.1f%s", table->ColumnsGivenWidth, table->ColumnsAutoFitWidth, table->InnerWidth, table->InnerWidth == 0.0f ? " (auto)" : ""); @@ -3595,7 +3630,7 @@ void ImGui::DebugNodeTableSettings(ImGuiTableSettings* settings) TreePop(); } -#else // #ifndef IMGUI_DISABLE_METRICS_WINDOW +#else // #ifndef IMGUI_DISABLE_DEBUG_TOOLS void ImGui::DebugNodeTable(ImGuiTable*) {} void ImGui::DebugNodeTableSettings(ImGuiTableSettings*) {} @@ -3935,6 +3970,7 @@ void ImGui::NextColumn() { // New row/line: column 0 honor IndentX. window->DC.ColumnsOffset.x = ImMax(column_padding - window->WindowPadding.x, 0.0f); + window->DC.IsSameLine = false; columns->LineMinY = columns->LineMaxY; } window->DC.CursorPos.x = IM_FLOOR(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x); @@ -3986,8 +4022,7 @@ void ImGui::EndColumns() const ImGuiID column_id = columns->ID + ImGuiID(n); const float column_hit_hw = COLUMNS_HIT_RECT_HALF_WIDTH; const ImRect column_hit_rect(ImVec2(x - column_hit_hw, y1), ImVec2(x + column_hit_hw, y2)); - KeepAliveID(column_id); - if (IsClippedEx(column_hit_rect, column_id)) // FIXME: Can be removed or replaced with a lower-level test + if (!ItemAdd(column_hit_rect, column_id, NULL, ImGuiItemFlags_NoNav)) continue; bool hovered = false, held = false; diff --git a/imgui-sys/third-party/imgui-master/imgui/imgui_widgets.cpp b/imgui-sys/third-party/imgui-master/imgui/imgui_widgets.cpp index f199ad4..5ecb182 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imgui_widgets.cpp +++ b/imgui-sys/third-party/imgui-master/imgui/imgui_widgets.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.86 +// dear imgui, v1.89.1 // (widgets code) /* @@ -41,7 +41,6 @@ Index of this file: #include "imgui_internal.h" // System includes -#include // toupper #if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier #include // intptr_t #else @@ -82,6 +81,7 @@ Index of this file: #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind #pragma GCC diagnostic ignored "-Wformat-nonliteral" // warning: format not a string literal, format string not checked #pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead +#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated #endif //------------------------------------------------------------------------- @@ -166,7 +166,21 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags) const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); const float wrap_pos_x = window->DC.TextWrapPos; const bool wrap_enabled = (wrap_pos_x >= 0.0f); - if (text_end - text > 2000 && !wrap_enabled) + if (text_end - text <= 2000 || wrap_enabled) + { + // Common case + const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f; + const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); + + ImRect bb(text_pos, text_pos + text_size); + ItemSize(text_size, 0.0f); + if (!ItemAdd(bb, 0)) + return; + + // Render (we don't hide text after ## in this end-user function) + RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); + } + else { // Long text! // Perform manual coarse clipping to optimize for long multi-line text @@ -239,19 +253,6 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags) ItemSize(text_size, 0.0f); ItemAdd(bb, 0); } - else - { - const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.0f; - const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); - - ImRect bb(text_pos, text_pos + text_size); - ItemSize(text_size, 0.0f); - if (!ItemAdd(bb, 0)) - return; - - // Render (we don't hide text after ## in this end-user function) - RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); - } } void ImGui::TextUnformatted(const char* text, const char* text_end) @@ -274,9 +275,9 @@ void ImGui::TextV(const char* fmt, va_list args) return; // FIXME-OPT: Handle the %s shortcut? - ImGuiContext& g = *GImGui; - const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); - TextEx(g.TempBuffer, text_end, ImGuiTextFlags_NoWidthForLargeClippedText); + const char* text, *text_end; + ImFormatStringToTempBufferV(&text, &text_end, fmt, args); + TextEx(text, text_end, ImGuiTextFlags_NoWidthForLargeClippedText); } void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) @@ -357,8 +358,8 @@ void ImGui::LabelTextV(const char* label, const char* fmt, va_list args) const ImGuiStyle& style = g.Style; const float w = CalcItemWidth(); - const char* value_text_begin = &g.TempBuffer[0]; - const char* value_text_end = value_text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); + const char* value_text_begin, *value_text_end; + ImFormatStringToTempBufferV(&value_text_begin, &value_text_end, fmt, args); const ImVec2 value_size = CalcTextSize(value_text_begin, value_text_end, false); const ImVec2 label_size = CalcTextSize(label, NULL, true); @@ -393,8 +394,8 @@ void ImGui::BulletTextV(const char* fmt, va_list args) ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; - const char* text_begin = g.TempBuffer; - const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); + const char* text_begin, *text_end; + ImFormatStringToTempBufferV(&text_begin, &text_end, fmt, args); const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); const ImVec2 total_size = ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x * 2) : 0.0f), label_size.y); // Empty text doesn't add padding ImVec2 pos = window->DC.CursorPos; @@ -540,22 +541,20 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool hovered = false; // Mouse handling + const ImGuiID test_owner_id = (flags & ImGuiButtonFlags_NoTestKeyOwner) ? ImGuiKeyOwner_Any : id; if (hovered) { if (!(flags & ImGuiButtonFlags_NoKeyModifiers) || (!g.IO.KeyCtrl && !g.IO.KeyShift && !g.IO.KeyAlt)) { // Poll buttons int mouse_button_clicked = -1; - int mouse_button_released = -1; - if ((flags & ImGuiButtonFlags_MouseButtonLeft) && g.IO.MouseClicked[0]) { mouse_button_clicked = 0; } - else if ((flags & ImGuiButtonFlags_MouseButtonRight) && g.IO.MouseClicked[1]) { mouse_button_clicked = 1; } - else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && g.IO.MouseClicked[2]) { mouse_button_clicked = 2; } - if ((flags & ImGuiButtonFlags_MouseButtonLeft) && g.IO.MouseReleased[0]) { mouse_button_released = 0; } - else if ((flags & ImGuiButtonFlags_MouseButtonRight) && g.IO.MouseReleased[1]) { mouse_button_released = 1; } - else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && g.IO.MouseReleased[2]) { mouse_button_released = 2; } - + if ((flags & ImGuiButtonFlags_MouseButtonLeft) && IsMouseClicked(0, test_owner_id)) { mouse_button_clicked = 0; } + else if ((flags & ImGuiButtonFlags_MouseButtonRight) && IsMouseClicked(1, test_owner_id)) { mouse_button_clicked = 1; } + else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && IsMouseClicked(2, test_owner_id)) { mouse_button_clicked = 2; } if (mouse_button_clicked != -1 && g.ActiveId != id) { + if (!(flags & ImGuiButtonFlags_NoSetKeyOwner)) + SetKeyOwner(MouseButtonToKey(mouse_button_clicked), id); if (flags & (ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere)) { SetActiveID(id, window); @@ -577,21 +576,27 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool FocusWindow(window); } } - if ((flags & ImGuiButtonFlags_PressedOnRelease) && mouse_button_released != -1) + if (flags & ImGuiButtonFlags_PressedOnRelease) { - // Repeat mode trumps on release behavior - const bool has_repeated_at_least_once = (flags & ImGuiButtonFlags_Repeat) && g.IO.MouseDownDurationPrev[mouse_button_released] >= g.IO.KeyRepeatDelay; - if (!has_repeated_at_least_once) - pressed = true; - if (!(flags & ImGuiButtonFlags_NoNavFocus)) - SetFocusID(id, window); - ClearActiveID(); + int mouse_button_released = -1; + if ((flags & ImGuiButtonFlags_MouseButtonLeft) && IsMouseReleased(0, test_owner_id)) { mouse_button_released = 0; } + else if ((flags & ImGuiButtonFlags_MouseButtonRight) && IsMouseReleased(1, test_owner_id)) { mouse_button_released = 1; } + else if ((flags & ImGuiButtonFlags_MouseButtonMiddle) && IsMouseReleased(2, test_owner_id)) { mouse_button_released = 2; } + if (mouse_button_released != -1) + { + const bool has_repeated_at_least_once = (flags & ImGuiButtonFlags_Repeat) && g.IO.MouseDownDurationPrev[mouse_button_released] >= g.IO.KeyRepeatDelay; // Repeat mode trumps on release behavior + if (!has_repeated_at_least_once) + pressed = true; + if (!(flags & ImGuiButtonFlags_NoNavFocus)) + SetFocusID(id, window); + ClearActiveID(); + } } // 'Repeat' mode acts when held regardless of _PressedOn flags (see table above). // Relies on repeat logic of IsMouseClicked() but we may as well do it ourselves if we end up exposing finer RepeatDelay/RepeatRate settings. if (g.ActiveId == id && (flags & ImGuiButtonFlags_Repeat)) - if (g.IO.MouseDownDuration[g.ActiveIdMouseButton] > 0.0f && IsMouseClicked(g.ActiveIdMouseButton, true)) + if (g.IO.MouseDownDuration[g.ActiveIdMouseButton] > 0.0f && IsMouseClicked(g.ActiveIdMouseButton, test_owner_id, ImGuiInputFlags_Repeat)) pressed = true; } @@ -607,7 +612,15 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool if (g.NavActivateDownId == id) { bool nav_activated_by_code = (g.NavActivateId == id); - bool nav_activated_by_inputs = IsNavInputTest(ImGuiNavInput_Activate, (flags & ImGuiButtonFlags_Repeat) ? ImGuiInputReadMode_Repeat : ImGuiInputReadMode_Pressed); + bool nav_activated_by_inputs = (g.NavActivatePressedId == id); + if (!nav_activated_by_inputs && (flags & ImGuiButtonFlags_Repeat)) + { + // Avoid pressing both keys from triggering double amount of repeat events + const ImGuiKeyData* key1 = GetKeyData(ImGuiKey_Space); + const ImGuiKeyData* key2 = GetKeyData(ImGuiKey_NavGamepadActivate); + const float t1 = ImMax(key1->DownDuration, key2->DownDuration); + nav_activated_by_inputs = CalcTypematicRepeatAmount(t1 - g.IO.DeltaTime, t1, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; + } if (nav_activated_by_code || nav_activated_by_inputs) { // Set active id so it can be queried by user via IsItemActive(), equivalent of holding the mouse button. @@ -629,8 +642,7 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; const int mouse_button = g.ActiveIdMouseButton; - IM_ASSERT(mouse_button >= 0 && mouse_button < ImGuiMouseButton_COUNT); - if (g.IO.MouseDown[mouse_button]) + if (IsMouseDown(mouse_button, test_owner_id)) { held = true; } @@ -643,7 +655,8 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool // Report as pressed when releasing the mouse (this is the most common path) bool is_double_click_release = (flags & ImGuiButtonFlags_PressedOnDoubleClick) && g.IO.MouseReleased[mouse_button] && g.IO.MouseClickedLastCount[mouse_button] == 2; bool is_repeating_already = (flags & ImGuiButtonFlags_Repeat) && g.IO.MouseDownDurationPrev[mouse_button] >= g.IO.KeyRepeatDelay; // Repeat mode trumps - if (!is_double_click_release && !is_repeating_already) + bool is_button_avail_or_owned = TestKeyOwner(MouseButtonToKey(mouse_button), test_owner_id); + if (!is_double_click_release && !is_repeating_already && is_button_avail_or_owned) pressed = true; } ClearActiveID(); @@ -731,6 +744,7 @@ bool ImGui::SmallButton(const char* label) // Then you can keep 'str_id' empty or the same for all your buttons (instead of creating a string based on a non-string id) bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiButtonFlags flags) { + ImGuiContext& g = *GImGui; ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; @@ -748,16 +762,17 @@ bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiBut bool hovered, held; bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); + IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, g.LastItemData.StatusFlags); return pressed; } bool ImGui::ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size, ImGuiButtonFlags flags) { + ImGuiContext& g = *GImGui; ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; - ImGuiContext& g = *GImGui; const ImGuiID id = window->GetID(str_id); const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); const float default_size = GetFrameHeight(); @@ -778,6 +793,7 @@ bool ImGui::ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size, ImGuiBu RenderFrame(bb.Min, bb.Max, bg_col, true, g.Style.FrameRounding); RenderArrow(window->DrawList, bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.FontSize) * 0.5f)), text_col, dir); + IMGUI_TEST_ENGINE_ITEM_INFO(id, str_id, g.LastItemData.StatusFlags); return pressed; } @@ -839,9 +855,8 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos) // Render ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); ImU32 text_col = GetColorU32(ImGuiCol_Text); - ImVec2 center = bb.GetCenter(); if (hovered || held) - window->DrawList->AddCircleFilled(center/*+ ImVec2(0.0f, -0.5f)*/, g.FontSize * 0.5f + 1.0f, bg_col, 12); + window->DrawList->AddCircleFilled(bb.GetCenter()/*+ ImVec2(0.0f, -0.5f)*/, g.FontSize * 0.5f + 1.0f, bg_col, 12); RenderArrow(window->DrawList, bb.Min + g.Style.FramePadding, text_col, window->Collapsed ? ImGuiDir_Right : ImGuiDir_Down, 1.0f); // Switch to moving the window after mouse is moved beyond the initial drag threshold @@ -853,7 +868,7 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos) ImGuiID ImGui::GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis) { - return window->GetIDNoKeepAlive(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY"); + return window->GetID(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY"); } // Return scrollbar rectangle, must only be called for corresponding axis if window->ScrollbarX/Y is set. @@ -874,9 +889,7 @@ void ImGui::Scrollbar(ImGuiAxis axis) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - const ImGuiID id = GetWindowScrollbarID(window, axis); - KeepAliveID(id); // Calculate scrollbar bounding box ImRect bb = GetWindowScrollbarRect(window, axis); @@ -945,6 +958,7 @@ bool ImGui::ScrollbarEx(const ImRect& bb_frame, ImGuiID id, ImGuiAxis axis, ImS6 // Handle input right away. None of the code of Begin() is relying on scrolling position before calling Scrollbar(). bool held = false; bool hovered = false; + ItemAdd(bb_frame, id, NULL, ImGuiItemFlags_NoNav); ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_NoNavFocus); const ImS64 scroll_max = ImMax((ImS64)1, size_contents_v - size_avail_v); @@ -1024,14 +1038,15 @@ void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& // ImageButton() is flawed as 'id' is always derived from 'texture_id' (see #2464 #1390) // We provide this internal helper to write your own variant while we figure out how to redesign the public ImageButton() API. -bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec2& padding, const ImVec4& bg_col, const ImVec4& tint_col) +bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col) { ImGuiContext& g = *GImGui; ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; - const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size + padding * 2); + const ImVec2 padding = g.Style.FramePadding; + const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size + padding * 2.0f); ItemSize(bb); if (!ItemAdd(bb, id)) return false; @@ -1050,9 +1065,21 @@ bool ImGui::ImageButtonEx(ImGuiID id, ImTextureID texture_id, const ImVec2& size return pressed; } -// frame_padding < 0: uses FramePadding from style (default) -// frame_padding = 0: no framing -// frame_padding > 0: set framing size +bool ImGui::ImageButton(const char* str_id, ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& bg_col, const ImVec4& tint_col) +{ + ImGuiContext& g = *GImGui; + ImGuiWindow* window = g.CurrentWindow; + if (window->SkipItems) + return false; + + return ImageButtonEx(window->GetID(str_id), user_texture_id, size, uv0, uv1, bg_col, tint_col); +} + +#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS +// Legacy API obsoleted in 1.89. Two differences with new ImageButton() +// - new ImageButton() requires an explicit 'const char* str_id' Old ImageButton() used opaque imTextureId (created issue with: multiple buttons with same image, transient texture id values, opaque computation of ID) +// - new ImageButton() always use style.FramePadding Old ImageButton() had an override argument. +// If you need to change padding with new ImageButton() you can use PushStyleVar(ImGuiStyleVar_FramePadding, value), consistent with other Button functions. bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) { ImGuiContext& g = *GImGui; @@ -1065,9 +1092,14 @@ bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const I const ImGuiID id = window->GetID("#image"); PopID(); - const ImVec2 padding = (frame_padding >= 0) ? ImVec2((float)frame_padding, (float)frame_padding) : g.Style.FramePadding; - return ImageButtonEx(id, user_texture_id, size, uv0, uv1, padding, bg_col, tint_col); + if (frame_padding >= 0) + PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2((float)frame_padding, (float)frame_padding)); + bool ret = ImageButtonEx(id, user_texture_id, size, uv0, uv1, bg_col, tint_col); + if (frame_padding >= 0) + PopStyleVar(); + return ret; } +#endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS bool ImGui::Checkbox(const char* label, bool* v) { @@ -1282,7 +1314,7 @@ void ImGui::Bullet() ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; - const float line_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + g.Style.FramePadding.y * 2), g.FontSize); + const float line_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + style.FramePadding.y * 2), g.FontSize); const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height)); ItemSize(bb); if (!ItemAdd(bb, 0)) @@ -1338,6 +1370,7 @@ void ImGui::NewLine() ImGuiContext& g = *GImGui; const ImGuiLayoutType backup_layout_type = window->DC.LayoutType; window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.IsSameLine = false; if (window->DC.CurrLineSize.y > 0.0f) // In the event that we are on a line with items that is smaller that FontSize high, we will preserve its height. ItemSize(ImVec2(0, 0)); else @@ -1445,11 +1478,7 @@ bool ImGui::SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - const ImGuiItemFlags item_flags_backup = g.CurrentItemFlags; - g.CurrentItemFlags |= ImGuiItemFlags_NoNav | ImGuiItemFlags_NoNavDefaultFocus; - bool item_add = ItemAdd(bb, id); - g.CurrentItemFlags = item_flags_backup; - if (!item_add) + if (!ItemAdd(bb, id, NULL, ImGuiItemFlags_NoNav)) return false; bool hovered, held; @@ -1533,7 +1562,7 @@ void ImGui::ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_exc width_excess -= width_to_remove_per_item * count_same_width; } - // Round width and redistribute remainder left-to-right (could make it an option of the function?) + // Round width and redistribute remainder // Ensure that e.g. the right-most tab of a shrunk tab-bar always reaches exactly at the same distance from the right-most edge of the tab bar separator. width_excess = 0.0f; for (int n = 0; n < count; n++) @@ -1542,10 +1571,13 @@ void ImGui::ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_exc width_excess += items[n].Width - width_rounded; items[n].Width = width_rounded; } - if (width_excess > 0.0f) - for (int n = 0; n < count; n++) - if (items[n].Index < (int)(width_excess + 0.01f)) - items[n].Width += 1.0f; + while (width_excess > 0.0f) + for (int n = 0; n < count && width_excess > 0.0f; n++) + { + float width_to_add = ImMin(items[n].InitialWidth - items[n].Width, 1.0f); + items[n].Width += width_to_add; + width_excess -= width_to_add; + } } //------------------------------------------------------------------------- @@ -1715,7 +1747,7 @@ bool ImGui::BeginComboPreview() ImGuiWindow* window = g.CurrentWindow; ImGuiComboPreviewData* preview_data = &g.ComboPreviewData; - if (window->SkipItems || !window->ClipRect.Overlaps(g.LastItemData.Rect)) // FIXME: Because we don't have a ImGuiItemStatusFlags_Visible flag to test last ItemAdd() result + if (window->SkipItems || !(g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible)) return false; IM_ASSERT(g.LastItemData.Rect.Min.x == preview_data->PreviewRect.Min.x && g.LastItemData.Rect.Min.y == preview_data->PreviewRect.Min.y); // Didn't call after BeginCombo/EndCombo block or forgot to pass ImGuiComboFlags_CustomPreview flag? if (!window->ClipRect.Contains(preview_data->PreviewRect)) // Narrower test (optional) @@ -1730,6 +1762,7 @@ bool ImGui::BeginComboPreview() window->DC.CursorPos = preview_data->PreviewRect.Min + g.Style.FramePadding; window->DC.CursorMaxPos = window->DC.CursorPos; window->DC.LayoutType = ImGuiLayoutType_Horizontal; + window->DC.IsSameLine = false; PushClipRect(preview_data->PreviewRect.Min, preview_data->PreviewRect.Max, true); return true; @@ -1755,6 +1788,7 @@ void ImGui::EndComboPreview() window->DC.CursorPosPrevLine = preview_data->BackupCursorPosPrevLine; window->DC.PrevLineTextBaseOffset = preview_data->BackupPrevLineTextBaseOffset; window->DC.LayoutType = preview_data->BackupLayout; + window->DC.IsSameLine = false; preview_data->PreviewRect = ImRect(); } @@ -1857,11 +1891,11 @@ bool ImGui::Combo(const char* label, int* current_item, const char* items_separa //------------------------------------------------------------------------- // [SECTION] Data Type and Data Formatting Helpers [Internal] //------------------------------------------------------------------------- -// - PatchFormatStringFloatToInt() // - DataTypeGetInfo() // - DataTypeFormatString() // - DataTypeApplyOp() // - DataTypeApplyOpFromText() +// - DataTypeCompare() // - DataTypeClamp() // - GetMinimumStepAtDecimalPrecision // - RoundScalarWithFormat<>() @@ -1887,30 +1921,6 @@ static const ImGuiDataTypeInfo GDataTypeInfo[] = }; IM_STATIC_ASSERT(IM_ARRAYSIZE(GDataTypeInfo) == ImGuiDataType_COUNT); -// FIXME-LEGACY: Prior to 1.61 our DragInt() function internally used floats and because of this the compile-time default value for format was "%.0f". -// Even though we changed the compile-time default, we expect users to have carried %f around, which would break the display of DragInt() calls. -// To honor backward compatibility we are rewriting the format string, unless IMGUI_DISABLE_OBSOLETE_FUNCTIONS is enabled. What could possibly go wrong?! -static const char* PatchFormatStringFloatToInt(const char* fmt) -{ - if (fmt[0] == '%' && fmt[1] == '.' && fmt[2] == '0' && fmt[3] == 'f' && fmt[4] == 0) // Fast legacy path for "%.0f" which is expected to be the most common case. - return "%d"; - const char* fmt_start = ImParseFormatFindStart(fmt); // Find % (if any, and ignore %%) - const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which itself is an exercise of confidence/recklessness (because snprintf is dependent on libc or user). - if (fmt_end > fmt_start && fmt_end[-1] == 'f') - { -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - if (fmt_start == fmt && fmt_end[0] == 0) - return "%d"; - ImGuiContext& g = *GImGui; - ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leading and trailing decorations, but lose alignment/precision. - return g.TempBuffer; -#else - IM_ASSERT(0 && "DragInt(): Invalid format string!"); // Old versions used a default parameter of "%.0f", please replace with e.g. "%d" -#endif - } - return fmt; -} - const ImGuiDataTypeInfo* ImGui::DataTypeGetInfo(ImGuiDataType data_type) { IM_ASSERT(data_type >= 0 && data_type < ImGuiDataType_COUNT); @@ -1992,24 +2002,10 @@ void ImGui::DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const // User can input math operators (e.g. +100) to edit a numerical values. // NB: This is _not_ a full expression evaluator. We should probably add one and replace this dumb mess.. -bool ImGui::DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* p_data, const char* format) +bool ImGui::DataTypeApplyFromText(const char* buf, ImGuiDataType data_type, void* p_data, const char* format) { while (ImCharIsBlankA(*buf)) buf++; - - // We don't support '-' op because it would conflict with inputing negative value. - // Instead you can use +-100 to subtract from an existing value - char op = buf[0]; - if (op == '+' || op == '*' || op == '/') - { - buf++; - while (ImCharIsBlankA(*buf)) - buf++; - } - else - { - op = 0; - } if (!buf[0]) return false; @@ -2018,66 +2014,20 @@ bool ImGui::DataTypeApplyOpFromText(const char* buf, const char* initial_value_b ImGuiDataTypeTempStorage data_backup; memcpy(&data_backup, p_data, type_info->Size); - if (format == NULL) + // Sanitize format + // For float/double we have to ignore format with precision (e.g. "%.2f") because sscanf doesn't take them in, so force them into %f and %lf + char format_sanitized[32]; + if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) format = type_info->ScanFmt; - - // FIXME-LEGACY: The aim is to remove those operators and write a proper expression evaluator at some point.. - int arg1i = 0; - if (data_type == ImGuiDataType_S32) - { - int* v = (int*)p_data; - int arg0i = *v; - float arg1f = 0.0f; - if (op && sscanf(initial_value_buf, format, &arg0i) < 1) - return false; - // Store operand in a float so we can use fractional value for multipliers (*1.1), but constant always parsed as integer so we can fit big integers (e.g. 2000000003) past float precision - if (op == '+') { if (sscanf(buf, "%d", &arg1i)) *v = (int)(arg0i + arg1i); } // Add (use "+-" to subtract) - else if (op == '*') { if (sscanf(buf, "%f", &arg1f)) *v = (int)(arg0i * arg1f); } // Multiply - else if (op == '/') { if (sscanf(buf, "%f", &arg1f) && arg1f != 0.0f) *v = (int)(arg0i / arg1f); } // Divide - else { if (sscanf(buf, format, &arg1i) == 1) *v = arg1i; } // Assign constant - } - else if (data_type == ImGuiDataType_Float) - { - // For floats we have to ignore format with precision (e.g. "%.2f") because sscanf doesn't take them in - format = "%f"; - float* v = (float*)p_data; - float arg0f = *v, arg1f = 0.0f; - if (op && sscanf(initial_value_buf, format, &arg0f) < 1) - return false; - if (sscanf(buf, format, &arg1f) < 1) - return false; - if (op == '+') { *v = arg0f + arg1f; } // Add (use "+-" to subtract) - else if (op == '*') { *v = arg0f * arg1f; } // Multiply - else if (op == '/') { if (arg1f != 0.0f) *v = arg0f / arg1f; } // Divide - else { *v = arg1f; } // Assign constant - } - else if (data_type == ImGuiDataType_Double) - { - format = "%lf"; // scanf differentiate float/double unlike printf which forces everything to double because of ellipsis - double* v = (double*)p_data; - double arg0f = *v, arg1f = 0.0; - if (op && sscanf(initial_value_buf, format, &arg0f) < 1) - return false; - if (sscanf(buf, format, &arg1f) < 1) - return false; - if (op == '+') { *v = arg0f + arg1f; } // Add (use "+-" to subtract) - else if (op == '*') { *v = arg0f * arg1f; } // Multiply - else if (op == '/') { if (arg1f != 0.0f) *v = arg0f / arg1f; } // Divide - else { *v = arg1f; } // Assign constant - } - else if (data_type == ImGuiDataType_U32 || data_type == ImGuiDataType_S64 || data_type == ImGuiDataType_U64) - { - // All other types assign constant - // We don't bother handling support for legacy operators since they are a little too crappy. Instead we will later implement a proper expression evaluator in the future. - if (sscanf(buf, format, p_data) < 1) - return false; - } else + format = ImParseFormatSanitizeForScanning(format, format_sanitized, IM_ARRAYSIZE(format_sanitized)); + + // Small types need a 32-bit buffer to receive the result from scanf() + int v32 = 0; + if (sscanf(buf, format, type_info->Size >= 4 ? p_data : &v32) < 1) + return false; + if (type_info->Size < 4) { - // Small types need a 32-bit buffer to receive the result from scanf() - int v32; - if (sscanf(buf, format, &v32) < 1) - return false; if (data_type == ImGuiDataType_S8) *(ImS8*)p_data = (ImS8)ImClamp(v32, (int)IM_S8_MIN, (int)IM_S8_MAX); else if (data_type == ImGuiDataType_U8) @@ -2159,45 +2109,17 @@ static float GetMinimumStepAtDecimalPrecision(int decimal_precision) } template -static const char* ImAtoi(const char* src, TYPE* output) -{ - int negative = 0; - if (*src == '-') { negative = 1; src++; } - if (*src == '+') { src++; } - TYPE v = 0; - while (*src >= '0' && *src <= '9') - v = (v * 10) + (*src++ - '0'); - *output = negative ? -v : v; - return src; -} - -// Sanitize format -// - Zero terminate so extra characters after format (e.g. "%f123") don't confuse atof/atoi -// - stb_sprintf.h supports several new modifiers which format numbers in a way that also makes them incompatible atof/atoi. -static void SanitizeFormatString(const char* fmt, char* fmt_out, size_t fmt_out_size) -{ - IM_UNUSED(fmt_out_size); - const char* fmt_end = ImParseFormatFindEnd(fmt); - IM_ASSERT((size_t)(fmt_end - fmt + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! - while (fmt < fmt_end) - { - char c = *(fmt++); - if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. - *(fmt_out++) = c; - } - *fmt_out = 0; // Zero-terminate -} - -template TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, TYPE v) { + IM_UNUSED(data_type); + IM_ASSERT(data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double); const char* fmt_start = ImParseFormatFindStart(format); if (fmt_start[0] != '%' || fmt_start[1] == '%') // Don't apply if the value is not visible in the format string return v; // Sanitize format char fmt_sanitized[32]; - SanitizeFormatString(fmt_start, fmt_sanitized, IM_ARRAYSIZE(fmt_sanitized)); + ImParseFormatSanitizeForPrinting(fmt_start, fmt_sanitized, IM_ARRAYSIZE(fmt_sanitized)); fmt_start = fmt_sanitized; // Format value with our rounding, and read back @@ -2206,10 +2128,8 @@ TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, const char* p = v_str; while (*p == ' ') p++; - if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) - v = (TYPE)ImAtof(p); - else - ImAtoi(p, (SIGNEDTYPE*)&v); + v = (TYPE)ImAtof(p); + return v; } @@ -2259,7 +2179,10 @@ bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const else if (g.ActiveIdSource == ImGuiInputSource_Nav) { const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 0; - adjust_delta = GetNavInputAmount2d(ImGuiNavDirSourceFlags_Keyboard | ImGuiNavDirSourceFlags_PadDPad, ImGuiInputReadMode_RepeatFast, 1.0f / 10.0f, 10.0f)[axis]; + const bool tweak_slow = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakSlow : ImGuiKey_NavKeyboardTweakSlow); + const bool tweak_fast = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakFast : ImGuiKey_NavKeyboardTweakFast); + const float tweak_factor = tweak_slow ? 1.0f / 1.0f : tweak_fast ? 10.0f : 1.0f; + adjust_delta = GetNavTweakPressedAmount(axis) * tweak_factor; v_speed = ImMax(v_speed, GetMinimumStepAtDecimalPrecision(decimal_precision)); } adjust_delta *= v_speed; @@ -2313,8 +2236,8 @@ bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const } // Round to user desired precision based on format string - if (!(flags & ImGuiSliderFlags_NoRoundToFormat)) - v_cur = RoundScalarWithFormatT(format, data_type, v_cur); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_cur = RoundScalarWithFormatT(format, data_type, v_cur); // Preserve remainder after rounding has been applied. This also allow slow tweaking of values. g.DragCurrentAccumDirty = false; @@ -2357,6 +2280,7 @@ bool ImGui::DragBehavior(ImGuiID id, ImGuiDataType data_type, void* p_v, float v ImGuiContext& g = *GImGui; if (g.ActiveId == id) { + // Those are the things we can do easily outside the DragBehaviorT<> template, saves code generation. if (g.ActiveIdSource == ImGuiInputSource_Mouse && !g.IO.MouseDown[0]) ClearActiveID(); else if (g.ActiveIdSource == ImGuiInputSource_Nav && g.NavActivatePressedId == id && !g.ActiveIdIsJustActivated) @@ -2410,29 +2334,23 @@ bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, // Default format string when passing NULL if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt; - else if (data_type == ImGuiDataType_S32 && strcmp(format, "%d") != 0) // (FIXME-LEGACY: Patch old "%.0f" format string to use "%d", read function more details.) - format = PatchFormatStringFloatToInt(format); - // Tabbing or CTRL-clicking on Drag turns it into an InputText const bool hovered = ItemHoverable(frame_bb, id); bool temp_input_is_active = temp_input_allowed && TempInputIsActive(id); if (!temp_input_is_active) { + // Tabbing or CTRL-clicking on Drag turns it into an InputText const bool input_requested_by_tabbing = temp_input_allowed && (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_FocusedByTabbing) != 0; - const bool clicked = (hovered && g.IO.MouseClicked[0]); - const bool double_clicked = (hovered && g.IO.MouseClickedCount[0] == 2); - if (input_requested_by_tabbing || clicked || double_clicked || g.NavActivateId == id || g.NavActivateInputId == id) - { - SetActiveID(id, window); - SetFocusID(id, window); - FocusWindow(window); - g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); - if (temp_input_allowed) - if (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || double_clicked || g.NavActivateInputId == id) - temp_input_is_active = true; - } + const bool clicked = hovered && IsMouseClicked(0, id); + const bool double_clicked = (hovered && g.IO.MouseClickedCount[0] == 2 && TestKeyOwner(ImGuiKey_MouseLeft, id)); + const bool make_active = (input_requested_by_tabbing || clicked || double_clicked || g.NavActivateId == id || g.NavActivateInputId == id); + if (make_active && (clicked || double_clicked)) + SetKeyOwner(ImGuiKey_MouseLeft, id); + if (make_active && temp_input_allowed) + if (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || double_clicked || g.NavActivateInputId == id) + temp_input_is_active = true; - // Experimental: simple click (without moving) turns Drag into an InputText + // (Optional) simple click (without moving) turns Drag into an InputText if (g.IO.ConfigDragClickToInputText && temp_input_allowed && !temp_input_is_active) if (g.ActiveId == id && hovered && g.IO.MouseReleased[0] && !IsMouseDragPastThreshold(0, g.IO.MouseDragThreshold * DRAG_MOUSE_THRESHOLD_FACTOR)) { @@ -2440,6 +2358,14 @@ bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, g.NavActivateFlags = ImGuiActivateFlags_PreferInput; temp_input_is_active = true; } + + if (make_active && !temp_input_is_active) + { + SetActiveID(id, window); + SetFocusID(id, window); + FocusWindow(window); + g.ActiveIdUsingNavDirMask = (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); + } } if (temp_input_is_active) @@ -2615,35 +2541,6 @@ bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_ return value_changed; } -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - -// Obsolete versions with power parameter. See https://github.com/ocornut/imgui/issues/3361 for details. -bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power) -{ - ImGuiSliderFlags drag_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - IM_ASSERT(p_min != NULL && p_max != NULL); // When using a power curve the drag needs to have known bounds - drag_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return DragScalar(label, data_type, p_data, v_speed, p_min, p_max, format, drag_flags); -} - -bool ImGui::DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power) -{ - ImGuiSliderFlags drag_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - IM_ASSERT(p_min != NULL && p_max != NULL); // When using a power curve the drag needs to have known bounds - drag_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return DragScalarN(label, data_type, p_data, components, v_speed, p_min, p_max, format, drag_flags); -} - -#endif // IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //------------------------------------------------------------------------- // [SECTION] Widgets: SliderScalar, SliderFloat, SliderInt, etc. //------------------------------------------------------------------------- @@ -2694,7 +2591,6 @@ float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, T v_max_fudged = -logarithmic_zero_epsilon; float result; - if (v_clamped <= v_min_fudged) result = 0.0f; // Workaround for values that are in-range but below our fudge else if (v_clamped >= v_max_fudged) @@ -2718,91 +2614,81 @@ float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, T return flipped ? (1.0f - result) : result; } - - // Linear slider - return (float)((FLOATTYPE)(SIGNEDTYPE)(v_clamped - v_min) / (FLOATTYPE)(SIGNEDTYPE)(v_max - v_min)); + else + { + // Linear slider + return (float)((FLOATTYPE)(SIGNEDTYPE)(v_clamped - v_min) / (FLOATTYPE)(SIGNEDTYPE)(v_max - v_min)); + } } // Convert a parametric position on a slider into a value v in the output space (the logical opposite of ScaleRatioFromValueT) template TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { - if (v_min == v_max) + // We special-case the extents because otherwise our logarithmic fudging can lead to "mathematically correct" + // but non-intuitive behaviors like a fully-left slider not actually reaching the minimum value. Also generally simpler. + if (t <= 0.0f || v_min == v_max) return v_min; - const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + if (t >= 1.0f) + return v_max; - TYPE result; + TYPE result = (TYPE)0; if (is_logarithmic) { - // We special-case the extents because otherwise our fudging can lead to "mathematically correct" but non-intuitive behaviors like a fully-left slider not actually reaching the minimum value - if (t <= 0.0f) - result = v_min; - else if (t >= 1.0f) - result = v_max; - else + // Fudge min/max to avoid getting silly results close to zero + FLOATTYPE v_min_fudged = (ImAbs((FLOATTYPE)v_min) < logarithmic_zero_epsilon) ? ((v_min < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_min; + FLOATTYPE v_max_fudged = (ImAbs((FLOATTYPE)v_max) < logarithmic_zero_epsilon) ? ((v_max < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_max; + + const bool flipped = v_max < v_min; // Check if range is "backwards" + if (flipped) + ImSwap(v_min_fudged, v_max_fudged); + + // Awkward special case - we need ranges of the form (-100 .. 0) to convert to (-100 .. -epsilon), not (-100 .. epsilon) + if ((v_max == 0.0f) && (v_min < 0.0f)) + v_max_fudged = -logarithmic_zero_epsilon; + + float t_with_flip = flipped ? (1.0f - t) : t; // t, but flipped if necessary to account for us flipping the range + + if ((v_min * v_max) < 0.0f) // Range crosses zero, so we have to do this in two parts { - bool flipped = v_max < v_min; // Check if range is "backwards" - - // Fudge min/max to avoid getting silly results close to zero - FLOATTYPE v_min_fudged = (ImAbs((FLOATTYPE)v_min) < logarithmic_zero_epsilon) ? ((v_min < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_min; - FLOATTYPE v_max_fudged = (ImAbs((FLOATTYPE)v_max) < logarithmic_zero_epsilon) ? ((v_max < 0.0f) ? -logarithmic_zero_epsilon : logarithmic_zero_epsilon) : (FLOATTYPE)v_max; - - if (flipped) - ImSwap(v_min_fudged, v_max_fudged); - - // Awkward special case - we need ranges of the form (-100 .. 0) to convert to (-100 .. -epsilon), not (-100 .. epsilon) - if ((v_max == 0.0f) && (v_min < 0.0f)) - v_max_fudged = -logarithmic_zero_epsilon; - - float t_with_flip = flipped ? (1.0f - t) : t; // t, but flipped if necessary to account for us flipping the range - - if ((v_min * v_max) < 0.0f) // Range crosses zero, so we have to do this in two parts - { - float zero_point_center = (-(float)ImMin(v_min, v_max)) / ImAbs((float)v_max - (float)v_min); // The zero point in parametric space - float zero_point_snap_L = zero_point_center - zero_deadzone_halfsize; - float zero_point_snap_R = zero_point_center + zero_deadzone_halfsize; - if (t_with_flip >= zero_point_snap_L && t_with_flip <= zero_point_snap_R) - result = (TYPE)0.0f; // Special case to make getting exactly zero possible (the epsilon prevents it otherwise) - else if (t_with_flip < zero_point_center) - result = (TYPE)-(logarithmic_zero_epsilon * ImPow(-v_min_fudged / logarithmic_zero_epsilon, (FLOATTYPE)(1.0f - (t_with_flip / zero_point_snap_L)))); - else - result = (TYPE)(logarithmic_zero_epsilon * ImPow(v_max_fudged / logarithmic_zero_epsilon, (FLOATTYPE)((t_with_flip - zero_point_snap_R) / (1.0f - zero_point_snap_R)))); - } - else if ((v_min < 0.0f) || (v_max < 0.0f)) // Entirely negative slider - result = (TYPE)-(-v_max_fudged * ImPow(-v_min_fudged / -v_max_fudged, (FLOATTYPE)(1.0f - t_with_flip))); + float zero_point_center = (-(float)ImMin(v_min, v_max)) / ImAbs((float)v_max - (float)v_min); // The zero point in parametric space + float zero_point_snap_L = zero_point_center - zero_deadzone_halfsize; + float zero_point_snap_R = zero_point_center + zero_deadzone_halfsize; + if (t_with_flip >= zero_point_snap_L && t_with_flip <= zero_point_snap_R) + result = (TYPE)0.0f; // Special case to make getting exactly zero possible (the epsilon prevents it otherwise) + else if (t_with_flip < zero_point_center) + result = (TYPE)-(logarithmic_zero_epsilon * ImPow(-v_min_fudged / logarithmic_zero_epsilon, (FLOATTYPE)(1.0f - (t_with_flip / zero_point_snap_L)))); else - result = (TYPE)(v_min_fudged * ImPow(v_max_fudged / v_min_fudged, (FLOATTYPE)t_with_flip)); + result = (TYPE)(logarithmic_zero_epsilon * ImPow(v_max_fudged / logarithmic_zero_epsilon, (FLOATTYPE)((t_with_flip - zero_point_snap_R) / (1.0f - zero_point_snap_R)))); } + else if ((v_min < 0.0f) || (v_max < 0.0f)) // Entirely negative slider + result = (TYPE)-(-v_max_fudged * ImPow(-v_min_fudged / -v_max_fudged, (FLOATTYPE)(1.0f - t_with_flip))); + else + result = (TYPE)(v_min_fudged * ImPow(v_max_fudged / v_min_fudged, (FLOATTYPE)t_with_flip)); } else { // Linear slider + const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); if (is_floating_point) { result = ImLerp(v_min, v_max, t); } - else + else if (t < 1.0) { // - For integer values we want the clicking position to match the grab box so we round above // This code is carefully tuned to work with large values (e.g. high ranges of U64) while preserving this property.. // - Not doing a *1.0 multiply at the end of a range as it tends to be lossy. While absolute aiming at a large s64/u64 // range is going to be imprecise anyway, with this check we at least make the edge values matches expected limits. - if (t < 1.0) - { - FLOATTYPE v_new_off_f = (SIGNEDTYPE)(v_max - v_min) * t; - result = (TYPE)((SIGNEDTYPE)v_min + (SIGNEDTYPE)(v_new_off_f + (FLOATTYPE)(v_min > v_max ? -0.5 : 0.5))); - } - else - { - result = v_max; - } + FLOATTYPE v_new_off_f = (SIGNEDTYPE)(v_max - v_min) * t; + result = (TYPE)((SIGNEDTYPE)v_min + (SIGNEDTYPE)(v_new_off_f + (FLOATTYPE)(v_min > v_max ? -0.5 : 0.5))); } } return result; } -// FIXME: Move more of the code into SliderBehavior() +// FIXME: Try to move more of the code into shared SliderBehavior() template bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, TYPE* v, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb) { @@ -2812,13 +2698,14 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_logarithmic = (flags & ImGuiSliderFlags_Logarithmic) != 0; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataType_Double); + const SIGNEDTYPE v_range = (v_min < v_max ? v_max - v_min : v_min - v_max); - const float grab_padding = 2.0f; + // Calculate bounds + const float grab_padding = 2.0f; // FIXME: Should be part of style. const float slider_sz = (bb.Max[axis] - bb.Min[axis]) - grab_padding * 2.0f; float grab_sz = style.GrabMinSize; - SIGNEDTYPE v_range = (v_min < v_max ? v_max - v_min : v_min - v_max); - if (!is_floating_point && v_range >= 0) // v_range < 0 may happen on integer overflows - grab_sz = ImMax((float)(slider_sz / (v_range + 1)), style.GrabMinSize); // For integer sliders: if possible have the grab size represent 1 unit + if (!is_floating_point && v_range >= 0) // v_range < 0 may happen on integer overflows + grab_sz = ImMax((float)(slider_sz / (v_range + 1)), style.GrabMinSize); // For integer sliders: if possible have the grab size represent 1 unit grab_sz = ImMin(grab_sz, slider_sz); const float slider_usable_sz = slider_sz - grab_sz; const float slider_usable_pos_min = bb.Min[axis] + grab_padding + grab_sz * 0.5f; @@ -2849,7 +2736,17 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ else { const float mouse_abs_pos = g.IO.MousePos[axis]; - clicked_t = (slider_usable_sz > 0.0f) ? ImClamp((mouse_abs_pos - slider_usable_pos_min) / slider_usable_sz, 0.0f, 1.0f) : 0.0f; + if (g.ActiveIdIsJustActivated) + { + float grab_t = ScaleRatioFromValueT(data_type, *v, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); + if (axis == ImGuiAxis_Y) + grab_t = 1.0f - grab_t; + const float grab_pos = ImLerp(slider_usable_pos_min, slider_usable_pos_max, grab_t); + const bool clicked_around_grab = (mouse_abs_pos >= grab_pos - grab_sz * 0.5f - 1.0f) && (mouse_abs_pos <= grab_pos + grab_sz * 0.5f + 1.0f); // No harm being extra generous here. + g.SliderGrabClickOffset = (clicked_around_grab && is_floating_point) ? mouse_abs_pos - grab_pos : 0.0f; + } + if (slider_usable_sz > 0.0f) + clicked_t = ImSaturate((mouse_abs_pos - g.SliderGrabClickOffset - slider_usable_pos_min) / slider_usable_sz); if (axis == ImGuiAxis_Y) clicked_t = 1.0f - clicked_t; set_new_value = true; @@ -2863,25 +2760,26 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ g.SliderCurrentAccumDirty = false; } - const ImVec2 input_delta2 = GetNavInputAmount2d(ImGuiNavDirSourceFlags_Keyboard | ImGuiNavDirSourceFlags_PadDPad, ImGuiInputReadMode_RepeatFast, 0.0f, 0.0f); - float input_delta = (axis == ImGuiAxis_X) ? input_delta2.x : -input_delta2.y; + float input_delta = (axis == ImGuiAxis_X) ? GetNavTweakPressedAmount(axis) : -GetNavTweakPressedAmount(axis); if (input_delta != 0.0f) { + const bool tweak_slow = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakSlow : ImGuiKey_NavKeyboardTweakSlow); + const bool tweak_fast = IsKeyDown((g.NavInputSource == ImGuiInputSource_Gamepad) ? ImGuiKey_NavGamepadTweakFast : ImGuiKey_NavKeyboardTweakFast); const int decimal_precision = is_floating_point ? ImParseFormatPrecision(format, 3) : 0; if (decimal_precision > 0) { input_delta /= 100.0f; // Gamepad/keyboard tweak speeds in % of slider bounds - if (IsNavInputDown(ImGuiNavInput_TweakSlow)) + if (tweak_slow) input_delta /= 10.0f; } else { - if ((v_range >= -100.0f && v_range <= 100.0f) || IsNavInputDown(ImGuiNavInput_TweakSlow)) + if ((v_range >= -100.0f && v_range <= 100.0f) || tweak_slow) input_delta = ((input_delta < 0.0f) ? -1.0f : +1.0f) / (float)v_range; // Gamepad/keyboard tweak speeds in integer steps else input_delta /= 100.0f; } - if (IsNavInputDown(ImGuiNavInput_TweakFast)) + if (tweak_fast) input_delta *= 10.0f; g.SliderCurrentAccum += input_delta; @@ -2910,8 +2808,8 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ // Calculate what our "new" clicked_t will be, and thus how far we actually moved the slider, and subtract this from the accumulator TYPE v_new = ScaleValueFromRatioT(data_type, clicked_t, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); - if (!(flags & ImGuiSliderFlags_NoRoundToFormat)) - v_new = RoundScalarWithFormatT(format, data_type, v_new); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_new = RoundScalarWithFormatT(format, data_type, v_new); float new_clicked_t = ScaleRatioFromValueT(data_type, v_new, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); if (delta > 0) @@ -2929,8 +2827,8 @@ bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_typ TYPE v_new = ScaleValueFromRatioT(data_type, clicked_t, v_min, v_max, is_logarithmic, logarithmic_zero_epsilon, zero_deadzone_halfsize); // Round to user desired precision based on format string - if (!(flags & ImGuiSliderFlags_NoRoundToFormat)) - v_new = RoundScalarWithFormatT(format, data_type, v_new); + if (is_floating_point && !(flags & ImGuiSliderFlags_NoRoundToFormat)) + v_new = RoundScalarWithFormatT(format, data_type, v_new); // Apply result if (*v != v_new) @@ -2969,6 +2867,7 @@ bool ImGui::SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type // Read imgui.cpp "API BREAKING CHANGES" section for 1.78 if you hit this assert. IM_ASSERT((flags == 1 || (flags & ImGuiSliderFlags_InvalidMask_) == 0) && "Invalid ImGuiSliderFlags flag! Has the 'float power' argument been mistakenly cast to flags? Call function with ImGuiSliderFlags_Logarithmic flags instead."); + // Those are the things we can do easily outside the SliderBehaviorT<> template, saves code generation. ImGuiContext& g = *GImGui; if ((g.LastItemData.InFlags & ImGuiItemFlags_ReadOnly) || (flags & ImGuiSliderFlags_ReadOnly)) return false; @@ -3028,24 +2927,27 @@ bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_dat // Default format string when passing NULL if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt; - else if (data_type == ImGuiDataType_S32 && strcmp(format, "%d") != 0) // (FIXME-LEGACY: Patch old "%.0f" format string to use "%d", read function more details.) - format = PatchFormatStringFloatToInt(format); - // Tabbing or CTRL-clicking on Slider turns it into an input box const bool hovered = ItemHoverable(frame_bb, id); bool temp_input_is_active = temp_input_allowed && TempInputIsActive(id); if (!temp_input_is_active) { + // Tabbing or CTRL-clicking on Slider turns it into an input box const bool input_requested_by_tabbing = temp_input_allowed && (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_FocusedByTabbing) != 0; - const bool clicked = (hovered && g.IO.MouseClicked[0]); - if (input_requested_by_tabbing || clicked || g.NavActivateId == id || g.NavActivateInputId == id) + const bool clicked = hovered && IsMouseClicked(0, id); + const bool make_active = (input_requested_by_tabbing || clicked || g.NavActivateId == id || g.NavActivateInputId == id); + if (make_active && clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); + if (make_active && temp_input_allowed) + if (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || g.NavActivateInputId == id) + temp_input_is_active = true; + + if (make_active && !temp_input_is_active) { SetActiveID(id, window); SetFocusID(id, window); FocusWindow(window); g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); - if (temp_input_allowed && (input_requested_by_tabbing || (clicked && g.IO.KeyCtrl) || g.NavActivateInputId == id)) - temp_input_is_active = true; } } @@ -3192,12 +3094,13 @@ bool ImGui::VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType d // Default format string when passing NULL if (format == NULL) format = DataTypeGetInfo(data_type)->PrintFmt; - else if (data_type == ImGuiDataType_S32 && strcmp(format, "%d") != 0) // (FIXME-LEGACY: Patch old "%.0f" format string to use "%d", read function more details.) - format = PatchFormatStringFloatToInt(format); const bool hovered = ItemHoverable(frame_bb, id); - if ((hovered && g.IO.MouseClicked[0]) || g.NavActivateId == id || g.NavActivateInputId == id) + const bool clicked = hovered && IsMouseClicked(0, id); + if (clicked || g.NavActivateId == id || g.NavActivateInputId == id) { + if (clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); SetActiveID(id, window); SetFocusID(id, window); FocusWindow(window); @@ -3240,39 +3143,14 @@ bool ImGui::VSliderInt(const char* label, const ImVec2& size, int* v, int v_min, return VSliderScalar(label, size, ImGuiDataType_S32, v, &v_min, &v_max, format, flags); } -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - -// Obsolete versions with power parameter. See https://github.com/ocornut/imgui/issues/3361 for details. -bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power) -{ - ImGuiSliderFlags slider_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - slider_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return SliderScalar(label, data_type, p_data, p_min, p_max, format, slider_flags); -} - -bool ImGui::SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* v_min, const void* v_max, const char* format, float power) -{ - ImGuiSliderFlags slider_flags = ImGuiSliderFlags_None; - if (power != 1.0f) - { - IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Logarithmic flags instead of using the old 'float power' function!"); - slider_flags |= ImGuiSliderFlags_Logarithmic; // Fallback for non-asserting paths - } - return SliderScalarN(label, data_type, v, components, v_min, v_max, format, slider_flags); -} - -#endif // IMGUI_DISABLE_OBSOLETE_FUNCTIONS - //------------------------------------------------------------------------- // [SECTION] Widgets: InputScalar, InputFloat, InputInt, etc. //------------------------------------------------------------------------- // - ImParseFormatFindStart() [Internal] // - ImParseFormatFindEnd() [Internal] // - ImParseFormatTrimDecorations() [Internal] +// - ImParseFormatSanitizeForPrinting() [Internal] +// - ImParseFormatSanitizeForScanning() [Internal] // - ImParseFormatPrecision() [Internal] // - TempInputTextScalar() [Internal] // - InputScalar() @@ -3336,6 +3214,57 @@ const char* ImParseFormatTrimDecorations(const char* fmt, char* buf, size_t buf_ return buf; } +// Sanitize format +// - Zero terminate so extra characters after format (e.g. "%f123") don't confuse atof/atoi +// - stb_sprintf.h supports several new modifiers which format numbers in a way that also makes them incompatible atof/atoi. +void ImParseFormatSanitizeForPrinting(const char* fmt_in, char* fmt_out, size_t fmt_out_size) +{ + const char* fmt_end = ImParseFormatFindEnd(fmt_in); + IM_UNUSED(fmt_out_size); + IM_ASSERT((size_t)(fmt_end - fmt_in + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! + while (fmt_in < fmt_end) + { + char c = *fmt_in++; + if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. + *(fmt_out++) = c; + } + *fmt_out = 0; // Zero-terminate +} + +// - For scanning we need to remove all width and precision fields "%3.7f" -> "%f". BUT don't strip types like "%I64d" which includes digits. ! "%07I64d" -> "%I64d" +const char* ImParseFormatSanitizeForScanning(const char* fmt_in, char* fmt_out, size_t fmt_out_size) +{ + const char* fmt_end = ImParseFormatFindEnd(fmt_in); + const char* fmt_out_begin = fmt_out; + IM_UNUSED(fmt_out_size); + IM_ASSERT((size_t)(fmt_end - fmt_in + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! + bool has_type = false; + while (fmt_in < fmt_end) + { + char c = *fmt_in++; + if (!has_type && ((c >= '0' && c <= '9') || c == '.')) + continue; + has_type |= ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')); // Stop skipping digits + if (c != '\'' && c != '$' && c != '_') // Custom flags provided by stb_sprintf.h. POSIX 2008 also supports '. + *(fmt_out++) = c; + } + *fmt_out = 0; // Zero-terminate + return fmt_out_begin; +} + +template +static const char* ImAtoi(const char* src, TYPE* output) +{ + int negative = 0; + if (*src == '-') { negative = 1; src++; } + if (*src == '+') { src++; } + TYPE v = 0; + while (*src >= '0' && *src <= '9') + v = (v * 10) + (*src++ - '0'); + *output = negative ? -v : v; + return src; +} + // Parse display precision back from the display format string // FIXME: This is still used by some navigation code path to infer a minimum tweak step, but we should aim to rework widgets so it isn't needed. int ImParseFormatPrecision(const char* fmt, int default_precision) @@ -3382,13 +3311,19 @@ bool ImGui::TempInputText(const ImRect& bb, ImGuiID id, const char* label, char* return value_changed; } +static inline ImGuiInputTextFlags InputScalar_DefaultCharsFilter(ImGuiDataType data_type, const char* format) +{ + if (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) + return ImGuiInputTextFlags_CharsScientific; + const char format_last_char = format[0] ? format[strlen(format) - 1] : 0; + return (format_last_char == 'x' || format_last_char == 'X') ? ImGuiInputTextFlags_CharsHexadecimal : ImGuiInputTextFlags_CharsDecimal; +} + // Note that Drag/Slider functions are only forwarding the min/max values clamping values if the ImGuiSliderFlags_AlwaysClamp flag is set! // This is intended: this way we allow CTRL+Click manual input to set a value out of bounds, for maximum flexibility. // However this may not be ideal for all uses, as some user code may break on out of bound values. bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min, const void* p_clamp_max) { - ImGuiContext& g = *GImGui; - char fmt_buf[32]; char data_buf[32]; format = ImParseFormatTrimDecorations(format, fmt_buf, IM_ARRAYSIZE(fmt_buf)); @@ -3396,7 +3331,8 @@ bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImG ImStrTrimBlanks(data_buf); ImGuiInputTextFlags flags = ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_NoMarkEdited; - flags |= ((data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double) ? ImGuiInputTextFlags_CharsScientific : ImGuiInputTextFlags_CharsDecimal); + flags |= InputScalar_DefaultCharsFilter(data_type, format); + bool value_changed = false; if (TempInputText(bb, id, label, data_buf, IM_ARRAYSIZE(data_buf), flags)) { @@ -3406,7 +3342,7 @@ bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImG memcpy(&data_backup, p_data, data_type_size); // Apply new value (or operations) then clamp - DataTypeApplyOpFromText(data_buf, g.InputTextState.InitialTextA.Data, data_type, p_data, NULL); + DataTypeApplyFromText(data_buf, data_type, p_data, format); if (p_clamp_min || p_clamp_max) { if (p_clamp_min && p_clamp_max && DataTypeCompare(data_type, p_clamp_min, p_clamp_max) > 0) @@ -3439,12 +3375,12 @@ bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data char buf[64]; DataTypeFormatString(buf, IM_ARRAYSIZE(buf), data_type, p_data, format); - bool value_changed = false; - if ((flags & (ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsScientific)) == 0) - flags |= ImGuiInputTextFlags_CharsDecimal; - flags |= ImGuiInputTextFlags_AutoSelectAll; - flags |= ImGuiInputTextFlags_NoMarkEdited; // We call MarkItemEdited() ourselves by comparing the actual data rather than the string. + // Testing ActiveId as a minor optimization as filtering is not needed until active + if (g.ActiveId == 0 && (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsScientific)) == 0) + flags |= InputScalar_DefaultCharsFilter(data_type, format); + flags |= ImGuiInputTextFlags_AutoSelectAll | ImGuiInputTextFlags_NoMarkEdited; // We call MarkItemEdited() ourselves by comparing the actual data rather than the string. + bool value_changed = false; if (p_step != NULL) { const float button_size = GetFrameHeight(); @@ -3453,7 +3389,8 @@ bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data PushID(label); SetNextItemWidth(ImMax(1.0f, CalcItemWidth() - (button_size + style.ItemInnerSpacing.x) * 2)); if (InputText("", buf, IM_ARRAYSIZE(buf), flags)) // PushId(label) + "" gives us the expected ID from outside point of view - value_changed = DataTypeApplyOpFromText(buf, g.InputTextState.InitialTextA.Data, data_type, p_data, format); + value_changed = DataTypeApplyFromText(buf, data_type, p_data, format); + IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags); // Step buttons const ImVec2 backup_frame_padding = style.FramePadding; @@ -3490,7 +3427,7 @@ bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* p_data else { if (InputText(label, buf, IM_ARRAYSIZE(buf), flags)) - value_changed = DataTypeApplyOpFromText(buf, g.InputTextState.InitialTextA.Data, data_type, p_data, format); + value_changed = DataTypeApplyFromText(buf, data_type, p_data, format); } if (value_changed) MarkItemEdited(g.LastItemData.ID); @@ -3588,7 +3525,11 @@ bool ImGui::InputDouble(const char* label, double* v, double step, double step_f // - InputText() // - InputTextWithHint() // - InputTextMultiline() +// - InputTextGetCharInfo() [Internal] +// - InputTextReindexLines() [Internal] +// - InputTextReindexLinesRange() [Internal] // - InputTextEx() [Internal] +// - DebugNodeInputTextState() [Internal] //------------------------------------------------------------------------- bool ImGui::InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) @@ -3604,7 +3545,7 @@ bool ImGui::InputTextMultiline(const char* label, char* buf, size_t buf_size, co bool ImGui::InputTextWithHint(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) { - IM_ASSERT(!(flags & ImGuiInputTextFlags_Multiline)); // call InputTextMultiline() + IM_ASSERT(!(flags & ImGuiInputTextFlags_Multiline)); // call InputTextMultiline() or InputTextEx() manually if you need multi-line + hint. return InputTextEx(label, hint, buf, (int)buf_size, ImVec2(0, 0), flags, callback, user_data); } @@ -3695,13 +3636,10 @@ static int is_word_boundary_from_right(ImGuiInputTextState* obj, int idx) static int is_word_boundary_from_left(ImGuiInputTextState* obj, int idx) { if (obj->Flags & ImGuiInputTextFlags_Password) return 0; return idx > 0 ? (!is_separator(obj->TextW[idx - 1]) && is_separator(obj->TextW[idx])) : 1; } static int STB_TEXTEDIT_MOVEWORDLEFT_IMPL(ImGuiInputTextState* obj, int idx) { idx--; while (idx >= 0 && !is_word_boundary_from_right(obj, idx)) idx--; return idx < 0 ? 0 : idx; } static int STB_TEXTEDIT_MOVEWORDRIGHT_MAC(ImGuiInputTextState* obj, int idx) { idx++; int len = obj->CurLenW; while (idx < len && !is_word_boundary_from_left(obj, idx)) idx++; return idx > len ? len : idx; } -#define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL // They need to be #define for stb_textedit.h -#ifdef __APPLE__ // FIXME: Move setting to IO structure -#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_MAC -#else static int STB_TEXTEDIT_MOVEWORDRIGHT_WIN(ImGuiInputTextState* obj, int idx) { idx++; int len = obj->CurLenW; while (idx < len && !is_word_boundary_from_right(obj, idx)) idx++; return idx > len ? len : idx; } -#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_WIN -#endif +static int STB_TEXTEDIT_MOVEWORDRIGHT_IMPL(ImGuiInputTextState* obj, int idx) { if (ImGui::GetIO().ConfigMacOSXBehaviors) return STB_TEXTEDIT_MOVEWORDRIGHT_MAC(obj, idx); else return STB_TEXTEDIT_MOVEWORDRIGHT_WIN(obj, idx); } +#define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL // They need to be #define for stb_textedit.h +#define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL static void STB_TEXTEDIT_DELETECHARS(ImGuiInputTextState* obj, int pos, int n) { @@ -3779,11 +3717,12 @@ static void stb_textedit_replace(ImGuiInputTextState* str, STB_TexteditState* st { stb_text_makeundo_replace(str, state, 0, str->CurLenW, text_len); ImStb::STB_TEXTEDIT_DELETECHARS(str, 0, str->CurLenW); + state->cursor = state->select_start = state->select_end = 0; if (text_len <= 0) return; if (ImStb::STB_TEXTEDIT_INSERTCHARS(str, 0, text, text_len)) { - state->cursor = text_len; + state->cursor = state->select_start = state->select_end = text_len; state->has_preferred_x = 0; return; } @@ -3868,7 +3807,7 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f if (c < 0x20) { bool pass = false; - pass |= (c == '\n' && (flags & ImGuiInputTextFlags_Multiline)); + pass |= (c == '\n' && (flags & ImGuiInputTextFlags_Multiline)); // Note that an Enter KEY will emit \r and be ignored (we poll for KEY in InputText() code) pass |= (c == '\t' && (flags & ImGuiInputTextFlags_AllowTabInput)); if (!pass) return false; @@ -3902,6 +3841,13 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f ImGuiContext& g = *GImGui; const unsigned c_decimal_point = (unsigned int)g.PlatformLocaleDecimalPoint; + // Full-width -> half-width conversion for numeric fields (https://en.wikipedia.org/wiki/Halfwidth_and_Fullwidth_Forms_(Unicode_block) + // While this is mostly convenient, this has the side-effect for uninformed users accidentally inputting full-width characters that they may + // scratch their head as to why it works in numerical fields vs in generic text fields it would require support in the font. + if (flags & (ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_CharsScientific | ImGuiInputTextFlags_CharsHexadecimal)) + if (c >= 0xFF01 && c <= 0xFF5E) + c = c - 0xFF01 + 0x21; + // Allow 0-9 . - + * / if (flags & ImGuiInputTextFlags_CharsDecimal) if (!(c >= '0' && c <= '9') && (c != c_decimal_point) && (c != '-') && (c != '+') && (c != '*') && (c != '/')) @@ -3920,11 +3866,13 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f // Turn a-z into A-Z if (flags & ImGuiInputTextFlags_CharsUppercase) if (c >= 'a' && c <= 'z') - *p_char = (c += (unsigned int)('A' - 'a')); + c += (unsigned int)('A' - 'a'); if (flags & ImGuiInputTextFlags_CharsNoBlank) if (ImCharIsBlankW(c)) return false; + + *p_char = c; } // Custom callback filter @@ -3946,6 +3894,41 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f return true; } +// Find the shortest single replacement we can make to get the new text from the old text. +// Important: needs to be run before TextW is rewritten with the new characters because calling STB_TEXTEDIT_GETCHAR() at the end. +// FIXME: Ideally we should transition toward (1) making InsertChars()/DeleteChars() update undo-stack (2) discourage (and keep reconcile) or obsolete (and remove reconcile) accessing buffer directly. +static void InputTextReconcileUndoStateAfterUserCallback(ImGuiInputTextState* state, const char* new_buf_a, int new_length_a) +{ + ImGuiContext& g = *GImGui; + const ImWchar* old_buf = state->TextW.Data; + const int old_length = state->CurLenW; + const int new_length = ImTextCountCharsFromUtf8(new_buf_a, new_buf_a + new_length_a); + g.TempBuffer.reserve_discard((new_length + 1) * sizeof(ImWchar)); + ImWchar* new_buf = (ImWchar*)(void*)g.TempBuffer.Data; + ImTextStrFromUtf8(new_buf, new_length + 1, new_buf_a, new_buf_a + new_length_a); + + const int shorter_length = ImMin(old_length, new_length); + int first_diff; + for (first_diff = 0; first_diff < shorter_length; first_diff++) + if (old_buf[first_diff] != new_buf[first_diff]) + break; + if (first_diff == old_length && first_diff == new_length) + return; + + int old_last_diff = old_length - 1; + int new_last_diff = new_length - 1; + for (; old_last_diff >= first_diff && new_last_diff >= first_diff; old_last_diff--, new_last_diff--) + if (old_buf[old_last_diff] != new_buf[new_last_diff]) + break; + + const int insert_len = new_last_diff - first_diff + 1; + const int delete_len = old_last_diff - first_diff + 1; + if (insert_len > 0 || delete_len > 0) + if (STB_TEXTEDIT_CHARTYPE* p = stb_text_createundo(&state->Stb.undostate, first_diff, delete_len, insert_len)) + for (int i = 0; i < delete_len; i++) + p[i] = ImStb::STB_TEXTEDIT_GETCHAR(state, first_diff + i); +} + // Edit a string of text // - buf_size account for the zero-terminator, so a buf_size of 6 can hold "Hello" but not "Hello!". // This is so we can easily call InputText() on static arrays using ARRAYSIZE() and to match @@ -4066,17 +4049,21 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ state->InitialTextA.resize(buf_len + 1); // UTF-8. we use +1 to make sure that .Data is always pointing to at least an empty string. memcpy(state->InitialTextA.Data, buf, buf_len + 1); + // Preserve cursor position and undo/redo stack if we come back to same widget + // FIXME: Since we reworked this on 2022/06, may want to differenciate recycle_cursor vs recycle_undostate? + bool recycle_state = (state->ID == id && !init_changed_specs); + if (recycle_state && (state->CurLenA != buf_len || (state->TextAIsValid && strncmp(state->TextA.Data, buf, buf_len) != 0))) + recycle_state = false; + // Start edition const char* buf_end = NULL; + state->ID = id; state->TextW.resize(buf_size + 1); // wchar count <= UTF-8 count. we use +1 to make sure that .Data is always pointing to at least an empty string. state->TextA.resize(0); state->TextAIsValid = false; // TextA is not valid yet (we will display buf until then) state->CurLenW = ImTextStrFromUtf8(state->TextW.Data, buf_size, buf, NULL, &buf_end); state->CurLenA = (int)(buf_end - buf); // We can't get the result from ImStrncpy() above because it is not UTF-8 aware. Here we'll cut off malformed UTF-8. - // Preserve cursor position and undo/redo stack if we come back to same widget - // FIXME: For non-readonly widgets we might be able to require that TextAIsValid && TextA == buf ? (untested) and discard undo stack if user buffer has changed. - const bool recycle_state = (state->ID == id && !init_changed_specs); if (recycle_state) { // Recycle existing cursor/selection/undo stack but clamp position @@ -4085,7 +4072,6 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } else { - state->ID = id; state->ScrollX = 0.0f; stb_textedit_initialize_state(&state->Stb, !is_multiline); } @@ -4110,18 +4096,24 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ SetActiveID(id, window); SetFocusID(id, window); FocusWindow(window); - - // Declare our inputs - IM_ASSERT(ImGuiNavInput_COUNT < 32); + } + if (g.ActiveId == id) + { + // Declare some inputs, the other are registered and polled via Shortcut() routing system. + if (user_clicked) + SetKeyOwner(ImGuiKey_MouseLeft, id); g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Left) | (1 << ImGuiDir_Right); if (is_multiline || (flags & ImGuiInputTextFlags_CallbackHistory)) g.ActiveIdUsingNavDirMask |= (1 << ImGuiDir_Up) | (1 << ImGuiDir_Down); - g.ActiveIdUsingNavInputMask |= (1 << ImGuiNavInput_Cancel); - g.ActiveIdUsingKeyInputMask |= ((ImU64)1 << ImGuiKey_Home) | ((ImU64)1 << ImGuiKey_End); + SetKeyOwner(ImGuiKey_Home, id); + SetKeyOwner(ImGuiKey_End, id); if (is_multiline) - g.ActiveIdUsingKeyInputMask |= ((ImU64)1 << ImGuiKey_PageUp) | ((ImU64)1 << ImGuiKey_PageDown); - if (flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_AllowTabInput)) // Disable keyboard tabbing out as we will use the \t character. - g.ActiveIdUsingKeyInputMask |= ((ImU64)1 << ImGuiKey_Tab); + { + SetKeyOwner(ImGuiKey_PageUp, id); + SetKeyOwner(ImGuiKey_PageDown, id); + } + if (flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_AllowTabInput)) // Disable keyboard tabbing out as we will use the \t character. + SetKeyOwner(ImGuiKey_Tab, id); } // We have an edge case if ActiveId was set through another widget (e.g. widget being swapped), clear id immediately (don't wait until the end of the function) @@ -4133,10 +4125,10 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ clear_active_id = true; // Lock the decision of whether we are going to take the path displaying the cursor or selection - const bool render_cursor = (g.ActiveId == id) || (state && user_scroll_active); + bool render_cursor = (g.ActiveId == id) || (state && user_scroll_active); bool render_selection = state && (state->HasSelection() || select_all) && (RENDER_SELECTION_WHEN_INACTIVE || render_cursor); bool value_changed = false; - bool enter_pressed = false; + bool validated = false; // When read-only we always use the live data passed to the function // FIXME-OPT: Because our selection/cursor code currently needs the wide text we need to convert it when active, which is not ideal :( @@ -4232,10 +4224,12 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } else if (io.MouseClicked[0] && !state->SelectedAllMouseLock) { - // FIXME: unselect on late click could be done release? if (hovered) { - stb_textedit_click(state, &state->Stb, mouse_x, mouse_y); + if (io.KeyShift) + stb_textedit_drag(state, &state->Stb, mouse_x, mouse_y); + else + stb_textedit_click(state, &state->Stb, mouse_x, mouse_y); state->CursorAnimReset(); } } @@ -4248,16 +4242,15 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ if (state->SelectedAllMouseLock && !io.MouseDown[0]) state->SelectedAllMouseLock = false; - // It is ill-defined whether the backend needs to send a \t character when pressing the TAB keys. - // Win32 and GLFW naturally do it but not SDL. + // We expect backends to emit a Tab key but some also emit a Tab character which we ignore (#2467, #1336) + // (For Tab and Enter: Win32/SFML/Allegro are sending both keys and chars, GLFW and SDL are only sending keys. For Space they all send all threes) const bool ignore_char_inputs = (io.KeyCtrl && !io.KeyAlt) || (is_osx && io.KeySuper); - if ((flags & ImGuiInputTextFlags_AllowTabInput) && IsKeyPressedMap(ImGuiKey_Tab) && !ignore_char_inputs && !io.KeyShift && !is_readonly) - if (!io.InputQueueCharacters.contains('\t')) - { - unsigned int c = '\t'; // Insert TAB - if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard)) - state->OnKeyPressed((int)c); - } + if ((flags & ImGuiInputTextFlags_AllowTabInput) && IsKeyPressed(ImGuiKey_Tab) && !ignore_char_inputs && !io.KeyShift && !is_readonly) + { + unsigned int c = '\t'; // Insert TAB + if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard)) + state->OnKeyPressed((int)c); + } // Process regular text input (before we check for Return because using some IME will effectively send a Return?) // We ignore CTRL inputs, but need to allow ALT+CTRL as some keyboards (e.g. German) use AltGR (which _is_ Alt+Ctrl) to input certain characters. @@ -4268,7 +4261,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ { // Insert character if they pass filtering unsigned int c = (unsigned int)io.InputQueueCharacters[n]; - if (c == '\t' && io.KeyShift) + if (c == '\t') // Skip Tab, see above. continue; if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard)) state->OnKeyPressed((int)c); @@ -4280,45 +4273,46 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } // Process other shortcuts/key-presses - bool cancel_edit = false; + bool revert_edit = false; if (g.ActiveId == id && !g.ActiveIdIsJustActivated && !clear_active_id) { IM_ASSERT(state != NULL); - IM_ASSERT(io.KeyMods == GetMergedKeyModFlags() && "Mismatching io.KeyCtrl/io.KeyShift/io.KeyAlt/io.KeySuper vs io.KeyMods"); // We rarely do this check, but if anything let's do it here. const int row_count_per_page = ImMax((int)((inner_size.y - style.FramePadding.y) / g.FontSize), 1); state->Stb.row_count_per_page = row_count_per_page; const int k_mask = (io.KeyShift ? STB_TEXTEDIT_K_SHIFT : 0); const bool is_osx = io.ConfigMacOSXBehaviors; - const bool is_osx_shift_shortcut = is_osx && (io.KeyMods == (ImGuiKeyModFlags_Super | ImGuiKeyModFlags_Shift)); const bool is_wordmove_key_down = is_osx ? io.KeyAlt : io.KeyCtrl; // OS X style: Text editing cursor movement using Alt instead of Ctrl const bool is_startend_key_down = is_osx && io.KeySuper && !io.KeyCtrl && !io.KeyAlt; // OS X style: Line/Text Start and End using Cmd+Arrows instead of Home/End - const bool is_ctrl_key_only = (io.KeyMods == ImGuiKeyModFlags_Ctrl); - const bool is_shift_key_only = (io.KeyMods == ImGuiKeyModFlags_Shift); - const bool is_shortcut_key = g.IO.ConfigMacOSXBehaviors ? (io.KeyMods == ImGuiKeyModFlags_Super) : (io.KeyMods == ImGuiKeyModFlags_Ctrl); - const bool is_cut = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_X)) || (is_shift_key_only && IsKeyPressedMap(ImGuiKey_Delete))) && !is_readonly && !is_password && (!is_multiline || state->HasSelection()); - const bool is_copy = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_C)) || (is_ctrl_key_only && IsKeyPressedMap(ImGuiKey_Insert))) && !is_password && (!is_multiline || state->HasSelection()); - const bool is_paste = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_V)) || (is_shift_key_only && IsKeyPressedMap(ImGuiKey_Insert))) && !is_readonly; - const bool is_undo = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_Z)) && !is_readonly && is_undoable); - const bool is_redo = ((is_shortcut_key && IsKeyPressedMap(ImGuiKey_Y)) || (is_osx_shift_shortcut && IsKeyPressedMap(ImGuiKey_Z))) && !is_readonly && is_undoable; + // Using Shortcut() with ImGuiInputFlags_RouteFocused (default policy) to allow routing operations for other code (e.g. calling window trying to use CTRL+A and CTRL+B: formet would be handled by InputText) + // Otherwise we could simply assume that we own the keys as we are active. + const ImGuiInputFlags f_repeat = ImGuiInputFlags_Repeat; + const bool is_cut = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_X, id, f_repeat) || Shortcut(ImGuiMod_Shift | ImGuiKey_Delete, id, f_repeat)) && !is_readonly && !is_password && (!is_multiline || state->HasSelection()); + const bool is_copy = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_C, id) || Shortcut(ImGuiMod_Ctrl | ImGuiKey_Insert, id)) && !is_password && (!is_multiline || state->HasSelection()); + const bool is_paste = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_V, id, f_repeat) || Shortcut(ImGuiMod_Shift | ImGuiKey_Insert, id, f_repeat)) && !is_readonly; + const bool is_undo = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_Z, id, f_repeat)) && !is_readonly && is_undoable; + const bool is_redo = (Shortcut(ImGuiMod_Shortcut | ImGuiKey_Y, id, f_repeat) || (is_osx && Shortcut(ImGuiMod_Shortcut | ImGuiMod_Shift | ImGuiKey_Z, id, f_repeat))) && !is_readonly && is_undoable; + const bool is_select_all = Shortcut(ImGuiMod_Shortcut | ImGuiKey_A, id); // We allow validate/cancel with Nav source (gamepad) to makes it easier to undo an accidental NavInput press with no keyboard wired, but otherwise it isn't very useful. - const bool is_validate_enter = IsKeyPressedMap(ImGuiKey_Enter) || IsKeyPressedMap(ImGuiKey_KeyPadEnter); - const bool is_validate_nav = (IsNavInputTest(ImGuiNavInput_Activate, ImGuiInputReadMode_Pressed) && !IsKeyPressedMap(ImGuiKey_Space)) || IsNavInputTest(ImGuiNavInput_Input, ImGuiInputReadMode_Pressed); - const bool is_cancel = IsKeyPressedMap(ImGuiKey_Escape) || IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed); + const bool nav_gamepad_active = (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) != 0 && (io.BackendFlags & ImGuiBackendFlags_HasGamepad) != 0; + const bool is_enter_pressed = IsKeyPressed(ImGuiKey_Enter, true) || IsKeyPressed(ImGuiKey_KeypadEnter, true); + const bool is_gamepad_validate = nav_gamepad_active && (IsKeyPressed(ImGuiKey_NavGamepadActivate, false) || IsKeyPressed(ImGuiKey_NavGamepadInput, false)); + const bool is_cancel = Shortcut(ImGuiKey_Escape, id, f_repeat) || (nav_gamepad_active && Shortcut(ImGuiKey_NavGamepadCancel, id, f_repeat)); - if (IsKeyPressedMap(ImGuiKey_LeftArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINESTART : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDLEFT : STB_TEXTEDIT_K_LEFT) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_RightArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINEEND : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDRIGHT : STB_TEXTEDIT_K_RIGHT) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_UpArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTSTART : STB_TEXTEDIT_K_UP) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_DownArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMin(draw_window->Scroll.y + g.FontSize, GetScrollMaxY())); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTEND : STB_TEXTEDIT_K_DOWN) | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_PageUp) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGUP | k_mask); scroll_y -= row_count_per_page * g.FontSize; } - else if (IsKeyPressedMap(ImGuiKey_PageDown) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGDOWN | k_mask); scroll_y += row_count_per_page * g.FontSize; } - else if (IsKeyPressedMap(ImGuiKey_Home)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTSTART | k_mask : STB_TEXTEDIT_K_LINESTART | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_End)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTEND | k_mask : STB_TEXTEDIT_K_LINEEND | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_Delete) && !is_readonly && !is_cut) { state->OnKeyPressed(STB_TEXTEDIT_K_DELETE | k_mask); } - else if (IsKeyPressedMap(ImGuiKey_Backspace) && !is_readonly) + // FIXME: Should use more Shortcut() and reduce IsKeyPressed()+SetKeyOwner(), but requires modifiers combination to be taken account of. + if (IsKeyPressed(ImGuiKey_LeftArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINESTART : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDLEFT : STB_TEXTEDIT_K_LEFT) | k_mask); } + else if (IsKeyPressed(ImGuiKey_RightArrow)) { state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_LINEEND : is_wordmove_key_down ? STB_TEXTEDIT_K_WORDRIGHT : STB_TEXTEDIT_K_RIGHT) | k_mask); } + else if (IsKeyPressed(ImGuiKey_UpArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMax(draw_window->Scroll.y - g.FontSize, 0.0f)); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTSTART : STB_TEXTEDIT_K_UP) | k_mask); } + else if (IsKeyPressed(ImGuiKey_DownArrow) && is_multiline) { if (io.KeyCtrl) SetScrollY(draw_window, ImMin(draw_window->Scroll.y + g.FontSize, GetScrollMaxY())); else state->OnKeyPressed((is_startend_key_down ? STB_TEXTEDIT_K_TEXTEND : STB_TEXTEDIT_K_DOWN) | k_mask); } + else if (IsKeyPressed(ImGuiKey_PageUp) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGUP | k_mask); scroll_y -= row_count_per_page * g.FontSize; } + else if (IsKeyPressed(ImGuiKey_PageDown) && is_multiline) { state->OnKeyPressed(STB_TEXTEDIT_K_PGDOWN | k_mask); scroll_y += row_count_per_page * g.FontSize; } + else if (IsKeyPressed(ImGuiKey_Home)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTSTART | k_mask : STB_TEXTEDIT_K_LINESTART | k_mask); } + else if (IsKeyPressed(ImGuiKey_End)) { state->OnKeyPressed(io.KeyCtrl ? STB_TEXTEDIT_K_TEXTEND | k_mask : STB_TEXTEDIT_K_LINEEND | k_mask); } + else if (IsKeyPressed(ImGuiKey_Delete) && !is_readonly && !is_cut) { state->OnKeyPressed(STB_TEXTEDIT_K_DELETE | k_mask); } + else if (IsKeyPressed(ImGuiKey_Backspace) && !is_readonly) { if (!state->HasSelection()) { @@ -4329,12 +4323,17 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } state->OnKeyPressed(STB_TEXTEDIT_K_BACKSPACE | k_mask); } - else if (is_validate_enter) + else if (is_enter_pressed || is_gamepad_validate) { + // Determine if we turn Enter into a \n character bool ctrl_enter_for_new_line = (flags & ImGuiInputTextFlags_CtrlEnterForNewLine) != 0; - if (!is_multiline || (ctrl_enter_for_new_line && !io.KeyCtrl) || (!ctrl_enter_for_new_line && io.KeyCtrl)) + if (!is_multiline || is_gamepad_validate || (ctrl_enter_for_new_line && !io.KeyCtrl) || (!ctrl_enter_for_new_line && io.KeyCtrl)) { - enter_pressed = clear_active_id = true; + validated = true; + if (io.ConfigInputTextEnterKeepActive && !is_multiline) + state->SelectAll(); // No need to scroll + else + clear_active_id = true; } else if (!is_readonly) { @@ -4343,21 +4342,32 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ state->OnKeyPressed((int)c); } } - else if (is_validate_nav) - { - IM_ASSERT(!is_validate_enter); - enter_pressed = clear_active_id = true; - } else if (is_cancel) { - clear_active_id = cancel_edit = true; + if (flags & ImGuiInputTextFlags_EscapeClearsAll) + { + if (state->CurLenA > 0) + { + revert_edit = true; + } + else + { + render_cursor = render_selection = false; + clear_active_id = true; + } + } + else + { + clear_active_id = revert_edit = true; + render_cursor = render_selection = false; + } } else if (is_undo || is_redo) { state->OnKeyPressed(is_undo ? STB_TEXTEDIT_K_UNDO : STB_TEXTEDIT_K_REDO); state->ClearSelection(); } - else if (is_shortcut_key && IsKeyPressedMap(ImGuiKey_A)) + else if (is_select_all) { state->SelectAll(); state->CursorFollow = true; @@ -4421,11 +4431,19 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ if (g.ActiveId == id) { IM_ASSERT(state != NULL); - if (cancel_edit) + if (revert_edit && !is_readonly) { - // Restore initial value. Only return true if restoring to the initial value changes the current buffer contents. - if (!is_readonly && strcmp(buf, state->InitialTextA.Data) != 0) + if (flags & ImGuiInputTextFlags_EscapeClearsAll) { + // Clear input + apply_new_text = ""; + apply_new_text_length = 0; + STB_TEXTEDIT_CHARTYPE empty_string; + stb_textedit_replace(state, &state->Stb, &empty_string, 0); + } + else if (strcmp(buf, state->InitialTextA.Data) != 0) + { + // Restore initial value. Only return true if restoring to the initial value changes the current buffer contents. // Push records into the undo stack so we can CTRL+Z the revert operation itself apply_new_text = state->InitialTextA.Data; apply_new_text_length = state->InitialTextA.Size - 1; @@ -4439,22 +4457,24 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } } + // Apply ASCII value + if (!is_readonly) + { + state->TextAIsValid = true; + state->TextA.resize(state->TextW.Size * 4 + 1); + ImTextStrToUtf8(state->TextA.Data, state->TextA.Size, state->TextW.Data, NULL); + } + // When using 'ImGuiInputTextFlags_EnterReturnsTrue' as a special case we reapply the live buffer back to the input buffer before clearing ActiveId, even though strictly speaking it wasn't modified on this frame. // If we didn't do that, code like InputInt() with ImGuiInputTextFlags_EnterReturnsTrue would fail. // This also allows the user to use InputText() with ImGuiInputTextFlags_EnterReturnsTrue without maintaining any user-side storage (please note that if you use this property along ImGuiInputTextFlags_CallbackResize you can end up with your temporary string object unnecessarily allocating once a frame, either store your string data, either if you don't then don't use ImGuiInputTextFlags_CallbackResize). - bool apply_edit_back_to_user_buffer = !cancel_edit || (enter_pressed && (flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0); + const bool apply_edit_back_to_user_buffer = !revert_edit || (validated && (flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0); if (apply_edit_back_to_user_buffer) { // Apply new value immediately - copy modified buffer back // Note that as soon as the input box is active, the in-widget value gets priority over any underlying modification of the input buffer // FIXME: We actually always render 'buf' when calling DrawList->AddText, making the comment above incorrect. // FIXME-OPT: CPU waste to do this every time the widget is active, should mark dirty state from the stb_textedit callbacks. - if (!is_readonly) - { - state->TextAIsValid = true; - state->TextA.resize(state->TextW.Size * 4 + 1); - ImTextStrToUtf8(state->TextA.Data, state->TextA.Size, state->TextW.Data, NULL); - } // User callback if ((flags & (ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory | ImGuiInputTextFlags_CallbackEdit | ImGuiInputTextFlags_CallbackAlways)) != 0) @@ -4463,18 +4483,18 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ // The reason we specify the usage semantic (Completion/History) is that Completion needs to disable keyboard TABBING at the moment. ImGuiInputTextFlags event_flag = 0; - ImGuiKey event_key = ImGuiKey_COUNT; - if ((flags & ImGuiInputTextFlags_CallbackCompletion) != 0 && IsKeyPressedMap(ImGuiKey_Tab)) + ImGuiKey event_key = ImGuiKey_None; + if ((flags & ImGuiInputTextFlags_CallbackCompletion) != 0 && IsKeyPressed(ImGuiKey_Tab)) { event_flag = ImGuiInputTextFlags_CallbackCompletion; event_key = ImGuiKey_Tab; } - else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressedMap(ImGuiKey_UpArrow)) + else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressed(ImGuiKey_UpArrow)) { event_flag = ImGuiInputTextFlags_CallbackHistory; event_key = ImGuiKey_UpArrow; } - else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressedMap(ImGuiKey_DownArrow)) + else if ((flags & ImGuiInputTextFlags_CallbackHistory) != 0 && IsKeyPressed(ImGuiKey_DownArrow)) { event_flag = ImGuiInputTextFlags_CallbackHistory; event_key = ImGuiKey_DownArrow; @@ -4523,9 +4543,11 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ if (callback_data.SelectionEnd != utf8_selection_end || buf_dirty) { state->Stb.select_end = (callback_data.SelectionEnd == callback_data.SelectionStart) ? state->Stb.select_start : ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionEnd); } if (buf_dirty) { + IM_ASSERT((flags & ImGuiInputTextFlags_ReadOnly) == 0); IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain BufTextLen if you change the text! + InputTextReconcileUndoStateAfterUserCallback(state, callback_data.Buf, callback_data.BufTextLen); // FIXME: Move the rest of this block inside function and rename to InputTextReconcileStateAfterUserCallback() ? if (callback_data.BufTextLen > backup_current_text_length && is_resizable) - state->TextW.resize(state->TextW.Size + (callback_data.BufTextLen - backup_current_text_length)); + state->TextW.resize(state->TextW.Size + (callback_data.BufTextLen - backup_current_text_length)); // Worse case scenario resize state->CurLenW = ImTextStrFromUtf8(state->TextW.Data, state->TextW.Size, callback_data.Buf, NULL); state->CurLenA = callback_data.BufTextLen; // Assume correct length and valid UTF-8 from user, saves us an extra strlen() state->CursorAnimReset(); @@ -4540,9 +4562,6 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ apply_new_text_length = state->CurLenA; } } - - // Clear temporary user storage - state->Flags = ImGuiInputTextFlags_None; } // Copy result to user buffer. This can currently only happen when (g.ActiveId == id) @@ -4567,7 +4586,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ apply_new_text_length = ImMin(callback_data.BufTextLen, buf_size - 1); IM_ASSERT(apply_new_text_length <= buf_size); } - //IMGUI_DEBUG_LOG("InputText(\"%s\"): apply_new_text length %d\n", label, apply_new_text_length); + //IMGUI_DEBUG_PRINT("InputText(\"%s\"): apply_new_text length %d\n", label, apply_new_text_length); // If the underlying buffer resize was denied or not carried to the next frame, apply_new_text_length+1 may be >= buf_size. ImStrncpy(buf, apply_new_text, ImMin(apply_new_text_length + 1, buf_size)); @@ -4760,7 +4779,11 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ // Notify OS of text input position for advanced IME (-1 x offset so that Windows IME can cover our cursor. Bit of an extra nicety.) if (!is_readonly) - g.PlatformImePos = ImVec2(cursor_screen_pos.x - 1.0f, cursor_screen_pos.y - g.FontSize); + { + g.PlatformImeData.WantVisible = true; + g.PlatformImeData.InputPos = ImVec2(cursor_screen_pos.x - 1.0f, cursor_screen_pos.y - g.FontSize); + g.PlatformImeData.InputLineHeight = g.FontSize; + } } } else @@ -4819,11 +4842,46 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); if ((flags & ImGuiInputTextFlags_EnterReturnsTrue) != 0) - return enter_pressed; + return validated; else return value_changed; } +void ImGui::DebugNodeInputTextState(ImGuiInputTextState* state) +{ +#ifndef IMGUI_DISABLE_DEBUG_TOOLS + ImGuiContext& g = *GImGui; + ImStb::STB_TexteditState* stb_state = &state->Stb; + ImStb::StbUndoState* undo_state = &stb_state->undostate; + Text("ID: 0x%08X, ActiveID: 0x%08X", state->ID, g.ActiveId); + DebugLocateItemOnHover(state->ID); + Text("CurLenW: %d, CurLenA: %d, Cursor: %d, Selection: %d..%d", state->CurLenA, state->CurLenW, stb_state->cursor, stb_state->select_start, stb_state->select_end); + Text("undo_point: %d, redo_point: %d, undo_char_point: %d, redo_char_point: %d", undo_state->undo_point, undo_state->redo_point, undo_state->undo_char_point, undo_state->redo_char_point); + if (BeginChild("undopoints", ImVec2(0.0f, GetTextLineHeight() * 15), true)) // Visualize undo state + { + PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0)); + for (int n = 0; n < STB_TEXTEDIT_UNDOSTATECOUNT; n++) + { + ImStb::StbUndoRecord* undo_rec = &undo_state->undo_rec[n]; + const char undo_rec_type = (n < undo_state->undo_point) ? 'u' : (n >= undo_state->redo_point) ? 'r' : ' '; + if (undo_rec_type == ' ') + BeginDisabled(); + char buf[64] = ""; + if (undo_rec_type != ' ' && undo_rec->char_storage != -1) + ImTextStrToUtf8(buf, IM_ARRAYSIZE(buf), undo_state->undo_char + undo_rec->char_storage, undo_state->undo_char + undo_rec->char_storage + undo_rec->insert_length); + Text("%c [%02d] where %03d, insert %03d, delete %03d, char_storage %03d \"%s\"", + undo_rec_type, n, undo_rec->where, undo_rec->insert_length, undo_rec->delete_length, undo_rec->char_storage, buf); + if (undo_rec_type == ' ') + EndDisabled(); + } + PopStyleVar(); + } + EndChild(); +#else + IM_UNUSED(state); +#endif +} + //------------------------------------------------------------------------- // [SECTION] Widgets: ColorEdit, ColorPicker, ColorButton, etc. //------------------------------------------------------------------------- @@ -4973,7 +5031,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]); } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); } } else if ((flags & ImGuiColorEditFlags_DisplayHex) != 0 && (flags & ImGuiColorEditFlags_NoInputs) == 0) @@ -5001,7 +5059,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag IM_UNUSED(r); // Fixes C6031: Return value ignored: 'sscanf'. } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); } ImGuiWindow* picker_active_window = NULL; @@ -5018,32 +5076,37 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag // Store current color and open a picker g.ColorPickerRef = col_v4; OpenPopup("picker"); - SetNextWindowPos(g.LastItemData.Rect.GetBL() + ImVec2(-1, style.ItemSpacing.y)); + SetNextWindowPos(g.LastItemData.Rect.GetBL() + ImVec2(0.0f, style.ItemSpacing.y)); } } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); if (BeginPopup("picker")) { - picker_active_window = g.CurrentWindow; - if (label != label_display_end) + if (g.CurrentWindow->BeginCount == 1) { - TextEx(label, label_display_end); - Spacing(); + picker_active_window = g.CurrentWindow; + if (label != label_display_end) + { + TextEx(label, label_display_end); + Spacing(); + } + ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_PickerMask_ | ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar; + ImGuiColorEditFlags picker_flags = (flags_untouched & picker_flags_to_forward) | ImGuiColorEditFlags_DisplayMask_ | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf; + SetNextItemWidth(square_sz * 12.0f); // Use 256 + bar sizes? + value_changed |= ColorPicker4("##picker", col, picker_flags, &g.ColorPickerRef.x); } - ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags_DataTypeMask_ | ImGuiColorEditFlags_PickerMask_ | ImGuiColorEditFlags_InputMask_ | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar; - ImGuiColorEditFlags picker_flags = (flags_untouched & picker_flags_to_forward) | ImGuiColorEditFlags_DisplayMask_ | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf; - SetNextItemWidth(square_sz * 12.0f); // Use 256 + bar sizes? - value_changed |= ColorPicker4("##picker", col, picker_flags, &g.ColorPickerRef.x); EndPopup(); } } if (label != label_display_end && !(flags & ImGuiColorEditFlags_NoLabel)) { - const float text_offset_x = (flags & ImGuiColorEditFlags_NoInputs) ? w_button : w_full + style.ItemInnerSpacing.x; - window->DC.CursorPos = ImVec2(pos.x + text_offset_x, pos.y + style.FramePadding.y); + // Position not necessarily next to last submitted button (e.g. if style.ColorButtonPosition == ImGuiDir_Left), + // but we need to use SameLine() to setup baseline correctly. Might want to refactor SameLine() to simplify this. + SameLine(0.0f, style.ItemInnerSpacing.x); + window->DC.CursorPos.x = pos.x + ((flags & ImGuiColorEditFlags_NoInputs) ? w_button : w_full + style.ItemInnerSpacing.x); TextEx(label, label_display_end); } @@ -5080,7 +5143,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag bool accepted_drag_drop = false; if (const ImGuiPayload* payload = AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F)) { - memcpy((float*)col, payload->Data, sizeof(float) * 3); // Preserve alpha if any //-V512 + memcpy((float*)col, payload->Data, sizeof(float) * 3); // Preserve alpha if any //-V512 //-V1086 value_changed = accepted_drag_drop = true; } if (const ImGuiPayload* payload = AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F)) @@ -5099,7 +5162,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag if (picker_active_window && g.ActiveId != 0 && g.ActiveIdWindow == picker_active_window) g.LastItemData.ID = g.ActiveId; - if (value_changed) + if (value_changed && g.LastItemData.ID != 0) // In case of ID collision, the second EndGroup() won't catch g.ActiveId MarkItemEdited(g.LastItemData.ID); return value_changed; @@ -5236,7 +5299,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl } } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); } else if (flags & ImGuiColorEditFlags_PickerHueBar) { @@ -5253,7 +5316,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl value_changed = value_changed_sv = true; } if (!(flags & ImGuiColorEditFlags_NoOptions)) - OpenPopupOnItemClick("context"); + OpenPopupOnItemClick("context", ImGuiPopupFlags_MouseButtonRight); // Hue bar logic SetCursorScreenPos(ImVec2(bar0_pos_x, picker_pos.y)); @@ -5487,7 +5550,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl if (value_changed && memcmp(backup_initial_col, col, components * sizeof(float)) == 0) value_changed = false; - if (value_changed) + if (value_changed && g.LastItemData.ID != 0) // In case of ID collision, the second EndGroup() won't catch g.ActiveId MarkItemEdited(g.LastItemData.ID); PopID(); @@ -5499,7 +5562,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl // FIXME: May want to display/ignore the alpha component in the color display? Yet show it in the tooltip. // 'desc_id' is not called 'label' because we don't display it next to the button, but only in the tooltip. // Note that 'col' may be encoded in HSV if ImGuiColorEditFlags_InputHSV is set. -bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags, ImVec2 size) +bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags flags, const ImVec2& size_arg) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) @@ -5507,11 +5570,8 @@ bool ImGui::ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFl ImGuiContext& g = *GImGui; const ImGuiID id = window->GetID(desc_id); - float default_size = GetFrameHeight(); - if (size.x == 0.0f) - size.x = default_size; - if (size.y == 0.0f) - size.y = default_size; + const float default_size = GetFrameHeight(); + const ImVec2 size(size_arg.x == 0.0f ? default_size : size_arg.x, size_arg.y == 0.0f ? default_size : size_arg.y); const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); ItemSize(bb, (size.y >= default_size) ? g.Style.FramePadding.y : 0.0f); if (!ItemAdd(bb, id)) @@ -5809,9 +5869,9 @@ bool ImGui::TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char if (window->SkipItems) return false; - ImGuiContext& g = *GImGui; - const char* label_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); - return TreeNodeBehavior(window->GetID(str_id), flags, g.TempBuffer, label_end); + const char* label, *label_end; + ImFormatStringToTempBufferV(&label, &label_end, fmt, args); + return TreeNodeBehavior(window->GetID(str_id), flags, label, label_end); } bool ImGui::TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, va_list args) @@ -5820,12 +5880,19 @@ bool ImGui::TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char if (window->SkipItems) return false; - ImGuiContext& g = *GImGui; - const char* label_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args); - return TreeNodeBehavior(window->GetID(ptr_id), flags, g.TempBuffer, label_end); + const char* label, *label_end; + ImFormatStringToTempBufferV(&label, &label_end, fmt, args); + return TreeNodeBehavior(window->GetID(ptr_id), flags, label, label_end); } -bool ImGui::TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags) +void ImGui::TreeNodeSetOpen(ImGuiID id, bool open) +{ + ImGuiContext& g = *GImGui; + ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; + storage->SetInt(id, open ? 1 : 0); +} + +bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags) { if (flags & ImGuiTreeNodeFlags_Leaf) return true; @@ -5841,7 +5908,7 @@ bool ImGui::TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags) if (g.NextItemData.OpenCond & ImGuiCond_Always) { is_open = g.NextItemData.OpenVal; - storage->SetInt(id, is_open); + TreeNodeSetOpen(id, is_open); } else { @@ -5850,7 +5917,7 @@ bool ImGui::TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags) if (stored_value == -1) { is_open = g.NextItemData.OpenVal; - storage->SetInt(id, is_open); + TreeNodeSetOpen(id, is_open); } else { @@ -5916,7 +5983,7 @@ bool ImGui::TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* l // For this purpose we essentially compare if g.NavIdIsAlive went from 0 to 1 between TreeNode() and TreePop(). // This is currently only support 32 level deep and we are fine with (1 << Depth) overflowing into a zero. const bool is_leaf = (flags & ImGuiTreeNodeFlags_Leaf) != 0; - bool is_open = TreeNodeBehaviorIsOpen(id, flags); + bool is_open = TreeNodeUpdateNextOpen(id, flags); if (is_open && !g.NavIdIsAlive && (flags & ImGuiTreeNodeFlags_NavLeftJumpsBackHere) && !(flags & ImGuiTreeNodeFlags_NoTreePushOnOpen)) window->DC.TreeJumpToParentOnPopMask |= (1 << window->DC.TreeDepth); @@ -6259,6 +6326,7 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl // We use NoHoldingActiveID on menus so user can click and _hold_ on a menu then drag to browse child entries ImGuiButtonFlags button_flags = 0; if (flags & ImGuiSelectableFlags_NoHoldingActiveID) { button_flags |= ImGuiButtonFlags_NoHoldingActiveId; } + if (flags & ImGuiSelectableFlags_NoSetKeyOwner) { button_flags |= ImGuiButtonFlags_NoSetKeyOwner; } if (flags & ImGuiSelectableFlags_SelectOnClick) { button_flags |= ImGuiButtonFlags_PressedOnClick; } if (flags & ImGuiSelectableFlags_SelectOnRelease) { button_flags |= ImGuiButtonFlags_PressedOnRelease; } if (flags & ImGuiSelectableFlags_AllowDoubleClick) { button_flags |= ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnDoubleClick; } @@ -6275,7 +6343,7 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl // - (1) it would require focus scope to be set, need exposing PushFocusScope() or equivalent (e.g. BeginSelection() calling PushFocusScope()) // - (2) usage will fail with clipped items // The multi-select API aim to fix those issues, e.g. may be replaced with a BeginSelection() API. - if ((flags & ImGuiSelectableFlags_SelectOnNav) && g.NavJustMovedToId != 0 && g.NavJustMovedToFocusScopeId == window->DC.NavFocusScopeIdCurrent) + if ((flags & ImGuiSelectableFlags_SelectOnNav) && g.NavJustMovedToId != 0 && g.NavJustMovedToFocusScopeId == g.CurrentFocusScopeId) if (g.NavJustMovedToId == id) selected = pressed = true; @@ -6284,7 +6352,7 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl { if (!g.NavDisableMouseHover && g.NavWindow == window && g.NavLayer == window->DC.NavLayerCurrent) { - SetNavID(id, window->DC.NavLayerCurrent, window->DC.NavFocusScopeIdCurrent, WindowRectAbsToRel(window, bb)); // (bb == NavRect) + SetNavID(id, window->DC.NavLayerCurrent, g.CurrentFocusScopeId, WindowRectAbsToRel(window, bb)); // (bb == NavRect) g.NavDisableHighlight = true; } } @@ -6749,6 +6817,7 @@ bool ImGui::BeginMenuBar() // We overwrite CursorMaxPos because BeginGroup sets it to CursorPos (essentially the .EmitItem hack in EndMenuBar() would need something analogous here, maybe a BeginGroupEx() with flags). window->DC.CursorPos = window->DC.CursorMaxPos = ImVec2(bar_rect.Min.x + window->DC.MenuBarOffset.x, bar_rect.Min.y + window->DC.MenuBarOffset.y); window->DC.LayoutType = ImGuiLayoutType_Horizontal; + window->DC.IsSameLine = false; window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; window->DC.MenuBarAppending = true; AlignTextToFramePadding(); @@ -6774,7 +6843,7 @@ void ImGui::EndMenuBar() // To do so we claim focus back, restore NavId and then process the movement request for yet another frame. // This involve a one-frame delay which isn't very problematic in this situation. We could remove it by scoring in advance for multiple window (probably not worth bothering) const ImGuiNavLayer layer = ImGuiNavLayer_Menu; - IM_ASSERT(window->DC.NavLayersActiveMaskNext & (1 << layer)); // Sanity check + IM_ASSERT(window->DC.NavLayersActiveMaskNext & (1 << layer)); // Sanity check (FIXME: Seems unnecessary) FocusWindow(window); SetNavID(window->NavLastIds[layer], layer, 0, window->NavRectRel[layer]); g.NavDisableHighlight = true; // Hide highlight for the current frame so we don't see the intermediary selection. @@ -6792,6 +6861,7 @@ void ImGui::EndMenuBar() g.GroupStack.back().EmitItem = false; EndGroup(); // Restore position on layer 0 window->DC.LayoutType = ImGuiLayoutType_Vertical; + window->DC.IsSameLine = false; window->DC.NavLayerCurrent = ImGuiNavLayer_Main; window->DC.MenuBarAppending = false; } @@ -6875,14 +6945,19 @@ static bool IsRootOfOpenMenuSet() if ((g.OpenPopupStack.Size <= g.BeginPopupStack.Size) || (window->Flags & ImGuiWindowFlags_ChildMenu)) return false; - // Initially we used 'OpenParentId' to differentiate multiple menu sets from each others (e.g. inside menu bar vs loose menu items) based on parent ID. + // Initially we used 'upper_popup->OpenParentId == window->IDStack.back()' to differentiate multiple menu sets from each others + // (e.g. inside menu bar vs loose menu items) based on parent ID. // This would however prevent the use of e.g. PuhsID() user code submitting menus. // Previously this worked between popup and a first child menu because the first child menu always had the _ChildWindow flag, // making hovering on parent popup possible while first child menu was focused - but this was generally a bug with other side effects. // Instead we don't treat Popup specifically (in order to consistently support menu features in them), maybe the first child menu of a Popup - // doesn't have the _ChildWindow flag, and we rely on this IsRootOfOpenMenuSet() check to allow hovering between root window/popup and first chilld menu. + // doesn't have the _ChildWindow flag, and we rely on this IsRootOfOpenMenuSet() check to allow hovering between root window/popup and first child menu. + // In the end, lack of ID check made it so we could no longer differentiate between separate menu sets. To compensate for that, we at least check parent window nav layer. + // This fixes the most common case of menu opening on hover when moving between window content and menu bar. Multiple different menu sets in same nav layer would still + // open on hover, but that should be a lesser problem, because if such menus are close in proximity in window content then it won't feel weird and if they are far apart + // it likely won't be a problem anyone runs into. const ImGuiPopupData* upper_popup = &g.OpenPopupStack[g.BeginPopupStack.Size]; - return (/*upper_popup->OpenParentId == window->IDStack.back() &&*/ upper_popup->Window && (upper_popup->Window->Flags & ImGuiWindowFlags_ChildMenu)); + return (window->DC.NavLayerCurrent == upper_popup->ParentNavLayer && upper_popup->Window && (upper_popup->Window->Flags & ImGuiWindowFlags_ChildMenu)); } bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) @@ -6897,10 +6972,10 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) bool menu_is_open = IsPopupOpen(id, ImGuiPopupFlags_None); // Sub-menus are ChildWindow so that mouse can be hovering across them (otherwise top-most popup menu would steal focus and not allow hovering on parent menu) - // The first menu in a hierarchy isn't so hovering doesn't get accross (otherwise e.g. resizing borders with ImGuiButtonFlags_FlattenChildren would react), but top-most BeginMenu() will bypass that limitation. - ImGuiWindowFlags flags = ImGuiWindowFlags_ChildMenu | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoNavFocus; + // The first menu in a hierarchy isn't so hovering doesn't get across (otherwise e.g. resizing borders with ImGuiButtonFlags_FlattenChildren would react), but top-most BeginMenu() will bypass that limitation. + ImGuiWindowFlags window_flags = ImGuiWindowFlags_ChildMenu | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoNavFocus; if (window->Flags & ImGuiWindowFlags_ChildMenu) - flags |= ImGuiWindowFlags_ChildWindow; + window_flags |= ImGuiWindowFlags_ChildWindow; // If a menu with same the ID was already submitted, we will append to it, matching the behavior of Begin(). // We are relying on a O(N) search - so O(N log N) over the frame - which seems like the most efficient for the expected small amount of BeginMenu() calls per frame. @@ -6908,7 +6983,7 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) if (g.MenusIdSubmittedThisFrame.contains(id)) { if (menu_is_open) - menu_is_open = BeginPopupEx(id, flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + menu_is_open = BeginPopupEx(id, window_flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) else g.NextWindowData.ClearFlags(); // we behave like Begin() and need to consume those values return menu_is_open; @@ -6920,10 +6995,10 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) ImVec2 label_size = CalcTextSize(label, NULL, true); // Odd hack to allow hovering across menus of a same menu-set (otherwise we wouldn't be able to hover parent without always being a Child window) + // This is only done for items for the menu set and not the full parent window. const bool menuset_is_open = IsRootOfOpenMenuSet(); - ImGuiWindow* backed_nav_window = g.NavWindow; if (menuset_is_open) - g.NavWindow = window; + PushItemFlag(ImGuiItemFlags_NoWindowHoverableCheck, true); // The reference position stored in popup_pos will be used by Begin() to find a suitable position for the child menu, // However the final position is going to be different! It is chosen by FindBestWindowPosForPopup(). @@ -6934,6 +7009,9 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) BeginDisabled(); const ImGuiMenuColumns* offsets = &window->DC.MenuColumns; bool pressed; + + // We use ImGuiSelectableFlags_NoSetKeyOwner to allow down on one menu item, move, up on another. + const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_NoSetKeyOwner | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_DontClosePopups; if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) { // Menu inside an horizontal menu bar @@ -6944,7 +7022,7 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(style.ItemSpacing.x * 2.0f, style.ItemSpacing.y)); float w = label_size.x; ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); - pressed = Selectable("", menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_DontClosePopups, ImVec2(w, 0.0f)); + pressed = Selectable("", menu_is_open, selectable_flags, ImVec2(w, 0.0f)); RenderText(text_pos, label); PopStyleVar(); window->DC.CursorPos.x += IM_FLOOR(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar(). @@ -6960,7 +7038,7 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) float min_w = window->DC.MenuColumns.DeclColumns(icon_w, label_size.x, 0.0f, checkmark_w); // Feedback to next frame float extra_w = ImMax(0.0f, GetContentRegionAvail().x - min_w); ImVec2 text_pos(window->DC.CursorPos.x + offsets->OffsetLabel, window->DC.CursorPos.y + window->DC.CurrLineTextBaseOffset); - pressed = Selectable("", menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_SelectOnClick | ImGuiSelectableFlags_DontClosePopups | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, 0.0f)); + pressed = Selectable("", menu_is_open, selectable_flags | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, 0.0f)); RenderText(text_pos, label); if (icon_w > 0.0f) RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); @@ -6969,9 +7047,9 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) if (!enabled) EndDisabled(); - const bool hovered = (g.HoveredId == id) && enabled; + const bool hovered = (g.HoveredId == id) && enabled && !g.NavDisableMouseHover; if (menuset_is_open) - g.NavWindow = backed_nav_window; + PopItemFlag(); bool want_open = false; bool want_close = false; @@ -6979,29 +7057,37 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) { // Close menu when not hovering it anymore unless we are moving roughly in the direction of the menu // Implement http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown to avoid using timers, so menus feels more reactive. - bool moving_toward_other_child_menu = false; - ImGuiWindow* child_menu_window = (g.BeginPopupStack.Size < g.OpenPopupStack.Size && g.OpenPopupStack[g.BeginPopupStack.Size].SourceWindow == window) ? g.OpenPopupStack[g.BeginPopupStack.Size].Window : NULL; - if (g.HoveredWindow == window && child_menu_window != NULL && !(window->Flags & ImGuiWindowFlags_MenuBar)) + bool moving_toward_child_menu = false; + ImGuiPopupData* child_popup = (g.BeginPopupStack.Size < g.OpenPopupStack.Size) ? &g.OpenPopupStack[g.BeginPopupStack.Size] : NULL; // Popup candidate (testing below) + ImGuiWindow* child_menu_window = (child_popup && child_popup->Window && child_popup->Window->ParentWindow == window) ? child_popup->Window : NULL; + if (g.HoveredWindow == window && child_menu_window != NULL) { float ref_unit = g.FontSize; // FIXME-DPI + float child_dir = (window->Pos.x < child_menu_window->Pos.x) ? 1.0f : -1.0f; ImRect next_window_rect = child_menu_window->Rect(); ImVec2 ta = (g.IO.MousePos - g.IO.MouseDelta); - ImVec2 tb = (window->Pos.x < child_menu_window->Pos.x) ? next_window_rect.GetTL() : next_window_rect.GetTR(); - ImVec2 tc = (window->Pos.x < child_menu_window->Pos.x) ? next_window_rect.GetBL() : next_window_rect.GetBR(); + ImVec2 tb = (child_dir > 0.0f) ? next_window_rect.GetTL() : next_window_rect.GetTR(); + ImVec2 tc = (child_dir > 0.0f) ? next_window_rect.GetBL() : next_window_rect.GetBR(); float extra = ImClamp(ImFabs(ta.x - tb.x) * 0.30f, ref_unit * 0.5f, ref_unit * 2.5f); // add a bit of extra slack. - ta.x += (window->Pos.x < child_menu_window->Pos.x) ? -0.5f : +0.5f; // to avoid numerical issues (FIXME: ??) - tb.y = ta.y + ImMax((tb.y - extra) - ta.y, -ref_unit * 8.0f); // triangle is maximum 200 high to limit the slope and the bias toward large sub-menus // FIXME: Multiply by fb_scale? + ta.x += child_dir * -0.5f; + tb.x += child_dir * ref_unit; + tc.x += child_dir * ref_unit; + tb.y = ta.y + ImMax((tb.y - extra) - ta.y, -ref_unit * 8.0f); // triangle has maximum height to limit the slope and the bias toward large sub-menus tc.y = ta.y + ImMin((tc.y + extra) - ta.y, +ref_unit * 8.0f); - moving_toward_other_child_menu = ImTriangleContainsPoint(ta, tb, tc, g.IO.MousePos); - //GetForegroundDrawList()->AddTriangleFilled(ta, tb, tc, moving_toward_other_child_menu ? IM_COL32(0,128,0,128) : IM_COL32(128,0,0,128)); // [DEBUG] + moving_toward_child_menu = ImTriangleContainsPoint(ta, tb, tc, g.IO.MousePos); + //GetForegroundDrawList()->AddTriangleFilled(ta, tb, tc, moving_toward_child_menu ? IM_COL32(0,128,0,128) : IM_COL32(128,0,0,128)); // [DEBUG] } - if (menu_is_open && !hovered && g.HoveredWindow == window && g.HoveredIdPreviousFrame != 0 && g.HoveredIdPreviousFrame != id && !moving_toward_other_child_menu) + + // The 'HovereWindow == window' check creates an inconsistency (e.g. moving away from menu slowly tends to hit same window, whereas moving away fast does not) + // But we also need to not close the top-menu menu when moving over void. Perhaps we should extend the triangle check to a larger polygon. + // (Remember to test this on BeginPopup("A")->BeginMenu("B") sequence which behaves slightly differently as B isn't a Child of A and hovering isn't shared.) + if (menu_is_open && !hovered && g.HoveredWindow == window && !moving_toward_child_menu && !g.NavDisableMouseHover) want_close = true; // Open if (!menu_is_open && pressed) // Click/activate to open want_open = true; - else if (!menu_is_open && hovered && !moving_toward_other_child_menu) // Hover to open + else if (!menu_is_open && hovered && !moving_toward_child_menu) // Hover to open want_open = true; if (g.NavId == id && g.NavMoveDir == ImGuiDir_Right) // Nav-Right to open { @@ -7036,23 +7122,32 @@ bool ImGui::BeginMenuEx(const char* label, const char* icon, bool enabled) IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Openable | (menu_is_open ? ImGuiItemStatusFlags_Opened : 0)); PopID(); - if (!menu_is_open && want_open && g.OpenPopupStack.Size > g.BeginPopupStack.Size) + if (want_open && !menu_is_open && g.OpenPopupStack.Size > g.BeginPopupStack.Size) { - // Don't recycle same menu level in the same frame, first close the other menu and yield for a frame. + // Don't reopen/recycle same menu level in the same frame, first close the other menu and yield for a frame. OpenPopup(label); - return false; } - - menu_is_open |= want_open; - if (want_open) + else if (want_open) + { + menu_is_open = true; OpenPopup(label); + } if (menu_is_open) { - SetNextWindowPos(popup_pos, ImGuiCond_Always); // Note: this is super misleading! The value will serve as reference for FindBestWindowPosForPopup(), not actual pos. + ImGuiLastItemData last_item_in_parent = g.LastItemData; + SetNextWindowPos(popup_pos, ImGuiCond_Always); // Note: misleading: the value will serve as reference for FindBestWindowPosForPopup(), not actual pos. PushStyleVar(ImGuiStyleVar_ChildRounding, style.PopupRounding); // First level will use _PopupRounding, subsequent will use _ChildRounding - menu_is_open = BeginPopupEx(id, flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) + menu_is_open = BeginPopupEx(id, window_flags); // menu_is_open can be 'false' when the popup is completely clipped (e.g. zero size display) PopStyleVar(); + if (menu_is_open) + { + // Restore LastItemData so IsItemXXXX functions can work after BeginMenu()/EndMenu() + // (This fixes using IsItemClicked() and IsItemHovered(), but IsItemHovered() also relies on its support for ImGuiItemFlags_NoWindowHoverableCheck) + g.LastItemData = last_item_in_parent; + if (g.HoveredWindow == window) + g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_HoveredWindow; + } } else { @@ -7069,17 +7164,18 @@ bool ImGui::BeginMenu(const char* label, bool enabled) void ImGui::EndMenu() { - // Nav: When a left move request _within our child menu_ failed, close ourselves (the _parent_ menu). - // A menu doesn't close itself because EndMenuBar() wants the catch the last Left<>Right inputs. - // However, it means that with the current code, a BeginMenu() from outside another menu or a menu-bar won't be closable with the Left direction. + // Nav: When a left move request our menu failed, close ourselves. ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; - if (g.NavMoveDir == ImGuiDir_Left && NavMoveRequestButNoResultYet() && window->DC.LayoutType == ImGuiLayoutType_Vertical) - if (g.NavWindow && (g.NavWindow->RootWindowForNav->Flags & ImGuiWindowFlags_Popup) && g.NavWindow->RootWindowForNav->ParentWindow == window) - { - ClosePopupToLevel(g.BeginPopupStack.Size, true); - NavMoveRequestCancel(); - } + IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginMenu()/EndMenu() calls + ImGuiWindow* parent_window = window->ParentWindow; // Should always be != NULL is we passed assert. + if (window->BeginCount == window->BeginCountPreviousFrame) + if (g.NavMoveDir == ImGuiDir_Left && NavMoveRequestButNoResultYet()) + if (g.NavWindow && (g.NavWindow->RootWindowForNav == window) && parent_window->DC.LayoutType == ImGuiLayoutType_Vertical) + { + ClosePopupToLevel(g.BeginPopupStack.Size - 1, true); + NavMoveRequestCancel(); + } EndPopup(); } @@ -7095,10 +7191,10 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut ImVec2 pos = window->DC.CursorPos; ImVec2 label_size = CalcTextSize(label, NULL, true); + // See BeginMenuEx() for comments about this. const bool menuset_is_open = IsRootOfOpenMenuSet(); - ImGuiWindow* backed_nav_window = g.NavWindow; if (menuset_is_open) - g.NavWindow = window; + PushItemFlag(ImGuiItemFlags_NoWindowHoverableCheck, true); // We've been using the equivalent of ImGuiSelectableFlags_SetNavIdOnHover on all Selectable() since early Nav system days (commit 43ee5d73), // but I am unsure whether this should be kept at all. For now moved it to be an opt-in feature used by menus only. @@ -7107,7 +7203,8 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut if (!enabled) BeginDisabled(); - const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_SelectOnRelease | ImGuiSelectableFlags_SetNavIdOnHover; + // We use ImGuiSelectableFlags_NoSetKeyOwner to allow down on one menu item, move, up on another. + const ImGuiSelectableFlags selectable_flags = ImGuiSelectableFlags_SelectOnRelease | ImGuiSelectableFlags_NoSetKeyOwner | ImGuiSelectableFlags_SetNavIdOnHover; const ImGuiMenuColumns* offsets = &window->DC.MenuColumns; if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) { @@ -7119,7 +7216,8 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(style.ItemSpacing.x * 2.0f, style.ItemSpacing.y)); pressed = Selectable("", selected, selectable_flags, ImVec2(w, 0.0f)); PopStyleVar(); - RenderText(text_pos, label); + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) + RenderText(text_pos, label); window->DC.CursorPos.x += IM_FLOOR(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar(). } else @@ -7133,24 +7231,27 @@ bool ImGui::MenuItemEx(const char* label, const char* icon, const char* shortcut float min_w = window->DC.MenuColumns.DeclColumns(icon_w, label_size.x, shortcut_w, checkmark_w); // Feedback for next frame float stretch_w = ImMax(0.0f, GetContentRegionAvail().x - min_w); pressed = Selectable("", false, selectable_flags | ImGuiSelectableFlags_SpanAvailWidth, ImVec2(min_w, 0.0f)); - RenderText(pos + ImVec2(offsets->OffsetLabel, 0.0f), label); - if (icon_w > 0.0f) - RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); - if (shortcut_w > 0.0f) + if (g.LastItemData.StatusFlags & ImGuiItemStatusFlags_Visible) { - PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); - RenderText(pos + ImVec2(offsets->OffsetShortcut + stretch_w, 0.0f), shortcut, NULL, false); - PopStyleColor(); + RenderText(pos + ImVec2(offsets->OffsetLabel, 0.0f), label); + if (icon_w > 0.0f) + RenderText(pos + ImVec2(offsets->OffsetIcon, 0.0f), icon); + if (shortcut_w > 0.0f) + { + PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); + RenderText(pos + ImVec2(offsets->OffsetShortcut + stretch_w, 0.0f), shortcut, NULL, false); + PopStyleColor(); + } + if (selected) + RenderCheckMark(window->DrawList, pos + ImVec2(offsets->OffsetMark + stretch_w + g.FontSize * 0.40f, g.FontSize * 0.134f * 0.5f), GetColorU32(ImGuiCol_Text), g.FontSize * 0.866f); } - if (selected) - RenderCheckMark(window->DrawList, pos + ImVec2(offsets->OffsetMark + stretch_w + g.FontSize * 0.40f, g.FontSize * 0.134f * 0.5f), GetColorU32(ImGuiCol_Text), g.FontSize * 0.866f); } IMGUI_TEST_ENGINE_ITEM_INFO(g.LastItemData.ID, label, g.LastItemData.StatusFlags | ImGuiItemStatusFlags_Checkable | (selected ? ImGuiItemStatusFlags_Checked : 0)); if (!enabled) EndDisabled(); PopID(); if (menuset_is_open) - g.NavWindow = backed_nav_window; + PopItemFlag(); return pressed; } @@ -7468,8 +7569,8 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) // Additionally, when using TabBarAddTab() to manipulate tab bar order we occasionally insert new tabs that don't have a width yet, // and we cannot wait for the next BeginTabItem() call. We cannot compute this width within TabBarAddTab() because font size depends on the active window. const char* tab_name = tab_bar->GetTabName(tab); - const bool has_close_button = (tab->Flags & ImGuiTabItemFlags_NoCloseButton) ? false : true; - tab->ContentWidth = TabItemCalcSize(tab_name, has_close_button).x; + const bool has_close_button_or_unsaved_marker = (tab->Flags & ImGuiTabItemFlags_NoCloseButton) == 0 || (tab->Flags & ImGuiTabItemFlags_UnsavedDocument); + tab->ContentWidth = (tab->RequestedWidth >= 0.0f) ? tab->RequestedWidth : TabItemCalcSize(tab_name, has_close_button_or_unsaved_marker).x; int section_n = TabItemGetSectionIdx(tab); ImGuiTabBarSection* section = §ions[section_n]; @@ -7478,12 +7579,10 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) // Store data so we can build an array sorted by width if we need to shrink tabs down IM_MSVC_WARNING_SUPPRESS(6385); - int shrink_buffer_index = shrink_buffer_indexes[section_n]++; - g.ShrinkWidthBuffer[shrink_buffer_index].Index = tab_n; - g.ShrinkWidthBuffer[shrink_buffer_index].Width = tab->ContentWidth; - - IM_ASSERT(tab->ContentWidth > 0.0f); - tab->Width = tab->ContentWidth; + ImGuiShrinkWidthItem* shrink_width_item = &g.ShrinkWidthBuffer[shrink_buffer_indexes[section_n]++]; + shrink_width_item->Index = tab_n; + shrink_width_item->Width = shrink_width_item->InitialWidth = tab->ContentWidth; + tab->Width = ImMax(tab->ContentWidth, 1.0f); } // Compute total ideal width (used for e.g. auto-resizing a window) @@ -7513,7 +7612,7 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) width_excess = (section_0_w + section_2_w) - tab_bar->BarRect.GetWidth(); // Excess used to shrink leading/trailing section // With ImGuiTabBarFlags_FittingPolicyScroll policy, we will only shrink leading/trailing if the central section is not visible anymore - if (width_excess > 0.0f && ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyResizeDown) || !central_section_is_visible)) + if (width_excess >= 1.0f && ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyResizeDown) || !central_section_is_visible)) { int shrink_data_count = (central_section_is_visible ? sections[1].TabCount : sections[0].TabCount + sections[2].TabCount); int shrink_data_offset = (central_section_is_visible ? sections[0].TabCount + sections[2].TabCount : 0); @@ -7527,6 +7626,7 @@ static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar) if (shrinked_width < 0.0f) continue; + shrinked_width = ImMax(1.0f, shrinked_width); int section_n = TabItemGetSectionIdx(tab); sections[section_n].Width -= (tab->Width - shrinked_width); tab->Width = shrinked_width; @@ -7640,7 +7740,9 @@ void ImGui::TabBarRemoveTab(ImGuiTabBar* tab_bar, ImGuiID tab_id) // Called on manual closure attempt void ImGui::TabBarCloseTab(ImGuiTabBar* tab_bar, ImGuiTabItem* tab) { - IM_ASSERT(!(tab->Flags & ImGuiTabItemFlags_Button)); + if (tab->Flags & ImGuiTabItemFlags_Button) + return; // A button appended with TabItemButton(). + if (!(tab->Flags & ImGuiTabItemFlags_UnsavedDocument)) { // This will remove a frame of lag for selecting another tab on closure. @@ -7950,10 +8052,13 @@ bool ImGui::TabItemButton(const char* label, ImGuiTabItemFlags flags) bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags) { // Layout whole tab bar if not already done - if (tab_bar->WantLayout) - TabBarLayout(tab_bar); - ImGuiContext& g = *GImGui; + if (tab_bar->WantLayout) + { + ImGuiNextItemData backup_next_item_data = g.NextItemData; + TabBarLayout(tab_bar); + g.NextItemData = backup_next_item_data; + } ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) return false; @@ -7966,7 +8071,7 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, IMGUI_TEST_ENGINE_ITEM_INFO(id, label, g.LastItemData.StatusFlags); if (p_open && !*p_open) { - ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav | ImGuiItemFlags_NoNavDefaultFocus); + ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav); return false; } @@ -7979,9 +8084,6 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, else if (p_open == NULL) flags |= ImGuiTabItemFlags_NoCloseButton; - // Calculate tab contents size - ImVec2 size = TabItemCalcSize(label, p_open != NULL); - // Acquire tab data ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, id); bool tab_is_new = false; @@ -7990,17 +8092,24 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, tab_bar->Tabs.push_back(ImGuiTabItem()); tab = &tab_bar->Tabs.back(); tab->ID = id; - tab->Width = size.x; - tab_bar->TabsAddedNew = true; - tab_is_new = true; + tab_bar->TabsAddedNew = tab_is_new = true; } tab_bar->LastTabItemIdx = (ImS16)tab_bar->Tabs.index_from_ptr(tab); + + // Calculate tab contents size + ImVec2 size = TabItemCalcSize(label, (p_open != NULL) || (flags & ImGuiTabItemFlags_UnsavedDocument)); + tab->RequestedWidth = -1.0f; + if (g.NextItemData.Flags & ImGuiNextItemDataFlags_HasWidth) + size.x = tab->RequestedWidth = g.NextItemData.Width; + if (tab_is_new) + tab->Width = ImMax(1.0f, size.x); tab->ContentWidth = size.x; tab->BeginOrder = tab_bar->TabsActiveCount++; const bool tab_bar_appearing = (tab_bar->PrevFrameVisible + 1 < g.FrameCount); const bool tab_bar_focused = (tab_bar->Flags & ImGuiTabBarFlags_IsFocused) != 0; const bool tab_appearing = (tab->LastFrameVisible + 1 < g.FrameCount); + const bool tab_just_unsaved = (flags & ImGuiTabItemFlags_UnsavedDocument) && !(tab->Flags & ImGuiTabItemFlags_UnsavedDocument); const bool is_tab_button = (flags & ImGuiTabItemFlags_Button) != 0; tab->LastFrameVisible = g.FrameCount; tab->Flags = flags; @@ -8010,13 +8119,14 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, tab_bar->TabsNames.append(label, label + strlen(label) + 1); // Update selected tab - if (tab_appearing && (tab_bar->Flags & ImGuiTabBarFlags_AutoSelectNewTabs) && tab_bar->NextSelectedTabId == 0) - if (!tab_bar_appearing || tab_bar->SelectedTabId == 0) - if (!is_tab_button) + if (!is_tab_button) + { + if (tab_appearing && (tab_bar->Flags & ImGuiTabBarFlags_AutoSelectNewTabs) && tab_bar->NextSelectedTabId == 0) + if (!tab_bar_appearing || tab_bar->SelectedTabId == 0) tab_bar->NextSelectedTabId = id; // New tabs gets activated - if ((flags & ImGuiTabItemFlags_SetSelected) && (tab_bar->SelectedTabId != id)) // SetSelected can only be passed on explicit tab bar - if (!is_tab_button) + if ((flags & ImGuiTabItemFlags_SetSelected) && (tab_bar->SelectedTabId != id)) // _SetSelected can only be passed on explicit tab bar tab_bar->NextSelectedTabId = id; + } // Lock visibility // (Note: tab_contents_visible != tab_selected... because CTRL+TAB operations may preview some tabs without selecting them!) @@ -8033,7 +8143,7 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, // and then gets submitted again, the tabs will have 'tab_appearing=true' but 'tab_is_new=false'. if (tab_appearing && (!tab_bar_appearing || tab_is_new)) { - ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav | ImGuiItemFlags_NoNavDefaultFocus); + ItemAdd(ImRect(), id, NULL, ImGuiItemFlags_NoNav); if (is_tab_button) return false; return tab_contents_visible; @@ -8131,7 +8241,7 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, const ImGuiID close_button_id = p_open ? GetIDWithSeed("#CLOSE", NULL, id) : 0; bool just_closed; bool text_clipped; - TabItemLabelAndCloseButton(display_draw_list, bb, flags, tab_bar->FramePadding, label, id, close_button_id, tab_contents_visible, &just_closed, &text_clipped); + TabItemLabelAndCloseButton(display_draw_list, bb, tab_just_unsaved ? (flags & ~ImGuiTabItemFlags_UnsavedDocument) : flags, tab_bar->FramePadding, label, id, close_button_id, tab_contents_visible, &just_closed, &text_clipped); if (just_closed && p_open != NULL) { *p_open = false; @@ -8148,9 +8258,10 @@ bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, // (We test IsItemHovered() to discard e.g. when another item is active or drag and drop over the tab bar, which g.HoveredId ignores) // FIXME: This is a mess. // FIXME: We may want disabled tab to still display the tooltip? - if (text_clipped && g.HoveredId == id && !held && g.HoveredIdNotActiveTimer > g.TooltipSlowDelay && IsItemHovered()) + if (text_clipped && g.HoveredId == id && !held) if (!(tab_bar->Flags & ImGuiTabBarFlags_NoTooltip) && !(tab->Flags & ImGuiTabItemFlags_NoTooltip)) - SetTooltip("%.*s", (int)(FindRenderedTextEnd(label) - label), label); + if (IsItemHovered(ImGuiHoveredFlags_DelayNormal)) + SetTooltip("%.*s", (int)(FindRenderedTextEnd(label) - label), label); IM_ASSERT(!is_tab_button || !(tab_bar->SelectedTabId == tab->ID && is_tab_button)); // TabItemButton should not be selected if (is_tab_button) @@ -8174,12 +8285,12 @@ void ImGui::SetTabItemClosed(const char* label) } } -ImVec2 ImGui::TabItemCalcSize(const char* label, bool has_close_button) +ImVec2 ImGui::TabItemCalcSize(const char* label, bool has_close_button_or_unsaved_marker) { ImGuiContext& g = *GImGui; ImVec2 label_size = CalcTextSize(label, NULL, true); ImVec2 size = ImVec2(label_size.x + g.Style.FramePadding.x, label_size.y + g.Style.FramePadding.y * 2.0f); - if (has_close_button) + if (has_close_button_or_unsaved_marker) size.x += g.Style.FramePadding.x + (g.Style.ItemInnerSpacing.x + g.FontSize); // We use Y intentionally to fit the close button circle. else size.x += g.Style.FramePadding.x + 1.0f; diff --git a/imgui-sys/third-party/imgui-master/imgui/imstb_rectpack.h b/imgui-sys/third-party/imgui-master/imgui/imstb_rectpack.h index 3958952..f6917e7 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imstb_rectpack.h +++ b/imgui-sys/third-party/imgui-master/imgui/imstb_rectpack.h @@ -1,15 +1,19 @@ // [DEAR IMGUI] -// This is a slightly modified version of stb_rect_pack.h 1.00. -// Those changes would need to be pushed into nothings/stb: -// - Added STBRP__CDECL +// This is a slightly modified version of stb_rect_pack.h 1.01. // Grep for [DEAR IMGUI] to find the changes. - -// stb_rect_pack.h - v1.00 - public domain - rectangle packing +// +// stb_rect_pack.h - v1.01 - public domain - rectangle packing // Sean Barrett 2014 // // Useful for e.g. packing rectangular textures into an atlas. // Does not do rotation. // +// Before #including, +// +// #define STB_RECT_PACK_IMPLEMENTATION +// +// in the file that you want to have the implementation. +// // Not necessarily the awesomest packing method, but better than // the totally naive one in stb_truetype (which is primarily what // this is meant to replace). @@ -41,6 +45,7 @@ // // Version history: // +// 1.01 (2021-07-11) always use large rect mode, expose STBRP__MAXVAL in public section // 1.00 (2019-02-25) avoid small space waste; gracefully fail too-wide rectangles // 0.99 (2019-02-07) warning fixes // 0.11 (2017-03-03) return packing success/fail result @@ -81,11 +86,10 @@ typedef struct stbrp_context stbrp_context; typedef struct stbrp_node stbrp_node; typedef struct stbrp_rect stbrp_rect; -#ifdef STBRP_LARGE_RECTS typedef int stbrp_coord; -#else -typedef unsigned short stbrp_coord; -#endif + +#define STBRP__MAXVAL 0x7fffffff +// Mostly for internal use, but this is the maximum supported coordinate value. STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects); // Assign packed locations to rectangles. The rectangles are of type @@ -213,10 +217,9 @@ struct stbrp_context #define STBRP_ASSERT assert #endif -// [DEAR IMGUI] Added STBRP__CDECL #ifdef _MSC_VER #define STBRP__NOTUSED(v) (void)(v) -#define STBRP__CDECL __cdecl +#define STBRP__CDECL __cdecl #else #define STBRP__NOTUSED(v) (void)sizeof(v) #define STBRP__CDECL @@ -262,9 +265,6 @@ STBRP_DEF void stbrp_setup_allow_out_of_mem(stbrp_context *context, int allow_ou STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes) { int i; -#ifndef STBRP_LARGE_RECTS - STBRP_ASSERT(width <= 0xffff && height <= 0xffff); -#endif for (i=0; i < num_nodes-1; ++i) nodes[i].next = &nodes[i+1]; @@ -283,11 +283,7 @@ STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, context->extra[0].y = 0; context->extra[0].next = &context->extra[1]; context->extra[1].x = (stbrp_coord) width; -#ifdef STBRP_LARGE_RECTS context->extra[1].y = (1<<30); -#else - context->extra[1].y = 65535; -#endif context->extra[1].next = NULL; } @@ -433,7 +429,7 @@ static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context *c, int widt if (y <= best_y) { if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { best_x = xpos; - STBRP_ASSERT(y <= best_y); + //STBRP_ASSERT(y <= best_y); [DEAR IMGUI] best_y = y; best_waste = waste; best = prev; @@ -529,7 +525,6 @@ static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, i return res; } -// [DEAR IMGUI] Added STBRP__CDECL static int STBRP__CDECL rect_height_compare(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; @@ -541,7 +536,6 @@ static int STBRP__CDECL rect_height_compare(const void *a, const void *b) return (p->w > q->w) ? -1 : (p->w < q->w); } -// [DEAR IMGUI] Added STBRP__CDECL static int STBRP__CDECL rect_original_order(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; @@ -549,12 +543,6 @@ static int STBRP__CDECL rect_original_order(const void *a, const void *b) return (p->was_packed < q->was_packed) ? -1 : (p->was_packed > q->was_packed); } -#ifdef STBRP_LARGE_RECTS -#define STBRP__MAXVAL 0xffffffff -#else -#define STBRP__MAXVAL 0xffff -#endif - STBRP_DEF int stbrp_pack_rects(stbrp_context *context, stbrp_rect *rects, int num_rects) { int i, all_rects_packed = 1; diff --git a/imgui-sys/third-party/imgui-master/imgui/imstb_textedit.h b/imgui-sys/third-party/imgui-master/imgui/imstb_textedit.h index 2c635b2..75a159d 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imstb_textedit.h +++ b/imgui-sys/third-party/imgui-master/imgui/imstb_textedit.h @@ -1,10 +1,10 @@ // [DEAR IMGUI] -// This is a slightly modified version of stb_textedit.h 1.13. +// This is a slightly modified version of stb_textedit.h 1.14. // Those changes would need to be pushed into nothings/stb: // - Fix in stb_textedit_discard_redo (see https://github.com/nothings/stb/issues/321) // Grep for [DEAR IMGUI] to find the changes. -// stb_textedit.h - v1.13 - public domain - Sean Barrett +// stb_textedit.h - v1.14 - public domain - Sean Barrett // Development of this library was sponsored by RAD Game Tools // // This C header file implements the guts of a multi-line text-editing @@ -35,6 +35,7 @@ // // VERSION HISTORY // +// 1.14 (2021-07-11) page up/down, various fixes // 1.13 (2019-02-07) fix bug in undo size management // 1.12 (2018-01-29) user can change STB_TEXTEDIT_KEYTYPE, fix redo to avoid crash // 1.11 (2017-03-03) fix HOME on last line, dragging off single-line textfield @@ -58,6 +59,7 @@ // Ulf Winklemann: move-by-word in 1.1 // Fabian Giesen: secondary key inputs in 1.5 // Martins Mozeiko: STB_TEXTEDIT_memmove in 1.6 +// Louis Schnellbach: page up/down in 1.14 // // Bugfixes: // Scott Graham @@ -93,8 +95,8 @@ // moderate sizes. The undo system does no memory allocations, so // it grows STB_TexteditState by the worst-case storage which is (in bytes): // -// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATE_COUNT -// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHAR_COUNT +// [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATECOUNT +// + sizeof(STB_TEXTEDIT_CHARTYPE) * STB_TEXTEDIT_UNDOCHARCOUNT // // // Implementation mode: @@ -716,10 +718,6 @@ static int stb_textedit_paste_internal(STB_TEXTEDIT_STRING *str, STB_TexteditSta state->has_preferred_x = 0; return 1; } - // [DEAR IMGUI] - //// remove the undo since we didn't actually insert the characters - //if (state->undostate.undo_point) - // --state->undostate.undo_point; // note: paste failure will leave deleted selection, may be restored with an undo (see https://github.com/nothings/stb/issues/734 for details) return 0; } diff --git a/imgui-sys/third-party/imgui-master/imgui/imstb_truetype.h b/imgui-sys/third-party/imgui-master/imgui/imstb_truetype.h index 48c2026..643d378 100644 --- a/imgui-sys/third-party/imgui-master/imgui/imstb_truetype.h +++ b/imgui-sys/third-party/imgui-master/imgui/imstb_truetype.h @@ -1,10 +1,19 @@ // [DEAR IMGUI] -// This is a slightly modified version of stb_truetype.h 1.20. +// This is a slightly modified version of stb_truetype.h 1.26. // Mostly fixing for compiler and static analyzer warnings. // Grep for [DEAR IMGUI] to find the changes. -// stb_truetype.h - v1.20 - public domain -// authored from 2009-2016 by Sean Barrett / RAD Game Tools +// stb_truetype.h - v1.26 - public domain +// authored from 2009-2021 by Sean Barrett / RAD Game Tools +// +// ======================================================================= +// +// NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES +// +// This library does no range checking of the offsets found in the file, +// meaning an attacker can use it to read arbitrary memory. +// +// ======================================================================= // // This library processes TrueType files: // parse files @@ -37,11 +46,11 @@ // Daniel Ribeiro Maciel // // Bug/warning reports/fixes: -// "Zer" on mollyrocket Fabian "ryg" Giesen -// Cass Everitt Martins Mozeiko -// stoiko (Haemimont Games) Cap Petschulat -// Brian Hook Omar Cornut -// Walter van Niftrik github:aloucks +// "Zer" on mollyrocket Fabian "ryg" Giesen github:NiLuJe +// Cass Everitt Martins Mozeiko github:aloucks +// stoiko (Haemimont Games) Cap Petschulat github:oyvindjam +// Brian Hook Omar Cornut github:vassvik +// Walter van Niftrik Ryan Griege // David Gow Peter LaValle // David Given Sergey Popov // Ivan-Assen Ivanov Giumo X. Clanjor @@ -49,11 +58,17 @@ // Johan Duparc Thomas Fields // Hou Qiming Derek Vinyard // Rob Loach Cort Stratton -// Kenney Phillis Jr. github:oyvindjam -// Brian Costabile github:vassvik +// Kenney Phillis Jr. Brian Costabile +// Ken Voskuil (kaesve) // // VERSION HISTORY // +// 1.26 (2021-08-28) fix broken rasterizer +// 1.25 (2021-07-11) many fixes +// 1.24 (2020-02-05) fix warning +// 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) +// 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined +// 1.21 (2019-02-25) fix warning // 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() // 1.19 (2018-02-11) GPOS kerning, STBTT_fmod // 1.18 (2018-01-29) add missing function @@ -248,19 +263,6 @@ // recommend it. // // -// SOURCE STATISTICS (based on v0.6c, 2050 LOC) -// -// Documentation & header file 520 LOC \___ 660 LOC documentation -// Sample code 140 LOC / -// Truetype parsing 620 LOC ---- 620 LOC TrueType -// Software rasterization 240 LOC \. -// Curve tessellation 120 LOC \__ 550 LOC Bitmap creation -// Bitmap management 100 LOC / -// Baked bitmap interface 70 LOC / -// Font name matching & access 150 LOC ---- 150 -// C runtime library abstraction 60 LOC ---- 60 -// -// // PERFORMANCE MEASUREMENTS FOR 1.06: // // 32-bit 64-bit @@ -275,8 +277,8 @@ //// SAMPLE PROGRAMS //// // -// Incomplete text-in-3d-api example, which draws quads properly aligned to be lossless -// +// Incomplete text-in-3d-api example, which draws quads properly aligned to be lossless. +// See "tests/truetype_demo_win32.c" for a complete version. #if 0 #define STB_TRUETYPE_IMPLEMENTATION // force following include to generate implementation #include "stb_truetype.h" @@ -302,6 +304,8 @@ void my_stbtt_initfont(void) void my_stbtt_print(float x, float y, char *text) { // assume orthographic projection with units = screen pixels, origin at top left + glEnable(GL_BLEND); + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, ftex); glBegin(GL_QUADS); @@ -309,10 +313,10 @@ void my_stbtt_print(float x, float y, char *text) if (*text >= 32 && *text < 128) { stbtt_aligned_quad q; stbtt_GetBakedQuad(cdata, 512,512, *text-32, &x,&y,&q,1);//1=opengl & d3d10+,0=d3d9 - glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y0); - glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y0); - glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y1); - glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y1); + glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y0); + glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y0); + glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y1); + glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y1); } ++text; } @@ -719,7 +723,7 @@ struct stbtt_fontinfo int numGlyphs; // number of glyphs, needed for range checking - int loca,head,glyf,hhea,hmtx,kern,gpos; // table locations as offset from start of .ttf + int loca,head,glyf,hhea,hmtx,kern,gpos,svg; // table locations as offset from start of .ttf int index_map; // a cmap mapping for our chosen character encoding int indexToLocFormat; // format needed to map from glyph index to glyph @@ -802,6 +806,18 @@ STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int glyph1, STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); // as above, but takes one or more glyph indices for greater efficiency +typedef struct stbtt_kerningentry +{ + int glyph1; // use stbtt_FindGlyphIndex + int glyph2; + int advance; +} stbtt_kerningentry; + +STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info); +STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length); +// Retrieves a complete list of all of the kerning pairs provided by the font +// stbtt_GetKerningTable never writes more than table_length entries and returns how many entries it did write. +// The table will be sorted by (a.glyph1 == b.glyph1)?(a.glyph2 < b.glyph2):(a.glyph1 < b.glyph1) ////////////////////////////////////////////////////////////////////////////// // @@ -846,6 +862,12 @@ STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, s STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *vertices); // frees the data allocated above +STBTT_DEF unsigned char *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl); +STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg); +STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg); +// fills svg with the character's SVG data. +// returns data size or 0 if SVG not found. + ////////////////////////////////////////////////////////////////////////////// // // BITMAP RENDERING @@ -1347,6 +1369,22 @@ static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) return stbtt__cff_get_index(&cff); } +// since most people won't use this, find this table the first time it's needed +static int stbtt__get_svg(stbtt_fontinfo *info) +{ + stbtt_uint32 t; + if (info->svg < 0) { + t = stbtt__find_table(info->data, info->fontstart, "SVG "); + if (t) { + stbtt_uint32 offset = ttULONG(info->data + t + 2); + info->svg = t + offset; + } else { + info->svg = 0; + } + } + return info->svg; +} + static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) { stbtt_uint32 cmap, t; @@ -1426,6 +1464,8 @@ static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, in else info->numGlyphs = 0xffff; + info->svg = -1; + // find a cmap encoding table we understand *now* to avoid searching // later. (todo: could make this installable) // the same regardless of glyph. @@ -1509,12 +1549,12 @@ STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codep search += 2; { - stbtt_uint16 offset, start; + stbtt_uint16 offset, start, last; stbtt_uint16 item = (stbtt_uint16) ((search - endCount) >> 1); - STBTT_assert(unicode_codepoint <= ttUSHORT(data + endCount + 2*item)); start = ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item); - if (unicode_codepoint < start) + last = ttUSHORT(data + endCount + 2*item); + if (unicode_codepoint < start || unicode_codepoint > last) return 0; offset = ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item); @@ -1774,7 +1814,7 @@ static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, s } } num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); - } else if (numberOfContours == -1) { + } else if (numberOfContours < 0) { // Compound shapes. int more = 1; stbtt_uint8 *comp = data + g + 10; @@ -1841,7 +1881,7 @@ static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, s if (comp_verts) STBTT_free(comp_verts, info->userdata); return 0; } - if (num_vertices > 0) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); //-V595 + if (num_vertices > 0 && vertices) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); STBTT_memcpy(tmp+num_vertices, comp_verts, comp_num_verts*sizeof(stbtt_vertex)); if (vertices) STBTT_free(vertices, info->userdata); vertices = tmp; @@ -1851,9 +1891,6 @@ static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, s // More components ? more = flags & (1<<5); } - } else if (numberOfContours < 0) { - // @TODO other compound variations? - STBTT_assert(0); } else { // numberOfCounters == 0, do nothing } @@ -2107,7 +2144,7 @@ static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, st subrs = stbtt__cid_get_glyph_subrs(info, glyph_index); has_subrs = 1; } - // fallthrough + // FALLTHROUGH case 0x1D: // callgsubr if (sp < 1) return STBTT__CSERR("call(g|)subr stack"); v = (int) s[--sp]; @@ -2212,7 +2249,7 @@ static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, st } break; default: - if (b0 != 255 && b0 != 28 && (b0 < 32 || b0 > 254)) //-V560 + if (b0 != 255 && b0 != 28 && b0 < 32) return STBTT__CSERR("reserved operator"); // push immediate @@ -2282,7 +2319,49 @@ STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_inde } } -static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) +STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) +{ + stbtt_uint8 *data = info->data + info->kern; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + return ttUSHORT(data+10); +} + +STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) +{ + stbtt_uint8 *data = info->data + info->kern; + int k, length; + + // we only look at the first table. it must be 'horizontal' and format 0. + if (!info->kern) + return 0; + if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 + return 0; + if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format + return 0; + + length = ttUSHORT(data+10); + if (table_length < length) + length = table_length; + + for (k = 0; k < length; k++) + { + table[k].glyph1 = ttUSHORT(data+18+(k*6)); + table[k].glyph2 = ttUSHORT(data+20+(k*6)); + table[k].advance = ttSHORT(data+22+(k*6)); + } + + return length; +} + +static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { stbtt_uint8 *data = info->data + info->kern; stbtt_uint32 needle, straw; @@ -2312,245 +2391,225 @@ static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph return 0; } -static stbtt_int32 stbtt__GetCoverageIndex(stbtt_uint8 *coverageTable, int glyph) +static stbtt_int32 stbtt__GetCoverageIndex(stbtt_uint8 *coverageTable, int glyph) { - stbtt_uint16 coverageFormat = ttUSHORT(coverageTable); - switch(coverageFormat) { - case 1: { - stbtt_uint16 glyphCount = ttUSHORT(coverageTable + 2); + stbtt_uint16 coverageFormat = ttUSHORT(coverageTable); + switch (coverageFormat) { + case 1: { + stbtt_uint16 glyphCount = ttUSHORT(coverageTable + 2); - // Binary search. - stbtt_int32 l=0, r=glyphCount-1, m; - int straw, needle=glyph; - while (l <= r) { - stbtt_uint8 *glyphArray = coverageTable + 4; - stbtt_uint16 glyphID; - m = (l + r) >> 1; - glyphID = ttUSHORT(glyphArray + 2 * m); - straw = glyphID; - if (needle < straw) - r = m - 1; - else if (needle > straw) - l = m + 1; - else { - return m; - } + // Binary search. + stbtt_int32 l=0, r=glyphCount-1, m; + int straw, needle=glyph; + while (l <= r) { + stbtt_uint8 *glyphArray = coverageTable + 4; + stbtt_uint16 glyphID; + m = (l + r) >> 1; + glyphID = ttUSHORT(glyphArray + 2 * m); + straw = glyphID; + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else { + return m; } - } break; + } + break; + } - case 2: { - stbtt_uint16 rangeCount = ttUSHORT(coverageTable + 2); - stbtt_uint8 *rangeArray = coverageTable + 4; + case 2: { + stbtt_uint16 rangeCount = ttUSHORT(coverageTable + 2); + stbtt_uint8 *rangeArray = coverageTable + 4; - // Binary search. - stbtt_int32 l=0, r=rangeCount-1, m; - int strawStart, strawEnd, needle=glyph; - while (l <= r) { - stbtt_uint8 *rangeRecord; - m = (l + r) >> 1; - rangeRecord = rangeArray + 6 * m; - strawStart = ttUSHORT(rangeRecord); - strawEnd = ttUSHORT(rangeRecord + 2); - if (needle < strawStart) - r = m - 1; - else if (needle > strawEnd) - l = m + 1; - else { - stbtt_uint16 startCoverageIndex = ttUSHORT(rangeRecord + 4); - return startCoverageIndex + glyph - strawStart; - } + // Binary search. + stbtt_int32 l=0, r=rangeCount-1, m; + int strawStart, strawEnd, needle=glyph; + while (l <= r) { + stbtt_uint8 *rangeRecord; + m = (l + r) >> 1; + rangeRecord = rangeArray + 6 * m; + strawStart = ttUSHORT(rangeRecord); + strawEnd = ttUSHORT(rangeRecord + 2); + if (needle < strawStart) + r = m - 1; + else if (needle > strawEnd) + l = m + 1; + else { + stbtt_uint16 startCoverageIndex = ttUSHORT(rangeRecord + 4); + return startCoverageIndex + glyph - strawStart; } - } break; + } + break; + } - default: { - // There are no other cases. - STBTT_assert(0); - } break; - } + default: return -1; // unsupported + } - return -1; + return -1; } static stbtt_int32 stbtt__GetGlyphClass(stbtt_uint8 *classDefTable, int glyph) { - stbtt_uint16 classDefFormat = ttUSHORT(classDefTable); - switch(classDefFormat) - { - case 1: { - stbtt_uint16 startGlyphID = ttUSHORT(classDefTable + 2); - stbtt_uint16 glyphCount = ttUSHORT(classDefTable + 4); - stbtt_uint8 *classDef1ValueArray = classDefTable + 6; + stbtt_uint16 classDefFormat = ttUSHORT(classDefTable); + switch (classDefFormat) + { + case 1: { + stbtt_uint16 startGlyphID = ttUSHORT(classDefTable + 2); + stbtt_uint16 glyphCount = ttUSHORT(classDefTable + 4); + stbtt_uint8 *classDef1ValueArray = classDefTable + 6; - if (glyph >= startGlyphID && glyph < startGlyphID + glyphCount) - return (stbtt_int32)ttUSHORT(classDef1ValueArray + 2 * (glyph - startGlyphID)); + if (glyph >= startGlyphID && glyph < startGlyphID + glyphCount) + return (stbtt_int32)ttUSHORT(classDef1ValueArray + 2 * (glyph - startGlyphID)); + break; + } - // [DEAR IMGUI] Commented to fix static analyzer warning - //classDefTable = classDef1ValueArray + 2 * glyphCount; - } break; + case 2: { + stbtt_uint16 classRangeCount = ttUSHORT(classDefTable + 2); + stbtt_uint8 *classRangeRecords = classDefTable + 4; - case 2: { - stbtt_uint16 classRangeCount = ttUSHORT(classDefTable + 2); - stbtt_uint8 *classRangeRecords = classDefTable + 4; + // Binary search. + stbtt_int32 l=0, r=classRangeCount-1, m; + int strawStart, strawEnd, needle=glyph; + while (l <= r) { + stbtt_uint8 *classRangeRecord; + m = (l + r) >> 1; + classRangeRecord = classRangeRecords + 6 * m; + strawStart = ttUSHORT(classRangeRecord); + strawEnd = ttUSHORT(classRangeRecord + 2); + if (needle < strawStart) + r = m - 1; + else if (needle > strawEnd) + l = m + 1; + else + return (stbtt_int32)ttUSHORT(classRangeRecord + 4); + } + break; + } - // Binary search. - stbtt_int32 l=0, r=classRangeCount-1, m; - int strawStart, strawEnd, needle=glyph; - while (l <= r) { - stbtt_uint8 *classRangeRecord; - m = (l + r) >> 1; - classRangeRecord = classRangeRecords + 6 * m; - strawStart = ttUSHORT(classRangeRecord); - strawEnd = ttUSHORT(classRangeRecord + 2); - if (needle < strawStart) - r = m - 1; - else if (needle > strawEnd) - l = m + 1; - else - return (stbtt_int32)ttUSHORT(classRangeRecord + 4); - } + default: + return -1; // Unsupported definition type, return an error. + } - // [DEAR IMGUI] Commented to fix static analyzer warning - //classDefTable = classRangeRecords + 6 * classRangeCount; - } break; - - default: { - // There are no other cases. - STBTT_assert(0); - } break; - } - - return -1; + // "All glyphs not assigned to a class fall into class 0". (OpenType spec) + return 0; } // Define to STBTT_assert(x) if you want to break on unimplemented formats. #define STBTT_GPOS_TODO_assert(x) -static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) +static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { - stbtt_uint16 lookupListOffset; - stbtt_uint8 *lookupList; - stbtt_uint16 lookupCount; - stbtt_uint8 *data; - stbtt_int32 i; + stbtt_uint16 lookupListOffset; + stbtt_uint8 *lookupList; + stbtt_uint16 lookupCount; + stbtt_uint8 *data; + stbtt_int32 i, sti; - if (!info->gpos) return 0; + if (!info->gpos) return 0; - data = info->data + info->gpos; + data = info->data + info->gpos; - if (ttUSHORT(data+0) != 1) return 0; // Major version 1 - if (ttUSHORT(data+2) != 0) return 0; // Minor version 0 + if (ttUSHORT(data+0) != 1) return 0; // Major version 1 + if (ttUSHORT(data+2) != 0) return 0; // Minor version 0 - lookupListOffset = ttUSHORT(data+8); - lookupList = data + lookupListOffset; - lookupCount = ttUSHORT(lookupList); + lookupListOffset = ttUSHORT(data+8); + lookupList = data + lookupListOffset; + lookupCount = ttUSHORT(lookupList); - for (i=0; i= pairSetCount) return 0; - // Binary search. - while (l <= r) { - stbtt_uint16 secondGlyph; - stbtt_uint8 *pairValue; - m = (l + r) >> 1; - pairValue = pairValueArray + (2 + valueRecordPairSizeInBytes) * m; - secondGlyph = ttUSHORT(pairValue); - straw = secondGlyph; - if (needle < straw) - r = m - 1; - else if (needle > straw) - l = m + 1; - else { - stbtt_int16 xAdvance = ttSHORT(pairValue + 2); - return xAdvance; - } - } - } break; + needle=glyph2; + r=pairValueCount-1; + l=0; - case 2: { - stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); - stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); + // Binary search. + while (l <= r) { + stbtt_uint16 secondGlyph; + stbtt_uint8 *pairValue; + m = (l + r) >> 1; + pairValue = pairValueArray + (2 + valueRecordPairSizeInBytes) * m; + secondGlyph = ttUSHORT(pairValue); + straw = secondGlyph; + if (needle < straw) + r = m - 1; + else if (needle > straw) + l = m + 1; + else { + stbtt_int16 xAdvance = ttSHORT(pairValue + 2); + return xAdvance; + } + } + } else + return 0; + break; + } - stbtt_uint16 classDef1Offset = ttUSHORT(table + 8); - stbtt_uint16 classDef2Offset = ttUSHORT(table + 10); - int glyph1class = stbtt__GetGlyphClass(table + classDef1Offset, glyph1); - int glyph2class = stbtt__GetGlyphClass(table + classDef2Offset, glyph2); + case 2: { + stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); + stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); + if (valueFormat1 == 4 && valueFormat2 == 0) { // Support more formats? + stbtt_uint16 classDef1Offset = ttUSHORT(table + 8); + stbtt_uint16 classDef2Offset = ttUSHORT(table + 10); + int glyph1class = stbtt__GetGlyphClass(table + classDef1Offset, glyph1); + int glyph2class = stbtt__GetGlyphClass(table + classDef2Offset, glyph2); - stbtt_uint16 class1Count = ttUSHORT(table + 12); - stbtt_uint16 class2Count = ttUSHORT(table + 14); - STBTT_assert(glyph1class < class1Count); - STBTT_assert(glyph2class < class2Count); + stbtt_uint16 class1Count = ttUSHORT(table + 12); + stbtt_uint16 class2Count = ttUSHORT(table + 14); + stbtt_uint8 *class1Records, *class2Records; + stbtt_int16 xAdvance; - // TODO: Support more formats. - STBTT_GPOS_TODO_assert(valueFormat1 == 4); - if (valueFormat1 != 4) return 0; - STBTT_GPOS_TODO_assert(valueFormat2 == 0); - if (valueFormat2 != 0) return 0; + if (glyph1class < 0 || glyph1class >= class1Count) return 0; // malformed + if (glyph2class < 0 || glyph2class >= class2Count) return 0; // malformed - if (glyph1class >= 0 && glyph1class < class1Count && glyph2class >= 0 && glyph2class < class2Count) { - stbtt_uint8 *class1Records = table + 16; - stbtt_uint8 *class2Records = class1Records + 2 * (glyph1class * class2Count); - stbtt_int16 xAdvance = ttSHORT(class2Records + 2 * glyph2class); - return xAdvance; - } - } break; - - default: { - // There are no other cases. - STBTT_assert(0); - break; - } // [DEAR IMGUI] removed ; - } - } - break; - } // [DEAR IMGUI] removed ; + class1Records = table + 16; + class2Records = class1Records + 2 * (glyph1class * class2Count); + xAdvance = ttSHORT(class2Records + 2 * glyph2class); + return xAdvance; + } else + return 0; + break; + } default: - // TODO: Implement other stuff. - break; - } - } + return 0; // Unsupported position format + } + } + } - return 0; + return 0; } STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int g2) @@ -2559,8 +2618,7 @@ STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int if (info->gpos) xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2); - - if (info->kern) + else if (info->kern) xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2); return xAdvance; @@ -2621,6 +2679,45 @@ STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) STBTT_free(v, info->userdata); } +STBTT_DEF stbtt_uint8 *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl) +{ + int i; + stbtt_uint8 *data = info->data; + stbtt_uint8 *svg_doc_list = data + stbtt__get_svg((stbtt_fontinfo *) info); + + int numEntries = ttUSHORT(svg_doc_list); + stbtt_uint8 *svg_docs = svg_doc_list + 2; + + for(i=0; i= ttUSHORT(svg_doc)) && (gl <= ttUSHORT(svg_doc + 2))) + return svg_doc; + } + return 0; +} + +STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg) +{ + stbtt_uint8 *data = info->data; + stbtt_uint8 *svg_doc; + + if (info->svg == 0) + return 0; + + svg_doc = stbtt_FindSVGDoc(info, gl); + if (svg_doc != NULL) { + *svg = (char *) data + info->svg + ttULONG(svg_doc + 4); + return ttULONG(svg_doc + 8); + } else { + return 0; + } +} + +STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) +{ + return stbtt_GetGlyphSVG(info, stbtt_FindGlyphIndex(info, unicode_codepoint), svg); +} + ////////////////////////////////////////////////////////////////////////////// // // antialiasing software rasterizer @@ -2970,6 +3067,23 @@ static void stbtt__handle_clipped_edge(float *scanline, int x, stbtt__active_edg } } +static float stbtt__sized_trapezoid_area(float height, float top_width, float bottom_width) +{ + STBTT_assert(top_width >= 0); + STBTT_assert(bottom_width >= 0); + return (top_width + bottom_width) / 2.0f * height; +} + +static float stbtt__position_trapezoid_area(float height, float tx0, float tx1, float bx0, float bx1) +{ + return stbtt__sized_trapezoid_area(height, tx1 - tx0, bx1 - bx0); +} + +static float stbtt__sized_triangle_area(float height, float width) +{ + return height * width / 2; +} + static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) { float y_bottom = y_top+1; @@ -3024,13 +3138,13 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, float height; // simple case, only spans one pixel int x = (int) x_top; - height = sy1 - sy0; + height = (sy1 - sy0) * e->direction; STBTT_assert(x >= 0 && x < len); - scanline[x] += e->direction * (1-((x_top - x) + (x_bottom-x))/2) * height; - scanline_fill[x] += e->direction * height; // everything right of this pixel is filled + scanline[x] += stbtt__position_trapezoid_area(height, x_top, x+1.0f, x_bottom, x+1.0f); + scanline_fill[x] += height; // everything right of this pixel is filled } else { int x,x1,x2; - float y_crossing, step, sign, area; + float y_crossing, y_final, step, sign, area; // covers 2+ pixels if (x_top > x_bottom) { // flip scanline vertically; signed area is the same @@ -3042,32 +3156,83 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, dx = -dx; dy = -dy; t = x0, x0 = xb, xb = t; - // [DEAR IMGUI] Fix static analyzer warning - (void)dx; // [ImGui: fix static analyzer warning] } + STBTT_assert(dy >= 0); + STBTT_assert(dx >= 0); x1 = (int) x_top; x2 = (int) x_bottom; // compute intersection with y axis at x1+1 - y_crossing = (x1+1 - x0) * dy + y_top; + y_crossing = y_top + dy * (x1+1 - x0); + + // compute intersection with y axis at x2 + y_final = y_top + dy * (x2 - x0); + + // x1 x_top x2 x_bottom + // y_top +------|-----+------------+------------+--------|---+------------+ + // | | | | | | + // | | | | | | + // sy0 | Txxxxx|............|............|............|............| + // y_crossing | *xxxxx.......|............|............|............| + // | | xxxxx..|............|............|............| + // | | /- xx*xxxx........|............|............| + // | | dy < | xxxxxx..|............|............| + // y_final | | \- | xx*xxx.........|............| + // sy1 | | | | xxxxxB...|............| + // | | | | | | + // | | | | | | + // y_bottom +------------+------------+------------+------------+------------+ + // + // goal is to measure the area covered by '.' in each pixel + + // if x2 is right at the right edge of x1, y_crossing can blow up, github #1057 + // @TODO: maybe test against sy1 rather than y_bottom? + if (y_crossing > y_bottom) + y_crossing = y_bottom; sign = e->direction; - // area of the rectangle covered from y0..y_crossing - area = sign * (y_crossing-sy0); - // area of the triangle (x_top,y0), (x+1,y0), (x+1,y_crossing) - scanline[x1] += area * (1-((x_top - x1)+(x1+1-x1))/2); - step = sign * dy; + // area of the rectangle covered from sy0..y_crossing + area = sign * (y_crossing-sy0); + + // area of the triangle (x_top,sy0), (x1+1,sy0), (x1+1,y_crossing) + scanline[x1] += stbtt__sized_triangle_area(area, x1+1 - x_top); + + // check if final y_crossing is blown up; no test case for this + if (y_final > y_bottom) { + int denom = (x2 - (x1+1)); + y_final = y_bottom; + if (denom != 0) { // [DEAR IMGUI] Avoid div by zero (https://github.com/nothings/stb/issues/1316) + dy = (y_final - y_crossing ) / denom; // if denom=0, y_final = y_crossing, so y_final <= y_bottom + } + } + + // in second pixel, area covered by line segment found in first pixel + // is always a rectangle 1 wide * the height of that line segment; this + // is exactly what the variable 'area' stores. it also gets a contribution + // from the line segment within it. the THIRD pixel will get the first + // pixel's rectangle contribution, the second pixel's rectangle contribution, + // and its own contribution. the 'own contribution' is the same in every pixel except + // the leftmost and rightmost, a trapezoid that slides down in each pixel. + // the second pixel's contribution to the third pixel will be the + // rectangle 1 wide times the height change in the second pixel, which is dy. + + step = sign * dy * 1; // dy is dy/dx, change in y for every 1 change in x, + // which multiplied by 1-pixel-width is how much pixel area changes for each step in x + // so the area advances by 'step' every time + for (x = x1+1; x < x2; ++x) { - scanline[x] += area + step/2; + scanline[x] += area + step/2; // area of trapezoid is 1*step/2 area += step; } - y_crossing += dy * (x2 - (x1+1)); + STBTT_assert(STBTT_fabs(area) <= 1.01f); // accumulated error from area += step unless we round step down + STBTT_assert(sy1 > y_final-0.01f); - STBTT_assert(STBTT_fabs(area) <= 1.01f); - - scanline[x2] += area + sign * (1-((x2-x2)+(x_bottom-x2))/2) * (sy1-y_crossing); + // area covered in the last pixel is the rectangle from all the pixels to the left, + // plus the trapezoid filled by the line segment in this pixel all the way to the right edge + scanline[x2] += area + sign * stbtt__position_trapezoid_area(sy1-y_final, (float) x2, x2+1.0f, x_bottom, x2+1.0f); + // the rest of the line is filled based on the total height of the line segment in this pixel scanline_fill[x2] += sign * (sy1-sy0); } } else { @@ -3075,6 +3240,9 @@ static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, // clipping logic. since this does not match the intended use // of this library, we use a different, very slow brute // force implementation + // note though that this does happen some of the time because + // x_top and x_bottom can be extrapolated at the top & bottom of + // the shape and actually lie outside the bounding box int x; for (x=0; x < len; ++x) { // cases: @@ -3989,6 +4157,7 @@ static float stbtt__oversample_shift(int oversample) STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { int i,j,k; + int missing_glyph_added = 0; k=0; for (i=0; i < num_ranges; ++i) { @@ -4000,7 +4169,7 @@ STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stb int x0,y0,x1,y1; int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; int glyph = stbtt_FindGlyphIndex(info, codepoint); - if (glyph == 0 && spc->skip_missing) { + if (glyph == 0 && (spc->skip_missing || missing_glyph_added)) { rects[k].w = rects[k].h = 0; } else { stbtt_GetGlyphBitmapBoxSubpixel(info,glyph, @@ -4010,6 +4179,8 @@ STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stb &x0,&y0,&x1,&y1); rects[k].w = (stbrp_coord) (x1-x0 + spc->padding + spc->h_oversample-1); rects[k].h = (stbrp_coord) (y1-y0 + spc->padding + spc->v_oversample-1); + if (glyph == 0) + missing_glyph_added = 1; } ++k; } @@ -4044,7 +4215,7 @@ STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info // rects array must be big enough to accommodate all characters in the given ranges STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { - int i,j,k, return_value = 1; + int i,j,k, missing_glyph = -1, return_value = 1; // save current values int old_h_over = spc->h_oversample; @@ -4109,6 +4280,13 @@ STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const bc->yoff = (float) y0 * recip_v + sub_y; bc->xoff2 = (x0 + r->w) * recip_h + sub_x; bc->yoff2 = (y0 + r->h) * recip_v + sub_y; + + if (glyph == 0) + missing_glyph = j; + } else if (spc->skip_missing) { + return_value = 0; + } else if (r->was_packed && r->w == 0 && r->h == 0 && missing_glyph >= 0) { + ranges[i].chardata_for_range[j] = ranges[i].chardata_for_range[missing_glyph]; } else { return_value = 0; // if any fail, report failure } @@ -4132,7 +4310,7 @@ STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges) { stbtt_fontinfo info; - int i,j,n, return_value; // [DEAR IMGUI] removed = 1 + int i, j, n, return_value; // [DEAR IMGUI] removed = 1; //stbrp_context *context = (stbrp_context *) spc->pack_info; stbrp_rect *rects; @@ -4301,15 +4479,14 @@ static int stbtt__compute_crossings_x(float x, float y, int nverts, stbtt_vertex float y_frac; int winding = 0; - orig[0] = x; - //orig[1] = y; // [DEAR IMGUI] commented double assignment - // make sure y never passes through a vertex of the shape y_frac = (float) STBTT_fmod(y, 1.0f); if (y_frac < 0.01f) y += 0.01f; else if (y_frac > 0.99f) y -= 0.01f; + + orig[0] = x; orig[1] = y; // test a ray from (-infinity,y) to (x,y) @@ -4371,35 +4548,35 @@ static float stbtt__cuberoot( float x ) return (float) STBTT_pow( x,1.0f/3.0f); } -// x^3 + c*x^2 + b*x + a = 0 +// x^3 + a*x^2 + b*x + c = 0 static int stbtt__solve_cubic(float a, float b, float c, float* r) { - float s = -a / 3; - float p = b - a*a / 3; - float q = a * (2*a*a - 9*b) / 27 + c; + float s = -a / 3; + float p = b - a*a / 3; + float q = a * (2*a*a - 9*b) / 27 + c; float p3 = p*p*p; - float d = q*q + 4*p3 / 27; - if (d >= 0) { - float z = (float) STBTT_sqrt(d); - float u = (-q + z) / 2; - float v = (-q - z) / 2; - u = stbtt__cuberoot(u); - v = stbtt__cuberoot(v); - r[0] = s + u + v; - return 1; - } else { - float u = (float) STBTT_sqrt(-p/3); - float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; // p3 must be negative, since d is negative - float m = (float) STBTT_cos(v); + float d = q*q + 4*p3 / 27; + if (d >= 0) { + float z = (float) STBTT_sqrt(d); + float u = (-q + z) / 2; + float v = (-q - z) / 2; + u = stbtt__cuberoot(u); + v = stbtt__cuberoot(v); + r[0] = s + u + v; + return 1; + } else { + float u = (float) STBTT_sqrt(-p/3); + float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; // p3 must be negative, since d is negative + float m = (float) STBTT_cos(v); float n = (float) STBTT_cos(v-3.141592/2)*1.732050808f; - r[0] = s + u * 2 * m; - r[1] = s - u * (m + n); - r[2] = s - u * (m - n); + r[0] = s + u * 2 * m; + r[1] = s - u * (m + n); + r[2] = s - u * (m - n); //STBTT_assert( STBTT_fabs(((r[0]+a)*r[0]+b)*r[0]+c) < 0.05f); // these asserts may not be safe at all scales, though they're in bezier t parameter units so maybe? //STBTT_assert( STBTT_fabs(((r[1]+a)*r[1]+b)*r[1]+c) < 0.05f); //STBTT_assert( STBTT_fabs(((r[2]+a)*r[2]+b)*r[2]+c) < 0.05f); - return 3; + return 3; } } @@ -4410,12 +4587,7 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc int w,h; unsigned char *data; - // if one scale is 0, use same scale for both - if (scale_x == 0) scale_x = scale_y; - if (scale_y == 0) { - if (scale_x == 0) return NULL; // if both scales are 0, return NULL - scale_y = scale_x; - } + if (scale == 0) return NULL; stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale, scale, 0.0f,0.0f, &ix0,&iy0,&ix1,&iy1); @@ -4481,18 +4653,17 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc for (i=0; i < num_verts; ++i) { float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; - // check against every point here rather than inside line/curve primitives -- @TODO: wrong if multiple 'moves' in a row produce a garbage point, and given culling, probably more efficient to do within line/curve - float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); - if (dist2 < min_dist*min_dist) - min_dist = (float) STBTT_sqrt(dist2); - - if (verts[i].type == STBTT_vline) { + if (verts[i].type == STBTT_vline && precompute[i] != 0.0f) { float x1 = verts[i-1].x*scale_x, y1 = verts[i-1].y*scale_y; + float dist,dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); + if (dist2 < min_dist*min_dist) + min_dist = (float) STBTT_sqrt(dist2); + // coarse culling against bbox //if (sx > STBTT_min(x0,x1)-min_dist && sx < STBTT_max(x0,x1)+min_dist && // sy > STBTT_min(y0,y1)-min_dist && sy < STBTT_max(y0,y1)+min_dist) - float dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; + dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; STBTT_assert(i != 0); if (dist < min_dist) { // check position along line @@ -4519,7 +4690,8 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc float ax = x1-x0, ay = y1-y0; float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; float mx = x0 - sx, my = y0 - sy; - float res[3],px,py,t,it; + float res[3] = {0.f,0.f,0.f}; + float px,py,t,it,dist2; float a_inv = precompute[i]; if (a_inv == 0.0) { // if a_inv is 0, it's 2nd degree so use quadratic formula float a = 3*(ax*bx + ay*by); @@ -4546,6 +4718,10 @@ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float sc float d = (mx*ax+my*ay) * a_inv; num = stbtt__solve_cubic(b, c, d, res); } + dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); + if (dist2 < min_dist*min_dist) + min_dist = (float) STBTT_sqrt(dist2); + if (num >= 1 && res[0] >= 0.0f && res[0] <= 1.0f) { t = res[0], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; @@ -4805,6 +4981,12 @@ STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const // FULL VERSION HISTORY // +// 1.25 (2021-07-11) many fixes +// 1.24 (2020-02-05) fix warning +// 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) +// 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined +// 1.21 (2019-02-25) fix warning +// 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() // 1.19 (2018-02-11) OpenType GPOS kerning (horizontal only), STBTT_fmod // 1.18 (2018-01-29) add missing function // 1.17 (2017-07-23) make more arguments const; doc fix diff --git a/imgui-sys/third-party/imgui-master/imgui/misc/freetype/README.md b/imgui-sys/third-party/imgui-master/imgui/misc/freetype/README.md index f7d7bab..5fcfc2d 100644 --- a/imgui-sys/third-party/imgui-master/imgui/misc/freetype/README.md +++ b/imgui-sys/third-party/imgui-master/imgui/misc/freetype/README.md @@ -26,12 +26,12 @@ See https://gist.github.com/ocornut/b3a9ecf13502fd818799a452969649ad ### Comparaison -Small, thin anti-aliased fonts are typically benefiting a lots from Freetype's hinting: +Small, thin anti-aliased fonts typically benefit a lot from FreeType's hinting: ![comparing_font_rasterizers](https://user-images.githubusercontent.com/8225057/107550178-fef87f00-6bd0-11eb-8d09-e2edb2f0ccfc.gif) ### Colorful glyphs/emojis -You can use the `ImGuiFreeTypeBuilderFlags_LoadColor` flag to load certain colorful glyphs. See -["Using Colorful Glyphs/Emojis"](https://github.com/ocornut/imgui/edit/master/docs/FONTS.md#using-colorful-glyphsemojis) section of FONTS.md. +You can use the `ImGuiFreeTypeBuilderFlags_LoadColor` flag to load certain colorful glyphs. See the +["Using Colorful Glyphs/Emojis"](https://github.com/ocornut/imgui/blob/master/docs/FONTS.md#using-colorful-glyphsemojis) section of FONTS.md. ![colored glyphs](https://user-images.githubusercontent.com/8225057/106171241-9dc4ba80-6191-11eb-8a69-ca1467b206d1.png) diff --git a/imgui-sys/third-party/imgui-master/imgui/misc/freetype/imgui_freetype.cpp b/imgui-sys/third-party/imgui-master/imgui/misc/freetype/imgui_freetype.cpp index a72ec8c..0325532 100644 --- a/imgui-sys/third-party/imgui-master/imgui/misc/freetype/imgui_freetype.cpp +++ b/imgui-sys/third-party/imgui-master/imgui/misc/freetype/imgui_freetype.cpp @@ -368,7 +368,7 @@ struct ImFontBuildSrcGlyphFT uint32_t Codepoint; unsigned int* BitmapData; // Point within one of the dst_tmp_bitmap_buffers[] array - ImFontBuildSrcGlyphFT() { memset(this, 0, sizeof(*this)); } + ImFontBuildSrcGlyphFT() { memset((void*)this, 0, sizeof(*this)); } }; struct ImFontBuildSrcDataFT @@ -508,7 +508,7 @@ bool ImFontAtlasBuildWithFreeTypeEx(FT_Library ft_library, ImFontAtlas* atlas, u // Allocate temporary rasterization data buffers. // We could not find a way to retrieve accurate glyph size without rendering them. // (e.g. slot->metrics->width not always matching bitmap->width, especially considering the Oblique transform) - // We allocate in chunks of 256 KB to not waste too much extra memory ahead. Hopefully users of FreeType won't find the temporary allocations. + // We allocate in chunks of 256 KB to not waste too much extra memory ahead. Hopefully users of FreeType won't mind the temporary allocations. const int BITMAP_BUFFERS_CHUNK_SIZE = 256 * 1024; int buf_bitmap_current_used_bytes = 0; ImVector buf_bitmap_buffers; @@ -556,6 +556,7 @@ bool ImFontAtlasBuildWithFreeTypeEx(FT_Library ft_library, ImFontAtlas* atlas, u buf_bitmap_current_used_bytes = 0; buf_bitmap_buffers.push_back((unsigned char*)IM_ALLOC(BITMAP_BUFFERS_CHUNK_SIZE)); } + IM_ASSERT(buf_bitmap_current_used_bytes + bitmap_size_in_bytes <= BITMAP_BUFFERS_CHUNK_SIZE); // We could probably allocate custom-sized buffer instead. // Blit rasterized pixels to our temporary buffer and keep a pointer to it. src_glyph.BitmapData = (unsigned int*)(buf_bitmap_buffers.back() + buf_bitmap_current_used_bytes); diff --git a/imgui-sys/third-party/imgui-master/impl_definitions.json b/imgui-sys/third-party/imgui-master/impl_definitions.json index 0637a08..b64b6d1 100644 --- a/imgui-sys/third-party/imgui-master/impl_definitions.json +++ b/imgui-sys/third-party/imgui-master/impl_definitions.json @@ -1 +1,818 @@ -[] \ No newline at end of file +{ + "ImGui_ImplGlfw_CharCallback": [ + { + "args": "(GLFWwindow* window,unsigned int c)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "c", + "type": "unsigned int" + } + ], + "argsoriginal": "(GLFWwindow* window,unsigned int c)", + "call_args": "(window,c)", + "cimguiname": "ImGui_ImplGlfw_CharCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_CharCallback", + "location": "imgui_impl_glfw:46", + "ov_cimguiname": "ImGui_ImplGlfw_CharCallback", + "ret": "void", + "signature": "(GLFWwindow*,unsigned int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_CursorEnterCallback": [ + { + "args": "(GLFWwindow* window,int entered)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "entered", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int entered)", + "call_args": "(window,entered)", + "cimguiname": "ImGui_ImplGlfw_CursorEnterCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_CursorEnterCallback", + "location": "imgui_impl_glfw:41", + "ov_cimguiname": "ImGui_ImplGlfw_CursorEnterCallback", + "ret": "void", + "signature": "(GLFWwindow*,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_CursorPosCallback": [ + { + "args": "(GLFWwindow* window,double x,double y)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "x", + "type": "double" + }, + { + "name": "y", + "type": "double" + } + ], + "argsoriginal": "(GLFWwindow* window,double x,double y)", + "call_args": "(window,x,y)", + "cimguiname": "ImGui_ImplGlfw_CursorPosCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_CursorPosCallback", + "location": "imgui_impl_glfw:42", + "ov_cimguiname": "ImGui_ImplGlfw_CursorPosCallback", + "ret": "void", + "signature": "(GLFWwindow*,double,double)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InitForOpenGL": [ + { + "args": "(GLFWwindow* window,bool install_callbacks)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "install_callbacks", + "type": "bool" + } + ], + "argsoriginal": "(GLFWwindow* window,bool install_callbacks)", + "call_args": "(window,install_callbacks)", + "cimguiname": "ImGui_ImplGlfw_InitForOpenGL", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InitForOpenGL", + "location": "imgui_impl_glfw:27", + "ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL", + "ret": "bool", + "signature": "(GLFWwindow*,bool)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InitForOther": [ + { + "args": "(GLFWwindow* window,bool install_callbacks)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "install_callbacks", + "type": "bool" + } + ], + "argsoriginal": "(GLFWwindow* window,bool install_callbacks)", + "call_args": "(window,install_callbacks)", + "cimguiname": "ImGui_ImplGlfw_InitForOther", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InitForOther", + "location": "imgui_impl_glfw:29", + "ov_cimguiname": "ImGui_ImplGlfw_InitForOther", + "ret": "bool", + "signature": "(GLFWwindow*,bool)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InitForVulkan": [ + { + "args": "(GLFWwindow* window,bool install_callbacks)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "install_callbacks", + "type": "bool" + } + ], + "argsoriginal": "(GLFWwindow* window,bool install_callbacks)", + "call_args": "(window,install_callbacks)", + "cimguiname": "ImGui_ImplGlfw_InitForVulkan", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InitForVulkan", + "location": "imgui_impl_glfw:28", + "ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan", + "ret": "bool", + "signature": "(GLFWwindow*,bool)", + "stname": "" + } + ], + "ImGui_ImplGlfw_InstallCallbacks": [ + { + "args": "(GLFWwindow* window)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + } + ], + "argsoriginal": "(GLFWwindow* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplGlfw_InstallCallbacks", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_InstallCallbacks", + "location": "imgui_impl_glfw:36", + "ov_cimguiname": "ImGui_ImplGlfw_InstallCallbacks", + "ret": "void", + "signature": "(GLFWwindow*)", + "stname": "" + } + ], + "ImGui_ImplGlfw_KeyCallback": [ + { + "args": "(GLFWwindow* window,int key,int scancode,int action,int mods)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "key", + "type": "int" + }, + { + "name": "scancode", + "type": "int" + }, + { + "name": "action", + "type": "int" + }, + { + "name": "mods", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)", + "call_args": "(window,key,scancode,action,mods)", + "cimguiname": "ImGui_ImplGlfw_KeyCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_KeyCallback", + "location": "imgui_impl_glfw:45", + "ov_cimguiname": "ImGui_ImplGlfw_KeyCallback", + "ret": "void", + "signature": "(GLFWwindow*,int,int,int,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_MonitorCallback": [ + { + "args": "(GLFWmonitor* monitor,int event)", + "argsT": [ + { + "name": "monitor", + "type": "GLFWmonitor*" + }, + { + "name": "event", + "type": "int" + } + ], + "argsoriginal": "(GLFWmonitor* monitor,int event)", + "call_args": "(monitor,event)", + "cimguiname": "ImGui_ImplGlfw_MonitorCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_MonitorCallback", + "location": "imgui_impl_glfw:47", + "ov_cimguiname": "ImGui_ImplGlfw_MonitorCallback", + "ret": "void", + "signature": "(GLFWmonitor*,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_MouseButtonCallback": [ + { + "args": "(GLFWwindow* window,int button,int action,int mods)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "button", + "type": "int" + }, + { + "name": "action", + "type": "int" + }, + { + "name": "mods", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int button,int action,int mods)", + "call_args": "(window,button,action,mods)", + "cimguiname": "ImGui_ImplGlfw_MouseButtonCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_MouseButtonCallback", + "location": "imgui_impl_glfw:43", + "ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback", + "ret": "void", + "signature": "(GLFWwindow*,int,int,int)", + "stname": "" + } + ], + "ImGui_ImplGlfw_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplGlfw_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_NewFrame", + "location": "imgui_impl_glfw:31", + "ov_cimguiname": "ImGui_ImplGlfw_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplGlfw_RestoreCallbacks": [ + { + "args": "(GLFWwindow* window)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + } + ], + "argsoriginal": "(GLFWwindow* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplGlfw_RestoreCallbacks", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_RestoreCallbacks", + "location": "imgui_impl_glfw:37", + "ov_cimguiname": "ImGui_ImplGlfw_RestoreCallbacks", + "ret": "void", + "signature": "(GLFWwindow*)", + "stname": "" + } + ], + "ImGui_ImplGlfw_ScrollCallback": [ + { + "args": "(GLFWwindow* window,double xoffset,double yoffset)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "xoffset", + "type": "double" + }, + { + "name": "yoffset", + "type": "double" + } + ], + "argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)", + "call_args": "(window,xoffset,yoffset)", + "cimguiname": "ImGui_ImplGlfw_ScrollCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_ScrollCallback", + "location": "imgui_impl_glfw:44", + "ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback", + "ret": "void", + "signature": "(GLFWwindow*,double,double)", + "stname": "" + } + ], + "ImGui_ImplGlfw_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplGlfw_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_Shutdown", + "location": "imgui_impl_glfw:30", + "ov_cimguiname": "ImGui_ImplGlfw_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplGlfw_WindowFocusCallback": [ + { + "args": "(GLFWwindow* window,int focused)", + "argsT": [ + { + "name": "window", + "type": "GLFWwindow*" + }, + { + "name": "focused", + "type": "int" + } + ], + "argsoriginal": "(GLFWwindow* window,int focused)", + "call_args": "(window,focused)", + "cimguiname": "ImGui_ImplGlfw_WindowFocusCallback", + "defaults": {}, + "funcname": "ImGui_ImplGlfw_WindowFocusCallback", + "location": "imgui_impl_glfw:40", + "ov_cimguiname": "ImGui_ImplGlfw_WindowFocusCallback", + "ret": "void", + "signature": "(GLFWwindow*,int)", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_CreateDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects", + "location": "imgui_impl_opengl2:32", + "ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_CreateFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_CreateFontsTexture", + "location": "imgui_impl_opengl2:30", + "ov_cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_DestroyDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", + "location": "imgui_impl_opengl2:33", + "ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_DestroyFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_DestroyFontsTexture", + "location": "imgui_impl_opengl2:31", + "ov_cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_Init": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_Init", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_Init", + "location": "imgui_impl_opengl2:24", + "ov_cimguiname": "ImGui_ImplOpenGL2_Init", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_NewFrame", + "location": "imgui_impl_opengl2:26", + "ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_RenderDrawData": [ + { + "args": "(ImDrawData* draw_data)", + "argsT": [ + { + "name": "draw_data", + "type": "ImDrawData*" + } + ], + "argsoriginal": "(ImDrawData* draw_data)", + "call_args": "(draw_data)", + "cimguiname": "ImGui_ImplOpenGL2_RenderDrawData", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_RenderDrawData", + "location": "imgui_impl_opengl2:27", + "ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData", + "ret": "void", + "signature": "(ImDrawData*)", + "stname": "" + } + ], + "ImGui_ImplOpenGL2_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL2_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL2_Shutdown", + "location": "imgui_impl_opengl2:25", + "ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_CreateDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects", + "location": "imgui_impl_opengl3:33", + "ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_CreateFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_CreateFontsTexture", + "location": "imgui_impl_opengl3:31", + "ov_cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture", + "ret": "bool", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_DestroyDeviceObjects": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects", + "location": "imgui_impl_opengl3:34", + "ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_DestroyFontsTexture": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_DestroyFontsTexture", + "location": "imgui_impl_opengl3:32", + "ov_cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_Init": [ + { + "args": "(const char* glsl_version)", + "argsT": [ + { + "name": "glsl_version", + "type": "const char*" + } + ], + "argsoriginal": "(const char* glsl_version=nullptr)", + "call_args": "(glsl_version)", + "cimguiname": "ImGui_ImplOpenGL3_Init", + "defaults": { + "glsl_version": "nullptr" + }, + "funcname": "ImGui_ImplOpenGL3_Init", + "location": "imgui_impl_opengl3:25", + "ov_cimguiname": "ImGui_ImplOpenGL3_Init", + "ret": "bool", + "signature": "(const char*)", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_NewFrame", + "location": "imgui_impl_opengl3:27", + "ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_RenderDrawData": [ + { + "args": "(ImDrawData* draw_data)", + "argsT": [ + { + "name": "draw_data", + "type": "ImDrawData*" + } + ], + "argsoriginal": "(ImDrawData* draw_data)", + "call_args": "(draw_data)", + "cimguiname": "ImGui_ImplOpenGL3_RenderDrawData", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_RenderDrawData", + "location": "imgui_impl_opengl3:28", + "ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData", + "ret": "void", + "signature": "(ImDrawData*)", + "stname": "" + } + ], + "ImGui_ImplOpenGL3_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplOpenGL3_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplOpenGL3_Shutdown", + "location": "imgui_impl_opengl3:26", + "ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForD3D": [ + { + "args": "(SDL_Window* window)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + } + ], + "argsoriginal": "(SDL_Window* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplSDL2_InitForD3D", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForD3D", + "location": "imgui_impl_sdl:29", + "ov_cimguiname": "ImGui_ImplSDL2_InitForD3D", + "ret": "bool", + "signature": "(SDL_Window*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForMetal": [ + { + "args": "(SDL_Window* window)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + } + ], + "argsoriginal": "(SDL_Window* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplSDL2_InitForMetal", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForMetal", + "location": "imgui_impl_sdl:30", + "ov_cimguiname": "ImGui_ImplSDL2_InitForMetal", + "ret": "bool", + "signature": "(SDL_Window*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForOpenGL": [ + { + "args": "(SDL_Window* window,void* sdl_gl_context)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + }, + { + "name": "sdl_gl_context", + "type": "void*" + } + ], + "argsoriginal": "(SDL_Window* window,void* sdl_gl_context)", + "call_args": "(window,sdl_gl_context)", + "cimguiname": "ImGui_ImplSDL2_InitForOpenGL", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForOpenGL", + "location": "imgui_impl_sdl:27", + "ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL", + "ret": "bool", + "signature": "(SDL_Window*,void*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForSDLRenderer": [ + { + "args": "(SDL_Window* window,SDL_Renderer* renderer)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + }, + { + "name": "renderer", + "type": "SDL_Renderer*" + } + ], + "argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)", + "call_args": "(window,renderer)", + "cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForSDLRenderer", + "location": "imgui_impl_sdl:31", + "ov_cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer", + "ret": "bool", + "signature": "(SDL_Window*,SDL_Renderer*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_InitForVulkan": [ + { + "args": "(SDL_Window* window)", + "argsT": [ + { + "name": "window", + "type": "SDL_Window*" + } + ], + "argsoriginal": "(SDL_Window* window)", + "call_args": "(window)", + "cimguiname": "ImGui_ImplSDL2_InitForVulkan", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_InitForVulkan", + "location": "imgui_impl_sdl:28", + "ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan", + "ret": "bool", + "signature": "(SDL_Window*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_NewFrame": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplSDL2_NewFrame", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_NewFrame", + "location": "imgui_impl_sdl:33", + "ov_cimguiname": "ImGui_ImplSDL2_NewFrame", + "ret": "void", + "signature": "()", + "stname": "" + } + ], + "ImGui_ImplSDL2_ProcessEvent": [ + { + "args": "(const SDL_Event* event)", + "argsT": [ + { + "name": "event", + "type": "const SDL_Event*" + } + ], + "argsoriginal": "(const SDL_Event* event)", + "call_args": "(event)", + "cimguiname": "ImGui_ImplSDL2_ProcessEvent", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_ProcessEvent", + "location": "imgui_impl_sdl:34", + "ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent", + "ret": "bool", + "signature": "(const SDL_Event*)", + "stname": "" + } + ], + "ImGui_ImplSDL2_Shutdown": [ + { + "args": "()", + "argsT": [], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGui_ImplSDL2_Shutdown", + "defaults": {}, + "funcname": "ImGui_ImplSDL2_Shutdown", + "location": "imgui_impl_sdl:32", + "ov_cimguiname": "ImGui_ImplSDL2_Shutdown", + "ret": "void", + "signature": "()", + "stname": "" + } + ] +} \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-master/impl_definitions.lua b/imgui-sys/third-party/imgui-master/impl_definitions.lua index 45b23e0..e5c6fec 100644 --- a/imgui-sys/third-party/imgui-master/impl_definitions.lua +++ b/imgui-sys/third-party/imgui-master/impl_definitions.lua @@ -1,3 +1,715 @@ local defs = {} +defs["ImGui_ImplGlfw_CharCallback"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["args"] = "(GLFWwindow* window,unsigned int c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["name"] = "c" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["type"] = "unsigned int" +defs["ImGui_ImplGlfw_CharCallback"][1]["argsoriginal"] = "(GLFWwindow* window,unsigned int c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)" +defs["ImGui_ImplGlfw_CharCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw:46" +defs["ImGui_ImplGlfw_CharCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CharCallback" +defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)" +defs["ImGui_ImplGlfw_CharCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CharCallback"]["(GLFWwindow*,unsigned int)"] = defs["ImGui_ImplGlfw_CharCallback"][1] +defs["ImGui_ImplGlfw_CursorEnterCallback"] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["args"] = "(GLFWwindow* window,int entered)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][2]["name"] = "entered" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int entered)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["call_args"] = "(window,entered)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CursorEnterCallback" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["funcname"] = "ImGui_ImplGlfw_CursorEnterCallback" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["location"] = "imgui_impl_glfw:41" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CursorEnterCallback" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["signature"] = "(GLFWwindow*,int)" +defs["ImGui_ImplGlfw_CursorEnterCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CursorEnterCallback"]["(GLFWwindow*,int)"] = defs["ImGui_ImplGlfw_CursorEnterCallback"][1] +defs["ImGui_ImplGlfw_CursorPosCallback"] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["args"] = "(GLFWwindow* window,double x,double y)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][2]["name"] = "x" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][2]["type"] = "double" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][3]["name"] = "y" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsT"][3]["type"] = "double" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double x,double y)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["call_args"] = "(window,x,y)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CursorPosCallback" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["funcname"] = "ImGui_ImplGlfw_CursorPosCallback" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["location"] = "imgui_impl_glfw:42" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CursorPosCallback" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["signature"] = "(GLFWwindow*,double,double)" +defs["ImGui_ImplGlfw_CursorPosCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_CursorPosCallback"]["(GLFWwindow*,double,double)"] = defs["ImGui_ImplGlfw_CursorPosCallback"][1] +defs["ImGui_ImplGlfw_InitForOpenGL"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["name"] = "install_callbacks" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw:27" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForOpenGL"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForOpenGL"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForOpenGL"][1] +defs["ImGui_ImplGlfw_InitForOther"] = {} +defs["ImGui_ImplGlfw_InitForOther"][1] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][2]["name"] = "install_callbacks" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForOther"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForOther"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForOther"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOther" +defs["ImGui_ImplGlfw_InitForOther"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForOther"][1]["funcname"] = "ImGui_ImplGlfw_InitForOther" +defs["ImGui_ImplGlfw_InitForOther"][1]["location"] = "imgui_impl_glfw:29" +defs["ImGui_ImplGlfw_InitForOther"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForOther" +defs["ImGui_ImplGlfw_InitForOther"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForOther"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForOther"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForOther"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForOther"][1] +defs["ImGui_ImplGlfw_InitForVulkan"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["name"] = "install_callbacks" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["type"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callbacks)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw:28" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForVulkan" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)" +defs["ImGui_ImplGlfw_InitForVulkan"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InitForVulkan"]["(GLFWwindow*,bool)"] = defs["ImGui_ImplGlfw_InitForVulkan"][1] +defs["ImGui_ImplGlfw_InstallCallbacks"] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["args"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["argsoriginal"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["call_args"] = "(window)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["cimguiname"] = "ImGui_ImplGlfw_InstallCallbacks" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["funcname"] = "ImGui_ImplGlfw_InstallCallbacks" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["location"] = "imgui_impl_glfw:36" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InstallCallbacks" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["signature"] = "(GLFWwindow*)" +defs["ImGui_ImplGlfw_InstallCallbacks"][1]["stname"] = "" +defs["ImGui_ImplGlfw_InstallCallbacks"]["(GLFWwindow*)"] = defs["ImGui_ImplGlfw_InstallCallbacks"][1] +defs["ImGui_ImplGlfw_KeyCallback"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["args"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["name"] = "key" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["name"] = "scancode" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["name"] = "action" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["name"] = "mods" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["type"] = "int" +defs["ImGui_ImplGlfw_KeyCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,action,mods)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw:45" +defs["ImGui_ImplGlfw_KeyCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_KeyCallback" +defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)" +defs["ImGui_ImplGlfw_KeyCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_KeyCallback"]["(GLFWwindow*,int,int,int,int)"] = defs["ImGui_ImplGlfw_KeyCallback"][1] +defs["ImGui_ImplGlfw_MonitorCallback"] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["args"] = "(GLFWmonitor* monitor,int event)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][1]["name"] = "monitor" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][1]["type"] = "GLFWmonitor*" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][2]["name"] = "event" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["argsoriginal"] = "(GLFWmonitor* monitor,int event)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["call_args"] = "(monitor,event)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MonitorCallback" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_MonitorCallback"][1]["funcname"] = "ImGui_ImplGlfw_MonitorCallback" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["location"] = "imgui_impl_glfw:47" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_MonitorCallback" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["signature"] = "(GLFWmonitor*,int)" +defs["ImGui_ImplGlfw_MonitorCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_MonitorCallback"]["(GLFWmonitor*,int)"] = defs["ImGui_ImplGlfw_MonitorCallback"][1] +defs["ImGui_ImplGlfw_MouseButtonCallback"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["args"] = "(GLFWwindow* window,int button,int action,int mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["name"] = "button" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["name"] = "action" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["name"] = "mods" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["type"] = "int" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int button,int action,int mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,action,mods)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw:43" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)" +defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_MouseButtonCallback"]["(GLFWwindow*,int,int,int)"] = defs["ImGui_ImplGlfw_MouseButtonCallback"][1] +defs["ImGui_ImplGlfw_NewFrame"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["cimguiname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw:31" +defs["ImGui_ImplGlfw_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_NewFrame" +defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplGlfw_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplGlfw_NewFrame"]["()"] = defs["ImGui_ImplGlfw_NewFrame"][1] +defs["ImGui_ImplGlfw_RestoreCallbacks"] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["args"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["argsoriginal"] = "(GLFWwindow* window)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["call_args"] = "(window)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["cimguiname"] = "ImGui_ImplGlfw_RestoreCallbacks" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["funcname"] = "ImGui_ImplGlfw_RestoreCallbacks" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["location"] = "imgui_impl_glfw:37" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_RestoreCallbacks" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["signature"] = "(GLFWwindow*)" +defs["ImGui_ImplGlfw_RestoreCallbacks"][1]["stname"] = "" +defs["ImGui_ImplGlfw_RestoreCallbacks"]["(GLFWwindow*)"] = defs["ImGui_ImplGlfw_RestoreCallbacks"][1] +defs["ImGui_ImplGlfw_ScrollCallback"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["args"] = "(GLFWwindow* window,double xoffset,double yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["name"] = "xoffset" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["type"] = "double" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["name"] = "yoffset" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["type"] = "double" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double xoffset,double yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw:44" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_ScrollCallback" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)" +defs["ImGui_ImplGlfw_ScrollCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_ScrollCallback"]["(GLFWwindow*,double,double)"] = defs["ImGui_ImplGlfw_ScrollCallback"][1] +defs["ImGui_ImplGlfw_Shutdown"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["cimguiname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw:30" +defs["ImGui_ImplGlfw_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_Shutdown" +defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplGlfw_Shutdown"]["()"] = defs["ImGui_ImplGlfw_Shutdown"][1] +defs["ImGui_ImplGlfw_WindowFocusCallback"] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["args"] = "(GLFWwindow* window,int focused)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][1] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][1]["type"] = "GLFWwindow*" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][2] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][2]["name"] = "focused" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsT"][2]["type"] = "int" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int focused)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["call_args"] = "(window,focused)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_WindowFocusCallback" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["defaults"] = {} +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["funcname"] = "ImGui_ImplGlfw_WindowFocusCallback" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["location"] = "imgui_impl_glfw:40" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_WindowFocusCallback" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["ret"] = "void" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["signature"] = "(GLFWwindow*,int)" +defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["stname"] = "" +defs["ImGui_ImplGlfw_WindowFocusCallback"]["(GLFWwindow*,int)"] = defs["ImGui_ImplGlfw_WindowFocusCallback"][1] +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2:32" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_CreateDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] +defs["ImGui_ImplOpenGL2_CreateFontsTexture"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2:30" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_CreateFontsTexture"]["()"] = defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2:33" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2:31" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_DestroyFontsTexture"]["()"] = defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] +defs["ImGui_ImplOpenGL2_Init"] = {} +defs["ImGui_ImplOpenGL2_Init"][1] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2:24" +defs["ImGui_ImplOpenGL2_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Init" +defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_Init"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_Init"]["()"] = defs["ImGui_ImplOpenGL2_Init"][1] +defs["ImGui_ImplOpenGL2_NewFrame"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2:26" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_NewFrame" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_NewFrame"]["()"] = defs["ImGui_ImplOpenGL2_NewFrame"][1] +defs["ImGui_ImplOpenGL2_RenderDrawData"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2:27" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)" +defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_RenderDrawData"]["(ImDrawData*)"] = defs["ImGui_ImplOpenGL2_RenderDrawData"][1] +defs["ImGui_ImplOpenGL2_Shutdown"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2:25" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Shutdown" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL2_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplOpenGL2_Shutdown"]["()"] = defs["ImGui_ImplOpenGL2_Shutdown"][1] +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3:33" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_CreateDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] +defs["ImGui_ImplOpenGL3_CreateFontsTexture"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3:31" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_CreateFontsTexture"]["()"] = defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3:34" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"]["()"] = defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3:32" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_DestroyFontsTexture"]["()"] = defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] +defs["ImGui_ImplOpenGL3_Init"] = {} +defs["ImGui_ImplOpenGL3_Init"][1] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)" +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["name"] = "glsl_version" +defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*" +defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=nullptr)" +defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)" +defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "nullptr" +defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3:25" +defs["ImGui_ImplOpenGL3_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Init" +defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool" +defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)" +defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1] +defs["ImGui_ImplOpenGL3_NewFrame"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3:27" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_NewFrame" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_NewFrame"]["()"] = defs["ImGui_ImplOpenGL3_NewFrame"][1] +defs["ImGui_ImplOpenGL3_RenderDrawData"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3:28" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)" +defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_RenderDrawData"]["(ImDrawData*)"] = defs["ImGui_ImplOpenGL3_RenderDrawData"][1] +defs["ImGui_ImplOpenGL3_Shutdown"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3:26" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Shutdown" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplOpenGL3_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplOpenGL3_Shutdown"]["()"] = defs["ImGui_ImplOpenGL3_Shutdown"][1] +defs["ImGui_ImplSDL2_InitForD3D"] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForD3D"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForD3D" +defs["ImGui_ImplSDL2_InitForD3D"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForD3D"][1]["funcname"] = "ImGui_ImplSDL2_InitForD3D" +defs["ImGui_ImplSDL2_InitForD3D"][1]["location"] = "imgui_impl_sdl:29" +defs["ImGui_ImplSDL2_InitForD3D"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForD3D" +defs["ImGui_ImplSDL2_InitForD3D"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForD3D"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForD3D"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForD3D"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForD3D"][1] +defs["ImGui_ImplSDL2_InitForMetal"] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForMetal"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForMetal" +defs["ImGui_ImplSDL2_InitForMetal"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForMetal"][1]["funcname"] = "ImGui_ImplSDL2_InitForMetal" +defs["ImGui_ImplSDL2_InitForMetal"][1]["location"] = "imgui_impl_sdl:30" +defs["ImGui_ImplSDL2_InitForMetal"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForMetal" +defs["ImGui_ImplSDL2_InitForMetal"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForMetal"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForMetal"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForMetal"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForMetal"][1] +defs["ImGui_ImplSDL2_InitForOpenGL"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["args"] = "(SDL_Window* window,void* sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["name"] = "sdl_gl_context" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["type"] = "void*" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl:27" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)" +defs["ImGui_ImplSDL2_InitForOpenGL"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForOpenGL"]["(SDL_Window*,void*)"] = defs["ImGui_ImplSDL2_InitForOpenGL"][1] +defs["ImGui_ImplSDL2_InitForSDLRenderer"] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["args"] = "(SDL_Window* window,SDL_Renderer* renderer)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][2] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][2]["name"] = "renderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsT"][2]["type"] = "SDL_Renderer*" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["argsoriginal"] = "(SDL_Window* window,SDL_Renderer* renderer)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["call_args"] = "(window,renderer)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForSDLRenderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["funcname"] = "ImGui_ImplSDL2_InitForSDLRenderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["location"] = "imgui_impl_sdl:31" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForSDLRenderer" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["signature"] = "(SDL_Window*,SDL_Renderer*)" +defs["ImGui_ImplSDL2_InitForSDLRenderer"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForSDLRenderer"]["(SDL_Window*,SDL_Renderer*)"] = defs["ImGui_ImplSDL2_InitForSDLRenderer"][1] +defs["ImGui_ImplSDL2_InitForVulkan"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["args"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["name"] = "window" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["type"] = "SDL_Window*" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl:28" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForVulkan" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)" +defs["ImGui_ImplSDL2_InitForVulkan"][1]["stname"] = "" +defs["ImGui_ImplSDL2_InitForVulkan"]["(SDL_Window*)"] = defs["ImGui_ImplSDL2_InitForVulkan"][1] +defs["ImGui_ImplSDL2_NewFrame"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["args"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["argsoriginal"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl:33" +defs["ImGui_ImplSDL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_NewFrame" +defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "()" +defs["ImGui_ImplSDL2_NewFrame"][1]["stname"] = "" +defs["ImGui_ImplSDL2_NewFrame"]["()"] = defs["ImGui_ImplSDL2_NewFrame"][1] +defs["ImGui_ImplSDL2_ProcessEvent"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["args"] = "(const SDL_Event* event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["name"] = "event" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["type"] = "const SDL_Event*" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsoriginal"] = "(const SDL_Event* event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["cimguiname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl:34" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_ProcessEvent" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(const SDL_Event*)" +defs["ImGui_ImplSDL2_ProcessEvent"][1]["stname"] = "" +defs["ImGui_ImplSDL2_ProcessEvent"]["(const SDL_Event*)"] = defs["ImGui_ImplSDL2_ProcessEvent"][1] +defs["ImGui_ImplSDL2_Shutdown"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["args"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["argsT"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["argsoriginal"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {} +defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl:32" +defs["ImGui_ImplSDL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_Shutdown" +defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void" +defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()" +defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = "" +defs["ImGui_ImplSDL2_Shutdown"]["()"] = defs["ImGui_ImplSDL2_Shutdown"][1] return defs \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-master/overloads.txt b/imgui-sys/third-party/imgui-master/overloads.txt index 39f35fc..0f2d997 100644 --- a/imgui-sys/third-party/imgui-master/overloads.txt +++ b/imgui-sys/third-party/imgui-master/overloads.txt @@ -1,138 +1,138 @@ ----------------overloadings--------------------------- ImColor_ImColor 5 -1 nil ImColor_ImColorNil () -2 nil ImColor_ImColorInt (int,int,int,int) -3 nil ImColor_ImColorU32 (ImU32) -4 nil ImColor_ImColorFloat (float,float,float,float) -5 nil ImColor_ImColorVec4 (const ImVec4) +1 nil ImColor_ImColor_Nil () +2 nil ImColor_ImColor_Float (float,float,float,float) +3 nil ImColor_ImColor_Vec4 (const ImVec4) +4 nil ImColor_ImColor_Int (int,int,int,int) +5 nil ImColor_ImColor_U32 (ImU32) ImDrawList_AddText 2 -1 void ImDrawList_AddTextVec2 (const ImVec2,ImU32,const char*,const char*) -2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) +1 void ImDrawList_AddText_Vec2 (const ImVec2,ImU32,const char*,const char*) +2 void ImDrawList_AddText_FontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*) ImGuiStoragePair_ImGuiStoragePair 3 -1 nil ImGuiStoragePair_ImGuiStoragePairInt (ImGuiID,int) -2 nil ImGuiStoragePair_ImGuiStoragePairFloat (ImGuiID,float) -3 nil ImGuiStoragePair_ImGuiStoragePairPtr (ImGuiID,void*) +1 nil ImGuiStoragePair_ImGuiStoragePair_Int (ImGuiID,int) +2 nil ImGuiStoragePair_ImGuiStoragePair_Float (ImGuiID,float) +3 nil ImGuiStoragePair_ImGuiStoragePair_Ptr (ImGuiID,void*) ImGuiTextRange_ImGuiTextRange 2 -1 nil ImGuiTextRange_ImGuiTextRangeNil () -2 nil ImGuiTextRange_ImGuiTextRangeStr (const char*,const char*) +1 nil ImGuiTextRange_ImGuiTextRange_Nil () +2 nil ImGuiTextRange_ImGuiTextRange_Str (const char*,const char*) ImVec2_ImVec2 2 -1 nil ImVec2_ImVec2Nil () -2 nil ImVec2_ImVec2Float (float,float) +1 nil ImVec2_ImVec2_Nil () +2 nil ImVec2_ImVec2_Float (float,float) ImVec4_ImVec4 2 -1 nil ImVec4_ImVec4Nil () -2 nil ImVec4_ImVec4Float (float,float,float,float) +1 nil ImVec4_ImVec4_Nil () +2 nil ImVec4_ImVec4_Float (float,float,float,float) ImVector_ImVector 2 -1 nil ImVector_ImVectorNil () -2 nil ImVector_ImVectorVector (const ImVector) +1 nil ImVector_ImVector_Nil () +2 nil ImVector_ImVector_Vector_T_ (const ImVector_T ) ImVector_back 2 -1 T* ImVector_backNil () -2 const T* ImVector_back_const ()const +1 T* ImVector_back_Nil () +2 const T* ImVector_back__const ()const ImVector_begin 2 -1 T* ImVector_beginNil () -2 const T* ImVector_begin_const ()const +1 T* ImVector_begin_Nil () +2 const T* ImVector_begin__const ()const ImVector_end 2 -1 T* ImVector_endNil () -2 const T* ImVector_end_const ()const +1 T* ImVector_end_Nil () +2 const T* ImVector_end__const ()const ImVector_erase 2 -1 T* ImVector_eraseNil (const T*) -2 T* ImVector_eraseTPtr (const T*,const T*) +1 T* ImVector_erase_Nil (const T*) +2 T* ImVector_erase_TPtr (const T*,const T*) ImVector_find 2 -1 T* ImVector_findNil (const T) -2 const T* ImVector_find_const (const T)const +1 T* ImVector_find_Nil (const T) +2 const T* ImVector_find__const (const T)const ImVector_front 2 -1 T* ImVector_frontNil () -2 const T* ImVector_front_const ()const +1 T* ImVector_front_Nil () +2 const T* ImVector_front__const ()const ImVector_resize 2 -1 void ImVector_resizeNil (int) -2 void ImVector_resizeT (int,const T) +1 void ImVector_resize_Nil (int) +2 void ImVector_resize_T (int,const T) igBeginChild 2 -1 bool igBeginChildStr (const char*,const ImVec2,bool,ImGuiWindowFlags) -2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) +1 bool igBeginChild_Str (const char*,const ImVec2,bool,ImGuiWindowFlags) +2 bool igBeginChild_ID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) igCheckboxFlags 2 -1 bool igCheckboxFlagsIntPtr (const char*,int*,int) -2 bool igCheckboxFlagsUintPtr (const char*,unsigned int*,unsigned int) +1 bool igCheckboxFlags_IntPtr (const char*,int*,int) +2 bool igCheckboxFlags_UintPtr (const char*,unsigned int*,unsigned int) igCollapsingHeader 2 -1 bool igCollapsingHeaderTreeNodeFlags (const char*,ImGuiTreeNodeFlags) -2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags) +1 bool igCollapsingHeader_TreeNodeFlags (const char*,ImGuiTreeNodeFlags) +2 bool igCollapsingHeader_BoolPtr (const char*,bool*,ImGuiTreeNodeFlags) igCombo 3 -1 bool igComboStr_arr (const char*,int*,const char* const[],int,int) -2 bool igComboStr (const char*,int*,const char*,int) -3 bool igComboFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) +1 bool igCombo_Str_arr (const char*,int*,const char* const[],int,int) +2 bool igCombo_Str (const char*,int*,const char*,int) +3 bool igCombo_FnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) igGetColorU32 3 -1 ImU32 igGetColorU32Col (ImGuiCol,float) -2 ImU32 igGetColorU32Vec4 (const ImVec4) -3 ImU32 igGetColorU32U32 (ImU32) +1 ImU32 igGetColorU32_Col (ImGuiCol,float) +2 ImU32 igGetColorU32_Vec4 (const ImVec4) +3 ImU32 igGetColorU32_U32 (ImU32) igGetID 3 -1 ImGuiID igGetIDStr (const char*) -2 ImGuiID igGetIDStrStr (const char*,const char*) -3 ImGuiID igGetIDPtr (const void*) +1 ImGuiID igGetID_Str (const char*) +2 ImGuiID igGetID_StrStr (const char*,const char*) +3 ImGuiID igGetID_Ptr (const void*) igIsRectVisible 2 -1 bool igIsRectVisibleNil (const ImVec2) -2 bool igIsRectVisibleVec2 (const ImVec2,const ImVec2) +1 bool igIsRectVisible_Nil (const ImVec2) +2 bool igIsRectVisible_Vec2 (const ImVec2,const ImVec2) igListBox 2 -1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int) -2 bool igListBoxFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) +1 bool igListBox_Str_arr (const char*,int*,const char* const[],int,int) +2 bool igListBox_FnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) igMenuItem 2 -1 bool igMenuItemBool (const char*,const char*,bool,bool) -2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) +1 bool igMenuItem_Bool (const char*,const char*,bool,bool) +2 bool igMenuItem_BoolPtr (const char*,const char*,bool*,bool) igOpenPopup 2 -1 void igOpenPopupStr (const char*,ImGuiPopupFlags) -2 void igOpenPopupID (ImGuiID,ImGuiPopupFlags) +1 void igOpenPopup_Str (const char*,ImGuiPopupFlags) +2 void igOpenPopup_ID (ImGuiID,ImGuiPopupFlags) igPlotHistogram 2 -1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) -2 void igPlotHistogramFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +1 void igPlotHistogram_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) +2 void igPlotHistogram_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) igPlotLines 2 -1 void igPlotLinesFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) -2 void igPlotLinesFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +1 void igPlotLines_FloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) +2 void igPlotLines_FnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) igPushID 4 -1 void igPushIDStr (const char*) -2 void igPushIDStrStr (const char*,const char*) -3 void igPushIDPtr (const void*) -4 void igPushIDInt (int) +1 void igPushID_Str (const char*) +2 void igPushID_StrStr (const char*,const char*) +3 void igPushID_Ptr (const void*) +4 void igPushID_Int (int) igPushStyleColor 2 -1 void igPushStyleColorU32 (ImGuiCol,ImU32) -2 void igPushStyleColorVec4 (ImGuiCol,const ImVec4) +1 void igPushStyleColor_U32 (ImGuiCol,ImU32) +2 void igPushStyleColor_Vec4 (ImGuiCol,const ImVec4) igPushStyleVar 2 -1 void igPushStyleVarFloat (ImGuiStyleVar,float) -2 void igPushStyleVarVec2 (ImGuiStyleVar,const ImVec2) +1 void igPushStyleVar_Float (ImGuiStyleVar,float) +2 void igPushStyleVar_Vec2 (ImGuiStyleVar,const ImVec2) igRadioButton 2 -1 bool igRadioButtonBool (const char*,bool) -2 bool igRadioButtonIntPtr (const char*,int*,int) +1 bool igRadioButton_Bool (const char*,bool) +2 bool igRadioButton_IntPtr (const char*,int*,int) igSelectable 2 -1 bool igSelectableBool (const char*,bool,ImGuiSelectableFlags,const ImVec2) -2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2) +1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2) +2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2) igSetWindowCollapsed 2 -1 void igSetWindowCollapsedBool (bool,ImGuiCond) -2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond) +1 void igSetWindowCollapsed_Bool (bool,ImGuiCond) +2 void igSetWindowCollapsed_Str (const char*,bool,ImGuiCond) igSetWindowFocus 2 -1 void igSetWindowFocusNil () -2 void igSetWindowFocusStr (const char*) +1 void igSetWindowFocus_Nil () +2 void igSetWindowFocus_Str (const char*) igSetWindowPos 2 -1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond) -2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond) +1 void igSetWindowPos_Vec2 (const ImVec2,ImGuiCond) +2 void igSetWindowPos_Str (const char*,const ImVec2,ImGuiCond) igSetWindowSize 2 -1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond) -2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond) +1 void igSetWindowSize_Vec2 (const ImVec2,ImGuiCond) +2 void igSetWindowSize_Str (const char*,const ImVec2,ImGuiCond) igTreeNode 3 -1 bool igTreeNodeStr (const char*) -2 bool igTreeNodeStrStr (const char*,const char*,...) -3 bool igTreeNodePtr (const void*,const char*,...) +1 bool igTreeNode_Str (const char*) +2 bool igTreeNode_StrStr (const char*,const char*,...) +3 bool igTreeNode_Ptr (const void*,const char*,...) igTreeNodeEx 3 -1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags) -2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...) -3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...) +1 bool igTreeNodeEx_Str (const char*,ImGuiTreeNodeFlags) +2 bool igTreeNodeEx_StrStr (const char*,ImGuiTreeNodeFlags,const char*,...) +3 bool igTreeNodeEx_Ptr (const void*,ImGuiTreeNodeFlags,const char*,...) igTreeNodeExV 2 -1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list) -2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list) +1 bool igTreeNodeExV_Str (const char*,ImGuiTreeNodeFlags,const char*,va_list) +2 bool igTreeNodeExV_Ptr (const void*,ImGuiTreeNodeFlags,const char*,va_list) igTreeNodeV 2 -1 bool igTreeNodeVStr (const char*,const char*,va_list) -2 bool igTreeNodeVPtr (const void*,const char*,va_list) +1 bool igTreeNodeV_Str (const char*,const char*,va_list) +2 bool igTreeNodeV_Ptr (const void*,const char*,va_list) igTreePush 2 -1 void igTreePushStr (const char*) -2 void igTreePushPtr (const void*) +1 void igTreePush_Str (const char*) +2 void igTreePush_Ptr (const void*) igValue 4 -1 void igValueBool (const char*,bool) -2 void igValueInt (const char*,int) -3 void igValueUint (const char*,unsigned int) -4 void igValueFloat (const char*,float,const char*) +1 void igValue_Bool (const char*,bool) +2 void igValue_Int (const char*,int) +3 void igValue_Uint (const char*,unsigned int) +4 void igValue_Float (const char*,float,const char*) 95 overloaded \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-master/structs_and_enums.json b/imgui-sys/third-party/imgui-master/structs_and_enums.json index 79ff009..41dc547 100644 --- a/imgui-sys/third-party/imgui-master/structs_and_enums.json +++ b/imgui-sys/third-party/imgui-master/structs_and_enums.json @@ -944,6 +944,11 @@ "name": "ImGuiHoveredFlags_AllowWhenDisabled", "value": "1 << 9" }, + { + "calc_value": 1024, + "name": "ImGuiHoveredFlags_NoNavOverride", + "value": "1 << 10" + }, { "calc_value": 416, "name": "ImGuiHoveredFlags_RectOnly", @@ -953,6 +958,21 @@ "calc_value": 3, "name": "ImGuiHoveredFlags_RootAndChildWindows", "value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" + }, + { + "calc_value": 2048, + "name": "ImGuiHoveredFlags_DelayNormal", + "value": "1 << 11" + }, + { + "calc_value": 4096, + "name": "ImGuiHoveredFlags_DelayShort", + "value": "1 << 12" + }, + { + "calc_value": 8192, + "name": "ImGuiHoveredFlags_NoSharedDelay", + "value": "1 << 13" } ], "ImGuiInputTextFlags_": [ @@ -1060,150 +1080,783 @@ "calc_value": 524288, "name": "ImGuiInputTextFlags_CallbackEdit", "value": "1 << 19" + }, + { + "calc_value": 1048576, + "name": "ImGuiInputTextFlags_EscapeClearsAll", + "value": "1 << 20" } ], - "ImGuiKeyModFlags_": [ + "ImGuiKey": [ { "calc_value": 0, - "name": "ImGuiKeyModFlags_None", + "name": "ImGuiKey_None", "value": "0" }, { - "calc_value": 1, - "name": "ImGuiKeyModFlags_Ctrl", - "value": "1 << 0" - }, - { - "calc_value": 2, - "name": "ImGuiKeyModFlags_Shift", - "value": "1 << 1" - }, - { - "calc_value": 4, - "name": "ImGuiKeyModFlags_Alt", - "value": "1 << 2" - }, - { - "calc_value": 8, - "name": "ImGuiKeyModFlags_Super", - "value": "1 << 3" - } - ], - "ImGuiKey_": [ - { - "calc_value": 0, + "calc_value": 512, "name": "ImGuiKey_Tab", + "value": "512" + }, + { + "calc_value": 513, + "name": "ImGuiKey_LeftArrow", + "value": "513" + }, + { + "calc_value": 514, + "name": "ImGuiKey_RightArrow", + "value": "514" + }, + { + "calc_value": 515, + "name": "ImGuiKey_UpArrow", + "value": "515" + }, + { + "calc_value": 516, + "name": "ImGuiKey_DownArrow", + "value": "516" + }, + { + "calc_value": 517, + "name": "ImGuiKey_PageUp", + "value": "517" + }, + { + "calc_value": 518, + "name": "ImGuiKey_PageDown", + "value": "518" + }, + { + "calc_value": 519, + "name": "ImGuiKey_Home", + "value": "519" + }, + { + "calc_value": 520, + "name": "ImGuiKey_End", + "value": "520" + }, + { + "calc_value": 521, + "name": "ImGuiKey_Insert", + "value": "521" + }, + { + "calc_value": 522, + "name": "ImGuiKey_Delete", + "value": "522" + }, + { + "calc_value": 523, + "name": "ImGuiKey_Backspace", + "value": "523" + }, + { + "calc_value": 524, + "name": "ImGuiKey_Space", + "value": "524" + }, + { + "calc_value": 525, + "name": "ImGuiKey_Enter", + "value": "525" + }, + { + "calc_value": 526, + "name": "ImGuiKey_Escape", + "value": "526" + }, + { + "calc_value": 527, + "name": "ImGuiKey_LeftCtrl", + "value": "527" + }, + { + "calc_value": 528, + "name": "ImGuiKey_LeftShift", + "value": "528" + }, + { + "calc_value": 529, + "name": "ImGuiKey_LeftAlt", + "value": "529" + }, + { + "calc_value": 530, + "name": "ImGuiKey_LeftSuper", + "value": "530" + }, + { + "calc_value": 531, + "name": "ImGuiKey_RightCtrl", + "value": "531" + }, + { + "calc_value": 532, + "name": "ImGuiKey_RightShift", + "value": "532" + }, + { + "calc_value": 533, + "name": "ImGuiKey_RightAlt", + "value": "533" + }, + { + "calc_value": 534, + "name": "ImGuiKey_RightSuper", + "value": "534" + }, + { + "calc_value": 535, + "name": "ImGuiKey_Menu", + "value": "535" + }, + { + "calc_value": 536, + "name": "ImGuiKey_0", + "value": "536" + }, + { + "calc_value": 537, + "name": "ImGuiKey_1", + "value": "537" + }, + { + "calc_value": 538, + "name": "ImGuiKey_2", + "value": "538" + }, + { + "calc_value": 539, + "name": "ImGuiKey_3", + "value": "539" + }, + { + "calc_value": 540, + "name": "ImGuiKey_4", + "value": "540" + }, + { + "calc_value": 541, + "name": "ImGuiKey_5", + "value": "541" + }, + { + "calc_value": 542, + "name": "ImGuiKey_6", + "value": "542" + }, + { + "calc_value": 543, + "name": "ImGuiKey_7", + "value": "543" + }, + { + "calc_value": 544, + "name": "ImGuiKey_8", + "value": "544" + }, + { + "calc_value": 545, + "name": "ImGuiKey_9", + "value": "545" + }, + { + "calc_value": 546, + "name": "ImGuiKey_A", + "value": "546" + }, + { + "calc_value": 547, + "name": "ImGuiKey_B", + "value": "547" + }, + { + "calc_value": 548, + "name": "ImGuiKey_C", + "value": "548" + }, + { + "calc_value": 549, + "name": "ImGuiKey_D", + "value": "549" + }, + { + "calc_value": 550, + "name": "ImGuiKey_E", + "value": "550" + }, + { + "calc_value": 551, + "name": "ImGuiKey_F", + "value": "551" + }, + { + "calc_value": 552, + "name": "ImGuiKey_G", + "value": "552" + }, + { + "calc_value": 553, + "name": "ImGuiKey_H", + "value": "553" + }, + { + "calc_value": 554, + "name": "ImGuiKey_I", + "value": "554" + }, + { + "calc_value": 555, + "name": "ImGuiKey_J", + "value": "555" + }, + { + "calc_value": 556, + "name": "ImGuiKey_K", + "value": "556" + }, + { + "calc_value": 557, + "name": "ImGuiKey_L", + "value": "557" + }, + { + "calc_value": 558, + "name": "ImGuiKey_M", + "value": "558" + }, + { + "calc_value": 559, + "name": "ImGuiKey_N", + "value": "559" + }, + { + "calc_value": 560, + "name": "ImGuiKey_O", + "value": "560" + }, + { + "calc_value": 561, + "name": "ImGuiKey_P", + "value": "561" + }, + { + "calc_value": 562, + "name": "ImGuiKey_Q", + "value": "562" + }, + { + "calc_value": 563, + "name": "ImGuiKey_R", + "value": "563" + }, + { + "calc_value": 564, + "name": "ImGuiKey_S", + "value": "564" + }, + { + "calc_value": 565, + "name": "ImGuiKey_T", + "value": "565" + }, + { + "calc_value": 566, + "name": "ImGuiKey_U", + "value": "566" + }, + { + "calc_value": 567, + "name": "ImGuiKey_V", + "value": "567" + }, + { + "calc_value": 568, + "name": "ImGuiKey_W", + "value": "568" + }, + { + "calc_value": 569, + "name": "ImGuiKey_X", + "value": "569" + }, + { + "calc_value": 570, + "name": "ImGuiKey_Y", + "value": "570" + }, + { + "calc_value": 571, + "name": "ImGuiKey_Z", + "value": "571" + }, + { + "calc_value": 572, + "name": "ImGuiKey_F1", + "value": "572" + }, + { + "calc_value": 573, + "name": "ImGuiKey_F2", + "value": "573" + }, + { + "calc_value": 574, + "name": "ImGuiKey_F3", + "value": "574" + }, + { + "calc_value": 575, + "name": "ImGuiKey_F4", + "value": "575" + }, + { + "calc_value": 576, + "name": "ImGuiKey_F5", + "value": "576" + }, + { + "calc_value": 577, + "name": "ImGuiKey_F6", + "value": "577" + }, + { + "calc_value": 578, + "name": "ImGuiKey_F7", + "value": "578" + }, + { + "calc_value": 579, + "name": "ImGuiKey_F8", + "value": "579" + }, + { + "calc_value": 580, + "name": "ImGuiKey_F9", + "value": "580" + }, + { + "calc_value": 581, + "name": "ImGuiKey_F10", + "value": "581" + }, + { + "calc_value": 582, + "name": "ImGuiKey_F11", + "value": "582" + }, + { + "calc_value": 583, + "name": "ImGuiKey_F12", + "value": "583" + }, + { + "calc_value": 584, + "name": "ImGuiKey_Apostrophe", + "value": "584" + }, + { + "calc_value": 585, + "name": "ImGuiKey_Comma", + "value": "585" + }, + { + "calc_value": 586, + "name": "ImGuiKey_Minus", + "value": "586" + }, + { + "calc_value": 587, + "name": "ImGuiKey_Period", + "value": "587" + }, + { + "calc_value": 588, + "name": "ImGuiKey_Slash", + "value": "588" + }, + { + "calc_value": 589, + "name": "ImGuiKey_Semicolon", + "value": "589" + }, + { + "calc_value": 590, + "name": "ImGuiKey_Equal", + "value": "590" + }, + { + "calc_value": 591, + "name": "ImGuiKey_LeftBracket", + "value": "591" + }, + { + "calc_value": 592, + "name": "ImGuiKey_Backslash", + "value": "592" + }, + { + "calc_value": 593, + "name": "ImGuiKey_RightBracket", + "value": "593" + }, + { + "calc_value": 594, + "name": "ImGuiKey_GraveAccent", + "value": "594" + }, + { + "calc_value": 595, + "name": "ImGuiKey_CapsLock", + "value": "595" + }, + { + "calc_value": 596, + "name": "ImGuiKey_ScrollLock", + "value": "596" + }, + { + "calc_value": 597, + "name": "ImGuiKey_NumLock", + "value": "597" + }, + { + "calc_value": 598, + "name": "ImGuiKey_PrintScreen", + "value": "598" + }, + { + "calc_value": 599, + "name": "ImGuiKey_Pause", + "value": "599" + }, + { + "calc_value": 600, + "name": "ImGuiKey_Keypad0", + "value": "600" + }, + { + "calc_value": 601, + "name": "ImGuiKey_Keypad1", + "value": "601" + }, + { + "calc_value": 602, + "name": "ImGuiKey_Keypad2", + "value": "602" + }, + { + "calc_value": 603, + "name": "ImGuiKey_Keypad3", + "value": "603" + }, + { + "calc_value": 604, + "name": "ImGuiKey_Keypad4", + "value": "604" + }, + { + "calc_value": 605, + "name": "ImGuiKey_Keypad5", + "value": "605" + }, + { + "calc_value": 606, + "name": "ImGuiKey_Keypad6", + "value": "606" + }, + { + "calc_value": 607, + "name": "ImGuiKey_Keypad7", + "value": "607" + }, + { + "calc_value": 608, + "name": "ImGuiKey_Keypad8", + "value": "608" + }, + { + "calc_value": 609, + "name": "ImGuiKey_Keypad9", + "value": "609" + }, + { + "calc_value": 610, + "name": "ImGuiKey_KeypadDecimal", + "value": "610" + }, + { + "calc_value": 611, + "name": "ImGuiKey_KeypadDivide", + "value": "611" + }, + { + "calc_value": 612, + "name": "ImGuiKey_KeypadMultiply", + "value": "612" + }, + { + "calc_value": 613, + "name": "ImGuiKey_KeypadSubtract", + "value": "613" + }, + { + "calc_value": 614, + "name": "ImGuiKey_KeypadAdd", + "value": "614" + }, + { + "calc_value": 615, + "name": "ImGuiKey_KeypadEnter", + "value": "615" + }, + { + "calc_value": 616, + "name": "ImGuiKey_KeypadEqual", + "value": "616" + }, + { + "calc_value": 617, + "name": "ImGuiKey_GamepadStart", + "value": "617" + }, + { + "calc_value": 618, + "name": "ImGuiKey_GamepadBack", + "value": "618" + }, + { + "calc_value": 619, + "name": "ImGuiKey_GamepadFaceLeft", + "value": "619" + }, + { + "calc_value": 620, + "name": "ImGuiKey_GamepadFaceRight", + "value": "620" + }, + { + "calc_value": 621, + "name": "ImGuiKey_GamepadFaceUp", + "value": "621" + }, + { + "calc_value": 622, + "name": "ImGuiKey_GamepadFaceDown", + "value": "622" + }, + { + "calc_value": 623, + "name": "ImGuiKey_GamepadDpadLeft", + "value": "623" + }, + { + "calc_value": 624, + "name": "ImGuiKey_GamepadDpadRight", + "value": "624" + }, + { + "calc_value": 625, + "name": "ImGuiKey_GamepadDpadUp", + "value": "625" + }, + { + "calc_value": 626, + "name": "ImGuiKey_GamepadDpadDown", + "value": "626" + }, + { + "calc_value": 627, + "name": "ImGuiKey_GamepadL1", + "value": "627" + }, + { + "calc_value": 628, + "name": "ImGuiKey_GamepadR1", + "value": "628" + }, + { + "calc_value": 629, + "name": "ImGuiKey_GamepadL2", + "value": "629" + }, + { + "calc_value": 630, + "name": "ImGuiKey_GamepadR2", + "value": "630" + }, + { + "calc_value": 631, + "name": "ImGuiKey_GamepadL3", + "value": "631" + }, + { + "calc_value": 632, + "name": "ImGuiKey_GamepadR3", + "value": "632" + }, + { + "calc_value": 633, + "name": "ImGuiKey_GamepadLStickLeft", + "value": "633" + }, + { + "calc_value": 634, + "name": "ImGuiKey_GamepadLStickRight", + "value": "634" + }, + { + "calc_value": 635, + "name": "ImGuiKey_GamepadLStickUp", + "value": "635" + }, + { + "calc_value": 636, + "name": "ImGuiKey_GamepadLStickDown", + "value": "636" + }, + { + "calc_value": 637, + "name": "ImGuiKey_GamepadRStickLeft", + "value": "637" + }, + { + "calc_value": 638, + "name": "ImGuiKey_GamepadRStickRight", + "value": "638" + }, + { + "calc_value": 639, + "name": "ImGuiKey_GamepadRStickUp", + "value": "639" + }, + { + "calc_value": 640, + "name": "ImGuiKey_GamepadRStickDown", + "value": "640" + }, + { + "calc_value": 641, + "name": "ImGuiKey_MouseLeft", + "value": "641" + }, + { + "calc_value": 642, + "name": "ImGuiKey_MouseRight", + "value": "642" + }, + { + "calc_value": 643, + "name": "ImGuiKey_MouseMiddle", + "value": "643" + }, + { + "calc_value": 644, + "name": "ImGuiKey_MouseX1", + "value": "644" + }, + { + "calc_value": 645, + "name": "ImGuiKey_MouseX2", + "value": "645" + }, + { + "calc_value": 646, + "name": "ImGuiKey_MouseWheelX", + "value": "646" + }, + { + "calc_value": 647, + "name": "ImGuiKey_MouseWheelY", + "value": "647" + }, + { + "calc_value": 648, + "name": "ImGuiKey_ReservedForModCtrl", + "value": "648" + }, + { + "calc_value": 649, + "name": "ImGuiKey_ReservedForModShift", + "value": "649" + }, + { + "calc_value": 650, + "name": "ImGuiKey_ReservedForModAlt", + "value": "650" + }, + { + "calc_value": 651, + "name": "ImGuiKey_ReservedForModSuper", + "value": "651" + }, + { + "calc_value": 652, + "name": "ImGuiKey_COUNT", + "value": "652" + }, + { + "calc_value": 0, + "name": "ImGuiMod_None", "value": "0" }, { - "calc_value": 1, - "name": "ImGuiKey_LeftArrow", - "value": "1" + "calc_value": 4096, + "name": "ImGuiMod_Ctrl", + "value": "1 << 12" }, { - "calc_value": 2, - "name": "ImGuiKey_RightArrow", - "value": "2" + "calc_value": 8192, + "name": "ImGuiMod_Shift", + "value": "1 << 13" }, { - "calc_value": 3, - "name": "ImGuiKey_UpArrow", - "value": "3" + "calc_value": 16384, + "name": "ImGuiMod_Alt", + "value": "1 << 14" }, { - "calc_value": 4, - "name": "ImGuiKey_DownArrow", - "value": "4" + "calc_value": 32768, + "name": "ImGuiMod_Super", + "value": "1 << 15" }, { - "calc_value": 5, - "name": "ImGuiKey_PageUp", - "value": "5" + "calc_value": 61440, + "name": "ImGuiMod_Mask_", + "value": "0xF000" }, { - "calc_value": 6, - "name": "ImGuiKey_PageDown", - "value": "6" + "calc_value": 4096, + "name": "ImGuiMod_Shortcut", + "value": "ImGuiMod_Ctrl" }, { - "calc_value": 7, - "name": "ImGuiKey_Home", - "value": "7" + "calc_value": 512, + "name": "ImGuiKey_NamedKey_BEGIN", + "value": "512" }, { - "calc_value": 8, - "name": "ImGuiKey_End", - "value": "8" + "calc_value": 652, + "name": "ImGuiKey_NamedKey_END", + "value": "ImGuiKey_COUNT" }, { - "calc_value": 9, - "name": "ImGuiKey_Insert", - "value": "9" + "calc_value": 140, + "name": "ImGuiKey_NamedKey_COUNT", + "value": "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN" }, { - "calc_value": 10, - "name": "ImGuiKey_Delete", - "value": "10" + "calc_value": 652, + "name": "ImGuiKey_KeysData_SIZE", + "value": "ImGuiKey_COUNT" }, { - "calc_value": 11, - "name": "ImGuiKey_Backspace", - "value": "11" - }, - { - "calc_value": 12, - "name": "ImGuiKey_Space", - "value": "12" - }, - { - "calc_value": 13, - "name": "ImGuiKey_Enter", - "value": "13" - }, - { - "calc_value": 14, - "name": "ImGuiKey_Escape", - "value": "14" - }, - { - "calc_value": 15, - "name": "ImGuiKey_KeyPadEnter", - "value": "15" - }, - { - "calc_value": 16, - "name": "ImGuiKey_A", - "value": "16" - }, - { - "calc_value": 17, - "name": "ImGuiKey_C", - "value": "17" - }, - { - "calc_value": 18, - "name": "ImGuiKey_V", - "value": "18" - }, - { - "calc_value": 19, - "name": "ImGuiKey_X", - "value": "19" - }, - { - "calc_value": 20, - "name": "ImGuiKey_Y", - "value": "20" - }, - { - "calc_value": 21, - "name": "ImGuiKey_Z", - "value": "21" - }, - { - "calc_value": 22, - "name": "ImGuiKey_COUNT", - "value": "22" + "calc_value": 0, + "name": "ImGuiKey_KeysData_OFFSET", + "value": "0" } ], "ImGuiMouseButton_": [ @@ -1285,7 +1938,7 @@ "value": "9" } ], - "ImGuiNavInput_": [ + "ImGuiNavInput": [ { "calc_value": 0, "name": "ImGuiNavInput_Activate", @@ -1368,33 +2021,8 @@ }, { "calc_value": 16, - "name": "ImGuiNavInput_KeyLeft_", - "value": "16" - }, - { - "calc_value": 17, - "name": "ImGuiNavInput_KeyRight_", - "value": "17" - }, - { - "calc_value": 18, - "name": "ImGuiNavInput_KeyUp_", - "value": "18" - }, - { - "calc_value": 19, - "name": "ImGuiNavInput_KeyDown_", - "value": "19" - }, - { - "calc_value": 20, "name": "ImGuiNavInput_COUNT", - "value": "20" - }, - { - "calc_value": 16, - "name": "ImGuiNavInput_InternalStart_", - "value": "ImGuiNavInput_KeyLeft_" + "value": "16" } ], "ImGuiPopupFlags_": [ @@ -2381,74 +3009,77 @@ } ] }, - "enumtypes": [], + "enumtypes": { + "ImGuiKey": "int" + }, "locations": { - "ImColor": "imgui:2241", - "ImDrawChannel": "imgui:2331", - "ImDrawCmd": "imgui:2290", - "ImDrawCmdHeader": "imgui:2323", - "ImDrawData": "imgui:2521", - "ImDrawFlags_": "imgui:2357", - "ImDrawList": "imgui:2395", - "ImDrawListFlags_": "imgui:2377", - "ImDrawListSplitter": "imgui:2340", - "ImDrawVert": "imgui:2308", - "ImFont": "imgui:2739", - "ImFontAtlas": "imgui:2637", - "ImFontAtlasCustomRect": "imgui:2599", - "ImFontAtlasFlags_": "imgui:2612", - "ImFontConfig": "imgui:2543", - "ImFontGlyph": "imgui:2572", - "ImFontGlyphRangesBuilder": "imgui:2584", - "ImGuiBackendFlags_": "imgui:1442", - "ImGuiButtonFlags_": "imgui:1549", - "ImGuiCol_": "imgui:1452", - "ImGuiColorEditFlags_": "imgui:1562", - "ImGuiComboFlags_": "imgui:1076", - "ImGuiCond_": "imgui:1654", - "ImGuiConfigFlags_": "imgui:1426", - "ImGuiDataType_": "imgui:1319", - "ImGuiDir_": "imgui:1335", - "ImGuiDragDropFlags_": "imgui:1297", - "ImGuiFocusedFlags_": "imgui:1265", - "ImGuiHoveredFlags_": "imgui:1279", - "ImGuiIO": "imgui:1820", - "ImGuiInputTextCallbackData": "imgui:1969", - "ImGuiInputTextFlags_": "imgui:989", - "ImGuiKeyModFlags_": "imgui:1382", - "ImGuiKey_": "imgui:1354", - "ImGuiListClipper": "imgui:2193", - "ImGuiMouseButton_": "imgui:1626", - "ImGuiMouseCursor_": "imgui:1636", - "ImGuiNavInput_": "imgui:1395", - "ImGuiOnceUponAFrame": "imgui:2068", - "ImGuiPayload": "imgui:2009", - "ImGuiPopupFlags_": "imgui:1049", - "ImGuiSelectableFlags_": "imgui:1065", - "ImGuiSizeCallbackData": "imgui:2000", - "ImGuiSliderFlags_": "imgui:1609", - "ImGuiSortDirection_": "imgui:1346", - "ImGuiStorage": "imgui:2130", - "ImGuiStoragePair": "imgui:2133", - "ImGuiStyle": "imgui:1765", - "ImGuiStyleVar_": "imgui:1517", - "ImGuiTabBarFlags_": "imgui:1090", - "ImGuiTabItemFlags_": "imgui:1106", - "ImGuiTableBgTarget_": "imgui:1256", - "ImGuiTableColumnFlags_": "imgui:1199", - "ImGuiTableColumnSortSpecs": "imgui:2031", - "ImGuiTableFlags_": "imgui:1142", - "ImGuiTableRowFlags_": "imgui:1241", - "ImGuiTableSortSpecs": "imgui:2045", - "ImGuiTextBuffer": "imgui:2103", - "ImGuiTextFilter": "imgui:2076", - "ImGuiTextRange": "imgui:2086", - "ImGuiTreeNodeFlags_": "imgui:1020", - "ImGuiViewport": "imgui:2810", - "ImGuiViewportFlags_": "imgui:2795", - "ImGuiWindowFlags_": "imgui:949", - "ImVec2": "imgui:259", - "ImVec4": "imgui:272" + "ImColor": "imgui:2346", + "ImDrawChannel": "imgui:2436", + "ImDrawCmd": "imgui:2395", + "ImDrawCmdHeader": "imgui:2428", + "ImDrawData": "imgui:2628", + "ImDrawFlags_": "imgui:2462", + "ImDrawList": "imgui:2500", + "ImDrawListFlags_": "imgui:2482", + "ImDrawListSplitter": "imgui:2445", + "ImDrawVert": "imgui:2413", + "ImFont": "imgui:2846", + "ImFontAtlas": "imgui:2744", + "ImFontAtlasCustomRect": "imgui:2706", + "ImFontAtlasFlags_": "imgui:2719", + "ImFontConfig": "imgui:2650", + "ImFontGlyph": "imgui:2679", + "ImFontGlyphRangesBuilder": "imgui:2691", + "ImGuiBackendFlags_": "imgui:1510", + "ImGuiButtonFlags_": "imgui:1617", + "ImGuiCol_": "imgui:1520", + "ImGuiColorEditFlags_": "imgui:1630", + "ImGuiComboFlags_": "imgui:1079", + "ImGuiCond_": "imgui:1721", + "ImGuiConfigFlags_": "imgui:1494", + "ImGuiDataType_": "imgui:1316", + "ImGuiDir_": "imgui:1332", + "ImGuiDragDropFlags_": "imgui:1294", + "ImGuiFocusedFlags_": "imgui:1256", + "ImGuiHoveredFlags_": "imgui:1270", + "ImGuiIO": "imgui:1898", + "ImGuiInputTextCallbackData": "imgui:2071", + "ImGuiInputTextFlags_": "imgui:991", + "ImGuiKey": "imgui:1353", + "ImGuiKeyData": "imgui:1890", + "ImGuiListClipper": "imgui:2295", + "ImGuiMouseButton_": "imgui:1693", + "ImGuiMouseCursor_": "imgui:1703", + "ImGuiNavInput": "imgui:1485", + "ImGuiOnceUponAFrame": "imgui:2170", + "ImGuiPayload": "imgui:2111", + "ImGuiPlatformImeData": "imgui:2940", + "ImGuiPopupFlags_": "imgui:1052", + "ImGuiSelectableFlags_": "imgui:1068", + "ImGuiSizeCallbackData": "imgui:2102", + "ImGuiSliderFlags_": "imgui:1676", + "ImGuiSortDirection_": "imgui:1343", + "ImGuiStorage": "imgui:2232", + "ImGuiStoragePair": "imgui:2235", + "ImGuiStyle": "imgui:1833", + "ImGuiStyleVar_": "imgui:1585", + "ImGuiTabBarFlags_": "imgui:1093", + "ImGuiTabItemFlags_": "imgui:1109", + "ImGuiTableBgTarget_": "imgui:1247", + "ImGuiTableColumnFlags_": "imgui:1195", + "ImGuiTableColumnSortSpecs": "imgui:2133", + "ImGuiTableFlags_": "imgui:1144", + "ImGuiTableRowFlags_": "imgui:1232", + "ImGuiTableSortSpecs": "imgui:2147", + "ImGuiTextBuffer": "imgui:2205", + "ImGuiTextFilter": "imgui:2178", + "ImGuiTextRange": "imgui:2188", + "ImGuiTreeNodeFlags_": "imgui:1023", + "ImGuiViewport": "imgui:2917", + "ImGuiViewportFlags_": "imgui:2902", + "ImGuiWindowFlags_": "imgui:953", + "ImVec2": "imgui:253", + "ImVec4": "imgui:266" }, "structs": { "ImColor": [ @@ -2573,7 +3204,7 @@ }, { "name": "_Data", - "type": "const ImDrawListSharedData*" + "type": "ImDrawListSharedData*" }, { "name": "_OwnerName", @@ -3026,11 +3657,6 @@ "name": "MouseDragThreshold", "type": "float" }, - { - "name": "KeyMap[ImGuiKey_COUNT]", - "size": 22, - "type": "int" - }, { "name": "KeyRepeatDelay", "type": "float" @@ -3039,6 +3665,14 @@ "name": "KeyRepeatRate", "type": "float" }, + { + "name": "HoverDelayNormal", + "type": "float" + }, + { + "name": "HoverDelayShort", + "type": "float" + }, { "name": "UserData", "type": "void*" @@ -3071,10 +3705,18 @@ "name": "ConfigMacOSXBehaviors", "type": "bool" }, + { + "name": "ConfigInputTrickleEventQueue", + "type": "bool" + }, { "name": "ConfigInputTextCursorBlink", "type": "bool" }, + { + "name": "ConfigInputTextEnterKeepActive", + "type": "bool" + }, { "name": "ConfigDragClickToInputText", "type": "bool" @@ -3124,56 +3766,13 @@ "type": "void*" }, { - "name": "ImeSetInputScreenPosFn", - "type": "void(*)(int x,int y)" + "name": "SetPlatformImeDataFn", + "type": "void(*)(ImGuiViewport* viewport,ImGuiPlatformImeData* data)" }, { - "name": "ImeWindowHandle", + "name": "_UnusedPadding", "type": "void*" }, - { - "name": "MousePos", - "type": "ImVec2" - }, - { - "name": "MouseDown[5]", - "size": 5, - "type": "bool" - }, - { - "name": "MouseWheel", - "type": "float" - }, - { - "name": "MouseWheelH", - "type": "float" - }, - { - "name": "KeyCtrl", - "type": "bool" - }, - { - "name": "KeyShift", - "type": "bool" - }, - { - "name": "KeyAlt", - "type": "bool" - }, - { - "name": "KeySuper", - "type": "bool" - }, - { - "name": "KeysDown[512]", - "size": 512, - "type": "bool" - }, - { - "name": "NavInputs[ImGuiNavInput_COUNT]", - "size": 20, - "type": "float" - }, { "name": "WantCaptureMouse", "type": "bool" @@ -3231,16 +3830,65 @@ "type": "ImVec2" }, { - "name": "WantCaptureMouseUnlessPopupClose", + "name": "KeyMap[ImGuiKey_COUNT]", + "size": 652, + "type": "int" + }, + { + "name": "KeysDown[ImGuiKey_COUNT]", + "size": 652, + "type": "bool" + }, + { + "name": "NavInputs[ImGuiNavInput_COUNT]", + "size": 16, + "type": "float" + }, + { + "name": "MousePos", + "type": "ImVec2" + }, + { + "name": "MouseDown[5]", + "size": 5, + "type": "bool" + }, + { + "name": "MouseWheel", + "type": "float" + }, + { + "name": "MouseWheelH", + "type": "float" + }, + { + "name": "KeyCtrl", + "type": "bool" + }, + { + "name": "KeyShift", + "type": "bool" + }, + { + "name": "KeyAlt", + "type": "bool" + }, + { + "name": "KeySuper", "type": "bool" }, { "name": "KeyMods", - "type": "ImGuiKeyModFlags" + "type": "ImGuiKeyChord" }, { - "name": "KeyModsPrev", - "type": "ImGuiKeyModFlags" + "name": "KeysData[ImGuiKey_KeysData_SIZE]", + "size": 652, + "type": "ImGuiKeyData" + }, + { + "name": "WantCaptureMouseUnlessPopupClose", + "type": "bool" }, { "name": "MousePosPrev", @@ -3301,36 +3949,11 @@ "size": 5, "type": "float" }, - { - "name": "MouseDragMaxDistanceAbs[5]", - "size": 5, - "type": "ImVec2" - }, { "name": "MouseDragMaxDistanceSqr[5]", "size": 5, "type": "float" }, - { - "name": "KeysDownDuration[512]", - "size": 512, - "type": "float" - }, - { - "name": "KeysDownDurationPrev[512]", - "size": 512, - "type": "float" - }, - { - "name": "NavInputsDownDuration[ImGuiNavInput_COUNT]", - "size": 20, - "type": "float" - }, - { - "name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]", - "size": 20, - "type": "float" - }, { "name": "PenPressure", "type": "float" @@ -3339,6 +3962,18 @@ "name": "AppFocusLost", "type": "bool" }, + { + "name": "AppAcceptingEvents", + "type": "bool" + }, + { + "name": "BackendUsingLegacyKeyArrays", + "type": "ImS8" + }, + { + "name": "BackendUsingLegacyNavInputArray", + "type": "bool" + }, { "name": "InputQueueSurrogate", "type": "ImWchar16" @@ -3399,6 +4034,24 @@ "type": "int" } ], + "ImGuiKeyData": [ + { + "name": "Down", + "type": "bool" + }, + { + "name": "DownDuration", + "type": "float" + }, + { + "name": "DownDurationPrev", + "type": "float" + }, + { + "name": "AnalogValue", + "type": "float" + } + ], "ImGuiListClipper": [ { "name": "DisplayStart", @@ -3466,6 +4119,20 @@ "type": "bool" } ], + "ImGuiPlatformImeData": [ + { + "name": "WantVisible", + "type": "bool" + }, + { + "name": "InputPos", + "type": "ImVec2" + }, + { + "name": "InputLineHeight", + "type": "float" + } + ], "ImGuiSizeCallbackData": [ { "name": "UserData", @@ -3754,6 +4421,10 @@ { "name": "WorkSize", "type": "ImVec2" + }, + { + "name": "PlatformHandleRaw", + "type": "void*" } ], "ImVec2": [ diff --git a/imgui-sys/third-party/imgui-master/structs_and_enums.lua b/imgui-sys/third-party/imgui-master/structs_and_enums.lua index ffe103e..27a78af 100644 --- a/imgui-sys/third-party/imgui-master/structs_and_enums.lua +++ b/imgui-sys/third-party/imgui-master/structs_and_enums.lua @@ -748,13 +748,29 @@ defs["enums"]["ImGuiHoveredFlags_"][9]["calc_value"] = 512 defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_AllowWhenDisabled" defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "1 << 9" defs["enums"]["ImGuiHoveredFlags_"][10] = {} -defs["enums"]["ImGuiHoveredFlags_"][10]["calc_value"] = 416 -defs["enums"]["ImGuiHoveredFlags_"][10]["name"] = "ImGuiHoveredFlags_RectOnly" -defs["enums"]["ImGuiHoveredFlags_"][10]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][10]["calc_value"] = 1024 +defs["enums"]["ImGuiHoveredFlags_"][10]["name"] = "ImGuiHoveredFlags_NoNavOverride" +defs["enums"]["ImGuiHoveredFlags_"][10]["value"] = "1 << 10" defs["enums"]["ImGuiHoveredFlags_"][11] = {} -defs["enums"]["ImGuiHoveredFlags_"][11]["calc_value"] = 3 -defs["enums"]["ImGuiHoveredFlags_"][11]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" -defs["enums"]["ImGuiHoveredFlags_"][11]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][11]["calc_value"] = 416 +defs["enums"]["ImGuiHoveredFlags_"][11]["name"] = "ImGuiHoveredFlags_RectOnly" +defs["enums"]["ImGuiHoveredFlags_"][11]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped" +defs["enums"]["ImGuiHoveredFlags_"][12] = {} +defs["enums"]["ImGuiHoveredFlags_"][12]["calc_value"] = 3 +defs["enums"]["ImGuiHoveredFlags_"][12]["name"] = "ImGuiHoveredFlags_RootAndChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][12]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows" +defs["enums"]["ImGuiHoveredFlags_"][13] = {} +defs["enums"]["ImGuiHoveredFlags_"][13]["calc_value"] = 2048 +defs["enums"]["ImGuiHoveredFlags_"][13]["name"] = "ImGuiHoveredFlags_DelayNormal" +defs["enums"]["ImGuiHoveredFlags_"][13]["value"] = "1 << 11" +defs["enums"]["ImGuiHoveredFlags_"][14] = {} +defs["enums"]["ImGuiHoveredFlags_"][14]["calc_value"] = 4096 +defs["enums"]["ImGuiHoveredFlags_"][14]["name"] = "ImGuiHoveredFlags_DelayShort" +defs["enums"]["ImGuiHoveredFlags_"][14]["value"] = "1 << 12" +defs["enums"]["ImGuiHoveredFlags_"][15] = {} +defs["enums"]["ImGuiHoveredFlags_"][15]["calc_value"] = 8192 +defs["enums"]["ImGuiHoveredFlags_"][15]["name"] = "ImGuiHoveredFlags_NoSharedDelay" +defs["enums"]["ImGuiHoveredFlags_"][15]["value"] = "1 << 13" defs["enums"]["ImGuiInputTextFlags_"] = {} defs["enums"]["ImGuiInputTextFlags_"][1] = {} defs["enums"]["ImGuiInputTextFlags_"][1]["calc_value"] = 0 @@ -840,120 +856,627 @@ defs["enums"]["ImGuiInputTextFlags_"][21] = {} defs["enums"]["ImGuiInputTextFlags_"][21]["calc_value"] = 524288 defs["enums"]["ImGuiInputTextFlags_"][21]["name"] = "ImGuiInputTextFlags_CallbackEdit" defs["enums"]["ImGuiInputTextFlags_"][21]["value"] = "1 << 19" -defs["enums"]["ImGuiKeyModFlags_"] = {} -defs["enums"]["ImGuiKeyModFlags_"][1] = {} -defs["enums"]["ImGuiKeyModFlags_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiKeyModFlags_"][1]["name"] = "ImGuiKeyModFlags_None" -defs["enums"]["ImGuiKeyModFlags_"][1]["value"] = "0" -defs["enums"]["ImGuiKeyModFlags_"][2] = {} -defs["enums"]["ImGuiKeyModFlags_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiKeyModFlags_"][2]["name"] = "ImGuiKeyModFlags_Ctrl" -defs["enums"]["ImGuiKeyModFlags_"][2]["value"] = "1 << 0" -defs["enums"]["ImGuiKeyModFlags_"][3] = {} -defs["enums"]["ImGuiKeyModFlags_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiKeyModFlags_"][3]["name"] = "ImGuiKeyModFlags_Shift" -defs["enums"]["ImGuiKeyModFlags_"][3]["value"] = "1 << 1" -defs["enums"]["ImGuiKeyModFlags_"][4] = {} -defs["enums"]["ImGuiKeyModFlags_"][4]["calc_value"] = 4 -defs["enums"]["ImGuiKeyModFlags_"][4]["name"] = "ImGuiKeyModFlags_Alt" -defs["enums"]["ImGuiKeyModFlags_"][4]["value"] = "1 << 2" -defs["enums"]["ImGuiKeyModFlags_"][5] = {} -defs["enums"]["ImGuiKeyModFlags_"][5]["calc_value"] = 8 -defs["enums"]["ImGuiKeyModFlags_"][5]["name"] = "ImGuiKeyModFlags_Super" -defs["enums"]["ImGuiKeyModFlags_"][5]["value"] = "1 << 3" -defs["enums"]["ImGuiKey_"] = {} -defs["enums"]["ImGuiKey_"][1] = {} -defs["enums"]["ImGuiKey_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiKey_"][1]["name"] = "ImGuiKey_Tab" -defs["enums"]["ImGuiKey_"][1]["value"] = "0" -defs["enums"]["ImGuiKey_"][2] = {} -defs["enums"]["ImGuiKey_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiKey_"][2]["name"] = "ImGuiKey_LeftArrow" -defs["enums"]["ImGuiKey_"][2]["value"] = "1" -defs["enums"]["ImGuiKey_"][3] = {} -defs["enums"]["ImGuiKey_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiKey_"][3]["name"] = "ImGuiKey_RightArrow" -defs["enums"]["ImGuiKey_"][3]["value"] = "2" -defs["enums"]["ImGuiKey_"][4] = {} -defs["enums"]["ImGuiKey_"][4]["calc_value"] = 3 -defs["enums"]["ImGuiKey_"][4]["name"] = "ImGuiKey_UpArrow" -defs["enums"]["ImGuiKey_"][4]["value"] = "3" -defs["enums"]["ImGuiKey_"][5] = {} -defs["enums"]["ImGuiKey_"][5]["calc_value"] = 4 -defs["enums"]["ImGuiKey_"][5]["name"] = "ImGuiKey_DownArrow" -defs["enums"]["ImGuiKey_"][5]["value"] = "4" -defs["enums"]["ImGuiKey_"][6] = {} -defs["enums"]["ImGuiKey_"][6]["calc_value"] = 5 -defs["enums"]["ImGuiKey_"][6]["name"] = "ImGuiKey_PageUp" -defs["enums"]["ImGuiKey_"][6]["value"] = "5" -defs["enums"]["ImGuiKey_"][7] = {} -defs["enums"]["ImGuiKey_"][7]["calc_value"] = 6 -defs["enums"]["ImGuiKey_"][7]["name"] = "ImGuiKey_PageDown" -defs["enums"]["ImGuiKey_"][7]["value"] = "6" -defs["enums"]["ImGuiKey_"][8] = {} -defs["enums"]["ImGuiKey_"][8]["calc_value"] = 7 -defs["enums"]["ImGuiKey_"][8]["name"] = "ImGuiKey_Home" -defs["enums"]["ImGuiKey_"][8]["value"] = "7" -defs["enums"]["ImGuiKey_"][9] = {} -defs["enums"]["ImGuiKey_"][9]["calc_value"] = 8 -defs["enums"]["ImGuiKey_"][9]["name"] = "ImGuiKey_End" -defs["enums"]["ImGuiKey_"][9]["value"] = "8" -defs["enums"]["ImGuiKey_"][10] = {} -defs["enums"]["ImGuiKey_"][10]["calc_value"] = 9 -defs["enums"]["ImGuiKey_"][10]["name"] = "ImGuiKey_Insert" -defs["enums"]["ImGuiKey_"][10]["value"] = "9" -defs["enums"]["ImGuiKey_"][11] = {} -defs["enums"]["ImGuiKey_"][11]["calc_value"] = 10 -defs["enums"]["ImGuiKey_"][11]["name"] = "ImGuiKey_Delete" -defs["enums"]["ImGuiKey_"][11]["value"] = "10" -defs["enums"]["ImGuiKey_"][12] = {} -defs["enums"]["ImGuiKey_"][12]["calc_value"] = 11 -defs["enums"]["ImGuiKey_"][12]["name"] = "ImGuiKey_Backspace" -defs["enums"]["ImGuiKey_"][12]["value"] = "11" -defs["enums"]["ImGuiKey_"][13] = {} -defs["enums"]["ImGuiKey_"][13]["calc_value"] = 12 -defs["enums"]["ImGuiKey_"][13]["name"] = "ImGuiKey_Space" -defs["enums"]["ImGuiKey_"][13]["value"] = "12" -defs["enums"]["ImGuiKey_"][14] = {} -defs["enums"]["ImGuiKey_"][14]["calc_value"] = 13 -defs["enums"]["ImGuiKey_"][14]["name"] = "ImGuiKey_Enter" -defs["enums"]["ImGuiKey_"][14]["value"] = "13" -defs["enums"]["ImGuiKey_"][15] = {} -defs["enums"]["ImGuiKey_"][15]["calc_value"] = 14 -defs["enums"]["ImGuiKey_"][15]["name"] = "ImGuiKey_Escape" -defs["enums"]["ImGuiKey_"][15]["value"] = "14" -defs["enums"]["ImGuiKey_"][16] = {} -defs["enums"]["ImGuiKey_"][16]["calc_value"] = 15 -defs["enums"]["ImGuiKey_"][16]["name"] = "ImGuiKey_KeyPadEnter" -defs["enums"]["ImGuiKey_"][16]["value"] = "15" -defs["enums"]["ImGuiKey_"][17] = {} -defs["enums"]["ImGuiKey_"][17]["calc_value"] = 16 -defs["enums"]["ImGuiKey_"][17]["name"] = "ImGuiKey_A" -defs["enums"]["ImGuiKey_"][17]["value"] = "16" -defs["enums"]["ImGuiKey_"][18] = {} -defs["enums"]["ImGuiKey_"][18]["calc_value"] = 17 -defs["enums"]["ImGuiKey_"][18]["name"] = "ImGuiKey_C" -defs["enums"]["ImGuiKey_"][18]["value"] = "17" -defs["enums"]["ImGuiKey_"][19] = {} -defs["enums"]["ImGuiKey_"][19]["calc_value"] = 18 -defs["enums"]["ImGuiKey_"][19]["name"] = "ImGuiKey_V" -defs["enums"]["ImGuiKey_"][19]["value"] = "18" -defs["enums"]["ImGuiKey_"][20] = {} -defs["enums"]["ImGuiKey_"][20]["calc_value"] = 19 -defs["enums"]["ImGuiKey_"][20]["name"] = "ImGuiKey_X" -defs["enums"]["ImGuiKey_"][20]["value"] = "19" -defs["enums"]["ImGuiKey_"][21] = {} -defs["enums"]["ImGuiKey_"][21]["calc_value"] = 20 -defs["enums"]["ImGuiKey_"][21]["name"] = "ImGuiKey_Y" -defs["enums"]["ImGuiKey_"][21]["value"] = "20" -defs["enums"]["ImGuiKey_"][22] = {} -defs["enums"]["ImGuiKey_"][22]["calc_value"] = 21 -defs["enums"]["ImGuiKey_"][22]["name"] = "ImGuiKey_Z" -defs["enums"]["ImGuiKey_"][22]["value"] = "21" -defs["enums"]["ImGuiKey_"][23] = {} -defs["enums"]["ImGuiKey_"][23]["calc_value"] = 22 -defs["enums"]["ImGuiKey_"][23]["name"] = "ImGuiKey_COUNT" -defs["enums"]["ImGuiKey_"][23]["value"] = "22" +defs["enums"]["ImGuiInputTextFlags_"][22] = {} +defs["enums"]["ImGuiInputTextFlags_"][22]["calc_value"] = 1048576 +defs["enums"]["ImGuiInputTextFlags_"][22]["name"] = "ImGuiInputTextFlags_EscapeClearsAll" +defs["enums"]["ImGuiInputTextFlags_"][22]["value"] = "1 << 20" +defs["enums"]["ImGuiKey"] = {} +defs["enums"]["ImGuiKey"][1] = {} +defs["enums"]["ImGuiKey"][1]["calc_value"] = 0 +defs["enums"]["ImGuiKey"][1]["name"] = "ImGuiKey_None" +defs["enums"]["ImGuiKey"][1]["value"] = "0" +defs["enums"]["ImGuiKey"][2] = {} +defs["enums"]["ImGuiKey"][2]["calc_value"] = 512 +defs["enums"]["ImGuiKey"][2]["name"] = "ImGuiKey_Tab" +defs["enums"]["ImGuiKey"][2]["value"] = "512" +defs["enums"]["ImGuiKey"][3] = {} +defs["enums"]["ImGuiKey"][3]["calc_value"] = 513 +defs["enums"]["ImGuiKey"][3]["name"] = "ImGuiKey_LeftArrow" +defs["enums"]["ImGuiKey"][3]["value"] = "513" +defs["enums"]["ImGuiKey"][4] = {} +defs["enums"]["ImGuiKey"][4]["calc_value"] = 514 +defs["enums"]["ImGuiKey"][4]["name"] = "ImGuiKey_RightArrow" +defs["enums"]["ImGuiKey"][4]["value"] = "514" +defs["enums"]["ImGuiKey"][5] = {} +defs["enums"]["ImGuiKey"][5]["calc_value"] = 515 +defs["enums"]["ImGuiKey"][5]["name"] = "ImGuiKey_UpArrow" +defs["enums"]["ImGuiKey"][5]["value"] = "515" +defs["enums"]["ImGuiKey"][6] = {} +defs["enums"]["ImGuiKey"][6]["calc_value"] = 516 +defs["enums"]["ImGuiKey"][6]["name"] = "ImGuiKey_DownArrow" +defs["enums"]["ImGuiKey"][6]["value"] = "516" +defs["enums"]["ImGuiKey"][7] = {} +defs["enums"]["ImGuiKey"][7]["calc_value"] = 517 +defs["enums"]["ImGuiKey"][7]["name"] = "ImGuiKey_PageUp" +defs["enums"]["ImGuiKey"][7]["value"] = "517" +defs["enums"]["ImGuiKey"][8] = {} +defs["enums"]["ImGuiKey"][8]["calc_value"] = 518 +defs["enums"]["ImGuiKey"][8]["name"] = "ImGuiKey_PageDown" +defs["enums"]["ImGuiKey"][8]["value"] = "518" +defs["enums"]["ImGuiKey"][9] = {} +defs["enums"]["ImGuiKey"][9]["calc_value"] = 519 +defs["enums"]["ImGuiKey"][9]["name"] = "ImGuiKey_Home" +defs["enums"]["ImGuiKey"][9]["value"] = "519" +defs["enums"]["ImGuiKey"][10] = {} +defs["enums"]["ImGuiKey"][10]["calc_value"] = 520 +defs["enums"]["ImGuiKey"][10]["name"] = "ImGuiKey_End" +defs["enums"]["ImGuiKey"][10]["value"] = "520" +defs["enums"]["ImGuiKey"][11] = {} +defs["enums"]["ImGuiKey"][11]["calc_value"] = 521 +defs["enums"]["ImGuiKey"][11]["name"] = "ImGuiKey_Insert" +defs["enums"]["ImGuiKey"][11]["value"] = "521" +defs["enums"]["ImGuiKey"][12] = {} +defs["enums"]["ImGuiKey"][12]["calc_value"] = 522 +defs["enums"]["ImGuiKey"][12]["name"] = "ImGuiKey_Delete" +defs["enums"]["ImGuiKey"][12]["value"] = "522" +defs["enums"]["ImGuiKey"][13] = {} +defs["enums"]["ImGuiKey"][13]["calc_value"] = 523 +defs["enums"]["ImGuiKey"][13]["name"] = "ImGuiKey_Backspace" +defs["enums"]["ImGuiKey"][13]["value"] = "523" +defs["enums"]["ImGuiKey"][14] = {} +defs["enums"]["ImGuiKey"][14]["calc_value"] = 524 +defs["enums"]["ImGuiKey"][14]["name"] = "ImGuiKey_Space" +defs["enums"]["ImGuiKey"][14]["value"] = "524" +defs["enums"]["ImGuiKey"][15] = {} +defs["enums"]["ImGuiKey"][15]["calc_value"] = 525 +defs["enums"]["ImGuiKey"][15]["name"] = "ImGuiKey_Enter" +defs["enums"]["ImGuiKey"][15]["value"] = "525" +defs["enums"]["ImGuiKey"][16] = {} +defs["enums"]["ImGuiKey"][16]["calc_value"] = 526 +defs["enums"]["ImGuiKey"][16]["name"] = "ImGuiKey_Escape" +defs["enums"]["ImGuiKey"][16]["value"] = "526" +defs["enums"]["ImGuiKey"][17] = {} +defs["enums"]["ImGuiKey"][17]["calc_value"] = 527 +defs["enums"]["ImGuiKey"][17]["name"] = "ImGuiKey_LeftCtrl" +defs["enums"]["ImGuiKey"][17]["value"] = "527" +defs["enums"]["ImGuiKey"][18] = {} +defs["enums"]["ImGuiKey"][18]["calc_value"] = 528 +defs["enums"]["ImGuiKey"][18]["name"] = "ImGuiKey_LeftShift" +defs["enums"]["ImGuiKey"][18]["value"] = "528" +defs["enums"]["ImGuiKey"][19] = {} +defs["enums"]["ImGuiKey"][19]["calc_value"] = 529 +defs["enums"]["ImGuiKey"][19]["name"] = "ImGuiKey_LeftAlt" +defs["enums"]["ImGuiKey"][19]["value"] = "529" +defs["enums"]["ImGuiKey"][20] = {} +defs["enums"]["ImGuiKey"][20]["calc_value"] = 530 +defs["enums"]["ImGuiKey"][20]["name"] = "ImGuiKey_LeftSuper" +defs["enums"]["ImGuiKey"][20]["value"] = "530" +defs["enums"]["ImGuiKey"][21] = {} +defs["enums"]["ImGuiKey"][21]["calc_value"] = 531 +defs["enums"]["ImGuiKey"][21]["name"] = "ImGuiKey_RightCtrl" +defs["enums"]["ImGuiKey"][21]["value"] = "531" +defs["enums"]["ImGuiKey"][22] = {} +defs["enums"]["ImGuiKey"][22]["calc_value"] = 532 +defs["enums"]["ImGuiKey"][22]["name"] = "ImGuiKey_RightShift" +defs["enums"]["ImGuiKey"][22]["value"] = "532" +defs["enums"]["ImGuiKey"][23] = {} +defs["enums"]["ImGuiKey"][23]["calc_value"] = 533 +defs["enums"]["ImGuiKey"][23]["name"] = "ImGuiKey_RightAlt" +defs["enums"]["ImGuiKey"][23]["value"] = "533" +defs["enums"]["ImGuiKey"][24] = {} +defs["enums"]["ImGuiKey"][24]["calc_value"] = 534 +defs["enums"]["ImGuiKey"][24]["name"] = "ImGuiKey_RightSuper" +defs["enums"]["ImGuiKey"][24]["value"] = "534" +defs["enums"]["ImGuiKey"][25] = {} +defs["enums"]["ImGuiKey"][25]["calc_value"] = 535 +defs["enums"]["ImGuiKey"][25]["name"] = "ImGuiKey_Menu" +defs["enums"]["ImGuiKey"][25]["value"] = "535" +defs["enums"]["ImGuiKey"][26] = {} +defs["enums"]["ImGuiKey"][26]["calc_value"] = 536 +defs["enums"]["ImGuiKey"][26]["name"] = "ImGuiKey_0" +defs["enums"]["ImGuiKey"][26]["value"] = "536" +defs["enums"]["ImGuiKey"][27] = {} +defs["enums"]["ImGuiKey"][27]["calc_value"] = 537 +defs["enums"]["ImGuiKey"][27]["name"] = "ImGuiKey_1" +defs["enums"]["ImGuiKey"][27]["value"] = "537" +defs["enums"]["ImGuiKey"][28] = {} +defs["enums"]["ImGuiKey"][28]["calc_value"] = 538 +defs["enums"]["ImGuiKey"][28]["name"] = "ImGuiKey_2" +defs["enums"]["ImGuiKey"][28]["value"] = "538" +defs["enums"]["ImGuiKey"][29] = {} +defs["enums"]["ImGuiKey"][29]["calc_value"] = 539 +defs["enums"]["ImGuiKey"][29]["name"] = "ImGuiKey_3" +defs["enums"]["ImGuiKey"][29]["value"] = "539" +defs["enums"]["ImGuiKey"][30] = {} +defs["enums"]["ImGuiKey"][30]["calc_value"] = 540 +defs["enums"]["ImGuiKey"][30]["name"] = "ImGuiKey_4" +defs["enums"]["ImGuiKey"][30]["value"] = "540" +defs["enums"]["ImGuiKey"][31] = {} +defs["enums"]["ImGuiKey"][31]["calc_value"] = 541 +defs["enums"]["ImGuiKey"][31]["name"] = "ImGuiKey_5" +defs["enums"]["ImGuiKey"][31]["value"] = "541" +defs["enums"]["ImGuiKey"][32] = {} +defs["enums"]["ImGuiKey"][32]["calc_value"] = 542 +defs["enums"]["ImGuiKey"][32]["name"] = "ImGuiKey_6" +defs["enums"]["ImGuiKey"][32]["value"] = "542" +defs["enums"]["ImGuiKey"][33] = {} +defs["enums"]["ImGuiKey"][33]["calc_value"] = 543 +defs["enums"]["ImGuiKey"][33]["name"] = "ImGuiKey_7" +defs["enums"]["ImGuiKey"][33]["value"] = "543" +defs["enums"]["ImGuiKey"][34] = {} +defs["enums"]["ImGuiKey"][34]["calc_value"] = 544 +defs["enums"]["ImGuiKey"][34]["name"] = "ImGuiKey_8" +defs["enums"]["ImGuiKey"][34]["value"] = "544" +defs["enums"]["ImGuiKey"][35] = {} +defs["enums"]["ImGuiKey"][35]["calc_value"] = 545 +defs["enums"]["ImGuiKey"][35]["name"] = "ImGuiKey_9" +defs["enums"]["ImGuiKey"][35]["value"] = "545" +defs["enums"]["ImGuiKey"][36] = {} +defs["enums"]["ImGuiKey"][36]["calc_value"] = 546 +defs["enums"]["ImGuiKey"][36]["name"] = "ImGuiKey_A" +defs["enums"]["ImGuiKey"][36]["value"] = "546" +defs["enums"]["ImGuiKey"][37] = {} +defs["enums"]["ImGuiKey"][37]["calc_value"] = 547 +defs["enums"]["ImGuiKey"][37]["name"] = "ImGuiKey_B" +defs["enums"]["ImGuiKey"][37]["value"] = "547" +defs["enums"]["ImGuiKey"][38] = {} +defs["enums"]["ImGuiKey"][38]["calc_value"] = 548 +defs["enums"]["ImGuiKey"][38]["name"] = "ImGuiKey_C" +defs["enums"]["ImGuiKey"][38]["value"] = "548" +defs["enums"]["ImGuiKey"][39] = {} +defs["enums"]["ImGuiKey"][39]["calc_value"] = 549 +defs["enums"]["ImGuiKey"][39]["name"] = "ImGuiKey_D" +defs["enums"]["ImGuiKey"][39]["value"] = "549" +defs["enums"]["ImGuiKey"][40] = {} +defs["enums"]["ImGuiKey"][40]["calc_value"] = 550 +defs["enums"]["ImGuiKey"][40]["name"] = "ImGuiKey_E" +defs["enums"]["ImGuiKey"][40]["value"] = "550" +defs["enums"]["ImGuiKey"][41] = {} +defs["enums"]["ImGuiKey"][41]["calc_value"] = 551 +defs["enums"]["ImGuiKey"][41]["name"] = "ImGuiKey_F" +defs["enums"]["ImGuiKey"][41]["value"] = "551" +defs["enums"]["ImGuiKey"][42] = {} +defs["enums"]["ImGuiKey"][42]["calc_value"] = 552 +defs["enums"]["ImGuiKey"][42]["name"] = "ImGuiKey_G" +defs["enums"]["ImGuiKey"][42]["value"] = "552" +defs["enums"]["ImGuiKey"][43] = {} +defs["enums"]["ImGuiKey"][43]["calc_value"] = 553 +defs["enums"]["ImGuiKey"][43]["name"] = "ImGuiKey_H" +defs["enums"]["ImGuiKey"][43]["value"] = "553" +defs["enums"]["ImGuiKey"][44] = {} +defs["enums"]["ImGuiKey"][44]["calc_value"] = 554 +defs["enums"]["ImGuiKey"][44]["name"] = "ImGuiKey_I" +defs["enums"]["ImGuiKey"][44]["value"] = "554" +defs["enums"]["ImGuiKey"][45] = {} +defs["enums"]["ImGuiKey"][45]["calc_value"] = 555 +defs["enums"]["ImGuiKey"][45]["name"] = "ImGuiKey_J" +defs["enums"]["ImGuiKey"][45]["value"] = "555" +defs["enums"]["ImGuiKey"][46] = {} +defs["enums"]["ImGuiKey"][46]["calc_value"] = 556 +defs["enums"]["ImGuiKey"][46]["name"] = "ImGuiKey_K" +defs["enums"]["ImGuiKey"][46]["value"] = "556" +defs["enums"]["ImGuiKey"][47] = {} +defs["enums"]["ImGuiKey"][47]["calc_value"] = 557 +defs["enums"]["ImGuiKey"][47]["name"] = "ImGuiKey_L" +defs["enums"]["ImGuiKey"][47]["value"] = "557" +defs["enums"]["ImGuiKey"][48] = {} +defs["enums"]["ImGuiKey"][48]["calc_value"] = 558 +defs["enums"]["ImGuiKey"][48]["name"] = "ImGuiKey_M" +defs["enums"]["ImGuiKey"][48]["value"] = "558" +defs["enums"]["ImGuiKey"][49] = {} +defs["enums"]["ImGuiKey"][49]["calc_value"] = 559 +defs["enums"]["ImGuiKey"][49]["name"] = "ImGuiKey_N" +defs["enums"]["ImGuiKey"][49]["value"] = "559" +defs["enums"]["ImGuiKey"][50] = {} +defs["enums"]["ImGuiKey"][50]["calc_value"] = 560 +defs["enums"]["ImGuiKey"][50]["name"] = "ImGuiKey_O" +defs["enums"]["ImGuiKey"][50]["value"] = "560" +defs["enums"]["ImGuiKey"][51] = {} +defs["enums"]["ImGuiKey"][51]["calc_value"] = 561 +defs["enums"]["ImGuiKey"][51]["name"] = "ImGuiKey_P" +defs["enums"]["ImGuiKey"][51]["value"] = "561" +defs["enums"]["ImGuiKey"][52] = {} +defs["enums"]["ImGuiKey"][52]["calc_value"] = 562 +defs["enums"]["ImGuiKey"][52]["name"] = "ImGuiKey_Q" +defs["enums"]["ImGuiKey"][52]["value"] = "562" +defs["enums"]["ImGuiKey"][53] = {} +defs["enums"]["ImGuiKey"][53]["calc_value"] = 563 +defs["enums"]["ImGuiKey"][53]["name"] = "ImGuiKey_R" +defs["enums"]["ImGuiKey"][53]["value"] = "563" +defs["enums"]["ImGuiKey"][54] = {} +defs["enums"]["ImGuiKey"][54]["calc_value"] = 564 +defs["enums"]["ImGuiKey"][54]["name"] = "ImGuiKey_S" +defs["enums"]["ImGuiKey"][54]["value"] = "564" +defs["enums"]["ImGuiKey"][55] = {} +defs["enums"]["ImGuiKey"][55]["calc_value"] = 565 +defs["enums"]["ImGuiKey"][55]["name"] = "ImGuiKey_T" +defs["enums"]["ImGuiKey"][55]["value"] = "565" +defs["enums"]["ImGuiKey"][56] = {} +defs["enums"]["ImGuiKey"][56]["calc_value"] = 566 +defs["enums"]["ImGuiKey"][56]["name"] = "ImGuiKey_U" +defs["enums"]["ImGuiKey"][56]["value"] = "566" +defs["enums"]["ImGuiKey"][57] = {} +defs["enums"]["ImGuiKey"][57]["calc_value"] = 567 +defs["enums"]["ImGuiKey"][57]["name"] = "ImGuiKey_V" +defs["enums"]["ImGuiKey"][57]["value"] = "567" +defs["enums"]["ImGuiKey"][58] = {} +defs["enums"]["ImGuiKey"][58]["calc_value"] = 568 +defs["enums"]["ImGuiKey"][58]["name"] = "ImGuiKey_W" +defs["enums"]["ImGuiKey"][58]["value"] = "568" +defs["enums"]["ImGuiKey"][59] = {} +defs["enums"]["ImGuiKey"][59]["calc_value"] = 569 +defs["enums"]["ImGuiKey"][59]["name"] = "ImGuiKey_X" +defs["enums"]["ImGuiKey"][59]["value"] = "569" +defs["enums"]["ImGuiKey"][60] = {} +defs["enums"]["ImGuiKey"][60]["calc_value"] = 570 +defs["enums"]["ImGuiKey"][60]["name"] = "ImGuiKey_Y" +defs["enums"]["ImGuiKey"][60]["value"] = "570" +defs["enums"]["ImGuiKey"][61] = {} +defs["enums"]["ImGuiKey"][61]["calc_value"] = 571 +defs["enums"]["ImGuiKey"][61]["name"] = "ImGuiKey_Z" +defs["enums"]["ImGuiKey"][61]["value"] = "571" +defs["enums"]["ImGuiKey"][62] = {} +defs["enums"]["ImGuiKey"][62]["calc_value"] = 572 +defs["enums"]["ImGuiKey"][62]["name"] = "ImGuiKey_F1" +defs["enums"]["ImGuiKey"][62]["value"] = "572" +defs["enums"]["ImGuiKey"][63] = {} +defs["enums"]["ImGuiKey"][63]["calc_value"] = 573 +defs["enums"]["ImGuiKey"][63]["name"] = "ImGuiKey_F2" +defs["enums"]["ImGuiKey"][63]["value"] = "573" +defs["enums"]["ImGuiKey"][64] = {} +defs["enums"]["ImGuiKey"][64]["calc_value"] = 574 +defs["enums"]["ImGuiKey"][64]["name"] = "ImGuiKey_F3" +defs["enums"]["ImGuiKey"][64]["value"] = "574" +defs["enums"]["ImGuiKey"][65] = {} +defs["enums"]["ImGuiKey"][65]["calc_value"] = 575 +defs["enums"]["ImGuiKey"][65]["name"] = "ImGuiKey_F4" +defs["enums"]["ImGuiKey"][65]["value"] = "575" +defs["enums"]["ImGuiKey"][66] = {} +defs["enums"]["ImGuiKey"][66]["calc_value"] = 576 +defs["enums"]["ImGuiKey"][66]["name"] = "ImGuiKey_F5" +defs["enums"]["ImGuiKey"][66]["value"] = "576" +defs["enums"]["ImGuiKey"][67] = {} +defs["enums"]["ImGuiKey"][67]["calc_value"] = 577 +defs["enums"]["ImGuiKey"][67]["name"] = "ImGuiKey_F6" +defs["enums"]["ImGuiKey"][67]["value"] = "577" +defs["enums"]["ImGuiKey"][68] = {} +defs["enums"]["ImGuiKey"][68]["calc_value"] = 578 +defs["enums"]["ImGuiKey"][68]["name"] = "ImGuiKey_F7" +defs["enums"]["ImGuiKey"][68]["value"] = "578" +defs["enums"]["ImGuiKey"][69] = {} +defs["enums"]["ImGuiKey"][69]["calc_value"] = 579 +defs["enums"]["ImGuiKey"][69]["name"] = "ImGuiKey_F8" +defs["enums"]["ImGuiKey"][69]["value"] = "579" +defs["enums"]["ImGuiKey"][70] = {} +defs["enums"]["ImGuiKey"][70]["calc_value"] = 580 +defs["enums"]["ImGuiKey"][70]["name"] = "ImGuiKey_F9" +defs["enums"]["ImGuiKey"][70]["value"] = "580" +defs["enums"]["ImGuiKey"][71] = {} +defs["enums"]["ImGuiKey"][71]["calc_value"] = 581 +defs["enums"]["ImGuiKey"][71]["name"] = "ImGuiKey_F10" +defs["enums"]["ImGuiKey"][71]["value"] = "581" +defs["enums"]["ImGuiKey"][72] = {} +defs["enums"]["ImGuiKey"][72]["calc_value"] = 582 +defs["enums"]["ImGuiKey"][72]["name"] = "ImGuiKey_F11" +defs["enums"]["ImGuiKey"][72]["value"] = "582" +defs["enums"]["ImGuiKey"][73] = {} +defs["enums"]["ImGuiKey"][73]["calc_value"] = 583 +defs["enums"]["ImGuiKey"][73]["name"] = "ImGuiKey_F12" +defs["enums"]["ImGuiKey"][73]["value"] = "583" +defs["enums"]["ImGuiKey"][74] = {} +defs["enums"]["ImGuiKey"][74]["calc_value"] = 584 +defs["enums"]["ImGuiKey"][74]["name"] = "ImGuiKey_Apostrophe" +defs["enums"]["ImGuiKey"][74]["value"] = "584" +defs["enums"]["ImGuiKey"][75] = {} +defs["enums"]["ImGuiKey"][75]["calc_value"] = 585 +defs["enums"]["ImGuiKey"][75]["name"] = "ImGuiKey_Comma" +defs["enums"]["ImGuiKey"][75]["value"] = "585" +defs["enums"]["ImGuiKey"][76] = {} +defs["enums"]["ImGuiKey"][76]["calc_value"] = 586 +defs["enums"]["ImGuiKey"][76]["name"] = "ImGuiKey_Minus" +defs["enums"]["ImGuiKey"][76]["value"] = "586" +defs["enums"]["ImGuiKey"][77] = {} +defs["enums"]["ImGuiKey"][77]["calc_value"] = 587 +defs["enums"]["ImGuiKey"][77]["name"] = "ImGuiKey_Period" +defs["enums"]["ImGuiKey"][77]["value"] = "587" +defs["enums"]["ImGuiKey"][78] = {} +defs["enums"]["ImGuiKey"][78]["calc_value"] = 588 +defs["enums"]["ImGuiKey"][78]["name"] = "ImGuiKey_Slash" +defs["enums"]["ImGuiKey"][78]["value"] = "588" +defs["enums"]["ImGuiKey"][79] = {} +defs["enums"]["ImGuiKey"][79]["calc_value"] = 589 +defs["enums"]["ImGuiKey"][79]["name"] = "ImGuiKey_Semicolon" +defs["enums"]["ImGuiKey"][79]["value"] = "589" +defs["enums"]["ImGuiKey"][80] = {} +defs["enums"]["ImGuiKey"][80]["calc_value"] = 590 +defs["enums"]["ImGuiKey"][80]["name"] = "ImGuiKey_Equal" +defs["enums"]["ImGuiKey"][80]["value"] = "590" +defs["enums"]["ImGuiKey"][81] = {} +defs["enums"]["ImGuiKey"][81]["calc_value"] = 591 +defs["enums"]["ImGuiKey"][81]["name"] = "ImGuiKey_LeftBracket" +defs["enums"]["ImGuiKey"][81]["value"] = "591" +defs["enums"]["ImGuiKey"][82] = {} +defs["enums"]["ImGuiKey"][82]["calc_value"] = 592 +defs["enums"]["ImGuiKey"][82]["name"] = "ImGuiKey_Backslash" +defs["enums"]["ImGuiKey"][82]["value"] = "592" +defs["enums"]["ImGuiKey"][83] = {} +defs["enums"]["ImGuiKey"][83]["calc_value"] = 593 +defs["enums"]["ImGuiKey"][83]["name"] = "ImGuiKey_RightBracket" +defs["enums"]["ImGuiKey"][83]["value"] = "593" +defs["enums"]["ImGuiKey"][84] = {} +defs["enums"]["ImGuiKey"][84]["calc_value"] = 594 +defs["enums"]["ImGuiKey"][84]["name"] = "ImGuiKey_GraveAccent" +defs["enums"]["ImGuiKey"][84]["value"] = "594" +defs["enums"]["ImGuiKey"][85] = {} +defs["enums"]["ImGuiKey"][85]["calc_value"] = 595 +defs["enums"]["ImGuiKey"][85]["name"] = "ImGuiKey_CapsLock" +defs["enums"]["ImGuiKey"][85]["value"] = "595" +defs["enums"]["ImGuiKey"][86] = {} +defs["enums"]["ImGuiKey"][86]["calc_value"] = 596 +defs["enums"]["ImGuiKey"][86]["name"] = "ImGuiKey_ScrollLock" +defs["enums"]["ImGuiKey"][86]["value"] = "596" +defs["enums"]["ImGuiKey"][87] = {} +defs["enums"]["ImGuiKey"][87]["calc_value"] = 597 +defs["enums"]["ImGuiKey"][87]["name"] = "ImGuiKey_NumLock" +defs["enums"]["ImGuiKey"][87]["value"] = "597" +defs["enums"]["ImGuiKey"][88] = {} +defs["enums"]["ImGuiKey"][88]["calc_value"] = 598 +defs["enums"]["ImGuiKey"][88]["name"] = "ImGuiKey_PrintScreen" +defs["enums"]["ImGuiKey"][88]["value"] = "598" +defs["enums"]["ImGuiKey"][89] = {} +defs["enums"]["ImGuiKey"][89]["calc_value"] = 599 +defs["enums"]["ImGuiKey"][89]["name"] = "ImGuiKey_Pause" +defs["enums"]["ImGuiKey"][89]["value"] = "599" +defs["enums"]["ImGuiKey"][90] = {} +defs["enums"]["ImGuiKey"][90]["calc_value"] = 600 +defs["enums"]["ImGuiKey"][90]["name"] = "ImGuiKey_Keypad0" +defs["enums"]["ImGuiKey"][90]["value"] = "600" +defs["enums"]["ImGuiKey"][91] = {} +defs["enums"]["ImGuiKey"][91]["calc_value"] = 601 +defs["enums"]["ImGuiKey"][91]["name"] = "ImGuiKey_Keypad1" +defs["enums"]["ImGuiKey"][91]["value"] = "601" +defs["enums"]["ImGuiKey"][92] = {} +defs["enums"]["ImGuiKey"][92]["calc_value"] = 602 +defs["enums"]["ImGuiKey"][92]["name"] = "ImGuiKey_Keypad2" +defs["enums"]["ImGuiKey"][92]["value"] = "602" +defs["enums"]["ImGuiKey"][93] = {} +defs["enums"]["ImGuiKey"][93]["calc_value"] = 603 +defs["enums"]["ImGuiKey"][93]["name"] = "ImGuiKey_Keypad3" +defs["enums"]["ImGuiKey"][93]["value"] = "603" +defs["enums"]["ImGuiKey"][94] = {} +defs["enums"]["ImGuiKey"][94]["calc_value"] = 604 +defs["enums"]["ImGuiKey"][94]["name"] = "ImGuiKey_Keypad4" +defs["enums"]["ImGuiKey"][94]["value"] = "604" +defs["enums"]["ImGuiKey"][95] = {} +defs["enums"]["ImGuiKey"][95]["calc_value"] = 605 +defs["enums"]["ImGuiKey"][95]["name"] = "ImGuiKey_Keypad5" +defs["enums"]["ImGuiKey"][95]["value"] = "605" +defs["enums"]["ImGuiKey"][96] = {} +defs["enums"]["ImGuiKey"][96]["calc_value"] = 606 +defs["enums"]["ImGuiKey"][96]["name"] = "ImGuiKey_Keypad6" +defs["enums"]["ImGuiKey"][96]["value"] = "606" +defs["enums"]["ImGuiKey"][97] = {} +defs["enums"]["ImGuiKey"][97]["calc_value"] = 607 +defs["enums"]["ImGuiKey"][97]["name"] = "ImGuiKey_Keypad7" +defs["enums"]["ImGuiKey"][97]["value"] = "607" +defs["enums"]["ImGuiKey"][98] = {} +defs["enums"]["ImGuiKey"][98]["calc_value"] = 608 +defs["enums"]["ImGuiKey"][98]["name"] = "ImGuiKey_Keypad8" +defs["enums"]["ImGuiKey"][98]["value"] = "608" +defs["enums"]["ImGuiKey"][99] = {} +defs["enums"]["ImGuiKey"][99]["calc_value"] = 609 +defs["enums"]["ImGuiKey"][99]["name"] = "ImGuiKey_Keypad9" +defs["enums"]["ImGuiKey"][99]["value"] = "609" +defs["enums"]["ImGuiKey"][100] = {} +defs["enums"]["ImGuiKey"][100]["calc_value"] = 610 +defs["enums"]["ImGuiKey"][100]["name"] = "ImGuiKey_KeypadDecimal" +defs["enums"]["ImGuiKey"][100]["value"] = "610" +defs["enums"]["ImGuiKey"][101] = {} +defs["enums"]["ImGuiKey"][101]["calc_value"] = 611 +defs["enums"]["ImGuiKey"][101]["name"] = "ImGuiKey_KeypadDivide" +defs["enums"]["ImGuiKey"][101]["value"] = "611" +defs["enums"]["ImGuiKey"][102] = {} +defs["enums"]["ImGuiKey"][102]["calc_value"] = 612 +defs["enums"]["ImGuiKey"][102]["name"] = "ImGuiKey_KeypadMultiply" +defs["enums"]["ImGuiKey"][102]["value"] = "612" +defs["enums"]["ImGuiKey"][103] = {} +defs["enums"]["ImGuiKey"][103]["calc_value"] = 613 +defs["enums"]["ImGuiKey"][103]["name"] = "ImGuiKey_KeypadSubtract" +defs["enums"]["ImGuiKey"][103]["value"] = "613" +defs["enums"]["ImGuiKey"][104] = {} +defs["enums"]["ImGuiKey"][104]["calc_value"] = 614 +defs["enums"]["ImGuiKey"][104]["name"] = "ImGuiKey_KeypadAdd" +defs["enums"]["ImGuiKey"][104]["value"] = "614" +defs["enums"]["ImGuiKey"][105] = {} +defs["enums"]["ImGuiKey"][105]["calc_value"] = 615 +defs["enums"]["ImGuiKey"][105]["name"] = "ImGuiKey_KeypadEnter" +defs["enums"]["ImGuiKey"][105]["value"] = "615" +defs["enums"]["ImGuiKey"][106] = {} +defs["enums"]["ImGuiKey"][106]["calc_value"] = 616 +defs["enums"]["ImGuiKey"][106]["name"] = "ImGuiKey_KeypadEqual" +defs["enums"]["ImGuiKey"][106]["value"] = "616" +defs["enums"]["ImGuiKey"][107] = {} +defs["enums"]["ImGuiKey"][107]["calc_value"] = 617 +defs["enums"]["ImGuiKey"][107]["name"] = "ImGuiKey_GamepadStart" +defs["enums"]["ImGuiKey"][107]["value"] = "617" +defs["enums"]["ImGuiKey"][108] = {} +defs["enums"]["ImGuiKey"][108]["calc_value"] = 618 +defs["enums"]["ImGuiKey"][108]["name"] = "ImGuiKey_GamepadBack" +defs["enums"]["ImGuiKey"][108]["value"] = "618" +defs["enums"]["ImGuiKey"][109] = {} +defs["enums"]["ImGuiKey"][109]["calc_value"] = 619 +defs["enums"]["ImGuiKey"][109]["name"] = "ImGuiKey_GamepadFaceLeft" +defs["enums"]["ImGuiKey"][109]["value"] = "619" +defs["enums"]["ImGuiKey"][110] = {} +defs["enums"]["ImGuiKey"][110]["calc_value"] = 620 +defs["enums"]["ImGuiKey"][110]["name"] = "ImGuiKey_GamepadFaceRight" +defs["enums"]["ImGuiKey"][110]["value"] = "620" +defs["enums"]["ImGuiKey"][111] = {} +defs["enums"]["ImGuiKey"][111]["calc_value"] = 621 +defs["enums"]["ImGuiKey"][111]["name"] = "ImGuiKey_GamepadFaceUp" +defs["enums"]["ImGuiKey"][111]["value"] = "621" +defs["enums"]["ImGuiKey"][112] = {} +defs["enums"]["ImGuiKey"][112]["calc_value"] = 622 +defs["enums"]["ImGuiKey"][112]["name"] = "ImGuiKey_GamepadFaceDown" +defs["enums"]["ImGuiKey"][112]["value"] = "622" +defs["enums"]["ImGuiKey"][113] = {} +defs["enums"]["ImGuiKey"][113]["calc_value"] = 623 +defs["enums"]["ImGuiKey"][113]["name"] = "ImGuiKey_GamepadDpadLeft" +defs["enums"]["ImGuiKey"][113]["value"] = "623" +defs["enums"]["ImGuiKey"][114] = {} +defs["enums"]["ImGuiKey"][114]["calc_value"] = 624 +defs["enums"]["ImGuiKey"][114]["name"] = "ImGuiKey_GamepadDpadRight" +defs["enums"]["ImGuiKey"][114]["value"] = "624" +defs["enums"]["ImGuiKey"][115] = {} +defs["enums"]["ImGuiKey"][115]["calc_value"] = 625 +defs["enums"]["ImGuiKey"][115]["name"] = "ImGuiKey_GamepadDpadUp" +defs["enums"]["ImGuiKey"][115]["value"] = "625" +defs["enums"]["ImGuiKey"][116] = {} +defs["enums"]["ImGuiKey"][116]["calc_value"] = 626 +defs["enums"]["ImGuiKey"][116]["name"] = "ImGuiKey_GamepadDpadDown" +defs["enums"]["ImGuiKey"][116]["value"] = "626" +defs["enums"]["ImGuiKey"][117] = {} +defs["enums"]["ImGuiKey"][117]["calc_value"] = 627 +defs["enums"]["ImGuiKey"][117]["name"] = "ImGuiKey_GamepadL1" +defs["enums"]["ImGuiKey"][117]["value"] = "627" +defs["enums"]["ImGuiKey"][118] = {} +defs["enums"]["ImGuiKey"][118]["calc_value"] = 628 +defs["enums"]["ImGuiKey"][118]["name"] = "ImGuiKey_GamepadR1" +defs["enums"]["ImGuiKey"][118]["value"] = "628" +defs["enums"]["ImGuiKey"][119] = {} +defs["enums"]["ImGuiKey"][119]["calc_value"] = 629 +defs["enums"]["ImGuiKey"][119]["name"] = "ImGuiKey_GamepadL2" +defs["enums"]["ImGuiKey"][119]["value"] = "629" +defs["enums"]["ImGuiKey"][120] = {} +defs["enums"]["ImGuiKey"][120]["calc_value"] = 630 +defs["enums"]["ImGuiKey"][120]["name"] = "ImGuiKey_GamepadR2" +defs["enums"]["ImGuiKey"][120]["value"] = "630" +defs["enums"]["ImGuiKey"][121] = {} +defs["enums"]["ImGuiKey"][121]["calc_value"] = 631 +defs["enums"]["ImGuiKey"][121]["name"] = "ImGuiKey_GamepadL3" +defs["enums"]["ImGuiKey"][121]["value"] = "631" +defs["enums"]["ImGuiKey"][122] = {} +defs["enums"]["ImGuiKey"][122]["calc_value"] = 632 +defs["enums"]["ImGuiKey"][122]["name"] = "ImGuiKey_GamepadR3" +defs["enums"]["ImGuiKey"][122]["value"] = "632" +defs["enums"]["ImGuiKey"][123] = {} +defs["enums"]["ImGuiKey"][123]["calc_value"] = 633 +defs["enums"]["ImGuiKey"][123]["name"] = "ImGuiKey_GamepadLStickLeft" +defs["enums"]["ImGuiKey"][123]["value"] = "633" +defs["enums"]["ImGuiKey"][124] = {} +defs["enums"]["ImGuiKey"][124]["calc_value"] = 634 +defs["enums"]["ImGuiKey"][124]["name"] = "ImGuiKey_GamepadLStickRight" +defs["enums"]["ImGuiKey"][124]["value"] = "634" +defs["enums"]["ImGuiKey"][125] = {} +defs["enums"]["ImGuiKey"][125]["calc_value"] = 635 +defs["enums"]["ImGuiKey"][125]["name"] = "ImGuiKey_GamepadLStickUp" +defs["enums"]["ImGuiKey"][125]["value"] = "635" +defs["enums"]["ImGuiKey"][126] = {} +defs["enums"]["ImGuiKey"][126]["calc_value"] = 636 +defs["enums"]["ImGuiKey"][126]["name"] = "ImGuiKey_GamepadLStickDown" +defs["enums"]["ImGuiKey"][126]["value"] = "636" +defs["enums"]["ImGuiKey"][127] = {} +defs["enums"]["ImGuiKey"][127]["calc_value"] = 637 +defs["enums"]["ImGuiKey"][127]["name"] = "ImGuiKey_GamepadRStickLeft" +defs["enums"]["ImGuiKey"][127]["value"] = "637" +defs["enums"]["ImGuiKey"][128] = {} +defs["enums"]["ImGuiKey"][128]["calc_value"] = 638 +defs["enums"]["ImGuiKey"][128]["name"] = "ImGuiKey_GamepadRStickRight" +defs["enums"]["ImGuiKey"][128]["value"] = "638" +defs["enums"]["ImGuiKey"][129] = {} +defs["enums"]["ImGuiKey"][129]["calc_value"] = 639 +defs["enums"]["ImGuiKey"][129]["name"] = "ImGuiKey_GamepadRStickUp" +defs["enums"]["ImGuiKey"][129]["value"] = "639" +defs["enums"]["ImGuiKey"][130] = {} +defs["enums"]["ImGuiKey"][130]["calc_value"] = 640 +defs["enums"]["ImGuiKey"][130]["name"] = "ImGuiKey_GamepadRStickDown" +defs["enums"]["ImGuiKey"][130]["value"] = "640" +defs["enums"]["ImGuiKey"][131] = {} +defs["enums"]["ImGuiKey"][131]["calc_value"] = 641 +defs["enums"]["ImGuiKey"][131]["name"] = "ImGuiKey_MouseLeft" +defs["enums"]["ImGuiKey"][131]["value"] = "641" +defs["enums"]["ImGuiKey"][132] = {} +defs["enums"]["ImGuiKey"][132]["calc_value"] = 642 +defs["enums"]["ImGuiKey"][132]["name"] = "ImGuiKey_MouseRight" +defs["enums"]["ImGuiKey"][132]["value"] = "642" +defs["enums"]["ImGuiKey"][133] = {} +defs["enums"]["ImGuiKey"][133]["calc_value"] = 643 +defs["enums"]["ImGuiKey"][133]["name"] = "ImGuiKey_MouseMiddle" +defs["enums"]["ImGuiKey"][133]["value"] = "643" +defs["enums"]["ImGuiKey"][134] = {} +defs["enums"]["ImGuiKey"][134]["calc_value"] = 644 +defs["enums"]["ImGuiKey"][134]["name"] = "ImGuiKey_MouseX1" +defs["enums"]["ImGuiKey"][134]["value"] = "644" +defs["enums"]["ImGuiKey"][135] = {} +defs["enums"]["ImGuiKey"][135]["calc_value"] = 645 +defs["enums"]["ImGuiKey"][135]["name"] = "ImGuiKey_MouseX2" +defs["enums"]["ImGuiKey"][135]["value"] = "645" +defs["enums"]["ImGuiKey"][136] = {} +defs["enums"]["ImGuiKey"][136]["calc_value"] = 646 +defs["enums"]["ImGuiKey"][136]["name"] = "ImGuiKey_MouseWheelX" +defs["enums"]["ImGuiKey"][136]["value"] = "646" +defs["enums"]["ImGuiKey"][137] = {} +defs["enums"]["ImGuiKey"][137]["calc_value"] = 647 +defs["enums"]["ImGuiKey"][137]["name"] = "ImGuiKey_MouseWheelY" +defs["enums"]["ImGuiKey"][137]["value"] = "647" +defs["enums"]["ImGuiKey"][138] = {} +defs["enums"]["ImGuiKey"][138]["calc_value"] = 648 +defs["enums"]["ImGuiKey"][138]["name"] = "ImGuiKey_ReservedForModCtrl" +defs["enums"]["ImGuiKey"][138]["value"] = "648" +defs["enums"]["ImGuiKey"][139] = {} +defs["enums"]["ImGuiKey"][139]["calc_value"] = 649 +defs["enums"]["ImGuiKey"][139]["name"] = "ImGuiKey_ReservedForModShift" +defs["enums"]["ImGuiKey"][139]["value"] = "649" +defs["enums"]["ImGuiKey"][140] = {} +defs["enums"]["ImGuiKey"][140]["calc_value"] = 650 +defs["enums"]["ImGuiKey"][140]["name"] = "ImGuiKey_ReservedForModAlt" +defs["enums"]["ImGuiKey"][140]["value"] = "650" +defs["enums"]["ImGuiKey"][141] = {} +defs["enums"]["ImGuiKey"][141]["calc_value"] = 651 +defs["enums"]["ImGuiKey"][141]["name"] = "ImGuiKey_ReservedForModSuper" +defs["enums"]["ImGuiKey"][141]["value"] = "651" +defs["enums"]["ImGuiKey"][142] = {} +defs["enums"]["ImGuiKey"][142]["calc_value"] = 652 +defs["enums"]["ImGuiKey"][142]["name"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey"][142]["value"] = "652" +defs["enums"]["ImGuiKey"][143] = {} +defs["enums"]["ImGuiKey"][143]["calc_value"] = 0 +defs["enums"]["ImGuiKey"][143]["name"] = "ImGuiMod_None" +defs["enums"]["ImGuiKey"][143]["value"] = "0" +defs["enums"]["ImGuiKey"][144] = {} +defs["enums"]["ImGuiKey"][144]["calc_value"] = 4096 +defs["enums"]["ImGuiKey"][144]["name"] = "ImGuiMod_Ctrl" +defs["enums"]["ImGuiKey"][144]["value"] = "1 << 12" +defs["enums"]["ImGuiKey"][145] = {} +defs["enums"]["ImGuiKey"][145]["calc_value"] = 8192 +defs["enums"]["ImGuiKey"][145]["name"] = "ImGuiMod_Shift" +defs["enums"]["ImGuiKey"][145]["value"] = "1 << 13" +defs["enums"]["ImGuiKey"][146] = {} +defs["enums"]["ImGuiKey"][146]["calc_value"] = 16384 +defs["enums"]["ImGuiKey"][146]["name"] = "ImGuiMod_Alt" +defs["enums"]["ImGuiKey"][146]["value"] = "1 << 14" +defs["enums"]["ImGuiKey"][147] = {} +defs["enums"]["ImGuiKey"][147]["calc_value"] = 32768 +defs["enums"]["ImGuiKey"][147]["name"] = "ImGuiMod_Super" +defs["enums"]["ImGuiKey"][147]["value"] = "1 << 15" +defs["enums"]["ImGuiKey"][148] = {} +defs["enums"]["ImGuiKey"][148]["calc_value"] = 61440 +defs["enums"]["ImGuiKey"][148]["name"] = "ImGuiMod_Mask_" +defs["enums"]["ImGuiKey"][148]["value"] = "0xF000" +defs["enums"]["ImGuiKey"][149] = {} +defs["enums"]["ImGuiKey"][149]["calc_value"] = 4096 +defs["enums"]["ImGuiKey"][149]["name"] = "ImGuiMod_Shortcut" +defs["enums"]["ImGuiKey"][149]["value"] = "ImGuiMod_Ctrl" +defs["enums"]["ImGuiKey"][150] = {} +defs["enums"]["ImGuiKey"][150]["calc_value"] = 512 +defs["enums"]["ImGuiKey"][150]["name"] = "ImGuiKey_NamedKey_BEGIN" +defs["enums"]["ImGuiKey"][150]["value"] = "512" +defs["enums"]["ImGuiKey"][151] = {} +defs["enums"]["ImGuiKey"][151]["calc_value"] = 652 +defs["enums"]["ImGuiKey"][151]["name"] = "ImGuiKey_NamedKey_END" +defs["enums"]["ImGuiKey"][151]["value"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey"][152] = {} +defs["enums"]["ImGuiKey"][152]["calc_value"] = 140 +defs["enums"]["ImGuiKey"][152]["name"] = "ImGuiKey_NamedKey_COUNT" +defs["enums"]["ImGuiKey"][152]["value"] = "ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN" +defs["enums"]["ImGuiKey"][153] = {} +defs["enums"]["ImGuiKey"][153]["calc_value"] = 652 +defs["enums"]["ImGuiKey"][153]["name"] = "ImGuiKey_KeysData_SIZE" +defs["enums"]["ImGuiKey"][153]["value"] = "ImGuiKey_COUNT" +defs["enums"]["ImGuiKey"][154] = {} +defs["enums"]["ImGuiKey"][154]["calc_value"] = 0 +defs["enums"]["ImGuiKey"][154]["name"] = "ImGuiKey_KeysData_OFFSET" +defs["enums"]["ImGuiKey"][154]["value"] = "0" defs["enums"]["ImGuiMouseButton_"] = {} defs["enums"]["ImGuiMouseButton_"][1] = {} defs["enums"]["ImGuiMouseButton_"][1]["calc_value"] = 0 @@ -1016,95 +1539,75 @@ defs["enums"]["ImGuiMouseCursor_"][11] = {} defs["enums"]["ImGuiMouseCursor_"][11]["calc_value"] = 9 defs["enums"]["ImGuiMouseCursor_"][11]["name"] = "ImGuiMouseCursor_COUNT" defs["enums"]["ImGuiMouseCursor_"][11]["value"] = "9" -defs["enums"]["ImGuiNavInput_"] = {} -defs["enums"]["ImGuiNavInput_"][1] = {} -defs["enums"]["ImGuiNavInput_"][1]["calc_value"] = 0 -defs["enums"]["ImGuiNavInput_"][1]["name"] = "ImGuiNavInput_Activate" -defs["enums"]["ImGuiNavInput_"][1]["value"] = "0" -defs["enums"]["ImGuiNavInput_"][2] = {} -defs["enums"]["ImGuiNavInput_"][2]["calc_value"] = 1 -defs["enums"]["ImGuiNavInput_"][2]["name"] = "ImGuiNavInput_Cancel" -defs["enums"]["ImGuiNavInput_"][2]["value"] = "1" -defs["enums"]["ImGuiNavInput_"][3] = {} -defs["enums"]["ImGuiNavInput_"][3]["calc_value"] = 2 -defs["enums"]["ImGuiNavInput_"][3]["name"] = "ImGuiNavInput_Input" -defs["enums"]["ImGuiNavInput_"][3]["value"] = "2" -defs["enums"]["ImGuiNavInput_"][4] = {} -defs["enums"]["ImGuiNavInput_"][4]["calc_value"] = 3 -defs["enums"]["ImGuiNavInput_"][4]["name"] = "ImGuiNavInput_Menu" -defs["enums"]["ImGuiNavInput_"][4]["value"] = "3" -defs["enums"]["ImGuiNavInput_"][5] = {} -defs["enums"]["ImGuiNavInput_"][5]["calc_value"] = 4 -defs["enums"]["ImGuiNavInput_"][5]["name"] = "ImGuiNavInput_DpadLeft" -defs["enums"]["ImGuiNavInput_"][5]["value"] = "4" -defs["enums"]["ImGuiNavInput_"][6] = {} -defs["enums"]["ImGuiNavInput_"][6]["calc_value"] = 5 -defs["enums"]["ImGuiNavInput_"][6]["name"] = "ImGuiNavInput_DpadRight" -defs["enums"]["ImGuiNavInput_"][6]["value"] = "5" -defs["enums"]["ImGuiNavInput_"][7] = {} -defs["enums"]["ImGuiNavInput_"][7]["calc_value"] = 6 -defs["enums"]["ImGuiNavInput_"][7]["name"] = "ImGuiNavInput_DpadUp" -defs["enums"]["ImGuiNavInput_"][7]["value"] = "6" -defs["enums"]["ImGuiNavInput_"][8] = {} -defs["enums"]["ImGuiNavInput_"][8]["calc_value"] = 7 -defs["enums"]["ImGuiNavInput_"][8]["name"] = "ImGuiNavInput_DpadDown" -defs["enums"]["ImGuiNavInput_"][8]["value"] = "7" -defs["enums"]["ImGuiNavInput_"][9] = {} -defs["enums"]["ImGuiNavInput_"][9]["calc_value"] = 8 -defs["enums"]["ImGuiNavInput_"][9]["name"] = "ImGuiNavInput_LStickLeft" -defs["enums"]["ImGuiNavInput_"][9]["value"] = "8" -defs["enums"]["ImGuiNavInput_"][10] = {} -defs["enums"]["ImGuiNavInput_"][10]["calc_value"] = 9 -defs["enums"]["ImGuiNavInput_"][10]["name"] = "ImGuiNavInput_LStickRight" -defs["enums"]["ImGuiNavInput_"][10]["value"] = "9" -defs["enums"]["ImGuiNavInput_"][11] = {} -defs["enums"]["ImGuiNavInput_"][11]["calc_value"] = 10 -defs["enums"]["ImGuiNavInput_"][11]["name"] = "ImGuiNavInput_LStickUp" -defs["enums"]["ImGuiNavInput_"][11]["value"] = "10" -defs["enums"]["ImGuiNavInput_"][12] = {} -defs["enums"]["ImGuiNavInput_"][12]["calc_value"] = 11 -defs["enums"]["ImGuiNavInput_"][12]["name"] = "ImGuiNavInput_LStickDown" -defs["enums"]["ImGuiNavInput_"][12]["value"] = "11" -defs["enums"]["ImGuiNavInput_"][13] = {} -defs["enums"]["ImGuiNavInput_"][13]["calc_value"] = 12 -defs["enums"]["ImGuiNavInput_"][13]["name"] = "ImGuiNavInput_FocusPrev" -defs["enums"]["ImGuiNavInput_"][13]["value"] = "12" -defs["enums"]["ImGuiNavInput_"][14] = {} -defs["enums"]["ImGuiNavInput_"][14]["calc_value"] = 13 -defs["enums"]["ImGuiNavInput_"][14]["name"] = "ImGuiNavInput_FocusNext" -defs["enums"]["ImGuiNavInput_"][14]["value"] = "13" -defs["enums"]["ImGuiNavInput_"][15] = {} -defs["enums"]["ImGuiNavInput_"][15]["calc_value"] = 14 -defs["enums"]["ImGuiNavInput_"][15]["name"] = "ImGuiNavInput_TweakSlow" -defs["enums"]["ImGuiNavInput_"][15]["value"] = "14" -defs["enums"]["ImGuiNavInput_"][16] = {} -defs["enums"]["ImGuiNavInput_"][16]["calc_value"] = 15 -defs["enums"]["ImGuiNavInput_"][16]["name"] = "ImGuiNavInput_TweakFast" -defs["enums"]["ImGuiNavInput_"][16]["value"] = "15" -defs["enums"]["ImGuiNavInput_"][17] = {} -defs["enums"]["ImGuiNavInput_"][17]["calc_value"] = 16 -defs["enums"]["ImGuiNavInput_"][17]["name"] = "ImGuiNavInput_KeyLeft_" -defs["enums"]["ImGuiNavInput_"][17]["value"] = "16" -defs["enums"]["ImGuiNavInput_"][18] = {} -defs["enums"]["ImGuiNavInput_"][18]["calc_value"] = 17 -defs["enums"]["ImGuiNavInput_"][18]["name"] = "ImGuiNavInput_KeyRight_" -defs["enums"]["ImGuiNavInput_"][18]["value"] = "17" -defs["enums"]["ImGuiNavInput_"][19] = {} -defs["enums"]["ImGuiNavInput_"][19]["calc_value"] = 18 -defs["enums"]["ImGuiNavInput_"][19]["name"] = "ImGuiNavInput_KeyUp_" -defs["enums"]["ImGuiNavInput_"][19]["value"] = "18" -defs["enums"]["ImGuiNavInput_"][20] = {} -defs["enums"]["ImGuiNavInput_"][20]["calc_value"] = 19 -defs["enums"]["ImGuiNavInput_"][20]["name"] = "ImGuiNavInput_KeyDown_" -defs["enums"]["ImGuiNavInput_"][20]["value"] = "19" -defs["enums"]["ImGuiNavInput_"][21] = {} -defs["enums"]["ImGuiNavInput_"][21]["calc_value"] = 20 -defs["enums"]["ImGuiNavInput_"][21]["name"] = "ImGuiNavInput_COUNT" -defs["enums"]["ImGuiNavInput_"][21]["value"] = "20" -defs["enums"]["ImGuiNavInput_"][22] = {} -defs["enums"]["ImGuiNavInput_"][22]["calc_value"] = 16 -defs["enums"]["ImGuiNavInput_"][22]["name"] = "ImGuiNavInput_InternalStart_" -defs["enums"]["ImGuiNavInput_"][22]["value"] = "ImGuiNavInput_KeyLeft_" +defs["enums"]["ImGuiNavInput"] = {} +defs["enums"]["ImGuiNavInput"][1] = {} +defs["enums"]["ImGuiNavInput"][1]["calc_value"] = 0 +defs["enums"]["ImGuiNavInput"][1]["name"] = "ImGuiNavInput_Activate" +defs["enums"]["ImGuiNavInput"][1]["value"] = "0" +defs["enums"]["ImGuiNavInput"][2] = {} +defs["enums"]["ImGuiNavInput"][2]["calc_value"] = 1 +defs["enums"]["ImGuiNavInput"][2]["name"] = "ImGuiNavInput_Cancel" +defs["enums"]["ImGuiNavInput"][2]["value"] = "1" +defs["enums"]["ImGuiNavInput"][3] = {} +defs["enums"]["ImGuiNavInput"][3]["calc_value"] = 2 +defs["enums"]["ImGuiNavInput"][3]["name"] = "ImGuiNavInput_Input" +defs["enums"]["ImGuiNavInput"][3]["value"] = "2" +defs["enums"]["ImGuiNavInput"][4] = {} +defs["enums"]["ImGuiNavInput"][4]["calc_value"] = 3 +defs["enums"]["ImGuiNavInput"][4]["name"] = "ImGuiNavInput_Menu" +defs["enums"]["ImGuiNavInput"][4]["value"] = "3" +defs["enums"]["ImGuiNavInput"][5] = {} +defs["enums"]["ImGuiNavInput"][5]["calc_value"] = 4 +defs["enums"]["ImGuiNavInput"][5]["name"] = "ImGuiNavInput_DpadLeft" +defs["enums"]["ImGuiNavInput"][5]["value"] = "4" +defs["enums"]["ImGuiNavInput"][6] = {} +defs["enums"]["ImGuiNavInput"][6]["calc_value"] = 5 +defs["enums"]["ImGuiNavInput"][6]["name"] = "ImGuiNavInput_DpadRight" +defs["enums"]["ImGuiNavInput"][6]["value"] = "5" +defs["enums"]["ImGuiNavInput"][7] = {} +defs["enums"]["ImGuiNavInput"][7]["calc_value"] = 6 +defs["enums"]["ImGuiNavInput"][7]["name"] = "ImGuiNavInput_DpadUp" +defs["enums"]["ImGuiNavInput"][7]["value"] = "6" +defs["enums"]["ImGuiNavInput"][8] = {} +defs["enums"]["ImGuiNavInput"][8]["calc_value"] = 7 +defs["enums"]["ImGuiNavInput"][8]["name"] = "ImGuiNavInput_DpadDown" +defs["enums"]["ImGuiNavInput"][8]["value"] = "7" +defs["enums"]["ImGuiNavInput"][9] = {} +defs["enums"]["ImGuiNavInput"][9]["calc_value"] = 8 +defs["enums"]["ImGuiNavInput"][9]["name"] = "ImGuiNavInput_LStickLeft" +defs["enums"]["ImGuiNavInput"][9]["value"] = "8" +defs["enums"]["ImGuiNavInput"][10] = {} +defs["enums"]["ImGuiNavInput"][10]["calc_value"] = 9 +defs["enums"]["ImGuiNavInput"][10]["name"] = "ImGuiNavInput_LStickRight" +defs["enums"]["ImGuiNavInput"][10]["value"] = "9" +defs["enums"]["ImGuiNavInput"][11] = {} +defs["enums"]["ImGuiNavInput"][11]["calc_value"] = 10 +defs["enums"]["ImGuiNavInput"][11]["name"] = "ImGuiNavInput_LStickUp" +defs["enums"]["ImGuiNavInput"][11]["value"] = "10" +defs["enums"]["ImGuiNavInput"][12] = {} +defs["enums"]["ImGuiNavInput"][12]["calc_value"] = 11 +defs["enums"]["ImGuiNavInput"][12]["name"] = "ImGuiNavInput_LStickDown" +defs["enums"]["ImGuiNavInput"][12]["value"] = "11" +defs["enums"]["ImGuiNavInput"][13] = {} +defs["enums"]["ImGuiNavInput"][13]["calc_value"] = 12 +defs["enums"]["ImGuiNavInput"][13]["name"] = "ImGuiNavInput_FocusPrev" +defs["enums"]["ImGuiNavInput"][13]["value"] = "12" +defs["enums"]["ImGuiNavInput"][14] = {} +defs["enums"]["ImGuiNavInput"][14]["calc_value"] = 13 +defs["enums"]["ImGuiNavInput"][14]["name"] = "ImGuiNavInput_FocusNext" +defs["enums"]["ImGuiNavInput"][14]["value"] = "13" +defs["enums"]["ImGuiNavInput"][15] = {} +defs["enums"]["ImGuiNavInput"][15]["calc_value"] = 14 +defs["enums"]["ImGuiNavInput"][15]["name"] = "ImGuiNavInput_TweakSlow" +defs["enums"]["ImGuiNavInput"][15]["value"] = "14" +defs["enums"]["ImGuiNavInput"][16] = {} +defs["enums"]["ImGuiNavInput"][16]["calc_value"] = 15 +defs["enums"]["ImGuiNavInput"][16]["name"] = "ImGuiNavInput_TweakFast" +defs["enums"]["ImGuiNavInput"][16]["value"] = "15" +defs["enums"]["ImGuiNavInput"][17] = {} +defs["enums"]["ImGuiNavInput"][17]["calc_value"] = 16 +defs["enums"]["ImGuiNavInput"][17]["name"] = "ImGuiNavInput_COUNT" +defs["enums"]["ImGuiNavInput"][17]["value"] = "16" defs["enums"]["ImGuiPopupFlags_"] = {} defs["enums"]["ImGuiPopupFlags_"][1] = {} defs["enums"]["ImGuiPopupFlags_"][1]["calc_value"] = 0 @@ -1884,73 +2387,75 @@ defs["enums"]["ImGuiWindowFlags_"][30]["calc_value"] = 268435456 defs["enums"]["ImGuiWindowFlags_"][30]["name"] = "ImGuiWindowFlags_ChildMenu" defs["enums"]["ImGuiWindowFlags_"][30]["value"] = "1 << 28" defs["enumtypes"] = {} +defs["enumtypes"]["ImGuiKey"] = "int" defs["locations"] = {} -defs["locations"]["ImColor"] = "imgui:2241" -defs["locations"]["ImDrawChannel"] = "imgui:2331" -defs["locations"]["ImDrawCmd"] = "imgui:2290" -defs["locations"]["ImDrawCmdHeader"] = "imgui:2323" -defs["locations"]["ImDrawData"] = "imgui:2521" -defs["locations"]["ImDrawFlags_"] = "imgui:2357" -defs["locations"]["ImDrawList"] = "imgui:2395" -defs["locations"]["ImDrawListFlags_"] = "imgui:2377" -defs["locations"]["ImDrawListSplitter"] = "imgui:2340" -defs["locations"]["ImDrawVert"] = "imgui:2308" -defs["locations"]["ImFont"] = "imgui:2739" -defs["locations"]["ImFontAtlas"] = "imgui:2637" -defs["locations"]["ImFontAtlasCustomRect"] = "imgui:2599" -defs["locations"]["ImFontAtlasFlags_"] = "imgui:2612" -defs["locations"]["ImFontConfig"] = "imgui:2543" -defs["locations"]["ImFontGlyph"] = "imgui:2572" -defs["locations"]["ImFontGlyphRangesBuilder"] = "imgui:2584" -defs["locations"]["ImGuiBackendFlags_"] = "imgui:1442" -defs["locations"]["ImGuiButtonFlags_"] = "imgui:1549" -defs["locations"]["ImGuiCol_"] = "imgui:1452" -defs["locations"]["ImGuiColorEditFlags_"] = "imgui:1562" -defs["locations"]["ImGuiComboFlags_"] = "imgui:1076" -defs["locations"]["ImGuiCond_"] = "imgui:1654" -defs["locations"]["ImGuiConfigFlags_"] = "imgui:1426" -defs["locations"]["ImGuiDataType_"] = "imgui:1319" -defs["locations"]["ImGuiDir_"] = "imgui:1335" -defs["locations"]["ImGuiDragDropFlags_"] = "imgui:1297" -defs["locations"]["ImGuiFocusedFlags_"] = "imgui:1265" -defs["locations"]["ImGuiHoveredFlags_"] = "imgui:1279" -defs["locations"]["ImGuiIO"] = "imgui:1820" -defs["locations"]["ImGuiInputTextCallbackData"] = "imgui:1969" -defs["locations"]["ImGuiInputTextFlags_"] = "imgui:989" -defs["locations"]["ImGuiKeyModFlags_"] = "imgui:1382" -defs["locations"]["ImGuiKey_"] = "imgui:1354" -defs["locations"]["ImGuiListClipper"] = "imgui:2193" -defs["locations"]["ImGuiMouseButton_"] = "imgui:1626" -defs["locations"]["ImGuiMouseCursor_"] = "imgui:1636" -defs["locations"]["ImGuiNavInput_"] = "imgui:1395" -defs["locations"]["ImGuiOnceUponAFrame"] = "imgui:2068" -defs["locations"]["ImGuiPayload"] = "imgui:2009" -defs["locations"]["ImGuiPopupFlags_"] = "imgui:1049" -defs["locations"]["ImGuiSelectableFlags_"] = "imgui:1065" -defs["locations"]["ImGuiSizeCallbackData"] = "imgui:2000" -defs["locations"]["ImGuiSliderFlags_"] = "imgui:1609" -defs["locations"]["ImGuiSortDirection_"] = "imgui:1346" -defs["locations"]["ImGuiStorage"] = "imgui:2130" -defs["locations"]["ImGuiStoragePair"] = "imgui:2133" -defs["locations"]["ImGuiStyle"] = "imgui:1765" -defs["locations"]["ImGuiStyleVar_"] = "imgui:1517" -defs["locations"]["ImGuiTabBarFlags_"] = "imgui:1090" -defs["locations"]["ImGuiTabItemFlags_"] = "imgui:1106" -defs["locations"]["ImGuiTableBgTarget_"] = "imgui:1256" -defs["locations"]["ImGuiTableColumnFlags_"] = "imgui:1199" -defs["locations"]["ImGuiTableColumnSortSpecs"] = "imgui:2031" -defs["locations"]["ImGuiTableFlags_"] = "imgui:1142" -defs["locations"]["ImGuiTableRowFlags_"] = "imgui:1241" -defs["locations"]["ImGuiTableSortSpecs"] = "imgui:2045" -defs["locations"]["ImGuiTextBuffer"] = "imgui:2103" -defs["locations"]["ImGuiTextFilter"] = "imgui:2076" -defs["locations"]["ImGuiTextRange"] = "imgui:2086" -defs["locations"]["ImGuiTreeNodeFlags_"] = "imgui:1020" -defs["locations"]["ImGuiViewport"] = "imgui:2810" -defs["locations"]["ImGuiViewportFlags_"] = "imgui:2795" -defs["locations"]["ImGuiWindowFlags_"] = "imgui:949" -defs["locations"]["ImVec2"] = "imgui:259" -defs["locations"]["ImVec4"] = "imgui:272" +defs["locations"]["ImColor"] = "imgui:2346" +defs["locations"]["ImDrawChannel"] = "imgui:2436" +defs["locations"]["ImDrawCmd"] = "imgui:2395" +defs["locations"]["ImDrawCmdHeader"] = "imgui:2428" +defs["locations"]["ImDrawData"] = "imgui:2628" +defs["locations"]["ImDrawFlags_"] = "imgui:2462" +defs["locations"]["ImDrawList"] = "imgui:2500" +defs["locations"]["ImDrawListFlags_"] = "imgui:2482" +defs["locations"]["ImDrawListSplitter"] = "imgui:2445" +defs["locations"]["ImDrawVert"] = "imgui:2413" +defs["locations"]["ImFont"] = "imgui:2846" +defs["locations"]["ImFontAtlas"] = "imgui:2744" +defs["locations"]["ImFontAtlasCustomRect"] = "imgui:2706" +defs["locations"]["ImFontAtlasFlags_"] = "imgui:2719" +defs["locations"]["ImFontConfig"] = "imgui:2650" +defs["locations"]["ImFontGlyph"] = "imgui:2679" +defs["locations"]["ImFontGlyphRangesBuilder"] = "imgui:2691" +defs["locations"]["ImGuiBackendFlags_"] = "imgui:1510" +defs["locations"]["ImGuiButtonFlags_"] = "imgui:1617" +defs["locations"]["ImGuiCol_"] = "imgui:1520" +defs["locations"]["ImGuiColorEditFlags_"] = "imgui:1630" +defs["locations"]["ImGuiComboFlags_"] = "imgui:1079" +defs["locations"]["ImGuiCond_"] = "imgui:1721" +defs["locations"]["ImGuiConfigFlags_"] = "imgui:1494" +defs["locations"]["ImGuiDataType_"] = "imgui:1316" +defs["locations"]["ImGuiDir_"] = "imgui:1332" +defs["locations"]["ImGuiDragDropFlags_"] = "imgui:1294" +defs["locations"]["ImGuiFocusedFlags_"] = "imgui:1256" +defs["locations"]["ImGuiHoveredFlags_"] = "imgui:1270" +defs["locations"]["ImGuiIO"] = "imgui:1898" +defs["locations"]["ImGuiInputTextCallbackData"] = "imgui:2071" +defs["locations"]["ImGuiInputTextFlags_"] = "imgui:991" +defs["locations"]["ImGuiKey"] = "imgui:1353" +defs["locations"]["ImGuiKeyData"] = "imgui:1890" +defs["locations"]["ImGuiListClipper"] = "imgui:2295" +defs["locations"]["ImGuiMouseButton_"] = "imgui:1693" +defs["locations"]["ImGuiMouseCursor_"] = "imgui:1703" +defs["locations"]["ImGuiNavInput"] = "imgui:1485" +defs["locations"]["ImGuiOnceUponAFrame"] = "imgui:2170" +defs["locations"]["ImGuiPayload"] = "imgui:2111" +defs["locations"]["ImGuiPlatformImeData"] = "imgui:2940" +defs["locations"]["ImGuiPopupFlags_"] = "imgui:1052" +defs["locations"]["ImGuiSelectableFlags_"] = "imgui:1068" +defs["locations"]["ImGuiSizeCallbackData"] = "imgui:2102" +defs["locations"]["ImGuiSliderFlags_"] = "imgui:1676" +defs["locations"]["ImGuiSortDirection_"] = "imgui:1343" +defs["locations"]["ImGuiStorage"] = "imgui:2232" +defs["locations"]["ImGuiStoragePair"] = "imgui:2235" +defs["locations"]["ImGuiStyle"] = "imgui:1833" +defs["locations"]["ImGuiStyleVar_"] = "imgui:1585" +defs["locations"]["ImGuiTabBarFlags_"] = "imgui:1093" +defs["locations"]["ImGuiTabItemFlags_"] = "imgui:1109" +defs["locations"]["ImGuiTableBgTarget_"] = "imgui:1247" +defs["locations"]["ImGuiTableColumnFlags_"] = "imgui:1195" +defs["locations"]["ImGuiTableColumnSortSpecs"] = "imgui:2133" +defs["locations"]["ImGuiTableFlags_"] = "imgui:1144" +defs["locations"]["ImGuiTableRowFlags_"] = "imgui:1232" +defs["locations"]["ImGuiTableSortSpecs"] = "imgui:2147" +defs["locations"]["ImGuiTextBuffer"] = "imgui:2205" +defs["locations"]["ImGuiTextFilter"] = "imgui:2178" +defs["locations"]["ImGuiTextRange"] = "imgui:2188" +defs["locations"]["ImGuiTreeNodeFlags_"] = "imgui:1023" +defs["locations"]["ImGuiViewport"] = "imgui:2917" +defs["locations"]["ImGuiViewportFlags_"] = "imgui:2902" +defs["locations"]["ImGuiWindowFlags_"] = "imgui:953" +defs["locations"]["ImVec2"] = "imgui:253" +defs["locations"]["ImVec4"] = "imgui:266" defs["structs"] = {} defs["structs"]["ImColor"] = {} defs["structs"]["ImColor"][1] = {} @@ -2043,7 +2548,7 @@ defs["structs"]["ImDrawList"][5]["name"] = "_VtxCurrentIdx" defs["structs"]["ImDrawList"][5]["type"] = "unsigned int" defs["structs"]["ImDrawList"][6] = {} defs["structs"]["ImDrawList"][6]["name"] = "_Data" -defs["structs"]["ImDrawList"][6]["type"] = "const ImDrawListSharedData*" +defs["structs"]["ImDrawList"][6]["type"] = "ImDrawListSharedData*" defs["structs"]["ImDrawList"][7] = {} defs["structs"]["ImDrawList"][7]["name"] = "_OwnerName" defs["structs"]["ImDrawList"][7]["type"] = "const char*" @@ -2383,252 +2888,254 @@ defs["structs"]["ImGuiIO"][10] = {} defs["structs"]["ImGuiIO"][10]["name"] = "MouseDragThreshold" defs["structs"]["ImGuiIO"][10]["type"] = "float" defs["structs"]["ImGuiIO"][11] = {} -defs["structs"]["ImGuiIO"][11]["name"] = "KeyMap[ImGuiKey_COUNT]" -defs["structs"]["ImGuiIO"][11]["size"] = 22 -defs["structs"]["ImGuiIO"][11]["type"] = "int" +defs["structs"]["ImGuiIO"][11]["name"] = "KeyRepeatDelay" +defs["structs"]["ImGuiIO"][11]["type"] = "float" defs["structs"]["ImGuiIO"][12] = {} -defs["structs"]["ImGuiIO"][12]["name"] = "KeyRepeatDelay" +defs["structs"]["ImGuiIO"][12]["name"] = "KeyRepeatRate" defs["structs"]["ImGuiIO"][12]["type"] = "float" defs["structs"]["ImGuiIO"][13] = {} -defs["structs"]["ImGuiIO"][13]["name"] = "KeyRepeatRate" +defs["structs"]["ImGuiIO"][13]["name"] = "HoverDelayNormal" defs["structs"]["ImGuiIO"][13]["type"] = "float" defs["structs"]["ImGuiIO"][14] = {} -defs["structs"]["ImGuiIO"][14]["name"] = "UserData" -defs["structs"]["ImGuiIO"][14]["type"] = "void*" +defs["structs"]["ImGuiIO"][14]["name"] = "HoverDelayShort" +defs["structs"]["ImGuiIO"][14]["type"] = "float" defs["structs"]["ImGuiIO"][15] = {} -defs["structs"]["ImGuiIO"][15]["name"] = "Fonts" -defs["structs"]["ImGuiIO"][15]["type"] = "ImFontAtlas*" +defs["structs"]["ImGuiIO"][15]["name"] = "UserData" +defs["structs"]["ImGuiIO"][15]["type"] = "void*" defs["structs"]["ImGuiIO"][16] = {} -defs["structs"]["ImGuiIO"][16]["name"] = "FontGlobalScale" -defs["structs"]["ImGuiIO"][16]["type"] = "float" +defs["structs"]["ImGuiIO"][16]["name"] = "Fonts" +defs["structs"]["ImGuiIO"][16]["type"] = "ImFontAtlas*" defs["structs"]["ImGuiIO"][17] = {} -defs["structs"]["ImGuiIO"][17]["name"] = "FontAllowUserScaling" -defs["structs"]["ImGuiIO"][17]["type"] = "bool" +defs["structs"]["ImGuiIO"][17]["name"] = "FontGlobalScale" +defs["structs"]["ImGuiIO"][17]["type"] = "float" defs["structs"]["ImGuiIO"][18] = {} -defs["structs"]["ImGuiIO"][18]["name"] = "FontDefault" -defs["structs"]["ImGuiIO"][18]["type"] = "ImFont*" +defs["structs"]["ImGuiIO"][18]["name"] = "FontAllowUserScaling" +defs["structs"]["ImGuiIO"][18]["type"] = "bool" defs["structs"]["ImGuiIO"][19] = {} -defs["structs"]["ImGuiIO"][19]["name"] = "DisplayFramebufferScale" -defs["structs"]["ImGuiIO"][19]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][19]["name"] = "FontDefault" +defs["structs"]["ImGuiIO"][19]["type"] = "ImFont*" defs["structs"]["ImGuiIO"][20] = {} -defs["structs"]["ImGuiIO"][20]["name"] = "MouseDrawCursor" -defs["structs"]["ImGuiIO"][20]["type"] = "bool" +defs["structs"]["ImGuiIO"][20]["name"] = "DisplayFramebufferScale" +defs["structs"]["ImGuiIO"][20]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][21] = {} -defs["structs"]["ImGuiIO"][21]["name"] = "ConfigMacOSXBehaviors" +defs["structs"]["ImGuiIO"][21]["name"] = "MouseDrawCursor" defs["structs"]["ImGuiIO"][21]["type"] = "bool" defs["structs"]["ImGuiIO"][22] = {} -defs["structs"]["ImGuiIO"][22]["name"] = "ConfigInputTextCursorBlink" +defs["structs"]["ImGuiIO"][22]["name"] = "ConfigMacOSXBehaviors" defs["structs"]["ImGuiIO"][22]["type"] = "bool" defs["structs"]["ImGuiIO"][23] = {} -defs["structs"]["ImGuiIO"][23]["name"] = "ConfigDragClickToInputText" +defs["structs"]["ImGuiIO"][23]["name"] = "ConfigInputTrickleEventQueue" defs["structs"]["ImGuiIO"][23]["type"] = "bool" defs["structs"]["ImGuiIO"][24] = {} -defs["structs"]["ImGuiIO"][24]["name"] = "ConfigWindowsResizeFromEdges" +defs["structs"]["ImGuiIO"][24]["name"] = "ConfigInputTextCursorBlink" defs["structs"]["ImGuiIO"][24]["type"] = "bool" defs["structs"]["ImGuiIO"][25] = {} -defs["structs"]["ImGuiIO"][25]["name"] = "ConfigWindowsMoveFromTitleBarOnly" +defs["structs"]["ImGuiIO"][25]["name"] = "ConfigInputTextEnterKeepActive" defs["structs"]["ImGuiIO"][25]["type"] = "bool" defs["structs"]["ImGuiIO"][26] = {} -defs["structs"]["ImGuiIO"][26]["name"] = "ConfigMemoryCompactTimer" -defs["structs"]["ImGuiIO"][26]["type"] = "float" +defs["structs"]["ImGuiIO"][26]["name"] = "ConfigDragClickToInputText" +defs["structs"]["ImGuiIO"][26]["type"] = "bool" defs["structs"]["ImGuiIO"][27] = {} -defs["structs"]["ImGuiIO"][27]["name"] = "BackendPlatformName" -defs["structs"]["ImGuiIO"][27]["type"] = "const char*" +defs["structs"]["ImGuiIO"][27]["name"] = "ConfigWindowsResizeFromEdges" +defs["structs"]["ImGuiIO"][27]["type"] = "bool" defs["structs"]["ImGuiIO"][28] = {} -defs["structs"]["ImGuiIO"][28]["name"] = "BackendRendererName" -defs["structs"]["ImGuiIO"][28]["type"] = "const char*" +defs["structs"]["ImGuiIO"][28]["name"] = "ConfigWindowsMoveFromTitleBarOnly" +defs["structs"]["ImGuiIO"][28]["type"] = "bool" defs["structs"]["ImGuiIO"][29] = {} -defs["structs"]["ImGuiIO"][29]["name"] = "BackendPlatformUserData" -defs["structs"]["ImGuiIO"][29]["type"] = "void*" +defs["structs"]["ImGuiIO"][29]["name"] = "ConfigMemoryCompactTimer" +defs["structs"]["ImGuiIO"][29]["type"] = "float" defs["structs"]["ImGuiIO"][30] = {} -defs["structs"]["ImGuiIO"][30]["name"] = "BackendRendererUserData" -defs["structs"]["ImGuiIO"][30]["type"] = "void*" +defs["structs"]["ImGuiIO"][30]["name"] = "BackendPlatformName" +defs["structs"]["ImGuiIO"][30]["type"] = "const char*" defs["structs"]["ImGuiIO"][31] = {} -defs["structs"]["ImGuiIO"][31]["name"] = "BackendLanguageUserData" -defs["structs"]["ImGuiIO"][31]["type"] = "void*" +defs["structs"]["ImGuiIO"][31]["name"] = "BackendRendererName" +defs["structs"]["ImGuiIO"][31]["type"] = "const char*" defs["structs"]["ImGuiIO"][32] = {} -defs["structs"]["ImGuiIO"][32]["name"] = "GetClipboardTextFn" -defs["structs"]["ImGuiIO"][32]["type"] = "const char*(*)(void* user_data)" +defs["structs"]["ImGuiIO"][32]["name"] = "BackendPlatformUserData" +defs["structs"]["ImGuiIO"][32]["type"] = "void*" defs["structs"]["ImGuiIO"][33] = {} -defs["structs"]["ImGuiIO"][33]["name"] = "SetClipboardTextFn" -defs["structs"]["ImGuiIO"][33]["type"] = "void(*)(void* user_data,const char* text)" +defs["structs"]["ImGuiIO"][33]["name"] = "BackendRendererUserData" +defs["structs"]["ImGuiIO"][33]["type"] = "void*" defs["structs"]["ImGuiIO"][34] = {} -defs["structs"]["ImGuiIO"][34]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][34]["name"] = "BackendLanguageUserData" defs["structs"]["ImGuiIO"][34]["type"] = "void*" defs["structs"]["ImGuiIO"][35] = {} -defs["structs"]["ImGuiIO"][35]["name"] = "ImeSetInputScreenPosFn" -defs["structs"]["ImGuiIO"][35]["type"] = "void(*)(int x,int y)" +defs["structs"]["ImGuiIO"][35]["name"] = "GetClipboardTextFn" +defs["structs"]["ImGuiIO"][35]["type"] = "const char*(*)(void* user_data)" defs["structs"]["ImGuiIO"][36] = {} -defs["structs"]["ImGuiIO"][36]["name"] = "ImeWindowHandle" -defs["structs"]["ImGuiIO"][36]["type"] = "void*" +defs["structs"]["ImGuiIO"][36]["name"] = "SetClipboardTextFn" +defs["structs"]["ImGuiIO"][36]["type"] = "void(*)(void* user_data,const char* text)" defs["structs"]["ImGuiIO"][37] = {} -defs["structs"]["ImGuiIO"][37]["name"] = "MousePos" -defs["structs"]["ImGuiIO"][37]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][37]["name"] = "ClipboardUserData" +defs["structs"]["ImGuiIO"][37]["type"] = "void*" defs["structs"]["ImGuiIO"][38] = {} -defs["structs"]["ImGuiIO"][38]["name"] = "MouseDown[5]" -defs["structs"]["ImGuiIO"][38]["size"] = 5 -defs["structs"]["ImGuiIO"][38]["type"] = "bool" +defs["structs"]["ImGuiIO"][38]["name"] = "SetPlatformImeDataFn" +defs["structs"]["ImGuiIO"][38]["type"] = "void(*)(ImGuiViewport* viewport,ImGuiPlatformImeData* data)" defs["structs"]["ImGuiIO"][39] = {} -defs["structs"]["ImGuiIO"][39]["name"] = "MouseWheel" -defs["structs"]["ImGuiIO"][39]["type"] = "float" +defs["structs"]["ImGuiIO"][39]["name"] = "_UnusedPadding" +defs["structs"]["ImGuiIO"][39]["type"] = "void*" defs["structs"]["ImGuiIO"][40] = {} -defs["structs"]["ImGuiIO"][40]["name"] = "MouseWheelH" -defs["structs"]["ImGuiIO"][40]["type"] = "float" +defs["structs"]["ImGuiIO"][40]["name"] = "WantCaptureMouse" +defs["structs"]["ImGuiIO"][40]["type"] = "bool" defs["structs"]["ImGuiIO"][41] = {} -defs["structs"]["ImGuiIO"][41]["name"] = "KeyCtrl" +defs["structs"]["ImGuiIO"][41]["name"] = "WantCaptureKeyboard" defs["structs"]["ImGuiIO"][41]["type"] = "bool" defs["structs"]["ImGuiIO"][42] = {} -defs["structs"]["ImGuiIO"][42]["name"] = "KeyShift" +defs["structs"]["ImGuiIO"][42]["name"] = "WantTextInput" defs["structs"]["ImGuiIO"][42]["type"] = "bool" defs["structs"]["ImGuiIO"][43] = {} -defs["structs"]["ImGuiIO"][43]["name"] = "KeyAlt" +defs["structs"]["ImGuiIO"][43]["name"] = "WantSetMousePos" defs["structs"]["ImGuiIO"][43]["type"] = "bool" defs["structs"]["ImGuiIO"][44] = {} -defs["structs"]["ImGuiIO"][44]["name"] = "KeySuper" +defs["structs"]["ImGuiIO"][44]["name"] = "WantSaveIniSettings" defs["structs"]["ImGuiIO"][44]["type"] = "bool" defs["structs"]["ImGuiIO"][45] = {} -defs["structs"]["ImGuiIO"][45]["name"] = "KeysDown[512]" -defs["structs"]["ImGuiIO"][45]["size"] = 512 +defs["structs"]["ImGuiIO"][45]["name"] = "NavActive" defs["structs"]["ImGuiIO"][45]["type"] = "bool" defs["structs"]["ImGuiIO"][46] = {} -defs["structs"]["ImGuiIO"][46]["name"] = "NavInputs[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][46]["size"] = 20 -defs["structs"]["ImGuiIO"][46]["type"] = "float" +defs["structs"]["ImGuiIO"][46]["name"] = "NavVisible" +defs["structs"]["ImGuiIO"][46]["type"] = "bool" defs["structs"]["ImGuiIO"][47] = {} -defs["structs"]["ImGuiIO"][47]["name"] = "WantCaptureMouse" -defs["structs"]["ImGuiIO"][47]["type"] = "bool" +defs["structs"]["ImGuiIO"][47]["name"] = "Framerate" +defs["structs"]["ImGuiIO"][47]["type"] = "float" defs["structs"]["ImGuiIO"][48] = {} -defs["structs"]["ImGuiIO"][48]["name"] = "WantCaptureKeyboard" -defs["structs"]["ImGuiIO"][48]["type"] = "bool" +defs["structs"]["ImGuiIO"][48]["name"] = "MetricsRenderVertices" +defs["structs"]["ImGuiIO"][48]["type"] = "int" defs["structs"]["ImGuiIO"][49] = {} -defs["structs"]["ImGuiIO"][49]["name"] = "WantTextInput" -defs["structs"]["ImGuiIO"][49]["type"] = "bool" +defs["structs"]["ImGuiIO"][49]["name"] = "MetricsRenderIndices" +defs["structs"]["ImGuiIO"][49]["type"] = "int" defs["structs"]["ImGuiIO"][50] = {} -defs["structs"]["ImGuiIO"][50]["name"] = "WantSetMousePos" -defs["structs"]["ImGuiIO"][50]["type"] = "bool" +defs["structs"]["ImGuiIO"][50]["name"] = "MetricsRenderWindows" +defs["structs"]["ImGuiIO"][50]["type"] = "int" defs["structs"]["ImGuiIO"][51] = {} -defs["structs"]["ImGuiIO"][51]["name"] = "WantSaveIniSettings" -defs["structs"]["ImGuiIO"][51]["type"] = "bool" +defs["structs"]["ImGuiIO"][51]["name"] = "MetricsActiveWindows" +defs["structs"]["ImGuiIO"][51]["type"] = "int" defs["structs"]["ImGuiIO"][52] = {} -defs["structs"]["ImGuiIO"][52]["name"] = "NavActive" -defs["structs"]["ImGuiIO"][52]["type"] = "bool" +defs["structs"]["ImGuiIO"][52]["name"] = "MetricsActiveAllocations" +defs["structs"]["ImGuiIO"][52]["type"] = "int" defs["structs"]["ImGuiIO"][53] = {} -defs["structs"]["ImGuiIO"][53]["name"] = "NavVisible" -defs["structs"]["ImGuiIO"][53]["type"] = "bool" +defs["structs"]["ImGuiIO"][53]["name"] = "MouseDelta" +defs["structs"]["ImGuiIO"][53]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][54] = {} -defs["structs"]["ImGuiIO"][54]["name"] = "Framerate" -defs["structs"]["ImGuiIO"][54]["type"] = "float" +defs["structs"]["ImGuiIO"][54]["name"] = "KeyMap[ImGuiKey_COUNT]" +defs["structs"]["ImGuiIO"][54]["size"] = 652 +defs["structs"]["ImGuiIO"][54]["type"] = "int" defs["structs"]["ImGuiIO"][55] = {} -defs["structs"]["ImGuiIO"][55]["name"] = "MetricsRenderVertices" -defs["structs"]["ImGuiIO"][55]["type"] = "int" +defs["structs"]["ImGuiIO"][55]["name"] = "KeysDown[ImGuiKey_COUNT]" +defs["structs"]["ImGuiIO"][55]["size"] = 652 +defs["structs"]["ImGuiIO"][55]["type"] = "bool" defs["structs"]["ImGuiIO"][56] = {} -defs["structs"]["ImGuiIO"][56]["name"] = "MetricsRenderIndices" -defs["structs"]["ImGuiIO"][56]["type"] = "int" +defs["structs"]["ImGuiIO"][56]["name"] = "NavInputs[ImGuiNavInput_COUNT]" +defs["structs"]["ImGuiIO"][56]["size"] = 16 +defs["structs"]["ImGuiIO"][56]["type"] = "float" defs["structs"]["ImGuiIO"][57] = {} -defs["structs"]["ImGuiIO"][57]["name"] = "MetricsRenderWindows" -defs["structs"]["ImGuiIO"][57]["type"] = "int" +defs["structs"]["ImGuiIO"][57]["name"] = "MousePos" +defs["structs"]["ImGuiIO"][57]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][58] = {} -defs["structs"]["ImGuiIO"][58]["name"] = "MetricsActiveWindows" -defs["structs"]["ImGuiIO"][58]["type"] = "int" +defs["structs"]["ImGuiIO"][58]["name"] = "MouseDown[5]" +defs["structs"]["ImGuiIO"][58]["size"] = 5 +defs["structs"]["ImGuiIO"][58]["type"] = "bool" defs["structs"]["ImGuiIO"][59] = {} -defs["structs"]["ImGuiIO"][59]["name"] = "MetricsActiveAllocations" -defs["structs"]["ImGuiIO"][59]["type"] = "int" +defs["structs"]["ImGuiIO"][59]["name"] = "MouseWheel" +defs["structs"]["ImGuiIO"][59]["type"] = "float" defs["structs"]["ImGuiIO"][60] = {} -defs["structs"]["ImGuiIO"][60]["name"] = "MouseDelta" -defs["structs"]["ImGuiIO"][60]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][60]["name"] = "MouseWheelH" +defs["structs"]["ImGuiIO"][60]["type"] = "float" defs["structs"]["ImGuiIO"][61] = {} -defs["structs"]["ImGuiIO"][61]["name"] = "WantCaptureMouseUnlessPopupClose" +defs["structs"]["ImGuiIO"][61]["name"] = "KeyCtrl" defs["structs"]["ImGuiIO"][61]["type"] = "bool" defs["structs"]["ImGuiIO"][62] = {} -defs["structs"]["ImGuiIO"][62]["name"] = "KeyMods" -defs["structs"]["ImGuiIO"][62]["type"] = "ImGuiKeyModFlags" +defs["structs"]["ImGuiIO"][62]["name"] = "KeyShift" +defs["structs"]["ImGuiIO"][62]["type"] = "bool" defs["structs"]["ImGuiIO"][63] = {} -defs["structs"]["ImGuiIO"][63]["name"] = "KeyModsPrev" -defs["structs"]["ImGuiIO"][63]["type"] = "ImGuiKeyModFlags" +defs["structs"]["ImGuiIO"][63]["name"] = "KeyAlt" +defs["structs"]["ImGuiIO"][63]["type"] = "bool" defs["structs"]["ImGuiIO"][64] = {} -defs["structs"]["ImGuiIO"][64]["name"] = "MousePosPrev" -defs["structs"]["ImGuiIO"][64]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][64]["name"] = "KeySuper" +defs["structs"]["ImGuiIO"][64]["type"] = "bool" defs["structs"]["ImGuiIO"][65] = {} -defs["structs"]["ImGuiIO"][65]["name"] = "MouseClickedPos[5]" -defs["structs"]["ImGuiIO"][65]["size"] = 5 -defs["structs"]["ImGuiIO"][65]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][65]["name"] = "KeyMods" +defs["structs"]["ImGuiIO"][65]["type"] = "ImGuiKeyChord" defs["structs"]["ImGuiIO"][66] = {} -defs["structs"]["ImGuiIO"][66]["name"] = "MouseClickedTime[5]" -defs["structs"]["ImGuiIO"][66]["size"] = 5 -defs["structs"]["ImGuiIO"][66]["type"] = "double" +defs["structs"]["ImGuiIO"][66]["name"] = "KeysData[ImGuiKey_KeysData_SIZE]" +defs["structs"]["ImGuiIO"][66]["size"] = 652 +defs["structs"]["ImGuiIO"][66]["type"] = "ImGuiKeyData" defs["structs"]["ImGuiIO"][67] = {} -defs["structs"]["ImGuiIO"][67]["name"] = "MouseClicked[5]" -defs["structs"]["ImGuiIO"][67]["size"] = 5 +defs["structs"]["ImGuiIO"][67]["name"] = "WantCaptureMouseUnlessPopupClose" defs["structs"]["ImGuiIO"][67]["type"] = "bool" defs["structs"]["ImGuiIO"][68] = {} -defs["structs"]["ImGuiIO"][68]["name"] = "MouseDoubleClicked[5]" -defs["structs"]["ImGuiIO"][68]["size"] = 5 -defs["structs"]["ImGuiIO"][68]["type"] = "bool" +defs["structs"]["ImGuiIO"][68]["name"] = "MousePosPrev" +defs["structs"]["ImGuiIO"][68]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][69] = {} -defs["structs"]["ImGuiIO"][69]["name"] = "MouseClickedCount[5]" +defs["structs"]["ImGuiIO"][69]["name"] = "MouseClickedPos[5]" defs["structs"]["ImGuiIO"][69]["size"] = 5 -defs["structs"]["ImGuiIO"][69]["type"] = "ImU16" +defs["structs"]["ImGuiIO"][69]["type"] = "ImVec2" defs["structs"]["ImGuiIO"][70] = {} -defs["structs"]["ImGuiIO"][70]["name"] = "MouseClickedLastCount[5]" +defs["structs"]["ImGuiIO"][70]["name"] = "MouseClickedTime[5]" defs["structs"]["ImGuiIO"][70]["size"] = 5 -defs["structs"]["ImGuiIO"][70]["type"] = "ImU16" +defs["structs"]["ImGuiIO"][70]["type"] = "double" defs["structs"]["ImGuiIO"][71] = {} -defs["structs"]["ImGuiIO"][71]["name"] = "MouseReleased[5]" +defs["structs"]["ImGuiIO"][71]["name"] = "MouseClicked[5]" defs["structs"]["ImGuiIO"][71]["size"] = 5 defs["structs"]["ImGuiIO"][71]["type"] = "bool" defs["structs"]["ImGuiIO"][72] = {} -defs["structs"]["ImGuiIO"][72]["name"] = "MouseDownOwned[5]" +defs["structs"]["ImGuiIO"][72]["name"] = "MouseDoubleClicked[5]" defs["structs"]["ImGuiIO"][72]["size"] = 5 defs["structs"]["ImGuiIO"][72]["type"] = "bool" defs["structs"]["ImGuiIO"][73] = {} -defs["structs"]["ImGuiIO"][73]["name"] = "MouseDownOwnedUnlessPopupClose[5]" +defs["structs"]["ImGuiIO"][73]["name"] = "MouseClickedCount[5]" defs["structs"]["ImGuiIO"][73]["size"] = 5 -defs["structs"]["ImGuiIO"][73]["type"] = "bool" +defs["structs"]["ImGuiIO"][73]["type"] = "ImU16" defs["structs"]["ImGuiIO"][74] = {} -defs["structs"]["ImGuiIO"][74]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][74]["name"] = "MouseClickedLastCount[5]" defs["structs"]["ImGuiIO"][74]["size"] = 5 -defs["structs"]["ImGuiIO"][74]["type"] = "float" +defs["structs"]["ImGuiIO"][74]["type"] = "ImU16" defs["structs"]["ImGuiIO"][75] = {} -defs["structs"]["ImGuiIO"][75]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][75]["name"] = "MouseReleased[5]" defs["structs"]["ImGuiIO"][75]["size"] = 5 -defs["structs"]["ImGuiIO"][75]["type"] = "float" +defs["structs"]["ImGuiIO"][75]["type"] = "bool" defs["structs"]["ImGuiIO"][76] = {} -defs["structs"]["ImGuiIO"][76]["name"] = "MouseDragMaxDistanceAbs[5]" +defs["structs"]["ImGuiIO"][76]["name"] = "MouseDownOwned[5]" defs["structs"]["ImGuiIO"][76]["size"] = 5 -defs["structs"]["ImGuiIO"][76]["type"] = "ImVec2" +defs["structs"]["ImGuiIO"][76]["type"] = "bool" defs["structs"]["ImGuiIO"][77] = {} -defs["structs"]["ImGuiIO"][77]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][77]["name"] = "MouseDownOwnedUnlessPopupClose[5]" defs["structs"]["ImGuiIO"][77]["size"] = 5 -defs["structs"]["ImGuiIO"][77]["type"] = "float" +defs["structs"]["ImGuiIO"][77]["type"] = "bool" defs["structs"]["ImGuiIO"][78] = {} -defs["structs"]["ImGuiIO"][78]["name"] = "KeysDownDuration[512]" -defs["structs"]["ImGuiIO"][78]["size"] = 512 +defs["structs"]["ImGuiIO"][78]["name"] = "MouseDownDuration[5]" +defs["structs"]["ImGuiIO"][78]["size"] = 5 defs["structs"]["ImGuiIO"][78]["type"] = "float" defs["structs"]["ImGuiIO"][79] = {} -defs["structs"]["ImGuiIO"][79]["name"] = "KeysDownDurationPrev[512]" -defs["structs"]["ImGuiIO"][79]["size"] = 512 +defs["structs"]["ImGuiIO"][79]["name"] = "MouseDownDurationPrev[5]" +defs["structs"]["ImGuiIO"][79]["size"] = 5 defs["structs"]["ImGuiIO"][79]["type"] = "float" defs["structs"]["ImGuiIO"][80] = {} -defs["structs"]["ImGuiIO"][80]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][80]["size"] = 20 +defs["structs"]["ImGuiIO"][80]["name"] = "MouseDragMaxDistanceSqr[5]" +defs["structs"]["ImGuiIO"][80]["size"] = 5 defs["structs"]["ImGuiIO"][80]["type"] = "float" defs["structs"]["ImGuiIO"][81] = {} -defs["structs"]["ImGuiIO"][81]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]" -defs["structs"]["ImGuiIO"][81]["size"] = 20 +defs["structs"]["ImGuiIO"][81]["name"] = "PenPressure" defs["structs"]["ImGuiIO"][81]["type"] = "float" defs["structs"]["ImGuiIO"][82] = {} -defs["structs"]["ImGuiIO"][82]["name"] = "PenPressure" -defs["structs"]["ImGuiIO"][82]["type"] = "float" +defs["structs"]["ImGuiIO"][82]["name"] = "AppFocusLost" +defs["structs"]["ImGuiIO"][82]["type"] = "bool" defs["structs"]["ImGuiIO"][83] = {} -defs["structs"]["ImGuiIO"][83]["name"] = "AppFocusLost" +defs["structs"]["ImGuiIO"][83]["name"] = "AppAcceptingEvents" defs["structs"]["ImGuiIO"][83]["type"] = "bool" defs["structs"]["ImGuiIO"][84] = {} -defs["structs"]["ImGuiIO"][84]["name"] = "InputQueueSurrogate" -defs["structs"]["ImGuiIO"][84]["type"] = "ImWchar16" +defs["structs"]["ImGuiIO"][84]["name"] = "BackendUsingLegacyKeyArrays" +defs["structs"]["ImGuiIO"][84]["type"] = "ImS8" defs["structs"]["ImGuiIO"][85] = {} -defs["structs"]["ImGuiIO"][85]["name"] = "InputQueueCharacters" -defs["structs"]["ImGuiIO"][85]["template_type"] = "ImWchar" -defs["structs"]["ImGuiIO"][85]["type"] = "ImVector_ImWchar" +defs["structs"]["ImGuiIO"][85]["name"] = "BackendUsingLegacyNavInputArray" +defs["structs"]["ImGuiIO"][85]["type"] = "bool" +defs["structs"]["ImGuiIO"][86] = {} +defs["structs"]["ImGuiIO"][86]["name"] = "InputQueueSurrogate" +defs["structs"]["ImGuiIO"][86]["type"] = "ImWchar16" +defs["structs"]["ImGuiIO"][87] = {} +defs["structs"]["ImGuiIO"][87]["name"] = "InputQueueCharacters" +defs["structs"]["ImGuiIO"][87]["template_type"] = "ImWchar" +defs["structs"]["ImGuiIO"][87]["type"] = "ImVector_ImWchar" defs["structs"]["ImGuiInputTextCallbackData"] = {} defs["structs"]["ImGuiInputTextCallbackData"][1] = {} defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag" @@ -2666,6 +3173,19 @@ defs["structs"]["ImGuiInputTextCallbackData"][11]["type"] = "int" defs["structs"]["ImGuiInputTextCallbackData"][12] = {} defs["structs"]["ImGuiInputTextCallbackData"][12]["name"] = "SelectionEnd" defs["structs"]["ImGuiInputTextCallbackData"][12]["type"] = "int" +defs["structs"]["ImGuiKeyData"] = {} +defs["structs"]["ImGuiKeyData"][1] = {} +defs["structs"]["ImGuiKeyData"][1]["name"] = "Down" +defs["structs"]["ImGuiKeyData"][1]["type"] = "bool" +defs["structs"]["ImGuiKeyData"][2] = {} +defs["structs"]["ImGuiKeyData"][2]["name"] = "DownDuration" +defs["structs"]["ImGuiKeyData"][2]["type"] = "float" +defs["structs"]["ImGuiKeyData"][3] = {} +defs["structs"]["ImGuiKeyData"][3]["name"] = "DownDurationPrev" +defs["structs"]["ImGuiKeyData"][3]["type"] = "float" +defs["structs"]["ImGuiKeyData"][4] = {} +defs["structs"]["ImGuiKeyData"][4]["name"] = "AnalogValue" +defs["structs"]["ImGuiKeyData"][4]["type"] = "float" defs["structs"]["ImGuiListClipper"] = {} defs["structs"]["ImGuiListClipper"][1] = {} defs["structs"]["ImGuiListClipper"][1]["name"] = "DisplayStart" @@ -2715,6 +3235,16 @@ defs["structs"]["ImGuiPayload"][7]["type"] = "bool" defs["structs"]["ImGuiPayload"][8] = {} defs["structs"]["ImGuiPayload"][8]["name"] = "Delivery" defs["structs"]["ImGuiPayload"][8]["type"] = "bool" +defs["structs"]["ImGuiPlatformImeData"] = {} +defs["structs"]["ImGuiPlatformImeData"][1] = {} +defs["structs"]["ImGuiPlatformImeData"][1]["name"] = "WantVisible" +defs["structs"]["ImGuiPlatformImeData"][1]["type"] = "bool" +defs["structs"]["ImGuiPlatformImeData"][2] = {} +defs["structs"]["ImGuiPlatformImeData"][2]["name"] = "InputPos" +defs["structs"]["ImGuiPlatformImeData"][2]["type"] = "ImVec2" +defs["structs"]["ImGuiPlatformImeData"][3] = {} +defs["structs"]["ImGuiPlatformImeData"][3]["name"] = "InputLineHeight" +defs["structs"]["ImGuiPlatformImeData"][3]["type"] = "float" defs["structs"]["ImGuiSizeCallbackData"] = {} defs["structs"]["ImGuiSizeCallbackData"][1] = {} defs["structs"]["ImGuiSizeCallbackData"][1]["name"] = "UserData" @@ -2929,6 +3459,9 @@ defs["structs"]["ImGuiViewport"][4]["type"] = "ImVec2" defs["structs"]["ImGuiViewport"][5] = {} defs["structs"]["ImGuiViewport"][5]["name"] = "WorkSize" defs["structs"]["ImGuiViewport"][5]["type"] = "ImVec2" +defs["structs"]["ImGuiViewport"][6] = {} +defs["structs"]["ImGuiViewport"][6]["name"] = "PlatformHandleRaw" +defs["structs"]["ImGuiViewport"][6]["type"] = "void*" defs["structs"]["ImVec2"] = {} defs["structs"]["ImVec2"][1] = {} defs["structs"]["ImVec2"][1]["name"] = "x" @@ -2949,5 +3482,37 @@ defs["structs"]["ImVec4"][3]["type"] = "float" defs["structs"]["ImVec4"][4] = {} defs["structs"]["ImVec4"][4]["name"] = "w" defs["structs"]["ImVec4"][4]["type"] = "float" +defs["templated_structs"] = {} +defs["templated_structs"]["ImVector"] = {} +defs["templated_structs"]["ImVector"][1] = {} +defs["templated_structs"]["ImVector"][1]["name"] = "Size" +defs["templated_structs"]["ImVector"][1]["type"] = "int" +defs["templated_structs"]["ImVector"][2] = {} +defs["templated_structs"]["ImVector"][2]["name"] = "Capacity" +defs["templated_structs"]["ImVector"][2]["type"] = "int" +defs["templated_structs"]["ImVector"][3] = {} +defs["templated_structs"]["ImVector"][3]["name"] = "Data" +defs["templated_structs"]["ImVector"][3]["type"] = "T*" +defs["templates_done"] = {} +defs["templates_done"]["ImVector"] = {} +defs["templates_done"]["ImVector"]["ImDrawChannel"] = true +defs["templates_done"]["ImVector"]["ImDrawCmd"] = true +defs["templates_done"]["ImVector"]["ImDrawIdx"] = true +defs["templates_done"]["ImVector"]["ImDrawVert"] = true +defs["templates_done"]["ImVector"]["ImFont*"] = true +defs["templates_done"]["ImVector"]["ImFontAtlasCustomRect"] = true +defs["templates_done"]["ImVector"]["ImFontConfig"] = true +defs["templates_done"]["ImVector"]["ImFontGlyph"] = true +defs["templates_done"]["ImVector"]["ImGuiStoragePair"] = true +defs["templates_done"]["ImVector"]["ImGuiTextRange"] = true +defs["templates_done"]["ImVector"]["ImTextureID"] = true +defs["templates_done"]["ImVector"]["ImU32"] = true +defs["templates_done"]["ImVector"]["ImVec2"] = true +defs["templates_done"]["ImVector"]["ImVec4"] = true +defs["templates_done"]["ImVector"]["ImWchar"] = true +defs["templates_done"]["ImVector"]["char"] = true +defs["templates_done"]["ImVector"]["float"] = true +defs["typenames"] = {} +defs["typenames"]["ImVector"] = "T" return defs \ No newline at end of file diff --git a/imgui-sys/third-party/imgui-master/typedefs_dict.json b/imgui-sys/third-party/imgui-master/typedefs_dict.json index e5de76f..9ae0cc2 100644 --- a/imgui-sys/third-party/imgui-master/typedefs_dict.json +++ b/imgui-sys/third-party/imgui-master/typedefs_dict.json @@ -38,16 +38,16 @@ "ImGuiInputTextCallback": "int(*)(ImGuiInputTextCallbackData* data);", "ImGuiInputTextCallbackData": "struct ImGuiInputTextCallbackData", "ImGuiInputTextFlags": "int", - "ImGuiKey": "int", - "ImGuiKeyModFlags": "int", + "ImGuiKeyChord": "int", + "ImGuiKeyData": "struct ImGuiKeyData", "ImGuiListClipper": "struct ImGuiListClipper", "ImGuiMemAllocFunc": "void*(*)(size_t sz,void* user_data);", "ImGuiMemFreeFunc": "void(*)(void* ptr,void* user_data);", "ImGuiMouseButton": "int", "ImGuiMouseCursor": "int", - "ImGuiNavInput": "int", "ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame", "ImGuiPayload": "struct ImGuiPayload", + "ImGuiPlatformImeData": "struct ImGuiPlatformImeData", "ImGuiPopupFlags": "int", "ImGuiSelectableFlags": "int", "ImGuiSizeCallback": "void(*)(ImGuiSizeCallbackData* data);", @@ -75,12 +75,12 @@ "ImGuiWindowFlags": "int", "ImS16": "signed short", "ImS32": "signed int", - "ImS64": "int64_t", + "ImS64": "signed long long", "ImS8": "signed char", "ImTextureID": "void*", "ImU16": "unsigned short", "ImU32": "unsigned int", - "ImU64": "uint64_t", + "ImU64": "unsigned long long", "ImU8": "unsigned char", "ImVec2": "struct ImVec2", "ImVec4": "struct ImVec4", diff --git a/imgui-sys/third-party/imgui-master/typedefs_dict.lua b/imgui-sys/third-party/imgui-master/typedefs_dict.lua index 9876c53..5deb107 100644 --- a/imgui-sys/third-party/imgui-master/typedefs_dict.lua +++ b/imgui-sys/third-party/imgui-master/typedefs_dict.lua @@ -38,16 +38,16 @@ defs["ImGuiIO"] = "struct ImGuiIO" defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData* data);" defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData" defs["ImGuiInputTextFlags"] = "int" -defs["ImGuiKey"] = "int" -defs["ImGuiKeyModFlags"] = "int" +defs["ImGuiKeyChord"] = "int" +defs["ImGuiKeyData"] = "struct ImGuiKeyData" defs["ImGuiListClipper"] = "struct ImGuiListClipper" defs["ImGuiMemAllocFunc"] = "void*(*)(size_t sz,void* user_data);" defs["ImGuiMemFreeFunc"] = "void(*)(void* ptr,void* user_data);" defs["ImGuiMouseButton"] = "int" defs["ImGuiMouseCursor"] = "int" -defs["ImGuiNavInput"] = "int" defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame" defs["ImGuiPayload"] = "struct ImGuiPayload" +defs["ImGuiPlatformImeData"] = "struct ImGuiPlatformImeData" defs["ImGuiPopupFlags"] = "int" defs["ImGuiSelectableFlags"] = "int" defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);" @@ -75,12 +75,12 @@ defs["ImGuiViewportFlags"] = "int" defs["ImGuiWindowFlags"] = "int" defs["ImS16"] = "signed short" defs["ImS32"] = "signed int" -defs["ImS64"] = "int64_t" +defs["ImS64"] = "signed long long" defs["ImS8"] = "signed char" defs["ImTextureID"] = "void*" defs["ImU16"] = "unsigned short" defs["ImU32"] = "unsigned int" -defs["ImU64"] = "uint64_t" +defs["ImU64"] = "unsigned long long" defs["ImU8"] = "unsigned char" defs["ImVec2"] = "struct ImVec2" defs["ImVec4"] = "struct ImVec4" diff --git a/imgui-sys/third-party/update-imgui.sh b/imgui-sys/third-party/update-imgui.sh index ec757a4..c867b9e 100755 --- a/imgui-sys/third-party/update-imgui.sh +++ b/imgui-sys/third-party/update-imgui.sh @@ -4,5 +4,5 @@ set -euo pipefail SCRIPT_DIR=$(dirname ${0} | python3 -c 'import os, sys; print(os.path.abspath(sys.stdin.read().strip()))' ) cd ${SCRIPT_DIR} -./_update-imgui.sh ~/code/vendor/imgui v1.86 ./imgui-master/imgui -./_update-imgui.sh ~/code/vendor/imgui 15b4a064f9244c430e65214f7249b615fb394321 ./imgui-docking/imgui +./_update-imgui.sh ~/code/vendor/imgui v1.89.1 ./imgui-master/imgui +./_update-imgui.sh ~/code/vendor/imgui 540909bddf2f2b094a650b4bf5d01757fbd69418 ./imgui-docking/imgui diff --git a/imgui-winit-support/src/lib.rs b/imgui-winit-support/src/lib.rs index a907fb9..09d167a 100644 --- a/imgui-winit-support/src/lib.rs +++ b/imgui-winit-support/src/lib.rs @@ -203,6 +203,42 @@ impl HiDpiMode { } } +fn to_imgui_key(keycode: VirtualKeyCode) -> Option { + match keycode { + VirtualKeyCode::Tab => Some(Key::Tab), + VirtualKeyCode::Left => Some(Key::LeftArrow), + VirtualKeyCode::Right => Some(Key::RightArrow), + VirtualKeyCode::Up => Some(Key::UpArrow), + VirtualKeyCode::Down => Some(Key::DownArrow), + VirtualKeyCode::PageUp => Some(Key::PageUp), + VirtualKeyCode::PageDown => Some(Key::PageDown), + VirtualKeyCode::Home => Some(Key::Home), + VirtualKeyCode::End => Some(Key::End), + VirtualKeyCode::Insert => Some(Key::Insert), + VirtualKeyCode::Delete => Some(Key::Delete), + VirtualKeyCode::Back => Some(Key::Backspace), + VirtualKeyCode::Space => Some(Key::Space), + VirtualKeyCode::Return => Some(Key::Enter), + VirtualKeyCode::Escape => Some(Key::Escape), + VirtualKeyCode::NumpadEnter => Some(Key::KeypadEnter), + VirtualKeyCode::A => Some(Key::A), + VirtualKeyCode::C => Some(Key::C), + VirtualKeyCode::V => Some(Key::V), + VirtualKeyCode::X => Some(Key::X), + VirtualKeyCode::Y => Some(Key::Y), + VirtualKeyCode::Z => Some(Key::Z), + VirtualKeyCode::LControl => Some(Key::LeftCtrl), + VirtualKeyCode::RControl => Some(Key::RightCtrl), + VirtualKeyCode::LShift => Some(Key::LeftShift), + VirtualKeyCode::RShift => Some(Key::RightShift), + VirtualKeyCode::LAlt => Some(Key::LeftAlt), + VirtualKeyCode::RAlt => Some(Key::RightAlt), + VirtualKeyCode::LWin => Some(Key::LeftSuper), + VirtualKeyCode::RWin => Some(Key::RightSuper), + _ => None, + } +} + impl WinitPlatform { /// Initializes a winit platform instance and configures imgui. /// @@ -215,28 +251,6 @@ impl WinitPlatform { let io = imgui.io_mut(); io.backend_flags.insert(BackendFlags::HAS_MOUSE_CURSORS); io.backend_flags.insert(BackendFlags::HAS_SET_MOUSE_POS); - io[Key::Tab] = VirtualKeyCode::Tab as _; - io[Key::LeftArrow] = VirtualKeyCode::Left as _; - io[Key::RightArrow] = VirtualKeyCode::Right as _; - io[Key::UpArrow] = VirtualKeyCode::Up as _; - io[Key::DownArrow] = VirtualKeyCode::Down as _; - io[Key::PageUp] = VirtualKeyCode::PageUp as _; - io[Key::PageDown] = VirtualKeyCode::PageDown as _; - io[Key::Home] = VirtualKeyCode::Home as _; - io[Key::End] = VirtualKeyCode::End as _; - io[Key::Insert] = VirtualKeyCode::Insert as _; - io[Key::Delete] = VirtualKeyCode::Delete as _; - io[Key::Backspace] = VirtualKeyCode::Back as _; - io[Key::Space] = VirtualKeyCode::Space as _; - io[Key::Enter] = VirtualKeyCode::Return as _; - io[Key::Escape] = VirtualKeyCode::Escape as _; - io[Key::KeyPadEnter] = VirtualKeyCode::NumpadEnter as _; - io[Key::A] = VirtualKeyCode::A as _; - io[Key::C] = VirtualKeyCode::C as _; - io[Key::V] = VirtualKeyCode::V as _; - io[Key::X] = VirtualKeyCode::X as _; - io[Key::Y] = VirtualKeyCode::Y as _; - io[Key::Z] = VirtualKeyCode::Z as _; imgui.set_platform_name(Some(format!( "imgui-winit-support {}", env!("CARGO_PKG_VERSION") @@ -353,7 +367,9 @@ impl WinitPlatform { }), .. } => { - io.keys_down[key as usize] = false; + if let Some(key) = to_imgui_key(key) { + io.add_key_event(key, false); + } } _ => (), } @@ -395,19 +411,9 @@ impl WinitPlatform { }, .. } => { - let pressed = state == ElementState::Pressed; - io.keys_down[key as usize] = pressed; - - // This is a bit redundant here, but we'll leave it in. The OS occasionally - // fails to send modifiers keys, but it doesn't seem to send false-positives, - // so double checking isn't terrible in case some system *doesn't* send - // device events sometimes. - match key { - VirtualKeyCode::LShift | VirtualKeyCode::RShift => io.key_shift = pressed, - VirtualKeyCode::LControl | VirtualKeyCode::RControl => io.key_ctrl = pressed, - VirtualKeyCode::LAlt | VirtualKeyCode::RAlt => io.key_alt = pressed, - VirtualKeyCode::LWin | VirtualKeyCode::RWin => io.key_super = pressed, - _ => (), + if let Some(key) = to_imgui_key(key) { + let pressed = state == ElementState::Pressed; + io.add_key_event(key, pressed); } } WindowEvent::ReceivedCharacter(ch) => { @@ -420,7 +426,8 @@ impl WinitPlatform { WindowEvent::CursorMoved { position, .. } => { let position = position.to_logical(window.scale_factor()); let position = self.scale_pos_from_winit(window, position); - io.mouse_pos = [position.x as f32, position.y as f32]; + //io.mouse_pos = [position.x as f32, position.y as f32]; + io.add_mouse_pos_event([position.x as f32, position.y as f32]); } WindowEvent::MouseWheel { delta, diff --git a/imgui/src/draw_list.rs b/imgui/src/draw_list.rs index 0180061..c30938c 100644 --- a/imgui/src/draw_list.rs +++ b/imgui/src/draw_list.rs @@ -348,7 +348,7 @@ impl<'ui> DrawListMut<'ui> { unsafe { let start = text.as_ptr() as *const c_char; let end = (start as usize + text.len()) as *const c_char; - sys::ImDrawList_AddTextVec2( + sys::ImDrawList_AddText_Vec2( self.draw_list, pos.into().into(), col.into().into(), diff --git a/imgui/src/input/keyboard.rs b/imgui/src/input/keyboard.rs index 6158745..a0e302b 100644 --- a/imgui/src/input/keyboard.rs +++ b/imgui/src/input/keyboard.rs @@ -21,13 +21,131 @@ pub enum Key { Space = sys::ImGuiKey_Space, Enter = sys::ImGuiKey_Enter, Escape = sys::ImGuiKey_Escape, - KeyPadEnter = sys::ImGuiKey_KeyPadEnter, + LeftCtrl = sys::ImGuiKey_LeftCtrl, + LeftShift = sys::ImGuiKey_LeftShift, + LeftAlt = sys::ImGuiKey_LeftAlt, + LeftSuper = sys::ImGuiKey_LeftSuper, + RightCtrl = sys::ImGuiKey_RightCtrl, + RightShift = sys::ImGuiKey_RightShift, + RightAlt = sys::ImGuiKey_RightAlt, + RightSuper = sys::ImGuiKey_RightSuper, + Menu = sys::ImGuiKey_Menu, + Alpha0 = sys::ImGuiKey_0, + Alpha1 = sys::ImGuiKey_1, + Alpha2 = sys::ImGuiKey_2, + Alpha3 = sys::ImGuiKey_3, + Alpha4 = sys::ImGuiKey_4, + Alpha5 = sys::ImGuiKey_5, + Alpha6 = sys::ImGuiKey_6, + Alpha7 = sys::ImGuiKey_7, + Alpha8 = sys::ImGuiKey_8, + Alpha9 = sys::ImGuiKey_9, A = sys::ImGuiKey_A, + B = sys::ImGuiKey_B, C = sys::ImGuiKey_C, + D = sys::ImGuiKey_D, + E = sys::ImGuiKey_E, + F = sys::ImGuiKey_F, + G = sys::ImGuiKey_G, + H = sys::ImGuiKey_H, + I = sys::ImGuiKey_I, + J = sys::ImGuiKey_J, + K = sys::ImGuiKey_K, + L = sys::ImGuiKey_L, + M = sys::ImGuiKey_M, + N = sys::ImGuiKey_N, + O = sys::ImGuiKey_O, + P = sys::ImGuiKey_P, + Q = sys::ImGuiKey_Q, + R = sys::ImGuiKey_R, + S = sys::ImGuiKey_S, + T = sys::ImGuiKey_T, + U = sys::ImGuiKey_U, V = sys::ImGuiKey_V, + W = sys::ImGuiKey_W, X = sys::ImGuiKey_X, Y = sys::ImGuiKey_Y, Z = sys::ImGuiKey_Z, + F1 = sys::ImGuiKey_F1, + F2 = sys::ImGuiKey_F2, + F3 = sys::ImGuiKey_F3, + F4 = sys::ImGuiKey_F4, + F5 = sys::ImGuiKey_F5, + F6 = sys::ImGuiKey_F6, + F7 = sys::ImGuiKey_F7, + F8 = sys::ImGuiKey_F8, + F9 = sys::ImGuiKey_F9, + F10 = sys::ImGuiKey_F10, + F11 = sys::ImGuiKey_F11, + F12 = sys::ImGuiKey_F12, + Apostrophe = sys::ImGuiKey_Apostrophe, + Comma = sys::ImGuiKey_Comma, + Minus = sys::ImGuiKey_Minus, + Period = sys::ImGuiKey_Period, + Slash = sys::ImGuiKey_Slash, + Semicolon = sys::ImGuiKey_Semicolon, + Equal = sys::ImGuiKey_Equal, + LeftBracket = sys::ImGuiKey_LeftBracket, + Backslash = sys::ImGuiKey_Backslash, + RightBracket = sys::ImGuiKey_RightBracket, + GraveAccent = sys::ImGuiKey_GraveAccent, + CapsLock = sys::ImGuiKey_CapsLock, + ScrollLock = sys::ImGuiKey_ScrollLock, + NumLock = sys::ImGuiKey_NumLock, + PrintScreen = sys::ImGuiKey_PrintScreen, + Pause = sys::ImGuiKey_Pause, + Keypad0 = sys::ImGuiKey_Keypad0, + Keypad1 = sys::ImGuiKey_Keypad1, + Keypad2 = sys::ImGuiKey_Keypad2, + Keypad3 = sys::ImGuiKey_Keypad3, + Keypad4 = sys::ImGuiKey_Keypad4, + Keypad5 = sys::ImGuiKey_Keypad5, + Keypad6 = sys::ImGuiKey_Keypad6, + Keypad7 = sys::ImGuiKey_Keypad7, + Keypad8 = sys::ImGuiKey_Keypad8, + Keypad9 = sys::ImGuiKey_Keypad9, + KeypadDecimal = sys::ImGuiKey_KeypadDecimal, + KeypadDivide = sys::ImGuiKey_KeypadDivide, + KeypadMultiply = sys::ImGuiKey_KeypadMultiply, + KeypadSubtract = sys::ImGuiKey_KeypadSubtract, + KeypadAdd = sys::ImGuiKey_KeypadAdd, + KeypadEnter = sys::ImGuiKey_KeypadEnter, + KeypadEqual = sys::ImGuiKey_KeypadEqual, + GamepadStart = sys::ImGuiKey_GamepadStart, + GamepadBack = sys::ImGuiKey_GamepadBack, + GamepadFaceLeft = sys::ImGuiKey_GamepadFaceLeft, + GamepadFaceRight = sys::ImGuiKey_GamepadFaceRight, + GamepadFaceUp = sys::ImGuiKey_GamepadFaceUp, + GamepadFaceDown = sys::ImGuiKey_GamepadFaceDown, + GamepadDpadLeft = sys::ImGuiKey_GamepadDpadLeft, + GamepadDpadRight = sys::ImGuiKey_GamepadDpadRight, + GamepadDpadUp = sys::ImGuiKey_GamepadDpadUp, + GamepadDpadDown = sys::ImGuiKey_GamepadDpadDown, + GamepadL1 = sys::ImGuiKey_GamepadL1, + GamepadR1 = sys::ImGuiKey_GamepadR1, + GamepadL2 = sys::ImGuiKey_GamepadL2, + GamepadR2 = sys::ImGuiKey_GamepadR2, + GamepadL3 = sys::ImGuiKey_GamepadL3, + GamepadR3 = sys::ImGuiKey_GamepadR3, + GamepadLStickLeft = sys::ImGuiKey_GamepadLStickLeft, + GamepadLStickRight = sys::ImGuiKey_GamepadLStickRight, + GamepadLStickUp = sys::ImGuiKey_GamepadLStickUp, + GamepadLStickDown = sys::ImGuiKey_GamepadLStickDown, + GamepadRStickLeft = sys::ImGuiKey_GamepadRStickLeft, + GamepadRStickRight = sys::ImGuiKey_GamepadRStickRight, + GamepadRStickUp = sys::ImGuiKey_GamepadRStickUp, + GamepadRStickDown = sys::ImGuiKey_GamepadRStickDown, + MouseLeft = sys::ImGuiKey_MouseLeft, + MouseRight = sys::ImGuiKey_MouseRight, + MouseMiddle = sys::ImGuiKey_MouseMiddle, + MouseX1 = sys::ImGuiKey_MouseX1, + MouseX2 = sys::ImGuiKey_MouseX2, + MouseWheelX = sys::ImGuiKey_MouseWheelX, + MouseWheelY = sys::ImGuiKey_MouseWheelY, + ReservedForModCtrl = sys::ImGuiKey_ReservedForModCtrl, + ReservedForModShift = sys::ImGuiKey_ReservedForModShift, + ReservedForModAlt = sys::ImGuiKey_ReservedForModAlt, + ReservedForModSuper = sys::ImGuiKey_ReservedForModSuper, } impl Key { @@ -48,23 +166,134 @@ impl Key { Key::Space, Key::Enter, Key::Escape, - Key::KeyPadEnter, + Key::LeftCtrl, + Key::LeftShift, + Key::LeftAlt, + Key::LeftSuper, + Key::RightCtrl, + Key::RightShift, + Key::RightAlt, + Key::RightSuper, + Key::Menu, + Key::Alpha0, + Key::Alpha1, + Key::Alpha2, + Key::Alpha3, + Key::Alpha4, + Key::Alpha5, + Key::Alpha6, + Key::Alpha7, + Key::Alpha8, + Key::Alpha9, Key::A, + Key::B, Key::C, + Key::D, + Key::E, + Key::F, + Key::G, + Key::H, + Key::I, + Key::J, + Key::K, + Key::L, + Key::M, + Key::N, + Key::O, + Key::P, + Key::Q, + Key::R, + Key::S, + Key::T, + Key::U, Key::V, + Key::W, Key::X, Key::Y, Key::Z, + Key::F1, + Key::F2, + Key::F3, + Key::F4, + Key::F5, + Key::F6, + Key::F7, + Key::F8, + Key::F9, + Key::F10, + Key::F11, + Key::F12, + Key::Apostrophe, + Key::Comma, + Key::Minus, + Key::Period, + Key::Slash, + Key::Semicolon, + Key::Equal, + Key::LeftBracket, + Key::Backslash, + Key::RightBracket, + Key::GraveAccent, + Key::CapsLock, + Key::ScrollLock, + Key::NumLock, + Key::PrintScreen, + Key::Pause, + Key::Keypad0, + Key::Keypad1, + Key::Keypad2, + Key::Keypad3, + Key::Keypad4, + Key::Keypad5, + Key::Keypad6, + Key::Keypad7, + Key::Keypad8, + Key::Keypad9, + Key::KeypadDecimal, + Key::KeypadDivide, + Key::KeypadMultiply, + Key::KeypadSubtract, + Key::KeypadAdd, + Key::KeypadEnter, + Key::KeypadEqual, + Key::GamepadStart, + Key::GamepadBack, + Key::GamepadFaceLeft, + Key::GamepadFaceRight, + Key::GamepadFaceUp, + Key::GamepadFaceDown, + Key::GamepadDpadLeft, + Key::GamepadDpadRight, + Key::GamepadDpadUp, + Key::GamepadDpadDown, + Key::GamepadL1, + Key::GamepadR1, + Key::GamepadL2, + Key::GamepadR2, + Key::GamepadL3, + Key::GamepadR3, + Key::GamepadLStickLeft, + Key::GamepadLStickRight, + Key::GamepadLStickUp, + Key::GamepadLStickDown, + Key::GamepadRStickLeft, + Key::GamepadRStickRight, + Key::GamepadRStickUp, + Key::GamepadRStickDown, + Key::MouseLeft, + Key::MouseRight, + Key::MouseMiddle, + Key::MouseX1, + Key::MouseX2, + Key::MouseWheelX, + Key::MouseWheelY, + Key::ReservedForModCtrl, + Key::ReservedForModShift, + Key::ReservedForModAlt, + Key::ReservedForModSuper, ]; /// Total count of `Key` variants - pub const COUNT: usize = sys::ImGuiKey_COUNT as usize; -} - -#[test] -fn test_key_variants() { - for (idx, &value) in Key::VARIANTS.iter().enumerate() { - assert_eq!(idx, value as usize); - } + pub const COUNT: usize = sys::ImGuiKey_NamedKey_COUNT as usize; } /// Target widget selection for keyboard focus @@ -98,8 +327,8 @@ impl Ui { /// Equivalent to indexing the Io struct `key_map` field: `ui.io().key_map[key]` #[inline] #[doc(alias = "GetKeyIndex")] - fn key_index(&self, key: Key) -> i32 { - unsafe { sys::igGetKeyIndex(key as i32) } + fn key_index(&self, key: Key) -> u32 { + unsafe { sys::igGetKeyIndex(key as u32) } } /// Returns true if the key is being held. /// @@ -115,7 +344,7 @@ impl Ui { /// index is defined by your backend implementation. #[inline] #[doc(alias = "IsKeyDown")] - pub fn is_key_index_down(&self, key_index: i32) -> bool { + pub fn is_key_index_down(&self, key_index: u32) -> bool { unsafe { sys::igIsKeyDown(key_index) } } @@ -135,7 +364,7 @@ impl Ui { /// implementation. #[inline] #[doc(alias = "IsKeyPressed")] - pub fn is_key_index_pressed(&self, key_index: i32) -> bool { + pub fn is_key_index_pressed(&self, key_index: u32) -> bool { unsafe { sys::igIsKeyPressed(key_index, true) } } @@ -156,7 +385,7 @@ impl Ui { /// implementation. #[inline] #[doc(alias = "IsKeyPressed")] - pub fn is_key_index_pressed_no_repeat(&self, key_index: i32) -> bool { + pub fn is_key_index_pressed_no_repeat(&self, key_index: u32) -> bool { unsafe { sys::igIsKeyPressed(key_index, false) } } @@ -174,7 +403,7 @@ impl Ui { /// implementation. #[inline] #[doc(alias = "IsKeyReleased")] - pub fn is_key_index_released(&self, key_index: i32) -> bool { + pub fn is_key_index_released(&self, key_index: u32) -> bool { unsafe { sys::igIsKeyReleased(key_index) } } @@ -192,7 +421,7 @@ impl Ui { /// Same as [`crate::Ui::key_pressed_amount`] but takes a key index. #[inline] #[doc(alias = "GetKeyPressedAmount")] - pub fn key_index_pressed_amount(&self, key_index: i32, repeat_delay: f32, rate: f32) -> u32 { + pub fn key_index_pressed_amount(&self, key_index: u32, repeat_delay: f32, rate: f32) -> u32 { unsafe { sys::igGetKeyPressedAmount(key_index, repeat_delay, rate) as u32 } } diff --git a/imgui/src/io.rs b/imgui/src/io.rs index 50f8975..6157fce 100644 --- a/imgui/src/io.rs +++ b/imgui/src/io.rs @@ -120,7 +120,7 @@ impl NavInput { NavInput::TweakFast, ]; /// Amount of internal/hidden variants (not exposed by imgui-rs) - const INTERNAL_COUNT: usize = 4; + const INTERNAL_COUNT: usize = 0; /// Total count of `NavInput` variants pub const COUNT: usize = sys::ImGuiNavInput_COUNT as usize - NavInput::INTERNAL_COUNT; } @@ -155,14 +155,14 @@ pub struct Io { pub mouse_double_click_max_dist: f32, /// Distance threshold before considering we are dragging pub mouse_drag_threshold: f32, - /// Map of indices into the `keys_down` entries array, which represent your "native" keyboard - /// state - pub key_map: [u32; sys::ImGuiKey_COUNT as usize], /// When holding a key/button, time before it starts repeating, in seconds pub key_repeat_delay: f32, /// When holding a key/button, rate at which it repeats, in seconds pub key_repeat_rate: f32, + pub hover_delay_normal: f32, + pub hover_delay_short: f32, + user_data: *mut c_void, pub(crate) fonts: *mut FontAtlas, @@ -206,8 +206,10 @@ pub struct Io { /// * Double-click selects by word instead of selecting the whole text /// * Multi-selection in lists uses Cmd/Super instead of Ctrl pub config_mac_os_behaviors: bool, + pub config_input_trickle_event_queue: bool, /// Set to false to disable blinking cursor pub config_input_text_cursor_blink: bool, + pub config_input_text_enter_keep_active: bool, /// Enable turning DragXXX widgets into text input with a simple mouse /// click-release (without moving). Not desirable on devices without a /// keyboard. @@ -235,43 +237,13 @@ pub struct Io { pub(crate) set_clipboard_text_fn: Option, pub(crate) clipboard_user_data: *mut c_void, - #[cfg(not(feature = "docking"))] - ime_set_input_screen_pos_fn: - Option, - #[cfg(not(feature = "docking"))] - ime_window_handle: *mut c_void, - /// Mouse position, in pixels. - /// - /// Set to [f32::MAX, f32::MAX] if mouse is unavailable (on another screen, etc.). - pub mouse_pos: [f32; 2], - /// Mouse buttons: 0=left, 1=right, 2=middle + extras - pub mouse_down: [bool; 5], - /// Mouse wheel (vertical). - /// - /// 1 unit scrolls about 5 lines of text. - pub mouse_wheel: f32, - /// Mouse wheel (horizontal). - /// - /// Most users don't have a mouse with a horizontal wheel, and may not be filled by all - /// backends. - pub mouse_wheel_h: f32, - #[cfg(feature = "docking")] - pub mouse_hovered_viewport: sys::ImGuiID, - /// Keyboard modifier pressed: Control - pub key_ctrl: bool, - /// Keyboard modifier pressed: Shift - pub key_shift: bool, - /// Keyboard modifier pressed: Alt - pub key_alt: bool, - /// Keyboard modifier pressed: Cmd/Super/Windows - pub key_super: bool, - /// Keyboard keys that are pressed (indexing defined by the user/application) - pub keys_down: [bool; 512], - /// Gamepad inputs. - /// - /// Cleared back to zero after each frame. Keyboard keys will be auto-mapped and written - /// here by `frame()`. - pub nav_inputs: [f32; NavInput::COUNT + NavInput::INTERNAL_COUNT], + pub set_platform_ime_data_fn: Option< + unsafe extern "C" fn( + viewport: *mut sys::ImGuiViewport, + data: *mut sys::ImGuiPlatformImeData, + ), + >, + unused_padding: *mut c_void, /// When true, imgui-rs will use the mouse inputs, so do not dispatch them to your main /// game/application pub want_capture_mouse: bool, @@ -315,11 +287,44 @@ pub struct Io { /// Note that this is zero if either current or previous position is invalid ([f32::MAX, /// f32::MAX]), so a disappearing/reappearing mouse won't have a huge delta. pub mouse_delta: [f32; 2], + /// Map of indices into the `keys_down` entries array, which represent your "native" keyboard + /// state + pub key_map: [u32; sys::ImGuiKey_COUNT as usize], + /// Keyboard keys that are pressed (indexing defined by the user/application) + pub keys_down: [bool; sys::ImGuiKey_COUNT as usize], + /// Gamepad inputs. + /// + /// Cleared back to zero after each frame. Keyboard keys will be auto-mapped and written + /// here by `frame()`. + pub nav_inputs: [f32; NavInput::COUNT + NavInput::INTERNAL_COUNT], + /// Mouse position, in pixels. + /// + /// Set to [f32::MAX, f32::MAX] if mouse is unavailable (on another screen, etc.). + pub mouse_pos: [f32; 2], + /// Mouse buttons: 0=left, 1=right, 2=middle + extras + pub mouse_down: [bool; 5], + /// Mouse wheel (vertical). + /// + /// 1 unit scrolls about 5 lines of text. + pub mouse_wheel: f32, + /// Mouse wheel (horizontal). + /// + /// Most users don't have a mouse with a horizontal wheel, and may not be filled by all + /// backends. + pub mouse_wheel_h: f32, + /// Keyboard modifier pressed: Control + pub key_ctrl: bool, + /// Keyboard modifier pressed: Shift + pub key_shift: bool, + /// Keyboard modifier pressed: Alt + pub key_alt: bool, + /// Keyboard modifier pressed: Cmd/Super/Windows + pub key_super: bool, + key_mods: sys::ImGuiKeyChord, + keys_data: [sys::ImGuiKeyData; sys::ImGuiKey_COUNT as usize], pub want_capture_mouse_unless_popup_close: bool, - key_mods: sys::ImGuiKeyModFlags, - key_mods_prev: sys::ImGuiKeyModFlags, mouse_pos_prev: [f32; 2], mouse_clicked_pos: [[f32; 2]; 5], mouse_clicked_time: [f64; 5], @@ -332,18 +337,18 @@ pub struct Io { mouse_down_owned_unless_popup_close: [bool; 5], mouse_down_duration: [f32; 5], mouse_down_duration_prev: [f32; 5], - mouse_drag_max_distance_abs: [[f32; 2]; 5], mouse_drag_max_distance_sqr: [f32; 5], - keys_down_duration: [f32; 512], - keys_down_duration_prev: [f32; 512], - nav_inputs_down_duration: [f32; NavInput::COUNT + NavInput::INTERNAL_COUNT], - nav_inputs_down_duration_prev: [f32; NavInput::COUNT + NavInput::INTERNAL_COUNT], pen_pressure: f32, /// Clear buttons state when focus is lost (this is useful so /// e.g. releasing Alt after focus loss on Alt-Tab doesn't trigger /// the Alt menu toggle) pub app_focus_lost: bool, + + app_accepting_events: bool, + backend_using_legacy_key_arrays: sys::ImS8, + backend_using_legacy_nav_input_array: bool, + input_queue_surrogate: sys::ImWchar16, input_queue_characters: ImVector, } @@ -391,6 +396,30 @@ impl Io { pub fn update_delta_time(&mut self, delta: Duration) { self.delta_time = delta.as_secs_f32().max(f32::MIN_POSITIVE); } + + pub fn add_mouse_pos_event(&mut self, pos: [f32; 2]) { + unsafe { + sys::ImGuiIO_AddMousePosEvent(self.raw_mut(), pos[0], pos[1]); + } + } + + pub fn add_mouse_button_event(&mut self, button: MouseButton, down: bool) { + unsafe { + sys::ImGuiIO_AddMouseButtonEvent(self.raw_mut(), button as i32, down); + } + } + + pub fn add_mouse_wheel_event(&mut self, wheel: [f32; 2]) { + unsafe { + sys::ImGuiIO_AddMouseWheelEvent(self.raw_mut(), wheel[0], wheel[1]); + } + } + + pub fn add_key_event(&mut self, key: Key, down: bool) { + unsafe { + sys::ImGuiIO_AddKeyEvent(self.raw_mut(), key as u32, down); + } + } } impl Index for Io { @@ -457,9 +486,10 @@ fn test_io_memory_layout() { assert_field_offset!(mouse_double_click_time, MouseDoubleClickTime); assert_field_offset!(mouse_double_click_max_dist, MouseDoubleClickMaxDist); assert_field_offset!(mouse_drag_threshold, MouseDragThreshold); - assert_field_offset!(key_map, KeyMap); assert_field_offset!(key_repeat_delay, KeyRepeatDelay); assert_field_offset!(key_repeat_rate, KeyRepeatRate); + assert_field_offset!(hover_delay_normal, HoverDelayNormal); + assert_field_offset!(hover_delay_short, HoverDelayShort); assert_field_offset!(user_data, UserData); assert_field_offset!(fonts, Fonts); assert_field_offset!(font_global_scale, FontGlobalScale); @@ -468,7 +498,15 @@ fn test_io_memory_layout() { assert_field_offset!(display_framebuffer_scale, DisplayFramebufferScale); assert_field_offset!(mouse_draw_cursor, MouseDrawCursor); assert_field_offset!(config_mac_os_behaviors, ConfigMacOSXBehaviors); + assert_field_offset!( + config_input_trickle_event_queue, + ConfigInputTrickleEventQueue + ); assert_field_offset!(config_input_text_cursor_blink, ConfigInputTextCursorBlink); + assert_field_offset!( + config_input_text_enter_keep_active, + ConfigInputTextEnterKeepActive + ); assert_field_offset!( config_windows_resize_from_edges, ConfigWindowsResizeFromEdges @@ -485,20 +523,8 @@ fn test_io_memory_layout() { assert_field_offset!(get_clipboard_text_fn, GetClipboardTextFn); assert_field_offset!(set_clipboard_text_fn, SetClipboardTextFn); assert_field_offset!(clipboard_user_data, ClipboardUserData); - #[cfg(not(feature = "docking"))] - assert_field_offset!(ime_set_input_screen_pos_fn, ImeSetInputScreenPosFn); - #[cfg(not(feature = "docking"))] - assert_field_offset!(ime_window_handle, ImeWindowHandle); - assert_field_offset!(mouse_pos, MousePos); - assert_field_offset!(mouse_down, MouseDown); - assert_field_offset!(mouse_wheel, MouseWheel); - assert_field_offset!(mouse_wheel_h, MouseWheelH); - assert_field_offset!(key_ctrl, KeyCtrl); - assert_field_offset!(key_shift, KeyShift); - assert_field_offset!(key_alt, KeyAlt); - assert_field_offset!(key_super, KeySuper); - assert_field_offset!(keys_down, KeysDown); - assert_field_offset!(nav_inputs, NavInputs); + assert_field_offset!(set_platform_ime_data_fn, SetPlatformImeDataFn); + assert_field_offset!(unused_padding, _UnusedPadding); assert_field_offset!(want_capture_mouse, WantCaptureMouse); assert_field_offset!(want_capture_keyboard, WantCaptureKeyboard); assert_field_offset!(want_text_input, WantTextInput); @@ -513,8 +539,23 @@ fn test_io_memory_layout() { assert_field_offset!(metrics_active_windows, MetricsActiveWindows); assert_field_offset!(metrics_active_allocations, MetricsActiveAllocations); assert_field_offset!(mouse_delta, MouseDelta); + assert_field_offset!(key_map, KeyMap); + assert_field_offset!(keys_down, KeysDown); + assert_field_offset!(nav_inputs, NavInputs); + assert_field_offset!(mouse_pos, MousePos); + assert_field_offset!(mouse_down, MouseDown); + assert_field_offset!(mouse_wheel, MouseWheel); + assert_field_offset!(mouse_wheel_h, MouseWheelH); + assert_field_offset!(key_ctrl, KeyCtrl); + assert_field_offset!(key_shift, KeyShift); + assert_field_offset!(key_alt, KeyAlt); + assert_field_offset!(key_super, KeySuper); assert_field_offset!(key_mods, KeyMods); - assert_field_offset!(key_mods_prev, KeyModsPrev); + assert_field_offset!(keys_data, KeysData); + assert_field_offset!( + want_capture_mouse_unless_popup_close, + WantCaptureMouseUnlessPopupClose + ); assert_field_offset!(mouse_pos_prev, MousePosPrev); assert_field_offset!(mouse_clicked_pos, MouseClickedPos); assert_field_offset!(mouse_clicked_time, MouseClickedTime); @@ -526,13 +567,15 @@ fn test_io_memory_layout() { assert_field_offset!(mouse_down_owned, MouseDownOwned); assert_field_offset!(mouse_down_duration, MouseDownDuration); assert_field_offset!(mouse_down_duration_prev, MouseDownDurationPrev); - assert_field_offset!(mouse_drag_max_distance_abs, MouseDragMaxDistanceAbs); assert_field_offset!(mouse_drag_max_distance_sqr, MouseDragMaxDistanceSqr); - assert_field_offset!(keys_down_duration, KeysDownDuration); - assert_field_offset!(keys_down_duration_prev, KeysDownDurationPrev); - assert_field_offset!(nav_inputs_down_duration, NavInputsDownDuration); - assert_field_offset!(nav_inputs_down_duration_prev, NavInputsDownDurationPrev); assert_field_offset!(pen_pressure, PenPressure); + assert_field_offset!(app_focus_lost, AppFocusLost); + assert_field_offset!(app_accepting_events, AppAcceptingEvents); + assert_field_offset!(backend_using_legacy_key_arrays, BackendUsingLegacyKeyArrays); + assert_field_offset!( + backend_using_legacy_nav_input_array, + BackendUsingLegacyNavInputArray + ); assert_field_offset!(input_queue_surrogate, InputQueueSurrogate); assert_field_offset!(input_queue_characters, InputQueueCharacters); } diff --git a/imgui/src/lib.rs b/imgui/src/lib.rs index 02b858d..e59cec5 100644 --- a/imgui/src/lib.rs +++ b/imgui/src/lib.rs @@ -306,20 +306,20 @@ impl Id { impl Ui { pub fn new_id(&self, input: usize) -> Id { let p = input as *const std::os::raw::c_void; - let value = unsafe { sys::igGetIDPtr(p) }; + let value = unsafe { sys::igGetID_Ptr(p) }; Id(value) } pub fn new_id_int(&self, input: i32) -> Id { let p = input as *const std::os::raw::c_void; - let value = unsafe { sys::igGetIDPtr(p) }; + let value = unsafe { sys::igGetID_Ptr(p) }; Id(value) } pub fn new_id_ptr(&self, input: &T) -> Id { let p = input as *const T as *const sys::cty::c_void; - let value = unsafe { sys::igGetIDPtr(p) }; + let value = unsafe { sys::igGetID_Ptr(p) }; Id(value) } @@ -329,7 +329,7 @@ impl Ui { let s1 = s.as_ptr() as *const std::os::raw::c_char; let value = unsafe { let s2 = s1.add(s.len()); - sys::igGetIDStrStr(s1, s2) + sys::igGetID_StrStr(s1, s2) }; Id(value) } @@ -751,7 +751,7 @@ impl Ui { }; unsafe { - sys::igListBoxStr_arr( + sys::igListBox_Str_arr( label_ptr, current_item, items_inner.as_ptr() as *mut *const c_char, diff --git a/imgui/src/plothistogram.rs b/imgui/src/plothistogram.rs index 1ab80a7..8613ee2 100644 --- a/imgui/src/plothistogram.rs +++ b/imgui/src/plothistogram.rs @@ -71,7 +71,7 @@ impl<'ui, 'p, Label: AsRef, Overlay: AsRef> PlotHistogram<'ui, 'p, Lab unsafe { let (label, overlay_text) = self.ui.scratch_txt_with_opt(self.label, self.overlay_text); - sys::igPlotHistogramFloatPtr( + sys::igPlotHistogram_FloatPtr( label, self.values.as_ptr() as *const c_float, self.values.len() as i32, diff --git a/imgui/src/plotlines.rs b/imgui/src/plotlines.rs index 930f64f..ec9441b 100644 --- a/imgui/src/plotlines.rs +++ b/imgui/src/plotlines.rs @@ -71,7 +71,7 @@ impl<'ui, 'p, Label: AsRef, Overlay: AsRef> PlotLines<'ui, 'p, Label, unsafe { let (label, overlay) = self.ui.scratch_txt_with_opt(self.label, self.overlay_text); - sys::igPlotLinesFloatPtr( + sys::igPlotLines_FloatPtr( label, self.values.as_ptr() as *const c_float, self.values.len() as i32, diff --git a/imgui/src/popups.rs b/imgui/src/popups.rs index 401bfbc..b22cd7a 100644 --- a/imgui/src/popups.rs +++ b/imgui/src/popups.rs @@ -164,7 +164,7 @@ impl Ui { /// The confusing aspect to popups is that ImGui holds control over the popup itself. #[doc(alias = "OpenPopup")] pub fn open_popup(&self, str_id: impl AsRef) { - unsafe { sys::igOpenPopupStr(self.scratch_txt(str_id), 0) }; + unsafe { sys::igOpenPopup_Str(self.scratch_txt(str_id), 0) }; } /// Construct a popup that can have any kind of content. diff --git a/imgui/src/stacks.rs b/imgui/src/stacks.rs index 81a0bb1..1529b59 100644 --- a/imgui/src/stacks.rs +++ b/imgui/src/stacks.rs @@ -61,7 +61,7 @@ impl Ui { style_color: StyleColor, color: impl Into, ) -> ColorStackToken<'_> { - unsafe { sys::igPushStyleColorVec4(style_color as i32, color.into().into()) }; + unsafe { sys::igPushStyleColor_Vec4(style_color as i32, color.into().into()) }; ColorStackToken::new(self) } @@ -138,40 +138,42 @@ impl StyleStackToken<'_> { #[inline] unsafe fn push_style_var(style_var: StyleVar) { use crate::style::StyleVar::*; - use crate::sys::{igPushStyleVarFloat, igPushStyleVarVec2}; + use crate::sys::{igPushStyleVar_Float, igPushStyleVar_Vec2}; match style_var { - Alpha(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_Alpha as i32, v), - WindowPadding(v) => igPushStyleVarVec2(sys::ImGuiStyleVar_WindowPadding as i32, v.into()), - WindowRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_WindowRounding as i32, v), - WindowBorderSize(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_WindowBorderSize as i32, v), - WindowMinSize(v) => igPushStyleVarVec2(sys::ImGuiStyleVar_WindowMinSize as i32, v.into()), + Alpha(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_Alpha as i32, v), + WindowPadding(v) => igPushStyleVar_Vec2(sys::ImGuiStyleVar_WindowPadding as i32, v.into()), + WindowRounding(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_WindowRounding as i32, v), + WindowBorderSize(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_WindowBorderSize as i32, v), + WindowMinSize(v) => igPushStyleVar_Vec2(sys::ImGuiStyleVar_WindowMinSize as i32, v.into()), WindowTitleAlign(v) => { - igPushStyleVarVec2(sys::ImGuiStyleVar_WindowTitleAlign as i32, v.into()) + igPushStyleVar_Vec2(sys::ImGuiStyleVar_WindowTitleAlign as i32, v.into()) } - ChildRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_ChildRounding as i32, v), - ChildBorderSize(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_ChildBorderSize as i32, v), - PopupRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_PopupRounding as i32, v), - PopupBorderSize(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_PopupBorderSize as i32, v), - FramePadding(v) => igPushStyleVarVec2(sys::ImGuiStyleVar_FramePadding as i32, v.into()), - FrameRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_FrameRounding as i32, v), - FrameBorderSize(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_FrameBorderSize as i32, v), - ItemSpacing(v) => igPushStyleVarVec2(sys::ImGuiStyleVar_ItemSpacing as i32, v.into()), + ChildRounding(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_ChildRounding as i32, v), + ChildBorderSize(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_ChildBorderSize as i32, v), + PopupRounding(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_PopupRounding as i32, v), + PopupBorderSize(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_PopupBorderSize as i32, v), + FramePadding(v) => igPushStyleVar_Vec2(sys::ImGuiStyleVar_FramePadding as i32, v.into()), + FrameRounding(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_FrameRounding as i32, v), + FrameBorderSize(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_FrameBorderSize as i32, v), + ItemSpacing(v) => igPushStyleVar_Vec2(sys::ImGuiStyleVar_ItemSpacing as i32, v.into()), ItemInnerSpacing(v) => { - igPushStyleVarVec2(sys::ImGuiStyleVar_ItemInnerSpacing as i32, v.into()) + igPushStyleVar_Vec2(sys::ImGuiStyleVar_ItemInnerSpacing as i32, v.into()) } - IndentSpacing(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_IndentSpacing as i32, v), - ScrollbarSize(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_ScrollbarSize as i32, v), - ScrollbarRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_ScrollbarRounding as i32, v), - GrabMinSize(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_GrabMinSize as i32, v), - GrabRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_GrabRounding as i32, v), - TabRounding(v) => igPushStyleVarFloat(sys::ImGuiStyleVar_TabRounding as i32, v), + IndentSpacing(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_IndentSpacing as i32, v), + ScrollbarSize(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_ScrollbarSize as i32, v), + ScrollbarRounding(v) => { + igPushStyleVar_Float(sys::ImGuiStyleVar_ScrollbarRounding as i32, v) + } + GrabMinSize(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_GrabMinSize as i32, v), + GrabRounding(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_GrabRounding as i32, v), + TabRounding(v) => igPushStyleVar_Float(sys::ImGuiStyleVar_TabRounding as i32, v), ButtonTextAlign(v) => { - igPushStyleVarVec2(sys::ImGuiStyleVar_ButtonTextAlign as i32, v.into()) + igPushStyleVar_Vec2(sys::ImGuiStyleVar_ButtonTextAlign as i32, v.into()) } SelectableTextAlign(v) => { - igPushStyleVarVec2(sys::ImGuiStyleVar_SelectableTextAlign as i32, v.into()) + igPushStyleVar_Vec2(sys::ImGuiStyleVar_SelectableTextAlign as i32, v.into()) } - CellPadding(v) => igPushStyleVarVec2(sys::ImGuiStyleVar_CellPadding as i32, v.into()), + CellPadding(v) => igPushStyleVar_Vec2(sys::ImGuiStyleVar_CellPadding as i32, v.into()), } } @@ -460,7 +462,7 @@ impl<'ui> Ui { let s = s.as_ref(); let start = s.as_ptr() as *const c_char; let end = start.add(s.len()); - sys::igPushIDStrStr(start, end) + sys::igPushID_StrStr(start, end) } IdStackToken::new(self) } @@ -475,7 +477,7 @@ impl<'ui> Ui { /// [push_id]: Self::push_id #[doc(alias = "PushId")] pub fn push_id_usize(&self, id: usize) -> IdStackToken<'_> { - unsafe { sys::igPushIDPtr(id as *const _) } + unsafe { sys::igPushID_Ptr(id as *const _) } IdStackToken::new(self) } @@ -489,7 +491,7 @@ impl<'ui> Ui { /// [push_id]: Self::push_id #[doc(alias = "PushId")] pub fn push_id_int(&self, id: i32) -> IdStackToken<'_> { - unsafe { sys::igPushIDInt(id) } + unsafe { sys::igPushID_Int(id) } IdStackToken::new(self) } @@ -503,7 +505,7 @@ impl<'ui> Ui { /// [push_id]: Self::push_id #[doc(alias = "PushId")] pub fn push_id_ptr(&self, value: &T) -> IdStackToken<'_> { - unsafe { sys::igPushIDPtr(value as *const T as *const _) } + unsafe { sys::igPushID_Ptr(value as *const T as *const _) } IdStackToken::new(self) } } diff --git a/imgui/src/utils.rs b/imgui/src/utils.rs index 06928cb..2f94fb4 100644 --- a/imgui/src/utils.rs +++ b/imgui/src/utils.rs @@ -146,7 +146,7 @@ impl Ui { /// Returns `true` if the rectangle (of given size, starting from cursor position) is visible #[doc(alias = "IsRectVisibleNil")] pub fn is_cursor_rect_visible(&self, size: impl Into) -> bool { - unsafe { sys::igIsRectVisibleNil(size.into().into()) } + unsafe { sys::igIsRectVisible_Nil(size.into().into()) } } /// Returns `true` if the rectangle (in screen coordinates) is visible #[doc(alias = "IsRectVisibleNilVec2")] @@ -155,7 +155,7 @@ impl Ui { rect_min: impl Into, rect_max: impl Into, ) -> bool { - unsafe { sys::igIsRectVisibleVec2(rect_min.into().into(), rect_max.into().into()) } + unsafe { sys::igIsRectVisible_Vec2(rect_min.into().into(), rect_max.into().into()) } } /// Returns the global imgui-rs time. /// diff --git a/imgui/src/widget/image.rs b/imgui/src/widget/image.rs index d5aa4b3..ea4cbb9 100644 --- a/imgui/src/widget/image.rs +++ b/imgui/src/widget/image.rs @@ -75,28 +75,35 @@ impl Image { /// Builder for an image button widget #[derive(Copy, Clone, Debug)] #[must_use] -pub struct ImageButton { +pub struct ImageButton<'ui, StrId> { + str_id: StrId, texture_id: TextureId, size: [f32; 2], uv0: [f32; 2], uv1: [f32; 2], - frame_padding: i32, bg_col: [f32; 4], tint_col: [f32; 4], + ui: &'ui Ui, } -impl ImageButton { +impl<'ui, StrId: AsRef> ImageButton<'ui, StrId> { /// Creates a new image button builder with the given texture and size - #[doc(alias = "ImageButton")] - pub fn new(texture_id: TextureId, size: impl Into) -> ImageButton { - ImageButton { + #[deprecated(since = "0.10.0", note = "Use `ui.image_button_config(...)` instead")] + pub fn new( + ui: &'ui Ui, + str_id: StrId, + texture_id: TextureId, + size: impl Into, + ) -> Self { + Self { + str_id, texture_id, size: size.into().into(), uv0: [0.0, 0.0], uv1: [1.0, 1.0], - frame_padding: -1, bg_col: [0.0, 0.0, 0.0, 0.0], tint_col: [1.0, 1.0, 1.0, 1.0], + ui, } } @@ -116,15 +123,6 @@ impl ImageButton { self.uv1 = uv1.into().into(); self } - /// Sets the frame padding (default: uses frame padding from style). - /// - /// - `< 0`: uses frame padding from style (default) - /// - `= 0`: no framing - /// - `> 0`: set framing size - pub fn frame_padding(mut self, frame_padding: i32) -> Self { - self.frame_padding = frame_padding; - self - } /// Sets the background color (default: no background color) pub fn background_col(mut self, bg_col: impl Into) -> Self { self.bg_col = bg_col.into().into(); @@ -136,17 +134,56 @@ impl ImageButton { self } /// Builds the image button - pub fn build(self, _: &Ui) -> bool { + pub fn build(self) -> bool { unsafe { sys::igImageButton( + self.ui.scratch_txt(self.str_id), self.texture_id.id() as *mut c_void, self.size.into(), self.uv0.into(), self.uv1.into(), - self.frame_padding, self.bg_col.into(), self.tint_col.into(), ) } } } + +impl Ui { + pub fn image_button( + &self, + str_id: impl AsRef, + texture_id: TextureId, + size: impl Into, + ) -> bool { + ImageButton { + str_id, + texture_id, + size: size.into().into(), + uv0: [0.0, 0.0], + uv1: [1.0, 1.0], + bg_col: [0.0, 0.0, 0.0, 0.0], + tint_col: [1.0, 1.0, 1.0, 1.0], + ui: self, + } + .build() + } + + pub fn image_button_config>( + &self, + str_id: IdStr, + texture_id: TextureId, + size: impl Into, + ) -> ImageButton<'_, IdStr> { + ImageButton { + str_id, + texture_id, + size: size.into().into(), + uv0: [0.0, 0.0], + uv1: [1.0, 1.0], + bg_col: [0.0, 0.0, 0.0, 0.0], + tint_col: [1.0, 1.0, 1.0, 1.0], + ui: self, + } + } +} diff --git a/imgui/src/widget/menu.rs b/imgui/src/widget/menu.rs index b273c86..66c55f4 100644 --- a/imgui/src/widget/menu.rs +++ b/imgui/src/widget/menu.rs @@ -204,7 +204,7 @@ impl<'ui, Label: AsRef, Shortcut: AsRef> MenuItem<'ui, Label, Shortcut pub fn build(self) -> bool { unsafe { let (label, shortcut) = self.ui.scratch_txt_with_opt(self.label, self.shortcut); - sys::igMenuItemBool(label, shortcut, self.selected, self.enabled) + sys::igMenuItem_Bool(label, shortcut, self.selected, self.enabled) } } diff --git a/imgui/src/widget/misc.rs b/imgui/src/widget/misc.rs index df41128..288c341 100644 --- a/imgui/src/widget/misc.rs +++ b/imgui/src/widget/misc.rs @@ -111,7 +111,7 @@ impl Ui { /// Returns true if this radio button was clicked. #[doc(alias = "RadioButtonBool")] pub fn radio_button_bool(&self, label: impl AsRef, active: bool) -> bool { - unsafe { sys::igRadioButtonBool(self.scratch_txt(label), active) } + unsafe { sys::igRadioButton_Bool(self.scratch_txt(label), active) } } /// Renders a radio button suitable for choosing an arbitrary value. /// diff --git a/imgui/src/widget/selectable.rs b/imgui/src/widget/selectable.rs index 062dd9f..63805b8 100644 --- a/imgui/src/widget/selectable.rs +++ b/imgui/src/widget/selectable.rs @@ -133,7 +133,7 @@ impl<'ui, T: AsRef> Selectable<'ui, T> { /// Returns true if the selectable was clicked. pub fn build(self) -> bool { unsafe { - sys::igSelectableBool( + sys::igSelectable_Bool( self.ui.scratch_txt(self.label), self.selected, self.flags.bits() as i32, diff --git a/imgui/src/widget/tree.rs b/imgui/src/widget/tree.rs index 118c93f..bb92786 100644 --- a/imgui/src/widget/tree.rs +++ b/imgui/src/widget/tree.rs @@ -290,14 +290,14 @@ impl<'a, T: AsRef, L: AsRef> TreeNode<'a, T, L> { TreeNodeId::Str(id) => match self.label { Some(label) => { let (id, label) = self.ui.scratch_txt_two(id, label); - sys::igTreeNodeExStrStr(id, self.flags.bits() as i32, fmt_ptr(), label) + sys::igTreeNodeEx_StrStr(id, self.flags.bits() as i32, fmt_ptr(), label) } None => { let id = self.ui.scratch_txt(id); - sys::igTreeNodeExStr(id, self.flags.bits() as i32) + sys::igTreeNodeEx_Str(id, self.flags.bits() as i32) } }, - TreeNodeId::Ptr(id) => sys::igTreeNodeExPtr( + TreeNodeId::Ptr(id) => sys::igTreeNodeEx_Ptr( id, self.flags.bits() as i32, fmt_ptr(), @@ -470,7 +470,7 @@ impl> CollapsingHeader { #[inline] pub fn build(self, ui: &Ui) -> bool { unsafe { - sys::igCollapsingHeaderTreeNodeFlags( + sys::igCollapsingHeader_TreeNodeFlags( ui.scratch_txt(self.label), self.flags.bits() as i32, ) @@ -484,7 +484,7 @@ impl> CollapsingHeader { #[inline] pub fn build_with_close_button(self, ui: &Ui, opened: &mut bool) -> bool { unsafe { - sys::igCollapsingHeaderBoolPtr( + sys::igCollapsingHeader_BoolPtr( ui.scratch_txt(self.label), opened as *mut bool, self.flags.bits() as i32, diff --git a/imgui/src/window/child_window.rs b/imgui/src/window/child_window.rs index 61384cb..fe9cd45 100644 --- a/imgui/src/window/child_window.rs +++ b/imgui/src/window/child_window.rs @@ -267,7 +267,7 @@ impl<'ui> ChildWindow<'ui> { unsafe { sys::igSetNextWindowBgAlpha(self.bg_alpha) }; } let should_render = unsafe { - sys::igBeginChildID( + sys::igBeginChild_ID( self.id, self.size.into(), self.border, diff --git a/xtask/src/bindgen.rs b/xtask/src/bindgen.rs index 1272f25..142d70c 100644 --- a/xtask/src/bindgen.rs +++ b/xtask/src/bindgen.rs @@ -121,7 +121,7 @@ fn generate_binding_file( "--use-core", ]; cmd.args(a); - cmd.args(&["--blacklist-type", "__darwin_size_t"]); + cmd.args(&["--blocklist-type", "__darwin_size_t"]); cmd.args(&["--raw-line", "#![allow(nonstandard_style, clippy::all)]"]); cmd.arg("--output").arg(output); cmd.args(&["--ctypes-prefix", "cty"]); @@ -130,10 +130,10 @@ fn generate_binding_file( cmd.args(&["--wasm-import-module-name", name]); } for t in types { - cmd.args(&["--whitelist-type", t]); + cmd.args(&["--allowlist-type", t]); } for f in funcs { - cmd.args(&["--whitelist-function", f]); + cmd.args(&["--allowlist-function", f]); } cmd.arg(header); cmd.args(&["--", "-DCIMGUI_DEFINE_ENUMS_AND_STRUCTS=1"]);