Nic Barker
c7899e6132
Spaces to tabs, reduce boilerplate, update examples
2025-02-18 08:54:36 +13:00
Laytan Laats
9b60a3628f
[Bindings/Odin] pass -vet -strict-style
...
Many Odin users build with these flags and it would turn up errors here.
It is therefore advised to build libraries to conform to the strictest Odin flags.
2025-02-17 20:13:21 +01:00
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
Thomas Anderson
28a8f59733
[Renderers/Raylib] Convert Image usage to Texture ( #266 )
2025-02-17 08:56:26 +13:00
Nic Barker
9f91450431
[Bindings/Odin] Update odin bindings to include debug tools changes
2025-02-12 13:07:05 +13:00
Nic Barker
e35bba079e
[Core] Update debug tools to include text alignment
2025-02-12 13:05:48 +13:00
Nic Barker
3961720ef0
[Core & Documentation] Cleanup public / private API and internal document public API via comments
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
2025-02-11 17:11:03 +13:00
Nic Barker
5a328da308
[Bindings/Odin] Switch error enum to correct size
2025-02-11 10:51:10 +13:00
Nic Barker
65d2122dd6
[Core] Fix a bug where floating containers with anonymous IDs could conflict
2025-02-11 10:09:17 +13:00
Joram Vandemoortele
a5983dee96
Create csharp bindings README ( #247 )
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
2025-02-10 19:09:30 +13:00
Nic Barker
dcd6feda86
[Bindings/Odin] Add support for Clay_Hovered() to Odin bindings
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
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
0a9122e78d
[Bindings/odin] Update odin bindings for debug tooling
2025-02-07 10:24:57 +13:00
Nic Barker
0468243ac7
[Bindings/Odin] Update odin bindings for rendercommand changes
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
2025-02-06 19:02:54 +13:00
Nic Barker
9d940c1f8e
[Core] Replace config macros with a single unified configuration struct ( #240 )
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
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
Timothy Hoyt
c3fcf6ce12
[Bindings/C++] Link and information for ClayMan, a C++ wrapper library for clay ( #218 )
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
2025-01-24 20:51:00 +13:00
Nic Barker
9b2d585499
Update odin and wasm bindings
2025-01-21 19:14:22 +13:00
Nic Barker
01d3ab127f
Update odin bindings for new text measurement API
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
2025-01-20 11:39:59 +13:00
William Inal Zettergren
9d3fba39be
Add external link to zig bindings ( #210 )
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
2025-01-18 21:43:23 +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
12b3280dab
update odin bindings
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-11 14:22:52 +13:00
Nic Barker
7142a427bb
Update odin bindings
2025-01-11 14:19:31 +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
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
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
Nic Barker
68fbb07311
[Bindings/Odin] Update Odin bindings to latest ( #151 )
2025-01-03 09:59:09 +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
a48d40635a
remove inline functions for better windows lib compatibility
2024-12-22 09:13:28 +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
f579690f5d
Improve space allocation for GROW containers
2024-10-07 18:56:13 +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
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
d7a0a6cd50
Update odin bindings
2024-09-17 19:13:17 +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
Nic Barker
b64e318cdb
Fix a small issue on the odin official website example
2024-09-01 10:25:42 +12:00
Dudejoe870
4d1b65071f
Fix memory leak in odin website example ( #12 )
2024-09-01 10:25:25 +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
b4ab3a93c0
Update README.md
2024-08-30 22:06:33 +12:00