[apps/sequence] Select the right cell in list after changing sequence

type

Change-Id: If92944aca236653ba4b25f14b3029be2a522f37b
This commit is contained in:
Émilie Feral
2017-02-27 14:25:29 +01:00
committed by Romain Goyet
parent 10238fe9d1
commit df9dba94dd
6 changed files with 24 additions and 8 deletions

View File

@@ -1,14 +1,15 @@
#include "list_parameter_controller.h"
#include "list_controller.h"
using namespace Poincare;
using namespace Shared;
namespace Sequence {
ListParameterController::ListParameterController(Responder * parentResponder, SequenceStore * sequenceStore) :
Shared::ListParameterController(parentResponder, sequenceStore),
ListParameterController::ListParameterController(ListController * listController, SequenceStore * sequenceStore) :
Shared::ListParameterController(listController, sequenceStore),
m_typeCell(PointerTableCellWithChevronAndExpression((char *)"Type de suite")),
m_typeParameterController(TypeParameterController(this, sequenceStore, TableCell::Layout::Horizontal, Metric::CommonTopMargin, Metric::CommonRightMargin,
m_typeParameterController(TypeParameterController(this, sequenceStore, listController, TableCell::Layout::Horizontal, Metric::CommonTopMargin, Metric::CommonRightMargin,
Metric::CommonBottomMargin, Metric::CommonLeftMargin))
{
}