Loading pcbnew/class_drawsegment.h +5 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,11 @@ public: /// skip the linked list stuff, and parent const DRAWSEGMENT& operator = ( const DRAWSEGMENT& rhs ); static inline bool ClassOf( const EDA_ITEM *aItem ) { return aItem && PCB_LINE_T == aItem->Type(); } void SetWidth( int aWidth ) { m_Width = aWidth; } int GetWidth() const { return m_Width; } Loading pcbnew/class_pad.h +5 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,11 @@ public: ///< used for edge board connectors static LSET UnplatedHoleMask(); ///< layer set for a mechanical unplated through hole pad static inline bool ClassOf( const EDA_ITEM *aItem ) { return aItem && PCB_PAD_T == aItem->Type(); } void Copy( D_PAD* source ); D_PAD* Next() const { return static_cast<D_PAD*>( Pnext ); } Loading pcbnew/class_pcb_text.h +5 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,11 @@ public: ~TEXTE_PCB(); static inline bool ClassOf( const EDA_ITEM *aItem ) { return aItem && PCB_TEXT_T == aItem->Type(); } virtual const wxPoint& GetPosition() const { return m_Pos; Loading Loading
pcbnew/class_drawsegment.h +5 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,11 @@ public: /// skip the linked list stuff, and parent const DRAWSEGMENT& operator = ( const DRAWSEGMENT& rhs ); static inline bool ClassOf( const EDA_ITEM *aItem ) { return aItem && PCB_LINE_T == aItem->Type(); } void SetWidth( int aWidth ) { m_Width = aWidth; } int GetWidth() const { return m_Width; } Loading
pcbnew/class_pad.h +5 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,11 @@ public: ///< used for edge board connectors static LSET UnplatedHoleMask(); ///< layer set for a mechanical unplated through hole pad static inline bool ClassOf( const EDA_ITEM *aItem ) { return aItem && PCB_PAD_T == aItem->Type(); } void Copy( D_PAD* source ); D_PAD* Next() const { return static_cast<D_PAD*>( Pnext ); } Loading
pcbnew/class_pcb_text.h +5 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,11 @@ public: ~TEXTE_PCB(); static inline bool ClassOf( const EDA_ITEM *aItem ) { return aItem && PCB_TEXT_T == aItem->Type(); } virtual const wxPoint& GetPosition() const { return m_Pos; Loading