/lvgl-latest/examples/scroll/ |
D | lv_example_scroll_4.c | 31 lv_obj_remove_style(obj, NULL, LV_PART_SCROLLBAR | LV_STATE_ANY); in lv_example_scroll_4() 63 lv_obj_add_style(obj, &style, LV_PART_SCROLLBAR); in lv_example_scroll_4() 64 lv_obj_add_style(obj, &style_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in lv_example_scroll_4()
|
D | lv_example_scroll_7.c | 88 lv_obj_set_style_opa(obj, checked ? LV_OPA_COVER : LV_OPA_TRANSP, LV_PART_SCROLLBAR); in checkbox_cb() 101 lv_obj_set_style_opa(obj, LV_OPA_TRANSP, LV_PART_SCROLLBAR); in lv_example_scroll_7()
|
/lvgl-latest/src/themes/simple/ |
D | lv_theme_simple.c | 214 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 228 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 242 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 247 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 291 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 313 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 332 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 363 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 384 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 410 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() [all …]
|
/lvgl-latest/demos/ebike/ |
D | lv_demo_ebike_settings.c | 211 lv_obj_set_style_width(right_cont, 3, LV_PART_SCROLLBAR); in right_cont_create() 212 lv_obj_set_style_pad_ver(right_cont, 8, LV_PART_SCROLLBAR); in right_cont_create() 213 lv_obj_set_style_radius(right_cont, 2, LV_PART_SCROLLBAR); in right_cont_create() 214 lv_obj_set_style_bg_opa(right_cont, LV_OPA_40, LV_PART_SCROLLBAR); in right_cont_create() 215 lv_obj_set_style_bg_color(right_cont, EBIKE_COLOR_TURQUOISE, LV_PART_SCROLLBAR); in right_cont_create()
|
/lvgl-latest/src/themes/default/ |
D | lv_theme_default.c | 735 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 736 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply() 757 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 758 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply() 774 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 775 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply() 788 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 789 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply() 900 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 901 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply() [all …]
|
/lvgl-latest/src/themes/mono/ |
D | lv_theme_mono.c | 241 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 255 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 271 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 276 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 349 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 389 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 417 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 440 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 473 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 504 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() [all …]
|
/lvgl-latest/src/core/ |
D | lv_obj.c | 685 dsc->bg_opa = lv_obj_get_style_bg_opa(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 687 dsc->bg_color = lv_obj_get_style_bg_color(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 690 dsc->border_opa = lv_obj_get_style_border_opa(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 692 dsc->border_width = lv_obj_get_style_border_width(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 694 dsc->border_color = lv_obj_get_style_border_color(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 701 dsc->shadow_opa = lv_obj_get_style_shadow_opa(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 703 dsc->shadow_width = lv_obj_get_style_shadow_width(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 705 dsc->shadow_spread = lv_obj_get_style_shadow_spread(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 706 dsc->shadow_color = lv_obj_get_style_shadow_color(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 713 lv_opa_t opa = lv_obj_get_style_opa_recursive(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() [all …]
|
D | lv_obj_scroll.c | 506 bool rtl = lv_obj_get_style_base_dir(obj, LV_PART_SCROLLBAR) == LV_BASE_DIR_RTL; in lv_obj_get_scrollbar_area() 508 int32_t top_space = lv_obj_get_style_pad_top(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() 509 int32_t bottom_space = lv_obj_get_style_pad_bottom(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() 510 int32_t left_space = lv_obj_get_style_pad_left(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() 511 int32_t right_space = lv_obj_get_style_pad_right(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() 512 int32_t thickness = lv_obj_get_style_width(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() 513 int32_t length = lv_obj_get_style_length(obj, LV_PART_SCROLLBAR); in lv_obj_get_scrollbar_area() 523 if(lv_obj_get_style_bg_opa(obj, LV_PART_SCROLLBAR) < LV_OPA_MIN && in lv_obj_get_scrollbar_area() 524 lv_obj_get_style_border_opa(obj, LV_PART_SCROLLBAR) < LV_OPA_MIN) { in lv_obj_get_scrollbar_area()
|
D | lv_obj.h | 73 LV_PART_SCROLLBAR = 0x010000, /**< The scrollbar(s)*/ enumerator
|
D | lv_obj_style.c | 317 if(part != LV_PART_SCROLLBAR) { in lv_obj_refresh_style()
|
/lvgl-latest/examples/widgets/msgbox/ |
D | lv_example_msgbox_2.c | 28 lv_obj_set_style_pad_right(content, -1, LV_PART_SCROLLBAR); in lv_example_msgbox_2()
|
/lvgl-latest/docs/details/base-widget/ |
D | scroll.rst | 42 :cpp:enumerator:`LV_PART_SCROLLBAR`. For example, a scrollbar can turn to red like 53 lv_obj_add_style(widget, &style_red, LV_PART_SCROLLBAR); 68 lv_obj_add_style(widget, &style_blue, LV_STATE_SCROLLED | LV_PART_SCROLLBAR); 70 If the base direction of the :cpp:enumerator:`LV_PART_SCROLLBAR` is RTL 73 can be set directly on the :cpp:enumerator:`LV_PART_SCROLLBAR` part of a Widget, or 93 lv_obj_add_style(widget, &style_scrollbar, LV_PART_SCROLLBAR);
|
D | obj.rst | 435 - :cpp:enumerator:`LV_PART_SCROLLBAR`: The scrollbar(s)
|
/lvgl-latest/docs/details/widgets/ |
D | list.rst | 24 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar. See :ref:`base_widget`
|
D | dropdown.rst | 46 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar background, border, shadow
|
D | label.rst | 22 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar that is shown when the text is
|
D | textarea.rst | 28 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar that is shown when the text is
|
D | chart.rst | 119 - :cpp:enumerator:`LV_PART_SCROLLBAR` A scrollbar used if the chart is zoomed. See
|
/lvgl-latest/examples/others/observer/ |
D | lv_example_observer_6.c | 112 lv_obj_add_style(panel, &styles.style_scrollbar, LV_PART_SCROLLBAR); in my_panel_create()
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_list.c | 137 lv_obj_add_style(list, &style_scrollbar, LV_PART_SCROLLBAR); in lv_demo_music_list_create()
|
/lvgl-latest/src/others/xml/ |
D | lv_xml_style.c | 69 else if(lv_streq("scrollbar", txt)) return LV_PART_SCROLLBAR; in lv_xml_style_part_to_enum()
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_ev_charging.c | 299 lv_obj_set_style_opa(bar, LV_OPA_TRANSP, LV_PART_SCROLLBAR); in create_widget1() 310 lv_obj_set_style_opa(bar, LV_OPA_TRANSP, LV_PART_SCROLLBAR); in create_widget1()
|
/lvgl-latest/docs/details/base-widget/styles/ |
D | style.rst | 174 - :cpp:enumerator:`LV_PART_SCROLLBAR`: The scrollbar(s) 286 - :cpp:enumerator:`LV_PART_SCROLLBAR`: The scrollbar part in the default state. :cpp:enumerator:`LV… 287 - :cpp:expr:`LV_PART_SCROLLBAR | LV_STATE_SCROLLED`: The scrollbar part when the Widget is being sc…
|
/lvgl-latest/demos/widgets/ |
D | lv_demo_widgets.c | 1198 lv_obj_remove_style(bullet1, NULL, LV_PART_SCROLLBAR); in create_scale_box() 1206 lv_obj_remove_style(bullet2, NULL, LV_PART_SCROLLBAR); in create_scale_box() 1214 lv_obj_remove_style(bullet3, NULL, LV_PART_SCROLLBAR); in create_scale_box()
|