From 03fcf0cc76392c4396ff118c5a4c29efc05498dd Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Thu, 12 May 2022 21:46:36 +0300 Subject: [PATCH] Events app --- Applications/Events.app/Main.lua | 2 +- Libraries/GUI.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications/Events.app/Main.lua b/Applications/Events.app/Main.lua index f6cec457..3e75fc82 100644 --- a/Applications/Events.app/Main.lua +++ b/Applications/Events.app/Main.lua @@ -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 = {} diff --git a/Libraries/GUI.lua b/Libraries/GUI.lua index 459b52db..40b1aad2 100755 --- a/Libraries/GUI.lua +++ b/Libraries/GUI.lua @@ -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