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_ROTATE3D_X_NEG,
|
|
|
|
ID_ROTATE3D_X_POS,
|
|
|
|
ID_ROTATE3D_Y_NEG,
|
|
|
|
ID_ROTATE3D_Y_POS,
|
|
|
|
ID_ROTATE3D_Z_NEG,
|
|
|
|
ID_ROTATE3D_Z_POS,
|
|
|
|
ID_RELOAD3D_BOARD,
|
|
|
|
ID_TOOL_SCREENCOPY_TOCLIBBOARD,
|
|
|
|
ID_MOVE3D_LEFT,
|
|
|
|
ID_MOVE3D_RIGHT,
|
|
|
|
ID_MOVE3D_UP,
|
|
|
|
ID_MOVE3D_DOWN,
|
|
|
|
ID_ORTHO,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_MENU3D_COLOR,
|
2015-06-17 09:06:39 +00:00
|
|
|
ID_MENU3D_BGCOLOR,
|
|
|
|
ID_MENU3D_BGCOLOR_BOTTOM_SELECTION,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_MENU3D_BGCOLOR_TOP_SELECTION,
|
2015-06-16 18:04:02 +00:00
|
|
|
ID_MENU3D_SILKSCREEN_COLOR_SELECTION,
|
|
|
|
ID_MENU3D_SOLDERMASK_COLOR_SELECTION,
|
2015-06-17 09:06:39 +00:00
|
|
|
ID_MENU3D_SOLDERPASTE_COLOR_SELECTION,
|
2015-06-17 12:59:41 +00:00
|
|
|
ID_MENU3D_PCB_BODY_COLOR_SELECTION,
|
2015-06-16 18:04:02 +00:00
|
|
|
ID_MENU3D_COPPER_COLOR_SELECTION,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_MENU3D_AXIS_ONOFF,
|
2016-07-19 17:35:25 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_MENU3D_MODULE_ONOFF,
|
2016-07-19 17:35:25 +00:00
|
|
|
ID_MENU3D_MODULE_ONOFF_ATTRIBUTES_NORMAL,
|
|
|
|
ID_MENU3D_MODULE_ONOFF_ATTRIBUTES_NORMAL_INSERT,
|
|
|
|
ID_MENU3D_MODULE_ONOFF_ATTRIBUTES_VIRTUAL,
|
|
|
|
ID_MENU3D_MODULE_ONOFF_END,
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_MENU3D_ZONE_ONOFF,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_MENU3D_LAYERS,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_MENU3D_ADHESIVE_ONOFF,
|
|
|
|
ID_MENU3D_SILKSCREEN_ONOFF,
|
|
|
|
ID_MENU3D_SOLDER_PASTE_ONOFF,
|
|
|
|
ID_MENU3D_SOLDER_MASK_ONOFF,
|
|
|
|
ID_MENU3D_COMMENTS_ONOFF,
|
|
|
|
ID_MENU3D_ECO_ONOFF,
|
2013-10-07 11:51:08 +00:00
|
|
|
ID_MENU3D_SHOW_BOARD_BODY,
|
2016-02-24 19:53:02 +00:00
|
|
|
ID_MENU3D_MOUSEWHEEL_PANNING,
|
2013-10-07 11:51:08 +00:00
|
|
|
ID_MENU3D_REALISTIC_MODE,
|
2016-07-19 17:35:25 +00:00
|
|
|
|
|
|
|
ID_MENU3D_FL,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_MENU3D_FL_RENDER_SHOW_HOLES_IN_ZONES,
|
2016-07-19 17:35:25 +00:00
|
|
|
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_MENU3D_FL_RENDER_MATERIAL,
|
2016-07-19 17:35:25 +00:00
|
|
|
ID_MENU3D_FL_RENDER_MATERIAL_MODE_NORMAL,
|
|
|
|
ID_MENU3D_FL_RENDER_MATERIAL_MODE_DIFFUSE_ONLY,
|
|
|
|
ID_MENU3D_FL_RENDER_MATERIAL_MODE_CAD_MODE,
|
|
|
|
|
|
|
|
ID_MENU3D_FL_OPENGL,
|
|
|
|
ID_MENU3D_FL_OPENGL_RENDER_COPPER_THICKNESS,
|
|
|
|
ID_MENU3D_FL_OPENGL_RENDER_SHOW_MODEL_BBOX,
|
2013-05-26 04:36:44 +00:00
|
|
|
|
2016-07-19 17:35:25 +00:00
|
|
|
ID_MENU3D_FL_RAYTRACING,
|
|
|
|
ID_MENU3D_FL_RAYTRACING_RENDER_SHADOWS,
|
|
|
|
ID_MENU3D_FL_RAYTRACING_BACKFLOOR,
|
|
|
|
ID_MENU3D_FL_RAYTRACING_REFRACTIONS,
|
|
|
|
ID_MENU3D_FL_RAYTRACING_REFLECTIONS,
|
|
|
|
ID_MENU3D_FL_RAYTRACING_POST_PROCESSING,
|
|
|
|
ID_MENU3D_FL_RAYTRACING_ANTI_ALIASING,
|
|
|
|
|
|
|
|
ID_RENDER_CURRENT_VIEW,
|
|
|
|
|
|
|
|
ID_MENU_SCREENCOPY_PNG,
|
|
|
|
ID_MENU_SCREENCOPY_JPEG,
|
|
|
|
ID_MENU_SCREENCOPY_TOCLIBBOARD,
|
|
|
|
|
|
|
|
ID_MENU3D_RESET_DEFAULTS,
|
|
|
|
|
|
|
|
// Help
|
|
|
|
ID_MENU3D_HELP_HOTKEY_SHOW_CURRENT_LIST,
|
|
|
|
|
|
|
|
ID_MENU_COMMAND_END,
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
ID_MENU3D_GRID,
|
|
|
|
ID_MENU3D_GRID_NOGRID,
|
|
|
|
ID_MENU3D_GRID_10_MM,
|
|
|
|
ID_MENU3D_GRID_5_MM,
|
|
|
|
ID_MENU3D_GRID_2P5_MM,
|
|
|
|
ID_MENU3D_GRID_1_MM,
|
|
|
|
ID_MENU3D_GRID_END,
|
|
|
|
|
2016-07-19 17:35:25 +00:00
|
|
|
ID_MENU3D_ENGINE,
|
|
|
|
ID_MENU3D_ENGINE_OPENGL_LEGACY,
|
|
|
|
ID_MENU3D_ENGINE_RAYTRACING,
|
|
|
|
ID_MENU3D_ENGINE_END,
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
ID_POPUP_3D_VIEW_START,
|
|
|
|
ID_POPUP_ZOOMIN,
|
|
|
|
ID_POPUP_ZOOMOUT,
|
|
|
|
ID_POPUP_VIEW_XPOS,
|
|
|
|
ID_POPUP_VIEW_XNEG,
|
|
|
|
ID_POPUP_VIEW_YPOS,
|
|
|
|
ID_POPUP_VIEW_YNEG,
|
|
|
|
ID_POPUP_VIEW_ZPOS,
|
|
|
|
ID_POPUP_VIEW_ZNEG,
|
|
|
|
ID_POPUP_MOVE3D_LEFT,
|
|
|
|
ID_POPUP_MOVE3D_RIGHT,
|
|
|
|
ID_POPUP_MOVE3D_UP,
|
|
|
|
ID_POPUP_MOVE3D_DOWN,
|
2016-07-19 17:35:25 +00:00
|
|
|
ID_POPUP_3D_VIEW_END,
|
|
|
|
|
|
|
|
ID_END_COMMAND_3D = ID_KICAD_3D_VIEWER_END,
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|