ImGui.Core:sliderInt

From GiderosMobile
Revision as of 06:26, 29 March 2021 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2020.9<br/> '''Class:''' ImGui<br/> === Description === Displays a regular int slider. <source lang="lua"> (number), (bool) = I...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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