Changeset - r17206:f8430ed702e7
[Not reviewed]
master
0 4 0
rubidium - 14 years ago 2011-02-04 14:38:15
rubidium@openttd.org
(svn r21955) -Cleanup: always show the long date in the status bar
4 files changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/lang/english.txt
Show inline comments
 
@@ -1122,7 +1122,6 @@ STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUC
 
STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_PROSPECTING :prospecting
 
STR_CONFIG_SETTING_INDUSTRY_PLATFORM                            :{LTBLUE}Flat area around industries: {ORANGE}{STRING1} tile{P 0:1 "" s}
 
STR_CONFIG_SETTING_MULTIPINDTOWN                                :{LTBLUE}Allow multiple similar industries per town: {ORANGE}{STRING1}
 
STR_CONFIG_SETTING_LONGDATE                                     :{LTBLUE}Always show long date in the status bar: {ORANGE}{STRING1}
 
STR_CONFIG_SETTING_SIGNALSIDE                                   :{LTBLUE}Show signals on the drive side: {ORANGE}{STRING1}
 
STR_CONFIG_SETTING_SHOWFINANCES                                 :{LTBLUE}Show finances window at the end of the year: {ORANGE}{STRING1}
 
STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT                           :{LTBLUE}New orders are 'non-stop' by default: {ORANGE}{STRING1}
 
@@ -4239,7 +4238,6 @@ STR_COMPANY_MONEY                       
 
STR_BLACK_DATE_LONG                                             :{BLACK}{DATE_LONG}
 
STR_BLACK_CROSS                                                 :{BLACK}{CROSS}
 
STR_SILVER_CROSS                                                :{SILVER}{CROSS}
 
STR_WHITE_DATE_SHORT                                            :{WHITE}{DATE_SHORT}
 
STR_WHITE_DATE_LONG                                             :{WHITE}{DATE_LONG}
 
STR_SHORT_DATE                                                  :{WHITE}{DATE_TINY}
 
STR_DATE_LONG_SMALL                                             :{TINYFONT}{BLACK}{DATE_LONG}
src/settings_type.h
Show inline comments
 
@@ -46,7 +46,6 @@ struct GUISettings {
 
	bool   lost_vehicle_warn;                ///< if a vehicle can't find its destination, show a warning
 
	uint8  order_review_system;              ///< perform order reviews on vehicles
 
	bool   vehicle_income_warn;              ///< if a vehicle isn't generating income, show a warning
 
	bool   status_long_date;                 ///< always show long date in status bar
 
	bool   show_finances;                    ///< show finances at end of year
 
	bool   sg_new_nonstop;                   ///< ttdpatch compatible nonstop handling read from pre v93 savegames
 
	bool   new_nonstop;                      ///< ttdpatch compatible nonstop handling
src/statusbar_gui.cpp
Show inline comments
 
@@ -136,7 +136,7 @@ struct StatusBarWindow : Window {
 
			case SBW_LEFT:
 
				/* Draw the date */
 
				SetDParam(0, _date);
 
				DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, r.top + WD_FRAMERECT_TOP, (_pause_mode || _settings_client.gui.status_long_date) ? STR_WHITE_DATE_LONG : STR_WHITE_DATE_SHORT, TC_FROMSTRING, SA_HOR_CENTER);
 
				DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, r.top + WD_FRAMERECT_TOP, STR_WHITE_DATE_LONG, TC_FROMSTRING, SA_HOR_CENTER);
 
				break;
 

	
 
			case SBW_RIGHT: {
src/table/settings.h
Show inline comments
 
@@ -563,7 +563,6 @@ const SettingDesc _settings[] = {
 
	SDTC_OMANY(gui.autosave,                  SLE_UINT8, S,  0, 1, 4, _autosave_interval,     STR_NULL,                                       NULL),
 
	 SDTC_BOOL(gui.threaded_saves,                       S,  0,  true,                        STR_NULL,                                       NULL),
 
	SDTC_OMANY(gui.date_format_in_default_names,SLE_UINT8,S,MS, 0, 2, _savegame_date,         STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES,   NULL),
 
	 SDTC_BOOL(gui.status_long_date,                     S,  0,  true,                        STR_CONFIG_SETTING_LONGDATE,                    NULL),
 
	 SDTC_BOOL(gui.show_finances,                        S,  0,  true,                        STR_CONFIG_SETTING_SHOWFINANCES,                NULL),
 
	 SDTC_BOOL(gui.autoscroll,                           S,  0, false,                        STR_CONFIG_SETTING_AUTOSCROLL,                  NULL),
 
	 SDTC_BOOL(gui.reverse_scroll,                       S,  0, false,                        STR_CONFIG_SETTING_REVERSE_SCROLLING,           NULL),
0 comments (0 inline, 0 general)