|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
Immutable built-in recipe data, in order: hover glow, press pop, lift, attention sine, refusal noise, drag sway. More...
#include <element_motion.h>
Data Fields | |
| const char * | name |
| unsigned | channel |
| rmgui_motion_map_t | value |
| rmgui_motion_map_t | alpha |
| rmgui_motion_map_t | shadow_offset |
| uint16_t | alpha_divisor |
| rmgui_motion_wave_t | wave |
| rmgui_motion_ease_t | ease |
| rmgui_motion_impulse_t | impulse |
| uint16_t | full_speed_px_s |
| uint16_t | idle_ms |
Immutable built-in recipe data, in order: hover glow, press pop, lift, attention sine, refusal noise, drag sway.
channel is the existing query bit, or zero for sway. Maps divide the spring's raw Q16 position before mixing. Visual evaluation substitutes live style scale/colour endpoints; alpha.to multiplies the live colour alpha, then divides by alpha_divisor with nearest rounding and clamps to a byte. Shadow offset endpoints are logical pixels, scaled separately before mixing. Sway speed is logical pixels/second and idle is milliseconds. Zero fields are unused.
| const char* rmgui_element_motion_recipe_t::name |
| unsigned rmgui_element_motion_recipe_t::channel |
| rmgui_motion_map_t rmgui_element_motion_recipe_t::value |
| rmgui_motion_map_t rmgui_element_motion_recipe_t::alpha |
| rmgui_motion_map_t rmgui_element_motion_recipe_t::shadow_offset |
| uint16_t rmgui_element_motion_recipe_t::alpha_divisor |
| rmgui_motion_wave_t rmgui_element_motion_recipe_t::wave |
| rmgui_motion_ease_t rmgui_element_motion_recipe_t::ease |
| rmgui_motion_impulse_t rmgui_element_motion_recipe_t::impulse |
| uint16_t rmgui_element_motion_recipe_t::full_speed_px_s |
| uint16_t rmgui_element_motion_recipe_t::idle_ms |