/*
 * dialogs.rc - Resource script file
 *
 * Written by
 *  Thomas Bretz <tbretz@gsi.de>
 *  Marco van den Heuvel <blackystardust68@yahoo.com>
 *
 * This file is part of VICE, the Versatile Commodore Emulator.
 * See README for copyright notice.
 *
 *  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.
 *
 */

#include "../../../version.h"

#include "dialogs.h"

#include "platform.h"

#include <pmwin.h>

POINTER PTR_DRAGOK "..\\icons\\check.ico"
ICON    PTR_INFO   "..\\icons\\info.ico"
ICON    PTR_SKULL  "..\\icons\\skull.ico"
ICON    PTR_NOTE   "..\\icons\\note.ico"

#if defined __X64__ || defined __X64DTV__
ICON    IDM_VICE2  "..\\icons\\x64.ico"
ICON    DLG_VSID   "..\\icons\\vsid.ico"
#endif

#ifdef __XPET__
ICON    IDM_VICE2 "..\\icons\\xpet.ico"
#endif

#ifdef __XCBM__
ICON    IDM_VICE2 "..\\icons\\xcbm2.ico"
#endif

#ifdef __X128__
ICON    IDM_VICE2 "..\\icons\\x128.ico"
#endif

#ifdef __XVIC__
ICON    IDM_VICE2 "..\\icons\\xvic.ico"
#endif

#ifdef __XPLUS4__
ICON    IDM_VICE2 "..\\icons\\xplus4.ico"
#endif

DLGTEMPLATE DLG_ABOUT 850 MOVEABLE DISCARDABLE
BEGIN
    DIALOG "About Vice...", DLG_ABOUT, 162, 122, 263, 254, STY_DIALOG | FCF_CLOSEBUTTON
    PRESPARAMS PP_FONTNAMESIZE, "11.System VIO" //9.Warp Sans Bold"
    BEGIN
        CONTROL "OK", DID_CLOSE, 109, 4, 38, 12, STY_CLOSEBUTTON
        PRESPARAMS PP_FONTNAMESIZE, "9.Warp Sans Bold"
        CONTROL "", ID_NONE, 9, 17, 246, 194, STY_GROUPBOX
        ICON IDM_VICE2, ID_NONE, 117, 233, 0, 0
        TEXT("V I C E", 15, 229, 180, 7)
        TEXT("the Versatile Commodore Emulator", 15, 222, 180, 7)
        TEXT("Version", 32, 215,  180, 7)
        TEXT(VERSION " (I386 OS/2 WATCOM)", 15, 208,  180, 7)
        /* start core members */
        TEXT("Copyright (c) 2016-2016 Bas Wassink", 15, 153, 180, 7)
        TEXT("Copyright (c) 2016-2016 AreaScout", 15, 146, 180, 7)
        TEXT("Copyright (c) 2015-2016 BSzili", 15, 139, 180, 7)
        TEXT("Copyright (c) 2011-2016 Stefan Haubenthal", 15, 132, 180, 7)
        TEXT("Copyright (c) 2011-2016 Kajtar Zsolt", 15, 125, 180, 7)
        TEXT("Copyright (c) 2011-2016 Marcus Sutton", 15, 118, 180, 7)
        TEXT("Copyright (c) 2009-2016 Groepaz", 15, 111, 180, 7)
        TEXT("Copyright (c) 2007-2016 Fabrizio Gennari", 15, 104, 180, 7)
        TEXT("Copyright (c) 2005-2016 Marco van den Heuvel", 15, 97, 180, 7)
        TEXT("Copyright (c) 1999-2016 Martin Pottendorfer", 15, 90, 180, 7)
        TEXT("Copyright (c) 1999-2016 Andreas Matthies", 15, 83, 180, 7)
        /* end core members */
        TEXT("Vice/2 - Vice for OS/2", 15, 66, 180, 7)
        TEXT("Copyright (c) 1999-2005 Thomas Bretz", 15, 59, 180, 7)
        TEXT("Copyright (c) 2006-2016 Marco van den Heuvel", 15, 52, 180, 7)
        TEXT("reSID engine", 15, 42, 180, 7)
        TEXT("Copyright (c) 1998-2014 Dag Lem", 15, 35, 180, 7)
        TEXT("Official VICE homepage:", 15, 25, 180, 7)
        TEXT("http://vice-emu.sourceforge.net/", 15, 18, 180, 7)
    END
