Icon Editor for Turbo C By Mark P. Clift This program is released into the public domain I use this program to make icons for C programs. The editor is short and simple so it will be easy for you to learn how to use. It supports a Microsoft mouse, and cursor keys for drawing. You may find that the cursor keys provide more accurate movement in drawing. I have provided the source file for you to modify any way you like. It should be noted that this program is an extension of the one found in Born to Code in C. It is for Ega/Vga adapters only but can be modified for others. structure use to hold icon : struct icon_type { unsigned char image[60][52]; /* icon itself */ void (*func)(); /* pointer to function not used by this program */ int XDim, YDim; /* dimensions of icon which may be less than 60 by 52 */ int x, y; /* screen location not used by this program */ } icon; the following is used to save and read the icon fwrite(&icon, sizeof icon, 1, fp); fread(&icon, sizeof icon, 1, fp); This the first release and more will follow. Drop me a line if you have any comments or suggestions as I am new to this and would appreciate the input. Mark P. Clift 213 Virgil Ave. Buffalo N.Y. 14216 or E-mail Night Owls 716-881-5688 or 716-882-5182