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:
+3
-11
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user