* [RmlUi 6.2](#rmlui-62) * [RmlUi 6.1](#rmlui-61) * [RmlUi 6.0](#rmlui-60) * [RmlUi 5.1](#rmlui-51) * [RmlUi 5.0](#rmlui-50) * [RmlUi 4.4](#rmlui-44) * [RmlUi 4.3](#rmlui-43) * [RmlUi 4.2](#rmlui-42) * [RmlUi 4.1](#rmlui-41) * [RmlUi 4.0](#rmlui-40) * [RmlUi 3.3](#rmlui-33) * [RmlUi 3.2](#rmlui-32) * [RmlUi 3.1](#rmlui-31) * [RmlUi 3.0](#rmlui-30) * [RmlUi 2.0](#rmlui-20) ## RmlUi 6.2 ### Touch input & inertial scrolling Introducing native touch input processing and inertial (momentum) scrolling. This is likely our longest-standing open feature request, now closed thanks to great contributions. #60 #795 (thanks @reven86) - New context methods `Context::ProcessTouchStart/Move/End/Cancel` to process touch points. - Inertial scrolling is automatically applied from touch when a user flicks and releases while scrolling. - Touch support added to the SDL backends. This can be simulated using mouse events by setting the CMake variable `RMLUI_BACKEND_SIMULATE_TOUCH=ON`. ### Elements - Radio buttons: Group radio buttons also when outside a form element. #779 (thanks @mcukstorm) - Radio buttons and checboxes: Add `checked` parameter to `change` events. Helpful in cases where the checked state is used in boolean expressions. - Button and submit elements: Support `value` attribute for HTML conformance. #798 (thanks @mcukstorm) - Tabset panels: Add pseudo class `:selected` to the active panel to allow adding transition effects when switching tabs. #809 (thanks @loganmcbroom) - Drop-down widget performance: Remove unnecessary resizing during layouting which could cause decorator data being regenerated. - Text input: Avoid selecting all text when Ctrl + Alt + A key combination is used. This is used to insert characters on certain keyboard layouts, and will cause all text to be removed instead. #773 (thanks @ShawnCZek) - Image element: Maintain aspect ratio when one of the width or height attributes is set. #771 - Image element: Handle dimensions with zero size without producing contagious NaN values. - Element API: Animation methods now have separate overloads taking `PropertyID`. #825 (thanks @AthosArantes) ### RCSS - Add [`font-kerning`](https://mikke89.github.io/RmlUiDoc/pages/rcss/fonts.html#font-kerning) property. #843 (thanks @TriangulumDesire) - Add [`inset`](https://mikke89.github.io/RmlUiDoc/pages/rcss/visual_formatting_model.html#top_right_bottom_left) property. A shorthand for specifying the `top`, `right`, `bottom`, and `left` properties. - Add [`text-overflow`](https://mikke89.github.io/RmlUiDoc/pages/rcss/text.html#text-overflow) property. Includes support for ellipsis as well as custom strings. #849 - Implement CIELAB and Oklab [color space functions](https://mikke89.github.io/RmlUiDoc/pages/rcss/syntax.html#colours), e.g. `color: oklch(63% 0.25 30 / 0.8)`. #847 (thanks @TriangulumDesire) - Allow specifying RCSS strings using 'single quotation marks'. - Whitespace is now preserved within quotes, an empty string is now possible using quotes. - Make animations with the `display` property always visible during interpolation, see the [display animation behavior](https://mikke89.github.io/RmlUiDoc/pages/rcss/visual_formatting_model.html#display) documentation. Helpful in animations and transition where one wants to apply fade-in or fade-out effects when showing or hiding an element. Matches the existing behavior of the `visibility` property and is consistent with recent CSS specifications. - Fix animation keyframes with uppercase characters. Names of keyframes are now case-sensitive, like in CSS. #852 ### Data bindings - Fix structural data views (data-for) not working with data model on the body element. This also includes data models directly on body templates. #790 ### Debugger - Add [data models viewer](https://mikke89.github.io/RmlUiDoc/pages/cpp_manual/debugger.html#data-models) to inspect live values of data variables. #865 - Highlight open debugger menu items. ![Debugger data models screenshot](https://github.com/mikke89/RmlUiDoc/blob/1709eff628b6f4b47c074d9fa54e409224438ade/assets/images/debugger-data-models.png) ### Text behavior - Expose lines from ElementText, to help with custom text effects. #833 (thanks @Paril) - Make text decorators update when the color or font is changed. #817 - Fix an issue where old text could still be rendered after being cleared, when transforms were applied. #810 ### RML events - Allow inline event suffix `capture` to bind to the capture phase, e.g. `