File: jucer_CommandIDs.h

package info (click to toggle)
juce 4.3.0~repack-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 62,060 kB
  • ctags: 38,418
  • sloc: cpp: 290,180; java: 3,322; makefile: 338; xml: 277; ansic: 255; sh: 182; python: 135
file content (98 lines) | stat: -rw-r--r-- 3,428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
  ==============================================================================

   This file is part of the JUCE library.
   Copyright (c) 2015 - ROLI Ltd.

   Permission is granted to use this software under the terms of either:
   a) the GPL v2 (or any later version)
   b) the Affero GPL v3

   Details of these licenses can be found at: www.gnu.org/licenses

   JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
   WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
   A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

   ------------------------------------------------------------------------------

   To release a closed-source product which uses JUCE, commercial licenses are
   available: visit www.juce.com for more information.

  ==============================================================================
*/

/**
    A namespace to hold all the possible command IDs.
*/
namespace CommandIDs
{
    enum
    {
        newProject              = 0x200010,
        open                    = 0x200020,
        closeDocument           = 0x200030,
        saveDocument            = 0x200040,
        saveDocumentAs          = 0x200041,

        closeProject            = 0x200051,
        saveProject             = 0x200060,
        saveAll                 = 0x200080,
        openInIDE               = 0x200072,
        saveAndOpenInIDE        = 0x200073,
        createNewExporter       = 0x20007d,

        showUTF8Tool            = 0x200076,
        showGlobalPreferences   = 0x200077,
        showConfigPanel         = 0x200074,
        showFilePanel           = 0x200078,
        showTranslationTool     = 0x200079,
        showProjectSettings     = 0x20007a,
        showProjectModules      = 0x20007b,
        showSVGPathTool         = 0x20007c,

        closeWindow             = 0x201001,
        closeAllDocuments       = 0x201000,
        goToPreviousDoc         = 0x201002,
        goToNextDoc             = 0x201003,
        goToCounterpart         = 0x201004,
        deleteSelectedItem      = 0x201005,

        showFindPanel           = 0x2010a0,
        findSelection           = 0x2010a1,
        findNext                = 0x2010a2,
        findPrevious            = 0x2010a3,


        showBuildTab            = 0x410001,
        cleanAll                = 0x410010,
        enableBuild             = 0x410011,
        showWarnings            = 0x410012,
        reinstantiateComp       = 0x410013,
        launchApp               = 0x410014,
        killApp                 = 0x410015,
        buildNow                = 0x41001a,
        toggleContinuousBuild   = 0x41001b,

        enableSnapToGrid        = 0x410016,
        zoomIn                  = 0x410017,
        zoomOut                 = 0x410018,
        zoomNormal              = 0x410019,
        spaceBarDrag            = 0x4100a1,

        nextError               = 0x4100b1,
        prevError               = 0x4100b2,

        loginLogout             = 0x4100c1,

        lastCommandIDEntry
    };
}

namespace CommandCategories
{
    static const char* const general       = "General";
    static const char* const editing       = "Editing";
    static const char* const view          = "View";
    static const char* const windows       = "Windows";
}