summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2009-11-20 12:42:09 +0000
committerAndre Fischer <af@openoffice.org>2009-11-20 12:42:09 +0000
commiteaa648fe8e82fca7806f93d45dbf751205a9ffa3 (patch)
tree4cc6552fca4da0dbdd8fe28ddb8f2a5fe8f6aa73 /sd/source/ui/slidesorter/inc
parent4f667eb747d0357214e63fe02f6e47ba953e50b8 (diff)
#i107049# Do not scroll focus indicator into view when slide sorter is focused.
Diffstat (limited to 'sd/source/ui/slidesorter/inc')
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
index 00678c83058d..4384e1a66d9d 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
@@ -87,8 +87,11 @@ public:
void MoveFocus (FocusMoveDirection eDirection);
/** Show the focus indicator of the current slide.
+ @param bScrollToFocus
+ When <TRUE/> (the default) then the view is scrolled so that the
+ focus rectangle lies inside its visible area.
*/
- void ShowFocus (void);
+ void ShowFocus (const bool bScrollToFocus = true);
/** Hide the focus indicator.
*/
@@ -215,8 +218,13 @@ private:
made visible.
@param pDescriptor
When NULL is given then the call is ignored.
+ @param bScrollToFocus
+ When <TRUE/> (the default) then the view is scrolled so that the
+ focus rectangle lies inside its visible area.
*/
- void ShowFocusIndicator (const model::SharedPageDescriptor& rpDescriptor);
+ void ShowFocusIndicator (
+ const model::SharedPageDescriptor& rpDescriptor,
+ const bool bScrollToFocus);
/** Call all currently registered listeners that a focus change has
happended. The focus may be hidden or shown or moved from one page