Skip to content

History / Scroll

Revisions

  • Note that clip regions nest as of v0.1.8

    @rizukirr rizukirr committed Nov 30, 2026
  • Make wiki guidance easier to read with Vibekit writing rules Apply plain and terse writing across all wiki pages. Use sentence case headings, direct instructions and ordinary punctuation. Remove decorative status marks and bold labels from lists while retaining technical detail. Keep executable examples, API reference signatures and existing section anchors intact. Correct the contradictory advice about returning from a container block after checking the actual macro cleanup behavior. Constraint: Preserve page URLs, section links and executable examples. Scope-risk: Wiki prose and comments only. Tested: Wiki validator passed for 23 pages, 164 fenced examples and 248 internal links. Tested: Headless linker-wrapper probe confirmed return skips cleanup and continue closes the element. Tested: git diff --check. Not-tested: Browser rendering and the full library test suite.

    @rizukirr rizukirr committed Nov 30, 2026
  • Wiki: align with v0.0.1-alpha02 API — Flutter-style helpers, axis-tagged Align, renames

    @rizukirr rizukirr committed May 22, 2026
  • Wiki audit: align with v0.0.1-alpha01 API, fix string-literal claim, document CC_RUN_LOOP / CC_Scroll / interning

    @rizukirr rizukirr committed May 22, 2026
  • Scroll: document CC_Scroll API for drag + wheel scrolling

    @rizukirr rizukirr committed May 22, 2026
  • docs: align wiki with current API surface and headless behavior - Document the new global text-color API (CC_LoadGlobalFontColor / CC_GetGlobalFontColor) in Lifecycle, Text, Architecture, and the Headless-Mode runtime table. - Drop references to the never-implemented TextN macro across Text, Scroll, Troubleshooting, Architecture, and Home; rewrite the Text page to describe Text()'s actual semantics (accepts any const char * via CC_StrIntern). - Add the missing .size field on CC_DividerOpts and replace the stale "no fixed cross-axis length" limitation with a working example. - Fix CC_SetBackground signature in Lifecycle (Clay_Color -> CC_Color) to match the public header. - Update Headless-Mode notes to reflect that CC_SetBackground, CC_LoadGlobalFontColor, CC_GetGlobalFontColor, and CC_GetGlobalFontId now store/return values (Clay carries them into the render-command stream regardless of the backend).

    @rizukirr rizukirr committed Apr 26, 2026
  • docs: rewrite wiki — comprehensive coverage Migrates from the sparse per-field pages under docs/wiki/ to a structured, long-form wiki covering every piece of the public API: - Home landing page with quick start and navigation - Getting-Started: build on Linux/macOS/Windows, headless, first program - Lifecycle: full rundown of CC_Init/Begin/End/Shutdown, fonts, error handlers, window configuration - Containers: Column/Row/Box/Element unified, macro expansion, control-flow caveats, nesting - Text: Text vs TextN, font-id precedence, wrapping, alignment - Layout: sizing helpers, padding, childGap, childAlignment - Styling: backgrounds, corner radius, borders (incl. betweenChildren), images, aspect ratio - Interaction: Button, CC_Hovered, CC_Clicked, IMGUI query idiom, recipes (sidebar nav, toggle, pressed state), gotchas (new in 0.2) - Scroll & Clip, Floating: expanded examples (modals, dropdowns by id) - Headless-Mode: what changes at runtime, test patterns, Clay_SetPointerState-based simulated input - Architecture: layer diagram, macro expansion walkthrough, memory model, build targets, naming conventions - Troubleshooting: compile errors, Clay error codes, visual problems, build quirks - _Sidebar: GitHub wiki sidebar navigation

    @rizukirr rizukirr committed Apr 9, 2026