/* -*- Mode: C -*-
 *
 * Copyright (c) 1999 - 2007 Simon Peter <dn.tlp@gmx.net>
 * Copyright (c) 2002 Nikita V. Kalaganov <riven@ok.ru>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#include "resource.h"
#include "winresrc.h"

/***** Dialog boxes *****/

IDD_ABOUT DIALOG 0, 0, 293, 175
  STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  CAPTION "AdPlug :: About"
  FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "TabControl1",IDC_ATABS,"SysTabControl32",TCS_BUTTONS | 
                    TCS_FOCUSONBUTTONDOWN | WS_TABSTOP,7,8,173,13
    CONTROL         "",IDC_ATABWND,"Static",SS_SIMPLE,5,14,284,160
END

IDD_CFG_FORMATS DIALOG 0, 0, 264, 151
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    LISTBOX         IDC_FORMATLIST,7,7,250,108,LBS_MULTIPLESEL | WS_VSCROLL | 
                    WS_TABSTOP
    PUSHBUTTON      "&Select all",IDC_FTSELALL,7,130,101,14,BS_MULTILINE
    PUSHBUTTON      "&Deselect all",IDC_FTDESELALL,156,130,101,14,
                    BS_MULTILINE
    CONTROL         "S3M File workaround for Nullsoft Module Decoder Plugin",
                    IDC_FTWORKAROUND,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    10,115,194,10
END

IDD_CFG_OUTPUT DIALOG 0, 0, 264, 151
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Emulator 1 (by &Tatsuyuki Satoh)",IDC_OUTTS,"Button",
                    BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,7,7,116,10
    CONTROL         "Emulator 2 (by &Ken Silverman)",IDC_OUTKS,"Button",
                    BS_AUTORADIOBUTTON | WS_TABSTOP,7,17,110,10
    CONTROL         "&OPL2 at port ",IDC_OUTOPL2,"Button",BS_AUTORADIOBUTTON | 
                    WS_TABSTOP,7,76,53,8
    CONTROL         "&Disk Writer (RAW format)",IDC_OUTDISK,"Button",
                    BS_AUTORADIOBUTTON | WS_TABSTOP,7,116,95,10
    CONTROL         "8-&bit",IDC_QUALITY8,"Button",BS_AUTORADIOBUTTON | 
                    WS_GROUP | WS_TABSTOP,162,40,33,10
    CONTROL         "16-bi&t",IDC_QUALITY16,"Button",BS_AUTORADIOBUTTON | 
                    WS_TABSTOP,162,50,33,10
    GROUPBOX        " Resolution ",IDC_STATIC,156,28,48,35,BS_RIGHT
    CONTROL         "1&1025",IDC_FREQ1,"Button",BS_AUTORADIOBUTTON | 
                    WS_GROUP | WS_TABSTOP,25,40,36,10
    CONTROL         "2&2050",IDC_FREQ2,"Button",BS_AUTORADIOBUTTON | 
                    WS_TABSTOP,25,50,36,10
    CONTROL         "4&4100",IDC_FREQ3,"Button",BS_AUTORADIOBUTTON | 
                    WS_TABSTOP,63,40,36,10
    CONTROL         "4&8000",IDC_FREQ4,"Button",BS_AUTORADIOBUTTON | 
                    WS_TABSTOP,63,50,36,10
    CONTROL         "",IDC_FREQC,"Button",BS_AUTORADIOBUTTON,101,46,11,8
    EDITTEXT        IDC_FREQC_VALUE,114,44,29,12,ES_UPPERCASE | ES_NUMBER
    GROUPBOX        " Frequency ",IDC_STATIC,19,28,131,35,BS_LEFT
    CONTROL         "&Mono",IDC_MONO,"Button",BS_AUTORADIOBUTTON | WS_GROUP | 
                    WS_TABSTOP,215,40,34,10
    CONTROL         "&Stereo",IDC_STEREO,"Button",BS_AUTORADIOBUTTON | 
                    WS_TABSTOP,215,50,37,10
    GROUPBOX        " Channels ",IDC_STATIC,210,28,47,35,BS_LEFT
    PUSHBUTTON      "C:\\",IDC_DIRECTORY,20,129,237,15
    CONTROL         "&No OPL2 testing",IDC_NOTEST,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,26,94,68,10
    GROUPBOX        "",IDC_STATIC,20,85,237,24
    EDITTEXT        IDC_ADLIBPORT,63,74,21,12,ES_UPPERCASE | ES_NUMBER
