ofDocsdocumentation application ofAppBaseWindow

ofAppBaseWindow

Base class for all windowing classes. In OF we're extending this to create a different version of the default window in oF, like the ofAppEGLWindow or the ofAppGLFWWindow instances. For those interested in the under-the-hood details, you can always get a reference to the base graphics context from the ofAppBaseWindow, like getEGLContext() for those on Linux or getGLXContext() for those using GLFW. This is where your methods like setFullscreen() are implemented but other than that you're probably not going to be deeply interested in the ofAppBaseWindow since it's extended by every window system that you actually use (i.e. getX11Display() and getWin32Window()).


close( )

void close()

disableSetupScreen( )

void disableSetupScreen()

doesHWOrientation( )

bool doesHWOrientation()

draw( )

void draw()

enableSetupScreen( )

void enableSetupScreen()

events( )

ofCoreEvents & events()

finishRender( )

void finishRender()

getClipboardString( )

string getClipboardString()

getGLXContext( )

GLXContext getGLXContext()

getHeight( )

int getHeight()

getOrientation( )

ofOrientation getOrientation()

getScreenSize( )

glm::vec2 getScreenSize()

getWidth( )

int getWidth()

getWindowContext( )

void * getWindowContext()

getWindowMode( )

ofWindowMode getWindowMode()

getWindowPosition( )

glm::vec2 getWindowPosition()

getWindowShouldClose( )

bool getWindowShouldClose()

getWindowSize( )

glm::vec2 getWindowSize()

getX11Display( )

Display * getX11Display()

getX11Window( )

Window getX11Window()

hideCursor( )

void hideCursor()

makeCurrent( )

void makeCurrent()

ofAppBaseWindow( )

ofAppBaseWindow()

setClipboardString( ... )

void setClipboardString(const string &text)

setFullscreen( ... )

void setFullscreen(bool fullscreen)

setOrientation( ... )

void setOrientation(ofOrientation orientation)

setVerticalSync( ... )

void setVerticalSync(bool enabled)

setWindowPosition( ... )

void setWindowPosition(int x, int y)

setWindowShape( ... )

void setWindowShape(int w, int h)

setWindowShouldClose( )

void setWindowShouldClose()

setWindowTitle( ... )

void setWindowTitle(string title)

setup( ... )

void setup(const ofWindowSettings &settings)

showCursor( )

void showCursor()

startRender( )

void startRender()

swapBuffers( )

void swapBuffers()

toggleFullscreen( )

void toggleFullscreen()

update( )

void update()

~ofAppBaseWindow( )

~ofAppBaseWindow()