File: ButtonTestViewController.xib

package info (click to toggle)
csound 1%3A6.18.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 62,416 kB
  • sloc: ansic: 192,636; cpp: 14,151; javascript: 9,654; objc: 9,181; java: 3,337; python: 3,333; sh: 1,783; yacc: 1,255; xml: 985; perl: 635; lisp: 411; tcl: 341; lex: 217; makefile: 126
file content (132 lines) | stat: -rw-r--r-- 11,768 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ButtonTestViewController">
            <connections>
                <outlet property="mAttackSlider" destination="8" id="21"/>
                <outlet property="mDecaySlider" destination="10" id="22"/>
                <outlet property="mDurationSlider" destination="13" id="20"/>
                <outlet property="mEventButton" destination="16" id="26"/>
                <outlet property="mReleaseSlider" destination="12" id="24"/>
                <outlet property="mSustainSlider" destination="11" id="23"/>
                <outlet property="mSwitch" destination="5" id="17"/>
                <outlet property="mValueButton" destination="15" id="25"/>
                <outlet property="view" destination="1" id="3"/>
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <view contentMode="scaleToFill" id="1">
            <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="5">
                    <rect key="frame" x="136" y="80" width="51" height="31"/>
                    <connections>
                        <action selector="toggleOnOf:" destination="-1" eventType="valueChanged" id="7nA-HB-3Zd"/>
                    </connections>
                </switch>
                <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.050000000000000003" minValue="0.050000000000000003" maxValue="2" translatesAutoresizingMaskIntoConstraints="NO" id="8">
                    <rect key="frame" x="18" y="320" width="284" height="31"/>
                </slider>
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="ADSR" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="9">
                    <rect key="frame" x="138" y="290" width="44.5" height="21"/>
                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
                    <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
                    <nil key="highlightedColor"/>
                </label>
                <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.05000000074505806" minValue="0.05000000074505806" maxValue="2" translatesAutoresizingMaskIntoConstraints="NO" id="10">
                    <rect key="frame" x="18" y="352" width="284" height="31"/>
                </slider>
                <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.69999998807907104" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="11">
                    <rect key="frame" x="18" y="384" width="284" height="31"/>
                </slider>
                <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="2" minValue="0.0" maxValue="4" translatesAutoresizingMaskIntoConstraints="NO" id="12">
                    <rect key="frame" x="18" y="416" width="284" height="31"/>
                </slider>
                <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="1.5" minValue="0.5" maxValue="4" translatesAutoresizingMaskIntoConstraints="NO" id="13">
                    <rect key="frame" x="97.5" y="225" width="204.5" height="31"/>
                </slider>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="15">
                    <rect key="frame" x="116" y="119" width="88" height="30"/>
                    <state key="normal" title="Value Button">
                        <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    </state>
                </button>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="16">
                    <rect key="frame" x="116" y="157" width="88" height="30"/>
                    <state key="normal" title="Event Button">
                        <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    </state>
                    <connections>
                        <action selector="eventButtonHit:" destination="-1" eventType="touchDown" id="28"/>
                    </connections>
                </button>
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Duration" lineBreakMode="tailTruncation" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="14">
                    <rect key="frame" x="26" y="230" width="65.5" height="21"/>
                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
                    <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
                    <nil key="highlightedColor"/>
                </label>
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xzW-om-aJP">
                    <rect key="frame" x="16" y="83" width="25" height="25"/>
                    <constraints>
                        <constraint firstAttribute="height" constant="25" id="UPK-O2-GF0"/>
                        <constraint firstAttribute="width" constant="25" id="eyW-j4-aMa"/>
                    </constraints>
                    <state key="normal" title="i" image="InfoButton"/>
                    <connections>
                        <action selector="showInfo:" destination="-1" eventType="touchUpInside" id="SJy-Vp-mQ7"/>
                    </connections>
                </button>
            </subviews>
            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
            <constraints>
                <constraint firstItem="15" firstAttribute="top" secondItem="5" secondAttribute="bottom" constant="8" id="5oF-B3-CZT"/>
                <constraint firstAttribute="trailing" secondItem="8" secondAttribute="trailing" constant="20" id="6CE-YE-lPO"/>
                <constraint firstItem="5" firstAttribute="top" secondItem="1" secondAttribute="top" constant="80" id="6pH-li-Kyf"/>
                <constraint firstItem="11" firstAttribute="top" secondItem="10" secondAttribute="bottom" constant="2" id="88r-X4-QgT"/>
                <constraint firstItem="16" firstAttribute="top" secondItem="15" secondAttribute="bottom" constant="8" id="EMF-pS-lTz"/>
                <constraint firstItem="8" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" id="Fao-1e-rmJ"/>
                <constraint firstAttribute="trailing" secondItem="13" secondAttribute="trailing" constant="20" id="FvL-Sq-nAA"/>
                <constraint firstAttribute="bottom" secondItem="12" secondAttribute="bottom" constant="34" id="Nxv-yb-tIQ"/>
                <constraint firstItem="15" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="PL0-sC-NsO"/>
                <constraint firstItem="10" firstAttribute="top" secondItem="8" secondAttribute="bottom" constant="2" id="QEb-FN-uvb"/>
                <constraint firstItem="13" firstAttribute="centerY" secondItem="1" secondAttribute="centerY" id="ReW-ug-ZI7"/>
                <constraint firstItem="16" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="RsJ-aa-2Ki"/>
                <constraint firstItem="14" firstAttribute="centerY" secondItem="13" secondAttribute="centerY" id="T9l-yd-gDP"/>
                <constraint firstItem="xzW-om-aJP" firstAttribute="centerY" secondItem="5" secondAttribute="centerY" id="aOQ-JC-YvX"/>
                <constraint firstAttribute="trailing" secondItem="11" secondAttribute="trailing" constant="20" id="bhf-uB-IEY"/>
                <constraint firstItem="11" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" id="btH-FK-qee"/>
                <constraint firstItem="12" firstAttribute="top" secondItem="11" secondAttribute="bottom" constant="2" id="c9g-ub-Y0R"/>
                <constraint firstItem="8" firstAttribute="top" secondItem="9" secondAttribute="bottom" constant="9" id="cV4-WW-MoV"/>
                <constraint firstItem="9" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="cYG-Eh-vjj"/>
                <constraint firstItem="10" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" id="cgo-bg-Fcw"/>
                <constraint firstAttribute="trailing" secondItem="12" secondAttribute="trailing" constant="20" id="g6B-9V-nxF"/>
                <constraint firstItem="13" firstAttribute="leading" secondItem="14" secondAttribute="trailing" constant="8" id="g8S-vM-NWj"/>
                <constraint firstItem="12" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" id="lLi-o9-EtR"/>
                <constraint firstAttribute="trailing" secondItem="10" secondAttribute="trailing" constant="20" id="oTM-0h-b7p"/>
                <constraint firstItem="5" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="ql8-yb-qYt"/>
                <constraint firstItem="14" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="26" id="tfg-cM-aFz"/>
                <constraint firstItem="xzW-om-aJP" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="16" id="yoM-75-aFn"/>
            </constraints>
            <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
        </view>
    </objects>
    <resources>
        <image name="InfoButton" width="25" height="25"/>
    </resources>
    <simulatedMetricsContainer key="defaultSimulatedMetrics">
        <simulatedStatusBarMetrics key="statusBar"/>
        <simulatedOrientationMetrics key="orientation"/>
        <simulatedScreenMetrics key="destination" type="retina4_7.fullscreen"/>
    </simulatedMetricsContainer>
</document>