32 #ifndef EGL_Window_INCLUDE_ONCE 33 #define EGL_Window_INCLUDE_ONCE 56 static LONG WINAPI WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
67 void quitApplication();
68 void setMouseVisible(
bool visible);
69 void setPosition(
int x,
int y);
70 void setSize(
int w,
int h);
71 void setWindowSize(
int w,
int h);
79 void setMousePosition(
int x,
int y);
86 void destroyEGLGLWindow();
88 HWND
hwnd()
const {
return mHWND; }
91 DWORD
style()
const {
return mStyle; }
108 const EGLDisplay&
eglDisplay()
const {
return mEGL_Display; }
109 const EGLContext&
eglContext()
const {
return mEGL_Context; }
110 const EGLSurface&
eglSurface()
const {
return mEGL_Surface; }
128 static const std::map< HWND, EGLWindow* >&
winMap() {
return mWinMap; }
const EGLDisplay & eglDisplay() const
void setStyle(DWORD style)
The dwExStyle parameter passed to the EGL function CreateWindowEx.
VLEGL_EXPORT int messageLoop()
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
void setWindowClassName(const wchar_t *name)
Specifies the value given to the lpClassName parameter passed to CreateWindowEx.
Represents an OpenGL context, possibly a widget or a pbuffer, which can also respond to keyboard...
static const std::map< HWND, EGLWindow *> & winMap()
static std::map< HWND, EGLWindow *> mWinMap
const wchar_t * windowClassName() const
Specifies the value given to the lpClassName parameter passed to CreateWindowEx.
const EGLSurface & eglSurface() const
DWORD style() const
The dwExStyle parameter passed to the EGL function CreateWindowEx.
VLEGL_EXPORT void peekMessage(MSG &msg)
const EGLContext & eglContext() const
The OpenGLContextFormat class encapsulates the settings of an OpenGL rendering context.
VLEGL_EXPORT void translateKeyEvent(WPARAM wParam, LPARAM lParam, unsigned short &unicode_out, vl::EKey &key_out)
The experimental EGL bindings namespace.
void setExStyle(DWORD ex_style)
The dwStyle parameter passed to the EGL function CreateWindowEx.
The EGLWindow class is a EGLContext that can be used as a top or child window.
const wchar_t * mWindowClassName
static const wchar_t * EGLWindowClassName
DWORD exStyle() const
The dwStyle parameter passed to the EGL function CreateWindowEx.
VLEGL_EXPORT void dispatchUpdate()