Searched refs:spinbox (Results 1 – 10 of 10) sorted by relevance
/lvgl-latest/src/widgets/spinbox/ |
D | lv_spinbox.c | 71 lv_spinbox_t * spinbox = (lv_spinbox_t *)obj; in lv_spinbox_set_value() local 73 if(v > spinbox->range_max) v = spinbox->range_max; in lv_spinbox_set_value() 74 if(v < spinbox->range_min) v = spinbox->range_min; in lv_spinbox_set_value() 76 spinbox->value = v; in lv_spinbox_set_value() 84 lv_spinbox_t * spinbox = (lv_spinbox_t *)obj; in lv_spinbox_set_rollover() local 86 spinbox->rollover = rollover; in lv_spinbox_set_rollover() 92 lv_spinbox_t * spinbox = (lv_spinbox_t *)obj; in lv_spinbox_set_digit_format() local 100 if(spinbox->range_max > max_val - 1) spinbox->range_max = max_val - 1; in lv_spinbox_set_digit_format() 101 if(spinbox->range_min < -max_val + 1) spinbox->range_min = -max_val + 1; in lv_spinbox_set_digit_format() 104 spinbox->digit_count = digit_count; in lv_spinbox_set_digit_format() [all …]
|
/lvgl-latest/examples/widgets/spinbox/ |
D | lv_example_spinbox_1.c | 4 static lv_obj_t * spinbox; variable 10 lv_spinbox_increment(spinbox); in lv_spinbox_increment_event_cb() 18 lv_spinbox_decrement(spinbox); in lv_spinbox_decrement_event_cb() 24 spinbox = lv_spinbox_create(lv_screen_active()); in lv_example_spinbox_1() 25 lv_spinbox_set_range(spinbox, -1000, 25000); in lv_example_spinbox_1() 26 lv_spinbox_set_digit_format(spinbox, 5, 2); in lv_example_spinbox_1() 27 lv_spinbox_step_prev(spinbox); in lv_example_spinbox_1() 28 lv_obj_set_width(spinbox, 100); in lv_example_spinbox_1() 29 lv_obj_center(spinbox); in lv_example_spinbox_1() 31 int32_t h = lv_obj_get_height(spinbox); in lv_example_spinbox_1() [all …]
|
D | index.rst | 5 .. lv_example:: widgets/spinbox/lv_example_spinbox_1
|
/lvgl-latest/docs/details/widgets/ |
D | spinbox.rst | 29 - :cpp:expr:`lv_spinbox_set_value(spinbox, 1234)` sets a new value for the Spinbox. 30 - :cpp:expr:`lv_spinbox_increment(spinbox)` and :cpp:expr:`lv_spinbox_decrement(spinbox)` 32 - :cpp:expr:`lv_spinbox_set_range(spinbox, -1000, 2500)` sets its range. If the 33 value is changed by :cpp:expr:`lv_spinbox_set_value(spinbox)`, by *Keys*, 34 by :cpp:expr:`lv_spinbox_increment(spinbox)` or :cpp:expr:`lv_spinbox_decrement(spinbox)` 36 - :cpp:expr:`lv_spinbox_set_step(spinbox, 100)` sets which digit to change on 38 - :cpp:expr:`lv_spinbox_set_cursor_pos(spinbox, 1)` sets the cursor to a specific 44 to the left, the :cpp:expr:`lv_spinbox_set_digit_step_direction(spinbox, LV_DIR_LEFT)` can be used 49 :cpp:expr:`lv_spinbox_set_digit_format(spinbox, digit_count, separator_position)` 57 :cpp:expr:`lv_spinbox_set_rollover(spinbox, true/false)` enables/disabled [all …]
|
D | index.rst | 34 spinbox
|
/lvgl-latest/demos/flex_layout/ |
D | lv_demo_flex_layout_view_ctrl_pad.c | 146 lv_obj_t * spinbox = lv_event_get_user_data(e); in btn_inc_event_handler() local 149 lv_spinbox_increment(spinbox); in btn_inc_event_handler() 155 lv_obj_t * spinbox = lv_event_get_user_data(e); in btn_dec_event_handler() local 158 lv_spinbox_decrement(spinbox); in btn_dec_event_handler() 199 lv_obj_t * spinbox = lv_spinbox_create(cont_spinbox); in spinbox_ctrl_create() local 200 lv_obj_set_flex_grow(spinbox, 1); in spinbox_ctrl_create() 201 lv_obj_set_style_shadow_width(spinbox, 0, LV_PART_MAIN); in spinbox_ctrl_create() 202 lv_obj_set_style_border_width(spinbox, 0, LV_PART_MAIN); in spinbox_ctrl_create() 203 lv_obj_set_style_outline_width(spinbox, 1, LV_PART_MAIN); in spinbox_ctrl_create() 204 lv_obj_set_style_outline_pad(spinbox, 1, LV_PART_MAIN); in spinbox_ctrl_create() [all …]
|
D | lv_demo_flex_layout_ctrl_pad.c | 95 lv_obj_t * spinbox = ui->ctrl_pad.tab.layout.spinbox_width; in ctrl_pad_obj_update() local 97 lv_spinbox_set_value(spinbox, value); in ctrl_pad_obj_update() 99 spinbox = ui->ctrl_pad.tab.layout.spinbox_height; in ctrl_pad_obj_update() 101 lv_spinbox_set_value(spinbox, value); in ctrl_pad_obj_update() 123 lv_obj_t * spinbox = lv_event_get_target(e); in ctrl_pad_spinbox_event_handler() local 124 lv_style_prop_t prop = (lv_style_prop_t)(lv_uintptr_t)lv_obj_get_user_data(spinbox); in ctrl_pad_spinbox_event_handler() 127 .num = (int32_t)lv_spinbox_get_value(spinbox) in ctrl_pad_spinbox_event_handler()
|
/lvgl-latest/ |
D | component.mk | 56 src/extra/widgets/spinbox \
|
/lvgl-latest/env_support/qnx/ |
D | common.mk | 102 $(SRC_ROOT)/widgets/spinbox \
|
/lvgl-latest/docs/ |
D | CHANGELOG.rst | 190 - **fix(spinbox): add missing update value** `6719 <https://github.com/lvgl/lvgl/pull/6719>`__
|