summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-04-23 17:06:10 +0200
committerAndre Fischer <af@openoffice.org>2010-04-23 17:06:10 +0200
commit8c9901906bbc6b59baa0b2ef918b7e7fe89538b8 (patch)
tree00bb5a4e38becdbcde4e238092a5c500b55d6835 /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
parent8c6409990af3f38230a465801c7aba39e127e338 (diff)
renaissance1: #i107215# Reorganized the selection function. Introduced button bar.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 2b068642930a..4afc5a74ccf0 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -63,6 +63,7 @@ class SlideSorterModel;
namespace sd { namespace slidesorter { namespace view {
+class ButtonBar;
class LayeredDevice;
class Layouter;
class PageObjectPainter;
@@ -198,18 +199,19 @@ public:
/** 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,
const bool bAnimate = true);
+ void UpdatePageUnderMouse (
+ const model::SharedPageDescriptor& rpDescriptor,
+ const Point& rMousePosition,
+ const bool bIsMouseButtonDown,
+ const bool bAnimate = true);
void SetPageUnderMouse (
const model::SharedPageDescriptor& rpDescriptor,
const bool bAnimate = true);
- void SetButtonUnderMouse (
- const sal_Int32 nButtonIndex,
- const bool bForce = false);
bool SetState (
const model::SharedPageDescriptor& rpDescriptor,
@@ -237,6 +239,8 @@ public:
SharedSdWindow mpWindow;
};
+ ButtonBar& GetButtonBar (void) const;
+
protected:
virtual void Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint);
@@ -255,18 +259,20 @@ private:
Layouter::Orientation meOrientation;
::boost::shared_ptr<controller::Properties> mpProperties;
model::SharedPageDescriptor mpPageUnderMouse;
- bool mbIsMouseOverIndicationAllowed;
+ ::rtl::OUString msHelpText;
sal_Int32 mnButtonUnderMouse;
::boost::shared_ptr<PageObjectPainter> mpPageObjectPainter;
::boost::shared_ptr<SelectionPainter> mpSelectionPainter;
Region maRedrawRegion;
SharedILayerPainter mpBackgroundPainter;
+ ::boost::scoped_ptr<ButtonBar> mpButtonBar;
/** Determine the visibility of all page objects.
*/
void DeterminePageObjectVisibilities (void);
void UpdatePreciousFlags (void);
+ void Rearrange (void);
};