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

@@ -3483,7 +3483,6 @@ namespace ImGui
IMGUI_API void DebugBreakClearData();
IMGUI_API bool DebugBreakButton(const char* label, const char* description_of_location);
IMGUI_API void DebugBreakButtonTooltip(bool keyboard_only, const char* description_of_location);
inline void DebugStartItemPicker() { ImGuiContext& g = *GImGui; g.DebugItemPickerActive = true; }
IMGUI_API void ShowFontAtlas(ImFontAtlas* atlas);
IMGUI_API void DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* data_id, const void* data_id_end);
IMGUI_API void DebugNodeColumns(ImGuiOldColumns* columns);