website/index.html in sgl-0.3.1 vs website/index.html in sgl-0.4.0
- old
+ new
@@ -3,11 +3,11 @@
<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
+ sgl → simple generic library
</title>
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
<style>
</style>
@@ -28,21 +28,18 @@
</script>
</head>
<body>
<div id="main">
- <h1>sgl</h1>
+ <h1>sgl → simple generic library</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">0.3.1</a>
+ <a href="http://rubyforge.org/projects/sgl" class="numbers">0.4.0</a>
</div>
- <h1>→ simple generic library</h1>
+ <h2>What is sgl?</h2>
- <h2>What is sgl?</h2>
-
-
<p>‘sgl’ is a simgple generic library to create a program with graphics and sound.</p>
<h2>Requirement</h2>
@@ -89,13 +86,24 @@
</pre>
<p>Run the program with <code>ruby test1.rb</code>.</p>
+<code>test2.rb</code>.
<pre syntax="ruby">
require "sgl"
+window 100, 100
+background 0
+color 100
+line 0, 0, 100, 100
+wait
+</pre>
+<code>test3.rb</code>.
+<pre syntax="ruby">
+require "sgl"
+
def setup
window 100, 100
end
def display
@@ -107,11 +115,11 @@
<h2>Pages</h2>
<ul>
- <li><a href="../doc/index.html">Document</a></li>
+ <li><a href="../doc/index.html" title="Rdoc"><span class="caps">API</span> Documnet</a></li>
<li><a href="cocoa.html">cocoa version</a></li>
</ul>
<ul>
@@ -158,10 +166,10 @@
<h2>Contact</h2>
<p>Comments are welcome. Send an email to “Kouichirou Eto” <eto at rubyforge dot org>.</p>
<p class="coda">
- 19th June 2007<br>
+ 25th June 2007<br>
</p>
</div>
<!-- insert site tracking codes here, like Google Urchin -->