[comp.sys.amiga] Editing a drawer icon?

rios@cbnewsd.ATT.COM (Michael "Huh?" Rios) (08/18/89)

(no line eaters HERE, bucko!)

How is a two-stage icon made and handled by the Amiga system?

Explanation: When I click on the Empty drawer, the drawer appears to slide
open.  When I click on some tool icon, the icon doesn't merely change colors,
but performs some action (the Cygnus swan, opening drawers, the bending Larn
icon, etc.).  I've tried to redefine some of these to do other actions, but
only succeed in changing the icon to a color-flipping version.

Setup: Amiga 500, Air Drive as df1:
Tool: the Icon Editor provided with the system.

I've RTFM, but I'm still at a loss.  Can anyone help?

-- 
Mike Rios		AT&T Secret Police		att!ihlpb!mrios

Happily growing older, never growing up.

UH2@PSUVM.BITNET (Lee Sailer) (08/19/89)

In article <1235@cbnewsd.ATT.COM>, rios@cbnewsd.ATT.COM (Michael "Huh?" Rios) says:
>     f
>How is a two-stage icon made and handled by the Amiga system?

First create to icons the same size.  One before and one after.  Then
merge them with a tool on the 1.3 tools disk, also in the PD, called
(I think) Icon Merge.

Right, wizards?  Huh?

                     lee

jms@tardis.Tymnet.COM (Joe Smith) (08/20/89)

In article <1235@cbnewsd.ATT.COM> rios@cbnewsd.ATT.COM (Michael "Huh?" Rios) writes:
>How is a two-stage icon made and handled by the Amiga system?
>Tool: the Icon Editor provided with the system.
>I've RTFM, but I'm still at a loss.  Can anyone help?

IconEd can't handle double-image icons at all.  The proper FM for this
information is Rom Kernel Manual: Libraries and Devices, in the Workbench
chapter.  It tells the programmer what structures Workbench is using.

On Fred Fish Disk #182, there is a program called IconMerger.  It takes two
Dpaint brush files and combines them into a double-image icon.  On FF #101,
the IconAssembler program takes two simple icons and creates a double-image
icon, or splits a double into two singles.  (You can then use IconEd to
modify these, then re-assemble it.)  There is also SetAlternate on FF#12,
IconImage on #120, SIT (Set Icon Type) on 137.
-- 
Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@tymix.tymnet.com
McDonnell Douglas FSCO  | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-D21    | PDP-10 support: My car's license plate is "POPJ P,"
San Jose, CA 95161-9019 | narrator.device: "I didn't say that, my Amiga did!"

ins_adjb@jhunix.HCF.JHU.EDU (Daniel Jay Barrett) (08/20/89)

In article <521@tardis.Tymnet.COM> jms@tardis.Tymnet.COM (Joe Smith) writes:
>IconEd can't handle double-image icons at all.
>On Fred Fish Disk #182, there is a program called IconMerger.

	IconMerge can also be found in the 1.3 Enhancer.  (Extras disk?
Workbench disk?  I forget which has it.)

                                                        Dan

 //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
| Dan Barrett, Systems Administrator      barrett@cs.jhu.edu (128.220.13.4) |
| Dept. of Computer Science, Johns Hopkins University, Baltimore, MD  21218 |
| E-mail addresses:  ARPANET: barrett@cs.jhu.edu                            |
|                    BITNET:  ins_adjb@jhuvms.bitnet                        |
|                    UUCP:    ins_adjb@jhunix.UUCP                     noog |
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////