iparameter ignores negative values - there are no errors when using them in code but the slider still starts at 0.
When parameters are updated in code the sliders are not updated (maybe I need to do something when setting them?).
Andy – good point about the sliders not being updated. That’s something I thought about: but what if you are dragging them while they are being updated, what would be the desired behaviour?
Perhaps I can update the value of the number next to the slider, but leave the position for the user to set.
Thanks for bringing this up, let me know your thoughts.
I hadn’t thought of that as for what I’m doing at the moment it doesn’t really make sense to be doing both at once (sliders to set graph axes and tap on screen to reset to default).
I think the behaviour I would want normally is if the slider is actually being touched then drop any updates made in code but if the slider is inactive then set value and position according to the value set in code.
Also, any plans to allow for drawing text? I’ve written code to draw numbers manually but I’m sure its not very efficient compared to what can be done with a built-in method…
With ROMAN font face using Times New Roman or Georgia, SERIF font face using Arial or Tahoma, and FIXED font face using Courier New or Codea editor’s font. I think 3 options are enough.