diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-05-08 13:52:56 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-05-08 13:52:56 +0000 |
commit | 1626c325e778d8652b094e353a133fa293e5e23d (patch) | |
tree | 3dbaf4f565e69ad73310997e505c0252b44865fb /sc/inc/detfunc.hxx | |
parent | 7fa69a090bfac2bf5d97442799bc34ebf76c580b (diff) |
#98820# use colors for detective objects from configuration
Diffstat (limited to 'sc/inc/detfunc.hxx')
-rw-r--r-- | sc/inc/detfunc.hxx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx index db101ef14241..bcb1b7061521 100644 --- a/sc/inc/detfunc.hxx +++ b/sc/inc/detfunc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: detfunc.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: sab $ $Date: 2002-05-03 12:01:15 $ + * last change: $Author: nn $ $Date: 2002-05-08 14:51:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,6 +66,10 @@ #include <tools/gen.hxx> #endif +#ifndef _TOOLS_COLOR_HXX +#include <tools/color.hxx> +#endif + class SdrObject; class SdrPage; class String; @@ -92,6 +96,11 @@ enum ScDetectiveObjType class ScDetectiveFunc { + static ColorData nArrowColor; + static ColorData nErrorColor; + static ColorData nCommentColor; + static BOOL bColorsInitialized; + ScDocument* pDoc; USHORT nTab; @@ -166,6 +175,7 @@ public: BOOL HideComment( USHORT nCol, USHORT nRow ); void UpdateAllComments(); // on all tables + void UpdateAllArrowColors(); // on all tables static BOOL IsNonAlienArrow( SdrObject* pObject ); @@ -173,6 +183,12 @@ public: ScAddress& rPosition, ScRange& rSource, BOOL& rRedLine ); void InsertObject( ScDetectiveObjType eType, const ScAddress& rPosition, const ScRange& rSource, BOOL bRedLine ); + + static ColorData GetArrowColor(); + static ColorData GetErrorColor(); + static ColorData GetCommentColor(); + static void InitializeColors(); + static BOOL IsColorsInitialized(); }; |