lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.12k stars 356 forks source link

refactor: update header files and xmake.lua #299

Closed lc-soft closed 1 year ago

commit-lint[bot] commented 1 year ago

Code Refactoring

Contributors

lc-soft

Commit-Lint commands
You can trigger Commit-Lint actions by commenting on this PR: - `@Commit-Lint merge patch` will merge dependabot PR on "patch" versions (X.X.Y - Y change) - `@Commit-Lint merge minor` will merge dependabot PR on "minor" versions (X.Y.Y - Y change) - `@Commit-Lint merge major` will merge dependabot PR on "major" versions (Y.Y.Y - Y change) - `@Commit-Lint merge disable` will desactivate merge dependabot PR - `@Commit-Lint review` will approve dependabot PR - `@Commit-Lint stop review` will stop approve dependabot PR
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 59.11% and project coverage change: +0.18 :tada:

Comparison is base (d4ea54a) 60.33% compared to head (3d8253c) 60.52%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## v3.0-dev #299 +/- ## ============================================ + Coverage 60.33% 60.52% +0.18% ============================================ Files 158 158 Lines 15815 15826 +11 ============================================ + Hits 9542 9578 +36 + Misses 6273 6248 -25 ``` | [Impacted Files](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu) | Coverage Δ | | |---|---|---| | [lib/platform/src/linux/linux\_keyboard.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9saW51eC9saW51eF9rZXlib2FyZC5j) | `10.00% <ø> (ø)` | | | [lib/platform/src/linux/linux\_mouse.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9saW51eC9saW51eF9tb3VzZS5j) | `41.79% <ø> (ø)` | | | [lib/thread/src/pthread.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3RocmVhZC9zcmMvcHRocmVhZC5j) | `69.72% <ø> (ø)` | | | [lib/timer/src/timer.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3RpbWVyL3NyYy90aW1lci5j) | `74.28% <ø> (ø)` | | | [lib/ui-cursor/src/cursor.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpLWN1cnNvci9zcmMvY3Vyc29yLmM=) | `44.00% <0.00%> (+44.00%)` | :arrow_up: | | [lib/ui-widgets/src/scrollbar.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpLXdpZGdldHMvc3JjL3Njcm9sbGJhci5j) | `60.05% <ø> (ø)` | | | [lib/ui-widgets/src/textview.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpLXdpZGdldHMvc3JjL3RleHR2aWV3LmM=) | `82.58% <0.00%> (ø)` | | | [lib/ui/include/ui/metrics.h](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpL2luY2x1ZGUvdWkvbWV0cmljcy5o) | `100.00% <ø> (ø)` | | | [lib/ui/src/ui.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpL3NyYy91aS5j) | `100.00% <ø> (ø)` | | | [lib/ui/src/ui\_events.c](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpL3NyYy91aV9ldmVudHMuYw==) | `61.62% <ø> (ø)` | | | ... and [13 more](https://codecov.io/gh/lc-soft/LCUI/pull/299?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.