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.

120 lines
4.0KB

  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. showProjectSettings = 0x300030,
  48. showProjectTab = 0x300031,
  49. showBuildTab = 0x300032,
  50. showFileExplorerPanel = 0x300033,
  51. showModulesPanel = 0x300034,
  52. showExportersPanel = 0x300035,
  53. showExporterSettings = 0x300036,
  54. closeWindow = 0x300040,
  55. closeAllWindows = 0x300041,
  56. closeAllDocuments = 0x300042,
  57. goToPreviousDoc = 0x300043,
  58. goToNextDoc = 0x300044,
  59. goToCounterpart = 0x300045,
  60. deleteSelectedItem = 0x300046,
  61. goToPreviousWindow = 0x300047,
  62. goToNextWindow = 0x300048,
  63. clearRecentFiles = 0x300049,
  64. showFindPanel = 0x300050,
  65. findSelection = 0x300051,
  66. findNext = 0x300052,
  67. findPrevious = 0x300053,
  68. cleanAll = 0x300060,
  69. toggleBuildEnabled = 0x300061,
  70. showWarnings = 0x300062,
  71. reinstantiateComp = 0x300063,
  72. launchApp = 0x300064,
  73. killApp = 0x300065,
  74. buildNow = 0x300066,
  75. toggleContinuousBuild = 0x300067,
  76. enableSnapToGrid = 0x300070,
  77. zoomIn = 0x300071,
  78. zoomOut = 0x300072,
  79. zoomNormal = 0x300073,
  80. spaceBarDrag = 0x300074,
  81. nextError = 0x300080,
  82. prevError = 0x300081,
  83. loginLogout = 0x300090,
  84. showForum = 0x300100,
  85. showAPIModules = 0x300101,
  86. showAPIClasses = 0x300102,
  87. showTutorials = 0x300103,
  88. lastCommandIDEntry
  89. };
  90. }
  91. namespace CommandCategories
  92. {
  93. static const char* const general = "General";
  94. static const char* const editing = "Editing";
  95. static const char* const view = "View";
  96. static const char* const windows = "Windows";
  97. }