Skip to content

Releases: newk5/decui

DecUI v1.1.0

10 Oct 22:47
Compare
Choose a tag to compare
  • New component UI.SpriteSheet
  • Added missing optional param to DecUIComponent fadeOut/In
  • Fixed tabview move values being ignored when placed inside windows
  • Fixed datatable being missplaced when inside windows
  • Cleanups and duplicate code removal

DecUI v1.0.0

05 Oct 18:08
Compare
Choose a tag to compare

November 2020

  • Fixed UI.setData for arrays binded to datatables causing the table paginator and background being missplaced

January 2021

  • Borders can now be added to buttons too
  • Switched the Sprite constructor to (the file,position) constructor
  • Fix hovered element still pointing to deleted element (@Luckshya contribution )
  • Fix preDestroy not being called for child elements when parent is destroyed (@Luckshya contribution )
  • Fix deeply nested elements not being deleted properly from lists (@Luckshya contribution )
  • Fixed decrement and increment data changes not updating binded GUI elements
  • Created new debug UI

February 2021

  • Fixed typo in UI.Menu optionsStyle property
  • Added missing default param to Component .show() to restore alpha
  • Fixed chaining array.sort().reverse() causing inconsistent behaviour for some players
  • Fixed .setBorderSize not working

April 2021

  • Added FontSize property to combobox ( @AroliSG contribution )
  • Added onClick event to combobox ( @AroliSG contribution )

May 2021

  • New UI.Slider component ( @AroliSG contribution )
  • New UI.Pagination component ( @AroliSG contribution )

September 2021

  • Fixed 3D properties not being processed for all elements
  • Fixed UI.DecData not decrementing stored value

October 2021

  • Fixed UI.Menu freezing the game when created without an onClick event
  • Fixed UI.setData() updating wrong UI elements when binding to nested store keys
  • Rewrote component initialization code, custom DecUI components can now be easily created ( tutorial here )
  • Multiple fixes to onGameResize event missplacing elements
  • Added version constant (DecUI.version)
  • Passing an ID to a timer is no longer necessary
  • Breaking change: The InputGroup and GroupRow utility classes have been removed, if you were using them, you should create a custom component instead ( tutorial here )
  • Removed alot of duplicate code resulting in a 15kb reduction to the overall library size
  • Fixed nested components not being aligned correctly

DecUI v0.20.6

25 Oct 04:16
Compare
Choose a tag to compare
  • Word wrapping is now possible by adding wordWrap = true to the wrapOptions table ( @Luckshya contribution )
  • State management utilities created, see the wiki page for more info here
  • Added GUIElement.focus() function
  • Added border property during element creation
  • New menu component (see the MenuDemo.nut for a sample)
  • Several bugfixes to text wrapping ( @Luckshya contribution )
  • Fixed missplacement of several parent and nested elements during onGameResize event
  • Fixed alignment not working for nested elements with relative size
  • Fixed move values being ignored on nested canvas
  • Added null check for metadata.list inside onHoverOver event
  • Fixed some issues with moving child components and elements

DecUI v0.15.5

08 Aug 20:20
Compare
Choose a tag to compare
  • Fixed .move values being ignored for some components

DecUI v0.15.4

29 Jul 19:14
Compare
Choose a tag to compare
  • Fixed .move values being reset when using .resize()

DecUI v0.15.3

27 Jul 12:49
Compare
Choose a tag to compare
  • Fixed elements with autoResize ignoring move values

DecUI v0.15.2

27 Jul 00:23
Compare
Choose a tag to compare
  • Fixed missing fade animations in some situations
  • Fixed relative move values being ignored in some situations
  • Added new onFinish callback for fade animations

Example:

UI.Canvas("newCanvasID").fadeIn({
     onFinish = function () { 
          Console.Print("finished");              
     }
});

DecUI v0.14.5

21 Jul 22:27
Compare
Choose a tag to compare
  • Fixed relative .move values being moved more than once

DecUI v0.14.4

20 Jul 23:18
Compare
Choose a tag to compare
  • Fixed element alpha not being restored when using .show() after .fadeOut()

DecUI v0.14.3

17 Jul 12:55
Compare
Choose a tag to compare
  • Fixed nested sprites ignoring alignment