37 changed files with 135 additions and 546 deletions
-
453d-viewer/3d_viewer.h
-
53d-viewer/3d_viewer/eda_3d_viewer.h
-
6common/tool/actions.cpp
-
1cvpcb/CMakeLists.txt
-
1cvpcb/cvpcb_id.h
-
71cvpcb/display_footprints_frame.cpp
-
9cvpcb/display_footprints_frame.h
-
41cvpcb/tools/cvpcb_actions.cpp
-
11cvpcb/tools/cvpcb_actions.h
-
57cvpcb/tools/cvpcb_control.cpp
-
17cvpcb/tools/cvpcb_control.h
-
95cvpcb/tools/cvpcb_selection_tool.cpp
-
34cvpcb/tools/cvpcb_selection_tool.h
-
14include/pcb_base_frame.h
-
1include/tool/actions.h
-
2pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.cpp
-
2pcbnew/dialogs/dialog_edit_footprint_for_fp_editor.cpp
-
2pcbnew/dialogs/panel_fp_lib_table.cpp
-
2pcbnew/dialogs/wizard_3DShape_Libs_downloader.cpp
-
12pcbnew/footprint_edit_frame.cpp
-
9pcbnew/footprint_edit_frame.h
-
8pcbnew/footprint_editor_utils.cpp
-
2pcbnew/footprint_libraries_utils.cpp
-
33pcbnew/footprint_viewer_frame.cpp
-
13pcbnew/footprint_viewer_frame.h
-
45pcbnew/footprint_wizard_frame.cpp
-
12pcbnew/footprint_wizard_frame.h
-
2pcbnew/load_select_footprint.cpp
-
5pcbnew/menubar_footprint_editor.cpp
-
5pcbnew/menubar_pcb_editor.cpp
-
55pcbnew/pcb_base_frame.cpp
-
12pcbnew/pcb_edit_frame.cpp
-
6pcbnew/pcb_edit_frame.h
-
3pcbnew/pcbnew_id.h
-
18pcbnew/toolbars_footprint_viewer.cpp
-
24pcbnew/tools/pcbnew_control.cpp
-
1pcbnew/tools/pcbnew_control.h
@ -1,45 +0,0 @@ |
|||
/* |
|||
* This program source code file is part of KiCad, a free EDA CAD application. |
|||
* |
|||
* Copyright (C) 2015-2016 Mario Luzeiro <mrluzeiro@ua.pt> |
|||
* Copyright (C) 2014 Jean-Pierre Charras, jp.charras at wanadoo.fr |
|||
* Copyright (C) 2011 Wayne Stambaugh <stambaughw@verizon.net> |
|||
* Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. |
|||
* |
|||
* 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 |
|||
*/ |
|||
|
|||
/** |
|||
* @file 3d_viewer.h |
|||
* @brief Declaration of the eda_3d_viewer class |
|||
*/ |
|||
|
|||
#ifndef _3D_VIEWER_H_ |
|||
#define _3D_VIEWER_H_ |
|||
|
|||
|
|||
/// A variable name whose value holds the path of 3D shape files. |
|||
/// Currently an environment variable, eventually a project variable. |
|||
#define KISYS3DMOD wxT( "KISYS3DMOD" ) |
|||
|
|||
/// All 3D files are expected to be stored in LIB3D_FOLDER, or one of |
|||
/// its subdirectory. |
|||
#define LIB3D_FOLDER wxT( "packages3d" ) |
|||
|
|||
|
|||
#endif // _3D_VIEWER_H_ |
@ -1,41 +0,0 @@ |
|||
/*
|
|||
* This program source code file is part of KiCad, a free EDA CAD application. |
|||
* |
|||
* Copyright (C) 2013-2016 CERN |
|||
* Copyright (C) 2018-2019 KiCad Developers, see AUTHORS.txt for contributors. |
|||
* |
|||
* 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 |
|||
*/ |
|||
|
|||
#include "cvpcb_actions.h"
|
|||
#include <cvpcb_id.h>
|
|||
|
|||
|
|||
OPT<TOOL_EVENT> CVPCB_ACTIONS::TranslateLegacyId( int aId ) |
|||
{ |
|||
switch( aId ) |
|||
{ |
|||
case ID_TB_MEASUREMENT_TOOL: |
|||
return CVPCB_ACTIONS::measureTool.MakeEvent(); |
|||
|
|||
case ID_NO_TOOL_SELECTED: |
|||
return CVPCB_ACTIONS::no_selectionTool.MakeEvent(); |
|||
} |
|||
|
|||
return OPT<TOOL_EVENT>(); |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue