waozi
301c1e693b
kt: drop the 'target ide' fork of krait
...
Kryon carries no krait-specific code. kt's visual runner is the kryon
app runner ('target app', default) or headless ('target none'); the ide
target exec'd the krait binary — an inverted dependency no shipped test
used. Examples README keeps its 'open in Krait' pointer: that documents
a consumer, it doesn't couple the toolkit.
2026-08-15 07:11:58 -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