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-2017 Wayne Stambaugh <stambaughw@verizon.net>
5  * Copyright (C) 2004-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 {
63 
64  /* Schematic editor main menubar IDs. */
66 
67  /* Schematic editor horizontal toolbar IDs */
74 
75  /* Schematic editor veritcal toolbar IDs */
98 
99  // Toolbar options id:
102 
103  /* Schematic editor context menu IDs. */
105 
117 
119 
137 
139 
140  // Unit select context menus command IDs.
143  // ... leave room for MAX_UNIT_COUNT_PER_PACKAGE IDs ,
144  // to select one unit among MAX_UNIT_COUNT_PER_PACKAGE in popup menu
147 
148  // Change text type context menu command IDs.
154 
157 
158  // Change orientation command IDs.
162 
171 
173 
174  // Schematic editor commmands. These are command IDs that are generated by multiple
175  // events (menus, toolbar, context menu, etc.) that result in the same event handler.
177 
179 
180  /* Library editor main menubar IDs. */
182 
183  /* Library editor horizontal toolbar IDs. */
199 
202 
203  /* Library editor vertical toolbar IDs. */
214 
215  /* Change orientation command ID */
220 
221  /* Library editor context menu IDs */
235 
236  /* Library editor toolbar options IDs */
238 
239  /* Library editor menubar IDs */
243 
244  /* Library viewer horizontal toolbar IDs */
259 
262 
269 
271 
272 };
273 
274 
275 #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