summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-01 03:43:53 +0000
committerbelugas <belugas@openttd.org>2008-08-01 03:43:53 +0000
commit1648da0e470ce9d80c9ee08a9c53452a7e578967 (patch)
treea2a5592c034cc0305b5d9a309f37f99ee8849db9 /src/settings_gui.cpp
parent1b21ece8982b59fe85185875c216f47723712501 (diff)
downloadopenttd-1648da0e470ce9d80c9ee08a9c53452a7e578967.tar.xz
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 71345d0ee..6ebc6e8a6 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -1056,19 +1056,19 @@ struct CustomCurrencyWindow : Window {
y += 12;
/* separator */
- DrawFrameRect(10, y + 1, 29, y + 9, 0, GB(this->click, 2, 2) ? FR_LOWERED : FR_NONE);
+ DrawFrameRect(10, y + 1, 29, y + 9, COLOUR_DARK_BLUE, GB(this->click, 2, 2) ? FR_LOWERED : FR_NONE);
x = DrawString(35, y + 1, STR_CURRENCY_SEPARATOR, TC_FROMSTRING);
DoDrawString(this->separator, x + 4, y + 1, TC_ORANGE);
y += 12;
/* prefix */
- DrawFrameRect(10, y + 1, 29, y + 9, 0, GB(this->click, 4, 2) ? FR_LOWERED : FR_NONE);
+ DrawFrameRect(10, y + 1, 29, y + 9, COLOUR_DARK_BLUE, GB(this->click, 4, 2) ? FR_LOWERED : FR_NONE);
x = DrawString(35, y + 1, STR_CURRENCY_PREFIX, TC_FROMSTRING);
DoDrawString(_custom_currency.prefix, x + 4, y + 1, TC_ORANGE);
y += 12;
/* suffix */
- DrawFrameRect(10, y + 1, 29, y + 9, 0, GB(this->click, 6, 2) ? FR_LOWERED : FR_NONE);
+ DrawFrameRect(10, y + 1, 29, y + 9, COLOUR_DARK_BLUE, GB(this->click, 6, 2) ? FR_LOWERED : FR_NONE);
x = DrawString(35, y + 1, STR_CURRENCY_SUFFIX, TC_FROMSTRING);
DoDrawString(_custom_currency.suffix, x + 4, y + 1, TC_ORANGE);
y += 12;