summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-06-30 17:53:49 +0200
committerJan Holesovsky <kendy@collabora.com>2015-06-30 17:57:39 +0200
commit1cf7e272f7731978695f4bcd8fbdf85766d4f14e (patch)
treed237e0fa85087b415fb28d328d354480e3d841dd /include
parent7387cdbc41924a85cc48e6b68563c91e35b3915c (diff)
tdf#90452: Templates should adhere to the recent docs colors too.
Change-Id: I5df89581796eca4e48e0a305d4319e4674f8dd87
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/thumbnailview.hxx9
-rw-r--r--include/sfx2/thumbnailviewitem.hxx1
2 files changed, 6 insertions, 4 deletions
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 9000d32132de..bf0ea16e12f7 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -324,10 +324,11 @@ protected:
bool mbIsTransientChildrenDisabled : 1;
bool mbHasVisibleItems : 1;
bool mbShowTooltips : 1;
- Color maFillColor;
- Color maTextColor;
- Color maHighlightColor;
- Color maHighlightTextColor;
+ Color maFillColor; ///< Background color of the thumbnail view widget.
+ Color maTextColor; ///< Text color.
+ Color maHighlightColor; ///< Color of the highlight (background) of the hovered / selected item.
+ Color maHighlightTextColor; ///< Color of the text for the higlighted item.
+ double mfHighlightTransparence; ///< Transparence of the highlight.
Link<> maItemStateHdl;
ThumbnailItemAttributes* mpItemAttrs;
diff --git a/include/sfx2/thumbnailviewitem.hxx b/include/sfx2/thumbnailviewitem.hxx
index ab2194b1c3d6..8929b8ed115a 100644
--- a/include/sfx2/thumbnailviewitem.hxx
+++ b/include/sfx2/thumbnailviewitem.hxx
@@ -60,6 +60,7 @@ struct ThumbnailItemAttributes
basegfx::BColor aTextColor;
basegfx::BColor aHighlightColor;
basegfx::BColor aHighlightTextColor;
+ double fHighlightTransparence;
basegfx::B2DVector aFontSize;
drawinglayer::attribute::FontAttribute aFontAttr;
};