SameBoy/Cocoa/GBView.h
2017-12-30 16:23:17 +02:00

14 lines
372 B
Objective-C

#import <Cocoa/Cocoa.h>
#include <Core/gb.h>
#import "GBJoystickListener.h"
#import "GBShader.h"
@interface GBView<GBJoystickListener> : NSOpenGLView
- (void) flip;
- (uint32_t *) pixels;
@property GB_gameboy_t *gb;
@property (nonatomic) BOOL shouldBlendFrameWithPrevious;
@property GBShader *shader;
@property (getter=isMouseHidingEnabled) BOOL mouseHidingEnabled;
@end