mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
98 lines
3.3 KiB
C++
98 lines
3.3 KiB
C++
/*
|
|
==============================================================================
|
|
|
|
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";
|
|
}
|