summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2013-09-15 19:37:06 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-09-19 13:34:15 +0000
commit806919adf9c9bafbaba92c2d2ab35d2e2f9863f8 (patch)
tree06f6bd92eb7154bf47b9a1384a17a8e7ca80f3a5 /include/sfx2
parent58d8a11a1b44d5f07c43f96c7e4ab03dc549ef27 (diff)
Make scrolling in ThumbnailView smoother and not per-line
Change-Id: I3df50dc953c6a5123b62f129b6e303ff682c6d9b Reviewed-on: https://gerrit.libreoffice.org/5951 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/templateabstractview.hxx2
-rw-r--r--include/sfx2/thumbnailview.hxx3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx
index 8648205f82bf..962e75477762 100644
--- a/include/sfx2/templateabstractview.hxx
+++ b/include/sfx2/templateabstractview.hxx
@@ -131,6 +131,8 @@ protected:
virtual void OnItemDblClicked(ThumbnailViewItem *pItem);
+ virtual void Paint( const Rectangle& rRect );
+
protected:
sal_uInt16 mnCurRegionId;
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 30037a6da632..bfb08bc8b4fa 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -325,6 +325,9 @@ protected:
long mnDisplayHeight; // Height of the data display box (name, etc)
long mnVisLines;
long mnLines;
+
+ int mnFineness;
+
sal_uInt16 mnHighItemId;
sal_uInt16 mnCols;
sal_uInt16 mnFirstLine;