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.

107 lines
3.5KB

  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. open = 0x300001,
  29. closeDocument = 0x300002,
  30. saveDocument = 0x300003,
  31. saveDocumentAs = 0x300004,
  32. closeProject = 0x300010,
  33. saveProject = 0x300011,
  34. saveAll = 0x300012,
  35. openInIDE = 0x300013,
  36. saveAndOpenInIDE = 0x300014,
  37. createNewExporter = 0x300015,
  38. showUTF8Tool = 0x300020,
  39. showGlobalPathsWindow = 0x300021,
  40. showTranslationTool = 0x300022,
  41. showSVGPathTool = 0x300023,
  42. showAboutWindow = 0x300024,
  43. showAppUsageWindow = 0x300025,
  44. showProjectSettings = 0x300030,
  45. showProjectTab = 0x300031,
  46. showBuildTab = 0x300032,
  47. showFileExplorerPanel = 0x300033,
  48. showModulesPanel = 0x300034,
  49. showExportersPanel = 0x300035,
  50. showExporterSettings = 0x300036,
  51. closeWindow = 0x300040,
  52. closeAllDocuments = 0x300041,
  53. goToPreviousDoc = 0x300042,
  54. goToNextDoc = 0x300043,
  55. goToCounterpart = 0x300044,
  56. deleteSelectedItem = 0x300045,
  57. showFindPanel = 0x300050,
  58. findSelection = 0x300051,
  59. findNext = 0x300052,
  60. findPrevious = 0x300053,
  61. cleanAll = 0x300060,
  62. toggleBuildEnabled = 0x300061,
  63. showWarnings = 0x300062,
  64. reinstantiateComp = 0x300063,
  65. launchApp = 0x300064,
  66. killApp = 0x300065,
  67. buildNow = 0x300066,
  68. toggleContinuousBuild = 0x300067,
  69. enableSnapToGrid = 0x300070,
  70. zoomIn = 0x300071,
  71. zoomOut = 0x300072,
  72. zoomNormal = 0x300073,
  73. spaceBarDrag = 0x300074,
  74. nextError = 0x300080,
  75. prevError = 0x300081,
  76. loginLogout = 0x300090,
  77. lastCommandIDEntry
  78. };
  79. }
  80. namespace CommandCategories
  81. {
  82. static const char* const general = "General";
  83. static const char* const editing = "Editing";
  84. static const char* const view = "View";
  85. static const char* const windows = "Windows";
  86. }