Buttons Page
From VidvoxWiki
Contents |
Buttons
Button types
There are two different kinds of buttons: toggles, and momentary.
- Toggles allow you to switch a button from an on or off state. Once a toggle button is triggered, it will remain in the on state until it is triggered again to toggle it to the off.
- An example of a toggle button is the play/pause button on most music players. once the button is triggered, the audio plays, and continues playing, until the button is triggered again to pause the music. Once paused, the music remains paused until the button is hit again in order to trigger the state to "play".
- Momentary buttons (default button type) do not have separate states, instead a momentary button simply triggers an action.
The Buttons plugin is basically a collection of buttons, to find more exact informations on buttons themselves, checkout VDMX5#Buttons
Options
in the upper right of the buttons plugin, is the options button. clicking this will allow you to add more buttons, rename your buttons, set the button types, and change the view of your button plugin.
- Create Button and Delete Button, well, Create and Delete buttons.
- Double clocking a button name (defaults are index numbers) will allow you to rename it.
- Toggle checkboxes allow you to switch the operation of a particular button from a momentary button to a toggle button.
- The Button heigh and #of Rows sliders allow you to change the way the buttons on your plugin are organized.
Using buttons as a data source
Once a button is made, you may want to use it for something. Buttons can be used just like any other data source, and can help unify your custom user interface.
here is an example of me right clicking the "enable" button on my Dot Screen effect, and allowing it to be triggered using my data source button called "FX ON".
- First, the button plugin is loaded and button 1 is renamed to "FX on", and switched to a toggle button. (we want the effect to have two states, on or off)
- Second, we right click the "enable" button on my Dot Screen effect, move the cursor down to "use this Data Source:"
- Select from the buttons listing, "FX on"
Now, when clicking your button in your button plugin, you can enable this effect remotely. This may not seem useful, but now many effects can be linked to that same button using the same steps as above. this allows you to easily trigger multiple effects consistently, with a much less cluttered UI.