Rename FILL_RECTANGLE_FAST to FILL_RECTANGLE_BACKSTORE to clarify what it
does git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@295 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
f11dc2fc73
commit
b2859a6209
8
xwin.c
8
xwin.c
@ -78,7 +78,7 @@ PropMotifWmHints;
|
||||
XFillRectangle(display, backstore, gc, x, y, cx, cy); \
|
||||
}
|
||||
|
||||
#define FILL_RECTANGLE_FAST(x,y,cx,cy)\
|
||||
#define FILL_RECTANGLE_BACKSTORE(x,y,cx,cy)\
|
||||
{ \
|
||||
XFillRectangle(display, ownbackstore ? backstore : wnd, gc, x, y, cx, cy); \
|
||||
}
|
||||
@ -1192,7 +1192,7 @@ ui_draw_glyph(int mixmode,
|
||||
XSetStipple(display, gc, (Pixmap) glyph);
|
||||
XSetTSOrigin(display, gc, x, y);
|
||||
|
||||
FILL_RECTANGLE_FAST(x, y, cx, cy);
|
||||
FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
|
||||
|
||||
XSetFillStyle(display, gc, FillSolid);
|
||||
}
|
||||
@ -1244,11 +1244,11 @@ ui_draw_text(uint8 font, uint8 flags, int mixmode, int x, int y,
|
||||
|
||||
if (boxcx > 1)
|
||||
{
|
||||
FILL_RECTANGLE_FAST(boxx, boxy, boxcx, boxcy);
|
||||
FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy);
|
||||
}
|
||||
else if (mixmode == MIX_OPAQUE)
|
||||
{
|
||||
FILL_RECTANGLE_FAST(clipx, clipy, clipcx, clipcy);
|
||||
FILL_RECTANGLE_BACKSTORE(clipx, clipy, clipcx, clipcy);
|
||||
}
|
||||
|
||||
/* Paint text, character by character */
|
||||
|
Loading…
Reference in New Issue
Block a user