Prepare for singleton patch-selector per midi-track UI (mixer, editor,..)
This commit is contained in:
parent
d11f43eeb5
commit
5637bdd29b
@ -59,6 +59,7 @@
|
|||||||
#include "ardour/slavable.h"
|
#include "ardour/slavable.h"
|
||||||
|
|
||||||
class RoutePinWindowProxy;
|
class RoutePinWindowProxy;
|
||||||
|
class PatchChangeGridDialog;
|
||||||
|
|
||||||
namespace ARDOUR {
|
namespace ARDOUR {
|
||||||
|
|
||||||
@ -220,6 +221,9 @@ public:
|
|||||||
RoutePinWindowProxy * pinmgr_proxy () const { return _pinmgr_proxy; }
|
RoutePinWindowProxy * pinmgr_proxy () const { return _pinmgr_proxy; }
|
||||||
void set_pingmgr_proxy (RoutePinWindowProxy* wp) { _pinmgr_proxy = wp ; }
|
void set_pingmgr_proxy (RoutePinWindowProxy* wp) { _pinmgr_proxy = wp ; }
|
||||||
|
|
||||||
|
PatchChangeGridDialog* patch_selector_dialog () const { return _patch_selector_dialog; }
|
||||||
|
void set_patch_selector_dialog (PatchChangeGridDialog* d) { _patch_selector_dialog = d; }
|
||||||
|
|
||||||
boost::shared_ptr<AutomationControl> automation_control_recurse (PBD::ID const & id) const;
|
boost::shared_ptr<AutomationControl> automation_control_recurse (PBD::ID const & id) const;
|
||||||
|
|
||||||
/* special processors */
|
/* special processors */
|
||||||
@ -773,6 +777,7 @@ private:
|
|||||||
*/
|
*/
|
||||||
boost::weak_ptr<Processor> _processor_after_last_custom_meter;
|
boost::weak_ptr<Processor> _processor_after_last_custom_meter;
|
||||||
RoutePinWindowProxy *_pinmgr_proxy;
|
RoutePinWindowProxy *_pinmgr_proxy;
|
||||||
|
PatchChangeGridDialog* _patch_selector_dialog;
|
||||||
|
|
||||||
void reset_instrument_info ();
|
void reset_instrument_info ();
|
||||||
|
|
||||||
|
@ -115,6 +115,7 @@ Route::Route (Session& sess, string name, PresentationInfo::Flag flag, DataType
|
|||||||
, _strict_io (false)
|
, _strict_io (false)
|
||||||
, _custom_meter_position_noted (false)
|
, _custom_meter_position_noted (false)
|
||||||
, _pinmgr_proxy (0)
|
, _pinmgr_proxy (0)
|
||||||
|
, _patch_selector_dialog (0)
|
||||||
{
|
{
|
||||||
processor_max_streams.reset();
|
processor_max_streams.reset();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user