1998-04-13 20:24:54 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* NPL.
|
|
|
|
*
|
|
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
* Reserved.
|
|
|
|
*/
|
|
|
|
#include "resources.h"
|
|
|
|
#include "jsconsres.h"
|
|
|
|
#include <winres.h>
|
|
|
|
|
|
|
|
|
|
|
|
VIEWER MENU DISCARDABLE
|
|
|
|
{
|
|
|
|
POPUP "&File"
|
|
|
|
{
|
|
|
|
MENUITEM "&Open...", VIEWER_FILE_OPEN
|
|
|
|
POPUP "&Samples"
|
|
|
|
{
|
|
|
|
MENUITEM "demo #0", VIEWER_DEMO0
|
|
|
|
MENUITEM "demo #1", VIEWER_DEMO1
|
|
|
|
MENUITEM "demo #2", VIEWER_DEMO2
|
|
|
|
MENUITEM "demo #3", VIEWER_DEMO3
|
|
|
|
MENUITEM "demo #4", VIEWER_DEMO4
|
|
|
|
MENUITEM "demo #5", VIEWER_DEMO5
|
|
|
|
MENUITEM "demo #6", VIEWER_DEMO6
|
|
|
|
MENUITEM "demo #7", VIEWER_DEMO7
|
|
|
|
MENUITEM "demo #8", VIEWER_DEMO8
|
|
|
|
}
|
|
|
|
POPUP "Print &Preview"
|
|
|
|
{
|
|
|
|
MENUITEM "One Column", VIEWER_ONE_COLUMN
|
|
|
|
MENUITEM "Two Column", VIEWER_TWO_COLUMN
|
|
|
|
MENUITEM "Three Column", VIEWER_THREE_COLUMN
|
|
|
|
}
|
|
|
|
MENUITEM "&Exit", VIEWER_EXIT
|
|
|
|
}
|
1998-05-08 15:06:41 +00:00
|
|
|
POPUP "&Edit"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "Cu&t", VIEWER_EDIT_CUT, GRAYED
|
|
|
|
MENUITEM "&Copy", VIEWER_EDIT_COPY
|
|
|
|
MENUITEM "&Paste", VIEWER_EDIT_PASTE, GRAYED
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Select &All", VIEWER_EDIT_SELECTALL, HELP
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&Find in Page", VIEWER_EDIT_FINDINPAGE
|
|
|
|
, GRAYED
|
|
|
|
END
|
1998-04-13 20:24:54 +00:00
|
|
|
POPUP "&Debug"
|
|
|
|
{
|
|
|
|
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
|
|
|
MENUITEM "&Reflow Test", VIEWER_REFLOW_TEST
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Dump &Content", VIEWER_DUMP_CONTENT
|
|
|
|
MENUITEM "Dump &Frames", VIEWER_DUMP_FRAMES
|
|
|
|
MENUITEM "Dump &Views", VIEWER_DUMP_VIEWS
|
1998-05-18 21:12:19 +00:00
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
|
|
|
|
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
|
1998-05-14 18:25:17 +00:00
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Debu&g Robot", VIEWER_DEBUGROBOT
|
1998-05-14 22:16:36 +00:00
|
|
|
MENUITEM "&Visual Debug Robot", VIEWER_DEBUGROBOT_UPDATE
|
1998-04-13 20:24:54 +00:00
|
|
|
}
|
|
|
|
POPUP "&Tools"
|
|
|
|
{
|
|
|
|
MENUITEM "&JavaScript Console", JS_CONSOLE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
PRINTPREVIEW MENU DISCARDABLE
|
|
|
|
{
|
|
|
|
POPUP "&File"
|
|
|
|
{
|
|
|
|
MENUITEM "&Close", PREVIEW_CLOSE
|
|
|
|
}
|
|
|
|
POPUP "&Debug"
|
|
|
|
{
|
|
|
|
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Dump &Content", VIEWER_DUMP_CONTENT
|
|
|
|
MENUITEM "Dump &Frames", VIEWER_DUMP_FRAMES
|
|
|
|
MENUITEM "Dump &Views", VIEWER_DUMP_VIEWS
|
1998-05-18 21:12:19 +00:00
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
|
|
|
|
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
|
1998-04-13 20:24:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
1998-05-08 15:06:41 +00:00
|
|
|
JSCONSOLE_MENU MENU DISCARDABLE
|
1998-04-13 20:24:54 +00:00
|
|
|
BEGIN
|
|
|
|
POPUP "&File"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "&New", ID_FILENEW
|
|
|
|
MENUITEM "&Open...", ID_FILEOPEN
|
|
|
|
MENUITEM "&Save", ID_FILESAVE
|
|
|
|
MENUITEM "Save &As...", ID_FILESAVEAS
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "E&xit", ID_FILEEXIT
|
|
|
|
END
|
|
|
|
POPUP "&Edit"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "&Undo", ID_EDITUNDO
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Cu&t", ID_EDITCUT
|
|
|
|
MENUITEM "&Copy", ID_EDITCOPY
|
|
|
|
MENUITEM "&Paste", ID_EDITPASTE
|
|
|
|
MENUITEM "De&lete", ID_EDITDELETE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Select &All", ID_EDITSELECTALL
|
|
|
|
END
|
|
|
|
POPUP "&Commands"
|
|
|
|
BEGIN
|
|
|
|
MENUITEM "&Evaluate All\tF5", ID_COMMANDSEVALALL
|
1998-05-08 15:06:41 +00:00
|
|
|
MENUITEM "Evaluate &Selection\tF10", ID_COMMANDSEVALSEL
|
1998-04-13 20:24:54 +00:00
|
|
|
MENUITEM SEPARATOR
|
1998-05-08 15:06:41 +00:00
|
|
|
MENUITEM "&Inspector", ID_COMMANDSINSPECTOR
|
1998-04-13 20:24:54 +00:00
|
|
|
END
|
|
|
|
POPUP "&Help"
|
|
|
|
BEGIN
|
1998-04-17 01:29:45 +00:00
|
|
|
MENUITEM "No Help Available", ID_NOHELP
|
1998-04-13 20:24:54 +00:00
|
|
|
END
|
|
|
|
END
|
|
|
|
|
|
|
|
ACCELERATOR_TABLE ACCELERATORS
|
|
|
|
BEGIN
|
1998-05-08 15:06:41 +00:00
|
|
|
VK_F5, ID_COMMANDSEVALALL, VIRTKEY
|
|
|
|
VK_F10, ID_COMMANDSEVALSEL, VIRTKEY
|
1998-04-13 20:24:54 +00:00
|
|
|
END
|