diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-06-30 16:13:23 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-06-30 17:57:38 +0200 |
commit | 562d2c3337051da5d98d55a28dc391dab387b692 (patch) | |
tree | 23f2c945057aa1919cc099cd6542aa1461e0bf1f /sfx2/source/control/recentdocsview.cxx | |
parent | 1a8915ef8302b13b781977209ae1fa41f5f659dc (diff) |
tdf#90452: Implement the new design of the startcenter.
See the comment 45 in the bug for the agreed design.
Change-Id: I428f339df48f530f606525434a4a2be8a79acaab
Diffstat (limited to 'sfx2/source/control/recentdocsview.cxx')
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index ad451197d148..b396719d19ff 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -32,6 +32,8 @@ #include <com/sun/star/frame/XFrame.hpp> #include <templateview.hrc> +#include <officecfg/Office/Common.hxx> + using namespace ::com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; @@ -67,6 +69,11 @@ RecentDocsView::RecentDocsView( vcl::Window* pParent ) SetStyle(GetStyle() | WB_VSCROLL); setItemMaxTextLength( mnItemMaxTextLength ); setItemDimensions( mnItemMaxSize, mnItemMaxSize, mnTextHeight, mnItemPadding ); + + maFillColor = Color(officecfg::Office::Common::Help::StartCenter::StartCenterThumbnailsBackgroundColor::get()); + maTextColor = Color(officecfg::Office::Common::Help::StartCenter::StartCenterThumbnailsTextColor::get()); + maHighlightColor = Color(officecfg::Office::Common::Help::StartCenter::StartCenterThumbnailsHighlightColor::get()); + maHighlightTextColor = Color(officecfg::Office::Common::Help::StartCenter::StartCenterThumbnailsHighlightTextColor::get()); } VCL_BUILDER_FACTORY(RecentDocsView) @@ -297,7 +304,6 @@ void RecentDocsView::LoseFocus() ThumbnailView::LoseFocus(); } - void RecentDocsView::Clear() { Invalidate(); |