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

BUILDMENU MENU
     {
     POPUP "build"
        {
	MENUITEM "&Make",			IDM_MAKE
	MENUITEM "&Build all",   		IDM_BUILDALL
        }
     }
WATCHMENU MENU
     {
     POPUP "watch"
        {
        MENUITEM "Add to watch"                 IDM_ADDWATCH
        MENUITEM "Delete from watch"            IDM_DELETEWATCH
        }
     }

EDITMENU MENU
     {
     POPUP "edit"
        {
        MENUITEM "Save File",                   IDM_SAVE
        MENUITEM SEPARATOR
        MENUITEM "Cut"                          IDM_CUT
        MENUITEM "Copy"                         IDM_COPY
        MENUITEM "Paste"                        IDM_PASTE
        MENUITEM SEPARATOR
        MENUITEM "Run to cursor"                IDM_RUNTO
        MENUITEM "Add to Watch"                 IDM_ADDWATCHINDIRECT
        }
     }

PROJECTMENU MENU
     {
     POPUP "proj"
	{
	MENUITEM "&Add file",			IDM_ADDFILES
	MENUITEM "&Remove file",		IDM_REMOVEFILES
	MENUITEM SEPARATOR
	MENUITEM "A&dd target",			IDM_ADDTARGET
	MENUITEM "Remo&ve target",		IDM_REMOVETARGET
	MENUITEM SEPARATOR
	MENUITEM "&Calculate Dependencies",	IDM_CALCDEPENDS
	MENUITEM SEPARATOR
	MENUITEM "&Compile file",		IDM_COMPILEFILE
	MENUITEM "&Make",			IDM_MAKE
	MENUITEM "&Build all",   		IDM_BUILDALL
	MENUITEM SEPARATOR
	MENUITEM "&Open file",			IDM_OPENFILES
	MENUITEM SEPARATOR
	MENUITEM "&Properties",			IDM_PROJECTPROPERTIES
	}
     }
MAINMENU MENU
     {
     POPUP "&File"
          {
          MENUITEM "&New",        	     	IDM_NEWDRAW
          MENUITEM "&Open",        	     	IDM_OPEN
          MENUITEM "&Save",        	     	IDM_SAVE
          MENUITEM "Save &As",        	     	IDM_SAVEAS
          MENUITEM "&Close",                 	IDM_CLOSE
	  MENUITEM SEPARATOR
	  MENUITEM "&Properties",		IDM_GENERALPROPERTIES
          MENUITEM SEPARATOR
          MENUITEM "E&xit",                  	IDM_EXIT
          }
     POPUP "&Edit"
	{
	MENUITEM "&Undo",			IDM_UNDO
          MENUITEM SEPARATOR
	MENUITEM "Cu&t",			IDM_CUT
	MENUITEM "&Copy",			IDM_COPY
	MENUITEM "&Paste",			IDM_PASTE
          MENUITEM SEPARATOR
	MENUITEM "&Find",			IDM_FIND
	MENUITEM "&Replace",			IDM_REPLACE
	MENUITEM "Find &Next",			IDM_FINDNEXT
          MENUITEM SEPARATOR
	MENUITEM "&Select All",			IDM_SELECTALL
          MENUITEM SEPARATOR
	MENUITEM "&Goto",			IDM_GOTO
	}
     POPUP "&View"
	{
	MENUITEM "&Project",			IDM_VIEWPROJECT
	MENUITEM "&Build",			IDM_VIEWERROR
	MENUITEM SEPARATOR
        MENUITEM "&Watch window",               IDM_VIEWWATCH
	MENUITEM "&ASM window",			IDM_VIEWASM
	MENUITEM "&Memory window",		IDM_VIEWDUMP
        MENUITEM "&Stack window",               IDM_VIEWSTACK
	}
     POPUP "&Build"
	{
	MENUITEM "&Compile file"		IDM_COMPILEFILE
	MENUITEM SEPARATOR
	MENUITEM "&Make"			IDM_MAKE
	MENUITEM "&Build all"			IDM_BUILDALL
	}
     POPUP "&Project"
	{
	MENUITEM "&New project",		IDM_NEWPROJECT
	MENUITEM "&Open project",		IDM_OPENPROJECT
        MENUITEM "&Save project",               IDM_SAVEPROJECT
	MENUITEM "&Close project",		IDM_CLOSEPROJECT
	MENUITEM SEPARATOR
	MENUITEM "&Add target",			IDM_ADDTARGET
	}
     POPUP "&Debug"
	{
	MENUITEM "&Start debugging"		IDM_STARTDEBUGGING
	MENUITEM "S&top debugging"		IDM_STOPDEBUGGING
	}
     POPUP "&Window"
          {
          MENUITEM "&Cascade\tShift+F5",     	IDM_CASCADE
          MENUITEM "&Tile\tShift+F4",        	IDM_TILE
          MENUITEM "Arrange &Icons",         	IDM_ARRANGE
          }
     POPUP "&Help"
        {
          MENUITEM "&Windows help"              IDM_WINHELP
          MENUITEM SEPARATOR
	  MENUITEM "A&bout",			IDM_ABOUT
        }
     }

