CJFEdu
56f5c158fa
Made Build All Examples the default
2025-01-25 08:45:58 -06:00
CJFEdu
b0f9edeb29
Added Granular CMAKE Options
...
Added separate CMAKE options to include each of the individual examples as well as one global option to include all examples.
I set build all examples to OFF as a default since downloading all of SDL 2 and 3 seems excessive. Instead, the demo from the video and the website are turned on by default.
A note about these options should probably be added to the ReadMe as well, but I wasn't sure where the logical place to put it would be.
2025-01-22 12:35:17 -06:00
CJFEdu
e9d3125807
Make Examples Optional in CMAKE
...
Makes including the examples optional. SDL2/SDL3 specifically have long download/build times. If they aren't being used, then this can dramatically speed up build times.
2025-01-20 03:21:35 -06:00
Nic Barker
01d3ab127f
Update odin bindings for new text measurement API
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
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 )
...
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
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 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
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
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
2025-01-16 09:14:57 +13:00
Michael Savage
cd82ce6fcf
[Core] Don't divide zero by zero ( #200 )
...
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 14s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
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 )
...
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
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
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
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 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 14s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 14s
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
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
2025-01-12 19:16:09 +13:00
Nic Barker
c2c445e455
Fix broken ifdef on MSVC
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
2025-01-12 10:49:00 +13:00
Nic Barker
9e7595b873
Fixed a bug where minMemorySize could cause a memory overwrite
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
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
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 15s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
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
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
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
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
2025-01-10 14:36:24 +13:00
Nic Barker
209f30dd56
Fix missing context initialization
2025-01-10 12:50:12 +13:00
Nic Barker
8efa855e8c
[Compilers] Fixes for scrolling container example in MSVC
2025-01-10 10:31:29 +13:00
Nic Barker
83ded6995e
Add compiler error when attempting to create CLAY_STRING with non literal
2025-01-10 09:20:35 +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
3f01ee4a4e
Disable cairo example because of github actions issues
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 15s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
2025-01-09 10:08:51 +13:00
FintasticMan
a431254de4
[Core] Add check for supported C/C++ versions ( #144 )
2025-01-09 10:05:50 +13:00
David Styrbjörn
7cc719e61f
[Documentation] Updated example for Clay_SetPointerState ( #169 )
2025-01-09 09:56:24 +13:00
Nic Barker
c12cefeaf4
[Layout] Improve shrink size distribution ( #173 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 15s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
2025-01-08 19:39:20 +13:00
Nic Barker
fd45553aff
[Examples/clay-official-website] Include built website files for official website example
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
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
David Styrbjörn
876f38fd20
[Documentation] Updated example for Clay_SetPointerState
( #167 )
2025-01-06 11:30:25 +13:00
FintasticMan
61cb7c56a7
[Core] Fix default struct initialiser in C++ ( #143 )
2025-01-06 09:46:21 +13:00
FintasticMan
62077ff0d8
[Core] Fix errors due to cast to same non-trivial type ( #155 )
2025-01-06 09:26:53 +13:00
Bach Le
4ebe223937
[Core] Fix local id calculation ( #50 )
2025-01-06 09:19:07 +13:00
vince
6cb9c7c483
fix #99 - [Core] Bug in text wrapping at very narrow widths ( #163 )
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 1m36s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 16s
2025-01-05 14:34:36 +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