Updated entire website to be XHTML 1.0 Strict XML compliant
Some reorgansiation of navigation structure. Developer Info "dinfo.php" and User Info "uinfo.php" now obsolete. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@441 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
0245ec89eb
commit
10d29e38ed
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("Basic Page");
|
||||
@ -16,7 +11,4 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
<div class="textheader">What?</div>
|
||||
<p>freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to support the sample programs in the second edition OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical applications because it is simple, widely available and highly portable.</p>
|
||||
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("Info for Developers");
|
||||
@ -13,32 +8,4 @@ setPageTitle("Info for Developers");
|
||||
generateHeader($_SERVER['PHP_SELF']);
|
||||
?>
|
||||
|
||||
<div class="textheader">We can always use a hand.</div>
|
||||
<p>Below you'll find how to get the latest CVS copy, API documentation, and probably some ideas on why you should use freeglut.</p>
|
||||
|
||||
<div class="textheader">Check out...</div>
|
||||
<p><a href="/help.php">How You Can Help</a></p>
|
||||
|
||||
<div class="textheader">Go to SourceForge and...</div>
|
||||
<p><a href="http://freeglut.sourceforge.net/fg/index.php?id=402">Review current feature requests</a><br>
|
||||
Or
|
||||
<br>
|
||||
<a href="http://freeglut.sourceforge.net/fg/index.php?id=403">Review current bug reports</a></p>
|
||||
|
||||
<a name="cvs"></a>
|
||||
<div class="textheader">Anonymous CVS Access</div>
|
||||
<p>To check out the most up to date development copy of freeglut, issue the following commands at your command line. When prompted for a password for anonymous, simply press the Enter key.</p>
|
||||
|
||||
<blockquote>cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freeglut login<br>
|
||||
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freeglut co freeglut</blockquote>
|
||||
|
||||
<div class="textheader">Documentation</div>
|
||||
<h2><a href="/docs/install.php">The Installation Instructions.</a></h2>
|
||||
<p class="indent">How to install freeglut on various platforms.</p>
|
||||
|
||||
<h2><a href="/docs/api.php">The Application Programming Interface Documentation</a></h2>
|
||||
<p class="indent">How to use freeglut in your applications.</p>
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("../template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("Installation Instructions");
|
||||
@ -25,17 +20,17 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
|
||||
<div class="textheader">Untar and configure the packages</div>
|
||||
<p>Copy the tarball you downloaded into a temporary directory. Untar it as follows:</p>
|
||||
<tt><blockquote>bzcat freeglut-2.2.0.tar.bz2 | tar -vxf -</blockquote></tt>
|
||||
<pre>bzcat freeglut-2.2.0.tar.bz2 | tar -vxf -</pre>
|
||||
|
||||
<div class="textheader">Change to the resulting directory:</div>
|
||||
<tt><blockquote>cd freeglut-2.X.X</blockquote></tt>
|
||||
<pre>cd freeglut-2.X.X</pre>
|
||||
|
||||
<div class="textheader">Now, configure the packages:</div>
|
||||
<tt><blockquote>./configure</blockquote></tt>
|
||||
<pre>./configure</pre>
|
||||
|
||||
<p>NetBSD users may need a slightly different command:</p>
|
||||
|
||||
<blockquote><tt>LDFLAGS=-Wl,-R/usr/X11R6/lib ./configure</tt></blockquote>
|
||||
<pre>LDFLAGS=-Wl,-R/usr/X11R6/lib ./configure</pre>
|
||||
|
||||
<p>...to properly handle things.</p>
|
||||
|
||||
@ -44,17 +39,19 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
|
||||
<p>This is as simple as:</p>
|
||||
|
||||
<tt><blockquote>make all<br>
|
||||
make install</blockquote></tt>
|
||||
<pre>
|
||||
make all
|
||||
make install
|
||||
</pre>
|
||||
|
||||
|
||||
<div class="textheader">(Optional) Making symlinks to replace GLUT</div>
|
||||
<p>Make a symlink from libfreeglut.so.0.2.0 to libglut.so.3, libglut.so.3.7 and libglut.so.3.7.0</p>
|
||||
|
||||
<tt><blockquote>ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3<br>
|
||||
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7<br>
|
||||
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7.0</blockquote></tt>
|
||||
<pre>
|
||||
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3
|
||||
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7
|
||||
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7.0
|
||||
</pre>
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
@ -1,20 +1,20 @@
|
||||
BODY {
|
||||
body {
|
||||
margin-top: 0px ;
|
||||
margin-left: 140px ;
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
A {
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #DD3322;
|
||||
}
|
||||
|
||||
A.hover {
|
||||
a.hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
BLOCKQUOTE {
|
||||
blockquote, pre {
|
||||
color: #000000 ;
|
||||
border: 1px #0000CC solid ;
|
||||
background-color: #C0C0FF ;
|
||||
@ -27,21 +27,21 @@ BLOCKQUOTE {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
H1 {
|
||||
h1 {
|
||||
font-size: 1.4em;
|
||||
border-bottom: 1px #111166 solid ;
|
||||
width: 100%;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
H2 {
|
||||
h2 {
|
||||
font-size: 1.2em;
|
||||
border-bottom: 1px #999999 solid ;
|
||||
width: 100%;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
H3 {
|
||||
h3 {
|
||||
font-size: 1.1em;
|
||||
padding-left: 6px;
|
||||
}
|
||||
@ -51,20 +51,22 @@ H3 {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.navbar-left {
|
||||
.navbar-left
|
||||
{
|
||||
font-size: 0.8em
|
||||
color: #000000 ;
|
||||
background-color: #EDEDFF ;
|
||||
position: absolute ;
|
||||
float: left;
|
||||
left: 0px ;
|
||||
top: 0px ;
|
||||
width: 130px ;
|
||||
border: 1px #A0A0A0 solid ;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar-smalltext {
|
||||
font-size: 0.7em;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@ -72,21 +74,18 @@ H3 {
|
||||
font-size: 1.0em;
|
||||
color: #151111;
|
||||
background-color: transparent;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar-item {
|
||||
font-size: 1.0em ;
|
||||
color: #303010 ;
|
||||
background-color: #FFFFFF ;
|
||||
border: 1px #EDEDFF solid ;
|
||||
border: 0px #EDEDFF solid ;
|
||||
margin-top: 0px;
|
||||
padding: 1px;
|
||||
text-align: center;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.img-right {
|
||||
padding: 1px;
|
||||
float: right;
|
||||
color: #209040;
|
||||
text-align: center;
|
||||
|
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("How You Can Help");
|
||||
@ -13,10 +8,23 @@ setPageTitle("How You Can Help");
|
||||
generateHeader($_SERVER['PHP_SELF']);
|
||||
?>
|
||||
|
||||
<div class="textheader">Everyone can help</div>
|
||||
<p>Free software projects depend on the community around them for their growth. It's by contributions that truly wonderful pieces of open and free software come to be.</p>
|
||||
<p></p>
|
||||
|
||||
<p>Contributions can be nearly anything. The point is involvement!</p>
|
||||
<div class="img-right">
|
||||
<img src="images/OGL.png" alt="OpenGL" /><br/>
|
||||
This is OpenGL at its finest.
|
||||
</div>
|
||||
|
||||
<div class="textheader">This is better than GLUT.</div>
|
||||
<p>freeglut started as a GLUT clone, but now it's something much better than that. It's a GLUT replacement. Here are the features you have wanted -- and if you have ideas for more, share them!</p>
|
||||
|
||||
<div class="textheader">Everyone can help</div>
|
||||
<p>
|
||||
Free software projects depend on the community around them for their growth.
|
||||
It's by contributions that truly wonderful pieces of open and free software come to be.
|
||||
</p>
|
||||
|
||||
<p>Contributions can be nearly anything. The point is involvement!</p>
|
||||
|
||||
<p>Examples:</p>
|
||||
<ul>
|
||||
@ -29,9 +37,30 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
<li>Join our development mailing list.</li>
|
||||
<li>If you changed a feature, send us a patch -- others might benefit from your work!</li>
|
||||
</ul>
|
||||
<p>But simply, become involved!
|
||||
The project is not just software, it's the people that contribute, too.</p>
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<p>
|
||||
But simply, become involved!
|
||||
The project is not just software, it's the people that contribute, too.
|
||||
</p>
|
||||
|
||||
<div class="textheader">We can always use a hand.</div>
|
||||
|
||||
<p>Below you'll find how to get the latest CVS copy, API documentation,
|
||||
and probably some ideas on why you should use freeglut.</p>
|
||||
|
||||
<div class="textheader">Go to SourceForge and...</div>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://sourceforge.net/tracker/?func=browse&group_id=1032&atid=351032">Review current feature requests</a></li>
|
||||
<li><a href="http://sourceforge.net/tracker/?func=browse&group_id=1032&atid=101032">Review current bug reports</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="textheader"><a name="cvs"></a>Anonymous CVS Access</div>
|
||||
<p>To check out the most up to date development copy of freeglut, issue the following commands at your command line. When prompted for a password for anonymous, simply press the Enter key.</p>
|
||||
|
||||
<pre>
|
||||
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freeglut login
|
||||
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/freeglut co freeglut
|
||||
</pre>
|
||||
|
||||
<?php generateFooter(); ?>
|
||||
|
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("About");
|
||||
@ -12,11 +7,13 @@ setPageTitle("About");
|
||||
# Make the header.
|
||||
generateHeader($_SERVER['PHP_SELF']);
|
||||
?>
|
||||
<div class="img-right">
|
||||
<img src="images/chessdemo.png" alt="chess demo"/><br/>
|
||||
GLUT's "Chess" demo<br/>
|
||||
running with freeglut.
|
||||
</div>
|
||||
|
||||
<div class="img-right"><img src="/images/chessdemo.png"><BR>
|
||||
GLUT's "Chess" demo<BR>
|
||||
running with freeglut.</div>
|
||||
|
||||
<p></p>
|
||||
|
||||
<div class="textheader">What?</div>
|
||||
<p>freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to support the sample programs in the second edition OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical applications because it is simple, widely available and highly portable.</p>
|
||||
@ -30,32 +27,32 @@ running with freeglut.</div>
|
||||
<p>freeglut was originally written by Pawel W. Olszta with contributions from Andreas Umbach and Steve Baker. Steve is now the official owner/maintainer of freeglut.</p>
|
||||
|
||||
<div class="textheader">When?</div>
|
||||
<p>Pawel started freeglut development on December 1st, 1999. The project is now virtually a 100% replacement for the original GLUT with only a few departures (such as the abandonment of SGI-specific features such as the Dials&Buttons box and Dynamic Video Resolution) and a shrinking set of bugs.</p>
|
||||
<p>Pawel started freeglut development on December 1st, 1999. The project is now virtually a 100% replacement for the original GLUT with only a few departures (such as the abandonment of SGI-specific features such as the Dials&Buttons box and Dynamic Video Resolution) and a shrinking set of bugs.</p>
|
||||
|
||||
<a name="download"></a>
|
||||
<div class="textheader">Downloads...</div>
|
||||
<div class="textheader"><a name="download"></a>Downloads...</div>
|
||||
<p>Below are file links for the freeglut project. README files are included. You can also check the install documentation. Have fun!</p>
|
||||
|
||||
<div class="indent">
|
||||
<div class="textheader">Stable Releases</div>
|
||||
<p>
|
||||
<a href="http://prdownloads.sourceforge.net/freeglut/freeglut-2.2.0.tar.gz?download">Freeglut 2.2.0</a> [<i>Released: 12 December 2003</i>]<br>
|
||||
<a href="http://prdownloads.sourceforge.net/freeglut/freeglut-2.0.1.tar.gz?download">Freeglut 2.0.1</a> [<i>Released: 23 October 2003</i>]
|
||||
</p>
|
||||
|
||||
<div class="textheader">Prepackaged Releases</div>
|
||||
<p>The freeglut project does not support packaged versions of freeglut excepting, of course, the tarballs distributed here. However, various members of the community have put time and effort into providing source or binary rollups, and we thank them for their efforts. Here's a list which is likely incomplete:</p>
|
||||
<p>
|
||||
Andy Piper's <a href="http://jumpgate.homelinux.net/random/freeglut-fedora/">RedHat Fedora RPMs</a><br>
|
||||
Gentoo <a href="http://bugs.gentoo.org/show_bug.cgi?id=36783">freeglut-2.2.0.ebuild</a><br>
|
||||
Nigel Stewart's <a href="http://www.nigels.com/glt/devpak/">DevPak</a> for <a href="http://www.bloodshed.net/dev/devcpp.html">Dev C++</a>
|
||||
</p>
|
||||
<p>If you have problems with these packages, please contact their maintainers - we of the freeglut team probably can't help.</p>
|
||||
|
||||
<div class="textheader">Development Releases</div>
|
||||
<p>
|
||||
<a href="http://freeglut.sourceforge.net/dist/current.tgz">Nightly CVS Tarball</a><br>
|
||||
<a href="/dinfo.php#cvs">Anonymous CVS Instructions</a>
|
||||
</p>
|
||||
<div class="textheader">Stable Releases</div>
|
||||
<p>
|
||||
<a href="http://prdownloads.sourceforge.net/freeglut/freeglut-2.2.0.tar.gz?download">Freeglut 2.2.0</a> [<i>Released: 12 December 2003</i>]<br/>
|
||||
<a href="http://prdownloads.sourceforge.net/freeglut/freeglut-2.0.1.tar.gz?download">Freeglut 2.0.1</a> [<i>Released: 23 October 2003</i>]
|
||||
</p>
|
||||
|
||||
<div class="textheader">Prepackaged Releases</div>
|
||||
<p>The freeglut project does not support packaged versions of freeglut excepting, of course, the tarballs distributed here. However, various members of the community have put time and effort into providing source or binary rollups, and we thank them for their efforts. Here's a list which is likely incomplete:</p>
|
||||
<p>
|
||||
Andy Piper's <a href="http://jumpgate.homelinux.net/random/freeglut-fedora/">RedHat Fedora RPMs</a><br/>
|
||||
Gentoo <a href="http://bugs.gentoo.org/show_bug.cgi?id=36783">freeglut-2.2.0.ebuild</a><br/>
|
||||
Nigel Stewart's <a href="http://www.nigels.com/glt/devpak/">DevPak</a> for <a href="http://www.bloodshed.net/dev/devcpp.html">Dev C++</a>
|
||||
</p>
|
||||
<p>If you have problems with these packages, please contact their maintainers - we of the freeglut team probably can't help.</p>
|
||||
|
||||
<div class="textheader">Development Releases</div>
|
||||
<p>
|
||||
<a href="http://freeglut.sourceforge.net/dist/current.tgz">Nightly CVS Tarball</a><br/>
|
||||
<a href="/dinfo.php#cvs">Anonymous CVS Instructions</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="textheader">Questions?</div>
|
||||
@ -68,8 +65,4 @@ running with freeglut.</div>
|
||||
<li><a href="freeglut-bugs@lists.sourceforge.net">freeglut-bugs</a> [<a href="http://lists.sourceforge.net/lists/listinfo/freeglut-bugs">Subscribe</a>]</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("News");
|
||||
@ -22,11 +17,11 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
<div class="news-header">freeglut 2.2.0 Released [12 Decmber 2003]</div>
|
||||
<p>The freeglut Project proudly announces freeglut 2.2.0. This version contains:</p>
|
||||
<ul>
|
||||
<li>Mousewheel Support for Win32 & X11</li>
|
||||
<li>Mousewheel Support for Win32 & X11</li>
|
||||
<li>More unified Win32/*nix behavior and code</li>
|
||||
<li>Code style cleanups</li>
|
||||
<li>Visibility support in Win32</li>
|
||||
<li>Many other Good Bug Fixes&tm;</li>
|
||||
<li>Many other Good Bug Fixes™</li>
|
||||
</ul>
|
||||
<p>[Read <a href="http://sourceforge.net/project/shownotes.php?release_id=203468">the full ChangeLog</a>.]</p>
|
||||
|
||||
@ -44,9 +39,9 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
<div class="news-item">
|
||||
<div class="news-header">freeglut 2.0.0 is GOLD! [29 September 2003]</div>
|
||||
|
||||
<div class="img-right"><img src="images/tuxcake.png"><br>
|
||||
A cake one of our developers<BR>
|
||||
(John Fay) received in honor<BR>
|
||||
<div class="img-right"><img src="images/tuxcake.png" alt="Tux Cake"/><br/>
|
||||
A cake one of our developers<br/>
|
||||
(John Fay) received in honor<br/>
|
||||
of his freeglut work.</div>
|
||||
|
||||
<p>freeglut 2.0.0 marks the first true departure from Mark Kilgard's original GLUT library, adding much-requested features while still retaining not only high backward compatibility with older implementations of GLUT, but all the polish of the original -- and more!</p>
|
||||
@ -56,18 +51,22 @@ of his freeglut work.</div>
|
||||
|
||||
<p>This is an incomplete list -- there are simply too many improvements to write!</p>
|
||||
<p>General Improvements:</p>
|
||||
<ul><li>You can now control program behavior when a GLUT window is closed by the user, rather than simply exiting. Options include:</li>
|
||||
<ul><li>Immediate exit() (old GLUT behavior)</li>
|
||||
<li>glutMainLoop() returns to you</li>
|
||||
<li>continue execution</li></ul>
|
||||
<li>Option to share a rendering context for each new window</li>
|
||||
<li>Interruptable glutMainLoop (glutMainLoopEvent, glutLeaveMainLoop)</li>
|
||||
<li>Window-specific callback functions (Close, WindowManager Close, Menu destruction)</li>
|
||||
<li>User-specified data in Windows and Menus</li>
|
||||
<li>Additional font statistics (stroke and bitmap heights...)</li>
|
||||
<li>New font functions to allow the user to print strings instead of one character at a time</li>
|
||||
<li>New primitives (RhombicDodecahedron, SierpinskiSponge)</li>
|
||||
<li>Good-looking menus</li></ul>
|
||||
<ul><li>You can now control program behavior when a GLUT window is closed by the user, rather than simply exiting. Options include:
|
||||
<ul>
|
||||
<li>Immediate exit() (old GLUT behavior)</li>
|
||||
<li>glutMainLoop() returns to you</li>
|
||||
<li>continue execution</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Option to share a rendering context for each new window</li>
|
||||
<li>Interruptable glutMainLoop (glutMainLoopEvent, glutLeaveMainLoop)</li>
|
||||
<li>Window-specific callback functions (Close, WindowManager Close, Menu destruction)</li>
|
||||
<li>User-specified data in Windows and Menus</li>
|
||||
<li>Additional font statistics (stroke and bitmap heights...)</li>
|
||||
<li>New font functions to allow the user to print strings instead of one character at a time</li>
|
||||
<li>New primitives (RhombicDodecahedron, SierpinskiSponge)</li>
|
||||
<li>Good-looking menus</li>
|
||||
</ul>
|
||||
|
||||
<p>XFree86 GameMode improvements:</p>
|
||||
<ul><li>force re-establishment of the original video mode by the X server even if the applicatiton exits immediately after leaving game mode</li>
|
||||
@ -88,6 +87,4 @@ of his freeglut work.</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
@ -1,10 +1,5 @@
|
||||
<?PHP
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
<?php
|
||||
require("template.php");
|
||||
|
||||
# Now set the title of the page:
|
||||
setPageTitle("A Look At Progress");
|
||||
@ -16,7 +11,4 @@ generateHeader($_SERVER['PHP_SELF']);
|
||||
<div class="textheader">Future Goals</div>
|
||||
<p>This still needs filling in, but be assured it will contain something like, "become an even better library."</p>
|
||||
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?PHP
|
||||
<?php
|
||||
global $site_title, $title, $sidebarentries;
|
||||
$site_title = "The freeglut Project";
|
||||
$title = $site_title . " :: The Next Generation of GLUT";
|
||||
@ -8,90 +8,109 @@ $title = $site_title . " :: The Next Generation of GLUT";
|
||||
# array(name=>"Name of Page", page=>"Filename/URL"),
|
||||
#
|
||||
$sidebarentries = array(0, # We skip this entry anyway...
|
||||
array(name=>"About freeglut", page=>"/index.php"),
|
||||
array(name=>"Latest News", page=>"/news.php"),
|
||||
array(name=>"Info for Users", page=>"/uinfo.php"),
|
||||
array(name=>"Info for Developers", page=>"/dinfo.php"),
|
||||
array("name"=>"About", "page"=>"/index.php"),
|
||||
array("name"=>"News", "page"=>"/news.php"),
|
||||
array("name"=>"Progress", "page"=>"/progress.php"),
|
||||
1,
|
||||
array(name=>"Download", page=>"/index.php#download"),
|
||||
array("name"=>"Download", "page"=>"/index.php#download"),
|
||||
1,
|
||||
array(name=>"How You Can Help", page=>"/help.php"),
|
||||
array(name=>"Look at Progress", page=>"/progress.php"),
|
||||
array("name"=>"Install", "page"=>"/docs/install.php"),
|
||||
array("name"=>"API", "page"=>"/docs/api.php"),
|
||||
1,
|
||||
array(name=>"Report a Bug", page=>"http://sourceforge.net/tracker/?func=add&group_id=1032&atid=101032"),
|
||||
array(name=>"Request a Feature", page=>"http://sourceforge.net/tracker/?func=add&group_id=1032&atid=351032"),
|
||||
1,
|
||||
array(name=>"Project Interface", page=>"http://sourceforge.net/projects/freeglut/")
|
||||
|
||||
array("name"=>"Help Out", "page"=>"/help.php"),
|
||||
array("name"=>"Report a Bug", "page"=>"http://sourceforge.net/tracker/?func=browse&group_id=1032&atid=101032"),
|
||||
array("name"=>"Request a Feature", "page"=>"http://sourceforge.net/tracker/?func=browse&group_id=1032&atid=351032"),
|
||||
array("name"=>"Project Interface", "page"=>"http://sourceforge.net/projects/freeglut/")
|
||||
);
|
||||
|
||||
function generateHeader($self) {
|
||||
function generateHeader($self)
|
||||
{
|
||||
global $title;
|
||||
?>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
|
||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
|
||||
echo "<?xml-stylesheet href=\"freeglut-style.css\" type=\"text/css\"?>\n";
|
||||
echo "<!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>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="stylesheet" type="text/css" href="freeglut-style.css" />
|
||||
<title><? echo $title ?></title>
|
||||
<link rel="stylesheet" type="text/css" href="/freeglut-style.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<?
|
||||
</head>
|
||||
<body>
|
||||
<?
|
||||
generateSideBar($self);
|
||||
}
|
||||
|
||||
function generateFooter() {
|
||||
function generateFooter()
|
||||
{
|
||||
?>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</body>
|
||||
</html>
|
||||
<?
|
||||
}
|
||||
|
||||
function printMenuItem($item, $current_page) {
|
||||
function printMenuItem($item, $current_page)
|
||||
{
|
||||
if ($item == 1)
|
||||
echo "<br>";
|
||||
else if ($current_page == $item[page])
|
||||
echo "<div class=\"navbar-item\"><i>$item[name]</i></div>";
|
||||
echo "\t<br/>\n";
|
||||
else if ($current_page == $item["page"])
|
||||
echo "\t<div class=\"navbar-item\"><i>$item[name]</i></div>\n";
|
||||
else
|
||||
echo "<a href=\"$item[page]\"><div class=\"navbar-item\">$item[name]</div></a>";
|
||||
echo "\t<div class=\"navbar-item\"><a class=\"navbar-item\" href=\"$item[page]\">$item[name]</a></div>\n";
|
||||
}
|
||||
|
||||
function generateSideBar($current_page) {
|
||||
function generateSideBar($current_page)
|
||||
{
|
||||
global $sidebarentries;
|
||||
echo "<div class=\"navbar-left\">"; # Open the navbar
|
||||
|
||||
# Print out the logo!
|
||||
echo "<div class=\"navbar-header\"><a href=\"/\"><img src=\"/images/freeglut_logo.png\" border=\"0\"></a></div>
|
||||
<div class=\"navbar-smalltext\">The Free OpenGL Utility Toolkit</div><br>";
|
||||
|
||||
|
||||
# Print out the logo and title
|
||||
?>
|
||||
<div class="navbar-left">
|
||||
<span class="navbar-header"><a href="/"><img src="images/freeglut_logo.png" alt="freeglut logo" style="border: 0;" /></a></span><br/>
|
||||
<span class="navbar-smalltext">The Free OpenGL Utility Toolkit</span><br/><br/>
|
||||
<?
|
||||
# Print out each sidebar entry one by one...
|
||||
reset($sidebarentries);
|
||||
while (next($sidebarentries)) {
|
||||
while (next($sidebarentries))
|
||||
printMenuItem(current($sidebarentries), $current_page);
|
||||
}
|
||||
|
||||
# This allows a user to view our PHP source... it's in CVS anyway, and why not spread the love of
|
||||
# slick web page design? ;)
|
||||
$cvs_location = "http://cvs.sourceforge.net/viewcvs.py/freeglut/freeglut/web-src$current_page?view=auto";
|
||||
|
||||
# Print the SourceForge logo button and the "View source" link
|
||||
echo "
|
||||
<br>
|
||||
<div class=\"navbar-header\">
|
||||
<a href=\"http://sourceforge.net/\"><img src=\"http://sourceforge.net/sflogo.php?group_id=1032&type=4\" border=\"0\"></a>
|
||||
</div>
|
||||
<br>
|
||||
<div class=\"navbar-smalltext\" style=\"font-style: normal;\">
|
||||
<a href=\"$cvs_location\">View PHP Source</a>
|
||||
</div>
|
||||
";
|
||||
|
||||
echo "</div>"; # Close the navbar.
|
||||
|
||||
?>
|
||||
<br/>
|
||||
<span class="navbar-header">
|
||||
<a href="http://www.opengl.org/">
|
||||
<img src="/images/opengl.png" alt="OpenGL.org" height="31" width="88" style="border: 0;"/></a>
|
||||
</span>
|
||||
<span class="navbar-header">
|
||||
<a href="http://sourceforge.net/">
|
||||
<img src="http://sourceforge.net/sflogo.php?group_id=1032" width="88" height="31" alt="SourceForge" style="border: 0;" /></a>
|
||||
</span>
|
||||
<span class="navbar-header">
|
||||
<a href="http://freshmeat.net/">
|
||||
<img src="/images/freshmeat.png" width="88" height="31" alt="SourceForge" style="border: 0;" /></a>
|
||||
</span>
|
||||
<span class="navbar-header">
|
||||
<a href="http://validator.w3.org/check/referer">
|
||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" style="border: 0;"/></a>
|
||||
</span>
|
||||
<br/><br/>
|
||||
<span class="navbar-smalltext" style="font-style: normal;">
|
||||
<? echo "\t<a href=\"$cvs_location\">View PHP Source</a>"; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?
|
||||
}
|
||||
|
||||
function setPageTitle($title_inc) {
|
||||
function setPageTitle($title_inc)
|
||||
{
|
||||
global $site_title, $title;
|
||||
$title = $site_title . " :: " . $title_inc;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
<?PHP
|
||||
<?php
|
||||
# Freeglut Web Page
|
||||
# This block ensures that template.php is always hit, no matter what subdirectory
|
||||
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
|
||||
$require_target="";
|
||||
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
|
||||
$require_target .= "template.php";
|
||||
require($require_target);
|
||||
@ -13,24 +14,4 @@ setPageTitle("Information for Users");
|
||||
generateHeader($_SERVER['PHP_SELF']);
|
||||
?>
|
||||
|
||||
<div class="img-right"><img src="/images/OGL.png"><BR>
|
||||
This is OpenGL at its finest.</div>
|
||||
|
||||
<div class="textheader">This is better than GLUT.</div>
|
||||
<p>freeglut started as a GLUT clone, but now it's something much better than that. It's a GLUT replacement. Here are the features you have wanted -- and if you have ideas for more, share them!</p>
|
||||
<p>Below, find documentation for freeglut...</p>
|
||||
|
||||
<div class="textheader">Check out...</div>
|
||||
<p><a href="/help.php">How You Can Help</a></p>
|
||||
|
||||
<div class="textheader">Documentation</div>
|
||||
<h2><a href="/docs/install.php">The Installation Instructions.</a></h2>
|
||||
<p class="indent">How to install freeglut on various platforms.</p>
|
||||
|
||||
<h2><a href="/docs/api.php">The Application Programming Interface Documentation</a></h2>
|
||||
<p class="indent">How to use freeglut in your applications.</p>
|
||||
|
||||
|
||||
<?PHP
|
||||
generateFooter();
|
||||
?>
|
||||
<?php generateFooter(); ?>
|
||||
|
Reference in New Issue
Block a user