Releases: ebitenui/ebitenui
v0.5.6
What's Changed
- readme: add Cavebots by @quasilyte in #95
- add hello-world example by @ethanmdavidson in #104
- Fix slider mouse scroll by @mat007 in #90
- Add select focus option to list by @mat007 in #105
- Fix crash when stretch arrays are set but not long enough to account for all columns and rows by @corfe83 in #117
- Fix WASM build by @KevinVlaanderen in #119
- Add background colors when pressing list entries by @mat007 in #106
- Fix list scrolling by @mat007 in #115
- Prevent drag and drop for hidden widgets by @mat007 in #110
- Remove unused error prone key just pressed helper by @mat007 in #114
- Close ephemeral on widget removal by @mcarpenter622 in #121
- widget: add 3 new Text options TextLabel, TextFace and TextColor by @quasilyte in #122
- internal/input: add a workaround fix for touch controls on mobiles by @quasilyte in #101
- Fix drag drop update outside scroll container by @mat007 in #113
- Optimize text rendering for text area with a lot of lines by @mat007 in #96
New Contributors
- @ethanmdavidson made their first contribution in #104
- @corfe83 made their first contribution in #117
- @KevinVlaanderen made their first contribution in #119
Full Changelog: v0.5.5...v0.5.6
v0.5.5 - General Enhancement Release
What's Changed
- readme: add sinecord game to the list by @quasilyte in #80
- Make it possible to disable lists by @mat007 in #85
- Button released only if pressed by @mat007 in #87
- Allow to dynamically change the list entries by @nmorenor in #78
- Progress bar direction and invertion by @mat007 in #86
- Make button text position customizable by @mat007 in #89
- Added option to hide Container by @kidk in #81
- Make it possible to disable EbitenUI's cursor Management
- Added the ability to edit text boxes within browsers
- Reduced the version of ebitengine to v2.5.0 to enable users to avoid a performance issue in later versions of ebitengine (Note, you can still use later versions of ebitengine in your games with this library).
- Updated Readme with contribution notes
- Fix tabbook to default to first non-disabled tab
- Added additional demos
New Contributors
Full Changelog: v0.5.4...v0.5.5
v0.5.4 TextInput caret management
In this release we are updating the caret management for TextInput.
Previously, it did not handle the text being set programmatically properly.
This release also includes the ability to set MaxWidth when creating the Text object before it begins line-wrapping.
v0.5.3 Tooltip Updates
With the release Tooltips have had a couple minor improvements:
- The STICKY and FOLLOW positioning methods now respect the ContentOriginHorizontal and ContentOriginVertical fields as well as WIDGET.
- Tooltips will no longer go offscreen. They will pop to the other side of the Anchor point when they reach a point where they would fall off the screen.
Closes: #53 Thanks for creating the ticket @quasilyte
v0.5.2 - Input Bug Fix
v0.5.1 Bug Fixes and Demos
This release fixes a bug introduced with v0.5.0. Because of the order some methods were called click events were being lost.
Also, while this does not effect the usage of the library, changes have been made to the deployment scripts to push the latest version of the application into the docs whenever we make changes! So our examples will now always be up to date!
v0.5.0 Cursor Management!
In this release Cursor Management has been added. This will allow you to set the cursor for the application manually.
You can also now control the cursor with the devices of your choice. See https://github.com/ebitenui/ebitenui/tree/master/_examples/widget_demos/cursor_updater for an example.
Two new options were added to the Widget Object:
//This sets what image to use as the cursor when the cursor is over that widget
widget.WidgetOpts.CursorHovered("buttonHover"),
//This sets what image to use as the cursor when the cursor is over that widget and the left mouse button is pressed
widget.WidgetOpts.CursorPressed("buttonPressed"),
Along with that we added a couple new methods to the input
package:
//Set the main cursor used within the application
input.SetCursorImage(input.CURSOR_DEFAULT, loadNormalCursorImage())
//Set the custom hover image
input.SetCursorImage("buttonHover", loadHoverCursorImage())
input.SetCursorImage("buttonPressed", loadPressedCursorImage())
//Set the NS resize cursor with an offset so that it shows up a little above the cursor point
input.SetCursorImageWithOffset(input.CURSOR_NSRESIZE, loadNSCursorImage(), image.Point{0, -6})
Along with these changes a small bug fix to the list object (comboboxes) to automatically scroll to the selected option when the list object is displayed.
v0.4.4 Update ebitenui to use ebitengine 2.5
This release updates this library to use the latest version of ebitengine. There are some breaking changes with that library, so do not update until you are ready to update your code-base.
See https://ebitengine.org/en/documents/2.5.html for changes with that library
v0.4.3 - Updated Drag and Drop **Breaking Changes**
v0.4.3 Updates Drag and Drop to be more functional.
Changes include:
- A new interface for the DnD Content object:
type DragContentsEnder interface {
// arg1 - Drop was successful
// arg2 - Source Widget
// arg3 - DragData
EndDrag(bool, HasWidget, interface{})
}
- Updated type DragContentsCreater Create method to take a "HasWidget" interface instead of a *Widget
- Updated type DragContentsUpdater Create method to take a "HasWidget" interface instead of a *Widget
- Added a new method to the UI object:
func (u *UI) GetFocusedWidget() widget.Focuser {
See the TextInput example to see its usage.
v0.4.2 Bug fixes!
In this release we resolve a couple bugs
- Window resizing was losing tracking when dragging too fast
- Slider mouse control was losing tracking when dragging too fast
- Fix issue where container object did not resize its children automatically when it was resized.