SDLGameWindow

Undocumented in source.

Constructors

this
this(string name, Rectangle bounds, bool focus)
Undocumented in source.
this
this(Rectangle bounds, bool focus)
Undocumented in source.
this
this(bool focus)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

Close
void Close()

Closes the window.

CreateContext
GraphicsContext CreateContext(GraphicsBackend backend)
Undocumented in source. Be warned that the author may not have intended to support it.
DestroyContext
void DestroyContext()
Undocumented in source. Be warned that the author may not have intended to support it.
Focus
void Focus()

Puts the window in focus (ONLY WORKS ON SOME PLATFORMS!)

SetIcon
void SetIcon()

TODO Sets the icon for the window.

Show
void Show()

Shows the window.

SwapBuffers
void SwapBuffers()
Undocumented in source. Be warned that the author may not have intended to support it.
UpdateState
void UpdateState()

Triggers an window info update.

Properties

AllowResizing
bool AllowResizing [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
AllowResizing
bool AllowResizing [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Borderless
bool Borderless [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Borderless
bool Borderless [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Brightness
float Brightness [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Brightness
float Brightness [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Fullscreen
bool Fullscreen [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Fullscreen
bool Fullscreen [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Position
Vector2 Position [@property getter]

Returns the position of the window.

Position
Vector2 Position [@property setter]

Allows you to set the position of the window.

Title
string Title [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Title
string Title [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
VSync
VSyncState VSync [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
VSync
VSyncState VSync [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Visible
bool Visible [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Window

SurfaceName
string SurfaceName;
Undocumented in source.
ActiveBackend
GraphicsBackend ActiveBackend;
Undocumented in source.
ActiveContext
GraphicsContext ActiveContext;
Undocumented in source.
updateBounds
void updateBounds(Rectangle rect)
Undocumented in source. Be warned that the author may not have intended to support it.
replaceOn
void replaceOn(Game game)
Undocumented in source. Be warned that the author may not have intended to support it.
ClientBounds
WindowBounds ClientBounds;
Undocumented in source.
AutoFocus
bool AutoFocus;
Undocumented in source.
~this
~this()
Undocumented in source.
AllowResizing
bool AllowResizing [@property getter]
Undocumented in source.
AllowResizing
bool AllowResizing [@property setter]
Undocumented in source.
VSync
VSyncState VSync [@property getter]
Undocumented in source.
VSync
VSyncState VSync [@property setter]
Undocumented in source.
Borderless
bool Borderless [@property getter]
Undocumented in source.
Borderless
bool Borderless [@property setter]
Undocumented in source.
Fullscreen
bool Fullscreen [@property getter]
Undocumented in source.
Fullscreen
bool Fullscreen [@property setter]
Undocumented in source.
Visible
bool Visible [@property getter]
Undocumented in source.
Title
string Title [@property getter]
Undocumented in source.
Title
string Title [@property setter]
Undocumented in source.
Close
void Close()
Undocumented in source.
Show
void Show()
Undocumented in source.
UpdateState
void UpdateState()
Undocumented in source.
SwapBuffers
void SwapBuffers()
Undocumented in source.
Focus
void Focus()
Undocumented in source.
SetIcon
void SetIcon()
Undocumented in source.
CreateContext
GraphicsContext CreateContext(GraphicsBackend backend)
Undocumented in source.
DestroyContext
void DestroyContext()
Undocumented in source.

Meta