[code] The interface is a list with a button at the bottom to

start the console.

Change-Id: I4a4a432db2d4cdc72e9a0ad7aa5904c1ded3c0e1
This commit is contained in:
Léa Saviot
2017-10-13 17:44:31 +02:00
committed by Romain Goyet
parent c57f9cf8b1
commit adabf95b59
12 changed files with 93 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
#include "console_controller.h"
#include <apps/i18n.h>
#include "app.h"
extern "C" {
#include <stdlib.h>
@@ -138,6 +139,11 @@ bool ConsoleController::textFieldDidFinishEditing(TextField * textField, const c
return true;
}
bool ConsoleController::textFieldDidAbortEditing(TextField * textField, const char * text) {
app()->dismissModalViewController();
return true;
}
Toolbox * ConsoleController::toolboxForTextField(TextField * textFied) {
return nullptr;
}