ImGui.Core:sliderInt

From GiderosMobile

Available since: Gideros 2020.9
Class: ImGui

Description

Displays a regular int slider.

(number), (bool) =
  ImGui:sliderInt(label,value,[min=0,max=0,formatString= "%d",ImGuiSliderFlags=0])

Parameters

label: (string) the label
value: (number) the current value
min: (number) the min value
max: (number) the max value
formatString: (string) the format of the value
ImGuiSliderFlags: (number) the drag slider flag

Return values

Returns (number) the current value
Returns (bool) whether the current value has changed

Example