]> _ Git - clay.git/log
clay.git
5 months ago[Compilers] Fix integer truncation warnings with explicit casts
Nic Barker [Wed, 12 Mar 2025 20:40:31 +0000 (09:40 +1300)]
[Compilers] Fix integer truncation warnings with explicit casts

5 months ago[Renderers/win32_gdi] Create initial WinGDI renderer
Nic Barker [Wed, 12 Mar 2025 20:27:44 +0000 (09:27 +1300)]
[Renderers/win32_gdi] Create initial WinGDI renderer

5 months agoUpdate README
Nic Barker [Wed, 12 Mar 2025 20:21:09 +0000 (09:21 +1300)]
Update README

5 months ago[Bindings/Odin] Add support for local ids to odin bindings
Nic Barker [Wed, 12 Mar 2025 20:08:20 +0000 (09:08 +1300)]
[Bindings/Odin] Add support for local ids to odin bindings

5 months ago[Bindings/Odin] Fix bad data type in odin bindings for floating config
Nic Barker [Wed, 12 Mar 2025 20:02:17 +0000 (09:02 +1300)]
[Bindings/Odin] Fix bad data type in odin bindings for floating config

5 months agoMerge pull request #320 from shakkar23/patch-1
Nic Barker [Mon, 10 Mar 2025 21:29:34 +0000 (10:29 +1300)]
Merge pull request #320 from shakkar23/patch-1

[Renderers/SDL2] Enable live resizing of layout during window resize in SDL2

5 months agoMerge pull request #300 from joshuahhh/patch-1
Nic Barker [Mon, 10 Mar 2025 20:50:28 +0000 (09:50 +1300)]
Merge pull request #300 from joshuahhh/patch-1

[Documentation] Update README.md: it's gotten bigger

5 months agoMerge pull request #319 from emoon/pass-declaration-by-pointer
Nic Barker [Mon, 10 Mar 2025 20:39:40 +0000 (09:39 +1300)]
Merge pull request #319 from emoon/pass-declaration-by-pointer

Support passing declaration by pointer as well

5 months agoUpdated rectangle border rendering
hailey [Mon, 10 Mar 2025 15:29:55 +0000 (10:29 -0500)]
Updated rectangle border rendering

5 months ago[Renderers/Win32_GDI] first pass, fixed build errors and added build script
hailey [Mon, 10 Mar 2025 14:33:12 +0000 (09:33 -0500)]
[Renderers/Win32_GDI] first pass, fixed build errors and added build script

5 months agoAdded win32 samples (first pass)
__hexmaster111 [Mon, 10 Mar 2025 14:23:36 +0000 (09:23 -0500)]
Added win32 samples (first pass)

5 months ago[Documentation] Update internal version number to 0.13 in clay.h
Nic Barker [Mon, 10 Mar 2025 01:39:14 +0000 (14:39 +1300)]
[Documentation] Update internal version number to 0.13 in clay.h

5 months agoadd resizing while the window is being resized
Jesus Coca [Sun, 9 Mar 2025 01:37:02 +0000 (17:37 -0800)]
add resizing while the window is being resized

5 months ago[Compilers] Fixed SIMD related compile error on some ARM compilers (#316)
Daniel Collin [Sat, 8 Mar 2025 21:28:09 +0000 (22:28 +0100)]
[Compilers] Fixed SIMD related compile error on some ARM compilers (#316)

5 months agoSupport passing declaration by pointer as well
Daniel Collin [Sat, 8 Mar 2025 14:17:36 +0000 (15:17 +0100)]
Support passing declaration by pointer as well

5 months agoFix integer truncation warnings with explicit casts
Johann Muszynski [Sat, 8 Mar 2025 12:53:30 +0000 (14:53 +0200)]
Fix integer truncation warnings with explicit casts

5 months ago[Bindings/Odin] Update odin bindings for text config userdata pointer
Nic Barker [Fri, 7 Mar 2025 22:08:04 +0000 (11:08 +1300)]
[Bindings/Odin] Update odin bindings for text config userdata pointer

5 months ago[Core] Add a userData pointer to Clay_TextElementConfig (#274)
Michael Savage [Fri, 7 Mar 2025 22:01:26 +0000 (00:01 +0200)]
[Core] Add a userData pointer to Clay_TextElementConfig (#274)

5 months ago[Documentation] Fix typo (#315)
Ethan McCue [Fri, 7 Mar 2025 08:45:27 +0000 (03:45 -0500)]
[Documentation] Fix typo (#315)

5 months ago[Bindings/Odin] Recompile odin bindings with -O3
Nic Barker [Wed, 5 Mar 2025 02:10:51 +0000 (15:10 +1300)]
[Bindings/Odin] Recompile odin bindings with -O3

5 months ago[Documentation] fix example in README (#307)
Rico P [Tue, 4 Mar 2025 21:14:37 +0000 (22:14 +0100)]
[Documentation] fix example in README (#307)

5 months agoUpdated measure text to support the defualt raylib font if the user spesfied font...
__hexmaster111 [Tue, 4 Mar 2025 21:13:42 +0000 (15:13 -0600)]
Updated measure text to support the defualt raylib font if the user spesfied font failed to load. (#305)

5 months ago[Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type (#306)
Laytan [Tue, 4 Mar 2025 20:49:53 +0000 (21:49 +0100)]
[Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type (#306)

5 months agoUpdate README.md: it's gotten bigger
Joshua Horowitz [Tue, 4 Mar 2025 05:38:25 +0000 (21:38 -0800)]
Update README.md: it's gotten bigger

5 months ago[Core] Improve & streamline grow / shrink handling (#296)
Nic Barker [Mon, 3 Mar 2025 21:56:38 +0000 (10:56 +1300)]
[Core] Improve & streamline grow / shrink handling (#296)

5 months ago[Macros] Add versions of the CLAY_ID macros that take Clay_String (#285)
FintasticMan [Mon, 3 Mar 2025 21:30:53 +0000 (22:30 +0100)]
[Macros] Add versions of the CLAY_ID macros that take Clay_String (#285)

5 months ago[Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory
Nic Barker [Sun, 2 Mar 2025 22:36:12 +0000 (11:36 +1300)]
[Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory

5 months ago[Compilers] Added DLL macro to support .dll building (#278)
Joram Vandemoortele [Wed, 26 Feb 2025 02:37:51 +0000 (03:37 +0100)]
[Compilers] Added DLL macro to support .dll building (#278)

5 months ago[Core] Fix bug where hover state didnt take clip rectangles into account
Nic Barker [Mon, 24 Feb 2025 19:54:20 +0000 (08:54 +1300)]
[Core] Fix bug where hover state didnt take clip rectangles into account

5 months ago[Documentation] Update `README.md` for Odin bindings to reflect the latest API change...
Benjamin Block [Sun, 23 Feb 2025 19:52:41 +0000 (14:52 -0500)]
[Documentation] Update `README.md` for Odin bindings to reflect the latest API changes. (#281)

6 months ago[Core] Fix inverted condition for setting booleanWarnings.maxTextMeasureCacheExceeded...
mizmar [Wed, 19 Feb 2025 20:22:35 +0000 (21:22 +0100)]
[Core] Fix inverted condition for setting booleanWarnings.maxTextMeasureCacheExceeded (#275)

6 months ago[Core] Make fakeContext use correct value from currentContext (#269)
Alex Pedley [Wed, 19 Feb 2025 20:21:14 +0000 (20:21 +0000)]
[Core] Make fakeContext use correct value from currentContext (#269)

6 months ago[Core] Fix a bug where floating elements would be incorrectly configured
Nic Barker [Mon, 17 Feb 2025 20:36:59 +0000 (09:36 +1300)]
[Core] Fix a bug where floating elements would be incorrectly configured

6 months ago[Bindings/Odin] add missing bindings, fix binding, improve ergonomics of userdata...
Laytan [Mon, 17 Feb 2025 20:16:31 +0000 (21:16 +0100)]
[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>
6 months ago[Renderers/SDL2] Opengl, antialiasing, vsync, alpha blending (#264)
Timothy Hoyt [Sun, 16 Feb 2025 20:15:58 +0000 (14:15 -0600)]
[Renderers/SDL2] Opengl, antialiasing, vsync, alpha blending (#264)

6 months ago[Documentation] Update README.md to include docs on Clay_GetElementData()
Nic Barker [Sun, 16 Feb 2025 20:11:45 +0000 (09:11 +1300)]
[Documentation] Update README.md to include docs on Clay_GetElementData()

6 months ago[Renderers/Raylib] Convert Image usage to Texture (#266)
Thomas Anderson [Sun, 16 Feb 2025 19:56:26 +0000 (13:56 -0600)]
[Renderers/Raylib] Convert Image usage to Texture (#266)

6 months ago[Renderers/SDL2] Make SDL_RenderCornerBorder static (#263)
Timothy Hoyt [Sun, 16 Feb 2025 19:49:05 +0000 (13:49 -0600)]
[Renderers/SDL2] Make SDL_RenderCornerBorder static (#263)

6 months ago[Renderers/SDL3] Enable sdl3 alpha blending (#261)
irfan-zahir [Sun, 16 Feb 2025 19:48:19 +0000 (03:48 +0800)]
[Renderers/SDL3] Enable sdl3 alpha blending (#261)

6 months ago[Github] Create FUNDING.yml
Nic Barker [Thu, 13 Feb 2025 21:17:29 +0000 (10:17 +1300)]
[Github] Create FUNDING.yml

6 months ago[Renderers/SDL2] Added rounded corner borders and fixed other issues (#258)
Timothy Hoyt [Thu, 13 Feb 2025 21:14:11 +0000 (15:14 -0600)]
[Renderers/SDL2] Added rounded corner borders and fixed other issues (#258)

6 months ago[Core] Fix aspect ratio scaling of images when only one sizing axis was specified
Nic Barker [Thu, 13 Feb 2025 21:05:16 +0000 (10:05 +1300)]
[Core] Fix aspect ratio scaling of images when only one sizing axis was specified

6 months ago[Renderers/SDL3] Add image rendering and scissor support to SDL3 renderer (#246)
tomat [Wed, 12 Feb 2025 21:02:06 +0000 (21:02 +0000)]
[Renderers/SDL3] Add image rendering and scissor support to SDL3 renderer (#246)

6 months ago[Renderers/SDL3] Use text engine to render text on the SDL3 renderer (#256)
Julio Ernesto Rodríguez Cabañas [Wed, 12 Feb 2025 20:19:36 +0000 (20:19 +0000)]
[Renderers/SDL3] Use text engine to render text on the SDL3 renderer (#256)

6 months ago[Examples/clay-official-website] Update compiled wasm for official website example
Nic Barker [Wed, 12 Feb 2025 00:09:29 +0000 (13:09 +1300)]
[Examples/clay-official-website] Update compiled wasm for official website example

6 months ago[Examples/clay-official-website] Switch default renderer back to HTML for official...
Nic Barker [Wed, 12 Feb 2025 00:08:46 +0000 (13:08 +1300)]
[Examples/clay-official-website] Switch default renderer back to HTML for official website example

6 months ago[Bindings/Odin] Update odin bindings to include debug tools changes
Nic Barker [Wed, 12 Feb 2025 00:07:05 +0000 (13:07 +1300)]
[Bindings/Odin] Update odin bindings to include debug tools changes

6 months ago[Core] Update debug tools to include text alignment
Nic Barker [Wed, 12 Feb 2025 00:05:48 +0000 (13:05 +1300)]
[Core] Update debug tools to include text alignment

6 months ago[Documentation] Fix documentation mistake for border configuration
Nic Barker [Tue, 11 Feb 2025 23:02:57 +0000 (12:02 +1300)]
[Documentation] Fix documentation mistake for border configuration

6 months ago[Documentation] Update README with better documentation of Clay_ElementDeclaration
Nic Barker [Tue, 11 Feb 2025 22:59:50 +0000 (11:59 +1300)]
[Documentation] Update README with better documentation of Clay_ElementDeclaration

6 months ago[Core] Add .textAlignment field to text element config
Nic Barker [Tue, 11 Feb 2025 21:43:32 +0000 (10:43 +1300)]
[Core] Add .textAlignment field to text element config

6 months ago[Compilers] Fix missing initializer warnings under -Wextra
Nic Barker [Tue, 11 Feb 2025 20:12:11 +0000 (09:12 +1300)]
[Compilers] Fix missing initializer warnings under -Wextra

6 months ago[Core & Documentation] Cleanup public / private API and internal document public...
Nic Barker [Tue, 11 Feb 2025 04:11:03 +0000 (17:11 +1300)]
[Core & Documentation] Cleanup public / private API and internal document public API via comments

6 months ago[Documentation] Add inline documentation comments for subfields of Clay_ElementDeclar...
Nic Barker [Tue, 11 Feb 2025 01:14:55 +0000 (14:14 +1300)]
[Documentation] Add inline documentation comments for subfields of Clay_ElementDeclaration

6 months ago[Bindings/Odin] Switch error enum to correct size
Nic Barker [Mon, 10 Feb 2025 21:50:57 +0000 (10:50 +1300)]
[Bindings/Odin] Switch error enum to correct size

6 months agoDefine CLAY_IMPLEMENTATION in Jetbrains IDE (#236)
Harrison Lambeth [Mon, 10 Feb 2025 21:11:42 +0000 (14:11 -0700)]
Define CLAY_IMPLEMENTATION in Jetbrains IDE (#236)

6 months ago[DebugTools] Fix a bug with display of border widths in debug tools
Nic Barker [Mon, 10 Feb 2025 21:11:15 +0000 (10:11 +1300)]
[DebugTools] Fix a bug with display of border widths in debug tools

6 months ago[Core] Fix a bug where floating containers with anonymous IDs could conflict
Nic Barker [Mon, 10 Feb 2025 21:00:48 +0000 (10:00 +1300)]
[Core] Fix a bug where floating containers with anonymous IDs could conflict

6 months ago[Core] Check whether the maximum number of elements has been exceeded before renderin...
FelixBreitweiser [Mon, 10 Feb 2025 20:35:51 +0000 (21:35 +0100)]
[Core] Check whether the maximum number of elements has been exceeded before rendering the debug view (#255)

6 months agoCreate csharp bindings README (#247)
Joram Vandemoortele [Mon, 10 Feb 2025 06:09:30 +0000 (07:09 +0100)]
Create csharp bindings README (#247)

6 months ago[Examples/clay-official-website] Update web renderer example to latest API
Nic Barker [Mon, 10 Feb 2025 03:14:13 +0000 (16:14 +1300)]
[Examples/clay-official-website] Update web renderer example to latest API

6 months ago[Bindings/Odin] Add support for Clay_Hovered() to Odin bindings
Nic Barker [Sat, 8 Feb 2025 05:54:15 +0000 (18:54 +1300)]
[Bindings/Odin] Add support for Clay_Hovered() to Odin bindings

6 months ago[Bindings/Odin] Add get/set current context method to Odin bindings (#252)
Dan Korostelev [Sat, 8 Feb 2025 05:51:55 +0000 (06:51 +0100)]
[Bindings/Odin] Add get/set current context method to Odin bindings (#252)

6 months ago[Documentation] Update README to fix quick start example nesting
Nic Barker [Thu, 6 Feb 2025 22:30:11 +0000 (11:30 +1300)]
[Documentation] Update README to fix quick start example nesting

6 months ago[Renderers/SDL2] Add rounded rectangle support to sdl2 renderer; feature-completes...
tomat [Thu, 6 Feb 2025 22:26:49 +0000 (22:26 +0000)]
[Renderers/SDL2] Add rounded rectangle support to sdl2 renderer; feature-completes sdl2 renderer (#245)

6 months ago[Core] Add error for incorrect percentage values, update Odin bindings enum formatting
Nic Barker [Thu, 6 Feb 2025 21:39:55 +0000 (10:39 +1300)]
[Core] Add error for incorrect percentage values, update Odin bindings enum formatting

6 months ago[Bindings/odin] Update odin bindings for debug tooling
Nic Barker [Thu, 6 Feb 2025 21:24:57 +0000 (10:24 +1300)]
[Bindings/odin] Update odin bindings for debug tooling

6 months agofix mistake in x64 simd comparison
Nic Barker [Thu, 6 Feb 2025 20:56:05 +0000 (09:56 +1300)]
fix mistake in x64 simd comparison

6 months agoadd CLAY_DISABLE_SIMD flag to conditionally disable SIMD includes (#251)
johan0A [Thu, 6 Feb 2025 20:41:38 +0000 (21:41 +0100)]
add CLAY_DISABLE_SIMD flag to conditionally disable SIMD includes (#251)

6 months ago[Core] Update debug view for new non rectangle API
Nic Barker [Thu, 6 Feb 2025 20:34:35 +0000 (09:34 +1300)]
[Core] Update debug view for new non rectangle API

6 months ago[Bindings/Odin] Update odin bindings for rendercommand changes
Nic Barker [Thu, 6 Feb 2025 06:02:54 +0000 (19:02 +1300)]
[Bindings/Odin] Update odin bindings for rendercommand changes

6 months ago[Core] Fixed a bug where userdata wasn't getting correctly passed through for image...
Nic Barker [Wed, 5 Feb 2025 21:06:10 +0000 (10:06 +1300)]
[Core] Fixed a bug where userdata wasn't getting correctly passed through for image render commands

6 months ago[Core] Fixed a bug where Clay_Hovered didn't work with explicit IDs
Nic Barker [Wed, 5 Feb 2025 20:54:07 +0000 (09:54 +1300)]
[Core] Fixed a bug where Clay_Hovered didn't work with explicit IDs

6 months ago[Core] Replace config macros with a single unified configuration struct (#240)
Nic Barker [Tue, 4 Feb 2025 04:00:19 +0000 (17:00 +1300)]
[Core] Replace config macros with a single unified configuration struct (#240)

6 months agoFix int conversion errors in msvc (#242)
Harrison Lambeth [Thu, 30 Jan 2025 02:46:37 +0000 (19:46 -0700)]
Fix int conversion errors in msvc (#242)

6 months agoCopy elementId in Clay__AddHashMapItem() in case underlying stringId has changed...
Harrison Lambeth [Wed, 29 Jan 2025 21:20:14 +0000 (14:20 -0700)]
Copy elementId in Clay__AddHashMapItem() in case underlying stringId has changed (#239)

6 months ago[Core] Add option to hash text contents to text config (#238)
Nic Barker [Wed, 29 Jan 2025 20:59:42 +0000 (09:59 +1300)]
[Core] Add option to hash text contents to text config (#238)

6 months ago[Core] Compensate for OSes that don't return 64b aligned memory from malloc
Nic Barker [Wed, 29 Jan 2025 08:16:24 +0000 (21:16 +1300)]
[Core] Compensate for OSes that don't return 64b aligned memory from malloc

6 months ago[Core] Replace generated arrays with macro declarations, align cache lines to 64...
Nic Barker [Wed, 29 Jan 2025 04:14:01 +0000 (17:14 +1300)]
[Core] Replace generated arrays with macro declarations, align cache lines to 64 bytes (#235)

6 months ago[Renderers/SDL2] Don't take addresses of temporaries. (#232)
Martin Evald [Wed, 29 Jan 2025 00:09:41 +0000 (01:09 +0100)]
[Renderers/SDL2] Don't take addresses of temporaries. (#232)

6 months agoNormalized usage of Clay__defaultMaxElementCount and Clay__defaultMaxMeasureTextWordC...
noflashbang [Wed, 29 Jan 2025 00:09:07 +0000 (16:09 -0800)]
Normalized usage of Clay__defaultMaxElementCount and Clay__defaultMaxMeasureTextWordCacheCount (#233)

6 months ago[Documentation] Fix incorrect type information in README for CLAY_IDI
Nic Barker [Sun, 26 Jan 2025 02:43:55 +0000 (15:43 +1300)]
[Documentation] Fix incorrect type information in README for CLAY_IDI

6 months ago[Documentation] Fix some typos in the README example code
Nic Barker [Sun, 26 Jan 2025 02:35:30 +0000 (15:35 +1300)]
[Documentation] Fix some typos in the README example code

6 months ago[Core] Add z-index and string base to Render Commands (#227)
Nic Barker [Sun, 26 Jan 2025 02:28:35 +0000 (15:28 +1300)]
[Core] Add z-index and string base to Render Commands (#227)

6 months ago[Documentation] Combine quick start steps into a single code block in main README
Nic Barker [Sun, 26 Jan 2025 02:22:46 +0000 (15:22 +1300)]
[Documentation] Combine quick start steps into a single code block in main README

6 months ago[CMake] Make Examples Optional in CMAKE (#216)
Cory [Sun, 26 Jan 2025 02:05:45 +0000 (20:05 -0600)]
[CMake] Make Examples Optional in CMAKE (#216)

6 months ago[Renderers/SDL3] Add borders and rounded borders functionality. (#220)
arnauNau [Sun, 26 Jan 2025 01:39:34 +0000 (02:39 +0100)]
[Renderers/SDL3] Add borders and rounded borders functionality. (#220)

6 months ago[Bindings/C++] Link and information for ClayMan, a C++ wrapper library for clay ...
Timothy Hoyt [Fri, 24 Jan 2025 07:51:00 +0000 (01:51 -0600)]
[Bindings/C++] Link and information for ClayMan, a C++ wrapper library for clay (#218)

6 months ago[Renderers/SDL3] Add rounded corners rectangle functionality (#219)
arnauNau [Wed, 22 Jan 2025 20:30:24 +0000 (21:30 +0100)]
[Renderers/SDL3] Add rounded corners rectangle functionality (#219)

6 months ago[Examples/Raylib] Restore deleted font
Nic Barker [Tue, 21 Jan 2025 08:28:38 +0000 (21:28 +1300)]
[Examples/Raylib] Restore deleted font

6 months ago[Renderers/Raylib] Early return 0 rather than segfault when Raylib fonts fail to...
Nic Barker [Tue, 21 Jan 2025 08:26:57 +0000 (21:26 +1300)]
[Renderers/Raylib] Early return 0 rather than segfault when Raylib fonts fail to load

6 months agoFix quick start in README to include error handler
Nic Barker [Tue, 21 Jan 2025 08:17:24 +0000 (21:17 +1300)]
Fix quick start in README to include error handler

6 months ago[Documentation] Include CLAY_ID_LOCAL in README.md
Nic Barker [Tue, 21 Jan 2025 08:11:49 +0000 (21:11 +1300)]
[Documentation] Include CLAY_ID_LOCAL in README.md

7 months agoUpdate odin and wasm bindings
Nic Barker [Tue, 21 Jan 2025 06:14:22 +0000 (19:14 +1300)]
Update odin and wasm bindings

7 months ago[Core] Fix layout bug in SIZING_PERCENT
Nic Barker [Tue, 21 Jan 2025 06:11:33 +0000 (19:11 +1300)]
[Core] Fix layout bug in SIZING_PERCENT

7 months agoFix incorrect use of corner radius
Nic Barker [Tue, 21 Jan 2025 05:32:33 +0000 (18:32 +1300)]
Fix incorrect use of corner radius

7 months agofixed video demo padding (#205)
Timothy Hoyt [Tue, 21 Jan 2025 05:31:48 +0000 (23:31 -0600)]
fixed video demo padding (#205)

7 months agoUpdate odin bindings for new text measurement API
Nic Barker [Sun, 19 Jan 2025 22:39:59 +0000 (11:39 +1300)]
Update odin bindings for new text measurement API

7 months ago[Core] Convert measureText pointer to value string slice (#214)
Nic Barker [Sun, 19 Jan 2025 22:27:22 +0000 (11:27 +1300)]
[Core] Convert measureText pointer to value string slice (#214)

7 months agoSetMesureText and SetQueryScrollOffset takes userData (#212)
Daniel Collin [Sun, 19 Jan 2025 21:59:02 +0000 (22:59 +0100)]
SetMesureText and SetQueryScrollOffset takes userData (#212)