Commit graph

364 commits

Author SHA1 Message Date
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
Ethan McCue 4f8957d5d2
[Documentation] Fix typo (#315) 2025-03-07 21:45:27 +13:00
Nic Barker 5009146c65 [Bindings/Odin] Recompile odin bindings with -O3 2025-03-05 15:11:11 +13:00
Rico P 865b06d386
[Documentation] fix example in README (#307) 2025-03-05 10:14:37 +13:00
__hexmaster111 12319fc240
Updated measure text to support the defualt raylib font if the user spesfied font failed to load. (#305) 2025-03-05 10:13:42 +13:00
Laytan 2d7d5bc082
[Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type (#306) 2025-03-05 09:49:53 +13:00
__hexmaster111 cf97539612
Update main.c 2025-03-04 05:57:30 -06:00
__hexmaster111 c49593f1d3
Update main.c 2025-03-04 05:56:20 -06:00
__hexmaster111 c7703b7a50
updated examples to call close 2025-03-04 05:55:30 -06:00
Joshua Horowitz adc31f82e8
Update README.md: it's gotten bigger 2025-03-03 21:38:25 -08:00
__hexmaster111 ad363f986c
Added missing CloseWindow() call for raylib as well 2025-03-03 16:08:34 -06:00
__hexmaster111 3612431e82
[Raylib Render] Dont call malloc and Free every frame so much 2025-03-03 16:04:07 -06:00
Nic Barker 02bce89d17
[Core] Improve & streamline grow / shrink handling (#296) 2025-03-04 10:56:38 +13:00
FintasticMan b5b086af13
[Macros] Add versions of the CLAY_ID macros that take Clay_String (#285) 2025-03-04 10:30:53 +13:00
mizmar 375501fb89
[Renderers/SDL2] Fix rounded corner border index 2025-03-03 18:36:04 +01:00
Nic Barker 5571c00a21 [Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory 2025-03-03 11:36:12 +13:00
Joram Vandemoortele 4ee501019c
[Compilers] Added DLL macro to support .dll building (#278) 2025-02-26 15:37:51 +13:00
Nic Barker 1fa8684e47 [Core] Fix bug where hover state didnt take clip rectangles into account 2025-02-25 08:55:14 +13:00
Benjamin Block feead45f3e
[Documentation] Update README.md for Odin bindings to reflect the latest API changes. (#281) 2025-02-24 08:52:41 +13:00
mizmar 766325c395
[Core] Fix inverted condition for setting booleanWarnings.maxTextMeasureCacheExceeded (#275) 2025-02-20 09:22:35 +13:00
Alex Pedley 5afdf3f8c9
[Core] Make fakeContext use correct value from currentContext (#269) 2025-02-20 09:21:14 +13:00
Nic Barker a60b977946 [Core] Fix a bug where floating elements would be incorrectly configured 2025-02-18 09:41:06 +13:00
Laytan 20340f6544
[Bindings/Odin] add missing bindings, fix binding, improve ergonomics of userdata, conform to stricter style flags (#270)
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
Co-authored-by: Courtney Strachan <courtney.strachan@gmail.com>
2025-02-18 09:16:31 +13:00
Timothy Hoyt ee99e5f0f2
[Renderers/SDL2] Opengl, antialiasing, vsync, alpha blending (#264) 2025-02-17 09:15:58 +13:00
Nic Barker 256fc32549 [Documentation] Update README.md to include docs on Clay_GetElementData() 2025-02-17 09:12:11 +13:00
Thomas Anderson 28a8f59733
[Renderers/Raylib] Convert Image usage to Texture (#266) 2025-02-17 08:56:26 +13:00
Timothy Hoyt 47c8e9178e
[Renderers/SDL2] Make SDL_RenderCornerBorder static (#263) 2025-02-17 08:49:05 +13:00
irfan-zahir a62ee15758
[Renderers/SDL3] Enable sdl3 alpha blending (#261) 2025-02-17 08:48:19 +13:00
Nic Barker c73dffbb6f
[Github] Create FUNDING.yml 2025-02-14 10:17:29 +13:00
Timothy Hoyt eb553962e8
[Renderers/SDL2] Added rounded corner borders and fixed other issues (#258) 2025-02-14 10:14:11 +13:00
Nic Barker d9e02ab1d3 [Core] Fix aspect ratio scaling of images when only one sizing axis was specified 2025-02-14 10:05:16 +13:00
tomat bc2548e3ec
[Renderers/SDL3] Add image rendering and scissor support to SDL3 renderer (#246) 2025-02-13 10:02:06 +13:00
Julio Ernesto Rodríguez Cabañas eeb4520f48
[Renderers/SDL3] Use text engine to render text on the SDL3 renderer (#256) 2025-02-13 09:19:36 +13:00
Nic Barker 6d23a35d15 [Examples/clay-official-website] Update compiled wasm for official website example 2025-02-12 13:09:29 +13:00
Nic Barker b4933a6e4c [Examples/clay-official-website] Switch default renderer back to HTML for official website example 2025-02-12 13:08:46 +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 d637e2a122 [Documentation] Fix documentation mistake for border configuration 2025-02-12 12:02:57 +13:00
Nic Barker e6e0cd5a46 [Documentation] Update README with better documentation of Clay_ElementDeclaration 2025-02-12 11:59:50 +13:00
Nic Barker 82ca328ae2 [Core] Add .textAlignment field to text element config 2025-02-12 10:43:32 +13:00