home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
544b.lha
/
buttons
/
buttons.txt
< prev
next >
Wrap
Text File
|
1991-09-06
|
3KB
|
74 lines
BUTTONS - by John Pendergrass
(I forget who asked for these, sorry! But here are some buttons
that I have been using in my projects for a while now. Actually
the request spurred me to complete the set of arrow buttons, which
was only partial before. Hope someone gets some use from these.)
Two pictures:
ARROWS.PIC
OTHER.PIC
These are designed to be cut out and used in Interactive programs such
as CanDo, AmigaVision, Director, etc... anyplace you need a button for
the user.
All buttons come in both UNSELECTED and SELECTED versions. They are
designed to appear as embossed button, with an 'up' appearance when
unselected, and a 'down' appearance when selected. The design was
chosen to work well with the standard 'embossed' buttons of CanDo.
The buttons are on an eight color hires-interlace screen. The button
outlines only use the colors 2-3 (color -0- is background;
-1- is the black border). Color 2 is the darker shade, and color 3
is the lighter shade (for the embossed look). I have filled most of
the buttons with shades from color numbers 4-7; any color may be
substituted. Note that you must fill the buttons with something other
than color -0- in order for CanDo to detect a 'hit' on the button, since
areas that are color -0- will not trigger a 'hit'.
The default colors of the buttons in the picture were chosen to minimize
interlace flicker. Of course, whatever color you use with the buttons
will affect the flicker present.
The method I'd suggest for cutting out the buttons is this: (I am
assuming that you are using DPaint to make your button brushes)
1) Adjust the palette of the pic to whatever you are using in your
project. An easy way to do that is to load one of your application's
pictures in the spare screen. That automatically loads that palette.
2) Color/Fill the buttons with whatever colors you want for your app.
Rember that the 'unselected' button of each pair is highlighted from
the top-left, so you should make sure that is a lighter color; the
bottom-right color of each button should be a darker shade of the
top-left. The reverse is true for the 'selected' button. Fill the
button with whatever color you choose from your palette.
3) If you DO NOT want the one-pixel black border surrounding each button
on the pic to be part of your buttons' brush, then make a stencil,
locking color #1 (black).
If you DO want the black border surrounding each button on the pic to be
part of the buttons' brush, then DO NOT make a stencil. Whether you choose
the black border or not is entirely a matter of looks.
4) Go to magnify mode, and adjust the magnification to see the entire
button you want to cut.
5) Then cut out a brush EXACTLY over the black border of the 'unselected'
button you want. If you had stencil-locked color #1, then the black border
will not be part of your brush. If you did not stencil-lock color #1, then
the black border will be part of your brush.
6) Save this brush with a name like: MyButton.UP (or such)
7) Repeat process 3 & 4 for the 'selected' version of the brush, except
name it: MyButton.DOWN (or such)
You'd then use these buttons in your application.
Good luck. (constructive) criticism gladly accepted!
John Pendergrass CIS 76257,676
March 1991