SameBoy/Cocoa/GBView.h

17 lines
465 B
Objective-C
Raw Normal View History

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