Article View: comp.sys.amiga.tech
Article #2589Re: Help! GetDiskObj ()
From: Stone
Date: Thu, 07 Dec 1989 20:00
Date: Thu, 07 Dec 1989 20:00
28 lines
2112 bytes
2112 bytes
>... 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?
Here's where my knowledge of workbench (or lack therof) becomes evident.
I do not know of any way to construct an icon info file. However, all
icon.info files are stored in exactly the same format. The only difference
between a drawer icon and a disk icon is the ID field which specifies type
of object that the icon represents. So to create a new Disk.info file just
copy one from another source and change the ID field if necessary.
I don't know exactly what you are trying to do, and I have never worked
with icons within a program (using GetDiskObject etc..). I only know what
I have read from the manuals that came with my Amiga, you might check there.
I really don't know what the purpose of the '.info' by themselves is.
I think they contain information as to where sub-windows are to be located
with respect to the workbench screen so if you open a drawer within a drawer,
workbench will know how big and where to put the window with that drawer's
icons.
Hope this helps,
Mike Stone
--
===============================================================================
//X\\ | icsu8212@caesar.cs.montana.edu
/// \\\ AMIGA HACKER | Murphy's First Law: (un-amended)
/// Mike Stone | Nothing can possibly go wrong.
Technical Details
Message-ID:
<2806@caesar.cs.montana.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!caesar.cs.montana.edu!icsu8212Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!caesar.cs.montana.edu!icsu8212 From: icsu8212@caesar.cs.montana.edu (Stone) Newsgroups: comp.sys.amiga.tech Subject: Re: Help! GetDiskObj () Message-ID: <2806@caesar.cs.montana.edu> Date: 7 Dec 89 20:00:52 GMT Sender: news@caesar.cs.montana.edu Reply-To: icsu8212@caesar.cs.montana.edu (Stone) Distribution: usa Organization: Montana State University, Dept. of Computer Science, Bozeman MT 59717 Lines: 28