[VariableBox] Added sequences to the variable box

It is now possible to call the value of a defined sequence anywhere.

Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
This commit is contained in:
Arthur Camouseigt
2020-09-04 16:20:33 +02:00
committed by Émilie Feral
parent c006ed7b10
commit 3dca515441
50 changed files with 297 additions and 152 deletions

View File

@@ -45,6 +45,12 @@ void MathVariableBoxEmptyController::setType(Type type) {
layout = Poincare::LayoutHelper::String(storeFunction, strlen(storeFunction), MathVariableBoxEmptyView::k_font);
break;
}
case Type::Sequence:
{
messages[0] = I18n::Message::EmptySequenceBox0;
messages[3] = I18n::Message::Default;
break;
}
default:
assert(false);
}