>Date: Tue, 22 Feb 2000 13:17:36 -0500
>From: "Laurent Daudelin" <laurent_daudelin@fanniemae.com>
>
>Andyyz@aol.com wrote:
>
>> I'm already familiar with the SBM utilities and their icon editor
>> ...but I would love to create grayscale icons.
>>
>> Is there any way to hack package resources on the Newton similar to
>> ResEdit on the Mac?
>> Or do I have to rewrite all of the programs from scratch in order to
>> change the icons. :)
>
>I don't think that there is any utility that would let you do that. When
>you're making a package, in Newton Toolkit, there is a whole family of
>icons/mask, with icons for b&w and grayscale, that you must provide through
>a resource file that make it into the package file. I'm not sure that the
>way the icons are saved in the package is documented.
the icon is inside the data of the package (not in a separate Mac resource
fork);
the package format is documented, but the icon slot isn't necessarily in
the same place in each package frame. (it would be possible to make a copy
of the binary package data, overwrite the bitmap (if same size), and remove
old package, and install new one, but a bit messy). probably easier if
you've got the NewtonScript source to just recompile those packages (in NTK
or NewtDevEnv)
>> Also, is SBM utilities the only app. that allows you to rename packages?
>> Some of those truncated names in the button bar just get to me...
>As far as renaming packages, I would think that any soup editor should be
>able to do it.
if by renaming, you mean the name that appears in Extras, I'd agree that
it's in a soup entry somewhere. (btw, if you're using Newt's Cape on NOS
2.1, the pkginfo example allows you to rename a package:
http://members.bellatlantic.net/~sweyer/newton/newtscape/exs/pkginfo.htm
)
Steve
weyer@kagi.com
NewtDevEnv, Newt's Cape, Sloup, Crypto,...
http://members.bellatlantic.net/~sweyer/newton/index.htm
http://www.kagi.com/weyer
******************************************
This month's NewtonTalk brought to you by:
EVOTE.COM, the ultimate Political Junkie site on the 'Net.
The Clinton Administration, the George Bush
2000 Campaign, and almost every other major
U.S. politician has said something nasty
about us at some time. Find out why at:
http://www.evote.com
******************************************
Need Subscribe/Unsubscribe info?
Visit http://www.planetnewton.com
This archive was generated by hypermail 2b29 : Wed Mar 01 2000 - 00:00:08 EST