END

DLGTEMPLATE DLG_CMDOPT 850 MOVEABLE DISCARDABLE
BEGIN
    DIALOG "Commandline Options", DLG_CMDOPT, 141, 95, 152 + 150, 88 + 200, FS_SIZEBORDER | FS_TASKLIST | STY_DIALOG | FCF_MAXBUTTON | FCF_CLOSEBUTTON
    BEGIN
        LISTBOX LB_CMDOPT, 0, 0, 152 + 150, 87 + 200, LS_NOADJUSTPOS | LS_HORZSCROLL
        PRESPARAMS PP_FONTNAMESIZE, "11.System VIO"
    END
END

DLGTEMPLATE DLG_FEATURES 850 MOVEABLE DISCARDABLE
BEGIN
    DIALOG "VICE Features", DLG_FEATURES, 141, 95, 152 + 150, 88 + 200, FS_SIZEBORDER | FS_TASKLIST | STY_DIALOG | FCF_MAXBUTTON | FCF_CLOSEBUTTON
    BEGIN
        LISTBOX LB_FEATURES, 0, 0, 152 + 150, 87 + 200, LS_NOADJUSTPOS | LS_HORZSCROLL
        PRESPARAMS PP_FONTNAMESIZE, "11.System VIO"
    END
END

DLGTEMPLATE DLG_FSMODES 850 MOVEABLE DISCARDABLE
BEGIN
    DIALOG  "Available Video Modes", DLG_FSMODES, 141, 95, 152 + 150, 88 + 200, FS_SIZEBORDER | FS_TASKLIST | STY_DIALOG | FCF_MAXBUTTON | FCF_CLOSEBUTTON
    BEGIN
        LISTBOX LB_FSMODES, 0, 0, 152 + 150, 87 + 200, LS_NOADJUSTPOS | LS_HORZSCROLL
        PRESPARAMS PP_FONTNAMESIZE, "11.System VIO"
    END
END

DLGTEMPLATE DLG_LOGGING 850 MOVEABLE DISCARDABLE
BEGIN
    DIALOG "Vice/2 Logging", DLG_LOGGING, 141, 95, 152 + 150, 48, FS_SIZEBORDER | FS_NOBYTEALIGN | FS_SCREENALIGN | FS_DLGBORDER | WS_CLIPSIBLINGS | WS_SAVEBITS | WS_ANIMATE, FCF_TITLEBAR | FCF_MINMAX
    BEGIN
        LISTBOX LB_LOG, 0, 0, 152 + 150, 47, LS_NOADJUSTPOS | LS_HORZSCROLL
        PRESPARAMS PP_FONTNAMESIZE, "11.System VIO"
    END
END

DLGTEMPLATE DLG_TEXT_INPUT 850 MOVEABLE DISCARDABLE
BEGIN
    DIALOG "Input", DLG_TEXT_INPUT, 32, 32, 240, 56, STY_DIALOG | FCF_CLOSEBUTTON
    BEGIN
        CONTROL "", IDC_TEXT_INPUT_LABEL,  10, 32,  40,  8, STY_TEXT
        CONTROL "", IDC_TEXT_INPUT,  50, 32, 180,  8, WC_ENTRYFIELD, WS_VISIBLE | ES_AUTOSCROLL | ES_MARGIN | WS_TABSTOP | WS_GROUP
        DEFPUSHBUTTON "~OK", DID_OK,  10,  8,  40, 16, WS_TABSTOP | WS_GROUP
        CONTROL "~Cancel", DID_CANCEL,  60,  8,  40, 16, WC_BUTTON, BS_PUSHBUTTON | WS_VISIBLE | WS_TABSTOP
    END
END
