Loading gerbview/gerberframe.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -111,6 +111,8 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame ) WinEDA_GerberFrame::OnSelectOptionToolbar ) WinEDA_GerberFrame::OnSelectOptionToolbar ) EVT_TOOL( ID_TB_OPTIONS_SHOW_LAYERS_MANAGER_VERTICAL_TOOLBAR, EVT_TOOL( ID_TB_OPTIONS_SHOW_LAYERS_MANAGER_VERTICAL_TOOLBAR, WinEDA_GerberFrame::OnSelectOptionToolbar ) WinEDA_GerberFrame::OnSelectOptionToolbar ) EVT_TOOL( ID_TB_OPTIONS_SHOW_DCODES, WinEDA_GerberFrame::OnSelectOptionToolbar ) END_EVENT_TABLE() END_EVENT_TABLE() Loading gerbview/options.cpp +0 −1 Original line number Original line Diff line number Diff line Loading @@ -26,7 +26,6 @@ void WinEDA_GerberFrame::OnSelectOptionToolbar( wxCommandEvent& event ) { { int id = event.GetId(); int id = event.GetId(); bool state; bool state; switch( id ) switch( id ) { { case ID_MENU_GERBVIEW_SHOW_HIDE_LAYERS_MANAGER_DIALOG: case ID_MENU_GERBVIEW_SHOW_HIDE_LAYERS_MANAGER_DIALOG: Loading pcbnew/dialog_copper_zones.cpp +4 −9 Original line number Original line Diff line number Diff line Loading @@ -6,10 +6,6 @@ /// Licence: GNU License /// Licence: GNU License ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "zones.h" #endif #include "fctsys.h" #include "fctsys.h" #include "appl_wxstruct.h" #include "appl_wxstruct.h" #include "common.h" #include "common.h" Loading Loading @@ -42,16 +38,15 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* z SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click if( GetSizer() ) initDialog(); { GetSizer()->SetSizeHints( this ); GetSizer()->SetSizeHints( this ); } Center(); Center(); } } /*****************************************************************/ /*****************************************************************/ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) void dialog_copper_zone::initDialog( ) /*****************************************************************/ /*****************************************************************/ // Initialise all dialog options and values in wxTextCtrl // Initialise all dialog options and values in wxTextCtrl Loading pcbnew/dialog_copper_zones.h +3 −2 Original line number Original line Diff line number Diff line Loading @@ -9,7 +9,7 @@ */ */ class dialog_copper_zone : public dialog_copper_zone_base class dialog_copper_zone : public dialog_copper_zone_base { { public: private: WinEDA_PcbFrame* m_Parent; WinEDA_PcbFrame* m_Parent; wxConfig* m_Config; // Current config wxConfig* m_Config; // Current config int m_OnExitCode; /* exit code: ZONE_ABORT if no change, int m_OnExitCode; /* exit code: ZONE_ABORT if no change, Loading @@ -23,7 +23,8 @@ public: public: public: dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* zone_setting ); dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* zone_setting ); void OnInitDialog( wxInitDialogEvent& event ); private: void initDialog( ); void OnButtonOkClick( wxCommandEvent& event ); void OnButtonOkClick( wxCommandEvent& event ); void OnButtonCancelClick( wxCommandEvent& event ); void OnButtonCancelClick( wxCommandEvent& event ); bool AcceptOptions( bool aPromptForErrors, bool aUseExportableSetupOnly = false ); bool AcceptOptions( bool aPromptForErrors, bool aUseExportableSetupOnly = false ); Loading pcbnew/dialog_copper_zones_base.cpp +0 −1 Original line number Original line Diff line number Diff line Loading @@ -10,7 +10,6 @@ /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// BEGIN_EVENT_TABLE( dialog_copper_zone_base, wxDialog ) BEGIN_EVENT_TABLE( dialog_copper_zone_base, wxDialog ) EVT_INIT_DIALOG( dialog_copper_zone_base::_wxFB_OnInitDialog ) EVT_RADIOBOX( wxID_PADS_IN_ZONE_OPTIONS, dialog_copper_zone_base::_wxFB_OnPadsInZoneClick ) EVT_RADIOBOX( wxID_PADS_IN_ZONE_OPTIONS, dialog_copper_zone_base::_wxFB_OnPadsInZoneClick ) EVT_BUTTON( wxID_BUTTON_EXPORT, dialog_copper_zone_base::_wxFB_ExportSetupToOtherCopperZones ) EVT_BUTTON( wxID_BUTTON_EXPORT, dialog_copper_zone_base::_wxFB_ExportSetupToOtherCopperZones ) EVT_BUTTON( wxID_OK, dialog_copper_zone_base::_wxFB_OnButtonOkClick ) EVT_BUTTON( wxID_OK, dialog_copper_zone_base::_wxFB_OnButtonOkClick ) Loading Loading
gerbview/gerberframe.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -111,6 +111,8 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame ) WinEDA_GerberFrame::OnSelectOptionToolbar ) WinEDA_GerberFrame::OnSelectOptionToolbar ) EVT_TOOL( ID_TB_OPTIONS_SHOW_LAYERS_MANAGER_VERTICAL_TOOLBAR, EVT_TOOL( ID_TB_OPTIONS_SHOW_LAYERS_MANAGER_VERTICAL_TOOLBAR, WinEDA_GerberFrame::OnSelectOptionToolbar ) WinEDA_GerberFrame::OnSelectOptionToolbar ) EVT_TOOL( ID_TB_OPTIONS_SHOW_DCODES, WinEDA_GerberFrame::OnSelectOptionToolbar ) END_EVENT_TABLE() END_EVENT_TABLE() Loading
gerbview/options.cpp +0 −1 Original line number Original line Diff line number Diff line Loading @@ -26,7 +26,6 @@ void WinEDA_GerberFrame::OnSelectOptionToolbar( wxCommandEvent& event ) { { int id = event.GetId(); int id = event.GetId(); bool state; bool state; switch( id ) switch( id ) { { case ID_MENU_GERBVIEW_SHOW_HIDE_LAYERS_MANAGER_DIALOG: case ID_MENU_GERBVIEW_SHOW_HIDE_LAYERS_MANAGER_DIALOG: Loading
pcbnew/dialog_copper_zones.cpp +4 −9 Original line number Original line Diff line number Diff line Loading @@ -6,10 +6,6 @@ /// Licence: GNU License /// Licence: GNU License ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "zones.h" #endif #include "fctsys.h" #include "fctsys.h" #include "appl_wxstruct.h" #include "appl_wxstruct.h" #include "common.h" #include "common.h" Loading Loading @@ -42,16 +38,15 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* z SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click SetReturnCode( ZONE_ABORT ); // Will be changed on buttons click if( GetSizer() ) initDialog(); { GetSizer()->SetSizeHints( this ); GetSizer()->SetSizeHints( this ); } Center(); Center(); } } /*****************************************************************/ /*****************************************************************/ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) void dialog_copper_zone::initDialog( ) /*****************************************************************/ /*****************************************************************/ // Initialise all dialog options and values in wxTextCtrl // Initialise all dialog options and values in wxTextCtrl Loading
pcbnew/dialog_copper_zones.h +3 −2 Original line number Original line Diff line number Diff line Loading @@ -9,7 +9,7 @@ */ */ class dialog_copper_zone : public dialog_copper_zone_base class dialog_copper_zone : public dialog_copper_zone_base { { public: private: WinEDA_PcbFrame* m_Parent; WinEDA_PcbFrame* m_Parent; wxConfig* m_Config; // Current config wxConfig* m_Config; // Current config int m_OnExitCode; /* exit code: ZONE_ABORT if no change, int m_OnExitCode; /* exit code: ZONE_ABORT if no change, Loading @@ -23,7 +23,8 @@ public: public: public: dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* zone_setting ); dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_SETTING* zone_setting ); void OnInitDialog( wxInitDialogEvent& event ); private: void initDialog( ); void OnButtonOkClick( wxCommandEvent& event ); void OnButtonOkClick( wxCommandEvent& event ); void OnButtonCancelClick( wxCommandEvent& event ); void OnButtonCancelClick( wxCommandEvent& event ); bool AcceptOptions( bool aPromptForErrors, bool aUseExportableSetupOnly = false ); bool AcceptOptions( bool aPromptForErrors, bool aUseExportableSetupOnly = false ); Loading
pcbnew/dialog_copper_zones_base.cpp +0 −1 Original line number Original line Diff line number Diff line Loading @@ -10,7 +10,6 @@ /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// BEGIN_EVENT_TABLE( dialog_copper_zone_base, wxDialog ) BEGIN_EVENT_TABLE( dialog_copper_zone_base, wxDialog ) EVT_INIT_DIALOG( dialog_copper_zone_base::_wxFB_OnInitDialog ) EVT_RADIOBOX( wxID_PADS_IN_ZONE_OPTIONS, dialog_copper_zone_base::_wxFB_OnPadsInZoneClick ) EVT_RADIOBOX( wxID_PADS_IN_ZONE_OPTIONS, dialog_copper_zone_base::_wxFB_OnPadsInZoneClick ) EVT_BUTTON( wxID_BUTTON_EXPORT, dialog_copper_zone_base::_wxFB_ExportSetupToOtherCopperZones ) EVT_BUTTON( wxID_BUTTON_EXPORT, dialog_copper_zone_base::_wxFB_ExportSetupToOtherCopperZones ) EVT_BUTTON( wxID_OK, dialog_copper_zone_base::_wxFB_OnButtonOkClick ) EVT_BUTTON( wxID_OK, dialog_copper_zone_base::_wxFB_OnButtonOkClick ) Loading