source: trunk/res/Halite.rc @ 364

Revision 364, 60.0 KB checked in by Eoin, 13 years ago (diff)

Added 'Close to tray' and 'Confirm on close'.

Line 
1
2#include "resource.h"
3#include "afxres.h"
4
5#include "../src/advtabs/Tracker.hpp"
6#include "../src/advtabs/TrackerListView.hpp"
7#include "../src/HaliteWindow.hpp"
8#include "../src/HaliteDialog.hpp"
9#include "../src/ConfigOptions.hpp"
10#include "../src/ProgressDialog.hpp"
11#include "../src/halTorrent.cpp"
12#include "../src/halTorrentInternal.hpp"
13#include "../src/halEvent.hpp"
14
15STRINGTABLE
16BEGIN
17    HALITE_LANGUAGE "English"
18END
19
20IDR_ABOUT_TEXT HALITE_RTF_RES_TYPE "English.rtf"
21
22IDD_ADVOVERVIEW DIALOGEX 0, 0, 313, 121
23STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
24FONT 8, "MS Shell Dlg", 400, 0, 0x1
25BEGIN   
26    GROUPBOX        "Torrent",IDC_GROUP_TORRENT,4,7,305,83
27    GROUPBOX        "Tracker",IDC_GROUP_TRACKER,4,92,305,25
28    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,10,77,291,8
29       
30    EDITTEXT        IDC_EDITTLU,267,46,34,12,ES_AUTOHSCROLL
31    EDITTEXT        IDC_EDITTLD,210,46,34,12,ES_AUTOHSCROLL
32    EDITTEXT        IDC_EDITNCD,210,22,34,12,ES_AUTOHSCROLL
33    EDITTEXT        IDC_EDITNCU,267,22,34,12,ES_AUTOHSCROLL
34    LTEXT           "Torrent connection limits:",IDC_NC,185,13,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
35    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,185,37,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
36    RTEXT           "Total",IDC_NCD,182,25,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
37    RTEXT           "Up",IDC_NCU,245,25,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
38    RTEXT           "Up",IDC_TLU,245,49,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
39    RTEXT           "Down",IDC_TLD,182,49,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
40       
41    LTEXT           "N/A",IDC_TRACKER,10,103,170,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
42       
43    RTEXT           "Update in:",IDC_UPDATESTAT,185,103,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
44    LTEXT           "N/A",IDC_UPDATE,228,103,71,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
45    EDITTEXT        IDC_EDITRATIO,267,60,34,12,ES_AUTOHSCROLL
46    LTEXT           "Ratio (this session):",IDC_RATIOESTATIC,182,63,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
47       
48    RTEXT           "Torrent:",IDC_NAME_STATUS_LABEL,9,17,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
49    LTEXT           "N/A",IDC_NAME_STATUS,53,17,127,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
50       
51    RTEXT           "Peers:",IDC_PEERS_LABEL,9,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
52    RTEXT           "Transferred:",IDC_TRANSFERED_LABEL,9,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
53    RTEXT           "Remaining:",IDC_REMAINING_LABEL,9,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
54    RTEXT           "Rates:",IDC_RATE_LABEL,9,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
55       
56    RTEXT           "Seeds:",IDC_SEEDS_LABEL,97,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
57    RTEXT           "Overhead:",IDC_OVERHEAD_LABEL,97,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
58    RTEXT           "ETA:",IDC_ETA_LABEL,97,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
59    RTEXT           "Ratio:",IDC_RATIO_LABEL,97,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
60       
61    LTEXT           "N/A",IDC_PEERS,53,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
62    LTEXT           "N/A",IDC_TRANSFERED,53,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
63    LTEXT           "N/A",IDC_REMAINING,53,52,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
64    LTEXT           "N/A",IDC_RATE,53,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
65       
66    LTEXT           "N/A",IDC_SEEDS,141,28,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
67    LTEXT           "N/A",IDC_OVERHEAD,141,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
68    LTEXT           "N/A",IDC_ETA,141,52,39,8,SS_WORDELLIPSIS| SS_CENTERIMAGE
69    LTEXT           "N/A",IDC_RATIO,141,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
70END
71
72IDD_CONFIGBIT DIALOGEX 0, 0, 325, 155
73STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
74CAPTION "BitTorrent"
75FONT 8, "MS Shell Dlg", 400, 0, 0x1
76BEGIN
77    RTEXT           "Open a (single) port between : ",IDC_BITT_OPENPORT,12,31,120,12,SS_WORDELLIPSIS | SS_CENTERIMAGE
78    EDITTEXT        IDC_BC_PORTFROM,135,29,65,12,ES_AUTOHSCROLL
79    EDITTEXT        IDC_BC_PORTTO,250,29,65,12,ES_AUTOHSCROLL
80    CONTROL         "Enable DHT",IDC_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10
81    CONTROL         "to",IDC_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12
82    LTEXT           "Select the (TCP) port (or range) on which to listen for incomming connections.",IDC_BITT_SELECT_TEXT,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE
83    GROUPBOX        "Distributed Hash Tables",IDC_BITT_GDHT,5,108,260,39
84    EDITTEXT        IDC_BC_DHTPORT,180,119,80,12,ES_AUTOHSCROLL
85    RTEXT           "Port (UDP) : ",IDC_BC_DHTPORT_S,110,121,70,8
86    CTEXT           "(DHT will not apply to private torrents)",IDC_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
87    GROUPBOX        "General Settings",IDC_BITT_GSETTINGS,5,6,315,54
88    EDITTEXT        IDC_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL
89    CONTROL         "Limit the no. of half-open connections",IDC_BC_HALFCONN_CHECK,
90                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,45,190,12
91//    RTEXT           "Need Help?",IDC_BC_HELP_LINK,229,139,51,8
92//    RTEXT           "Why?",IDC_BC_CON_WHY,239,47,31,8
93END
94
95IDD_CONFIGPROXY DIALOGEX 0, 0, 285, 155
96STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
97CAPTION "Proxies"
98FONT 8, "MS Shell Dlg", 400, 0, 0x1
99BEGIN
100    EDITTEXT        IDC_BC_PROXYIP,124,46,77,12,ES_AUTOHSCROLL
101    RTEXT           "Proxy Host/IP : ",IDC_BC_PROXYIP_S,68,48,55,12
102    CONTROL         "Use a proxy.",IDC_BC_PROXYCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,48,59,8
103    RTEXT           "Port : ",IDC_BC_PROXYPORT_S,204,48,24,12
104    EDITTEXT        IDC_BC_PROXYPORT,229,46,42,12,ES_AUTOHSCROLL | ES_NUMBER
105    EDITTEXT        IDC_BC_PROXYUSER,54,62,89,12,ES_AUTOHSCROLL
106    RTEXT           "Username : ",IDC_BC_PROXYUSER_S,8,64,44,12
107    RTEXT           "Password : ",IDC_BC_PROXYPASS_S,146,64,39,12
108    EDITTEXT        IDC_BC_PROXYPASS,188,62,83,12,ES_PASSWORD | ES_AUTOHSCROLL
109    CONTROL         "Peer",IDC_PEERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,16,19,57,15
110    CONTROL         "Web Seed",IDC_WEBPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,81,19,57,15
111    CONTROL         "Tracker",IDC_TRACKERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,146,19,57,15
112    CONTROL         "DHT",IDC_DHTPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE | WS_DISABLED,211,19,57,15
113    GROUPBOX        "Proxy Settings",IDC_STATIC,6,7,271,108
114END
115
116IDD_CONFIGSECURITY DIALOGEX 0, 0, 325, 155
117STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
118CAPTION "Security"
119FONT 8, "MS Shell Dlg", 400, 0, 0x1
120BEGIN
121    GROUPBOX        "IP Filtering",IDC_SECURITY_IPF_GB,5,6,315,30
122    CONTROL         "Enable IP filtering.",IDC_BC_FILTERCHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,18,105,12
123    PUSHBUTTON      "Import ipfilter.dat",IDC_BC_FILTERLOAD,220,17,95,14,WS_DISABLED
124    PUSHBUTTON      "Clear IP database",IDC_BC_FILTERCLEAR,120,17,95,14,WS_DISABLED
125    GROUPBOX        "Protocol Encryption",IDC_SECURITY_PE_GB,5,39,315,75
126    CONTROL         "Enable Protocol Encryption.",IDC_SC_ENABLE_PE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,50,175,10
127    GROUPBOX        "Connection Policies",IDC_SECURITY_CP_GB,194,49,120,58
128    LTEXT           "Incoming",IDC_SECURITY_INCOMING,200,61,50,9
129    RTEXT           "Outgoing",IDC_SECURITY_OUTGOING,255,61,50,9
130    CONTROL         "",IDC_SC_PE_CP_IN_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,205,73,16,10
131    CONTROL         "",IDC_SC_PE_CP_IN_ENABLED,"Button",BS_AUTORADIOBUTTON,205,83,16,10
132    CONTROL         "",IDC_SC_PE_CP_IN_DISABLED,"Button",BS_AUTORADIOBUTTON,205,93,16,10
133    CTEXT           "Forced",IDC_SECURITY_FORCED,225,73,55,8
134    CTEXT           "Enabled",IDC_SECURITY_ENABLED,225,83,55,8
135    CTEXT           "Disabled",IDC_SECURITY_DISABLED,225,93,55,8
136    CONTROL         "",IDC_SC_PE_CP_OUT_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10,WS_EX_RIGHT
137    CONTROL         "",IDC_SC_PE_CP_OUT_ENABLED,"Button",BS_AUTORADIOBUTTON,284,83,16,10,WS_EX_RIGHT
138    CONTROL         "",IDC_SC_PE_CP_OUT_DISABLED,"Button",BS_AUTORADIOBUTTON,284,93,16,10,WS_EX_RIGHT
139    GROUPBOX        "Encoding Level",IDC_SECURITY_EL_GB,12,63,175,44
140    CONTROL         "Plaintext",IDC_SC_PE_ENC_PLAIN,"Button",BS_AUTORADIOBUTTON|WS_GROUP,18,73,160,10
141    CONTROL         "RC4",IDC_SC_PE_ENC_RC4,"Button",BS_AUTORADIOBUTTON,18,84,160,10
142    CONTROL         "Both",IDC_SC_PE_ENC_BOTH,"Button",BS_AUTORADIOBUTTON,18,95,75,10
143    CONTROL         "Prefer RC4",IDC_SC_PE_ENC_RC4_PERFER,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,100,95,80,10
144//    LTEXT           "Need Help?",IDC_SC_HELP_LINK,7,138,255,8
145END
146
147IDD_CONFIGREMOTE DIALOGEX 0, 0, 283, 94
148STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
149CAPTION "Remote Control"
150FONT 8, "MS Shell Dlg", 400, 0, 0x1
151BEGIN
152    GROUPBOX        "Remote Control Options",IDC_STATIC,6,6,271,30
153    CONTROL         "Enable Remote Control",IDC_REMOTECTRL,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,12,18,96,12
154    RTEXT           "Port to listen on : ",IDC_STATIC,159,19,66,11,WS_DISABLED
155    EDITTEXT        IDC_REMOTEPORT,229,18,42,12,ES_AUTOHSCROLL | WS_DISABLED
156    CTEXT           "*** Disabled ***",IDC_STATIC,32,44,217,11
157END
158
159IDD_THEMETEST DIALOGEX 0,0,186,94
160STYLE DS_CONTROL | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_SYSMENU
161EXSTYLE WS_EX_TRANSPARENT | WS_EX_CONTROLPARENT
162FONT 8,"MS Shell Dlg",400,0,1
163BEGIN
164    AUTOCHECKBOX    "Check1",IDC_CHECK1,7,7,44,10
165    PUSHBUTTON      "Button1",IDC_BUTTON1,69,7,51,14
166    EDITTEXT        IDC_EDIT1,134,7,45,15,ES_AUTOHSCROLL
167    AUTORADIOBUTTON "Radio1",IDC_RADIO1,129,38,50,11,NOT WS_TABSTOP
168    EDITTEXT        IDC_EDIT2,14,62,45,15,WS_DISABLED | ES_AUTOHSCROLL
169    LTEXT           "Static",IDC_STATIC,85,59,68,10
170    LTEXT           "Static",IDC_STATIC,25,35,19,8
171    GROUPBOX        "Static",IDC_STATIC,10,25,98,25
172    LTEXT           "Static",IDC_STATIC,65,35,19,8
173END
174
175IDD_DEBUGDIALOG DIALOGEX 0,0,252,105
176STYLE DS_SETFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SIZEBOX | WS_SYSMENU
177EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
178CAPTION "Halite Debug Dialog"
179FONT 8,"MS Sans Serif",0,0,0
180BEGIN
181    EDITTEXT        ED_CON,3,3,246,99,WS_VSCROLL | ES_AUTOHSCROLL | ES_MULTILINE | ES_READONLY
182END
183
184IDD_PROGRESS DIALOGEX 0,0,191,46
185STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
186EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
187CAPTION "Halite importing IP ranges..."
188FONT 8,"MS Shell Dlg",400,0,1
189BEGIN
190    CONTROL         "",IDC_PROG_PROGRESS,"msctls_progress32",WS_BORDER,6,6,180,12
191    PUSHBUTTON      "Cancel",IDC_PROG_CANCEL,60,24,66,15
192END
193
194IDD_CONFIGTORRENT DIALOGEX 0, 0, 325, 165
195STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
196CAPTION "Torrents"
197FONT 8, "MS Shell Dlg", 400, 0, 0x1
198BEGIN
199    GROUPBOX        "Global Limits",IDC_CONFIGT_GLOBALG,5,6,315,55
200    EDITTEXT        IDC_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL
201    RTEXT           "Total max connections :",IDC_CONFIGT_TOTALMAX,12,31,100,11
202    RTEXT           "Total upload slots :",IDC_CONFIGT_TOTALUP,12,44,100,10
203    EDITTEXT        IDC_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL
204    EDITTEXT        IDC_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL
205    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_DOWNRATE,165,31,100,11
206    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_UPRATE,165,44,100,10
207    EDITTEXT        IDC_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL
208    EDITTEXT        IDC_BC_TMAXCONN,118,88,42,12,ES_AUTOHSCROLL
209    RTEXT           "Total max connections :",IDC_CONFIGT_TORMAX,12,91,100,12
210    RTEXT           "Total upload slots :",IDC_CONFIGT_TORUP,12,104,100,12
211    EDITTEXT        IDC_BC_TMAXUP,118,101,42,12,ES_AUTOHSCROLL
212    EDITTEXT        IDC_BC_TDOWNRATE,271,88,42,12,ES_AUTOHSCROLL
213    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_TDOWNRATE,165,91,100,12
214    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_TORUPRATE,165,104,100,12
215    EDITTEXT        IDC_BC_TUPRATE,271,101,42,12,ES_AUTOHSCROLL
216    GROUPBOX        "Torrent Defaults",IDC_CONFIGT_TORRENTG,5,66,315,82
217    LTEXT           "These options set global maximums which will always be honoured.",IDC_CONFIGT_GLOBAL_TEXT,12,16,300,11
218    LTEXT           "These options specify the default limits applied to new torrents.",IDC_CONFIGT_TOR_TEXT,12,76,301,11
219    RTEXT           "Default save folder :",IDC_CONFIGT_DEF_FOLDER,12,120,100,11
220    EDITTEXT        IDC_BC_SAVEFOLDER,118,119,170,12,ES_AUTOHSCROLL
221    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,293,118,18,13
222    AUTOCHECKBOX    "Prompt for alternate save folder.",IDC_BC_PROMPTSAVE,118,133,195,11
223END
224
225IDD_CLOSESPLASH DIALOGEX 0,0,191,54
226STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
227EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST | WS_EX_STATICEDGE
228CAPTION "Halite shutting down..."
229FONT 8,"MS Shell Dlg",400,0,1
230BEGIN
231    ICON            IDR_APP_ICON,IDC_STATIC,7,10,21,20,SS_ICON
232    LTEXT           "It will take the BitTorrent session a moment to shutdown cleanly after which this message will disappear and the program will close.",IDC_STATIC,35,7,149,27
233    AUTOCHECKBOX    "Show this message in future",IDC_SPLASH_MSG,83,35,101,12
234END
235
236IDD_NEWTORRENT DIALOGEX 0,0,229,132
237STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
238CAPTION "Create new torrent"
239FONT 8,"MS Shell Dlg",400,0,1
240BEGIN
241    PUSHBUTTON      "Save",IDOK,130,114,45,14,BS_DEFPUSHBUTTON
242    PUSHBUTTON      "Cancel",IDCANCEL,180,114,45,14
243    LTEXT           "Select a file or directory to construct the torrent.",IDC_STATIC,4,4,221,11
244    EDITTEXT        IDC_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL
245    PUSHBUTTON      "...",IDC_NEWT_BROWSE,212,14,13,13
246    LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP | WS_VSCROLL | LBS_NOINTEGRALHEIGHT | LBS_SORT
247    LTEXT           "Enter the tracker URLs for the torrent.",IDC_STATIC,4,32,221,11
248    EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL
249    AUTOCHECKBOX    "Have Halite acts a DHT node.",IDC_NEWT_DHTNODE,4,116,118,8,WS_DISABLED
250    PUSHBUTTON      "Add",IDC_NEWT_ADDTRACKER,202,41,23,13
251END
252
253IDD_HALITEDLG DIALOGEX 0,0,370,73
254STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
255FONT 8,"MS Shell Dlg",400,0,1
256BEGIN
257    PUSHBUTTON      "Pause",BTNPAUSE,314,3,52,14,BS_DEFPUSHBUTTON
258    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,314,19,52,14
259    PUSHBUTTON      "Remove",BTNREMOVE,314,35,52,14
260    CONTROL         "",LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,64,362,6
261    EDITTEXT        IDC_EDITTLU,277,36,34,12,ES_AUTOHSCROLL
262    EDITTEXT        IDC_EDITTLD,220,36,34,12,ES_AUTOHSCROLL
263    EDITTEXT        IDC_EDITNCD,220,12,34,12,ES_AUTOHSCROLL
264    EDITTEXT        IDC_EDITNCU,277,12,34,12,ES_AUTOHSCROLL
265    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,4,52,362,8
266    RTEXT           "Name:",IDC_NAME_STATIC,4,3,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
267    RTEXT           "Tracker:",IDC_TRACKER_STATIC,4,15,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
268    RTEXT           "Status:",IDC_STATUS_STATIC,4,27,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
269    RTEXT           "Time left:",IDC_TIME_STATIC,4,39,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
270    LTEXT           "N/A",IDC_NAME,45,3,145,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
271    LTEXT           "N/A",IDC_TRACKER,45,15,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
272    LTEXT           "N/A",IDC_STATUS,45,27,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
273    LTEXT           "N/A",IDC_AVAIL,45,39,36,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
274    LTEXT           "Torrent connection limits:",IDC_NC,195,3,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
275    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,195,27,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
276    RTEXT           "Total",IDC_NCD,192,15,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
277    RTEXT           "Up",IDC_NCU,255,15,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
278    RTEXT           "Up",IDC_TLU,255,39,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
279    RTEXT           "Down",IDC_TLD,192,39,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
280    RTEXT           "Completed:",IDC_COMPLETED_STATIC,85,39,44,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
281    LTEXT           "N/A",IDC_COMPLETE,132,39,58,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
282    GROUPBOX        "",IDC_DETAILS_GROUP,1,-4,368,77,0,WS_EX_TRANSPARENT
283END
284
285IDD_ABOUT DIALOGEX 0, 0, 325, 150
286STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
287CAPTION "About"
288FONT 8, "MS Shell Dlg", 400, 0, 0x1
289BEGIN
290    GROUPBOX        "Program Information",IDC_STATIC,5,6,315,136
291    RTEXT           HALITE_VERSION_STRING,IDC_STATIC,190,145,130,9,WS_TABSTOP
292    LTEXT           "",IDC_EDITABOUT,8,15,265,125,WS_TABSTOP
293    CONTROL         "",IDC_RICHEDITABOUT,"RichEdit20A",ES_MULTILINE | ES_READONLY | WS_VSCROLL | WS_TABSTOP,12,17,301,117,WS_EX_TRANSPARENT
294END
295
296IDD_ADVHALITEDLG DIALOGEX 0,0,317,72
297STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
298FONT 8,"MS Shell Dlg",400,0,1
299BEGIN
300    CONTROL         "",IDC_TAB,"SysTabControl32",0,1,0,315,71
301    RTEXT           "Static",IDC_ADVDLG_VERSION,235,2,78,8,SS_CENTERIMAGE
302END
303
304IDD_ADD_TORRENT DIALOGEX 0, 0, 225, 86
305STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
306EXSTYLE WS_EX_STATICEDGE
307CAPTION "Add Torrent"
308FONT 8, "MS Shell Dlg", 400, 0, 0x1
309BEGIN
310    PUSHBUTTON      "Ok",IDOK,85,65,62,14
311    PUSHBUTTON      "Cancel",IDCANCEL,155,65,62,14
312
313    EDITTEXT        IDC_BC_SAVEFOLDER,5,5,195,12,ES_AUTOHSCROLL
314    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,205,5,15,12,SS_CENTERIMAGE
315       
316    CONTROL         "Use Compact Allocation.",IDC_CHECK_COMPACT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,38,220,8
317    CONTROL         "Start Paused",IDC_CHECK_PAUSED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,25,220,8
318    LTEXT           "Note. Compact Allocation is incompatible with File Selection",IDC_STATIC,8,51,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
319END
320
321IDD_CONFIGGENERAL DIALOGEX 0, 0, 325, 90
322STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
323CAPTION "General"
324FONT 8, "MS Shell Dlg", 400, 0, 0x1
325BEGIN
326    CONTROL         "Allow only one instance to run",IDC_GENERAL_ONEINST,
327                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,16,150,11
328    GROUPBOX        "General Settings",IDC_GENERAL_GROUP,5,6,315,77
329    CONTROL         "Advanced GUI",IDC_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
330    CONTROL         "Minimize to tray.",IDC_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
331    CONTROL         "Close to tray",IDC_GENERAL_CLOSETRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
332    CONTROL         "Confirm on close",IDC_GENERAL_CONFIRMCLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
333    LISTBOX         IDC_LANGLIST,165,24,149,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
334    CTEXT           "Language (requires restart)",IDC_GENERAL_LANG,165,13,150,8
335END
336
337IDD_ADVTRACKER DIALOGEX 0,0,305,69
338STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
339FONT 8,"MS Shell Dlg",400,0,1
340BEGIN
341    LTEXT           "List of Trackers.",IDC_TRACKER_LABEL,7,6,95,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
342    EDITTEXT        IDC_TRACKER_USER,208,18,92,12,ES_AUTOHSCROLL
343    EDITTEXT        IDC_TRACKER_PASS,208,32,92,12,ES_AUTOHSCROLL | ES_PASSWORD
344    RTEXT           "Username : ",IDC_TRACKER_USER_S,164,20,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
345    RTEXT           "Password : ",IDC_TRACKER_PASS_S,164,34,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
346    AUTOCHECKBOX    "Send login info to trackers.",IDC_TRACKER_LOGINCHECK,166,4,101,12
347    CONTROL         "",IDC_TRACKERLIST,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,19,154,47
348    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,207,46,51,14
349    PUSHBUTTON      "Apply",IDC_TRACKER_APPLY,126,3,32,14,WS_DISABLED
350    PUSHBUTTON      "Reset",IDC_TRACKER_RESET,92,3,32,14
351END
352
353IDD_ADVDEBUGLOG DIALOGEX 0,0,305,81
354STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
355FONT 8,"MS Shell Dlg",400,0,1
356BEGIN
357    AUTOCHECKBOX    "Log to file.",IDC_DEBUGFILECHECK,4,69,54,9
358    CONTROL         "",IDC_DEBUGLISTVIEW,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
359    AUTOCHECKBOX    "Log debug events.",IDC_DEBUGDEBUGCHECK,58,69,78,9
360END
361
362IDD_TRACKEDIT DIALOGEX 0,0,186,50
363STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
364EXSTYLE WS_EX_TOOLWINDOW
365CAPTION "Add New Tracker"
366FONT 8,"MS Shell Dlg 2",400,0,1
367BEGIN
368    PUSHBUTTON      "OK",IDOK,41,31,50,14,BS_DEFPUSHBUTTON
369    PUSHBUTTON      "Cancel",IDCANCEL,95,31,50,14
370    LTEXT           "Tracker URL",IDC_STATIC,5,5,47,10
371    EDITTEXT        IDC_TRACKER_EDIT_URL,4,15,145,12,ES_AUTOHSCROLL
372    EDITTEXT        IDC_TRACKER_EDIT_TIER,153,15,30,12,ES_AUTOHSCROLL
373    LTEXT           "Tier",IDC_STATIC,155,5,15,10
374END
375
376IDD_ADVPEER DIALOGEX 0, 0, 305, 69
377STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
378FONT 8, "MS Shell Dlg", 400, 0, 0x1
379BEGIN
380    CONTROL         "",IDC_PEERLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,7,297,59
381END
382
383IDD_ADVFILES DIALOGEX 0, 0, 305, 81
384STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
385FONT 8, "MS Shell Dlg", 400, 0, 0x1
386BEGIN
387    LTEXT           "",IDC_CONTAINER,4,7,297,70,0
388END
389
390IDR_TRAY_MENU MENU
391BEGIN
392    POPUP "_POPUP_"
393    BEGIN
394        MENUITEM "Open &Halite",ID_TRAY_OPENHALITE
395        MENUITEM SEPARATOR
396        MENUITEM "&Pause All",ID_TRAY_PAUSEALL
397        MENUITEM "&Resume All",ID_TRAY_RESUMEALL
398        MENUITEM SEPARATOR
399        MENUITEM "E&xit",ID_TRAY_EXIT
400    END
401END
402
403IDR_LISTVIEW_MENU MENU
404BEGIN
405    POPUP "_POPUP_"
406    BEGIN
407        MENUITEM "Resume",ID_LVM_RESUME
408        MENUITEM "Pause",ID__LVM_PAUSE
409        MENUITEM "Stop",ID_LVM_STOP
410        MENUITEM SEPARATOR
411    //    MENUITEM "Reannounce",ID_TLVM_PRIMARY
412        POPUP "Remove"
413        BEGIN
414            MENUITEM "Torrent File",ID_LVM_REMOVE_T
415            MENUITEM "Torrent and Data",ID_LVM_REMOVE_TD
416        END
417    END
418END
419
420IDR_TRACKERLV_MENU MENU
421BEGIN
422    POPUP "_POPUP_"
423    BEGIN
424        MENUITEM "New",ID_TLVM_NEW
425        MENUITEM "Edit",ID_TLVM_EDIT
426        MENUITEM "Set as Primary",ID_TLVM_PRIMARY
427        MENUITEM SEPARATOR
428        MENUITEM "Delete",ID_TLVM_DELETE
429    END
430END
431
4321 VERSIONINFO
433    FILEVERSION     HALITE_VERSION
434    PRODUCTVERSION  HALITE_VERSION
435    FILEOS          VOS_UNKNOWN
436    FILETYPE        VFT_UNKNOWN
437BEGIN
438    BLOCK "StringFileInfo"
439    BEGIN
440        BLOCK "180904b0"
441        BEGIN
442            VALUE "Comments", "libTorrrent based client."
443            VALUE "CompanyName", "BinaryNotions.com"
444            VALUE "FileDescription", "Halite BitTorrent Client"
445            VALUE "FileVersion", HALITE_VERSION_STRING
446            VALUE "InternalName", "Halite"
447            VALUE "LegalCopyright", "(C) Eoin O'Callaghan 2007"
448            VALUE "OriginalFilename", "Halite.exe"
449            VALUE "ProductName", "Halite"
450            VALUE "ProductVersion", HALITE_VERSION_STRING
451        END
452    END
453    BLOCK "VarFileInfo"
454    BEGIN
455        VALUE "Translation", 6153, 1200
456    END
457END
458
459STRINGTABLE
460BEGIN
461    IDPANE_STATUS                 "(D-U) 0000.000KB/s - 0000.000KB/s"
462    IDPANE_CAPS_INDICATOR         "CAPS"
463    IDPANE_DHT                    "0000 DHT node(s)"
464    IDPANE_FILTER                 "Filtering 0000000 ranges."
465    IDS_TRYANOTHERPORT            "The BitTorrent session could not start. Try selecting another port in the settings."
466    IDS_DHTTRYANOTHERPORT         "DHT session could not start. Try selecting another port in the settings."
467    IDS_SAVEPROMPT                "Select a directory to save the files to or cancel to not download torrent at all."
468    IDS_NA                        "N/A"
469    HAL_INF                       "∞"
470    HAL_COMPLETED_SUMMARY         "%1$.2fMB of %2$.2fMB"
471    HAL_DOWNLOAD_SUMMARY          "This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
472    HAL_DOWNLOADT_SUMMARY         "Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
473    HAL_PAYLOAD_SUMMARY           "Total transfer including protocol overhead; %1$.2fMB down and %2$.2fMB up."
474        HAL_NAME_STATUS                           "%1%, %2%."
475    HAL_TRANSFERED                                "%1$.2fMB down - %2$.2fMB up"
476    HAL_REMAINING                                 "%1$.2fMB of %2$.2fMB"
477    HAL_RATE                                      "%1$.2fKB/s down - %2$.2fKB/s up"
478    HAL_DHT_ON                    "%1% DHT node(s)"
479    HAL_DHT_OFF                   "DHT disabled"
480    HAL_IPFILTER_ON               "Filtering %1% range(s)"
481    HAL_IPFILTER_OFF              "IP filter disabled"
482    HAL_EVENT_STDEXP              "Standard exception (%1%) thrown from %2%."
483    HAL_DOWN_RATES                "(D-U) %1$.2fKB/s - %2$.2fKB/s"
484    HAL_NOT_LISTENING             "Halite not listening!"
485    HAL_PORT_OPEN                 "Port %1% open"
486    HAL_VERSION_STRING            HALITE_VERSION_STRING
487        HAL_FOLDER_SELECT                         "Select a directory to save the downloads to. Select cancel to accept default 'incoming' location."
488        HAL_TORRENT_TAB                           "Torrent"
489        HAL_PEERS_TAB                             "Peers"
490        HAL_FILES_TAB                             "Files"
491        HAL_TRACKER_TAB                           "Tracker"
492        HAL_DEBUG_TAB                             "Logging"
493        HAL_INCORRECT_ENCODING_LEVEL  "An invalid encoding level, %1%, was passed as an encryption setting."
494        HAL_INCORRECT_CONNECT_POLICY  "An invalid connection policy, %1%, was passed as an encryption setting."
495        HAL_AUTOSORT                              "Auto Sort"
496        HAL_TORRENT_ROOT                          "Torrent Root"
497        HAL_WINDOW_CLOSECONFRIM           "Are you sure you wish to close Halite? Doing so will stop any active torrents"
498END
499
500STRINGTABLE
501BEGIN
502    HAL_PEER_INTERESTING                "Interesting"
503    HAL_PEER_CHOKED                     "Choked"
504    HAL_PEER_REMOTE_INTERESTING         "Interested in us"
505    HAL_PEER_REMOTE_CHOKED              "Has choked us"
506    HAL_PEER_SUPPORT_EXTENSIONS         "Supports extensions"
507    HAL_PEER_LOCAL_CONNECTION           "Local connection"
508    HAL_PEER_HANDSHAKE                  "Handshake"
509    HAL_PEER_CONNECTING                 "Connecting"
510    HAL_PEER_QUEUED                             "Queued"
511    HAL_PEER_RC4_ENCRYPTED              "RC4 Encrypted"
512    HAL_PEER_PLAINTEXT_ENCRYPTED    "Plaintext Encrypted"
513END
514
515STRINGTABLE
516BEGIN
517    HAL_TORRENT_QUEUED_CHECKING "Queued for Checking"
518    HAL_TORRENT_CHECKING_FILES "Checking Files"
519    HAL_TORRENT_CONNECTING  "Connecting to Tracker"
520    HAL_TORRENT_DOWNLOADING "Downloading"
521    HAL_TORRENT_FINISHED    "Finished"
522    HAL_TORRENT_SEEDING     "Seeding"
523    HAL_TORRENT_ALLOCATING  "Allocating"
524    HAL_TORRENT_QUEUED      "Queued"
525        HAL_TORRENT_STOPPED             "Stopped"
526        HAL_TORRENT_PAUSED              "Paused"
527        HAL_TORRENT_STOPPING    "Stopping"
528        HAL_TORRENT_PAUSING             "Pausing"
529        HAL_TORRENT_METADATA    "Downloading Metadata"
530END
531
532STRINGTABLE
533BEGIN
534        HAL_LISTVIEW_COLUMNS              "Name;Status;Progress;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio;Total;Completed;Remaining;Downloaded;Uploaded;Active;Seeding;Start Time;Finish Time"
535        HAL_DEBUG_LISTVIEW_COLUMNS        "Time;Message;Severity"
536        HAL_TRACKER_LISTVIEW_COLUMNS  "Tracker;Tier"
537        HAL_DIALOGPEER_LISTVIEW_COS       "Peer;Country;Download;Upload;Type;Client"
538        HAL_DIALOGPEER_LISTVIEW_ADV       "Peer;Country;Download;Upload;Type;Client;Status"
539        HAL_DIALOGFILE_LISTVIEW_ADV     "Filename;Path;Size;Progress;Priority"
540       
541        HAL_FILE_PRIORITY_0     "Don't download"
542        HAL_FILE_PRIORITY_1     "Normal"
543        HAL_FILE_PRIORITY_2     "Above Normal"
544        HAL_FILE_PRIORITY_3     "3"
545        HAL_FILE_PRIORITY_4     "4"
546        HAL_FILE_PRIORITY_5     "5"
547        HAL_FILE_PRIORITY_6     "6"
548        HAL_FILE_PRIORITY_7     "Maximum"
549END
550
551IDR_FILESLISTVIEW_MENU MENU
552BEGIN
553    POPUP "_POPUP_"
554    BEGIN
555        POPUP "Set Priority"
556        BEGIN
557            MENUITEM "Don't download",ID_HAL_FILE_PRIORITY_0
558            MENUITEM "Normal",ID_HAL_FILE_PRIORITY_1
559            MENUITEM "Above Normal",ID_HAL_FILE_PRIORITY_2
560            MENUITEM "3",ID_HAL_FILE_PRIORITY_3
561            MENUITEM "4",ID_HAL_FILE_PRIORITY_4
562            MENUITEM "5",ID_HAL_FILE_PRIORITY_5
563            MENUITEM "6",ID_HAL_FILE_PRIORITY_6
564            MENUITEM "Maximum",ID_HAL_FILE_PRIORITY_7
565        END
566    END
567END
568
569IDR_MAINFRAME TOOLBAR 22,22
570BEGIN
571    BUTTON      ID_FILE_NEW
572    BUTTON      ID_FILE_OPEN
573    SEPARATOR
574    BUTTON      ID_SETTINGS
575    BUTTON      ID_ADVANCED
576    SEPARATOR
577    BUTTON      ID_RESUME
578    BUTTON      ID_PAUSE
579    SEPARATOR
580    BUTTON      ID_HELP
581END
582
583IDR_APP_ICON        ICON          "Halite.ico"
584IDR_MAINFRAME       BITMAP        "toolbar.bmp"
585
586STRINGTABLE
587BEGIN
588    HAL_EVENTNONE                 "None"
589    HAL_EVENTDEBUG                "Debug"
590    HAL_EVENTINFO                 "Info"
591    HAL_EVENTWARNING              "Warning"
592    HAL_EVENTCRITICAL             "Critical"
593       
594    HAL_PEER_ALERT                "Peer %2%: %1%."
595    HAL_PEER_BAN_ALERT            "Peer banned %2%. (%1%)"
596        HAL_HASH_FAIL_ALERT                       "Hash failed for piece %2% of %1%."
597        HAL_URL_SEED_ALERT                        "URL Seed %2%, %3%. (%1%)"
598        HAL_TRACKER_WARNING_ALERT         "Tracker warning: %2%! (%1%)"
599        HAL_TRACKER_ANNOUNCE_ALERT        "Tracker Announce. (%1%)"
600        HAL_TRACKER_ALERT                         "Alert %2%, Status code: %4%, Times %3%. (%1%)"
601        HAL_TRACKER_REPLY_ALERT           "%2%. %3% Peers. (%1%)"
602        HAL_FAST_RESUME_ALERT                   "Fast rusume failed: %2%. (%1%)"
603        HAL_PIECE_FINISHED_ALERT                "Piece %2% finished. (%1%)"
604        HAL_BLOCK_FINISHED_ALERT                "Block %2% of piece %3% finished. (%1%)"
605        HAL_BLOCK_DOWNLOADING_ALERT             "Block %2% of piece %3% downloading. (%1%)"
606        HAL_LISTEN_SUCCEEDED_ALERT              "Successfully %1%."
607        HAL_LISTEN_FAILED_ALERT                 "Failed, %1%"
608        HAL_IPFILTER_ALERT                              "IP Filter blocked %1%, %2%."
609       
610        LBT_EVENT_TORRENT_FINISHED    "Torrent %1% finished."
611        LBT_EVENT_TORRENT_PAUSED      "Torrent %1% paused."
612    HAL_EVENT_TORRENTEXP          "Torrent (%1%) exception caught; %2% from %3%."
613    HAL_EVENT_INVTORRENT          "Invalid torrent (%1%) from %2%."
614       
615        HAL_EVENT_EXP                 "Exception caught; %1%, from %2%."
616    HAL_EVENT_XML_EXP              "Xml Exception (%1%) with %2%."
617        HAL_EVENT_UNICODE_EXP         "Unicode exception: %1%."
618        HAL_EVENT_UNCLASSIFIED            "Bittorrent Event: %1%."
619        HAL_EVENT_PEER                            "Peer Event: %1%."
620        HAL_EVENT_TRACKER                         "Tracker Event: %1%."
621        HAL_EVENT_DEBUG                           "Debug Event: %1%."
622END
Note: See TracBrowser for help on using the repository browser.