26 #import <Cocoa/Cocoa.h>
27 #import <ScreenSaver/ScreenSaver.h>
40 std::list<WindowImplCocoaScreenSaver*>
mWindows;
52 - (cinder::app::WindowRef)getWindowIndex:(
size_t)index;
53 - (cinder::app::WindowRef)getWindow;
60 - (cinder::fs::path)getAppPath;
79 - (
void)drawRect:(NSRect)rect;
80 - (
void)instantiateView:(NSRect)rect;
84 - (
void)
setFullScreen:(BOOL)fullScreen options:(const cinder::app::FullScreenOptions *)options;
85 - (cinder::Vec2i)getSize;
87 - (cinder::Vec2i)getPos;
91 - (std::string)getTitle;
92 - (
void)setTitle:(std::
string)title;
94 - (
void)setBorderless:(BOOL)borderless;
96 - (
void)setAlwaysOnTop:(BOOL)alwaysOnTop;
97 - (cinder::DisplayRef)getDisplay;
98 - (cinder::app::RendererRef)getRenderer;
99 - (const std::vector<cinder::app::TouchEvent::Touch>&)getActiveTouches;
106 - (cinder::app::WindowRef)getWindowRef;
WindowImplCocoaScreenSaver * mActiveWindow
Definition: AppImplCocoaScreenSaver.h:41
void hide()
Definition: AppCocoaTouch.mm:1028
void * getNative()
Definition: AppCocoaTouch.mm:1051
cinder::app::AppScreenSaver * mApp
Definition: AppImplCocoaScreenSaver.h:39
BOOL isAlwaysOnTop()
Definition: AppCocoaTouch.mm:1019
void close()
Definition: AppCocoaTouch.mm:1001
BOOL mPreview
Definition: AppImplCocoaScreenSaver.h:72
BOOL mResizeCalled
Definition: AppImplCocoaScreenSaver.h:73
float getContentScale()
Definition: AppCocoaTouch.mm:996
typedef void(APIENTRYP GLEEPFNGLBLENDCOLORPROC)(GLclampf red
Definition: AppImplCocoaScreenSaver.h:37
float mFrameRate
Definition: AppImplCocoaScreenSaver.h:42
BOOL isFullScreen()
Definition: AppCocoaTouch.mm:969
BOOL mHasDrawnSinceLastUpdate
Definition: AppImplCocoaScreenSaver.h:75
std::shared_ptr< Window > WindowRef
Definition: Event.h:49
BOOL mIsMainView
Definition: AppImplCocoaScreenSaver.h:74
BOOL isBorderless()
Definition: AppCocoaTouch.mm:1010
cinder::app::WindowRef mWindowRef
Definition: AppImplCocoaScreenSaver.h:69
BOOL mSetupCalled
Definition: AppImplCocoaScreenSaver.h:44
void setFrameRate(float frameRate)
Sets the maximum frame-rate the active App will attempt to maintain.
Definition: App.h:603
void show()
Definition: AppCocoaTouch.mm:1032
cinder::DisplayRef mDisplay
Definition: AppImplCocoaScreenSaver.h:70
std::shared_ptr< class Display > DisplayRef
Definition: Display.h:53
GLXDrawable draw
Definition: GLee.h:16766
size_t getNumWindows()
Returns the number of Windows the app has open.
Definition: App.h:572
CinderView * mCinderView
Definition: AppImplCocoaScreenSaver.h:68
Definition: AppImplCocoaScreenSaver.h:66
Definition: AppScreenSaver.h:49
Definition: CinderView.h:36
float getFrameRate()
Returns the maximum frame-rate the active App will attempt to maintain.
Definition: App.h:601
Definition: CinderView.h:54
std::list< WindowImplCocoaScreenSaver * > mWindows
Definition: AppImplCocoaScreenSaver.h:40
Vec2< int > Vec2i
Definition: Vector.h:1313
void setFullScreen(bool fullScreen=true)
Sets whether the active App is in full-screen mode based on fullScreen.
Definition: App.h:607