Loading common/draw_frame.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -749,6 +749,7 @@ bool EDA_DRAW_FRAME::HandleBlockBegin( wxDC* aDC, int aKey, const wxPoint& aPosi case BLOCK_DRAG: // Drag (block defined) case BLOCK_DRAG_ITEM: // Drag from a drag item command case BLOCK_COPY: // Copy case BLOCK_COPY_AND_INCREMENT: // Copy and increment relevant references case BLOCK_DELETE: // Delete case BLOCK_SAVE: // Save case BLOCK_ROTATE: // Rotate 90 deg Loading eeschema/block_libedit.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -198,7 +198,8 @@ bool LIB_EDIT_FRAME::HandleBlockEnd( wxDC* DC ) case BLOCK_SELECT_ITEMS_ONLY: break; case BLOCK_MOVE_EXACT: case BLOCK_COPY_AND_INCREMENT: // not used in Eeschema case BLOCK_MOVE_EXACT: // not used in Eeschema break; } Loading include/block_commande.h +1 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ typedef enum { BLOCK_IDLE, BLOCK_MOVE, BLOCK_COPY, BLOCK_COPY_AND_INCREMENT, BLOCK_SAVE, BLOCK_DELETE, BLOCK_PASTE, Loading include/class_board_item.h +8 −0 Original line number Diff line number Diff line Loading @@ -314,6 +314,14 @@ public: /// @copydoc VIEW_ITEM::ViewGetLayers() virtual void ViewGetLayers( int aLayers[], int& aCount ) const; /*! * Function IncrementItemReference * Implement if the concept of "incrementing" makes sense for an * item (e.g. modules and pads) * @return if item reference was incremented */ virtual bool IncrementItemReference() { return false; } }; #endif /* BOARD_ITEM_STRUCT_H */ include/wxPcbStruct.h +2 −2 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ protected: * Duplicate selected item if possible and start a move * @param aIncrement increment the item number if appropriate */ void duplicateItem( bool aIncrement ); void duplicateItems( bool aIncrement ); //override // protected so that PCB::IFACE::CreateWindow() is the only factory. PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ); Loading Loading @@ -794,7 +794,7 @@ public: * New location is determined by the current offset from the selected * block's original location. */ void Block_Duplicate(); void Block_Duplicate( bool aIncrement ); void Process_Settings( wxCommandEvent& event ); void OnConfigurePcbOptions( wxCommandEvent& aEvent ); Loading Loading
common/draw_frame.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -749,6 +749,7 @@ bool EDA_DRAW_FRAME::HandleBlockBegin( wxDC* aDC, int aKey, const wxPoint& aPosi case BLOCK_DRAG: // Drag (block defined) case BLOCK_DRAG_ITEM: // Drag from a drag item command case BLOCK_COPY: // Copy case BLOCK_COPY_AND_INCREMENT: // Copy and increment relevant references case BLOCK_DELETE: // Delete case BLOCK_SAVE: // Save case BLOCK_ROTATE: // Rotate 90 deg Loading
eeschema/block_libedit.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -198,7 +198,8 @@ bool LIB_EDIT_FRAME::HandleBlockEnd( wxDC* DC ) case BLOCK_SELECT_ITEMS_ONLY: break; case BLOCK_MOVE_EXACT: case BLOCK_COPY_AND_INCREMENT: // not used in Eeschema case BLOCK_MOVE_EXACT: // not used in Eeschema break; } Loading
include/block_commande.h +1 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ typedef enum { BLOCK_IDLE, BLOCK_MOVE, BLOCK_COPY, BLOCK_COPY_AND_INCREMENT, BLOCK_SAVE, BLOCK_DELETE, BLOCK_PASTE, Loading
include/class_board_item.h +8 −0 Original line number Diff line number Diff line Loading @@ -314,6 +314,14 @@ public: /// @copydoc VIEW_ITEM::ViewGetLayers() virtual void ViewGetLayers( int aLayers[], int& aCount ) const; /*! * Function IncrementItemReference * Implement if the concept of "incrementing" makes sense for an * item (e.g. modules and pads) * @return if item reference was incremented */ virtual bool IncrementItemReference() { return false; } }; #endif /* BOARD_ITEM_STRUCT_H */
include/wxPcbStruct.h +2 −2 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ protected: * Duplicate selected item if possible and start a move * @param aIncrement increment the item number if appropriate */ void duplicateItem( bool aIncrement ); void duplicateItems( bool aIncrement ); //override // protected so that PCB::IFACE::CreateWindow() is the only factory. PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ); Loading Loading @@ -794,7 +794,7 @@ public: * New location is determined by the current offset from the selected * block's original location. */ void Block_Duplicate(); void Block_Duplicate( bool aIncrement ); void Process_Settings( wxCommandEvent& event ); void OnConfigurePcbOptions( wxCommandEvent& aEvent ); Loading