1 #ifndef CODE_VARIABLE_BOX_CONTROLLER_H 2 #define CODE_VARIABLE_BOX_CONTROLLER_H 26 void addFunctionAtIndex(
const char * functionName,
int scriptIndex);
27 void addVariableAtIndex(
const char * variableName,
int scriptIndex);
30 const char *
title()
override;
31 View *
view()
override {
return &m_selectableTableView; }
43 int reusableCellCount()
override;
44 void willDisplayCellForIndex(
HighlightCell * cell,
int index)
override;
46 constexpr
static int k_maxNumberOfDisplayedRows = 6;
47 constexpr
static int k_maxScriptNodesCount = 32;
48 void insertTextInCaller(
const char * text);
49 int m_scriptNodesCount;
50 ScriptNode m_scriptNodes[k_maxScriptNodesCount];
57 ContentViewController m_contentViewController;
void viewDidDisappear() override
Responder * parentResponder() const
const char * title() override
void viewWillAppear() override
bool handleEvent(Ion::Events::Event event) override
void didBecomeFirstResponder() override
static constexpr KDCoordinate ToolboxRowHeight
VariableBoxController(MenuController *menuController, ScriptStore *scriptStore)
constexpr uint8_t numberOfRows
void setTextInputCaller(TextInput *textInput)