Commit graph

  • 7cb84862fc
    Merge a863ed8ad4 into 76ec3632d8 Laura 2026-01-25 15:34:54 +01:00
  • a863ed8ad4
    Add java rewrite to Other implementations Laura 2026-01-25 15:31:18 +01:00
  • 25263c3669
    Create README.md Laura 2026-01-24 21:40:03 +01:00
  • 728d0a8336
    Merge 4ecba0c61a into 76ec3632d8 Luke 10X 2026-01-21 06:09:00 -05:00
  • 4ecba0c61a 🐞 Fix font measurement in GLES3 Clay renderer with stb font library. Luke 10X 2026-01-07 00:26:02 -05:00
  • 2130652944
    Merge 0e82579926 into 76ec3632d8 Orwa Diraneyya 2026-01-21 02:08:12 +00:00
  • 569e7523f3
    Merge c133e07096 into 76ec3632d8 Jefferey S 2026-01-21 00:25:26 +00:00
  • 7a2fc1216b
    Merge 99c077ec0b into 76ec3632d8 JESSE-SOTERIA 2026-01-20 21:33:06 +00:00
  • 501943e12d
    Merge a397b6e5c0 into 76ec3632d8 Tomás Ralph 2026-01-15 11:54:42 -08:00
  • d5da705ea2
    Merge 3f2aceecd2 into 76ec3632d8 Ambareesh Shyam Sundar 2026-01-15 11:54:25 -08:00
  • 93d4fed2fc
    Merge 935bd59ac0 into 76ec3632d8 Bach Le 2026-01-15 11:54:08 -08:00
  • f263865f23
    Merge 500fab288e into 76ec3632d8 h4rl 2026-01-14 19:46:43 -06:00
  • d1532b7107
    Merge 46c962d7f2 into 76ec3632d8 Nick 2026-01-13 09:56:06 -05:00
  • f2f9960b46
    Merge 69921e898a into 76ec3632d8 Louis Sven Goulet 2026-01-12 13:59:47 +03:00
  • 881cde259d
    Merge 8399fd09b4 into 76ec3632d8 Paul-Marie Masschelier 2026-01-12 13:59:37 +03:00
  • 505a005814
    Merge bac3ca8b1d into 76ec3632d8 Lily Nikitin 2026-01-11 20:16:12 +01:00
  • b9704bd615
    Merge 727352a548 into 76ec3632d8 Víctor López 2026-01-11 20:16:12 +01:00
  • 002e6ca418
    Merge c65b7d7231 into 76ec3632d8 Zeck 2026-01-11 20:16:12 +01:00
  • ca5d0863db
    Merge 4d70236711 into 76ec3632d8 kraxie 2026-01-11 20:16:12 +01:00
  • e2c99881ed
    Merge 563b858483 into 76ec3632d8 Matthew Nagy 2026-01-11 03:57:58 +01:00
  • c1dede0b3f
    Merge 63a74a92a8 into 76ec3632d8 Shivam7-1 2026-01-10 13:11:38 -05:00
  • 5f1b69438c
    Merge ea3e29be5c into 76ec3632d8 bangbangsheshotmedown 2026-01-10 13:11:00 -05:00
  • 63c548cce7
    Merge fccfdfce36 into 76ec3632d8 Nic Barker 2026-01-09 14:46:04 +01:00
  • d228996d6a
    Merge 75d1546476 into 76ec3632d8 Paul-Marie Masschelier 2026-01-08 16:06:47 +00:00
  • b6701f34c3
    Merge b4f1a5f7f0 into 76ec3632d8 Paul-Marie Masschelier 2026-01-07 13:23:19 +01:00
  • 2a2c0a5b54
    Merge 6d08f68988 into 76ec3632d8 Tim Millard 2026-01-07 12:21:25 +11:00
  • a12f4d7a3a
    Merge aa525c10b6 into 76ec3632d8 fgungor 2026-01-07 03:47:17 +05:00
  • fac5786083
    Merge 4a1d272949 into 76ec3632d8 Igna778 2026-01-07 03:47:06 +05:00
  • 382b804eda
    Merge af3d63ad0f into 76ec3632d8 Joram Vandemoortele 2026-01-06 18:02:51 +00:00
  • 583c3a8a95
    Merge bae8b2ea25 into 76ec3632d8 João Matos 2026-01-06 18:01:46 +00:00
  • 0fbcfaf440
    Merge 6824a942a7 into 76ec3632d8 Rats 2026-01-06 17:55:50 +00:00
  • 904e2825fb
    Merge 752675fe11 into 76ec3632d8 Paul-Marie Masschelier 2026-01-05 13:55:06 +02:00
  • 9d6ebe5df6
    Merge 540840e761 into 76ec3632d8 John Brucker 2026-01-04 00:40:10 +00:00
  • e73c9175ea
    Merge be99977da6 into 76ec3632d8 Stowy 2026-01-03 17:23:40 -06:00
  • ec11bd193b
    Merge 004f38e9c2 into 76ec3632d8 Kamikazee.godzilla 2026-01-02 21:48:17 +01:00
  • 2ed7273226
    Merge fbf8251996 into 76ec3632d8 Piggybank Studios 2026-01-01 22:14:17 +02:00
  • f8a2f5bff3
    Merge 62e3860202 into 76ec3632d8 John Brucker 2026-01-01 22:13:24 +02:00
  • 7059c9f060
    Merge 5902e4c822 into 76ec3632d8 DingusMcChicken 2026-01-01 21:57:28 +08:00
  • 0a84a82722
    Merge d300cf7cef into 76ec3632d8 Bach Le 2026-01-01 16:40:24 +08:00
  • 6b72902033
    Merge 38bb241ced into 76ec3632d8 Harrison Lambeth 2025-12-31 20:20:47 -07:00
  • 5aba1d8469
    Merge 0e9da36bda into 76ec3632d8 ThatTanishqTak 2025-12-31 22:54:51 +01:00
  • 007b2e9da6
    Merge 992ba66f75 into 76ec3632d8 Matt Jennings 2025-12-31 15:56:02 +00:00
  • 504224d377
    Merge 28e333cbbb into 76ec3632d8 Forelyl 2025-12-31 16:21:12 +01:00
  • 7a3a98fd9c
    Merge 3c2082e309 into 76ec3632d8 Hayden Gray 2025-12-31 14:15:04 +01:00
  • c233771883
    Merge 32193ff8d7 into 76ec3632d8 John Brucker 2025-12-31 00:29:24 -03:00
  • 2263648ca0
    Merge e15f3a6e2e into 76ec3632d8 Lucas Inácio Viegas 2025-12-30 20:57:08 -03:00
  • 7ed39d0ae3
    Merge 6e190427d8 into 76ec3632d8 godalming123 2025-12-30 16:50:34 -03:00
  • 4fe33419e1
    Merge 1abbd77bd8 into 76ec3632d8 Jipok 2025-12-30 23:46:19 +05:00
  • b5717530bd
    Merge 02abf00b01 into 76ec3632d8 Davide Depau 2025-12-30 08:14:28 -05:00
  • 73c2b739f2
    Merge 038868c32b into 76ec3632d8 Seintian 2025-12-30 11:03:25 +00:00
  • 038868c32b refactor: simplify ncurses border corner drawing logic by removing redundant conditional checks. Seintian 2025-12-30 12:03:15 +01:00
  • 76ec3632d8
    [Renderers/GLES3] 📦 GLES3 renderer and demo examples using it (#565) main Luke 10X 2025-12-30 02:52:27 -05:00
  • 8643a5d2d9 Fix Ncurses click handling and restore ncursesw build Seintian 2025-12-29 21:57:50 +01:00
  • e89f3d15e9 feat(ncurses): event-driven scrolling & font styling Seintian 2025-12-29 20:33:20 +01:00
  • c700104760 feat(ncurses): Add interaction callbacks and improve input handling Seintian 2025-12-28 22:17:27 +01:00
  • bc742a190a build: disable Ncurses examples by default Seintian 2025-12-28 18:54:31 +01:00
  • 97c1a797c4 [renderers/ncurses] Refactor Ncurses renderer and example with atomic functions and Doxygen docs Seintian 2025-12-28 18:39:25 +01:00
  • de3d63cf61 feat(ncurses): optimize rendering, fix memory leaks, and add rounded corners Significantly improves the stability, performance, and visual quality of the ncurses renderer. **Renderer Improvements (clay_renderer_ncurses.c):** * **Flicker Reduction**: * Removed erase() call at the start of the frame to enable differential rendering. * Implemented "Dirty Check" optimizations for Rectangles, Borders, and Text. The renderer now reads the existing screen content (using mvinch, mvin_wch, mvin_wchnstr) and only issues draw commands if the content or color differs. * Hardened Rectangle dirty check to mask out volatile attributes (comparing only A_CHARTEXT | A_COLOR), preventing false-positive redraws caused by internal terminal flags. * **Memory Safety**: * Fixed internal ncurses memory leaks by calling delscreen(set_term(NULL)) in Clay_Ncurses_Terminate to properly free the default screen wrapper. * **Visual Features**: * Added support for **Rounded Corners**: Borders with cornerRadius > 0 now render using Unicode arc characters (, , , ). * Upgraded standard borders to use full Unicode box-drawing characters. **Example Application Updates (ncurses-example/main.c):** * **Layout Stability**: * Refactored all layout dimensions and gaps to use CLAY_NCURSES_CELL_WIDTH (8) and CLAY_NCURSES_CELL_HEIGHT (16) macros, ensuring strict grid alignment. * Fixed vertical jitter in "Profile Icon" and text headers by enforcing exact height multiples and top-alignment, eliminating sub-pixel rounding errors during scroll. * **New UI Elements**: * Added a **Floating Help Modal** (toggled via 'H') to demonstrate Z-ordering and localized input handling. * Added "Server Status" progress bars to the Sidebar to demonstrate percent-based sizing and colored rectangles. * Added "Mixed Border" examples to the Sidebar to showcase the new rounded corner capabilities. * Added "Black" background constant usage for cleaner code. Seintian 2025-12-28 18:05:06 +01:00
  • d4a48a07fc feat(ncurses): overhaul renderer with UTF-8, 256-colors, and visual improvements Seintian 2025-12-28 15:19:37 +01:00
  • 840606d0c1 feat: Add ncurses renderer and example Seintian 2025-12-28 14:01:41 +01:00
  • 02abf00b01 Prevent unbalanced SCISSOR_END commands for culled containers Davide Depau 2025-12-25 22:04:09 +01:00
  • 7d099ad870 [bindings/odin] Update Odin bindings github-actions[bot] 2025-12-23 06:29:55 +00:00
  • 681e085cd4
    [Core] Include floating element count in text id hash (#567) Rats 2025-12-23 00:29:09 -06:00
  • c3918af7a2 [Core] Include floating element count in text id hash Rats 2025-12-22 09:23:46 -06:00
  • 24b42b7b1c 📦 GLES3 renderer and demo examples using it Luke 10X 2025-12-12 19:31:50 -05:00
  • e15f3a6e2e
    Merge branch 'nicbarker:main' into main Lucas Inácio Viegas 2025-12-13 11:58:48 -03:00
  • 28e333cbbb return static inline Forelyl 2025-12-07 20:19:51 +02:00
  • a43b1c7d64 Make utf8 work with raylib renderer Forelyl 2025-12-07 20:01:46 +02:00
  • 389a044cd2
    [Bindings/Odin] Fixed incorrect assignment in README example (#533) Isaiah Paget 2025-12-04 19:23:56 -08:00
  • 62e3860202 fix: improve cache line alignment logic John Brucker 2025-12-01 00:52:11 -05:00
  • 540840e761 fix: remove duplicate context->layoutDimensions init John Brucker 2025-11-30 22:58:35 -05:00
  • 32193ff8d7 fix: address hash overflow risk while reserving 0 John Brucker 2025-11-30 22:30:09 -05:00
  • 1abbd77bd8 [Core] fix scroll jump on layout change by comparing IDs instead of pointers Jipok 2025-11-28 01:46:45 +05:00
  • 992ba66f75 fix incorrect logic in debugger for displaying layout direction string Matthew Jennings 2025-11-30 15:24:32 +02:00
  • 7f721ba16d first stab at implementing right to left layout for clay Matthew Jennings 2025-11-29 18:38:55 +02:00
  • e28d00d529 removed annoying printf printing delta time every frame Matthew Jennings 2025-11-29 18:38:26 +02:00
  • 60a5fbab34 Cast imageTexture.witdh/height explicitly to float Lucas Inácio Viegas 2025-11-29 10:59:06 -03:00
  • fa8f6590ff Wrap C-style constructs with CLAY__INIT Lucas Inácio Viegas 2025-11-29 10:55:26 -03:00
  • 2749e56e7e [bindings/odin] Update Odin bindings github-actions[bot] 2025-11-26 04:12:20 +00:00
  • 0c8e300524
    [Core] Update Clay_OnHover to take void* instead of uintptr_t (#334) TotallyGamerJet 2025-11-25 23:11:34 -05:00
  • 7a9a976d42
    Remove unneeded semicolon so that Odin compiler won't fail with -strict-style -vet (#514) Yang Zhang 2025-11-25 18:38:34 -08:00
  • dab622bdff fix other files too TotallyGamerJet 2025-03-20 21:47:09 -04:00
  • c90a2fd8de update signature of debug view close button handler TotallyGamerJet 2025-03-20 21:28:28 -04:00
  • f8a20aadce clay.h: update Clay_OnHover to take void* TotallyGamerJet 2025-03-20 10:45:44 -04:00
  • 6d324c1a3c
    Merge 0e884d3f0a into c13feb2428 Rats 2025-11-23 23:05:26 -06:00
  • 0e884d3f0a Ensure C++ Compatibility Rats 2025-11-23 22:59:15 -06:00
  • 0e9da36bda [Renderers/vulkan] application is working now, start work on the actual demo ThatTanishqTak 2025-11-18 22:09:54 +00:00
  • 556e6b54f2 [Renderers/vulkan] Minor changes, updating CMakeLists.txt, project is not working ThatTanishqTak 2025-11-18 00:20:05 +00:00
  • 24d64f196f Milestone reached: Main loop is working, but no UI is in place, that's the next goal ThatTanishqTak 2025-11-17 23:56:39 +00:00
  • 7f8a1128e3 Project is building now ThatTanishqTak 2025-11-17 23:45:24 +00:00
  • b0b336f987 Updated the CMakeLists.txt ThatTanishqTak 2025-11-17 23:31:38 +00:00
  • 6de8bfa4ae Added vulkan demo ThatTanishqTak 2025-11-17 23:19:18 +00:00
  • f110559639 Updated the main.cpp file ThatTanishqTak 2025-11-17 22:55:06 +00:00
  • 00deb78827 Working on adding vulkan renderer ThatTanishqTak 2025-11-17 21:46:25 +00:00
  • 004f38e9c2
    Add comprehensive master index for C learning system Claude 2025-11-14 06:42:46 +00:00
  • f793695503
    Add advanced C programming tutorials: preprocessor, macros, and memory management Claude 2025-11-14 06:40:51 +00:00
  • faea55a9b9
    Add comprehensive C learning materials with specialized topic tutorials Claude 2025-11-13 20:32:16 +00:00
  • f31d64023c
    Add comprehensive C learning guide using Clay library Claude 2025-11-13 20:13:43 +00:00
  • c13feb2428
    [Bindings/Odin] Improve example text measurement function (#541) Rats 2025-11-11 16:46:20 -06:00
  • 4d70236711
    fix: wrong file, oops kraxarn 2025-11-10 13:05:22 +01:00