MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / MetricsHelpMarker

Function MetricsHelpMarker

Dependencies/ImGui/src/imgui.cpp:21867–21877  ·  view source on GitHub ↗

Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.

Source from the content-addressed store, hash-verified

21865#if !defined(IMGUI_DISABLE_DEMO_WINDOWS) || !defined(IMGUI_DISABLE_DEBUG_TOOLS)
21866// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
21867static void MetricsHelpMarker(const char* desc)
21868{
21869 ImGui::TextDisabled("(?)");
21870 if (ImGui::BeginItemTooltip())
21871 {
21872 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
21873 ImGui::TextUnformatted(desc);
21874 ImGui::PopTextWrapPos();
21875 ImGui::EndTooltip();
21876 }
21877}
21878#endif
21879
21880#ifndef IMGUI_DISABLE_DEBUG_TOOLS

Callers 4

ShowFontAtlasMethod · 0.85
ShowMetricsWindowMethod · 0.85
ShowIDStackToolWindowMethod · 0.85
ShowFontSelectorMethod · 0.85

Calls 1

TextDisabledClass · 0.85

Tested by

no test coverage detected