diff options
author | Andre Fischer <af@openoffice.org> | 2010-03-11 16:21:09 +0100 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2010-03-11 16:21:09 +0100 |
commit | b21a5ef9255b086a639c0d615f104062f92f4ab9 (patch) | |
tree | 075296a3d46856cd448e2a21470badf0e3232e4e /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | |
parent | b11b474c8b478f5672b5b64d86ed76dde019d016 (diff) |
renaissance1: #i107215# Fixed drag-and-drop when used with auto-scrolling. Improved hide/show handling.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx index 3f327edc471d..a9cad51af652 100644 --- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx @@ -95,6 +95,7 @@ public: void RequestRepaint (void); void RequestRepaint (const model::SharedPageDescriptor& rDescriptor); void RequestRepaint (const Rectangle& rRepaintBox); + void RequestRepaint (const Region& rRepaintRegion); Rectangle GetModelArea (void); @@ -190,6 +191,11 @@ public: */ void AddSdrObject (SdrObject& rObject); + /** The page under the mouse is not highlighted in some contexts. Call + this method on context changes. + */ + void SetIsMouseOverIndicationAllowed (const bool bIsAllowed); + void UpdatePageUnderMouse (bool bAnimate); void UpdatePageUnderMouse ( const Point& rMousePosition, const bool bIsMouseButtonDown, @@ -241,6 +247,7 @@ private: Orientation meOrientation; ::boost::shared_ptr<controller::Properties> mpProperties; model::SharedPageDescriptor mpPageUnderMouse; + bool mbIsMouseOverIndicationAllowed; sal_Int32 mnButtonUnderMouse; ::boost::shared_ptr<PageObjectPainter> mpPageObjectPainter; ::boost::shared_ptr<SelectionPainter> mpSelectionPainter; |