Debug Tools: moved DebugStartItemPicker() to public API. Added to Demo->Tools menu. (#2673)

This commit is contained in:
ocornut
2024-02-20 17:31:25 +01:00
parent 198c38f0b1
commit 659fb41d0a
5 changed files with 18 additions and 2 deletions

View File

@@ -967,6 +967,7 @@ namespace ImGui
// - Your main debugging friend is the ShowMetricsWindow() function, which is also accessible from Demo->Tools->Metrics Debugger
IMGUI_API void DebugTextEncoding(const char* text);
IMGUI_API void DebugFlashStyleColor(ImGuiCol idx);
IMGUI_API void DebugStartItemPicker();
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); // This is called by IMGUI_CHECKVERSION() macro.
// Memory Allocators