mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-01 16:54:20 +01:00
15 lines
332 B
Lua
Executable File
15 lines
332 B
Lua
Executable File
|
|
local MineOSInterface = require("MineOSInterface")
|
|
|
|
local mainContainer, window = MineOSInterface.addWindow(
|
|
MineOSInterface.windowFromContainer(
|
|
require("GUI").palette(1, 1, 0x9900FF)
|
|
)
|
|
)
|
|
|
|
window.OKButton.onTouch = function()
|
|
window:close()
|
|
MineOSInterface.OSDraw()
|
|
end
|
|
|
|
window.cancelButton.onTouch = window.OKButton.onTouch |