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.33 by greg, Mon Apr 14 16:56:19 2003 UTC vs.
Revision 3.34 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 176 | Line 176 | char  *id;
176                          DisplayWidth(ourdisplay, ourscreen);
177          pheight = (double)DisplayHeightMM(ourdisplay, ourscreen) /
178                          DisplayHeight(ourdisplay, ourscreen);
179 <        copystruct(&odev.v, &stdview);
179 >        odev.v = stdview;
180          odev.v.type = VT_PER;
181                                          /* map the window and get its size */
182          XMapWindow(ourdisplay, gwind);
# Line 258 | Line 258 | VIEW   *nv;
258                          XResizeWindow(ourdisplay, gwind, odev.hres, odev.vres);
259                          dev_input();    /* wait for resize event */
260                  }
261 <                copystruct(&odev.v, nv);
261 >                odev.v = *nv;
262          }
263          qtReplant();
264          return(1);
# Line 546 | Line 546 | int    dx, dy, mov, orb;
546          double  d;
547          register int    li;
548                                  /* start with old view */
549 <        copystruct(&nv, &odev.v);
549 >        nv = odev.v;
550                                  /* change view direction */
551          if (mov | orb) {
552                  if ((li = qtFindLeaf(dx, dy)) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines