[poincare] AngleUnit, FormatComplex and PrintFloatMode are now

enumeration of Preferences class
This commit is contained in:
Émilie Feral
2018-07-30 13:29:00 +02:00
parent 0788735bcc
commit 48f890ef93
216 changed files with 984 additions and 997 deletions

View File

@@ -11,7 +11,7 @@ FunctionApp::Snapshot::Snapshot() :
m_indexFunctionSelectedByCursor(0),
m_modelVersion(0),
m_rangeVersion(0),
m_angleUnitVersion(Expression::AngleUnit::Radian)
m_angleUnitVersion(Preferences::AngleUnit::Radian)
{
m_interval.setStart(0);
m_interval.setEnd(10);
@@ -30,7 +30,7 @@ uint32_t * FunctionApp::Snapshot::rangeVersion() {
return &m_rangeVersion;
}
Expression::AngleUnit * FunctionApp::Snapshot::angleUnitVersion() {
Preferences::AngleUnit * FunctionApp::Snapshot::angleUnitVersion() {
return &m_angleUnitVersion;
}