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