/[rdesktop]/sourceforge.net/trunk/rdesktop/orders.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/orders.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 49 by mmihalik, Fri Apr 19 12:06:08 2002 UTC revision 55 by jsorg71, Fri Jul 12 03:45:20 2002 UTC
# Line 476  process_polyline(STREAM s, POLYLINE_ORDE Line 476  process_polyline(STREAM s, POLYLINE_ORDE
476          int x, y, xfrom, yfrom;          int x, y, xfrom, yfrom;
477          uint8 flags = 0;          uint8 flags = 0;
478          PEN pen;          PEN pen;
479            uint8 opcode;
480    
481          if (present & 0x01)          if (present & 0x01)
482                  rdp_in_coord(s, &os->x, delta);                  rdp_in_coord(s, &os->x, delta);
# Line 497  process_polyline(STREAM s, POLYLINE_ORDE Line 498  process_polyline(STREAM s, POLYLINE_ORDE
498                  in_uint8(s, os->datasize);                  in_uint8(s, os->datasize);
499                  in_uint8a(s, os->data, os->datasize);                  in_uint8a(s, os->data, os->datasize);
500          }          }
501            if (os->flags & 1)
502                    opcode = ROP2_COPY;
503            else
504                    opcode = ROP2_NXOR;
505    
506          DEBUG(("POLYLINE(x=%d,y=%d,fl=0x%x,fg=0x%x,n=%d,sz=%d)\n",          DEBUG(("POLYLINE(x=%d,y=%d,fl=0x%x,fg=0x%x,n=%d,sz=%d)\n",
507                 os->x, os->y, os->flags, os->fgcolour, os->lines, os->datasize));                 os->x, os->y, os->flags, os->fgcolour, os->lines, os->datasize));
# Line 532  process_polyline(STREAM s, POLYLINE_ORDE Line 537  process_polyline(STREAM s, POLYLINE_ORDE
537                  if (flags & 0x80)                  if (flags & 0x80)
538                          y += parse_delta(os->data, &data);                          y += parse_delta(os->data, &data);
539    
540                  ui_line(ROP2_NXOR, xfrom, yfrom, x, y, &pen);                  ui_line(opcode, xfrom, yfrom, x, y, &pen);
541    
542                  flags <<= 2;                  flags <<= 2;
543          }          }

Legend:
Removed from v.49  
changed lines
  Added in v.55

  ViewVC Help
Powered by ViewVC 1.1.26