reference

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

#include <ofAppGLFWWindow.h>

Inheritance diagram for ofAppGLFWWindow:
ofAppBaseGLWindow ofAppBaseWindow

Public Member Functions

 ofAppGLFWWindow ()
 
 ~ofAppGLFWWindow ()
 
 ofAppGLFWWindow (ofAppGLFWWindow &w)=delete
 
ofAppGLFWWindowoperator= (ofAppGLFWWindow &w)=delete
 
void setup (const ofGLWindowSettings &settings)
 
void setup (const ofGLFWWindowSettings &settings)
 
void update ()
 
void draw ()
 
bool getWindowShouldClose ()
 
void setWindowShouldClose ()
 
void hideCursor ()
 
void showCursor ()
 
int getHeight ()
 
int getWidth ()
 
ofCoreEventsevents ()
 
std::shared_ptr< ofBaseRenderer > & renderer ()
 
GLFWwindow * getGLFWWindow ()
 
void * getWindowContext ()
 
ofGLFWWindowSettings getSettings ()
 
glm::vec2 getWindowSize ()
 
glm::vec2 getScreenSize ()
 
glm::vec2 getWindowPosition ()
 
void setWindowTitle (std::string title)
 
void setWindowPosition (int x, int y)
 
void setWindowShape (int w, int h)
 
void setOrientation (ofOrientation orientation)
 
ofOrientation getOrientation ()
 
ofWindowMode getWindowMode ()
 
void setFullscreen (bool fullscreen)
 
void toggleFullscreen ()
 
void enableSetupScreen ()
 
void disableSetupScreen ()
 
void setVerticalSync (bool bSync)
 
void setClipboardString (const std::string &text)
 
std::string getClipboardString ()
 
int getPixelScreenCoordScale ()
 
void makeCurrent ()
 
void swapBuffers ()
 
void startRender ()
 
void finishRender ()
 
bool isWindowIconified ()
 
bool isWindowActive ()
 
bool isWindowResizeable ()
 
void iconify (bool bIconify)
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setNumSamples(int samples))
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setDoubleBuffering(bool doubleBuff))
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setColorBits(int r, int g, int b))
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setAlphaBits(int a))
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setDepthBits(int depth))
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setStencilBits(int stencil))
 
 OF_DEPRECATED_MSG ("use ofGLFWWindowSettings to create the window instead", void setMultiDisplayFullscreen(bool bMultiFullscreen))
 
virtual void setup (const ofWindowSettings &settings)=0
 
- Public Member Functions inherited from ofAppBaseGLWindow
virtual ~ofAppBaseGLWindow ()
 
- Public Member Functions inherited from ofAppBaseWindow
 ofAppBaseWindow ()
 
virtual ~ofAppBaseWindow ()
 
virtual bool doesHWOrientation ()
 

Static Public Member Functions

static void loop ()
 
static bool doesLoop ()
 
static bool allowsMultiWindow ()
 
static bool needsPolling ()
 
static void pollEvents ()
 
static void listVideoModes ()
 
static void listMonitors ()
 

Constructor & Destructor Documentation

◆ ofAppGLFWWindow() [1/2]

ofAppGLFWWindow::ofAppGLFWWindow ( )

◆ ~ofAppGLFWWindow()

ofAppGLFWWindow::~ofAppGLFWWindow ( )

◆ ofAppGLFWWindow() [2/2]

ofAppGLFWWindow::ofAppGLFWWindow ( ofAppGLFWWindow w)
delete

Member Function Documentation

◆ allowsMultiWindow()

static bool ofAppGLFWWindow::allowsMultiWindow ( )
inlinestatic

◆ disableSetupScreen()

void ofAppGLFWWindow::disableSetupScreen ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ doesLoop()

static bool ofAppGLFWWindow::doesLoop ( )
inlinestatic

◆ draw()

void ofAppGLFWWindow::draw ( )
virtual

Implements ofAppBaseWindow.

◆ enableSetupScreen()

void ofAppGLFWWindow::enableSetupScreen ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ events()

ofCoreEvents & ofAppGLFWWindow::events ( )
virtual

Implements ofAppBaseWindow.

◆ finishRender()

void ofAppGLFWWindow::finishRender ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getClipboardString()

std::string ofAppGLFWWindow::getClipboardString ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getGLFWWindow()

GLFWwindow * ofAppGLFWWindow::getGLFWWindow ( )

◆ getHeight()

int ofAppGLFWWindow::getHeight ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getOrientation()

ofOrientation ofAppGLFWWindow::getOrientation ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getPixelScreenCoordScale()

int ofAppGLFWWindow::getPixelScreenCoordScale ( )

◆ getScreenSize()

glm::vec2 ofAppGLFWWindow::getScreenSize ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getSettings()

