/[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 82 by astrand, Tue Jul 30 07:18:48 2002 UTC revision 168 by matthewc, Tue Sep 17 07:23:32 2002 UTC
# Line 475  process_polyline(STREAM s, POLYLINE_ORDE Line 475  process_polyline(STREAM s, POLYLINE_ORDE
475                  rdp_in_coord(s, &os->y, delta);                  rdp_in_coord(s, &os->y, delta);
476    
477          if (present & 0x04)          if (present & 0x04)
478                  in_uint8(s, os->flags);                  in_uint8(s, os->opcode);
479    
480          if (present & 0x10)          if (present & 0x10)
481                  rdp_in_colour(s, &os->fgcolour);                  rdp_in_colour(s, &os->fgcolour);
# Line 488  process_polyline(STREAM s, POLYLINE_ORDE Line 488  process_polyline(STREAM s, POLYLINE_ORDE
488                  in_uint8(s, os->datasize);                  in_uint8(s, os->datasize);
489                  in_uint8a(s, os->data, os->datasize);                  in_uint8a(s, os->data, os->datasize);
490          }          }
         if (os->flags & 1)  
                 opcode = ROP2_COPY;  
         else  
                 opcode = ROP2_NXOR;  
491    
492          DEBUG(("POLYLINE(x=%d,y=%d,fl=0x%x,fg=0x%x,n=%d,sz=%d)\n",          DEBUG(("POLYLINE(x=%d,y=%d,op=0x%x,fg=0x%x,n=%d,sz=%d)\n",
493                 os->x, os->y, os->flags, os->fgcolour, os->lines, os->datasize));                 os->x, os->y, os->opcode, os->fgcolour, os->lines, os->datasize));
494    
495          DEBUG(("Data: "));          DEBUG(("Data: "));
496    
# Line 503  process_polyline(STREAM s, POLYLINE_ORDE Line 499  process_polyline(STREAM s, POLYLINE_ORDE
499    
500          DEBUG(("\n"));          DEBUG(("\n"));
501    
502            if (os->opcode < 0x01 || os->opcode > 0x10)
503            {
504                    error("bad ROP2 0x%x\n", os->opcode);
505                    return;
506            }
507    
508            opcode = os->opcode - 1;
509          x = os->x;          x = os->x;
510          y = os->y;          y = os->y;
511          pen.style = pen.width = 0;          pen.style = pen.width = 0;

Legend:
Removed from v.82  
changed lines
  Added in v.168

  ViewVC Help
Powered by ViewVC 1.1.26