[poincare] Change names: LayoutReference-->Layout

This commit is contained in:
Émilie Feral
2018-09-18 16:28:39 +02:00
parent f5298650a7
commit 365b145cf3
277 changed files with 1654 additions and 1671 deletions

View File

@@ -46,11 +46,11 @@ double TermSumController::cursorNextStep(double x, int direction) {
return std::round(m_cursor->x()+delta);
}
LayoutReference TermSumController::createFunctionLayout(const char * functionName) {
return HorizontalLayoutReference(
CharLayoutReference(functionName[0], KDText::FontSize::Small),
VerticalOffsetLayoutReference(
CharLayoutReference('n', KDText::FontSize::Small),
Layout TermSumController::createFunctionLayout(const char * functionName) {
return HorizontalLayout(
CharLayout(functionName[0], KDText::FontSize::Small),
VerticalOffsetLayout(
CharLayout('n', KDText::FontSize::Small),
VerticalOffsetLayoutNode::Type::Subscript
)
);