Skip to content

History / Headless Mode

Revisions

  • 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
  • Progress: document .sizing and the migration from v0.1.2 The progress components on main are now sized with .sizing, and .size, .length and the bar's .thickness are gone. The page still showed the float options. It now has a Sizing section, per-axis defaults, the non-square ring rule, a migration table and two new gotchas. A note says the change is on main and not yet in a tagged release.

    @rizukirr rizukirr committed Oct 6, 2026
  • Bring Home, Headless Mode and cross-links up to v0.1.2 Home still named v0.0.1-alpha01 as the current tag and said no macro adds behavior, which stopped being true for Button in v0.1.1. The navigation, Getting Started, Headless Mode table and the draw-slot section now mention the progress components added in v0.1.2.

    @rizukirr rizukirr committed Oct 5, 2026
  • docs: CC_InitFont replaces CC_LoadGlobalFont Loading and global font selection are separate calls now, and the global default text size is runtime-settable rather than the compile-time CC_DEFAULT_FONT_SIZE. Documents the two distinct meanings of base_size: rasterization size in CC_LoadFont, render size in CC_InitFont. Tracks rizukirr/ccompose#5.

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

    @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