summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-19 11:45:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-19 21:47:54 +0100
commit04c5aef876dc4dbeff96f772254b6a7edb6d8433 (patch)
tree10bcf57c81b2f27c1c3cf072c4dbb9d2ab0aaefb /include
parent2ed0c2f7ce1ac80dd0315043eb656fff41f24bfc (diff)
add placement to Popover popup_at_rect
Change-Id: Iaa12a48f62037dd985d526993a07762b10bd0cee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125474 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index b25e9abe5383..561baaaa256b 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -2358,7 +2358,9 @@ protected:
void signal_closed() { m_aCloseHdl.Call(*this); }
public:
- virtual void popup_at_rect(weld::Widget* pParent, const tools::Rectangle& rRect) = 0;
+ virtual void popup_at_rect(weld::Widget* pParent, const tools::Rectangle& rRect,
+ Placement ePlace = Placement::Under)
+ = 0;
virtual void popdown() = 0;
void connect_closed(const Link<weld::Popover&, void>& rLink) { m_aCloseHdl = rLink; }