ImGuiWindow

Struct ImGuiWindow 

Source
#[repr(C)]
pub struct ImGuiWindow {
Show 121 fields pub Ctx: *mut ImGuiContext, pub Name: *mut c_char, pub ID: ImGuiID, pub Flags: ImGuiWindowFlags, pub FlagsPreviousFrame: ImGuiWindowFlags, pub ChildFlags: ImGuiChildFlags, pub WindowClass: ImGuiWindowClass, pub Viewport: *mut ImGuiViewportP, pub ViewportId: ImGuiID, pub ViewportPos: ImVec2, pub ViewportAllowPlatformMonitorExtend: c_int, 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 TabId: 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 ScrollbarXStabilizeEnabled: bool, pub ScrollbarXStabilizeToggledHistory: ImU8, pub ViewportOwned: 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; 4]>, 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 LastFrameJustFocused: c_int, pub LastTimeActive: f32, pub ItemWidthDefault: f32, pub StateStorage: ImGuiStorage, pub ColumnsStorage: ImVector<ImGuiOldColumns>, pub FontWindowScale: f32, pub FontWindowScaleParents: f32, pub FontRefSize: 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 RootWindowDockTree: *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, pub _bitfield_align_2: [u8; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>, pub DockOrder: c_short, pub DockStyle: ImGuiWindowDockStyle, pub DockNode: *mut ImGuiDockNode, pub DockNodeAsHost: *mut ImGuiDockNode, pub DockId: ImGuiID,
}

Fields§

§Ctx: *mut ImGuiContext§Name: *mut c_char§ID: ImGuiID§Flags: ImGuiWindowFlags§FlagsPreviousFrame: ImGuiWindowFlags§ChildFlags: ImGuiChildFlags§WindowClass: ImGuiWindowClass§Viewport: *mut ImGuiViewportP§ViewportId: ImGuiID§ViewportPos: ImVec2§ViewportAllowPlatformMonitorExtend: c_int§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§TabId: ImGuiID§ChildId: ImGuiID§PopupId: ImGuiID§Scroll: ImVec2§ScrollMax: ImVec2§ScrollTarget: ImVec2§ScrollTargetCenterRatio: ImVec2§ScrollTargetEdgeSnapDist: ImVec2§ScrollbarSizes: ImVec2§ScrollbarX: bool§ScrollbarY: bool§ScrollbarXStabilizeEnabled: bool§ScrollbarXStabilizeToggledHistory: ImU8§ViewportOwned: 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; 4]>§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§LastFrameJustFocused: c_int§LastTimeActive: f32§ItemWidthDefault: f32§StateStorage: ImGuiStorage§ColumnsStorage: ImVector<ImGuiOldColumns>§FontWindowScale: f32§FontWindowScaleParents: f32§FontRefSize: f32§SettingsOffset: c_int§DrawList: *mut ImDrawList§DrawListInst: ImDrawList§ParentWindow: *mut ImGuiWindow§ParentWindowInBeginStack: *mut ImGuiWindow§RootWindow: *mut ImGuiWindow§RootWindowPopupTree: *mut ImGuiWindow§RootWindowDockTree: *mut ImGuiWindow§RootWindowForTitleBarHighlight: *mut ImGuiWindow§RootWindowForNav: *mut ImGuiWindow§ParentWindowForFocusRoute: *mut ImGuiWindow§NavLastChildNavWindow: *mut ImGuiWindow§NavLastIds: [ImGuiID; 2]§NavRectRel: [ImRect; 2]§NavPreferredScoringPosRel: [ImVec2; 2]§NavRootFocusScopeId: ImGuiID§MemoryDrawListIdxCapacity: c_int§MemoryDrawListVtxCapacity: c_int§MemoryCompacted: bool§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>§DockOrder: c_short§DockStyle: ImGuiWindowDockStyle§DockNode: *mut ImGuiDockNode§DockNodeAsHost: *mut ImGuiDockNode§DockId: ImGuiID

Implementations§

Source§

impl ImGuiWindow

Source

pub fn SetWindowPosAllowFlags(&self) -> ImGuiCond

Source

pub fn set_SetWindowPosAllowFlags(&mut self, val: ImGuiCond)

Source

pub unsafe fn SetWindowPosAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowPosAllowFlags_raw(this: *mut Self, val: ImGuiCond)

Source

pub fn SetWindowSizeAllowFlags(&self) -> ImGuiCond

Source

pub fn set_SetWindowSizeAllowFlags(&mut self, val: ImGuiCond)

Source

pub unsafe fn SetWindowSizeAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowSizeAllowFlags_raw(this: *mut Self, val: ImGuiCond)

Source

pub fn SetWindowCollapsedAllowFlags(&self) -> ImGuiCond

Source

pub fn set_SetWindowCollapsedAllowFlags(&mut self, val: ImGuiCond)

Source

pub unsafe fn SetWindowCollapsedAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowCollapsedAllowFlags_raw( this: *mut Self, val: ImGuiCond, )

Source

pub fn SetWindowDockAllowFlags(&self) -> ImGuiCond

Source

pub fn set_SetWindowDockAllowFlags(&mut self, val: ImGuiCond)

Source

pub unsafe fn SetWindowDockAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowDockAllowFlags_raw(this: *mut Self, val: ImGuiCond)

Source

pub fn new_bitfield_1( SetWindowPosAllowFlags: ImGuiCond, SetWindowSizeAllowFlags: ImGuiCond, SetWindowCollapsedAllowFlags: ImGuiCond, SetWindowDockAllowFlags: ImGuiCond, ) -> __BindgenBitfieldUnit<[u8; 4]>

Source

pub fn DockIsActive(&self) -> bool

Source

pub fn set_DockIsActive(&mut self, val: bool)

Source

pub unsafe fn DockIsActive_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockIsActive_raw(this: *mut Self, val: bool)

Source

pub fn DockNodeIsVisible(&self) -> bool

Source

pub fn set_DockNodeIsVisible(&mut self, val: bool)

Source

pub unsafe fn DockNodeIsVisible_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockNodeIsVisible_raw(this: *mut Self, val: bool)

Source

pub fn DockTabIsVisible(&self) -> bool

Source

pub fn set_DockTabIsVisible(&mut self, val: bool)

Source

pub unsafe fn DockTabIsVisible_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockTabIsVisible_raw(this: *mut Self, val: bool)

Source

pub fn DockTabWantClose(&self) -> bool

Source

pub fn set_DockTabWantClose(&mut self, val: bool)

Source

pub unsafe fn DockTabWantClose_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockTabWantClose_raw(this: *mut Self, val: bool)

Source

pub fn new_bitfield_2( DockIsActive: bool, DockNodeIsVisible: bool, DockTabIsVisible: bool, DockTabWantClose: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>

Source

pub unsafe fn GetID( &mut self, str_: *const c_char, str_end: *const c_char, ) -> ImGuiID

Source

pub unsafe fn GetID1(&mut self, ptr: *const c_void) -> ImGuiID

Source

pub unsafe fn GetID2(&mut self, n: c_int) -> ImGuiID

Source

pub unsafe fn GetIDFromPos(&mut self, p_abs: *const ImVec2) -> ImGuiID

Source

pub unsafe fn GetIDFromRectangle(&mut self, r_abs: *const ImRect) -> ImGuiID

Source

pub unsafe fn new(context: *mut ImGuiContext, name: *const c_char) -> Self

Source

pub unsafe fn destruct(&mut self)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.