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 >
Text File  |  1987-12-31  |  4KB  |  98 lines

  1.  
  2.                          THE NON-IMPORTANT BIT
  3.                          ---------------------
  4.  
  5.   Hi everybody out there!
  6.  
  7.   When I'm writing this, christmas is closing in fast (Dec. 5, 1987).
  8.   I'm having my last tests in school for this semester this coming week.
  9.   Math and chemistry.....   Enuf about that - I'll be free for Xmas.
  10.      I'm currently working on a little nice game that is due to be realeased
  11.   sometime in march-april (hopefully). Probably only in Europe though,
  12.   'cause of the monitor update differences and perhaps because of the big
  13.   distibution companies in the US etc. Anyway, it's going to be a shoot 'em
  14.   up. We're seeing a lot of new good games here in Europe - mostly German,
  15.   but also English. It seems as only the BIG american companies are doing
  16.   anything.
  17.      Ok, this thing with electronic media is really great. I'm writing this
  18.   now and then the text will be spread all over world by Fish & Co. It's
  19.   painfully slow, though. I probably won't see this Fish disk
  20.   until May '88 or something like that. But when I do recieve it, I'll know
  21.   it's travelled all over the world.
  22.  
  23.   Over to my little program.
  24.  
  25.   We have just got ourselves a harddisk, and when you move different
  26.   programs over to the hd you discover that even though you don't have to
  27.   wait as long for the programs to load or boot their disks and so on, the
  28.   colors that you booted up with initially aren't really useful for a
  29.   certain program. (That was a LONG sentence. (Please send me a grammaticly
  30.   correct version)) Like for instance Textcraft+. So I said to myself: "Why
  31.   don't you write a little program to change the Workbench colors without a
  32.   lot of trouble?" (Well, I said it in Swedish, but my guess is that most of
  33.   you wouldn't understand that....) Three hours later... "Klart!" - that's
  34.   "Finished!" in Swedish.
  35.      After some testing it turned out to work pretty good. (I hope.)
  36.  
  37.  
  38.                           THE IMPORTANT BIT
  39.                           -----------------
  40.  
  41.      You can run the program from both the CLI and the Workbench (It's
  42.   intended for the Workbench).
  43.      The program can be renamed (it checks what its own name is), but for
  44.   some mysterious reason it seems like if you run the program from CLI the
  45.   name CANNOT be longer than 8 characters. (Test it yourself!)
  46.      There may of course be bugs not found. (Three hours development) I
  47.   didn't put in specific error messages, so if you followed the color code
  48.   syntax (see below) - check the name length. (There will hopefully not be
  49.   any unexplainable error. You can always edit the source to specify the
  50.   error)
  51.  
  52.      You write the color(RGB) values (in hex) in the comment field like this:
  53.  
  54.   COLORS=Col #0 values|Col #1 values|Col #2 values|Col #3 values
  55.  
  56.   Example:  COLORS=ffa|300|63a|bb3
  57.  
  58.   Don't use any white space, because my interpreter isn't worth the name.
  59.   (Improve it yourself!)
  60.  
  61.   You can use either the FileNote command or the Info function of the
  62.   WorkBench to edit the comment filed. The latter much easier.
  63.  
  64.   I think that's most of what I had to say (write).
  65.  
  66.   Other NOTES
  67.   -----------
  68.  
  69.      It would perhaps have been more 'proper' to use the tooltypes field
  70.   instead of the comment field, but if you use the tooltype field you have
  71.   to open the Icon library, which is on disk and would slow down execution
  72.   not to mention that you must have that library on your current disk.
  73.   Furthermore would CLI use have been out of the picture.
  74.  
  75.      Note also that if you duplicate the program with the WorkBench function
  76.   the comment field will be erased.
  77.  
  78.      The source (if you're thinking of editing it and have Manx) use a
  79.   Lattice function to convert from hex.
  80.  
  81.    IMPORTANT!  The program does NOT change the systemconfiguration colors nor
  82.                even the preferences, so to restore 'your' system colors just
  83.                run the Preferences program and the colors go back to normal.
  84.  
  85.  
  86.      That's all folks!
  87.  
  88.  
  89.  
  90.      Stefan Lindahl
  91.      Drevkarlsgr. 8
  92.      S-222 52  LUND
  93.      SWEDEN
  94.  
  95.  
  96.   Like to here from ya!!
  97.  
  98.