/[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 275 by astrand, Tue Nov 19 14:48:02 2002 UTC revision 278 by jsorg71, Mon Nov 25 18:23:44 2002 UTC
# Line 1126  ui_rect( Line 1126  ui_rect(
1126          FILL_RECTANGLE(x, y, cx, cy);          FILL_RECTANGLE(x, y, cx, cy);
1127  }  }
1128    
1129    /* warning, this function only draws on wnd or backstore, not both */
1130  void  void
1131  ui_draw_glyph(int mixmode,  ui_draw_glyph(int mixmode,
1132                /* dest */ int x, int y, int cx, int cy,                /* dest */ int x, int y, int cx, int cy,
# Line 1140  ui_draw_glyph(int mixmode, Line 1141  ui_draw_glyph(int mixmode,
1141          XSetStipple(display, gc, (Pixmap) glyph);          XSetStipple(display, gc, (Pixmap) glyph);
1142          XSetTSOrigin(display, gc, x, y);          XSetTSOrigin(display, gc, x, y);
1143    
1144          FILL_RECTANGLE(x, y, cx, cy);          if (ownbackstore)
1145                    XFillRectangle(display, backstore, gc, x, y, cx, cy);
1146            else
1147                    XFillRectangle(display, wnd, gc, x, y, cx, cy);
1148    
1149          XSetFillStyle(display, gc, FillSolid);          XSetFillStyle(display, gc, FillSolid);
1150  }  }
# Line 1249  ui_draw_text(uint8 font, uint8 flags, in Line 1253  ui_draw_text(uint8 font, uint8 flags, in
1253                                  break;                                  break;
1254                  }                  }
1255          }          }
1256            if (ownbackstore)
1257            {
1258                    if (boxcx > 1)
1259                            XCopyArea(display, backstore, wnd, gc, boxx,
1260                                      boxy, boxcx, boxcy, boxx, boxy);
1261                    else
1262                            XCopyArea(display, backstore, wnd, gc, clipx,
1263                                      clipy, clipcx, clipcy, clipx, clipy);
1264            }
1265  }  }
1266    
1267  void  void

Legend:
Removed from v.275  
changed lines
  Added in v.278

  ViewVC Help
Powered by ViewVC 1.1.26