[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                |
 |_______________________________________________________________________|