Initial import

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@404 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
puggles 2003-12-13 18:58:30 +00:00
parent ae6a201f0e
commit 8407d17ee9
7 changed files with 251 additions and 0 deletions

6
.gitattributes vendored
View File

@ -85,9 +85,12 @@ freeglut/freeglut/src/templates/cpp_template svn_keywords=Author+Date+Id+Revisio
freeglut/freeglut/src/templates/header_template svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/stamp-h svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/stamp-h.in svn_keywords=Author+Date+Id+Revision
freeglut/web-src/basic_page.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/dinfo.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/docs/api.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/docs/install.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/freeglut-style.css svn_keywords=Author+Date+Id+Revision
freeglut/web-src/help.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/OGL.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/chessdemo.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/freeglut_logo.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
@ -95,4 +98,7 @@ freeglut/web-src/images/freeglut_logo.xcf svneol=native#unset svn_keywords=Autho
freeglut/web-src/images/freeglut_text.xcf svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/tuxcake.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/index.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/news.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/progress.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/template.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/uinfo.php svn_keywords=Author+Date+Id+Revision

View File

@ -0,0 +1,22 @@
<?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);
# Now set the title of the page:
setPageTitle("Basic Page");
# Make the header.
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, universally available and highly portable.</p>
<?PHP
generateFooter();
?>

View File

@ -0,0 +1,41 @@
<?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);
# Now set the title of the page:
setPageTitle("Info for Developers");
# Make the header.
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>
<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>
<p>Installation<br>
<a href="/docs/install.php">How to install freeglut on various platforms</a></p>
<p>Programming API<br>
<a href="/docs/api.php">How to use freeglut in your applications</a></p>
<?PHP
generateFooter();
?>

37
freeglut/web-src/help.php Normal file
View File

@ -0,0 +1,37 @@
<?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);
# Now set the title of the page:
setPageTitle("How You Can Help");
# Make the header.
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>Contributions can be nearly anything. The point is involvement!</p>
<p>Examples:</p>
<ul>
<li>Use freeglut in your projects!</li>
<li>Tell us what you like.</li>
<li>Tell us what you'd change.</li>
<li>Report bugs.</li>
<li>Write documentation.</li>
<li>Spread the word about the project.</li>
<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();
?>

88
freeglut/web-src/news.php Normal file
View File

@ -0,0 +1,88 @@
<?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);
# Now set the title of the page:
setPageTitle("News");
# Make the header.
generateHeader($_SERVER['PHP_SELF']);
?>
<div class="news-item">
<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>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>
</ul>
<p>[Read <a href="http://sourceforge.net/project/shownotes.php?release_id=203468">the full ChangeLog</a>.]</p>
<p>Click the Downloads link on the left and enjoy!</p>
</div>
<div class="news-item">
<div class="news-header">freeglut 2.0.1 Released [23 October 2003]</div>
<p>2.0.1 fixes a number of bugs with menus, especially in Linux.</p>
</div>
<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>
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 100% backward compatibility with older implementations of GLUT, but all the polish of the original -- and more!</p>
<div class="news-subheader">What have we done? A lot.</div>
<p>This isn't the GLUT you remember.</p>
<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>
<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>
<li>make sure that the X server has finished game mode preparations before continuing; fixes window sliding(missed mouse grab) and application exits.</li>
<li>fix support for game mode resolution equal to maximum screen resolution</li>
<li>restore original view port and Pointer position when leaving game mode</li></ul>
<p>Win32 GameMode improvements:</p>
<ul><li>if desired display frequency for entering game mode is not found, a display mode without matching display frequency is tried.</li></ul>
<div class="news-subheader">Get involved!</div>
<p>If you like freeglut, think about helping out with the project. There's always more to be done to enhance the library!</p>
<p>Documentation, example programs, suggestions for improvement -- they're all needed.</p>
<p>Look at the "How You Can Help" section on the left for ideas on how you can do your part!</p>
</div>
<?PHP
generateFooter();
?>

View File

@ -0,0 +1,22 @@
<?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);
# Now set the title of the page:
setPageTitle("Basic Page");
# Make the header.
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, universally available and highly portable.</p>
<?PHP
generateFooter();
?>

View File

@ -0,0 +1,35 @@
<?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);
# Now set the title of the page:
setPageTitle("Information for Users");
# Make the header.
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>
<p>Installation<br>
<a href="/docs/install.php">How to install freeglut on various platforms</a></p>
<p>Programming API<br>
<a href="/docs/api.php">How to use freeglut in your applications</a></p>
<?PHP
generateFooter();
?>