diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-06 00:17:32 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-06 00:17:32 +0000 |
commit | 8371325a100178e6134b5bf6e23fae7aed178bb5 (patch) | |
tree | 903e4cb67b44e005717622680358a4cebd7f3407 | |
parent | c94db0a92914ea433ba76127f177ba365dee1ea0 (diff) | |
download | openttd-8371325a100178e6134b5bf6e23fae7aed178bb5.tar.xz |
(svn r7078) -Codechange: Make the zoom in/out buttons of the extra viewport into proper push-buttons.
-rw-r--r-- | smallmap_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c index c8a60784b..d5a2b5342 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -997,8 +997,8 @@ static const Widget _extra_view_port_widgets[] = { { WWT_STICKYBOX, RESIZE_LR, 14, 288, 299, 0, 13, 0x0, STR_STICKY_BUTTON}, { WWT_PANEL, RESIZE_RB, 14, 0, 299, 14, 233, 0x0, STR_NULL}, { WWT_INSET, RESIZE_RB, 14, 2, 297, 16, 231, 0x0, STR_NULL}, -{ WWT_IMGBTN, RESIZE_TB, 14, 0, 21, 234, 255, SPR_IMG_ZOOMIN, STR_017F_ZOOM_THE_VIEW_IN}, -{ WWT_IMGBTN, RESIZE_TB, 14, 22, 43, 234, 255, SPR_IMG_ZOOMOUT, STR_0180_ZOOM_THE_VIEW_OUT}, +{ WWT_PUSHIMGBTN, RESIZE_TB, 14, 0, 21, 234, 255, SPR_IMG_ZOOMIN, STR_017F_ZOOM_THE_VIEW_IN}, +{ WWT_PUSHIMGBTN, RESIZE_TB, 14, 22, 43, 234, 255, SPR_IMG_ZOOMOUT, STR_0180_ZOOM_THE_VIEW_OUT}, { WWT_PUSHTXTBTN, RESIZE_TB, 14, 44, 171, 234, 255, STR_EXTRA_VIEW_MOVE_MAIN_TO_VIEW, STR_EXTRA_VIEW_MOVE_MAIN_TO_VIEW_TT}, { WWT_PUSHTXTBTN, RESIZE_TB, 14, 172, 298, 234, 255, STR_EXTRA_VIEW_MOVE_VIEW_TO_MAIN, STR_EXTRA_VIEW_MOVE_VIEW_TO_MAIN_TT}, { WWT_PANEL, RESIZE_RTB, 14, 299, 299, 234, 255, 0x0, STR_NULL}, |