diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-06-03 10:44:51 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-06-05 12:06:23 +0200 |
commit | 6c4c040d2ebc4371a706c762e7e6707875c43535 (patch) | |
tree | 940377966332042da96563af68e8efe8100a8e96 /svx/Library_svxcore.mk | |
parent | adce63eb131f0b20a1d72797d92f07efcee75ec4 (diff) |
svx: extract theme color generation into ThemeColorPaletteManager
The generation of theme colors generation code is moved to the
ThemeColorPaletteManager class, so it can be reused.
Also change the GetThemeColors return type from std::vector<Color>
to std::shared_ptr<theme::ColorSet> as we can now safely do that
and simplifies things.
Change-Id: I4a54bff889a1f97cb1e30467188dc69e07e8c518
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152588
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/Library_svxcore.mk')
-rw-r--r-- | svx/Library_svxcore.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/Library_svxcore.mk b/svx/Library_svxcore.mk index b0ce4a15165f..ed2298e526c4 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -424,6 +424,7 @@ $(eval $(call gb_Library_add_exception_objects,svxcore,\ svx/source/table/tableundo \ svx/source/table/viewcontactoftableobj \ svx/source/theme/ThemeColorChanger \ + svx/source/theme/ThemeColorPaletteManager \ svx/source/tbxctrls/extrusioncontrols \ svx/source/tbxctrls/fontworkgallery \ svx/source/tbxctrls/linectrl \ |