Commit Graph
34 Commits
Author SHA1 Message Date
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