[533] MacRuby/trunk/sample-macruby/HotCocoa/box.rb
Revision: 533 http://trac.macosforge.org/projects/ruby/changeset/533 Author: rich@infoether.com Date: 2008-08-30 11:00:25 -0700 (Sat, 30 Aug 2008) Log Message: ----------- remove box Removed Paths: ------------- MacRuby/trunk/sample-macruby/HotCocoa/box.rb Deleted: MacRuby/trunk/sample-macruby/HotCocoa/box.rb =================================================================== --- MacRuby/trunk/sample-macruby/HotCocoa/box.rb 2008-08-30 17:59:54 UTC (rev 532) +++ MacRuby/trunk/sample-macruby/HotCocoa/box.rb 2008-08-30 18:00:25 UTC (rev 533) @@ -1,20 +0,0 @@ -require 'hotcocoa' - -include HotCocoa - -application :name => "Box" do |app| - window :frame => [200, 800, 300, 120], :title => "HotCocoa!" do |win| - - win.did_move do - puts "Window moved to #{win.frame.inspect}!" - end - - win.did_resize do - puts "Window resized to #{win.frame.size.inspect}" - end - - win << box(:title => "I am a in a box!", :frame => [0,10, 300, 110], :auto_resize => [:width, :height]) do |b| - b << image_view(:frame => [10,10,60,60], :file => "rich.jpg") - end - end -end
participants (1)
-
source_changes@macosforge.org