/lvgl-latest/src/themes/ |
D | lv_theme.c | 25 static void apply_theme(lv_theme_t * th, lv_obj_t * obj); 26 static void apply_theme_recursion(lv_theme_t * th, lv_obj_t * obj); 48 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_apply() local 49 if(th == NULL) return; in lv_theme_apply() 53 apply_theme_recursion(th, obj); /*Apply the theme including the base theme(s)*/ in lv_theme_apply() 68 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_font_small() local 69 return th ? th->font_small : LV_FONT_DEFAULT; in lv_theme_get_font_small() 74 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_font_normal() local 75 return th ? th->font_normal : LV_FONT_DEFAULT; in lv_theme_get_font_normal() 80 lv_theme_t * th = lv_theme_get_from_obj(obj); in lv_theme_get_font_large() local [all …]
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_home.c | 64 …lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, &c->imgs… in lv_demo_high_res_home() 96 lv_subject_add_observer_obj(&c->th, theme_observer_accent_span_cb, date, day_and_month); in lv_demo_high_res_home() 104 lv_subject_add_observer_obj(&c->th, theme_observer_accent_span_cb, time, minute); in lv_demo_high_res_home() 191 …if(((const lv_demo_high_res_theme_t *) lv_subject_get_pointer(&c->th)) == &lv_demo_high_res_theme_… 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() 200 …if(((const lv_demo_high_res_theme_t *) lv_subject_get_pointer(&c->th)) == &lv_demo_high_res_theme_… in lv_demo_high_res_home() 203 … lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, dark_theme_icon, in lv_demo_high_res_home() 221 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(subject); in theme_observer_accent_span_cb() local 223 lv_style_set_text_color(&span->style, th->accent); in theme_observer_accent_span_cb() 275 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(&c->th); in set_light_theme_event_cb() local [all …]
|
D | lv_demo_high_res_util.c | 277 lv_subject_init_pointer(&c->th, (void *)&lv_demo_high_res_theme_dark); in lv_demo_high_res_base_obj_create() 278 c->th.user_data = c; in lv_demo_high_res_base_obj_create() 279 lv_subject_add_observer(&c->th, theme_observer_cb, c); in lv_demo_high_res_base_obj_create() 406 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(subject); in lv_demo_high_res_theme_observer_image_src_cb() local 408 if(th == &lv_demo_high_res_theme_light) { in lv_demo_high_res_theme_observer_image_src_cb() 421 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(subject); in lv_demo_high_res_theme_observer_obj_bg_image_src_cb() local 423 if(th == &lv_demo_high_res_theme_light) { in lv_demo_high_res_theme_observer_obj_bg_image_src_cb() 524 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(subject); in theme_observer_cb() local 525 …const lv_demo_high_res_theme_t * th_other = th == &lv_demo_high_res_theme_light ? &lv_demo_high_re… in theme_observer_cb() 530 lv_color_t color = i == STYLE_COLOR_BASE ? th->base : th->accent; in theme_observer_cb() [all …]
|
D | lv_demo_high_res_app_smart_meter.c | 84 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, in lv_demo_high_res_app_smart_meter() 153 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, part, in create_widget1_part() 242 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(&c->th); in widget1_open_part1_anim_cb() local 243 if(th == &lv_demo_high_res_theme_dark) { in widget1_open_part1_anim_cb() 246 lv_obj_set_style_text_color(lv_obj_get_child(part1, 0), th == &lv_demo_high_res_theme_light in widget1_open_part1_anim_cb() 248 lv_obj_set_style_text_color(lv_obj_get_child(part2, 0), th == &lv_demo_high_res_theme_light in widget1_open_part1_anim_cb() 267 const lv_demo_high_res_theme_t * th = lv_subject_get_pointer(&c->th); in widget1_open_part2_anim_cb() local 268 if(th == &lv_demo_high_res_theme_dark) { in widget1_open_part2_anim_cb() 271 lv_obj_set_style_text_color(lv_obj_get_child(part1, 0), th == &lv_demo_high_res_theme_light in widget1_open_part2_anim_cb() 273 lv_obj_set_style_text_color(lv_obj_get_child(part2, 0), th == &lv_demo_high_res_theme_light in widget1_open_part2_anim_cb() [all …]
|
D | lv_demo_high_res_app_smart_home.c | 66 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, in lv_demo_high_res_app_smart_home() 290 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget2() 338 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget3() 418 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget4()
|
D | lv_demo_high_res_private.h | 190 lv_subject_t th; member
|
D | lv_demo_high_res_app_thermostat.c | 71 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, in lv_demo_high_res_app_thermostat() 149 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget1() 315 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget2() 489 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget3()
|
D | lv_demo_high_res_app_ev_charging.c | 86 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, in lv_demo_high_res_app_ev_charging() 247 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget1() 341 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_obj_bg_image_src_cb, widget, in create_widget2()
|
D | lv_demo_high_res_app_about.c | 61 lv_subject_add_observer_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, in lv_demo_high_res_app_about()
|
/lvgl-latest/examples/styles/ |
D | lv_example_style_14.c | 9 static void new_theme_apply_cb(lv_theme_t * th, lv_obj_t * obj) in new_theme_apply_cb() argument 11 LV_UNUSED(th); in new_theme_apply_cb()
|
/lvgl-latest/docs/details/widgets/ |
D | tileview.rst | 42 tile on the ``col_id``\ -th column and ``row_id``\ -th row. ``dir`` can be
|
/lvgl-latest/src/libs/gif/ |
D | gifdec.h | 42 uint16_t tw, uint16_t th, uint8_t cw, uint8_t ch,
|
D | gifdec.c | 187 uint16_t tx, ty, tw, th; in read_plain_text_ext() local 194 th = read_num(gif); in read_plain_text_ext() 200 gif->plain_text(gif, tx, ty, tw, th, cw, ch, fg, bg); in read_plain_text_ext()
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgPaint.cpp | 328 auto th = 0.0f; in bounds() local 330 PAINT_METHOD(ret, bounds(&tx, &ty, &tw, &th, stroking)); in bounds() 333 Point pt[4] = {{tx, ty}, {tx + tw, ty}, {tx + tw, ty + th}, {tx, ty + th}}; in bounds()
|
/lvgl-latest/src/themes/simple/ |
D | lv_theme_simple.c | 63 static void theme_apply(lv_theme_t * th, lv_obj_t * obj); 205 static void theme_apply(lv_theme_t * th, lv_obj_t * obj) in theme_apply() argument 207 LV_UNUSED(th); in theme_apply()
|
/lvgl-latest/src/widgets/imagebutton/ |
D | lv_imagebutton.c | 201 int32_t th = lv_obj_get_style_transform_height(obj, LV_PART_MAIN); in draw_main() local 204 lv_area_increase(&coords, tw, th); in draw_main()
|
/lvgl-latest/src/misc/ |
D | lv_area.c | 128 int32_t th = a2_p->y1 - a1_p->y1; in lv_area_diff() local 129 if(th > 0) { in lv_area_diff() 133 n.y2 = a1_p->y1 + th; in lv_area_diff()
|
/lvgl-latest/docs/_static/css/ |
D | custom.css | 1 table, th, td { selector
|
/lvgl-latest/src/display/ |
D | lv_display.h | 509 void lv_display_set_theme(lv_display_t * disp, lv_theme_t * th);
|
D | lv_display.c | 877 void lv_display_set_theme(lv_display_t * disp, lv_theme_t * th) in lv_display_set_theme() argument 885 disp->theme = th; in lv_display_set_theme()
|
/lvgl-latest/src/themes/mono/ |
D | lv_theme_mono.c | 72 static void theme_apply(lv_theme_t * th, lv_obj_t * obj); 232 static void theme_apply(lv_theme_t * th, lv_obj_t * obj) in theme_apply() argument 234 LV_UNUSED(th); in theme_apply()
|
/lvgl-latest/docs/details/integration/driver/display/ |
D | lcd_stm32_guide.rst | 251 …display buffers here. This example uses a double buffering scheme with 1/10th size partial buffers… 268 …/* Allocate draw buffers on the heap. In this example we use two partial buffers of 1/10th size of…
|
/lvgl-latest/src/themes/default/ |
D | lv_theme_default.c | 185 static void theme_apply(lv_theme_t * th, lv_obj_t * obj); 726 static void theme_apply(lv_theme_t * th, lv_obj_t * obj) in theme_apply() argument 728 LV_UNUSED(th); in theme_apply()
|
/lvgl-latest/docs/details/main-components/ |
D | display.rst | 650 …s. For example, if the draw buffer is 1/10th the size of the screen and there are 2 tiles, then 1/…
|
/lvgl-latest/docs/details/base-widget/styles/ |
D | style.rst | 536 …lv_theme_t * th = lv_theme_default_init(display, /* Use DPI, size, etc. from this … 544 lv_display_set_theme(display, th); /* Assign theme to display */
|