Add more "override" markers.

This commit is contained in:
Simon Richter 2016-09-25 19:06:49 +02:00 committed by Wayne Stambaugh
parent ff41c8f7cb
commit ad088db6d2
125 changed files with 578 additions and 578 deletions

View File

@ -670,7 +670,7 @@ static struct IFACE : public KIFACE_I
{
bool OnKifaceStart( PGM_BASE* aProgram, int aCtlBits ) override;
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 )
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 ) override
{
return new BM2CMP_FRAME( aKiway, aParent );
}
@ -686,7 +686,7 @@ static struct IFACE : public KIFACE_I
*
* @return void* - and must be cast into the know type.
*/
void* IfaceOrAddress( int aDataId )
void* IfaceOrAddress( int aDataId ) override
{
return NULL;
}

View File

@ -121,7 +121,7 @@ struct APP_SINGLE_TOP : public wxApp
}
#endif
bool OnInit() // overload wxApp virtual
bool OnInit() override
{
try
{
@ -147,7 +147,7 @@ struct APP_SINGLE_TOP : public wxApp
return false;
}
int OnExit() // overload wxApp virtual
int OnExit() override
{
// Fixes segfault when wxPython scripting is enabled.
#if defined( KICAD_SCRIPTING_WXPYTHON )
@ -156,7 +156,7 @@ struct APP_SINGLE_TOP : public wxApp
return wxApp::OnExit();
}
int OnRun() // overload wxApp virtual
int OnRun() override
{
int ret = -1;

View File

@ -97,7 +97,7 @@ public:
MODULE* Get_Module( const wxString& CmpName );
///> @copydoc EDA_DRAW_FRAME::GetHotKeyDescription()
EDA_HOTKEY* GetHotKeyDescription( int aCommand ) const { return NULL; }
EDA_HOTKEY* GetHotKeyDescription( int aCommand ) const override { return NULL; }
void Process_Settings( wxCommandEvent& event );
@ -112,7 +112,7 @@ public:
*/
virtual void SaveCopyInUndoList( BOARD_ITEM* aItemToCopy,
UNDO_REDO_T aTypeCommand = UR_UNSPECIFIED,
const wxPoint& aTransformPoint = wxPoint( 0, 0 ) )
const wxPoint& aTransformPoint = wxPoint( 0, 0 ) ) override
{
}
@ -128,7 +128,7 @@ public:
*/
virtual void SaveCopyInUndoList( const PICKED_ITEMS_LIST& aItemsList,
UNDO_REDO_T aTypeCommand,
const wxPoint& aTransformPoint = wxPoint( 0, 0 ) )
const wxPoint& aTransformPoint = wxPoint( 0, 0 ) ) override
{
// currently: do nothing in CvPcb.
}

View File

