MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / MetricsHelpMarker

Function MetricsHelpMarker

Source/3rdParty/imgui/imgui.cpp:16159–16169  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

16157#if !defined(IMGUI_DISABLE_DEMO_WINDOWS) || !defined(IMGUI_DISABLE_DEBUG_TOOLS)
16158// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
16159static void MetricsHelpMarker(const char* desc)
16160{
16161 ImGui::TextDisabled("(?)");
16162 if (ImGui::BeginItemTooltip())
16163 {
16164 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
16165 ImGui::TextUnformatted(desc);
16166 ImGui::PopTextWrapPos();
16167 ImGui::EndTooltip();
16168 }
16169}
16170#endif
16171
16172#ifndef IMGUI_DISABLE_DEBUG_TOOLS

Callers 4

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

Calls 1

TextDisabledFunction · 0.85

Tested by

no test coverage detected