KiCad PCB EDA Suite
3d_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) 2013-2016 CERN
5  * Copyright (C) 2018 KiCad Developers, see AUTHORS.txt for contributors.
6  * @author Maciej Suminski <maciej.suminski@cern.ch>
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, you may find one here:
20  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21  * or you may search the http://www.gnu.org website for the version 2 license,
22  * or you may write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24  */
25 
26 #ifndef EDA_3D_ACTIONS_H
27 #define EDA_3D_ACTIONS_H
28 
29 #include <tool/tool_action.h>
30 #include <tool/actions.h>
31 #include <core/optional.h>
32 
33 class TOOL_EVENT;
34 class TOOL_MANAGER;
35 
41 class EDA_3D_ACTIONS : public ACTIONS
42 {
43 public:
51 
58 
65 
67  virtual OPT<TOOL_EVENT> TranslateLegacyId( int aId ) override { return OPT<TOOL_EVENT>(); }
68 };
69 
70 #endif
virtual OPT< TOOL_EVENT > TranslateLegacyId(int aId) override
Definition: 3d_actions.h:67
static TOOL_ACTION homeView
Definition: 3d_actions.h:49
static TOOL_ACTION pivotCenter
Definition: 3d_actions.h:44
static TOOL_ACTION zoomIn
Definition: 3d_actions.h:60
Class EDA_3D_ACTIONS.
Definition: 3d_actions.h:41
static TOOL_ACTION attributesVirtual
Definition: 3d_actions.h:64
static TOOL_ACTION resetView
Definition: 3d_actions.h:50
static TOOL_ACTION viewRight
Definition: 3d_actions.h:55
static TOOL_ACTION viewLeft
Definition: 3d_actions.h:54
static TOOL_ACTION zoomOut
Definition: 3d_actions.h:61
Class TOOL_MANAGER.
Definition: tool_manager.h:50
static TOOL_ACTION rotate45axisZ
Definition: 3d_actions.h:59
static TOOL_ACTION moveLeft
Definition: 3d_actions.h:45
Class TOOL_EVENT.
Definition: tool_event.h:171
static TOOL_ACTION viewBottom
Definition: 3d_actions.h:57
static TOOL_ACTION viewTop
Definition: 3d_actions.h:56
static TOOL_ACTION viewBack
Definition: 3d_actions.h:53
static TOOL_ACTION attributesSMD
Definition: 3d_actions.h:63
static TOOL_ACTION moveDown
Definition: 3d_actions.h:48
static TOOL_ACTION attributesTHT
Definition: 3d_actions.h:62
static TOOL_ACTION viewFront
Definition: 3d_actions.h:52
Class TOOL_ACTION.
Definition: tool_action.h:46
static TOOL_ACTION moveUp
Definition: 3d_actions.h:47
boost::optional< T > OPT
Definition: optional.h:7
Class ACTIONS.
Definition: actions.h:43
static TOOL_ACTION moveRight
Definition: 3d_actions.h:46