Library search path fixes, library configuration dialog fixes, and code cleaning.

Added application method to fix searching for user libraries.
Fixed documentation search path bug.
Moved auto pan setting from draw frame to draw panel were it is defined.
Some minor device context drawing changes.
This commit is contained in:
stambaughw
2009-04-08 18:06:22 +00:00
parent cf752a5812
commit dfb88c6495
19 changed files with 109 additions and 96 deletions
+3 -11
View File
@@ -401,17 +401,9 @@ void GRPutPixel( EDA_Rect* ClipBox, wxDC* DC, int x, int y, int Color )
void GRSPutPixel( EDA_Rect* ClipBox, wxDC* DC, int x, int y, int Color )
/********************************************************************/
{
if( ClipBox ) /* suppression des pixels hors ecran */
{
if( x < ClipBox->GetX() )
return;
if( y < ClipBox->GetY() )
return;
if( x > ( ClipBox->GetRight() ) )
return;
if( y > ( ClipBox->GetBottom() ) )
return;
}
if( ClipBox && !ClipBox->Inside( x, y ) )
return;
GRSetColorPen( DC, Color );
DC->DrawPoint( x, y );
}