[Plib-cvs] plib/src/pw pw.h,1.3,1.4 pwMacOSX.cxx,1.2,1.3 pwWindows.cxx,1.3,1.4 pwX11.cxx,1.3,1.4
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-02-24 02:12:07
|
Update of /cvsroot/plib/plib/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19578/plib/src/pw Modified Files: pw.h pwMacOSX.cxx pwWindows.cxx pwX11.cxx Log Message: Changed pwOpenWindow to pwSetCallbacks Index: pw.h =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pw.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- pw.h 24 Feb 2004 01:52:06 -0000 1.3 +++ pw.h 24 Feb 2004 02:06:03 -0000 1.4 @@ -15,9 +15,9 @@ int multisample, char *title, int border, int num_samples ) ; -void pwOpenWindow ( pwKeybdFunc *kb = NULL, pwMouseFunc *ms = NULL, - pwMousePosFunc *mp = NULL, pwResizeCB *rcb = NULL, - pwExitCB *ecb = NULL ) ; +void pwSetCallbacks ( pwKeybdFunc *kb = NULL, pwMouseFunc *ms = NULL, + pwMousePosFunc *mp = NULL, pwResizeCB *rcb = NULL, + pwExitCB *ecb = NULL ) ; int pwGetModifiers () ; void pwSwapBuffers () ; Index: pwMacOSX.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwMacOSX.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pwMacOSX.cxx 24 Feb 2004 01:55:37 -0000 1.2 +++ pwMacOSX.cxx 24 Feb 2004 02:06:03 -0000 1.3 @@ -13,9 +13,9 @@ exit ( 0 ) ; } -void pwOpenWindow ( pwKeybdFunc *kb, pwMouseFunc *ms, - pwMousePosFunc *mp, pwResizeCB *rcb, - pwExitCB *ecb ) +void pwSetCallbacks ( pwKeybdFunc *kb, pwMouseFunc *ms, + pwMousePosFunc *mp, pwResizeCB *rcb, + pwExitCB *ecb ) { fprintf ( stderr, "PW: ***** NOT IMPLEMENTED FOR OS-X YET!! *****\n" ) ; } Index: pwWindows.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwWindows.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- pwWindows.cxx 24 Feb 2004 01:52:06 -0000 1.3 +++ pwWindows.cxx 24 Feb 2004 02:06:03 -0000 1.4 @@ -135,12 +135,12 @@ } -void pwOpenWindow ( pwKeybdFunc *kb, pwMouseFunc *ms, - pwMousePosFunc *mp, pwResizeCB *rcb, pwExitCB *ecb ) +void pwSetCallbacks ( pwKeybdFunc *kb, pwMouseFunc *ms, + pwMousePosFunc *mp, pwResizeCB *rcb, pwExitCB *ecb ) { if ( ! initialised ) { - fprintf ( stderr, "PW: You must not call pwOpenWindow before pwInit.\n" ) ; + fprintf ( stderr, "PW: You must not call pwSetCallbacks before pwInit.\n"); exit ( 1 ) ; } Index: pwX11.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwX11.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- pwX11.cxx 24 Feb 2004 01:52:06 -0000 1.3 +++ pwX11.cxx 24 Feb 2004 02:06:03 -0000 1.4 @@ -179,13 +179,13 @@ } -void pwOpenWindow ( pwKeybdFunc *kb, pwMouseFunc *ms, - pwMousePosFunc *mp, pwResizeCB *rcb, - pwExitCB *ecb ) +void pwSetCallbacks ( pwKeybdFunc *kb, pwMouseFunc *ms, + pwMousePosFunc *mp, pwResizeCB *rcb, + pwExitCB *ecb ) { if ( ! initialised ) { - fprintf ( stderr, "PW: You must not call pwOpenWindow before pwInit.\n" ) ; + fprintf ( stderr, "PW: You must not call pwSetCallbacks before pwInit.\n"); exit ( 1 ) ; } |