Changeset 505 for trunk/res/Halite.rc


Ignore:
Timestamp:
07/20/08 16:09:45 (12 years ago)
Author:
Eoin
Message:

Added configuration options for the new libtorrent queue feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/res/Halite.rc

    r496 r505  
    149149FONT 8, "MS Shell Dlg", 400, 0, 0x1 
    150150BEGIN 
     151    GROUPBOX        "Enable Extension",HAL_BC_EXT_GROUP,5,6,315,54 
     152    CONTROL         "Metadata Extension",HAL_BC_METADATADHT_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     153    CONTROL         "uTorrent Metadata",HAL_BC_uT_METADATA_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     154    CONTROL         "uTorrent Peer Exchange",HAL_BC_uT_PEEER_EX_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     155    CONTROL         "Smart Ban Plugin",HAL_BC_SMART_BAN_PLUGIN_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     156END 
     157 
     158HAL_CONFIGPORTS DIALOGEX 0, 0, 325, 155 
     159STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU 
     160CAPTION "Ports" 
     161FONT 8, "MS Shell Dlg", 400, 0, 0x1 
     162BEGIN 
    151163    RTEXT           "Open a (single) port between : ",HAL_BITT_OPENPORT,12,31,120,12,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    152164    EDITTEXT        HAL_BC_PORTFROM,135,29,65,12,ES_AUTOHSCROLL 
    153165    EDITTEXT        HAL_BC_PORTTO,250,29,65,12,ES_AUTOHSCROLL 
    154166    CONTROL         "Enable DHT",HAL_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10 
     167    CONTROL         "Enable DHT Extentions",HAL_BC_DHT_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10 
    155168    CONTROL         "to",HAL_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12 
    156169    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 
     
    158171    EDITTEXT        HAL_BC_DHTPORT,180,119,80,12,ES_AUTOHSCROLL 
    159172    RTEXT           "Port (UDP) : ",HAL_BC_DHTPORT_S,110,121,70,8 
    160     CTEXT           "(DHT will not apply to private torrents)",HAL_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE 
     173    RTEXT           "(DHT will not apply to private torrents)",HAL_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE 
    161174    GROUPBOX        "General Settings",HAL_BITT_GSETTINGS,5,6,315,54 
    162175    EDITTEXT        HAL_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL 
     
    164177                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,45,190,12 
    165178    GROUPBOX        "Port Forwarding",HAL_BITT_GPORTFORWARDING,5,6,315,54 
    166     CONTROL         "None (Managed Externally)",HAL_BITT_GPORTFORWARD_NONE,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10 
    167     CONTROL         "UnPlug and Play",HAL_BITT_GPORTFORWARD_UPNG,"Button",BS_AUTORADIOBUTTON,284,83,16,10 
    168     CONTROL         "NAT-PMG",HAL_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTORADIOBUTTON,284,93,16,10 
    169     PUSHBUTTON      "Test",HAL_BITT_GPORTFORWARD_TEST,207,46,51,12,NOT WS_VISIBLE 
     179    CONTROL         "None (Managed Externally)",HAL_BITT_GPORTFORWARD_NONE,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,11 
     180    CONTROL         "UnPlug and Play",HAL_BITT_GPORTFORWARD_UPNG,"Button",BS_AUTORADIOBUTTON,284,83,16,11 
     181    CONTROL         "NAT-PMG",HAL_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTORADIOBUTTON,284,93,16,11 
     182    PUSHBUTTON      "Test",HAL_BITT_GPORTFORWARD_TEST,207,46,51,11,WS_VISIBLE 
    170183 
    171184    LISTBOX         HAL_BITT_GPORTFORWARD_LIST,165,24,149,7,LBS_SORT|LBS_NOINTEGRALHEIGHT|WS_VSCROLL|WS_TABSTOP|NOT WS_VISIBLE 
     
    173186//    RTEXT           "Why?",HAL_BC_CON_WHY,239,47,31,8 
    174187END 
     188 
     189HAL_CONFIGGLOBAL DIALOGEX 0, 0, 325, 155 
     190STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU 
     191CAPTION "Globals" 
     192FONT 8, "MS Shell Dlg", 400, 0, 0x1 
     193BEGIN 
     194    GROUPBOX        "Global Limits",HAL_CONFIGT_GLOBALG,5,6,315,55 
     195    EDITTEXT        HAL_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL 
     196    RTEXT           "Total max connections :",HAL_CONFIGT_TOTALMAX,12,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     197    RTEXT           "Total upload slots :",HAL_CONFIGT_TOTALUP,12,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     198    EDITTEXT        HAL_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL 
     199    EDITTEXT        HAL_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL 
     200    RTEXT           "Download Rate (KB/s) :",HAL_CONFIGT_DOWNRATE,165,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     201    RTEXT           "Upload Rate (KB/s) :",HAL_CONFIGT_UPRATE,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     202    EDITTEXT        HAL_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL 
     203 
     204    LTEXT           "These options set global maximums which will always be honoured.",HAL_CONFIGT_GLOBAL_TEXT,12,16,300,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     205 
     206    GROUPBOX        "Queue System",HAL_CGLOBAL_QUEUEG,5,6,315,55 
     207    RTEXT           "Active downloads :",HAL_CGLOBAL_ACTDOWNT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     208    EDITTEXT        HAL_CGLOBAL_ACTDOWN,271,42,42,12,ES_AUTOHSCROLL 
     209    RTEXT           "Active seeds :",HAL_CGLOBAL_ACTSEEDT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     210    EDITTEXT        HAL_CGLOBAL_ACTSEED,271,42,42,12,ES_AUTOHSCROLL 
     211    CONTROL         "Don't count slow torrents.",HAL_CGLOBAL_DISCOUNTSLOW,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,50,175,10 
     212         
     213    RTEXT           "Active seeds hard limit:",HAL_CGLOBAL_ACTSEEDHARDT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     214    EDITTEXT        HAL_CGLOBAL_ACTSEEDHARD,271,42,42,12,ES_AUTOHSCROLL 
     215 
     216    GROUPBOX        "Seeding Limits",HAL_CGLOBAL_SEEDINGG,5,6,315,55 
     217        RTEXT           "Share ratio limit:",HAL_CGLOBAL_SHARERATIOT,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     218        EDITTEXT        HAL_CGLOBAL_SHARERATIO,271,42,42,12,ES_AUTOHSCROLL 
     219    RTEXT           "Time ratio limit:",HAL_CGLOBAL_SHARERATIOTIMET,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     220    EDITTEXT        HAL_CGLOBAL_SHARERATIOTIME,271,42,42,12,ES_AUTOHSCROLL 
     221    RTEXT           "Time limit (sec):",HAL_CGLOBAL_SHARETIMET,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     222    EDITTEXT        HAL_CGLOBAL_SHARETIME,271,42,42,12,ES_AUTOHSCROLL 
     223END 
     224 
    175225 
    176226HAL_CONFIGPROXY DIALOGEX 0, 0, 285, 155 
     
    268318FONT 8, "MS Shell Dlg", 400, 0, 0x1 
    269319BEGIN 
    270     GROUPBOX        "Global Limits",HAL_CONFIGT_GLOBALG,5,6,315,55 
    271     EDITTEXT        HAL_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL 
    272     RTEXT           "Total max connections :",HAL_CONFIGT_TOTALMAX,12,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    273     RTEXT           "Total upload slots :",HAL_CONFIGT_TOTALUP,12,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    274     EDITTEXT        HAL_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL 
    275     EDITTEXT        HAL_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL 
    276     RTEXT           "Download Rate (KB/s) :",HAL_CONFIGT_DOWNRATE,165,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    277     RTEXT           "Upload Rate (KB/s) :",HAL_CONFIGT_UPRATE,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    278     EDITTEXT        HAL_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL 
     320 
    279321    EDITTEXT        HAL_BC_TMAXCONN,118,88,42,12,ES_AUTOHSCROLL 
    280322    RTEXT           "Total max connections :",HAL_CONFIGT_TORMAX,12,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     
    286328    EDITTEXT        HAL_BC_TUPRATE,271,101,42,12,ES_AUTOHSCROLL 
    287329    GROUPBOX        "Torrent Defaults",HAL_CONFIGT_TORRENTG,5,66,315,82 
    288     LTEXT           "These options set global maximums which will always be honoured.",HAL_CONFIGT_GLOBAL_TEXT,12,16,300,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    289330    LTEXT           "These options specify the default limits applied to new torrents.",HAL_CONFIGT_TOR_TEXT,12,76,301,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    290331    RTEXT           "Default save folder :",HAL_CONFIGT_DEF_FOLDER,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
Note: See TracChangeset for help on using the changeset viewer.