Commit Graph

1123 Commits

Author SHA1 Message Date
rkrolib
04c6d13777 Fixed the buglet about failing to report the program's name on error-
messages.  Please test.  (Modified glutInit(), the state structure,
and the warn/err functions.)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@238 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-26 04:39:27 +00:00
puggles
fb3db77b9a Released 2.0.1
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@237 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-23 21:43:19 +00:00
cjp
f0f690766a Added --disable-replace-glut option to autoconf configure.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@236 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-21 11:41:54 +00:00
puggles
3a34c44f10 Noted the release of 2.0.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@234 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-15 09:25:32 +00:00
puggles
fcd6068be5 Version bump
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@233 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-15 09:24:08 +00:00
rkrolib
ba4ef53738 Swept the freeglut_font.c for comment cleanup:
* Got rid of the "rewrite C as English" comments.
 * Corrected several bogus references to "carriage returns" (in strings).
   The symbols were newlines or EOLs or LFs (\n).
   They were *not* carriage returns or CRs (\r).
 * Clarified the comments on glBitmap() calls.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@232 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-14 00:51:00 +00:00
rkrolib
fd81891b21 Small bug-fix that's been on my mind:
Modified the two Fractals* demos so that they only clear (for the random
one) or redraw (for the non-random one) if there is need to do so.  (E.g.,
pressing the space bar should not clear and redraw the random fractal since
no parameters are altered.)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@231 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-13 22:54:10 +00:00
rkrolib
6e00dab2da Removed the obsolete hack (or very ill-conceived dream), fgDisplayCursor().
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@230 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-13 22:36:27 +00:00
rkrolib
231ad89777 Cleaned up some of the style issues (mostly "fluff" comments) in
freeglut_display.c.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@229 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-13 02:09:14 +00:00
rkrolib
8e6aba17a4 Comment-cleaning sweep.
Mostly got rid of the say-it-in-English comments that were adding 1 line
of English and 2 or 3 lines of filler for each of several lines of C code.
Updated a couple of other comments, and tweaked some white-space.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@228 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-13 02:03:09 +00:00
rkrolib
20373fe203 Cleaned up the comments a bit in the callbacks.c file (mostly removed some
of the kill-4-lines-to-translate-one-line-of-C-into-English comments).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@227 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-13 01:21:33 +00:00
rkrolib
1d59d1a43c Added all missing GLUT cursor types for X11.
(Type NONE is not properly supported, yet.)

Corrected behavior for the several old types:
 * Wrong glyphs.
 * Reversed glyphs (left/right confusion!)

There are some remaining imperfections, but it's a lot closer to
GLUT comformity, now.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@226 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-12 09:36:54 +00:00
rkrolib
0f0b50c51c Three tidying-up changes to the code of freeglut_callbacks.c;
none of them are Earth-shattering, but as I swept through
looking somewhat more systematically for errors, I picked
these off.  See the diff's for details.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@225 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-11 12:03:34 +00:00
rkrolib
57351b4682 Fixed a basic readability/style error in the code. (Two statements per
line are almost never a good idea; in this case the combined line was
past 80 columns.)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@224 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-11 11:36:11 +00:00
rkrolib
a2a78f13a1 Added a safety-check on a memory allocation. (Timers were using
dynamic memory allocation but NOT checking the result!)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@223 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-11 11:21:27 +00:00
rkrolib
8cad52a9c1 Committed two lines from John to help fix the menus a bit.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@222 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-11 11:13:23 +00:00
rkrolib
2dc7f60b59 Check the glutDisplayFunc() callback for being a NULL pointer. This is
illegal and is disallowed in GLUT 3.0+, so we disallow it too in
freeglut 2.0.1+


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@221 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-11 07:44:02 +00:00
rkrolib
45899e5ed9 Applied John's updated ReadConfigFile() changes to the fractals demos.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@220 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-09 16:34:23 +00:00
rkrolib
25545149da Fixed:
* glutInit() ordering w.r.t. glutInit*() and {argv} processing.
 * Aspect ratio.
 * Removed depth-buffer usage.  (Also done for Fractals in previous
   commit...)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@219 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-09 03:05:40 +00:00