@ -69,7 +69,7 @@ static struct IFACE : public KIFACE_I
void OnKifaceEnd() override;
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 )
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 ) override
{
switch( aClassId )
{
@ -98,7 +98,7 @@ static struct IFACE : public KIFACE_I
*
* @return void* - and must be cast into the know type.
*/
void* IfaceOrAddress( int aDataId )
void* IfaceOrAddress( int aDataId ) override
{
return NULL;
}

View File

@ -86,9 +86,9 @@ protected:
public:
~CVPCB_MAINFRAME();
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl=0 ); // overload KIWAY_PLAYER
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl=0 ) override;
void KiwayMailIn( KIWAY_EXPRESS& aEvent ); // override virtual from KIWAY_PLAYER
void KiwayMailIn( KIWAY_EXPRESS& aEvent ) override;
/**
* @return a pointer on the Footprint Viewer frame, if exists, or NULL
@ -212,9 +212,9 @@ public:
*/
void SaveProjectFile();
void LoadSettings( wxConfigBase* aCfg ); // override virtual
void LoadSettings( wxConfigBase* aCfg ) override;
void SaveSettings( wxConfigBase* aCfg ); // override virtual
void SaveSettings( wxConfigBase* aCfg ) override;
/**
* Function DisplayStatus

View File

@ -71,8 +71,8 @@ class DIALOG_FP_CONFLICT_ASSIGNMENT_SELECTOR : public DIALOG_FP_CONFLICT_ASSIGNM
void OnItemClicked( wxMouseEvent& event ) override;
void OnCancelClick( wxCommandEvent& event ) { EndModal( wxID_CANCEL ); }
void OnOKClick( wxCommandEvent& event ) { EndModal( wxID_OK ); }
void OnCancelClick( wxCommandEvent& event ) override { EndModal( wxID_CANCEL ); }
void OnOKClick( wxCommandEvent& event ) override { EndModal( wxID_OK ); }
void recalculateColumns();

View File

@ -95,7 +95,7 @@ public:
virtual ~LIB_ALIAS();
virtual wxString GetClass() const
virtual wxString GetClass() const override
{
return wxT( "LIB_ALIAS" );
}
@ -164,7 +164,7 @@ public:
bool operator==( const LIB_ALIAS* aAlias ) const { return this == aAlias; }
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
};
@ -228,7 +228,7 @@ public:
return m_me;
}
virtual wxString GetClass() const
virtual wxString GetClass() const override
{
return wxT( "LIB_PART" );
}
@ -755,7 +755,7 @@ public:
bool operator==( const LIB_PART* aPart ) const { return this == aPart; }
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
};

View File

@ -106,7 +106,7 @@ public:
~SCH_SCREEN();
virtual wxString GetClass() const
virtual wxString GetClass() const override
{
return wxT( "SCH_SCREEN" );
}
@ -521,7 +521,7 @@ public:
int UpdatePickList();
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // overload
void Show( int nestLevel, std::ostream& os ) const override;
#endif
};

View File

@ -130,7 +130,7 @@ private:
void showButtonHandler( wxCommandEvent& event ) override;
void OnTestChipName( wxCommandEvent& event ) override;
void OnSelectChipName( wxCommandEvent& event ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
TransferDataToWindow();

View File

@ -51,7 +51,7 @@ class DIALOG_LABEL_EDITOR : public DIALOG_LABEL_EDITOR_BASE
public:
DIALOG_LABEL_EDITOR( SCH_EDIT_FRAME* parent, SCH_TEXT* aTextItem );
void SetTitle( const wxString& aTitle ) // OVERRIDE wxTopLevelWindow::SetTitle
void SetTitle( const wxString& aTitle ) override
{
// This class is shared for numerous tasks: a couple of
// single line labels and multi-line text fields.

View File

@ -79,7 +79,7 @@ protected:
/// @todo Update DIALOG_SHIM to handle this transparently so no matter what mode the
/// dialogs is shown, everything is handled without this ugliness.
void OnOkClick( wxCommandEvent& aEvent )
void OnOkClick( wxCommandEvent& aEvent ) override
{
if( IsQuasiModal() )
EndQuasiModal( wxID_OK );
@ -87,7 +87,7 @@ protected:
EndDialog( wxID_OK );
}
void OnCancelClick( wxCommandEvent& event )
void OnCancelClick( wxCommandEvent& event ) override
{
if( IsQuasiModal() )
EndQuasiModal( wxID_CANCEL );
@ -95,7 +95,7 @@ protected:
EndDialog( wxID_CANCEL );
}
void OnCloseDialog( wxCloseEvent& aEvent )
void OnCloseDialog( wxCloseEvent& aEvent ) override
{
if( IsQuasiModal() )
EndQuasiModal( wxID_CANCEL );

View File

@ -60,7 +60,7 @@ public:
virtual int Compare( const wxDataViewItem& lhs,
const wxDataViewItem& rhs,
unsigned int col,
bool ascending ) const;
bool ascending ) const override;
void SetGroupingColumn( int aCol );
void CalculateGrouping();
@ -120,9 +120,9 @@ public:
virtual void GetValue( wxVariant& aValue, unsigned int aCol ) const override;
virtual wxString GetString( unsigned int aCol ) const override;
virtual wxDataViewItem GetParent() const { return wxDataViewItem(); }
virtual bool IsContainer() const { return true; }
virtual unsigned int GetChildren( wxDataViewItemArray& aItems ) const
virtual wxDataViewItem GetParent() const override { return wxDataViewItem(); }
virtual bool IsContainer() const override { return true; }
virtual unsigned int GetChildren( wxDataViewItemArray& aItems ) const override
{
/// @todo C++11
for( std::list<Pin*>::const_iterator i = m_Members.begin(); i != m_Members.end(); ++i )
@ -148,9 +148,9 @@ public:
virtual void GetValue( wxVariant& aValue, unsigned int aCol ) const override;
virtual wxString GetString( unsigned int aCol ) const override;
virtual wxDataViewItem GetParent() const { return wxDataViewItem( m_Group ); }
virtual bool IsContainer() const { return false; }
virtual unsigned int GetChildren( wxDataViewItemArray& ) const { return 0; }
virtual wxDataViewItem GetParent() const override { return wxDataViewItem( m_Group ); }
virtual bool IsContainer() const override { return false; }
virtual unsigned int GetChildren( wxDataViewItemArray& ) const override { return 0; }
void SetGroup( Group* aGroup ) { m_Group = aGroup; }

View File

@ -39,8 +39,8 @@ public:
/** Constructor */
DIALOG_LIB_NEW_COMPONENT( wxWindow* parent );
void SetName( const wxString& name ) { m_textName->SetValue( name ); }
wxString GetName( void ) const { return m_textName->GetValue(); }
void SetName( const wxString& name ) override { m_textName->SetValue( name ); }
wxString GetName( void ) const override { return m_textName->GetValue(); }
void SetReference( const wxString& reference )
{

View File

@ -62,7 +62,7 @@ private:
void OnPageSetup( wxCommandEvent& event ) override;
void OnPrintPreview( wxCommandEvent& event ) override;
void OnPrintButtonClick( wxCommandEvent& event ) override;
void OnButtonCancelClick( wxCommandEvent& event ) { Close(); }
void OnButtonCancelClick( wxCommandEvent& event ) override { Close(); }
void initDialog();
void GetPrintOptions();
@ -107,7 +107,7 @@ public:
{
}
bool Show( bool show ) // overload
bool Show( bool show ) override
{
bool ret;

View File

@ -69,7 +69,7 @@ static struct IFACE : public KIFACE_I
void OnKifaceEnd() override;
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 )
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 ) override
{
switch( aClassId )
{
@ -126,7 +126,7 @@ static struct IFACE : public KIFACE_I
*
* @return void* - and must be cast into the know type.
*/
void* IfaceOrAddress( int aDataId )
void* IfaceOrAddress( int aDataId ) override
{
return NULL;
}

View File

@ -62,7 +62,7 @@ class LIB_ARC : public LIB_ITEM
*/
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
/**
* Draw the graphics when the arc is being edited.
@ -90,7 +90,7 @@ public:
~LIB_ARC() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_ARC" );
}
@ -104,7 +104,7 @@ public:
bool HitTest( const wxPoint& aPosition, int aThreshold, const TRANSFORM& aTransform ) const override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
@ -122,7 +122,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -131,11 +131,11 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Width; }
int GetWidth() const override { return m_Width; }
void SetWidth( int aWidth ) { m_Width = aWidth; }
void SetWidth( int aWidth ) override { m_Width = aWidth; }
void SetRadius( int aRadius ) { m_Radius = aRadius; }
@ -155,7 +155,7 @@ public:
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_arc_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_arc_xpm; }
EDA_ITEM* Clone() const override;

View File

@ -44,7 +44,7 @@ class LIB_BEZIER : public LIB_ITEM
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
public:
LIB_BEZIER( LIB_PART * aParent );
@ -53,7 +53,7 @@ public:
~LIB_BEZIER() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_BEZIER" );
}
@ -76,13 +76,13 @@ public:
bool HitTest( const wxPoint& aPosRef, int aThreshold, const TRANSFORM& aTransform ) const override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
bool Inside( EDA_RECT& aRect ) const override;
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_PolyPoints[0]; }
wxPoint GetPosition() const override { return m_PolyPoints[0]; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -91,11 +91,11 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Width; }
int GetWidth() const override { return m_Width; }
void SetWidth( int aWidth ) { m_Width = aWidth; }
void SetWidth( int aWidth ) override { m_Width = aWidth; }
int GetPenSize( ) const override;

View File

@ -40,7 +40,7 @@ class LIB_CIRCLE : public LIB_ITEM
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
void calcEdit( const wxPoint& aPosition ) override;
@ -51,7 +51,7 @@ public:
~LIB_CIRCLE() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_CIRCLE" );
}
@ -67,7 +67,7 @@ public:
int GetPenSize( ) const override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
@ -83,7 +83,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -92,11 +92,11 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Width; }
int GetWidth() const override { return m_Width; }
void SetWidth( int aWidth ) { m_Width = aWidth; }
void SetWidth( int aWidth ) override { m_Width = aWidth; }
void SetRadius( int aRadius ) { m_Radius = aRadius; }
@ -104,7 +104,7 @@ public:
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_circle_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_circle_xpm; }
EDA_ITEM* Clone() const override;

View File

@ -243,7 +243,7 @@ public:
return (LIB_PART *)m_Parent;
}
virtual bool HitTest( const wxPoint& aPosition ) const
virtual bool HitTest( const wxPoint& aPosition ) const override
{
return EDA_ITEM::HitTest( aPosition );
}
@ -261,7 +261,7 @@ public:
/**
* @return the boundary box for this, in library coordinates
*/
virtual const EDA_RECT GetBoundingBox() const { return EDA_ITEM::GetBoundingBox(); }
virtual const EDA_RECT GetBoundingBox() const override { return EDA_ITEM::GetBoundingBox(); }
/**
* Function GetMsgPanelInfo
@ -420,7 +420,7 @@ public:
FILL_T GetFillMode() const { return m_Fill; }
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
private:

View File

@ -75,7 +75,7 @@ class LIB_FIELD : public LIB_ITEM, public EDA_TEXT
*/
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
/**
* Calculate the new circle at \a aPosition when editing.
@ -96,7 +96,7 @@ public:
~LIB_FIELD();
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_FIELD" );
}
@ -170,7 +170,7 @@ public:
return (m_Attributs & TEXT_NO_VISIBLE) == 0 ? true : false;
}
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
@ -239,7 +239,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -248,15 +248,15 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Thickness; }
int GetWidth() const override { return m_Thickness; }
void SetWidth( int aWidth ) { m_Thickness = aWidth; }
void SetWidth( int aWidth ) override { m_Thickness = aWidth; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return move_field_xpm; }
BITMAP_DEF GetMenuImage() const override { return move_field_xpm; }
EDA_ITEM* Clone() const override;

View File

@ -90,7 +90,7 @@ class LIB_PIN : public LIB_ITEM
*/
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
public:
LIB_PIN( LIB_PART* aParent );
@ -99,13 +99,13 @@ public:
~LIB_PIN() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_PIN" );
}
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // virtual override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
bool Save( OUTPUTFORMATTER& aFormatter ) override;
@ -121,7 +121,7 @@ public:
bool Matches( wxFindReplaceData& aSearchData, void* aAuxData, wxPoint* aFindLocation ) override;
/* Cannot use a default parameter here as it will not be compatible with the virtual. */
const EDA_RECT GetBoundingBox() const { return GetBoundingBox( false ); }
const EDA_RECT GetBoundingBox() const override { return GetBoundingBox( false ); }
/**
* Function GetBoundingBox
@ -446,7 +446,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_position; }
wxPoint GetPosition() const override { return m_position; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -455,9 +455,9 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_width; }
int GetWidth() const override { return m_width; }
void SetWidth( int aWidth ) override;

View File

@ -41,7 +41,7 @@ class LIB_POLYLINE : public LIB_ITEM
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
void calcEdit( const wxPoint& aPosition ) override;
@ -52,7 +52,7 @@ public:
~LIB_POLYLINE() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_POLYLINE" );
}
@ -78,7 +78,7 @@ public:
bool HitTest( const wxPoint &aPosition, int aThreshold, const TRANSFORM& aTransform ) const override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
int GetPenSize( ) const override;
@ -96,7 +96,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_PolyPoints[0]; }
wxPoint GetPosition() const override { return m_PolyPoints[0]; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -105,15 +105,15 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Width; }
int GetWidth() const override { return m_Width; }
void SetWidth( int aWidth ) { m_Width = aWidth; }
void SetWidth( int aWidth ) override { m_Width = aWidth; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_polygon_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_polygon_xpm; }
EDA_ITEM* Clone() const override;

View File

@ -43,7 +43,7 @@ class LIB_RECTANGLE : public LIB_ITEM
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
void calcEdit( const wxPoint& aPosition ) override;
@ -54,7 +54,7 @@ public:
~LIB_RECTANGLE() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_RECTANGLE" );
}
@ -71,7 +71,7 @@ public:
int GetPenSize( ) const override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
@ -87,7 +87,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -96,11 +96,11 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Width; }
int GetWidth() const override { return m_Width; }
void SetWidth( int aWidth ) { m_Width = aWidth; }
void SetWidth( int aWidth ) override { m_Width = aWidth; }
void SetEnd( const wxPoint& aEnd ) { m_End = aEnd; }
@ -108,7 +108,7 @@ public:
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_rectangle_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_rectangle_xpm; }
EDA_ITEM* Clone() const override;

View File

@ -50,7 +50,7 @@ class LIB_TEXT : public LIB_ITEM, public EDA_TEXT
void drawGraphic( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
EDA_COLOR_T aColor, GR_DRAWMODE aDrawMode, void* aData,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
void calcEdit( const wxPoint& aPosition ) override;
@ -61,7 +61,7 @@ public:
~LIB_TEXT() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "LIB_TEXT" );
}
@ -96,7 +96,7 @@ public:
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
const EDA_RECT GetBoundingBox() const; // virtual
const EDA_RECT GetBoundingBox() const override;
void Rotate() override;
@ -112,7 +112,7 @@ public:
void Move( const wxPoint& aPosition ) override;
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void MirrorHorizontal( const wxPoint& aCenter ) override;
@ -121,15 +121,15 @@ public:
void Rotate( const wxPoint& aCenter, bool aRotateCCW = true ) override;
void Plot( PLOTTER* aPlotter, const wxPoint& aOffset, bool aFill,
const TRANSFORM& aTransform );
const TRANSFORM& aTransform ) override;
int GetWidth() const { return m_Thickness; }
int GetWidth() const override { return m_Thickness; }
void SetWidth( int aWidth ) { m_Thickness = aWidth; }
void SetWidth( int aWidth ) override { m_Thickness = aWidth; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_text_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_text_xpm; }
EDA_ITEM* Clone() const override;

View File

@ -321,7 +321,7 @@ public:
void CreateOptionToolbar();
void OnLeftClick( wxDC* DC, const wxPoint& MousePos ) override;
bool OnRightClick( const wxPoint& MousePos, wxMenu* PopMenu ) override;
double BestZoom(); // Returns the best zoom
double BestZoom() override; // Returns the best zoom
void OnLeftDClick( wxDC* DC, const wxPoint& MousePos ) override;
///> @copydoc EDA_DRAW_FRAME::GetHotKeyDescription()
@ -668,7 +668,7 @@ public:
* @param aData = a pointer on an auxiliary data (not always used, NULL if not used)
*/
virtual void PrintPage( wxDC* aDC, LSET aPrintMask,
bool aPrintMirrorMode, void* aData = NULL );
bool aPrintMirrorMode, void* aData = NULL ) override;
/**
* Function SVG_PlotComponent

View File

@ -47,7 +47,7 @@ public:
* Function WriteNetlist
* writes to specified output file
*/
bool WriteNetlist( const wxString& aOutFileName, unsigned aNetlistOptions ); // OVERRIDE
bool WriteNetlist( const wxString& aOutFileName, unsigned aNetlistOptions ) override;
/**
* Function Format

View File

@ -285,17 +285,17 @@ public:
RESCUE_CASE_CANDIDATE() { m_lib_candidate = NULL; }
virtual wxString GetRequestedName() const { return m_requested_name; }
virtual wxString GetNewName() const { return m_new_name; }
virtual LIB_PART* GetLibCandidate() const { return m_lib_candidate; }
virtual wxString GetActionDescription() const
virtual wxString GetRequestedName() const override { return m_requested_name; }
virtual wxString GetNewName() const override { return m_new_name; }
virtual LIB_PART* GetLibCandidate() const override { return m_lib_candidate; }
virtual wxString GetActionDescription() const override
{
wxString action;
action.Printf( _( "Rename to %s" ), m_new_name );
return action;
}
virtual bool PerformAction( RESCUER* aRescuer )
virtual bool PerformAction( RESCUER* aRescuer ) override
{
for( SCH_COMPONENT* each_component : *aRescuer->GetComponents() )
{
@ -378,11 +378,11 @@ public:
RESCUE_CACHE_CANDIDATE()
: m_cache_candidate( NULL ), m_lib_candidate( NULL ) {}
virtual wxString GetRequestedName() const { return m_requested_name; }
virtual wxString GetNewName() const { return m_new_name; }
virtual LIB_PART* GetCacheCandidate() const { return m_cache_candidate; }
virtual LIB_PART* GetLibCandidate() const { return m_lib_candidate; }
virtual wxString GetActionDescription() const
virtual wxString GetRequestedName() const override { return m_requested_name; }
virtual wxString GetNewName() const override { return m_new_name; }
virtual LIB_PART* GetCacheCandidate() const override { return m_cache_candidate; }
virtual LIB_PART* GetLibCandidate() const override { return m_lib_candidate; }
virtual wxString GetActionDescription() const override
{
wxString action;
action.Printf( _( "Rescue %s as %s" ), m_requested_name, m_new_name );
@ -408,7 +408,7 @@ public:
m_rescue_lib = std::move( rescue_lib );
}
virtual bool PerformAction( RESCUER* aRescuer )
virtual bool PerformAction( RESCUER* aRescuer ) override
{
LIB_PART new_part( *m_cache_candidate, m_rescue_lib.get() );
new_part.SetName( m_new_name );

View File

@ -61,7 +61,7 @@ public:
const wxPoint& aPosition, const wxSize& aSize,
long aStyle, const wxString & aFrameName );
SCH_SCREEN* GetScreen() const; // overload EDA_DRAW_FRAME
SCH_SCREEN* GetScreen() const override;
/**
* @return the increment value of the position of an item
@ -98,29 +98,29 @@ public:
*/
const wxString GetZoomLevelIndicator() const override;
void SetPageSettings( const PAGE_INFO& aPageSettings ); // overload EDA_DRAW_FRAME
const PAGE_INFO& GetPageSettings () const; // overload EDA_DRAW_FRAME
const wxSize GetPageSizeIU() const; // overload EDA_DRAW_FRAME
void SetPageSettings( const PAGE_INFO& aPageSettings ) override;
const PAGE_INFO& GetPageSettings () const override;
const wxSize GetPageSizeIU() const override;
const wxPoint& GetAuxOrigin() const; // overload EDA_DRAW_FRAME
void SetAuxOrigin( const wxPoint& aPosition ); // overload EDA_DRAW_FRAME
const wxPoint& GetAuxOrigin() const override;
void SetAuxOrigin( const wxPoint& aPosition ) override;
const wxPoint& GetGridOrigin() const // overload EDA_DRAW_FRAME
const wxPoint& GetGridOrigin() const override
{
static wxPoint zero;
return zero;
}
void SetGridOrigin( const wxPoint& aPoint ) {} // overload EDA_DRAW_FRAME
void SetGridOrigin( const wxPoint& aPoint ) override {}
// Virtual from EDA_DRAW_FRAME
// the background color of the draw canvas:
EDA_COLOR_T GetDrawBgColor() const override;
void SetDrawBgColor( EDA_COLOR_T aColor) override;
const TITLE_BLOCK& GetTitleBlock() const; // overload EDA_DRAW_FRAME
void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ); // overload EDA_DRAW_FRAME
const TITLE_BLOCK& GetTitleBlock() const override;
void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ) override;
void UpdateStatusBar(); // overload EDA_DRAW_FRAME
void UpdateStatusBar() override;
/**
* Function SelectComponentFromLib

View File

@ -82,7 +82,7 @@ public:
}
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_BITMAP" );
}
@ -94,12 +94,12 @@ public:
*/
wxSize GetSize() const;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void SwapData( SCH_ITEM* aItem ) override;
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
/**
* Function ReadImageFile
@ -114,7 +114,7 @@ public:
bool Load( LINE_READER& aLine, wxString& aErrorMsg ) override;
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_pos += aMoveVector;
}
@ -128,13 +128,13 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
wxString GetSelectMenuText() const { return wxString( _( "Image" ) ); }
wxString GetSelectMenuText() const override { return wxString( _( "Image" ) ); }
BITMAP_DEF GetMenuImage() const { return image_xpm; }
BITMAP_DEF GetMenuImage() const override { return image_xpm; }
wxPoint GetPosition() const { return m_pos; }
wxPoint GetPosition() const override { return m_pos; }
void SetPosition( const wxPoint& aPosition ) { m_pos = aPosition; }
void SetPosition( const wxPoint& aPosition ) override { m_pos = aPosition; }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
@ -145,7 +145,7 @@ public:
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
};

View File

@ -60,7 +60,7 @@ public:
* and false for items moved with no reference to anchor
* @return false for a bus entry
*/
bool IsMovableFromAnchorPoint() { return false; }
bool IsMovableFromAnchorPoint() override { return false; }
wxPoint m_End() const;
@ -83,13 +83,13 @@ public:
void SwapData( SCH_ITEM* aItem ) override;
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
static bool Load( LINE_READER& aLine, wxString& aErrorMsg, SCH_ITEM **out );
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_pos += aMoveVector;
}
@ -109,15 +109,15 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
void GetConnectionPoints( std::vector< wxPoint >& aPoints ) const override;
BITMAP_DEF GetMenuImage() const { return add_entry_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_entry_xpm; }
wxPoint GetPosition() const { return m_pos; }
wxPoint GetPosition() const override { return m_pos; }
void SetPosition( const wxPoint& aPosition ) { m_pos = aPosition; }
void SetPosition( const wxPoint& aPosition ) override { m_pos = aPosition; }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
@ -126,7 +126,7 @@ public:
void Plot( PLOTTER* aPlotter ) override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
};
@ -142,7 +142,7 @@ public:
~SCH_BUS_WIRE_ENTRY() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_BUS_WIRE_ENTRY" );
}
@ -168,7 +168,7 @@ public:
~SCH_BUS_BUS_ENTRY() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_BUS_BUS_ENTRY" );
}

