|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Tween description for host_anim_start(); zero-init unused fields. More...
#include <host_api.h>
Public Attributes | |
| uint32_t | elem_id |
| int16_t | from_x |
| int16_t | from_y |
| int16_t | to_x |
| int16_t | to_y |
| uint16_t | duration_ms |
| uint16_t | delay_ms |
| uint16_t | repeat |
| uint8_t | easing |
| uint8_t | flags |
| uint32_t | done_action_id |
| uint32_t | start_after |
Tween description for host_anim_start(); zero-init unused fields.
Definition at line 1500 of file host_api.h.
| uint16_t host_anim_t::delay_ms |
Wait before the first run, 0..60000.
Definition at line 1507 of file host_api.h.
Referenced by host_anim_start().
| uint32_t host_anim_t::done_action_id |
plugin_on_action(id, handle, elem_id) when a finite tween completes; 0 = none.
Definition at line 1512 of file host_api.h.
Referenced by host_anim_start().
| uint16_t host_anim_t::duration_ms |
Active time per run, 1..60000.
Definition at line 1506 of file host_api.h.
Referenced by host_anim_start().
| uint8_t host_anim_t::easing |
| uint32_t host_anim_t::elem_id |
Target element (must exist).
Definition at line 1501 of file host_api.h.
Referenced by host_anim_start().
| uint8_t host_anim_t::flags |
| int16_t host_anim_t::from_x |
Start offset (see FLAG_FROM_CURRENT).
Definition at line 1502 of file host_api.h.
Referenced by host_anim_start().
| int16_t host_anim_t::from_y |
Definition at line 1503 of file host_api.h.
Referenced by host_anim_start().
| uint16_t host_anim_t::repeat |
Extra runs: 0 = play once, HOST_ANIM_REPEAT_FOREVER = endless.
Definition at line 1508 of file host_api.h.
Referenced by host_anim_start().
| uint32_t host_anim_t::start_after |
Live tween handle to chain behind; 0 = start immediately. Cancelling the predecessor cancels the whole chain.
Definition at line 1514 of file host_api.h.
Referenced by host_anim_start().
| int16_t host_anim_t::to_x |
| int16_t host_anim_t::to_y |
Definition at line 1505 of file host_api.h.
Referenced by host_anim_start().