rkrolib
8bde679512 A few minor changes:
* glutInit*() calls should preceed glutInit(), per se, generally.
   This is so that glutInit()'s configuration (which picks up on user
   parameters) can override application defaults.
 * glutInit() should be called before ANY attempt to process {argv, argc}.
   This is because there may be GLUT/freeglut parameters (such as
   "-display" on X11).
 * If the window is tall and skinny, rather than short and squat, we need
   to handle aspect ratios differently.

The first is a user-interface bug.  The second is a serious bug (especially
since the demo assumes that argv[1] contains a filename).  The third is a
display bug.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@218 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-09 03:00:04 +00:00
rkrolib
30d1e165a0 Changed CreateNotify (in X11 ONLY) to act like a ConfigureNotify event.
This is done so that subwindows on X11 will get "resize" events when
they are created.  Old GLUT did this---presumably by design in order
to ensure that (a) All windows get notified of their size as soon as
the window exists, and (b) probably more importantly, so that windows
and sub-windows behave as much alike as possible.  I believe that GLUT
was right to do this, and I believe that compatibility requires this
(I have a sample program that breaks in freeglut but not GLUT without
this fix).

I did not touch the Microsoft side, because I don't know what their
OS does---nor if old GLUT was historically system-dependant about this.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@217 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-08 20:17:10 +00:00
sandalle
65f88a4dc4 freeglut_menu.c:217,519,532: Fix menus to stay in the window (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@216 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-08 19:17:07 +00:00
rkrolib
5a3594b831 Several updates from John and myself.
The broad outlines are:

 * Color schemes are now in variables, are closer to old GLUT, and
   are system dependant (as old GLUT did).
 * You can change the font to any bitmapped font more easily, which
   can aid in finding a better approximation.  (Old GLUT does not seem
   to have used a GLUT font for the menus, which causes problems for
   us.)  The menus rescale automatically, including the triangle "arrow"
   for sub-menus.
 * Menus have real borders, and the placement of highlighting is
   much improved.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@215 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-08 16:04:58 +00:00
rkrolib
de5aadf9b5 Fixed a bug in the menu callback behavior. Menus were not setting the
current window correctly.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@214 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-08 00:24:33 +00:00
sandalle
8436dd7205 freeglut_menu.c:328 Fix submenu triangle (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@213 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-06 16:27:53 +00:00
puggles
c209cc5479 Tweaking for menu behavior in Linux regarding mouse whatnot - John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@212 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-04 15:06:42 +00:00
rkrolib
400a9b3d11 Applied a patch from "extraeme@netbsd.org" to add joystick support.
Untested, but it compiles for me.

Should also add Joystick support for older FreeBSD systems.  Also
untested.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@211 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-01 16:30:25 +00:00
rkrolib
7a6c02639a Added support for more arbitrary number of mouse buttons (though only the
first three can work with menus), in X.  This closes a compatibility gap
with old GLUT, and leaves us the option of supporting scroll-wheels
properly.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@210 7f0cb862-5218-0410-a997-914c9d46530a
2003-10-01 15:01:58 +00:00
cjp
e7a43013d4 Don't install the demos.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@208 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-27 12:29:03 +00:00
puggles
cae77387e4 Package the demos.dsw file.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@207 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-26 18:44:06 +00:00
puggles
b2f1ae6232 Demos workspace for MSVC users
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@206 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-26 18:43:12 +00:00
rkrolib
34a43b6ae5 Corrected a bug w.r.t. display and joystick events. When getting ready
to sleep, we need to go through ALL windows to check for pending joysticks
and to check for pending redisplays.  I was just going through all TOP-
LEVEL windows.  Eeek.  This won't do.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@205 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-24 06:26:36 +00:00
brianp
29a1cf87af added needClear flag to take care of initial window clear and window resize clears
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@204 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-23 14:17:13 +00:00
rkrolib
a3b3a309dd Per Nigel Stewart's comments, converted
#ifdef TARGET_HOST_...

to:

#if TARGET_HOST_...

in src/freeglut_init.c.  These changes should not have any functional
impact at this time, but you don't want bad examples lying around to
trip people up later.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@203 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-23 01:08:16 +00:00
rkrolib
93d944835a Fixed:
* GLUT_SINGLE now should behave more or less correctly.
   Thanks to Brian Paul!

 * Sleeping is now cognizant of outstanding redisplays.

 * Fractals_random has been restored more or less to as-before, save that
   it uses the more minimal glFlush() rather than glutSwapBuffers().
   glutSwapBuffers() was only required when freeglut was incorrectly
   handling promotion to double-buffering.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@202 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-23 01:03:41 +00:00
rkrolib
4d8a8e7085 Moved the #include/#ifdef/#define stuff up to the top.
Changed #ifdef to #if, per Nigel(?)'s comment.  Ooops.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@201 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-22 19:01:55 +00:00
cjp
a8482d4df4 Fix to allow demos to compile before freeglut has been installed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@200 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-22 17:40:55 +00:00
puggles
185eab5c78 Add an idle function to ensure that the screen gets drawn even when callbacks are not generated by the mouse/keyboard.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@199 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-22 11:30:33 +00:00
puggles
4e7cf2f8da Note the possible buffer overflow in window_title
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@198 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-21 13:47:36 +00:00
puggles
71fbfebd41 Fix the window title.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@197 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-21 13:36:43 +00:00
puggles
c0f2a92615 Fix window title, and ensure that the random integer is not forced to be zero (Thanks Richard Rauch!)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@196 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-21 13:35:36 +00:00
puggles
84c2c9381e Richard Rauch's patch to ensure that freeglut does not use 100% CPU even while idling.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@195 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-20 19:11:17 +00:00
puggles
2a56a1a4b4 Resolution for bug 809561 reported by Nigel Stewart, regarding a possible array underflow error of -1 in the event of "character" being zero.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@194 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-20 16:18:01 +00:00
cjp
5337925e88 Removed unused AC_PROG_RANLIB from configure.in
Added passing of $(X_CFLAGS) to compiler.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@193 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-14 17:00:28 +00:00
puggles
1a55178f88 Resolve bug 806008 -- let Microsoft's compiler know to use Windows libraries even if not using our project files.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@192 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-14 16:00:24 +00:00
puggles
83532cd6d5 Taking care of keeping things mostly up-to-date
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@191 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 16:24:46 +00:00
puggles
bf9ffa7d8c Most everything's been resolved for the 2.0.0 release.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@190 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 16:09:22 +00:00
puggles
775808a163 Thierry Thomas said that FreeBSD has no machine/joystick.h, instead a sys/joystick.h. I've made the change -- here's hoping it works.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@189 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 15:48:21 +00:00
puggles
b6c81be983 Removed the incorrect relative path for including freeglut.h
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@188 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 13:38:04 +00:00
puggles
f5c85fcd2f Made all demos compile. Thanks to Thierry Thomas for reporting bug 802809, which alerted that *none* of the demos compiled automatically!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@187 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 13:29:35 +00:00
puggles
738fa38ef5 Nigel Stewart's joystick fix (for hopefully all platforms), SourceForge bug 805481
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@186 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 13:12:26 +00:00
puggles
0cd9efa394 Fix location of the include files from a fixed to relative path. Closes bug 805477
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@185 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-13 13:09:06 +00:00
cjp
f3b61bfa28 A minor fix to that last commit.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@183 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-10 22:33:39 +00:00
cjp
1062695e7d Removed some remaining glib depandancy.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@182 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-10 22:30:29 +00:00
puggles
59e9cae134 Re-add catches for the case in which a menu callback destroys the menu. - John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@181 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-10 15:46:12 +00:00
cjp
fdd998e66a More to fix a deinitialization related crash.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@180 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-09 17:50:31 +00:00
cjp
1358592415 Fix for a deinitialization related crash.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@179 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-09 17:40:53 +00:00
puggles
18bf7821a6 Menus should deallocate better now - John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@178 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-08 20:36:23 +00:00
puggles
43736604fb Add freeglut_static.dsp to the releases
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@177 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-05 20:21:50 +00:00
cjp
9c2c2a07ff Moved #ifdef for non XFree86 X11 compile.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@176 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-03 01:56:04 +00:00
cjp
241a32bfe0 Fix to stop fgSetWindow(NULL) crashing on X11.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@175 7f0cb862-5218-0410-a997-914c9d46530a
2003-09-02 17:43:43 +00:00
puggles
652e30fcb9 These change a bunch of assignments to calls to set the current window correctly, and also (possibly) fixes most of the remaining menu problem. - John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@174 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-29 18:10:06 +00:00
puggles
c27c9a8631 Another typecast bugfix from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@173 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-29 15:49:40 +00:00
cjp
af8a4e52ea Changed #ifdef to #if
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@172 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-28 22:43:12 +00:00
puggles
ee0ab03804 change the GLUT stroke function arguments from "const char *" to "const unsigned char *" - John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@171 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-28 19:22:59 +00:00
puggles
6007988a39 Changes stroke function arguments from "const char*" to "const unsigned char *" - John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@170 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-28 19:22:27 +00:00
cjp
19f3863fc7 Removing files from old freeglut-1.3 directory.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@169 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-28 16:48:34 +00:00
puggles
59c4c38bbc Casting changes, John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@168 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-28 15:15:25 +00:00
puggles
355b9327a9 Major overhaul to the menu system, by John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@167 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-27 19:02:36 +00:00
cjp
a9a67dc3b5 Added double underscores to the header included macros.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@166 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-27 16:47:14 +00:00
cjp
ff5a584bcf Minor typo fix
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@165 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-20 02:02:52 +00:00
cjp
1dcd0f8f28 Moving that "#if TARGET_HOST_UNIX_X11" to the correct place.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@164 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-19 00:11:59 +00:00
cjp
9f2e97a2cc Game mode fixes from Bernhard Kaindl and Eric Espie.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@163 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-17 17:02:42 +00:00
cjp
53988cfb1a Using override_redirect instead of motif wm hints.
It now rasies the menu windows before showing them.
Move the show to after the reshape and position so we don't get a flash of
the menu window at it's old size and position.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@162 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-05 19:22:21 +00:00
cjp
099ef00133 I suspect a lot of people will not have motif installed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@161 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-05 16:56:30 +00:00
sandalle
fdfbcc9a1b (98) src/Makefile.am:34 Added mwmborder.c
(99) src/freeglut_window.c:67  Removed #included "mwmborder.c"


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@160 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-05 15:35:57 +00:00
sandalle
9be4444627 src/freeglut_main.c:816 and :1571, set the current window (John F. Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@159 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-05 15:16:12 +00:00
cjp
139cfcc8a2 Added X11 code for glutGet(GLUT_WINDOW_BORDER_WIDTH) and
glutGet(GLUT_WINDOW_HEADER_HEIGHT).


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@158 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-04 22:43:30 +00:00
cjp
ddce3e728d Replacing glutGet(GLUT_WINDOW_X) and glutGet(GLUT_WINDOW_Y) on X11 with
something that works.
Also a minor correction to the xf86vidmode autoconf stuff.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@157 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-04 18:56:30 +00:00
puggles
6e4af43b5f Keep the X11 decoration-zapping code confined to X11-using platforms! Oops!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@156 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-04 02:08:05 +00:00
puggles
b9f20e5d87 Menus' decorations are removed on Linux. Not sure if we want the mwmborder.c a separate file or not; doing it separate for right now. Makefile was not updated, since the .c is just #included.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@155 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-04 01:29:19 +00:00
cjp
0ef2bdb3a9 Got rid of configure warnings when using a newer autoconf
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@154 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-03 23:14:57 +00:00
cjp
5e6391f52b Putting stuff back that was undone with the menu code committed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@153 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-02 19:53:56 +00:00
puggles
fc93453910 Major menu changes (they appear in their own window, have own rendering context) by John Fay and a little by James C. Jones. They work perfectly on Win32, and work... on Linux.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@152 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-02 13:31:19 +00:00
cjp
9f3c1dcc82 Added autoconf detection for the xf86 vid mode extentions.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@151 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-01 20:40:08 +00:00
sandalle
3a3e68b87e src/freeglut_window.c:551 Removed extra carriage return for Windows users
(John F. Fay)


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@150 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-01 19:28:21 +00:00
sandalle
86fc5705eb Credit Dave Reed for fix
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@149 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-01 16:53:44 +00:00
sandalle
6d38ea155c src/freeglut_initial.c:91 Added check for SOLARIS OS
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@148 7f0cb862-5218-0410-a997-914c9d46530a
2003-08-01 15:45:56 +00:00
cjp
a3a9d6c04b This should put an end to the font binary compatibility issue.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@146 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-23 22:09:24 +00:00
sandalle
4c8460be81 src/freeglut_window.c Windowing fixes from John F.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@145 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-23 21:44:06 +00:00
sandalle
3af1444ebd doc/Makefile.am:4 Removed trailing backslash and added an empty last line
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@144 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-23 20:53:45 +00:00
sandalle
3ff37d3b90 freeglut.lsm:3 Removed 'beta' label for next release, thanks to Bernhard Kaindl.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@141 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-22 23:41:33 +00:00
cjp
73525372a0 The version info had the revision and the age transposed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@140 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-21 21:58:59 +00:00
sandalle
cd9bffb995 src/Makefile.am:38 Changed versioning to 11:0:8 thanks to Bernhard Kaindl
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@139 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-21 20:22:14 +00:00
sandalle
584719d8cd Applied John F. Fay's fixes to freeglut.dsp and freeglut_static.dsp
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@138 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-17 21:20:36 +00:00
sandalle
30898f9e8e Changed the overlay (freeglut_state.c:662) to return FALSE, as it's not imp
lemented yet


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@137 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-17 20:21:23 +00:00
andi75
67aeb140b1 renamed freeglut library to glut, bumped version info to 3:8:0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@136 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-12 20:14:49 +00:00
andi75
252276c6f9 bumped version number to 2.0.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@135 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-12 19:35:48 +00:00
andi75
c44a5c0a48 changes for make dist
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@134 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-12 19:34:28 +00:00
andi75
4899d7349e MSVC generated file
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@133 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-12 19:05:39 +00:00
cjp
8dde4b4a17 Fix for the font binary compatibility problem.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@132 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-11 17:50:22 +00:00
cjp
0e0b702a93 Changed to build libfreeglut.so.2.0.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@131 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-10 23:18:38 +00:00
puggles
4ab7ad7266 Changes to TODO, Windows files - from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@130 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-10 11:51:09 +00:00
puggles
dbbe8e5b60 Changes by John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@129 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-10 11:49:39 +00:00
puggles
7b1de376d7 Changes to the Fractals demo by John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@128 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-10 11:49:12 +00:00
puggles
d583f2fe7d Initial project file from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@127 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-10 11:47:35 +00:00
puggles
6cc5d428c0 Modifications from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@126 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-10 11:46:34 +00:00
cjp
48e8da9920 glutMainLoopEvent() was not closing windows properly.
Moved call to fgCloseWindows() from glutMainLoop() to the end of glutMainLoopEvent().


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@125 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-07 15:37:39 +00:00
sandalle
245a3e8b82 Removed unused char *ptr from freeglut_misc.c
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@124 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-03 20:17:54 +00:00
cjp
4075066fb3 It was crashing on and event for a unknown window.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@123 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-02 22:36:21 +00:00
brianp
66dc199794 rewrite of glutExtensionSupported - works correctly now
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@122 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-02 15:53:05 +00:00
sandalle
6fadddb78a * Removed tests directory
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@121 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-02 15:31:07 +00:00
sandalle
2f6a51442c * Removed genfonts/genstrokes code, updated configure.in and Makefile.in
* Moved tests/one.c into progs/demos/One/one.c, updated configure.in and Makefile.in


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@120 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-02 15:28:13 +00:00
sandalle
a37e97a6d8 Removed genfonts
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@119 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-02 15:23:27 +00:00
cjp
50b032cec5 Added some semicolons that yacc was warning about.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@118 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-02 09:38:58 +00:00
puggles
86b003c38b John Fay commanded me to add my name to the file. He's crazy, but that's okay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@117 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-01 22:40:27 +00:00
sandalle
763790d8bb Fixed the 'ptr + len' problem in freeglut_misc.c:90
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@116 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-01 21:35:43 +00:00
brianp
024070701e version bumps
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@115 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-01 20:19:02 +00:00
brianp
3b7fc074b8 bump version to 2.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@114 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-01 20:18:38 +00:00
brianp
562f37891f bump versions to 2.0
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@113 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-01 20:17:42 +00:00
brianp
69cbc334a9 xf86VidMode error checking (Andrew Lentvorski)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@112 7f0cb862-5218-0410-a997-914c9d46530a
2003-07-01 20:17:05 +00:00
brianp
8cce55439e Lorenz attractor demo (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@111 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-30 17:09:12 +00:00
brianp
1f95108eca updates from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@110 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-30 16:33:10 +00:00
sandalle
4a231c5f7c Now installs freeglut_ext.h and glut.h to /usr/include/GL (was missing before)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@109 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-28 02:21:23 +00:00
brianp
482f4b2bc5 XF86 game mode fixes, context sharing option. (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@108 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-27 15:10:06 +00:00
sandalle
261ab8820d Added another of my changes (freeglut.kdevelop) and fixed the version number for my MS VS change (*.dsp)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@107 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-25 21:02:07 +00:00
brianp
9c8069dcc8 version bumps
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@106 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-25 18:16:53 +00:00
brianp
3dd2180f52 Assorted version 2.0.0 updates (John Fay).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@105 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-25 18:04:42 +00:00
brianp
289f3df1ed updated version, italicize freeglut (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@104 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-25 18:01:36 +00:00
sandalle
8325b91b31 Added 'freeglut_ext.c' to the project files 'freeglut.dsp' and 'freeglut_static.dsp' (New list #10)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@103 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-25 15:40:32 +00:00
andi75
f3fd4a9ae9 Fixed autogen.sh and removed aclocal.m4
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@102 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-24 18:16:21 +00:00
andi75
640ebaa613 this file is autogenerated by aclocal
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@101 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-24 18:13:09 +00:00
andi75
16da45eea5 fixed aclocal / autoheader order; some cosmetics
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@100 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-24 18:12:40 +00:00
sandalle
42ab18bbac Project file for Gideon (KDevelop 3.0)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@99 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-24 17:17:50 +00:00
sandalle
fb8a5cfd3e Changed all references to the 'freeglut-1.3' directory to 'src', copied 'freeglut-1.3' to 'src' and added all files from 'src' to the repository (TODO #34).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@98 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-23 23:40:12 +00:00
sandalle
9663d7f6c5 Updated ChangeLog with my aclocal.m4 change
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@97 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-23 22:42:14 +00:00
sandalle
bad7df6558 Updated aclocal.m4 with aclocal 1.7.3 (was created with aclocal 1.5)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@96 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-23 22:38:23 +00:00
brianp
ee167e6766 adjusted precision (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@95 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-23 15:33:56 +00:00
brianp
36c63b7b43 Assorted updates from John Fay.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@94 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-23 15:22:20 +00:00
sandalle
70637945ef Updated TODO from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@93 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-20 20:04:58 +00:00
brianp
1a5ccf545c Fractal demo (John Fay)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@92 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-20 19:31:06 +00:00
sandalle
31e9736371 Added the autogen.sh addition to ChangeLog
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@91 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-20 15:51:45 +00:00
sandalle
21e155b782 Initial version of autogen.sh, tested here and creates the correct files
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@90 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-20 15:49:55 +00:00
brianp
fe2a9753bb Windows patches (Eero Pajarre)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@89 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-20 14:39:16 +00:00
brianp
2cbefc0703 list the 1.4 release (fill in date) - this is a cvs check-in test
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@88 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-20 14:30:16 +00:00
dheyse
556030b6b5 Oops, missed the fghJoystickRawRead() fix for FreeBSD.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@87 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 20:51:48 +00:00
brianp
e5649d1101 s/FreeGLUT/freeglut/
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@86 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 20:21:33 +00:00
dheyse
80f65c1d51 Applied tthierry's patch to fix compiling on FreeBSD.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@85 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 20:17:46 +00:00
brianp
24b7f6fc0c added VERSION_MAJOR/MINOR/PATCH
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@84 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 15:36:23 +00:00
brianp
994a412489 restore text lost from previous check-in
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@83 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 15:35:51 +00:00
brianp
49c170e8cd s/FREEGLUT_VERSION_1_3/FREEGLUT_VERSION_1_4/
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@82 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 15:35:29 +00:00
sandalle
9af4d4ec7c GLUT_VERSION updates from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@81 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-19 15:33:38 +00:00
sandalle
70ab2265e6 Forgot a file...looked so innocous just sitting there... :)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@80 7f0cb862-5218-0410-a997-914c9d46530a
2003-06-18 22:30:39 +00:00
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