View Single Post
Old 11-15-2019, 05:22 AM   #2
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: UK
Posts: 1,181
Default

define a separate lambda function to do the thing, and call it from both the IActionFunction and the e.g. IGraphics key handler function

https://github.com/iPlug2/iPlug2/blo...aphics.h#L1065
__________________
VirtualCZ | pMix | Endless Series | iPlug2 | Linkedin | Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is offline   Reply With Quote