res file few quesstions



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2012 at 07:20, xxxxxxxx wrote:

    Hi guys. Total newby here. Please help:)
    I've played with UserData to shape/build interface how I want, and now trying to recreate it in the res file, that will be used to some plugin. However, I struggle to find some info how to do that:) Please help.

    1. How to make that dark line that says SEPARATOR? I can only create a separator line with code SEPARATOR { LINE; }, but how to make it with text and dark underground? In UserData I just used simple separator with text. How to do it in RES file?
    2. Float or Real - I use REAL ELEMENT_NAME { MIN -100.0; MAX 100.0; } but how to define step to be 0.1 and not 1?
    3. How in the world do I add that spline profile with RES file? and define two points, first being at the beginning on top, and second on the end on bottom? See Attached file please:)
    4. All elements that I create in RES file have that animateble option - that little circle near it. How do I make them NOT animateble?

    That's it for now. I know I'll have more questions after some time, but really need to figure those out at first. Please, can someone help me out here? Or could you give a link to where to look for the answer? I am not a programer, so reading SDK is my very week point:)

    Thank you for your time.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2012 at 08:43, xxxxxxxx wrote:

    Your best bet is to examine other peoples plugin .h , .str and .res files.
    There is no one to one relationship between Userdata and Plug guis.
    I.e for your Separator with text you might try StaticText or Group.
    The steps for a parameter is the STEP description. I.e:

    REAL MY_PARAMETER{ CUSTOMGUI REALSLIDER; MIN 0.0; MAX 10.0; STEP 0.1; }

    A spline gui is just prepared in the .res file. SPLINE ID_MYSPLINE {}
    The content (the knots etc) are set in the Init part of your plugin.
    I'm pretty sure there are examples posted.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2012 at 09:42, xxxxxxxx wrote:

    Hi. Thank you Lennart for your input. Yes, I am reviewing any source I can, I do do do :)
    Thanks you for your help, that did help me move along with my task.
    However, I seen to struggle with that separator line thingy. I tried using SEPARATOR { NAME HELLO_WORLD; } with no luck so far. Maybe I am doing something wrong:)

    And regarding disabling animation circle - is it only possible via Init part of a plugin?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2012 at 09:43, xxxxxxxx wrote:

    Oh stupid me,            SEPARATOR { NAME HELLO_WORLD; } indeed works:) I just had HELLO_WORD twise in the code. Sweet, nice nice nice I like :)

    But what about that animation circle thingy? Any ideas?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2012 at 10:17, xxxxxxxx wrote:

    ANIM OFF:

    Dload the C SDK and search "Description Resource" for further info.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 18/10/2012 at 10:48, xxxxxxxx wrote:

    Oh sweet. Thank you Lennart million times. Now I can hunt more stuff from SDK:)
    Thank you thank you thank you


Log in to reply