KiCad PCB EDA Suite
gerbview_actions.h
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2017 Jon Evans <jon@craftyjon.com>
5  * Copyright (C) 2017 KiCad Developers, see AUTHORS.txt for contributors.
6  *
7  * This program is free software: you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by the
9  * Free Software Foundation, either version 3 of the License, or (at your
10  * option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef __GERBVIEW_ACTIONS_H
22 #define __GERBVIEW_ACTIONS_H
23 
24 #include <tool/tool_action.h>
25 #include <tool/actions.h>
26 #include <core/optional.h>
27 
28 class TOOL_EVENT;
29 class TOOL_MANAGER;
30 
37 class GERBVIEW_ACTIONS : public ACTIONS
38 {
39 public:
40  // Selection Tool
43 
46 
49 
52 
55 
58 
59  // Display modes
66 
67  // Layer control
70 
71  static TOOL_ACTION layerChanged; // notification
72 
73  // Highlighting
78 
80  virtual OPT<TOOL_EVENT> TranslateLegacyId( int aId ) override;
81 };
82 
83 #endif // __GERBVIEW_ACTIONS_H
static TOOL_ACTION selectionClear
Clears the current selection.
static TOOL_ACTION layerChanged
static TOOL_ACTION selectionCursor
Select a single item under the cursor position.
static TOOL_ACTION layerNext
static TOOL_ACTION selectItem
Selects an item (specified as the event parameter).
static TOOL_ACTION highlightNet
static TOOL_ACTION layerPrev
static TOOL_ACTION dcodeDisplay
static TOOL_ACTION negativeObjectDisplay
GERBVIEW_ACTIONS.
static TOOL_ACTION toggleDiffMode
TOOL_MANAGER.
Definition: tool_manager.h:50
static TOOL_ACTION highlightAttribute
static TOOL_ACTION linesDisplayOutlines
TOOL_EVENT.
Definition: tool_event.h:171
static TOOL_ACTION properties
Activation of the edit tool.
static TOOL_ACTION flashedDisplayOutlines
static TOOL_ACTION highlightClear
static TOOL_ACTION selectionActivate
Activation of the selection tool.
static TOOL_ACTION unselectItem
Unselects an item (specified as the event parameter).
static TOOL_ACTION polygonsDisplayOutlines
TOOL_ACTION.
Definition: tool_action.h:46
boost::optional< T > OPT
Definition: optional.h:7
virtual OPT< TOOL_EVENT > TranslateLegacyId(int aId) override
ACTIONS.
Definition: actions.h:43
static TOOL_ACTION highlightComponent