Debug Tools: Rename ShowIdStackToolWindow() -> ShowIDStackToolWindow(). (#4631)

Amend 8175a47
This commit is contained in:
ocornut
2023-09-27 19:49:12 +02:00
parent 2f431a948c
commit c21278eeae
7 changed files with 21 additions and 21 deletions

View File

@ -1803,7 +1803,7 @@ struct ImGuiDebugAllocInfo
struct ImGuiMetricsConfig
{
bool ShowDebugLog = false;
bool ShowIdStackTool = false;
bool ShowIDStackTool = false;
bool ShowWindowsRects = false;
bool ShowWindowsBeginOrder = false;
bool ShowTablesRects = false;
@ -1826,7 +1826,7 @@ struct ImGuiStackLevelInfo
};
// State for ID Stack tool queries
struct ImGuiIdStackTool
struct ImGuiIDStackTool
{
int LastActiveFrame;
int StackLevel; // -1: query stack and resize Results, >= 0: individual stack level
@ -1835,7 +1835,7 @@ struct ImGuiIdStackTool
bool CopyToClipboardOnCtrlC;
float CopyToClipboardLastTime;
ImGuiIdStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; }
ImGuiIDStackTool() { memset(this, 0, sizeof(*this)); CopyToClipboardLastTime = -FLT_MAX; }
};
//-----------------------------------------------------------------------------
@ -2149,7 +2149,7 @@ struct ImGuiContext
ImU8 DebugItemPickerMouseButton;
ImGuiID DebugItemPickerBreakId; // Will call IM_DEBUG_BREAK() when encountering this ID
ImGuiMetricsConfig DebugMetricsConfig;
ImGuiIdStackTool DebugIdStackTool;
ImGuiIDStackTool DebugIdStackTool;
ImGuiDebugAllocInfo DebugAllocInfo;
// Misc