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@verizon.net>
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 {
63 
64  /* Schematic editor main menubar IDs. */
67 
68  /* Schematic editor horizontal toolbar IDs */
75 
76  /* Schematic editor veritcal toolbar IDs */
98 
99  // Toolbar options id:
102 
103  /* Schematic editor context menu IDs. */
105 
117 
119 
138 
140 
141  // Unit select context menus command IDs.
144  // ... leave room for MAX_UNIT_COUNT_PER_PACKAGE IDs ,
145  // to select one unit among MAX_UNIT_COUNT_PER_PACKAGE in popup menu
148 
149  // Change text type context menu command IDs.
155 
158 
159  // Change orientation command IDs.
163 
172 
174 
175  // Schematic editor commmands. These are command IDs that are generated by multiple
176  // events (menus, toolbar, context menu, etc.) that result in the same event handler.
178 
180 
181  /* Library editor main menubar IDs. */
183 
184  /* Library editor horizontal toolbar IDs. */
200 
203 
204  /* Library editor vertical toolbar IDs. */
215 
216  /* Change orientation command ID */
221 
222  /* Library editor context menu IDs */
236 
237  /* Library editor toolbar options IDs */
239 
240  /* Library editor menubar IDs */
244 
245  /* Library viewer horizontal toolbar IDs */
260 
263 
270 
272 
273 };
274 
275 
276 #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