[apps/code] Use TextFieldWithExtension in the list controller

This commit is contained in:
Léa Saviot
2018-10-17 10:18:49 +02:00
committed by Émilie Feral
parent 6facfbbf7a
commit 974519f61a
7 changed files with 103 additions and 13 deletions

View File

@@ -4,6 +4,7 @@
#include <escher.h>
#include "console_controller.h"
#include "editor_controller.h"
#include "script_name_cell.h"
#include "script_parameter_controller.h"
#include "script_store.h"
@@ -91,7 +92,7 @@ private:
return nullptr;
}
};
EvenOddEditableTextCell m_scriptCells[k_maxNumberOfDisplayableScriptCells];
ScriptNameCell m_scriptCells[k_maxNumberOfDisplayableScriptCells];
/* In the initializer list of the MenuController constructor, we initialize
* m_scriptCells by copying k_maxNumberOfDisplayableScriptCells times the
* constructor of an EvenOddEditableTextCell. */