SameBoy/Cocoa/GBView.h

15 lines
400 B
C
Raw Normal View History

2016-03-30 23:07:55 +03:00
#import <Cocoa/Cocoa.h>
2017-10-13 00:02:02 +03:00
#include <Core/gb.h>
2017-12-30 16:23:17 +02:00
#import "GBJoystickListener.h"
#import "GBShader.h"
2016-03-30 23:07:55 +03:00
2017-12-30 16:23:17 +02:00
@interface GBView<GBJoystickListener> : NSOpenGLView
2016-03-30 23:07:55 +03:00
- (void) flip;
- (uint32_t *) pixels;
@property GB_gameboy_t *gb;
@property (nonatomic) BOOL shouldBlendFrameWithPrevious;
@property GBShader *shader;
2016-07-05 23:34:33 +03:00
@property (getter=isMouseHidingEnabled) BOOL mouseHidingEnabled;
@property bool isRewinding;
2016-03-30 23:07:55 +03:00
@end