Cinder  0.9.1
Instance Methods | Class Methods | Public Attributes | List of all members
WindowImplBasicCocoa Class Reference

#import <AppImplMac.h>

Inherits NSObject, <NSWindowDelegate>, <CinderViewDelegate>, and <WindowImplCocoa>.

Instance Methods

(void) - dealloc
 
(BOOL- isFullScreen
 
(void) - setFullScreen:options:
 
(cinder::ivec2) - getSize
 
(void) - setSize:
 
(cinder::ivec2) - getPos
 
(float) - getContentScale
 
(void) - setPos:
 
(void) - close
 
(NSString *) - getTitle
 
(void) - setTitle:
 
(BOOL- isBorderless
 
(void) - setBorderless:
 
(bool) - isAlwaysOnTop
 
(void) - setAlwaysOnTop:
 
(void) - hide
 
(void) - show
 
(BOOL- isHidden
 
(cinder::DisplayRef- getDisplay
 
(cinder::app::RendererRef- getRenderer
 
(void *) - getNative
 
(void) - windowMovedNotification:
 
(void) - windowWillCloseNotification:
 
(void) - resize
 
(void) - draw
 
(void) - mouseDown:
 
(void) - mouseDrag:
 
(void) - mouseUp:
 
(void) - mouseMove:
 
(void) - mouseWheel:
 
(void) - keyDown:
 
(void) - keyUp:
 
(void) - touchesBegan:
 
(void) - touchesMoved:
 
(void) - touchesEnded:
 
(const std::vector< cinder::app::TouchEvent::Touch > &) - getActiveTouches
 
(void) - fileDrop:
 
(cinder::app::WindowRef- getWindowRef
 

Class Methods

(WindowImplBasicCocoa *) + instantiate:withAppImpl:
 

Public Attributes

AppImplMacmAppImpl
 
NSWindow * mWin
 
NSString * mTitle
 
CinderViewMacmCinderView
 
cinder::app::WindowRef mWindowRef
 
cinder::DisplayRef mDisplay
 
cinder::ivec2 mSize
 
cinder::ivec2 mPos
 
BOOL mResizable
 
BOOL mBorderless
 
BOOL mAlwaysOnTop
 
BOOL mHidden
 

Method Documentation

- (void) dealloc
- (BOOL) isFullScreen
- (void) setFullScreen: (BOOL fullScreen
options: (const cinder::app::FullScreenOptions *)  options 
- (ivec2) WindowImplBasicCocoa:
- (void) setSize: (cinder::ivec2)  size
- (ivec2) WindowImplBasicCocoa:
- (float) getContentScale
- (void) setPos: (cinder::ivec2)  pos
- (void) close
- (NSString *) getTitle
- (void) setTitle: (NSString *)  title
- (BOOL) isBorderless
- (void) setBorderless: (BOOL borderless
- (bool) isAlwaysOnTop
- (void) setAlwaysOnTop: (bool)  alwaysOnTop
- (void) hide
- (void) show
- (BOOL) isHidden
- (DisplayRef) WindowImplBasicCocoa:
- (RendererRef) getRenderer
- (void *) getNative
- (void) windowMovedNotification: (NSNotification *)  notification
- (void) windowWillCloseNotification: (NSNotification *)  notification
- (void) resize

Reimplemented from <CinderViewDelegate>.

- (void) draw

Reimplemented from <CinderViewDelegate>.

- (void) mouseDown: (cinder::app::MouseEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) mouseDrag: (cinder::app::MouseEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) mouseUp: (cinder::app::MouseEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) mouseMove: (cinder::app::MouseEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) mouseWheel: (cinder::app::MouseEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) keyDown: (cinder::app::KeyEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) keyUp: (cinder::app::KeyEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) touchesBegan: (cinder::app::TouchEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) touchesMoved: (cinder::app::TouchEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (void) touchesEnded: (cinder::app::TouchEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (const vector<) TouchEvent:
- (void) fileDrop: (cinder::app::FileDropEvent *)  event

Reimplemented from <CinderViewDelegate>.

- (WindowRef) WindowImplBasicCocoa:

Reimplemented from <CinderViewDelegate>.

+ (WindowImplBasicCocoa *) instantiate: (cinder::app::Window::Format winFormat
withAppImpl: (AppImplMac *)  appImpl 

Member Data Documentation

- (AppImplMac*) mAppImpl
- (NSWindow*) mWin
- (NSString*) mTitle
- (CinderViewMac*) mCinderView
- app:
- (DisplayRef) WindowImplBasicCocoa:
- (ivec2) WindowImplBasicCocoa:
- (ivec2) WindowImplBasicCocoa:
- (BOOL) mResizable
- (BOOL) mBorderless
- (BOOL) mAlwaysOnTop
- (BOOL) mHidden

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