Sha256: b831cc1f81dd4ec9c0fb769db97ddf3b75a77daf78ff68206de8fd779a19926d
Contents?: true
Size: 1.96 KB
Versions: 1
Compression:
Stored size: 1.96 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> sgl-cocoa → sgl with Ruby/Cocoa </title> <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script> <style> </style> <script type="text/javascript"> window.onload = function() { settings = { tl: { radius: 10 }, tr: { radius: 10 }, bl: { radius: 10 }, br: { radius: 10 }, antiAlias: true, autoPad: true, validTags: ["div"] } var versionBox = new curvyCorners(settings, document.getElementById("version")); versionBox.applyCornersToAll(); } </script> </head> <body> <div id="main"> <h1>sgl-cocoa → sgl with Ruby/Cocoa</h1> <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/sgl"; return false'> <p>Get Version</p> <a href="http://rubyforge.org/projects/sgl" class="numbers">1.0.0</a> </div> <h2>What</h2> <p>‘sgl-cocoa’ is a cocoa version of sgl. You can use sgl functions with Ruby/Cocoa.</p> <h2>Requirement</h2> <p>You can use sgl-cocoa only on Mac <span class="caps">OS X</span>.</p> <ul> <li>Mac <span class="caps">OS X 10</span>.3 or later</li> <li>ruby 1.8.5 or later</li> <li>RubyCocoa 0.4.1 or later</li> </ul> <h2>The basics</h2> <pre syntax="ruby"> # test1.rb require "sgl/cocoa" def setup window 100, 100 end def display line 0, 0, 100, 100 end mainloop </pre> <p>Run the program with <code>ruby test1.rb</code>.</p> <p class="coda"> 30th June 2007<br> </p> </div> <!-- insert site tracking codes here, like Google Urchin --> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sgl-1.0.0 | website/cocoa.html |