mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-12 19:51:02 +05:00
Events app
This commit is contained in:
parent
7b7589474e
commit
03fcf0cc76
@ -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 = {}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user