Commit Graph
72 Commits
Author SHA1 Message Date
Liu 9b2710fdfc refactor: update LCUI's dependencies on ui-widgets and ui-router 2024-12-29 22:29:58 +08:00
Liu cfa605110e style: add BOM header 2024-12-23 00:02:48 +08:00
Liu 6851e9aef3 refactor: change type naming style 2024-12-22 23:14:13 +08:00
Liu 4f19df5c7a fix(ui): incorrect line-height calculation 2024-12-22 23:14:13 +08:00
Liu d1493e315d feat: new layout process 2024-12-22 23:14:13 +08:00
Liu 44ab3aeae6 feat(ui-widgets): add scrollarea 2024-12-07 13:30:31 +08:00
Liu bd1129f7b0 fix(ui): flex-basis was not recalculated during layout 2024-12-07 13:30:30 +08:00
Liu fcff153784 fix(ui): correct width calculation 2024-12-07 13:30:30 +08:00
Liu 9435396de5 feat(ui): add ui_widget_set_background_image_url() 2024-12-07 13:30:30 +08:00
Liu 1f35451526 feat(ui): add css background-clip property 2024-12-07 13:30:30 +08:00
Liu 0c9abbe15b fixup! feat(ui): improve the event and loading logic of image loader 2024-12-07 13:30:30 +08:00
Liu 20ae97a1a2 feat: lib/platform -> lib/ptk
BREAKING CHANGE: lib/platform -> lib/ptk, and the naming style of
libplatform has changed to have a `ptk_` prefix.
2024-12-07 13:30:29 +08:00
Liu 5efe7f3ae9 fix(ui): the class change of ancestor widgets did not trigger style refresh 2024-12-07 13:30:29 +08:00
Liu 375e03bd36 feat: replace custom bool type with bool type in stdbool.h 2024-12-07 13:30:28 +08:00
Liu 68a0f0d828 feat: DPI awareness 2024-09-19 00:06:05 +08:00
Liu e4b0eb4d8d feat: DPI awareness 2024-09-19 00:06:04 +08:00
Liu fe6efbdd8f feat: window fullscreen 2024-09-19 00:06:04 +08:00
Liu d3d36fa19d Revert "feat: replace decode_utf8 with mbstowcs"
This reverts commit 9e225e9d27.
2024-09-19 00:06:04 +08:00
Liu 16002e0846 fix(ui): the widgets created in the ready event handler aren't updated 2024-05-13 22:49:22 +08:00
Liu 9e225e9d27 feat: replace decode_utf8 with mbstowcs 2024-05-13 22:49:22 +08:00
Liu f8e32821a7 feat(ui): improve the event and loading logic of image loader 2024-05-13 22:49:22 +08:00
Liu 1534e4b1c3 feat(pandagl): update image reader to support reading one row of data 2024-05-13 22:49:22 +08:00
Liu a6dea4de1a fix(css): CONVER -> COVER 2024-05-13 22:49:22 +08:00
Liu d60ec9227d chore: update copyright year 2024-05-13 22:49:22 +08:00
Liu 26641aa0b3 fix(ui): window title mutation not applied 2024-05-13 22:49:21 +08:00
Liu 023b35e245 chore: add copyright header 2024-05-13 22:49:20 +08:00
Liu 5c8186faad refactor: clear compiler warnings 2024-05-13 22:49:19 +08:00
Liu 3d1531df3e fix(ui): correct the width calculation when max width is valid 2024-05-13 22:49:19 +08:00
Liu f8d3f17cb9 fix(ui): correct the calculation of % unit size within the block layout 2024-05-13 22:49:19 +08:00
Liu 02c306c685 fix(ui): request reflow after self size change 2024-05-13 22:49:18 +08:00
Liu 261ee1b993 fix(ui): some dirty rectangles are not collected 2024-05-13 22:49:18 +08:00
Liu d6f0f8e98f feat(ui): add css_load event 2024-05-13 22:49:18 +08:00
Liu 62ca908c81 style: centent -> content 2024-05-13 22:49:18 +08:00
Liu 6f745cb9f6 fix(ui): widget size not stable after style update 2024-05-13 22:49:18 +08:00
Liu 1552a71ff8 fix(ui): correct vertical-align related position calculation 2024-05-13 22:49:17 +08:00
Liu a7b36c51a0 refactor(ui): rename widget default prototype functions 2024-05-13 22:49:17 +08:00
Liu f2466c7d75 feat(ui): improve widget update process and related data structures 2024-05-13 22:49:17 +08:00
Liu 549f8077a6 fix(ui): correct widget box comparison and dirty rectangle collection 2024-05-13 22:49:17 +08:00
Liu 322f57fb7f fix(ui): correct flex item width compute 2024-05-13 22:49:16 +08:00
Liu 2d9d5fafd1 fix(ui): use the root widget as the default event target 2023-08-21 22:53:14 +08:00
Liu 878ebd3a94 fix(ui): correct the calculation of background position 2023-08-20 12:39:41 +08:00
Liu 3c9c3dd8f7 refactor(css): css_key_* -> css_prop_* 2023-06-09 23:49:15 +08:00
Liu 329b7c192d refactor: simplify naming and function parameters 2023-06-07 23:39:01 +08:00
Liu 80afffa60a feat(ui): remove uncommon parameter of ui_widget_on() 2023-05-20 23:06:13 +08:00
Liu c5d66f6357 fix(ui): background image not loaded 2023-05-14 21:36:22 +08:00
Liu f3f1fc612c feat: update libctest 2023-05-02 14:44:41 +08:00
Liu f5d0d120a2 refactor: update header files and xmake.lua 2023-04-30 00:31:47 +08:00
Liu d4ea54a78a refactor: remove some dependencies of libui 2023-04-01 22:36:10 +08:00
Liu cc5dfe4690 refactor: remove the dependency of libcss on LCUI 2023-04-01 22:36:09 +08:00
Liu 98632bdfca feat: merge libimage, libtext and libfont into pandagl 2023-04-01 22:36:08 +08:00