gfx.window

Optional window package, mainly to run gfx-d examples

Modules

keys
module gfx.window.keys

Key enumeration module.

wayland
module gfx.window.wayland

wayland window impl

win32
module gfx.window.win32

Win32 Window interface for Gfx-d

xcb
module gfx.window.xcb
Undocumented in source.
xkeyboard
module gfx.window.xkeyboard
Undocumented in source.

Public Imports

gfx.window.keys
public import gfx.window.keys;
Undocumented in source.

Members

Aliases

CloseHandler
alias CloseHandler = bool delegate()
Undocumented in source.
KeyHandler
alias KeyHandler = void delegate(KeyEvent ev)
Undocumented in source.
MouseHandler
alias MouseHandler = void delegate(MouseEvent ev)
Undocumented in source.
ResizeHandler
alias ResizeHandler = void delegate(uint width, uint height)
Undocumented in source.

Enums

LinuxDisplay
enum LinuxDisplay

Identifier of the display to use on linux

Functions

createDisplay
Display createDisplay(DisplayCreateInfo createInfo)

Create a display for the running platform. The display will load a backend instance during startup. It will try the backends in the provided loadOrder. On linux, more than one display implementation are provided. You may use linuxDisplayOrder to choose. The first succesfully created display is returned.

Interfaces

Display
interface Display
Undocumented in source.
Window
interface Window
Undocumented in source.

Manifest constants

gfxWindowLogMask
enum gfxWindowLogMask;
Undocumented in source.

Structs

DisplayCreateInfo
struct DisplayCreateInfo

Options that influence how the display is created, and how it will create a Gfx-D instance.

KeyEvent
struct KeyEvent
Undocumented in source.
MouseEvent
struct MouseEvent
Undocumented in source.

Variables

gfxWindowLog
auto gfxWindowLog;
Undocumented in source.

Meta