DiSDLGLWindow

SDL window with open gl

Constructors

this
this(DiSDLGLContext ctx, DiWidget w)
Undocumented in source.

Members

Enums

Flag
enum Flag
Undocumented in source.

Functions

SDLFlags
uint SDLFlags()
canvas
DiCanvas canvas()
checkFlag
bool checkFlag(Flag flag)
convToInputEvent
DiInputEvent convToInputEvent(SDL_Event ev)
Undocumented in source. Be warned that the author may not have intended to support it.
createWindow
void createWindow(string title, ivec2 sz, bool fullscreen, int display)
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
makeCurrent
void makeCurrent()
Undocumented in source. Be warned that the author may not have intended to support it.
postDraw
void postDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
preDraw
void preDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
void prepare()
Undocumented in source. Be warned that the author may not have intended to support it.
procEvent
void procEvent(SDL_Event ev)
selfDestroy
void selfDestroy()
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.
step
void step()
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.
widget
DiWidget widget()

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

_canvas
DiGLCanvas _canvas;
Undocumented in source.
_size
ivec2 _size;
Undocumented in source.
_widget
DiWidget _widget;
Undocumented in source.
ctx
DiSDLGLContext ctx;
Undocumented in source.
win
SDL_Window* win;
Undocumented in source.

Meta