Commit 96e0bebd authored by charras's avatar charras
Browse files

code cleaning

parent db6630b8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -218,9 +218,8 @@ public:
                                            MODULE* module,
                                            int     angle,
                                            bool    incremental );
    void                     Place_Module( MODULE* module, wxDC* DC );
    void                     InstallExchangeModuleFrame( MODULE* ExchangeModuleModule,
                                                         wxDC* DC, const wxPoint& pos );
    void                     Place_Module( MODULE* module, wxDC* DC, bool aDoNotRecreateRatsnest = false );
    void                     InstallExchangeModuleFrame( MODULE* ExchangeModuleModule );

    // Graphic items edition:
    void                     InstallGraphicItemPropertiesDialog( DRAWSEGMENT* aItem, wxDC* aDC );
+122 B (182 KiB)

File changed.

No diff preview for this file type.

+785 −786

File changed.

Preview size limit exceeded, changes collapsed.

+2 −1
Original line number Diff line number Diff line
@@ -38,7 +38,8 @@ set(PCBNEW_SRCS
    dialog_drc.cpp
    dialog_edit_module_text.cpp
	dialog_edit_module_text_base.cpp
#   dialog_edit_module.cpp
    dialog_edit_module.cpp
    dialog_exchange_modules_base.cpp
    dialog_freeroute_exchange.cpp
#   dialog_gendrill.cpp
    dialog_general_options.cpp
+10 −7
Original line number Diff line number Diff line
@@ -68,9 +68,8 @@ class NETINFO_LIST
{
private:
    BOARD* m_Parent;

//    boost::ptr_vector<NETINFO_ITEM*>  m_NetBuffer;           // nets buffer list (name, design constraints ..
    std::vector<NETINFO_ITEM*> m_NetBuffer;                     // nets buffer list (name, design constraints ..

public:
    std::vector<D_PAD*>        m_PadsFullList;                  // Entry for a sorted pad list (used in ratsnest calculations)

@@ -115,6 +114,7 @@ public:
        return m_PadsFullList.size();
    }


    /** Function GetPad
     * @return the pad idx from m_PadsFullList
     */
@@ -126,6 +126,7 @@ public:
            return NULL;
    }


private:

    /** Function Build_Pads_Full_List
@@ -156,10 +157,12 @@ public:
    int      m_NbNodes;                             // Pads count for this net
    int      m_NbLink;                              // Ratsnets count for this net
    int      m_NbNoconn;                            // Ratsnets remaining to route count
    int      m_ForceWidth;                          // specific width (O = default width)
    int      m_ForceWidth;                          // specific width (0 = default width)
    std::vector <D_PAD*>         m_ListPad;         // List of pads connected to this net
    unsigned m_RatsnestStart;                       // debut de liste ratsnests du net (included)
    unsigned m_RatsnestEnd;                         // fin de liste ratsnests du net (excluded)
    unsigned m_RatsnestStartIdx;                    /* Starting point of ratsnests of this net (included)
                                                     * in a general buffer of ratsnest (a vector<RATSNEST_ITEM*> buffer)
                                                     */
    unsigned m_RatsnestEndIdx;                      // Ending point of ratsnests of this net (excluded) in this buffer

    NETINFO_ITEM( BOARD_ITEM* aParent );
    ~NETINFO_ITEM();
Loading