mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 11:09:21 +01:00
aefef
This commit is contained in:
parent
29afdc7adc
commit
a612d20ee6
@ -40,6 +40,7 @@ local function clearScreens()
|
|||||||
for address in component.list("screen") do
|
for address in component.list("screen") do
|
||||||
if address ~= mainScreenAddress then
|
if address ~= mainScreenAddress then
|
||||||
GPUProxy.bind(address, false)
|
GPUProxy.bind(address, false)
|
||||||
|
GPUProxy.setDepth(8)
|
||||||
GPUProxy.setResolution(baseResolutionWidth, baseResolutionHeight)
|
GPUProxy.setResolution(baseResolutionWidth, baseResolutionHeight)
|
||||||
GPUProxy.setBackground(config.backgroundColor)
|
GPUProxy.setBackground(config.backgroundColor)
|
||||||
GPUProxy.fill(1, 1, baseResolutionWidth, baseResolutionHeight, " ")
|
GPUProxy.fill(1, 1, baseResolutionWidth, baseResolutionHeight, " ")
|
||||||
@ -247,7 +248,7 @@ local function mainMenu(force)
|
|||||||
local e1, e2 = event.pull("touch")
|
local e1, e2 = event.pull("touch")
|
||||||
if e2 ~= mainScreenAddress then
|
if e2 ~= mainScreenAddress then
|
||||||
GPUProxy.bind(e2, false)
|
GPUProxy.bind(e2, false)
|
||||||
|
GPUProxy.setDepth(8)
|
||||||
GPUProxy.setResolution(baseResolutionWidth, baseResolutionHeight)
|
GPUProxy.setResolution(baseResolutionWidth, baseResolutionHeight)
|
||||||
GPUProxy.setBackground(color.HSBToInteger(hue, 1, 1))
|
GPUProxy.setBackground(color.HSBToInteger(hue, 1, 1))
|
||||||
GPUProxy.setForeground(0x0)
|
GPUProxy.setForeground(0x0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user