Changeset 461 for trunk/res/Halite.rc


Ignore:
Timestamp:
05/29/08 14:08:35 (12 years ago)
Author:
Eoin
Message:

Improved Torrent Creation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/res/Halite.rc

    r460 r461  
    410410IDD_NEWTORRENT DIALOGEX 0,0,229,132 
    411411STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN 
     412CAPTION "Details" 
     413FONT 8,"MS Shell Dlg",400,0,1 
     414BEGIN 
     415        LTEXT           "Enter the tracker URLs for the torrent.",IDC_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,NOT WS_VISIBLE 
     416    EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL|NOT WS_VISIBLE 
     417//    AUTOCHECKBOX    "Have Halite acts a DHT node.",IDC_NEWT_DHTNODE,4,116,118,8,WS_DISABLED 
     418    AUTOCHECKBOX    "Private",IDC_NEWTORRENT_PRIVATE,4,116,118,8 
     419        LTEXT           "Comment",IDC_NEWTORRENT_COMMENT_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     420    EDITTEXT        IDC_NEWTORRENT_COMMENT,4,15,203,12,ES_AUTOHSCROLL 
     421    LTEXT           "Creator",IDC_NEWTORRENT_CREATOR_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     422    EDITTEXT        IDC_NEWTORRENT_CREATOR,4,15,203,12,ES_AUTOHSCROLL 
     423    LTEXT           "Piece Size (KBs)",HAL_NEWT_PIECESIZE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     424    EDITTEXT        HAL_NEWT_PIECESIZE,4,15,203,12,ES_AUTOHSCROLL|ES_NUMBER 
     425    LTEXT           "Output File",IDC_NEWT_OUTFILE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     426    EDITTEXT        IDC_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL 
     427    PUSHBUTTON      "...",IDC_NEWT_OUT_BROWSE,212,14,18,13 
     428END 
     429 
     430IDD_NEWT_FILES DIALOGEX 0,0,186,50 
     431STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME 
     432EXSTYLE WS_EX_TOOLWINDOW 
    412433CAPTION "Files" 
    413434FONT 8,"MS Shell Dlg",400,0,1 
    414435BEGIN 
    415 //    PUSHBUTTON      "Save",IDOK,130,114,45,14,BS_DEFPUSHBUTTON 
    416 //    PUSHBUTTON      "Cancel",IDCANCEL,180,114,45,14 
    417436    LTEXT           "Select a file or directory from which to construct the torrent.",IDC_NEWTORRENT_SELECT_TEXT,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    418437    PUSHBUTTON      "File",IDC_NEWT_FILE_BROWSE,212,14,40,13 
    419438    PUSHBUTTON      "Dir.",IDC_NEWT_DIR_BROWSE,212,14,40,13 
    420     LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT|NOT WS_VISIBLE 
    421439    CONTROL         "",IDC_NEWT_LISTFILES,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59 
    422     LTEXT           "Enter the tracker URLs for the torrent.",IDC_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,NOT WS_VISIBLE 
    423     EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL|NOT WS_VISIBLE 
    424 //    AUTOCHECKBOX    "Have Halite acts a DHT node.",IDC_NEWT_DHTNODE,4,116,118,8,WS_DISABLED 
    425     AUTOCHECKBOX    "Private",IDC_NEWTORRENT_PRIVATE,4,116,118,8 
    426     PUSHBUTTON      "Add",IDC_NEWT_ADDTRACKER,202,41,23,13,NOT WS_VISIBLE 
    427     LTEXT           "Comment",IDC_NEWTORRENT_COMMENT_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    428     EDITTEXT        IDC_NEWTORRENT_COMMENT,4,15,203,12,ES_AUTOHSCROLL 
    429     LTEXT           "Creator",IDC_NEWTORRENT_CREATOR_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    430     EDITTEXT        IDC_NEWTORRENT_CREATOR,4,15,203,12,ES_AUTOHSCROLL 
    431     LTEXT           "Output File",IDC_NEWT_OUTFILE_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    432     EDITTEXT        IDC_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL 
    433     PUSHBUTTON      "...",IDC_NEWT_OUT_BROWSE,212,14,18,13 
    434 END 
    435  
    436 IDD_NEWT_FILES DIALOGEX 0,0,186,50 
    437 STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME 
    438 EXSTYLE WS_EX_TOOLWINDOW 
    439 CAPTION "Add New Tracker" 
    440 FONT 8,"MS Shell Dlg",400,0,1 
    441 BEGIN 
    442     LTEXT           "Select a file or directory from which to construct the torrent.",IDC_NEWTORRENT_SELECT_TEXT,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
    443     PUSHBUTTON      "File",IDC_NEWT_FILE_BROWSE,212,14,40,13 
    444     PUSHBUTTON      "Dir.",IDC_NEWT_DIR_BROWSE,212,14,40,13 
    445     LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT|NOT WS_VISIBLE 
    446     CONTROL         "",IDC_NEWT_LISTFILES,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59 
     440    LTEXT           "Generated Torrent Name (Cannot change)",HAL_NEWT_FILE_NAME,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE 
     441    EDITTEXT        HAL_NEWT_FILE_NAME_EDIT,4,15,203,12,ES_AUTOHSCROLL|ES_READONLY 
    447442END 
    448443 
Note: See TracChangeset for help on using the changeset viewer.