KiCad PCB EDA Suite
tool_onrightclick.cpp
Go to the documentation of this file.
1 
5 /*
6  * This program source code file is part of KiCad, a free EDA CAD application.
7  *
8  * Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr
9  * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
10  * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors.
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, you may find one here:
24  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
25  * or you may search the http://www.gnu.org website for the version 2 license,
26  * or you may write to the Free Software Foundation, Inc.,
27  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
28  */
29 
30 #include <fctsys.h>
31 #include <confirm.h>
32 #include <pcbnew.h>
33 #include <pcb_edit_frame.h>
34 #include <footprint_edit_frame.h>
35 #include <pcbnew_id.h>
36 
37 
38 void PCB_EDIT_FRAME::ToolOnRightClick( wxCommandEvent& event )
39 {
40  if( event.GetSelection() == ID_PCB_PLACE_GRID_COORD_BUTT )
42 }
43 
44 
45 void FOOTPRINT_EDIT_FRAME::ToolOnRightClick( wxCommandEvent& event )
46 {
47  if( event.GetSelection() == ID_PCB_PLACE_GRID_COORD_BUTT )
49 }
This file is part of the common library.
void ToolOnRightClick(wxCommandEvent &event) override
Definition of class FOOTPRINT_EDIT_FRAME.
void ToolOnRightClick(wxCommandEvent &event) override