Schematic object hit testing improvements.

This commit is contained in:
Wayne Stambaugh
2010-12-13 10:59:00 -05:00
parent 95f3d88ba7
commit a8a99abefe
22 changed files with 373 additions and 167 deletions
+9
View File
@@ -94,3 +94,12 @@ bool SCH_ITEM::Matches( const wxString& aText, wxFindReplaceData& aSearchData )
return text.MakeUpper().Find( searchText.MakeUpper() ) != wxNOT_FOUND;
}
bool SCH_ITEM::IsConnected( const wxPoint& aPosition ) const
{
if( m_Flags & STRUCT_DELETED || m_Flags & SKIP_STRUCT )
return false;
return DoIsConnected( aPosition );
}