31 #error Must include imgui.h before imgui_internal.h
41 #pragma warning (push)
42 #pragma warning (disable: 4251) // class 'xxx' needs to have dll-interface to be used by clients of struct 'xxx' // when IMGUI_API is set to__declspec(dllexport)
46 #if defined(__clang__)
47 #pragma clang diagnostic push
48 #pragma clang diagnostic ignored "-Wunused-function" // for stb_textedit.h
49 #pragma clang diagnostic ignored "-Wmissing-prototypes" // for stb_textedit.h
50 #pragma clang diagnostic ignored "-Wold-style-cast"
51 #if __has_warning("-Wzero-as-null-pointer-constant")
52 #pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
54 #if __has_warning("-Wdouble-promotion")
55 #pragma clang diagnostic ignored "-Wdouble-promotion"
57 #elif defined(__GNUC__)
58 #pragma GCC diagnostic push
59 #pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
60 #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
64 #ifdef IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS // Renamed in 1.74
65 #error Use IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS
67 #ifdef IMGUI_DISABLE_MATH_FUNCTIONS // Renamed in 1.74
68 #error Use IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS
123 #undef STB_TEXTEDIT_STRING
124 #undef STB_TEXTEDIT_CHARTYPE
125 #define STB_TEXTEDIT_STRING ImGuiInputTextState
126 #define STB_TEXTEDIT_CHARTYPE ImWchar
127 #define STB_TEXTEDIT_GETWIDTH_NEWLINE -1.0f
128 #define STB_TEXTEDIT_UNDOSTATECOUNT 99
129 #define STB_TEXTEDIT_UNDOCHARCOUNT 999
147 #ifndef IMGUI_DEBUG_LOG
148 #define IMGUI_DEBUG_LOG(_FMT,...) printf("[%05d] " _FMT, GImGui->FrameCount, __VA_ARGS__)
152 #if (__cplusplus >= 201100)
153 #define IM_STATIC_ASSERT(_COND) static_assert(_COND, "")
155 #define IM_STATIC_ASSERT(_COND) typedef char static_assertion_##__line__[(_COND)?1:-1]
159 #define IMGUI_DEBUG_PARANOID 0
160 #if IMGUI_DEBUG_PARANOID
161 #define IM_ASSERT_PARANOID(_EXPR) IM_ASSERT(_EXPR)
163 #define IM_ASSERT_PARANOID(_EXPR)
168 #ifndef IM_ASSERT_USER_ERROR
169 #define IM_ASSERT_USER_ERROR(_EXP,_MSG) IM_ASSERT((_EXP) && (_MSG)) // Recoverable User Error
173 #define IM_PI 3.14159265358979323846f
175 #define IM_NEWLINE "\r\n" // Play it nice with Windows users (Update: since 2018-05, Notepad finally appears to support Unix-style carriage returns!)
177 #define IM_NEWLINE "\n"
179 #define IM_TABSIZE (4)
180 #define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // Unsaturated, for display purpose
181 #define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255
182 #define IM_FLOOR(_VAL) ((float)(int)(_VAL)) // ImFloor() is not inlined in MSVC debug builds
183 #define IM_ROUND(_VAL) ((float)(int)((_VAL) + 0.5f)) //
187 #define IMGUI_CDECL __cdecl
208 #define ImQsort qsort
211 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
216 static inline bool ImIsPowerOfTwo(
int v) {
return v != 0 && (v & (v - 1)) == 0; }
217 static inline int ImUpperPowerOfTwo(
int v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++;
return v; }
229 IMGUI_API const char*
ImStristr(
const char* haystack,
const char* haystack_end,
const char* needle,
const char* needle_end);
239 static inline bool ImCharIsBlankW(
unsigned int c) {
return c ==
' ' || c ==
'\t' || c == 0x3000; }
252 #ifdef IMGUI_DEFINE_MATH_OPERATORS
253 static inline ImVec2 operator*(
const ImVec2& lhs,
const float rhs) {
return ImVec2(lhs.
x*rhs, lhs.
y*rhs); }
254 static inline ImVec2 operator/(
const ImVec2& lhs,
const float rhs) {
return ImVec2(lhs.
x/rhs, lhs.
y/rhs); }
259 static inline ImVec2& operator+=(
ImVec2& lhs,
const ImVec2& rhs) { lhs.
x += rhs.
x; lhs.
y += rhs.
y;
return lhs; }
260 static inline ImVec2& operator-=(
ImVec2& lhs,
const ImVec2& rhs) { lhs.
x -= rhs.
x; lhs.
y -= rhs.
y;
return lhs; }
261 static inline ImVec2& operator*=(
ImVec2& lhs,
const float rhs) { lhs.
x *= rhs; lhs.
y *= rhs;
return lhs; }
262 static inline ImVec2& operator/=(
ImVec2& lhs,
const float rhs) { lhs.
x /= rhs; lhs.
y /= rhs;
return lhs; }
269 #if defined(__EMSCRIPTEN__) && !defined(IMGUI_DISABLE_FILE_FUNCTIONS)
270 #define IMGUI_DISABLE_FILE_FUNCTIONS
272 #ifdef IMGUI_DISABLE_FILE_FUNCTIONS
273 #define IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS
282 #ifndef IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS
290 #define IMGUI_DISABLE_TTY_FUNCTIONS // Can't use stdout, fflush if we are not using default file functions
296 #ifndef IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS
297 static inline float ImFabs(
float x) {
return fabsf(x); }
298 static inline float ImSqrt(
float x) {
return sqrtf(x); }
299 static inline float ImPow(
float x,
float y) {
return powf(x, y); }
300 static inline double ImPow(
double x,
double y) {
return pow(x, y); }
301 static inline float ImFmod(
float x,
float y) {
return fmodf(x, y); }
302 static inline double ImFmod(
double x,
double y) {
return fmod(x, y); }
303 static inline float ImCos(
float x) {
return cosf(x); }
304 static inline float ImSin(
float x) {
return sinf(x); }
305 static inline float ImAcos(
float x) {
return acosf(x); }
306 static inline float ImAtan2(
float y,
float x) {
return atan2f(y, x); }
307 static inline double ImAtof(
const char* s) {
return atof(s); }
308 static inline float ImFloorStd(
float x) {
return floorf(x); }
309 static inline float ImCeil(
float x) {
return ceilf(x); }
313 template<
typename T>
static inline T
ImMin(T lhs, T rhs) {
return lhs < rhs ? lhs : rhs; }
314 template<
typename T>
static inline T
ImMax(T lhs, T rhs) {
return lhs >= rhs ? lhs : rhs; }
315 template<
typename T>
static inline T
ImClamp(T v, T mn, T mx) {
return (v < mn) ? mn : (v > mx) ? mx : v; }
316 template<
typename T>
static inline T
ImLerp(T a, T b,
float t) {
return (T)(a + (b - a) * t); }
317 template<
typename T>
static inline void ImSwap(T& a, T& b) { T tmp = a; a = b; b = tmp; }
318 template<
typename T>
static inline T
ImAddClampOverflow(T a, T b, T mn, T mx) {
if (b < 0 && (a < mn - b))
return mn;
if (b > 0 && (a > mx - b))
return mx;
return a + b; }
319 template<
typename T>
static inline T
ImSubClampOverflow(T a, T b, T mn, T mx) {
if (b > 0 && (a < mn + b))
return mn;
if (b < 0 && (a > mx + b))
return mx;
return a - b; }
327 static inline float ImSaturate(
float f) {
return (f < 0.0f) ? 0.0f : (f > 1.0f) ? 1.0f : f; }
330 static inline float ImInvLength(
const ImVec2& lhs,
float fail_value) {
float d = lhs.
x*lhs.
x + lhs.
y*lhs.
y;
if (d > 0.0f)
return 1.0f /
ImSqrt(d);
return fail_value; }
331 static inline float ImFloor(
float f) {
return (
float)(
int)(f); }
336 static inline float ImLinearSweep(
float current,
float target,
float speed) {
if (current < target)
return ImMin(current + speed, target);
if (current > target)
return ImMax(current - speed, target);
return current; }
353 void Resize(
int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (
size_t)Storage.Size *
sizeof(Storage.Data[0])); }
355 bool GetBit(
int n)
const {
int off = (n >> 5);
int mask = 1 << (n & 31);
return (Storage[off] & mask) != 0; }
356 void SetBit(
int n,
bool v) {
int off = (n >> 5);
int mask = 1 << (n & 31);
if (v) Storage[off] |= mask;
else Storage[off] &= ~mask; }
372 T*
GetByKey(
ImGuiID key) {
int idx = Map.GetInt(key, -1);
return (idx != -1) ? &Buf[idx] : NULL; }
374 ImPoolIdx
GetIndex(
const T* p)
const {
IM_ASSERT(p >= Buf.Data && p < Buf.Data + Buf.Size);
return (ImPoolIdx)(p - Buf.Data); }
375 T*
GetOrAddByKey(
ImGuiID key) {
int* p_idx = Map.GetIntRef(key, -1);
if (*p_idx != -1)
return &Buf[*p_idx]; *p_idx = FreeIdx;
return Add(); }
376 bool Contains(
const T* p)
const {
return (p >= Buf.Data && p < Buf.Data + Buf.Size); }
377 void Clear() {
for (
int n = 0; n < Map.Data.Size; n++) {
int idx = Map.Data[n].val_i;
if (idx != -1) Buf[idx].~T(); } Map.Clear(); Buf.clear(); FreeIdx = 0; }
378 T*
Add() {
int idx = FreeIdx;
if (idx == Buf.Size) { Buf.resize(Buf.Size + 1); FreeIdx++; }
else { FreeIdx = *(
int*)&Buf[idx]; }
IM_PLACEMENT_NEW(&Buf[idx]) T();
return &Buf[idx]; }
380 void Remove(
ImGuiID key, ImPoolIdx idx) { Buf[idx].~T(); *(
int*)&Buf[idx] = FreeIdx; FreeIdx = idx; Map.SetInt(key, -1); }
381 void Reserve(
int capacity) { Buf.reserve(capacity); Map.Data.reserve(capacity); }
396 bool empty()
const {
return Buf.Size == 0; }
397 int size()
const {
return Buf.Size; }
398 T*
alloc_chunk(
size_t sz) {
size_t HDR_SZ = 4; sz = ((HDR_SZ + sz) + 3u) & ~3u;
int off = Buf.
Size; Buf.resize(off + (
int)sz); ((
int*)(
void*)(Buf.Data + off))[0] = (
int)sz;
return (T*)(
void*)(Buf.Data + off + (
int)HDR_SZ); }
399 T*
begin() {
size_t HDR_SZ = 4;
if (!Buf.Data)
return NULL;
return (T*)(
void*)(Buf.Data + HDR_SZ); }
400 T*
next_chunk(T* p) {
size_t HDR_SZ = 4;
IM_ASSERT(p >= begin() && p < end()); p = (T*)(
void*)((
char*)(
void*)p + chunk_size(p));
if (p == (T*)(
void*)((
char*)end() + HDR_SZ))
return (T*)0;
IM_ASSERT(p < end());
return p; }
402 T*
end() {
return (T*)(
void*)(Buf.Data + Buf.Size); }
403 int offset_from_ptr(
const T* p) {
IM_ASSERT(p >= begin() && p < end());
const ptrdiff_t off = (
const char*)p - Buf.Data; return (
int)off; }
507 #ifdef IMGUI_ENABLE_TEST_ENGINE
509 ImGuiItemStatusFlags_Openable = 1 << 10,
510 ImGuiItemStatusFlags_Opened = 1 << 11,
511 ImGuiItemStatusFlags_Checkable = 1 << 12,
512 ImGuiItemStatusFlags_Checked = 1 << 13
646 ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {}
649 ImRect(
float x1,
float y1,
float x2,
float y2) : Min(x1, y1), Max(x2, y2) {}
659 bool Contains(
const ImVec2& p)
const {
return p.
x >= Min.x && p.
y >= Min.y && p.
x < Max.x && p.
y < Max.y; }
662 void Add(
const ImVec2& p) {
if (Min.x > p.
x) Min.x = p.
x;
if (Min.y > p.
y) Min.y = p.
y;
if (Max.x < p.
x) Max.x = p.
x;
if (Max.y < p.
y) Max.y = p.
y; }
664 void Expand(
const float amount) { Min.x -= amount; Min.y -= amount; Max.x += amount; Max.y += amount; }
665 void Expand(
const ImVec2& amount) { Min.x -= amount.
x; Min.y -= amount.
y; Max.x += amount.
x; Max.y += amount.
y; }
672 bool IsInverted()
const {
return Min.x > Max.x || Min.y > Max.y; }
719 float Pos[3], NextWidths[3];
722 void Update(
int count,
float spacing,
bool clear);
723 float DeclColumns(
float w0,
float w1,
float w2);
724 float CalcExtraSpace(
float avail_w)
const;
747 void ClearText() { CurLenW = CurLenA = 0; TextW[0] = 0; TextA[0] = 0; CursorClamp(); }
751 void OnKeyPressed(
int key);
755 void CursorClamp() { Stb.cursor =
ImMin(Stb.cursor, CurLenW); Stb.select_start =
ImMin(Stb.select_start, CurLenW); Stb.select_end =
ImMin(Stb.select_end, CurLenW); }
756 bool HasSelection()
const {
return Stb.select_start != Stb.select_end; }
758 void SelectAll() { Stb.select_start = 0; Stb.cursor = Stb.select_end = CurLenW; Stb.has_preferred_x = 0; }
1341 short StackSizesBackup[6];
1350 CursorPos = CursorPosPrevLine = CursorStartPos = CursorMaxPos =
ImVec2(0.0f, 0.0f);
1351 CurrLineSize = PrevLineSize =
ImVec2(0.0f, 0.0f);
1352 CurrLineTextBaseOffset = PrevLineTextBaseOffset = 0.0f;
1354 TreeMayJumpToParentOnPopMask = 0x00;
1356 LastItemStatusFlags = 0;
1357 LastItemRect = LastItemDisplayRect =
ImRect();
1358 NavLayerActiveMask = NavLayerActiveMaskNext = 0x00;
1361 NavHideHighlightOneFrame =
false;
1362 NavHasScroll =
false;
1363 MenuBarAppending =
false;
1364 MenuBarOffset =
ImVec2(0.0f, 0.0f);
1365 StateStorage = NULL;
1367 FocusCounterAll = FocusCounterTab = -1;
1371 TextWrapPos = -1.0f;
1372 memset(StackSizesBackup, 0,
sizeof(StackSizesBackup));
1375 GroupOffset =
ImVec1(0.0f);
1376 ColumnsOffset =
ImVec1(0.0f);
1377 CurrentColumns = NULL;
1470 ImGuiID GetID(
const char* str,
const char* str_end = NULL);
1473 ImGuiID GetIDNoKeepAlive(
const char* str,
const char* str_end = NULL);
1474 ImGuiID GetIDNoKeepAlive(
const void* ptr);
1475 ImGuiID GetIDNoKeepAlive(
int n);
1484 ImRect MenuBarRect()
const {
float y1 = Pos.y + TitleBarHeight();
return ImRect(Pos.x, y1, Pos.x + SizeFull.x, y1 + MenuBarHeight()); }
1748 #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1779 template<
typename T,
typename SIGNED_T,
typename FLOAT_T>
IMGUI_API bool SliderBehaviorT(
const ImRect& bb,
ImGuiID id,
ImGuiDataType data_type, T* v, T v_min, T v_max,
const char* format,
float power,
ImGuiSliderFlags flags,
ImRect* out_grab_bb);
1800 IMGUI_API void PlotEx(
ImGuiPlotType plot_type,
const char* label,
float (*values_getter)(
void* data,
int idx),
void* data,
int values_count,
int values_offset,
const char* overlay_text,
float scale_min,
float scale_max,
ImVec2 frame_size);
1823 #ifndef IM_DEBUG_BREAK
1824 #if defined(__clang__)
1825 #define IM_DEBUG_BREAK() __builtin_debugtrap()
1826 #elif defined (_MSC_VER)
1827 #define IM_DEBUG_BREAK() __debugbreak()
1829 #define IM_DEBUG_BREAK() IM_ASSERT(0) // It is expected that you define IM_DEBUG_BREAK() into something that will break nicely in a debugger!
1831 #endif // #ifndef IM_DEBUG_BREAK
1835 #ifdef IMGUI_ENABLE_TEST_ENGINE
1836 extern void ImGuiTestEngineHook_PreNewFrame(
ImGuiContext* ctx);
1837 extern void ImGuiTestEngineHook_PostNewFrame(
ImGuiContext* ctx);
1840 extern void ImGuiTestEngineHook_Log(
ImGuiContext* ctx,
const char* fmt, ...);
1841 #define IMGUI_TEST_ENGINE_ITEM_ADD(_BB, _ID) ImGuiTestEngineHook_ItemAdd(&g, _BB, _ID) // Register item bounding box
1842 #define IMGUI_TEST_ENGINE_ITEM_INFO(_ID, _LABEL, _FLAGS) ImGuiTestEngineHook_ItemInfo(&g, _ID, _LABEL, _FLAGS) // Register item label and status flags (optional)
1843 #define IMGUI_TEST_ENGINE_LOG(_FMT, ...) ImGuiTestEngineHook_Log(&g, _FMT, __VA_ARGS__) // Custom log entry from user land into test log
1845 #define IMGUI_TEST_ENGINE_ITEM_ADD(_BB, _ID) do { } while (0)
1846 #define IMGUI_TEST_ENGINE_ITEM_INFO(_ID, _LABEL, _FLAGS) do { } while (0)
1847 #define IMGUI_TEST_ENGINE_LOG(_FMT, ...) do { } while (0)
1850 #if defined(__clang__)
1851 #pragma clang diagnostic pop
1852 #elif defined(__GNUC__)
1853 #pragma GCC diagnostic pop
1857 #pragma warning (pop)
Definition: imgui_internal.h:577
float CursorAnim
Definition: imgui_internal.h:739
Definition: imgui_internal.h:922
ImVector< ImGuiColumnData > Columns
Definition: imgui_internal.h:825
~ImPool()
Definition: imgui_internal.h:371
ImVector< ImGuiGroupData > GroupStack
Definition: imgui_internal.h:1340
float LastActiveIdTimer
Definition: imgui_internal.h:1017
ImGuiInputTextFlags UserFlags
Definition: imgui_internal.h:742
IMGUI_API void ColorPickerOptionsPopup(const float *ref_col, ImGuiColorEditFlags flags)
ImRect InnerRect
Definition: imgui_internal.h:1436
Definition: imgui_internal.h:1534
Definition: imgui_internal.h:845
Definition: imgui_internal.h:418
Definition: imgui_internal.h:487
ImGuiWindow * NavWindowingTargetAnim
Definition: imgui_internal.h:1045
IMGUI_API void BringWindowToDisplayBack(ImGuiWindow *window)
bool NavHasScroll
Definition: imgui_internal.h:1323
IMGUI_API bool IsItemToggledSelection()
static float ImAcos(float x)
Definition: imgui_internal.h:305
void CursorClamp()
Definition: imgui_internal.h:755
ImVec2 CursorPosPrevLine
Definition: imgui_internal.h:1305
IMGUI_API void TabBarQueueChangeTabOrder(ImGuiTabBar *tab_bar, const ImGuiTabItem *tab, int dir)
ImGuiTabBarFlagsPrivate_
Definition: imgui_internal.h:1505
static float ImAtan2(float y, float x)
Definition: imgui_internal.h:306
ImGuiStyleMod(ImGuiStyleVar idx, ImVec2 v)
Definition: imgui_internal.h:697
float Spacing
Definition: imgui_internal.h:717
float FramerateSecPerFrame[120]
Definition: imgui_internal.h:1158
ImVec2 PrevLineSize
Definition: imgui_internal.h:1309
IMGUI_API const char * ImStreolRange(const char *str, const char *str_end)
ImVec2 PlatformImeLastPos
Definition: imgui_internal.h:1133
int FocusCounterAll
Definition: imgui_internal.h:1330
ImGuiWindow * Window
Definition: imgui_internal.h:874
ImGuiID DragDropAcceptIdPrev
Definition: imgui_internal.h:1100
T * end()
Definition: imgui_internal.h:402
int GetUndoAvailCount() const
Definition: imgui_internal.h:749
ImGuiNextItemDataFlags Flags
Definition: imgui_internal.h:927
int FrameCount
Definition: imgui_internal.h:970
static bool ImCharIsBlankW(unsigned int c)
Definition: imgui_internal.h:239
unsigned int ImU32
Definition: imgui.h:171
char TempBuffer[1024 *3+1]
Definition: imgui_internal.h:1164
unsigned char DragDropPayloadBufLocal[16]
Definition: imgui_internal.h:1103
bool ScrollbarY
Definition: imgui_internal.h:1403
ImVector< ImGuiWindow * > CurrentWindowStack
Definition: imgui_internal.h:981
ImGuiInputSource ActiveIdSource
Definition: imgui_internal.h:1011
IMGUI_API void RenderArrowPointingAt(ImDrawList *draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col)
ImGuiInputSource
Definition: imgui_internal.h:553
void SetBit(int n, bool v)
Definition: imgui_internal.h:356
int FocusRequestCurrCounterTab
Definition: imgui_internal.h:1075
ImGuiStyleMod(ImGuiStyleVar idx, int v)
Definition: imgui_internal.h:695
ImRect MenuBarRect() const
Definition: imgui_internal.h:1484
ImChunkStream< ImGuiWindowSettings > SettingsWindows
Definition: imgui_internal.h:1140
ImGuiID HoveredIdPreviousFrame
Definition: imgui_internal.h:995
ImGuiID DebugItemPickerBreakID
Definition: imgui_internal.h:1155
void Add(const ImRect &r)
Definition: imgui_internal.h:663
Definition: imgui_internal.h:578
IMGUI_API void ClearDragDrop()
ImGuiCond CollapsedCond
Definition: imgui_internal.h:902
IMGUI_API void NavMoveRequestCancel()
IMGUI_API void RenderTextEllipsis(ImDrawList *draw_list, const ImVec2 &pos_min, const ImVec2 &pos_max, float clip_max_x, float ellipsis_max_x, const char *text, const char *text_end, const ImVec2 *text_size_if_known)
float DragSpeedDefaultRatio
Definition: imgui_internal.h:1122
ImVec2 PosPivotVal
Definition: imgui_internal.h:904
ImGuiSeparatorFlags_
Definition: imgui_internal.h:472
bool NavMoveFromClampedRefRect
Definition: imgui_internal.h:1061
ImRect ClipRect
Definition: imgui_internal.h:806
ImGuiMenuColumns MenuColumns
Definition: imgui_internal.h:1445
float OffsetNorm
Definition: imgui_internal.h:803
T * GetByIndex(ImPoolIdx n)
Definition: imgui_internal.h:373
ImRect TitleBarRect() const
Definition: imgui_internal.h:1482
void * SizeCallbackUserData
Definition: imgui_internal.h:910
float OffMinX
Definition: imgui_internal.h:819
float ColorEditLastHue
Definition: imgui_internal.h:1117
Definition: imgui_internal.h:535
ImGuiLayoutType LayoutType
Definition: imgui_internal.h:1328
IMGUI_API bool CloseButton(ImGuiID id, const ImVec2 &pos)
Definition: imgui_internal.h:586
ImGuiID NavActivatePressedId
Definition: imgui_internal.h:1035
bool WantLayout
Definition: imgui_internal.h:1555
int offset_from_ptr(const T *p)
Definition: imgui_internal.h:403
Definition: imgui_internal.h:519
ImVector< ImGuiPopupData > BeginPopupStack
Definition: imgui_internal.h:1028
ImGuiID DragDropAcceptIdCurr
Definition: imgui_internal.h:1099
ImGuiItemStatusFlags LastItemStatusFlags
Definition: imgui_internal.h:1315
IMGUI_API void RenderMouseCursor(ImDrawList *draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow)
Definition: imgui_internal.h:764
bool BackupActiveIdPreviousFrameIsAlive
Definition: imgui_internal.h:710
ImVec2 GetTR() const
Definition: imgui_internal.h:656
bool IsNavInputTest(ImGuiNavInput n, ImGuiInputReadMode rm)
Definition: imgui_internal.h:1696
const char * TypeName
Definition: imgui_internal.h:777
T * Data
Definition: imgui.h:1245
int index_from_ptr(const T *it) const
Definition: imgui.h:1295
int Index
Definition: imgui_internal.h:949
ImGuiNavMoveFlags NavMoveRequestFlags
Definition: imgui_internal.h:1063
float x
Definition: imgui.h:200
ImGuiTabItem()
Definition: imgui_internal.h:1530
float FontSize
Definition: imgui_internal.h:966
int HiddenFramesCanSkipItems
Definition: imgui_internal.h:1422
Definition: imgui_internal.h:889
bool Hidden
Definition: imgui_internal.h:1411
Definition: imgui_internal.h:613
Definition: imgui_internal.h:568
void Clear()
Definition: imgui_internal.h:828
Definition: imgui_internal.h:391
Definition: imgui_internal.h:503
int WantCaptureMouseNextFrame
Definition: imgui_internal.h:1161
ImGuiID LastItemId
Definition: imgui_internal.h:1314
int NavLayerActiveMask
Definition: imgui_internal.h:1320
ImGuiDragDropFlags DragDropAcceptFlags
Definition: imgui_internal.h:1097
bool CursorFollow
Definition: imgui_internal.h:740
bool Active
Definition: imgui_internal.h:1404
ImGuiCond OpenCond
Definition: imgui_internal.h:930
ImGuiID GetItemID()
Definition: imgui_internal.h:1631
Definition: imgui_internal.h:447
ImGuiPayload DragDropPayload
Definition: imgui_internal.h:1094
ImGuiLogType LogType
Definition: imgui_internal.h:1144
ImVec2 ActiveIdClickOffset
Definition: imgui_internal.h:1009
bool IsBeingResized
Definition: imgui_internal.h:816
IMGUI_API ImGuiID GetHoveredID()
Definition: imgui_internal.h:543
signed char ImS8
Definition: imgui.h:166
void clear()
Definition: imgui.h:1265
int ImGuiNextItemDataFlags
Definition: imgui_internal.h:110
#define IM_FMTLIST(FMT)
Definition: imgui.h:77
ImGuiColumns * CurrentColumns
Definition: imgui_internal.h:1346
float OffsetNextTab
Definition: imgui_internal.h:1547
Definition: imgui_internal.h:425
ImRect Rect() const
Definition: imgui_internal.h:1479
IMGUI_API void LogBegin(ImGuiLogType type, int auto_open_depth)
Definition: imgui_internal.h:890
IMGUI_API void UpdateWindowParentAndRootLinks(ImGuiWindow *window, ImGuiWindowFlags flags, ImGuiWindow *parent_window)
ImGuiID NavActivateId
Definition: imgui_internal.h:1033
Definition: imgui_internal.h:891
void(* ReadLineFn)(ImGuiContext *ctx, ImGuiSettingsHandler *handler, void *entry, const char *line)
Definition: imgui_internal.h:780
IMGUI_API void RenderTextClipped(const ImVec2 &pos_min, const ImVec2 &pos_max, const char *text, const char *text_end, const ImVec2 *text_size_if_known, const ImVec2 &align=ImVec2(0, 0), const ImRect *clip_rect=NULL)
float DragCurrentAccum
Definition: imgui_internal.h:1121
ImVec2 Scroll
Definition: imgui_internal.h:1398
IMGUI_API void TabBarRemoveTab(ImGuiTabBar *tab_bar, ImGuiID tab_id)
ImGuiNavMoveResult NavMoveResultLocalVisibleSet
Definition: imgui_internal.h:1068
bool FocusTabPressed
Definition: imgui_internal.h:1078
IMGUI_API float GetColumnNormFromOffset(const ImGuiColumns *columns, float offset)
int BackupInt[2]
Definition: imgui_internal.h:694
ImGuiNextItemData()
Definition: imgui_internal.h:932
void ClearFlags()
Definition: imgui_internal.h:915
ImGuiSizeCallback SizeCallback
Definition: imgui_internal.h:909
ImGuiID NavActivateDownId
Definition: imgui_internal.h:1034
IMGUI_API ImGuiWindowSettings * FindOrCreateWindowSettings(const char *name)
Definition: imgui_internal.h:434
T * next_chunk(T *p)
Definition: imgui_internal.h:400
void ClearFreeMemory()
Definition: imgui_internal.h:866
bool IsActiveIdUsingNavDir(ImGuiDir dir)
Definition: imgui_internal.h:1690
IMGUI_API void SetNavIDWithRectRel(ImGuiID id, int nav_layer, const ImRect &rect_rel)
float BackupFloat[2]
Definition: imgui_internal.h:694
ImGuiNavHighlightFlags_
Definition: imgui_internal.h:574
ImVec2 CursorPos
Definition: imgui_internal.h:1304
float TitleBarHeight() const
Definition: imgui_internal.h:1481
IMGUI_API bool BeginPopupEx(ImGuiID id, ImGuiWindowFlags extra_flags)
T * Add()
Definition: imgui_internal.h:378
IMGUI_API char * ImStrdupcpy(char *dst, size_t *p_dst_size, const char *str)
ImRect OuterRectClipped
Definition: imgui_internal.h:1435
IMGUI_API void SetScrollFromPosX(float local_x, float center_x_ratio=0.5f)
Definition: imgui_internal.h:560
Definition: imgui_internal.h:599
ImGuiStorage WindowsById
Definition: imgui_internal.h:982
ImVec2 CursorStartPos
Definition: imgui_internal.h:1306
bool IsKeyPressedMap(ImGuiKey key, bool repeat=true)
Definition: imgui_internal.h:1694
ImVec4 BackupValue
Definition: imgui_internal.h:687
void ClearFlags()
Definition: imgui_internal.h:933
ImVector< ImFont * > FontStack
Definition: imgui_internal.h:1026
IMGUI_API void SetScrollX(float scroll_x)
Definition: imgui_internal.h:448
IMGUI_API void PlotEx(ImGuiPlotType plot_type, const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset, const char *overlay_text, float scale_min, float scale_max, ImVec2 frame_size)
Definition: imgui_internal.h:624
ImGuiID NavJustMovedToId
Definition: imgui_internal.h:1038
Definition: imgui_internal.h:691
bool Overlaps(const ImRect &r) const
Definition: imgui_internal.h:661
Definition: imgui_internal.h:1507
Definition: imgui_internal.h:588
Definition: imgui_internal.h:619
IMGUI_API void GcAwakeTransientWindowBuffers(ImGuiWindow *window)
void Clear()
Definition: imgui_internal.h:865
ImVec1()
Definition: imgui_internal.h:627
ImGuiCond SetWindowCollapsedAllowFlags
Definition: imgui_internal.h:1426
IMGUI_API ImDrawList * GetForegroundDrawList()
#define IM_FMTARGS(FMT)
Definition: imgui.h:76
float CurrLineTextBaseOffset
Definition: imgui_internal.h:1310
ImGuiStorage StateStorage
Definition: imgui_internal.h:1446
ImGuiID SelectScopeId
Definition: imgui_internal.h:873
IMGUI_API bool TabItemLabelAndCloseButton(ImDrawList *draw_list, const ImRect &bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char *label, ImGuiID tab_id, ImGuiID close_button_id)
int TreeDepth
Definition: imgui_internal.h:1312
bool ActiveIdPreviousFrameHasBeenEditedBefore
Definition: imgui_internal.h:1014
ImVec2 GetBL() const
Definition: imgui_internal.h:657
ImVec2ih()
Definition: imgui_internal.h:635
IMGUI_API void UpdateMouseMovingWindowNewFrame()
ImGuiItemStatusFlags LastItemStatusFlags
Definition: imgui_internal.h:1491
Definition: imgui_internal.h:1519
Definition: imgui_internal.h:801
Definition: imgui_internal.h:614
bool ActiveIdIsJustActivated
Definition: imgui_internal.h:1001
bool WriteAccessed
Definition: imgui_internal.h:1406
static T ImClamp(T v, T mn, T mx)
Definition: imgui_internal.h:315
ImGuiID ID
Definition: imgui_internal.h:1521
bool EmitItem
Definition: imgui_internal.h:711
static ImVec2 ImMul(const ImVec2 &lhs, const ImVec2 &rhs)
Definition: imgui_internal.h:337
ImVec2 SizeVal
Definition: imgui_internal.h:905
ImVec1 ColumnsOffset
Definition: imgui_internal.h:1345
IMGUI_API ImGuiID GetID(const char *str_id)
bool ActiveIdHasBeenEditedThisFrame
Definition: imgui_internal.h:1005
ImRect NavInitResultRectRel
Definition: imgui_internal.h:1060
void clear()
Definition: imgui_internal.h:395
ImGuiCond SetWindowPosAllowFlags
Definition: imgui_internal.h:1424
int Index
Definition: imgui_internal.h:942
Definition: imgui_internal.h:571
static float ImCos(float x)
Definition: imgui_internal.h:303
bool Appearing
Definition: imgui_internal.h:1410
Definition: imgui_internal.h:555
ImS8 AutoFitChildAxises
Definition: imgui_internal.h:1419
Definition: imgui_internal.h:728
bool NavHideHighlightOneFrame
Definition: imgui_internal.h:1322
bool GetBit(int n) const
Definition: imgui_internal.h:355
IMGUI_API ImVec2 GetContentRegionMaxAbs()
ImFont * Font
Definition: imgui_internal.h:965
IMGUI_API int DataTypeFormatString(char *buf, int buf_size, ImGuiDataType data_type, const void *p_data, const char *format)
void Add(const ImVec2 &p)
Definition: imgui_internal.h:662
void TranslateY(float dy)
Definition: imgui_internal.h:668
T * GetByKey(ImGuiID key)
Definition: imgui_internal.h:372
ImDrawList DrawListInst
Definition: imgui_internal.h:1452
int ImGuiLayoutType
Definition: imgui_internal.h:98
Definition: imgui_internal.h:1515
void ClipWith(const ImRect &r)
Definition: imgui_internal.h:669
ImGuiNavMoveResult NavMoveResultOther
Definition: imgui_internal.h:1069
ImVec2 ScrollTarget
Definition: imgui_internal.h:1400
int ImGuiNavMoveFlags
Definition: imgui_internal.h:109
ImRect NavScoringRectScreen
Definition: imgui_internal.h:1042
voidpf void uLong size
Definition: ioapi.h:39
float HoveredIdNotActiveTimer
Definition: imgui_internal.h:997
bool Contains(const ImRect &r) const
Definition: imgui_internal.h:660
int MemoryDrawListIdxCapacity
Definition: imgui_internal.h:1463
bool LogEnabled
Definition: imgui_internal.h:1143
bool IsNavInputDown(ImGuiNavInput n)
Definition: imgui_internal.h:1695
IMGUI_API ImU32 ImHashData(const void *data, size_t data_size, ImU32 seed=0)
ImVector< ImGuiTabItem > Tabs
Definition: imgui_internal.h:1536
ImGuiAxis
Definition: imgui_internal.h:540
IMGUI_API void ImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256], unsigned char *pixels, int x, int y, int w, int h, int stride)
ImPoolIdx GetIndex(const T *p) const
Definition: imgui_internal.h:374
int MemoryDrawListVtxCapacity
Definition: imgui_internal.h:1464
IMGUI_API int ImParseFormatPrecision(const char *format, int default_value)
IMGUI_API bool ButtonEx(const char *label, const ImVec2 &size_arg=ImVec2(0, 0), ImGuiButtonFlags flags=0)
ImGuiWindowSettings()
Definition: imgui_internal.h:771
IMGUI_API int ImTextStrToUtf8(char *buf, int buf_size, const ImWchar *in_text, const ImWchar *in_text_end)
float DistAxial
Definition: imgui_internal.h:877
int NavIdTabCounter
Definition: imgui_internal.h:1051
Definition: imgui_internal.h:475
int NavLayerActiveMaskNext
Definition: imgui_internal.h:1321
Definition: imgui_internal.h:446
ImVec2 ContentSizeVal
Definition: imgui_internal.h:906
ImVec2 ScrollMax
Definition: imgui_internal.h:1399
bool HoveredIdAllowOverlap
Definition: imgui_internal.h:994
char * dst
Definition: lz4.h:458
ImGuiID NavInputId
Definition: imgui_internal.h:1036
ImGuiWindowTempData DC
Definition: imgui_internal.h:1431
bool SettingsLoaded
Definition: imgui_internal.h:1136
ImVec2 FramePadding
Definition: imgui.h:1318
IMGUI_API void ImFontAtlasBuildPackCustomRects(ImFontAtlas *atlas, void *stbrp_context_opaque)
IMGUI_API void UpdateHoveredWindowAndCaptureFlags()
float PrevLineTextBaseOffset
Definition: imgui_internal.h:1311
#define STB_TEXTEDIT_UNDOSTATECOUNT
Definition: imgui_internal.h:128
Definition: imgui_internal.h:550
ImGuiButtonFlags_
Definition: imgui_internal.h:411
ImRect WorkRect
Definition: imgui_internal.h:1438
ImVec4 ColorPickerRef
Definition: imgui_internal.h:1119
Definition: imgui_internal.h:887
IMGUI_API void FocusableItemUnregister(ImGuiWindow *window)
ImGuiNextWindowData NextWindowData
Definition: imgui_internal.h:1020
IMGUI_API bool ItemAdd(const ImRect &bb, ImGuiID id, const ImRect *nav_bb=NULL)
float HostCursorPosY
Definition: imgui_internal.h:821
static bool ImIsPowerOfTwo(int v)
Definition: imgui_internal.h:216
ImU32 ActiveIdUsingNavDirMask
Definition: imgui_internal.h:1006
IMGUI_API void PushItemFlag(ImGuiItemFlags option, bool enabled)
IMGUI_API bool BeginDragDropTargetCustom(const ImRect &bb, ImGuiID id)
IMGUI_API void SetCurrentFont(ImFont *font)
void * Ptr
Definition: imgui_internal.h:948
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
IMGUI_API bool BeginTabBarEx(ImGuiTabBar *tab_bar, const ImRect &bb, ImGuiTabBarFlags flags)
ImGuiTreeNodeFlagsPrivate_
Definition: imgui_internal.h:467
ImVec2 Pos
Definition: imgui_internal.h:1387
#define IM_ARRAYSIZE(_ARR)
Definition: imgui.h:79
ImDrawList BackgroundDrawList
Definition: imgui_internal.h:1084
float NavWindowingHighlightAlpha
Definition: imgui_internal.h:1048
static float ImSin(float x)
Definition: imgui_internal.h:304
bool NavIdIsAlive
Definition: imgui_internal.h:1052
float GetWidth() const
Definition: imgui_internal.h:653
float HoveredIdTimer
Definition: imgui_internal.h:996
static float ImFloor(float f)
Definition: imgui_internal.h:331
ImVec2 MenuBarOffsetMinVal
Definition: imgui_internal.h:912
float CalcFontSize() const
Definition: imgui_internal.h:1480
Definition: imgui_internal.h:596
void Remove(ImGuiID key, ImPoolIdx idx)
Definition: imgui_internal.h:380
Definition: imgui_internal.h:593
IMGUI_API ImGuiID GetWindowResizeID(ImGuiWindow *window, int n)
int LastFrameVisible
Definition: imgui_internal.h:1523
ImRect SizeConstraintRect
Definition: imgui_internal.h:908
float ItemWidthDefault
Definition: imgui_internal.h:1444
ImGuiPlotType
Definition: imgui_internal.h:547
Definition: imgui_internal.h:416
ImGuiWindow * HoveredWindow
Definition: imgui_internal.h:985
ImGuiInputReadMode
Definition: imgui_internal.h:564
ImGuiNavMoveFlags_
Definition: imgui_internal.h:591
ImGuiID PopupId
Definition: imgui_internal.h:1417
ImGuiTextBuffer SettingsIniData
Definition: imgui_internal.h:1138
void ClipWithFull(const ImRect &r)
Definition: imgui_internal.h:670
T * ptr_from_offset(int off)
Definition: imgui_internal.h:404
ImGuiWindow * CurrentWindow
Definition: imgui_internal.h:984
IMGUI_API void TextEx(const char *text, const char *text_end=NULL, ImGuiTextFlags flags=0)
IMGUI_API bool ItemHoverable(const ImRect &bb, ImGuiID id)
Definition: imgui_internal.h:450
float WindowBorderSize
Definition: imgui_internal.h:1394
short BeginOrderWithinParent
Definition: imgui_internal.h:1415
ImGuiNavLayer NavLayer
Definition: imgui_internal.h:1050
int BufCapacityA
Definition: imgui_internal.h:736
bool SelectedAllMouseLock
Definition: imgui_internal.h:741
Definition: imgui_internal.h:888
ImRect ClipRect
Definition: imgui_internal.h:1439
IMGUI_API void ImFontAtlasBuildSetupFont(ImFontAtlas *atlas, ImFont *font, ImFontConfig *font_config, float ascent, float descent)
IMGUI_API void PushColumnsBackground()
ImVec2 SizeFull
Definition: imgui_internal.h:1389
void * UserData
Definition: imgui_internal.h:782
IMGUI_API void ImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256], float in_multiply_factor)
int ImGuiItemFlags
Definition: imgui_internal.h:105
ImGuiItemFlags ItemFlags
Definition: imgui_internal.h:1334
ImGuiWindow * GetCurrentWindowRead()
Definition: imgui_internal.h:1581
IMGUI_API void UpdateMouseMovingWindowEndFrame()
IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, float grid_step, ImVec2 grid_off, float rounding=0.0f, int rounding_corners_flags=~0)
IMGUI_API int ImStrlenW(const ImWchar *str)
IMGUI_API int ImTextCountUtf8BytesFromChar(const char *in_text, const char *in_text_end)
ImVec2 TexUvWhitePixel
Definition: imgui_internal.h:847
ImDrawData DrawData
Definition: imgui_internal.h:1081
IMGUI_API void BringWindowToFocusFront(ImGuiWindow *window)
ImGuiWindowTempData()
Definition: imgui_internal.h:1348
ImVector< unsigned char > DragDropPayloadBufHeap
Definition: imgui_internal.h:1102
static ImVec2 ImRotate(const ImVec2 &v, float cos_a, float sin_a)
Definition: imgui_internal.h:335
ImVector< char > PrivateClipboard
Definition: imgui_internal.h:1125
IMGUI_API ImVec2 ImTriangleClosestPoint(const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &p)
ImRect LastItemRect
Definition: imgui_internal.h:1492
float FontSize
Definition: imgui_internal.h:849
Definition: imgui_internal.h:417
float OffsetNormBeforeResize
Definition: imgui_internal.h:804
static T ImLerp(T a, T b, float t)
Definition: imgui_internal.h:316
ImGuiNavMoveResult NavMoveResultLocal
Definition: imgui_internal.h:1067
Definition: imgui_internal.h:433
IMGUI_API void ClosePopupsOverWindow(ImGuiWindow *ref_window, bool restore_focus_to_window_under_popup)
voidpf void * buf
Definition: ioapi.h:39
IMGUI_API T RoundScalarWithFormatT(const char *format, ImGuiDataType data_type, T v)
ImGuiID ActiveIdPreviousFrame
Definition: imgui_internal.h:1012
ImGuiCol Col
Definition: imgui_internal.h:686
Definition: imgui_internal.h:415
ImRect ContentRegionRect
Definition: imgui_internal.h:1440
ImGuiID SelectedTabId
Definition: imgui_internal.h:1538
bool NavDisableMouseHover
Definition: imgui_internal.h:1055
float GetHeight() const
Definition: imgui_internal.h:654
ImGuiStyleMod(ImGuiStyleVar idx, float v)
Definition: imgui_internal.h:696
ImGuiID LastItemId
Definition: imgui_internal.h:1490
float WindowRounding
Definition: imgui_internal.h:1393
ImGuiID ReorderRequestTabId
Definition: imgui_internal.h:1553
Definition: imgui_internal.h:600
float BackupCurrLineTextBaseOffset
Definition: imgui_internal.h:708
ImDrawList ForegroundDrawList
Definition: imgui_internal.h:1085
IMGUI_API void SetHoveredID(ImGuiID id)
Definition: imgui_internal.h:612
ImGuiColumns()
Definition: imgui_internal.h:827
ImRect LastItemDisplayRect
Definition: imgui_internal.h:1317
IMGUI_API void NavMoveRequestTryWrapping(ImGuiWindow *window, ImGuiNavMoveFlags move_flags)
IMGUI_API void MarkIniSettingsDirty()
IMGUI_API bool TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char *label, const char *label_end=NULL)
IMGUI_API void ShadeVertsLinearUV(ImDrawList *draw_list, int vert_start_idx, int vert_end_idx, const ImVec2 &a, const ImVec2 &b, const ImVec2 &uv_a, const ImVec2 &uv_b, bool clamp)
short BeginOrderWithinContext
Definition: imgui_internal.h:1416
ImGuiStyle Style
Definition: imgui_internal.h:964
Definition: imgui_internal.h:462
int SettingsOffset
Definition: imgui_internal.h:1449
Definition: imgui_internal.h:463
ImVec1 BackupIndent
Definition: imgui_internal.h:705
IMGUI_API const char * FindRenderedTextEnd(const char *text, const char *text_end=NULL)
Definition: imgui_internal.h:569
unsigned short ImWchar
Definition: imgui.h:137
ImGuiID NavJustMovedToMultiSelectScopeId
Definition: imgui_internal.h:1039
void Clear()
Definition: imgui_internal.h:377
Definition: imgui_internal.h:580
ImVector< char > TextA
Definition: imgui_internal.h:733
int GetRedoAvailCount() const
Definition: imgui_internal.h:750
ImRect LastItemRect
Definition: imgui_internal.h:1316
ImGuiID DragDropTargetId
Definition: imgui_internal.h:1096
int CurrFrameVisible
Definition: imgui_internal.h:1541
Definition: imgui_internal.h:940
int size() const
Definition: imgui_internal.h:397
int Count
Definition: imgui_internal.h:818
IMGUI_API ImU64 ImFileGetSize(ImFileHandle file)
bool Collapsed
Definition: imgui_internal.h:769
ImGuiInputTextCallback UserCallback
Definition: imgui_internal.h:743
IMGUI_API void MarkItemEdited(ImGuiID id)
ImGuiID ID
Definition: imgui_internal.h:872
float OffMaxX
Definition: imgui_internal.h:819
ImVector< ImGuiColorMod > ColorModifiers
Definition: imgui_internal.h:1024
Definition: imgui_internal.h:498
bool Contains(const T *p) const
Definition: imgui_internal.h:376
int NavScoringCount
Definition: imgui_internal.h:1043
ImStb::STB_TexteditState Stb
Definition: imgui_internal.h:738
IMGUI_API void PopColumnsBackground()
Definition: imgui_internal.h:557
Definition: imgui_internal.h:488
bool ActiveIdHasBeenPressedBefore
Definition: imgui_internal.h:1003
ImGuiID ID
Definition: imgui_internal.h:1385
IMGUI_API const char * ImParseFormatFindEnd(const char *format)
ImGuiTabItemFlags Flags
Definition: imgui_internal.h:1522
IMGUI_API const char * ImStrSkipBlank(const char *str)
ImGuiItemHoveredDataBackup()
Definition: imgui_internal.h:1495
bool Collapsed
Definition: imgui_internal.h:1407
bool NavDisableHighlight
Definition: imgui_internal.h:1054
#define IM_ASSERT(_EXPR)
Definition: imgui.h:70
bool IsInverted() const
Definition: imgui_internal.h:672
ImGuiID ActiveIdIsAlive
Definition: imgui_internal.h:999
ImGuiID MultiSelectScopeId
Definition: imgui_internal.h:1129
void(* ImGuiSizeCallback)(ImGuiSizeCallbackData *data)
Definition: imgui.h:163
ImVector< ImGuiPopupData > OpenPopupStack
Definition: imgui_internal.h:1027
float ContentWidth
Definition: imgui_internal.h:1528
ImVec2 LastValidMousePos
Definition: imgui_internal.h:1112
#define IMGUI_API
Definition: imgui.h:61
IMGUI_API void ShadeVertsLinearColorGradientKeepAlpha(ImDrawList *draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1)
int LastFrameActive
Definition: imgui_internal.h:1442
IMGUI_API bool TabItemEx(ImGuiTabBar *tab_bar, const char *label, bool *p_open, ImGuiTabItemFlags flags)
ImVec2 CurrLineSize
Definition: imgui_internal.h:1308
Definition: imgui_internal.h:556
IMGUI_API void BeginColumns(const char *str_id, int count, ImGuiColumnsFlags flags=0)
bool MemoryCompacted
Definition: imgui_internal.h:1462
Definition: imgui_internal.h:946
IMGUI_API void SetWindowCollapsed(bool collapsed, ImGuiCond cond=0)
Definition: imgui_internal.h:505
bool ActiveIdHasBeenEditedBefore
Definition: imgui_internal.h:1004
ImVector< char > InitialTextA
Definition: imgui_internal.h:734
ImGuiID ID
Definition: imgui_internal.h:813
Definition: imgui_internal.h:595
ImGuiLogType
Definition: imgui_internal.h:530
int CurLenW
Definition: imgui_internal.h:731
ImVec2 ContentSize
Definition: imgui_internal.h:1390
ImVec2 GetSize() const
Definition: imgui_internal.h:652
IMGUI_API bool DragBehaviorT(ImGuiDataType data_type, T *v, float v_speed, T v_min, T v_max, const char *format, float power, ImGuiDragFlags flags)
ImRect BarRect
Definition: imgui_internal.h:1543
int FocusRequestNextCounterTab
Definition: imgui_internal.h:1077
float NavInputs[ImGuiNavInput_COUNT]
Definition: imgui.h:1436
float Width
Definition: imgui_internal.h:928
ImVec2 GetBR() const
Definition: imgui_internal.h:658
ImGuiMouseCursor MouseCursor
Definition: imgui_internal.h:1086
ImGuiID GetActiveID()
Definition: imgui_internal.h:1632
bool WithinEndChild
Definition: imgui_internal.h:975
Definition: imgui_internal.h:502
IMGUI_API int ImStrnicmp(const char *str1, const char *str2, size_t count)
Definition: imgui_internal.h:423
void ClearText()
Definition: imgui_internal.h:747
ImBoolVector()
Definition: imgui_internal.h:352
static void ImSwap(T &a, T &b)
Definition: imgui_internal.h:317
ImVector< ImDrawList * > Layers[2]
Definition: imgui_internal.h:863
IMGUI_API bool IsMouseDragPastThreshold(int button, float lock_threshold=-1.0f)
IMGUI_API bool DataTypeApplyOpFromText(const char *buf, const char *initial_value_buf, ImGuiDataType data_type, void *p_data, const char *format)
IMGUI_API float GetColumnOffsetFromNorm(const ImGuiColumns *columns, float offset_norm)
IMGUI_API ImU64 ImFileRead(void *data, ImU64 size, ImU64 count, ImFileHandle file)
Definition: imgui_internal.h:897
ImGuiTabBarFlags Flags
Definition: imgui_internal.h:1552
IMGUI_API void SetWindowPos(const ImVec2 &pos, ImGuiCond cond=0)
void SelectAll()
Definition: imgui_internal.h:758
ImGuiID BackupActiveIdIsAlive
Definition: imgui_internal.h:709
char * Name
Definition: imgui_internal.h:1384
static float ImLengthSqr(const ImVec2 &lhs)
Definition: imgui_internal.h:328
ImU32 ActiveIdUsingNavInputMask
Definition: imgui_internal.h:1007
Definition: imgui_internal.h:870
static float ImDot(const ImVec2 &a, const ImVec2 &b)
Definition: imgui_internal.h:334
IMGUI_API void GcCompactTransientWindowBuffers(ImGuiWindow *window)
Definition: imgui_internal.h:920
ImGuiNavLayer
Definition: imgui_internal.h:610
bool WithinFrameScopeWithImplicitWindow
Definition: imgui_internal.h:974
bool ActiveIdAllowOverlap
Definition: imgui_internal.h:1002
IMGUI_API bool ButtonBehavior(const ImRect &bb, ImGuiID id, bool *out_hovered, bool *out_held, ImGuiButtonFlags flags=0)
IMGUI_API void ImStrncpy(char *dst, const char *src, size_t count)
ImVec2 PosVal
Definition: imgui_internal.h:903
ImVector< ImGuiShrinkWidthItem > ShrinkWidthBuffer
Definition: imgui_internal.h:1109
ImS8 ReorderRequestDir
Definition: imgui_internal.h:1554
Definition: imgui_internal.h:587
IMGUI_API int ImStricmp(const char *str1, const char *str2)
IMGUI_API void RenderText(ImVec2 pos, const char *text, const char *text_end=NULL, bool hide_text_after_hash=true)
double Time
Definition: imgui_internal.h:969
Definition: imgui_internal.h:419
ImDrawListFlags InitialFlags
Definition: imgui_internal.h:852
int FrameCountRendered
Definition: imgui_internal.h:972
Definition: imgui_internal.h:701
int GetTabOrder(const ImGuiTabItem *tab) const
Definition: imgui_internal.h:1562
bool Contains(const ImVec2 &p) const
Definition: imgui_internal.h:659
ImGuiID ID
Definition: imgui_internal.h:1537
IMGUI_API void SetWindowSize(const ImVec2 &size, ImGuiCond cond=0)
IMGUI_API void FocusWindow(ImGuiWindow *window)
float NavWindowingTimer
Definition: imgui_internal.h:1047
IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate)
ImVec2 FramePadding
Definition: imgui_internal.h:1558
void Expand(const float amount)
Definition: imgui_internal.h:664
void TranslateX(float dx)
Definition: imgui_internal.h:667
#define IM_COL32(R, G, B, A)
Definition: imgui.h:1753
static float ImFabs(float x)
Definition: imgui_internal.h:297
float LastTabContentHeight
Definition: imgui_internal.h:1544
void Floor()
Definition: imgui_internal.h:671
ImGuiWindow * RootWindowForNav
Definition: imgui_internal.h:1456
ImRect HostWorkRect
Definition: imgui_internal.h:824
ImVec4 ClipRectFullscreen
Definition: imgui_internal.h:851
IMGUI_API const char * ImStrchrRange(const char *str_begin, const char *str_end, char c)
IMGUI_API bool ImTriangleContainsPoint(const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &p)
IMGUI_API bool TempInputTextScalar(const ImRect &bb, ImGuiID id, const char *label, ImGuiDataType data_type, void *p_data, const char *format)
ImGuiNextWindowDataFlags Flags
Definition: imgui_internal.h:899
Definition: imgui_internal.h:518
ImFont * GetDefaultFont()
Definition: imgui_internal.h:1602
ImGuiNavLayer NavLayerCurrent
Definition: imgui_internal.h:1318
float OffsetMax
Definition: imgui_internal.h:1545
ImGuiWindow * NavLastChildNavWindow
Definition: imgui_internal.h:1458
IMGUI_API bool SplitterBehavior(const ImRect &bb, ImGuiID id, ImGuiAxis axis, float *size1, float *size2, float min_size1, float min_size2, float hover_extend=0.0f, float hover_visibility_delay=0.0f)
ImVector< float > ItemWidthStack
Definition: imgui_internal.h:1338
ImGuiItemStatusFlags_
Definition: imgui_internal.h:496
IMGUI_API bool IsPopupOpen(const char *str_id)
IMGUI_API bool IsWindowChildOf(ImGuiWindow *window, ImGuiWindow *potential_parent)
float FontWindowScale
Definition: imgui_internal.h:1448
ImVec2ih(short _x, short _y)
Definition: imgui_internal.h:636
float Offset
Definition: imgui_internal.h:1526
ImGuiNextItemData NextItemData
Definition: imgui_internal.h:1021
ImU32 TreeMayJumpToParentOnPopMask
Definition: imgui_internal.h:1313
IMGUI_API void RenderArrow(ImDrawList *draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, float scale=1.0f)
float LineMinY
Definition: imgui_internal.h:820
Definition: imgui_internal.h:549
IMGUI_API bool SliderBehaviorT(const ImRect &bb, ImGuiID id, ImGuiDataType data_type, T *v, T v_min, T v_max, const char *format, float power, ImGuiSliderFlags flags, ImRect *out_grab_bb)
Definition: imgui_internal.h:527
static T ImMax(T lhs, T rhs)
Definition: imgui_internal.h:314
const char * ScanFmt
Definition: imgui_internal.h:680
ImFileHandle LogFile
Definition: imgui_internal.h:1145
Definition: imgui_internal.h:715
Definition: imgui_internal.h:459
static T ImAddClampOverflow(T a, T b, T mn, T mx)
Definition: imgui_internal.h:318
int ImGuiNavDirSourceFlags
Definition: imgui_internal.h:108
IMGUI_API void ImFontAtlasBuildFinish(ImFontAtlas *atlas)
Definition: imgui_internal.h:474
Definition: imgui_internal.h:414
ImVec2 PlatformImePos
Definition: imgui_internal.h:1132
ImGuiDragFlags_
Definition: imgui_internal.h:437
float ColorEditLastColor[3]
Definition: imgui_internal.h:1118
Definition: imgui_internal.h:422
Definition: imgui_internal.h:486
void CursorAnimReset()
Definition: imgui_internal.h:754
ImVector< ImWchar > TextW
Definition: imgui_internal.h:732
IMGUI_API ImGuiID GetWindowScrollbarID(ImGuiWindow *window, ImGuiAxis axis)
short y
Definition: imgui_internal.h:634
ImGuiCond SizeCond
Definition: imgui_internal.h:901
Definition: imgui_internal.h:500
int ImGuiColumnsFlags
Definition: imgui_internal.h:103
Definition: imgui_internal.h:424
int LogDepthToExpand
Definition: imgui_internal.h:1150
Definition: imgui_internal.h:491
IMGUI_API void PopItemFlag()
IMGUI_API bool SliderBehavior(const ImRect &bb, ImGuiID id, ImGuiDataType data_type, void *p_v, const void *p_min, const void *p_max, const char *format, float power, ImGuiSliderFlags flags, ImRect *out_grab_bb)
ImGuiID VisibleTabId
Definition: imgui_internal.h:1540
unsigned int ImGuiID
Definition: imgui.h:136
ImDrawList * DrawList
Definition: imgui_internal.h:1451
short LastTabItemIdx
Definition: imgui_internal.h:1557
ImU64 ActiveIdUsingKeyInputMask
Definition: imgui_internal.h:1008
static float ImInvLength(const ImVec2 &lhs, float fail_value)
Definition: imgui_internal.h:330
Definition: imgui_internal.h:1382
IMGUI_API void SetScrollFromPosY(float local_y, float center_y_ratio=0.5f)
ImGuiNavForward NavMoveRequestForward
Definition: imgui_internal.h:1064
bool LogLineFirstItem
Definition: imgui_internal.h:1148
IMGUI_API ImGuiTabItem * TabBarFindTabByID(ImGuiTabBar *tab_bar, ImGuiID tab_id)
Definition: imgui_internal.h:484
Definition: imgui_internal.h:684
bool Initialized
Definition: imgui_internal.h:961
bool NavWindowingToggleLayer
Definition: imgui_internal.h:1049
bool NavInitRequest
Definition: imgui_internal.h:1057
Definition: imgui_internal.h:594
bool WantCollapseToggle
Definition: imgui_internal.h:1408
ImGuiWindow * ActiveIdPreviousFrameWindow
Definition: imgui_internal.h:1015
IMGUI_API void ImTriangleBarycentricCoords(const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &p, float &out_u, float &out_v, float &out_w)
Definition: imgui_internal.h:559
void Restore() const
Definition: imgui_internal.h:1497
float FramerateSecPerFrameAccum
Definition: imgui_internal.h:1160
int WantCaptureKeyboardNextFrame
Definition: imgui_internal.h:1162
float z
Definition: imgui.h:200
IMGUI_API void RenderTextClippedEx(ImDrawList *draw_list, const ImVec2 &pos_min, const ImVec2 &pos_max, const char *text, const char *text_end, const ImVec2 *text_size_if_known, const ImVec2 &align=ImVec2(0, 0), const ImRect *clip_rect=NULL)
int Current
Definition: imgui_internal.h:817
const char * _OwnerName
Definition: imgui.h:1904
Definition: imgui_internal.h:534
IMGUI_API void RenderRectFilledRangeH(ImDrawList *draw_list, const ImRect &rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding)
void DebugDrawItemRect(ImU32 col=IM_COL32(255, 0, 0, 255))
Definition: imgui_internal.h:1807
IMGUI_API int ImTextStrFromUtf8(ImWchar *buf, int buf_size, const char *in_text, const char *in_text_end, const char **in_remaining=NULL)
ImGuiPtrOrIndex(void *ptr)
Definition: imgui_internal.h:951
ImRect LastItemDisplayRect
Definition: imgui_internal.h:1493
ImVector< ImGuiWindow * > WindowsSortBuffer
Definition: imgui_internal.h:980
ImGuiInputTextState InputTextState
Definition: imgui_internal.h:1113
IMGUI_API bool NavMoveRequestButNoResultYet()
ImGuiWindow * ParentWindow
Definition: imgui_internal.h:1453
IMGUI_API ImVec2 CalcWindowExpectedSize(ImGuiWindow *window)
Definition: imgui_internal.h:460
Definition: imgui_internal.h:811
int ImGuiSliderFlags
Definition: imgui_internal.h:113
float w
Definition: imgui.h:200
int LastFrameSelected
Definition: imgui_internal.h:1524
ImRect()
Definition: imgui_internal.h:646
bool IsFirstFrame
Definition: imgui_internal.h:815
int LogDepthRef
Definition: imgui_internal.h:1149
ImGuiID ChildId
Definition: imgui_internal.h:1397
Definition: imgui_internal.h:585
IMGUI_API bool IsWindowNavFocusable(ImGuiWindow *window)
bool TextAIsValid
Definition: imgui_internal.h:735
ImGuiID TempInputTextId
Definition: imgui_internal.h:1115
int TooltipOverrideCount
Definition: imgui_internal.h:1124
IMGUI_API void PushOverrideID(ImGuiID id)
Definition: imgui_internal.h:501
static float ImSqrt(float x)
Definition: imgui_internal.h:298
ImGuiCond SetWindowSizeAllowFlags
Definition: imgui_internal.h:1425
bool TempInputTextIsActive(ImGuiID id)
Definition: imgui_internal.h:1792
size_t Size
Definition: imgui_internal.h:678
IMGUI_API void FocusTopMostWindowUnderOne(ImGuiWindow *under_this_window, ImGuiWindow *ignore_window)
float ScrollingAnim
Definition: imgui_internal.h:1548
static T ImSubClampOverflow(T a, T b, T mn, T mx)
Definition: imgui_internal.h:319
float DragDropAcceptIdCurrRectSurface
Definition: imgui_internal.h:1098
ImGuiID NavId
Definition: imgui_internal.h:1032
ImVector< ImGuiWindow * > WindowsFocusOrder
Definition: imgui_internal.h:979
ImGuiID ID
Definition: imgui_internal.h:730
IMGUI_API void * ImFileLoadToMemory(const char *filename, const char *mode, size_t *out_file_size=NULL, int padding_bytes=0)
Definition: imgui_internal.h:526
ImGuiSelectableFlagsPrivate_
Definition: imgui_internal.h:455
int DragDropMouseButton
Definition: imgui_internal.h:1093
static bool ImCharIsBlankA(char c)
Definition: imgui_internal.h:238
float DimBgRatio
Definition: imgui_internal.h:1083
Definition: imgui_internal.h:605
IMGUI_API void DataTypeApplyOp(ImGuiDataType data_type, int op, void *output, void *arg_1, const void *arg_2)
Definition: imgui_internal.h:458
IMGUI_API void SetScrollY(float scroll_y)
void Clear()
Definition: imgui_internal.h:881
Definition: imgui_internal.h:476
ImGuiItemFlags_
Definition: imgui_internal.h:482
static int ImModPositive(int a, int b)
Definition: imgui_internal.h:333
bool SkipItems
Definition: imgui_internal.h:1409
IMGUI_API void LogRenderedText(const ImVec2 *ref_pos, const char *text, const char *text_end=NULL)
Definition: imgui_internal.h:477
signed char ResizeBorderHeld
Definition: imgui_internal.h:1413
ImVector< ImGuiPtrOrIndex > CurrentTabBarStack
Definition: imgui_internal.h:1108
ImGuiID NextSelectedTabId
Definition: imgui_internal.h:1539
Definition: imgui_internal.h:1508
bool DragCurrentAccumDirty
Definition: imgui_internal.h:1120
IMGUI_API void Scrollbar(ImGuiAxis axis)
IMGUI_API void NavInitWindow(ImGuiWindow *window, bool force_reinit)
ImVector< ImGuiColumns > ColumnsStorage
Definition: imgui_internal.h:1447
Definition: imgui_internal.h:349
ImVec2 Max
Definition: imgui_internal.h:644
IMGUI_API ImU64 ImFileWrite(const void *data, ImU64 size, ImU64 count, ImFileHandle file)
float ScrollingTargetDistToVisibility
Definition: imgui_internal.h:1550
ImVector< ImGuiID > IDStack
Definition: imgui_internal.h:1430
IMGUI_API void RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding=0.0f)
Definition: imgui_internal.h:544
IMGUI_API void ItemSize(const ImVec2 &size, float text_baseline_y=-1.0f)
short x
Definition: imgui_internal.h:634
float OffsetMaxIdeal
Definition: imgui_internal.h:1546
IMGUI_API ImGuiColumns * FindOrCreateColumns(ImGuiWindow *window, ImGuiID id)
ImGuiTabItemFlagsPrivate_
Definition: imgui_internal.h:1513
int NameOffset
Definition: imgui_internal.h:1525
IMGUI_API bool TreeNodeBehaviorIsOpen(ImGuiID id, ImGuiTreeNodeFlags flags=0)
IMGUI_API bool IsDragDropPayloadBeingAccepted()
IMGUI_API void ClosePopupToLevel(int remaining, bool restore_focus_to_window_under_popup)
bool NavMoveRequest
Definition: imgui_internal.h:1062
T * GetOrAddByKey(ImGuiID key)
Definition: imgui_internal.h:375
ImVec2 GetCenter() const
Definition: imgui_internal.h:651
FILE * ImFileHandle
Definition: imgui_internal.h:283
void(* WriteAllFn)(ImGuiContext *ctx, ImGuiSettingsHandler *handler, ImGuiTextBuffer *out_buf)
Definition: imgui_internal.h:781
int PrevFrameVisible
Definition: imgui_internal.h:1542
int FocusRequestNextCounterAll
Definition: imgui_internal.h:1076
Definition: imgui_internal.h:542
bool HasSelection() const
Definition: imgui_internal.h:756
ImGuiID GetFocusID()
Definition: imgui_internal.h:1633
Definition: imgui_internal.h:461
ImGuiDragDropFlags DragDropSourceFlags
Definition: imgui_internal.h:1091
IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar *in_text, const ImWchar *in_text_end)
float Width
Definition: imgui_internal.h:718
ImVec2 Min
Definition: imgui_internal.h:643
Definition: imgui_internal.h:536
IMGUI_API void RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border=true, float rounding=0.0f)
ImRect(float x1, float y1, float x2, float y2)
Definition: imgui_internal.h:649
IMGUI_API float CalcWrapWidthForPos(const ImVec2 &pos, float wrap_pos_x)
Definition: imgui_internal.h:420
void Resize(int sz)
Definition: imgui_internal.h:353
Definition: imgui_internal.h:428
int ImGuiSeparatorFlags
Definition: imgui_internal.h:112
ImGuiStorage * StateStorage
Definition: imgui_internal.h:1327
ImVector< ImGuiItemFlags > ItemFlagsStack
Definition: imgui_internal.h:1337
ImVec2ih Size
Definition: imgui_internal.h:768
IMGUI_API void ShrinkWidths(ImGuiShrinkWidthItem *items, int count, float width_excess)
void Translate(const ImVec2 &d)
Definition: imgui_internal.h:666
#define IM_FLOOR(_VAL)
Definition: imgui_internal.h:182
ImVec2 BackupCursorPos
Definition: imgui_internal.h:703
IMGUI_API int ImFormatString(char *buf, size_t buf_size, const char *fmt,...) IM_FMTARGS(3)
Definition: imgui_internal.h:576
ImGuiWindow * NavWindowingTarget
Definition: imgui_internal.h:1044
float ScrollingTarget
Definition: imgui_internal.h:1549
float WheelingWindowTimer
Definition: imgui_internal.h:990
bool NavAnyRequest
Definition: imgui_internal.h:1056
Definition: imgui_internal.h:606
int HiddenFramesCannotSkipItems
Definition: imgui_internal.h:1423
IMGUI_API bool InputTextEx(const char *label, const char *hint, char *buf, int buf_size, const ImVec2 &size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
int NavLayerCurrentMask
Definition: imgui_internal.h:1319
IMGUI_API void Initialize(ImGuiContext *context)
ImVec2 ScrollTargetCenterRatio
Definition: imgui_internal.h:1401
Definition: imgui_internal.h:489
float DistBox
Definition: imgui_internal.h:875
ImGuiColumnsFlags_
Definition: imgui_internal.h:443
bool OpenVal
Definition: imgui_internal.h:929
int ImPoolIdx
Definition: imgui_internal.h:362
bool CollapsedVal
Definition: imgui_internal.h:907
IMGUI_API bool DragBehavior(ImGuiID id, ImGuiDataType data_type, void *p_v, float v_speed, const void *p_min, const void *p_max, const char *format, float power, ImGuiDragFlags flags)
IMGUI_API const ImWchar * ImStrbolW(const ImWchar *buf_mid_line, const ImWchar *buf_begin)
ImGuiWindow * HoveredRootWindow
Definition: imgui_internal.h:986
Definition: imgui_internal.h:925
int ImGuiNextWindowDataFlags
Definition: imgui_internal.h:111
short BeginCount
Definition: imgui_internal.h:1414
IMGUI_API void Shutdown(ImGuiContext *context)
Definition: imgui_internal.h:893
Definition: imgui_internal.h:632
static float ImCeil(float x)
Definition: imgui_internal.h:309
IMGUI_API void RenderTextWrapped(ImVec2 pos, const char *text, const char *text_end, float wrap_width)
int WindowsActiveCount
Definition: imgui_internal.h:983
ImGuiDir NavMoveDirLast
Definition: imgui_internal.h:1065
IMGUI_API char * ImStrdup(const char *str)
ImVec2 CursorMaxPos
Definition: imgui_internal.h:1307
IMGUI_API ImVec2 GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor=0.0f, float fast_factor=0.0f)
IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul=1.0f)
IMGUI_API const char * ImStristr(const char *haystack, const char *haystack_end, const char *needle, const char *needle_end)
IMGUI_API bool IsClippedEx(const ImRect &bb, ImGuiID id, bool clip_even_when_logged)
Definition: imgui_internal.h:532
bool DragDropActive
Definition: imgui_internal.h:1089
int WantTextInputNextFrame
Definition: imgui_internal.h:1163
float y
Definition: imgui.h:200
ImVector< ImFont * > Fonts
Definition: imgui.h:2180
ImVec2 ContentSizeExplicit
Definition: imgui_internal.h:1391
ImFont InputTextPasswordFont
Definition: imgui_internal.h:1114
ImGuiDir NavMoveClipDir
Definition: imgui_internal.h:1066
IMGUI_API ImVec2 ImLineClosestPoint(const ImVec2 &a, const ImVec2 &b, const ImVec2 &p)
float ScrollingSpeed
Definition: imgui_internal.h:1551
ImGuiID HoveredId
Definition: imgui_internal.h:993
ImGuiWindow * ActiveIdWindow
Definition: imgui_internal.h:1010
int FocusRequestCurrCounterAll
Definition: imgui_internal.h:1074
float CurveTessellationTol
Definition: imgui_internal.h:850
ImGuiNextWindowData()
Definition: imgui_internal.h:914
IMGUI_API void RenderBullet(ImDrawList *draw_list, ImVec2 pos, ImU32 col)
bool MenuBarAppending
Definition: imgui_internal.h:1324
ImGuiSliderFlags_
Definition: imgui_internal.h:431
IMGUI_API void LogToBuffer(int auto_open_depth=-1)
ImS8 AutoFitFramesY
Definition: imgui_internal.h:1418
ImFont * Font
Definition: imgui_internal.h:848
ImGuiDir AutoPosLastDirection
Definition: imgui_internal.h:1421
ImVec2 WheelingWindowRefMousePos
Definition: imgui_internal.h:989
bool ActiveIdPreviousFrameIsAlive
Definition: imgui_internal.h:1013
Definition: imgui_internal.h:427
float MenuBarHeight() const
Definition: imgui_internal.h:1483
bool AutoFitOnlyGrows
Definition: imgui_internal.h:1420
ImGuiWindow * FocusRequestCurrWindow
Definition: imgui_internal.h:1072
ImGuiSettingsHandler()
Definition: imgui_internal.h:784
ImGuiWindow * RootWindow
Definition: imgui_internal.h:1454
bool DebugItemPickerActive
Definition: imgui_internal.h:1154
static float ImSaturate(float f)
Definition: imgui_internal.h:327
IMGUI_API void ColorEditOptionsPopup(const float *col, ImGuiColorEditFlags flags)
float HostCursorMaxPosX
Definition: imgui_internal.h:822
ImDrawDataBuilder DrawDataBuilder
Definition: imgui_internal.h:1082
Definition: imgui_internal.h:469
int FrameCountEnded
Definition: imgui_internal.h:971
ImVec2 BackupCurrLineSize
Definition: imgui_internal.h:707
ImGuiNavMoveResult()
Definition: imgui_internal.h:880
Definition: imgui_internal.h:1302
IMGUI_API void ColorTooltip(const char *text, const float *col, ImGuiColorEditFlags flags)
IMGUI_API void SeparatorEx(ImGuiSeparatorFlags flags)
const char int mode
Definition: ioapi.h:38
ImVector< ImGuiWindow * > Windows
Definition: imgui_internal.h:978
int chunk_size(const T *p)
Definition: imgui_internal.h:401
float FontBaseSize
Definition: imgui_internal.h:967
bool VisibleTabWasSubmitted
Definition: imgui_internal.h:1556
char * GetName()
Definition: imgui_internal.h:772
bool NavMousePosDirty
Definition: imgui_internal.h:1053
ImGuiPtrOrIndex(int index)
Definition: imgui_internal.h:952
float Width
Definition: imgui_internal.h:943
ImVec2 MenuBarOffset
Definition: imgui_internal.h:1325
const char * PrintFmt
Definition: imgui_internal.h:679
Definition: imgui_internal.h:440
ImGuiWindow * NavWindowingList
Definition: imgui_internal.h:1046
Definition: imgui_internal.h:607
float x
Definition: imgui.h:187
static float ImPow(float x, float y)
Definition: imgui_internal.h:299
IMGUI_API bool ArrowButtonEx(const char *str_id, ImGuiDir dir, ImVec2 size_arg, ImGuiButtonFlags flags)
ImVector< char > Buf
Definition: imgui_internal.h:393
IMGUI_API bool FocusableItemRegister(ImGuiWindow *window, ImGuiID id)
Definition: imgui_internal.h:504
ImVector< ImGuiSettingsHandler > SettingsHandlers
Definition: imgui_internal.h:1139
static float ImFloorStd(float x)
Definition: imgui_internal.h:308
float x
Definition: imgui_internal.h:626
Definition: imgui_internal.h:451
ImRect DragDropTargetRect
Definition: imgui_internal.h:1095
bool empty() const
Definition: imgui_internal.h:396
Definition: imgui_internal.h:426
ImRect InnerClipRect
Definition: imgui_internal.h:1437
IMGUI_API bool ImFontAtlasBuildWithStbTruetype(ImFontAtlas *atlas)
IMGUI_API void BringWindowToDisplayFront(ImGuiWindow *window)
IMGUI_API void TabBarCloseTab(ImGuiTabBar *tab_bar, ImGuiTabItem *tab)
static float ImFmod(float x, float y)
Definition: imgui_internal.h:301
ImGuiID NavJustTabbedId
Definition: imgui_internal.h:1037
ImRect RectRel
Definition: imgui_internal.h:878
ImGuiInputTextState()
Definition: imgui_internal.h:746
static double ImAtof(const char *s)
Definition: imgui_internal.h:307
void Clear()
Definition: imgui_internal.h:354
bool IsActiveIdUsingNavInput(ImGuiNavInput input)
Definition: imgui_internal.h:1691
ImGuiNavDirSourceFlags_
Definition: imgui_internal.h:583
ImGuiDir NavMoveDir
Definition: imgui_internal.h:1065
ImVec2 BackupCursorMaxPos
Definition: imgui_internal.h:704
void * UserCallbackData
Definition: imgui_internal.h:744
float LogLinePosY
Definition: imgui_internal.h:1147
Definition: imgui_internal.h:959
void Backup()
Definition: imgui_internal.h:1496
ImGuiLayoutType ParentLayoutType
Definition: imgui_internal.h:1329
ImGuiWindow * MovingWindow
Definition: imgui_internal.h:987
void ClearSelection()
Definition: imgui_internal.h:757
ImRect HostClipRect
Definition: imgui_internal.h:823
IMGUI_API ImFileHandle ImFileOpen(const char *filename, const char *mode)
IMGUI_API void ImStrTrimBlanks(char *str)
IMGUI_API void ImFontAtlasBuildRegisterDefaultCustomRects(ImFontAtlas *atlas)
ImVec1 BackupGroupOffset
Definition: imgui_internal.h:706
ImGuiID LastActiveId
Definition: imgui_internal.h:1016
IMGUI_API void AddRect(const ImVec2 &p_min, const ImVec2 &p_max, ImU32 col, float rounding=0.0f, ImDrawCornerFlags rounding_corners=ImDrawCornerFlags_All, float thickness=1.0f)
Definition: imgui_internal.h:676
IMGUI_API int ImTextCharFromUtf8(unsigned int *out_char, const char *in_text, const char *in_text_end)
Definition: imgui_internal.h:499
void Expand(const ImVec2 &amount)
Definition: imgui_internal.h:665
IMGUI_API void PushMultiItemsWidths(int components, float width_full)
ImVector< float > TextWrapPosStack
Definition: imgui_internal.h:1339
static ImU32 ImHash(const void *data, int size, ImU32 seed=0)
Definition: imgui_internal.h:212
IMGUI_API ImVec2 FindBestWindowPosForPopup(ImGuiWindow *window)
ImVec1(float _x)
Definition: imgui_internal.h:628
ImGuiStyleVar VarIdx
Definition: imgui_internal.h:693
bool HasCloseButton
Definition: imgui_internal.h:1412
Definition: imgui_internal.h:921
ImGuiLayoutType_
Definition: imgui_internal.h:524
Definition: imgui_internal.h:567
Definition: imgui_internal.h:1488
int DragDropSourceFrameCount
Definition: imgui_internal.h:1092
IMGUI_API void ActivateItem(ImGuiID id)
Definition: imgui_internal.h:490
unsigned long long ImU64
Definition: imgui.h:181
ImGuiColorEditFlags ColorEditOptions
Definition: imgui_internal.h:1116
int(* ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data)
Definition: imgui.h:162
IMGUI_API ImVec2 FindBestWindowPosForPopupEx(const ImVec2 &ref_pos, const ImVec2 &size, ImGuiDir *last_dir, const ImRect &r_outer, const ImRect &r_avoid, ImGuiPopupPositionPolicy policy=ImGuiPopupPositionPolicy_Default)
ImVec1 Indent
Definition: imgui_internal.h:1343
ImGuiNextWindowDataFlags_
Definition: imgui_internal.h:884
IMGUI_API bool ScrollbarEx(const ImRect &bb, ImGuiID id, ImGuiAxis axis, float *p_scroll_v, float avail_v, float contents_v, ImDrawCornerFlags rounding_corners)
ImGuiCond PosCond
Definition: imgui_internal.h:900
int Size
Definition: imgui.h:1243
ImVec2 ScrollbarSizes
Definition: imgui_internal.h:1402
Definition: imgui_internal.h:861
Definition: imgui_internal.h:485
float y
Definition: imgui.h:187
int GetSize() const
Definition: imgui_internal.h:382
IMGUI_API int ImTextCountCharsFromUtf8(const char *in_text, const char *in_text_end)
ImGuiColumnsFlags Flags
Definition: imgui_internal.h:805
ImGuiTextBuffer LogBuffer
Definition: imgui_internal.h:1146
IMGUI_API void SetNavID(ImGuiID id, int nav_layer)
Definition: imgui_internal.h:413
static float ImLinearSweep(float current, float target, float speed)
Definition: imgui_internal.h:336
IMGUI_API ImGuiWindowSettings * FindWindowSettings(ImGuiID id)
float Width
Definition: imgui_internal.h:1527
IMGUI_API float GetNavInputAmount(ImGuiNavInput n, ImGuiInputReadMode mode)
ImVec2 SetWindowPosPivot
Definition: imgui_internal.h:1428
ImGuiColumnsFlags Flags
Definition: imgui_internal.h:814
Definition: imgui_internal.h:439
IMGUI_API void PushColumnClipRect(int column_index)
ImGuiTextBuffer TabsNames
Definition: imgui_internal.h:1559
Definition: imgui_internal.h:570
Definition: imgui_internal.h:558
ImDrawListSharedData DrawListSharedData
Definition: imgui_internal.h:968
float ScrollX
Definition: imgui_internal.h:737
voidpf uLong offset
Definition: ioapi.h:42
IMGUI_API ImVec2 CalcItemSize(ImVec2 size, float default_w, float default_h)
IMGUI_API void SetActiveID(ImGuiID id, ImGuiWindow *window)
Definition: imgui_internal.h:449
IMGUI_API void ClearActiveID()
int ImGuiDragFlags
Definition: imgui_internal.h:104
IMGUI_API void Indent(float indent_w=0.0f)
Definition: imgui_internal.h:579
IMGUI_API void TabItemBackground(ImDrawList *draw_list, const ImRect &bb, ImGuiTabItemFlags flags, ImU32 col)
Definition: imgui_internal.h:597
ImVector< T > Buf
Definition: imgui_internal.h:366
void Reserve(int capacity)
Definition: imgui_internal.h:381
IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat=true)
float ActiveIdTimer
Definition: imgui_internal.h:1000
IMGUI_API void RenderNavHighlight(const ImRect &bb, ImGuiID id, ImGuiNavHighlightFlags flags=ImGuiNavHighlightFlags_TypeDefault)
bool WithinFrameScope
Definition: imgui_internal.h:973
ImGuiTabBar * CurrentTabBar
Definition: imgui_internal.h:1106
ImGuiIO IO
Definition: imgui_internal.h:963
ImVec2 GetTL() const
Definition: imgui_internal.h:655
IMGUI_API ImGuiContext * GImGui
bool WasActive
Definition: imgui_internal.h:1405
IMGUI_API const char * ImParseFormatTrimDecorations(const char *format, char *buf, size_t buf_size)
T * alloc_chunk(size_t sz)
Definition: imgui_internal.h:398
IMGUI_API ImGuiID GetColumnsID(const char *str_id, int count)
ImGuiID TypeHash
Definition: imgui_internal.h:778
int ImGuiNavHighlightFlags
Definition: imgui_internal.h:107
ImGuiColumnData()
Definition: imgui_internal.h:808
float ItemWidth
Definition: imgui_internal.h:1335
ImFontAtlas * Fonts
Definition: imgui.h:1374
int FramerateSecPerFrameIdx
Definition: imgui_internal.h:1159
ImGuiNavForward
Definition: imgui_internal.h:603
float ImTriangleArea(const ImVec2 &a, const ImVec2 &b, const ImVec2 &c)
Definition: imgui_internal.h:344
Definition: imgui_internal.h:421
Definition: imgui_internal.h:620
IMGUI_API void RenderCheckMark(ImVec2 pos, ImU32 col, float sz)
float SettingsDirtyTimer
Definition: imgui_internal.h:1137
ImGuiWindow * GetCurrentWindow()
Definition: imgui_internal.h:1582
Definition: imgui_internal.h:364
int LogDepthToExpandDefault
Definition: imgui_internal.h:1151
ImVector< ImGuiStyleMod > StyleModifiers
Definition: imgui_internal.h:1025
void ClearFreeMemory()
Definition: imgui_internal.h:748
IMGUI_API void TreePushOverrideID(ImGuiID id)
IMGUI_API const char * ImParseFormatFindStart(const char *format)
ImPool()
Definition: imgui_internal.h:370
bool DragDropWithinSourceOrTarget
Definition: imgui_internal.h:1090
ImGuiTextFlags_
Definition: imgui_internal.h:516
IMGUI_API bool CollapseButton(ImGuiID id, const ImVec2 &pos)
IMGUI_API const ImGuiDataTypeInfo * DataTypeGetInfo(ImGuiDataType data_type)
ImGuiWindowFlags Flags
Definition: imgui_internal.h:1386
Definition: imgui_internal.h:641
IMGUI_API ImGuiWindowSettings * CreateNewWindowSettings(const char *name)
int ImGuiTextFlags
Definition: imgui_internal.h:114
IMGUI_API ImVec2 TabItemCalcSize(const char *label, bool has_close_button)
ImGuiID ID
Definition: imgui_internal.h:766
ImGuiID ActiveId
Definition: imgui_internal.h:998
void Remove(ImGuiID key, const T *p)
Definition: imgui_internal.h:379
static int ImUpperPowerOfTwo(int v)
Definition: imgui_internal.h:217
ImVector< ImGuiWindow * > ChildWindows
Definition: imgui_internal.h:1326
float ScrollbarClickDeltaToGrabCenter
Definition: imgui_internal.h:1123
IMGUI_API float SliderCalcRatioFromValueT(ImGuiDataType data_type, T v, T v_min, T v_max, float power, float linear_zero_pos)
Definition: imgui_internal.h:892
Definition: imgui_internal.h:492
IMGUI_API ImU32 ImHashStr(const char *data, size_t data_size=0, ImU32 seed=0)
IMGUI_API ImVec2 ScrollToBringRectIntoView(ImGuiWindow *window, const ImRect &item_rect)
T * begin()
Definition: imgui_internal.h:399
IMGUI_API void SetFocusID(ImGuiID id, ImGuiWindow *window)
ImVec1 GroupOffset
Definition: imgui_internal.h:1344
Definition: imgui_internal.h:775
IMGUI_API ImGuiWindow * FindWindowByID(ImGuiID id)
int ImGuiButtonFlags
Definition: imgui_internal.h:102
Definition: imgui_internal.h:533
Definition: imgui_internal.h:886
const char * GetTabName(const ImGuiTabItem *tab) const
Definition: imgui_internal.h:1563
ImGuiContext(ImFontAtlas *shared_font_atlas)
Definition: imgui_internal.h:1166
bool FontAtlasOwnedByContext
Definition: imgui_internal.h:962
ImRect(const ImVec4 &v)
Definition: imgui_internal.h:648
Definition: imgui_internal.h:566
ImVec2 Size
Definition: imgui_internal.h:1388
float LastTimeActive
Definition: imgui_internal.h:1443
bool NavInitRequestFromMove
Definition: imgui_internal.h:1058
bool IsActiveIdUsingKey(ImGuiKey key)
Definition: imgui_internal.h:1692
int NameBufLen
Definition: imgui_internal.h:1395
IMGUI_API void KeepAliveID(ImGuiID id)
void DebugStartItemPicker()
Definition: imgui_internal.h:1808
IMGUI_API bool ImFileClose(ImFileHandle file)
IMGUI_API ImRect GetWindowAllowedExtentRect(ImGuiWindow *window)
ImGuiWindow * RootWindowForTitleBarHighlight
Definition: imgui_internal.h:1455
int ImGuiItemStatusFlags
Definition: imgui_internal.h:106
IMGUI_API ImGuiWindow * FindWindowByName(const char *name)
Definition: imgui_internal.h:320
int FocusCounterTab
Definition: imgui_internal.h:1331
IMGUI_API ImGuiDir ImGetDirQuadrantFromDelta(float dx, float dy)
float LineMaxY
Definition: imgui_internal.h:820
ImGuiWindow * NavWindow
Definition: imgui_internal.h:1031
IMGUI_API void BeginTooltipEx(ImGuiWindowFlags extra_flags, bool override_previous_tooltip=true)
IMGUI_API void OpenPopupEx(ImGuiID id)
ImVec2ih Pos
Definition: imgui_internal.h:767
IMGUI_API ImGuiWindow * GetTopMostPopupModal()
IMGUI_API void NavMoveRequestForward(ImGuiDir move_dir, ImGuiDir clip_dir, const ImRect &bb_rel, ImGuiNavMoveFlags move_flags)
ImRect(const ImVec2 &min, const ImVec2 &max)
Definition: imgui_internal.h:647
ImVector< char > Buf
Definition: imgui.h:1641
ImGuiNextItemDataFlags_
Definition: imgui_internal.h:918
ImGuiID MoveId
Definition: imgui_internal.h:1396
ImGuiInputSource NavInputSource
Definition: imgui_internal.h:1041
static T ImMin(T lhs, T rhs)
Definition: imgui_internal.h:313
IMGUI_API void EndColumns()
IMGUI_API void FlattenIntoSingleLayer()
ImPool< ImGuiTabBar > TabBars
Definition: imgui_internal.h:1107
int DragDropAcceptFrameCount
Definition: imgui_internal.h:1101
float TextWrapPos
Definition: imgui_internal.h:1336
ImGuiID NavInitResultId
Definition: imgui_internal.h:1059
#define IM_PLACEMENT_NEW(_PTR)
Definition: imgui.h:1225
Definition: imgui_internal.h:1509
IMGUI_API void StartMouseMovingWindow(ImGuiWindow *window)
ImVec2 SetWindowPosVal
Definition: imgui_internal.h:1427
float DistCenter
Definition: imgui_internal.h:876
ImGuiWindow * FocusRequestNextWindow
Definition: imgui_internal.h:1073
ImGuiWindow * WheelingWindow
Definition: imgui_internal.h:988
int KeyMap[ImGuiKey_COUNT]
Definition: imgui.h:1369
float BgAlphaVal
Definition: imgui_internal.h:911
IMGUI_API ImGuiSettingsHandler * FindSettingsHandler(const char *type_name)
ImFont * FontDefault
Definition: imgui.h:1377
IMGUI_API int ImFormatStringV(char *buf, size_t buf_size, const char *fmt, va_list args) IM_FMTLIST(3)
#define IM_NEW(_TYPE)
Definition: imgui.h:1226
ImGuiID NavNextActivateId
Definition: imgui_internal.h:1040
ImVec2 WindowPadding
Definition: imgui_internal.h:1392
ImGuiPopupPositionPolicy
Definition: imgui_internal.h:617
Definition: imgui_internal.h:598