86 auto unitChoiceFactory =
92 wxDefaultPosition, wxSize( 150, -1 ) );
98 auto bodyChoiceFactory =
104 wxDefaultPosition, wxSize( 150, -1 ) );
132 wxMenuBar* oldMenuBar = GetMenuBar();
139 fileMenu->
AddClose(
_(
"Symbol Viewer" ) );
151 viewMenu->AppendSeparator();
153 viewMenu->AppendSeparator();
160 menuBar->Append( fileMenu,
_(
"&File" ) );
161 menuBar->Append( viewMenu,
_(
"&View" ) );
164 SetMenuBar( menuBar );
static TOOL_ACTION zoomRedraw
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION showDatasheet
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION zoomInCenter
virtual void ClearToolbarControl(int aId)
void RegisterCustomToolbarControlFactory(const ACTION_TOOLBAR_CONTROL &aControlDesc, const ACTION_TOOLBAR_CONTROL_FACTORY &aControlFactory)
Register a creation factory for toolbar controls that are present in this frame.
virtual void configureToolbars()
ACTION_TOOLBAR * m_tbTopMain
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Add the standard KiCad help menu to the menubar.
static TOOL_ACTION previousSymbol
static TOOL_ACTION showElectricalTypes
static TOOL_ACTION nextSymbol
static TOOL_ACTION showPinNumbers
static TOOL_ACTION addSymbolToSchematic
Handle actions for the various symbol editor and viewers.
void doReCreateMenuBar() override
void ClearToolbarControl(int aId) override
wxChoice * m_bodyStyleChoice
void configureToolbars() override
@ ID_LIBVIEW_SELECT_UNIT_NUMBER
@ ID_LIBVIEW_SELECT_BODY_STYLE
This file contains miscellaneous commonly used macros and functions.