mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
21 lines
413 B
Objective-C
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
|