DesWindow

SDL window with open gl

Members

Functions

SDLFlags
uint SDLFlags()
checkFlag
bool checkFlag(Flag flag)
hide
void hide()
newEvProc
auto newEvProc(Args args)

create and register additional event processor

prepare
void prepare()
procEvent
void procEvent(in SDL_Event ev)
registerEvProc
auto registerEvProc(T ep)

register additional event processor Retruns: registered T object

show
void show()

Properties

brightness
float brightness [@property getter]
brightness
float brightness [@property setter]
displayIndex
int displayIndex [@property getter]
id
uint id [@property getter]
isAllowHighdpi
bool isAllowHighdpi [@property getter]
isBorderless
bool isBorderless [@property getter]
isForeign
bool isForeign [@property getter]
isFullscreen
bool isFullscreen [@property getter]
isFullscreenDesktop
bool isFullscreenDesktop [@property getter]
isHidden
bool isHidden [@property getter]
isInputFocus
bool isInputFocus [@property getter]
isInputGrabbed
bool isInputGrabbed [@property getter]
isMaximized
bool isMaximized [@property getter]
isMinimized
bool isMinimized [@property getter]
isMouseFocus
bool isMouseFocus [@property getter]
isOpenGL
bool isOpenGL [@property getter]
isResizable
bool isResizable [@property getter]
isShown
bool isShown [@property getter]
size
ivec2 size [@property getter]

Variables

draw
SignalBox!() draw;
event
WindowEventProcessor event;
idle
Signal!() idle;
key
KeyboardEventProcessor key;
mouse
MouseEventProcessor mouse;

Meta