Skip to content

raym3 v2.1.0

Latest

Choose a tag to compare

@nanofuxion nanofuxion released this 05 Nov 22:40
· 16 commits to master since this release
77067d1

Highlights

  • Layout like the web. Yoga flexbox is on by default, for both v2 and v1 Layout. alignItems, justifyContent, gaps, and flexGrow behave like CSS.
  • Smooth edges by default. The new RAYM3_ANTIALIASING option (default ON) requests 4x MSAA.
  • Text fields behave like <input>. Mousedown focuses and places the caret. Double-click selects a word, drag extends by whole words, and triple-click selects all. autoFocus works.
  • Cursor fixes. The cursor no longer flickers between the arrow and the I-beam, and no longer sticks as an I-beam.
  • Self-contained controls. v1 checkbox, radio, and switch draw vector marks, so they no longer need an icon font.
  • TextField multi-click selection, native system UI fonts with CSS-family resolution, cached inline SVG rendering, transformed rounded overflow clipping, and emoji font improvements.

Fixes

  • Centered badge digits and chip content. Fixed the squashed chip checkmark.
  • v1 checkbox label no longer overlaps the box.
  • v1 TextField double-click no longer collapses the word selection.

Demos and docs

Verification

All four CTest targets pass: text input selection, text layout, SVG RGBA rasterization, and transformed overflow rendering and hit testing.