Update of /cvsroot/plib/plib/demos/p-guide/src
In directory usw-pr-cvs1:/tmp/cvs-serv17555
Modified Files:
WidgetList.h WidgetWindow.cxx
Log Message:
Added glut include
Index: WidgetList.h
===================================================================
RCS file: /cvsroot/plib/plib/demos/p-guide/src/WidgetList.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- WidgetList.h 18 Aug 2002 00:23:11 -0000 1.3
+++ WidgetList.h 1 Sep 2002 11:23:42 -0000 1.4
@@ -27,6 +27,17 @@
#include <plib/pu.h>
+#ifdef FREEGLUT_IS_PRESENT
+# include <GL/freeglut.h>
+#else
+# ifdef __APPLE__
+# include <GLUT/glut.h>
+# else
+# include <GL/glut.h>
+# endif
+#endif
+
+
// PUI Widget List for Main Window
struct WidgetList
Index: WidgetWindow.cxx
===================================================================
RCS file: /cvsroot/plib/plib/demos/p-guide/src/WidgetWindow.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- WidgetWindow.cxx 30 Aug 2002 14:00:18 -0000 1.7
+++ WidgetWindow.cxx 1 Sep 2002 11:23:42 -0000 1.8
@@ -26,6 +26,16 @@
#include <plib/pu.h>
+#ifdef FREEGLUT_IS_PRESENT
+# include <GL/freeglut.h>
+#else
+# ifdef __APPLE__
+# include <GLUT/glut.h>
+# else
+# include <GL/glut.h>
+# endif
+#endif
+
// Widget Window Data
bool selected_object_sticky = false ;
|