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.

110 lines
3.7KB

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