* 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>
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>
In v8.0 the header was a detached object which made it difficult to move the header and the calendar
together. Besides there were no way to notifi the header of the calendar's shown date has changed.
BREAKING CHANGE: API of cleander headers, the appearence of the calendars
related to #2573"
* fix(fs): replace all tab to space and other minor style fix
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(extra/fs): rename lv_fs_libs.h to lv_fsdrv.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(extra/fs/stdio): fix the wrong directory path in fs_dir_open
and remove the duplicated or platform specific code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(extra/fs/posix): implement in fs_dir_read
and fix the wrong directory path in fs_dir_open
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(extra/fs/posix): return file handle directly to avoid malloc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* Update lv_spinbox.c
* Added support for moving the Spinbox digit position from right-to-left when clicking the button on an encoder. The default behaviour is when clicking the encoder button, the digit is moved from left-to-right (MSB to LSB).
* Added a check to see if the spinbox digit-count is just one. In that case it is pointless to check the buttonclick
* See also the spinbox.h file
* Update lv_spinbox.c
* Forgot the implementation of the setter function
* forgot a ;
* Update lv_spinbox.h
Adding Spinbox support for moving the digitposition both from left-to-right and right-to-left when editing a spinbox and clicking the encoder button. The current behaviour is clicking the encoder button only moves the digitposition from right to left (from MSB to LSB)
* Update lv_spinbox.c
Added brief / comment to new function
* Update lv_spinbox.h
More clear Brief / Comment
* Update lv_spinbox.c
nested function replaced by lv_pow fiunction
* Update lv_spinbox.h
removed spaces
* Update lv_spinbox.h
Replaced type used for direction of digit step when clicking an encoder with existing LVGL lv_dir_t
* Update lv_spinbox.c
Replaced type used for direction of digit step when clicking an encoder with existing LVGL lv_dir_t
* Update spinbox.md
Added comment for the new function 'lv_spinbox_set_digit_step_direction'
* Update src/extra/widgets/spinbox/lv_spinbox.h
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
* Update src/extra/widgets/spinbox/lv_spinbox.h
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
* Update lv_spinbox.c
bug: old definition LV_SPINBOX_DIGIT_DIR_TO_RIGHT changed to LV_DIR_RIGHT
* Update lv_spinbox.h
Extra linefeed removed
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
This change introduces new fields on `lv_disp_drv_t` that allow to
specify the size of the full display and the offset of the display
subsection that is being rendered to. The values are used to transform
the drawing area before calling `flush_cb` so that only the desired part
of the full display is being rendered to.
Relates to: lvgl/lv_drivers#166