Welcome to %s forums

BrainModular Users Forum

Login Register

sdkAddSettingLine functions

Create your own modules in C++
Post Reply
sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 10 Dec 2015, 18:05

We have the functions

sdkAddSettingLineCaption
sdkAddSettingLineColor
sdkAddSettingLineBoolean
sdkAddSettingLineInteger
sdkAddSettingLineSingle
sdkAddSettingLineCombobox

Is there a function to allow a text string setting ?
Such as sdkAddSettingLineString ?

I do love Usine, but I find a lot of times I can almost do what I want, but not quite ! It is very frustrating.

Thanks,
Simon.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 11 Dec 2015, 04:23

i would love as well but i don't think it's actually possible, have to make text input 'real' parameter, not possible to set directly in tabs. it seems possible however to trig an iml message with a query asking user to input text then will set the textfield input of module to get back in the code but module got to have a header name set for iml to access it and bit more complex solution.to set up. so +1 if implementation would be possible^^

sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 11 Dec 2015, 15:18

23fx23 wrote:i would love as well but i don't think it's actually possible, have to make text input 'real' parameter, not possible to set directly in tabs. it seems possible however to trig an iml message with a query asking user to input text then will set the textfield input of module to get back in the code but module got to have a header name set for iml to access it and bit more complex solution.to set up. so +1 if implementation would be possible^^
I'm sure this feature could be added at some stage. I mean, you have all the data types but a string, and you need a string for many custom menus.

Using a real parameter would be OK if you could choose where it will be displayed, so it could be displayed next to your custom settings lines.
I have avoided IML as I don't think it is the way to go - using module names etc is asking for problems. I would probably use sdkAddSettingLineBoolean to trigger some type of popup window from the module with a custom string input field.
Even create a non-usine window, i.e. using Juce directly - the code for the plugin wrapper shows you how to do this type of thing !

Simon.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 17 Dec 2015, 20:42

We'll try to add it in the future versions.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 07 Jan 2016, 21:34

Will be implemented in the next major release (HH3).

Post Reply

Who is online

Users browsing this forum: No registered users and 53 guests