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

Comparing ray/src/px/x11image.c (file contents):
Revision 2.45 by greg, Tue Apr 15 18:33:31 1997 UTC vs.
Revision 2.46 by greg, Wed Apr 16 20:28:47 1997 UTC

# Line 733 | Line 733 | XKeyPressedEvent  *ekey;
733                  return(0);
734          case 't':                               /* trace */
735                  return(traceray(ekey->x, ekey->y));
736 +        case 'a':                               /* auto exposure */
737 +                if (tmflags == TM_F_CAMERA)
738 +                        return(0);
739 +                tmflags = TM_F_CAMERA;
740 +                strcpy(buf, "auto exposure...");
741 +                goto remap;
742 +        case 'h':                               /* human response */
743 +                if (tmflags == TM_F_HUMAN)
744 +                        return(0);
745 +                tmflags = TM_F_HUMAN;
746 +                strcpy(buf, "human exposure...");
747 +                goto remap;
748          case '=':                               /* adjust exposure */
749          case '@':                               /* adaptation level */
750                  if (avgbox(cval) == -1)
# Line 758 | Line 770 | XKeyPressedEvent  *ekey;
770                  }
771                  scale += n;
772                  sprintf(buf, "%+d", scale);
773 +        remap:
774                  XDrawImageString(thedisplay, wind, ourgc,
775                                  box.xmin, box.ymin+box.ysiz, buf, strlen(buf));
776                  XFlush(thedisplay);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines