MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / beginPassFailTextStyle

Function beginPassFailTextStyle

source/MRViewer/MRRenderDimensions.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68static void beginPassFailTextStyle( ImGuiMeasurementIndicators::Text& text, bool pass )
69{
70 text.add( ImGuiMeasurementIndicators::TextColor( SceneColors::get( pass ? SceneColors::LabelsGood : SceneColors::LabelsBad ) ) );
71}
72static void endPassFailTextStyle( ImGuiMeasurementIndicators::Text& text )
73{
74 text.add( ImGuiMeasurementIndicators::TextColor{} );

Callers 1

renderPassMethod · 0.85

Calls 3

TextColorClass · 0.85
getFunction · 0.50
addMethod · 0.45

Tested by

no test coverage detected