examples/ConsoleDemo.rb in gglib-1.2.1 vs examples/ConsoleDemo.rb in gglib-1.3.0

- old
+ new

@@ -17,10 +17,10 @@ end class ConsoleDemoState < GGLib::StateObject def onStart $window.setBackground("img/bg.png") - GGLib::Button.new("button2", "Open Console", 270, 200, Proc.new{ |widget| GGLib::DebugConsole.new }, GGLib::Themes::BlueSteel) + GGLib::Button.new(:button1, "Open Console", 270, 200, Proc.new{ |widget| GGLib::DebugConsole.new; GGLib::Label.new(:label1, "Enter /help for help.", 250, 300, GGLib::Themes::Shade) }, GGLib::Themes::BlueSteel) end end ConsoleDemoWindow.new.show \ No newline at end of file