1 //-----------------------------------------------------------------------------
3 // Lorenz - Lorenz Attractor screen saver
4 // Nicolas Brodu, brodu@kde.org, 2000
6 // Portions of code from kblankscrn and khop.
9 // I release my code as GPL, but see the other headers and the README
11 #ifndef __LORENZKSCRN_H__
12 #define __LORENZKSCRN_H__
16 #include <kscreensaver.h>
19 // See lorenz.cpp for this private class
22 class KLorenzSaver
: public KScreenSaver
26 KLorenzSaver( WId id
);
27 virtual ~KLorenzSaver();
28 void setSpeed(int num
);
29 void setEpoch(int num
);
30 void setCRate(int num
);
31 void setZRot(int num
);
32 void setYRot(int num
);
33 void setXRot(int num
);
48 double speed
, epoch
, zrot
, yrot
, xrot
, crate
;
55 class KLorenzSetup
: public KDialog
59 KLorenzSetup(QWidget
*parent
= 0, const char *name
= 0 );
66 void slotSpeed(int num
);
67 void slotEpoch(int num
);
68 void slotCRate(int num
);
69 void slotZRot(int num
);
70 void slotYRot(int num
);
71 void slotXRot(int num
);
79 QSlider
*sps
, *eps
, *zrs
, *yrs
, *xrs
, *crs
;
81 int speed
, epoch
, zrot
, yrot
, xrot
, crate
;