Commit 1c983b01 authored by jerryjacobs's avatar jerryjacobs

Hotkey submenu added, fixed typos. See CHANGELOG.txt

parent db49e2a5
...@@ -4,6 +4,19 @@ KiCad ChangeLog 2009 ...@@ -4,6 +4,19 @@ KiCad ChangeLog 2009
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2009-oct-27 UPDATE Jerry Jacobs <xor.gate.engineering@gmail.com>
================================================================================
++common
Doxygen output directory changed to Documentation/doxygen
Cleanup of HOTKEY IDs
Creation and cleanup of hotkey submenu
++misc
Moved pcbcfg.cpp to pcbnew_config.cpp
Moved eeconfig.ccp to eeschema_config.cpp
Fixed typos
2009-oct-23 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr> 2009-oct-23 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================ ================================================================================
++pcbnew ++pcbnew
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8 DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = Kicad PROJECT_NAME = KiCad PCB EDA Suite
PROJECT_NUMBER = PROJECT_NUMBER =
OUTPUT_DIRECTORY = OUTPUT_DIRECTORY = Documentation/doxygen
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES BRIEF_MEMBER_DESC = YES
......
...@@ -629,60 +629,77 @@ wxString ReturnHotkeyConfigFilePath( int choice ) ...@@ -629,60 +629,77 @@ wxString ReturnHotkeyConfigFilePath( int choice )
void AddHotkeyConfigMenu( wxMenu* menu ) void AddHotkeyConfigMenu( wxMenu* menu )
/***************************************/ /***************************************/
/** add hotkey config options to a menu /** add hotkey config options submenu to a menu
* @param menu : initial menu * @param menu : initial menu
*/ */
{ {
wxMenuItem* item; wxMenuItem* item;
wxMenu* HotkeySubmenu = new wxMenu();
if( menu == NULL ) if( menu == NULL )
return; return;
item = new wxMenuItem( menu, ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST, /* Show hotkey configuration */
_( "Show Current Hotkey List" ), item = new wxMenuItem( HotkeySubmenu, ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
_( "Show the current hotkey config" ) ); _( "Show" ),
_( "Show the current hotkey configuration" ) );
item->SetBitmap( info_xpm ); item->SetBitmap( info_xpm );
menu->Append( item ); HotkeySubmenu->Append( item );
item = new wxMenuItem( menu, ID_PREFERENCES_CREATE_CONFIG_HOTKEYS, /* (Re)create hotkey file */
_( "Create Hotkey config file" ), item = new wxMenuItem( HotkeySubmenu, ID_PREFERENCES_HOTKEY_CREATE_CONFIG,
_( "Create or Recreate the hotkey config file from current hotkey list" ) _( "(Re)create" ),
_( "Create or recreate the hotkey configuration file from current hotkey list" )
); );
item->SetBitmap( save_setup_xpm ); item->SetBitmap( save_setup_xpm );
menu->Append( item ); HotkeySubmenu->Append( item );
item = new wxMenuItem( menu, ID_PREFERENCES_READ_CONFIG_HOTKEYS, /* Reload hotkey file */
_( "Reread Hotkey config file" ), item = new wxMenuItem( HotkeySubmenu, ID_PREFERENCES_HOTKEY_READ_CONFIG,
_( "Reread the hotkey config file" ) ); _( "Reload" ),
_( "Reload the hotkey configuration file" ) );
item->SetBitmap( reload_xpm ); item->SetBitmap( reload_xpm );
menu->Append( item ); HotkeySubmenu->Append( item );
item = new wxMenuItem( menu, ID_PREFERENCES_EDIT_CONFIG_HOTKEYS,
_( "Edit Hotkey config file" ), /* Edit hotkey file */
_( "Run the text editor and edit the hotkey config file" ) ); item = new wxMenuItem( HotkeySubmenu, ID_PREFERENCES_HOTKEY_EDIT_CONFIG,
_( "Edit" ),
_( "Edit the hotkey configuration file in a text editor" ) );
item->SetBitmap( editor_xpm ); item->SetBitmap( editor_xpm );
menu->Append( item ); HotkeySubmenu->Append( item );
/* Append HotkeySubmenu to menu */
menu->Append( ID_PREFERENCES_HOTKEY_SUBMENU,
_("Hotkey"),
HotkeySubmenu,
_("Hotkey configuration and preferences"));
/* Hotkey path */
wxMenu* HotkeyLocationSubmenu = new wxMenu();
wxMenu* submenu_hkcfg = new wxMenu(); /* Home directory */
item = new wxMenuItem( submenu_hkcfg, ID_PREFERENCES_HOTKEY_PATH_IS_HOME, item = new wxMenuItem( HotkeyLocationSubmenu, ID_PREFERENCES_HOTKEY_PATH_IS_HOME,
_( "home directory" ), _( "Home directory" ),
_( "Use home directory to load or store Hotkey config files" ), _( "Use home directory to load or store Hotkey config files" ),
wxITEM_CHECK ); wxITEM_CHECK );
submenu_hkcfg->Append( item ); HotkeyLocationSubmenu->Append( item );
item = new wxMenuItem( submenu_hkcfg, ID_PREFERENCES_HOTKEY_PATH_IS_KICAD, /* KiCad template directory */
_( "kicad/template directory" ), item = new wxMenuItem( HotkeyLocationSubmenu, ID_PREFERENCES_HOTKEY_PATH_IS_KICAD,
_( "KiCad template directory" ),
_( "Use kicad/template directory to load or store Hotkey config files" ), _( "Use kicad/template directory to load or store Hotkey config files" ),
wxITEM_CHECK ); wxITEM_CHECK );
submenu_hkcfg->Append( item ); HotkeyLocationSubmenu->Append( item );
/* Append location submenu to HotkeySubmenu */
ADD_MENUITEM_WITH_HELP_AND_SUBMENU( ADD_MENUITEM_WITH_HELP_AND_SUBMENU(
menu, submenu_hkcfg, -1, HotkeySubmenu, HotkeyLocationSubmenu, -1,
_( "Hotkey config location" ), _( "Location" ),
_( "Select hotkey config file location (home directory or kicad tree)" ), _( "Select hotkey configuration file location" ),
right_xpm ); right_xpm );
submenu_hkcfg->Check( ID_PREFERENCES_HOTKEY_PATH_IS_HOME, HotkeyLocationSubmenu->Check( ID_PREFERENCES_HOTKEY_PATH_IS_HOME,
g_ConfigFileLocationChoice == 0 ); g_ConfigFileLocationChoice == 0 );
submenu_hkcfg->Check( ID_PREFERENCES_HOTKEY_PATH_IS_KICAD, HotkeyLocationSubmenu->Check( ID_PREFERENCES_HOTKEY_PATH_IS_KICAD,
g_ConfigFileLocationChoice == 1 ); g_ConfigFileLocationChoice == 1 );
} }
......
...@@ -67,12 +67,12 @@ set(EESCHEMA_SRCS ...@@ -67,12 +67,12 @@ set(EESCHEMA_SRCS
edit_component_in_lib.cpp edit_component_in_lib.cpp
edit_component_in_schematic.cpp edit_component_in_schematic.cpp
edit_label.cpp edit_label.cpp
eeconfig.cpp
eelayer.cpp eelayer.cpp
eelibs_draw_components.cpp eelibs_draw_components.cpp
eelibs_read_libraryfiles.cpp eelibs_read_libraryfiles.cpp
eeredraw.cpp eeredraw.cpp
eeschema.cpp eeschema.cpp
eeschema_config.cpp
erc.cpp erc.cpp
files-io.cpp files-io.cpp
find.cpp find.cpp
......
...@@ -70,18 +70,20 @@ void WinEDA_SchematicFrame::Process_Config( wxCommandEvent& event ) ...@@ -70,18 +70,20 @@ void WinEDA_SchematicFrame::Process_Config( wxCommandEvent& event )
} }
break; break;
case ID_PREFERENCES_CREATE_CONFIG_HOTKEYS:
/* Hotkey IDs */
case ID_PREFERENCES_HOTKEY_CREATE_CONFIG:
fn = wxFileName( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ), fn = wxFileName( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ),
HOTKEY_FILENAME, HOTKEY_FILENAME,
DEFAULT_HOTKEY_FILENAME_EXT ); DEFAULT_HOTKEY_FILENAME_EXT );
WriteHotkeyConfigFile( fn.GetFullPath(), s_Eeschema_Hokeys_Descr, true ); WriteHotkeyConfigFile( fn.GetFullPath(), s_Eeschema_Hokeys_Descr, true );
break; break;
case ID_PREFERENCES_READ_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_READ_CONFIG:
Read_Hotkey_Config( this, true ); Read_Hotkey_Config( this, true );
break; break;
case ID_PREFERENCES_EDIT_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_EDIT_CONFIG:
{ {
fn = wxFileName( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ), fn = wxFileName( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ),
HOTKEY_FILENAME, DEFAULT_HOTKEY_FILENAME_EXT ); HOTKEY_FILENAME, DEFAULT_HOTKEY_FILENAME_EXT );
......
...@@ -288,7 +288,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar() ...@@ -288,7 +288,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item->SetBitmap( add_text_xpm ); item->SetBitmap( add_text_xpm );
placeMenu->Append( item ); placeMenu->Append( item );
// Menu Configuration: /* Preferences Menu */
wxMenu* configmenu = new wxMenu; wxMenu* configmenu = new wxMenu;
item = new wxMenuItem( configmenu, ID_CONFIG_REQ, _( "&Library" ), item = new wxMenuItem( configmenu, ID_CONFIG_REQ, _( "&Library" ),
_( "Library preferences" ) ); _( "Library preferences" ) );
...@@ -308,6 +308,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar() ...@@ -308,6 +308,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
wxGetApp().AddMenuLanguageList( configmenu ); wxGetApp().AddMenuLanguageList( configmenu );
AddHotkeyConfigMenu( configmenu );
configmenu->AppendSeparator(); configmenu->AppendSeparator();
item = new wxMenuItem( configmenu, ID_CONFIG_SAVE, _( "&Save preferences" ), item = new wxMenuItem( configmenu, ID_CONFIG_SAVE, _( "&Save preferences" ),
_( "Save application preferences" ) ); _( "Save application preferences" ) );
...@@ -319,10 +321,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar() ...@@ -319,10 +321,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item->SetBitmap( read_setup_xpm ); item->SetBitmap( read_setup_xpm );
configmenu->Append( item ); configmenu->Append( item );
configmenu->AppendSeparator(); /* Help Menu*/
AddHotkeyConfigMenu( configmenu );
// Menu Help:
wxMenu* helpMenu = new wxMenu; wxMenu* helpMenu = new wxMenu;
item = new wxMenuItem( helpMenu, ID_GENERAL_HELP, _( "&Contents" ), item = new wxMenuItem( helpMenu, ID_GENERAL_HELP, _( "&Contents" ),
_( "Open the eeschema manual" ) ); _( "Open the eeschema manual" ) );
......
...@@ -60,7 +60,8 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event ) ...@@ -60,7 +60,8 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
Update_config(); Update_config();
break; break;
case ID_PREFERENCES_CREATE_CONFIG_HOTKEYS: /* Hotkey IDs */
case ID_PREFERENCES_HOTKEY_CREATE_CONFIG:
FullFileName = ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ); FullFileName = ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice );
FullFileName += HOTKEY_FILENAME; FullFileName += HOTKEY_FILENAME;
FullFileName += wxT("."); FullFileName += wxT(".");
...@@ -68,11 +69,11 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event ) ...@@ -68,11 +69,11 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
WriteHotkeyConfigFile( FullFileName, s_Gerbview_Hokeys_Descr, true ); WriteHotkeyConfigFile( FullFileName, s_Gerbview_Hokeys_Descr, true );
break; break;
case ID_PREFERENCES_READ_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_READ_CONFIG:
Read_Hotkey_Config( this, true ); Read_Hotkey_Config( this, true );
break; break;
case ID_PREFERENCES_EDIT_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_EDIT_CONFIG:
{ {
FullFileName = ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ); FullFileName = ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice );
FullFileName += HOTKEY_FILENAME; FullFileName += HOTKEY_FILENAME;
......
...@@ -33,12 +33,15 @@ enum main_id ...@@ -33,12 +33,15 @@ enum main_id
ID_CONFIG_REQ, ID_CONFIG_REQ,
ID_CONFIG_SAVE, ID_CONFIG_SAVE,
ID_CONFIG_READ, ID_CONFIG_READ,
ID_PREFERENCES_CREATE_CONFIG_HOTKEYS,
ID_PREFERENCES_READ_CONFIG_HOTKEYS, ID_PREFERENCES_HOTKEY_SUBMENU,
ID_PREFERENCES_EDIT_CONFIG_HOTKEYS, ID_PREFERENCES_HOTKEY_CREATE_CONFIG,
ID_PREFERENCES_HOTKEY_READ_CONFIG,
ID_PREFERENCES_HOTKEY_EDIT_CONFIG,
ID_PREFERENCES_HOTKEY_PATH_IS_HOME, ID_PREFERENCES_HOTKEY_PATH_IS_HOME,
ID_PREFERENCES_HOTKEY_PATH_IS_KICAD, ID_PREFERENCES_HOTKEY_PATH_IS_KICAD,
ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST, ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
ID_PREFERENCES_UNUSED2, ID_PREFERENCES_UNUSED2,
ID_PREFERENCES_UNUSED3, ID_PREFERENCES_UNUSED3,
ID_CONFIG_AND_PREFERENCES_END, ID_CONFIG_AND_PREFERENCES_END,
......
...@@ -119,9 +119,9 @@ set(PCBNEW_SRCS ...@@ -119,9 +119,9 @@ set(PCBNEW_SRCS
netlist.cpp netlist.cpp
onleftclick.cpp onleftclick.cpp
onrightclick.cpp onrightclick.cpp
pcbcfg.cpp
pcbframe.cpp pcbframe.cpp
pcbnew.cpp pcbnew.cpp
pcbnew_config.cpp
pcbplot.cpp pcbplot.cpp
plotgerb.cpp plotgerb.cpp
plothpgl.cpp plothpgl.cpp
......
...@@ -66,7 +66,7 @@ DialogGeneralOptionsBoardEditor_base::DialogGeneralOptionsBoardEditor_base( wxWi ...@@ -66,7 +66,7 @@ DialogGeneralOptionsBoardEditor_base::DialogGeneralOptionsBoardEditor_base( wxWi
bMiddleLeftSizer->Add( m_MaxShowLinks, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 ); bMiddleLeftSizer->Add( m_MaxShowLinks, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
m_staticTextautosave = new wxStaticText( this, wxID_ANY, _("Auto Save (minuts):"), wxDefaultPosition, wxDefaultSize, 0 ); m_staticTextautosave = new wxStaticText( this, wxID_ANY, _("Auto Save (minutes):"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticTextautosave->Wrap( -1 ); m_staticTextautosave->Wrap( -1 );
bMiddleLeftSizer->Add( m_staticTextautosave, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 5 ); bMiddleLeftSizer->Add( m_staticTextautosave, 0, wxTOP|wxRIGHT|wxLEFT|wxEXPAND, 5 );
......
...@@ -429,7 +429,7 @@ ...@@ -429,7 +429,7 @@
<property name="font"></property> <property name="font"></property>
<property name="hidden">0</property> <property name="hidden">0</property>
<property name="id">wxID_ANY</property> <property name="id">wxID_ANY</property>
<property name="label">Auto Save (minuts):</property> <property name="label">Auto Save (minutes):</property>
<property name="maximum_size"></property> <property name="maximum_size"></property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">m_staticTextautosave</property> <property name="name">m_staticTextautosave</property>
......
...@@ -160,7 +160,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar() ...@@ -160,7 +160,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
// Add exit menu // Add exit menu
filesMenu->AppendSeparator(); filesMenu->AppendSeparator();
item = new wxMenuItem( filesMenu, ID_EXIT, _( "E&xit" ), item = new wxMenuItem( filesMenu, ID_EXIT, _( "E&xit" ),
_( "Quit PCBNEW" ) ); _( "Quit PCBnew" ) );
item->SetBitmap( exit_xpm ); item->SetBitmap( exit_xpm );
filesMenu->Append( item ); filesMenu->Append( item );
...@@ -181,7 +181,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar() ...@@ -181,7 +181,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
configmenu->Append( item ); configmenu->Append( item );
item = new wxMenuItem( configmenu, ID_OPTIONS_SETUP, _( "&General" ), item = new wxMenuItem( configmenu, ID_OPTIONS_SETUP, _( "&General" ),
_( "Select general options for PCBNEW" ) ); _( "Select general options for PCBnew" ) );
item->SetBitmap( preference_xpm ); item->SetBitmap( preference_xpm );
configmenu->Append( item ); configmenu->Append( item );
...@@ -192,6 +192,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar() ...@@ -192,6 +192,8 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
wxGetApp().AddMenuLanguageList( configmenu ); wxGetApp().AddMenuLanguageList( configmenu );
AddHotkeyConfigMenu( configmenu );
configmenu->AppendSeparator(); configmenu->AppendSeparator();
item = new wxMenuItem( configmenu, ID_CONFIG_SAVE, _( "&Save Preferences" ), item = new wxMenuItem( configmenu, ID_CONFIG_SAVE, _( "&Save Preferences" ),
_( "Save application preferences" ) ); _( "Save application preferences" ) );
...@@ -203,9 +205,6 @@ void WinEDA_PcbFrame::ReCreateMenuBar() ...@@ -203,9 +205,6 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
item->SetBitmap( read_setup_xpm ); item->SetBitmap( read_setup_xpm );
configmenu->Append( item ); configmenu->Append( item );
configmenu->AppendSeparator();
AddHotkeyConfigMenu( configmenu );
// Add access to the Design Rules Dialog: // Add access to the Design Rules Dialog:
wxMenu* designRulesMenu = new wxMenu; wxMenu* designRulesMenu = new wxMenu;
item = new wxMenuItem( designRulesMenu, ID_MENU_PCB_SHOW_DESIGN_RULES_DIALOG, item = new wxMenuItem( designRulesMenu, ID_MENU_PCB_SHOW_DESIGN_RULES_DIALOG,
...@@ -320,12 +319,12 @@ void WinEDA_PcbFrame::ReCreateMenuBar() ...@@ -320,12 +319,12 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
//////////////// ////////////////
wxMenu* helpMenu = new wxMenu; wxMenu* helpMenu = new wxMenu;
item = new wxMenuItem( helpMenu, ID_GENERAL_HELP, _( "&Contents" ), item = new wxMenuItem( helpMenu, ID_GENERAL_HELP, _( "&Contents" ),
_( "Open the PCBNEW manual" ) ); _( "Open the PCBnew manual" ) );
item->SetBitmap( help_xpm ); item->SetBitmap( help_xpm );
helpMenu->Append( item ); helpMenu->Append( item );
item = new wxMenuItem( helpMenu, ID_KICAD_ABOUT, _( "&About PCBNEW" ), item = new wxMenuItem( helpMenu, ID_KICAD_ABOUT, _( "&About PCBnew" ),
_( "About PCBNEW printed circuit board designer" ) ); _( "About PCBnew printed circuit board designer" ) );
item->SetBitmap( info_xpm ); item->SetBitmap( info_xpm );
helpMenu->Append( item ); helpMenu->Append( item );
......
...@@ -94,7 +94,7 @@ void WinEDA_PcbFrame::Process_Config( wxCommandEvent& event ) ...@@ -94,7 +94,7 @@ void WinEDA_PcbFrame::Process_Config( wxCommandEvent& event )
Read_Config( dlg.GetPath() ); Read_Config( dlg.GetPath() );
break; break;
} }
case ID_PREFERENCES_CREATE_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_CREATE_CONFIG:
fn.SetPath( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ) ); fn.SetPath( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ) );
fn.SetName( HOTKEY_FILENAME ); fn.SetName( HOTKEY_FILENAME );
fn.SetExt( DEFAULT_HOTKEY_FILENAME_EXT ); fn.SetExt( DEFAULT_HOTKEY_FILENAME_EXT );
...@@ -102,11 +102,11 @@ void WinEDA_PcbFrame::Process_Config( wxCommandEvent& event ) ...@@ -102,11 +102,11 @@ void WinEDA_PcbFrame::Process_Config( wxCommandEvent& event )
true ); true );
break; break;
case ID_PREFERENCES_READ_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_READ_CONFIG:
Read_Hotkey_Config( this, true ); Read_Hotkey_Config( this, true );
break; break;
case ID_PREFERENCES_EDIT_CONFIG_HOTKEYS: case ID_PREFERENCES_HOTKEY_EDIT_CONFIG:
{ {
fn.SetPath( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ) ); fn.SetPath( ReturnHotkeyConfigFilePath( g_ConfigFileLocationChoice ) );
fn.SetName( HOTKEY_FILENAME ); fn.SetName( HOTKEY_FILENAME );
......
...@@ -426,12 +426,12 @@ void WinEDA_PcbFrame::ReCreateVToolbar() ...@@ -426,12 +426,12 @@ void WinEDA_PcbFrame::ReCreateVToolbar()
m_VToolBar->AddSeparator(); m_VToolBar->AddSeparator();
m_VToolBar->AddTool( ID_PCB_HIGHLIGHT_BUTT, wxEmptyString, m_VToolBar->AddTool( ID_PCB_HIGHLIGHT_BUTT, wxEmptyString,
wxBitmap( net_hightlight_xpm ), _( "Net highlight" ), wxBitmap( net_hightlight_xpm ), _( "Highlight net" ),
wxITEM_CHECK ); wxITEM_CHECK );
m_VToolBar->AddTool( ID_PCB_SHOW_1_RATSNEST_BUTT, wxEmptyString, m_VToolBar->AddTool( ID_PCB_SHOW_1_RATSNEST_BUTT, wxEmptyString,
wxBitmap( tool_ratsnet_xpm ), wxBitmap( tool_ratsnet_xpm ),
_( "Display local ratsnest (pad or module)" ), _( "Display local ratsnest" ),
wxITEM_CHECK ); wxITEM_CHECK );
m_VToolBar->AddSeparator(); m_VToolBar->AddSeparator();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment