mirror of
https://github.com/Drezil/imgui.git
synced 2025-01-19 11:26:34 +00:00
Merge branch 'master' into docking
# Conflicts: # imgui.cpp
This commit is contained in:
commit
538d28e29e
13
imgui.cpp
13
imgui.cpp
@ -15759,6 +15759,17 @@ void ImGui::ShowMetricsWindow(bool* p_open)
|
|||||||
Funcs::NodeWindowSettings(settings);
|
Funcs::NodeWindowSettings(settings);
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef IMGUI_HAS_TABLE
|
||||||
|
if (ImGui::TreeNode("SettingsTables", "Settings packed data: Tables: %d bytes", g.SettingsTables.size()))
|
||||||
|
{
|
||||||
|
for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings))
|
||||||
|
Funcs::NodeTableSettings(settings);
|
||||||
|
ImGui::TreePop();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef IMGUI_HAS_DOCK
|
||||||
if (ImGui::TreeNode("SettingsDocking", "Settings packed data: Docking"))
|
if (ImGui::TreeNode("SettingsDocking", "Settings packed data: Docking"))
|
||||||
{
|
{
|
||||||
ImGui::Text("In SettingsWindows:");
|
ImGui::Text("In SettingsWindows:");
|
||||||
@ -15781,6 +15792,8 @@ void ImGui::ShowMetricsWindow(bool* p_open)
|
|||||||
}
|
}
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (ImGui::TreeNode("SettingsIniData", "Settings unpacked data (.ini): %d bytes", g.SettingsIniData.size()))
|
if (ImGui::TreeNode("SettingsIniData", "Settings unpacked data (.ini): %d bytes", g.SettingsIniData.size()))
|
||||||
{
|
{
|
||||||
char* buf = (char*)(void*)(g.SettingsIniData.Buf.Data ? g.SettingsIniData.Buf.Data : "");
|
char* buf = (char*)(void*)(g.SettingsIniData.Buf.Data ? g.SettingsIniData.Buf.Data : "");
|
||||||
|
Loading…
Reference in New Issue
Block a user