Skip to content

Releases: tudo-aqua/bgw

v0.3

07 Sep 18:07
Compare
Choose a tag to compare

Added

  • Value Scene.components for getting a snapshot of the currently contained root components of a Scene.
  • onAdd and onRemove function references in Pane.
  • Readonly Properties.
  • Scale Animation.
  • Additional constructors, default parameters and nullable functions for Stack.
  • div and times operator for Coordinate.

Changed

  • Changed removeAll() in Pane to now accept a collection of components to remove.
  • Changed various Exception types to more meaningful ones.
  • Opacity property is now restricted to [0.0, 1.0].
  • Increased render performance by caching and only updating deltas.

Removed

  • Items property from ListView as it was not observable.

Fixed

  • Items not being updated dynamically in ListView.
  • Components in grid not aligned correctly and size calculation not accounting for scale and rotation.
  • Font color in TableView.
  • Complete Drag and Drop reworking to account for scale, rotation, and nesting.
  • ColorVisuals with colors near black caused CSS parse error

v0.2

13 Aug 07:49
Compare
Choose a tag to compare

Added

  • Visual as default parameter for all components.
  • Introduced alignment feature for UIComponents.
  • Introduced alignment feature for TextVisual.
  • Text wrapping in LabledUIComponents and optional parameter isWrapText.
  • Additional checks in ImageView for sub-image parameters to check for bounds.
  • New helper functions in CoordinatePlain.
  • Constants file with default parameter values.

Changed

  • Changed order of constructor parameters for all components to height > width > posX > posY.
  • Added minimum spacing in LinearLayout.
  • Scale feature now applies scaling factor instead of altering dimensions directly.
  • Renamed label to text in LabledUIComponents.
  • Renamed Table to TableView.
  • Renamed KStack to Stack.

Fixed

  • Fixed text color not working on all components.
  • Fixed ToggleButton not being added to specified ToggleGroup.

Removed

  • Infix operators for GameComponentViews.

v0.1

03 Aug 12:23
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

First release of the BGW framework.