mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Add toolbox event handling in responder [apps] Correct the text
field delegate app accordingly Change-Id: I180fe53aaa1e0929b357d3985f584937fba2ecca
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
using namespace Poincare;
|
||||
using namespace Shared;
|
||||
|
||||
namespace Probability {
|
||||
|
||||
@@ -198,11 +199,6 @@ bool CalculationController::handleEvent(Ion::Events::Event event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CalculationController::textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) {
|
||||
App * myApp = (App *)app();
|
||||
return myApp->textFieldDidReceiveEvent(textField, event);
|
||||
}
|
||||
|
||||
bool CalculationController::textFieldDidFinishEditing(TextField * textField, const char * text) {
|
||||
App * probaApp = (App *)app();
|
||||
Context * globalContext = probaApp->container()->globalContext();
|
||||
@@ -251,4 +247,8 @@ void CalculationController::updateTitle() {
|
||||
m_titleBuffer[currentChar-1] = 0;
|
||||
}
|
||||
|
||||
TextFieldDelegateApp * CalculationController::textFieldDelegateApp() {
|
||||
return (App *)app();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user