Commit graph

439 commits

Author SHA1 Message Date
Nic Barker
a9aa0c9317 fix comment 2026-03-31 15:33:05 +11:00
Nic Barker
ed4f614fed Fix some macros 2026-03-31 13:34:45 +11:00
Nic Barker
aa724ff493 rename COLOR_OVERLAY to OVERLAY_COLOR for consistency 2026-03-31 12:37:11 +11:00
Nic Barker
5d0649efc2 re-add max element exceeded warning for debug view 2026-03-31 12:28:33 +11:00
Nic Barker
0df6ad3e2f Don't layout debug view twice 2026-03-31 12:24:26 +11:00
Nic Barker
cd18666443 fix up examples 2026-03-31 12:12:56 +11:00
Nic Barker
272ca75651 Doc updates, add public func declaration for Clay_GetOpenElementId 2026-03-31 12:09:09 +11:00
Nic Barker
6965ba594c More readme updates 2026-03-31 11:41:41 +11:00
Nic Barker
b09befa895 Fix a bunch of documentation errors, rename some internal fields for clarity 2026-03-31 11:36:06 +11:00
Nic Barker
17bcb4a064 Update docs 2026-03-31 11:01:10 +11:00
Nic Barker
713e8a224c Docs for transitions 2026-03-31 09:55:23 +11:00
Nic Barker
13d0cb503c Partial documentation for transitions 2026-03-30 15:46:40 +11:00
Nic Barker
fa97ab6a27 Fix up debug view, disable position & width transitions on root layout resize 2026-03-30 14:00:21 +11:00
Nic Barker
442e008442 Avoid generating render commands when doing pre transition layout 2026-03-30 11:54:14 +11:00
Nic Barker
eeb0196568 Improve pointer handling and tidy up internal implementation' 2026-03-30 11:54:14 +11:00
Nic Barker
5c81c4f001 Fix nested transition bug, default to disabled entry / exit transitions while parent is entering / exiting 2026-03-30 11:54:14 +11:00
Nic Barker
eda0a8ba7a Improve handling of nested transitions involving reparenting 2026-03-30 11:54:14 +11:00
Nic Barker
fd815433f6 Correct handling of position transitions when dimensions are also transitioning 2026-03-30 11:54:14 +11:00
Nic Barker
77b54a2cec Seperate transitions into phases, allow transitions to affect layout 2026-03-30 11:54:14 +11:00
Nic Barker
74019b91ee Transitions for border width and color 2026-03-30 11:54:14 +11:00
Nic Barker
ac50892c74 Refactor transition algorithm, improve robustness of exit transitions 2026-03-30 11:54:14 +11:00
Nic Barker
5c12fbc231 Allow mouse interactions to be disabled during entire / exit transitions, fix some detection bugs 2026-03-30 11:54:14 +11:00
Nic Barker
21645dfafd Fix an issue where colour overlays weren't closed correctly 2026-03-30 11:54:14 +11:00
Nic Barker
86c6f595b2 Split bounding box transition properties into X, Y, WIDTH, HEIGHT 2026-03-30 11:54:14 +11:00
Nic Barker
91a443e620 Improve handling around parent enter / exit 2026-03-30 11:54:14 +11:00
Nic Barker
1cc915e837 Fix an issue where transitions without an exit handler defined weren't cleaned up properly 2026-03-30 11:54:14 +11:00
Nic Barker
c9031bde90 misc bug fixes 2026-03-30 11:54:14 +11:00
Nic Barker
99d053b340 cleanup 2026-03-30 11:54:14 +11:00
Nic Barker
05b5522947 draw the rest of the fucking owl 2026-03-30 11:54:11 +11:00
Nic Barker
c98eac6073 bug fixes 2026-03-30 11:53:32 +11:00
Nic Barker
6c1e603501 Aspect ratio data into reusable array 2026-03-30 11:53:32 +11:00
Nic Barker
eb30dd3f0a text element data to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
7295c47413 Remove redundant array defines 2026-03-30 11:53:32 +11:00
Nic Barker
ab1ca629a6 Transitions to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
41fa6b1c4b rectangle into fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
437389d50c Border config to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
68128400a0 Clip config to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
e302225150 Custom element configs to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
ec40b3a3d7 Migrate floating config to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
c30ecf867e image configs to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
39114205f6 Convert aspect ratio config to fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
3c5f8ad07a move layout config into fat struct 2026-03-30 11:53:32 +11:00
Nic Barker
d055405670 Convert text element config to inline data 2026-03-30 11:53:32 +11:00
Nic Barker
65726b527f Partial commit 2026-03-30 11:53:32 +11:00
Nic Barker
a5839fe95d temp commit 2026-03-30 11:53:32 +11:00
Nic Barker
bc902a060a update 2026-03-30 11:53:31 +11:00
Nic Barker
997145568f small fixes 2026-03-30 11:53:31 +11:00
Nic Barker
cac8451491 property keys 2026-03-30 11:53:31 +11:00
Nic Barker
cde9667d56 initial commit 2026-03-30 11:53:31 +11:00
Nic Barker
c7f98dcfc6 [Core] Fix culling for scissor commands outside the window 2026-03-30 11:53:31 +11:00