# File examples/FadeIn.rb, line 27 def onStart $window.setBackground("img/splash.png") GGLib::Button.new(:fade, "Fade", 270, 200, Proc.new{ |widget| $window.state = GGLib::FadeScreen.new(EndMenu.new, 2) }, GGLib::Themes::BlueSteel) end