comparison IntroViewController.xib @ 20:1e6d4ece1572

intro screen with mode options. seems to work.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 22 Oct 2014 16:47:11 +0100
parents a223551fdc1f
children 5cf2b80909fc
comparison
equal deleted inserted replaced
19:bd23c1b922be 20:1e6d4ece1572
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="4514" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none"> 2 <document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="14A389" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none">
3 <dependencies> 3 <dependencies>
4 <deployment defaultVersion="1280" identifier="iOS"/> 4 <deployment defaultVersion="1280" identifier="iOS"/>
5 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/> 5 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
6 </dependencies> 6 </dependencies>
7 <objects> 7 <objects>
8 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="IntroViewController"> 8 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="IntroViewController">
9 <connections> 9 <connections>
10 <outlet property="text" destination="14" id="57"/> 10 <outlet property="text" destination="14" id="57"/>
15 <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="2"> 15 <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="2">
16 <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/> 16 <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
17 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 17 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
18 <subviews> 18 <subviews>
19 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="4"> 19 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="4">
20 <rect key="frame" x="454" y="643" width="116" height="44"/> 20 <rect key="frame" x="328" y="626" width="154" height="61"/>
21 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 21 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
22 <state key="normal" title="AGREE" backgroundImage="buttron.png"> 22 <state key="normal" title="EXP" backgroundImage="buttron.png">
23 <color key="titleColor" red="0.28581259671449843" green="0.80918817934782605" blue="0.73026968770868927" alpha="1" colorSpace="calibratedRGB"/> 23 <color key="titleColor" red="0.28581259671449843" green="0.80918817934782605" blue="0.73026968770868927" alpha="1" colorSpace="calibratedRGB"/>
24 <color key="titleShadowColor" red="0.0" green="0.79530400815217395" blue="0.77655573399798061" alpha="1" colorSpace="calibratedRGB"/> 24 <color key="titleShadowColor" red="0.0" green="0.79530400815217395" blue="0.77655573399798061" alpha="1" colorSpace="calibratedRGB"/>
25 </state> 25 </state>
26 <connections> 26 <connections>
27 <action selector="enterExpMode:" destination="-1" eventType="touchUpInside" id="CrH-pf-5B1"/>
27 <action selector="hide:" destination="-1" eventType="touchUpInside" id="55"/> 28 <action selector="hide:" destination="-1" eventType="touchUpInside" id="55"/>
28 </connections> 29 </connections>
29 </button> 30 </button>
30 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" lineBreakMode="tailTruncation" numberOfLines="39" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="14"> 31 <button appearanceType="aqua" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="WDx-XU-GHx">
32 <rect key="frame" x="510" y="626" width="142" height="61"/>
33 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
34 <state key="normal" title="TRAIN" backgroundImage="buttron.png">
35 <color key="titleColor" red="0.28581259669999998" green="0.80918817929999998" blue="0.7302696877" alpha="1" colorSpace="calibratedRGB"/>
36 <color key="titleShadowColor" red="0.0" green="0.79530400820000002" blue="0.776555734" alpha="1" colorSpace="calibratedRGB"/>
37 </state>
38 <connections>
39 <action selector="enterTrainMode:" destination="-1" eventType="touchUpInside" id="ptd-it-odB"/>
40 <action selector="hide:" destination="-1" eventType="touchUpInside" id="097-DM-YsD"/>
41 </connections>
42 </button>
43 <button appearanceType="aqua" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="ngS-Bg-YOQ">
44 <rect key="frame" x="679" y="626" width="152" height="61"/>
45 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
46 <state key="normal" title="SEARCH" backgroundImage="buttron.png">
47 <color key="titleColor" red="0.28581259669999998" green="0.80918817929999998" blue="0.7302696877" alpha="1" colorSpace="calibratedRGB"/>
48 <color key="titleShadowColor" red="0.0" green="0.79530400820000002" blue="0.776555734" alpha="1" colorSpace="calibratedRGB"/>
49 </state>
50 <connections>
51 <action selector="enterSearchMode:" destination="-1" eventType="touchUpInside" id="uD3-wA-ZcD"/>
52 <action selector="hide:" destination="-1" eventType="touchUpInside" id="pSz-nO-BgA"/>
53 </connections>
54 </button>
55 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" text="Welcome to RIFTATHON." lineBreakMode="tailTruncation" numberOfLines="39" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="14">
31 <rect key="frame" x="158" y="-139" width="773" height="735"/> 56 <rect key="frame" x="158" y="-139" width="773" height="735"/>
32 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 57 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
33 <mutableString key="text">Welcome to the "Tweakathon". This will test your ability to tweak the controls of a synthesiser to achieve a desired sound. Your task is to find a sound that matches a target sound as accurately and as quickly as possible, using a variety of different control methods. The target and you current sound will play repeatedly. The second sound changes as you tweak the controls. When you match the sounds as well as you can, press submit. You will then see how far you were from the correct settings, and be given a score based on the time you took and how far away from the target you were.
34 There will be more and more controls as the test progresses, therefore it will become harder to find the target sound. You actions will be logged and sent to a server at Queen Mary University for analysis. If you agree to this, click "Agree" button to start the test.</mutableString>
35 <fontDescription key="fontDescription" type="system" pointSize="17"/> 58 <fontDescription key="fontDescription" type="system" pointSize="17"/>
36 <color key="textColor" red="0.72194573409571561" green="1" blue="0.83094137152153613" alpha="1" colorSpace="calibratedRGB"/> 59 <color key="textColor" red="0.72194573409571561" green="1" blue="0.83094137152153613" alpha="1" colorSpace="calibratedRGB"/>
37 <nil key="highlightedColor"/> 60 <nil key="highlightedColor"/>
38 </label> 61 </label>
39 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="TWEAKATHON" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="50"> 62 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="TWEAKATHON" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="50">