Searched refs:scrollbar (Results 1 – 12 of 12) sorted by relevance
/lvgl-latest/src/themes/simple/ |
D | lv_theme_simple.c | 43 lv_style_t scrollbar; member 79 style_init_reset(&theme->styles.scrollbar); in style_init() 80 lv_style_set_bg_opa(&theme->styles.scrollbar, LV_OPA_COVER); in style_init() 81 lv_style_set_bg_color(&theme->styles.scrollbar, COLOR_DARK); in style_init() 82 lv_style_set_width(&theme->styles.scrollbar, SCROLLBAR_WIDTH); in style_init() 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() [all …]
|
/lvgl-latest/src/themes/mono/ |
D | lv_theme_mono.c | 41 lv_style_t scrollbar; member 88 style_init_reset(&theme->styles.scrollbar); in style_init() 89 lv_style_set_bg_opa(&theme->styles.scrollbar, LV_OPA_COVER); in style_init() 90 lv_style_set_bg_color(&theme->styles.scrollbar, COLOR_FG); in style_init() 91 lv_style_set_width(&theme->styles.scrollbar, PAD_DEF); in style_init() 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() [all …]
|
/lvgl-latest/docs/details/base-widget/ |
D | scroll.rst | 13 scrollable and scrollbar(s) will appear. That's it. 28 Scrollbars are displayed according to the configured ``scrollbar-mode``. The 36 :cpp:expr:`lv_obj_set_scrollbar_mode(widget, LV_SCROLLBAR_MODE_...)` sets the scrollbar mode on a W… 42 :cpp:enumerator:`LV_PART_SCROLLBAR`. For example, a scrollbar can turn to red like 57 while it is being scrolled. For example, this code makes the scrollbar blue while 71 (:c:macro:`LV_BASE_DIR_RTL`) the vertical scrollbar will be placed on the left. 74 on the Widget's LV_PART_MAIN part, or that of any of its parents, to make a scrollbar 78 ``width`` sets the scrollbar's width and ``length`` sets the scrollbar's length: 79 If `length` is not set or left at `0` the scrollbar's length will be set automatically according to… 95 The minimum length of the scrollbar is fixed to 10, while its maximum length is limited by the [all …]
|
D | obj.rst | 428 :ref:`Base Widget <base_widget>` uses the main and scrollbar parts but a 435 - :cpp:enumerator:`LV_PART_SCROLLBAR`: The scrollbar(s)
|
/lvgl-latest/src/themes/default/ |
D | lv_theme_default.c | 52 lv_style_t scrollbar; member 244 style_init_reset(&theme->styles.scrollbar); in style_init() 247 lv_style_set_bg_color(&theme->styles.scrollbar, sb_color); in style_init() 249 lv_style_set_radius(&theme->styles.scrollbar, LV_RADIUS_CIRCLE); in style_init() 250 lv_style_set_pad_all(&theme->styles.scrollbar, LV_DPX_CALC(theme->disp_dpi, 7)); in style_init() 251 lv_style_set_width(&theme->styles.scrollbar, LV_DPX_CALC(theme->disp_dpi, 5)); in style_init() 252 lv_style_set_bg_opa(&theme->styles.scrollbar, LV_OPA_40); in style_init() 254 lv_style_set_transition(&theme->styles.scrollbar, &theme->trans_normal); in style_init() 735 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() 757 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply() [all …]
|
/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/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/docs/details/other-components/ |
D | xml.rst | 120 …` can be attached to states and/or parts like ``styles="red blue:pressed green:focused:scrollbar"``
|