diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-18 10:36:55 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-18 10:36:55 +0000 |
commit | 04da1e1d456322d07e941ca19d35e9dc1020faf1 (patch) | |
tree | 4a7f2fbd16bbc5ad48c890141c722273c2efea2e /src/gfx_func.h | |
parent | bba1a62db1d9dc233e57c34d639109f03d060a2b (diff) | |
download | openttd-04da1e1d456322d07e941ca19d35e9dc1020faf1.tar.xz |
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index a4033caed..fd6af565e 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -83,12 +83,6 @@ void GfxScroll(int left, int top, int width, int height, int xo, int yo); void DrawSprite(SpriteID img, SpriteID pal, int x, int y, const SubSprite *sub = NULL); -/* XXX doesn't really belong here, but the only - * consumers always use it in conjunction with DoDrawString() */ -#define UPARROW "\xEE\x8A\x80" -#define DOWNARROW "\xEE\x8A\xAA" - - int DrawStringCentered(int x, int y, StringID str, uint16 color); int DrawStringCenteredTruncated(int xl, int xr, int y, StringID str, uint16 color); int DoDrawStringCentered(int x, int y, const char *str, uint16 color); |