40 wxLogTrace(
m_logTrace, wxT(
"EDA_3D_VIEWER_FRAME::CreateMenuBar" ) );
43 wxMenuBar* oldMenuBar = GetMenuBar();
51 fileMenu->
Add(
_(
"Export Current View as PNG..." ),
54 BITMAPS::export_png );
56 fileMenu->
Add(
_(
"Export Current View as JPEG..." ),
59 BITMAPS::export_file );
61 fileMenu->AppendSeparator();
70 editMenu->
Add(
_(
"Copy 3D Image" ),
88 gridSubmenu->
SetIcon( BITMAPS::grid );
96 viewMenu->AppendSeparator();
97 viewMenu->
Add( gridSubmenu );
99 viewMenu->AppendSeparator();
103 viewMenu->AppendSeparator();
107 viewMenu->AppendSeparator();
111 viewMenu->AppendSeparator();
117 viewMenu->AppendSeparator();
125 prefsMenu->
Add(
_(
"Raytracing" ),
"",
134 prefsMenu->AppendSeparator();
139 menuBar->Append( fileMenu,
_(
"&File" ) );
140 menuBar->Append( editMenu,
_(
"&Edit" ) );
141 menuBar->Append( viewMenu,
_(
"&View" ) );
142 menuBar->Append( prefsMenu,
_(
"&Preferences" ) );
@ ID_TOOL_SCREENCOPY_TOCLIBBOARD
@ ID_MENU3D_RESET_DEFAULTS
@ ID_MENU_SCREENCOPY_JPEG
static TOOL_ACTION zoomRedraw
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION openPreferences
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION zoomInCenter
Handle actions that are shared between different applications.
static TOOL_ACTION showLayersManager
static TOOL_ACTION rotateXCCW
static TOOL_ACTION noGrid
static TOOL_ACTION show2_5mmGrid
static TOOL_ACTION rotateZCCW
static TOOL_ACTION rotateZCW
static TOOL_ACTION rotateYCCW
static TOOL_ACTION rotateXCW
static TOOL_ACTION show1mmGrid
static TOOL_ACTION moveLeft
static TOOL_ACTION show10mmGrid
static TOOL_ACTION show5mmGrid
static TOOL_ACTION moveUp
static TOOL_ACTION moveDown
static TOOL_ACTION moveRight
static TOOL_ACTION rotateYCW
void doReCreateMenuBar() override
void AddMenuLanguageList(ACTION_MENU *aMasterMenu, TOOL_INTERACTIVE *aControlTool)
Function AddMenuLanguageList creates a menu list for language choice, and add it as submenu to Master...
void SetMenuBar(wxMenuBar *menu_bar) override
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Adds the standard KiCad help menu to the menubar.
Declaration of the eda_3d_viewer class.
static const wxChar * m_logTrace
Trace mask used to enable or disable the trace output of this class.