reorganization

This commit is contained in:
Evgeny
2021-08-06 14:43:34 +03:00
parent 372ec8578d
commit 1e9b33eaea
52 changed files with 1044 additions and 20 deletions

View File

@@ -0,0 +1,19 @@
buttons = { "Disabled", "Disabled", "Disabled" }
function on_resume()
redraw()
end
function on_click(idx)
if buttons[idx] == "Disabled" then
buttons[idx] = "Enabled"
else
buttons[idx] = "Disabled"
end
redraw()
end
function redraw()
ui:show_buttons(buttons)
end