Rev | Line | |
---|
[4987] | 1 | /* |
---|
| 2 | Copyright 1991 by the Massachusetts Institute of Technology |
---|
| 3 | |
---|
| 4 | Permission to use, copy, modify, and distribute this |
---|
| 5 | software and its documentation for any purpose and without |
---|
| 6 | fee is hereby granted, provided that the above copyright |
---|
| 7 | notice appear in all copies and that both that copyright |
---|
| 8 | notice and this permission notice appear in supporting |
---|
| 9 | documentation, and that the name of M.I.T. not be used in |
---|
| 10 | advertising or publicity pertaining to distribution of the |
---|
| 11 | software without specific, written prior permission. |
---|
| 12 | M.I.T. makes no representations about the suitability of |
---|
| 13 | this software for any purpose. It is provided "as is" |
---|
| 14 | without express or implied warranty. |
---|
| 15 | */ |
---|
| 16 | |
---|
[4358] | 17 | #define MAX_BUTTONS 8 |
---|
[5969] | 18 | #define MAX_MENU_LEN 6 |
---|
[3914] | 19 | #define BUFSIZE 512 |
---|
| 20 | #define HELL_FROZEN_OVER 0 |
---|
[3940] | 21 | #define LONGNAMELEN 100 |
---|
| 22 | #define SHORTNAMELEN 50 |
---|
[3914] | 23 | |
---|
[5062] | 24 | #define NEXT -1 |
---|
| 25 | #define PREV -2 |
---|
| 26 | #define NEXTNEWS -3 |
---|
| 27 | #define PREVNEWS -4 |
---|
| 28 | #define UPDATE -5 |
---|
| 29 | #define NREF -6 |
---|
| 30 | #define PREF -7 |
---|
| 31 | #define FIRST -8 |
---|
| 32 | #define LAST -9 |
---|
| 33 | #define CURRENT -10 |
---|
| 34 | #define HIGHESTSEEN -11 |
---|
| 35 | #define INITIALIZE -12 |
---|
[5969] | 36 | #define LREF -13 |
---|
| 37 | #define FREF -14 |
---|
[3914] | 38 | |
---|
| 39 | #define BUTTONS_UPDATE 1 |
---|
| 40 | #define BUTTONS_OFF 2 |
---|
| 41 | #define BUTTONS_ON 3 |
---|
| 42 | |
---|
| 43 | #define MAIN 1 |
---|
| 44 | #define EDITMTGS 2 |
---|
| 45 | #define LISTTRNS 3 |
---|
| 46 | |
---|
[4358] | 47 | /* |
---|
| 48 | ** In a chain of entryrecs, the head will be either a command widget or |
---|
| 49 | ** a menubutton, and any following entries will be command children |
---|
| 50 | ** of the menubutton. |
---|
| 51 | */ |
---|
| 52 | |
---|
| 53 | typedef struct entryrec { |
---|
| 54 | Widget button; |
---|
| 55 | struct entryrec *nextrec; |
---|
| 56 | } EntryRec; |
---|
Note: See
TracBrowser
for help on using the repository browser.