Home
last modified time | relevance | path

Searched refs:LV_PART_SCROLLBAR (Results 1 – 24 of 24) sorted by relevance

/lvgl-latest/examples/scroll/
Dlv_example_scroll_4.c31 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()
Dlv_example_scroll_7.c88 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/
Dlv_theme_simple.c214 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/
Dlv_demo_ebike_settings.c211 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/
Dlv_theme_default.c735 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/
Dlv_theme_mono.c241 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/
Dlv_obj.c685 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 …]
Dlv_obj_scroll.c506 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()
Dlv_obj.h73 LV_PART_SCROLLBAR = 0x010000, /**< The scrollbar(s)*/ enumerator
Dlv_obj_style.c317 if(part != LV_PART_SCROLLBAR) { in lv_obj_refresh_style()
/lvgl-latest/examples/widgets/msgbox/
Dlv_example_msgbox_2.c28 lv_obj_set_style_pad_right(content, -1, LV_PART_SCROLLBAR); in lv_example_msgbox_2()
/lvgl-latest/docs/details/base-widget/
Dscroll.rst42 :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);
Dobj.rst435 - :cpp:enumerator:`LV_PART_SCROLLBAR`: The scrollbar(s)
/lvgl-latest/docs/details/widgets/
Dlist.rst24 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar. See :ref:`base_widget`
Ddropdown.rst46 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar background, border, shadow
Dlabel.rst22 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar that is shown when the text is
Dtextarea.rst28 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar that is shown when the text is
Dchart.rst119 - :cpp:enumerator:`LV_PART_SCROLLBAR` A scrollbar used if the chart is zoomed. See
/lvgl-latest/examples/others/observer/
Dlv_example_observer_6.c112 lv_obj_add_style(panel, &styles.style_scrollbar, LV_PART_SCROLLBAR); in my_panel_create()
/lvgl-latest/demos/music/
Dlv_demo_music_list.c137 lv_obj_add_style(list, &style_scrollbar, LV_PART_SCROLLBAR); in lv_demo_music_list_create()
/lvgl-latest/src/others/xml/
Dlv_xml_style.c69 else if(lv_streq("scrollbar", txt)) return LV_PART_SCROLLBAR; in lv_xml_style_part_to_enum()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_ev_charging.c299 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/
Dstyle.rst174 - :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/
Dlv_demo_widgets.c1198 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()