Commit 1b1be195 authored by charras's avatar charras
Browse files

changes in modedit for MacOSX compatibility

parent 8bf79111
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -188,8 +188,7 @@ public:
                                             int DrawMode, int color, int type );

    // Gestion des modules
    void                     InstallModuleOptionsFrame( MODULE* Module,
                                                        wxDC* DC, const wxPoint& pos );
    void                     InstallModuleOptionsFrame( MODULE* Module, wxDC * DC );
    MODULE*                  Copie_Module( MODULE* module );
    MODULE*                  Exchange_Module( wxWindow* winaff,
                                              MODULE*   old_module,
@@ -228,7 +227,7 @@ public:

    // module texts
    void                     RotateTextModule( TEXTE_MODULE* Text, wxDC* DC );
    void                     DeleteTextModule( TEXTE_MODULE* Text, wxDC* DC );
    void                     DeleteTextModule( TEXTE_MODULE* Text );
    void                     PlaceTexteModule( TEXTE_MODULE* Text, wxDC* DC );
    void                     StartMoveTexteModule( TEXTE_MODULE* Text, wxDC* DC );
    TEXTE_MODULE*            CreateTextModule( MODULE* Module, wxDC* DC );
@@ -1000,9 +999,9 @@ private:
public:

    // Footprint edition
    void         Place_Ancre( MODULE* module, wxDC* DC );
    void         RemoveStruct( EDA_BaseStruct* Item, wxDC* DC );
    void         Transform( MODULE* module, wxDC* DC, int transform );
    void         Place_Ancre( MODULE* module );
    void         RemoveStruct( EDA_BaseStruct* Item );
    void         Transform( MODULE* module, int transform );

    // loading Footprint
    MODULE*      Import_Module( wxDC* DC );
@@ -1010,9 +1009,9 @@ public:
    void         Load_Module_Module_From_BOARD( MODULE* Module );

    // functions to edit footprint edges
    void         Edit_Edge_Width( EDGE_MODULE* Edge, wxDC* DC );
    void         Edit_Edge_Layer( EDGE_MODULE* Edge, wxDC* DC );
    void         Delete_Edge_Module( EDGE_MODULE* Edge, wxDC* DC );
    void         Edit_Edge_Width( EDGE_MODULE* Edge );
    void         Edit_Edge_Layer( EDGE_MODULE* Edge );
    void         Delete_Edge_Module( EDGE_MODULE* Edge );
    EDGE_MODULE* Begin_Edge_Module( EDGE_MODULE* Edge, wxDC* DC, int type_edge );
    void         End_Edge_Module( EDGE_MODULE* Edge, wxDC* DC );
    void         Enter_Edge_Width( EDGE_MODULE* Edge, wxDC* DC );
−1 B (180 KiB)

File changed.

No diff preview for this file type.

+4 −4
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-05-21 17:31+0100\n"
"PO-Revision-Date: 2009-05-21 17:37+0100\n"
"PO-Revision-Date: 2009-05-21 18:16+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
@@ -290,11 +290,11 @@ msgstr "Nettoyage segments nulls"

#: pcbnew/clean.cpp:506
msgid "Merging Segments:"
msgstr "Fusionner Segments:"
msgstr "Fusion des Segments:"

#: pcbnew/clean.cpp:508
msgid "Merge"
msgstr "Fusionner"
msgstr "Fusion"

#: pcbnew/clean.cpp:508
msgid "0"
@@ -374,7 +374,7 @@ msgstr "Erreur en Chargement de librairie"
#: pcbnew/loadcmp.cpp:221
#, c-format
msgid "Could not open PCB footprint library file <%s>."
msgstr "Ne peu ouvrir le fichier librairie de modules PCB <%s>."
msgstr "Ne peut ouvrir le fichier librairie de modules PCB <%s>."

#: pcbnew/loadcmp.cpp:228
#, c-format
+3 −4
Original line number Diff line number Diff line
@@ -37,9 +37,8 @@ END_EVENT_TABLE()

/**************************************************************************************/
WinEDA_ModulePropertiesFrame::WinEDA_ModulePropertiesFrame( WinEDA_BasePcbFrame* parent,
                                                            MODULE* Module, wxDC* DC,
                                                            const wxPoint& framepos ) :
    wxDialog( parent, -1, _( "Module properties" ), framepos, wxDefaultSize, DIALOG_STYLE )
                                                            MODULE* Module, wxDC* DC ) :
    wxDialog( parent, -1, _( "Module properties" ), wxDefaultPosition, wxDefaultSize, DIALOG_STYLE )
/**************************************************************************************/
{
    wxString number;
@@ -813,7 +812,7 @@ void WinEDA_ModulePropertiesFrame::EditOrDelTextModule( wxCommandEvent& event )
            Line.Printf( _( "Delete [%s]" ), Text->m_Text.GetData() );
            if( !IsOK( this, Line ) )
                goto out;
            m_Parent->DeleteTextModule( Text, m_DC );
            m_Parent->DeleteTextModule( Text );
            ReCreateFieldListBox();
            m_TextListBox->SetSelection( 0 );
        }
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ private:
public:
    // Constructor and destructor
    WinEDA_ModulePropertiesFrame(WinEDA_BasePcbFrame *parent,
                            MODULE * Module, wxDC * DC, const wxPoint & pos);
                            MODULE * Module, wxDC * DC);
    ~WinEDA_ModulePropertiesFrame()
        {
        }
Loading