rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
ui_slider_t Struct Reference

Data Fields

gfx_rect_t track
gfx_rect_t presets [UI_SLIDER_MAX_PRESETS]
float preset_value [UI_SLIDER_MAX_PRESETS]
const char * preset_label [UI_SLIDER_MAX_PRESETS]
int preset_count
int ticks
float min
float max
float step
float value
gfx_color_t color
bool tap_to_set
bool dim
bool dragging
uint8_t drag_id
int16_t drag_x
float drag_value
int pressed_preset
uint8_t preset_id

Field Documentation

◆ drag_value

float ui_slider_t::drag_value

and the value it went down on

◆ drag_x

int16_t ui_slider_t::drag_x

where the finger went down

◆ pressed_preset

int ui_slider_t::pressed_preset

index, or -1

◆ ticks

int ui_slider_t::ticks

scale divisions on the track, 0 for none


The documentation for this struct was generated from the following file: