diff --git a/common/gal/opengl/opengl_gal.cpp b/common/gal/opengl/opengl_gal.cpp index 0cf507b256..ad485bb57e 100644 --- a/common/gal/opengl/opengl_gal.cpp +++ b/common/gal/opengl/opengl_gal.cpp @@ -601,8 +601,6 @@ void OPENGL_GAL::DrawArcSegment( const VECTOR2D& aCenterPoint, double aRadius, d SWAP( aStartAngle, >, aEndAngle ); const double alphaIncrement = calcAngleStep( aRadius ); -printf( "st %f end %f alphaIncrement = %f\n", -aStartAngle * 180/M_PI, aEndAngle * 180/M_PI, alphaIncrement * 180/M_PI); Save(); currentManager->Translate( aCenterPoint.x, aCenterPoint.y, 0.0 ); diff --git a/gerbview/tools/gerbview_control.cpp b/gerbview/tools/gerbview_control.cpp index 511771ce42..e806b823c8 100644 --- a/gerbview/tools/gerbview_control.cpp +++ b/gerbview/tools/gerbview_control.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include "gerbview_actions.h" #include "gerbview_control.h" @@ -37,19 +38,19 @@ TOOL_ACTION GERBVIEW_ACTIONS::layerChanged( "gerbview.Control.layerChanged", TOOL_ACTION GERBVIEW_ACTIONS::highlightClear( "gerbview.Control.highlightClear", AS_GLOBAL, 0, - _( "Clear Highlight" ), "" ); + _( "Clear Highlight" ), "", gerbview_clear_layers_xpm ); TOOL_ACTION GERBVIEW_ACTIONS::highlightNet( "gerbview.Control.highlightNet", AS_GLOBAL, 0, - _( "Highlight Net" ), "" ); + _( "Highlight Net" ), "", general_ratsnest_xpm ); TOOL_ACTION GERBVIEW_ACTIONS::highlightComponent( "gerbview.Control.highlightComponent", AS_GLOBAL, 0, - _( "Highlight Component" ), "" ); + _( "Highlight Component" ), "", file_footprint_xpm ); TOOL_ACTION GERBVIEW_ACTIONS::highlightAttribute( "gerbview.Control.highlightAttribute", AS_GLOBAL, 0, - _( "Highlight Attribute" ), "" ); + _( "Highlight Attribute" ), "", flag_xpm ); GERBVIEW_CONTROL::GERBVIEW_CONTROL() : TOOL_INTERACTIVE( "gerbview.Control" ), m_frame( NULL )