Simple Steps
1-dimensional step display macro
DESCRIPTION
A simple 1-dimensional step display which can be used as a starting point for more complex GUI elements.
Each cell is rendered using two display objects - a rectangle for the frame and a bar for the value. Therefore the number of Multi Display objects is always double the number of cells being drawn.
On the Multi Display -> Function properties page you can increase or decrease the number of objects to change the
number of cells. The maximum is 64 objects (for 32 cells). If you want to increase the number of cells beyond this you can do so by doing the following:
- Set the number of Multi Display objects to double the number of cells you want.
- Go the the 'data' macro and increase the size of the Snap Value [] module to the number of cells you want.
- Go to the 'process' core cell and increase the size of the array to the number of cells you want.
HOMEWORK ASSIGNMENT:
- The renderer core cell is already wired up to handle any cell value between 0 and 1. Try modifying the 'process' cell to increase the cell value by 0.25 on left-click and decrease the cell value by 0.25 on right-click (you'll need to add right-click support to the 'parse mouse' core cell too).
COMMENTS (1)