Remove separate color configuration dialog
This commit is contained in:
parent
bf03642220
commit
b891fa4358
|
@ -195,14 +195,6 @@ void LIB_EDIT_FRAME::Process_Config( wxCommandEvent& event )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SCH_EDIT_FRAME::OnColorConfig( wxCommandEvent& aEvent )
|
|
||||||
{
|
|
||||||
DIALOG_COLOR_CONFIG dlg( this );
|
|
||||||
|
|
||||||
dlg.ShowModal();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void SCH_EDIT_FRAME::InstallConfigFrame( wxCommandEvent& event )
|
void SCH_EDIT_FRAME::InstallConfigFrame( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
// Identical to LIB_EDIT_FRAME::InstallConfigFrame()
|
// Identical to LIB_EDIT_FRAME::InstallConfigFrame()
|
||||||
|
|
|
@ -375,13 +375,6 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
|
||||||
_( "Configure component libraries and paths" ),
|
_( "Configure component libraries and paths" ),
|
||||||
KiBitmap( library_xpm ) );
|
KiBitmap( library_xpm ) );
|
||||||
|
|
||||||
// Colors
|
|
||||||
AddMenuItem( preferencesMenu,
|
|
||||||
ID_COLORS_SETUP,
|
|
||||||
_( "Set &Colors Scheme" ),
|
|
||||||
_( "Set color preferences" ),
|
|
||||||
KiBitmap( palette_xpm ) );
|
|
||||||
|
|
||||||
// Options (Preferences on WXMAC)
|
// Options (Preferences on WXMAC)
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
|
|
@ -237,7 +237,6 @@ BEGIN_EVENT_TABLE( SCH_EDIT_FRAME, EDA_DRAW_FRAME )
|
||||||
EVT_MENU_RANGE( ID_PREFERENCES_HOTKEY_START, ID_PREFERENCES_HOTKEY_END,
|
EVT_MENU_RANGE( ID_PREFERENCES_HOTKEY_START, ID_PREFERENCES_HOTKEY_END,
|
||||||
SCH_EDIT_FRAME::Process_Config )
|
SCH_EDIT_FRAME::Process_Config )
|
||||||
|
|
||||||
EVT_MENU( ID_COLORS_SETUP, SCH_EDIT_FRAME::OnColorConfig )
|
|
||||||
EVT_TOOL( wxID_PREFERENCES, SCH_EDIT_FRAME::OnPreferencesOptions )
|
EVT_TOOL( wxID_PREFERENCES, SCH_EDIT_FRAME::OnPreferencesOptions )
|
||||||
|
|
||||||
EVT_TOOL( ID_RUN_LIBRARY, SCH_EDIT_FRAME::OnOpenLibraryEditor )
|
EVT_TOOL( ID_RUN_LIBRARY, SCH_EDIT_FRAME::OnOpenLibraryEditor )
|
||||||
|
|
|
@ -266,7 +266,6 @@ public:
|
||||||
void SetPlotDirectoryName( const wxString& aDirName ) { m_plotDirectoryName = aDirName; }
|
void SetPlotDirectoryName( const wxString& aDirName ) { m_plotDirectoryName = aDirName; }
|
||||||
|
|
||||||
void Process_Special_Functions( wxCommandEvent& event );
|
void Process_Special_Functions( wxCommandEvent& event );
|
||||||
void OnColorConfig( wxCommandEvent& aEvent );
|
|
||||||
void Process_Config( wxCommandEvent& event );
|
void Process_Config( wxCommandEvent& event );
|
||||||
void OnSelectTool( wxCommandEvent& aEvent );
|
void OnSelectTool( wxCommandEvent& aEvent );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue