dial_add
Simulation Instrument Studio 1
Definition
dial_id = dial_add(image, x, y, width, height, acceleration, click_callback)
Remarks
Add a dial. Callback receives direction (+1 / -1). Dials hold no state.
Example
No sample instrument calls this yet.
dial_add()
Photo slot: shots/dial_add.png
dial_set_acceleration
Simulation Instrument Studio 1
Definition
dial_set_acceleration(dial_id, acceleration)
Remarks
Set acceleration for a dial.
Parameters
| Name | Description |
dial_id | Id returned by the call that created the object. |
acceleration | How fast the dial speeds up while it is held. 1 is normal. |
Example
No sample instrument calls this yet.
dial_set_acceleration(dial_id, acceleration)
Photo slot: shots/dial_set_acceleration.png