diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-16 15:34:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-16 21:20:46 +0200 |
commit | f9725762112ba543d57c6cfa26942b0a5b28b50e (patch) | |
tree | 257e7e0fff57d9a2f0c8a9bb784be954fec64cee /include | |
parent | 056c1284d6a68525002c54bef10834cc135385db (diff) |
support set_font for weld::Button
Change-Id: Ie56ba126bf7677e1605c0080064aa463f9277033
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104441
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/weld.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 433322aae085..e463084da93b 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -1280,6 +1280,9 @@ public: virtual void set_label_line_wrap(bool wrap) = 0; void clicked() { signal_clicked(); } + // font size is in points, not pixels, e.g. see Window::[G]etPointFont + virtual void set_font(const vcl::Font& rFont) = 0; + void connect_clicked(const Link<Button&, void>& rLink) { m_aClickHdl = rLink; } }; |