2019-10-13 19:33:14 +00:00
|
|
|
sub init()
|
2020-03-08 05:58:39 +00:00
|
|
|
m.top.backgroundColor = "#101010"
|
|
|
|
m.top.backgroundURI = ""
|
2019-10-13 19:33:14 +00:00
|
|
|
end sub
|
|
|
|
|
|
|
|
function onKeyEvent(key as string, press as boolean) as boolean
|
|
|
|
if not press then return false
|
|
|
|
|
|
|
|
if key = "back"
|
|
|
|
m.top.backPressed = true
|
|
|
|
return true
|
|
|
|
else if key = "options"
|
|
|
|
m.top.optionsPressed = true
|
|
|
|
return true
|
|
|
|
end if
|
|
|
|
|
|
|
|
return false
|
|
|
|
end function
|