From: Tim R. <ti...@us...> - 2004-08-01 10:55:55
|
Update of /cvsroot/csdopenglnet/csdOpenGL/cbonding In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31045/cbonding Modified Files: Makefile csdGL.c csdGL.h Removed Files: libtest.cs Log Message: removed manual dllimport-calls Index: Makefile =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/cbonding/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile 17 Jul 2004 17:30:40 -0000 1.4 --- Makefile 1 Aug 2004 10:55:46 -0000 1.5 *************** *** 4,8 **** ! all: libcsdGL.so libtest.exe libcsdGL.so: csdGL.o --- 4,8 ---- ! all: libcsdGL.so libcsdGL.so: csdGL.o --- libtest.cs DELETED --- Index: csdGL.h =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/cbonding/csdGL.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** csdGL.h 12 Jul 2004 17:18:12 -0000 1.1.1.1 --- csdGL.h 1 Aug 2004 10:55:47 -0000 1.2 *************** *** 7,27 **** #include <stdlib.h> - typedef void (*DisplayFunc) (void); - typedef void (*KeyboardFunc) (unsigned char key, int x, int y); - typedef void (*TimerFunc) (int value); - typedef void (*ReshapeFunc) (int width, int height); - - void csdReshapeFunc( ReshapeFunc func ); - void csdTimerFunc( unsigned int millis, TimerFunc func, int value ); - void csdSwapBuffers(); - void csdInitDisplayMode( unsigned int mode ); - void csdInitWindowSize( int width, int height ); - void csdMainLoop(); - int csdCreateWindow( const char *title ); - void csdDisplayFunc( DisplayFunc func ); - void csdKeyboardFunc( KeyboardFunc func ); - void csdPostRedisplay(); - - void arrayTest( const float elems[] ); - #endif --- 7,9 ---- Index: csdGL.c =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/cbonding/csdGL.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** csdGL.c 12 Jul 2004 17:18:12 -0000 1.1.1.1 --- csdGL.c 1 Aug 2004 10:55:47 -0000 1.2 *************** *** 1,49 **** #include "csdGL.h" - void csdSwapBuffers() { - glutSwapBuffers(); - } - - void csdReshapeFunc( ReshapeFunc func ) { - glutReshapeFunc( func ); - } - - void csdInitDisplayMode( unsigned int mode ) { - glutInitDisplayMode( mode ); - } - - void csdInitWindowSize( int width, int height ) { - glutInitWindowSize( width, height ); - } - - void csdMainLoop() { - glutMainLoop(); - } - - int csdCreateWindow( const char *title ) { - return glutCreateWindow( title ); - } - - void csdDisplayFunc( DisplayFunc func ) { - glutDisplayFunc( func ); - } - - void csdKeyboardFunc( KeyboardFunc func ) { - glutKeyboardFunc( func ); - } - - void csdPostRedisplay() { - glutPostRedisplay(); - } - - void csdTimerFunc( unsigned int millis, TimerFunc func, int value ) { - glutTimerFunc( millis, func, value ); - } - - void arrayTest( const float elems[] ) { - printf( "HALLO\n" ); - int i = 0; - for ( i=0; i<16; i++ ) { - printf( "==> %f\n", elems[i] ); - } - } --- 1,2 ---- |