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.

121 lines
4.1KB

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