34 #include <wx/choice.h> 54 wxAUI_TB_HORIZONTAL );
61 _(
"Display previous footprint" ) );
64 _(
"Display next footprint" ) );
77 _(
"Insert footprint in board" ) );
85 wxDefaultSize, 0,
nullptr );
97 wxDefaultSize, 0,
nullptr );
156 wxMenuBar* oldMenuBar = GetMenuBar();
164 fileMenu->
AddClose(
_(
"Footprint Viewer" ) );
170 viewMenu->AppendSeparator();
176 viewMenu->AppendSeparator();
181 menuBar->Append( fileMenu,
_(
"&File" ) );
182 menuBar->Append( viewMenu,
_(
"&View" ) );
185 SetMenuBar( menuBar );
static TOOL_ACTION show3DViewer
static TOOL_ACTION zoomInCenter
ACTION_TOOLBAR * m_optionsToolBar
static TOOL_ACTION zoomTool
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION millimetersUnits
void UpdateZoomSelectBox()
Rebuild the grid combobox to respond to any changes in the GUI (units, user grid changes,...
ACTION_TOOLBAR * m_mainToolBar
wxChoice * m_gridSelectBox
static TOOL_ACTION zoomOutCenter
This file contains miscellaneous commonly used macros and functions.
void UpdateGridSelectBox()
Rebuild the grid combobox to respond to any changes in the GUI (units, user grid changes,...
static TOOL_ACTION measureTool
static TOOL_ACTION toggleGrid
static TOOL_ACTION showPadNumbers
static TOOL_ACTION inchesUnits
wxChoice * m_zoomSelectBox
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Adds the standard KiCad help menu to the menubar.
static TOOL_ACTION togglePolarCoords
static TOOL_ACTION milsUnits
wxBitmap KiScaledBitmap(BITMAPS aBitmap, wxWindow *aWindow, int aHeight, bool aQuantized)
Construct a wxBitmap from a memory record, scaling it if device DPI demands it.
static TOOL_ACTION padDisplayMode
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
static TOOL_ACTION zoomRedraw
static constexpr int KICAD_AUI_TB_STYLE
< Default style flags used for wxAUI toolbars.
static TOOL_ACTION toggleCursorStyle
static TOOL_ACTION selectionTool
static TOOL_ACTION textOutlines
Display texts as lines.