Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: 23JUL on May 07, 2004, 04:34:31 PM
-
Well, I am interested in the .info file format.
I recently googled for it, but I couldn't find it.
Can someone point me to a description of the file structure of an .info file?
-
http://netpbm.sourceforge.net/doc/infotopam.html
At the bottom. There's source code obviously in the "infotopam" tool from NetPBM :)
-
I believe it's this from workbench/workbench.h include file:
struct DrawerData {
struct NewWindow dd_NewWindow; /* args to open window */
LONG dd_CurrentX; /* current x coordinate of origin */
LONG dd_CurrentY; /* current y coordinate of origin */
};
struct DiskObject {
UWORD do_Magic; /* a magic number at the start of the file */
UWORD do_Version; /* a version number, so we can change it */
struct Gadget do_Gadget; /* a copy of in core gadget */
UBYTE do_Type;
char * do_DefaultTool;
char ** do_ToolTypes;
LONG do_CurrentX;
LONG do_CurrentY;
struct DrawerData * do_DrawerData;
char * do_ToolWindow; /* only applies to tools */
LONG do_StackSize; /* only applies to tools */
};
Get the SDK for all the details you might need.
-
Get the SDK for all the details you might need
Or look at AROS icon.library sources. There you'll also find out about AOS 3.5 style icons (have a palette like NewIcons) and MOS/AROS/PowerIcons style PNG icons.
There's also an ANSI C tool (compilable/runnable anywhere) called ilbmtoicon in there which can convert 1 or 2 IFF ILBM images to an Amiga Icon, with the possibility to specify special icon attributes like tooltypes, default tool, stack size, in a text file which is examined during conversion.