diff options
author | Darkvater <Darkvater@openttd.org> | 2005-04-07 00:59:54 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-04-07 00:59:54 +0000 |
commit | 34811a332e940d1f214de76141f69f72dcbf5af0 (patch) | |
tree | e0db387aa35ff5dee722b1621502fa8ed7b85a00 /main_gui.c | |
parent | 39c4c70c68c510f4de293880fbda0ceac2fcbcef (diff) | |
download | openttd-34811a332e940d1f214de76141f69f72dcbf5af0.tar.xz |
(svn r2161) - Fix: When resizing a window, the button is also visibly depressed
- CodeChange: Use images as arrows in the scenario-date scroller, looks better
- Feature: Clicked buttons with images/text now visibly depress their contents when pressed (eg it really seems like the button is moving)
- Fix: Fix sprite offsets of the arrow sprites in openttd.grf
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c index e85f10600..2808a6312 100644 --- a/main_gui.c +++ b/main_gui.c @@ -2008,8 +2008,8 @@ static const Widget _toolb_scen_widgets[] = { { WWT_PANEL, RESIZE_NONE, 14, 96, 225, 0, 21, 0x0, STR_NULL}, { WWT_PANEL, RESIZE_NONE, 14, 233, 362, 0, 21, 0x0, STR_NULL}, -{ WWT_CLOSEBOX, RESIZE_NONE, 14, 236, 246, 5, 16, STR_0225, STR_029E_MOVE_THE_STARTING_DATE}, -{ WWT_CLOSEBOX, RESIZE_NONE, 14, 347, 357, 5, 16, STR_0224, STR_029F_MOVE_THE_STARTING_DATE}, +{ WWT_IMGBTN, RESIZE_NONE, 14, 236, 247, 5, 16, SPR_ARROW_DOWN, STR_029E_MOVE_THE_STARTING_DATE}, +{ WWT_IMGBTN, RESIZE_NONE, 14, 347, 358, 5, 16, SPR_ARROW_UP, STR_029F_MOVE_THE_STARTING_DATE}, { WWT_PANEL, RESIZE_NONE, 14, 371, 392, 0, 21, 0x2C4, STR_0175_DISPLAY_MAP_TOWN_DIRECTORY}, |