Changeset 333 for res/Halite.rc


Ignore:
Timestamp:
11/10/07 09:31:42 (12 years ago)
Author:
Eoin
Message:

UI fully converted to Autosize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • res/Halite.rc

    r326 r333  
    7272FONT 8, "MS Shell Dlg", 400, 0, 0x1 
    7373BEGIN 
    74     RTEXT           "Open a (single) port between : ",IDC_STATIC,12,31,120,12 
     74    RTEXT           "Open a (single) port between : ",IDC_BITT_OPENPORT,12,31,120,12,SS_WORDELLIPSIS | SS_CENTERIMAGE 
    7575    EDITTEXT        IDC_BC_PORTFROM,135,29,65,12,ES_AUTOHSCROLL 
    7676    EDITTEXT        IDC_BC_PORTTO,250,29,65,12,ES_AUTOHSCROLL 
    7777    CONTROL         "Enable DHT",IDC_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10 
    7878    CONTROL         "to",IDC_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12 
    79     LTEXT           "Select the (TCP) port (or range) on which to listen for incomming connections.",IDC_STATIC,12,17,300,11 
    80     GROUPBOX        "Distributed Hash Tables",IDC_STATIC,5,108,260,39 
     79    LTEXT           "Select the (TCP) port (or range) on which to listen for incomming connections.",IDC_BITT_SELECT_TEXT,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE 
     80    GROUPBOX        "Distributed Hash Tables",IDC_BITT_GDHT,5,108,260,39 
    8181    EDITTEXT        IDC_BC_DHTPORT,180,119,80,12,ES_AUTOHSCROLL 
    8282    RTEXT           "Port (UDP) : ",IDC_BC_DHTPORT_S,110,121,70,8 
    83     CTEXT           "(DHT will not apply to private torrents)",IDC_STATIC,11,134,250,8 
    84     GROUPBOX        "General Settings",IDC_STATIC,5,6,315,54 
     83    CTEXT           "(DHT will not apply to private torrents)",IDC_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE 
     84    GROUPBOX        "General Settings",IDC_BITT_GSETTINGS,5,6,315,54 
    8585    EDITTEXT        IDC_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL 
    8686    CONTROL         "Limit the no. of half-open connections",IDC_BC_HALFCONN_CHECK, 
     
    112112 
    113113IDD_CONFIGSECURITY DIALOGEX 0, 0, 325, 155 
    114 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU 
     114STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD 
    115115CAPTION "Security" 
    116116FONT 8, "MS Shell Dlg", 400, 0, 0x1 
     
    190190 
    191191IDD_CONFIGTORRENT DIALOGEX 0, 0, 325, 165 
    192 //STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU 
    193192STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU 
    194193CAPTION "Torrents" 
    195194FONT 8, "MS Shell Dlg", 400, 0, 0x1 
    196195BEGIN 
    197     GROUPBOX        "Global Limits",IDC_STATIC,5,6,315,55 
     196    GROUPBOX        "Global Limits",IDC_CONFIGT_GLOBALG,5,6,315,55 
    198197    EDITTEXT        IDC_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL 
    199     RTEXT           "Total max connections :",IDC_STATIC,12,31,100,11 
    200     RTEXT           "Total upload slots :",IDC_STATIC,12,44,100,10 
     198    RTEXT           "Total max connections :",IDC_CONFIGT_TOTALMAX,12,31,100,11 
     199    RTEXT           "Total upload slots :",IDC_CONFIGT_TOTALUP,12,44,100,10 
    201200    EDITTEXT        IDC_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL 
    202201    EDITTEXT        IDC_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL 
    203     RTEXT           "Download Rate (KB/s) :",IDC_STATIC,165,31,100,11 
    204     RTEXT           "Upload Rate (KB/s) :",IDC_STATIC,165,44,100,10 
     202    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_DOWNRATE,165,31,100,11 
     203    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_UPRATE,165,44,100,10 
    205204    EDITTEXT        IDC_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL 
    206205    EDITTEXT        IDC_BC_TMAXCONN,118,88,42,12,ES_AUTOHSCROLL 
    207     RTEXT           "Total max connections :",IDC_STATIC,12,91,100,12 
    208     RTEXT           "Total upload slots :",IDC_STATIC,12,104,100,12 
     206    RTEXT           "Total max connections :",IDC_CONFIGT_TORMAX,12,91,100,12 
     207    RTEXT           "Total upload slots :",IDC_CONFIGT_TORUP,12,104,100,12 
    209208    EDITTEXT        IDC_BC_TMAXUP,118,101,42,12,ES_AUTOHSCROLL 
    210209    EDITTEXT        IDC_BC_TDOWNRATE,271,88,42,12,ES_AUTOHSCROLL 
    211     RTEXT           "Download Rate (KB/s) :",IDC_STATIC,165,91,100,12 
    212     RTEXT           "Upload Rate (KB/s) :",IDC_STATIC,165,104,100,12 
     210    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_TDOWNRATE,165,91,100,12 
     211    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_TORUPRATE,165,104,100,12 
    213212    EDITTEXT        IDC_BC_TUPRATE,271,101,42,12,ES_AUTOHSCROLL 
    214     GROUPBOX        "Torrent Defaults",IDC_STATIC,5,66,315,82 
    215     LTEXT           "These options set global maximums which will always be honoured.",IDC_STATIC,12,16,300,11 
    216     LTEXT           "These options specify the default limits applied to new torrents.",IDC_STATIC,12,76,301,11 
    217     RTEXT           "Default save folder :",IDC_STATIC,12,120,100,11 
     213    GROUPBOX        "Torrent Defaults",IDC_CONFIGT_TORRENTG,5,66,315,82 
     214    LTEXT           "These options set global maximums which will always be honoured.",IDC_CONFIGT_GLOBAL_TEXT,12,16,300,11 
     215    LTEXT           "These options specify the default limits applied to new torrents.",IDC_CONFIGT_TOR_TEXT,12,76,301,11 
     216    RTEXT           "Default save folder :",IDC_CONFIGT_DEF_FOLDER,12,120,100,11 
    218217    EDITTEXT        IDC_BC_SAVEFOLDER,118,119,170,12,ES_AUTOHSCROLL 
    219218    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,293,118,18,13 
     
    323322BEGIN 
    324323    CONTROL         "Allow only one instance to run.",IDC_GENERAL_ONEINST, 
    325                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,16,150,14 
    326     GROUPBOX        "General Settings",IDC_STATIC,5,6,315,77 
    327     CONTROL         "Advanced GUI",IDC_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,14 
    328     CONTROL         "Minimize to tray.",IDC_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,14 
    329     LISTBOX         IDC_LANGLIST,165,24,149,54,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP 
    330     CTEXT           "Language (requires restart)",IDC_STATIC,165,13,150,8 
     324                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,16,150,11 
     325    GROUPBOX        "General Settings",IDC_GENERAL_GROUP,5,6,315,77 
     326    CONTROL         "Advanced GUI",IDC_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11 
     327    CONTROL         "Minimize to tray.",IDC_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11 
     328    LISTBOX         IDC_LANGLIST,165,24,149,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP 
     329    CTEXT           "Language (requires restart)",IDC_GENERAL_LANG,165,13,150,8 
    331330END 
    332331 
Note: See TracChangeset for help on using the changeset viewer.