DX library that allows you to easily create slidebar.
This is a simple library for create slidebars which allows easy creation of some resources
You need download the file slidebar.lua
and put it in your project, but don't forget to load it in the meta.xml
Create a new slidebar
slidebar = createSlideBar(x, y, width, height, radiusBorder, minValue, maxValue, circleScale, postGUI)
Destroy the slidebar
slidebar:destroy()
Change a property of slide bar
slidebar:setProperty(property, value)
Set a new offset
slidebar:setScrollOffset(value)
Get the scroll input
slidebar:onScroll()
Get the output the scroll input
slidebar:onScrollEnd()