Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit 1ab9159120 - Show all commits

View file

@ -44,6 +44,11 @@ function OverlayScreen:new(active, doShowVersion)
self.borders = gui.newBorder(424, 30, 8) self.borders = gui.newBorder(424, 30, 8)
self.doShowVersion = doShowVersion self.doShowVersion = doShowVersion
if (active == false) then
wasActive = active
hadVersion = self.doShowVersion
end
OverlayScreen.super.new(self, "overlay") OverlayScreen.super.new(self, "overlay")
local transformStuff = false local transformStuff = false
@ -80,6 +85,7 @@ end
function OverlayScreen:update(dt) function OverlayScreen:update(dt)
wasActive = self.isVisible wasActive = self.isVisible
hadVersion = self.doShowVersion hadVersion = self.doShowVersion
OverlayScreen.super.update(self, dt)
end end
function OverlayScreen:createElements() function OverlayScreen:createElements()