Commit Graph

120 Commits

Author SHA1 Message Date
Nic Barker
cf12cd6af8
[Core] Standardise number types to int32_t for array indices, lengths and capacities (#152)
Some checks failed
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
Nic Barker
a44423a133 Add comment to explain CLAY macro 2025-01-03 10:19:59 +13:00
FintasticMan
cd01083ffe
[Core] Simplify CLAY macro (#119) 2025-01-03 10:02:58 +13:00
Nic Barker
68fbb07311
[Bindings/Odin] Update Odin bindings to latest (#151) 2025-01-03 09:59:09 +13:00
Stowy
902ff3b0a9
Fixed compilation using clang on windows (#134)
Some checks failed
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 10s
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
2024-12-31 17:51:18 +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)
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
Nic Barker
20543bdc74 Fix a typof of #if and #ifdef" 2024-12-30 13:11:32 +13:00
FintasticMan
c13eef1c1e
[Core] Fix more C99 compliance issues (#118) 2024-12-30 13:09:14 +13:00
Junior Rantila
c24a41b9e4
Add Clay_IsDebugModeEnabled() (#130) 2024-12-30 12:04:48 +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
37af99b221 Add missing Clay_PointerOver to header definition
Some checks are pending
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
2024-12-28 22:33:41 +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
FintasticMan
bec56e68a4
Fix a couple of standards-compliance issues with C99 (#81)
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-27 11:12:59 +13:00
Nic Barker
2c8856a91e Add bindings/rust directory with links to external rust bindings 2024-12-27 11:11:30 +13:00
Nic Barker
c0c90250a9 update README 2024-12-27 10:54:09 +13:00
Nic Barker
4cfbdf2a0c Add example from introduction video 2024-12-27 10:52:12 +13:00
Anthony Carbajal
08033b03cb
[Renderers/Raylib] Update files for v5.5 release (#109)
Some checks are pending
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
2024-12-26 20:02:33 +13:00
Nic Barker
04694b0da2
[Core] Implement Error Handler / Callback (#105) 2024-12-26 19:58:59 +13:00
Nic Barker
6a9b723dcc Fix an issue where debug tools weren't scrollable 2024-12-24 22:28:01 +13:00
Hayden Kowalchuk
9904ca533a
fix: move internal types to stdint specific. Match Clay_RenderCommandArray_Get protoypes (#78) 2024-12-22 19:22:10 +13:00
Nic Barker
a48d40635a remove inline functions for better windows lib compatibility 2024-12-22 09:13:28 +13:00
Nic Barker
06025651ce remove VERSION file that was causing some CMake issues 2024-12-21 08:50:48 +13:00
Nic Barker
712a79c473
Allow floating configuration to capture pointer (#66) 2024-12-21 06:36:34 +13:00
Alexey Mostovoy
b2dba60711
Fix variable name in README.md (#59) 2024-12-20 13:00:19 +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
Oleksii Bulba
b9d02330ff
Fix: moved CLAY__MIN and CLAY__MAX to public macros (#55) 2024-12-19 09:29:12 +13:00
Nic Barker
ff3b69d94f Fix a bug with borders that could cause duplicate IDs 2024-12-12 10:31:41 +13:00
Nic Barker
d2e6be64a9 defer rendering of borders until after children 2024-12-05 13:54:54 +13:00
Nic Barker
0ef877eef7 fix an edge case where text could be measured incorrectly 2024-12-05 13:23:20 +13:00
Nic Barker
efec6ab1de Fix a bug that could cause double newlines in text blocks 2024-12-04 16:02:53 +13:00
Nic Barker
9f0cf751da Fix incorrect handling of naked newline characters in text blocks 2024-12-04 15:46:02 +13:00
Nic Barker
41f6616993 Fix text measurement default bucket count 2024-12-02 12:04:01 +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
Bach Le
c5a1c1a4ed
Forward declare Clay__OpenTextElement (#49) 2024-11-18 15:01:55 +11:00
Justin
f517c00ed0
docs: remove some inconsistencies with current API (#47) 2024-11-15 09:35:02 +11:00
Nic Barker
8b84561f0d Add Clay_GetElementWithIndex function 2024-10-24 21:38:02 +13:00
Nic Barker
2f67b61256 README updates 2024-10-23 09:44:39 +13:00
Nic Barker
2d6e9afe87 Fix GCC type cast 2024-10-22 21:12:47 +13:00
Nic Barker
83551449c2 Fix a bug when a single word couldn't fit in its container 2024-10-22 21:07:24 +13:00
Nic Barker
29ebbb22f0 Fix error in README 2024-10-22 20:52:13 +13:00
Nic Barker
29133bc783
Multi-type elements (#34) 2024-10-22 20:41:35 +13:00
Nic Barker
3dffbea2a3
Fix an overflow bug in the text measurement cache (#44) 2024-10-16 12:11:01 +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
johan0A
05eb12bed7
Made casting more explicit for better compatibility with different compilers (#41) 2024-10-12 13:25:22 +13:00