diff options
author | Robin Gareus <robin@gareus.org> | 2018-10-02 21:27:55 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-10-02 21:28:49 +0200 |
commit | e01582dd9a66623690eb1e8ebba3c2c2850d05cb (patch) | |
tree | c70bff8df556d736410ef7947bf3be25cd72e4ac /libs/gtkmm2ext/cairo_widget.cc | |
parent | 54f0f37c52caf5452f3f4275a5b334069b1ef785 (diff) |
Prepare a boxy, no round borders, button-style
Diffstat (limited to 'libs/gtkmm2ext/cairo_widget.cc')
-rw-r--r-- | libs/gtkmm2ext/cairo_widget.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/cairo_widget.cc b/libs/gtkmm2ext/cairo_widget.cc index 4cf3fc3ae6..7741de86ca 100644 --- a/libs/gtkmm2ext/cairo_widget.cc +++ b/libs/gtkmm2ext/cairo_widget.cc @@ -34,6 +34,7 @@ static const char* has_cairo_widget_background_info = "has_cairo_widget_background_info"; bool CairoWidget::_flat_buttons = false; +bool CairoWidget::_boxy_buttons = false; bool CairoWidget::_widget_prelight = true; sigc::slot<void,Gtk::Widget*> CairoWidget::focus_handler; @@ -543,6 +544,13 @@ CairoWidget::set_flat_buttons (bool yn) } void +CairoWidget::set_boxy_buttons (bool yn) +{ + _boxy_buttons = yn; +} + + +void CairoWidget::set_widget_prelight (bool yn) { _widget_prelight = yn; |