#include <windows.h>
#include "mandel.h"

#define VER_FILEDESCRIPTION_STR     "Mandelbrot Fractal Generator"
#define VER_INTERNALNAME_STR        "MANDEL.DLL"
#define VER_ORIGINALFILENAME_STR    "MANDEL.DLL"

#define VER_PRODUCTVERSION_STR      "3.50"
#define VER_COMPANYNAME_STR         "Microsoft Corporation"
#define VER_PRODUCTNAME_STR         "Microsoft\256 Windows NT(TM) Operating System"
#define VER_LEGALCOPYRIGHT_YEARS    "1981-1994"
#define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corp. " VER_LEGALCOPYRIGHT_YEARS
#define VER_PRODUCTVERSION 3,50,01,001

VS_VERSION_INFO VERSIONINFO
FILEVERSION    VER_PRODUCTVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
FILEFLAGS      0
FILEOS         VOS_NT_WINDOWS32
FILETYPE       VFT_DLL
FILESUBTYPE    VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"   /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
        BEGIN
            VALUE "CompanyName",     VER_COMPANYNAME_STR
            VALUE "FileDescription", VER_FILEDESCRIPTION_STR
            VALUE "FileVersion",     VER_PRODUCTVERSION
            VALUE "InternalName",    VER_INTERNALNAME_STR
            VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR
            VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
            VALUE "ProductName",     VER_PRODUCTNAME_STR
            VALUE "ProductVersion",  VER_PRODUCTVERSION_STR
        END

    END

    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x0409, 0x04B0
    END
END

PROPERTIES DIALOG 58, 20, 186, 97
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
    EDITTEXT        IDC_LOWREAL, 32, 24, 65, 12, ES_AUTOHSCROLL
    EDITTEXT        IDC_LOWIMAGINARY, 108, 24, 65, 12, ES_AUTOHSCROLL
    EDITTEXT        IDC_HIGHREAL, 32, 41, 65, 12, ES_AUTOHSCROLL
    EDITTEXT        IDC_HIGHIMAGINARY, 108, 41, 65, 12, ES_AUTOHSCROLL
    EDITTEXT        IDC_LIMIT, 32, 60, 65, 12, ES_AUTOHSCROLL
    RTEXT           "low µ =", 105, 4, 26, 27, 11, NOT WS_GROUP
    CTEXT           "+", 106, 98, 27, 8, 10, NOT WS_GROUP
    RTEXT           "high µ =", 107, 0, 43, 31, 11, NOT WS_GROUP
    CTEXT           "+", 108, 98, 43, 8, 10, NOT WS_GROUP
    RTEXT           "Limit =", 109, 6, 62, 25, 11, NOT WS_GROUP
    RTEXT           "Z -> Z", 110, 109, 7, 22, 9, NOT WS_GROUP
    PUSHBUTTON      "OK", IDOK, 6, 77, 56, 14
    PUSHBUTTON      "Cancel", IDCANCEL, 65, 77, 56, 14
    PUSHBUTTON      "About", IDC_ABOUT, 124, 77, 56, 14
    LTEXT           "i", 113, 174, 43, 12, 8, NOT WS_GROUP
    LTEXT           "i", 114, 174, 26, 10, 8, NOT WS_GROUP
    CTEXT           "2", 117, 131, 4, 7, 8, NOT WS_GROUP
    LTEXT           "+ µ", 118, 137, 7, 13, 8, NOT WS_GROUP
    CTEXT           "The Mandelbrot Set:", 119, 36, 7, 72, 8, NOT WS_GROUP
    AUTOCHECKBOX    "Use Bounding Boxes", IDC_USEBOUNDINGBOXES, 101, 61, 80, 10
END

STRINGTABLE
BEGIN
    IDS_ABOUT_TITLE "Mandelbrot Fractal Engine"
    IDS_ABOUT_TEXT "Version 1.0 - Written in April of 1994 by Steve Blanding."
END
