tritao
84ef28c89c
[Core] Add Clay_GetPointerOverIds
function to the public API.
...
This adds a new `Clay_GetPointerOverIds` function to the public API
that returns the array of element IDs that the pointer is currently
over.
This also required to add a new public `Clay_ElementIdArray`, and to
modify the naming of some internal array definitions to match.
2025-04-24 19:03:56 +01:00
Nic Barker
b33ba4ff62
[Core] Fix a string hash bug with single characters ( #384 )
2025-04-16 20:16:05 +12:00
Jackson Novak
f88f0517f7
[Documentation] Fix Clay_String definition in README.md file. ( #374 )
2025-04-16 20:07:16 +12:00
Tim Lügger
5391a259f3
[Renderers/Raylib] Fix raylib renderer border bottom left corner radius ( #378 )
2025-04-14 14:26:12 +12:00
Lily Nikitin
fe2d44a888
[Renderers/Raylib] Add explicit type cast for malloc ( #379 )
2025-04-14 14:23:13 +12:00
Nic Barker
06167b4f4b
[Core] Fix a potential null pointer deref in scroll GetScrollContainerData
2025-04-12 11:27:10 +12:00
Nathan Korth
eb46688b82
[Renderers/Sokol] Sokol renderer & examples ( #373 )
2025-04-09 13:40:22 +12:00
Philosoph228
87efc49f52
[Renderers/WinGDI] Working on Win32 GDI renderer and example ( #344 )
2025-04-09 11:31:33 +12:00
Nic Barker
a9e94e3be0
[Core] Fix onHover reference not being reset for identical IDs between frames
2025-04-04 13:05:31 +13:00
Nic Barker
cbb50267da
[CMake] Revert change to CMakeLists because of OSX problems
2025-04-04 12:59:57 +13:00
Vitalii Rohozhyn
55792fdbec
[Cmake] basic CMake support for easier import into CMake projects ( #345 )
2025-04-01 10:48:50 +13:00
Nic Barker
50aad568fa
[Core] Remove unused variable in arm simd and inline rotate function'
2025-04-01 10:43:11 +13:00
Nic Barker
b4dc02c73a
[Core] Fix a bug with how element string ids were stored when using Clay_Hovered
2025-04-01 10:40:04 +13:00
Nic Barker
3f635cdd79
[Renderers/Raylib] Fix FLAG_HIGHDPI causing window resize to break
2025-04-01 10:31:40 +13:00
Nic Barker
1204ac400b
[Compilers] Fix implicit typecast in simd hash function
2025-03-28 11:52:20 +13:00
Nic Barker
6a7ce77024
[Core] Fix implicit simd typecast on arm architectures
2025-03-28 11:47:57 +13:00
Piggybank Studios
7c9506bc31
[Core] Fix CLAY__ELEMENT_DEFINITION_LATCH overflow in CLAY macro if 256 loops end at the same time
2025-03-27 10:14:17 +13:00
Nic Barker
08e4c5b198
[Core] Fix a bug where ID aliases werent copied on hash collision
2025-03-26 09:35:15 +13:00
ellie-but-backwards
b1c72a0647
[Bindings/Odin] Remove field hashStringContents in odin bindings ( #350 )
2025-03-26 09:21:35 +13:00
Igor Karatayev
aee4baee1c
[Core] Guard against hashmap item null dereference ( #338 )
2025-03-26 09:19:50 +13:00
Nic Barker
47d1d84bc8
[Core] Switch text content hashing to default behaviour ( #335 )
2025-03-25 10:13:04 +13:00
Nic Barker
ad49977f1b
[Core] Apply minimum width for single words and fix some minimum sizing bugs
2025-03-21 11:22:48 +13:00
Leo Zurbriggen
61490e4557
[Bindings/Odin] expose _OpenElement and _CloseElement ( #301 )
2025-03-21 09:25:50 +13:00
Nic Barker
982ade4cf9
[Compilers] Add a dummy function to suppress unused variable warning in GCC
2025-03-18 11:21:23 +13:00
Nic Barker
d5af2c3dc0
[Renderers/SDL2] Added explicit include of math.h in SDL2 renderer
2025-03-18 11:13:46 +13:00
Nic Barker
2677bec854
[Housekeeping] Revert previous commit to allow proper PR attribution
2025-03-18 11:12:21 +13:00
Nic Barker
05ac2810d8
[Renderers/SDL2] Added explicit include of math.h in SDL2 renderer
2025-03-18 11:10:53 +13:00
Nic Barker
1f8cab8d72
[Core] Fix a bug where floating elements could be clipped incorrectly
2025-03-18 11:05:06 +13:00
Emerald-Ruby
6186596b41
math.h include missing cause lots of warning logs
2025-03-15 21:51:36 +00:00
Nic Barker
a7d46629b1
[Renderers/SDL2] Fix rounded corner border index
2025-03-13 09:52:16 +13:00
Nic Barker
bee93bc7ba
[Renderers/Raylib] Reuse memory in raylib renderer for temporary string allocations
2025-03-13 09:51:44 +13:00
Nic Barker
39fdd0e906
[Compilers] Fix integer truncation warnings with explicit casts
2025-03-13 09:40:31 +13:00
Nic Barker
008d4d2519
[Renderers/win32_gdi] Create initial WinGDI renderer
2025-03-13 09:27:44 +13:00
Nic Barker
3e39e444db
Update README
2025-03-13 09:21:09 +13:00
Nic Barker
8a57153700
[Bindings/Odin] Add support for local ids to odin bindings
2025-03-13 09:08:20 +13:00
Nic Barker
09d581a523
[Bindings/Odin] Fix bad data type in odin bindings for floating config
2025-03-13 09:02:17 +13:00
Nic Barker
f824ddfd25
Merge pull request #320 from shakkar23/patch-1
...
[Renderers/SDL2] Enable live resizing of layout during window resize in SDL2
2025-03-11 10:29:34 +13:00
Nic Barker
82bb48a235
Merge pull request #300 from joshuahhh/patch-1
...
[Documentation] Update README.md: it's gotten bigger
2025-03-11 09:50:28 +13:00
Nic Barker
c06e01c1af
Merge pull request #319 from emoon/pass-declaration-by-pointer
...
Support passing declaration by pointer as well
2025-03-11 09:39:40 +13:00
hailey
6567f85eb3
Updated rectangle border rendering
2025-03-10 10:29:55 -05:00
hailey
a92ec772e1
[Renderers/Win32_GDI] first pass, fixed build errors and added build script
2025-03-10 09:33:12 -05:00
__hexmaster111
a782df73a1
Added win32 samples (first pass)
2025-03-10 09:23:36 -05:00
__hexmaster111
3a9172ec4c
Merge branch 'nicbarker:main' into main
2025-03-10 09:12:52 -05:00
Nic Barker
fabdad43f6
[Documentation] Update internal version number to 0.13 in clay.h
2025-03-10 14:39:18 +13:00
Jesus Coca
e856136a8e
add resizing while the window is being resized
2025-03-08 17:37:02 -08:00
Daniel Collin
19a27b39f2
[Compilers] Fixed SIMD related compile error on some ARM compilers ( #316 )
2025-03-09 10:28:09 +13:00
Daniel Collin
33b8e76903
Support passing declaration by pointer as well
2025-03-08 15:17:36 +01:00
Johann Muszynski
ad4d00be33
Fix integer truncation warnings with explicit casts
2025-03-08 14:53:30 +02:00
Nic Barker
22e8cc318c
[Bindings/Odin] Update odin bindings for text config userdata pointer
2025-03-08 11:08:04 +13:00
Michael Savage
8e6640f7a2
[Core] Add a userData pointer to Clay_TextElementConfig ( #274 )
2025-03-08 11:01:26 +13:00