Repository navigation
Keyboard shortcuts in templates, handler arguments, <canvas>, and many
layout fixes. Builds with Xcode 16's libc++, Bazel 8 and MSVC 17.9.
New
onkey:<key>="Handler"runs a handler when a key is pressed:
onkey:j="Down",onkey:ArrowDown="Down",onkey:ctrl+d="Jump(10)".
onkey="Typed"runs for every key. See
Keyboard Shortcuts.- Handlers take typed arguments:
onclick="Resize(80, 24)"calls
Resize(int, int). Integers, floats,bool, strings, enums (with C++26
reflection) and any type with aParse()function. Text that does not
convert is reported. <canvas ondraw="Draw" onpointer="Pointer">: cells the application
draws, in characters, braille dots, quadrants or half blocks, and the
mouse in the canvas's coordinates.ElementHandle::ScrollIntoView()keeps an element in view, as the DOM's
scrollIntoView({block: "nearest"}).HeadlessScreen::WaitUntil()waits for work an application does on
another thread.- Ctrl-Space reaches the application (
Event::CtrlSpace()).
Changes in behaviour
- A flex row's items keep their longest word whole
(overflow-wrap: break-wordis the default);min-width: 0or
overflow-wrap: anywheregive the old behaviour. - A flex column's items keep their content's height, as in CSS: the item
that scrolls is the one that shrinks. - Each key or click of a burst sees what the ones before it did.
onchangeon<input>runs when the value is committed (Enter, or the
focus leaving), as documented.
Fixes
- CSS no longer uses the floating-point
std::from_chars, which Xcode 16's
libc++ lacks: RTXUI builds on macOS 15. - MSVC: applications fetching RTXUI get
/utf-8, so their templates'
non-ASCII characters are no longer garbled; builds with Visual Studio
2022 17.9. - Bazel: the package loads under Bazel 8.
- Layout: margins collapse between blocks, auto margins in flex and grid,
align-items: baseline,visibility, absolute boxes, scrollbars no
longer hide the last row,<dialog>sized to its content. - Selectors: pseudo-classes in every compound (
.card:hover .title),
backtracking combinators, unknown pseudo-classes reported. - The wheel scrolls an open
<select>list;<progress>and<input>
keep their spaces; faded borders underopacity. - Hover moves are merged, and pointer moves no longer search the whole
page for scrollbars.
Packages
| File | What it holds |
|---|---|
rtxui-0.1.5-linux-x64.tar.gz |
Debug and Release static libraries, headers, CMake package, pkg-config file |
rtxui-0.1.5-linux-arm64.tar.gz |
The same, for arm64 |
rtxui-0.1.5-macos-universal.tar.gz |
The same, for arm64 and x86_64 |
rtxui-0.1.5-windows-x64.zip |
The same, built with MSVC (/MD runtime; rtxuid.lib for Debug) |
rtxui-0.1.5-windows-arm64.zip |
The same, for arm64 |
rtxui-0.1.5-windows-x64-mingw.zip |
The same, built with MinGW-w64 GCC, UCRT, as MSYS2's UCRT64 |
librtxui-dev_0.1.5_amd64.deb, librtxui-dev_0.1.5_arm64.deb |
Release library for Debian and Ubuntu |
rtxui-devel-0.1.5-1.x86_64.rpm, rtxui-devel-0.1.5-1.aarch64.rpm |
Release library for Fedora and other RPM distributions |
rtxui-0.1.5.tar.gz |
The source, as committed |
Before publishing, the release installs each .deb on Ubuntu 24.04 and each
.rpm on Fedora, and builds an app against each archive with
find_package(rtxui), in Debug and in Release.
A prebuilt static C++ library links with a compatible compiler and standard
library: GCC or Clang with libstdc++ on Linux, Apple Clang on macOS, MSVC or
MinGW (UCRT) on Windows, each with its own archive. Otherwise, build from
source with FetchContent, as described in
Getting started.