diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-07 22:36:24 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-07 22:36:24 +0200 |
commit | 6f5988cdd0eb19dc1c4316db9f3a38787fbad2e5 (patch) | |
tree | e3fb87da4139d4019b72db7c6550ed892552cee6 /svtools/source/toolpanel/toolpaneldeck.cxx | |
parent | a912db019040b901bdd05a17b319316004c1a663 (diff) |
slidecopy: outsourced the TaskPane/ToolPanel's drawer (TitleBar, type TBT_CONTROL_TITLE) from sd to svtools, to be used with generic tool panel decks, not only within sd
diff -r b53c58c139b0 -r 348318a2bab4 default_images/sd/res/triangle_down.png
Binary file default_images/sd/res/triangle_down.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/sd/res/triangle_down_hc.png
Binary file default_images/sd/res/triangle_down_hc.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/sd/res/triangle_right.png
Binary file default_images/sd/res/triangle_right.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/sd/res/triangle_right_hc.png
Binary file default_images/sd/res/triangle_right_hc.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/svtools/res/triangle_down.png
Binary file default_images/svtools/res/triangle_down.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/svtools/res/triangle_down_hc.png
Binary file default_images/svtools/res/triangle_down_hc.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/svtools/res/triangle_right.png
Binary file default_images/svtools/res/triangle_right.png has changed
diff -r b53c58c139b0 -r 348318a2bab4 default_images/svtools/res/triangle_right_hc.png
Binary file default_images/svtools/res/triangle_right_hc.png has changed
Diffstat (limited to 'svtools/source/toolpanel/toolpaneldeck.cxx')
-rwxr-xr-x | svtools/source/toolpanel/toolpaneldeck.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svtools/source/toolpanel/toolpaneldeck.cxx b/svtools/source/toolpanel/toolpaneldeck.cxx index 8c17802e8a48..349677a1e9ce 100755 --- a/svtools/source/toolpanel/toolpaneldeck.cxx +++ b/svtools/source/toolpanel/toolpaneldeck.cxx @@ -125,7 +125,7 @@ namespace svt bool FocusActivePanel(); void SetAccessibleParentWindow( Window* i_pAccessibleParent ); - Window* GetAccessibleParentWindow() const { return m_pAccessibleParent ? m_pAccessibleParent : m_rDeck.GetAccessibleParentWindow(); } + Window* GetAccessibleParentWindow() const { return m_pAccessibleParent; } protected: // IToolPanelDeckListener @@ -525,7 +525,10 @@ namespace svt //-------------------------------------------------------------------- Window* ToolPanelDeck::GetAccessibleParentWindow() const { - return m_pImpl->GetAccessibleParentWindow(); + Window* pAccessibleParent( m_pImpl->GetAccessibleParentWindow() ); + if ( !pAccessibleParent ) + pAccessibleParent = Window::GetAccessibleParentWindow(); + return pAccessibleParent; } //-------------------------------------------------------------------- |