Commit graph

  • f08743f7cd Set CMake FetchContent GIT_TAG for SDL_ttf Wes Lord 2025-05-26 14:48:52 -07:00
  • 92c36046ac [Bindings/Odin] Update README to better match official website example. rats159 2025-05-25 19:28:27 -05:00
  • ce2475ba73 [Compilers] Add missing struct name for image element config Nic Barker 2025-05-26 10:10:24 +10:00
  • 34ff7e1bea
    [Compilers] Add struct names to public structs (#336) Johann Muszynski 2025-05-26 03:03:07 +03:00
  • f963416637 Add struct names to public structs Johann Muszynski 2025-03-21 08:54:15 +02:00
  • 744a155fed
    Add example for termbox2 renderer mivirl 2025-05-25 15:33:11 +00:00
  • bf8dcc7f15
    Add termbox2 renderer mivirl 2025-05-23 16:05:37 +00:00
  • a1a849a6dd
    Merge 5e1e807358 into 65e813d4df Michael Savage 2025-05-22 06:17:41 +02:00
  • 65e813d4df
    [Renderers/Terminal] Add initial implementation of terminal renderer (#91) Emmanuel 2025-05-21 21:45:52 -03:00
  • ea7cfcf210 Rename a few things and replace floor with int truncate Nic Barker 2025-05-22 11:55:14 +12:00
  • 179ea4bffc Link math lib for clang ubuntu Nic Barker 2025-05-21 17:44:36 +12:00
  • b2ffb2f0e5 swap round for floor to appease compiler Nic Barker 2025-05-21 16:36:19 +12:00
  • e93a83812e Update to latest clay API, reuse example and fix a couple of small issues Nic Barker 2025-05-21 13:35:10 +12:00
  • 1b20af438d fix naming conventions, add scissoring EmmanuelMess 2024-12-26 15:52:21 -03:00
  • 836f05cf63 add initial implementation of terminal renderer EmmanuelMess 2024-12-23 01:23:29 -03:00
  • 7af50d0f48 [Bindings/Odin] Update odin bindings to include floating element clipTo Nic Barker 2025-05-20 11:40:25 +12:00
  • e2f94f17f6
    [Renderers/Playdate] Playdate console example (#404) Matt Jennings 2025-05-19 02:46:39 +03:00
  • eb1d85f2a6
    [Renderers/Cairo] Fix cairo renderer and example (#416) Zordan 2025-05-19 02:36:08 +03:00
  • 76351a0999
    [Documentation] Add Go rewrites of clay to README (#411) Patricio Whittingslow 2025-05-18 20:33:38 -03:00
  • 67f058103d
    Update README.md Nic Barker 2025-05-19 11:33:20 +12:00
  • 682f8c64cc fix cairo stuff zordythezordan 2025-05-18 12:51:26 +03:00
  • efbd680685
    [Core] restore compatibility with C99 (#412) Simon Oelerich 2025-05-14 03:29:12 +02:00
  • b656dc5253
    [Core] Add Clay_FloatingClipToElement (#413) Patrick Doane 2025-05-13 18:24:42 -07:00
  • 674606c6b6 Fix other debug view floating config Nic Barker 2025-05-14 13:24:18 +12:00
  • 61ec7e7c6c Fix clipping handling of warnings pane in debug tools Nic Barker 2025-05-14 13:21:36 +12:00
  • 9ab240376f Switch CLAY_CLIP_TO_NONE to default option for floating elements Nic Barker 2025-05-14 13:18:01 +12:00
  • b78fd66da8
    [Core] Add Clay_GetPointerOverIds function to the public API. (#389) João Matos 2025-05-14 01:39:56 +01:00
  • 78e83b15e0 [Core] Add missing data to floating element debug Patrick Doane 2025-05-13 07:25:14 -07:00
  • 807bc25ae7
    [Core] use CLAY__DEFAULT_STRUCT macro gmasil 2025-05-13 15:26:13 +02:00
  • f10569c85b [Core] Add Clay_FloatingClipToElement Patrick Doane 2025-05-12 21:03:57 -07:00
  • 68a9b78615
    Add idgamg/goclay Patricio Whittingslow 2025-05-12 18:37:16 -03:00
  • 5c67b957bb
    [Core] restore compatibility with C99 gmasil 2025-05-12 12:25:41 +02:00
  • 32301c1cfb
    Update README.md to solve #387 Patricio Whittingslow 2025-05-11 18:36:00 -03:00
  • f4cb35197b removed unused struct Matthew Jennings 2025-05-11 21:39:34 +03:00
  • 5471b2e950 removed TODO Matthew Jennings 2025-05-11 17:26:31 +03:00
  • c33f2032cd fix wrogn naming convention in variable name Matthew Jennings 2025-05-11 17:25:56 +03:00
  • 860b7d821c fixed typo in readme Matthew Jennings 2025-05-11 17:22:24 +03:00
  • c936efaecb added an image to the example Matthew Jennings 2025-05-11 16:44:13 +03:00
  • 0249d0034b formatted code + load second system font and use it for the buttons in the demo Matthew Jennings 2025-05-10 20:04:43 +03:00
  • fb092e59f2 implemented image scaling and variabel corner radius rendering Matthew Jennings 2025-05-10 14:34:04 +03:00
  • 76265e4c3c
    [Bindings/Odin] Add missing border macros to Odin bindings Jeroen van Rijn 2025-05-09 03:25:34 +02:00
  • 446a4caadc Add missing macro Jeroen van Rijn 2025-05-08 15:52:45 +02:00
  • c483269295
    [Documentation] Fix anchor to Clay_CustomElementConfig (#403) Sam El-Borai 2025-05-06 02:41:33 +02:00
  • 4aad9daa9e [Documentation] Update README Nic Barker 2025-05-06 12:08:07 +12:00
  • b99cf3603a rename function with old naming convention Matthew Jennings 2025-05-05 20:57:01 +03:00
  • b06f5ec400 updated to simulate setup with multiple fonts Matthew Jennings 2025-05-05 20:33:55 +03:00
  • 749d1bb7de note about font sizes Matthew Jennings 2025-05-05 20:01:50 +03:00
  • 6ea773d802 renamed define Matthew Jennings 2025-05-05 19:41:01 +03:00
  • ae27eddcab setup some interactivity with the dpad Matthew Jennings 2025-05-05 19:39:23 +03:00
  • bed2d5b328 basics working on the playdate Matthew Jennings 2025-05-05 18:05:53 +03:00
  • c9f0390e39
    Fix anchor to Clay_CustomElementConfig Sam El-Borai 2025-05-05 15:34:44 +02:00
  • 52759cd028
    [Debug] Update Clay__RenderDebugLayoutSizing to handle more sizing types. (#392) João Matos 2025-05-05 01:27:55 +01:00
  • fb4eec93b2
    [Renderers/SDL3] Use SDL_Texture instead of SDL_Surface for images (#402) David Delassus 2025-05-05 02:27:41 +02:00
  • 3e3493efce [Examples/SDL3] Display sample image David Delassus 2025-05-03 14:08:57 +02:00
  • 518cbdf519
    [Examples/SDL3] Load sample image as a texture David Delassus 2025-05-03 12:57:23 +02:00
  • 47eeb78acd
    [Renderers/SDL3] Use textures instead of surfaces when rendering images David Delassus 2025-05-03 12:57:01 +02:00
  • e4e7b113a9
    [Bindings/Odin] Updated odin bindings with new clip config (#397) Hayden Gray 2025-05-02 00:02:40 -04:00
  • b17904438e Fix example reference to scroll and regenerate bindings Nic Barker 2025-05-02 16:00:46 +12:00
  • 8533c15912 updated odin bindings with new clip config A1029384756 2025-05-01 23:48:17 -04:00
  • 90b45f059c [Core] Fix a bug with the implementation of clip .childOffset Nic Barker 2025-05-01 17:21:09 +12:00
  • ea8288158e
    [Bindings/Odin] Odin Raylib renderer rewrite (#395) Rats 2025-04-30 21:31:05 -05:00
  • 970919e1fb
    [Core] Replace .scroll config with .clip (#376) Nic Barker 2025-05-01 14:11:31 +12:00
  • fd281f4f86 Switch .scroll usage to .clip 014-clip-config Nic Barker 2025-05-01 13:41:42 +12:00
  • 220a52b6d3 [Bindings/Odin] Move repeated rounding into proc Rats 2025-04-30 20:16:50 -05:00
  • 563b858483 Added include guard Matthew Nagy 2025-04-30 23:51:48 +00:00
  • f422f4d5b3 [Bindings/Odin] Clean up Odin Raylib renderer rats159 2025-04-30 13:30:35 -05:00
  • f9ebeced60 [Core] Replace .scroll config with .clip Nic Barker 2025-04-10 12:02:18 +12:00
  • 313964132c [Renderers/Raylib] Pin raylib version to 5.5 Nic Barker 2025-04-29 12:42:33 +12:00
  • a21b0665fe [Core] Correctly throw an error when using attach to element id with an invalid id Nic Barker 2025-04-29 12:31:54 +12:00
  • d6ed6cb5c2 [Core] Add cascading property support for text element configs. tritao 2025-04-24 19:10:33 +01:00
  • 71e511151b [Debug] Update Clay__RenderDebugLayoutSizing to handle more sizing types. tritao 2025-04-24 15:17:19 +01:00
  • f3007a8607 [Core] Update Clay__OpenTextElement to return element id of text element. tritao 2025-04-24 15:15:33 +01:00
  • 42474ab3e9 [Core] Add Clay_GetPointerData function to the public API. tritao 2025-04-24 19:06:54 +01:00
  • 84ef28c89c [Core] Add Clay_GetPointerOverIds function to the public API. tritao 2025-04-24 15:13:15 +01:00
  • bae8b2ea25 [Core] Add Clay_GetCurrentElementId function to the public API. tritao 2025-04-24 15:08:23 +01:00
  • b33ba4ff62
    [Core] Fix a string hash bug with single characters (#384) Nic Barker 2025-04-16 20:16:05 +12:00
  • 0acf72c1b6 sokol master branch 014-single-char-hash Nic Barker 2025-04-16 20:07:43 +12:00
  • f88f0517f7
    [Documentation] Fix Clay_String definition in README.md file. (#374) Jackson Novak 2025-04-16 03:07:16 -05:00
  • 2088e5e04e [Core] Fix a string hash bug with single characters Nic Barker 2025-04-15 12:00:46 +12:00
  • 5391a259f3
    [Renderers/Raylib] Fix raylib renderer border bottom left corner radius (#378) Tim Lügger 2025-04-14 04:26:12 +02:00
  • fe2d44a888
    [Renderers/Raylib] Add explicit type cast for malloc (#379) Lily Nikitin 2025-04-13 19:23:13 -07:00
  • 3dcb2eae39
    add explicit type cast for malloc Lily Nikitin 2025-04-13 14:14:31 -07:00
  • e0243994c1
    fix raylib renderer border bottom left corner radius Tim Lügger 2025-04-13 14:08:40 +02:00
  • 06167b4f4b [Core] Fix a potential null pointer deref in scroll GetScrollContainerData Nic Barker 2025-04-12 11:27:10 +12:00
  • eb46688b82
    [Renderers/Sokol] Sokol renderer & examples (#373) Nathan Korth 2025-04-08 21:40:22 -04:00
  • f2c9bf2cb7 Windows support for sokol_corner_radius Nic Barker 2025-04-09 13:33:34 +12:00
  • 644405c88f Fix corner radius example on windows Nic Barker 2025-04-09 13:22:23 +12:00
  • 8022610b3f CMake & MSVC fixes Nic Barker 2025-04-09 13:12:31 +12:00
  • 51de072730 Add main() stub to sokol example for windows Nic Barker 2025-04-09 11:29:05 +12:00
  • aed1f2f30d set SOKOL_GLCORE on linux Nic Barker 2025-04-09 11:27:17 +12:00
  • 74f183eef1 Try to fix some cmake issues Nic Barker 2025-04-09 11:18:45 +12:00
  • db7d588ab8 sokol renderer & examples Nathan Korth 2025-04-04 17:24:55 -04:00
  • 87efc49f52
    [Renderers/WinGDI] Working on Win32 GDI renderer and example (#344) Philosoph228 2025-04-09 04:31:33 +05:00
  • fa0e566438 [README] Fix Clay_String definition in README.md file. Oglo12 2025-04-08 15:54:35 -05:00
  • 16880c81af
    Merge 8e0d180b4e into a9e94e3be0 Kyle Bueche 2025-04-03 19:31:09 -05:00
  • a9e94e3be0 [Core] Fix onHover reference not being reset for identical IDs between frames Nic Barker 2025-04-04 13:05:31 +13:00
  • cbb50267da [CMake] Revert change to CMakeLists because of OSX problems Nic Barker 2025-04-04 12:59:57 +13:00
  • 9a6c66912b
    Implement bit flags to toggle GDI renderer features Instead of gdi_fabulous introduced some bit flags for enabling/disabling features individually. Mainly for testing and benchmarking purposes of these features until we decide the best implementation for each of them. So they are enabled by setting flags with Clay_Win32_SetRendererFlags() in user code (demo in this case) Philosoph228 2025-04-02 11:54:35 +05:00
  • a541f6aa9d
    Make CreateFont call in one line Philosoph228 2025-04-02 11:46:41 +05:00
  • 607af63b08
    Change HWND_DESKTOP to NULL in GetDC() calls At first I liked the idea to use something more semantic to pass as HWND to get the screen device context. And there is a HWND_DESKTOP macro which just a simple alias to NULL, but it is actually designed for CreateWindow and naming isn't clear enough. It may confuse someone who reading code that we're trying to get not the screen dc, but that desktop window dc itself. So I won't stand out let it be NULL as that commonly used. Philosoph228 2025-04-02 11:37:55 +05:00