Changeset 120 for trunk/samples/draw.rb

Show
Ignore:
Timestamp:
08/19/2007 17:59:05 (13 months ago)
Author:
why
Message:

* shoes/ruby.c: okay, using the Color class for everywhere colors are put to use.
* samples/: switched most of the examples to using the rgb and gray methods, though the old techniques are still good.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/samples/draw.rb

    r113 r120  
    11Shoes.app do 
    2   background "rgb(102, 102, 102)" 
    3   stroke 0, 0, 0 
     2  background "#999" 
     3  stroke "#000" 
    44  x, y = nil, nil 
    55  motion do |_x, _y|