Skip to content

Releases: ebitenui/ebitenui

v0.5.6

20 Mar 21:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.5...v0.5.6

v0.5.5 - General Enhancement Release

24 Sep 22:07
42a4595
Compare
Choose a tag to compare

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

31 May 22:27
Compare
Choose a tag to compare

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

17 May 02:53
Compare
Choose a tag to compare

With the release Tooltips have had a couple minor improvements:

  1. The STICKY and FOLLOW positioning methods now respect the ContentOriginHorizontal and ContentOriginVertical fields as well as WIDGET.
  2. 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

tooltip

v0.5.2 - Input Bug Fix

13 May 02:30
Compare
Choose a tag to compare

This release resolves 2 issues:

  • The scrolling of comboboxes was messed up. (Thanks for the fix @harbdog )
  • Button presses were being duplicated if the FPS > TPS. (Thanks for the heads up @nmorenor )

Thank you to the community to alerting me to these issues!
#62
#68

v0.5.1 Bug Fixes and Demos

26 Apr 21:59
bfd2c37
Compare
Choose a tag to compare

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!

See https://ebitenui.github.io/

v0.5.0 Cursor Management!

25 Apr 00:37
Compare
Choose a tag to compare

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

21 Mar 02:15
Compare
Choose a tag to compare

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**

21 Mar 02:00
Compare
Choose a tag to compare

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!

13 Mar 23:41
Compare
Choose a tag to compare

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.