Loading common/wx_status_popup.cpp +9 −7 Original line number Diff line number Diff line Loading @@ -29,35 +29,37 @@ #include <wx_status_popup.h> #include <wxPcbStruct.h> WX_STATUS_POPUP::WX_STATUS_POPUP ( PCB_EDIT_FRAME *parent ) : wxPopupWindow ( parent ) WX_STATUS_POPUP::WX_STATUS_POPUP( PCB_EDIT_FRAME* aParent ) : wxPopupWindow( aParent ) { m_panel = new wxPanel( this, wxID_ANY ); m_panel->SetBackgroundColour( *wxLIGHT_GREY ); m_topSizer = new wxBoxSizer( wxVERTICAL ); m_panel->SetSizer( m_topSizer ); } void WX_STATUS_POPUP::updateSize() { m_topSizer->Fit( m_panel ); SetClientSize( m_panel->GetSize() ); } WX_STATUS_POPUP::~WX_STATUS_POPUP() { } void WX_STATUS_POPUP::Popup(wxWindow *focus) void WX_STATUS_POPUP::Popup( wxWindow* ) { Show( true ); Raise(); } void WX_STATUS_POPUP::Move( const wxPoint& aWhere ) { SetPosition ( aWhere ); } No newline at end of file common/wx_unit_binder.cpp +12 −9 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ WX_UNIT_BINDER::~WX_UNIT_BINDER() { } void WX_UNIT_BINDER::SetValue( int aValue ) { wxString s = StringFromValue( m_units, aValue, false ); Loading @@ -59,6 +60,7 @@ void WX_UNIT_BINDER::SetValue( int aValue ) m_unitLabel->SetLabel( GetAbbreviatedUnitsLabel( m_units ) ); } int WX_UNIT_BINDER::GetValue() const { wxString s = m_textCtrl->GetValue(); Loading @@ -66,6 +68,7 @@ int WX_UNIT_BINDER::GetValue() const return ValueFromString( m_units, s ); } void WX_UNIT_BINDER::Enable( bool aEnable ) { m_textCtrl->Enable( aEnable ); Loading include/class_collector.h +1 −2 Original line number Diff line number Diff line Loading @@ -257,7 +257,6 @@ public: return cnt; } /** * Function Collect * scans an EDA_ITEM using this class's Inspector method, which does Loading include/gal/opengl/vertex_item.h +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ public: /** * Function GetSize() * Returns information about number of vertices stored. * @param Number of vertices. * @return Number of vertices. */ inline unsigned int GetSize() const { Loading include/geometry/seg.h +17 −20 Original line number Diff line number Diff line Loading @@ -320,7 +320,6 @@ private: int m_index; }; inline VECTOR2I SEG::LineProject( const VECTOR2I& aP ) const { VECTOR2I d = B - A; Loading @@ -337,7 +336,6 @@ inline VECTOR2I SEG::LineProject( const VECTOR2I& aP ) const return A + VECTOR2I( xp, yp ); } inline int SEG::LineDistance( const VECTOR2I& aP, bool aDetermineSide ) const { ecoord p = A.y - B.y; Loading Loading @@ -376,7 +374,6 @@ inline const VECTOR2I SEG::NearestPoint( const VECTOR2I& aP ) const return A + VECTOR2I( xp, yp ); } inline std::ostream& operator<<( std::ostream& aStream, const SEG& aSeg ) { aStream << "[ " << aSeg.A << " - " << aSeg.B << " ]"; Loading Loading
common/wx_status_popup.cpp +9 −7 Original line number Diff line number Diff line Loading @@ -29,35 +29,37 @@ #include <wx_status_popup.h> #include <wxPcbStruct.h> WX_STATUS_POPUP::WX_STATUS_POPUP ( PCB_EDIT_FRAME *parent ) : wxPopupWindow ( parent ) WX_STATUS_POPUP::WX_STATUS_POPUP( PCB_EDIT_FRAME* aParent ) : wxPopupWindow( aParent ) { m_panel = new wxPanel( this, wxID_ANY ); m_panel->SetBackgroundColour( *wxLIGHT_GREY ); m_topSizer = new wxBoxSizer( wxVERTICAL ); m_panel->SetSizer( m_topSizer ); } void WX_STATUS_POPUP::updateSize() { m_topSizer->Fit( m_panel ); SetClientSize( m_panel->GetSize() ); } WX_STATUS_POPUP::~WX_STATUS_POPUP() { } void WX_STATUS_POPUP::Popup(wxWindow *focus) void WX_STATUS_POPUP::Popup( wxWindow* ) { Show( true ); Raise(); } void WX_STATUS_POPUP::Move( const wxPoint& aWhere ) { SetPosition ( aWhere ); } No newline at end of file
common/wx_unit_binder.cpp +12 −9 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ WX_UNIT_BINDER::~WX_UNIT_BINDER() { } void WX_UNIT_BINDER::SetValue( int aValue ) { wxString s = StringFromValue( m_units, aValue, false ); Loading @@ -59,6 +60,7 @@ void WX_UNIT_BINDER::SetValue( int aValue ) m_unitLabel->SetLabel( GetAbbreviatedUnitsLabel( m_units ) ); } int WX_UNIT_BINDER::GetValue() const { wxString s = m_textCtrl->GetValue(); Loading @@ -66,6 +68,7 @@ int WX_UNIT_BINDER::GetValue() const return ValueFromString( m_units, s ); } void WX_UNIT_BINDER::Enable( bool aEnable ) { m_textCtrl->Enable( aEnable ); Loading
include/class_collector.h +1 −2 Original line number Diff line number Diff line Loading @@ -257,7 +257,6 @@ public: return cnt; } /** * Function Collect * scans an EDA_ITEM using this class's Inspector method, which does Loading
include/gal/opengl/vertex_item.h +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ public: /** * Function GetSize() * Returns information about number of vertices stored. * @param Number of vertices. * @return Number of vertices. */ inline unsigned int GetSize() const { Loading
include/geometry/seg.h +17 −20 Original line number Diff line number Diff line Loading @@ -320,7 +320,6 @@ private: int m_index; }; inline VECTOR2I SEG::LineProject( const VECTOR2I& aP ) const { VECTOR2I d = B - A; Loading @@ -337,7 +336,6 @@ inline VECTOR2I SEG::LineProject( const VECTOR2I& aP ) const return A + VECTOR2I( xp, yp ); } inline int SEG::LineDistance( const VECTOR2I& aP, bool aDetermineSide ) const { ecoord p = A.y - B.y; Loading Loading @@ -376,7 +374,6 @@ inline const VECTOR2I SEG::NearestPoint( const VECTOR2I& aP ) const return A + VECTOR2I( xp, yp ); } inline std::ostream& operator<<( std::ostream& aStream, const SEG& aSeg ) { aStream << "[ " << aSeg.A << " - " << aSeg.B << " ]"; Loading