mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Restore depecated VST opcodes for CarbonWrapperComponents
This commit is contained in:
parent
ddb879663b
commit
17dee9add2
2 changed files with 8 additions and 5 deletions
|
|
@ -105,9 +105,12 @@ enum VstHostToPlugInOpcodes
|
|||
plugInOpcodeGetEditorBounds,
|
||||
plugInOpcodeOpenEditor,
|
||||
plugInOpcodeCloseEditor,
|
||||
plugInOpcodeEditorIdle = plugInOpcodeCloseEditor + 4,
|
||||
plugInOpcodeDrawEditor,
|
||||
plugInOpcodeGetMouse,
|
||||
plugInOpcodeEditorIdle = plugInOpcodeGetMouse + 2,
|
||||
plugInOpcodeeffEditorTop,
|
||||
plugInOpcodeIdentify = plugInOpcodeeffEditorTop + 2,
|
||||
plugInOpcodeSleepEditor,
|
||||
plugInOpcodeIdentify,
|
||||
plugInOpcodeGetData,
|
||||
plugInOpcodeSetData,
|
||||
plugInOpcodePreAudioProcessingEvents,
|
||||
|
|
|
|||
|
|
@ -2515,7 +2515,7 @@ private:
|
|||
{
|
||||
owner.isOpen = false;
|
||||
owner.dispatch (plugInOpcodeCloseEditor, 0, 0, 0, 0);
|
||||
owner.dispatch (plugInOpcodeIdle + 2 /* sleep */, 0, 0, 0, 0);
|
||||
owner.dispatch (plugInOpcodeSleepEditor, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2534,7 +2534,7 @@ private:
|
|||
{
|
||||
alreadyInside = true;
|
||||
getTopLevelComponent()->toFront (true);
|
||||
owner.dispatch (plugInOpcodeCloseEditor + 2 /* get mouse */, x, y, 0, 0);
|
||||
owner.dispatch (plugInOpcodeGetMouse, x, y, 0, 0);
|
||||
alreadyInside = false;
|
||||
}
|
||||
else
|
||||
|
|
@ -2554,7 +2554,7 @@ private:
|
|||
r.rightmost = (int16) (r.leftmost + getWidth());
|
||||
r.lower = (int16) (r.upper + getHeight());
|
||||
|
||||
owner.dispatch (plugInOpcodeCloseEditor + 1 /* draw */, 0, 0, &r, 0);
|
||||
owner.dispatch (plugInOpcodeDrawEditor, 0, 0, &r, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue