48 #ifdef IMGUI_USER_CONFIG
49 #include IMGUI_USER_CONFIG
51 #if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H)
69 #define IMGUI_VERSION "1.85"
70 #define IMGUI_VERSION_NUM 18500
71 #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
72 #define IMGUI_HAS_TABLE
80 #ifndef IMGUI_IMPL_API
81 #define IMGUI_IMPL_API IMGUI_API
87 #define IM_ASSERT(_EXPR) assert(_EXPR) // You can override the default assert handler by editing imconfig.h
89 #define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR)))) // Size of a static C-style array. Don't use on pointers!
90 #define IM_UNUSED(_VAR) ((void)(_VAR)) // Used to silence "unused variable warnings". Often useful as asserts may be stripped out from final builds.
91 #if (__cplusplus >= 201100) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201100)
92 #define IM_OFFSETOF(_TYPE,_MEMBER) offsetof(_TYPE, _MEMBER) // Offset of _MEMBER within _TYPE. Standardized as offsetof() in C++11
94 #define IM_OFFSETOF(_TYPE,_MEMBER) ((size_t)&(((_TYPE*)0)->_MEMBER)) // Offset of _MEMBER within _TYPE. Old style macro.
98 #if !defined(IMGUI_USE_STB_SPRINTF) && defined(__MINGW32__) && !defined(__clang__)
99 #define IM_FMTARGS(FMT) __attribute__((format(gnu_printf, FMT, FMT+1)))
100 #define IM_FMTLIST(FMT) __attribute__((format(gnu_printf, FMT, 0)))
101 #elif !defined(IMGUI_USE_STB_SPRINTF) && (defined(__clang__) || defined(__GNUC__))
102 #define IM_FMTARGS(FMT) __attribute__((format(printf, FMT, FMT+1)))
103 #define IM_FMTLIST(FMT) __attribute__((format(printf, FMT, 0)))
105 #define IM_FMTARGS(FMT)
106 #define IM_FMTLIST(FMT)
110 #if defined(_MSC_VER) && !defined(__clang__) && !defined(IMGUI_DEBUG_PARANOID)
111 #define IM_MSVC_RUNTIME_CHECKS_OFF __pragma(runtime_checks("",off)) __pragma(check_stack(off)) __pragma(strict_gs_check(push,off))
112 #define IM_MSVC_RUNTIME_CHECKS_RESTORE __pragma(runtime_checks("",restore)) __pragma(check_stack()) __pragma(strict_gs_check(pop))
114 #define IM_MSVC_RUNTIME_CHECKS_OFF
115 #define IM_MSVC_RUNTIME_CHECKS_RESTORE
120 #pragma warning (push)
121 #pragma warning (disable: 26495) // [Static Analyzer] Variable 'XXX' is uninitialized. Always initialize a member variable (type.6).
123 #if defined(__clang__)
124 #pragma clang diagnostic push
125 #pragma clang diagnostic ignored "-Wold-style-cast"
126 #if __has_warning("-Wzero-as-null-pointer-constant")
127 #pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
129 #elif defined(__GNUC__)
130 #pragma GCC diagnostic push
131 #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
132 #pragma GCC diagnostic ignored "-Wclass-memaccess" // [__GNUC__ >= 8] warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead
231 #if defined(_MSC_VER) && !defined(__clang__)
232 typedef signed __int64
ImS64;
233 typedef unsigned __int64
ImU64;
234 #elif (defined(__clang__) || defined(__GNUC__)) && (__cplusplus < 201100)
236 typedef int64_t
ImS64;
237 typedef uint64_t
ImU64;
247 #ifdef IMGUI_USE_WCHAR32 // ImWchar [configurable type: override in imconfig.h with '#define IMGUI_USE_WCHAR32' to support Unicode planes 1-16]
256 typedef void* (*ImGuiMemAllocFunc)(
size_t sz,
void* user_data);
269 #ifdef IM_VEC2_CLASS_EXTRA
279 ImVec4(
float _x,
float _y,
float _z,
float _w) {
x = _x;
y = _y;
z = _z;
w = _w; }
280 #ifdef IM_VEC4_CLASS_EXTRA
479 IMGUI_API void PushID(
const char* str_id_begin,
const char* str_id_end);
509 IMGUI_API void Image(
ImTextureID user_texture_id,
const ImVec2& size,
const ImVec2& uv0 =
ImVec2(0, 0),
const ImVec2& uv1 =
ImVec2(1,1),
const ImVec4& tint_col =
ImVec4(1,1,1,1),
const ImVec4& border_col =
ImVec4(0,0,0,0));
510 IMGUI_API bool ImageButton(
ImTextureID user_texture_id,
const ImVec2& size,
const ImVec2& uv0 =
ImVec2(0, 0),
const ImVec2& uv1 =
ImVec2(1,1),
int frame_padding = -1,
const ImVec4& bg_col =
ImVec4(0,0,0,0),
const ImVec4& tint_col =
ImVec4(1,1,1,1));
524 IMGUI_API bool Combo(
const char* label,
int* current_item,
const char*
const items[],
int items_count,
int popup_max_height_in_items = -1);
525 IMGUI_API bool Combo(
const char* label,
int* current_item,
const char* items_separated_by_zeros,
int popup_max_height_in_items = -1);
526 IMGUI_API bool Combo(
const char* label,
int* current_item,
bool(*items_getter)(
void*
data,
int idx,
const char** out_text),
void* data,
int items_count,
int popup_max_height_in_items = -1);
539 IMGUI_API bool DragFloat(
const char* label,
float* v,
float v_speed = 1.0f,
float v_min = 0.0f,
float v_max = 0.0f,
const char* format =
"%.3f",
ImGuiSliderFlags flags = 0);
540 IMGUI_API bool DragFloat2(
const char* label,
float v[2],
float v_speed = 1.0f,
float v_min = 0.0f,
float v_max = 0.0f,
const char* format =
"%.3f",
ImGuiSliderFlags flags = 0);
541 IMGUI_API bool DragFloat3(
const char* label,
float v[3],
float v_speed = 1.0f,
float v_min = 0.0f,
float v_max = 0.0f,
const char* format =
"%.3f",
ImGuiSliderFlags flags = 0);
542 IMGUI_API bool DragFloat4(
const char* label,
float v[4],
float v_speed = 1.0f,
float v_min = 0.0f,
float v_max = 0.0f,
const char* format =
"%.3f",
ImGuiSliderFlags flags = 0);
543 IMGUI_API bool DragFloatRange2(
const char* label,
float* v_current_min,
float* v_current_max,
float v_speed = 1.0f,
float v_min = 0.0f,
float v_max = 0.0f,
const char* format =
"%.3f",
const char* format_max = NULL,
ImGuiSliderFlags flags = 0);
544 IMGUI_API bool DragInt(
const char* label,
int* v,
float v_speed = 1.0f,
int v_min = 0,
int v_max = 0,
const char* format =
"%d",
ImGuiSliderFlags flags = 0);
548 IMGUI_API bool DragIntRange2(
const char* label,
int* v_current_min,
int* v_current_max,
float v_speed = 1.0f,
int v_min = 0,
int v_max = 0,
const char* format =
"%d",
const char* format_max = NULL,
ImGuiSliderFlags flags = 0);
562 IMGUI_API bool SliderAngle(
const char* label,
float* v_rad,
float v_degrees_min = -360.0f,
float v_degrees_max = +360.0f,
const char* format =
"%.0f deg",
ImGuiSliderFlags flags = 0);
635 IMGUI_API bool ListBox(
const char* label,
int* current_item,
const char*
const items[],
int items_count,
int height_in_items = -1);
636 IMGUI_API bool ListBox(
const char* label,
int* current_item,
bool (*items_getter)(
void* data,
int idx,
const char** out_text),
void* data,
int items_count,
int height_in_items = -1);
640 IMGUI_API void PlotLines(
const char* label,
const float* values,
int values_count,
int values_offset = 0,
const char* overlay_text = NULL,
float scale_min = FLT_MAX,
float scale_max = FLT_MAX,
ImVec2 graph_size =
ImVec2(0, 0),
int stride =
sizeof(
float));
641 IMGUI_API void PlotLines(
const char* label,
float(*values_getter)(
void* data,
int idx),
void* data,
int values_count,
int values_offset = 0,
const char* overlay_text = NULL,
float scale_min = FLT_MAX,
float scale_max = FLT_MAX,
ImVec2 graph_size =
ImVec2(0, 0));
642 IMGUI_API void PlotHistogram(
const char* label,
const float* values,
int values_count,
int values_offset = 0,
const char* overlay_text = NULL,
float scale_min = FLT_MAX,
float scale_max = FLT_MAX,
ImVec2 graph_size =
ImVec2(0, 0),
int stride =
sizeof(
float));
643 IMGUI_API void PlotHistogram(
const char* label,
float(*values_getter)(
void* data,
int idx),
void* data,
int values_count,
int values_offset = 0,
const char* overlay_text = NULL,
float scale_min = FLT_MAX,
float scale_max = FLT_MAX,
ImVec2 graph_size =
ImVec2(0, 0));
650 IMGUI_API void Value(
const char* prefix,
float v,
const char* float_format = NULL);
663 IMGUI_API bool MenuItem(
const char* label,
const char* shortcut = NULL,
bool selected =
false,
bool enabled =
true);
664 IMGUI_API bool MenuItem(
const char* label,
const char* shortcut,
bool* p_selected,
bool enabled =
true);
780 IMGUI_API void Columns(
int count = 1,
const char*
id = NULL,
bool border =
true);
875 IMGUI_API void CalcListClipping(
int items_count,
float items_height,
int* out_items_display_start,
int* out_items_display_end);
880 IMGUI_API ImVec2 CalcTextSize(
const char* text,
const char* text_end = NULL,
bool hide_text_after_double_hash =
false,
float wrap_width = -1.0f);
1017 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1195 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1238 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1318 #define IMGUI_PAYLOAD_TYPE_COLOR_3F "_COL3F" // float[3]: Standard type for colors, without alpha. User code may use this type.
1319 #define IMGUI_PAYLOAD_TYPE_COLOR_4F "_COL4F" // float[4]: Standard type for colors. User code may use this type.
1605 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1622 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1679 #define IM_ALLOC(_SIZE) ImGui::MemAlloc(_SIZE)
1680 #define IM_FREE(_PTR) ImGui::MemFree(_PTR)
1681 #define IM_PLACEMENT_NEW(_PTR) new(ImNewWrapper(), _PTR)
1682 #define IM_NEW(_TYPE) new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1697 template<
typename T>
1747 inline T*
erase(
const T* it) {
IM_ASSERT(it >=
Data && it <
Data +
Size);
const ptrdiff_t off = it -
Data; memmove(Data + off, Data + off + 1, ((
size_t)
Size - (
size_t)off - 1) *
sizeof(T));
Size--;
return Data + off; }
1748 inline T*
erase(
const T* it,
const T* it_last){
IM_ASSERT(it >=
Data && it < Data + Size && it_last > it && it_last <=
Data +
Size);
const ptrdiff_t count = it_last - it;
const ptrdiff_t off = it -
Data; memmove(Data + off, Data + off + count, ((
size_t)
Size - (
size_t)off - count) *
sizeof(T));
Size -= (
int)count;
return Data + off; }
1751 inline bool contains(
const T& v)
const {
const T*
data =
Data;
const T* data_end =
Data +
Size;
while (data < data_end)
if (*data++ == v)
return true;
return false; }
1753 inline const T*
find(
const T& v)
const {
const T*
data =
Data;
const T* data_end =
Data +
Size;
while (data < data_end)
if (*data == v)
break;
else ++
data;
return data; }
1873 const char* (*GetClipboardTextFn)(
void* user_data);
2063 #define IM_UNICODE_CODEPOINT_INVALID 0xFFFD // Invalid Unicode code point (standard value).
2064 #ifdef IMGUI_USE_WCHAR32
2065 #define IM_UNICODE_CODEPOINT_MAX 0x10FFFF // Maximum Unicode code point supported by this build.
2067 #define IM_UNICODE_CODEPOINT_MAX 0xFFFF // Maximum Unicode code point supported by this build.
2083 IMGUI_API bool Draw(
const char* label =
"Filter (inc,-exc)",
float width = 0.0f);
2140 union {
int val_i;
float val_f;
void*
val_p; };
2211 IMGUI_API void Begin(
int items_count,
float items_height = -1.0f);
2215 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2216 inline ImGuiListClipper(
int items_count,
float items_height = -1.0f) { memset(
this, 0,
sizeof(*
this)); ItemsCount = -1;
Begin(items_count, items_height); }
2221 #ifdef IMGUI_USE_BGRA_PACKED_COLOR
2222 #define IM_COL32_R_SHIFT 16
2223 #define IM_COL32_G_SHIFT 8
2224 #define IM_COL32_B_SHIFT 0
2225 #define IM_COL32_A_SHIFT 24
2226 #define IM_COL32_A_MASK 0xFF000000
2228 #define IM_COL32_R_SHIFT 0
2229 #define IM_COL32_G_SHIFT 8
2230 #define IM_COL32_B_SHIFT 16
2231 #define IM_COL32_A_SHIFT 24
2232 #define IM_COL32_A_MASK 0xFF000000
2234 #define IM_COL32(R,G,B,A) (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))
2235 #define IM_COL32_WHITE IM_COL32(255,255,255,255) // Opaque white = 0xFFFFFFFF
2236 #define IM_COL32_BLACK IM_COL32(0,0,0,255) // Opaque black
2237 #define IM_COL32_BLACK_TRANS IM_COL32(0,0,0,0) // Transparent black = 0x00000000
2248 ImColor(
int r,
int g,
int b,
int a = 255) {
float sc = 1.0f / 255.0f;
Value.x = (float)r * sc;
Value.y = (float)g * sc;
Value.z = (float)b * sc;
Value.w = (float)a * sc; }
2257 static ImColor HSV(
float h,
float s,
float v,
float a = 1.0f) {
float r, g, b;
ImGui::ColorConvertHSVtoRGB(h, s, v, r, g, b);
return ImColor(r, g, b, a); }
2266 #ifndef IM_DRAWLIST_TEX_LINES_WIDTH_MAX
2267 #define IM_DRAWLIST_TEX_LINES_WIDTH_MAX (63)
2277 #ifndef ImDrawCallback
2285 #define ImDrawCallback_ResetRenderState (ImDrawCallback)(-1)
2309 #ifndef IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT
2321 IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT;
2350 inline void Clear() { _Current = 0; _Count = 1; }
2423 IMGUI_API void PushClipRectFullScreen();
2444 IMGUI_API void AddCircle(
const ImVec2& center,
float radius,
ImU32 col,
int num_segments = 0,
float thickness = 1.0f);
2445 IMGUI_API void AddCircleFilled(
const ImVec2& center,
float radius,
ImU32 col,
int num_segments = 0);
2446 IMGUI_API void AddNgon(
const ImVec2& center,
float radius,
ImU32 col,
int num_segments,
float thickness = 1.0f);
2448 IMGUI_API void AddText(
const ImVec2& pos,
ImU32 col,
const char* text_begin,
const char* text_end = NULL);
2449 IMGUI_API void AddText(
const ImFont* font,
float font_size,
const ImVec2& pos,
ImU32 col,
const char* text_begin,
const char* text_end = NULL,
float wrap_width = 0.0f,
const ImVec4* cpu_fine_clip_rect = NULL);
2460 IMGUI_API void AddImageQuad(
ImTextureID user_texture_id,
const ImVec2& p1,
const ImVec2& p2,
const ImVec2& p3,
const ImVec2& p4,
const ImVec2& uv1 =
ImVec2(0, 0),
const ImVec2& uv2 =
ImVec2(1, 0),
const ImVec2& uv3 =
ImVec2(1, 1),
const ImVec2& uv4 =
ImVec2(0, 1),
ImU32 col =
IM_COL32_WHITE);
2468 inline void PathStroke(
ImU32 col,
ImDrawFlags flags = 0,
float thickness = 1.0f) { AddPolyline(_Path.Data, _Path.Size, col, flags, thickness); _Path.Size = 0; }
2469 IMGUI_API void PathArcTo(
const ImVec2& center,
float radius,
float a_min,
float a_max,
int num_segments = 0);
2470 IMGUI_API void PathArcToFast(
const ImVec2& center,
float radius,
int a_min_of_12,
int a_max_of_12);
2472 IMGUI_API void PathBezierQuadraticCurveTo(
const ImVec2& p2,
const ImVec2& p3,
int num_segments = 0);
2493 IMGUI_API void PrimReserve(
int idx_count,
int vtx_count);
2494 IMGUI_API void PrimUnreserve(
int idx_count,
int vtx_count);
2498 inline void PrimWriteVtx(
const ImVec2& pos,
const ImVec2& uv,
ImU32 col) { _VtxWritePtr->pos = pos; _VtxWritePtr->uv = uv; _VtxWritePtr->col = col; _VtxWritePtr++; _VtxCurrentIdx++; }
2502 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2503 inline void AddBezierCurve(
const ImVec2& p1,
const ImVec2& p2,
const ImVec2& p3,
const ImVec2& p4,
ImU32 col,
float thickness,
int num_segments = 0) { AddBezierCubic(p1, p2, p3, p4, col, thickness, num_segments); }
2515 IMGUI_API int _CalcCircleAutoSegmentCount(
float radius)
const;
2516 IMGUI_API void _PathArcToFastEx(
const ImVec2& center,
float radius,
int a_min_sample,
int a_max_sample,
int a_step);
2517 IMGUI_API void _PathArcToN(
const ImVec2& center,
float radius,
float a_min,
float a_max,
int num_segments);
2536 void Clear() { memset(
this, 0,
sizeof(*
this)); }
2576 unsigned int Colored : 1;
2577 unsigned int Visible : 1;
2578 unsigned int Codepoint : 30;
2592 inline bool GetBit(
size_t n)
const {
int off = (
int)(n >> 5);
ImU32 mask = 1u << (n & 31);
return (UsedChars[off] & mask) != 0; }
2593 inline void SetBit(
size_t n) {
int off = (
int)(n >> 5);
ImU32 mask = 1u << (n & 31); UsedChars[off] |= mask; }
2595 IMGUI_API void AddText(
const char* text,
const char* text_end = NULL);
2647 IMGUI_API ImFont* AddFontFromMemoryCompressedTTF(
const void* compressed_font_data,
int compressed_font_size,
float size_pixels,
const ImFontConfig* font_cfg = NULL,
const ImWchar* glyph_ranges = NULL);
2648 IMGUI_API ImFont* AddFontFromMemoryCompressedBase85TTF(
const char* compressed_font_data_base85,
float size_pixels,
const ImFontConfig* font_cfg = NULL,
const ImWchar* glyph_ranges = NULL);
2660 IMGUI_API void GetTexDataAsAlpha8(
unsigned char** out_pixels,
int* out_width,
int* out_height,
int* out_bytes_per_pixel = NULL);
2661 IMGUI_API void GetTexDataAsRGBA32(
unsigned char** out_pixels,
int* out_width,
int* out_height,
int* out_bytes_per_pixel = NULL);
2662 bool IsBuilt()
const {
return Fonts.Size > 0 && TexReady; }
2692 IMGUI_API int AddCustomRectRegular(
int width,
int height);
2733 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2772 bool IsLoaded()
const {
return ContainerAtlas != NULL; }
2773 const char*
GetDebugName()
const {
return ConfigData ? ConfigData->Name :
"<unknown>"; }
2777 IMGUI_API ImVec2 CalcTextSizeA(
float size,
float max_width,
float wrap_width,
const char* text_begin,
const char* text_end = NULL,
const char** remaining = NULL)
const;
2778 IMGUI_API const char* CalcWordWrapPositionA(
float scale,
const char* text,
const char* text_end,
float wrap_width)
const;
2786 IMGUI_API void AddGlyph(
const ImFontConfig* src_cfg,
ImWchar c,
float x0,
float y0,
float x1,
float y1,
float u0,
float v0,
float u1,
float v1,
float advance_x);
2789 IMGUI_API bool IsGlyphRangeUnused(
unsigned int c_begin,
unsigned int c_last);
2833 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2847 IMGUI_API bool DragScalar(
const char* label,
ImGuiDataType data_type,
void* p_data,
float v_speed,
const void* p_min,
const void* p_max,
const char* format,
float power);
2848 IMGUI_API bool DragScalarN(
const char* label,
ImGuiDataType data_type,
void* p_data,
int components,
float v_speed,
const void* p_min,
const void* p_max,
const char* format,
float power);
2849 static inline bool DragFloat(
const char* label,
float* v,
float v_speed,
float v_min,
float v_max,
const char* format,
float power) {
return DragScalar(label,
ImGuiDataType_Float, v, v_speed, &v_min, &v_max, format, power); }
2850 static inline bool DragFloat2(
const char* label,
float v[2],
float v_speed,
float v_min,
float v_max,
const char* format,
float power) {
return DragScalarN(label,
ImGuiDataType_Float, v, 2, v_speed, &v_min, &v_max, format, power); }
2851 static inline bool DragFloat3(
const char* label,
float v[3],
float v_speed,
float v_min,
float v_max,
const char* format,
float power) {
return DragScalarN(label,
ImGuiDataType_Float, v, 3, v_speed, &v_min, &v_max, format, power); }
2852 static inline bool DragFloat4(
const char* label,
float v[4],
float v_speed,
float v_min,
float v_max,
const char* format,
float power) {
return DragScalarN(label,
ImGuiDataType_Float, v, 4, v_speed, &v_min, &v_max, format, power); }
2854 IMGUI_API bool SliderScalarN(
const char* label,
ImGuiDataType data_type,
void* p_data,
int components,
const void* p_min,
const void* p_max,
const char* format,
float power);
2855 static inline bool SliderFloat(
const char* label,
float* v,
float v_min,
float v_max,
const char* format,
float power) {
return SliderScalar(label,
ImGuiDataType_Float, v, &v_min, &v_max, format, power); }
2856 static inline bool SliderFloat2(
const char* label,
float v[2],
float v_min,
float v_max,
const char* format,
float power) {
return SliderScalarN(label,
ImGuiDataType_Float, v, 2, &v_min, &v_max, format, power); }
2857 static inline bool SliderFloat3(
const char* label,
float v[3],
float v_min,
float v_max,
const char* format,
float power) {
return SliderScalarN(label,
ImGuiDataType_Float, v, 3, &v_min, &v_max, format, power); }
2858 static inline bool SliderFloat4(
const char* label,
float v[4],
float v_min,
float v_max,
const char* format,
float power) {
return SliderScalarN(label,
ImGuiDataType_Float, v, 4, &v_min, &v_max, format, power); }
2897 #endif // #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2901 #if defined(__clang__)
2902 #pragma clang diagnostic pop
2903 #elif defined(__GNUC__)
2904 #pragma GCC diagnostic pop
2908 #pragma warning (pop)
2912 #ifdef IMGUI_INCLUDE_IMGUI_USER_H
2916 #endif // #ifndef IMGUI_DISABLE
ImGuiTextBuffer()
Definition: imgui.h:2112
ImGuiTableBgTarget_
Definition: imgui.h:1259
ImVec4 Value
Definition: imgui.h:2245
IMGUI_API void ShowDemoWindow(bool *p_open=NULL)
float Y1
Definition: imgui.h:2580
IMGUI_API void SetTooltip(const char *fmt,...) IM_FMTARGS(1)
IMGUI_API void StyleColorsClassic(ImGuiStyle *dst=NULL)
IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags)
Definition: imgui_internal.h:700
void resize(int new_size)
Definition: imgui.h:1738
bool TexPixelsUseColors
Definition: imgui.h:2713
bool WantSaveIniSettings
Definition: imgui.h:1917
void * BackendRendererUserData
Definition: imgui.h:1868
int ImGuiTableRowFlags
Definition: imgui.h:204
int ImGuiSliderFlags
Definition: imgui.h:199
ImVector< ImTextureID > _TextureIdStack
Definition: imgui.h:2412
float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]
Definition: imgui.h:1951
const T & back() const
Definition: imgui.h:1734
ImVec2 GetCenter() const
Definition: imgui.h:2823
ImVector< ImWchar > IndexLookup
Definition: imgui.h:2749
IMGUI_API void SetItemDefaultFocus()
void push_back(const T &v)
Definition: imgui.h:1744
IMGUI_API void PopButtonRepeat()
IMGUI_API double GetTime()
int CmdListsCount
Definition: imgui.h:2526
IMGUI_API void EndGroup()
float MouseWheelH
Definition: imgui.h:1891
char * Buf
Definition: imgui.h:1984
float _FringeScale
Definition: imgui.h:2416
int capacity() const
Definition: imgui.h:1723
unsigned int ImU32
Definition: imgui.h:230
#define IM_FREE(_PTR)
Definition: imgui.h:1680
ImGuiSortDirection_
Definition: imgui.h:1349
ImGuiPayload()
Definition: imgui.h:2027
void ClearSelection()
Definition: imgui.h:1998
~ImVector()
Definition: imgui.h:1713
ImVec2 CellPadding
Definition: imgui.h:1787
ImVec2 GetClipRectMax() const
Definition: imgui.h:2428
ImVec2 WindowTitleAlign
Definition: imgui.h:1776
ImVec2()
Definition: imgui.h:265
IMGUI_API void LoadIniSettingsFromMemory(const char *ini_data, size_t ini_size=0)
T * end()
Definition: imgui.h:1729
float SizePixels
Definition: imgui.h:2551
int SelectionStart
Definition: imgui.h:1989
IMGUI_API void AddInputCharactersUTF8(const char *str)
IMGUI_API void EndCombo()
ImGuiDir WindowMenuButtonPosition
Definition: imgui.h:1777
bool IsPreview() const
Definition: imgui.h:2030
ImVector< ImFontConfig > ConfigData
Definition: imgui.h:2722
IMGUI_API bool IsWindowCollapsed()
int ImGuiViewportFlags
Definition: imgui.h:206
IMGUI_API void PopItemWidth()
IMGUI_API void PushItemWidth(float item_width)
int ImGuiSortDirection
Definition: imgui.h:181
ImGuiNavInput_
Definition: imgui.h:1398
IMGUI_API bool TabItemButton(const char *label, ImGuiTabItemFlags flags=0)
IMGUI_API bool IsMouseDown(ImGuiMouseButton button)
float ScrollbarSize
Definition: imgui.h:1791
int PackIdMouseCursors
Definition: imgui.h:2730
IMGUI_API void TableHeader(const char *label)
unsigned int GlyphID
Definition: imgui.h:2605
float MouseDownDurationPrev[5]
Definition: imgui.h:1945
#define IM_ALLOC(_SIZE)
Definition: imgui.h:1679
ImVec2 DesiredSize
Definition: imgui.h:2009
int StepNo
Definition: imgui.h:2201
IMGUI_API void TextWrapped(const char *fmt,...) IM_FMTARGS(1)
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
ImGuiKeyModFlags KeyModsPrev
Definition: imgui.h:1934
ImVec2 ButtonTextAlign
Definition: imgui.h:1800
ImGuiViewportFlags Flags
Definition: imgui.h:2814
ImDrawListFlags_
Definition: imgui.h:2379
IMGUI_API bool ListBox(const char *label, int *current_item, const char *const items[], int items_count, int height_in_items=-1)
ImColor(const ImVec4 &col)
Definition: imgui.h:2251
IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in)
IMGUI_API float GetWindowHeight()
float TabBorderSize
Definition: imgui.h:1797
IMGUI_API bool SliderInt2(const char *label, int v[2], int v_min, int v_max, const char *format="%d", ImGuiSliderFlags flags=0)
T * Data
Definition: imgui.h:1702
IMGUI_API int GetColumnIndex()
bool AppFocusLost
Definition: imgui.h:1953
int index_from_ptr(const T *it) const
Definition: imgui.h:1756
IMGUI_API const char * TableGetColumnName(int column_n=-1)
IMGUI_API void SetNextWindowContentSize(const ImVec2 &size)
float x
Definition: imgui.h:277
IMGUI_API void SetNextWindowSizeConstraints(const ImVec2 &size_min, const ImVec2 &size_max, ImGuiSizeCallback custom_callback=NULL, void *custom_callback_data=NULL)
IMGUI_API bool IsItemToggledOpen()
#define IM_DRAWLIST_TEX_LINES_WIDTH_MAX
Definition: imgui.h:2267
IMGUI_API bool VSliderScalar(const char *label, const ImVec2 &size, ImGuiDataType data_type, void *p_data, const void *p_min, const void *p_max, const char *format=NULL, ImGuiSliderFlags flags=0)
IMGUI_API void CalcListClipping(int items_count, float items_height, int *out_items_display_start, int *out_items_display_end)
IMGUI_API ImVec2 GetWindowSize()
int TotalIdxCount
Definition: imgui.h:2527
IMGUI_API void AddInputCharacter(unsigned int c)
IMGUI_API void ResetMouseDragDelta(ImGuiMouseButton button=0)
ImGuiDataType_
Definition: imgui.h:1322
bool MouseDrawCursor
Definition: imgui.h:1851
IMGUI_API ImGuiContext * GetCurrentContext()
int TexGlyphPadding
Definition: imgui.h:2707
ImVector< ImDrawCmd > CmdBuffer
Definition: imgui.h:2400
T * insert(const T *it, const T &v)
Definition: imgui.h:1750
IMGUI_API ImGuiMouseCursor GetMouseCursor()
signed char ImS8
Definition: imgui.h:225
IMGUI_API void SetNextWindowBgAlpha(float alpha)
float LogSliderDeadzone
Definition: imgui.h:1795
void clear()
Definition: imgui.h:1715
bool MouseDownOwnedUnlessPopupClose[5]
Definition: imgui.h:1942
void clear_destruct()
Definition: imgui.h:1717
#define IM_FMTLIST(FMT)
Definition: imgui.h:106
bool FontAllowUserScaling
Definition: imgui.h:1846
float Descent
Definition: imgui.h:2762
int CursorPos
Definition: imgui.h:1988
void * BackendPlatformUserData
Definition: imgui.h:1867
ImVector< ImVec4 > _ClipRectStack
Definition: imgui.h:2411
signed long long ImS64
Definition: imgui.h:239
IMGUI_API void TableNextRow(ImGuiTableRowFlags row_flags=0, float min_row_height=0.0f)
const ImDrawListSharedData * _Data
Definition: imgui.h:2407
static void SetNextTreeNodeOpen(bool open, ImGuiCond cond=0)
Definition: imgui.h:2864
bool WantCaptureMouseUnlessPopupClose
Definition: imgui.h:1932
char DataType[32+1]
Definition: imgui.h:2023
float ChildBorderSize
Definition: imgui.h:1779
IMGUI_API void SetMouseCursor(ImGuiMouseCursor cursor_type)
bool PixelSnapH
Definition: imgui.h:2554
IMGUI_API void SetStateStorage(ImGuiStorage *storage)
bool Delivery
Definition: imgui.h:2025
int _Current
Definition: imgui.h:2344
bool MergeMode
Definition: imgui.h:2560
ImDrawCmdHeader _CmdHeader
Definition: imgui.h:2414
ImVec2 TexUvScale
Definition: imgui.h:2718
IMGUI_API bool TableNextColumn()
bool MouseClicked[5]
Definition: imgui.h:1938
static void TreeAdvanceToLabelPos()
Definition: imgui.h:2862
ImDrawData()
Definition: imgui.h:2535
IMGUI_API void PopStyleVar(int count=1)
ImVec2 WorkSize
Definition: imgui.h:2818
int DataFrameCount
Definition: imgui.h:2022
ImVector< ImDrawVert > VtxBuffer
Definition: imgui.h:2402
IMGUI_API void SetScrollFromPosX(float local_x, float center_x_ratio=0.5f)
ImVector< ImGuiStoragePair > Data
Definition: imgui.h:2146
ImDrawCmd()
Definition: imgui.h:2302
IMGUI_API void SetScrollX(float scroll_x)
IMGUI_API const char * GetVersion()
int DisplayEnd
Definition: imgui.h:2197
ImVec2 WorkPos
Definition: imgui.h:2817
ImGuiConfigFlags_
Definition: imgui.h:1429
float FallbackAdvanceX
Definition: imgui.h:2745
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
IMGUI_API const char * GetStyleColorName(ImGuiCol idx)
IMGUI_API bool BeginListBox(const char *label, const ImVec2 &size=ImVec2(0, 0))
IMGUI_API bool IsMousePosValid(const ImVec2 *mouse_pos=NULL)
IMGUI_API bool BeginPopup(const char *str_id, ImGuiWindowFlags flags=0)
int FontNo
Definition: imgui.h:2550
IMGUI_API ImGuiStorage * GetStateStorage()
IMGUI_API ImDrawList * GetForegroundDrawList()
#define IM_FMTARGS(FMT)
Definition: imgui.h:105
ImDrawList(const ImDrawListSharedData *shared_data)
Definition: imgui.h:2419
int PackIdLines
Definition: imgui.h:2731
ImVector< ImFontAtlasCustomRect > CustomRects
Definition: imgui.h:2721
IMGUI_API bool IsMouseHoveringRect(const ImVec2 &r_min, const ImVec2 &r_max, bool clip=true)
IMGUI_API void EndListBox()
ImFontAtlasCustomRect()
Definition: imgui.h:2609
ImGuiViewport()
Definition: imgui.h:2820
int TexWidth
Definition: imgui.h:2716
int ImGuiTreeNodeFlags
Definition: imgui.h:205
IMGUI_API bool IsItemFocused()
float Alpha
Definition: imgui.h:1770
ImVec4()
Definition: imgui.h:278
ImGuiCond_
Definition: imgui.h:1657
IMGUI_API ImGuiID GetID(const char *str_id)
ImVec2 GlyphExtraSpacing
Definition: imgui.h:2555
int ImGuiFocusedFlags
Definition: imgui.h:193
int ImGuiColorEditFlags
Definition: imgui.h:189
IMGUI_API void BeginDisabled(bool disabled=true)
IMGUI_API void InsertChars(int pos, const char *text, const char *text_end=NULL)
IMGUI_API float GetScrollMaxX()
float KeysDownDuration[512]
Definition: imgui.h:1948
#define IM_MSVC_RUNTIME_CHECKS_RESTORE
Definition: imgui.h:115
int max_size() const
Definition: imgui.h:1722
bool TexReady
Definition: imgui.h:2712
ImU32 col
Definition: imgui.h:2314
ImVec2 MouseClickedPos[5]
Definition: imgui.h:1936
float GlyphMaxAdvanceX
Definition: imgui.h:2559
void * ClipboardUserData
Definition: imgui.h:1875
ImGuiDragDropFlags_
Definition: imgui.h:1300
IMGUI_API bool VSliderInt(const char *label, const ImVec2 &size, int *v, int v_min, int v_max, const char *format="%d", ImGuiSliderFlags flags=0)
const char * begin() const
Definition: imgui.h:2114
IMGUI_API void ShowAboutWindow(bool *p_open=NULL)
IMGUI_API void CaptureKeyboardFromApp(bool want_capture_keyboard_value=true)
IMGUI_API ImVec2 CalcTextSize(const char *text, const char *text_end=NULL, bool hide_text_after_double_hash=false, float wrap_width=-1.0f)
ImVector()
Definition: imgui.h:1710
bool SpecsDirty
Definition: imgui.h:2053
ImWchar EventChar
Definition: imgui.h:1982
IMGUI_API void EndChild()
T * find(const T &v)
Definition: imgui.h:1752
IMGUI_API bool InputFloat3(const char *label, float v[3], const char *format="%.3f", ImGuiInputTextFlags flags=0)
bool FontDataOwnedByAtlas
Definition: imgui.h:2549
IMGUI_API bool DragInt2(const char *label, int v[2], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d", ImGuiSliderFlags flags=0)
IMGUI_API bool BeginPopupContextVoid(const char *str_id=NULL, ImGuiPopupFlags popup_flags=1)
IMGUI_API bool TableSetColumnIndex(int column_n)
IMGUI_API bool ListBoxHeader(const char *label, int items_count, int height_in_items=-1)
IMGUI_API void EndDragDropSource()
ImVec2 uv
Definition: imgui.h:2313
ImGuiTabBarFlags_
Definition: imgui.h:1093
IMGUI_API void LogToClipboard(int auto_open_depth=-1)
float FontSize
Definition: imgui.h:2746
void * UserData
Definition: imgui.h:1977
bool KeyShift
Definition: imgui.h:1893
char * dst
Definition: lz4.h:464
const char * IniFilename
Definition: imgui.h:1834
IMGUI_API void ClearInputCharacters()
IMGUI_API void SetAllocatorFunctions(ImGuiMemAllocFunc alloc_func, ImGuiMemFreeFunc free_func, void *user_data=NULL)
void(* ImGuiMemFreeFunc)(void *ptr, void *user_data)
Definition: imgui.h:257
bool NavVisible
Definition: imgui.h:1919
ImVec2 FramebufferScale
Definition: imgui.h:2532
IMGUI_API void PushFont(ImFont *font)
ImVec2 FramePadding
Definition: imgui.h:1782
IMGUI_API void ClearInputKeys()
IMGUI_API ImVec2 GetCursorStartPos()
bool WantSetMousePos
Definition: imgui.h:1916
ImGuiInputTextFlags EventFlag
Definition: imgui.h:1975
IMGUI_API bool IsWindowFocused(ImGuiFocusedFlags flags=0)
IMGUI_API void ColorConvertRGBtoHSV(float r, float g, float b, float &out_h, float &out_s, float &out_v)
ImGuiWindowFlags_
Definition: imgui.h:952
IMGUI_API bool DragFloatRange2(const char *label, float *v_current_min, float *v_current_max, float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", const char *format_max=NULL, ImGuiSliderFlags flags=0)
float V1
Definition: imgui.h:2581
void shrink(int new_size)
Definition: imgui.h:1740
ImGuiViewportFlags_
Definition: imgui.h:2797
IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4 &in)
float IniSavingRate
Definition: imgui.h:1833
void * UserData
Definition: imgui.h:2006
float AdvanceX
Definition: imgui.h:2579
IMGUI_API bool DragInt(const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d", ImGuiSliderFlags flags=0)
bool BufDirty
Definition: imgui.h:1987
ImGuiSortDirection SortDirection
Definition: imgui.h:2040
int ImFontAtlasFlags
Definition: imgui.h:186
IMGUI_API void TextUnformatted(const char *text, const char *text_end=NULL)
void Clear()
Definition: imgui.h:2028
bool empty() const
Definition: imgui.h:1719
IMGUI_API bool BeginPopupContextWindow(const char *str_id=NULL, ImGuiPopupFlags popup_flags=1)
const char * GetDebugName() const
Definition: imgui.h:2773
IMGUI_API void PushClipRect(const ImVec2 &clip_rect_min, const ImVec2 &clip_rect_max, bool intersect_with_current_clip_rect)
int OversampleV
Definition: imgui.h:2553
IMGUI_API ImGuiTableColumnFlags TableGetColumnFlags(int column_n=-1)
bool KeyCtrl
Definition: imgui.h:1892
void * UserCallbackData
Definition: imgui.h:2300
IMGUI_API float CalcItemWidth()
ImGuiKey_
Definition: imgui.h:1357
ImGuiStoragePair(ImGuiID _key, void *_val_p)
Definition: imgui.h:2143
IMGUI_API bool BeginMenu(const char *label, bool enabled=true)
float MouseDragMaxDistanceSqr[5]
Definition: imgui.h:1947
IMGUI_API bool InputFloat2(const char *label, float v[2], const char *format="%.3f", ImGuiInputTextFlags flags=0)
void SetHSV(float h, float s, float v, float a=1.0f)
Definition: imgui.h:2256
float PenPressure
Definition: imgui.h:1952
void(* SetClipboardTextFn)(void *user_data, const char *text)
Definition: imgui.h:1874
ImDrawVert * _VtxWritePtr
Definition: imgui.h:2409
IMGUI_API void EndChildFrame()
IMGUI_API bool DragInt4(const char *label, int v[4], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d", ImGuiSliderFlags flags=0)
int OversampleH
Definition: imgui.h:2552
IMGUI_API void LogText(const char *fmt,...) IM_FMTARGS(1)
ImVec2 DisplaySize
Definition: imgui.h:2531
float KeyRepeatRate
Definition: imgui.h:1841
IMGUI_API bool SliderScalarN(const char *label, ImGuiDataType data_type, void *p_data, int components, const void *p_min, const void *p_max, const char *format=NULL, ImGuiSliderFlags flags=0)
ImVec2 DisplaySafeAreaPadding
Definition: imgui.h:1803
IMGUI_API void Separator()
ImFontAtlasCustomRect CustomRect
Definition: imgui.h:2734
ImVec2 WindowMinSize
Definition: imgui.h:1775
bool NavActive
Definition: imgui.h:1918
IMGUI_API bool BeginCombo(const char *label, const char *preview_value, ImGuiComboFlags flags=0)
void * BackendLanguageUserData
Definition: imgui.h:1869
ImColor(float r, float g, float b, float a=1.0f)
Definition: imgui.h:2250
IMGUI_API void BeginGroup()
bool find_erase(const T &v)
Definition: imgui.h:1754
float MouseCursorScale
Definition: imgui.h:1804
float RasterizerMultiply
Definition: imgui.h:2562
float GlyphMinAdvanceX
Definition: imgui.h:2558
IMGUI_API void SetNextWindowFocus()
float ItemsHeight
Definition: imgui.h:2203
float GrabMinSize
Definition: imgui.h:1793
IMGUI_API ImGuiContext * CreateContext(ImFontAtlas *shared_font_atlas=NULL)
float MouseDoubleClickTime
Definition: imgui.h:1836
IMGUI_API void TextColored(const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
int ImGuiDragDropFlags
Definition: imgui.h:192
void Clear()
Definition: imgui.h:2151
void PathClear()
Definition: imgui.h:2464
IMGUI_API bool DragFloat3(const char *label, float v[3], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", ImGuiSliderFlags flags=0)
void * ImeWindowHandle
Definition: imgui.h:1880
int ImGuiTableFlags
Definition: imgui.h:202
bool MouseDownOwned[5]
Definition: imgui.h:1941
int ImGuiConfigFlags
Definition: imgui.h:190
ImGuiButtonFlags_
Definition: imgui.h:1552
IMGUI_API bool BeginPopupContextItem(const char *str_id=NULL, ImGuiPopupFlags popup_flags=1)
IMGUI_API ImDrawList * GetWindowDrawList()
IMGUI_API bool InputTextWithHint(const char *label, const char *hint, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
void PathLineTo(const ImVec2 &pos)
Definition: imgui.h:2465
ImVector< float > IndexAdvanceX
Definition: imgui.h:2744
unsigned short ImDrawIdx
Definition: imgui.h:220
void reserve(int capacity)
Definition: imgui.h:2119
ImDrawList ** CmdLists
Definition: imgui.h:2529
IMGUI_API void appendf(const char *fmt,...) IM_FMTARGS(2)
IMGUI_API const ImVec4 & GetStyleColorVec4(ImGuiCol idx)
ImGuiTextRange(const char *_b, const char *_e)
Definition: imgui.h:2096
ImColor(ImU32 rgba)
Definition: imgui.h:2249
void PathStroke(ImU32 col, ImDrawFlags flags=0, float thickness=1.0f)
Definition: imgui.h:2468
ImVector< ImU32 > UsedChars
Definition: imgui.h:2588
ImGuiID SourceParentId
Definition: imgui.h:2021
ImFontAtlasCustomRect * GetCustomRectByIndex(int index)
Definition: imgui.h:2694
IMGUI_API bool BeginChild(const char *str_id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags flags=0)
IMGUI_API void LoadIniSettingsFromDisk(const char *ini_filename)
ImGuiKeyModFlags KeyMods
Definition: imgui.h:1933
const T & operator[](int i) const
Definition: imgui.h:1725
IMGUI_API bool InputInt3(const char *label, int v[3], ImGuiInputTextFlags flags=0)
IMGUI_API bool InputInt4(const char *label, int v[4], ImGuiInputTextFlags flags=0)
int ImGuiCond
Definition: imgui.h:174
IMGUI_API bool SliderFloat2(const char *label, float v[2], float v_min, float v_max, const char *format="%.3f", ImGuiSliderFlags flags=0)
int ImGuiPopupFlags
Definition: imgui.h:197
ImVec2(float _x, float _y)
Definition: imgui.h:266
ImVec2 DisplayWindowPadding
Definition: imgui.h:1802
IMGUI_API void SetNextWindowPos(const ImVec2 &pos, ImGuiCond cond=0, const ImVec2 &pivot=ImVec2(0, 0))
IMGUI_API bool InputInt2(const char *label, int v[2], ImGuiInputTextFlags flags=0)
IMGUI_API bool IsItemEdited()
int ImGuiInputTextFlags
Definition: imgui.h:195
IMGUI_API bool SliderFloat(const char *label, float *v, float v_min, float v_max, const char *format="%.3f", ImGuiSliderFlags flags=0)
IMGUI_API void EndPopup()
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
int ImGuiDir
Definition: imgui.h:176
IMGUI_API ImVec2 GetContentRegionAvail()
int DataSize
Definition: imgui.h:2017
IMGUI_API void EndTabItem()
IMGUI_API void ShowMetricsWindow(bool *p_open=NULL)
const ImFontBuilderIO * FontBuilderIO
Definition: imgui.h:2726
IMGUI_API bool TreeNodeV(const char *str_id, const char *fmt, va_list args) IM_FMTLIST(2)
IMGUI_API ImDrawData * GetDrawData()
IMGUI_API ImGuiTextFilter(const char *default_filter="")
bool IsLoaded() const
Definition: imgui.h:2772
IMGUI_API void CloseCurrentPopup()
bool WantCaptureMouse
Definition: imgui.h:1913
float KeyRepeatDelay
Definition: imgui.h:1840
static void OpenPopupContextItem(const char *str_id=NULL, ImGuiMouseButton mb=1)
Definition: imgui.h:2843
IMGUI_API void SetNextItemWidth(float item_width)
Contains DLL export macros.
bool AntiAliasedLines
Definition: imgui.h:1805
IMGUI_API bool IsItemDeactivated()
IMGUI_API float GetFrameHeight()
void PathBezierCurveTo(const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, int num_segments=0)
Definition: imgui.h:2504
float TabRounding
Definition: imgui.h:1796
IMGUI_API void SetItemAllowOverlap()
float CurveTessellationTol
Definition: imgui.h:1808
IMGUI_API void PushButtonRepeat(bool repeat)
#define IM_ASSERT(_EXPR)
Definition: imgui.h:87
ImVec2 GlyphOffset
Definition: imgui.h:2607
void(* ImGuiSizeCallback)(ImGuiSizeCallbackData *data)
Definition: imgui.h:255
IMGUI_API ImVec2 GetItemRectMin()
int ImGuiWindowFlags
Definition: imgui.h:207
#define IMGUI_API
Definition: imgui.h:78
IMGUI_API void BeginTooltip()
IMGUI_API void DeleteChars(int pos, int bytes_count)
void pop_back()
Definition: imgui.h:1745
const char * LogFilename
Definition: imgui.h:1835
IMGUI_API void PushID(const char *str_id)
IMGUI_API void SetCursorPosX(float local_x)
const char * BackendRendererName
Definition: imgui.h:1866
bool ConfigWindowsMoveFromTitleBarOnly
Definition: imgui.h:1856
IMGUI_API void append(const char *str, const char *str_end=NULL)
float PopupBorderSize
Definition: imgui.h:1781
bool find_erase_unsorted(const T &v)
Definition: imgui.h:1755
float FontGlobalScale
Definition: imgui.h:1845
ImWchar16 ImWchar
Definition: imgui.h:250
#define IM_COL32_A_SHIFT
Definition: imgui.h:2231
IMGUI_API void SetWindowCollapsed(bool collapsed, ImGuiCond cond=0)
ImVec2 CurrentSize
Definition: imgui.h:2008
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x *y t *t t x *y t *t *t x y *z t t *t t x *y *z t *t *t t x y z t t t t x *y z t *t t t x * y(z *w))
IMGUI_API int TableGetRowIndex()
const char * e
Definition: imgui.h:2093
IMGUI_API void LogButtons()
IMGUI_API void BulletTextV(const char *fmt, va_list args) IM_FMTLIST(1)
ImGuiStoragePair(ImGuiID _key, int _val_i)
Definition: imgui.h:2141
IMGUI_API void TextDisabledV(const char *fmt, va_list args) IM_FMTLIST(1)
IMGUI_API ImDrawList * GetBackgroundDrawList()
#define IM_UNICODE_CODEPOINT_MAX
Definition: imgui.h:2067
ImGuiPopupFlags_
Definition: imgui.h:1052
float NavInputs[ImGuiNavInput_COUNT]
Definition: imgui.h:1897
IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col)
void Clear()
Definition: imgui.h:2086
int ItemsFrozen
Definition: imgui.h:2202
int ImGuiBackendFlags
Definition: imgui.h:187
IMGUI_API void Columns(int count=1, const char *id=NULL, bool border=true)
IMGUI_API bool InputScalar(const char *label, ImGuiDataType data_type, void *p_data, const void *p_step=NULL, const void *p_step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags flags=0)
static IMGUI_API char EmptyString[1]
Definition: imgui.h:2110
IMGUI_API void PushAllowKeyboardFocus(bool allow_keyboard_focus)
IMGUI_API ImGuiViewport * GetMainViewport()
IMGUI_API void SetWindowPos(const ImVec2 &pos, ImGuiCond cond=0)
IMGUI_API bool ColorEdit3(const char *label, float col[3], ImGuiColorEditFlags flags=0)
ImVector< ImFontGlyph > Glyphs
Definition: imgui.h:2750
IMGUI_API void PopTextWrapPos()
unsigned short ImWchar16
Definition: imgui.h:245
T & front()
Definition: imgui.h:1731
ImGuiTableColumnSortSpecs()
Definition: imgui.h:2042
unsigned int FontBuilderFlags
Definition: imgui.h:2561
IMGUI_API float GetScrollMaxY()
IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup()
IMGUI_API bool IsAnyMouseDown()
ImVec4 ClipRect
Definition: imgui.h:2294
unsigned int * TexPixelsRGBA32
Definition: imgui.h:2715
ImDrawFlags_
Definition: imgui.h:2359
IMGUI_API void RenderText(ImVec2 pos, const char *text, const char *text_end=NULL, bool hide_text_after_hash=true)
IMGUI_API bool IsAnyItemHovered()
IMGUI_API bool ColorEdit4(const char *label, float col[4], ImGuiColorEditFlags flags=0)
ImVec2 MousePos
Definition: imgui.h:1888
ImColor()
Definition: imgui.h:2247
ImFontAtlasFlags Flags
Definition: imgui.h:2704
int MetricsRenderWindows
Definition: imgui.h:1923
IMGUI_API void TreePush(const char *str_id)
IMGUI_API void SetClipboardText(const char *text)
IMGUI_API void SetWindowSize(const ImVec2 &size, ImGuiCond cond=0)
float FrameRounding
Definition: imgui.h:1783
IMGUI_API bool SliderFloat4(const char *label, float v[4], float v_min, float v_max, const char *format="%.3f", ImGuiSliderFlags flags=0)
#define IM_COL32_B_SHIFT
Definition: imgui.h:2230
float StartPosY
Definition: imgui.h:2204
IMGUI_API void SetCursorPos(const ImVec2 &local_pos)
IMGUI_API ImGuiIO & GetIO()
int _grow_capacity(int sz) const
Definition: imgui.h:1737
IMGUI_API void PopAllowKeyboardFocus()
ImVec2 DisplayFramebufferScale
Definition: imgui.h:1848
void reserve(int new_capacity)
Definition: imgui.h:1741
IMGUI_API bool InputTextMultiline(const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
bool KeysDown[512]
Definition: imgui.h:1896
IMGUI_API bool BeginTabBar(const char *str_id, ImGuiTabBarFlags flags=0)
ImVector< ImDrawChannel > _Channels
Definition: imgui.h:2346
void *(* ImGuiMemAllocFunc)(size_t sz, void *user_data)
Definition: imgui.h:256
IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate)
bool AntiAliasedLinesUseTex
Definition: imgui.h:1806
IMGUI_API void SetKeyboardFocusHere(int offset=0)
int ImGuiStyleVar
Definition: imgui.h:182
IMGUI_API bool IsAnyItemActive()
ImVec2 MouseDragMaxDistanceAbs[5]
Definition: imgui.h:1946
ImGuiKeyModFlags_
Definition: imgui.h:1385
float MouseDownDuration[5]
Definition: imgui.h:1944
const T & front() const
Definition: imgui.h:1732
T & operator[](int i)
Definition: imgui.h:1724
IMGUI_API bool RadioButton(const char *label, bool active)
IMGUI_API void LogToFile(int auto_open_depth=-1, const char *filename=NULL)
IMGUI_API ImVec2 GetContentRegionMax()
IMGUI_API const char * GetClipboardText()
bool empty() const
Definition: imgui.h:2097
int ImGuiKey
Definition: imgui.h:177
IMGUI_API bool SliderInt4(const char *label, int v[4], int v_min, int v_max, const char *format="%d", ImGuiSliderFlags flags=0)
IMGUI_API void Text(const char *fmt,...) IM_FMTARGS(1)
int MetricsRenderVertices
Definition: imgui.h:1921
IMGUI_API void Value(const char *prefix, bool b)
IMGUI_API bool DragScalarN(const char *label, ImGuiDataType data_type, void *p_data, int components, float v_speed=1.0f, const void *p_min=NULL, const void *p_max=NULL, const char *format=NULL, ImGuiSliderFlags flags=0)
IMGUI_API void EndMenuBar()
IMGUI_API ImGuiStyle & GetStyle()
IMGUI_API float GetTextLineHeight()
unsigned int _VtxCurrentIdx
Definition: imgui.h:2406
void * Data
Definition: imgui.h:2016
IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
ImDrawIdx * _IdxWritePtr
Definition: imgui.h:2410
IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags=0)
IMGUI_API void TextColoredV(const ImVec4 &col, const char *fmt, va_list args) IM_FMTLIST(2)
IMGUI_API bool BeginTabItem(const char *label, bool *p_open=NULL, ImGuiTabItemFlags flags=0)
IMGUI_API void SetScrollHereX(float center_x_ratio=0.5f)
int Capacity
Definition: imgui.h:1701
IMGUI_API void * MemAlloc(size_t size)
IMGUI_API ImGuiInputTextCallbackData()
ImTextureID GetTexID() const
Definition: imgui.h:2305
void ChannelsSplit(int count)
Definition: imgui.h:2486
void PrimWriteIdx(ImDrawIdx idx)
Definition: imgui.h:2499
static void ListBoxFooter()
Definition: imgui.h:2841
const T * begin() const
Definition: imgui.h:1728
signed int ImS32
Definition: imgui.h:229
bool MouseReleased[5]
Definition: imgui.h:1940
IMGUI_API void TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column_n=-1)
ImGuiTextRange()
Definition: imgui.h:2095
IMGUI_API void LogFinish()
const char * end() const
Definition: imgui.h:2115
int ImGuiMouseButton
Definition: imgui.h:179
unsigned int ImGuiID
Definition: imgui.h:224
ImGuiID ColumnUserID
Definition: imgui.h:2037
IMGUI_API void SetScrollFromPosY(float local_y, float center_y_ratio=0.5f)
ImDrawListSplitter()
Definition: imgui.h:2348
int ImGuiTableBgTarget
Definition: imgui.h:183
ImGuiListClipper(int items_count, float items_height=-1.0f)
Definition: imgui.h:2216
void PrimWriteVtx(const ImVec2 &pos, const ImVec2 &uv, ImU32 col)
Definition: imgui.h:2498
ImVector< ImWchar > InputQueueCharacters
Definition: imgui.h:1955
float KeysDownDurationPrev[512]
Definition: imgui.h:1949
IMGUI_API bool IsKeyDown(int user_key_index)
IMGUI_API void SetCursorPosY(float local_y)
ImVector(const ImVector< T > &src)
Definition: imgui.h:1711
IMGUI_API bool DebugCheckVersionAndDataLayout(const char *version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert, size_t sz_drawidx)
IMGUI_API bool MenuItem(const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
ImGuiCol_
Definition: imgui.h:1455
float z
Definition: imgui.h:277
void * FontData
Definition: imgui.h:2547
IMGUI_API void LabelTextV(const char *label, const char *fmt, va_list args) IM_FMTLIST(2)
const char * _OwnerName
Definition: imgui.h:2408
IMGUI_API void TableSetColumnEnabled(int column_n, bool v)
IMGUI_API bool BeginChildFrame(ImGuiID id, const ImVec2 &size, ImGuiWindowFlags flags=0)
IMGUI_API bool Draw(const char *label="Filter (inc,-exc)", float width=0.0f)
IMGUI_API bool IsItemVisible()
ImVec2 ItemSpacing
Definition: imgui.h:1785
const value_type * const_iterator
Definition: imgui.h:1707
IMGUI_API void TableHeadersRow()
unsigned short Y
Definition: imgui.h:2604
float FrameBorderSize
Definition: imgui.h:1784
void SetBit(size_t n)
Definition: imgui.h:2593
ImDrawCallback UserCallback
Definition: imgui.h:2299
IMGUI_API void SetTabItemClosed(const char *tab_or_docked_window_label)
~ImDrawList()
Definition: imgui.h:2421
ImVec2 TexUvWhitePixel
Definition: imgui.h:2719
int MetricsTotalSurface
Definition: imgui.h:2763
IMGUI_API void SetTooltipV(const char *fmt, va_list args) IM_FMTLIST(1)
void ChannelsMerge()
Definition: imgui.h:2487
IMGUI_API float GetTreeNodeToLabelSpacing()
IMGUI_API bool ColorPicker3(const char *label, float col[3], ImGuiColorEditFlags flags=0)
float w
Definition: imgui.h:277
ImVec2 Size
Definition: imgui.h:2816
IMGUI_API ImVec2 GetItemRectMax()
unsigned int IdxOffset
Definition: imgui.h:2297
IMGUI_API float GetScrollY()
IMGUI_API bool IsItemClicked(ImGuiMouseButton mouse_button=0)
IMGUI_API bool InputText(const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
IMGUI_API bool InputFloat4(const char *label, float v[4], const char *format="%.3f", ImGuiInputTextFlags flags=0)
ImFont * DstFont
Definition: imgui.h:2567
IMGUI_API void split(char separator, ImVector< ImGuiTextRange > *out) const
IMGUI_API void ColorConvertHSVtoRGB(float h, float s, float v, float &out_r, float &out_g, float &out_b)
int ImGuiHoveredFlags
Definition: imgui.h:194
int ImGuiMouseCursor
Definition: imgui.h:180
int ImGuiTabBarFlags
Definition: imgui.h:200
int ImGuiTabItemFlags
Definition: imgui.h:201
ImGuiKey EventKey
Definition: imgui.h:1983
float ScrollbarRounding
Definition: imgui.h:1792
IMGUI_API float GetColumnWidth(int column_index=-1)
ImVector< T > & operator=(const ImVector< T > &src)
Definition: imgui.h:1712
ImVec2 SelectableTextAlign
Definition: imgui.h:1801
IMGUI_API void TextDisabled(const char *fmt,...) IM_FMTARGS(1)
ImWchar EllipsisChar
Definition: imgui.h:2758
IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags=0)
void clear_delete()
Definition: imgui.h:1716
int ImGuiComboFlags
Definition: imgui.h:191
ImTextureID TexID
Definition: imgui.h:2705
IMGUI_API ImVec2 GetMouseDragDelta(ImGuiMouseButton button=0, float lock_threshold=-1.0f)
void(* ImeSetInputScreenPosFn)(int x, int y)
Definition: imgui.h:1879
ImGuiMouseCursor_
Definition: imgui.h:1639
IMGUI_API void SetScrollY(float scroll_y)
void push_front(const T &v)
Definition: imgui.h:1746
const ImWchar * GlyphRanges
Definition: imgui.h:2557
ImWchar16 InputQueueSurrogate
Definition: imgui.h:1954
void * val_p
Definition: imgui.h:2140
ImGuiTreeNodeFlags_
Definition: imgui.h:1023
int FontDataSize
Definition: imgui.h:2548
int RefFrame
Definition: imgui.h:2075
IMGUI_API bool VSliderFloat(const char *label, const ImVec2 &size, float *v, float v_min, float v_max, const char *format="%.3f", ImGuiSliderFlags flags=0)
#define IM_MSVC_RUNTIME_CHECKS_OFF
Definition: imgui.h:114
float ConfigMemoryCompactTimer
Definition: imgui.h:1857
bool ConfigDragClickToInputText
Definition: imgui.h:1854
IMGUI_API bool DragFloat4(const char *label, float v[4], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", ImGuiSliderFlags flags=0)
bool Preview
Definition: imgui.h:2024
float TabMinWidthForCloseButton
Definition: imgui.h:1798
float WindowBorderSize
Definition: imgui.h:1774
int ImDrawListFlags
Definition: imgui.h:185
ImVec2 MouseDelta
Definition: imgui.h:1926
int ItemsCount
Definition: imgui.h:2200
int SpecsCount
Definition: imgui.h:2052
IMGUI_API const ImGuiPayload * AcceptDragDropPayload(const char *type, ImGuiDragDropFlags flags=0)
IMGUI_API void SaveIniSettingsToDisk(const char *ini_filename)
bool MouseDown[5]
Definition: imgui.h:1889
ImTextureID TextureId
Definition: imgui.h:2295
void AddBezierCurve(const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, ImU32 col, float thickness, int num_segments=0)
Definition: imgui.h:2503
IMGUI_API int GetColumnsCount()
IMGUI_API void PopClipRect()
IMGUI_API bool ColorButton(const char *desc_id, const ImVec4 &col, ImGuiColorEditFlags flags=0, ImVec2 size=ImVec2(0, 0))
IMGUI_API void NewFrame()
IMGUI_API bool ColorPicker4(const char *label, float col[4], ImGuiColorEditFlags flags=0, const float *ref_col=NULL)
IMGUI_API bool SmallButton(const char *label)
unsigned int FontBuilderFlags
Definition: imgui.h:2727
IMGUI_API bool DragInt3(const char *label, int v[3], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d", ImGuiSliderFlags flags=0)
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui_internal.h:2765
IMGUI_API void NextColumn()
IMGUI_API bool IsMouseReleased(ImGuiMouseButton button)
IMGUI_API bool TreeNode(const char *label)
ImGuiID SourceId
Definition: imgui.h:2020
float DisabledAlpha
Definition: imgui.h:1771
IMGUI_API ImVec2 GetWindowContentRegionMax()
int DisplayStart
Definition: imgui.h:2196
float Framerate
Definition: imgui.h:1920
ImGuiColorEditFlags_
Definition: imgui.h:1565
unsigned int VtxOffset
Definition: imgui.h:2296
const char * c_str() const
Definition: imgui.h:2120
IMGUI_API void Unindent(float indent_w=0.0f)
IMGUI_API void PushTextWrapPos(float wrap_local_pos_x=0.0f)
void(* ImDrawCallback)(const ImDrawList *parent_list, const ImDrawCmd *cmd)
Definition: imgui.h:2278
IMGUI_API void MemFree(void *ptr)
float Scale
Definition: imgui.h:2761
void Clear()
Definition: imgui.h:2591
IMGUI_API void SetWindowFontScale(float scale)
bool GetBit(size_t n) const
Definition: imgui.h:2592
IMGUI_API void LogTextV(const char *fmt, va_list args) IM_FMTLIST(1)
IMGUI_API bool DragFloat(const char *label, float *v, float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", ImGuiSliderFlags flags=0)
ImFontAtlas * ContainerAtlas
Definition: imgui.h:2754
IMGUI_API void StyleColorsDark(ImGuiStyle *dst=NULL)
IMGUI_API bool SliderScalar(const char *label, ImGuiDataType data_type, void *p_data, const void *p_min, const void *p_max, const char *format=NULL, ImGuiSliderFlags flags=0)
const ImFontGlyph * FallbackGlyph
Definition: imgui.h:2751
ImVec2 ItemInnerSpacing
Definition: imgui.h:1786
IMGUI_API void LogToTTY(int auto_open_depth=-1)
IMGUI_API void LabelText(const char *label, const char *fmt,...) IM_FMTARGS(2)
IMGUI_API float GetCursorPosX()
IMGUI_API void PlotLines(const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), int stride=sizeof(float))
ImFontAtlasFlags_
Definition: imgui.h:2614
ImVec2 DisplaySize
Definition: imgui.h:1831
~ImDrawListSplitter()
Definition: imgui.h:2349
ImWchar DotChar
Definition: imgui.h:2759
void PathFillConvex(ImU32 col)
Definition: imgui.h:2467
double MouseClickedTime[5]
Definition: imgui.h:1937
signed short ImS16
Definition: imgui.h:227
#define IM_COL32_G_SHIFT
Definition: imgui.h:2229
ImGuiBackendFlags_
Definition: imgui.h:1445
IMGUI_API void ProgressBar(float fraction, const ImVec2 &size_arg=ImVec2(-FLT_MIN, 0), const char *overlay=NULL)
ImVec2 Pos
Definition: imgui.h:2815
float IndentSpacing
Definition: imgui.h:1789
unsigned int ElemCount
Definition: imgui.h:2298
IMGUI_API void TableSetupColumn(const char *label, ImGuiTableColumnFlags flags=0, float init_width_or_weight=0.0f, ImGuiID user_id=0)
ImGuiTableColumnFlags_
Definition: imgui.h:1202
value_type * iterator
Definition: imgui.h:1706
IMGUI_API const ImGuiPayload * GetDragDropPayload()
IMGUI_API void AlignTextToFramePadding()
IMGUI_API void AddFocusEvent(bool focused)
IMGUI_API bool IsItemDeactivatedAfterEdit()
ImVector< ImVec2 > _Path
Definition: imgui.h:2413
ImVec4 Colors[ImGuiCol_COUNT]
Definition: imgui.h:1810
IMGUI_API bool SetDragDropPayload(const char *type, const void *data, size_t sz, ImGuiCond cond=0)
IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul=1.0f)
unsigned char ImU8
Definition: imgui.h:226
IMGUI_API ImGuiTableSortSpecs * TableGetSortSpecs()
IMGUI_API void SetCursorScreenPos(const ImVec2 &pos)
IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), int frame_padding=-1, const ImVec4 &bg_col=ImVec4(0, 0, 0, 0), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1))
IMGUI_API int TableGetColumnCount()
float y
Definition: imgui.h:277
ImVector< ImFont * > Fonts
Definition: imgui.h:2720
bool HasSelection() const
Definition: imgui.h:1999
IMGUI_API bool InputDouble(const char *label, double *v, double step=0.0, double step_fast=0.0, const char *format="%.6f", ImGuiInputTextFlags flags=0)
IMGUI_API bool SliderAngle(const char *label, float *v_rad, float v_degrees_min=-360.0f, float v_degrees_max=+360.0f, const char *format="%.0f deg", ImGuiSliderFlags flags=0)
IMGUI_API ImVec2 GetCursorScreenPos()
ImDrawFlags ImDrawCornerFlags
Definition: imgui.h:2882
ImGuiID key
Definition: imgui.h:2139
IMGUI_API void ShowStackToolWindow(bool *p_open=NULL)
void SelectAll()
Definition: imgui.h:1997
ImVec2 GlyphOffset
Definition: imgui.h:2556
bool Valid
Definition: imgui.h:2525
IMGUI_API bool IsItemActive()
float GetCharAdvance(ImWchar c) const
Definition: imgui.h:2771
IMGUI_API void EndTable()
bool KeyAlt
Definition: imgui.h:1894
bool empty() const
Definition: imgui.h:2117
ImS16 SortOrder
Definition: imgui.h:2039
void ChannelsSetCurrent(int n)
Definition: imgui.h:2488
static ImColor HSV(float h, float s, float v, float a=1.0f)
Definition: imgui.h:2257
int ImGuiDataType
Definition: imgui.h:175
float ColumnsMinSpacing
Definition: imgui.h:1790
ImFont * Font
Definition: imgui.h:2608
unsigned char * TexPixelsAlpha8
Definition: imgui.h:2714
bool IsActive() const
Definition: imgui.h:2087
ImVector< ImDrawIdx > IdxBuffer
Definition: imgui.h:2401
static float GetContentRegionAvailWidth()
Definition: imgui.h:2866
ImGuiStoragePair(ImGuiID _key, float _val_f)
Definition: imgui.h:2142
IMGUI_API bool BeginMainMenuBar()
IMGUI_API bool InputScalarN(const char *label, ImGuiDataType data_type, void *p_data, int components, const void *p_step=NULL, const void *p_step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags flags=0)
bool KeySuper
Definition: imgui.h:1895
T * erase(const T *it)
Definition: imgui.h:1747
ImVector< ImDrawCmd > _CmdBuffer
Definition: imgui.h:2335
float NavInputsDownDuration[ImGuiNavInput_COUNT]
Definition: imgui.h:1950
IMGUI_API float GetFrameHeightWithSpacing()
IMGUI_API bool PassFilter(const char *text, const char *text_end=NULL) const
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z)
IMGUI_API bool IsKeyReleased(int user_key_index)
int TexHeight
Definition: imgui.h:2717
void Clear()
Definition: imgui.h:2350
void PrimVtx(const ImVec2 &pos, const ImVec2 &uv, ImU32 col)
Definition: imgui.h:2500
ImVec2 GetClipRectMin() const
Definition: imgui.h:2427
IMGUI_API bool Combo(const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items=-1)
float WindowRounding
Definition: imgui.h:1773
bool ConfigWindowsResizeFromEdges
Definition: imgui.h:1855
bool IsDelivery() const
Definition: imgui.h:2031
float MouseWheel
Definition: imgui.h:1890
IMGUI_API void SetNextWindowSize(const ImVec2 &size, ImGuiCond cond=0)
float MouseDoubleClickMaxDist
Definition: imgui.h:1837
IMGUI_API bool InputFloat(const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags flags=0)
unsigned short Width
Definition: imgui.h:2603
T & back()
Definition: imgui.h:1733
ImGuiInputTextFlags Flags
Definition: imgui.h:1976
ImVector< ImDrawIdx > _IdxBuffer
Definition: imgui.h:2336
void clear()
Definition: imgui.h:2118
void IM_DELETE(T *p)
Definition: imgui.h:1683
IMGUI_API float GetScrollX()
int TotalVtxCount
Definition: imgui.h:2528
int ImGuiButtonFlags
Definition: imgui.h:188
IMGUI_API void ShowUserGuide()
ImVec2 DisplayPos
Definition: imgui.h:2530
IMGUI_API bool DragScalar(const char *label, ImGuiDataType data_type, void *p_data, float v_speed=1.0f, const void *p_min=NULL, const void *p_max=NULL, const char *format=NULL, ImGuiSliderFlags flags=0)
void * UserData
Definition: imgui.h:1842
int size() const
Definition: imgui.h:1720
ImVec2 MousePosPrev
Definition: imgui.h:1935
IMGUI_API void AddInputCharacterUTF16(ImWchar16 c)
const T * find(const T &v) const
Definition: imgui.h:1753
float x
Definition: imgui.h:264
ImGuiSelectableFlags_
Definition: imgui.h:1068
ImVec2 GetWorkCenter() const
Definition: imgui.h:2824
float DeltaTime
Definition: imgui.h:1832
ImGuiComboFlags_
Definition: imgui.h:1079
IMGUI_API int TableGetColumnIndex()
ImFontGlyphRangesBuilder()
Definition: imgui.h:2590
IMGUI_API void EndFrame()
int TexDesiredWidth
Definition: imgui.h:2706
bool IsPacked() const
Definition: imgui.h:2610
void swap(ImVector< T > &rhs)
Definition: imgui.h:1735
IMGUI_API void OpenPopupOnItemClick(const char *str_id=NULL, ImGuiPopupFlags popup_flags=1)
IMGUI_API ImVec2 GetMousePos()
ImDrawListFlags Flags
Definition: imgui.h:2403
IMGUI_API void CaptureMouseFromApp(bool want_capture_mouse_value=true)
bool ConfigMacOSXBehaviors
Definition: imgui.h:1852
bool AntiAliasedFill
Definition: imgui.h:1807
ImWchar EllipsisChar
Definition: imgui.h:2563
IMGUI_API bool ShowStyleSelector(const char *label)
#define IM_COL32_R_SHIFT
Definition: imgui.h:2228
ImDrawCornerFlags_
Definition: imgui.h:2883
ImGuiMouseButton_
Definition: imgui.h:1629
const ImFontConfig * ConfigData
Definition: imgui.h:2755
void resize(int new_size, const T &v)
Definition: imgui.h:1739
IMGUI_API void ScaleAllSizes(float scale_factor)
IMGUI_API bool InvisibleButton(const char *str_id, const ImVec2 &size, ImGuiButtonFlags flags=0)
IMGUI_API bool IsItemActivated()
Definition: imgui_internal.h:1457
ImGuiSliderFlags_
Definition: imgui.h:1612
int ImGuiSelectableFlags
Definition: imgui.h:198
int _Count
Definition: imgui.h:2345
ImGuiDir_
Definition: imgui.h:1338
bool WantTextInput
Definition: imgui.h:1915
IMGUI_API bool SliderInt3(const char *label, int v[3], int v_min, int v_max, const char *format="%d", ImGuiSliderFlags flags=0)
IMGUI_API void PlotHistogram(const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), int stride=sizeof(float))
int BufTextLen
Definition: imgui.h:1985
ImVec2 pos
Definition: imgui.h:2312
IMGUI_API ImVec2 GetCursorPos()
IMGUI_API ImFont * GetFont()
IMGUI_API bool BeginDragDropTarget()
int MetricsActiveWindows
Definition: imgui.h:1924
unsigned long long ImU64
Definition: imgui.h:240
int(* ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data)
Definition: imgui.h:254
ImVec2 DisplayPosOffset
Definition: imgui.h:1886
bool ConfigInputTextCursorBlink
Definition: imgui.h:1853
IMGUI_API bool IsMouseClicked(ImGuiMouseButton button, bool repeat=false)
IMGUI_API bool IsWindowHovered(ImGuiHoveredFlags flags=0)
bool MouseDoubleClicked[5]
Definition: imgui.h:1939
IMGUI_API void SetNextItemOpen(bool is_open, ImGuiCond cond=0)
IMGUI_API void ShowFontSelector(const char *label)
short ConfigDataCount
Definition: imgui.h:2756
int Size
Definition: imgui.h:1700
IMGUI_API void SetColumnOffset(int column_index, float offset_x)
float PopupRounding
Definition: imgui.h:1780
IMGUI_API void Dummy(const ImVec2 &size)
ImVec4(float _x, float _y, float _z, float _w)
Definition: imgui.h:279
float y
Definition: imgui.h:264
IMGUI_API void ShowStyleEditor(ImGuiStyle *ref=NULL)
static float GetWindowContentRegionWidth()
Definition: imgui.h:2837
unsigned short ImU16
Definition: imgui.h:228
int MetricsRenderIndices
Definition: imgui.h:1922
void AddChar(ImWchar c)
Definition: imgui.h:2594
IMGUI_API void appendfv(const char *fmt, va_list args) IM_FMTLIST(2)
bool IsDataType(const char *type) const
Definition: imgui.h:2029
IMGUI_API void OpenPopup(const char *str_id, ImGuiPopupFlags popup_flags=0)
int ImGuiCol
Definition: imgui.h:167
IMGUI_API void TextWrappedV(const char *fmt, va_list args) IM_FMTLIST(1)
void Clear()
Definition: imgui.h:2536
char operator[](int i) const
Definition: imgui.h:2113
int ImGuiNavInput
Definition: imgui.h:178
bool contains(const T &v) const
Definition: imgui.h:1751
ImColor(int r, int g, int b, int a=255)
Definition: imgui.h:2248
IMGUI_API float GetColumnOffset(int column_index=-1)
IMGUI_API bool BeginMenuBar()
IMGUI_API int GetFrameCount()
IMGUI_API void EndTabBar()
IMGUI_API bool IsRectVisible(const ImVec2 &size)
ImGuiDir ColorButtonPosition
Definition: imgui.h:1799
const T * end() const
Definition: imgui.h:1730
IMGUI_API void Indent(float indent_w=0.0f)
int BufSize
Definition: imgui.h:1986
IMGUI_API void SetColumnWidth(int column_index, float width)
IMGUI_API bool SliderInt(const char *label, int *v, int v_min, int v_max, const char *format="%d", ImGuiSliderFlags flags=0)
ImGuiInputTextFlags_
Definition: imgui.h:992
ImGuiTableRowFlags_
Definition: imgui.h:1244
IMGUI_API ImVec2 GetWindowContentRegionMin()
IMGUI_API void SetCurrentContext(ImGuiContext *ctx)
IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat=true)
bool MouseDownWasDoubleClick[5]
Definition: imgui.h:1943
unsigned int ImWchar32
Definition: imgui.h:246
IMGUI_API bool IsAnyItemFocused()
IMGUI_API bool Checkbox(const char *label, bool *v)
IMGUI_API void EndDisabled()
IMGUI_API bool TreeNodeExV(const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args) IM_FMTLIST(3)
IMGUI_API void DestroyContext(ImGuiContext *ctx=NULL)
IMGUI_API void GetAllocatorFunctions(ImGuiMemAllocFunc *p_alloc_func, ImGuiMemFreeFunc *p_free_func, void **p_user_data)
ImVec2 TouchExtraPadding
Definition: imgui.h:1788
#define X(a)
Definition: DtSharedSimulationSettings.h:51
IMGUI_API bool BeginPopupModal(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
ImFontAtlas * Fonts
Definition: imgui.h:1844
IMGUI_API bool TreeNodeEx(const char *label, ImGuiTreeNodeFlags flags=0)
IMGUI_API const char * SaveIniSettingsToMemory(size_t *out_ini_size=NULL)
ImVec2 WindowPadding
Definition: imgui.h:1772
ImS16 ColumnIndex
Definition: imgui.h:2038
T * erase(const T *it, const T *it_last)
Definition: imgui.h:1748
T * erase_unsorted(const T *it)
Definition: imgui.h:1749
ImGuiTabItemFlags_
Definition: imgui.h:1109
ImGuiTableFlags_
Definition: imgui.h:1145
IMGUI_API bool BeginTable(const char *str_id, int column, ImGuiTableFlags flags=0, const ImVec2 &outer_size=ImVec2(0.0f, 0.0f), float inner_width=0.0f)
IMGUI_API float GetCursorPosY()
IMGUI_API void PushStyleVar(ImGuiStyleVar idx, float val)
ImGuiTableSortSpecs()
Definition: imgui.h:2055
IMGUI_API bool IsMouseDragging(ImGuiMouseButton button, float lock_threshold=-1.0f)
IMGUI_API ImVec2 GetItemRectSize()
const char * b
Definition: imgui.h:2092
float GlyphAdvanceX
Definition: imgui.h:2606
void PathLineToMergeDuplicate(const ImVec2 &pos)
Definition: imgui.h:2466
float CircleTessellationMaxError
Definition: imgui.h:1809
int SelectionEnd
Definition: imgui.h:1990
IMGUI_API bool Selectable(const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
ImGuiStyleVar_
Definition: imgui.h:1520
int ImGuiKeyModFlags
Definition: imgui.h:196
float MouseDragThreshold
Definition: imgui.h:1838
ImGuiBackendFlags BackendFlags
Definition: imgui.h:1830
int size() const
Definition: imgui.h:2116
ImVec2 Pos
Definition: imgui.h:2007
ImGuiConfigFlags ConfigFlags
Definition: imgui.h:1829
IMGUI_API bool InputInt(const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
IMGUI_API bool SliderFloat3(const char *label, float v[3], float v_min, float v_max, const char *format="%.3f", ImGuiSliderFlags flags=0)
T * begin()
Definition: imgui.h:1727
int CountGrep
Definition: imgui.h:2102
bool DirtyLookupTables
Definition: imgui.h:2760
const ImGuiTableColumnSortSpecs * Specs
Definition: imgui.h:2051
IMGUI_API void BulletText(const char *fmt,...) IM_FMTARGS(1)
int MetricsActiveAllocations
Definition: imgui.h:1925
T value_type
Definition: imgui.h:1705
void * ImTextureID
Definition: imgui.h:213
IMGUI_API void TableSetupScrollFreeze(int cols, int rows)
ImDrawListSplitter _Splitter
Definition: imgui.h:2415
IMGUI_API float GetTextLineHeightWithSpacing()
IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond=0)
ImVector< ImGuiTextRange > Filters
Definition: imgui.h:2101
IMGUI_API float GetFontSize()
IMGUI_API ImVec2 GetWindowPos()
IMGUI_API bool DragFloat2(const char *label, float v[2], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", ImGuiSliderFlags flags=0)
ImWchar FallbackChar
Definition: imgui.h:2757
ImGuiFocusedFlags_
Definition: imgui.h:1268
IMGUI_API bool CheckboxFlags(const char *label, int *flags, int flags_value)
IMGUI_API bool ArrowButton(const char *str_id, ImGuiDir dir)
float ChildRounding
Definition: imgui.h:1778
IMGUI_API bool DragIntRange2(const char *label, int *v_current_min, int *v_current_max, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d", const char *format_max=NULL, ImGuiSliderFlags flags=0)
IMGUI_API bool IsWindowAppearing()
IMGUI_API void EndDragDropTarget()
ImVector< char > Buf
Definition: imgui.h:2109
#define IM_COL32_WHITE
Definition: imgui.h:2235
IMGUI_API ImVec2 GetFontTexUvWhitePixel()
IMGUI_API void SetWindowFocus()
void SetTexID(ImTextureID id)
Definition: imgui.h:2663
IMGUI_API float GetWindowWidth()
ImGuiOnceUponAFrame()
Definition: imgui.h:2074
ImGuiHoveredFlags_
Definition: imgui.h:1282
IMGUI_API void PopStyleColor(int count=1)
IMGUI_API int GetKeyIndex(ImGuiKey imgui_key)
IMGUI_API void EndMainMenuBar()
bool WantCaptureKeyboard
Definition: imgui.h:1914
float GrabRounding
Definition: imgui.h:1794
bool Locked
Definition: imgui.h:2708
IMGUI_API bool IsPopupOpen(const char *str_id, ImGuiPopupFlags flags=0)
const char * BackendPlatformName
Definition: imgui.h:1865
int ImDrawFlags
Definition: imgui.h:184
int KeyMap[ImGuiKey_COUNT]
Definition: imgui.h:1839
int ImGuiTableColumnFlags
Definition: imgui.h:203
IMGUI_API void EndTooltip()
IMGUI_API void SetScrollHereY(float center_y_ratio=0.5f)
IMGUI_API ImDrawListSharedData * GetDrawListSharedData()
IMGUI_API void StyleColorsLight(ImGuiStyle *dst=NULL)
IMGUI_API void TextV(const char *fmt, va_list args) IM_FMTLIST(1)
IMGUI_API bool IsMouseDoubleClicked(ImGuiMouseButton button)
bool IsBuilt() const
Definition: imgui.h:2662
ImFont * FontDefault
Definition: imgui.h:1847
int size_in_bytes() const
Definition: imgui.h:1721
float operator[](size_t idx) const
Definition: imgui.h:267
char InputBuf[256]
Definition: imgui.h:2100