END

IDD_CFG_PLAYBACK DIALOG 0, 0, 264, 151
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "&Autodetect song end",IDC_TESTLOOP,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,7,7,82,10
    CONTROL         "&Fast seek",IDC_FASTSEEK,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,12,30,47,10
    CONTROL         "Slider1",IDC_PRIORITY,"msctls_trackbar32",TBS_AUTOTICKS | 
                    WS_TABSTOP,12,116,238,11
    LTEXT           "Idle",IDC_STATIC,12,130,12,8
    LTEXT           "Normal",IDC_STATIC,119,130,23,8
    RTEXT           "Realtime",IDC_STATIC,222,130,28,8
    GROUPBOX        "Thread priority ",IDC_STATIC,7,105,250,39
    CONTROL         "&Standard refresh rate",IDC_STDTIMER,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,12,54,82,10
    LTEXT           "OPL2:",IDC_STATIC,7,20,21,8
    LTEXT           "Disk Writer:",IDC_STATIC,7,43,38,8
    LTEXT           "Database:",IDC_STATIC,7,68,34,8
    PUSHBUTTON      "adplug.db",IDC_DATABASE,13,88,237,15
    CONTROL         "&Use Database",IDC_USEDB,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,13,77,61,10
END

IDD_ABT_ADPLUG DIALOG 0, 0, 279, 141
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         101,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE | 
                    SS_REALSIZEIMAGE,5,41,267,71
    CTEXT           "",IDC_PLUGIN_VER,6,0,273,8,NOT WS_GROUP
    LTEXT           "url_sp",IDC_URL_SP,175,14,50,8,NOT WS_GROUP
    RTEXT           "Copyright (c) 1999 - 2007 Simon Peter <",IDC_STATIC,49,
                    14,126,8,NOT WS_GROUP
    LTEXT           ">",IDC_STATIC,226,14,8,8,NOT WS_GROUP
    LTEXT           "url_nk",IDC_URL_NK,181,23,38,8,NOT WS_GROUP
    RTEXT           "Copyright (c) 2002 Nikita V. Kalaganov <",IDC_STATIC,51,
                    23,129,8,NOT WS_GROUP
    LTEXT           ">",IDC_STATIC,221,23,8,8,NOT WS_GROUP
    RTEXT           "[ get latest version at ",IDC_STATIC,65,119,68,8,NOT 
                    WS_GROUP
    LTEXT           " ]",IDC_STATIC,207,119,8,8,NOT WS_GROUP
    CTEXT           "url_adplug",IDC_URL_ADPLUG,133,119,74,8,NOT WS_GROUP
    RTEXT           "[ get music at ",IDC_STATIC,5,130,45,8,NOT WS_GROUP
    LTEXT           " ]",IDC_STATIC,131,130,8,8,NOT WS_GROUP
    CTEXT           "url_chiptune",IDC_URL_CHIPTUNE,51,130,56,8,NOT WS_GROUP
    RTEXT           "[ get soft at ",IDC_STATIC,149,130,38,8,NOT WS_GROUP
    LTEXT           " ]",IDC_STATIC,265,130,8,8,NOT WS_GROUP
    CTEXT           "url_malf",IDC_URL_MALF,187,130,78,8,NOT WS_GROUP
END

IDD_ABT_LICENSE DIALOGEX 0, 0, 279, 141
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    EDITTEXT        IDC_LICENSE,0,0,279,124,ES_MULTILINE | ES_READONLY | NOT 
                    WS_BORDER | NOT WS_TABSTOP,WS_EX_CLIENTEDGE
    LTEXT           "Read GNU LGPL: ",IDC_STATIC,0,132,60,8,NOT WS_GROUP
    LTEXT           "url_gnu",IDC_URL_GNU,61,132,95,8,NOT WS_GROUP
END

IDD_ABT_HISTORY DIALOGEX 0, 0, 279, 141
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    EDITTEXT        IDC_HISTORY,0,0,279,140,ES_MULTILINE | ES_READONLY | NOT 
                    WS_BORDER | WS_VSCROLL | NOT WS_TABSTOP,WS_EX_CLIENTEDGE
END

IDD_CONFIG DIALOG 0, 0, 278, 197
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "AdPlug :: Configuration"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "&Cancel",IDCANCEL,192,178,81,14,BS_MULTILINE
    PUSHBUTTON      "&OK",IDOK,102,178,81,14,BS_MULTILINE
    CONTROL         "Tab1",IDC_CTABS,"SysTabControl32",0x0,5,5,268,167
    CONTROL         "ToolTips",IDC_TOOLTIPS,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,14,181,55,8
