mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Default script name is in class Script, not menu controller
This commit is contained in:
@@ -69,17 +69,10 @@ private:
|
||||
static constexpr int ScriptCellType = 1;
|
||||
static constexpr int ScriptParameterCellType = 2;
|
||||
static constexpr int EmptyCellType = 3;
|
||||
static constexpr int k_defaultScriptNameMaxSize = 9 + 2 + 1;
|
||||
// k_defaultScriptNameMaxSize is the length of a name between script1.py and
|
||||
// script99.py.
|
||||
// 9 = strlen("script.py")
|
||||
// 2 = maxLength of integers between 1 and 99.
|
||||
// 1 = length of null terminating char.
|
||||
void addScript();
|
||||
void configureScript();
|
||||
void editScriptAtIndex(int scriptIndex);
|
||||
void numberedDefaultScriptName(char * buffer);
|
||||
void intToText(int i, char * buffer);
|
||||
void updateAddScriptRowDisplay();
|
||||
ScriptStore * m_scriptStore;
|
||||
ScriptNameCell m_scriptCells[k_maxNumberOfDisplayableScriptCells];
|
||||
|
||||
Reference in New Issue
Block a user