KiCad PCB EDA Suite
eeschema_id.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) 2008 Wayne Stambaugh <stambaughw@gmail.com>
5  * Copyright (C) 2008-2017 KiCad Developers, see change_log.txt for contributors.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, you may find one here:
19  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20  * or you may search the http://www.gnu.org website for the version 2 license,
21  * or you may write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23  */
24 
29 #ifndef __EESCHEMA_ID_H__
30 #define __EESCHEMA_ID_H__
31 
32 
33 #include <id.h>
34 
35 
42 #define MAX_SELECT_ITEM_IDS 200
43 
49 #define MAX_UNIT_COUNT_PER_PACKAGE 676
50 
51 
61 {
65 
66  /* Schematic editor main menubar IDs. */
72 
73  /* Schematic editor horizontal toolbar IDs */
81 
82  /* Schematic editor vertical toolbar IDs */
104 
105  // Schematic editor menu place IDs (equivalent to vertical toolbar IDs
106  // for submenus.
107  // On Windows we cannot use the same ID for 2 items in the same frame.
108  // Usually it creates issues (wxASSERTS, item not displayed, ...)
129 
130  // Toolbar options id:
133 
134  /* Schematic editor context menu IDs. */
136 
148 
150 
168 
171 
172  // Unit select context menus command IDs.
175  // ... leave room for MAX_UNIT_COUNT_PER_PACKAGE IDs ,
176  // to select one unit among MAX_UNIT_COUNT_PER_PACKAGE in popup menu
179 
180  // Change text type context menu command IDs.
186 
189 
190  // Change orientation command IDs.
194 
203 
205 
206  // Schematic editor commmands. These are command IDs that are generated by multiple
207  // events (menus, toolbar, context menu, etc.) that result in the same event handler.
209 
211 
212  /* Library editor: edit events */
228 
229  /* Library editor horizontal toolbar IDs. */
237 
240 
241  /* Library editor vertical toolbar IDs. */
252 
253  /* Change orientation command ID */
258 
259  /* Library editor context menu IDs */
273 
274  /* Library editor toolbar options IDs */
277 
278  /* Library editor menubar IDs */
281 
282  /* Library viewer horizontal toolbar IDs */
297 
300 
307 
309 };
310 
311 
312 #endif /* __EESCHEMA_ID_H__ */
#define MAX_SELECT_ITEM_IDS
The maximum number of items in the clarify selection context menu.
Definition: eeschema_id.h:42
#define MAX_UNIT_COUNT_PER_PACKAGE
The maximum number of units per package.
Definition: eeschema_id.h:49
id_eeschema_frm
Command IDs for the schematic editor.
Definition: eeschema_id.h:60