MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / MetricsHelpMarker

Function MetricsHelpMarker

external/imgui/imgui.cpp:16211–16221  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

16209#if !defined(IMGUI_DISABLE_DEMO_WINDOWS) || !defined(IMGUI_DISABLE_DEBUG_TOOLS)
16210// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
16211static void MetricsHelpMarker(const char* desc)
16212{
16213 ImGui::TextDisabled("(?)");
16214 if (ImGui::BeginItemTooltip())
16215 {
16216 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
16217 ImGui::TextUnformatted(desc);
16218 ImGui::PopTextWrapPos();
16219 ImGui::EndTooltip();
16220 }
16221}
16222#endif
16223
16224#ifndef IMGUI_DISABLE_DEBUG_TOOLS

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected