Commit graph

  • 4780c1c4c1 Remove debug short circuit Nic Barker 2025-03-25 10:02:22 +1300
  • eeaa569763
    basic CMake support for easier import into CMake projects Vitalii Rohozhyn 2025-03-24 21:59:42 +0100
  • 5a1d13f0a4
    Add support for font loading and rendering Philosoph228 2025-03-24 05:50:10 +0500
  • d9c68cd32d
    Fix CreateWindow client size CreateWindow(Ex) size parameters actually accepts outer window dimensions containing caption and border, which we can calculate with AdjustWindowRect by giving client size window dimensions. Philosoph228 2025-03-24 03:21:19 +0500
  • e0fffb64fe
    Add CMake target for win32_gdi example Philosoph228 2025-03-24 02:55:18 +0500
  • d80da4c700 Remove import Nic Barker 2025-03-24 10:48:40 +1300
  • ce728294ae fix import Nic Barker 2025-03-24 10:33:00 +1300
  • 610f49588c Update odin bindings and introduce TextDynamic proc Nic Barker 2025-03-24 10:31:18 +1300
  • edc2d7912e Add interface target to be used with Meson's CMake module bonk256 2025-03-22 15:18:18 +0100
  • 153d2454fc Possible NULL pointer dereference. Igor Karatayev 2025-03-22 13:25:27 +0300
  • 56b405d2d9 Odin bindings Nic Barker 2025-03-21 19:54:58 +1300
  • 00dbea62ed Add statically allocated field to clay string Nic Barker 2025-03-21 19:32:05 +1300
  • cdd2d607a9 Remove unused header Nic Barker 2025-03-21 18:55:59 +1300
  • b52c0525b3 Cleanup Nic Barker 2025-03-21 14:38:21 +1300
  • e83033fd2a x64 implementation Nic Barker 2025-03-21 14:04:44 +1300
  • 28b8908347 Interim commit Nic Barker 2025-03-19 11:30:00 +1300
  • 63d3af6372
    remove unnecessary cast TotallyGamerJet 2025-03-20 21:54:25 -0400
  • 6935abbbfb
    fix other files too TotallyGamerJet 2025-03-20 21:47:09 -0400
  • 80caa0f4e7
    update signature of debug view close button handler TotallyGamerJet 2025-03-20 21:28:28 -0400
  • ad49977f1b [Core] Apply minimum width for single words and fix some minimum sizing bugs Nic Barker 2025-03-21 10:49:42 +1300
  • 61490e4557
    [Bindings/Odin] expose _OpenElement and _CloseElement (#301) Leo Zurbriggen 2025-03-20 21:25:50 +0100
  • f298e34bdc
    clay.h: update Clay_OnHover to take void* TotallyGamerJet 2025-03-20 10:45:44 -0400
  • 982ade4cf9 [Compilers] Add a dummy function to suppress unused variable warning in GCC Nic Barker 2025-03-18 11:20:51 +1300
  • d5af2c3dc0
    [Renderers/SDL2] Added explicit include of math.h in SDL2 renderer Nic Barker 2025-03-18 11:13:46 +1300
  • 2677bec854 [Housekeeping] Revert previous commit to allow proper PR attribution Nic Barker 2025-03-18 11:12:21 +1300
  • 05ac2810d8 [Renderers/SDL2] Added explicit include of math.h in SDL2 renderer Nic Barker 2025-03-18 11:10:53 +1300
  • 1f8cab8d72 [Core] Fix a bug where floating elements could be clipped incorrectly Nic Barker 2025-03-18 11:05:06 +1300
  • 5e1e807358 [Core] Make Clay_ImageElementConfig::imageData a pointer to const Michael Savage 2025-03-17 11:58:40 +0000
  • 6186596b41
    math.h include missing cause lots of warning logs Emerald-Ruby 2025-03-15 21:51:36 +0000
  • 1c636096e5
    Fix SDL_Rect argument casting to_matih 2025-03-14 18:29:50 +0000
  • e5bd453f5e
    Fix SDL_FRect argument casting to_matih 2025-03-14 16:06:33 +0000
  • a7d46629b1
    [Renderers/SDL2] Fix rounded corner border index Nic Barker 2025-03-13 09:52:16 +1300
  • bee93bc7ba
    [Renderers/Raylib] Reuse memory in raylib renderer for temporary string allocations Nic Barker 2025-03-13 09:51:44 +1300
  • 39fdd0e906
    [Compilers] Fix integer truncation warnings with explicit casts Nic Barker 2025-03-13 09:40:31 +1300
  • 008d4d2519
    [Renderers/win32_gdi] Create initial WinGDI renderer Nic Barker 2025-03-13 09:27:44 +1300
  • 3e39e444db Update README Nic Barker 2025-03-13 09:21:09 +1300
  • 8a57153700 [Bindings/Odin] Add support for local ids to odin bindings Nic Barker 2025-03-13 09:08:20 +1300
  • 09d581a523 [Bindings/Odin] Fix bad data type in odin bindings for floating config Nic Barker 2025-03-13 09:02:17 +1300
  • f824ddfd25
    Merge pull request #320 from shakkar23/patch-1 Nic Barker 2025-03-11 10:29:34 +1300
  • 82bb48a235
    Merge pull request #300 from joshuahhh/patch-1 Nic Barker 2025-03-11 09:50:28 +1300
  • c06e01c1af
    Merge pull request #319 from emoon/pass-declaration-by-pointer Nic Barker 2025-03-11 09:39:40 +1300
  • 6567f85eb3 Updated rectangle border rendering hailey 2025-03-10 10:29:55 -0500
  • a92ec772e1 [Renderers/Win32_GDI] first pass, fixed build errors and added build script hailey 2025-03-10 09:33:12 -0500
  • a782df73a1
    Added win32 samples (first pass) __hexmaster111 2025-03-10 09:23:36 -0500
  • 3a9172ec4c
    Merge branch 'nicbarker:main' into main __hexmaster111 2025-03-10 09:12:52 -0500
  • fabdad43f6 [Documentation] Update internal version number to 0.13 in clay.h Nic Barker 2025-03-10 14:39:14 +1300
  • e856136a8e
    add resizing while the window is being resized Jesus Coca 2025-03-08 17:37:02 -0800
  • 19a27b39f2
    [Compilers] Fixed SIMD related compile error on some ARM compilers (#316) Daniel Collin 2025-03-08 22:28:09 +0100
  • 33b8e76903 Support passing declaration by pointer as well Daniel Collin 2025-03-08 15:17:36 +0100
  • ad4d00be33 Fix integer truncation warnings with explicit casts Johann Muszynski 2025-03-08 14:53:30 +0200
  • 22e8cc318c [Bindings/Odin] Update odin bindings for text config userdata pointer Nic Barker 2025-03-08 11:08:04 +1300
  • 8e6640f7a2
    [Core] Add a userData pointer to Clay_TextElementConfig (#274) Michael Savage 2025-03-08 00:01:26 +0200
  • a51503c4f6 Fixed compile error on some compilers Daniel Collin 2025-03-07 13:38:01 +0100
  • 86cadd6651 [Core] Add a userData pointer to Clay_TextElementConfig Michael Savage 2025-02-17 21:06:17 +0000
  • 4f8957d5d2
    [Documentation] Fix typo (#315) Ethan McCue 2025-03-07 03:45:27 -0500
  • 63ae7489b3
    Fix typo Ethan McCue 2025-03-07 01:20:33 -0500
  • d7e072fe25 fix heap buffer overflow and support unicode characters Iaroslav Erokhin 2025-03-06 14:20:46 +0100
  • fbf8251996 Adds CLAY_TEXT_ALIGN_SHRINK option to Clay_TextAlignment which tells the TEXT command producing code it is allowed to pass a boundingBox that is horizontally smaller than the result of the MeasureText call for that string. The Renderer is then able to choose how it wants to fit a piece of text in a smaller space (often this involves removing some number of characters and replacing them with "..." characters) Taylor Robbins (Piggybank Studios) 2025-03-05 13:04:57 -0800
  • f969c8f5b4 Adds CLAY_TEXT_ALIGN_SHRINK option to Clay_TextAlignment which tells the TEXT command producing code it is allowed to pass a boundingBox that is horizontally smaller than the result of the MeasureText call for that string. The Renderer is then able to choose how it wants to fit a piece of text in a smaller space (often this involves removing some number of characters and replacing them with "..." characters) Taylor Robbins (Piggybank Studios) 2025-03-05 13:02:15 -0800
  • 642eedaa30 Add bool Clay_GetElementHovered(Clay_ElementId) Iaroslav Erokhin 2025-03-05 08:31:24 +0100
  • 5009146c65 [Bindings/Odin] Recompile odin bindings with -O3 Nic Barker 2025-03-05 15:10:51 +1300
  • 865b06d386
    [Documentation] fix example in README (#307) Rico P 2025-03-04 22:14:37 +0100
  • 12319fc240
    Updated measure text to support the defualt raylib font if the user spesfied font failed to load. (#305) __hexmaster111 2025-03-04 15:13:42 -0600
  • 2d7d5bc082
    [Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type (#306) Laytan 2025-03-04 21:49:53 +0100
  • a073b9f5e9
    fix example in README Rico P 2025-03-04 20:12:35 +0100
  • a509cccc19 [Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type Laytan Laats 2025-03-04 18:47:09 +0100
  • ce03ccd6f2
    Updated measure text to support the defualt raylib font if the user spesfied font failed to load. __hexmaster111 2025-03-04 09:27:43 -0600
  • 94a3d57236 [Core] Add right click support Caleb Snow 2025-03-04 08:48:18 -0500
  • 1c1be9ac97 fix identation Leo Zurbriggen 2025-03-04 14:01:48 +0100
  • 829cb3fca7 expose OpenElement and CloseElement Leo Zurbriggen 2025-03-04 14:00:24 +0100
  • cf97539612
    Update main.c __hexmaster111 2025-03-04 05:57:30 -0600
  • c49593f1d3
    Update main.c __hexmaster111 2025-03-04 05:56:20 -0600
  • c7703b7a50
    updated examples to call close __hexmaster111 2025-03-04 05:55:30 -0600
  • adc31f82e8
    Update README.md: it's gotten bigger Joshua Horowitz 2025-03-03 21:38:25 -0800
  • ad363f986c
    Added missing CloseWindow() call for raylib as well __hexmaster111 2025-03-03 16:08:34 -0600
  • 3612431e82
    [Raylib Render] Dont call malloc and Free every frame so much __hexmaster111 2025-03-03 16:04:07 -0600
  • 02bce89d17
    [Core] Improve & streamline grow / shrink handling (#296) Nic Barker 2025-03-04 10:56:38 +1300
  • 8f887ee202 Switch zero comparison to epsilon Nic Barker 2025-03-04 10:48:15 +1300
  • 92ef909341 Update website wasm Nic Barker 2025-03-04 10:38:04 +1300
  • bbf2f47284 Remove unused var Nic Barker 2025-03-04 10:36:32 +1300
  • b5b086af13
    [Macros] Add versions of the CLAY_ID macros that take Clay_String (#285) FintasticMan 2025-03-03 22:30:53 +0100
  • 0354ffdef9 Fix readme and add comments to clay.h Nic Barker 2025-03-04 10:23:20 +1300
  • 500caa0ad8 Fix action cache Nic Barker 2025-03-04 10:08:30 +1300
  • d30b0af342 More readme fixes Nic Barker 2025-03-04 10:07:10 +1300
  • f8ae2df1a0 Update README Nic Barker 2025-03-04 10:05:09 +1300
  • 43a083e002 Odin bindings and fix action runner version Nic Barker 2025-03-04 09:21:23 +1300
  • 8195df36ad Remove unnecessary float compares Nic Barker 2025-03-04 09:17:47 +1300
  • 375501fb89
    [Renderers/SDL2] Fix rounded corner border index mizmar 2025-03-03 18:36:04 +0100
  • a2eb832003 braces are important for min,max expression rhodes-b 2025-03-02 23:35:11 -0600
  • 2b31cffd9f make min and max type safe rhodes-b 2025-03-02 23:21:51 -0600
  • 46c962d7f2 Update the pointer state before the onHover function is called Nicholas Molloy 2025-03-03 14:18:36 +1300
  • 8f87b7c712 Convert global var to constant Nic Barker 2025-03-03 12:59:20 +1300
  • 9b34af6e3e Switch float compares to epsilon version Nic Barker 2025-03-03 12:58:38 +1300
  • 5d99f75ab6 [Core] Improve grow & shrink handling consistency and edge cases Nic Barker 2025-03-03 12:53:28 +1300
  • 5571c00a21 [Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory Nic Barker 2025-03-03 11:36:12 +1300
  • af3d63ad0f added dll_export macro Orcolom 2025-02-26 21:13:36 +0100
  • 0eb162e3a3 Merge branch 'main' into feature/get-pointer Orcolom 2025-02-26 21:12:35 +0100
  • 4ee501019c
    [Compilers] Added DLL macro to support .dll building (#278) Joram Vandemoortele 2025-02-26 03:37:51 +0100
  • e1209c9ff5
    Add versions of the CLAY_ID macros that take Clay_String FintasticMan 2025-02-25 15:56:28 +0100
  • a4d860b0ab added CLAY_DLL to the readme Orcolom 2025-02-24 23:28:13 +0100