All notable changes to this project will be documented in this file.
- Added
HexOrientation
toHexagonGrid
andHexagonView
to support different orientations of hexagons.
- Fixed
TextInputUIComponent
not showing prompt text when text is empty.
- Added missing
Cursor
CSS styles.
- Refactored
Visual
styling properties observer. - Propagate compound visual styles to children.
- Fixed CSS style properties not being set correctly.
0.9 - 27.11.2023
- Simple CSS support for components e.g.
BorderRadius
,BorderWidth
andBorderColor
- Smooth scrolling for
CameraPane
- Horizontal and vertical pan lock for
CameraPane
- Added zoom lock for
CameraPane
- Added
keysForward
andkeysBackward
attributes toBiDirectionalMap
- Added
put
andputAll
functions toBiDirectionalMap
- Added conventional map indexing syntax to
BiDirectionalMap
- Added visuals to
TextInputUIComponent
- Fixed
HexagonView
not updating visual properly - Fixed rotation of hexagons in
HexagonGrid
- Fixed
CameraPane
panning to work only with specified mouse button - Fixed
CameraPane
panning only allowed when interactive is set to true - Fixed Drag and Drop in
CameraPane
- Fixed
ComboBox
throwing exception when trying to deselect an item - Fixed
CameraPane
zoom to work properly withpanBy
and `pan function - Fixed constructor overload for individual alignments in
LinearLayout
0.8.1 - 21.07.2023
- Library dependency back to Java 11 (accidentally was 17 in 0.8)
- faulty config from spring-vaadin-conventions.
0.8 - 18.07.2023
setZIndex
ability for components to change there view order in parent components.CameraPane
component.HexagonView
component.HexagonGrid
with two coordinate systems. axial and offset coordinates.- Additional
onSceneShown
andonSceneHid
event handlers. MouseEvent
now also gives information about the coordinates.
onKeyPressed
listener not working on scenes.showMenuScene
fade animation not firing on consecutive runs.
0.7.3 - 31.08.2022
- Spectator join feature in bgw-net.
- PasswordField.
- Wrong main class in build config of bgw-net protocol client
- Prompt text displayed twice in ComboBox.
0.7.2 - 14.08.2022
- Debug mode in network client now prints JSON of sent game message.
- Hide "Connections and Sessions" from non-admin users in BGW-net frontend.
- Unified named arguments in
KeyEvent
.
- DSL package.
- Messages passing each other in clients asynchronous receiver function resolution.
- PlayerLeftNotification not sent upon socket close.
- Exception thrown in asynchronous coroutine not displayed in default exception handler.
- Validation of non-JSON files in bgw-net frontend showing incorrect messages.
0.7.1 - 05.08.2022
- BGW-Net Protocol client.
- onScroll event.
- Style property for SingleLayerVisuals.
- flip() function in CardView.
- BoardGameApplication.runOnGUIThread may now be called without starting an application for headless testing.
- Disabled default undo operation in TextField and TextArea as it causes NPEs in JavaFX.
- Write access to Animation.isRunning
- Grid.grow() not updating row heights array.
- Format function not getting applied to selected item in ComboBox.
- Drag and Drop rollback on panes.
- Exception when changing GameScenes in onDragDropped
- Flip Animation resetting size of ImageVisuals.
0.7 - 15.07.2022
- BGW-Net.
- Non-blocking Dialog option.
- Keyboard input events for elements on BoardGameScene are now blocked while MenuScene is shown.
0.6 - 01.04.2022
- Fullscreen mode and Fullscreen-Exit-Combination.
- Taskbar Icon.
- Text for
RadioButtons
and changed default width. - Selection model for
ListView
andTableView
. - Custom fonts may now be loaded.
- Additional functions for
GridPane
to set all column widths or row heights.
- Renamed module bgw-core into bgw-gui.
- Background of
ListView
andTableView
is now transparent. - Dragged elements keep their stacked rotation instead of snapping to components rotation.
- Updated OpenFX to Version 17.
MovementAnimation.toComponentView
now considers rotation and scale of containers.- Drag & Drop now works from rotated
GridPanes
. - Background of
MenuScene
no longer changes when switching between menus. Scene
background can now be changed.- Removed blur animation between menu scene changes.
- Position of nested
GridPanes
no longer resets on update. FontFamily
with whitespace in name no longer has to be escaped.
0.5 - 31.10.2021
ParallelAnimation
andSequentialAnimation
.- Scene wide key events.
BoardGameApplication.runOnGUIThread
function to update components from asynchronous environments.- Sudoku example.
- Tetris example.
- Moved examples to dedicated submodule
- Disable deselection of last
RadioButton
inToggleGroup
. - Empty grid columns and rows no longer get rendered size 0.0 in case of fixed dimensions.
- Drag and drop target for custom inter-cell-alignments.
- Offset for grids nested in grid cells.
MovementAnimation.toComponentView
missinglayoutFromCenter
offset forGrid
.MovementAnimation.toComponentView
now working withscale
.- wrong parent in rollback search for containers after drag and drop.
BoardGameScene
getting shown blurred ifshowGameScene
gets called afterhideMenuScene
.FileDialogs
returning list of nulls instead ofOptional.EMPTY
.
0.4 - 22.09.2021
- Empty grid columns and rows no longer get rendered size 0.0 in case of fixed dimensions.
- Race condition while changing GameScenes caused by slow renderer.
- FileDialogs returning list of nulls instead of empty optional.
- Snap back from Drag and Drop.
- MovementAnimation#toComponentView offset when animating to GridPane.
- BoardGameScene getting shown blurred if showGameScene gets called after hideMenuScene.
0.3 - 09.09.2021
- Value
Scene.components
for getting a snapshot of the currently contained root components of aScene
. onAdd
andonRemove
function references inPane
.- Readonly Properties.
- Scale Animation.
- Additional constructors, default parameters and nullable functions for Stack.
- div and times operator for Coordinate.
- Changed
removeAll()
inPane
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.
- Items property from ListView as it was not observable.
- 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.
0.2 - 10.08.2021
- Visual as default parameter for all components.
- Introduced alignment feature for
UIComponents
. - Introduced alignment feature for
TextVisual
. - Text wrapping in
LabledUIComponents
and optional parameterisWrapText
. - Additional checks in
ImageView
for sub-image parameters to check for bounds. - New helper functions in
CoordinatePlain
. - Constants file with default parameter values.
- 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
totext
inLabledUIComponents
. - Renamed
Table
toTableView
. - Renamed
KStack
toStack
.
- Fixed text color not working on all components.
- Fixed
ToggleButton
not being added to specifiedToggleGroup
.
- Infix operators for
GameComponentViews
.
0.1 - 03.08.2021
First release of the BGW framework.