Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    GameFormSDL Class

    Namespace: Stride.Games
    Assembly: Stride.Games.dll

    Default Rendering Form on SDL based applications.

    System.Object → Window → GameFormSDL
    Derived from GameFormSDL:

    public class GameFormSDL : Window, IDisposable
    Name Description
    Constructors
    GameFormSDL()

    Initializes a new instance of the class.

    GameFormSDL(String)

    Initializes a new instance of the class.

    Events
    AppActivated

    Occurs when [app activated].

    AppDeactivated

    Occurs when [app deactivated].

    FullscreenToggle

    Occurs when alt-enter key combination has been pressed.

    PauseRendering

    Occurs when [pause rendering].

    ResumeRendering

    Occurs when [resume rendering].

    UserResized

    Occurs when [user resized].

    | Improve this Doc View Source

    Constructors


    GameFormSDL()

    Initializes a new instance of the class.

    public GameFormSDL()

    GameFormSDL(String)

    Initializes a new instance of the class.

    public GameFormSDL(string text)
    Parameters
    Type Name Description
    System.String text

    The text.

    | Improve this Doc View Source

    Events


    AppActivated

    Occurs when [app activated].

    public event EventHandler<EventArgs> AppActivated
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    AppDeactivated

    Occurs when [app deactivated].

    public event EventHandler<EventArgs> AppDeactivated
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    FullscreenToggle

    Occurs when alt-enter key combination has been pressed.

    public event EventHandler<EventArgs> FullscreenToggle
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    PauseRendering

    Occurs when [pause rendering].

    public event EventHandler<EventArgs> PauseRendering
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    ResumeRendering

    Occurs when [resume rendering].

    public event EventHandler<EventArgs> ResumeRendering
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    UserResized

    Occurs when [user resized].

    public event EventHandler<EventArgs> UserResized
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    Inherited Members

    Window.SendToBack()
    Window.BringToFront()
    Window.MousePosition
    Window.RelativeCursorPosition
    Window.TopMost
    Window.MinimizeOnFocusLoss
    Window.Show()
    Window.FullscreenIsBorderlessWindow
    Window.IsFullScreen
    Window.Visible
    Window.WindowState
    Window.Focused
    Window.MaximizeBox
    Window.Size
    Window.ClientSize
    Window.ClientRectangle
    Window.Location
    Window.Text
    Window.FormBorderStyle
    Window.SetRelativeMouseMode(Boolean)
    Window.PointerButtonPressActions
    Window.PointerButtonReleaseActions
    Window.MouseWheelActions
    Window.MouseMoveActions
    Window.KeyDownActions
    Window.KeyUpActions
    Window.TextEditingActions
    Window.TextInputActions
    Window.CloseActions
    Window.JoystickDeviceAdded
    Window.JoystickDeviceRemoved
    Window.FingerMoveActions
    Window.FingerPressActions
    Window.FingerReleaseActions
    Window.ResizeBeginActions
    Window.ResizeEndActions
    Window.ActivateActions
    Window.DeActivateActions
    Window.MinimizedActions
    Window.MaximizedActions
    Window.RestoredActions
    Window.MouseEnterActions
    Window.MouseLeaveActions
    Window.FocusGainedActions
    Window.FocusLostActions
    Window.DropFileActions
    Window.ProcessEvent(SDL.SDL_Event)
    Window.Handle
    Window.SdlHandle
    Window.Exists
    Window.IsDisposed
    Window.Disposed
    Window.Dispose(Boolean)
    Window.Dispose()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation