Events app

This commit is contained in:
IgorTimofeev 2022-05-12 21:46:36 +03:00
parent 7b7589474e
commit 03fcf0cc76
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ local text = require("Text")
---------------------------------------------------------------------------------
local workspace, window, menu = system.addWindow(GUI.filledWindow(1, 1, 82, 28, 0x000000))
local workspace, window, menu = system.addWindow(GUI.filledWindow(1, 1, 82, 28, 0x000000, 0.3))
local display = window:addChild(GUI.object(2, 4, 1, 1))
local lines = {}

View File

@ -4420,10 +4420,10 @@ function GUI.window(x, y, width, height)
return window
end
function GUI.filledWindow(x, y, width, height, backgroundColor)
function GUI.filledWindow(x, y, width, height, backgroundColor, transparency)
local window = GUI.window(x, y, width, height)
window.backgroundPanel = window:addChild(GUI.panel(1, 1, width, height, backgroundColor))
window.backgroundPanel = window:addChild(GUI.panel(1, 1, width, height, backgroundColor, transparency))
window.actionButtons = window:addChild(GUI.actionButtons(2, 2, true))
return window