summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-06 04:01:07 +0000
committerbelugas <belugas@openttd.org>2008-08-06 04:01:07 +0000
commit85c84c9d86cc9dc21b6e38e9a112cbe5e29576cc (patch)
treeb0dcb83fe0344d4ea865874cdd465a336e47ca77
parent158d4acbba680d07809a5424ac25ac32fe41a141 (diff)
downloadopenttd-85c84c9d86cc9dc21b6e38e9a112cbe5e29576cc.tar.xz
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
-rw-r--r--src/cheat_gui.cpp2
-rw-r--r--src/industry_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index c5d84a141..981a58970 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -157,7 +157,7 @@ struct CheatWindow : Window {
char buf[512];
/* Draw [<][>] boxes for settings of an integer-type */
- DrawArrowButtons(x + 20, y, 3, clicked - (i * 2), true, true);
+ DrawArrowButtons(x + 20, y, COLOUR_YELLOW, clicked - (i * 2), true, true);
switch (ce->str) {
/* Display date for change date cheat */
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 1dacf0043..0692ee187 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -536,7 +536,7 @@ public:
DrawStringTruncated(x, y, STR_482B_TRANSPORTED, TC_FROMSTRING, this->widget[IVW_INFO].right - x);
/* Let's put out those buttons.. */
if (IsProductionAlterable(i)) {
- DrawArrowButtons(5, y, 3, (this->clicked_line == j + 1) ? this->clicked_button : 0,
+ DrawArrowButtons(5, y, COLOUR_YELLOW, (this->clicked_line == j + 1) ? this->clicked_button : 0,
!IsProductionMinimum(i, j), !IsProductionMaximum(i, j));
}
y += 10;