[apps] Factorize the method textFieldDidReceiveEvent in the abstract

class float parameter controller

Change-Id: I374e46664f6514246fff6378d97ae142c7130ca9
This commit is contained in:
Émilie Feral
2016-12-21 13:58:52 +01:00
parent 434906bbdb
commit 453891c0da
10 changed files with 7 additions and 24 deletions

View File

@@ -185,10 +185,5 @@ void ParametersController::setParameterAtIndex(int parameterIndex, float f) {
m_law->setParameterAtIndex(f, parameterIndex);
}
bool ParametersController::textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) {
App * myApp = (App *)app();
return myApp->textFieldDidReceiveEvent(textField, event);
}
}