[Plib-cvs] plib/examples/src/pui PointPicker.cxx,1.15,1.16 complex.cxx,1.21,1.22 simple.cxx,1.10,1.1
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-09-01 12:04:55
|
Update of /cvsroot/plib/plib/examples/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv26203/src/pui Modified Files: PointPicker.cxx complex.cxx simple.cxx widget_list.cxx Log Message: Added copyright notices and copying permission statement Index: PointPicker.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/PointPicker.cxx,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- PointPicker.cxx 1 Sep 2002 06:57:58 -0000 1.15 +++ PointPicker.cxx 1 Sep 2002 12:04:51 -0000 1.16 @@ -1,19 +1,44 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 2001 Steve Baker + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + // Point Picker Program by John Fay, October 2000. -// This is a demonstration program for PUI. It displays a set of points in a window -// and allows the user to pick them with the right mouse button. It demonstrates -// the following PUI capabilities: +// This is a demonstration program for PUI. It displays a set of points in +// a window and allows the user to pick them with the right mouse button. +// It demonstrates the following PUI capabilities: // - puInput widget // - puOneShot widget // - active widget functionality, with up, active, and down callbacks // - valuators - +// // To use it, the user does the following: -// First Method: Click in the input widget and type the number of the point -// Second Method: Click in the input widget and right-click on a point to select it. - -// For both methods, clicking the left (one-shot) button moves the point to the -// right. When it gets far enough to the right, it wraps around to the left and -// moves slightly upwards. +// First Method: Click in the input widget and type the number of the +// point +// Second Method: Click in the input widget and right-click on a point to +// select it. +// +// For both methods, clicking the left (one-shot) button moves the point +// to the right. When it gets far enough to the right, it wraps around to +// the left and moves slightly upwards. #include <stdio.h> #include <stdarg.h> Index: complex.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/complex.cxx,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- complex.cxx 1 Sep 2002 06:57:58 -0000 1.21 +++ complex.cxx 1 Sep 2002 12:04:51 -0000 1.22 @@ -1,3 +1,27 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 2001 Steve Baker + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + + #include <stdio.h> #include <stdarg.h> #include <stdlib.h> Index: simple.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/simple.cxx,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- simple.cxx 1 Sep 2002 06:57:58 -0000 1.10 +++ simple.cxx 1 Sep 2002 12:04:51 -0000 1.11 @@ -1,3 +1,26 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 2001 Steve Baker + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include <stdio.h> #include <stdlib.h> Index: widget_list.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/widget_list.cxx,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- widget_list.cxx 1 Sep 2002 06:57:58 -0000 1.14 +++ widget_list.cxx 1 Sep 2002 12:04:51 -0000 1.15 @@ -1,3 +1,26 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 2001 Steve Baker + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + // Sample program to create a copy of each widget in PUI #include <stdio.h> |