git subrepo clone --branch=sono6good https://github.com/essej/JUCE.git deps/juce

subrepo:
  subdir:   "deps/juce"
  merged:   "b13f9084e"
upstream:
  origin:   "https://github.com/essej/JUCE.git"
  branch:   "sono6good"
  commit:   "b13f9084e"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"
This commit is contained in:
essej
2022-04-18 17:51:22 -04:00
parent 63e175fee6
commit 25bd5d8adb
3210 changed files with 1045392 additions and 0 deletions

View File

@ -0,0 +1,441 @@
# Automatically generated makefile, created by the Projucer
# Don't edit this file! Your changes will be overwritten when you re-save the Projucer project!
# build with "V=1" for verbose builds
ifeq ($(V), 1)
V_AT =
else
V_AT = @
endif
# (this disables dependency generation if multiple architectures are set)
DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
ifndef STRIP
STRIP=strip
endif
ifndef AR
AR=ar
endif
ifndef CONFIG
CONFIG=Debug
endif
JUCE_ARCH_LABEL := $(shell uname -m)
ifeq ($(CONFIG),Debug)
JUCE_BINDIR := build
JUCE_LIBDIR := build
JUCE_OBJDIR := build/intermediate/Debug
JUCE_OUTDIR := build
ifeq ($(TARGET_ARCH),)
TARGET_ARCH :=
endif
JUCE_CPPFLAGS := $(DEPFLAGS) "-DLINUX=1" "-DDEBUG=1" "-D_DEBUG=1" "-DJUCE_DISPLAY_SPLASH_SCREEN=0" "-DJUCE_USE_DARK_SPLASH_SCREEN=1" "-DJUCE_PROJUCER_VERSION=0x60102" "-DJUCE_MODULE_AVAILABLE_juce_build_tools=1" "-DJUCE_MODULE_AVAILABLE_juce_core=1" "-DJUCE_MODULE_AVAILABLE_juce_cryptography=1" "-DJUCE_MODULE_AVAILABLE_juce_data_structures=1" "-DJUCE_MODULE_AVAILABLE_juce_events=1" "-DJUCE_MODULE_AVAILABLE_juce_graphics=1" "-DJUCE_MODULE_AVAILABLE_juce_gui_basics=1" "-DJUCE_MODULE_AVAILABLE_juce_gui_extra=1" "-DJUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1" "-DJUCE_LOG_ASSERTIONS=1" "-DJUCE_USE_CURL=1" "-DJUCE_LOAD_CURL_SYMBOLS_LAZILY=1" "-DJUCE_ALLOW_STATIC_NULL_VARIABLES=0" "-DJUCE_STRICT_REFCOUNTEDPOINTER=1" "-DJUCE_WEB_BROWSER=0" "-DJUCE_STANDALONE_APPLICATION=1" "-DJUCER_LINUX_MAKE_6D53C8B4=1" "-DJUCE_APP_VERSION=6.1.2" "-DJUCE_APP_VERSION_HEX=0x60102" $(shell pkg-config --cflags freetype2) -pthread -I../../JuceLibraryCode -I../../../Build -I../../../../modules $(CPPFLAGS)
JUCE_CPPFLAGS_APP := "-DJucePlugin_Build_VST=0" "-DJucePlugin_Build_VST3=0" "-DJucePlugin_Build_AU=0" "-DJucePlugin_Build_AUv3=0" "-DJucePlugin_Build_RTAS=0" "-DJucePlugin_Build_AAX=0" "-DJucePlugin_Build_Standalone=0" "-DJucePlugin_Build_Unity=0"
JUCE_TARGET_APP := Projucer
JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 $(CFLAGS)
JUCE_CXXFLAGS += $(JUCE_CFLAGS) -std=c++14 $(CXXFLAGS)
JUCE_LDFLAGS += $(TARGET_ARCH) -L$(JUCE_BINDIR) -L$(JUCE_LIBDIR) $(shell pkg-config --libs freetype2) -fvisibility=hidden -lrt -ldl -lpthread $(LDFLAGS)
CLEANCMD = rm -rf $(JUCE_OUTDIR)/$(TARGET) $(JUCE_OBJDIR)
endif
ifeq ($(CONFIG),Release)
JUCE_BINDIR := build
JUCE_LIBDIR := build
JUCE_OBJDIR := build/intermediate/Release
JUCE_OUTDIR := build
ifeq ($(TARGET_ARCH),)
TARGET_ARCH :=
endif
JUCE_CPPFLAGS := $(DEPFLAGS) "-DLINUX=1" "-DNDEBUG=1" "-DJUCE_DISPLAY_SPLASH_SCREEN=0" "-DJUCE_USE_DARK_SPLASH_SCREEN=1" "-DJUCE_PROJUCER_VERSION=0x60102" "-DJUCE_MODULE_AVAILABLE_juce_build_tools=1" "-DJUCE_MODULE_AVAILABLE_juce_core=1" "-DJUCE_MODULE_AVAILABLE_juce_cryptography=1" "-DJUCE_MODULE_AVAILABLE_juce_data_structures=1" "-DJUCE_MODULE_AVAILABLE_juce_events=1" "-DJUCE_MODULE_AVAILABLE_juce_graphics=1" "-DJUCE_MODULE_AVAILABLE_juce_gui_basics=1" "-DJUCE_MODULE_AVAILABLE_juce_gui_extra=1" "-DJUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1" "-DJUCE_LOG_ASSERTIONS=1" "-DJUCE_USE_CURL=1" "-DJUCE_LOAD_CURL_SYMBOLS_LAZILY=1" "-DJUCE_ALLOW_STATIC_NULL_VARIABLES=0" "-DJUCE_STRICT_REFCOUNTEDPOINTER=1" "-DJUCE_WEB_BROWSER=0" "-DJUCE_STANDALONE_APPLICATION=1" "-DJUCER_LINUX_MAKE_6D53C8B4=1" "-DJUCE_APP_VERSION=6.1.2" "-DJUCE_APP_VERSION_HEX=0x60102" $(shell pkg-config --cflags freetype2) -pthread -I../../JuceLibraryCode -I../../../Build -I../../../../modules $(CPPFLAGS)
JUCE_CPPFLAGS_APP := "-DJucePlugin_Build_VST=0" "-DJucePlugin_Build_VST3=0" "-DJucePlugin_Build_AU=0" "-DJucePlugin_Build_AUv3=0" "-DJucePlugin_Build_RTAS=0" "-DJucePlugin_Build_AAX=0" "-DJucePlugin_Build_Standalone=0" "-DJucePlugin_Build_Unity=0"
JUCE_TARGET_APP := Projucer
JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -O3 $(CFLAGS)
JUCE_CXXFLAGS += $(JUCE_CFLAGS) -std=c++14 $(CXXFLAGS)
JUCE_LDFLAGS += $(TARGET_ARCH) -L$(JUCE_BINDIR) -L$(JUCE_LIBDIR) $(shell pkg-config --libs freetype2) -fvisibility=hidden -lrt -ldl -lpthread $(LDFLAGS)
CLEANCMD = rm -rf $(JUCE_OUTDIR)/$(TARGET) $(JUCE_OBJDIR)
endif
OBJECTS_APP := \
$(JUCE_OBJDIR)/jucer_NewProjectWizard_7817a7e4.o \
$(JUCE_OBJDIR)/jucer_StartPageComponent_de6b22ec.o \
$(JUCE_OBJDIR)/jucer_AutoUpdater_ca658dc2.o \
$(JUCE_OBJDIR)/jucer_CommandLine_f35de107.o \
$(JUCE_OBJDIR)/jucer_Main_f8488f5b.o \
$(JUCE_OBJDIR)/jucer_MainWindow_1e163aeb.o \
$(JUCE_OBJDIR)/jucer_DocumentEditorComponent_bc853a2f.o \
$(JUCE_OBJDIR)/jucer_OpenDocumentManager_ba866622.o \
$(JUCE_OBJDIR)/jucer_SourceCodeEditor_55965985.o \
$(JUCE_OBJDIR)/jucer_ComponentTypeHandler_d7e70242.o \
$(JUCE_OBJDIR)/jucer_ButtonDocument_b2cabdec.o \
$(JUCE_OBJDIR)/jucer_ComponentDocument_1d8c1063.o \
$(JUCE_OBJDIR)/jucer_ColouredElement_acb45c39.o \
$(JUCE_OBJDIR)/jucer_PaintElement_db652060.o \
$(JUCE_OBJDIR)/jucer_PaintElementGroup_256346c9.o \
$(JUCE_OBJDIR)/jucer_PaintElementImage_49702ba5.o \
$(JUCE_OBJDIR)/jucer_PaintElementPath_d1b280a5.o \
$(JUCE_OBJDIR)/jucer_ComponentLayoutEditor_4fc44b8d.o \
$(JUCE_OBJDIR)/jucer_ComponentOverlayComponent_5e028963.o \
$(JUCE_OBJDIR)/jucer_EditingPanelBase_28115dee.o \
$(JUCE_OBJDIR)/jucer_JucerDocumentEditor_89371a26.o \
$(JUCE_OBJDIR)/jucer_PaintRoutineEditor_43fd8744.o \
$(JUCE_OBJDIR)/jucer_PaintRoutinePanel_83779cd7.o \
$(JUCE_OBJDIR)/jucer_ResourceEditorPanel_237eee2.o \
$(JUCE_OBJDIR)/jucer_TestComponent_1a4179c4.o \
$(JUCE_OBJDIR)/jucer_BinaryResources_e0f99b46.o \
$(JUCE_OBJDIR)/jucer_ComponentLayout_6ea00129.o \
$(JUCE_OBJDIR)/jucer_GeneratedCode_9ca4ef7e.o \
$(JUCE_OBJDIR)/jucer_JucerDocument_ff8afcc2.o \
$(JUCE_OBJDIR)/jucer_ObjectTypes_4406f01c.o \
$(JUCE_OBJDIR)/jucer_PaintRoutine_e1e891ee.o \
$(JUCE_OBJDIR)/jucer_Modules_e20cbd10.o \
$(JUCE_OBJDIR)/jucer_HeaderComponent_1ebf72ba.o \
$(JUCE_OBJDIR)/jucer_Project_c131864a.o \
$(JUCE_OBJDIR)/jucer_ProjectExporter_cf377b25.o \
$(JUCE_OBJDIR)/jucer_ProjectSaver_4276639b.o \
$(JUCE_OBJDIR)/jucer_ResourceFile_74b61849.o \
$(JUCE_OBJDIR)/jucer_AppearanceSettings_fa5d736e.o \
$(JUCE_OBJDIR)/jucer_StoredSettings_c7168d2d.o \
$(JUCE_OBJDIR)/jucer_CodeHelpers_1e797672.o \
$(JUCE_OBJDIR)/jucer_FileHelpers_54f12f83.o \
$(JUCE_OBJDIR)/jucer_MiscUtilities_31fc8dd8.o \
$(JUCE_OBJDIR)/jucer_NewFileWizard_b233dda1.o \
$(JUCE_OBJDIR)/jucer_VersionInfo_46f3ed40.o \
$(JUCE_OBJDIR)/jucer_PIPGenerator_fd3402c7.o \
$(JUCE_OBJDIR)/jucer_Icons_d02d18f1.o \
$(JUCE_OBJDIR)/jucer_JucerTreeViewBase_9b9f2ff0.o \
$(JUCE_OBJDIR)/jucer_ProjucerLookAndFeel_3b20291d.o \
$(JUCE_OBJDIR)/jucer_SlidingPanelComponent_4e7dc07e.o \
$(JUCE_OBJDIR)/BinaryData_ce4232d4.o \
$(JUCE_OBJDIR)/include_juce_build_tools_f5069398.o \
$(JUCE_OBJDIR)/include_juce_core_f26d17db.o \
$(JUCE_OBJDIR)/include_juce_cryptography_8cb807a8.o \
$(JUCE_OBJDIR)/include_juce_data_structures_7471b1e3.o \
$(JUCE_OBJDIR)/include_juce_events_fd7d695.o \
$(JUCE_OBJDIR)/include_juce_graphics_f817e147.o \
$(JUCE_OBJDIR)/include_juce_gui_basics_e3f79785.o \
$(JUCE_OBJDIR)/include_juce_gui_extra_6dee1c1a.o \
.PHONY: clean all strip
all : $(JUCE_OUTDIR)/$(JUCE_TARGET_APP)
$(JUCE_OUTDIR)/$(JUCE_TARGET_APP) : $(OBJECTS_APP) $(RESOURCES)
@command -v pkg-config >/dev/null 2>&1 || { echo >&2 "pkg-config not installed. Please, install it."; exit 1; }
@pkg-config --print-errors freetype2
@echo Linking "Projucer - App"
-$(V_AT)mkdir -p $(JUCE_BINDIR)
-$(V_AT)mkdir -p $(JUCE_LIBDIR)
-$(V_AT)mkdir -p $(JUCE_OUTDIR)
$(V_AT)$(CXX) -o $(JUCE_OUTDIR)/$(JUCE_TARGET_APP) $(OBJECTS_APP) $(JUCE_LDFLAGS) $(JUCE_LDFLAGS_APP) $(RESOURCES) $(TARGET_ARCH)
$(JUCE_OBJDIR)/jucer_NewProjectWizard_7817a7e4.o: ../../Source/Application/StartPage/jucer_NewProjectWizard.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_NewProjectWizard.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_StartPageComponent_de6b22ec.o: ../../Source/Application/StartPage/jucer_StartPageComponent.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_StartPageComponent.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_AutoUpdater_ca658dc2.o: ../../Source/Application/jucer_AutoUpdater.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_AutoUpdater.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_CommandLine_f35de107.o: ../../Source/Application/jucer_CommandLine.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_CommandLine.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_Main_f8488f5b.o: ../../Source/Application/jucer_Main.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_Main.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_MainWindow_1e163aeb.o: ../../Source/Application/jucer_MainWindow.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_MainWindow.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_DocumentEditorComponent_bc853a2f.o: ../../Source/CodeEditor/jucer_DocumentEditorComponent.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_DocumentEditorComponent.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_OpenDocumentManager_ba866622.o: ../../Source/CodeEditor/jucer_OpenDocumentManager.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_OpenDocumentManager.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_SourceCodeEditor_55965985.o: ../../Source/CodeEditor/jucer_SourceCodeEditor.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_SourceCodeEditor.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ComponentTypeHandler_d7e70242.o: ../../Source/ComponentEditor/Components/jucer_ComponentTypeHandler.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ComponentTypeHandler.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ButtonDocument_b2cabdec.o: ../../Source/ComponentEditor/Documents/jucer_ButtonDocument.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ButtonDocument.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ComponentDocument_1d8c1063.o: ../../Source/ComponentEditor/Documents/jucer_ComponentDocument.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ComponentDocument.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ColouredElement_acb45c39.o: ../../Source/ComponentEditor/PaintElements/jucer_ColouredElement.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ColouredElement.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintElement_db652060.o: ../../Source/ComponentEditor/PaintElements/jucer_PaintElement.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintElement.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintElementGroup_256346c9.o: ../../Source/ComponentEditor/PaintElements/jucer_PaintElementGroup.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintElementGroup.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintElementImage_49702ba5.o: ../../Source/ComponentEditor/PaintElements/jucer_PaintElementImage.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintElementImage.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintElementPath_d1b280a5.o: ../../Source/ComponentEditor/PaintElements/jucer_PaintElementPath.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintElementPath.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ComponentLayoutEditor_4fc44b8d.o: ../../Source/ComponentEditor/UI/jucer_ComponentLayoutEditor.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ComponentLayoutEditor.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ComponentOverlayComponent_5e028963.o: ../../Source/ComponentEditor/UI/jucer_ComponentOverlayComponent.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ComponentOverlayComponent.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_EditingPanelBase_28115dee.o: ../../Source/ComponentEditor/UI/jucer_EditingPanelBase.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_EditingPanelBase.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_JucerDocumentEditor_89371a26.o: ../../Source/ComponentEditor/UI/jucer_JucerDocumentEditor.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_JucerDocumentEditor.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintRoutineEditor_43fd8744.o: ../../Source/ComponentEditor/UI/jucer_PaintRoutineEditor.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintRoutineEditor.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintRoutinePanel_83779cd7.o: ../../Source/ComponentEditor/UI/jucer_PaintRoutinePanel.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintRoutinePanel.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ResourceEditorPanel_237eee2.o: ../../Source/ComponentEditor/UI/jucer_ResourceEditorPanel.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ResourceEditorPanel.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_TestComponent_1a4179c4.o: ../../Source/ComponentEditor/UI/jucer_TestComponent.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_TestComponent.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_BinaryResources_e0f99b46.o: ../../Source/ComponentEditor/jucer_BinaryResources.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_BinaryResources.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ComponentLayout_6ea00129.o: ../../Source/ComponentEditor/jucer_ComponentLayout.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ComponentLayout.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_GeneratedCode_9ca4ef7e.o: ../../Source/ComponentEditor/jucer_GeneratedCode.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_GeneratedCode.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_JucerDocument_ff8afcc2.o: ../../Source/ComponentEditor/jucer_JucerDocument.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_JucerDocument.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ObjectTypes_4406f01c.o: ../../Source/ComponentEditor/jucer_ObjectTypes.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ObjectTypes.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PaintRoutine_e1e891ee.o: ../../Source/ComponentEditor/jucer_PaintRoutine.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PaintRoutine.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_Modules_e20cbd10.o: ../../Source/Project/Modules/jucer_Modules.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_Modules.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_HeaderComponent_1ebf72ba.o: ../../Source/Project/UI/jucer_HeaderComponent.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_HeaderComponent.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_Project_c131864a.o: ../../Source/Project/jucer_Project.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_Project.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ProjectExporter_cf377b25.o: ../../Source/ProjectSaving/jucer_ProjectExporter.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ProjectExporter.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ProjectSaver_4276639b.o: ../../Source/ProjectSaving/jucer_ProjectSaver.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ProjectSaver.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ResourceFile_74b61849.o: ../../Source/ProjectSaving/jucer_ResourceFile.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ResourceFile.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_AppearanceSettings_fa5d736e.o: ../../Source/Settings/jucer_AppearanceSettings.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_AppearanceSettings.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_StoredSettings_c7168d2d.o: ../../Source/Settings/jucer_StoredSettings.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_StoredSettings.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_CodeHelpers_1e797672.o: ../../Source/Utility/Helpers/jucer_CodeHelpers.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_CodeHelpers.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_FileHelpers_54f12f83.o: ../../Source/Utility/Helpers/jucer_FileHelpers.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_FileHelpers.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_MiscUtilities_31fc8dd8.o: ../../Source/Utility/Helpers/jucer_MiscUtilities.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_MiscUtilities.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_NewFileWizard_b233dda1.o: ../../Source/Utility/Helpers/jucer_NewFileWizard.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_NewFileWizard.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_VersionInfo_46f3ed40.o: ../../Source/Utility/Helpers/jucer_VersionInfo.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_VersionInfo.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_PIPGenerator_fd3402c7.o: ../../Source/Utility/PIPs/jucer_PIPGenerator.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_PIPGenerator.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_Icons_d02d18f1.o: ../../Source/Utility/UI/jucer_Icons.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_Icons.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_JucerTreeViewBase_9b9f2ff0.o: ../../Source/Utility/UI/jucer_JucerTreeViewBase.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_JucerTreeViewBase.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_ProjucerLookAndFeel_3b20291d.o: ../../Source/Utility/UI/jucer_ProjucerLookAndFeel.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_ProjucerLookAndFeel.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/jucer_SlidingPanelComponent_4e7dc07e.o: ../../Source/Utility/UI/jucer_SlidingPanelComponent.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling jucer_SlidingPanelComponent.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/BinaryData_ce4232d4.o: ../../JuceLibraryCode/BinaryData.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling BinaryData.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_build_tools_f5069398.o: ../../JuceLibraryCode/include_juce_build_tools.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_build_tools.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_core_f26d17db.o: ../../JuceLibraryCode/include_juce_core.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_core.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_cryptography_8cb807a8.o: ../../JuceLibraryCode/include_juce_cryptography.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_cryptography.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_data_structures_7471b1e3.o: ../../JuceLibraryCode/include_juce_data_structures.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_data_structures.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_events_fd7d695.o: ../../JuceLibraryCode/include_juce_events.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_events.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_graphics_f817e147.o: ../../JuceLibraryCode/include_juce_graphics.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_graphics.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_gui_basics_e3f79785.o: ../../JuceLibraryCode/include_juce_gui_basics.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_gui_basics.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
$(JUCE_OBJDIR)/include_juce_gui_extra_6dee1c1a.o: ../../JuceLibraryCode/include_juce_gui_extra.cpp
-$(V_AT)mkdir -p $(JUCE_OBJDIR)
@echo "Compiling include_juce_gui_extra.cpp"
$(V_AT)$(CXX) $(JUCE_CXXFLAGS) $(JUCE_CPPFLAGS_APP) $(JUCE_CFLAGS_APP) -o "$@" -c "$<"
clean:
@echo Cleaning Projucer
$(V_AT)$(CLEANCMD)
strip:
@echo Stripping Projucer
-$(V_AT)$(STRIP) --strip-unneeded $(JUCE_OUTDIR)/$(TARGET)
-include $(OBJECTS_APP:%.o=%.d)

Binary file not shown.

View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist>
<dict>
<key>NSMicrophoneUsageDescription</key>
<string>This app requires audio input. If you do not have an audio interface connected it will use the built-in microphone.</string>
<key>NSCameraUsageDescription</key>
<string>This app requires access to the camera to function correctly.</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>Icon.icns</string>
<key>CFBundleIdentifier</key>
<string>com.juce.theprojucer</string>
<key>CFBundleName</key>
<string>Projucer</string>
<key>CFBundleDisplayName</key>
<string>Projucer</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>6.1.2</string>
<key>CFBundleVersion</key>
<string>6.1.2</string>
<key>NSHumanReadableCopyright</key>
<string>Raw Material Software Limited</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>jucer</string>
</array>
<key>CFBundleTypeName</key>
<string>jucer</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeIconFile</key>
<string>Icon</string>
<key>NSPersistentStoreTypeKey</key>
<string>XML</string>
</dict>
</array>
</dict>
</plist>

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,20 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2015
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Projucer - App", "Projucer_App.vcxproj", "{E4CFCE31-1AF5-C360-751D-9682E333BE4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Debug|x64.ActiveCfg = Debug|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Debug|x64.Build.0 = Debug|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Release|x64.ActiveCfg = Release|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,36 @@
#pragma code_page(65001)
#ifdef JUCE_USER_DEFINED_RC_FILE
#include JUCE_USER_DEFINED_RC_FILE
#else
#undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,1,2,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Raw Material Software Limited\0"
VALUE "LegalCopyright", "Raw Material Software Limited\0"
VALUE "FileDescription", "Projucer\0"
VALUE "FileVersion", "6.1.2\0"
VALUE "ProductName", "Projucer\0"
VALUE "ProductVersion", "6.1.2\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif
IDI_ICON1 ICON DISCARDABLE "icon.ico"
IDI_ICON2 ICON DISCARDABLE "icon.ico"

View File

@ -0,0 +1,20 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2017
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Projucer - App", "Projucer_App.vcxproj", "{E4CFCE31-1AF5-C360-751D-9682E333BE4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Debug|x64.ActiveCfg = Debug|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Debug|x64.Build.0 = Debug|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Release|x64.ActiveCfg = Release|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,36 @@
#pragma code_page(65001)
#ifdef JUCE_USER_DEFINED_RC_FILE
#include JUCE_USER_DEFINED_RC_FILE
#else
#undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,1,2,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Raw Material Software Limited\0"
VALUE "LegalCopyright", "Raw Material Software Limited\0"
VALUE "FileDescription", "Projucer\0"
VALUE "FileVersion", "6.1.2\0"
VALUE "ProductName", "Projucer\0"
VALUE "ProductVersion", "6.1.2\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif
IDI_ICON1 ICON DISCARDABLE "icon.ico"
IDI_ICON2 ICON DISCARDABLE "icon.ico"

View File

@ -0,0 +1,20 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2019
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Projucer - App", "Projucer_App.vcxproj", "{E4CFCE31-1AF5-C360-751D-9682E333BE4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Debug|x64.ActiveCfg = Debug|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Debug|x64.Build.0 = Debug|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Release|x64.ActiveCfg = Release|x64
{E4CFCE31-1AF5-C360-751D-9682E333BE4D}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,36 @@
#pragma code_page(65001)
#ifdef JUCE_USER_DEFINED_RC_FILE
#include JUCE_USER_DEFINED_RC_FILE
#else
#undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,1,2,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Raw Material Software Limited\0"
VALUE "LegalCopyright", "Raw Material Software Limited\0"
VALUE "FileDescription", "Projucer\0"
VALUE "FileVersion", "6.1.2\0"
VALUE "ProductName", "Projucer\0"
VALUE "ProductVersion", "6.1.2\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif
IDI_ICON1 ICON DISCARDABLE "icon.ico"
IDI_ICON2 ICON DISCARDABLE "icon.ico"

167
deps/juce/extras/Projucer/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,167 @@
# ==============================================================================
#
# This file is part of the JUCE library.
# Copyright (c) 2020 - Raw Material Software Limited
#
# JUCE is an open source library subject to commercial or open-source
# licensing.
#
# By using JUCE, you agree to the terms of both the JUCE 6 End-User License
# Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
#
# End User License Agreement: www.juce.com/juce-6-licence
# Privacy Policy: www.juce.com/juce-privacy-policy
#
# Or: You may also use this code under the terms of the GPL v3 (see
# www.gnu.org/licenses).
#
# JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
# EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
# DISCLAIMED.
#
# ==============================================================================
juce_add_gui_app(Projucer
BUNDLE_ID com.juce.theprojucer
ICON_BIG ${CMAKE_CURRENT_SOURCE_DIR}/Source/BinaryData/Icons/juce_icon.png
DOCUMENT_EXTENSIONS jucer
NEEDS_CURL TRUE
NEEDS_WEB_BROWSER TRUE)
juce_generate_juce_header(Projucer)
# This is to work around a bug with how cmake computes language standard flags with
# target_compile_features
set_target_properties(Projucer PROPERTIES CXX_STANDARD 11)
target_sources(Projucer PRIVATE
Source/Application/jucer_AutoUpdater.cpp
Source/Application/jucer_CommandLine.cpp
Source/Application/jucer_Main.cpp
Source/Application/jucer_MainWindow.cpp
Source/Application/StartPage/jucer_StartPageComponent.cpp
Source/Application/StartPage/jucer_NewProjectWizard.cpp
Source/CodeEditor/jucer_DocumentEditorComponent.cpp
Source/CodeEditor/jucer_OpenDocumentManager.cpp
Source/CodeEditor/jucer_SourceCodeEditor.cpp
Source/ComponentEditor/Components/jucer_ComponentTypeHandler.cpp
Source/ComponentEditor/Documents/jucer_ButtonDocument.cpp
Source/ComponentEditor/Documents/jucer_ComponentDocument.cpp
Source/ComponentEditor/PaintElements/jucer_ColouredElement.cpp
Source/ComponentEditor/PaintElements/jucer_PaintElement.cpp
Source/ComponentEditor/PaintElements/jucer_PaintElementGroup.cpp
Source/ComponentEditor/PaintElements/jucer_PaintElementImage.cpp
Source/ComponentEditor/PaintElements/jucer_PaintElementPath.cpp
Source/ComponentEditor/UI/jucer_ComponentLayoutEditor.cpp
Source/ComponentEditor/UI/jucer_ComponentOverlayComponent.cpp
Source/ComponentEditor/UI/jucer_EditingPanelBase.cpp
Source/ComponentEditor/UI/jucer_JucerDocumentEditor.cpp
Source/ComponentEditor/UI/jucer_PaintRoutineEditor.cpp
Source/ComponentEditor/UI/jucer_PaintRoutinePanel.cpp
Source/ComponentEditor/UI/jucer_ResourceEditorPanel.cpp
Source/ComponentEditor/UI/jucer_TestComponent.cpp
Source/ComponentEditor/jucer_BinaryResources.cpp
Source/ComponentEditor/jucer_ComponentLayout.cpp
Source/ComponentEditor/jucer_GeneratedCode.cpp
Source/ComponentEditor/jucer_JucerDocument.cpp
Source/ComponentEditor/jucer_ObjectTypes.cpp
Source/ComponentEditor/jucer_PaintRoutine.cpp
Source/Project/Modules/jucer_Modules.cpp
Source/Project/UI/jucer_HeaderComponent.cpp
Source/Project/jucer_Project.cpp
Source/ProjectSaving/jucer_ProjectExporter.cpp
Source/ProjectSaving/jucer_ProjectSaver.cpp
Source/ProjectSaving/jucer_ResourceFile.cpp
Source/Settings/jucer_AppearanceSettings.cpp
Source/Settings/jucer_StoredSettings.cpp
Source/Utility/Helpers/jucer_CodeHelpers.cpp
Source/Utility/Helpers/jucer_FileHelpers.cpp
Source/Utility/Helpers/jucer_MiscUtilities.cpp
Source/Utility/Helpers/jucer_NewFileWizard.cpp
Source/Utility/Helpers/jucer_VersionInfo.cpp
Source/Utility/PIPs/jucer_PIPGenerator.cpp
Source/Utility/UI/jucer_Icons.cpp
Source/Utility/UI/jucer_JucerTreeViewBase.cpp
Source/Utility/UI/jucer_ProjucerLookAndFeel.cpp
Source/Utility/UI/jucer_SlidingPanelComponent.cpp)
target_compile_definitions(Projucer PRIVATE
JUCE_ALLOW_STATIC_NULL_VARIABLES=0
JUCE_LOAD_CURL_SYMBOLS_LAZILY=1
JUCE_LOG_ASSERTIONS=1
JUCE_STRICT_REFCOUNTEDPOINTER=1
JUCE_USE_CURL=1
JUCE_WEB_BROWSER=0)
juce_add_binary_data(ProjucerData SOURCES
Source/BinaryData/Icons/background_logo.svg
Source/BinaryData/Icons/export_android.svg
Source/BinaryData/Icons/export_clion.svg
Source/BinaryData/Icons/export_codeBlocks.svg
Source/BinaryData/Icons/export_linux.svg
Source/BinaryData/Icons/export_visualStudio.svg
Source/BinaryData/Icons/export_xcode.svg
Source/BinaryData/Icons/gpl_logo.svg
Source/BinaryData/Icons/juce_icon.png
Source/BinaryData/Icons/wizard_AnimatedApp.svg
Source/BinaryData/Icons/wizard_AudioApp.svg
Source/BinaryData/Icons/wizard_AudioPlugin.svg
Source/BinaryData/Icons/wizard_ConsoleApp.svg
Source/BinaryData/Icons/wizard_DLL.svg
Source/BinaryData/Icons/wizard_GUI.svg
Source/BinaryData/Icons/wizard_Highlight.svg
Source/BinaryData/Icons/wizard_OpenGL.svg
Source/BinaryData/Icons/wizard_Openfile.svg
Source/BinaryData/Icons/wizard_StaticLibrary.svg
Source/BinaryData/Templates/jucer_AnimatedComponentSimpleTemplate.h
Source/BinaryData/Templates/jucer_AnimatedComponentTemplate.cpp
Source/BinaryData/Templates/jucer_AnimatedComponentTemplate.h
Source/BinaryData/Templates/jucer_AudioComponentSimpleTemplate.h
Source/BinaryData/Templates/jucer_AudioComponentTemplate.cpp
Source/BinaryData/Templates/jucer_AudioComponentTemplate.h
Source/BinaryData/Templates/jucer_AudioPluginEditorTemplate.cpp
Source/BinaryData/Templates/jucer_AudioPluginEditorTemplate.h
Source/BinaryData/Templates/jucer_AudioPluginFilterTemplate.cpp
Source/BinaryData/Templates/jucer_AudioPluginFilterTemplate.h
Source/BinaryData/Templates/jucer_ComponentTemplate.cpp
Source/BinaryData/Templates/jucer_ComponentTemplate.h
Source/BinaryData/Templates/jucer_ContentCompSimpleTemplate.h
Source/BinaryData/Templates/jucer_ContentCompTemplate.cpp
Source/BinaryData/Templates/jucer_ContentCompTemplate.h
Source/BinaryData/Templates/jucer_InlineComponentTemplate.h
Source/BinaryData/Templates/jucer_MainConsoleAppTemplate.cpp
Source/BinaryData/Templates/jucer_MainTemplate_NoWindow.cpp
Source/BinaryData/Templates/jucer_MainTemplate_Window.cpp
Source/BinaryData/Templates/jucer_NewComponentTemplate.cpp
Source/BinaryData/Templates/jucer_NewComponentTemplate.h
Source/BinaryData/Templates/jucer_NewCppFileTemplate.cpp
Source/BinaryData/Templates/jucer_NewCppFileTemplate.h
Source/BinaryData/Templates/jucer_NewInlineComponentTemplate.h
Source/BinaryData/Templates/jucer_OpenGLComponentSimpleTemplate.h
Source/BinaryData/Templates/jucer_OpenGLComponentTemplate.cpp
Source/BinaryData/Templates/jucer_OpenGLComponentTemplate.h
Source/BinaryData/Templates/jucer_PIPAudioProcessorTemplate.h
Source/BinaryData/Templates/jucer_PIPTemplate.h
Source/BinaryData/colourscheme_dark.xml
Source/BinaryData/colourscheme_light.xml
Source/BinaryData/gradle/LICENSE
Source/BinaryData/gradle/gradle-wrapper.jar
Source/BinaryData/gradle/gradlew
Source/BinaryData/gradle/gradlew.bat
../Build/CMake/LaunchScreen.storyboard
../Build/CMake/PIPAudioProcessor.cpp.in
../Build/CMake/PIPComponent.cpp.in
../Build/CMake/PIPConsole.cpp.in
../Build/CMake/RecentFilesMenuTemplate.nib
../Build/CMake/UnityPluginGUIScript.cs.in
../Build/CMake/juce_runtime_arch_detection.cpp)
target_link_libraries(Projucer PRIVATE
ProjucerData
juce::juce_build_tools
juce::juce_cryptography
juce::juce_gui_extra
juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,210 @@
/* =========================================================================================
This is an auto-generated file: Any edits you make may be overwritten!
*/
#pragma once
namespace BinaryData
{
extern const char* LaunchScreen_storyboard;
const int LaunchScreen_storyboardSize = 1042;
extern const char* PIPAudioProcessor_cpp_in;
const int PIPAudioProcessor_cpp_inSize = 483;
extern const char* PIPComponent_cpp_in;
const int PIPComponent_cpp_inSize = 2275;
extern const char* PIPConsole_cpp_in;
const int PIPConsole_cpp_inSize = 299;
extern const char* RecentFilesMenuTemplate_nib;
const int RecentFilesMenuTemplate_nibSize = 2842;
extern const char* UnityPluginGUIScript_cs_in;
const int UnityPluginGUIScript_cs_inSize = 6424;
extern const char* gradlewrapper_jar;
const int gradlewrapper_jarSize = 53636;
extern const char* gradlew;
const int gradlewSize = 4971;
extern const char* gradlew_bat;
const int gradlew_batSize = 2404;
extern const char* LICENSE;
const int LICENSESize = 11325;
extern const char* background_logo_svg;
const int background_logo_svgSize = 3249;
extern const char* export_android_svg;
const int export_android_svgSize = 3586;
extern const char* export_clion_svg;
const int export_clion_svgSize = 2244;
extern const char* export_codeBlocks_svg;
const int export_codeBlocks_svgSize = 1726;
extern const char* export_linux_svg;
const int export_linux_svgSize = 28184;
extern const char* export_visualStudio_svg;
const int export_visualStudio_svgSize = 1706;
extern const char* export_xcode_svg;
const int export_xcode_svgSize = 12295;
extern const char* gpl_logo_svg;
const int gpl_logo_svgSize = 27030;
extern const char* juce_icon_png;
const int juce_icon_pngSize = 105697;
extern const char* wizard_AnimatedApp_svg;
const int wizard_AnimatedApp_svgSize = 5978;
extern const char* wizard_AudioApp_svg;
const int wizard_AudioApp_svgSize = 17791;
extern const char* wizard_AudioPlugin_svg;
const int wizard_AudioPlugin_svgSize = 21296;
extern const char* wizard_ConsoleApp_svg;
const int wizard_ConsoleApp_svgSize = 3249;
extern const char* wizard_DLL_svg;
const int wizard_DLL_svgSize = 7503;
extern const char* wizard_GUI_svg;
const int wizard_GUI_svgSize = 6528;
extern const char* wizard_Highlight_svg;
const int wizard_Highlight_svgSize = 1798;
extern const char* wizard_Openfile_svg;
const int wizard_Openfile_svgSize = 1859;
extern const char* wizard_OpenGL_svg;
const int wizard_OpenGL_svgSize = 4551;
extern const char* wizard_StaticLibrary_svg;
const int wizard_StaticLibrary_svgSize = 7488;
extern const char* jucer_AnimatedComponentSimpleTemplate_h;
const int jucer_AnimatedComponentSimpleTemplate_hSize = 1898;
extern const char* jucer_AnimatedComponentTemplate_cpp;
const int jucer_AnimatedComponentTemplate_cppSize = 1362;
extern const char* jucer_AnimatedComponentTemplate_h;
const int jucer_AnimatedComponentTemplate_hSize = 1008;
extern const char* jucer_AudioComponentSimpleTemplate_h;
const int jucer_AudioComponentSimpleTemplate_hSize = 3554;
extern const char* jucer_AudioComponentTemplate_cpp;
const int jucer_AudioComponentTemplate_cppSize = 2941;
extern const char* jucer_AudioComponentTemplate_h;
const int jucer_AudioComponentTemplate_hSize = 1187;
extern const char* jucer_AudioPluginEditorTemplate_cpp;
const int jucer_AudioPluginEditorTemplate_cppSize = 1355;
extern const char* jucer_AudioPluginEditorTemplate_h;
const int jucer_AudioPluginEditorTemplate_hSize = 973;
extern const char* jucer_AudioPluginFilterTemplate_cpp;
const int jucer_AudioPluginFilterTemplate_cppSize = 6218;
extern const char* jucer_AudioPluginFilterTemplate_h;
const int jucer_AudioPluginFilterTemplate_hSize = 2299;
extern const char* jucer_ComponentTemplate_cpp;
const int jucer_ComponentTemplate_cppSize = 2147;
extern const char* jucer_ComponentTemplate_h;
const int jucer_ComponentTemplate_hSize = 2065;
extern const char* jucer_ContentCompSimpleTemplate_h;
const int jucer_ContentCompSimpleTemplate_hSize = 1524;
extern const char* jucer_ContentCompTemplate_cpp;
const int jucer_ContentCompTemplate_cppSize = 1007;
extern const char* jucer_ContentCompTemplate_h;
const int jucer_ContentCompTemplate_hSize = 878;
extern const char* jucer_InlineComponentTemplate_h;
const int jucer_InlineComponentTemplate_hSize = 1276;
extern const char* jucer_MainConsoleAppTemplate_cpp;
const int jucer_MainConsoleAppTemplate_cppSize = 443;
extern const char* jucer_MainTemplate_NoWindow_cpp;
const int jucer_MainTemplate_NoWindow_cppSize = 1999;
extern const char* jucer_MainTemplate_Window_cpp;
const int jucer_MainTemplate_Window_cppSize = 4081;
extern const char* jucer_NewComponentTemplate_cpp;
const int jucer_NewComponentTemplate_cppSize = 1521;
extern const char* jucer_NewComponentTemplate_h;
const int jucer_NewComponentTemplate_hSize = 665;
extern const char* jucer_NewCppFileTemplate_cpp;
const int jucer_NewCppFileTemplate_cppSize = 278;
extern const char* jucer_NewCppFileTemplate_h;
const int jucer_NewCppFileTemplate_hSize = 258;
extern const char* jucer_NewInlineComponentTemplate_h;
const int jucer_NewInlineComponentTemplate_hSize = 1719;
extern const char* jucer_OpenGLComponentSimpleTemplate_h;
const int jucer_OpenGLComponentSimpleTemplate_hSize = 1987;
extern const char* jucer_OpenGLComponentTemplate_cpp;
const int jucer_OpenGLComponentTemplate_cppSize = 1470;
extern const char* jucer_OpenGLComponentTemplate_h;
const int jucer_OpenGLComponentTemplate_hSize = 1070;
extern const char* jucer_PIPAudioProcessorTemplate_h;
const int jucer_PIPAudioProcessorTemplate_hSize = 5055;
extern const char* jucer_PIPTemplate_h;
const int jucer_PIPTemplate_hSize = 517;
extern const char* colourscheme_dark_xml;
const int colourscheme_dark_xmlSize = 1050;
extern const char* colourscheme_light_xml;
const int colourscheme_light_xmlSize = 1050;
extern const char* juce_runtime_arch_detection_cpp;
const int juce_runtime_arch_detection_cppSize = 2129;
// Number of elements in the namedResourceList and originalFileNames arrays.
const int namedResourceListSize = 61;
// Points to the start of a list of resource names.
extern const char* namedResourceList[];
// Points to the start of a list of resource filenames.
extern const char* originalFilenames[];
// If you provide the name of one of the binary resource variables above, this function will
// return the corresponding data and its size (or a null pointer if the name isn't found).
const char* getNamedResource (const char* resourceNameUTF8, int& dataSizeInBytes);
// If you provide the name of one of the binary resource variables above, this function will
// return the corresponding original, non-mangled filename (or a null pointer if the name isn't found).
const char* getNamedResourceOriginalFilename (const char* resourceNameUTF8);
}

View File

@ -0,0 +1,50 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
This is the header file that your files should include in order to get all the
JUCE library headers. You should avoid including the JUCE headers directly in
your own source files, because that wouldn't pick up the correct configuration
options for your app.
*/
#pragma once
#include <juce_build_tools/juce_build_tools.h>
#include <juce_core/juce_core.h>
#include <juce_cryptography/juce_cryptography.h>
#include <juce_data_structures/juce_data_structures.h>
#include <juce_events/juce_events.h>
#include <juce_graphics/juce_graphics.h>
#include <juce_gui_basics/juce_gui_basics.h>
#include <juce_gui_extra/juce_gui_extra.h>
#include "BinaryData.h"
#if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION
/** If you've hit this error then the version of the Projucer that was used to generate this project is
older than the version of the JUCE modules being included. To fix this error, re-save your project
using the latest version of the Projucer or, if you aren't using the Projucer to manage your project,
remove the JUCE_PROJUCER_VERSION define.
*/
#error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
#endif
#if ! DONT_SET_USING_JUCE_NAMESPACE
// If your code uses a lot of JUCE classes, then this will obviously save you
// a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE.
using namespace juce;
#endif
#if ! JUCE_DONT_DECLARE_PROJECTINFO
namespace ProjectInfo
{
const char* const projectName = "Projucer";
const char* const companyName = "Raw Material Software Limited";
const char* const versionString = "6.1.2";
const int versionNumber = 0x60102;
}
#endif

View File

@ -0,0 +1,12 @@
Important Note!!
================
The purpose of this folder is to contain files that are auto-generated by the Projucer,
and ALL files in this folder will be mercilessly DELETED and completely re-written whenever
the Projucer saves your project.
Therefore, it's a bad idea to make any manual changes to the files in here, or to
put any of your own files in here if you don't want to lose them. (Of course you may choose
to add the folder's contents to your version-control system so that you can re-merge your own
modifications after the Projucer has saved its changes).

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_build_tools/juce_build_tools.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_core/juce_core.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_core/juce_core.mm>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_cryptography/juce_cryptography.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_cryptography/juce_cryptography.mm>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_data_structures/juce_data_structures.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_data_structures/juce_data_structures.mm>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_events/juce_events.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_events/juce_events.mm>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_graphics/juce_graphics.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_graphics/juce_graphics.mm>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_gui_basics/juce_gui_basics.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_gui_basics/juce_gui_basics.mm>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_gui_extra/juce_gui_extra.cpp>

View File

@ -0,0 +1,8 @@
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include <juce_gui_extra/juce_gui_extra.mm>

666
deps/juce/extras/Projucer/Projucer.jucer vendored Normal file
View File

@ -0,0 +1,666 @@
<?xml version="1.0" encoding="UTF-8"?>
<JUCERPROJECT id="M70qfTRRk" name="Projucer" projectType="guiapp" juceFolder="../../juce"
version="6.1.2" bundleIdentifier="com.juce.theprojucer" splashScreenColour="Dark"
displaySplashScreen="0" reportAppUsage="0" companyName="Raw Material Software Limited"
companyCopyright="Raw Material Software Limited" useAppConfig="0"
addUsingNamespaceToJuceHeader="1" jucerFormatVersion="1">
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/vstsdk2.4" rtasFolder="~/SDKs/PT_80_SDK"
documentExtensions=".jucer" objCExtraSuffix="zkVtji" bigIcon="Zrx1Gl"
extraFrameworks="AudioUnit; Accelerate; AVFoundation; CoreAudio; CoreAudioKit; CoreMIDI; DiscRecording; QuartzCore; AudioToolbox; OpenGL; QTKit; QuickTime"
microphonePermissionNeeded="1" cameraPermissionNeeded="1" smallIcon="Zrx1Gl"
applicationCategory="public.app-category.developer-tools">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" targetName="Projucer" cppLibType="libc++"
recommendedWarnings="LLVM" macOSDeploymentTarget="10.12"/>
<CONFIGURATION name="Release" isDebug="0" targetName="Projucer" cppLibType="libc++"
linkTimeOptimisation="0" recommendedWarnings="LLVM" macOSDeploymentTarget="10.12"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_gui_extra" path="../../modules"/>
<MODULEPATH id="juce_gui_basics" path="../../modules"/>
<MODULEPATH id="juce_graphics" path="../../modules"/>
<MODULEPATH id="juce_events" path="../../modules"/>
<MODULEPATH id="juce_data_structures" path="../../modules"/>
<MODULEPATH id="juce_cryptography" path="../../modules"/>
<MODULEPATH id="juce_core" path="../../modules"/>
<MODULEPATH id="juce_build_tools" path="../Build"/>
</MODULEPATHS>
</XCODE_MAC>
<VS2015 targetFolder="Builds/VisualStudio2015" bigIcon="Zrx1Gl" extraCompilerFlags="/bigobj"
smallIcon="Zrx1Gl">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" targetName="Projucer" debugInformationFormat="ProgramDatabase"
useRuntimeLibDLL="1"/>
<CONFIGURATION name="Release" isDebug="0" targetName="Projucer" useRuntimeLibDLL="0"
debugInformationFormat="None" linkTimeOptimisation="0"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_gui_extra" path="../../modules"/>
<MODULEPATH id="juce_gui_basics" path="../../modules"/>
<MODULEPATH id="juce_graphics" path="../../modules"/>
<MODULEPATH id="juce_events" path="../../modules"/>
<MODULEPATH id="juce_data_structures" path="../../modules"/>
<MODULEPATH id="juce_cryptography" path="../../modules"/>
<MODULEPATH id="juce_core" path="../../modules"/>
<MODULEPATH id="juce_build_tools" path="../Build"/>
</MODULEPATHS>
</VS2015>
<VS2017 targetFolder="Builds/VisualStudio2017" bigIcon="Zrx1Gl" extraCompilerFlags="/w44265 /w45038 /w44062"
smallIcon="Zrx1Gl">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" targetName="Projucer" useRuntimeLibDLL="0"/>
<CONFIGURATION name="Release" isDebug="0" optimisation="3" targetName="Projucer"
debugInformationFormat="None" useRuntimeLibDLL="0" linkTimeOptimisation="0"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_gui_extra" path="../../modules"/>
<MODULEPATH id="juce_gui_basics" path="../../modules"/>
<MODULEPATH id="juce_graphics" path="../../modules"/>
<MODULEPATH id="juce_events" path="../../modules"/>
<MODULEPATH id="juce_data_structures" path="../../modules"/>
<MODULEPATH id="juce_cryptography" path="../../modules"/>
<MODULEPATH id="juce_core" path="../../modules"/>
<MODULEPATH id="juce_build_tools" path="../Build"/>
</MODULEPATHS>
</VS2017>
<VS2019 targetFolder="Builds/VisualStudio2019" bigIcon="Zrx1Gl" extraCompilerFlags="/w44265 /w45038 /w44062"
smallIcon="Zrx1Gl">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" targetName="Projucer" useRuntimeLibDLL="0"/>
<CONFIGURATION name="Release" isDebug="0" optimisation="3" targetName="Projucer"
debugInformationFormat="None" useRuntimeLibDLL="0" linkTimeOptimisation="0"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_gui_extra" path="../../modules"/>
<MODULEPATH id="juce_gui_basics" path="../../modules"/>
<MODULEPATH id="juce_graphics" path="../../modules"/>
<MODULEPATH id="juce_events" path="../../modules"/>
<MODULEPATH id="juce_data_structures" path="../../modules"/>
<MODULEPATH id="juce_cryptography" path="../../modules"/>
<MODULEPATH id="juce_core" path="../../modules"/>
<MODULEPATH id="juce_build_tools" path="../Build"/>
</MODULEPATHS>
</VS2019>
<LINUX_MAKE targetFolder="Builds/LinuxMakefile" bigIcon="Zrx1Gl" smallIcon="Zrx1Gl">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" targetName="Projucer"/>
<CONFIGURATION name="Release" isDebug="0" targetName="Projucer"/>
</CONFIGURATIONS>
<MODULEPATHS>
<MODULEPATH id="juce_gui_extra" path="../../modules"/>
<MODULEPATH id="juce_gui_basics" path="../../modules"/>
<MODULEPATH id="juce_graphics" path="../../modules"/>
<MODULEPATH id="juce_events" path="../../modules"/>
<MODULEPATH id="juce_data_structures" path="../../modules"/>
<MODULEPATH id="juce_cryptography" path="../../modules"/>
<MODULEPATH id="juce_core" path="../../modules"/>
<MODULEPATH id="juce_build_tools" path="../Build"/>
</MODULEPATHS>
</LINUX_MAKE>
</EXPORTFORMATS>
<MAINGROUP name="Projucer" id="NhrJq66R">
<GROUP id="{9E4C4E0D-7BAB-EB6F-87DA-FB264EC2AE68}" name="Application">
<GROUP id="{2F6B47CF-F27B-0D18-331F-533DE3F89310}" name="StartPage">
<FILE id="PewFno" name="jucer_ContentComponents.h" compile="0" resource="0"
file="Source/Application/StartPage/jucer_ContentComponents.h"/>
<FILE id="ApAD9d" name="jucer_NewProjectTemplates.h" compile="0" resource="0"
file="Source/Application/StartPage/jucer_NewProjectTemplates.h"/>
<FILE id="t8pBCG" name="jucer_NewProjectWizard.cpp" compile="1" resource="0"
file="Source/Application/StartPage/jucer_NewProjectWizard.cpp"/>
<FILE id="eoPkbr" name="jucer_NewProjectWizard.h" compile="0" resource="0"
file="Source/Application/StartPage/jucer_NewProjectWizard.h"/>
<FILE id="OuSOwU" name="jucer_StartPageComponent.cpp" compile="1" resource="0"
file="Source/Application/StartPage/jucer_StartPageComponent.cpp"/>
<FILE id="gLig4M" name="jucer_StartPageComponent.h" compile="0" resource="0"
file="Source/Application/StartPage/jucer_StartPageComponent.h"/>
<FILE id="dsxevB" name="jucer_StartPageTreeHolder.h" compile="0" resource="0"
file="Source/Application/StartPage/jucer_StartPageTreeHolder.h"/>
</GROUP>
<GROUP id="{70333C48-4F84-A180-24E1-0EC9EF223F3B}" name="UserAccount">
<FILE id="Rw7w0l" name="jucer_LicenseController.h" compile="0" resource="0"
file="Source/Application/UserAccount/jucer_LicenseController.h"/>
<FILE id="rUtPud" name="jucer_LicenseQueryThread.h" compile="0" resource="0"
file="Source/Application/UserAccount/jucer_LicenseQueryThread.h"/>
<FILE id="Dwndl3" name="jucer_LicenseState.h" compile="0" resource="0"
file="Source/Application/UserAccount/jucer_LicenseState.h"/>
<FILE id="d5kWEN" name="jucer_LoginFormComponent.h" compile="0" resource="0"
file="Source/Application/UserAccount/jucer_LoginFormComponent.h"/>
</GROUP>
<GROUP id="{2F08ABDF-C7BB-5F54-55F5-0C2E27983930}" name="Windows">
<FILE id="w1XB4w" name="jucer_AboutWindowComponent.h" compile="0" resource="0"
file="Source/Application/Windows/jucer_AboutWindowComponent.h"/>
<FILE id="gAju2c" name="jucer_EditorColourSchemeWindowComponent.h"
compile="0" resource="0" file="Source/Application/Windows/jucer_EditorColourSchemeWindowComponent.h"/>
<FILE id="YO9U3v" name="jucer_FloatingToolWindow.h" compile="0" resource="0"
file="Source/Application/Windows/jucer_FloatingToolWindow.h"/>
<FILE id="dqgeFF" name="jucer_GlobalPathsWindowComponent.h" compile="0"
resource="0" file="Source/Application/Windows/jucer_GlobalPathsWindowComponent.h"/>
<FILE id="snVgLV" name="jucer_PIPCreatorWindowComponent.h" compile="0"
resource="0" file="Source/Application/Windows/jucer_PIPCreatorWindowComponent.h"/>
<FILE id="RyqPBc" name="jucer_SVGPathDataWindowComponent.h" compile="0"
resource="0" file="Source/Application/Windows/jucer_SVGPathDataWindowComponent.h"/>
<FILE id="ideTas" name="jucer_TranslationToolWindowComponent.h" compile="0"
resource="0" file="Source/Application/Windows/jucer_TranslationToolWindowComponent.h"/>
<FILE id="PQ1P6k" name="jucer_UTF8WindowComponent.h" compile="0" resource="0"
file="Source/Application/Windows/jucer_UTF8WindowComponent.h"/>
</GROUP>
<FILE id="x5UJUE" name="jucer_Application.cpp" compile="0" resource="0"
file="Source/Application/jucer_Application.cpp"/>
<FILE id="PzHvpv" name="jucer_Application.h" compile="0" resource="0"
file="Source/Application/jucer_Application.h"/>
<FILE id="YJn4XV" name="jucer_AutoUpdater.cpp" compile="1" resource="0"
file="Source/Application/jucer_AutoUpdater.cpp"/>
<FILE id="SlBsVF" name="jucer_AutoUpdater.h" compile="0" resource="0"
file="Source/Application/jucer_AutoUpdater.h"/>
<FILE id="tbt5pt" name="jucer_CommandIDs.h" compile="0" resource="0"
file="Source/Application/jucer_CommandIDs.h"/>
<FILE id="A3x9a5" name="jucer_CommandLine.cpp" compile="1" resource="0"
file="Source/Application/jucer_CommandLine.cpp"/>
<FILE id="kofCAg" name="jucer_CommandLine.h" compile="0" resource="0"
file="Source/Application/jucer_CommandLine.h"/>
<FILE id="A0CFMd" name="jucer_CommonHeaders.h" compile="0" resource="0"
file="Source/Application/jucer_CommonHeaders.h"/>
<FILE id="XolGkQ" name="jucer_Headers.h" compile="0" resource="0" file="Source/Application/jucer_Headers.h"/>
<FILE id="HEuFBb" name="jucer_Main.cpp" compile="1" resource="0" file="Source/Application/jucer_Main.cpp"/>
<FILE id="DYThU0" name="jucer_MainWindow.cpp" compile="1" resource="0"
file="Source/Application/jucer_MainWindow.cpp"/>
<FILE id="HmkREh" name="jucer_MainWindow.h" compile="0" resource="0"
file="Source/Application/jucer_MainWindow.h"/>
</GROUP>
<GROUP id="{BFDB3102-5EB6-41E0-043A-05C0DFF7A34D}" name="BinaryData">
<FILE id="QRvesq" name="LaunchScreen.storyboard" compile="0" resource="1"
file="../Build/CMake/LaunchScreen.storyboard"/>
<FILE id="QCgjY8" name="PIPAudioProcessor.cpp.in" compile="0" resource="1"
file="../Build/CMake/PIPAudioProcessor.cpp.in"/>
<FILE id="AwIYFr" name="PIPComponent.cpp.in" compile="0" resource="1"
file="../Build/CMake/PIPComponent.cpp.in"/>
<FILE id="SncItz" name="PIPConsole.cpp.in" compile="0" resource="1"
file="../Build/CMake/PIPConsole.cpp.in"/>
<FILE id="xokhSP" name="RecentFilesMenuTemplate.nib" compile="0" resource="1"
file="../Build/CMake/RecentFilesMenuTemplate.nib"/>
<FILE id="H4EF8K" name="UnityPluginGUIScript.cs.in" compile="0" resource="1"
file="../Build/CMake/UnityPluginGUIScript.cs.in"/>
<GROUP id="{6528902B-862F-277C-31AA-6F6283E7D5C8}" name="gradle">
<FILE id="HA0Kl7" name="gradle-wrapper.jar" compile="0" resource="1"
file="Source/BinaryData/gradle/gradle-wrapper.jar"/>
<FILE id="RmqRJ9" name="gradlew" compile="0" resource="1" file="Source/BinaryData/gradle/gradlew"/>
<FILE id="gOeI5K" name="gradlew.bat" compile="0" resource="1" file="Source/BinaryData/gradle/gradlew.bat"/>
<FILE id="xtpyoD" name="LICENSE" compile="0" resource="1" file="Source/BinaryData/gradle/LICENSE"/>
</GROUP>
<GROUP id="{85F5CA8E-1014-692B-2677-292237A41AF5}" name="Icons">
<FILE id="HvDzzK" name="background_logo.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/background_logo.svg"/>
<FILE id="qqeJmA" name="export_android.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/export_android.svg"/>
<FILE id="WF3jeY" name="export_clion.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/export_clion.svg"/>
<FILE id="FiwPHz" name="export_codeBlocks.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/export_codeBlocks.svg"/>
<FILE id="WBmsi6" name="export_linux.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/export_linux.svg"/>
<FILE id="fETsmT" name="export_visualStudio.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/export_visualStudio.svg"/>
<FILE id="G0oYd6" name="export_xcode.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/export_xcode.svg"/>
<FILE id="CfDTJ0" name="gpl_logo.svg" compile="0" resource="1" file="Source/BinaryData/Icons/gpl_logo.svg"/>
<FILE id="Zrx1Gl" name="juce_icon.png" compile="0" resource="1" file="Source/BinaryData/Icons/juce_icon.png"/>
<FILE id="iPYmG9" name="wizard_AnimatedApp.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_AnimatedApp.svg"/>
<FILE id="nAIo3Q" name="wizard_AudioApp.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_AudioApp.svg"/>
<FILE id="hwarU2" name="wizard_AudioPlugin.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_AudioPlugin.svg"/>
<FILE id="SMzg53" name="wizard_ConsoleApp.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_ConsoleApp.svg"/>
<FILE id="YG6Eva" name="wizard_DLL.svg" compile="0" resource="1" file="Source/BinaryData/Icons/wizard_DLL.svg"/>
<FILE id="obZCkC" name="wizard_GUI.svg" compile="0" resource="1" file="Source/BinaryData/Icons/wizard_GUI.svg"/>
<FILE id="U47vkJ" name="wizard_Highlight.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_Highlight.svg"/>
<FILE id="k4YA4V" name="wizard_Openfile.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_Openfile.svg"/>
<FILE id="jYodWX" name="wizard_OpenGL.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_OpenGL.svg"/>
<FILE id="Rbi6lX" name="wizard_StaticLibrary.svg" compile="0" resource="1"
file="Source/BinaryData/Icons/wizard_StaticLibrary.svg"/>
</GROUP>
<GROUP id="{A8B4BB53-2426-F6A0-9FB1-463BB9D64DB4}" name="Templates">
<FILE id="Uadbrm" name="jucer_AnimatedComponentSimpleTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AnimatedComponentSimpleTemplate.h"/>
<FILE id="fFFqLB" name="jucer_AnimatedComponentTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AnimatedComponentTemplate.cpp"/>
<FILE id="Wh7G1x" name="jucer_AnimatedComponentTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AnimatedComponentTemplate.h"/>
<FILE id="jzLsG8" name="jucer_AudioComponentSimpleTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioComponentSimpleTemplate.h"/>
<FILE id="BzvUrn" name="jucer_AudioComponentTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioComponentTemplate.cpp"/>
<FILE id="i9bm2b" name="jucer_AudioComponentTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioComponentTemplate.h"/>
<FILE id="BYSiw7" name="jucer_AudioPluginEditorTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioPluginEditorTemplate.cpp"/>
<FILE id="wcuIlm" name="jucer_AudioPluginEditorTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioPluginEditorTemplate.h"/>
<FILE id="Ik2XYj" name="jucer_AudioPluginFilterTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioPluginFilterTemplate.cpp"/>
<FILE id="ZuBmpP" name="jucer_AudioPluginFilterTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_AudioPluginFilterTemplate.h"/>
<FILE id="fnjYOi" name="jucer_ComponentTemplate.cpp" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_ComponentTemplate.cpp"/>
<FILE id="BlVkqH" name="jucer_ComponentTemplate.h" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_ComponentTemplate.h"/>
<FILE id="xfOeO3" name="jucer_ContentCompSimpleTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_ContentCompSimpleTemplate.h"/>
<FILE id="HX3JPg" name="jucer_ContentCompTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_ContentCompTemplate.cpp"/>
<FILE id="QTVhfj" name="jucer_ContentCompTemplate.h" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_ContentCompTemplate.h"/>
<FILE id="PuyOnZ" name="jucer_InlineComponentTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_InlineComponentTemplate.h"/>
<FILE id="FwmOVk" name="jucer_MainConsoleAppTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_MainConsoleAppTemplate.cpp"/>
<FILE id="IW9dIW" name="jucer_MainTemplate_NoWindow.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_MainTemplate_NoWindow.cpp"/>
<FILE id="Zx5T5B" name="jucer_MainTemplate_Window.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_MainTemplate_Window.cpp"/>
<FILE id="jCBXcQ" name="jucer_NewComponentTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_NewComponentTemplate.cpp"/>
<FILE id="Jmpp81" name="jucer_NewComponentTemplate.h" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_NewComponentTemplate.h"/>
<FILE id="mJuFw3" name="jucer_NewCppFileTemplate.cpp" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_NewCppFileTemplate.cpp"/>
<FILE id="AMybWD" name="jucer_NewCppFileTemplate.h" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_NewCppFileTemplate.h"/>
<FILE id="UfHALE" name="jucer_NewInlineComponentTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_NewInlineComponentTemplate.h"/>
<FILE id="l16bPj" name="jucer_OpenGLComponentSimpleTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_OpenGLComponentSimpleTemplate.h"/>
<FILE id="r1X5GG" name="jucer_OpenGLComponentTemplate.cpp" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_OpenGLComponentTemplate.cpp"/>
<FILE id="FBo5Mj" name="jucer_OpenGLComponentTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_OpenGLComponentTemplate.h"/>
<FILE id="e0zFrj" name="jucer_PIPAudioProcessorTemplate.h" compile="0"
resource="1" file="Source/BinaryData/Templates/jucer_PIPAudioProcessorTemplate.h"/>
<FILE id="iamwVV" name="jucer_PIPTemplate.h" compile="0" resource="1"
file="Source/BinaryData/Templates/jucer_PIPTemplate.h"/>
</GROUP>
<FILE id="Dfk9dC" name="colourscheme_dark.xml" compile="0" resource="1"
file="Source/BinaryData/colourscheme_dark.xml"/>
<FILE id="bvFank" name="colourscheme_light.xml" compile="0" resource="1"
file="Source/BinaryData/colourscheme_light.xml"/>
<FILE id="SDFoQY" name="juce_runtime_arch_detection.cpp" compile="0"
resource="1" file="../Build/CMake/juce_runtime_arch_detection.cpp"/>
</GROUP>
<GROUP id="{A5AE7471-B900-FD9D-8DE7-2FB68D11AE30}" name="CodeEditor">
<FILE id="w3ka6n" name="jucer_DocumentEditorComponent.cpp" compile="1"
resource="0" file="Source/CodeEditor/jucer_DocumentEditorComponent.cpp"/>
<FILE id="Gx36m4" name="jucer_DocumentEditorComponent.h" compile="0"
resource="0" file="Source/CodeEditor/jucer_DocumentEditorComponent.h"/>
<FILE id="uKOPR9" name="jucer_ItemPreviewComponent.h" compile="0" resource="0"
file="Source/CodeEditor/jucer_ItemPreviewComponent.h"/>
<FILE id="iHU8kh" name="jucer_OpenDocumentManager.cpp" compile="1"
resource="0" file="Source/CodeEditor/jucer_OpenDocumentManager.cpp"/>
<FILE id="Bz5yDH" name="jucer_OpenDocumentManager.h" compile="0" resource="0"
file="Source/CodeEditor/jucer_OpenDocumentManager.h"/>
<FILE id="S5gj8r" name="jucer_SourceCodeEditor.cpp" compile="1" resource="0"
file="Source/CodeEditor/jucer_SourceCodeEditor.cpp"/>
<FILE id="DWxv2K" name="jucer_SourceCodeEditor.h" compile="0" resource="0"
file="Source/CodeEditor/jucer_SourceCodeEditor.h"/>
</GROUP>
<GROUP id="{72B0A547-254F-0B35-10C4-370B0DE37F87}" name="ComponentEditor">
<GROUP id="{A5109718-A21E-5F8B-12CB-7F742647E7EF}" name="Components">
<FILE id="VgJIdD" name="jucer_ButtonHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_ButtonHandler.h"/>
<FILE id="FQtiTX" name="jucer_ComboBoxHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_ComboBoxHandler.h"/>
<FILE id="dDt9ID" name="jucer_ComponentNameProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_ComponentNameProperty.h"/>
<FILE id="xcRqj5" name="jucer_ComponentTypeHandler.cpp" compile="1"
resource="0" file="Source/ComponentEditor/Components/jucer_ComponentTypeHandler.cpp"/>
<FILE id="XcpoiJ" name="jucer_ComponentTypeHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_ComponentTypeHandler.h"/>
<FILE id="QpvtcR" name="jucer_ComponentUndoableAction.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_ComponentUndoableAction.h"/>
<FILE id="vjUD9G" name="jucer_GenericComponentHandler.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_GenericComponentHandler.h"/>
<FILE id="UHlZe2" name="jucer_GroupComponentHandler.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_GroupComponentHandler.h"/>
<FILE id="vWW1AJ" name="jucer_HyperlinkButtonHandler.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_HyperlinkButtonHandler.h"/>
<FILE id="bwtEL9" name="jucer_ImageButtonHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_ImageButtonHandler.h"/>
<FILE id="VrPZpe" name="jucer_JucerComponentHandler.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_JucerComponentHandler.h"/>
<FILE id="DSATgF" name="jucer_LabelHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_LabelHandler.h"/>
<FILE id="iMvLso" name="jucer_SliderHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_SliderHandler.h"/>
<FILE id="J8tXjq" name="jucer_TabbedComponentHandler.h" compile="0"
resource="0" file="Source/ComponentEditor/Components/jucer_TabbedComponentHandler.h"/>
<FILE id="Zp4zWE" name="jucer_TextButtonHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_TextButtonHandler.h"/>
<FILE id="avpiof" name="jucer_TextEditorHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_TextEditorHandler.h"/>
<FILE id="CQauU8" name="jucer_ToggleButtonHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_ToggleButtonHandler.h"/>
<FILE id="Vws9Pj" name="jucer_TreeViewHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_TreeViewHandler.h"/>
<FILE id="w4Fbfp" name="jucer_ViewportHandler.h" compile="0" resource="0"
file="Source/ComponentEditor/Components/jucer_ViewportHandler.h"/>
</GROUP>
<GROUP id="{607DB225-57B9-3C1A-74B7-2C40A769250F}" name="Documents">
<FILE id="acplfL" name="jucer_ButtonDocument.cpp" compile="1" resource="0"
file="Source/ComponentEditor/Documents/jucer_ButtonDocument.cpp"/>
<FILE id="UWUphG" name="jucer_ButtonDocument.h" compile="0" resource="0"
file="Source/ComponentEditor/Documents/jucer_ButtonDocument.h"/>
<FILE id="K9VpFG" name="jucer_ComponentDocument.cpp" compile="1" resource="0"
file="Source/ComponentEditor/Documents/jucer_ComponentDocument.cpp"/>
<FILE id="WmRfsl" name="jucer_ComponentDocument.h" compile="0" resource="0"
file="Source/ComponentEditor/Documents/jucer_ComponentDocument.h"/>
</GROUP>
<GROUP id="{E7D2D3DF-1623-5F4A-25C7-A413E0E01CA0}" name="PaintElements">
<FILE id="x4gzmh" name="jucer_ColouredElement.cpp" compile="1" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_ColouredElement.cpp"/>
<FILE id="fbsXYA" name="jucer_ColouredElement.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_ColouredElement.h"/>
<FILE id="FEKebz" name="jucer_ElementSiblingComponent.h" compile="0"
resource="0" file="Source/ComponentEditor/PaintElements/jucer_ElementSiblingComponent.h"/>
<FILE id="OEAia2" name="jucer_FillType.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_FillType.h"/>
<FILE id="pLaNLC" name="jucer_GradientPointComponent.h" compile="0"
resource="0" file="Source/ComponentEditor/PaintElements/jucer_GradientPointComponent.h"/>
<FILE id="NSmo1t" name="jucer_ImageResourceProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/PaintElements/jucer_ImageResourceProperty.h"/>
<FILE id="C4LD5Z" name="jucer_PaintElement.cpp" compile="1" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElement.cpp"/>
<FILE id="BurDuy" name="jucer_PaintElement.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElement.h"/>
<FILE id="XIdWSH" name="jucer_PaintElementEllipse.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementEllipse.h"/>
<FILE id="wfQP9E" name="jucer_PaintElementGroup.cpp" compile="1" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementGroup.cpp"/>
<FILE id="BvqsF8" name="jucer_PaintElementGroup.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementGroup.h"/>
<FILE id="IwLSAV" name="jucer_PaintElementImage.cpp" compile="1" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementImage.cpp"/>
<FILE id="wYJFrA" name="jucer_PaintElementImage.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementImage.h"/>
<FILE id="fVo9WQ" name="jucer_PaintElementPath.cpp" compile="1" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementPath.cpp"/>
<FILE id="L8g1jD" name="jucer_PaintElementPath.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementPath.h"/>
<FILE id="VjQY17" name="jucer_PaintElementRectangle.h" compile="0"
resource="0" file="Source/ComponentEditor/PaintElements/jucer_PaintElementRectangle.h"/>
<FILE id="pzaoBv" name="jucer_PaintElementRoundedRectangle.h" compile="0"
resource="0" file="Source/ComponentEditor/PaintElements/jucer_PaintElementRoundedRectangle.h"/>
<FILE id="P4ivBB" name="jucer_PaintElementText.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PaintElementText.h"/>
<FILE id="DqhQAy" name="jucer_PaintElementUndoableAction.h" compile="0"
resource="0" file="Source/ComponentEditor/PaintElements/jucer_PaintElementUndoableAction.h"/>
<FILE id="RgP2Cl" name="jucer_PointComponent.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_PointComponent.h"/>
<FILE id="fM1RFI" name="jucer_StrokeType.h" compile="0" resource="0"
file="Source/ComponentEditor/PaintElements/jucer_StrokeType.h"/>
</GROUP>
<GROUP id="{92298E18-53B2-1971-64E3-2212358223B1}" name="Properties">
<FILE id="fLr3TV" name="jucer_ColourPropertyComponent.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_ColourPropertyComponent.h"/>
<FILE id="TB8fD6" name="jucer_ComponentBooleanProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_ComponentBooleanProperty.h"/>
<FILE id="NW5DER" name="jucer_ComponentChoiceProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_ComponentChoiceProperty.h"/>
<FILE id="dsuebZ" name="jucer_ComponentColourProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_ComponentColourProperty.h"/>
<FILE id="sSiXcs" name="jucer_ComponentTextProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_ComponentTextProperty.h"/>
<FILE id="J1Oxkr" name="jucer_FilePropertyComponent.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_FilePropertyComponent.h"/>
<FILE id="tMwac1" name="jucer_FontPropertyComponent.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_FontPropertyComponent.h"/>
<FILE id="H0zjwj" name="jucer_JustificationProperty.h" compile="0"
resource="0" file="Source/ComponentEditor/Properties/jucer_JustificationProperty.h"/>
<FILE id="cUMZ2W" name="jucer_PositionPropertyBase.h" compile="0" resource="0"
file="Source/ComponentEditor/Properties/jucer_PositionPropertyBase.h"/>
</GROUP>
<GROUP id="{F920ED75-DD04-4F09-4EFE-1B70F3CCA0B3}" name="UI">
<FILE id="ynPWWT" name="jucer_ComponentLayoutEditor.cpp" compile="1"
resource="0" file="Source/ComponentEditor/UI/jucer_ComponentLayoutEditor.cpp"/>
<FILE id="l5Fd2B" name="jucer_ComponentLayoutEditor.h" compile="0"
resource="0" file="Source/ComponentEditor/UI/jucer_ComponentLayoutEditor.h"/>
<FILE id="mWewhM" name="jucer_ComponentLayoutPanel.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_ComponentLayoutPanel.h"/>
<FILE id="RmkBim" name="jucer_ComponentOverlayComponent.cpp" compile="1"
resource="0" file="Source/ComponentEditor/UI/jucer_ComponentOverlayComponent.cpp"/>
<FILE id="MSdWhc" name="jucer_ComponentOverlayComponent.h" compile="0"
resource="0" file="Source/ComponentEditor/UI/jucer_ComponentOverlayComponent.h"/>
<FILE id="ujZbXW" name="jucer_EditingPanelBase.cpp" compile="1" resource="0"
file="Source/ComponentEditor/UI/jucer_EditingPanelBase.cpp"/>
<FILE id="MFosrf" name="jucer_EditingPanelBase.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_EditingPanelBase.h"/>
<FILE id="zblH2R" name="jucer_JucerCommandIDs.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_JucerCommandIDs.h"/>
<FILE id="BrtyNd" name="jucer_JucerDocumentEditor.cpp" compile="1"
resource="0" file="Source/ComponentEditor/UI/jucer_JucerDocumentEditor.cpp"/>
<FILE id="JHwgqa" name="jucer_JucerDocumentEditor.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_JucerDocumentEditor.h"/>
<FILE id="VIzkky" name="jucer_PaintRoutineEditor.cpp" compile="1" resource="0"
file="Source/ComponentEditor/UI/jucer_PaintRoutineEditor.cpp"/>
<FILE id="Q8VnPm" name="jucer_PaintRoutineEditor.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_PaintRoutineEditor.h"/>
<FILE id="acHHt4" name="jucer_PaintRoutinePanel.cpp" compile="1" resource="0"
file="Source/ComponentEditor/UI/jucer_PaintRoutinePanel.cpp"/>
<FILE id="Y8fhIP" name="jucer_PaintRoutinePanel.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_PaintRoutinePanel.h"/>
<FILE id="nWP2Ed" name="jucer_RelativePositionedRectangle.h" compile="0"
resource="0" file="Source/ComponentEditor/UI/jucer_RelativePositionedRectangle.h"/>
<FILE id="Ki9FsA" name="jucer_ResourceEditorPanel.cpp" compile="1"
resource="0" file="Source/ComponentEditor/UI/jucer_ResourceEditorPanel.cpp"/>
<FILE id="sZfpi4" name="jucer_ResourceEditorPanel.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_ResourceEditorPanel.h"/>
<FILE id="Ta2LeE" name="jucer_SnapGridPainter.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_SnapGridPainter.h"/>
<FILE id="PB0oYI" name="jucer_TestComponent.cpp" compile="1" resource="0"
file="Source/ComponentEditor/UI/jucer_TestComponent.cpp"/>
<FILE id="Nuyt2T" name="jucer_TestComponent.h" compile="0" resource="0"
file="Source/ComponentEditor/UI/jucer_TestComponent.h"/>
</GROUP>
<FILE id="kS8Bvy" name="jucer_BinaryResources.cpp" compile="1" resource="0"
file="Source/ComponentEditor/jucer_BinaryResources.cpp"/>
<FILE id="jNitFB" name="jucer_BinaryResources.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_BinaryResources.h"/>
<FILE id="J5MaLM" name="jucer_ComponentLayout.cpp" compile="1" resource="0"
file="Source/ComponentEditor/jucer_ComponentLayout.cpp"/>
<FILE id="pHbNm3" name="jucer_ComponentLayout.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_ComponentLayout.h"/>
<FILE id="JfEmBI" name="jucer_GeneratedCode.cpp" compile="1" resource="0"
file="Source/ComponentEditor/jucer_GeneratedCode.cpp"/>
<FILE id="Fw0OMd" name="jucer_GeneratedCode.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_GeneratedCode.h"/>
<FILE id="NTDHE7" name="jucer_JucerDocument.cpp" compile="1" resource="0"
file="Source/ComponentEditor/jucer_JucerDocument.cpp"/>
<FILE id="aeb3i1" name="jucer_JucerDocument.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_JucerDocument.h"/>
<FILE id="KsY0IB" name="jucer_ObjectTypes.cpp" compile="1" resource="0"
file="Source/ComponentEditor/jucer_ObjectTypes.cpp"/>
<FILE id="v0nivx" name="jucer_ObjectTypes.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_ObjectTypes.h"/>
<FILE id="msmD5y" name="jucer_PaintRoutine.cpp" compile="1" resource="0"
file="Source/ComponentEditor/jucer_PaintRoutine.cpp"/>
<FILE id="avEtPt" name="jucer_PaintRoutine.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_PaintRoutine.h"/>
<FILE id="pl4vjj" name="jucer_UtilityFunctions.h" compile="0" resource="0"
file="Source/ComponentEditor/jucer_UtilityFunctions.h"/>
</GROUP>
<GROUP id="{6653587F-C475-46AA-E7CF-1D0DFA0FEAA9}" name="Project">
<GROUP id="{F2E7D5CA-F002-2635-DA2C-898FA5EA2936}" name="Modules">
<FILE id="w7QIJd" name="jucer_AvailableModulesList.h" compile="0" resource="0"
file="Source/Project/Modules/jucer_AvailableModulesList.h"/>
<FILE id="fQrJvA" name="jucer_ModuleDescription.h" compile="0" resource="0"
file="Source/Project/Modules/jucer_ModuleDescription.h"/>
<FILE id="mOC0iL" name="jucer_Modules.cpp" compile="1" resource="0"
file="Source/Project/Modules/jucer_Modules.cpp"/>
<FILE id="TnngL4" name="jucer_Modules.h" compile="0" resource="0" file="Source/Project/Modules/jucer_Modules.h"/>
</GROUP>
<GROUP id="{C37B7D1A-F059-9C82-9436-A2A94552BF90}" name="UI">
<GROUP id="{19B83596-13BE-A80E-2722-BB5CCDA111FA}" name="Sidebar">
<FILE id="bItg9o" name="jucer_ExporterTreeItems.h" compile="0" resource="0"
file="Source/Project/UI/Sidebar/jucer_ExporterTreeItems.h"/>
<FILE id="zrho6r" name="jucer_FileTreeItems.h" compile="0" resource="0"
file="Source/Project/UI/Sidebar/jucer_FileTreeItems.h"/>
<FILE id="HAByBK" name="jucer_ModuleTreeItems.h" compile="0" resource="0"
file="Source/Project/UI/Sidebar/jucer_ModuleTreeItems.h"/>
<FILE id="Htgucp" name="jucer_ProjectTreeItemBase.h" compile="0" resource="0"
file="Source/Project/UI/Sidebar/jucer_ProjectTreeItemBase.h"/>
<FILE id="IO8GgB" name="jucer_Sidebar.h" compile="0" resource="0" file="Source/Project/UI/Sidebar/jucer_Sidebar.h"/>
<FILE id="jr8KTF" name="jucer_TreeItemTypes.h" compile="0" resource="0"
file="Source/Project/UI/Sidebar/jucer_TreeItemTypes.h"/>
</GROUP>
<FILE id="ZEngbS" name="jucer_ContentViewComponents.h" compile="0"
resource="0" file="Source/Project/UI/jucer_ContentViewComponents.h"/>
<FILE id="wFypDd" name="jucer_FileGroupInformationComponent.h" compile="0"
resource="0" file="Source/Project/UI/jucer_FileGroupInformationComponent.h"/>
<FILE id="CSQKUL" name="jucer_HeaderComponent.cpp" compile="1" resource="0"
file="Source/Project/UI/jucer_HeaderComponent.cpp"/>
<FILE id="QVjJdU" name="jucer_HeaderComponent.h" compile="0" resource="0"
file="Source/Project/UI/jucer_HeaderComponent.h"/>
<FILE id="dN0Xzo" name="jucer_ModulesInformationComponent.h" compile="0"
resource="0" file="Source/Project/UI/jucer_ModulesInformationComponent.h"/>
<FILE id="PNCb48" name="jucer_ProjectContentComponent.cpp" compile="0"
resource="0" file="Source/Project/UI/jucer_ProjectContentComponent.cpp"/>
<FILE id="z576fZ" name="jucer_ProjectContentComponent.h" compile="0"
resource="0" file="Source/Project/UI/jucer_ProjectContentComponent.h"/>
<FILE id="itkVli" name="jucer_ProjectMessagesComponent.h" compile="0"
resource="0" file="Source/Project/UI/jucer_ProjectMessagesComponent.h"/>
<FILE id="UUlUDF" name="jucer_UserAvatarComponent.h" compile="0" resource="0"
file="Source/Project/UI/jucer_UserAvatarComponent.h"/>
</GROUP>
<FILE id="JT1rMJ" name="jucer_Project.cpp" compile="1" resource="0"
file="Source/Project/jucer_Project.cpp"/>
<FILE id="bUjtVS" name="jucer_Project.h" compile="0" resource="0" file="Source/Project/jucer_Project.h"/>
</GROUP>
<GROUP id="{00CEE998-91CD-5001-DE85-4F4895E99A32}" name="ProjectSaving">
<FILE id="JBLk8Y" name="jucer_ProjectExport_Android.h" compile="0"
resource="0" file="Source/ProjectSaving/jucer_ProjectExport_Android.h"/>
<FILE id="l1SmNV" name="jucer_ProjectExport_CLion.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ProjectExport_CLion.h"/>
<FILE id="Kxo6ef" name="jucer_ProjectExport_CodeBlocks.h" compile="0"
resource="0" file="Source/ProjectSaving/jucer_ProjectExport_CodeBlocks.h"/>
<FILE id="wLX3RL" name="jucer_ProjectExport_Make.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ProjectExport_Make.h"/>
<FILE id="rMbSVA" name="jucer_ProjectExport_MSVC.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ProjectExport_MSVC.h"/>
<FILE id="aKKWtG" name="jucer_ProjectExport_Xcode.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ProjectExport_Xcode.h"/>
<FILE id="EqKGRV" name="jucer_ProjectExporter.cpp" compile="1" resource="0"
file="Source/ProjectSaving/jucer_ProjectExporter.cpp"/>
<FILE id="FEsoP1" name="jucer_ProjectExporter.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ProjectExporter.h"/>
<FILE id="dTbi7B" name="jucer_ProjectSaver.cpp" compile="1" resource="0"
file="Source/ProjectSaving/jucer_ProjectSaver.cpp"/>
<FILE id="HjoAOD" name="jucer_ProjectSaver.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ProjectSaver.h"/>
<FILE id="YcgwX0" name="jucer_ResourceFile.cpp" compile="1" resource="0"
file="Source/ProjectSaving/jucer_ResourceFile.cpp"/>
<FILE id="d4INvx" name="jucer_ResourceFile.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_ResourceFile.h"/>
<FILE id="kw0nyx" name="jucer_XcodeProjectParser.h" compile="0" resource="0"
file="Source/ProjectSaving/jucer_XcodeProjectParser.h"/>
</GROUP>
<GROUP id="{DC7C1395-DD88-0C6C-2D8A-EC48A63D31E8}" name="Settings">
<FILE id="DsopUB" name="jucer_AppearanceSettings.cpp" compile="1" resource="0"
file="Source/Settings/jucer_AppearanceSettings.cpp"/>
<FILE id="GToVJg" name="jucer_AppearanceSettings.h" compile="0" resource="0"
file="Source/Settings/jucer_AppearanceSettings.h"/>
<FILE id="TvEsmH" name="jucer_StoredSettings.cpp" compile="1" resource="0"
file="Source/Settings/jucer_StoredSettings.cpp"/>
<FILE id="NM0cs9" name="jucer_StoredSettings.h" compile="0" resource="0"
file="Source/Settings/jucer_StoredSettings.h"/>
</GROUP>
<GROUP id="{95DBFE17-0A31-0729-A633-C52B640801E5}" name="Utility">
<GROUP id="{B7989E96-4C08-4D17-CBEA-4F3985A734D5}" name="Helpers">
<FILE id="ChGAda" name="jucer_CodeHelpers.cpp" compile="1" resource="0"
file="Source/Utility/Helpers/jucer_CodeHelpers.cpp"/>
<FILE id="BAetgk" name="jucer_CodeHelpers.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_CodeHelpers.h"/>
<FILE id="T0VJHN" name="jucer_Colours.h" compile="0" resource="0" file="Source/Utility/Helpers/jucer_Colours.h"/>
<FILE id="uU5v1P" name="jucer_FileHelpers.cpp" compile="1" resource="0"
file="Source/Utility/Helpers/jucer_FileHelpers.cpp"/>
<FILE id="AmiISQ" name="jucer_FileHelpers.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_FileHelpers.h"/>
<FILE id="qmqkqc" name="jucer_MiscUtilities.cpp" compile="1" resource="0"
file="Source/Utility/Helpers/jucer_MiscUtilities.cpp"/>
<FILE id="ilDiWE" name="jucer_MiscUtilities.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_MiscUtilities.h"/>
<FILE id="BICStH" name="jucer_NewFileWizard.cpp" compile="1" resource="0"
file="Source/Utility/Helpers/jucer_NewFileWizard.cpp"/>
<FILE id="laRrOn" name="jucer_NewFileWizard.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_NewFileWizard.h"/>
<FILE id="rCaPHQ" name="jucer_PresetIDs.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_PresetIDs.h"/>
<FILE id="gOrmP5" name="jucer_TranslationHelpers.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_TranslationHelpers.h"/>
<FILE id="EuC4K4" name="jucer_ValueSourceHelpers.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_ValueSourceHelpers.h"/>
<FILE id="W5a5Fy" name="jucer_ValueWithDefaultWrapper.h" compile="0"
resource="0" file="Source/Utility/Helpers/jucer_ValueWithDefaultWrapper.h"/>
<FILE id="BPCoKV" name="jucer_VersionInfo.cpp" compile="1" resource="0"
file="Source/Utility/Helpers/jucer_VersionInfo.cpp"/>
<FILE id="TnBQtv" name="jucer_VersionInfo.h" compile="0" resource="0"
file="Source/Utility/Helpers/jucer_VersionInfo.h"/>
</GROUP>
<GROUP id="{A07C4A97-0855-5346-CAF2-A005580B6773}" name="PIPs">
<FILE id="joAnDa" name="jucer_PIPGenerator.cpp" compile="1" resource="0"
file="Source/Utility/PIPs/jucer_PIPGenerator.cpp"/>
<FILE id="GnbSDi" name="jucer_PIPGenerator.h" compile="0" resource="0"
file="Source/Utility/PIPs/jucer_PIPGenerator.h"/>
</GROUP>
<GROUP id="{35F9B4BB-E683-1394-4BF2-C8F0C772168F}" name="UI">
<GROUP id="{FE8C76CF-7C05-EC86-8997-C9941B88670B}" name="PropertyComponents">
<FILE id="eleFsw" name="jucer_ColourPropertyComponent.h" compile="0"
resource="0" file="Source/Utility/UI/PropertyComponents/jucer_ColourPropertyComponent.h"/>
<FILE id="sfUzaf" name="jucer_FilePathPropertyComponent.h" compile="0"
resource="0" file="Source/Utility/UI/PropertyComponents/jucer_FilePathPropertyComponent.h"/>
<FILE id="c5PWPd" name="jucer_LabelPropertyComponent.h" compile="0"
resource="0" file="Source/Utility/UI/PropertyComponents/jucer_LabelPropertyComponent.h"/>
<FILE id="DkLOIQ" name="jucer_PropertyComponentsWithEnablement.h" compile="0"
resource="0" file="Source/Utility/UI/PropertyComponents/jucer_PropertyComponentsWithEnablement.h"/>
</GROUP>
<FILE id="VQCK4C" name="jucer_IconButton.h" compile="0" resource="0"
file="Source/Utility/UI/jucer_IconButton.h"/>
<FILE id="JH1ze6" name="jucer_Icons.cpp" compile="1" resource="0" file="Source/Utility/UI/jucer_Icons.cpp"/>
<FILE id="op3Mkj" name="jucer_Icons.h" compile="0" resource="0" file="Source/Utility/UI/jucer_Icons.h"/>
<FILE id="A3YDvg" name="jucer_JucerTreeViewBase.cpp" compile="1" resource="0"
file="Source/Utility/UI/jucer_JucerTreeViewBase.cpp"/>
<FILE id="bPFTPx" name="jucer_JucerTreeViewBase.h" compile="0" resource="0"
file="Source/Utility/UI/jucer_JucerTreeViewBase.h"/>
<FILE id="D583iw" name="jucer_ProjucerLookAndFeel.cpp" compile="1"
resource="0" file="Source/Utility/UI/jucer_ProjucerLookAndFeel.cpp"/>
<FILE id="QcQx1o" name="jucer_ProjucerLookAndFeel.h" compile="0" resource="0"
file="Source/Utility/UI/jucer_ProjucerLookAndFeel.h"/>
<FILE id="wxiDqe" name="jucer_SlidingPanelComponent.cpp" compile="1"
resource="0" file="Source/Utility/UI/jucer_SlidingPanelComponent.cpp"/>
<FILE id="cbUrIP" name="jucer_SlidingPanelComponent.h" compile="0"
resource="0" file="Source/Utility/UI/jucer_SlidingPanelComponent.h"/>
</GROUP>
</GROUP>
</MAINGROUP>
<JUCEOPTIONS JUCE_LOG_ASSERTIONS="1" JUCE_USE_CURL="1" JUCE_ALLOW_STATIC_NULL_VARIABLES="0"
JUCE_STRICT_REFCOUNTEDPOINTER="1" JUCE_LOAD_CURL_SYMBOLS_LAZILY="1"
JUCE_WEB_BROWSER="0"/>
<MODULES>
<MODULE id="juce_build_tools" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULE id="juce_core" showAllCode="1"/>
<MODULE id="juce_cryptography" showAllCode="1"/>
<MODULE id="juce_data_structures" showAllCode="1"/>
<MODULE id="juce_events" showAllCode="1"/>
<MODULE id="juce_graphics" showAllCode="1"/>
<MODULE id="juce_gui_basics" showAllCode="1"/>
<MODULE id="juce_gui_extra" showAllCode="1"/>
</MODULES>
<LIVE_SETTINGS>
<OSX enableCxx11="1"/>
<WINDOWS enableCxx11="1"/>
<LINUX/>
</LIVE_SETTINGS>
</JUCERPROJECT>

View File

@ -0,0 +1,326 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../ProjectSaving/jucer_ProjectExporter.h"
#include "../../Utility/UI/PropertyComponents/jucer_FilePathPropertyComponent.h"
#include "../../Utility/Helpers/jucer_ValueWithDefaultWrapper.h"
#include "jucer_NewProjectWizard.h"
//==============================================================================
class ItemHeader : public Component
{
public:
ItemHeader (StringRef name, StringRef description, const char* iconSvgData)
: nameLabel ({}, name),
descriptionLabel ({}, description),
icon (makeIcon (iconSvgData))
{
addAndMakeVisible (nameLabel);
nameLabel.setFont (18.0f);
nameLabel.setMinimumHorizontalScale (1.0f);
addAndMakeVisible (descriptionLabel);
descriptionLabel.setMinimumHorizontalScale (1.0f);
}
void resized() override
{
auto bounds = getLocalBounds();
auto topSlice = bounds.removeFromTop (50);
iconBounds = topSlice.removeFromRight (75);
nameLabel.setBounds (topSlice);
bounds.removeFromTop (10);
descriptionLabel.setBounds (bounds.removeFromTop (50));
bounds.removeFromTop (20);
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId));
if (icon != nullptr)
icon->drawWithin (g, iconBounds.toFloat(), RectanglePlacement::centred, 1.0f);
}
private:
static std::unique_ptr<Drawable> makeIcon (const char* iconSvgData)
{
if (auto svg = XmlDocument::parse (iconSvgData))
return Drawable::createFromSVG (*svg);
return {};
}
Label nameLabel, descriptionLabel;
Rectangle<int> iconBounds;
std::unique_ptr<Drawable> icon;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ItemHeader)
};
//==============================================================================
class TemplateComponent : public Component
{
public:
TemplateComponent (const NewProjectTemplates::ProjectTemplate& temp,
std::function<void (std::unique_ptr<Project>)>&& createdCallback)
: projectTemplate (temp),
projectCreatedCallback (std::move (createdCallback)),
header (projectTemplate.displayName, projectTemplate.description, projectTemplate.icon)
{
createProjectButton.onClick = [this]
{
chooser = std::make_unique<FileChooser> ("Save Project", NewProjectWizard::getLastWizardFolder());
auto browserFlags = FileBrowserComponent::openMode | FileBrowserComponent::canSelectDirectories;
chooser->launchAsync (browserFlags, [this] (const FileChooser& fc)
{
auto dir = fc.getResult();
if (dir == File{})
return;
SafePointer<TemplateComponent> safeThis { this };
NewProjectWizard::createNewProject (projectTemplate,
dir.getChildFile (projectNameValue.get().toString()),
projectNameValue.get(),
modulesValue.get(),
exportersValue.get(),
fileOptionsValue.get(),
modulePathValue.getCurrentValue(),
modulePathValue.getWrappedValueWithDefault().isUsingDefault(),
[safeThis, dir] (std::unique_ptr<Project> project)
{
if (safeThis == nullptr)
return;
safeThis->projectCreatedCallback (std::move (project));
getAppSettings().lastWizardFolder = dir;
});
});
};
addAndMakeVisible (createProjectButton);
addAndMakeVisible (header);
modulePathValue.init ({ settingsTree, Ids::defaultJuceModulePath, nullptr },
getAppSettings().getStoredPath (Ids::defaultJuceModulePath, TargetOS::getThisOS()),
TargetOS::getThisOS());
panel.addProperties (buildPropertyList(), 2);
addAndMakeVisible (panel);
}
void resized() override
{
auto bounds = getLocalBounds().reduced (10);
header.setBounds (bounds.removeFromTop (150));
createProjectButton.setBounds (bounds.removeFromBottom (30).removeFromRight (150));
bounds.removeFromBottom (5);
panel.setBounds (bounds);
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId));
}
private:
NewProjectTemplates::ProjectTemplate projectTemplate;
std::unique_ptr<FileChooser> chooser;
std::function<void (std::unique_ptr<Project>)> projectCreatedCallback;
ItemHeader header;
TextButton createProjectButton { "Create Project..." };
ValueTree settingsTree { "NewProjectSettings" };
ValueWithDefault projectNameValue { settingsTree, Ids::name, nullptr, "NewProject" },
modulesValue { settingsTree, Ids::dependencies_, nullptr, projectTemplate.requiredModules, "," },
exportersValue { settingsTree, Ids::exporters, nullptr, StringArray (ProjectExporter::getCurrentPlatformExporterTypeInfo().identifier.toString()), "," },
fileOptionsValue { settingsTree, Ids::file, nullptr, NewProjectTemplates::getVarForFileOption (projectTemplate.defaultFileOption) };
ValueWithDefaultWrapper modulePathValue;
PropertyPanel panel;
//==============================================================================
PropertyComponent* createProjectNamePropertyComponent()
{
return new TextPropertyComponent (projectNameValue, "Project Name", 1024, false);
}
PropertyComponent* createModulesPropertyComponent()
{
Array<var> moduleVars;
var requiredModules;
for (auto& m : getJUCEModules())
{
moduleVars.add (m);
if (projectTemplate.requiredModules.contains (m))
requiredModules.append (m);
}
modulesValue = requiredModules;
return new MultiChoicePropertyComponent (modulesValue, "Modules",
getJUCEModules(), moduleVars);
}
PropertyComponent* createModulePathPropertyComponent()
{
return new FilePathPropertyComponent (modulePathValue.getWrappedValueWithDefault(), "Path to Modules", true);
}
PropertyComponent* createExportersPropertyValue()
{
Array<var> exporterVars;
StringArray exporterNames;
for (auto& exporterTypeInfo : ProjectExporter::getExporterTypeInfos())
{
exporterVars.add (exporterTypeInfo.identifier.toString());
exporterNames.add (exporterTypeInfo.displayName);
}
return new MultiChoicePropertyComponent (exportersValue, "Exporters", exporterNames, exporterVars);
}
PropertyComponent* createFileCreationOptionsPropertyComponent()
{
Array<var> optionVars;
StringArray optionStrings;
for (auto& opt : projectTemplate.fileOptionsAndFiles)
{
optionVars.add (NewProjectTemplates::getVarForFileOption (opt.first));
optionStrings.add (NewProjectTemplates::getStringForFileOption (opt.first));
}
return new ChoicePropertyComponent (fileOptionsValue, "File Creation Options", optionStrings, optionVars);
}
Array<PropertyComponent*> buildPropertyList()
{
PropertyListBuilder builder;
builder.add (createProjectNamePropertyComponent());
builder.add (createModulesPropertyComponent());
builder.add (createModulePathPropertyComponent());
builder.add (createExportersPropertyValue());
if (! projectTemplate.fileOptionsAndFiles.empty())
builder.add (createFileCreationOptionsPropertyComponent());
return builder.components;
}
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TemplateComponent)
};
//==============================================================================
class ExampleComponent : public Component
{
public:
ExampleComponent (const File& f, std::function<void (const File&)> selectedCallback)
: exampleFile (f),
metadata (parseJUCEHeaderMetadata (exampleFile)),
exampleSelectedCallback (std::move (selectedCallback)),
header (metadata[Ids::name].toString(), metadata[Ids::description].toString(), BinaryData::background_logo_svg),
codeViewer (doc, &cppTokeniser)
{
setTitle (exampleFile.getFileName());
setFocusContainerType (FocusContainerType::focusContainer);
addAndMakeVisible (header);
openExampleButton.onClick = [this] { exampleSelectedCallback (exampleFile); };
addAndMakeVisible (openExampleButton);
setupCodeViewer();
addAndMakeVisible (codeViewer);
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId));
}
void resized() override
{
auto bounds = getLocalBounds().reduced (10);
header.setBounds (bounds.removeFromTop (125));
openExampleButton.setBounds (bounds.removeFromBottom (30).removeFromRight (150));
codeViewer.setBounds (bounds);
}
private:
void setupCodeViewer()
{
auto fileString = exampleFile.loadFileAsString();
doc.replaceAllContent (fileString);
codeViewer.setScrollbarThickness (6);
codeViewer.setReadOnly (true);
codeViewer.setTitle ("Code");
getAppSettings().appearance.applyToCodeEditor (codeViewer);
codeViewer.scrollToLine (findBestLineToScrollToForClass (StringArray::fromLines (fileString),
metadata[Ids::name].toString(),
metadata[Ids::type] == "AudioProcessor"));
}
//==============================================================================
File exampleFile;
var metadata;
std::function<void (const File&)> exampleSelectedCallback;
ItemHeader header;
CPlusPlusCodeTokeniser cppTokeniser;
CodeDocument doc;
CodeEditorComponent codeViewer;
TextButton openExampleButton { "Open Example..." };
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ExampleComponent)
};

View File

@ -0,0 +1,251 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../Utility/Helpers/jucer_MiscUtilities.h"
//==============================================================================
namespace NewProjectTemplates
{
enum class ProjectCategory
{
application,
plugin,
library
};
inline String getProjectCategoryString (ProjectCategory category)
{
if (category == ProjectCategory::application) return "Application";
if (category == ProjectCategory::plugin) return "Plug-In";
if (category == ProjectCategory::library) return "Library";
jassertfalse;
return "Unknown";
}
enum class FileCreationOptions
{
noFiles,
main,
header,
headerAndCpp,
processorAndEditor
};
using FilenameAndContent = std::pair<String, String>;
using OptionAndFilenameAndContent = std::pair<FileCreationOptions, std::vector<FilenameAndContent>>;
using OptionsAndFiles = std::vector<OptionAndFilenameAndContent>;
struct ProjectTemplate
{
ProjectCategory category;
String displayName, description, projectTypeString;
const char* icon;
StringArray requiredModules;
OptionsAndFiles fileOptionsAndFiles;
FileCreationOptions defaultFileOption;
std::vector<FilenameAndContent> getFilesForOption (FileCreationOptions option) const
{
auto iter = std::find_if (fileOptionsAndFiles.begin(), fileOptionsAndFiles.end(),
[option] (const OptionAndFilenameAndContent& opt) { return opt.first == option; });
if (iter != fileOptionsAndFiles.end())
return iter->second;
return {};
}
};
inline bool isApplication (const ProjectTemplate& t) noexcept { return t.category == ProjectCategory::application; }
inline bool isPlugin (const ProjectTemplate& t) noexcept { return t.category == ProjectCategory::plugin; }
inline bool isLibrary (const ProjectTemplate& t) noexcept { return t.category == ProjectCategory::library; }
//==============================================================================
inline var getVarForFileOption (FileCreationOptions opt)
{
if (opt == FileCreationOptions::noFiles) return "none";
if (opt == FileCreationOptions::main) return "main";
if (opt == FileCreationOptions::header) return "header";
if (opt == FileCreationOptions::headerAndCpp) return "headercpp";
if (opt == FileCreationOptions::processorAndEditor) return "processoreditor";
jassertfalse;
return {};
}
inline FileCreationOptions getFileOptionForVar (var opt)
{
if (opt == "none") return FileCreationOptions::noFiles;
if (opt == "main") return FileCreationOptions::main;
if (opt == "header") return FileCreationOptions::header;
if (opt == "headercpp") return FileCreationOptions::headerAndCpp;
if (opt == "processoreditor") return FileCreationOptions::processorAndEditor;
jassertfalse;
return {};
}
inline String getStringForFileOption (FileCreationOptions opt)
{
if (opt == FileCreationOptions::noFiles) return "No Files";
if (opt == FileCreationOptions::main) return "Main.cpp";
if (opt == FileCreationOptions::header) return "Main.cpp + .h";
if (opt == FileCreationOptions::headerAndCpp) return "Main.cpp + .h/.cpp ";
if (opt == FileCreationOptions::processorAndEditor) return "Processor and Editor";
jassertfalse;
return {};
}
//==============================================================================
template <typename... Strings>
inline StringArray addAndReturn (StringArray arr, Strings... strings)
{
arr.addArray ({ strings... });
return arr;
}
inline std::vector<ProjectTemplate> getAllTemplates()
{
return
{
{ ProjectCategory::application,
"Blank", "Creates a blank JUCE GUI application.",
build_tools::ProjectType_GUIApp::getTypeName(),
BinaryData::wizard_GUI_svg,
getModulesRequiredForComponent(),
{},
FileCreationOptions::noFiles
},
{ ProjectCategory::application,
"GUI", "Creates a blank JUCE GUI application with a single window component.",
build_tools::ProjectType_GUIApp::getTypeName(),
BinaryData::wizard_GUI_svg,
getModulesRequiredForComponent(),
{
{ FileCreationOptions::noFiles, {} },
{ FileCreationOptions::main, { { "Main.cpp", "jucer_MainTemplate_NoWindow_cpp" } } },
{ FileCreationOptions::header, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_ContentCompSimpleTemplate_h" } } },
{ FileCreationOptions::headerAndCpp, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_ContentCompTemplate_h" },
{ "MainComponent.cpp", "jucer_ContentCompTemplate_cpp" } } }
},
FileCreationOptions::headerAndCpp },
{ ProjectCategory::application,
"Audio", "Creates a blank JUCE GUI application with a single window component and audio and MIDI in/out functions.",
build_tools::ProjectType_GUIApp::getTypeName(),
BinaryData::wizard_AudioApp_svg,
addAndReturn (getModulesRequiredForComponent(), "juce_audio_basics", "juce_audio_devices", "juce_audio_formats",
"juce_audio_processors", "juce_audio_utils", "juce_gui_extra"),
{
{ FileCreationOptions::header, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_AudioComponentSimpleTemplate_h" } } },
{ FileCreationOptions::headerAndCpp, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_AudioComponentTemplate_h" },
{ "MainComponent.cpp", "jucer_AudioComponentTemplate_cpp" } } }
},
FileCreationOptions::headerAndCpp },
{ ProjectCategory::application,
"Console", "Creates a command-line application without GUI support.",
build_tools::ProjectType_ConsoleApp::getTypeName(),
BinaryData::wizard_ConsoleApp_svg,
getModulesRequiredForConsole(),
{
{ FileCreationOptions::noFiles, {} },
{ FileCreationOptions::main, { { "Main.cpp", "jucer_MainConsoleAppTemplate_cpp" } } }
},
FileCreationOptions::main },
{ ProjectCategory::application,
"Animated", "Creates a JUCE GUI application which draws an animated graphical display.",
build_tools::ProjectType_GUIApp::getTypeName(),
BinaryData::wizard_AnimatedApp_svg,
addAndReturn (getModulesRequiredForComponent(), "juce_gui_extra"),
{
{ FileCreationOptions::header, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_AudioComponentSimpleTemplate_h" } } },
{ FileCreationOptions::headerAndCpp, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_AnimatedComponentTemplate_h" },
{ "MainComponent.cpp", "jucer_AnimatedComponentTemplate_cpp" } } }
},
FileCreationOptions::headerAndCpp },
{ ProjectCategory::application,
"OpenGL", "Creates a blank JUCE application with a single window component. "
"This component supports openGL drawing features including 3D model import and GLSL shaders.",
build_tools::ProjectType_GUIApp::getTypeName(),
BinaryData::wizard_OpenGL_svg,
addAndReturn (getModulesRequiredForComponent(), "juce_gui_extra", "juce_opengl"),
{
{ FileCreationOptions::header, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_AudioComponentSimpleTemplate_h" } } },
{ FileCreationOptions::headerAndCpp, { { "Main.cpp", "jucer_MainTemplate_Window_cpp" },
{ "MainComponent.h", "jucer_OpenGLComponentTemplate_h" },
{ "MainComponent.cpp", "jucer_OpenGLComponentTemplate_cpp" } } }
},
FileCreationOptions::headerAndCpp },
{ ProjectCategory::plugin,
"Basic", "Creates an audio plug-in with a single window GUI and audio/MIDI IO functions.",
build_tools::ProjectType_AudioPlugin::getTypeName(),
BinaryData::wizard_AudioPlugin_svg,
getModulesRequiredForAudioProcessor(),
{
{ FileCreationOptions::processorAndEditor, { { "PluginProcessor.cpp", "jucer_AudioPluginFilterTemplate_cpp" },
{ "PluginProcessor.h", "jucer_AudioPluginFilterTemplate_h" },
{ "PluginEditor.cpp", "jucer_AudioPluginEditorTemplate_cpp" },
{ "PluginEditor.h", "jucer_AudioPluginEditorTemplate_h" } } }
},
FileCreationOptions::processorAndEditor
},
{ ProjectCategory::library,
"Static Library", "Creates a static library.",
build_tools::ProjectType_StaticLibrary::getTypeName(),
BinaryData::wizard_StaticLibrary_svg,
getModulesRequiredForConsole(),
{},
FileCreationOptions::noFiles
},
{ ProjectCategory::library,
"Dynamic Library", "Creates a dynamic library.",
build_tools::ProjectType_DLL::getTypeName(),
BinaryData::wizard_DLL_svg,
getModulesRequiredForConsole(),
{},
FileCreationOptions::noFiles
}
};
}
}

View File

@ -0,0 +1,310 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#include "../jucer_Headers.h"
#include "../jucer_Application.h"
#include "../../ProjectSaving/jucer_ProjectExporter.h"
#include "jucer_NewProjectWizard.h"
//==============================================================================
static String getFileTemplate (const String& templateName)
{
int dataSize = 0;
if (auto* data = BinaryData::getNamedResource (templateName.toUTF8(), dataSize))
return String::fromUTF8 (data, dataSize);
jassertfalse;
return {};
}
static String getJuceHeaderInclude()
{
return CodeHelpers::createIncludePathIncludeStatement (Project::getJuceSourceHFilename());
}
static String getContentComponentName()
{
return "MainComponent";
}
using Opts = NewProjectTemplates::FileCreationOptions;
static bool shouldCreateHeaderFile (Opts opts) noexcept { return opts == Opts::header || opts == Opts::headerAndCpp; }
static bool shouldCreateCppFile (Opts opts) noexcept { return opts == Opts::headerAndCpp; }
static void doBasicProjectSetup (Project& project, const NewProjectTemplates::ProjectTemplate& projectTemplate, const String& name)
{
project.setTitle (name);
project.setProjectType (projectTemplate.projectTypeString);
project.getMainGroup().addNewSubGroup ("Source", 0);
project.getConfigFlag ("JUCE_STRICT_REFCOUNTEDPOINTER") = true;
project.getProjectValue (Ids::useAppConfig) = false;
project.getProjectValue (Ids::addUsingNamespaceToJuceHeader) = false;
if (! ProjucerApplication::getApp().getLicenseController().getCurrentState().canUnlockFullFeatures())
project.getProjectValue (Ids::displaySplashScreen) = true;
if (NewProjectTemplates::isPlugin (projectTemplate))
project.getConfigFlag ("JUCE_VST3_CAN_REPLACE_VST2") = 0;
}
static std::map<String, String> getSharedFileTokenReplacements()
{
return { { "%%app_headers%%", getJuceHeaderInclude() } };
}
static std::map<String, String> getApplicationFileTokenReplacements (const String& name,
NewProjectTemplates::FileCreationOptions fileOptions,
const File& sourceFolder)
{
auto tokenReplacements = getSharedFileTokenReplacements();
tokenReplacements.insert ({ "%%app_class_name%%",
build_tools::makeValidIdentifier (name + "Application", false, true, false) });
tokenReplacements.insert ({ "%%content_component_class%%",
getContentComponentName() });
tokenReplacements.insert ({ "%%include_juce%%",
getJuceHeaderInclude() });
if (shouldCreateHeaderFile (fileOptions))
tokenReplacements["%%app_headers%%"] << newLine
<< CodeHelpers::createIncludeStatement (sourceFolder.getChildFile ("MainComponent.h"),
sourceFolder.getChildFile ("Main.cpp"));
if (shouldCreateCppFile (fileOptions))
tokenReplacements.insert ({ "%%include_corresponding_header%%",
CodeHelpers::createIncludeStatement (sourceFolder.getChildFile ("MainComponent.h"),
sourceFolder.getChildFile ("MainComponent.cpp")) });
return tokenReplacements;
}
static std::map<String, String> getPluginFileTokenReplacements (const String& name,
const File& sourceFolder)
{
auto tokenReplacements = getSharedFileTokenReplacements();
auto processorCppFile = sourceFolder.getChildFile ("PluginProcessor.cpp");
auto processorHFile = processorCppFile.withFileExtension (".h");
auto editorCppFile = sourceFolder.getChildFile ("PluginEditor.cpp");
auto editorHFile = editorCppFile.withFileExtension (".h");
auto processorHInclude = CodeHelpers::createIncludeStatement (processorHFile, processorCppFile);
auto editorHInclude = CodeHelpers::createIncludeStatement (editorHFile, processorCppFile);
auto processorClassName = build_tools::makeValidIdentifier (name, false, true, false) + "AudioProcessor";
processorClassName = processorClassName.substring (0, 1).toUpperCase() + processorClassName.substring (1);
auto editorClassName = processorClassName + "Editor";
tokenReplacements.insert ({"%%filter_headers%%", processorHInclude + newLine + editorHInclude });
tokenReplacements.insert ({"%%filter_class_name%%", processorClassName });
tokenReplacements.insert ({"%%editor_class_name%%", editorClassName });
tokenReplacements.insert ({"%%editor_cpp_headers%%", processorHInclude + newLine + editorHInclude });
tokenReplacements.insert ({"%%editor_headers%%", getJuceHeaderInclude() + newLine + processorHInclude });
return tokenReplacements;
}
static bool addFiles (Project& project, const NewProjectTemplates::ProjectTemplate& projectTemplate,
const String& name, var fileOptionsVar, StringArray& failedFiles)
{
auto sourceFolder = project.getFile().getSiblingFile ("Source");
if (! sourceFolder.createDirectory())
{
failedFiles.add (sourceFolder.getFullPathName());
return false;
}
auto fileOptions = NewProjectTemplates::getFileOptionForVar (fileOptionsVar);
if (fileOptions == Opts::noFiles)
return true;
auto tokenReplacements = [&]() -> std::map<String, String>
{
if (NewProjectTemplates::isApplication (projectTemplate))
return getApplicationFileTokenReplacements (name, fileOptions, sourceFolder);
if (NewProjectTemplates::isPlugin (projectTemplate))
return getPluginFileTokenReplacements (name, sourceFolder);
jassertfalse;
return {};
}();
auto sourceGroup = project.getMainGroup().getOrCreateSubGroup ("Source");
for (auto& files : projectTemplate.getFilesForOption (fileOptions))
{
auto file = sourceFolder.getChildFile (files.first);
auto fileContent = getFileTemplate (files.second);
for (auto& tokenReplacement : tokenReplacements)
fileContent = fileContent.replace (tokenReplacement.first, tokenReplacement.second, false);
if (! build_tools::overwriteFileWithNewDataIfDifferent (file, fileContent))
{
failedFiles.add (file.getFullPathName());
return false;
}
sourceGroup.addFileAtIndex (file, -1, (file.hasFileExtension (sourceFileExtensions)));
}
return true;
}
static void addModules (Project& project, Array<var> modules, const String& modulePath, bool useGlobalPath)
{
AvailableModulesList list;
list.scanPaths ({ modulePath });
auto& projectModules = project.getEnabledModules();
for (auto& mod : list.getAllModules())
if (modules.contains (mod.first))
projectModules.addModule (mod.second, false, useGlobalPath);
for (auto& mod : projectModules.getModulesWithMissingDependencies())
projectModules.tryToFixMissingDependencies (mod);
}
static void addExporters (Project& project, Array<var> exporters)
{
for (auto exporter : exporters)
project.addNewExporter (exporter.toString());
for (Project::ExporterIterator exporter (project); exporter.next();)
for (ProjectExporter::ConfigIterator config (*exporter); config.next();)
config->getValue (Ids::targetName) = project.getProjectFilenameRootString();
}
//==============================================================================
File NewProjectWizard::getLastWizardFolder()
{
if (getAppSettings().lastWizardFolder.isDirectory())
return getAppSettings().lastWizardFolder;
#if JUCE_WINDOWS
static File lastFolderFallback (File::getSpecialLocation (File::userDocumentsDirectory));
#else
static File lastFolderFallback (File::getSpecialLocation (File::userHomeDirectory));
#endif
return lastFolderFallback;
}
static void displayFailedFilesMessage (const StringArray& failedFiles)
{
AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon,
TRANS("Errors in Creating Project!"),
TRANS("The following files couldn't be written:")
+ "\n\n"
+ failedFiles.joinIntoString ("\n", 0, 10));
}
template <typename Callback>
static void prepareDirectory (const File& targetFolder, Callback&& callback)
{
StringArray failedFiles;
if (! targetFolder.exists())
{
if (! targetFolder.createDirectory())
{
displayFailedFilesMessage ({ targetFolder.getFullPathName() });
return;
}
}
else if (FileHelpers::containsAnyNonHiddenFiles (targetFolder))
{
AlertWindow::showOkCancelBox (MessageBoxIconType::InfoIcon,
TRANS("New JUCE Project"),
TRANS("You chose the folder:\n\nXFLDRX\n\n").replace ("XFLDRX", targetFolder.getFullPathName())
+ TRANS("This folder isn't empty - are you sure you want to create the project there?")
+ "\n\n"
+ TRANS("Any existing files with the same names may be overwritten by the new files."),
{},
{},
nullptr,
ModalCallbackFunction::create ([callback] (int result)
{
if (result != 0)
callback();
}));
return;
}
callback();
}
void NewProjectWizard::createNewProject (const NewProjectTemplates::ProjectTemplate& projectTemplate,
const File& targetFolder, const String& name, var modules, var exporters, var fileOptions,
const String& modulePath, bool useGlobalModulePath,
std::function<void (std::unique_ptr<Project>)> callback)
{
prepareDirectory (targetFolder, [=]
{
auto project = std::make_unique<Project> (targetFolder.getChildFile (File::createLegalFileName (name))
.withFileExtension (Project::projectFileExtension));
doBasicProjectSetup (*project, projectTemplate, name);
StringArray failedFiles;
if (addFiles (*project, projectTemplate, name, fileOptions, failedFiles))
{
addExporters (*project, *exporters.getArray());
addModules (*project, *modules.getArray(), modulePath, useGlobalModulePath);
auto sharedProject = std::make_shared<std::unique_ptr<Project>> (std::move (project));
(*sharedProject)->saveAsync (false, true, [sharedProject, failedFiles, callback] (FileBasedDocument::SaveResult r)
{
auto uniqueProject = std::move (*sharedProject.get());
if (r == FileBasedDocument::savedOk)
{
uniqueProject->setChangedFlag (false);
uniqueProject->loadFrom (uniqueProject->getFile(), true);
callback (std::move (uniqueProject));
return;
}
auto failedFilesCopy = failedFiles;
failedFilesCopy.add (uniqueProject->getFile().getFullPathName());
displayFailedFilesMessage (failedFilesCopy);
});
return;
}
displayFailedFilesMessage (failedFiles);
});
}

View File

@ -0,0 +1,39 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "jucer_NewProjectTemplates.h"
//==============================================================================
namespace NewProjectWizard
{
File getLastWizardFolder();
void createNewProject (const NewProjectTemplates::ProjectTemplate& projectTemplate,
const File& targetFolder, const String& name, var modules, var exporters, var fileOptions,
const String& modulePath, bool useGlobalModulePath,
std::function<void (std::unique_ptr<Project>)> callback);
}

View File

@ -0,0 +1,288 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#include "../jucer_Headers.h"
#include "../jucer_Application.h"
#include "jucer_StartPageComponent.h"
#include "jucer_StartPageTreeHolder.h"
#include "jucer_NewProjectTemplates.h"
#include "jucer_ContentComponents.h"
//==============================================================================
struct ContentComponent : public Component
{
ContentComponent()
{
setTitle ("Content");
setFocusContainerType (FocusContainerType::focusContainer);
}
void resized() override
{
if (content != nullptr)
content->setBounds (getLocalBounds());
}
void setContent (std::unique_ptr<Component>&& newContent)
{
if (content.get() != newContent.get())
{
content = std::move (newContent);
addAndMakeVisible (content.get());
resized();
}
}
private:
std::unique_ptr<Component> content;
//==============================================================================
JUCE_LEAK_DETECTOR (ContentComponent)
};
//==============================================================================
static File findExampleFile (int dirIndex, int index)
{
auto dir = ProjucerApplication::getSortedExampleDirectories()[dirIndex];
return ProjucerApplication::getSortedExampleFilesInDirectory (dir)[index];
}
static std::unique_ptr<Component> createExampleProjectsTab (ContentComponent& content, std::function<void (const File&)> cb)
{
StringArray exampleCategories;
std::vector<StringArray> examples;
for (auto& dir : ProjucerApplication::getSortedExampleDirectories())
{
exampleCategories.add (dir.getFileName());
StringArray ex;
for (auto& f : ProjucerApplication::getSortedExampleFilesInDirectory (dir))
ex.add (f.getFileNameWithoutExtension());
examples.push_back (ex);
}
if (exampleCategories.isEmpty())
return nullptr;
auto selectedCallback = [&, cb] (int category, int index) mutable
{
content.setContent (std::make_unique<ExampleComponent> (findExampleFile (category, index), cb));
};
return std::make_unique<StartPageTreeHolder> ("Examples",
exampleCategories,
examples,
std::move (selectedCallback),
StartPageTreeHolder::Open::no);
}
//==============================================================================
static StringArray getAllTemplateCategoryStrings()
{
StringArray categories;
for (auto& t : NewProjectTemplates::getAllTemplates())
categories.addIfNotAlreadyThere (NewProjectTemplates::getProjectCategoryString (t.category));
return categories;
}
static std::vector<NewProjectTemplates::ProjectTemplate> getTemplatesInCategory (const String& category)
{
std::vector<NewProjectTemplates::ProjectTemplate> templates;
for (auto& t : NewProjectTemplates::getAllTemplates())
if (NewProjectTemplates::getProjectCategoryString (t.category) == category)
templates.push_back (t);
return templates;
}
static StringArray getAllTemplateNamesForCategory (const String& category)
{
StringArray types;
for (auto& t : getTemplatesInCategory (category))
types.add (t.displayName);
return types;
}
static std::unique_ptr<Component> createProjectTemplatesTab (ContentComponent& content,
std::function<void (std::unique_ptr<Project>&&)>&& cb)
{
auto categories = getAllTemplateCategoryStrings();
std::vector<StringArray> templateNames;
for (auto& c : categories)
templateNames.push_back (getAllTemplateNamesForCategory (c));
auto selectedCallback = [&, cb] (int category, int index)
{
auto categoryString = getAllTemplateCategoryStrings()[category];
auto templates = getTemplatesInCategory (categoryString);
content.setContent (std::make_unique<TemplateComponent> (templates[(size_t) index], std::move (cb)));
};
auto holder = std::make_unique<StartPageTreeHolder> ("Templates",
categories,
templateNames,
std::move (selectedCallback),
StartPageTreeHolder::Open::yes);
holder->setSelectedItem (categories[0], 1);
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wredundant-move")
return std::move (holder);
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
}
//==============================================================================
struct ProjectTemplatesAndExamples : public TabbedComponent
{
ProjectTemplatesAndExamples (ContentComponent& c,
std::function<void (std::unique_ptr<Project>&&)>&& newProjectCb,
std::function<void (const File&)>&& exampleCb)
: TabbedComponent (TabbedButtonBar::Orientation::TabsAtTop),
content (c),
exampleSelectedCallback (std::move (exampleCb))
{
setTitle ("Templates and Examples");
setFocusContainerType (FocusContainerType::focusContainer);
addTab ("New Project",
Colours::transparentBlack,
createProjectTemplatesTab (content, std::move (newProjectCb)).release(),
true);
refreshExamplesTab();
}
void refreshExamplesTab()
{
auto wasOpen = (getCurrentTabIndex() == 1);
removeTab (1);
auto exampleTabs = createExampleProjectsTab (content, exampleSelectedCallback);
addTab ("Open Example",
Colours::transparentBlack,
exampleTabs == nullptr ? new SetJUCEPathComponent (*this) : exampleTabs.release(),
true);
if (wasOpen)
setCurrentTabIndex (1);
}
private:
//==============================================================================
struct SetJUCEPathComponent : public Component,
private ChangeListener
{
explicit SetJUCEPathComponent (ProjectTemplatesAndExamples& o)
: owner (o)
{
getGlobalProperties().addChangeListener (this);
setPathButton.setButtonText ("Set path to JUCE...");
setPathButton.onClick = [] { ProjucerApplication::getApp().showPathsWindow (true); };
addAndMakeVisible (setPathButton);
}
~SetJUCEPathComponent() override
{
getGlobalProperties().removeChangeListener (this);
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId));
}
void resized() override
{
auto bounds = getLocalBounds().reduced (5);
bounds.removeFromTop (25);
setPathButton.setBounds (bounds.removeFromTop (25));
}
private:
void changeListenerCallback (ChangeBroadcaster*) override
{
if (isValidJUCEExamplesDirectory (ProjucerApplication::getJUCEExamplesDirectoryPathFromGlobal()))
owner.refreshExamplesTab();
}
ProjectTemplatesAndExamples& owner;
TextButton setPathButton;
};
ContentComponent& content;
std::function<void (const File&)> exampleSelectedCallback;
};
//==============================================================================
StartPageComponent::StartPageComponent (std::function<void (std::unique_ptr<Project>&&)>&& newProjectCb,
std::function<void (const File&)>&& exampleCb)
: content (std::make_unique<ContentComponent>()),
tabs (std::make_unique<ProjectTemplatesAndExamples> (*content, std::move (newProjectCb), std::move (exampleCb)))
{
tabs->setOutline (0);
addAndMakeVisible (*tabs);
addAndMakeVisible (openExistingButton);
openExistingButton.setCommandToTrigger (&ProjucerApplication::getCommandManager(), CommandIDs::open, true);
addAndMakeVisible (*content);
setSize (900, 600);
}
void StartPageComponent::paint (Graphics& g)
{
g.fillAll (findColour (backgroundColourId));
}
void StartPageComponent::resized()
{
auto bounds = getLocalBounds().reduced (10);
auto tabBounds = bounds.removeFromLeft (bounds.getWidth() / 3);
openExistingButton.setBounds (tabBounds.removeFromBottom (30).reduced (10, 0));
tabBounds.removeFromBottom (5);
tabs->setBounds (tabBounds);
bounds.removeFromLeft (10);
content->setBounds (bounds);
}

View File

@ -0,0 +1,50 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
struct ContentComponent;
struct ProjectTemplatesAndExamples;
//==============================================================================
class StartPageComponent : public Component
{
public:
StartPageComponent (std::function<void (std::unique_ptr<Project>&&)>&& newProjectCb,
std::function<void (const File&)>&& exampleCb);
void paint (Graphics& g) override;
void resized() override;
private:
//==============================================================================
std::unique_ptr<ContentComponent> content;
std::unique_ptr<ProjectTemplatesAndExamples> tabs;
TextButton openExistingButton { "Open Existing Project..." };
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StartPageComponent)
};

View File

@ -0,0 +1,182 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
class StartPageTreeHolder : public Component
{
public:
enum class Open { no, yes };
StartPageTreeHolder (const String& title,
const StringArray& headerNames,
const std::vector<StringArray>& itemNames,
std::function<void (int, int)>&& selectedCallback,
Open shouldBeOpen)
: headers (headerNames),
items (itemNames),
itemSelectedCallback (std::move (selectedCallback))
{
jassert (headers.size() == (int) items.size());
tree.setTitle (title);
tree.setRootItem (new TreeRootItem (*this));
tree.setRootItemVisible (false);
tree.setIndentSize (15);
tree.setDefaultOpenness (shouldBeOpen == Open::yes);
addAndMakeVisible (tree);
}
~StartPageTreeHolder() override
{
tree.deleteRootItem();
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId));
}
void resized() override
{
tree.setBounds (getLocalBounds());
}
void setSelectedItem (const String& category, int index)
{
auto* root = tree.getRootItem();
for (int i = root->getNumSubItems(); --i >=0;)
{
if (auto* item = root->getSubItem (i))
{
if (item->getUniqueName() == category)
item->getSubItem (index)->setSelected (true, true);
}
}
}
private:
//==============================================================================
class TreeSubItem : public TreeViewItem
{
public:
TreeSubItem (StartPageTreeHolder& o, const String& n, const StringArray& subItemsIn)
: owner (o), name (n), isHeader (subItemsIn.size() > 0)
{
for (auto& s : subItemsIn)
addSubItem (new TreeSubItem (owner, s, {}));
}
bool mightContainSubItems() override { return isHeader; }
bool canBeSelected() const override { return ! isHeader; }
int getItemWidth() const override { return -1; }
int getItemHeight() const override { return 25; }
String getUniqueName() const override { return name; }
String getAccessibilityName() override { return getUniqueName(); }
void paintOpenCloseButton (Graphics& g, const Rectangle<float>& area, Colour, bool isMouseOver) override
{
g.setColour (getOwnerView()->findColour (isSelected() ? defaultHighlightedTextColourId
: treeIconColourId));
TreeViewItem::paintOpenCloseButton (g, area, getOwnerView()->findColour (defaultIconColourId), isMouseOver);
}
void paintItem (Graphics& g, int w, int h) override
{
Rectangle<int> bounds (w, h);
auto shouldBeHighlighted = isSelected();
if (shouldBeHighlighted)
{
g.setColour (getOwnerView()->findColour (defaultHighlightColourId));
g.fillRect (bounds);
}
g.setColour (shouldBeHighlighted ? getOwnerView()->findColour (defaultHighlightedTextColourId)
: getOwnerView()->findColour (defaultTextColourId));
g.drawFittedText (name, bounds.reduced (5).withTrimmedLeft (10), Justification::centredLeft, 1);
}
void itemClicked (const MouseEvent& e) override
{
if (isSelected())
itemSelectionChanged (true);
if (e.mods.isPopupMenu() && mightContainSubItems())
setOpen (! isOpen());
}
void itemSelectionChanged (bool isNowSelected) override
{
jassert (! isHeader);
if (isNowSelected)
owner.itemSelectedCallback (getParentItem()->getIndexInParent(), getIndexInParent());
}
private:
StartPageTreeHolder& owner;
String name;
bool isHeader = false;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TreeSubItem)
};
struct TreeRootItem : public TreeViewItem
{
explicit TreeRootItem (StartPageTreeHolder& o)
: owner (o)
{
for (int i = 0; i < owner.headers.size(); ++i)
addSubItem (new TreeSubItem (owner, owner.headers[i], owner.items[(size_t) i]));
}
bool mightContainSubItems() override { return ! owner.headers.isEmpty();}
StartPageTreeHolder& owner;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TreeRootItem)
};
//==============================================================================
TreeView tree;
StringArray headers;
std::vector<StringArray> items;
std::function<void (int, int)> itemSelectedCallback;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StartPageTreeHolder)
};

View File

@ -0,0 +1,224 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "jucer_LicenseState.h"
#include "jucer_LicenseQueryThread.h"
//==============================================================================
class LicenseController : private Timer
{
public:
LicenseController()
{
checkLicense();
}
//==============================================================================
static LicenseState getGPLState()
{
return { LicenseState::Type::gpl, projucerMajorVersion, {}, {} };
}
LicenseState getCurrentState() const noexcept
{
return state;
}
void setState (const LicenseState& newState)
{
if (state != newState)
{
state = newState;
licenseStateToSettings (state, getGlobalProperties());
stateListeners.call ([] (LicenseStateListener& l) { l.licenseStateChanged(); });
}
}
void resetState()
{
setState ({});
}
void signIn (const String& email, const String& password,
std::function<void (const String&)> completionCallback)
{
licenseQueryThread.doSignIn (email, password,
[this, completionCallback] (LicenseQueryThread::ErrorMessageAndType error,
LicenseState newState)
{
completionCallback (error.first);
setState (newState);
});
}
void cancelSignIn()
{
licenseQueryThread.cancelRunningJobs();
}
//==============================================================================
struct LicenseStateListener
{
virtual ~LicenseStateListener() = default;
virtual void licenseStateChanged() = 0;
};
void addListener (LicenseStateListener* listenerToAdd)
{
stateListeners.add (listenerToAdd);
}
void removeListener (LicenseStateListener* listenerToRemove)
{
stateListeners.remove (listenerToRemove);
}
private:
//==============================================================================
static const char* getLicenseStateValue (LicenseState::Type type)
{
switch (type)
{
case LicenseState::Type::gpl: return "GPL";
case LicenseState::Type::personal: return "personal";
case LicenseState::Type::educational: return "edu";
case LicenseState::Type::indie: return "indie";
case LicenseState::Type::pro: return "pro";
case LicenseState::Type::none:
default: break;
}
return nullptr;
}
static LicenseState::Type getLicenseTypeFromValue (const String& d)
{
if (d == getLicenseStateValue (LicenseState::Type::gpl)) return LicenseState::Type::gpl;
if (d == getLicenseStateValue (LicenseState::Type::personal)) return LicenseState::Type::personal;
if (d == getLicenseStateValue (LicenseState::Type::educational)) return LicenseState::Type::educational;
if (d == getLicenseStateValue (LicenseState::Type::indie)) return LicenseState::Type::indie;
if (d == getLicenseStateValue (LicenseState::Type::pro)) return LicenseState::Type::pro;
return LicenseState::Type::none;
}
static LicenseState licenseStateFromSettings (PropertiesFile& props)
{
if (auto licenseXml = props.getXmlValue ("license"))
{
// this is here for backwards compatibility with old-style settings files using XML text elements
if (licenseXml->getChildElementAllSubText ("type", {}).isNotEmpty())
{
auto stateFromOldSettings = [&licenseXml]() -> LicenseState
{
return { getLicenseTypeFromValue (licenseXml->getChildElementAllSubText ("type", {})),
licenseXml->getChildElementAllSubText ("version", "-1").getIntValue(),
licenseXml->getChildElementAllSubText ("username", {}),
licenseXml->getChildElementAllSubText ("authToken", {}) };
}();
licenseStateToSettings (stateFromOldSettings, props);
return stateFromOldSettings;
}
return { getLicenseTypeFromValue (licenseXml->getStringAttribute ("type", {})),
licenseXml->getIntAttribute ("version", -1),
licenseXml->getStringAttribute ("username", {}),
licenseXml->getStringAttribute ("authToken", {}) };
}
return {};
}
static void licenseStateToSettings (const LicenseState& state, PropertiesFile& props)
{
props.removeValue ("license");
if (state.isSignedIn())
{
XmlElement licenseXml ("license");
if (auto* typeString = getLicenseStateValue (state.type))
licenseXml.setAttribute ("type", typeString);
licenseXml.setAttribute ("version", state.version);
licenseXml.setAttribute ("username", state.username);
licenseXml.setAttribute ("authToken", state.authToken);
props.setValue ("license", &licenseXml);
}
props.saveIfNeeded();
}
//==============================================================================
void checkLicense()
{
if (state.authToken.isNotEmpty() && ! state.isGPL())
{
auto completionCallback = [this] (LicenseQueryThread::ErrorMessageAndType error,
LicenseState updatedState)
{
if (error == LicenseQueryThread::ErrorMessageAndType())
{
setState (updatedState);
}
else if ((error.second == LicenseQueryThread::ErrorType::busy
|| error.second == LicenseQueryThread::ErrorType::cancelled
|| error.second == LicenseQueryThread::ErrorType::connectionError)
&& ! hasRetriedLicenseCheck)
{
hasRetriedLicenseCheck = true;
startTimer (10000);
}
};
licenseQueryThread.checkLicenseValidity (state, std::move (completionCallback));
}
}
void timerCallback() override
{
stopTimer();
checkLicense();
}
//==============================================================================
#if JUCER_ENABLE_GPL_MODE
LicenseState state = getGPLState();
#else
LicenseState state = licenseStateFromSettings (getGlobalProperties());
#endif
ListenerList<LicenseStateListener> stateListeners;
LicenseQueryThread licenseQueryThread;
bool hasRetriedLicenseCheck = false;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LicenseController)
};

View File

@ -0,0 +1,371 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
namespace LicenseHelpers
{
inline LicenseState::Type licenseTypeForString (const String& licenseString)
{
if (licenseString == "juce-pro") return LicenseState::Type::pro;
if (licenseString == "juce-indie") return LicenseState::Type::indie;
if (licenseString == "juce-edu") return LicenseState::Type::educational;
if (licenseString == "juce-personal") return LicenseState::Type::personal;
jassertfalse; // unknown type
return LicenseState::Type::none;
}
using LicenseVersionAndType = std::pair<int, LicenseState::Type>;
inline LicenseVersionAndType findBestLicense (std::vector<LicenseVersionAndType>&& licenses)
{
if (licenses.size() == 1)
return licenses[0];
auto getValueForLicenceType = [] (LicenseState::Type type)
{
switch (type)
{
case LicenseState::Type::pro: return 4;
case LicenseState::Type::indie: return 3;
case LicenseState::Type::educational: return 2;
case LicenseState::Type::personal: return 1;
case LicenseState::Type::gpl:
case LicenseState::Type::none:
default: return -1;
}
};
std::sort (licenses.begin(), licenses.end(),
[getValueForLicenceType] (const LicenseVersionAndType& l1, const LicenseVersionAndType& l2)
{
if (l1.first > l2.first)
return true;
if (l1.first == l2.first)
return getValueForLicenceType (l1.second) > getValueForLicenceType (l2.second);
return false;
});
auto findFirstLicense = [&licenses] (bool isPaid)
{
auto iter = std::find_if (licenses.begin(), licenses.end(),
[isPaid] (const LicenseVersionAndType& l)
{
auto proOrIndie = (l.second == LicenseState::Type::pro || l.second == LicenseState::Type::indie);
return isPaid ? proOrIndie : ! proOrIndie;
});
return iter != licenses.end() ? *iter
: LicenseVersionAndType();
};
auto newestPaid = findFirstLicense (true);
auto newestFree = findFirstLicense (false);
if (newestPaid.first >= projucerMajorVersion || newestPaid.first >= newestFree.first)
return newestPaid;
return newestFree;
}
}
//==============================================================================
class LicenseQueryThread
{
public:
enum class ErrorType
{
busy,
cancelled,
connectionError,
webResponseError
};
using ErrorMessageAndType = std::pair<String, ErrorType>;
using LicenseQueryCallback = std::function<void (ErrorMessageAndType, LicenseState)>;
//==============================================================================
LicenseQueryThread() = default;
void checkLicenseValidity (const LicenseState& state, LicenseQueryCallback completionCallback)
{
if (jobPool.getNumJobs() > 0)
{
completionCallback ({ {}, ErrorType::busy }, {});
return;
}
jobPool.addJob ([this, state, completionCallback]
{
auto updatedState = state;
auto result = runTask (std::make_unique<UserLicenseQuery> (state.authToken), updatedState);
WeakReference<LicenseQueryThread> weakThis (this);
MessageManager::callAsync ([weakThis, result, updatedState, completionCallback]
{
if (weakThis != nullptr)
completionCallback (result, updatedState);
});
});
}
void doSignIn (const String& email, const String& password, LicenseQueryCallback completionCallback)
{
cancelRunningJobs();
jobPool.addJob ([this, email, password, completionCallback]
{
LicenseState state;
auto result = runTask (std::make_unique<UserLogin> (email, password), state);
if (result == ErrorMessageAndType())
result = runTask (std::make_unique<UserLicenseQuery> (state.authToken), state);
if (result != ErrorMessageAndType())
state = {};
WeakReference<LicenseQueryThread> weakThis (this);
MessageManager::callAsync ([weakThis, result, state, completionCallback]
{
if (weakThis != nullptr)
completionCallback (result, state);
});
});
}
void cancelRunningJobs()
{
jobPool.removeAllJobs (true, 500);
}
private:
//==============================================================================
struct AccountEnquiryBase
{
virtual ~AccountEnquiryBase() = default;
virtual bool isPOSTLikeRequest() const = 0;
virtual String getEndpointURLSuffix() const = 0;
virtual StringPairArray getParameterNamesAndValues() const = 0;
virtual String getExtraHeaders() const = 0;
virtual int getSuccessCode() const = 0;
virtual String errorCodeToString (int) const = 0;
virtual bool parseServerResponse (const String&, LicenseState&) = 0;
};
struct UserLogin : public AccountEnquiryBase
{
UserLogin (const String& e, const String& p)
: userEmail (e), userPassword (p)
{
}
bool isPOSTLikeRequest() const override { return true; }
String getEndpointURLSuffix() const override { return "/authenticate/projucer"; }
int getSuccessCode() const override { return 200; }
StringPairArray getParameterNamesAndValues() const override
{
StringPairArray namesAndValues;
namesAndValues.set ("email", userEmail);
namesAndValues.set ("password", userPassword);
return namesAndValues;
}
String getExtraHeaders() const override
{
return "Content-Type: application/json";
}
String errorCodeToString (int errorCode) const override
{
switch (errorCode)
{
case 400: return "Please enter your email and password to sign in.";
case 401: return "Your email and password are incorrect.";
case 451: return "Access denied.";
default: return "Something went wrong, please try again.";
}
}
bool parseServerResponse (const String& serverResponse, LicenseState& licenseState) override
{
auto json = JSON::parse (serverResponse);
licenseState.authToken = json.getProperty ("token", {}).toString();
licenseState.username = json.getProperty ("user", {}).getProperty ("username", {}).toString();
return (licenseState.authToken.isNotEmpty() && licenseState.username.isNotEmpty());
}
String userEmail, userPassword;
};
struct UserLicenseQuery : public AccountEnquiryBase
{
UserLicenseQuery (const String& authToken)
: userAuthToken (authToken)
{
}
bool isPOSTLikeRequest() const override { return false; }
String getEndpointURLSuffix() const override { return "/user/licences/projucer"; }
int getSuccessCode() const override { return 200; }
StringPairArray getParameterNamesAndValues() const override
{
return {};
}
String getExtraHeaders() const override
{
return "x-access-token: " + userAuthToken;
}
String errorCodeToString (int errorCode) const override
{
switch (errorCode)
{
case 401: return "User not found or could not be verified.";
default: return "User licenses info fetch failed (unknown error).";
}
}
bool parseServerResponse (const String& serverResponse, LicenseState& licenseState) override
{
auto json = JSON::parse (serverResponse);
if (auto* licensesJson = json.getArray())
{
std::vector<LicenseHelpers::LicenseVersionAndType> licenses;
for (auto& license : *licensesJson)
{
auto version = license.getProperty ("product_version", {}).toString().trim();
auto type = license.getProperty ("licence_type", {}).toString();
auto status = license.getProperty ("status", {}).toString();
if (status == "active" && type.isNotEmpty() && version.isNotEmpty())
licenses.push_back ({ version.getIntValue(), LicenseHelpers::licenseTypeForString (type) });
}
if (! licenses.empty())
{
auto bestLicense = LicenseHelpers::findBestLicense (std::move (licenses));
licenseState.version = bestLicense.first;
licenseState.type = bestLicense.second;
}
return true;
}
return false;
}
String userAuthToken;
};
//==============================================================================
static String postDataStringAsJSON (const StringPairArray& parameters)
{
DynamicObject::Ptr d (new DynamicObject());
for (auto& key : parameters.getAllKeys())
d->setProperty (key, parameters[key]);
return JSON::toString (var (d.get()));
}
static ErrorMessageAndType runTask (std::unique_ptr<AccountEnquiryBase> accountEnquiryTask, LicenseState& state)
{
const ErrorMessageAndType cancelledError ("Cancelled.", ErrorType::cancelled);
const String endpointURL ("https://api.juce.com/api/v1");
URL url (endpointURL + accountEnquiryTask->getEndpointURLSuffix());
auto isPOST = accountEnquiryTask->isPOSTLikeRequest();
if (isPOST)
url = url.withPOSTData (postDataStringAsJSON (accountEnquiryTask->getParameterNamesAndValues()));
if (ThreadPoolJob::getCurrentThreadPoolJob()->shouldExit())
return cancelledError;
int statusCode = 0;
auto urlStream = url.createInputStream (URL::InputStreamOptions (isPOST ? URL::ParameterHandling::inPostData
: URL::ParameterHandling::inAddress)
.withExtraHeaders (accountEnquiryTask->getExtraHeaders())
.withConnectionTimeoutMs (5000)
.withStatusCode (&statusCode));
if (urlStream == nullptr)
return { "Failed to connect to the web server.", ErrorType::connectionError };
if (statusCode != accountEnquiryTask->getSuccessCode())
return { accountEnquiryTask->errorCodeToString (statusCode), ErrorType::webResponseError };
if (ThreadPoolJob::getCurrentThreadPoolJob()->shouldExit())
return cancelledError;
String response;
for (;;)
{
char buffer [8192] = "";
auto num = urlStream->read (buffer, sizeof (buffer));
if (ThreadPoolJob::getCurrentThreadPoolJob()->shouldExit())
return cancelledError;
if (num <= 0)
break;
response += buffer;
}
if (ThreadPoolJob::getCurrentThreadPoolJob()->shouldExit())
return cancelledError;
if (! accountEnquiryTask->parseServerResponse (response, state))
return { "Failed to parse server response.", ErrorType::webResponseError };
return {};
}
//==============================================================================
ThreadPool jobPool { 1 };
//==============================================================================
JUCE_DECLARE_WEAK_REFERENCEABLE (LicenseQueryThread)
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LicenseQueryThread)
};

View File

@ -0,0 +1,91 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
struct LicenseState
{
enum class Type
{
none,
gpl,
personal,
educational,
indie,
pro
};
LicenseState() = default;
LicenseState (Type t, int v, String user, String token)
: type (t), version (v), username (user), authToken (token)
{
}
bool operator== (const LicenseState& other) const noexcept
{
return type == other.type
&& version == other.version
&& username == other.username
&& authToken == other.authToken;
}
bool operator != (const LicenseState& other) const noexcept
{
return ! operator== (other);
}
bool isSignedIn() const noexcept { return isGPL() || (version > 0 && username.isNotEmpty()); }
bool isOldLicense() const noexcept { return isSignedIn() && version < projucerMajorVersion; }
bool isGPL() const noexcept { return type == Type::gpl; }
bool canUnlockFullFeatures() const noexcept
{
return isGPL() || (isSignedIn() && ! isOldLicense() && (type == Type::indie || type == Type::pro));
}
String getLicenseTypeString() const
{
switch (type)
{
case Type::none: return "No license";
case Type::gpl: return "GPL";
case Type::personal: return "Personal";
case Type::educational: return "Educational";
case Type::indie: return "Indie";
case Type::pro: return "Pro";
default: break;
};
jassertfalse;
return {};
}
Type type = Type::none;
int version = -1;
String username, authToken;
};

View File

@ -0,0 +1,283 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../Project/UI/jucer_UserAvatarComponent.h"
//==============================================================================
class LoginFormComponent : public Component
{
public:
LoginFormComponent (MainWindow& window)
: mainWindow (window)
{
setTitle ("Login");
setFocusContainerType (FocusContainerType::focusContainer);
addAndMakeVisible (emailBox);
emailBox.setTextToShowWhenEmpty ("Email", Colours::black.withAlpha (0.2f));
emailBox.setJustification (Justification::centredLeft);
emailBox.onReturnKey = [this] { submitDetails(); };
emailBox.setTitle ("Email");
addAndMakeVisible (passwordBox);
passwordBox.setTextToShowWhenEmpty ("Password", Colours::black.withAlpha (0.2f));
passwordBox.setPasswordCharacter ((juce_wchar) 0x2022);
passwordBox.setJustification (Justification::centredLeft);
passwordBox.onReturnKey = [this] { submitDetails(); };
passwordBox.setTitle ("Password");
addAndMakeVisible (logInButton);
logInButton.onClick = [this] { submitDetails(); };
addAndMakeVisible (enableGPLButton);
enableGPLButton.onClick = [this]
{
ProjucerApplication::getApp().getLicenseController().setState (LicenseController::getGPLState());
mainWindow.hideLoginFormOverlay();
};
addAndMakeVisible (userAvatar);
addAndMakeVisible (createAccountLabel);
createAccountLabel.setFont (Font (14.0f, Font::underlined));
createAccountLabel.addMouseListener (this, false);
createAccountLabel.setMouseCursor (MouseCursor::PointingHandCursor);
addAndMakeVisible (errorMessageLabel);
errorMessageLabel.setMinimumHorizontalScale (1.0f);
errorMessageLabel.setFont (12.0f);
errorMessageLabel.setColour (Label::textColourId, Colours::red);
errorMessageLabel.setVisible (false);
dismissButton.setShape (getLookAndFeel().getCrossShape (1.0f), false, true, false);
addAndMakeVisible (dismissButton);
dismissButton.onClick = [this] { mainWindow.hideLoginFormOverlay(); };
dismissButton.setTitle ("Dismiss");
setWantsKeyboardFocus (true);
setOpaque (true);
lookAndFeelChanged();
setSize (300, 350);
}
~LoginFormComponent() override
{
ProjucerApplication::getApp().getLicenseController().cancelSignIn();
}
void resized() override
{
auto bounds = getLocalBounds().reduced (20);
auto spacing = bounds.getHeight() / 20;
userAvatar.setBounds (bounds.removeFromTop (iconHeight).reduced ((bounds.getWidth() / 2) - (iconHeight / 2), 0));
errorMessageLabel.setBounds (bounds.removeFromTop (spacing));
bounds.removeFromTop (spacing / 2);
auto textEditorHeight = bounds.getHeight() / 5;
emailBox.setBounds (bounds.removeFromTop (textEditorHeight));
bounds.removeFromTop (spacing);
passwordBox.setBounds (bounds.removeFromTop (textEditorHeight));
bounds.removeFromTop (spacing * 2);
emailBox.setFont (Font ((float) textEditorHeight / 2.5f));
passwordBox.setFont (Font ((float) textEditorHeight / 2.5f));
logInButton.setBounds (bounds.removeFromTop (textEditorHeight));
auto slice = bounds.removeFromTop (textEditorHeight);
createAccountLabel.setBounds (slice.removeFromLeft (createAccountLabel.getFont().getStringWidth (createAccountLabel.getText()) + 5));
slice.removeFromLeft (15);
enableGPLButton.setBounds (slice.reduced (0, 5));
dismissButton.setBounds (getLocalBounds().reduced (10).removeFromTop (20).removeFromRight (20));
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId).contrasting (0.1f));
}
void mouseUp (const MouseEvent& event) override
{
if (event.eventComponent == &createAccountLabel)
URL ("https://juce.com/verification/register").launchInDefaultBrowser();
}
void lookAndFeelChanged() override
{
enableGPLButton.setColour (TextButton::buttonColourId, findColour (secondaryButtonBackgroundColourId));
}
private:
class ProgressButton : public TextButton,
private Timer
{
public:
ProgressButton (const String& buttonName)
: TextButton (buttonName), text (buttonName)
{
}
void setBusy (bool shouldBeBusy)
{
isInProgress = shouldBeBusy;
if (isInProgress)
{
setEnabled (false);
setButtonText ({});
startTimerHz (30);
}
else
{
setEnabled (true);
setButtonText (text);
stopTimer();
}
}
void paint (Graphics& g) override
{
TextButton::paint (g);
if (isInProgress)
{
auto size = getHeight() - 10;
auto halfSize = size / 2;
getLookAndFeel().drawSpinningWaitAnimation (g, Colours::white,
(getWidth() / 2) - halfSize, (getHeight() / 2) - halfSize,
size, size);
}
}
private:
void timerCallback() override
{
repaint();
}
String text;
bool isInProgress = false;
};
//==============================================================================
void updateLoginButtonStates (bool isLoggingIn)
{
logInButton.setBusy (isLoggingIn);
emailBox.setEnabled (! isLoggingIn);
passwordBox.setEnabled (! isLoggingIn);
}
void submitDetails()
{
auto loginFormError = checkLoginFormsAreValid();
if (loginFormError.isNotEmpty())
{
showErrorMessage (loginFormError);
return;
}
updateLoginButtonStates (true);
auto completionCallback = [weakThis = SafePointer<LoginFormComponent> { this }] (const String& errorMessage)
{
if (weakThis == nullptr)
return;
weakThis->updateLoginButtonStates (false);
if (errorMessage.isNotEmpty())
{
weakThis->showErrorMessage (errorMessage);
}
else
{
weakThis->hideErrorMessage();
weakThis->mainWindow.hideLoginFormOverlay();
ProjucerApplication::getApp().getCommandManager().commandStatusChanged();
}
};
ProjucerApplication::getApp().getLicenseController().signIn (emailBox.getText(), passwordBox.getText(),
std::move (completionCallback));
}
String checkLoginFormsAreValid() const
{
auto email = emailBox.getText();
if (email.isEmpty() || email.indexOfChar ('@') < 0)
return "Please enter a valid email.";
auto password = passwordBox.getText();
if (password.isEmpty() || password.length() < 8)
return "Please enter a valid password.";
return {};
}
void showErrorMessage (const String& errorMessage)
{
errorMessageLabel.setText (errorMessage, dontSendNotification);
errorMessageLabel.setVisible (true);
}
void hideErrorMessage()
{
errorMessageLabel.setText ({}, dontSendNotification);
errorMessageLabel.setVisible (false);
}
//==============================================================================
static constexpr int iconHeight = 50;
MainWindow& mainWindow;
TextEditor emailBox, passwordBox;
ProgressButton logInButton { "Sign In" };
TextButton enableGPLButton { "Enable GPL Mode" };
ShapeButton dismissButton { {},
findColour (treeIconColourId),
findColour (treeIconColourId).overlaidWith (findColour (defaultHighlightedTextColourId).withAlpha (0.2f)),
findColour (treeIconColourId).overlaidWith (findColour (defaultHighlightedTextColourId).withAlpha (0.4f)) };
UserAvatarComponent userAvatar { false };
Label createAccountLabel { {}, "Create an account" },
errorMessageLabel { {}, {} };
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LoginFormComponent)
};

View File

@ -0,0 +1,103 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
class AboutWindowComponent : public Component
{
public:
AboutWindowComponent()
{
addAndMakeVisible (titleLabel);
titleLabel.setJustificationType (Justification::centred);
titleLabel.setFont (Font (35.0f, Font::FontStyleFlags::bold));
auto buildDate = Time::getCompilationDate();
addAndMakeVisible (versionLabel);
versionLabel.setText ("JUCE v" + ProjucerApplication::getApp().getApplicationVersion()
+ "\nBuild date: " + String (buildDate.getDayOfMonth())
+ " " + Time::getMonthName (buildDate.getMonth(), true)
+ " " + String (buildDate.getYear()),
dontSendNotification);
versionLabel.setJustificationType (Justification::centred);
addAndMakeVisible (copyrightLabel);
copyrightLabel.setJustificationType (Justification::centred);
addAndMakeVisible (aboutButton);
aboutButton.setTooltip ( {} );
}
void resized() override
{
auto bounds = getLocalBounds();
bounds.removeFromBottom (20);
auto leftSlice = bounds.removeFromLeft (150);
auto centreSlice = bounds.withTrimmedRight (150);
juceLogoBounds = leftSlice.removeFromTop (150).toFloat();
juceLogoBounds.setWidth (juceLogoBounds.getWidth() + 100);
juceLogoBounds.setHeight (juceLogoBounds.getHeight() + 100);
auto titleHeight = 40;
centreSlice.removeFromTop ((centreSlice.getHeight() / 2) - (titleHeight / 2));
titleLabel.setBounds (centreSlice.removeFromTop (titleHeight));
centreSlice.removeFromTop (10);
versionLabel.setBounds (centreSlice.removeFromTop (40));
centreSlice.removeFromTop (10);
aboutButton.setBounds (centreSlice.removeFromTop (20));
copyrightLabel.setBounds (getLocalBounds().removeFromBottom (50));
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
if (juceLogo != nullptr)
juceLogo->drawWithin (g, juceLogoBounds.translated (-75, -75), RectanglePlacement::centred, 1.0);
}
private:
Label titleLabel { "title", "PROJUCER" },
versionLabel { "version" },
copyrightLabel { "copyright", String (CharPointer_UTF8 ("\xc2\xa9")) + String (" 2020 Raw Material Software Limited") };
HyperlinkButton aboutButton { "About Us", URL ("https://juce.com") };
Rectangle<float> juceLogoBounds;
std::unique_ptr<Drawable> juceLogo { Drawable::createFromImageData (BinaryData::juce_icon_png,
BinaryData::juce_icon_pngSize) };
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AboutWindowComponent)
};

View File

@ -0,0 +1,347 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../Utility/UI/PropertyComponents/jucer_ColourPropertyComponent.h"
//==============================================================================
class EditorColourSchemeWindowComponent : public Component
{
public:
EditorColourSchemeWindowComponent()
{
if (getAppSettings().monospacedFontNames.size() == 0)
changeContent (new AppearanceEditor::FontScanPanel());
else
changeContent (new AppearanceEditor::EditorPanel());
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
}
void resized() override
{
content->setBounds (getLocalBounds());
}
void changeContent (Component* newContent)
{
content.reset (newContent);
addAndMakeVisible (newContent);
content->setBounds (getLocalBounds().reduced (10));
}
private:
std::unique_ptr<Component> content;
//==============================================================================
struct AppearanceEditor
{
struct FontScanPanel : public Component,
private Timer
{
FontScanPanel()
{
fontsToScan = Font::findAllTypefaceNames();
startTimer (1);
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
g.setFont (14.0f);
g.setColour (findColour (defaultTextColourId));
g.drawFittedText ("Scanning for fonts..", getLocalBounds(), Justification::centred, 2);
const auto size = 30;
getLookAndFeel().drawSpinningWaitAnimation (g, Colours::white, (getWidth() - size) / 2, getHeight() / 2 - 50, size, size);
}
void timerCallback() override
{
repaint();
if (fontsToScan.size() == 0)
{
getAppSettings().monospacedFontNames = fontsFound;
if (auto* owner = findParentComponentOfClass<EditorColourSchemeWindowComponent>())
owner->changeContent (new EditorPanel());
}
else
{
if (isMonospacedTypeface (fontsToScan[0]))
fontsFound.add (fontsToScan[0]);
fontsToScan.remove (0);
}
}
// A rather hacky trick to select only the fixed-pitch fonts..
// This is unfortunately a bit slow, but will work on all platforms.
static bool isMonospacedTypeface (const String& name)
{
const Font font (name, 20.0f, Font::plain);
const auto width = font.getStringWidth ("....");
return width == font.getStringWidth ("WWWW")
&& width == font.getStringWidth ("0000")
&& width == font.getStringWidth ("1111")
&& width == font.getStringWidth ("iiii");
}
StringArray fontsToScan, fontsFound;
};
//==============================================================================
struct EditorPanel : public Component
{
EditorPanel()
: loadButton ("Load Scheme..."),
saveButton ("Save Scheme...")
{
rebuildProperties();
addAndMakeVisible (panel);
addAndMakeVisible (loadButton);
addAndMakeVisible (saveButton);
loadButton.onClick = [this] { loadScheme(); };
saveButton.onClick = [this] { saveScheme (false); };
lookAndFeelChanged();
saveSchemeState();
}
~EditorPanel() override
{
if (hasSchemeBeenModifiedSinceSave())
saveScheme (true);
}
void rebuildProperties()
{
auto& scheme = getAppSettings().appearance;
Array<PropertyComponent*> props;
auto fontValue = scheme.getCodeFontValue();
props.add (FontNameValueSource::createProperty ("Code Editor Font", fontValue));
props.add (FontSizeValueSource::createProperty ("Font Size", fontValue));
const auto colourNames = scheme.getColourNames();
for (int i = 0; i < colourNames.size(); ++i)
props.add (new ColourPropertyComponent (nullptr, colourNames[i],
scheme.getColourValue (colourNames[i]),
Colours::white, false));
panel.clear();
panel.addProperties (props);
}
void resized() override
{
auto r = getLocalBounds();
panel.setBounds (r.removeFromTop (getHeight() - 28).reduced (10, 2));
loadButton.setBounds (r.removeFromLeft (getWidth() / 2).reduced (10, 1));
saveButton.setBounds (r.reduced (10, 1));
}
private:
PropertyPanel panel;
TextButton loadButton, saveButton;
Font codeFont;
Array<var> colourValues;
void saveScheme (bool isExit)
{
chooser = std::make_unique<FileChooser> ("Select a file in which to save this colour-scheme...",
getAppSettings().appearance.getSchemesFolder()
.getNonexistentChildFile ("Scheme", AppearanceSettings::getSchemeFileSuffix()),
AppearanceSettings::getSchemeFileWildCard());
auto chooserFlags = FileBrowserComponent::saveMode
| FileBrowserComponent::canSelectFiles
| FileBrowserComponent::warnAboutOverwriting;
chooser->launchAsync (chooserFlags, [this, isExit] (const FileChooser& fc)
{
if (fc.getResult() == File{})
{
if (isExit)
restorePreviousScheme();
return;
}
File file (fc.getResult().withFileExtension (AppearanceSettings::getSchemeFileSuffix()));
getAppSettings().appearance.writeToFile (file);
getAppSettings().appearance.refreshPresetSchemeList();
saveSchemeState();
ProjucerApplication::getApp().selectEditorColourSchemeWithName (file.getFileNameWithoutExtension());
});
}
void loadScheme()
{
chooser = std::make_unique<FileChooser> ("Please select a colour-scheme file to load...",
getAppSettings().appearance.getSchemesFolder(),
AppearanceSettings::getSchemeFileWildCard());
auto chooserFlags = FileBrowserComponent::openMode
| FileBrowserComponent::canSelectFiles;
chooser->launchAsync (chooserFlags, [this] (const FileChooser& fc)
{
if (fc.getResult() == File{})
return;
if (getAppSettings().appearance.readFromFile (fc.getResult()))
{
rebuildProperties();
saveSchemeState();
}
});
}
void lookAndFeelChanged() override
{
loadButton.setColour (TextButton::buttonColourId,
findColour (secondaryButtonBackgroundColourId));
}
void saveSchemeState()
{
auto& appearance = getAppSettings().appearance;
const auto colourNames = appearance.getColourNames();
codeFont = appearance.getCodeFont();
colourValues.clear();
for (int i = 0; i < colourNames.size(); ++i)
colourValues.add (appearance.getColourValue (colourNames[i]).getValue());
}
bool hasSchemeBeenModifiedSinceSave()
{
auto& appearance = getAppSettings().appearance;
const auto colourNames = appearance.getColourNames();
if (codeFont != appearance.getCodeFont())
return true;
for (int i = 0; i < colourNames.size(); ++i)
if (colourValues[i] != appearance.getColourValue (colourNames[i]).getValue())
return true;
return false;
}
void restorePreviousScheme()
{
auto& appearance = getAppSettings().appearance;
const auto colourNames = appearance.getColourNames();
appearance.getCodeFontValue().setValue (codeFont.toString());
for (int i = 0; i < colourNames.size(); ++i)
appearance.getColourValue (colourNames[i]).setValue (colourValues[i]);
}
std::unique_ptr<FileChooser> chooser;
JUCE_DECLARE_NON_COPYABLE (EditorPanel)
};
//==============================================================================
struct FontNameValueSource : public ValueSourceFilter
{
FontNameValueSource (const Value& source) : ValueSourceFilter (source) {}
var getValue() const override
{
return Font::fromString (sourceValue.toString()).getTypefaceName();
}
void setValue (const var& newValue) override
{
auto font = Font::fromString (sourceValue.toString());
font.setTypefaceName (newValue.toString().isEmpty() ? Font::getDefaultMonospacedFontName()
: newValue.toString());
sourceValue = font.toString();
}
static ChoicePropertyComponent* createProperty (const String& title, const Value& value)
{
auto fontNames = getAppSettings().monospacedFontNames;
Array<var> values;
values.add (Font::getDefaultMonospacedFontName());
values.add (var());
for (int i = 0; i < fontNames.size(); ++i)
values.add (fontNames[i]);
StringArray names;
names.add ("<Default Monospaced>");
names.add (String());
names.addArray (getAppSettings().monospacedFontNames);
return new ChoicePropertyComponent (Value (new FontNameValueSource (value)),
title, names, values);
}
};
//==============================================================================
struct FontSizeValueSource : public ValueSourceFilter
{
FontSizeValueSource (const Value& source) : ValueSourceFilter (source) {}
var getValue() const override
{
return Font::fromString (sourceValue.toString()).getHeight();
}
void setValue (const var& newValue) override
{
sourceValue = Font::fromString (sourceValue.toString()).withHeight (newValue).toString();
}
static PropertyComponent* createProperty (const String& title, const Value& value)
{
return new SliderPropertyComponent (Value (new FontSizeValueSource (value)),
title, 5.0, 40.0, 0.1, 0.5);
}
};
};
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (EditorColourSchemeWindowComponent)
};

View File

@ -0,0 +1,89 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
struct FloatingToolWindow : public DialogWindow
{
FloatingToolWindow (const String& title,
const String& windowPosPropertyName,
Component* content,
std::unique_ptr<Component>& ownerPointer,
bool shouldBeResizable,
int defaultW, int defaultH,
int minW, int minH,
int maxW, int maxH)
: DialogWindow (title, content->findColour (secondaryBackgroundColourId), true, true),
windowPosProperty (windowPosPropertyName),
owner (ownerPointer)
{
setUsingNativeTitleBar (true);
setResizable (shouldBeResizable, shouldBeResizable);
setResizeLimits (minW, minH, maxW, maxH);
setContentOwned (content, false);
String windowState;
if (windowPosProperty.isNotEmpty())
windowState = getGlobalProperties().getValue (windowPosProperty);
if (windowState.isNotEmpty())
restoreWindowStateFromString (windowState);
else
centreAroundComponent (Component::getCurrentlyFocusedComponent(), defaultW, defaultH);
setVisible (true);
owner.reset (this);
}
~FloatingToolWindow() override
{
if (windowPosProperty.isNotEmpty())
getGlobalProperties().setValue (windowPosProperty, getWindowStateAsString());
}
void closeButtonPressed() override
{
owner.reset();
}
bool escapeKeyPressed() override
{
closeButtonPressed();
return true;
}
void paint (Graphics& g) override
{
g.fillAll (findColour (secondaryBackgroundColourId));
}
private:
String windowPosProperty;
std::unique_ptr<Component>& owner;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FloatingToolWindow)
};

View File

@ -0,0 +1,318 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../Utility/UI/PropertyComponents/jucer_LabelPropertyComponent.h"
//==============================================================================
class GlobalPathsWindowComponent : public Component,
private Timer,
private Value::Listener,
private ChangeListener
{
public:
GlobalPathsWindowComponent()
{
addChildComponent (rescanJUCEPathButton);
rescanJUCEPathButton.onClick = [this]
{
ProjucerApplication::getApp().rescanJUCEPathModules();
lastJUCEModulePath = getAppSettings().getStoredPath (Ids::defaultJuceModulePath, TargetOS::getThisOS()).get();
};
addChildComponent (rescanUserPathButton);
rescanUserPathButton.onClick = [this]
{
ProjucerApplication::getApp().rescanUserPathModules();
lastUserModulePath = getAppSettings().getStoredPath (Ids::defaultUserModulePath, TargetOS::getThisOS()).get();
};
addChildComponent (warnAboutJUCEPathButton);
warnAboutJUCEPathButton.setToggleState (ProjucerApplication::getApp().shouldPromptUserAboutIncorrectJUCEPath(),
dontSendNotification);
warnAboutJUCEPathButton.onClick = [this]
{
ProjucerApplication::getApp().setShouldPromptUserAboutIncorrectJUCEPath (warnAboutJUCEPathButton.getToggleState());
};
getGlobalProperties().addChangeListener (this);
addAndMakeVisible (resetToDefaultsButton);
resetToDefaultsButton.onClick = [this] { resetCurrentOSPathsToDefaults(); };
addAndMakeVisible (propertyViewport);
propertyViewport.setViewedComponent (&propertyGroup, false);
auto os = TargetOS::getThisOS();
if (os == TargetOS::osx) selectedOSValue = "osx";
else if (os == TargetOS::windows) selectedOSValue = "windows";
else if (os == TargetOS::linux) selectedOSValue = "linux";
selectedOSValue.addListener (this);
buildProps();
lastJUCEModulePath = getAppSettings().getStoredPath (Ids::defaultJuceModulePath, TargetOS::getThisOS()).get();
lastUserModulePath = getAppSettings().getStoredPath (Ids::defaultUserModulePath, TargetOS::getThisOS()).get();
}
~GlobalPathsWindowComponent() override
{
getGlobalProperties().removeChangeListener (this);
auto juceValue = getAppSettings().getStoredPath (Ids::defaultJuceModulePath, TargetOS::getThisOS());
auto userValue = getAppSettings().getStoredPath (Ids::defaultUserModulePath, TargetOS::getThisOS());
if (juceValue.get() != lastJUCEModulePath) ProjucerApplication::getApp().rescanJUCEPathModules();
if (userValue.get() != lastUserModulePath) ProjucerApplication::getApp().rescanUserPathModules();
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
}
void paintOverChildren (Graphics& g) override
{
g.setColour (findColour (defaultHighlightColourId).withAlpha (flashAlpha));
g.fillRect (boundsToHighlight);
}
void resized() override
{
auto b = getLocalBounds().reduced (10);
auto bottomBounds = b.removeFromBottom (80);
auto buttonBounds = bottomBounds.removeFromBottom (50);
rescanJUCEPathButton.setBounds (buttonBounds.removeFromLeft (150).reduced (5, 10));
rescanUserPathButton.setBounds (buttonBounds.removeFromLeft (150).reduced (5, 10));
resetToDefaultsButton.setBounds (buttonBounds.removeFromRight (150).reduced (5, 10));
warnAboutJUCEPathButton.setBounds (bottomBounds.reduced (0, 5));
warnAboutJUCEPathButton.changeWidthToFitText();
propertyGroup.updateSize (0, 0, getWidth() - 20 - propertyViewport.getScrollBarThickness());
propertyViewport.setBounds (b);
}
void highlightJUCEPath()
{
if (isTimerRunning() || ! isSelectedOSThisOS())
return;
const auto findJucePathPropertyComponent = [this]() -> PropertyComponent*
{
for (const auto& prop : propertyGroup.getProperties())
if (prop->getName() == "Path to JUCE")
return prop.get();
return nullptr;
};
if (auto* propComponent = findJucePathPropertyComponent())
{
boundsToHighlight = getLocalArea (nullptr, propComponent->getScreenBounds());
flashAlpha = 0.0f;
hasFlashed = false;
startTimer (25);
}
}
private:
//==============================================================================
void timerCallback() override
{
flashAlpha += (hasFlashed ? -0.05f : 0.05f);
if (flashAlpha > 0.75f)
{
hasFlashed = true;
}
else if (flashAlpha < 0.0f)
{
flashAlpha = 0.0f;
boundsToHighlight = {};
stopTimer();
}
repaint();
}
void valueChanged (Value&) override
{
buildProps();
resized();
}
void changeListenerCallback (ChangeBroadcaster*) override
{
warnAboutJUCEPathButton.setToggleState (ProjucerApplication::getApp().shouldPromptUserAboutIncorrectJUCEPath(),
dontSendNotification);
}
//==============================================================================
bool isSelectedOSThisOS() { return TargetOS::getThisOS() == getSelectedOS(); }
TargetOS::OS getSelectedOS() const
{
auto val = selectedOSValue.getValue();
if (val == "osx") return TargetOS::osx;
else if (val == "windows") return TargetOS::windows;
else if (val == "linux") return TargetOS::linux;
jassertfalse;
return TargetOS::unknown;
}
//==============================================================================
void buildProps()
{
updateValues();
PropertyListBuilder builder;
auto isThisOS = isSelectedOSThisOS();
builder.add (new ChoicePropertyComponent (selectedOSValue, "OS", { "OSX", "Windows", "Linux" }, { "osx", "windows", "linux" }),
"Use this dropdown to set the global paths for different OSes. "
"\nN.B. These paths are stored locally and will only be used when "
"saving a project on this machine. Other machines will have their own "
"locally stored paths.");
builder.add (new LabelPropertyComponent ("JUCE"), {});
builder.add (new FilePathPropertyComponent (jucePathValue, "Path to JUCE", true, isThisOS),
"This should be the path to the top-level directory of your JUCE folder. "
"This path will be used when searching for the JUCE examples and DemoRunner application.");
builder.add (new FilePathPropertyComponent (juceModulePathValue, "JUCE Modules", true, isThisOS),
String ("This should be the path to the folder containing the JUCE modules that you wish to use, typically the \"modules\" directory of your JUCE folder.")
+ (isThisOS ? " Use the button below to re-scan a new path." : ""));
builder.add (new FilePathPropertyComponent (userModulePathValue, "User Modules", true, isThisOS),
String ("A path to a folder containing any custom modules that you wish to use.")
+ (isThisOS ? " Use the button below to re-scan new paths." : ""));
builder.add (new LabelPropertyComponent ("SDKs"), {});
builder.add (new FilePathPropertyComponent (vstPathValue, "VST (Legacy) SDK", true, isThisOS),
"If you are building a legacy VST plug-in then this path should point to a VST2 SDK. "
"The VST2 SDK can be obtained from the vstsdk3610_11_06_2018_build_37 (or older) VST3 SDK or JUCE version 5.3.2. "
"You also need a VST2 license from Steinberg to distribute VST2 plug-ins.");
if (getSelectedOS() != TargetOS::linux)
{
builder.add (new FilePathPropertyComponent (aaxPathValue, "AAX SDK", true, isThisOS),
"If you are building AAX plug-ins, this should be the path to the AAX SDK folder.");
builder.add (new FilePathPropertyComponent (rtasPathValue, "RTAS SDK (deprecated)", true, isThisOS),
"If you are building RTAS plug-ins, this should be the path to the RTAS SDK folder.");
}
builder.add (new FilePathPropertyComponent (androidSDKPathValue, "Android SDK", true, isThisOS),
"This path will be used when writing the local.properties file of an Android project and should point to the Android SDK folder.");
if (isThisOS)
{
builder.add (new LabelPropertyComponent ("Other"), {});
#if JUCE_MAC
String exeLabel ("app");
#elif JUCE_WINDOWS
String exeLabel ("executable");
#else
String exeLabel ("startup script");
#endif
builder.add (new FilePathPropertyComponent (clionExePathValue, "CLion " + exeLabel, false, isThisOS),
"This path will be used for the \"Save Project and Open in IDE...\" option of the CLion exporter.");
builder.add (new FilePathPropertyComponent (androidStudioExePathValue, "Android Studio " + exeLabel, false, isThisOS),
"This path will be used for the \"Save Project and Open in IDE...\" option of the Android Studio exporter.");
}
rescanJUCEPathButton.setVisible (isThisOS);
rescanUserPathButton.setVisible (isThisOS);
warnAboutJUCEPathButton.setVisible (isThisOS);
propertyGroup.setProperties (builder);
}
void updateValues()
{
auto& settings = getAppSettings();
auto os = getSelectedOS();
jucePathValue = settings.getStoredPath (Ids::jucePath, os);
juceModulePathValue = settings.getStoredPath (Ids::defaultJuceModulePath, os);
userModulePathValue = settings.getStoredPath (Ids::defaultUserModulePath, os);
vstPathValue = settings.getStoredPath (Ids::vstLegacyPath, os);
rtasPathValue = settings.getStoredPath (Ids::rtasPath, os);
aaxPathValue = settings.getStoredPath (Ids::aaxPath, os);
androidSDKPathValue = settings.getStoredPath (Ids::androidSDKPath, os);
clionExePathValue = settings.getStoredPath (Ids::clionExePath, os);
androidStudioExePathValue = settings.getStoredPath (Ids::androidStudioExePath, os);
}
void resetCurrentOSPathsToDefaults()
{
jucePathValue .resetToDefault();
juceModulePathValue .resetToDefault();
userModulePathValue .resetToDefault();
vstPathValue .resetToDefault();
rtasPathValue .resetToDefault();
aaxPathValue .resetToDefault();
androidSDKPathValue .resetToDefault();
clionExePathValue .resetToDefault();
androidStudioExePathValue.resetToDefault();
repaint();
}
//==============================================================================
Value selectedOSValue;
ValueWithDefault jucePathValue, juceModulePathValue, userModulePathValue,
vstPathValue, rtasPathValue, aaxPathValue, androidSDKPathValue, clionExePathValue, androidStudioExePathValue;
Viewport propertyViewport;
PropertyGroupComponent propertyGroup { "Global Paths", { getIcons().openFolder, Colours::transparentBlack } };
ToggleButton warnAboutJUCEPathButton { "Warn about incorrect JUCE path" };
TextButton rescanJUCEPathButton { "Re-scan JUCE Modules" },
rescanUserPathButton { "Re-scan User Modules" },
resetToDefaultsButton { "Reset to Defaults" };
Rectangle<int> boundsToHighlight;
float flashAlpha = 0.0f;
bool hasFlashed = false;
var lastJUCEModulePath, lastUserModulePath;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GlobalPathsWindowComponent)
};

View File

@ -0,0 +1,347 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
static String getWidthLimitedStringFromVarArray (const var& varArray) noexcept
{
if (! varArray.isArray())
return {};
int numLines = 1;
const int lineWidth = 100;
const String indent (" ");
String str;
if (auto* arr = varArray.getArray())
{
for (auto& v : *arr)
{
if ((str.length() + v.toString().length()) > (lineWidth * numLines))
{
str += newLine;
str += indent;
++numLines;
}
str += v.toString() + (arr->indexOf (v) != arr->size() - 1 ? ", " : "");
}
}
return str;
}
//==============================================================================
class PIPCreatorWindowComponent : public Component,
private ValueTree::Listener
{
public:
PIPCreatorWindowComponent()
{
lf.reset (new PIPCreatorLookAndFeel());
setLookAndFeel (lf.get());
addAndMakeVisible (propertyViewport);
propertyViewport.setViewedComponent (&propertyGroup, false);
buildProps();
addAndMakeVisible (createButton);
createButton.onClick = [this]
{
chooser = std::make_unique<FileChooser> ("Save PIP File",
File::getSpecialLocation (File::SpecialLocationType::userDesktopDirectory)
.getChildFile (nameValue.get().toString() + ".h"));
auto browserFlags = FileBrowserComponent::saveMode
| FileBrowserComponent::canSelectFiles
| FileBrowserComponent::warnAboutOverwriting;
chooser->launchAsync (browserFlags, [this] (const FileChooser& fc)
{
const auto result = fc.getResult();
if (result != File{})
createPIPFile (result);
});
};
pipTree.addListener (this);
}
~PIPCreatorWindowComponent() override
{
setLookAndFeel (nullptr);
}
void resized() override
{
auto bounds = getLocalBounds();
createButton.setBounds (bounds.removeFromBottom (50).reduced (100, 10));
propertyGroup.updateSize (0, 0, getWidth() - propertyViewport.getScrollBarThickness());
propertyViewport.setBounds (bounds);
}
private:
//==============================================================================
struct PIPCreatorLookAndFeel : public ProjucerLookAndFeel
{
PIPCreatorLookAndFeel() {}
Rectangle<int> getPropertyComponentContentPosition (PropertyComponent& component)
{
auto textW = jmin (200, component.getWidth() / 3);
return { textW, 0, component.getWidth() - textW, component.getHeight() - 1 };
}
};
void lookAndFeelChanged() override
{
lf->setColourScheme (ProjucerApplication::getApp().lookAndFeel.getCurrentColourScheme());
lf->setupColours();
}
//==============================================================================
void buildProps()
{
PropertyListBuilder builder;
builder.add (new TextPropertyComponent (nameValue, "Name", 256, false),
"The name of your JUCE project.");
builder.add (new TextPropertyComponent (versionValue, "Version", 16, false),
"This will be used for the \"Project Version\" field in the Projucer.");
builder.add (new TextPropertyComponent (vendorValue, "Vendor", 2048, false),
"This will be used for the \"Company Name\" field in the Projucer.");
builder.add (new TextPropertyComponent (websiteValue, "Website", 2048, false),
"This will be used for the \"Company Website\" field in the Projucer");
builder.add (new TextPropertyComponent (descriptionValue, "Description", 2048, true),
"A short description of your JUCE project.");
{
Array<var> moduleVars;
for (auto& m : getJUCEModules())
moduleVars.add (m);
builder.add (new MultiChoicePropertyComponent (dependenciesValue, "Dependencies",
getJUCEModules(), moduleVars),
"The JUCE modules that should be added to your project.");
}
{
Array<var> exporterVars;
StringArray exporterNames;
for (auto& exporterTypeInfo : ProjectExporter::getExporterTypeInfos())
{
exporterVars.add (exporterTypeInfo.identifier.toString());
exporterNames.add (exporterTypeInfo.displayName);
}
builder.add (new MultiChoicePropertyComponent (exportersValue, "Exporters", exporterNames, exporterVars),
"The exporters that should be added to your project.");
}
builder.add (new TextPropertyComponent (moduleFlagsValue, "Module Flags", 2048, true),
"Use this to set one, or many, of the JUCE module flags");
builder.add (new TextPropertyComponent (definesValue, "Defines", 2048, true),
"This sets some global preprocessor definitions for your project. Used to populate the \"Preprocessor Definitions\" field in the Projucer.");
builder.add (new ChoicePropertyComponent (typeValue, "Type",
{ "Component", "Plugin", "Console Application" },
{ "Component", "AudioProcessor", "Console" }),
"The project type.");
builder.add (new TextPropertyComponent (mainClassValue, "Main Class", 2048, false),
"The name of the main class that should be instantiated. "
"There can only be one main class and it must have a default constructor. "
"Depending on the type, this may need to inherit from a specific JUCE class");
builder.add (new ChoicePropertyComponent (useLocalCopyValue, "Use Local Copy"),
"Enable this to specify that the PIP file should be copied to the generated project directory instead of just referred to.");
propertyGroup.setProperties (builder);
}
//==============================================================================
void valueTreePropertyChanged (ValueTree&, const Identifier& identifier) override
{
if (identifier == Ids::type)
{
auto type = typeValue.get().toString();
if (type == "Component")
{
nameValue.setDefault ("MyComponentPIP");
dependenciesValue.setDefault (getModulesRequiredForComponent());
mainClassValue.setDefault ("MyComponent");
}
else if (type == "AudioProcessor")
{
nameValue.setDefault ("MyPluginPIP");
dependenciesValue.setDefault (getModulesRequiredForAudioProcessor());
mainClassValue.setDefault ("MyPlugin");
}
else if (type == "Console")
{
nameValue.setDefault ("MyConsolePIP");
dependenciesValue.setDefault (getModulesRequiredForConsole());
mainClassValue.setDefault ({});
}
MessageManager::callAsync ([this]
{
buildProps();
resized();
});
}
}
//==============================================================================
String getFormattedMetadataString() const noexcept
{
StringArray metadata;
{
StringArray section;
if (nameValue.get().toString().isNotEmpty()) section.add (" name: " + nameValue.get().toString());
if (versionValue.get().toString().isNotEmpty()) section.add (" version: " + versionValue.get().toString());
if (vendorValue.get().toString().isNotEmpty()) section.add (" vendor: " + vendorValue.get().toString());
if (websiteValue.get().toString().isNotEmpty()) section.add (" website: " + websiteValue.get().toString());
if (descriptionValue.get().toString().isNotEmpty()) section.add (" description: " + descriptionValue.get().toString());
if (! section.isEmpty())
metadata.add (section.joinIntoString (getPreferredLineFeed()));
}
{
StringArray section;
auto dependenciesString = getWidthLimitedStringFromVarArray (dependenciesValue.get());
if (dependenciesString.isNotEmpty()) section.add (" dependencies: " + dependenciesString);
auto exportersString = getWidthLimitedStringFromVarArray (exportersValue.get());
if (exportersString.isNotEmpty()) section.add (" exporters: " + exportersString);
if (! section.isEmpty())
metadata.add (section.joinIntoString (getPreferredLineFeed()));
}
{
StringArray section;
if (moduleFlagsValue.get().toString().isNotEmpty()) section.add (" moduleFlags: " + moduleFlagsValue.get().toString());
if (definesValue.get().toString().isNotEmpty()) section.add (" defines: " + definesValue.get().toString());
if (! section.isEmpty())
metadata.add (section.joinIntoString (getPreferredLineFeed()));
}
{
StringArray section;
if (typeValue.get().toString().isNotEmpty()) section.add (" type: " + typeValue.get().toString());
if (mainClassValue.get().toString().isNotEmpty()) section.add (" mainClass: " + mainClassValue.get().toString());
if (! section.isEmpty())
metadata.add (section.joinIntoString (getPreferredLineFeed()));
}
{
StringArray section;
if (useLocalCopyValue.get()) section.add (" useLocalCopy: " + useLocalCopyValue.get().toString());
if (! section.isEmpty())
metadata.add (section.joinIntoString (getPreferredLineFeed()));
}
return metadata.joinIntoString (String (getPreferredLineFeed()) + getPreferredLineFeed());
}
void createPIPFile (File fileToSave)
{
String fileTemplate (BinaryData::jucer_PIPTemplate_h);
fileTemplate = fileTemplate.replace ("%%pip_metadata%%", getFormattedMetadataString());
auto type = typeValue.get().toString();
if (type == "Component")
{
String componentCode (BinaryData::jucer_ContentCompSimpleTemplate_h);
componentCode = componentCode.substring (componentCode.indexOf ("class %%content_component_class%%"))
.replace ("%%content_component_class%%", mainClassValue.get().toString());
fileTemplate = fileTemplate.replace ("%%pip_code%%", componentCode);
}
else if (type == "AudioProcessor")
{
String audioProcessorCode (BinaryData::jucer_PIPAudioProcessorTemplate_h);
audioProcessorCode = audioProcessorCode.replace ("%%class_name%%", mainClassValue.get().toString())
.replace ("%%name%%", nameValue.get().toString());
fileTemplate = fileTemplate.replace ("%%pip_code%%", audioProcessorCode);
}
else if (type == "Console")
{
String consoleCode (BinaryData::jucer_MainConsoleAppTemplate_cpp);
consoleCode = consoleCode.substring (consoleCode.indexOf ("int main (int argc, char* argv[])"));
fileTemplate = fileTemplate.replace ("%%pip_code%%", consoleCode);
}
if (fileToSave.create())
fileToSave.replaceWithText (fileTemplate);
}
//==============================================================================
ValueTree pipTree { "PIPSettings" };
ValueWithDefault nameValue { pipTree, Ids::name, nullptr, "MyComponentPIP" },
versionValue { pipTree, Ids::version, nullptr },
vendorValue { pipTree, Ids::vendor, nullptr },
websiteValue { pipTree, Ids::website, nullptr },
descriptionValue { pipTree, Ids::description, nullptr },
dependenciesValue { pipTree, Ids::dependencies_, nullptr, getModulesRequiredForComponent(), "," },
exportersValue { pipTree, Ids::exporters, nullptr, StringArray (ProjectExporter::getCurrentPlatformExporterTypeInfo().identifier.toString()), "," },
moduleFlagsValue { pipTree, Ids::moduleFlags, nullptr, "JUCE_STRICT_REFCOUNTEDPOINTER=1" },
definesValue { pipTree, Ids::defines, nullptr },
typeValue { pipTree, Ids::type, nullptr, "Component" },
mainClassValue { pipTree, Ids::mainClass, nullptr, "MyComponent" },
useLocalCopyValue { pipTree, Ids::useLocalCopy, nullptr, false };
std::unique_ptr<PIPCreatorLookAndFeel> lf;
Viewport propertyViewport;
PropertyGroupComponent propertyGroup { "PIP Creator", {} };
TextButton createButton { "Create PIP" };
std::unique_ptr<FileChooser> chooser;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PIPCreatorWindowComponent)
};

View File

@ -0,0 +1,218 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
class SVGPathDataComponent : public Component,
public FileDragAndDropTarget
{
public:
SVGPathDataComponent()
{
desc.setJustificationType (Justification::centred);
addAndMakeVisible (desc);
userText.setFont (getAppSettings().appearance.getCodeFont().withHeight (13.0f));
userText.setMultiLine (true, true);
userText.setReturnKeyStartsNewLine (true);
addAndMakeVisible (userText);
userText.onTextChange = [this] { update(); };
userText.onEscapeKey = [this] { getTopLevelComponent()->exitModalState (0); };
resultText.setFont (getAppSettings().appearance.getCodeFont().withHeight (13.0f));
resultText.setMultiLine (true, true);
resultText.setReadOnly (true);
resultText.setSelectAllWhenFocused (true);
addAndMakeVisible (resultText);
userText.setText (getLastText());
addAndMakeVisible (copyButton);
copyButton.onClick = [this] { SystemClipboard::copyTextToClipboard (resultText.getText()); };
addAndMakeVisible (closeSubPathButton);
closeSubPathButton.onClick = [this] { update(); };
closeSubPathButton.setToggleState (true, NotificationType::dontSendNotification);
addAndMakeVisible (fillPathButton);
fillPathButton.onClick = [this] { update(); };
fillPathButton.setToggleState (true, NotificationType::dontSendNotification);
}
void update()
{
getLastText() = userText.getText();
auto text = getLastText().trim().unquoted().trim();
path = Drawable::parseSVGPath (text);
if (path.isEmpty())
path = pathFromPoints (text);
String result = "No path generated.. Not a valid SVG path string?";
if (! path.isEmpty())
{
MemoryOutputStream data;
path.writePathToStream (data);
MemoryOutputStream out;
out << "static const unsigned char pathData[] = ";
build_tools::writeDataAsCppLiteral (data.getMemoryBlock(), out, false, true);
out << newLine
<< newLine
<< "Path path;" << newLine
<< "path.loadPathFromData (pathData, sizeof (pathData));" << newLine;
result = out.toString();
}
resultText.setText (result, false);
repaint (previewPathArea);
}
void resized() override
{
auto r = getLocalBounds().reduced (8);
auto bottomSection = r.removeFromBottom (30);
copyButton.setBounds (bottomSection.removeFromLeft (50));
bottomSection.removeFromLeft (25);
fillPathButton.setBounds (bottomSection.removeFromLeft (bottomSection.getWidth() / 2));
closeSubPathButton.setBounds (bottomSection);
r.removeFromBottom (5);
desc.setBounds (r.removeFromTop (44));
r.removeFromTop (8);
userText.setBounds (r.removeFromTop (r.getHeight() / 2));
r.removeFromTop (8);
previewPathArea = r.removeFromRight (r.getHeight());
resultText.setBounds (r);
}
void paint (Graphics& g) override
{
if (dragOver)
{
g.setColour (findColour (secondaryBackgroundColourId).brighter());
g.fillAll();
}
g.setColour (findColour (defaultTextColourId));
path.applyTransform (path.getTransformToScaleToFit (previewPathArea.reduced (4).toFloat(), true));
if (fillPathButton.getToggleState())
g.fillPath (path);
else
g.strokePath (path, PathStrokeType (2.0f));
}
void lookAndFeelChanged() override
{
userText.applyFontToAllText (userText.getFont());
resultText.applyFontToAllText (resultText.getFont());
}
bool isInterestedInFileDrag (const StringArray& files) override
{
return files.size() == 1
&& File (files[0]).hasFileExtension ("svg");
}
void fileDragEnter (const StringArray&, int, int) override
{
dragOver = true;
repaint();
}
void fileDragExit (const StringArray&) override
{
dragOver = false;
repaint();
}
void filesDropped (const StringArray& files, int, int) override
{
dragOver = false;
repaint();
if (auto element = parseXML (File (files[0])))
{
if (auto* ePath = element->getChildByName ("path"))
userText.setText (ePath->getStringAttribute ("d"), true);
else if (auto* ePolygon = element->getChildByName ("polygon"))
userText.setText (ePolygon->getStringAttribute ("points"), true);
}
}
Path pathFromPoints (String pointsText)
{
auto points = StringArray::fromTokens (pointsText, " ,", "");
points.removeEmptyStrings();
jassert (points.size() % 2 == 0);
Path p;
for (int i = 0; i < points.size() / 2; i++)
{
auto x = points[i * 2].getFloatValue();
auto y = points[i * 2 + 1].getFloatValue();
if (i == 0)
p.startNewSubPath ({ x, y });
else
p.lineTo ({ x, y });
}
if (closeSubPathButton.getToggleState())
p.closeSubPath();
return p;
}
private:
Label desc { {}, "Paste an SVG path string into the top box, and it'll be converted to some C++ "
"code that will load it as a Path object.." };
TextButton copyButton { "Copy" };
TextEditor userText, resultText;
ToggleButton closeSubPathButton { "Close sub-path" };
ToggleButton fillPathButton { "Fill path" };
Rectangle<int> previewPathArea;
Path path;
bool dragOver = false;
String& getLastText()
{
static String t;
return t;
}
};

View File

@ -0,0 +1,198 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../../Utility/Helpers/jucer_TranslationHelpers.h"
//==============================================================================
class TranslationToolComponent : public Component
{
public:
TranslationToolComponent()
: editorOriginal (documentOriginal, nullptr),
editorPre (documentPre, nullptr),
editorPost (documentPost, nullptr),
editorResult (documentResult, nullptr)
{
instructionsLabel.setText (
"This utility converts translation files to/from a format that can be passed to automatic translation tools."
"\n\n"
"First, choose whether to scan the current project for all TRANS() macros, or "
"pick an existing translation file to load:", dontSendNotification);
addAndMakeVisible (instructionsLabel);
label1.setText ("..then copy-and-paste this annotated text into Google Translate or some other translator:", dontSendNotification);
addAndMakeVisible (label1);
label2.setText ("...then, take the translated result and paste it into the box below:", dontSendNotification);
addAndMakeVisible (label2);
label3.setText ("Finally, click the 'Generate' button, and a translation file will be created below. "
"Remember to update its language code at the top!", dontSendNotification);
addAndMakeVisible (label3);
label4.setText ("If you load an existing file the already translated strings will be removed. Ensure this box is empty to create a fresh translation", dontSendNotification);
addAndMakeVisible (label4);
addAndMakeVisible (editorOriginal);
addAndMakeVisible (editorPre);
addAndMakeVisible (editorPost);
addAndMakeVisible (editorResult);
addAndMakeVisible (generateButton);
generateButton.onClick = [this] { generate(); };
addAndMakeVisible (scanProjectButton);
scanProjectButton.onClick = [this] { scanProject(); };
addAndMakeVisible (scanFolderButton);
scanFolderButton.onClick = [this] { scanFolder(); };
addAndMakeVisible (loadTranslationButton);
loadTranslationButton.onClick = [this] { loadFile(); };
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
}
void resized() override
{
const int m = 6;
const int textH = 44;
const int extraH = (7 * textH);
const int editorH = (getHeight() - extraH) / 4;
const int numButtons = 3;
Rectangle<int> r (getLocalBounds().withTrimmedBottom (m));
const int buttonWidth = r.getWidth() / numButtons;
instructionsLabel.setBounds (r.removeFromTop (textH * 2).reduced (m));
r.removeFromTop (m);
Rectangle<int> r2 (r.removeFromTop (textH - (2 * m)));
scanProjectButton .setBounds (r2.removeFromLeft (buttonWidth).reduced (m, 0));
scanFolderButton .setBounds (r2.removeFromLeft (buttonWidth).reduced (m, 0));
loadTranslationButton.setBounds (r2.reduced (m, 0));
label1 .setBounds (r.removeFromTop (textH) .reduced (m));
editorPre.setBounds (r.removeFromTop (editorH).reduced (m, 0));
label2 .setBounds (r.removeFromTop (textH) .reduced (m));
editorPost.setBounds (r.removeFromTop (editorH).reduced (m, 0));
r2 = r.removeFromTop (textH);
generateButton.setBounds (r2.removeFromRight (152).reduced (m));
label3 .setBounds (r2.reduced (m));
editorResult .setBounds (r.removeFromTop (editorH).reduced (m, 0));
label4 .setBounds (r.removeFromTop (textH).reduced (m));
editorOriginal.setBounds (r.reduced (m, 0));
}
private:
//==============================================================================
void generate()
{
StringArray preStrings (TranslationHelpers::breakApart (documentPre.getAllContent()));
StringArray postStrings (TranslationHelpers::breakApart (documentPost.getAllContent()));
if (postStrings.size() != preStrings.size())
{
AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon,
TRANS("Error"),
TRANS("The pre- and post-translation text doesn't match!\n\n"
"Perhaps it got mangled by the translator?"));
return;
}
const LocalisedStrings originalTranslation (documentOriginal.getAllContent(), false);
documentResult.replaceAllContent (TranslationHelpers::createFinishedTranslationFile (preStrings, postStrings, originalTranslation));
}
void scanProject()
{
if (Project* project = ProjucerApplication::getApp().mainWindowList.getFrontmostProject())
setPreTranslationText (TranslationHelpers::getPreTranslationText (*project));
else
AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon, "Translation Tool",
"This will only work when you have a project open!");
}
void scanFolder()
{
chooser = std::make_unique<FileChooser> ("Choose the root folder to search for the TRANS macros",
File(), "*");
auto chooserFlags = FileBrowserComponent::openMode | FileBrowserComponent::canSelectDirectories;
chooser->launchAsync (chooserFlags, [this] (const FileChooser& fc)
{
if (fc.getResult() == File{})
return;
StringArray strings;
TranslationHelpers::scanFolderForTranslations (strings, fc.getResult());
setPreTranslationText (TranslationHelpers::mungeStrings(strings));
});
}
void loadFile()
{
chooser = std::make_unique<FileChooser> ("Choose a translation file to load", File(), "*");
auto chooserFlags = FileBrowserComponent::openMode | FileBrowserComponent::canSelectFiles;
chooser->launchAsync (chooserFlags, [this] (const FileChooser& fc)
{
if (fc.getResult() == File{})
return;
const LocalisedStrings loadedStrings (fc.getResult(), false);
documentOriginal.replaceAllContent (fc.getResult().loadFileAsString().trim());
setPreTranslationText (TranslationHelpers::getPreTranslationText (loadedStrings));
});
}
void setPreTranslationText (const String& text)
{
documentPre.replaceAllContent (text);
editorPre.grabKeyboardFocus();
editorPre.selectAll();
}
//==============================================================================
CodeDocument documentOriginal, documentPre, documentPost, documentResult;
CodeEditorComponent editorOriginal, editorPre, editorPost, editorResult;
Label label1, label2, label3, label4;
Label instructionsLabel;
TextButton generateButton { TRANS("Generate") },
scanProjectButton { "Scan project for TRANS macros" },
scanFolderButton { "Scan folder for TRANS macros" },
loadTranslationButton { "Load existing translation file..."};
std::unique_ptr<FileChooser> chooser;
};

View File

@ -0,0 +1,87 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
class UTF8Component : public Component
{
public:
UTF8Component()
: desc (String(),
"Type any string into the box, and it'll be shown below as a portable UTF-8 literal, "
"ready to cut-and-paste into your source-code...")
{
desc.setJustificationType (Justification::centred);
addAndMakeVisible (desc);
userText.setMultiLine (true, true);
userText.setReturnKeyStartsNewLine (true);
addAndMakeVisible (userText);
userText.onTextChange = [this] { update(); };
userText.onEscapeKey = [this] { getTopLevelComponent()->exitModalState (0); };
resultText.setFont (getAppSettings().appearance.getCodeFont().withHeight (13.0f));
resultText.setMultiLine (true, true);
resultText.setReadOnly (true);
resultText.setSelectAllWhenFocused (true);
addAndMakeVisible (resultText);
userText.setText (getLastText());
}
void update()
{
getLastText() = userText.getText();
resultText.setText (CodeHelpers::stringLiteral (getLastText(), 100), false);
}
void resized() override
{
auto r = getLocalBounds().reduced (8);
desc.setBounds (r.removeFromTop (44));
r.removeFromTop (8);
userText.setBounds (r.removeFromTop (r.getHeight() / 2));
r.removeFromTop (8);
resultText.setBounds (r);
}
void lookAndFeelChanged() override
{
userText.applyFontToAllText (userText.getFont());
resultText.applyFontToAllText (resultText.getFont());
}
private:
Label desc;
TextEditor userText, resultText;
String& getLastText()
{
static String t;
return t;
}
};

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,224 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "UserAccount/jucer_LicenseController.h"
#include "jucer_MainWindow.h"
#include "../Project/Modules/jucer_Modules.h"
#include "jucer_AutoUpdater.h"
#include "../CodeEditor/jucer_SourceCodeEditor.h"
#include "../Utility/UI/jucer_ProjucerLookAndFeel.h"
//==============================================================================
class ProjucerApplication : public JUCEApplication,
private AsyncUpdater
{
public:
ProjucerApplication() = default;
static ProjucerApplication& getApp();
static ApplicationCommandManager& getCommandManager();
//==============================================================================
void initialise (const String& commandLine) override;
void shutdown() override;
void systemRequestedQuit() override;
void deleteLogger();
const String getApplicationName() override { return "Projucer"; }
const String getApplicationVersion() override { return ProjectInfo::versionString; }
String getVersionDescription() const;
bool moreThanOneInstanceAllowed() override { return true; } // this is handled manually in initialise()
void anotherInstanceStarted (const String& commandLine) override;
//==============================================================================
MenuBarModel* getMenuModel();
void getAllCommands (Array<CommandID>&) override;
void getCommandInfo (CommandID commandID, ApplicationCommandInfo&) override;
bool perform (const InvocationInfo&) override;
bool isGUIEditorEnabled() const;
//==============================================================================
void openFile (const File&, std::function<void (bool)>);
void showPathsWindow (bool highlightJUCEPath = false);
PropertiesFile::Options getPropertyFileOptionsFor (const String& filename, bool isProjectSettings);
void selectEditorColourSchemeWithName (const String& schemeName);
//==============================================================================
void rescanJUCEPathModules();
void rescanUserPathModules();
AvailableModulesList& getJUCEPathModulesList() { return jucePathModulesList; }
AvailableModulesList& getUserPathsModulesList() { return userPathsModulesList; }
LicenseController& getLicenseController() { return *licenseController; }
bool isAutomaticVersionCheckingEnabled() const;
void setAutomaticVersionCheckingEnabled (bool shouldBeEnabled);
bool shouldPromptUserAboutIncorrectJUCEPath() const;
void setShouldPromptUserAboutIncorrectJUCEPath (bool shouldPrompt);
static File getJUCEExamplesDirectoryPathFromGlobal() noexcept;
static Array<File> getSortedExampleDirectories() noexcept;
static Array<File> getSortedExampleFilesInDirectory (const File&) noexcept;
//==============================================================================
ProjucerLookAndFeel lookAndFeel;
std::unique_ptr<StoredSettings> settings;
std::unique_ptr<Icons> icons;
struct MainMenuModel;
std::unique_ptr<MainMenuModel> menuModel;
MainWindowList mainWindowList;
OpenDocumentManager openDocumentManager;
std::unique_ptr<ApplicationCommandManager> commandManager;
bool isRunningCommandLine = false;
private:
//==============================================================================
void handleAsyncUpdate() override;
void doBasicApplicationSetup();
void initCommandManager();
bool initialiseLogger (const char* filePrefix);
void initialiseWindows (const String& commandLine);
void createNewProject();
void createNewProjectFromClipboard();
void createNewPIP();
void askUserToOpenFile();
void saveAllDocuments();
void closeAllDocuments (OpenDocumentManager::SaveIfNeeded askUserToSave);
void closeAllMainWindows (std::function<void (bool)>);
void closeAllMainWindowsAndQuitIfNeeded();
void clearRecentFiles();
StringArray getMenuNames();
PopupMenu createMenu (const String& menuName);
PopupMenu createFileMenu();
PopupMenu createEditMenu();
PopupMenu createViewMenu();
void createColourSchemeItems (PopupMenu&);
PopupMenu createWindowMenu();
PopupMenu createDocumentMenu();
PopupMenu createToolsMenu();
PopupMenu createHelpMenu();
PopupMenu createExtraAppleMenuItems();
void handleMainMenuCommand (int menuItemID);
PopupMenu createExamplesPopupMenu() noexcept;
void findAndLaunchExample (int);
void checkIfGlobalJUCEPathHasChanged();
File tryToFindDemoRunnerExecutable();
File tryToFindDemoRunnerProject();
void launchDemoRunner();
void setColourScheme (int index, bool saveSetting);
void setEditorColourScheme (int index, bool saveSetting);
void updateEditorColourSchemeIfNeeded();
void showUTF8ToolWindow();
void showSVGPathDataToolWindow();
void showAboutWindow();
void showEditorColourSchemeWindow();
void showPIPCreatorWindow();
void launchForumBrowser();
void launchModulesBrowser();
void launchClassesBrowser();
void launchTutorialsBrowser();
void doLoginOrLogout();
void showLoginForm();
void enableOrDisableGUIEditor();
//==============================================================================
#if JUCE_MAC
class AppleMenuRebuildListener : private MenuBarModel::Listener
{
public:
AppleMenuRebuildListener()
{
if (auto* model = ProjucerApplication::getApp().getMenuModel())
model->addListener (this);
}
~AppleMenuRebuildListener() override
{
if (auto* model = ProjucerApplication::getApp().getMenuModel())
model->removeListener (this);
}
private:
void menuBarItemsChanged (MenuBarModel*) override {}
void menuCommandInvoked (MenuBarModel*,
const ApplicationCommandTarget::InvocationInfo& info) override
{
if (info.commandID == CommandIDs::enableNewVersionCheck)
Timer::callAfterDelay (50, [] { ProjucerApplication::getApp().rebuildAppleMenu(); });
}
};
void rebuildAppleMenu();
std::unique_ptr<AppleMenuRebuildListener> appleMenuRebuildListener;
#endif
//==============================================================================
std::unique_ptr<LicenseController> licenseController;
std::unique_ptr<TooltipWindow> tooltipWindow;
AvailableModulesList jucePathModulesList, userPathsModulesList;
std::unique_ptr<Component> utf8Window, svgPathWindow, aboutWindow, pathsWindow,
editorColourSchemeWindow, pipCreatorWindow;
std::unique_ptr<FileLogger> logger;
int numExamples = 0;
std::unique_ptr<AlertWindow> demoRunnerAlert;
bool hasScannedForDemoRunnerExecutable = false, hasScannedForDemoRunnerProject = false;
File lastJUCEPath, lastDemoRunnerExectuableFile, lastDemoRunnerProjectFile;
int selectedColourSchemeIndex = 0, selectedEditorColourSchemeIndex = 0;
std::unique_ptr<FileChooser> chooser;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjucerApplication)
JUCE_DECLARE_WEAK_REFERENCEABLE (ProjucerApplication)
};

View File

@ -0,0 +1,560 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#include "../Application/jucer_Headers.h"
#include "jucer_Application.h"
#include "jucer_AutoUpdater.h"
//==============================================================================
LatestVersionCheckerAndUpdater::LatestVersionCheckerAndUpdater()
: Thread ("VersionChecker")
{
}
LatestVersionCheckerAndUpdater::~LatestVersionCheckerAndUpdater()
{
stopThread (6000);
clearSingletonInstance();
}
void LatestVersionCheckerAndUpdater::checkForNewVersion (bool background)
{
if (! isThreadRunning())
{
backgroundCheck = background;
startThread (3);
}
}
//==============================================================================
void LatestVersionCheckerAndUpdater::run()
{
auto info = VersionInfo::fetchLatestFromUpdateServer();
if (info == nullptr)
{
if (! backgroundCheck)
AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon,
"Update Server Communication Error",
"Failed to communicate with the JUCE update server.\n"
"Please try again in a few minutes.\n\n"
"If this problem persists you can download the latest version of JUCE from juce.com");
return;
}
if (! info->isNewerVersionThanCurrent())
{
if (! backgroundCheck)
AlertWindow::showMessageBoxAsync (MessageBoxIconType::InfoIcon,
"No New Version Available",
"Your JUCE version is up to date.");
return;
}
auto osString = []
{
#if JUCE_MAC
return "osx";
#elif JUCE_WINDOWS
return "windows";
#elif JUCE_LINUX
return "linux";
#elif JUCE_BSD
return "bsd";
#else
jassertfalse;
return "Unknown";
#endif
}();
String requiredFilename ("juce-" + info->versionString + "-" + osString + ".zip");
for (auto& asset : info->assets)
{
if (asset.name == requiredFilename)
{
auto versionString = info->versionString;
auto releaseNotes = info->releaseNotes;
MessageManager::callAsync ([this, versionString, releaseNotes, asset]
{
askUserAboutNewVersion (versionString, releaseNotes, asset);
});
return;
}
}
if (! backgroundCheck)
AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon,
"Failed to find any new downloads",
"Please try again in a few minutes.");
}
//==============================================================================
class UpdateDialog : public Component
{
public:
UpdateDialog (const String& newVersion, const String& releaseNotes)
{
titleLabel.setText ("JUCE version " + newVersion, dontSendNotification);
titleLabel.setFont ({ 15.0f, Font::bold });
titleLabel.setJustificationType (Justification::centred);
addAndMakeVisible (titleLabel);
contentLabel.setText ("A new version of JUCE is available - would you like to download it?", dontSendNotification);
contentLabel.setFont (15.0f);
contentLabel.setJustificationType (Justification::topLeft);
addAndMakeVisible (contentLabel);
releaseNotesLabel.setText ("Release notes:", dontSendNotification);
releaseNotesLabel.setFont (15.0f);
releaseNotesLabel.setJustificationType (Justification::topLeft);
addAndMakeVisible (releaseNotesLabel);
releaseNotesEditor.setMultiLine (true);
releaseNotesEditor.setReadOnly (true);
releaseNotesEditor.setText (releaseNotes);
addAndMakeVisible (releaseNotesEditor);
addAndMakeVisible (chooseButton);
chooseButton.onClick = [this] { exitModalStateWithResult (1); };
addAndMakeVisible (cancelButton);
cancelButton.onClick = [this]
{
ProjucerApplication::getApp().setAutomaticVersionCheckingEnabled (! dontAskAgainButton.getToggleState());
exitModalStateWithResult (-1);
};
dontAskAgainButton.setToggleState (! ProjucerApplication::getApp().isAutomaticVersionCheckingEnabled(), dontSendNotification);
addAndMakeVisible (dontAskAgainButton);
juceIcon = Drawable::createFromImageData (BinaryData::juce_icon_png,
BinaryData::juce_icon_pngSize);
lookAndFeelChanged();
setSize (500, 280);
}
void resized() override
{
auto b = getLocalBounds().reduced (10);
auto topSlice = b.removeFromTop (juceIconBounds.getHeight())
.withTrimmedLeft (juceIconBounds.getWidth());
titleLabel.setBounds (topSlice.removeFromTop (25));
topSlice.removeFromTop (5);
contentLabel.setBounds (topSlice.removeFromTop (25));
auto buttonBounds = b.removeFromBottom (60);
buttonBounds.removeFromBottom (25);
chooseButton.setBounds (buttonBounds.removeFromLeft (buttonBounds.getWidth() / 2).reduced (20, 0));
cancelButton.setBounds (buttonBounds.reduced (20, 0));
dontAskAgainButton.setBounds (cancelButton.getBounds().withY (cancelButton.getBottom() + 5).withHeight (20));
releaseNotesEditor.setBounds (b.reduced (0, 10));
}
void paint (Graphics& g) override
{
g.fillAll (findColour (backgroundColourId));
if (juceIcon != nullptr)
juceIcon->drawWithin (g, juceIconBounds.toFloat(),
RectanglePlacement::stretchToFit, 1.0f);
}
static std::unique_ptr<DialogWindow> launchDialog (const String& newVersionString,
const String& releaseNotes)
{
DialogWindow::LaunchOptions options;
options.dialogTitle = "Download JUCE version " + newVersionString + "?";
options.resizable = false;
auto* content = new UpdateDialog (newVersionString, releaseNotes);
options.content.set (content, true);
std::unique_ptr<DialogWindow> dialog (options.create());
content->setParentWindow (dialog.get());
dialog->enterModalState (true, nullptr, true);
return dialog;
}
private:
void lookAndFeelChanged() override
{
cancelButton.setColour (TextButton::buttonColourId, findColour (secondaryButtonBackgroundColourId));
releaseNotesEditor.applyFontToAllText (releaseNotesEditor.getFont());
}
void setParentWindow (DialogWindow* parent)
{
parentWindow = parent;
}
void exitModalStateWithResult (int result)
{
if (parentWindow != nullptr)
parentWindow->exitModalState (result);
}
Label titleLabel, contentLabel, releaseNotesLabel;
TextEditor releaseNotesEditor;
TextButton chooseButton { "Choose Location..." }, cancelButton { "Cancel" };
ToggleButton dontAskAgainButton { "Don't ask again" };
std::unique_ptr<Drawable> juceIcon;
Rectangle<int> juceIconBounds { 10, 10, 64, 64 };
DialogWindow* parentWindow = nullptr;
};
void LatestVersionCheckerAndUpdater::askUserForLocationToDownload (const VersionInfo::Asset& asset)
{
chooser = std::make_unique<FileChooser> ("Please select the location into which you would like to install the new version",
File { getAppSettings().getStoredPath (Ids::jucePath, TargetOS::getThisOS()).get() });
chooser->launchAsync (FileBrowserComponent::openMode | FileBrowserComponent::canSelectDirectories,
[weakThis = WeakReference<LatestVersionCheckerAndUpdater> { this }, asset] (const FileChooser& fc)
{
auto targetFolder = fc.getResult();
if (targetFolder == File{})
return;
// By default we will install into 'targetFolder/JUCE', but we should install into
// 'targetFolder' if that is an existing JUCE directory.
bool willOverwriteJuceFolder = [&targetFolder]
{
if (isJUCEFolder (targetFolder))
return true;
targetFolder = targetFolder.getChildFile ("JUCE");
return isJUCEFolder (targetFolder);
}();
auto targetFolderPath = targetFolder.getFullPathName();
const auto onResult = [weakThis, asset, targetFolder] (int result)
{
if (weakThis == nullptr || result == 0)
return;
weakThis->downloadAndInstall (asset, targetFolder);
};
if (willOverwriteJuceFolder)
{
if (targetFolder.getChildFile (".git").isDirectory())
{
AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon, "Downloading New JUCE Version",
targetFolderPath + "\n\nis a GIT repository!\n\nYou should use a \"git pull\" to update it to the latest version.");
return;
}
AlertWindow::showOkCancelBox (MessageBoxIconType::WarningIcon,
"Overwrite Existing JUCE Folder?",
"Do you want to replace the folder\n\n" + targetFolderPath + "\n\nwith the latest version from juce.com?\n\n"
"This will move the existing folder to " + targetFolderPath + "_old.\n\n"
"Replacing the folder that contains the currently running Projucer executable may not work on Windows.",
{},
{},
nullptr,
ModalCallbackFunction::create (onResult));
return;
}
if (targetFolder.exists())
{
AlertWindow::showOkCancelBox (MessageBoxIconType::WarningIcon,
"Existing File Or Directory",
"Do you want to move\n\n" + targetFolderPath + "\n\nto\n\n" + targetFolderPath + "_old?",
{},
{},
nullptr,
ModalCallbackFunction::create (onResult));
return;
}
if (weakThis != nullptr)
weakThis->downloadAndInstall (asset, targetFolder);
});
}
void LatestVersionCheckerAndUpdater::askUserAboutNewVersion (const String& newVersionString,
const String& releaseNotes,
const VersionInfo::Asset& asset)
{
if (backgroundCheck)
addNotificationToOpenProjects (asset);
else
showDialogWindow (newVersionString, releaseNotes, asset);
}
void LatestVersionCheckerAndUpdater::showDialogWindow (const String& newVersionString,
const String& releaseNotes,
const VersionInfo::Asset& asset)
{
dialogWindow = UpdateDialog::launchDialog (newVersionString, releaseNotes);
if (auto* mm = ModalComponentManager::getInstance())
{
mm->attachCallback (dialogWindow.get(),
ModalCallbackFunction::create ([this, asset] (int result)
{
if (result == 1)
askUserForLocationToDownload (asset);
dialogWindow.reset();
}));
}
}
void LatestVersionCheckerAndUpdater::addNotificationToOpenProjects (const VersionInfo::Asset& asset)
{
for (auto* window : ProjucerApplication::getApp().mainWindowList.windows)
{
if (auto* project = window->getProject())
{
auto ignore = [safeWindow = Component::SafePointer<MainWindow> { window }]
{
if (safeWindow != nullptr)
safeWindow->getProject()->removeProjectMessage (ProjectMessages::Ids::newVersionAvailable);
};
auto dontAskAgain = [ignore]
{
ignore();
ProjucerApplication::getApp().setAutomaticVersionCheckingEnabled (false);
};
project->addProjectMessage (ProjectMessages::Ids::newVersionAvailable,
{ { "Download", [this, asset] { askUserForLocationToDownload (asset); } },
{ "Ignore", std::move (ignore) },
{ "Don't ask again", std::move (dontAskAgain) } });
}
}
}
//==============================================================================
class DownloadAndInstallThread : private ThreadWithProgressWindow
{
public:
DownloadAndInstallThread (const VersionInfo::Asset& a, const File& t, std::function<void()>&& cb)
: ThreadWithProgressWindow ("Downloading New Version", true, true),
asset (a), targetFolder (t), completionCallback (std::move (cb))
{
launchThread (3);
}
private:
void run() override
{
setProgress (-1.0);
MemoryBlock zipData;
auto result = download (zipData);
if (result.wasOk() && ! threadShouldExit())
result = install (zipData);
if (result.failed())
MessageManager::callAsync ([result] { AlertWindow::showMessageBoxAsync (MessageBoxIconType::WarningIcon,
"Installation Failed",
result.getErrorMessage()); });
else
MessageManager::callAsync (completionCallback);
}
Result download (MemoryBlock& dest)
{
setStatusMessage ("Downloading...");
int statusCode = 0;
auto inStream = VersionInfo::createInputStreamForAsset (asset, statusCode);
if (inStream != nullptr && statusCode == 200)
{
int64 total = 0;
MemoryOutputStream mo (dest, true);
for (;;)
{
if (threadShouldExit())
return Result::fail ("Cancelled");
auto written = mo.writeFromInputStream (*inStream, 8192);
if (written == 0)
break;
total += written;
setStatusMessage ("Downloading... " + File::descriptionOfSizeInBytes (total));
}
return Result::ok();
}
return Result::fail ("Failed to download from: " + asset.url);
}
Result install (const MemoryBlock& data)
{
setStatusMessage ("Installing...");
MemoryInputStream input (data, false);
ZipFile zip (input);
if (zip.getNumEntries() == 0)
return Result::fail ("The downloaded file was not a valid JUCE file!");
struct ScopedDownloadFolder
{
explicit ScopedDownloadFolder (const File& installTargetFolder)
{
folder = installTargetFolder.getSiblingFile (installTargetFolder.getFileNameWithoutExtension() + "_download").getNonexistentSibling();
jassert (folder.createDirectory());
}
~ScopedDownloadFolder() { folder.deleteRecursively(); }
File folder;
};
ScopedDownloadFolder unzipTarget (targetFolder);
if (! unzipTarget.folder.isDirectory())
return Result::fail ("Couldn't create a temporary folder to unzip the new version!");
auto r = zip.uncompressTo (unzipTarget.folder);
if (r.failed())
return r;
if (threadShouldExit())
return Result::fail ("Cancelled");
#if JUCE_LINUX || JUCE_BSD || JUCE_MAC
r = setFilePermissions (unzipTarget.folder, zip);
if (r.failed())
return r;
if (threadShouldExit())
return Result::fail ("Cancelled");
#endif
if (targetFolder.exists())
{
auto oldFolder = targetFolder.getSiblingFile (targetFolder.getFileNameWithoutExtension() + "_old").getNonexistentSibling();
if (! targetFolder.moveFileTo (oldFolder))
return Result::fail ("Could not remove the existing folder!\n\n"
"This may happen if you are trying to download into a directory that requires administrator privileges to modify.\n"
"Please select a folder that is writable by the current user.");
}
if (! unzipTarget.folder.getChildFile ("JUCE").moveFileTo (targetFolder))
return Result::fail ("Could not overwrite the existing folder!\n\n"
"This may happen if you are trying to download into a directory that requires administrator privileges to modify.\n"
"Please select a folder that is writable by the current user.");
return Result::ok();
}
Result setFilePermissions (const File& root, const ZipFile& zip)
{
constexpr uint32 executableFlag = (1 << 22);
for (int i = 0; i < zip.getNumEntries(); ++i)
{
auto* entry = zip.getEntry (i);
if ((entry->externalFileAttributes & executableFlag) != 0 && entry->filename.getLastCharacter() != '/')
{
auto exeFile = root.getChildFile (entry->filename);
if (! exeFile.exists())
return Result::fail ("Failed to find executable file when setting permissions " + exeFile.getFileName());
if (! exeFile.setExecutePermission (true))
return Result::fail ("Failed to set executable file permission for " + exeFile.getFileName());
}
}
return Result::ok();
}
VersionInfo::Asset asset;
File targetFolder;
std::function<void()> completionCallback;
};
static void restartProcess (const File& targetFolder)
{
#if JUCE_MAC || JUCE_LINUX || JUCE_BSD
#if JUCE_MAC
auto newProcess = targetFolder.getChildFile ("Projucer.app").getChildFile ("Contents").getChildFile ("MacOS").getChildFile ("Projucer");
#elif JUCE_LINUX || JUCE_BSD
auto newProcess = targetFolder.getChildFile ("Projucer");
#endif
StringArray command ("/bin/sh", "-c", "while killall -0 Projucer; do sleep 5; done; " + newProcess.getFullPathName().quoted());
#elif JUCE_WINDOWS
auto newProcess = targetFolder.getChildFile ("Projucer.exe");
auto command = "cmd.exe /c\"@echo off & for /l %a in (0) do ( tasklist | find \"Projucer\" >nul & ( if errorlevel 1 ( "
+ targetFolder.getChildFile ("Projucer.exe").getFullPathName().quoted() + " & exit /b ) else ( timeout /t 10 >nul ) ) )\"";
#endif
if (newProcess.existsAsFile())
{
ChildProcess restartProcess;
restartProcess.start (command, 0);
ProjucerApplication::getApp().systemRequestedQuit();
}
}
void LatestVersionCheckerAndUpdater::downloadAndInstall (const VersionInfo::Asset& asset, const File& targetFolder)
{
installer.reset (new DownloadAndInstallThread (asset, targetFolder,
[this, targetFolder]
{
installer.reset();
restartProcess (targetFolder);
}));
}
//==============================================================================
JUCE_IMPLEMENT_SINGLETON (LatestVersionCheckerAndUpdater)

View File

@ -0,0 +1,62 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../Utility/Helpers/jucer_VersionInfo.h"
class DownloadAndInstallThread;
class LatestVersionCheckerAndUpdater : public DeletedAtShutdown,
private Thread
{
public:
LatestVersionCheckerAndUpdater();
~LatestVersionCheckerAndUpdater() override;
void checkForNewVersion (bool isBackgroundCheck);
//==============================================================================
JUCE_DECLARE_SINGLETON_SINGLETHREADED_MINIMAL (LatestVersionCheckerAndUpdater)
private:
//==============================================================================
void run() override;
void askUserAboutNewVersion (const String&, const String&, const VersionInfo::Asset&);
void askUserForLocationToDownload (const VersionInfo::Asset&);
void downloadAndInstall (const VersionInfo::Asset&, const File&);
void showDialogWindow (const String&, const String&, const VersionInfo::Asset&);
void addNotificationToOpenProjects (const VersionInfo::Asset&);
//==============================================================================
bool backgroundCheck = false;
std::unique_ptr<DownloadAndInstallThread> installer;
std::unique_ptr<Component> dialogWindow;
std::unique_ptr<FileChooser> chooser;
JUCE_DECLARE_WEAK_REFERENCEABLE (LatestVersionCheckerAndUpdater)
};

View File

@ -0,0 +1,108 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
/**
A namespace to hold all the possible command IDs.
*/
namespace CommandIDs
{
enum
{
newProject = 0x300000,
newProjectFromClipboard = 0x300001,
newPIP = 0x300002,
open = 0x300003,
closeDocument = 0x300004,
saveDocument = 0x300005,
saveDocumentAs = 0x300006,
launchDemoRunner = 0x300007,
closeProject = 0x300010,
saveProject = 0x300011,
saveAll = 0x300012,
openInIDE = 0x300013,
saveAndOpenInIDE = 0x300014,
createNewExporter = 0x300015,
showUTF8Tool = 0x300020,
showGlobalPathsWindow = 0x300021,
showTranslationTool = 0x300022,
showSVGPathTool = 0x300023,
showAboutWindow = 0x300024,
checkForNewVersion = 0x300025,
enableNewVersionCheck = 0x300026,
enableGUIEditor = 0x300027,
showProjectSettings = 0x300030,
showFileExplorerPanel = 0x300033,
showModulesPanel = 0x300034,
showExportersPanel = 0x300035,
showExporterSettings = 0x300036,
closeWindow = 0x300040,
closeAllWindows = 0x300041,
closeAllDocuments = 0x300042,
goToPreviousDoc = 0x300043,
goToNextDoc = 0x300044,
goToCounterpart = 0x300045,
deleteSelectedItem = 0x300046,
goToPreviousWindow = 0x300047,
goToNextWindow = 0x300048,
clearRecentFiles = 0x300049,
showFindPanel = 0x300050,
findSelection = 0x300051,
findNext = 0x300052,
findPrevious = 0x300053,
enableSnapToGrid = 0x300070,
zoomIn = 0x300071,
zoomOut = 0x300072,
zoomNormal = 0x300073,
spaceBarDrag = 0x300074,
loginLogout = 0x300090,
showForum = 0x300100,
showAPIModules = 0x300101,
showAPIClasses = 0x300102,
showTutorials = 0x300103,
addNewGUIFile = 0x300200,
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";
}

View File

@ -0,0 +1,933 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#include "jucer_Headers.h"
#include "jucer_Application.h"
#include "../Utility/Helpers/jucer_TranslationHelpers.h"
#include "jucer_CommandLine.h"
//==============================================================================
const char* preferredLineFeed = "\r\n";
const char* getPreferredLineFeed() { return preferredLineFeed; }
//==============================================================================
namespace
{
static void hideDockIcon()
{
#if JUCE_MAC
Process::setDockIconVisible (false);
#endif
}
static Array<File> findAllSourceFiles (const File& folder)
{
Array<File> files;
for (const auto& di : RangedDirectoryIterator (folder, true, "*.cpp;*.cxx;*.cc;*.c;*.h;*.hpp;*.hxx;*.hpp;*.mm;*.m;*.java;*.dox;*.soul;*.js", File::findFiles))
if (! di.getFile().isSymbolicLink())
files.add (di.getFile());
return files;
}
static void replaceFile (const File& file, const String& newText, const String& message)
{
std::cout << message << file.getFullPathName() << std::endl;
TemporaryFile temp (file);
if (! temp.getFile().replaceWithText (newText, false, false, nullptr))
ConsoleApplication::fail ("!!! ERROR Couldn't write to temp file!");
if (! temp.overwriteTargetFileWithTemporary())
ConsoleApplication::fail ("!!! ERROR Couldn't write to file!");
}
//==============================================================================
struct LoadedProject
{
explicit LoadedProject (const ArgumentList::Argument& fileToLoad)
{
hideDockIcon();
auto projectFile = fileToLoad.resolveAsExistingFile();
if (! projectFile.hasFileExtension (Project::projectFileExtension))
ConsoleApplication::fail (projectFile.getFullPathName() + " isn't a valid jucer project file!");
project.reset (new Project (projectFile));
if (! project->loadFrom (projectFile, true, false))
{
project.reset();
ConsoleApplication::fail ("Failed to load the project file: " + projectFile.getFullPathName());
}
preferredLineFeed = project->getProjectLineFeed().toRawUTF8();
}
void save (bool justSaveResources, bool fixMissingDependencies)
{
if (project != nullptr)
{
if (! justSaveResources)
rescanModulePathsIfNecessary();
if (fixMissingDependencies)
tryToFixMissingModuleDependencies();
const auto onCompletion = [this] (Result result)
{
project.reset();
if (result.failed())
ConsoleApplication::fail ("Error when saving: " + result.getErrorMessage());
};
if (justSaveResources)
onCompletion (project->saveResourcesOnly());
else
project->saveProject (Async::no, nullptr, onCompletion);
}
}
void rescanModulePathsIfNecessary()
{
bool scanJUCEPath = false, scanUserPaths = false;
const auto& modules = project->getEnabledModules();
for (auto i = modules.getNumModules(); --i >= 0;)
{
const auto& id = modules.getModuleID (i);
if (isJUCEModule (id) && ! scanJUCEPath)
{
if (modules.shouldUseGlobalPath (id))
scanJUCEPath = true;
}
else if (! scanUserPaths)
{
if (modules.shouldUseGlobalPath (id))
scanUserPaths = true;
}
}
if (scanJUCEPath)
ProjucerApplication::getApp().rescanJUCEPathModules();
if (scanUserPaths)
ProjucerApplication::getApp().rescanUserPathModules();
}
void tryToFixMissingModuleDependencies()
{
auto& modules = project->getEnabledModules();
for (const auto& m : modules.getModulesWithMissingDependencies())
modules.tryToFixMissingDependencies (m);
}
std::unique_ptr<Project> project;
};
//==============================================================================
/* Running a command-line of the form "projucer --resave foobar.jucer" will try to load
that project and re-export all of its targets.
*/
static void resaveProject (const ArgumentList& args, bool justSaveResources)
{
args.checkMinNumArguments (2);
LoadedProject proj (args[1]);
std::cout << (justSaveResources ? "Re-saving project resources: "
: "Re-saving file: ")
<< proj.project->getFile().getFullPathName() << std::endl;
proj.save (justSaveResources, args.containsOption ("--fix-missing-dependencies"));
}
//==============================================================================
static void getVersion (const ArgumentList& args)
{
args.checkMinNumArguments (2);
LoadedProject proj (args[1]);
std::cout << proj.project->getVersionString() << std::endl;
}
//==============================================================================
static void setVersion (const ArgumentList& args)
{
args.checkMinNumArguments (2);
LoadedProject proj (args[2]);
String version (args[1].text.trim());
std::cout << "Setting project version: " << version << std::endl;
proj.project->setProjectVersion (version);
proj.save (false, false);
}
//==============================================================================
static void bumpVersion (const ArgumentList& args)
{
args.checkMinNumArguments (2);
LoadedProject proj (args[1]);
String version = proj.project->getVersionString();
version = version.upToLastOccurrenceOf (".", true, false)
+ String (version.getTrailingIntValue() + 1);
std::cout << "Bumping project version to: " << version << std::endl;
proj.project->setProjectVersion (version);
proj.save (false, false);
}
static void gitTag (const ArgumentList& args)
{
args.checkMinNumArguments (2);
LoadedProject proj (args[1]);
String version (proj.project->getVersionString());
if (version.trim().isEmpty())
ConsoleApplication::fail ("Cannot read version number from project!");
StringArray command;
command.add ("git");
command.add ("tag");
command.add ("-a");
command.add (version);
command.add ("-m");
command.add (version.quoted());
std::cout << "Performing command: " << command.joinIntoString(" ") << std::endl;
ChildProcess c;
if (! c.start (command, 0))
ConsoleApplication::fail ("Cannot run git!");
c.waitForProcessToFinish (10000);
if (c.getExitCode() != 0)
ConsoleApplication::fail ("git command failed!");
}
//==============================================================================
static void showStatus (const ArgumentList& args)
{
args.checkMinNumArguments (2);
LoadedProject proj (args[1]);
std::cout << "Project file: " << proj.project->getFile().getFullPathName() << std::endl
<< "Name: " << proj.project->getProjectNameString() << std::endl
<< "UID: " << proj.project->getProjectUIDString() << std::endl;
auto& modules = proj.project->getEnabledModules();
if (int numModules = modules.getNumModules())
{
std::cout << "Modules:" << std::endl;
for (int i = 0; i < numModules; ++i)
std::cout << " " << modules.getModuleID (i) << std::endl;
}
}
//==============================================================================
static String getModulePackageName (const LibraryModule& module)
{
return module.getID() + ".jucemodule";
}
static void zipModule (const File& targetFolder, const File& moduleFolder)
{
jassert (targetFolder.isDirectory());
auto moduleFolderParent = moduleFolder.getParentDirectory();
LibraryModule module (moduleFolder);
if (! module.isValid())
ConsoleApplication::fail (moduleFolder.getFullPathName() + " is not a valid module folder!");
auto targetFile = targetFolder.getChildFile (getModulePackageName (module));
ZipFile::Builder zip;
{
for (const auto& i : RangedDirectoryIterator (moduleFolder, true, "*", File::findFiles))
if (! i.getFile().isHidden())
zip.addFile (i.getFile(), 9, i.getFile().getRelativePathFrom (moduleFolderParent));
}
std::cout << "Writing: " << targetFile.getFullPathName() << std::endl;
TemporaryFile temp (targetFile);
{
FileOutputStream out (temp.getFile());
if (! (out.openedOk() && zip.writeToStream (out, nullptr)))
ConsoleApplication::fail ("Failed to write to the target file: " + targetFile.getFullPathName());
}
if (! temp.overwriteTargetFileWithTemporary())
ConsoleApplication::fail ("Failed to write to the target file: " + targetFile.getFullPathName());
}
static void buildModules (const ArgumentList& args, const bool buildAllWithIndex)
{
hideDockIcon();
args.checkMinNumArguments (3);
auto targetFolder = args[1].resolveAsFile();
if (! targetFolder.isDirectory())
ConsoleApplication::fail ("The first argument must be the directory to put the result.");
if (buildAllWithIndex)
{
auto folderToSearch = args[2].resolveAsFile();
var infoList;
for (const auto& i : RangedDirectoryIterator (folderToSearch, false, "*", File::findDirectories))
{
LibraryModule module (i.getFile());
if (module.isValid())
{
zipModule (targetFolder, i.getFile());
var moduleInfo (new DynamicObject());
moduleInfo.getDynamicObject()->setProperty ("file", getModulePackageName (module));
moduleInfo.getDynamicObject()->setProperty ("info", module.moduleInfo.getModuleInfo());
infoList.append (moduleInfo);
}
}
auto indexFile = targetFolder.getChildFile ("modulelist");
std::cout << "Writing: " << indexFile.getFullPathName() << std::endl;
indexFile.replaceWithText (JSON::toString (infoList), false, false);
}
else
{
for (int i = 2; i < args.size(); ++i)
zipModule (targetFolder, args[i].resolveAsFile());
}
}
//==============================================================================
struct CleanupOptions
{
bool removeTabs;
bool fixDividerComments;
};
static void cleanWhitespace (const File& file, CleanupOptions options)
{
auto content = file.loadFileAsString();
auto isProjucerTemplateFile = [file, content]
{
return file.getFullPathName().contains ("Templates")
&& content.contains ("%""%") && content.contains ("//[");
}();
if (isProjucerTemplateFile)
return;
StringArray lines;
lines.addLines (content);
bool anyTabsRemoved = false;
for (int i = 0; i < lines.size(); ++i)
{
String& line = lines.getReference (i);
if (options.removeTabs && line.containsChar ('\t'))
{
anyTabsRemoved = true;
for (;;)
{
const int tabPos = line.indexOfChar ('\t');
if (tabPos < 0)
break;
const int spacesPerTab = 4;
const int spacesNeeded = spacesPerTab - (tabPos % spacesPerTab);
line = line.replaceSection (tabPos, 1, String::repeatedString (" ", spacesNeeded));
}
}
if (options.fixDividerComments)
{
auto afterIndent = line.trim();
if (afterIndent.startsWith ("//") && afterIndent.length() > 20)
{
afterIndent = afterIndent.substring (2);
if (afterIndent.containsOnly ("=")
|| afterIndent.containsOnly ("/")
|| afterIndent.containsOnly ("-"))
{
line = line.substring (0, line.indexOfChar ('/'))
+ "//" + String::repeatedString ("=", 78);
}
}
}
line = line.trimEnd();
}
if (options.removeTabs && ! anyTabsRemoved)
return;
auto newText = joinLinesIntoSourceFile (lines);
if (newText != content && newText != content + getPreferredLineFeed())
replaceFile (file, newText, options.removeTabs ? "Removing tabs in: "
: "Cleaning file: ");
}
static void scanFilesForCleanup (const ArgumentList& args, CleanupOptions options)
{
args.checkMinNumArguments (2);
for (auto it = args.arguments.begin() + 1; it < args.arguments.end(); ++it)
{
auto target = it->resolveAsFile();
Array<File> files;
if (target.isDirectory())
files = findAllSourceFiles (target);
else
files.add (target);
for (int i = 0; i < files.size(); ++i)
cleanWhitespace (files.getReference (i), options);
}
}
static void cleanWhitespace (const ArgumentList& args, bool replaceTabs)
{
CleanupOptions options = { replaceTabs, false };
scanFilesForCleanup (args, options);
}
static void tidyDividerComments (const ArgumentList& args)
{
CleanupOptions options = { false, true };
scanFilesForCleanup (args, options);
}
//==============================================================================
static File findSimilarlyNamedHeader (const Array<File>& allFiles, const String& name, const File& sourceFile)
{
File result;
for (auto& f : allFiles)
{
if (f.getFileName().equalsIgnoreCase (name) && f != sourceFile)
{
if (result.exists())
return {}; // multiple possible results, so don't change it!
result = f;
}
}
return result;
}
static void fixIncludes (const File& file, const Array<File>& allFiles)
{
const String content (file.loadFileAsString());
StringArray lines;
lines.addLines (content);
bool hasChanged = false;
for (auto& line : lines)
{
if (line.trimStart().startsWith ("#include \""))
{
auto includedFile = line.fromFirstOccurrenceOf ("\"", true, false)
.upToLastOccurrenceOf ("\"", true, false)
.trim()
.unquoted();
auto target = file.getSiblingFile (includedFile);
if (! target.exists())
{
auto header = findSimilarlyNamedHeader (allFiles, target.getFileName(), file);
if (header.exists())
{
line = line.upToFirstOccurrenceOf ("#include \"", true, false)
+ header.getRelativePathFrom (file.getParentDirectory())
.replaceCharacter ('\\', '/')
+ "\"";
hasChanged = true;
}
}
}
}
if (hasChanged)
{
auto newText = joinLinesIntoSourceFile (lines);
if (newText != content && newText != content + getPreferredLineFeed())
replaceFile (file, newText, "Fixing includes in: ");
}
}
static void fixRelativeIncludePaths (const ArgumentList& args)
{
args.checkMinNumArguments (2);
auto target = args[1].resolveAsExistingFolder();
auto files = findAllSourceFiles (target);
for (int i = 0; i < files.size(); ++i)
fixIncludes (files.getReference(i), files);
}
//==============================================================================
static String getStringConcatenationExpression (Random& rng, int start, int length)
{
jassert (length > 0);
if (length == 1)
return "s" + String (start);
int breakPos = jlimit (1, length - 1, (length / 3) + rng.nextInt (jmax (1, length / 3)));
return "(" + getStringConcatenationExpression (rng, start, breakPos)
+ " + " + getStringConcatenationExpression (rng, start + breakPos, length - breakPos) + ")";
}
static void generateObfuscatedStringCode (const ArgumentList& args)
{
args.checkMinNumArguments (2);
auto originalText = args[1].text.unquoted();
struct Section
{
String text;
int position, index;
void writeGenerator (MemoryOutputStream& out) const
{
String name ("s" + String (index));
out << " String " << name << "; " << name;
auto escapeIfSingleQuote = [] (const String& s) -> String
{
if (s == "\'")
return "\\'";
return s;
};
for (int i = 0; i < text.length(); ++i)
out << " << '" << escapeIfSingleQuote (String::charToString (text[i])) << "'";
out << ";" << preferredLineFeed;
}
};
Array<Section> sections;
String text = originalText;
Random rng;
while (text.isNotEmpty())
{
int pos = jmax (0, text.length() - (1 + rng.nextInt (6)));
Section s = { text.substring (pos), pos, 0 };
sections.insert (0, s);
text = text.substring (0, pos);
}
for (int i = 0; i < sections.size(); ++i)
sections.getReference(i).index = i;
for (int i = 0; i < sections.size(); ++i)
sections.swap (i, rng.nextInt (sections.size()));
MemoryOutputStream out;
out << "String createString()" << preferredLineFeed
<< "{" << preferredLineFeed;
for (int i = 0; i < sections.size(); ++i)
sections.getReference(i).writeGenerator (out);
out << preferredLineFeed
<< " String result = " << getStringConcatenationExpression (rng, 0, sections.size()) << ";" << preferredLineFeed
<< preferredLineFeed
<< " jassert (result == " << originalText.quoted() << ");" << preferredLineFeed
<< " return result;" << preferredLineFeed
<< "}" << preferredLineFeed;
std::cout << out.toString() << std::endl;
}
static void scanFoldersForTranslationFiles (const ArgumentList& args)
{
args.checkMinNumArguments (2);
StringArray translations;
for (auto it = args.arguments.begin() + 1; it != args.arguments.end(); ++it)
{
auto directoryToSearch = it->resolveAsExistingFolder();
TranslationHelpers::scanFolderForTranslations (translations, directoryToSearch);
}
std::cout << TranslationHelpers::mungeStrings (translations) << std::endl;
}
static void createFinishedTranslationFile (const ArgumentList& args)
{
args.checkMinNumArguments (3);
auto preTranslated = args[1].resolveAsExistingFile().loadFileAsString();
auto postTranslated = args[2].resolveAsExistingFile().loadFileAsString();
auto localisedContent = (args.size() > 3 ? args[3].resolveAsExistingFile().loadFileAsString() : String());
auto localised = LocalisedStrings (localisedContent, false);
using TH = TranslationHelpers;
std::cout << TH::createFinishedTranslationFile (TH::withTrimmedEnds (TH::breakApart (preTranslated)),
TH::withTrimmedEnds (TH::breakApart (postTranslated)),
localised) << std::endl;
}
//==============================================================================
static void encodeBinary (const ArgumentList& args)
{
args.checkMinNumArguments (3);
auto source = args[1].resolveAsExistingFile();
auto target = args[2].resolveAsExistingFile();
MemoryOutputStream literal;
size_t dataSize = 0;
{
MemoryBlock data;
FileInputStream input (source);
input.readIntoMemoryBlock (data);
build_tools::writeDataAsCppLiteral (data, literal, true, true);
dataSize = data.getSize();
}
auto variableName = build_tools::makeBinaryDataIdentifierName (source);
MemoryOutputStream header, cpp;
header << "// Auto-generated binary data by the Projucer" << preferredLineFeed
<< "// Source file: " << source.getRelativePathFrom (target.getParentDirectory()) << preferredLineFeed
<< preferredLineFeed;
cpp << header.toString();
if (target.hasFileExtension (headerFileExtensions))
{
header << "static constexpr unsigned char " << variableName << "[] =" << preferredLineFeed
<< literal.toString() << preferredLineFeed
<< preferredLineFeed;
replaceFile (target, header.toString(), "Writing: ");
}
else if (target.hasFileExtension (cppFileExtensions))
{
header << "extern const char* " << variableName << ";" << preferredLineFeed
<< "const unsigned int " << variableName << "Size = " << (int) dataSize << ";" << preferredLineFeed
<< preferredLineFeed;
cpp << CodeHelpers::createIncludeStatement (target.withFileExtension (".h").getFileName()) << preferredLineFeed
<< preferredLineFeed
<< "static constexpr unsigned char " << variableName << "_local[] =" << preferredLineFeed
<< literal.toString() << preferredLineFeed
<< preferredLineFeed
<< "const char* " << variableName << " = (const char*) " << variableName << "_local;" << preferredLineFeed;
replaceFile (target, cpp.toString(), "Writing: ");
replaceFile (target.withFileExtension (".h"), header.toString(), "Writing: ");
}
else
{
ConsoleApplication::fail ("You need to specify a .h or .cpp file as the target");
}
}
//==============================================================================
static bool isThisOS (const String& os)
{
auto targetOS = TargetOS::unknown;
if (os == "osx") targetOS = TargetOS::osx;
else if (os == "windows") targetOS = TargetOS::windows;
else if (os == "linux") targetOS = TargetOS::linux;
if (targetOS == TargetOS::unknown)
ConsoleApplication::fail ("You need to specify a valid OS! Use osx, windows or linux");
return targetOS == TargetOS::getThisOS();
}
static bool isValidPathIdentifier (const String& id, const String& os)
{
return id == "vstLegacyPath" || (id == "aaxPath" && os != "linux") || (id == "rtasPath" && os != "linux")
|| id == "androidSDKPath" || id == "defaultJuceModulePath" || id == "defaultUserModulePath";
}
static void setGlobalPath (const ArgumentList& args)
{
args.checkMinNumArguments (3);
if (! isValidPathIdentifier (args[2].text, args[1].text))
ConsoleApplication::fail ("Identifier " + args[2].text + " is not valid for the OS " + args[1].text);
auto userAppData = File::getSpecialLocation (File::userApplicationDataDirectory);
#if JUCE_MAC
userAppData = userAppData.getChildFile ("Application Support");
#endif
auto settingsFile = userAppData.getChildFile ("Projucer").getChildFile ("Projucer.settings");
auto xml = parseXML (settingsFile);
if (xml == nullptr)
ConsoleApplication::fail ("Settings file not valid!");
auto settingsTree = ValueTree::fromXml (*xml);
if (! settingsTree.isValid())
ConsoleApplication::fail ("Settings file not valid!");
ValueTree childToSet;
if (isThisOS (args[1].text))
{
childToSet = settingsTree.getChildWithProperty (Ids::name, "PROJECT_DEFAULT_SETTINGS")
.getOrCreateChildWithName ("PROJECT_DEFAULT_SETTINGS", nullptr);
}
else
{
childToSet = settingsTree.getChildWithProperty (Ids::name, "FALLBACK_PATHS")
.getOrCreateChildWithName ("FALLBACK_PATHS", nullptr)
.getOrCreateChildWithName (args[1].text + "Fallback", nullptr);
}
if (! childToSet.isValid())
ConsoleApplication::fail ("Failed to set the requested setting!");
childToSet.setProperty (args[2].text, args[3].resolveAsFile().getFullPathName(), nullptr);
settingsFile.replaceWithText (settingsTree.toXmlString());
}
static void createProjectFromPIP (const ArgumentList& args)
{
args.checkMinNumArguments (3);
auto pipFile = args[1].resolveAsFile();
if (! pipFile.existsAsFile())
ConsoleApplication::fail ("PIP file doesn't exist.");
auto outputDir = args[2].resolveAsFile();
if (! outputDir.exists())
{
auto res = outputDir.createDirectory();
std::cout << "Creating directory " << outputDir.getFullPathName() << std::endl;
}
File juceModulesPath, userModulesPath;
if (args.size() > 3)
{
juceModulesPath = args[3].resolveAsFile();
if (! juceModulesPath.exists())
ConsoleApplication::fail ("Specified JUCE modules directory doesn't exist.");
if (args.size() == 5)
{
userModulesPath = args[4].resolveAsFile();
if (! userModulesPath.exists())
ConsoleApplication::fail ("Specified JUCE modules directory doesn't exist.");
}
}
PIPGenerator generator (pipFile, outputDir, juceModulesPath, userModulesPath);
auto createJucerFileResult = generator.createJucerFile();
if (! createJucerFileResult)
ConsoleApplication::fail (createJucerFileResult.getErrorMessage());
auto createMainCppResult = generator.createMainCpp();
if (! createMainCppResult)
ConsoleApplication::fail (createMainCppResult.getErrorMessage());
}
//==============================================================================
static void showHelp()
{
hideDockIcon();
auto appName = JUCEApplication::getInstance()->getApplicationName();
std::cout << appName << std::endl
<< std::endl
<< "Usage: " << std::endl
<< std::endl
<< " " << appName << " --resave project_file" << std::endl
<< " Resaves all files and resources in a project. Add the \"--fix-missing-dependencies\" option to automatically fix any missing module dependencies." << std::endl
<< std::endl
<< " " << appName << " --resave-resources project_file" << std::endl
<< " Resaves just the binary resources for a project." << std::endl
<< std::endl
<< " " << appName << " --get-version project_file" << std::endl
<< " Returns the version number of a project." << std::endl
<< std::endl
<< " " << appName << " --set-version version_number project_file" << std::endl
<< " Updates the version number in a project." << std::endl
<< std::endl
<< " " << appName << " --bump-version project_file" << std::endl
<< " Updates the minor version number in a project by 1." << std::endl
<< std::endl
<< " " << appName << " --git-tag-version project_file" << std::endl
<< " Invokes 'git tag' to attach the project's version number to the current git repository." << std::endl
<< std::endl
<< " " << appName << " --status project_file" << std::endl
<< " Displays information about a project." << std::endl
<< std::endl
<< " " << appName << " --buildmodule target_folder module_folder" << std::endl
<< " Zips a module into a downloadable file format." << std::endl
<< std::endl
<< " " << appName << " --buildallmodules target_folder module_folder" << std::endl
<< " Zips all modules in a given folder and creates an index for them." << std::endl
<< std::endl
<< " " << appName << " --trim-whitespace target_folder" << std::endl
<< " Scans the given folder for C/C++ source files (recursively), and trims any trailing whitespace from their lines, as well as normalising their line-endings to CR-LF." << std::endl
<< std::endl
<< " " << appName << " --remove-tabs target_folder" << std::endl
<< " Scans the given folder for C/C++ source files (recursively), and replaces any tab characters with 4 spaces." << std::endl
<< std::endl
<< " " << appName << " --tidy-divider-comments target_folder" << std::endl
<< " Scans the given folder for C/C++ source files (recursively), and normalises any juce-style comment division lines (i.e. any lines that look like //===== or //------- or /////////// will be replaced)." << std::endl
<< std::endl
<< " " << appName << " --fix-broken-include-paths target_folder" << std::endl
<< " Scans the given folder for C/C++ source files (recursively). Where a file contains an #include of one of the other filenames, it changes it to use the optimum relative path. Helpful for auto-fixing includes when re-arranging files and folders in a project." << std::endl
<< std::endl
<< " " << appName << " --obfuscated-string-code string_to_obfuscate" << std::endl
<< " Generates a C++ function which returns the given string, but in an obfuscated way." << std::endl
<< std::endl
<< " " << appName << " --encode-binary source_binary_file target_cpp_file" << std::endl
<< " Converts a binary file to a C++ file containing its contents as a block of data. Provide a .h file as the target if you want a single output file, or a .cpp file if you want a pair of .h/.cpp files." << std::endl
<< std::endl
<< " " << appName << " --trans target_folders..." << std::endl
<< " Scans each of the given folders (recursively) for any NEEDS_TRANS macros, and generates a translation file that can be used with Projucer's translation file builder" << std::endl
<< std::endl
<< " " << appName << " --trans-finish pre_translated_file post_translated_file optional_existing_translation_file" << std::endl
<< " Creates a completed translations mapping file, that can be used to initialise a LocalisedStrings object. This allows you to localise the strings in your project" << std::endl
<< std::endl
<< " " << appName << " --set-global-search-path os identifier_to_set new_path" << std::endl
<< " Sets the global path for a specified os and identifier. The os should be either osx, windows or linux and the identifiers can be any of the following: "
<< "defaultJuceModulePath, defaultUserModulePath, vstLegacyPath, aaxPath (not valid on linux), rtasPath (not valid on linux), or androidSDKPath. " << std::endl
<< std::endl
<< " " << appName << " --create-project-from-pip path/to/PIP path/to/output path/to/JUCE/modules (optional) path/to/user/modules (optional)" << std::endl
<< " Generates a folder containing a JUCE project in the specified output path using the specified PIP file. Use the optional JUCE and user module paths to override "
"the global module paths." << std::endl
<< std::endl
<< "Note that for any of the file-rewriting commands, add the option \"--lf\" if you want it to use LF linefeeds instead of CRLF" << std::endl
<< std::endl;
}
}
//==============================================================================
int performCommandLine (const ArgumentList& args)
{
return ConsoleApplication::invokeCatchingFailures ([&]() -> int
{
if (args.containsOption ("--lf"))
preferredLineFeed = "\n";
auto command = args[0];
auto matchCommand = [&] (StringRef name) -> bool
{
return command == name || command.isLongOption (name);
};
if (matchCommand ("help")) { showHelp(); return 0; }
if (matchCommand ("h")) { showHelp(); return 0; }
if (matchCommand ("resave")) { resaveProject (args, false); return 0; }
if (matchCommand ("resave-resources")) { resaveProject (args, true); return 0; }
if (matchCommand ("get-version")) { getVersion (args); return 0; }
if (matchCommand ("set-version")) { setVersion (args); return 0; }
if (matchCommand ("bump-version")) { bumpVersion (args); return 0; }
if (matchCommand ("git-tag-version")) { gitTag (args); return 0; }
if (matchCommand ("buildmodule")) { buildModules (args, false); return 0; }
if (matchCommand ("buildallmodules")) { buildModules (args, true); return 0; }
if (matchCommand ("status")) { showStatus (args); return 0; }
if (matchCommand ("trim-whitespace")) { cleanWhitespace (args, false); return 0; }
if (matchCommand ("remove-tabs")) { cleanWhitespace (args, true); return 0; }
if (matchCommand ("tidy-divider-comments")) { tidyDividerComments (args); return 0; }
if (matchCommand ("fix-broken-include-paths")) { fixRelativeIncludePaths (args); return 0; }
if (matchCommand ("obfuscated-string-code")) { generateObfuscatedStringCode (args); return 0; }
if (matchCommand ("encode-binary")) { encodeBinary (args); return 0; }
if (matchCommand ("trans")) { scanFoldersForTranslationFiles (args); return 0; }
if (matchCommand ("trans-finish")) { createFinishedTranslationFile (args); return 0; }
if (matchCommand ("set-global-search-path")) { setGlobalPath (args); return 0; }
if (matchCommand ("create-project-from-pip")) { createProjectFromPIP (args); return 0; }
if (command.isLongOption() || command.isShortOption())
ConsoleApplication::fail ("Unrecognised command: " + command.text.quoted());
return commandLineNotPerformed;
});
}

View File

@ -0,0 +1,30 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
int performCommandLine (const ArgumentList&);
enum { commandLineNotPerformed = 0x72346231 };

View File

@ -0,0 +1,99 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
//==============================================================================
// The GCC extensions define linux somewhere in the headers, so undef it here...
#if JUCE_GCC
#undef linux
#endif
struct TargetOS
{
enum OS
{
windows = 0,
osx,
linux,
unknown
};
static OS getThisOS() noexcept
{
#if JUCE_WINDOWS
return windows;
#elif JUCE_MAC
return osx;
#elif JUCE_LINUX || JUCE_BSD
return linux;
#else
return unknown;
#endif
}
};
typedef TargetOS::OS DependencyPathOS;
//==============================================================================
#include "../Settings/jucer_StoredSettings.h"
#include "../Utility/UI/jucer_Icons.h"
#include "../Utility/Helpers/jucer_MiscUtilities.h"
#include "../Utility/Helpers/jucer_CodeHelpers.h"
#include "../Utility/Helpers/jucer_FileHelpers.h"
#include "../Utility/Helpers/jucer_ValueSourceHelpers.h"
#include "../Utility/Helpers/jucer_PresetIDs.h"
#include "jucer_CommandIDs.h"
//==============================================================================
const char* const projectItemDragType = "Project Items";
const char* const drawableItemDragType = "Drawable Items";
const char* const componentItemDragType = "Components";
enum ColourIds
{
backgroundColourId = 0x2340000,
secondaryBackgroundColourId = 0x2340001,
defaultTextColourId = 0x2340002,
widgetTextColourId = 0x2340003,
defaultButtonBackgroundColourId = 0x2340004,
secondaryButtonBackgroundColourId = 0x2340005,
userButtonBackgroundColourId = 0x2340006,
defaultIconColourId = 0x2340007,
treeIconColourId = 0x2340008,
defaultHighlightColourId = 0x2340009,
defaultHighlightedTextColourId = 0x234000a,
codeEditorLineNumberColourId = 0x234000b,
activeTabIconColourId = 0x234000c,
inactiveTabBackgroundColourId = 0x234000d,
inactiveTabIconColourId = 0x234000e,
contentHeaderBackgroundColourId = 0x234000f,
widgetBackgroundColourId = 0x2340010,
secondaryWidgetBackgroundColourId = 0x2340011,
};
//==============================================================================
static constexpr int projucerMajorVersion = ProjectInfo::versionNumber >> 16;

View File

@ -0,0 +1,29 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "jucer_CommonHeaders.h"

View File

@ -0,0 +1,48 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#include "jucer_Headers.h"
#include "jucer_Application.h"
#include "../CodeEditor/jucer_OpenDocumentManager.h"
#include "../CodeEditor/jucer_SourceCodeEditor.h"
#include "../Utility/UI/PropertyComponents/jucer_FilePathPropertyComponent.h"
#include "../Project/UI/jucer_ProjectContentComponent.h"
#include "../Project/UI/Sidebar/jucer_TreeItemTypes.h"
#include "Windows/jucer_UTF8WindowComponent.h"
#include "Windows/jucer_SVGPathDataWindowComponent.h"
#include "Windows/jucer_AboutWindowComponent.h"
#include "Windows/jucer_EditorColourSchemeWindowComponent.h"
#include "Windows/jucer_GlobalPathsWindowComponent.h"
#include "Windows/jucer_PIPCreatorWindowComponent.h"
#include "Windows/jucer_FloatingToolWindow.h"
#include "jucer_CommandLine.h"
#include "../Project/UI/jucer_ProjectContentComponent.cpp"
#include "jucer_Application.cpp"
START_JUCE_APPLICATION (ProjucerApplication)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,146 @@
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence
Privacy Policy: www.juce.com/juce-privacy-policy
Or: You may also use this code under the terms of the GPL v3 (see
www.gnu.org/licenses).
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
DISCLAIMED.
==============================================================================
*/
#pragma once
#include "../Utility/PIPs/jucer_PIPGenerator.h"
#include "../Project/jucer_Project.h"
#include "../CodeEditor/jucer_OpenDocumentManager.h"
class ProjectContentComponent;
//==============================================================================
/**
The big top-level window where everything happens.
*/
class MainWindow : public DocumentWindow,
public ApplicationCommandTarget,
public FileDragAndDropTarget,
public DragAndDropContainer,
private Value::Listener
{
public:
//==============================================================================
MainWindow();
~MainWindow() override;
enum class OpenInIDE { no, yes };
//==============================================================================
void closeButtonPressed() override;
//==============================================================================
bool canOpenFile (const File& file) const;
void openFile (const File& file, std::function<void (bool)> callback);
void setProject (std::unique_ptr<Project> newProject);
Project* getProject() const { return currentProject.get(); }
void makeVisible();
void restoreWindowPosition();
void updateTitleBarIcon();
void closeCurrentProject (OpenDocumentManager::SaveIfNeeded askToSave, std::function<void (bool)> callback);
void moveProject (File newProjectFile, OpenInIDE openInIDE);
void showStartPage();
void showLoginFormOverlay();
void hideLoginFormOverlay();
bool isShowingLoginForm() const noexcept { return loginFormOpen; }
bool isInterestedInFileDrag (const StringArray& files) override;
void filesDropped (const StringArray& filenames, int mouseX, int mouseY) override;
void activeWindowStatusChanged() override;
ProjectContentComponent* getProjectContentComponent() const;
//==============================================================================
ApplicationCommandTarget* getNextCommandTarget() override;
void getAllCommands (Array <CommandID>& commands) override;
void getCommandInfo (CommandID commandID, ApplicationCommandInfo& result) override;
bool perform (const InvocationInfo& info) override;
bool shouldDropFilesWhenDraggedExternally (const DragAndDropTarget::SourceDetails& sourceDetails,
StringArray& files, bool& canMoveFiles) override;
private:
void valueChanged (Value&) override;
static const char* getProjectWindowPosName() { return "projectWindowPos"; }
void createProjectContentCompIfNeeded();
void openPIP (const File&, std::function<void (bool)> callback);
void setupTemporaryPIPProject (PIPGenerator&);
void initialiseProjectWindow();
std::unique_ptr<Project> currentProject;
Value projectNameValue;
std::unique_ptr<Component> blurOverlayComponent;
bool loginFormOpen = false;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainWindow)
};
//==============================================================================
class MainWindowList
{
public:
MainWindowList();
void forceCloseAllWindows();
void askAllWindowsToClose (std::function<void (bool)> callback);
void closeWindow (MainWindow*);
void goToSiblingWindow (MainWindow*, int delta);
void createWindowIfNoneAreOpen();
void openDocument (OpenDocumentManager::Document*, bool grabFocus);
void openFile (const File& file, std::function<void (bool)> callback, bool openInBackground = false);
MainWindow* createNewMainWindow();
MainWindow* getFrontmostWindow (bool createIfNotFound = true);
MainWindow* getOrCreateEmptyWindow();
MainWindow* getMainWindowForFile (const File&);
MainWindow* getMainWindowWithLoginFormOpen();
Project* getFrontmostProject();
void reopenLastProjects();
void saveCurrentlyOpenProjectList();
void checkWindowBounds (MainWindow&);
void sendLookAndFeelChange();
OwnedArray<MainWindow> windows;
private:
bool isInReopenLastProjects = false;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainWindowList)
JUCE_DECLARE_WEAK_REFERENCEABLE (MainWindowList)
};

View File

@ -0,0 +1,12 @@
<svg width="145.75" height="145.75" xmlns="http://www.w3.org/2000/svg">
<path d="M72.87 84.28A42.36 42.36 0 0130.4 42.14a42.48 42.48 0 0184.95 0 42.36 42.36 0 01-42.48 42.14zm0-78.67A36.74 36.74 0 0036 42.14a36.88 36.88 0 0073.75 0A36.75 36.75 0 0072.87 5.61z" fill="#b8b8b8"/>
<path d="M77.62 49.59a177.77 177.77 0 008.74 18.93A4.38 4.38 0 0092.69 70a34.5 34.5 0 008.84-9 4.3 4.3 0 00-2.38-6.49A176.73 176.73 0 0180 47.32a1.78 1.78 0 00-2.38 2.27z" fill="#c2c2c2"/>
<path d="M81.05 44.27a169.68 169.68 0 0020.13 7.41 4.39 4.39 0 005.52-3.41 34.42 34.42 0 00.55-6.13 33.81 33.81 0 00-.67-6.72 4.37 4.37 0 00-6.31-3A192.32 192.32 0 0181.1 41a1.76 1.76 0 00-.05 3.27z" fill="#a1a1a1"/>
<path d="M74.47 50.44a1.78 1.78 0 00-3.29 0 165.54 165.54 0 00-7.46 19.89 4.33 4.33 0 003.47 5.48 35.49 35.49 0 005.68.46 34.44 34.44 0 007.13-.79 4.32 4.32 0 003-6.25 187.83 187.83 0 01-8.53-18.79z" fill="#dcdcdc"/>
<path d="M71.59 34.12a1.78 1.78 0 003.29.05 163.9 163.9 0 007.52-20.11A4.34 4.34 0 0079 8.59a35.15 35.15 0 00-13.06.17 4.32 4.32 0 00-3 6.26 188.41 188.41 0 018.65 19.1z" fill="#9b9b9b"/>
<path d="M46.32 30.3a176.2 176.2 0 0120 7.48 1.78 1.78 0 002.37-2.28 180.72 180.72 0 00-9.13-19.84 4.38 4.38 0 00-6.33-1.47 34.27 34.27 0 00-9.32 9.65 4.31 4.31 0 002.41 6.46z" fill="#a8a8a8"/>
<path d="M68.17 49.18a1.77 1.77 0 00-2.29-2.34 181.71 181.71 0 00-19.51 8.82A4.3 4.3 0 0044.91 62a34.36 34.36 0 009.42 8.88 4.36 4.36 0 006.5-2.38 175.11 175.11 0 017.34-19.32z" fill="#c5c5c5"/>
<path d="M77.79 35.59a1.78 1.78 0 002.3 2.35 182.51 182.51 0 0019.6-8.88 4.3 4.3 0 001.5-6.25 34.4 34.4 0 00-9.41-9.14A4.36 4.36 0 0085.24 16a174.51 174.51 0 01-7.45 19.59z" fill="#6f6f6f"/>
<path d="M64.69 40.6a167.72 167.72 0 00-20.22-7.44A4.36 4.36 0 0039 36.6a33.68 33.68 0 00-.45 5.54 34 34 0 00.81 7.4 4.36 4.36 0 006.28 2.84 189.19 189.19 0 0119-8.52 1.76 1.76 0 00.05-3.26z" fill="#b3b3b3"/>
<path d="M20 129.315c0 5-2.72 8.16-7.11 8.16-2.37 0-4.17-1-6.2-3.56l-.69-.78-6 5 .57.76c3.25 4.36 7.16 6.39 12.31 6.39 9 0 15.34-6.57 15.34-16v-28.1H20zM61.69 126.505c0 6.66-3.76 11-9.57 11-5.81 0-9.56-4.31-9.56-11v-25.32h-8.23v25.69c0 10.66 7.4 18.4 17.6 18.4 10 0 17.61-7.72 18-18.4v-25.69h-8.24zM106.83 134.095c-3.58 2.43-6.18 3.38-9.25 3.38a14.53 14.53 0 010-29c3.24 0 5.66.88 9.25 3.38l.76.53 4.78-6-.75-.62a22.18 22.18 0 00-14.22-5.1 22.33 22.33 0 100 44.65 21.53 21.53 0 0014.39-5.08l.81-.64-5-6zM145.75 137.285h-19.06v-10.72h18.3v-7.61h-18.3v-10.16h19.06v-7.61h-27.28v43.53h27.28zM68.015 83.917c-7.723-.902-15.472-4.123-21.566-8.966-8.475-6.736-14.172-16.823-15.574-27.575C29.303 35.31 33.538 22.7 42.21 13.631 49.154 6.368 58.07 1.902 68.042.695c2.15-.26 7.524-.26 9.675 0 12.488 1.512 23.464 8.25 30.437 18.686 8.332 12.471 9.318 28.123 2.605 41.368-2.28 4.5-4.337 7.359-7.85 10.909A42.273 42.273 0 0177.613 83.92c-2.027.227-7.644.225-9.598-.003zm7.823-5.596c8.435-.415 17.446-4.678 23.683-11.205 5.976-6.254 9.35-13.723 10.181-22.537.632-6.705-1.346-14.948-5.065-21.108C98.88 13.935 89.397 7.602 78.34 5.906c-2.541-.39-8.398-.386-10.96.006C53.54 8.034 42.185 17.542 37.81 30.67c-2.807 8.426-2.421 17.267 1.11 25.444 4.877 11.297 14.959 19.41 26.977 21.709 2.136.408 6.1.755 7.377.645.325-.028 1.48-.094 2.564-.147z" fill="#b8b8b8"/>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="19px" height="23px" viewBox="0 0 19 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
<title>androd</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" transform="translate(-71.000000, -8.000000)" fill-rule="nonzero">
<g id="android" transform="translate(67.000000, 6.000000)">
<g id="androd" transform="translate(4.149701, 2.592000)">
<path d="M12.0887784,1.906092 L13.1751916,0.325404 C13.2397006,0.231444 13.2236407,0.108108 13.1392994,0.049788 C13.0550659,-0.008208 12.9342395,0.020466 12.8702156,0.114534 L11.7411198,1.75662 C10.9970299,1.462914 10.1707545,1.29924 9.29985629,1.29924 C8.42895808,1.29924 7.60246707,1.462752 6.85843114,1.75662 L5.72949701,0.11448 C5.66477246,0.02052 5.54416168,-0.008262 5.45987425,0.049734 C5.37558683,0.107892 5.35958084,0.231282 5.42408982,0.32535 L6.51088024,1.906038 C4.78293413,2.711502 3.57116766,4.242078 3.41676647,6.028398 L15.1822994,6.028398 C15.0284371,4.242078 13.8166168,2.711556 12.0887784,1.906092" id="Shape" fill="#9FBF3B"></path>
<path d="M6.84194012,4.397652 C6.48231737,4.397652 6.19092216,4.105674 6.19092216,3.745386 C6.19092216,3.385152 6.48215569,3.093066 6.84194012,3.093066 C7.20129341,3.093066 7.49258084,3.385044 7.49258084,3.745386 C7.49263473,4.10562 7.20129341,4.397652 6.84194012,4.397652" id="Shape" fill="#FFFFFF"></path>
<path d="M11.7571796,4.397652 C11.3978263,4.397652 11.106485,4.105674 11.106485,3.745386 C11.106485,3.385044 11.3978263,3.093066 11.7571796,3.093066 C12.1169102,3.093066 12.4081437,3.385152 12.4081437,3.745386 C12.4081437,4.10562 12.1168024,4.397652 11.7571796,4.397652" id="Shape" fill="#FFFFFF"></path>
<path d="M2.66135928,13.478292 C2.66135928,14.204592 2.07371856,14.793408 1.34881437,14.793408 L1.34881437,14.793408 C0.623964072,14.793408 0.0363233533,14.204592 0.0363233533,13.478292 L0.0363233533,8.15886 C0.0363233533,7.43256 0.623964072,6.843744 1.34881437,6.843744 L1.34881437,6.843744 C2.07371856,6.843744 2.66135928,7.43256 2.66135928,8.15886 L2.66135928,13.478292 Z" id="Shape" fill="#9FBF3B"></path>
<path d="M3.4165509,6.884406 L3.4165509,16.491816 C3.4165509,17.06238 3.87819162,17.524998 4.44777844,17.524998 L5.66752096,17.524998 L5.66752096,20.481174 C5.66752096,21.207528 6.25510778,21.79629 6.98001198,21.79629 C7.70491617,21.79629 8.29255689,21.207528 8.29255689,20.481174 L8.29255689,17.524998 L10.3065629,17.524998 L10.3065629,20.481174 C10.3065629,21.207528 10.8940958,21.79629 11.6190539,21.79629 C12.344012,21.79629 12.9315449,21.207528 12.9315449,20.481174 L12.9315449,17.524998 L14.1512874,17.524998 C14.7208743,17.524998 15.1826228,17.06265 15.1826228,16.491816 L15.1826228,6.884406 L3.4165509,6.884406 Z" id="Shape" fill="#9FBF3B"></path>
<path d="M15.9377605,13.478292 C15.9377605,14.204592 16.5253473,14.793408 17.2502515,14.793408 L17.2502515,14.793408 C17.9751018,14.793408 18.5627425,14.204592 18.5627425,13.478292 L18.5627425,8.15886 C18.5627425,7.43256 17.9751018,6.843744 17.2502515,6.843744 L17.2502515,6.843744 C16.5253473,6.843744 15.9377605,7.43256 15.9377605,8.15886 L15.9377605,13.478292 Z" id="Shape" fill="#9FBF3B"></path>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -0,0 +1,34 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 128 128">
<defs>
<linearGradient id="linear-gradient" x1="40.69" y1="-676.56" x2="83.48" y2="-676.56" gradientTransform="matrix(1, 0, 0, -1, 0, -648.86)" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#ed358c"/>
<stop offset="0.16" stop-color="#e9388c"/>
<stop offset="0.3" stop-color="#de418c"/>
<stop offset="0.43" stop-color="#cc508c"/>
<stop offset="0.57" stop-color="#b2658d"/>
<stop offset="0.7" stop-color="#90808d"/>
<stop offset="0.83" stop-color="#67a18e"/>
<stop offset="0.95" stop-color="#37c78f"/>
<stop offset="1" stop-color="#22d88f"/>
</linearGradient>
<linearGradient id="linear-gradient-2" x1="32.58" y1="-665.27" x2="13.76" y2="-791.59" gradientTransform="matrix(1, 0, 0, -1, 0, -648.86)" gradientUnits="userSpaceOnUse">
<stop offset="0.09" stop-color="#22d88f"/>
<stop offset="0.9" stop-color="#029de0"/>
</linearGradient>
<linearGradient id="linear-gradient-3" x1="116.68" y1="-660.66" x2="-12.09" y2="-796.66" xlink:href="#linear-gradient-2"/>
<linearGradient id="linear-gradient-4" x1="73.35" y1="-739.1" x2="122.29" y2="-746.06" xlink:href="#linear-gradient-2"/>
</defs>
<title>icon_CLion</title>
<g>
<polygon points="49.2 51.8 40.6 55.4 48.4 0 77.8 16.2 49.2 51.8" fill="url(#linear-gradient)"/>
<polygon points="44.6 76.8 48.8 0 11.8 23.2 0 94 44.6 76.8" fill="url(#linear-gradient-2)"/>
<polygon points="125.4 38.4 109 4.8 77.8 16.2 55 41.4 0 94 41.6 124.4 93.6 77.2 125.4 38.4" fill="url(#linear-gradient-3)"/>
<polygon points="53.8 54.6 46.6 98.4 75.8 121 107.8 128 128 82.4 53.8 54.6" fill="url(#linear-gradient-4)"/>
</g>
<g>
<rect x="24" y="24" width="80" height="80"/>
<rect x="31.6" y="89" width="30" height="5" fill="#fff"/>
<path d="M31,51.2h0A16.83,16.83,0,0,1,48.2,34c6.2,0,10,2,13,5.2l-4.6,5.4c-2.6-2.4-5.2-3.8-8.4-3.8-5.6,0-9.6,4.6-9.6,10.4h0c0,5.6,4,10.4,9.6,10.4,3.8,0,6.2-1.6,8.8-3.8l4.6,4.6c-3.4,3.6-7.2,6-13.6,6A17,17,0,0,1,31,51.2" fill="#fff"/>
<path d="M66.6,34.4H74v27H88.4v6.2H66.6V34.4Z" fill="#fff"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
<title>Group</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" transform="translate(-33.000000, -4.000000)">
<g id="Group" transform="translate(33.000000, 4.000000)">
<polygon id="Rectangle-5-Copy-4" fill="#FD3535" points="7.36842105 -1.87919855e-13 9.47368421 4.21052632 9.47368421 9.47368421 4.21052632 9.47368421 6.83692868e-14 7.36842105 3.55271368e-15 -1.67409946e-14"></polygon>
<polygon id="Rectangle-5-Copy-5" fill="#6AC300" transform="translate(15.263158, 4.736842) scale(-1, 1) translate(-15.263158, -4.736842) " points="17.8947368 -1.87919855e-13 20 4.21052632 20 9.47368421 14.7368421 9.47368421 10.5263158 7.36842105 10.5263158 -1.67409946e-14"></polygon>
<polygon id="Rectangle-5-Copy-7" fill="#EBBF20" transform="translate(4.736842, 15.263158) scale(1, -1) translate(-4.736842, -15.263158) " points="7.36842105 10.5263158 9.47368421 14.7368421 9.47368421 20 4.21052632 20 6.83692868e-14 17.8947368 3.55271368e-15 10.5263158"></polygon>
<polygon id="Rectangle-5-Copy-6" fill="#1F6CE9" transform="translate(15.263158, 15.263158) scale(-1, -1) translate(-15.263158, -15.263158) " points="17.8947368 10.5263158 20 14.7368421 20 20 14.7368421 20 10.5263158 17.8947368 10.5263158 10.5263158"></polygon>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="63px" height="75px" viewBox="0 0 63 75" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
<title>Android</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" transform="translate(-115.000000, -15.000000)" fill-rule="nonzero">
<g id="Android" transform="translate(115.000000, 15.000000)">
<path d="M46.1535022,26.1203623 C46.9768865,27.8918861 47.8751239,29.6135078 48.6735572,31.3850316 C50.2205216,34.8033239 51.3932204,38.3962736 51.8922412,42.1139784 C52.391262,45.8316832 52.1667026,49.6741432 50.9940038,53.2171908 C49.6715987,57.2343081 47.2014459,60.8023067 44.1324681,63.7465293 C40.5145674,67.2147237 35.8986252,69.8844849 30.8834663,70.0840932 C27.6148802,70.2088484 24.3712451,69.28566 21.5018756,67.7636466 C19.0816248,66.4911436 16.8609823,64.7944729 15.0894586,62.6985856 C13.3179348,60.6026983 12.0204807,58.1075944 11.3967048,55.4378333 C10.6481736,52.1442961 10.9974881,48.6511506 12.1202849,45.4823687 C12.9187182,43.2118241 14.116368,41.0909858 14.9896544,38.8453923 C15.9128428,36.3752394 16.4368147,33.7553803 17.6843666,31.4099826 C18.8071634,29.2891443 20.478883,27.4926695 21.3771204,25.272027 C21.9010922,23.9496219 22.1506026,22.5274127 22.4749661,21.1301545 C22.8242807,19.7328963 23.2983504,18.3605892 24.2464899,17.2627434 C25.3692867,15.9652894 27.0659573,15.2666603 28.787579,15.067052 C30.4842497,14.8674437 32.2308224,15.1419051 33.902542,15.5161707 C35.2498981,15.8155832 36.5473522,16.1898488 37.8448062,16.6639185 C38.9426519,17.0631351 40.0404976,17.5122538 40.9886371,18.1859319 C42.2860912,19.1091203 43.2841327,20.4065744 44.0576149,21.8038326 C44.8310972,23.2010907 45.5047752,24.6732021 46.1535022,26.1203623" id="path29670-2" fill="#020204"></path>
<path d="M32.3071772,70.3379664 C33.6794843,70.4128195 35.0517915,70.5625257 36.3991476,70.7621341 C37.5967974,70.9367913 38.7694963,71.1863017 39.9671462,71.4607632 C41.813523,71.9098819 43.6349489,72.4837558 45.5312279,72.5336578 C46.0302487,72.5586089 46.5292694,72.5336578 47.0282902,72.4089026 C47.527311,72.3090985 47.9764297,72.1094902 48.3756463,71.7851267 C48.9495202,71.3110569 49.3237858,70.6124278 49.4734921,69.8888477 C49.6231983,69.1652676 49.5233941,68.3917853 49.3237858,67.6931563 C48.8996182,66.270947 47.9764297,65.0483461 47.2278985,63.7758431 C46.8037309,63.052263 46.4045142,62.2787808 45.9304445,61.5801517 C45.4563748,60.8815226 44.8825009,60.2078445 44.1838718,59.7587258 C43.1858302,59.1099988 41.9632293,58.9103905 40.7905304,59.0351457 C39.6178316,59.1599009 38.4950348,59.5840685 37.4470912,60.1080404 C35.9749799,60.8565715 34.6026728,61.9045152 33.8042395,63.3516754 C33.5297781,63.8506962 33.3301698,64.3996191 33.0806594,64.9235909 C32.8561,65.4475627 32.5566875,65.9715346 32.1574709,66.3707512 C31.7083522,66.8198699 31.1344783,67.1442334 30.6604086,67.5933521 C30.4358492,67.8179114 30.2362409,68.0674218 30.1114857,68.3668343 C29.9867305,68.6662468 29.9617795,69.0155613 30.0615836,69.3149738 C30.1364368,69.5145821 30.2611919,69.7141904 30.4358492,69.8389456 C30.6105065,69.9886518 30.8101148,70.088456 31.0097231,70.1633091 C31.4338908,70.2880643 31.8830095,70.3130154 32.3071772,70.3379664" id="path29676-3" fill="#020204"></path>
<path d="M27.9409416,70.2361543 C26.7931938,70.2611053 25.6703971,70.4607136 24.5476003,70.710224 C23.4747056,70.9347834 22.401811,71.1842938 21.3538673,71.4587552 C19.5573925,71.9328249 17.7858687,72.4817478 15.9394918,72.5316499 C15.4654221,72.5316499 14.9664013,72.5066988 14.4923316,72.4068947 C14.0182618,72.3070905 13.5691431,72.1074822 13.1699265,71.8080697 C12.5960526,71.334 12.221787,70.6603219 12.0720808,69.9117908 C11.9223745,69.1632596 12.0221787,68.4147284 12.221787,67.7160993 C12.6459547,66.2938901 13.5441921,65.0712892 14.2927233,63.7987862 C14.7168909,63.0752061 15.0911565,62.3017238 15.5402752,61.6030947 C15.9893939,60.9044656 16.5383168,60.2307876 17.2618969,59.7567179 C18.2100364,59.1329419 19.4076863,58.9083825 20.5554341,59.0331377 C21.7031819,59.1578929 22.8010276,59.5571095 23.7990692,60.1060324 C25.2212784,60.8795146 26.5187324,61.9524093 27.3421167,63.3496675 C27.9159906,64.322758 28.2653052,65.4455548 28.9389832,66.3687432 C29.3132488,66.867764 29.7623675,67.2919317 30.06178,67.8159035 C30.2114862,68.0903649 30.3112904,68.3648263 30.3611924,68.6891898 C30.3861435,68.9886023 30.3112904,69.3129658 30.1615841,69.5624762 C30.0368289,69.7371335 29.8871227,69.8618887 29.7124654,69.9616928 C29.5378081,70.061497 29.3381998,70.1363501 29.1385915,70.1613012 C28.7643259,70.2361543 28.3401583,70.2361543 27.9409416,70.2361543" id="path29676-7-1" fill="#020204"></path>
<path d="M21.3925244,22.15769 C21.2428181,20.211509 21.2677692,18.290279 21.192916,16.3440979 C21.1180629,14.47277 20.9434057,12.6263931 21.0182588,10.7550652 C21.0931119,8.85878618 21.3925244,6.93755617 22.2408597,5.24088552 C23.089195,3.54421486 24.4615022,2.09705459 26.1332218,1.19881718 C27.7051373,0.350481853 29.5265631,-0.0237837335 31.2980869,0.0011673056 C33.7183377,0.0261183447 36.1635395,0.749698478 38.1097206,2.17190771 C39.3323215,3.07014511 40.3802651,4.21789291 41.2036494,5.49039591 C41.9022785,6.58824163 42.4512014,7.7858915 42.7755649,9.03344346 C43.474194,11.6034005 43.2995367,14.2981127 43.4492429,16.9678739 C43.5739981,19.4879288 43.9732147,22.0079838 43.8484595,24.5280387 C43.8235085,25.0769616 43.7486554,25.6258845 43.524096,26.1249052 C43.2745856,26.598975 42.875369,26.9981916 42.4262503,27.247702 C41.9521806,27.5221634 41.4531598,27.6718697 40.9042369,27.7467228 C39.8562933,27.9213801 38.7833986,27.7966249 37.7105039,27.896429 C36.1635395,28.0461352 34.6914282,28.6200091 33.1694148,28.8445685 C31.347989,29.1190299 29.476661,28.9194216 27.6552352,28.8445685 C26.906704,28.8196175 26.1831239,28.7946664 25.4345927,28.7198133 C24.7110126,28.6200091 23.9624814,28.4453519 23.3137544,28.0960373 C22.9145377,27.871478 22.5402722,27.5970165 22.2408597,27.272653 C21.9414472,26.9233385 21.7168879,26.5241219 21.5921327,26.0750032 C21.4174754,25.4013251 21.5172796,24.727647 21.5172796,24.029018 C21.5172796,23.405242 21.4424264,22.781466 21.3925244,22.15769" id="path28712-2" fill="#020204"></path>
<path d="M24.4857731,22.0829382 C24.2362627,22.4073017 24.0616054,22.8065184 23.9618013,23.205735 C23.8619971,23.6049516 23.812095,24.0291193 23.812095,24.453287 C23.787144,25.3016223 23.8370461,26.1499576 23.6124867,26.9483909 C23.3879274,27.8216772 22.8390045,28.5702084 22.3150327,29.2937885 C21.4167953,30.5662915 20.5185579,31.8637456 20.0694392,33.3358569 C19.7949777,34.2340943 19.7201246,35.1822338 19.8199288,36.1303733 C18.8218872,37.6024846 17.9486009,39.1744 17.2250207,40.8211686 C16.127175,43.2913215 15.3786438,45.9361316 15.1041824,48.6308438 C14.7798189,51.924381 15.2039866,55.3426734 16.5014406,58.3867001 C17.4495801,60.5823916 18.8468383,62.6034257 20.6682641,64.1753412 C21.5914526,64.9737744 22.6144452,65.6474525 23.7122909,66.1963754 C27.5048488,68.0677033 32.1956442,68.0677033 35.9383,66.0716202 C37.8844811,65.0236765 39.5312497,63.5016631 41.1281162,61.9796498 C42.0762557,61.0564613 43.0243951,60.1083218 43.7729263,58.9855251 C45.1701845,56.8397357 45.6692053,54.2448276 45.9686178,51.6998216 C46.4925896,47.2585367 46.5175406,42.5427903 44.5713596,38.525673 C43.8976815,37.1284148 42.9994441,35.8559118 41.9265494,34.7580661 C41.652088,32.8118851 41.0782141,30.9156061 40.2548298,29.1440823 C39.6560049,27.8466283 38.9324247,26.6240274 38.3835019,25.3265733 C38.1589425,24.8026015 37.9593342,24.2536786 37.7098238,23.7297068 C37.4603134,23.205735 37.160901,22.7067142 36.7367333,22.3074976 C36.3125656,21.908281 35.7636428,21.6088685 35.2147199,21.4092602 C34.640846,21.2346029 34.0669721,21.1347988 33.4681472,21.1098477 C32.2704973,21.0599456 31.0977985,21.2096519 29.9001486,21.1597498 C28.9520091,21.1098477 28.0038696,20.9601415 27.0557301,21.0100436 C26.5816604,21.0349946 26.1075906,21.1347988 25.6584719,21.309456 C25.2093532,21.4841133 24.7851856,21.7086727 24.4857731,22.0829382" id="path29719-5" fill="#FDFDFB"></path>
<path d="M25.1049189,11.0038778 C24.6558002,11.0288289 24.2316326,11.2284372 23.9072691,11.5278496 C23.5829056,11.8272621 23.3583462,12.2264787 23.20864,12.6506464 C22.9341785,13.4989817 22.9840806,14.4221702 23.0589337,15.2954566 C23.1088358,16.0938898 23.1836889,16.9172741 23.4831014,17.6658053 C23.6328076,18.0400709 23.857367,18.3893854 24.1318284,18.6887979 C24.4062898,18.9882103 24.7805554,19.1878187 25.154821,19.2876228 C25.5290866,19.387427 25.9033522,19.3624759 26.2776178,19.2377207 C26.6269323,19.1129655 26.9762469,18.9133572 27.2257573,18.6638468 C27.6249739,18.2895812 27.8744843,17.7656094 28.0491416,17.2416376 C28.1988478,16.7176658 28.2487499,16.1437919 28.2487499,15.594869 C28.2487499,14.8962399 28.1489457,14.2225619 27.9243864,13.5488838 C27.699827,12.9001568 27.3754635,12.2763808 26.8764427,11.77736 C26.6518834,11.5278496 26.3774219,11.3282413 26.0780095,11.1785351 C25.778597,11.0787309 25.4542335,10.9789268 25.1049189,11.0038778" id="path28795-9-5" fill="#FDFDFB"></path>
<path d="M32.7547573,11.5576557 C32.0561282,12.0317255 31.4822543,12.7054035 31.2077928,13.5038368 C30.8584783,14.5018783 30.9832335,15.6246751 31.332548,16.6227167 C31.6818626,17.6457093 32.2806875,18.6187998 33.1789249,19.2425758 C33.6280436,19.5419882 34.1520155,19.7665476 34.6759873,19.8164497 C35.2249101,19.8913028 35.773833,19.7914986 36.2479027,19.5419882 C36.8467277,19.2425758 37.2708953,18.6936529 37.5703078,18.094828 C37.8447692,17.496003 37.9695244,16.822325 37.9944755,16.173598 C38.0443776,15.3252626 37.9695244,14.4769273 37.695063,13.678494 C37.3956505,12.8052077 36.8467277,12.0067744 36.0732455,11.5077536 C35.6989799,11.2582433 35.2498612,11.083586 34.8007425,11.0336839 C34.3516238,10.9588308 33.877554,11.0087329 33.4533864,11.1833901 C33.1789249,11.2831943 32.9543656,11.4079495 32.7547573,11.5576557" id="path28795-3" fill="#FDFDFB"></path>
<g id="g28965-1" transform="translate(33.000000, 13.000000)" fill="#020204">
<path d="M1.79647481,0.0998041564 C1.54696442,0.124755195 1.27250299,0.199608313 1.04794364,0.349314547 C0.82338429,0.499020782 0.648727016,0.673678056 0.499020782,0.898237407 C0.199608313,1.32240507 0.0748531173,1.84637689 0.0499020782,2.37034871 C0.0249510391,2.76956534 0.0748531173,3.16878196 0.199608313,3.51809651 C0.324363508,3.8923621 0.54892286,4.24167665 0.848335329,4.49118704 C1.1477478,4.74069743 1.54696442,4.89040366 1.94618105,4.9153547 C2.34539767,4.94030574 2.7446143,4.81555055 3.09392885,4.59099119 C3.36839028,4.41633392 3.56799859,4.16682353 3.71770482,3.86741106 C3.86741106,3.59294963 3.96721522,3.26858612 3.99216625,2.94422261 C4.06701937,2.39529975 3.99216625,1.79647481 3.71770482,1.29745403 C3.46819443,0.798433251 3.01907573,0.374265586 2.49510391,0.174657274 C2.27054456,0.124755195 2.02103417,0.0748531173 1.79647481,0.0998041564" id="path28879-6"></path>
</g>
<g id="g29497-8" transform="translate(24.000000, 14.000000)" fill="#020204">
<path d="M0.224559352,1.42220923 C0.124755195,1.97113209 0.124755195,2.56995703 0.324363508,3.09392885 C0.449118704,3.44324339 0.673678056,3.7676069 0.923188446,4.04206833 C1.09784572,4.21672561 1.27250299,4.39138288 1.49706235,4.49118704 C1.7216217,4.59099119 1.97113209,4.64089327 2.22064248,4.59099119 C2.44520183,4.54108912 2.64481014,4.39138288 2.76956534,4.21672561 C2.91927157,4.04206833 2.99412469,3.81750898 3.06897781,3.61790067 C3.26858612,2.96917365 3.24363508,2.27054456 3.04402677,1.64676858 C2.89432053,1.17269884 2.66976118,0.723580134 2.2954956,0.424167665 C2.12083832,0.27446143 1.92123001,0.149706235 1.67171962,0.0998041564 C1.44716027,0.0499020782 1.19764988,0.0499020782 0.998041564,0.149706235 C0.773482212,0.249510391 0.573873899,0.449118704 0.474069743,0.698629095 C0.349314547,0.923188446 0.27446143,1.17269884 0.224559352,1.42220923" id="path29453-9"></path>
</g>
<g id="g29634-9" transform="translate(22.999845, 16.000000)">
<path d="M0,5.72292607 C0.0249510391,5.79777918 0.0499020782,5.8726323 0.0748531173,5.92253438 C0.149706235,6.02233853 0.249510391,6.12214269 0.349314547,6.19699581 C0.449118704,6.27184893 0.573873899,6.34670204 0.673678056,6.39660412 C1.24755195,6.77086971 1.7216217,7.26989049 2.14578936,7.81881335 C2.71966326,8.54239348 3.21868404,9.36577777 3.96721522,9.88974959 C4.49118704,10.2640152 5.13991405,10.4885745 5.78864107,10.5384766 C6.56212328,10.6133297 7.31065445,10.4885745 8.05918563,10.2640152 C8.73286368,10.0644069 9.40654174,9.78994544 10.0053667,9.41567985 C11.1531145,8.71705076 12.101254,7.66910712 13.373757,7.19503737 C13.6482184,7.09523322 13.9476309,7.0203801 14.1971412,6.8956249 C14.4716027,6.77086971 14.7211131,6.57126139 14.8458683,6.321751 C14.9706235,6.07224061 14.9706235,5.77282814 14.9955745,5.49836671 C15.0454766,5.19895424 15.1452807,4.89954178 15.1951828,4.60012931 C15.2450849,4.30071684 15.2450849,3.97635333 15.1203297,3.7018919 C15.0205255,3.47733255 14.8209172,3.30267527 14.5963579,3.17792008 C14.3717985,3.05316488 14.1222881,3.0032628 13.8727777,3.0032628 C13.373757,2.97831177 12.8747362,3.10306696 12.3757154,3.15296904 C11.7269884,3.20287112 11.0533103,3.128018 10.3796323,3.15296904 C9.55624797,3.17792008 8.73286368,3.35257735 7.90947939,3.40247943 C6.96133991,3.45238151 6.03815146,3.30267527 5.09001198,3.2527732 C4.69079535,3.22782216 4.26662769,3.22782216 3.86741106,3.30267527 C3.46819443,3.37752839 3.06897781,3.50228359 2.7446143,3.75179398 C2.42025079,3.97635333 2.14578936,4.2757658 1.84637689,4.55022723 C1.69667066,4.67498242 1.54696442,4.79973762 1.34735611,4.87459074 C1.1477478,4.94944385 0.973090525,5.02429697 0.773482212,4.99934593 C0.673678056,4.99934593 0.573873899,4.97439489 0.474069743,4.99934593 C0.424167665,5.02429697 0.349314547,5.04924801 0.324363508,5.09915009 C0.299412469,5.14905217 0.249510391,5.19895424 0.199608313,5.24885632 C0.124755195,5.44846464 0.0499020782,5.57321983 0,5.72292607" id="path28461-2" fill="#FFB510"></path>
<g id="path27476-7-8" transform="translate(0.000000, 3.000000)" fill="#604405">
<path d="M1.52201338,1.32240507 C1.19764988,1.52201338 0.873286368,1.74657274 0.54892286,1.97113209 C0.374265586,2.09588728 0.224559352,2.22064248 0.124755195,2.39529975 C0.0748531173,2.52005495 0.0499020782,2.66976118 0.0499020782,2.81946742 L0.0499020782,3.24363508 C0.0249510391,3.34343924 0,3.44324339 0,3.54304755 C0,3.59294963 0,3.64285171 0.0249510391,3.69275379 C0.0499020782,3.74265586 0.0499020782,3.79255794 0.0998041564,3.81750898 C0.149706235,3.86741106 0.199608313,3.8923621 0.249510391,3.91731314 C0.299412469,3.94226418 0.374265586,3.94226418 0.424167665,3.96721522 C0.723580134,4.04206833 0.973090525,4.21672561 1.19764988,4.41633392 C1.42220923,4.61594223 1.62181754,4.84050158 1.84637689,5.0401099 C2.47015287,5.56408172 3.3184882,5.76369003 4.14187249,5.78864107 C4.96525678,5.81359211 5.76369003,5.63893484 6.56212328,5.46427756 C7.18589926,5.31457133 7.80967524,5.16486509 8.40850017,4.96525678 C9.33168862,4.61594223 10.180024,4.11692145 10.9285551,3.46819443 C11.2529186,3.16878196 11.5772821,2.84441846 11.9515477,2.6198591 C12.2759112,2.42025079 12.6501768,2.27054456 12.9994914,2.07093624 C13.0244424,2.04598521 13.0493934,2.04598521 13.0992955,2.02103417 C13.1242466,1.99608313 13.1491976,1.97113209 13.1741486,1.94618105 C13.1990997,1.89627897 13.1990997,1.82142585 13.1741486,1.77152378 C13.1491976,1.7216217 13.1242466,1.67171962 13.0743445,1.62181754 C13.0244424,1.57191546 12.9745403,1.52201338 12.9246383,1.47211131 C12.5753237,1.17269884 12.0763029,1.04794364 11.6271842,1.0229926 C11.1531145,0.998041564 10.6790447,1.0229926 10.229926,0.923188446 C9.80575836,0.848335329 9.3815907,0.698629095 8.95742303,0.54892286 C8.50830433,0.399216625 8.05918563,0.299412469 7.61006692,0.224559352 C6.53717224,0.0499020782 5.43932652,0.0748531173 4.36643184,0.299412469 C3.36839028,0.424167665 2.39529975,0.798433251 1.52201338,1.32240507" id="Shape"></path>
</g>
<path d="M1.99608313,2.36612373 C1.52201338,2.69048723 1.07289468,3.08970386 0.723580134,3.53882256 C0.523971821,3.78833295 0.324363508,4.08774542 0.224559352,4.38715789 C0.149706235,4.63666828 0.124755195,4.88617867 0.0499020782,5.1606401 C0.0249510391,5.26044426 0,5.36024842 0,5.46005257 C0,5.50995465 0,5.55985673 0.0249510391,5.60975881 C0.0499020782,5.65966089 0.0748531173,5.70956296 0.0998041564,5.734514 C0.149706235,5.78441608 0.224559352,5.83431816 0.324363508,5.83431816 C0.399216625,5.8592692 0.474069743,5.8592692 0.573873899,5.8592692 C0.948139486,5.90917128 1.27250299,6.08382855 1.57191546,6.28343686 C1.87132793,6.48304518 2.14578936,6.73255557 2.47015287,6.93216388 C3.14383093,7.35633154 3.96721522,7.55593986 4.76564847,7.5808909 C5.56408172,7.60584193 6.38746601,7.48108674 7.16094822,7.3313805 C7.7847242,7.20662531 8.40850017,7.05691907 9.00732511,6.83235972 C9.93051356,6.48304518 10.7538978,5.90917128 11.5273801,5.33529738 C11.8766946,5.06083595 12.2260092,4.78637452 12.5503727,4.48696205 C12.6501768,4.38715789 12.774932,4.2624027 12.8747362,4.18754958 C12.9994914,4.08774542 13.1242466,4.01289231 13.2739528,3.96299023 C13.4985121,3.88813711 13.7230715,3.91308815 13.9476309,3.96299023 C14.1222881,3.98794127 14.2969454,4.03784334 14.4716027,4.01289231 C14.5464558,4.01289231 14.6462599,3.98794127 14.7211131,3.96299023 C14.7959662,3.93803919 14.8708193,3.88813711 14.9207214,3.81328399 C14.9955745,3.71347984 15.0205255,3.61367568 15.0205255,3.48892048 C15.0205255,3.36416529 14.9955745,3.26436113 14.9207214,3.16455698 C14.7959662,2.96494866 14.5963579,2.84019347 14.3967496,2.74038931 C14.1222881,2.61563412 13.7979246,2.540781 13.4985121,2.46592788 C12.5753237,2.24136853 11.6521353,1.91700502 10.8037999,1.46788632 C10.3796323,1.24332697 9.9554646,1.01876761 9.53129693,0.794208262 C9.10712927,0.56964891 8.65801057,0.345089558 8.18394082,0.195383324 C7.13599718,-0.128980184 5.98824938,-0.029176028 4.94030574,0.345089558 C3.84246002,0.719355145 2.79451638,1.44293528 1.99608313,2.36612373 L1.99608313,2.36612373" id="path27476-4" fill="#FFB510"></path>
</g>
<path d="M47.3006272,37.3384927 C48.8226406,38.5610936 49.7707801,40.4074705 50.0701925,42.3287005 C50.2947519,43.8257629 50.1450456,45.3727273 49.8206821,46.8448386 C49.4963186,48.3169499 48.9473958,49.7641102 48.448375,51.1863194 C48.2487667,51.7601933 48.0242073,52.3340672 47.9493542,52.9328922 C47.8745011,53.5317171 47.9244032,54.1804441 48.1988646,54.7044159 C48.5232281,55.3032409 49.1470041,55.7274085 49.8206821,55.9270168 C50.4694091,56.1266252 51.1929893,56.1266252 51.8417163,55.9519679 C52.5153944,55.7773106 53.1391703,55.4529471 53.6631421,55.0537305 C55.0354493,53.9808358 55.8588336,52.3340672 56.1831971,50.6124455 C56.5075606,48.8908238 56.3578544,47.1193 56.0584419,45.4226294 C55.6592253,43.0772317 54.9605962,40.7817361 54.0873098,38.5860447 C53.4385828,36.9642271 52.6900516,35.3673606 51.642108,33.9701024 C50.6191154,32.5977953 49.3216613,31.4500475 48.3236198,30.0777403 C47.6249907,29.1046498 47.0760678,28.0567062 46.2277325,27.2083708 C45.8035648,26.7842032 45.3294951,26.4348886 44.7556212,26.2103293 C44.2066983,25.9857699 43.5829224,25.9358679 43.0090485,26.0855741 C42.2605173,26.3101334 41.6367413,26.8840073 41.3123778,27.6075875 C40.9880143,28.3311676 40.9381122,29.1296009 41.0628674,29.9030831 C41.2375247,30.9011246 41.6866434,31.8243131 42.1856642,32.6975994 C42.7595381,33.67069 43.4332161,34.6188295 44.3065025,35.3673606 C45.254642,36.0909408 46.3774387,36.5899615 47.3006272,37.3384927" id="path29705-5-0" fill="#020204"></path>
<g id="g17048" transform="translate(41.000000, 52.000000)" fill="#FFB510">
<path d="M21.707404,11.6022332 C21.5327467,12.0264008 21.3081874,12.4256175 21.0087749,12.774932 C20.3600479,13.5484142 19.4368595,14.072386 18.538622,14.5215048 C16.9916576,15.319938 15.3947911,15.9936161 13.9476309,16.9417555 C12.9745403,17.5655315 12.0763029,18.3140627 11.2279676,19.1124959 C10.5043875,19.811125 9.8307094,20.5347052 9.03227615,21.1085791 C8.20889186,21.707404 7.28570342,22.1315717 6.28766185,22.2812779 C5.09001198,22.4559352 3.84246002,22.2313758 2.71966326,21.7323551 C1.94618105,21.3830405 1.17269884,20.9089708 0.723580134,20.1853906 C0.27446143,19.4618105 0.174657274,18.5635731 0.174657274,17.7152378 C0.174657274,16.1932244 0.449118704,14.696162 0.723580134,13.1990997 C0.948139486,11.9515477 1.1477478,10.7039958 1.29745403,9.45644382 C1.54696442,7.18589926 1.54696442,4.86545262 1.37230715,2.59490807 C1.34735611,2.22064248 1.32240507,1.82142585 1.37230715,1.44716027 C1.42220923,1.07289468 1.5968665,0.698629095 1.87132793,0.449118704 C2.14578936,0.224559352 2.49510391,0.124755195 2.84441846,0.0998041564 C3.193733,0.0748531173 3.54304755,0.124755195 3.8923621,0.199608313 C4.71574639,0.324363508 5.56408172,0.424167665 6.36251497,0.623775977 C6.86153575,0.748531173 7.36055653,0.948139486 7.88452835,1.07289468 C8.73286368,1.29745403 9.63110109,1.42220923 10.5043875,1.32240507 C11.4525269,1.22260092 12.3507644,0.848335329 13.2989038,0.873286368 C13.6981205,0.873286368 14.072386,0.948139486 14.4466516,1.07289468 C14.8209172,1.19764988 15.1951828,1.37230715 15.4696442,1.64676858 C15.6692526,1.87132793 15.8189588,2.12083832 15.943714,2.42025079 C16.1183713,2.84441846 16.1932244,3.29353716 16.2431264,3.71770482 C16.2680775,4.11692145 16.2680775,4.51613808 16.3429306,4.9153547 C16.4676858,5.56408172 16.7920493,6.13795562 17.216217,6.6369764 C17.6403846,7.13599718 18.1394054,7.56016485 18.6384262,7.98433251 C19.137447,8.40850017 19.6364678,8.83266784 20.1853906,9.18198239 C20.434901,9.35663966 20.7093624,9.50634589 20.9339218,9.70595421 C21.1834322,9.90556252 21.3830405,10.1051708 21.5327467,10.3796323 C21.7323551,10.7538978 21.8072082,11.2030166 21.707404,11.6022332 L21.707404,11.6022332" id="path14296-0"></path>
</g>
<g id="path28767-9-3" opacity="0.25" transform="translate(20.000000, 28.000000)" fill="#7C7C7C">
<path d="M1.1477478,0.399216625 C1.12279676,0.0499020782 0.598824938,-0.0249510391 0.374265586,0.174657274 C0.174657274,0.324363508 -2.65065747e-15,0.848335329 0.174657274,1.04794364 C0.424167665,1.37230715 1.17269884,0.898237407 1.1477478,0.399216625 Z" id="Shape"></path>
</g>
<g id="g14884-8" transform="translate(46.000000, 50.000000)" fill="#020204">
<path d="M9.03227615,2.24559352 C8.932472,1.97113209 8.75781472,1.7216217 8.53325537,1.52201338 C8.30869602,1.32240507 8.05918563,1.17269884 7.7847242,1.04794364 C7.23580134,0.82338429 6.66192744,0.723580134 6.08805354,0.623775977 C5.53913068,0.523971821 5.01515886,0.399216625 4.466236,0.299412469 C3.8923621,0.199608313 3.3184882,0.149706235 2.7446143,0.27446143 C2.24559352,0.374265586 1.79647481,0.648727016 1.42220923,0.973090525 C1.04794364,1.29745403 0.773482212,1.74657274 0.54892286,2.19569144 C0.174657274,2.99412469 0.0748531173,3.91731314 0.124755195,4.79059951 C0.174657274,5.43932652 0.349314547,6.11300458 0.773482212,6.61202536 C1.12279676,7.01124199 1.62181754,7.26075238 2.12083832,7.41045861 C2.99412469,7.659969 3.96721522,7.659969 4.84050158,7.36055653 C6.28766185,6.88648679 7.56016485,5.91339627 8.40850017,4.66584431 C8.6829616,4.26662769 8.932472,3.81750898 9.05722719,3.3184882 C9.15703135,2.99412469 9.15703135,2.59490807 9.03227615,2.24559352" id="path29714-5-4"></path>
</g>
<g id="g15037-4" transform="translate(9.000000, 27.000000)" fill="#020204">
<path d="M10.0303177,2.6198591 C9.30673758,3.51809651 8.60810849,4.41633392 7.88452835,5.31457133 C7.01124199,6.41241705 6.11300458,7.51026277 5.53913068,8.78276576 C5.0401099,9.88061148 4.81555055,11.0782614 4.466236,12.2260092 C4.09197041,13.5484142 3.56799859,14.8209172 2.96917365,16.0435181 C2.42025079,17.1912659 1.84637689,18.3140627 1.24755195,19.4119084 C0.82338429,20.2352927 0.374265586,21.058677 0.224559352,21.9569144 C0.0998041564,22.6804945 0.174657274,23.4040747 0.349314547,24.1276548 C0.523971821,24.8262839 0.82338429,25.499962 1.1477478,26.148689 C2.56995703,28.9182543 4.69079535,31.288603 7.18589926,33.1100289 C8.33364706,33.9334132 7.06114406,32.1618894 8.33364706,32.7357633 C9.03227615,33.0601268 9.75585629,33.3345882 10.5293385,33.3595393 C10.9036041,33.3595393 11.3028207,33.3096372 11.6521353,33.159931 C12.0014498,33.0102247 12.3258133,32.7607143 12.5254216,32.4363508 C12.774932,32.0371342 12.8747362,31.5630645 12.8248341,31.0889947 C12.774932,30.614925 12.6002747,30.1658063 12.3507644,29.7665896 C11.7519394,28.7934991 10.8037999,28.069919 9.90556252,27.3712899 C7.95938147,25.8492765 8.55820641,26.7475139 6.73678056,25.0757943 C6.23775977,24.6017245 5.71378795,24.1027038 5.36447341,23.5038788 C5.01515886,22.9300049 4.84050158,22.2563269 4.69079535,21.5826488 C4.3414808,19.761223 4.44128496,17.8150419 5.06506094,16.0684692 C5.31457133,15.3698401 5.63893484,14.7211131 5.9383473,14.072386 C6.48727016,12.9246383 6.98629095,11.7519394 7.68492004,10.7039958 C8.55820641,9.40654174 9.75585629,8.28374498 10.4794364,6.88648679 C11.0782614,5.71378795 11.3277717,4.36643184 11.5772821,3.06897781 C11.7519394,2.07093624 11.9265967,1.04794364 12.101254,0.0249510391 C11.4026249,0.898237407 10.7039958,1.77152378 10.0303177,2.6198591 Z" id="path14967-1-0"></path>
</g>
<g id="Group" transform="translate(0.000000, 51.000000)" fill="#FFB510">
<g id="g14180-6" transform="translate(0.000000, -0.000000)">
<path d="M10.3796323,0.174657274 C10.7788489,-1.26496036e-14 11.2279676,-0.0249510391 11.6521353,0.0499020782 C12.0763029,0.124755195 12.4755195,0.299412469 12.8248341,0.54892286 C13.5484142,1.0229926 14.072386,1.74657274 14.5714068,2.44520183 C15.7441057,4.04206833 16.8669024,5.68883691 17.864944,7.38550757 C18.6883283,8.75781472 19.4368595,10.204975 20.40995,11.502429 C21.033726,12.3507644 21.7323551,13.1242466 22.356131,13.9725819 C22.979907,14.8209172 23.5288299,15.7441057 23.8032913,16.7421472 C24.1526058,18.0645523 24.0278506,19.5117126 23.4040747,20.7343135 C22.954956,21.5826488 22.2812779,22.33118 21.4578936,22.8052497 C20.6345093,23.2793195 19.6614188,23.5537809 18.7132793,23.5288299 C17.1912659,23.4789278 15.7940077,22.7054456 14.3717985,22.1565227 C11.477478,21.0087749 8.33364706,20.6345093 5.36447341,19.7362719 C4.44128496,19.4618105 3.54304755,19.137447 2.6198591,18.8879366 C2.22064248,18.7631814 1.79647481,18.6883283 1.39725819,18.48872 C0.998041564,18.3140627 0.648727016,18.0645523 0.424167665,17.6902867 C0.249510391,17.4158253 0.199608313,17.0665107 0.199608313,16.7421472 C0.199608313,16.4177837 0.27446143,16.0934202 0.399216625,15.7690567 C0.623775977,15.1452807 0.973090525,14.5963579 1.22260092,13.9725819 C1.62181754,12.9745403 1.69667066,11.8766946 1.64676858,10.8037999 C1.5968665,9.73090525 1.42220923,8.6829616 1.34735611,7.61006692 C1.32240507,7.13599718 1.29745403,6.6369764 1.39725819,6.1878577 C1.49706235,5.73873899 1.69667066,5.26466925 2.04598521,4.9153547 C2.37034871,4.61594223 2.79451638,4.41633392 3.21868404,4.3414808 C3.64285171,4.24167665 4.09197041,4.24167665 4.54108912,4.26662769 C4.99020782,4.26662769 5.41437548,4.29157872 5.86349419,4.26662769 C6.31261289,4.24167665 6.73678056,4.14187249 7.13599718,3.91731314 C7.51026277,3.71770482 7.80967524,3.39334132 8.03423459,3.06897781 C8.25879394,2.7446143 8.48335329,2.37034871 8.6829616,1.99608313 C8.88256992,1.62181754 9.10712927,1.27250299 9.35663966,0.948139486 C9.60615005,0.623775977 9.98041564,0.324363508 10.3796323,0.174657274" id="path4635-1"></path>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
<title>Visual Studio</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" transform="translate(-77.000000, -43.000000)">
<g id="Visual-Studio" transform="translate(76.000000, 41.000000)">
<polygon id="Rectangle" fill="#68217A" points="1 7 3 6 3 18 1 17"></polygon>
<polygon id="Rectangle-2" fill="#541D66" transform="translate(5.607051, 10.000000) rotate(-330.000000) translate(-5.607051, -10.000000) " points="1.34927858 7.83942379 7.86482304 8.6964746 9.86482304 12.1605762 2.84927858 10.4375"></polygon>
<polygon id="Rectangle-3" fill="#541D66" points="3 15 8 10 8 14 3 18"></polygon>
<polygon id="Rectangle-2-Copy" fill="#68217A" transform="translate(12.000000, 16.000000) rotate(-330.000000) translate(-12.000000, -16.000000) " points="5.53589838 12.8038476 15.4641016 14 18.4641016 19.1961524 7.53589838 16.2679492"></polygon>
<polygon id="Rectangle-2-Copy-2" fill="#68217A" transform="translate(12.433013, 8.250000) rotate(-330.000000) translate(-12.433013, -8.250000) " points="9.46891109 11.9820508 12.3971143 1.05384758 15.3971143 6.25 11.4689111 15.4461524"></polygon>
<polygon id="Rectangle-4" fill="#541D66" points="16 2 21 4 21 20 16 22"></polygon>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="33px" height="32px" viewBox="0 0 33 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
<title>Group 2</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" transform="translate(-28.000000, -50.000000)">
<g id="Group-2" transform="translate(28.000000, 50.000000)">
<g id="folder" transform="translate(0.000000, 5.000000)">
<polygon id="Rectangle-5" fill="#457EFD" points="0 4 27 0 30 21 3 25"></polygon>
<path d="M19.9232759,13.0294985 C20.1413793,12.8123894 20.1034483,12.6519174 19.9517241,12.4725664 C19.3543103,11.7646018 18.7758621,11.0566372 18.1784483,10.3486726 C16.5189655,8.35693215 14.85,6.35575221 13.1905172,4.35457227 C13.0577586,4.19410029 12.9439655,3.97699115 12.9060345,3.76932153 C12.8396552,3.36342183 13.1146552,2.99528024 13.512931,2.83480826 C13.9396552,2.67433628 14.3094828,2.78761062 14.6698276,3.21238938 C16.3008621,5.15693215 17.9413793,7.10147493 19.5724138,9.0460177 C19.9612069,9.50855457 20.3594828,9.97109145 20.7672414,10.4525074 C20.9758621,10.2353982 20.9474138,10.0749263 20.7956897,9.89557522 C20.1413793,9.12153392 19.487069,8.3380531 18.8327586,7.5640118 C17.5146552,5.99705015 16.2060345,4.4300885 14.8784483,2.8820059 C14.3474138,2.26843658 13.5413793,2.23067847 12.9534483,2.74041298 C12.375,3.24070796 12.3465517,3.94867257 12.887069,4.59056047 C14.9353448,7.05427729 16.9836207,9.50855457 19.0318966,11.9722714 C19.3258621,12.3309735 19.6198276,12.6707965 19.9232759,13.0294985 Z" id="Shape" fill="#235EE1" fill-rule="nonzero"></path>
<path d="M13.3801724,9.05545723 C13.3137931,9.00825959 13.237931,8.94218289 13.1525862,8.90442478 C12.4982759,8.65899705 11.8439655,8.43244838 11.1896552,8.18702065 C10.9810345,8.11150442 10.8862069,8.18702065 10.8103448,8.36637168 C9.61551724,11.2926254 8.42068966,14.2094395 7.22586207,17.1356932 C7.13103448,17.3528024 7.19741379,17.4566372 7.39655172,17.5321534 C8.01293103,17.7775811 8.62931034,18.0135693 9.2362069,18.2873156 C9.56810345,18.4383481 9.70086207,18.3628319 9.82413793,18.0324484 C10.962069,15.1345133 12.1189655,12.2460177 13.2663793,9.35752212 C13.2948276,9.29144543 13.3232759,9.19705015 13.3801724,9.05545723 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M19.6293103,13.1050147 C19.1551724,12.5103245 18.7189655,12.019469 18.3586207,11.4908555 C18.0362069,11 17.6758621,10.7451327 17.0784483,10.9905605 C16.9362069,11.0471976 16.775,11.0471976 16.6232759,11.0660767 C15.3525862,11.2831858 14.0913793,11.500295 12.8206897,11.7174041 C12.6215517,11.7551622 12.4508621,11.8023599 12.3655172,12.0383481 C12.1189655,12.7368732 11.8534483,13.4259587 11.5974138,14.1244838 C11.5689655,14.2 11.5689655,14.2943953 11.55,14.4265487 C14.2525862,13.9923304 16.8887931,13.5581121 19.6293103,13.1050147 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M8.97068966,12.2648968 C7.41551724,12.519764 5.9362069,12.7557522 4.40948276,13.0011799 C4.5137931,13.7091445 4.62758621,14.379351 4.70344828,15.0589971 C4.74137931,15.3516224 4.86465517,15.3893805 5.13017241,15.3516224 C5.90775862,15.2289086 6.69482759,15.1250737 7.48189655,15.0306785 C7.71896552,15.0023599 7.87068966,14.9079646 7.96551724,14.6908555 C8.25,14.0112094 8.55344828,13.3315634 8.84741379,12.6519174 C8.89482759,12.5386431 8.9137931,12.4442478 8.97068966,12.2648968 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M25.6413793,18.1551622 C24.712069,17.5887906 23.7922414,17.0318584 22.787069,16.4277286 C22.825,16.6070796 22.8060345,16.8147493 22.9008621,16.9185841 C23.0810345,17.1168142 23.2991379,17.2867257 23.5362069,17.4094395 C23.8586207,17.5887906 24.2,17.7115044 24.5318966,17.8719764 C25.0155172,18.1079646 25.3663793,18.4477876 25.3663793,19.0330383 C25.3663793,19.1274336 25.4137931,19.2218289 25.4517241,19.3256637 C25.5086207,19.2973451 25.5275862,19.2879056 25.5465517,19.2784661 C25.575,19.2501475 25.5939655,19.2218289 25.612931,19.1935103 C26.1818966,18.3533923 26.2198276,17.4283186 25.9732759,16.4843658 C25.6982759,15.4271386 25.2051724,14.5115044 24.1715517,13.9828909 C23.887069,13.8412979 23.7068966,13.9640118 23.4982759,14.1056047 C23.2801724,14.2566372 23.1568966,14.4359882 23.2137931,14.7569322 C23.3655172,14.6625369 23.4982759,14.5964602 23.5931034,14.5020649 C23.8301724,14.2566372 24.0482759,14.3132743 24.3137931,14.4831858 C25.3568966,15.2100295 26.0112069,17.0412979 25.6413793,18.1551622 Z" id="Shape" fill="#235EE1" fill-rule="nonzero"></path>
<path d="M6.57155172,22.1103245 C6.60948276,22.1292035 6.64741379,22.1480826 6.68534483,22.1575221 C7.62413793,20.9870206 8.57241379,19.8165192 9.53017241,18.6176991 C9.38793103,18.5421829 9.30258621,18.4855457 9.20775862,18.4477876 C8.60086207,18.2023599 7.99396552,17.9758112 7.39655172,17.720944 C7.11206897,17.5982301 7.02672414,17.6831858 7.00775862,17.9758112 C6.93189655,18.7687316 6.83706897,19.5616519 6.75172414,20.3640118 C6.68534483,20.9492625 6.62844828,21.5345133 6.57155172,22.1103245 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M12.687931,5.83657817 C12.137931,5.89321534 11.7775862,6.11976401 11.5689655,6.60117994 C11.4267241,6.95044248 11.2939655,7.29970501 11.1327586,7.63952802 C11.037931,7.83775811 11.0663793,7.96047198 11.2939655,8.0359882 C11.9293103,8.25309735 12.5646552,8.48908555 13.1905172,8.73451327 C13.4181034,8.81946903 13.512931,8.7439528 13.5982759,8.54572271 C13.7405172,8.18702065 13.9017241,7.82831858 14.0534483,7.46961652 C14.2525862,6.98820059 14.1672414,6.58230088 13.7310345,6.29911504 C13.4181034,6.10088496 13.0387931,5.98761062 12.687931,5.83657817 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M23.8112069,12.3498525 C24.6077586,12.2460177 25.3948276,12.1421829 26.1724138,12.019469 C26.2387931,12.0100295 26.3241379,11.840118 26.3146552,11.7646018 C26.2198276,11.1415929 26.1060345,10.5091445 25.9732759,9.89557522 C25.9543103,9.80117994 25.7931034,9.66902655 25.6982759,9.66902655 C25.3,9.69734513 24.9017241,9.7539823 24.5034483,9.820059 C24.3043103,9.84837758 24.162069,9.94277286 24.2758621,10.2259587 C24.6362069,10.1787611 25.0060345,10.1221239 25.3758621,10.0938053 C25.4612069,10.0843658 25.6224138,10.159882 25.6318966,10.2165192 C25.7362069,10.6884956 25.812069,11.179351 25.9068966,11.679646 C25.2905172,11.7646018 24.712069,11.840118 24.1431034,11.9156342 C23.9344828,11.9439528 23.7448276,11.9911504 23.8112069,12.3498525 Z" id="Shape" fill="#235EE1" fill-rule="nonzero"></path>
<path d="M19.9232759,13.0294985 C19.6198276,12.6707965 19.3258621,12.3309735 19.0318966,11.9722714 C16.9836207,9.50855457 14.9353448,7.05427729 12.887069,4.59056047 C12.3465517,3.94867257 12.375,3.25014749 12.9534483,2.74041298 C13.5508621,2.22123894 14.3568966,2.25899705 14.8784483,2.8820059 C16.2060345,4.4300885 17.5146552,6.00648968 18.8327586,7.5640118 C19.487069,8.3380531 20.1318966,9.12153392 20.7956897,9.89557522 C20.9474138,10.0749263 20.9853448,10.2353982 20.7672414,10.4525074 C20.3594828,9.97109145 19.9612069,9.50855457 19.5724138,9.0460177 C17.9413793,7.10147493 16.3008621,5.15693215 14.6698276,3.21238938 C14.3094828,2.78761062 13.9396552,2.66489676 13.512931,2.83480826 C13.1051724,2.99528024 12.8396552,3.36342183 12.9060345,3.76932153 C12.9344828,3.97699115 13.0482759,4.19410029 13.1905172,4.35457227 C14.85,6.35575221 16.5094828,8.34749263 18.1784483,10.3486726 C18.7663793,11.0566372 19.3543103,11.7646018 19.9517241,12.4725664 C20.1034483,12.6519174 20.1508621,12.8123894 19.9232759,13.0294985 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M25.6413793,18.1551622 C26.0112069,17.0412979 25.3568966,15.2100295 24.3137931,14.5020649 C24.0577586,14.3227139 23.8396552,14.2755162 23.5931034,14.520944 C23.4982759,14.6153392 23.3655172,14.6719764 23.2137931,14.7758112 C23.1568966,14.4454277 23.2801724,14.2755162 23.4982759,14.1244838 C23.7068966,13.9734513 23.887069,13.860177 24.1715517,14.0017699 C25.2051724,14.5303835 25.6982759,15.4460177 25.9732759,16.5032448 C26.2198276,17.4471976 26.1818966,18.3722714 25.612931,19.2123894 C25.5939655,19.240708 25.575,19.2690265 25.5465517,19.2973451 C25.5275862,19.3162242 25.5086207,19.3162242 25.4517241,19.3445428 C25.4232759,19.240708 25.3663793,19.1463127 25.3663793,19.0519174 C25.3663793,18.4666667 25.0155172,18.1268437 24.5318966,17.8908555 C24.2,17.7303835 23.8491379,17.6076696 23.5362069,17.4283186 C23.2991379,17.2961652 23.0715517,17.1356932 22.9008621,16.9374631 C22.8060345,16.8336283 22.825,16.6259587 22.787069,16.4466077 C23.7922414,17.0318584 24.712069,17.5887906 25.6413793,18.1551622 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
<path d="M23.8112069,12.3498525 C23.7353448,11.9911504 23.9344828,11.9439528 24.1431034,11.9156342 C24.712069,11.840118 25.2810345,11.7646018 25.9068966,11.679646 C25.812069,11.179351 25.7362069,10.6979351 25.6318966,10.2165192 C25.6224138,10.159882 25.4612069,10.0843658 25.3758621,10.0938053 C25.0060345,10.1221239 24.6362069,10.1787611 24.2758621,10.2259587 C24.1715517,9.93333333 24.3137931,9.84837758 24.5034483,9.820059 C24.9017241,9.76342183 25.3,9.69734513 25.6982759,9.66902655 C25.7931034,9.65958702 25.9543103,9.80117994 25.9732759,9.89557522 C26.1060345,10.5185841 26.2198276,11.1415929 26.3146552,11.7646018 C26.3241379,11.840118 26.2293103,12.0100295 26.1724138,12.019469 C25.3948276,12.1421829 24.6172414,12.2365782 23.8112069,12.3498525 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
<path d="M24.3232759,13.3569322 C23.687931,13.1681416 23.0810345,12.9982301 22.4836207,12.8283186 C22.2655172,12.7622419 22.3034483,12.6300885 22.3508621,12.4696165 C22.7017241,11.2330383 23.0431034,9.99646018 23.4034483,8.76932153 C23.7448276,7.60825959 23.9724138,6.42831858 23.8681034,5.220059 C23.7922414,4.35162242 23.6689655,3.5020649 23.0905172,2.76578171 C22.55,2.07669617 21.8198276,1.80294985 21.0043103,1.69911504 C19.8,1.53864307 18.6051724,1.55752212 17.3439655,1.66135693 C17.4672414,1.55752212 17.5715517,1.43480826 17.7043103,1.34041298 C18.6241379,0.689085546 19.6862069,0.396460177 20.7767241,0.226548673 C23.0525862,-0.132153392 25.2525862,0.207669617 27.4051724,0.943952802 C28.1543103,1.19882006 28.7801724,1.63303835 29.3301724,2.18053097 C29.8517241,2.69970501 30.4396552,2.80353982 31.0844828,2.53923304 C31.4827586,2.36932153 31.8241379,2.4259587 32.2034483,2.55811209 C33.1137931,2.87905605 33.1137931,2.86961652 32.8387931,3.80412979 C32.5922414,4.62536873 32.3456897,5.44660767 32.1086207,6.27728614 C32.0327586,6.53215339 31.9284483,6.6359882 31.6534483,6.54159292 C31.4543103,6.4660767 31.2456897,6.40943953 31.037069,6.38112094 C30.5913793,6.31504425 30.2689655,6.0979351 30.0034483,5.72035398 C29.5767241,5.14454277 28.9318966,5.19174041 28.3155172,5.25781711 C27.3862069,5.36165192 26.7887931,5.8619469 26.437931,6.74926254 C25.6508621,8.72212389 25.0724138,10.7610619 24.5034483,12.8 C24.4465517,12.9699115 24.3896552,13.139823 24.3232759,13.3569322 Z" id="Shape" fill="#D2D2D2" fill-rule="nonzero"></path>
<path d="M18.4913793,31.9150442 C17.1163793,31.9056047 16.2155172,31.0182891 16.262931,29.7250737 C16.2724138,29.5079646 16.3387931,29.2814159 16.4146552,29.0737463 C18.2068966,23.9858407 20.0086207,18.9073746 21.8103448,13.8289086 C22.0189655,13.2247788 21.8862069,13.2058997 22.6163793,13.4135693 C23.0146552,13.5268437 23.412931,13.6495575 23.8112069,13.7439528 C24.1051724,13.8100295 24.1810345,13.9327434 24.1051724,14.2348083 C23.7258621,15.7923304 23.375,17.3498525 23.0051724,18.9073746 C22.1043103,22.6548673 21.2034483,26.4117994 20.2931034,30.159292 C20.2077586,30.5085546 20.0655172,30.8578171 19.8853448,31.1693215 C19.5724138,31.6884956 19.0887931,31.9622419 18.4913793,31.9150442 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View File

@ -0,0 +1,175 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_AnimatedApp.svg"><metadata
id="metadata50"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs48" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview46"
showgrid="false"
inkscape:zoom="5.6568543"
inkscape:cx="85.414924"
inkscape:cy="49.441529"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><g
id="Layer_1_18_"
style="stroke:#a45c94;stroke-opacity:1"><rect
x="16.3"
y="10.9"
stroke-miterlimit="10"
width="103.6"
height="67.5"
id="rect4"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="2.4"
id="rect6"
style="stroke:#a45c9f;stroke-opacity:0.94117647" /><circle
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
cx="80.3"
cy="45"
r="20.8"
id="circle8"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g10"
style="stroke:#a45c94;stroke-opacity:1"><g
id="g12"
style="stroke:#a45c94;stroke-opacity:1"><path
stroke-miterlimit="10"
d="M97.8,40.1c0.9,3.2,0,8-2.1,8.3 c-2,0.2-10.5-2.2-14.8-3.6c2.9-3.4,8.9-10,10.8-10.8C93.5,33.2,96.9,36.9,97.8,40.1z"
id="path14"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g16"
style="stroke:#a45c94;stroke-opacity:1"><path
stroke-miterlimit="10"
d="M93.3,57.7c-2.3,2.4-7,4-8.2,2.4 c-1.2-1.6-3.4-10.2-4.3-14.6c4.4,0.8,13.1,2.8,14.7,4C97.2,50.5,95.6,55.3,93.3,57.7z"
id="path18"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g20"
style="stroke:#a45c94;stroke-opacity:1"><path
stroke-miterlimit="10"
d="M75.7,62.6c-3.2-0.8-7-4.1-6.1-6 c0.8-1.9,7.2-8,10.5-11.1c1.5,4.3,4.1,12.7,3.9,14.8C83.9,62.4,79,63.4,75.7,62.6z"
id="path22"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g24"
style="stroke:#a45c94;stroke-opacity:1"><path
stroke-miterlimit="10"
d="M62.9,49.9c-0.9-3.2,0-8,2.1-8.3 c2-0.2,10.5,2.2,14.8,3.6c-2.9,3.4-8.9,10-10.8,10.8C67.2,56.8,63.8,53.1,62.9,49.9z"
id="path26"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g28"
style="stroke:#a45c94;stroke-opacity:1"><path
stroke-miterlimit="10"
d="M67.4,32.3c2.3-2.4,7-4,8.2-2.4 c1.2,1.6,3.4,10.2,4.3,14.6c-4.4-0.8-13.1-2.8-14.7-4C63.5,39.4,65.1,34.7,67.4,32.3z"
id="path30"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g32"
style="stroke:#a45c94;stroke-opacity:1"><path
stroke-miterlimit="10"
d="M84.8,27.4c3.2,0.8,7,4.1,6.1,6 c-0.8,1.9-7.2,8-10.5,11.1c-1.5-4.3-4.1-12.7-3.9-14.8C76.7,27.6,81.6,26.6,84.8,27.4z"
id="path34"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /></g></g><path
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3.1,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path36"
stroke-width="1.3469"
stroke="#a45c94"
fill="none"
style="stroke:#a45c94;stroke-opacity:1" /><path
opacity="0.8"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M62.6,61.4 c-9.1-9.1-9.1-23.7,0-32.8"
id="path38"
style="stroke:#a45c94;stroke-opacity:1" /><path
opacity="0.5"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M55.9,57.3 c-4.7-7.4-4.7-16.9-0.1-24.4"
id="path40"
style="stroke:#a45c94;stroke-opacity:1" /><line
opacity="0.7"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
x1="57.7"
y1="41.5"
x2="37.8"
y2="41.5"
id="line42"
style="stroke:#a45c94;stroke-opacity:1" /><line
opacity="0.7"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
x1="57.7"
y1="48.4"
x2="34.2"
y2="48.4"
id="line44"
style="stroke:#a45c94;stroke-opacity:0.94117647" /></svg>

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -0,0 +1,752 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_AudioApp.svg"><metadata
id="metadata137"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs135" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview133"
showgrid="false"
inkscape:zoom="4.1114981"
inkscape:cx="45.83412"
inkscape:cy="47.98031"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3.1,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path3"
style="fill:none;fill-opacity:1;stroke:#a45c94;stroke-opacity:1" /><rect
x="16.5"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3412"
stroke-miterlimit="10"
width="102.7"
height="2.4"
id="rect5"
style="stroke:#a45c94;stroke-opacity:1" /><rect
x="16.5"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="102.9"
height="67.5"
id="rect7"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="17.1"
y1="43.8"
x2="17.1"
y2="44.5"
id="line9"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="18.8"
y1="43.6"
x2="18.8"
y2="44.7"
id="line11"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="20.4"
y1="43.8"
x2="20.4"
y2="44.5"
id="line13"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="22.1"
y1="43.6"
x2="22.1"
y2="44.7"
id="line15"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="23.8"
y1="43.1"
x2="23.8"
y2="45.2"
id="line17"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="25.4"
y1="42.3"
x2="25.4"
y2="46"
id="line19"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="27.1"
y1="43.9"
x2="27.1"
y2="44.4"
id="line21"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="28.8"
y1="43.3"
x2="28.8"
y2="45"
id="line23"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="30.4"
y1="29.3"
x2="30.4"
y2="59"
id="line25"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="32.1"
y1="40.9"
x2="32.1"
y2="47.4"
id="line27"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="33.8"
y1="42.7"
x2="33.8"
y2="45.6"
id="line29"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="35.4"
y1="36.6"
x2="35.4"
y2="51.7"
id="line31"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="37.1"
y1="33.3"
x2="37.1"
y2="55.1"
id="line33"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="38.8"
y1="42.6"
x2="38.8"
y2="45.7"
id="line35"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="40.4"
y1="37.4"
x2="40.4"
y2="50.9"
id="line37"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="42.1"
y1="27.4"
x2="42.1"
y2="60.9"
id="line39"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="43.8"
y1="39.3"
x2="43.8"
y2="49"
id="line41"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="45.4"
y1="41.1"
x2="45.4"
y2="47.2"
id="line43"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="47.1"
y1="42.6"
x2="47.1"
y2="45.7"
id="line45"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="48.8"
y1="36.2"
x2="48.8"
y2="52.1"
id="line47"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="50.4"
y1="42.5"
x2="50.4"
y2="45.9"
id="line49"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="52.1"
y1="39.3"
x2="52.1"
y2="49"
id="line51"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="53.8"
y1="34.8"
x2="53.8"
y2="53.5"
id="line53"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="55.4"
y1="42.2"
x2="55.4"
y2="46.1"
id="line55"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="57.1"
y1="41"
x2="57.1"
y2="47.3"
id="line57"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="58.8"
y1="35.4"
x2="58.8"
y2="53"
id="line59"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="60.4"
y1="32.6"
x2="60.4"
y2="55.8"
id="line61"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="62.1"
y1="37.4"
x2="62.1"
y2="50.9"
id="line63"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="63.8"
y1="38.1"
x2="63.8"
y2="50.2"
id="line65"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="65.4"
y1="42.2"
x2="65.4"
y2="46.1"
id="line67"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="67.1"
y1="38.9"
x2="67.1"
y2="49.4"
id="line69"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="68.8"
y1="43.6"
x2="68.8"
y2="44.7"
id="line71"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="70.4"
y1="41.4"
x2="70.4"
y2="47"
id="line73"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="72.1"
y1="39"
x2="72.1"
y2="49.3"
id="line75"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="73.8"
y1="40.9"
x2="73.8"
y2="47.5"
id="line77"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="75.4"
y1="40.6"
x2="75.4"
y2="47.8"
id="line79"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="77.1"
y1="38.4"
x2="77.1"
y2="49.9"
id="line81"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="78.8"
y1="42"
x2="78.8"
y2="46.3"
id="line83"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="80.4"
y1="42.2"
x2="80.4"
y2="46.1"
id="line85"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="82.1"
y1="43.6"
x2="82.1"
y2="44.7"
id="line87"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="83.8"
y1="42.6"
x2="83.8"
y2="45.7"
id="line89"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="85.4"
y1="43.3"
x2="85.4"
y2="45"
id="line91"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="87.1"
y1="39.9"
x2="87.1"
y2="48.4"
id="line93"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="88.8"
y1="42.9"
x2="88.8"
y2="45.4"
id="line95"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="90.4"
y1="43.6"
x2="90.4"
y2="44.7"
id="line97"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="92.1"
y1="43.6"
x2="92.1"
y2="44.7"
id="line99"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="93.8"
y1="42.7"
x2="93.8"
y2="45.6"
id="line101"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="95.4"
y1="41.1"
x2="95.4"
y2="47.2"
id="line103"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="97.1"
y1="42.7"
x2="97.1"
y2="45.6"
id="line105"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="98.8"
y1="43.6"
x2="98.8"
y2="44.7"
id="line107"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="100.4"
y1="43.1"
x2="100.4"
y2="45.2"
id="line109"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="102.1"
y1="43.6"
x2="102.1"
y2="44.7"
id="line111"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="103.8"
y1="42"
x2="103.8"
y2="46.3"
id="line113"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="105.4"
y1="43.6"
x2="105.4"
y2="44.7"
id="line115"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="107.1"
y1="43.8"
x2="107.1"
y2="44.5"
id="line117"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="108.8"
y1="43.6"
x2="108.8"
y2="44.7"
id="line119"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="110.4"
y1="43.6"
x2="110.4"
y2="44.7"
id="line121"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="112.1"
y1="42.6"
x2="112.1"
y2="45.7"
id="line123"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="113.8"
y1="43.1"
x2="113.8"
y2="45.2"
id="line125"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="115.4"
y1="43.6"
x2="115.4"
y2="44.7"
id="line127"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="117.1"
y1="43.8"
x2="117.1"
y2="44.5"
id="line129"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="118.8"
y1="43.8"
x2="118.8"
y2="44.5"
id="line131"
style="stroke:#a45c94;stroke-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,854 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_AudioPlugin.svg"><metadata
id="metadata181"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs179" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview177"
showgrid="false"
inkscape:zoom="8.2229963"
inkscape:cx="67.455426"
inkscape:cy="64.924074"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><g
id="Layer_1_23_"
style="stroke:#a45c94;stroke-opacity:1"><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="67.5"
id="rect4"
style="stroke:#a45c94;stroke-opacity:1" /></g><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="2.4"
id="rect6"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3.1,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path8"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="Layer_1_8_"
style="stroke:#a45c94;stroke-opacity:1"><rect
x="35.7"
y="23.6"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="64.4"
height="42.3"
id="rect11"
style="stroke:#a45c94;stroke-opacity:1" /></g><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="36"
y1="44.1"
x2="36"
y2="44.6"
id="line13"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="37.1"
y1="44"
x2="37.1"
y2="44.7"
id="line15"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="38.1"
y1="44.1"
x2="38.1"
y2="44.6"
id="line17"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="39.2"
y1="44"
x2="39.2"
y2="44.7"
id="line19"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="40.2"
y1="43.7"
x2="40.2"
y2="45"
id="line21"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="41.3"
y1="43.2"
x2="41.3"
y2="45.5"
id="line23"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="42.3"
y1="44.2"
x2="42.3"
y2="44.5"
id="line25"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="43.3"
y1="43.8"
x2="43.3"
y2="44.9"
id="line27"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="44.4"
y1="35.1"
x2="44.4"
y2="53.6"
id="line29"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="45.4"
y1="42.3"
x2="45.4"
y2="46.4"
id="line31"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="46.5"
y1="43.4"
x2="46.5"
y2="45.3"
id="line33"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="47.5"
y1="39.6"
x2="47.5"
y2="49.1"
id="line35"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="48.6"
y1="37.5"
x2="48.6"
y2="51.2"
id="line37"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="49.6"
y1="43.4"
x2="49.6"
y2="45.3"
id="line39"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="50.6"
y1="40.1"
x2="50.6"
y2="48.6"
id="line41"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="51.7"
y1="33.9"
x2="51.7"
y2="54.9"
id="line43"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="52.7"
y1="41.3"
x2="52.7"
y2="47.4"
id="line45"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="53.8"
y1="42.5"
x2="53.8"
y2="46.3"
id="line47"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="54.8"
y1="43.4"
x2="54.8"
y2="45.3"
id="line49"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="55.9"
y1="39.4"
x2="55.9"
y2="49.3"
id="line51"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="56.9"
y1="43.3"
x2="56.9"
y2="45.4"
id="line53"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="57.9"
y1="41.3"
x2="57.9"
y2="47.4"
id="line55"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="59"
y1="38.5"
x2="59"
y2="50.2"
id="line57"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="60"
y1="43.1"
x2="60"
y2="45.6"
id="line59"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="61.1"
y1="42.4"
x2="61.1"
y2="46.3"
id="line61"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="62.1"
y1="38.8"
x2="62.1"
y2="49.9"
id="line63"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="63.2"
y1="37.1"
x2="63.2"
y2="51.6"
id="line65"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="64.2"
y1="40.1"
x2="64.2"
y2="48.6"
id="line67"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="65.2"
y1="40.6"
x2="65.2"
y2="48.1"
id="line69"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="66.3"
y1="43.1"
x2="66.3"
y2="45.6"
id="line71"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="67.3"
y1="41.1"
x2="67.3"
y2="47.6"
id="line73"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="68.4"
y1="44"
x2="68.4"
y2="44.7"
id="line75"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="69.4"
y1="42.6"
x2="69.4"
y2="46.1"
id="line77"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="70.5"
y1="41.1"
x2="70.5"
y2="47.6"
id="line79"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="71.5"
y1="42.3"
x2="71.5"
y2="46.4"
id="line81"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="72.5"
y1="42.1"
x2="72.5"
y2="46.6"
id="line83"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="73.6"
y1="40.8"
x2="73.6"
y2="47.9"
id="line85"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="74.6"
y1="43"
x2="74.6"
y2="45.7"
id="line87"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="75.7"
y1="43.1"
x2="75.7"
y2="45.6"
id="line89"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="76.7"
y1="44"
x2="76.7"
y2="44.7"
id="line91"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="77.8"
y1="43.4"
x2="77.8"
y2="45.3"
id="line93"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="78.8"
y1="43.8"
x2="78.8"
y2="44.9"
id="line95"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="79.9"
y1="41.7"
x2="79.9"
y2="47"
id="line97"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="80.9"
y1="43.6"
x2="80.9"
y2="45.2"
id="line99"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="81.9"
y1="44"
x2="81.9"
y2="44.7"
id="line101"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="83"
y1="44"
x2="83"
y2="44.7"
id="line103"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="84"
y1="43.4"
x2="84"
y2="45.3"
id="line105"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="85.1"
y1="42.5"
x2="85.1"
y2="46.3"
id="line107"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="86.1"
y1="43.5"
x2="86.1"
y2="45.2"
id="line109"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="87.2"
y1="44"
x2="87.2"
y2="44.7"
id="line111"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="88.2"
y1="43.7"
x2="88.2"
y2="45"
id="line113"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="89.2"
y1="44"
x2="89.2"
y2="44.7"
id="line115"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="90.3"
y1="43"
x2="90.3"
y2="45.7"
id="line117"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="91.3"
y1="44"
x2="91.3"
y2="44.7"
id="line119"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="92.4"
y1="44.2"
x2="92.4"
y2="44.6"
id="line121"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="93.4"
y1="44"
x2="93.4"
y2="44.7"
id="line123"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="94.5"
y1="44"
x2="94.5"
y2="44.7"
id="line125"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="95.5"
y1="43.4"
x2="95.5"
y2="45.3"
id="line127"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="96.5"
y1="43.7"
x2="96.5"
y2="45"
id="line129"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="97.6"
y1="44"
x2="97.6"
y2="44.7"
id="line131"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="98.6"
y1="44.2"
x2="98.6"
y2="44.6"
id="line133"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-linecap="round"
stroke-miterlimit="10"
x1="99.7"
y1="44.2"
x2="99.7"
y2="44.6"
id="line135"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g137"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><g
id="g139"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-miterlimit="10"
x1="16.3"
y1="35.1"
x2="35.8"
y2="35.1"
id="line141"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><g
id="g143"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><circle
fill="#a45c94"
cx="35.7"
cy="35.1"
r="1.7"
id="circle145"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /></g></g></g><g
id="g147"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><g
id="g149"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-miterlimit="10"
x1="16.3"
y1="54.4"
x2="35.8"
y2="54.4"
id="line151"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><g
id="g153"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><circle
fill="#a45c94"
cx="35.7"
cy="54.4"
r="1.7"
id="circle155"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /></g></g></g><g
id="g157"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><g
id="g159"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-miterlimit="10"
x1="119.7"
y1="54.4"
x2="100.2"
y2="54.4"
id="line161"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><g
id="g163"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><circle
fill="#a45c94"
cx="100.3"
cy="54.4"
r="1.7"
id="circle165"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /></g></g></g><g
id="g167"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><g
id="g169"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="1.5"
stroke-miterlimit="10"
x1="119.7"
y1="35.1"
x2="100.2"
y2="35.1"
id="line171"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><g
id="g173"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><circle
fill="#a45c94"
cx="100.3"
cy="35.1"
r="1.7"
id="circle175"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /></g></g></g></svg>

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_ConsoleApp.svg"><metadata
id="metadata25"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs23" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview21"
showgrid="false"
inkscape:zoom="2.0557491"
inkscape:cx="68.449997"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3.1,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path3"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="Layer_1_22_"
style="stroke:#a45c94;stroke-opacity:1"><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="102.9"
height="67.5"
id="rect6"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="Layer_3_3_"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><g
opacity="0.8"
id="g9"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><path
fill="#a45c94"
d="M40.6,28.3l-14.4-6.6v-2.3l17.3,7.8v2.1l-17.3,7.8v-2.3L40.6,28.3z"
id="path11"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><path
fill="#a45c94"
d="M62,39.5v1.7H45v-1.7H62z"
id="path13"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /></g><g
id="g15"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1"><path
fill="#a45c94"
d="M40.6,28.3l-14.4-6.6v-2.3l17.3,7.8v2.1l-17.3,7.8v-2.3L40.6,28.3z"
id="path17"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><path
fill="#a45c94"
d="M62,39.5v1.7H45v-1.7H62z"
id="path19"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /></g></g></svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,269 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_DLL.svg"><metadata
id="metadata60"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs58" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview56"
showgrid="false"
inkscape:zoom="2.0557491"
inkscape:cx="68.449997"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.9H6.9c-3.8,0-6.9-3.1-6.9-6.9V7 c0-3.8,3.1-6.9,6.9-6.9H130c3.8,0,6.9,3.1,6.9,6.9V108C136.9,111.8,133.9,114.9,130,114.9z"
id="path3"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="Layer_1_19_"
style="stroke:#a45c94;stroke-opacity:1"><rect
x="16.3"
y="11"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="102.9"
height="67.5"
id="rect6"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g8"
style="stroke:#a45c94;stroke-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="39.6"
y1="25"
x2="39.6"
y2="62.3"
id="line10"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="41.2"
y1="25"
x2="41.2"
y2="62.3"
id="line12"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="42.8"
y1="25"
x2="42.8"
y2="62.3"
id="line14"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="44.5"
y1="25"
x2="44.5"
y2="62.3"
id="line16"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="46.1"
y1="25"
x2="46.1"
y2="62.3"
id="line18"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="47.7"
y1="25"
x2="47.7"
y2="62.3"
id="line20"
style="stroke:#a45c94;stroke-opacity:1" /></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.0853"
stroke-miterlimit="10"
d="M49.9,23.9v38.6c0,0.9-0.7,1.6-1.6,1.6H39 c-0.9,0-1.6-0.7-1.6-1.6V23.9"
id="path22"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g24"
style="stroke:#a45c94;stroke-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="54.8"
y1="27.5"
x2="67.4"
y2="62.6"
id="line26"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="56.3"
y1="27"
x2="69"
y2="62"
id="line28"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="57.8"
y1="26.4"
x2="70.5"
y2="61.5"
id="line30"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="59.4"
y1="25.9"
x2="72.1"
y2="60.9"
id="line32"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="60.9"
y1="25.3"
x2="73.6"
y2="60.4"
id="line34"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="62.4"
y1="24.8"
x2="75.1"
y2="59.8"
id="line36"
style="stroke:#a45c94;stroke-opacity:1" /></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.0853"
stroke-miterlimit="10"
d="M64.1,23l13.1,36.3c0.3,0.8-0.1,1.7-0.9,2 l-8.8,3.2c-0.8,0.3-1.7-0.1-2-0.9L52.4,27.2"
id="path38"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g40"
style="stroke:#a45c94;stroke-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="72.5"
y1="30.6"
x2="93.5"
y2="61.4"
id="line42"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="73.8"
y1="29.7"
x2="94.9"
y2="60.5"
id="line44"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="75.2"
y1="28.8"
x2="96.2"
y2="59.6"
id="line46"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="76.5"
y1="27.9"
x2="97.6"
y2="58.6"
id="line48"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="77.9"
y1="27"
x2="98.9"
y2="57.7"
id="line50"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4307"
stroke-miterlimit="10"
x1="79.2"
y1="26"
x2="100.3"
y2="56.8"
id="line52"
style="stroke:#a45c94;stroke-opacity:1" /></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.0853"
stroke-miterlimit="10"
d="M80.4,23.9l21.8,31.9c0.5,0.7,0.3,1.7-0.4,2.2 l-7.7,5.3c-0.7,0.5-1.7,0.3-2.2-0.4L70.1,31"
id="path54"
style="stroke:#a45c94;stroke-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -0,0 +1,168 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_GUI.svg"><metadata
id="metadata53"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs51" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview49"
showgrid="false"
inkscape:zoom="2.0557491"
inkscape:cx="68.449997"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="67.5"
id="rect3"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="0.7078"
stroke-miterlimit="10"
d="M55.2,62.5H23.4c-0.4,0-0.7-0.4-0.7-0.9l0,0 c0-0.5,0.3-0.9,0.7-0.9h31.8c0.4,0,0.7,0.4,0.7,0.9l0,0C55.9,62.1,55.5,62.5,55.2,62.5z"
id="path5"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="#a45c94"
d="M38.1,62.5H23.4c-0.4,0-0.7-0.4-0.7-0.9l0,0c0-0.5,0.3-0.9,0.7-0.9h14.7c0.4,0,0.7,0.4,0.7,0.9l0,0 C38.7,62.1,38.4,62.5,38.1,62.5z"
id="path7"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="0.7078"
stroke-miterlimit="10"
d="M55.2,67.8H23.4c-0.4,0-0.7-0.4-0.7-0.9l0,0 c0-0.5,0.3-0.9,0.7-0.9h31.8c0.4,0,0.7,0.4,0.7,0.9l0,0C55.9,67.4,55.5,67.8,55.2,67.8z"
id="path9"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="#a45c94"
d="M44.2,67.8H23.4c-0.4,0-0.7-0.4-0.7-0.9l0,0c0-0.5,0.3-0.9,0.7-0.9h20.8c0.4,0,0.7,0.4,0.7,0.9l0,0 C44.8,67.4,44.6,67.8,44.2,67.8z"
id="path11"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="0.7078"
stroke-miterlimit="10"
d="M55.2,73H23.4c-0.4,0-0.7-0.4-0.7-0.9l0,0 c0-0.5,0.3-0.9,0.7-0.9h31.8c0.4,0,0.7,0.4,0.7,0.9l0,0C55.9,72.6,55.5,73,55.2,73z"
id="path13"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="#a45c94"
d="M49.4,73h-26c-0.4,0-0.7-0.4-0.7-0.9l0,0c0-0.5,0.3-0.9,0.7-0.9h26c0.4,0,0.7,0.4,0.7,0.9l0,0 C50.1,72.6,49.8,73,49.4,73z"
id="path15"
style="stroke:#a45c94;stroke-opacity:1;fill:#a45c94;fill-opacity:1" /><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="2.4"
id="rect17"
style="stroke:#a45c94;stroke-opacity:1" /><circle
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
cx="69.3"
cy="39.6"
r="13.9"
id="circle19"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g21"
style="stroke:#a45c94;stroke-opacity:1"><g
id="g23"
style="stroke:#a45c94;stroke-opacity:1"><path
fill="none"
stroke="#a45c94"
stroke-width="1.2523"
stroke-miterlimit="10"
d="M79.8,33.5c1.1,1.9,1.3,5.2,0,5.7 c-1.3,0.5-7.2,0.3-10.2,0.2c1.3-2.7,4.1-7.9,5.2-8.8C75.9,29.7,78.7,31.6,79.8,33.5z"
id="path25"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g27"
style="stroke:#a45c94;stroke-opacity:1"><path
fill="none"
stroke="#a45c94"
stroke-width="1.2523"
stroke-miterlimit="10"
d="M79.8,45.6c-1.1,1.9-3.8,3.7-4.9,2.9 c-1.1-0.9-3.9-6.1-5.2-8.8c3-0.2,8.9-0.4,10.2,0.1C81.2,40.4,80.9,43.7,79.8,45.6z"
id="path29"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g31"
style="stroke:#a45c94;stroke-opacity:1"><path
fill="none"
stroke="#a45c94"
stroke-width="1.2523"
stroke-miterlimit="10"
d="M69.3,51.7c-2.2,0-5.2-1.5-5-2.8 s3.3-6.4,5-8.9c1.7,2.5,4.8,7.5,5,8.9S71.5,51.7,69.3,51.7z"
id="path33"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g35"
style="stroke:#a45c94;stroke-opacity:1"><path
fill="none"
stroke="#a45c94"
stroke-width="1.2523"
stroke-miterlimit="10"
d="M58.9,45.6c-1.1-1.9-1.3-5.2,0-5.7 c1.3-0.5,7.2-0.3,10.2-0.2c-1.3,2.7-4.1,7.9-5.2,8.8C62.8,49.4,60,47.6,58.9,45.6z"
id="path37"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g39"
style="stroke:#a45c94;stroke-opacity:1"><path
fill="none"
stroke="#a45c94"
stroke-width="1.2523"
stroke-miterlimit="10"
d="M58.9,33.5c1.1-1.9,3.8-3.7,4.9-2.9 c1.1,0.9,3.9,6.1,5.2,8.8c-3,0.2-8.9,0.4-10.2-0.1C57.5,38.8,57.8,35.5,58.9,33.5z"
id="path41"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g43"
style="stroke:#a45c94;stroke-opacity:1"><path
fill="none"
stroke="#a45c94"
stroke-width="1.2523"
stroke-miterlimit="10"
d="M69.3,27.5c2.2,0,5.2,1.5,5,2.8 s-3.3,6.4-5,8.9c-1.7-2.5-4.8-7.5-5-8.9S67.1,27.5,69.3,27.5z"
id="path45"
style="stroke:#a45c94;stroke-opacity:1" /></g></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3.1,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path47"
style="stroke:#a45c94;stroke-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_Highlight.svg"><metadata
id="metadata9"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs7" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview5"
showgrid="false"
inkscape:zoom="2.0557491"
inkscape:cx="68.449997"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
opacity="0.2"
fill="#a45c94"
d="M130.1,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9C0,3.1,3.1,0,6.9,0h123.2c3.8,0,6.9,3.1,6.9,6.9 V108C136.9,111.8,133.9,114.8,130.1,114.8z"
id="path3"
style="fill:#a45c94;fill-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_OpenGL.svg"><metadata
id="metadata29"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs27" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview25"
showgrid="false"
inkscape:zoom="2.0557491"
inkscape:cx="-16.190683"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="67.5"
id="rect3"
style="stroke:#a45c94;stroke-opacity:1" /><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="103.6"
height="2.4"
id="rect5"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M75.8,31.5c8.7,4.7,14.8,13.2,13.5,20 c-1.6,8.5-13.8,11.4-26.8,4.3S45.3,36.9,51.6,30.9C56.7,26.1,67.1,26.7,75.8,31.5z"
id="path7"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M86.1,43.6c1,2.4,0.5,5.5-1.3,5 c-1.9-0.5-9.8-5-13.8-7.4c2.9-1.2,8.2-3.2,9.8-3.2C82.2,38.2,85.2,41.4,86.1,43.6z"
id="path9"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M83,55.3c-2.3,1.3-7.3,1.2-8.6-0.7 c-1.2-1.9-2.9-9.5-3.5-12.9c4.2,2.1,12.2,6.3,13.8,7.7C86.3,50.7,85.2,54,83,55.3z"
id="path11"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M63.6,53.5c-3.6-2-7.3-6.3-5.9-7.6 c1.3-1.2,9-3.5,12.5-4.4c1.2,3.5,3.4,11.2,3.1,13C73,56.3,67.3,55.5,63.6,53.5z"
id="path13"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M51.9,38.3c-0.1-2.5,2-5.2,4.1-4.6 c2.1,0.6,9.9,5.1,13.9,7.5c-3.2,1.3-10.5,4.1-12.8,4.1C54.9,45.1,52,40.9,51.9,38.3z"
id="path15"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M60,29.3c2.4-0.4,6.6,0.3,7.5,1.5 c0.9,1.2,2.1,6.8,2.6,9.9c-4.2-2.1-12.3-6.3-13.7-7.6C55,31.8,57.4,29.8,60,29.3z"
id="path17"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M75.2,32.5c2.5,1.4,5.6,4.3,5,5 c-0.7,0.8-6.3,2.5-9.5,3.3c-1.1-3.2-2.7-8.9-2.4-9.9C68.6,30,72.6,31.1,75.2,32.5z"
id="path19"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3.1,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path21"
style="stroke:#a45c94;stroke-opacity:1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M87.4,55.5c-6.6,10.4-20.4,14.6-30.8,8 s-13.4-19.6-6.9-30"
id="path23"
style="stroke:#a45c94;stroke-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 177.9 114.8"
enable-background="new 0 0 177.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_Openfile.svg"><metadata
id="metadata9"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs7" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview5"
showgrid="false"
inkscape:zoom="1.7425521"
inkscape:cx="88.949997"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M164.7,71.4H13.2c-3.8,0-6.9-3.1-6.9-6.9V43.6 c0-3.8,3.1-6.9,6.9-6.9h151.5c3.8,0,6.9,3.1,6.9,6.9v20.9C171.6,68.3,168.5,71.4,164.7,71.4z"
id="path3"
style="stroke:#a45c94;stroke-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,269 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 136.9 114.8"
enable-background="new 0 0 136.9 114.8"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="wizard_StaticLibrary.svg"><metadata
id="metadata60"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs58" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="1001"
id="namedview56"
showgrid="false"
inkscape:zoom="2.0557491"
inkscape:cx="68.449997"
inkscape:cy="57.400002"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
d="M130,114.8H6.9c-3.8,0-6.9-3.1-6.9-6.9V6.9 C0,3,3.1,0,6.9,0H130c3.8,0,6.9,3.1,6.9,6.9v101.1C136.9,111.7,133.9,114.8,130,114.8z"
id="path3"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="Layer_1_21_"
style="stroke:#a45c94;stroke-opacity:1"><rect
x="16.3"
y="10.9"
fill="none"
stroke="#a45c94"
stroke-width="1.3469"
stroke-miterlimit="10"
width="102.9"
height="67.5"
id="rect6"
style="stroke:#a45c94;stroke-opacity:1" /></g><g
id="g8"
style="stroke:#a45c94;stroke-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="43.1"
y1="22.1"
x2="43.1"
y2="64.9"
id="line10"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="45"
y1="22.1"
x2="45"
y2="64.9"
id="line12"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="46.8"
y1="22.1"
x2="46.8"
y2="64.9"
id="line14"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="48.7"
y1="22.1"
x2="48.7"
y2="64.9"
id="line16"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="50.6"
y1="22.1"
x2="50.6"
y2="64.9"
id="line18"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="52.5"
y1="22.1"
x2="52.5"
y2="64.9"
id="line20"
style="stroke:#a45c94;stroke-opacity:1" /></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.2453"
stroke-miterlimit="10"
d="M54.9,20.8v44.3c0,1-0.8,1.8-1.8,1.8H42.4 c-1,0-1.8-0.8-1.8-1.8V20.8"
id="path22"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g24"
style="stroke:#a45c94;stroke-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="64.5"
y1="22.1"
x2="64.5"
y2="64.9"
id="line26"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="66.4"
y1="22.1"
x2="66.4"
y2="64.9"
id="line28"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="68.3"
y1="22.1"
x2="68.3"
y2="64.9"
id="line30"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="70.1"
y1="22.1"
x2="70.1"
y2="64.9"
id="line32"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="72"
y1="22.1"
x2="72"
y2="64.9"
id="line34"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="73.9"
y1="22.1"
x2="73.9"
y2="64.9"
id="line36"
style="stroke:#a45c94;stroke-opacity:1" /></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.2453"
stroke-miterlimit="10"
d="M76.4,20.8v44.3c0,1-0.8,1.8-1.8,1.8H63.8 c-1,0-1.8-0.8-1.8-1.8V20.8"
id="path38"
style="stroke:#a45c94;stroke-opacity:1" /><g
id="g40"
style="stroke:#a45c94;stroke-opacity:1"><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="85.9"
y1="22.1"
x2="85.9"
y2="64.9"
id="line42"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="87.8"
y1="22.1"
x2="87.8"
y2="64.9"
id="line44"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="89.7"
y1="22.1"
x2="89.7"
y2="64.9"
id="line46"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="91.6"
y1="22.1"
x2="91.6"
y2="64.9"
id="line48"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="93.4"
y1="22.1"
x2="93.4"
y2="64.9"
id="line50"
style="stroke:#a45c94;stroke-opacity:1" /><line
fill="none"
stroke="#a45c94"
stroke-width="0.4942"
stroke-miterlimit="10"
x1="95.3"
y1="22.1"
x2="95.3"
y2="64.9"
id="line52"
style="stroke:#a45c94;stroke-opacity:1" /></g><path
fill="none"
stroke="#a45c94"
stroke-width="1.2453"
stroke-miterlimit="10"
d="M97.8,20.8v44.3c0,1-0.8,1.8-1.8,1.8H85.3 c-1,0-1.8-0.8-1.8-1.8V20.8"
id="path54"
style="stroke:#a45c94;stroke-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -0,0 +1,56 @@
#pragma once
%%include_juce%%
//==============================================================================
/*
This component lives inside our window, and this is where you should put all
your controls and content.
*/
class %%content_component_class%% : public juce::AnimatedAppComponent
{
public:
//==============================================================================
%%content_component_class%%()
{
// Make sure you set the size of the component after
// you add any child components.
setSize (800, 600);
setFramesPerSecond (60); // This sets the frequency of the update calls.
}
~%%content_component_class%%() override
{
}
//==============================================================================
void update() override
{
// This function is called at the frequency specified by the setFramesPerSecond() call
// in the constructor. You can use it to update counters, animate values, etc.
}
//==============================================================================
void paint (juce::Graphics& g) override
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId));
// You can add your drawing code here!
}
void resized() override
{
// This is called when the MainContentComponent is resized.
// If you add any child components, this is where you should
// update their positions.
}
private:
//==============================================================================
// Your private member variables go here...
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (%%content_component_class%%)
};

View File

@ -0,0 +1,37 @@
%%include_corresponding_header%%
//==============================================================================
%%content_component_class%%::%%content_component_class%%()
{
// Make sure you set the size of the component after
// you add any child components.
setSize (800, 600);
setFramesPerSecond (60); // This sets the frequency of the update calls.
}
%%content_component_class%%::~%%content_component_class%%()
{
}
//==============================================================================
void %%content_component_class%%::update()
{
// This function is called at the frequency specified by the setFramesPerSecond() call
// in the constructor. You can use it to update counters, animate values, etc.
}
//==============================================================================
void %%content_component_class%%::paint (juce::Graphics& g)
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId));
// You can add your drawing code here!
}
void %%content_component_class%%::resized()
{
// This is called when the MainContentComponent is resized.
// If you add any child components, this is where you should
// update their positions.
}

View File

@ -0,0 +1,30 @@
#pragma once
%%include_juce%%
//==============================================================================
/*
This component lives inside our window, and this is where you should put all
your controls and content.
*/
class %%content_component_class%% : public juce::AnimatedAppComponent
{
public:
//==============================================================================
%%content_component_class%%();
~%%content_component_class%%() override;
//==============================================================================
void update() override;
//==============================================================================
void paint (juce::Graphics& g) override;
void resized() override;
private:
//==============================================================================
// Your private member variables go here...
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (%%content_component_class%%)
};

View File

@ -0,0 +1,94 @@
#pragma once
%%include_juce%%
//==============================================================================
/*
This component lives inside our window, and this is where you should put all
your controls and content.
*/
class %%content_component_class%% : public juce::AudioAppComponent
{
public:
//==============================================================================
%%content_component_class%%()
{
// Make sure you set the size of the component after
// you add any child components.
setSize (800, 600);
// Some platforms require permissions to open input channels so request that here
if (juce::RuntimePermissions::isRequired (juce::RuntimePermissions::recordAudio)
&& ! juce::RuntimePermissions::isGranted (juce::RuntimePermissions::recordAudio))
{
juce::RuntimePermissions::request (juce::RuntimePermissions::recordAudio,
[&] (bool granted) { setAudioChannels (granted ? 2 : 0, 2); });
}
else
{
// Specify the number of input and output channels that we want to open
setAudioChannels (2, 2);
}
}
~%%content_component_class%%() override
{
// This shuts down the audio device and clears the audio source.
shutdownAudio();
}
//==============================================================================
void prepareToPlay (int samplesPerBlockExpected, double sampleRate) override
{
// This function will be called when the audio device is started, or when
// its settings (i.e. sample rate, block size, etc) are changed.
// You can use this function to initialise any resources you might need,
// but be careful - it will be called on the audio thread, not the GUI thread.
// For more details, see the help for AudioProcessor::prepareToPlay()
}
void getNextAudioBlock (const juce::AudioSourceChannelInfo& bufferToFill) override
{
// Your audio-processing code goes here!
// For more details, see the help for AudioProcessor::getNextAudioBlock()
// Right now we are not producing any data, in which case we need to clear the buffer
// (to prevent the output of random noise)
bufferToFill.clearActiveBufferRegion();
}
void releaseResources() override
{
// This will be called when the audio device stops, or when it is being
// restarted due to a setting change.
// For more details, see the help for AudioProcessor::releaseResources()
}
//==============================================================================
void paint (juce::Graphics& g) override
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId));
// You can add your drawing code here!
}
void resized() override
{
// This is called when the MainContentComponent is resized.
// If you add any child components, this is where you should
// update their positions.
}
private:
//==============================================================================
// Your private member variables go here...
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (%%content_component_class%%)
};

View File

@ -0,0 +1,75 @@
%%include_corresponding_header%%
//==============================================================================
%%content_component_class%%::%%content_component_class%%()
{
// Make sure you set the size of the component after
// you add any child components.
setSize (800, 600);
// Some platforms require permissions to open input channels so request that here
if (juce::RuntimePermissions::isRequired (juce::RuntimePermissions::recordAudio)
&& ! juce::RuntimePermissions::isGranted (juce::RuntimePermissions::recordAudio))
{
juce::RuntimePermissions::request (juce::RuntimePermissions::recordAudio,
[&] (bool granted) { setAudioChannels (granted ? 2 : 0, 2); });
}
else
{
// Specify the number of input and output channels that we want to open
setAudioChannels (2, 2);
}
}
%%content_component_class%%::~%%content_component_class%%()
{
// This shuts down the audio device and clears the audio source.
shutdownAudio();
}
//==============================================================================
void %%content_component_class%%::prepareToPlay (int samplesPerBlockExpected, double sampleRate)
{
// This function will be called when the audio device is started, or when
// its settings (i.e. sample rate, block size, etc) are changed.
// You can use this function to initialise any resources you might need,
// but be careful - it will be called on the audio thread, not the GUI thread.
// For more details, see the help for AudioProcessor::prepareToPlay()
}
void %%content_component_class%%::getNextAudioBlock (const juce::AudioSourceChannelInfo& bufferToFill)
{
// Your audio-processing code goes here!
// For more details, see the help for AudioProcessor::getNextAudioBlock()
// Right now we are not producing any data, in which case we need to clear the buffer
// (to prevent the output of random noise)
bufferToFill.clearActiveBufferRegion();
}
void %%content_component_class%%::releaseResources()
{
// This will be called when the audio device stops, or when it is being
// restarted due to a setting change.
// For more details, see the help for AudioProcessor::releaseResources()
}
//==============================================================================
void %%content_component_class%%::paint (juce::Graphics& g)
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId));
// You can add your drawing code here!
}
void %%content_component_class%%::resized()
{
// This is called when the MainContentComponent is resized.
// If you add any child components, this is where you should
// update their positions.
}

View File

@ -0,0 +1,32 @@
#pragma once
%%include_juce%%
//==============================================================================
/*
This component lives inside our window, and this is where you should put all
your controls and content.
*/
class %%content_component_class%% : public juce::AudioAppComponent
{
public:
//==============================================================================
%%content_component_class%%();
~%%content_component_class%%() override;
//==============================================================================
void prepareToPlay (int samplesPerBlockExpected, double sampleRate) override;
void getNextAudioBlock (const juce::AudioSourceChannelInfo& bufferToFill) override;
void releaseResources() override;
//==============================================================================
void paint (juce::Graphics& g) override;
void resized() override;
private:
//==============================================================================
// Your private member variables go here...
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (%%content_component_class%%)
};

View File

@ -0,0 +1,39 @@
/*
==============================================================================
This file contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
%%editor_cpp_headers%%
//==============================================================================
%%editor_class_name%%::%%editor_class_name%% (%%filter_class_name%%& p)
: AudioProcessorEditor (&p), audioProcessor (p)
{
// Make sure that before the constructor has finished, you've set the
// editor's size to whatever you need it to be.
setSize (400, 300);
}
%%editor_class_name%%::~%%editor_class_name%%()
{
}
//==============================================================================
void %%editor_class_name%%::paint (juce::Graphics& g)
{
// (Our component is opaque, so we must completely fill the background with a solid colour)
g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId));
g.setColour (juce::Colours::white);
g.setFont (15.0f);
g.drawFittedText ("Hello World!", getLocalBounds(), juce::Justification::centred, 1);
}
void %%editor_class_name%%::resized()
{
// This is generally where you'll want to lay out the positions of any
// subcomponents in your editor..
}

View File

@ -0,0 +1,32 @@
/*
==============================================================================
This file contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
%%editor_headers%%
//==============================================================================
/**
*/
class %%editor_class_name%% : public juce::AudioProcessorEditor
{
public:
%%editor_class_name%% (%%filter_class_name%%&);
~%%editor_class_name%%() override;
//==============================================================================
void paint (juce::Graphics&) override;
void resized() override;
private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
%%filter_class_name%%& audioProcessor;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (%%editor_class_name%%)
};

View File

@ -0,0 +1,190 @@
/*
==============================================================================
This file contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
%%filter_headers%%
//==============================================================================
%%filter_class_name%%::%%filter_class_name%%()
#ifndef JucePlugin_PreferredChannelConfigurations
: AudioProcessor (BusesProperties()
#if ! JucePlugin_IsMidiEffect
#if ! JucePlugin_IsSynth
.withInput ("Input", juce::AudioChannelSet::stereo(), true)
#endif
.withOutput ("Output", juce::AudioChannelSet::stereo(), true)
#endif
)
#endif
{
}
%%filter_class_name%%::~%%filter_class_name%%()
{
}
//==============================================================================
const juce::String %%filter_class_name%%::getName() const
{
return JucePlugin_Name;
}
bool %%filter_class_name%%::acceptsMidi() const
{
#if JucePlugin_WantsMidiInput
return true;
#else
return false;
#endif
}
bool %%filter_class_name%%::producesMidi() const
{
#if JucePlugin_ProducesMidiOutput
return true;
#else
return false;
#endif
}
bool %%filter_class_name%%::isMidiEffect() const
{
#if JucePlugin_IsMidiEffect
return true;
#else
return false;
#endif
}
double %%filter_class_name%%::getTailLengthSeconds() const
{
return 0.0;
}
int %%filter_class_name%%::getNumPrograms()
{
return 1; // NB: some hosts don't cope very well if you tell them there are 0 programs,
// so this should be at least 1, even if you're not really implementing programs.
}
int %%filter_class_name%%::getCurrentProgram()
{
return 0;
}
void %%filter_class_name%%::setCurrentProgram (int index)
{
}
const juce::String %%filter_class_name%%::getProgramName (int index)
{
return {};
}
void %%filter_class_name%%::changeProgramName (int index, const juce::String& newName)
{
}
//==============================================================================
void %%filter_class_name%%::prepareToPlay (double sampleRate, int samplesPerBlock)
{
// Use this method as the place to do any pre-playback
// initialisation that you need..
}
void %%filter_class_name%%::releaseResources()
{
// When playback stops, you can use this as an opportunity to free up any
// spare memory, etc.
}
#ifndef JucePlugin_PreferredChannelConfigurations
bool %%filter_class_name%%::isBusesLayoutSupported (const BusesLayout& layouts) const
{
#if JucePlugin_IsMidiEffect
juce::ignoreUnused (layouts);
return true;
#else
// This is the place where you check if the layout is supported.
// In this template code we only support mono or stereo.
// Some plugin hosts, such as certain GarageBand versions, will only
// load plugins that support stereo bus layouts.
if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono()
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
return false;
// This checks if the input layout matches the output layout
#if ! JucePlugin_IsSynth
if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet())
return false;
#endif
return true;
#endif
}
#endif
void %%filter_class_name%%::processBlock (juce::AudioBuffer<float>& buffer, juce::MidiBuffer& midiMessages)
{
juce::ScopedNoDenormals noDenormals;
auto totalNumInputChannels = getTotalNumInputChannels();
auto totalNumOutputChannels = getTotalNumOutputChannels();
// In case we have more outputs than inputs, this code clears any output
// channels that didn't contain input data, (because these aren't
// guaranteed to be empty - they may contain garbage).
// This is here to avoid people getting screaming feedback
// when they first compile a plugin, but obviously you don't need to keep
// this code if your algorithm always overwrites all the output channels.
for (auto i = totalNumInputChannels; i < totalNumOutputChannels; ++i)
buffer.clear (i, 0, buffer.getNumSamples());
// This is the place where you'd normally do the guts of your plugin's
// audio processing...
// Make sure to reset the state if your inner loop is processing
// the samples and the outer loop is handling the channels.
// Alternatively, you can process the samples with the channels
// interleaved by keeping the same state.
for (int channel = 0; channel < totalNumInputChannels; ++channel)
{
auto* channelData = buffer.getWritePointer (channel);
// ..do something to the data...
}
}
//==============================================================================
bool %%filter_class_name%%::hasEditor() const
{
return true; // (change this to false if you choose to not supply an editor)
}
juce::AudioProcessorEditor* %%filter_class_name%%::createEditor()
{
return new %%editor_class_name%% (*this);
}
//==============================================================================
void %%filter_class_name%%::getStateInformation (juce::MemoryBlock& destData)
{
// You should use this method to store your parameters in the memory block.
// You could do that either as raw data, or use the XML or ValueTree classes
// as intermediaries to make it easy to save and load complex data.
}
void %%filter_class_name%%::setStateInformation (const void* data, int sizeInBytes)
{
// You should use this method to restore your parameters from this memory block,
// whose contents will have been created by the getStateInformation() call.
}
//==============================================================================
// This creates new instances of the plugin..
juce::AudioProcessor* JUCE_CALLTYPE createPluginFilter()
{
return new %%filter_class_name%%();
}

Some files were not shown because too many files have changed in this diff Show More