Difference between revisions of "ImGui.Core:inputInt3"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2020.9<br/> '''Class:''' ImGui<br/> === Description === Sets three input int fields side by side (no plus/minus buttons). <source...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets three input int fields side by side (no plus/minus buttons).
 
Sets three input int fields side by side (no plus/minus buttons).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number), (number), (bool) =
 
(number), (number), (number), (bool) =
 
   ImGui:inputInt3(label, value1, value2, value3, [ImGuiInputTextFlags=0])
 
   ImGui:inputInt3(label, value1, value2, value3, [ImGuiInputTextFlags=0])
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
Line 24: Line 24:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
</source>
+
</syntaxhighlight>
  
 
{{ImGui}}
 
{{ImGui}}

Latest revision as of 15:29, 13 July 2023

Available since: Gideros 2020.9
Class: ImGui

Description

Sets three input int fields side by side (no plus/minus buttons).

(number), (number), (number), (bool) =
  ImGui:inputInt3(label, value1, value2, value3, [ImGuiInputTextFlags=0])

Parameters

label: (string) the label
value1: (number) the first value to be displayed
value2: (number) the second value to be displayed
value3: (number) the third value to be displayed
ImGuiInputTextFlags : (number) the input text flag

Return values

Returns (number) the current first value
Returns (number) the current second value
Returns (number) the current third value
Returns (bool) whether a current value has changed

Example