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

Function MetricsHelpMarker

Dependencies/ImGui/src/imgui.cpp:21107–21117  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

21105
21106// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
21107static void MetricsHelpMarker(const char* desc)
21108{
21109 ImGui::TextDisabled("(?)");
21110 if (ImGui::BeginItemTooltip())
21111 {
21112 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
21113 ImGui::TextUnformatted(desc);
21114 ImGui::PopTextWrapPos();
21115 ImGui::EndTooltip();
21116 }
21117}
21118
21119// [DEBUG] List fonts in a font atlas and display its texture
21120void ImGui::ShowFontAtlas(ImFontAtlas* atlas)

Callers 3

ShowMetricsWindowMethod · 0.85
DebugNodeFontMethod · 0.85
ShowIDStackToolWindowMethod · 0.85

Calls 1

TextDisabledClass · 0.85

Tested by

no test coverage detected