From 45e3e87ddcdfb14186ce6a9d8748fa4b31393600 Mon Sep 17 00:00:00 2001 From: akki95 Date: Sun, 24 Jan 2016 01:02:39 +0530 Subject: tdf#87933 - Easier visibility of automatic page breaks. Defined additional named colors COL_GRAY3 and COL_gray7 in color.hxx Fixed the color scheme as required. Change-Id: Ia86acb2465d0978d08518f0a146df5574cc8fafc Reviewed-on: https://gerrit.libreoffice.org/21742 Reviewed-by: jan iversen Tested-by: jan iversen --- include/tools/color.hxx | 2 ++ svtools/source/config/colorcfg.cxx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/tools/color.hxx b/include/tools/color.hxx index 9162a9f6a416..e7fb8ec2516d 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -44,6 +44,8 @@ typedef sal_uInt32 ColorData; #define COL_MAGENTA RGB_COLORDATA( 0x80, 0x00, 0x80 ) #define COL_BROWN RGB_COLORDATA( 0x80, 0x80, 0x00 ) #define COL_GRAY RGB_COLORDATA( 0x80, 0x80, 0x80 ) +#define COL_GRAY3 RGB_COLORDATA( 0xCC, 0xCC, 0xCC ) +#define COL_GRAY7 RGB_COLORDATA( 0x66, 0x66, 0x66 ) #define COL_LIGHTGRAY RGB_COLORDATA( 0xC0, 0xC0, 0xC0 ) #define COL_LIGHTBLUE RGB_COLORDATA( 0x00, 0x00, 0xFF ) #define COL_LIGHTGREEN RGB_COLORDATA( 0x00, 0xFF, 0x00 ) diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index 1abdc6c59f6c..bb6db6978998 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -437,10 +437,10 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry) COL_LIGHTGREEN, // HTMLCOMMENT COL_LIGHTRED, // HTMLKEYWORD COL_GRAY, // HTMLUNKNOWN - 0xcccccc, // CALCGRID + COL_GRAY3, // CALCGRID COL_BLUE, //CALCPAGEBREAK 0x2300dc, //CALCPAGEBREAKMANUAL - 0x666666, //CALCPAGEBREAKAUTOMATIC + COL_GRAY7, //CALCPAGEBREAKAUTOMATIC COL_LIGHTBLUE, // CALCDETECTIVE COL_LIGHTRED, // CALCDETECTIVEERROR 0xef0fff, // CALCREFERENCE -- cgit v1.2.3