MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / MetricsHelpMarker

Function MetricsHelpMarker

core/src/imgui/imgui.cpp:10900–10911  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

10898
10899// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
10900static void MetricsHelpMarker(const char* desc)
10901{
10902 ImGui::TextDisabled("(?)");
10903 if (ImGui::IsItemHovered())
10904 {
10905 ImGui::BeginTooltip();
10906 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
10907 ImGui::TextUnformatted(desc);
10908 ImGui::PopTextWrapPos();
10909 ImGui::EndTooltip();
10910 }
10911}
10912
10913#ifndef IMGUI_DISABLE_DEMO_WINDOWS
10914namespace ImGui { void ShowFontAtlas(ImFontAtlas* atlas); }

Callers 1

ShowMetricsWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected