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.

65 lines
2.6KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-10 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. #ifndef __JUCER_HEADERS_JUCEHEADER__
  19. #define __JUCER_HEADERS_JUCEHEADER__
  20. #ifdef _MSC_VER
  21. #pragma warning (disable: 4100 4505)
  22. #define DONT_LIST_JUCE_AUTOLINKEDLIBS 1
  23. #endif
  24. //==============================================================================
  25. #include "../JuceLibraryCode/JuceHeader.h"
  26. #include "utility/jucer_StoredSettings.h"
  27. #include "utility/jucer_UtilityFunctions.h"
  28. #include "utility/jucer_RelativePath.h"
  29. #include "utility/jucer_ValueRemapperSource.h"
  30. #include "ui/jucer_CommandIDs.h"
  31. //==============================================================================
  32. extern ApplicationCommandManager* commandManager;
  33. //==============================================================================
  34. static const char* const newLine = "\r\n";
  35. const char* const projectItemDragType = "Project Items";
  36. const char* const drawableItemDragType = "Drawable Items";
  37. const char* const componentItemDragType = "Components";
  38. const char* const textFileExtensions = "cpp;h;hpp;mm;m;c;txt;xml;plist;rtf;html;htm;php;py;rb;cs";
  39. const char* const sourceFileExtensions = "cpp;mm;m;c;h;hpp";
  40. const char* const headerFileExtensions = "h;hpp";
  41. const int numSwatchColours = 24;
  42. const int snapSizes[] = { 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32 };
  43. const float snapDistance = 8.0f;
  44. static const Colour alignmentMarkerColour (0x77ff0000);
  45. static const Colour resizableBorderColour (0x7066aaff);
  46. #endif // __JUCER_HEADERS_JUCEHEADER__