Commit Graph

420 Commits

Author SHA1 Message Date
sandalle
77f40de0ba * Hopefully I did THIS one right (used 'cvs update' to Merge)
Authors - The first update in quite a while

ChangeLog - Added the recent changes

freeglut_callbacks.c - Added Aleksandar Donev's menu destruction callback

freeglut_internal.h - Added the user data to the structures and made the menu state/status callbacks window-independent

freeglut_menu.c - Removed several OpenGL compiler warnings and added A. Donev's menu user data functions

freeglut_structure.c - Added Aleksandar Donev's menu destruction callback

freeglut_teapot.c - Removed or suppressed several compiler warnings

freeglut_window.c - Updated the window positioning code and added A. Donev's window user data

freeglut_ext.h - Added the menu destruction callback and user data functions


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@79 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-18 22:26:50 +00:00
sandalle
eb6f583bb9 * Removed freeglut_ext.h (wasn't supposed to be added)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@78 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-18 22:12:02 +00:00
brianp
c78b990565 Added FREEGLUT_VERSION_1_3.
Added GLUT_VERSION for glutGet().
Added glutGet() documentation.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@77 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-18 21:15:22 +00:00
brianp
603205dba6 added glutGetProcAddress and GLUT_FPS info
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@75 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-18 14:07:17 +00:00
brianp
ed630514e1 added glutGetProcAddress() and GLUT_FPS
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@74 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-18 13:50:33 +00:00
brianp
4e8fac443a restore GLUT_FPS env var feature lost in previous check-in
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@73 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 22:46:50 +00:00
sandalle
0f9c5d3f0a * Updated ChangeLog
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@72 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 20:22:57 +00:00
sandalle
59cd3ba583 * Rest of Set #3
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@70 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 20:14:04 +00:00
sandalle
0b4484514d Eero Pajarre's GLUT_ICON code for Windows
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@68 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 20:08:09 +00:00
sandalle
c7d0266c6e First group of patches: Adds single-buffered rendering (or its emulation) in Windows.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@67 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 20:06:32 +00:00
brianp
5ebfbb5e97 added GLUT_FPS env var option
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@66 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 16:55:22 +00:00
brianp
863ce91b8e added glutGetProcAddress()
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@65 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-17 16:54:54 +00:00
dheyse
449e4c1014 Fix the keyboard up callback and a compiler warning.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@64 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-12 19:02:56 +00:00
dheyse
c6ce746e65 Set the current window before calling the window closure callback.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@63 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-12 18:59:53 +00:00
dheyse
d9ea879e8c John's window positioning corrections.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@62 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-12 18:57:31 +00:00
dheyse
ba2efda662 Eero Pajarre's icon code.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@61 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-12 18:54:11 +00:00
dheyse
c543d287c1 Single buffered rendering for Windows.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@60 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-12 18:52:37 +00:00
dheyse
a4bfe34a9e John Documented InitWindowPosition extensions and added some kbd fn info.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@59 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-02 18:46:27 +00:00
dheyse
47bf690785 Documented Johns changes from May 03.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@58 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-02 18:20:06 +00:00
dheyse
1156a50ab1 Do not allow glutGet to reposition the window 1 pixel toward bottom right.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@57 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-02 18:18:07 +00:00
dheyse
48bd726e43 Pass mouse pos to Windows kbd callback. Resequenced a few things for UNIX.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@56 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-02 18:16:33 +00:00
cjp
4ea88b1262 Applied patch to fix GameMode issues supplied by Bernhard Kaindl.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@55 7f0cb862-5218-0410-a997-914c9d46530a
2003-03-23 16:21:14 +00:00
dheyse
388d71550d Switch to ANSI C comments.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@54 7f0cb862-5218-0410-a997-914c9d46530a
2003-03-12 14:42:11 +00:00
dheyse
33e68949df Switch to ANSI C comments. Removed always true tests on unsigned char. Single buffering fix..
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@53 7f0cb862-5218-0410-a997-914c9d46530a
2003-03-12 14:38:47 +00:00
dheyse
69bc01309f Switching to John Fays version of the VC++ project files.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@52 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-13 22:27:35 +00:00
sjbaker
a8854ca879 Removed erroneous GPL license comments.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@51 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-08 02:30:01 +00:00
dheyse
f89b393190 Moved freeglut_internal.h to the freeglut source code private directory.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@50 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-07 21:30:24 +00:00
dheyse
304a5d98a6 SubWindow border thickness fix. Overlay changes in glutGet.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@49 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-07 21:27:20 +00:00
dheyse
f1c230a97b Johns changes for layers, fgSetWindow, and fgSetupPixelFormat.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@48 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-07 21:24:39 +00:00
dheyse
e0b6ee526e John fixed a bug that make bitmap font one pixel wider than its drawn.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@47 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-07 21:17:40 +00:00
dheyse
aa02a12c3c Moved freeglut_internal.h to the private directory with the other freeglut sources.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@46 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-07 18:49:08 +00:00
dheyse
70a2906b78 Broke freeglut.h into glut.h and freeglut_ext.h
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@45 7f0cb862-5218-0410-a997-914c9d46530a
2003-02-07 18:45:04 +00:00
dheyse
22911345db Exports file for Win32 dll. One EXPORT for each FGAPI line in freeglut.h
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@44 7f0cb862-5218-0410-a997-914c9d46530a
2003-01-06 17:54:35 +00:00
sjbaker
0633ee283e Cleanup joystick deallocation.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@43 7f0cb862-5218-0410-a997-914c9d46530a
2003-01-04 03:01:36 +00:00
dheyse
c43d174e61 Allow DLL and static library build on Windows.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@42 7f0cb862-5218-0410-a997-914c9d46530a
2002-12-10 15:41:37 +00:00
dheyse
cb0828db0e Added check for FREEGLUT_DLL to allow static & DLL build on Windows.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@41 7f0cb862-5218-0410-a997-914c9d46530a
2002-12-10 15:39:54 +00:00
dheyse
55baab1f4e More bitmap font spacing fixes from John.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@40 7f0cb862-5218-0410-a997-914c9d46530a
2002-12-04 14:45:37 +00:00
dheyse
32a82c18e4 Fixed Win95 crash when getenv("DISPLAY") returned NULL ptr.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@39 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-29 17:32:55 +00:00
dheyse
9c0f2dac0d The lowercase t in helvetica12 was too skinny.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@38 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-29 17:31:44 +00:00
dheyse
2b49dd91a5 Adjusted character spacing on a few fonts.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@37 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-29 00:42:09 +00:00
dheyse
473d583f2e Many updates from John Fay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@36 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-29 00:05:26 +00:00
dheyse
69d36996c9 Added Visual C++ 6 Static library project for John Fay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@35 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-29 00:03:04 +00:00
dheyse
1474a8e0d3 Visual C++ 6 project file for static freeglut lib.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@34 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-28 23:58:00 +00:00
dheyse
d75f5e6d00 Many updates from John Fay. (freeglut.h may need a small change to allow Win32 DLL build again)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@33 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-28 23:37:51 +00:00
dheyse
6d93edeb79 Many updates from John Fay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@32 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-28 23:31:40 +00:00
dheyse
5e1ec95e4c Many updates from John Fay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@31 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-28 23:26:17 +00:00
dheyse
c00890a4b5 Fixes from freeglut_portable patch. Memory leak fix from John. Return_if_fail fix.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@30 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-28 23:09:47 +00:00
dheyse
bb9b5ee823 Added on behalf of John Fay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@29 7f0cb862-5218-0410-a997-914c9d46530a
2002-11-26 19:56:55 +00:00
dheyse
16cc790ca9 Implemented tetrahedra, octahedra, dodecahedra, and icosahedra. Checked in on behalf of John F. Fay <john.fay@eglin.af.mil>.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@28 7f0cb862-5218-0410-a997-914c9d46530a
2002-10-22 16:28:00 +00:00
dheyse
974831e7f8 Fixed previous fix so it compiles.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@27 7f0cb862-5218-0410-a997-914c9d46530a
2002-05-20 21:01:33 +00:00
cjp
823e5f860a My bad.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@26 7f0cb862-5218-0410-a997-914c9d46530a
2002-05-20 17:25:55 +00:00
cjp
0c84f4f27e Added stroke fonts.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@25 7f0cb862-5218-0410-a997-914c9d46530a
2002-05-18 21:42:00 +00:00
cjp
0af5c2f32a Removed one last glib call.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@23 7f0cb862-5218-0410-a997-914c9d46530a
2002-05-16 15:00:33 +00:00
sjbaker
ee8148138c Removed a bunch of '.P' files that don't belong in the CVS archive.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@22 7f0cb862-5218-0410-a997-914c9d46530a
2002-01-20 23:20:45 +00:00
cjp
0b9beccf1a Added keyup events code.
Added missing specal keys.
Made menu callbacks global.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@21 7f0cb862-5218-0410-a997-914c9d46530a
2001-08-05 22:47:35 +00:00
cjp
e8ab11f1f2 More position tweeks.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@20 7f0cb862-5218-0410-a997-914c9d46530a
2001-08-05 19:30:26 +00:00
cjp
0e3fcc69ea Fixed redisplay bug.
Fixed modifier values.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@19 7f0cb862-5218-0410-a997-914c9d46530a
2001-08-04 12:24:21 +00:00
cjp
32b7dcf989 Improved window positioning.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@18 7f0cb862-5218-0410-a997-914c9d46530a
2001-08-04 12:22:42 +00:00
cjp
ddf7d9715a A stupid bug fixed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@17 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-30 20:23:05 +00:00
andi75
b6bc09e2f7 one more g_assert removed
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@16 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-30 15:22:51 +00:00
andi75
b303b5b50b removed glib dependencies from win32
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@15 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-30 14:41:42 +00:00
andi75
132c7af3d0 - removed glib dependencies from win32 code
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@14 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-30 14:41:11 +00:00
cjp
4eaa5467cf Fixed bug list code.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@13 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-29 16:03:07 +00:00
cjp
704d1bfe6b Removed glib dependancy
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@12 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-29 11:17:00 +00:00
cjp
b4a9d78580 The build system now looks for X.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@11 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-29 10:32:55 +00:00
sjbaker
84e04ed9f0 Added documents.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@10 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-27 07:22:53 +00:00
sjbaker
972665c820 Removed some more files that don't belong in CVS
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@9 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-27 06:10:40 +00:00
sjbaker
4c65b5e014 Removed files checked in in error.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@8 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-27 06:07:15 +00:00
sjbaker
faad04bfff Initial revision
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@4 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-27 04:40:50 +00:00
sjbaker
95194faee2 Initial revision
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@3 7f0cb862-5218-0410-a997-914c9d46530a
2001-07-27 04:35:54 +00:00