fpv/source/libraries/noble/modules/Noble.Transition/DipToWhite.lua
2024-06-01 16:52:11 +03:00

19 lines
612 B
Lua

---
-- @submodule Noble.Transition
class("DipToWhite", nil, Noble.Transition).extends(Noble.Transition.Dip)
local transition = Noble.Transition.DipToWhite
transition.name = "Dip to White"
--- Fade to white, then to the next scene.
-- NOTE: The `panelImage` property is locked.
-- @see Noble.Transition.Dip.defaultProperties
-- @table Noble.Transition.DipToWhite.defaultProperties
transition.panelImage = Graphics.image.new(400, 240, Graphics.kColorWhite)
function transition:setCustomArguments(__arguments)
transition.super.setCustomArguments(self, __arguments)
self.x = 0
self.y = 0
end