#include <stdio.h>
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>

void reshape(int w,int h){
printf( "event: reshaped to %d x %d\n", w, h );
}

void expose(void){
printf( "event: exposed\n" );
}

/*
void tastiera(unsigned char k, int x, int y)
{
printf( "tasto premuto %c\n",k );
}
*/

int main( int argc, char** argv ){
glutInit(&argc, argv);
glutInitDisplayMode( GLUT_RGB);
glutInitWindowPosition(300, 100 );
glutInitWindowSize(150,150);
glutCreateWindow(argv[0]);
glutReshapeFunc(reshape);
glutDisplayFunc(expose);
//glutKeyboardFunc(tastiera);

glutMainLoop();
}
