17 lines
465 B
Objective-C
17 lines
465 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#include <Core/gb.h>
|
|
#import "GBJoystickListener.h"
|
|
|
|
@interface GBView<GBJoystickListener> : NSView
|
|
- (void) flip;
|
|
- (uint32_t *) pixels;
|
|
@property GB_gameboy_t *gb;
|
|
@property (nonatomic) BOOL shouldBlendFrameWithPrevious;
|
|
@property (getter=isMouseHidingEnabled) BOOL mouseHidingEnabled;
|
|
@property bool isRewinding;
|
|
@property NSView *internalView;
|
|
- (void) createInternalView;
|
|
- (uint32_t *)currentBuffer;
|
|
- (uint32_t *)previousBuffer;
|
|
@end
|