diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-28 20:03:37 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-28 22:19:37 +0100 |
commit | f2e00dfe07403421a2dd01b12ae6d22080d41e53 (patch) | |
tree | 9cf009c3fb1bcff6b58989d7a136fbd879c4e10f /gtk2_ardour/option_editor.h | |
parent | 9b9cb4beaade6b3349d543d3490da7cd6add6154 (diff) |
Prefs Dialog: consistent headings, spacing, reduce width,..
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r-- | gtk2_ardour/option_editor.h | 10 |
1 files changed, 8 insertions, 2 deletions
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: |