View File

@ -141,7 +141,7 @@ public:
~SCH_COMPONENT() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_COMPONENT" );
}
@ -156,7 +156,7 @@ public:
* items which can be large (hierarchical sheets, compoments)
* @return false for a componant
*/
bool IsMovableFromAnchorPoint() { return false; }
bool IsMovableFromAnchorPoint() override { return false; }
void SetPartName( const wxString& aName, PART_LIBS* aLibs=NULL );
const wxString& GetPartName() const { return m_part_name; }
@ -265,7 +265,7 @@ public:
*/
void SetTimeStamp( time_t aNewTimeStamp );
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
/**
* Function GetBodyBoundingBox
@ -376,7 +376,7 @@ public:
* Virtual function, from the base class SCH_ITEM::Draw
*/
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR )
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override
{
Draw( aPanel, aDC, aOffset, aDrawMode, aColor, true );
}
@ -448,7 +448,7 @@ public:
// Geometric transforms (used in block operations):
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
if( aMoveVector == wxPoint( 0, 0 ) )
return;
@ -502,7 +502,7 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
/**
* @return true if the component is in netlist
@ -527,10 +527,10 @@ public:
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_component_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_component_xpm; }
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
SCH_SHEET_PATH* aSheetPath );
SCH_SHEET_PATH* aSheetPath ) override;
bool operator <( const SCH_ITEM& aItem ) const override;
@ -539,11 +539,11 @@ public:
SCH_ITEM& operator=( const SCH_ITEM& aItem );
bool IsReplaceable() const { return true; }
bool IsReplaceable() const override { return true; }
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void SetPosition( const wxPoint& aPosition ) { Move( aPosition - m_Pos ); }
void SetPosition( const wxPoint& aPosition ) override { Move( aPosition - m_Pos ); }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
@ -554,7 +554,7 @@ public:
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
private:

View File

@ -67,7 +67,7 @@ public:
~SCH_FIELD();
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_FIELD" );
}
@ -100,7 +100,7 @@ public:
void Place( SCH_EDIT_FRAME* frame, wxDC* DC );
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
/**
* Function IsHorizJustifyFlipped
@ -142,13 +142,13 @@ public:
}
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
bool Save( FILE* aFile ) const override;
// Geometric transforms (used in block operations):
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_Pos += aMoveVector;
}
@ -163,7 +163,7 @@ public:
* when the parent component is mirrored. This function is only needed by the
* pure function of the master class.
*/
void MirrorX( int aXaxis_position )
void MirrorX( int aXaxis_position ) override
{
}
@ -174,7 +174,7 @@ public:
* when the parent component is mirrored. This function is only needed by the
* pure function of the master class.
*/
void MirrorY( int aYaxis_position )
void MirrorY( int aYaxis_position ) override
{
}
@ -186,7 +186,7 @@ public:
BITMAP_DEF GetMenuImage() const override;
bool IsReplaceable() const { return true; }
bool IsReplaceable() const override { return true; }
wxPoint GetLibPosition() const { return m_Pos; }
@ -203,7 +203,7 @@ public:
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
};

View File

@ -128,7 +128,7 @@ public:
~SCH_ITEM();
virtual wxString GetClass() const
virtual wxString GetClass() const override
{
return wxT( "SCH_ITEM" );
}
@ -314,7 +314,7 @@ public:
bool IsConnected( const wxPoint& aPoint ) const;
/** @copydoc EDA_ITEM::HitTest(const wxPoint&) */
virtual bool HitTest( const wxPoint& aPosition ) const
virtual bool HitTest( const wxPoint& aPosition ) const override
{
return HitTest( aPosition, 0 );
}

View File

@ -45,7 +45,7 @@ public:
~SCH_JUNCTION() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_JUNCTION" );
}
@ -55,16 +55,16 @@ public:
void SwapData( SCH_ITEM* aItem ) override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
bool Save( FILE* aFile ) const override;
bool Load( LINE_READER& aLine, wxString& aErrorMsg ) override;
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_pos += aMoveVector;
}
@ -79,30 +79,30 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
void GetConnectionPoints( std::vector< wxPoint >& aPoints ) const override;
wxString GetSelectMenuText() const { return wxString( _( "Junction" ) ); }
wxString GetSelectMenuText() const override { return wxString( _( "Junction" ) ); }
BITMAP_DEF GetMenuImage() const { return add_junction_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_junction_xpm; }
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems, SCH_SHEET_PATH* aSheetPath ) override;
wxPoint GetPosition() const { return m_pos; }
wxPoint GetPosition() const override { return m_pos; }
void SetPosition( const wxPoint& aPosition ) { m_pos = aPosition; }
void SetPosition( const wxPoint& aPosition ) override { m_pos = aPosition; }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
bool HitTest( const EDA_RECT& aRect, bool aContained = false,
int aAccuracy = 0 ) const;
int aAccuracy = 0 ) const override;
void Plot( PLOTTER* aPlotter ) override;
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
private:

View File

