ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/msmouse.c
(Generate patch)

Comparing ray/src/rt/msmouse.c (file contents):
Revision 2.3 by greg, Fri Oct 16 13:09:23 1992 UTC vs.
Revision 2.5 by greg, Fri Jul 16 18:41:09 1993 UTC

# Line 8 | Line 8 | static char SCCSid[] = "$SunId$ LBL";
8   #include <graph.h>
9   #include "driver.h"
10  
11 + #define  NULL           0
12 +
13   #define  M_RIGHTBUTT    0x8
14   #define  M_LEFTBUTT     0x2
15   #define  M_MOTION       0x1
# Line 175 | Line 177 | struct driver  *dp;
177  
178      dp->getcur = ms_getcur;
179   }
180 +
181 + void
182 + ms_gcdone( dp )
183 + struct driver  *dp;
184 + {
185 +    union REGS inregs, outregs;
186 +
187 +    if (dp->getcur != ms_getcur)
188 +        return;                 /* not installed */
189 +
190 +    dp->getcur = NULL;
191 +
192 +    /* uninstall watcher */
193 +
194 +    inregs.w.ax = 0;
195 +    int386 (0x33, &inregs, &outregs);
196 + }
197 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines