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 veritcal toolbar IDs */
102 
103  // Toolbar options id:
106 
107  /* Schematic editor context menu IDs. */
109 
121 
123 
142 
144 
145  // Unit select context menus command IDs.
148  // ... leave room for MAX_UNIT_COUNT_PER_PACKAGE IDs ,
149  // to select one unit among MAX_UNIT_COUNT_PER_PACKAGE in popup menu
152 
153  // Change text type context menu command IDs.
159 
162 
163  // Change orientation command IDs.
167 
176 
178 
179  // Schematic editor commmands. These are command IDs that are generated by multiple
180  // events (menus, toolbar, context menu, etc.) that result in the same event handler.
182 
184 
185  /* Library editor main menubar IDs. */
187 
188  /* Library editor: library edit events */
195 
196  /* Library editor: part edit events */
208 
209  /* Library editor horizontal toolbar IDs. */
218 
221 
222  /* Library editor vertical toolbar IDs. */
233 
234  /* Change orientation command ID */
239 
240  /* Library editor context menu IDs */
254 
255  /* Library editor toolbar options IDs */
258 
259  /* Library editor menubar IDs */
262 
263  /* Library viewer horizontal toolbar IDs */
278 
281 
288 
290 };
291 
292 
293 #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