Search Results for

    Show / Hide Table of Contents

    Struct EditorWindowExtensions.EditorWindowSetup

    Namespace: GDX.Editor
    Syntax
    public struct EditorWindowSetup

    Constructors

    | Improve this Doc View Source

    EditorWindowSetup(Boolean, Boolean, Boolean, Boolean, Int32, Int32, Boolean, Int32, Int32)

    Declaration
    public EditorWindowSetup(bool useExisting = false, bool setFocus = true, bool maximized = false, bool setFixedSize = false, int width = 800, int height = 600, bool setPosition = false, int x = 0, int y = 0)
    Parameters
    Type Name Description
    System.Boolean useExisting
    System.Boolean setFocus
    System.Boolean maximized
    System.Boolean setFixedSize
    System.Int32 width
    System.Int32 height
    System.Boolean setPosition
    System.Int32 x
    System.Int32 y

    Fields

    | Improve this Doc View Source

    Focus

    Should we apply focus to the window?

    Declaration
    public bool Focus
    Field Value
    Type Description
    System.Boolean
    Remarks

    Newly created windows automatically get focus.

    | Improve this Doc View Source

    HasFixedSize

    The size of the window in pixels, this will automatically adjust for OS level scaling

    Declaration
    public bool HasFixedSize
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    HasPosition

    Declaration
    public bool HasPosition
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Height

    The desired height of the window in pixels.

    Declaration
    public int Height
    Field Value
    Type Description
    System.Int32
    Remarks

    This value will automatically be scaled based on display scaling.

    | Improve this Doc View Source

    Maximized

    Should we attempt to maximize the window?

    Declaration
    public bool Maximized
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    UseExisting

    Should an existing version of the window be used instead of creating a new instance?

    Declaration
    public bool UseExisting
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Width

    The desired width of the window in pixels.

    Declaration
    public int Width
    Field Value
    Type Description
    System.Int32
    Remarks

    This value will automatically be scaled based on display scaling.

    | Improve this Doc View Source

    X

    Declaration
    public int X
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Y

    Declaration
    public int Y
    Field Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.