istereo
changeset 35:23e5d274b2a2
added options panel, also added the xib files to the repository as they're needed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 09 Sep 2011 10:03:42 +0300 |
parents | 634c7f7c1f0f |
children | 834503dcb486 |
files | MainWindow.xib istereo.xcodeproj/project.pbxproj istereoViewController.xib src/EAGLView.h src/EAGLView.m src/ES1Renderer.h src/ES1Renderer.m src/ESRenderer.h src/istereo.c src/ui.h src/ui.m src/ui.xib |
diffstat | 12 files changed, 1652 insertions(+), 292 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/MainWindow.xib Fri Sep 09 10:03:42 2011 +0300 1.3 @@ -0,0 +1,239 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> 1.6 + <data> 1.7 + <int key="IBDocument.SystemTarget">800</int> 1.8 + <string key="IBDocument.SystemVersion">10D541</string> 1.9 + <string key="IBDocument.InterfaceBuilderVersion">760</string> 1.10 + <string key="IBDocument.AppKitVersion">1038.29</string> 1.11 + <string key="IBDocument.HIToolboxVersion">460.00</string> 1.12 + <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> 1.13 + <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 1.14 + <string key="NS.object.0">81</string> 1.15 + </object> 1.16 + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> 1.17 + <bool key="EncodedWithXMLCoder">YES</bool> 1.18 + <integer value="8"/> 1.19 + </object> 1.20 + <object class="NSArray" key="IBDocument.PluginDependencies"> 1.21 + <bool key="EncodedWithXMLCoder">YES</bool> 1.22 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 1.23 + </object> 1.24 + <object class="NSMutableDictionary" key="IBDocument.Metadata"> 1.25 + <bool key="EncodedWithXMLCoder">YES</bool> 1.26 + <object class="NSArray" key="dict.sortedKeys" id="0"> 1.27 + <bool key="EncodedWithXMLCoder">YES</bool> 1.28 + </object> 1.29 + <object class="NSMutableArray" key="dict.values"> 1.30 + <bool key="EncodedWithXMLCoder">YES</bool> 1.31 + </object> 1.32 + </object> 1.33 + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> 1.34 + <bool key="EncodedWithXMLCoder">YES</bool> 1.35 + <object class="IBProxyObject" id="841351856"> 1.36 + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> 1.37 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 1.38 + </object> 1.39 + <object class="IBProxyObject" id="191355593"> 1.40 + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> 1.41 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 1.42 + </object> 1.43 + <object class="IBUICustomObject" id="664661524"> 1.44 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 1.45 + </object> 1.46 + <object class="IBUIWindow" id="380026005"> 1.47 + <reference key="NSNextResponder"/> 1.48 + <int key="NSvFlags">1316</int> 1.49 + <object class="NSMutableArray" key="NSSubviews"> 1.50 + <bool key="EncodedWithXMLCoder">YES</bool> 1.51 + <object class="IBUIView" id="773737154"> 1.52 + <reference key="NSNextResponder" ref="380026005"/> 1.53 + <int key="NSvFlags">1298</int> 1.54 + <string key="NSFrameSize">{320, 480}</string> 1.55 + <reference key="NSSuperview" ref="380026005"/> 1.56 + <object class="NSColor" key="IBUIBackgroundColor"> 1.57 + <int key="NSColorSpace">3</int> 1.58 + <bytes key="NSWhite">MQA</bytes> 1.59 + </object> 1.60 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool> 1.61 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 1.62 + </object> 1.63 + </object> 1.64 + <object class="NSPSMatrix" key="NSFrameMatrix"/> 1.65 + <string key="NSFrameSize">{320, 480}</string> 1.66 + <reference key="NSSuperview"/> 1.67 + <object class="NSColor" key="IBUIBackgroundColor"> 1.68 + <int key="NSColorSpace">1</int> 1.69 + <bytes key="NSRGB">MSAxIDEAA</bytes> 1.70 + </object> 1.71 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool> 1.72 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 1.73 + <bool key="IBUIVisibleAtLaunch">YES</bool> 1.74 + <bool key="IBUIResizesToFullScreen">YES</bool> 1.75 + </object> 1.76 + </object> 1.77 + <object class="IBObjectContainer" key="IBDocument.Objects"> 1.78 + <object class="NSMutableArray" key="connectionRecords"> 1.79 + <bool key="EncodedWithXMLCoder">YES</bool> 1.80 + <object class="IBConnectionRecord"> 1.81 + <object class="IBCocoaTouchOutletConnection" key="connection"> 1.82 + <string key="label">delegate</string> 1.83 + <reference key="source" ref="841351856"/> 1.84 + <reference key="destination" ref="664661524"/> 1.85 + </object> 1.86 + <int key="connectionID">4</int> 1.87 + </object> 1.88 + <object class="IBConnectionRecord"> 1.89 + <object class="IBCocoaTouchOutletConnection" key="connection"> 1.90 + <string key="label">window</string> 1.91 + <reference key="source" ref="664661524"/> 1.92 + <reference key="destination" ref="380026005"/> 1.93 + </object> 1.94 + <int key="connectionID">5</int> 1.95 + </object> 1.96 + <object class="IBConnectionRecord"> 1.97 + <object class="IBCocoaTouchOutletConnection" key="connection"> 1.98 + <string key="label">glView</string> 1.99 + <reference key="source" ref="664661524"/> 1.100 + <reference key="destination" ref="773737154"/> 1.101 + </object> 1.102 + <int key="connectionID">9</int> 1.103 + </object> 1.104 + </object> 1.105 + <object class="IBMutableOrderedSet" key="objectRecords"> 1.106 + <object class="NSArray" key="orderedObjects"> 1.107 + <bool key="EncodedWithXMLCoder">YES</bool> 1.108 + <object class="IBObjectRecord"> 1.109 + <int key="objectID">0</int> 1.110 + <reference key="object" ref="0"/> 1.111 + <reference key="children" ref="1000"/> 1.112 + <nil key="parent"/> 1.113 + </object> 1.114 + <object class="IBObjectRecord"> 1.115 + <int key="objectID">2</int> 1.116 + <reference key="object" ref="380026005"/> 1.117 + <object class="NSMutableArray" key="children"> 1.118 + <bool key="EncodedWithXMLCoder">YES</bool> 1.119 + <reference ref="773737154"/> 1.120 + </object> 1.121 + <reference key="parent" ref="0"/> 1.122 + </object> 1.123 + <object class="IBObjectRecord"> 1.124 + <int key="objectID">-1</int> 1.125 + <reference key="object" ref="841351856"/> 1.126 + <reference key="parent" ref="0"/> 1.127 + <string key="objectName">File's Owner</string> 1.128 + </object> 1.129 + <object class="IBObjectRecord"> 1.130 + <int key="objectID">3</int> 1.131 + <reference key="object" ref="664661524"/> 1.132 + <reference key="parent" ref="0"/> 1.133 + </object> 1.134 + <object class="IBObjectRecord"> 1.135 + <int key="objectID">8</int> 1.136 + <reference key="object" ref="773737154"/> 1.137 + <reference key="parent" ref="380026005"/> 1.138 + </object> 1.139 + <object class="IBObjectRecord"> 1.140 + <int key="objectID">-2</int> 1.141 + <reference key="object" ref="191355593"/> 1.142 + <reference key="parent" ref="0"/> 1.143 + </object> 1.144 + </object> 1.145 + </object> 1.146 + <object class="NSMutableDictionary" key="flattenedProperties"> 1.147 + <bool key="EncodedWithXMLCoder">YES</bool> 1.148 + <object class="NSArray" key="dict.sortedKeys"> 1.149 + <bool key="EncodedWithXMLCoder">YES</bool> 1.150 + <string>-1.CustomClassName</string> 1.151 + <string>-2.CustomClassName</string> 1.152 + <string>2.IBAttributePlaceholdersKey</string> 1.153 + <string>2.IBEditorWindowLastContentRect</string> 1.154 + <string>2.IBPluginDependency</string> 1.155 + <string>3.CustomClassName</string> 1.156 + <string>3.IBPluginDependency</string> 1.157 + <string>8.CustomClassName</string> 1.158 + <string>8.IBPluginDependency</string> 1.159 + </object> 1.160 + <object class="NSMutableArray" key="dict.values"> 1.161 + <bool key="EncodedWithXMLCoder">YES</bool> 1.162 + <string>UIApplication</string> 1.163 + <string>UIResponder</string> 1.164 + <object class="NSMutableDictionary"> 1.165 + <bool key="EncodedWithXMLCoder">YES</bool> 1.166 + <reference key="dict.sortedKeys" ref="0"/> 1.167 + <object class="NSMutableArray" key="dict.values"> 1.168 + <bool key="EncodedWithXMLCoder">YES</bool> 1.169 + </object> 1.170 + </object> 1.171 + <string>{{228, 376}, {320, 480}}</string> 1.172 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 1.173 + <string>istereoAppDelegate</string> 1.174 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 1.175 + <string>EAGLView</string> 1.176 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 1.177 + </object> 1.178 + </object> 1.179 + <object class="NSMutableDictionary" key="unlocalizedProperties"> 1.180 + <bool key="EncodedWithXMLCoder">YES</bool> 1.181 + <reference key="dict.sortedKeys" ref="0"/> 1.182 + <object class="NSMutableArray" key="dict.values"> 1.183 + <bool key="EncodedWithXMLCoder">YES</bool> 1.184 + </object> 1.185 + </object> 1.186 + <nil key="activeLocalization"/> 1.187 + <object class="NSMutableDictionary" key="localizations"> 1.188 + <bool key="EncodedWithXMLCoder">YES</bool> 1.189 + <reference key="dict.sortedKeys" ref="0"/> 1.190 + <object class="NSMutableArray" key="dict.values"> 1.191 + <bool key="EncodedWithXMLCoder">YES</bool> 1.192 + </object> 1.193 + </object> 1.194 + <nil key="sourceID"/> 1.195 + <int key="maxID">9</int> 1.196 + </object> 1.197 + <object class="IBClassDescriber" key="IBDocument.Classes"> 1.198 + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> 1.199 + <bool key="EncodedWithXMLCoder">YES</bool> 1.200 + <object class="IBPartialClassDescription"> 1.201 + <string key="className">EAGLView</string> 1.202 + <string key="superclassName">UIView</string> 1.203 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 1.204 + <string key="majorKey">IBProjectSource</string> 1.205 + <string key="minorKey">Classes/EAGLView.h</string> 1.206 + </object> 1.207 + </object> 1.208 + <object class="IBPartialClassDescription"> 1.209 + <string key="className">istereoAppDelegate</string> 1.210 + <string key="superclassName">NSObject</string> 1.211 + <object class="NSMutableDictionary" key="outlets"> 1.212 + <bool key="EncodedWithXMLCoder">YES</bool> 1.213 + <object class="NSArray" key="dict.sortedKeys"> 1.214 + <bool key="EncodedWithXMLCoder">YES</bool> 1.215 + <string>glView</string> 1.216 + <string>window</string> 1.217 + </object> 1.218 + <object class="NSMutableArray" key="dict.values"> 1.219 + <bool key="EncodedWithXMLCoder">YES</bool> 1.220 + <string>EAGLView</string> 1.221 + <string>UIWindow</string> 1.222 + </object> 1.223 + </object> 1.224 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 1.225 + <string key="majorKey">IBProjectSource</string> 1.226 + <string key="minorKey">Classes/istereoAppDelegate.h</string> 1.227 + </object> 1.228 + </object> 1.229 + </object> 1.230 + </object> 1.231 + <int key="IBDocument.localizationMode">0</int> 1.232 + <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> 1.233 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> 1.234 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> 1.235 + <integer value="3100" key="NS.object.0"/> 1.236 + </object> 1.237 + <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> 1.238 + <string key="IBDocument.LastKnownRelativeProjectPath">istereo.xcodeproj</string> 1.239 + <int key="IBDocument.defaultPropertyAccessControl">3</int> 1.240 + <string key="IBCocoaTouchPluginVersion">81</string> 1.241 + </data> 1.242 +</archive>
2.1 --- a/istereo.xcodeproj/project.pbxproj Fri Sep 09 00:31:54 2011 +0300 2.2 +++ b/istereo.xcodeproj/project.pbxproj Fri Sep 09 10:03:42 2011 +0300 2.3 @@ -7,6 +7,8 @@ 2.4 objects = { 2.5 2.6 /* Begin PBXBuildFile section */ 2.7 + 063C67DA1419CBFF00BA388B /* ui.m in Sources */ = {isa = PBXBuildFile; fileRef = 063C67D81419CBFF00BA388B /* ui.m */; }; 2.8 + 063C67DB1419CBFF00BA388B /* ui.xib in Resources */ = {isa = PBXBuildFile; fileRef = 063C67D91419CBFF00BA388B /* ui.xib */; }; 2.9 069BEBC414188B070043D0BB /* conv.c in Sources */ = {isa = PBXBuildFile; fileRef = 069BEBBB14188B070043D0BB /* conv.c */; }; 2.10 069BEBC514188B070043D0BB /* file_jpeg.c in Sources */ = {isa = PBXBuildFile; fileRef = 069BEBBC14188B070043D0BB /* file_jpeg.c */; }; 2.11 069BEBC614188B070043D0BB /* file_png.c in Sources */ = {isa = PBXBuildFile; fileRef = 069BEBBD14188B070043D0BB /* file_png.c */; }; 2.12 @@ -111,7 +113,6 @@ 2.13 069BED821418D1E90043D0BB /* ES2Renderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEB61418314000EF1378 /* ES2Renderer.m */; }; 2.14 06D8CEC71418314000EF1378 /* cam.c in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEAE1418314000EF1378 /* cam.c */; }; 2.15 06D8CEC81418314000EF1378 /* EAGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEB21418314000EF1378 /* EAGLView.m */; }; 2.16 - 06D8CEC91418314000EF1378 /* ES1Renderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEB41418314000EF1378 /* ES1Renderer.m */; }; 2.17 06D8CECB1418314000EF1378 /* istereo.c in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEB81418314000EF1378 /* istereo.c */; }; 2.18 06D8CECD1418314000EF1378 /* istereoAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEBC1418314000EF1378 /* istereoAppDelegate.m */; }; 2.19 06D8CECE1418314000EF1378 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 06D8CEBD1418314000EF1378 /* main.m */; }; 2.20 @@ -130,6 +131,9 @@ 2.21 /* End PBXBuildFile section */ 2.22 2.23 /* Begin PBXFileReference section */ 2.24 + 063C67D71419CBFF00BA388B /* ui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ui.h; path = src/ui.h; sourceTree = "<group>"; }; 2.25 + 063C67D81419CBFF00BA388B /* ui.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ui.m; path = src/ui.m; sourceTree = "<group>"; }; 2.26 + 063C67D91419CBFF00BA388B /* ui.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ui.xib; path = src/ui.xib; sourceTree = "<group>"; }; 2.27 069BEBBB14188B070043D0BB /* conv.c */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.c; name = conv.c; path = libs/imago2/conv.c; sourceTree = "<group>"; }; 2.28 069BEBBC14188B070043D0BB /* file_jpeg.c */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.c; name = file_jpeg.c; path = libs/imago2/file_jpeg.c; sourceTree = "<group>"; }; 2.29 069BEBBD14188B070043D0BB /* file_png.c */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.c; name = file_png.c; path = libs/imago2/file_png.c; sourceTree = "<group>"; }; 2.30 @@ -272,8 +276,6 @@ 2.31 06D8CEB01418314000EF1378 /* config.h */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.h; name = config.h; path = src/config.h; sourceTree = "<group>"; }; 2.32 06D8CEB11418314000EF1378 /* EAGLView.h */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.h; name = EAGLView.h; path = src/EAGLView.h; sourceTree = "<group>"; }; 2.33 06D8CEB21418314000EF1378 /* EAGLView.m */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.objc; name = EAGLView.m; path = src/EAGLView.m; sourceTree = "<group>"; }; 2.34 - 06D8CEB31418314000EF1378 /* ES1Renderer.h */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.h; name = ES1Renderer.h; path = src/ES1Renderer.h; sourceTree = "<group>"; }; 2.35 - 06D8CEB41418314000EF1378 /* ES1Renderer.m */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.objc; name = ES1Renderer.m; path = src/ES1Renderer.m; sourceTree = "<group>"; }; 2.36 06D8CEB51418314000EF1378 /* ES2Renderer.h */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.h; name = ES2Renderer.h; path = src/ES2Renderer.h; sourceTree = "<group>"; }; 2.37 06D8CEB61418314000EF1378 /* ES2Renderer.m */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.objc; name = ES2Renderer.m; path = src/ES2Renderer.m; sourceTree = "<group>"; }; 2.38 06D8CEB71418314000EF1378 /* ESRenderer.h */ = {isa = PBXFileReference; fileEncoding = 0; lastKnownFileType = sourcecode.c.h; name = ESRenderer.h; path = src/ESRenderer.h; sourceTree = "<group>"; }; 2.39 @@ -318,6 +320,16 @@ 2.40 /* End PBXFrameworksBuildPhase section */ 2.41 2.42 /* Begin PBXGroup section */ 2.43 + 063C67D61419CBD000BA388B /* ui */ = { 2.44 + isa = PBXGroup; 2.45 + children = ( 2.46 + 063C67D71419CBFF00BA388B /* ui.h */, 2.47 + 063C67D81419CBFF00BA388B /* ui.m */, 2.48 + 063C67D91419CBFF00BA388B /* ui.xib */, 2.49 + ); 2.50 + name = ui; 2.51 + sourceTree = "<group>"; 2.52 + }; 2.53 069BEBB514188ACB0043D0BB /* libs */ = { 2.54 isa = PBXGroup; 2.55 children = ( 2.56 @@ -497,6 +509,7 @@ 2.57 06D8CEAC1418312500EF1378 /* src */ = { 2.58 isa = PBXGroup; 2.59 children = ( 2.60 + 063C67D61419CBD000BA388B /* ui */, 2.61 06D8CED31418314700EF1378 /* gay */, 2.62 06D8CEAE1418314000EF1378 /* cam.c */, 2.63 06D8CEAF1418314000EF1378 /* cam.h */, 2.64 @@ -537,8 +550,6 @@ 2.65 06D8CEBC1418314000EF1378 /* istereoAppDelegate.m */, 2.66 06D8CEB11418314000EF1378 /* EAGLView.h */, 2.67 06D8CEB21418314000EF1378 /* EAGLView.m */, 2.68 - 06D8CEB31418314000EF1378 /* ES1Renderer.h */, 2.69 - 06D8CEB41418314000EF1378 /* ES1Renderer.m */, 2.70 06D8CEB51418314000EF1378 /* ES2Renderer.h */, 2.71 06D8CEB61418314000EF1378 /* ES2Renderer.m */, 2.72 06D8CEB71418314000EF1378 /* ESRenderer.h */, 2.73 @@ -659,6 +670,7 @@ 2.74 069BECA614188BC60043D0BB /* stonewall.jpg in Resources */, 2.75 069BECA714188BC60043D0BB /* text.png in Resources */, 2.76 069BECA814188BC60043D0BB /* tiles.jpg in Resources */, 2.77 + 063C67DB1419CBFF00BA388B /* ui.xib in Resources */, 2.78 ); 2.79 runOnlyForDeploymentPostprocessing = 0; 2.80 }; 2.81 @@ -687,7 +699,6 @@ 2.82 files = ( 2.83 06D8CEC71418314000EF1378 /* cam.c in Sources */, 2.84 06D8CEC81418314000EF1378 /* EAGLView.m in Sources */, 2.85 - 06D8CEC91418314000EF1378 /* ES1Renderer.m in Sources */, 2.86 06D8CECB1418314000EF1378 /* istereo.c in Sources */, 2.87 06D8CECD1418314000EF1378 /* istereoAppDelegate.m in Sources */, 2.88 06D8CECE1418314000EF1378 /* main.m in Sources */, 2.89 @@ -784,6 +795,7 @@ 2.90 069BEC9714188B530043D0BB /* pngwtran.c in Sources */, 2.91 069BEC9814188B530043D0BB /* pngwutil.c in Sources */, 2.92 069BED821418D1E90043D0BB /* ES2Renderer.m in Sources */, 2.93 + 063C67DA1419CBFF00BA388B /* ui.m in Sources */, 2.94 ); 2.95 runOnlyForDeploymentPostprocessing = 0; 2.96 };
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/istereoViewController.xib Fri Sep 09 10:03:42 2011 +0300 3.3 @@ -0,0 +1,389 @@ 3.4 +<?xml version="1.0" encoding="UTF-8"?> 3.5 +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> 3.6 + <data> 3.7 + <int key="IBDocument.SystemTarget">1024</int> 3.8 + <string key="IBDocument.SystemVersion">10F569</string> 3.9 + <string key="IBDocument.InterfaceBuilderVersion">800</string> 3.10 + <string key="IBDocument.AppKitVersion">1038.29</string> 3.11 + <string key="IBDocument.HIToolboxVersion">461.00</string> 3.12 + <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> 3.13 + <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 3.14 + <string key="NS.object.0">121</string> 3.15 + </object> 3.16 + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> 3.17 + <bool key="EncodedWithXMLCoder">YES</bool> 3.18 + </object> 3.19 + <object class="NSArray" key="IBDocument.PluginDependencies"> 3.20 + <bool key="EncodedWithXMLCoder">YES</bool> 3.21 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 3.22 + </object> 3.23 + <object class="NSMutableDictionary" key="IBDocument.Metadata"> 3.24 + <bool key="EncodedWithXMLCoder">YES</bool> 3.25 + <object class="NSArray" key="dict.sortedKeys" id="0"> 3.26 + <bool key="EncodedWithXMLCoder">YES</bool> 3.27 + </object> 3.28 + <object class="NSMutableArray" key="dict.values"> 3.29 + <bool key="EncodedWithXMLCoder">YES</bool> 3.30 + </object> 3.31 + </object> 3.32 + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> 3.33 + <bool key="EncodedWithXMLCoder">YES</bool> 3.34 + <object class="IBProxyObject" id="841351856"> 3.35 + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> 3.36 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 3.37 + </object> 3.38 + <object class="IBProxyObject" id="371349661"> 3.39 + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> 3.40 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 3.41 + </object> 3.42 + <object class="IBUIView" id="184854543"> 3.43 + <nil key="NSNextResponder"/> 3.44 + <int key="NSvFlags">274</int> 3.45 + <string key="NSFrameSize">{320, 460}</string> 3.46 + <object class="NSColor" key="IBUIBackgroundColor"> 3.47 + <int key="NSColorSpace">3</int> 3.48 + <bytes key="NSWhite">MQA</bytes> 3.49 + <object class="NSColorSpace" key="NSCustomColorSpace"> 3.50 + <int key="NSID">2</int> 3.51 + </object> 3.52 + </object> 3.53 + <bool key="IBUIClearsContextBeforeDrawing">NO</bool> 3.54 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 3.55 + </object> 3.56 + </object> 3.57 + <object class="IBObjectContainer" key="IBDocument.Objects"> 3.58 + <object class="NSMutableArray" key="connectionRecords"> 3.59 + <bool key="EncodedWithXMLCoder">YES</bool> 3.60 + <object class="IBConnectionRecord"> 3.61 + <object class="IBCocoaTouchOutletConnection" key="connection"> 3.62 + <string key="label">view</string> 3.63 + <reference key="source" ref="841351856"/> 3.64 + <reference key="destination" ref="184854543"/> 3.65 + </object> 3.66 + <int key="connectionID">3</int> 3.67 + </object> 3.68 + </object> 3.69 + <object class="IBMutableOrderedSet" key="objectRecords"> 3.70 + <object class="NSArray" key="orderedObjects"> 3.71 + <bool key="EncodedWithXMLCoder">YES</bool> 3.72 + <object class="IBObjectRecord"> 3.73 + <int key="objectID">0</int> 3.74 + <reference key="object" ref="0"/> 3.75 + <reference key="children" ref="1000"/> 3.76 + <nil key="parent"/> 3.77 + </object> 3.78 + <object class="IBObjectRecord"> 3.79 + <int key="objectID">-1</int> 3.80 + <reference key="object" ref="841351856"/> 3.81 + <reference key="parent" ref="0"/> 3.82 + <string key="objectName">File's Owner</string> 3.83 + </object> 3.84 + <object class="IBObjectRecord"> 3.85 + <int key="objectID">-2</int> 3.86 + <reference key="object" ref="371349661"/> 3.87 + <reference key="parent" ref="0"/> 3.88 + </object> 3.89 + <object class="IBObjectRecord"> 3.90 + <int key="objectID">2</int> 3.91 + <reference key="object" ref="184854543"/> 3.92 + <reference key="parent" ref="0"/> 3.93 + </object> 3.94 + </object> 3.95 + </object> 3.96 + <object class="NSMutableDictionary" key="flattenedProperties"> 3.97 + <bool key="EncodedWithXMLCoder">YES</bool> 3.98 + <object class="NSArray" key="dict.sortedKeys"> 3.99 + <bool key="EncodedWithXMLCoder">YES</bool> 3.100 + <string>-1.CustomClassName</string> 3.101 + <string>-2.CustomClassName</string> 3.102 + <string>2.CustomClassName</string> 3.103 + <string>2.IBEditorWindowLastContentRect</string> 3.104 + <string>2.IBPluginDependency</string> 3.105 + </object> 3.106 + <object class="NSMutableArray" key="dict.values"> 3.107 + <bool key="EncodedWithXMLCoder">YES</bool> 3.108 + <string>istereoViewController</string> 3.109 + <string>UIResponder</string> 3.110 + <string>EAGLView</string> 3.111 + <string>{{401, 662}, {320, 460}}</string> 3.112 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 3.113 + </object> 3.114 + </object> 3.115 + <object class="NSMutableDictionary" key="unlocalizedProperties"> 3.116 + <bool key="EncodedWithXMLCoder">YES</bool> 3.117 + <reference key="dict.sortedKeys" ref="0"/> 3.118 + <object class="NSMutableArray" key="dict.values"> 3.119 + <bool key="EncodedWithXMLCoder">YES</bool> 3.120 + </object> 3.121 + </object> 3.122 + <nil key="activeLocalization"/> 3.123 + <object class="NSMutableDictionary" key="localizations"> 3.124 + <bool key="EncodedWithXMLCoder">YES</bool> 3.125 + <reference key="dict.sortedKeys" ref="0"/> 3.126 + <object class="NSMutableArray" key="dict.values"> 3.127 + <bool key="EncodedWithXMLCoder">YES</bool> 3.128 + </object> 3.129 + </object> 3.130 + <nil key="sourceID"/> 3.131 + <int key="maxID">4</int> 3.132 + </object> 3.133 + <object class="IBClassDescriber" key="IBDocument.Classes"> 3.134 + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> 3.135 + <bool key="EncodedWithXMLCoder">YES</bool> 3.136 + <object class="IBPartialClassDescription"> 3.137 + <string key="className">EAGLView</string> 3.138 + <string key="superclassName">UIView</string> 3.139 + <object class="NSMutableDictionary" key="actions"> 3.140 + <string key="NS.key.0">drawView:</string> 3.141 + <string key="NS.object.0">id</string> 3.142 + </object> 3.143 + <object class="NSMutableDictionary" key="actionInfosByName"> 3.144 + <string key="NS.key.0">drawView:</string> 3.145 + <object class="IBActionInfo" key="NS.object.0"> 3.146 + <string key="name">drawView:</string> 3.147 + <string key="candidateClassName">id</string> 3.148 + </object> 3.149 + </object> 3.150 + <object class="NSMutableDictionary" key="outlets"> 3.151 + <bool key="EncodedWithXMLCoder">YES</bool> 3.152 + <object class="NSArray" key="dict.sortedKeys"> 3.153 + <bool key="EncodedWithXMLCoder">YES</bool> 3.154 + <string>displayLink</string> 3.155 + <string>renderer</string> 3.156 + </object> 3.157 + <object class="NSMutableArray" key="dict.values"> 3.158 + <bool key="EncodedWithXMLCoder">YES</bool> 3.159 + <string>id</string> 3.160 + <string>id</string> 3.161 + </object> 3.162 + </object> 3.163 + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> 3.164 + <bool key="EncodedWithXMLCoder">YES</bool> 3.165 + <object class="NSArray" key="dict.sortedKeys"> 3.166 + <bool key="EncodedWithXMLCoder">YES</bool> 3.167 + <string>displayLink</string> 3.168 + <string>renderer</string> 3.169 + </object> 3.170 + <object class="NSMutableArray" key="dict.values"> 3.171 + <bool key="EncodedWithXMLCoder">YES</bool> 3.172 + <object class="IBToOneOutletInfo"> 3.173 + <string key="name">displayLink</string> 3.174 + <string key="candidateClassName">id</string> 3.175 + </object> 3.176 + <object class="IBToOneOutletInfo"> 3.177 + <string key="name">renderer</string> 3.178 + <string key="candidateClassName">id</string> 3.179 + </object> 3.180 + </object> 3.181 + </object> 3.182 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.183 + <string key="majorKey">IBProjectSource</string> 3.184 + <string key="minorKey">Classes/EAGLView.h</string> 3.185 + </object> 3.186 + </object> 3.187 + <object class="IBPartialClassDescription"> 3.188 + <string key="className">istereoViewController</string> 3.189 + <string key="superclassName">UIViewController</string> 3.190 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.191 + <string key="majorKey">IBUserSource</string> 3.192 + <string key="minorKey"/> 3.193 + </object> 3.194 + </object> 3.195 + </object> 3.196 + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> 3.197 + <bool key="EncodedWithXMLCoder">YES</bool> 3.198 + <object class="IBPartialClassDescription"> 3.199 + <string key="className">NSObject</string> 3.200 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.201 + <string key="majorKey">IBFrameworkSource</string> 3.202 + <string key="minorKey">Foundation.framework/Headers/NSError.h</string> 3.203 + </object> 3.204 + </object> 3.205 + <object class="IBPartialClassDescription"> 3.206 + <string key="className">NSObject</string> 3.207 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.208 + <string key="majorKey">IBFrameworkSource</string> 3.209 + <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string> 3.210 + </object> 3.211 + </object> 3.212 + <object class="IBPartialClassDescription"> 3.213 + <string key="className">NSObject</string> 3.214 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.215 + <string key="majorKey">IBFrameworkSource</string> 3.216 + <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string> 3.217 + </object> 3.218 + </object> 3.219 + <object class="IBPartialClassDescription"> 3.220 + <string key="className">NSObject</string> 3.221 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.222 + <string key="majorKey">IBFrameworkSource</string> 3.223 + <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string> 3.224 + </object> 3.225 + </object> 3.226 + <object class="IBPartialClassDescription"> 3.227 + <string key="className">NSObject</string> 3.228 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.229 + <string key="majorKey">IBFrameworkSource</string> 3.230 + <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string> 3.231 + </object> 3.232 + </object> 3.233 + <object class="IBPartialClassDescription"> 3.234 + <string key="className">NSObject</string> 3.235 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.236 + <string key="majorKey">IBFrameworkSource</string> 3.237 + <string key="minorKey">Foundation.framework/Headers/NSObject.h</string> 3.238 + </object> 3.239 + </object> 3.240 + <object class="IBPartialClassDescription"> 3.241 + <string key="className">NSObject</string> 3.242 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.243 + <string key="majorKey">IBFrameworkSource</string> 3.244 + <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string> 3.245 + </object> 3.246 + </object> 3.247 + <object class="IBPartialClassDescription"> 3.248 + <string key="className">NSObject</string> 3.249 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.250 + <string key="majorKey">IBFrameworkSource</string> 3.251 + <string key="minorKey">Foundation.framework/Headers/NSThread.h</string> 3.252 + </object> 3.253 + </object> 3.254 + <object class="IBPartialClassDescription"> 3.255 + <string key="className">NSObject</string> 3.256 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.257 + <string key="majorKey">IBFrameworkSource</string> 3.258 + <string key="minorKey">Foundation.framework/Headers/NSURL.h</string> 3.259 + </object> 3.260 + </object> 3.261 + <object class="IBPartialClassDescription"> 3.262 + <string key="className">NSObject</string> 3.263 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.264 + <string key="majorKey">IBFrameworkSource</string> 3.265 + <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string> 3.266 + </object> 3.267 + </object> 3.268 + <object class="IBPartialClassDescription"> 3.269 + <string key="className">NSObject</string> 3.270 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.271 + <string key="majorKey">IBFrameworkSource</string> 3.272 + <string key="minorKey">QuartzCore.framework/Headers/CAAnimation.h</string> 3.273 + </object> 3.274 + </object> 3.275 + <object class="IBPartialClassDescription"> 3.276 + <string key="className">NSObject</string> 3.277 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.278 + <string key="majorKey">IBFrameworkSource</string> 3.279 + <string key="minorKey">QuartzCore.framework/Headers/CALayer.h</string> 3.280 + </object> 3.281 + </object> 3.282 + <object class="IBPartialClassDescription"> 3.283 + <string key="className">NSObject</string> 3.284 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.285 + <string key="majorKey">IBFrameworkSource</string> 3.286 + <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string> 3.287 + </object> 3.288 + </object> 3.289 + <object class="IBPartialClassDescription"> 3.290 + <string key="className">NSObject</string> 3.291 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.292 + <string key="majorKey">IBFrameworkSource</string> 3.293 + <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string> 3.294 + </object> 3.295 + </object> 3.296 + <object class="IBPartialClassDescription"> 3.297 + <string key="className">NSObject</string> 3.298 + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="742078473"> 3.299 + <string key="majorKey">IBFrameworkSource</string> 3.300 + <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string> 3.301 + </object> 3.302 + </object> 3.303 + <object class="IBPartialClassDescription"> 3.304 + <string key="className">UIResponder</string> 3.305 + <string key="superclassName">NSObject</string> 3.306 + <reference key="sourceIdentifier" ref="742078473"/> 3.307 + </object> 3.308 + <object class="IBPartialClassDescription"> 3.309 + <string key="className">UISearchBar</string> 3.310 + <string key="superclassName">UIView</string> 3.311 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.312 + <string key="majorKey">IBFrameworkSource</string> 3.313 + <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string> 3.314 + </object> 3.315 + </object> 3.316 + <object class="IBPartialClassDescription"> 3.317 + <string key="className">UISearchDisplayController</string> 3.318 + <string key="superclassName">NSObject</string> 3.319 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.320 + <string key="majorKey">IBFrameworkSource</string> 3.321 + <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string> 3.322 + </object> 3.323 + </object> 3.324 + <object class="IBPartialClassDescription"> 3.325 + <string key="className">UIView</string> 3.326 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.327 + <string key="majorKey">IBFrameworkSource</string> 3.328 + <string key="minorKey">UIKit.framework/Headers/UITextField.h</string> 3.329 + </object> 3.330 + </object> 3.331 + <object class="IBPartialClassDescription"> 3.332 + <string key="className">UIView</string> 3.333 + <string key="superclassName">UIResponder</string> 3.334 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.335 + <string key="majorKey">IBFrameworkSource</string> 3.336 + <string key="minorKey">UIKit.framework/Headers/UIView.h</string> 3.337 + </object> 3.338 + </object> 3.339 + <object class="IBPartialClassDescription"> 3.340 + <string key="className">UIViewController</string> 3.341 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.342 + <string key="majorKey">IBFrameworkSource</string> 3.343 + <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string> 3.344 + </object> 3.345 + </object> 3.346 + <object class="IBPartialClassDescription"> 3.347 + <string key="className">UIViewController</string> 3.348 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.349 + <string key="majorKey">IBFrameworkSource</string> 3.350 + <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string> 3.351 + </object> 3.352 + </object> 3.353 + <object class="IBPartialClassDescription"> 3.354 + <string key="className">UIViewController</string> 3.355 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.356 + <string key="majorKey">IBFrameworkSource</string> 3.357 + <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string> 3.358 + </object> 3.359 + </object> 3.360 + <object class="IBPartialClassDescription"> 3.361 + <string key="className">UIViewController</string> 3.362 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.363 + <string key="majorKey">IBFrameworkSource</string> 3.364 + <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string> 3.365 + </object> 3.366 + </object> 3.367 + <object class="IBPartialClassDescription"> 3.368 + <string key="className">UIViewController</string> 3.369 + <string key="superclassName">UIResponder</string> 3.370 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 3.371 + <string key="majorKey">IBFrameworkSource</string> 3.372 + <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string> 3.373 + </object> 3.374 + </object> 3.375 + </object> 3.376 + </object> 3.377 + <int key="IBDocument.localizationMode">0</int> 3.378 + <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> 3.379 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> 3.380 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string> 3.381 + <integer value="1024" key="NS.object.0"/> 3.382 + </object> 3.383 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> 3.384 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> 3.385 + <integer value="3100" key="NS.object.0"/> 3.386 + </object> 3.387 + <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> 3.388 + <string key="IBDocument.LastKnownRelativeProjectPath">Untitled.xcodeproj</string> 3.389 + <int key="IBDocument.defaultPropertyAccessControl">3</int> 3.390 + <string key="IBCocoaTouchPluginVersion">121</string> 3.391 + </data> 3.392 +</archive>
4.1 --- a/src/EAGLView.h Fri Sep 09 00:31:54 2011 +0300 4.2 +++ b/src/EAGLView.h Fri Sep 09 10:03:42 2011 +0300 4.3 @@ -1,33 +1,30 @@ 4.4 -// 4.5 -// EAGLView.h 4.6 -// istereo 4.7 -// 4.8 -// Created by nuclear on 9/6/11. 4.9 -// Copyright __MyCompanyName__ 2011. All rights reserved. 4.10 -// 4.11 - 4.12 #import <UIKit/UIKit.h> 4.13 #import <QuartzCore/QuartzCore.h> 4.14 4.15 #import "ESRenderer.h" 4.16 4.17 + 4.18 +void show_options(void); 4.19 +void hide_options(void); 4.20 + 4.21 + 4.22 // This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass. 4.23 // The view content is basically an EAGL surface you render your OpenGL scene into. 4.24 // Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel. 4.25 @interface EAGLView : UIView 4.26 -{ 4.27 +{ 4.28 @private 4.29 - id <ESRenderer> renderer; 4.30 + id <ESRenderer> renderer; 4.31 4.32 - BOOL animating; 4.33 - BOOL displayLinkSupported; 4.34 - NSInteger animationFrameInterval; 4.35 - // Use of the CADisplayLink class is the preferred method for controlling your animation timing. 4.36 - // CADisplayLink will link to the main display and fire every vsync when added to a given run-loop. 4.37 - // The NSTimer class is used only as fallback when running on a pre 3.1 device where CADisplayLink 4.38 - // isn't available. 4.39 - id displayLink; 4.40 - NSTimer *animationTimer; 4.41 + BOOL animating; 4.42 + BOOL displayLinkSupported; 4.43 + NSInteger animationFrameInterval; 4.44 + // Use of the CADisplayLink class is the preferred method for controlling your animation timing. 4.45 + // CADisplayLink will link to the main display and fire every vsync when added to a given run-loop. 4.46 + // The NSTimer class is used only as fallback when running on a pre 3.1 device where CADisplayLink 4.47 + // isn't available. 4.48 + id displayLink; 4.49 + NSTimer *animationTimer; 4.50 } 4.51 4.52 @property (readonly, nonatomic, getter=isAnimating) BOOL animating;
5.1 --- a/src/EAGLView.m Fri Sep 09 00:31:54 2011 +0300 5.2 +++ b/src/EAGLView.m Fri Sep 09 10:03:42 2011 +0300 5.3 @@ -1,15 +1,10 @@ 5.4 -// 5.5 -// EAGLView.m 5.6 -// istereo 5.7 -// 5.8 -// Created by nuclear on 9/6/11. 5.9 -// Copyright __MyCompanyName__ 2011. All rights reserved. 5.10 -// 5.11 +#import "EAGLView.h" 5.12 +#import "ES2Renderer.h" 5.13 +#import "ui.h" 5.14 5.15 -#import "EAGLView.h" 5.16 5.17 -#import "ES1Renderer.h" 5.18 -#import "ES2Renderer.h" 5.19 +static UI *optgui; 5.20 + 5.21 5.22 @implementation EAGLView 5.23 5.24 @@ -19,129 +14,127 @@ 5.25 // You must implement this method 5.26 + (Class)layerClass 5.27 { 5.28 - return [CAEAGLLayer class]; 5.29 + return [CAEAGLLayer class]; 5.30 } 5.31 5.32 //The EAGL view is stored in the nib file. When it's unarchived it's sent -initWithCoder: 5.33 - (id)initWithCoder:(NSCoder*)coder 5.34 { 5.35 - if ((self = [super initWithCoder:coder])) 5.36 - { 5.37 - // Get the layer 5.38 - CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer; 5.39 + if ((self = [super initWithCoder:coder])) 5.40 + { 5.41 + // Get the layer 5.42 + CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer; 5.43 5.44 //self.contentScaleFactor = 2.0; 5.45 5.46 - eaglLayer.opaque = TRUE; 5.47 - eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys: 5.48 - [NSNumber numberWithBool:FALSE], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat, nil]; 5.49 + eaglLayer.opaque = TRUE; 5.50 + eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys: 5.51 + [NSNumber numberWithBool:FALSE], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat, nil]; 5.52 5.53 - renderer = [[ES2Renderer alloc] init]; 5.54 + renderer = [[ES2Renderer alloc] init]; 5.55 + if (!renderer) { 5.56 + [self release]; 5.57 + return nil; 5.58 + } 5.59 5.60 - if (!renderer) 5.61 - { 5.62 - renderer = [[ES1Renderer alloc] init]; 5.63 + animating = FALSE; 5.64 + displayLinkSupported = FALSE; 5.65 + animationFrameInterval = 1; 5.66 + displayLink = nil; 5.67 + animationTimer = nil; 5.68 5.69 - if (!renderer) 5.70 - { 5.71 - [self release]; 5.72 - return nil; 5.73 - } 5.74 - } 5.75 - 5.76 - animating = FALSE; 5.77 - displayLinkSupported = FALSE; 5.78 - animationFrameInterval = 1; 5.79 - displayLink = nil; 5.80 - animationTimer = nil; 5.81 - 5.82 - // A system version of 3.1 or greater is required to use CADisplayLink. The NSTimer 5.83 - // class is used as fallback when it isn't available. 5.84 - NSString *reqSysVer = @"3.1"; 5.85 - NSString *currSysVer = [[UIDevice currentDevice] systemVersion]; 5.86 - if ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending) 5.87 - displayLinkSupported = TRUE; 5.88 + // A system version of 3.1 or greater is required to use CADisplayLink. The NSTimer 5.89 + // class is used as fallback when it isn't available. 5.90 + NSString *reqSysVer = @"3.1"; 5.91 + NSString *currSysVer = [[UIDevice currentDevice] systemVersion]; 5.92 + if ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending) 5.93 + displayLinkSupported = TRUE; 5.94 5.95 self.multipleTouchEnabled = 1; 5.96 - } 5.97 5.98 - return self; 5.99 + // load the options gui 5.100 + optgui = [[UI alloc] initWithNibName:@"ui" bundle: [NSBundle mainBundle]]; 5.101 + hide_options(); 5.102 + [self addSubview: optgui.view]; 5.103 + } 5.104 + 5.105 + return self; 5.106 } 5.107 5.108 - (void)drawView:(id)sender 5.109 { 5.110 - [renderer render]; 5.111 + [renderer render]; 5.112 } 5.113 5.114 - (void)layoutSubviews 5.115 { 5.116 - [renderer resizeFromLayer:(CAEAGLLayer*)self.layer]; 5.117 - [self drawView:nil]; 5.118 + [renderer resizeFromLayer:(CAEAGLLayer*)self.layer]; 5.119 + [self drawView:nil]; 5.120 } 5.121 5.122 - (NSInteger)animationFrameInterval 5.123 { 5.124 - return animationFrameInterval; 5.125 + return animationFrameInterval; 5.126 } 5.127 5.128 - (void)setAnimationFrameInterval:(NSInteger)frameInterval 5.129 { 5.130 - // Frame interval defines how many display frames must pass between each time the 5.131 - // display link fires. The display link will only fire 30 times a second when the 5.132 - // frame internal is two on a display that refreshes 60 times a second. The default 5.133 - // frame interval setting of one will fire 60 times a second when the display refreshes 5.134 - // at 60 times a second. A frame interval setting of less than one results in undefined 5.135 - // behavior. 5.136 - if (frameInterval >= 1) 5.137 - { 5.138 - animationFrameInterval = frameInterval; 5.139 + // Frame interval defines how many display frames must pass between each time the 5.140 + // display link fires. The display link will only fire 30 times a second when the 5.141 + // frame internal is two on a display that refreshes 60 times a second. The default 5.142 + // frame interval setting of one will fire 60 times a second when the display refreshes 5.143 + // at 60 times a second. A frame interval setting of less than one results in undefined 5.144 + // behavior. 5.145 + if (frameInterval >= 1) 5.146 + { 5.147 + animationFrameInterval = frameInterval; 5.148 5.149 - if (animating) 5.150 - { 5.151 - [self stopAnimation]; 5.152 - [self startAnimation]; 5.153 - } 5.154 - } 5.155 + if (animating) 5.156 + { 5.157 + [self stopAnimation]; 5.158 + [self startAnimation]; 5.159 + } 5.160 + } 5.161 } 5.162 5.163 - (void)startAnimation 5.164 { 5.165 - if (!animating) 5.166 - { 5.167 - if (displayLinkSupported) 5.168 - { 5.169 - // CADisplayLink is API new to iPhone SDK 3.1. Compiling against earlier versions will result in a warning, but can be dismissed 5.170 - // if the system version runtime check for CADisplayLink exists in -initWithCoder:. The runtime check ensures this code will 5.171 - // not be called in system versions earlier than 3.1. 5.172 + if (!animating) 5.173 + { 5.174 + if (displayLinkSupported) 5.175 + { 5.176 + // CADisplayLink is API new to iPhone SDK 3.1. Compiling against earlier versions will result in a warning, but can be dismissed 5.177 + // if the system version runtime check for CADisplayLink exists in -initWithCoder:. The runtime check ensures this code will 5.178 + // not be called in system versions earlier than 3.1. 5.179 5.180 - displayLink = [NSClassFromString(@"CADisplayLink") displayLinkWithTarget:self selector:@selector(drawView:)]; 5.181 - [displayLink setFrameInterval:animationFrameInterval]; 5.182 - [displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; 5.183 - } 5.184 - else 5.185 - animationTimer = [NSTimer scheduledTimerWithTimeInterval:(NSTimeInterval)((1.0 / 60.0) * animationFrameInterval) target:self selector:@selector(drawView:) userInfo:nil repeats:TRUE]; 5.186 + displayLink = [NSClassFromString(@"CADisplayLink") displayLinkWithTarget:self selector:@selector(drawView:)]; 5.187 + [displayLink setFrameInterval:animationFrameInterval]; 5.188 + [displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; 5.189 + } 5.190 + else 5.191 + animationTimer = [NSTimer scheduledTimerWithTimeInterval:(NSTimeInterval)((1.0 / 60.0) * animationFrameInterval) target:self selector:@selector(drawView:) userInfo:nil repeats:TRUE]; 5.192 5.193 - animating = TRUE; 5.194 - } 5.195 + animating = TRUE; 5.196 + } 5.197 } 5.198 5.199 - (void)stopAnimation 5.200 { 5.201 - if (animating) 5.202 - { 5.203 - if (displayLinkSupported) 5.204 - { 5.205 - [displayLink invalidate]; 5.206 - displayLink = nil; 5.207 - } 5.208 - else 5.209 - { 5.210 - [animationTimer invalidate]; 5.211 - animationTimer = nil; 5.212 - } 5.213 + if (animating) 5.214 + { 5.215 + if (displayLinkSupported) 5.216 + { 5.217 + [displayLink invalidate]; 5.218 + displayLink = nil; 5.219 + } 5.220 + else 5.221 + { 5.222 + [animationTimer invalidate]; 5.223 + animationTimer = nil; 5.224 + } 5.225 5.226 - animating = FALSE; 5.227 - } 5.228 + animating = FALSE; 5.229 + } 5.230 } 5.231 5.232 static int touch_active; 5.233 @@ -165,15 +158,27 @@ 5.234 int dy = end_touch.y - start_touch.y; 5.235 5.236 if(dx * dx + dy * dy < 30) { 5.237 - use_bump = !use_bump; 5.238 + show_options(); 5.239 } 5.240 } 5.241 5.242 - (void)dealloc 5.243 { 5.244 - [renderer release]; 5.245 + [renderer release]; 5.246 5.247 - [super dealloc]; 5.248 + [super dealloc]; 5.249 } 5.250 5.251 @end 5.252 + 5.253 +void show_options(void) 5.254 +{ 5.255 + assert(optgui); 5.256 + optgui.view.hidden = NO; 5.257 +} 5.258 + 5.259 +void hide_options(void) 5.260 +{ 5.261 + assert(optgui); 5.262 + optgui.view.hidden = YES; 5.263 +}
6.1 --- a/src/ES1Renderer.h Fri Sep 09 00:31:54 2011 +0300 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,30 +0,0 @@ 6.4 -// 6.5 -// ES1Renderer.h 6.6 -// istereo 6.7 -// 6.8 -// Created by nuclear on 9/6/11. 6.9 -// Copyright __MyCompanyName__ 2011. All rights reserved. 6.10 -// 6.11 - 6.12 -#import "ESRenderer.h" 6.13 - 6.14 -#import <OpenGLES/ES1/gl.h> 6.15 -#import <OpenGLES/ES1/glext.h> 6.16 - 6.17 -@interface ES1Renderer : NSObject <ESRenderer> 6.18 -{ 6.19 -@private 6.20 - EAGLContext *context; 6.21 - 6.22 - // The pixel dimensions of the CAEAGLLayer 6.23 - GLint backingWidth; 6.24 - GLint backingHeight; 6.25 - 6.26 - // The OpenGL ES names for the framebuffer and renderbuffer used to render to this view 6.27 - GLuint defaultFramebuffer, colorRenderbuffer; 6.28 -} 6.29 - 6.30 -- (void)render; 6.31 -- (BOOL)resizeFromLayer:(CAEAGLLayer *)layer; 6.32 - 6.33 -@end
7.1 --- a/src/ES1Renderer.m Fri Sep 09 00:31:54 2011 +0300 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,131 +0,0 @@ 7.4 -// 7.5 -// ES1Renderer.m 7.6 -// istereo 7.7 -// 7.8 -// Created by nuclear on 9/6/11. 7.9 -// Copyright __MyCompanyName__ 2011. All rights reserved. 7.10 -// 7.11 - 7.12 -#import "ES1Renderer.h" 7.13 - 7.14 -@implementation ES1Renderer 7.15 - 7.16 -// Create an OpenGL ES 1.1 context 7.17 -- (id)init 7.18 -{ 7.19 - if ((self = [super init])) 7.20 - { 7.21 - context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1]; 7.22 - 7.23 - if (!context || ![EAGLContext setCurrentContext:context]) 7.24 - { 7.25 - [self release]; 7.26 - return nil; 7.27 - } 7.28 - 7.29 - // Create default framebuffer object. The backing will be allocated for the current layer in -resizeFromLayer 7.30 - glGenFramebuffersOES(1, &defaultFramebuffer); 7.31 - glGenRenderbuffersOES(1, &colorRenderbuffer); 7.32 - glBindFramebufferOES(GL_FRAMEBUFFER_OES, defaultFramebuffer); 7.33 - glBindRenderbufferOES(GL_RENDERBUFFER_OES, colorRenderbuffer); 7.34 - glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_RENDERBUFFER_OES, colorRenderbuffer); 7.35 - } 7.36 - 7.37 - return self; 7.38 -} 7.39 - 7.40 -- (void)render 7.41 -{ 7.42 - // Replace the implementation of this method to do your own custom drawing 7.43 - 7.44 - static const GLfloat squareVertices[] = { 7.45 - -0.5f, -0.33f, 7.46 - 0.5f, -0.33f, 7.47 - -0.5f, 0.33f, 7.48 - 0.5f, 0.33f, 7.49 - }; 7.50 - 7.51 - static const GLubyte squareColors[] = { 7.52 - 255, 255, 0, 255, 7.53 - 0, 255, 255, 255, 7.54 - 0, 0, 0, 0, 7.55 - 255, 0, 255, 255, 7.56 - }; 7.57 - 7.58 - static float transY = 0.0f; 7.59 - 7.60 - // This application only creates a single context which is already set current at this point. 7.61 - // This call is redundant, but needed if dealing with multiple contexts. 7.62 - [EAGLContext setCurrentContext:context]; 7.63 - 7.64 - // This application only creates a single default framebuffer which is already bound at this point. 7.65 - // This call is redundant, but needed if dealing with multiple framebuffers. 7.66 - glBindFramebufferOES(GL_FRAMEBUFFER_OES, defaultFramebuffer); 7.67 - glViewport(0, 0, backingWidth, backingHeight); 7.68 - 7.69 - glMatrixMode(GL_PROJECTION); 7.70 - glLoadIdentity(); 7.71 - glMatrixMode(GL_MODELVIEW); 7.72 - glLoadIdentity(); 7.73 - glTranslatef(0.0f, (GLfloat)(sinf(transY)/2.0f), 0.0f); 7.74 - transY += 0.075f; 7.75 - 7.76 - glClearColor(0.5f, 0.5f, 0.5f, 1.0f); 7.77 - glClear(GL_COLOR_BUFFER_BIT); 7.78 - 7.79 - glVertexPointer(2, GL_FLOAT, 0, squareVertices); 7.80 - glEnableClientState(GL_VERTEX_ARRAY); 7.81 - glColorPointer(4, GL_UNSIGNED_BYTE, 0, squareColors); 7.82 - glEnableClientState(GL_COLOR_ARRAY); 7.83 - 7.84 - glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); 7.85 - 7.86 - // This application only creates a single color renderbuffer which is already bound at this point. 7.87 - // This call is redundant, but needed if dealing with multiple renderbuffers. 7.88 - glBindRenderbufferOES(GL_RENDERBUFFER_OES, colorRenderbuffer); 7.89 - [context presentRenderbuffer:GL_RENDERBUFFER_OES]; 7.90 -} 7.91 - 7.92 -- (BOOL)resizeFromLayer:(CAEAGLLayer *)layer 7.93 -{ 7.94 - // Allocate color buffer backing based on the current layer size 7.95 - glBindRenderbufferOES(GL_RENDERBUFFER_OES, colorRenderbuffer); 7.96 - [context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:layer]; 7.97 - glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_WIDTH_OES, &backingWidth); 7.98 - glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_HEIGHT_OES, &backingHeight); 7.99 - 7.100 - if (glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES) != GL_FRAMEBUFFER_COMPLETE_OES) 7.101 - { 7.102 - NSLog(@"Failed to make complete framebuffer object %x", glCheckFramebufferStatusOES(GL_FRAMEBUFFER_OES)); 7.103 - return NO; 7.104 - } 7.105 - 7.106 - return YES; 7.107 -} 7.108 - 7.109 -- (void)dealloc 7.110 -{ 7.111 - // Tear down GL 7.112 - if (defaultFramebuffer) 7.113 - { 7.114 - glDeleteFramebuffersOES(1, &defaultFramebuffer); 7.115 - defaultFramebuffer = 0; 7.116 - } 7.117 - 7.118 - if (colorRenderbuffer) 7.119 - { 7.120 - glDeleteRenderbuffersOES(1, &colorRenderbuffer); 7.121 - colorRenderbuffer = 0; 7.122 - } 7.123 - 7.124 - // Tear down context 7.125 - if ([EAGLContext currentContext] == context) 7.126 - [EAGLContext setCurrentContext:nil]; 7.127 - 7.128 - [context release]; 7.129 - context = nil; 7.130 - 7.131 - [super dealloc]; 7.132 -} 7.133 - 7.134 -@end
8.1 --- a/src/ESRenderer.h Fri Sep 09 00:31:54 2011 +0300 8.2 +++ b/src/ESRenderer.h Fri Sep 09 10:03:42 2011 +0300 8.3 @@ -1,11 +1,3 @@ 8.4 -// 8.5 -// ESRenderer.h 8.6 -// istereo 8.7 -// 8.8 -// Created by nuclear on 9/6/11. 8.9 -// Copyright __MyCompanyName__ 2011. All rights reserved. 8.10 -// 8.11 - 8.12 #import <QuartzCore/QuartzCore.h> 8.13 8.14 #import <OpenGLES/EAGL.h>
9.1 --- a/src/istereo.c Fri Sep 09 00:31:54 2011 +0300 9.2 +++ b/src/istereo.c Fri Sep 09 10:03:42 2011 +0300 9.3 @@ -26,11 +26,7 @@ 9.4 9.5 int view_xsz, view_ysz; 9.6 9.7 -#ifdef IPHONE 9.8 -int stereo = 1; 9.9 -#else 9.10 int stereo = 0; 9.11 -#endif 9.12 int use_bump = 0; 9.13 9.14 /* construction parameters */ 9.15 @@ -139,6 +135,14 @@ 9.16 9.17 render(tsec); 9.18 } else { 9.19 + glViewport(0, 0, view_xsz, view_ysz); 9.20 + cam_aspect((float)view_ysz / (float)view_xsz); 9.21 + 9.22 + gl_matrix_mode(GL_PROJECTION); 9.23 + gl_load_identity(); 9.24 + cam_proj_matrix(); 9.25 + gl_rotatef(-90, 0, 0, 1); 9.26 + 9.27 gl_matrix_mode(GL_MODELVIEW); 9.28 gl_load_identity(); 9.29 cam_view_matrix();
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/src/ui.h Fri Sep 09 10:03:42 2011 +0300 10.3 @@ -0,0 +1,22 @@ 10.4 +/* UI and shit */ 10.5 + 10.6 +#import <UIKit/UIKit.h> 10.7 + 10.8 +@interface UI : UIViewController { 10.9 + IBOutlet UISwitch *sw_stereo; 10.10 + IBOutlet UISlider *slider_split; 10.11 + IBOutlet UISegmentedControl *grp_mode; 10.12 + IBOutlet UIButton *bn_done; 10.13 +} 10.14 + 10.15 +@property (nonatomic, retain) IBOutlet UISwitch *sw_stereo; 10.16 +@property (nonatomic, retain) IBOutlet UISlider *slider_split; 10.17 +@property (nonatomic, retain) IBOutlet UISegmentedControl *grp_mode; 10.18 +@property (nonatomic, retain) IBOutlet UIButton *bn_done; 10.19 + 10.20 +-(IBAction) done_clicked: (id) sender; 10.21 +-(IBAction) split_changed: (id) sender; 10.22 +-(IBAction) stereo_changed: (id) sender; 10.23 +-(IBAction) mode_changed: (id) sender; 10.24 + 10.25 +@end
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/src/ui.m Fri Sep 09 10:03:42 2011 +0300 11.3 @@ -0,0 +1,83 @@ 11.4 +#import "ui.h" 11.5 + 11.6 +extern int stereo; 11.7 +extern int use_bump; 11.8 +extern float split; 11.9 + 11.10 + 11.11 +@implementation UI 11.12 + 11.13 +@synthesize bn_done; 11.14 +@synthesize slider_split; 11.15 +@synthesize grp_mode; 11.16 +@synthesize sw_stereo; 11.17 + 11.18 +// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. 11.19 +/* 11.20 +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil 11.21 +{ 11.22 + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; 11.23 + if(self) { 11.24 + } 11.25 + return self; 11.26 +}*/ 11.27 + 11.28 + 11.29 +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. 11.30 +- (void)viewDidLoad 11.31 +{ 11.32 + [super viewDidLoad]; 11.33 + 11.34 + [slider_split setValue: 1.0 - split]; 11.35 + sw_stereo.on = stereo ? YES : NO; 11.36 + grp_mode.selectedSegmentIndex = use_bump ? 1 : 0; 11.37 +} 11.38 + 11.39 + 11.40 +// Override to allow orientations other than the default portrait orientation. 11.41 +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 11.42 + // Return YES for supported orientations. 11.43 + return interfaceOrientation == UIInterfaceOrientationLandscapeRight; 11.44 +} 11.45 + 11.46 + 11.47 +- (void)didReceiveMemoryWarning { 11.48 + // Releases the view if it doesn't have a superview. 11.49 + [super didReceiveMemoryWarning]; 11.50 + 11.51 + // Release any cached data, images, etc. that aren't in use. 11.52 +} 11.53 + 11.54 +- (void)viewDidUnload { 11.55 + [super viewDidUnload]; 11.56 + // Release any retained subviews of the main view. 11.57 + // e.g. self.myOutlet = nil; 11.58 +} 11.59 + 11.60 + 11.61 +- (void)dealloc { 11.62 + [super dealloc]; 11.63 +} 11.64 + 11.65 +-(IBAction) done_clicked: (id) sender 11.66 +{ 11.67 + self.view.hidden = YES; 11.68 +} 11.69 + 11.70 +-(IBAction) split_changed: (id) sender 11.71 +{ 11.72 + split = 1.0 - slider_split.value; 11.73 +} 11.74 + 11.75 +-(IBAction) stereo_changed: (id) sender 11.76 +{ 11.77 + stereo = sw_stereo.on; 11.78 +} 11.79 + 11.80 +-(IBAction) mode_changed: (id) sender 11.81 +{ 11.82 + use_bump = grp_mode.selectedSegmentIndex; 11.83 +} 11.84 + 11.85 + 11.86 +@end
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/src/ui.xib Fri Sep 09 10:03:42 2011 +0300 12.3 @@ -0,0 +1,778 @@ 12.4 +<?xml version="1.0" encoding="UTF-8"?> 12.5 +<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10"> 12.6 + <data> 12.7 + <int key="IBDocument.SystemTarget">1056</int> 12.8 + <string key="IBDocument.SystemVersion">10K549</string> 12.9 + <string key="IBDocument.InterfaceBuilderVersion">851</string> 12.10 + <string key="IBDocument.AppKitVersion">1038.36</string> 12.11 + <string key="IBDocument.HIToolboxVersion">461.00</string> 12.12 + <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> 12.13 + <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.14 + <string key="NS.object.0">141</string> 12.15 + </object> 12.16 + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> 12.17 + <bool key="EncodedWithXMLCoder">YES</bool> 12.18 + <integer value="1"/> 12.19 + </object> 12.20 + <object class="NSArray" key="IBDocument.PluginDependencies"> 12.21 + <bool key="EncodedWithXMLCoder">YES</bool> 12.22 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.23 + </object> 12.24 + <object class="NSMutableDictionary" key="IBDocument.Metadata"> 12.25 + <bool key="EncodedWithXMLCoder">YES</bool> 12.26 + <object class="NSArray" key="dict.sortedKeys" id="0"> 12.27 + <bool key="EncodedWithXMLCoder">YES</bool> 12.28 + </object> 12.29 + <object class="NSMutableArray" key="dict.values"> 12.30 + <bool key="EncodedWithXMLCoder">YES</bool> 12.31 + </object> 12.32 + </object> 12.33 + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> 12.34 + <bool key="EncodedWithXMLCoder">YES</bool> 12.35 + <object class="IBProxyObject" id="372490531"> 12.36 + <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> 12.37 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.38 + </object> 12.39 + <object class="IBProxyObject" id="975951072"> 12.40 + <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> 12.41 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.42 + </object> 12.43 + <object class="IBUIView" id="191373211"> 12.44 + <reference key="NSNextResponder"/> 12.45 + <int key="NSvFlags">278</int> 12.46 + <object class="NSMutableArray" key="NSSubviews"> 12.47 + <bool key="EncodedWithXMLCoder">YES</bool> 12.48 + <object class="IBUISwitch" id="5150575"> 12.49 + <reference key="NSNextResponder" ref="191373211"/> 12.50 + <int key="NSvFlags">292</int> 12.51 + <string key="NSFrame">{{366, 20}, {94, 27}}</string> 12.52 + <reference key="NSSuperview" ref="191373211"/> 12.53 + <bool key="IBUIOpaque">NO</bool> 12.54 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.55 + <int key="IBUIContentHorizontalAlignment">0</int> 12.56 + <int key="IBUIContentVerticalAlignment">0</int> 12.57 + <bool key="IBUIOn">YES</bool> 12.58 + </object> 12.59 + <object class="IBUISegmentedControl" id="694841059"> 12.60 + <reference key="NSNextResponder" ref="191373211"/> 12.61 + <int key="NSvFlags">292</int> 12.62 + <string key="NSFrame">{{172, 55}, {288, 44}}</string> 12.63 + <reference key="NSSuperview" ref="191373211"/> 12.64 + <bool key="IBUIOpaque">NO</bool> 12.65 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.66 + <int key="IBNumberOfSegments">2</int> 12.67 + <int key="IBSelectedSegmentIndex">0</int> 12.68 + <object class="NSArray" key="IBSegmentTitles"> 12.69 + <bool key="EncodedWithXMLCoder">YES</bool> 12.70 + <string>Simple</string> 12.71 + <string>Bump-mapped</string> 12.72 + </object> 12.73 + <object class="NSMutableArray" key="IBSegmentWidths"> 12.74 + <bool key="EncodedWithXMLCoder">YES</bool> 12.75 + <real value="0.0"/> 12.76 + <real value="0.0"/> 12.77 + </object> 12.78 + <object class="NSMutableArray" key="IBSegmentEnabledStates"> 12.79 + <bool key="EncodedWithXMLCoder">YES</bool> 12.80 + <boolean value="YES"/> 12.81 + <boolean value="YES"/> 12.82 + </object> 12.83 + <object class="NSMutableArray" key="IBSegmentContentOffsets"> 12.84 + <bool key="EncodedWithXMLCoder">YES</bool> 12.85 + <string>{0, 0}</string> 12.86 + <string>{0, 0}</string> 12.87 + </object> 12.88 + <object class="NSMutableArray" key="IBSegmentImages"> 12.89 + <bool key="EncodedWithXMLCoder">YES</bool> 12.90 + <object class="NSNull" id="4"/> 12.91 + <reference ref="4"/> 12.92 + </object> 12.93 + </object> 12.94 + <object class="IBUILabel" id="799767528"> 12.95 + <reference key="NSNextResponder" ref="191373211"/> 12.96 + <int key="NSvFlags">292</int> 12.97 + <string key="NSFrame">{{182, 23}, {176, 21}}</string> 12.98 + <reference key="NSSuperview" ref="191373211"/> 12.99 + <bool key="IBUIOpaque">NO</bool> 12.100 + <bool key="IBUIClipsSubviews">YES</bool> 12.101 + <int key="IBUIContentMode">7</int> 12.102 + <bool key="IBUIUserInteractionEnabled">NO</bool> 12.103 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.104 + <string key="IBUIText">Stereoscopic rendering</string> 12.105 + <object class="NSColor" key="IBUITextColor" id="621632613"> 12.106 + <int key="NSColorSpace">3</int> 12.107 + <bytes key="NSWhite">MQA</bytes> 12.108 + </object> 12.109 + <reference key="IBUIHighlightedColor" ref="621632613"/> 12.110 + <int key="IBUIBaselineAdjustment">1</int> 12.111 + <float key="IBUIMinimumFontSize">10</float> 12.112 + </object> 12.113 + <object class="IBUILabel" id="337771867"> 12.114 + <reference key="NSNextResponder" ref="191373211"/> 12.115 + <int key="NSvFlags">292</int> 12.116 + <string key="NSFrame">{{64, 66}, {100, 21}}</string> 12.117 + <reference key="NSSuperview" ref="191373211"/> 12.118 + <bool key="IBUIOpaque">NO</bool> 12.119 + <bool key="IBUIClipsSubviews">YES</bool> 12.120 + <int key="IBUIContentMode">7</int> 12.121 + <bool key="IBUIUserInteractionEnabled">NO</bool> 12.122 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.123 + <string key="IBUIText">Tunnel mode</string> 12.124 + <reference key="IBUITextColor" ref="621632613"/> 12.125 + <reference key="IBUIHighlightedColor" ref="621632613"/> 12.126 + <int key="IBUIBaselineAdjustment">1</int> 12.127 + <float key="IBUIMinimumFontSize">10</float> 12.128 + </object> 12.129 + <object class="IBUISlider" id="548530308"> 12.130 + <reference key="NSNextResponder" ref="191373211"/> 12.131 + <int key="NSvFlags">292</int> 12.132 + <string key="NSFrame">{{200, 106}, {262, 23}}</string> 12.133 + <reference key="NSSuperview" ref="191373211"/> 12.134 + <bool key="IBUIOpaque">NO</bool> 12.135 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.136 + <int key="IBUIContentHorizontalAlignment">0</int> 12.137 + <int key="IBUIContentVerticalAlignment">0</int> 12.138 + <float key="IBUIValue">0.5</float> 12.139 + </object> 12.140 + <object class="IBUILabel" id="108081265"> 12.141 + <reference key="NSNextResponder" ref="191373211"/> 12.142 + <int key="NSvFlags">292</int> 12.143 + <string key="NSFrame">{{20, 106}, {174, 21}}</string> 12.144 + <reference key="NSSuperview" ref="191373211"/> 12.145 + <bool key="IBUIOpaque">NO</bool> 12.146 + <bool key="IBUIClipsSubviews">YES</bool> 12.147 + <int key="IBUIContentMode">7</int> 12.148 + <bool key="IBUIUserInteractionEnabled">NO</bool> 12.149 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.150 + <string key="IBUIText">Screen divider position</string> 12.151 + <reference key="IBUITextColor" ref="621632613"/> 12.152 + <reference key="IBUIHighlightedColor" ref="621632613"/> 12.153 + <int key="IBUIBaselineAdjustment">1</int> 12.154 + <float key="IBUIMinimumFontSize">10</float> 12.155 + </object> 12.156 + <object class="IBUIButton" id="509948995"> 12.157 + <reference key="NSNextResponder" ref="191373211"/> 12.158 + <int key="NSvFlags">292</int> 12.159 + <string key="NSFrame">{{350, 136}, {110, 37}}</string> 12.160 + <reference key="NSSuperview" ref="191373211"/> 12.161 + <bool key="IBUIOpaque">NO</bool> 12.162 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.163 + <int key="IBUIContentHorizontalAlignment">0</int> 12.164 + <int key="IBUIContentVerticalAlignment">0</int> 12.165 + <object class="NSFont" key="IBUIFont"> 12.166 + <string key="NSName">Helvetica-Bold</string> 12.167 + <double key="NSSize">15</double> 12.168 + <int key="NSfFlags">16</int> 12.169 + </object> 12.170 + <int key="IBUIButtonType">1</int> 12.171 + <string key="IBUINormalTitle">Done</string> 12.172 + <reference key="IBUIHighlightedTitleColor" ref="621632613"/> 12.173 + <object class="NSColor" key="IBUINormalTitleColor"> 12.174 + <int key="NSColorSpace">1</int> 12.175 + <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes> 12.176 + </object> 12.177 + <object class="NSColor" key="IBUINormalTitleShadowColor"> 12.178 + <int key="NSColorSpace">3</int> 12.179 + <bytes key="NSWhite">MC41AA</bytes> 12.180 + </object> 12.181 + </object> 12.182 + </object> 12.183 + <string key="NSFrameSize">{480, 193}</string> 12.184 + <reference key="NSSuperview"/> 12.185 + <object class="NSColor" key="IBUIBackgroundColor"> 12.186 + <int key="NSColorSpace">1</int> 12.187 + <bytes key="NSRGB">MCAwIDAgMC41AA</bytes> 12.188 + </object> 12.189 + <bool key="IBUIOpaque">NO</bool> 12.190 + <int key="IBUIContentMode">6</int> 12.191 + <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics"> 12.192 + <int key="interfaceOrientation">3</int> 12.193 + </object> 12.194 + <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.195 + </object> 12.196 + </object> 12.197 + <object class="IBObjectContainer" key="IBDocument.Objects"> 12.198 + <object class="NSMutableArray" key="connectionRecords"> 12.199 + <bool key="EncodedWithXMLCoder">YES</bool> 12.200 + <object class="IBConnectionRecord"> 12.201 + <object class="IBCocoaTouchOutletConnection" key="connection"> 12.202 + <string key="label">view</string> 12.203 + <reference key="source" ref="372490531"/> 12.204 + <reference key="destination" ref="191373211"/> 12.205 + </object> 12.206 + <int key="connectionID">3</int> 12.207 + </object> 12.208 + <object class="IBConnectionRecord"> 12.209 + <object class="IBCocoaTouchOutletConnection" key="connection"> 12.210 + <string key="label">sw_stereo</string> 12.211 + <reference key="source" ref="372490531"/> 12.212 + <reference key="destination" ref="5150575"/> 12.213 + </object> 12.214 + <int key="connectionID">10</int> 12.215 + </object> 12.216 + <object class="IBConnectionRecord"> 12.217 + <object class="IBCocoaTouchOutletConnection" key="connection"> 12.218 + <string key="label">grp_mode</string> 12.219 + <reference key="source" ref="372490531"/> 12.220 + <reference key="destination" ref="694841059"/> 12.221 + </object> 12.222 + <int key="connectionID">11</int> 12.223 + </object> 12.224 + <object class="IBConnectionRecord"> 12.225 + <object class="IBCocoaTouchOutletConnection" key="connection"> 12.226 + <string key="label">slider_split</string> 12.227 + <reference key="source" ref="372490531"/> 12.228 + <reference key="destination" ref="548530308"/> 12.229 + </object> 12.230 + <int key="connectionID">12</int> 12.231 + </object> 12.232 + <object class="IBConnectionRecord"> 12.233 + <object class="IBCocoaTouchOutletConnection" key="connection"> 12.234 + <string key="label">bn_done</string> 12.235 + <reference key="source" ref="372490531"/> 12.236 + <reference key="destination" ref="509948995"/> 12.237 + </object> 12.238 + <int key="connectionID">15</int> 12.239 + </object> 12.240 + <object class="IBConnectionRecord"> 12.241 + <object class="IBCocoaTouchEventConnection" key="connection"> 12.242 + <string key="label">done_clicked:</string> 12.243 + <reference key="source" ref="509948995"/> 12.244 + <reference key="destination" ref="372490531"/> 12.245 + <int key="IBEventType">7</int> 12.246 + </object> 12.247 + <int key="connectionID">16</int> 12.248 + </object> 12.249 + <object class="IBConnectionRecord"> 12.250 + <object class="IBCocoaTouchEventConnection" key="connection"> 12.251 + <string key="label">split_changed:</string> 12.252 + <reference key="source" ref="548530308"/> 12.253 + <reference key="destination" ref="372490531"/> 12.254 + <int key="IBEventType">13</int> 12.255 + </object> 12.256 + <int key="connectionID">17</int> 12.257 + </object> 12.258 + <object class="IBConnectionRecord"> 12.259 + <object class="IBCocoaTouchEventConnection" key="connection"> 12.260 + <string key="label">mode_changed:</string> 12.261 + <reference key="source" ref="694841059"/> 12.262 + <reference key="destination" ref="372490531"/> 12.263 + <int key="IBEventType">13</int> 12.264 + </object> 12.265 + <int key="connectionID">18</int> 12.266 + </object> 12.267 + <object class="IBConnectionRecord"> 12.268 + <object class="IBCocoaTouchEventConnection" key="connection"> 12.269 + <string key="label">stereo_changed:</string> 12.270 + <reference key="source" ref="5150575"/> 12.271 + <reference key="destination" ref="372490531"/> 12.272 + <int key="IBEventType">13</int> 12.273 + </object> 12.274 + <int key="connectionID">19</int> 12.275 + </object> 12.276 + </object> 12.277 + <object class="IBMutableOrderedSet" key="objectRecords"> 12.278 + <object class="NSArray" key="orderedObjects"> 12.279 + <bool key="EncodedWithXMLCoder">YES</bool> 12.280 + <object class="IBObjectRecord"> 12.281 + <int key="objectID">0</int> 12.282 + <reference key="object" ref="0"/> 12.283 + <reference key="children" ref="1000"/> 12.284 + <nil key="parent"/> 12.285 + </object> 12.286 + <object class="IBObjectRecord"> 12.287 + <int key="objectID">1</int> 12.288 + <reference key="object" ref="191373211"/> 12.289 + <object class="NSMutableArray" key="children"> 12.290 + <bool key="EncodedWithXMLCoder">YES</bool> 12.291 + <reference ref="5150575"/> 12.292 + <reference ref="694841059"/> 12.293 + <reference ref="337771867"/> 12.294 + <reference ref="548530308"/> 12.295 + <reference ref="108081265"/> 12.296 + <reference ref="509948995"/> 12.297 + <reference ref="799767528"/> 12.298 + </object> 12.299 + <reference key="parent" ref="0"/> 12.300 + </object> 12.301 + <object class="IBObjectRecord"> 12.302 + <int key="objectID">-1</int> 12.303 + <reference key="object" ref="372490531"/> 12.304 + <reference key="parent" ref="0"/> 12.305 + <string key="objectName">File's Owner</string> 12.306 + </object> 12.307 + <object class="IBObjectRecord"> 12.308 + <int key="objectID">-2</int> 12.309 + <reference key="object" ref="975951072"/> 12.310 + <reference key="parent" ref="0"/> 12.311 + </object> 12.312 + <object class="IBObjectRecord"> 12.313 + <int key="objectID">4</int> 12.314 + <reference key="object" ref="5150575"/> 12.315 + <reference key="parent" ref="191373211"/> 12.316 + </object> 12.317 + <object class="IBObjectRecord"> 12.318 + <int key="objectID">5</int> 12.319 + <reference key="object" ref="694841059"/> 12.320 + <reference key="parent" ref="191373211"/> 12.321 + </object> 12.322 + <object class="IBObjectRecord"> 12.323 + <int key="objectID">6</int> 12.324 + <reference key="object" ref="799767528"/> 12.325 + <reference key="parent" ref="191373211"/> 12.326 + </object> 12.327 + <object class="IBObjectRecord"> 12.328 + <int key="objectID">7</int> 12.329 + <reference key="object" ref="337771867"/> 12.330 + <reference key="parent" ref="191373211"/> 12.331 + </object> 12.332 + <object class="IBObjectRecord"> 12.333 + <int key="objectID">8</int> 12.334 + <reference key="object" ref="548530308"/> 12.335 + <reference key="parent" ref="191373211"/> 12.336 + </object> 12.337 + <object class="IBObjectRecord"> 12.338 + <int key="objectID">9</int> 12.339 + <reference key="object" ref="108081265"/> 12.340 + <reference key="parent" ref="191373211"/> 12.341 + </object> 12.342 + <object class="IBObjectRecord"> 12.343 + <int key="objectID">13</int> 12.344 + <reference key="object" ref="509948995"/> 12.345 + <reference key="parent" ref="191373211"/> 12.346 + </object> 12.347 + </object> 12.348 + </object> 12.349 + <object class="NSMutableDictionary" key="flattenedProperties"> 12.350 + <bool key="EncodedWithXMLCoder">YES</bool> 12.351 + <object class="NSArray" key="dict.sortedKeys"> 12.352 + <bool key="EncodedWithXMLCoder">YES</bool> 12.353 + <string>-1.CustomClassName</string> 12.354 + <string>-2.CustomClassName</string> 12.355 + <string>1.IBEditorWindowLastContentRect</string> 12.356 + <string>1.IBPluginDependency</string> 12.357 + <string>13.IBPluginDependency</string> 12.358 + <string>13.IBViewBoundsToFrameTransform</string> 12.359 + <string>4.IBPluginDependency</string> 12.360 + <string>4.IBViewBoundsToFrameTransform</string> 12.361 + <string>5.IBPluginDependency</string> 12.362 + <string>5.IBViewBoundsToFrameTransform</string> 12.363 + <string>6.IBPluginDependency</string> 12.364 + <string>6.IBViewBoundsToFrameTransform</string> 12.365 + <string>7.IBPluginDependency</string> 12.366 + <string>7.IBViewBoundsToFrameTransform</string> 12.367 + <string>8.IBPluginDependency</string> 12.368 + <string>8.IBViewBoundsToFrameTransform</string> 12.369 + <string>9.IBPluginDependency</string> 12.370 + <string>9.IBViewBoundsToFrameTransform</string> 12.371 + </object> 12.372 + <object class="NSMutableArray" key="dict.values"> 12.373 + <bool key="EncodedWithXMLCoder">YES</bool> 12.374 + <string>UI</string> 12.375 + <string>UIResponder</string> 12.376 + <string>{{403, 479}, {480, 193}}</string> 12.377 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.378 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.379 + <object class="NSAffineTransform"> 12.380 + <bytes key="NSTransformStruct">P4AAAL+AAABDrwAAw4iAAA</bytes> 12.381 + </object> 12.382 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.383 + <object class="NSAffineTransform"> 12.384 + <bytes key="NSTransformStruct">P4AAAL+AAABDtwAAwxgAAA</bytes> 12.385 + </object> 12.386 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.387 + <object class="NSAffineTransform"> 12.388 + <bytes key="NSTransformStruct">P4AAAL+AAABDLAAAw0wAAA</bytes> 12.389 + </object> 12.390 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.391 + <object class="NSAffineTransform"> 12.392 + <bytes key="NSTransformStruct">P4AAAL+AAABDNgAAwigAAA</bytes> 12.393 + </object> 12.394 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.395 + <object class="NSAffineTransform"> 12.396 + <bytes key="NSTransformStruct">P4AAAL+AAABCZAAAw0AAAA</bytes> 12.397 + </object> 12.398 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.399 + <object class="NSAffineTransform"> 12.400 + <bytes key="NSTransformStruct">P4AAAL+AAABDSAAAw2oAAA</bytes> 12.401 + </object> 12.402 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 12.403 + <object class="NSAffineTransform"> 12.404 + <bytes key="NSTransformStruct">P4AAAL+AAABBoAAAw2gAAA</bytes> 12.405 + </object> 12.406 + </object> 12.407 + </object> 12.408 + <object class="NSMutableDictionary" key="unlocalizedProperties"> 12.409 + <bool key="EncodedWithXMLCoder">YES</bool> 12.410 + <reference key="dict.sortedKeys" ref="0"/> 12.411 + <object class="NSMutableArray" key="dict.values"> 12.412 + <bool key="EncodedWithXMLCoder">YES</bool> 12.413 + </object> 12.414 + </object> 12.415 + <nil key="activeLocalization"/> 12.416 + <object class="NSMutableDictionary" key="localizations"> 12.417 + <bool key="EncodedWithXMLCoder">YES</bool> 12.418 + <reference key="dict.sortedKeys" ref="0"/> 12.419 + <object class="NSMutableArray" key="dict.values"> 12.420 + <bool key="EncodedWithXMLCoder">YES</bool> 12.421 + </object> 12.422 + </object> 12.423 + <nil key="sourceID"/> 12.424 + <int key="maxID">19</int> 12.425 + </object> 12.426 + <object class="IBClassDescriber" key="IBDocument.Classes"> 12.427 + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> 12.428 + <bool key="EncodedWithXMLCoder">YES</bool> 12.429 + <object class="IBPartialClassDescription"> 12.430 + <string key="className">UI</string> 12.431 + <string key="superclassName">UIViewController</string> 12.432 + <object class="NSMutableDictionary" key="actions"> 12.433 + <bool key="EncodedWithXMLCoder">YES</bool> 12.434 + <object class="NSArray" key="dict.sortedKeys"> 12.435 + <bool key="EncodedWithXMLCoder">YES</bool> 12.436 + <string>done_clicked:</string> 12.437 + <string>mode_changed:</string> 12.438 + <string>split_changed:</string> 12.439 + <string>stereo_changed:</string> 12.440 + </object> 12.441 + <object class="NSMutableArray" key="dict.values"> 12.442 + <bool key="EncodedWithXMLCoder">YES</bool> 12.443 + <string>id</string> 12.444 + <string>id</string> 12.445 + <string>id</string> 12.446 + <string>id</string> 12.447 + </object> 12.448 + </object> 12.449 + <object class="NSMutableDictionary" key="actionInfosByName"> 12.450 + <bool key="EncodedWithXMLCoder">YES</bool> 12.451 + <object class="NSArray" key="dict.sortedKeys"> 12.452 + <bool key="EncodedWithXMLCoder">YES</bool> 12.453 + <string>done_clicked:</string> 12.454 + <string>mode_changed:</string> 12.455 + <string>split_changed:</string> 12.456 + <string>stereo_changed:</string> 12.457 + </object> 12.458 + <object class="NSMutableArray" key="dict.values"> 12.459 + <bool key="EncodedWithXMLCoder">YES</bool> 12.460 + <object class="IBActionInfo"> 12.461 + <string key="name">done_clicked:</string> 12.462 + <string key="candidateClassName">id</string> 12.463 + </object> 12.464 + <object class="IBActionInfo"> 12.465 + <string key="name">mode_changed:</string> 12.466 + <string key="candidateClassName">id</string> 12.467 + </object> 12.468 + <object class="IBActionInfo"> 12.469 + <string key="name">split_changed:</string> 12.470 + <string key="candidateClassName">id</string> 12.471 + </object> 12.472 + <object class="IBActionInfo"> 12.473 + <string key="name">stereo_changed:</string> 12.474 + <string key="candidateClassName">id</string> 12.475 + </object> 12.476 + </object> 12.477 + </object> 12.478 + <object class="NSMutableDictionary" key="outlets"> 12.479 + <bool key="EncodedWithXMLCoder">YES</bool> 12.480 + <object class="NSArray" key="dict.sortedKeys"> 12.481 + <bool key="EncodedWithXMLCoder">YES</bool> 12.482 + <string>bn_done</string> 12.483 + <string>grp_mode</string> 12.484 + <string>slider_split</string> 12.485 + <string>sw_stereo</string> 12.486 + </object> 12.487 + <object class="NSMutableArray" key="dict.values"> 12.488 + <bool key="EncodedWithXMLCoder">YES</bool> 12.489 + <string>UIButton</string> 12.490 + <string>UISegmentedControl</string> 12.491 + <string>UISlider</string> 12.492 + <string>UISwitch</string> 12.493 + </object> 12.494 + </object> 12.495 + <object class="NSMutableDictionary" key="toOneOutletInfosByName"> 12.496 + <bool key="EncodedWithXMLCoder">YES</bool> 12.497 + <object class="NSArray" key="dict.sortedKeys"> 12.498 + <bool key="EncodedWithXMLCoder">YES</bool> 12.499 + <string>bn_done</string> 12.500 + <string>grp_mode</string> 12.501 + <string>slider_split</string> 12.502 + <string>sw_stereo</string> 12.503 + </object> 12.504 + <object class="NSMutableArray" key="dict.values"> 12.505 + <bool key="EncodedWithXMLCoder">YES</bool> 12.506 + <object class="IBToOneOutletInfo"> 12.507 + <string key="name">bn_done</string> 12.508 + <string key="candidateClassName">UIButton</string> 12.509 + </object> 12.510 + <object class="IBToOneOutletInfo"> 12.511 + <string key="name">grp_mode</string> 12.512 + <string key="candidateClassName">UISegmentedControl</string> 12.513 + </object> 12.514 + <object class="IBToOneOutletInfo"> 12.515 + <string key="name">slider_split</string> 12.516 + <string key="candidateClassName">UISlider</string> 12.517 + </object> 12.518 + <object class="IBToOneOutletInfo"> 12.519 + <string key="name">sw_stereo</string> 12.520 + <string key="candidateClassName">UISwitch</string> 12.521 + </object> 12.522 + </object> 12.523 + </object> 12.524 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.525 + <string key="majorKey">IBProjectSource</string> 12.526 + <string key="minorKey">src/ui.h</string> 12.527 + </object> 12.528 + </object> 12.529 + </object> 12.530 + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> 12.531 + <bool key="EncodedWithXMLCoder">YES</bool> 12.532 + <object class="IBPartialClassDescription"> 12.533 + <string key="className">NSObject</string> 12.534 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.535 + <string key="majorKey">IBFrameworkSource</string> 12.536 + <string key="minorKey">Foundation.framework/Headers/NSError.h</string> 12.537 + </object> 12.538 + </object> 12.539 + <object class="IBPartialClassDescription"> 12.540 + <string key="className">NSObject</string> 12.541 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.542 + <string key="majorKey">IBFrameworkSource</string> 12.543 + <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string> 12.544 + </object> 12.545 + </object> 12.546 + <object class="IBPartialClassDescription"> 12.547 + <string key="className">NSObject</string> 12.548 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.549 + <string key="majorKey">IBFrameworkSource</string> 12.550 + <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string> 12.551 + </object> 12.552 + </object> 12.553 + <object class="IBPartialClassDescription"> 12.554 + <string key="className">NSObject</string> 12.555 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.556 + <string key="majorKey">IBFrameworkSource</string> 12.557 + <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string> 12.558 + </object> 12.559 + </object> 12.560 + <object class="IBPartialClassDescription"> 12.561 + <string key="className">NSObject</string> 12.562 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.563 + <string key="majorKey">IBFrameworkSource</string> 12.564 + <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string> 12.565 + </object> 12.566 + </object> 12.567 + <object class="IBPartialClassDescription"> 12.568 + <string key="className">NSObject</string> 12.569 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.570 + <string key="majorKey">IBFrameworkSource</string> 12.571 + <string key="minorKey">Foundation.framework/Headers/NSObject.h</string> 12.572 + </object> 12.573 + </object> 12.574 + <object class="IBPartialClassDescription"> 12.575 + <string key="className">NSObject</string> 12.576 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.577 + <string key="majorKey">IBFrameworkSource</string> 12.578 + <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string> 12.579 + </object> 12.580 + </object> 12.581 + <object class="IBPartialClassDescription"> 12.582 + <string key="className">NSObject</string> 12.583 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.584 + <string key="majorKey">IBFrameworkSource</string> 12.585 + <string key="minorKey">Foundation.framework/Headers/NSThread.h</string> 12.586 + </object> 12.587 + </object> 12.588 + <object class="IBPartialClassDescription"> 12.589 + <string key="className">NSObject</string> 12.590 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.591 + <string key="majorKey">IBFrameworkSource</string> 12.592 + <string key="minorKey">Foundation.framework/Headers/NSURL.h</string> 12.593 + </object> 12.594 + </object> 12.595 + <object class="IBPartialClassDescription"> 12.596 + <string key="className">NSObject</string> 12.597 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.598 + <string key="majorKey">IBFrameworkSource</string> 12.599 + <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string> 12.600 + </object> 12.601 + </object> 12.602 + <object class="IBPartialClassDescription"> 12.603 + <string key="className">NSObject</string> 12.604 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.605 + <string key="majorKey">IBFrameworkSource</string> 12.606 + <string key="minorKey">QuartzCore.framework/Headers/CAAnimation.h</string> 12.607 + </object> 12.608 + </object> 12.609 + <object class="IBPartialClassDescription"> 12.610 + <string key="className">NSObject</string> 12.611 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.612 + <string key="majorKey">IBFrameworkSource</string> 12.613 + <string key="minorKey">QuartzCore.framework/Headers/CALayer.h</string> 12.614 + </object> 12.615 + </object> 12.616 + <object class="IBPartialClassDescription"> 12.617 + <string key="className">NSObject</string> 12.618 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.619 + <string key="majorKey">IBFrameworkSource</string> 12.620 + <string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string> 12.621 + </object> 12.622 + </object> 12.623 + <object class="IBPartialClassDescription"> 12.624 + <string key="className">NSObject</string> 12.625 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.626 + <string key="majorKey">IBFrameworkSource</string> 12.627 + <string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string> 12.628 + </object> 12.629 + </object> 12.630 + <object class="IBPartialClassDescription"> 12.631 + <string key="className">NSObject</string> 12.632 + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="342843117"> 12.633 + <string key="majorKey">IBFrameworkSource</string> 12.634 + <string key="minorKey">UIKit.framework/Headers/UIResponder.h</string> 12.635 + </object> 12.636 + </object> 12.637 + <object class="IBPartialClassDescription"> 12.638 + <string key="className">UIButton</string> 12.639 + <string key="superclassName">UIControl</string> 12.640 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.641 + <string key="majorKey">IBFrameworkSource</string> 12.642 + <string key="minorKey">UIKit.framework/Headers/UIButton.h</string> 12.643 + </object> 12.644 + </object> 12.645 + <object class="IBPartialClassDescription"> 12.646 + <string key="className">UIControl</string> 12.647 + <string key="superclassName">UIView</string> 12.648 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.649 + <string key="majorKey">IBFrameworkSource</string> 12.650 + <string key="minorKey">UIKit.framework/Headers/UIControl.h</string> 12.651 + </object> 12.652 + </object> 12.653 + <object class="IBPartialClassDescription"> 12.654 + <string key="className">UILabel</string> 12.655 + <string key="superclassName">UIView</string> 12.656 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.657 + <string key="majorKey">IBFrameworkSource</string> 12.658 + <string key="minorKey">UIKit.framework/Headers/UILabel.h</string> 12.659 + </object> 12.660 + </object> 12.661 + <object class="IBPartialClassDescription"> 12.662 + <string key="className">UIResponder</string> 12.663 + <string key="superclassName">NSObject</string> 12.664 + <reference key="sourceIdentifier" ref="342843117"/> 12.665 + </object> 12.666 + <object class="IBPartialClassDescription"> 12.667 + <string key="className">UISearchBar</string> 12.668 + <string key="superclassName">UIView</string> 12.669 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.670 + <string key="majorKey">IBFrameworkSource</string> 12.671 + <string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string> 12.672 + </object> 12.673 + </object> 12.674 + <object class="IBPartialClassDescription"> 12.675 + <string key="className">UISearchDisplayController</string> 12.676 + <string key="superclassName">NSObject</string> 12.677 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.678 + <string key="majorKey">IBFrameworkSource</string> 12.679 + <string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string> 12.680 + </object> 12.681 + </object> 12.682 + <object class="IBPartialClassDescription"> 12.683 + <string key="className">UISegmentedControl</string> 12.684 + <string key="superclassName">UIControl</string> 12.685 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.686 + <string key="majorKey">IBFrameworkSource</string> 12.687 + <string key="minorKey">UIKit.framework/Headers/UISegmentedControl.h</string> 12.688 + </object> 12.689 + </object> 12.690 + <object class="IBPartialClassDescription"> 12.691 + <string key="className">UISlider</string> 12.692 + <string key="superclassName">UIControl</string> 12.693 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.694 + <string key="majorKey">IBFrameworkSource</string> 12.695 + <string key="minorKey">UIKit.framework/Headers/UISlider.h</string> 12.696 + </object> 12.697 + </object> 12.698 + <object class="IBPartialClassDescription"> 12.699 + <string key="className">UISwitch</string> 12.700 + <string key="superclassName">UIControl</string> 12.701 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.702 + <string key="majorKey">IBFrameworkSource</string> 12.703 + <string key="minorKey">UIKit.framework/Headers/UISwitch.h</string> 12.704 + </object> 12.705 + </object> 12.706 + <object class="IBPartialClassDescription"> 12.707 + <string key="className">UIView</string> 12.708 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.709 + <string key="majorKey">IBFrameworkSource</string> 12.710 + <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string> 12.711 + </object> 12.712 + </object> 12.713 + <object class="IBPartialClassDescription"> 12.714 + <string key="className">UIView</string> 12.715 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.716 + <string key="majorKey">IBFrameworkSource</string> 12.717 + <string key="minorKey">UIKit.framework/Headers/UITextField.h</string> 12.718 + </object> 12.719 + </object> 12.720 + <object class="IBPartialClassDescription"> 12.721 + <string key="className">UIView</string> 12.722 + <string key="superclassName">UIResponder</string> 12.723 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.724 + <string key="majorKey">IBFrameworkSource</string> 12.725 + <string key="minorKey">UIKit.framework/Headers/UIView.h</string> 12.726 + </object> 12.727 + </object> 12.728 + <object class="IBPartialClassDescription"> 12.729 + <string key="className">UIViewController</string> 12.730 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.731 + <string key="majorKey">IBFrameworkSource</string> 12.732 + <string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string> 12.733 + </object> 12.734 + </object> 12.735 + <object class="IBPartialClassDescription"> 12.736 + <string key="className">UIViewController</string> 12.737 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.738 + <string key="majorKey">IBFrameworkSource</string> 12.739 + <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string> 12.740 + </object> 12.741 + </object> 12.742 + <object class="IBPartialClassDescription"> 12.743 + <string key="className">UIViewController</string> 12.744 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.745 + <string key="majorKey">IBFrameworkSource</string> 12.746 + <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string> 12.747 + </object> 12.748 + </object> 12.749 + <object class="IBPartialClassDescription"> 12.750 + <string key="className">UIViewController</string> 12.751 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.752 + <string key="majorKey">IBFrameworkSource</string> 12.753 + <string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string> 12.754 + </object> 12.755 + </object> 12.756 + <object class="IBPartialClassDescription"> 12.757 + <string key="className">UIViewController</string> 12.758 + <string key="superclassName">UIResponder</string> 12.759 + <object class="IBClassDescriptionSource" key="sourceIdentifier"> 12.760 + <string key="majorKey">IBFrameworkSource</string> 12.761 + <string key="minorKey">UIKit.framework/Headers/UIViewController.h</string> 12.762 + </object> 12.763 + </object> 12.764 + </object> 12.765 + </object> 12.766 + <int key="IBDocument.localizationMode">0</int> 12.767 + <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> 12.768 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> 12.769 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string> 12.770 + <integer value="1056" key="NS.object.0"/> 12.771 + </object> 12.772 + <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> 12.773 + <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string> 12.774 + <integer value="3000" key="NS.object.0"/> 12.775 + </object> 12.776 + <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> 12.777 + <string key="IBDocument.LastKnownRelativeProjectPath">../istereo.xcodeproj</string> 12.778 + <int key="IBDocument.defaultPropertyAccessControl">3</int> 12.779 + <string key="IBCocoaTouchPluginVersion">141</string> 12.780 + </data> 12.781 +</archive>