[macruby-changes] [340] MacRuby/trunk/lib/hotcocoa/mappings

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 9 13:26:46 PDT 2008


Revision: 340
          http://trac.macosforge.org/projects/ruby/changeset/340
Author:   rich at infoether.com
Date:     2008-07-09 13:26:46 -0700 (Wed, 09 Jul 2008)
Log Message:
-----------
changing to LayoutView and layout

Added Paths:
-----------
    MacRuby/trunk/lib/hotcocoa/mappings/layout.rb

Removed Paths:
-------------
    MacRuby/trunk/lib/hotcocoa/mappings/packing_view.rb

Copied: MacRuby/trunk/lib/hotcocoa/mappings/layout.rb (from rev 339, MacRuby/trunk/lib/hotcocoa/mappings/packing_view.rb)
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/layout.rb	                        (rev 0)
+++ MacRuby/trunk/lib/hotcocoa/mappings/layout.rb	2008-07-09 20:26:46 UTC (rev 340)
@@ -0,0 +1,11 @@
+require 'hotcocoa/packing_view'
+
+Mappings.map :layout => :LayoutView do
+
+  defaults :frame => DefaultEmptyRect
+
+  def init_with_options(view, options)
+    view.initWithFrame options.delete(:frame)
+  end
+
+end

Deleted: MacRuby/trunk/lib/hotcocoa/mappings/packing_view.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/packing_view.rb	2008-07-09 20:24:11 UTC (rev 339)
+++ MacRuby/trunk/lib/hotcocoa/mappings/packing_view.rb	2008-07-09 20:26:46 UTC (rev 340)
@@ -1,11 +0,0 @@
-require 'hotcocoa/packing_view'
-
-Mappings.map :layout => :LayoutView do
-
-  defaults :frame => DefaultEmptyRect
-
-  def init_with_options(view, options)
-    view.initWithFrame options.delete(:frame)
-  end
-
-end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080709/6202438d/attachment-0001.html 


More information about the macruby-changes mailing list