diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-02 16:06:12 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-06-06 07:05:47 +0000 |
commit | a6ea18a9cc83a85f4bf4fce78b7dbef3d1a419c6 (patch) | |
tree | 0e455385028d6fd3c5ed00436081027e38ede7f7 /include/sfx2/templateviewitem.hxx | |
parent | 268a518a1ac1698a769dbce17e52ac99d7737ac4 (diff) |
Mark Default Templates in Template Manager
Change-Id: I1dff486605efce09e862d2924b24949601ae0f17
Reviewed-on: https://gerrit.libreoffice.org/25816
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2/templateviewitem.hxx')
-rw-r--r-- | include/sfx2/templateviewitem.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sfx2/templateviewitem.hxx b/include/sfx2/templateviewitem.hxx index 180444ef9fb8..10d4634e4d52 100644 --- a/include/sfx2/templateviewitem.hxx +++ b/include/sfx2/templateviewitem.hxx @@ -24,6 +24,10 @@ public: const OUString& getPath () const { return maPath; } + void showDefaultIcon(bool bVal) { mbIsDefaultTemplate = bVal; } + + Rectangle getDefaultIconArea() const; + virtual void Paint (drawinglayer::processor2d::BaseProcessor2D *pProcessor, const ThumbnailItemAttributes *pAttrs) override; @@ -33,6 +37,8 @@ public: private: OUString maPath; + BitmapEx maDefaultBitmap; + bool mbIsDefaultTemplate; }; #endif // INCLUDED_SFX2_TEMPLATEVIEWITEM_HXX |