pcbnew: Modify IDs in panel_fp_lib_table
Move the IDs from the main enum to be local and use the end of the main enum as the starting point.
This commit is contained in:
parent
079423c3cc
commit
4c1e64628e
|
@ -59,7 +59,7 @@
|
|||
#include <kiway.h>
|
||||
#include <widgets/grid_readonly_text_helpers.h>
|
||||
#include <widgets/grid_text_button_helpers.h>
|
||||
#include <pcbnew_id.h>
|
||||
#include <pcbnew_id.h> // For ID_PCBNEW_END_LIST
|
||||
|
||||
// clang-format off
|
||||
struct supportedFileType
|
||||
|
@ -70,6 +70,16 @@ struct supportedFileType
|
|||
IO_MGR::PCB_FILE_T m_Plugin;
|
||||
};
|
||||
|
||||
/*
|
||||
* Event IDs for the menu items in the split button menu
|
||||
*/
|
||||
enum {
|
||||
ID_PANEL_FPLIB_ADD_KICADMOD = ID_PCBNEW_END_LIST,
|
||||
ID_PANEL_FPLIB_ADD_EAGLE6,
|
||||
ID_PANEL_FPLIB_ADD_KICADLEGACY,
|
||||
ID_PANEL_FPLIB_ADD_GEDA,
|
||||
};
|
||||
|
||||
/*
|
||||
* Map of event id as key to the file type struct
|
||||
*/
|
||||
|
|
|
@ -126,11 +126,6 @@ enum pcbnew_ids
|
|||
|
||||
ID_ADD_FOOTPRINT_TO_BOARD,
|
||||
|
||||
ID_PANEL_FPLIB_ADD_KICADMOD,
|
||||
ID_PANEL_FPLIB_ADD_EAGLE6,
|
||||
ID_PANEL_FPLIB_ADD_KICADLEGACY,
|
||||
ID_PANEL_FPLIB_ADD_GEDA,
|
||||
|
||||
ID_PCBNEW_END_LIST
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue