[Plib-cvs] plib/demos/p-guide AUTHORS,NONE,1.1 COPYING,NONE,1.1 ChangeLog,NONE,1.1 INSTALL,NONE,1.1
Brought to you by:
sjbaker
Update of /cvsroot/plib/plib/demos/p-guide In directory usw-pr-cvs1:/tmp/cvs-serv16047/p-guide Added Files: AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS README TODO autogen.sh configure.in pGuide.dsw Log Message: John F. Fay: Introduced P-GUIDE --- NEW FILE: AUTHORS --- P-GUIDE was written by John F. Fay. --- NEW FILE: COPYING --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. [...301 lines suppressed...] The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. --- NEW FILE: ChangeLog --- --- NEW FILE: INSTALL --- Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' [...143 lines suppressed...] `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. --- NEW FILE: Makefile.am --- SUBDIRS = src EXTRA_DIRS = autogen.sh README TODO pGuide.dsw --- NEW FILE: NEWS --- --- NEW FILE: README --- PUI-based Graphical User Interface Designer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ by John F. Fay REQUIREMENTS: OpenGL (or Mesa) GLUT (the GL Utility Toolkit) PLIB INSTALLATION: Installation instructions are pretty basic: ./configure make make install LICENSE: This software is released under the provisions of the GNU General Public License (GPL) which can be found in the file 'COPYING' in the current directory. DIRECTORY STRUCTURE: src -- Where the source code lives. doc -- Documentation - in HTML --- NEW FILE: TODO --- Planned Bug Fixes or Upgrades to P-GUIDE: Bug Fixes: 1. When the user has selected CTRL-widget, have the button value set back to zero when the selected_widget_type (or whatever it is) gets deselected or changed (eg when he presses on another widget button in the Widget window or presses another widget anywhere else), not just when he presses Escape. 2. Make the Active widget's black line go all the way around it. 3. Make the widget creations type-specific. Upgrades: 1. Allow the user to click a corner of a widget in the main window to extend its size in two directions at once. 2. --- NEW FILE: autogen.sh --- #!/bin/sh echo "Running aclocal" aclocal echo "Running automake" automake --add-missing echo "Running autoconf" autoconf echo "======================================" echo "Now you are ready to run './configure'" echo "======================================" --- NEW FILE: configure.in --- dnl Process this file with autoconf to produce a configure script. AC_INIT(src/pGuide.cxx) AM_INIT_AUTOMAKE(pguide, 0.0.1) dnl Checks for programs. AC_PROG_CC AC_PROG_CPP AC_PROG_CXX AC_PROG_CXXCPP AC_PROG_INSTALL plib_suffix="-lplibpu -lplibfnt -lplibsg -lplibul" AC_LANG_CPLUSPLUS dnl Checks for library functions. dnl check for OpenGL related libraries AC_CANONICAL_HOST case "${host}" in *-*-cygwin* | *-*-mingw32*) dnl CygWin under Windoze. dnl OpenGL libraries LIBS="$plib_suffix $LIBS -lwinmm -lglut32 -lglu32 -lopengl32 -luser32 -lgdi32" ;; *) dnl Check for X11 AC_PATH_XTRA x_suffix="$X_LIBS $X_PRE_LIBS -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm" dnl ========================================================= dnl if test "x$x_includes" != "x"; then dnl CPPFLAGS="$CPPFLAGS -I$x_includes" dnl fi dnl ========================================================= dnl Reasonable stuff non-windoze variants ... :-) AC_CHECK_LIB(dl, dlclose) AC_CHECK_LIB(GL, glNewList,,,$x_suffix) if test "x$ac_cv_lib_GL_glNewList" = "xno" ; then dnl if no GL, check for MesaGL AC_CHECK_LIB(MesaGL, glNewList,,,$x_suffix) fi dnl if using mesa, check for xmesa.h if test "x$ac_cv_lib_MesaGL_glNewList" = "xyes" ; then AC_CHECK_HEADER(GL/xmesa.h) AM_CONDITIONAL(ENABLE_XMESA_FX, \ test "x$ac_cv_header_GL_xmesa_h" = "xyes") else dnl force a failed check AM_CONDITIONAL(ENABLE_XMESA_FX, test "no" = "yes") fi AC_CHECK_LIB(GLU, gluLookAt,,,$x_suffix) if test "x$ac_cv_lib_GLU_gluLookAt" = "xno" ; then dnl if no GLU, check for MesaGLU AC_CHECK_LIB(MesaGLU, gluLookAt,,,$x_suffix) fi opengl_LIBS="$LIBS $x_suffix" dnl check for glut...or freeglut AC_CHECK_LIB(freeglut, glutGetModifiers,,,$opengl_LIBS) if test "x$ac_cv_lib_freeglut_glutGetModifiers" = "xno" ; then dnl if no freeglut, check for Real GLUT AC_CHECK_LIB(glut, glutGetModifiers,,,$opengl_LIBS) fi CFLAGS="$CFLAGS -Wall -I/usr/local/include -L/usr/local/lib" CXXFLAGS="$CXXFLAGS -Wall -I/usr/local/include -L/usr/local/lib" LIBS="$plib_suffix $LIBS $x_suffix" ;; esac dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(GL/gl.h GL/glut.h) AC_CHECK_HEADER(windows.h, AC_DEFINE(WIN32)) AC_OUTPUT( Makefile \ src/Makefile \ ) --- NEW FILE: pGuide.dsw --- Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! ############################################################################### Project: "pGuide"=".\src\pGuide.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Global: Package=<5> {{{ }}} Package=<3> {{{ }}} ############################################################################### |