@ -65,36 +65,36 @@ public:
SCH_LEGACY_PLUGIN();
virtual ~SCH_LEGACY_PLUGIN() {}
const wxString GetName() const
const wxString GetName() const override
{
return wxT( "Eeschema-Legacy" );
}
const wxString GetFileExtension() const
const wxString GetFileExtension() const override
{
return wxT( "sch" );
}
SCH_SHEET* Load( const wxString& aFileName, KIWAY* aKiway,
SCH_SHEET* aAppendToMe = NULL, const PROPERTIES* aProperties = NULL );
SCH_SHEET* aAppendToMe = NULL, const PROPERTIES* aProperties = NULL ) override;
void Save( const wxString& aFileName, SCH_SCREEN* aScreen, KIWAY* aKiway,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void Format( SCH_SCREEN* aScreen );
void EnumerateSymbolLib( wxArrayString& aAliasNameList,
const wxString& aLibraryPath,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
LIB_ALIAS* LoadSymbol( const wxString& aLibraryPath, const wxString& aAliasName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void SaveSymbol( const wxString& aLibraryPath, const LIB_PART* aSymbol,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void DeleteAlias( const wxString& aLibraryPath, const wxString& aAliasName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
// Temporary for testing using PART_LIB instead of SCH_PLUGIN.
void TransferCache( PART_LIB& aTarget );
void TransferCache( PART_LIB& aTarget ) override;
private:
void loadHierarchy( SCH_SHEET* aSheet );

View File

@ -56,7 +56,7 @@ public:
SCH_LINE* Next() const { return (SCH_LINE*) Pnext; }
SCH_LINE* Back() const { return (SCH_LINE*) Pback; }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_LINE" );
}
@ -76,7 +76,7 @@ public:
void SetEndPoint( const wxPoint& aPosition ) { m_end = aPosition; }
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
/**
* Function GetLength
@ -85,7 +85,7 @@ public:
double GetLength() const;
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
bool Save( FILE* aFile ) const override;
@ -117,7 +117,7 @@ public:
bool IsDanglingStateChanged( std::vector< DANGLING_END_ITEM >& aItemList ) override;
bool IsDangling() const { return m_startIsDangling || m_endIsDangling; }
bool IsDangling() const override { return m_startIsDangling || m_endIsDangling; }
bool IsSelectStateChanged( const wxRect& aRect ) override;
@ -133,7 +133,7 @@ public:
bool operator <( const SCH_ITEM& aItem ) const override;
wxPoint GetPosition() const { return m_start; }
wxPoint GetPosition() const override { return m_start; }
void SetPosition( const wxPoint& aPosition ) override;
@ -146,7 +146,7 @@ public:
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
private:

View File

@ -47,15 +47,15 @@ public:
// Do not create a copy constructor. The one generated by the compiler is adequate.
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_MARKER" );
}
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDraw_mode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDraw_mode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
void Plot( PLOTTER* aPlotter )
void Plot( PLOTTER* aPlotter ) override
{
// SCH_MARKERs should not be plotted. However, SCH_ITEM will fail an
// assertion if we do not confirm this by locally implementing a no-op
@ -65,11 +65,11 @@ public:
bool Save( FILE* aFile ) const override;
EDA_RECT const GetBoundingBox() const; // Virtual
EDA_RECT const GetBoundingBox() const override;
// Geometric transforms (used in block operations):
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_Pos += aMoveVector;
}
@ -97,20 +97,20 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
wxString GetSelectMenuText() const { return wxString( _( "ERC Marker" ) ); }
wxString GetSelectMenuText() const override { return wxString( _( "ERC Marker" ) ); }
BITMAP_DEF GetMenuImage() const { return erc_xpm; }
BITMAP_DEF GetMenuImage() const override { return erc_xpm; }
wxPoint GetPosition() const { return m_Pos; }
wxPoint GetPosition() const override { return m_Pos; }
void SetPosition( const wxPoint& aPosition ) { m_Pos = aPosition; }
void SetPosition( const wxPoint& aPosition ) override { m_Pos = aPosition; }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
};

View File

@ -46,7 +46,7 @@ public:
~SCH_NO_CONNECT() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_NO_CONNECT" );
}
@ -56,7 +56,7 @@ public:
void SwapData( SCH_ITEM* aItem ) override;
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
bool Save( FILE* aFile ) const override;
@ -64,11 +64,11 @@ public:
void GetEndPoints( std::vector< DANGLING_END_ITEM >& aItemList ) override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
// Geometric transforms (used in block operations):
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_pos += aMoveVector;
}
@ -81,19 +81,19 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
void GetConnectionPoints( std::vector< wxPoint >& aPoints ) const override;
wxString GetSelectMenuText() const { return wxString( _( "No Connect" ) ); }
wxString GetSelectMenuText() const override { return wxString( _( "No Connect" ) ); }
BITMAP_DEF GetMenuImage() const { return noconn_xpm; }
BITMAP_DEF GetMenuImage() const override { return noconn_xpm; }
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems, SCH_SHEET_PATH* aSheetPath ) override;
wxPoint GetPosition() const { return m_pos; }
wxPoint GetPosition() const override { return m_pos; }
void SetPosition( const wxPoint& aPosition ) { m_pos = aPosition; }
void SetPosition( const wxPoint& aPosition ) override { m_pos = aPosition; }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
@ -104,7 +104,7 @@ public:
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
private:

View File

@ -97,7 +97,7 @@ public:
~SCH_SHEET_PIN() { }
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_SHEET_PIN" );
}
@ -110,10 +110,10 @@ public:
* and false for items moved with no reference to anchor (usually large items)
* @return true for a hierarchical sheet pin
*/
bool IsMovableFromAnchorPoint() { return true; }
bool IsMovableFromAnchorPoint() override { return true; }
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
/**
* Function CreateGraphicShape (virtual)
@ -165,12 +165,12 @@ public:
bool Load( LINE_READER& aLine, wxString& aErrorMsg ) override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
// Geometric transforms (used in block operations):
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_Pos += aMoveVector;
}
@ -183,22 +183,22 @@ public:
bool Matches( wxFindReplaceData& aSearchData, void* aAuxData, wxPoint* aFindLocation ) override;
bool Replace( wxFindReplaceData& aSearchData, void* aAuxData = NULL )
bool Replace( wxFindReplaceData& aSearchData, void* aAuxData = NULL ) override
{
return EDA_ITEM::Replace( aSearchData, m_Text );
}
bool IsReplaceable() const { return true; }
bool IsReplaceable() const override { return true; }
void GetEndPoints( std::vector< DANGLING_END_ITEM >& aItemList ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_hierar_pin_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_hierar_pin_xpm; }
void SetPosition( const wxPoint& aPosition ) { ConstrainOnEdge( aPosition ); }
void SetPosition( const wxPoint& aPosition ) override { ConstrainOnEdge( aPosition ); }
bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
@ -256,7 +256,7 @@ public:
~SCH_SHEET();
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_SHEET" );
}
@ -269,7 +269,7 @@ public:
* items which can be large (hierarchical sheets, compoments)
* @return false for a hierarchical sheet
*/
bool IsMovableFromAnchorPoint() { return false; }
bool IsMovableFromAnchorPoint() override { return false; }
wxString GetName() const { return m_name; }
@ -429,7 +429,7 @@ public:
int GetPenSize() const override;
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aOffset,
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR );
GR_DRAWMODE aDrawMode, EDA_COLOR_T aColor = UNSPECIFIED_COLOR ) override;
EDA_RECT const GetBoundingBox() const override;
@ -515,7 +515,7 @@ public:
// Geometric transforms (used in block operations):
void Move( const wxPoint& aMoveVector )
void Move( const wxPoint& aMoveVector ) override
{
m_pos += aMoveVector;
@ -535,7 +535,7 @@ public:
bool Replace( wxFindReplaceData& aSearchData, void* aAuxData = NULL ) override;
bool IsReplaceable() const { return true; }
bool IsReplaceable() const override { return true; }
/**
* Resize this sheet to aSize and adjust all of the labels accordingly.
@ -564,7 +564,7 @@ public:
bool IsSelectStateChanged( const wxRect& aRect ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
void GetConnectionPoints( std::vector< wxPoint >& aPoints ) const override;
@ -572,14 +572,14 @@ public:
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_hierarchical_subsheet_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_hierarchical_subsheet_xpm; }
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
SCH_SHEET_PATH* aSheetPath );
SCH_SHEET_PATH* aSheetPath ) override;
SCH_ITEM& operator=( const SCH_ITEM& aSheet );
wxPoint GetPosition() const { return m_pos; }
wxPoint GetPosition() const override { return m_pos; }
void SetPosition( const wxPoint& aPosition ) override;
@ -592,7 +592,7 @@ public:
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
protected:

View File

@ -90,7 +90,7 @@ public:
~SCH_TEXT() { }
virtual wxString GetClass() const
virtual wxString GetClass() const override
{
return wxT( "SCH_TEXT" );
}
@ -133,7 +133,7 @@ public:
virtual wxPoint GetSchematicTextOffset() const;
virtual void Draw( EDA_DRAW_PANEL* panel, wxDC* DC, const wxPoint& offset,
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR );
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR ) override;
/**
* Function CreateGraphicShape
@ -159,7 +159,7 @@ public:
// Geometric transforms (used in block operations):
virtual void Move( const wxPoint& aMoveVector )
virtual void Move( const wxPoint& aMoveVector ) override
{
m_Pos += aMoveVector;
}
@ -172,40 +172,40 @@ public:
virtual bool Matches( wxFindReplaceData& aSearchData, void* aAuxData, wxPoint* aFindLocation ) override;
virtual bool Replace( wxFindReplaceData& aSearchData, void* aAuxData = NULL )
virtual bool Replace( wxFindReplaceData& aSearchData, void* aAuxData = NULL ) override
{
return EDA_ITEM::Replace( aSearchData, m_Text );
}
virtual bool IsReplaceable() const { return true; }
virtual bool IsReplaceable() const override { return true; }
virtual void GetEndPoints( std::vector< DANGLING_END_ITEM >& aItemList ) override;
virtual bool IsDanglingStateChanged( std::vector< DANGLING_END_ITEM >& aItemList ) override;
virtual bool IsDangling() const { return m_isDangling; }
virtual bool IsDangling() const override { return m_isDangling; }
virtual bool IsSelectStateChanged( const wxRect& aRect ) override;
virtual void GetConnectionPoints( std::vector< wxPoint >& aPoints ) const override;
virtual bool CanIncrementLabel() const { return true; }
virtual bool CanIncrementLabel() const override { return true; }
virtual wxString GetSelectMenuText() const override;
virtual BITMAP_DEF GetMenuImage() const { return add_text_xpm; }
virtual BITMAP_DEF GetMenuImage() const override { return add_text_xpm; }
virtual void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
SCH_SHEET_PATH* aSheetPath );
SCH_SHEET_PATH* aSheetPath ) override;
virtual wxPoint GetPosition() const { return m_Pos; }
virtual wxPoint GetPosition() const override { return m_Pos; }
virtual void SetPosition( const wxPoint& aPosition ) { m_Pos = aPosition; }
virtual void SetPosition( const wxPoint& aPosition ) override { m_Pos = aPosition; }
virtual bool HitTest( const wxPoint& aPosition, int aAccuracy ) const override;
virtual bool HitTest( const EDA_RECT& aRect, bool aContained = false,
int aAccuracy = 0 ) const;
int aAccuracy = 0 ) const override;
virtual void Plot( PLOTTER* aPlotter ) override;
@ -214,7 +214,7 @@ public:
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
};
@ -229,9 +229,9 @@ public:
~SCH_LABEL() { }
void Draw( EDA_DRAW_PANEL* panel, wxDC* DC, const wxPoint& offset,
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR );
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR ) override;
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_LABEL" );
}
@ -244,24 +244,24 @@ public:
void Rotate( wxPoint aPosition ) override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
bool Save( FILE* aFile ) const override;
bool Load( LINE_READER& aLine, wxString& aErrorMsg ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_line_label_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_line_label_xpm; }
bool IsReplaceable() const { return true; }
bool IsReplaceable() const override { return true; }
EDA_ITEM* Clone() const override;
private:
bool doIsConnected( const wxPoint& aPosition ) const { return m_Pos == aPosition; }
bool doIsConnected( const wxPoint& aPosition ) const override { return m_Pos == aPosition; }
};
@ -275,9 +275,9 @@ public:
~SCH_GLOBALLABEL() { }
void Draw( EDA_DRAW_PANEL* panel, wxDC* DC, const wxPoint& offset,
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR );
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR ) override;
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_GLOBALLABEL" );
}
@ -290,7 +290,7 @@ public:
bool Load( LINE_READER& aLine, wxString& aErrorMsg ) override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void CreateGraphicShape( std::vector <wxPoint>& aPoints, const wxPoint& aPos ) override;
@ -300,16 +300,16 @@ public:
void Rotate( wxPoint aPosition ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_glabel_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_glabel_xpm; }
EDA_ITEM* Clone() const override;
private:
bool doIsConnected( const wxPoint& aPosition ) const { return m_Pos == aPosition; }
bool doIsConnected( const wxPoint& aPosition ) const override { return m_Pos == aPosition; }
};
@ -325,9 +325,9 @@ public:
~SCH_HIERLABEL() { }
void Draw( EDA_DRAW_PANEL* panel, wxDC* DC, const wxPoint& offset,
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR );
GR_DRAWMODE draw_mode, EDA_COLOR_T Color = UNSPECIFIED_COLOR ) override;
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "SCH_HIERLABEL" );
}
@ -342,7 +342,7 @@ public:
bool Load( LINE_READER& aLine, wxString& aErrorMsg ) override;
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
void MirrorY( int aYaxis_position ) override;
@ -350,16 +350,16 @@ public:
void Rotate( wxPoint aPosition ) override;
bool IsConnectable() const { return true; }
bool IsConnectable() const override { return true; }
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return add_hierarchical_label_xpm; }
BITMAP_DEF GetMenuImage() const override { return add_hierarchical_label_xpm; }
EDA_ITEM* Clone() const override;
private:
bool doIsConnected( const wxPoint& aPosition ) const { return m_Pos == aPosition; }
bool doIsConnected( const wxPoint& aPosition ) const override { return m_Pos == aPosition; }
};
#endif /* CLASS_TEXT_LABEL_H */

View File

@ -54,7 +54,7 @@ public:
SCH_FIELD_VALIDATOR( const SCH_FIELD_VALIDATOR& aValidator );
virtual wxObject* Clone() const { return new SCH_FIELD_VALIDATOR( *this ); }
virtual wxObject* Clone() const override { return new SCH_FIELD_VALIDATOR( *this ); }
/**
* Function Validate

View File

@ -232,7 +232,7 @@ public:
SCH_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent );
~SCH_EDIT_FRAME();
SCH_SCREEN* GetScreen() const; // overload SCH_BASE_FRAME
SCH_SCREEN* GetScreen() const override;
void OnCloseWindow( wxCloseEvent& Event );
@ -397,7 +397,7 @@ public:
*/
virtual void ExecuteRemoteCommand( const char* cmdline ) override;
void KiwayMailIn( KIWAY_EXPRESS& aEvent ); // override virtual from KIWAY_PLAYER
void KiwayMailIn( KIWAY_EXPRESS& aEvent ) override;
void OnLeftClick( wxDC* aDC, const wxPoint& aPosition ) override;
void OnLeftDClick( wxDC* aDC, const wxPoint& aPosition ) override;
@ -680,7 +680,7 @@ public:
*/
void OnSaveProject( wxCommandEvent& aEvent );
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl = 0 ); // virtual from KIWAY_PLAYER
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl = 0 ) override;
/**
* Function AppendOneEEProject
@ -1341,7 +1341,7 @@ public:
* @param aData = a pointer on an auxiliary data (not always used, NULL if not used)
*/
virtual void PrintPage( wxDC* aDC, LSET aPrintMask,
bool aPrintMirrorMode, void* aData = NULL );
bool aPrintMirrorMode, void* aData = NULL ) override;
void SetSimulatorCommand( const wxString& aCommand ) { m_simulatorCommand = aCommand; }

View File

@ -107,7 +107,7 @@ public: EXCELLON_IMAGE( int layer ) :
~EXCELLON_IMAGE() {};
virtual void ResetDefaultValues()
virtual void ResetDefaultValues() override
{
GERBER_FILE_IMAGE::ResetDefaultValues();
SelectUnits( false );

View File

@ -203,7 +203,7 @@ public:
*/
D_CODE* GetDcodeDescr();
const EDA_RECT GetBoundingBox() const; // Virtual
const EDA_RECT GetBoundingBox() const override;
/* Display on screen: */
void Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC,
@ -253,7 +253,7 @@ public:
* returns the class name.
* @return wxString
*/
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "GERBER_DRAW_ITEM" );
}
@ -281,7 +281,7 @@ public:
delete this;
}
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const; // override
void Show( int nestLevel, std::ostream& os ) const override;
#endif
};

View File

@ -86,7 +86,7 @@ private:
void OnPrintButtonClick( wxCommandEvent& event ) override;
void OnScaleSelectionClick( wxCommandEvent& event ) override;
void OnButtonCloseClick( wxCommandEvent& event ) { Close(); }
void OnButtonCloseClick( wxCommandEvent& event ) override { Close(); }
void SetPrintParameters();
void InitValues();

