diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-12 20:39:38 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-12 20:39:38 +0100 |
commit | bb7c857a698f1eb208bd83a57eeca2b81b75cdb5 (patch) | |
tree | fa5630a19d2660d2ec81fa1e825176ce4c63cd02 /gtk2_ardour/option_editor.h | |
parent | 239ea8670b8f341887bc09bbdd9cb67e1e02b788 (diff) |
add rc-config widget to display text-config/paths (read only)
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r-- | gtk2_ardour/option_editor.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index 07e7fbeca8..76370619aa 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -121,6 +121,22 @@ protected: Gtk::VBox* _box; ///< constituent box for subclasses to add widgets to }; +class RcConfigDisplay : public OptionEditorComponent +{ +public: + RcConfigDisplay (std::string const &, std::string const &, sigc::slot<std::string>, char s = '\0'); + void add_to_page (OptionEditorPage *); + void parameter_changed (std::string const & p); + void set_state_from_config (); + Gtk::Widget& tip_widget() { return *_info; } +protected: + sigc::slot<std::string> _get; + Gtk::Label* _label; + Gtk::Label* _info; + std::string _id; + char _sep; +}; + class RcActionButton : public OptionEditorComponent { public: |