Releases: ebitenui/ebitenui
v0.7.2 - Additional Bug Fixes
Breaking Changes:
The widget.ToolTip variable has changed to an array of ToolTips. If you are referencing this variable you will need to account for it being an array going forward.
What's Changed
- Fix text not working with the custom cursor updater feature. by @mcarpenter622 in #297
- Fix missing text label in button option by @mat007 in #296
- Fix button graphic image hover by @mat007 in #298
- Adds support for Button pressed disabled image by @mat007 in #299
- README: Added the link to 'godoc' by @xescugc in #302
- container: add replace method and test by @kazzmir in #305
- widget/container: Make the 'RemoveChild/ren' cascade effect by @xescugc in #304
- tab book: support images in tabs by @kazzmir in #310
- Fix list and button by @mcarpenter622 in #311
- ToolTip: Multiple ones possible and KeepOnHover option by @xescugc in #301
Full Changelog: v0.7.1...v0.7.2
v0.7.1 - Minor Bug Fixes
Fix issues found after the release was cut.
What's Changed
- Cleanup issues found with new release by @mcarpenter622 in #294
Full Changelog: v0.7.0...v0.7.1
v0.7.0 - Theming release!
Release v0.7.0 - Theming Release (Breaking Changes)
Thank you to everyone who has helped provide PRs and feedback for this library. Your help is appreciated!
- This new release adds support for Theming. Please see the widget_demos/theming demo for an example. It includes two default basic themes (Light and Dark) that you can use with your applications.
- This release also adds a new BBCode type [link]display text[/link] that may be used with text based widgets.
- This release introduces the "LongPress" callback on widgets.
- This release introduces an OnUpdate method that is called prior to each widget's OnUpdate method.
- New widget.Panel type - Container extension that can be used with Theming.
- New Utility method for helping turn constants to pointers: constantutil.ConstantToPointer
Breaking changes:
This release includes several breaking changes that you will need to handle when updating to this version. You can see examples of each of these in the various demos in the application.
- text.Face inputs are now references *text.Face
- widget.Insets inputs are now references *widget.Insets
- widget.ListOpts.SliderOpts are now widget.ListOpts.SliderParams
- List container images are now set with widget.ListOpts.ScrollContainerImage
- widget.ListComboButtonOpts.SelectComboButtonOpts are now widget.ListComboButtonOpts.ButtonParams
- widget.ListComboButtonOpts.ListOpts are now widget.ListComboButtonOpts.ListParams
- widget.ListOpts.SliderOpts are now widget.ListOpts.SliderParams
- List Slider container images are now set with widget.ListOpts.ScrollContainerImage
- widget.TextAreaOpts.SliderOpts are now widget.TextAreaOpts.SliderParams
- TextArea Slider container images are now set with widget.TextAreaOpts.ScrollContainerImage
- widget.TabBookOpts.Spacing is now widget.TabBookOpts.ContentSpacing
- TabBook tab button spacing is now set with widget.TabBookOpts.TabButtonTextPadding
- TextInput.Color is now TextInput.SetColor()
- TextInput.CaretWidth is now set by widget.TextInputOpts.CaretWidth
Please reach out in Discord if you have any questions or challenges with migrating.
What's Changed
- Scrollbars were not working properly when set vertical. by @mcarpenter622 in #252
- Update main.yml by @mcarpenter622 in #253
- Compile bbcode regex only once by @mat007 in #255
- Request relayout once when adding multiple children by @mat007 in #254
- Updated button to move the click and mask logic to the widget by @mcarpenter622 in #257
- Fix UTs by @mcarpenter622 in #258
- Initial commit of new checkbox format by @mcarpenter622 in #259
- This change makes it so cursor events (entered, exted, moved) will no… by @mcarpenter622 in #260
- Changes to support button text positioning by @mcarpenter622 in #261
- Expose widget OnUpdate method by @mcarpenter622 in #262
- Change layering to be an opt-in setting by @mcarpenter622 in #263
- Fix duplicate keyboard entries by @mcarpenter622 in #264
- #265 Fix button double trigger by @mcarpenter622 in #266
- Bbcode link by @mcarpenter622 in #267
- MouseButtonReleased is used in various places to indicate an interact… by @mcarpenter622 in #268
- Move the link processing to the update loop by @mcarpenter622 in #269
- Remove ui container registered handlers when switching to another one by @mat007 in #270
- w/list: Made 'SliderOpts' not required if hidden (H&V) by @xescugc in #274
- dont request a relayout when location is updated by @kazzmir in #277
- Theming by @mcarpenter622 in #280
- Allow the setting of the initial focused widget: by @mcarpenter622 in #281
- Resolve error where combo boxes were not working inside windows by @mcarpenter622 in #282
- Set up method to send data back to the top level. This is a first ste… by @mcarpenter622 in #283
- Setup new method to send messages to the top level by @mcarpenter622 in #284
- Update window to use the Containerer Interface by @mcarpenter622 in #286
- Tooltips were not getting theme information. by @mcarpenter622 in #287
- Update DND to trigger "Dropped" function during event processing at e… by @mcarpenter622 in #288
- Update combobox to have an "InitialEntry" setting. by @mcarpenter622 in #289
- Update the preferredSize calculation for tabbook to be based on the m… by @mcarpenter622 in #290
- Long press by @mcarpenter622 in #291
- Long press config by @mcarpenter622 in #293
Full Changelog: v0.6.2...v0.7.0
v0.6.2 - Text Input highlighting and bug fixes
What's Changed
- Bordered nineslice + version updates by @mcarpenter622 in #244
- Fix manual focus by @mcarpenter622 in #245
- Change how focusable widgets are stacked with the layer system by @mcarpenter622 in #246
- Add text highlighting by @mcarpenter622 in #248
- Fix UT issues by @mcarpenter622 in #249
- Enable select all by @mcarpenter622 in #250
- chore: move and rename MobileInputMode by @sofib in #251
New Contributors
Full Changelog: v0.6.1...v0.6.2
v0.6.1 - General bugfix release
Breaking Changes:
- There is a change to the bbCode color tag. It now requires the # symbol to better align with the standard.
What's Changed
- widget/scrollcontainer: Fixed issue with ScrollContainer content by @xescugc in #182
- widget/tooltip: Check if the parent Visibility before rendering by @xescugc in #178
- widget/gridlayout: Added validation for columns by @xescugc in #180
- widget/scrollcontainer: Added validation for the Content by @xescugc in #179
- widget/graphic: Added 'GraphicImage' to allow 'Idle' and 'Disabled' images by @xescugc in #184
- widget/gridlayout: Added the 'DefaultStretch' option by @xescugc in #193
- widget/gridlayout: Columns and Stretch keep order after Hiding by @xescugc in #191
- widget/graphic: Added the ability to embed GIFs by @xescugc in #188
- widget/gridlayout: Fixed typo issue by @xescugc in #194
- Added logo, preview and updated readme by @sedyh in #189
- Removed old export filenames by @sedyh in #195
- Fixed broken VerticalPosition for GridLayout by @sedyh in #198
- Update linter by @mcarpenter622 in #203
- Rework slider changed event by @mat007 in #201
- Fix Numpad enter submit on textinputs and also new prop to disable su… by @YindSoft in #208
- widget/button: Added 2 new function 'Press' and 'Release' by @xescugc in #204
- Fix focus on invisible or disabled elements by @YindSoft in #210
- add utility function to create nineslice image from just a border size by @kazzmir in #213
- remove configure, replace with modifying the ClickEvent directly by @kazzmir in #214
- Update deprecated touches for touchscreenPlatform by @realskyquest in #217
- widget/widget: Added 'In' that will check 'Rect' and 'mask' by @xescugc in #225
- widget/button: Use 'GraphicImage' instead of 'ButtonImageImage' by @xescugc in #216
- widget/container: Now D&D can be used also in widgets by @xescugc in #223
- widget/button: Release fixed if 'ToggleMode' is on by @xescugc in #227
- Add 'TOOLTIP_POS_ABSOLUTE' and 'TOOLTIP_POS_SCREEN' positioning for tooltips by @scratch85 in #221
- Add SelectPressed() option on lists to select entries on mouse click instead of release by @mat007 in #229
- Remove deprecated size call by @corfe83 in #238
- Require # as part of bbCode color tag by @mcarpenter622 in #240
- readme: add NebuLeet by @quasilyte in #234
- Exposing the sorting function of the window list. by @mcarpenter622 in #241
- Fix visibility check in grid layout by @mat007 in #228
- Shift selected window to the top of the stack automatically by @mcarpenter622 in #243
New Contributors
- @sedyh made their first contribution in #189
- @YindSoft made their first contribution in #208
- @kazzmir made their first contribution in #213
- @realskyquest made their first contribution in #217
Full Changelog: v0.6.0...v0.6.1
v0.6.0 - Breaking Changes -Use Text/V2 and move input management to Update loop
Breaking Change!
This release migrates the library to the latest ebitengine version and the text/v2 library. This will require changes to how you load fonts into ebitenUI. Please see the examples for how to do this going forward or reach out in discord if you have any questions.
What's Changed
- widget/button: Fixed issue with the 'TextColor.Pressed' not displayed on RadioGroup by @xescugc in #163
- widget/container: Changed 'AddChildren' to be a variadic by @xescugc in #164
- Outdated text API #148 by @mcarpenter622 in #165
- Make button text change when state chagnes #160 by @mcarpenter622 in #166
- Refactor how Containers are sized by @mcarpenter622 in #167
- Move events handling to the Update tree #100 by @mcarpenter622 in #171
- text was not including its insets when calculating preferred size by @mcarpenter622 in #174
- Add toolbar example by @potpiefox in #172
- Add render hook by @mcarpenter622 in #175
New Contributors
- @potpiefox made their first contribution in #172
Full Changelog: v0.5.8...v0.6.0
v0.5.8 - Enable UI Hover tracking
What's Changed
- fix handleBBCodeColor for multi-byte runes by @quasilyte in #152
- fix Text widget width calculation in
measure()by @quasilyte in #150 - #154 Allow setting of initial value by @mcarpenter622 in #155
- Add "mask" to button by @scratch85 in #151
- Auto close ephemeral windows in more cases by @mcarpenter622 in #157
- Track that the ui is hovered. see input.UIActive by @mcarpenter622 in #156
- widget/button: Added the ButtonTextColor.Pressed option by @xescugc in #159
New Contributors
Full Changelog: v0.5.7...v0.5.8
v0.5.7 - Cleanup
This release has numerous clean-up changes that improve the reliability of this library. It also allows the developer better control over focus handling. Thank you to all the contributors to this release!
What's Changed
- widget: make button text-related options more granular by @quasilyte in #124
- Update tabbook to properly handle manual calls of "SetTab()" by @mcarpenter622 in #125
- Update button widget: by @mcarpenter622 in #126
- Enhance the ability to control widgets programmatically. by @mcarpenter622 in #127
- Closes #112 by @mcarpenter622 in #128
- Add error messaging for required fields by @mcarpenter622 in #129
- Add OffsetX and OffsetY to Button ClickedEvent and StateChangedEvent by @mcarpenter622 in #130
- Allow anchor layout to work with multiple widgets. by @mcarpenter622 in #131
- Update Cursor Management by @mcarpenter622 in #132
- Fix the uniqueness check in list to actually work as expected. by @mcarpenter622 in #138
- Allow BBCode to be enabled for buttons by @mcarpenter622 in #139
- #140 - TextInput panics if Validation func returns string shorter than before by @mcarpenter622 in #141
- Cleaner fix by @mcarpenter622 in #142
- Enable Vsync for demo by @setanarut in #147
- add Window closed event handler by @quasilyte in #143
- add move event to Widget and Button by @scratch85 in #149
New Contributors
- @setanarut made their first contribution in #147
- @scratch85 made their first contribution in #149
Full Changelog: v0.5.6...v0.5.7
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