mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
prepare Pin Management GUI
We need to store a pointer in the backend to allow to share the Proxy between Mixer and Editor-Mixer.
This commit is contained in:
parent
c444105710
commit
30e45fc28f
2 changed files with 8 additions and 7 deletions
|
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
class XMLNode;
|
class XMLNode;
|
||||||
class ProcessorWindowProxy;
|
class ProcessorWindowProxy;
|
||||||
|
class PluginPinWindowProxy;
|
||||||
|
|
||||||
namespace ARDOUR {
|
namespace ARDOUR {
|
||||||
|
|
||||||
|
|
@ -116,7 +117,10 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public
|
||||||
void* get_ui () const { return _ui_pointer; }
|
void* get_ui () const { return _ui_pointer; }
|
||||||
|
|
||||||
ProcessorWindowProxy * window_proxy () const { return _window_proxy; }
|
ProcessorWindowProxy * window_proxy () const { return _window_proxy; }
|
||||||
void set_window_proxy (ProcessorWindowProxy* wp);
|
void set_window_proxy (ProcessorWindowProxy* wp) { _window_proxy = wp; }
|
||||||
|
|
||||||
|
PluginPinWindowProxy * pinmgr_proxy () const { return _pinmgr_proxy; }
|
||||||
|
void set_pingmgr_proxy (PluginPinWindowProxy* wp) { _pinmgr_proxy = wp ; }
|
||||||
|
|
||||||
void set_owner (SessionObject*);
|
void set_owner (SessionObject*);
|
||||||
SessionObject* owner() const;
|
SessionObject* owner() const;
|
||||||
|
|
@ -134,6 +138,7 @@ protected:
|
||||||
bool _pre_fader; ///< true if this processor is currently placed before the Amp, otherwise false
|
bool _pre_fader; ///< true if this processor is currently placed before the Amp, otherwise false
|
||||||
void* _ui_pointer;
|
void* _ui_pointer;
|
||||||
ProcessorWindowProxy *_window_proxy;
|
ProcessorWindowProxy *_window_proxy;
|
||||||
|
PluginPinWindowProxy *_pinmgr_proxy;
|
||||||
SessionObject* _owner;
|
SessionObject* _owner;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ Processor::Processor(Session& session, const string& name)
|
||||||
, _pre_fader (false)
|
, _pre_fader (false)
|
||||||
, _ui_pointer (0)
|
, _ui_pointer (0)
|
||||||
, _window_proxy (0)
|
, _window_proxy (0)
|
||||||
|
, _pinmgr_proxy (0)
|
||||||
, _owner (0)
|
, _owner (0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
@ -81,6 +82,7 @@ Processor::Processor (const Processor& other)
|
||||||
, _pre_fader (false)
|
, _pre_fader (false)
|
||||||
, _ui_pointer (0)
|
, _ui_pointer (0)
|
||||||
, _window_proxy (0)
|
, _window_proxy (0)
|
||||||
|
, _pinmgr_proxy (0)
|
||||||
, _owner (0)
|
, _owner (0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
@ -277,12 +279,6 @@ Processor::set_ui (void* p)
|
||||||
_ui_pointer = p;
|
_ui_pointer = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
Processor::set_window_proxy (ProcessorWindowProxy* wp)
|
|
||||||
{
|
|
||||||
_window_proxy = wp;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Processor::set_owner (SessionObject* o)
|
Processor::set_owner (SessionObject* o)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue