summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-03-10 18:36:15 +0100
committerAndre Fischer <af@openoffice.org>2010-03-10 18:36:15 +0100
commit6f93ca28fa19531c78dc6a4ddafa4258d1efacd9 (patch)
tree6c90d9d8269f400f6fffee8b4f7280066752ce04 /sd/source/ui/slidesorter/inc
parent538a067d216e87d2f01b144eb7e711ce0dca93b4 (diff)
renaissance1: #i107215# Fixed horizontal scrolling.
Diffstat (limited to 'sd/source/ui/slidesorter/inc')
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx11
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx2
2 files changed, 4 insertions, 9 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
index 7c1f76bf1407..4c3a71e578d7 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
@@ -131,18 +131,13 @@ public:
*/
Rectangle PlaceScrollBars (const Rectangle& rAvailableArea);
- /** Update the vertical scroll bar so that the visible area has the
- given top value.
+ /** Update the vertical and horizontal scroll bars so that the visible
+ area has the given top and left values.
*/
- void SetTop (const sal_Int32 nTop);
+ void SetTopLeft (const Point aNewTopLeft);
sal_Int32 GetTop (void) const;
- /** Update the horizontal scroll bar so that the visible area has the
- given left value.
- */
- void SetLeft (const sal_Int32 nLeft);
-
sal_Int32 GetLeft (void) const;
/** Return the width of the vertical scroll bar, which--when
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 14ee98ffd693..3f327edc471d 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -88,7 +88,7 @@ public:
virtual ~SlideSorterView (void);
void Dispose (void);
- enum Orientation { HORIZONTAL, VERTICAL };
+ enum Orientation { HORIZONTAL, VERTICAL, GRID };
void SetOrientation (const Orientation eOrientation);
Orientation GetOrientation (void) const;