View File

@ -65,7 +65,7 @@ static struct IFACE : public KIFACE_I
void OnKifaceEnd() override;
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 )
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 ) override
{
switch( aClassId )
{
@ -94,7 +94,7 @@ static struct IFACE : public KIFACE_I
*
* @return void* - and must be cast into the know type.
*/
void* IfaceOrAddress( int aDataId )
void* IfaceOrAddress( int aDataId ) override
{
return NULL;
}

View File

@ -104,21 +104,21 @@ public:
*/
EDA_RECT GetGerberLayoutBoundingBox();
void SetPageSettings( const PAGE_INFO& aPageSettings ); // overload
const PAGE_INFO& GetPageSettings() const; // overload
const wxSize GetPageSizeIU() const; // overload
void SetPageSettings( const PAGE_INFO& aPageSettings ) override;
const PAGE_INFO& GetPageSettings() const override;
const wxSize GetPageSizeIU() const override;
const wxPoint& GetAuxOrigin() const; // overload
void SetAuxOrigin( const wxPoint& aPoint ); // overload
const wxPoint& GetAuxOrigin() const override;
void SetAuxOrigin( const wxPoint& aPoint ) override;
const wxPoint& GetGridOrigin() const { return m_grid_origin; } // overload
void SetGridOrigin( const wxPoint& aPoint ) // overload
const wxPoint& GetGridOrigin() const override { return m_grid_origin; }
void SetGridOrigin( const wxPoint& aPoint ) override
{
m_grid_origin = aPoint;
}
const TITLE_BLOCK& GetTitleBlock() const; // overload
void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ); // overload
const TITLE_BLOCK& GetTitleBlock() const override;
void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ) override;
/**
* Function SetCurItem
@ -203,7 +203,7 @@ public:
void OnCloseWindow( wxCloseEvent& Event );
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl ); // overload KIWAY_PLAYER
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl ) override;
// Virtual basic functions:
void RedrawActiveWindow( wxDC* DC, bool EraseBg ) override;
@ -459,11 +459,11 @@ public:
*/
PARAM_CFG_ARRAY& GetConfigurationSettings( void );
void LoadSettings( wxConfigBase* aCfg ); // override virtual
void LoadSettings( wxConfigBase* aCfg ) override;
void SaveSettings( wxConfigBase* aCfg ); // override virtual
void SaveSettings( wxConfigBase* aCfg ) override;
void ShowChangedLanguage(); // override EDA_BASE_FRAME virtual
void ShowChangedLanguage() override;
void Process_Special_Functions( wxCommandEvent& event );
void OnSelectOptionToolbar( wxCommandEvent& event );
@ -657,7 +657,7 @@ public:
* @param aData = a pointer on an auxiliary data (not always used, NULL if not used)
*/
virtual void PrintPage( wxDC* aDC, LSET aPrintMasklayer, bool aPrintMirrorMode,
void* aData = NULL );
void* aData = NULL ) override;
DECLARE_EVENT_TABLE()
};

View File

@ -47,19 +47,19 @@ public:
~SHAPE_CIRCLE()
{}
SHAPE* Clone() const
SHAPE* Clone() const override
{
return new SHAPE_CIRCLE( *this );
}
const BOX2I BBox( int aClearance = 0 ) const
const BOX2I BBox( int aClearance = 0 ) const override
{
const VECTOR2I rc( m_radius + aClearance, m_radius + aClearance );
return BOX2I( m_center - rc, rc * 2 );
}
bool Collide( const SEG& aSeg, int aClearance = 0 ) const
bool Collide( const SEG& aSeg, int aClearance = 0 ) const override
{
int rc = aClearance + m_radius;
@ -86,12 +86,12 @@ public:
return m_center;
}
void Move( const VECTOR2I& aVector )
void Move( const VECTOR2I& aVector ) override
{
m_center += aVector;
}
bool IsSolid() const
bool IsSolid() const override
{
return true;
}

View File

@ -56,7 +56,7 @@ public:
SHAPE( SH_CONVEX ), m_points( aOther.m_points )
{}
SHAPE* Clone() const
SHAPE* Clone() const override
{
return new SHAPE_CONVEX( *this );
}
@ -71,7 +71,7 @@ public:
}
/// @copydoc SHAPE::BBox()
const BOX2I BBox( int aClearance = 0 ) const
const BOX2I BBox( int aClearance = 0 ) const override
{
return m_points.BBox( aClearance );
}
@ -166,17 +166,17 @@ public:
}
/// @copydoc SHAPE::Collide()
bool Collide( const SEG& aSeg, int aClearance = 0 ) const
bool Collide( const SEG& aSeg, int aClearance = 0 ) const override
{
return m_points.Collide( aSeg, aClearance );
}
void Move( const VECTOR2I& aVector )
void Move( const VECTOR2I& aVector ) override
{
m_points.Move( aVector );
}
bool IsSolid() const
bool IsSolid() const override
{
return true;
}

View File

@ -64,13 +64,13 @@ public:
m_h( aOther.m_h )
{};
SHAPE* Clone() const
SHAPE* Clone() const override
{
return new SHAPE_RECT( *this );
}
/// @copydoc SHAPE::BBox()
const BOX2I BBox( int aClearance = 0 ) const
const BOX2I BBox( int aClearance = 0 ) const override
{
BOX2I bbox( VECTOR2I( m_p0.x - aClearance, m_p0.y - aClearance ),
VECTOR2I( m_w + 2 * aClearance, m_h + 2 * aClearance ) );
@ -132,12 +132,12 @@ public:
return m_h;
}
void Move( const VECTOR2I& aVector )
void Move( const VECTOR2I& aVector ) override
{
m_p0 += aVector;
}
bool IsSolid() const
bool IsSolid() const override
{
return true;
}

View File

@ -42,22 +42,22 @@ public:
~SHAPE_SEGMENT() {};
SHAPE* Clone() const
SHAPE* Clone() const override
{
return new SHAPE_SEGMENT( m_seg, m_width );
}
const BOX2I BBox( int aClearance = 0 ) const
const BOX2I BBox( int aClearance = 0 ) const override
{
return BOX2I( m_seg.A, m_seg.B - m_seg.A ).Inflate( aClearance + ( m_width + 1 ) / 2 );
}
bool Collide( const SEG& aSeg, int aClearance = 0 ) const
bool Collide( const SEG& aSeg, int aClearance = 0 ) const override
{
return m_seg.Distance( aSeg ) < ( m_width + 1 ) / 2 + aClearance;
}
bool Collide( const VECTOR2I& aP, int aClearance = 0 ) const
bool Collide( const VECTOR2I& aP, int aClearance = 0 ) const override
{
return m_seg.Distance( aP ) < ( m_width + 1 ) / 2 + aClearance;
}
@ -82,12 +82,12 @@ public:
return m_width;
}
bool IsSolid() const
bool IsSolid() const override
{
return true;
}
void Move( const VECTOR2I& aVector )
void Move( const VECTOR2I& aVector ) override
{
m_seg.A += aVector;
m_seg.B += aVector;

View File

@ -196,7 +196,7 @@ public:
virtual void SetToolID( int aId, int aCursor, const wxString& aToolMsg ) override;
virtual void UpdateStatusBar() override;
PCB_SCREEN* GetScreen() const { return (PCB_SCREEN*) EDA_DRAW_FRAME::GetScreen(); }
PCB_SCREEN* GetScreen() const override { return (PCB_SCREEN*) EDA_DRAW_FRAME::GetScreen(); }
/**
* Function BestZoom

View File

@ -278,11 +278,11 @@ public:
private:
wxConfigBase* config(); // override EDA_BASE_FRAME virtual
wxConfigBase* config() override;
const SEARCH_STACK& sys_search(); // override EDA_BASE_FRAME virtual
const SEARCH_STACK& sys_search() override;
wxString help_name(); // override EDA_BASE_FRAME virtual
wxString help_name() override;
TREE_PROJECT_FRAME* m_LeftWin;
LAUNCHER_PANEL* m_Launcher;

View File

@ -56,7 +56,7 @@ public:
}
bool OnPrintPage( int aPageNum ) override;
bool HasPage( int aPageNum ) { return ( aPageNum <= 2 ); }
bool HasPage( int aPageNum ) override { return ( aPageNum <= 2 ); }
void GetPageInfo( int* minPage, int* maxPage, int* selPageFrom, int* selPageTo ) override;
void DrawPage( int aPageNum );
};
@ -77,7 +77,7 @@ public:
m_parent = aParent;
}
bool Show( bool show ) // overload
bool Show( bool show ) override
{
bool ret;

View File

@ -55,7 +55,7 @@ static struct IFACE : public KIFACE_I
void OnKifaceEnd() override;
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 )
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 ) override
{
switch( aClassId )
{
@ -84,7 +84,7 @@ static struct IFACE : public KIFACE_I
*
* @return void* - and must be cast into the know type.
*/
void* IfaceOrAddress( int aDataId )
void* IfaceOrAddress( int aDataId ) override
{
return NULL;
}

View File

@ -77,7 +77,7 @@ public:
PL_EDITOR_FRAME( KIWAY* aKiway, wxWindow* aParent );
~PL_EDITOR_FRAME();
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl ); // overload KIWAY_PLAYER
bool OpenProjectFiles( const std::vector<wxString>& aFileSet, int aCtl ) override;
/**
* Function LoadPageLayoutDescrFile
@ -108,8 +108,8 @@ public:
void ReCreateHToolbar() override;
void SetPageSettings(const PAGE_INFO&) override;
const PAGE_INFO& GetPageSettings () const; // overload EDA_DRAW_FRAME
const wxSize GetPageSizeIU() const; // overload EDA_DRAW_FRAME
const PAGE_INFO& GetPageSettings () const override;
const wxSize GetPageSizeIU() const override;
/**
* Function GetZoomLevelIndicator
@ -119,31 +119,31 @@ public:
*/
const wxString GetZoomLevelIndicator() const override;
PL_EDITOR_SCREEN* GetScreen() const // overload EDA_DRAW_FRAME
PL_EDITOR_SCREEN* GetScreen() const override
{
return (PL_EDITOR_SCREEN*) EDA_DRAW_FRAME::GetScreen();
}
const wxPoint& GetAuxOrigin() const // overload EDA_DRAW_FRAME
const wxPoint& GetAuxOrigin() const override
{
static wxPoint dummy; // ( 0,0 );
return dummy;
}
void SetAuxOrigin( const wxPoint& aPosition ) {} // overload EDA_DRAW_FRAME
void SetAuxOrigin( const wxPoint& aPosition ) override {}
const wxPoint& GetGridOrigin() const // overload EDA_DRAW_FRAME
const wxPoint& GetGridOrigin() const override
{
return m_grid_origin;
}
void SetGridOrigin( const wxPoint& aPoint ) // overload EDA_DRAW_FRAME
void SetGridOrigin( const wxPoint& aPoint ) override
{
m_grid_origin = aPoint;
}
const TITLE_BLOCK& GetTitleBlock() const; // overload EDA_DRAW_FRAME
void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ); // overload EDA_DRAW_FRAME
const TITLE_BLOCK& GetTitleBlock() const override;
void SetTitleBlock( const TITLE_BLOCK& aTitleBlock ) override;
void UpdateStatusBar(); // overload EDA_DRAW_FRAME
void UpdateStatusBar() override;
/**
* Must be called to initialize parameters when a new page layout
@ -205,9 +205,9 @@ public:
*/
PARAM_CFG_ARRAY& GetConfigurationSettings( void );
void LoadSettings( wxConfigBase* aCfg ); // override virtual
void LoadSettings( wxConfigBase* aCfg ) override;
void SaveSettings( wxConfigBase* aCfg ); // override virtual
void SaveSettings( wxConfigBase* aCfg ) override;
void Process_Special_Functions( wxCommandEvent& event );
void OnSelectOptionToolbar( wxCommandEvent& event );
@ -315,7 +315,7 @@ public:
* @param aData = a pointer on an auxiliary data (not always used, NULL if not used)
*/
virtual void PrintPage( wxDC* aDC, LSET aPrintMasklayer,
bool aPrintMirrorMode, void * aData );
bool aPrintMirrorMode, void * aData ) override;
void OnFileHistory( wxCommandEvent& event );

