/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_api_example.c | 25 static void exit_cb(lv_demo_high_res_api_t * api); 46 lv_demo_high_res_api_t * api = lv_demo_high_res(assets_path, logo_path, slides_path, exit_cb); in lv_demo_high_res_api_example() local 49 lv_subject_set_int(&api->subjects.volume, 50); in lv_demo_high_res_api_example() 50 lv_subject_set_pointer(&api->subjects.month_name, "August"); in lv_demo_high_res_api_example() 51 lv_subject_set_int(&api->subjects.month_day, 1); in lv_demo_high_res_api_example() 52 lv_subject_set_pointer(&api->subjects.week_day_name, "Wednesday"); in lv_demo_high_res_api_example() 53 lv_subject_set_int(&api->subjects.temperature_outdoor, 16 * 10); /* 16 degrees C */ in lv_demo_high_res_api_example() 54 lv_subject_set_int(&api->subjects.main_light_temperature, 4500); /* 4500 degrees K */ in lv_demo_high_res_api_example() 55 lv_subject_set_int(&api->subjects.thermostat_target_temperature, 25 * 10); /* 25 degrees C */ in lv_demo_high_res_api_example() 56 lv_subject_set_pointer(&api->subjects.wifi_ssid, "my home Wi-Fi network"); in lv_demo_high_res_api_example() [all …]
|
D | lv_demo_high_res_util.c | 298 lv_subject_init_int(&c->api.subjects.hour, 9); in lv_demo_high_res_base_obj_create() 299 lv_subject_init_int(&c->api.subjects.minute, 36); in lv_demo_high_res_base_obj_create() 300 lv_subject_init_pointer(&c->api.subjects.week_day_name, "Tuesday"); in lv_demo_high_res_base_obj_create() 301 lv_subject_init_int(&c->api.subjects.month_day, 31); in lv_demo_high_res_base_obj_create() 302 lv_subject_init_pointer(&c->api.subjects.month_name, "October"); in lv_demo_high_res_base_obj_create() 303 lv_subject_init_int(&c->api.subjects.temperature_outdoor, 140); /* tenths of a degree */ in lv_demo_high_res_base_obj_create() 304 lv_subject_init_int(&c->api.subjects.temperature_indoor, 225); /* tenths of a degree */ in lv_demo_high_res_base_obj_create() 305 lv_subject_init_pointer(&c->api.subjects.wifi_ssid, NULL); in lv_demo_high_res_base_obj_create() 306 lv_subject_init_pointer(&c->api.subjects.wifi_ip, NULL); in lv_demo_high_res_base_obj_create() 309 lv_subject_init_int(&c->api.subjects.music_play, 1); in lv_demo_high_res_base_obj_create() [all …]
|
D | lv_demo_high_res_app_smart_home.c | 166 lv_demo_high_res_label_bind_temperature(main_temp, &c->api.subjects.temperature_indoor, c); in create_widget1() 174 lv_demo_high_res_label_bind_temperature(outdoor_temp, &c->api.subjects.temperature_outdoor, c); in create_widget1() 274 lv_subject_set_int(&c->api.subjects.locked, lv_slider_get_value(slider) >= 100); in widget2_slider_released_cb() 312 lv_slider_set_value(slider, lv_subject_get_int(&c->api.subjects.locked) ? 100 : 0, LV_ANIM_OFF); in create_widget2() 315 …lv_subject_add_observer_obj(&c->api.subjects.locked, widget2_slider_locked_observer_cb, slider, c); in create_widget2() 330 lv_subject_set_int(&c->api.subjects.music_play, !was_playing); in widget3_play_pause_clicked_cb() 379 lv_slider_bind_value(slider, &c->api.subjects.volume); in create_widget3() 380 lv_label_bind_text(slider_pct_label, &c->api.subjects.volume, "%"PRId32"%%"); in create_widget3() 398 …lv_image_set_src(play_pause_img, c->imgs[lv_subject_get_int(&c->api.subjects.music_play) ? IMG_PLA… in create_widget3() 456 lv_slider_bind_value(temperature_slider, &c->api.subjects.main_light_temperature); in create_widget4() [all …]
|
D | lv_demo_high_res_top_margin.c | 149 if(c->exit_cb) c->exit_cb(&c->api); in logout_cb() 233 …lv_subject_add_observer_obj(&c->api.subjects.wifi_ssid, wifi_ssid_ip_observer_cb, ssid, (void *)"S… in create_wifi() 237 … lv_subject_add_observer_obj(&c->api.subjects.wifi_ip, wifi_ssid_ip_observer_cb, ip, (void *)"IP"); in create_wifi() 247 lv_obj_set_style_opa(wifi_icon, lv_subject_get_pointer(&c->api.subjects.wifi_ssid) in wifi_icon_observer_cb() 248 || lv_subject_get_pointer(&c->api.subjects.wifi_ip) in wifi_icon_observer_cb() 381 (char *)lv_subject_get_pointer(&c->api.subjects.week_day_name), in date_observer_cb() 382 lv_subject_get_int(&c->api.subjects.month_day), in date_observer_cb() 383 (char *)lv_subject_get_pointer(&c->api.subjects.month_name)); in date_observer_cb() 392 lv_label_set_text_fmt(time_label, "%02d:%02d", lv_subject_get_int(&c->api.subjects.hour), in time_observer_cb() 393 lv_subject_get_int(&c->api.subjects.minute)); in time_observer_cb()
|
D | lv_demo_high_res_home.c | 132 …lv_demo_high_res_label_bind_temperature(weather_temperature_label, &c->api.subjects.temperature_ou… in lv_demo_high_res_home() 304 lv_snprintf(buf, sizeof(buf), "%02"LV_PRId32, lv_subject_get_int(&c->api.subjects.hour)); in time_observer_cb() 307 lv_snprintf(buf, sizeof(buf), ":%02"LV_PRId32, lv_subject_get_int(&c->api.subjects.minute)); in time_observer_cb() 319 lv_snprintf(buf, sizeof(buf), "%s, ", lv_subject_get_pointer(&c->api.subjects.week_day_name)); in date_observer_cb() 321 lv_snprintf(buf, sizeof(buf), "%"PRId32" %s", lv_subject_get_int(&c->api.subjects.month_day), in date_observer_cb() 322 lv_subject_get_pointer(&c->api.subjects.month_name)); in date_observer_cb()
|
D | lv_demo_high_res.h | 78 typedef void (*lv_demo_high_res_exit_cb_t)(lv_demo_high_res_api_t * api);
|
D | lv_demo_high_res.c | 53 return &c->api; in lv_demo_high_res()
|
D | lv_demo_high_res_app_thermostat.c | 560 …lv_subject_add_observer_obj(&c->api.subjects.thermostat_target_temperature, temperature_arc_observ… in create_widget3() 562 &c->api.subjects.thermostat_target_temperature); in create_widget3() 563 …lv_demo_high_res_label_bind_temperature(current_temperature_val_label, &c->api.subjects.thermostat… in create_widget3() 608 lv_slider_bind_value(slider, &c->api.subjects.thermostat_fan_speed); in create_widget3() 609 lv_label_bind_text(slider_pct_label, &c->api.subjects.thermostat_fan_speed, "%"PRId32"%%"); in create_widget3()
|
D | lv_demo_high_res_private.h | 202 lv_demo_high_res_api_t api; member
|
/lvgl-latest/docs/_static/css/ |
D | custom.css | 119 .lv-api-expansion-button { 122 .lv-api-expansion-button::before { 128 .unexpanded .lv-api-expansion-button::before { 131 .expanded .lv-api-expansion-button::before {
|
/lvgl-latest/docs/details/integration/os/ |
D | zephyr.rst | 106 - `button input <https://docs.zephyrproject.org/latest/build/dts/api/bindings/input/zephyr,lvgl-but… 107 - `pointer input <https://docs.zephyrproject.org/latest/build/dts/api/bindings/input/zephyr,lvgl-po… 108 - `encoder input <https://docs.zephyrproject.org/latest/build/dts/api/bindings/input/zephyr,lvgl-en… 109 - `keypad input <https://docs.zephyrproject.org/latest/build/dts/api/bindings/input/zephyr,lvgl-key…
|
/lvgl-latest/docs/details/other-components/ |
D | xml.rst | 90 <api> 92 </api> 180 <api> 182 </api>
|
/lvgl-latest/docs/ |
D | CHANGELOG.rst | 93 - **feat(vector): add set viewport support for vector api with thorvg** `6299 <https://github.com/l… 94 - **feat(api_map): adds guards to api mapping** `6269 <https://github.com/lvgl/lvgl/pull/6269>`__ 136 - **feat(font): add lv_font_glyph_release_draw_data api to release glyph data** `5985 <https://gith… 422 - **chore(api): add api map for v9.1** `6733 <https://github.com/lvgl/lvgl/pull/6733>`__
|
/lvgl-latest/docs/details/integration/chip/ |
D | espressif.rst | 70 … its `esp_lcd <https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/periphera…
|