mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Clarify the meaning of the show-region-gain-envelopes option.
git-svn-id: svn://localhost/ardour2/branches/3.0@12790 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
46f594ac83
commit
1173bae7c2
3 changed files with 89 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ private:
|
|||
};
|
||||
|
||||
|
||||
/** Component which provides the UI to handle an enumerated option using a GTK CheckButton.
|
||||
/** Component which provides the UI to handle an enumerated option using a GTK ComboBox.
|
||||
* The template parameter is the enumeration.
|
||||
*/
|
||||
template <class T>
|
||||
|
|
@ -273,6 +273,37 @@ private:
|
|||
};
|
||||
|
||||
|
||||
/** Component which provides the UI to handle a boolean option which needs
|
||||
* to be represented as a ComboBox to be clear to the user.
|
||||
*/
|
||||
class BoolComboOption : public Option
|
||||
{
|
||||
public:
|
||||
|
||||
BoolComboOption (
|
||||
std::string const &,
|
||||
std::string const &,
|
||||
std::string const &,
|
||||
std::string const &,
|
||||
sigc::slot<bool>,
|
||||
sigc::slot<bool, bool>
|
||||
);
|
||||
|
||||
void set_state_from_config ();
|
||||
void add_to_page (OptionEditorPage *);
|
||||
void changed ();
|
||||
void set_sensitive (bool);
|
||||
|
||||
private:
|
||||
|
||||
sigc::slot<bool> _get;
|
||||
sigc::slot<bool, bool> _set;
|
||||
Gtk::Label* _label;
|
||||
Gtk::ComboBoxText* _combo;
|
||||
};
|
||||
|
||||
|
||||
|
||||
/** Component which provides the UI to handle an numeric option using a GTK SpinButton */
|
||||
template <class T>
|
||||
class SpinOption : public Option
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue