/[rdesktop]/sourceforge.net/trunk/rdesktop/xwin.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/xwin.c

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

revision 54 by n-ki, Fri Jun 7 07:49:59 2002 UTC revision 59 by jsorg71, Sun Jul 14 04:20:25 2002 UTC
# Line 992  ui_patblt(uint8 opcode, Line 992  ui_patblt(uint8 opcode,
992            /* brush */ BRUSH *brush, int bgcolour, int fgcolour)            /* brush */ BRUSH *brush, int bgcolour, int fgcolour)
993  {  {
994          Pixmap fill;          Pixmap fill;
995            uint8 i, ipattern[8];
996    
997          SET_FUNCTION(opcode);          SET_FUNCTION(opcode);
998    
# Line 1003  ui_patblt(uint8 opcode, Line 1004  ui_patblt(uint8 opcode,
1004                          break;                          break;
1005    
1006                  case 3: /* Pattern */                  case 3: /* Pattern */
1007                          fill = (Pixmap)ui_create_glyph(8, 8, brush->pattern);                          for (i = 0; i != 8; i++)
1008                                    ipattern[7 - i] = brush->pattern[i];
1009                            fill = (Pixmap) ui_create_glyph(8, 8, ipattern);
1010    
1011                          SET_FOREGROUND(bgcolour);                          SET_FOREGROUND(bgcolour);
1012                          SET_BACKGROUND(fgcolour);                          SET_BACKGROUND(fgcolour);

Legend:
Removed from v.54  
changed lines
  Added in v.59

  ViewVC Help
Powered by ViewVC 1.1.26