MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / MetricsHelpMarker

Function MetricsHelpMarker

KBotExt/imgui/imgui.cpp:13599–13609  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

13597
13598// Avoid naming collision with imgui_demo.cpp's HelpMarker() for unity builds.
13599static void MetricsHelpMarker(const char* desc)
13600{
13601 ImGui::TextDisabled("(?)");
13602 if (ImGui::BeginItemTooltip())
13603 {
13604 ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
13605 ImGui::TextUnformatted(desc);
13606 ImGui::PopTextWrapPos();
13607 ImGui::EndTooltip();
13608 }
13609}
13610
13611// [DEBUG] List fonts in a font atlas and display its texture
13612void ImGui::ShowFontAtlas(ImFontAtlas* atlas)

Callers 3

ShowMetricsWindowMethod · 0.85
DebugNodeFontMethod · 0.85
ShowStackToolWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected