MyGit

5.0

mikke89/RmlUi

版本发布时间: 2022-12-12 03:02:31

mikke89/RmlUi最新发布版本:6.0(2024-08-27 04:57:53)

The release of RmlUi 5.0 brings several larger changes to the library. The main one being the backends concept, which will help integration for new users in particular, and ease the development for additional renderers and platforms. We have already added several new ones, such as a more modern OpenGL renderer, a Vulkan renderer, and the GLFW windowing library.

There should also be plenty of features and important fixes for both new and existing users to enjoy with this release. Some big ones include support for sibling (+ and ~) and attribute ([foo]) selectors in RCSS, a large overhaul of the text input widget, and ensuring that the hover state of elements is always updated even without any mouse movement.

I want to thank all the contributors for their pull requests, which help make this library better for everyone. We also have a number of new contributors, which is very nice to see. A special thanks goes to @barotto, @hobyst, and @shubin for helping to write the documentation, with pull requests on the documentation repository. I also got a lot of feedback from several users regarding the backends concept, in particular a detailed one from @jbatnozic, thank you to everyone!

The documentation has been updated to reflect all the new changes. I've also been working for some time now to improve the documentation navigation, in particular with a search function. I'm interested to hear feedback on how well this works.

With this release comes a refreshed logo as well! I hope you like it.

RmlUi logo

Changelog

Backends

RmlUi 5.0 introduces the backends concept. This is a complete refactoring of the old sample shell, replacing most of it with a multitude of backends. A backend is a combination of a renderer and a platform, and a light interface tying them together. The shell is now only used for common functions specific to the included samples.

This change is beneficial in several aspects:

All samples and tests have been updated to work with the backends interface, which is a very light abstraction over all the different backends.

The following renderers and platforms are included:

The old macOS shell has been removed as it used a legacy API that is no longer working on modern Apple devices. Now the samples build again on macOS using one of the windowing libraries such as GLFW or SDL.

See the Backends section in the readme for all the combinations of renderers and platforms, and more details. The backend used for running the samples can be selected by setting the CMake option SAMPLES_BACKEND to any of the supported backends.

RCSS selectors

RCSS properties

Text editing

The <textarea> and <input type="text"> elements have been improved in several aspects.

Elements

Data binding

Context input

Layout improvements

Lua plugin

Debugger plugin

SVG plugin

General improvements

General fixes

Build fixes

Breaking changes

New Contributors

Full Changelog: https://github.com/mikke89/RmlUi/compare/4.4...5.0

相关地址:原始地址 下载(tar) 下载(zip)

1、 RmlUi-vs2017-win32.zip 26.43MB

2、 RmlUi-vs2017-win64.zip 31.45MB

3、 RmlUi-win64-samples-only.zip 2.98MB

查看:2022-12-12发行的版本