Commit 9ba9be70 authored by CHARRAS's avatar CHARRAS
Browse files

void Change_Side_Module( MODULE* Module, wxDC* DC ) is now member of class...

void Change_Side_Module( MODULE* Module, wxDC* DC ) is now member of class BOARD (as asked in todo list)
parent f50ec6e0
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,14 @@ Started 2007-June-11
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.




2008-Jan-25 UPDATE  Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:
	void Change_Side_Module( MODULE* Module, wxDC* DC ) is now member of class BOARD.
	

2008-Jan-24 UPDATE   Dick Hollenbeck <dick@softplc.com>
2008-Jan-24 UPDATE   Dick Hollenbeck <dick@softplc.com>
================================================================================
================================================================================
+pcbnew:
+pcbnew:
+0 −1
Original line number Original line Diff line number Diff line
@@ -187,7 +187,6 @@ public:
                                               MODULE* module,
                                               MODULE* module,
                                               int     angle,
                                               int     angle,
                                               bool    incremental );
                                               bool    incremental );
    void                        Change_Side_Module( MODULE* Module, wxDC* DC );
    void                        Place_Module( MODULE* module, wxDC* DC );
    void                        Place_Module( MODULE* module, wxDC* DC );
    void                        InstallExchangeModuleFrame( MODULE* ExchangeModuleModule,
    void                        InstallExchangeModuleFrame( MODULE* ExchangeModuleModule,
                                                            wxDC* DC, const wxPoint& pos );
                                                            wxDC* DC, const wxPoint& pos );
+1 −1
Original line number Original line Diff line number Diff line
@@ -801,7 +801,7 @@ void WinEDA_BasePcbFrame::Block_Invert( wxDC* DC )
            Place_Module( module, NULL );
            Place_Module( module, NULL );


            /* inversion du module  */
            /* inversion du module  */
            Change_Side_Module( module, DC );
            m_Pcb->Change_Side_Module( module, DC );


            /* regeneration des valeurs originelles */
            /* regeneration des valeurs originelles */
            GetScreen()->m_Curseur = memo;
            GetScreen()->m_Curseur = memo;
+5 −0
Original line number Original line Diff line number Diff line
@@ -246,6 +246,11 @@ public:
    
    
#endif
#endif


	/**************************/
	/* footprint operations : */
	/**************************/
	void Change_Side_Module( MODULE* Module, wxDC* DC );

	/*************************/
	/*************************/
	/* Copper Areas handling */
	/* Copper Areas handling */
	/*************************/
	/*************************/
+1 −1
Original line number Original line Diff line number Diff line
@@ -525,7 +525,7 @@ void WinEDA_ModulePropertiesFrame::OnOkClick( wxCommandEvent& event )


    if( change_layer )
    if( change_layer )
    {
    {
        m_Parent->Change_Side_Module( m_CurrentModule, m_DC );
        m_Parent->m_Pcb->Change_Side_Module( m_CurrentModule, m_DC );
    }
    }


    if( m_AutoPlaceCtrl->GetSelection() == 1 )
    if( m_AutoPlaceCtrl->GetSelection() == 1 )
Loading