Skip to content

4.2.0 for 1.17.1

Compare
Choose a tag to compare
@Juuxel Juuxel released this 11 Sep 11:59
· 222 commits to master since this release

Repository version: 4.2.0+1.17.1

Added

  • Narrator. Narrates: all!
    Narration support for LibGui is here! Widgets can now add narration messages in WWidget.addNarrations.
  • Added experimental ObservableProperty API
    • Basically a lite version of Gradle's Property or JavaFX properties, if you're familiar with those. These can be modified and observed with listeners.
    • Still experimental because the API is not done yet, but the final result should be pretty close to this.
  • Added WWidget.hovered observable property and WWidget.canHover
    • A boolean property that tells the widget whether there's a cursor over it. Useful for narration messages or doing stuff on mouse enter/exit.
    • This is used in the backend of narration support, and also exposed as an experimental API like the observable properties.