The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

109 lines
3.6KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 7 End-User License
  8. Agreement and JUCE Privacy Policy.
  9. End User License Agreement: www.juce.com/juce-7-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. #pragma once
  19. /**
  20. A namespace to hold all the possible command IDs.
  21. */
  22. namespace CommandIDs
  23. {
  24. enum
  25. {
  26. newProject = 0x300000,
  27. newProjectFromClipboard = 0x300001,
  28. newPIP = 0x300002,
  29. open = 0x300003,
  30. closeDocument = 0x300004,
  31. saveDocument = 0x300005,
  32. saveDocumentAs = 0x300006,
  33. launchDemoRunner = 0x300007,
  34. closeProject = 0x300010,
  35. saveProject = 0x300011,
  36. saveAll = 0x300012,
  37. openInIDE = 0x300013,
  38. saveAndOpenInIDE = 0x300014,
  39. createNewExporter = 0x300015,
  40. showUTF8Tool = 0x300020,
  41. showGlobalPathsWindow = 0x300021,
  42. showTranslationTool = 0x300022,
  43. showSVGPathTool = 0x300023,
  44. showAboutWindow = 0x300024,
  45. checkForNewVersion = 0x300025,
  46. enableNewVersionCheck = 0x300026,
  47. enableGUIEditor = 0x300027,
  48. showProjectSettings = 0x300030,
  49. showFileExplorerPanel = 0x300033,
  50. showModulesPanel = 0x300034,
  51. showExportersPanel = 0x300035,
  52. showExporterSettings = 0x300036,
  53. closeWindow = 0x300040,
  54. closeAllWindows = 0x300041,
  55. closeAllDocuments = 0x300042,
  56. goToPreviousDoc = 0x300043,
  57. goToNextDoc = 0x300044,
  58. goToCounterpart = 0x300045,
  59. deleteSelectedItem = 0x300046,
  60. goToPreviousWindow = 0x300047,
  61. goToNextWindow = 0x300048,
  62. clearRecentFiles = 0x300049,
  63. showFindPanel = 0x300050,
  64. findSelection = 0x300051,
  65. findNext = 0x300052,
  66. findPrevious = 0x300053,
  67. enableSnapToGrid = 0x300070,
  68. zoomIn = 0x300071,
  69. zoomOut = 0x300072,
  70. zoomNormal = 0x300073,
  71. spaceBarDrag = 0x300074,
  72. loginLogout = 0x300090,
  73. showForum = 0x300100,
  74. showAPIModules = 0x300101,
  75. showAPIClasses = 0x300102,
  76. showTutorials = 0x300103,
  77. addNewGUIFile = 0x300200,
  78. lastCommandIDEntry
  79. };
  80. }
  81. namespace CommandCategories
  82. {
  83. static const char* const general = "General";
  84. static const char* const editing = "Editing";
  85. static const char* const view = "View";
  86. static const char* const windows = "Windows";
  87. }