This follows the same concept as plugin-UIs (keep a pointer in the backend)
to prevent multiple instances to be created from various TAVs
and RouteUIs (mixer, editor-mixer, meterbridge,..)
#include "ardour/session_object.h"
#include "ardour/libardour_visibility.h"
+class StripableColorDialog;
+
namespace ARDOUR {
class AutomationControl;
virtual boost::shared_ptr<MonitorProcessor> monitor_control() const = 0;
+ StripableColorDialog* active_color_picker() const { return _active_color_picker; }
+ void set_active_color_picker (StripableColorDialog* d) { _active_color_picker = d; }
+
protected:
PresentationInfo _presentation_info;
+ private:
+ StripableColorDialog* _active_color_picker;
};
}
Stripable::Stripable (Session& s, string const & name, PresentationInfo const & pi)
: SessionObject (s, name)
, _presentation_info (pi)
+ , _active_color_picker (0)
{
}