source: trunk/res/Halite.rc @ 634

Revision 634, 94.5 KB checked in by Eoin, 11 years ago (diff)

Fixed small issues with file progress and paused states with unmanaged torrents.

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
9#define APSTUDIO_READONLY_SYMBOLS
10/////////////////////////////////////////////////////////////////////////////
11//
12// Generated from the TEXTINCLUDE 2 resource.
13//
14#include "afxres.h"
15
16#include "WTLx/GenericAddDialog.hpp"
17#include "WTLx/GenericAddListView.hpp"
18
19#include "advtabs/Tracker.hpp"
20#include "advtabs/TrackerListView.hpp"
21#include "advtabs/TrackerAddDialog.hpp"
22
23#include "HaliteWindow.hpp"
24#include "HaliteListView.hpp"
25#include "HaliteDialog.hpp"
26#include "AddTorrentDialog.hpp"
27#include "SplashDialog.hpp"
28#include "HaliteListViewDlg.hpp"
29#include "NewTorrentDialog.hpp"
30#include "NewTorrentTracker.hpp"
31#include "NewTorrentPeers.hpp"
32#include "ConfigOptions.hpp"
33#include "ProgressDialog.hpp"
34#include "halTorrentDefines.hpp"
35#include "halEvent.hpp"
36
37/////////////////////////////////////////////////////////////////////////////
38#undef APSTUDIO_READONLY_SYMBOLS
39
40
41#ifdef APSTUDIO_INVOKED
42/////////////////////////////////////////////////////////////////////////////
43//
44// TEXTINCLUDE
45//
46
471 TEXTINCLUDE
48BEGIN
49    "resource.h\0"
50END
51
522 TEXTINCLUDE
53BEGIN
54    "#include ""afxres.h""\r\0"
55END
56
573 TEXTINCLUDE
58BEGIN
59    "\r\0"
60END
61
62#endif    // APSTUDIO_INVOKED
63
64#if 0
65
66#define ID_ADD_TORRENT_BEGIN            11000
67#define ID_CONFIG_BEGIN                         12000
68#define ID_NEWTORRENT_BEGIN                     14000
69#define HAL_NEWT_ADD_PEERS                      14500
70#define ID_PROGRESS_BEGIN                       15000
71#define HAL_TRACKER_ADD_BEGIN           15500
72#define ID_TRACKER_BEGIN                        16000
73#define ID_TLVM_BEGIN                           17000
74#define ID_NTTLVM_BEGIN                         18000
75#define ID_NTPLVM_BEGIN                         19000
76
77#define HAL_GENERIC_HOLDER                      20000
78#define HAL_GENERIC_ALV_BEGIN           20010
79#define HAL_SPLASHDIALOG_BEGIN          20200
80
81#define HAL_MAIN_LISTVIEW_BEGIN         30000
82#define HAL_MAIN_LISTVIEW_DLG_BEGIN     30100
83
84#define HAL_EVENT_BEGIN                         40000
85#define HAL_TORRENT_EXT_BEGIN           41000
86#define HAL_TORRENT_INT_BEGIN           42000
87
88#endif
89
90STRINGTABLE
91BEGIN
92    HALITE_LANGUAGE "English"
93END
94
95HAL_ABOUT_TEXT HALITE_RTF_RES_TYPE "English.rtf"
96
97HAL_ADVOVERVIEW DIALOGEX 0, 0, 313, 121
98STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
99FONT 8, "MS Shell Dlg", 400, 0, 0x1
100BEGIN
101    GROUPBOX        "Torrent",HAL_GROUP_TORRENT,4,7,305,83
102    GROUPBOX        "Tracker",HAL_GROUP_TRACKER,4,92,305,25
103    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,10,77,291,8
104
105    EDITTEXT        HAL_EDITTLD,210,46,34,12,ES_AUTOHSCROLL
106    EDITTEXT        HAL_EDITTLU,267,46,34,12,ES_AUTOHSCROLL
107    EDITTEXT        HAL_EDITNCD,210,22,34,12,ES_AUTOHSCROLL
108    EDITTEXT        HAL_EDITNCU,267,22,34,12,ES_AUTOHSCROLL
109    LTEXT           "Torrent connection limits:",HAL_NC,185,13,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
110    LTEXT           "Torrent transfer rates (KB/s):",HAL_TL,185,37,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
111    RTEXT           "Total",HAL_NCD,182,25,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
112    RTEXT           "Up",HAL_NCU,245,25,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
113    RTEXT           "Up",HAL_TLU,245,49,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
114    RTEXT           "Down",HAL_TLD,182,49,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
115
116    LTEXT           "N/A",HAL_TRACKER,10,103,170,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
117
118    RTEXT           "Update in:",HAL_UPDATESTAT,185,103,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
119    LTEXT           "N/A",HAL_UPDATE,228,103,71,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
120    EDITTEXT        HAL_EDITRATIO,267,60,34,12,ES_AUTOHSCROLL
121    LTEXT           "Ratio (this session):",HAL_RATIOESTATIC,182,63,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
122
123    RTEXT           "Torrent:",HAL_NAME_STATUS_LABEL,9,17,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
124    LTEXT           "N/A",HAL_NAME_STATUS,53,17,127,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
125
126    RTEXT           "Peers:",HAL_PEERS_LABEL,9,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
127    RTEXT           "Transferred:",HAL_TRANSFERED_LABEL,9,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
128    RTEXT           "Remaining:",HAL_REMAINING_LABEL,9,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
129    RTEXT           "Rates:",HAL_RATE_LABEL,9,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
130
131    RTEXT           "Seeds:",HAL_SEEDS_LABEL,97,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
132    RTEXT           "Overhead:",HAL_OVERHEAD_LABEL,97,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
133    RTEXT           "ETA:",HAL_ETA_LABEL,97,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
134    RTEXT           "Ratio:",HAL_RATIO_LABEL,97,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
135
136    LTEXT           "N/A",HAL_PEERS,53,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
137    LTEXT           "N/A",HAL_TRANSFERED,53,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
138    LTEXT           "N/A",HAL_REMAINING,53,52,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
139    LTEXT           "N/A",HAL_RATE,53,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
140
141    LTEXT           "N/A",HAL_SEEDS,141,28,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
142    LTEXT           "N/A",HAL_OVERHEAD,141,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
143    LTEXT           "N/A",HAL_ETA,141,52,39,8,SS_WORDELLIPSIS| SS_CENTERIMAGE
144    LTEXT           "N/A",HAL_RATIO,141,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
145END
146
147HAL_CONFIGBIT DIALOGEX 0, 0, 325, 155
148STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
149CAPTION "BitTorrent"
150FONT 8, "MS Shell Dlg", 400, 0, 0x1
151BEGIN
152    GROUPBOX        "Enable Extension",HAL_BC_EXT_GROUP,5,6,315,54
153    CONTROL         "Metadata Extension",HAL_BC_METADATADHT_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11
154    CONTROL         "uTorrent Metadata",HAL_BC_uT_METADATA_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11
155    CONTROL         "uTorrent Peer Exchange",HAL_BC_uT_PEEER_EX_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11
156    CONTROL         "Smart Ban Plugin",HAL_BC_SMART_BAN_PLUGIN_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11
157
158    GROUPBOX        "Current Cache Status",HAL_BC_CACHE_GROUP,5,6,315,54
159    RTEXT           "Write Cache Hit Ratio :",HAL_BC_CACHE_WR_L,12,91,80,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
160    LTEXT           "N/A",HAL_BC_CACHE_WR_T,141,28,90,8,SS_WORDELLIPSIS | SS_CENTERIMAGE//|SS_BLACKFRAME
161    RTEXT           "Read Cache Hit Ratio :",HAL_BC_CACHE_RR_L,12,91,70,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
162    LTEXT           "N/A",HAL_BC_CACHE_RR_T,141,28,90,8,SS_WORDELLIPSIS | SS_CENTERIMAGE//|SS_BLACKFRAME
163
164        RTEXT           "Max Size (MiB) :",HAL_BC_CACHE_MS_L,12,91,80,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
165    EDITTEXT        HAL_BC_CACHE_MS_E,135,29,65,12,ES_AUTOHSCROLL
166    RTEXT           "Piece Expiry (sec) :",HAL_BC_CACHE_PE_L,12,91,80,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
167    EDITTEXT        HAL_BC_CACHE_PE_E,135,29,65,12,ES_AUTOHSCROLL
168
169    RTEXT           "Read Size :",HAL_BC_CACHE_RS_L,12,91,80,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
170    LTEXT           "N/A",HAL_BC_CACHE_RS_T,141,28,90,8,SS_WORDELLIPSIS | SS_CENTERIMAGE//|SS_BLACKFRAME
171    RTEXT           "Cache Write Size :",HAL_BC_CACHE_WS_L,12,91,70,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
172    LTEXT           "N/A",HAL_BC_CACHE_WS_T,141,28,90,8,SS_WORDELLIPSIS | SS_CENTERIMAGE//|SS_BLACKFRAME
173//    RTEXT           "Total :",HAL_BC_CACHE_TOTAL_L,12,91,70,12,SS_WORDELLIPSIS|SS_CENTERIMAGE//|SS_BLACKFRAME
174//    LTEXT           "N/A",HAL_BC_CACHE_TOTAL_T,141,28,90,8,SS_WORDELLIPSIS | SS_CENTERIMAGE//|SS_BLACKFRAME
175
176END
177
178HAL_CONFIGPORTS DIALOGEX 0, 0, 325, 155
179STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
180CAPTION "Ports"
181FONT 8, "MS Shell Dlg", 400, 0, 0x1
182BEGIN
183    RTEXT           "Open a (single) port between : ",HAL_BITT_OPENPORT,12,31,120,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
184    EDITTEXT        HAL_BC_PORTFROM,135,29,65,12,ES_AUTOHSCROLL
185    EDITTEXT        HAL_BC_PORTTO,250,29,65,12,ES_AUTOHSCROLL
186    CONTROL         "Enable DHT (will not apply to private torrents)",HAL_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10
187       
188    EDITTEXT        HAL_BC_DHT_MAXREPLIES_T,180,119,80,12,ES_AUTOHSCROLL
189        RTEXT           "Max replies : ",HAL_BC_DHT_MAXREPLIES_S,110,121,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE   
190    EDITTEXT        HAL_BC_DHT_BRANCHING_T,180,119,80,12,ES_AUTOHSCROLL
191        RTEXT           "Search banching : ",HAL_BC_DHT_BRANCHING_S,110,121,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
192    EDITTEXT        HAL_BC_DHT_MAXFAILS_T,180,119,80,12,ES_AUTOHSCROLL
193        RTEXT           "Max failures : ",HAL_BC_DHT_MAXFAILS_S,110,121,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE     
194       
195    CONTROL         "Port (UDP)",HAL_BC_DHT_PORT_R,"Button",BS_AUTORADIOBUTTON|WS_GROUP,211,19,57,10
196    EDITTEXT        HAL_BC_DHT_PORT_E,180,119,80,12,ES_AUTOHSCROLL
197        CONTROL         "random up to",HAL_BC_DHT_RAND_PORT_R,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12
198    EDITTEXT        HAL_BC_DHT_PORT_UPPER_E,180,119,80,12,ES_AUTOHSCROLL
199    CONTROL         "Match the listen port number (recommended).",HAL_BC_DHT_PORT_LISTEN_R,"Button",BS_AUTORADIOBUTTON,211,19,57,10
200
201//    CONTROL         "Enable DHT Extentions",HAL_BC_DHT_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10
202    CONTROL         "to",HAL_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12
203    CONTROL         "Select a random port within this range.",HAL_BITT_RANDOMIZE_PORT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12
204    LTEXT           "Select the (TCP) port (or range) on which to listen for incoming connections.",HAL_BITT_SELECT_TEXT,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE
205    GROUPBOX        "Distributed Hash Tables",HAL_BITT_GDHT,5,108,260,39
206 //   RTEXT           "(DHT will not apply to private torrents)",HAL_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
207    GROUPBOX        "General Settings",HAL_BITT_GSETTINGS,5,6,315,54
208    EDITTEXT        HAL_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL
209    CONTROL         "Limit the no. of half-open connections",HAL_BC_HALFCONN_CHECK,
210                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,45,190,12
211    GROUPBOX        "Port Forwarding",HAL_BITT_GPORTFORWARDING,5,6,315,54
212//    CONTROL         "None (Managed Externally)",HAL_BITT_GPORTFORWARD_NONE,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,11
213    CONTROL         "UnPlug and Play",HAL_BITT_GPORTFORWARD_UPNG,"Button",BS_AUTOCHECKBOX,284,83,16,11
214    CONTROL         "NAT-PMG",HAL_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTOCHECKBOX,284,93,16,11
215    LTEXT           "UPnP router model (if recognised).",HAL_BIT_GPORTFORWARD_MODEL,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE       
216    EDITTEXT        HAL_BIT_GPORTFORWARD_MODELTEXT,135,29,65,12,ES_AUTOHSCROLL
217    PUSHBUTTON      "Test",HAL_BITT_GPORTFORWARD_TEST,207,46,51,11,NOT WS_VISIBLE
218
219    LISTBOX         HAL_BITT_GPORTFORWARD_LIST,165,24,149,7,LBS_SORT|LBS_NOINTEGRALHEIGHT|WS_VSCROLL|WS_TABSTOP|NOT WS_VISIBLE
220//    RTEXT           "Need Help?",HAL_BC_HELP_LINK,229,139,51,8
221//    RTEXT           "Why?",HAL_BC_CON_WHY,239,47,31,8
222END
223
224HAL_CONFIGGLOBAL DIALOGEX 0, 0, 325, 155
225STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
226CAPTION "Globals"
227FONT 8, "MS Shell Dlg", 400, 0, 0x1
228BEGIN
229    GROUPBOX        "Global Limits",HAL_CONFIGT_GLOBALG,5,6,315,55
230    EDITTEXT        HAL_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL
231    RTEXT           "Total max connections :",HAL_CONFIGT_TOTALMAX,12,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
232    RTEXT           "Total upload slots :",HAL_CONFIGT_TOTALUP,12,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
233    EDITTEXT        HAL_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL
234    EDITTEXT        HAL_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL
235    RTEXT           "Download Rate (KB/s) :",HAL_CONFIGT_DOWNRATE,165,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
236    RTEXT           "Upload Rate (KB/s) :",HAL_CONFIGT_UPRATE,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
237    EDITTEXT        HAL_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL
238
239    LTEXT           "These options set global maximums which will always be honoured.",HAL_CONFIGT_GLOBAL_TEXT,12,16,300,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
240
241    GROUPBOX        "Queue System",HAL_CGLOBAL_QUEUEG,5,6,315,55
242    RTEXT           "Active downloads :",HAL_CGLOBAL_ACTDOWNT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
243    EDITTEXT        HAL_CGLOBAL_ACTDOWN,271,42,42,12,ES_AUTOHSCROLL
244    RTEXT           "Active seeds :",HAL_CGLOBAL_ACTSEEDT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
245    EDITTEXT        HAL_CGLOBAL_ACTSEED,271,42,42,12,ES_AUTOHSCROLL
246    CONTROL         "Don't count slow torrents.",HAL_CGLOBAL_DISCOUNTSLOW,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,50,175,10
247       
248    RTEXT           "Active seeds hard limit:",HAL_CGLOBAL_ACTSEEDHARDT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
249    EDITTEXT        HAL_CGLOBAL_ACTSEEDHARD,271,42,42,12,ES_AUTOHSCROLL
250
251    GROUPBOX        "Seeding Limits",HAL_CGLOBAL_SEEDINGG,5,6,315,55
252        RTEXT           "Share ratio limit:",HAL_CGLOBAL_SHARERATIOT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
253        EDITTEXT        HAL_CGLOBAL_SHARERATIO,271,42,42,12,ES_AUTOHSCROLL
254    RTEXT           "Time ratio limit:",HAL_CGLOBAL_SHARERATIOTIMET,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
255    EDITTEXT        HAL_CGLOBAL_SHARERATIOTIME,271,42,42,12,ES_AUTOHSCROLL
256    RTEXT           "Time limit (sec):",HAL_CGLOBAL_SHARETIMET,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
257    EDITTEXT        HAL_CGLOBAL_SHARETIME,271,42,42,12,ES_AUTOHSCROLL
258END
259
260
261HAL_CONFIGPROXY DIALOGEX 0, 0, 285, 155
262STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
263CAPTION "Proxies"
264FONT 8, "MS Shell Dlg", 400, 0, 0x1
265BEGIN
266    EDITTEXT        HAL_BC_PROXYIP,124,46,77,12,ES_AUTOHSCROLL
267    RTEXT           "Proxy Host/IP : ",HAL_BC_PROXYIP_S,68,48,55,12
268    CONTROL         "Use a proxy.",HAL_BC_PROXYCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,48,59,8
269    RTEXT           "Port : ",HAL_BC_PROXYPORT_S,204,48,24,12
270    EDITTEXT        HAL_BC_PROXYPORT,229,46,42,12,ES_AUTOHSCROLL | ES_NUMBER
271    EDITTEXT        HAL_BC_PROXYUSER,54,62,89,12,ES_AUTOHSCROLL
272    RTEXT           "Username : ",HAL_BC_PROXYUSER_S,8,64,44,12
273    RTEXT           "Password : ",HAL_BC_PROXYPASS_S,146,64,39,12
274    EDITTEXT        HAL_BC_PROXYPASS,188,62,83,12,ES_PASSWORD | ES_AUTOHSCROLL
275    CONTROL         "Peer",HAL_PEERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,16,19,57,15
276    CONTROL         "Web Seed",HAL_WEBPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,81,19,57,15
277    CONTROL         "Tracker",HAL_TRACKERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,146,19,57,15
278    CONTROL         "DHT",HAL_DHTPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE | WS_DISABLED,211,19,57,15
279    GROUPBOX        "Proxy Settings",HAL_STATIC,6,7,271,108
280END
281
282HAL_CONFIGSECURITY DIALOGEX 0, 0, 325, 155
283STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
284CAPTION "Security"
285FONT 8, "MS Shell Dlg", 400, 0, 0x1
286BEGIN
287    GROUPBOX        "IP Filtering",HAL_SECURITY_IPF_GB,5,6,315,30
288    CONTROL         "Enable IP filtering.",HAL_BC_FILTERCHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,18,105,12
289    PUSHBUTTON      "Import ipfilter.dat",HAL_BC_FILTERLOAD,220,17,95,14,WS_DISABLED
290    PUSHBUTTON      "Clear IP database",HAL_BC_FILTERCLEAR,120,17,95,14,WS_DISABLED
291    GROUPBOX        "Protocol Encryption",HAL_SECURITY_PE_GB,5,39,315,75
292    CONTROL         "Enable Protocol Encryption.",HAL_SC_ENABLE_PE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,50,175,10
293    GROUPBOX        "Connection Policies",HAL_SECURITY_CP_GB,194,49,120,58
294    LTEXT           "Incoming",HAL_SECURITY_INCOMING,200,61,50,9
295    RTEXT           "Outgoing",HAL_SECURITY_OUTGOING,255,61,50,9
296    CONTROL         "",HAL_SC_PE_CP_IN_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,205,73,16,10
297    CONTROL         "",HAL_SC_PE_CP_IN_ENABLED,"Button",BS_AUTORADIOBUTTON,205,83,16,10
298    CONTROL         "",HAL_SC_PE_CP_IN_DISABLED,"Button",BS_AUTORADIOBUTTON,205,93,16,10
299    CTEXT           "Forced",HAL_SECURITY_FORCED,225,73,55,8
300    CTEXT           "Enabled",HAL_SECURITY_ENABLED,225,83,55,8
301    CTEXT           "Disabled",HAL_SECURITY_DISABLED,225,93,55,8
302    CONTROL         "",HAL_SC_PE_CP_OUT_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10,WS_EX_RIGHT
303    CONTROL         "",HAL_SC_PE_CP_OUT_ENABLED,"Button",BS_AUTORADIOBUTTON,284,83,16,10,WS_EX_RIGHT
304    CONTROL         "",HAL_SC_PE_CP_OUT_DISABLED,"Button",BS_AUTORADIOBUTTON,284,93,16,10,WS_EX_RIGHT
305    GROUPBOX        "Encoding Level",HAL_SECURITY_EL_GB,12,63,175,44
306    CONTROL         "Plaintext",HAL_SC_PE_ENC_PLAIN,"Button",BS_AUTORADIOBUTTON|WS_GROUP,18,73,160,10
307    CONTROL         "RC4",HAL_SC_PE_ENC_RC4,"Button",BS_AUTORADIOBUTTON,18,84,160,10
308    CONTROL         "Both",HAL_SC_PE_ENC_BOTH,"Button",BS_AUTORADIOBUTTON,18,95,75,10
309    CONTROL         "Prefer RC4",HAL_SC_PE_ENC_RC4_PERFER,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,100,95,80,10
310//    LTEXT           "Need Help?",HAL_SC_HELP_LINK,7,138,255,8
311END
312
313HAL_CONFIGREMOTE DIALOGEX 0, 0, 283, 94
314STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
315CAPTION "Remote Control"
316FONT 8, "MS Shell Dlg", 400, 0, 0x1
317BEGIN
318    GROUPBOX        "Remote Control Options",HAL_STATIC,6,6,271,30
319    CONTROL         "Enable Remote Control",HAL_REMOTECTRL,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,12,18,96,12
320    RTEXT           "Port to listen on : ",HAL_STATIC,159,19,66,11,WS_DISABLED
321    EDITTEXT        HAL_REMOTEPORT,229,18,42,12,ES_AUTOHSCROLL | WS_DISABLED
322    CTEXT           "*** Disabled ***",HAL_STATIC,32,44,217,11
323END
324
325HAL_THEMETEST DIALOGEX 0,0,186,94
326STYLE DS_CONTROL | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_SYSMENU
327EXSTYLE WS_EX_TRANSPARENT | WS_EX_CONTROLPARENT
328FONT 8,"MS Shell Dlg",400,0,1
329BEGIN
330    AUTOCHECKBOX    "Check1",HAL_CHECK1,7,7,44,10
331    PUSHBUTTON      "Button1",HAL_BUTTON1,69,7,51,14
332    EDITTEXT        HAL_EDIT1,134,7,45,15,ES_AUTOHSCROLL
333    AUTORADIOBUTTON "Radio1",HAL_RADIO1,129,38,50,11,NOT WS_TABSTOP
334    EDITTEXT        HAL_EDIT2,14,62,45,15,WS_DISABLED | ES_AUTOHSCROLL
335    LTEXT           "Static",HAL_STATIC,85,59,68,10
336    LTEXT           "Static",HAL_STATIC,25,35,19,8
337    GROUPBOX        "Static",HAL_STATIC,10,25,98,25
338    LTEXT           "Static",HAL_STATIC,65,35,19,8
339END
340
341HAL_DEBUGDIALOG DIALOGEX 0,0,252,105
342STYLE DS_SETFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SIZEBOX | WS_SYSMENU
343EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
344CAPTION "Halite Debug Dialog"
345FONT 8,"MS Sans Serif",0,0,0
346BEGIN
347    EDITTEXT        ED_CON,3,3,246,99,WS_VSCROLL | ES_AUTOHSCROLL | ES_MULTILINE | ES_READONLY
348END
349
350HAL_CONFIGTORRENT DIALOGEX 0, 0, 325, 165
351STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
352CAPTION "Torrents"
353FONT 8, "MS Shell Dlg", 400, 0, 0x1
354BEGIN
355
356    EDITTEXT        HAL_BC_TMAXCONN,118,88,42,12,ES_AUTOHSCROLL
357    RTEXT           "Total max connections :",HAL_CONFIGT_TORMAX,12,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
358    RTEXT           "Total upload slots :",HAL_CONFIGT_TORUP,12,104,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
359    EDITTEXT        HAL_BC_TMAXUP,118,101,42,12,ES_AUTOHSCROLL
360    EDITTEXT        HAL_BC_TDOWNRATE,271,88,42,12,ES_AUTOHSCROLL
361    RTEXT           "Download Rate (KB/s) :",HAL_CONFIGT_TDOWNRATE,165,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
362    RTEXT           "Upload Rate (KB/s) :",HAL_CONFIGT_TORUPRATE,165,104,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
363    EDITTEXT        HAL_BC_TUPRATE,271,101,42,12,ES_AUTOHSCROLL
364    GROUPBOX        "Torrent Defaults",HAL_CONFIGT_TORRENTG,5,66,315,82
365    LTEXT           "These options specify the default limits applied to new torrents.",HAL_CONFIGT_TOR_TEXT,12,76,301,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
366    RTEXT           "Default save folder :",HAL_CONFIGT_DEF_FOLDER,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
367    EDITTEXT        HAL_BC_SAVEFOLDER,118,119,170,12,ES_AUTOHSCROLL
368    PUSHBUTTON      "...",HAL_BC_SAVEBROWSE,293,118,18,13
369    AUTOCHECKBOX    "",HAL_BC_MOVETO_CHECK,118,133,10,11
370    RTEXT           "Move finished torrents to :",HAL_BC_MOVETO_TEXT,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
371    EDITTEXT        HAL_BC_MOVETO_FOLDER,118,119,170,12,ES_AUTOHSCROLL
372    PUSHBUTTON      "...",HAL_BC_MOVETO_BROWSE,293,118,18,13
373    AUTOCHECKBOX    "Review settings when adding torrent.",HAL_BC_PROMPTSAVE,118,133,195,11
374END
375
376HAL_CLOSESPLASH DIALOGEX 0,0,191,74
377STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_THICKFRAME
378EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
379CAPTION "Halite shutting down..."
380FONT 8,"MS Shell Dlg",400,0,1
381BEGIN
382    ICON            HAL_APP_ICON,HAL_STATIC,7,10,21,20,SS_ICON
383    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
384    CTEXT           "Stopping Torrents",HAL_CSPLASH_NUM_ACT,6,40,179,14
385    AUTOCHECKBOX    "Show this message in future",HAL_SPLASH_MSG,7,58,107,12
386        PUSHBUTTON      "Force Close",HAL_SPLASH_FORCE_CLOSE,121,57,65,13,BS_DEFPUSHBUTTON
387END
388
389HAL_HALITEDLG DIALOGEX 0,0,370,73
390STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
391FONT 8,"MS Shell Dlg",400,0,1
392BEGIN
393    PUSHBUTTON      "Pause",BTNPAUSE,314,3,52,14,BS_DEFPUSHBUTTON
394    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,314,19,52,14
395    PUSHBUTTON      "Remove",BTNREMOVE,314,35,52,14
396    CONTROL         "",LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,64,362,6
397    EDITTEXT        HAL_EDITTLU,277,36,34,12,ES_AUTOHSCROLL
398    EDITTEXT        HAL_EDITTLD,220,36,34,12,ES_AUTOHSCROLL
399    EDITTEXT        HAL_EDITNCD,220,12,34,12,ES_AUTOHSCROLL
400    EDITTEXT        HAL_EDITNCU,277,12,34,12,ES_AUTOHSCROLL
401    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,4,52,362,8
402    RTEXT           "Name:",HAL_NAME_STATIC,4,3,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
403    RTEXT           "Tracker:",HAL_TRACKER_STATIC,4,15,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
404    RTEXT           "Status:",HAL_STATUS_STATIC,4,27,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
405    RTEXT           "Time left:",HAL_TIME_STATIC,4,39,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
406    LTEXT           "N/A",HAL_NAME,45,3,145,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
407    LTEXT           "N/A",HAL_TRACKER,45,15,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
408    LTEXT           "N/A",HAL_STATUS,45,27,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
409    LTEXT           "N/A",HAL_AVAIL,45,39,36,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
410    LTEXT           "Torrent connection limits:",HAL_NC,195,3,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
411    LTEXT           "Torrent transfer rates (KB/s):",HAL_TL,195,27,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
412    RTEXT           "Total",HAL_NCD,192,15,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
413    RTEXT           "Up",HAL_NCU,255,15,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
414    RTEXT           "Up",HAL_TLU,255,39,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
415    RTEXT           "Down",HAL_TLD,192,39,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
416    RTEXT           "Completed:",HAL_COMPLETED_STATIC,85,39,44,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
417    LTEXT           "N/A",HAL_COMPLETE,132,39,58,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
418    GROUPBOX        "",HAL_DETAILS_GROUP,1,-4,368,77,0,WS_EX_TRANSPARENT
419END
420
421HAL_ABOUT DIALOGEX 0, 0, 325, 155
422STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
423CAPTION "About"
424FONT 8, "MS Shell Dlg", 400, 0, 0x1
425BEGIN
426//    GROUPBOX        "Program Information",HAL_ABOUT_GROUP,5,6,315,136,WS_EX_TRANSPARENT
427    RTEXT           HALITE_VERSION_STRING,HAL_ABOUT_VERSION,190,145,130,9,WS_TABSTOP
428    LTEXT           "",HAL_EDITABOUT,8,15,265,125,WS_TABSTOP
429    CONTROL         "",HAL_RICHEDITABOUT,"RichEdit20A",WS_CHILD|WS_BORDER|ES_MULTILINE|ES_READONLY|WS_VSCROLL|WS_TABSTOP,5,6,315,136
430END
431
432HAL_ADVHALITEDLG DIALOGEX 0,0,317,72
433STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
434FONT 8,"MS Shell Dlg",400,0,1
435BEGIN
436    CONTROL         "",HAL_TAB,"SysTabControl32",0,1,0,315,71
437    RTEXT           "Static",HAL_ADVDLG_VERSION,235,2,78,8,SS_CENTERIMAGE
438END
439
440HAL_GENERIC_HOLDER DIALOGEX 0,0,206,70
441STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
442EXSTYLE WS_EX_TOOLWINDOW
443CAPTION "Add New Tracker"
444FONT 8,"MS Shell Dlg",400,0,1
445BEGIN
446    PUSHBUTTON      "OK",IDOK,98,50,50,14,BS_DEFPUSHBUTTON
447    PUSHBUTTON      "Cancel",IDCANCEL,152,50,50,14
448END
449
450HAL_ADJUST_DLG DIALOGEX 4, 4, 198, 42
451STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
452FONT 8, "MS Shell Dlg", 400, 0, 0x1
453BEGIN
454        LTEXT           "Torrent save folder:",HAL_ADDT_DEFFLD_TEXT,0,0,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
455    EDITTEXT        HAL_BC_SAVEFOLDER,5,5,195,13,ES_AUTOHSCROLL
456    PUSHBUTTON      "...",HAL_BC_SAVEBROWSE,205,5,18,13
457        CONTROL         "Move the completed torrent to:",HAL_ADDT_MOVETO_CHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,38,220,8
458        EDITTEXT        HAL_ADDT_MOVETO_FOLDER,5,5,195,13,ES_AUTOHSCROLL
459    PUSHBUTTON      "...",HAL_ADDT_MOVETO_BROWSE,205,5,18,13
460END
461
462
463HAL_ADD_TORRENT DIALOGEX 0, 0, 230, 124
464STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_THICKFRAME
465EXSTYLE WS_EX_STATICEDGE
466CAPTION "Add Torrent"
467FONT 8, "MS Shell Dlg", 400, 0, 0x1
468BEGIN
469    PUSHBUTTON      "Ok",IDOK,85,65,62,13
470    PUSHBUTTON      "Cancel",IDCANCEL,155,65,62,13
471
472    CONTROL         "Managed Torrent",HAL_ADDT_CHECK_MANAGED,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,38,220,8|NOT WS_VISIBLE
473        LTEXT           "Allocation Mode:",HAL_ADDT_ALLOC_MODE,6,51,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
474    COMBOBOX        HAL_ADDT_ALLOC_COMBO,5,38,220,58,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
475    CONTROL         "Stopped initially (Allows changing advanced setting)",HAL_CHECK_PAUSED,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,25,220,8
476    LTEXT           "Note. Compact Allocation is incompatible with File Selection",HAL_ADDT_NOTE_TEXT,6,51,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
477END
478
479HAL_CONFIGGENERAL DIALOGEX 0, 0, 325, 90
480STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
481CAPTION "General"
482FONT 8, "MS Shell Dlg", 400, 0, 0x1
483BEGIN
484    CONTROL         "Allow only one instance to run",HAL_GENERAL_ONEINST,
485                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,16,150,11
486    GROUPBOX        "General Settings",HAL_GENERAL_GROUP,5,6,315,77
487    CONTROL         "Advanced GUI",HAL_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
488    CONTROL         "Minimize to tray.",HAL_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
489    CONTROL         "Close to tray",HAL_GENERAL_CLOSETRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
490    CONTROL         "Confirm on close",HAL_GENERAL_CONFIRMCLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
491    LISTBOX         HAL_LANGLIST,165,24,149,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
492    CTEXT           "Language (requires restart)",HAL_GENERAL_LANG,165,13,150,8
493END
494
495HAL_ADVTRACKER DIALOGEX 0,0,305,69
496STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
497FONT 8,"MS Shell Dlg",400,0,1
498BEGIN
499    LTEXT           "List of Trackers.",HAL_TRACKER_LABEL,7,6,95,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
500    PUSHBUTTON      "Apply",HAL_TRACKER_APPLY,126,3,32,14,WS_DISABLED
501    PUSHBUTTON      "Reset",HAL_TRACKER_RESET,92,3,32,14
502    AUTOCHECKBOX    "Send login info to trackers.",HAL_TRACKER_LOGINCHECK,166,4,101,12
503    EDITTEXT        HAL_TRACKER_USER,208,18,92,12,ES_AUTOHSCROLL
504    EDITTEXT        HAL_TRACKER_PASS,208,32,92,12,ES_AUTOHSCROLL | ES_PASSWORD
505    RTEXT           "Username : ",HAL_TRACKER_USER_S,164,20,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
506    RTEXT           "Password : ",HAL_TRACKER_PASS_S,164,34,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
507    CONTROL         "",HAL_TRACKERLIST,"SysListView32",WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,19,154,47
508    PUSHBUTTON      "Apply",HAL_LOGIN_APPLY,207,46,51,14,BS_DEFPUSHBUTTON
509    PUSHBUTTON      "Reannounce",HAL_REANNOUNCE,207,46,51,14
510END
511
512HAL_ADVQUEUE DIALOGEX 0,0,305,69
513STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
514FONT 8,"MS Shell Dlg",400,0,1
515BEGIN
516    AUTOCHECKBOX    "Send login info to trackers.",HAL_TRACKER_LOGINCHECK,166,4,101,12
517    EDITTEXT        HAL_TRACKER_USER,208,18,92,12,ES_AUTOHSCROLL
518    EDITTEXT        HAL_TRACKER_PASS,208,32,92,12,ES_AUTOHSCROLL | ES_PASSWORD
519    RTEXT           "Username : ",HAL_TRACKER_USER_S,164,20,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
520    RTEXT           "Password : ",HAL_TRACKER_PASS_S,164,34,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
521    CONTROL         "",HAL_TRACKERLIST,"SysListView32",WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,19,154,47
522    PUSHBUTTON      "Apply",HAL_LOGIN_APPLY,207,46,51,14,BS_DEFPUSHBUTTON
523    PUSHBUTTON      "Reannounce",HAL_REANNOUNCE,207,46,51,14
524END
525
526HAL_ADVDEBUGLOG DIALOGEX 0,0,305,81
527STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
528FONT 8,"MS Shell Dlg",400,0,1
529BEGIN
530    CONTROL         "",HAL_DEBUGLISTVIEW,"SysListView32",WS_TABSTOP|WS_BORDER|LVS_ALIGNLEFT|LVS_REPORT,4,7,296,59
531    AUTOCHECKBOX    "Log to file.",HAL_DEBUGFILECHECK,4,69,44,9
532    AUTOCHECKBOX    "Log debug events.",HAL_DEBUGDEBUGCHECK,48,69,198,9
533END
534
535HAL_NEWTORRENT DIALOGEX 0,0,229,132
536STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
537CAPTION "Details"
538FONT 8,"MS Shell Dlg",400,0,1
539BEGIN
540        LTEXT           "Enter the tracker URLs for the torrent.",HAL_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,NOT WS_VISIBLE
541    EDITTEXT        HAL_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL|NOT WS_VISIBLE
542//    AUTOCHECKBOX    "Have Halite acts a DHT node.",HAL_NEWT_DHTNODE,4,116,118,8,WS_DISABLED
543    AUTOCHECKBOX    "Private",HAL_NEWTORRENT_PRIVATE,4,116,118,8
544        LTEXT           "Comment",HAL_NEWTORRENT_COMMENT_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
545    EDITTEXT        HAL_NEWTORRENT_COMMENT,4,15,203,12,ES_AUTOHSCROLL
546    LTEXT           "Creator",HAL_NEWTORRENT_CREATOR_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
547    EDITTEXT        HAL_NEWTORRENT_CREATOR,4,15,203,12,ES_AUTOHSCROLL
548    LTEXT           "Piece Size (KBs)",HAL_NEWT_PIECESIZE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
549    EDITTEXT        HAL_NEWT_PIECESIZE,4,15,203,12,ES_AUTOHSCROLL|ES_NUMBER
550    LTEXT           "Output File",HAL_NEWT_OUTFILE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
551    EDITTEXT        HAL_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL
552    PUSHBUTTON      "...",HAL_NEWT_OUT_BROWSE,212,14,18,13
553END
554
555HAL_NEWT_FILES DIALOGEX 0,0,186,50
556STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
557EXSTYLE WS_EX_TOOLWINDOW
558CAPTION "Files"
559FONT 8,"MS Shell Dlg",400,0,1
560BEGIN
561    LTEXT           "Select a file or directory from which to construct the torrent.",HAL_NEWTORRENT_SELECT_TEXT,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
562    PUSHBUTTON      "File",HAL_NEWT_FILE_BROWSE,212,14,40,13
563    PUSHBUTTON      "Dir.",HAL_NEWT_DIR_BROWSE,212,14,40,13
564    CONTROL         "",HAL_NEWT_LISTFILES,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
565    LTEXT           "Generated Torrent Name (Cannot change)",HAL_NEWT_FILE_NAME,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
566    EDITTEXT        HAL_NEWT_FILE_NAME_EDIT,4,15,203,12,ES_AUTOHSCROLL|ES_READONLY
567END
568
569HAL_NEWT_TRACKERS DIALOGEX 0,0,229,132
570STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
571CAPTION "Trackers"
572FONT 8,"MS Shell Dlg",400,0,1
573BEGIN
574    CONTROL         "",HAL_NEWT_LISTTRACKERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
575//    LISTBOX         HAL_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT
576    LTEXT           "Enter the tracker URLs for the torrent.",HAL_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
577    EDITTEXT        HAL_NEWT_TRACKER,4,42,160,12,ES_AUTOHSCROLL|NOT WS_VISIBLE
578    EDITTEXT        HAL_NEWT_TRACKERTIER,170,42,25,12,ES_AUTOHSCROLL|ES_NUMBER|NOT WS_VISIBLE
579    PUSHBUTTON      "Add",HAL_NEWT_ADDTRACKER,202,41,23,13,NOT WS_VISIBLE
580END
581
582HAL_NEWT_PEERS DIALOGEX 0,0,229,132
583STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
584CAPTION "Web Seeds and DHT Nodes"
585FONT 8,"MS Shell Dlg",400,0,1
586BEGIN
587    CONTROL         "",HAL_NEWT_LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
588//    LISTBOX         HAL_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT
589    LTEXT           "Enter any Web Seed URLs and DHT Nodes.",HAL_NEWTORRENT_PEERS_TEXT,4,32,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
590END
591
592HAL_TRACKEDIT DIALOGEX 0,0,186,50
593STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
594EXSTYLE WS_EX_TOOLWINDOW
595CAPTION "Add New Tracker"
596FONT 8,"MS Shell Dlg",400,0,1
597BEGIN
598    PUSHBUTTON      "OK",IDOK,78,32,50,14,BS_DEFPUSHBUTTON
599    PUSHBUTTON      "Cancel",IDCANCEL,132,32,50,14
600    LTEXT           "URL",HAL_TRACKER_TEXT_URL,4,5,100,10
601    EDITTEXT        HAL_TRACKER_EDIT_URL,4,15,134,13,ES_AUTOHSCROLL
602    EDITTEXT        HAL_TRACKER_EDIT_TIER,142,15,40,13,ES_AUTOHSCROLL
603    LTEXT           "Tier",HAL_TRACKER_TEXT_TIER,142,5,40,10
604END
605
606HAL_PEEREDIT DIALOGEX 0,0,240,50
607STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
608EXSTYLE WS_EX_TOOLWINDOW
609CAPTION "Add New Web Seed or DHT Node"
610FONT 8,"MS Shell Dlg 2",400,0,1
611BEGIN
612    PUSHBUTTON      "OK",IDOK,132,32,50,14,BS_DEFPUSHBUTTON
613    PUSHBUTTON      "Cancel",IDCANCEL,186,32,50,14
614    LTEXT           "URL",HAL_NEWT_ADD_PEERS_URL_TEXT,4,5,104,10
615    EDITTEXT        HAL_NEWT_ADD_PEERS_URL_EDIT,4,15,104,13,ES_AUTOHSCROLL
616    LTEXT           "Port",HAL_NEWT_ADD_DHT_PORT_TEXT,112,5,50,10,WS_DISABLED
617    EDITTEXT        HAL_NEWT_ADD_DHT_PORT,112,15,50,13,ES_AUTOHSCROLL|WS_DISABLED
618    LTEXT           "Type",HAL_NEWT_ADD_PEERS_TYP_TEXT,166,5,70,10
619    COMBOBOX        HAL_NEWT_ADD_PEERS_TYP_CBOX,166,15,70,13,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
620END
621
622HAL_ADVPEER DIALOGEX 0, 0, 305, 69
623STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
624FONT 8, "MS Shell Dlg", 400, 0, 0x1
625BEGIN
626    CONTROL         "",HAL_PEERLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,7,297,59
627END
628
629HAL_ADVFILES DIALOGEX 0, 0, 305, 81
630STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
631FONT 8, "MS Shell Dlg", 400, 0, 0x1
632BEGIN
633    LTEXT           "",HAL_CONTAINER,4,7,297,70,0
634END
635
636HAL_PROGRESS DIALOGEX 0,0,191,60
637STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
638EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
639CAPTION "Halite importing IP ranges..."
640FONT 8,"MS Shell Dlg",400,0,1
641BEGIN
642    CTEXT           "",HAL_PROG_DESCP,6,6,180,12
643    CONTROL         "",HAL_PROG_PROGRESS,"msctls_progress32",WS_BORDER,6,22,180,12
644    PUSHBUTTON      "Cancel",HAL_PROG_CANCEL,60,42,66,15
645END
646
647HAL_TRAY_MENU MENU
648BEGIN
649    POPUP "_POPUP_"
650    BEGIN
651        MENUITEM "Open &Halite",ID_TRAY_OPENHALITE
652        MENUITEM SEPARATOR
653        MENUITEM "&Pause All",ID_TRAY_PAUSEALL
654        MENUITEM "&Resume All",ID_TRAY_RESUMEALL
655        MENUITEM SEPARATOR
656        MENUITEM "E&xit",ID_TRAY_EXIT
657    END
658END
659
660HAL_LISTVIEW_MENU MENU
661BEGIN
662    POPUP "_POPUP_"
663    BEGIN
664        MENUITEM "Resume",ID_LVM_RESUME
665        MENUITEM "Pause",ID__LVM_PAUSE
666        MENUITEM "Stop",ID_LVM_STOP
667        MENUITEM "Recheck Files",ID_LVM_RECHECK
668        MENUITEM SEPARATOR
669    //    MENUITEM "Preannounce",ID_TLVM_PRIMARY
670        POPUP "Remove"
671        BEGIN
672            MENUITEM "Torrent File",ID_LVM_REMOVE_T
673            MENUITEM "Torrent and Data",ID_LVM_REMOVE_TD
674        END
675        MENUITEM SEPARATOR
676        MENUITEM "Open Download Folder",ID_LVM_DOWNLOAD_FOLDER
677        MENUITEM "Edit Download Folders",ID_LVM_EDIT_FOLDERS
678        MENUITEM SEPARATOR
679        MENUITEM "Manage Torrent(s)",HAL_AUTO_MANAGED
680        MENUITEM "Don't Manage Torrent(s)",HAL_UNMANAGED
681        POPUP "Adjust Queue Position"
682        BEGIN
683            MENUITEM "Move To Top",HAL_QUEUE_MOVE_TOP
684            MENUITEM "Move Up",HAL_QUEUE_MOVE_UP
685            MENUITEM "Move Down",HAL_QUEUE_MOVE_DOWN
686            MENUITEM "Move To Bottom",HAL_QUEUE_MOVE_BOTTOM
687        END
688        MENUITEM "Queue View",HAL_LVM_QUEUE_VIEW
689    END
690END
691
692HAL_TRACKERLV_MENU MENU
693BEGIN
694    POPUP "_POPUP_"
695    BEGIN
696        MENUITEM "New",ID_TLVM_NEW
697        MENUITEM "Edit",ID_TLVM_EDIT
698        MENUITEM "Set as Primary",ID_TLVM_PRIMARY
699        MENUITEM SEPARATOR
700        MENUITEM "Delete",ID_TLVM_DELETE
701    END
702END
703
704HAL_GENERIC_ADD_LV_MENU MENU
705BEGIN
706    POPUP "_POPUP_"
707    BEGIN
708        MENUITEM "New",         HAL_GENERIC_ALV_NEW
709        MENUITEM "Edit",        HAL_GENERIC_ALV_EDIT
710        MENUITEM "Delete",      HAL_GENERIC_ALV_DELETE
711    END
712END
713
7141 VERSIONINFO
715    FILEVERSION     HALITE_VERSION
716    PRODUCTVERSION  HALITE_VERSION
717    FILEOS          VOS_UNKNOWN
718    FILETYPE        VFT_UNKNOWN
719BEGIN
720    BLOCK "StringFileInfo"
721    BEGIN
722        BLOCK "180904b0"
723        BEGIN
724            VALUE "Comments", "libTorrrent based client."
725            VALUE "CompanyName", "BinaryNotions.com"
726            VALUE "FileDescription", "Halite BitTorrent Client"
727            VALUE "FileVersion", HALITE_VERSION_STRING
728            VALUE "InternalName", "Halite"
729            VALUE "LegalCopyright", "(C) Eoin O'Callaghan 2008"
730            VALUE "OriginalFilename", "Halite.exe"
731            VALUE "ProductName", "Halite"
732            VALUE "ProductVersion", HALITE_VERSION_STRING
733        END
734    END
735    BLOCK "VarFileInfo"
736    BEGIN
737        VALUE "Translation", 6153, 1200
738    END
739END
740
741STRINGTABLE
742BEGIN
743        HAL_NEW_PANE_DLG                                "Construct a New Torrent"
744    IDPANE_STATUS                                       "(D-U) 0000.000KB/s - 0000.000KB/s"
745    IDPANE_CAPS_INDICATOR                       "CAPS"
746    IDPANE_DHT                                          "0000 DHT node(s)"
747    IDPANE_FILTER                                       "Filtering 0000000 ranges."
748    IDS_TRYANOTHERPORT                          "The BitTorrent session could not start. Try selecting another port in the settings."
749    IDS_DHTTRYANOTHERPORT                       "DHT session could not start. Try selecting another port in the settings."
750    IDS_SAVEPROMPT                                      "Select a directory to save the files to or cancel to not download torrent at all."
751    IDS_NA                                                      "N/A"
752    HAL_HALITE                                          "Halite"
753    HAL_INF                                                     "∞"
754    HAL_COMPLETED_SUMMARY                       "%1$.2fMB of %2$.2fMB"
755    HAL_DOWNLOAD_SUMMARY                        "This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
756    HAL_DOWNLOADT_SUMMARY                       "Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
757    HAL_PAYLOAD_SUMMARY                         "Total transfer including protocol overhead: %1$.2fMB down and %2$.2fMB up."
758        HAL_NAME_STATUS                                 "%1%, %2%."
759    HAL_TRANSFERED                                      "%1$.2fMB down - %2$.2fMB up"
760    HAL_REMAINING                                       "%1$.2fMB of %2$.2fMB"
761    HAL_RATE                                            "%1$.2fKB/s down - %2$.2fKB/s up"
762    HAL_DHT_ON                                          "%1% DHT node(s)"
763    HAL_CSPLASH_ACT_MSG                         "%1% active torrent(s)"
764    HAL_CSPLASH_SHUTDOWN_MSG            "Shutting down session"
765    HAL_ADDT_TITLE                                      "Edit Torrent Save Folders"
766    HAL_DHT_OFF                                         "DHT disabled"
767    HAL_IPFILTER_ON                                     "Filtering %1% range(s)"
768    HAL_IPFILTER_OFF                            "IP filter disabled"
769    HAL_EVENT_STDEXP                            "Standard exception (%1%) thrown from %2%."
770    HAL_DOWN_RATES                                      "(D-U) %1$.2fKB/s - %2$.2fKB/s"
771    HAL_NOT_LISTENING                           "Halite not listening!"
772    HAL_PORT_OPEN                                       "Port %1% open"
773    HAL_VERSION_STRING                          HALITE_VERSION_STRING
774        HAL_FOLDER_SELECT                               "Select a directory to save the downloads to. Select cancel to accept default 'incoming' location."
775        HAL_TORRENT_TAB                                 "Torrent"
776        HAL_PEERS_TAB                                   "Peers"
777        HAL_FILES_TAB                                   "Files"
778        HAL_TRACKER_TAB                                 "Tracker"
779        HAL_DEBUG_TAB                                   "Logging"
780        HAL_INCORRECT_ENCODING_LEVEL    "An invalid encoding level, %1%, was passed as an encryption setting."
781        HAL_INCORRECT_CONNECT_POLICY    "An invalid connection policy, %1%, was passed as an encryption setting."
782        HAL_AUTOSORT                                    "Auto Sort"
783        HAL_TORRENT_ROOT                                "Torrent Root"
784        HAL_WINDOW_CLOSECONFRIM                 "Are you sure you wish to close Halite? Doing so will stop any active torrents"
785        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."
786        HAL_SAVE_TEXT                                   "Save"
787        HAL_LISTVIEW_CONFIRMDELETE              "Are you sure you wish to delete all downloaded data?"
788END
789
790STRINGTABLE
791BEGIN
792    HAL_PEER_INTERESTING                "Interesting"
793    HAL_PEER_CHOKED                     "Choked"
794    HAL_PEER_REMOTE_INTERESTING         "Interested in us"
795    HAL_PEER_REMOTE_CHOKED              "Has choked us"
796    HAL_PEER_SUPPORT_EXTENSIONS         "Supports extensions"
797    HAL_PEER_LOCAL_CONNECTION           "Local connection"
798    HAL_PEER_HANDSHAKE                  "Handshake"
799    HAL_PEER_CONNECTING                 "Connecting"
800    HAL_PEER_QUEUED                             "Queued"
801    HAL_PEER_RC4_ENCRYPTED              "RC4 Encrypted"
802    HAL_PEER_PLAINTEXT_ENCRYPTED    "Plaintext Encrypted"
803END
804
805STRINGTABLE
806BEGIN
807    HAL_TORRENT_QUEUED_CHECKING         "Queued for Checking"
808    HAL_TORRENT_CHECKING_FILES          "Checking Files"
809    HAL_TORRENT_CONNECTING                      "Connecting to Tracker"
810    HAL_TORRENT_DOWNLOADING                     "Downloading"
811    HAL_TORRENT_FINISHED                        "Finished"
812    HAL_TORRENT_SEEDING                         "Seeding"
813    HAL_TORRENT_ALLOCATING                      "Allocating"
814    HAL_TORRENT_QUEUED                          "Queued"
815        HAL_TORRENT_STOPPED                             "Stopped"
816        HAL_TORRENT_PAUSED                              "Paused"
817        HAL_TORRENT_STOPPING                    "Stopping"
818        HAL_TORRENT_PAUSING                             "Pausing"
819        HAL_TORRENT_METADATA                    "Downloading Metadata"
820       
821        HAL_TORRENT_IMPORT_FILTERS              "Importing IP Filters..."
822        HAL_TORRENT_LOAD_FILTERS                "Loading IP filters..."
823
824        HAL_NEWT_CREATING_TORRENT               "Creating Torrent..."
825        HAL_NEWT_HASHING_PIECES                 "Calculating Piece Hashes..."
826        HAL_NEWT_DIALOG_TITLE                   "Creating a New Torrent File"
827        HAL_NEWT_CREATION_CANCELED              "User canceled Torrent file creation"
828
829        HAL_NEWT_ADD_PEERS_WEB                  "Web Seed"
830        HAL_INT_NEWT_ADD_PEERS_WEB              "Web Seed"
831        HAL_NEWT_ADD_PEERS_DHT                  "DHT Node"
832        HAL_INT_NEWT_ADD_PEERS_DHT              "DHT Node"
833
834        HAL_NEWT_EDIT_PEER                              "Edit Peer"
835        HAL_NEWT_ADD_NEW_PEER                   "Add New Peer"
836        HAL_NEWT_SAVING_TORRENT                 "Saving Torrent"
837        HAL_NEWT_EDIT_TRACKER                   "Edit Tracker"
838        HAL_NEWT_ADD_NEW_TRACKER                "Add New Tracker"
839END
840
841STRINGTABLE
842BEGIN
843        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;Managed;Queue Position"
844        HAL_DEBUG_LISTVIEW_COLUMNS              "Time;Message;Severity"
845        HAL_TRACKER_LISTVIEW_COLUMNS    "Tracker;Tier"
846        HAL_DIALOGPEER_LISTVIEW_COS             "Peer;Country;Download;Upload;Type;Client"
847        HAL_DIALOGPEER_LISTVIEW_ADV             "Peer;Country;Download;Upload;Type;Client;Status"
848        HAL_DIALOGFILE_LISTVIEW_ADV             "Filename;Path;Size;Progress;Priority"
849        HAL_FILES_LISTVIEW_ADV                  "Filename;Path;Size"
850        HAL_NTPLVM_NAMES                                "URL;Port;Type"
851
852        HAL_FILE_PRIORITY_0                             "Don't download"
853        HAL_FILE_PRIORITY_1                             "Normal"
854        HAL_FILE_PRIORITY_2                             "2"
855        HAL_FILE_PRIORITY_3                             "3"
856        HAL_FILE_PRIORITY_4                             "4"
857        HAL_FILE_PRIORITY_5                             "Above Normal"
858        HAL_FILE_PRIORITY_6                             "6"
859        HAL_FILE_PRIORITY_7                             "Maximum"
860END
861
862HAL_FILESLISTVIEW_MENU MENU
863BEGIN
864    POPUP "_POPUP_"
865    BEGIN
866        POPUP "Set Priority"
867        BEGIN
868            MENUITEM "Don't download",ID_HAL_FILE_PRIORITY_0
869            MENUITEM "Normal",ID_HAL_FILE_PRIORITY_1
870//            MENUITEM "2",ID_HAL_FILE_PRIORITY_2
871//            MENUITEM "3",ID_HAL_FILE_PRIORITY_3
872//            MENUITEM "4",ID_HAL_FILE_PRIORITY_4
873            MENUITEM "Above Normal",ID_HAL_FILE_PRIORITY_5
874//            MENUITEM "6",ID_HAL_FILE_PRIORITY_6
875            MENUITEM "Maximum",ID_HAL_FILE_PRIORITY_7
876        END
877    END
878END
879
880HAL_MAINFRAME TOOLBAR 22,22
881BEGIN
882    BUTTON                      ID_FILE_NEW
883    BUTTON                      ID_FILE_OPEN
884    SEPARATOR
885    BUTTON                      ID_SETTINGS
886    BUTTON                      ID_ADVANCED
887    SEPARATOR
888    BUTTON                      ID_RESUME
889    BUTTON                      ID_PAUSE
890    BUTTON                      HAL_WINDOW_AUTOSHUTDOWN
891    SEPARATOR
892    BUTTON                      HAL_WINDOW_EXIT
893    BUTTON                      ID_HELP
894END
895
896HAL_APP_ICON            ICON                    "Halite.ico"
897HAL_MAINFRAME           BITMAP                  "Toolbar2k.bmp"
898
899STRINGTABLE
900BEGIN
901    HAL_EVENTNONE                                       "None"
902    HAL_EVENTDEBUG                                      "Debug"
903    HAL_EVENTINFO                                       "Info"
904    HAL_EVENTWARNING                            "Warning"
905    HAL_EVENTCRITICAL                           "Critical"
906
907        HAL_EXTERNAL_IP_ALERT                   "Informed of external IP address: %1%."
908        HAL_PORTMAP_ERROR_ALERT                 "%1% port mapping request failed."
909        HAL_PORTMAP_ALERT                               "%1% port %2% mapping succeeded."
910        HAL_FILE_ERROR_ALERT                    "OS reported error for file '%1%'; %2%"
911        HAL_DHT_REPLY_ALERT                             "%1% peers from DHT."
912    HAL_PEER_ALERT                                      "Peer %2%: %1%."
913    HAL_PEER_BAN_ALERT                          "Peer banned %2%. (%1%)"
914        HAL_HASH_FAIL_ALERT                             "Hash failed for piece %2% of %1%."
915        HAL_URL_SEED_ALERT                              "URL Seed %2%, %3%. (%1%)"
916        HAL_TRACKER_WARNING_ALERT               "Tracker warning: %2%! (%1%)"
917        HAL_TRACKER_ANNOUNCE_ALERT              "Tracker Announce. (%1%)"
918        HAL_TRACKER_ALERT                               "Alert %2%, Status code: %4%, Times %3%. (%1%)"
919        HAL_TRACKER_REPLY_ALERT                 "%2%. %3% Peers. (%1%)"
920        HAL_FAST_RESUME_ALERT                   "Fast resume failed: %2%. (%1%)"
921        HAL_WRITE_RESUME_ALERT                  "Resume data generated. (%1%)"
922        HAL_PIECE_FINISHED_ALERT                "Piece %2% finished. (%1%)"
923        HAL_BLOCK_FINISHED_ALERT                "Block %2% of piece %3% finished. (%1%)"
924        HAL_BLOCK_DOWNLOADING_ALERT             "Block %2% of piece %3% downloading. (%1%)"
925        HAL_LISTEN_SUCCEEDED_ALERT              "Successfully %1%."
926        HAL_LISTEN_FAILED_ALERT                 "Failed, %1%"
927        HAL_LISTEN_V6_FAILED_ALERT              "IP version 6 listen attempt failed. Not serious."
928        HAL_IPFILTER_ALERT                              "IP Filter blocked %1%, %2%."
929
930        LBT_EVENT_TORRENT_FINISHED              "Torrent %1% finished."
931        LBT_EVENT_TORRENT_PAUSED                "Torrent %1% paused."
932    HAL_EVENT_TORRENTEXP                        "Torrent (%1%) exception caught: %2% from %3%."
933    HAL_EVENT_INVTORRENT                        "Invalid torrent (%1%) from %2%."
934
935        HAL_EVENT_EXP                                   "Exception caught: %1%, from %2%."
936    HAL_EVENT_XML_EXP                           "Xml Exception (%1%) with %2%."
937        HAL_EVENT_UNICODE_EXP                   "Unicode exception: %1%."
938        HAL_EVENT_UNCLASSIFIED                  "Bittorrent Event: %1%."
939        HAL_EVENT_PEER                                  "Peer Event: %1%."
940        HAL_EVENT_TRACKER                               "Tracker Event: %1%."
941        HAL_EVENT_DEBUG                                 "Debug Event: %1%."
942        HAL_EVENT_DEV                                   "Dev Msg: %1%."
943        HAL_PORTMAP_TYPE_PMP                    "NAT-PMP"
944        HAL_PORTMAP_TYPE_UPNP                   "UPnP"
945        HAL_AUTO_MANAGED                                "Auto-managed"
946        HAL_UNMANAGED                                   "Unmanaged"
947        HAL_MANAGED_DOWNLOADING                 "Managed Downloading"
948        HAL_MANAGED_SEEDING                             "Managed Seeding"
949        HAL_BC_CACHE_GROUP_TEXT                 "Cache Status, Current Total Size : %1.2f MiB"
950END
951
952#if 0
953
954HAL_DIALOG1 DIALOGEX 0, 0, 186, 95
955STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
956CAPTION "Dialog"
957FONT 8, "MS Shell Dlg", 400, 0, 0x1
958BEGIN
959    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
960    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
961END
962
963HAL_DIALOG2 DIALOGEX 0, 0, 186, 94
964STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
965CAPTION "Dialog"
966FONT 8, "MS Shell Dlg", 400, 0, 0x1
967BEGIN
968    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
969    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
970END
971
972HAL_DIALOG3 DIALOGEX 0, 0, 186, 95
973STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
974EXSTYLE WS_EX_TOOLWINDOW
975CAPTION "Dialog"
976FONT 8, "MS Shell Dlg", 400, 0, 0x1
977BEGIN
978    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
979    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
980END
981
982HAL_DIALOG4 DIALOGEX 0, 0, 186, 94
983STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
984FONT 8, "MS Shell Dlg", 400, 0, 0x1
985BEGIN
986    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
987    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
988END
989
990#endif
991
992
Note: See TracBrowser for help on using the repository browser.