KzmFortune
Date: 30.Nov.95
KzmFortune is an applet based on my KzmScroll
applet. It put a scrolling message on the screen, just like KzmScroll. The message
is randomly readed from a text file that must be present on the same directory
of the host.
PARAMETERS
- Font: (String, default=Arial)
This is the name of the font. The only restriction is that it must
be written excactly as the system need (normally with the first
letter capitalized). NOT WELL TESTED, SORRY !
- FontSize: (Int, default=12)
The size of the font.
- FontBold: (0/1, default=1)
If this value is 0, the font is bold, if it is 1 the font is bold.
- Rectangle: (X Y WIDTH HEIGHT, default=applet dimension)
This is the dimension of the scrollable area.
- Shift: (Int, default=5)
Is the shifting of the message.
- Delay: (Int, default=50)
Is the delay between every shift.
- Rect_Color: (R G B, default=0 0 0)
The color of the scrollable area, the rectangle.
- Text_Color: (R G B, default=255 255 255)
The color of the message.
- FileName: (String, default=fortune.txt)
The name of the file containing the fortunes.
If the filename is unreadable the applet doesn't work.
- FileLines: (int)
The number of fortunes into the file. Every fortune must be 1 line.
If the number of line is wrong, the message will be "NO FORTUNE".
source
Author:
Alessandro Aldo 'Kazuma' Garbagnati (kazuma@energy.it)
Homepage:
http://www.energy.it/~kazuma/
Company:
SIMURG S.r.l. (simurg@energy.it)
Address:
Via Tortona, 2
I-20154 MILANO (MI), ITALY
+39.2.58107575 (voice) - +39.2.58114675 (fax)