From 5e449b8fae1f5f9941a385a49eb1e958788809c2 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 6 May 2011 21:13:29 +0000 Subject: (svn r22429) -Add: some constants for specific palette colours used in the GUI. --- src/news_gui.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/news_gui.cpp') 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: -- cgit v1.2.3-54-g00ecf