diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-03 13:52:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-03 13:56:07 +0000 |
commit | fbea89b6b2a4a91fecc4200d59bf03166c3f8908 (patch) | |
tree | 5babc3e0a8e952f7214803f1199fda96048fde35 /include/vcl/floatwin.hxx | |
parent | 509bc5e5cf8129d07b5d8cf22d4bfe9c968303c6 (diff) |
refactor these two bizarro positioning things into reusable chunks
Change-Id: I3f89aca650d31658ce17b3b1496a7babba23bdc6
Diffstat (limited to 'include/vcl/floatwin.hxx')
-rw-r--r-- | include/vcl/floatwin.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index 2e9aa42f3fd0..e5bb9a5603df 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -129,6 +129,8 @@ public: SAL_DLLPRIVATE static Point ImplCalcPos( vcl::Window* pWindow, const Rectangle& rRect, FloatWinPopupFlags nFlags, sal_uInt16& rArrangeIndex ); + SAL_DLLPRIVATE static Point ImplConvertToAbsPos(vcl::Window* pReference, const Point& rPos); + SAL_DLLPRIVATE static Rectangle ImplConvertToAbsPos(vcl::Window* pReference, const Rectangle& rRect); SAL_DLLPRIVATE void ImplEndPopupMode( FloatWinPopupEndFlags nFlags = FloatWinPopupEndFlags::NONE, VclPtr<vcl::Window> xFocusId = nullptr ); SAL_DLLPRIVATE Rectangle& ImplGetItemEdgeClipRect(); SAL_DLLPRIVATE bool ImplIsInPrivatePopupMode() const { return mbInPopupMode; } |