Commit Graph

48 Commits

Author SHA1 Message Date
Linus Probert
df17d02e65
Merge 818a7ded15 into 902ff3b0a9 2024-12-31 00:22:06 -05: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
Linus Probert
818a7ded15
Fixes review comments 2024-12-30 15:08:53 +01:00
SuperOpt
c9e1a63378
[Compilers] C projects should use C flags rather than CXX flags (#123)
Some checks failed
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)
Some checks failed
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
Linus Probert
ba715a6800
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.
2024-12-25 14:46:43 +01: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
Nic Barker
b2d922c78d Fix a compile bug in update scroll containers 2024-09-20 07:12:11 +12:00
Nic Barker
33888572a3 Remove debug flags and switch example fonts from trilinear filter to bilinear 2024-09-18 10:59:35 +12:00
Nic Barker
c6ab57c638 Add font preload to web renderers and update README 2024-09-17 19:05:59 +12:00
Nic Barker
a4f90a217d
Debug Tools (#15) 2024-09-16 21:34:59 +12:00
Nic Barker
fd45138d57
Stardardisation / cleanup work for private API functions (#7) 2024-08-30 18:44:36 +12:00
Nic Barker
24d4c5e553 Fix CMake config for clay-official-website example 2024-08-29 08:59:41 +12:00
Nic Barker
52b6b0564e Improved HTML renderer and official website example 2024-08-28 11:03:20 +12:00
Nic Barker
7d73ccd60d Remove overflow trap flag from the default cmake configuration to prevent issues on windows 2024-08-27 11:37:20 +12:00
Nic Barker
5e677cafb5
Add scrollbar to official website and improve culling (#2) 2024-08-27 10:16:55 +12:00
Nic Barker
e0f7a23f1a
Expose scroll container data and implement scrollbar example (#1) 2024-08-26 19:05:43 +12:00
Nic Barker
09fc980434 Set touch-action:none for canvas renderer to prevent mobile issues 2024-08-24 21:32:05 +12:00
Nic Barker
9c5b90e71b Fixed a typo bug with drag scrolling in scroll containers 2024-08-24 21:27:43 +12:00
Nic Barker
138a1e717f Fix links being unclickable in canvas renderer 2024-08-23 20:11:34 +12:00
Nic Barker
f5d3ef1ae1 Update website top links 2024-08-23 16:24:11 +12:00
Nic Barker
03a6c6cf5a initial commit 2024-08-23 16:11:56 +12:00