xtractor.rc
资源名称:xtractor.zip [点击查看]
上传用户:xmgzy123
上传日期:2007-01-07
资源大小:373k
文件大小:12k
源码类别:
SCSI/ASPI
开发平台:
WINDOWS
- /*
- * xtractor.rc - Copyright (C) 1999 Jay A. Key
- *
- * Windows resource file for CD-DA X-Tractor
- *
- **********************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- **********************************************************************
- *
- * The following naming convention is used for constant names. Each type
- * of control or menu item will have its own specific prefix. Static text
- * controls do not have a constant defined. The prefixes are:
- * Prefix Type
- * IDM_ Menu Items
- * IDCBX_ ComboBoxes
- * IDCKB_ CheckBoxes
- * IDBN_ Buttons
- * IDRBN_ RadioButtons
- * IDE_ Edit controls
- * IDLB_ ListBoxes
- *
- */
- #include "windows.h"
- #include "resources.h"
- GUIRIPLG ICON DISCARDABLE "guiriplg.ico"
- GUIRIPSM ICON DISCARDABLE "guiripsm.ico"
- XTRACTLG ICON DISCARDABLE "xtractlg.ico"
- ALTRIP3 ICON DISCARDABLE "AltRip3.ico"
- idToolbarBmp BITMAP PRELOAD "toolbar.bmp"
- idToolbarHotBmp BITMAP PRELOAD "toolbar-hot.bmp"
- idToolbar24Bmp BITMAP PRELOAD "toolbar-24.bmp"
- idToolbarHot24Bmp BITMAP PRELOAD "toolbar-hot-24.bmp"
- idImageList BITMAP PRELOAD "ilist.bmp"
- AboutBmp BITMAP PRELOAD "about.bmp"
- SliderTop BITMAP PRELOAD "top.bmp"
- SliderBottom BITMAP PRELOAD "bottom.bmp"
- akripMenu MENU DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "Re&fresh CD", IDM_REFRESH
- MENUITEM SEPARATOR
- MENUITEM "&Rip Tracks", IDM_RIP
- MENUITEM "Rip &Segment", IDM_RIPSEGMENT
- MENUITEM SEPARATOR
- MENUITEM "E&xit", IDM_EXIT
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&Rename", IDM_RENAME
- MENUITEM SEPARATOR
- MENUITEM "Select &all", IDM_CHECKALL
- MENUITEM "&Invert selection", IDM_INVERT
- END
- POPUP "&Options"
- BEGIN
- MENUITEM "&CD Settings", IDM_CDSETTINGS
- MENUITEM "Out&put Options", IDM_DIRSETTINGS
- MENUITEM "&MP3 Settings", IDM_MP3SETTINGS
- MENUITEM "C&DDB Settings", IDM_CDDBSETTINGS
- MENUITEM SEPARATOR
- MENUITEM "&Edit ID3 Tag", IDM_ID3TAGEDIT
- MENUITEM SEPARATOR
- MENUITEM "Hicolor &Buttons", IDM_HICOLOR, CHECKED
- END
- POPUP "&Tools"
- BEGIN
- MENUITEM "Enable &ID3", IDM_ENABLEID3, CHECKED
- MENUITEM "Enable &CDDB", IDM_ENABLECDDB, CHECKED
- //MENUITEM SEPARATOR
- //MENUITEM "CD &Properties", IDM_CDPARMS
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About CD-DA X-Tractor...", IDM_ABOUT
- MENUITEM SEPARATOR
- MENUITEM "&Topics", IDM_HELPTOPICS
- END
- END
- trackPopupMenu MENU DISCARDABLE
- BEGIN
- POPUP "track popup"
- BEGIN
- MENUITEM "Rena&me", IDM_RENAME
- MENUITEM SEPARATOR
- MENUITEM "P&roperties", IDM_PROPERTIES, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "Re&fresh CD", IDM_REFRESH
- MENUITEM "Edit ID3 Tag", IDM_ID3TAGEDIT
- MENUITEM SEPARATOR
- MENUITEM "Select &all", IDM_CHECKALL
- MENUITEM "&Invert selection", IDM_INVERT
- MENUITEM "Rip &Selected", IDM_RIP
- END
- END
- genericPopupMenu MENU DISCARDABLE
- BEGIN
- POPUP "generic popup"
- BEGIN
- MENUITEM "Re&fresh CD", IDM_REFRESH
- MENUITEM "Edit ID3 Tag", IDM_ID3TAGEDIT
- MENUITEM SEPARATOR
- MENUITEM "Select &all", IDM_CHECKALL
- MENUITEM "&Invert selection", IDM_INVERT
- MENUITEM "Rip &Selected", IDM_RIP
- END
- END
- CDControlDialog DIALOG 0, 0, 260, 200
- CAPTION " CD "
- BEGIN
- RTEXT "Drive:", 9000, 5, 12, 20, 12
- COMBOBOX "", IDCBX_CDLIST, 28, 12, 160, 60, CBS_DROPDOWNLIST | WS_VSCROLL
- RTEXT "Read Algorithm:", 9001, 5, 26, 52, 12
- COMBOBOX "", IDCBX_DRVTYPE, 60, 26, 88, 60, CBS_DROPDOWNLIST | WS_VSCROLL
- CHECKBOX "Autoscan &TOC", IDCKB_AUTOTOC, 5, 52, 80, 12, BS_AUTOCHECKBOX
- CHECKBOX "Autocheck t&racks", IDCKB_AUTOCHECK, 95, 52, 80, 12, BS_AUTOCHECKBOX
- GROUPBOX "Jitter Correction", 9002, 5, 70, 143, 70
- AUTORADIOBUTTON "Always", IDRBN_ALWAYS, 8, 80, 40, 12
- AUTORADIOBUTTON "Never", IDRBN_NEVER, 8, 92, 40, 12
- AUTORADIOBUTTON "On Error", IDRBN_ONERR, 8, 104, 40, 12
- RTEXT "Read Tracks:", 9003, 52, 80, 60, 12
- RTEXT "Jitter Check:", 9004, 52, 92, 60, 12
- RTEXT "Overlap:", 9005, 52, 104, 60, 12
- EDITTEXT "", IDE_NUMREAD, 114, 80, 20, 12, ES_NUMBER | ES_RIGHT
- EDITTEXT "", IDE_NUMCHECK, 114, 92, 20, 12, ES_NUMBER | ES_RIGHT
- EDITTEXT "", IDE_NUMOVER, 114, 104, 20, 12, ES_NUMBER | ES_RIGHT
- PUSHBUTTON "&Reset", IDBN_RESET, 51, 120, 46, 12
- END
- DirectoryDialog DIALOG 0, 0, 240, 200
- CAPTION " Output "
- BEGIN
- LTEXT "WAV Folder:", 9006, 5, 12, 50, 12
- EDITTEXT "", IDE_WAVDIR, 5, 24, 135, 12, ES_LEFT | ES_AUTOHSCROLL
- PUSHBUTTON "Browse", IDBN_BRWSEWAVDIR, 143, 24, 46, 12
- LTEXT "MP3 Folder:", 9007, 5, 40, 50, 12
- EDITTEXT "", IDE_MP3DIR, 5, 52, 135, 12, ES_LEFT | ES_AUTOHSCROLL
- PUSHBUTTON "Browse", IDBN_BRWSEMP3DIR, 143, 52, 46, 12
- GROUPBOX "Output Format", 9014, 5, 70, 84, 24
- AUTORADIOBUTTON "MP3", IDRBN_MP3, 10, 80, 36, 8
- AUTORADIOBUTTON "WAV", IDRBN_WAV, 50, 80, 36, 8
- END
- MP3OptionsDialog DIALOG 0, 0, 240, 200
- CAPTION " MP3 "
- BEGIN
- GROUPBOX "General Options", 9515, 6, 8, 180, 66
- RTEXT "Bitrate (kbps):", 9024, 10, 20, 60, 12
- COMBOBOX "", IDCBX_CBITRATE, 74, 20, 32, 60, CBS_DROPDOWNLIST | WS_VSCROLL
- RTEXT "Encoder:", 9025, 10, 36, 32, 12
- COMBOBOX "", IDCBX_ENCODER, 44, 36, 62, 48, CBS_DROPDOWNLIST | WS_VSCROLL
- CHECKBOX "Enable &ID3 Tags", IDCKB_ID3, 116, 18, 65, 8, BS_AUTOCHECKBOX
- CHECKBOX "Generate &CRC", IDCKB_CRC, 116, 28, 65, 8, BS_AUTOCHECKBOX
- CHECKBOX "&Original", IDCKB_ORIGINAL, 116, 38, 65, 8, BS_AUTOCHECKBOX
- CHECKBOX "&Copyright", IDCKB_COPYRIGHT, 116, 48, 65, 8, BS_AUTOCHECKBOX
- CHECKBOX "&Private", IDCKB_PRIVATE, 116, 58, 65, 8, BS_AUTOCHECKBOX
- GROUPBOX "Lame Encoder Options", 9516, 6, 78, 180, 74
- LTEXT "VBR Quality:", 9027, 10, 90, 60, 12
- COMBOBOX "", IDCBX_VBRQUALITY, 10, 100, 60, 48, CBS_DROPDOWNLIST | WS_VSCROLL
- LTEXT "MPEG Quality:", 9026, 90, 90, 60, 12
- COMBOBOX "", IDCBX_QUALITY, 90, 100, 60, 48, CBS_DROPDOWNLIST | WS_VSCROLL
- CHECKBOX "Enable VBR", IDCKB_VBR, 90, 116, 80, 8, BS_AUTOCHECKBOX
- CHECKBOX "Write VBR Header", IDCKB_VBRHEADER, 90, 126, 80, 8, BS_AUTOCHECKBOX
- LTEXT "VBR Max Bitrate:", 9028, 10, 116, 60, 12
- COMBOBOX "", IDCBX_MBITRATE, 10, 126, 32, 60, CBS_DROPDOWNLIST | WS_VSCROLL
- END
- CDDBOptionsDialog DIALOG 0, 0, 240, 210
- CAPTION " CDDB "
- BEGIN
- LTEXT "CDDB Server:", 9019, 10, 16, 50, 12
- LTEXT "CGI Script:", 9022, 120, 16, 50, 12
- EDITTEXT "", IDE_CDDBSERVER, 10, 26, 100, 12, ES_LEFT | ES_AUTOHSCROLL
- EDITTEXT "", IDE_CDDBCGI, 120, 26, 60, 12
- GROUPBOX "Server List:", 9517, 5, 6, 180, 106
- LISTBOX "", IDLB_SERVERLIST, 10, 44, 170, 48
- PUSHBUTTON "Get &List", IDBN_SELECTCDDB, 40, 94, 42, 12
- PUSHBUTTON "&Reset", IDBN_RESETCDDB, 109, 94, 42, 12
- GROUPBOX "Proxy Settings:", 9518, 5, 116, 180, 50
- CHECKBOX "Use Proxy", IDCKB_USEPROXY, 10, 126, 80, 12, BS_AUTOCHECKBOX
- LTEXT "Proxy Server:", 9020, 10, 138, 60, 12
- LTEXT "Port:", 9021, 140, 138, 40, 12
- EDITTEXT "", IDE_PROXYSRVR, 10, 148, 100, 12, ES_LEFT | ES_AUTOHSCROLL
- EDITTEXT "", IDE_PROXYPORT, 140, 148, 30, 12, ES_LEFT | ES_AUTOHSCROLL | ES_NUMBER
- END
- DirSelectDialog DIALOG 0, 0, 180, 200
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "Select Directory"
- FONT 8, "Helv"
- BEGIN
- EDITTEXT "", IDE_DIRSEL, 10, 10, 160, 12, ES_LEFT | ES_AUTOHSCROLL
- //EDITTEXT "", 9010, 10, 24, 160, 136, ES_LEFT | ES_MULTILINE
- CHECKBOX "Automatically create directory", IDCKB_AUTOCREATE, 10, 162, 160, 12, BS_AUTOCHECKBOX
- PUSHBUTTON "OK", IDBN_DIRSELOK, 30, 178, 46, 14
- PUSHBUTTON "Cancel", IDBN_DIRSELCANCEL, 104, 178, 46, 14
- END
- RipTrackDialog DIALOG 0, 0, 180, 125
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "Rip Tracks"
- FONT 8, "Helv"
- BEGIN
- RTEXT "Track Name:", 9010, 6, 8, 42, 8
- LTEXT "A Track is Born.mp3", IDT_TRACKNAME, 50, 8, 120, 8
- RTEXT "Output:", 9011, 6, 18, 42, 8
- LTEXT "", IDT_OUTPUTOPTTEXT, 50, 18, 120, 18
- RTEXT "Rip %:", 9012, 6, 40, 42, 8
- CONTROL "", IDG_RIPPROG, "AKProgMeter", WS_CHILD | WS_VISIBLE, 51, 38, 99, 12
- RTEXT "Read Buffer:", 9013, 6, 54, 42, 8
- CONTROL "", IDG_READBUF, "AKProgMeter", WS_CHILD | WS_VISIBLE, 51, 52, 99, 12
- RTEXT "Time:", 9036, 6, 68, 42, 8
- LTEXT "", IDT_ESTTIME, 52, 68, 120, 8
- PUSHBUTTON "Cancel", IDBN_CANCELRIP, 70, 96, 40, 16
- END
- ID3InfoDialog DIALOG 0, 0, 200, 100
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "ID3 Info"
- FONT 8, "Helv"
- BEGIN
- RTEXT "Artist:", 9015, 6, 8, 24, 8
- RTEXT "Album:", 9016, 6, 24, 24, 8
- RTEXT "Year:", 9017, 6, 40, 24, 8
- RTEXT "Genre:", 9018, 78, 40, 24, 8
- EDITTEXT "", IDE_ARTIST2, 34, 6, 154, 12, ES_LEFT | ES_AUTOHSCROLL
- EDITTEXT "", IDE_ALBUM2, 34, 22, 154, 12, ES_LEFT | ES_AUTOHSCROLL
- EDITTEXT "", IDE_YEAR, 34, 38, 40, 12, ES_LEFT | ES_AUTOHSCROLL
- COMBOBOX "", IDCBX_GENRE, 104, 38, 86, 60, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
- CHECKBOX "Enable &ID3 Tags", IDCKB_ID3, 34, 56, 70, 8, BS_AUTOCHECKBOX
- PUSHBUTTON "OK", IDBN_ID3OK, 56, 80, 36, 16, BS_DEFPUSHBUTTON
- PUSHBUTTON "Cancel", IDBN_ID3CANCEL, 108, 80, 36, 16, BS_DEFPUSHBUTTON
- END
- AboutDialog DIALOG 0, 0, 160, 80
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "About CD-DA X-Tractor"
- FONT 8, "Helv"
- BEGIN
- PUSHBUTTON "OK", IDBN_ABOUTOK, 12, 60, 36, 16
- END
- MultipleCDDBQueryDialog DIALOG 0, 0, 200, 120
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "CDDB Query"
- FONT 8, "Helv"
- BEGIN
- LTEXT "Query returned multiple matches. Choose:", 9023, 10, 10, 180, 12
- LISTBOX "", IDLB_CDDBQUERYSELECT, 10, 24, 180, 76
- PUSHBUTTON "OK", IDBN_CDDBQUERYOK, 55, 104, 36, 12
- PUSHBUTTON "Cancel", IDBN_CDDBQUERYCNCL, 109, 104, 36, 12
- END
- CDDBSiteQueryDialog DIALOG 0, 0, 160, 80
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "CDDB Site Query"
- FONT 8, "Helv"
- BEGIN
- EDITTEXT "", IDE_SITEQUERY, 10, 10, 140, 48, ES_MULTILINE
- PUSHBUTTON "OK", IDBN_SITEQUERYOK, 36, 60, 36, 16
- PUSHBUTTON "Cancel", IDBN_SITEQUERYCANCEL, 88, 60, 36, 16
- END
- RipSegmentDialog DIALOG 0, 0, 220, 190
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "Rip Segment"
- FONT 8, "Helv"
- BEGIN
- LTEXT "Select Range:", 9029, 10, 10, 50, 8
- CONTROL "", ID_SLIDER, "ak_rangeslider", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 20, 200, 32
- RTEXT "Length: ", 9033, 10, 58, 30, 8
- LTEXT "", IDT_TRACKLEN, 40, 58, 170, 8
- GROUPBOX "Start frame:", 9030, 10, 68, 200, 30
- EDITTEXT "", IDE_START, 16, 80, 60, 12, ES_NUMBER
- LTEXT "", IDT_STARTTEXT, 80, 82, 110, 8
- GROUPBOX "End frame:", 9031, 10, 102, 200, 30
- EDITTEXT "", IDE_FINISH, 16, 114, 60, 12, ES_NUMBER
- LTEXT "", IDT_FINISHTEXT, 80, 116, 110, 8
- GROUPBOX "Output Filename:", 9032, 10, 136, 200, 30
- EDITTEXT "", IDE_SEGMENTFNAME, 16, 148, 174, 12
- PUSHBUTTON "&Rip", IDBN_RIPSEGOK, 65, 172, 36, 12
- PUSHBUTTON "Cancel", IDBN_RIPSEGCANCEL, 119, 172, 36, 12
- END
- CDPropertiesDialog DIALOG 0, 0, 200, 120
- STYLE DS_MODALFRAME | WS_CAPTION
- CAPTION "Track Properties"
- FONT 8, "Helv"
- BEGIN
- RTEXT "ID: ", 9034, 10, 10, 30, 10
- RTEXT ": ", 9035, 10, 20, 30, 10
- PUSHBUTTON "OK", IDBN_ABOUTOK, 82, 98, 36, 16
- END
- STRINGTABLE DISCARDABLE
- BEGIN
- IDM_REFRESH "Refresh CD"
- IDM_RIP "Rip Tracks"
- IDM_OPTIONS "Options"
- IDM_ID3 "ID3 Settings"
- END