-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathftorrent.rc
executable file
·287 lines (249 loc) · 8.98 KB
/
ftorrent.rc
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
0_STAGE_BLUE ICON "0 stage blue.ico"
1_DOCUMENT ICON "1 document.ico"
BUTTON_PAUSE_DIM ICON "button pause dim.ico"
BUTTON_PAUSE_HOT ICON "button pause hot.ico"
BUTTON_PAUSE ICON "button pause.ico"
BUTTON_REMOVE_DIM ICON "button remove dim.ico"
BUTTON_REMOVE_HOT ICON "button remove hot.ico"
BUTTON_REMOVE ICON "button remove.ico"
BUTTON_START_DIM ICON "button start dim.ico"
BUTTON_START_HOT ICON "button start hot.ico"
BUTTON_START ICON "button start.ico"
BUTTON_TOOLS_HOT ICON "button tools hot.ico"
BUTTON_TOOLS ICON "button tools.ico"
CLEAR_ICON ICON "clear.ico"
COLUMN_ASCENDING ICON "column ascending.ico"
COLUMN_DESCENDING ICON "column descending.ico"
STAGE_GREEN ICON "stage green.ico"
STAGE_RED ICON "stage red.ico"
STAGE_YELLOW ICON "stage yellow.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
CONTEXT_MENU MENU
BEGIN
POPUP "Taskbar"
BEGIN
MENUITEM "&Restore", IdentifyTaskbarRestore
MENUITEM SEPARATOR
MENUITEM "&Exit", IdentifyTaskbarExit
END
POPUP "Tools"
BEGIN
MENUITEM "(test)", IdentifyToolsTest
MENUITEM "Open &torrent...", IdentifyToolsOpenTorrent
MENUITEM "Add &magnet...", IdentifyToolsAddMagnet
MENUITEM "&Create torrent...", IdentifyToolsCreateTorrent
MENUITEM SEPARATOR
MENUITEM "&Options...", IdentifyToolsOptions
MENUITEM "&About ftorrent", IdentifyToolsAbout
MENUITEM "&Help", IdentifyToolsHelp
MENUITEM SEPARATOR
MENUITEM "&Exit", IdentifyToolsExit
END
POPUP "Torrents"
BEGIN
MENUITEM "Add &magnet...", IdentifyTorrentsAddMagnet
MENUITEM "&Create torrent...", IdentifyTorrentsCreateTorrent
END
POPUP "Torrent"
BEGIN
MENUITEM "&Open", IdentifyTorrentOpen
MENUITEM "Show in &Folder", IdentifyTorrentShowInFolder
MENUITEM SEPARATOR
MENUITEM "Copy &Magnet Link", IdentifyTorrentCopyMagnetLink
MENUITEM "Save Torrent &As...", IdentifyTorrentSaveTorrentAs
MENUITEM SEPARATOR
MENUITEM "&Start", IdentifyTorrentStart
MENUITEM "&Pause", IdentifyTorrentPause
MENUITEM SEPARATOR
MENUITEM "&Remove", IdentifyTorrentRemove
MENUITEM "&Delete", IdentifyTorrentDelete
END
POPUP "Trackers"
BEGIN
MENUITEM "&Add Tracker...", IdentifyTrackersAddTracker
END
POPUP "Tracker"
BEGIN
MENUITEM "&Remove", IdentifyTrackerRemove
END
POPUP "Peers"
BEGIN
MENUITEM "&Add Peer...", IdentifyPeersAddPeer
END
POPUP "Peer"
BEGIN
MENUITEM "&Block", IdentifyPeerBlock
END
POPUP "Files"
BEGIN
MENUITEM "&Tree", IdentifyFilesTree
MENUITEM "&List", IdentifyFilesList
END
POPUP "File"
BEGIN
MENUITEM "&Open", IdentifyFileOpen
MENUITEM "Show in &Folder", IdentifyFileShowInFolder
MENUITEM SEPARATOR
MENUITEM "&High Priority", IdentifyFileHighPriority
MENUITEM "&Normal Priority", IdentifyFileNormalPriority
MENUITEM "&Low Priority", IdentifyFileLowPriority
MENUITEM "&Don't Download", IdentifyFileDontDownload
END
END
/////////////////////////////////////////////////////////////////////////////
//
// RT_MANIFEST
//
1 RT_MANIFEST "ftorrent.exe.manifest"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
OPTIONS_PAGE_1 DIALOGEX 0, 0, 360, 180
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Download"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IdentifyFolder,7,20,291,14,ES_AUTOHSCROLL
PUSHBUTTON "&Browse...",IdentifyBrowse,303,20,50,14
PUSHBUTTON "&Choose ftorrent to open torrent files and magnet links",IdentifyAssociate,7,62,195,14
LTEXT "Download files to this folder:",IDC_STATIC,7,7,92,8
LTEXT "Label",IdentifyLabel,7,49,346,8,NOT WS_VISIBLE
END
OPTIONS_PAGE_2 DIALOGEX 0, 0, 360, 180
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Create"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
END
OPTIONS_PAGE_3 DIALOGEX 0, 0, 360, 180
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Advanced"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
END
DIALOG_ABOUT DIALOGEX 0, 0, 310, 129
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About ftorrent"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "OK",IDCANCEL,59,100,50,14
END
DIALOG_ADD DIALOGEX 0, 0, 400, 65
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add Magnet Link"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IdentifyEdit,7,20,386,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,289,44,50,14
PUSHBUTTON "Cancel",IDCANCEL,343,44,50,14
LTEXT "Type or paste a 'magnet:' link below to download the torrent it identifies:",IDC_STATIC,7,7,386,8
END
DIALOG_CREATE DIALOGEX 0, 0, 400, 183
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Create Torrent"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,289,162,50,14
PUSHBUTTON "Cancel",IDCANCEL,343,162,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
"OPTIONS_PAGE_1", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 353
TOPMARGIN, 7
BOTTOMMARGIN, 173
END
"OPTIONS_PAGE_2", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 353
TOPMARGIN, 7
BOTTOMMARGIN, 173
END
"OPTIONS_PAGE_3", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 353
TOPMARGIN, 7
BOTTOMMARGIN, 173
END
"DIALOG_ADD", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 393
TOPMARGIN, 7
BOTTOMMARGIN, 58
END
"DIALOG_CREATE", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 393
TOPMARGIN, 7
BOTTOMMARGIN, 176
END
END
#endif // APSTUDIO_INVOKED
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED