Jump to content

How to change parameter from code?

Recommended Posts

Hello, guys!

For example, I have a button with a callback function and some float value:

    PRM_Template(PRM_CALLBACK, 1, &someBtnName, 0, 0, 0, &callbackFunc),
    PRM_Template(PRM_FLT,    TOOL_PARM,    1, &someValueName, PRMzeroDefaults),
int callbackFunc(void *data, int index, fpreal t, const PRM_Template *tplate)

How to change value of a float control from the callbackFunc function?

Edited by Quantico
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...