Home
last modified time | relevance | path

Searched refs:LV_PART_INDICATOR (Results 1 – 25 of 40) sorted by relevance

12

/lvgl-3.5.0/src/widgets/
Dlv_checkbox.c172 lv_coord_t marker_leftp = lv_obj_get_style_pad_left(obj, LV_PART_INDICATOR); in lv_checkbox_event()
173 lv_coord_t marker_rightp = lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in lv_checkbox_event()
174 lv_coord_t marker_topp = lv_obj_get_style_pad_top(obj, LV_PART_INDICATOR); in lv_checkbox_event()
175 lv_coord_t marker_bottomp = lv_obj_get_style_pad_bottom(obj, LV_PART_INDICATOR); in lv_checkbox_event()
185 lv_coord_t m = lv_obj_calculate_ext_draw_size(obj, LV_PART_INDICATOR); in lv_checkbox_event()
207 lv_coord_t marker_leftp = lv_obj_get_style_pad_left(obj, LV_PART_INDICATOR); in lv_checkbox_draw()
208 lv_coord_t marker_rightp = lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in lv_checkbox_draw()
209 lv_coord_t marker_topp = lv_obj_get_style_pad_top(obj, LV_PART_INDICATOR); in lv_checkbox_draw()
210 lv_coord_t marker_bottomp = lv_obj_get_style_pad_bottom(obj, LV_PART_INDICATOR); in lv_checkbox_draw()
212 lv_coord_t transf_w = lv_obj_get_style_transform_width(obj, LV_PART_INDICATOR); in lv_checkbox_draw()
[all …]
Dlv_arc.c97 …else if(new_delta < old_delta) inv_arc_area(obj, arc->indic_angle_start, start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
98 …else if(old_delta < new_delta) inv_arc_area(obj, start, arc->indic_angle_start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
120 else if(new_delta < old_delta) inv_arc_area(obj, end, arc->indic_angle_end, LV_PART_INDICATOR); in lv_arc_set_end_angle()
121 else if(old_delta < new_delta) inv_arc_area(obj, arc->indic_angle_end, end, LV_PART_INDICATOR); in lv_arc_set_end_angle()
337 lv_coord_t indic_width = lv_obj_get_style_arc_width(obj, LV_PART_INDICATOR); in lv_arc_align_obj_to_angle()
358 lv_coord_t indic_width = lv_obj_get_style_arc_width(obj, LV_PART_INDICATOR); in lv_arc_rotate_obj_to_angle()
445 lv_coord_t indic_width = lv_obj_get_style_arc_width(obj, LV_PART_INDICATOR); in lv_arc_event()
650 lv_coord_t left_indic = lv_obj_get_style_pad_left(obj, LV_PART_INDICATOR); in lv_arc_draw()
651 lv_coord_t right_indic = lv_obj_get_style_pad_right(obj, LV_PART_INDICATOR); in lv_arc_draw()
652 lv_coord_t top_indic = lv_obj_get_style_pad_top(obj, LV_PART_INDICATOR); in lv_arc_draw()
[all …]
Dlv_switch.c135 *s = LV_MAX(*s, lv_obj_calculate_ext_draw_size(obj, LV_PART_INDICATOR)); in lv_switch_event()
170 lv_obj_init_draw_rect_dsc(obj, LV_PART_INDICATOR, &draw_indic_dsc); in draw_main()
Dlv_bar.c393 part_draw_dsc.part = LV_PART_INDICATOR; in draw_indic()
408 lv_obj_init_draw_rect_dsc(obj, LV_PART_INDICATOR, &draw_rect_dsc); in draw_indic()
412 part_draw_dsc.part = LV_PART_INDICATOR; in draw_indic()
523 indic_size = lv_obj_calculate_ext_draw_size(obj, LV_PART_INDICATOR); in lv_bar_event()
/lvgl-3.5.0/examples/styles/
Dlv_example_style_13.c23 lv_obj_add_style(obj, &style_indic, LV_PART_INDICATOR); in lv_example_style_13()
24 lv_obj_add_style(obj, &style_indic_pr, LV_PART_INDICATOR | LV_STATE_PRESSED); in lv_example_style_13()
/lvgl-3.5.0/src/extra/themes/basic/
Dlv_theme_basic.c243 lv_obj_add_style(obj, &styles->dark, LV_PART_INDICATOR); in theme_apply()
250 lv_obj_add_style(obj, &styles->dark, LV_PART_INDICATOR); in theme_apply()
264 lv_obj_add_style(obj, &styles->light, LV_PART_INDICATOR); in theme_apply()
265 lv_obj_add_style(obj, &styles->dark, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
310 lv_obj_add_style(obj, &styles->dark, LV_PART_INDICATOR); in theme_apply()
311 lv_obj_add_style(obj, &styles->arc_line, LV_PART_INDICATOR); in theme_apply()
322 lv_obj_add_style(obj, &styles->dark, LV_PART_INDICATOR); in theme_apply()
323 lv_obj_add_style(obj, &styles->arc_line, LV_PART_INDICATOR); in theme_apply()
/lvgl-3.5.0/examples/widgets/slider/
Dlv_example_slider_2.c49 lv_obj_add_style(slider, &style_indicator, LV_PART_INDICATOR); in lv_example_slider_2()
50 lv_obj_add_style(slider, &style_pressed_color, LV_PART_INDICATOR | LV_STATE_PRESSED); in lv_example_slider_2()
Dlv_example_slider_3.c36 if(dsc->part == LV_PART_INDICATOR) { in slider_event_cb()
/lvgl-3.5.0/src/extra/themes/default/
Dlv_theme_default.c845 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR); in theme_apply()
846 lv_obj_add_style(obj, &styles->circle, LV_PART_INDICATOR); in theme_apply()
856 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR); in theme_apply()
857 lv_obj_add_style(obj, &styles->circle, LV_PART_INDICATOR); in theme_apply()
889 lv_obj_add_style(obj, &styles->disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
890 lv_obj_add_style(obj, &styles->cb_marker, LV_PART_INDICATOR); in theme_apply()
891 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
892 lv_obj_add_style(obj, &styles->cb_marker_checked, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
893 lv_obj_add_style(obj, &styles->pressed, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
895 lv_obj_add_style(obj, &styles->grow, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
[all …]
/lvgl-3.5.0/src/extra/themes/mono/
Dlv_theme_mono.c296 lv_obj_add_style(obj, &styles->inv, LV_PART_INDICATOR); in theme_apply()
305 lv_obj_add_style(obj, &styles->inv, LV_PART_INDICATOR); in theme_apply()
328 lv_obj_add_style(obj, &styles->card, LV_PART_INDICATOR); in theme_apply()
329 lv_obj_add_style(obj, &styles->disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
330 lv_obj_add_style(obj, &styles->inv, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
331 lv_obj_add_style(obj, &styles->pr, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
342 lv_obj_add_style(obj, &styles->inv, LV_PART_INDICATOR); in theme_apply()
343 lv_obj_add_style(obj, &styles->radius_circle, LV_PART_INDICATOR); in theme_apply()
394 lv_obj_add_style(obj, &styles->inv, LV_PART_INDICATOR); in theme_apply()
395 lv_obj_add_style(obj, &styles->pad_zero, LV_PART_INDICATOR); in theme_apply()
/lvgl-3.5.0/examples/widgets/checkbox/
Dlv_example_checkbox_2.c33 lv_obj_add_style(obj, &style_radio, LV_PART_INDICATOR); in radiobutton_create()
34 lv_obj_add_style(obj, &style_radio_chk, LV_PART_INDICATOR | LV_STATE_CHECKED); in radiobutton_create()
/lvgl-3.5.0/examples/widgets/bar/
Dlv_example_bar_4.c18 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_4()
Dlv_example_bar_2.c27 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_2()
Dlv_example_bar_3.c23 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_3()
Dlv_example_bar_6.c12 if(dsc->part != LV_PART_INDICATOR) return; in event_cb()
/lvgl-3.5.0/examples/widgets/dropdown/
Dlv_example_dropdown_3.c35 lv_obj_set_style_transform_angle(dropdown, 1800, LV_PART_INDICATOR | LV_STATE_CHECKED); in lv_example_dropdown_3()
/lvgl-3.5.0/examples/widgets/meter/
Dlv_example_meter_4.c13 lv_obj_remove_style(meter, NULL, LV_PART_INDICATOR); in lv_example_meter_4()
Dlv_example_meter_2.c22 lv_obj_remove_style(meter, NULL, LV_PART_INDICATOR); in lv_example_meter_2()
/lvgl-3.5.0/docs/widgets/core/
Dbar.md14 - `LV_PART_INDICATOR` The indicator itself; also uses all the typical background properties.
34 - `part`: `LV_PART_INDICATOR`
Dcheckbox.md11 - `LV_PART_INDICATOR` The "tick box" is a square that uses all the typical background style propert…
37 - `part`: `LV_PART_INDICATOR`
Dswitch.md11 - `LV_PART_INDICATOR` The indicator that shows the current state of the switch. Also uses all the t…
/lvgl-3.5.0/examples/widgets/chart/
Dlv_example_chart_5.c77 lv_obj_set_style_size(chart, 0, LV_PART_INDICATOR); in lv_example_chart_5()
Dlv_example_chart_8.c89 lv_obj_set_style_size(stacked_area_chart.obj, 0, LV_PART_INDICATOR); in lv_example_chart_8()
/lvgl-3.5.0/examples/widgets/img/
Dlv_example_img_2.c59 lv_obj_set_style_bg_color(slider, lv_color_darken(color, LV_OPA_40), LV_PART_INDICATOR); in create_slider()
/lvgl-3.5.0/docs/get-started/
Dquick-overview.md155 However, a [Slider](/widgets/core/slider) has `LV_PART_MAIN`, `LV_PART_INDICATOR` and `LV_PART_KNOB…
199 lv_obj_add_style(slider1, &style1, LV_PART_INDICATOR | LV_STATE_PRESSED);
209 lv_obj_add_style(slider1, &style1, LV_PART_INDICATOR); /*Equal to LV_PART_INDICATOR | LV_STATE_DEFA…
234 lv_obj_set_style_bg_color(slider1, lv_color_hex(0x2080bb), LV_PART_INDICATOR | LV_STATE_PRESSED);

12