Commit graph

62 commits

Author SHA1 Message Date
TotallyGamerJet 11bc21762c
Merge 63d3af6372 into 0d6969c8c3 2025-09-10 19:03:49 -07:00
Nic Barker a5e212b8de [Renderers/HTML] Fix a mouse overlap bug with external scroll handling 2025-06-20 10:59:44 +10:00
Nic Barker 6f10bf4b3d [Core] Remove erroneous break statement when using external scroll handling 2025-06-13 10:35:31 +10:00
Nic Barker adb1bd620a [Examples/clay-official-website] Fix links on official website example 2025-06-13 09:59:07 +10:00
Nic Barker 80659eda04 [Renderers/Web] Fix clay official website example struct definitions for web renderers 2025-06-04 10:50:35 +10:00
Nic Barker d6f3957a60
[Core] Split aspect ratio scaling into its own config (#426) 2025-06-02 10:36:58 +10:00
Nic Barker 970919e1fb
[Core] Replace .scroll config with .clip (#376) 2025-05-01 14:11:31 +12:00
TotallyGamerJet 6935abbbfb
fix other files too 2025-03-20 21:47:09 -04:00
Nic Barker 22e8cc318c [Bindings/Odin] Update odin bindings for text config userdata pointer 2025-03-08 11:08:04 +13:00
Nic Barker 02bce89d17
[Core] Improve & streamline grow / shrink handling (#296) 2025-03-04 10:56:38 +13:00
Nic Barker 5571c00a21 [Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory 2025-03-03 11:36:12 +13:00
Nic Barker a60b977946 [Core] Fix a bug where floating elements would be incorrectly configured 2025-02-18 09:41:06 +13:00
Nic Barker 6d23a35d15 [Examples/clay-official-website] Update compiled wasm for official website example 2025-02-12 13:09:29 +13:00
Nic Barker b4933a6e4c [Examples/clay-official-website] Switch default renderer back to HTML for official website example 2025-02-12 13:08:46 +13:00
Nic Barker e35bba079e [Core] Update debug tools to include text alignment 2025-02-12 13:05:48 +13:00
Nic Barker 3961720ef0 [Core & Documentation] Cleanup public / private API and internal document public API via comments 2025-02-11 17:11:03 +13:00
Nic Barker 65d2122dd6 [Core] Fix a bug where floating containers with anonymous IDs could conflict 2025-02-11 10:09:17 +13:00
Nic Barker 76c8e1f115 [Examples/clay-official-website] Update web renderer example to latest API 2025-02-10 16:53:21 +13:00
Nic Barker 9d940c1f8e
[Core] Replace config macros with a single unified configuration struct (#240) 2025-02-04 17:00:19 +13:00
Nic Barker a1e692b72a
[Core] Add option to hash text contents to text config (#238) 2025-01-30 09:59:42 +13:00
Nic Barker 0a703de69a
[Core] Add z-index and string base to Render Commands (#227) 2025-01-26 15:28:35 +13:00
Nic Barker 9b2d585499 Update odin and wasm bindings 2025-01-21 19:14:22 +13:00
Nic Barker 326325ffaf
[Core] Convert measureText pointer to value string slice (#214) 2025-01-20 11:27:22 +13:00
Daniel Collin e8025cc254
SetMesureText and SetQueryScrollOffset takes userData (#212) 2025-01-20 10:59:02 +13:00
Nic Barker f1d8a53a32
[Core] [Breaking] Split padding values into left, right, top, bottom (#195) 2025-01-14 10:38:02 +13:00
Nic Barker 9e7595b873 Fixed a bug where minMemorySize could cause a memory overwrite 2025-01-11 21:37:21 +13:00
Nic Barker b2b50724e2 Fix bug in html renderer debug tools 2025-01-11 20:45:20 +13:00
Nic Barker 44fb89c8b6 Add an epsilon to compression comparison to prevent degenerate loop 2025-01-10 21:54:13 +13:00
FintasticMan 670f707997
[Core] Remove ##__VA_ARGS__ (#150) 2025-01-10 20:47:00 +13:00
Harrison Lambeth 944d290428
[Core] Multi instance / context support (#174) 2025-01-10 09:08:48 +13:00
Nic Barker c12cefeaf4
[Layout] Improve shrink size distribution (#173) 2025-01-08 19:39:20 +13:00
Nic Barker fd45553aff [Examples/clay-official-website] Include built website files for official website example 2025-01-06 11:51:05 +13:00
Nic Barker 0d66f57c7e [Examples/clay-official-website] Only play the animation on the landing page when it's on screen 2025-01-06 11:48:44 +13:00
vince 723f59dffd
[Renderers/Web] treat RenderCommand.commandType as uint8_t instead of uint32_t (#162) 2025-01-05 14:34:16 +13:00
Nic Barker cf12cd6af8
[Core] Standardise number types to int32_t for array indices, lengths and capacities (#152) 2025-01-03 11:24:32 +13:00
SuperOpt c9e1a63378
[Compilers] C projects should use C flags rather than CXX flags (#123) 2024-12-30 13:28:24 +13:00
FintasticMan c13eef1c1e
[Core] Fix more C99 compliance issues (#118) 2024-12-30 13:09:14 +13:00
Nic Barker 5fe11c6535 Fix a bug in the HTML renderer 2024-12-28 20:30:38 +13:00
Nic Barker 04694b0da2
[Core] Implement Error Handler / Callback (#105) 2024-12-26 19:58:59 +13:00
Nic Barker 18f06e5faf
Implement native scroll containers in HTML renderer (#54) 2024-12-19 11:35:18 +13:00
Nic Barker 51c5355686
Fix text cache overflow (#51) 2024-11-27 12:13:11 +13:00
Nic Barker 2f67b61256 README updates 2024-10-23 09:44:39 +13:00
Nic Barker 29133bc783
Multi-type elements (#34) 2024-10-22 20:41:35 +13:00
Nic Barker 4ce3105f58 Fix touch scrolling bug on official website 2024-10-12 13:16:25 +13:00
Nic Barker 2cf212e992 Update discord link to permanent and add note for discord link in readme 2024-10-04 10:19:08 +13:00
Nic Barker 761596b36c Add discord link to official website 2024-10-04 10:05:13 +13:00
Nic Barker 5e7c4c41eb
[C] Convert element macros to use for() internally (#30) 2024-09-28 15:43:29 +12:00
Nic Barker 3b4c177e58
Fix const inits for gcc 9.4 and add docker tests for old gcc compiler (#29) 2024-09-28 07:42:08 +12:00
Nic Barker 5bb725d005 Fix forward declarations 2024-09-21 08:04:31 +12:00
Nic Barker 332837befd
Fix issues with multiple translation units (#20) 2024-09-20 20:46:48 +12:00