diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 8 | ||||
-rw-r--r-- | include/vcl/weld.hxx | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 9ebbb3a2696b..199173a390cf 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -172,7 +172,7 @@ namespace svt virtual bool ProcessKey(const KeyEvent& rKEvt); - virtual void SetPointFont(const vcl::Font& rFont); + virtual void SetPointFont(const vcl::Font& rFont) = 0; // chain after the FocusInHdl void SetFocusInHdl(const Link<LinkParamNone*,void>& rHdl) @@ -564,6 +564,8 @@ namespace svt virtual ~CheckBoxControl() override; virtual void dispose() override; + virtual void SetPointFont(const vcl::Font& rFont) override; + void SetToggleHdl(const Link<weld::CheckButton&,void>& rHdl) {m_aToggleLink = rHdl;} // sets a link to call when the text is changed by the user @@ -629,6 +631,8 @@ namespace svt public: ComboBoxControl(BrowserDataWin* pParent); + virtual void SetPointFont(const vcl::Font& rFont) override; + virtual void SetEditableReadOnly(bool bReadOnly) override { m_xWidget->set_entry_editable(!bReadOnly); @@ -695,6 +699,8 @@ namespace svt public: ListBoxControl(BrowserDataWin* pParent); + virtual void SetPointFont(const vcl::Font& rFont) override; + weld::ComboBox& get_widget() { return *m_xWidget; } // sets a link to call when the selection is changed by the user diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 5ca6a468e33c..df036c8fde1a 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -787,6 +787,9 @@ public: virtual void paste_entry_clipboard() = 0; // font size is in points, not pixels, e.g. see Window::[G]etPointFont + virtual void set_font(const vcl::Font& rFont) = 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 vcl::Font get_entry_font() = 0; |