Commit graph

86 commits

Author SHA1 Message Date
Nic Barker 3145e12491 Fix for garbage padding and MSVC fixes 2025-02-01 21:05:25 +13:00
Nic Barker 50f88d7cf6 test 2025-01-31 22:25:44 +13:00
Nic Barker ed26b79098 swap out malloc.h for stdlib in demo 2025-01-31 15:51:10 +13:00
Nic Barker 595194741b Pedantic compiler updates 2025-01-31 15:30:28 +13:00
Nic Barker d87c5e1658 Migrate official website to new API 2025-01-31 15:02:49 +13:00
Nic Barker 577946a3be Fix handling of corner radius in examples 2025-01-31 11:17:23 +13:00
Nic Barker 85acb86dbc move corner radius into shared config 2025-01-31 09:54:23 +13:00
Nic Barker ec746667ce Convert examples to use shared layout code 2025-01-30 19:39:39 +13:00
Nic Barker 591bf68e1e Add shared layouts to examples, improve hover and style overrides 2025-01-30 15:40:29 +13:00
Nic Barker 7cd48bd336 Convert internal memcmp to simd version 2025-01-30 12:11:43 +13:00
Nic Barker dfc9db43bc initial attempt 2025-01-30 12:11:43 +13:00
Nic Barker 3effdbbfd4 update generated wasm 2025-01-30 12:11:26 +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 1bcf256e4d
[Core] Replace generated arrays with macro declarations, align cache lines to 64 bytes (#235) 2025-01-29 17:14:01 +13:00
Nic Barker 0a703de69a
[Core] Add z-index and string base to Render Commands (#227) 2025-01-26 15:28:35 +13:00
arnauNau c0dac38c87
[Renderers/SDL3] Add borders and rounded borders functionality. (#220) 2025-01-26 14:39:34 +13:00
arnauNau aba846a446
[Renderers/SDL3] Add rounded corners rectangle functionality (#219) 2025-01-23 09:30:24 +13:00
Nic Barker 9d659e8abd [Examples/Raylib] Restore deleted font 2025-01-21 21:28:38 +13:00
Nic Barker ec2b3b35ff [Renderers/Raylib] Early return 0 rather than segfault when Raylib fonts fail to load 2025-01-21 21:26:57 +13:00
Nic Barker 9b2d585499 Update odin and wasm bindings 2025-01-21 19:14:22 +13:00
Nic Barker 16f894bb4d Fix incorrect use of corner radius 2025-01-21 18:32:33 +13:00
Timothy Hoyt 9f07f5aac8
fixed video demo padding (#205) 2025-01-21 18:31:48 +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
Linus Probert 8e7e30dda6
[Renderers/SDL3] Adds an example using SDL3 as a renderer (#107)
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
2025-01-19 14:35:41 +13:00
ppeb 4961f2153e
Extend SDL2 Renderer and SDL2-video-demo (#208) 2025-01-18 21:42:18 +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
Funto e11a394c25
[Compilers] Fix MSVC compilation with CMake (#178)
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
2025-01-10 20:59:13 +13:00
FintasticMan 670f707997
[Core] Remove ##__VA_ARGS__ (#150) 2025-01-10 20:47:00 +13:00
Nic Barker 8efa855e8c [Compilers] Fixes for scrolling container example in MSVC 2025-01-10 10:31:29 +13:00
Nic Barker db04381285 Enable debug mode in multi config example 2025-01-10 09:17:31 +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
FintasticMan 61cb7c56a7
[Core] Fix default struct initialiser in C++ (#143) 2025-01-06 09:46:21 +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 2938c00dc8
[Renderers/Cairo] Add FindCairo.cmake (#122) 2024-12-31 13:32:56 +13:00
SuperOpt ba78b35604
C++ projects should use CXX flags (#136) 2024-12-31 13:29:49 +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
FintasticMan 5831a8ac7c
[Examples/Intro] Fix NULL pointer deref due to huuge malloc (#120) 2024-12-29 06:39:38 +13:00
Nic Barker 5fe11c6535 Fix a bug in the HTML renderer 2024-12-28 20:30:38 +13:00
Nic Barker ac473d6fe7
[Renderers/SDL2] Create initial SDL2 renderer (#115)
Co-authored-by: Junior Rantila <junior.rantila@gmail.com>
2024-12-28 19:15:22 +13:00
Nic Barker 4cfbdf2a0c Add example from introduction video 2024-12-27 10:52:12 +13:00
Nic Barker 04694b0da2
[Core] Implement Error Handler / Callback (#105) 2024-12-26 19:58:59 +13:00