[escher] ExpressionTableCell is composed of a ScrollableExpressionView

instead of an ExpressionView
This commit is contained in:
Émilie Feral
2019-12-27 13:18:40 +01:00
committed by Léa Saviot
parent 9301dd510a
commit 9312d2bd65
14 changed files with 46 additions and 23 deletions

View File

@@ -2,8 +2,8 @@
#include <escher/palette.h>
#include <assert.h>
ExpressionTableCellWithPointer::ExpressionTableCellWithPointer(I18n::Message accessoryMessage, Layout layout) :
ExpressionTableCell(layout),
ExpressionTableCellWithPointer::ExpressionTableCellWithPointer(Responder * parentResponder, I18n::Message accessoryMessage, Layout layout) :
ExpressionTableCell(parentResponder, layout),
m_accessoryView(KDFont::SmallFont, accessoryMessage, 0.0f, 0.5f, Palette::GreyDark, KDColorWhite)
{
if (layout == Layout::Horizontal) {