project_files/HedgewarsMobile/Classes/RestoreViewController-iPhone.xib
author Wuzzy <Wuzzy2@mail.ru>
Fri, 09 Mar 2018 19:05:59 +0100
changeset 13145 5083fb0a2992
parent 11232 0425d60cd046
permissions -rw-r--r--
A Classic Fairytale: Harden all missions against missing campaign variables in team file and assume default values This assumes the worst case in which the team file is missing all campaign variables except Progress. This has been successfully tested with all 10 missions and still generates a logical storyline. By default, the game assumes: - The cyborg's offer in mission 2 was refused - The traitor in mission 5 was killed As a consequence, missions 8 and 10 use the princessScene cut scene.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
     2
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     3
    <dependencies>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     4
        <deployment identifier="iOS"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     5
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     6
    </dependencies>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     7
    <objects>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     8
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RestoreViewController">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
     9
            <connections>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    10
                <outlet property="dismissButton" destination="8" id="0AU-TL-3aN"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    11
                <outlet property="restoreButton" destination="10" id="V8J-Ke-DQd"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    12
                <outlet property="view" destination="1" id="3"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    13
            </connections>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    14
        </placeholder>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    15
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    16
        <view contentMode="center" id="1">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    17
            <rect key="frame" x="0.0" y="0.0" width="480" height="320"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    18
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    19
            <subviews>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    20
                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="smallerBackground.png" id="15">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    21
                    <rect key="frame" x="0.0" y="0.0" width="480" height="320"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    22
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    23
                    <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    24
                </imageView>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    25
                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="denied.png" id="5">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    26
                    <rect key="frame" x="20" y="20" width="240" height="160"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    27
                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    28
                    <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    29
                </imageView>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    30
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Hmm..." textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" id="6" customClass="LabelWithIBLocalization">
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    31
                    <rect key="frame" x="268" y="32" width="192" height="29"/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    32
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    33
                    <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    34
                    <fontDescription key="fontDescription" name="Helvetica-Bold" family="Helvetica" pointSize="24"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    35
                    <color key="textColor" red="1" green="0.82745105029999999" blue="0.0" alpha="1" colorSpace="deviceRGB"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    36
                    <color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    37
                </label>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    38
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="It appears you didn't complete your last game!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="4" minimumFontSize="10" id="7" customClass="LabelWithIBLocalization">
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    39
                    <rect key="frame" x="268" y="74" width="192" height="70"/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    40
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" heightSizable="YES" flexibleMaxY="YES"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    41
                    <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    42
                    <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="18"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    43
                    <color key="textColor" red="0.90196079019999997" green="0.90196079019999997" blue="0.90196079019999997" alpha="1" colorSpace="calibratedRGB"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    44
                    <color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    45
                </label>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    46
                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="8">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    47
                    <rect key="frame" x="53" y="229" width="151" height="37"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    48
                    <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    49
                    <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    50
                    <fontDescription key="fontDescription" name="Helvetica-Bold" family="Helvetica" pointSize="15"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    51
                    <state key="normal" title="Dismiss">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    52
                        <color key="titleColor" red="0.0" green="0.0" blue="0.50196081400000003" alpha="1" colorSpace="calibratedRGB"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    53
                        <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    54
                    </state>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    55
                    <connections>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    56
                        <action selector="buttonReleased:" destination="-1" eventType="touchUpInside" id="12"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    57
                    </connections>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    58
                </button>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    59
                <button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="10">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    60
                    <rect key="frame" x="277" y="229" width="151" height="37"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    61
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    62
                    <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    63
                    <fontDescription key="fontDescription" name="Helvetica-Bold" family="Helvetica" pointSize="15"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    64
                    <state key="normal" title="Restore">
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    65
                        <color key="titleColor" red="0.0" green="0.0" blue="0.50196081400000003" alpha="1" colorSpace="calibratedRGB"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    66
                        <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    67
                    </state>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    68
                    <connections>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    69
                        <action selector="buttonReleased:" destination="-1" eventType="touchUpInside" id="11"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    70
                    </connections>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    71
                </button>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    72
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Would you like to restore it?" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="4" minimumFontSize="10" id="GnJ-yZ-dpc" customClass="LabelWithIBLocalization">
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    73
                    <rect key="frame" x="268" y="152" width="192" height="59"/>
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    74
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" heightSizable="YES" flexibleMaxY="YES"/>
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    75
                    <animations/>
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    76
                    <fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="18"/>
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    77
                    <color key="textColor" red="0.90196079019999997" green="0.90196079019999997" blue="0.90196079019999997" alpha="1" colorSpace="calibratedRGB"/>
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    78
                    <color key="highlightedColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    79
                </label>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    80
            </subviews>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    81
            <animations/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    82
            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    83
            <nil key="simulatedStatusBarMetrics"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    84
            <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    85
            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
11232
0425d60cd046 - Localization for missed strings in RestoreViewController (for eng(as reference) and rus)
antonc27 <antonc27@mail.ru>
parents: 11205
diff changeset
    86
            <point key="canvasLocation" x="870" y="246"/>
11205
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    87
        </view>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    88
    </objects>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    89
    <resources>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    90
        <image name="denied.png" width="240" height="160"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    91
        <image name="smallerBackground.png" width="480" height="320"/>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    92
    </resources>
9fd7b8d3cf4d - Button's restyling for RestoreViewController
antonc27 <antonc27@mail.ru>
parents: 6708
diff changeset
    93
</document>