home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d121
/
wbcolors.lha
/
WBColors
/
WB_Text
< prev
next >
Wrap
Text File
|
1987-12-31
|
4KB
|
98 lines
THE NON-IMPORTANT BIT
---------------------
Hi everybody out there!
When I'm writing this, christmas is closing in fast (Dec. 5, 1987).
I'm having my last tests in school for this semester this coming week.
Math and chemistry..... Enuf about that - I'll be free for Xmas.
I'm currently working on a little nice game that is due to be realeased
sometime in march-april (hopefully). Probably only in Europe though,
'cause of the monitor update differences and perhaps because of the big
distibution companies in the US etc. Anyway, it's going to be a shoot 'em
up. We're seeing a lot of new good games here in Europe - mostly German,
but also English. It seems as only the BIG american companies are doing
anything.
Ok, this thing with electronic media is really great. I'm writing this
now and then the text will be spread all over world by Fish & Co. It's
painfully slow, though. I probably won't see this Fish disk
until May '88 or something like that. But when I do recieve it, I'll know
it's travelled all over the world.
Over to my little program.
We have just got ourselves a harddisk, and when you move different
programs over to the hd you discover that even though you don't have to
wait as long for the programs to load or boot their disks and so on, the
colors that you booted up with initially aren't really useful for a
certain program. (That was a LONG sentence. (Please send me a grammaticly
correct version)) Like for instance Textcraft+. So I said to myself: "Why
don't you write a little program to change the Workbench colors without a
lot of trouble?" (Well, I said it in Swedish, but my guess is that most of
you wouldn't understand that....) Three hours later... "Klart!" - that's
"Finished!" in Swedish.
After some testing it turned out to work pretty good. (I hope.)
THE IMPORTANT BIT
-----------------
You can run the program from both the CLI and the Workbench (It's
intended for the Workbench).
The program can be renamed (it checks what its own name is), but for
some mysterious reason it seems like if you run the program from CLI the
name CANNOT be longer than 8 characters. (Test it yourself!)
There may of course be bugs not found. (Three hours development) I
didn't put in specific error messages, so if you followed the color code
syntax (see below) - check the name length. (There will hopefully not be
any unexplainable error. You can always edit the source to specify the
error)
You write the color(RGB) values (in hex) in the comment field like this:
COLORS=Col #0 values|Col #1 values|Col #2 values|Col #3 values
Example: COLORS=ffa|300|63a|bb3
Don't use any white space, because my interpreter isn't worth the name.
(Improve it yourself!)
You can use either the FileNote command or the Info function of the
WorkBench to edit the comment filed. The latter much easier.
I think that's most of what I had to say (write).
Other NOTES
-----------
It would perhaps have been more 'proper' to use the tooltypes field
instead of the comment field, but if you use the tooltype field you have
to open the Icon library, which is on disk and would slow down execution
not to mention that you must have that library on your current disk.
Furthermore would CLI use have been out of the picture.
Note also that if you duplicate the program with the WorkBench function
the comment field will be erased.
The source (if you're thinking of editing it and have Manx) use a
Lattice function to convert from hex.
IMPORTANT! The program does NOT change the systemconfiguration colors nor
even the preferences, so to restore 'your' system colors just
run the Preferences program and the colors go back to normal.
That's all folks!
Stefan Lindahl
Drevkarlsgr. 8
S-222 52 LUND
SWEDEN
Like to here from ya!!