source: res/Halite.rc @ 259

Revision 259, 49.9 KB checked in by Eoin, 13 years ago (diff)

Overview Tab completely reworking.

Line 
1
2#include "resource.h"
3#include "afxres.h"
4
5IDR_APP_ICON        ICON          "Halite.ico"
6IDR_MAINFRAME       BITMAP        "toolbar.bmp"
7
8STRINGTABLE
9BEGIN
10    HALITE_LANGUAGE    "English"
11END
12       
13IDD_ADVOVERVIEW DIALOGEX 0,0,313,121
14STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
15FONT 8,"MS Shell Dlg",400,0,1
16BEGIN
17    GROUPBOX        "Torrent",IDC_GROUP_TORRENT,4,7,305,83
18    GROUPBOX        "Tracker",IDC_GROUP_TRACKER,4,92,305,25
19    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,10,77,291,8
20
21
22 /* RTEXT           "Name:",IDC_STATIC,10,16,40,8
23    RTEXT           "Tracker:",IDC_STATIC,10,28,40,8
24    RTEXT           "Status:",IDC_STATIC,10,27,40,8
25    RTEXT           "Time left:",IDC_STATIC,10,39,52,8*/
26       
27    LTEXT           "N/A",IDC_NAME_STATUS,10,16,170,8,SS_WORDELLIPSIS
28 // LTEXT           "N/A",IDC_SECOND,10,28,170,8,SS_WORDELLIPSIS
29    LTEXT           "N/A",IDC_TRANSFERED,10,40,170,8,SS_WORDELLIPSIS
30    LTEXT           "N/A",IDC_REMAINING,10,52,170,8,SS_WORDELLIPSIS
31    LTEXT           "N/A",IDC_RATE,10,64,170,8,SS_WORDELLIPSIS
32
33    EDITTEXT        IDC_EDITTLU,267,46,34,12,ES_AUTOHSCROLL
34    EDITTEXT        IDC_EDITTLD,210,46,34,12,ES_AUTOHSCROLL
35    EDITTEXT        IDC_EDITNCD,210,22,34,12,ES_AUTOHSCROLL
36    EDITTEXT        IDC_EDITNCU,267,22,34,12,ES_AUTOHSCROLL
37       
38    LTEXT           "Torrent connection limits:",IDC_NC,185,13,115,8
39    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,185,37,115,8
40    RTEXT           "Total",IDC_NCD,182,25,25,8
41    RTEXT           "Up",IDC_NCU,245,25,20,8
42    RTEXT           "Up",IDC_TLU,245,49,20,8
43    RTEXT           "Down",IDC_TLD,182,49,25,8
44       
45    LTEXT           "N/A",IDC_TRACKER,10,103,132,8,SS_WORDELLIPSIS
46    LTEXT           "N/A",IDC_UPDATE,228,103,71,8,SS_WORDELLIPSIS
47    RTEXT           "Update in:",IDC_UPDATESTAT,185,103,40,8
48    EDITTEXT        IDC_EDITRATIO,267,60,34,12,ES_AUTOHSCROLL
49    LTEXT           "Ratio (this session):",IDC_RATIOESTATIC,182,63,70,8,SS_WORDELLIPSIS
50END
51
52IDD_CONFIGBIT DIALOGEX 0, 0, 285, 155
53STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
54CAPTION "BitTorrent"
55FONT 8, "MS Shell Dlg", 400, 0, 0x1
56BEGIN
57    RTEXT           "Open a (single) port between : ",IDC_STATIC,12,31,114,12
58    EDITTEXT        IDC_BC_PORTFROM,126,29,54,12,ES_AUTOHSCROLL
59    EDITTEXT        IDC_BC_PORTTO,217,29,54,12,ES_AUTOHSCROLL
60    CONTROL         "Enable DHT",IDC_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,68,10
61    CONTROL         "to",IDC_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,29,32,12
62    LTEXT           "Select the (TCP) port (or range) on which to listen for incomming connections.",IDC_STATIC,12,17,258,11
63    GROUPBOX        "Distributed Hash Tables",IDC_STATIC,5,108,217,39
64    EDITTEXT        IDC_BC_DHTPORT,139,119,77,12,ES_AUTOHSCROLL
65    RTEXT           "Port (UDP) : ",IDC_BC_DHTPORT_S,85,121,51,8
66    CTEXT           "(DHT will not apply to pirvate torrents)",IDC_STATIC,11,134,205,8
67    RTEXT           "Need Help?",IDC_BC_HELP_LINK,229,139,51,8
68    GROUPBOX        "General Settings",IDC_STATIC,5,7,274,54
69    EDITTEXT        IDC_BC_HALFCONN_NUM,182,44,54,12,ES_AUTOHSCROLL
70    CONTROL         "Limit the no. of half-open connections",IDC_BC_HALFCONN_CHECK,
71                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,45,166,12
72    RTEXT           "Why?",IDC_BC_CON_WHY,239,47,31,8
73END
74
75IDD_CONFIGPROXY DIALOGEX 0, 0, 285, 155
76STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
77CAPTION "Proxies"
78FONT 8, "MS Shell Dlg", 400, 0, 0x1
79BEGIN
80    EDITTEXT        IDC_BC_PROXYIP,124,46,77,12,ES_AUTOHSCROLL
81    RTEXT           "Proxy Host/IP : ",IDC_BC_PROXYIP_S,68,48,55,12
82    CONTROL         "Use a proxy.",IDC_BC_PROXYCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,48,59,8
83    RTEXT           "Port : ",IDC_BC_PROXYPORT_S,204,48,24,12
84    EDITTEXT        IDC_BC_PROXYPORT,229,46,42,12,ES_AUTOHSCROLL | ES_NUMBER
85    EDITTEXT        IDC_BC_PROXYUSER,54,62,89,12,ES_AUTOHSCROLL
86    RTEXT           "Username : ",IDC_BC_PROXYUSER_S,8,64,44,12
87    RTEXT           "Password : ",IDC_BC_PROXYPASS_S,146,64,39,12
88    EDITTEXT        IDC_BC_PROXYPASS,188,62,83,12,ES_PASSWORD | ES_AUTOHSCROLL
89    CONTROL         "Peer",IDC_PEERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,16,19,57,15
90    CONTROL         "Web Seed",IDC_WEBPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,81,19,57,15
91    CONTROL         "Tracker",IDC_TRACKERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,146,19,57,15
92    CONTROL         "DHT",IDC_DHTPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE | WS_DISABLED,211,19,57,15
93    GROUPBOX        "Proxy Settings",IDC_STATIC,6,7,271,108
94END
95
96IDD_CONFIGSECURITY DIALOGEX 0, 0, 285, 155
97STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
98CAPTION "Security"
99FONT 8, "MS Shell Dlg", 400, 0, 0x1
100BEGIN
101    GROUPBOX        "IP Filtering",IDC_STATIC,5,7,274,29
102    CONTROL         "Enable IP filtering.",IDC_BC_FILTERCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,18,102,12
103    PUSHBUTTON      "Import ipfilter.dat",IDC_BC_FILTERLOAD,196,17,75,14,WS_DISABLED
104    PUSHBUTTON      "Clear IP database",IDC_BC_FILTERCLEAR,115,17,75,14,WS_DISABLED
105    GROUPBOX        "Protocol Encryption",IDC_STATIC,5,39,274,75
106    CONTROL         "Enable Protocol Encryption.",IDC_SC_ENABLE_PE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,50,104,10
107    GROUPBOX        "Connection Policies",IDC_STATIC,170,49,101,58
108    LTEXT           "Incoming",IDC_STATIC,177,61,42,9
109    RTEXT           "Outcoming",IDC_STATIC,220,61,42,9
110    CONTROL         "",IDC_SC_PE_CP_IN_FORCED,"Button",BS_AUTORADIOBUTTON | WS_GROUP,178,73,16,10
111    CONTROL         "",IDC_SC_PE_CP_IN_ENABLED,"Button",BS_AUTORADIOBUTTON,178,83,16,10
112    CONTROL         "",IDC_SC_PE_CP_IN_DISABLED,"Button",BS_AUTORADIOBUTTON,178,93,16,10
113    CTEXT           "Forced",IDC_STATIC,198,71,44,8
114    CTEXT           "Enabled",IDC_STATIC,198,82,44,8
115    CTEXT           "Disablied",IDC_STATIC,198,93,44,8
116    CONTROL         "",IDC_SC_PE_CP_OUT_FORCED,"Button",BS_AUTORADIOBUTTON | WS_GROUP,246,73,16,10,WS_EX_RIGHT
117    CONTROL         "",IDC_SC_PE_CP_OUT_ENABLED,"Button",BS_AUTORADIOBUTTON,246,83,16,10,WS_EX_RIGHT
118    CONTROL         "",IDC_SC_PE_CP_OUT_DISABLED,"Button",BS_AUTORADIOBUTTON,246,93,16,10,WS_EX_RIGHT
119    GROUPBOX        "Encoding Level",IDC_STATIC,12,63,151,44
120    CONTROL         "Plaintext",IDC_SC_PE_ENC_PLAIN,"Button",BS_AUTORADIOBUTTON | WS_GROUP,18,73,141,10
121    CONTROL         "RC4",IDC_SC_PE_ENC_RC4,"Button",BS_AUTORADIOBUTTON,18,84,141,10
122    CONTROL         "Both",IDC_SC_PE_ENC_BOTH,"Button",BS_AUTORADIOBUTTON,18,95,58,10
123    CONTROL         "Prefer RC4",IDC_SC_PE_ENC_RC4_PERFER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,79,95,80,10
124    LTEXT           "Need Help?",IDC_SC_HELP_LINK,7,138,255,8
125END
126
127IDD_CONFIGREMOTE DIALOGEX 0, 0, 283, 94
128STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
129CAPTION "Remote Control"
130FONT 8, "MS Shell Dlg", 400, 0, 0x1
131BEGIN
132    GROUPBOX        "Remote Control Options",IDC_STATIC,6,6,271,30
133    CONTROL         "Enable Remote Control",IDC_REMOTECTRL,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,12,18,96,12
134    RTEXT           "Port to listen on : ",IDC_STATIC,159,19,66,11,WS_DISABLED
135    EDITTEXT        IDC_REMOTEPORT,229,18,42,12,ES_AUTOHSCROLL | WS_DISABLED
136    CTEXT           "*** Disabled ***",IDC_STATIC,32,44,217,11
137END
138
139IDD_THEMETEST DIALOGEX 0,0,186,94
140STYLE DS_CONTROL | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_SYSMENU
141EXSTYLE WS_EX_TRANSPARENT | WS_EX_CONTROLPARENT
142FONT 8,"MS Shell Dlg",400,0,1
143BEGIN
144    AUTOCHECKBOX    "Check1",IDC_CHECK1,7,7,44,10
145    PUSHBUTTON      "Button1",IDC_BUTTON1,69,7,51,14
146    EDITTEXT        IDC_EDIT1,134,7,45,15,ES_AUTOHSCROLL
147    AUTORADIOBUTTON "Radio1",IDC_RADIO1,129,38,50,11,NOT WS_TABSTOP
148    EDITTEXT        IDC_EDIT2,14,62,45,15,WS_DISABLED | ES_AUTOHSCROLL
149    LTEXT           "Static",IDC_STATIC,85,59,68,10
150    LTEXT           "Static",IDC_STATIC,25,35,19,8
151    GROUPBOX        "Static",IDC_STATIC,10,25,98,25
152    LTEXT           "Static",IDC_STATIC,65,35,19,8
153END
154
155IDD_DEBUGDIALOG DIALOGEX 0,0,252,105
156STYLE DS_SETFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SIZEBOX | WS_SYSMENU
157EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
158CAPTION "Halite Debug Dialog"
159FONT 8,"MS Sans Serif",0,0,0
160BEGIN
161    EDITTEXT        ED_CON,3,3,246,99,WS_VSCROLL | ES_AUTOHSCROLL | ES_MULTILINE | ES_READONLY
162END
163
164IDD_PROGRESS DIALOGEX 0,0,191,46
165STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
166EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
167CAPTION "Halite importing IP ranges..."
168FONT 8,"MS Shell Dlg",400,0,1
169BEGIN
170    CONTROL         "",IDC_PROG_PROGRESS,"msctls_progress32",WS_BORDER,6,6,180,12
171    PUSHBUTTON      "Cancel",IDC_PROG_CANCEL,60,24,66,15
172END
173
174IDD_CONFIGTORRENT DIALOGEX 0,0,283,165
175STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
176CAPTION "Torrents"
177FONT 8,"MS Shell Dlg",400,0,1
178BEGIN
179    GROUPBOX        "Global Limits",IDC_STATIC,6,6,271,55
180    EDITTEXT        IDC_BC_MAXCONN,95,29,42,12,ES_AUTOHSCROLL
181    RTEXT           "Total max connections :",IDC_STATIC,11,31,78,11
182    RTEXT           "Total upload slots :",IDC_STATIC,11,44,78,10
183    EDITTEXT        IDC_BC_MAXUP,95,42,42,12,ES_AUTOHSCROLL
184    EDITTEXT        IDC_BC_DOWNRATE,229,29,42,12,ES_AUTOHSCROLL
185    RTEXT           "Download Rate (KB/s) :",IDC_STATIC,145,31,78,11
186    RTEXT           "Upload Rate (KB/s) :",IDC_STATIC,151,44,72,10
187    EDITTEXT        IDC_BC_UPRATE,229,42,42,12,ES_AUTOHSCROLL
188    EDITTEXT        IDC_BC_TMAXCONN,95,88,42,12,ES_AUTOHSCROLL
189    RTEXT           "Total max connections :",IDC_STATIC,11,91,78,12
190    RTEXT           "Total upload slots :",IDC_STATIC,11,104,78,12
191    EDITTEXT        IDC_BC_TMAXUP,95,101,42,12,ES_AUTOHSCROLL
192    EDITTEXT        IDC_BC_TDOWNRATE,229,88,42,12,ES_AUTOHSCROLL
193    RTEXT           "Download Rate (KB/s) :",IDC_STATIC,145,91,78,12
194    RTEXT           "Upload Rate (KB/s) :",IDC_STATIC,151,104,72,12
195    EDITTEXT        IDC_BC_TUPRATE,229,101,42,12,ES_AUTOHSCROLL
196    GROUPBOX        "Torrent Defaults",IDC_STATIC,6,66,271,82
197    LTEXT           "These options set global maximums which will always be honoured.",IDC_STATIC,13,16,257,11
198    LTEXT           "These options specify the default limits applied to new torrents.",IDC_STATIC,13,76,257,11
199    RTEXT           "Default save folder : ",IDC_STATIC,13,120,77,11
200    EDITTEXT        IDC_BC_SAVEFOLDER,95,119,152,12,ES_AUTOHSCROLL
201    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,251,118,18,13
202    AUTOCHECKBOX    "Prompt for alternate save folder.",IDC_BC_PROMPTSAVE,95,133,135,11
203END
204
205IDD_CLOSESPLASH DIALOGEX 0,0,191,54
206STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
207EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST | WS_EX_STATICEDGE
208CAPTION "Halite shutting down..."
209FONT 8,"MS Shell Dlg",400,0,1
210BEGIN
211    ICON            IDR_APP_ICON,IDC_STATIC,7,10,21,20,SS_ICON
212    LTEXT           "It will take the BitTorrent session a moment to shutdown cleanly after which this message will disappear and the program will close.",IDC_STATIC,35,7,149,27
213    AUTOCHECKBOX    "Show this message in future",IDC_SPLASH_MSG,83,35,101,12
214END
215
216IDD_NEWTORRENT DIALOGEX 0,0,229,132
217STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
218CAPTION "Create new torrent"
219FONT 8,"MS Shell Dlg",400,0,1
220BEGIN
221    PUSHBUTTON      "Save",IDOK,130,114,45,14,BS_DEFPUSHBUTTON
222    PUSHBUTTON      "Cancel",IDCANCEL,180,114,45,14
223    LTEXT           "Select a file or directory to construct the torrent.",IDC_STATIC,4,4,221,11
224    EDITTEXT        IDC_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL
225    PUSHBUTTON      "...",IDC_NEWT_BROWSE,212,14,13,13
226    LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP | WS_VSCROLL | LBS_NOINTEGRALHEIGHT | LBS_SORT
227    LTEXT           "Enter the tracker URLs for the torrent.",IDC_STATIC,4,32,221,11
228    EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL
229    AUTOCHECKBOX    "Have Halite acts a DHT node.",IDC_NEWT_DHTNODE,4,116,118,8,WS_DISABLED
230    PUSHBUTTON      "Add",IDC_NEWT_ADDTRACKER,202,41,23,13
231END
232
233IDD_HALITEDLG DIALOGEX 0,0,370,73
234STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
235FONT 8,"MS Shell Dlg",400,0,1
236BEGIN
237    PUSHBUTTON      "Pause",BTNPAUSE,314,3,52,14,BS_DEFPUSHBUTTON
238    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,314,19,52,14
239    PUSHBUTTON      "Remove",BTNREMOVE,314,35,52,14
240    CONTROL         "",LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,64,362,6
241    EDITTEXT        IDC_EDITTLU,277,36,34,12,ES_AUTOHSCROLL
242    EDITTEXT        IDC_EDITTLD,220,36,34,12,ES_AUTOHSCROLL
243    EDITTEXT        IDC_EDITNCD,220,12,34,12,ES_AUTOHSCROLL
244    EDITTEXT        IDC_EDITNCU,277,12,34,12,ES_AUTOHSCROLL
245    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,4,52,362,8
246    RTEXT           "Name:",IDC_STATIC,4,3,40,8
247    RTEXT           "Tracker:",IDC_STATIC,4,15,40,8
248    RTEXT           "Status:",IDC_STATIC,4,27,40,8
249    RTEXT           "Time left:",IDC_STATIC,4,39,40,8
250    LTEXT           "N/A",IDC_NAME,45,3,145,10,SS_WORDELLIPSIS
251    LTEXT           "N/A",IDC_TRACKER,45,15,145,8,SS_WORDELLIPSIS
252    LTEXT           "N/A",IDC_STATUS,45,27,145,8,SS_WORDELLIPSIS
253    LTEXT           "N/A",IDC_AVAIL,45,39,36,8,SS_WORDELLIPSIS
254    LTEXT           "Torrent connection limits:",IDC_NC,195,3,115,8
255    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,195,27,115,8
256    RTEXT           "Total",IDC_NCD,192,15,25,8
257    RTEXT           "Up",IDC_NCU,255,15,20,8
258    RTEXT           "Up",IDC_TLU,255,39,20,8
259    RTEXT           "Down",IDC_TLD,192,39,25,8
260    RTEXT           "Completed:",IDC_STATIC,85,39,44,8
261    LTEXT           "N/A",IDC_COMPLETE,132,39,58,8,SS_WORDELLIPSIS
262    GROUPBOX        "",IDC_DETAILS_GROUP,1,-4,368,77,0,WS_EX_TRANSPARENT
263END
264
265IDD_ABOUT DIALOGEX 0,0,283,150
266STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
267CAPTION "About"
268FONT 8,"MS Shell Dlg",400,0,1
269BEGIN
270    GROUPBOX        "Program Information",IDC_STATIC,5,7,271,136
271    RTEXT           HALITE_VERSION_STRING,IDC_STATIC,145,145,129,9
272    LTEXT           "",IDC_EDITABOUT,8,15,265,125
273END
274
275IDD_ADVHALITEDLG DIALOGEX 0,0,317,72
276STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
277FONT 8,"MS Shell Dlg",400,0,1
278BEGIN
279    CONTROL         "",IDC_TAB,"SysTabControl32",0,1,0,315,71
280    RTEXT           "Static",IDC_ADVDLG_VERSION,235,2,78,10
281END
282
283IDD_CONFIGGENERAL DIALOGEX 0, 0, 283, 90
284STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
285CAPTION "General"
286FONT 8, "MS Shell Dlg", 400, 0, 0x1
287BEGIN
288    CONTROL         "Allow only one instance to run.",IDC_GENERAL_ONEINST,
289                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,16,136,14
290    GROUPBOX        "General Settings",IDC_STATIC,7,6,271,77
291    CONTROL         "Advanced GUI",IDC_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,42,136,14
292    CONTROL         "Minimize to tray.",IDC_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,29,136,14
293    LISTBOX         IDC_LANGLIST,156,24,114,54,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
294    CTEXT           "Language (requires restart)",IDC_STATIC,156,12,114,8
295END
296
297IDD_ADVTRACKER DIALOGEX 0,0,305,69
298STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
299FONT 8,"MS Shell Dlg",400,0,1
300BEGIN
301    LTEXT           "List of Trackers.",-1,7,6,95,8
302    EDITTEXT        IDC_TRACKER_USER,208,18,92,12,ES_AUTOHSCROLL
303    EDITTEXT        IDC_TRACKER_PASS,208,32,92,12,ES_AUTOHSCROLL | ES_PASSWORD
304    RTEXT           "Username : ",IDC_TRACKER_USER_S,164,20,42,8
305    RTEXT           "Password : ",IDC_TRACKER_PASS_S,164,34,42,8
306    AUTOCHECKBOX    "Send login info to trackers.",IDC_TRACKER_LOGINCHECK,166,4,101,12
307    CONTROL         "",IDC_TRACKERLIST,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,19,154,47
308    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,207,46,51,14
309    PUSHBUTTON      "Apply",IDC_TRACKER_APPLY,126,3,32,14,WS_DISABLED
310    PUSHBUTTON      "Reset",IDC_TRACKER_RESET,92,3,32,14
311END
312
313IDD_ADVDEBUGLOG DIALOGEX 0,0,305,81
314STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
315FONT 8,"MS Shell Dlg",400,0,1
316BEGIN
317    AUTOCHECKBOX    "Log to file.",IDC_DEBUGFILECHECK,4,69,54,9
318    CONTROL         "",IDC_DEBUGLISTVIEW,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
319    AUTOCHECKBOX    "Log debug events.",IDC_DEBUGDEBUGCHECK,58,69,78,9
320END
321
322IDD_TRACKEDIT DIALOGEX 0,0,186,50
323STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
324EXSTYLE WS_EX_TOOLWINDOW
325CAPTION "Add New Tracker"
326FONT 8,"MS Shell Dlg 2",400,0,1
327BEGIN
328    PUSHBUTTON      "OK",IDOK,41,31,50,14,BS_DEFPUSHBUTTON
329    PUSHBUTTON      "Cancel",IDCANCEL,95,31,50,14
330    LTEXT           "Tracker URL",IDC_STATIC,5,5,47,10
331    EDITTEXT        IDC_TRACKER_EDIT_URL,4,15,145,12,ES_AUTOHSCROLL
332    EDITTEXT        IDC_TRACKER_EDIT_TIER,153,15,30,12,ES_AUTOHSCROLL
333    LTEXT           "Tier",IDC_STATIC,155,5,15,10
334END
335
336IDD_ADVPEER DIALOGEX 0, 0, 305, 69
337STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
338FONT 8, "MS Shell Dlg", 400, 0, 0x1
339BEGIN
340    CONTROL         "",IDC_PEERLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,7,297,59
341END
342
343IDR_TRAY_MENU MENU
344BEGIN
345    POPUP "_POPUP_"
346    BEGIN
347        MENUITEM "Open &Halite",ID_TRAY_OPENHALITE
348        MENUITEM SEPARATOR
349        MENUITEM "&Pause All",ID_TRAY_PAUSEALL
350        MENUITEM "&Resume All",ID_TRAY_RESUMEALL
351        MENUITEM SEPARATOR
352        MENUITEM "E&xit",ID_TRAY_EXIT
353    END
354END
355
356IDR_LISTVIEW_MENU MENU
357BEGIN
358    POPUP "_POPUP_"
359    BEGIN
360        MENUITEM "Resume",ID_LVM_RESUME
361        MENUITEM "Pause",ID__LVM_PAUSE
362        MENUITEM "Stop",ID_LVM_STOP
363        MENUITEM SEPARATOR
364        MENUITEM "Reannounce",ID_LVM_REANNOUNCE
365        POPUP "Remove"
366        BEGIN
367            MENUITEM "Torrent File",ID_LVM_REMOVE_T
368            MENUITEM "Torrent and Data",ID_LVM_REMOVE_TD
369        END
370    END
371END
372
373IDR_TRACKERLV_MENU MENU
374BEGIN
375    POPUP "_POPUP_"
376    BEGIN
377        MENUITEM "New",ID_TLVM_NEW
378        MENUITEM "Edit",ID_TLVM_EDIT
379        MENUITEM "Delete",ID_TLVM_DELETE
380    END
381END
382
3831 VERSIONINFO
384    FILEVERSION     HALITE_VERSION
385    PRODUCTVERSION  HALITE_VERSION
386    FILEOS          VOS_UNKNOWN
387    FILETYPE        VFT_UNKNOWN
388BEGIN
389    BLOCK "StringFileInfo"
390    BEGIN
391        BLOCK "180904b0"
392        BEGIN
393            VALUE "Comments", "libTorrrent based client."
394            VALUE "CompanyName", "BinaryNotions.com"
395            VALUE "FileDescription", "Halite BitTorrent Client"
396            VALUE "FileVersion", HALITE_VERSION_STRING
397            VALUE "InternalName", "Halite"
398            VALUE "LegalCopyright", "(C) Eoin O'Callaghan 2007"
399            VALUE "OriginalFilename", "Halite.exe"
400            VALUE "ProductName", "Halite"
401            VALUE "ProductVersion", HALITE_VERSION_STRING
402        END
403    END
404    BLOCK "VarFileInfo"
405    BEGIN
406        VALUE "Translation", 6153, 1200
407    END
408END
409
410STRINGTABLE
411BEGIN
412    IDPANE_STATUS                 "(D-U) 0000.000KB/s - 0000.000KB/s"
413    IDPANE_CAPS_INDICATOR         "CAPS"
414    IDPANE_DHT                    "0000 DHT node(s)"
415    IDPANE_FILTER                 "Filtering 0000000 ranges."
416    IDS_TRYANOTHERPORT            "The BitTorrent session could not start. Try selecting another port in the settings."
417    IDS_DHTTRYANOTHERPORT         "DHT session could not start. Try selecting another port in the settings."
418    IDS_SAVEPROMPT                "Select a directory to save the files to or cancel to not download torrent at all."
419    HAL_EVENTNONE                 "None"
420    HAL_EVENTDEBUG                "Debug"
421    HAL_EVENTINFO                 "Info"
422    HAL_EVENTCRITICAL             "Critical"
423    HAL_PEERALERT                 "Libtorrent Peer Alert: %1%."
424    HAL_EVENT_XMLEXP              "Xml Exception (%1%) with %2%."
425    IDS_NA                        "N/A"
426    HAL_EVENT_TORRENTEXP          "Torrent (%1%) exception caught; %2% from %3%."
427    HAL_EVENT_INVTORRENT          "Invalid torrent (%1%) from %2%."
428    HAL_COMPLETED_SUMMARY         "Completed %1$.2fMB of %2$.2fMB, ETA %3%."
429    HAL_DOWNLOAD_SUMMARY          "This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
430    HAL_DOWNLOADT_SUMMARY         "Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
431    HAL_PAYLOAD_SUMMARY           "Total transfer including protocol overhead; %1$.2fMB down and %2$.2fMB up."
432        HAL_NAME_STATUS                           "Name: %1%, %2%."
433        HAL_SECOND                                        ""
434    HAL_TRANSFERED                                "Transfered (Overhead): %1$.2fMB (%2$.2fMB) Down, %3$.2fMB (%4$.2fMB) Up."
435    HAL_REMAINING                                 "Remaining: %1$.2fMB, ETA %2%."
436    HAL_RATE                                      "Downloading at %1$.2fkb/s, Uploading at %2$.2fkb/s, Ratio %3$.2f."
437    HAL_DHT_ON                    "%1% DHT node(s)"
438    HAL_DHT_OFF                   "DHT disabled"
439    HAL_IPFILTER_ON               "Filtering %1% range(s)"
440    HAL_IPFILTER_OFF              "IP filter disabled"
441    HAL_EVENT_STDEXP              "Standard exception (%1%) thrown from %2%."
442    HAL_DOWN_RATES                "(D-U) %1$.2fKB/s - %2$.2fKB/s"
443    HAL_NOT_LISTENING             "Halite not listening!"
444    HAL_PORT_OPEN                 "Port %1% open"
445    HAL_VERSION_STRING            HALITE_VERSION_STRING
446        HAL_EVENT_EXP                 "Exception caught; %1%, from %2%."
447        HAL_EVENT_XML_EXP             "XML exception: %1%."
448        HAL_EVENT_UNICODE_EXP         "Unicode exception: %1%."
449        HAL_EVENT_UNCLASSIFIED            "Bittorrent Event: %1%."
450        HAL_EVENT_PEER                            "Peer Event: %1%."
451        HAL_EVENT_TRACKER                         "Tracker Event: %1%."
452        HAL_EVENT_DEBUG                           "Debug Event: %1%."
453        HAL_FOLDER_SELECT                         "Select a directory to save the downloads to. Select cancel to accept default 'incomming' location."
454        HAL_TORRENT_TAB                           "Torrent"
455        HAL_PEERS_TAB                             "Peers"
456        HAL_TRACKER_TAB                           "Tracker"
457        HAL_DEBUG_TAB                             "Logging"
458        HAL_INCORRECT_ENCODING_LEVEL  "An invalid encoding level, %1%, was passed as an encryption setting."
459        HAL_INCORRECT_CONNECT_POLICY  "An invalid connection policy, %1%, was passed as an encryption setting."
460        HAL_AUTOSORT                              "Auto Sort"
461END
462
463STRINGTABLE
464BEGIN
465    HAL_PEER_INTERESTING    "Interesting"
466    HAL_PEER_CHOKED         "Choked"
467    HAL_PEER_REMOTE_INTERESTING "Interested in us"
468    HAL_PEER_REMOTE_CHOKED  "Has choked us"
469    HAL_PEER_SUPPORT_EXTENSIONS "Supports extensions"
470    HAL_PEER_LOCAL_CONNECTION "Local connection"
471    HAL_PEER_HANDSHAKE      "Handshake"
472    HAL_PEER_CONNECTING     "Connecting"
473    HAL_PEER_QUEUED         "Queued"
474    HAL_PEER_RC4_ENCRYPTED     "RC4 Encrypted"
475    HAL_PEER_PLAINTEXT_ENCRYPTED         "Plaintext Encrypted"
476END
477
478STRINGTABLE
479BEGIN
480HAL_ABOUT_BOX "Halite"
481//HAL_ABOUT_BOX "Halite is a BitTorrent client based on the libtorrent library from Rasterbar.com. The program is written in C++ relying on the Boost libraries and WTL. It is open sourced under a MIT and/or Boost software licence.\r\n\r\nThis project has only been possible thanks to the excellent work others. I'd like to acknowledge some of those people.\r\n\r\nArvid Norberg - www.rasterbar.com - Author of the libtorrent library.\r\nChristopher Kohlhoff - asio.sourceforge.net - Author of Boost.ASIO.\r\nnudone (Nick Pearson) - wtfcody.com / nudsville.com - Designed the Icon."
482END
483
484STRINGTABLE
485BEGIN
486    HAL_TORRENT_QUEUED_CHECKING "Queued for Checking"
487    HAL_TORRENT_CHECKING_FILES "Checking Files"
488    HAL_TORRENT_CONNECTING  "Connecting to Tracker"
489    HAL_TORRENT_DOWNLOADING "Downloading"
490    HAL_TORRENT_FINISHED    "Finished"
491    HAL_TORRENT_SEEDING     "Seeding"
492    HAL_TORRENT_ALLOCATING  "Allocating"
493    HAL_TORRENT_QUEUED      "Queued"
494        HAL_TORRENT_STOPPED             "Stopped"
495        HAL_TORRENT_PAUSED              "Paused"
496        HAL_TORRENT_METADATA    "Downloading Metadata"
497END
498
499STRINGTABLE
500BEGIN
501        HAL_LISTVIEW_COLUMNS              "Name;Status;Completed;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio"
502        HAL_LISTVIEW_DEFAULTS             "100;110;60;60;60;42;45;61;45"
503        HAL_DEBUG_LISTVIEW_COLUMNS        "Time;Message;Severity"
504        HAL_DEBUG_LISTVIEW_DEFAULTS       "67;419;69"
505        HAL_TRACKER_LISTVIEW_COLUMNS  "Tracker;Tier"
506        HAL_TRACKER_LISTVIEW_DEFAULTS "287;50"
507        HAL_DIALOGPEER_LISTVIEW_COS       "Peer;Country;Download;Upload;Type;Client"
508        HAL_DIALOGPEER_LISTVIEW_COS_DEFAULTS      "100;70;70;70;100"
509        HAL_DIALOGPEER_LISTVIEW_ADV       "Peer;Country;Download;Upload;Type;Client;Status"
510        HAL_DIALOGPEER_LISTVIEW_ADV_DEFAULTS      "95;64;64;50;100;500"
511END
512
513IDR_MAINFRAME TOOLBAR 22,22
514BEGIN
515    BUTTON      ID_FILE_NEW
516    BUTTON      ID_FILE_OPEN
517    SEPARATOR
518    BUTTON      ID_SETTINGS
519    BUTTON      ID_ADVANCED
520    SEPARATOR
521    BUTTON      ID_RESUME
522    BUTTON      ID_PAUSE
523    SEPARATOR
524    BUTTON      ID_HELP
525END
Note: See TracBrowser for help on using the repository browser.