mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[escher][apps] CHange textField API
Change-Id: I766d153b7f7429473f297707a08358051123accc
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "goto_parameter_controller.h"
|
||||
#include "../app.h"
|
||||
#include <assert.h>
|
||||
|
||||
namespace Graph {
|
||||
@@ -9,6 +10,8 @@ GoToParameterController::GoToParameterController(Responder * parentResponder, Gr
|
||||
m_graphView(graphView),
|
||||
m_function(nullptr)
|
||||
{
|
||||
m_abscisseCell.setParentResponder(&m_selectableTableView);
|
||||
m_abscisseCell.setDelegate(this);
|
||||
}
|
||||
|
||||
ExpressionTextFieldDelegate * GoToParameterController::textFieldDelegate() {
|
||||
@@ -46,4 +49,10 @@ int GoToParameterController::reusableCellCount() {
|
||||
void GoToParameterController::setFunction(Function * function) {
|
||||
m_function = function;
|
||||
}
|
||||
|
||||
bool GoToParameterController::textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) {
|
||||
App * myApp = (App *)app();
|
||||
return myApp->textFieldDidReceiveEvent(textField, event);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user