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

Function setShowLeadingZero

source/MRViewer/MRUnitSettings.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void setShowLeadingZero( bool show )
54{
55 forAllUnits( [&]<typename E>()
56 {
57 auto params = getDefaultUnitParams<E>();
58 params.leadingZero = show;
59 setDefaultUnitParams( params );
60 } );
61}
62
63char getThousandsSeparator()
64{

Callers 3

loadSettingsMethod · 0.85
setUiLengthUnitFunction · 0.85

Calls 2

forAllUnitsFunction · 0.85
setDefaultUnitParamsFunction · 0.85

Tested by

no test coverage detected