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.

102 lines
3.5KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. /**
  18. A namespace to hold all the possible command IDs.
  19. */
  20. namespace CommandIDs
  21. {
  22. enum
  23. {
  24. newProject = 0x300000,
  25. open = 0x300001,
  26. closeDocument = 0x300002,
  27. saveDocument = 0x300003,
  28. saveDocumentAs = 0x300004,
  29. closeProject = 0x300010,
  30. saveProject = 0x300011,
  31. saveAll = 0x300012,
  32. openInIDE = 0x300013,
  33. saveAndOpenInIDE = 0x300014,
  34. createNewExporter = 0x300015,
  35. showUTF8Tool = 0x300020,
  36. showGlobalPreferences = 0x300021,
  37. showTranslationTool = 0x300022,
  38. showSVGPathTool = 0x300023,
  39. showAboutWindow = 0x300024,
  40. showProjectSettings = 0x300030,
  41. showProjectTab = 0x300031,
  42. showBuildTab = 0x300032,
  43. showFileExplorerPanel = 0x300033,
  44. showModulesPanel = 0x300034,
  45. showExportersPanel = 0x300035,
  46. showExporterSettings = 0x300036,
  47. closeWindow = 0x300040,
  48. closeAllDocuments = 0x300041,
  49. goToPreviousDoc = 0x300042,
  50. goToNextDoc = 0x300043,
  51. goToCounterpart = 0x300044,
  52. deleteSelectedItem = 0x300045,
  53. showFindPanel = 0x300050,
  54. findSelection = 0x300051,
  55. findNext = 0x300052,
  56. findPrevious = 0x300053,
  57. cleanAll = 0x300060,
  58. toggleBuildEnabled = 0x300061,
  59. showWarnings = 0x300062,
  60. reinstantiateComp = 0x300063,
  61. launchApp = 0x300064,
  62. killApp = 0x300065,
  63. buildNow = 0x300066,
  64. toggleContinuousBuild = 0x300067,
  65. enableSnapToGrid = 0x300070,
  66. zoomIn = 0x300071,
  67. zoomOut = 0x300072,
  68. zoomNormal = 0x300073,
  69. spaceBarDrag = 0x300074,
  70. nextError = 0x300080,
  71. prevError = 0x300081,
  72. loginLogout = 0x300090,
  73. lastCommandIDEntry
  74. };
  75. }
  76. namespace CommandCategories
  77. {
  78. static const char* const general = "General";
  79. static const char* const editing = "Editing";
  80. static const char* const view = "View";
  81. static const char* const windows = "Windows";
  82. }