ofDocsdocumentation application ofAppEGLWindow

ofAppEGLWindow

This is one of the windowing systems used with openFrameworks when you build your OF app to run on an iOS device.


allowsMultiWindow( )

bool allowsMultiWindow()

checkEvents( )

void checkEvents()

close( )

void close()

createSurface( )

bool createSurface()

createWindow( ... )

bool createWindow(const ofRectangle &requestedWindowRect)

createX11NativeWindow( ... )

bool createX11NativeWindow(const ofRectangle &requestedWindowRect)

destroyNativeEvents( )

void destroyNativeEvents()

destroyNativeKeyboard( )

void destroyNativeKeyboard()

destroyNativeMouse( )

void destroyNativeMouse()

destroyNativeUDev( )

void destroyNativeUDev()

destroySurface( )

bool destroySurface()

destroyWindow( )

bool destroyWindow()

disableSetupScreen( )

void disableSetupScreen()

doesHWOrientation( )

bool doesHWOrientation()

doesLoop( )

bool doesLoop()

draw( )

void draw()

enableSetupScreen( )

void enableSetupScreen()

events( )

ofCoreEvents & events()

exitNative( )

void exitNative()

finishRender( )

void finishRender()

getEglConfig( )

EGLConfig getEglConfig()

getEglContext( )

EGLContext getEglContext()

getEglDisplay( )

EGLDisplay getEglDisplay()

getEglSurface( )

EGLSurface getEglSurface()

getEglVersionMajor( )

EGLint getEglVersionMajor()

getEglVersionMinor( )

EGLint getEglVersionMinor()

getHeight( )

int getHeight()

getNativeDisplay( )

int getNativeDisplay()

getNativeWindow( )

int getNativeWindow()

getOrientation( )

ofOrientation getOrientation()

getScreenRect( )

ofRectangle getScreenRect()

getScreenSize( )

glm::vec2 getScreenSize()

getWidth( )

int getWidth()

getWindowHeight( )

int getWindowHeight()

getWindowMode( )

ofWindowMode getWindowMode()

getWindowPosition( )

glm::vec2 getWindowPosition()

getWindowSize( )

glm::vec2 getWindowSize()

getWindowWidth( )

int getWindowWidth()

getX11Display( )

Display * getX11Display()

getX11Window( )

Window getX11Window()

handleX11Event( ... )

void handleX11Event(const XEvent &event)

hasKeyboard( )

bool hasKeyboard()

hasMouse( )

bool hasMouse()

hideCursor( )

void hideCursor()

initNative( )

void initNative()

loop( )

void loop()

makeCurrent( )

void makeCurrent()

needsPolling( )

bool needsPolling()

ofAppEGLWindow( )

ofAppEGLWindow()

pollEvents( )

void pollEvents()

readNativeKeyboardEvents( )

void readNativeKeyboardEvents()

readNativeMouseEvents( )

void readNativeMouseEvents()

readNativeUDevEvents( )

void readNativeUDevEvents()

setFullscreen( ... )

void setFullscreen(bool fullscreen)

setOrientation( ... )

void setOrientation(ofOrientation orientation)

setThreadTimeout( ... )

void setThreadTimeout(long timeOut)

setVerticalSync( ... )

void setVerticalSync(bool enabled)

setWindowPosition( ... )

void setWindowPosition(int x, int y)

setWindowRect( ... )

void setWindowRect(const ofRectangle &requestedWindowRect)

setWindowShape( ... )

void setWindowShape(int w, int h)

setWindowTitle( ... )

void setWindowTitle(string title)

setup( ... )

void setup(const ofAppEGLWindowSettings &settings)

setup( ... )

void setup(const ofGLESWindowSettings &settings)

setupNativeEvents( )

void setupNativeEvents()

setupNativeKeyboard( )

void setupNativeKeyboard()

setupNativeMouse( )

void setupNativeMouse()

setupNativeUDev( )

void setupNativeUDev()

setupPeripherals( )

void setupPeripherals()

showCursor( )

void showCursor()

startRender( )

void startRender()

swapBuffers( )

void swapBuffers()

threadedFunction( )

void threadedFunction()

toggleFullscreen( )

void toggleFullscreen()

update( )

void update()

~ofAppEGLWindow( )

~ofAppEGLWindow()

Variables

bool bEnableSetupScreen< This indicates the need/intent to draw a setup screen.
bool bNewScreenMode< This indicates if a (new) window rectangle has to be adjusted.
bool bShowCursor< Indicate the visibility of the (mouse) cursor.
int buttonInUse< Mouse button currently in use.
ofCoreEvents coreEvents
ofRectangle currentWindowRect
EGLConfig eglConfig
EGLContext eglContext
EGLDisplay eglDisplay
string eglDisplayString
EGLSurface eglSurface
EGLint eglVersionMajor
EGLint eglVersionMinor
int glesVersion< Indicate the version of OpenGL for Embedded Systems.
ofAppEGLWindow* instance
bool isSurfaceInited< Indicate that the surface is (properly) initialized.
bool isUsingX11< Indicate the use of the X Window System.
bool isWindowInited< Indicate that the window is (properly) initialized.
ofKeyEventArgs keyEvents
bool keyboardDetected
int mouseAbsXMax
int mouseAbsXMin
int mouseAbsYMax
int mouseAbsYMin
ofImage mouseCursor
bool mouseDetected
ofMouseEventArgs mouseEvents
float mouseScaleX< Amount by which to mouse movements along the X axis.
float mouseScaleY< Amount by which to mouse movements along the Y axis.
int nFramesSinceWindowResized< The number of frames passed/shown since the window got resized.
ofRectangle nonFullscreenWindowRect
ofOrientation orientation
Settings settings
long threadTimeout
int windowMode
Display* x11Display< Indicate which X11 display is in use (currently).
Screen* x11Screen< Indicate which X11 screen is in use (currently).
long x11ScreenNum< The number of the X11 screen is in use (currently).
Window x11Window