Home
last modified time | relevance | path

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

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_home.c188 lv_obj_t * light_theme_icon = lv_image_create(theme_selector); in lv_demo_high_res_home() local
189 lv_obj_set_style_radius(light_theme_icon, LV_COORD_MAX, 0); in lv_demo_high_res_home()
190 lv_obj_set_style_outline_pad(light_theme_icon, -1, 0); /* FIXME */ in lv_demo_high_res_home()
192 lv_obj_set_style_outline_width(light_theme_icon, 2, 0); in lv_demo_high_res_home()
193 lv_obj_add_style(light_theme_icon, &c->styles[STYLE_COLOR_ACCENT][STYLE_TYPE_OBJ], 0); in lv_demo_high_res_home()
194 …lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, light_theme_icon, in lv_demo_high_res_home()
206 lv_obj_add_flag(light_theme_icon, LV_OBJ_FLAG_CLICKABLE); in lv_demo_high_res_home()
207 lv_obj_set_user_data(light_theme_icon, dark_theme_icon); in lv_demo_high_res_home()
208 lv_obj_add_event_cb(light_theme_icon, set_light_theme_event_cb, LV_EVENT_CLICKED, c); in lv_demo_high_res_home()
210 lv_obj_set_user_data(dark_theme_icon, light_theme_icon); in lv_demo_high_res_home()