summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-06-28 15:44:24 +0000
committerfrosch <frosch@openttd.org>2008-06-28 15:44:24 +0000
commitecc5d648dfefd7949b7508c724790dd452814fb2 (patch)
tree8d015d80fd5b0b32f5e85a7550aaf55daca5dd38 /src/toolbar_gui.cpp
parent06049563da44c1487c329f85cba77e0cf4194b7e (diff)
downloadopenttd-ecc5d648dfefd7949b7508c724790dd452814fb2.tar.xz
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 055b78cfe..f54508334 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -914,7 +914,7 @@ struct MainToolbarWindow : Window {
{
/* Draw brown-red toolbar bg. */
GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB2);
- GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB4 | (1 << PALETTE_MODIFIER_GREYOUT));
+ GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB4, FILLRECT_CHECKER);
/* If spectator, disable all construction buttons
* ie : Build road, rail, ships, airports and landscaping
@@ -1118,7 +1118,7 @@ public:
/* Draw brown-red toolbar bg. */
GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB2);
- GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB4 | (1 << PALETTE_MODIFIER_GREYOUT));
+ GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB4, FILLRECT_CHECKER);
this->DrawWidgets();