Changeset 210 for trunk/samples

Show
Ignore:
Timestamp:
09/28/2007 14:02:29 (11 months ago)
Author:
why
Message:

* shoes/canvas.c: added strong method, macros for INLINE and BLOCK markup.
* shoes/ruby.c: first stab at adding pango attributes during iteration.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/samples/timer.rb

    r208 r210  
    77    end 
    88    button "Stop" do 
    9       @label.replace "Stopped, #{Time.now - @time} seconds elapsed." 
     9      @label.replace "Stopped, ", strong("#{Time.now - @time}"), " seconds elapsed." 
    1010    end 
    11     @label = para "Press start to begin timing." 
     11    @label = para "Press ", strong("start"), " to begin timing." 
    1212  end 
    1313end