View File

@ -55,13 +55,13 @@ public:
// Required to keep compiler happy on debug builds.
#if defined(DEBUG)
virtual void Show( int nestLevel, std::ostream& os ) const {}
virtual void Show( int nestLevel, std::ostream& os ) const override {}
#endif
/** Get class name
* @return string "PL_ITEM_LAYOUT"
*/
virtual wxString GetClass() const
virtual wxString GetClass() const override
{
return wxT( "PL_ITEM_LAYOUT" );
}

View File

@ -59,7 +59,7 @@ static struct IFACE : public KIFACE_I
void OnKifaceEnd() override;
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 )
wxWindow* CreateWindow( wxWindow* aParent, int aClassId, KIWAY* aKiway, int aCtlBits = 0 ) override
{
return new PCB_CALCULATOR_FRAME( aKiway, aParent );
}
@ -75,7 +75,7 @@ static struct IFACE : public KIFACE_I
*
* @return void* - and must be cast into the know type.
*/
void* IfaceOrAddress( int aDataId )
void* IfaceOrAddress( int aDataId ) override
{
return NULL;
}

View File

@ -86,7 +86,7 @@ public:
/**
* called when the current regulator type is changed
*/
void OnRegTypeSelection( wxCommandEvent& event )
void OnRegTypeSelection( wxCommandEvent& event ) override
{
UpdateDialog();
}

View File

@ -103,11 +103,11 @@ public:
private:
void ExecuteCommand( wxCommandEvent& event ) override;
void OnCancel( wxCommandEvent& event )
void OnCancel( wxCommandEvent& event ) override
{
EndModal( wxID_CANCEL );
}
void checkBoxClicked( wxCommandEvent& aEvent )
void checkBoxClicked( wxCommandEvent& aEvent ) override
{
if( m_Include_Modules->GetValue() )
m_IncludeLockedModules->Enable();

View File

@ -111,24 +111,24 @@ public:
/* drawing functions */
void Draw( EDA_DRAW_PANEL* panel, wxDC* DC,
GR_DRAWMODE aDrawMode, const wxPoint& offset = ZeroOffset );
GR_DRAWMODE aDrawMode, const wxPoint& offset = ZeroOffset ) override;
void GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) override;
wxString GetClass() const
wxString GetClass() const override
{
return wxT( "MGRAPHIC" );
}
wxString GetSelectMenuText() const override;
BITMAP_DEF GetMenuImage() const { return show_mod_edge_xpm; }
BITMAP_DEF GetMenuImage() const override { return show_mod_edge_xpm; }
EDA_ITEM* Clone() const override;
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const { ShowDummy( os ); } // override
void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }
#endif
wxPoint m_Start0; // Start point or center, relative to module origin, orient 0.

View File

@ -43,11 +43,11 @@ public:
}
private:
void OnCancelClick( wxCommandEvent& event )
void OnCancelClick( wxCommandEvent& event ) override
{
EndModal( wxID_CANCEL );
}
void OnOKClick( wxCommandEvent& event )
void OnOKClick( wxCommandEvent& event ) override
{
GetOpts( );
EndModal( wxID_OK );

View File

@ -284,9 +284,9 @@ public:
int m_numberingOffsetX, m_numberingOffsetY;
ARRAY_NUMBERING_TYPE_T m_priAxisNumType, m_secAxisNumType;
void TransformItem( int n, BOARD_ITEM* item, const wxPoint& rotPoint ) const; // override virtual
int GetArraySize() const; // override virtual
wxString GetItemNumber( int n ) const; // override virtual
void TransformItem( int n, BOARD_ITEM* item, const wxPoint& rotPoint ) const override;
int GetArraySize() const override;
wxString GetItemNumber( int n ) const override;
private:
wxPoint getGridCoords( int n ) const;
@ -310,9 +310,9 @@ private:
ARRAY_NUMBERING_TYPE_T m_numberingType;
long m_numberingOffset;
void TransformItem( int n, BOARD_ITEM* item, const wxPoint& rotPoint ) const; // override virtual
int GetArraySize() const; // override virtual
wxString GetItemNumber( int n ) const; // override virtual
void TransformItem( int n, BOARD_ITEM* item, const wxPoint& rotPoint ) const override;
int GetArraySize() const override;
wxString GetItemNumber( int n ) const override;
};
// Constructor and destructor

View File

@ -84,8 +84,8 @@ private:
std::vector <int> m_TracksWidthList;
private:
void OnNetClassesNameLeftClick( wxGridEvent& event ){ event.Skip(); }
void OnNetClassesNameRightClick( wxGridEvent& event ){ event.Skip(); }
void OnNetClassesNameLeftClick( wxGridEvent& event ) override { event.Skip(); }
void OnNetClassesNameRightClick( wxGridEvent& event ) override { event.Skip(); }
void OnAddNetclassClick( wxCommandEvent& event ) override;
void OnRemoveNetclassClick( wxCommandEvent& event ) override;

View File

