plib-cvs Mailing List for PLIB (Page 49)
Brought to you by:
sjbaker
You can subscribe to this list here.
2002 |
Jan
(25) |
Feb
(10) |
Mar
(60) |
Apr
(49) |
May
(54) |
Jun
(94) |
Jul
(82) |
Aug
(251) |
Sep
(366) |
Oct
(17) |
Nov
(20) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(12) |
Feb
(8) |
Mar
(2) |
Apr
(4) |
May
(5) |
Jun
(8) |
Jul
(23) |
Aug
(8) |
Sep
(7) |
Oct
(5) |
Nov
(20) |
Dec
(20) |
2004 |
Jan
(19) |
Feb
(70) |
Mar
(108) |
Apr
(24) |
May
(6) |
Jun
(5) |
Jul
|
Aug
(8) |
Sep
(18) |
Oct
(27) |
Nov
|
Dec
(13) |
2005 |
Jan
(19) |
Feb
(13) |
Mar
(1) |
Apr
|
May
(10) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
(2) |
Oct
(2) |
Nov
(6) |
Dec
(4) |
2006 |
Jan
(9) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sebastian U. <ud...@us...> - 2002-07-07 18:31:09
|
Update of /cvsroot/plib/plib In directory usw-pr-cvs1:/tmp/cvs-serv15515a Modified Files: configure.in Log Message: Some more updates for OS-X; Misc. Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- configure.in 7 Jul 2002 04:56:34 -0000 1.37 +++ configure.in 7 Jul 2002 18:31:07 -0000 1.38 @@ -32,8 +32,10 @@ dnl Command line arguments dnl for Loring Holden's Solaris system +dnl Don't use AC_HELP_STRING here as old versions of autoconf do not +dnl understand it. AC_ARG_WITH(GL, -AC_HELP_STRING([--with-GL=DIR], [set the prefix directory where GL resides]), +[ --with-GL=DIR set the prefix directory where GL resides], GL_PREFIX=$withval, GL_PREFIX=auto) if test "x$GL_PREFIX" != "xauto"; then [...124 lines suppressed...] - LIBS="$LIBS $x_suffix" ;; esac @@ -149,15 +187,6 @@ CFLAGS="$CFLAGS $WFLAG" CXXFLAGS="$CXXFLAGS $WFLAG" - - -dnl Check SGI audio library -AC_CHECK_LIB(audio, ALopenport) - -if test "x$ac_cv_lib_audio_ALopenport" = "xyes" ; then - dnl this is an SGI machine... - LIBS="$LIBS -laudio" -fi dnl Checks for typedefs, structures, and compiler characteristics. |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:28:22
|
Update of /cvsroot/plib/plib/src/util In directory usw-pr-cvs1:/tmp/cvs-serv14603 Modified Files: ul.h Log Message: Include OpenGL header files correctly with OS-X Index: ul.h =================================================================== RCS file: /cvsroot/plib/plib/src/util/ul.h,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- ul.h 20 Jun 2002 06:39:36 -0000 1.45 +++ ul.h 7 Jul 2002 18:28:19 -0000 1.46 @@ -87,8 +87,13 @@ // or mail me (w_...@rz...) #include <float.h> -#include <GL/gl.h> -#include <GL/glu.h> +#ifdef __APPLE__ +# include <OpenGL/gl.h> +# include <OpenGL/glu.h> +#else +# include <GL/gl.h> +# include <GL/glu.h> +#endif /* SGI machines seem to suffer from a lack of FLT_EPSILON so... */ |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:27:43
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv14389 Modified Files: pu.h Log Message: Include GLUT header files correctly with OS-X Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.109 retrieving revision 1.110 diff -u -d -r1.109 -r1.110 --- pu.h 7 Jul 2002 02:01:12 -0000 1.109 +++ pu.h 7 Jul 2002 18:27:40 -0000 1.110 @@ -44,7 +44,11 @@ # ifdef FREEGLUT_IS_PRESENT # include <GL/freeglut.h> # else -# include <GL/glut.h> +# ifdef __APPLE__ +# include <GLUT/glut.h> +# else +# include <GL/glut.h> +# endif # endif #endif |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:53
|
Update of /cvsroot/plib/plib/examples In directory usw-pr-cvs1:/tmp/cvs-serv7646 Modified Files: configure.in Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/examples/configure.in,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- configure.in 1 Jul 2002 01:14:35 -0000 1.23 +++ configure.in 7 Jul 2002 18:07:50 -0000 1.24 @@ -3,6 +3,7 @@ AC_INIT(src/js/js_demo.cxx) AM_INIT_AUTOMAKE(plib_examples, 1.5.2) + dnl Checks for programs. AC_PROG_CC AC_PROG_CPP @@ -12,10 +13,13 @@ AC_LANG_CPLUSPLUS [...213 lines suppressed...] + if test "x$CXX" = "xCC"; then + WFLAG="-fullwarn"; + fi + ;; +esac + +CFLAGS="$CFLAGS $WFLAG" +CXXFLAGS="$CXXFLAGS $WFLAG" + AC_OUTPUT( \ Makefile \ @@ -148,7 +196,6 @@ src/ssg/Makefile \ src/ssg/tux/Makefile \ src/ssg/majik/Makefile \ - src/ssg/viewer/Makefile \ src/ssg/load_save/Makefile \ src/ssg/state_test/Makefile \ src/ssg/tween_test/Makefile \ |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:18
|
Update of /cvsroot/plib/plib/examples/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/pui Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile.am 8 May 2002 21:24:24 -0000 1.5 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.6 @@ -8,13 +8,15 @@ PointPicker_SOURCES = PointPicker.cxx -simple_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul +simple_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) -complex_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul +complex_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) -widget_list_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul +widget_list_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) \ + $(OGL_LIBS) -PointPicker_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul +PointPicker_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) \ + $(OGL_LIBS) EXTRA_DIST = complex.dsp simple.dsp PointPicker.dsp widget_list.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:18
|
Update of /cvsroot/plib/plib/examples/src/ssg/load_save In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/ssg/load_save Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/load_save/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 19 Sep 2000 14:49:27 -0000 1.2 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.3 @@ -3,6 +3,6 @@ load_SOURCES = load.cxx save_SOURCES = save.cxx -load_LDADD = -lplibssg -lplibsg -lplibul -save_LDADD = -lplibssg -lplibsg -lplibul +load_LDADD = -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) +save_LDADD = -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/js In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/js Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/js/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 10 Jan 2001 22:51:36 -0000 1.2 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.3 @@ -3,7 +3,7 @@ js_demo_SOURCES = js_demo.cxx -js_demo_LDADD = -lplibul +js_demo_LDADD = -lplibul $(JS_LIBS) EXTRA_DIST = js_demo.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/ssg/tween_test In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/ssg/tween_test Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/tween_test/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 14 Jul 2001 03:08:33 -0000 1.1 +++ Makefile.am 7 Jul 2002 18:07:14 -0000 1.2 @@ -2,7 +2,8 @@ tween_test_SOURCES = tween_test.cxx -tween_test_LDADD = -lplibssgaux -lplibssg -lplibsg -lplibul +tween_test_LDADD = -lplibssgaux -lplibssg -lplibsg -lplibul $(GLUT_LIBS) \ + $(OGL_LIBS) EXTRA_DIST = tween_test.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/fnt In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/fnt Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/fnt/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.am 8 May 2002 21:24:24 -0000 1.3 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.4 @@ -4,8 +4,8 @@ slideshow_SOURCES = slideshow.cxx -fnt_test_LDADD = -lplibfnt -lplibul -slideshow_LDADD = -lplibfnt -lplibul +fnt_test_LDADD = -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) +slideshow_LDADD = -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) EXTRA_DIST = fnt_test.dsp slideshow.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/ssg/tux In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/ssg/tux Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/tux/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Makefile.am 14 Jun 2001 04:53:40 -0000 1.6 +++ Makefile.am 7 Jul 2002 18:07:14 -0000 1.7 @@ -1,11 +1,10 @@ noinst_PROGRAMS = tux_example WavingFlagDemo tux_example_SOURCES = tux_example.cxx -include_HEADERS = WavingFlag.h -WavingFlagDemo_SOURCES = WavingFlag.cxx WavingFlagDemo.cxx +WavingFlagDemo_SOURCES = WavingFlag.cxx WavingFlagDemo.cxx WavingFlag.h -tux_example_LDADD = -lplibssg -lplibsg -lplibul -WavingFlagDemo_LDADD = -lplibssg -lplibsg -lplibul +tux_example_LDADD = -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) +WavingFlagDemo_LDADD = -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) EXTRA_DIST = tux_example.dsp WavingFlag.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/sl In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/sl Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/sl/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.am 8 May 2002 21:24:24 -0000 1.4 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.5 @@ -3,8 +3,8 @@ example_SOURCES = example.cxx mod_demo_SOURCES = mod_demo.cxx -example_LDADD = -lplibsm -lplibsl -lplibul -mod_demo_LDADD = -lplibsm -lplibsl -lplibul +example_LDADD = -lplibsm -lplibsl -lplibul $(SND_LIBS) +mod_demo_LDADD = -lplibsm -lplibsl -lplibul $(SND_LIBS) EXTRA_DIST = cuckoo.au scream.ub wheeee.ub zzap.wav tuxr.mod \ mod_demo.dsp example.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/ssg/viewer In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/ssg/viewer Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/viewer/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile.am 8 May 2002 21:24:25 -0000 1.5 +++ Makefile.am 7 Jul 2002 18:07:14 -0000 1.6 @@ -2,7 +2,8 @@ viewer_SOURCES = viewer.cxx -viewer_LDADD = -lplibssg -lplibsg -lplibfnt -lplibpu -lplibul +viewer_LDADD = -lplibssg -lplibpu -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) \ + $(OGL_LIBS) EXTRA_DIST = viewer.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/sg In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/sg Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/sg/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 11 Jan 2001 01:43:37 -0000 1.2 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.3 @@ -2,7 +2,7 @@ sg_quat_test_SOURCES = sg_quat_test.cxx -sg_quat_test_LDADD = -lplibsg -lplibul +sg_quat_test_LDADD = -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) EXTRA_DIST = sg_quat_test.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/ssg/state_test In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/ssg/state_test Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/state_test/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile.am 8 May 2002 21:24:25 -0000 1.5 +++ Makefile.am 7 Jul 2002 18:07:14 -0000 1.6 @@ -2,7 +2,7 @@ stest_SOURCES = stest.cxx -stest_LDADD = -lplibssg -lplibsg -lplibul +stest_LDADD = -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) EXTRA_DIST = herring.inta stest.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 18:07:17
|
Update of /cvsroot/plib/plib/examples/src/ssg/majik In directory usw-pr-cvs1:/tmp/cvs-serv7409/src/ssg/majik Modified Files: Makefile.am Log Message: Only link in GLUT if necessary (OS-X); Some more updates for OS-X; Misc. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/majik/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 19 Sep 2000 14:50:22 -0000 1.2 +++ Makefile.am 7 Jul 2002 18:07:13 -0000 1.3 @@ -4,7 +4,7 @@ image_map.h \ majik_demo.cxx -majik_demo_LDADD = -lplibssg -lplibsg -lplibul +majik_demo_LDADD = -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) EXTRA_DIST = majik_demo.dsp |
From: Sebastian U. <ud...@us...> - 2002-07-07 04:56:38
|
Update of /cvsroot/plib/plib In directory usw-pr-cvs1:/tmp/cvs-serv25818 Modified Files: configure.in Log Message: Don't check for existance of the OpenGL libraries with Cygwin, it doesn't work Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- configure.in 3 Jul 2002 18:22:53 -0000 1.36 +++ configure.in 7 Jul 2002 04:56:34 -0000 1.37 @@ -65,17 +65,8 @@ *-*-cygwin* | *-*-mingw32*) dnl CygWin under Windoze. - AC_CHECK_LIB(winmm, joyGetNumDevs) - dnl OpenGL libraries - AC_CHECK_LIB(opengl32, glNewList,, - AC_MSG_ERROR([could not find working GL library])) - - AC_CHECK_LIB(glu32, gluLookAt,, - AC_MSG_ERROR([could not find working GLU library])) - - AC_CHECK_LIB(glut32, glutGetModifiers,, - AC_MSG_ERROR([could not find working GLUT library])) + LIBS="$LIBS -lwinmm -lglut32 -lglu32 -lopengl32" ;; *-apple-darwin*) dnl Mac OS X |
From: Sebastian U. <ud...@us...> - 2002-07-07 02:59:01
|
Update of /cvsroot/plib/plib In directory usw-pr-cvs1:/tmp/cvs-serv30367 Modified Files: TODO-2.0 Log Message: Added "Make JS a library" task (with question mark) Index: TODO-2.0 =================================================================== RCS file: /cvsroot/plib/plib/TODO-2.0,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- TODO-2.0 18 Dec 2001 20:11:57 -0000 1.3 +++ TODO-2.0 7 Jul 2002 02:58:58 -0000 1.4 @@ -1,4 +1,4 @@ -[ Place tasks here that probably won't get done before PLIB 2.0 or change +[ Put in tasks here that probably won't get done before PLIB 2.0 or change the API in a way that could break existing applications ] PUI section @@ -10,10 +10,10 @@ * Remove deprecated PUSTYLE_RADIO * Remove deprecated 'int puValue::getValue ( void )' function - (Programmers: use 'puValue::getIntegerValue' instead) + (Application developers: Use 'puValue::getIntegerValue' instead) * Remove deprecated 'int puObject::getDefaultValue ( void )' function - (Programmers: use 'puValue::getDefaultIntegerValue' instead) + (Application developers: Use 'puValue::getDefaultIntegerValue' instead) * Line up widget constructors (explicit size vs. max coordinates issue) @@ -21,8 +21,13 @@ to 'bool' * In puDeactivateWidget (), invoke the active widget's down callback - (Can't be realized before 2.0 since it could break existing programs - relying on the 'old' behaviour) + (Can't be realized prior to 2.0 since it could break existing programs + relying on the old behaviour) * Implement puiAUX for complex widgets [ unclear ] + + +JS section + +* Make JS a library ? |
From: Sebastian U. <ud...@us...> - 2002-07-07 02:01:16
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv14907 Modified Files: pu.h puListBox.cxx Log Message: Julian Foad: Added puListBox::getNumVisible () Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.108 retrieving revision 1.109 diff -u -d -r1.108 -r1.109 --- pu.h 20 Jun 2002 20:14:01 -0000 1.108 +++ pu.h 7 Jul 2002 02:01:12 -0000 1.109 @@ -1259,6 +1259,13 @@ void newList ( char ** _list ) ; int getNumItems ( void ) const { return num ; } + int getNumVisible ( void ) const + { + int ysize = abox.max[1] - abox.min[1] + 1 ; + int yinc = legendFont.getStringHeight () + PUSTR_BGAP ; + return (ysize - PUSTR_BGAP) / yinc ; + } + int getTopItem ( void ) const { return top ; } void setTopItem ( int item_index ) ; } ; Index: puListBox.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puListBox.cxx,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- puListBox.cxx 28 Dec 2001 23:18:21 -0000 1.20 +++ puListBox.cxx 7 Jul 2002 02:01:12 -0000 1.21 @@ -102,9 +102,8 @@ r_cb ( this, dx, dy, render_data ) ; else { - int ysize = abox.max[1] - abox.min[1] + 1 ; int yinc = legendFont.getStringHeight () + PUSTR_BGAP ; - int num_vis = (ysize - PUSTR_BGAP) / yinc ; + int num_vis = getNumVisible () ; int selected ; getValue ( &selected ) ; |
From: Sebastian U. <ud...@us...> - 2002-07-06 23:13:19
|
Update of /cvsroot/plib/plib/examples/src/ssg/load_save In directory usw-pr-cvs1:/tmp/cvs-serv32486 Modified Files: save.cxx Log Message: Fixed the save example (Well, I hope so ...) Index: save.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/load_save/save.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- save.cxx 4 Aug 2001 15:29:08 -0000 1.3 +++ save.cxx 6 Jul 2002 23:13:14 -0000 1.4 @@ -15,11 +15,39 @@ ssgTransform *object = NULL ; ssgEntity *obj_obj = NULL ; -/*****************************************************\ -* * -* THIS PROGRAM IS BROKEN - IT DOESN'T CALL SSGINIT!! * -* * -\*****************************************************/ + +void redraw () +{ + return ; +} + + +void init_graphics () +{ + int fake_argc = 1 ; + char *fake_argv[3] ; + fake_argv[0] = "ssgExample" ; + fake_argv[1] = "Simple Scene Graph : Example Program." ; + fake_argv[2] = NULL ; + + /* + Initialise GLUT + */ + + glutInitWindowPosition ( 0, 0 ) ; + glutInitWindowSize ( 640, 480 ) ; + glutInit ( &fake_argc, fake_argv ) ; + glutInitDisplayMode ( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ) ; + glutCreateWindow ( fake_argv[1] ) ; + glutDisplayFunc ( redraw ) ; + + /* + Initialise SSG + */ + + ssgInit () ; +} + void load_database () { @@ -62,10 +90,9 @@ int main ( int, char ** ) { + init_graphics () ; load_database () ; save_database () ; return 0 ; } - - |
From: Sebastian U. <ud...@us...> - 2002-07-06 20:27:42
|
Update of /cvsroot/plib/plib/examples In directory usw-pr-cvs1:/tmp/cvs-serv23420 Modified Files: plib_examples.dsp Log Message: Updated MSVC project files Index: plib_examples.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/plib_examples.dsp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- plib_examples.dsp 19 Dec 2001 19:54:13 -0000 1.8 +++ plib_examples.dsp 6 Jul 2002 20:27:38 -0000 1.9 @@ -2,7 +2,7 @@ # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** -# TARGTYPE "Win32 (x86) Console Application" 0x0103 +# TARGTYPE "Win32 (x86) Generic Project" 0x010a CFG=plib_examples - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, @@ -17,16 +17,15 @@ !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE -!MESSAGE "plib_examples - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "plib_examples - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "plib_examples - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "plib_examples - Win32 Debug" (based on "Win32 (x86) Generic Project") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "plib_examples" # PROP Scc_LocalPath "." -CPP=cl.exe -RSC=rc.exe +MTL=midl.exe !IF "$(CFG)" == "plib_examples - Win32 Release" @@ -39,18 +38,7 @@ # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"plib_examples.exe" /libpath:"..\..\..\..\plib" !ELSEIF "$(CFG)" == "plib_examples - Win32 Debug" @@ -63,18 +51,7 @@ # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib glu32.lib /nologo /subsystem:console /debug /machine:I386 /out:"plib_examples.exe" /pdbtype:sept /libpath:"..\..\..\..\plib" !ENDIF |
From: Sebastian U. <ud...@us...> - 2002-07-06 19:55:35
|
Update of /cvsroot/plib/plib/doc/net In directory usw-pr-cvs1:/tmp/cvs-serv15257 Modified Files: index.html Log Message: Fixed mistake in NET documentation (thanks to ... err ... Leon) Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/net/index.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- index.html 24 Mar 2002 02:04:35 -0000 1.6 +++ index.html 6 Jul 2002 19:55:32 -0000 1.7 @@ -243,9 +243,7 @@ netMessageChannel () ; bool sendMessage ( const netMessage& msg ) ; - virtual void processMessage ( const netMessage& msg ) ; - - void setCallback ( void (*callback)(const netMessage& msg) ) ; + virtual void handleMessage ( const netMessage& msg ) ; }; </pre> <H2><code>class netMonitorServer</code></h2> |
From: Sebastian U. <ud...@us...> - 2002-07-04 00:35:08
|
Update of /cvsroot/plib/plib/examples/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv19751 Modified Files: PointPicker.cxx Log Message: Replaced two instances of int / unsigned int with GLint / GLuint (OS-X) Index: PointPicker.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/PointPicker.cxx,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- PointPicker.cxx 28 Dec 2001 23:05:47 -0000 1.10 +++ PointPicker.cxx 4 Jul 2002 00:35:05 -0000 1.11 @@ -229,10 +229,10 @@ void point_no_active_cb ( puObject *ob ) { - int viewport[4] ; // Viewport + GLint viewport[4] ; // Viewport glGetIntegerv ( GL_VIEWPORT, viewport ) ; - unsigned int buffer[512]; + GLuint buffer[512]; glSelectBuffer ( 512L, buffer ); // Set up the buffer to put hits into glRenderMode ( GL_SELECT ) ; // Go into Select mode |
From: Sebastian U. <ud...@us...> - 2002-07-03 18:24:31
|
Update of /cvsroot/plib/plib In directory usw-pr-cvs1:/tmp/cvs-serv14591 Modified Files: configure.in Log Message: Added -lobjc to LIBS for OS-X Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- configure.in 3 Jul 2002 16:18:43 -0000 1.35 +++ configure.in 3 Jul 2002 18:22:53 -0000 1.36 @@ -81,7 +81,7 @@ dnl Mac OS X dnl OpenGL libraries - LIBS="$LIBS -framework OpenGL -framework GLUT" + LIBS="$LIBS -framework OpenGL -framework GLUT -lobjc" dnl Sound libraries LIBS="$LIBS -framework Carbon" |
From: Sebastian U. <ud...@us...> - 2002-07-03 16:18:47
|
Update of /cvsroot/plib/plib In directory usw-pr-cvs1:/tmp/cvs-serv7006 Modified Files: configure.in Log Message: Let's hope that this fixes building on OS-X Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- configure.in 1 Jul 2002 00:31:35 -0000 1.34 +++ configure.in 3 Jul 2002 16:18:43 -0000 1.35 @@ -28,6 +28,7 @@ AC_PROG_INSTALL AC_PROG_RANLIB + dnl Command line arguments dnl for Loring Holden's Solaris system @@ -40,6 +41,7 @@ CPPFLAGS="$CPPFLAGS -I$GL_PREFIX/include" fi [...106 lines suppressed...] + dnl Check SGI audio library AC_CHECK_LIB(audio, ALopenport) @@ -149,6 +168,7 @@ LIBS="$LIBS -laudio" fi + dnl Checks for typedefs, structures, and compiler characteristics. dnl check for socklen_t (in Unix98) @@ -168,6 +188,7 @@ AC_DEFINE(socklen_t,size_t)], [ AC_MSG_RESULT(int) AC_DEFINE(socklen_t,int)])]) + AC_OUTPUT( \ Makefile \ |
From: Wolfram K. <wol...@us...> - 2002-07-01 09:10:18
|
Update of /cvsroot/plib/plib/tools/src/af2rgb In directory usw-pr-cvs1:/tmp/cvs-serv18129 Modified Files: af2rgb.cxx Log Message: Changed license to GPL, since it is an stand alone application and not a library. Index: af2rgb.cxx =================================================================== RCS file: /cvsroot/plib/plib/tools/src/af2rgb/af2rgb.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- af2rgb.cxx 1 Jul 2002 00:20:14 -0000 1.6 +++ af2rgb.cxx 1 Jul 2002 09:10:13 -0000 1.7 @@ -5,7 +5,7 @@ // with some help by Marten Strömberg. // // Published as part of Steve Baker's PLIB -// License is LGPL +// License is GPL #include <stdlib.h> #include <stdio.h> |