<gadget name="EditorMenu" type="menu" size1024="0 0 1024 20" bevel="" textfont="Arial nobold nodrop" textfontsize="12" background="ui\editor\editor_background" tilebackground="" buttonsize1024="90 19">
<gadget name="Population" type="textBox" tooltiptext="$$19088$ Population" textcenterhoriz="" textcentervert="" textcolor="50 50 200" textfont="Arial nodrop" textfontsize="12" size1024="930 0 1024 20">Pop:pop/popcap</gadget>
<submenu title="$$20252$" accelerator="F">
<submenu title="$$20105$" accelerator="N">gadgetReal("NewScenarioGadget")</submenu>
<submenu title="$$42170$ Scenario" accelerator="L">uiScenarioLoad</submenu>
<submenu title="" separator=""/>
<submenu title="$$19012$" accelerator="S">uiSaveScenarioBrowser</submenu>
<submenu title="$$20253$ As" accelerator="A">uiSaveAsScenarioBrowser</submenu>
<submenu title="" separator=""/>
<submenu title="$$20255$" accelerator="c">gadgetReal("ScreenshotDialog")</submenu>
<submenu title="" separator=""/>
<submenu title="$$20259$ to Main Menu" accelerator="R">leaveGame</submenu>
<submenu title="$$18449$ to Windows" accelerator="E">exit</submenu>
</submenu>
<submenu title="$$18575$" accelerator="E">
<submenu title="$$20260$" accelerator="U">undo</submenu>
<submenu title="$$20261$" accelerator="R">redo</submenu>
<submenu title="" separator=""/>
<submenu title="$$20262$ Copy" accelerator="C">uiCopyToClipboard</submenu>
<submenu title="$$20263$ Paste" accelerator="P">editMode("UnitPaste")</submenu>
<submenu title="$$20264$ Copy" accelerator="T">editMode("copy")</submenu>
<submenu title="$$20265$ Paste" accelerator="e">editMode("TerrainPaste")</submenu>
<submenu title="$$25343$ Grouping" accelerator="D">editMode("defineGrouping")</submenu>
<submenu title="$$25560$ built-in grouping" accelerator="L">loadGrouping</submenu>
<submenu title="$$43018$ user-made grouping" accelerator="L">loadUserDefinedGrouping</submenu>
</submenu>
<submenu title="$$20303$" accelerator="S">
<submenu title="$$20266$ Data" accelerator="P">gadgetReal("PlayerEditDlg")</submenu>
<submenu title="$$36398$ Player Data">gadgetReal("FakePlayerEditDlg")</submenu>
<submenu title="$$20267$ Data" accelerator="S">gadgetReal("ScenarioSettingsDlg")</submenu>
<submenu title="$$20268$ Summary" accelerator="c">gadgetReal("AScenarioSummaryGadget")</submenu>
<submenu title="$$20269$ Scenario" accelerator="t">gadgetReal("PlaytestDialog")</submenu>
<submenu title="$$20104$" accelerator="O">gadgetReal("ObjectiveEditor")</submenu>
<submenu title="$$26824$ Editor" accelerator="M">gadgetReal("MercEditDlg")</submenu>
<submenu title="$$28366$ Manager" accelerator="R">gadgetReal("TreatyMgrDlg")</submenu>
<submenu title="$$28589$ American Manager" accelerator="R">gadgetReal("NativeMgrDlg")</submenu>
<submenu title="$$32606$ Units/Techs" accelerator="R">gadgetReal("ForbiddenUnitsTechsDlg")</submenu>
<submenu title="$$69794$ Editor" accelerator="R">gadgetReal("HomecityEditDlg")</submenu>
</submenu>
<submenu title="$$20271$" accelerator="W">
<submenu title="$$20272$..." accelerator="L">gadgetReal("WorldLightingDialog")</submenu>
<submenu title="$$20273$ Size..." accelerator="S">gadgetReal("MapSizeDialog")</submenu>
<submenu title="$$20274$ Elevation..." accelerator="E">gadgetReal("MapElevationGadget")</submenu>
<submenu title="$$28209$ types..." accelerator="T">gadgetReal("MapTypeDialog")</submenu>
</submenu>
<submenu title="$$20275$" accelerator="T">
<submenu title="$$18829$ Terrain" accelerator="P">editMode("Paint")</submenu>
<submenu title="$$18830$ Land" accelerator="L">editMode("PaintLand")</submenu>
<submenu title="$$24834$ Tool" accelerator="W">editMode("createRiver")</submenu>
<submenu title="$$33804$ Tool" accelerator="W">editMode("createRiverShallow")</submenu>
<submenu title="$$20276$ Tool" accelerator="W">editMode("paintWater")</submenu>
<submenu title="$$20277$ Water Tool" accelerator="E">editMode("editWater")</submenu>
<submenu title="$$20278$/Cliff Tool" accelerator="C">editMode("paintCliff")</submenu>
<submenu title="$$23990$ Cliff Tool" accelerator="C">editMode("editCliff")</submenu>
<submenu title="$$20279$ Tool" accelerator="F">editMode("paintforest")</submenu>
<submenu title="$$23988$ Forest Tool" accelerator="F">editMode("editforest")</submenu>
<submenu title="$$20280$ Settings" accelerator="B">gadgetReal("BrushSettingsDialog")</submenu>
</submenu>
<submenu title="$$20281$" accelerator="O">
<submenu title="$$20282$ Object..." accelerator="P">editMode("PlaceUnit")</submenu>
<submenu title="$$20283$ Object" accelerator="O">editMode("moveunit")</submenu>
<submenu title="$$20284$ Objects" accelerator="D">editMode("deleteunits")</submenu>
<submenu title="$$20285$ Info" accelerator="I">gadgetReal("ObjectInfoPanel")</submenu>
<submenu title="$$33064$ Unit" accelerator="R">gadgetReal("UnitRepDlg")</submenu>
<submenu title="" separator=""/>
<submenu title="$$37031$ Wall" accelerator="W">editMode("PlaceWall") uiSetProtoCursor("WallConnector", true)</submenu>
<submenu title="$$21581$ to Gate" accelerator="G">uiTransformSelectedUnit("CWallGate")</submenu>
<submenu title="" separator=""/>
<submenu title="$$26355$ Trade Route" accelerator="T">gadgetReal("TradeRouteDlg")</submenu>
<submenu title="" separator=""/>
<submenu title="$$26540$ Home City Gatherpoint" accelerator="H">editMode("HomeCityGatherPoint")uiSetProtoCursor("HomeCityGatherFlag", true)</submenu>
<submenu title="$$36400$ Home City Water Spawnpoint" accelerator="W">editMode("HomeCityWaterSpawnPoint")uiSetProtoCursor("HomeCityWaterSpawnFlag", true)</submenu>
<submenu title="" separator=""/>
<submenu title="$$25562$ Placement Restrictions" configindex="ignoreColonyRules" accelerator="R"/>
<submenu title="" separator=""/>
<submenu title="$$33175$ Editor" accelerator="A">gadgetReal("AHerdEditorGadget")</submenu>
<submenu title="$$36399$ Editor" accelerator="N">gadgetReal("ANuggetEditorGadget")</submenu>
</submenu>
<submenu title="$$20287$" accelerator="r">
<submenu title="$$20287$" accelerator="T">editMode("Triggers")</submenu>
<submenu title="$$20288$ Editor" accelerator="I">editMode("TrigGroups")</submenu>
<submenu title="$$20289$ Editor" accelerator="A">gadgetReal("ATriggerArmyGadget")</submenu>
</submenu>
<submenu title="$$20290$" accelerator="n">
<submenu title="$$20291$ Editor" accelerator="a">editMode("CameraTracks")</submenu>
<submenu title="$$20292$ Letterbox Bars" accelerator="T">gadgetToggle("Letterbox-topbar") gadgetToggle("Letterbox-bottombar")</submenu>
<submenu title="$$22366$ Mode" accelerator="T">gadgetToggle("LetterboxBlack-topbar") gadgetToggle("LetterboxBlack-bottombar")</submenu>
</submenu>
<submenu title="$$20293$" accelerator="V">
<submenu title="$$20294$ Lock" configindex="cameraMovementLock" accelerator="C"/>
<submenu title="" separator=""/>
<submenu title="$$32668$ Camera Start Location">uiSetCameraStartLoc()</submenu>
<submenu title="$$32669$ Camera Start Location">uiShowCameraStartLoc()</submenu>
<submenu title="$$32699$ Camera Start Location">uiDeleteCameraStartLoc()</submenu>
<submenu title="" separator=""/>
<submenu title="$$20295$ Grid" configindex="terrainGrid" accelerator="T"/>
<submenu title="$$20296$ Grid Major Tick..." accelerator="M">gadgetReal("terrainGridMajorTickDialog")</submenu>
<submenu title="$$20297$ Grid Minor Tick..." configindex="terrainGridMinorTick" accelerator="G"/>
<submenu title="" separator=""/>
<submenu title="$$20298$-Scenario Objects" accelerator="N" configindex="drawEditorUnits"/>
<submenu title="$$20299$ Rings" configindex="showUnitLOS" accelerator="L"/>
<submenu title="$$20300$ Unit Outlines" accelerator="H" configindex="noObscuredUnits"/>
<submenu title="" separator=""/>
<submenu title="$$20301$ Range Rings" accelerator="R">unitToggleShowActionRange("rangedattack")</submenu>
<submenu title="$$20302$ Minimap" accelerator="M">gadgetToggle("AGameMinimap")</submenu>
</submenu>
<submenu title="$$19829$" accelerator="p">
<submenu title="$$19789$" accelerator="">ModeEnter("History")</submenu>
<submenu title="$$37068$" accelerator="">ModeEnter("Options")</submenu>
<submenu title="" separator=""/>
<submenu title="$$42364$" accelerator="">renderWindow(1)</submenu>
<submenu title="$$42365$" accelerator="">renderWindow(0)</submenu>
<submenu title="" separator=""/>
<submenu title="" separator=""/>
<submenu title="XS Debugger" accelerator="A">gadgetToggle("XSDebugger")</submenu>
<submenu title="AI Debug Info" accelerator="A">gadgetUnreal("MoreTool1") gadgetreal("MoreTool2") gadgetreal("MoreTool3") gadgetUnReal("AIDebug1") gadgetReal("AIDebug2") gadgetFlash("AIDebug2") AIDebugInfoToggle</submenu>
<submenu title="AI Debug Info Object" accelerator="A">uiShowAIDebugInfoKBUnit(-1)</submenu>
<submenu title="" separator=""/>
<submenu title="$$22360$" accelerator="">gadgetToggle("txtBox")</submenu>
<submenu title="$$22345$" accelerator="">gadgetToggle("tgvUI")</submenu>
<submenu title="$$22386$" accelerator="">gadgetToggle("portPict")</submenu>
</submenu>
</gadget>