44 wxMenuBar* oldMenuBar = GetMenuBar();
55 #ifdef KICAD_SCRIPTING 59 fileMenu->AppendSeparator();
65 fileMenu->AppendSeparator();
68 submenuImport->
SetTool( selTool );
73 submenuImport->
Add(
_(
"&Import Graphics..." ),
74 _(
"Import 2D Drawing file to Footprint Editor on Drawings layer" ),
78 fileMenu->
Add( submenuImport );
85 submenuExport->
Add(
_(
"Export View as &PNG..." ),
86 _(
"Create a PNG file from the current view" ),
90 fileMenu->
Add( submenuExport );
92 fileMenu->AppendSeparator();
95 fileMenu->AppendSeparator();
96 fileMenu->
AddClose(
_(
"Footprint Editor" ) );
106 editMenu->AppendSeparator();
113 editMenu->AppendSeparator();
116 editMenu->AppendSeparator();
120 editMenu->AppendSeparator();
131 viewMenu->AppendSeparator();
138 viewMenu->AppendSeparator();
150 viewMenu->
Add( unitsSubMenu );
154 viewMenu->AppendSeparator();
157 drawingModeSubMenu->
SetTitle(
_(
"&Drawing Mode" ) );
163 viewMenu->
Add( drawingModeSubMenu );
167 contrastModeSubMenu->
SetTitle(
_(
"&Contrast Mode" ) );
173 viewMenu->
Add( contrastModeSubMenu );
177 viewMenu->AppendSeparator();
187 placeMenu->AppendSeparator();
196 placeMenu->AppendSeparator();
207 inspectMenu->AppendSeparator();
215 toolsMenu->
Add(
_(
"&Load Footprint from PCB..." ),
216 _(
"Load a footprint from the current board into the editor" ),
220 toolsMenu->
Add(
_(
"&Insert Footprint on PCB" ),
221 _(
"Insert footprint onto current board" ),
232 prefsMenu->
Add(
_(
"Preferences..." ) +
"\tCtrl+,",
233 _(
"Show preferences for all open tools" ),
237 prefsMenu->AppendSeparator();
242 menuBar->Append( fileMenu,
_(
"&File" ) );
243 menuBar->Append( editMenu,
_(
"&Edit" ) );
244 menuBar->Append( viewMenu,
_(
"&View" ) );
245 menuBar->Append( placeMenu,
_(
"&Place" ) );
246 menuBar->Append( inspectMenu,
_(
"&Inspect" ) );
247 menuBar->Append( toolsMenu,
_(
"&Tools" ) );
248 menuBar->Append( prefsMenu,
_(
"P&references" ) );
251 SetMenuBar( menuBar );
static TOOL_ACTION drawLine
static TOOL_ACTION show3DViewer
static TOOL_ACTION footprintProperties
static TOOL_ACTION zoomInCenter
static TOOL_ACTION doDelete
static TOOL_ACTION checkFootprint
static TOOL_ACTION drawArc
static TOOL_ACTION cleanupGraphics
static TOOL_ACTION layerAlphaDec
static TOOL_ACTION zoomTool
static TOOL_ACTION layerAlphaInc
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION millimetersUnits
static TOOL_ACTION drawPolygon
static TOOL_ACTION placePad
Activation of the drawing tool (placing a PAD)
const BITMAP_OPAQUE contrast_mode_xpm[1]
static TOOL_ACTION setAnchor
static TOOL_ACTION placeText
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION createFootprint
static TOOL_ACTION measureTool
const BITMAP_OPAQUE load_module_board_xpm[1]
static TOOL_ACTION toggleFootprintTree
static TOOL_ACTION showFootprintLibTable
static TOOL_ACTION toggleGrid
static TOOL_ACTION exportFootprint
static TOOL_ACTION showFootprintBrowser
static TOOL_ACTION inchesUnits
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Adds the standard KiCad help menu to the menubar.
const BITMAP_OPAQUE export_xpm[1]
const BITMAP_OPAQUE import_xpm[1]
static TOOL_ACTION togglePolarCoords
static TOOL_ACTION drawRectangle
static TOOL_ACTION addLibrary
const BITMAP_OPAQUE insert_module_board_xpm[1]
static TOOL_ACTION newLibrary
static TOOL_ACTION milsUnits
static TOOL_ACTION importFootprint
const BITMAP_OPAQUE unit_mm_xpm[1]
static TOOL_ACTION padDisplayMode
static TOOL_ACTION drawCircle
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
static TOOL_ACTION defaultPadProperties
static TOOL_ACTION drawRuleArea
static TOOL_ACTION saveAs
const BITMAP_OPAQUE import_vector_xpm[1]
static TOOL_ACTION zoomRedraw
static TOOL_ACTION gridProperties
const BITMAP_OPAQUE add_zone_xpm[1]
const BITMAP_OPAQUE export_png_xpm[1]
static TOOL_ACTION toggleCursorStyle
static TOOL_ACTION flipBoard
static TOOL_ACTION gridSetOrigin
const BITMAP_OPAQUE preference_xpm[1]
static TOOL_ACTION configurePaths
static TOOL_ACTION highContrastMode
static TOOL_ACTION selectAll
static TOOL_ACTION duplicate
static TOOL_ACTION revert
static TOOL_ACTION newFootprint
static TOOL_ACTION textOutlines
Display texts as lines.