MAINACCELERATORS ACCELERATORS
     {
     VK_F5, IDM_RUN,    VIRTKEY
     VK_F6, IDM_STEPOVER, VIRTKEY, SHIFT
     VK_F6, IDM_STEPIN,  VIRTKEY
     VK_F6, IDM_STEPOUT, VIRTKEY, ALT
     VK_F4, IDM_TILE,    VIRTKEY, SHIFT
     VK_F8, IDM_GOTO,    VIRTKEY, ALT
     VK_F,  IDM_FIND,    VIRTKEY, CONTROL
     VK_F,  IDM_FINDNEXT, VIRTKEY, SHIFT CONTROL
     VK_H,  IDM_REPLACE,  VIRTKEY, CONTROL
     }

ID_TOOLBAR BITMAP "toolbar.bmp"
ID_FLRED BITMAP "flred.bmp"
ID_FLWHITE BITMAP "flwhite.bmp"
ID_FLCYAN BITMAP "flcyan.bmp"
ID_FLGREEN BITMAP "flgreen.bmp"
ID_FLYELLOW BITMAP "flyellow.bmp"
ID_FLLIB BITMAP "fllib.bmp"
ID_FLEXE BITMAP "flexe.bmp"
ID_FLDLL BITMAP "fldll.bmp"
ID_PCBMP BITMAP "pc.bmp"
ID_STOPBMP BITMAP "stop.bmp"
ID_PROJBMP BITMAP "projtab.bmp"
ID_REGSBMP BITMAP "regtab.bmp"
ID_ITEMBMP BITMAP "item.bmp"
ID_VALUEBMP BITMAP "value.bmp"
ID_CLOSEBMP BITMAP "close.bmp"
IDB_VLINE BITMAP "vline.bmp"
ID_SIZEHCUR CURSOR "sizebarh.cur"
ID_SIZEVCUR CURSOR "sizebarv.cur"

ABOUTDLG DIALOG 50, 51, 147, 100
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_RTLREADING | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | DS_CENTERMOUSE | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About CCIDE"
FONT 8, "Arial"
{
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 44, 72, 50, 14
 CONTROL "CC386/win32", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 56, 16, 68, 8, 0
 CONTROL "Copyright (c) 2002", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 56, 40, 60, 8, 0
 CONTROL "David Lindauer", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 56, 48, 60, 8, 0
 CONTROL "LADSoft", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 56, 56, 60, 8, 0
 CONTROL "XCCICON", -1, "static", SS_ICON | WS_CHILD, 12, 17, 32, 32
 CONTROL "Version 1.0 B2", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 56, 24, 80, 8, 0
}


XCCICON ICON "ccide.ico"

ABORTDLG DIALOG 0, 0, 154, 76
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | DS_CENTERMOUSE | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "CCIDE - Exit dialog"
FONT 8, "MS Sans Serif"
{
 CONTROL "&Yes", IDYES, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 20, 44, 50, 14
 CONTROL "&No", IDNO, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 80, 44, 50, 14
 CONTROL "Would you like to quit?", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 20, 80, 8, 0
}
SAVEDLG DIALOG 0, 0, 154, 76
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | DS_CENTERMOUSE | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "CCIDE - Save dialog"
FONT 8, "MS Sans Serif"
{
 CONTROL "&Yes", IDYES, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 20, 44, 50, 14
 CONTROL "&No", IDNO, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 80, 44, 50, 14
 CONTROL "Would you like to Save your work?", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 20, 20, 120, 8, 0
}

GOTODIALOG DIALOG 103, 55, 160, 70
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Goto line"
FONT 8, "MS Sans Serif"
{
 CONTROL "", IDC_GOTO, "edit", ES_LEFT | ES_NUMBER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 56, 16, 48, 12, 0
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 56, 44, 50, 14
}
GOTODIALOG2 DIALOG 103, 55, 160, 70
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Goto address"
FONT 8, "MS Sans Serif"
{
 CONTROL "", IDC_GOTO, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 56, 16, 48, 12, 0
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 56, 44, 50, 14
}
EDITPROPDLG DIALOG 0, 0, 240, 120
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Editor"
FONT 8, "MS Sans Serif"
{
 CONTROL "Tabs", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 20, 60, 8, 0
 CONTROL "", IDC_TABSTOPS, "edit", ES_LEFT | ES_NUMBER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 56, 20, 20, 12, 0
 CONTROL "Keyword", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 24, 72, 60, 8, 0
 CONTROL "", IDC_KEYWORDCOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 56, 72, 20, 12, 0
 CONTROL "Comment", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 20, 88, 60, 8, 0
 CONTROL "", IDC_COMMENTCOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 56, 88, 20, 12, 0
 CONTROL "Number", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 72, 60, 8, 0
 CONTROL "", IDC_NUMBERCOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 132, 72, 20, 12, 0
 CONTROL "String", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 108, 40, 60, 8, 0
 CONTROL "", IDC_STRINGCOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 132, 40, 20, 12, 0
 CONTROL "Escape", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 56, 60, 8, 0
 CONTROL "", IDC_ESCAPECOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 132, 56, 20, 12, 0
 CONTROL "Backup Files", IDC_BACKUPFILE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 168, 40, 60, 12, 0
 CONTROL "Backup Project", IDC_BACKUPPROJ, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 168, 56, 60, 12, 0
 CONTROL "", IDC_BACKGROUNDCOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 56, 40, 20, 12, 0
 CONTROL "Background", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 12, 40, 40, 8, 0
 CONTROL "", IDC_TEXTCOLOR, "xccColorClass", WS_CHILD | WS_VISIBLE | WS_BORDER, 56, 56, 20, 12, 0
 CONTROL "Text", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 56, 16, 8, 0
}
INSTALLPROPDLG DIALOG 0, 0, 240, 120
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Install"
FONT 8, "MS Sans Serif"
{
 CONTROL "Help", IDC_HELPGB, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 16, 184, 64, 0
 CONTROL "MSDN", IDC_HELPMSDN, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 29, 104, 9, 0
 CONTROL "Platform SDK", IDC_HELPSDK, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 40, 104, 9, 0
 CONTROL "Specified path", IDC_HELPSPEC, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 12, 52, 104, 9, 0
 CONTROL "", IDC_HELPPATH, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 24, 63, 164, 12, 0
 CONTROL "Compiler path", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 88, 60, 8, 0
 CONTROL "", IDC_INSTALLPATH, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 8, 96, 184, 12, 0
}
TARGETPROPDLG DIALOG 0, 0, 240, 120
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "General"
FONT 8, "MS Sans Serif"
{
 CONTROL "Build type", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 12, 60, 8, 0
 CONTROL "ComboBox1", IDC_BUILDTYPE, "combobox", CBS_DROPDOWN | CBS_HASSTRINGS | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 8, 20, 80, 47, 0
 CONTROL "Map File", IDC_MAPFILE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 16, 96, 9, 0
 CONTROL "Debug Information", IDC_DEBUGINFO, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 28, 96, 9, 0
 CONTROL "Compile Via ASM", IDC_COMPILEVIAASM, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 40, 96, 9, 0
 CONTROL "Auto select target", IDC_CHOSENPROJECT, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 52, 96, 9, 0
 CONTROL "Include path", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 64, 60, 8, 0
 CONTROL "", IDC_INCLUDEPATH, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 8, 72, 184, 12, 0
 CONTROL "Output path", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 88, 60, 8, 0
 CONTROL "", IDC_OUTPUTPATH, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 8, 96, 184, 12, 0
}
DEBUGPROPDLG DIALOG 0, 0, 240, 120
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Debug"
FONT 8, "MS Sans Serif"
{
 CONTROL "Break In WinMain", IDC_BREAKWINMAIN, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 12, 76, 13, 0
 CONTROL "Break at DLL entry point", IDC_BREAKDLL, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 24, 100, 13, 0
 CONTROL "Debug Exception Handlers", IDC_DEBUGEXCEPTION, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 36, 100, 13, 0
 CONTROL "Tool tips", IDC_DEBUGTOOLTIPS, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 48, 100, 13, 0
 CONTROL "", IDC_EDITCMDLINE, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 8, 100, 216, 13, 0
 CONTROL "Command Line:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 88, 104, 9, 0
}
ADDWATCHDIALOG DIALOG 0, 0, 240, 79
EXSTYLE WS_EX_DLGMODALFRAME
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Add Watch"
FONT 8, "MS Sans Serif"
{
 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 52, 44, 50, 14
 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 140, 44, 50, 14
 CONTROL "", IDC_EDWATCH, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 36, 17, 168, 13, 0
}
TOOLOPTPROPDLG DIALOG 0, 0, 240, 120
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Tool Options"
FONT 8, "MS Sans Serif"
{
 CONTROL "Compiler", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 29, 60, 8, 0
 CONTROL "", IDC_TOCOMPILER, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 60, 28, 164, 12, 0
 CONTROL "Assembler", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 44, 60, 8, 0
 CONTROL "", IDC_TOASSEMBLER, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 60, 44, 164, 12, 0
 CONTROL "Linker", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 60, 60, 8, 0
 CONTROL "", IDC_TOLINKER, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 60, 60, 164, 12, 0
 CONTROL "Librarian", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 76, 60, 8, 0
 CONTROL "", IDC_TOLIBRARIAN, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 60, 76, 164, 12, 0
}