Struct easy_imgui_sys::ImGuiWindow
source · #[repr(C)]pub struct ImGuiWindow {Show 101 fields
pub Ctx: *mut ImGuiContext,
pub Name: *mut c_char,
pub ID: ImGuiID,
pub Flags: ImGuiWindowFlags,
pub ChildFlags: ImGuiChildFlags,
pub Viewport: *mut ImGuiViewportP,
pub Pos: ImVec2,
pub Size: ImVec2,
pub SizeFull: ImVec2,
pub ContentSize: ImVec2,
pub ContentSizeIdeal: ImVec2,
pub ContentSizeExplicit: ImVec2,
pub WindowPadding: ImVec2,
pub WindowRounding: f32,
pub WindowBorderSize: f32,
pub TitleBarHeight: f32,
pub MenuBarHeight: f32,
pub DecoOuterSizeX1: f32,
pub DecoOuterSizeY1: f32,
pub DecoOuterSizeX2: f32,
pub DecoOuterSizeY2: f32,
pub DecoInnerSizeX1: f32,
pub DecoInnerSizeY1: f32,
pub NameBufLen: c_int,
pub MoveId: ImGuiID,
pub ChildId: ImGuiID,
pub PopupId: ImGuiID,
pub Scroll: ImVec2,
pub ScrollMax: ImVec2,
pub ScrollTarget: ImVec2,
pub ScrollTargetCenterRatio: ImVec2,
pub ScrollTargetEdgeSnapDist: ImVec2,
pub ScrollbarSizes: ImVec2,
pub ScrollbarX: bool,
pub ScrollbarY: bool,
pub Active: bool,
pub WasActive: bool,
pub WriteAccessed: bool,
pub Collapsed: bool,
pub WantCollapseToggle: bool,
pub SkipItems: bool,
pub SkipRefresh: bool,
pub Appearing: bool,
pub Hidden: bool,
pub IsFallbackWindow: bool,
pub IsExplicitChild: bool,
pub HasCloseButton: bool,
pub ResizeBorderHovered: c_schar,
pub ResizeBorderHeld: c_schar,
pub BeginCount: c_short,
pub BeginCountPreviousFrame: c_short,
pub BeginOrderWithinParent: c_short,
pub BeginOrderWithinContext: c_short,
pub FocusOrder: c_short,
pub AutoFitFramesX: ImS8,
pub AutoFitFramesY: ImS8,
pub AutoFitOnlyGrows: bool,
pub AutoPosLastDirection: ImGuiDir,
pub HiddenFramesCanSkipItems: ImS8,
pub HiddenFramesCannotSkipItems: ImS8,
pub HiddenFramesForRenderOnly: ImS8,
pub DisableInputsFrames: ImS8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>,
pub SetWindowPosVal: ImVec2,
pub SetWindowPosPivot: ImVec2,
pub IDStack: ImVector<ImGuiID>,
pub DC: ImGuiWindowTempData,
pub OuterRectClipped: ImRect,
pub InnerRect: ImRect,
pub InnerClipRect: ImRect,
pub WorkRect: ImRect,
pub ParentWorkRect: ImRect,
pub ClipRect: ImRect,
pub ContentRegionRect: ImRect,
pub HitTestHoleSize: ImVec2ih,
pub HitTestHoleOffset: ImVec2ih,
pub LastFrameActive: c_int,
pub LastTimeActive: f32,
pub ItemWidthDefault: f32,
pub StateStorage: ImGuiStorage,
pub ColumnsStorage: ImVector<ImGuiOldColumns>,
pub FontWindowScale: f32,
pub SettingsOffset: c_int,
pub DrawList: *mut ImDrawList,
pub DrawListInst: ImDrawList,
pub ParentWindow: *mut ImGuiWindow,
pub ParentWindowInBeginStack: *mut ImGuiWindow,
pub RootWindow: *mut ImGuiWindow,
pub RootWindowPopupTree: *mut ImGuiWindow,
pub RootWindowForTitleBarHighlight: *mut ImGuiWindow,
pub RootWindowForNav: *mut ImGuiWindow,
pub ParentWindowForFocusRoute: *mut ImGuiWindow,
pub NavLastChildNavWindow: *mut ImGuiWindow,
pub NavLastIds: [ImGuiID; 2],
pub NavRectRel: [ImRect; 2],
pub NavPreferredScoringPosRel: [ImVec2; 2],
pub NavRootFocusScopeId: ImGuiID,
pub MemoryDrawListIdxCapacity: c_int,
pub MemoryDrawListVtxCapacity: c_int,
pub MemoryCompacted: bool,
}Fields§
§Ctx: *mut ImGuiContext§Name: *mut c_char§ID: ImGuiID§Flags: ImGuiWindowFlags§ChildFlags: ImGuiChildFlags§Viewport: *mut ImGuiViewportP§Pos: ImVec2§Size: ImVec2§SizeFull: ImVec2§ContentSize: ImVec2§ContentSizeIdeal: ImVec2§ContentSizeExplicit: ImVec2§WindowPadding: ImVec2§WindowRounding: f32§WindowBorderSize: f32§TitleBarHeight: f32§MenuBarHeight: f32§DecoOuterSizeX1: f32§DecoOuterSizeY1: f32§DecoOuterSizeX2: f32§DecoOuterSizeY2: f32§DecoInnerSizeX1: f32§DecoInnerSizeY1: f32§NameBufLen: c_int§MoveId: ImGuiID§ChildId: ImGuiID§PopupId: ImGuiID§Scroll: ImVec2§ScrollMax: ImVec2§ScrollTarget: ImVec2§ScrollTargetCenterRatio: ImVec2§ScrollTargetEdgeSnapDist: ImVec2§ScrollbarSizes: ImVec2§ScrollbarX: bool§ScrollbarY: bool§Active: bool§WasActive: bool§WriteAccessed: bool§Collapsed: bool§WantCollapseToggle: bool§SkipItems: bool§SkipRefresh: bool§Appearing: bool§Hidden: bool§IsFallbackWindow: bool§IsExplicitChild: bool§HasCloseButton: bool§ResizeBorderHovered: c_schar§ResizeBorderHeld: c_schar§BeginCount: c_short§BeginCountPreviousFrame: c_short§BeginOrderWithinParent: c_short§BeginOrderWithinContext: c_short§FocusOrder: c_short§AutoFitFramesX: ImS8§AutoFitFramesY: ImS8§AutoFitOnlyGrows: bool§AutoPosLastDirection: ImGuiDir§HiddenFramesCanSkipItems: ImS8§HiddenFramesCannotSkipItems: ImS8§HiddenFramesForRenderOnly: ImS8§DisableInputsFrames: ImS8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§SetWindowPosVal: ImVec2§SetWindowPosPivot: ImVec2§IDStack: ImVector<ImGuiID>§DC: ImGuiWindowTempData§OuterRectClipped: ImRect§InnerRect: ImRect§InnerClipRect: ImRect§WorkRect: ImRect§ParentWorkRect: ImRect§ClipRect: ImRect§ContentRegionRect: ImRect§HitTestHoleSize: ImVec2ih§HitTestHoleOffset: ImVec2ih§LastFrameActive: c_int§LastTimeActive: f32§ItemWidthDefault: f32§StateStorage: ImGuiStorage§ColumnsStorage: ImVector<ImGuiOldColumns>§FontWindowScale: f32§SettingsOffset: c_int§DrawList: *mut ImDrawList§DrawListInst: ImDrawList§ParentWindow: *mut ImGuiWindow§ParentWindowInBeginStack: *mut ImGuiWindow§RootWindow: *mut ImGuiWindow§RootWindowPopupTree: *mut ImGuiWindow§RootWindowForTitleBarHighlight: *mut ImGuiWindow§ParentWindowForFocusRoute: *mut ImGuiWindow§MemoryDrawListIdxCapacity: c_int§MemoryDrawListVtxCapacity: c_int§MemoryCompacted: boolImplementations§
source§impl ImGuiWindow
impl ImGuiWindow
pub fn SetWindowPosAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowPosAllowFlags(&mut self, val: ImGuiCond)
pub fn SetWindowSizeAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowSizeAllowFlags(&mut self, val: ImGuiCond)
pub fn SetWindowCollapsedAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowCollapsedAllowFlags(&mut self, val: ImGuiCond)
pub fn new_bitfield_1( SetWindowPosAllowFlags: ImGuiCond, SetWindowSizeAllowFlags: ImGuiCond, SetWindowCollapsedAllowFlags: ImGuiCond, ) -> __BindgenBitfieldUnit<[u8; 3]>
pub unsafe fn GetID( &mut self, str_: *const c_char, str_end: *const c_char, ) -> ImGuiID
pub unsafe fn GetID1(&mut self, ptr: *const c_void) -> ImGuiID
pub unsafe fn GetID2(&mut self, n: c_int) -> ImGuiID
pub unsafe fn GetIDFromRectangle(&mut self, r_abs: *const ImRect) -> ImGuiID
pub unsafe fn new(context: *mut ImGuiContext, name: *const c_char) -> Self
pub unsafe fn destruct(&mut self)
Auto Trait Implementations§
impl Freeze for ImGuiWindow
impl !RefUnwindSafe for ImGuiWindow
impl !Send for ImGuiWindow
impl !Sync for ImGuiWindow
impl Unpin for ImGuiWindow
impl !UnwindSafe for ImGuiWindow
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more