Releases
v2.0.0
Changelog
Bug Fixes
builder: comment node should be ignore (460ee00 )
css: conditional jump or move depends on uninitialised value(s) (44486f1 )
font: fix to get the correct file path (#187 ) (6d54685 )
font: FontBitmap_Free() memory leak (c47a6c0 )
gui: root widget is missing hover and active status (02c03c7 )
gui: segmentation fault on resize empty window (#199 ) (56ce0b5 )
gui: TextCaret did not remove the timer after destruction (a58b12d )
linux: InitLinuxKeybord() memory leak bug (61cadc8 )
timer: the callback will still run after the timer is removed (43233b3 )
correct the use of variables (513b3b9 )
windows: touch support is not enabled by default (bc7710a )
cursor position should be updated before handle widget events (83fc949 )
util: the preset dict types are not exported correctly (20abb19 )
Code Refactoring
gui: add widget_background.h (d69fbb0 )
gui: add widget_border.h (843232e )
gui: add widget_shadow.h (08ed51c )
gui: improve widget update processing (1a50aec )
Features
builder: output details when an error occurs (f7ed3b8 )
css: add flexbox property parser (07d2911 )
display: add LCUIDisplay_EnablePaintFlashing() (298ffa4 )
display: flashing rendered rects (#180 ) (#190 ) (5ad4fec )
display: set the minimum screen size to 320x240 (317df70 )
gui: add CSSFontStyle_IsEquals() (80d4149 )
gui: add flexible box layout (3cbb246 )
gui: change the call timing and parameter list for the runtask() (f058916 )
gui: rewrite widget layout system (24e89aa )
gui: ScrollBar widget will reset when the container is destroyed (61e0f2c )
gui: set the container padding when the ScrollBar is visible (a436f41 )
gui: unwrap() will fire the link and unlink events for each child (48344bc )
gui: update the sizing rules for the TextView widget (ea7e9d2 )
util: use inline functions instead of global variables (0991d14 )
Performance Improvements
display: no need to add dirty rectangles after resizing (b0985a2 )
display: OpenMP is enabled only when the render area is large (1e57d9d )
gui: improve invalid area collection (e9ea262 )
gui: improve textedit update processing (bbb7cbc )
gui: improve textview update processing (6824735 )
add OpenMP support for widget rendering (#118 ) (#189 ) (d858333 )
improve dirty rectangle collection (c81da29 )
BREAKING CHANGES
util: DictType_StringKey
and DictType_StringCopyKey
have been replaced by inline functions
display: LCUIDisplay_ShowRectBorder() LCUIDisplay_HideRectBorder() have been removed.
gui: The widget shadow operation interface has been changed to private
gui: The widget background operation interface has been changed to private
gui: The widget border operation interface has been changed to private
gui: The textview widget must operate in the UI thread.
gui: The runtask() method takes two arguments and is called before each task is processed.
gui: Some widget operation functions have been renamed or removed.
更新日志
问题修复
代码重构
新功能
性能改进
不兼容变动
util: DictType_StringKey
and DictType_StringCopyKey
已改用内联函数代替
display: 已移除 LCUIDisplay_ShowRectBorder()
和 LCUIDisplay_HideRectBorder()
gui: 部件的阴影操作接口已改为私有
gui: 部件的背景操作接口已改为私有
gui: 部件的边框操作接口已改为私有
gui: TextView 部件必须在 UI 线程中操作
gui: 部件原型上的 runtask() 方法接受两个参数,并且会在每个任务被处理后调用
gui: 一些部件操作接口已重命名或已移除
You can’t perform that action at this time.