0.3.0
Loading...
Searching...
No Matches
ImGui Namespace Reference

Functions

bool 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 InputTextL (const char *label, std::string *str, size_t limit, ImGuiInputTextFlags flags=0)
 Shows a InputText GUI element with limited amount of characters.
 
bool 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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]'.
 
void TextAnsiColored (const ImVec4 &col, const char *fmt,...)
 Displays an ansi text with format string.
 
void TextAnsiColoredV (const ImVec4 &col, const char *fmt, va_list args)
 Displays an ansi text with format string.
 
void TextAnsiUnformatted (const char *text, const char *text_end=nullptr)
 Displays an unformatted ansi text.
 
void TextAnsiV (const char *fmt, va_list args)
 Displays an ansi text with format string.
 

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

Definition at line 19 of file imgui_ex.cpp.

◆ 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

Definition at line 24 of file imgui_ex.cpp.

◆ 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

Definition at line 29 of file imgui_ex.cpp.

◆ 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

Definition at line 34 of file imgui_ex.cpp.

◆ 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

Definition at line 41 of file imgui_ex.cpp.

◆ 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

Definition at line 46 of file imgui_ex.cpp.

◆ 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

Definition at line 51 of file imgui_ex.cpp.

◆ 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

Definition at line 56 of file imgui_ex.cpp.

◆ 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

Definition at line 63 of file imgui_ex.cpp.

◆ 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

Definition at line 68 of file imgui_ex.cpp.

◆ 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

Definition at line 73 of file imgui_ex.cpp.

◆ 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

Definition at line 78 of file imgui_ex.cpp.

◆ 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

Definition at line 173 of file imgui_ex.cpp.

◆ 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

Definition at line 304 of file imgui_ex.cpp.

◆ 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

Definition at line 178 of file imgui_ex.cpp.

◆ 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

Definition at line 318 of file imgui_ex.cpp.

◆ 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

Definition at line 183 of file imgui_ex.cpp.

◆ 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

Definition at line 332 of file imgui_ex.cpp.

◆ 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

Definition at line 294 of file imgui_ex.cpp.

◆ 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

Definition at line 200 of file imgui_ex.cpp.

◆ 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

Definition at line 214 of file imgui_ex.cpp.

◆ 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

Definition at line 228 of file imgui_ex.cpp.

◆ 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

Definition at line 190 of file imgui_ex.cpp.

◆ 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

Definition at line 252 of file imgui_ex.cpp.

◆ 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

Definition at line 266 of file imgui_ex.cpp.

◆ 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

Definition at line 280 of file imgui_ex.cpp.

◆ 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

Definition at line 242 of file imgui_ex.cpp.

◆ 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

Definition at line 346 of file imgui_ex.cpp.

◆ 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

Definition at line 85 of file imgui_ex.cpp.

◆ 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

Definition at line 90 of file imgui_ex.cpp.

◆ 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

Definition at line 95 of file imgui_ex.cpp.

◆ 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

Definition at line 100 of file imgui_ex.cpp.

◆ 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

Definition at line 107 of file imgui_ex.cpp.

◆ 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

Definition at line 112 of file imgui_ex.cpp.

◆ 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

Definition at line 117 of file imgui_ex.cpp.

◆ 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

Definition at line 122 of file imgui_ex.cpp.

◆ 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

Definition at line 151 of file imgui_ex.cpp.

◆ 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

Definition at line 156 of file imgui_ex.cpp.

◆ 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

Definition at line 161 of file imgui_ex.cpp.

◆ 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

Definition at line 166 of file imgui_ex.cpp.

◆ 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

Definition at line 129 of file imgui_ex.cpp.

◆ 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

Definition at line 134 of file imgui_ex.cpp.

◆ 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

Definition at line 139 of file imgui_ex.cpp.

◆ 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

Definition at line 144 of file imgui_ex.cpp.

◆ TextAnsiColored()

void ImGui::TextAnsiColored ( const ImVec4 & col,
const char * fmt,
... )

Displays an ansi text with format string.

Parameters
[in]colColor to display text in
[in]fmtFormat string
[in]...Further arguments

Definition at line 680 of file TextAnsiColored.cpp.

◆ TextAnsiColoredV()

void ImGui::TextAnsiColoredV ( const ImVec4 & col,
const char * fmt,
va_list args )

Displays an ansi text with format string.

Parameters
[in]colColor to display text in
[in]fmtFormat string
[in]argsFormat arguments

Definition at line 673 of file TextAnsiColored.cpp.

◆ TextAnsiUnformatted()

void ImGui::TextAnsiUnformatted ( const char * text,
const char * text_end = nullptr )

Displays an unformatted ansi text.

Parameters
[in]textC-style string pointer
[in]text_endPointer to the end of the text or nullptr

Definition at line 529 of file TextAnsiColored.cpp.

◆ TextAnsiV()

void ImGui::TextAnsiV ( const char * fmt,
va_list args )

Displays an ansi text with format string.

Parameters
[in]fmtFormat string
[in]argsFormat arguments

Definition at line 653 of file TextAnsiColored.cpp.