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 >
Wrap
Text File
|
1991-06-07
|
1KB
|
47 lines
GadgetSelect
By
Thomas C. DeVeau
----------------------------------------------
Note: All .o files in this archive were produced with Lattice 5.04 compiler.
Manx users may need to modify sources to work with that compiler.
--------------------------------------------------------------------------------
Autodoc
NAME
GadgetSelect - Gadget MutualExclude function.
SYNOPSIS
GadgetSelect(window,gadlist,gadget,flag,comp)
a0 a1 d0 d1 d2
struct Window *window;
struct GadList *gadlist;
short gadget;
ushort flag,comp;
FUNCTION
Allows the automatic toggling of a list of gadgets.
INPUTS
Window - pointer to controlling window.
GadList - pointer to a GadList structure.
gadget - short value of gadget is GadList to select.
flag - Gadget flag GADGIMAGE or NULL.
comp - Complement type: GADGHIMAGE, GADGHCOMP,
GADHBOX or GADHNONE.
RESULT
None.
BUGS
None known.
A handy way to use GadgetSelect from C is to use this format:
#define GSEL(gl,g) GadgetSelect(window,gl,g,GADGIMAGE,GADGHIMAGE)