Ardour  9.0-pre0-582-g084a23a80d
FaderOption Class Reference

#include <option_editor.h>

Inheritance diagram for FaderOption:
[legend]

Public Member Functions

 FaderOption (std::string const &, std::string const &, sigc::slot< ARDOUR::gain_t > g, sigc::slot< bool, ARDOUR::gain_t > s)
 
void set_state_from_config ()
 
void add_to_page (OptionEditorPage *)
 
Gtk::Widgettip_widget ()
 
- Public Member Functions inherited from Option
 Option (std::string const &i, std::string const &n)
 
void parameter_changed (std::string const &p)
 
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 PBD::Configuration::Metadata const * get_metadata () const
 
void set_metadata (PBD::Configuration::Metadata const &)
 
void highlight ()
 
void end_highlight ()
 

Private Member Functions

void db_changed ()
 
void on_activate ()
 
bool on_key_press (GdkEventKey *ev)
 

Private Attributes

Gtk::Adjustment _db_adjustment
 
ArdourWidgets::HSliderController_db_slider
 
Gtk::Entry _db_display
 
Gtk::Label_label
 
Gtk::HBox _box
 
Gtk::VBox _fader_centering_box
 
sigc::slot< ARDOUR::gain_t_get
 
sigc::slot< bool, ARDOUR::gain_t_set
 

Additional Inherited Members

- Protected Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 
- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 
- Protected Attributes inherited from OptionEditorComponent
std::string _note
 
ArdourWidgets::Frame_frame
 
PBD::Configuration::Metadata const * _metadata
 

Detailed Description

Definition at line 594 of file option_editor.h.

Constructor & Destructor Documentation

◆ FaderOption()

FaderOption::FaderOption ( std::string const &  ,
std::string const &  ,
sigc::slot< ARDOUR::gain_t g,
sigc::slot< bool, ARDOUR::gain_t s 
)

Member Function Documentation

◆ add_to_page()

void FaderOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

◆ db_changed()

void FaderOption::db_changed ( )
private

◆ on_activate()

void FaderOption::on_activate ( )
private

◆ on_key_press()

bool FaderOption::on_key_press ( GdkEventKey ev)
private

◆ set_state_from_config()

void FaderOption::set_state_from_config ( )
virtual

Called to instruct the object to set its UI state from the configuration

Implements Option.

◆ tip_widget()

Gtk::Widget& FaderOption::tip_widget ( )
virtual

Implements OptionEditorComponent.

Member Data Documentation

◆ _box

Gtk::HBox FaderOption::_box
private

Definition at line 613 of file option_editor.h.

◆ _db_adjustment

Gtk::Adjustment FaderOption::_db_adjustment
private

Definition at line 609 of file option_editor.h.

◆ _db_display

Gtk::Entry FaderOption::_db_display
private

Definition at line 611 of file option_editor.h.

◆ _db_slider

ArdourWidgets::HSliderController* FaderOption::_db_slider
private

Definition at line 610 of file option_editor.h.

◆ _fader_centering_box

Gtk::VBox FaderOption::_fader_centering_box
private

Definition at line 614 of file option_editor.h.

◆ _get

sigc::slot<ARDOUR::gain_t> FaderOption::_get
private

Definition at line 615 of file option_editor.h.

◆ _label

Gtk::Label* FaderOption::_label
private

Definition at line 612 of file option_editor.h.

◆ _set

sigc::slot<bool, ARDOUR::gain_t> FaderOption::_set
private

Definition at line 616 of file option_editor.h.


The documentation for this class was generated from the following file: