mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-21 03:29:22 +01:00
11 lines
272 B
Lua
Executable File
11 lines
272 B
Lua
Executable File
|
|
local GUI = require("GUI")
|
|
local system = require("System")
|
|
|
|
local workspace, window = system.addWindow(GUI.palette(1, 1, 0x9900FF))
|
|
window.submitButton.onTouch = function()
|
|
window:remove()
|
|
workspace:draw()
|
|
end
|
|
|
|
window.cancelButton.onTouch = window.submitButton.onTouch |