summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Deck.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-06 13:12:20 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:29 +0100
commitd0d5b97d286d20e3573c5ddd6366d3da1889dd85 (patch)
tree720b37ce82dbdd2c9a1051affdba5282d8cb86cc /sfx2/source/sidebar/Deck.hxx
parent7f62fc9cb680818d394347cd591cf0bc8dc2fa92 (diff)
Resolves: #i122230# Fixed focus traveling in the sidebar
(cherry picked from commit bab3ddce4b3d5330835494f54b68406335821b76) Conflicts: sfx2/source/sidebar/FocusManager.cxx Change-Id: I8853a92da3c4fe41a0110c630cc6af556ffc2ce4
Diffstat (limited to 'sfx2/source/sidebar/Deck.hxx')
-rw-r--r--sfx2/source/sidebar/Deck.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/Deck.hxx b/sfx2/source/sidebar/Deck.hxx
index 07cdaecb6d71..e3c3b6f83ea6 100644
--- a/sfx2/source/sidebar/Deck.hxx
+++ b/sfx2/source/sidebar/Deck.hxx
@@ -61,6 +61,12 @@ public:
void RequestLayout (void);
::Window* GetPanelParentWindow (void);
+ /** Try to make the panel completely visible.
+ When the whole panel does not fit then make its top visible
+ and it off at the bottom.
+ */
+ void ShowPanel (const Panel& rPanel);
+
virtual void Paint (const Rectangle& rUpdateArea);
virtual void DataChanged (const DataChangedEvent& rEvent);