KiCad PCB EDA Suite
3d_viewer_id.h File Reference
#include <id.h>

Go to the source code of this file.

Enumerations

enum  id_3dview_frm {
  ID_START_COMMAND_3D = ID_KICAD_3D_VIEWER_START, 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_VIEW3D_TOP, ID_VIEW3D_BOTTOM, ID_VIEW3D_LEFT, ID_VIEW3D_RIGHT,
  ID_VIEW3D_FRONT, ID_VIEW3D_BACK, ID_VIEW3D_RESET, ID_VIEW3D_FLIP,
  ID_TOOL_SCREENCOPY_TOCLIBBOARD, ID_MENU3D_COLOR, ID_MENU3D_BGCOLOR, 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, ID_MENU3D_STACKUP_COLORS, ID_MENU3D_FL_RENDER_MATERIAL,
  ID_MENU3D_FL_RENDER_MATERIAL_MODE_NORMAL, ID_MENU3D_FL_RENDER_MATERIAL_MODE_DIFFUSE_ONLY, ID_MENU3D_FL_RENDER_MATERIAL_MODE_CAD_MODE, ID_MENU_SCREENCOPY_PNG,
  ID_MENU_SCREENCOPY_JPEG, ID_MENU_SCREENCOPY_TOCLIBBOARD, ID_MENU3D_RESET_DEFAULTS, ID_MENU_COMMAND_END,
  ID_RENDER_CURRENT_VIEW, ID_TOOL_SET_VISIBLE_ITEMS, ID_DISABLE_RAY_TRACING, ID_CUSTOM_EVENT_1,
  ID_END_COMMAND_3D = ID_KICAD_3D_VIEWER_END
}
 Command IDs for the 3D viewer. More...
 

Enumeration Type Documentation

◆ id_3dview_frm

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. 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.

Enumerator
ID_START_COMMAND_3D 
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_VIEW3D_TOP 
ID_VIEW3D_BOTTOM 
ID_VIEW3D_LEFT 
ID_VIEW3D_RIGHT 
ID_VIEW3D_FRONT 
ID_VIEW3D_BACK 
ID_VIEW3D_RESET 
ID_VIEW3D_FLIP 
ID_TOOL_SCREENCOPY_TOCLIBBOARD 
ID_MENU3D_COLOR 
ID_MENU3D_BGCOLOR 
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 
ID_MENU3D_STACKUP_COLORS 
ID_MENU3D_FL_RENDER_MATERIAL 
ID_MENU3D_FL_RENDER_MATERIAL_MODE_NORMAL 
ID_MENU3D_FL_RENDER_MATERIAL_MODE_DIFFUSE_ONLY 
ID_MENU3D_FL_RENDER_MATERIAL_MODE_CAD_MODE 
ID_MENU_SCREENCOPY_PNG 
ID_MENU_SCREENCOPY_JPEG 
ID_MENU_SCREENCOPY_TOCLIBBOARD 
ID_MENU3D_RESET_DEFAULTS 
ID_MENU_COMMAND_END 
ID_RENDER_CURRENT_VIEW 
ID_TOOL_SET_VISIBLE_ITEMS 
ID_DISABLE_RAY_TRACING 
ID_CUSTOM_EVENT_1 
ID_END_COMMAND_3D 

Definition at line 17 of file 3d_viewer_id.h.

18 {
46 
51 
55 
57 
58  // Help
60 
62 
64 
66 
67  ID_CUSTOM_EVENT_1, // A id for a custom event (canvas refresh request)
68 
70 };