Changeset 127 for trunk/samples

Show
Ignore:
Timestamp:
08/21/2007 18:14:05 (13 months ago)
Author:
why
Message:

* shoes/canvas.c: clipboard I/O for Win32.
* samples/edit.rb: basic clipboard, still need to get os-specific clipboard events to work.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/samples/edit.rb

    r124 r127  
    1919    when :alt_q 
    2020      quit 
     21    when :alt_c 
     22      self.clipboard = str 
     23    when :alt_v 
     24      str += self.clipboard 
    2125    end 
    2226    s = Shoes.escape(str).gsub(/^def /, "<span color='#FFDDAA'>def</span> ")