Gerbview: add icons in a context menu.

gal: remove a forgotten debug line.
This commit is contained in:
jean-pierre charras 2017-10-23 16:53:42 +02:00
parent 2d6496c7f6
commit 3407c6cf27
2 changed files with 5 additions and 6 deletions

View File

@ -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 );

View File

@ -22,6 +22,7 @@
#include <gerbview_painter.h>
#include <gerbview_frame.h>
#include <tool/tool_manager.h>
#include <menus_helpers.h>
#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 )