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