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.8 by cebix, 2004-01-12T15:29:24Z

# Line 3 | Line 3
3   *
4   *      $Id$
5   *
6 < *  Basilisk II (C) 1997-2002 Christian Bauer
6 > *  Basilisk II (C) 1997-2004 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 81 | Line 85
85   - (void) disableDrawing;
86   - (void) startedFullScreen: (CGDirectDisplayID) theDisplay;
87  
88 + - (void) blacken;
89 + - (void) clear;
90 +
91   - (short) width;
92   - (short) height;
93  
94   - (BOOL) isFullScreen;
95   - (BOOL) mouseInView: (NSEvent *) event;
96   - (BOOL) mouseInView;
97 + - (void) fullscreenMouseMove;
98   - (BOOL) processMouseMove: (NSEvent *) event;
99  
100   #ifdef CGDRAWBITMAP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines