Liu
172b0c1908
docs(doc-viewer): add horizontal code scrolling
2026-11-02 22:31:21 +08:00
Liu
1dc63c68ee
docs(doc-viewer): scroll long code blocks with line numbers
2026-11-02 22:31:19 +08:00
Liu
49e719995c
feat(widgets): add attachment widget
2026-11-02 22:31:17 +08:00
Liu
860b1f1289
feat(widgets): add card widget
2026-11-02 22:31:16 +08:00
Liu
ccad5ef131
feat(widgets): add toast widget
2026-11-02 22:31:15 +08:00
Liu
47014c5dbb
feat(widgets): add popover widget
2026-10-28 23:40:31 +08:00
Liu
2ac38a6ca6
feat(widgets): add tooltip widget
...
Add Tooltip/TooltipTrigger/TooltipContent, data-tooltip attributes, Portal placement with border arrow, C attach helpers, docs, and tests.
2026-10-28 23:40:30 +08:00
Liu
16f5e91cb8
feat(widgets): update radio-group style
2026-10-18 15:42:34 +08:00
Liu
e80b997c45
feat(widgets): update field style
2026-10-18 15:42:33 +08:00
Liu
ad19263271
docs: update checkbox examples
2026-10-18 15:42:33 +08:00
Liu
1e48b886a0
feat(widgets): add progress label and value
2026-10-18 15:42:32 +08:00
Liu
d329b1b874
docs: fix sidebar scroll
2026-10-18 15:42:31 +08:00
Liu
a7a9f72c0c
docs: update style
...
docs: update style
2026-10-18 15:42:31 +08:00
Liu
ae5fc2ea75
docs: update AGENTS.md
2026-10-18 15:42:29 +08:00
Liu
19f52bfd2e
docs: format examples
2026-10-18 15:42:26 +08:00
Liu
323b641bbc
feat(widgets): add groups, scrolling, alignment and checkmark to select
2026-10-18 15:42:25 +08:00
Liu
a1078ff201
feat(widgets): add spinner and shimmer widgets
2026-10-18 15:42:23 +08:00
Liu
8876c70f93
feat(widgets): add dialog and alert-dialog widgets
2026-10-18 15:42:21 +08:00
Liu
20ac4484b9
feat(widgets): add empty widget
2026-10-18 15:42:19 +08:00
Liu
a805852558
feat(widgets): add item widget
2026-10-18 15:42:18 +08:00
Liu
b674004673
feat(widgets): add alert widget
2026-10-17 21:16:54 +08:00
Liu
6b7a4d41de
feat(widgets): add badge widget
2026-10-17 21:16:53 +08:00
Liu
7154337944
feat(widgets): add button variants, sizes and themed styles with docs
2026-10-17 21:16:51 +08:00
Liu
92b46eee10
feat(widgets): add icon widget
2026-10-17 21:16:50 +08:00
Liu
251bf2fa54
feat(ui): propagate inherited CSS values to dependent children
2026-10-17 21:16:45 +08:00
Liu
7676dd110b
docs: update page generator
2026-10-17 21:16:40 +08:00
Liu
10b3665071
feat(widgets): add portal and select widget
2026-10-17 21:16:38 +08:00
Liu
13c32f98a3
feat(widgets): add field widget
2026-10-17 21:16:34 +08:00
Liu
fd23dd079f
feat(widgets): add radio-group widget
2026-10-17 21:16:28 +08:00
Liu
d731379d72
docs(doc-viewer): add label and checkbox widget documentation
2026-10-17 21:16:27 +08:00
Liu
4a5f29b180
docs(doc-viewer): add usage, rename anatomy to composition
2026-08-05 22:42:28 +08:00
Liu
3801fdc10f
refactor(yutil): rename public APIs and migrate timer to ptk
...
- charset module renamed to encoding (decode/encode kept)
- time: get_time_ms → y_gettime, sleep_ms → y_sleep
- time: delete get_time_us, get_time_delta, sleep_s
- string: strdup2 → y_strdup, wcsdup2 → y_wcsdup
- string: strtolower → y_strlower, strtrim → y_strtrim
- string: wcstrim → y_wcstrim, strhash → y_strhash
- string: strreplace → y_strreplace, strsplit → y_strsplit
- string: delete wcsreplace, cmdsplit
- math: delete y_iround, y_pow2
- timer module migrated from yutil to ptk as internal timer_scheduler
- WinMain simplified to use __argc/__argv instead of cmdsplit
BREAKING CHANGE: all renamed yutil public APIs require downstream
to update function names. Deleted APIs require code changes:
- get_time_us: use y_gettime() for ms timestamps
- get_time_delta: use y_gettime() - start instead
- sleep_s: use y_sleep(ms) with millisecond argument
- wcsreplace: no replacement, had zero callers
- cmdsplit: WinMain now uses __argc/__argv from CRT
- timer_list_*: migrated to ptk timer_scheduler_*;
ptk_reset_timer still available for external use
2026-08-05 22:42:26 +08:00
Liu
2ccb6aa151
feat: add progress widget
2026-08-05 22:42:20 +08:00
Copilot and Liu
437d93d34e
docs: add native doc-viewer and widget documentation ( #324 )
...
- Add examples/doc-viewer, an LCUI-based documentation viewer with an
MDX compiler pipeline that converts source MDX files into C/TSX
page components rendered by lcui build.
- Add zh-CN and en documentation for 5 widgets (anchor, button,
scrollarea, text, text-input), each with C/TSX/XML example variants
and widget-fields data.
- Add handbook and overview documentation.
Co-authored-by: Liu <lc-soft@live.cn >
2026-08-05 22:42:19 +08:00
Liu
db2aaf8e26
build(deps): update xmake-requires.lock
2025-08-16 12:29:26 +08:00
Liu
cb442a8ca4
docs: update tutorial list
2025-04-02 23:07:37 +08:00
Liu
6851e9aef3
refactor: change type naming style
2024-12-22 23:14:13 +08:00
Liu
bdd7cb5f75
feat: merge libtimer into libptk
...
BREAKING CHANGE: lcui_set_timeout -> ptk_set_timeout, lcui_set_interval -> ptk_set_interval
2024-12-07 13:30:29 +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
bf2794e122
docs(examples): update task name style
2024-05-13 22:49:23 +08:00
Liu
b49da7e4fc
build: set cairo as optional
2024-05-13 22:49:21 +08:00
Liu
5c8186faad
refactor: clear compiler warnings
2024-05-13 22:49:19 +08:00
Liu
299239822f
feat: rename textedit to textinput
...
BREAKING CHANGE: textedit has been renamed as textinput
2023-10-15 20:27:52 +08:00
Liu
329b7c192d
refactor: simplify naming and function parameters
2023-06-07 23:39:01 +08:00
Liu
53ec550701
docs(examples): simplify fabric example code
2023-06-03 18:06:33 +08:00
Liu
80afffa60a
feat(ui): remove uncommon parameter of ui_widget_on()
2023-05-20 23:06:13 +08:00
Liu
e7bf061f50
docs(examples): add todolist example
2023-05-14 22:13:47 +08:00
Liu
bb17087d0b
feat(ui): rename textview to text
2023-05-14 22:13:47 +08:00
Liu
9ad372595a
docs(examples): add fabric example to show how to use cairo
2023-04-30 16:55:36 +08:00
Liu
f5d0d120a2
refactor: update header files and xmake.lua
2023-04-30 00:31:47 +08:00