Nic Barker
ecf00251bf
Split into renderer and example
2025-01-19 13:49:33 +13:00
Nic Barker
713fd67fe8
Update to new API
2025-01-19 13:39:38 +13:00
Linus Probert
6d17b8f8a0
Fixes review comments
2025-01-19 13:35:44 +13:00
Linus Probert
1c599532fa
Adds an example using SDL3 as a renderer
...
This example is rather basic but it does provide an example how one
could setup a rendering loop between clay and SDL3.
Although SDL3 is in its infancy and doesn't have an official stable
release the API has been locked so there shouldn't be any code
adaptations required for this example if one was to update to a more
recent SDL3 release in the future.
2025-01-19 13:35:44 +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
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
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
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
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 )
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
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 )
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 1m44s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
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 )
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 58s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 9s
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 )
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
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
Oleksii Bulba
35d72e5fba
Added window dimensions and title to Clay_Raylib_Initialize function ( #56 )
2024-12-19 21:34:20 +13:00
Nic Barker
18f06e5faf
Implement native scroll containers in HTML renderer ( #54 )
2024-12-19 11:35:18 +13:00
Nic Barker
b8725bfb65
Improve overflow handling / CLAY_MAX_ELEMENT_COUNT exceeded ( #52 )
2024-12-01 21:05:56 +13:00
Nic Barker
51c5355686
Fix text cache overflow ( #51 )
2024-11-27 12:13:11 +13:00
Justin
330e56a858
Include new cairo renderer ( #48 )
2024-11-19 15:03:39 +11: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
Richard Hozák
3b03a79f28
Fix scroll on mouse down being overriden by touch scroll ( #42 )
2024-10-15 11:47:25 +13:00
Nic Barker
4ce3105f58
Fix touch scrolling bug on official website
2024-10-12 13:16:25 +13:00
Nic Barker
9a8775751f
Cleanup compiler options
2024-10-07 19:30:15 +13:00
Nic Barker
f579690f5d
Improve space allocation for GROW containers
2024-10-07 18:56:13 +13:00
Nic Barker
51082d2f1e
Change lineSpacing text config attribute to lineHeight ( #37 )
2024-10-05 20:57:52 +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
948b7ce70b
C++20 Support ( #31 )
2024-09-29 12:53:46 +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
Severin Denisenko
52b3f6a14e
Use shallow clone on Raylib ( #23 )
...
This change reduces time of project configuration from 24 second to 12 seconds
2024-09-22 13:27:29 +12:00
Nic Barker
6430bbbdc3
Fix warnings caused by misname
2024-09-21 08:13:22 +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