[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-dancr-rbcatut

アーカイブの一覧に戻る

ruby-****@sourc***** ruby-****@sourc*****
2013年 3月 26日 (火) 08:21:38 JST


-------------------------
REMOTE_ADDR = 70.49.48.128
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-dancr-rbcatut
-------------------------
@@ -383,7 +383,7 @@
      $: << '~/work/HikiLib'
      require 'hiki2-gtk-w-cairo.rb'
      include HikiGtk
-     class StrokeDemo < CairoWindow
+     class FillDemo < CairoWindow
        def draw(cr, da)
          #width, height = da.window.size
          # Your code goes between the two dashed lines:
@@ -395,8 +395,8 @@
          cr.stroke
          # -- your code - end ------------------------------------------- -e-
        end
-     end # // EndOf class StrokeDemo
-     window = StrokeDemo.new("Stroke Tut. Example")
+     end # // EndOf class FillDemo
+     window = FillDemo.new("Fill Tut. Example")
      window.show_all
      Gtk.main
 




ruby-gnome2-cvs メーリングリストの案内
アーカイブの一覧に戻る