[escher] Extrude the model in selectable table view controller to its

delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
This commit is contained in:
Émilie Feral
2017-04-28 12:04:24 +02:00
parent b9b06e400b
commit 3f98061a4c
55 changed files with 232 additions and 191 deletions

View File

@@ -7,7 +7,7 @@ FunctionCurveParameterController::FunctionCurveParameterController(InteractiveCu
ViewController(nullptr),
m_goToCell(MessageTableCellWithChevron(I18n::Message::Goto)),
m_selectableTableView(SelectableTableView(this, this, 0, 1, Metric::CommonTopMargin, Metric::CommonRightMargin,
Metric::CommonBottomMargin, Metric::CommonLeftMargin)),
Metric::CommonBottomMargin, Metric::CommonLeftMargin, this)),
m_function(nullptr)
{
}
@@ -17,7 +17,7 @@ View * FunctionCurveParameterController::view() {
}
void FunctionCurveParameterController::didBecomeFirstResponder() {
m_selectableTableView.selectCellAtLocation(0, 0);
selectCellAtLocation(0, 0);
app()->setFirstResponder(&m_selectableTableView);
}