Remove Ion::Charset

This commit is contained in:
Léa Saviot
2019-01-11 17:37:23 +01:00
committed by Émilie Feral
parent f576e31ff1
commit 65e5adafac
83 changed files with 453 additions and 470 deletions

View File

@@ -84,8 +84,8 @@ void VariableBoxEmptyController::setType(Type type) {
messages[0] = I18n::Message::EmptyExpressionBox0;
messages[1] = I18n::Message::EmptyExpressionBox1;
messages[2] = I18n::Message::EmptyExpressionBox2;
char storeExpression[] = {'3', Ion::Charset::Sto, 'A'};
layout = LayoutHelper::String(storeExpression, sizeof(storeExpression), VariableBoxEmptyView::k_font);
const char * storeExpression = "3→A";
layout = LayoutHelper::String(storeExpression, strlen(storeExpression), VariableBoxEmptyView::k_font);
break;
}
case Type::Functions:
@@ -93,8 +93,8 @@ void VariableBoxEmptyController::setType(Type type) {
messages[0] = I18n::Message::EmptyFunctionBox0;
messages[1] = I18n::Message::EmptyFunctionBox1;
messages[2] = I18n::Message::EmptyFunctionBox2;
char storeFunction[] = {'3', '+', Graph::StorageCartesianFunctionStore::Symbol(), Ion::Charset::Sto, 'f', '(', Graph::StorageCartesianFunctionStore::Symbol(), ')'};
layout = LayoutHelper::String(storeFunction, sizeof(storeFunction), VariableBoxEmptyView::k_font);
const char * storeFunction = "3+x→f(x)";
layout = LayoutHelper::String(storeFunction, strlen(storeFunction), VariableBoxEmptyView::k_font);
break;
}
default: