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/news_gui.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/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 7ce0ae8be..ff21b1788 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -335,12 +335,12 @@ struct NewsWindow : Window { void DrawNewsBorder(const Rect &r) const { - GfxFillRect(r.left, r.top, r.right, r.bottom, GREY_SCALE(15)); + GfxFillRect(r.left, r.top, r.right, r.bottom, PC_WHITE); - GfxFillRect(r.left, r.top, r.left, r.bottom, GREY_SCALE(1)); - GfxFillRect(r.right, r.top, r.right, r.bottom, GREY_SCALE(1)); - GfxFillRect(r.left, r.top, r.right, r.top, GREY_SCALE(1)); - GfxFillRect(r.left, r.bottom, r.right, r.bottom, GREY_SCALE(1)); + GfxFillRect(r.left, r.top, r.left, r.bottom, PC_BLACK); + GfxFillRect(r.right, r.top, r.right, r.bottom, PC_BLACK); + GfxFillRect(r.left, r.top, r.right, r.top, PC_BLACK); + GfxFillRect(r.left, r.bottom, r.right, r.bottom, PC_BLACK); } virtual Point OnInitialPosition(const WindowDesc *desc, int16 sm_width, int16 sm_height, int window_number) @@ -425,7 +425,7 @@ struct NewsWindow : Window { break; case NTW_VEH_BKGND: - GfxFillRect(r.left, r.top, r.right, r.bottom, GREY_SCALE(10)); + GfxFillRect(r.left, r.top, r.right, r.bottom, PC_GREY); break; case NTW_VEH_NAME: |