2009-05-13 20:15:38 -04:00
|
|
|
#include "option_editor.h"
|
|
|
|
|
|
|
|
/** @file rc_option_editor.h
|
2009-11-15 21:18:51 -05:00
|
|
|
* @brief Editing of options which are obtained from and written back to one of the .rc files.
|
2009-05-13 20:15:38 -04:00
|
|
|
*
|
|
|
|
* This is subclassed from OptionEditor. Simple options (e.g. boolean and simple choices)
|
|
|
|
* are expressed using subclasses of Option. More complex UI elements are represented
|
2010-07-06 20:40:58 -04:00
|
|
|
* using individual classes subclassed from OptionEditorBox.
|
2009-05-13 20:15:38 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** Editor for options which are obtained from and written back to one of the .rc files. */
|
|
|
|
class RCOptionEditor : public OptionEditor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RCOptionEditor ();
|
|
|
|
|
|
|
|
private:
|
2011-01-04 15:52:30 -05:00
|
|
|
void parameter_changed (std::string const &);
|
|
|
|
|
2009-05-13 20:15:38 -04:00
|
|
|
ARDOUR::RCConfiguration* _rc_config;
|
2011-01-04 15:52:30 -05:00
|
|
|
BoolOption* _solo_control_is_listen_control;
|
|
|
|
ComboOption<ARDOUR::ListenPosition>* _listen_position;
|
2009-05-13 20:15:38 -04:00
|
|
|
};
|