mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
store void pointers to processor UIs in Processors, and reset ProcessorWindowProxy objects to use them, so that we can never create 2 windows (UIs) for the same processor
git-svn-id: svn://localhost/ardour2/branches/3.0@8638 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
deee47bcae
commit
b78d036aa0
3 changed files with 39 additions and 0 deletions
|
|
@ -68,6 +68,20 @@ Processor::Processor(Session& session, const string& name)
|
|||
, _configured(false)
|
||||
, _display_to_user (true)
|
||||
, _pre_fader (false)
|
||||
, _ui_pointer (0)
|
||||
{
|
||||
}
|
||||
|
||||
Processor::Processor (const Processor& other)
|
||||
: SessionObject(other.session(), other.name())
|
||||
, Automatable (other.session())
|
||||
, _pending_active(other._pending_active)
|
||||
, _active(other._active)
|
||||
, _next_ab_is_active(false)
|
||||
, _configured(false)
|
||||
, _display_to_user (true)
|
||||
, _pre_fader (false)
|
||||
, _ui_pointer (0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -279,3 +293,9 @@ Processor::set_pre_fader (bool p)
|
|||
{
|
||||
_pre_fader = p;
|
||||
}
|
||||
|
||||
void
|
||||
Processor::set_ui (void* p)
|
||||
{
|
||||
_ui_pointer = p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue