diff options
Diffstat (limited to 'sd/source/ui/inc/PaneDockingWindow.hxx')
-rw-r--r--[-rwxr-xr-x] | sd/source/ui/inc/PaneDockingWindow.hxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sd/source/ui/inc/PaneDockingWindow.hxx b/sd/source/ui/inc/PaneDockingWindow.hxx index 1874df10dd53..960f09ff796d 100755..100644 --- a/sd/source/ui/inc/PaneDockingWindow.hxx +++ b/sd/source/ui/inc/PaneDockingWindow.hxx @@ -35,6 +35,7 @@ #include <boost/shared_ptr.hpp> class ToolBox; +class SplitWindow; namespace sd { @@ -65,6 +66,24 @@ public: virtual ~PaneDockingWindow (void); virtual void StateChanged( StateChangedType nType ); + virtual void MouseButtonDown (const MouseEvent& rEvent); + /** When docked the given range is passed to the parent SplitWindow. + */ + void SetValidSizeRange (const Range aValidSizeRange); + + enum Orientation { HorizontalOrientation, VerticalOrientation, UnknownOrientation }; + /** When the PaneDockingWindow is docked and managed by a split window + it can derive its orientation from the orientation of the split + window and return either HorizontalOrientation or + VerticalOrientation. + Otherwise UnknownOrientation is returned. + */ + Orientation GetOrientation (void) const; + + /** The current height of the title bar. + */ + sal_Int32 mnTitleBarHeight; + }; } // end of namespace ::sd |