🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2610

Re: Help! GetDiskObject()

#2610
From: Michael Sinz - CATS
Date: Fri, 08 Dec 1989 13:25
30 lines
2081 bytes
In article <82035@linus.UUCP> duncant@mbunix.mitre.org (Thomson) writes:
>>...  If you want the disk icon, you should specify
>>Disk.info.  The .info file by itself only specifies where the workbench window
>>for that disk will come up (I think).  But I do know that the disk icon is
>>saved in Disk.info.  If the file does not exist, a default system icon is
>>used.
>
>Great, thanks.  Next question: if Disk.info does not exist, how can I get
>a DiskObject structure which contains all the information (including in
>particular the image of the icon) for the above-mentioned default system
>icon.  Also, I notice that directories (drawers) often get .info files
>lying around in them.  What are these?

the .info file is used as a quick index to the icons in that draw.  Workbench
checks to see if the date stamp on the .info is correct as compaired to the
directory and if so, reads the .info and then displays only the files that
are listed in it.  This helps speed things up as WorkBench does not need to
do a directory search to find all of the icons.

>
>Thanks, for the help
>Duncan Thomson

/----------------------------------------------------------------------\
|      /// Michael Sinz -- CATS/Amiga Software Engineer                |
|     ///  PHONE 215-431-9422  UUCP ( uunet | rutgers ) !cbmvax!mks    |
|    ///                                                               |
|\\\///          When people are free to do as they please,            |
| \XX/                they usually imitate each other.                 |
\----------------------------------------------------------------------/
Technical Details
Message-ID: <8885@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cbmvax!mks
References: <2651@caesar.cs.montana.edu> <82035@linus.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cbmvax!mks
From: mks@cbmvax.UUCP (Michael Sinz - CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help! GetDiskObject()
Message-ID: <8885@cbmvax.UUCP>
Date: 8 Dec 89 13:25:11 GMT
References: <2651@caesar.cs.montana.edu> <82035@linus.UUCP>
Reply-To: mks@cbmvax.UUCP (Michael Sinz - CATS)
Distribution: usa
Organization: Commodore Technology, West Chester, PA
Lines: 30