/lvgl-latest/src/libs/thorvg/ |
D | tvgCommon.h | 71 …#define TVGERR(tag, fmt, ...) fprintf(stderr, "%s[E]%s %s" tag "%s (%s %d): %s" fmt "\n", ErrorBgC… argument 72 …#define TVGLOG(tag, fmt, ...) fprintf(stdout, "%s[L]%s %s" tag "%s (%s %d): %s" fmt "\n", LogBgCol… argument
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_vg_lite_utils.h | 62 #define LV_VG_LITE_IS_INDEX_FMT(fmt) \ argument 63 ((fmt) == VG_LITE_INDEX_1 \ 64 || (fmt) == VG_LITE_INDEX_2 \ 65 || (fmt) == VG_LITE_INDEX_4 \ 66 || (fmt) == VG_LITE_INDEX_8)
|
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_fbdev.c | 54 static lv_color_format_t fb_fmt_to_color_format(int fmt); 117 LV_LOG_USER(" fmt: %u", dsc->vinfo.fmt); in lv_nuttx_fbdev_set_file() 126 lv_color_format_t color_format = fb_fmt_to_color_format(dsc->vinfo.fmt); in lv_nuttx_fbdev_set_file() 292 static lv_color_format_t fb_fmt_to_color_format(int fmt) in fb_fmt_to_color_format() argument 294 switch(fmt) { in fb_fmt_to_color_format() 307 LV_LOG_ERROR("Unsupported color format: %d", fmt); in fb_fmt_to_color_format()
|
/lvgl-latest/src/others/observer/ |
D | lv_observer.c | 475 lv_observer_t * lv_label_bind_text(lv_obj_t * obj, lv_subject_t * subject, const char * fmt) in lv_label_bind_text() argument 480 if(fmt == NULL) { in lv_label_bind_text() 494 …rver_t * observer = lv_subject_add_observer_obj(subject, label_text_observer_cb, obj, (void *)fmt); in lv_label_bind_text() 673 const char * fmt = observer->user_data; in label_text_observer_cb() local 675 if(fmt == NULL) { in label_text_observer_cb() 681 lv_label_set_text_fmt(observer->target, fmt, subject->value.num); in label_text_observer_cb() 685 lv_label_set_text_fmt(observer->target, fmt, subject->value.pointer); in label_text_observer_cb()
|
D | lv_observer.h | 360 lv_observer_t * lv_label_bind_text(lv_obj_t * obj, lv_subject_t * subject, const char * fmt);
|
/lvgl-latest/src/misc/ |
D | lv_text_private.h | 72 char * lv_text_set_text_vfmt(const char * fmt, va_list ap) LV_FORMAT_ATTRIBUTE(1, 0);
|
D | lv_text.c | 496 char * lv_text_set_text_vfmt(const char * fmt, va_list ap) in lv_text_set_text_vfmt() argument 501 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap_copy); in lv_text_set_text_vfmt() 513 lv_vsnprintf(raw_txt, len + 1, fmt, ap); in lv_text_set_text_vfmt() 532 lv_vsnprintf(text, len + 1, fmt, ap); in lv_text_set_text_vfmt()
|
/lvgl-latest/src/widgets/label/ |
D | lv_label.h | 100 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) LV_FORMAT_ATTRIBUTE(2, 3);
|
D | lv_label.c | 175 void lv_label_set_text_fmt(lv_obj_t * obj, const char * fmt, ...) in lv_label_set_text_fmt() argument 178 LV_ASSERT_NULL(fmt); in lv_label_set_text_fmt() 184 if(fmt == NULL) { in lv_label_set_text_fmt() 195 va_start(args, fmt); in lv_label_set_text_fmt() 196 label->text = lv_text_set_text_vfmt(fmt, args); in lv_label_set_text_fmt()
|
/lvgl-latest/src/widgets/table/ |
D | lv_table.h | 81 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint32_t row, uint32_t col, const char * fmt,
|
D | lv_table.c | 126 void lv_table_set_cell_value_fmt(lv_obj_t * obj, uint32_t row, uint32_t col, const char * fmt, ...) in lv_table_set_cell_value_fmt() argument 129 LV_ASSERT_NULL(fmt); in lv_table_set_cell_value_fmt() 153 va_start(ap, fmt); in lv_table_set_cell_value_fmt() 157 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap); in lv_table_set_cell_value_fmt() 169 lv_vsnprintf(raw_txt, len + 1, fmt, ap2); in lv_table_set_cell_value_fmt() 193 lv_vsnprintf(table->cell_data[cell]->txt, len + 1, fmt, ap2); in lv_table_set_cell_value_fmt()
|
/lvgl-latest/tests/ |
D | main.py | 204 for fmt in formats: 206 img = LVGLImage().from_png(png, cf=fmt, background=0xffffff)
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite_img.c | 42 #define VGLITE_TRACE(fmt, ...) \ argument 44 LV_LOG(fmt, ##__VA_ARGS__); \ 47 #define VGLITE_TRACE(fmt, ...) \ argument
|
/lvgl-latest/src/stdlib/builtin/ |
D | lv_sprintf_builtin.c | 111 const char * fmt; member 762 idx += lv_vsnprintf_inner(out, buffer + idx, maxlen - idx, vaf->fmt, copy); in lv_vsnprintf_inner()
|
/lvgl-latest/demos/ebike/ |
D | lv_demo_ebike_stats.c | 522 … * stat_card_create(lv_obj_t * parent, const char * name, lv_subject_t * subject, const char * fmt) in stat_card_create() argument 537 lv_label_bind_text(label, subject, fmt); in stat_card_create()
|
/lvgl-latest/src/others/vg_lite_tvg/ |
D | vg_lite_tvg.cpp | 32 #define TVG_IS_VG_FMT_SUPPORT(fmt) ((fmt) == VG_LITE_BGRA8888 || (fmt) == VG_LITE_BGRX8888) argument 53 #define IS_INDEX_FMT(fmt) \ argument 54 ((fmt) == VG_LITE_INDEX_1 \ 55 || (fmt) == VG_LITE_INDEX_2 \ 56 || (fmt) == VG_LITE_INDEX_4 \ 57 || (fmt) == VG_LITE_INDEX_8)
|
/lvgl-latest/docs/details/widgets/ |
D | label.rst | 43 With :cpp:expr:`lv_label_set_text_fmt(label, fmt, ...)` printf formatting
|
/lvgl-latest/src/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 2222 int nranges, start, end, v, fmt, fdselector = -1, i; local 2225 fmt = stbtt__buf_get8(&fdselect); 2226 if(fmt == 0) { 2231 else if(fmt == 3) {
|