Skip to content

History / Styling

Revisions

  • Document v0.1.9: CC_ElementDataOf, GrowMinMax, FitMinMax, pointer capture aliases and shader-drawn rounded borders

    @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
  • Point Home and the Shadow note at v0.1.5

    @rizukirr rizukirr committed Nov 3, 2026
  • Styling: document Shadow so users can find the new drop shadow API Covers fields, defaults, draw order, the Draw conflict and the pool limit. Marked as unreleased until PR #13 lands in a tag.

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

    @rizukirr rizukirr committed May 22, 2026
  • docs: add ColorHex/ColorHexA hex-literal color form Document the new ColorHex(0xRRGGBB) and ColorHexA(0xRRGGBBAA) macros under Styling → Colors. Explains why there are two macros (RGB vs RGBA ambiguity can't be resolved from a single literal) and notes that the macros are pure preprocessor with no runtime cost or raylib dependency, so they work in headless builds too.

    @rizukirr rizukirr committed Apr 11, 2026
  • docs: add Images page and migrate .image references to Image() macro Image() is now a dedicated leaf macro with CC_ImageRef, scale modes (ImgFill/ImgFit/ImgCrop), and rounded-corner masking. Documents the per-frame ref pool, texture loading via CC_LoadImage, and migrates Styling + Containers examples off the old .image = { .imageData = ... } pattern.

    @rizukirr rizukirr committed Apr 11, 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