Mercurial > hg > openttd
diff src/settings_gui.cpp @ 11085:8da1855e9f14 draft
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 09 Feb 2009 02:57:15 +0000 (2009-02-09) |
parents | adc269893bd0 |
children | bbb1eaa48906 |
line wrap: on
line diff
--- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -886,7 +886,7 @@ if ((sdb->flags & SGF_NO_NETWORK) && _networking) editable = false; if (sdb->cmd == SDT_BOOLX) { - static const int _bool_ctabs[2][2] = {{9, 4}, {7, 6}}; + static const Colours _bool_ctabs[2][2] = {{COLOUR_CREAM, COLOUR_RED}, {COLOUR_DARK_GREEN, COLOUR_GREEN}}; /* Draw checkbox for boolean-value either on/off */ bool on = (*(bool*)var); @@ -1047,7 +1047,7 @@ SettingEntry("gui.default_rail_type"), SettingEntry("gui.always_build_infrastructure"), SettingEntry("gui.persistent_buildingtools"), - SettingEntry("gui.colored_news_year"), + SettingEntry("gui.coloured_news_year"), }; /** Interface subpage */ static SettingsPage _settings_ui_page = {_settings_ui, lengthof(_settings_ui)};