END

IDD_FILEINFO DIALOGEX 0, 0, 310, 260
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "AdPlug :: File Info"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    RTEXT           "Title",IDC_STATIC,7,7,27,12,SS_CENTERIMAGE
    RTEXT           "Author",IDC_STATIC,7,21,27,12,SS_CENTERIMAGE
    LTEXT           " Static",IDC_TITLE,41,7,262,12,SS_CENTERIMAGE,
                    WS_EX_CLIENTEDGE
    LTEXT           " Static",IDC_AUTHOR,41,21,262,12,SS_CENTERIMAGE,
                    WS_EX_CLIENTEDGE
    LTEXT           " Static",IDC_FORMAT,41,35,262,12,SS_CENTERIMAGE,
                    WS_EX_CLIENTEDGE
    RTEXT           "Format",IDC_STATIC,7,35,27,12,SS_CENTERIMAGE
    GROUPBOX        " Subsong ",IDC_STATIC,7,211,296,41,BS_LEFT
    CONTROL         "Slider1",IDC_SUBSONGSLIDER,"msctls_trackbar32",
                    TBS_AUTOTICKS,13,236,283,11
    GROUPBOX        " Description ",IDC_STATIC,7,128,296,79,BS_LEFT
    EDITTEXT        IDC_DESCRIPTION,14,137,282,64,ES_MULTILINE | ES_READONLY | 
                    ES_WANTRETURN | NOT WS_BORDER | WS_VSCROLL | NOT 
                    WS_TABSTOP
    GROUPBOX        " Instruments ",IDC_STATIC,107,53,196,71
    EDITTEXT        IDC_INSTLIST,114,62,182,56,ES_MULTILINE | ES_READONLY | 
                    ES_WANTRETURN | NOT WS_BORDER | WS_VSCROLL | NOT 
                    WS_TABSTOP
    GROUPBOX        " Info ",IDC_STATIC,7,53,89,71
    LTEXT           "Order",IDC_STATIC,14,63,18,8
    LTEXT           "Pattern",IDC_STATIC,13,73,24,8
    LTEXT           "Row",IDC_STATIC,13,83,16,8
    LTEXT           "Speed",IDC_STATIC,13,98,22,8
    LTEXT           "Timer",IDC_STATIC,13,108,18,8
    RTEXT           "00",IDC_ORDER,39,63,20,8
    RTEXT           "00",IDC_PATTERN,39,73,20,8
    RTEXT           "00",IDC_ROW,39,83,20,8
    RTEXT           "00",IDC_SPEED,39,98,20,8
    LTEXT           "000.00 hz",IDC_TIMER,51,108,37,8
    LTEXT           "00",IDC_ORDERS,71,63,20,8
    LTEXT           "00",IDC_PATTERNS,71,73,20,8
    CTEXT           "/",IDC_STATIC,59,63,11,8
    CTEXT           "/",IDC_STATIC,59,73,11,8
    LTEXT           "00",IDC_SUBSONGMIN,15,224,14,9
    RTEXT           "00",IDC_SUBSONGMAX,282,224,14,9
    CTEXT           "00",IDC_SUBSONG,144,221,22,12,SS_CENTERIMAGE,
                    WS_EX_STATICEDGE
END

  /*** AdPlug's short LGPL license ***/

IDR_TEXT_LICENSE TEXT
BEGIN
"\r\n"
"    This plugin is free software; you can redistribute it and/or\r\n"
"    modify it under the terms of the GNU Lesser General Public\r\n"
"    License as published by the Free Software Foundation; either\r\n"
"    version 2.1 of the License, or (at your option) any later version.\r\n"
"\r\n"
"    This plugin is distributed in the hope that it will be useful,\r\n"
"    but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n"
"    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r\n"
"    Lesser General Public License for more details.\r\n"
"\r\n"
"    You should have received a copy of the GNU Lesser General Public\r\n"
"    License along with this plugin; if not, write to the Free Software\r\n"
"    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA\0"
END

// The AdPlug logo
IDB_LOGO	BITMAP	"adplug.bmp"

// AdPlug's NEWS file
IDR_TEXT_HISTORY	TEXT	"NEWS"

// The common IE "Hand" cursor, used for the clickable URLs
IDC_HAND2	CURSOR	"hand.cur"
