diff options
Diffstat (limited to 'vendor/vstsdk2.4/vstgui.sf/drawtest')
44 files changed, 5029 insertions, 0 deletions
diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/Info.plist b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/Info.plist new file mode 100644 index 0000000..a5742bf --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/Info.plist @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>drawtest</string> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundleIdentifier</key> + <string>net.sourceforge.vstgui.drawtest</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>drawtest</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>CSResourcesFileMapped</key> + <true/> + <key>VSTWindowCompositing</key> + <true/> +</dict> +</plist> diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/audiounit.exp b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/audiounit.exp new file mode 100644 index 0000000..6c4658b --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/audiounit.exp @@ -0,0 +1,2 @@ +_DrawTestAUEntry +_VSTGUIAUViewEntry
\ No newline at end of file diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/cw_vst_prefix.pch++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/cw_vst_prefix.pch++ new file mode 100644 index 0000000..5b55590 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/cw_vst_prefix.pch++ @@ -0,0 +1,4 @@ +#include "vstplugsquartz.h" + +#include <Carbon/Carbon.h> +#include "vstgui.h" diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.cw9prj b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.cw9prj Binary files differnew file mode 100644 index 0000000..9e4a1ef --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.cw9prj diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.plc b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.plc new file mode 100644 index 0000000..5240045 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.plc @@ -0,0 +1,40 @@ +#define stringEffectName __OUTPUT_FILENAME__ +#define stringVersion "1.0.0.0" +#define stringCopyright "© Arne Scheffler 2004" + + +#ifndef stringEffectName +#error "You need to set stringEffectName" +#endif +#ifndef stringVersion +#error "You need to set stringVersion" +#endif +#ifndef stringCopyright +#error "You need to set stringCopyright" +#endif + +#define BUNDLE_NAME stringEffectName +#define BUNDLE_COPYRIGHT stringCopyright +#define BUNDLE_VERSION stringVersion +#define BUNDLE_IDENTIFIER "com.steinberg." BUNDLE_NAME +#define BUNDLE_ICON "commonIcon" + + +plist +{ + dictionary + { + key "CFBundleInfoDictionaryVersion" value string "6.0" + key "CFBundleDevelopmentRegion" value string "English" + key "CFBundleName" value string BUNDLE_NAME + key "CFBundleIdentifier" value string BUNDLE_IDENTIFIER + key "CFBundleGetInfoString" value string BUNDLE_NAME " " BUNDLE_VERSION ", " BUNDLE_COPYRIGHT + key "CFBundleShortVersionString" value string BUNDLE_VERSION + key "CFBundleExecutable" value string __OUTPUT_FILENAME__ + key "CFBundlePackageType" value string __OUTPUT_TYPE__ + key "CFBundleSignature" value string __OUTPUT_CREATOR__ + key "CFBundleBuildDate" value string __DATE__ + key "CFBundleIconFile" value string BUNDLE_ICON + key "VSTWindowCompositing" value boolean true + } +} diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.xcode/project.pbxproj b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.xcode/project.pbxproj new file mode 100644 index 0000000..1c30579 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/drawtest.xcode/project.pbxproj @@ -0,0 +1,2050 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 39; + objects = { + 089C1669FE841209C02AAC07 = { + buildSettings = { + }; + buildStyles = ( + 4F9091AC011F3BD104CA0E50, + 4F9091AD011F3BD104CA0E50, + ); + hasScannedForEncodings = 1; + isa = PBXProject; + mainGroup = 089C166AFE841209C02AAC07; + projectDirPath = ""; + targets = ( + 8D01CCC60486CAD60068D4B7, + F4C9F1D307B2320800010DAD, + ); + }; + 089C166AFE841209C02AAC07 = { + children = ( + 0C01265607AC430A009EC388, + 08FB77ADFE841716C02AAC07, + 089C167CFE841241C02AAC07, + 089C1671FE841209C02AAC07, + 19C28FB4FE9D528D11CA2CBB, + ); + isa = PBXGroup; + name = drawtest; + refType = 4; + sourceTree = "<group>"; + }; + 089C1671FE841209C02AAC07 = { + children = ( + F40BD99607D3B28F00E1073A, + 0C1C289B07AC283C007128C4, + 0C1C289907AC2824007128C4, + 8B5C7F83076FB26000A15F61, + 8BA05B01072074F900365D66, + 8BA05AF9072074E100365D66, + 08EA7FFBFE8413EDC02AAC07, + ); + isa = PBXGroup; + name = "External Frameworks and Libraries"; + refType = 4; + sourceTree = "<group>"; + }; + 089C167CFE841241C02AAC07 = { + children = ( + 0CF3554207B17126002BFE50, + 0CF3554307B17126002BFE50, + 0CF3554407B17126002BFE50, + 0CF3554507B17126002BFE50, + 0CF3554607B17126002BFE50, + 0CF3554707B17126002BFE50, + 0CF3554807B17126002BFE50, + 0CF3554907B17126002BFE50, + 0CF3554A07B17126002BFE50, + 0CF3554B07B17126002BFE50, + 0CF3554C07B17126002BFE50, + 0CF3554D07B17126002BFE50, + 0CF3554E07B17126002BFE50, + 0CF3554F07B17126002BFE50, + 0CF3555007B17126002BFE50, + 0CF3555107B17126002BFE50, + 0CF3555207B17126002BFE50, + 0CF3555307B17126002BFE50, + 0CF3555407B17126002BFE50, + 0C01262007AC3D21009EC388, + ); + isa = PBXGroup; + name = Resources; + refType = 4; + sourceTree = "<group>"; + }; + 08EA7FFBFE8413EDC02AAC07 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = Carbon.framework; + path = /System/Library/Frameworks/Carbon.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + 08FB77ADFE841716C02AAC07 = { + children = ( + F4C9F1E107B232B900010DAD, + 0C1C269E07AB5DE8007128C4, + 8BA05AEB0720742700365D66, + 8BA05A7D072073D200365D66, + 8BA05A56072072A900365D66, + ); + isa = PBXGroup; + name = Source; + refType = 4; + sourceTree = "<group>"; + }; +//080 +//081 +//082 +//083 +//084 +//0C0 +//0C1 +//0C2 +//0C3 +//0C4 + 0C01252807AC359F009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = cscrollview.cpp; + path = ../../vstgui/cscrollview.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0C01252A07AC359F009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = ctabview.cpp; + path = ../../vstgui/ctabview.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0C01252C07AC359F009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = plugguieditor.cpp; + path = ../../vstgui/plugguieditor.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0C01252E07AC359F009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = vstcontrols.cpp; + path = ../../vstgui/vstcontrols.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0C01253007AC359F009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = vstgui.cpp; + path = ../../vstgui/vstgui.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0C01253807AC359F009EC388 = { + fileRef = 0C01252807AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + 0C01253A07AC359F009EC388 = { + fileRef = 0C01252A07AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + 0C01253C07AC359F009EC388 = { + fileRef = 0C01252C07AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + 0C01253E07AC359F009EC388 = { + fileRef = 0C01252E07AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + 0C01254007AC359F009EC388 = { + fileRef = 0C01253007AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + 0C01261907AC3CE1009EC388 = { + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + isa = PBXShellScriptBuildPhase; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cp -p -r -f \"build/drawtest.component\" \"$HOME/Library/Audio/Plug-Ins/Components/\" \ntouch \"$HOME/Library/Audio/Plug-Ins/Components\"\n"; + }; + 0C01262007AC3D21009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.rez; + name = audiounit.r; + path = ../resources/audiounit.r; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0C01262107AC3D21009EC388 = { + fileRef = 0C01262007AC3D21009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + 0C01265607AC430A009EC388 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = text.xml; + path = Info.plist; + refType = 4; + sourceTree = "<group>"; + }; + 0C1C269E07AB5DE8007128C4 = { + children = ( + F4C9F20407B2335F00010DAD, + 0C01252807AC359F009EC388, + 0C01252A07AC359F009EC388, + 0C01252C07AC359F009EC388, + 0C01252E07AC359F009EC388, + 0C01253007AC359F009EC388, + ); + isa = PBXGroup; + name = VSTGUI; + refType = 4; + sourceTree = "<group>"; + }; + 0C1C289907AC2824007128C4 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = System.framework; + path = /System/Library/Frameworks/System.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + 0C1C289A07AC2824007128C4 = { + fileRef = 0C1C289907AC2824007128C4; + isa = PBXBuildFile; + settings = { + }; + }; + 0C1C289B07AC283C007128C4 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = QuickTime.framework; + path = /System/Library/Frameworks/QuickTime.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + 0C1C289C07AC283C007128C4 = { + fileRef = 0C1C289B07AC283C007128C4; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3554207B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.png; + name = bmp00001.png; + path = ../resources/bmp00001.png; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554307B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.png; + name = bmp00100.png; + path = ../resources/bmp00100.png; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554407B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.png; + name = bmp01000.png; + path = ../resources/bmp01000.png; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554507B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10001.bmp; + path = ../resources/bmp10001.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554607B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10002.bmp; + path = ../resources/bmp10002.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554707B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10003.bmp; + path = ../resources/bmp10003.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554807B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10004.bmp; + path = ../resources/bmp10004.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554907B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10005.bmp; + path = ../resources/bmp10005.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554A07B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10006.bmp; + path = ../resources/bmp10006.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554B07B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10007.bmp; + path = ../resources/bmp10007.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554C07B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10008.bmp; + path = ../resources/bmp10008.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554D07B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10009.bmp; + path = ../resources/bmp10009.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554E07B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10010.bmp; + path = ../resources/bmp10010.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3554F07B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10011.bmp; + path = ../resources/bmp10011.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3555007B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10012.bmp; + path = ../resources/bmp10012.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3555107B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10013.bmp; + path = ../resources/bmp10013.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3555207B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10014.bmp; + path = ../resources/bmp10014.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3555307B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10015.bmp; + path = ../resources/bmp10015.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3555407B17126002BFE50 = { + isa = PBXFileReference; + lastKnownFileType = image.bmp; + name = bmp10016.bmp; + path = ../resources/bmp10016.bmp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF3555507B17126002BFE50 = { + fileRef = 0CF3554207B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555607B17126002BFE50 = { + fileRef = 0CF3554307B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555707B17126002BFE50 = { + fileRef = 0CF3554407B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555807B17126002BFE50 = { + fileRef = 0CF3554507B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555907B17126002BFE50 = { + fileRef = 0CF3554607B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555A07B17126002BFE50 = { + fileRef = 0CF3554707B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555B07B17126002BFE50 = { + fileRef = 0CF3554807B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555C07B17126002BFE50 = { + fileRef = 0CF3554907B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555D07B17126002BFE50 = { + fileRef = 0CF3554A07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555E07B17126002BFE50 = { + fileRef = 0CF3554B07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3555F07B17126002BFE50 = { + fileRef = 0CF3554C07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556007B17126002BFE50 = { + fileRef = 0CF3554D07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556107B17126002BFE50 = { + fileRef = 0CF3554E07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556207B17126002BFE50 = { + fileRef = 0CF3554F07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556307B17126002BFE50 = { + fileRef = 0CF3555007B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556407B17126002BFE50 = { + fileRef = 0CF3555107B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556507B17126002BFE50 = { + fileRef = 0CF3555207B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556607B17126002BFE50 = { + fileRef = 0CF3555307B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF3556707B17126002BFE50 = { + fileRef = 0CF3555407B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355BE07B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = pdrawtesteditor.cpp; + path = ../source/pdrawtesteditor.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355BF07B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = pdrawtesteditor.h; + path = ../source/pdrawtesteditor.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C007B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = pdrawtesteffect.cpp; + path = ../source/pdrawtesteffect.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C107B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = pdrawtesteffect.h; + path = ../source/pdrawtesteffect.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C207B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = pdrawtestview.cpp; + path = ../source/pdrawtestview.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C307B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = pdrawtestview.h; + path = ../source/pdrawtestview.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C407B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = pprimitivesviews.cpp; + path = ../source/pprimitivesviews.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C507B173A3002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = pprimitivesviews.h; + path = ../source/pprimitivesviews.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355C607B173A3002BFE50 = { + fileRef = 0CF355BE07B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355C707B173A3002BFE50 = { + fileRef = 0CF355BF07B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355C807B173A3002BFE50 = { + fileRef = 0CF355C007B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355C907B173A3002BFE50 = { + fileRef = 0CF355C107B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355CA07B173A3002BFE50 = { + fileRef = 0CF355C207B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355CB07B173A3002BFE50 = { + fileRef = 0CF355C307B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355CC07B173A3002BFE50 = { + fileRef = 0CF355C407B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355CD07B173A3002BFE50 = { + fileRef = 0CF355C507B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355FB07B17600002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = controlsgui.cpp; + path = ../source/controlsgui.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355FC07B17600002BFE50 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = controlsgui.h; + path = ../source/controlsgui.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 0CF355FD07B17600002BFE50 = { + fileRef = 0CF355FB07B17600002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + 0CF355FE07B17600002BFE50 = { + fileRef = 0CF355FC07B17600002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; +//0C0 +//0C1 +//0C2 +//0C3 +//0C4 +//190 +//191 +//192 +//193 +//194 + 19C28FB4FE9D528D11CA2CBB = { + children = ( + 8D01CCD20486CAD60068D4B7, + F4C9F1D407B2320800010DAD, + ); + isa = PBXGroup; + name = Products; + refType = 4; + sourceTree = "<group>"; + }; +//190 +//191 +//192 +//193 +//194 +//4F0 +//4F1 +//4F2 +//4F3 +//4F4 + 4F9091AC011F3BD104CA0E50 = { + buildSettings = { + COPY_PHASE_STRIP = NO; + DEBUGGING_SYMBOLS = YES; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + MACOSX_DEPLOYMENT_TARGET = 10.2; + OPTIMIZATION_CFLAGS = "-O0"; + ZERO_LINK = YES; + }; + isa = PBXBuildStyle; + name = Development; + }; + 4F9091AD011F3BD104CA0E50 = { + buildSettings = { + COPY_PHASE_STRIP = YES; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + ZERO_LINK = NO; + }; + isa = PBXBuildStyle; + name = Deployment; + }; +//4F0 +//4F1 +//4F2 +//4F3 +//4F4 +//8B0 +//8B1 +//8B2 +//8B3 +//8B4 + 8B5C7F83076FB26000A15F61 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = CoreAudio.framework; + path = /System/Library/Frameworks/CoreAudio.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05A56072072A900365D66 = { + children = ( + F4C9F47307B2379F00010DAD, + 0CF355FB07B17600002BFE50, + 0CF355FC07B17600002BFE50, + 0CF355BE07B173A3002BFE50, + 0CF355BF07B173A3002BFE50, + 0CF355C007B173A3002BFE50, + 0CF355C107B173A3002BFE50, + 0CF355C207B173A3002BFE50, + 0CF355C307B173A3002BFE50, + 0CF355C407B173A3002BFE50, + 0CF355C507B173A3002BFE50, + ); + isa = PBXGroup; + name = Source; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A7D072073D200365D66 = { + children = ( + 8BA05A7E072073D200365D66, + 8BA05A8C072073D200365D66, + 8BA05A97072073D200365D66, + 8BA05A99072073D200365D66, + 8BA05AA6072073D200365D66, + ); + isa = PBXGroup; + name = AUPublic; + path = /Developer/Examples/CoreAudio/AudioUnits/AUPublic; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05A7E072073D200365D66 = { + children = ( + 8BA05A7F072073D200365D66, + 8BA05A80072073D200365D66, + 8BA05A81072073D200365D66, + 8BA05A82072073D200365D66, + 8BA05A83072073D200365D66, + 8BA05A84072073D200365D66, + 8BA05A85072073D200365D66, + 8BA05A86072073D200365D66, + 8BA05A87072073D200365D66, + 8BA05A88072073D200365D66, + 8BA05A89072073D200365D66, + 8BA05A8A072073D200365D66, + 8BA05A8B072073D200365D66, + ); + isa = PBXGroup; + path = AUBase; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A7F072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUBase.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A80072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUBase.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A81072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUDispatch.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A82072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUDispatch.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A83072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUInputElement.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A84072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUInputElement.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A85072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUOutputElement.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A86072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUOutputElement.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A87072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.rez; + path = AUResources.r; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A88072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUScopeElement.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A89072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUScopeElement.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A8A072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = ComponentBase.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A8B072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = ComponentBase.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A8C072073D200365D66 = { + children = ( + 8BA05A8D072073D200365D66, + 8BA05A8E072073D200365D66, + 8BA05A8F072073D200365D66, + 8BA05A90072073D200365D66, + 8BA05A91072073D200365D66, + 8BA05A92072073D200365D66, + 8BA05A93072073D200365D66, + 8BA05A94072073D200365D66, + 8BA05A95072073D200365D66, + ); + isa = PBXGroup; + path = AUCarbonViewBase; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A8D072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUCarbonViewBase.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A8E072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUCarbonViewBase.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A8F072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUCarbonViewControl.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A90072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUCarbonViewControl.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A91072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUCarbonViewDispatch.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A92072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUControlGroup.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A93072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUControlGroup.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A94072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = CarbonEventHandler.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A95072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = CarbonEventHandler.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A97072073D200365D66 = { + children = ( + 8BA05A98072073D200365D66, + ); + isa = PBXGroup; + path = AUViewBase; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A98072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUViewLocalizedStringKeys.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A99072073D200365D66 = { + children = ( + 8BA05A9A072073D200365D66, + 8BA05A9B072073D200365D66, + ); + isa = PBXGroup; + path = OtherBases; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A9A072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUEffectBase.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05A9B072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUEffectBase.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AA6072073D200365D66 = { + children = ( + 8BA05AA7072073D200365D66, + 8BA05AA8072073D200365D66, + 8BA05AA9072073D200365D66, + 8BA05AAA072073D200365D66, + 8BA05AAB072073D200365D66, + 8BA05AAC072073D200365D66, + 8BA05AAD072073D200365D66, + ); + isa = PBXGroup; + path = Utility; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AA7072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUBuffer.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AA8072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUBuffer.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AA9072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + path = AUDebugDispatcher.cpp; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AAA072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUDebugDispatcher.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AAB072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUInputFormatConverter.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AAC072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUSilentTimeout.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AAD072073D200365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = AUTimestampGenerator.h; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AAE072073D300365D66 = { + fileRef = 8BA05A7F072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AAF072073D300365D66 = { + fileRef = 8BA05A80072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB0072073D300365D66 = { + fileRef = 8BA05A81072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB1072073D300365D66 = { + fileRef = 8BA05A82072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB2072073D300365D66 = { + fileRef = 8BA05A83072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB3072073D300365D66 = { + fileRef = 8BA05A84072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB4072073D300365D66 = { + fileRef = 8BA05A85072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB5072073D300365D66 = { + fileRef = 8BA05A86072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB7072073D300365D66 = { + fileRef = 8BA05A88072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB8072073D300365D66 = { + fileRef = 8BA05A89072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AB9072073D300365D66 = { + fileRef = 8BA05A8A072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ABA072073D300365D66 = { + fileRef = 8BA05A8B072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ABB072073D300365D66 = { + fileRef = 8BA05A8D072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ABC072073D300365D66 = { + fileRef = 8BA05A8E072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ABD072073D300365D66 = { + fileRef = 8BA05A8F072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ABE072073D300365D66 = { + fileRef = 8BA05A90072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ABF072073D300365D66 = { + fileRef = 8BA05A91072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC0072073D300365D66 = { + fileRef = 8BA05A92072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC1072073D300365D66 = { + fileRef = 8BA05A93072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC2072073D300365D66 = { + fileRef = 8BA05A94072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC3072073D300365D66 = { + fileRef = 8BA05A95072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC5072073D300365D66 = { + fileRef = 8BA05A98072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC6072073D300365D66 = { + fileRef = 8BA05A9A072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AC7072073D300365D66 = { + fileRef = 8BA05A9B072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD2072073D300365D66 = { + fileRef = 8BA05AA7072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD3072073D300365D66 = { + fileRef = 8BA05AA8072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD4072073D300365D66 = { + fileRef = 8BA05AA9072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD5072073D300365D66 = { + fileRef = 8BA05AAA072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD6072073D300365D66 = { + fileRef = 8BA05AAB072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD7072073D300365D66 = { + fileRef = 8BA05AAC072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AD8072073D300365D66 = { + fileRef = 8BA05AAD072073D200365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05ADF0720742100365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = CAAudioChannelLayout.cpp; + path = /Developer/Examples/CoreAudio/PublicUtility/CAAudioChannelLayout.cpp; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AE00720742100365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = CAAudioChannelLayout.h; + path = /Developer/Examples/CoreAudio/PublicUtility/CAAudioChannelLayout.h; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AE10720742100365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = CAMutex.cpp; + path = /Developer/Examples/CoreAudio/PublicUtility/CAMutex.cpp; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AE20720742100365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = CAMutex.h; + path = /Developer/Examples/CoreAudio/PublicUtility/CAMutex.h; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AE30720742100365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = CAStreamBasicDescription.cpp; + path = /Developer/Examples/CoreAudio/PublicUtility/CAStreamBasicDescription.cpp; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AE40720742100365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = CAStreamBasicDescription.h; + path = /Developer/Examples/CoreAudio/PublicUtility/CAStreamBasicDescription.h; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AE50720742100365D66 = { + fileRef = 8BA05ADF0720742100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AE60720742100365D66 = { + fileRef = 8BA05AE00720742100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AE70720742100365D66 = { + fileRef = 8BA05AE10720742100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AE80720742100365D66 = { + fileRef = 8BA05AE20720742100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AE90720742100365D66 = { + fileRef = 8BA05AE30720742100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AEA0720742100365D66 = { + fileRef = 8BA05AE40720742100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05AEB0720742700365D66 = { + children = ( + 8BA05B050720754400365D66, + 8BA05B060720754400365D66, + 8BA05ADF0720742100365D66, + 8BA05AE00720742100365D66, + 8BA05AE10720742100365D66, + 8BA05AE20720742100365D66, + 8BA05AE30720742100365D66, + 8BA05AE40720742100365D66, + ); + isa = PBXGroup; + name = "Public Utility"; + refType = 4; + sourceTree = "<group>"; + }; + 8BA05AF9072074E100365D66 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = AudioToolbox.framework; + path = /System/Library/Frameworks/AudioToolbox.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05AFC072074E100365D66 = { + fileRef = 8BA05AF9072074E100365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05B01072074F900365D66 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = CoreServices.framework; + path = /System/Library/Frameworks/CoreServices.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05B02072074F900365D66 = { + fileRef = 8BA05B01072074F900365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05B050720754400365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = CAAUParameter.cpp; + path = /Developer/Examples/CoreAudio/PublicUtility/CAAUParameter.cpp; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05B060720754400365D66 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = CAAUParameter.h; + path = /Developer/Examples/CoreAudio/PublicUtility/CAAUParameter.h; + refType = 0; + sourceTree = "<absolute>"; + }; + 8BA05B070720754400365D66 = { + fileRef = 8BA05B050720754400365D66; + isa = PBXBuildFile; + settings = { + }; + }; + 8BA05B080720754400365D66 = { + fileRef = 8BA05B060720754400365D66; + isa = PBXBuildFile; + settings = { + }; + }; +//8B0 +//8B1 +//8B2 +//8B3 +//8B4 +//8D0 +//8D1 +//8D2 +//8D3 +//8D4 + 8D01CCC60486CAD60068D4B7 = { + buildPhases = ( + 8D01CCC70486CAD60068D4B7, + 8D01CCC90486CAD60068D4B7, + 8D01CCCB0486CAD60068D4B7, + 8D01CCCD0486CAD60068D4B7, + 8D01CCCF0486CAD60068D4B7, + 0C01261907AC3CE1009EC388, + ); + buildRules = ( + ); + buildSettings = { + DEPLOYMENT_LOCATION = NO; + EXPORTED_SYMBOLS_FILE = audiounit.exp; + FRAMEWORK_SEARCH_PATHS = /Volumes/DATA/subversion/svn/vstgui/drawtest/mac; + GCC_ENABLE_TRIGRAPHS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "${SRCROOT}/xcode_au_prefix.h"; + GCC_PREPROCESSOR_DEFINITIONS = ""; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; + GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; + GCC_WARN_UNKNOWN_PRAGMAS = NO; + GENERATE_PKGINFO_FILE = YES; + HEADER_SEARCH_PATHS = "${SRCROOT}/resources ${SRCROOT}/mac ${SRCROOT}/source ${SRCROOT}/../../vstgui"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Audio/Plug-Ins/Components/"; + LIBRARY_SEARCH_PATHS = ""; + LIBRARY_STYLE = Bundle; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = "-bundle"; + OTHER_REZFLAGS = "-I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase"; + PRODUCT_NAME = drawtest; + REZ_SEARCH_PATHS = "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase"; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + WRAPPER_EXTENSION = component; + }; + dependencies = ( + ); + isa = PBXNativeTarget; + name = AudioUnit; + productInstallPath = "$(HOME)/Library/Bundles"; + productName = drawtest; + productReference = 8D01CCD20486CAD60068D4B7; + productType = "com.apple.product-type.bundle"; + }; + 8D01CCC70486CAD60068D4B7 = { + buildActionMask = 2147483647; + files = ( + 8BA05AAF072073D300365D66, + 8BA05AB1072073D300365D66, + 8BA05AB3072073D300365D66, + 8BA05AB5072073D300365D66, + 8BA05AB8072073D300365D66, + 8BA05ABA072073D300365D66, + 8BA05ABC072073D300365D66, + 8BA05ABE072073D300365D66, + 8BA05AC1072073D300365D66, + 8BA05AC3072073D300365D66, + 8BA05AC5072073D300365D66, + 8BA05AC7072073D300365D66, + 8BA05AD3072073D300365D66, + 8BA05AD5072073D300365D66, + 8BA05AD6072073D300365D66, + 8BA05AD7072073D300365D66, + 8BA05AD8072073D300365D66, + 8BA05AE60720742100365D66, + 8BA05AE80720742100365D66, + 8BA05AEA0720742100365D66, + 8BA05B080720754400365D66, + 0CF355C707B173A3002BFE50, + 0CF355C907B173A3002BFE50, + 0CF355CB07B173A3002BFE50, + 0CF355CD07B173A3002BFE50, + 0CF355FE07B17600002BFE50, + ); + isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D01CCC90486CAD60068D4B7 = { + buildActionMask = 2147483647; + files = ( + 0CF3555507B17126002BFE50, + 0CF3555607B17126002BFE50, + 0CF3555707B17126002BFE50, + 0CF3555807B17126002BFE50, + 0CF3555907B17126002BFE50, + 0CF3555A07B17126002BFE50, + 0CF3555B07B17126002BFE50, + 0CF3555C07B17126002BFE50, + 0CF3555D07B17126002BFE50, + 0CF3555E07B17126002BFE50, + 0CF3555F07B17126002BFE50, + 0CF3556007B17126002BFE50, + 0CF3556107B17126002BFE50, + 0CF3556207B17126002BFE50, + 0CF3556307B17126002BFE50, + 0CF3556407B17126002BFE50, + 0CF3556507B17126002BFE50, + 0CF3556607B17126002BFE50, + 0CF3556707B17126002BFE50, + ); + isa = PBXResourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D01CCCB0486CAD60068D4B7 = { + buildActionMask = 2147483647; + files = ( + 8BA05AAE072073D300365D66, + 8BA05AB0072073D300365D66, + 8BA05AB2072073D300365D66, + 8BA05AB4072073D300365D66, + 8BA05AB7072073D300365D66, + 8BA05AB9072073D300365D66, + 8BA05ABB072073D300365D66, + 8BA05ABD072073D300365D66, + 8BA05ABF072073D300365D66, + 8BA05AC0072073D300365D66, + 8BA05AC2072073D300365D66, + 8BA05AC6072073D300365D66, + 8BA05AD2072073D300365D66, + 8BA05AD4072073D300365D66, + 8BA05AE50720742100365D66, + 8BA05AE70720742100365D66, + 8BA05AE90720742100365D66, + 8BA05B070720754400365D66, + 0C01253807AC359F009EC388, + 0C01253A07AC359F009EC388, + 0C01253C07AC359F009EC388, + 0C01253E07AC359F009EC388, + 0C01254007AC359F009EC388, + 0CF355C607B173A3002BFE50, + 0CF355C807B173A3002BFE50, + 0CF355CA07B173A3002BFE50, + 0CF355CC07B173A3002BFE50, + 0CF355FD07B17600002BFE50, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D01CCCD0486CAD60068D4B7 = { + buildActionMask = 2147483647; + files = ( + 8D01CCCE0486CAD60068D4B7, + 8BA05AFC072074E100365D66, + 8BA05B02072074F900365D66, + 0C1C289A07AC2824007128C4, + 0C1C289C07AC283C007128C4, + F40BD99707D3B28F00E1073A, + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D01CCCE0486CAD60068D4B7 = { + fileRef = 08EA7FFBFE8413EDC02AAC07; + isa = PBXBuildFile; + settings = { + }; + }; + 8D01CCCF0486CAD60068D4B7 = { + buildActionMask = 2147483647; + files = ( + 0C01262107AC3D21009EC388, + ); + isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D01CCD20486CAD60068D4B7 = { + explicitFileType = wrapper.cfbundle; + includeInIndex = 0; + isa = PBXFileReference; + path = drawtest.component; + refType = 3; + sourceTree = BUILT_PRODUCTS_DIR; + }; +//8D0 +//8D1 +//8D2 +//8D3 +//8D4 +//F40 +//F41 +//F42 +//F43 +//F44 + F40BD99607D3B28F00E1073A = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = AudioUnit.framework; + path = /Volumes/DATA/subversion/svn/vstgui/drawtest/mac/AudioUnit.framework; + refType = 0; + sourceTree = "<absolute>"; + }; + F40BD99707D3B28F00E1073A = { + fileRef = F40BD99607D3B28F00E1073A; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1D007B2320800010DAD = { + buildActionMask = 2147483647; + files = ( + F4C9F1EE07B2332100010DAD, + F4C9F1EF07B2332200010DAD, + F4C9F1F007B2332200010DAD, + F4C9F1F107B2332300010DAD, + F4C9F1F207B2332400010DAD, + F4C9F1F307B2332400010DAD, + F4C9F1F407B2332500010DAD, + F4C9F1F507B2332500010DAD, + F4C9F1F607B2332600010DAD, + F4C9F1F707B2332700010DAD, + F4C9F1F807B2332700010DAD, + F4C9F1F907B2332800010DAD, + F4C9F1FA07B2332900010DAD, + F4C9F1FB07B2332A00010DAD, + F4C9F1FC07B2332B00010DAD, + F4C9F1FD07B2332B00010DAD, + F4C9F1FE07B2332C00010DAD, + F4C9F1FF07B2332C00010DAD, + F4C9F20007B2332D00010DAD, + ); + isa = PBXResourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F4C9F1D107B2320800010DAD = { + buildActionMask = 2147483647; + files = ( + F4C9F1D607B232A100010DAD, + F4C9F1D807B232A300010DAD, + F4C9F1DC07B232A500010DAD, + F4C9F1DE07B232A600010DAD, + F4C9F1E607B232D600010DAD, + F4C9F1E707B232D600010DAD, + F4C9F20607B2335F00010DAD, + F4C9F46E07B2378600010DAD, + F4C9F46F07B2378800010DAD, + F4C9F47007B2378900010DAD, + F4C9F47107B2378B00010DAD, + F4C9F47207B2378D00010DAD, + F4C9F47407B2379F00010DAD, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F4C9F1D207B2320800010DAD = { + buildActionMask = 2147483647; + files = ( + F4C9F21C07B2339F00010DAD, + F4C9F21D07B233A100010DAD, + F4C9F21E07B233A100010DAD, + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F4C9F1D307B2320800010DAD = { + buildPhases = ( + F4C9F1D007B2320800010DAD, + F4C9F1D107B2320800010DAD, + F4C9F1D207B2320800010DAD, + ); + buildRules = ( + ); + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = xcode_vst_prefix.h; + GENERATE_PKGINFO_FILE = YES; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(USER_LIBRARY_DIR)/Audio/Plug-Ins/VST"; + LIBRARY_STYLE = BUNDLE; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = "-framework Carbon"; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = drawtest; + SECTORDER_FLAGS = ""; + SKIP_INSTALL = NO; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + WRAPPER_EXTENSION = vst; + }; + dependencies = ( + ); + isa = PBXNativeTarget; + name = VST; + productName = "drawtest VST"; + productReference = F4C9F1D407B2320800010DAD; + productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> +<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"> +<plist version=\"1.0\"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>drawtest VST</string> + <key>CFBundleIdentifier</key> + <string>com.yourcompany.drawtest_VST</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>CSResourcesFileMapped</key> + <string>yes</string> +</dict> +</plist> +"; + productType = "com.apple.product-type.bundle"; + }; + F4C9F1D407B2320800010DAD = { + explicitFileType = wrapper.cfbundle; + includeInIndex = 0; + isa = PBXFileReference; + path = drawtest.vst; + refType = 3; + sourceTree = BUILT_PRODUCTS_DIR; + }; + F4C9F1D607B232A100010DAD = { + fileRef = 0C01252807AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1D807B232A300010DAD = { + fileRef = 0C01252A07AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1DC07B232A500010DAD = { + fileRef = 0C01252E07AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1DE07B232A600010DAD = { + fileRef = 0C01253007AC359F009EC388; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1E107B232B900010DAD = { + children = ( + F4C9F1E307B232D600010DAD, + F4C9F1E407B232D600010DAD, + ); + isa = PBXGroup; + name = "VST SDK 2.3"; + refType = 4; + sourceTree = "<group>"; + }; + F4C9F1E307B232D600010DAD = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = AudioEffect.cpp; + path = ../vstsdk2.3/AudioEffect.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + F4C9F1E407B232D600010DAD = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = audioeffectx.cpp; + path = ../vstsdk2.3/audioeffectx.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + F4C9F1E607B232D600010DAD = { + fileRef = F4C9F1E307B232D600010DAD; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1E707B232D600010DAD = { + fileRef = F4C9F1E407B232D600010DAD; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1EE07B2332100010DAD = { + fileRef = 0CF3554207B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1EF07B2332200010DAD = { + fileRef = 0CF3554307B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F007B2332200010DAD = { + fileRef = 0CF3554407B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F107B2332300010DAD = { + fileRef = 0CF3554607B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F207B2332400010DAD = { + fileRef = 0CF3554507B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F307B2332400010DAD = { + fileRef = 0CF3554707B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F407B2332500010DAD = { + fileRef = 0CF3554807B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F507B2332500010DAD = { + fileRef = 0CF3554907B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F607B2332600010DAD = { + fileRef = 0CF3554A07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F707B2332700010DAD = { + fileRef = 0CF3554B07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F807B2332700010DAD = { + fileRef = 0CF3554C07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1F907B2332800010DAD = { + fileRef = 0CF3554D07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1FA07B2332900010DAD = { + fileRef = 0CF3554E07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1FB07B2332A00010DAD = { + fileRef = 0CF3554F07B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1FC07B2332B00010DAD = { + fileRef = 0CF3555007B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1FD07B2332B00010DAD = { + fileRef = 0CF3555107B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1FE07B2332C00010DAD = { + fileRef = 0CF3555207B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F1FF07B2332C00010DAD = { + fileRef = 0CF3555407B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F20007B2332D00010DAD = { + fileRef = 0CF3555307B17126002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F20407B2335F00010DAD = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = aeffguieditor.cpp; + path = ../../vstgui/aeffguieditor.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + F4C9F20607B2335F00010DAD = { + fileRef = F4C9F20407B2335F00010DAD; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F21C07B2339F00010DAD = { + fileRef = 08EA7FFBFE8413EDC02AAC07; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F21D07B233A100010DAD = { + fileRef = 0C1C289B07AC283C007128C4; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F21E07B233A100010DAD = { + fileRef = 0C1C289907AC2824007128C4; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F46E07B2378600010DAD = { + fileRef = 0CF355FB07B17600002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F46F07B2378800010DAD = { + fileRef = 0CF355BE07B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F47007B2378900010DAD = { + fileRef = 0CF355C007B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F47107B2378B00010DAD = { + fileRef = 0CF355C207B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F47207B2378D00010DAD = { + fileRef = 0CF355C407B173A3002BFE50; + isa = PBXBuildFile; + settings = { + }; + }; + F4C9F47307B2379F00010DAD = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = pdrawtestmain.cpp; + path = ../source/pdrawtestmain.cpp; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + F4C9F47407B2379F00010DAD = { + fileRef = F4C9F47307B2379F00010DAD; + isa = PBXBuildFile; + settings = { + }; + }; + }; + rootObject = 089C1669FE841209C02AAC07; +} diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/xcode_au_prefix.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/xcode_au_prefix.h new file mode 100644 index 0000000..4465d96 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/xcode_au_prefix.h @@ -0,0 +1,8 @@ +#define PLUGGUI 1 +#define AU 1 +#define PluginGUIEditor AEffGUIEditor +#include "vstplugsquartz.h" + +#include <Carbon/Carbon.h> +#include <AudioUnit/AudioUnit.h> +#include "vstgui.h" diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/xcode_vst_prefix.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/xcode_vst_prefix.h new file mode 100644 index 0000000..5b55590 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/mac/xcode_vst_prefix.h @@ -0,0 +1,4 @@ +#include "vstplugsquartz.h" + +#include <Carbon/Carbon.h> +#include "vstgui.h" diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/audiounit.r b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/audiounit.r new file mode 100644 index 0000000..b4d71ff --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/audiounit.r @@ -0,0 +1,34 @@ +#define kComponentSubType 'vgdt' +#define kComponentManuf 'Xxxx' +#define kVersionNumber 0x00010000 + +#include <AudioUnit/AudioUnit.r> +#include <AudioUnit/AudioUnitCarbonView.r> + +// ____________________________________________________________________________ +// component resources for Audio Unit +#define RES_ID 3000 +#define COMP_TYPE kAudioUnitType_Effect +#define COMP_SUBTYPE kComponentSubType +#define COMP_MANUF kComponentManuf +#define VERSION kVersionNumber +#define NAME "VSTGUI: DrawTest" +#define DESCRIPTION "DrawTest" +#define ENTRY_POINT "DrawTestAUEntry" + +#include "AUResources.r" + + +// ____________________________________________________________________________ +// component resources for Audio Unit Carbon View +#define RES_ID 9000 +#define COMP_TYPE kAudioUnitCarbonViewComponentType +#define COMP_SUBTYPE kComponentSubType +#define COMP_MANUF kComponentManuf +#define VERSION kVersionNumber +#define NAME "VSTGUI AUView" +#define DESCRIPTION "VSTGUI AUView" +#define ENTRY_POINT "VSTGUIAUViewEntry" + +#include "AUResources.r" + diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp00001.png b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp00001.png Binary files differnew file mode 100644 index 0000000..c8f5b08 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp00001.png diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp00100.png b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp00100.png Binary files differnew file mode 100644 index 0000000..d097f30 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp00100.png diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp01000.png b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp01000.png Binary files differnew file mode 100644 index 0000000..1e355ae --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp01000.png diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10001.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10001.bmp Binary files differnew file mode 100644 index 0000000..03f063e --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10001.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10002.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10002.bmp Binary files differnew file mode 100644 index 0000000..e3a8aed --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10002.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10003.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10003.bmp Binary files differnew file mode 100644 index 0000000..2954fc0 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10003.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10004.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10004.bmp Binary files differnew file mode 100644 index 0000000..e0c7fd5 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10004.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10005.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10005.bmp Binary files differnew file mode 100644 index 0000000..15cb22d --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10005.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10006.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10006.bmp Binary files differnew file mode 100644 index 0000000..47117de --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10006.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10007.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10007.bmp Binary files differnew file mode 100644 index 0000000..bfb1941 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10007.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10008.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10008.bmp Binary files differnew file mode 100644 index 0000000..e616a9c --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10008.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10009.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10009.bmp Binary files differnew file mode 100644 index 0000000..4b2ab90 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10009.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10010.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10010.bmp Binary files differnew file mode 100644 index 0000000..a6810ea --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10010.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10011.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10011.bmp Binary files differnew file mode 100644 index 0000000..6b020ab --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10011.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10012.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10012.bmp Binary files differnew file mode 100644 index 0000000..0bc9517 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10012.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10013.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10013.bmp Binary files differnew file mode 100644 index 0000000..753233d --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10013.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10014.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10014.bmp Binary files differnew file mode 100644 index 0000000..8110e98 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10014.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10015.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10015.bmp Binary files differnew file mode 100644 index 0000000..06b510d --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10015.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10016.bmp b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10016.bmp Binary files differnew file mode 100644 index 0000000..6b251aa --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/resources/bmp10016.bmp diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/controlsgui.cpp b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/controlsgui.cpp new file mode 100644 index 0000000..0e5b76e --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/controlsgui.cpp @@ -0,0 +1,541 @@ +#ifndef __controlsgui__ +#include "controlsgui.h" +#endif + +#include "cfileselector.h" + +#include <stdio.h> + +enum +{ + // bitmaps + kBackgroundBitmap = 10001, + + kSliderHBgBitmap, + kSliderVBgBitmap, + kSliderHandleBitmap, + + kSwitchHBitmap, + kSwitchVBitmap, + + kOnOffBitmap, + + kKnobHandleBitmap, + kKnobBgBitmap, + + kDigitBitmap, + kRockerBitmap, + + kVuOnBitmap, + kVuOffBitmap, + + kSplashBitmap, + + kMovieKnobBitmap, + + kMovieBitmap, + + // others + kBackgroundW = 420, + kBackgroundH = 210 +}; +//----------------------------------------------------------------------------- +// CLabel declaration +//----------------------------------------------------------------------------- +class CLabel : public CParamDisplay +{ +public: + CLabel (CRect &size, char *text); + + void draw (CDrawContext *pContext); + + void setLabel (char *text); + virtual bool onDrop (CDrawContext* context, CDragContainer* drag, const CPoint& where); + virtual void onDragEnter (CDrawContext* context, CDragContainer* drag, const CPoint& where); + virtual void onDragLeave (CDrawContext* context, CDragContainer* drag, const CPoint& where); + virtual void onDragMove (CDrawContext* context, CDragContainer* drag, const CPoint& where); + +protected: + char label[256]; + bool focus; +}; + +//----------------------------------------------------------------------------- +// CLabel implementation +//----------------------------------------------------------------------------- +CLabel::CLabel (CRect &size, char *text) +: CParamDisplay (size) +, focus (false) +{ + strcpy (label, ""); + setLabel (text); +} + +//------------------------------------------------------------------------ +void CLabel::setLabel (char *text) +{ + if (text) + strcpy (label, text); + setDirty (); +} + +bool CLabel::onDrop (CDrawContext* context, CDragContainer* drag, const CPoint& where) +{ + long size, type; + void* ptr = drag->first (size, type); + if (ptr) + { + setLabel ((char*)ptr); + } + return true; +} + +void CLabel::onDragEnter (CDrawContext* context, CDragContainer* drag, const CPoint& where) +{ + getFrame ()->setCursor (kCursorCopy); + focus = true; + setDirty (); +} + +void CLabel::onDragLeave (CDrawContext* context, CDragContainer* drag, const CPoint& where) +{ + getFrame ()->setCursor (kCursorNotAllowed); + focus = false; + setDirty (); +} + +void CLabel::onDragMove (CDrawContext* context, CDragContainer* drag, const CPoint& where) +{ +} + +//------------------------------------------------------------------------ +void CLabel::draw (CDrawContext *pContext) +{ + pContext->setFillColor (backColor); + pContext->fillRect (size); + pContext->setLineWidth (focus ? 2 : 1); + pContext->setFrameColor (fontColor); + pContext->drawRect (size); + + pContext->setFont (fontID); + pContext->setFontColor (fontColor); + pContext->drawString (label, size, false, kCenterText); + setDirty (false); +} + +enum +{ + kSliderHTag = 0, + kSliderVTag, + kKnobTag, + + kNumParams, + + kOnOffTag, + kKickTag, + kMovieButtonTag, + kAutoAnimationTag, + kOptionMenuTag, + + kRockerSwitchTag, + kSwitchHTag, + kSwitchVTag, + + kSplashTag, + kMovieBitmapTag, + kAnimKnobTag, + kDigitTag, + kTextEditTag, + + kAbout +}; + +ControlsGUI::ControlsGUI (const CRect &inSize, CFrame *frame, CBitmap *pBackground) +: CViewContainer (inSize, frame, pBackground) +{ + setMode (kOnlyDirtyUpdate); + + // get version + int version = (VSTGUI_VERSION_MAJOR << 16) + VSTGUI_VERSION_MINOR; + int verMaj = (version & 0xFF00) >> 16; + int verMin = (version & 0x00FF); + + // init the background bitmap + CBitmap *background = new CBitmap (kBackgroundBitmap); + + setBackground (background); + + background->forget (); + + CPoint point (0, 0); + + //--COnOffButton----------------------------------------------- + CBitmap *onOffButton = new CBitmap (kOnOffBitmap); + + CRect size (0, 0, onOffButton->getWidth (), onOffButton->getHeight () / 2); + size.offset (20, 20); + cOnOffButton = new COnOffButton (size, this, kOnOffTag, onOffButton); + addView (cOnOffButton); + + + //--CKickButton----------------------------------------------- + size.offset (70, 0); + point (0, 0); + cKickButton = new CKickButton (size, this, kKickTag, onOffButton->getHeight() / 2, onOffButton, point); + addView (cKickButton); + + + //--CKnob-------------------------------------- + CBitmap *knob = new CBitmap (kKnobHandleBitmap); + CBitmap *bgKnob = new CBitmap (kKnobBgBitmap); + + size (0, 0, bgKnob->getWidth (), bgKnob->getHeight ()); + size.offset (140 + 15, 15); + point (0, 0); + cKnob = new CKnob (size, this, kKnobTag, bgKnob, knob, point); + cKnob->setInsetValue (7); + addView (cKnob); + knob->forget (); + bgKnob->forget (); + + + //--CMovieButton-------------------------------------- + size (0, 0, onOffButton->getWidth (), onOffButton->getHeight () / 2); + size.offset (210 + 20, 20); + point (0, 0); + cMovieButton = new CMovieButton (size, this, kMovieButtonTag, onOffButton->getHeight () / 2, onOffButton, point); + addView (cMovieButton); + + onOffButton->forget (); + + + //--CAnimKnob-------------------------------------- + CBitmap *movieKnobBitmap = new CBitmap (kMovieKnobBitmap); + + size (0, 0, movieKnobBitmap->getWidth (), movieKnobBitmap->getHeight () / 7); + size.offset (280 + 15, 15); + point (0, 0); + cAnimKnob = new CAnimKnob (size, this, kAnimKnobTag, 7, movieKnobBitmap->getHeight () / 7, movieKnobBitmap, point); + addView (cAnimKnob); + + movieKnobBitmap->forget (); + + + //--COptionMenu-------------------------------------- + size (0, 0, 50, 14); + size.offset (350 + 10, 30); + + long style = k3DIn | kMultipleCheckStyle; + cOptionMenu = new COptionMenu (size, this, kOptionMenuTag, bgKnob, 0, style); + if (cOptionMenu) + { + cOptionMenu->setFont (kNormalFont); + cOptionMenu->setFontColor (kWhiteCColor); + cOptionMenu->setBackColor (kRedCColor); + cOptionMenu->setFrameColor (kWhiteCColor); + cOptionMenu->setHoriAlign (kLeftText); + int i; + for (i = 0; i < 3; i++) + { + char txt[256]; + sprintf (txt, "Entry %d", i); + cOptionMenu->addEntry (txt); + } + cOptionMenu->addEntry ("-"); + for (i = 3; i < 60; i++) + { + char txt[256]; + sprintf (txt, "Entry %d", i); + cOptionMenu->addEntry (txt); + } + + addView (cOptionMenu); + } + + + //--CRockerSwitch-------------------------------------- + CBitmap *rocker = new CBitmap (kRockerBitmap); + size (0, 0, rocker->getWidth (), rocker->getHeight () / 3); + size.offset (9, 70 + 29); + point (0, 0); + cRockerSwitch = new CRockerSwitch (size, this, kRockerSwitchTag, rocker->getHeight () / 3, rocker, point); + addView (cRockerSwitch); + rocker->forget (); + + + //--CHorizontalSwitch-------------------------------------- + CBitmap *switchHBitmap = new CBitmap (kSwitchHBitmap); + size (0, 0, switchHBitmap->getWidth (), switchHBitmap->getHeight () / 4); + size.offset (70 + 10, 70 + 30); + point (0, 0); + cHorizontalSwitch = new CHorizontalSwitch (size, this, kSwitchHTag, 4, switchHBitmap->getHeight () / 4, 4, switchHBitmap, point); + addView (cHorizontalSwitch); + switchHBitmap->forget (); + + + //--CVerticalSwitch-------------------------------------- + CBitmap *switchVBitmap = new CBitmap (kSwitchVBitmap); + + size (0, 0, switchVBitmap->getWidth (), switchVBitmap->getHeight () / 4); + size.offset (140 + 30, 70 + 5); + cVerticalSwitch = new CVerticalSwitch (size, this, kSwitchVTag, 4, switchVBitmap->getHeight () / 4, 4, switchVBitmap, point); + addView (cVerticalSwitch); + switchVBitmap->forget (); + + + //--CHorizontalSlider-------------------------------------- + CBitmap *sliderHBgBitmap = new CBitmap (kSliderHBgBitmap); + CBitmap *sliderHandleBitmap = new CBitmap (kSliderHandleBitmap); + + size (0, 0, sliderHBgBitmap->getWidth (), sliderHBgBitmap->getHeight ()); + size.offset (10, 30); + + point (0, 0); +#if 1 + cHorizontalSlider = new CHorizontalSlider (size, this, kSliderHTag, size.left + 2, size.left + sliderHBgBitmap->getWidth () - sliderHandleBitmap->getWidth () - 1, sliderHandleBitmap, sliderHBgBitmap, point, kLeft); + point (0, 2); + cHorizontalSlider->setOffsetHandle (point); +#else + CPoint handleOffset (2, 2); + cHorizontalSlider = new CHorizontalSlider (size, this, kSliderHTag, handleOffset, size.width () - 2 * handleOffset.h, sliderHandleBitmap, sliderHBgBitmap, point, kLeft); +#endif + cHorizontalSlider->setFreeClick (false); + size.offset (0, -30 + 10); + + style = k3DIn | kCheckStyle; + COptionMenu *cOptionMenu2 = new COptionMenu (size, this, kOptionMenuTag, bgKnob, 0, style); + if (cOptionMenu2) + { + cOptionMenu2->setFont (kNormalFont); + cOptionMenu2->setFontColor (kWhiteCColor); + cOptionMenu2->setBackColor (kRedCColor); + cOptionMenu2->setFrameColor (kWhiteCColor); + cOptionMenu2->setHoriAlign (kLeftText); + int i; + for (i = 0; i < 3; i++) + { + char txt[256]; + sprintf (txt, "Entry %d", i); + cOptionMenu2->addEntry (txt); + } + } + + // add this 2 control in a CViewContainer + size (0, 0, 70, 45); + size.offset (210, 70); + cViewContainer = new CViewContainer (size, frame, background); + cViewContainer->addView (cHorizontalSlider); + cViewContainer->addView (cOptionMenu2); + addView (cViewContainer); + + sliderHBgBitmap->forget (); + + + //--CVerticalSlider-------------------------------------- + CBitmap *sliderVBgBitmap = new CBitmap (kSliderVBgBitmap); + + size (0, 0, sliderVBgBitmap->getWidth (), sliderVBgBitmap->getHeight ()); + size.offset (280 + 30, 70 + 5); +#if 1 + point (0, 0); + cVerticalSlider = new CVerticalSlider (size, this, kSliderVTag, size.top + 2, size.top + sliderVBgBitmap->getHeight () - sliderHandleBitmap->getHeight () - 1, sliderHandleBitmap, sliderVBgBitmap, point, kBottom); + point (2, 0); + cVerticalSlider->setOffsetHandle (point); +#else + point (0, 0); + CPoint handleOffset (2, 2); + cVerticalSlider = new CVerticalSlider (size, this, kSliderVTag, handleOffset, + size.height () - 2 * handleOffset.v, sliderHandleBitmap, sliderVBgBitmap, point, kBottom); +#endif + cVerticalSlider->setFreeClick (false); + addView (cVerticalSlider); + + sliderVBgBitmap->forget (); + sliderHandleBitmap->forget (); + + + //--CTextEdit-------------------------------------- + size (0, 0, 50, 12); + size.offset (350 + 10, 70 + 30); + cTextEdit = new CTextEdit (size, this, kTextEditTag, 0, 0, k3DIn); + if (cTextEdit) + { + cTextEdit->setFont (kNormalFontVerySmall); + cTextEdit->setFontColor (kWhiteCColor); + cTextEdit->setBackColor (kBlackCColor); + cTextEdit->setFrameColor (kWhiteCColor); + cTextEdit->setHoriAlign (kCenterText); + addView (cTextEdit); + } + + //--CSplashScreen-------------------------------------- + CBitmap *splashBitmap = new CBitmap (kSplashBitmap); + + size (0, 0, 70, 70); + size.offset (0, 140); + point (0, 0); + CRect toDisplay (0, 0, splashBitmap->getWidth (), splashBitmap->getHeight ()); + toDisplay.offset (100, 50); + + cSplashScreen = new CSplashScreen (size, this, kAbout, splashBitmap, toDisplay, point); + addView (cSplashScreen); + splashBitmap->forget (); + + + //--CMovieBitmap-------------------------------------- + CBitmap *movieBitmap = new CBitmap (kMovieBitmap); + + size (0, 0, movieBitmap->getWidth (), movieBitmap->getHeight () / 10); + size.offset (70 + 15, 140 + 15); + point (0, 0); + cMovieBitmap = new CMovieBitmap (size, this, kMovieBitmapTag, 10, movieBitmap->getHeight () / 10, movieBitmap, point); + addView (cMovieBitmap); + + + //--CAutoAnimation-------------------------------------- + size (0, 0, movieBitmap->getWidth (), movieBitmap->getHeight () / 10); + size.offset (140 + 15, 140 + 15); + point (0, 0); + cAutoAnimation = new CAutoAnimation (size, this, kAutoAnimationTag, 10, movieBitmap->getHeight () / 10, movieBitmap, point); + addView (cAutoAnimation); + movieBitmap->forget (); + + + //--CSpecialDigit-------------------------------------- + CBitmap *specialDigitBitmap = new CBitmap (kDigitBitmap); + + size (0, 0, specialDigitBitmap->getWidth () * 7, specialDigitBitmap->getHeight () / 10); + size.offset (210 + 10, 140 + 30); + + cSpecialDigit = new CSpecialDigit (size, this, kDigitTag, 0, 7, 0, 0, specialDigitBitmap->getWidth (), specialDigitBitmap->getHeight () / 10 , specialDigitBitmap); + addView (cSpecialDigit); + specialDigitBitmap->forget (); + + + //--CParamDisplay-------------------------------------- + size (0, 0, 50, 15); + size.offset (280 + 10, 140 + 30); + cParamDisplay = new CParamDisplay (size); + if (cParamDisplay) + { + cParamDisplay->setFont (kNormalFontSmall); + cParamDisplay->setFontColor (kWhiteCColor); + cParamDisplay->setBackColor (kBlackCColor); + addView (cParamDisplay); + } + + + //--CVuMeter-------------------------------------- + CBitmap* vuOnBitmap = new CBitmap (kVuOnBitmap); + CBitmap* vuOffBitmap = new CBitmap (kVuOffBitmap); + + size (0, 0, vuOnBitmap->getWidth (), vuOnBitmap->getHeight ()); + size.offset (350 + 30, 140 + 5); + cVuMeter = new CVuMeter (size, vuOnBitmap, vuOffBitmap, 14); + cVuMeter->setDecreaseStepValue (0.1f); + addView (cVuMeter); + vuOnBitmap->forget (); + vuOffBitmap->forget (); + + //--My controls--------------------------------- + //--CLabel-------------------------------------- + size (0, 0, 349, 14); + size.offset (0, 140); + cLabel = new CLabel (size, "Type a Key or Drop a file..."); + if (cLabel) + { + cLabel->setFont (kNormalFontSmall); + cLabel->setFontColor (kWhiteCColor); + cLabel->setBackColor (kGreyCColor); + addView (cLabel); + } + + //--CLabel-------------------------------------- + size (0, 0, 65, 12); + size.offset (1, 40); + CLabel *cLabel2 = new CLabel (size, "FileSelector"); + if (cLabel2) + { + cLabel2->setFont (kNormalFontSmaller); + cLabel2->setFontColor (kWhiteCColor); + cLabel2->setBackColor (kGreyCColor); + addView (cLabel2); + } + + size (inSize.right, inSize.bottom, inSize.right + 100, inSize.bottom + 100); + CLabel* outsideLabel = new CLabel (size, "This label is outside its superview"); + addView (outsideLabel); + outsideLabel->setDirty (true); +} + +void ControlsGUI::valueChanged (CDrawContext *pContext, CControl *pControl) +{ + // this is only to provide the same behaviour as the original controlsgui editor class in the vst sdk 2.3 + // do not take this as an example on how to code !!! + + float value = pControl->getValue (); + switch (pControl->getTag ()) + { + case kSliderVTag: + case kSliderHTag: + case kKnobTag: + case kAnimKnobTag: + { + cHorizontalSlider->setValue (value); + cVerticalSlider->setValue (value); + cKnob->setValue (value); + cAnimKnob->setValue (value); + cSpecialDigit->setValue (1000000 * value); + cParamDisplay->setValue (value); + cVuMeter->setValue (value); + cMovieBitmap->setValue (value); + break; + } + + case kOnOffTag: + { + if (value > 0.5f) + { + VstFileType aiffType ("AIFF File", "AIFF", "aif", "aiff", "audio/aiff", "audio/x-aiff"); + VstFileType aifcType ("AIFC File", "AIFC", "aif", "aifc", "audio/x-aifc"); + VstFileType waveType ("Wave File", "WAVE", "wav", "wav", "audio/wav", "audio/x-wav"); + VstFileType sdIIType ("SoundDesigner II File", "Sd2f", "sd2", "sd2"); + VstFileType types[] = {aiffType, aifcType, waveType, sdIIType}; + + VstFileSelect vstFileSelect; + memset (&vstFileSelect, 0, sizeof (VstFileSelect)); + + vstFileSelect.command = kVstFileLoad; + vstFileSelect.type = kVstFileType; + strcpy (vstFileSelect.title, "Test for open file selector"); + vstFileSelect.nbFileTypes = 4; + vstFileSelect.fileTypes = (VstFileType*)&types; + vstFileSelect.returnPath = new char[1024]; + vstFileSelect.initialPath = 0; + vstFileSelect.future[0] = 1; // utf-8 path on macosx + CFileSelector selector (NULL); + if (selector.run (&vstFileSelect)) + { + if (cLabel) + cLabel->setLabel (vstFileSelect.returnPath); + } + else + { + if (cLabel) + cLabel->setLabel ("OpenFileSelector: canceled!!!!"); + } + delete []vstFileSelect.returnPath; + if (vstFileSelect.initialPath) + delete []vstFileSelect.initialPath; + } + break; + } + } +} + +void ControlsGUI::onIdle () +{ + // trigger animation + if(cAutoAnimation) + cAutoAnimation->nextPixmap (); +}
\ No newline at end of file diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/controlsgui.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/controlsgui.h new file mode 100644 index 0000000..dae8bdc --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/controlsgui.h @@ -0,0 +1,51 @@ +#ifndef __controlsgui__ +#define __controlsgui__ + +#ifndef __vstcontrols__ +#include "vstcontrols.h" +#endif + +class CLabel; + +class ControlsGUI : public CViewContainer, CControlListener +{ +public: + ControlsGUI (const CRect &size, CFrame *pParent, CBitmap *pBackground = 0); + + virtual void onIdle (); + + virtual void valueChanged (CDrawContext *pContext, CControl *pControl); + +protected: + + COnOffButton *cOnOffButton; + CKickButton *cKickButton; + CKnob *cKnob; + CMovieButton *cMovieButton; + CAnimKnob *cAnimKnob; + COptionMenu *cOptionMenu; + + CRockerSwitch *cRockerSwitch; + CHorizontalSwitch *cHorizontalSwitch; + CVerticalSwitch *cVerticalSwitch; + CHorizontalSlider *cHorizontalSlider; + CHorizontalSlider *cHorizontalSlider2; + CVerticalSlider *cVerticalSlider; + CTextEdit *cTextEdit; + + CSplashScreen *cSplashScreen; + CMovieBitmap *cMovieBitmap; + CAutoAnimation *cAutoAnimation; + CSpecialDigit *cSpecialDigit; + CParamDisplay *cParamDisplay; + CVuMeter *cVuMeter; + + CViewContainer *cViewContainer; + + // others + CLabel *cLabel; + + long oldTicks; +}; + +#endif diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteditor.cpp b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteditor.cpp new file mode 100644 index 0000000..7e7f3af --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteditor.cpp @@ -0,0 +1,266 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#include "pdrawtesteditor.h" +#include "pdrawtestview.h" +#include "cscrollview.h" +#include "ctabview.h" +#include "controlsgui.h" +#include "pprimitivesviews.h" + +enum { + kBackgroundBitmap = 1, + kTabButtonBitmap = 100, + kTestBitmap = 1000, +}; + +class MyTabView : public CTabView +{ +public: + MyTabView (const CRect& size, CFrame* parent, CBitmap* tabBitmap, CBitmap* background = 0, long tabPosition = kPositionTop, DrawTestEditor* editor = 0) + : CTabView (size, parent, tabBitmap, background, tabPosition) + , editor (editor) {} + + virtual void mouse (CDrawContext *pContext, CPoint &where, long button = -1) + { + if (button == kRButton) + { + CView* view = getViewAt (where); + if (!view || view->isTypeOf ("CTabButton")) + { + CRect r; + localToFrame (where); + r.offset (where.x, where.y); + r.offset (-size.left, -size.top); + COptionMenu* menu = new COptionMenu (r, NULL, 0); + menu->addEntry ("Tabs Left"); + menu->addEntry ("Tabs Right"); + menu->addEntry ("Tabs Top"); + menu->addEntry ("Tabs Bottom"); + menu->addEntry ("-"); + menu->addEntry ("Align Tabs Centered"); + menu->addEntry ("Align Tabs Left/Top"); + menu->addEntry ("Align Tabs Right/Bottom"); + getFrame ()->addView (menu); + menu->takeFocus (); + long res = menu->getLastResult (); + getFrame ()->removeView (menu); + if (res != -1) + { + if (res < 4) + { + r = size; + editor->setTabView (getFrame (), r, res); + } + else + { + alignTabs (kAlignCenter + res - 5); + } + } + return; + } + } + CTabView::mouse (pContext, where, button); + } + + virtual bool selectTab (long index) + { + bool result = CTabView::selectTab (index); + #if DEBUG + getFrame ()->dumpHierarchy (); + #endif + return result; + } + +protected: + DrawTestEditor* editor; +}; + +class MyColoredView : public CView +{ +public: + MyColoredView (const CRect& size) : CView (size) {} + + void draw (CDrawContext* context) + { + context->setFillColor (backgroundColor); + context->setFrameColor (kBlackCColor); + context->drawRect (size, kDrawFilledAndStroked); + setDirty (false); + } + + void setBackgroundColor (const CColor& c) { backgroundColor = c; } + +protected: + CColor backgroundColor; +}; + +DrawTestEditor::DrawTestEditor (void* effect) +#if AU +: AEffGUIEditor (effect) +#else +: AEffGUIEditor ((AudioEffect*)effect) +#endif +, controlsView (0) +{ + backgroundBitmap = new CBitmap (kBackgroundBitmap); + // setup size of editor + rect.left = 0; + rect.top = 0; + #if AU + rect.right = (short)backgroundBitmap->getWidth (); + rect.bottom = (short)backgroundBitmap->getHeight (); + #else + rect.right = (VstInt16)backgroundBitmap->getWidth (); + rect.bottom = (VstInt16)backgroundBitmap->getHeight (); + #endif +} + +DrawTestEditor::~DrawTestEditor () +{ + backgroundBitmap->forget (); +} + +void DrawTestEditor::valueChanged (CDrawContext *pContext, CControl *pControl) +{ +} + +void DrawTestEditor::setTabView (CFrame* frame, const CRect& r, long position) +{ + frame->removeAll (); + CBitmap* tabButtonBitmap = new CBitmap (kTabButtonBitmap); + CTabView* tabView = new MyTabView (r, frame, tabButtonBitmap, NULL, position, this); + tabView->setTransparency (true); + frame->addView (tabView); + CRect tabSize = tabView->getTabViewSize (tabSize); +// tabSize.inset (1, 1); + // add tabs + CView* testView; + CBitmap* testBitmap = new CBitmap (kTestBitmap); + CRect containerSize; + containerSize.right = testBitmap->getWidth (); + containerSize.bottom = testBitmap->getHeight (); + // the first tab is a scroll view with a movie bitmap + CScrollView* scrollview = new CScrollView (tabSize, containerSize, frame, CScrollView::kHorizontalScrollbar|CScrollView::kVerticalScrollbar); + CPoint p (0,0); + testView = new CMovieBitmap (containerSize, NULL, 0, 1, testBitmap->getHeight (), testBitmap, p); + testBitmap->forget (); + scrollview->addView (testView); + tabView->addTab (scrollview, "Scroll View"); + + // the second tab is a draw primitives view +// testView = new CDrawTestView (tabSize); +// tabView->addTab (testView, "Primitives"); + testView = new PLinesView (tabSize); + tabView->addTab (testView, "Lines"); + + testView = new PRectsView (tabSize); + tabView->addTab (testView, "Rects"); + + testView = new PMiscView (tabSize); + tabView->addTab (testView, "Misc"); + + // the third tab is the old controlsgui view embeded into a container view + CRect controlsGUISize (0, 0, 420, 210); + controlsGUISize.offset (5, 5); + testView = controlsView = new ControlsGUI (controlsGUISize, frame); + + CViewContainer* controlContainer = new CViewContainer (tabSize, frame); + controlContainer->setTransparency (true); + controlContainer->addView (testView); + + tabView->addTab (controlContainer, "Controls"); + + CColor redColor = {255, 0, 0, 150}; + CColor greenColor = {0, 255, 0, 150}; + CColor blueColor = {0, 0, 255, 150}; + + CViewContainer* clipView = new CViewContainer (tabSize, frame); + clipView->setTransparency (true); + CRect clipViewSize (0, 0, tabSize.getWidth () / 4, tabSize.getHeight () / 2); + MyColoredView* cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (redColor); + clipView->addView (cv); + clipViewSize.offset (clipViewSize.getWidth (), 0); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (greenColor); + clipView->addView (cv); + clipViewSize.offset (clipViewSize.getWidth (), 0); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (blueColor); + clipView->addView (cv); + clipViewSize.offset (clipViewSize.getWidth (), 0); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (redColor); + clipView->addView (cv); + clipViewSize (0, tabSize.getHeight () / 2, tabSize.getWidth () / 4, tabSize.getHeight ()); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (greenColor); + clipView->addView (cv); + clipViewSize.offset (clipViewSize.getWidth (), 0); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (blueColor); + clipView->addView (cv); + clipViewSize.offset (clipViewSize.getWidth (), 0); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (redColor); + clipView->addView (cv); + clipViewSize.offset (clipViewSize.getWidth (), 0); + cv = new MyColoredView (clipViewSize); + cv->setBackgroundColor (greenColor); + clipView->addView (cv); + + tabView->addTab (clipView, "Clip Test"); + tabView->alignTabs (CTabView::kAlignCenter); + + tabButtonBitmap->forget (); + frame->setDirty (); +} + +bool DrawTestEditor::open (void *ptr) +{ + AEffGUIEditor::open (ptr); + CRect size (rect.left , rect.top, rect.right, rect.bottom); + CFrame* frame = new CFrame (size, ptr, this); + frame->setBackground (backgroundBitmap); + size.inset (8, 8); + size.top++; // the background bitmap is not correct + size.left++; // the background bitmap is not correct + setTabView (frame, size, CTabView::kPositionBottom); + // last but not least set the class variable frame to our newly created frame + this->frame = frame; + return true; +} + +void DrawTestEditor::close () +{ + // don't forget to remove the frame !! + if (frame) + delete frame; + frame = 0; + controlsView = 0; +} + +void DrawTestEditor::idle () +{ + AEffGUIEditor::idle (); + + if(controlsView) + controlsView->onIdle (); +}
\ No newline at end of file diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteditor.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteditor.h new file mode 100644 index 0000000..8c20a82 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteditor.h @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#ifndef __pdrawtesteditor__ +#define __pdrawtesteditor__ + +#ifndef __vstcontrols__ +#include "vstcontrols.h" +#endif + +class ControlsGUI; + +class DrawTestEditor : public AEffGUIEditor, CControlListener +{ +public: + DrawTestEditor (void* effect); + virtual ~DrawTestEditor (); + + void setTabView (CFrame* frame, const CRect& r, long position); + + virtual void valueChanged (CDrawContext *pContext, CControl *pControl); + +protected: + virtual bool open (void *ptr); + virtual void close (); + virtual void idle (); + + CBitmap* backgroundBitmap; + ControlsGUI* controlsView; +}; + +#endif diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteffect.cpp b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteffect.cpp new file mode 100644 index 0000000..7db11fa --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteffect.cpp @@ -0,0 +1,177 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#if AU +#include "AUEffectBase.h" +#include "pdrawtesteditor.h" + +#define kComponentSubType 'vgdt' +#define kComponentManuf 'Xxxx' +#define kVersionNumber 0x00010000 + +class DrawTestAU : public AUEffectBase +{ +public: + DrawTestAU (AudioUnit au) + : AUEffectBase (au) + { + // editor = new DrawTestEditor (this); + } + + virtual ~DrawTestAU () + { + //if (editor) + //delete editor; + } + + virtual int GetNumCustomUIComponents () + { + return 1; + } + + virtual ComponentResult Version () { return kVersionNumber; } + + virtual void GetUIComponentDescs (ComponentDescription* inDescArray) + { + inDescArray[0].componentType = kAudioUnitCarbonViewComponentType; + inDescArray[0].componentSubType = kComponentSubType; + inDescArray[0].componentManufacturer = kComponentManuf; + inDescArray[0].componentFlags = 0; + inDescArray[0].componentFlagsMask = 0; + } + +/* ComponentResult GetPropertyInfo (AudioUnitPropertyID inID, AudioUnitScope inScope, AudioUnitElement inElement, UInt32 &outDataSize, Boolean &outWritable) + { + if (inID == 64000) + { + if (editor) + { + outDataSize = sizeof (PluginGUIEditor*); + outWritable = false; + return noErr; + } + return kAudioUnitErr_InvalidProperty; + } + return AUEffectBase::GetPropertyInfo (inID, inScope, inElement, outDataSize, outWritable); + } + + ComponentResult GetProperty (AudioUnitPropertyID inID, AudioUnitScope inScope, AudioUnitElement inElement, void *outData) + { + if (inID == 64000) + { + if (editor) + { + long ptr = (long)editor; + *((long*)outData) = ptr; + return noErr; + } + else + *((long*)outData) = 0; + return kAudioUnitErr_InvalidProperty; + } + return AUEffectBase::GetProperty (inID, inScope, inElement, outData); + } +*/ +protected: + DrawTestEditor* editor; +}; + + +#include "AUCarbonViewBase.h" +#include "plugguieditor.h" + +class VSTGUIAUView : public AUCarbonViewBase +{ +public: + VSTGUIAUView (AudioUnitCarbonView auv) + : AUCarbonViewBase (auv) + , editor (0) + , xOffset (0) + , yOffset (0) + { + } + + virtual ~VSTGUIAUView () + { + if (editor) + { + editor->close (); + } + } + + void RespondToEventTimer (EventLoopTimerRef inTimer) + { + if (editor) + editor->doIdleStuff (); + } + + virtual OSStatus CreateUI(Float32 xoffset, Float32 yoffset) + { + AudioUnit unit = GetEditAudioUnit (); + if (unit) + { + editor = new DrawTestEditor (unit); + WindowRef window = GetCarbonWindow (); + editor->open (window); +// HIViewMoveBy ((HIViewRef)editor->getFrame ()->getPlatformControl (), xoffset, yoffset); + EmbedControl ((HIViewRef)editor->getFrame ()->getPlatformControl ()); + CRect fsize = editor->getFrame ()->getViewSize (fsize); + SizeControl (mCarbonPane, fsize.width (), fsize.height ()); + CreateEventLoopTimer (kEventDurationSecond, kEventDurationSecond / 24); + HIViewSetVisible ((HIViewRef)editor->getFrame ()->getPlatformControl (), true); + HIViewSetNeedsDisplay ((HIViewRef)editor->getFrame ()->getPlatformControl (), true); + } + return noErr; + } + + Float32 xOffset, yOffset; +protected: + PluginGUIEditor* editor; +}; + +COMPONENT_ENTRY(VSTGUIAUView); +COMPONENT_ENTRY(DrawTestAU); + + +#else +#include "pdrawtesteffect.h" +#include "pdrawtesteditor.h" + +DrawTestEffect::DrawTestEffect (audioMasterCallback audioMaster) +: AudioEffectX (audioMaster, 1, 0) +{ + editor = new DrawTestEditor (this); +} + +DrawTestEffect::~DrawTestEffect () +{ +} + +void DrawTestEffect::processReplacing (float **inputs, float **outputs, VstInt32 sampleFrames) +{ +} + +VstInt32 DrawTestEffect::canDo (char* text) +{ + if (!strcmp (text, "wantsUTF8Paths")) + return 1; + return 0; +} + +#endif diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteffect.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteffect.h new file mode 100644 index 0000000..9e73589 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtesteffect.h @@ -0,0 +1,38 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#ifndef __pdrawtesteffect__ +#define __pdrawtesteffect__ + +#ifndef __audioeffectx__ +#include "audioeffectx.h" +#endif + +class DrawTestEffect : public AudioEffectX +{ +public: + DrawTestEffect (audioMasterCallback audioMaster); + ~DrawTestEffect (); + + virtual void processReplacing (float **inputs, float **outputs, VstInt32 sampleFrames); + + VstInt32 canDo (char* text); +}; + +#endif diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestmain.cpp b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestmain.cpp new file mode 100644 index 0000000..ada29d9 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestmain.cpp @@ -0,0 +1,78 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#include "pdrawtesteffect.h" + +bool oome = false; + +#if MAC +#pragma export on +#endif + +//------------------------------------------------------------------------ +// Prototype of the export function main +//------------------------------------------------------------------------ +#if BEOS +#define main main_plugin +extern "C" __declspec(dllexport) AEffect *main_plugin (audioMasterCallback audioMaster); + +#elif MACX +#define main main_macho +extern "C" AEffect *main_macho (audioMasterCallback audioMaster); + +#else +#define main VSTPluginMain +AEffect *main (audioMasterCallback audioMaster); +#endif + +//------------------------------------------------------------------------ +AEffect *main (audioMasterCallback audioMaster) +{ + // Get VST Version + if (!audioMaster (0, audioMasterVersion, 0, 0, 0, 0)) + return 0; // old version + + // Create the AudioEffect + DrawTestEffect* effect = new DrawTestEffect (audioMaster); + if (!effect) + return 0; + + // Check if no problem in constructor of AGain + if (oome) + { + delete effect; + return 0; + } + return effect->getAeffect (); +} + +#if MAC +#pragma export off +#endif + + +#if WIN32 +#include <windows.h> +void* hInstance; +BOOL WINAPI DllMain (HINSTANCE hInst, DWORD dwReason, LPVOID lpvReserved) +{ + hInstance = hInst; + return 1; +} +#endif diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestview.cpp b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestview.cpp new file mode 100644 index 0000000..914aeab --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestview.cpp @@ -0,0 +1,299 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#ifndef __pdrawtestview__ +#include "pdrawtestview.h" +#endif + +#include <stdio.h> + +static long diffX, diffY; + +CDrawTestView::CDrawTestView (const CRect& size) +: CView (size) +, value (0) +{ + diffX = diffY = 0; +} + +static inline void testDrawRect (CDrawContext *pContext, CRect r, int _offset = 0) +{ + int offset = _offset ? _offset : pContext->getLineWidth (); + int i = 0; + while (r.width () > 1 && r.height () > 1) + { + if (i++ % 2) + pContext->setFrameColor (kBlackCColor); + else + pContext->setFrameColor (kRedCColor); + pContext->drawRect (r); + r.inset (offset, offset); + } +} + +static inline void testFillRect (CDrawContext *pContext, CRect r) +{ + int i = 0; + while (r.width () > 1 && r.height () > 1) + { + if (i++ % 2) + pContext->setFillColor (kYellowCColor); + else + pContext->setFillColor (kCyanCColor); + r.inset (1,1); + pContext->fillRect (r); + } +} + +static inline void testDrawLine (CDrawContext *pContext, CRect r, int _offset = 0) +{ + int offset = _offset ? _offset : pContext->getLineWidth (); + int i = 0; + while (r.width () > 1 && r.height () > 1) + { + if (i++ % 2) + pContext->setFrameColor (kBlueCColor); + else + pContext->setFrameColor (kGreenCColor); +// pContext->setClipRect (r); + pContext->moveTo (CPoint (r.left, r.top)); + pContext->lineTo (CPoint (r.right, r.top)); + pContext->lineTo (CPoint (r.right, r.bottom)); + pContext->lineTo (CPoint (r.left, r.bottom)); + pContext->lineTo (CPoint (r.left, r.top)); +// pContext->drawRect (r); + r.inset (offset,offset); + } +} + +static inline void drawVerticalLines (CDrawContext *pContext, CRect r, int _offset = 0) +{ + int offset = _offset ? _offset : pContext->getLineWidth (); + int i = 0; + CPoint p (0, r.top); + while (p.y < r.bottom) + { + if (i++ % 2) + pContext->setFrameColor (kBlueCColor); + else + pContext->setFrameColor (kGreenCColor); + pContext->moveTo (CPoint (r.left, p.y)); + pContext->lineTo (CPoint (r.right, p.y)); + p.offset (0,offset); + } +} + +static inline void clearRect (CDrawContext* pContext, const CRect& r) +{ + pContext->setFillColor (kWhiteCColor); + pContext->fillRect (r); + pContext->setLineWidth (1); + pContext->setFrameColor (kBlackCColor); + pContext->drawRect (r); +} + +static inline void drawLines (CDrawContext* pContext, CRect r, int offset = 2) +{ + CRect size (r); + pContext->setFrameColor (kBlueCColor); + int i; + for (i = 0; i < size.height (); i++) + { + pContext->moveTo (CPoint (r.left, r.top)); + pContext->lineTo (CPoint (r.right, r.bottom)); + r.offset (0, offset); + } + for (i = 0; i < size.height (); i++) + { + size.offset (0, -offset); + pContext->moveTo (CPoint (size.left, size.top)); + pContext->lineTo (CPoint (size.right, size.bottom)); + } +} + + +CColor arcColors[] = { {0,0,255,255}, {255,0,255,255}, {0,255,0,255}, {255,0,0,255}, {255, 255, 0, 255} }; + +#define numArcColors 4 + +static inline void drawArcs (CDrawContext* pContext, CRect r, int offset = 2) +{ + r.inset (diffX, diffY); + int i = 0; + long n = r.height () > r.width () ? r.width () : r.height (); + while (r.width () > 1 && r.height () > 1) + { + pContext->setFrameColor (arcColors[i++]); if (i > numArcColors) i = 0; + pContext->drawArc (r, CPoint (r.left, r.top + r.height () / 2), CPoint (r.left + r.width () / 2, r.bottom)); + pContext->setFrameColor (arcColors[i++]); if (i > numArcColors) i = 0; + pContext->drawArc (r, CPoint (r.left + r.width () / 2, r.bottom), CPoint (r.right, r.top + r.height () / 2)); + pContext->setFrameColor (arcColors[i++]); if (i > numArcColors) i = 0; + pContext->drawArc (r, CPoint (r.right, r.top + r.height () / 2), CPoint (r.left + r.width () / 2, r.top)); + pContext->setFrameColor (arcColors[i++]); if (i > numArcColors) i = 0; + pContext->drawArc (r, CPoint (r.left + r.width () / 2, r.top), CPoint (r.left, r.top + r.height () / 2)); + r.inset (offset, offset); + } +} + +static inline void drawEllipses (CDrawContext* pContext, CRect r, int offset = 2) +{ + r.inset (diffX, diffY); + int i = 0; + long n = r.height () > r.width () ? r.width () : r.height (); + while (r.width () > 1 && r.height () > 1) + { + pContext->setFrameColor (arcColors[i++]); if (i > numArcColors) i = 0; + pContext->drawEllipse (r); + r.inset (offset, offset); + } +} + +#define kMaxValue 10 + +void CDrawTestView::draw (CDrawContext *pContext) +{ + char str[256]; + str[0] = 0; + sprintf (str, "Click for Next"); + CRect r (size); + pContext->setDrawMode (kCopyMode); + clearRect (pContext, r); + r.inset (1, 1); + switch (value) + { + case 0: + { + pContext->setLineWidth (1); + testDrawRect (pContext, r); + break; + } + case 1: + { + pContext->setLineWidth (1); + testDrawLine (pContext, r, 2); + break; + } + case 2: + { + testFillRect (pContext, r); + break; + } + case 3: + { + pContext->setLineWidth (2); + testDrawLine (pContext, r); + break; + } + case 4: + { + pContext->setDrawMode (kAntialias); + pContext->setLineWidth (2); + testDrawLine (pContext, size); + break; + } + case 5: + { + pContext->setDrawMode (kAntialias); + pContext->setLineWidth (1); + testDrawLine (pContext, r); + break; + } + case 6: + { + pContext->setLineWidth (1); + drawLines (pContext, r, 4); + break; + } + case 7: + { + pContext->setDrawMode (kAntialias); + pContext->setLineWidth (1); + drawLines (pContext, r, 4); + break; + } + case 8: + { + pContext->setDrawMode (kAntialias); + pContext->setLineWidth (4); + drawArcs (pContext, r, 8); + break; + } + case 9: + { + pContext->setDrawMode (kAntialias); + pContext->setLineWidth (4); + drawEllipses (pContext, r, 8); + break; + } + case 10: + { + pContext->setLineStyle (kLineOnOffDash); + //pContext->setDrawMode (kAntialias); + pContext->setLineWidth (1); + drawVerticalLines (pContext, r, 3); + break; + } + } + pContext->setFont (kSystemFont); + pContext->setFontColor (kWhiteCColor); + pContext->drawString (str, r); + pContext->setFontColor (kBlackCColor); + r.offset (-1, -1); + pContext->drawString (str, r, true); + pContext->setDrawMode (kCopyMode); + setDirty (false); +} + +void CDrawTestView::mouse (CDrawContext* pContext, CPoint& where, long buttons) +{ + if (buttons & kLButton) + { + if (buttons & kShift) + { + CPoint start (where); + while ((buttons = pContext->getMouseButtons ())) + { + if (pContext->waitDrag ()) + { + CPoint now; + getMouseLocation (pContext, now); + diffX += start.x - now.x; + diffY += start.y - now.y; + start = now; + setDirty (true); + if (pParentFrame) pParentFrame->doIdleStuff (); + } + } + } + else + { + value++; + if (value > kMaxValue) + value = 0; + } + } + else if (buttons & kRButton) + { + value--; + if (value < 0) + value = kMaxValue; + } + setDirty (true); +} + diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestview.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestview.h new file mode 100644 index 0000000..4861819 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pdrawtestview.h @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------------------------------- +// VSTGUI Test View plugin +// Copyright (c) 2004 Arne Scheffler. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +//------------------------------------------------------------------------------------------------------- + +#ifndef __pdrawtestview__ +#define __pdrawtestview__ + +#ifndef __vstgui__ +#include "vstgui.h" +#endif + +BEGIN_NAMESPACE_VSTGUI + +class CDrawTestView : public CView +{ +public: + CDrawTestView (const CRect& size); + + virtual void draw (CDrawContext *pContext); + + virtual void mouse (CDrawContext* pContext, CPoint& where, long buttons); + +protected: + int value; +}; + +END_NAMESPACE_VSTGUI + +#endif
\ No newline at end of file diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.cpp b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.cpp new file mode 100644 index 0000000..e0e668c --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.cpp @@ -0,0 +1,245 @@ +#ifndef __pprimitivesviews__ +#include "pprimitivesviews.h" +#endif + +#include <stdio.h> + +const CColor kBlueAlphaCColor = { 0, 0, 255, 200}; +const CColor kRedAlphaCColor = { 255, 0, 0, 200}; +const CColor kYellowAlphaCColor = { 255, 255, 0, 200}; +const CColor kGreenAlphaCColor = { 0, 255, 0, 200}; +const CColor kMagentaAlphaCColor= { 255, 0, 255, 200}; + +PMiscView::PMiscView (const CRect& size) +: CView (size), xOffset (0), yOffset (0) +{ + setTransparency (true); +} + +void PMiscView::mouse (CDrawContext* pContext, CPoint &where, long buttons) +{ + if (pContext->waitDrag ()) + { + while (pContext->getMouseButtons () == kLButton) + { + CPoint cl; + getMouseLocation (pContext, cl); + if (cl != where) + { + xOffset -= (where.x - cl.x); + yOffset -= (where.y - cl.y); + where = cl; + setDirty (true); + } + getFrame ()->doIdleStuff (); + } + } +} + +static inline void offsetPoints (CPoint* points, long numPoints, CPoint offset) +{ + for (long i = 0; i < numPoints; i++) + points[i].offset (offset.x, offset.y); +} + +void PMiscView::draw (CDrawContext* pContext) +{ + drawGrid (pContext); + CPoint polyPoints[10]; + polyPoints[0] = CPoint (50,0); + polyPoints[1] = CPoint (100,50); + polyPoints[2] = CPoint (50,100); + polyPoints[3] = CPoint (0,50); + polyPoints[4] = CPoint (50,0); + offsetPoints (polyPoints, 5, CPoint (size.left + xOffset, size.top + yOffset)); + pContext->setDrawMode (kAntialias); + pContext->setFrameColor (kBlackCColor); + pContext->drawPolygon (polyPoints, 5, kDrawStroked); + offsetPoints (polyPoints, 5, CPoint (50, 0)); + pContext->setFillColor (kBlueAlphaCColor); + pContext->drawPolygon (polyPoints, 5, kDrawFilled); + offsetPoints (polyPoints, 5, CPoint (50, 0)); + pContext->setFillColor (kRedAlphaCColor); + pContext->drawPolygon (polyPoints, 5, kDrawFilledAndStroked); + + CRect ellipseRect (200, 0, 300, 100); + ellipseRect.offset (size.left + xOffset, size.top + yOffset); + pContext->drawEllipse (ellipseRect, kDrawStroked); + ellipseRect.offset (50, 0); + pContext->setFillColor (kBlueAlphaCColor); + pContext->drawEllipse (ellipseRect, kDrawFilled); + ellipseRect.offset (50, 0); + pContext->setFillColor (kRedAlphaCColor); + pContext->drawEllipse (ellipseRect, kDrawFilledAndStroked); + + setDirty (false); +} + +void PMiscView::drawGrid (CDrawContext* pContext) +{ + static long gridOffset = 10; + long x = size.left; + long y = size.top; + long numHLines = size.getWidth () / gridOffset + 1; + long numVLines = size.getHeight () / gridOffset + 1; + CPoint* points = new CPoint [numHLines*2 + numVLines*2]; + long i; + for (i = 0; i < numHLines*2; i+=2, x += gridOffset) + { + points[i] = CPoint (x, size.top); + points[i+1] = CPoint (x, size.bottom); + } + for (i = 0; i < numVLines*2; i+=2, y += gridOffset) + { + points[numHLines*2+i] = CPoint (size.left, y); + points[numHLines*2+i+1] = CPoint (size.right, y); + } + pContext->setDrawMode (kCopyMode); + pContext->setFrameColor (kGreyCColor); + pContext->drawLines (points, numHLines+numVLines); + delete [] points; +} + +PLinesView::PLinesView (const CRect& size) +: CView (size) +{ + setTransparency (true); +} + +void PLinesView::draw (CDrawContext *context) +{ + int i; + char text[512]; + text[0] = 0; + context->setFont (kNormalFontSmall); + context->setFrameColor (kWhiteCColor); + context->setFontColor (kBlackCColor); + CRect r (size); + r.left += 10; + r.right -= 2; + r.setHeight (12); + context->drawString ("Normal Lines with different line widths", r); + context->setLineStyle (kLineSolid); + r.offset (0, 12); + for (i = 1; i <= 5; i++) + { + context->setLineWidth (i); + CPoint p (r.left, r.bottom - r.getHeight () / 2); + context->moveTo (p); + p.x = r.right; + context->lineTo (p); + CRect textSize (r.left-10, r.top, r.left, r.bottom); + sprintf (text, "%d", i); + context->drawString (text, textSize); + r.offset (0, 12); + } + context->drawString ("Dotted Lines with different line widths", r); + context->setLineStyle (kLineOnOffDash); + r.offset (0, 12); + for (i = 1; i <= 5; i++) + { + context->setLineWidth (i); + CPoint p (r.left, r.bottom - r.getHeight () / 2); + context->moveTo (p); + p.x = r.right; + context->lineTo (p); + CRect textSize (r.left-10, r.top, r.left, r.bottom); + sprintf (text, "%d", i); + context->drawString (text, textSize); + r.offset (0, 12); + } + context->drawString ("Normal Lines Antialiased with different line widths", r); + context->setLineStyle (kLineSolid); + context->setDrawMode (kAntialias); + r.offset (0, 12); + for (i = 1; i <= 5; i++) + { + context->setLineWidth (i); + CPoint p (r.left, r.bottom - r.getHeight () / 2); + context->moveTo (p); + p.x = r.right; + context->lineTo (p); + CRect textSize (r.left-10, r.top, r.left, r.bottom); + sprintf (text, "%d", i); + context->drawString (text, textSize); + r.offset (0, 12); + } + context->drawString ("Dotted Lines Antialiased with different line widths", r); + context->setLineStyle (kLineOnOffDash); + r.offset (0, 12); + for (i = 1; i <= 5; i++) + { + context->setLineWidth (i); + CPoint p (r.left, r.bottom - r.getHeight () / 2); + context->moveTo (p); + p.x = r.right; + context->lineTo (p); + CRect textSize (r.left-10, r.top, r.left, r.bottom); + sprintf (text, "%d", i); + context->drawString (text, textSize); + r.offset (0, 12); + } + context->setLineStyle (kLineSolid); + context->setLineWidth (1); + context->setDrawMode (kCopyMode); + + setDirty (false); +} + +PRectsView::PRectsView (const CRect& size) +: CView (size) +{ + setTransparency (true); +} + +void PRectsView::draw (CDrawContext *context) +{ + char text[512]; + text[0] = 0; + context->setFont (kNormalFontSmall); + context->setFrameColor (kRedCColor); + context->setFontColor (kBlackCColor); + CRect r (size); + context->drawRect (r); +// r.inset (1,1); + context->setFillColor (kWhiteCColor); + context->drawRect (r,kDrawFilled); + r.inset (2, 2); + context->setDrawMode (kAntialias); + context->drawRect (r); + context->setDrawMode (kCopyMode); + r.inset (5, 5); + CRect r1 (r); + r1.setHeight (r1.getHeight () / 2); + r1.setWidth (r1.getWidth () / 2); + CRect r2 (r1); + r2.inset (1, 1); + context->setFillColor (kBlueAlphaCColor); + context->drawRect (r2, kDrawFilledAndStroked); + r2 = r1; + r2.offset (r2.getWidth (), 0); + r2.inset (1,1); + context->setFillColor (kYellowAlphaCColor); + context->drawRect (r2, kDrawFilledAndStroked); + r2 = r1; + r2.offset (0, r2.getHeight ()); + r2.inset (1,1); + context->setFillColor (kGreenAlphaCColor); + context->drawRect (r2, kDrawFilledAndStroked); + r2 = r1; + r2.offset (r2.getWidth (), r2.getHeight ()); + r2.inset (1,1); + context->setFillColor (kMagentaAlphaCColor); + context->drawRect (r2, kDrawFilledAndStroked); + + r2 = r; + r2.inset (r2.getWidth () / 4, r2.getHeight () / 4); + CColor alphaColor = {0, 0, 0, 130}; + context->setFillColor (alphaColor); + context->fillRect (r2); + r2.inset (r2.getWidth () / 4, r2.getHeight () / 4); + CColor alpha2Color = {255, 255, 255, 130}; + context->setFillColor (alpha2Color); + context->fillRect (r2); + setDirty (false); +} diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h new file mode 100644 index 0000000..90c339a --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h @@ -0,0 +1,37 @@ +#ifndef __pprimitivesviews__ +#define __pprimitivesviews__ + +#ifndef __vstgui__ +#include "vstgui.h" +#endif + +class PLinesView : public CView +{ +public: + PLinesView (const CRect& size); + + virtual void draw (CDrawContext *pContext); +}; + +class PRectsView : public CView +{ +public: + PRectsView (const CRect& size); + + virtual void draw (CDrawContext *pContext); +}; + +class PMiscView : public CView +{ +public: + PMiscView (const CRect& size); + + virtual void draw (CDrawContext* pContext); + virtual void mouse (CDrawContext* pContext, CPoint &where, long buttons = -1); +protected: + void drawGrid (CDrawContext* pContext); + long xOffset; + long yOffset; +}; + +#endif diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/win.vc6/drawtest.dsp b/vendor/vstsdk2.4/vstgui.sf/drawtest/win.vc6/drawtest.dsp new file mode 100644 index 0000000..07ca6eb --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/win.vc6/drawtest.dsp @@ -0,0 +1,363 @@ +# Microsoft Developer Studio Project File - Name="drawtest" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=drawtest - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "drawtest.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "drawtest.mak" CFG="drawtest - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "drawtest - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "drawtest - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "drawtest - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "DRAWTEST_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\.." /I "..\..\vstgui" /I "..\..\..\public.sdk\source\vst2.x" /I "..\..\libpng" /I "..\..\zlib" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "DRAWTEST_EXPORTS" /D USE_LIBPNG=1 /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x407 /d "NDEBUG" +# ADD RSC /l 0x407 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../../../public.sdk/samples/vst2.x/win.vc6/Release/drawtest.dll" + +!ELSEIF "$(CFG)" == "drawtest - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "DRAWTEST_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\.." /I "..\..\vstgui" /I "..\..\..\public.sdk\source\vst2.x" /I "..\..\libpng" /I "..\..\zlib" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "DRAWTEST_EXPORTS" /D USE_LIBPNG=1 /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x407 /d "_DEBUG" +# ADD RSC /l 0x407 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../../../public.sdk/samples/vst2.x/win.vc6/Debug/drawtest.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "drawtest - Win32 Release" +# Name "drawtest - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Group "libpng" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\libpng\png.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\png.h +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngconf.h +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngerror.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pnggccrd.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngget.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngmem.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngpread.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngread.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngrio.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngrtran.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngrutil.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngset.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngtrans.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngvcrd.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngwio.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngwrite.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngwtran.c +# End Source File +# Begin Source File + +SOURCE=..\..\libpng\pngwutil.c +# End Source File +# End Group +# Begin Group "zlib" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\zlib\adler32.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\compress.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\crc32.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\deflate.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\gzio.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\infback.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\inffast.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\inflate.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\inftrees.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\trees.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\uncompr.c +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\zlib.h +# End Source File +# Begin Source File + +SOURCE=..\..\zlib\zutil.c +# End Source File +# End Group +# Begin Group "vst2.x" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\..\PUBLIC.SDK\source\vst2.x\aeffeditor.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\public.sdk\source\vst2.x\audioeffect.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\PUBLIC.SDK\source\vst2.x\audioeffect.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\public.sdk\source\vst2.x\audioeffectx.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\PUBLIC.SDK\source\vst2.x\audioeffectx.h +# End Source File +# End Group +# Begin Group "vstgui" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\vstgui\aeffguieditor.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\aeffguieditor.h +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\cfileselector.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\cfileselector.h +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\cscrollview.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\cscrollview.h +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\ctabview.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\ctabview.h +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\vstcontrols.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\vstcontrols.h +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\vstgui.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\vstgui.h +# End Source File +# Begin Source File + +SOURCE=..\..\vstgui\vstkeycode.h +# End Source File +# End Group +# Begin Source File + +SOURCE=..\source\controlsgui.cpp +# End Source File +# Begin Source File + +SOURCE=..\source\controlsgui.h +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtesteditor.cpp +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtesteditor.h +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtesteffect.cpp +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtesteffect.h +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtestmain.cpp +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtestview.cpp +# End Source File +# Begin Source File + +SOURCE=..\source\pdrawtestview.h +# End Source File +# Begin Source File + +SOURCE=..\source\pprimitivesviews.cpp +# End Source File +# Begin Source File + +SOURCE=..\source\pprimitivesviews.h +# End Source File +# End Group +# Begin Source File + +SOURCE=..\win\drawtest.def +# End Source File +# Begin Source File + +SOURCE=..\win\drawtest.rc +# End Source File +# End Target +# End Project diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/win.vc6/drawtest.dsw b/vendor/vstsdk2.4/vstgui.sf/drawtest/win.vc6/drawtest.dsw new file mode 100644 index 0000000..b467b25 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/win.vc6/drawtest.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "drawtest"=.\drawtest.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.def b/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.def new file mode 100644 index 0000000..13f74e2 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.def @@ -0,0 +1,3 @@ +EXPORTS + VSTPluginMain + main=VSTPluginMain diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.rc b/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.rc new file mode 100644 index 0000000..ac4ad95 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.rc @@ -0,0 +1,32 @@ +#define APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// +// Data +// + +1 PNG "../resources/bmp00001.png" +100 PNG "../resources/bmp00100.png" +1000 PNG "../resources/bmp01000.png" + +///////////////////////////////////////////////////////////////////////////// +// +// Bitmap +// + +10001 BITMAP DISCARDABLE "../resources/bmp10001.bmp" +10002 BITMAP DISCARDABLE "../resources/bmp10002.bmp" +10003 BITMAP DISCARDABLE "../resources/bmp10003.bmp" +10004 BITMAP DISCARDABLE "../resources/bmp10004.bmp" +10005 BITMAP DISCARDABLE "../resources/bmp10005.bmp" +10006 BITMAP DISCARDABLE "../resources/bmp10006.bmp" +10007 BITMAP DISCARDABLE "../resources/bmp10007.bmp" +10008 BITMAP DISCARDABLE "../resources/bmp10008.bmp" +10009 BITMAP DISCARDABLE "../resources/bmp10009.bmp" +10010 BITMAP DISCARDABLE "../resources/bmp10010.bmp" +10011 BITMAP DISCARDABLE "../resources/bmp10011.bmp" +10012 BITMAP DISCARDABLE "../resources/bmp10012.bmp" +10013 BITMAP DISCARDABLE "../resources/bmp10013.bmp" +10014 BITMAP DISCARDABLE "../resources/bmp10014.bmp" +10015 BITMAP DISCARDABLE "../resources/bmp10015.bmp" +10016 BITMAP DISCARDABLE "../resources/bmp10016.bmp" diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.vcproj b/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.vcproj new file mode 100644 index 0000000..61445d0 --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/win/drawtest.vcproj @@ -0,0 +1,608 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8,00" + Name="drawtest" + ProjectGUID="{462BDB40-3821-4576-B239-EC322C244E31}" + RootNamespace="drawtest" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + <Platform + Name="x64" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="0" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="..\..\..;..\..\vstgui;..\..\..\public.sdk\source\vst2.x;..\..\libpng;..\..\zlib" + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;DRAWTEST_EXPORTS;USE_LIBPNG=1;_CRT_SECURE_NO_DEPRECATE=1" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="1" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="2" + ModuleDefinitionFile="drawtest.def" + GenerateDebugInformation="true" + SubSystem="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Debug|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)" + IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="0" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories="..\..\..;..\..\vstgui;..\..\..\public.sdk\source\vst2.x;..\..\libpng;..\..\zlib" + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;DRAWTEST_EXPORTS;USE_LIBPNG=1;_CRT_SECURE_NO_DEPRECATE=1" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="1" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="2" + ModuleDefinitionFile="drawtest.def" + GenerateDebugInformation="true" + SubSystem="2" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="0" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="..\..\..;..\..\vstgui;..\..\..\public.sdk\source\vst2.x;..\..\libpng;..\..\zlib" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;DRAWTEST_EXPORTS;USE_LIBPNG=1;_CRT_SECURE_NO_DEPRECATE=1" + RuntimeLibrary="0" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="1" + ModuleDefinitionFile="drawtest.def" + GenerateDebugInformation="true" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|x64" + OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)" + IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="0" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalIncludeDirectories="..\..\..;..\..\vstgui;..\..\..\public.sdk\source\vst2.x;..\..\libpng;..\..\zlib" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;DRAWTEST_EXPORTS;USE_LIBPNG=1;_CRT_SECURE_NO_DEPRECATE=1" + RuntimeLibrary="0" + UsePrecompiledHeader="0" + WarningLevel="3" + Detect64BitPortabilityProblems="true" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="1" + ModuleDefinitionFile="drawtest.def" + GenerateDebugInformation="true" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCWebDeploymentTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" + > + <File + RelativePath="..\source\controlsgui.cpp" + > + </File> + <File + RelativePath="..\source\controlsgui.h" + > + </File> + <File + RelativePath=".\drawtest.rc" + > + </File> + <File + RelativePath="..\source\pdrawtesteditor.cpp" + > + </File> + <File + RelativePath="..\source\pdrawtesteditor.h" + > + </File> + <File + RelativePath="..\source\pdrawtesteffect.cpp" + > + </File> + <File + RelativePath="..\source\pdrawtesteffect.h" + > + </File> + <File + RelativePath="..\source\pdrawtestmain.cpp" + > + </File> + <File + RelativePath="..\source\pdrawtestview.cpp" + > + </File> + <File + RelativePath="..\source\pdrawtestview.h" + > + </File> + <File + RelativePath="..\source\pprimitivesviews.cpp" + > + </File> + <File + RelativePath="..\source\pprimitivesviews.h" + > + </File> + <Filter + Name="vst2.x" + > + <File + RelativePath="..\..\..\public.sdk\source\vst2.x\aeffeditor.h" + > + </File> + <File + RelativePath="..\..\..\public.sdk\source\vst2.x\audioeffect.cpp" + > + </File> + <File + RelativePath="..\..\..\public.sdk\source\vst2.x\audioeffect.h" + > + </File> + <File + RelativePath="..\..\..\public.sdk\source\vst2.x\audioeffectx.cpp" + > + </File> + <File + RelativePath="..\..\..\public.sdk\source\vst2.x\audioeffectx.h" + > + </File> + </Filter> + <Filter + Name="vstgui" + > + <File + RelativePath="..\..\vstgui\aeffguieditor.cpp" + > + </File> + <File + RelativePath="..\..\vstgui\aeffguieditor.h" + > + </File> + <File + RelativePath="..\..\vstgui\cfileselector.cpp" + > + </File> + <File + RelativePath="..\..\vstgui\cfileselector.h" + > + </File> + <File + RelativePath="..\..\vstgui\cscrollview.cpp" + > + </File> + <File + RelativePath="..\..\vstgui\cscrollview.h" + > + </File> + <File + RelativePath="..\..\vstgui\ctabview.cpp" + > + </File> + <File + RelativePath="..\..\vstgui\ctabview.h" + > + </File> + <File + RelativePath="..\..\vstgui\vstcontrols.cpp" + > + </File> + <File + RelativePath="..\..\vstgui\vstcontrols.h" + > + </File> + <File + RelativePath="..\..\vstgui\vstgui.cpp" + > + </File> + <File + RelativePath="..\..\vstgui\vstgui.h" + > + </File> + <File + RelativePath="..\..\vstgui\vstkeycode.h" + > + </File> + </Filter> + <Filter + Name="libpng" + > + <File + RelativePath="..\..\libpng\png.c" + > + </File> + <File + RelativePath="..\..\libpng\png.h" + > + </File> + <File + RelativePath="..\..\libpng\pngconf.h" + > + </File> + <File + RelativePath="..\..\libpng\pngerror.c" + > + </File> + <File + RelativePath="..\..\libpng\pnggccrd.c" + > + </File> + <File + RelativePath="..\..\libpng\pngget.c" + > + </File> + <File + RelativePath="..\..\libpng\pngmem.c" + > + </File> + <File + RelativePath="..\..\libpng\pngpread.c" + > + </File> + <File + RelativePath="..\..\libpng\pngread.c" + > + </File> + <File + RelativePath="..\..\libpng\pngrio.c" + > + </File> + <File + RelativePath="..\..\libpng\pngrtran.c" + > + </File> + <File + RelativePath="..\..\libpng\pngrutil.c" + > + </File> + <File + RelativePath="..\..\libpng\pngset.c" + > + </File> + <File + RelativePath="..\..\libpng\pngtrans.c" + > + </File> + <File + RelativePath="..\..\libpng\pngvcrd.c" + > + </File> + <File + RelativePath="..\..\libpng\pngwio.c" + > + </File> + <File + RelativePath="..\..\libpng\pngwrite.c" + > + </File> + <File + RelativePath="..\..\libpng\pngwtran.c" + > + </File> + <File + RelativePath="..\..\libpng\pngwutil.c" + > + </File> + </Filter> + <Filter + Name="zlib" + > + <File + RelativePath="..\..\zlib\adler32.c" + > + </File> + <File + RelativePath="..\..\zlib\compress.c" + > + </File> + <File + RelativePath="..\..\zlib\crc32.c" + > + </File> + <File + RelativePath="..\..\zlib\deflate.c" + > + </File> + <File + RelativePath="..\..\zlib\gzio.c" + > + </File> + <File + RelativePath="..\..\zlib\infback.c" + > + </File> + <File + RelativePath="..\..\zlib\inffast.c" + > + </File> + <File + RelativePath="..\..\zlib\inflate.c" + > + </File> + <File + RelativePath="..\..\zlib\inftrees.c" + > + </File> + <File + RelativePath="..\..\zlib\trees.c" + > + </File> + <File + RelativePath="..\..\zlib\uncompr.c" + > + </File> + <File + RelativePath="..\..\zlib\zlib.h" + > + </File> + <File + RelativePath="..\..\zlib\zutil.c" + > + </File> + </Filter> + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> |
