Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Enumerations | Functions | Variables
AppCocoaTouch.h File Reference
#include "cinder/app/App.h"
#include "cinder/cocoa/CinderCocoaTouch.h"
#include "cinder/app/Window.h"
#include "cinder/app/TouchEvent.h"
Include dependency graph for AppCocoaTouch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cinder::app::AppCocoaTouch
 
class  cinder::app::AppCocoaTouch::Settings
 
struct  cinder::app::AppCocoaTouch::KeyboardOptions
 Optional params passed to showKeyboard();. More...
 

Namespaces

 cinder
 
 cinder::app
 

Macros

#define CINDER_APP_COCOA_TOUCH(APP, RENDERER)
 

Enumerations

enum  cinder::app::InterfaceOrientation {
  cinder::app::Unknown = 0, cinder::app::Portrait = 1 << 0, cinder::app::PortraitUpsideDown = 1 << 1, cinder::app::LandscapeLeft = 1 << 2,
  cinder::app::LandscapeRight = 1 << 3, cinder::app::PortraitAll = (Portrait | PortraitUpsideDown), cinder::app::LandscapeAll = (LandscapeLeft | LandscapeRight), cinder::app::All = (PortraitAll | LandscapeAll)
}
 

Functions

std::ostream & cinder::app::operator<< (std::ostream &lhs, const InterfaceOrientation &rhs)
 Stream InterfacefaceOrientation enum to std::ostream. More...
 
float cinder::app::getOrientationDegrees (InterfaceOrientation orientation)
 returns the degrees rotation from Portrait for the provided orientation More...
 

Variables

BitwiseAndEventCombiner< uint32_t > cinder::app::EventSignalSupportedOrientations
 

Macro Definition Documentation

#define CINDER_APP_COCOA_TOUCH (   APP,
  RENDERER 
)
Value:
int main( int argc, char *argv[] ) { \
cinder::app::AppCocoaTouch::prepareLaunch(); \
cinder::app::AppCocoaTouch *app = new APP; \
cinder::app::RendererRef ren( new RENDERER ); \
cinder::app::AppCocoaTouch::executeLaunch( app, ren, #APP, argc, argv );\
cinder::app::AppCocoaTouch::cleanupLaunch(); \
return 0; \
}
std::shared_ptr< class Renderer > RendererRef
Definition: Renderer.h:85