mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 08:23:01 +01:00
Prepare for single comment-editor per route
Previously every RouteUI would create their own (Editor-mixer, Mixer, Cue,..). Compare to StripableColorDialog.
This commit is contained in:
parent
b46f83a46a
commit
d8b77aa719
2 changed files with 6 additions and 0 deletions
|
|
@ -66,6 +66,7 @@
|
|||
|
||||
class RoutePinWindowProxy;
|
||||
class PatchChangeGridDialog;
|
||||
class ArdourWindow;
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
|
|
@ -138,6 +139,9 @@ public:
|
|||
std::string comment() { return _comment; }
|
||||
void set_comment (std::string str, void *src);
|
||||
|
||||
ArdourWindow* comment_editor () const { return _comment_editor_window; }
|
||||
void set_comment_editor (ArdourWindow* w) { _comment_editor_window = w; }
|
||||
|
||||
bool set_name (const std::string& str);
|
||||
static void set_name_in_state (XMLNode &, const std::string &);
|
||||
|
||||
|
|
@ -663,6 +667,7 @@ protected:
|
|||
std::shared_ptr<SoloSafeControl> _solo_safe_control;
|
||||
|
||||
std::string _comment;
|
||||
ArdourWindow* _comment_editor_window;
|
||||
bool _have_internal_generator;
|
||||
DataType _default_type;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ Route::Route (Session& sess, string name, PresentationInfo::Flag flag, DataType
|
|||
, _pending_meter_point (MeterPostFader)
|
||||
, _denormal_protection (false)
|
||||
, _recordable (true)
|
||||
, _comment_editor_window (0)
|
||||
, _have_internal_generator (false)
|
||||
, _default_type (default_type)
|
||||
, _instrument_fanned_out (false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue