Фиксанул уёбищные цвета

This commit is contained in:
IgorTimofeev 2024-01-02 20:51:27 +03:00
parent ad6fc7f37b
commit bb9af38d6c
4 changed files with 8 additions and 14 deletions

Binary file not shown.

View File

@ -6,10 +6,13 @@ local text = require("Text")
---------------------------------------------------------------------------------
local workspace, window, menu = system.addWindow(GUI.filledWindow(1, 1, 82, 28, 0x000000, 0.3))
local workspace, window, menu = system.addWindow(GUI.filledWindow(1, 1, 82, 28, 0x1E1E1E))
local display = window:addChild(GUI.object(2, 4, 1, 1))
local lines = {}
local lines = {
"Ready for interaction"
}
display.draw = function(display)
if #lines == 0 then
@ -19,7 +22,7 @@ display.draw = function(display)
local y = display.y + display.height - 1
for i = #lines, math.max(#lines - display.height, 1), -1 do
screen.drawText(display.x, y, 0xFFFFFF, lines[i])
screen.drawText(display.x, y, 0xE1E1E1, lines[i])
y = y - 1
end
end

View File

@ -422,15 +422,7 @@
},
"Applications/Shooting.app/Icon.pic",
-- Reinstall OS
{
path = "Applications/Reinstall OS.app/Main.lua",
id = 1055,
shortcut = true
},
"Applications/Reinstall OS.app/Icon.pic",
-- Lua interpreter
-- Lua
{
path = "Applications/Lua.app/Main.lua",
id = 1077,

View File

@ -34,7 +34,6 @@ local desktopMenuLayout
local desktopMenuMineOSItem
local desktopIconField
local desktopBackground
local desktopBackgroundColor = 0x1E1E1E
local desktopBackgroundWallpaperX
local desktopBackgroundWallpaperY
@ -2293,7 +2292,7 @@ function system.execute(path, ...)
end
local function desktopBackgroundAmbientDraw()
screen.drawRectangle(1, desktopBackground.y, desktopBackground.width, desktopBackground.height, desktopBackgroundColor, 0, " ")
screen.drawRectangle(1, desktopBackground.y, desktopBackground.width, desktopBackground.height, userSettings.interfaceColorDesktopBackground or 0x1E1E1E, 0, " ")
end
function system.updateWallpaper()