home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
365.lha
/
MapCol_v1.4
/
MapCol.doc
< prev
next >
Wrap
Text File
|
1990-04-10
|
4KB
|
91 lines
NAME
MapCol - Change workbench object colors
MapCol 1.4 90/03/21 14:48:42
SYNOPSIS
MapCol <objectname> [<color0> <color1> <color2> <color3>]
DESCRIPTION
Have you ever wanted to change the color of an icon and dreaded
going into an icon editor and redrawing every blasted pixel? Well,
here's the quick fix. This program, MapCol (short for MAP COLor),
will change every occurence of each color in an icon to a color you
specify.
The Workbench screen has four colors, numbered 0 through 3. Color
0 is the background color. The default colors in WB 1.3 are:
0 = Blue, 1 = White, 2 = Black, 3 = Orange
For each color number, MapCol will ask what color number you would
like it changed to ("mapped to").
MapCol is intended to be run from a Shell (or CLI). There are two
ways to use MapCol. Either type MapCol <name>, and MapCol will
ask you for each color mapping, or the color mappings may be
specified on the command line following <name>.
EXAMPLES
For instance, to change the colors of the Empty drawer from white
(color #1) with black (color #2) to orange (color #3) with white
(color #1), type
MapCol Empty 0 3 1 2
Or, to change the Workbench disk colors from a black disk with an
orange shutter to an orange disk with a black shutter, type
MapCol Disk 0 1 3 2
Note that the above examples assume that the Current Director is
set appropriately.
DIAGNOSTICS
MapCol: Cannot open the icon library
The file icon.library cannot be found in the LIBS: directory(s)
MapCol: Cannot open workbench object <name>
The attempt to get workbench object <name> failed. Check for
the existence of a file <name>.info. Also check that the
current directory is set appropriately.
MapCol does not understand this Disk Object version.
Either the Disk Object is bad, or Workbench is writing
different types of Disk Objects nowadays and MapCol doesn't
work with them.
MapCol expects an integer for color <number>, but it found "<text>".
The <text> that MapCol found when trying to read the color
mapping for color <number> is not a valid decimal integral
number.
MapCol: Image Depth is not 2 bitplanes!!
The icon image is not a four-color icon. (i.e. it does not
have two bitplanes.)
AUTHOR
John A. Thywissen
4205 Tuckerman Street 7 Stonegate
University Pk, MD 20782-2144 Houston, TX 77024-2703
Amiga Certified Developer bix: thywiss
AVAILABILITY
Copyright © 1990, John Adam Thywissen
This program may be freely distributed under certain conditions:
1. This program must be distributed in a completely UNMODIFIED
form.
2. This program shall not be sold. However, public domain
librarians may charge a small fee for distribution not exceeding
the cost of duplication, materials, and handling.
3. This program may be incorporated into another program or
package. However, the notice of copyright should be made
visible to the user of such program or package. (Simply stating
"MapCol ©1990, John A. Thywissen" in the documentation is
sufficient.)
4. The source need not be distributed with the binary, however, this
availabilty statement must always accompany the binary and
source code.