/[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 279 by n-ki, Tue Nov 26 10:09:14 2002 UTC revision 281 by jsorg71, Mon Dec 2 22:57:47 2002 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)\
82    { \
83            XFillRectangle(display, ownbackstore ? backstore : wnd, gc, x, y, cx, cy); \
84    }
85    
86  /* colour maps */  /* colour maps */
87  BOOL owncolmap = False;  BOOL owncolmap = False;
88  static Colormap xcolmap;  static Colormap xcolmap;
# Line 1184  ui_draw_glyph(int mixmode, Line 1189  ui_draw_glyph(int mixmode,
1189          XSetStipple(display, gc, (Pixmap) glyph);          XSetStipple(display, gc, (Pixmap) glyph);
1190          XSetTSOrigin(display, gc, x, y);          XSetTSOrigin(display, gc, x, y);
1191    
1192          if (ownbackstore)          FILL_RECTANGLE_FAST(x, y, cx, cy);
                 XFillRectangle(display, backstore, gc, x, y, cx, cy);  
         else  
                 XFillRectangle(display, wnd, gc, x, y, cx, cy);  
1193    
1194          XSetFillStyle(display, gc, FillSolid);          XSetFillStyle(display, gc, FillSolid);
1195  }  }
# Line 1239  ui_draw_text(uint8 font, uint8 flags, in Line 1241  ui_draw_text(uint8 font, uint8 flags, in
1241    
1242          if (boxcx > 1)          if (boxcx > 1)
1243          {          {
1244                  FILL_RECTANGLE(boxx, boxy, boxcx, boxcy);                  FILL_RECTANGLE_FAST(boxx, boxy, boxcx, boxcy);
1245          }          }
1246          else if (mixmode == MIX_OPAQUE)          else if (mixmode == MIX_OPAQUE)
1247          {          {
1248                  FILL_RECTANGLE(clipx, clipy, clipcx, clipcy);                  FILL_RECTANGLE_FAST(clipx, clipy, clipcx, clipcy);
1249          }          }
1250    
1251          /* Paint text, character by character */          /* Paint text, character by character */

Legend:
Removed from v.279  
changed lines
  Added in v.281

  ViewVC Help
Powered by ViewVC 1.1.26