summaryrefslogtreecommitdiff
path: root/include/vcl/weld.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-07 17:17:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-07 21:30:44 +0200
commitec8961c08dda313a22acf85638b0db3071e22db7 (patch)
tree1e6800e5e87816e75a2b5bb83e3a02798e93f6d5 /include/vcl/weld.hxx
parent8ee2063fa8e0871fb91e1e92c52dbc5ecb73c9ab (diff)
allow setting combobox font
so it can be made italic for the font name combobox Change-Id: I35e819b1401d2ebbaa1e9ce8e2ce9e031662c999 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91840 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r--include/vcl/weld.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 3f3689fccc61..7dbe6643491e 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -677,6 +677,9 @@ public:
virtual void set_entry_completion(bool bEnable, bool bCaseSensitive = false) = 0;
virtual void set_entry_placeholder_text(const OUString& rText) = 0;
+ // font size is in points, not pixels, e.g. see Window::[G]etPointFont
+ virtual void set_entry_font(const vcl::Font& rFont) = 0;
+
virtual bool get_popup_shown() const = 0;
void connect_entry_insert_text(const Link<OUString&, bool>& rLink)