Re: [NTLK] ICON changes?%26In-Reply-To=%26lt;E16Kf2l-0002bV-00@pintail.mail.pas.earthlink.n et>

From: Denis Krasnov (dkrasnov_at_nyc.rr.com)
Date: Mon Dec 31 2001 - 21:08:50 EST


>=20
> perhaps i should ask this way... anyone who has written "programs" for
> the Newton- how did you make your icon?
>=20
Newton Toolkit User's Guide describes how to do that:

Resource Files

You can use NTK to incorporate Macintosh-style resources into Newton
software.
NTK itself uses 'PICT' resources. You supply your application=B9s icon as a
'PICT' resource, and you can place 'PICT' resources in picture slots throug=
h
the picture slot editor described in =B3Editing Slots=B2 beginning on page 5-19=
.
You can create resource files on the Macintosh with the ResEdit application=
,
which is provided with NTK. You can draw your pictures in any graphics
program and then paste them as 'PICT' resources into a resource file in
ResEdit. Once you add the resource file to your project, the resources are
available in NTK.
NTK also includes a set of compile-time functions that retrieve and
manipulate 'PICT' and other resources. Appendix C, =B3Resources,=B2 describes
resources and the functions that handle them. You add the resource files at
the beginning of the project, and you place the code that handles them in a
text file.

-- 
This is the Newtontalk mailinglist - http://www.newtontalk.net
To unsubscribe or manage: visit the above link or
	mailto:newtontalk-request_at_newtontalk.net?Subject=unsubscribe



This archive was generated by hypermail 2.1.2 : Wed Jan 02 2002 - 12:02:17 EST