Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 53) sorted by relevance

123

/lvgl-latest/docs/_static/css/
Dfontawesome.min.css5content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa…
Dcustom.css34 content: "\f0da \00a0 Show ";
40 content: "\f0d7 \00a0 Hide ";
68 .rst-content code, .rst-content tt, code {
129 content: "\f0da \00a0";
132 content: "\f0d7 \00a0";
135 .wy-nav-content{
/lvgl-latest/examples/others/fragment/
Dlv_example_fragment_2.c79 lv_obj_t * content = lv_obj_create(parent); in sample_fragment_create_obj() local
80 lv_obj_remove_style_all(content); in sample_fragment_create_obj()
81 lv_obj_set_style_bg_opa(content, LV_OPA_50, 0); in sample_fragment_create_obj()
82 lv_obj_set_style_bg_color(content, lv_palette_main(LV_PALETTE_YELLOW), 0); in sample_fragment_create_obj()
83 lv_obj_set_size(content, LV_PCT(100), LV_PCT(100)); in sample_fragment_create_obj()
84 lv_obj_set_flex_flow(content, LV_FLEX_FLOW_COLUMN); in sample_fragment_create_obj()
85 lv_obj_t * depth = lv_label_create(content); in sample_fragment_create_obj()
87 lv_obj_t * label = lv_label_create(content); in sample_fragment_create_obj()
91 lv_obj_t * inc_btn = lv_button_create(content); in sample_fragment_create_obj()
96 return content; in sample_fragment_create_obj()
/lvgl-latest/src/libs/thorvg/
DtvgLottieLoader.cpp43 LottieParser parser(content, dirName); in run()
60 free((char*)content); in release()
61 content = nullptr; in release()
113 auto p = content; in header()
204 content = (char*)malloc(size + 1); in open()
205 if (!content) return false; in open()
206 memcpy((char*)content, data, size); in open()
207 const_cast<char*>(content)[size] = '\0'; in open()
208 } else content = data; in open()
232 auto content = (char*)(malloc(sizeof(char) * size + 1)); in open() local
[all …]
DtvgSvgPath.cpp68 static char* _skipComma(const char* content) in _skipComma() argument
70 while (*content && isspace(*content)) { in _skipComma()
71 content++; in _skipComma()
73 if (*content == ',') return (char*)content + 1; in _skipComma()
74 return (char*)content; in _skipComma()
78 static bool _parseNumber(char** content, float* number) in _parseNumber() argument
81 *number = strToFloat(*content, &end); in _parseNumber()
83 if ((*content) == end) return false; in _parseNumber()
85 *content = _skipComma(end); in _parseNumber()
90 static bool _parseFlag(char** content, int* number) in _parseFlag() argument
[all …]
DtvgSvgLoader.cpp101 static const char* _skipComma(const char* content) in _skipComma() argument
103 content = _skipSpace(content, nullptr); in _skipComma()
104 if (*content == ',') return content + 1; in _skipComma()
105 return content; in _skipComma()
109 static bool _parseNumber(const char** content, const char** end, float* number) in _parseNumber() argument
113 *number = strToFloat(*content, (char**)&_end); in _parseNumber()
115 if ((*content) == _end) { in _parseNumber()
120 *content = _skipComma(_end); in _parseNumber()
144 static void _parseAspectRatio(const char** content, AspectRatioAlign* align, AspectRatioMeetOrSlice… in _parseAspectRatio() argument
146 if (!strcmp(*content, "none")) { in _parseAspectRatio()
[all …]
DtvgXmlParser.h50 typedef bool (*simpleXMLCb)(void* data, SimpleXMLType type, const char* content, unsigned int lengt…
DtvgSvgLoader.h37 char* content = nullptr; variable
DtvgLottieLoader.h39 const char* content = nullptr; //lottie file data
/lvgl-latest/examples/widgets/msgbox/
Dlv_example_msgbox_2.c25 lv_obj_t * content = lv_msgbox_get_content(setting); in lv_example_msgbox_2() local
26 lv_obj_set_flex_flow(content, LV_FLEX_FLOW_COLUMN); in lv_example_msgbox_2()
27 lv_obj_set_flex_align(content, LV_FLEX_ALIGN_START, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER); in lv_example_msgbox_2()
28 lv_obj_set_style_pad_right(content, -1, LV_PART_SCROLLBAR); in lv_example_msgbox_2()
30 lv_obj_t * cont_brightness = lv_obj_create(content); in lv_example_msgbox_2()
41 lv_obj_t * cont_speed = lv_obj_create(content); in lv_example_msgbox_2()
/lvgl-latest/src/widgets/msgbox/
Dlv_msgbox.c129 mbox->content = lv_obj_class_create_obj(&lv_msgbox_content_class, obj); in lv_msgbox_create()
131 if(mbox->content == NULL) return NULL; in lv_msgbox_create()
132 lv_obj_class_init_obj(mbox->content); in lv_msgbox_create()
133 lv_obj_set_flex_flow(mbox->content, LV_FLEX_FLOW_COLUMN); in lv_msgbox_create()
192 lv_obj_t * label = lv_label_create(mbox->content); in lv_msgbox_add_text()
253 return mbox->content; in lv_msgbox_get_content()
289 lv_obj_t * content = lv_msgbox_get_content(mbox); in msgbox_size_changed_event_cb() local
291 lv_obj_set_flex_grow(content, !is_msgbox_height_size_content); in msgbox_size_changed_event_cb()
Dlv_msgbox_private.h37 lv_obj_t * content; member
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_win.c9 static lv_obj_t * content = NULL; variable
36 content = lv_win_get_content(win); in test_win_should_have_valid_documented_default_values()
39 TEST_ASSERT_EQUAL(content, lv_obj_get_child(win, 1)); in test_win_should_have_valid_documented_default_values()
46 TEST_ASSERT_EQUAL(0, lv_obj_get_child_count(content)); in test_win_should_have_valid_documented_default_values()
Dtest_tabview.c114 const char * content = "Content of the first tab\n"; in test_tabview_add_one_tab_no_scroll() local
115 lv_label_set_text(label, content); in test_tabview_add_one_tab_no_scroll()
213 lv_obj_t * content = lv_tabview_get_content(tabview); in test_tabview_get_content() local
215 TEST_ASSERT_NOT_NULL(content); in test_tabview_get_content()
Dtest_msgbox.c167 lv_obj_t * content = lv_msgbox_get_content(msgbox); in test_msgbox_content_auto_height() local
171 int32_t h_content = lv_obj_get_height(content); in test_msgbox_content_auto_height()
187 h_content = lv_obj_get_height(content); in test_msgbox_content_auto_height()
/lvgl-latest/docs/
Dadd_translation.py48 content = f.read()
50 f.write(LANGUAGE + content)
/lvgl-latest/scripts/
Dtrace_filter.py32 content = f.read() variable
39 matches = pattern.findall(content)
/lvgl-latest/docs/details/widgets/
Dtabview.rst11 The Tab View Widget can be used to organize content in tabs. The Tab
23 sliding horizontally on the content.
53 the tab's content can be created.
88 tabs content (a :ref:`base_widget`)
Dmsgbox.rst11 Message boxes act as pop-ups. They are built from a content area
18 is set programmatically, the content will become scrollable.
35 - Title and content text: :ref:`lv_label`
/lvgl-latest/examples/widgets/tileview/
Dindex.rst2 Tileview with content
/lvgl-latest/src/libs/svg/
Dlv_svg_render.c171 void (*render_content)(const struct _lv_svg_render_content * content,
1104 lv_svg_render_content_t * content = (lv_svg_render_content_t *)obj; in _init_content() local
1106 content->count = lv_text_get_encoded_length(str); in _init_content()
1107 content->letters = lv_malloc(sizeof(uint32_t) * content->count); in _init_content()
1108 LV_ASSERT_MALLOC(content->letters); in _init_content()
1110 for(uint32_t i = 0; i < content->count; i++) { in _init_content()
1111 content->letters[i] = lv_text_encoded_next(str, &offset); in _init_content()
1576 lv_svg_render_content_t * content = (lv_svg_render_content_t *)ptext; in _render_text() local
1578 if(content->render_content) { in _render_text()
1579 content->render_content(content, dsc, &mtx); in _render_text()
[all …]
/lvgl-latest/docs/details/base-widget/
Dscroll.rst12 parent content area (the size without padding), the parent becomes
34 - :cpp:enumerator:`LV_SCROLLBAR_MODE_AUTO`: Show scroll bars when the content is large enough to be…
79 …t at `0` the scrollbar's length will be set automatically according to the length of the content.
148 If a Widget can't be scrolled further (e.g. its content has reached the
173 content. That is, the top side of the content can't be below the top side
177 when the user "over-scrolls" the content. The scrolling slows down, and
178 the content can be scrolled inside the Widget. When the Widget is
179 released the content scrolled in it is animated back to the closest valid
286 In short, self size establishes the size of a Widget's content. To
288 rows each with 50 px height. So the total height of the content is 500
Dcoord.rst20 - have pixel, percentage, and "content" units
22 - width/height means the full size, the "content area" is smaller with padding and border width
51 :contained content: Specify size as a function of the Widget's children. The macro
91 :content: the content area which is the size of the bounding box reduced by the border width …
94 …:alt: The box models of LVGL: The content area is smaller than the bounding box with the padding a…
191 corner of the parent's content area. For example if the parent has five
193 (15, 25) because the content area starts after the padding.
195 Percentage values are calculated from the parent's content area size.
199 lv_obj_set_x(btn, lv_pct(10)); //x = 10 % of parent content area width
308 Percentage values are calculated based on the parent's content area
[all …]
/lvgl-latest/docs/intro/add-lvgl-to-your-project/
Dconfiguration.rst20 enable the file's content and set the :c:macro:`LV_COLOR_DEPTH` define to align with
46 options will get a default value which is the same as the content of
53 its content, or define :c:macro:`LV_CONF_SKIP`.
/lvgl-latest/tests/
DREADME.md52 - `TEST_ASSERT_EQUAL_SCREENSHOT("image1.png")` Render the active screen and compare its content wit…
54 …- If the compare fails an `<image_name>_err.png` file will be created with the rendered content ne…

123