Sha256: e3e78cffb38638ec8572b0a1b040eb3e9926d12901234fcdb334b5e83374d8df
Contents?: true
Size: 750 Bytes
Versions: 3
Compression:
Stored size: 750 Bytes
Contents
// -*- objc -*- #import <AppKit/NSWindow.h> #include "reflex/window.h" @class OpenGLView; @interface CocoaWindow : NSWindow <NSWindowDelegate> { @private Reflex::Window::Ref* pref; OpenGLView* view; NSTimer* timer; } - (BOOL) bind: (Reflex::Window*) instance; - (void) unbind; - (void) setupContentView; - (void) startTimer: (int) fps; - (void) stopTimer; - (void) update: (NSTimer*) t; - (void) draw; - (void) keyDown: (NSEvent*) event; - (void) keyUp: (NSEvent*) event; - (void) mouseDown: (NSEvent*) event; - (void) mouseUp: (NSEvent*) event; - (void) mouseMoved: (NSEvent*) event; - (void) mouseDragged: (NSEvent*) event; + (NSRect) frameRectForContentRect: (NSRect) contentRect; @end// CocoaWindow
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reflexion-0.1.6 | src/cocoa/cocoawindow.h |
reflexion-0.1.5 | src/cocoa/cocoawindow.h |
reflexion-0.1.4 | src/cocoa/cocoawindow.h |