Thread: WDL-OL
View Single Post
Old 11-21-2011, 07:50 AM   #6
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
Default

I added an argument to IControl::PromptUserInput() to specify exactly the area where the text entry should appear as an IRECT.

To use it you need to make a new IControl that inherits from IFaderControl and override OnMouseDown calling e.g. PromptUserInput(&mTextRECT). See the IPlugEffect example

If the rect is not specified PromptUserInput() attempts to put it in the middle of the control... but by the looks of things that might not be working correctly.
__________________
VirtualCZ | Endless Series | iPlug2 | Linkedin | Facebook

Last edited by olilarkin; 11-21-2011 at 08:01 AM.
olilarkin is offline   Reply With Quote