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
Liu Chao
621d91e33e
build: fix make distcheck failed
2019-10-07 14:14:26 +08:00
Liu Chao
6e1e029166
build: update version info
2019-10-07 14:14:25 +08:00
qiqiworld
1107f911e2
fix(ime): composition window position problem ( #36 , #175 )
2019-10-03 15:23:33 +08:00
Liu
568c915a8e
feat(css): make CSSFontStyle_* functions public
2019-10-03 15:22:50 +08:00
Liu
e246843e22
feat(gui): add canvas widget
2019-10-03 15:22:50 +08:00
Liu
173b92fc89
feat(logger): support setting logging level
2019-10-03 15:21:40 +08:00
Liu
4f6a01c29f
feat(builder): tag name can be an existing widget type name
2019-10-03 15:21:33 +08:00
toluschr
113af6a05b
feat: add include/LCUI.h file ( #173 )
...
* Fix typo in the "building" section
* include LCUI_Build.h in LCUI/LCUI.h to avoid lots of errors I had when not having the correct include order
* changed: include headers to integrate the changes by lc-soft
* added: newline at end of "include/LCUI.h"
2019-10-03 15:21:31 +08:00
Liu
7afb810b50
refactor(types): add LCUI_BorderLine struct
2019-10-03 15:21:30 +08:00
Liu
d8075d974d
feat(graph): add LCUI_OverPixel()
2019-10-03 15:21:29 +08:00
Liu
5a5ba8cad3
fix: conflict with C++ "operator" keyword
2019-06-19 23:34:29 +08:00
Liu
512706e9b0
feat(textedit): add TextEdit_GetProperty()
2019-06-17 21:57:49 +08:00
Liu Chao
7dd08d7e43
refactor(timer): add TimerCallback
2019-06-17 21:57:48 +08:00
Liu
5163363b4f
feat(gui): add Widget_SetStyleString()
2019-06-17 21:57:48 +08:00
Liu
c9d8ded81e
feat(gui): add TextEdit_BindProperty()
2019-06-17 21:57:47 +08:00
Liu
0d3fb6803f
feat(gui): add Widget_BindProperty()
2019-06-17 21:57:47 +08:00
Liu
02714bf8fc
feat(gui): add Widget_SetText()
2019-06-17 21:57:47 +08:00
Liu
13465c7dcd
feat(util): add Object_ToString()
2019-06-17 21:57:47 +08:00
Liu
241c6522f7
feat(util): add object wrapper and operation set
2019-06-17 21:57:46 +08:00
Liu
7c0aa671c3
refactor(textlayer): remove canvas
2019-03-18 21:46:33 +08:00
Liu
e53b42c84a
chore: update version
2019-03-10 14:32:31 +08:00
Liu
8de4e71a78
fix(gui): TextEdit should reset the caret position after blur
2019-03-09 21:13:13 +08:00