summaryrefslogtreecommitdiff
path: root/include/sfx2/templatedefaultview.hxx
diff options
context:
space:
mode:
authorEfe Gürkan YALAMAN <efeyalaman@gmail.com>2014-09-16 02:30:59 +0300
committerCaolán McNamara <caolanm@redhat.com>2014-09-25 12:28:41 +0000
commit5911154175b381b96991ec13c3d3d4619ad13d1d (patch)
treee7b3836e9a8dba560455bc28966960168518374b /include/sfx2/templatedefaultview.hxx
parent86af599c81dc695400b0cc999f559bcf9070e8b9 (diff)
Start Center Template Manager Tweaks
Template Manager and the related Start Center view has same transparent highlight color as Recent Documents. Also Template thumbnail containers should have the same size as Recent Docs view. Change-Id: I22e417a5c5ca5a849577d5a438a193371368fe24 Reviewed-on: https://gerrit.libreoffice.org/11467 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2/templatedefaultview.hxx')
-rw-r--r--include/sfx2/templatedefaultview.hxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/sfx2/templatedefaultview.hxx b/include/sfx2/templatedefaultview.hxx
new file mode 100644
index 000000000000..005201b364d7
--- /dev/null
+++ b/include/sfx2/templatedefaultview.hxx
@@ -0,0 +1,31 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
+#define INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
+
+#include <sfx2/templatelocalview.hxx>
+#include <sfx2/recentdocsviewitem.hxx>
+
+class SFX2_DLLPUBLIC TemplateDefaultView : public TemplateLocalView
+{
+public:
+ TemplateDefaultView(Window *pParent);
+ virtual ~TemplateDefaultView();
+
+ virtual void reload() SAL_OVERRIDE;
+protected:
+ long mnItemMaxSize;
+ long mnTextHeight;
+ long mnItemPadding;
+ size_t mnLastMouseDownItem;
+};
+
+#endif // INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */