[TD]move format spec to dimension tab
- also make %.2w default format
This commit is contained in:
committed by
WandererFan
parent
0149b99b6f
commit
58d1ef260b
@@ -233,3 +233,17 @@ std::string Preferences::lineGroupFile()
|
||||
}
|
||||
return lgFileName;
|
||||
}
|
||||
|
||||
std::string Preferences::formatSpec()
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
|
||||
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Dimensions");
|
||||
return hGrp->GetASCII("formatSpec","%.2w");
|
||||
}
|
||||
|
||||
int Preferences::altDecimals()
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
|
||||
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Dimensions");
|
||||
return hGrp->GetInt("AltDecimals", 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user