// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { /// /// /// C++: /// imgui.h:1239 ///
enum ImGuiChildFlags_ ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// [Flags] public enum ImGuiChildFlags : int { /// /// /// C++: /// imgui.h:1241 ///
ImGuiChildFlags_None = 0 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// None = 0, /// /// /// Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy /// reason) /// /// /// C++: /// imgui.h:1242 ///
ImGuiChildFlags_Borders = 1 << 0 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// Borders = 1 << 0, /// /// /// Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child /// windows because it makes more sense) /// /// /// C++: /// imgui.h:1243 ///
ImGuiChildFlags_AlwaysUseWindowPadding = 1 << 1 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// AlwaysUseWindowPadding = 1 << 1, /// /// /// Allow resize from right border (layout direction). Enable .ini saving (unless /// ImGuiWindowFlags_NoSavedSettings passed to window flags) /// /// /// C++: /// imgui.h:1244 ///
ImGuiChildFlags_ResizeX = 1 << 2 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// ResizeX = 1 << 2, /// /// /// Allow resize from bottom border (layout direction). " /// /// /// C++: /// imgui.h:1245 ///
ImGuiChildFlags_ResizeY = 1 << 3 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// ResizeY = 1 << 3, /// /// /// Enable auto-resizing width. Read "IMPORTANT: Size measurement" details above. /// /// /// C++: /// imgui.h:1246 ///
ImGuiChildFlags_AutoResizeX = 1 << 4 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// AutoResizeX = 1 << 4, /// /// /// Enable auto-resizing height. Read "IMPORTANT: Size measurement" details above. /// /// /// C++: /// imgui.h:1247 ///
ImGuiChildFlags_AutoResizeY = 1 << 5 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// AutoResizeY = 1 << 5, /// /// /// Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return /// true, always disable clipping optimization! NOT RECOMMENDED. /// /// /// C++: /// imgui.h:1248 ///
ImGuiChildFlags_AlwaysAutoResize = 1 << 6 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// AlwaysAutoResize = 1 << 6, /// /// /// Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding /// instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding. /// /// /// C++: /// imgui.h:1249 ///
ImGuiChildFlags_FrameStyle = 1 << 7 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// FrameStyle = 1 << 7, /// /// /// [BETA] Share focus scope, allow keyboard/gamepad navigation to cross over parent border to this child or /// between sibling child windows. /// /// /// C++: /// imgui.h:1250 ///
ImGuiChildFlags_NavFlattened = 1 << 8 ///
///
/// /// /// Flags for ImGui::BeginChild() /// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'. /// About using AutoResizeX/AutoResizeY flags: /// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints"). /// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing. /// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped. /// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch. /// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view. /// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping. /// /// NavFlattened = 1 << 8, } }