grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / system / Workbook / workbook_menu.h
blob87b4b1b32acd90cd20ec330b0b3cfe04ebf38586
1 /*
2 * Copyright (C) 2011, The AROS Development Team. All rights reserved.
4 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
5 */
7 #ifndef WORKBOOK_MENU_H
8 #define WORKBOOK_MENU_H
10 #define Broken NM_ITEMDISABLED |
12 /* Handy macros */
13 #define WBMENU_ID_(id, name, cmd, flags, mutex) ((IPTR)id)
14 #define WBMENU_ITEM_(id, name, cmd, flags, mutex) { NM_ITEM, name, cmd, flags, 0, (APTR)id }
15 #define WBMENU_SUBITEM_(id, name, cmd, flags, mutex) { NM_SUB, name, cmd, flags, 0, (APTR)id }
17 #define WBMENU_ID(x) WBMENU_ID_(x)
18 #define WBMENU_TITLE(name) { NM_TITLE, name }
19 #define WBMENU_ITEM(x) WBMENU_ITEM_(x)
20 #define WBMENU_BAR { NM_ITEM, NM_BARLABEL }
21 #define WBMENU_SUBTITLE(name) { NM_ITEM, name }
22 #define WBMENU_SUBITEM(x) WBMENU_SUBITEM_(x)
23 #define WBMENU_SUBBAR { NM_SUB, NM_BARLABEL }
25 #define WBMENU_ITEM_ID(item) ((IPTR)GTMENUITEM_USERDATA(item))
27 /* Workbench Menu */
28 #define WBMENU_WB "Workbook"
29 #define WBMENU_WB_BACKDROP 0, "Backdrop", "B", Broken 0, 0
30 #define WBMENU_WB_EXECUTE 1, "Execute", "E", Broken 0, 0
31 #define WBMENU_WB_SHELL 2, "Shell", "W", 0, 0
32 #define WBMENU_WB_ABOUT 3, "About...", 0, Broken 0, 0
33 #define WBMENU_WB_QUIT 4, "Quit", "Q", 0, 0
34 #define WBMENU_WB_SHUTDOWN 5, "Shutdown", 0, 0, 0
36 /* Window Menu */
37 #define WBMENU_WN "Window"
38 #define WBMENU_WN_NEW_DRAWER 20, "New drawer", "N", Broken 0, 0
39 #define WBMENU_WN_OPEN_PARENT 21, "Open parent", "K", 0, 0
40 #define WBMENU_WN_UPDATE 22, "Update", 0, Broken 0, 0
41 #define WBMENU_WN_SELECT_ALL 23, "Select contents", "A", Broken 0, 0
42 #define WBMENU_WN_SELECT_NONE 24, "Unselect all", 0, Broken 0, 0
43 #define WBMENU_WN__SNAP "Snapshot"
44 #define WBMENU_WN__SNAP_WINDOW 40, "Window", 0, Broken 0, 0
45 #define WBMENU_WN__SNAP_ALL 41, "All", 0, Broken 0, 0
46 #define WBMENU_WN__SHOW "Show"
47 #define WBMENU_WN__SHOW_ICONS 45, "Only icons", "-", CHECKIT|CHECKED, ~((1 << 0))
48 #define WBMENU_WN__SHOW_ALL 46, "All files", "+", CHECKIT, ~((1 << 1))
49 #define WBMENU_WN__VIEW "View by"
50 #define WBMENU_WN__VIEW_ICON 50, "Icon", "1", Broken CHECKIT|CHECKED, ~((1 << 0))
51 #define WBMENU_WN__VIEW_DETAILS 51, "Details", 0, Broken CHECKIT, ~((1 << 1))
53 /* Icon Menu */
54 #define WBMENU_IC "Icons"
55 #define WBMENU_IC_OPEN 60, "Open", "O", 0, 0
56 #define WBMENU_IC_COPY 61, "Copy", "C", Broken 0, 0
57 #define WBMENU_IC_RENAME 62, "Rename...", "R", Broken 0, 0
58 #define WBMENU_IC_INFO 63, "Information...", "I", 0, 0
59 #define WBMENU_IC_SNAPSHOT 64, "Snapshot", "S", Broken 0, 0
60 #define WBMENU_IC_UNSNAPSHOT 65, "Unsnapshot", "U", Broken 0, 0
61 #define WBMENU_IC_LEAVE_OUT 66, "Leave out", "L", Broken 0, 0
62 #define WBMENU_IC_PUT_AWAY 67, "Put away", "P", Broken 0, 0
63 #define WBMENU_IC_DELETE 70, "Delete...", 0, Broken 0, 0
64 #define WBMENU_IC_FORMAT 71, "Format...", 0, Broken 0, 0
65 #define WBMENU_IC_EMPTY_TRASH 72, "Empty trash", 0, Broken 0, 0
67 #endif /* WORKBOOK_MENU_H */