30 #ifndef __X11EGLWindow_H__
31 #define __X11EGLWindow_H__
33 #include "OgreEGLWindow.h"
40 X11EGLSupport* mGLSupport;
45 Window mExternalWindow;
46 virtual EGLContext * createEGLContext()
const;
47 virtual void getLeftAndTopFromNativeWindow(
int & left,
int & top,
uint width,
uint height);
49 virtual void createNativeWindow(
int &left,
int &top,
uint &width,
uint &height,
String &title );
50 virtual void reposition(
int left,
int top);
51 virtual void resize(
unsigned int width,
unsigned int height);
52 virtual void windowMovedOrResized();
53 virtual void switchFullScreen(
bool fullscreen);
57 X11EGLWindow(X11EGLSupport* glsupport);
58 virtual ~X11EGLWindow();
67 virtual void getCustomAttribute(
const String& name,
void* pData);
69 virtual void setFullscreen (
bool fullscreen,
uint width,
uint height);
72 void create(
const String& name,
unsigned int width,
unsigned int height,
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)