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

Comparing ray/src/hd/rhd_x11.c (file contents):
Revision 3.4 by gregl, Fri Nov 21 13:35:58 1997 UTC vs.
Revision 3.5 by gregl, Fri Nov 21 15:11:43 1997 UTC

# Line 212 | Line 212 | int
212   dev_input()                     /* get X11 input */
213   {
214          inpresflags = 0;
215 +
216          do
217                  getevent();
218  
# Line 474 | Line 475 | register XKeyPressedEvent  *ekey;
475          case 'H':                       /* turn off height motion lock */
476                  headlocked = 0;
477                  return;
478 <        case CTRL('Z'):
478 >        case CTRL('S'):
479          case 'p':                       /* pause computation */
480                  inpresflags |= DEV_WAIT;
481                  return;
482 +        case CTRL('Q'):
483          case '\n':
484 <        case '\r':                      /* release */
484 >        case '\r':                      /* resume computation */
485 >                inpresflags |= DEV_RESUME;
486                  return;
487          case CTRL('R'):                 /* redraw */
488                  if (ncolors > 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines