mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Small changes
This commit is contained in:
@@ -46,12 +46,12 @@ function KeyConfigScene:new()
|
|||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.fastForward.." SKIP",
|
text = CHAR.icon.fastForward.." SKIP",
|
||||||
x = 40, y = 300, w = 100, h = 30,
|
x = 40, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "tab"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "tab"} end
|
||||||
},
|
},
|
||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.cross_thick.." Cancel",
|
text = CHAR.icon.cross_thick.." Cancel",
|
||||||
x = 150, y = 300, w = 100, h = 30,
|
x = 150, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "escape"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
@@ -63,17 +63,17 @@ function KeyConfigScene:update()
|
|||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.checkMark.." CONFIRM",
|
text = CHAR.icon.checkMark.." CONFIRM",
|
||||||
x = 40, y = 300, w = 100, h = 30,
|
x = 40, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "return"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "return"} end
|
||||||
},
|
},
|
||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.retry_spin.." Restart",
|
text = CHAR.icon.retry_spin.." Restart",
|
||||||
x = 150, y = 300, w = 100, h = 30,
|
x = 150, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "delete"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "delete"} end
|
||||||
},
|
},
|
||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.cross_thick.." Cancel",
|
text = CHAR.icon.cross_thick.." Cancel",
|
||||||
x = 260, y = 300, w = 100, h = 30,
|
x = 260, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "escape"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ function LoadingScene.render()
|
|||||||
LOADED_BACKGROUND and "loaded" or "...",
|
LOADED_BACKGROUND and "loaded" or "...",
|
||||||
LOADED_MUSIC and "loaded" or "..."
|
LOADED_MUSIC and "loaded" or "..."
|
||||||
),
|
),
|
||||||
15, 440, 1e99, "left"
|
15, 400, 1e99, "left"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -46,12 +46,12 @@ function StickConfigScene:new()
|
|||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.fastForward.." SKIP",
|
text = CHAR.icon.fastForward.." SKIP",
|
||||||
x = 40, y = 300, w = 100, h = 30,
|
x = 40, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "tab"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "tab"} end
|
||||||
},
|
},
|
||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.cross_thick.." Cancel",
|
text = CHAR.icon.cross_thick.." Cancel",
|
||||||
x = 150, y = 300, w = 100, h = 30,
|
x = 150, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "escape"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
@@ -63,17 +63,17 @@ function StickConfigScene:update()
|
|||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.checkMark.." CONFIRM",
|
text = CHAR.icon.checkMark.." CONFIRM",
|
||||||
x = 40, y = 300, w = 100, h = 30,
|
x = 40, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "return"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "return"} end
|
||||||
},
|
},
|
||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.retry_spin.." Restart",
|
text = CHAR.icon.retry_spin.." Restart",
|
||||||
x = 150, y = 300, w = 100, h = 30,
|
x = 150, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "delete"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "delete"} end
|
||||||
},
|
},
|
||||||
BUTTON.new{
|
BUTTON.new{
|
||||||
text = CHAR.icon.cross_thick.." Cancel",
|
text = CHAR.icon.cross_thick.." Cancel",
|
||||||
x = 260, y = 300, w = 100, h = 30,
|
x = 260, y = 300, w = 100, h = 30,
|
||||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "escape"} end
|
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user