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 
41 #define MAX_SELECT_ITEM_IDS 10
42 
48 #define MAX_UNIT_COUNT_PER_PACKAGE 64
49 
50 
60 {
64 
65  /* Schematic editor main menubar IDs. */
70 
71  /* Schematic editor horizontal toolbar IDs */
79 
80  /* Schematic editor vertical toolbar IDs */
102 
103  // Schematic editor menu place IDs (equivalent to vertical toolbar IDs
104  // for submenus.
105  // On Windows we cannot use the same ID for 2 items in the same frame.
106  // Usually it creates issues (wxASSERTS, item not displayed, ...)
127 
128  // Toolbar options id:
131 
132  /* Schematic editor context menu IDs. */
134 
146 
148 
167 
169 
170  // Unit select context menus command IDs.
173  // ... leave room for MAX_UNIT_COUNT_PER_PACKAGE IDs ,
174  // to select one unit among MAX_UNIT_COUNT_PER_PACKAGE in popup menu
177 
178  // Change text type context menu command IDs.
184 
187 
188  // Change orientation command IDs.
192 
201 
203 
204  // Schematic editor commmands. These are command IDs that are generated by multiple
205  // events (menus, toolbar, context menu, etc.) that result in the same event handler.
207 
209 
210  /* Library editor main menubar IDs. */
212 
213  /* Library editor: library edit events */
220 
221  /* Library editor: part edit events */
233 
234  /* Library editor horizontal toolbar IDs. */
243 
246 
247  /* Library editor vertical toolbar IDs. */
258 
259  /* Change orientation command ID */
264 
265  /* Library editor context menu IDs */
279 
280  /* Library editor toolbar options IDs */
283 
284  /* Library editor menubar IDs */
287 
288  /* Library viewer horizontal toolbar IDs */
303 
306 
313 
315 };
316 
317 
318 #endif /* __EESCHEMA_ID_H__ */
#define MAX_SELECT_ITEM_IDS
The maximum number of items in the clarify selection context menu.
Definition: eeschema_id.h:41
#define MAX_UNIT_COUNT_PER_PACKAGE
The maximum number of units per package.
Definition: eeschema_id.h:48
id_eeschema_frm
Command IDs for the schematic editor.
Definition: eeschema_id.h:59