diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-19 15:08:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-20 16:21:06 +0200 |
commit | 6d80ef15d12b940422e9d56b90999a42c92401f7 (patch) | |
tree | 8735caff14dbc8391032ce6959d7905ffad12510 /include | |
parent | 5110beb7f0821b7c63f9947a6df7256da559b6c9 (diff) |
weld Application Colors page
Change-Id: Ib074afdb9cf57decb435bb6ec3867af5989019ef
Reviewed-on: https://gerrit.libreoffice.org/79225
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/colorbox.hxx | 1 | ||||
-rw-r--r-- | include/vcl/weld.hxx | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx index 26c6bc1fc1bb..bb6af59ae15b 100644 --- a/include/svx/colorbox.hxx +++ b/include/svx/colorbox.hxx @@ -138,6 +138,7 @@ public: void hide() { m_xButton->hide(); } void set_visible(bool bShow) { m_xButton->set_visible(bShow); } void set_help_id(const OString& rHelpId) { m_xButton->set_help_id(rHelpId); } + void connect_focus_in(const Link<weld::Widget&, void>& rLink) { m_xButton->connect_focus_in(rLink); } weld::MenuButton& get_widget() { return *m_xButton; } }; diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index d3fd087333df..8fd763e434ac 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -134,6 +134,13 @@ public: virtual void set_margin_top(int nMargin) = 0; virtual void set_margin_bottom(int nMargin) = 0; + virtual void set_margin_left(int nMargin) = 0; + virtual void set_margin_right(int nMargin) = 0; + + virtual int get_margin_top() const = 0; + virtual int get_margin_bottom() const = 0; + virtual int get_margin_left() const = 0; + virtual int get_margin_right() const = 0; virtual bool get_extents_relative_to(Widget& rRelative, int& x, int& y, int& width, int& height) = 0; |