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