The new icon.library/IconControlA()
call provides a way for
applications to change the default parameters used by the
icon.library
when reading, remapping, drawing and saving icons.
This new functionality obsoletes most of the Workbench patches that have been around before OS 3.5. There are now documented (and clean) ways to disable icon borders and to install a hook to choose default icons for icon-less files.
For icon editors and other applications that need to create fresh new
icons, the NewDiskObject()
function provides a way to create and
initialize a DiskObject
structure. The old official way to do this
was to to get a default icon with GetDiskObjectNew()
or even
create the structure manually. The latter method is now considered
OBSOLETE and VERY SYSTEM UNFRIENDLY
. The V44 icon.library
contains compatibility code to distinguish between real DiskObject
s
and fake DiskObject
s created by unfair applications. These hacks will
stop working once the compatibility code is dropped for future versions
of the icon.library
.
Go to the first, previous, next, last section, table of contents.