From ec8961c08dda313a22acf85638b0db3071e22db7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 7 Apr 2020 17:17:45 +0100 Subject: allow setting combobox font MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/vcl/weld.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/vcl/weld.hxx') 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& rLink) -- cgit