mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 03:29:58 +02:00
[code] Split the Menu Controller in two columns.
The scripts names are on the right and open the script edition. The left cells open the script options. Change-Id: I3fbab8c3861f3395c3206775c92cda3470963b26
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
#include <escher.h>
|
||||
#include "../i18n.h"
|
||||
#include "editor_controller.h"
|
||||
#include "script_store.h"
|
||||
|
||||
namespace Code {
|
||||
@@ -15,7 +14,6 @@ public:
|
||||
ScriptParameterController(Responder * parentResponder, I18n::Message title, ScriptStore * scriptStore, MenuController * menuController);
|
||||
void setScript(int i);
|
||||
void dismissScriptParameterController();
|
||||
void scriptContentEditionDidFinish();
|
||||
|
||||
/* ViewController */
|
||||
View * view() override;
|
||||
@@ -33,14 +31,13 @@ public:
|
||||
|
||||
private:
|
||||
constexpr static int k_totalNumberOfCell = 4;
|
||||
StackViewController * stackController();
|
||||
StackViewController * stackViewController();
|
||||
I18n::Message m_pageTitle;
|
||||
MessageTableCell m_editScript;
|
||||
MessageTableCell m_editScript; //TODO rename execute script
|
||||
MessageTableCell m_renameScript;
|
||||
MessageTableCellWithSwitch m_autoImportScript;
|
||||
MessageTableCell m_deleteScript;
|
||||
SelectableTableView m_selectableTableView;
|
||||
EditorController m_editorController;
|
||||
ScriptStore * m_scriptStore;
|
||||
MenuController * m_menuController;
|
||||
bool m_autoImport;
|
||||
|
||||
Reference in New Issue
Block a user