34 #ifdef IMGUI_USER_CONFIG
35 #include IMGUI_USER_CONFIG
37 #if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H)
53 #define IMGUI_VERSION "1.74"
54 #define IMGUI_VERSION_NUM 17400
55 #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
63 #ifndef IMGUI_IMPL_API
64 #define IMGUI_IMPL_API IMGUI_API
70 #define IM_ASSERT(_EXPR) assert(_EXPR) // You can override the default assert handler by editing imconfig.h
72 #if defined(__clang__) || defined(__GNUC__)
73 #define IM_FMTARGS(FMT) __attribute__((format(printf, FMT, FMT+1))) // To apply printf-style warnings to our functions.
74 #define IM_FMTLIST(FMT) __attribute__((format(printf, FMT, 0)))
76 #define IM_FMTARGS(FMT)
77 #define IM_FMTLIST(FMT)
79 #define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*_ARR))) // Size of a static C-style array. Don't use on pointers!
80 #define IM_UNUSED(_VAR) ((void)_VAR) // Used to silence "unused variable warnings". Often useful as asserts may be stripped out from final builds.
81 #if (__cplusplus >= 201100)
82 #define IM_OFFSETOF(_TYPE,_MEMBER) offsetof(_TYPE, _MEMBER) // Offset of _MEMBER within _TYPE. Standardized as offsetof() in C++11
84 #define IM_OFFSETOF(_TYPE,_MEMBER) ((size_t)&(((_TYPE*)0)->_MEMBER)) // Offset of _MEMBER within _TYPE. Old style macro.
86 #define IM_UNICODE_CODEPOINT_MAX 0xFFFF // Last Unicode code point supported by this build.
87 #define IM_UNICODE_CODEPOINT_INVALID 0xFFFD // Standard invalid Unicode code point.
90 #if defined(__clang__)
91 #pragma clang diagnostic push
92 #pragma clang diagnostic ignored "-Wold-style-cast"
93 #if __has_warning("-Wzero-as-null-pointer-constant")
94 #pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
96 #elif defined(__GNUC__)
97 #pragma GCC diagnostic push
98 #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
99 #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
172 #if defined(_MSC_VER) && !defined(__clang__)
173 typedef signed __int64
ImS64;
174 typedef unsigned __int64
ImU64;
175 #elif (defined(__clang__) || defined(__GNUC__)) && (__cplusplus < 201100)
177 typedef int64_t
ImS64;
178 typedef uint64_t
ImU64;
192 #ifdef IM_VEC2_CLASS_EXTRA
202 ImVec4(
float _x,
float _y,
float _z,
float _w) {
x = _x;
y = _y;
z = _z;
w = _w; }
203 #ifdef IM_VEC4_CLASS_EXTRA
385 IMGUI_API void PushID(
const char* str_id_begin,
const char* str_id_end);
415 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));
416 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));
429 IMGUI_API bool Combo(
const char* label,
int* current_item,
const char*
const items[],
int items_count,
int popup_max_height_in_items = -1);
430 IMGUI_API bool Combo(
const char* label,
int* current_item,
const char* items_separated_by_zeros,
int popup_max_height_in_items = -1);
431 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);
440 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",
float power = 1.0f);
441 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",
float power = 1.0f);
442 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",
float power = 1.0f);
443 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",
float power = 1.0f);
444 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,
float power = 1.0f);
445 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");
446 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");
447 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");
448 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");
449 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);
450 IMGUI_API bool DragScalar(
const char* label,
ImGuiDataType data_type,
void* p_data,
float v_speed,
const void* p_min = NULL,
const void* p_max = NULL,
const char* format = NULL,
float power = 1.0f);
451 IMGUI_API bool DragScalarN(
const char* label,
ImGuiDataType data_type,
void* p_data,
int components,
float v_speed,
const void* p_min = NULL,
const void* p_max = NULL,
const char* format = NULL,
float power = 1.0f);
456 IMGUI_API bool SliderFloat(
const char* label,
float* v,
float v_min,
float v_max,
const char* format =
"%.3f",
float power = 1.0f);
457 IMGUI_API bool SliderFloat2(
const char* label,
float v[2],
float v_min,
float v_max,
const char* format =
"%.3f",
float power = 1.0f);
458 IMGUI_API bool SliderFloat3(
const char* label,
float v[3],
float v_min,
float v_max,
const char* format =
"%.3f",
float power = 1.0f);
459 IMGUI_API bool SliderFloat4(
const char* label,
float v[4],
float v_min,
float v_max,
const char* format =
"%.3f",
float power = 1.0f);
460 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");
461 IMGUI_API bool SliderInt(
const char* label,
int* v,
int v_min,
int v_max,
const char* format =
"%d");
462 IMGUI_API bool SliderInt2(
const char* label,
int v[2],
int v_min,
int v_max,
const char* format =
"%d");
463 IMGUI_API bool SliderInt3(
const char* label,
int v[3],
int v_min,
int v_max,
const char* format =
"%d");
464 IMGUI_API bool SliderInt4(
const char* label,
int v[4],
int v_min,
int v_max,
const char* format =
"%d");
465 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,
float power = 1.0f);
466 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,
float power = 1.0f);
467 IMGUI_API bool VSliderFloat(
const char* label,
const ImVec2& size,
float* v,
float v_min,
float v_max,
const char* format =
"%.3f",
float power = 1.0f);
468 IMGUI_API bool VSliderInt(
const char* label,
const ImVec2& size,
int* v,
int v_min,
int v_max,
const char* format =
"%d");
527 IMGUI_API bool ListBox(
const char* label,
int* current_item,
const char*
const items[],
int items_count,
int height_in_items = -1);
528 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);
534 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));
535 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));
536 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));
537 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));
544 IMGUI_API void Value(
const char* prefix,
float v,
const char* float_format = NULL);
555 IMGUI_API bool MenuItem(
const char* label,
const char* shortcut = NULL,
bool selected =
false,
bool enabled =
true);
556 IMGUI_API bool MenuItem(
const char* label,
const char* shortcut,
bool* p_selected,
bool enabled =
true);
588 IMGUI_API void Columns(
int count = 1,
const char*
id = NULL,
bool border =
true);
664 IMGUI_API ImVec2 CalcTextSize(
const char* text,
const char* text_end = NULL,
bool hide_text_after_double_hash =
false,
float wrap_width = -1.0f);
665 IMGUI_API void CalcListClipping(
int items_count,
float items_height,
int* out_items_display_start,
int* out_items_display_end);
713 IMGUI_API void SetAllocatorFunctions(
void* (*alloc_func)(
size_t sz,
void* user_data),
void (*free_func)(
void* ptr,
void* user_data),
void* user_data = NULL);
814 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
917 #define IMGUI_PAYLOAD_TYPE_COLOR_3F "_COL3F" // float[3]: Standard type for colors, without alpha. User code may use this type.
918 #define IMGUI_PAYLOAD_TYPE_COLOR_4F "_COL4F" // float[4]: Standard type for colors. User code may use this type.
1090 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1130 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1176 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1197 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1221 inline void*
operator new(size_t,
ImNewDummy,
void* ptr) {
return ptr; }
1223 #define IM_ALLOC(_SIZE) ImGui::MemAlloc(_SIZE)
1224 #define IM_FREE(_PTR) ImGui::MemFree(_PTR)
1225 #define IM_PLACEMENT_NEW(_PTR) new(ImNewDummy(), _PTR)
1226 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1240 template<
typename T>
1286 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; }
1287 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; }
1290 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; }
1291 inline T*
find(
const T& v) { T* data =
Data;
const T* data_end =
Data +
Size;
while (data < data_end)
if (*data == v)
break;
else ++data;
return data; }
1292 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; }
1402 const char* (*GetClipboardTextFn)(
void* user_data);
1411 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1417 void* RenderDrawListsFnUnused;
1563 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1615 IMGUI_API bool Draw(
const char* label =
"Filter (inc,-exc)",
float width = 0.0f);
1672 union {
int val_i;
float val_f;
void*
val_p; };
1726 int ItemsCount,
StepNo, DisplayStart, DisplayEnd;
1735 IMGUI_API void Begin(
int items_count,
float items_height = -1.0f);
1740 #ifdef IMGUI_USE_BGRA_PACKED_COLOR
1741 #define IM_COL32_R_SHIFT 16
1742 #define IM_COL32_G_SHIFT 8
1743 #define IM_COL32_B_SHIFT 0
1744 #define IM_COL32_A_SHIFT 24
1745 #define IM_COL32_A_MASK 0xFF000000
1747 #define IM_COL32_R_SHIFT 0
1748 #define IM_COL32_G_SHIFT 8
1749 #define IM_COL32_B_SHIFT 16
1750 #define IM_COL32_A_SHIFT 24
1751 #define IM_COL32_A_MASK 0xFF000000
1753 #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))
1754 #define IM_COL32_WHITE IM_COL32(255,255,255,255) // Opaque white = 0xFFFFFFFF
1755 #define IM_COL32_BLACK IM_COL32(0,0,0,255) // Opaque black
1756 #define IM_COL32_BLACK_TRANS IM_COL32(0,0,0,0) // Transparent black = 0x00000000
1767 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; }
1776 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); }
1791 #ifndef ImDrawCallback
1799 #define ImDrawCallback_ResetRenderState (ImDrawCallback)(-1)
1814 ImDrawCmd() { ElemCount = 0; TextureId = (
ImTextureID)NULL; VtxOffset = IdxOffset = 0; UserCallback = NULL; UserCallbackData = NULL; }
1825 #ifndef IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT
1837 IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT;
1857 inline void Clear() { _Current = 0; _Count = 1; }
1918 IMGUI_API void PushClipRectFullScreen();
1935 IMGUI_API void AddCircle(
const ImVec2& center,
float radius,
ImU32 col,
int num_segments = 12,
float thickness = 1.0f);
1936 IMGUI_API void AddCircleFilled(
const ImVec2& center,
float radius,
ImU32 col,
int num_segments = 12);
1937 IMGUI_API void AddText(
const ImVec2& pos,
ImU32 col,
const char* text_begin,
const char* text_end = NULL);
1938 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);
1939 IMGUI_API void AddPolyline(
const ImVec2* points,
int num_points,
ImU32 col,
bool closed,
float thickness);
1948 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);
1956 inline void PathStroke(
ImU32 col,
bool closed,
float thickness = 1.0f) { AddPolyline(_Path.Data, _Path.Size, col, closed, thickness); _Path.Size = 0; }
1957 IMGUI_API void PathArcTo(
const ImVec2& center,
float radius,
float a_min,
float a_max,
int num_segments = 10);
1958 IMGUI_API void PathArcToFast(
const ImVec2& center,
float radius,
int a_min_of_12,
int a_max_of_12);
1978 IMGUI_API void PrimReserve(
int idx_count,
int vtx_count);
1982 inline void PrimWriteVtx(
const ImVec2& pos,
const ImVec2& uv,
ImU32 col){ _VtxWritePtr->pos = pos; _VtxWritePtr->uv = uv; _VtxWritePtr->col = col; _VtxWritePtr++; _VtxCurrentIdx++; }
2006 void Clear() { Valid =
false; CmdLists = NULL; CmdListsCount = TotalVtxCount = TotalIdxCount = 0; DisplayPos = DisplaySize = FramebufferScale =
ImVec2(0.f, 0.f); }
2058 inline bool GetBit(
int n)
const {
int off = (n >> 5);
ImU32 mask = 1u << (n & 31);
return (UsedChars[off] & mask) != 0; }
2059 inline void SetBit(
int n) {
int off = (n >> 5);
ImU32 mask = 1u << (n & 31); UsedChars[off] |= mask; }
2061 IMGUI_API void AddText(
const char* text,
const char* text_end = NULL);
2111 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);
2112 IMGUI_API ImFont* AddFontFromMemoryCompressedBase85TTF(
const char* compressed_font_data_base85,
float size_pixels,
const ImFontConfig* font_cfg = NULL,
const ImWchar* glyph_ranges = NULL);
2124 IMGUI_API void GetTexDataAsAlpha8(
unsigned char** out_pixels,
int* out_width,
int* out_height,
int* out_bytes_per_pixel = NULL);
2125 IMGUI_API void GetTexDataAsRGBA32(
unsigned char** out_pixels,
int* out_width,
int* out_height,
int* out_bytes_per_pixel = NULL);
2126 bool IsBuilt()
const {
return Fonts.Size > 0 && (TexPixelsAlpha8 != NULL || TexPixelsRGBA32 != NULL); }
2154 IMGUI_API int AddCustomRectRegular(
unsigned int id,
int width,
int height);
2183 int CustomRectIds[1];
2185 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2223 bool IsLoaded()
const {
return ContainerAtlas != NULL; }
2224 const char*
GetDebugName()
const {
return ConfigData ? ConfigData->Name :
"<unknown>"; }
2228 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;
2229 IMGUI_API const char* CalcWordWrapPositionA(
float scale,
const char* text,
const char* text_end,
float wrap_width)
const;
2237 IMGUI_API void AddGlyph(
ImWchar c,
float x0,
float y0,
float x1,
float y1,
float u0,
float v0,
float u1,
float v1,
float advance_x);
2242 #if defined(__clang__)
2243 #pragma clang diagnostic pop
2244 #elif defined(__GNUC__)
2245 #pragma GCC diagnostic pop
2249 #ifdef IMGUI_INCLUDE_IMGUI_USER_H
ImGuiTextBuffer()
Definition: imgui.h:1644
ImVec4 Value
Definition: imgui.h:1764
IMGUI_API void ShowDemoWindow(bool *p_open=NULL)
float Y1
Definition: imgui.h:2046
IMGUI_API void SetTooltip(const char *fmt,...) IM_FMTARGS(1)
IMGUI_API bool CheckboxFlags(const char *label, unsigned int *flags, unsigned int flags_value)
IMGUI_API void StyleColorsClassic(ImGuiStyle *dst=NULL)
IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags)
Definition: imgui_internal.h:845
void resize(int new_size)
Definition: imgui.h:1277
bool WantSaveIniSettings
Definition: imgui.h:1451
void * BackendRendererUserData
Definition: imgui.h:1397
ImVector< ImTextureID > _TextureIdStack
Definition: imgui.h:1910
float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]
Definition: imgui.h:1481
const T & back() const
Definition: imgui.h:1273
ImVector< ImWchar > IndexLookup
Definition: imgui.h:2201
IMGUI_API void SetItemDefaultFocus()
void push_back(const T &v)
Definition: imgui.h:1283
IMGUI_API void PopButtonRepeat()
IMGUI_API double GetTime()
float ConfigWindowsMemoryCompactTimer
Definition: imgui.h:1386
static ImDrawList * GetOverlayDrawList()
Definition: imgui.h:1573
int CmdListsCount
Definition: imgui.h:1996
IMGUI_API void EndGroup()
float MouseWheelH
Definition: imgui.h:1430
char * Buf
Definition: imgui.h:1510
int capacity() const
Definition: imgui.h:1261
unsigned int ImU32
Definition: imgui.h:171
#define IM_FREE(_PTR)
Definition: imgui.h:1224
ImGuiPayload()
Definition: imgui.h:1551
~ImVector()
Definition: imgui.h:1256
ImVec2 GetClipRectMax() const
Definition: imgui.h:1923
ImVec2 WindowTitleAlign
Definition: imgui.h:1312
ImVec2()
Definition: imgui.h:188
IMGUI_API void LoadIniSettingsFromMemory(const char *ini_data, size_t ini_size=0)
T * end()
Definition: imgui.h:1268
float SizePixels
Definition: imgui.h:2021
int SelectionStart
Definition: imgui.h:1515
IMGUI_API void OpenPopup(const char *str_id)
IMGUI_API void AddInputCharactersUTF8(const char *str)
IMGUI_API void EndCombo()
ImGuiDir WindowMenuButtonPosition
Definition: imgui.h:1313
bool IsPreview() const
Definition: imgui.h:1554
ImVector< ImFontConfig > ConfigData
Definition: imgui.h:2182
IMGUI_API bool IsWindowCollapsed()
IMGUI_API bool BeginPopupContextItem(const char *str_id=NULL, int mouse_button=1)
IMGUI_API void PopItemWidth()
IMGUI_API void PushItemWidth(float item_width)
ImGuiNavInput_
Definition: imgui.h:979
float ScrollbarSize
Definition: imgui.h:1326
float MouseDownDurationPrev[5]
Definition: imgui.h:1475
#define IM_ALLOC(_SIZE)
Definition: imgui.h:1223
ImVec2 DesiredSize
Definition: imgui.h:1533
int StepNo
Definition: imgui.h:1726
IMGUI_API void TextWrapped(const char *fmt,...) IM_FMTARGS(1)
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
ImVec2 DisplayOffset
Definition: imgui.h:2204
ImVec2 ButtonTextAlign
Definition: imgui.h:1333
static bool IsRootWindowFocused()
Definition: imgui.h:1589
ImDrawListFlags_
Definition: imgui.h:1878
IMGUI_API bool ListBox(const char *label, int *current_item, const char *const items[], int items_count, int height_in_items=-1)
IMGUI_API bool InvisibleButton(const char *str_id, const ImVec2 &size)
IMGUI_API bool IsItemClicked(int mouse_button=0)
ImColor(const ImVec4 &col)
Definition: imgui.h:1770
IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in)
IMGUI_API bool IsMouseDown(int button)
IMGUI_API bool IsMouseDoubleClicked(int button)
IMGUI_API float GetWindowHeight()
float TabBorderSize
Definition: imgui.h:1331
T * Data
Definition: imgui.h:1245
void SetBit(int n)
Definition: imgui.h:2059
IMGUI_API int GetColumnIndex()
int index_from_ptr(const T *it) const
Definition: imgui.h:1295
IMGUI_API void SetNextWindowContentSize(const ImVec2 &size)
float x
Definition: imgui.h:200
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()
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:1997
IMGUI_API void AddInputCharacter(unsigned int c)
ImGuiDataType_
Definition: imgui.h:921
bool MouseDrawCursor
Definition: imgui.h:1381
IMGUI_API ImGuiContext * GetCurrentContext()
int TexGlyphPadding
Definition: imgui.h:2170
ImVector< ImDrawCmd > CmdBuffer
Definition: imgui.h:1897
T * insert(const T *it, const T &v)
Definition: imgui.h:1289
IMGUI_API ImGuiMouseCursor GetMouseCursor()
signed char ImS8
Definition: imgui.h:166
static void ShowTestWindow()
Definition: imgui.h:1588
IMGUI_API void SetNextWindowBgAlpha(float alpha)
void clear()
Definition: imgui.h:1265
#define IM_FMTLIST(FMT)
Definition: imgui.h:77
bool FontAllowUserScaling
Definition: imgui.h:1376
float Descent
Definition: imgui.h:2213
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, float power=1.0f)
int CursorPos
Definition: imgui.h:1514
void * BackendPlatformUserData
Definition: imgui.h:1396
ImVector< ImVec4 > _ClipRectStack
Definition: imgui.h:1909
signed long long ImS64
Definition: imgui.h:180
const ImDrawListSharedData * _Data
Definition: imgui.h:1903
static bool IsAnyWindowHovered()
Definition: imgui.h:1585
static void SetNextTreeNodeOpen(bool open, ImGuiCond cond=0)
Definition: imgui.h:1569
char DataType[32+1]
Definition: imgui.h:1547
float ChildBorderSize
Definition: imgui.h:1315
bool PixelSnapH
Definition: imgui.h:2024
IMGUI_API void SetStateStorage(ImGuiStorage *storage)
bool Delivery
Definition: imgui.h:1549
int _Current
Definition: imgui.h:1851
bool MergeMode
Definition: imgui.h:2030
ImVec2 TexUvScale
Definition: imgui.h:2178
bool MouseClicked[5]
Definition: imgui.h:1469
ImDrawData()
Definition: imgui.h:2004
static void TreeAdvanceToLabelPos()
Definition: imgui.h:1567
IMGUI_API void PopStyleVar(int count=1)
int DataFrameCount
Definition: imgui.h:1546
ImVector< ImDrawVert > VtxBuffer
Definition: imgui.h:1899
IMGUI_API void SetScrollFromPosX(float local_x, float center_x_ratio=0.5f)
ImVector< ImGuiStoragePair > Data
Definition: imgui.h:1678
ImDrawCmd()
Definition: imgui.h:1814
IMGUI_API void SetScrollX(float scroll_x)
IMGUI_API const char * GetVersion()
ImGuiConfigFlags_
Definition: imgui.h:1011
IMGUI_API bool SliderInt2(const char *label, int v[2], int v_min, int v_max, const char *format="%d")
float FallbackAdvanceX
Definition: imgui.h:2197
IMGUI_API bool IsMouseDragging(int button=0, float lock_threshold=-1.0f)
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 IsMousePosValid(const ImVec2 *mouse_pos=NULL)
IMGUI_API bool BeginPopup(const char *str_id, ImGuiWindowFlags flags=0)
int FontNo
Definition: imgui.h:2020
IMGUI_API ImGuiStorage * GetStateStorage()
IMGUI_API ImDrawList * GetForegroundDrawList()
#define IM_FMTARGS(FMT)
Definition: imgui.h:76
ImDrawList(const ImDrawListSharedData *shared_data)
Definition: imgui.h:1915
ImVector< ImFontAtlasCustomRect > CustomRects
Definition: imgui.h:2181
IMGUI_API bool IsMouseHoveringRect(const ImVec2 &r_min, const ImVec2 &r_max, bool clip=true)
ImFontAtlasCustomRect()
Definition: imgui.h:2075
ImGuiInputTextCallbackData ImGuiTextEditCallbackData
Definition: imgui.h:1595
int TexWidth
Definition: imgui.h:2176
int ImGuiTreeNodeFlags
Definition: imgui.h:160
IMGUI_API bool IsItemFocused()
float Alpha
Definition: imgui.h:1307
ImVec4()
Definition: imgui.h:201
ImGuiCond_
Definition: imgui.h:1205
IMGUI_API ImGuiID GetID(const char *str_id)
ImVec2 GlyphExtraSpacing
Definition: imgui.h:2025
int ImGuiFocusedFlags
Definition: imgui.h:154
int ImGuiColorEditFlags
Definition: imgui.h:150
IMGUI_API void InsertChars(int pos, const char *text, const char *text_end=NULL)
IMGUI_API float GetScrollMaxX()
float KeysDownDuration[512]
Definition: imgui.h:1478
ImU32 col
Definition: imgui.h:1830
ImVec2 MouseClickedPos[5]
Definition: imgui.h:1467
unsigned int RasterizerFlags
Definition: imgui.h:2031
float GlyphMaxAdvanceX
Definition: imgui.h:2029
void * ClipboardUserData
Definition: imgui.h:1404
voidpf void uLong size
Definition: ioapi.h:39
ImGuiDragDropFlags_
Definition: imgui.h:899
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", float power=1.0f)
const char * begin() const
Definition: imgui.h:1646
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:1253
ImWchar EventChar
Definition: imgui.h:1508
IMGUI_API void EndChild()
T * find(const T &v)
Definition: imgui.h:1291
IMGUI_API bool InputFloat3(const char *label, float v[3], const char *format="%.3f", ImGuiInputTextFlags flags=0)
bool FontDataOwnedByAtlas
Definition: imgui.h:2019
IMGUI_API void EndDragDropSource()
ImVec2 uv
Definition: imgui.h:1829
ImGuiTabBarFlags_
Definition: imgui.h:845
IMGUI_API void LogToClipboard(int auto_open_depth=-1)
float FontSize
Definition: imgui.h:2198
void * UserData
Definition: imgui.h:1503
bool KeyShift
Definition: imgui.h:1432
char * dst
Definition: lz4.h:464
const char * IniFilename
Definition: imgui.h:1364
IMGUI_API void ClearInputCharacters()
bool NavVisible
Definition: imgui.h:1453
ImVec2 FramebufferScale
Definition: imgui.h:2001
IMGUI_API void PushFont(ImFont *font)
ImVec2 FramePadding
Definition: imgui.h:1318
IMGUI_API ImVec2 GetCursorStartPos()
bool WantSetMousePos
Definition: imgui.h:1450
ImGuiInputTextFlags EventFlag
Definition: imgui.h:1501
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:724
float V1
Definition: imgui.h:2047
void shrink(int new_size)
Definition: imgui.h:1279
IMGUI_API bool BeginPopupContextWindow(const char *str_id=NULL, int mouse_button=1, bool also_over_items=true)
IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4 &in)
float IniSavingRate
Definition: imgui.h:1363
void * UserData
Definition: imgui.h:1530
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
float AdvanceX
Definition: imgui.h:2045
bool BufDirty
Definition: imgui.h:1513
IMGUI_API bool SliderFloat3(const char *label, float v[3], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
int ImFontAtlasFlags
Definition: imgui.h:148
IMGUI_API void TextUnformatted(const char *text, const char *text_end=NULL)
void Clear()
Definition: imgui.h:1552
bool empty() const
Definition: imgui.h:1258
const char * GetDebugName() const
Definition: imgui.h:2224
IMGUI_API bool DragScalarN(const char *label, ImGuiDataType data_type, void *p_data, int components, float v_speed, const void *p_min=NULL, const void *p_max=NULL, const char *format=NULL, float power=1.0f)
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:2023
bool KeyCtrl
Definition: imgui.h:1431
void * UserCallbackData
Definition: imgui.h:1812
IMGUI_API float CalcItemWidth()
ImGuiKey_
Definition: imgui.h:948
ImGuiStoragePair(ImGuiID _key, void *_val_p)
Definition: imgui.h:1675
IMGUI_API bool BeginMenu(const char *label, bool enabled=true)
float MouseDragMaxDistanceSqr[5]
Definition: imgui.h:1477
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:1775
void(* SetClipboardTextFn)(void *user_data, const char *text)
Definition: imgui.h:1403
ImDrawVert * _VtxWritePtr
Definition: imgui.h:1907
IMGUI_API void EndChildFrame()
IMGUI_API bool BeginPopupContextVoid(const char *str_id=NULL, int mouse_button=1)
int OversampleH
Definition: imgui.h:2022
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)
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, float power=1.0f)
IMGUI_API void LogText(const char *fmt,...) IM_FMTARGS(1)
ImVec2 DisplaySize
Definition: imgui.h:2000
float KeyRepeatRate
Definition: imgui.h:1371
ImVec2 DisplaySafeAreaPadding
Definition: imgui.h:1336
IMGUI_API void Separator()
ImFontAtlasCustomRect CustomRect
Definition: imgui.h:2186
ImVec2 WindowMinSize
Definition: imgui.h:1311
static bool IsItemDeactivatedAfterChange()
Definition: imgui.h:1577
bool NavActive
Definition: imgui.h:1452
IMGUI_API bool BeginCombo(const char *label, const char *preview_value, ImGuiComboFlags flags=0)
void * BackendLanguageUserData
Definition: imgui.h:1398
ImColor(float r, float g, float b, float a=1.0f)
Definition: imgui.h:1769
IMGUI_API void BeginGroup()
bool find_erase(const T &v)
Definition: imgui.h:1293
float MouseCursorScale
Definition: imgui.h:1337
float RasterizerMultiply
Definition: imgui.h:2032
float GlyphMinAdvanceX
Definition: imgui.h:2028
IMGUI_API void SetNextWindowFocus()
float ItemsHeight
Definition: imgui.h:1725
float GrabMinSize
Definition: imgui.h:1328
IMGUI_API bool SliderFloat4(const char *label, float v[4], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
IMGUI_API ImGuiContext * CreateContext(ImFontAtlas *shared_font_atlas=NULL)
float MouseDoubleClickTime
Definition: imgui.h:1366
voidpf void * buf
Definition: ioapi.h:39
IMGUI_API void TextColored(const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
int ImGuiDragDropFlags
Definition: imgui.h:153
void Clear()
Definition: imgui.h:1683
void PathClear()
Definition: imgui.h:1952
ImFontGlyphRangesBuilder GlyphRangesBuilder
Definition: imgui.h:2187
unsigned int ID
Definition: imgui.h:2069
void * ImeWindowHandle
Definition: imgui.h:1409
~ImDrawData()
Definition: imgui.h:2005
bool MouseDownOwned[5]
Definition: imgui.h:1472
int ImGuiConfigFlags
Definition: imgui.h:151
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:1953
ImVector< float > IndexAdvanceX
Definition: imgui.h:2196
IMGUI_API void ProgressBar(float fraction, const ImVec2 &size_arg=ImVec2(-1, 0), const char *overlay=NULL)
unsigned short ImDrawIdx
Definition: imgui.h:1821
void reserve(int capacity)
Definition: imgui.h:1651
ImDrawList ** CmdLists
Definition: imgui.h:1995
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:1628
ImColor(ImU32 rgba)
Definition: imgui.h:1768
ImVector< ImU32 > UsedChars
Definition: imgui.h:2054
ImGuiID SourceParentId
Definition: imgui.h:1545
unsigned short ImWchar
Definition: imgui.h:137
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)
const T & operator[](int i) const
Definition: imgui.h:1263
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:139
ImVec2(float _x, float _y)
Definition: imgui.h:189
ImVec2 DisplayWindowPadding
Definition: imgui.h:1335
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:156
IMGUI_API void EndPopup()
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
int ImGuiDir
Definition: imgui.h:141
IMGUI_API ImVec2 GetContentRegionAvail()
int DataSize
Definition: imgui.h:1541
IMGUI_API void EndTabItem()
IMGUI_API void ShowMetricsWindow(bool *p_open=NULL)
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="")
IMGUI_API bool SliderInt3(const char *label, int v[3], int v_min, int v_max, const char *format="%d")
bool IsLoaded() const
Definition: imgui.h:2223
IMGUI_API void CloseCurrentPopup()
bool WantCaptureMouse
Definition: imgui.h:1447
float KeyRepeatDelay
Definition: imgui.h:1370
ImGuiListClipper(int items_count=-1, float items_height=-1.0f)
Definition: imgui.h:1731
IMGUI_API void SetNextItemWidth(float item_width)
Contains DLL export macros.
bool AntiAliasedLines
Definition: imgui.h:1338
IMGUI_API bool IsItemDeactivated()
IMGUI_API float GetFrameHeight()
float TabRounding
Definition: imgui.h:1330
IMGUI_API void SetItemAllowOverlap()
float CurveTessellationTol
Definition: imgui.h:1340
IMGUI_API void PushButtonRepeat(bool repeat)
#define IM_ASSERT(_EXPR)
Definition: imgui.h:70
ImVec2 GlyphOffset
Definition: imgui.h:2073
void(* ImGuiSizeCallback)(ImGuiSizeCallbackData *data)
Definition: imgui.h:163
IMGUI_API ImVec2 GetItemRectMin()
int ImGuiWindowFlags
Definition: imgui.h:161
#define IMGUI_API
Definition: imgui.h:61
IMGUI_API void BeginTooltip()
IMGUI_API void DeleteChars(int pos, int bytes_count)
void pop_back()
Definition: imgui.h:1284
const char * LogFilename
Definition: imgui.h:1365
IMGUI_API void PushID(const char *str_id)
IMGUI_API void SetCursorPosX(float local_x)
const char * BackendRendererName
Definition: imgui.h:1395
bool ConfigWindowsMoveFromTitleBarOnly
Definition: imgui.h:1385
IMGUI_API void append(const char *str, const char *str_end=NULL)
float PopupBorderSize
Definition: imgui.h:1317
bool find_erase_unsorted(const T &v)
Definition: imgui.h:1294
float FontGlobalScale
Definition: imgui.h:1375
#define IM_COL32_A_SHIFT
Definition: imgui.h:1750
IMGUI_API void SetWindowCollapsed(bool collapsed, ImGuiCond cond=0)
ImVec2 CurrentSize
Definition: imgui.h:1532
const char * e
Definition: imgui.h:1625
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:1673
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:86
void PathStroke(ImU32 col, bool closed, float thickness=1.0f)
Definition: imgui.h:1956
float NavInputs[ImGuiNavInput_COUNT]
Definition: imgui.h:1436
IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col)
IMGUI_API void SetAllocatorFunctions(void *(*alloc_func)(size_t sz, void *user_data), void(*free_func)(void *ptr, void *user_data), void *user_data=NULL)
void Clear()
Definition: imgui.h:1618
int ImGuiBackendFlags
Definition: imgui.h:149
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:1642
IMGUI_API void PushAllowKeyboardFocus(bool allow_keyboard_focus)
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:2202
IMGUI_API void PopTextWrapPos()
T & front()
Definition: imgui.h:1270
IMGUI_API float GetScrollMaxY()
void(* RenderDrawListsFn)(ImDrawData *data)
Definition: imgui.h:1414
IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup()
IMGUI_API bool IsAnyMouseDown()
ImVec4 ClipRect
Definition: imgui.h:1807
const ImFontAtlasCustomRect * GetCustomRectByIndex(int index) const
Definition: imgui.h:2156
unsigned int * TexPixelsRGBA32
Definition: imgui.h:2175
IMGUI_API void RenderText(ImVec2 pos, const char *text, const char *text_end=NULL, bool hide_text_after_hash=true)
IMGUI_API bool IsMouseReleased(int button)
IMGUI_API bool IsAnyItemHovered()
IMGUI_API bool ColorEdit4(const char *label, float col[4], ImGuiColorEditFlags flags=0)
ImVec2 MousePos
Definition: imgui.h:1427
ImColor()
Definition: imgui.h:1766
ImFontAtlasFlags Flags
Definition: imgui.h:2167
int MetricsRenderWindows
Definition: imgui.h:1457
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:1319
#define IM_COL32_B_SHIFT
Definition: imgui.h:1749
float StartPosY
Definition: imgui.h:1724
IMGUI_API void SetCursorPos(const ImVec2 &local_pos)
IMGUI_API ImGuiIO & GetIO()
int _grow_capacity(int sz) const
Definition: imgui.h:1276
IMGUI_API void PopAllowKeyboardFocus()
ImVec2 DisplayFramebufferScale
Definition: imgui.h:1378
void reserve(int new_capacity)
Definition: imgui.h:1280
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:1435
IMGUI_API bool BeginTabBar(const char *str_id, ImGuiTabBarFlags flags=0)
ImVector< ImDrawChannel > _Channels
Definition: imgui.h:1853
IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate)
IMGUI_API void SetKeyboardFocusHere(int offset=0)
int ImGuiStyleVar
Definition: imgui.h:145
IMGUI_API bool IsAnyItemActive()
ImVec2 MouseDragMaxDistanceAbs[5]
Definition: imgui.h:1476
float MouseDownDuration[5]
Definition: imgui.h:1474
const T & front() const
Definition: imgui.h:1271
T & operator[](int i)
Definition: imgui.h:1262
IMGUI_API bool RadioButton(const char *label, bool active)
IMGUI_API void LogToFile(int auto_open_depth=-1, const char *filename=NULL)
IMGUI_API bool IsPopupOpen(const char *str_id)
IMGUI_API bool DragScalar(const char *label, ImGuiDataType data_type, void *p_data, float v_speed, const void *p_min=NULL, const void *p_max=NULL, const char *format=NULL, float power=1.0f)
IMGUI_API ImVec2 GetContentRegionMax()
IMGUI_API const char * GetClipboardText()
bool empty() const
Definition: imgui.h:1629
int ImGuiKey
Definition: imgui.h:142
IMGUI_API void Text(const char *fmt,...) IM_FMTARGS(1)
int MetricsRenderVertices
Definition: imgui.h:1455
IMGUI_API void Value(const char *prefix, bool b)
IMGUI_API void EndMenuBar()
IMGUI_API ImGuiStyle & GetStyle()
IMGUI_API float GetTextLineHeight()
int ImDrawCornerFlags
Definition: imgui.h:146
unsigned int _VtxCurrentIdx
Definition: imgui.h:1906
void * Data
Definition: imgui.h:1540
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:1908
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 void SetMouseCursor(ImGuiMouseCursor type)
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:1244
IMGUI_API void * MemAlloc(size_t size)
IMGUI_API ImGuiInputTextCallbackData()
void ChannelsSplit(int count)
Definition: imgui.h:1970
void PrimWriteIdx(ImDrawIdx idx)
Definition: imgui.h:1983
const T * begin() const
Definition: imgui.h:1267
signed int ImS32
Definition: imgui.h:170
bool MouseReleased[5]
Definition: imgui.h:1471
ImGuiTextRange()
Definition: imgui.h:1627
IMGUI_API void LogFinish()
const char * end() const
Definition: imgui.h:1647
IMGUI_API void ResetMouseDragDelta(int button=0)
unsigned int ImGuiID
Definition: imgui.h:136
IMGUI_API void SetScrollFromPosY(float local_y, float center_y_ratio=0.5f)
ImDrawListSplitter()
Definition: imgui.h:1855
void PrimWriteVtx(const ImVec2 &pos, const ImVec2 &uv, ImU32 col)
Definition: imgui.h:1982
ImVector< ImWchar > InputQueueCharacters
Definition: imgui.h:1482
float KeysDownDurationPrev[512]
Definition: imgui.h:1479
IMGUI_API bool IsKeyDown(int user_key_index)
IMGUI_API void SetCursorPosY(float local_y)
ImVector(const ImVector< T > &src)
Definition: imgui.h:1254
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 SliderAngle(const char *label, float *v_rad, float v_degrees_min=-360.0f, float v_degrees_max=+360.0f, const char *format="%.0f deg")
IMGUI_API bool MenuItem(const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
ImGuiCol_
Definition: imgui.h:1037
float z
Definition: imgui.h:200
void * FontData
Definition: imgui.h:2017
IMGUI_API void LabelTextV(const char *label, const char *fmt, va_list args) IM_FMTLIST(2)
const char * _OwnerName
Definition: imgui.h:1904
ImWchar Codepoint
Definition: imgui.h:2044
IMGUI_API bool BeginChildFrame(ImGuiID id, const ImVec2 &size, ImGuiWindowFlags flags=0)
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")
IMGUI_API bool Draw(const char *label="Filter (inc,-exc)", float width=0.0f)
IMGUI_API bool IsItemVisible()
ImVec2 ItemSpacing
Definition: imgui.h:1321
const value_type * const_iterator
Definition: imgui.h:1250
IMGUI_API bool SliderFloat2(const char *label, float v[2], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
unsigned short Y
Definition: imgui.h:2071
float FrameBorderSize
Definition: imgui.h:1320
ImDrawCallback UserCallback
Definition: imgui.h:1811
IMGUI_API void SetTabItemClosed(const char *tab_or_docked_window_label)
~ImDrawList()
Definition: imgui.h:1916
ImVec2 TexUvWhitePixel
Definition: imgui.h:2179
int MetricsTotalSurface
Definition: imgui.h:2214
IMGUI_API void SetTooltipV(const char *fmt, va_list args) IM_FMTLIST(1)
void ChannelsMerge()
Definition: imgui.h:1971
IMGUI_API float GetTreeNodeToLabelSpacing()
IMGUI_API bool ColorPicker3(const char *label, float col[3], ImGuiColorEditFlags flags=0)
float w
Definition: imgui.h:200
IMGUI_API ImVec2 GetItemRectMax()
bool GetBit(int n) const
Definition: imgui.h:2058
unsigned int IdxOffset
Definition: imgui.h:1810
IMGUI_API float GetScrollY()
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:2037
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:155
int ImGuiMouseCursor
Definition: imgui.h:144
int ImGuiTabBarFlags
Definition: imgui.h:158
int ImGuiTabItemFlags
Definition: imgui.h:159
ImGuiKey EventKey
Definition: imgui.h:1509
float ScrollbarRounding
Definition: imgui.h:1327
IMGUI_API float GetColumnWidth(int column_index=-1)
ImVector< T > & operator=(const ImVector< T > &src)
Definition: imgui.h:1255
ImVec2 SelectableTextAlign
Definition: imgui.h:1334
IMGUI_API void TextDisabled(const char *fmt,...) IM_FMTARGS(1)
ImWchar EllipsisChar
Definition: imgui.h:2211
IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags=0)
int ImGuiComboFlags
Definition: imgui.h:152
ImTextureID TexID
Definition: imgui.h:2168
void(* ImeSetInputScreenPosFn)(int x, int y)
Definition: imgui.h:1408
ImGuiMouseCursor_
Definition: imgui.h:1183
IMGUI_API void SetScrollY(float scroll_y)
void push_front(const T &v)
Definition: imgui.h:1285
const ImWchar * GlyphRanges
Definition: imgui.h:2027
void * val_p
Definition: imgui.h:1672
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")
ImGuiTreeNodeFlags_
Definition: imgui.h:793
int FontDataSize
Definition: imgui.h:2018
int RefFrame
Definition: imgui.h:1607
bool Preview
Definition: imgui.h:1548
float WindowBorderSize
Definition: imgui.h:1310
int ImDrawListFlags
Definition: imgui.h:147
ImVec2 MouseDelta
Definition: imgui.h:1460
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:1428
ImTextureID TextureId
Definition: imgui.h:1808
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")
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 bool ListBoxHeader(const char *label, const 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)
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
IMGUI_API bool VSliderFloat(const char *label, const ImVec2 &size, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
IMGUI_API void NextColumn()
IMGUI_API bool TreeNode(const char *label)
ImGuiID SourceId
Definition: imgui.h:1544
IMGUI_API ImVec2 GetWindowContentRegionMax()
float Framerate
Definition: imgui.h:1454
ImGuiColorEditFlags_
Definition: imgui.h:1137
unsigned int VtxOffset
Definition: imgui.h:1809
const char * c_str() const
Definition: imgui.h:1652
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:1792
IMGUI_API void MemFree(void *ptr)
float Scale
Definition: imgui.h:2212
void Clear()
Definition: imgui.h:2057
IMGUI_API void SetWindowFontScale(float scale)
ImFontAtlas * ContainerAtlas
Definition: imgui.h:2207
IMGUI_API void StyleColorsDark(ImGuiStyle *dst=NULL)
const ImFontGlyph * FallbackGlyph
Definition: imgui.h:2203
ImVec2 ItemInnerSpacing
Definition: imgui.h:1322
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()
static bool IsAnyWindowFocused()
Definition: imgui.h:1584
IMGUI_API float GetWindowContentRegionWidth()
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:2079
ImVec2 DisplaySize
Definition: imgui.h:1361
~ImDrawListSplitter()
Definition: imgui.h:1856
void PathFillConvex(ImU32 col)
Definition: imgui.h:1955
double MouseClickedTime[5]
Definition: imgui.h:1468
signed short ImS16
Definition: imgui.h:168
#define IM_COL32_G_SHIFT
Definition: imgui.h:1748
ImGuiBackendFlags_
Definition: imgui.h:1027
float IndentSpacing
Definition: imgui.h:1324
unsigned int ElemCount
Definition: imgui.h:1806
value_type * iterator
Definition: imgui.h:1249
IMGUI_API const ImGuiPayload * GetDragDropPayload()
IMGUI_API void AlignTextToFramePadding()
IMGUI_API bool IsItemDeactivatedAfterEdit()
ImVector< ImVec2 > _Path
Definition: imgui.h:1911
ImVec4 Colors[ImGuiCol_COUNT]
Definition: imgui.h:1341
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:167
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))
float y
Definition: imgui.h:200
ImVector< ImFont * > Fonts
Definition: imgui.h:2180
bool HasSelection() const
Definition: imgui.h:1523
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 ImVec2 GetCursorScreenPos()
ImGuiID key
Definition: imgui.h:1671
ImVec2 GlyphOffset
Definition: imgui.h:2026
#define IM_UNUSED(_VAR)
Definition: imgui.h:80
IMGUI_API bool SliderInt(const char *label, int *v, int v_min, int v_max, const char *format="%d")
bool Valid
Definition: imgui.h:1994
IMGUI_API bool IsItemActive()
float GetCharAdvance(ImWchar c) const
Definition: imgui.h:2222
ImGuiInputTextCallback ImGuiTextEditCallback
Definition: imgui.h:1594
bool KeyAlt
Definition: imgui.h:1433
bool empty() const
Definition: imgui.h:1649
void ChannelsSetCurrent(int n)
Definition: imgui.h:1972
static ImColor HSV(float h, float s, float v, float a=1.0f)
Definition: imgui.h:1776
int ImGuiDataType
Definition: imgui.h:140
float ColumnsMinSpacing
Definition: imgui.h:1325
ImFont * Font
Definition: imgui.h:2074
unsigned char * TexPixelsAlpha8
Definition: imgui.h:2174
unsigned int _VtxCurrentOffset
Definition: imgui.h:1905
bool IsActive() const
Definition: imgui.h:1619
~ImGuiListClipper()
Definition: imgui.h:1732
ImVector< ImDrawIdx > IdxBuffer
Definition: imgui.h:1898
static float GetContentRegionAvailWidth()
Definition: imgui.h:1571
ImGuiStoragePair(ImGuiID _key, float _val_f)
Definition: imgui.h:1674
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:1434
T * erase(const T *it)
Definition: imgui.h:1286
ImVector< ImDrawCmd > _CmdBuffer
Definition: imgui.h:1843
float NavInputsDownDuration[ImGuiNavInput_COUNT]
Definition: imgui.h:1480
IMGUI_API float GetFrameHeightWithSpacing()
IMGUI_API bool PassFilter(const char *text, const char *text_end=NULL) const
IMGUI_API bool VSliderInt(const char *label, const ImVec2 &size, int *v, int v_min, int v_max, const char *format="%d")
IMGUI_API bool IsKeyReleased(int user_key_index)
int TexHeight
Definition: imgui.h:2177
void Clear()
Definition: imgui.h:1857
void PrimVtx(const ImVec2 &pos, const ImVec2 &uv, ImU32 col)
Definition: imgui.h:1984
ImVec2 GetClipRectMin() const
Definition: imgui.h:1922
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:1309
bool ConfigWindowsResizeFromEdges
Definition: imgui.h:1384
bool IsDelivery() const
Definition: imgui.h:1555
float MouseWheel
Definition: imgui.h:1429
IMGUI_API void SetNextWindowSize(const ImVec2 &size, ImGuiCond cond=0)
float MouseDoubleClickMaxDist
Definition: imgui.h:1367
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:2070
T & back()
Definition: imgui.h:1272
ImGuiInputTextFlags Flags
Definition: imgui.h:1502
ImVector< ImDrawIdx > _IdxBuffer
Definition: imgui.h:1844
void clear()
Definition: imgui.h:1650
void IM_DELETE(T *p)
Definition: imgui.h:1227
IMGUI_API float GetScrollX()
int TotalVtxCount
Definition: imgui.h:1998
IMGUI_API ImVec2 GetMouseDragDelta(int button=0, float lock_threshold=-1.0f)
IMGUI_API void ShowUserGuide()
ImVec2 DisplayPos
Definition: imgui.h:1999
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", float power=1.0f)
static void SetNextWindowContentWidth(float w)
Definition: imgui.h:1591
void * UserData
Definition: imgui.h:1372
int size() const
Definition: imgui.h:1259
ImVec2 MousePosPrev
Definition: imgui.h:1466
const T * find(const T &v) const
Definition: imgui.h:1292
float x
Definition: imgui.h:187
ImGuiSelectableFlags_
Definition: imgui.h:820
float DeltaTime
Definition: imgui.h:1362
ImGuiComboFlags_
Definition: imgui.h:831
ImFontGlyphRangesBuilder()
Definition: imgui.h:2056
IMGUI_API void EndFrame()
int TexDesiredWidth
Definition: imgui.h:2169
IMGUI_API bool IsMouseClicked(int button, bool repeat=false)
bool IsPacked() const
Definition: imgui.h:2076
void swap(ImVector< T > &rhs)
Definition: imgui.h:1274
IMGUI_API ImVec2 GetMousePos()
ImDrawListFlags Flags
Definition: imgui.h:1900
IMGUI_API void CaptureMouseFromApp(bool want_capture_mouse_value=true)
bool ConfigMacOSXBehaviors
Definition: imgui.h:1382
bool AntiAliasedFill
Definition: imgui.h:1339
ImWchar EllipsisChar
Definition: imgui.h:2033
IMGUI_API bool ShowStyleSelector(const char *label)
#define IM_COL32_R_SHIFT
Definition: imgui.h:1747
ImDrawCornerFlags_
Definition: imgui.h:1864
const ImFontConfig * ConfigData
Definition: imgui.h:2208
void resize(int new_size, const T &v)
Definition: imgui.h:1278
IMGUI_API void ScaleAllSizes(float scale_factor)
IMGUI_API bool IsItemActivated()
Definition: imgui_internal.h:959
int ImGuiSelectableFlags
Definition: imgui.h:157
IMGUI_API bool OpenPopupOnItemClick(const char *str_id=NULL, int mouse_button=1)
int _Count
Definition: imgui.h:1852
ImGuiDir_
Definition: imgui.h:937
bool WantTextInput
Definition: imgui.h:1449
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:1511
ImVec2 pos
Definition: imgui.h:1828
IMGUI_API ImVec2 GetCursorPos()
IMGUI_API ImFont * GetFont()
IMGUI_API bool BeginDragDropTarget()
int MetricsActiveWindows
Definition: imgui.h:1458
unsigned long long ImU64
Definition: imgui.h:181
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, float power=1.0f)
int(* ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data)
Definition: imgui.h:162
ImVec2 DisplayPosOffset
Definition: imgui.h:1424
bool ConfigInputTextCursorBlink
Definition: imgui.h:1383
IMGUI_API bool IsWindowHovered(ImGuiHoveredFlags flags=0)
bool MouseDoubleClicked[5]
Definition: imgui.h:1470
IMGUI_API void SetNextItemOpen(bool is_open, ImGuiCond cond=0)
IMGUI_API void ShowFontSelector(const char *label)
short ConfigDataCount
Definition: imgui.h:2209
int Size
Definition: imgui.h:1243
IMGUI_API void SetColumnOffset(int column_index, float offset_x)
float PopupRounding
Definition: imgui.h:1316
IMGUI_API void Dummy(const ImVec2 &size)
ImVec4(float _x, float _y, float _z, float _w)
Definition: imgui.h:202
float y
Definition: imgui.h:187
IMGUI_API void ShowStyleEditor(ImGuiStyle *ref=NULL)
unsigned short ImU16
Definition: imgui.h:169
int MetricsRenderIndices
Definition: imgui.h:1456
void AddChar(ImWchar c)
Definition: imgui.h:2060
IMGUI_API void appendfv(const char *fmt, va_list args) IM_FMTLIST(2)
bool IsDataType(const char *type) const
Definition: imgui.h:1553
int ImGuiCol
Definition: imgui.h:138
IMGUI_API void TextWrappedV(const char *fmt, va_list args) IM_FMTLIST(1)
void Clear()
Definition: imgui.h:2006
char operator[](int i) const
Definition: imgui.h:1645
int ImGuiNavInput
Definition: imgui.h:143
bool contains(const T &v) const
Definition: imgui.h:1290
ImColor(int r, int g, int b, int a=255)
Definition: imgui.h:1767
IMGUI_API float GetColumnOffset(int column_index=-1)
voidpf uLong offset
Definition: ioapi.h:42
IMGUI_API bool BeginMenuBar()
IMGUI_API bool SliderFloat(const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
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", float power=1.0f)
IMGUI_API int GetFrameCount()
IMGUI_API void EndTabBar()
IMGUI_API bool IsRectVisible(const ImVec2 &size)
ImGuiDir ColorButtonPosition
Definition: imgui.h:1332
const T * end() const
Definition: imgui.h:1269
IMGUI_API void Indent(float indent_w=0.0f)
int BufSize
Definition: imgui.h:1512
IMGUI_API void SetColumnWidth(int column_index, float width)
ImGuiInputTextFlags_
Definition: imgui.h:765
IMGUI_API ImVec2 GetWindowContentRegionMin()
IMGUI_API void ListBoxFooter()
IMGUI_API void SetCurrentContext(ImGuiContext *ctx)
IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat=true)
bool MouseDownWasDoubleClick[5]
Definition: imgui.h:1473
IMGUI_API bool IsAnyItemFocused()
static void SetScrollHere(float center_ratio=0.5f)
Definition: imgui.h:1575
IMGUI_API bool Checkbox(const char *label, bool *v)
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)
ImVec2 TouchExtraPadding
Definition: imgui.h:1323
#define X(a)
Definition: DtSharedSimulationSettings.h:46
IMGUI_API bool BeginPopupModal(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
ImFontAtlas * Fonts
Definition: imgui.h:1374
IMGUI_API bool TreeNodeEx(const char *label, ImGuiTreeNodeFlags flags=0)
IMGUI_API const char * SaveIniSettingsToMemory(size_t *out_ini_size=NULL)
static ImVec2 CalcItemRectClosestPoint(const ImVec2 &pos, bool on_edge=false, float outward=0.f)
Definition: imgui.h:1586
ImVec2 WindowPadding
Definition: imgui.h:1308
T * erase(const T *it, const T *it_last)
Definition: imgui.h:1287
T * erase_unsorted(const T *it)
Definition: imgui.h:1288
ImGuiTabItemFlags_
Definition: imgui.h:861
IMGUI_API float GetCursorPosY()
IMGUI_API void PushStyleVar(ImGuiStyleVar idx, float val)
IMGUI_API ImVec2 GetItemRectSize()
const char * b
Definition: imgui.h:1624
float GlyphAdvanceX
Definition: imgui.h:2072
void PathLineToMergeDuplicate(const ImVec2 &pos)
Definition: imgui.h:1954
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, float power=1.0f)
int SelectionEnd
Definition: imgui.h:1516
IMGUI_API bool Selectable(const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
ImGuiStyleVar_
Definition: imgui.h:1101
float MouseDragThreshold
Definition: imgui.h:1368
ImGuiBackendFlags BackendFlags
Definition: imgui.h:1360
int size() const
Definition: imgui.h:1648
ImVec2 Pos
Definition: imgui.h:1531
ImGuiConfigFlags ConfigFlags
Definition: imgui.h:1359
IMGUI_API bool InputInt(const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
T * begin()
Definition: imgui.h:1266
int CountGrep
Definition: imgui.h:1634
bool DirtyLookupTables
Definition: imgui.h:2215
IMGUI_API void BulletText(const char *fmt,...) IM_FMTARGS(1)
int MetricsActiveAllocations
Definition: imgui.h:1459
T value_type
Definition: imgui.h:1248
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")
void * ImTextureID
Definition: imgui.h:129
ImDrawListSplitter _Splitter
Definition: imgui.h:1912
IMGUI_API float GetTextLineHeightWithSpacing()
IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond=0)
ImVector< ImGuiTextRange > Filters
Definition: imgui.h:1633
IMGUI_API float GetFontSize()
IMGUI_API ImVec2 GetWindowPos()
ImWchar FallbackChar
Definition: imgui.h:2210
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", float power=1.0f)
ImGuiFocusedFlags_
Definition: imgui.h:871
IMGUI_API bool ArrowButton(const char *str_id, ImGuiDir dir)
float ChildRounding
Definition: imgui.h:1314
IMGUI_API bool IsWindowAppearing()
static float GetItemsLineHeightWithSpacing()
Definition: imgui.h:1592
IMGUI_API void EndDragDropTarget()
ImVector< char > Buf
Definition: imgui.h:1641
#define IM_COL32_WHITE
Definition: imgui.h:1754
IMGUI_API ImVec2 GetFontTexUvWhitePixel()
IMGUI_API void SetWindowFocus()
void SetTexID(ImTextureID id)
Definition: imgui.h:2127
IMGUI_API float GetWindowWidth()
ImGuiOnceUponAFrame()
Definition: imgui.h:1606
ImGuiHoveredFlags_
Definition: imgui.h:883
IMGUI_API void PopStyleColor(int count=1)
IMGUI_API int GetKeyIndex(ImGuiKey imgui_key)
IMGUI_API void EndMainMenuBar()
bool WantCaptureKeyboard
Definition: imgui.h:1448
float GrabRounding
Definition: imgui.h:1329
bool Locked
Definition: imgui.h:2166
static bool IsRootWindowOrAnyChildFocused()
Definition: imgui.h:1590
const char * BackendPlatformName
Definition: imgui.h:1394
IMGUI_API bool SliderInt4(const char *label, int v[4], int v_min, int v_max, const char *format="%d")
int KeyMap[ImGuiKey_COUNT]
Definition: imgui.h:1369
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)
bool IsBuilt() const
Definition: imgui.h:2126
ImFont * FontDefault
Definition: imgui.h:1377
int size_in_bytes() const
Definition: imgui.h:1260
float operator[](size_t idx) const
Definition: imgui.h:190
char InputBuf[256]
Definition: imgui.h:1632