/********************************************************************
*	Module:	rsrc.rc. This is part of Visual-MinGW.
*
*	Purpose:	Resource file.
*
*	Authors:	Manu B.
*
*	License:	Visual-MinGW is covered by GNU General Public License, 
*			Copyright (C) 2001  Manu B.
*			See license.htm for more details.
*
*	Revisions:	11/06/01.
*
********************************************************************/
// For Borland Resource Workshop. (It doesn't like windows.h)
#ifndef WORKSHOP_INVOKED
#include "windows.h"
#endif
#include "rsrc.h"

ID_MENU MENU
BEGIN
	POPUP "&File"
	BEGIN
		MENUITEM "&New"			, IDM_NEW
		MENUITEM "&Open"			, IDM_OPEN
		MENUITEM "&Close"			, IDM_OPEN, GRAYED
		MENUITEM SEPARATOR
		MENUITEM "&New Project"		, IDM_NEW_PROJECT
		MENUITEM "&Open Project"		, IDM_OPEN_PROJECT
		MENUITEM "&Save Project"		, IDM_SAVE_PROJECT
		MENUITEM "&Close Project"		, IDM_CLOSE_PROJECT
		MENUITEM SEPARATOR
		MENUITEM "&Save\tCtrl+S"		, IDM_SAVE, GRAYED
		MENUITEM "Save as"			, IDM_SAVEAS, GRAYED
		MENUITEM "&Save all"			, IDM_SAVEALL
		MENUITEM SEPARATOR
		MENUITEM "Preferences"		, IDM_PREFERENCES
		MENUITEM "Page setup"		, IDM_PAGESETUP, GRAYED
		MENUITEM "&Print"			, IDM_PRINT, GRAYED
		MENUITEM SEPARATOR
		MENUITEM "&Quit"			, IDM_QUIT
	END

	POPUP "&Edit", GRAYED
	BEGIN
		MENUITEM "&Undo"			, IDM_UNDO
		MENUITEM "&Redo"			, IDM_REDO
		MENUITEM SEPARATOR
		MENUITEM "&Cut"				, IDM_CUT
		MENUITEM "&Copy"			, IDM_COPY
		MENUITEM "&Paste"			, IDM_PASTE
		MENUITEM SEPARATOR
		MENUITEM "&Select all"			, IDM_SELECTALL
	END

	POPUP "&Find"
	BEGIN
		MENUITEM "&Search..."			, IDM_FIND, GRAYED
		MENUITEM "&Replace"			, IDM_REPLACE, GRAYED
		MENUITEM "Find in files"		, IDM_GREP
	END

	POPUP "&Window", GRAYED
	BEGIN
		MENUITEM "&Cascade"			, IDM_CASCADE
		MENUITEM "Tile &Horizontal"		, IDM_TILEHORZ
		MENUITEM "Tile &Vertical"		, IDM_TILEVERT
		MENUITEM "Arrange &Icons"		, IDM_ARRANGE
	END

	POPUP "&Project"
	BEGIN
		MENUITEM "&New Module"		, IDM_NEW_MODULE
		MENUITEM "&Add files"			, IDM_ADD
		MENUITEM "&Remove File"		, IDM_REMOVE_FILE
		MENUITEM "&Remove Module"		, IDM_REMOVE_MODULE
		MENUITEM "&Options"			, IDM_OPTION
		MENUITEM "&Create archive"		, IDM_ZIP_SRCS
		MENUITEM "&Explore"			, IDM_EXPLORE
	END

	POPUP "&Build"
	BEGIN
		MENUITEM "&Build"			, IDM_BUILD
		MENUITEM "&Rebuild All"		, IDM_REBUILDALL
		MENUITEM "&Run"			, IDM_RUN_TARGET
		MENUITEM "&Make Clean"		, IDM_MKCLEAN
		MENUITEM "&Build Makefile"		, IDM_MKF_BUILD
#ifdef DEBUG
		MENUITEM "&Run command"		, IDM_RUN_CMD
#endif
	END

#ifdef DEBUG
	POPUP "&Testing"
	BEGIN
		MENUITEM "a_new_procedure"	, IDM_TEST
	END
