Update of /cvsroot/plib/plib/examples/src/pw
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27074/plib/examples/src/pw
Modified Files:
pw_demo.cxx
Log Message:
Added a pwSetSize test.
Index: pw_demo.cxx
===================================================================
RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pw_demo.cxx 20 Mar 2004 02:21:18 -0000 1.5
+++ pw_demo.cxx 24 Mar 2004 01:24:33 -0000 1.6
@@ -57,6 +57,11 @@
}
fprintf ( stderr, "\n" ) ;
+
+ if ( key == '<' ) pwSetSize ( 100, 100 ) ;
+ else
+ if ( key == '>' ) pwSetSize ( 640, 480 ) ;
+
if ( key == 0x1B ) /* ESC */
{
pwCleanup () ;
|