Commit b1f5eca5

add support for dynamically changing the TextItem of a widget at runtime and do a quick demonstration by temporarily
let the speed change buttons trigger the behaviour on the clock

How it gets that dynamically chaning text done is by marking UI widgets as “dirty” under more circumstances that were previously overlooked. To get a better feeling what that means in detail, have a look at one of those changes:

Commit 53c2f988

– add the ability to set widgets as highlighted (== active)
– reflect state changes in the UI by highlighting the appropriate widgets
– add buttons to control the speed/pause state
– add the ability to highlight hovered widgets

Very similar to the hovered state, this is a state that can be set to widgets, visually they look the same. This new state is used in the simulation control buttons that were just added (Pause, 1x speed, 2x speed and 10x speed).

Commit 9647dc1f

Add support for dynamic uniform buffers on the UI pipeline. Use this to add a “disabled” state to the widgets and draw them differently then

As was prepared in the previous commit, there is now support for dynamic uniform buffers on the UI pipeline. The model pipeline uses them to update frequently changing data like position and rotation, the UI pipeline uses it to update things like the newly added “disabled” state.