home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Colossal Cookbook
/
ColossalCookbook.cdr
/
misc
/
qb_pal11.zip
/
PALETTE.DOC
next >
Wrap
Text File
|
1991-07-16
|
2KB
|
52 lines
PALETTE v. 1.1 : COLOR ATTRIBUTE CALCULATOR
-------------------------------------------
(c) Luigi M. Bianchi 1991
This program is intended primarily as a tool for QuickBASIC. It was
compiled under version 4.5. It requires a VGA card and appropriate
monitor. It is useful only for QB's SCREEN 12 mode (640x480x16).
Two versions are provided: PALETTE.EXE is a standalone executable,
while PALETTEB.EXE requires BRUN45.EXE.
PALETTE is designed to simplify the task of defining new colors and
palettes. The commands are summarized on a status line, at the
bottom of the screen, which also keeps an updated display of the
intensities of the three primaries: blue, green and red. Any number
of colors can be saved in an ASCII file ("COLORS.TXT") in a commented
form. This file is created in the directory where PALETTE(B) resides.
The information saved consists of the intensities of the three
primaries and the color value used in QB's command:
PALETTE <attribute>, <color>
COLORS.TXT can be merged with the current source and easily edited
to suit. When a color is saved, the user is prompted for a
description of the color. Although the entry can be up to 255
characters of normal text, only the first 60 (i.e, to the end of the
status line) are saved.
The rest should be self-explanatory, except for the duplication of
the mixing area. I borrowed this idea from a nice program by Ray
Ligocki ("VGACOLOR"). It facilitates the assessment of the mix by
displaying it against both a black and a white background.
The attribute used for testing the mix is 13.
Finally, PALETTE.EXE was compressed using PKLITE 1.12.
Version 1.01: Added two commands: PgUp & PgDn respectively increase
and decrease the intensities of the three primaries
simultaneously.
There was no room to add them to the status line.
*
Questions and comments can be sent to the program's author:
Luigi Bianchi ■ 414 Atkinson College ■ York University
4700 Keele Street ■ North York ■ Ontario M3J 1P3 ■ Canada
E-M: lbianchi@yusol.bitnet ■ compuserve 72060,3723