[macruby-changes] [2366] MacRuby/trunk/lib/hotcocoa/mappings
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 24 21:44:55 PDT 2009
Revision: 2366
http://trac.macosforge.org/projects/ruby/changeset/2366
Author: rich at infoether.com
Date: 2009-08-24 21:44:52 -0700 (Mon, 24 Aug 2009)
Log Message:
-----------
refer to Layout classes within HotCocoa module
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/mappings/view.rb
MacRuby/trunk/lib/hotcocoa/mappings/window.rb
Modified: MacRuby/trunk/lib/hotcocoa/mappings/view.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/view.rb 2009-08-25 04:00:07 UTC (rev 2365)
+++ MacRuby/trunk/lib/hotcocoa/mappings/view.rb 2009-08-25 04:44:52 UTC (rev 2366)
@@ -36,7 +36,7 @@
end
def layout=(options)
- @layout = LayoutOptions.new(self, options)
+ @layout = HotCocoa::LayoutOptions.new(self, options)
@layout.update_layout_views!
end
Modified: MacRuby/trunk/lib/hotcocoa/mappings/window.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/window.rb 2009-08-25 04:00:07 UTC (rev 2365)
+++ MacRuby/trunk/lib/hotcocoa/mappings/window.rb 2009-08-25 04:44:52 UTC (rev 2366)
@@ -49,7 +49,7 @@
default_layout = options.delete(:default_layout)
if options[:view] == :layout
options.delete(:view)
- window.setContentView(LayoutView.alloc.initWithFrame([0,0,window.contentView.frameSize.width, window.contentView.frameSize.height]))
+ window.setContentView(HotCocoa::LayoutView.alloc.initWithFrame([0,0,window.contentView.frameSize.width, window.contentView.frameSize.height]))
window.contentView.default_layout = default_layout
elsif options[:view] == :nolayout
options.delete(:view)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090824/88fc5aee/attachment.html>
More information about the macruby-changes
mailing list