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