Download
jcs
/amend
/amend.h
(View History)
jcs browser: Use a custom LDEF for file list to cross out deleted files | Latest amendment: 253 on 2023-11-01 |
1 | /* |
2 | * Copyright (c) 2021 joshua stein <jcs@jcs.org> |
3 | * |
4 | * Permission to use, copy, modify, and distribute this software for any |
5 | * purpose with or without fee is hereby granted, provided that the above |
6 | * copyright notice and this permission notice appear in all copies. |
7 | * |
8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ |
16 | |
17 | #define PROGRAM_NAME "Amend" |
18 | |
19 | #define MBAR_ID 128 |
20 | |
21 | #define APPLE_MENU_ID 128 |
22 | #define APPLE_MENU_ABOUT_ID 1 |
23 | |
24 | #define FILE_MENU_ID 129 |
25 | #define FILE_MENU_NEW_ID 1 |
26 | #define FILE_MENU_OPEN_ID 2 |
27 | #define FILE_MENU_SETTINGS_ID 4 |
28 | #define FILE_MENU_QUIT_ID 6 |
29 | |
30 | #define EDIT_MENU_ID 130 |
31 | #define EDIT_MENU_CUT_ID 1 |
32 | #define EDIT_MENU_COPY_ID 2 |
33 | #define EDIT_MENU_PASTE_ID 3 |
34 | #define EDIT_MENU_SELECT_ALL_ID 4 |
35 | |
36 | #define REPO_MENU_ID 131 |
37 | #define REPO_MENU_ADD_FILE_ID 1 |
38 | #define REPO_MENU_DISCARD_CHANGES_ID 2 |
39 | #define REPO_MENU_APPLY_DIFF_ID 3 |
40 | |
41 | #define AMENDMENT_MENU_ID 132 |
42 | #define AMENDMENT_MENU_EDIT_ID 1 |
43 | #define AMENDMENT_MENU_EXPORT_ID 2 |
44 | |
45 | #define AMENDMENT_LDEF_ID 128 |
46 | #define AMENDMENT_LIST_FONT geneva |
47 | #define AMENDMENT_LIST_FONT_SIZE 9 |
48 | |
49 | #define FILE_LDEF_ID 129 |
50 | #define FILE_LIST_FONT geneva |
51 | #define FILE_LIST_FONT_SIZE 10 |
52 | |
53 | #define SETTINGS_DLOG_ID 130 |
54 | #define SETTINGS_SAVE_ID 1 |
55 | #define SETTINGS_CANCEL_ID 2 |
56 | #define SETTINGS_AUTHOR_ID 3 |
57 | #define SETTINGS_TABWIDTH_ID 4 |
58 | #define SETTINGS_MAX_AMENDMENTS_ID 5 |
59 | |
60 | #define STR_AUTHOR_ID 128 |
61 | #define STR_TABWIDTH_ID 129 |
62 | #define STR_MAX_AMENDMENTS_ID 130 |
63 | |
64 | extern MenuHandle file_menu, edit_menu, repo_menu, amendment_menu; |
65 | |
66 | void menu_defaults(void); |