diff --git a/example-ofxUIAllWidgets/ofxUIAllWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate b/example-ofxUIAllWidgets/ofxUIAllWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate index abc462b07..f46060d81 100644 Binary files a/example-ofxUIAllWidgets/ofxUIAllWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate and b/example-ofxUIAllWidgets/ofxUIAllWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/example-ofxUIButtons/ofxUIButtons.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate b/example-ofxUIButtons/ofxUIButtons.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate index 446d82811..f289a9493 100644 Binary files a/example-ofxUIButtons/ofxUIButtons.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate and b/example-ofxUIButtons/ofxUIButtons.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/example-ofxUIButtons/src/testApp.cpp b/example-ofxUIButtons/src/testApp.cpp index 9afce0a11..7e216ba02 100644 --- a/example-ofxUIButtons/src/testApp.cpp +++ b/example-ofxUIButtons/src/testApp.cpp @@ -32,7 +32,8 @@ void testApp::setup() vector hnames; hnames.push_back("OPEN"); hnames.push_back("FRAME"); hnames.push_back("WORKS"); gui->addWidgetDown(new ofxUIRadio(dim, dim, "HORIZONTAL RADIO", hnames, OFX_UI_ORIENTATION_HORIZONTAL)); vector vnames; vnames.push_back("ROCKS"); vnames.push_back("MY"); vnames.push_back("SOCKS"); - gui->addWidgetDown(new ofxUIRadio(dim, dim, "VERTICAL RADIO", vnames, OFX_UI_ORIENTATION_VERTICAL)); + ofxUIRadio *radio = (ofxUIRadio *) gui->addWidgetDown(new ofxUIRadio(dim, dim, "VERTICAL RADIO", vnames, OFX_UI_ORIENTATION_VERTICAL)); + radio->activateToggle("SOCKS"); gui->addWidgetDown(new ofxUISpacer(length-xInit, 2)); gui->addWidgetDown(new ofxUILabelButton(false, "LABEL BUTTON", OFX_UI_FONT_MEDIUM)); diff --git a/example-ofxUIMoreWidgets/.sln b/example-ofxUIMoreWidgets/.sln new file mode 100644 index 000000000..5a9e6e626 --- /dev/null +++ b/example-ofxUIMoreWidgets/.sln @@ -0,0 +1,28 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C++ Express 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "emptyExample", "emptyExample.vcproj", "{7FD42DF7-442E-479A-BA76-D0022F99702A}" + ProjectSection(ProjectDependencies) = postProject + {5837595D-ACA9-485C-8E76-729040CE4B0B} = {5837595D-ACA9-485C-8E76-729040CE4B0B} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openframeworksLib", "..\..\..\libs\openFrameworksCompiled\project\vs2008\openframeworksLib.vcproj", "{5837595D-ACA9-485C-8E76-729040CE4B0B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7FD42DF7-442E-479A-BA76-D0022F99702A}.Debug|Win32.Build.0 = Debug|Win32 + {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.ActiveCfg = Release|Win32 + {7FD42DF7-442E-479A-BA76-D0022F99702A}.Release|Win32.Build.0 = Release|Win32 + {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.ActiveCfg = Debug|Win32 + {5837595D-ACA9-485C-8E76-729040CE4B0B}.Debug|Win32.Build.0 = Debug|Win32 + {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.ActiveCfg = Release|Win32 + {5837595D-ACA9-485C-8E76-729040CE4B0B}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/example-ofxUIMoreWidgets/.vcproj b/example-ofxUIMoreWidgets/.vcproj new file mode 100644 index 000000000..818dba2c5 --- /dev/null +++ b/example-ofxUIMoreWidgets/.vcproj @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/example-ofxUIMoreWidgets/.vcproj.user b/example-ofxUIMoreWidgets/.vcproj.user new file mode 100644 index 000000000..801522bc9 --- /dev/null +++ b/example-ofxUIMoreWidgets/.vcproj.user @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/example-ofxUIMoreWidgets/Project.xcconfig b/example-ofxUIMoreWidgets/Project.xcconfig new file mode 100644 index 000000000..c10b9e556 --- /dev/null +++ b/example-ofxUIMoreWidgets/Project.xcconfig @@ -0,0 +1,9 @@ +//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT. +//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED +OF_PATH = ../../.. + +//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE +#include "../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig" + +OTHER_LDFLAGS = $(OF_CORE_LIBS) +HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) diff --git a/example-ofxUIMoreWidgets/addons.make b/example-ofxUIMoreWidgets/addons.make new file mode 100644 index 000000000..8183f775e --- /dev/null +++ b/example-ofxUIMoreWidgets/addons.make @@ -0,0 +1,2 @@ +ofxUI +ofxXmlSettings diff --git a/example-ofxUIMoreWidgets/bin/data/.gitignore b/example-ofxUIMoreWidgets/bin/data/.gitignore new file mode 100644 index 000000000..0a9e2b15e --- /dev/null +++ b/example-ofxUIMoreWidgets/bin/data/.gitignore @@ -0,0 +1,3 @@ +# Ignore everything in here apart from the .gitignore file +* +!.gitignore \ No newline at end of file diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.pbxproj b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.pbxproj new file mode 100644 index 000000000..07a72847b --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.pbxproj @@ -0,0 +1,694 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; }; + E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4328148138ABC890047C5CB /* openFrameworksDebug.a */; }; + E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9710E8CC7DD009D7055 /* AGL.framework */; }; + E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */; }; + E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */; }; + E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9740E8CC7DD009D7055 /* Carbon.framework */; }; + E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */; }; + E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */; }; + E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9770E8CC7DD009D7055 /* CoreServices.framework */; }; + E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9790E8CC7DD009D7055 /* OpenGL.framework */; }; + E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */; }; + E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1D0A3A1BDC003C02F2 /* main.cpp */; }; + E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; }; + E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424410CC5A17004149E2 /* AppKit.framework */; }; + E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424510CC5A17004149E2 /* Cocoa.framework */; }; + E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424610CC5A17004149E2 /* IOKit.framework */; }; + E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; }; + F517086714E5392D00C15F2F /* tinyxml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F517086014E5392D00C15F2F /* tinyxml.cpp */; }; + F517086814E5392D00C15F2F /* tinyxmlerror.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F517086214E5392D00C15F2F /* tinyxmlerror.cpp */; }; + F517086914E5392D00C15F2F /* tinyxmlparser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F517086314E5392D00C15F2F /* tinyxmlparser.cpp */; }; + F517086A14E5392D00C15F2F /* ofxXmlSettings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F517086514E5392D00C15F2F /* ofxXmlSettings.cpp */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + E4328147138ABC890047C5CB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = E4B27C1510CBEB8E00536013; + remoteInfo = openFrameworks; + }; + E4EEB9AB138B136A00A80321 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = E4B27C1410CBEB8E00536013; + remoteInfo = openFrameworks; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + E4C2427710CC5ABF004149E2 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + BBAB23BE13894E4700AA2426 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../libs/glut/lib/osx/GLUT.framework; sourceTree = ""; }; + E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = openFrameworksLib.xcodeproj; path = ../../../libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj; sourceTree = SOURCE_ROOT; }; + E45BE9710E8CC7DD009D7055 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = ""; }; + E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = ""; }; + E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = ""; }; + E45BE9740E8CC7DD009D7055 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = ""; }; + E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = ""; }; + E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = ""; }; + E45BE9770E8CC7DD009D7055 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = ""; }; + E45BE9790E8CC7DD009D7055 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; + E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = ""; }; + E4B69B5B0A3A1756003C02F2 /* ofxUIMoreWidgetsDebug.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ofxUIMoreWidgetsDebug.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E4B69E1D0A3A1BDC003C02F2 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = src/main.cpp; sourceTree = SOURCE_ROOT; }; + E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = testApp.cpp; path = src/testApp.cpp; sourceTree = SOURCE_ROOT; }; + E4B69E1F0A3A1BDC003C02F2 /* testApp.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = testApp.h; path = src/testApp.h; sourceTree = SOURCE_ROOT; }; + E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; path = "openFrameworks-Info.plist"; sourceTree = ""; }; + E4C2424410CC5A17004149E2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + E4C2424510CC5A17004149E2 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; + E4C2424610CC5A17004149E2 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; + E4EB691F138AFCF100A09F29 /* CoreOF.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CoreOF.xcconfig; path = ../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig; sourceTree = SOURCE_ROOT; }; + E4EB6923138AFD0F00A09F29 /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = ""; }; + F517086014E5392D00C15F2F /* tinyxml.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tinyxml.cpp; sourceTree = ""; }; + F517086114E5392D00C15F2F /* tinyxml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tinyxml.h; sourceTree = ""; }; + F517086214E5392D00C15F2F /* tinyxmlerror.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tinyxmlerror.cpp; sourceTree = ""; }; + F517086314E5392D00C15F2F /* tinyxmlparser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tinyxmlparser.cpp; sourceTree = ""; }; + F517086514E5392D00C15F2F /* ofxXmlSettings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxXmlSettings.cpp; sourceTree = ""; }; + F517086614E5392D00C15F2F /* ofxXmlSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxXmlSettings.h; sourceTree = ""; }; + F54B5D3714D299DF00B90DAE /* ofxUISpacer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUISpacer.h; sourceTree = ""; }; + F563EFA314C8B9F300354DA7 /* ofxUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUI.h; sourceTree = ""; }; + F563EFA414C8B9F300354DA7 /* ofxUI2DPad.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUI2DPad.h; sourceTree = ""; }; + F563EFA514C8B9F300354DA7 /* ofxUIButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIButton.h; sourceTree = ""; }; + F563EFA614C8B9F300354DA7 /* ofxUICanvas.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUICanvas.h; sourceTree = ""; }; + F563EFA714C8B9F300354DA7 /* ofxUIEventArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIEventArgs.h; sourceTree = ""; }; + F563EFA814C8B9F300354DA7 /* ofxUIFPS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIFPS.h; sourceTree = ""; }; + F563EFA914C8B9F300354DA7 /* ofxUIImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIImage.h; sourceTree = ""; }; + F563EFAA14C8B9F300354DA7 /* ofxUILabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUILabel.h; sourceTree = ""; }; + F563EFAC14C8B9F300354DA7 /* ofxUIRadio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIRadio.h; sourceTree = ""; }; + F563EFAD14C8B9F300354DA7 /* ofxUIRangeSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIRangeSlider.h; sourceTree = ""; }; + F563EFAE14C8B9F300354DA7 /* ofxUIRectangle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIRectangle.h; sourceTree = ""; }; + F563EFAF14C8B9F300354DA7 /* ofxUISlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUISlider.h; sourceTree = ""; }; + F563EFB014C8B9F300354DA7 /* ofxUISpectrum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUISpectrum.h; sourceTree = ""; }; + F563EFB114C8B9F300354DA7 /* ofxUITextInput.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUITextInput.h; sourceTree = ""; }; + F563EFB214C8B9F300354DA7 /* ofxUIToggle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIToggle.h; sourceTree = ""; }; + F563EFB314C8B9F300354DA7 /* ofxUIWaveform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIWaveform.h; sourceTree = ""; }; + F563EFB414C8B9F300354DA7 /* ofxUIWidget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIWidget.h; sourceTree = ""; }; + F58751A114FB36F00049E590 /* ofxUIMovingGraph.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIMovingGraph.h; sourceTree = ""; }; + F58751A614FB595F0049E590 /* ofxUIMinimalSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIMinimalSlider.h; sourceTree = ""; }; + F5B944C714CCD78000743D84 /* ofxUINumberDialer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUINumberDialer.h; sourceTree = ""; }; + F5B944C814CD08EE00743D84 /* ofxUILabelButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUILabelButton.h; sourceTree = ""; }; + F5EC3D8614CD3B8F001BC08F /* ofxUILabelToggle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUILabelToggle.h; sourceTree = ""; }; + F5EC3D8E14CD4F71001BC08F /* ofxUIToggleMatrix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIToggleMatrix.h; sourceTree = ""; }; + F5EC3D8F14CD64B2001BC08F /* ofxUIImageButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIImageButton.h; sourceTree = ""; }; + F5EC3D9014CD6B1B001BC08F /* ofxUIImageToggle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIImageToggle.h; sourceTree = ""; }; + F5EC3D9114CE1D05001BC08F /* ofxUIRotarySlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIRotarySlider.h; sourceTree = ""; }; + F5FF449A14CE9906006E67D2 /* ofxUIDropDownList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxUIDropDownList.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E4B69B590A3A1756003C02F2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */, + E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */, + E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */, + E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */, + E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */, + E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */, + E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */, + E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */, + E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */, + E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */, + E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */, + E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */, + E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */, + E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + BB4B014C10F69532006C3DED /* addons */ = { + isa = PBXGroup; + children = ( + F517085D14E5392D00C15F2F /* ofxXmlSettings */, + F563EFA014C8B9F300354DA7 /* ofxUI */, + ); + name = addons; + sourceTree = ""; + }; + BBAB23C913894ECA00AA2426 /* system frameworks */ = { + isa = PBXGroup; + children = ( + E4C2424410CC5A17004149E2 /* AppKit.framework */, + E4C2424510CC5A17004149E2 /* Cocoa.framework */, + E4C2424610CC5A17004149E2 /* IOKit.framework */, + E45BE9710E8CC7DD009D7055 /* AGL.framework */, + E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */, + E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */, + E45BE9740E8CC7DD009D7055 /* Carbon.framework */, + E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */, + E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */, + E45BE9770E8CC7DD009D7055 /* CoreServices.framework */, + E45BE9790E8CC7DD009D7055 /* OpenGL.framework */, + E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */, + ); + name = "system frameworks"; + sourceTree = ""; + }; + BBAB23CA13894EDB00AA2426 /* 3rd party frameworks */ = { + isa = PBXGroup; + children = ( + BBAB23BE13894E4700AA2426 /* GLUT.framework */, + ); + name = "3rd party frameworks"; + sourceTree = ""; + }; + E4328144138ABC890047C5CB /* Products */ = { + isa = PBXGroup; + children = ( + E4328148138ABC890047C5CB /* openFrameworksDebug.a */, + ); + name = Products; + sourceTree = ""; + }; + E45BE5980E8CC70C009D7055 /* frameworks */ = { + isa = PBXGroup; + children = ( + BBAB23CA13894EDB00AA2426 /* 3rd party frameworks */, + BBAB23C913894ECA00AA2426 /* system frameworks */, + ); + name = frameworks; + sourceTree = ""; + }; + E4B69B4A0A3A1720003C02F2 = { + isa = PBXGroup; + children = ( + E4EB6923138AFD0F00A09F29 /* Project.xcconfig */, + E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */, + E4B69E1C0A3A1BDC003C02F2 /* src */, + E4EEC9E9138DF44700A80321 /* openFrameworks */, + BB4B014C10F69532006C3DED /* addons */, + E45BE5980E8CC70C009D7055 /* frameworks */, + E4B69B5B0A3A1756003C02F2 /* ofxUIMoreWidgetsDebug.app */, + ); + sourceTree = ""; + }; + E4B69E1C0A3A1BDC003C02F2 /* src */ = { + isa = PBXGroup; + children = ( + E4B69E1D0A3A1BDC003C02F2 /* main.cpp */, + E4B69E1F0A3A1BDC003C02F2 /* testApp.h */, + E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */, + ); + path = src; + sourceTree = SOURCE_ROOT; + }; + E4EEC9E9138DF44700A80321 /* openFrameworks */ = { + isa = PBXGroup; + children = ( + E4EB691F138AFCF100A09F29 /* CoreOF.xcconfig */, + E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */, + ); + name = openFrameworks; + sourceTree = ""; + }; + F5032FC714D149B500F9DF49 /* Inactive */ = { + isa = PBXGroup; + children = ( + F563EFB314C8B9F300354DA7 /* ofxUIWaveform.h */, + F563EFB014C8B9F300354DA7 /* ofxUISpectrum.h */, + F58751A114FB36F00049E590 /* ofxUIMovingGraph.h */, + F563EFAA14C8B9F300354DA7 /* ofxUILabel.h */, + F563EFA914C8B9F300354DA7 /* ofxUIImage.h */, + F563EFA814C8B9F300354DA7 /* ofxUIFPS.h */, + F54B5D3714D299DF00B90DAE /* ofxUISpacer.h */, + ); + name = Inactive; + sourceTree = ""; + }; + F5032FC814D149C100F9DF49 /* Interactive */ = { + isa = PBXGroup; + children = ( + F563EFAF14C8B9F300354DA7 /* ofxUISlider.h */, + F58751A614FB595F0049E590 /* ofxUIMinimalSlider.h */, + F563EFA414C8B9F300354DA7 /* ofxUI2DPad.h */, + F563EFAD14C8B9F300354DA7 /* ofxUIRangeSlider.h */, + F563EFB114C8B9F300354DA7 /* ofxUITextInput.h */, + F563EFAC14C8B9F300354DA7 /* ofxUIRadio.h */, + F563EFA514C8B9F300354DA7 /* ofxUIButton.h */, + F563EFB214C8B9F300354DA7 /* ofxUIToggle.h */, + F5B944C714CCD78000743D84 /* ofxUINumberDialer.h */, + F5B944C814CD08EE00743D84 /* ofxUILabelButton.h */, + F5EC3D8614CD3B8F001BC08F /* ofxUILabelToggle.h */, + F5EC3D8E14CD4F71001BC08F /* ofxUIToggleMatrix.h */, + F5EC3D8F14CD64B2001BC08F /* ofxUIImageButton.h */, + F5EC3D9014CD6B1B001BC08F /* ofxUIImageToggle.h */, + F5EC3D9114CE1D05001BC08F /* ofxUIRotarySlider.h */, + F5FF449A14CE9906006E67D2 /* ofxUIDropDownList.h */, + ); + name = Interactive; + sourceTree = ""; + }; + F517085D14E5392D00C15F2F /* ofxXmlSettings */ = { + isa = PBXGroup; + children = ( + F517085F14E5392D00C15F2F /* libs */, + F517086414E5392D00C15F2F /* src */, + ); + name = ofxXmlSettings; + path = ../../ofxXmlSettings; + sourceTree = ""; + }; + F517085F14E5392D00C15F2F /* libs */ = { + isa = PBXGroup; + children = ( + F517086014E5392D00C15F2F /* tinyxml.cpp */, + F517086114E5392D00C15F2F /* tinyxml.h */, + F517086214E5392D00C15F2F /* tinyxmlerror.cpp */, + F517086314E5392D00C15F2F /* tinyxmlparser.cpp */, + ); + path = libs; + sourceTree = ""; + }; + F517086414E5392D00C15F2F /* src */ = { + isa = PBXGroup; + children = ( + F517086514E5392D00C15F2F /* ofxXmlSettings.cpp */, + F517086614E5392D00C15F2F /* ofxXmlSettings.h */, + ); + path = src; + sourceTree = ""; + }; + F563EFA014C8B9F300354DA7 /* ofxUI */ = { + isa = PBXGroup; + children = ( + F563EFA214C8B9F300354DA7 /* src */, + ); + name = ofxUI; + path = ../../../addons/ofxUI; + sourceTree = ""; + }; + F563EFA214C8B9F300354DA7 /* src */ = { + isa = PBXGroup; + children = ( + F563EFB614C8DA7F00354DA7 /* core */, + F563EFB514C8BDB800354DA7 /* widgets */, + ); + path = src; + sourceTree = ""; + }; + F563EFB514C8BDB800354DA7 /* widgets */ = { + isa = PBXGroup; + children = ( + F5032FC814D149C100F9DF49 /* Interactive */, + F5032FC714D149B500F9DF49 /* Inactive */, + ); + name = widgets; + sourceTree = ""; + }; + F563EFB614C8DA7F00354DA7 /* core */ = { + isa = PBXGroup; + children = ( + F563EFA314C8B9F300354DA7 /* ofxUI.h */, + F563EFA714C8B9F300354DA7 /* ofxUIEventArgs.h */, + F563EFAE14C8B9F300354DA7 /* ofxUIRectangle.h */, + F563EFB414C8B9F300354DA7 /* ofxUIWidget.h */, + F563EFA614C8B9F300354DA7 /* ofxUICanvas.h */, + ); + name = core; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E4B69B5A0A3A1756003C02F2 /* ofxUIMoreWidgets */ = { + isa = PBXNativeTarget; + buildConfigurationList = E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "ofxUIMoreWidgets" */; + buildPhases = ( + E4B69B580A3A1756003C02F2 /* Sources */, + E4B69B590A3A1756003C02F2 /* Frameworks */, + E4B6FFFD0C3F9AB9008CF71C /* ShellScript */, + E4C2427710CC5ABF004149E2 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + E4EEB9AC138B136A00A80321 /* PBXTargetDependency */, + ); + name = ofxUIMoreWidgets; + productName = myOFApp; + productReference = E4B69B5B0A3A1756003C02F2 /* ofxUIMoreWidgetsDebug.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E4B69B4C0A3A1720003C02F2 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "ofxUIMoreWidgets" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = E4B69B4A0A3A1720003C02F2; + productRefGroup = E4B69B4A0A3A1720003C02F2; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = E4328144138ABC890047C5CB /* Products */; + ProjectRef = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + E4B69B5A0A3A1756003C02F2 /* ofxUIMoreWidgets */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + E4328148138ABC890047C5CB /* openFrameworksDebug.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = openFrameworksDebug.a; + remoteRef = E4328147138ABC890047C5CB /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXShellScriptBuildPhase section */ + E4B6FFFD0C3F9AB9008CF71C /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cp -f ../../../libs/fmodex/lib/osx/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/libfmodex.dylib\"; install_name_tool -change ./libfmodex.dylib @executable_path/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME\";"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E4B69B580A3A1756003C02F2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */, + E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */, + F517086714E5392D00C15F2F /* tinyxml.cpp in Sources */, + F517086814E5392D00C15F2F /* tinyxmlerror.cpp in Sources */, + F517086914E5392D00C15F2F /* tinyxmlparser.cpp in Sources */, + F517086A14E5392D00C15F2F /* ofxXmlSettings.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + E4EEB9AC138B136A00A80321 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = openFrameworks; + targetProxy = E4EEB9AB138B136A00A80321 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + E4B69B4E0A3A1720003C02F2 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E4EB6923138AFD0F00A09F29 /* Project.xcconfig */; + buildSettings = { + ARCHS = "$(NATIVE_ARCH)"; + CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/"; + COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; + GCC_AUTO_VECTORIZATION = YES; + GCC_ENABLE_SSE3_EXTENSIONS = YES; + GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_MODEL_TUNING = G5; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; + GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO; + GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; + GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNUSED_VALUE = NO; + GCC_WARN_UNUSED_VARIABLE = NO; + OTHER_CPLUSPLUSFLAGS = ( + "-D__MACOSX_CORE__", + "-lpthread", + ); + }; + name = Debug; + }; + E4B69B4F0A3A1720003C02F2 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E4EB6923138AFD0F00A09F29 /* Project.xcconfig */; + buildSettings = { + ARCHS = "$(NATIVE_ARCH)"; + CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/"; + COPY_PHASE_STRIP = YES; + DEAD_CODE_STRIPPING = YES; + GCC_AUTO_VECTORIZATION = YES; + GCC_ENABLE_SSE3_EXTENSIONS = YES; + GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_UNROLL_LOOPS = YES; + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; + GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO; + GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; + GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNUSED_VALUE = NO; + GCC_WARN_UNUSED_VARIABLE = NO; + OTHER_CPLUSPLUSFLAGS = ( + "-D__MACOSX_CORE__", + "-lpthread", + ); + }; + name = Release; + }; + E4B69B600A3A1757003C02F2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\""; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_MODEL_TUNING = G4; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h"; + INFOPLIST_FILE = "openFrameworks-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_16)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_17)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_18)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_19)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_20)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_21)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_22)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_23)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_24)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_25)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_26)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_27)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_28)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_29)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_30)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_31)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_32)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_33)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_34)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_35)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_36)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_37)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_38)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_39)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_40)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_41)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_42)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_43)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_44)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_45)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_46)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_47)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_48)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_49)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_50)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_51)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_52)", + ); + PREBINDING = NO; + PRODUCT_NAME = ofxUIMoreWidgetsDebug; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + E4B69B610A3A1757003C02F2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../libs/glut/lib/osx\""; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G4; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h"; + INFOPLIST_FILE = "openFrameworks-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_16)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_17)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_18)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_19)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_20)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_21)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_22)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_23)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_24)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_25)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_26)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_27)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_28)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_29)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_30)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_31)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_32)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_33)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_34)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_35)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_36)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_37)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_38)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_39)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_40)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_41)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_42)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_43)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_44)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_45)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_46)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_47)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_48)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_49)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_50)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_51)", + ); + PREBINDING = NO; + PRODUCT_NAME = ofxUIMoreWidgets; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "ofxUIMoreWidgets" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E4B69B4E0A3A1720003C02F2 /* Debug */, + E4B69B4F0A3A1720003C02F2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "ofxUIMoreWidgets" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E4B69B600A3A1757003C02F2 /* Debug */, + E4B69B610A3A1757003C02F2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E4B69B4C0A3A1720003C02F2 /* Project object */; +} diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..a77c1dfe5 --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 000000000..b9cd6fd0b Binary files /dev/null and b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/WorkspaceSettings.xcsettings b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..6ff33e603 --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,10 @@ + + + + + IDEWorkspaceUserSettings_HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges + + IDEWorkspaceUserSettings_SnapshotAutomaticallyBeforeSignificantChanges + + + diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/reza.mode1v3 b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/reza.mode1v3 new file mode 100644 index 000000000..a442d16b4 --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/reza.mode1v3 @@ -0,0 +1,1449 @@ + + + + + ActivePerspectiveName + Project + AllowedModules + + + BundleLoadPath + + MaxInstances + n + Module + PBXSmartGroupTreeModule + Name + Groups and Files Outline View + + + BundleLoadPath + + MaxInstances + n + Module + PBXNavigatorGroup + Name + Editor + + + BundleLoadPath + + MaxInstances + n + Module + XCTaskListModule + Name + Task List + + + BundleLoadPath + + MaxInstances + n + Module + XCDetailModule + Name + File and Smart Group Detail Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXBuildResultsModule + Name + Detailed Build Results Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXProjectFindModule + Name + Project Batch Find Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCProjectFormatConflictsModule + Name + Project Format Conflicts List + + + BundleLoadPath + + MaxInstances + n + Module + PBXBookmarksModule + Name + Bookmarks Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXClassBrowserModule + Name + Class Browser + + + BundleLoadPath + + MaxInstances + n + Module + PBXCVSModule + Name + Source Code Control Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXDebugBreakpointsModule + Name + Debug Breakpoints Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCDockableInspector + Name + Inspector + + + BundleLoadPath + + MaxInstances + n + Module + PBXOpenQuicklyModule + Name + Open Quickly Tool + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugSessionModule + Name + Debugger + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugCLIModule + Name + Debug Console + + + BundleLoadPath + + MaxInstances + n + Module + XCSnapshotModule + Name + Snapshots Tool + + + BundlePath + /Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources + Description + DefaultDescriptionKey + DockingSystemVisible + + Extension + mode1v3 + FavBarConfig + + PBXProjectModuleGUID + F52DB6231478BF5A005C05B1 + XCBarModuleItemNames + + XCBarModuleItems + + + FirstTimeWindowDisplayed + + Identifier + com.apple.perspectives.project.mode1v3 + MajorVersion + 33 + MinorVersion + 0 + Name + Default + Notifications + + + XCObserverAutoDisconnectKey + + XCObserverDefintionKey + + PBXStatusErrorsKey + 0 + + XCObserverFactoryKey + XCPerspectivesSpecificationIdentifier + XCObserverGUIDKey + XCObserverProjectIdentifier + XCObserverNotificationKey + PBXStatusBuildStateMessageNotification + XCObserverTargetKey + XCMainBuildResultsModuleGUID + XCObserverTriggerKey + awakenModuleWithObserver: + XCObserverValidationKey + + PBXStatusErrorsKey + 2 + + + + OpenEditors + + PerspectiveWidths + + -1 + -1 + + Perspectives + + + ChosenToolbarItems + + active-combo-popup + action + NSToolbarFlexibleSpaceItem + debugger-enable-breakpoints + build-and-go + com.apple.ide.PBXToolbarStopButton + get-info + NSToolbarFlexibleSpaceItem + com.apple.pbx.toolbar.searchfield + + ControllerClassBaseName + + IconName + WindowOfProjectWithEditor + Identifier + perspective.project + IsVertical + + Layout + + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 268 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + E4B69B4A0A3A1720003C02F2 + E4B69E1C0A3A1BDC003C02F2 + BB4B014C10F69532006C3DED + F5C8F5EC148AD71D00DDCA61 + F5C8F5ED148AD71D00DDCA61 + E45BE5980E8CC70C009D7055 + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 21 + 12 + 11 + 10 + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {268, 910}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {285, 928}} + GroupTreeTableConfiguration + + MainColumn + 268 + + RubberWindowFrame + 240 209 1680 969 0 0 1920 1178 + + Module + PBXSmartGroupTreeModule + Proportion + 285pt + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20306471E060097A5F4 + PBXProjectModuleLabel + testApp.cpp + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CE0B20406471E060097A5F4 + PBXProjectModuleLabel + testApp.cpp + _historyCapacity + 0 + bookmark + F518D03114B7F69E00696709 + history + + F52DB8111478FB87005C05B1 + F52DB8A41479019B005C05B1 + F52DB96B147ABA62005C05B1 + F52DB9D8147C0640005C05B1 + F5A55AC61480D09D004FA0F3 + F5C8F0CE14897C7100DDCA61 + F5C8F1231489802500DDCA61 + F5C8F3D71489B92300DDCA61 + F5C8F3FF1489BBB900DDCA61 + F503405F148D8D580003E7BC + F5BFDF0414902C450067E890 + F5BFDF71149049940067E890 + F5BFDFE51491834D0067E890 + F5BFDFE61491834D0067E890 + F5BFDFE71491834D0067E890 + F5BFDFEC1491834D0067E890 + F5BFDFED1491834D0067E890 + F54CC6851495882400AD09D5 + F5EC4E681495D8F7007362FB + F518D02F14B7F69E00696709 + F518D03014B7F69E00696709 + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {1390, 922}} + RubberWindowFrame + 240 209 1680 969 0 0 1920 1178 + + Module + PBXNavigatorGroup + Proportion + 922pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20506471E060097A5F4 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{0, 927}, {1390, 1}} + RubberWindowFrame + 240 209 1680 969 0 0 1920 1178 + + Module + XCDetailModule + Proportion + 1pt + + + Proportion + 1390pt + + + Name + Project + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + XCModuleDock + PBXNavigatorGroup + XCDetailModule + + TableOfContents + + F518D03214B7F69E00696709 + 1CE0B1FE06471DED0097A5F4 + F518D03314B7F69E00696709 + 1CE0B20306471E060097A5F4 + 1CE0B20506471E060097A5F4 + + ToolbarConfigUserDefaultsMinorVersion + 2 + ToolbarConfiguration + xcode.toolbar.config.defaultV3 + + + ControllerClassBaseName + + IconName + WindowOfProject + Identifier + perspective.morph + IsVertical + 0 + Layout + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 11E0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 337}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 1 + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 355}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 373 269 690 397 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 100% + + + Name + Morph + PreferredWidth + 300 + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + + TableOfContents + + 11E0B1FE06471DED0097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default.shortV3 + + + PerspectivesBarVisible + + ShelfIsVisible + + SourceDescription + file at '/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Resources/XCPerspectivesSpecificationMode1.xcperspec' + StatusbarIsVisible + + TimeStamp + 347600542.66226 + ToolbarConfigUserDefaultsMinorVersion + 2 + ToolbarDisplayMode + 1 + ToolbarIsVisible + + ToolbarSizeMode + 1 + Type + Perspectives + UpdateMessage + The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'? + WindowJustification + 5 + WindowOrderList + + F518D03414B7F69E00696709 + F518D03514B7F69E00696709 + 1C78EAAD065D492600B07095 + 1CD10A99069EF8BA00B06720 + F52DB61F1478BF5A005C05B1 + /Users/reza/Documents/of_007/apps/myApps/ofxUIExample/ofxUIExample.xcodeproj + + WindowString + 240 209 1680 969 0 0 1920 1178 + WindowToolsV3 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.build + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528F0623707200166675 + PBXProjectModuleLabel + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {917, 341}} + RubberWindowFrame + 743 355 917 623 0 0 1920 1178 + + Module + PBXNavigatorGroup + Proportion + 341pt + + + ContentConfiguration + + PBXProjectModuleGUID + XCMainBuildResultsModuleGUID + PBXProjectModuleLabel + Build Results + XCBuildResultsTrigger_Collapse + 1023 + XCBuildResultsTrigger_Open + 1012 + + GeometryConfiguration + + Frame + {{0, 346}, {917, 236}} + RubberWindowFrame + 743 355 917 623 0 0 1920 1178 + + Module + PBXBuildResultsModule + Proportion + 236pt + + + Proportion + 582pt + + + Name + Build Results + ServiceClasses + + PBXBuildResultsModule + + StatusbarIsVisible + + TableOfContents + + F52DB61F1478BF5A005C05B1 + F518D00814B7F4EE00696709 + 1CD0528F0623707200166675 + XCMainBuildResultsModuleGUID + + ToolbarConfiguration + xcode.toolbar.config.buildV3 + WindowContentMinSize + 486 300 + WindowString + 743 355 917 623 0 0 1920 1178 + WindowToolGUID + F52DB61F1478BF5A005C05B1 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debugger + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + Debugger + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {316, 203}} + {{316, 0}, {378, 203}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {694, 203}} + {{0, 203}, {694, 178}} + + + + LauncherConfigVersion + 8 + PBXProjectModuleGUID + 1C162984064C10D400B95A72 + PBXProjectModuleLabel + Debug - GLUTExamples (Underwater) + + GeometryConfiguration + + DebugConsoleVisible + None + DebugConsoleWindowFrame + {{200, 200}, {500, 300}} + DebugSTDIOWindowFrame + {{200, 200}, {500, 300}} + Frame + {{0, 0}, {694, 381}} + PBXDebugSessionStackFrameViewKey + + DebugVariablesTableConfiguration + + Name + 120 + Value + 85 + Summary + 148 + + Frame + {{316, 0}, {378, 203}} + RubberWindowFrame + 632 578 694 422 0 0 1920 1178 + + RubberWindowFrame + 632 578 694 422 0 0 1920 1178 + + Module + PBXDebugSessionModule + Proportion + 381pt + + + Proportion + 381pt + + + Name + Debugger + ServiceClasses + + PBXDebugSessionModule + + StatusbarIsVisible + + TableOfContents + + 1CD10A99069EF8BA00B06720 + F518D00914B7F4FC00696709 + 1C162984064C10D400B95A72 + F518D00A14B7F4FC00696709 + F518D00B14B7F4FC00696709 + F518D00C14B7F4FC00696709 + F518D00D14B7F4FC00696709 + F518D00E14B7F4FC00696709 + + ToolbarConfiguration + xcode.toolbar.config.debugV3 + WindowString + 632 578 694 422 0 0 1920 1178 + WindowToolGUID + 1CD10A99069EF8BA00B06720 + WindowToolIsVisible + + + + Identifier + windowTool.find + Layout + + + Dock + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CDD528C0622207200134675 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CD0528D0623707200166675 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {781, 167}} + RubberWindowFrame + 62 385 781 470 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 781pt + + + Proportion + 50% + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528E0623707200166675 + PBXProjectModuleLabel + Project Find + + GeometryConfiguration + + Frame + {{8, 0}, {773, 254}} + RubberWindowFrame + 62 385 781 470 0 0 1440 878 + + Module + PBXProjectFindModule + Proportion + 50% + + + Proportion + 428pt + + + Name + Project Find + ServiceClasses + + PBXProjectFindModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C530D57069F1CE1000CFCEE + 1C530D58069F1CE1000CFCEE + 1C530D59069F1CE1000CFCEE + 1CDD528C0622207200134675 + 1C530D5A069F1CE1000CFCEE + 1CE0B1FE06471DED0097A5F4 + 1CD0528E0623707200166675 + + WindowString + 62 385 781 470 0 0 1440 878 + WindowToolGUID + 1C530D57069F1CE1000CFCEE + WindowToolIsVisible + 0 + + + Identifier + MENUSEPARATOR + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debuggerConsole + IsVertical + + Layout + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAAC065D492600B07095 + PBXProjectModuleLabel + Debugger Console + + GeometryConfiguration + + Frame + {{0, 0}, {650, 209}} + RubberWindowFrame + 57 657 650 250 0 0 1920 1178 + + Module + PBXDebugCLIModule + Proportion + 209pt + + + Proportion + 209pt + + + Name + Debugger Console + ServiceClasses + + PBXDebugCLIModule + + StatusbarIsVisible + + TableOfContents + + 1C78EAAD065D492600B07095 + F518D00F14B7F4FC00696709 + 1C78EAAC065D492600B07095 + + ToolbarConfiguration + xcode.toolbar.config.consoleV3 + WindowString + 57 657 650 250 0 0 1920 1178 + WindowToolGUID + 1C78EAAD065D492600B07095 + WindowToolIsVisible + + + + Identifier + windowTool.snapshots + Layout + + + Dock + + + Module + XCSnapshotModule + Proportion + 100% + + + Proportion + 100% + + + Name + Snapshots + ServiceClasses + + XCSnapshotModule + + StatusbarIsVisible + Yes + ToolbarConfiguration + xcode.toolbar.config.snapshots + WindowString + 315 824 300 550 0 0 1440 878 + WindowToolIsVisible + Yes + + + Identifier + windowTool.scm + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAB2065D492600B07095 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1C78EAB3065D492600B07095 + + SplitCount + 1 + + StatusBarVisibility + 1 + + GeometryConfiguration + + Frame + {{0, 0}, {452, 0}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + + Module + PBXNavigatorGroup + Proportion + 0pt + + + BecomeActive + 1 + ContentConfiguration + + PBXProjectModuleGUID + 1CD052920623707200166675 + PBXProjectModuleLabel + SCM + + GeometryConfiguration + + ConsoleFrame + {{0, 259}, {452, 0}} + Frame + {{0, 7}, {452, 259}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + TableConfiguration + + Status + 30 + FileName + 199 + Path + 197.0950012207031 + + TableFrame + {{0, 0}, {452, 250}} + + Module + PBXCVSModule + Proportion + 262pt + + + Proportion + 266pt + + + Name + SCM + ServiceClasses + + PBXCVSModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C78EAB4065D492600B07095 + 1C78EAB5065D492600B07095 + 1C78EAB2065D492600B07095 + 1CD052920623707200166675 + + ToolbarConfiguration + xcode.toolbar.config.scm + WindowString + 743 379 452 308 0 0 1280 1002 + + + Identifier + windowTool.breakpoints + IsVertical + 0 + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C77FABC04509CD000000102 + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + no + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 168 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 1C77FABC04509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {168, 350}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 0 + + GeometryConfiguration + + Frame + {{0, 0}, {185, 368}} + GroupTreeTableConfiguration + + MainColumn + 168 + + RubberWindowFrame + 315 424 744 409 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 185pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CA1AED706398EBD00589147 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{190, 0}, {554, 368}} + RubberWindowFrame + 315 424 744 409 0 0 1440 878 + + Module + XCDetailModule + Proportion + 554pt + + + Proportion + 368pt + + + MajorVersion + 3 + MinorVersion + 0 + Name + Breakpoints + ServiceClasses + + PBXSmartGroupTreeModule + XCDetailModule + + StatusbarIsVisible + 1 + TableOfContents + + 1CDDB66807F98D9800BB5817 + 1CDDB66907F98D9800BB5817 + 1CE0B1FE06471DED0097A5F4 + 1CA1AED706398EBD00589147 + + ToolbarConfiguration + xcode.toolbar.config.breakpointsV3 + WindowString + 315 424 744 409 0 0 1440 878 + WindowToolGUID + 1CDDB66807F98D9800BB5817 + WindowToolIsVisible + 1 + + + Identifier + windowTool.debugAnimator + Layout + + + Dock + + + Module + PBXNavigatorGroup + Proportion + 100% + + + Proportion + 100% + + + Name + Debug Visualizer + ServiceClasses + + PBXNavigatorGroup + + StatusbarIsVisible + 1 + ToolbarConfiguration + xcode.toolbar.config.debugAnimatorV3 + WindowString + 100 100 700 500 0 0 1280 1002 + + + Identifier + windowTool.bookmarks + Layout + + + Dock + + + Module + PBXBookmarksModule + Proportion + 100% + + + Proportion + 100% + + + Name + Bookmarks + ServiceClasses + + PBXBookmarksModule + + StatusbarIsVisible + 0 + WindowString + 538 42 401 187 0 0 1280 1002 + + + Identifier + windowTool.projectFormatConflicts + Layout + + + Dock + + + Module + XCProjectFormatConflictsModule + Proportion + 100% + + + Proportion + 100% + + + Name + Project Format Conflicts + ServiceClasses + + XCProjectFormatConflictsModule + + StatusbarIsVisible + 0 + WindowContentMinSize + 450 300 + WindowString + 50 850 472 307 0 0 1440 877 + + + Identifier + windowTool.classBrowser + Layout + + + Dock + + + BecomeActive + 1 + ContentConfiguration + + OptionsSetName + Hierarchy, all classes + PBXProjectModuleGUID + 1CA6456E063B45B4001379D8 + PBXProjectModuleLabel + Class Browser - NSObject + + GeometryConfiguration + + ClassesFrame + {{0, 0}, {374, 96}} + ClassesTreeTableConfiguration + + PBXClassNameColumnIdentifier + 208 + PBXClassBookColumnIdentifier + 22 + + Frame + {{0, 0}, {630, 331}} + MembersFrame + {{0, 105}, {374, 395}} + MembersTreeTableConfiguration + + PBXMemberTypeIconColumnIdentifier + 22 + PBXMemberNameColumnIdentifier + 216 + PBXMemberTypeColumnIdentifier + 97 + PBXMemberBookColumnIdentifier + 22 + + PBXModuleWindowStatusBarHidden2 + 1 + RubberWindowFrame + 385 179 630 352 0 0 1440 878 + + Module + PBXClassBrowserModule + Proportion + 332pt + + + Proportion + 332pt + + + Name + Class Browser + ServiceClasses + + PBXClassBrowserModule + + StatusbarIsVisible + 0 + TableOfContents + + 1C0AD2AF069F1E9B00FABCE6 + 1C0AD2B0069F1E9B00FABCE6 + 1CA6456E063B45B4001379D8 + + ToolbarConfiguration + xcode.toolbar.config.classbrowser + WindowString + 385 179 630 352 0 0 1440 878 + WindowToolGUID + 1C0AD2AF069F1E9B00FABCE6 + WindowToolIsVisible + 0 + + + Identifier + windowTool.refactoring + IncludeInToolsMenu + 0 + Layout + + + Dock + + + BecomeActive + 1 + GeometryConfiguration + + Frame + {0, 0}, {500, 335} + RubberWindowFrame + {0, 0}, {500, 335} + + Module + XCRefactoringModule + Proportion + 100% + + + Proportion + 100% + + + Name + Refactoring + ServiceClasses + + XCRefactoringModule + + WindowString + 200 200 500 356 0 0 1920 1200 + + + + diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/reza.pbxuser b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/reza.pbxuser new file mode 100644 index 000000000..144e54b1a --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/reza.pbxuser @@ -0,0 +1,554 @@ +// !$*UTF8*$! +{ + E4B69B4C0A3A1720003C02F2 /* Project object */ = { + activeBuildConfigurationName = Debug; + activeExecutable = F52DB5FC1478BF52005C05B1 /* ofxUIExample */; + activeTarget = E4B69B5A0A3A1756003C02F2 /* ofxUIExample */; + addToTargets = ( + E4B69B5A0A3A1756003C02F2 /* ofxUIExample */, + ); + breakpoints = ( + ); + codeSenseManager = F52DB62F1478BF5A005C05B1 /* Code sense */; + executables = ( + F52DB5FC1478BF52005C05B1 /* ofxUIExample */, + ); + perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXBookmarksDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXBookmarksDataSource_NameID; + PBXFileTableDataSourceColumnWidthsKey = ( + 200, + 200, + 1052.58349609375, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXBookmarksDataSource_LocationID, + PBXBookmarksDataSource_NameID, + PBXBookmarksDataSource_CommentsID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 1151, + 20, + 48, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 347599895; + PBXWorkspaceStateSaveDate = 347599895; + }; + perUserProjectItems = { + F503405F148D8D580003E7BC /* PBXTextBookmark */ = F503405F148D8D580003E7BC /* PBXTextBookmark */; + F518D02F14B7F69E00696709 /* PBXTextBookmark */ = F518D02F14B7F69E00696709 /* PBXTextBookmark */; + F518D03014B7F69E00696709 /* PBXTextBookmark */ = F518D03014B7F69E00696709 /* PBXTextBookmark */; + F518D03114B7F69E00696709 /* PBXTextBookmark */ = F518D03114B7F69E00696709 /* PBXTextBookmark */; + F52DB8111478FB87005C05B1 /* PBXTextBookmark */ = F52DB8111478FB87005C05B1 /* PBXTextBookmark */; + F52DB8A41479019B005C05B1 /* PBXTextBookmark */ = F52DB8A41479019B005C05B1 /* PBXTextBookmark */; + F52DB96B147ABA62005C05B1 /* PBXTextBookmark */ = F52DB96B147ABA62005C05B1 /* PBXTextBookmark */; + F52DB9D8147C0640005C05B1 /* PBXTextBookmark */ = F52DB9D8147C0640005C05B1 /* PBXTextBookmark */; + F54CC6851495882400AD09D5 /* PBXTextBookmark */ = F54CC6851495882400AD09D5 /* PBXTextBookmark */; + F5A55AC61480D09D004FA0F3 /* PBXTextBookmark */ = F5A55AC61480D09D004FA0F3 /* PBXTextBookmark */; + F5BFDF0414902C450067E890 /* PBXTextBookmark */ = F5BFDF0414902C450067E890 /* PBXTextBookmark */; + F5BFDF71149049940067E890 /* PBXTextBookmark */ = F5BFDF71149049940067E890 /* PBXTextBookmark */; + F5BFDFE51491834D0067E890 /* PBXTextBookmark */ = F5BFDFE51491834D0067E890 /* PBXTextBookmark */; + F5BFDFE61491834D0067E890 /* PBXTextBookmark */ = F5BFDFE61491834D0067E890 /* PBXTextBookmark */; + F5BFDFE71491834D0067E890 /* PBXTextBookmark */ = F5BFDFE71491834D0067E890 /* PBXTextBookmark */; + F5BFDFEC1491834D0067E890 /* PBXTextBookmark */ = F5BFDFEC1491834D0067E890 /* PBXTextBookmark */; + F5BFDFED1491834D0067E890 /* PBXTextBookmark */ = F5BFDFED1491834D0067E890 /* PBXTextBookmark */; + F5C8F0CE14897C7100DDCA61 /* PBXTextBookmark */ = F5C8F0CE14897C7100DDCA61 /* PBXTextBookmark */; + F5C8F1231489802500DDCA61 /* PBXTextBookmark */ = F5C8F1231489802500DDCA61 /* PBXTextBookmark */; + F5C8F3D71489B92300DDCA61 /* PBXTextBookmark */ = F5C8F3D71489B92300DDCA61 /* PBXTextBookmark */; + F5C8F3FF1489BBB900DDCA61 /* PBXTextBookmark */ = F5C8F3FF1489BBB900DDCA61 /* PBXTextBookmark */; + F5EC4E681495D8F7007362FB /* PBXTextBookmark */ = F5EC4E681495D8F7007362FB /* PBXTextBookmark */; + }; + sourceControlManager = F52DB62E1478BF5A005C05B1 /* Source Control */; + userBuildSettings = { + }; + }; + E4B69B5A0A3A1756003C02F2 /* ofxUIExample */ = { + activeExec = 0; + executables = ( + F52DB5FC1478BF52005C05B1 /* ofxUIExample */, + ); + }; + E4B69E1D0A3A1BDC003C02F2 /* main.cpp */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 891}}"; + sepNavSelRange = "{301, 0}"; + sepNavVisRange = "{0, 301}"; + }; + }; + E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1916, 6176}}"; + sepNavSelRange = "{4692, 0}"; + sepNavVisRange = "{4206, 2639}"; + sepNavWindowFrame = "{{0, 4}, {1680, 1024}}"; + }; + }; + E4B69E1F0A3A1BDC003C02F2 /* testApp.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 890}}"; + sepNavSelRange = "{622, 23}"; + sepNavVisRange = "{0, 848}"; + sepNavWindowFrame = "{{0, 4}, {1680, 1024}}"; + }; + }; + F5034048148D8A600003E7BC /* ofxUIRangeSlider.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 7112}}"; + sepNavSelRange = "{2433, 0}"; + sepNavVisRange = "{956, 1643}"; + }; + }; + F503405F148D8D580003E7BC /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8F476148A952700DDCA61 /* ofTrueTypeFont.cpp */; + name = "ofTrueTypeFont.cpp: 642"; + rLen = 0; + rLoc = 18842; + rType = 0; + vrLen = 1683; + vrLoc = 17979; + }; + F518D02F14B7F69E00696709 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = E4B69E1F0A3A1BDC003C02F2 /* testApp.h */; + name = "testApp.h: 31"; + rLen = 23; + rLoc = 622; + rType = 0; + vrLen = 848; + vrLoc = 0; + }; + F518D03014B7F69E00696709 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; + name = "testApp.cpp: 229"; + rLen = 0; + rLoc = 4692; + rType = 0; + vrLen = 2640; + vrLoc = 4206; + }; + F518D03114B7F69E00696709 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; + name = "testApp.cpp: 229"; + rLen = 0; + rLoc = 4692; + rType = 0; + vrLen = 2639; + vrLoc = 4206; + }; + F52DB5FC1478BF52005C05B1 /* ofxUIExample */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 0; + configStateDict = { + }; + customDataFormattersEnabled = 1; + dataTipCustomDataFormattersEnabled = 1; + dataTipShowTypeColumn = 1; + dataTipSortType = 0; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = ofxUIExample; + savedGlobals = { + }; + showTypeColumn = 0; + sourceDirectories = ( + ); + variableFormatDictionary = { + }; + }; + F52DB62E1478BF5A005C05B1 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + repositoryNamesForRoots = { + "" = ""; + }; + }; + }; + F52DB62F1478BF5A005C05B1 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + F52DB6B11478C79B005C05B1 /* ofRectangle.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ofRectangle.h; + path = /Users/reza/Documents/of_007/libs/openFrameworks/types/ofRectangle.h; + sourceTree = ""; + }; + F52DB72C1478DF84005C05B1 /* ofEvents.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ofEvents.h; + path = /Users/reza/Documents/of_007/libs/openFrameworks/events/ofEvents.h; + sourceTree = ""; + }; + F52DB7371478E1E4005C05B1 /* ofConstants.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ofConstants.h; + path = /Users/reza/Documents/of_007/libs/openFrameworks/utils/ofConstants.h; + sourceTree = ""; + }; + F52DB8111478FB87005C05B1 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F52DB6B11478C79B005C05B1 /* ofRectangle.h */; + name = "ofRectangle.h: 20"; + rLen = 20; + rLoc = 333; + rType = 0; + vrLen = 1108; + vrLoc = 0; + }; + F52DB8A41479019B005C05B1 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F52DB72C1478DF84005C05B1 /* ofEvents.h */; + name = "ofEvents.h: 43"; + rLen = 0; + rLoc = 902; + rType = 0; + vrLen = 1134; + vrLoc = 495; + }; + F52DB90114797CD9005C05B1 /* CarbonEvents.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = CarbonEvents.h; + path = /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/CarbonEvents.h; + sourceTree = ""; + }; + F52DB96B147ABA62005C05B1 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F52DB90114797CD9005C05B1 /* CarbonEvents.h */; + name = "CarbonEvents.h: 16352"; + rLen = 51; + rLoc = 622264; + rType = 0; + vrLen = 2375; + vrLoc = 620226; + }; + F52DB9D0147C05B8005C05B1 /* ofEventUtils.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ofEventUtils.h; + path = ../../../libs/openFrameworks/events/ofEventUtils.h; + sourceTree = ""; + }; + F52DB9D8147C0640005C05B1 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F52DB9D0147C05B8005C05B1 /* ofEventUtils.h */; + name = "ofEventUtils.h: 101"; + rLen = 28; + rLoc = 3315; + rType = 0; + vrLen = 2359; + vrLoc = 1142; + }; + F54CC6851495882400AD09D5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8F5F7148AD71D00DDCA61 /* ofxUIWidget.h */; + name = "ofxUIWidget.h: 118"; + rLen = 24; + rLoc = 2430; + rType = 0; + vrLen = 973; + vrLoc = 1824; + }; + F5A55AA71480CF6F004FA0F3 /* ofTrueTypeFont.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ofTrueTypeFont.h; + path = /Users/reza/Documents/of_007/libs/openFrameworks/graphics/ofTrueTypeFont.h; + sourceTree = ""; + }; + F5A55AC61480D09D004FA0F3 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5A55AA71480CF6F004FA0F3 /* ofTrueTypeFont.h */; + name = "ofTrueTypeFont.h: 43"; + rLen = 164; + rLoc = 813; + rType = 0; + vrLen = 1637; + vrLoc = 14; + }; + F5BFDDE114901E6E0067E890 /* ofxUI2DPad.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1580, 4438}}"; + sepNavSelRange = "{1893, 0}"; + sepNavVisRange = "{1084, 2583}"; + }; + }; + F5BFDF0414902C450067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5BFDF0514902C450067E890 /* ImageLayer.cpp */; + name = "ImageLayer.cpp: 1623"; + rLen = 1787; + rLoc = 39338; + rType = 0; + vrLen = 1602; + vrLoc = 39120; + }; + F5BFDF0514902C450067E890 /* ImageLayer.cpp */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = ImageLayer.cpp; + path = "/Users/reza/Documents/of_007/apps/myApps/Image Sonification_oct13/src/ImageLayer.cpp"; + sourceTree = ""; + }; + F5BFDF71149049940067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = E4B69E1D0A3A1BDC003C02F2 /* main.cpp */; + name = "main.cpp: 13"; + rLen = 0; + rLoc = 301; + rType = 0; + vrLen = 301; + vrLoc = 0; + }; + F5BFDFDF1491818C0067E890 /* ofxUITextInput.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 5264}}"; + sepNavSelRange = "{7900, 0}"; + sepNavVisRange = "{6979, 1420}"; + }; + }; + F5BFDFE51491834D0067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8F5F6148AD71D00DDCA61 /* ofxUIToggle.h */; + name = "ofxUIToggle.h: 37"; + rLen = 452; + rLoc = 966; + rType = 0; + vrLen = 1898; + vrLoc = 42; + }; + F5BFDFE61491834D0067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5BFDDE114901E6E0067E890 /* ofxUI2DPad.h */; + name = "ofxUI2DPad.h: 73"; + rLen = 0; + rLoc = 1893; + rType = 0; + vrLen = 2583; + vrLoc = 1084; + }; + F5BFDFE71491834D0067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5034048148D8A600003E7BC /* ofxUIRangeSlider.h */; + name = "ofxUIRangeSlider.h: 93"; + rLen = 0; + rLoc = 2433; + rType = 0; + vrLen = 1643; + vrLoc = 956; + }; + F5BFDFEC1491834D0067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8F5F1148AD71D00DDCA61 /* ofxUIEventArgs.h */; + name = "ofxUIEventArgs.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 321; + vrLoc = 0; + }; + F5BFDFED1491834D0067E890 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8F5EF148AD71D00DDCA61 /* ofxUIButton.h */; + name = "ofxUIButton.h: 50"; + rLen = 0; + rLoc = 1633; + rType = 0; + vrLen = 1938; + vrLoc = 118; + }; + F5C8EF3F1488614200DDCA61 /* Integrator.cpp */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1421, 1274}}"; + sepNavSelRange = "{256, 0}"; + sepNavVisRange = "{77, 780}"; + }; + }; + F5C8EF401488614200DDCA61 /* Integrator.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1421, 891}}"; + sepNavSelRange = "{167, 0}"; + sepNavVisRange = "{0, 573}"; + }; + }; + F5C8F0CE14897C7100DDCA61 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8EF3F1488614200DDCA61 /* Integrator.cpp */; + name = "Integrator.cpp: 14"; + rLen = 0; + rLoc = 256; + rType = 0; + vrLen = 780; + vrLoc = 77; + }; + F5C8F1231489802500DDCA61 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8EF401488614200DDCA61 /* Integrator.h */; + name = "Integrator.h: 9"; + rLen = 0; + rLoc = 167; + rType = 0; + vrLen = 573; + vrLoc = 0; + }; + F5C8F3D71489B92300DDCA61 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F52DB7371478E1E4005C05B1 /* ofConstants.h */; + name = "ofConstants.h: 414"; + rLen = 33; + rLoc = 10628; + rType = 0; + vrLen = 2074; + vrLoc = 9778; + }; + F5C8F3FF1489BBB900DDCA61 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5C8F4001489BBB900DDCA61 /* ofGraphics.h */; + name = "ofGraphics.h: 200"; + rLen = 63; + rLoc = 6214; + rType = 0; + vrLen = 2379; + vrLoc = 5258; + }; + F5C8F4001489BBB900DDCA61 /* ofGraphics.h */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = ofGraphics.h; + path = /Users/reza/Documents/of_007/libs/openFrameworks/graphics/ofGraphics.h; + sourceTree = ""; + }; + F5C8F476148A952700DDCA61 /* ofTrueTypeFont.cpp */ = { + isa = PBXFileReference; + lastKnownFileType = sourcecode.cpp.cpp; + name = ofTrueTypeFont.cpp; + path = /Users/reza/Documents/of_007/libs/openFrameworks/graphics/ofTrueTypeFont.cpp; + sourceTree = ""; + }; + F5C8F5EE148AD71D00DDCA61 /* ofxUI.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 1424}}"; + sepNavSelRange = "{1209, 0}"; + sepNavVisRange = "{779, 1230}"; + }; + }; + F5C8F5EF148AD71D00DDCA61 /* ofxUIButton.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 3542}}"; + sepNavSelRange = "{1633, 0}"; + sepNavVisRange = "{118, 1938}"; + }; + }; + F5C8F5F0148AD71D00DDCA61 /* ofxUICanvas.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 11488}}"; + sepNavSelRange = "{12562, 0}"; + sepNavVisRange = "{11980, 1848}"; + }; + }; + F5C8F5F1148AD71D00DDCA61 /* ofxUIEventArgs.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 890}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRange = "{0, 321}"; + }; + }; + F5C8F5F2148AD71D00DDCA61 /* ofxUILabel.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 3152}}"; + sepNavSelRange = "{3278, 33}"; + sepNavVisRange = "{2870, 832}"; + }; + }; + F5C8F5F3148AD71D00DDCA61 /* ofxUIRadio.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 3104}}"; + sepNavSelRange = "{1789, 0}"; + sepNavVisRange = "{591, 1585}"; + }; + }; + F5C8F5F4148AD71D00DDCA61 /* ofxUIRectangle.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 2928}}"; + sepNavSelRange = "{262, 0}"; + sepNavVisRange = "{150, 962}"; + }; + }; + F5C8F5F5148AD71D00DDCA61 /* ofxUISlider.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1580, 5984}}"; + sepNavSelRange = "{5886, 13}"; + sepNavVisRange = "{5280, 982}"; + }; + }; + F5C8F5F6148AD71D00DDCA61 /* ofxUIToggle.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 1414}}"; + sepNavSelRange = "{966, 452}"; + sepNavVisRange = "{42, 1898}"; + }; + }; + F5C8F5F7148AD71D00DDCA61 /* ofxUIWidget.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 2772}}"; + sepNavSelRange = "{2430, 24}"; + sepNavVisRange = "{1824, 973}"; + }; + }; + F5C8F67A148AFD4100DDCA61 /* ofxUIFPS.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1329, 912}}"; + sepNavSelRange = "{1444, 0}"; + sepNavVisRange = "{0, 1529}"; + }; + }; + F5EC4E681495D8F7007362FB /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = F5BFDFDF1491818C0067E890 /* ofxUITextInput.h */; + name = "ofxUITextInput.h: 334"; + rLen = 0; + rLoc = 7900; + rType = 0; + vrLen = 1420; + vrLoc = 6979; + }; +} diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist new file mode 100644 index 000000000..05301bc25 --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcschemes/emptyExample.xcscheme b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcschemes/emptyExample.xcscheme new file mode 100644 index 000000000..79f5f5746 --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcschemes/emptyExample.xcscheme @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcschemes/xcschememanagement.plist b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 000000000..15202b873 --- /dev/null +++ b/example-ofxUIMoreWidgets/ofxUIMoreWidgets.xcodeproj/xcuserdata/reza.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + emptyExample.xcscheme + + orderHint + 1 + + + SuppressBuildableAutocreation + + E4B69B5A0A3A1756003C02F2 + + primary + + + + + diff --git a/example-ofxUIMoreWidgets/openFrameworks-Info.plist b/example-ofxUIMoreWidgets/openFrameworks-Info.plist new file mode 100644 index 000000000..e5db5550a --- /dev/null +++ b/example-ofxUIMoreWidgets/openFrameworks-Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.yourcompany.openFrameworks + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/example-ofxUIMoreWidgets/src/main.cpp b/example-ofxUIMoreWidgets/src/main.cpp new file mode 100644 index 000000000..00993480c --- /dev/null +++ b/example-ofxUIMoreWidgets/src/main.cpp @@ -0,0 +1,12 @@ +#include "ofMain.h" +#include "testApp.h" +#include "ofAppGlutWindow.h" + +//======================================================================== +int main( ){ + + ofAppGlutWindow window; +// window.setGlutDisplayString("rgba double samples>=6 depth"); + ofSetupOpenGL(&window, 768,1024, OF_WINDOW); // <-------- setup the GL context + ofRunApp( new testApp()); +} diff --git a/example-ofxUIMoreWidgets/src/testApp.cpp b/example-ofxUIMoreWidgets/src/testApp.cpp new file mode 100644 index 000000000..ce8cab0a7 --- /dev/null +++ b/example-ofxUIMoreWidgets/src/testApp.cpp @@ -0,0 +1,146 @@ +#include "testApp.h" + +//-------------------------------------------------------------- +void testApp::setup() +{ + ofSetVerticalSync(true); + ofEnableSmoothing(); + + float dim = 16; + float xInit = OFX_UI_GLOBAL_WIDGET_SPACING; + float length = 320-xInit; + + drawPadding = false; + + gui = new ofxUICanvas(0,0,length+xInit,ofGetHeight()); + + gui->addWidgetDown(new ofxUILabel("MORE WIDGETS", OFX_UI_FONT_LARGE)); + + gui->addWidgetDown(new ofxUISpacer(length-xInit, 2)); + gui->addWidgetDown(new ofxUILabel("MOVING GRAPH", OFX_UI_FONT_MEDIUM)); + int bufferSize = 256; + vector buffer; + for(int i = 0; i < bufferSize; i++) + { + buffer.push_back(i); + } + mg = (ofxUIMovingGraph *) gui->addWidgetDown(new ofxUIMovingGraph(length-xInit, 64, buffer, bufferSize, 0, 256, "MOVING GRAPH")); + + gui->addWidgetDown(new ofxUISpacer(length-xInit, 2)); + gui->addWidgetDown(new ofxUILabel("MINIMAL SLIDER", OFX_UI_FONT_LARGE)); + gui->addWidgetDown(new ofxUIMinimalSlider(length-xInit, 0, 100, 50, "MINIMAL", OFX_UI_FONT_SMALL)); + gui->addWidgetDown(new ofxUISlider(length-xInit, 16, 0, 100, 50, "STANDARD")); + ofAddListener(gui->newGUIEvent,this,&testApp::guiEvent); + +// gui->loadSettings("GUI/guiSettings.xml"); +} + +//-------------------------------------------------------------- +void testApp::update() +{ +} + +//-------------------------------------------------------------- +void testApp::draw() +{ + ofBackground(200,200,200,255); + + ofPushStyle(); + ofEnableBlendMode(OF_BLENDMODE_ALPHA); + ofPopStyle(); +} +//-------------------------------------------------------------- +void testApp::guiEvent(ofxUIEventArgs &e) +{ + string name = e.widget->getName(); + int kind = e.widget->getKind(); + + if(name == "MINIMAL") + { + ofxUISlider *slider = (ofxUISlider *) gui->getWidget("STANDARD"); + ofxUISlider *mslider = (ofxUISlider *) e.widget; + slider->setMax(mslider->getScaledValue()); + } + else if(name == "STANDARD") + { + + } + +} +//-------------------------------------------------------------- +void testApp::exit() +{ +// gui->saveSettings("GUI/guiSettings.xml"); + delete gui; +} +//-------------------------------------------------------------- +void testApp::keyPressed(int key) +{ + if(gui->hasKeyboardFocus()) + { + return; + } + + switch (key) + { + case 'p': + { + drawPadding = !drawPadding; + gui->setDrawPadding(drawPadding); + } + break; + + case 'g': + { + gui->toggleVisible(); + } + break; + default: + break; + } +} +//-------------------------------------------------------------- +void testApp::keyReleased(int key){ + +} + +//-------------------------------------------------------------- +void testApp::mouseMoved(int x, int y ) +{ + mg->addPoint(ofMap(ofGetMouseY(), 0, ofGetHeight(), 0, 256)); +} + +//-------------------------------------------------------------- +void testApp::mouseDragged(int x, int y, int button) +{ + +} + +//-------------------------------------------------------------- +void testApp::mousePressed(int x, int y, int button) +{ + +} + +//-------------------------------------------------------------- +void testApp::mouseReleased(int x, int y, int button) +{ + +} + +//-------------------------------------------------------------- +void testApp::windowResized(int w, int h) +{ + + +} + +//-------------------------------------------------------------- +void testApp::gotMessage(ofMessage msg){ + +} + +//-------------------------------------------------------------- +void testApp::dragEvent(ofDragInfo dragInfo){ + +} \ No newline at end of file diff --git a/example-ofxUIMoreWidgets/src/testApp.h b/example-ofxUIMoreWidgets/src/testApp.h new file mode 100644 index 000000000..b19a7b239 --- /dev/null +++ b/example-ofxUIMoreWidgets/src/testApp.h @@ -0,0 +1,33 @@ +#ifndef TESTAPP +#define TESTAPP + +#include "ofMain.h" +#include "ofxUI.h" + +class testApp : public ofBaseApp +{ + public: + void setup(); + void update(); + void draw(); + void exit(); + + void keyPressed (int key); + void keyReleased(int key); + void mouseMoved(int x, int y ); + void mouseDragged(int x, int y, int button); + void mousePressed(int x, int y, int button); + void mouseReleased(int x, int y, int button); + void windowResized(int w, int h); + void dragEvent(ofDragInfo dragInfo); + void gotMessage(ofMessage msg); + + ofxUICanvas *gui; + void guiEvent(ofxUIEventArgs &e); + + ofxUIMovingGraph *mg; + + bool drawPadding; +}; + +#endif \ No newline at end of file diff --git a/example-ofxUITutorial/ofxUITutorial.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate b/example-ofxUITutorial/ofxUITutorial.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate index 83f91a84e..44bf83170 100644 Binary files a/example-ofxUITutorial/ofxUITutorial.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate and b/example-ofxUITutorial/ofxUITutorial.xcodeproj/project.xcworkspace/xcuserdata/reza.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/src/ofxUI.h b/src/ofxUI.h index 7ddc5db28..ab174f918 100644 --- a/src/ofxUI.h +++ b/src/ofxUI.h @@ -73,8 +73,8 @@ enum ofxWidgetType OFX_UI_WIDGET_IMAGETOGGLE = 20, OFX_UI_WIDGET_ROTARYSLIDER = 21, OFX_UI_WIDGET_DROPDOWNLIST = 22, - OFX_UI_WIDGET_SPACER = 23 - + OFX_UI_WIDGET_SPACER = 23, + OFX_UI_WIDGET_MOVINGGRAPH = 24, }; enum ofxWidgetOrientation @@ -121,6 +121,7 @@ enum ofxWidgetColorType #include "ofxUILabel.h" #include "ofxUIFPS.h" #include "ofxUISlider.h" +#include "ofxUIMinimalSlider.h" #include "ofxUIRangeSlider.h" #include "ofxUIToggle.h" #include "ofxUIButton.h" @@ -138,6 +139,7 @@ enum ofxWidgetColorType #include "ofxUIDropDownList.h" #include "ofxUIWaveform.h" #include "ofxUISpectrum.h" +#include "ofxUIMovingGraph.h" #include "ofxUIImage.h" #include "ofxUICanvas.h" diff --git a/src/ofxUILabel.h b/src/ofxUILabel.h index 8921863e1..d14662cec 100644 --- a/src/ofxUILabel.h +++ b/src/ofxUILabel.h @@ -71,7 +71,6 @@ class ofxUILabel : public ofxUIWidget font = NULL; draw_back = OFX_UI_LABEL_DRAW_BACK; draw_fill = true; - paddedRect = new ofxUIRectangle(-padding, -padding, padding*2.0, padding*2.0); paddedRect->setParent(rect); } @@ -128,9 +127,9 @@ class ofxUILabel : public ofxUIWidget } void drawBackLabel() - { + { ofFill(); - ofSetColor(color_back); + ofSetColor(color_back); font->drawString(label, rect->getX()+1, rect->getY()+rect->getHeight()+1); } @@ -187,7 +186,7 @@ class ofxUILabel : public ofxUIWidget draw_fill_highlight = false; draw_fill = true; } - + protected: //inherited: ofxUIRectangle *rect; ofxUIWidget *parent; int size; string label; diff --git a/src/ofxUIMinimalSlider.h b/src/ofxUIMinimalSlider.h index 1a9c0902c..7a16fa28e 100644 --- a/src/ofxUIMinimalSlider.h +++ b/src/ofxUIMinimalSlider.h @@ -1,14 +1,189 @@ -// -// ofxUIMinimalSlider.h -// ofxUIMoreWidgets -// -// Created by Syed Reza Ali on 2/26/12. -// Copyright (c) 2012 __MyCompanyName__. All rights reserved. -// +/********************************************************************************** + + Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com) + + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + **********************************************************************************/ -#ifndef ofxUIMoreWidgets_ofxUIMinimalSlider_h -#define ofxUIMoreWidgets_ofxUIMinimalSlider_h +#ifndef OFXUI_MINIMAL_SLIDER +#define OFXUI_MINIMAL_SLIDER +#include "ofxUISlider.h" +class ofxUIMinimalSlider : public ofxUISlider +{ +public: + ofxUIMinimalSlider(float x, float y, float w, float h, float _min, float _max, float _value, string _name) + { + rect = new ofxUIRectangle(x,y,w,h); + autoSize = false; + init(w, h, _min, _max, _value, _name, OFX_UI_FONT_SMALL); + } + + ofxUIMinimalSlider(float w, float h, float _min, float _max, float _value, string _name) + { + rect = new ofxUIRectangle(0,0,w,h); + autoSize = false; + init(w, h, _min, _max, _value, _name, OFX_UI_FONT_SMALL); + } + + ofxUIMinimalSlider(float x, float y, float w, float _min, float _max, float _value, string _name, int _size) + { + rect = new ofxUIRectangle(x,y,w,0); + autoSize = true; + init(w, 0, _min, _max, _value, _name, _size); + } + + ofxUIMinimalSlider(float w, float _min, float _max, float _value, string _name, int _size) + { + rect = new ofxUIRectangle(0,0,w,0); + autoSize = true; + init(w, 0, _min, _max, _value, _name, _size); + } + + void init(float w, float h, float _min, float _max, float _value, string _name, int _size) + { + name = _name; + kind = OFX_UI_WIDGET_SLIDER_H; + + paddedRect = new ofxUIRectangle(-padding, -padding, w+padding*2.0, h+padding); + paddedRect->setParent(rect); + + draw_fill = true; + + value = _value; //the widget's value + max = _max; + min = _min; + + if(value > max) + { + value = max; + } + if(value < min) + { + value = min; + } + + value = ofMap(value, min, max, 0.0, 1.0, true); + + label = new ofxUILabel(padding,h*.5,(name+" LABEL"), name, _size); + label->setDrawBack(true); + label->setParent(label); + label->setRectParent(rect); + increment = 1.0; + } + + + void draw() + { + ofPushStyle(); + + ofEnableBlendMode(OF_BLENDMODE_ALPHA); + if(draw_back) + { + ofFill(); + ofSetColor(color_back); + rect->draw(); + } + + if(draw_fill) + { + ofFill(); + ofSetColor(color_fill); + ofRect(rect->getX(), rect->getY(), rect->getWidth()*value, rect->getHeight()); + } + + if(draw_fill_highlight) + { + ofFill(); + ofSetColor(color_fill_highlight); + ofRect(rect->getX(), rect->getY(), rect->getWidth()*value, rect->getHeight()); + ofSetColor(label->getColorFillHighlight()); + label->drawString(rect->getX()+rect->getWidth()+padding, label->getRect()->getHeight()/2.0+rect->getY()+rect->getHeight()-rect->getHeight()*.5, ofToString(getScaledValue(),2)); + } + + if(draw_outline) + { + ofNoFill(); + ofSetColor(color_outline); + rect->draw(); + } + + if(draw_outline_highlight) + { + ofNoFill(); + ofSetColor(color_outline_highlight); + rect->draw(); + if(!draw_fill_highlight) + { + ofSetColor(label->getColorFill()); + label->drawString(rect->getX()+rect->getWidth()+padding, label->getRect()->getHeight()/2.0+rect->getY()+rect->getHeight()-rect->getHeight()*.5, ofToString(getScaledValue(),2)); + } + } + + if(draw_padded_rect) + { + ofNoFill(); + ofSetColor(color_outline_highlight); + paddedRect->draw(); + } + + ofPopStyle(); + } + + void updateLabel() + { + + } + + void setParent(ofxUIWidget *_parent) + { + parent = _parent; + ofxUIRectangle *labelrect = label->getRect(); + while(labelrect->width > rect->width) + { + string labelstring = label->getLabel(); + string::iterator it; + it=labelstring.end(); + it--; + labelstring.erase (it); + label->setLabel(labelstring); + } + if(autoSize || rect->height < label->getPaddingRect()->height) + { + rect->height = label->getPaddingRect()->height; + } + + float h = labelrect->getHeight(); + float ph = rect->getHeight(); + + labelrect->y = (int)(ph*.5 - h*.5); + labelrect->x = padding; + paddedRect->height = rect->height+padding*2.0; + paddedRect->width = rect->width+padding*2.0; + + updateLabel(); + } + +protected: //inherited: ofxUIRectangle *rect; ofxUIWidget *parent; + bool autoSize; +}; #endif diff --git a/src/ofxUIMovingGraph.h b/src/ofxUIMovingGraph.h index dfcf855a6..7c9104727 100644 --- a/src/ofxUIMovingGraph.h +++ b/src/ofxUIMovingGraph.h @@ -1,13 +1,153 @@ -// -// ofxUIMovingGraph.h -// ofxUIMoreWidgets -// -// Created by Syed Reza Ali on 2/26/12. -// Copyright (c) 2012 __MyCompanyName__. All rights reserved. -// - -#ifndef ofxUIMoreWidgets_ofxUIMovingGraph_h -#define ofxUIMoreWidgets_ofxUIMovingGraph_h +/********************************************************************************** + + Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com) + + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + **********************************************************************************/ + +#ifndef OFXUI_MOVING_GRAPH +#define OFXUI_MOVING_GRAPH + +#include "ofxUIWidget.h" + +class ofxUIMovingGraph : public ofxUIWidget +{ +public: + ofxUIMovingGraph(float x, float y, float w, float h, vector _buffer, int _bufferSize, float _min, float _max, string _name) + { + rect = new ofxUIRectangle(x,y,w,h); + init(w, h, _buffer, _bufferSize, _min, _max, _name); + } + + ofxUIMovingGraph(float w, float h, vector _buffer, int _bufferSize, float _min, float _max, string _name) + { + rect = new ofxUIRectangle(0,0,w,h); + init(w, h, _buffer, _bufferSize, _min, _max, _name); + } + + void init(float w, float h, vector _buffer, int _bufferSize, float _min, float _max, string _name) + { + name = _name; + kind = OFX_UI_WIDGET_MOVINGGRAPH; + + paddedRect = new ofxUIRectangle(-padding, -padding, w+padding*2.0, h+padding*2.0); + paddedRect->setParent(rect); + + draw_fill = true; + + buffer = _buffer; //the widget's value + + bufferSize = _bufferSize; + max = _max; + min = _min; + scale = rect->getHeight()*.5; + inc = rect->getWidth()/((float)bufferSize-1.0); + } + + void draw() + { + ofPushStyle(); + + ofEnableBlendMode(OF_BLENDMODE_ALPHA); + if(draw_back) + { + ofFill(); + ofSetColor(color_back); + rect->draw(); + } + + if(draw_fill) + { + ofNoFill(); + if(draw_fill_highlight) + { + ofSetColor(color_fill_highlight); + } + else + { + ofSetColor(color_fill); + } + glPushMatrix(); + glTranslatef(rect->getX(), rect->getY()+scale, 0); + ofSetLineWidth(1.5); + ofBeginShape(); + for (int i = 0; i < bufferSize; i++) + { + ofVertex(inc*(float)i, ofMap(buffer[i], min, max, scale, -scale, true)); + } + ofEndShape(); + ofSetLineWidth(1); + glPopMatrix(); + + } + + + if(draw_outline) + { + ofNoFill(); + ofSetColor(color_outline); + rect->draw(); + } + + if(draw_outline_highlight) + { + ofNoFill(); + ofSetColor(color_outline_highlight); + rect->draw(); + } + + if(draw_padded_rect) + { + ofNoFill(); + ofSetColor(color_outline_highlight); + paddedRect->draw(); + } + + ofPopStyle(); + } + + void setParent(ofxUIWidget *_parent) + { + parent = _parent; + } + + void addPoint(float _point) + { + buffer.push_back(_point); + + if( buffer.size() >= bufferSize ) + { + buffer.erase(buffer.begin(), buffer.begin()+1); + } + } + + vector &getBuffer() + { + return buffer; + } + +protected: //inherited: ofxUIRectangle *rect; ofxUIWidget *parent; + vector buffer; + float max, min, scale, inc; + int bufferSize; +}; diff --git a/src/ofxUIRangeSlider.h b/src/ofxUIRangeSlider.h index 860e17455..f9cb4241c 100644 --- a/src/ofxUIRangeSlider.h +++ b/src/ofxUIRangeSlider.h @@ -490,6 +490,31 @@ class ofxUIRangeSlider : public ofxUIWidget } } + void setMax(float _max) + { + setMaxAndMin(_max, min); + } + + void setMin(float _min) + { + setMaxAndMin(max, _min); + } + + void setMaxAndMin(float _max, float _min) + { + max = _max; + min = _min; + + valuelow= ofMap(valuelow, 0, 1.0, min, max, true); + valuelow = ofMap(valuelow, min, max, 0.0, 1.0, true); + + valuehigh = ofMap(valuehigh, 0, 1.0, min, max, true); + valuehigh = ofMap(valuehigh, min, max, 0.0, 1.0, true); + + updateLabel(); + } + + protected: //inherited: ofxUIRectangle *rect; ofxUIWidget *parent; float valuelow, valuehigh, increment; float hitValueLow, hitValueHigh; diff --git a/src/ofxUISlider.h b/src/ofxUISlider.h index d02953215..18be59491 100644 --- a/src/ofxUISlider.h +++ b/src/ofxUISlider.h @@ -30,6 +30,8 @@ class ofxUISlider : public ofxUIWidget { public: + ofxUISlider() {} + ofxUISlider(float x, float y, float w, float h, float _min, float _max, float _value, string _name) { rect = new ofxUIRectangle(x,y,w,h); @@ -296,7 +298,7 @@ class ofxUISlider : public ofxUIWidget updateLabel(); } - void updateLabel() + virtual void updateLabel() { if(kind == OFX_UI_WIDGET_SLIDER_H) { @@ -384,6 +386,44 @@ class ofxUISlider : public ofxUIWidget updateLabel(); } + void setMax(float _max) + { + setMaxAndMin(_max, min); + } + + float getMax() + { + return max; + } + + void setMin(float _min) + { + setMaxAndMin(max, _min); + } + + float getMin() + { + return min; + } + + ofVec2f getMaxAndMind() + { + return ofVec2f(max, min); + } + + void setMaxAndMin(float _max, float _min) + { + max = _max; + min = _min; + + value = ofMap(value, 0, 1.0, min, max, true); + value = ofMap(value, min, max, 0.0, 1.0, true); + updateLabel(); + } + + + + protected: //inherited: ofxUIRectangle *rect; ofxUIWidget *parent; float value, increment; float max, min;