[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

The following are brief descriptions of the functions in workbench.library
and icon.library.  See the Amiga ROM Kernel Reference Manual: Includes and
Autodocs for details on each function call.


                    Table 14-3: Icon Library Functions
  _______________________________________________________________________
 |                                                                       |
 |         Function                  Description                         |
 |=======================================================================|
 |      GetDiskObject()  Read the .info file of an icon into a           |
 |                       DiskObject structure                            |
 |   GetDiskObjectNew()  Same as GetDiskObject() but returns a default   |
 |                       icon if none exists                             |
 |      PutDiskObject()  Write a DiskObject structure to disk as a       |
 |                       .info file                                      |
 |     FreeDiskObject()  Free the DiskObject structure created by        |
 |                       GetDiskObject()                                 |
 |   DeleteDiskObject()  Deletes a given .info file from disk            |
 |-----------------------------------------------------------------------|
 |       FindToolType()  Return the value of an entry in the icon's Tool |
 |                       Type array                                      |
 |     MatchToolValue()  Check a Tool Type entry against a given value   |
 |-----------------------------------------------------------------------|
 |   GetDefDiskObject()  Read the default icon for a given icon type     |
 |   PutDefDiskObject()  Replace the default icon for a given icon type  |
 |                       (V36)                                           |
 |-----------------------------------------------------------------------|
 |        AddFreeList()  Add memory you have allocated to a FreeList     |
 |       FreeFreeList()  Free all the memory for entries in the FreeList |
 |       BumpRevision()  Create a new name for a second copy of a        |
 |                       Workbench object                                |
 |_______________________________________________________________________|


                 Table 14-4: Workbench Library Functions
  _______________________________________________________________________
 |                                                                       |
 |         Function                  Description                         |
 |=======================================================================|
 |         AddAppIcon()  Add an AppIcon to Workbench                     |
 |     AddAppMenuItem()  Add an AppMenuItem to the Workbench Tools menu  |
 |       AddAppWindow()  Add an AppWindow to Workbench                   |
 |-----------------------------------------------------------------------|
 |      RemoveAppIcon()  Remove an AppIcon to Workbench                  |
 |  RemoveAppMenuItem()  Remove an AppMenuItem to the Workbench Tools    |
 |                       menu                                            |
 |    RemoveAppWindow()  Remove an AppWindow to Workbench                |
 |_______________________________________________________________________|