MCPcopy Create free account
hub / github.com/cinder/Cinder / MetricsHelpMarker

Function MetricsHelpMarker

src/imgui/imgui.cpp:15781–15791  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

15779#if !defined(IMGUI_DISABLE_DEMO_WINDOWS) || !defined(IMGUI_DISABLE_DEBUG_TOOLS)
15780// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
15781static void MetricsHelpMarker(const char* desc)
15782{
15783 ImGui::TextDisabled("(?)");
15784 if (ImGui::BeginItemTooltip())
15785 {
15786 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
15787 ImGui::TextUnformatted(desc);
15788 ImGui::PopTextWrapPos();
15789 ImGui::EndTooltip();
15790 }
15791}
15792#endif
15793
15794#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