#endif

	POPUP "&?"
	BEGIN
		MENUITEM "&Help"			, IDM_HELP, GRAYED
		MENUITEM "&About"			, IDM_ABOUT
	END
END

PopupMenu MENU
BEGIN
	POPUP "&Editer"
	BEGIN
		MENUITEM "&Remove"			, IDM_REMOVE_MODULE
	END
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDM_NEW                 "New"
    IDM_OPEN                "Open"
    IDM_SAVE                "Save"

    IDM_CUT                 "Cut"
    IDM_COPY                "Copy"
    IDM_PASTE               "Paste"

    IDM_UNDO                "Undo"
    IDM_REDO               "Redo"
    IDM_FIND                "Search"

    IDM_PRINT               "Print"
END

IDB_TOOLBAR		BITMAP	DISCARDABLE	"toolbar.bmp"
IDB_TREEVIEW		BITMAP	DISCARDABLE	"treeview.bmp"

IDD_PREFERENCES DIALOG 0, 0, 283, 197
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Program Preferences"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Ok", IDOK, 115, 179, 50, 14
    PUSHBUTTON      "Cancel", IDCANCEL, 172, 179, 50, 14
    CONTROL         "", IDC_PREF_TABS, "SysTabControl32", 0x0 | WS_CLIPSIBLINGS, 4, 4, 275, 169
    PUSHBUTTON      "Apply", IDAPPLY, 229, 179, 50, 14, WS_DISABLED
END

// "NOT WS_POPUP" is a workaround for windres prior version 2.11.92.
// LCC's weditres doesn't recognize this flag.
IDD_ENVIRON DIALOG 0, 0, 259, 148
#ifdef __LCC__
STYLE DS_CONTROL | WS_CHILD
#else
STYLE DS_CONTROL | WS_CHILD | NOT WS_POPUP
#endif
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Path variable", IDC_STATIC, 3, 3, 252, 140
    EDITTEXT        IDC_CCBIN, 20, 26, 165, 12, ES_AUTOHSCROLL
    AUTOCHECKBOX    "Compiler bin directory", IDC_SET_CCBIN, 8, 16, 86, 10
    PUSHBUTTON      "Browse", IDC_BROWSE_CC, 197, 25, 45, 14
    EDITTEXT        IDC_CMDBIN, 20, 55, 165, 12, ES_AUTOHSCROLL
    AUTOCHECKBOX    "Default bin directory", IDC_SET_CMDBIN, 8, 45, 86, 10
    PUSHBUTTON      "Browse", IDC_BROWSE_CMD, 197, 54, 45, 14
    AUTOCHECKBOX    "Use default environment variables", IDC_AUTOEXEC, 8, 75, 125, 10
    EDITTEXT        IDC_ENV_VIEW, 8, 88, 242, 49, ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY, WS_EX_TRANSPARENT
END

IDD_FIND DIALOG 0, 0, 236, 92
STYLE DS_MODALFRAME | WS_VISIBLE | DS_CENTER | DS_3DLOOK | WS_POPUP | WS_CAPTION
CAPTION "Find"
FONT 8, "MS Sans Serif"
BEGIN
	LTEXT           "Fi&nd what:",-1,4,8,42,8
	COMBOBOX        IDC_FINDWHAT,47,7,128,50, WS_TABSTOP | CBS_DROPDOWN | CBS_AUTOHSCROLL
	AUTOCHECKBOX    "Match &whole word only", IDC_WHOLEWORD,4,26,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Match &case", IDC_MATCHCASE,4,38,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Regular &expression", IDC_REGEXP,4,50,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Wrap aroun&d", IDC_WRAP,4,62,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Transform &backslash expressions", IDC_UNSLASH,4,74,150,10, WS_GROUP | WS_TABSTOP
	GROUPBOX        "Direction",1072,107,26,68,28,WS_GROUP
	AUTORADIOBUTTON "&Up",IDC_DIRECTIONUP,111,38,25,12, WS_GROUP
	AUTORADIOBUTTON "&Down",IDC_DIRECTIONDOWN,138,38,35,12
	DEFPUSHBUTTON   "&Find Next",IDOK,182,5,50,14,WS_GROUP
	PUSHBUTTON      "Cancel",IDCANCEL,182,23,50,14
END

IDD_REPLACE DIALOG 0, 0, 260, 108
STYLE DS_MODALFRAME | WS_VISIBLE | DS_CENTER | DS_3DLOOK | WS_POPUP | WS_CAPTION
CAPTION "Replace"
FONT 8, "MS Sans Serif"
BEGIN
	LTEXT           "Fi&nd what:",-1,4,9,48,8
	COMBOBOX        IDC_FINDWHAT,54,7,114,50,WS_TABSTOP | CBS_DROPDOWN | CBS_AUTOHSCROLL
	LTEXT           "Re&place with:",-1,4,26,48,8
	COMBOBOX        IDC_REPLACEWITH,54,24,114,50,WS_TABSTOP | CBS_DROPDOWN | CBS_AUTOHSCROLL
	AUTOCHECKBOX    "Match &whole word only", IDC_WHOLEWORD,4,44,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Match &case", IDC_MATCHCASE,4,56,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Regular &expression", IDC_REGEXP,4,68,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Wrap aroun&d", IDC_WRAP,4,80,100,10, WS_GROUP | WS_TABSTOP
	AUTOCHECKBOX    "Transform &backslash expressions", IDC_UNSLASH,4,92,150,10, WS_GROUP | WS_TABSTOP
	DEFPUSHBUTTON   "&Find Next",IDOK,174,4,80,14,WS_GROUP
	PUSHBUTTON      "&Replace",IDC_REPLACE,174,21,80,14
	PUSHBUTTON      "Replace &All",IDC_REPLACEALL,174,38,80,14
	PUSHBUTTON      "Replace in &Selection",IDC_REPLACEINSEL,174,55,80,14
	PUSHBUTTON      "Close",IDCANCEL,174,72,80,14
END

IDD_GREP DIALOG 26, 41, 226, 66
STYLE DS_MODALFRAME | DS_CENTER | DS_3DLOOK | WS_POPUP | WS_CAPTION
CAPTION "Find in Files"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Fi&nd what:", IDC_STATIC, 5, 8, 35, 8, NOT WS_GROUP
    COMBOBOX        IDC_FINDWHAT, 40, 7, 120, 50, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
    LTEXT           "F&iles:", IDC_STATIC, 5, 28, 30, 8, NOT WS_GROUP
    COMBOBOX        IDC_GFILTER, 40, 27, 120, 50, CBS_DROPDOWN | WS_BORDER | WS_TABSTOP
    LTEXT           "&Directory:", IDC_STATIC, 5, 48, 30, 8, NOT WS_GROUP
    DEFPUSHBUTTON   "&Find", IDOK, 168, 6, 50, 14
    PUSHBUTTON      "Cancel", IDCANCEL, 168, 26, 50, 14
    COMBOBOX        138, 40, 47, 120, 50, CBS_DROPDOWN | WS_BORDER | WS_TABSTOP
    PUSHBUTTON      "Browse", IDC_GBROWSE, 168, 46, 50, 14
END

IDD_OPTION DIALOGEX 0, 0, 252, 202
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Project options"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "", IDC_OPTION_TABS, "SysTabControl32", 0x8000, 4, 5, 244, 173
    PUSHBUTTON      "Ok", IDOK, 79, 184, 50, 14
    PUSHBUTTON      "Cancel", IDCANCEL, 141, 184, 50, 14
    PUSHBUTTON      "Help", IDC_HELP_BTN, 198, 184, 50, 14
END

IDD_GENERAL_PANE DIALOG 0, 0, 230, 139
#ifdef __LCC__
STYLE DS_CONTROL | WS_CHILD
#else
STYLE DS_CONTROL | WS_CHILD | NOT WS_POPUP
#endif
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Build what ?", IDC_STATIC, 5, 3, 107, 79
    AUTORADIOBUTTON "Static library", IDC_STATLIB, 12, 15, 59, 10, WS_GROUP | WS_TABSTOP
    AUTORADIOBUTTON "Dll", IDC_DLL, 12, 28, 59, 10
    AUTORADIOBUTTON "Console executable", IDC_CONSOLE, 12, 41, 78, 10
    AUTORADIOBUTTON "GUI executable", IDC_GUIEXE, 12, 54, 65, 10
    AUTOCHECKBOX    "Generate debug symbols", IDC_DBGSYM, 12, 67, 97, 10
    GROUPBOX        "Language", IDC_STATIC, 5, 86, 107, 46
    AUTORADIOBUTTON "C", IDC_LANGC, 12, 101, 25, 10, WS_GROUP | WS_TABSTOP
    AUTORADIOBUTTON "C++", IDC_LANGCPP, 12, 114, 29, 10
    GROUPBOX        "Makefile", IDC_STATIC, 120, 3, 104, 67
    LTEXT           "Name", IDC_STATIC, 124, 18, 23, 9
    EDITTEXT        IDC_MKF_NAME, 156, 16, 61, 12, ES_AUTOHSCROLL
    LTEXT           "Directory", IDC_STATIC, 124, 35, 30, 9
    EDITTEXT        IDC_MKF_DIR, 156, 33, 61, 12, ES_AUTOHSCROLL
    AUTOCHECKBOX    "User makefile", IDC_USER_MKF, 125, 52, 62, 10, WS_DISABLED
    GROUPBOX        "Output file", IDC_STATIC, 120, 76, 104, 56
    LTEXT           "Name", IDC_STATIC, 124, 95, 23, 9
    EDITTEXT        IDC_TGT_NAME, 156, 93, 61, 12, ES_AUTOHSCROLL
    LTEXT           "Directory", 133, 123, 112, 30, 9
    EDITTEXT        IDC_TGT_DIR, 156, 110, 61, 12, ES_AUTOHSCROLL
END

IDD_COMPILER DIALOG 0, 0, 230, 139
#ifdef __LCC__
STYLE DS_CONTROL | WS_CHILD
#else
STYLE DS_CONTROL | WS_CHILD | NOT WS_POPUP
#endif
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Compiler options", IDC_STATIC, 17, 11, 194, 111
    LTEXT           "Preprocessor", IDC_STATIC, 22, 25, 46, 9
    EDITTEXT        IDC_CPPFLAGS, 67, 24, 138, 12, ES_AUTOHSCROLL
    LTEXT           "Warning", IDC_STATIC, 22, 42, 31, 9
    EDITTEXT        IDC_WARNING, 67, 40, 138, 12, ES_AUTOHSCROLL
    LTEXT           "Optimization", IDC_STATIC, 22, 58, 42, 9
    EDITTEXT        IDC_OPTIMIZ, 67, 56, 138, 12, ES_AUTOHSCROLL
    LTEXT           "C/C++", IDC_STATIC, 23, 73, 24, 9
    EDITTEXT        IDC_CFLAGS, 67, 72, 138, 12, ES_AUTOHSCROLL
    LTEXT           "Include directories", IDC_STATIC, 22, 92, 61, 9
    EDITTEXT        IDC_INCDIRS, 22, 101, 183, 12, ES_AUTOHSCROLL
END

IDD_LINKER DIALOG 0, 0, 230, 139
#ifdef __LCC__
STYLE DS_CONTROL | WS_CHILD
#else
STYLE DS_CONTROL | WS_CHILD | NOT WS_POPUP
#endif
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Linker", IDC_STATIC, 17, 16, 194, 103
    LTEXT           "Strip", IDC_STATIC, 23, 37, 18, 9
    EDITTEXT        IDC_LDSTRIP, 53, 36, 53, 12, ES_AUTOHSCROLL
    LTEXT           "Options", IDC_STATIC, 23, 53, 29, 9
    EDITTEXT        IDC_LDOPTS, 53, 52, 151, 12, ES_AUTOHSCROLL
    LTEXT           "Libraries", IDC_STATIC, 23, 69, 34, 9
    EDITTEXT        IDC_LDLIBS, 53, 68, 151, 12, ES_AUTOHSCROLL
    LTEXT           "Library directories", IDC_STATIC, 23, 88, 61, 9
    EDITTEXT        IDC_LIBDIRS, 22, 98, 182, 12, ES_AUTOHSCROLL
