From f2e00dfe07403421a2dd01b12ae6d22080d41e53 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 28 Dec 2016 20:03:37 +0100 Subject: Prefs Dialog: consistent headings, spacing, reduce width,.. --- gtk2_ardour/option_editor.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/option_editor.h') diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index e32c489f27..894abdc618 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -115,15 +115,21 @@ public: void parameter_changed (std::string const &) = 0; void set_state_from_config () = 0; - void add_to_page (OptionEditorPage *); + virtual void add_to_page (OptionEditorPage *); - Gtk::Widget& tip_widget() { return *_box->children().front().get_widget(); } + Gtk::Widget& tip_widget() { return *_box->children().front().get_widget(); } protected: Gtk::VBox* _box; ///< constituent box for subclasses to add widgets to }; +class OptionEditorPageBox : public OptionEditorBox +{ +public: + virtual void add_to_page (OptionEditorPage *); +}; + class RcConfigDisplay : public OptionEditorComponent { public: -- cgit v1.2.3