55 wxAUI_TB_HORIZONTAL );
62 _(
"Display previous footprint" ) );
65 _(
"Display next footprint" ) );
78 _(
"Insert footprint in board" ) );
86 wxDefaultSize, 0,
nullptr );
98 wxDefaultSize, 0,
nullptr );
107 _(
"Automatic Zoom on footprint change" ),
168 wxMenuBar* oldMenuBar = GetMenuBar();
176 fileMenu->
AddClose(
_(
"Footprint Viewer" ) );
182 viewMenu->AppendSeparator();
188 viewMenu->AppendSeparator();
193 menuBar->Append( fileMenu,
_(
"&File" ) );
194 menuBar->Append( viewMenu,
_(
"&View" ) );
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 toggleGrid
static TOOL_ACTION zoomRedraw
static TOOL_ACTION millimetersUnits
static TOOL_ACTION show3DViewer
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION togglePolarCoords
static TOOL_ACTION milsUnits
static TOOL_ACTION toggleBoundingBoxes
static TOOL_ACTION inchesUnits
static TOOL_ACTION toggleCursorStyle
static TOOL_ACTION measureTool
static TOOL_ACTION selectionTool
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION zoomTool
static TOOL_ACTION zoomInCenter
static const ADVANCED_CFG & GetCfg()
Get the singleton instance's config, which is shared by all consumers.
static constexpr int KICAD_AUI_TB_STYLE
< Default style flags used for wxAUI toolbars.
void SetMenuBar(wxMenuBar *menu_bar) override
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Adds the standard KiCad help menu to the menubar.
wxChoice * m_gridSelectBox
ACTION_TOOLBAR * m_optionsToolBar
void UpdateGridSelectBox()
Rebuild the grid combobox to respond to any changes in the GUI (units, user grid changes,...
void UpdateZoomSelectBox()
Rebuild the grid combobox to respond to any changes in the GUI (units, user grid changes,...
ACTION_TOOLBAR * m_mainToolBar
wxChoice * m_zoomSelectBox
static TOOL_ACTION padDisplayMode
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
static TOOL_ACTION textOutlines
Display texts as lines.
static TOOL_ACTION showPadNumbers
This file contains miscellaneous commonly used macros and functions.
@ ID_ADD_FOOTPRINT_TO_BOARD
@ ID_FPVIEWER_AUTOZOOM_TOOL