[macruby-changes] [2202] MacRuby/branches/experimental/sample-macruby/HotCocoa/ round_transparent_window/lib/application.rb
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 3 18:40:07 PDT 2009
Revision: 2202
http://trac.macosforge.org/projects/ruby/changeset/2202
Author: mattaimonetti at gmail.com
Date: 2009-08-03 18:40:07 -0700 (Mon, 03 Aug 2009)
Log Message:
-----------
fixed a bad copy/paste
Modified Paths:
--------------
MacRuby/branches/experimental/sample-macruby/HotCocoa/round_transparent_window/lib/application.rb
Modified: MacRuby/branches/experimental/sample-macruby/HotCocoa/round_transparent_window/lib/application.rb
===================================================================
--- MacRuby/branches/experimental/sample-macruby/HotCocoa/round_transparent_window/lib/application.rb 2009-08-04 01:36:39 UTC (rev 2201)
+++ MacRuby/branches/experimental/sample-macruby/HotCocoa/round_transparent_window/lib/application.rb 2009-08-04 01:40:07 UTC (rev 2202)
@@ -45,51 +45,4 @@
end
-Application.new.start
-require 'hotcocoa'
-SOURCE_DIR = File.expand_path(File.dirname(__FILE__))
-require SOURCE_DIR + '/nib_controller'
-require SOURCE_DIR + '/custom_view'
-require SOURCE_DIR + '/custom_window'
-
-# Replace the following code with your own hotcocoa code
-
-class Application
-
- include HotCocoa
-
- def start
- application :name => "HotCocoa: Round Transparent Window" do |app|
- app.delegate = self
- # load our nib
- NibController.new
- end
- end
-
- # file/open
- def on_open(menu)
- end
-
- # file/new
- def on_new(menu)
- end
-
- # help menu item
- def on_help(menu)
- end
-
- # This is commented out, so the minimize menu item is disabled
- #def on_minimize(menu)
- #end
-
- # window/zoom
- def on_zoom(menu)
- end
-
- # window/bring_all_to_front
- def on_bring_all_to_front(menu)
- end
-
-end
-
-Application.new.start
+Application.new.start
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090803/c82b7633/attachment.html>
More information about the macruby-changes
mailing list