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.

124 lines
4.2KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2020 - 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 6 End-User License
  8. Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
  9. End User License Agreement: www.juce.com/juce-6-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. enableLiveBuild = 0x300027,
  48. enableGUIEditor = 0x300028,
  49. showProjectSettings = 0x300030,
  50. showProjectTab = 0x300031,
  51. showBuildTab = 0x300032,
  52. showFileExplorerPanel = 0x300033,
  53. showModulesPanel = 0x300034,
  54. showExportersPanel = 0x300035,
  55. showExporterSettings = 0x300036,
  56. closeWindow = 0x300040,
  57. closeAllWindows = 0x300041,
  58. closeAllDocuments = 0x300042,
  59. goToPreviousDoc = 0x300043,
  60. goToNextDoc = 0x300044,
  61. goToCounterpart = 0x300045,
  62. deleteSelectedItem = 0x300046,
  63. goToPreviousWindow = 0x300047,
  64. goToNextWindow = 0x300048,
  65. clearRecentFiles = 0x300049,
  66. showFindPanel = 0x300050,
  67. findSelection = 0x300051,
  68. findNext = 0x300052,
  69. findPrevious = 0x300053,
  70. cleanAll = 0x300060,
  71. toggleBuildEnabled = 0x300061,
  72. showWarnings = 0x300062,
  73. reinstantiateComp = 0x300063,
  74. launchApp = 0x300064,
  75. killApp = 0x300065,
  76. buildNow = 0x300066,
  77. toggleContinuousBuild = 0x300067,
  78. enableSnapToGrid = 0x300070,
  79. zoomIn = 0x300071,
  80. zoomOut = 0x300072,
  81. zoomNormal = 0x300073,
  82. spaceBarDrag = 0x300074,
  83. nextError = 0x300080,
  84. prevError = 0x300081,
  85. loginLogout = 0x300090,
  86. showForum = 0x300100,
  87. showAPIModules = 0x300101,
  88. showAPIClasses = 0x300102,
  89. showTutorials = 0x300103,
  90. addNewGUIFile = 0x300200,
  91. lastCommandIDEntry
  92. };
  93. }
  94. namespace CommandCategories
  95. {
  96. static const char* const general = "General";
  97. static const char* const editing = "Editing";
  98. static const char* const view = "View";
  99. static const char* const windows = "Windows";
  100. }