ebiten/ui/cocoa/ebiten_opengl_view.h
2013-10-13 03:17:51 +09:00

21 lines
413 B
Objective-C

// -*- objc -*-
#ifndef GO_EBITEN_UI_COCOA_EBITEN_OPENGL_VIEW_H_
#define GO_EBITEN_UI_COCOA_EBITEN_OPENGL_VIEW_H_
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
typedef bool updating(void);
@interface EbitenOpenGLView : NSOpenGLView
- (CVReturn)getFrameForTime:(CVTimeStamp const*)outputTime;
- (void)setUpdatingFunc:(updating*)updatingFunc;
- (void)terminate;
- (bool)isTerminated;
@end
#endif