Home
last modified time | relevance | path

Searched refs:lv_obj_add_style (Results 1 – 25 of 53) sorted by relevance

123

/lvgl-3.7.0/src/extra/themes/mono/
Dlv_theme_mono.c202 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
203 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
216 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
217 lv_obj_add_style(obj, &styles->no_radius, 0); in theme_apply()
218 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
226 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
227 lv_obj_add_style(obj, &styles->no_radius, 0); in theme_apply()
232 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
233 lv_obj_add_style(obj, &styles->no_radius, 0); in theme_apply()
234 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
[all …]
/lvgl-3.7.0/src/extra/themes/basic/
Dlv_theme_basic.c174 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
175 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
184 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
189 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
190 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
198 lv_obj_add_style(obj, &styles->light, 0); in theme_apply()
203 lv_obj_add_style(obj, &styles->light, 0); in theme_apply()
204 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
208 lv_obj_add_style(obj, &styles->white, 0); in theme_apply()
209 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
[all …]
/lvgl-3.7.0/src/extra/themes/default/
Dlv_theme_default.c699 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
700 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
701 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
714 lv_obj_add_style(obj, &styles->pad_normal, 0); in theme_apply()
715 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
716lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
724 lv_obj_add_style(obj, &styles->bg_color_grey, 0); in theme_apply()
725 lv_obj_add_style(obj, &styles->pad_tiny, 0); in theme_apply()
730 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
731 lv_obj_add_style(obj, &styles->pad_normal, 0); in theme_apply()
[all …]
/lvgl-3.7.0/examples/widgets/slider/
Dlv_example_slider_2.c46 lv_obj_add_style(slider, &style_main, LV_PART_MAIN); in lv_example_slider_2()
47 lv_obj_add_style(slider, &style_indicator, LV_PART_INDICATOR); in lv_example_slider_2()
48 lv_obj_add_style(slider, &style_pressed_color, LV_PART_INDICATOR | LV_STATE_PRESSED); in lv_example_slider_2()
49 lv_obj_add_style(slider, &style_knob, LV_PART_KNOB); in lv_example_slider_2()
50 lv_obj_add_style(slider, &style_pressed_color, LV_PART_KNOB | LV_STATE_PRESSED); in lv_example_slider_2()
/lvgl-3.7.0/examples/get_started/
Dlv_example_get_started_2.c60 lv_obj_add_style(btn, &style_btn, 0); in lv_example_get_started_2()
61 lv_obj_add_style(btn, &style_btn_pressed, LV_STATE_PRESSED); in lv_example_get_started_2()
73 lv_obj_add_style(btn2, &style_btn, 0); in lv_example_get_started_2()
74 lv_obj_add_style(btn2, &style_btn_red, 0); in lv_example_get_started_2()
75 lv_obj_add_style(btn2, &style_btn_pressed, LV_STATE_PRESSED); in lv_example_get_started_2()
/lvgl-3.7.0/demos/music/
Dlv_demo_music_list.c116 lv_obj_add_style(list, &style_scrollbar, LV_PART_SCROLLBAR); in _lv_demo_music_list_create()
181 lv_obj_add_style(btn, &style_btn, 0); in add_list_btn()
182 lv_obj_add_style(btn, &style_btn_pr, LV_STATE_PRESSED); in add_list_btn()
183 lv_obj_add_style(btn, &style_btn_chk, LV_STATE_CHECKED); in add_list_btn()
184 lv_obj_add_style(btn, &style_btn_dis, LV_STATE_DISABLED); in add_list_btn()
198 lv_obj_add_style(title_label, &style_title, 0); in add_list_btn()
202 lv_obj_add_style(artist_label, &style_artist, 0); in add_list_btn()
207 lv_obj_add_style(time_label, &style_time, 0); in add_list_btn()
/lvgl-3.7.0/examples/styles/
Dlv_example_style_11.c32 lv_obj_add_style(obj_base, &style_base, 0); in lv_example_style_11()
41 lv_obj_add_style(obj_warning, &style_base, 0); in lv_example_style_11()
42 lv_obj_add_style(obj_warning, &style_warning, 0); in lv_example_style_11()
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()
Dlv_example_style_10.c34 lv_obj_add_style(obj, &style_def, 0); in lv_example_style_10()
35 lv_obj_add_style(obj, &style_pr, LV_STATE_PRESSED); in lv_example_style_10()
Dlv_example_style_7.c17 lv_obj_add_style(obj, &style, 0); in lv_example_style_7()
Dlv_example_style_9.c18 lv_obj_add_style(obj, &style, 0); in lv_example_style_9()
Dlv_example_style_5.c25 lv_obj_add_style(obj, &style, 0); in lv_example_style_5()
/lvgl-3.7.0/examples/widgets/roller/
Dlv_example_roller_2.c33 lv_obj_add_style(roller, &style_sel, LV_PART_SELECTED); in lv_example_roller_2()
43 lv_obj_add_style(roller, &style_sel, LV_PART_SELECTED); in lv_example_roller_2()
53 lv_obj_add_style(roller, &style_sel, LV_PART_SELECTED); in lv_example_roller_2()
Dlv_example_roller_3.c66 lv_obj_add_style(lv_scr_act(), &style, 0); in lv_example_roller_3()
69 lv_obj_add_style(roller1, &style, 0); in lv_example_roller_3()
/lvgl-3.7.0/examples/widgets/bar/
Dlv_example_bar_2.c26 lv_obj_add_style(bar, &style_bg, 0); in lv_example_bar_2()
27 lv_obj_add_style(bar, &style_indic, LV_PART_INDICATOR); in lv_example_bar_2()
/lvgl-3.7.0/examples/widgets/btn/
Dlv_example_btn_3.c39 lv_obj_add_style(btn1, &style_pr, LV_STATE_PRESSED); in lv_example_btn_3()
40 lv_obj_add_style(btn1, &style_def, 0); in lv_example_btn_3()
Dlv_example_btn_2.c56 lv_obj_add_style(btn1, &style, 0); in lv_example_btn_2()
57 lv_obj_add_style(btn1, &style_pr, LV_STATE_PRESSED); in lv_example_btn_2()
/lvgl-3.7.0/examples/widgets/imgbtn/
Dlv_example_imgbtn_1.c30 lv_obj_add_style(imgbtn1, &style_def, 0); in lv_example_imgbtn_1()
31 lv_obj_add_style(imgbtn1, &style_pr, LV_STATE_PRESSED); in lv_example_imgbtn_1()
/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_4.c62 lv_obj_add_style(obj, &style, LV_PART_SCROLLBAR); in lv_example_scroll_4()
63 lv_obj_add_style(obj, &style_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in lv_example_scroll_4()
/lvgl-3.7.0/examples/widgets/btnmatrix/
Dlv_example_btnmatrix_3.c50 lv_obj_add_style(btnm, &style_bg, 0); in lv_example_btnmatrix_3()
51 lv_obj_add_style(btnm, &style_btn, LV_PART_ITEMS); in lv_example_btnmatrix_3()
/lvgl-3.7.0/docs/overview/
Dcoords.md203 lv_obj_add_style(btn, &style, LV_PART_MAIN);
224 lv_obj_add_style(btn1, &style_normal, LV_STATE_DEFAULT);
225 lv_obj_add_style(btn1, &style_pressed, LV_STATE_PRESSED);
227 lv_obj_add_style(btn2, &style_normal, LV_STATE_DEFAULT);
228 lv_obj_add_style(btn2, &style_pressed, LV_STATE_PRESSED);
230 lv_obj_add_style(btn3, &style_normal, LV_STATE_DEFAULT);
231 lv_obj_add_style(btn3, &style_pressed, LV_STATE_PRESSED);
244 lv_obj_add_style(btn1, &style_normal, LV_STATE_DEFAULT);
245 lv_obj_add_style(btn1, &style_pressed, LV_STATE_PRESSED);
247 lv_obj_add_style(btn2, &style_normal, LV_STATE_DEFAULT);
[all …]
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.c181 lv_obj_add_style(label, &style_title, 0); in lv_demo_widgets()
187 lv_obj_add_style(label, &style_text_muted, 0); in lv_demo_widgets()
232 lv_obj_add_style(name, &style_title, 0); in profile_create()
235 lv_obj_add_style(dsc, &style_text_muted, 0); in profile_create()
240 lv_obj_add_style(email_icn, &style_icon, 0); in profile_create()
247 lv_obj_add_style(call_icn, &style_icon, 0); in profile_create()
278 lv_obj_add_style(panel2_title, &style_title, 0); in profile_create()
282 lv_obj_add_style(user_name_label, &style_text_muted, 0); in profile_create()
291 lv_obj_add_style(password_label, &style_text_muted, 0); in profile_create()
301 lv_obj_add_style(gender_label, &style_text_muted, 0); in profile_create()
[all …]
/lvgl-3.7.0/examples/widgets/checkbox/
Dlv_example_checkbox_2.c32 lv_obj_add_style(obj, &style_radio, LV_PART_INDICATOR); in radiobutton_create()
33 lv_obj_add_style(obj, &style_radio_chk, LV_PART_INDICATOR | LV_STATE_CHECKED); in radiobutton_create()
/lvgl-3.7.0/tests/src/test_cases/
Dtest_bar.c60 lv_obj_add_style(bar, &bar_style, LV_PART_MAIN); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
115 lv_obj_add_style(bar, &bar_style, LV_PART_MAIN); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
164 lv_obj_add_style(bar, &bar_style, LV_PART_MAIN); in test_bar_indicator_area_should_get_smaller_when_padding_is_increased()
/lvgl-3.7.0/examples/widgets/line/
Dlv_example_line_1.c20 lv_obj_add_style(line1, &style_line, 0); in lv_example_line_1()

123