* Removed src/lv_conf_zephyr.h
Removed src/lv_conf_zephyr.h as it is maintained in the Zephyr build it self.
* CMakeLists.txt: Added support for Zephyr RTOS
Added support to build LVGL as library for Zephyr RTOS
* Added support to use LVGL repo as Zephyr module
Added support to use the LVGL repository as a Zephyr module repository
* quote string defaults for Kconfig values to eliminate warnings
* don't add \ in default for LV_TICK_CUSTOM_SYS_TIME_EXPR
(tho its needed on linux and MacOS) as I can't test on Windows
* Fix division by zero issue when all points are equal
As the title says, when all the points are equal, it attempts division by zero, and in some cases it can result in funny behavior.
Slightly kludgy fix, but not a significant performance impact.
* Actually fix the division by zero issue both ways
Previous commit was slightly broken and only worked one way
* Fix range setting instead of drawing
* Missing y_tmp
* Removed LV_CONF_SKIP definition from CMake to avoid redefinition warnings; added more Kconfig options
* Bumped up version and removed unnecessary default values
* Added user data configuration to KConfig
* Moved user data options to "Feature Usage" menu
* Add option to align title text in window
I found that i really needed a basic way to align the title text in a window, and therefore i did a bit of tinkering and came up with this solution. Mind you that I'm very new to this so it might not be the most optimal way. I have tested a bit and it pretty looked promising,
I have of course written the alignments as I felt was most suitable, but I shouldn't be the judge of that.
Current alignment:
LV_TXT_FLAG_CENTER makes the text align in the center of the header but ensures it can’t overextend into to header button area;
LV_TXT_FLAG_RIGHT makes the text align at the right side, but takes the right side header buttons into account
LV_TXT_FLAG_FIT & LV_TXT_FLAG_EXPAND I wasn’t too sure about what to do so as of now it just aligns them as normal
LV_TXT_FLAG_NONE Is equal to no flag set by the user and therefore I have just set it to the default coords, like normal. The text then align at the left side.
* Update lv_win.h
* Added functions
Added function to set and get alignment of the header title as requested
* Added functions
Added setter and getter functions for the header title alignment as requested