1 //-----------------------------------------------------------------------------
3 // kwave - Partical Wave Screen Saver for KDE 2
5 // Copyright (c) Ian Reinhart Geiser 2001
9 // The base particle engine did not come from me, it was designed by Jeff Molofee <nehe@connect.ab.ca>
10 // I did some extensive modifications to make it work with QT's OpenGL but the base principal is about
20 #include <OpenGL/glu.h>
21 #include <OpenGL/gl.h>
26 #include <kscreensaver.h>
32 class Wave
: public QGLWidget
37 Wave( QWidget
* parent
=0, const char * name
=0 );
41 /** paint the GL view */
43 /** resize the gl view */
44 void resizeGL ( int w
, int h
);
45 /** setup the GL enviroment */
53 // float ctrlPoints[4][4][3];
56 bool LoadGLTextures();
62 class KWaveSaver
: public KScreenSaver
66 KWaveSaver( WId drawable
);
67 virtual ~KWaveSaver();
77 class KWaveSetup
: public SetupUi
81 KWaveSetup( QWidget
*parent
= NULL
, const char *name
= NULL
);