dsfml.window

Provides OpenGL-based windows, and abstractions for events and input handling.

Modules

context
module dsfml.window.context

If you need to make OpenGL calls without having an active window (like in a thread), you can use an instance of this class to get a valid context.

contextsettings
module dsfml.window.contextsettings

$(U ContextSettings) allows to define several advanced settings of the OpenGL context attached to a window.

event
module dsfml.window.event

$(U Event) holds all the informations about a system event that just happened. Events are retrieved using the Window.pollEvent and Window.waitEvent functions.

joystick
module dsfml.window.joystick

$(U Joystick) provides an interface to the state of the joysticks. It only contains static functions, so it's not meant to be instanciated. Instead, each joystick is identified by an index that is passed to the functions of this class.

keyboard
module dsfml.window.keyboard

$(U Keyboard) provides an interface to the state of the keyboard. It only contains static functions (a single keyboard is assumed), so it's not meant to be instanciated.

mouse
module dsfml.window.mouse

$(U Mouse) provides an interface to the state of the mouse. It only contains static functions (a single mouse is assumed), so it's not meant to be instanciated.

sensor
module dsfml.window.sensor

$(U Sensor) provides an interface to the state of the various sensors that a device provides. It only contains static functions, so it's not meant to be instantiated.

touch
module dsfml.window.touch

Touch provides an interface to the state of the touches.

videomode
module dsfml.window.videomode

A video mode is defined by a width and a height (in pixels) and a depth (in bits per pixel). Video modes are used to setup windows ($(WINDOW_LINK)) at creation time.

window
module dsfml.window.window

$(U Window) is the main class of the Window module. It defines an OS window that is able to receive an OpenGL rendering.

windowhandle
module dsfml.window.windowhandle

Define a low-level window handle type, specific to each platform.

Public Imports

dsfml.system
public import dsfml.system;
dsfml.window.context
public import dsfml.window.context;
dsfml.window.contextsettings
public import dsfml.window.contextsettings;
dsfml.window.event
public import dsfml.window.event;
dsfml.window.joystick
public import dsfml.window.joystick;
dsfml.window.keyboard
public import dsfml.window.keyboard;
dsfml.window.mouse
public import dsfml.window.mouse;
dsfml.window.touch
public import dsfml.window.touch;
dsfml.window.sensor
public import dsfml.window.sensor;
dsfml.window.videomode
public import dsfml.window.videomode;
dsfml.window.window
public import dsfml.window.window;
dsfml.window.windowhandle
public import dsfml.window.windowhandle;

Meta