diff options
author | peter1138 <peter1138@openttd.org> | 2006-09-27 11:45:26 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-09-27 11:45:26 +0000 |
commit | f18405dfd028c362c9f18f8836a00f02f5e2eb56 (patch) | |
tree | 7b1502523b5df7d6ede7001105c39c820875cd9a | |
parent | 2cab6db18c9b2f266cfe884e22decf37fe93fe82 (diff) | |
download | openttd-f18405dfd028c362c9f18f8836a00f02f5e2eb56.tar.xz |
(svn r6523) - 'Feature'/'Fix': Add tooltips to the new company colour window
-rw-r--r-- | lang/english.txt | 9 | ||||
-rw-r--r-- | player_gui.c | 20 |
2 files changed, 19 insertions, 10 deletions
diff --git a/lang/english.txt b/lang/english.txt index 11763d9e9..b6dac7963 100644 --- a/lang/english.txt +++ b/lang/english.txt @@ -2190,6 +2190,15 @@ STR_LIVERY_HELICOPTER :Helicopter STR_LIVERY_SMALL_PLANE :Small Aeroplane STR_LIVERY_LARGE_PLANE :Large Aeroplane +STR_LIVERY_GENERAL_TIP :{BLACK}Show general colour schemes +STR_LIVERY_TRAIN_TIP :{BLACK}Show train colour schemes +STR_LIVERY_ROADVEH_TIP :{BLACK}Show road vehicle colour schemes +STR_LIVERY_SHIP_TIP :{BLACK}Show ship colour schemes +STR_LIVERY_AIRCRAFT_TIP :{BLACK}Show aircraft colour schemes +STR_LIVERY_PRIMARY_TIP :{BLACK}Choose the primary colour for the selected scheme +STR_LIVERY_SECONDARY_TIP :{BLACK}Choose the secondary colour for the selected scheme +STR_LIVERY_PANEL_TIP :{BLACK}Select a colour scheme to change, or multiple schemes with CTRL+click. Click on the box to toggle use of the scheme + ##id 0x8000 STR_8000_KIRBY_PAUL_TANK_STEAM :Kirby Paul Tank (Steam) STR_8001_MJS_250_DIESEL :MJS 250 (Diesel) diff --git a/player_gui.c b/player_gui.c index bfe8da281..4065cd675 100644 --- a/player_gui.c +++ b/player_gui.c @@ -441,18 +441,18 @@ static void SelectPlayerLiveryWndProc(Window *w, WindowEvent *e) static const Widget _select_player_livery_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW }, { WWT_CAPTION, RESIZE_NONE, 14, 11, 399, 0, 13, STR_7007_NEW_COLOR_SCHEME, STR_018C_WINDOW_TITLE_DRAG_THIS }, -{ WWT_IMGBTN, RESIZE_NONE, 14, 0, 21, 14, 35, SPR_IMG_COMPANY_GENERAL, STR_NULL }, -{ WWT_IMGBTN, RESIZE_NONE, 14, 22, 43, 14, 35, SPR_IMG_TRAINLIST, STR_NULL }, -{ WWT_IMGBTN, RESIZE_NONE, 14, 44, 65, 14, 35, SPR_IMG_TRUCKLIST, STR_NULL }, -{ WWT_IMGBTN, RESIZE_NONE, 14, 66, 87, 14, 35, SPR_IMG_SHIPLIST, STR_NULL }, -{ WWT_IMGBTN, RESIZE_NONE, 14, 88, 109, 14, 35, SPR_IMG_AIRPLANESLIST, STR_NULL }, +{ WWT_IMGBTN, RESIZE_NONE, 14, 0, 21, 14, 35, SPR_IMG_COMPANY_GENERAL, STR_LIVERY_GENERAL_TIP }, +{ WWT_IMGBTN, RESIZE_NONE, 14, 22, 43, 14, 35, SPR_IMG_TRAINLIST, STR_LIVERY_TRAIN_TIP }, +{ WWT_IMGBTN, RESIZE_NONE, 14, 44, 65, 14, 35, SPR_IMG_TRUCKLIST, STR_LIVERY_ROADVEH_TIP }, +{ WWT_IMGBTN, RESIZE_NONE, 14, 66, 87, 14, 35, SPR_IMG_SHIPLIST, STR_LIVERY_SHIP_TIP }, +{ WWT_IMGBTN, RESIZE_NONE, 14, 88, 109, 14, 35, SPR_IMG_AIRPLANESLIST, STR_LIVERY_AIRCRAFT_TIP }, { WWT_PANEL, RESIZE_NONE, 14, 110, 399, 14, 35, 0x0, STR_NULL }, { WWT_PANEL, RESIZE_NONE, 14, 0, 149, 36, 47, 0x0, STR_NULL }, -{ WWT_TEXTBTN, RESIZE_NONE, 14, 150, 262, 36, 47, STR_02BD, STR_7007_NEW_COLOR_SCHEME }, -{ WWT_TEXTBTN, RESIZE_NONE, 14, 263, 274, 36, 47, STR_0225, STR_7007_NEW_COLOR_SCHEME }, -{ WWT_TEXTBTN, RESIZE_NONE, 14, 275, 387, 36, 47, STR_02E1, STR_7007_NEW_COLOR_SCHEME }, -{ WWT_TEXTBTN, RESIZE_NONE, 14, 388, 399, 36, 47, STR_0225, STR_7007_NEW_COLOR_SCHEME }, -{ WWT_MATRIX, RESIZE_NONE, 14, 0, 399, 48, 48 + 1 * 14, (1 << 8) | 1, STR_NULL }, +{ WWT_TEXTBTN, RESIZE_NONE, 14, 150, 262, 36, 47, STR_02BD, STR_LIVERY_PRIMARY_TIP }, +{ WWT_TEXTBTN, RESIZE_NONE, 14, 263, 274, 36, 47, STR_0225, STR_LIVERY_PRIMARY_TIP }, +{ WWT_TEXTBTN, RESIZE_NONE, 14, 275, 387, 36, 47, STR_02E1, STR_LIVERY_SECONDARY_TIP }, +{ WWT_TEXTBTN, RESIZE_NONE, 14, 388, 399, 36, 47, STR_0225, STR_LIVERY_SECONDARY_TIP }, +{ WWT_MATRIX, RESIZE_NONE, 14, 0, 399, 48, 48 + 1 * 14, (1 << 8) | 1, STR_LIVERY_PANEL_TIP }, { WIDGETS_END }, }; |