cntrl/third_party/clay/README.md

18 lines
870 B
Markdown

# Clay (vendored)
`clay.h` — single-header UI **layout** library by Nic Barker
(<https://github.com/nicbarker/clay>), zlib license (see `LICENSE`).
- **Version:** 0.14 (`// VERSION: 0.14` at the top of `clay.h`)
- **Vendored from:** `main` @ `e6cc36941ab2af5d81107617039d6f527a1c660b` (2026-05-20)
- **Why it fits the third-party policy (docs/03):** one header, zero
dependencies (not even libc), arena-based (no malloc), renderer-agnostic —
it emits `Clay_RenderCommand`s that `src/render/clay_ui.cpp` draws with raylib.
Integration notes (docs/11):
- `CLAY_IMPLEMENTATION` is defined in exactly one TU — `src/render/clay_impl.cpp`
(same pattern as `raygui_impl.cpp`).
- The header is **not** modified. Do not edit it; upgrades should replace the
file wholesale so diffs against upstream stay readable.
- Requires C++20 (the project standard) or C99.