mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
Upgrade to 1.77 and regenerate bindings
This commit is contained in:
parent
c575dec15b
commit
3558a9138f
@ -20,7 +20,7 @@ fn main() {
|
||||
.or(Some("imgui-sys-v0".to_string()));
|
||||
|
||||
let wasm_bindings = generate_bindings(
|
||||
&sys_path.join("third-party").join("cimgui"),
|
||||
&sys_path.join("third-party"),
|
||||
wasm_ffi_import_name,
|
||||
)
|
||||
.expect("Failed to generate bindings");
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/* automatically generated by rust-bindgen */
|
||||
/* automatically generated by rust-bindgen 0.54.1 */
|
||||
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
@ -116,6 +116,7 @@ pub type ImGuiFocusedFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiHoveredFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiInputTextFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiKeyModFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiPopupFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiSelectableFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiTabBarFlags = ::std::os::raw::c_int;
|
||||
pub type ImGuiTabItemFlags = ::std::os::raw::c_int;
|
||||
@ -1222,6 +1223,18 @@ pub const ImGuiTreeNodeFlags_SpanFullWidth: ImGuiTreeNodeFlags_ = 4096;
|
||||
pub const ImGuiTreeNodeFlags_NavLeftJumpsBackHere: ImGuiTreeNodeFlags_ = 8192;
|
||||
pub const ImGuiTreeNodeFlags_CollapsingHeader: ImGuiTreeNodeFlags_ = 26;
|
||||
pub type ImGuiTreeNodeFlags_ = u32;
|
||||
pub const ImGuiPopupFlags_None: ImGuiPopupFlags_ = 0;
|
||||
pub const ImGuiPopupFlags_MouseButtonLeft: ImGuiPopupFlags_ = 0;
|
||||
pub const ImGuiPopupFlags_MouseButtonRight: ImGuiPopupFlags_ = 1;
|
||||
pub const ImGuiPopupFlags_MouseButtonMiddle: ImGuiPopupFlags_ = 2;
|
||||
pub const ImGuiPopupFlags_MouseButtonMask_: ImGuiPopupFlags_ = 31;
|
||||
pub const ImGuiPopupFlags_MouseButtonDefault_: ImGuiPopupFlags_ = 1;
|
||||
pub const ImGuiPopupFlags_NoOpenOverExistingPopup: ImGuiPopupFlags_ = 32;
|
||||
pub const ImGuiPopupFlags_NoOpenOverItems: ImGuiPopupFlags_ = 64;
|
||||
pub const ImGuiPopupFlags_AnyPopupId: ImGuiPopupFlags_ = 128;
|
||||
pub const ImGuiPopupFlags_AnyPopupLevel: ImGuiPopupFlags_ = 256;
|
||||
pub const ImGuiPopupFlags_AnyPopup: ImGuiPopupFlags_ = 384;
|
||||
pub type ImGuiPopupFlags_ = u32;
|
||||
pub const ImGuiSelectableFlags_None: ImGuiSelectableFlags_ = 0;
|
||||
pub const ImGuiSelectableFlags_DontClosePopups: ImGuiSelectableFlags_ = 1;
|
||||
pub const ImGuiSelectableFlags_SpanAllColumns: ImGuiSelectableFlags_ = 2;
|
||||
@ -1256,6 +1269,7 @@ pub const ImGuiTabItemFlags_UnsavedDocument: ImGuiTabItemFlags_ = 1;
|
||||
pub const ImGuiTabItemFlags_SetSelected: ImGuiTabItemFlags_ = 2;
|
||||
pub const ImGuiTabItemFlags_NoCloseWithMiddleMouseButton: ImGuiTabItemFlags_ = 4;
|
||||
pub const ImGuiTabItemFlags_NoPushId: ImGuiTabItemFlags_ = 8;
|
||||
pub const ImGuiTabItemFlags_NoTooltip: ImGuiTabItemFlags_ = 16;
|
||||
pub type ImGuiTabItemFlags_ = u32;
|
||||
pub const ImGuiFocusedFlags_None: ImGuiFocusedFlags_ = 0;
|
||||
pub const ImGuiFocusedFlags_ChildWindows: ImGuiFocusedFlags_ = 1;
|
||||
@ -1497,6 +1511,7 @@ pub const ImGuiMouseCursor_Hand: ImGuiMouseCursor_ = 7;
|
||||
pub const ImGuiMouseCursor_NotAllowed: ImGuiMouseCursor_ = 8;
|
||||
pub const ImGuiMouseCursor_COUNT: ImGuiMouseCursor_ = 9;
|
||||
pub type ImGuiMouseCursor_ = i32;
|
||||
pub const ImGuiCond_None: ImGuiCond_ = 0;
|
||||
pub const ImGuiCond_Always: ImGuiCond_ = 1;
|
||||
pub const ImGuiCond_Once: ImGuiCond_ = 2;
|
||||
pub const ImGuiCond_FirstUseEver: ImGuiCond_ = 4;
|
||||
@ -1530,6 +1545,7 @@ pub struct ImGuiStyle {
|
||||
pub GrabRounding: f32,
|
||||
pub TabRounding: f32,
|
||||
pub TabBorderSize: f32,
|
||||
pub TabMinWidthForUnselectedCloseButton: f32,
|
||||
pub ColorButtonPosition: ImGuiDir,
|
||||
pub ButtonTextAlign: ImVec2,
|
||||
pub SelectableTextAlign: ImVec2,
|
||||
@ -1546,7 +1562,7 @@ pub struct ImGuiStyle {
|
||||
fn bindgen_test_layout_ImGuiStyle() {
|
||||
assert_eq!(
|
||||
::std::mem::size_of::<ImGuiStyle>(),
|
||||
948usize,
|
||||
952usize,
|
||||
concat!("Size of: ", stringify!(ImGuiStyle))
|
||||
);
|
||||
assert_eq!(
|
||||
@ -1807,8 +1823,21 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).ColorButtonPosition as *const _ as usize },
|
||||
unsafe {
|
||||
&(*(::std::ptr::null::<ImGuiStyle>())).TabMinWidthForUnselectedCloseButton as *const _
|
||||
as usize
|
||||
},
|
||||
128usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
"::",
|
||||
stringify!(TabMinWidthForUnselectedCloseButton)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).ColorButtonPosition as *const _ as usize },
|
||||
132usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1818,7 +1847,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).ButtonTextAlign as *const _ as usize },
|
||||
132usize,
|
||||
136usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1828,7 +1857,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).SelectableTextAlign as *const _ as usize },
|
||||
140usize,
|
||||
144usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1838,7 +1867,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).DisplayWindowPadding as *const _ as usize },
|
||||
148usize,
|
||||
152usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1850,7 +1879,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
unsafe {
|
||||
&(*(::std::ptr::null::<ImGuiStyle>())).DisplaySafeAreaPadding as *const _ as usize
|
||||
},
|
||||
156usize,
|
||||
160usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1860,7 +1889,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).MouseCursorScale as *const _ as usize },
|
||||
164usize,
|
||||
168usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1870,7 +1899,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).AntiAliasedLines as *const _ as usize },
|
||||
168usize,
|
||||
172usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1880,7 +1909,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).AntiAliasedFill as *const _ as usize },
|
||||
169usize,
|
||||
173usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1890,7 +1919,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).CurveTessellationTol as *const _ as usize },
|
||||
172usize,
|
||||
176usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1902,7 +1931,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
unsafe {
|
||||
&(*(::std::ptr::null::<ImGuiStyle>())).CircleSegmentMaxError as *const _ as usize
|
||||
},
|
||||
176usize,
|
||||
180usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1912,7 +1941,7 @@ fn bindgen_test_layout_ImGuiStyle() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiStyle>())).Colors as *const _ as usize },
|
||||
180usize,
|
||||
184usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiStyle),
|
||||
@ -1928,7 +1957,7 @@ impl Default for ImGuiStyle {
|
||||
}
|
||||
impl ::std::fmt::Debug for ImGuiStyle {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
||||
write ! ( f , "ImGuiStyle {{ Alpha: {:?}, WindowPadding: {:?}, WindowRounding: {:?}, WindowBorderSize: {:?}, WindowMinSize: {:?}, WindowTitleAlign: {:?}, WindowMenuButtonPosition: {:?}, ChildRounding: {:?}, ChildBorderSize: {:?}, PopupRounding: {:?}, PopupBorderSize: {:?}, FramePadding: {:?}, FrameRounding: {:?}, FrameBorderSize: {:?}, ItemSpacing: {:?}, ItemInnerSpacing: {:?}, TouchExtraPadding: {:?}, IndentSpacing: {:?}, ColumnsMinSpacing: {:?}, ScrollbarSize: {:?}, ScrollbarRounding: {:?}, GrabMinSize: {:?}, GrabRounding: {:?}, TabRounding: {:?}, TabBorderSize: {:?}, ColorButtonPosition: {:?}, ButtonTextAlign: {:?}, SelectableTextAlign: {:?}, DisplayWindowPadding: {:?}, DisplaySafeAreaPadding: {:?}, MouseCursorScale: {:?}, AntiAliasedLines: {:?}, AntiAliasedFill: {:?}, CurveTessellationTol: {:?}, CircleSegmentMaxError: {:?}, Colors: [{}] }}" , self . Alpha , self . WindowPadding , self . WindowRounding , self . WindowBorderSize , self . WindowMinSize , self . WindowTitleAlign , self . WindowMenuButtonPosition , self . ChildRounding , self . ChildBorderSize , self . PopupRounding , self . PopupBorderSize , self . FramePadding , self . FrameRounding , self . FrameBorderSize , self . ItemSpacing , self . ItemInnerSpacing , self . TouchExtraPadding , self . IndentSpacing , self . ColumnsMinSpacing , self . ScrollbarSize , self . ScrollbarRounding , self . GrabMinSize , self . GrabRounding , self . TabRounding , self . TabBorderSize , self . ColorButtonPosition , self . ButtonTextAlign , self . SelectableTextAlign , self . DisplayWindowPadding , self . DisplaySafeAreaPadding , self . MouseCursorScale , self . AntiAliasedLines , self . AntiAliasedFill , self . CurveTessellationTol , self . CircleSegmentMaxError , self . Colors . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) )
|
||||
write ! ( f , "ImGuiStyle {{ Alpha: {:?}, WindowPadding: {:?}, WindowRounding: {:?}, WindowBorderSize: {:?}, WindowMinSize: {:?}, WindowTitleAlign: {:?}, WindowMenuButtonPosition: {:?}, ChildRounding: {:?}, ChildBorderSize: {:?}, PopupRounding: {:?}, PopupBorderSize: {:?}, FramePadding: {:?}, FrameRounding: {:?}, FrameBorderSize: {:?}, ItemSpacing: {:?}, ItemInnerSpacing: {:?}, TouchExtraPadding: {:?}, IndentSpacing: {:?}, ColumnsMinSpacing: {:?}, ScrollbarSize: {:?}, ScrollbarRounding: {:?}, GrabMinSize: {:?}, GrabRounding: {:?}, TabRounding: {:?}, TabBorderSize: {:?}, TabMinWidthForUnselectedCloseButton: {:?}, ColorButtonPosition: {:?}, ButtonTextAlign: {:?}, SelectableTextAlign: {:?}, DisplayWindowPadding: {:?}, DisplaySafeAreaPadding: {:?}, MouseCursorScale: {:?}, AntiAliasedLines: {:?}, AntiAliasedFill: {:?}, CurveTessellationTol: {:?}, CircleSegmentMaxError: {:?}, Colors: [{}] }}" , self . Alpha , self . WindowPadding , self . WindowRounding , self . WindowBorderSize , self . WindowMinSize , self . WindowTitleAlign , self . WindowMenuButtonPosition , self . ChildRounding , self . ChildBorderSize , self . PopupRounding , self . PopupBorderSize , self . FramePadding , self . FrameRounding , self . FrameBorderSize , self . ItemSpacing , self . ItemInnerSpacing , self . TouchExtraPadding , self . IndentSpacing , self . ColumnsMinSpacing , self . ScrollbarSize , self . ScrollbarRounding , self . GrabMinSize , self . GrabRounding , self . TabRounding , self . TabBorderSize , self . TabMinWidthForUnselectedCloseButton , self . ColorButtonPosition , self . ButtonTextAlign , self . SelectableTextAlign , self . DisplayWindowPadding , self . DisplaySafeAreaPadding , self . MouseCursorScale , self . AntiAliasedLines , self . AntiAliasedFill , self . CurveTessellationTol , self . CircleSegmentMaxError , self . Colors . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) )
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
@ -2022,6 +2051,7 @@ pub struct ImGuiIO {
|
||||
pub KeysDownDurationPrev: [f32; 512usize],
|
||||
pub NavInputsDownDuration: [f32; 21usize],
|
||||
pub NavInputsDownDurationPrev: [f32; 21usize],
|
||||
pub PenPressure: f32,
|
||||
pub InputQueueSurrogate: ImWchar16,
|
||||
pub InputQueueCharacters: ImVector_ImWchar,
|
||||
}
|
||||
@ -2821,8 +2851,18 @@ fn bindgen_test_layout_ImGuiIO() {
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiIO>())).InputQueueSurrogate as *const _ as usize },
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiIO>())).PenPressure as *const _ as usize },
|
||||
5448usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiIO),
|
||||
"::",
|
||||
stringify!(PenPressure)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImGuiIO>())).InputQueueSurrogate as *const _ as usize },
|
||||
5452usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImGuiIO),
|
||||
@ -2848,7 +2888,7 @@ impl Default for ImGuiIO {
|
||||
}
|
||||
impl ::std::fmt::Debug for ImGuiIO {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
||||
write ! ( f , "ImGuiIO {{ ConfigFlags: {:?}, BackendFlags: {:?}, DisplaySize: {:?}, DeltaTime: {:?}, IniSavingRate: {:?}, IniFilename: {:?}, LogFilename: {:?}, MouseDoubleClickTime: {:?}, MouseDoubleClickMaxDist: {:?}, MouseDragThreshold: {:?}, KeyMap: {:?}, KeyRepeatDelay: {:?}, KeyRepeatRate: {:?}, UserData: {:?}, Fonts: {:?}, FontGlobalScale: {:?}, FontAllowUserScaling: {:?}, FontDefault: {:?}, DisplayFramebufferScale: {:?}, MouseDrawCursor: {:?}, ConfigMacOSXBehaviors: {:?}, ConfigInputTextCursorBlink: {:?}, ConfigWindowsResizeFromEdges: {:?}, ConfigWindowsMoveFromTitleBarOnly: {:?}, ConfigWindowsMemoryCompactTimer: {:?}, BackendPlatformName: {:?}, BackendRendererName: {:?}, BackendPlatformUserData: {:?}, BackendRendererUserData: {:?}, BackendLanguageUserData: {:?}, GetClipboardTextFn: {:?}, SetClipboardTextFn: {:?}, ClipboardUserData: {:?}, ImeSetInputScreenPosFn: {:?}, ImeWindowHandle: {:?}, RenderDrawListsFnUnused: {:?}, MousePos: {:?}, MouseDown: {:?}, MouseWheel: {:?}, MouseWheelH: {:?}, KeyCtrl: {:?}, KeyShift: {:?}, KeyAlt: {:?}, KeySuper: {:?}, KeysDown: [{}], NavInputs: {:?}, WantCaptureMouse: {:?}, WantCaptureKeyboard: {:?}, WantTextInput: {:?}, WantSetMousePos: {:?}, WantSaveIniSettings: {:?}, NavActive: {:?}, NavVisible: {:?}, Framerate: {:?}, MetricsRenderVertices: {:?}, MetricsRenderIndices: {:?}, MetricsRenderWindows: {:?}, MetricsActiveWindows: {:?}, MetricsActiveAllocations: {:?}, MouseDelta: {:?}, KeyMods: {:?}, MousePosPrev: {:?}, MouseClickedPos: {:?}, MouseClickedTime: {:?}, MouseClicked: {:?}, MouseDoubleClicked: {:?}, MouseReleased: {:?}, MouseDownOwned: {:?}, MouseDownWasDoubleClick: {:?}, MouseDownDuration: {:?}, MouseDownDurationPrev: {:?}, MouseDragMaxDistanceAbs: {:?}, MouseDragMaxDistanceSqr: {:?}, KeysDownDuration: [{}], KeysDownDurationPrev: [{}], NavInputsDownDuration: {:?}, NavInputsDownDurationPrev: {:?}, InputQueueSurrogate: {:?}, InputQueueCharacters: {:?} }}" , self . ConfigFlags , self . BackendFlags , self . DisplaySize , self . DeltaTime , self . IniSavingRate , self . IniFilename , self . LogFilename , self . MouseDoubleClickTime , self . MouseDoubleClickMaxDist , self . MouseDragThreshold , self . KeyMap , self . KeyRepeatDelay , self . KeyRepeatRate , self . UserData , self . Fonts , self . FontGlobalScale , self . FontAllowUserScaling , self . FontDefault , self . DisplayFramebufferScale , self . MouseDrawCursor , self . ConfigMacOSXBehaviors , self . ConfigInputTextCursorBlink , self . ConfigWindowsResizeFromEdges , self . ConfigWindowsMoveFromTitleBarOnly , self . ConfigWindowsMemoryCompactTimer , self . BackendPlatformName , self . BackendRendererName , self . BackendPlatformUserData , self . BackendRendererUserData , self . BackendLanguageUserData , self . GetClipboardTextFn , self . SetClipboardTextFn , self . ClipboardUserData , self . ImeSetInputScreenPosFn , self . ImeWindowHandle , self . RenderDrawListsFnUnused , self . MousePos , self . MouseDown , self . MouseWheel , self . MouseWheelH , self . KeyCtrl , self . KeyShift , self . KeyAlt , self . KeySuper , self . KeysDown . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . NavInputs , self . WantCaptureMouse , self . WantCaptureKeyboard , self . WantTextInput , self . WantSetMousePos , self . WantSaveIniSettings , self . NavActive , self . NavVisible , self . Framerate , self . MetricsRenderVertices , self . MetricsRenderIndices , self . MetricsRenderWindows , self . MetricsActiveWindows , self . MetricsActiveAllocations , self . MouseDelta , self . KeyMods , self . MousePosPrev , self . MouseClickedPos , self . MouseClickedTime , self . MouseClicked , self . MouseDoubleClicked , self . MouseReleased , self . MouseDownOwned , self . MouseDownWasDoubleClick , self . MouseDownDuration , self . MouseDownDurationPrev , self . MouseDragMaxDistanceAbs , self . MouseDragMaxDistanceSqr , self . KeysDownDuration . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . KeysDownDurationPrev . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . NavInputsDownDuration , self . NavInputsDownDurationPrev , self . InputQueueSurrogate , self . InputQueueCharacters )
|
||||
write ! ( f , "ImGuiIO {{ ConfigFlags: {:?}, BackendFlags: {:?}, DisplaySize: {:?}, DeltaTime: {:?}, IniSavingRate: {:?}, IniFilename: {:?}, LogFilename: {:?}, MouseDoubleClickTime: {:?}, MouseDoubleClickMaxDist: {:?}, MouseDragThreshold: {:?}, KeyMap: {:?}, KeyRepeatDelay: {:?}, KeyRepeatRate: {:?}, UserData: {:?}, Fonts: {:?}, FontGlobalScale: {:?}, FontAllowUserScaling: {:?}, FontDefault: {:?}, DisplayFramebufferScale: {:?}, MouseDrawCursor: {:?}, ConfigMacOSXBehaviors: {:?}, ConfigInputTextCursorBlink: {:?}, ConfigWindowsResizeFromEdges: {:?}, ConfigWindowsMoveFromTitleBarOnly: {:?}, ConfigWindowsMemoryCompactTimer: {:?}, BackendPlatformName: {:?}, BackendRendererName: {:?}, BackendPlatformUserData: {:?}, BackendRendererUserData: {:?}, BackendLanguageUserData: {:?}, GetClipboardTextFn: {:?}, SetClipboardTextFn: {:?}, ClipboardUserData: {:?}, ImeSetInputScreenPosFn: {:?}, ImeWindowHandle: {:?}, RenderDrawListsFnUnused: {:?}, MousePos: {:?}, MouseDown: {:?}, MouseWheel: {:?}, MouseWheelH: {:?}, KeyCtrl: {:?}, KeyShift: {:?}, KeyAlt: {:?}, KeySuper: {:?}, KeysDown: [{}], NavInputs: {:?}, WantCaptureMouse: {:?}, WantCaptureKeyboard: {:?}, WantTextInput: {:?}, WantSetMousePos: {:?}, WantSaveIniSettings: {:?}, NavActive: {:?}, NavVisible: {:?}, Framerate: {:?}, MetricsRenderVertices: {:?}, MetricsRenderIndices: {:?}, MetricsRenderWindows: {:?}, MetricsActiveWindows: {:?}, MetricsActiveAllocations: {:?}, MouseDelta: {:?}, KeyMods: {:?}, MousePosPrev: {:?}, MouseClickedPos: {:?}, MouseClickedTime: {:?}, MouseClicked: {:?}, MouseDoubleClicked: {:?}, MouseReleased: {:?}, MouseDownOwned: {:?}, MouseDownWasDoubleClick: {:?}, MouseDownDuration: {:?}, MouseDownDurationPrev: {:?}, MouseDragMaxDistanceAbs: {:?}, MouseDragMaxDistanceSqr: {:?}, KeysDownDuration: [{}], KeysDownDurationPrev: [{}], NavInputsDownDuration: {:?}, NavInputsDownDurationPrev: {:?}, PenPressure: {:?}, InputQueueSurrogate: {:?}, InputQueueCharacters: {:?} }}" , self . ConfigFlags , self . BackendFlags , self . DisplaySize , self . DeltaTime , self . IniSavingRate , self . IniFilename , self . LogFilename , self . MouseDoubleClickTime , self . MouseDoubleClickMaxDist , self . MouseDragThreshold , self . KeyMap , self . KeyRepeatDelay , self . KeyRepeatRate , self . UserData , self . Fonts , self . FontGlobalScale , self . FontAllowUserScaling , self . FontDefault , self . DisplayFramebufferScale , self . MouseDrawCursor , self . ConfigMacOSXBehaviors , self . ConfigInputTextCursorBlink , self . ConfigWindowsResizeFromEdges , self . ConfigWindowsMoveFromTitleBarOnly , self . ConfigWindowsMemoryCompactTimer , self . BackendPlatformName , self . BackendRendererName , self . BackendPlatformUserData , self . BackendRendererUserData , self . BackendLanguageUserData , self . GetClipboardTextFn , self . SetClipboardTextFn , self . ClipboardUserData , self . ImeSetInputScreenPosFn , self . ImeWindowHandle , self . RenderDrawListsFnUnused , self . MousePos , self . MouseDown , self . MouseWheel , self . MouseWheelH , self . KeyCtrl , self . KeyShift , self . KeyAlt , self . KeySuper , self . KeysDown . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . NavInputs , self . WantCaptureMouse , self . WantCaptureKeyboard , self . WantTextInput , self . WantSetMousePos , self . WantSaveIniSettings , self . NavActive , self . NavVisible , self . Framerate , self . MetricsRenderVertices , self . MetricsRenderIndices , self . MetricsRenderWindows , self . MetricsActiveWindows , self . MetricsActiveAllocations , self . MouseDelta , self . KeyMods , self . MousePosPrev , self . MouseClickedPos , self . MouseClickedTime , self . MouseClicked , self . MouseDoubleClicked , self . MouseReleased , self . MouseDownOwned , self . MouseDownWasDoubleClick , self . MouseDownDuration , self . MouseDownDurationPrev , self . MouseDragMaxDistanceAbs , self . MouseDragMaxDistanceSqr , self . KeysDownDuration . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . KeysDownDurationPrev . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . NavInputsDownDuration , self . NavInputsDownDurationPrev , self . PenPressure , self . InputQueueSurrogate , self . InputQueueCharacters )
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
@ -3491,11 +3531,11 @@ fn bindgen_test_layout_ImColor() {
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub struct ImDrawCmd {
|
||||
pub ElemCount: ::std::os::raw::c_uint,
|
||||
pub ClipRect: ImVec4,
|
||||
pub TextureId: ImTextureID,
|
||||
pub VtxOffset: ::std::os::raw::c_uint,
|
||||
pub IdxOffset: ::std::os::raw::c_uint,
|
||||
pub ElemCount: ::std::os::raw::c_uint,
|
||||
pub UserCallback: ImDrawCallback,
|
||||
pub UserCallbackData: *mut ::std::os::raw::c_void,
|
||||
}
|
||||
@ -3511,19 +3551,9 @@ fn bindgen_test_layout_ImDrawCmd() {
|
||||
8usize,
|
||||
concat!("Alignment of ", stringify!(ImDrawCmd))
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).ElemCount as *const _ as usize },
|
||||
0usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawCmd),
|
||||
"::",
|
||||
stringify!(ElemCount)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).ClipRect as *const _ as usize },
|
||||
4usize,
|
||||
0usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawCmd),
|
||||
@ -3533,7 +3563,7 @@ fn bindgen_test_layout_ImDrawCmd() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).TextureId as *const _ as usize },
|
||||
24usize,
|
||||
16usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawCmd),
|
||||
@ -3543,7 +3573,7 @@ fn bindgen_test_layout_ImDrawCmd() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).VtxOffset as *const _ as usize },
|
||||
32usize,
|
||||
24usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawCmd),
|
||||
@ -3553,7 +3583,7 @@ fn bindgen_test_layout_ImDrawCmd() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).IdxOffset as *const _ as usize },
|
||||
36usize,
|
||||
28usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawCmd),
|
||||
@ -3561,6 +3591,16 @@ fn bindgen_test_layout_ImDrawCmd() {
|
||||
stringify!(IdxOffset)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).ElemCount as *const _ as usize },
|
||||
32usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawCmd),
|
||||
"::",
|
||||
stringify!(ElemCount)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).UserCallback as *const _ as usize },
|
||||
40usize,
|
||||
@ -3753,7 +3793,7 @@ pub const ImDrawListFlags_AntiAliasedFill: ImDrawListFlags_ = 2;
|
||||
pub const ImDrawListFlags_AllowVtxOffset: ImDrawListFlags_ = 4;
|
||||
pub type ImDrawListFlags_ = u32;
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub struct ImDrawList {
|
||||
pub CmdBuffer: ImVector_ImDrawCmd,
|
||||
pub IdxBuffer: ImVector_ImDrawIdx,
|
||||
@ -3761,20 +3801,20 @@ pub struct ImDrawList {
|
||||
pub Flags: ImDrawListFlags,
|
||||
pub _Data: *const ImDrawListSharedData,
|
||||
pub _OwnerName: *const ::std::os::raw::c_char,
|
||||
pub _VtxCurrentOffset: ::std::os::raw::c_uint,
|
||||
pub _VtxCurrentIdx: ::std::os::raw::c_uint,
|
||||
pub _VtxWritePtr: *mut ImDrawVert,
|
||||
pub _IdxWritePtr: *mut ImDrawIdx,
|
||||
pub _ClipRectStack: ImVector_ImVec4,
|
||||
pub _TextureIdStack: ImVector_ImTextureID,
|
||||
pub _Path: ImVector_ImVec2,
|
||||
pub _CmdHeader: ImDrawCmd,
|
||||
pub _Splitter: ImDrawListSplitter,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_ImDrawList() {
|
||||
assert_eq!(
|
||||
::std::mem::size_of::<ImDrawList>(),
|
||||
168usize,
|
||||
224usize,
|
||||
concat!("Size of: ", stringify!(ImDrawList))
|
||||
);
|
||||
assert_eq!(
|
||||
@ -3842,19 +3882,9 @@ fn bindgen_test_layout_ImDrawList() {
|
||||
stringify!(_OwnerName)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._VtxCurrentOffset as *const _ as usize },
|
||||
72usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawList),
|
||||
"::",
|
||||
stringify!(_VtxCurrentOffset)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._VtxCurrentIdx as *const _ as usize },
|
||||
76usize,
|
||||
72usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawList),
|
||||
@ -3913,8 +3943,18 @@ fn bindgen_test_layout_ImDrawList() {
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._Splitter as *const _ as usize },
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._CmdHeader as *const _ as usize },
|
||||
144usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawList),
|
||||
"::",
|
||||
stringify!(_CmdHeader)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._Splitter as *const _ as usize },
|
||||
200usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImDrawList),
|
||||
@ -4472,11 +4512,11 @@ impl Default for ImFontGlyphRangesBuilder {
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub struct ImFontAtlasCustomRect {
|
||||
pub ID: ::std::os::raw::c_uint,
|
||||
pub Width: ::std::os::raw::c_ushort,
|
||||
pub Height: ::std::os::raw::c_ushort,
|
||||
pub X: ::std::os::raw::c_ushort,
|
||||
pub Y: ::std::os::raw::c_ushort,
|
||||
pub GlyphID: ::std::os::raw::c_uint,
|
||||
pub GlyphAdvanceX: f32,
|
||||
pub GlyphOffset: ImVec2,
|
||||
pub Font: *mut ImFont,
|
||||
@ -4493,19 +4533,9 @@ fn bindgen_test_layout_ImFontAtlasCustomRect() {
|
||||
8usize,
|
||||
concat!("Alignment of ", stringify!(ImFontAtlasCustomRect))
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImFontAtlasCustomRect>())).ID as *const _ as usize },
|
||||
0usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImFontAtlasCustomRect),
|
||||
"::",
|
||||
stringify!(ID)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImFontAtlasCustomRect>())).Width as *const _ as usize },
|
||||
4usize,
|
||||
0usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImFontAtlasCustomRect),
|
||||
@ -4515,7 +4545,7 @@ fn bindgen_test_layout_ImFontAtlasCustomRect() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImFontAtlasCustomRect>())).Height as *const _ as usize },
|
||||
6usize,
|
||||
2usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImFontAtlasCustomRect),
|
||||
@ -4525,7 +4555,7 @@ fn bindgen_test_layout_ImFontAtlasCustomRect() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImFontAtlasCustomRect>())).X as *const _ as usize },
|
||||
8usize,
|
||||
4usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImFontAtlasCustomRect),
|
||||
@ -4535,7 +4565,7 @@ fn bindgen_test_layout_ImFontAtlasCustomRect() {
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImFontAtlasCustomRect>())).Y as *const _ as usize },
|
||||
10usize,
|
||||
6usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImFontAtlasCustomRect),
|
||||
@ -4543,6 +4573,16 @@ fn bindgen_test_layout_ImFontAtlasCustomRect() {
|
||||
stringify!(Y)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe { &(*(::std::ptr::null::<ImFontAtlasCustomRect>())).GlyphID as *const _ as usize },
|
||||
8usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(ImFontAtlasCustomRect),
|
||||
"::",
|
||||
stringify!(GlyphID)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe {
|
||||
&(*(::std::ptr::null::<ImFontAtlasCustomRect>())).GlyphAdvanceX as *const _ as usize
|
||||
@ -5672,7 +5712,7 @@ extern "C" {
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igComboFnPtr(
|
||||
pub fn igComboFnBoolPtr(
|
||||
label: *const ::std::os::raw::c_char,
|
||||
current_item: *mut ::std::os::raw::c_int,
|
||||
items_getter: ::std::option::Option<
|
||||
@ -6222,7 +6262,7 @@ extern "C" {
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igListBoxFnPtr(
|
||||
pub fn igListBoxFnBoolPtr(
|
||||
label: *const ::std::os::raw::c_char,
|
||||
current_item: *mut ::std::os::raw::c_int,
|
||||
items_getter: ::std::option::Option<
|
||||
@ -6264,7 +6304,7 @@ extern "C" {
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igPlotLinesFnPtr(
|
||||
pub fn igPlotLinesFnFloatPtr(
|
||||
label: *const ::std::os::raw::c_char,
|
||||
values_getter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
@ -6295,7 +6335,7 @@ extern "C" {
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igPlotHistogramFnPtr(
|
||||
pub fn igPlotHistogramFnFloatPtr(
|
||||
label: *const ::std::os::raw::c_char,
|
||||
values_getter: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
@ -6371,31 +6411,9 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn igSetTooltip(fmt: *const ::std::os::raw::c_char, ...);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igOpenPopup(str_id: *const ::std::os::raw::c_char);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopup(str_id: *const ::std::os::raw::c_char, flags: ImGuiWindowFlags) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopupContextItem(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
mouse_button: ImGuiMouseButton,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopupContextWindow(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
mouse_button: ImGuiMouseButton,
|
||||
also_over_items: bool,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopupContextVoid(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
mouse_button: ImGuiMouseButton,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopupModal(
|
||||
name: *const ::std::os::raw::c_char,
|
||||
@ -6407,16 +6425,37 @@ extern "C" {
|
||||
pub fn igEndPopup();
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igOpenPopupOnItemClick(
|
||||
pub fn igOpenPopup(str_id: *const ::std::os::raw::c_char, popup_flags: ImGuiPopupFlags);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igOpenPopupContextItem(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
mouse_button: ImGuiMouseButton,
|
||||
popup_flags: ImGuiPopupFlags,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igIsPopupOpen(str_id: *const ::std::os::raw::c_char) -> bool;
|
||||
pub fn igCloseCurrentPopup();
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igCloseCurrentPopup();
|
||||
pub fn igBeginPopupContextItem(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
popup_flags: ImGuiPopupFlags,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopupContextWindow(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
popup_flags: ImGuiPopupFlags,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igBeginPopupContextVoid(
|
||||
str_id: *const ::std::os::raw::c_char,
|
||||
popup_flags: ImGuiPopupFlags,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igIsPopupOpen(str_id: *const ::std::os::raw::c_char, flags: ImGuiPopupFlags) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igColumns(count: ::std::os::raw::c_int, id: *const ::std::os::raw::c_char, border: bool);
|
||||
@ -6634,6 +6673,26 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn igColorConvertFloat4ToU32(in_: ImVec4) -> ImU32;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igColorConvertRGBtoHSV(
|
||||
r: f32,
|
||||
g: f32,
|
||||
b: f32,
|
||||
out_h: *mut f32,
|
||||
out_s: *mut f32,
|
||||
out_v: *mut f32,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igColorConvertHSVtoRGB(
|
||||
h: f32,
|
||||
s: f32,
|
||||
v: f32,
|
||||
out_r: *mut f32,
|
||||
out_g: *mut f32,
|
||||
out_b: *mut f32,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igGetKeyIndex(imgui_key: ImGuiKey) -> ::std::os::raw::c_int;
|
||||
}
|
||||
@ -6769,7 +6828,7 @@ extern "C" {
|
||||
pub fn ImGuiIO_AddInputCharacterUTF16(self_: *mut ImGuiIO, c: ImWchar16);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImGuiIO_AddInputCharactersUTF8(self_: *mut ImGuiIO, str: *const ::std::os::raw::c_char);
|
||||
pub fn ImGuiIO_AddInputCharactersUTF8(self_: *mut ImGuiIO, str_: *const ::std::os::raw::c_char);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImGuiIO_ClearInputCharacters(self_: *mut ImGuiIO);
|
||||
@ -6914,7 +6973,7 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn ImGuiTextBuffer_append(
|
||||
self_: *mut ImGuiTextBuffer,
|
||||
str: *const ::std::os::raw::c_char,
|
||||
str_: *const ::std::os::raw::c_char,
|
||||
str_end: *const ::std::os::raw::c_char,
|
||||
);
|
||||
}
|
||||
@ -7413,12 +7472,6 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn ImDrawList_ChannelsSetCurrent(self_: *mut ImDrawList, n: ::std::os::raw::c_int);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList_Clear(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList_ClearFreeMemory(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList_PrimReserve(
|
||||
self_: *mut ImDrawList,
|
||||
@ -7470,10 +7523,22 @@ extern "C" {
|
||||
pub fn ImDrawList_PrimVtx(self_: *mut ImDrawList, pos: ImVec2, uv: ImVec2, col: ImU32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList_UpdateClipRect(self_: *mut ImDrawList);
|
||||
pub fn ImDrawList__ResetForNewFrame(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList_UpdateTextureID(self_: *mut ImDrawList);
|
||||
pub fn ImDrawList__ClearFreeMemory(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList__PopUnusedDrawCmd(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList__OnChangedClipRect(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList__OnChangedTextureID(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawList__OnChangedVtxOffset(self_: *mut ImDrawList);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn ImDrawData_ImDrawData() -> *mut ImDrawData;
|
||||
@ -7666,7 +7731,6 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn ImFontAtlas_AddCustomRectRegular(
|
||||
self_: *mut ImFontAtlas,
|
||||
id: ::std::os::raw::c_uint,
|
||||
width: ::std::os::raw::c_int,
|
||||
height: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
@ -7822,23 +7886,3 @@ extern "C" {
|
||||
...
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igColorConvertRGBtoHSV(
|
||||
r: f32,
|
||||
g: f32,
|
||||
b: f32,
|
||||
out_h: *mut f32,
|
||||
out_s: *mut f32,
|
||||
out_v: *mut f32,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn igColorConvertHSVtoRGB(
|
||||
h: f32,
|
||||
s: f32,
|
||||
v: f32,
|
||||
out_r: *mut f32,
|
||||
out_g: *mut f32,
|
||||
out_b: *mut f32,
|
||||
);
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
103
imgui-sys/third-party/cimgui.cpp
vendored
103
imgui-sys/third-party/cimgui.cpp
vendored
@ -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.76" from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.77" from Dear ImGui https://github.com/ocornut/imgui
|
||||
|
||||
#include "./imgui/imgui.h"
|
||||
#include "./imgui/imgui_internal.h"
|
||||
@ -653,7 +653,7 @@ CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items
|
||||
{
|
||||
return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items);
|
||||
}
|
||||
CIMGUI_API bool igComboFnPtr(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 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)
|
||||
{
|
||||
return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items);
|
||||
}
|
||||
@ -937,7 +937,7 @@ CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char*
|
||||
{
|
||||
return ImGui::ListBox(label,current_item,items,items_count,height_in_items);
|
||||
}
|
||||
CIMGUI_API bool igListBoxFnPtr(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 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)
|
||||
{
|
||||
return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items);
|
||||
}
|
||||
@ -957,7 +957,7 @@ CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int va
|
||||
{
|
||||
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotLinesFnPtr(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 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)
|
||||
{
|
||||
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
@ -965,7 +965,7 @@ CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,in
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFnPtr(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 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)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
@ -1036,26 +1036,10 @@ CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
|
||||
{
|
||||
return ImGui::SetTooltipV(fmt,args);
|
||||
}
|
||||
CIMGUI_API void igOpenPopup(const char* str_id)
|
||||
{
|
||||
return ImGui::OpenPopup(str_id);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags)
|
||||
{
|
||||
return ImGui::BeginPopup(str_id,flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiMouseButton mouse_button)
|
||||
{
|
||||
return ImGui::BeginPopupContextItem(str_id,mouse_button);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items)
|
||||
{
|
||||
return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiMouseButton mouse_button)
|
||||
{
|
||||
return ImGui::BeginPopupContextVoid(str_id,mouse_button);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags)
|
||||
{
|
||||
return ImGui::BeginPopupModal(name,p_open,flags);
|
||||
@ -1064,18 +1048,34 @@ CIMGUI_API void igEndPopup()
|
||||
{
|
||||
return ImGui::EndPopup();
|
||||
}
|
||||
CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiMouseButton mouse_button)
|
||||
CIMGUI_API void igOpenPopup(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::OpenPopupOnItemClick(str_id,mouse_button);
|
||||
return ImGui::OpenPopup(str_id,popup_flags);
|
||||
}
|
||||
CIMGUI_API bool igIsPopupOpen(const char* str_id)
|
||||
CIMGUI_API bool igOpenPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::IsPopupOpen(str_id);
|
||||
return ImGui::OpenPopupContextItem(str_id,popup_flags);
|
||||
}
|
||||
CIMGUI_API void igCloseCurrentPopup()
|
||||
{
|
||||
return ImGui::CloseCurrentPopup();
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::BeginPopupContextItem(str_id,popup_flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::BeginPopupContextWindow(str_id,popup_flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags)
|
||||
{
|
||||
return ImGui::BeginPopupContextVoid(str_id,popup_flags);
|
||||
}
|
||||
CIMGUI_API bool igIsPopupOpen(const char* str_id,ImGuiPopupFlags flags)
|
||||
{
|
||||
return ImGui::IsPopupOpen(str_id,flags);
|
||||
}
|
||||
CIMGUI_API void igColumns(int count,const char* id,bool border)
|
||||
{
|
||||
return ImGui::Columns(count,id,border);
|
||||
@ -1324,6 +1324,14 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
|
||||
{
|
||||
return ImGui::ColorConvertFloat4ToU32(in);
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float* out_h,float* out_s,float* out_v)
|
||||
{
|
||||
return ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,float* out_g,float* out_b)
|
||||
{
|
||||
return ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
|
||||
}
|
||||
CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key)
|
||||
{
|
||||
return ImGui::GetKeyIndex(imgui_key);
|
||||
@ -1968,14 +1976,6 @@ CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n)
|
||||
{
|
||||
return self->ChannelsSetCurrent(n);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_Clear(ImDrawList* self)
|
||||
{
|
||||
return self->Clear();
|
||||
}
|
||||
CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self)
|
||||
{
|
||||
return self->ClearFreeMemory();
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count)
|
||||
{
|
||||
return self->PrimReserve(idx_count,vtx_count);
|
||||
@ -2008,13 +2008,29 @@ CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec
|
||||
{
|
||||
return self->PrimVtx(pos,uv,col);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self)
|
||||
CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self)
|
||||
{
|
||||
return self->UpdateClipRect();
|
||||
return self->_ResetForNewFrame();
|
||||
}
|
||||
CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self)
|
||||
CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self)
|
||||
{
|
||||
return self->UpdateTextureID();
|
||||
return self->_ClearFreeMemory();
|
||||
}
|
||||
CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self)
|
||||
{
|
||||
return self->_PopUnusedDrawCmd();
|
||||
}
|
||||
CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self)
|
||||
{
|
||||
return self->_OnChangedClipRect();
|
||||
}
|
||||
CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self)
|
||||
{
|
||||
return self->_OnChangedTextureID();
|
||||
}
|
||||
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self)
|
||||
{
|
||||
return self->_OnChangedVtxOffset();
|
||||
}
|
||||
CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void)
|
||||
{
|
||||
@ -2192,9 +2208,9 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesVietnamese(ImFontAtlas* self
|
||||
{
|
||||
return self->GetGlyphRangesVietnamese();
|
||||
}
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height)
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,int width,int height)
|
||||
{
|
||||
return self->AddCustomRectRegular(id,width,height);
|
||||
return self->AddCustomRectRegular(width,height);
|
||||
}
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)
|
||||
{
|
||||
@ -2314,14 +2330,7 @@ CIMGUI_API float igGET_FLT_MAX()
|
||||
{
|
||||
return FLT_MAX;
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
|
||||
{
|
||||
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
|
||||
{
|
||||
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
|
||||
}
|
||||
|
||||
|
||||
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create()
|
||||
{
|
||||
|
||||
66
imgui-sys/third-party/cimgui.h
vendored
66
imgui-sys/third-party/cimgui.h
vendored
@ -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.76" from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.77" from Dear ImGui https://github.com/ocornut/imgui
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
#define CIMGUI_INCLUDED
|
||||
#include <stdio.h>
|
||||
@ -70,7 +70,6 @@ typedef struct ImDrawList ImDrawList;
|
||||
typedef struct ImDrawData ImDrawData;
|
||||
typedef struct ImDrawCmd ImDrawCmd;
|
||||
typedef struct ImDrawChannel ImDrawChannel;
|
||||
|
||||
struct ImDrawChannel;
|
||||
struct ImDrawCmd;
|
||||
struct ImDrawData;
|
||||
@ -116,6 +115,7 @@ typedef int ImGuiFocusedFlags;
|
||||
typedef int ImGuiHoveredFlags;
|
||||
typedef int ImGuiInputTextFlags;
|
||||
typedef int ImGuiKeyModFlags;
|
||||
typedef int ImGuiPopupFlags;
|
||||
typedef int ImGuiSelectableFlags;
|
||||
typedef int ImGuiTabBarFlags;
|
||||
typedef int ImGuiTabItemFlags;
|
||||
@ -239,6 +239,19 @@ typedef enum {
|
||||
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13,
|
||||
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog
|
||||
}ImGuiTreeNodeFlags_;
|
||||
typedef enum {
|
||||
ImGuiPopupFlags_None = 0,
|
||||
ImGuiPopupFlags_MouseButtonLeft = 0,
|
||||
ImGuiPopupFlags_MouseButtonRight = 1,
|
||||
ImGuiPopupFlags_MouseButtonMiddle = 2,
|
||||
ImGuiPopupFlags_MouseButtonMask_ = 0x1F,
|
||||
ImGuiPopupFlags_MouseButtonDefault_ = 1,
|
||||
ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 5,
|
||||
ImGuiPopupFlags_NoOpenOverItems = 1 << 6,
|
||||
ImGuiPopupFlags_AnyPopupId = 1 << 7,
|
||||
ImGuiPopupFlags_AnyPopupLevel = 1 << 8,
|
||||
ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel
|
||||
}ImGuiPopupFlags_;
|
||||
typedef enum {
|
||||
ImGuiSelectableFlags_None = 0,
|
||||
ImGuiSelectableFlags_DontClosePopups = 1 << 0,
|
||||
@ -276,7 +289,8 @@ typedef enum {
|
||||
ImGuiTabItemFlags_UnsavedDocument = 1 << 0,
|
||||
ImGuiTabItemFlags_SetSelected = 1 << 1,
|
||||
ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2,
|
||||
ImGuiTabItemFlags_NoPushId = 1 << 3
|
||||
ImGuiTabItemFlags_NoPushId = 1 << 3,
|
||||
ImGuiTabItemFlags_NoTooltip = 1 << 4
|
||||
}ImGuiTabItemFlags_;
|
||||
typedef enum {
|
||||
ImGuiFocusedFlags_None = 0,
|
||||
@ -534,6 +548,7 @@ typedef enum {
|
||||
ImGuiMouseCursor_COUNT
|
||||
}ImGuiMouseCursor_;
|
||||
typedef enum {
|
||||
ImGuiCond_None = 0,
|
||||
ImGuiCond_Always = 1 << 0,
|
||||
ImGuiCond_Once = 1 << 1,
|
||||
ImGuiCond_FirstUseEver = 1 << 2,
|
||||
@ -566,6 +581,7 @@ struct ImGuiStyle
|
||||
float GrabRounding;
|
||||
float TabRounding;
|
||||
float TabBorderSize;
|
||||
float TabMinWidthForUnselectedCloseButton;
|
||||
ImGuiDir ColorButtonPosition;
|
||||
ImVec2 ButtonTextAlign;
|
||||
ImVec2 SelectableTextAlign;
|
||||
@ -657,6 +673,7 @@ struct ImGuiIO
|
||||
float KeysDownDurationPrev[512];
|
||||
float NavInputsDownDuration[ImGuiNavInput_COUNT];
|
||||
float NavInputsDownDurationPrev[ImGuiNavInput_COUNT];
|
||||
float PenPressure;
|
||||
ImWchar16 InputQueueSurrogate;
|
||||
ImVector_ImWchar InputQueueCharacters;
|
||||
};
|
||||
@ -725,11 +742,11 @@ struct ImColor
|
||||
};
|
||||
struct ImDrawCmd
|
||||
{
|
||||
unsigned int ElemCount;
|
||||
ImVec4 ClipRect;
|
||||
ImTextureID TextureId;
|
||||
unsigned int VtxOffset;
|
||||
unsigned int IdxOffset;
|
||||
unsigned int ElemCount;
|
||||
ImDrawCallback UserCallback;
|
||||
void* UserCallbackData;
|
||||
};
|
||||
@ -776,13 +793,13 @@ struct ImDrawList
|
||||
ImDrawListFlags Flags;
|
||||
const ImDrawListSharedData* _Data;
|
||||
const char* _OwnerName;
|
||||
unsigned int _VtxCurrentOffset;
|
||||
unsigned int _VtxCurrentIdx;
|
||||
ImDrawVert* _VtxWritePtr;
|
||||
ImDrawIdx* _IdxWritePtr;
|
||||
ImVector_ImVec4 _ClipRectStack;
|
||||
ImVector_ImTextureID _TextureIdStack;
|
||||
ImVector_ImVec2 _Path;
|
||||
ImDrawCmd _CmdHeader;
|
||||
ImDrawListSplitter _Splitter;
|
||||
};
|
||||
struct ImDrawData
|
||||
@ -832,9 +849,9 @@ struct ImFontGlyphRangesBuilder
|
||||
};
|
||||
struct ImFontAtlasCustomRect
|
||||
{
|
||||
unsigned int ID;
|
||||
unsigned short Width, Height;
|
||||
unsigned short X, Y;
|
||||
unsigned int GlyphID;
|
||||
float GlyphAdvanceX;
|
||||
ImVec2 GlyphOffset;
|
||||
ImFont* Font;
|
||||
@ -1076,7 +1093,7 @@ CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiCo
|
||||
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 igComboFnPtr(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 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 igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power);
|
||||
CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power);
|
||||
CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power);
|
||||
@ -1143,14 +1160,14 @@ 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 igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items);
|
||||
CIMGUI_API bool igListBoxFnPtr(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 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 igListBoxHeaderVec2(const char* label,const ImVec2 size);
|
||||
CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items);
|
||||
CIMGUI_API void igListBoxFooter(void);
|
||||
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 igPlotLinesFnPtr(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 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 igPlotHistogramFnPtr(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 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);
|
||||
@ -1167,16 +1184,16 @@ CIMGUI_API void igBeginTooltip(void);
|
||||
CIMGUI_API void igEndTooltip(void);
|
||||
CIMGUI_API void igSetTooltip(const char* fmt,...);
|
||||
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
|
||||
CIMGUI_API void igOpenPopup(const char* str_id);
|
||||
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags);
|
||||
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiMouseButton mouse_button);
|
||||
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items);
|
||||
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiMouseButton mouse_button);
|
||||
CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags);
|
||||
CIMGUI_API void igEndPopup(void);
|
||||
CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiMouseButton mouse_button);
|
||||
CIMGUI_API bool igIsPopupOpen(const char* str_id);
|
||||
CIMGUI_API void igOpenPopup(const char* str_id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API bool igOpenPopupContextItem(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 igIsPopupOpen(const char* str_id,ImGuiPopupFlags flags);
|
||||
CIMGUI_API void igColumns(int count,const char* id,bool border);
|
||||
CIMGUI_API void igNextColumn(void);
|
||||
CIMGUI_API int igGetColumnIndex(void);
|
||||
@ -1239,6 +1256,8 @@ CIMGUI_API void igEndChildFrame(void);
|
||||
CIMGUI_API void igCalcTextSize(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width);
|
||||
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);
|
||||
@ -1400,8 +1419,6 @@ CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int count);
|
||||
CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n);
|
||||
CIMGUI_API void ImDrawList_Clear(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count);
|
||||
CIMGUI_API void ImDrawList_PrimUnreserve(ImDrawList* self,int idx_count,int vtx_count);
|
||||
CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col);
|
||||
@ -1410,8 +1427,12 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe
|
||||
CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col);
|
||||
CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx);
|
||||
CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col);
|
||||
CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self);
|
||||
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self);
|
||||
CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void);
|
||||
CIMGUI_API void ImDrawData_destroy(ImDrawData* self);
|
||||
CIMGUI_API void ImDrawData_Clear(ImDrawData* self);
|
||||
@ -1456,7 +1477,7 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFo
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesVietnamese(ImFontAtlas* self);
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height);
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,int width,int height);
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset);
|
||||
CIMGUI_API const ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index);
|
||||
CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max);
|
||||
@ -1489,9 +1510,6 @@ CIMGUI_API void igLogText(CONST char *fmt, ...);
|
||||
CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...);
|
||||
//for getting FLT_MAX in bindings
|
||||
CIMGUI_API float igGET_FLT_MAX();
|
||||
//not const args from & to *
|
||||
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 ImVector_ImWchar* ImVector_ImWchar_create();
|
||||
|
||||
5
imgui-sys/third-party/cimgui_impl.h
vendored
5
imgui-sys/third-party/cimgui_impl.h
vendored
@ -1,9 +1,6 @@
|
||||
typedef struct SDL_Window SDL_Window;
|
||||
typedef struct GLFWwindow GLFWwindow;
|
||||
|
||||
struct GLFWwindow;
|
||||
|
||||
struct SDL_Window;
|
||||
struct GLFWwindow;struct SDL_Window;
|
||||
typedef union SDL_Event SDL_Event;CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
|
||||
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
|
||||
CIMGUI_API void ImGui_ImplGlfw_Shutdown();
|
||||
|
||||
901
imgui-sys/third-party/definitions.json
vendored
901
imgui-sys/third-party/definitions.json
vendored
File diff suppressed because it is too large
Load Diff
937
imgui-sys/third-party/definitions.lua
vendored
937
imgui-sys/third-party/definitions.lua
vendored
File diff suppressed because it is too large
Load Diff
2
imgui-sys/third-party/imgui
vendored
2
imgui-sys/third-party/imgui
vendored
@ -1 +1 @@
|
||||
Subproject commit 5503c0a12e0c929e84b3f61b2cb4bb9177ea3da1
|
||||
Subproject commit 9418dcb69355558f70de260483424412c5ca2fce
|
||||
31
imgui-sys/third-party/impl_definitions.json
vendored
31
imgui-sys/third-party/impl_definitions.json
vendored
@ -17,6 +17,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_CharCallback",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,unsigned int)",
|
||||
@ -41,6 +42,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@ -65,6 +67,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@ -101,6 +104,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int,int,int,int)",
|
||||
@ -133,6 +137,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int,int,int)",
|
||||
@ -148,6 +153,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_NewFrame",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -176,6 +182,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,double,double)",
|
||||
@ -191,6 +198,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplGlfw_Shutdown",
|
||||
"location": "imgui_impl_glfw",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -206,6 +214,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@ -221,6 +230,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@ -236,6 +246,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -251,6 +262,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -266,6 +278,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_Init",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@ -281,6 +294,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -301,6 +315,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@ -316,6 +331,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"location": "imgui_impl_opengl2",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -331,6 +347,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@ -346,6 +363,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@ -361,6 +379,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -376,6 +395,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -398,6 +418,7 @@
|
||||
"glsl_version": "((void*)0)"
|
||||
},
|
||||
"funcname": "ImGui_ImplOpenGL3_Init",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(const char*)",
|
||||
@ -413,6 +434,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -433,6 +455,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@ -448,6 +471,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"location": "imgui_impl_opengl3",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@ -468,6 +492,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_InitForD3D",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForD3D",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@ -488,6 +513,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_InitForMetal",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForMetal",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@ -512,6 +538,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,void*)",
|
||||
@ -532,6 +559,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_InitForVulkan",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@ -552,6 +580,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_NewFrame",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_NewFrame",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "(SDL_Window*)",
|
||||
@ -572,6 +601,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_ProcessEvent",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent",
|
||||
"ret": "bool",
|
||||
"signature": "(const SDL_Event*)",
|
||||
@ -587,6 +617,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_Shutdown",
|
||||
"defaults": [],
|
||||
"funcname": "ImGui_ImplSDL2_Shutdown",
|
||||
"location": "imgui_impl_sdl",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
|
||||
31
imgui-sys/third-party/impl_definitions.lua
vendored
31
imgui-sys/third-party/impl_definitions.lua
vendored
@ -14,6 +14,7 @@ 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"
|
||||
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)"
|
||||
@ -34,6 +35,7 @@ defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callback
|
||||
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"
|
||||
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)"
|
||||
@ -54,6 +56,7 @@ defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callback
|
||||
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"
|
||||
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)"
|
||||
@ -83,6 +86,7 @@ defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,actio
|
||||
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"
|
||||
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)"
|
||||
@ -109,6 +113,7 @@ defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,act
|
||||
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"
|
||||
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)"
|
||||
@ -123,6 +128,7 @@ 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"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_NewFrame"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()"
|
||||
@ -146,6 +152,7 @@ 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"
|
||||
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)"
|
||||
@ -160,6 +167,7 @@ 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"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_Shutdown"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()"
|
||||
@ -174,6 +182,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()"
|
||||
@ -188,6 +197,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()"
|
||||
@ -202,6 +212,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()"
|
||||
@ -216,6 +227,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()"
|
||||
@ -230,6 +242,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Init"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()"
|
||||
@ -244,6 +257,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_NewFrame"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()"
|
||||
@ -261,6 +275,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
|
||||
@ -275,6 +290,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Shutdown"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()"
|
||||
@ -289,6 +305,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()"
|
||||
@ -303,6 +320,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()"
|
||||
@ -317,6 +335,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()"
|
||||
@ -331,6 +350,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()"
|
||||
@ -349,6 +369,7 @@ defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "((void*)0)"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3"
|
||||
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*)"
|
||||
@ -363,6 +384,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_NewFrame"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()"
|
||||
@ -380,6 +402,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
|
||||
@ -394,6 +417,7 @@ 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"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Shutdown"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()"
|
||||
@ -411,6 +435,7 @@ 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"
|
||||
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*)"
|
||||
@ -428,6 +453,7 @@ 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"
|
||||
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*)"
|
||||
@ -448,6 +474,7 @@ 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"
|
||||
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*)"
|
||||
@ -465,6 +492,7 @@ 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"
|
||||
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*)"
|
||||
@ -482,6 +510,7 @@ defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "(window)"
|
||||
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"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_NewFrame"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "(SDL_Window*)"
|
||||
@ -499,6 +528,7 @@ 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"
|
||||
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*)"
|
||||
@ -513,6 +543,7 @@ 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"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_Shutdown"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()"
|
||||
|
||||
32
imgui-sys/third-party/overloads.txt
vendored
32
imgui-sys/third-party/overloads.txt
vendored
@ -27,7 +27,7 @@ ImVector_back 2
|
||||
2 const T* ImVector_back_const ()const
|
||||
igPlotHistogram 2
|
||||
1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
||||
2 void igPlotHistogramFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||
2 void igPlotHistogramFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||
igGetID 3
|
||||
1 ImGuiID igGetIDStr (const char*)
|
||||
2 ImGuiID igGetIDStrStr (const char*,const char*)
|
||||
@ -54,7 +54,7 @@ igTreeNode 3
|
||||
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 igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
|
||||
3 bool igComboFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
|
||||
ImVector_erase 2
|
||||
1 T* ImVector_eraseNil (const T*)
|
||||
2 T* ImVector_eraseTPtr (const T*,const T*)
|
||||
@ -81,7 +81,7 @@ igSetWindowCollapsed 2
|
||||
2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond)
|
||||
igPlotLines 2
|
||||
1 void igPlotLinesFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
||||
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||
2 void igPlotLinesFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||
igPushStyleColor 2
|
||||
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
|
||||
2 void igPushStyleColorVec4 (ImGuiCol,const ImVec4)
|
||||
@ -90,7 +90,7 @@ igTreeNodeExV 2
|
||||
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
|
||||
igListBox 2
|
||||
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
|
||||
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
|
||||
2 bool igListBoxFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
|
||||
igTreePush 2
|
||||
1 void igTreePushStr (const char*)
|
||||
2 void igTreePushPtr (const void*)
|
||||
@ -98,34 +98,34 @@ igTreeNodeEx 3
|
||||
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
|
||||
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
|
||||
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
|
||||
igSelectable 2
|
||||
1 bool igSelectableBool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
|
||||
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
|
||||
igGetColorU32 3
|
||||
1 ImU32 igGetColorU32Col (ImGuiCol,float)
|
||||
2 ImU32 igGetColorU32Vec4 (const ImVec4)
|
||||
3 ImU32 igGetColorU32U32 (ImU32)
|
||||
ImVector_begin 2
|
||||
1 T* ImVector_beginNil ()
|
||||
2 const T* ImVector_begin_const ()const
|
||||
ImVector_find 2
|
||||
1 T* ImVector_findNil (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
|
||||
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)
|
||||
ImVector_begin 2
|
||||
1 T* ImVector_beginNil ()
|
||||
2 const T* ImVector_begin_const ()const
|
||||
igCollapsingHeader 2
|
||||
1 bool igCollapsingHeaderTreeNodeFlags (const char*,ImGuiTreeNodeFlags)
|
||||
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
|
||||
ImVector_front 2
|
||||
1 T* ImVector_frontNil ()
|
||||
2 const T* ImVector_front_const ()const
|
||||
ImVector_find 2
|
||||
1 T* ImVector_findNil (const T)
|
||||
2 const T* ImVector_find_const (const T)const
|
||||
igListBoxHeader 2
|
||||
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
||||
2 bool igListBoxHeaderInt (const char*,int,int)
|
||||
igSelectable 2
|
||||
1 bool igSelectableBool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
|
||||
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
|
||||
igMenuItem 2
|
||||
1 bool igMenuItemBool (const char*,const char*,bool,bool)
|
||||
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
||||
|
||||
155
imgui-sys/third-party/structs_and_enums.json
vendored
155
imgui-sys/third-party/structs_and_enums.json
vendored
@ -560,6 +560,11 @@
|
||||
}
|
||||
],
|
||||
"ImGuiCond_": [
|
||||
{
|
||||
"calc_value": 0,
|
||||
"name": "ImGuiCond_None",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"calc_value": 1,
|
||||
"name": "ImGuiCond_Always",
|
||||
@ -1305,6 +1310,63 @@
|
||||
"value": "ImGuiNavInput_KeyMenu_"
|
||||
}
|
||||
],
|
||||
"ImGuiPopupFlags_": [
|
||||
{
|
||||
"calc_value": 0,
|
||||
"name": "ImGuiPopupFlags_None",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"calc_value": 0,
|
||||
"name": "ImGuiPopupFlags_MouseButtonLeft",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"calc_value": 1,
|
||||
"name": "ImGuiPopupFlags_MouseButtonRight",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"calc_value": 2,
|
||||
"name": "ImGuiPopupFlags_MouseButtonMiddle",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"calc_value": 31,
|
||||
"name": "ImGuiPopupFlags_MouseButtonMask_",
|
||||
"value": "0x1F"
|
||||
},
|
||||
{
|
||||
"calc_value": 1,
|
||||
"name": "ImGuiPopupFlags_MouseButtonDefault_",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"calc_value": 32,
|
||||
"name": "ImGuiPopupFlags_NoOpenOverExistingPopup",
|
||||
"value": "1 << 5"
|
||||
},
|
||||
{
|
||||
"calc_value": 64,
|
||||
"name": "ImGuiPopupFlags_NoOpenOverItems",
|
||||
"value": "1 << 6"
|
||||
},
|
||||
{
|
||||
"calc_value": 128,
|
||||
"name": "ImGuiPopupFlags_AnyPopupId",
|
||||
"value": "1 << 7"
|
||||
},
|
||||
{
|
||||
"calc_value": 256,
|
||||
"name": "ImGuiPopupFlags_AnyPopupLevel",
|
||||
"value": "1 << 8"
|
||||
},
|
||||
{
|
||||
"calc_value": 384,
|
||||
"name": "ImGuiPopupFlags_AnyPopup",
|
||||
"value": "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel"
|
||||
}
|
||||
],
|
||||
"ImGuiSelectableFlags_": [
|
||||
{
|
||||
"calc_value": 0,
|
||||
@ -1541,6 +1603,11 @@
|
||||
"calc_value": 8,
|
||||
"name": "ImGuiTabItemFlags_NoPushId",
|
||||
"value": "1 << 3"
|
||||
},
|
||||
{
|
||||
"calc_value": 16,
|
||||
"name": "ImGuiTabItemFlags_NoTooltip",
|
||||
"value": "1 << 4"
|
||||
}
|
||||
],
|
||||
"ImGuiTreeNodeFlags_": [
|
||||
@ -1778,6 +1845,62 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"locations": {
|
||||
"ImColor": "imgui",
|
||||
"ImDrawChannel": "imgui",
|
||||
"ImDrawCmd": "imgui",
|
||||
"ImDrawCornerFlags_": "imgui",
|
||||
"ImDrawData": "imgui",
|
||||
"ImDrawList": "imgui",
|
||||
"ImDrawListFlags_": "imgui",
|
||||
"ImDrawListSplitter": "imgui",
|
||||
"ImDrawVert": "imgui",
|
||||
"ImFont": "imgui",
|
||||
"ImFontAtlas": "imgui",
|
||||
"ImFontAtlasCustomRect": "imgui",
|
||||
"ImFontAtlasFlags_": "imgui",
|
||||
"ImFontConfig": "imgui",
|
||||
"ImFontGlyph": "imgui",
|
||||
"ImFontGlyphRangesBuilder": "imgui",
|
||||
"ImGuiBackendFlags_": "imgui",
|
||||
"ImGuiCol_": "imgui",
|
||||
"ImGuiColorEditFlags_": "imgui",
|
||||
"ImGuiComboFlags_": "imgui",
|
||||
"ImGuiCond_": "imgui",
|
||||
"ImGuiConfigFlags_": "imgui",
|
||||
"ImGuiDataType_": "imgui",
|
||||
"ImGuiDir_": "imgui",
|
||||
"ImGuiDragDropFlags_": "imgui",
|
||||
"ImGuiFocusedFlags_": "imgui",
|
||||
"ImGuiHoveredFlags_": "imgui",
|
||||
"ImGuiIO": "imgui",
|
||||
"ImGuiInputTextCallbackData": "imgui",
|
||||
"ImGuiInputTextFlags_": "imgui",
|
||||
"ImGuiKeyModFlags_": "imgui",
|
||||
"ImGuiKey_": "imgui",
|
||||
"ImGuiListClipper": "imgui",
|
||||
"ImGuiMouseButton_": "imgui",
|
||||
"ImGuiMouseCursor_": "imgui",
|
||||
"ImGuiNavInput_": "imgui",
|
||||
"ImGuiOnceUponAFrame": "imgui",
|
||||
"ImGuiPayload": "imgui",
|
||||
"ImGuiPopupFlags_": "imgui",
|
||||
"ImGuiSelectableFlags_": "imgui",
|
||||
"ImGuiSizeCallbackData": "imgui",
|
||||
"ImGuiStorage": "imgui",
|
||||
"ImGuiStoragePair": "imgui",
|
||||
"ImGuiStyle": "imgui",
|
||||
"ImGuiStyleVar_": "imgui",
|
||||
"ImGuiTabBarFlags_": "imgui",
|
||||
"ImGuiTabItemFlags_": "imgui",
|
||||
"ImGuiTextBuffer": "imgui",
|
||||
"ImGuiTextFilter": "imgui",
|
||||
"ImGuiTextRange": "imgui",
|
||||
"ImGuiTreeNodeFlags_": "imgui",
|
||||
"ImGuiWindowFlags_": "imgui",
|
||||
"ImVec2": "imgui",
|
||||
"ImVec4": "imgui"
|
||||
},
|
||||
"structs": {
|
||||
"ImColor": [
|
||||
{
|
||||
@ -1798,10 +1921,6 @@
|
||||
}
|
||||
],
|
||||
"ImDrawCmd": [
|
||||
{
|
||||
"name": "ElemCount",
|
||||
"type": "unsigned int"
|
||||
},
|
||||
{
|
||||
"name": "ClipRect",
|
||||
"type": "ImVec4"
|
||||
@ -1818,6 +1937,10 @@
|
||||
"name": "IdxOffset",
|
||||
"type": "unsigned int"
|
||||
},
|
||||
{
|
||||
"name": "ElemCount",
|
||||
"type": "unsigned int"
|
||||
},
|
||||
{
|
||||
"name": "UserCallback",
|
||||
"type": "ImDrawCallback"
|
||||
@ -1889,10 +2012,6 @@
|
||||
"name": "_OwnerName",
|
||||
"type": "const char*"
|
||||
},
|
||||
{
|
||||
"name": "_VtxCurrentOffset",
|
||||
"type": "unsigned int"
|
||||
},
|
||||
{
|
||||
"name": "_VtxCurrentIdx",
|
||||
"type": "unsigned int"
|
||||
@ -1920,6 +2039,10 @@
|
||||
"template_type": "ImVec2",
|
||||
"type": "ImVector_ImVec2"
|
||||
},
|
||||
{
|
||||
"name": "_CmdHeader",
|
||||
"type": "ImDrawCmd"
|
||||
},
|
||||
{
|
||||
"name": "_Splitter",
|
||||
"type": "ImDrawListSplitter"
|
||||
@ -2099,10 +2222,6 @@
|
||||
}
|
||||
],
|
||||
"ImFontAtlasCustomRect": [
|
||||
{
|
||||
"name": "ID",
|
||||
"type": "unsigned int"
|
||||
},
|
||||
{
|
||||
"name": "Width",
|
||||
"type": "unsigned short"
|
||||
@ -2119,6 +2238,10 @@
|
||||
"name": "Y",
|
||||
"type": "unsigned short"
|
||||
},
|
||||
{
|
||||
"name": "GlyphID",
|
||||
"type": "unsigned int"
|
||||
},
|
||||
{
|
||||
"name": "GlyphAdvanceX",
|
||||
"type": "float"
|
||||
@ -2594,6 +2717,10 @@
|
||||
"size": 21,
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "PenPressure",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "InputQueueSurrogate",
|
||||
"type": "ImWchar16"
|
||||
@ -2857,6 +2984,10 @@
|
||||
"name": "TabBorderSize",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "TabMinWidthForUnselectedCloseButton",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "ColorButtonPosition",
|
||||
"type": "ImGuiDir"
|
||||
|
||||
246
imgui-sys/third-party/structs_and_enums.lua
vendored
246
imgui-sys/third-party/structs_and_enums.lua
vendored
@ -445,21 +445,25 @@ defs["enums"]["ImGuiComboFlags_"][9]["name"] = "ImGuiComboFlags_HeightMask_"
|
||||
defs["enums"]["ImGuiComboFlags_"][9]["value"] = "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"
|
||||
defs["enums"]["ImGuiCond_"] = {}
|
||||
defs["enums"]["ImGuiCond_"][1] = {}
|
||||
defs["enums"]["ImGuiCond_"][1]["calc_value"] = 1
|
||||
defs["enums"]["ImGuiCond_"][1]["name"] = "ImGuiCond_Always"
|
||||
defs["enums"]["ImGuiCond_"][1]["value"] = "1 << 0"
|
||||
defs["enums"]["ImGuiCond_"][1]["calc_value"] = 0
|
||||
defs["enums"]["ImGuiCond_"][1]["name"] = "ImGuiCond_None"
|
||||
defs["enums"]["ImGuiCond_"][1]["value"] = "0"
|
||||
defs["enums"]["ImGuiCond_"][2] = {}
|
||||
defs["enums"]["ImGuiCond_"][2]["calc_value"] = 2
|
||||
defs["enums"]["ImGuiCond_"][2]["name"] = "ImGuiCond_Once"
|
||||
defs["enums"]["ImGuiCond_"][2]["value"] = "1 << 1"
|
||||
defs["enums"]["ImGuiCond_"][2]["calc_value"] = 1
|
||||
defs["enums"]["ImGuiCond_"][2]["name"] = "ImGuiCond_Always"
|
||||
defs["enums"]["ImGuiCond_"][2]["value"] = "1 << 0"
|
||||
defs["enums"]["ImGuiCond_"][3] = {}
|
||||
defs["enums"]["ImGuiCond_"][3]["calc_value"] = 4
|
||||
defs["enums"]["ImGuiCond_"][3]["name"] = "ImGuiCond_FirstUseEver"
|
||||
defs["enums"]["ImGuiCond_"][3]["value"] = "1 << 2"
|
||||
defs["enums"]["ImGuiCond_"][3]["calc_value"] = 2
|
||||
defs["enums"]["ImGuiCond_"][3]["name"] = "ImGuiCond_Once"
|
||||
defs["enums"]["ImGuiCond_"][3]["value"] = "1 << 1"
|
||||
defs["enums"]["ImGuiCond_"][4] = {}
|
||||
defs["enums"]["ImGuiCond_"][4]["calc_value"] = 8
|
||||
defs["enums"]["ImGuiCond_"][4]["name"] = "ImGuiCond_Appearing"
|
||||
defs["enums"]["ImGuiCond_"][4]["value"] = "1 << 3"
|
||||
defs["enums"]["ImGuiCond_"][4]["calc_value"] = 4
|
||||
defs["enums"]["ImGuiCond_"][4]["name"] = "ImGuiCond_FirstUseEver"
|
||||
defs["enums"]["ImGuiCond_"][4]["value"] = "1 << 2"
|
||||
defs["enums"]["ImGuiCond_"][5] = {}
|
||||
defs["enums"]["ImGuiCond_"][5]["calc_value"] = 8
|
||||
defs["enums"]["ImGuiCond_"][5]["name"] = "ImGuiCond_Appearing"
|
||||
defs["enums"]["ImGuiCond_"][5]["value"] = "1 << 3"
|
||||
defs["enums"]["ImGuiConfigFlags_"] = {}
|
||||
defs["enums"]["ImGuiConfigFlags_"][1] = {}
|
||||
defs["enums"]["ImGuiConfigFlags_"][1]["calc_value"] = 0
|
||||
@ -1032,6 +1036,51 @@ defs["enums"]["ImGuiNavInput_"][23] = {}
|
||||
defs["enums"]["ImGuiNavInput_"][23]["calc_value"] = 16
|
||||
defs["enums"]["ImGuiNavInput_"][23]["name"] = "ImGuiNavInput_InternalStart_"
|
||||
defs["enums"]["ImGuiNavInput_"][23]["value"] = "ImGuiNavInput_KeyMenu_"
|
||||
defs["enums"]["ImGuiPopupFlags_"] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][1] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][1]["calc_value"] = 0
|
||||
defs["enums"]["ImGuiPopupFlags_"][1]["name"] = "ImGuiPopupFlags_None"
|
||||
defs["enums"]["ImGuiPopupFlags_"][1]["value"] = "0"
|
||||
defs["enums"]["ImGuiPopupFlags_"][2] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][2]["calc_value"] = 0
|
||||
defs["enums"]["ImGuiPopupFlags_"][2]["name"] = "ImGuiPopupFlags_MouseButtonLeft"
|
||||
defs["enums"]["ImGuiPopupFlags_"][2]["value"] = "0"
|
||||
defs["enums"]["ImGuiPopupFlags_"][3] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][3]["calc_value"] = 1
|
||||
defs["enums"]["ImGuiPopupFlags_"][3]["name"] = "ImGuiPopupFlags_MouseButtonRight"
|
||||
defs["enums"]["ImGuiPopupFlags_"][3]["value"] = "1"
|
||||
defs["enums"]["ImGuiPopupFlags_"][4] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][4]["calc_value"] = 2
|
||||
defs["enums"]["ImGuiPopupFlags_"][4]["name"] = "ImGuiPopupFlags_MouseButtonMiddle"
|
||||
defs["enums"]["ImGuiPopupFlags_"][4]["value"] = "2"
|
||||
defs["enums"]["ImGuiPopupFlags_"][5] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][5]["calc_value"] = 31
|
||||
defs["enums"]["ImGuiPopupFlags_"][5]["name"] = "ImGuiPopupFlags_MouseButtonMask_"
|
||||
defs["enums"]["ImGuiPopupFlags_"][5]["value"] = "0x1F"
|
||||
defs["enums"]["ImGuiPopupFlags_"][6] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][6]["calc_value"] = 1
|
||||
defs["enums"]["ImGuiPopupFlags_"][6]["name"] = "ImGuiPopupFlags_MouseButtonDefault_"
|
||||
defs["enums"]["ImGuiPopupFlags_"][6]["value"] = "1"
|
||||
defs["enums"]["ImGuiPopupFlags_"][7] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][7]["calc_value"] = 32
|
||||
defs["enums"]["ImGuiPopupFlags_"][7]["name"] = "ImGuiPopupFlags_NoOpenOverExistingPopup"
|
||||
defs["enums"]["ImGuiPopupFlags_"][7]["value"] = "1 << 5"
|
||||
defs["enums"]["ImGuiPopupFlags_"][8] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][8]["calc_value"] = 64
|
||||
defs["enums"]["ImGuiPopupFlags_"][8]["name"] = "ImGuiPopupFlags_NoOpenOverItems"
|
||||
defs["enums"]["ImGuiPopupFlags_"][8]["value"] = "1 << 6"
|
||||
defs["enums"]["ImGuiPopupFlags_"][9] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][9]["calc_value"] = 128
|
||||
defs["enums"]["ImGuiPopupFlags_"][9]["name"] = "ImGuiPopupFlags_AnyPopupId"
|
||||
defs["enums"]["ImGuiPopupFlags_"][9]["value"] = "1 << 7"
|
||||
defs["enums"]["ImGuiPopupFlags_"][10] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][10]["calc_value"] = 256
|
||||
defs["enums"]["ImGuiPopupFlags_"][10]["name"] = "ImGuiPopupFlags_AnyPopupLevel"
|
||||
defs["enums"]["ImGuiPopupFlags_"][10]["value"] = "1 << 8"
|
||||
defs["enums"]["ImGuiPopupFlags_"][11] = {}
|
||||
defs["enums"]["ImGuiPopupFlags_"][11]["calc_value"] = 384
|
||||
defs["enums"]["ImGuiPopupFlags_"][11]["name"] = "ImGuiPopupFlags_AnyPopup"
|
||||
defs["enums"]["ImGuiPopupFlags_"][11]["value"] = "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel"
|
||||
defs["enums"]["ImGuiSelectableFlags_"] = {}
|
||||
defs["enums"]["ImGuiSelectableFlags_"][1] = {}
|
||||
defs["enums"]["ImGuiSelectableFlags_"][1]["calc_value"] = 0
|
||||
@ -1220,6 +1269,10 @@ defs["enums"]["ImGuiTabItemFlags_"][5] = {}
|
||||
defs["enums"]["ImGuiTabItemFlags_"][5]["calc_value"] = 8
|
||||
defs["enums"]["ImGuiTabItemFlags_"][5]["name"] = "ImGuiTabItemFlags_NoPushId"
|
||||
defs["enums"]["ImGuiTabItemFlags_"][5]["value"] = "1 << 3"
|
||||
defs["enums"]["ImGuiTabItemFlags_"][6] = {}
|
||||
defs["enums"]["ImGuiTabItemFlags_"][6]["calc_value"] = 16
|
||||
defs["enums"]["ImGuiTabItemFlags_"][6]["name"] = "ImGuiTabItemFlags_NoTooltip"
|
||||
defs["enums"]["ImGuiTabItemFlags_"][6]["value"] = "1 << 4"
|
||||
defs["enums"]["ImGuiTreeNodeFlags_"] = {}
|
||||
defs["enums"]["ImGuiTreeNodeFlags_"][1] = {}
|
||||
defs["enums"]["ImGuiTreeNodeFlags_"][1]["calc_value"] = 0
|
||||
@ -1406,6 +1459,61 @@ defs["enums"]["ImGuiWindowFlags_"][30] = {}
|
||||
defs["enums"]["ImGuiWindowFlags_"][30]["calc_value"] = 268435456
|
||||
defs["enums"]["ImGuiWindowFlags_"][30]["name"] = "ImGuiWindowFlags_ChildMenu"
|
||||
defs["enums"]["ImGuiWindowFlags_"][30]["value"] = "1 << 28"
|
||||
defs["locations"] = {}
|
||||
defs["locations"]["ImColor"] = "imgui"
|
||||
defs["locations"]["ImDrawChannel"] = "imgui"
|
||||
defs["locations"]["ImDrawCmd"] = "imgui"
|
||||
defs["locations"]["ImDrawCornerFlags_"] = "imgui"
|
||||
defs["locations"]["ImDrawData"] = "imgui"
|
||||
defs["locations"]["ImDrawList"] = "imgui"
|
||||
defs["locations"]["ImDrawListFlags_"] = "imgui"
|
||||
defs["locations"]["ImDrawListSplitter"] = "imgui"
|
||||
defs["locations"]["ImDrawVert"] = "imgui"
|
||||
defs["locations"]["ImFont"] = "imgui"
|
||||
defs["locations"]["ImFontAtlas"] = "imgui"
|
||||
defs["locations"]["ImFontAtlasCustomRect"] = "imgui"
|
||||
defs["locations"]["ImFontAtlasFlags_"] = "imgui"
|
||||
defs["locations"]["ImFontConfig"] = "imgui"
|
||||
defs["locations"]["ImFontGlyph"] = "imgui"
|
||||
defs["locations"]["ImFontGlyphRangesBuilder"] = "imgui"
|
||||
defs["locations"]["ImGuiBackendFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiCol_"] = "imgui"
|
||||
defs["locations"]["ImGuiColorEditFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiComboFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiCond_"] = "imgui"
|
||||
defs["locations"]["ImGuiConfigFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiDataType_"] = "imgui"
|
||||
defs["locations"]["ImGuiDir_"] = "imgui"
|
||||
defs["locations"]["ImGuiDragDropFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiFocusedFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiHoveredFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiIO"] = "imgui"
|
||||
defs["locations"]["ImGuiInputTextCallbackData"] = "imgui"
|
||||
defs["locations"]["ImGuiInputTextFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiKeyModFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiKey_"] = "imgui"
|
||||
defs["locations"]["ImGuiListClipper"] = "imgui"
|
||||
defs["locations"]["ImGuiMouseButton_"] = "imgui"
|
||||
defs["locations"]["ImGuiMouseCursor_"] = "imgui"
|
||||
defs["locations"]["ImGuiNavInput_"] = "imgui"
|
||||
defs["locations"]["ImGuiOnceUponAFrame"] = "imgui"
|
||||
defs["locations"]["ImGuiPayload"] = "imgui"
|
||||
defs["locations"]["ImGuiPopupFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiSelectableFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiSizeCallbackData"] = "imgui"
|
||||
defs["locations"]["ImGuiStorage"] = "imgui"
|
||||
defs["locations"]["ImGuiStoragePair"] = "imgui"
|
||||
defs["locations"]["ImGuiStyle"] = "imgui"
|
||||
defs["locations"]["ImGuiStyleVar_"] = "imgui"
|
||||
defs["locations"]["ImGuiTabBarFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiTabItemFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiTextBuffer"] = "imgui"
|
||||
defs["locations"]["ImGuiTextFilter"] = "imgui"
|
||||
defs["locations"]["ImGuiTextRange"] = "imgui"
|
||||
defs["locations"]["ImGuiTreeNodeFlags_"] = "imgui"
|
||||
defs["locations"]["ImGuiWindowFlags_"] = "imgui"
|
||||
defs["locations"]["ImVec2"] = "imgui"
|
||||
defs["locations"]["ImVec4"] = "imgui"
|
||||
defs["structs"] = {}
|
||||
defs["structs"]["ImColor"] = {}
|
||||
defs["structs"]["ImColor"][1] = {}
|
||||
@ -1422,19 +1530,19 @@ defs["structs"]["ImDrawChannel"][2]["template_type"] = "ImDrawIdx"
|
||||
defs["structs"]["ImDrawChannel"][2]["type"] = "ImVector_ImDrawIdx"
|
||||
defs["structs"]["ImDrawCmd"] = {}
|
||||
defs["structs"]["ImDrawCmd"][1] = {}
|
||||
defs["structs"]["ImDrawCmd"][1]["name"] = "ElemCount"
|
||||
defs["structs"]["ImDrawCmd"][1]["type"] = "unsigned int"
|
||||
defs["structs"]["ImDrawCmd"][1]["name"] = "ClipRect"
|
||||
defs["structs"]["ImDrawCmd"][1]["type"] = "ImVec4"
|
||||
defs["structs"]["ImDrawCmd"][2] = {}
|
||||
defs["structs"]["ImDrawCmd"][2]["name"] = "ClipRect"
|
||||
defs["structs"]["ImDrawCmd"][2]["type"] = "ImVec4"
|
||||
defs["structs"]["ImDrawCmd"][2]["name"] = "TextureId"
|
||||
defs["structs"]["ImDrawCmd"][2]["type"] = "ImTextureID"
|
||||
defs["structs"]["ImDrawCmd"][3] = {}
|
||||
defs["structs"]["ImDrawCmd"][3]["name"] = "TextureId"
|
||||
defs["structs"]["ImDrawCmd"][3]["type"] = "ImTextureID"
|
||||
defs["structs"]["ImDrawCmd"][3]["name"] = "VtxOffset"
|
||||
defs["structs"]["ImDrawCmd"][3]["type"] = "unsigned int"
|
||||
defs["structs"]["ImDrawCmd"][4] = {}
|
||||
defs["structs"]["ImDrawCmd"][4]["name"] = "VtxOffset"
|
||||
defs["structs"]["ImDrawCmd"][4]["name"] = "IdxOffset"
|
||||
defs["structs"]["ImDrawCmd"][4]["type"] = "unsigned int"
|
||||
defs["structs"]["ImDrawCmd"][5] = {}
|
||||
defs["structs"]["ImDrawCmd"][5]["name"] = "IdxOffset"
|
||||
defs["structs"]["ImDrawCmd"][5]["name"] = "ElemCount"
|
||||
defs["structs"]["ImDrawCmd"][5]["type"] = "unsigned int"
|
||||
defs["structs"]["ImDrawCmd"][6] = {}
|
||||
defs["structs"]["ImDrawCmd"][6]["name"] = "UserCallback"
|
||||
@ -1490,29 +1598,29 @@ defs["structs"]["ImDrawList"][6] = {}
|
||||
defs["structs"]["ImDrawList"][6]["name"] = "_OwnerName"
|
||||
defs["structs"]["ImDrawList"][6]["type"] = "const char*"
|
||||
defs["structs"]["ImDrawList"][7] = {}
|
||||
defs["structs"]["ImDrawList"][7]["name"] = "_VtxCurrentOffset"
|
||||
defs["structs"]["ImDrawList"][7]["name"] = "_VtxCurrentIdx"
|
||||
defs["structs"]["ImDrawList"][7]["type"] = "unsigned int"
|
||||
defs["structs"]["ImDrawList"][8] = {}
|
||||
defs["structs"]["ImDrawList"][8]["name"] = "_VtxCurrentIdx"
|
||||
defs["structs"]["ImDrawList"][8]["type"] = "unsigned int"
|
||||
defs["structs"]["ImDrawList"][8]["name"] = "_VtxWritePtr"
|
||||
defs["structs"]["ImDrawList"][8]["type"] = "ImDrawVert*"
|
||||
defs["structs"]["ImDrawList"][9] = {}
|
||||
defs["structs"]["ImDrawList"][9]["name"] = "_VtxWritePtr"
|
||||
defs["structs"]["ImDrawList"][9]["type"] = "ImDrawVert*"
|
||||
defs["structs"]["ImDrawList"][9]["name"] = "_IdxWritePtr"
|
||||
defs["structs"]["ImDrawList"][9]["type"] = "ImDrawIdx*"
|
||||
defs["structs"]["ImDrawList"][10] = {}
|
||||
defs["structs"]["ImDrawList"][10]["name"] = "_IdxWritePtr"
|
||||
defs["structs"]["ImDrawList"][10]["type"] = "ImDrawIdx*"
|
||||
defs["structs"]["ImDrawList"][10]["name"] = "_ClipRectStack"
|
||||
defs["structs"]["ImDrawList"][10]["template_type"] = "ImVec4"
|
||||
defs["structs"]["ImDrawList"][10]["type"] = "ImVector_ImVec4"
|
||||
defs["structs"]["ImDrawList"][11] = {}
|
||||
defs["structs"]["ImDrawList"][11]["name"] = "_ClipRectStack"
|
||||
defs["structs"]["ImDrawList"][11]["template_type"] = "ImVec4"
|
||||
defs["structs"]["ImDrawList"][11]["type"] = "ImVector_ImVec4"
|
||||
defs["structs"]["ImDrawList"][11]["name"] = "_TextureIdStack"
|
||||
defs["structs"]["ImDrawList"][11]["template_type"] = "ImTextureID"
|
||||
defs["structs"]["ImDrawList"][11]["type"] = "ImVector_ImTextureID"
|
||||
defs["structs"]["ImDrawList"][12] = {}
|
||||
defs["structs"]["ImDrawList"][12]["name"] = "_TextureIdStack"
|
||||
defs["structs"]["ImDrawList"][12]["template_type"] = "ImTextureID"
|
||||
defs["structs"]["ImDrawList"][12]["type"] = "ImVector_ImTextureID"
|
||||
defs["structs"]["ImDrawList"][12]["name"] = "_Path"
|
||||
defs["structs"]["ImDrawList"][12]["template_type"] = "ImVec2"
|
||||
defs["structs"]["ImDrawList"][12]["type"] = "ImVector_ImVec2"
|
||||
defs["structs"]["ImDrawList"][13] = {}
|
||||
defs["structs"]["ImDrawList"][13]["name"] = "_Path"
|
||||
defs["structs"]["ImDrawList"][13]["template_type"] = "ImVec2"
|
||||
defs["structs"]["ImDrawList"][13]["type"] = "ImVector_ImVec2"
|
||||
defs["structs"]["ImDrawList"][13]["name"] = "_CmdHeader"
|
||||
defs["structs"]["ImDrawList"][13]["type"] = "ImDrawCmd"
|
||||
defs["structs"]["ImDrawList"][14] = {}
|
||||
defs["structs"]["ImDrawList"][14]["name"] = "_Splitter"
|
||||
defs["structs"]["ImDrawList"][14]["type"] = "ImDrawListSplitter"
|
||||
@ -1648,20 +1756,20 @@ defs["structs"]["ImFontAtlas"][15]["size"] = 1
|
||||
defs["structs"]["ImFontAtlas"][15]["type"] = "int"
|
||||
defs["structs"]["ImFontAtlasCustomRect"] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][1] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][1]["name"] = "ID"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][1]["type"] = "unsigned int"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][1]["name"] = "Width"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][1]["type"] = "unsigned short"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][2] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][2]["name"] = "Width"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][2]["name"] = "Height"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][2]["type"] = "unsigned short"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][3] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][3]["name"] = "Height"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][3]["name"] = "X"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][3]["type"] = "unsigned short"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][4] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][4]["name"] = "X"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][4]["name"] = "Y"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][4]["type"] = "unsigned short"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][5] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][5]["name"] = "Y"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][5]["type"] = "unsigned short"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][5]["name"] = "GlyphID"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][5]["type"] = "unsigned int"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][6] = {}
|
||||
defs["structs"]["ImFontAtlasCustomRect"][6]["name"] = "GlyphAdvanceX"
|
||||
defs["structs"]["ImFontAtlasCustomRect"][6]["type"] = "float"
|
||||
@ -2023,12 +2131,15 @@ defs["structs"]["ImGuiIO"][77]["name"] = "NavInputsDownDurationPrev[ImGuiNavInpu
|
||||
defs["structs"]["ImGuiIO"][77]["size"] = 21
|
||||
defs["structs"]["ImGuiIO"][77]["type"] = "float"
|
||||
defs["structs"]["ImGuiIO"][78] = {}
|
||||
defs["structs"]["ImGuiIO"][78]["name"] = "InputQueueSurrogate"
|
||||
defs["structs"]["ImGuiIO"][78]["type"] = "ImWchar16"
|
||||
defs["structs"]["ImGuiIO"][78]["name"] = "PenPressure"
|
||||
defs["structs"]["ImGuiIO"][78]["type"] = "float"
|
||||
defs["structs"]["ImGuiIO"][79] = {}
|
||||
defs["structs"]["ImGuiIO"][79]["name"] = "InputQueueCharacters"
|
||||
defs["structs"]["ImGuiIO"][79]["template_type"] = "ImWchar"
|
||||
defs["structs"]["ImGuiIO"][79]["type"] = "ImVector_ImWchar"
|
||||
defs["structs"]["ImGuiIO"][79]["name"] = "InputQueueSurrogate"
|
||||
defs["structs"]["ImGuiIO"][79]["type"] = "ImWchar16"
|
||||
defs["structs"]["ImGuiIO"][80] = {}
|
||||
defs["structs"]["ImGuiIO"][80]["name"] = "InputQueueCharacters"
|
||||
defs["structs"]["ImGuiIO"][80]["template_type"] = "ImWchar"
|
||||
defs["structs"]["ImGuiIO"][80]["type"] = "ImVector_ImWchar"
|
||||
defs["structs"]["ImGuiInputTextCallbackData"] = {}
|
||||
defs["structs"]["ImGuiInputTextCallbackData"][1] = {}
|
||||
defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag"
|
||||
@ -2217,39 +2328,42 @@ defs["structs"]["ImGuiStyle"][25] = {}
|
||||
defs["structs"]["ImGuiStyle"][25]["name"] = "TabBorderSize"
|
||||
defs["structs"]["ImGuiStyle"][25]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][26] = {}
|
||||
defs["structs"]["ImGuiStyle"][26]["name"] = "ColorButtonPosition"
|
||||
defs["structs"]["ImGuiStyle"][26]["type"] = "ImGuiDir"
|
||||
defs["structs"]["ImGuiStyle"][26]["name"] = "TabMinWidthForUnselectedCloseButton"
|
||||
defs["structs"]["ImGuiStyle"][26]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][27] = {}
|
||||
defs["structs"]["ImGuiStyle"][27]["name"] = "ButtonTextAlign"
|
||||
defs["structs"]["ImGuiStyle"][27]["type"] = "ImVec2"
|
||||
defs["structs"]["ImGuiStyle"][27]["name"] = "ColorButtonPosition"
|
||||
defs["structs"]["ImGuiStyle"][27]["type"] = "ImGuiDir"
|
||||
defs["structs"]["ImGuiStyle"][28] = {}
|
||||
defs["structs"]["ImGuiStyle"][28]["name"] = "SelectableTextAlign"
|
||||
defs["structs"]["ImGuiStyle"][28]["name"] = "ButtonTextAlign"
|
||||
defs["structs"]["ImGuiStyle"][28]["type"] = "ImVec2"
|
||||
defs["structs"]["ImGuiStyle"][29] = {}
|
||||
defs["structs"]["ImGuiStyle"][29]["name"] = "DisplayWindowPadding"
|
||||
defs["structs"]["ImGuiStyle"][29]["name"] = "SelectableTextAlign"
|
||||
defs["structs"]["ImGuiStyle"][29]["type"] = "ImVec2"
|
||||
defs["structs"]["ImGuiStyle"][30] = {}
|
||||
defs["structs"]["ImGuiStyle"][30]["name"] = "DisplaySafeAreaPadding"
|
||||
defs["structs"]["ImGuiStyle"][30]["name"] = "DisplayWindowPadding"
|
||||
defs["structs"]["ImGuiStyle"][30]["type"] = "ImVec2"
|
||||
defs["structs"]["ImGuiStyle"][31] = {}
|
||||
defs["structs"]["ImGuiStyle"][31]["name"] = "MouseCursorScale"
|
||||
defs["structs"]["ImGuiStyle"][31]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][31]["name"] = "DisplaySafeAreaPadding"
|
||||
defs["structs"]["ImGuiStyle"][31]["type"] = "ImVec2"
|
||||
defs["structs"]["ImGuiStyle"][32] = {}
|
||||
defs["structs"]["ImGuiStyle"][32]["name"] = "AntiAliasedLines"
|
||||
defs["structs"]["ImGuiStyle"][32]["type"] = "bool"
|
||||
defs["structs"]["ImGuiStyle"][32]["name"] = "MouseCursorScale"
|
||||
defs["structs"]["ImGuiStyle"][32]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][33] = {}
|
||||
defs["structs"]["ImGuiStyle"][33]["name"] = "AntiAliasedFill"
|
||||
defs["structs"]["ImGuiStyle"][33]["name"] = "AntiAliasedLines"
|
||||
defs["structs"]["ImGuiStyle"][33]["type"] = "bool"
|
||||
defs["structs"]["ImGuiStyle"][34] = {}
|
||||
defs["structs"]["ImGuiStyle"][34]["name"] = "CurveTessellationTol"
|
||||
defs["structs"]["ImGuiStyle"][34]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][34]["name"] = "AntiAliasedFill"
|
||||
defs["structs"]["ImGuiStyle"][34]["type"] = "bool"
|
||||
defs["structs"]["ImGuiStyle"][35] = {}
|
||||
defs["structs"]["ImGuiStyle"][35]["name"] = "CircleSegmentMaxError"
|
||||
defs["structs"]["ImGuiStyle"][35]["name"] = "CurveTessellationTol"
|
||||
defs["structs"]["ImGuiStyle"][35]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][36] = {}
|
||||
defs["structs"]["ImGuiStyle"][36]["name"] = "Colors[ImGuiCol_COUNT]"
|
||||
defs["structs"]["ImGuiStyle"][36]["size"] = 48
|
||||
defs["structs"]["ImGuiStyle"][36]["type"] = "ImVec4"
|
||||
defs["structs"]["ImGuiStyle"][36]["name"] = "CircleSegmentMaxError"
|
||||
defs["structs"]["ImGuiStyle"][36]["type"] = "float"
|
||||
defs["structs"]["ImGuiStyle"][37] = {}
|
||||
defs["structs"]["ImGuiStyle"][37]["name"] = "Colors[ImGuiCol_COUNT]"
|
||||
defs["structs"]["ImGuiStyle"][37]["size"] = 48
|
||||
defs["structs"]["ImGuiStyle"][37]["type"] = "ImVec4"
|
||||
defs["structs"]["ImGuiTextBuffer"] = {}
|
||||
defs["structs"]["ImGuiTextBuffer"][1] = {}
|
||||
defs["structs"]["ImGuiTextBuffer"][1]["name"] = "Buf"
|
||||
|
||||
1
imgui-sys/third-party/typedefs_dict.json
vendored
1
imgui-sys/third-party/typedefs_dict.json
vendored
@ -43,6 +43,7 @@
|
||||
"ImGuiNavInput": "int",
|
||||
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
|
||||
"ImGuiPayload": "struct ImGuiPayload",
|
||||
"ImGuiPopupFlags": "int",
|
||||
"ImGuiSelectableFlags": "int",
|
||||
"ImGuiSizeCallback": "void(*)(ImGuiSizeCallbackData* data);",
|
||||
"ImGuiSizeCallbackData": "struct ImGuiSizeCallbackData",
|
||||
|
||||
1
imgui-sys/third-party/typedefs_dict.lua
vendored
1
imgui-sys/third-party/typedefs_dict.lua
vendored
@ -43,6 +43,7 @@ defs["ImGuiMouseCursor"] = "int"
|
||||
defs["ImGuiNavInput"] = "int"
|
||||
defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame"
|
||||
defs["ImGuiPayload"] = "struct ImGuiPayload"
|
||||
defs["ImGuiPopupFlags"] = "int"
|
||||
defs["ImGuiSelectableFlags"] = "int"
|
||||
defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
|
||||
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user