-
Notifications
You must be signed in to change notification settings - Fork 0
/
defines.h
120 lines (89 loc) · 2.69 KB
/
defines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#define kAppleMID 1
#define kFileMID 2
#define kEditMID 3
#define kTextMID 4
#define kNetworkMID 5
#define kBookmarkMID 6
#define kWindowMID 7
#define kH_TextMID 8
#define kUndoItem 250
#define kCutItem 251
#define kCopyItem 252
#define kPasteItem 253
#define kClearItem 254
#define kCloseItem 255
#define AppleBase 0x1000
#define FileBase 0x2000
#define EditBase 0x3000
#define TextBase 0x4000
#define NetworkBase 0x5000
#define BookmarkBase 0x6000
#define WindowBase 0x7000
#define H_TextBase 0x8000
#define kAbout AppleBase+0
#define kPreferences AppleBase+1
#define kDivider AppleBase+2
#define kNewItem FileBase+0
#define kOpenItem FileBase+1
#define kSearchItem FileBase+2
#define kSaveItem FileBase+3
#define kPageSetupItem FileBase+4
#define kPrintItem FileBase+5
#define kQuitItem FileBase+6
#define kSelectAllItem EditBase+0
#define kWrapTextItem TextBase+0
#define kDeDotItem TextBase+1
#define kTab4Item TextBase+2
#define kTab8Item TextBase+3
#define kEncoding1Item TextBase+4
#define kEncoding2Item TextBase+5
#define kBinsciiItem TextBase+6
#define kH_TabItem H_TextBase+0
#define kH_Tab4Item H_TextBase+1
#define kH_Tab8Item H_TextBase+2
#define kH_EncodingItem H_TextBase+3
#define kH_Encoding1Item H_TextBase+4
#define kH_Encoding2Item H_TextBase+5
#define kConnectItem NetworkBase+0
#define kDisconnectItem NetworkBase+1
#define kNetworkStatusItem NetworkBase+2
#define kAddBookmarkItem BookmarkBase+0
#define kStartStopID 1
#define kMenuBarID 1
#define kIndexWindow 0x0100
#define kTextWindow 0x0200
#define kURLWindow 0x0300
#define kPrefsWindow 0x0400
#define kNetworkWindow 0x0500
#define kAboutWindow 0x0600
#define kSearchWindow 0x0700
#define kSearchText kSearchWindow+1
#define kSearchLineEdit kSearchWindow+2
#define kGopherURL kURLWindow+1
#define kGopherIndex kIndexWindow+1
#define kGopherText kTextWindow+1
#define kAboutButton kAboutWindow+1
#define kAboutIcon kAboutWindow+2
#define kAboutText kAboutWindow+3
#define kNetworkStatusLeft kNetworkWindow+1
#define kNetworkStatusRight kNetworkWindow+2
#define kNetworkIPLeft kNetworkWindow+3
#define kNetworkIPRight kNetworkWindow+4
#define kNetworkConnect kNetworkWindow+5
#define kNetworkDisconnect kNetworkWindow+6
#define kPrefsSave kPrefsWindow+1
#define kPrefsCancel kPrefsWindow+2
#define kPrefsTheme kPrefsWindow+3
#define kPrefsThemeLabel kPrefsWindow+4
#define kPrefsSearch kPrefsWindow+5
#define kPrefsSearchLabel kPrefsWindow+6
#define kMenuIIgs kPrefsWindow + 20
#define kMenuNeXT kPrefsWindow + 21
#define kMenuMacOS kPrefsWindow + 22
#define kIconText 1
#define kIconBinary 2
#define kIconDocument 3
#define kIconSource 4
#define kIconFolder 5
#define kIconFolderOpen 6
#define kIconSearch 7