END

IDD_ZIP DIALOG 0, 0, 230, 139
#ifdef __LCC__
STYLE DS_CONTROL | WS_CHILD
#else
STYLE DS_CONTROL | WS_CHILD | NOT WS_POPUP
#endif
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Archiver", 304, 15, 7, 87, 58
    AUTORADIOBUTTON "Info-ZIP", IDC_INFOZIP, 20, 17, 39, 10, WS_GROUP
    AUTORADIOBUTTON "Tar/Gzip", IDC_TAR_GZIP, 20, 32, 46, 10, WS_DISABLED
    AUTORADIOBUTTON "Tar/Bz2", IDC_TAR_BZ2, 20, 47, 44, 10, WS_DISABLED
    GROUPBOX        "Output File", IDC_STATIC, 15, 71, 195, 56
    LTEXT           "Directory", IDC_STATIC, 21, 86, 30, 9
    EDITTEXT        IDC_ZIP_DIR, 56, 84, 61, 12, ES_AUTOHSCROLL
    LTEXT           "Options", IDC_STATIC, 21, 109, 29, 9
    EDITTEXT        IDC_ZIPFLAGS, 51, 108, 151, 12, ES_AUTOHSCROLL
    GROUPBOX        "Date format", 207, 112, 7, 97, 58
    AUTORADIOBUTTON "mmddyyyy", 208, 117, 17, 53, 10
    AUTORADIOBUTTON "ddmmyyyy", 209, 117, 32, 49, 10, WS_DISABLED
    AUTORADIOBUTTON "yyyymmdd", 211, 117, 47, 50, 10, WS_DISABLED
END

IDD_NEW_MODULE DIALOG 226, 122, 142, 39
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "New module"
FONT 8, "MS Sans Serif"
BEGIN
	EDITTEXT			301, 6, 4, 84, 12, ES_AUTOHSCROLL
	AUTOCHECKBOX		"Create header", IDC_HEADER, 21, 22, 58, 10
	PUSHBUTTON		"Ok", IDOK, 97, 3, 40, 14
	PUSHBUTTON		"Cancel", IDCANCEL, 97, 22, 40, 14
END

IDD_ABOUT DIALOG 14, 26, 200, 78
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About this software..."
FONT 8, "MS Sans Serif"
BEGIN
	DEFPUSHBUTTON "&OK", IDOK, 140, 18, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
	ICON 500, IDC_STATIC, 16, 24, 18, 20, WS_GROUP
	GROUPBOX "Informations", IDC_STATIC, 4, 3, 192, 70
	LTEXT "Version 0.42a", IDC_STATIC, 57, 15, 67, 52
END

IDD_COMMAND DIALOG 0, 0, 216, 45
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog Title"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Command line", IDC_STATIC, 5, 8, 48, 9
    EDITTEXT        IDC_CMDLINE, 59, 7, 148, 12, ES_AUTOHSCROLL
    PUSHBUTTON      "Enter", IDOK, 157, 25, 50, 14
END

ACCELS ACCELERATORS
BEGIN
	"S", IDM_SAVE,   VIRTKEY, CONTROL
END

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 0,43,0,0
 PRODUCTVERSION 0,43,0,0
 FILEFLAGSMASK 0x3fL
#ifdef DEBUG
 FILEFLAGS VS_FF_PRERELEASE
#else
 FILEFLAGS 0x0L
#endif
 FILEOS VOS_NT_WINDOWS32
 FILETYPE VFT_APP
 FILESUBTYPE VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "04090000"
        BEGIN
            VALUE "CompanyName", "Visual-MinGW project\0"
            VALUE "FileDescription", "Visual-MinGW\0"
            VALUE "FileVersion", FULL_APP_VERSION
            VALUE "InternalName", "visual-mingw\0"
            VALUE "LegalCopyright", "Copyright (C) 2001 Manu B\0"
            VALUE "OriginalFilename", "visual-mingw.exe\0"
            VALUE "ProductName", "Visual-MinGW\0"
            VALUE "ProductVersion", FULL_APP_VERSION
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 0
    END
END

