Revision 5062,
1.5 KB
checked in by sao, 34 years ago
(diff) |
Change #define's for NEXT, PREV, etc from positive to negative
integers so GetTransactionFile can distinguish between these
symbols and a real transaction number (which will be a
positive integer)
|
Line | |
---|
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 | |
---|
17 | #define MAX_BUTTONS 8 |
---|
18 | #define MAX_MENU_LEN 4 |
---|
19 | #define BUFSIZE 512 |
---|
20 | #define HELL_FROZEN_OVER 0 |
---|
21 | #define LONGNAMELEN 100 |
---|
22 | #define SHORTNAMELEN 50 |
---|
23 | |
---|
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 |
---|
36 | |
---|
37 | #define BUTTONS_UPDATE 1 |
---|
38 | #define BUTTONS_OFF 2 |
---|
39 | #define BUTTONS_ON 3 |
---|
40 | |
---|
41 | #define MAIN 1 |
---|
42 | #define EDITMTGS 2 |
---|
43 | #define LISTTRNS 3 |
---|
44 | |
---|
45 | /* |
---|
46 | ** In a chain of entryrecs, the head will be either a command widget or |
---|
47 | ** a menubutton, and any following entries will be command children |
---|
48 | ** of the menubutton. |
---|
49 | */ |
---|
50 | |
---|
51 | typedef struct entryrec { |
---|
52 | Widget button; |
---|
53 | struct entryrec *nextrec; |
---|
54 | } EntryRec; |
---|
55 | |
---|
56 | static char rcsidh[] = ""; |
---|
Note: See
TracBrowser
for help on using the repository browser.