/lvgl-3.5.0/src/widgets/ |
D | lv_switch.c | 123 lv_coord_t knob_left = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in lv_switch_event() 124 lv_coord_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_switch_event() 125 lv_coord_t knob_top = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in lv_switch_event() 126 lv_coord_t knob_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in lv_switch_event() 131 knob_size += lv_obj_calculate_ext_draw_size(obj, LV_PART_KNOB); in lv_switch_event() 199 lv_coord_t knob_left = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in draw_main() 200 lv_coord_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in draw_main() 201 lv_coord_t knob_top = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in draw_main() 202 lv_coord_t knob_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in draw_main() 212 lv_obj_init_draw_rect_dsc(obj, LV_PART_KNOB, &knob_rect_dsc); in draw_main()
|
D | lv_slider.c | 289 lv_coord_t knob_left = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in lv_slider_event() 290 lv_coord_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_slider_event() 291 lv_coord_t knob_top = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in lv_slider_event() 292 lv_coord_t knob_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in lv_slider_event() 295 lv_coord_t zoom = lv_obj_get_style_transform_zoom(obj, LV_PART_KNOB); in lv_slider_event() 296 lv_coord_t trans_w = lv_obj_get_style_transform_width(obj, LV_PART_KNOB); in lv_slider_event() 297 lv_coord_t trans_h = lv_obj_get_style_transform_height(obj, LV_PART_KNOB); in lv_slider_event() 302 knob_size += lv_obj_calculate_ext_draw_size(obj, LV_PART_KNOB); in lv_slider_event() 360 lv_obj_init_draw_rect_dsc(obj, LV_PART_KNOB, &knob_rect_dsc); in draw_knob() 368 part_draw_dsc.part = LV_PART_KNOB; in draw_knob() [all …]
|
D | lv_arc.c | 598 lv_coord_t knob_left = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in lv_arc_event() 599 lv_coord_t knob_right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_arc_event() 600 lv_coord_t knob_top = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in lv_arc_event() 601 lv_coord_t knob_bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in lv_arc_event() 680 lv_obj_init_draw_rect_dsc(obj, LV_PART_KNOB, &knob_rect_dsc); in lv_arc_draw() 682 part_draw_dsc.part = LV_PART_KNOB; in lv_arc_draw() 797 lv_coord_t left_knob = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in get_knob_area() 798 lv_coord_t right_knob = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in get_knob_area() 799 lv_coord_t top_knob = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in get_knob_area() 800 lv_coord_t bottom_knob = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in get_knob_area() [all …]
|
/lvgl-3.5.0/examples/widgets/slider/ |
D | lv_example_slider_2.c | 51 lv_obj_add_style(slider, &style_knob, LV_PART_KNOB); in lv_example_slider_2() 52 lv_obj_add_style(slider, &style_pressed_color, LV_PART_KNOB | LV_STATE_PRESSED); in lv_example_slider_2()
|
/lvgl-3.5.0/src/extra/themes/basic/ |
D | lv_theme_basic.c | 251 lv_obj_add_style(obj, &styles->dim, LV_PART_KNOB); in theme_apply() 272 lv_obj_add_style(obj, &styles->dim, LV_PART_KNOB); in theme_apply() 312 lv_obj_add_style(obj, &styles->dim, LV_PART_KNOB); in theme_apply() 313 lv_obj_add_style(obj, &styles->arc_knob, LV_PART_KNOB); in theme_apply() 332 lv_obj_add_style(obj, &styles->dim, LV_PART_KNOB); in theme_apply() 333 lv_obj_add_style(obj, &styles->arc_knob, LV_PART_KNOB); in theme_apply() 403 lv_obj_add_style(obj, &styles->light, LV_PART_KNOB); in theme_apply()
|
/lvgl-3.5.0/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 314 lv_obj_init_draw_rect_dsc(obj, LV_PART_KNOB, &cir_dsc); in draw_knob() 342 lv_coord_t left = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in get_knob_area() 343 lv_coord_t right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in get_knob_area() 344 lv_coord_t top = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in get_knob_area() 345 lv_coord_t bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in get_knob_area() 370 lv_coord_t left = lv_obj_get_style_pad_left(obj, LV_PART_KNOB); in lv_colorwheel_event() 371 lv_coord_t right = lv_obj_get_style_pad_right(obj, LV_PART_KNOB); in lv_colorwheel_event() 372 lv_coord_t top = lv_obj_get_style_pad_top(obj, LV_PART_KNOB); in lv_colorwheel_event() 373 lv_coord_t bottom = lv_obj_get_style_pad_bottom(obj, LV_PART_KNOB); in lv_colorwheel_event()
|
/lvgl-3.5.0/examples/widgets/arc/ |
D | lv_example_arc_2.c | 19 lv_obj_remove_style(arc, NULL, LV_PART_KNOB); /*Be sure the knob is not displayed*/ in lv_example_arc_2()
|
/lvgl-3.5.0/src/extra/themes/mono/ |
D | lv_theme_mono.c | 306 lv_obj_add_style(obj, &styles->card, LV_PART_KNOB); in theme_apply() 307 lv_obj_add_style(obj, &styles->radius_circle, LV_PART_KNOB); in theme_apply() 344 lv_obj_add_style(obj, &styles->card, LV_PART_KNOB); in theme_apply() 345 lv_obj_add_style(obj, &styles->radius_circle, LV_PART_KNOB); in theme_apply() 346 lv_obj_add_style(obj, &styles->pad_zero, LV_PART_KNOB); in theme_apply() 396 lv_obj_add_style(obj, &styles->card, LV_PART_KNOB); in theme_apply() 397 lv_obj_add_style(obj, &styles->radius_circle, LV_PART_KNOB); in theme_apply()
|
/lvgl-3.5.0/docs/widgets/core/ |
D | slider.md | 11 - `LV_PART_KNOB` A rectangle (or circle) drawn at the current value. Also uses all the typical back… 39 - `part`: `LV_PART_KNOB` 44 - `part`: `LV_PART_KNOB`
|
D | arc.md | 10 - `LV_PART_KNOB` Draws a handle on the end of the indicator using all background properties and pad… 53 lv_obj_remove_style(arc, NULL, LV_PART_KNOB); 85 - `part`: `LV_PART_KNOB`
|
D | switch.md | 12 - `LV_PART_KNOB` A rectangle (or circle) drawn at left or right side of the indicator. Also uses al…
|
/lvgl-3.5.0/examples/anim/ |
D | lv_example_anim_3.c | 140 lv_obj_set_style_pad_all(ginfo.p1_slider, 2, LV_PART_KNOB); in page_obj_init() 141 lv_obj_set_style_pad_all(ginfo.p2_slider, 2, LV_PART_KNOB); in page_obj_init()
|
/lvgl-3.5.0/examples/widgets/img/ |
D | lv_example_img_2.c | 58 lv_obj_set_style_bg_color(slider, color, LV_PART_KNOB); in create_slider()
|
/lvgl-3.5.0/src/extra/themes/default/ |
D | lv_theme_default.c | 858 lv_obj_add_style(obj, &styles->knob, LV_PART_KNOB); in theme_apply() 860 lv_obj_add_style(obj, &styles->grow, LV_PART_KNOB | LV_STATE_PRESSED); in theme_apply() 862 lv_obj_add_style(obj, &styles->transition_delayed, LV_PART_KNOB); in theme_apply() 863 lv_obj_add_style(obj, &styles->transition_normal, LV_PART_KNOB | LV_STATE_PRESSED); in theme_apply() 912 lv_obj_add_style(obj, &styles->knob, LV_PART_KNOB); in theme_apply() 913 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_KNOB); in theme_apply() 914 lv_obj_add_style(obj, &styles->switch_knob, LV_PART_KNOB); in theme_apply() 915 lv_obj_add_style(obj, &styles->disabled, LV_PART_KNOB | LV_STATE_DISABLED); in theme_apply() 977 lv_obj_add_style(obj, &styles->knob, LV_PART_KNOB); in theme_apply() 1155 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_KNOB); in theme_apply() [all …]
|
/lvgl-3.5.0/tests/src/test_cases/ |
D | test_switch.c | 113 lv_obj_add_style(sw, &style_knob, LV_PART_KNOB); in test_switch_should_update_extra_draw_size_after_editing_padding()
|
/lvgl-3.5.0/src/core/ |
D | lv_obj.h | 72 LV_PART_KNOB = 0x030000, /**< Like handle to grab to adjust the value*/ enumerator
|
/lvgl-3.5.0/docs/widgets/extra/ |
D | colorwheel.md | 10 - `LV_PART_KNOB` A rectangle (or circle) drawn on the current value. It uses all the rectangle like…
|
/lvgl-3.5.0/demos/music/ |
D | lv_demo_music_main.c | 603 lv_obj_set_style_bg_img_src(slider_obj, &img_lv_demo_music_slider_knob, LV_PART_KNOB); in create_ctrl_box() 604 lv_obj_set_style_bg_opa(slider_obj, LV_OPA_TRANSP, LV_PART_KNOB); in create_ctrl_box() 605 lv_obj_set_style_pad_all(slider_obj, 20, LV_PART_KNOB); in create_ctrl_box()
|
/lvgl-3.5.0/docs/overview/ |
D | object.md | 189 - `LV_PART_KNOB` Like a handle to grab to adjust the value
|
D | style.md | 112 - `LV_PART_KNOB` Like a handle to grab to adjust a value
|
/lvgl-3.5.0/docs/get-started/ |
D | quick-overview.md | 155 However, a [Slider](/widgets/core/slider) has `LV_PART_MAIN`, `LV_PART_INDICATOR` and `LV_PART_KNOB…
|
/lvgl-3.5.0/demos/widgets/ |
D | lv_demo_widgets.c | 1287 if(dsc->part == LV_PART_KNOB && lv_obj_has_state(obj, LV_STATE_PRESSED)) { in slider_event_cb()
|