diff options
author | Andre Fischer <af@openoffice.org> | 2010-05-10 14:12:45 +0200 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2010-05-10 14:12:45 +0200 |
commit | f59b182b35a4d9b2d88e193e8e485c316416a125 (patch) | |
tree | 585d2ae69031c983d6b3f6e8e41ac649a655e2ce /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | |
parent | 88efd3930328e67669d4e569c295d5c88b20f5d0 (diff) |
renaissance1: #i107215# Active placement of help text.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx index 19a213ef976e..381ddf5e5210 100644 --- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx @@ -241,6 +241,12 @@ 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, bool bIsDefaultHelpText); + const ::rtl::OUString& GetDefaultHelpText (void) const; + protected: virtual void Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint); @@ -259,7 +265,9 @@ private: Layouter::Orientation meOrientation; ::boost::shared_ptr<controller::Properties> mpProperties; model::SharedPageDescriptor mpPageUnderMouse; - ::rtl::OUString msHelpText; + ::rtl::OUString msDefaultHelpText; + ::rtl::OUString msCurrentHelpText; + ULONG mnHelpWindowHandle; sal_Int32 mnButtonUnderMouse; ::boost::shared_ptr<PageObjectPainter> mpPageObjectPainter; ::boost::shared_ptr<SelectionPainter> mpSelectionPainter; |