|
Muteki
EABI code execution on Besta® RTOS devices.
|
The slider widget struct. More...
#include <slider.h>
Data Fields | |
| ui_component_t | component |
| The inherited component struct. | |
| void(*) | on_set_position (ui_slider_t *self, unsigned short position) |
| Set position callback. | |
| unsigned short(*) | on_set_maximum (ui_slider_t *self, unsigned short maximum) |
| Set maximum callback. | |
| void(*) | on_value_to_point (ui_slider_t *self, unsigned short value, short out_point[2]) |
| Callback to convert slider position value to thumb sprite coordinate. | |
| double | pixels_per_step |
| Cached fraction value of (sub)pixels per slider step. | |
| lcd_surface_t * | thumb_bg |
| Cached thumb background image. | |
| unsigned short * | position |
| Current position number (borrowed reference). | |
| short | last_thumb_center_x |
| Thumb position. | |
| unsigned short | touch_begin_x |
| X coordinate of the start point of a thumb drag. | |
| int | unk_0x54 |
| Unknown. Set to 0. | |
| unsigned short | maximum |
| Maximum position number of the slider. | |
| unsigned short | minimum |
| Minimum position number of the slider. | |
| unsigned short | step |
| Number of positions to advance on key presses. | |
| unsigned short | thumb_pressed |
| Thumb pressing state. | |
| unsigned short | slider_flags |
| Style flags. | |
| unsigned short | unk_0x62 [3] |
| Unknown. Set to 0. | |
The slider widget struct.
| ui_component_t ui_slider_s::component |
The inherited component struct.
| unsigned short(*) ui_slider_s::on_set_maximum(ui_slider_t *self, unsigned short maximum) |
Set maximum callback.
| void(*) ui_slider_s::on_set_position(ui_slider_t *self, unsigned short position) |
Set position callback.
| unsigned short ui_slider_s::slider_flags |
Style flags.