Skip to content

Releases: 1ForeverHD/TopbarPlus

v2.3.0

13 Feb 18:33
Compare
Choose a tag to compare

Added

  • icon:setProperty(propertName, value) - this will enable properties to be set within chained methods

v2.2.1

12 Feb 22:04
Compare
Choose a tag to compare

Fixed

  • An overlapping icon bug caused by yielding after requiring the Icon module

v2.2.0

12 Feb 18:08
Compare
Choose a tag to compare

Added

  • IconController.clearIconOnSpawn(icon)

Improved

  • The cleanup process when icon:destroy() is called

v2.1.0

02 Feb 18:47
Compare
Choose a tag to compare

Added

  • icon:bindEvent(iconEventName, eventFunction)
  • icon:unbindEvent(iconEventName)

v2.0.0

31 Jan 18:34
Compare
Choose a tag to compare

Added

  • Menus (dropdowns but horizontal and with scrolling support!)
  • Dropdowns v2
  • Labels v2
  • Tips v2
  • Captions v2
  • Corners v2
  • Chainable methods
  • Automatic overflows when left-set or right-set icons exceed the boundary of the:
    • Viewport
    • Closest enabled opposite-aligned icon
    • Closest enabled center-aligned icon
  • The ability to set changes for specific toggle states (instead of automatically both), e.g. icon:setLabel("Off", "deselected") and icon:setLabel("On", "selected")
  • Rich Text support
  • Icon.mimic(coreIconToMimic) constructor to replace functions like IconController.createFakeChat
  • icon:Destroy() uppercase alias to assist developers who utilise PascalCase tools such as Maids
  • Referencing support for third parties, see Third Parties
  • icon:set(settingName, value)
  • icon:get(settingName, value)
  • icon:clearNotices()
  • icon:setMenu(arrayOfIcons)
  • icon:bindToggleItem(guiObjectOrLayerCollector)
  • icon:unbindToggleItem(guiObjectOrLayerCollector)
  • icon:bindToggleKey(keyCodeEnum)
  • icon:unbindToggleKey(keyCodeEnum)
  • icon:lock()
  • icon:unlock()
  • icon:setTopPadding(offset, scale)
  • icon:setCornerRadius(scale, offset, toggleState)
  • icon:setImageYScale(yScale, toggleState)
  • icon:setImageRatio(ratio, toggleState)
  • icon:setSize(XOffset, YOffset, toggleState)
  • icon:join(parentIcon, featureName)
  • icon:leave()
  • icon.notified event
  • icon.hoverStarted event
  • icon.hoverEnded event
  • icon.dropdownOpened event
  • icon.dropdownClosed event
  • icon.menuOpened event
  • icon.menuClosed event
  • IconController.setGap(offset, specificAlignment)
  • Many new properties

Improved

  • The internals and externals of themes to make then significantly easier to customise and apply
  • Console support
  • Mobile support (particularly for features like tips and captions)
  • The behaviour of features like tips and captions
  • Notices (now fully compatible with menus, dropdowns, etc)

Changed

  • Icon.new(name, imageId, order, label) to Icon.new() - this is to encourage users to utilise the equivalent methods instead which provide greater flexibility
  • Frustrating require() dependencies to static modules
  • Icon to be the parent module with others as descendants
  • All IconController functions now use . instead of the incorrect :
  • Icon orders to be determined now by their construction sequence (instead of randomly), with the option to modify this with icon:setOrder
  • icon:setLabel(text) to icon:setLabel(text, toggleState)
  • icon:setImage(imageId) to icon:setImage(imageId, toggleState)
  • icon:setOrder(orderNumber) to icon:setOrder(orderNumber, toggleState)
  • icon:setLeft() to icon:setLeft(toggleState)
  • icon:setMid() to icon:setMid(toggleState)
  • icon:setRight() to icon:setRight(toggleState)
  • icon:setBaseZIndex(zindex) to icon:setBaseZIndex(zindex, toggleState)
  • icon.objects to icon.instances
  • The names of almost all instances to be more obvious and accurate

Removed

  • FakeChat support - internal changes to the Roblox Core API now make it impossible to accurately mimic their core chat icon
  • icon:setToggleFunction(use selected/deselected events instead)
  • icon:setHoverFunction (use hoverStarted/Ended events instead)
  • icon:createDropdown (replaced with icon:setDropdown)
  • icon:removeDropdown
  • icon:setImageSize (replaced with icon:setImageRatio and icon:setImageYScale)
  • icon:setCellSize (replaced with icon:setSize)
  • icon:setToggleMenu (replaced with icon:bindToggleItem)
  • icon:clearNotifications (replaced with icon:clearNotices)
  • icon:applyThemeToObject
  • icon:applyThemeToAllObjects
  • icon.endNotifications event
  • IconController:getAllIcons (replaced with IconController.getIcons)
  • Some properties may have been removed too

Fixed

  • Console-mode rapid enabling and disabling bug
  • Recursive update topbar bug