Rearranged Part Editor Icon Positions
The changes were made to rearrange the positions of the first 5 icons in the part editor so that they are consistent with footprint editor. Signed-off-by: Joseph Y. Chen <joseph.chen59@yahoo.com>
This commit is contained in:
parent
d7bf44eee0
commit
ed16beb5cd
|
@ -118,13 +118,16 @@ void LIB_EDIT_FRAME::ReCreateHToolbar()
|
||||||
KiBitmap( save_library_xpm ),
|
KiBitmap( save_library_xpm ),
|
||||||
_( "Save current library to disk" ) );
|
_( "Save current library to disk" ) );
|
||||||
|
|
||||||
m_mainToolBar->AddTool( ID_LIBEDIT_DELETE_PART, wxEmptyString, KiBitmap( delete_xpm ),
|
m_mainToolBar->AddTool( CreateNewLibAndSavePartId, wxEmptyString, KiBitmap( new_library_xpm ),
|
||||||
_( "Delete component in current library" ) );
|
_( "Save current component to new library" ) );
|
||||||
|
|
||||||
m_mainToolBar->AddSeparator();
|
|
||||||
m_mainToolBar->AddTool( ID_TO_LIBVIEW, wxEmptyString, KiBitmap( library_browse_xpm ),
|
m_mainToolBar->AddTool( ID_TO_LIBVIEW, wxEmptyString, KiBitmap( library_browse_xpm ),
|
||||||
HELP_RUN_LIB_VIEWER );
|
HELP_RUN_LIB_VIEWER );
|
||||||
|
|
||||||
|
m_mainToolBar->AddSeparator();
|
||||||
|
m_mainToolBar->AddTool( ID_LIBEDIT_DELETE_PART, wxEmptyString, KiBitmap( delete_xpm ),
|
||||||
|
_( "Delete component in current library" ) );
|
||||||
|
|
||||||
m_mainToolBar->AddSeparator();
|
m_mainToolBar->AddSeparator();
|
||||||
m_mainToolBar->AddTool( ID_LIBEDIT_NEW_PART, wxEmptyString, KiBitmap( new_component_xpm ),
|
m_mainToolBar->AddTool( ID_LIBEDIT_NEW_PART, wxEmptyString, KiBitmap( new_component_xpm ),
|
||||||
_( "Create a new component" ) );
|
_( "Create a new component" ) );
|
||||||
|
@ -147,9 +150,6 @@ void LIB_EDIT_FRAME::ReCreateHToolbar()
|
||||||
m_mainToolBar->AddTool( ExportPartId, wxEmptyString, KiBitmap( export_xpm ),
|
m_mainToolBar->AddTool( ExportPartId, wxEmptyString, KiBitmap( export_xpm ),
|
||||||
_( "Export component" ) );
|
_( "Export component" ) );
|
||||||
|
|
||||||
m_mainToolBar->AddTool( CreateNewLibAndSavePartId, wxEmptyString, KiBitmap( new_library_xpm ),
|
|
||||||
_( "Save current component to new library" ) );
|
|
||||||
|
|
||||||
m_mainToolBar->AddSeparator();
|
m_mainToolBar->AddSeparator();
|
||||||
msg = AddHotkeyName( _( "Undo last command" ), g_Libedit_Hokeys_Descr, HK_UNDO, IS_COMMENT );
|
msg = AddHotkeyName( _( "Undo last command" ), g_Libedit_Hokeys_Descr, HK_UNDO, IS_COMMENT );
|
||||||
m_mainToolBar->AddTool( wxID_UNDO, wxEmptyString, KiBitmap( undo_xpm ), msg );
|
m_mainToolBar->AddTool( wxID_UNDO, wxEmptyString, KiBitmap( undo_xpm ), msg );
|
||||||
|
|
Loading…
Reference in New Issue