View Single Post
Old 11-24-2018, 01:59 PM   #1
Human being with feelings
Join Date: Apr 2018
Posts: 195
Default Display plugin variable as text using what means?

Naive question for many of you but I'm stumped - I want to display a variable's value on-screen as read-only text. I tried ICaptionControl but that displays the control's normalized value (0-1) - I want to display the actual variable value as used in the plugin code (i.e., 0-2500, etc.).

So I think I need to use ITextControl - but that function requires a "constant char" type - how do I send it a VARIABLE character?

Seems I would also need an "integer/float to character" step in here somewhere to convert the number to text but I don't see any functions (in WDL-OL) that do that.

Displaying numbers is a common GUI element in plugins - what's the approach to doing this in WDL-OL?
Nonlinear is offline   Reply With Quote