You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.7 KiB

  1. /*
  2. * This program source code file is part of KiCad, a free EDA CAD application.
  3. *
  4. * Copyright (C) 2023 <author>
  5. * Copyright (C) 2023 KiCad Developers, see AUTHORS.txt for contributors.
  6. *
  7. * This program is free software: you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation, either version 3 of the License, or (at your
  10. * option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License along
  18. * with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. /**
  21. * Command IDs for the 3D viewer.
  22. *
  23. * Please add IDs that are unique to the 3D viewer here and not in the global
  24. * id.h file. This will prevent the entire project from being rebuilt when
  25. * adding new commands to the 3D viewer.
  26. * However the number of IDs should be < ROOM_FOR_3D_VIEWER, defined in id.h
  27. * Please change the value of ROOM_FOR_3D_VIEWER if too small.
  28. */
  29. #pragma once
  30. #include <id.h> // Generic Id.
  31. enum id_3dview_frm
  32. {
  33. ID_START_COMMAND_3D = ID_KICAD_3D_VIEWER_START,
  34. ID_RELOAD3D_BOARD,
  35. ID_TOOL_SCREENCOPY_TOCLIBBOARD,
  36. ID_MENU_SCREENCOPY_PNG,
  37. ID_MENU_SCREENCOPY_JPEG,
  38. ID_MENU_SCREENCOPY_TOCLIBBOARD,
  39. ID_MENU3D_RESET_DEFAULTS,
  40. // Help
  41. ID_MENU_COMMAND_END,
  42. ID_RENDER_CURRENT_VIEW,
  43. ID_DISABLE_RAY_TRACING,
  44. ID_CUSTOM_EVENT_1, // A id for a custom event (canvas refresh request)
  45. ID_END_COMMAND_3D = ID_KICAD_3D_VIEWER_END,
  46. };