Cinder  0.9.1
Classes | Namespaces | Variables
AppBase.h File Reference
#include "cinder/Cinder.h"
#include "cinder/app/Platform.h"
#include "cinder/app/Renderer.h"
#include "cinder/app/Window.h"
#include "cinder/Vector.h"
#include "cinder/app/MouseEvent.h"
#include "cinder/app/KeyEvent.h"
#include "cinder/app/FileDropEvent.h"
#include "cinder/Display.h"
#include "cinder/DataSource.h"
#include "cinder/Timer.h"
#include "cinder/Signals.h"
#include "cinder/Thread.h"
#include <vector>
#include <algorithm>

Classes

class  cinder::app::AppBase
 
class  cinder::app::AppBase::Settings
 

Namespaces

 cinder
 
 asio
 
 cinder::app
 

Functions

App Free Functions

Convenience methods which mirror App member-functions and apply to the active application

WindowRef cinder::app::getWindow ()
 
size_t cinder::app::getNumWindows ()
 
WindowRef cinder::app::getWindowIndex (size_t index)
 
int cinder::app::getWindowWidth ()
 
void cinder::app::setWindowPos (const ivec2 &windowPos)
 
void cinder::app::setWindowPos (int x, int y)
 
int cinder::app::getWindowHeight ()
 
void cinder::app::setWindowSize (ivec2 size)
 
void cinder::app::setWindowSize (int windowSizeX, int windowSizeY)
 
vec2 cinder::app::getWindowCenter ()
 
ivec2 cinder::app::getWindowSize ()
 
ivec2 cinder::app::getWindowPos ()
 
float cinder::app::getWindowAspectRatio ()
 
Area cinder::app::getWindowBounds ()
 
float cinder::app::getWindowContentScale ()
 
float cinder::app::getFrameRate ()
 
void cinder::app::setFrameRate (float frameRate)
 
bool cinder::app::isFullScreen ()
 
void cinder::app::setFullScreen (bool fullScreen=true)
 
float cinder::app::toPixels (float s)
 
vec2 cinder::app::toPixels (vec2 s)
 
ivec2 cinder::app::toPixels (ivec2 s)
 
Area cinder::app::toPixels (const Area &a)
 
Rectf cinder::app::toPixels (const Rectf &a)
 
float cinder::app::toPoints (float s)
 
vec2 cinder::app::toPoints (vec2 s)
 
ivec2 cinder::app::toPoints (ivec2 s)
 
Area cinder::app::toPoints (const Area &a)
 
Rectf cinder::app::toPoints (const Rectf &a)
 
double cinder::app::getElapsedSeconds ()
 
uint32_t cinder::app::getElapsedFrames ()
 
bool cinder::app::isMainThread ()
 
DataSourceRef cinder::app::loadResource (const fs::path &resourcePath, int mswID, const std::string &mswType)
 
DataSourceRef cinder::app::loadAsset (const fs::path &relativePath)
 
fs::path cinder::app::getAssetPath (const fs::path &relativePath)
 
void cinder::app::addAssetDirectory (const fs::path &dirPath)
 
const std::vector< fs::path > & cinder::app::getAssetDirectories ()
 
fs::path cinder::app::getResourceDirectory ()
 
fs::path cinder::app::getResourcePath (const fs::path &rsrcRelativePath)
 
fs::path cinder::app::getAppPath ()
 
fs::path cinder::app::getOpenFilePath (const fs::path &initialPath=fs::path(), std::vector< std::string > extensions=std::vector< std::string >())
 
fs::path cinder::app::getSaveFilePath (const fs::path &initialPath=fs::path(), std::vector< std::string > extensions=std::vector< std::string >())
 
std::ostream & cinder::app::console ()
 
Timeline & cinder::app::timeline ()
 
Surface cinder::app::copyWindowSurface ()
 
Surface cinder::app::copyWindowSurface (const Area &area)
 
void cinder::app::restoreWindowContext ()
 
inline::CGContextRef cinder::app::createWindowCgContext ()
 

Variables

 cinder::app::__pad0__
 
 cinder::app::__pad1__