| Contents |
|
Next |
Building Custom Controls
Its structure is very simple:
In fact, except for the Text Entry2 and the IO Mod, it's the same as our earlier Moog knob example. The Text Entry2's Text pin must be connected to something for the entered text to be retained. The Patch Mem - Float conveniently provides a Name pin to facilitate using a Text Entry2 as a label.
The 2-frame image used for the Bitmap Image sub-control looks
like this:
Here, the switch's panel view has been unlocked to change the position and text of the Text Entry2.
The basics of the structure should be looking familiar by now: a Bitmap Image's Animation Position is being converted to a voltage using a Patch Mem - Float and a Float to Volts. Note that the Animation Position of the reflective knob center Bitmap Image is also connected to the Patch Mem - Float. Note too that the Tinted Bitmap Image with the scale isn't connected to anything. It just needs to be in the container. All 3 images that comprise the knob have been arranged concentrically on the panel view to create the finished effect:
The Animation Position is set to the Spring's Reset Value
when Mouse Down becomes FALSE. |
Next |