/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_win.c | 65 lv_obj_t * title = lv_obj_get_child(header, 0); in test_win_add_title_single() local 66 TEST_ASSERT_EQUAL_STRING(dummy_text, lv_label_get_text(title)); in test_win_add_title_single() 67 TEST_ASSERT_EQUAL(1, lv_label_get_long_mode(title)); in test_win_add_title_single() 117 lv_obj_t * title; in test_win_add_multiple_elements() local 143 title = lv_obj_get_child(header, 1); in test_win_add_multiple_elements() 144 TEST_ASSERT_EQUAL_STRING(dummy_text, lv_label_get_text(title)); in test_win_add_multiple_elements() 145 TEST_ASSERT_EQUAL(1, lv_label_get_long_mode(title)); in test_win_add_multiple_elements()
|
/lvgl-latest/src/widgets/menu/ |
D | lv_menu.c | 127 lv_obj_t * lv_menu_page_create(lv_obj_t * parent, char const * const title) in lv_menu_page_create() argument 137 page->title = NULL; in lv_menu_page_create() 139 lv_menu_set_page_title(obj, title); in lv_menu_page_create() 398 void lv_menu_set_page_title(lv_obj_t * page_obj, char const * const title) in lv_menu_set_page_title() argument 406 if((!page->static_title) && page->title) { in lv_menu_set_page_title() 407 lv_free(page->title); in lv_menu_set_page_title() 408 page->title = NULL; in lv_menu_set_page_title() 411 if(title) { in lv_menu_set_page_title() 413 page->title = lv_strdup(title); in lv_menu_set_page_title() 414 LV_ASSERT_MALLOC(page->title); in lv_menu_set_page_title() [all …]
|
D | lv_menu.h | 68 lv_obj_t * lv_menu_page_create(lv_obj_t * parent, char const * const title); 105 void lv_menu_set_page_title(lv_obj_t * page, char const * const title); 113 void lv_menu_set_page_title_static(lv_obj_t * page, char const * const title);
|
D | lv_menu_private.h | 65 char * title; member
|
/lvgl-latest/src/widgets/win/ |
D | lv_win.c | 57 lv_obj_t * title = lv_label_create(header); in lv_win_add_title() local 58 lv_label_set_long_mode(title, LV_LABEL_LONG_MODE_DOTS); in lv_win_add_title() 59 lv_label_set_text(title, txt); in lv_win_add_title() 60 lv_obj_set_flex_grow(title, 1); in lv_win_add_title() 61 return title; in lv_win_add_title()
|
/lvgl-latest/src/widgets/msgbox/ |
D | lv_msgbox.c | 140 lv_obj_t * lv_msgbox_add_title(lv_obj_t * obj, const char * title) in lv_msgbox_add_title() argument 156 if(mbox->title == NULL) { in lv_msgbox_add_title() 157 mbox->title = lv_label_create(mbox->header); in lv_msgbox_add_title() 158 lv_obj_set_flex_grow(mbox->title, 1); in lv_msgbox_add_title() 161 lv_label_set_text(mbox->title, title); in lv_msgbox_add_title() 163 return mbox->title; in lv_msgbox_add_title() 260 return mbox->title; in lv_msgbox_get_title()
|
D | lv_msgbox_private.h | 39 lv_obj_t * title; member
|
D | lv_msgbox.h | 58 lv_obj_t * lv_msgbox_add_title(lv_obj_t * obj, const char * title);
|
/lvgl-latest/src/drivers/windows/ |
D | lv_windows_display.c | 45 const wchar_t * title, in lv_windows_create_display() argument 55 data.title = title; in lv_windows_create_display() 132 data->title, in lv_windows_display_thread_entrypoint()
|
D | lv_windows_display.h | 55 const wchar_t * title,
|
D | lv_windows_context.h | 90 const wchar_t * title; member
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgSvgCssStyle.h | 32 SvgNode* cssFindStyleNode(const SvgNode* style, const char* title, SvgNodeType type); 33 SvgNode* cssFindStyleNode(const SvgNode* style, const char* title);
|
D | tvgSvgCssStyle.cpp | 213 SvgNode* cssFindStyleNode(const SvgNode* style, const char* title, SvgNodeType type) in cssFindStyleNode() argument 220 …if ((!title && !(*child)->id) || (title && (*child)->id && !strcmp((*child)->id, title))) return (… in cssFindStyleNode() 227 SvgNode* cssFindStyleNode(const SvgNode* style, const char* title) in cssFindStyleNode() argument 229 if (!style || !title) return nullptr; in cssFindStyleNode() 234 if ((*child)->id && !strcmp((*child)->id, title)) return (*child); in cssFindStyleNode()
|
/lvgl-latest/demos/ebike/ |
D | lv_demo_ebike_settings.c | 96 static lv_obj_t * slider_create(lv_obj_t * parent, const char * title) in slider_create() argument 108 lv_label_set_text(label, title); in slider_create() 129 static lv_obj_t * switch_create(lv_obj_t * parent, const char * title, lv_subject_t * subject) in switch_create() argument 143 lv_label_set_text(label, title); in switch_create() 162 static lv_obj_t * dropdown_create(lv_obj_t * parent, const char * title, const char * options, lv_s… in dropdown_create() argument 176 lv_label_set_text(label, title); in dropdown_create()
|
/lvgl-latest/demos/scroll/ |
D | lv_demo_scroll.c | 23 static lv_obj_t * switch_create(lv_obj_t * parent, const char * title, lv_obj_flag_t flag, bool en); 77 static lv_obj_t * switch_create(lv_obj_t * parent, const char * title, lv_obj_flag_t flag, bool en) in switch_create() argument 86 lv_label_set_text(label, title); in switch_create()
|
/lvgl-latest/src/drivers/qnx/ |
D | lv_qnx.h | 50 void lv_qnx_window_set_title(lv_display_t * disp, const char * title);
|
/lvgl-latest/src/drivers/x11/ |
D | lv_x11.h | 74 lv_display_t * lv_x11_window_create(char const * title, int32_t hor_res, int32_t ver_res);
|
D | lv_x11_display.c | 301 static void x11_window_create(lv_display_t * disp, char const * title) in x11_window_create() argument 328 XSetStandardProperties(xd->hdr.display, xd->window, title, NULL, None, NULL, 0, NULL); in x11_window_create() 359 lv_display_t * lv_x11_window_create(char const * title, int32_t hor_res, int32_t ver_res) in lv_x11_window_create() argument 375 x11_window_create(disp, title); in lv_x11_window_create()
|
/lvgl-latest/src/drivers/sdl/ |
D | lv_sdl_window.h | 46 void lv_sdl_window_set_title(lv_display_t * disp, const char * title);
|
/lvgl-latest/docs/details/widgets/ |
D | win.rst | 11 The Window Widget is built from a header (like a title bar) with title and 48 - Header (like a title bar) is initially empty, and is a Flex-Flow container set up 66 - :cpp:expr:`lv_win_add_title(win, "The title")` adds a Label to the header, with
|
/lvgl-latest/src/drivers/wayland/ |
D | lv_wayland.h | 61 lv_display_t * lv_wayland_window_create(uint32_t hor_res, uint32_t ver_res, char * title,
|
/lvgl-latest/scripts/ |
D | image_viewer.py | 31 image.show(title=output)
|
/lvgl-latest/demos/widgets/ |
D | lv_demo_widgets.c | 39 static lv_obj_t * create_scale_box(lv_obj_t * parent, const char * title, const char * text1, const… 570 static lv_obj_t * create_chart_with_scales(lv_obj_t * parent, const char * title, const char * hor… in create_chart_with_scales() argument 580 lv_label_set_text(label, title); in create_chart_with_scales() 884 lv_obj_t * title = lv_label_create(panel1); in shop_create() local 885 lv_label_set_text(title, "Monthly Summary"); in shop_create() 886 lv_obj_add_style(title, &style_title, 0); in shop_create() 930 lv_obj_set_grid_cell(title, LV_GRID_ALIGN_START, 0, 1, LV_GRID_ALIGN_START, 0, 1); in shop_create() 950 lv_obj_set_grid_cell(title, LV_GRID_ALIGN_START, 0, 1, LV_GRID_ALIGN_CENTER, 0, 1); in shop_create() 972 lv_obj_set_grid_cell(title, LV_GRID_ALIGN_START, 0, 1, LV_GRID_ALIGN_START, 0, 1); in shop_create() 993 title = lv_label_create(list); in shop_create() [all …]
|
/lvgl-latest/demos/benchmark/ |
D | lv_demo_benchmark.c | 502 lv_obj_t * title = lv_label_create(lv_layer_top()); in lv_demo_benchmark() local 503 lv_obj_set_style_bg_opa(title, LV_OPA_COVER, 0); in lv_demo_benchmark() 504 lv_obj_set_style_bg_color(title, lv_color_white(), 0); in lv_demo_benchmark() 505 lv_obj_set_style_text_color(title, lv_color_black(), 0); in lv_demo_benchmark() 506 lv_obj_set_width(title, lv_pct(100)); in lv_demo_benchmark() 514 …lv_subject_add_observer_obj(&disp->perf_sysmon_backend.subject, sysmon_perf_observer_cb, title, NU… in lv_demo_benchmark() 516 lv_label_set_text(title, "LV_USE_PERF_MONITOR is not enabled"); in lv_demo_benchmark()
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_list.c | 179 const char * title = lv_demo_music_get_title(track_id); in add_list_button() local 205 lv_label_set_text(title_label, title); in add_list_button()
|