Changeset 146
- Timestamp:
- 08/03/04 11:09:19 (4 years ago)
- Files:
-
- 1 modified
-
Arrow/trunk/applets/imgtext.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Arrow/trunk/applets/imgtext.rb
r135 r146 19 19 class ImageText < Arrow::Applet 20 20 21 # CVS version tag22 Version = /([\d\.]+)/.match( %q{$Revision: 1.1 $} )[1]21 # SVN Revision 22 SVNRev = %q$Rev$ 23 23 24 # CVS id tag 25 Rcsid = %q$Id$ 24 # SVN Id 25 SVNId = %q$Id$ 26 27 # SVN URL 28 SVNURL = %q$URL$ 26 29 27 30 # Applet signature … … 44 47 ###### 45 48 49 # PNG-creation action 46 50 action( 'png' ) {|txn,*rest| 47 51 text = $1 if /([\x20-\x7e]+)/.match( rest.first ) … … 54 58 } 55 59 60 # JPEG-creation action 56 61 action( 'jpeg' ) {|txn,*rest| 57 62 text = $1 if /([\x20-\x7e]+)/.match( rest.first )
