reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofAppBaseWindow Class Referenceabstract

#include <ofAppBaseWindow.h>

Inheritance diagram for ofAppBaseWindow:
ofAppBaseGLESWindow ofAppBaseGLWindow ofAppNoWindow ofAppEGLWindow ofAppGLFWWindow ofAppGlutWindow

Public Member Functions

 ofAppBaseWindow ()
 
virtual ~ofAppBaseWindow ()
 
virtual void setup (const ofWindowSettings &settings)=0
 
virtual void update ()=0
 
virtual void draw ()=0
 
virtual bool getWindowShouldClose ()
 
virtual void setWindowShouldClose ()
 
virtual void close ()
 
virtual ofCoreEventsevents ()=0
 
virtual std::shared_ptr< ofBaseRenderer > & renderer ()=0
 
virtual void hideCursor ()
 
virtual void showCursor ()
 
virtual void setWindowPosition (int x, int y)
 
virtual void setWindowShape (int w, int h)
 
virtual glm::vec2 getWindowPosition ()
 
virtual glm::vec2 getWindowSize ()
 
virtual glm::vec2 getScreenSize ()
 
virtual void setOrientation (ofOrientation orientation)
 
virtual ofOrientation getOrientation ()
 
virtual bool doesHWOrientation ()
 
virtual int getWidth ()
 
virtual int getHeight ()
 
virtual void setWindowTitle (std::string title)
 
virtual ofWindowMode getWindowMode ()
 
virtual void setFullscreen (bool fullscreen)
 
virtual void toggleFullscreen ()
 
virtual void enableSetupScreen ()
 
virtual void disableSetupScreen ()
 
virtual void setVerticalSync (bool enabled)
 
virtual void setClipboardString (const std::string &text)
 
virtual std::string getClipboardString ()
 
virtual void makeCurrent ()
 
virtual void swapBuffers ()
 
virtual void startRender ()
 
virtual void finishRender ()
 
virtual void * getWindowContext ()
 

Constructor & Destructor Documentation

◆ ofAppBaseWindow()

ofAppBaseWindow::ofAppBaseWindow ( )
inline

◆ ~ofAppBaseWindow()

virtual ofAppBaseWindow::~ofAppBaseWindow ( )
inlinevirtual

Member Function Documentation

◆ close()

virtual void ofAppBaseWindow::close ( )
inlinevirtual

Reimplemented in ofAppEGLWindow, and ofAppGlutWindow.

◆ disableSetupScreen()

virtual void ofAppBaseWindow::disableSetupScreen ( )
inlinevirtual

◆ doesHWOrientation()

virtual bool ofAppBaseWindow::doesHWOrientation ( )
inlinevirtual

Reimplemented in ofAppEGLWindow.

◆ draw()

virtual void ofAppBaseWindow::draw ( )
pure virtual

◆ enableSetupScreen()

virtual void ofAppBaseWindow::enableSetupScreen ( )
inlinevirtual

◆ events()

virtual ofCoreEvents & ofAppBaseWindow::events ( )
pure virtual

◆ finishRender()

virtual void ofAppBaseWindow::finishRender ( )
inlinevirtual

◆ getClipboardString()

virtual std::string ofAppBaseWindow::getClipboardString ( )
inlinevirtual

Reimplemented in ofAppGLFWWindow.

◆ getHeight()

virtual int ofAppBaseWindow::getHeight ( )
inlinevirtual

◆ getOrientation()

virtual ofOrientation ofAppBaseWindow::getOrientation ( )
inlinevirtual

◆ getScreenSize()

virtual glm::vec2 ofAppBaseWindow::getScreenSize ( )
inlinevirtual

◆ getWidth()

virtual int ofAppBaseWindow::getWidth ( )
inlinevirtual

◆ getWindowContext()

virtual void * ofAppBaseWindow::getWindowContext ( )
inlinevirtual

Reimplemented in ofAppGLFWWindow.

◆ getWindowMode()

virtual ofWindowMode ofAppBaseWindow::getWindowMode ( )
inlinevirtual

◆ getWindowPosition()

virtual glm::vec2 ofAppBaseWindow::getWindowPosition ( )
inlinevirtual

◆ getWindowShouldClose()

virtual bool ofAppBaseWindow::getWindowShouldClose ( )
inlinevirtual

Reimplemented in ofAppGLFWWindow.

◆ getWindowSize()

virtual glm::vec2 ofAppBaseWindow::getWindowSize ( )
inlinevirtual

◆ hideCursor()

virtual void ofAppBaseWindow::hideCursor ( )
inlinevirtual

◆ makeCurrent()

virtual void ofAppBaseWindow::makeCurrent ( )
inlinevirtual

Reimplemented in ofAppEGLWindow, and ofAppGLFWWindow.

◆ renderer()

virtual std::shared_ptr< ofBaseRenderer > & ofAppBaseWindow::renderer ( )
pure virtual

◆ setClipboardString()

virtual void ofAppBaseWindow::setClipboardString ( const std::string &  text)
inlinevirtual

Reimplemented in ofAppGLFWWindow.

◆ setFullscreen()

virtual void ofAppBaseWindow::setFullscreen ( bool  fullscreen)
inlinevirtual

◆ setOrientation()

virtual void ofAppBaseWindow::setOrientation ( ofOrientation  orientation)
inlinevirtual

◆ setup()

virtual void ofAppBaseWindow::setup ( const ofWindowSettings settings)
pure virtual

◆ setVerticalSync()

virtual void ofAppBaseWindow::setVerticalSync ( bool  enabled)
inlinevirtual

◆ setWindowPosition()

virtual void ofAppBaseWindow::setWindowPosition ( int  x,
int  y 
)
inlinevirtual

◆ setWindowShape()

virtual void ofAppBaseWindow::setWindowShape ( int  w,
int  h 
)
inlinevirtual

◆ setWindowShouldClose()

virtual void ofAppBaseWindow::setWindowShouldClose ( )
inlinevirtual

Reimplemented in ofAppGLFWWindow.

◆ setWindowTitle()

virtual void ofAppBaseWindow::setWindowTitle ( std::string  title)
inlinevirtual

◆ showCursor()

virtual void ofAppBaseWindow::showCursor ( )
inlinevirtual

◆ startRender()

virtual void ofAppBaseWindow::startRender ( )
inlinevirtual

◆ swapBuffers()

virtual void ofAppBaseWindow::swapBuffers ( )
inlinevirtual

◆ toggleFullscreen()

virtual void ofAppBaseWindow::toggleFullscreen ( )
inlinevirtual

◆ update()

virtual void ofAppBaseWindow::update ( )
pure virtual

The documentation for this class was generated from the following file: