Ardour  9.0-pre0-582-g084a23a80d
HSliderOption Class Reference

#include <option_editor.h>

Inheritance diagram for HSliderOption:
[legend]

Public Member Functions

 HSliderOption (std::string const &i, std::string const &n, sigc::slot< float > g, sigc::slot< bool, float > s, double lower, double upper, double step_increment=1, double page_increment=10, double mult=1.0, bool logarithmic=false)
 
void set_state_from_config ()
 
virtual void changed ()
 
void add_to_page (OptionEditorPage *p)
 
void set_sensitive (bool yn)
 
Gtk::Widgettip_widget ()
 
Gtk::HScalescale ()
 
- 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 ()
 

Protected Attributes

sigc::slot< float > _get
 
sigc::slot< bool, float > _set
 
Gtk::Adjustment _adj
 
Gtk::HScale _hscale
 
Gtk::Label_label
 
double _mult
 
bool _log
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 

Detailed Description

Component which provides the UI for a GTK HScale.

Definition at line 409 of file option_editor.h.

Constructor & Destructor Documentation

◆ HSliderOption()

HSliderOption::HSliderOption ( std::string const &  i,
std::string const &  n,
sigc::slot< float >  g,
sigc::slot< bool, float >  s,
double  lower,
double  upper,
double  step_increment = 1,
double  page_increment = 10,
double  mult = 1.0,
bool  logarithmic = false 
)

Member Function Documentation

◆ add_to_page()

void HSliderOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

◆ changed()

virtual void HSliderOption::changed ( )
virtual

◆ scale()

Gtk::HScale& HSliderOption::scale ( )
inline

Definition at line 430 of file option_editor.h.

◆ set_sensitive()

void HSliderOption::set_sensitive ( bool  yn)

◆ set_state_from_config()

void HSliderOption::set_state_from_config ( )
virtual

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

Implements Option.

◆ tip_widget()

Gtk::Widget& HSliderOption::tip_widget ( )
inlinevirtual

Implements OptionEditorComponent.

Definition at line 429 of file option_editor.h.

Member Data Documentation

◆ _adj

Gtk::Adjustment HSliderOption::_adj
protected

Definition at line 435 of file option_editor.h.

◆ _get

sigc::slot<float> HSliderOption::_get
protected

Definition at line 433 of file option_editor.h.

◆ _hscale

Gtk::HScale HSliderOption::_hscale
protected

Definition at line 436 of file option_editor.h.

◆ _label

Gtk::Label* HSliderOption::_label
protected

Definition at line 437 of file option_editor.h.

◆ _log

bool HSliderOption::_log
protected

Definition at line 439 of file option_editor.h.

◆ _mult

double HSliderOption::_mult
protected

Definition at line 438 of file option_editor.h.

◆ _set

sigc::slot<bool, float> HSliderOption::_set
protected

Definition at line 434 of file option_editor.h.


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