Ardour
9.0-pre0-582-g084a23a80d
|
#include <option_editor.h>
Public Member Functions | |
Option (std::string const &i, std::string const &n) | |
void | parameter_changed (std::string const &p) |
virtual void | set_state_from_config ()=0 |
virtual void | add_to_page (OptionEditorPage *)=0 |
std::string | id () const |
Public Member Functions inherited from OptionEditorComponent | |
OptionEditorComponent () | |
virtual | ~OptionEditorComponent () |
void | add_widget_to_page (OptionEditorPage *, Gtk::Widget *) |
void | add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *, bool expand=true) |
void | set_note (std::string const &) |
virtual Gtk::Widget & | tip_widget ()=0 |
virtual PBD::Configuration::Metadata const * | get_metadata () const |
void | set_metadata (PBD::Configuration::Metadata const &) |
void | highlight () |
void | end_highlight () |
Protected Attributes | |
std::string | _id |
std::string | _name |
Protected Attributes inherited from OptionEditorComponent | |
std::string | _note |
ArdourWidgets::Frame * | _frame |
PBD::Configuration::Metadata const * | _metadata |
Additional Inherited Members | |
Protected Member Functions inherited from OptionEditorComponent | |
void | maybe_add_note (OptionEditorPage *, int) |
Base class for components which provide UI to change an option
Definition at line 173 of file option_editor.h.
|
inline |
Construct an Option.
i | Option id (e.g. "plugins-stop-with-transport") |
n | User-visible name (e.g. "Stop plugins when the transport is stopped") |
Definition at line 180 of file option_editor.h.
|
pure virtual |
Called to instruct the object to add itself to an OptionEditorPage
Implements OptionEditorComponent.
Implemented in SpinOption< T >, ComboStringOption, HSliderOption, ComboOption< T >, ComboOption< float >, ComboOption< ARDOUR::ListenPosition >, ComboOption< ARDOUR::SampleFormat >, SearchPathOption, DirectoryOption, ClockOption, WidgetOption, FaderOption, BoolComboOption, EntryOption, and BoolOption.
|
inline |
Definition at line 197 of file option_editor.h.
|
inlinevirtual |
Called when a configuration parameter's value has changed.
p | parameter name |
Implements OptionEditorComponent.
Reimplemented in WidgetOption.
Definition at line 187 of file option_editor.h.
|
pure virtual |
Called to instruct the object to set its UI state from the configuration
Implements OptionEditorComponent.
Implemented in SearchPathOption, DirectoryOption, ClockOption, WidgetOption, FaderOption, SpinOption< T >, BoolComboOption, ComboStringOption, HSliderOption, ComboOption< T >, ComboOption< float >, ComboOption< ARDOUR::ListenPosition >, ComboOption< ARDOUR::SampleFormat >, EntryOption, and BoolOption.
|
protected |
Definition at line 202 of file option_editor.h.
|
protected |
Definition at line 203 of file option_editor.h.