[poincare] Change the way Expression are built

This commit is contained in:
Émilie Feral
2019-02-18 11:37:22 +01:00
committed by LeaNumworks
parent 902dda34d6
commit 7b5f3c570d
249 changed files with 2076 additions and 1908 deletions

View File

@@ -51,9 +51,9 @@ double TermSumController::cursorNextStep(double x, int direction) {
Layout TermSumController::createFunctionLayout(const char * functionName) {
return HorizontalLayout::Builder(
CharLayout(functionName[0], KDFont::SmallFont),
CharLayout::Builder(functionName[0], KDFont::SmallFont),
VerticalOffsetLayout::Builder(
CharLayout('n', KDFont::SmallFont),
CharLayout::Builder('n', KDFont::SmallFont),
VerticalOffsetLayoutNode::Type::Subscript
)
);