This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofAppRunner.cpp File Reference
#include "ofAppRunner.h"
#include "ofBaseApp.h"
#include "ofAppBaseWindow.h"
#include "ofLog.h"
#include "ofMath.h"
#include "ofGraphicsBaseTypes.h"
#include "ofRectangle.h"
#include "ofMainLoop.h"
#include "ofAppGLFWWindow.h"
Function Documentation
◆ ofCloseFreeImage()
void ofCloseFreeImage | ( | ) |
◆ ofCreateWindow()
shared_ptr< ofAppBaseWindow > ofCreateWindow | ( | const ofWindowSettings & | settings | ) |
◆ ofDisableSetupScreen()
void ofDisableSetupScreen | ( | ) |
◆ ofDoesHWOrientation()
bool ofDoesHWOrientation | ( | ) |
◆ ofEnableSetupScreen()
void ofEnableSetupScreen | ( | ) |
◆ ofEvents()
ofCoreEvents & ofEvents | ( | ) |
◆ ofExit()
void ofExit | ( | int | status | ) |
◆ ofExitCallback()
void ofExitCallback | ( | ) |
◆ ofGetAppPtr()
ofBaseApp * ofGetAppPtr | ( | ) |
◆ ofGetClipboardString()
std::string ofGetClipboardString | ( | ) |
◆ ofGetCurrentRenderer()
shared_ptr< ofBaseRenderer > & ofGetCurrentRenderer | ( | ) |
◆ ofGetCurrentWindow()
std::shared_ptr< ofAppBaseWindow > ofGetCurrentWindow | ( | ) |
◆ ofGetHeight()
int ofGetHeight | ( | ) |
◆ ofGetMainLoop()
shared_ptr< ofMainLoop > ofGetMainLoop | ( | ) |
◆ ofGetMainThreadId()
std::thread::id ofGetMainThreadId | ( | ) |
◆ ofGetOrientation()
ofOrientation ofGetOrientation | ( | ) |
◆ ofGetScreenHeight()
int ofGetScreenHeight | ( | ) |
◆ ofGetScreenWidth()
int ofGetScreenWidth | ( | ) |
◆ ofGetWidth()
int ofGetWidth | ( | ) |
◆ ofGetWindowHeight()
int ofGetWindowHeight | ( | ) |
◆ ofGetWindowMode()
int ofGetWindowMode | ( | ) |
◆ ofGetWindowPositionX()
int ofGetWindowPositionX | ( | ) |
◆ ofGetWindowPositionY()
int ofGetWindowPositionY | ( | ) |
◆ ofGetWindowPtr()
ofAppBaseWindow * ofGetWindowPtr | ( | ) |
◆ ofGetWindowRect()
ofRectangle ofGetWindowRect | ( | ) |
◆ ofGetWindowSize()
glm::vec2 ofGetWindowSize | ( | ) |
◆ ofGetWindowWidth()
int ofGetWindowWidth | ( | ) |
◆ ofHideCursor()
void ofHideCursor | ( | ) |
◆ ofInit()
void ofInit | ( | ) |
◆ ofIsCurrentThreadTheMainThread()
bool ofIsCurrentThreadTheMainThread | ( | ) |
◆ ofRandomHeight()
float ofRandomHeight | ( | ) |
Get a random floating point number between 0 and the screen height.
- Returns
- a random number between 0 and the height of the window.
◆ ofRandomWidth()
float ofRandomWidth | ( | ) |
Get a random floating point number between 0 and the screen width.
- Returns
- a random number between 0 and the width of the window.
◆ ofRunApp() [1/3]
void ofRunApp | ( | const shared_ptr< ofAppBaseWindow > & | window, |
shared_ptr< ofBaseApp > && | app | ||
) |
◆ ofRunApp() [2/3]
int ofRunApp | ( | ofBaseApp * | OFSA | ) |
◆ ofRunApp() [3/3]
int ofRunApp | ( | shared_ptr< ofBaseApp > && | app | ) |
◆ ofRunMainLoop()
int ofRunMainLoop | ( | ) |
◆ ofSetClipboardString()
void ofSetClipboardString | ( | const std::string & | str | ) |
◆ ofSetEscapeQuitsApp()
void ofSetEscapeQuitsApp | ( | bool | bQuitOnEsc | ) |
◆ ofSetFullscreen()
void ofSetFullscreen | ( | bool | fullscreen | ) |
◆ ofSetMainLoop()
void ofSetMainLoop | ( | const shared_ptr< ofMainLoop > & | newMainLoop | ) |
◆ ofSetOrientation()
void ofSetOrientation | ( | ofOrientation | orientation, |
bool | vFlip | ||
) |
◆ ofSetupOpenGL() [1/2]
void ofSetupOpenGL | ( | const shared_ptr< ofAppGLFWWindow > & | windowPtr, |
int | w, | ||
int | h, | ||
ofWindowMode | screenMode | ||
) |
◆ ofSetupOpenGL() [2/2]
void ofSetupOpenGL | ( | int | w, |
int | h, | ||
ofWindowMode | screenMode | ||
) |
◆ ofSetVerticalSync()
void ofSetVerticalSync | ( | bool | bSync | ) |
◆ ofSetWindowPosition()
void ofSetWindowPosition | ( | int | x, |
int | y | ||
) |
◆ ofSetWindowShape()
void ofSetWindowShape | ( | int | width, |
int | height | ||
) |
◆ ofSetWindowTitle()
void ofSetWindowTitle | ( | std::string | title | ) |
◆ ofShowCursor()
void ofShowCursor | ( | ) |
◆ ofSoundShutdown()
void ofSoundShutdown | ( | ) |
◆ ofToggleFullscreen()
void ofToggleFullscreen | ( | ) |
◆ ofTrueTypeShutdown()
void ofTrueTypeShutdown | ( | ) |
◆ ofURLFileLoaderShutdown()
void ofURLFileLoaderShutdown | ( | ) |