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"
|
2016-03-30 23:07:55 +03:00
|
|
|
|
2018-06-11 20:23:51 +03:00
|
|
|
@interface GBView<GBJoystickListener> : NSView
|
2016-03-30 23:07:55 +03:00
|
|
|
- (void) flip;
|
|
|
|
- (uint32_t *) pixels;
|
|
|
|
@property GB_gameboy_t *gb;
|
2016-06-09 00:06:55 +03:00
|
|
|
@property (nonatomic) BOOL shouldBlendFrameWithPrevious;
|
2016-07-05 23:34:33 +03:00
|
|
|
@property (getter=isMouseHidingEnabled) BOOL mouseHidingEnabled;
|
2018-02-10 14:42:14 +02:00
|
|
|
@property bool isRewinding;
|
2018-06-11 20:23:51 +03:00
|
|
|
@property NSView *internalView;
|
|
|
|
- (void) createInternalView;
|
|
|
|
- (uint32_t *)currentBuffer;
|
|
|
|
- (uint32_t *)previousBuffer;
|
2016-03-30 23:07:55 +03:00
|
|
|
@end
|