* fix(format): run code-format.sh
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(astyle): add the 3rd party source file to exclude list
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(built_in_font_gen.py): change the output format from bin to lvgl
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(generate_all.py): improve the builtin font generation
1.run astyle on the generated source files
2.copy these files to src/font folder
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(font): regenerate all builtin font files
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(misc): avoid ;; after LV_ASSERT_STYLE/LV_ASSERT_OBJ
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(style_api_gen.py): remove the unused docs_prop_cnt variable
and remove the trailing space
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(style_api_gen.py): ensure the generated code follow the coding style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(style_api_gen.py): ensure props has the same order of lv_style_prop_t
and correct the style flags
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(CMake) split CMakeLists.txt, add options, includes and dependencies
* fix(CMake) do not use 'project' keyword with ESP_PLATFORM
* fix(CMake) prefix includes with CMAKE_CURRENT_LIST_DIR
* Don't depend on CMAKE_CURRENT_SOURCE_DIR
* fix(CMake) rename baremetal.cmake to custom.cmake
* fix(CMake) add CMake documentation
* adding font type check
* using theme specified font
supports freetype drawing
* adding font type check
* using theme specified font
supports freetype drawing
* freetype fallback font support
* improved fallback font
* updated fallback font modifier
* docs(events) LV_EVENT_APPLY was removed (#2791)
* reverted to default font logic
* removed unused function
* improved font fallback
* font fallback for default lv_draw_letter as well
* added back masked drawing support
* fallback support for freetype uncached
* updated description
* fixed constructor initialization for ISO C
* reverted unneeded changes
* using loop instead of recursion to resolve glyph info
* simplified glyph dec resolving
* removed unused enum value
* improved lv_font_fmt_ft_dsc_t field naming
* supports pointer as freetype font source
* Updated docs for font fallback
Co-authored-by: Vincent Hamp <higaski@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* fix(conf): ensure the template and generated file conform the coding style
and remove lv_conf_internal.h from the excluding list of code-format.cfg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): regenerate lv_conf_internal.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(lv_symbol_def.h): LV_SYMBOL_xxx by the encode order
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(lv_symbol_def.h): change the hex number to upper case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(font): Keep the LV_FONT_DECLARE order same as LV_FONT_xxxx
and correct the comment and format
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Add or delete event callback in lv_obj_event_base, the
address of event_dsc will change, causing crash.
Change-Id: I3085a077826e4c132f8f5088d31cad1d0ffd3b9f
With this change after an lv_timer_del(disp->refr_timer); disp->refr_timer = NULL;
the user can call _lv_disp_refr_timer(NULL); anywhere to sync rendering with VSYNC or the TE signal.
lv_timer_handler() and _lv_disp_refr_timer() can not run at the same time.
When the event is bubbling, use lv_event_get_current_target
to get the obj that needs to be processed
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
* fix some errors in bidi algorithm when displaying arabic
* fix some errors in bidi algorithm when displaying arabic
* fix format error
Co-authored-by: liuxinh <liuxinh@landicorp.com>
Some platforms define uint32_t as "unsigned long" rather than "unsigned int".
The %d format specifier is mismatched and the C99 format macros are the only
portable way to handle these types.
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>