2013-05-26 04:36:44 +00:00
|
|
|
/**
|
|
|
|
* @file 3d_viewer_id.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Command IDs for the 3D viewer.
|
|
|
|
*
|
|
|
|
* Please add IDs that are unique to the 3D viewer here and not in the global
|
|
|
|
* id.h file. This will prevent the entire project from being rebuilt when
|
|
|
|
* adding new commands to the 3D viewer.
|
2014-08-19 14:51:15 +00:00
|
|
|
* However the number of IDs should be < ROOM_FOR_3D_VIEWER, defined in id.h
|
|
|
|
* Please change the value of ROOM_FOR_3D_VIEWER if too small.
|
2013-05-26 04:36:44 +00:00
|
|
|
*/
|
|
|
|
|
2014-08-19 14:51:15 +00:00
|
|
|
#include <id.h> // Generic Id.
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
enum id_3dview_frm
|
|
|
|
{
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_START_COMMAND_3D = ID_KICAD_3D_VIEWER_START,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_RELOAD3D_BOARD,
|
2020-03-18 22:48:36 +00:00
|
|
|
ID_VIEW3D_TOP,
|
|
|
|
ID_VIEW3D_BOTTOM,
|
|
|
|
ID_VIEW3D_LEFT,
|
|
|
|
ID_VIEW3D_RIGHT,
|
|
|
|
ID_VIEW3D_FRONT,
|
|
|
|
ID_VIEW3D_BACK,
|
2020-03-21 01:29:06 +00:00
|
|
|
ID_VIEW3D_RESET,
|
2020-06-08 21:35:40 +00:00
|
|
|
ID_VIEW3D_FLIP,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_TOOL_SCREENCOPY_TOCLIBBOARD,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_MENU3D_COLOR,
|
2015-06-17 09:06:39 +00:00
|
|
|
ID_MENU3D_BGCOLOR,
|
2019-06-10 22:17:45 +00:00
|
|
|
ID_MENU3D_BGCOLOR_BOTTOM,
|
|
|
|
ID_MENU3D_BGCOLOR_TOP,
|
|
|
|
ID_MENU3D_SILKSCREEN_COLOR,
|
|
|
|
ID_MENU3D_SOLDERMASK_COLOR,
|
|
|
|
ID_MENU3D_SOLDERPASTE_COLOR,
|
|
|
|
ID_MENU3D_PCB_BODY_COLOR,
|
|
|
|
ID_MENU3D_COPPER_COLOR,
|
2020-01-22 22:38:30 +00:00
|
|
|
ID_MENU3D_STACKUP_COLORS,
|
2016-07-19 17:35:25 +00:00
|
|
|
|
|
|
|
ID_MENU_SCREENCOPY_PNG,
|
|
|
|
ID_MENU_SCREENCOPY_JPEG,
|
|
|
|
ID_MENU_SCREENCOPY_TOCLIBBOARD,
|
|
|
|
|
|
|
|
ID_MENU3D_RESET_DEFAULTS,
|
|
|
|
|
|
|
|
// Help
|
|
|
|
ID_MENU_COMMAND_END,
|
2013-05-26 04:36:44 +00:00
|
|
|
|
2019-01-19 13:02:10 +00:00
|
|
|
ID_RENDER_CURRENT_VIEW,
|
|
|
|
|
2017-12-28 08:29:56 +00:00
|
|
|
ID_TOOL_SET_VISIBLE_ITEMS,
|
|
|
|
|
2019-01-19 13:02:10 +00:00
|
|
|
ID_DISABLE_RAY_TRACING,
|
2013-05-26 04:36:44 +00:00
|
|
|
|
2020-07-14 13:52:01 +00:00
|
|
|
ID_CUSTOM_EVENT_1, // A id for a custom event (canvas refresh request)
|
|
|
|
|
2016-07-19 17:35:25 +00:00
|
|
|
ID_END_COMMAND_3D = ID_KICAD_3D_VIEWER_END,
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|