Commit graph

390 commits

Author SHA1 Message Date
Nic Barker 81589ad29b [Core] Fix layout bug in SIZING_PERCENT 2025-01-21 19:11:33 +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 01d3ab127f Update odin bindings for new text measurement API 2025-01-20 11:39:59 +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
William Inal Zettergren 9d3fba39be
Add external link to zig bindings (#210) 2025-01-18 21:43:23 +13:00
ppeb 4961f2153e
Extend SDL2 Renderer and SDL2-video-demo (#208) 2025-01-18 21:42:18 +13:00
Nic Barker a093730da2 [Core] Fix a segfault if debug tools were enabled without a measure text function 2025-01-16 09:14:57 +13:00
Michael Savage cd82ce6fcf
[Core] Don't divide zero by zero (#200)
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
2025-01-15 10:06:22 +13:00
Nic Barker 814c9392c6
[Core] Add API to query element bounding boxes (#199)
Co-authored-by: hexmaster111 <hailey@not-an-email-address.fake>
2025-01-14 22:09:06 +13:00
Nic Barker 338852b3ce Fix a bug with the new padding 2025-01-14 14:26:30 +13:00
Nic Barker f1d8a53a32
[Core] [Breaking] Split padding values into left, right, top, bottom (#195) 2025-01-14 10:38:02 +13:00
Harrison Lambeth afba9f0de6
Add a function to reset text measurement cache (#181) 2025-01-13 19:26:46 +13:00
Nic Barker 3a4455aa83
Fix text wrapping handling with explicit newline characters (#192)
Co-authored-by: Ryzee119 <wendland@live.com.au>
2025-01-13 19:23:28 +13:00
Nic Barker 208c7cb3a0 Fix incorrect border between children after 2nd element 2025-01-12 19:16:09 +13:00
Nic Barker c2c445e455 Fix broken ifdef on MSVC 2025-01-12 10:49:00 +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 32d1a31dfe Fix uint64 usage for wasm 2025-01-11 21:35:45 +13:00
Nic Barker b2b50724e2 Fix bug in html renderer debug tools 2025-01-11 20:45:20 +13:00
Nic Barker 12b3280dab update odin bindings 2025-01-11 14:22:52 +13:00
Nic Barker d81c9e1de5 fix C++ compile issues 2025-01-11 14:21:47 +13:00
Nic Barker 7142a427bb Update odin bindings 2025-01-11 14:19:31 +13:00
Nic Barker d7ee448ed5 Add EXTEND_CONFIG_BORDER 2025-01-11 14:15:24 +13:00
Nic Barker 7ecd5adbce Update debug view to have correct z indexing 2025-01-11 14:15:02 +13:00
Nic Barker 2fcb4cc76e Fix z index sorting of tree roots 2025-01-11 14:08:02 +13:00
Nic Barker 44fb89c8b6 Add an epsilon to compression comparison to prevent degenerate loop 2025-01-10 21:54:13 +13:00
Nic Barker bc9ef8b02d
Update README.md 2025-01-10 21:05:12 +13:00
Mathys Gasnier 0989aeee06
[Documentation] Summary & Readability improvement (#125) 2025-01-10 21:03:32 +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 b4452d080c C++ init order fix 2025-01-10 14:36:24 +13:00
Nic Barker 209f30dd56 Fix missing context initialization 2025-01-10 12:50:12 +13:00
Stowy be99977da6 Added linux bindings 2025-01-09 23:51:58 +01:00
Stowy f950d317c9 Updated raylib-jai module 2025-01-09 22:56:44 +01:00
Stowy c44d6b9309 Merge branch 'main' into jai-bindings 2025-01-09 22:53:10 +01:00
Stowy 2cfab84034 Added readme and documentation in module.jai 2025-01-09 22:38:17 +01:00
Stowy 31bf0ad2dd Fixed paths 2025-01-09 22:38:17 +01:00
Stowy f8b13b5978 Updated to latest clay and moved files to be like in the odin bindings 2025-01-09 22:38:17 +01:00
Stowy 9bc743fd12 Added missing procedures 2025-01-09 22:38:16 +01:00
Stowy 672927d387 Finished first version of the bindings with working demo !! 2025-01-09 22:38:16 +01:00
Stowy b7e1d69ca6 Continuing example and still working on adaption the CLAY macro 2025-01-09 22:38:16 +01:00
Stowy e9522005db Changed the UI proc to be like the one in the Odin bindings 2025-01-09 22:38:16 +01:00
Stowy 409bf1c3bf Continued clay bindings 2025-01-09 22:38:16 +01:00
Stowy f0fec168a2 Finished Raylib renderer and continued demo 2025-01-09 22:38:16 +01:00
Stowy bc31e8d332 Removed private elements from bindings 2025-01-09 22:38:16 +01:00
Stowy 697adce4a9 Fixed wrong command when building in debug 2025-01-09 22:38:16 +01:00
Stowy 1936afd184 Updated Raylib jai bindings and switch example project to clay video demo 2025-01-09 22:38:16 +01:00
Stowy 678bcf2ad0 Replaced raylib bindings with custom ones 2025-01-09 22:38:16 +01:00