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 |
49 |
|
// and ready to display |
50 |
< |
fullScreen; // Is this Emulator running in a full screen? |
50 |
> |
fullScreen; // Is this Emulator using the whole screen? |
51 |
> |
|
52 |
> |
NSRect displayBox; // Cached dimensions of the screen |
53 |
> |
int screen_height; |
54 |
|
} |
55 |
|
|
56 |
|
- (void) benchmark; |
80 |
|
#endif |
81 |
|
|
82 |
|
- (void) disableDrawing; |
83 |
< |
- (void) startedFullScreen; |
83 |
> |
- (void) startedFullScreen: (CGDirectDisplayID) theDisplay; |
84 |
|
|
85 |
|
- (short) width; |
86 |
|
- (short) height; |