Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!styx!lll-lcc!ptsfa!well!crunch From: crunch@well.UUCP (John Draper) Newsgroups: comp.sys.amiga Subject: 2 of 21 - gad.h Message-ID: <2141@well.UUCP> Date: Sat, 29-Nov-86 21:26:17 EST Article-I.D.: well.2141 Posted: Sat Nov 29 21:26:17 1986 Date-Received: Sun, 30-Nov-86 19:42:50 EST Reply-To: crunch@well.UUCP (John Draper) Organization: Whole Earth Lectronic Link, Sausalito CA Lines: 37 /* ----------------------------- gad.h ------------------------------- */ /* MOUSE BUTTON STATES */ #define GAD_DOWN 1 #define GAD_UP 0 /* Border or Image render type */ #define BORD 1 #define IMAG 2 /* move to separate header file soon */ #define BUFSIZE 256L #define MAX_NUM_GADGETS 100 /* Max number for now */ #define MAX_INTUITEXTS 100 /* Max Intuitexts for now */ #define MAX_STRINGINFOS 50 /* Max for now */ #define MAX_PROPINFOS 50 /* For now */ #define NAM_SIZ 40 /* Max name size for gadget */ /* Mask bits */ #define INTUITION 0x00000001 #define GRAPHICS 0x00000002 #define WINDOW 0x00000004 #define MENU 0x00000008 #define SCREEN 0x00000010 /* Misc constants */ #define GADGNAME_LENGTH 32 /* length of gadget name w/ null byte */ /* Flags put into UserData field used to tell if Image or border */ #define GAD_BORDER_TYPE 1L #define SEL_BORDER_TYPE 2L #define GAD_IMAGE_TYPE 4L #define SEL_IMAGE_TYPE 8L /* the following is used for PROPGADGET AUTOKNOBs RRL */ #define KNOB_IMAGE_TYPE 16L