Update of /cvsroot/plib/plib/examples/src/pw
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19578/plib/examples/src/pw
Modified Files:
pw_demo.cxx pw_pui.cxx
Log Message:
Changed pwOpenWindow to pwSetCallbacks
Index: pw_demo.cxx
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pw_demo.cxx 24 Feb 2004 01:52:06 -0000 1.3
+++ pw_demo.cxx 24 Feb 2004 02:06:03 -0000 1.4
@@ -55,7 +55,7 @@
{
pwInit ( 100, 100, 640, 480, false, "PLIB Window Demo", true, 0 ) ;
- pwOpenWindow ( kbFunc, msFunc, mpFunc, rsFunc, exFunc ) ;
+ pwSetCallbacks ( kbFunc, msFunc, mpFunc, rsFunc, exFunc ) ;
while ( 1 )
{
Index: pw_pui.cxx
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/pw/pw_pui.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pw_pui.cxx 24 Feb 2004 01:52:06 -0000 1.3
+++ pw_pui.cxx 24 Feb 2004 02:06:03 -0000 1.4
@@ -60,7 +60,7 @@
b -> setLegend ( "Say Hello" ) ;
b -> setCallback ( button_cb ) ;
- pwOpenWindow ( kbFunc, msFunc, mpFunc, rsFunc, exFunc ) ;
+ pwSetCallbacks ( kbFunc, msFunc, mpFunc, rsFunc, exFunc ) ;
while ( 1 )
{
glClearColor ( 0.5, 0.1, 0.1, 1.0 ) ;
|