* add yutil
* add yutil to util.h
* remove util file that same as yutil's
* replace the old header file like '#include <LCUI/util/*>' with yutil's head file
* Replace the old UTIL module associated data structures and function call code
* change timer
* Replace the old UTIL module associated data structures and function call code
* fix
* fix compilation problems(RGB to YUTIL_TEST_RGB)
* turn some useless changes back to origin
* change YUTIL_TEST_RGB back to RGB and add lcui-util/xmake.lua include
* update github action
* update github action
* update github action
* change new yutil func name
* update xmake and change way to include yutil
* update include to <yutil.h>
* update list_for_each to for(list_each())
* fix
* add graph.h to test_*
* add #include <LCUI/graph.h>
* update yutil
* change timer func name and update submodule
* update submodules
* test strncpy
* turn useless code back origin
* fix lose RGB issue
* fix yutil charset
* update yutil
* update yutil
* add yutil_test instead of lcui-util test
* change timer func name style
Co-authored-by: 李梓豪 <yidianyiko@foxmail.com>
- Add API for retrieving and modifying global settings
- Utilize this API in the codebase
- Add event for when global settings are changed
- Add event handler for updating the frame rate cap
- Add event handler to notify paint flashing changes
- Add unit tests
Fixes#192
Co-authored-by: James Duong <jduong@dremio.com>
feat: add settings api (#191) (#211) (#212)
Restore and re-implement LCUIDisplay_EnablePaintFlashing.
Fixes#191
* perf: Add OpenMP support for widget rendering (#118)
- Modified src/Makefile.am and added compiler option.
- Modified src/display.c and added preprocessor directives for OpenMP.
- To check whether multithreading is possible, the string is output to standard output. However, I will remove it before merging.
* test: add rendering performance test
* build: add OpenMP configure option
* refactor: change include path of `config.h` and remove printf()
* perf: split the dirty rectangles into four parts for rendering
* fix(linux): missing surface size access method
* refactor(display): update dirty rectangle collection method
* test: update test_render.c
* build: add vs project file for test render
* fix(display): Convert `rects` list to array and follow a "Canonical Loop Form" defined in OpenMP
* refactor: Change where variable i is initialized
* fix: Widget_GenerateHash() not work
* test: improved widget update performance
Co-authored-by: Liu <lc-soft@live.cn>