summaryrefslogtreecommitdiff
path: root/sc/inc/viewopti.hxx
diff options
context:
space:
mode:
authorParis Oplopoios <paris.oplopoios@collabora.com>2023-05-23 03:50:30 +0300
committerParis Oplopoios <parisoplop@gmail.com>2023-06-02 18:22:34 +0200
commit53d5cc538d9c274cc4d7dfe38229f0f54706b403 (patch)
treeaca738c81cbcc8eff442393f511ef3233c35c8a1 /sc/inc/viewopti.hxx
parent710af7d183370ca6fdd2699ea9f4550d9e53918a (diff)
Add Calc view separation for tiled rendering
Calc now uses different colors based on the current view theme to paint tiles when using tiled rendering Change-Id: I1ca84371141ff026ad49ec362518ca13c59c7c6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152137 Tested-by: Paris Oplopoios <parisoplop@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit f4eb56b8b9ff3492e0a02fb76eb4ea7b851f4774) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152440 Tested-by: Jenkins Reviewed-by: Paris Oplopoios <parisoplop@gmail.com>
Diffstat (limited to 'sc/inc/viewopti.hxx')
-rw-r--r--sc/inc/viewopti.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index 52b23c86b978..489a3e8c81da 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -95,6 +95,12 @@ public:
void SetGridOptions( const ScGridOptions& rNew ) { aGridOpt = rNew; }
std::unique_ptr<SvxGridItem> CreateGridItem() const;
+ const OUString& GetColorSchemeName() const { return sColorSchemeName; }
+ void SetColorSchemeName( const OUString& rName ) { sColorSchemeName = rName; }
+
+ const Color& GetDocColor() const { return aDocCol; }
+ void SetDocColor(const Color& rDocColor) { aDocCol = rDocColor; }
+
ScViewOptions& operator= ( const ScViewOptions& rCpy );
bool operator== ( const ScViewOptions& rOpt ) const;
bool operator!= ( const ScViewOptions& rOpt ) const { return !(operator==(rOpt)); }
@@ -105,6 +111,10 @@ private:
Color aGridCol;
OUString aGridColName;
ScGridOptions aGridOpt;
+ // The name of the color scheme
+ OUString sColorSchemeName = "Default";
+ // The background color of the document
+ Color aDocCol;
};
// Item for the options dialog - View