/[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 288 by jsorg71, Sun Jan 5 20:06:32 2003 UTC revision 296 by matthewc, Tue Jan 28 12:07:55 2003 UTC
# Line 78  PropMotifWmHints; Line 78  PropMotifWmHints;
78                  XFillRectangle(display, backstore, gc, x, y, cx, cy); \                  XFillRectangle(display, backstore, gc, x, y, cx, cy); \
79  }  }
80    
81  #define FILL_RECTANGLE_FAST(x,y,cx,cy)\  #define FILL_RECTANGLE_BACKSTORE(x,y,cx,cy)\
82  { \  { \
83          XFillRectangle(display, ownbackstore ? backstore : wnd, gc, x, y, cx, cy); \          XFillRectangle(display, ownbackstore ? backstore : wnd, gc, x, y, cx, cy); \
84  }  }
# Line 1192  ui_draw_glyph(int mixmode, Line 1192  ui_draw_glyph(int mixmode,
1192          XSetStipple(display, gc, (Pixmap) glyph);          XSetStipple(display, gc, (Pixmap) glyph);
1193          XSetTSOrigin(display, gc, x, y);          XSetTSOrigin(display, gc, x, y);
1194    
1195          FILL_RECTANGLE_FAST(x, y, cx, cy);          FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
1196    
1197          XSetFillStyle(display, gc, FillSolid);          XSetFillStyle(display, gc, FillSolid);
1198  }  }
# Line 1244  ui_draw_text(uint8 font, uint8 flags, in Line 1244  ui_draw_text(uint8 font, uint8 flags, in
1244    
1245          if (boxcx > 1)          if (boxcx > 1)
1246          {          {
1247                  FILL_RECTANGLE_FAST(boxx, boxy, boxcx, boxcy);                  FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy);
1248          }          }
1249          else if (mixmode == MIX_OPAQUE)          else if (mixmode == MIX_OPAQUE)
1250          {          {
1251                  FILL_RECTANGLE_FAST(clipx, clipy, clipcx, clipcy);                  FILL_RECTANGLE_BACKSTORE(clipx, clipy, clipcx, clipcy);
1252          }          }
1253    
1254          /* Paint text, character by character */          /* Paint text, character by character */

Legend:
Removed from v.288  
changed lines
  Added in v.296

  ViewVC Help
Powered by ViewVC 1.1.26