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.

104 lines
4.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-11 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. /**
  19. A namespace to hold all the possible command IDs.
  20. */
  21. namespace CommandIDs
  22. {
  23. static const int newProject = 0x200010;
  24. static const int open = 0x200020;
  25. static const int closeDocument = 0x200030;
  26. static const int saveDocument = 0x200040;
  27. static const int saveDocumentAs = 0x200050;
  28. static const int closeProject = 0x200051;
  29. static const int saveProject = 0x200060;
  30. static const int saveProjectAs = 0x200070;
  31. static const int openInIDE = 0x200072;
  32. static const int saveAndOpenInIDE = 0x200073;
  33. static const int showProjectSettings = 0x200074;
  34. static const int updateModules = 0x200075;
  35. static const int showUTF8Tool = 0x200076;
  36. static const int saveAll = 0x200080;
  37. static const int undo = 0x200090;
  38. static const int redo = 0x2000a0;
  39. static const int closeWindow = 0x201001;
  40. static const int closeAllDocuments = 0x201000;
  41. static const int test = 0x202090;
  42. static const int toFront = 0x2020a0;
  43. static const int toBack = 0x2030a1;
  44. static const int showOrHideProperties = 0x2030b0;
  45. static const int showOrHideTree = 0x2030b1;
  46. static const int showOrHideMarkers = 0x2030b2;
  47. static const int toggleSnapping = 0x2030b3;
  48. static const int makeLineSegment = 0x2030c0;
  49. static const int makeCubicSegment = 0x2030c1;
  50. static const int breakSegment = 0x2030c2;
  51. static const int pointModeCorner = 0x2030c3;
  52. static const int pointModeRounded = 0x2030c4;
  53. static const int pointModeSymmetric = 0x2030c5;
  54. static const int group = 0x202170;
  55. static const int ungroup = 0x202180;
  56. static const int showPrefs = 0x2020c0;
  57. static const int useTabbedWindows = 0x2020d0;
  58. static const int showGrid = 0x2020e0;
  59. static const int enableSnapToGrid = 0x2020f0;
  60. static const int editCompLayout = 0x202100;
  61. static const int editCompGraphics = 0x202110;
  62. static const int bringBackLostItems = 0x202120;
  63. static const int zoomIn = 0x202130;
  64. static const int zoomOut = 0x202140;
  65. static const int zoomNormal = 0x202150;
  66. static const int spaceBarDrag = 0x202160;
  67. static const int compOverlay0 = 0x202200;
  68. static const int compOverlay33 = 0x202210;
  69. static const int compOverlay66 = 0x202220;
  70. static const int compOverlay100 = 0x202230;
  71. static const int newDocumentBase = 0x322010;
  72. static const int newComponentBase = 0x302010;
  73. static const int newElementBase = 0x312010;
  74. }
  75. namespace CommandCategories
  76. {
  77. static const char* const general = "General";
  78. static const char* const editing = "Editing";
  79. static const char* const view = "View";
  80. static const char* const windows = "Windows";
  81. }