waozi
66fb62de40
ui: keep font atlases immutable while typing
2026-08-17 21:35:43 -03:00
waozi
f8f5cd4c71
ui: add retained declarative tree and typed events
2026-08-17 18:55:05 -03:00
waozi
525e7aa1cb
ui: add fixed-subset font sources
2026-08-17 17:35:16 -03:00
waozi
99bd4a01a9
ui: finalize deferred overlays at frame end
2026-08-17 12:20:36 -03:00
waozi
3a06ea6004
mem: diagnostics; ui_text: single-tier font rasters; tray: lazy GTK
...
- KryonMemReport/KryonMemDebugEnabled (KRYON_MEM_DEBUG) print RSS and the
glibc arena breakdown; UIFontMemoryReport prints per-font raster stats.
- Source fonts rasterize once at the DPI-scaled base size plus one lazily
built large tier, replacing the 8-slot per-size cache. New codepoints
batch into at most one rebuild per frame per font, and atlas build churn
is returned via malloc_trim on glibc.
- KRYON_TRAY_GTK_DL: GTK_STATUS_ICON tray resolves GTK via dlopen (gtk_dl
shim) so tray-less processes never map the GTK chain.
2026-08-16 17:13:46 -03:00
waozi
d84db61262
Document KIR compiler roadmap
2026-08-13 10:36:32 -03:00
waozi
5b15a1272b
Expose kry_term and krb in kryon.h; document the cartridge API
...
Include kry_term.h, kry_backend.h, and krb.h from the kryon umbrella so
apps reach them through the public header. Document the .krb load/bind/draw
flow and KrbMount in docs/API.md, mention kc --emit-krb in the README, and
add an examples Makefile target that builds the 02_buttons cartridge host.
CHANGELOG entries for the kry_term and krb slices.
2026-08-12 19:03:36 -05:00
waozi
2bb8640279
Add retained scene tree foundation and rename UI Sprite to Picture
...
- include/kry_math.h: Vector2 math and KryTransform2D (compose/point/camera)
- include/scene_tree.h + src/scene/scene_tree.c: KryScene/KryNode retained
node tree with array arena, parent/child links, world-transform update,
lifecycle vtable (ready/process/physics_process/draw), KrySceneTick/
PhysicsTick/Draw driver
- include/node2d_props.h: Camera2DProps, Sprite2DProps
- Rename UI Sprite widget to Picture (raylib owns Image as a struct):
ui_sprite.h -> ui_picture.h, SpriteProps -> PictureProps,
UISpriteFit -> UIPictureFit, UI_SPRITE_FIT_* -> UI_PICTURE_FIT_*,
Sprite() -> Picture(); extract shared texture cache to
src/ui/ui_picture_cache.c (KryLoadPictureTexture, KryPictureFitRect)
shared by the Picture widget and the upcoming Sprite2D scene node
- Migrate example, docs, node registry to the Picture name
2026-08-11 03:11:34 -05:00
waozi
92ae0b4786
Allow custom value text on Slider widget
...
Add an optional value_text_override parameter to DrawUISlider, UISliderNode, and Slider. When non-NULL it is rendered instead of the default "%d + suffix" formatting, so callers can display values like "1.8x". Passing NULL preserves the existing behavior.
2026-08-11 02:46:04 -05:00
waozi
c9b8e27e4c
Canonicalize widget API
2026-08-09 19:52:01 -03:00
waozi
56cb7a8c15
document and enforce canonical app api
2026-08-09 12:53:52 -03:00
waozi
0d360a0160
clean kryon app api
2026-08-09 12:44:52 -03:00
waozi
eb8c1d359a
Add Material theme style widgets
2026-08-08 15:05:02 -03:00
waozi
8e34522b24
Document default Ksync transport APIs
2026-08-08 09:35:31 -03:00
waozi
d07078d2b2
Move UI runtime to declarative nodes
2026-08-06 07:15:55 -03:00
waozi
7e8f316eb5
Rename Lyra sync APIs to Ksync
2026-07-27 08:52:02 -03:00
waozi
de87294e41
Update Kryon site goals
2026-07-22 20:49:34 -03:00
waozi
137f6ac413
Rename Flint runtime to Kryon
2026-07-20 11:25:19 -03:00
waozi
2123449504
Add Kryon widget inspection lifecycle
2026-07-20 10:56:27 -03:00
waozi
e6b58a78b9
Apply UI colors from themes
2026-07-19 09:35:45 -03:00
waozi
912f18638a
Add pragmatic Tk-style UI toolkit
2026-07-19 00:46:20 -03:00
waozi
a462581680
Add Clay and remove fontchop
2026-07-18 07:29:00 -03:00
waozi
fd3adb5de4
Add real font asset loading
2026-07-16 21:43:27 -03:00
waozi
d606232116
Use fontchop submodule for UI fonts
2026-07-15 23:36:23 -03:00
waozi
00e880fa55
Reset UI focus each Flint frame
2026-07-11 20:11:01 -03:00
waozi
8cf1aa7d0e
Improve Flint UI examples and cursor behavior
2026-07-11 19:56:08 -03:00
waozi
88d4056d5d
Add sidebar header content padding
2026-07-11 12:12:41 -03:00
waozi
d8f3d81ed3
Add stable Lyra profile icon mappings
2026-07-11 10:54:07 -03:00
waozi
d1684227df
Add shared profile header pfp picker
2026-07-11 09:46:03 -03:00
waozi
bc8377e7ec
Align Flint naming and docs
2026-07-11 07:25:46 -03:00
waozi
2441123ed4
Add themed href UI control
2026-07-11 07:10:10 -03:00
waozi
aa2476bc15
Update examples and docs for adaptive modals
2026-07-10 01:30:22 -03:00
waozi
205df7195f
Add optional UI transition cues
2026-07-09 16:04:37 -03:00
waozi
dcfdb450aa
Smooth UI transitions with time-based easing
2026-07-09 15:56:44 -03:00
waozi
d981aff430
Rename public API to raylib-style names
2026-07-09 15:42:55 -03:00
waozi
2504f6f089
Add Lyra sync protocol helpers
2026-06-28 21:33:39 -03:00
waozi
8db8495a95
Stabilize UI frame setup
2026-06-26 23:35:22 -03:00
waozi
e0702e2da0
Block modal click-through
2026-06-24 20:46:09 -03:00
waozi
eed0857607
Clean Flint docs and harden modal capture
2026-06-24 19:04:53 -03:00
waozi
0b4a6b0c75
Add modal capture API and auto modal backdrop blocking
2026-06-24 18:59:17 -03:00
waozi
7ec339c73b
fix script
2026-06-23 12:02:00 -03:00