ofGLFWWindowSettings ofAppGLFWWindow::getSettings ( )
inline

◆ getWidth()

int ofAppGLFWWindow::getWidth ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowContext()

void * ofAppGLFWWindow::getWindowContext ( )
inlinevirtual

Reimplemented from ofAppBaseWindow.

◆ getWindowMode()

ofWindowMode ofAppGLFWWindow::getWindowMode ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowPosition()

glm::vec2 ofAppGLFWWindow::getWindowPosition ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowShouldClose()

bool ofAppGLFWWindow::getWindowShouldClose ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowSize()

glm::vec2 ofAppGLFWWindow::getWindowSize ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ hideCursor()

void ofAppGLFWWindow::hideCursor ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ iconify()

void ofAppGLFWWindow::iconify ( bool  bIconify)

◆ isWindowActive()

bool ofAppGLFWWindow::isWindowActive ( )

◆ isWindowIconified()

bool ofAppGLFWWindow::isWindowIconified ( )

◆ isWindowResizeable()

bool ofAppGLFWWindow::isWindowResizeable ( )

◆ listMonitors()

void ofAppGLFWWindow::listMonitors ( )
static

◆ listVideoModes()

void ofAppGLFWWindow::listVideoModes ( )
static

◆ loop()

static void ofAppGLFWWindow::loop ( )
inlinestatic

◆ makeCurrent()

void ofAppGLFWWindow::makeCurrent ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ needsPolling()

static bool ofAppGLFWWindow::needsPolling ( )
inlinestatic

◆ OF_DEPRECATED_MSG() [1/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setAlphaBitsint a 
)

◆ OF_DEPRECATED_MSG() [2/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setColorBitsint r, int g, int b 
)

◆ OF_DEPRECATED_MSG() [3/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setDepthBitsint depth 
)

◆ OF_DEPRECATED_MSG() [4/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setDoubleBufferingbool doubleBuff 
)

◆ OF_DEPRECATED_MSG() [5/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setMultiDisplayFullscreenbool bMultiFullscreen 
)

◆ OF_DEPRECATED_MSG() [6/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setNumSamplesint samples 
)

◆ OF_DEPRECATED_MSG() [7/7]

ofAppGLFWWindow::OF_DEPRECATED_MSG ( "use ofGLFWWindowSettings to create the window instead"  ,
void   setStencilBitsint stencil 
)

◆ operator=()

ofAppGLFWWindow & ofAppGLFWWindow::operator= ( ofAppGLFWWindow w)
delete

◆ pollEvents()

void ofAppGLFWWindow::pollEvents ( )
static

◆ renderer()

shared_ptr< ofBaseRenderer > & ofAppGLFWWindow::renderer ( )
virtual

Implements ofAppBaseWindow.

◆ setClipboardString()

void ofAppGLFWWindow::setClipboardString ( const std::string &  text)
virtual

Reimplemented from ofAppBaseWindow.

◆ setFullscreen()

void ofAppGLFWWindow::setFullscreen ( bool  fullscreen)
virtual

Reimplemented from ofAppBaseWindow.

◆ setOrientation()

void ofAppGLFWWindow::setOrientation ( ofOrientation  orientation)
virtual

Reimplemented from ofAppBaseWindow.

◆ setup() [1/3]

void ofAppGLFWWindow::setup ( const ofGLFWWindowSettings settings)

◆ setup() [2/3]

void ofAppGLFWWindow::setup ( const ofGLWindowSettings settings)
virtual

Implements ofAppBaseGLWindow.

◆ setup() [3/3]

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

Reimplemented from ofAppBaseGLWindow.

◆ setVerticalSync()

void ofAppGLFWWindow::setVerticalSync ( bool  bSync)
virtual

Reimplemented from ofAppBaseWindow.

◆ setWindowPosition()

void ofAppGLFWWindow::setWindowPosition ( int  x,
int  y 
)
virtual

Reimplemented from ofAppBaseWindow.

◆ setWindowShape()

void ofAppGLFWWindow::setWindowShape ( int  w,
int  h 
)
virtual

Reimplemented from ofAppBaseWindow.

◆ setWindowShouldClose()

void ofAppGLFWWindow::setWindowShouldClose ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ setWindowTitle()

void ofAppGLFWWindow::setWindowTitle ( std::string  title)
virtual

Reimplemented from ofAppBaseWindow.

◆ showCursor()

void ofAppGLFWWindow::showCursor ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ startRender()

void ofAppGLFWWindow::startRender ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ swapBuffers()

void ofAppGLFWWindow::swapBuffers ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ toggleFullscreen()

void ofAppGLFWWindow::toggleFullscreen ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ update()

void ofAppGLFWWindow::update ( )
virtual

Implements ofAppBaseWindow.


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