/[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 1475 by jsorg71, Fri Jul 11 03:51:23 2008 UTC revision 1476 by jsorg71, Fri Jul 11 03:55:52 2008 UTC
# Line 151  rdp_parse_pen(STREAM s, PEN * pen, uint3 Line 151  rdp_parse_pen(STREAM s, PEN * pen, uint3
151  static void  static void
152  setup_brush(BRUSH * out_brush, BRUSH * in_brush)  setup_brush(BRUSH * out_brush, BRUSH * in_brush)
153  {  {
154          BRUSHDATA * brush_data;          BRUSHDATA *brush_data;
155          uint16 cache_idx;          uint16 cache_idx;
156          uint8 brush_bpp;          uint8 brush_bpp;
157    
# Line 159  setup_brush(BRUSH * out_brush, BRUSH * i Line 159  setup_brush(BRUSH * out_brush, BRUSH * i
159          if (out_brush->style & 0x80)          if (out_brush->style & 0x80)
160          {          {
161                  brush_bpp = out_brush->style & 0x0f;                  brush_bpp = out_brush->style & 0x0f;
162                  if (brush_bpp == 1) /* 1 bpp */                  if (brush_bpp == 1)     /* 1 bpp */
163                  {                  {
164                          cache_idx = out_brush->pattern[0];                          cache_idx = out_brush->pattern[0];
165                          brush_data = cache_get_brush_data(cache_idx);                          brush_data = cache_get_brush_data(cache_idx);
# Line 1165  process_brushcache(STREAM s, uint16 flag Line 1165  process_brushcache(STREAM s, uint16 flag
1165          in_uint8(s, depth);          in_uint8(s, depth);
1166          in_uint8(s, width);          in_uint8(s, width);
1167          in_uint8(s, height);          in_uint8(s, height);
1168          in_uint8s(s, 1); /* type, 0x80 = cached */          in_uint8s(s, 1);        /* type, 0x80 = cached */
1169          in_uint8(s, size);          in_uint8(s, size);
1170    
1171          DEBUG(("BRUSHCACHE(idx=%d,dp=%d,wd=%d,ht=%d,sz=%d)\n", cache_idx, depth,          DEBUG(("BRUSHCACHE(idx=%d,dp=%d,wd=%d,ht=%d,sz=%d)\n", cache_idx, depth,
1172                  width, height, size));                 width, height, size));
1173    
1174          if ((depth == 1) && (width == 8) && (height == 8) && (size == 8))          if ((depth == 1) && (width == 8) && (height == 8) && (size == 8))
1175          {          {

Legend:
Removed from v.1475  
changed lines
  Added in v.1476

  ViewVC Help
Powered by ViewVC 1.1.26