2013-09-27 18:52:34 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
2016-05-04 12:59:14 +00:00
|
|
|
* Copyright (C) 2013-2016 CERN
|
2016-06-08 11:19:53 +00:00
|
|
|
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
|
2013-09-27 18:52:34 +00:00
|
|
|
* @author Maciej Suminski <maciej.suminski@cern.ch>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2017-02-21 12:42:08 +00:00
|
|
|
#ifndef __PCB_ACTIONS_H
|
|
|
|
#define __PCB_ACTIONS_H
|
2015-02-18 00:04:47 +00:00
|
|
|
|
2013-09-27 18:52:34 +00:00
|
|
|
#include <tool/tool_action.h>
|
2017-02-21 12:42:08 +00:00
|
|
|
#include <tool/actions.h>
|
2017-11-01 11:14:16 +00:00
|
|
|
#include <core/optional.h>
|
2014-07-09 11:50:27 +00:00
|
|
|
|
|
|
|
class TOOL_EVENT;
|
2015-02-18 00:04:47 +00:00
|
|
|
class TOOL_MANAGER;
|
2013-09-27 18:52:34 +00:00
|
|
|
|
2019-06-17 00:34:21 +00:00
|
|
|
// Type of microwave items that are "simple" - just get placed on the board directly,
|
|
|
|
// without a graphical interactive setup stage
|
|
|
|
enum MWAVE_TOOL_SIMPLE_ID
|
|
|
|
{
|
|
|
|
GAP,
|
|
|
|
STUB,
|
|
|
|
STUB_ARC,
|
|
|
|
FUNCTION_SHAPE,
|
|
|
|
};
|
|
|
|
|
2013-09-27 18:52:34 +00:00
|
|
|
/**
|
2017-02-21 12:42:08 +00:00
|
|
|
* Class PCB_ACTIONS
|
2013-09-27 18:52:34 +00:00
|
|
|
*
|
2017-02-21 12:42:08 +00:00
|
|
|
* Gathers all the actions that are shared by tools. The instance of PCB_ACTIONS is created
|
2014-02-04 15:03:56 +00:00
|
|
|
* inside of ACTION_MANAGER object that registers the actions.
|
2013-09-27 18:52:34 +00:00
|
|
|
*/
|
2017-02-21 12:42:08 +00:00
|
|
|
class PCB_ACTIONS : public ACTIONS
|
2013-09-27 18:52:34 +00:00
|
|
|
{
|
|
|
|
public:
|
2014-03-24 07:45:05 +00:00
|
|
|
// Selection Tool
|
2013-09-27 18:52:34 +00:00
|
|
|
/// Activation of the selection tool
|
|
|
|
static TOOL_ACTION selectionActivate;
|
|
|
|
|
2014-07-09 11:50:27 +00:00
|
|
|
/// Select a single item under the cursor position
|
2014-11-21 10:49:28 +00:00
|
|
|
static TOOL_ACTION selectionCursor;
|
2014-07-09 11:50:27 +00:00
|
|
|
|
|
|
|
/// Clears the current selection
|
|
|
|
static TOOL_ACTION selectionClear;
|
|
|
|
|
2014-11-21 10:50:13 +00:00
|
|
|
/// Selects an item (specified as the event parameter).
|
|
|
|
static TOOL_ACTION selectItem;
|
2019-04-12 19:18:45 +00:00
|
|
|
static TOOL_ACTION unselectItem;
|
2014-11-21 10:50:13 +00:00
|
|
|
|
2017-06-12 09:16:30 +00:00
|
|
|
/// Selects a list of items (specified as the event parameter)
|
|
|
|
static TOOL_ACTION selectItems;
|
|
|
|
static TOOL_ACTION unselectItems;
|
|
|
|
|
2018-01-28 09:35:33 +00:00
|
|
|
/// Runs a selection menu to select from a list of items
|
|
|
|
static TOOL_ACTION selectionMenu;
|
|
|
|
|
2015-05-18 11:48:10 +00:00
|
|
|
/// Selects a connection between junctions.
|
2015-03-10 08:36:04 +00:00
|
|
|
static TOOL_ACTION selectConnection;
|
|
|
|
|
2018-02-13 10:20:14 +00:00
|
|
|
/// Expands the current selection to select a connection between two junctions
|
|
|
|
static TOOL_ACTION expandSelectedConnection;
|
|
|
|
|
2015-05-18 11:48:10 +00:00
|
|
|
/// Selects whole copper connection.
|
|
|
|
static TOOL_ACTION selectCopper;
|
|
|
|
|
2015-03-10 08:36:04 +00:00
|
|
|
/// Selects all connections belonging to a single net.
|
|
|
|
static TOOL_ACTION selectNet;
|
|
|
|
|
2017-03-04 16:30:44 +00:00
|
|
|
/// Selects all components on sheet from Eeschema crossprobing.
|
|
|
|
static TOOL_ACTION selectOnSheetFromEeschema;
|
2017-03-02 23:42:23 +00:00
|
|
|
|
2017-03-04 16:30:44 +00:00
|
|
|
/// Selects all components on the same sheet as the selected footprint.
|
2017-02-08 16:32:41 +00:00
|
|
|
static TOOL_ACTION selectSameSheet;
|
2017-02-07 06:40:38 +00:00
|
|
|
|
|
|
|
/// Filters the items in the current selection (invokes dialog)
|
|
|
|
static TOOL_ACTION filterSelection;
|
|
|
|
|
2014-03-24 07:45:05 +00:00
|
|
|
// Edit Tool
|
2013-12-03 16:11:22 +00:00
|
|
|
/// Activation of the edit tool
|
|
|
|
static TOOL_ACTION editActivate;
|
|
|
|
|
2017-08-03 15:53:07 +00:00
|
|
|
/// move an item
|
|
|
|
static TOOL_ACTION move;
|
|
|
|
|
2019-04-12 19:18:45 +00:00
|
|
|
/// Rotation of selected objects
|
2017-02-04 05:09:50 +00:00
|
|
|
static TOOL_ACTION rotateCw;
|
|
|
|
static TOOL_ACTION rotateCcw;
|
2013-09-27 18:52:34 +00:00
|
|
|
|
|
|
|
/// Flipping of selected objects
|
|
|
|
static TOOL_ACTION flip;
|
2013-12-03 14:57:09 +00:00
|
|
|
|
2017-01-23 06:47:39 +00:00
|
|
|
/// Mirroring of selected items
|
|
|
|
static TOOL_ACTION mirror;
|
|
|
|
|
2013-12-03 14:57:09 +00:00
|
|
|
/// Activation of the edit tool
|
|
|
|
static TOOL_ACTION properties;
|
2013-12-09 10:01:05 +00:00
|
|
|
|
2015-02-12 03:22:24 +00:00
|
|
|
/// Activation of the exact move tool
|
|
|
|
static TOOL_ACTION moveExact;
|
|
|
|
|
|
|
|
/// Activation of the duplication tool
|
|
|
|
static TOOL_ACTION duplicate;
|
|
|
|
|
|
|
|
/// Activation of the duplication tool with incrementing (e.g. pad number)
|
|
|
|
static TOOL_ACTION duplicateIncrement;
|
|
|
|
|
2013-12-09 10:01:05 +00:00
|
|
|
/// Deleting a BOARD_ITEM
|
|
|
|
static TOOL_ACTION remove;
|
2019-06-09 21:57:23 +00:00
|
|
|
static TOOL_ACTION deleteFull;
|
2014-02-06 14:09:38 +00:00
|
|
|
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION selectLayerPair;
|
|
|
|
|
2018-12-14 03:43:51 +00:00
|
|
|
/// Break a single track into two segments at the cursor
|
2017-08-03 15:53:07 +00:00
|
|
|
static TOOL_ACTION breakTrack;
|
2018-12-14 03:43:51 +00:00
|
|
|
|
|
|
|
/// Breaks track when router is not activated
|
|
|
|
static TOOL_ACTION inlineBreakTrack;
|
|
|
|
|
2017-08-03 15:53:07 +00:00
|
|
|
static TOOL_ACTION drag45Degree;
|
|
|
|
static TOOL_ACTION dragFreeAngle;
|
|
|
|
|
|
|
|
|
2019-04-12 19:18:45 +00:00
|
|
|
// Drawing Tool Activations
|
2014-02-06 16:12:37 +00:00
|
|
|
static TOOL_ACTION drawLine;
|
2019-05-15 22:49:48 +00:00
|
|
|
static TOOL_ACTION drawPolygon;
|
2014-02-06 16:12:37 +00:00
|
|
|
static TOOL_ACTION drawCircle;
|
2014-02-10 09:58:58 +00:00
|
|
|
static TOOL_ACTION drawArc;
|
2014-07-09 12:01:06 +00:00
|
|
|
static TOOL_ACTION placeText;
|
2014-02-11 13:38:44 +00:00
|
|
|
static TOOL_ACTION drawDimension;
|
2014-02-13 15:10:32 +00:00
|
|
|
static TOOL_ACTION drawZone;
|
2017-04-22 15:46:31 +00:00
|
|
|
static TOOL_ACTION drawVia;
|
2017-04-07 09:57:02 +00:00
|
|
|
static TOOL_ACTION drawZoneKeepout;
|
2017-02-06 05:59:55 +00:00
|
|
|
static TOOL_ACTION drawZoneCutout;
|
2017-02-06 07:37:13 +00:00
|
|
|
static TOOL_ACTION drawSimilarZone;
|
2014-02-11 16:15:33 +00:00
|
|
|
static TOOL_ACTION placeTarget;
|
2014-02-13 11:46:39 +00:00
|
|
|
static TOOL_ACTION placeModule;
|
2018-11-01 09:47:41 +00:00
|
|
|
static TOOL_ACTION placeImportedGraphics;
|
2014-07-09 12:01:06 +00:00
|
|
|
static TOOL_ACTION setAnchor;
|
2019-06-17 00:34:21 +00:00
|
|
|
static TOOL_ACTION deleteLastPoint;
|
|
|
|
static TOOL_ACTION closeZoneOutline;
|
2014-07-09 12:01:06 +00:00
|
|
|
|
2014-08-04 12:23:19 +00:00
|
|
|
/// Increase width of currently drawn line
|
|
|
|
static TOOL_ACTION incWidth;
|
|
|
|
|
|
|
|
/// Decrease width of currently drawn line
|
|
|
|
static TOOL_ACTION decWidth;
|
|
|
|
|
|
|
|
/// Switch posture when drawing arc
|
|
|
|
static TOOL_ACTION arcPosture;
|
|
|
|
|
2014-03-24 07:45:05 +00:00
|
|
|
// Push and Shove Router Tool
|
2015-02-18 16:53:46 +00:00
|
|
|
|
2014-02-17 17:21:00 +00:00
|
|
|
/// Activation of the Push and Shove router
|
2015-02-18 00:29:54 +00:00
|
|
|
static TOOL_ACTION routerActivateSingle;
|
2015-02-18 16:53:46 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
/// Activation of the Push and Shove router (differential pair mode)
|
|
|
|
static TOOL_ACTION routerActivateDiffPair;
|
|
|
|
|
|
|
|
/// Activation of the Push and Shove router (tune single line mode)
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION routerTuneSingleTrace;
|
2015-02-18 00:29:54 +00:00
|
|
|
|
|
|
|
/// Activation of the Push and Shove router (diff pair tuning mode)
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION routerTuneDiffPair;
|
2015-02-18 16:53:46 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
/// Activation of the Push and Shove router (skew tuning mode)
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION routerTuneDiffPairSkew;
|
2015-02-18 00:29:54 +00:00
|
|
|
|
|
|
|
/// Activation of the Push and Shove settings dialogs
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION routerSettingsDialog;
|
|
|
|
static TOOL_ACTION routerDiffPairDialog;
|
2015-02-18 16:53:46 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
|
|
|
|
/// Activation of the Push and Shove router (inline dragging mode)
|
|
|
|
static TOOL_ACTION routerInlineDrag;
|
2017-08-31 02:35:30 +00:00
|
|
|
|
2014-03-24 07:45:05 +00:00
|
|
|
// Point Editor
|
2014-07-09 14:50:31 +00:00
|
|
|
/// Break outline (insert additional points to an edge)
|
2015-06-19 15:32:33 +00:00
|
|
|
static TOOL_ACTION pointEditorAddCorner;
|
|
|
|
|
|
|
|
/// Removes a corner
|
|
|
|
static TOOL_ACTION pointEditorRemoveCorner;
|
2014-07-09 14:50:31 +00:00
|
|
|
|
2014-07-09 12:23:13 +00:00
|
|
|
// Placement tool
|
|
|
|
static TOOL_ACTION alignTop;
|
|
|
|
static TOOL_ACTION alignBottom;
|
|
|
|
static TOOL_ACTION alignLeft;
|
|
|
|
static TOOL_ACTION alignRight;
|
2018-02-08 16:01:36 +00:00
|
|
|
static TOOL_ACTION alignCenterX;
|
|
|
|
static TOOL_ACTION alignCenterY;
|
2014-07-09 12:23:13 +00:00
|
|
|
static TOOL_ACTION distributeHorizontally;
|
|
|
|
static TOOL_ACTION distributeVertically;
|
|
|
|
|
2017-05-10 13:55:03 +00:00
|
|
|
// Position Relative Tool
|
|
|
|
/// Activation of the position relative tool
|
|
|
|
static TOOL_ACTION positionRelative;
|
2017-02-20 18:10:20 +00:00
|
|
|
|
2017-05-10 13:55:03 +00:00
|
|
|
/// Selection of anchor item for position relative tool
|
|
|
|
static TOOL_ACTION selectpositionRelativeItem;
|
2014-03-24 07:45:05 +00:00
|
|
|
|
|
|
|
// Display modes
|
2019-05-15 22:49:48 +00:00
|
|
|
static TOOL_ACTION showRatsnest;
|
2018-04-30 07:52:49 +00:00
|
|
|
static TOOL_ACTION ratsnestLineMode;
|
2014-03-24 07:45:05 +00:00
|
|
|
static TOOL_ACTION trackDisplayMode;
|
|
|
|
static TOOL_ACTION padDisplayMode;
|
|
|
|
static TOOL_ACTION viaDisplayMode;
|
2018-02-18 14:21:23 +00:00
|
|
|
static TOOL_ACTION graphicDisplayMode;
|
2014-07-09 13:02:56 +00:00
|
|
|
static TOOL_ACTION zoneDisplayEnable;
|
|
|
|
static TOOL_ACTION zoneDisplayDisable;
|
|
|
|
static TOOL_ACTION zoneDisplayOutlines;
|
2014-03-24 07:45:05 +00:00
|
|
|
|
|
|
|
// Layer control
|
|
|
|
static TOOL_ACTION layerTop;
|
|
|
|
static TOOL_ACTION layerInner1;
|
|
|
|
static TOOL_ACTION layerInner2;
|
|
|
|
static TOOL_ACTION layerInner3;
|
|
|
|
static TOOL_ACTION layerInner4;
|
|
|
|
static TOOL_ACTION layerInner5;
|
|
|
|
static TOOL_ACTION layerInner6;
|
|
|
|
static TOOL_ACTION layerBottom;
|
|
|
|
static TOOL_ACTION layerNext;
|
|
|
|
static TOOL_ACTION layerPrev;
|
|
|
|
static TOOL_ACTION layerAlphaInc;
|
|
|
|
static TOOL_ACTION layerAlphaDec;
|
2015-05-18 11:48:11 +00:00
|
|
|
static TOOL_ACTION layerToggle;
|
2014-03-24 07:45:05 +00:00
|
|
|
|
2014-07-09 14:25:50 +00:00
|
|
|
static TOOL_ACTION layerChanged; // notification
|
|
|
|
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION flipBoard;
|
|
|
|
|
2014-03-24 07:45:05 +00:00
|
|
|
// Track & via size control
|
|
|
|
static TOOL_ACTION trackWidthInc;
|
|
|
|
static TOOL_ACTION trackWidthDec;
|
|
|
|
static TOOL_ACTION viaSizeInc;
|
|
|
|
static TOOL_ACTION viaSizeDec;
|
|
|
|
|
2014-05-13 09:22:51 +00:00
|
|
|
static TOOL_ACTION trackViaSizeChanged; // notification
|
|
|
|
|
2014-07-09 14:57:01 +00:00
|
|
|
// Zone actions
|
|
|
|
static TOOL_ACTION zoneFill;
|
|
|
|
static TOOL_ACTION zoneFillAll;
|
|
|
|
static TOOL_ACTION zoneUnfill;
|
2014-12-08 22:41:47 +00:00
|
|
|
static TOOL_ACTION zoneUnfillAll;
|
2015-06-19 15:32:33 +00:00
|
|
|
static TOOL_ACTION zoneMerge;
|
2014-07-09 13:02:56 +00:00
|
|
|
|
2017-02-06 03:45:56 +00:00
|
|
|
/// Duplicate zone onto another layer
|
|
|
|
static TOOL_ACTION zoneDuplicate;
|
|
|
|
|
2019-06-03 20:06:58 +00:00
|
|
|
// Global edit tool
|
2019-06-04 20:59:59 +00:00
|
|
|
static TOOL_ACTION boardSetup;
|
2019-06-03 20:06:58 +00:00
|
|
|
static TOOL_ACTION editTracksAndVias;
|
|
|
|
static TOOL_ACTION editTextAndGraphics;
|
|
|
|
static TOOL_ACTION globalDeletions;
|
|
|
|
static TOOL_ACTION cleanupTracksAndVias;
|
|
|
|
static TOOL_ACTION updateFootprint;
|
|
|
|
static TOOL_ACTION updateFootprints;
|
|
|
|
static TOOL_ACTION changeFootprint;
|
|
|
|
static TOOL_ACTION changeFootprints;
|
|
|
|
static TOOL_ACTION swapLayers;
|
|
|
|
|
2019-06-04 20:59:59 +00:00
|
|
|
static TOOL_ACTION importNetlist;
|
|
|
|
|
|
|
|
static TOOL_ACTION importSpecctraSession;
|
|
|
|
static TOOL_ACTION exportSpecctraDSN;
|
|
|
|
|
|
|
|
static TOOL_ACTION generateGerbers;
|
|
|
|
static TOOL_ACTION generateDrillFiles;
|
|
|
|
static TOOL_ACTION generatePosFile;
|
|
|
|
static TOOL_ACTION generateReportFile;
|
|
|
|
static TOOL_ACTION generateD356File;
|
|
|
|
static TOOL_ACTION generateBOM;
|
|
|
|
|
2019-06-03 13:49:17 +00:00
|
|
|
static TOOL_ACTION listNets;
|
|
|
|
static TOOL_ACTION runDRC;
|
2019-06-04 18:46:52 +00:00
|
|
|
|
|
|
|
static TOOL_ACTION editFootprintInFpEditor;
|
2019-06-04 21:29:51 +00:00
|
|
|
static TOOL_ACTION showLayersManager;
|
|
|
|
static TOOL_ACTION showMicrowaveToolbar;
|
2019-06-03 13:49:17 +00:00
|
|
|
static TOOL_ACTION showPythonConsole;
|
|
|
|
|
2014-07-09 13:02:56 +00:00
|
|
|
// Module editor tools
|
2019-06-03 23:50:44 +00:00
|
|
|
|
2019-06-06 11:45:28 +00:00
|
|
|
static TOOL_ACTION toggleFootprintTree;
|
|
|
|
|
2019-06-04 18:46:52 +00:00
|
|
|
// We don't use ACTION::new here because we need to distinguish between New Library
|
|
|
|
// and New Footprint.
|
|
|
|
static TOOL_ACTION newFootprint;
|
|
|
|
|
|
|
|
// Create a new footprint using the Footprint Wizard
|
|
|
|
static TOOL_ACTION createFootprint;
|
|
|
|
|
|
|
|
// We don't use ACTION::save here because we need to distinguish between saving to
|
|
|
|
// the library and saving to the board (which have different tooltips and icons).
|
2019-06-03 23:50:44 +00:00
|
|
|
static TOOL_ACTION saveToBoard;
|
|
|
|
static TOOL_ACTION saveToLibrary;
|
|
|
|
|
2019-06-06 11:45:28 +00:00
|
|
|
static TOOL_ACTION editFootprint;
|
2019-06-03 23:50:44 +00:00
|
|
|
static TOOL_ACTION deleteFootprint;
|
2019-06-06 11:45:28 +00:00
|
|
|
static TOOL_ACTION cutFootprint;
|
|
|
|
static TOOL_ACTION copyFootprint;
|
|
|
|
static TOOL_ACTION pasteFootprint;
|
|
|
|
static TOOL_ACTION importFootprint;
|
|
|
|
static TOOL_ACTION exportFootprint;
|
2019-06-04 18:46:52 +00:00
|
|
|
|
2019-06-03 23:50:44 +00:00
|
|
|
static TOOL_ACTION footprintProperties;
|
2019-06-04 18:46:52 +00:00
|
|
|
static TOOL_ACTION defaultPadProperties;
|
2019-06-03 23:50:44 +00:00
|
|
|
|
2014-07-09 13:02:56 +00:00
|
|
|
/// Activation of the drawing tool (placing a PAD)
|
|
|
|
static TOOL_ACTION placePad;
|
|
|
|
|
2017-10-19 21:14:01 +00:00
|
|
|
static TOOL_ACTION createPadFromShapes;
|
|
|
|
static TOOL_ACTION explodePadToShapes;
|
|
|
|
|
2014-07-09 13:02:56 +00:00
|
|
|
/// Tool for quick pad enumeration
|
|
|
|
static TOOL_ACTION enumeratePads;
|
|
|
|
|
2015-02-12 03:22:24 +00:00
|
|
|
/// Tool for creating an array of objects
|
|
|
|
static TOOL_ACTION createArray;
|
|
|
|
|
2014-07-09 13:10:32 +00:00
|
|
|
/// Display module edges as outlines
|
|
|
|
static TOOL_ACTION moduleEdgeOutlines;
|
|
|
|
|
2017-01-21 21:06:18 +00:00
|
|
|
// Pad tools
|
2019-06-03 23:50:44 +00:00
|
|
|
|
2017-01-21 21:06:18 +00:00
|
|
|
/// Copy the selected pad's settings to the board design settings
|
2017-02-03 18:56:56 +00:00
|
|
|
static TOOL_ACTION copyPadSettings;
|
2017-01-21 21:06:18 +00:00
|
|
|
|
2019-06-04 18:46:52 +00:00
|
|
|
/// Copy the default pad settings to the selected pad
|
2017-02-03 18:56:56 +00:00
|
|
|
static TOOL_ACTION applyPadSettings;
|
2017-01-21 21:06:18 +00:00
|
|
|
|
|
|
|
/// Copy the current pad's settings to other pads in the module or on the board
|
|
|
|
static TOOL_ACTION pushPadSettings;
|
|
|
|
|
2017-02-23 06:23:17 +00:00
|
|
|
// Microwave tools
|
|
|
|
static TOOL_ACTION microwaveCreateGap;
|
|
|
|
|
|
|
|
static TOOL_ACTION microwaveCreateStub;
|
|
|
|
|
|
|
|
static TOOL_ACTION microwaveCreateStubArc;
|
|
|
|
|
|
|
|
static TOOL_ACTION microwaveCreateFunctionShape;
|
|
|
|
|
|
|
|
static TOOL_ACTION microwaveCreateLine;
|
|
|
|
|
2016-05-09 08:29:06 +00:00
|
|
|
// Locking
|
|
|
|
static TOOL_ACTION toggleLock;
|
|
|
|
static TOOL_ACTION lock;
|
|
|
|
static TOOL_ACTION unlock;
|
|
|
|
|
2014-03-24 07:45:05 +00:00
|
|
|
// Miscellaneous
|
2014-07-15 09:50:00 +00:00
|
|
|
static TOOL_ACTION selectionTool;
|
2015-06-18 15:51:51 +00:00
|
|
|
static TOOL_ACTION pickerTool;
|
2017-03-09 09:09:13 +00:00
|
|
|
static TOOL_ACTION measureTool;
|
2018-10-10 09:48:16 +00:00
|
|
|
static TOOL_ACTION updateUnits;
|
2019-05-15 22:49:48 +00:00
|
|
|
static TOOL_ACTION deleteTool;
|
2018-09-23 22:06:24 +00:00
|
|
|
static TOOL_ACTION clearHighlight;
|
2015-06-18 15:51:50 +00:00
|
|
|
static TOOL_ACTION highlightNet;
|
2019-06-12 09:34:13 +00:00
|
|
|
static TOOL_ACTION toggleLastNetHighlight;
|
2019-05-15 22:49:48 +00:00
|
|
|
static TOOL_ACTION highlightNetTool;
|
2018-03-27 03:09:38 +00:00
|
|
|
static TOOL_ACTION highlightNetSelection;
|
2015-06-18 15:51:51 +00:00
|
|
|
static TOOL_ACTION drillOrigin;
|
2015-06-26 15:32:48 +00:00
|
|
|
static TOOL_ACTION crossProbeSchToPcb;
|
2015-08-07 16:24:42 +00:00
|
|
|
static TOOL_ACTION appendBoard;
|
2019-01-01 21:54:10 +00:00
|
|
|
|
|
|
|
// Ratsnest
|
2019-05-15 22:49:48 +00:00
|
|
|
static TOOL_ACTION localRatsnestTool;
|
2019-06-03 03:22:57 +00:00
|
|
|
static TOOL_ACTION hideDynamicRatsnest;
|
2019-01-01 21:54:10 +00:00
|
|
|
static TOOL_ACTION updateLocalRatsnest;
|
2014-03-24 07:45:05 +00:00
|
|
|
|
2014-10-13 13:25:16 +00:00
|
|
|
/// Find an item
|
|
|
|
static TOOL_ACTION find;
|
|
|
|
|
2014-10-13 13:22:14 +00:00
|
|
|
/// Find an item and start moving
|
|
|
|
static TOOL_ACTION findMove;
|
|
|
|
|
2018-08-24 10:54:45 +00:00
|
|
|
static TOOL_ACTION autoplaceOffboardComponents;
|
|
|
|
static TOOL_ACTION autoplaceSelectedComponents;
|
2015-02-18 00:10:20 +00:00
|
|
|
|
2017-02-21 12:42:08 +00:00
|
|
|
///> @copydoc COMMON_ACTIONS::TranslateLegacyId()
|
2017-11-01 11:14:16 +00:00
|
|
|
virtual OPT<TOOL_EVENT> TranslateLegacyId( int aId ) override;
|
2013-09-27 18:52:34 +00:00
|
|
|
};
|
2015-02-18 00:04:47 +00:00
|
|
|
|
|
|
|
#endif
|