Releases: 1ForeverHD/TopbarPlus
Releases · 1ForeverHD/TopbarPlus
v2.3.0
Added
icon:setProperty(propertName, value)
- this will enable properties to be set within chained methods
v2.2.1
Fixed
- An overlapping icon bug caused by yielding after requiring the Icon module
v2.2.0
Added
IconController.clearIconOnSpawn(icon)
Improved
- The cleanup process when
icon:destroy()
is called
v2.1.0
Added
icon:bindEvent(iconEventName, eventFunction)
icon:unbindEvent(iconEventName)
v2.0.0
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")
andicon:setLabel("On", "selected")
- Rich Text support
Icon.mimic(coreIconToMimic)
constructor to replace functions likeIconController.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
eventicon.hoverStarted
eventicon.hoverEnded
eventicon.dropdownOpened
eventicon.dropdownClosed
eventicon.menuOpened
eventicon.menuClosed
eventIconController.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)
toIcon.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)
toicon:setLabel(text, toggleState)
icon:setImage(imageId)
toicon:setImage(imageId, toggleState)
icon:setOrder(orderNumber)
toicon:setOrder(orderNumber, toggleState)
icon:setLeft()
toicon:setLeft(toggleState)
icon:setMid()
toicon:setMid(toggleState)
icon:setRight()
toicon:setRight(toggleState)
icon:setBaseZIndex(zindex)
toicon:setBaseZIndex(zindex, toggleState)
icon.objects
toicon.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 withicon:setDropdown
)icon:removeDropdown
icon:setImageSize
(replaced withicon:setImageRatio
andicon:setImageYScale
)icon:setCellSize
(replaced withicon:setSize
)icon:setToggleMenu
(replaced withicon:bindToggleItem
)icon:clearNotifications
(replaced withicon:clearNotices
)icon:applyThemeToObject
icon:applyThemeToAllObjects
icon.endNotifications
eventIconController:getAllIcons
(replaced withIconController.getIcons
)- Some properties may have been removed too
Fixed
- Console-mode rapid enabling and disabling bug
- Recursive update topbar bug