source: branch_0_3_1/res/Halite.rc @ 530

Revision 530, 79.6 KB checked in by Eoin, 11 years ago (diff)
Line 
1
2//         Copyright Eóin O'Callaghan 2006 - 2008.
3// Distributed under the Boost Software License, Version 1.0.
4//    (See accompanying file LICENSE_1_0.txt or copy at
5//          http://www.boost.org/LICENSE_1_0.txt)
6
7#include "resource.h"
8#include "afxres.h"
9
10#if 0
11
12#define ID_ADD_TORRENT_BEGIN            11000
13#define ID_CONFIG_BEGIN                         12000
14#define ID_NEWTORRENT_BEGIN                     14000
15#define HAL_NEWT_ADD_PEERS                      14500
16#define ID_PROGRESS_BEGIN                       15000
17#define HAL_TRACKER_ADD_BEGIN           15500
18#define ID_TRACKER_BEGIN                        16000
19#define ID_TLVM_BEGIN                           17000
20#define ID_NTTLVM_BEGIN                         18000
21#define ID_NTPLVM_BEGIN                         19000
22
23#define HAL_GENERIC_HOLDER                      20000
24#define HAL_GENERIC_ALV_BEGIN           20010
25#define HAL_SPLASHDIALOG_BEGIN          20200
26
27#define HAL_MAIN_LISTVIEW_BEGIN         30000
28#define HAL_MAIN_LISTVIEW_DLG_BEGIN     30100
29
30#define HAL_EVENT_BEGIN                         40000
31#define HAL_TORRENT_EXT_BEGIN           41000
32#define HAL_TORRENT_INT_BEGIN           42000
33
34#endif
35
36#include "../src/advtabs/Tracker.hpp"
37#include "../src/advtabs/TrackerListView.hpp"
38#include "../src/advtabs/TrackerAddDialog.hpp"
39#include "../src/HaliteWindow.hpp"
40#include "../src/HaliteListView.hpp"
41#include "../src/HaliteDialog.hpp"
42#include "../src/WTLx/GenericAddDialog.hpp"
43#include "../src/WTLx/GenericAddListView.hpp"
44#include "../src/AddTorrentDialog.hpp"
45#include "../src/SplashDialog.hpp"
46#include "../src/HaliteListViewDlg.hpp"
47#include "../src/NewTorrentDialog.hpp"
48#include "../src/NewTorrentTrackerLV.hpp"
49#include "../src/NewTorrentPeersLV.hpp"
50#include "../src/NewTorrentPeersAD.hpp"
51#include "../src/ConfigOptions.hpp"
52#include "../src/ProgressDialog.hpp"
53#include "../src/halTorrentInternal.hpp"
54#include "../src/halEvent.hpp"
55
56STRINGTABLE
57BEGIN
58    HALITE_LANGUAGE "English"
59END
60
61IDR_ABOUT_TEXT HALITE_RTF_RES_TYPE "English.rtf"
62
63IDD_ADVOVERVIEW DIALOGEX 0, 0, 313, 121
64STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
65FONT 8, "MS Shell Dlg", 400, 0, 0x1
66BEGIN
67    GROUPBOX        "Torrent",IDC_GROUP_TORRENT,4,7,305,83
68    GROUPBOX        "Tracker",IDC_GROUP_TRACKER,4,92,305,25
69    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,10,77,291,8
70
71    EDITTEXT        IDC_EDITTLD,210,46,34,12,ES_AUTOHSCROLL
72    EDITTEXT        IDC_EDITTLU,267,46,34,12,ES_AUTOHSCROLL
73    EDITTEXT        IDC_EDITNCD,210,22,34,12,ES_AUTOHSCROLL
74    EDITTEXT        IDC_EDITNCU,267,22,34,12,ES_AUTOHSCROLL
75    LTEXT           "Torrent connection limits:",IDC_NC,185,13,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
76    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,185,37,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
77    RTEXT           "Total",IDC_NCD,182,25,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
78    RTEXT           "Up",IDC_NCU,245,25,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
79    RTEXT           "Up",IDC_TLU,245,49,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
80    RTEXT           "Down",IDC_TLD,182,49,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
81
82    LTEXT           "N/A",IDC_TRACKER,10,103,170,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
83
84    RTEXT           "Update in:",IDC_UPDATESTAT,185,103,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
85    LTEXT           "N/A",IDC_UPDATE,228,103,71,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
86    EDITTEXT        IDC_EDITRATIO,267,60,34,12,ES_AUTOHSCROLL
87    LTEXT           "Ratio (this session):",IDC_RATIOESTATIC,182,63,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
88
89    RTEXT           "Torrent:",IDC_NAME_STATUS_LABEL,9,17,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
90    LTEXT           "N/A",IDC_NAME_STATUS,53,17,127,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
91
92    RTEXT           "Peers:",IDC_PEERS_LABEL,9,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
93    RTEXT           "Transferred:",IDC_TRANSFERED_LABEL,9,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
94    RTEXT           "Remaining:",IDC_REMAINING_LABEL,9,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
95    RTEXT           "Rates:",IDC_RATE_LABEL,9,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
96
97    RTEXT           "Seeds:",IDC_SEEDS_LABEL,97,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
98    RTEXT           "Overhead:",IDC_OVERHEAD_LABEL,97,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
99    RTEXT           "ETA:",IDC_ETA_LABEL,97,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
100    RTEXT           "Ratio:",IDC_RATIO_LABEL,97,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
101
102    LTEXT           "N/A",IDC_PEERS,53,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
103    LTEXT           "N/A",IDC_TRANSFERED,53,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
104    LTEXT           "N/A",IDC_REMAINING,53,52,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
105    LTEXT           "N/A",IDC_RATE,53,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
106
107    LTEXT           "N/A",IDC_SEEDS,141,28,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
108    LTEXT           "N/A",IDC_OVERHEAD,141,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
109    LTEXT           "N/A",IDC_ETA,141,52,39,8,SS_WORDELLIPSIS| SS_CENTERIMAGE
110    LTEXT           "N/A",IDC_RATIO,141,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
111END
112
113IDD_CONFIGBIT DIALOGEX 0, 0, 325, 155
114STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
115CAPTION "BitTorrent"
116FONT 8, "MS Shell Dlg", 400, 0, 0x1
117BEGIN
118    RTEXT           "Open a (single) port between : ",IDC_BITT_OPENPORT,12,31,120,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
119    EDITTEXT        IDC_BC_PORTFROM,135,29,65,12,ES_AUTOHSCROLL
120    EDITTEXT        IDC_BC_PORTTO,250,29,65,12,ES_AUTOHSCROLL
121    CONTROL         "Enable DHT",IDC_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10
122    CONTROL         "to",IDC_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12
123    LTEXT           "Select the (TCP) port (or range) on which to listen for incoming connections.",IDC_BITT_SELECT_TEXT,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE
124    GROUPBOX        "Distributed Hash Tables",IDC_BITT_GDHT,5,108,260,39
125    EDITTEXT        IDC_BC_DHTPORT,180,119,80,12,ES_AUTOHSCROLL
126    RTEXT           "Port (UDP) : ",IDC_BC_DHTPORT_S,110,121,70,8
127    CTEXT           "(DHT will not apply to private torrents)",IDC_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
128    GROUPBOX        "General Settings",IDC_BITT_GSETTINGS,5,6,315,54
129    EDITTEXT        IDC_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL
130    CONTROL         "Limit the no. of half-open connections",IDC_BC_HALFCONN_CHECK,
131                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,45,190,12
132    GROUPBOX        "Port Forwarding",IDC_BITT_GPORTFORWARDING,5,6,315,54
133    CONTROL         "None (Managed Externally)",IDC_BITT_GPORTFORWARD_NONE,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10
134    CONTROL         "UnPlug and Play",IDC_BITT_GPORTFORWARD_UPNG,"Button",BS_AUTORADIOBUTTON,284,83,16,10
135    CONTROL         "NAT-PMG",IDC_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTORADIOBUTTON,284,93,16,10
136    PUSHBUTTON      "Test",IDC_BITT_GPORTFORWARD_TEST,207,46,51,12,NOT WS_VISIBLE
137
138    LISTBOX         IDC_BITT_GPORTFORWARD_LIST,165,24,149,7,LBS_SORT|LBS_NOINTEGRALHEIGHT|WS_VSCROLL|WS_TABSTOP|NOT WS_VISIBLE
139//    RTEXT           "Need Help?",IDC_BC_HELP_LINK,229,139,51,8
140//    RTEXT           "Why?",IDC_BC_CON_WHY,239,47,31,8
141END
142
143IDD_CONFIGPROXY DIALOGEX 0, 0, 285, 155
144STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
145CAPTION "Proxies"
146FONT 8, "MS Shell Dlg", 400, 0, 0x1
147BEGIN
148    EDITTEXT        IDC_BC_PROXYIP,124,46,77,12,ES_AUTOHSCROLL
149    RTEXT           "Proxy Host/IP : ",IDC_BC_PROXYIP_S,68,48,55,12
150    CONTROL         "Use a proxy.",IDC_BC_PROXYCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,48,59,8
151    RTEXT           "Port : ",IDC_BC_PROXYPORT_S,204,48,24,12
152    EDITTEXT        IDC_BC_PROXYPORT,229,46,42,12,ES_AUTOHSCROLL | ES_NUMBER
153    EDITTEXT        IDC_BC_PROXYUSER,54,62,89,12,ES_AUTOHSCROLL
154    RTEXT           "Username : ",IDC_BC_PROXYUSER_S,8,64,44,12
155    RTEXT           "Password : ",IDC_BC_PROXYPASS_S,146,64,39,12
156    EDITTEXT        IDC_BC_PROXYPASS,188,62,83,12,ES_PASSWORD | ES_AUTOHSCROLL
157    CONTROL         "Peer",IDC_PEERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,16,19,57,15
158    CONTROL         "Web Seed",IDC_WEBPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,81,19,57,15
159    CONTROL         "Tracker",IDC_TRACKERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,146,19,57,15
160    CONTROL         "DHT",IDC_DHTPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE | WS_DISABLED,211,19,57,15
161    GROUPBOX        "Proxy Settings",IDC_STATIC,6,7,271,108
162END
163
164IDD_CONFIGSECURITY DIALOGEX 0, 0, 325, 155
165STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
166CAPTION "Security"
167FONT 8, "MS Shell Dlg", 400, 0, 0x1
168BEGIN
169    GROUPBOX        "IP Filtering",IDC_SECURITY_IPF_GB,5,6,315,30
170    CONTROL         "Enable IP filtering.",IDC_BC_FILTERCHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,18,105,12
171    PUSHBUTTON      "Import ipfilter.dat",IDC_BC_FILTERLOAD,220,17,95,14,WS_DISABLED
172    PUSHBUTTON      "Clear IP database",IDC_BC_FILTERCLEAR,120,17,95,14,WS_DISABLED
173    GROUPBOX        "Protocol Encryption",IDC_SECURITY_PE_GB,5,39,315,75
174    CONTROL         "Enable Protocol Encryption.",IDC_SC_ENABLE_PE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,50,175,10
175    GROUPBOX        "Connection Policies",IDC_SECURITY_CP_GB,194,49,120,58
176    LTEXT           "Incoming",IDC_SECURITY_INCOMING,200,61,50,9
177    RTEXT           "Outgoing",IDC_SECURITY_OUTGOING,255,61,50,9
178    CONTROL         "",IDC_SC_PE_CP_IN_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,205,73,16,10
179    CONTROL         "",IDC_SC_PE_CP_IN_ENABLED,"Button",BS_AUTORADIOBUTTON,205,83,16,10
180    CONTROL         "",IDC_SC_PE_CP_IN_DISABLED,"Button",BS_AUTORADIOBUTTON,205,93,16,10
181    CTEXT           "Forced",IDC_SECURITY_FORCED,225,73,55,8
182    CTEXT           "Enabled",IDC_SECURITY_ENABLED,225,83,55,8
183    CTEXT           "Disabled",IDC_SECURITY_DISABLED,225,93,55,8
184    CONTROL         "",IDC_SC_PE_CP_OUT_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10,WS_EX_RIGHT
185    CONTROL         "",IDC_SC_PE_CP_OUT_ENABLED,"Button",BS_AUTORADIOBUTTON,284,83,16,10,WS_EX_RIGHT
186    CONTROL         "",IDC_SC_PE_CP_OUT_DISABLED,"Button",BS_AUTORADIOBUTTON,284,93,16,10,WS_EX_RIGHT
187    GROUPBOX        "Encoding Level",IDC_SECURITY_EL_GB,12,63,175,44
188    CONTROL         "Plaintext",IDC_SC_PE_ENC_PLAIN,"Button",BS_AUTORADIOBUTTON|WS_GROUP,18,73,160,10
189    CONTROL         "RC4",IDC_SC_PE_ENC_RC4,"Button",BS_AUTORADIOBUTTON,18,84,160,10
190    CONTROL         "Both",IDC_SC_PE_ENC_BOTH,"Button",BS_AUTORADIOBUTTON,18,95,75,10
191    CONTROL         "Prefer RC4",IDC_SC_PE_ENC_RC4_PERFER,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,100,95,80,10
192//    LTEXT           "Need Help?",IDC_SC_HELP_LINK,7,138,255,8
193END
194
195IDD_CONFIGREMOTE DIALOGEX 0, 0, 283, 94
196STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
197CAPTION "Remote Control"
198FONT 8, "MS Shell Dlg", 400, 0, 0x1
199BEGIN
200    GROUPBOX        "Remote Control Options",IDC_STATIC,6,6,271,30
201    CONTROL         "Enable Remote Control",IDC_REMOTECTRL,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,12,18,96,12
202    RTEXT           "Port to listen on : ",IDC_STATIC,159,19,66,11,WS_DISABLED
203    EDITTEXT        IDC_REMOTEPORT,229,18,42,12,ES_AUTOHSCROLL | WS_DISABLED
204    CTEXT           "*** Disabled ***",IDC_STATIC,32,44,217,11
205END
206
207IDD_THEMETEST DIALOGEX 0,0,186,94
208STYLE DS_CONTROL | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_SYSMENU
209EXSTYLE WS_EX_TRANSPARENT | WS_EX_CONTROLPARENT
210FONT 8,"MS Shell Dlg",400,0,1
211BEGIN
212    AUTOCHECKBOX    "Check1",IDC_CHECK1,7,7,44,10
213    PUSHBUTTON      "Button1",IDC_BUTTON1,69,7,51,14
214    EDITTEXT        IDC_EDIT1,134,7,45,15,ES_AUTOHSCROLL
215    AUTORADIOBUTTON "Radio1",IDC_RADIO1,129,38,50,11,NOT WS_TABSTOP
216    EDITTEXT        IDC_EDIT2,14,62,45,15,WS_DISABLED | ES_AUTOHSCROLL
217    LTEXT           "Static",IDC_STATIC,85,59,68,10
218    LTEXT           "Static",IDC_STATIC,25,35,19,8
219    GROUPBOX        "Static",IDC_STATIC,10,25,98,25
220    LTEXT           "Static",IDC_STATIC,65,35,19,8
221END
222
223IDD_DEBUGDIALOG DIALOGEX 0,0,252,105
224STYLE DS_SETFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SIZEBOX | WS_SYSMENU
225EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
226CAPTION "Halite Debug Dialog"
227FONT 8,"MS Sans Serif",0,0,0
228BEGIN
229    EDITTEXT        ED_CON,3,3,246,99,WS_VSCROLL | ES_AUTOHSCROLL | ES_MULTILINE | ES_READONLY
230END
231
232IDD_CONFIGTORRENT DIALOGEX 0, 0, 325, 165
233STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
234CAPTION "Torrents"
235FONT 8, "MS Shell Dlg", 400, 0, 0x1
236BEGIN
237    GROUPBOX        "Global Limits",IDC_CONFIGT_GLOBALG,5,6,315,55
238    EDITTEXT        IDC_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL
239    RTEXT           "Total max connections :",IDC_CONFIGT_TOTALMAX,12,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
240    RTEXT           "Total upload slots :",IDC_CONFIGT_TOTALUP,12,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
241    EDITTEXT        IDC_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL
242    EDITTEXT        IDC_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL
243    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_DOWNRATE,165,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
244    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_UPRATE,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
245    EDITTEXT        IDC_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL
246    EDITTEXT        IDC_BC_TMAXCONN,118,88,42,12,ES_AUTOHSCROLL
247    RTEXT           "Total max connections :",IDC_CONFIGT_TORMAX,12,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
248    RTEXT           "Total upload slots :",IDC_CONFIGT_TORUP,12,104,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
249    EDITTEXT        IDC_BC_TMAXUP,118,101,42,12,ES_AUTOHSCROLL
250    EDITTEXT        IDC_BC_TDOWNRATE,271,88,42,12,ES_AUTOHSCROLL
251    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_TDOWNRATE,165,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
252    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_TORUPRATE,165,104,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
253    EDITTEXT        IDC_BC_TUPRATE,271,101,42,12,ES_AUTOHSCROLL
254    GROUPBOX        "Torrent Defaults",IDC_CONFIGT_TORRENTG,5,66,315,82
255    LTEXT           "These options set global maximums which will always be honoured.",IDC_CONFIGT_GLOBAL_TEXT,12,16,300,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
256    LTEXT           "These options specify the default limits applied to new torrents.",IDC_CONFIGT_TOR_TEXT,12,76,301,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
257    RTEXT           "Default save folder :",IDC_CONFIGT_DEF_FOLDER,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
258    EDITTEXT        IDC_BC_SAVEFOLDER,118,119,170,12,ES_AUTOHSCROLL
259    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,293,118,18,13
260    AUTOCHECKBOX    "",IDC_BC_MOVETO_CHECK,118,133,10,11
261    RTEXT           "Move finished torrents to :",IDC_BC_MOVETO_TEXT,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
262    EDITTEXT        IDC_BC_MOVETO_FOLDER,118,119,170,12,ES_AUTOHSCROLL
263    PUSHBUTTON      "...",IDC_BC_MOVETO_BROWSE,293,118,18,13
264    AUTOCHECKBOX    "Review settings when adding torrent.",IDC_BC_PROMPTSAVE,118,133,195,11
265END
266
267IDD_CLOSESPLASH DIALOGEX 0,0,191,74
268STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_THICKFRAME
269EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
270CAPTION "Halite shutting down..."
271FONT 8,"MS Shell Dlg",400,0,1
272BEGIN
273    ICON            IDR_APP_ICON,IDC_STATIC,7,10,21,20,SS_ICON
274    LTEXT           "It will take the BitTorrent session a moment to shutdown cleanly after which this message will disappear and the program will close.",HAL_CSPLASH_MSG,35,7,149,27
275    CTEXT           "Stopping Torrents",HAL_CSPLASH_NUM_ACT,6,40,179,14
276    AUTOCHECKBOX    "Show this message in future",IDC_SPLASH_MSG,7,58,107,12
277        PUSHBUTTON      "Force Close",HAL_SPLASH_FORCE_CLOSE,121,57,65,13,BS_DEFPUSHBUTTON
278END
279
280IDD_HALITEDLG DIALOGEX 0,0,370,73
281STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
282FONT 8,"MS Shell Dlg",400,0,1
283BEGIN
284    PUSHBUTTON      "Pause",BTNPAUSE,314,3,52,14,BS_DEFPUSHBUTTON
285    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,314,19,52,14
286    PUSHBUTTON      "Remove",BTNREMOVE,314,35,52,14
287    CONTROL         "",LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,64,362,6
288    EDITTEXT        IDC_EDITTLU,277,36,34,12,ES_AUTOHSCROLL
289    EDITTEXT        IDC_EDITTLD,220,36,34,12,ES_AUTOHSCROLL
290    EDITTEXT        IDC_EDITNCD,220,12,34,12,ES_AUTOHSCROLL
291    EDITTEXT        IDC_EDITNCU,277,12,34,12,ES_AUTOHSCROLL
292    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,4,52,362,8
293    RTEXT           "Name:",IDC_NAME_STATIC,4,3,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
294    RTEXT           "Tracker:",IDC_TRACKER_STATIC,4,15,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
295    RTEXT           "Status:",IDC_STATUS_STATIC,4,27,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
296    RTEXT           "Time left:",IDC_TIME_STATIC,4,39,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
297    LTEXT           "N/A",IDC_NAME,45,3,145,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
298    LTEXT           "N/A",IDC_TRACKER,45,15,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
299    LTEXT           "N/A",IDC_STATUS,45,27,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
300    LTEXT           "N/A",IDC_AVAIL,45,39,36,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
301    LTEXT           "Torrent connection limits:",IDC_NC,195,3,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
302    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,195,27,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
303    RTEXT           "Total",IDC_NCD,192,15,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
304    RTEXT           "Up",IDC_NCU,255,15,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
305    RTEXT           "Up",IDC_TLU,255,39,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
306    RTEXT           "Down",IDC_TLD,192,39,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
307    RTEXT           "Completed:",IDC_COMPLETED_STATIC,85,39,44,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
308    LTEXT           "N/A",IDC_COMPLETE,132,39,58,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
309    GROUPBOX        "",IDC_DETAILS_GROUP,1,-4,368,77,0,WS_EX_TRANSPARENT
310END
311
312IDD_ABOUT DIALOGEX 0, 0, 325, 155
313STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
314CAPTION "About"
315FONT 8, "MS Shell Dlg", 400, 0, 0x1
316BEGIN
317//    GROUPBOX        "Program Information",IDC_ABOUT_GROUP,5,6,315,136,WS_EX_TRANSPARENT
318    RTEXT           HALITE_VERSION_STRING,IDC_ABOUT_VERSION,190,145,130,9,WS_TABSTOP
319    LTEXT           "",IDC_EDITABOUT,8,15,265,125,WS_TABSTOP
320    CONTROL         "",IDC_RICHEDITABOUT,"RichEdit20A",WS_CHILD|WS_BORDER|ES_MULTILINE|ES_READONLY|WS_VSCROLL|WS_TABSTOP,5,6,315,136
321END
322
323IDD_ADVHALITEDLG DIALOGEX 0,0,317,72
324STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
325FONT 8,"MS Shell Dlg",400,0,1
326BEGIN
327    CONTROL         "",IDC_TAB,"SysTabControl32",0,1,0,315,71
328    RTEXT           "Static",IDC_ADVDLG_VERSION,235,2,78,8,SS_CENTERIMAGE
329END
330
331HAL_GENERIC_HOLDER DIALOGEX 0,0,206,70
332STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
333EXSTYLE WS_EX_TOOLWINDOW
334CAPTION "Add New Tracker"
335FONT 8,"MS Shell Dlg",400,0,1
336BEGIN
337    PUSHBUTTON      "OK",IDOK,98,50,50,14,BS_DEFPUSHBUTTON
338    PUSHBUTTON      "Cancel",IDCANCEL,152,50,50,14
339END
340
341HAL_ADJUST_DLG DIALOGEX 4, 4, 198, 42
342STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
343FONT 8, "MS Shell Dlg", 400, 0, 0x1
344BEGIN
345        LTEXT           "Torrent save folder:",IDC_ADDT_DEFFLD_TEXT,0,0,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
346    EDITTEXT        IDC_BC_SAVEFOLDER,5,5,195,13,ES_AUTOHSCROLL
347    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,205,5,18,13
348        CONTROL         "Move the completed torrent to:",IDC_ADDT_MOVETO_CHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,38,220,8
349        EDITTEXT        IDC_ADDT_MOVETO_FOLDER,5,5,195,13,ES_AUTOHSCROLL
350    PUSHBUTTON      "...",IDC_ADDT_MOVETO_BROWSE,205,5,18,13
351END
352
353IDD_ADD_TORRENT DIALOGEX 0, 0, 230, 124
354STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
355EXSTYLE WS_EX_STATICEDGE
356CAPTION "Add Torrent"
357FONT 8, "MS Shell Dlg", 400, 0, 0x1
358BEGIN
359    PUSHBUTTON      "Ok",IDOK,85,65,62,13
360    PUSHBUTTON      "Cancel",IDCANCEL,155,65,62,13
361
362    CONTROL         "Use Compact Allocation.",IDC_CHECK_COMPACT,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,38,220,8
363    CONTROL         "Stopped initially (Allows changing advanced setting)",IDC_CHECK_PAUSED,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,25,220,8
364    LTEXT           "Note. Compact Allocation is incompatible with File Selection",IDC_ADDT_NOTE_TEXT,6,51,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
365END
366
367IDD_CONFIGGENERAL DIALOGEX 0, 0, 325, 90
368STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
369CAPTION "General"
370FONT 8, "MS Shell Dlg", 400, 0, 0x1
371BEGIN
372    CONTROL         "Allow only one instance to run",IDC_GENERAL_ONEINST,
373                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,16,150,11
374    GROUPBOX        "General Settings",IDC_GENERAL_GROUP,5,6,315,77
375    CONTROL         "Advanced GUI",IDC_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
376    CONTROL         "Minimize to tray.",IDC_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
377    CONTROL         "Close to tray",IDC_GENERAL_CLOSETRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
378    CONTROL         "Confirm on close",IDC_GENERAL_CONFIRMCLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
379    LISTBOX         IDC_LANGLIST,165,24,149,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
380    CTEXT           "Language (requires restart)",IDC_GENERAL_LANG,165,13,150,8
381END
382
383IDD_ADVTRACKER DIALOGEX 0,0,305,69
384STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
385FONT 8,"MS Shell Dlg",400,0,1
386BEGIN
387    LTEXT           "List of Trackers.",IDC_TRACKER_LABEL,7,6,95,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
388    PUSHBUTTON      "Apply",IDC_TRACKER_APPLY,126,3,32,14,WS_DISABLED
389    PUSHBUTTON      "Reset",IDC_TRACKER_RESET,92,3,32,14
390    AUTOCHECKBOX    "Send login info to trackers.",IDC_TRACKER_LOGINCHECK,166,4,101,12
391    EDITTEXT        IDC_TRACKER_USER,208,18,92,12,ES_AUTOHSCROLL
392    EDITTEXT        IDC_TRACKER_PASS,208,32,92,12,ES_AUTOHSCROLL | ES_PASSWORD
393    RTEXT           "Username : ",IDC_TRACKER_USER_S,164,20,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
394    RTEXT           "Password : ",IDC_TRACKER_PASS_S,164,34,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
395    CONTROL         "",IDC_TRACKERLIST,"SysListView32",WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,19,154,47
396    PUSHBUTTON      "Apply",IDC_LOGIN_APPLY,207,46,51,14,BS_DEFPUSHBUTTON
397    PUSHBUTTON      "Reannounce",IDC_REANNOUNCE,207,46,51,14
398END
399
400IDD_ADVDEBUGLOG DIALOGEX 0,0,305,81
401STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
402FONT 8,"MS Shell Dlg",400,0,1
403BEGIN
404    CONTROL         "",IDC_DEBUGLISTVIEW,"SysListView32",WS_TABSTOP|WS_BORDER|LVS_ALIGNLEFT|LVS_REPORT,4,7,296,59
405    AUTOCHECKBOX    "Log to file.",IDC_DEBUGFILECHECK,4,69,44,9
406    AUTOCHECKBOX    "Log debug events.",IDC_DEBUGDEBUGCHECK,48,69,198,9
407END
408
409IDD_NEWTORRENT DIALOGEX 0,0,229,132
410STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
411CAPTION "Details"
412FONT 8,"MS Shell Dlg",400,0,1
413BEGIN
414        LTEXT           "Enter the tracker URLs for the torrent.",IDC_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,NOT WS_VISIBLE
415    EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL|NOT WS_VISIBLE
416//    AUTOCHECKBOX    "Have Halite acts a DHT node.",IDC_NEWT_DHTNODE,4,116,118,8,WS_DISABLED
417    AUTOCHECKBOX    "Private",IDC_NEWTORRENT_PRIVATE,4,116,118,8
418        LTEXT           "Comment",IDC_NEWTORRENT_COMMENT_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
419    EDITTEXT        IDC_NEWTORRENT_COMMENT,4,15,203,12,ES_AUTOHSCROLL
420    LTEXT           "Creator",IDC_NEWTORRENT_CREATOR_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
421    EDITTEXT        IDC_NEWTORRENT_CREATOR,4,15,203,12,ES_AUTOHSCROLL
422    LTEXT           "Piece Size (KBs)",HAL_NEWT_PIECESIZE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
423    EDITTEXT        HAL_NEWT_PIECESIZE,4,15,203,12,ES_AUTOHSCROLL|ES_NUMBER
424    LTEXT           "Output File",IDC_NEWT_OUTFILE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
425    EDITTEXT        IDC_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL
426    PUSHBUTTON      "...",IDC_NEWT_OUT_BROWSE,212,14,18,13
427END
428
429IDD_NEWT_FILES DIALOGEX 0,0,186,50
430STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
431EXSTYLE WS_EX_TOOLWINDOW
432CAPTION "Files"
433FONT 8,"MS Shell Dlg",400,0,1
434BEGIN
435    LTEXT           "Select a file or directory from which to construct the torrent.",IDC_NEWTORRENT_SELECT_TEXT,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
436    PUSHBUTTON      "File",IDC_NEWT_FILE_BROWSE,212,14,40,13
437    PUSHBUTTON      "Dir.",IDC_NEWT_DIR_BROWSE,212,14,40,13
438    CONTROL         "",IDC_NEWT_LISTFILES,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
439    LTEXT           "Generated Torrent Name (Cannot change)",HAL_NEWT_FILE_NAME,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
440    EDITTEXT        HAL_NEWT_FILE_NAME_EDIT,4,15,203,12,ES_AUTOHSCROLL|ES_READONLY
441END
442
443IDD_NEWT_TRACKERS DIALOGEX 0,0,229,132
444STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
445CAPTION "Trackers"
446FONT 8,"MS Shell Dlg",400,0,1
447BEGIN
448    CONTROL         "",IDC_NEWT_LISTTRACKERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
449//    LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT
450    LTEXT           "Enter the tracker URLs for the torrent.",IDC_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
451    EDITTEXT        IDC_NEWT_TRACKER,4,42,160,12,ES_AUTOHSCROLL|NOT WS_VISIBLE
452    EDITTEXT        IDC_NEWT_TRACKERTIER,170,42,25,12,ES_AUTOHSCROLL|ES_NUMBER|NOT WS_VISIBLE
453    PUSHBUTTON      "Add",IDC_NEWT_ADDTRACKER,202,41,23,13,NOT WS_VISIBLE
454END
455
456IDD_NEWT_PEERS DIALOGEX 0,0,229,132
457STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
458CAPTION "Web Seeds and DHT Nodes"
459FONT 8,"MS Shell Dlg",400,0,1
460BEGIN
461    CONTROL         "",IDC_NEWT_LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
462//    LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT
463    LTEXT           "Enter any Web Seed URLs and DHT Nodes.",IDC_NEWTORRENT_PEERS_TEXT,4,32,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
464END
465
466IDD_TRACKEDIT DIALOGEX 0,0,186,50
467STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
468EXSTYLE WS_EX_TOOLWINDOW
469CAPTION "Add New Tracker"
470FONT 8,"MS Shell Dlg",400,0,1
471BEGIN
472    PUSHBUTTON      "OK",IDOK,78,32,50,14,BS_DEFPUSHBUTTON
473    PUSHBUTTON      "Cancel",IDCANCEL,132,32,50,14
474    LTEXT           "URL",IDC_TRACKER_TEXT_URL,4,5,100,10
475    EDITTEXT        IDC_TRACKER_EDIT_URL,4,15,134,13,ES_AUTOHSCROLL
476    EDITTEXT        IDC_TRACKER_EDIT_TIER,142,15,40,13,ES_AUTOHSCROLL
477    LTEXT           "Tier",IDC_TRACKER_TEXT_TIER,142,5,40,10
478END
479
480IDD_PEEREDIT DIALOGEX 0,0,240,50
481STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
482EXSTYLE WS_EX_TOOLWINDOW
483CAPTION "Add New Web Seed or DHT Node"
484FONT 8,"MS Shell Dlg 2",400,0,1
485BEGIN
486    PUSHBUTTON      "OK",IDOK,132,32,50,14,BS_DEFPUSHBUTTON
487    PUSHBUTTON      "Cancel",IDCANCEL,186,32,50,14
488    LTEXT           "URL",HAL_NEWT_ADD_PEERS_URL_TEXT,4,5,104,10
489    EDITTEXT        HAL_NEWT_ADD_PEERS_URL_EDIT,4,15,104,13,ES_AUTOHSCROLL
490    LTEXT           "Port",HAL_NEWT_ADD_DHT_PORT_TEXT,112,5,50,10,WS_DISABLED
491    EDITTEXT        HAL_NEWT_ADD_DHT_PORT,112,15,50,13,ES_AUTOHSCROLL|WS_DISABLED
492    LTEXT           "Type",HAL_NEWT_ADD_PEERS_TYP_TEXT,166,5,70,10
493    COMBOBOX        HAL_NEWT_ADD_PEERS_TYP_CBOX,166,15,70,13,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
494END
495
496IDD_ADVPEER DIALOGEX 0, 0, 305, 69
497STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
498FONT 8, "MS Shell Dlg", 400, 0, 0x1
499BEGIN
500    CONTROL         "",IDC_PEERLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,7,297,59
501END
502
503IDD_ADVFILES DIALOGEX 0, 0, 305, 81
504STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
505FONT 8, "MS Shell Dlg", 400, 0, 0x1
506BEGIN
507    LTEXT           "",IDC_CONTAINER,4,7,297,70,0
508END
509
510IDD_PROGRESS DIALOGEX 0,0,191,60
511STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
512EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
513CAPTION "Halite importing IP ranges..."
514FONT 8,"MS Shell Dlg",400,0,1
515BEGIN
516    CTEXT           "",IDC_PROG_DESCP,6,6,180,12
517    CONTROL         "",IDC_PROG_PROGRESS,"msctls_progress32",WS_BORDER,6,22,180,12
518    PUSHBUTTON      "Cancel",IDC_PROG_CANCEL,60,42,66,15
519END
520
521IDR_TRAY_MENU MENU
522BEGIN
523    POPUP "_POPUP_"
524    BEGIN
525        MENUITEM "Open &Halite",ID_TRAY_OPENHALITE
526        MENUITEM SEPARATOR
527        MENUITEM "&Pause All",ID_TRAY_PAUSEALL
528        MENUITEM "&Resume All",ID_TRAY_RESUMEALL
529        MENUITEM SEPARATOR
530        MENUITEM "E&xit",ID_TRAY_EXIT
531    END
532END
533
534IDR_LISTVIEW_MENU MENU
535BEGIN
536    POPUP "_POPUP_"
537    BEGIN
538        MENUITEM "Resume",ID_LVM_RESUME
539        MENUITEM "Pause",ID__LVM_PAUSE
540        MENUITEM "Stop",ID_LVM_STOP
541        MENUITEM "Recheck Files",ID_LVM_RECHECK
542        MENUITEM SEPARATOR
543    //    MENUITEM "Preannounce",ID_TLVM_PRIMARY
544        POPUP "Remove"
545        BEGIN
546            MENUITEM "Torrent File",ID_LVM_REMOVE_T
547            MENUITEM "Torrent and Data",ID_LVM_REMOVE_TD
548        END
549        MENUITEM SEPARATOR
550        MENUITEM "Open Download Folder",ID_LVM_DOWNLOAD_FOLDER
551        MENUITEM "Edit Download Folders",ID_LVM_EDIT_FOLDERS
552    END
553END
554
555IDR_TRACKERLV_MENU MENU
556BEGIN
557    POPUP "_POPUP_"
558    BEGIN
559        MENUITEM "New",ID_TLVM_NEW
560        MENUITEM "Edit",ID_TLVM_EDIT
561        MENUITEM "Set as Primary",ID_TLVM_PRIMARY
562        MENUITEM SEPARATOR
563        MENUITEM "Delete",ID_TLVM_DELETE
564    END
565END
566
567HAL_GENERIC_ADD_LV_MENU MENU
568BEGIN
569    POPUP "_POPUP_"
570    BEGIN
571        MENUITEM "New",         HAL_GENERIC_ALV_NEW
572        MENUITEM "Edit",        HAL_GENERIC_ALV_EDIT
573        MENUITEM "Delete",      HAL_GENERIC_ALV_DELETE
574    END
575END
576
5771 VERSIONINFO
578    FILEVERSION     HALITE_VERSION
579    PRODUCTVERSION  HALITE_VERSION
580    FILEOS          VOS_UNKNOWN
581    FILETYPE        VFT_UNKNOWN
582BEGIN
583    BLOCK "StringFileInfo"
584    BEGIN
585        BLOCK "180904b0"
586        BEGIN
587            VALUE "Comments", "libTorrrent based client."
588            VALUE "CompanyName", "BinaryNotions.com"
589            VALUE "FileDescription", "Halite BitTorrent Client"
590            VALUE "FileVersion", HALITE_VERSION_STRING
591            VALUE "InternalName", "Halite"
592            VALUE "LegalCopyright", "(C) Eoin O'Callaghan 2008"
593            VALUE "OriginalFilename", "Halite.exe"
594            VALUE "ProductName", "Halite"
595            VALUE "ProductVersion", HALITE_VERSION_STRING
596        END
597    END
598    BLOCK "VarFileInfo"
599    BEGIN
600        VALUE "Translation", 6153, 1200
601    END
602END
603
604STRINGTABLE
605BEGIN
606        HAL_NEW_PANE_DLG                          "Construct a New Torrent"
607    IDPANE_STATUS                 "(D-U) 0000.000KB/s - 0000.000KB/s"
608    IDPANE_CAPS_INDICATOR         "CAPS"
609    IDPANE_DHT                    "0000 DHT node(s)"
610    IDPANE_FILTER                 "Filtering 0000000 ranges."
611    IDS_TRYANOTHERPORT            "The BitTorrent session could not start. Try selecting another port in the settings."
612    IDS_DHTTRYANOTHERPORT         "DHT session could not start. Try selecting another port in the settings."
613    IDS_SAVEPROMPT                "Select a directory to save the files to or cancel to not download torrent at all."
614    IDS_NA                        "N/A"
615    HAL_HALITE                    "Halite"
616    HAL_INF                       "∞"
617    HAL_COMPLETED_SUMMARY         "%1$.2fMB of %2$.2fMB"
618    HAL_DOWNLOAD_SUMMARY          "This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
619    HAL_DOWNLOADT_SUMMARY         "Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
620    HAL_PAYLOAD_SUMMARY           "Total transfer including protocol overhead: %1$.2fMB down and %2$.2fMB up."
621        HAL_NAME_STATUS                           "%1%, %2%."
622    HAL_TRANSFERED                                "%1$.2fMB down - %2$.2fMB up"
623    HAL_REMAINING                                 "%1$.2fMB of %2$.2fMB"
624    HAL_RATE                                      "%1$.2fKB/s down - %2$.2fKB/s up"
625    HAL_DHT_ON                    "%1% DHT node(s)"
626    HAL_CSPLASH_ACT_MSG           "%1% active torrent(s)"
627    HAL_CSPLASH_SHUTDOWN_MSG      "Shutting down session"
628    HAL_ADDT_TITLE                            "Edit Torrent Save Folders"
629    HAL_DHT_OFF                   "DHT disabled"
630    HAL_IPFILTER_ON               "Filtering %1% range(s)"
631    HAL_IPFILTER_OFF              "IP filter disabled"
632    HAL_EVENT_STDEXP              "Standard exception (%1%) thrown from %2%."
633    HAL_DOWN_RATES                "(D-U) %1$.2fKB/s - %2$.2fKB/s"
634    HAL_NOT_LISTENING             "Halite not listening!"
635    HAL_PORT_OPEN                 "Port %1% open"
636    HAL_VERSION_STRING            HALITE_VERSION_STRING
637        HAL_FOLDER_SELECT                         "Select a directory to save the downloads to. Select cancel to accept default 'incoming' location."
638        HAL_TORRENT_TAB                           "Torrent"
639        HAL_PEERS_TAB                             "Peers"
640        HAL_FILES_TAB                             "Files"
641        HAL_TRACKER_TAB                           "Tracker"
642        HAL_DEBUG_TAB                             "Logging"
643        HAL_INCORRECT_ENCODING_LEVEL  "An invalid encoding level, %1%, was passed as an encryption setting."
644        HAL_INCORRECT_CONNECT_POLICY  "An invalid connection policy, %1%, was passed as an encryption setting."
645        HAL_AUTOSORT                              "Auto Sort"
646        HAL_TORRENT_ROOT                          "Torrent Root"
647        HAL_WINDOW_CLOSECONFRIM           "Are you sure you wish to close Halite? Doing so will stop any active torrents"
648        HAL_WINDOW_SOCKETS_FAILED     "The socket infrastructure failed to start so Halite is forced to close. Please ensure no program is blocking Halites network access."
649        HAL_SAVE_TEXT                                   "Save"
650        HAL_LISTVIEW_CONFIRMDELETE              "Are you sure you wish to delete all downloaded data?"
651END
652
653STRINGTABLE
654BEGIN
655    HAL_PEER_INTERESTING                "Interesting"
656    HAL_PEER_CHOKED                     "Choked"
657    HAL_PEER_REMOTE_INTERESTING         "Interested in us"
658    HAL_PEER_REMOTE_CHOKED              "Has choked us"
659    HAL_PEER_SUPPORT_EXTENSIONS         "Supports extensions"
660    HAL_PEER_LOCAL_CONNECTION           "Local connection"
661    HAL_PEER_HANDSHAKE                  "Handshake"
662    HAL_PEER_CONNECTING                 "Connecting"
663    HAL_PEER_QUEUED                             "Queued"
664    HAL_PEER_RC4_ENCRYPTED              "RC4 Encrypted"
665    HAL_PEER_PLAINTEXT_ENCRYPTED    "Plaintext Encrypted"
666END
667
668STRINGTABLE
669BEGIN
670    HAL_TORRENT_QUEUED_CHECKING         "Queued for Checking"
671    HAL_TORRENT_CHECKING_FILES          "Checking Files"
672    HAL_TORRENT_CONNECTING                      "Connecting to Tracker"
673    HAL_TORRENT_DOWNLOADING                     "Downloading"
674    HAL_TORRENT_FINISHED                        "Finished"
675    HAL_TORRENT_SEEDING                         "Seeding"
676    HAL_TORRENT_ALLOCATING                      "Allocating"
677    HAL_TORRENT_QUEUED                          "Queued"
678        HAL_TORRENT_STOPPED                             "Stopped"
679        HAL_TORRENT_PAUSED                              "Paused"
680        HAL_TORRENT_STOPPING                    "Stopping"
681        HAL_TORRENT_PAUSING                             "Pausing"
682        HAL_TORRENT_METADATA                    "Downloading Metadata"
683       
684        HAL_TORRENT_IMPORT_FILTERS              "Importing IP Filters..."
685        HAL_TORRENT_LOAD_FILTERS                "Loading IP filters..."
686
687        HAL_NEWT_CREATING_TORRENT               "Creating Torrent..."
688        HAL_NEWT_HASHING_PIECES                 "Calculating Piece Hashes..."
689        HAL_NEWT_DIALOG_TITLE                   "Creating a New Torrent File"
690        HAL_NEWT_CREATION_CANCELED              "User canceled Torrent file creation"
691
692        HAL_NEWT_ADD_PEERS_WEB                  "Web Seed"
693        HAL_INT_NEWT_ADD_PEERS_WEB              "Web Seed"
694        HAL_NEWT_ADD_PEERS_DHT                  "DHT Node"
695        HAL_INT_NEWT_ADD_PEERS_DHT              "DHT Node"
696
697        HAL_NEWT_EDIT_PEER                              "Edit Peer"
698        HAL_NEWT_ADD_NEW_PEER                   "Add New Peer"
699        HAL_NEWT_SAVING_TORRENT                 "Saving Torrent"
700        HAL_NEWT_EDIT_TRACKER                   "Edit Tracker"
701        HAL_NEWT_ADD_NEW_TRACKER                "Add New Tracker"
702END
703
704STRINGTABLE
705BEGIN
706        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"
707        HAL_DEBUG_LISTVIEW_COLUMNS              "Time;Message;Severity"
708        HAL_TRACKER_LISTVIEW_COLUMNS    "Tracker;Tier"
709        HAL_DIALOGPEER_LISTVIEW_COS             "Peer;Country;Download;Upload;Type;Client"
710        HAL_DIALOGPEER_LISTVIEW_ADV             "Peer;Country;Download;Upload;Type;Client;Status"
711        HAL_DIALOGFILE_LISTVIEW_ADV             "Filename;Path;Size;Progress;Priority"
712        HAL_FILES_LISTVIEW_ADV                  "Filename;Path;Size"
713        HAL_NTPLVM_NAMES                                "URL;Port;Type"
714
715        HAL_FILE_PRIORITY_0             "Don't download"
716        HAL_FILE_PRIORITY_1             "Normal"
717        HAL_FILE_PRIORITY_2             "2"
718        HAL_FILE_PRIORITY_3             "3"
719        HAL_FILE_PRIORITY_4             "4"
720        HAL_FILE_PRIORITY_5             "Above Normal"
721        HAL_FILE_PRIORITY_6             "6"
722        HAL_FILE_PRIORITY_7             "Maximum"
723END
724
725IDR_FILESLISTVIEW_MENU MENU
726BEGIN
727    POPUP "_POPUP_"
728    BEGIN
729        POPUP "Set Priority"
730        BEGIN
731            MENUITEM "Don't download",ID_HAL_FILE_PRIORITY_0
732            MENUITEM "Normal",ID_HAL_FILE_PRIORITY_1
733//            MENUITEM "2",ID_HAL_FILE_PRIORITY_2
734//            MENUITEM "3",ID_HAL_FILE_PRIORITY_3
735//            MENUITEM "4",ID_HAL_FILE_PRIORITY_4
736            MENUITEM "Above Normal",ID_HAL_FILE_PRIORITY_5
737//            MENUITEM "6",ID_HAL_FILE_PRIORITY_6
738            MENUITEM "Maximum",ID_HAL_FILE_PRIORITY_7
739        END
740    END
741END
742
743IDR_MAINFRAME TOOLBAR 22,22
744BEGIN
745    BUTTON                      ID_FILE_NEW
746    BUTTON                      ID_FILE_OPEN
747    SEPARATOR
748    BUTTON                      ID_SETTINGS
749    BUTTON                      ID_ADVANCED
750    SEPARATOR
751    BUTTON                      ID_RESUME
752    BUTTON                      ID_PAUSE
753    SEPARATOR
754    BUTTON                      ID_HELP
755END
756
757IDR_APP_ICON            ICON                    "Halite.ico"
758IDR_MAINFRAME           BITMAP                  "toolbar.bmp"
759
760STRINGTABLE
761BEGIN
762    HAL_EVENTNONE                                       "None"
763    HAL_EVENTDEBUG                                      "Debug"
764    HAL_EVENTINFO                                       "Info"
765    HAL_EVENTWARNING                            "Warning"
766    HAL_EVENTCRITICAL                           "Critical"
767
768    HAL_PEER_ALERT                                      "Peer %2%: %1%."
769    HAL_PEER_BAN_ALERT                          "Peer banned %2%. (%1%)"
770        HAL_HASH_FAIL_ALERT                             "Hash failed for piece %2% of %1%."
771        HAL_URL_SEED_ALERT                              "URL Seed %2%, %3%. (%1%)"
772        HAL_TRACKER_WARNING_ALERT               "Tracker warning: %2%! (%1%)"
773        HAL_TRACKER_ANNOUNCE_ALERT              "Tracker Announce. (%1%)"
774        HAL_TRACKER_ALERT                               "Alert %2%, Status code: %4%, Times %3%. (%1%)"
775        HAL_TRACKER_REPLY_ALERT                 "%2%. %3% Peers. (%1%)"
776        HAL_FAST_RESUME_ALERT                   "Fast resume failed: %2%. (%1%)"
777        HAL_PIECE_FINISHED_ALERT                "Piece %2% finished. (%1%)"
778        HAL_BLOCK_FINISHED_ALERT                "Block %2% of piece %3% finished. (%1%)"
779        HAL_BLOCK_DOWNLOADING_ALERT             "Block %2% of piece %3% downloading. (%1%)"
780        HAL_LISTEN_SUCCEEDED_ALERT              "Successfully %1%."
781        HAL_LISTEN_FAILED_ALERT                 "Failed, %1%"
782        HAL_LISTEN_V6_FAILED_ALERT              "IP version 6 listen attempt failed. Not serious."
783        HAL_IPFILTER_ALERT                              "IP Filter blocked %1%, %2%."
784
785        LBT_EVENT_TORRENT_FINISHED              "Torrent %1% finished."
786        LBT_EVENT_TORRENT_PAUSED                "Torrent %1% paused."
787    HAL_EVENT_TORRENTEXP                        "Torrent (%1%) exception caught: %2% from %3%."
788    HAL_EVENT_INVTORRENT                        "Invalid torrent (%1%) from %2%."
789
790        HAL_EVENT_EXP                                   "Exception caught: %1%, from %2%."
791    HAL_EVENT_XML_EXP                           "Xml Exception (%1%) with %2%."
792        HAL_EVENT_UNICODE_EXP                   "Unicode exception: %1%."
793        HAL_EVENT_UNCLASSIFIED                  "Bittorrent Event: %1%."
794        HAL_EVENT_PEER                                  "Peer Event: %1%."
795        HAL_EVENT_TRACKER                               "Tracker Event: %1%."
796        HAL_EVENT_DEBUG                                 "Debug Event: %1%."
797        HAL_EVENT_DEV                                   "Dev Msg: %1%."
798END
799
800#if 0
801
802IDD_DIALOG1 DIALOGEX 0, 0, 186, 95
803STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
804CAPTION "Dialog"
805FONT 8, "MS Shell Dlg", 400, 0, 0x1
806BEGIN
807    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
808    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
809END
810
811IDD_DIALOG2 DIALOGEX 0, 0, 186, 94
812STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
813CAPTION "Dialog"
814FONT 8, "MS Shell Dlg", 400, 0, 0x1
815BEGIN
816    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
817    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
818END
819
820IDD_DIALOG3 DIALOGEX 0, 0, 186, 95
821STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
822EXSTYLE WS_EX_TOOLWINDOW
823CAPTION "Dialog"
824FONT 8, "MS Shell Dlg", 400, 0, 0x1
825BEGIN
826    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
827    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
828END
829
830IDD_DIALOG4 DIALOGEX 0, 0, 186, 94
831STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
832FONT 8, "MS Shell Dlg", 400, 0, 0x1
833BEGIN
834    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
835    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
836END
837
838#endif
Note: See TracBrowser for help on using the repository browser.