mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code/varbox] Subtitles and basic items are displayed properly
This commit is contained in:
@@ -8,6 +8,7 @@ namespace Code {
|
||||
|
||||
class ScriptNode {
|
||||
public:
|
||||
constexpr static uint16_t CurrentScriptIndex = -1;
|
||||
enum class Type : bool {
|
||||
Function,
|
||||
Variable
|
||||
@@ -15,7 +16,7 @@ public:
|
||||
ScriptNode(Type type = Type::Variable, const char * name = nullptr, int nameLength = 0, uint16_t scriptIndex = 0) :
|
||||
m_type(type),
|
||||
m_name(name),
|
||||
m_scriptIndex(scriptIndex),
|
||||
m_scriptIndex(-1),
|
||||
m_nameLength(nameLength)
|
||||
{}
|
||||
Type type() const { return m_type; }
|
||||
|
||||
Reference in New Issue
Block a user