slide_bar() function allows to display sliding bars, with the value of the bar state.
params of slide_bar()
x: x pos of slide bar
y: y pos of slide bar
range: range of slide bar
selected_color: enable or disable the selected color
front_color: color of the cursor and the selected before
back_color: color of the slide_bar
cursor: default value of cursor
▶ and ◀ allow to make movements.
By Ilyas R.