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.

97 lines
3.4KB

  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. enum
  24. {
  25. newProject = 0x200010,
  26. open = 0x200020,
  27. closeDocument = 0x200030,
  28. saveDocument = 0x200040,
  29. closeProject = 0x200051,
  30. saveProject = 0x200060,
  31. openInIDE = 0x200072,
  32. saveAndOpenInIDE = 0x200073,
  33. updateModules = 0x200075,
  34. showUTF8Tool = 0x200076,
  35. showAppearanceSettings = 0x200077,
  36. showConfigPanel = 0x200074,
  37. showFilePanel = 0x200078,
  38. saveAll = 0x200080,
  39. closeWindow = 0x201001,
  40. closeAllDocuments = 0x201000,
  41. goToPreviousDoc = 0x201002,
  42. goToNextDoc = 0x201003,
  43. goToCounterpart = 0x201004,
  44. toFront = 0x2020a0,
  45. toBack = 0x2030a1,
  46. showOrHideProperties = 0x2030b0,
  47. showOrHideTree = 0x2030b1,
  48. showOrHideMarkers = 0x2030b2,
  49. toggleSnapping = 0x2030b3,
  50. makeLineSegment = 0x2030c0,
  51. makeCubicSegment = 0x2030c1,
  52. breakSegment = 0x2030c2,
  53. pointModeCorner = 0x2030c3,
  54. pointModeRounded = 0x2030c4,
  55. pointModeSymmetric = 0x2030c5,
  56. group = 0x202170,
  57. ungroup = 0x202180,
  58. showPrefs = 0x2020c0,
  59. useTabbedWindows = 0x2020d0,
  60. showGrid = 0x2020e0,
  61. enableSnapToGrid = 0x2020f0,
  62. zoomIn = 0x202130,
  63. zoomOut = 0x202140,
  64. zoomNormal = 0x202150,
  65. spaceBarDrag = 0x202160,
  66. bringBackLostItems = 0x202120,
  67. newDocumentBase = 0x322010,
  68. newComponentBase = 0x302010,
  69. newElementBase = 0x312010
  70. };
  71. }
  72. namespace CommandCategories
  73. {
  74. static const char* const general = "General";
  75. static const char* const editing = "Editing";
  76. static const char* const view = "View";
  77. static const char* const windows = "Windows";
  78. }