30 |
|
@interface EmulatorView : NSView |
31 |
|
{ |
32 |
|
#ifdef CGIMAGEREF |
33 |
< |
CGImageRef bitmap; |
33 |
> |
CGImageRef cgImgRep; |
34 |
|
#endif |
35 |
|
#ifdef NSBITMAP |
36 |
|
NSBitmapImageRep *bitmap; |
37 |
|
#endif |
38 |
– |
|
38 |
|
#ifdef CGDRAWBITMAP |
39 |
|
void *bitmap; |
40 |
|
short bps, spp, bpp; |
41 |
|
int bytesPerRow; |
42 |
|
BOOL isPlanar, hasAlpha; |
43 |
|
#endif |
44 |
+ |
float numBytes; |
45 |
+ |
|
46 |
|
short x, y; |
47 |
|
|
48 |
|
BOOL drawView, // Set when the bitmap is all set up |
50 |
|
fullScreen; // Is this Emulator using the whole screen? |
51 |
|
|
52 |
|
NSRect displayBox; // Cached dimensions of the screen |
53 |
< |
int screen_height; |
53 |
> |
|
54 |
> |
int screen_height; // Height of the screen with the key window |
55 |
|
} |
56 |
|
|
57 |
|
- (void) benchmark; |
89 |
|
- (BOOL) isFullScreen; |
90 |
|
- (BOOL) mouseInView: (NSEvent *) event; |
91 |
|
- (BOOL) mouseInView; |
92 |
+ |
- (void) fullscreenMouseMove; |
93 |
|
- (BOOL) processMouseMove: (NSEvent *) event; |
94 |
|
|
95 |
|
#ifdef CGDRAWBITMAP |