DOpus (50/158)

From:Richard Lane
Date:8 Apr 2001 at 01:57:24
Subject:[D5] Re: Workbench icons

Hello Enrique

On 07-Apr-01, Enrique R. Mecklenburg Serkovic wrote:

> Thanks for the help. Now my RAM disk icon is where I want it to be; copied
> the snapshoted icon back. I´ll try this one also to se how it works.

Don't forget that with the filetype method you have the added advantage of
adding popup menu items to it.

> The problem with the def_icons is still there. The def_disk icon appears
> every time an Amiga disk is inserted and the old black & white floppy disk
> icon icon when msdos disks are. If def_disk.info is renamed all floppies
> appear with the old b&w icon. Strange thing is that de def_icons for the
> DFx: and PCx: devices are loaded to Env: and seems ok in an icon editor.
> Must them be renamed to something else or a tooltype changed?

O/S3.5 changed the names of the default icons used for a disk, though heaven
knows what the point of that was. Anyway, DOpus still uses the older
ENV:sys/def_disk.info whereas 3.5 uses ENV:sys/def_DF0.info or def_DF1, etc
for additional drives. All you need to do is duplicate def_DF0.info to
def_disk.info

For MSdos disks you'll need a filetype to replace the horrible icon builtin
the kickstart ROM as the def_PC0.info icon only works with workbench.

Name: Disk CrossDos ID: PCDISK Pri: 0

Disk MSD0

You can then select whatever icon you want to use, probably a good idea to use
"ENVARC:sys/def_PC0.info"

Regards



Richard Lane.

richard@amiga.prestel.co.uk

richard@magnumopus.co.uk
Web site - http://www.magnumopus.co.uk


--= Coming soon... http://www.FunkyWeekend.com =--



Email majordomo@lss.com.au with 'help' in the body for help.
Members posting binaries to the mailing list will be removed!