mirror of
https://github.com/libretro/sameduck.git
synced 2024-11-30 12:40:45 +00:00
18 lines
492 B
Objective-C
18 lines
492 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;
|
|
- (void)screenSizeChanged;
|
|
@end
|