Liu
e8f23c0aa5
fix(platform): x11 driver not compiled
2023-04-01 22:34:30 +08:00
Liu
27e92fa80d
build: use __attribute__((visibility("default")))
2023-04-01 22:34:29 +08:00
Liu
4802c23910
build: split gui library
2023-04-01 22:32:21 +08:00
Liu
69c4225890
build: delete Makefile.am
2023-04-01 22:32:20 +08:00
Liu
3bece11c31
build: change some libraries to shared libraries
2023-04-01 22:32:20 +08:00
Liu
95397efccf
refactor: reduce the dependencies of CSS module
2023-04-01 22:32:20 +08:00
Liu
67a1787dd2
build: update build script for Windows
2023-04-01 22:32:20 +08:00
Liu
ed414c4ba5
build: use xmake instead of autotools
2023-04-01 22:32:20 +08:00
Liu
85958e4405
chore(release): 2.2.0
2021-05-31 23:28:36 +08:00
Liu
35bfa3f0e7
fix(gui): the size of the absolutely positioned widget is incorrect
2021-05-24 22:39:29 +08:00
Liu
31dee2494d
fix(gui): the horizontal scroll bar does not work ( #219 )
2021-05-15 22:50:49 +08:00
Liu
c9c990167d
fix(util): ‘NULL’ is undeclared when the function of dict is inlined
2021-05-09 23:07:44 +08:00
Liu
cf31e66b2f
refactor: move config.h file to the include directory
2021-05-06 23:06:57 +08:00
Liu
cb9055bbc6
refactor(types): change the type of color_type to LCUI_ColorType
2021-05-05 22:09:43 +08:00
Liu
c0ccdf81e5
feat(font): add operation functions for TextStyle
2021-05-05 22:09:41 +08:00
Liu
932734d5bf
refactor(font): simplify the assignment statement of autowrap variable
2021-05-05 22:09:39 +08:00
Liu
3bd6b71572
fix: remove the incorrect CSSParser_GetRuleParser() macro
2021-03-21 21:32:27 +08:00
Liu
f0382d435a
fix: variable naming conflict in LCUI_PostSimpleTask()
2020-10-07 21:53:36 +08:00
Liu
345031d74c
chore(release): v2.1.0
2020-07-05 22:35:56 +08:00
James Duong and James Duong
1b8c6e6863
feat: add settings api ( #191 ) ( #211 ) ( #212 )
...
- 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
2020-07-02 15:22:28 +08:00
Liu
57fce7414a
chore: update version to 2.0.0
2020-04-11 16:37:20 +08:00
Liu
468ab5d408
build: update freetype2 check
2020-04-11 16:33:41 +08:00
Liu
0991d14efd
feat(util): use inline functions instead of global variables
...
BREAKING CHANGE: `DictType_StringKey` and `DictType_StringCopyKey` have been replaced by inline functions
2020-03-01 22:33:30 +08:00
Liu
103544c93c
style: clear compile warnings
2020-03-01 20:16:52 +08:00
Liu
298ffa4fd1
feat(display): add LCUIDisplay_EnablePaintFlashing()
...
BREAKING CHANGE: LCUIDisplay_ShowRectBorder() LCUIDisplay_HideRectBorder() have been removed.
2020-03-01 20:16:38 +08:00
Liu
08ed51cb98
refactor(gui): add widget_shadow.h
...
BREAKING CHANGE: The widget shadow operation interface has been changed to private
2020-03-01 20:16:36 +08:00
Liu
d69fbb0b7f
refactor(gui): add widget_background.h
...
BREAKING CHANGE: The widget background operation interface has been changed to private
2020-03-01 20:16:35 +08:00
Liu
843232efd0
refactor(gui): add widget_border.h
...
BREAKING CHANGE: The widget border operation interface has been changed to private
2020-03-01 20:16:34 +08:00
Liu
3587dacac5
refactor(gui): add widget_hash.c
2020-03-01 20:16:30 +08:00
Liu
406954c533
refactor(gui): use clearer layout rules
2020-03-01 20:16:24 +08:00
Liu
37c6749197
refactor(gui): LCUI_WidgetTaskBoxRec -> LCUI_WidgetTaskRec
2020-02-16 17:44:03 +08:00
Liu
746ec7811b
refactor(gui): remove LCUI_WidgetLayoutContext
2020-02-16 17:44:02 +08:00
Liu
f0589161d9
feat(gui): change the call timing and parameter list for the runtask()
...
BREAKING CHANGE: The runtask() method takes two arguments and is called before each task is processed.
2020-02-16 17:44:00 +08:00
Liu
3cbb246556
feat(gui): add flexible box layout
2020-02-16 17:43:52 +08:00
Liu
07d2911372
feat(css): add flexbox property parser
2020-02-16 17:43:51 +08:00
Liu
24e89aa513
feat(gui): rewrite widget layout system
2020-02-16 17:43:41 +08:00
Liu
80d4149aab
feat(gui): add CSSFontStyle_IsEquals()
2020-02-16 17:43:37 +08:00
Liu
1a50aeca37
refactor(gui): improve widget update processing
...
BREAKING CHANGE: Some widget operation functions have been renamed or removed.
2020-02-16 17:43:35 +08:00
Liu
f9c924faac
build: update config.win.h.in
2020-01-19 17:48:24 +08:00
Liu
c81da291af
perf: improve dirty rectangle collection
2020-01-19 17:48:22 +08:00
d4yvector and Liu
d8583337fb
perf: add OpenMP support for widget rendering ( #118 ) ( #189 )
...
* 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 >
2020-01-19 17:48:21 +08:00
Liu
2e4cab4e30
style(util): add the const keyword to decorate parameter
2019-12-01 19:52:31 +08:00
Liu
20abb19ce3
fix(util): the preset dict types are not exported correctly
2019-12-01 19:44:30 +08:00
Liu
085c15083d
style: clear compiler warnings
2019-10-07 14:14:42 +08:00
Liu
68696831c4
fix(css): setting font style parser's style_handler doesn't work
2019-10-07 14:14:41 +08:00
Liu
811585bdcd
feat(gui): add Widget_CollectReferences()
2019-10-07 14:14:40 +08:00
Liu
2d7d1ee6fd
feat(gui): add Widget_Each()
2019-10-07 14:14:39 +08:00
Liu
f36d071bf3
feat: add rounded border rendering ( #174 )
2019-10-07 14:14:36 +08:00
Liu Chao
f9ecdb7fcf
refactor: make config.h private
2019-10-07 14:14:31 +08:00
Liu
de40c7c513
feat: add LCUI_GetVersion()
2019-10-07 14:14:29 +08:00