@ -71,13 +71,13 @@ public:
//-----<Interface DRC_ITEM_LIST>---------------------------------------
void DeleteAllItems()
void DeleteAllItems() override
{
m_board->DeleteMARKERs();
}
const DRC_ITEM* GetItem( int aIndex )
const DRC_ITEM* GetItem( int aIndex ) override
{
const MARKER_PCB* marker = m_board->GetMARKER( aIndex );
if( marker )
@ -85,7 +85,7 @@ public:
return NULL;
}
void DeleteItem( int aIndex )
void DeleteItem( int aIndex ) override
{
MARKER_PCB* marker = m_board->GetMARKER( aIndex );
if( marker )
@ -97,7 +97,7 @@ public:
* Function GetCount
* returns the number of items in the list.
*/
int GetCount()
int GetCount() override
{
return m_board->GetMARKERCount();
}
@ -131,7 +131,7 @@ public:
//-----<Interface DRC_ITEM_LIST>---------------------------------------
void DeleteAllItems()
void DeleteAllItems() override
{
if( m_vector )
{
@ -143,7 +143,7 @@ public:
}
const DRC_ITEM* GetItem( int aIndex )
const DRC_ITEM* GetItem( int aIndex ) override
{
if( m_vector && (unsigned)aIndex < m_vector->size() )
{
@ -153,7 +153,7 @@ public:
return NULL;
}
void DeleteItem( int aIndex )
void DeleteItem( int aIndex ) override
{
if( m_vector && (unsigned)aIndex < m_vector->size() )
{
@ -167,7 +167,7 @@ public:
* Function GetCount
* returns the number of items in the list.
*/
int GetCount()
int GetCount() override
{
if( m_vector )
{
@ -244,7 +244,7 @@ public:
* @param n An index into the list.
* @return wxString - the simple html text to show in the listbox.
*/
wxString OnGetItem( size_t n ) const
wxString OnGetItem( size_t n ) const override
{
if( m_list )
{
@ -262,7 +262,7 @@ public:
* @param n An index into the list.
* @return wxString - the simple html text to show in the listbox.
*/
wxString OnGetItemMarkup( size_t n ) const
wxString OnGetItemMarkup( size_t n ) const override
{
return OnGetItem( n );
}

View File

@ -76,12 +76,12 @@ private:
void OnEditReference( wxCommandEvent& event ) override;
void On3DShapeSelection( wxCommandEvent& event );
void On3DShapeNameSelected( wxCommandEvent& event ) override;
void Edit3DShapeFilename( wxCommandEvent& event )
void Edit3DShapeFilename( wxCommandEvent& event ) override
{
Edit3DShapeFileName();
}
void Remove3DShape( wxCommandEvent& event ) override;
void Add3DShape( wxCommandEvent& event )
void Add3DShape( wxCommandEvent& event ) override
{
BrowseAndAdd3DShapeFile();
}
@ -90,7 +90,7 @@ private:
void ModuleOrientEvent( wxCommandEvent& event ) override;
void Cfg3DPath( wxCommandEvent& event ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -62,12 +62,12 @@ private:
void OnEditReference( wxCommandEvent& event ) override;
void On3DShapeSelection( wxCommandEvent& event );
void On3DShapeNameSelected( wxCommandEvent& event ) override;
void Add3DShape( wxCommandEvent& event )
void Add3DShape( wxCommandEvent& event ) override
{
BrowseAndAdd3DShapeFile();
}
void Remove3DShape( wxCommandEvent& event ) override;
void Edit3DShapeFilename( wxCommandEvent& event )
void Edit3DShapeFilename( wxCommandEvent& event ) override
{
Edit3DShapeFileName();
}
@ -75,7 +75,7 @@ private:
void OnOkClick( wxCommandEvent& event ) override;
void Cfg3DPath( wxCommandEvent& event ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -55,7 +55,7 @@ protected:
private:
void ModuleOrientEvent( wxCommandEvent& event ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -165,7 +165,7 @@ public:
event.Enable( m_cbCopyFiles->GetValue() );
}
virtual void OnFileChanged( wxFileDirPickerEvent& event )
virtual void OnFileChanged( wxFileDirPickerEvent& event ) override
{
// Clicking on file picker button changes the focus to the file picker button which
// is not the behavior we want. Set the focus back to the OK button so the next enter

View File

@ -81,10 +81,10 @@ public:
//-----<wxGridTableBase overloads>-------------------------------------------
int GetNumberRows() { return rows.size(); }
int GetNumberCols() { return COL_COUNT; }
int GetNumberRows() override { return rows.size(); }
int GetNumberCols() override { return COL_COUNT; }
wxString GetValue( int aRow, int aCol )
wxString GetValue( int aRow, int aCol ) override
{
if( unsigned( aRow ) < rows.size() )
{
@ -105,7 +105,7 @@ public:
return wxEmptyString;
}
void SetValue( int aRow, int aCol, const wxString &aValue )
void SetValue( int aRow, int aCol, const wxString &aValue ) override
{
if( unsigned( aRow ) < rows.size() )
{
@ -122,12 +122,12 @@ public:
}
}
bool IsEmptyCell( int aRow, int aCol )
bool IsEmptyCell( int aRow, int aCol ) override
{
return !GetValue( aRow, aCol );
}
bool InsertRows( size_t aPos = 0, size_t aNumRows = 1 )
bool InsertRows( size_t aPos = 0, size_t aNumRows = 1 ) override
{
if( aPos < rows.size() )
{
@ -149,7 +149,7 @@ public:
return false;
}
bool AppendRows( size_t aNumRows = 1 )
bool AppendRows( size_t aNumRows = 1 ) override
{
// do not modify aNumRows, original value needed for wxGridTableMessage below
for( int i = aNumRows; i; --i )
@ -167,7 +167,7 @@ public:
return true;
}
bool DeleteRows( size_t aPos, size_t aNumRows )
bool DeleteRows( size_t aPos, size_t aNumRows ) override
{
// aPos may be a large positive, e.g. size_t(-1), and the sum of
// aPos+aNumRows may wrap here, so both ends of the range are tested.
@ -191,13 +191,13 @@ public:
return false;
}
void Clear()
void Clear() override
{
rows.clear();
nickIndex.clear();
}
wxString GetColLabelValue( int aCol )
wxString GetColLabelValue( int aCol ) override
{
switch( aCol )
{
@ -228,7 +228,7 @@ protected:
/// handle specialized clipboard text, with leading "(fp_lib_table", OR
/// spreadsheet formatted text.
virtual void paste_text( const wxString& cb_text )
virtual void paste_text( const wxString& cb_text ) override
{
FP_TBL_MODEL* tbl = (FP_TBL_MODEL*) m_grid->GetTable();
@ -501,7 +501,7 @@ private:
//-----<event handlers>----------------------------------
void onKeyDown( wxKeyEvent& ev )
void onKeyDown( wxKeyEvent& ev ) override
{
#if 0
// send the key to the current grid
@ -513,13 +513,13 @@ private:
#endif
}
void pageChangedHandler( wxAuiNotebookEvent& event )
void pageChangedHandler( wxAuiNotebookEvent& event ) override
{
m_pageNdx = m_auinotebook->GetSelection();
m_cur_grid = ( m_pageNdx == 0 ) ? m_global_grid : m_project_grid;
}
void appendRowHandler( wxCommandEvent& event )
void appendRowHandler( wxCommandEvent& event ) override
{
if( m_cur_grid->AppendRows( 1 ) )
{
@ -532,7 +532,7 @@ private:
}
}
void deleteRowHandler( wxCommandEvent& event )
void deleteRowHandler( wxCommandEvent& event ) override
{
#if 1
int currRow = getCursorRow();
@ -569,7 +569,7 @@ private:
#endif
}
void moveUpHandler( wxCommandEvent& event )
void moveUpHandler( wxCommandEvent& event ) override
{
int curRow = getCursorRow();
if( curRow >= 1 )
@ -601,7 +601,7 @@ private:
}
}
void moveDownHandler( wxCommandEvent& event )
void moveDownHandler( wxCommandEvent& event ) override
{
FP_TBL_MODEL* tbl = cur_model();
@ -633,7 +633,7 @@ private:
}
}
void optionsEditor( wxCommandEvent& event )
void optionsEditor( wxCommandEvent& event ) override
{
FP_TBL_MODEL* tbl = cur_model();
@ -667,17 +667,17 @@ private:
void OnClickLibraryWizard( wxCommandEvent& event ) override;
void onCancelButtonClick( wxCommandEvent& event )
void onCancelButtonClick( wxCommandEvent& event ) override
{
EndModal( 0 );
}
void onCancelCaptionButtonClick( wxCloseEvent& event )
void onCancelCaptionButtonClick( wxCloseEvent& event ) override
{
EndModal( 0 );
}
void onOKButtonClick( wxCommandEvent& event )
void onOKButtonClick( wxCommandEvent& event ) override
{
int dialogRet = 0;

View File

@ -253,7 +253,7 @@ private:
//-----<event handlers>------------------------------------------------------
void onListBoxItemSelected( wxCommandEvent& event )
void onListBoxItemSelected( wxCommandEvent& event ) override
{
// change the help text based on the m_listbox selection:
if( event.IsSelection() )
@ -274,22 +274,22 @@ private:
}
}
void onListBoxItemDoubleClicked( wxCommandEvent& event )
void onListBoxItemDoubleClicked( wxCommandEvent& event ) override
{
appendOption();
}
void onAppendOption( wxCommandEvent& event )
void onAppendOption( wxCommandEvent& event ) override
{
appendOption();
}
void onAppendRow( wxMouseEvent& event )
void onAppendRow( wxMouseEvent& event ) override
{
appendRow();
}
void onDeleteRow( wxMouseEvent& event )
void onDeleteRow( wxMouseEvent& event ) override
{
int rowCount = m_grid->GetNumberRows();
int curRow = getCursorRow();
@ -303,7 +303,7 @@ private:
}
}
void onMoveUp( wxMouseEvent& event )
void onMoveUp( wxMouseEvent& event ) override
{
int curRow = getCursorRow();
if( curRow >= 1 )
@ -336,7 +336,7 @@ private:
}
}
void onMoveDown( wxMouseEvent& event )
void onMoveDown( wxMouseEvent& event ) override
{
int curRow = getCursorRow();
if( curRow + 1 < m_grid->GetNumberRows() )
@ -368,17 +368,17 @@ private:
}
}
void onCancelButtonClick( wxCommandEvent& event )
void onCancelButtonClick( wxCommandEvent& event ) override
{
abort();
}
void onCancelCaptionButtonClick( wxCloseEvent& event )
void onCancelCaptionButtonClick( wxCloseEvent& event ) override
{
abort();
}
void onOKButtonClick( wxCommandEvent& event )
void onOKButtonClick( wxCommandEvent& event ) override
{
saveColSizes();

View File

@ -57,7 +57,7 @@ public:
private:
// Called when selecting an item from the item list
void OnSelectFootprint( wxCommandEvent& aEvent )
void OnSelectFootprint( wxCommandEvent& aEvent ) override
{
if( m_choiceFpList->GetSelection() >= 0 )
m_SearchTextCtrl->SetValue(

View File

@ -36,13 +36,13 @@ private:
PCB_EDIT_FRAME* m_Parent;
LAYER_NUM m_currentLayer;
void OnOkClick( wxCommandEvent& event )
void OnOkClick( wxCommandEvent& event ) override
{
AcceptPcbDelete();
EndModal(wxID_OK);
}
void OnCancelClick( wxCommandEvent& event )
void OnCancelClick( wxCommandEvent& event ) override
{
EndModal(wxID_CANCEL);
}

View File

@ -43,7 +43,7 @@ public:
~DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS() {};
// Virtual event handlers, overided here
void OnSelectionClick( wxCommandEvent& event ){ m_OptionID = event.GetId(); }
void OnSelectionClick( wxCommandEvent& event ) override { m_OptionID = event.GetId(); }
void OnOkClick( wxCommandEvent& event ) override;
void OnCancelClick( wxCommandEvent& event ) override;
void MyInit();

View File

@ -73,7 +73,7 @@ private:
// event handlers
void OnOKClick( wxCommandEvent& event ) override;
void OnCancelClick( wxCommandEvent& event )
void OnCancelClick( wxCommandEvent& event ) override
{
EndModal( wxID_CANCEL );
}

View File

@ -74,7 +74,7 @@ private:
bool TransferDataFromWindow() override;
void OnLayerChoice( wxCommandEvent& event );
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -50,7 +50,7 @@ private:
void OnOkClick( wxCommandEvent& event ) override;
void OnCancelClick( wxCommandEvent& event ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -44,7 +44,7 @@ public:
DIALOG_MODEDIT_OPTIONS( FOOTPRINT_EDIT_FRAME* aParent );
private:
void OnCancelClick( wxCommandEvent& event ) { EndModal( wxID_CANCEL ); }
void OnCancelClick( wxCommandEvent& event ) override { EndModal( wxID_CANCEL ); }
void OnOkClick( wxCommandEvent& event ) override;
void initValues( );

View File

@ -84,7 +84,7 @@ private:
void OnCompileRatsnestClick( wxCommandEvent& event ) override;
void OnCancelClick( wxCommandEvent& event ) override;
void OnSaveMessagesToFile( wxCommandEvent& aEvent ) override;
void OnClickSilentMode( wxCommandEvent& event )
void OnClickSilentMode( wxCommandEvent& event ) override
{
m_silentMode = m_checkBoxSilentMode->GetValue();
}

View File

@ -67,7 +67,7 @@ private:
bool TransferDataFromWindow() override;
// Virtual event handler
virtual void OnInitDlg( wxInitDialogEvent& event )
virtual void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -69,7 +69,7 @@ private:
/// Called on activate Print button
void OnPrintButtonClick( wxCommandEvent& event ) override;
void OnButtonCancelClick( wxCommandEvent& event ) { Close(); }
void OnButtonCancelClick( wxCommandEvent& event ) override { Close(); }
void OnInitDlg( wxInitDialogEvent& event )
{

View File

@ -92,9 +92,9 @@ private:
void OnPrintButtonClick( wxCommandEvent& event ) override;
void OnScaleSelectionClick( wxCommandEvent& event ) override;
void OnButtonCancelClick( wxCommandEvent& event ) { Close(); }
void OnButtonCancelClick( wxCommandEvent& event ) override { Close(); }
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -63,7 +63,7 @@ public:
private:
void OnResetGridOrgClick( wxCommandEvent& event ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -47,7 +47,7 @@ private:
void onCancelClick( wxCommandEvent& aEvent ) override;
void onOkClick( wxCommandEvent& aEvent ) override;
void OnInitDlg( wxInitDialogEvent& event )
void OnInitDlg( wxInitDialogEvent& event ) override
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();

View File

@ -88,9 +88,9 @@ public:
wxArrayString FootprintEnumerate( const wxString& aLibraryPath, const PROPERTIES* aProperties = NULL) override;
MODULE* FootprintLoad( const wxString& aLibraryPath, const wxString& aFootprintName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
bool IsFootprintLibWritable( const wxString& aLibraryPath )
bool IsFootprintLibWritable( const wxString& aLibraryPath ) override
{
return false; // until someone writes others like FootprintSave(), etc.
}

View File

@ -1618,34 +1618,34 @@ public:
private:
int getNumberOfItemsToArray() const //override
int getNumberOfItemsToArray() const override
{
// only handle single items
return (m_item != NULL) ? 1 : 0;
}
BOARD_ITEM* getNthItemToArray( int n ) const //override
BOARD_ITEM* getNthItemToArray( int n ) const override
{
wxASSERT_MSG( n == 0, "Legacy array tool can only handle a single item" );
return m_item;
}
BOARD* getBoard() const //override
BOARD* getBoard() const override
{
return m_parent.GetBoard();
}
MODULE* getModule() const //override
MODULE* getModule() const override
{
return dynamic_cast<MODULE*>( m_item->GetParent() );
}
wxPoint getRotationCentre() const //override
wxPoint getRotationCentre() const override
{
return m_item->GetCenter();
}
void finalise() // override
void finalise() override
{
m_parent.GetCanvas()->Refresh();
}

View File

@ -153,11 +153,11 @@ private:
bool GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KEY aHotKey = 0 ) override;
void LoadSettings( wxConfigBase* aCfg ); // override virtual
void SaveSettings( wxConfigBase* aCfg ); // override virtual
void LoadSettings( wxConfigBase* aCfg ) override;
void SaveSettings( wxConfigBase* aCfg ) override;
///> @copydoc EDA_DRAW_FRAME::GetHotKeyDescription()
EDA_HOTKEY* GetHotKeyDescription( int ) const { return NULL; }
EDA_HOTKEY* GetHotKeyDescription( int ) const override { return NULL; }
/**
* Function OnActivate
@ -195,9 +195,9 @@ private:
* Virtual functions, not used here, but needed by PCB_BASE_FRAME
* (virtual pure functions )
*/
void OnLeftDClick( wxDC*, const wxPoint& ) {}
void SaveCopyInUndoList( BOARD_ITEM*, UNDO_REDO_T, const wxPoint& ) {}
void SaveCopyInUndoList( const PICKED_ITEMS_LIST&, UNDO_REDO_T, const wxPoint& ) {}
void OnLeftDClick( wxDC*, const wxPoint& ) override {}
void SaveCopyInUndoList( BOARD_ITEM*, UNDO_REDO_T, const wxPoint& ) override {}
void SaveCopyInUndoList( const PICKED_ITEMS_LIST&, UNDO_REDO_T, const wxPoint& ) override {}
DECLARE_EVENT_TABLE()

View File

@ -168,16 +168,16 @@ public:
const wxString GetFileExtension() const override;
wxArrayString FootprintEnumerate( const wxString& aLibraryPath,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
MODULE* FootprintLoad( const wxString& aLibraryPath,
const wxString& aFootprintName, const PROPERTIES* aProperties );
const wxString& aFootprintName, const PROPERTIES* aProperties ) override;
void FootprintSave( const wxString& aLibraryPath, const MODULE* aFootprint,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void FootprintDelete( const wxString& aLibraryPath, const wxString& aFootprintName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
bool IsFootprintLibWritable( const wxString& aLibraryPath ) override;

View File

@ -60,7 +60,7 @@ public:
{
}
wxString GetSupportedTags()
wxString GetSupportedTags() override
{
return "A";
}
@ -95,12 +95,12 @@ public:
}
// virtual pure from wxHtmlParser, do nothing here, but needed.
void AddText( const wxString& aText ){}
void AddText( const wxString& aText ) override {}
// Our "AddText" used to store selected text (the url link)
void AddString( const wxString& aText );
wxObject* GetProduct()
wxObject* GetProduct() override
{
return NULL;
}

View File

@ -52,24 +52,24 @@ public:
//-----<PLUGIN API>---------------------------------------------------------
const wxString PluginName() const
const wxString PluginName() const override
{
return wxT( "Geda PCB" );
}
const wxString GetFileExtension() const
const wxString GetFileExtension() const override
{
return wxT( "fp" );
}
wxArrayString FootprintEnumerate( const wxString& aLibraryPath,
const PROPERTIES* aProperties = NULL);
const PROPERTIES* aProperties = NULL) override;
MODULE* FootprintLoad( const wxString& aLibraryPath, const wxString& aFootprintName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void FootprintDelete( const wxString& aLibraryPath, const wxString& aFootprintName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
bool FootprintLibDelete( const wxString& aLibraryPath, const PROPERTIES* aProperties = NULL ) override;

View File

@ -55,7 +55,7 @@ private:
static LAYER_NUM m_layer;
// Virtual event handlers
void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
void OnCancelClick( wxCommandEvent& event ) override { event.Skip(); }
void OnOKClick( wxCommandEvent& event ) override;
void OnBrowseDxfFiles( wxCommandEvent& event ) override;
void OriginOptionOnUpdateUI( wxUpdateUIEvent& event ) override;

View File

@ -107,70 +107,70 @@ private:
// is read in dxf file
// Depending of the application, they can do something or not
virtual void addHeader( const DRW_Header* aData ) override;
virtual void addLType( const DRW_LType& aData ) {}
virtual void addLType( const DRW_LType& aData ) override {}
virtual void addLayer( const DRW_Layer& aData ) override;
virtual void addDimStyle( const DRW_Dimstyle& aData ) {}
virtual void addBlock( const DRW_Block& aData ) {}
virtual void endBlock() {}
virtual void addPoint( const DRW_Point& aData ) {}
virtual void addDimStyle( const DRW_Dimstyle& aData ) override {}
virtual void addBlock( const DRW_Block& aData ) override {}
virtual void endBlock() override {}
virtual void addPoint( const DRW_Point& aData ) override {}
virtual void addLine( const DRW_Line& aData) override;
virtual void addRay( const DRW_Ray& aData ) {}
virtual void addXline( const DRW_Xline& aData ) {}
virtual void addRay( const DRW_Ray& aData ) override {}
virtual void addXline( const DRW_Xline& aData ) override {}
virtual void addCircle( const DRW_Circle& aData ) override;
virtual void addArc( const DRW_Arc& aData ) override;
virtual void addEllipse( const DRW_Ellipse& aData ) {}
virtual void addEllipse( const DRW_Ellipse& aData ) override {}
virtual void addLWPolyline( const DRW_LWPolyline& aData ) override;
virtual void addText( const DRW_Text& aData ) override;
virtual void addPolyline( const DRW_Polyline& aData ) override;
virtual void addSpline( const DRW_Spline* aData ) {}
virtual void addKnot( const DRW_Entity&) {}
virtual void addInsert( const DRW_Insert& aData ){}
virtual void addTrace( const DRW_Trace& aData ){}
virtual void addSolid( const DRW_Solid& aData ){}
virtual void addSpline( const DRW_Spline* aData ) override {}
virtual void addKnot( const DRW_Entity&) override {}
virtual void addInsert( const DRW_Insert& aData ) override {}
virtual void addTrace( const DRW_Trace& aData ) override {}
virtual void addSolid( const DRW_Solid& aData ) override {}
virtual void addMText( const DRW_MText& aData) override;
virtual void addDimAlign( const DRW_DimAligned* aData ) {}
virtual void addDimLinear( const DRW_DimLinear* aData ) {}
virtual void addDimRadial( const DRW_DimRadial* aData ) {}
virtual void addDimDiametric( const DRW_DimDiametric* aData ) {}
virtual void addDimAngular( const DRW_DimAngular* aData ) {}
virtual void addDimAngular3P( const DRW_DimAngular3p* aData ) {}
virtual void addDimOrdinate( const DRW_DimOrdinate* aData ) {}
virtual void addLeader( const DRW_Leader* aData ) {}
virtual void addHatch( const DRW_Hatch* aData ) {}
virtual void addImage( const DRW_Image* aData ) {}
virtual void linkImage( const DRW_ImageDef* aData ) {}
virtual void addDimAlign( const DRW_DimAligned* aData ) override {}
virtual void addDimLinear( const DRW_DimLinear* aData ) override {}
virtual void addDimRadial( const DRW_DimRadial* aData ) override {}
virtual void addDimDiametric( const DRW_DimDiametric* aData ) override {}
virtual void addDimAngular( const DRW_DimAngular* aData ) override {}
virtual void addDimAngular3P( const DRW_DimAngular3p* aData ) override {}
virtual void addDimOrdinate( const DRW_DimOrdinate* aData ) override {}
virtual void addLeader( const DRW_Leader* aData ) override {}
virtual void addHatch( const DRW_Hatch* aData ) override {}
virtual void addImage( const DRW_Image* aData ) override {}
virtual void linkImage( const DRW_ImageDef* aData ) override {}
virtual void add3dFace( const DRW_3Dface& aData ) {}
virtual void addComment( const char*) {}
virtual void add3dFace( const DRW_3Dface& aData ) override {}
virtual void addComment( const char*) override {}
virtual void addVport( const DRW_Vport& aData ) {}
virtual void addVport( const DRW_Vport& aData ) override {}
virtual void addTextStyle( const DRW_Textstyle& aData ) override;
virtual void addViewport( const DRW_Viewport& aData ) {}
virtual void addViewport( const DRW_Viewport& aData ) override {}
virtual void setBlock( const int aHandle ) {}
virtual void setBlock( const int aHandle ) override {}
static wxString toDxfString( const wxString& aStr );
static wxString toNativeString( const wxString& aData );
// These functions are not used in Kicad.
// But because they are virtual pure in DRW_Interface, they should be defined
virtual void writeTextstyles() {}
virtual void writeVports() {}
virtual void writeHeader( DRW_Header& aData ) {}
virtual void writeEntities() {}
virtual void writeLTypes() {}
virtual void writeLayers() {}
virtual void writeBlockRecords() {}
virtual void writeBlocks() {}
virtual void writeDimstyles() {}
virtual void writeTextstyles() override {}
virtual void writeVports() override {}
virtual void writeHeader( DRW_Header& aData ) override {}
virtual void writeEntities() override {}
virtual void writeLTypes() override {}
virtual void writeLayers() override {}
virtual void writeBlockRecords() override {}
virtual void writeBlocks() override {}
virtual void writeDimstyles() override {}
void writeLine();
void writeMtext();
virtual void addAppId( const DRW_AppId& data ) {}
virtual void writeAppId() {}
virtual void addAppId( const DRW_AppId& data ) override {}
virtual void writeAppId() override {}
};
#endif // FILTERDXFRW_H

View File

@ -91,12 +91,12 @@ public:
//-----<PLUGIN API>---------------------------------------------------------
const wxString PluginName() const
const wxString PluginName() const override
{
return wxT( "KiCad" );
}
const wxString GetFileExtension() const
const wxString GetFileExtension() const override
{
// Would have used wildcards_and_files_ext.cpp's KiCadPcbFileExtension,
// but to be pure, a plugin should not assume that it will always be linked
@ -106,18 +106,18 @@ public:
}
void Save( const wxString& aFileName, BOARD* aBoard,
const PROPERTIES* aProperties = NULL ); // overload
const PROPERTIES* aProperties = NULL ) override;
BOARD* Load( const wxString& aFileName, BOARD* aAppendToMe, const PROPERTIES* aProperties = NULL ) override;
wxArrayString FootprintEnumerate( const wxString& aLibraryPath,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
MODULE* FootprintLoad( const wxString& aLibraryPath, const wxString& aFootprintName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void FootprintSave( const wxString& aLibraryPath, const MODULE* aFootprint,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
void FootprintDelete( const wxString& aLibraryPath, const wxString& aFootprintName, const PROPERTIES* aProperties = NULL ) override;

View File

@ -71,24 +71,24 @@ public:
//-----<PLUGIN IMPLEMENTATION>----------------------------------------------
const wxString PluginName() const
const wxString PluginName() const override
{
return wxT( "KiCad-Legacy" );
}
const wxString GetFileExtension() const
const wxString GetFileExtension() const override
{
return wxT( "brd" );
}
BOARD* Load( const wxString& aFileName, BOARD* aAppendToMe,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
wxArrayString FootprintEnumerate( const wxString& aLibraryPath,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
MODULE* FootprintLoad( const wxString& aLibraryPath, const wxString& aFootprintName,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
bool FootprintLibDelete( const wxString& aLibraryPath, const PROPERTIES* aProperties = NULL ) override;

View File

@ -57,14 +57,14 @@ public:
///> @copydoc PCB_BASE_FRAME::GetModel()
BOARD_ITEM_CONTAINER* GetModel() const override;
BOARD_DESIGN_SETTINGS& GetDesignSettings() const; // overload PCB_BASE_FRAME, get parent's
void SetDesignSettings( const BOARD_DESIGN_SETTINGS& aSettings ); // overload
BOARD_DESIGN_SETTINGS& GetDesignSettings() const override;
void SetDesignSettings( const BOARD_DESIGN_SETTINGS& aSettings ) override;
const PCB_PLOT_PARAMS& GetPlotSettings() const; // overload PCB_BASE_FRAME, get parent's
void SetPlotSettings( const PCB_PLOT_PARAMS& aSettings ); // overload
const PCB_PLOT_PARAMS& GetPlotSettings() const override;
void SetPlotSettings( const PCB_PLOT_PARAMS& aSettings ) override;
void LoadSettings( wxConfigBase* aCfg ); // Virtual
void SaveSettings( wxConfigBase* aCfg ); // Virtual
void LoadSettings( wxConfigBase* aCfg ) override;
void SaveSettings( wxConfigBase* aCfg ) override;
/**
* Function GetConfigurationSettings
@ -233,7 +233,7 @@ public:
* @param aData = a pointer on an auxiliary data (NULL if not used)
*/
virtual void PrintPage( wxDC* aDC, LSET aPrintMaskLayer, bool aPrintMirrorMode,
void * aData = NULL);
void * aData = NULL) override;
// BOARD handling
@ -504,7 +504,7 @@ private:
* Duplicate the item under the cursor
* @param aIncrement increment the number of pad (if that is what is selected)
*/
void duplicateItems( bool aIncrement ); //override
void duplicateItems( bool aIncrement ) override;
};
#endif // MODULE_EDITOR_FRAME_H_

View File

@ -119,8 +119,8 @@ private:
*/
bool OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition, EDA_ITEM* aItem = NULL ) override;
void LoadSettings( wxConfigBase* aCfg ); // override virtual
void SaveSettings( wxConfigBase* aCfg ); // override virtual
void LoadSettings( wxConfigBase* aCfg ) override;
void SaveSettings( wxConfigBase* aCfg ) override;
/**
* Function OnActivate
@ -173,9 +173,9 @@ private:
* Virtual functions, not used here, but needed by PCB_BASE_FRAME
* (virtual pure functions )
*/
void OnLeftDClick( wxDC*, const wxPoint& ) {}
void SaveCopyInUndoList( BOARD_ITEM*, UNDO_REDO_T, const wxPoint& ) {}
void SaveCopyInUndoList( const PICKED_ITEMS_LIST&, UNDO_REDO_T, const wxPoint &) {}
void OnLeftDClick( wxDC*, const wxPoint& ) override {}
void SaveCopyInUndoList( BOARD_ITEM*, UNDO_REDO_T, const wxPoint& ) override {}
void SaveCopyInUndoList( const PICKED_ITEMS_LIST&, UNDO_REDO_T, const wxPoint &) override {}
void updateView();

View File

@ -43,7 +43,7 @@ public:
BOARD* Load( const wxString& aFileName,
BOARD* aAppendToMe,
const PROPERTIES* aProperties = NULL );
const PROPERTIES* aProperties = NULL ) override;
const wxString GetFileExtension() const override;

View File

@ -46,7 +46,7 @@ public:
virtual bool Parse( XNODE* aNode,
wxString aDefaultMeasurementUnit,
wxString aActualConversion,
wxStatusBar* aStatusBar );
wxStatusBar* aStatusBar ) override;
};
} // namespace PCAD2KICAD

View File

@ -51,7 +51,7 @@ public:
virtual void Parse( XNODE* aNode,
wxString aDefaultMeasurementUnit,
wxString aActualConversion );
virtual void Flip();
virtual void Flip() override;
void AddToModule( MODULE* aModule, int aRotation, bool aEncapsulatedPad );
void AddToBoard() override;

View File

@ -45,7 +45,7 @@ public:
virtual bool Parse( XNODE* aNode,
wxString aDefaultMeasurementUnit,
wxString aActualConversion,
wxStatusBar* aStatusBar );
wxStatusBar* aStatusBar ) override;
};
} // namespace PCAD2KICAD

Some files were not shown because too many files have changed in this diff Show More