diff options
author | Andre Fischer <af@openoffice.org> | 2010-05-26 16:58:05 +0200 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2010-05-26 16:58:05 +0200 |
commit | 74383bb1da34d1f58968689489dd0888f94679dd (patch) | |
tree | c1a7a7b742517154a52aab40fd56879806945124 /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | |
parent | 6cd3d5260d9e33c20b32664eb1ffb46ca6010e00 (diff) |
renaissance1: #i107215# Tool tips are now displayed after a delay.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx index 427dcfa03a7c..449d76e7a9c2 100644 --- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx @@ -68,6 +68,7 @@ class LayeredDevice; class Layouter; class PageObjectPainter; class SelectionPainter; +class ToolTip; class SlideSorterView @@ -240,14 +241,7 @@ public: }; ButtonBar& GetButtonBar (void) const; - - /** Show a tool tip with either the given help text, or when that is - empty, with the content of msHelpText. - */ - void SetHelpText ( - const ::rtl::OUString& rsHelpText, - const bool bIsDefaultHelpText); - const ::rtl::OUString& GetDefaultHelpText (void) const; + ToolTip& GetToolTip (void) const; protected: virtual void Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint); @@ -267,15 +261,13 @@ private: Layouter::Orientation meOrientation; ::boost::shared_ptr<controller::Properties> mpProperties; model::SharedPageDescriptor mpPageUnderMouse; - ::rtl::OUString msDefaultHelpText; - ::rtl::OUString msCurrentHelpText; - ULONG mnHelpWindowHandle; sal_Int32 mnButtonUnderMouse; ::boost::shared_ptr<PageObjectPainter> mpPageObjectPainter; ::boost::shared_ptr<SelectionPainter> mpSelectionPainter; Region maRedrawRegion; SharedILayerPainter mpBackgroundPainter; ::boost::scoped_ptr<ButtonBar> mpButtonBar; + ::boost::scoped_ptr<ToolTip> mpToolTip; bool mbIsRearrangePending; /** Determine the visibility of all page objects. |