ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/EmulatorView.h
(Generate patch)

Comparing BasiliskII/src/MacOSX/EmulatorView.h (file contents):
Revision 1.3 by nigel, 2002-06-05T10:18:51Z vs.
Revision 1.6 by nigel, 2003-03-21T06:41:04Z

# Line 3 | Line 3
3   *
4   *      $Id$
5   *
6 < *  Basilisk II (C) 1997-2002 Christian Bauer
6 > *  Basilisk II (C) 1997-2003 Christian Bauer
7   *
8   *  This program is free software; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by
# Line 30 | Line 30
30   @interface EmulatorView : NSView
31   {
32   #ifdef CGIMAGEREF
33 <        CGImageRef                      bitmap;
33 >        CGImageRef                      cgImgRep;
34   #endif
35   #ifdef NSBITMAP
36          NSBitmapImageRep        *bitmap;
37 + #else
38 +        void                            *bitmap;
39   #endif
38
40   #ifdef CGDRAWBITMAP
40        void                            *bitmap;
41          short                           bps, spp, bpp;
42          int                                     bytesPerRow;
43          BOOL                            isPlanar, hasAlpha;
44   #endif
45 +        float                           numBytes;
46 +
47          short                           x, y;
48  
49          BOOL                            drawView,       // Set when the bitmap is all set up
# Line 49 | Line 51
51                                                  fullScreen;     // Is this Emulator using the whole screen?
52  
53          NSRect                          displayBox;     // Cached dimensions of the screen
54 <        int                                     screen_height;
54 >
55 >        int                                     screen_height; // Height of the screen with the key window
56   }
57  
58   - (void) benchmark;
# Line 63 | Line 66
66   #endif
67   #ifdef CGIMAGEREF
68   - (void) readyToDraw: (CGImageRef) image
69 +                          bitmap: (void *) theBitmap
70                    imageWidth: (short) width
71                   imageHeight: (short) height;
72   #endif
# Line 87 | Line 91
91   - (BOOL) isFullScreen;
92   - (BOOL) mouseInView: (NSEvent *) event;
93   - (BOOL) mouseInView;
94 + - (void) fullscreenMouseMove;
95   - (BOOL) processMouseMove: (NSEvent *) event;
96  
97   #ifdef CGDRAWBITMAP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines