DesWindow

SDL window with open gl

Constructors

this
this(string title, ivec2 sz, bool fullscreen, int display)
Undocumented in source.

Members

Enums

Flag
enum Flag
Undocumented in source.

Functions

SDLFlags
uint SDLFlags()
checkFlag
bool checkFlag(Flag flag)
hide
void hide()
makeCurrent
void makeCurrent()
Undocumented in source. Be warned that the author may not have intended to support it.
newEvProc
auto newEvProc(Args args)

create and register additional event processor

prepare
void prepare()
prepareBaseEventProcessors
void prepareBaseEventProcessors()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareDrawSignal
void prepareDrawSignal()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareSDLWindow
void prepareSDLWindow(string title, ivec2 sz, bool fullscreen, int display)
Undocumented in source. Be warned that the author may not have intended to support it.
procEvent
void procEvent(SDL_Event ev)
registerEvProc
auto registerEvProc(T ep)

register additional event processor Retruns: registered T object

selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
setApp
void setApp(DesApp owner)
Undocumented in source. Be warned that the author may not have intended to support it.
show
void show()
startTextInput
void startTextInput()
Undocumented in source. Be warned that the author may not have intended to support it.
stopTextInput
void stopTextInput()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DES
Undocumented in source.

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

_size
ivec2 _size;
Undocumented in source.
app
DesApp app;
Undocumented in source.
draw
SignalBox!() draw;
event
WindowEventProcessor event;
idle
Signal!() idle;
key
KeyboardEventProcessor key;
mouse
MouseEventProcessor mouse;
processors
SDLEventProcessor[] processors;
Undocumented in source.
win
SDL_Window* win;
Undocumented in source.

Meta