summaryrefslogtreecommitdiff
path: root/widget.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-04 14:54:27 +0000
committerdarkvater <darkvater@openttd.org>2005-01-04 14:54:27 +0000
commit4f496b868108e67a135933c6127b9bedc38543b1 (patch)
treed02a53501e50d392b43bc3b2364f502a0cec3495 /widget.c
parent86fa7720f98c35e56f0c86ddb969c642b9db64be (diff)
downloadopenttd-4f496b868108e67a135933c6127b9bedc38543b1.tar.xz
(svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. Anywhere where there are horizontal scrollers these are now left/right arrows
Diffstat (limited to 'widget.c')
-rw-r--r--widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget.c b/widget.c
index e64adbae2..e95cc76a2 100644
--- a/widget.c
+++ b/widget.c
@@ -337,8 +337,8 @@ void DrawWindowWidgets(Window *w)
DrawFrameRect(r.right-9, r.top, r.right, r.bottom, wi->color, (w->flags4 & (WF_SCROLL_DOWN | WF_HSCROLL)) == (WF_SCROLL_DOWN | WF_HSCROLL) ? 0x20 : 0);
// draw icons in up/down buttons
- DoDrawString("\xA0", r.left+1, r.top+1, 0x10);
- DoDrawString("\xAA", r.right-8, r.top+1, 0x10);
+ DrawSprite(SPR_ARROW_LEFT, r.left + 3, r.top + 2);
+ DrawSprite(SPR_ARROW_RIGHT, r.right - 6, r.top + 2);
c1 = _color_list[wi->color&0xF].window_color_1a;
c2 = _color_list[wi->color&0xF].window_color_2;