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.2 by nigel, 2002-05-30T12:46:15Z vs.
Revision 1.10 by gbeauche, 2008-01-01T09:40:32Z

# Line 3 | Line 3
3   *
4   *      $Id$
5   *
6 < *  Basilisk II (C) 1997-2002 Christian Bauer
6 > *  Basilisk II (C) 1997-2008 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
50                                                                          // and ready to display
51 <                                                fullScreen;     // Is this Emulator running in a full screen?
51 >                                                fullScreen;     // Is this Emulator using the whole screen?
52 >
53 >        NSRect                          displayBox;     // Cached dimensions of the screen
54 >
55 >        int                                     screen_height; // Height of the screen with the key window
56   }
57  
58   - (void) benchmark;
# Line 60 | 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 76 | Line 83
83   #endif
84  
85   - (void) disableDrawing;
86 < - (void) startedFullScreen;
86 > - (void) startedFullScreen: (CGDirectDisplayID) theDisplay;
87 >
88 > - (void) blacken;
89 > - (void) clear;
90  
91   - (short) width;
92   - (short) height;
# Line 84 | Line 94
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