Laytan Laats
afa739b37b
[Bindings/Odin] add missing bindings, fix Initialize binding
...
- Adds bindings for all public APIs in clay.h to the Odin bindings.
- Fixes the binding for `Initialize`, it should return a pointer to the
context.
- Use `rawptr` for userdata arguments, it's a more ergonomic type for
this use case.
2025-02-17 20:11:16 +01:00
Nic Barker
e35bba079e
[Core] Update debug tools to include text alignment
2025-02-12 13:05:48 +13:00
Nic Barker
5a328da308
[Bindings/Odin] Switch error enum to correct size
2025-02-11 10:51:10 +13:00
Nic Barker
dcd6feda86
[Bindings/Odin] Add support for Clay_Hovered() to Odin bindings
2025-02-08 18:54:15 +13:00
Dan Korostelev
b4102400ff
[Bindings/Odin] Add get/set current context method to Odin bindings ( #252 )
2025-02-08 18:51:55 +13:00
Nic Barker
ddc20bc8f6
[Core] Add error for incorrect percentage values, update Odin bindings enum formatting
2025-02-07 10:39:55 +13:00
Nic Barker
0468243ac7
[Bindings/Odin] Update odin bindings for rendercommand changes
2025-02-06 19:02:54 +13:00
Nic Barker
9d940c1f8e
[Core] Replace config macros with a single unified configuration struct ( #240 )
2025-02-04 17:00:19 +13:00
Nic Barker
a1e692b72a
[Core] Add option to hash text contents to text config ( #238 )
2025-01-30 09:59:42 +13:00
Nic Barker
0a703de69a
[Core] Add z-index and string base to Render Commands ( #227 )
2025-01-26 15:28:35 +13:00
Nic Barker
01d3ab127f
Update odin bindings for new text measurement API
2025-01-20 11:39:59 +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
cf12cd6af8
[Core] Standardise number types to int32_t for array indices, lengths and capacities ( #152 )
2025-01-03 11:24:32 +13:00
Nic Barker
68fbb07311
[Bindings/Odin] Update Odin bindings to latest ( #151 )
2025-01-03 09:59:09 +13:00
Nic Barker
712a79c473
Allow floating configuration to capture pointer ( #66 )
2024-12-21 06:36:34 +13:00
Nic Barker
29133bc783
Multi-type elements ( #34 )
2024-10-22 20:41:35 +13:00
Nic Barker
9a8775751f
Cleanup compiler options
2024-10-07 19:30:15 +13:00
Nic Barker
d826187b50
Update odin bindings
2024-10-06 19:34:42 +13:00
Nic Barker
21d9f06a47
Update odin bindings for CLAY_ID_LOCAL
2024-09-28 15:49:43 +12:00
Nic Barker
332837befd
Fix issues with multiple translation units ( #20 )
2024-09-20 20:46:48 +12:00
Nic Barker
a4f90a217d
Debug Tools ( #15 )
2024-09-16 21:34:59 +12:00
Laytan
b3d768c00d
Fix some Odin bindings ( #16 )
2024-09-13 13:38:39 +12:00
FourteenBrush
c248914292
[bindings/odin] Improve Odin bindings ( #13 )
2024-09-01 15:13:28 +12:00
Nic Barker
3e7738bee5
Add linux lib for odin bindings
2024-09-01 10:35:04 +12:00
Dudejoe870
29ebed2010
Fix crash on Windows ( #10 )
2024-09-01 09:55:42 +12:00
Laytan
39c2aa5305
Support wasm in Odin bindings ( #8 )
2024-08-31 13:04:33 +12:00
Nic Barker
3f7005faae
Odin Bindings - First Pass ( #5 )
2024-08-30 21:58:08 +12:00