Window.this

Constructs a new wrapped SDL_Window struct.

class Window
this
(
string title = ""
,
int x = SDL_WINDOWPOS_UNDEFINED
,
int y = SDL_WINDOWPOS_UNDEFINED
,
int w = 0
,
int h = 0
,
SDL_WindowFlags flags = cast(SDL_WindowFlags)0
)

Parameters

title string

The title of the window, default ""

x int

The initial x position of the window on the screen, from the left

y int

The initial y position of the window on the screen, from the top

w int

The initial width of the window

h int

The initial height of the window

flags SDL_WindowFlags

A number of window flags to initialise the window with

Meta