0.2.0
Loading...
Searching...
No Matches
imgui_ex.hpp File Reference

ImGui extensions. More...

Go to the source code of this file.

Functions

bool ImGui::DragDouble (const char *label, double *v, float v_speed=1.0F, double v_min=0.0, double v_max=0.0, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for 'double'.
 
bool ImGui::DragDouble2 (const char *label, double v[2], float v_speed=1.0F, double v_min=0.0, double v_max=0.0, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'double[2]'.
 
bool ImGui::DragDouble3 (const char *label, double v[3], float v_speed=1.0F, double v_min=0.0, double v_max=0.0, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'double[3]'.
 
bool ImGui::DragDouble4 (const char *label, double v[4], float v_speed=1.0F, double v_min=0.0, double v_max=0.0, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'double[4]'.
 
bool ImGui::DragLong (const char *label, int64_t *v, float v_speed=1.0F, int64_t v_min=0.0, int64_t v_max=0.0, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for 'int64'.
 
bool ImGui::DragLong2 (const char *label, int64_t v[2], float v_speed=1.0F, int64_t v_min=0.0, int64_t v_max=0.0, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'int64[2]'.
 
bool ImGui::DragLong3 (const char *label, int64_t v[3], float v_speed=1.0F, int64_t v_min=0.0, int64_t v_max=0.0, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'int64[3]'.
 
bool ImGui::DragLong4 (const char *label, int64_t v[4], float v_speed=1.0F, int64_t v_min=0.0, int64_t v_max=0.0, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'int64[4]'.
 
bool ImGui::DragULong (const char *label, uint64_t *v, float v_speed=1.0F, uint64_t v_min=0.0, uint64_t v_max=0.0, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for 'uint64'.
 
bool ImGui::DragULong2 (const char *label, uint64_t v[2], float v_speed=1.0F, uint64_t v_min=0.0, uint64_t v_max=0.0, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'uint64[2]'.
 
bool ImGui::DragULong3 (const char *label, uint64_t v[3], float v_speed=1.0F, uint64_t v_min=0.0, uint64_t v_max=0.0, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'uint64[3]'.
 
bool ImGui::DragULong4 (const char *label, uint64_t v[4], float v_speed=1.0F, uint64_t v_min=0.0, uint64_t v_max=0.0, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Drag GUI element for an array of 'uint64[4]'.
 
bool ImGui::InputDouble2 (const char *label, double v[2], const char *format="%.6f", ImGuiInputTextFlags flags=0)
 Shows an InputText GUI element for an array of 'double[2]'.
 
bool ImGui::InputDouble2L (const char *label, double v[2], double v_min=std::numeric_limits< double >::lowest(), double v_max=std::numeric_limits< double >::max(), const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'double[2]'.
 
bool ImGui::InputDouble3 (const char *label, double v[3], const char *format="%.6f", ImGuiInputTextFlags flags=0)
 Shows an InputText GUI element for an array of 'double[3]'.
 
bool ImGui::InputDouble3L (const char *label, double v[3], double v_min=std::numeric_limits< double >::lowest(), double v_max=std::numeric_limits< double >::max(), const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'double[3]'.
 
bool ImGui::InputDouble4 (const char *label, double v[4], const char *format="%.6f", ImGuiInputTextFlags flags=0)
 Shows an InputText GUI element for an array of 'double[4]'.
 
bool ImGui::InputDouble4L (const char *label, double v[4], double v_min=std::numeric_limits< double >::lowest(), double v_max=std::numeric_limits< double >::max(), const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'double[4]'.
 
bool ImGui::InputDoubleL (const char *label, double *v, double v_min=std::numeric_limits< double >::lowest(), double v_max=std::numeric_limits< double >::max(), double step=0.0, double step_fast=0.0, const char *format="%.6f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for 'double'.
 
bool ImGui::InputFloat2L (const char *label, float v[2], float v_min=std::numeric_limits< float >::lowest(), float v_max=std::numeric_limits< float >::max(), const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'float[2]'.
 
bool ImGui::InputFloat3L (const char *label, float v[3], float v_min=std::numeric_limits< float >::lowest(), float v_max=std::numeric_limits< float >::max(), const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'float[3]'.
 
bool ImGui::InputFloat4L (const char *label, float v[4], float v_min=std::numeric_limits< float >::lowest(), float v_max=std::numeric_limits< float >::max(), const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'float[4]'.
 
bool ImGui::InputFloatL (const char *label, float *v, float v_min=std::numeric_limits< float >::lowest(), float v_max=std::numeric_limits< float >::max(), float step=0.0F, float step_fast=0.0F, const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for 'float'.
 
bool ImGui::InputInt2L (const char *label, int v[2], int v_min=std::numeric_limits< int >::lowest(), int v_max=std::numeric_limits< int >::max(), ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'int[2]'.
 
bool ImGui::InputInt3L (const char *label, int v[3], int v_min=std::numeric_limits< int >::lowest(), int v_max=std::numeric_limits< int >::max(), ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'int[3]'.
 
bool ImGui::InputInt4L (const char *label, int v[4], int v_min=std::numeric_limits< int >::lowest(), int v_max=std::numeric_limits< int >::max(), ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for an array of 'int[4]'.
 
bool ImGui::InputIntL (const char *label, int *v, int v_min=std::numeric_limits< int >::lowest(), int v_max=std::numeric_limits< int >::max(), int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
 Shows a value limited InputText GUI element for 'int'.
 
bool ImGui::InputTextL (const char *label, std::string *str, size_t limit, ImGuiInputTextFlags flags=0)
 Shows a InputText GUI element with limited amount of characters.
 
bool operator!= (const ImVec4 &lhs, const ImVec4 &rhs)
 Unequal comparison operator.
 
bool operator== (const ImVec4 &lhs, const ImVec4 &rhs)
 Equal comparison operator.
 
bool ImGui::SliderDouble (const char *label, double *v, double v_min, double v_max, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for 'double'.
 
bool ImGui::SliderDouble2 (const char *label, double v[2], double v_min, double v_max, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'double[2]'.
 
bool ImGui::SliderDouble3 (const char *label, double v[3], double v_min, double v_max, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'double[3]'.
 
bool ImGui::SliderDouble4 (const char *label, double v[4], double v_min, double v_max, const char *format="%.6f", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'double[4]'.
 
bool ImGui::SliderLong (const char *label, int64_t *v, int64_t v_min, int64_t v_max, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for 'int64'.
 
bool ImGui::SliderLong2 (const char *label, int64_t v[2], int64_t v_min, int64_t v_max, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'int64[2]'.
 
bool ImGui::SliderLong3 (const char *label, int64_t v[3], int64_t v_min, int64_t v_max, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'int64[3]'.
 
bool ImGui::SliderLong4 (const char *label, int64_t v[4], int64_t v_min, int64_t v_max, const char *format="%ld", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'int64[4]'.
 
bool ImGui::SliderUInt (const char *label, uint32_t *v, uint32_t v_min, uint32_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for 'uint32'.
 
bool ImGui::SliderUInt2 (const char *label, uint32_t v[2], uint32_t v_min, uint32_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'uint32[2]'.
 
bool ImGui::SliderUInt3 (const char *label, uint32_t v[3], uint32_t v_min, uint32_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'uint32[3]'.
 
bool ImGui::SliderUInt4 (const char *label, uint32_t v[4], uint32_t v_min, uint32_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'uint32[4]'.
 
bool ImGui::SliderULong (const char *label, uint64_t *v, uint64_t v_min, uint64_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for 'uint64'.
 
bool ImGui::SliderULong2 (const char *label, uint64_t v[2], uint64_t v_min, uint64_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'uint64[2]'.
 
bool ImGui::SliderULong3 (const char *label, uint64_t v[3], uint64_t v_min, uint64_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'uint64[3]'.
 
bool ImGui::SliderULong4 (const char *label, uint64_t v[4], uint64_t v_min, uint64_t v_max, const char *format="%lu", ImGuiSliderFlags flags=0)
 Shows a Slider GUI element for an array of 'uint64[4]'.
 

Detailed Description

ImGui extensions.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2021-09-14

Function Documentation

◆ DragDouble()

bool ImGui::DragDouble ( const char * label,
double * v,
float v_speed = 1.0F,
double v_min = 0.0,
double v_max = 0.0,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for 'double'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragDouble2()

bool ImGui::DragDouble2 ( const char * label,
double v[2],
float v_speed = 1.0F,
double v_min = 0.0,
double v_max = 0.0,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'double[2]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragDouble3()

bool ImGui::DragDouble3 ( const char * label,
double v[3],
float v_speed = 1.0F,
double v_min = 0.0,
double v_max = 0.0,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'double[3]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragDouble4()

bool ImGui::DragDouble4 ( const char * label,
double v[4],
float v_speed = 1.0F,
double v_min = 0.0,
double v_max = 0.0,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'double[4]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragLong()

bool ImGui::DragLong ( const char * label,
int64_t * v,
float v_speed = 1.0F,
int64_t v_min = 0.0,
int64_t v_max = 0.0,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for 'int64'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragLong2()

bool ImGui::DragLong2 ( const char * label,
int64_t v[2],
float v_speed = 1.0F,
int64_t v_min = 0.0,
int64_t v_max = 0.0,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'int64[2]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragLong3()

bool ImGui::DragLong3 ( const char * label,
int64_t v[3],
float v_speed = 1.0F,
int64_t v_min = 0.0,
int64_t v_max = 0.0,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'int64[3]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragLong4()

bool ImGui::DragLong4 ( const char * label,
int64_t v[4],
float v_speed = 1.0F,
int64_t v_min = 0.0,
int64_t v_max = 0.0,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'int64[4]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragULong()

bool ImGui::DragULong ( const char * label,
uint64_t * v,
float v_speed = 1.0F,
uint64_t v_min = 0.0,
uint64_t v_max = 0.0,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for 'uint64'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragULong2()

bool ImGui::DragULong2 ( const char * label,
uint64_t v[2],
float v_speed = 1.0F,
uint64_t v_min = 0.0,
uint64_t v_max = 0.0,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'uint64[2]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragULong3()

bool ImGui::DragULong3 ( const char * label,
uint64_t v[3],
float v_speed = 1.0F,
uint64_t v_min = 0.0,
uint64_t v_max = 0.0,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'uint64[3]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ DragULong4()

bool ImGui::DragULong4 ( const char * label,
uint64_t v[4],
float v_speed = 1.0F,
uint64_t v_min = 0.0,
uint64_t v_max = 0.0,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Drag GUI element for an array of 'uint64[4]'.

Parameters
[in]labelLabel to display beside the drag. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_speedSpeed to drag the value
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ InputDouble2()

bool ImGui::InputDouble2 ( const char * label,
double v[2],
const char * format = "%.6f",
ImGuiInputTextFlags flags = 0 )

Shows an InputText GUI element for an array of 'double[2]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputDouble2L()

bool ImGui::InputDouble2L ( const char * label,
double v[2],
double v_min = std::numeric_limits< double >::lowest(),
double v_max = std::numeric_limits< double >::max(),
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'double[2]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputDouble3()

bool ImGui::InputDouble3 ( const char * label,
double v[3],
const char * format = "%.6f",
ImGuiInputTextFlags flags = 0 )

Shows an InputText GUI element for an array of 'double[3]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputDouble3L()

bool ImGui::InputDouble3L ( const char * label,
double v[3],
double v_min = std::numeric_limits< double >::lowest(),
double v_max = std::numeric_limits< double >::max(),
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'double[3]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputDouble4()

bool ImGui::InputDouble4 ( const char * label,
double v[4],
const char * format = "%.6f",
ImGuiInputTextFlags flags = 0 )

Shows an InputText GUI element for an array of 'double[4]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputDouble4L()

bool ImGui::InputDouble4L ( const char * label,
double v[4],
double v_min = std::numeric_limits< double >::lowest(),
double v_max = std::numeric_limits< double >::max(),
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'double[4]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputDoubleL()

bool ImGui::InputDoubleL ( const char * label,
double * v,
double v_min = std::numeric_limits< double >::lowest(),
double v_max = std::numeric_limits< double >::max(),
double step = 0.0,
double step_fast = 0.0,
const char * format = "%.6f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for 'double'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]stepIf greater than 0, this will show buttons to increase/decrease the value
[in]step_fastIf greater than 0, this will show buttons to increase/decrease the value
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputFloat2L()

bool ImGui::InputFloat2L ( const char * label,
float v[2],
float v_min = std::numeric_limits< float >::lowest(),
float v_max = std::numeric_limits< float >::max(),
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'float[2]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputFloat3L()

bool ImGui::InputFloat3L ( const char * label,
float v[3],
float v_min = std::numeric_limits< float >::lowest(),
float v_max = std::numeric_limits< float >::max(),
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'float[3]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputFloat4L()

bool ImGui::InputFloat4L ( const char * label,
float v[4],
float v_min = std::numeric_limits< float >::lowest(),
float v_max = std::numeric_limits< float >::max(),
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'float[4]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputFloatL()

bool ImGui::InputFloatL ( const char * label,
float * v,
float v_min = std::numeric_limits< float >::lowest(),
float v_max = std::numeric_limits< float >::max(),
float step = 0.0F,
float step_fast = 0.0F,
const char * format = "%.3f",
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for 'float'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]stepIf greater than 0, this will show buttons to increase/decrease the value
[in]step_fastIf greater than 0, this will show buttons to increase/decrease the value
[in]formatPrintf format to display the value with
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputInt2L()

bool ImGui::InputInt2L ( const char * label,
int v[2],
int v_min = std::numeric_limits< int >::lowest(),
int v_max = std::numeric_limits< int >::max(),
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'int[2]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputInt3L()

bool ImGui::InputInt3L ( const char * label,
int v[3],
int v_min = std::numeric_limits< int >::lowest(),
int v_max = std::numeric_limits< int >::max(),
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'int[3]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputInt4L()

bool ImGui::InputInt4L ( const char * label,
int v[4],
int v_min = std::numeric_limits< int >::lowest(),
int v_max = std::numeric_limits< int >::max(),
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for an array of 'int[4]'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputIntL()

bool ImGui::InputIntL ( const char * label,
int * v,
int v_min = std::numeric_limits< int >::lowest(),
int v_max = std::numeric_limits< int >::max(),
int step = 1,
int step_fast = 100,
ImGuiInputTextFlags flags = 0 )

Shows a value limited InputText GUI element for 'int'.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum to clamp the value to
[in]v_maxMaximum to clamp the value to
[in]stepIf greater than 0, this will show buttons to increase/decrease the value
[in]step_fastIf greater than 0, this will show buttons to increase/decrease the value
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ InputTextL()

bool ImGui::InputTextL ( const char * label,
std::string * str,
size_t limit,
ImGuiInputTextFlags flags = 0 )

Shows a InputText GUI element with limited amount of characters.

Parameters
[in]labelLabel to display beside the input. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]strString to modify
[in]limitAmount of characters to limit
[in]flagsInputText flags to modify the behavior
Returns
True if the value was changed

◆ operator!=()

bool operator!= ( const ImVec4 & lhs,
const ImVec4 & rhs )

Unequal comparison operator.

Parameters
[in]lhsLeft-hand side
[in]rhsRight-hand-side
Returns
True if the elements are unequal

◆ operator==()

bool operator== ( const ImVec4 & lhs,
const ImVec4 & rhs )

Equal comparison operator.

Parameters
[in]lhsLeft-hand side
[in]rhsRight-hand-side
Returns
True if the elements are equal

◆ SliderDouble()

bool ImGui::SliderDouble ( const char * label,
double * v,
double v_min,
double v_max,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for 'double'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderDouble2()

bool ImGui::SliderDouble2 ( const char * label,
double v[2],
double v_min,
double v_max,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'double[2]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderDouble3()

bool ImGui::SliderDouble3 ( const char * label,
double v[3],
double v_min,
double v_max,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'double[3]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderDouble4()

bool ImGui::SliderDouble4 ( const char * label,
double v[4],
double v_min,
double v_max,
const char * format = "%.6f",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'double[4]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderLong()

bool ImGui::SliderLong ( const char * label,
int64_t * v,
int64_t v_min,
int64_t v_max,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for 'int64'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderLong2()

bool ImGui::SliderLong2 ( const char * label,
int64_t v[2],
int64_t v_min,
int64_t v_max,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'int64[2]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderLong3()

bool ImGui::SliderLong3 ( const char * label,
int64_t v[3],
int64_t v_min,
int64_t v_max,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'int64[3]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderLong4()

bool ImGui::SliderLong4 ( const char * label,
int64_t v[4],
int64_t v_min,
int64_t v_max,
const char * format = "%ld",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'int64[4]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderUInt()

bool ImGui::SliderUInt ( const char * label,
uint32_t * v,
uint32_t v_min,
uint32_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for 'uint32'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderUInt2()

bool ImGui::SliderUInt2 ( const char * label,
uint32_t v[2],
uint32_t v_min,
uint32_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'uint32[2]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderUInt3()

bool ImGui::SliderUInt3 ( const char * label,
uint32_t v[3],
uint32_t v_min,
uint32_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'uint32[3]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderUInt4()

bool ImGui::SliderUInt4 ( const char * label,
uint32_t v[4],
uint32_t v_min,
uint32_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'uint32[4]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderULong()

bool ImGui::SliderULong ( const char * label,
uint64_t * v,
uint64_t v_min,
uint64_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for 'uint64'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderULong2()

bool ImGui::SliderULong2 ( const char * label,
uint64_t v[2],
uint64_t v_min,
uint64_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'uint64[2]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderULong3()

bool ImGui::SliderULong3 ( const char * label,
uint64_t v[3],
uint64_t v_min,
uint64_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'uint64[3]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed

◆ SliderULong4()

bool ImGui::SliderULong4 ( const char * label,
uint64_t v[4],
uint64_t v_min,
uint64_t v_max,
const char * format = "%lu",
ImGuiSliderFlags flags = 0 )

Shows a Slider GUI element for an array of 'uint64[4]'.

Parameters
[in]labelLabel to display beside the slider. Has to be unique (use # to hide text afterwards to append an uid)
[in,out]vPointer to the value to modify
[in]v_minMinimum value allowed
[in]v_maxMaximum value allowed
[in]formatPrintf format to display the value with
[in]flagsSlider flags to modify the behavior
Returns
True if the value was changed