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 <ofAppGlutWindow.h>

Inheritance diagram for ofAppGlutWindow:
ofAppBaseGLWindow ofAppBaseWindow

Public Member Functions

 ofAppGlutWindow ()
 
 ~ofAppGlutWindow ()
 
void setup (const ofGLWindowSettings &settings)
 
void update ()
 
void draw ()
 
void close ()
 
void setDoubleBuffering (bool _bDoubleBuffered)
 
void setGlutDisplayString (std::string str)
 
void hideCursor ()
 
void showCursor ()
 
void setFullscreen (bool fullScreen)
 
void toggleFullscreen ()
 
void setWindowTitle (std::string title)
 
void setWindowPosition (int x, int y)
 
void setWindowShape (int w, int h)
 
glm::vec2 getWindowPosition ()
 
glm::vec2 getWindowSize ()
 
glm::vec2 getScreenSize ()
 
void setOrientation (ofOrientation orientation)
 
ofOrientation getOrientation ()
 
int getWidth ()
 
int getHeight ()
 
ofWindowMode getWindowMode ()
 
void enableSetupScreen ()
 
void disableSetupScreen ()
 
void setVerticalSync (bool enabled)
 
void swapBuffers ()
 
void startRender ()
 
void finishRender ()
 
ofCoreEventsevents ()
 
std::shared_ptr< ofBaseRenderer > & renderer ()
 
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 getWindowShouldClose ()
 
virtual void setWindowShouldClose ()
 
virtual bool doesHWOrientation ()
 
virtual void setClipboardString (const std::string &text)
 
virtual std::string getClipboardString ()
 
virtual void makeCurrent ()
 
virtual void * getWindowContext ()
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ ofAppGlutWindow()

ofAppGlutWindow::ofAppGlutWindow ( )

◆ ~ofAppGlutWindow()

ofAppGlutWindow::~ofAppGlutWindow ( )
inline

Member Function Documentation

◆ allowsMultiWindow()

static bool ofAppGlutWindow::allowsMultiWindow ( )
inlinestatic

◆ close()

void ofAppGlutWindow::close ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ disableSetupScreen()

void ofAppGlutWindow::disableSetupScreen ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ doesLoop()

static bool ofAppGlutWindow::doesLoop ( )
inlinestatic

◆ draw()

void ofAppGlutWindow::draw ( )
virtual

Implements ofAppBaseWindow.

◆ enableSetupScreen()

void ofAppGlutWindow::enableSetupScreen ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ events()

ofCoreEvents & ofAppGlutWindow::events ( )
virtual

Implements ofAppBaseWindow.

◆ finishRender()

void ofAppGlutWindow::finishRender ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getHeight()

int ofAppGlutWindow::getHeight ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getOrientation()

ofOrientation ofAppGlutWindow::getOrientation ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getScreenSize()

glm::vec2 ofAppGlutWindow::getScreenSize ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWidth()

int ofAppGlutWindow::getWidth ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowMode()

ofWindowMode ofAppGlutWindow::getWindowMode ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowPosition()

glm::vec2 ofAppGlutWindow::getWindowPosition ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ getWindowSize()

glm::vec2 ofAppGlutWindow::getWindowSize ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ hideCursor()

void ofAppGlutWindow::hideCursor ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ loop()

void ofAppGlutWindow::loop ( )
static

◆ needsPolling()

static bool ofAppGlutWindow::needsPolling ( )
inlinestatic

◆ pollEvents()

static void ofAppGlutWindow::pollEvents ( )
inlinestatic

◆ renderer()

std::shared_ptr< ofBaseRenderer > & ofAppGlutWindow::renderer ( )
virtual

Implements ofAppBaseWindow.

◆ setDoubleBuffering()

void ofAppGlutWindow::setDoubleBuffering ( bool  _bDoubleBuffered)

◆ setFullscreen()

void ofAppGlutWindow::setFullscreen ( bool  fullScreen)
virtual

Reimplemented from ofAppBaseWindow.

◆ setGlutDisplayString()

void ofAppGlutWindow::setGlutDisplayString ( std::string  str)

◆ setOrientation()

void ofAppGlutWindow::setOrientation ( ofOrientation  orientation)
virtual

Reimplemented from ofAppBaseWindow.

◆ setup() [1/2]

void ofAppGlutWindow::setup ( const ofGLWindowSettings settings)
virtual

Implements ofAppBaseGLWindow.

◆ setup() [2/2]

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

Reimplemented from ofAppBaseGLWindow.

◆ setVerticalSync()

void ofAppGlutWindow::setVerticalSync ( bool  enabled)
virtual

Reimplemented from ofAppBaseWindow.

◆ setWindowPosition()

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

Reimplemented from ofAppBaseWindow.

◆ setWindowShape()

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

Reimplemented from ofAppBaseWindow.

◆ setWindowTitle()

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

Reimplemented from ofAppBaseWindow.

◆ showCursor()

void ofAppGlutWindow::showCursor ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ startRender()

void ofAppGlutWindow::startRender ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ swapBuffers()

void ofAppGlutWindow::swapBuffers ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ toggleFullscreen()

void ofAppGlutWindow::toggleFullscreen ( )
virtual

Reimplemented from ofAppBaseWindow.

◆ update()

void ofAppGlutWindow::update ( )
virtual

Implements ofAppBaseWindow.


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