Home
last modified time | relevance | path

Searched full:title (Results 1 – 25 of 68) sorted by relevance

123

/lvgl-latest/src/widgets/menu/
Dlv_menu.c127 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 …]
Dlv_menu.h65 * @param title pointer to text for title in header (NULL to not display title)
68 lv_obj_t * lv_menu_page_create(lv_obj_t * parent, char const * const title);
101 * Set menu page title
103 * @param title pointer to text for title in header (NULL to not display title)
105 void lv_menu_set_page_title(lv_obj_t * page, char const * const title);
108 * Set menu page title with a static text. It will not be saved by the label so the 'text' variable
111 * @param title pointer to text for title in header (NULL to not display title)
113 void lv_menu_set_page_title_static(lv_obj_t * page, char const * const title);
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c39 static lv_obj_t * create_scale_box(lv_obj_t * parent, const char * title, const char * text1, const…
380 LV_GRID_CONTENT, /*Title*/ in profile_create()
382 LV_GRID_CONTENT, /*Box title*/ in profile_create()
385 LV_GRID_CONTENT, /*Box title*/ in profile_create()
445 LV_GRID_CONTENT, /*Title*/ in profile_create()
447 LV_GRID_CONTENT, /*Box title*/ in profile_create()
449 LV_GRID_CONTENT, /*Box title*/ in profile_create()
451 LV_GRID_CONTENT, /*Box title*/ in profile_create()
453 LV_GRID_CONTENT, /*Box title*/ in profile_create()
518 LV_GRID_CONTENT, /*Title*/ in profile_create()
[all …]
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_win.c56 // Add a title to the window in test_win_add_title_single()
64 // Check that the title is a label and has been created properly in test_win_add_title_single()
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
142 // Check that the title is a label and has been created properly in test_win_add_multiple_elements()
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()
Dtest_msgbox.c40 lv_msgbox_add_title(msgbox, "The title"); in test_msgbox_creation_successful_with_close_button()
55 lv_msgbox_add_title(msgbox, "The title"); in test_msgbox_creation_successful_no_close_button()
70 lv_msgbox_add_title(msgbox, "The title"); in test_msgbox_creation_successful_modal()
85 const char * txt_title = "The title"; in test_msgbox_get_title()
89 lv_msgbox_add_title(msgbox, "The title"); in test_msgbox_get_title()
96 // Msgbox title is a lv_label widget in test_msgbox_get_title()
153 lv_msgbox_add_title(msgbox, "The title"); in test_msgbox_content_auto_height()
/lvgl-latest/examples/others/xml/
Dlv_example_xml_1.c19 * Its API allow setting a title (label test) and the action (the text of a button)*/ in lv_example_xml_1()
23 " <prop name=\"title\" type=\"string\" default=\"Hello world\"/>" in lv_example_xml_1()
27 " <lv_label text=\"$title\" align=\"top_mid\"/>" in lv_example_xml_1()
33 /* Motor card is a special case of a card where the title and action are already set*/ in lv_example_xml_1()
36 " <view extends=\"card\" title=\"Motor start?\" action=\"Start\">" in lv_example_xml_1()
57 "title", "New title", in lv_example_xml_1()
Dmy_card.xml7 <prop name="title" type="string" default="No title"/>
20 <lv_label text="$title" align="left_mid"/>
/lvgl-latest/src/widgets/msgbox/
Dlv_msgbox.c140 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()
Dlv_msgbox.h53 * Add title to the message box. It also creates a header for the title.
55 * @param title the text of the tile
56 * @return the created title label
58 lv_obj_t * lv_msgbox_add_title(lv_obj_t * obj, const char * title);
113 * Get the title label
115 * @return the title, or NULL if it does not exist
/lvgl-latest/demos/music/
Dlv_demo_music_main.c176 LV_GRID_CONTENT, /*Title box*/ in lv_demo_music_main_create()
200 LV_GRID_CONTENT, /*Title box*/ in lv_demo_music_main_create()
230 LV_GRID_CONTENT, /*Title box*/ in lv_demo_music_main_create()
299 lv_obj_t * title = lv_label_create(lv_screen_active()); in lv_demo_music_main_create() local
300 lv_label_set_text(title, "LVGL Demo\nMusic player"); in lv_demo_music_main_create()
301 lv_obj_set_style_text_align(title, LV_TEXT_ALIGN_CENTER, 0); in lv_demo_music_main_create()
302 lv_obj_set_style_text_font(title, font_large, 0); in lv_demo_music_main_create()
303 lv_obj_set_style_text_line_space(title, 8, 0); in lv_demo_music_main_create()
304 lv_obj_fade_out(title, 500, INTRO_TIME); in lv_demo_music_main_create()
305 lv_obj_align_to(title, logo, LV_ALIGN_OUT_LEFT_MID, -20, 0); in lv_demo_music_main_create()
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch.h65 * @param title dialog title
68 void lv_demo_smartwatch_show_dialog(const char * title, const char * message);
231 * @param info item type (use true when adding forecast details, false adds it as a title row)
250 * @param name title for the setting
264 * @param name title for the setting
274 * @param name title for the setting
/lvgl-latest/docs/details/widgets/
Dwin.rst11 The Window Widget is built from a header (like a title bar) with title and
26 - Title on the header: :ref:`lv_label`
48 - Header (like a title bar) is initially empty, and is a Flex-Flow container set up
59 Title and buttons
66 - :cpp:expr:`lv_win_add_title(win, "The title")` adds a Label to the header, with
/lvgl-latest/src/libs/thorvg/
DtvgSvgCssStyle.cpp213 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/
Dlv_demo_ebike_settings.c96 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/src/drivers/x11/
Dlv_x11.h59 * lv_display_t* disp = lv_x11_window_create("My Window Title", window_width, window_width);
65 * lv_display_t* disp = lv_x11_window_create("My Window Title", window_width, window_width);
69 * @param[in] title title of the created X11 window
74 lv_display_t * lv_x11_window_create(char const * title, int32_t hor_res, int32_t ver_res);
Dlv_x11_display.c301 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/widgets/win/
Dlv_win.c57 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/docs/
DREADME.md127 ##### When "link text" should be a title or section heading from the target document:
133 …ntax, `{LINK NAME}` must reference **link target**s that are just above a title or section heading.
152 …tions) are created by underlining (and optionally overlining) the section title with a punctuation…
166 Title
185 Note that the "underlining" can be longer than the heading title, but if it is shorter, the documen…
DREADME_zh.rst39 <a href="https://lvgl.io" title="Homepage of LVGL">官网 </a> |
40 <a href="https://docs.lvgl.io/" title="Detailed documentation with 100+ examples">文档</a> |
41 <a href="https://forum.lvgl.io" title="Get help and help others">论坛</a> |
42 <a href="https://lvgl.io/demos" title="Demos running in your browser">示例</a> |
43 …<a href="https://lvgl.io/services" title="Graphics design, UI implementation and consulting">服务</a>
/lvgl-latest/demos/benchmark/
Dlv_demo_benchmark.c502 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/src/drivers/qnx/
Dlv_qnx.h46 * Set the title of the window identified by the given display.
48 * @param title The new title to set
50 void lv_qnx_window_set_title(lv_display_t * disp, const char * title);
Dlv_qnx.c127 void lv_qnx_window_set_title(lv_display_t * disp, const char * title) in lv_qnx_window_set_title() argument
131 /*Can't set title if there is no window manager*/ in lv_qnx_window_set_title()
139 lv_snprintf(title_buf, sizeof(title_buf), "Title=%s", title); in lv_qnx_window_set_title()
/lvgl-latest/src/drivers/windows/
Dlv_windows_display.c45 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()
/lvgl-latest/
DREADME.md23 <a href="https://lvgl.io" title="Homepage of LVGL">Website </a> |
24 <a href="https://docs.lvgl.io/" title="Detailed documentation with 100+ examples">Docs</a> |
25 <a href="https://forum.lvgl.io" title="Get help and help others">Forum</a> |
26 <a href="https://lvgl.io/demos" title="Demos running in your browser">Demos</a> |
27 <a href="https://lvgl.io/services" title="Graphics design, UI implementation and consulting">Servic…
/lvgl-latest/tests/src/test_assets/xml/
Dmy_card.xml7 <prop type="string" name="title" default="No title"/>
20 <lv_label text="$title" align="left_mid"/>

123