diff options
author | frosch <frosch@openttd.org> | 2011-05-06 21:13:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-05-06 21:13:29 +0000 |
commit | 5e449b8fae1f5f9941a385a49eb1e958788809c2 (patch) | |
tree | 25417fb45b1166841824fccffbbd217810246bf6 /src/widgets/dropdown.cpp | |
parent | 4b0a2fbe293acbfe138b788701b6e71c5356d0e8 (diff) | |
download | openttd-5e449b8fae1f5f9941a385a49eb1e958788809c2.tar.xz |
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
Diffstat (limited to 'src/widgets/dropdown.cpp')
-rw-r--r-- | src/widgets/dropdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 7e45e5f8c..d6680479c 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -248,7 +248,7 @@ struct DropdownWindow : Window { if (y + item_height < r.bottom) { bool selected = (this->selected_index == item->result); - if (selected) GfxFillRect(r.left + 2, y, r.right - 1, y + item_height - 1, GREY_SCALE(0)); + if (selected) GfxFillRect(r.left + 2, y, r.right - 1, y + item_height - 1, PC_BLACK); item->Draw(r.left, r.right, y, r.bottom, selected, colour); |