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.

91 lines
3.1KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #pragma once
  18. //==============================================================================
  19. struct TargetOS
  20. {
  21. enum OS
  22. {
  23. windows = 0,
  24. osx,
  25. linux,
  26. unknown
  27. };
  28. static OS getThisOS() noexcept
  29. {
  30. #if JUCE_WINDOWS
  31. return windows;
  32. #elif JUCE_MAC
  33. return osx;
  34. #elif JUCE_LINUX
  35. return linux;
  36. #else
  37. return unknown;
  38. #endif
  39. }
  40. };
  41. typedef TargetOS::OS DependencyPathOS;
  42. //==============================================================================
  43. #include "../Utility/jucer_StoredSettings.h"
  44. #include "../Utility/jucer_Icons.h"
  45. #include "../Utility/jucer_MiscUtilities.h"
  46. #include "../Utility/jucer_CodeHelpers.h"
  47. #include "../Utility/jucer_FileHelpers.h"
  48. #include "../Utility/jucer_RelativePath.h"
  49. #include "../Utility/jucer_ValueSourceHelpers.h"
  50. #include "../Utility/jucer_PresetIDs.h"
  51. #include "jucer_CommandIDs.h"
  52. //==============================================================================
  53. const char* const projectItemDragType = "Project Items";
  54. const char* const drawableItemDragType = "Drawable Items";
  55. const char* const componentItemDragType = "Components";
  56. enum ColourIds
  57. {
  58. backgroundColourId = 0x2340000,
  59. secondaryBackgroundColourId = 0x2340001,
  60. defaultTextColourId = 0x2340002,
  61. widgetTextColourId = 0x2340003,
  62. defaultButtonBackgroundColourId = 0x2340004,
  63. secondaryButtonBackgroundColourId = 0x2340005,
  64. userButtonBackgroundColourId = 0x2340006,
  65. defaultIconColourId = 0x2340007,
  66. treeIconColourId = 0x2340008,
  67. defaultHighlightColourId = 0x2340009,
  68. defaultHighlightedTextColourId = 0x234000a,
  69. codeEditorLineNumberColourId = 0x234000b,
  70. activeTabIconColourId = 0x234000c,
  71. inactiveTabBackgroundColourId = 0x234000d,
  72. inactiveTabIconColourId = 0x234000e,
  73. contentHeaderBackgroundColourId = 0x234000f,
  74. widgetBackgroundColourId = 0x2340010,
  75. secondaryWidgetBackgroundColourId = 0x2340011,
  76. };