home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 514a.lha / PPB_2.05 / GadSel / gadsel.doc < prev    next >
Text File  |  1991-06-07  |  1KB  |  47 lines

  1.                 GadgetSelect
  2.                          By 
  3.                   Thomas C. DeVeau
  4.         ----------------------------------------------
  5.  
  6. Note: All .o files in this archive were produced with Lattice 5.04 compiler.
  7.       Manx users may need to modify sources to work with that compiler.
  8.  
  9.  
  10. --------------------------------------------------------------------------------
  11.                   Autodoc
  12.  
  13. NAME
  14.     GadgetSelect - Gadget MutualExclude function.
  15.  
  16. SYNOPSIS
  17.     GadgetSelect(window,gadlist,gadget,flag,comp)
  18.                a0     a1      d0    d1   d2
  19.  
  20.     struct     Window *window;
  21.     struct     GadList *gadlist;
  22.     short    gadget;
  23.     ushort    flag,comp;
  24.  
  25. FUNCTION
  26.     Allows the automatic toggling of a list of gadgets.
  27.  
  28. INPUTS
  29.     Window     - pointer to controlling window.
  30.     GadList    - pointer to a GadList structure.
  31.     gadget    - short value of gadget is GadList to select.
  32.     flag    - Gadget flag GADGIMAGE or NULL.
  33.     comp    - Complement type: GADGHIMAGE, GADGHCOMP, 
  34.                            GADHBOX or GADHNONE.
  35.  
  36. RESULT
  37.     None.
  38.  
  39. BUGS
  40.     None known.
  41.  
  42.  
  43. A handy way to use GadgetSelect from C is to use this format:
  44.  
  45.     #define GSEL(gl,g) GadgetSelect(window,gl,g,GADGIMAGE,GADGHIMAGE)
  46.  
  47.