2012-11-28 15:24:53 +00:00
|
|
|
#ifndef PCBNEW_ID_H_
|
|
|
|
#define PCBNEW_ID_H_
|
2010-06-16 15:01:45 +00:00
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <id.h>
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Command IDs for the printed circuit board editor.
|
|
|
|
*
|
2011-09-30 18:15:37 +00:00
|
|
|
* Please add IDs that are unique to the printed circuit board editor (Pcbnew)
|
2010-06-16 15:01:45 +00:00
|
|
|
* here and not in the global id.h file. This will prevent the entire project
|
2011-09-30 18:15:37 +00:00
|
|
|
* from being rebuilt when adding new commands to the Pcbnew.
|
2010-06-16 15:01:45 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
enum pcbnew_ids
|
|
|
|
{
|
|
|
|
ID_MAIN_MENUBAR = ID_END_LIST,
|
2010-07-17 11:14:57 +00:00
|
|
|
ID_MICROWAVE_V_TOOLBAR,
|
2015-02-14 12:43:11 +00:00
|
|
|
ID_COPY_BOARD_AS,
|
2016-03-04 18:48:08 +00:00
|
|
|
ID_IMPORT_NON_KICAD_BOARD,
|
2011-02-21 13:54:29 +00:00
|
|
|
|
|
|
|
// Right vertical tool bar command IDs.
|
|
|
|
ID_PCB_HIGHLIGHT_BUTT,
|
2019-05-15 22:49:48 +00:00
|
|
|
ID_LOCAL_RATSNEST_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_MODULE_BUTT,
|
|
|
|
ID_TRACK_BUTT,
|
|
|
|
ID_PCB_ZONES_BUTT,
|
2017-04-22 15:46:31 +00:00
|
|
|
ID_PCB_DRAW_VIA_BUTT,
|
2019-05-15 22:49:48 +00:00
|
|
|
ID_PCB_KEEPOUT_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_ADD_LINE_BUTT,
|
2017-10-19 21:14:01 +00:00
|
|
|
ID_PCB_ADD_POLYGON_BUTT,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_PCB_CIRCLE_BUTT,
|
|
|
|
ID_PCB_ARC_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_ADD_TEXT_BUTT,
|
|
|
|
ID_PCB_DIMENSION_BUTT,
|
2017-10-31 15:38:10 +00:00
|
|
|
ID_PCB_TARGET_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_DELETE_ITEM_BUTT,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_PCB_PLACE_OFFSET_COORD_BUTT,
|
2010-07-13 10:42:32 +00:00
|
|
|
ID_PCB_PLACE_GRID_COORD_BUTT,
|
2017-03-09 09:09:13 +00:00
|
|
|
ID_PCB_MEASUREMENT_TOOL,
|
|
|
|
|
2010-06-16 15:01:45 +00:00
|
|
|
// Tracks and vias sizes general options
|
|
|
|
ID_AUX_TOOLBAR_PCB_VIA_SIZE,
|
|
|
|
ID_AUX_TOOLBAR_PCB_TRACK_WIDTH,
|
|
|
|
ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH_START_RANGE,
|
2014-05-13 09:22:51 +00:00
|
|
|
ID_POPUP_PCB_SELECT_CUSTOM_WIDTH,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_POPUP_PCB_SELECT_AUTO_WIDTH,
|
|
|
|
ID_POPUP_PCB_SELECT_USE_NETCLASS_VALUES,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH1,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH2,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH3,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH4,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH5,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH6,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH7,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH8,
|
2012-12-01 20:03:33 +00:00
|
|
|
ID_POPUP_PCB_SELECT_WIDTH9,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH10,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH11,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH12,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH13,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH14,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH15,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH16,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE1,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE2,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE3,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE4,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE5,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE6,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE7,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE8,
|
2012-12-01 20:03:33 +00:00
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE9,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE10,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE11,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE12,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE13,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE14,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE15,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE16,
|
2018-04-28 15:22:25 +00:00
|
|
|
ID_POPUP_PCB_SELECT_CUSTOM_DIFFPAIR,
|
|
|
|
ID_POPUP_PCB_SELECT_USE_NETCLASS_DIFFPAIR,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR1,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR2,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR3,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR4,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR5,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR6,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR7,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR8,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR9,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR10,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR11,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR12,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR13,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR14,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR15,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR16,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_POPUP_PCB_SELECT_WIDTH_END_RANGE,
|
|
|
|
|
2012-12-21 07:58:51 +00:00
|
|
|
ID_MENU_READ_BOARD_BACKUP_FILE,
|
|
|
|
ID_MENU_RECOVER_BOARD_AUTOSAVE,
|
2015-09-28 08:46:00 +00:00
|
|
|
ID_MENU_ARCHIVE_MODULES_IN_LIBRARY,
|
|
|
|
ID_MENU_CREATE_LIBRARY_AND_ARCHIVE_MODULES,
|
2011-04-17 13:54:17 +00:00
|
|
|
|
2014-01-02 09:26:03 +00:00
|
|
|
ID_GEN_EXPORT_FILE_IDF3,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_GEN_EXPORT_FILE_VRML,
|
2016-09-19 07:40:36 +00:00
|
|
|
ID_GEN_EXPORT_FILE_STEP,
|
2019-04-08 00:09:07 +00:00
|
|
|
ID_GEN_EXPORT_FILE_HYPERLYNX,
|
2011-04-17 13:54:17 +00:00
|
|
|
ID_GEN_EXPORT_FILE_GENCADFORMAT,
|
2018-11-01 09:47:41 +00:00
|
|
|
ID_GEN_IMPORT_GRAPHICS_FILE,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
2017-01-22 09:05:46 +00:00
|
|
|
ID_TOOLBARH_PCB_ACTION_PLUGIN,
|
|
|
|
ID_TOOLBARH_PCB_ACTION_PLUGIN_REFRESH,
|
|
|
|
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR,
|
|
|
|
|
|
|
|
ID_PCB_GEN_CMP_FILE,
|
|
|
|
ID_PCB_GEN_BOM_FILE_FROM_BOARD,
|
2015-08-20 07:14:44 +00:00
|
|
|
ID_PCB_3DSHAPELIB_WIZARD,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
ID_PCB_MUWAVE_START_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_SELF_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_GAP_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_STUB_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_STUB_ARC_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_FUNCTION_SHAPE_CMD,
|
|
|
|
ID_PCB_MUWAVE_END_CMD,
|
|
|
|
|
|
|
|
ID_TOOLBARH_PCB_SELECT_LAYER,
|
|
|
|
|
2011-02-21 13:54:29 +00:00
|
|
|
// Module editor right vertical tool bar commands.
|
|
|
|
ID_MODEDIT_PAD_TOOL,
|
|
|
|
ID_MODEDIT_LINE_TOOL,
|
|
|
|
ID_MODEDIT_CIRCLE_TOOL,
|
|
|
|
ID_MODEDIT_ARC_TOOL,
|
2017-10-19 21:14:01 +00:00
|
|
|
ID_MODEDIT_POLYGON_TOOL,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_MODEDIT_TEXT_TOOL,
|
|
|
|
ID_MODEDIT_ANCHOR_TOOL,
|
|
|
|
ID_MODEDIT_DELETE_TOOL,
|
|
|
|
ID_MODEDIT_PLACE_GRID_COORD,
|
2017-03-09 09:09:13 +00:00
|
|
|
ID_MODEDIT_MEASUREMENT_TOOL,
|
2011-02-21 13:54:29 +00:00
|
|
|
|
2010-06-16 15:01:45 +00:00
|
|
|
// ID used in module editor:
|
|
|
|
ID_MODEDIT_CHECK,
|
2018-07-29 15:33:58 +00:00
|
|
|
ID_MODEDIT_SAVE,
|
|
|
|
ID_MODEDIT_SAVE_AS,
|
2018-11-09 13:32:13 +00:00
|
|
|
ID_MODEDIT_SAVE_PNG,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MODEDIT_NEW_MODULE,
|
2012-05-09 17:37:25 +00:00
|
|
|
ID_MODEDIT_NEW_MODULE_FROM_WIZARD,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MODEDIT_LOAD_MODULE_FROM_BOARD,
|
2012-02-09 20:33:38 +00:00
|
|
|
|
|
|
|
ID_MODVIEW_LIB_LIST,
|
|
|
|
ID_MODVIEW_FOOTPRINT_LIST,
|
|
|
|
ID_MODVIEW_SELECT_PART,
|
2018-09-11 15:28:57 +00:00
|
|
|
ID_MODVIEW_OPTIONS,
|
2012-02-09 20:33:38 +00:00
|
|
|
ID_MODVIEW_PREVIOUS,
|
|
|
|
ID_MODVIEW_NEXT,
|
2018-08-01 10:00:10 +00:00
|
|
|
|
2012-05-09 17:37:25 +00:00
|
|
|
ID_FOOTPRINT_WIZARD_NEXT,
|
|
|
|
ID_FOOTPRINT_WIZARD_PREVIOUS,
|
|
|
|
ID_FOOTPRINT_WIZARD_DONE,
|
|
|
|
ID_FOOTPRINT_WIZARD_PAGE_LIST,
|
|
|
|
ID_FOOTPRINT_WIZARD_PARAMETER_LIST,
|
|
|
|
ID_FOOTPRINT_WIZARD_SELECT_WIZARD,
|
2017-01-03 15:01:47 +00:00
|
|
|
ID_FOOTPRINT_WIZARD_RESET_TO_DEFAULT,
|
2014-08-19 14:51:15 +00:00
|
|
|
|
2019-04-15 21:09:14 +00:00
|
|
|
ID_ADD_FOOTPRINT_TO_BOARD,
|
2018-07-22 21:33:01 +00:00
|
|
|
ID_RUN_EESCHEMA,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_PCBNEW_END_LIST
|
2010-06-16 15:01:45 +00:00
|
|
|
};
|
|
|
|
|
2012-11-28 15:24:53 +00:00
|
|
|
#endif // PCBNEW_ID_H_
|