[macruby-changes] [533] MacRuby/trunk/sample-macruby/HotCocoa/box.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 30 11:00:26 PDT 2008
Revision: 533
http://trac.macosforge.org/projects/ruby/changeset/533
Author: rich at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080830/19ef5c27/attachment.html
More information about the macruby-changes
mailing list