ardour
Public Member Functions | Private Attributes | List of all members
HSliderOption Class Reference

#include <option_editor.h>

Inheritance diagram for HSliderOption:
Option OptionEditorComponent

Public Member Functions

 HSliderOption (std::string const &i, std::string const &n, Gtk::Adjustment &adj)
 
 HSliderOption (std::string const &i, std::string const &n, Gtk::Adjustment *adj, sigc::slot< float > g, sigc::slot< bool, float > s)
 
void set_state_from_config ()
 
void changed ()
 
void add_to_page (OptionEditorPage *p)
 
void set_sensitive (bool yn)
 
Gtk::Widget & tip_widget ()
 
Gtk::HScale & scale ()
 
- 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
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *)
 
void set_note (std::string const &)
 

Private Attributes

sigc::slot< float > _get
 
sigc::slot< bool, float > _set
 
Gtk::Label * _label
 
Gtk::HScale * _hscale
 
Gtk::Adjustment * _adj
 

Additional Inherited Members

- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 

Detailed Description

Component which provides the UI for a GTK HScale.

Definition at line 321 of file option_editor.h.

Constructor & Destructor Documentation

HSliderOption::HSliderOption ( std::string const &  i,
std::string const &  n,
Gtk::Adjustment &  adj 
)
inline

Construct an ComboOption.

Parameters
iid
nUser-visible name.
gSlot to get the variable's value.
sSlot to set the variable's value.

Definition at line 331 of file option_editor.h.

HSliderOption::HSliderOption ( std::string const &  i,
std::string const &  n,
Gtk::Adjustment *  adj,
sigc::slot< float >  g,
sigc::slot< bool, float >  s 
)
inline

Definition at line 344 of file option_editor.h.

Member Function Documentation

void HSliderOption::add_to_page ( OptionEditorPage )
inlinevirtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

Definition at line 370 of file option_editor.h.

void HSliderOption::changed ( )
inline

Definition at line 366 of file option_editor.h.

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

Definition at line 380 of file option_editor.h.

void HSliderOption::set_sensitive ( bool  yn)
inline

Definition at line 375 of file option_editor.h.

void HSliderOption::set_state_from_config ( )
inlinevirtual

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

Implements Option.

Definition at line 362 of file option_editor.h.

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

Implements OptionEditorComponent.

Definition at line 379 of file option_editor.h.

Member Data Documentation

Gtk::Adjustment* HSliderOption::_adj
private

Definition at line 387 of file option_editor.h.

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

Definition at line 383 of file option_editor.h.

Gtk::HScale* HSliderOption::_hscale
private

Definition at line 386 of file option_editor.h.

Gtk::Label* HSliderOption::_label
private

Definition at line 385 of file option_editor.h.

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

Definition at line 384 of file option_editor.h.


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