diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-03 14:04:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-03 14:04:05 +0000 |
commit | daa7754026ba5b025076b90f7a4427cd5820e736 (patch) | |
tree | 539856efe7c9d06a3e2374679d0fa4540ff03b35 /include/vcl | |
parent | fbea89b6b2a4a91fecc4200d59bf03166c3f8908 (diff) |
gtk3: position the native popup menus exactly where we want them
Change-Id: I2594925cba1f7c9c90178906d9c782024ad1cf4f
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/floatwin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index e5bb9a5603df..d414fb811a93 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -126,11 +126,11 @@ public: SAL_DLLPRIVATE bool ImplIsFloatPopupModeWindow( const vcl::Window* pWindow ); SAL_DLLPRIVATE void ImplSetMouseDown() { mbMouseDown = true; } SAL_DLLPRIVATE bool ImplIsMouseDown() const { return mbMouseDown; } - SAL_DLLPRIVATE static Point ImplCalcPos( vcl::Window* pWindow, + 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); + static Point ImplConvertToAbsPos(vcl::Window* pReference, const Point& rPos); + 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; } |