Skip to content

Commit

Permalink
Release RmlUi 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikke89 committed Apr 7, 2023
1 parent 4f35ce2 commit 40edf1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ endif(POLICY CMP0074)

project(RmlUi LANGUAGES C CXX VERSION 5.1)

set(RMLUI_VERSION_RELEASE false)
set(RMLUI_VERSION_RELEASE true)

if(RMLUI_VERSION_RELEASE)
set(RMLUI_VERSION_SUFFIX "")
Expand Down
16 changes: 9 additions & 7 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* [RmlUi 5.1](#rmlui-51)
* [RmlUi 5.0](#rmlui-50)
* [RmlUi 4.4](#rmlui-44)
* [RmlUi 4.3](#rmlui-43)
Expand All @@ -10,7 +11,7 @@
* [RmlUi 3.0](#rmlui-30)
* [RmlUi 2.0](#rmlui-20)

## RmlUi 5.1 (WIP)
## RmlUi 5.1

### New scrolling features

Expand All @@ -24,7 +25,7 @@ When autoscroll mode is active, a cursor name is submitted to clients which indi
See the new [documentation section on scrolling](https://mikke89.github.io/RmlUiDoc/pages/cpp_manual/contexts.html#scrolling) for details.

#### Smooth scrolling
Smooth scrolling is now supported in RmlUi, and enabled by default. This makes a some scroll actions animate smoothly towards its destination. Smooth scrolling may become active in the following situations:
Smooth scrolling is now supported in RmlUi, and enabled by default. This makes certain scroll actions animate smoothly towards its destination. Smooth scrolling may become active in the following situations:

- During a call to `Context::ProcessMouseWheel()`.
- When clicking a scrollbar's arrow keys or track.
Expand Down Expand Up @@ -95,10 +96,6 @@ See the [form controls documentation](https://mikke89.github.io/RmlUiDoc/pages/c
- The slider input is now only draggable from the track or bar, instead of the whole element.
- Fixed input elements not always being correctly setup when changing types.

### Stability improvements

- Fix a potential crash during plugin shutdown. #415 (thanks @LoneBoco)

### Data bindings

- Add new [data-alias attribute](https://mikke89.github.io/RmlUiDoc/pages/data_bindings/views_and_controllers.html#data-alias) to make templates work with outside variables. #432 (thanks @dakror)
Expand All @@ -115,6 +112,10 @@ See the [form controls documentation](https://mikke89.github.io/RmlUiDoc/pages/c
- Vulkan renderer: Fix various Vulkan issues on Linux. #430 (thanks @Thalhammer)
- GL3 renderer: Unbind the vertex array after use to avoid possible crash. #411

### Stability improvements

- Fix a potential crash during plugin shutdown. #415 (thanks @LoneBoco)

### Build improvements

- Improve CMake to better support RmlUi included as a subdirectory of a parent project. #394 #395 #397 (thanks @cathaysia)
Expand All @@ -126,7 +127,8 @@ See the [form controls documentation](https://mikke89.github.io/RmlUiDoc/pages/c

### Breaking changes

- The `mousescroll` event no longer scrolls an element, see scrolling changes above. Its `wheel_delta` parameter has been renamed to `wheel_delta_y`.
- Scrolling behavior changed, increased default mouse wheel scroll length, and enabled smooth scrolling by default. See notes above.
- The `mousescroll` event no longer scrolls an element. Its `wheel_delta` parameter has been renamed to `wheel_delta_y`.
- The signature of `Context::ProcessMouseWheel` has been changed, the old signature is still available but deprecated.


Expand Down

0 comments on commit 40edf1a

Please sign in to comment.