0.3.0
Loading...
Searching...
No Matches
imgui_ex.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ImGui
 

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]'.
 

Function Documentation

◆ 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

Definition at line 375 of file imgui_ex.cpp.

◆ 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

Definition at line 370 of file imgui_ex.cpp.