mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
outgoing call and stuff
This commit is contained in:
parent
96a0c6cf80
commit
598259f055
29 changed files with 390 additions and 521 deletions
|
|
@ -47,7 +47,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="9" userLabel="selectAllButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="200.00000466240755" y="0.0" width="72" height="40"/>
|
||||
<rect key="frame" x="200.00000092562476" y="0.0" width="72" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Edit"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ContactDetailsViewController">
|
||||
<connections>
|
||||
<outlet property="backButton" destination="9" id="50"/>
|
||||
<outlet property="cancelButton" destination="47" id="51"/>
|
||||
<outlet property="editButton" destination="8" id="31"/>
|
||||
<outlet property="tableController" destination="20" id="27"/>
|
||||
<outlet property="view" destination="1" id="3"/>
|
||||
|
|
@ -20,70 +19,53 @@
|
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="4" userLabel="toolBar">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="toolsbar_background.png" id="52" userLabel="barBackground">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
</imageView>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="9" userLabel="backButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="160" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="9" userLabel="backButton" customClass="UIIconButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="72" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Back"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Back" backgroundImage="contact_back_default.png">
|
||||
<state key="normal" image="back.png">
|
||||
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="contact_back_over.png"/>
|
||||
<connections>
|
||||
<action selector="onBackClick:" destination="-1" eventType="touchUpInside" id="10"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="47" userLabel="cancelButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="160" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Cancel"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Cancel" backgroundImage="contact_cancel_default.png">
|
||||
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="contact_cancel_over.png">
|
||||
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="onCancelClick:" destination="-1" eventType="touchUpInside" id="49"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" lineBreakMode="middleTruncation" id="8" userLabel="editButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="200" y="0.0" width="160" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="8" userLabel="editButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="288" y="0.0" width="72" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Edit"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Edit" backgroundImage="contact_edit_default.png">
|
||||
<state key="normal" image="edit_detail.png">
|
||||
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled">
|
||||
<color key="titleColor" red="0.80784314869999996" green="0.8156862855" blue="0.82352942230000004" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" title="Ok" backgroundImage="contact_ok_default.png">
|
||||
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="contact_edit_over.png">
|
||||
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="onEditClick:" destination="-1" eventType="touchUpInside" id="30"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="MuB-yy-R9o" userLabel="deleteButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="216" y="0.0" width="72" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Edit"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="18" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" image="delete.png">
|
||||
<color key="titleColor" red="0.35686274509999999" green="0.39607843139999999" blue="0.43529411759999997" alpha="1" colorSpace="deviceRGB"/>
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<connections>
|
||||
<action selector="onEditClick:" destination="-1" eventType="touchUpInside" id="3ff-r3-2d1"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<color key="backgroundColor" red="0.89411764709999997" green="0.89411764709999997" blue="0.89411764709999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" allowsSelectionDuringEditing="YES" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="19" userLabel="tableView">
|
||||
<rect key="frame" x="0.0" y="44" width="360" height="493"/>
|
||||
|
|
@ -124,14 +106,9 @@
|
|||
</viewController>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="contact_back_default.png" width="320" height="88"/>
|
||||
<image name="contact_back_over.png" width="320" height="88"/>
|
||||
<image name="contact_cancel_default.png" width="320" height="88"/>
|
||||
<image name="contact_cancel_over.png" width="320" height="88"/>
|
||||
<image name="contact_edit_default.png" width="320" height="88"/>
|
||||
<image name="contact_edit_over.png" width="320" height="88"/>
|
||||
<image name="contact_ok_default.png" width="320" height="88"/>
|
||||
<image name="toolsbar_background.png" width="5" height="88"/>
|
||||
<image name="back.png" width="71" height="64"/>
|
||||
<image name="delete.png" width="64" height="82"/>
|
||||
<image name="edit_detail.png" width="84" height="85"/>
|
||||
</resources>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
|
|
|
|||
|
|
@ -232,11 +232,10 @@
|
|||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Add to contact"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="add_contact.png" backgroundImage="color_C.png">
|
||||
<state key="normal" image="add_contact.png" backgroundImage="color_F.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="color_C.png"/>
|
||||
<state key="highlighted" backgroundImage="color_A.png"/>
|
||||
<state key="highlighted" backgroundImage="color_E.png"/>
|
||||
<connections>
|
||||
<action selector="onAddContactClick:" destination="-1" eventType="touchUpInside" id="230"/>
|
||||
</connections>
|
||||
|
|
@ -246,11 +245,10 @@
|
|||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Back"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" backgroundImage="color_C.png">
|
||||
<state key="normal" backgroundImage="color_F.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="color_C.png"/>
|
||||
<state key="highlighted" backgroundImage="color_A.png"/>
|
||||
<state key="highlighted" backgroundImage="color_E.png"/>
|
||||
<connections>
|
||||
<action selector="onBackClick:" destination="-1" eventType="touchUpInside" id="233"/>
|
||||
</connections>
|
||||
|
|
@ -260,11 +258,10 @@
|
|||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Call"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="add_call.png" backgroundImage="color_C.png">
|
||||
<state key="normal" image="add_call.png" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="color_C.png"/>
|
||||
<state key="highlighted" backgroundImage="color_A.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<outlet property="addressField" destination="4" id="235"/>
|
||||
</connections>
|
||||
|
|
@ -274,11 +271,10 @@
|
|||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Add call"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" backgroundImage="color_C.png">
|
||||
<state key="normal" backgroundImage="color_F.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="color_C.png"/>
|
||||
<state key="highlighted" backgroundImage="color_A.png"/>
|
||||
<state key="highlighted" backgroundImage="color_E.png"/>
|
||||
<connections>
|
||||
<outlet property="addressField" destination="4" id="234"/>
|
||||
</connections>
|
||||
|
|
@ -288,11 +284,10 @@
|
|||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Transfer call"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" backgroundImage="color_C.png">
|
||||
<state key="normal" backgroundImage="color_F.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="color_C.png"/>
|
||||
<state key="highlighted" backgroundImage="color_A.png"/>
|
||||
<state key="highlighted" backgroundImage="color_E.png"/>
|
||||
<connections>
|
||||
<outlet property="addressField" destination="4" id="237"/>
|
||||
</connections>
|
||||
|
|
@ -312,7 +307,9 @@
|
|||
<image name="add_contact.png" width="101" height="86"/>
|
||||
<image name="backspace.png" width="106" height="56"/>
|
||||
<image name="color_A.png" width="1" height="1"/>
|
||||
<image name="color_C.png" width="1" height="1"/>
|
||||
<image name="color_E.png" width="1" height="1"/>
|
||||
<image name="color_F.png" width="1" height="1"/>
|
||||
<image name="color_L.png" width="1" height="1"/>
|
||||
<image name="numpad_eight_default.png" width="220" height="113"/>
|
||||
<image name="numpad_eight_over.png" width="220" height="113"/>
|
||||
<image name="numpad_five_default.png" width="220" height="113"/>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</accessibility>
|
||||
</view>
|
||||
<view contentMode="scaleAspectFit" id="127" userLabel="preview">
|
||||
<rect key="frame" x="244" y="378.99999981308486" width="108" height="150"/>
|
||||
<rect key="frame" x="244.00000014128503" y="378.99999962111264" width="108" height="150"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
|
|
@ -89,8 +89,8 @@
|
|||
</tableViewController>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="switch_camera_default.png" width="151" height="51"/>
|
||||
<image name="switch_camera_over.png" width="151" height="51"/>
|
||||
<image name="switch_camera_default.png" width="151" height="149"/>
|
||||
<image name="switch_camera_over.png" width="151" height="149"/>
|
||||
</resources>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
|
|
|
|||
126
Classes/Base.lproj/OutgoingCallViewController.xib
Normal file
126
Classes/Base.lproj/OutgoingCallViewController.xib
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OutgoingCallViewController">
|
||||
<connections>
|
||||
<outlet property="addressLabel" destination="9" id="14"/>
|
||||
<outlet property="avatarImage" destination="19" id="20"/>
|
||||
<outlet property="portraitView" destination="25" id="32"/>
|
||||
<outlet property="view" destination="25" id="26"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="25">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="537"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view tag="1" contentMode="scaleToFill" id="8">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="461"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" tag="2" contentMode="scaleToFill" image="cell_call_first.png" id="21" userLabel="addressBackgroundImage">
|
||||
<rect key="frame" x="0.0" y="49" width="360" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" tag="3" contentMode="scaleToFill" image="header_incoming.png" id="12" userLabel="headerBackground">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="68"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="">
|
||||
<accessibilityTraits key="traits" none="YES" image="YES" notEnabled="YES"/>
|
||||
</accessibility>
|
||||
</imageView>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="4" contentMode="left" text="Incoming call" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="31" userLabel="headerLabel">
|
||||
<rect key="frame" x="20" y="0.0" width="320" height="50"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Incoming call"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="27"/>
|
||||
<color key="textColor" red="0.7254902124" green="0.76862746479999999" blue="0.79607844350000001" alpha="1" colorSpace="deviceRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label autoresizesSubviews="NO" opaque="NO" userInteractionEnabled="NO" tag="5" contentMode="left" text="0102030405" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="9" userLabel="addressLabel">
|
||||
<rect key="frame" x="10" y="53" width="340" height="51"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Contact name"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="30"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" tag="6" contentMode="scaleToFill" image="avatar_shadow.png" id="18" userLabel="avatarShadowImage">
|
||||
<rect key="frame" x="20" y="96" width="320" height="262"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" tag="7" contentMode="scaleToFill" image="avatar_unknown.png" id="19" userLabel="avatarImage">
|
||||
<rect key="frame" x="100" y="113" width="160" height="170"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Contact avatar">
|
||||
<accessibilityTraits key="traits" none="YES" image="YES" notEnabled="YES"/>
|
||||
<bool key="isElement" value="YES"/>
|
||||
</accessibility>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view tag="10" contentMode="scaleToFill" id="4" userLabel="tabBar">
|
||||
<rect key="frame" x="0.0" y="460" width="360" height="77"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<view hidden="YES" userInteractionEnabled="NO" tag="-1" contentMode="scaleToFill" id="5" userLabel="mask">
|
||||
<rect key="frame" x="0.0" y="10" width="360" height="67"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<button opaque="NO" tag="11" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="7" userLabel="acceptButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="180" height="77"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" heightSizable="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Accept"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" backgroundImage="accept_default.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="accept_over.png"/>
|
||||
<connections>
|
||||
<action selector="onAcceptClick:" destination="-1" eventType="touchUpInside" id="15"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="12" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="6" userLabel="declineButton">
|
||||
<rect key="frame" x="180" y="0.0" width="180" height="77"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" heightSizable="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Decline"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" backgroundImage="decline_default.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="decline_over.png"/>
|
||||
<connections>
|
||||
<action selector="onDeclineClick:" destination="-1" eventType="touchUpInside" id="16"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="accept_default.png" width="320" height="154"/>
|
||||
<image name="accept_over.png" width="320" height="154"/>
|
||||
<image name="avatar_shadow.png" width="640" height="523"/>
|
||||
<image name="avatar_unknown.png" width="320" height="339"/>
|
||||
<image name="cell_call_first.png" width="640" height="125"/>
|
||||
<image name="decline_default.png" width="320" height="154"/>
|
||||
<image name="decline_over.png" width="320" height="154"/>
|
||||
<image name="header_incoming.png" width="640" height="135"/>
|
||||
</resources>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination" type="retina4"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
||||
|
|
@ -41,12 +41,6 @@
|
|||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
// Set selected+over background: IB lack !
|
||||
[editButton setBackgroundImage:[UIImage imageNamed:@"chat_ok_over.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
[LinphoneUtils buttonFixStates:editButton];
|
||||
|
||||
[tableController.tableView setBackgroundColor:[UIColor clearColor]]; // Can't do it in Xib: issue with ios4
|
||||
[tableController.tableView setBackgroundView:nil]; // Can't do it in Xib: issue with ios4
|
||||
}
|
||||
|
|
|
|||
|
|
@ -148,9 +148,8 @@ static void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef info
|
|||
}
|
||||
|
||||
- (void)addCurrentContactContactField:(NSString *)address {
|
||||
|
||||
LinphoneAddress *linphoneAddress =
|
||||
linphone_address_new([address cStringUsingEncoding:[NSString defaultCStringEncoding]]);
|
||||
LinphoneAddress *linphoneAddress = linphone_core_interpret_url(
|
||||
[LinphoneManager getLc], [address cStringUsingEncoding:[NSString defaultCStringEncoding]]);
|
||||
NSString *username = [NSString stringWithUTF8String:linphone_address_get_username(linphoneAddress)];
|
||||
|
||||
if (([username rangeOfString:@"@"].length > 0) &&
|
||||
|
|
@ -195,16 +194,6 @@ static void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef info
|
|||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
// Set selected+over background: IB lack !
|
||||
[editButton setBackgroundImage:[UIImage imageNamed:@"contact_ok_over.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
// Set selected+disabled background: IB lack !
|
||||
[editButton setBackgroundImage:[UIImage imageNamed:@"contact_ok_disabled.png"]
|
||||
forState:(UIControlStateDisabled | UIControlStateSelected)];
|
||||
|
||||
[LinphoneUtils buttonFixStates:editButton];
|
||||
|
||||
[tableController.tableView setBackgroundColor:[UIColor clearColor]]; // Can't do it in Xib: issue with ios4
|
||||
[tableController.tableView setBackgroundView:nil]; // Can't do it in Xib: issue with ios4
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,9 +90,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[HistoryDetailsViewController adaptSize:durationHeaderLabel field:durationLabel];
|
||||
[HistoryDetailsViewController adaptSize:typeHeaderLabel field:typeLabel];
|
||||
[HistoryDetailsViewController adaptSize:plainAddressHeaderLabel field:plainAddressLabel];
|
||||
[addContactButton.titleLabel setAdjustsFontSizeToFitWidth:TRUE]; // Auto shrink: IB lack!
|
||||
[callButton.titleLabel setAdjustsFontSizeToFitWidth:TRUE]; // Auto shrink: IB lack!
|
||||
[messageButton.titleLabel setAdjustsFontSizeToFitWidth:TRUE]; // Auto shrink: IB lack!
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
|
|
|
|||
|
|
@ -82,24 +82,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[super viewDidLoad];
|
||||
[self changeView:History_All];
|
||||
|
||||
// Set selected+over background: IB lack !
|
||||
[editButton setBackgroundImage:[UIImage imageNamed:@"history_ok_over.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
[LinphoneUtils buttonFixStates:editButton];
|
||||
|
||||
// Set selected+over background: IB lack !
|
||||
[allButton setBackgroundImage:[UIImage imageNamed:@"history_all_selected.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
[LinphoneUtils buttonFixStatesForTabs:allButton];
|
||||
|
||||
// Set selected+over background: IB lack !
|
||||
[missedButton setBackgroundImage:[UIImage imageNamed:@"history_missed_selected.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
[LinphoneUtils buttonFixStatesForTabs:missedButton];
|
||||
|
||||
[tableController.tableView setBackgroundColor:[UIColor clearColor]]; // Can't do it in Xib: issue with ios4
|
||||
[tableController.tableView setBackgroundView:nil]; // Can't do it in Xib: issue with ios4
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
<outlet property="fourButton" destination="69" id="77"/>
|
||||
<outlet property="hangupButton" destination="7" id="29"/>
|
||||
<outlet property="landscapeView" destination="100" id="137"/>
|
||||
<outlet property="leftPadding" destination="ft8-yH-2Ta" id="zp9-XP-bDv"/>
|
||||
<outlet property="microButton" destination="11" id="14"/>
|
||||
<outlet property="nineButton" destination="66" id="78"/>
|
||||
<outlet property="oneButton" destination="73" id="79"/>
|
||||
|
|
@ -25,7 +24,6 @@
|
|||
<outlet property="padView" destination="31" id="45"/>
|
||||
<outlet property="pauseButton" destination="8" id="15"/>
|
||||
<outlet property="portraitView" destination="4" id="138"/>
|
||||
<outlet property="rightPadding" destination="145" id="cgI-HK-3gA"/>
|
||||
<outlet property="routesBluetoothButton" destination="174" id="203"/>
|
||||
<outlet property="routesButton" destination="164" id="202"/>
|
||||
<outlet property="routesReceiverButton" destination="169" id="204"/>
|
||||
|
|
@ -48,11 +46,15 @@
|
|||
<rect key="frame" x="0.0" y="0.0" width="360" height="537"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<view hidden="YES" autoresizesSubviews="NO" opaque="NO" clearsContextBeforeDrawing="NO" userInteractionEnabled="NO" tag="-1" contentMode="scaleToFill" id="5" userLabel="mask">
|
||||
<rect key="frame" x="20" y="335" width="320" height="125"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" red="0.0" green="1" blue="0.19194547549999999" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</view>
|
||||
<button opaque="NO" tag="24" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="8" userLabel="pauseButton" customClass="UIPauseButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Pause"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<view tag="1" contentMode="scaleToFill" id="31" userLabel="padView">
|
||||
<rect key="frame" x="41" y="57" width="281" height="260"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
|
|
@ -305,179 +307,114 @@
|
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view tag="18" contentMode="scaleToFill" id="30" userLabel="buttons">
|
||||
<rect key="frame" x="20" y="325" width="320" height="135"/>
|
||||
<rect key="frame" x="0.0" y="411" width="360" height="126"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" tag="60" contentMode="scaleToFill" image="incall_padding_left.png" id="ft8-yH-2Ta" userLabel="leftPadding">
|
||||
<rect key="frame" x="-47" y="-11" width="47" height="146"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" tag="61" contentMode="scaleToFill" image="incall_padding_right.png" id="145" userLabel="rightPadding">
|
||||
<rect key="frame" x="320" y="-11" width="47" height="146"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
</imageView>
|
||||
<button opaque="NO" tag="19" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="12" userLabel="videoButton" customClass="UIVideoButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="80" height="67"/>
|
||||
<button opaque="NO" tag="19" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="12" userLabel="videoButton" customClass="UIVideoButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Video"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="38" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Video" backgroundImage="video_off_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="video_off_disabled.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="video_on_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="video_off_over.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<outlet property="waitView" destination="59" id="60"/>
|
||||
</connections>
|
||||
</button>
|
||||
<activityIndicatorView hidden="YES" opaque="NO" tag="20" contentMode="scaleToFill" hidesWhenStopped="YES" style="whiteLarge" id="59" userLabel="videoWaitView">
|
||||
<rect key="frame" x="20" y="20" width="37" height="37"/>
|
||||
<rect key="frame" x="26" y="20" width="37" height="37"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
</activityIndicatorView>
|
||||
<button opaque="NO" tag="21" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="11" userLabel="microButton" customClass="UIMicroButton">
|
||||
<rect key="frame" x="80" y="0.0" width="80" height="67"/>
|
||||
<button opaque="NO" tag="21" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="11" userLabel="microButton" customClass="UIMicroButton">
|
||||
<rect key="frame" x="90" y="0.0" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Micro"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="38" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Micro" backgroundImage="micro_off_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="micro_off_disabled.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="micro_on_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="micro_off_over.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="22" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="9" userLabel="speakerButton" customClass="UISpeakerButton">
|
||||
<rect key="frame" x="160" y="0.0" width="80" height="67"/>
|
||||
<button opaque="NO" tag="22" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="9" userLabel="speakerButton" customClass="UISpeakerButton">
|
||||
<rect key="frame" x="180" y="0.0" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Speaker"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="38" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Speaker" backgroundImage="speaker_off_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="speaker_off_disabled.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="speaker_on_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="speaker_off_over.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="29" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="164" userLabel="routesButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="160" y="0.0" width="80" height="67"/>
|
||||
<button opaque="NO" tag="29" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="164" userLabel="routesButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="180" y="0.0" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Route"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="38" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Route" backgroundImage="routes_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="routes_disabled.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="routes_selected.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="routes_over.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onRoutesClick:" destination="-1" eventType="touchUpInside" id="211"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="23" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="10" userLabel="optionsButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="240" y="0.0" width="80" height="67"/>
|
||||
<button opaque="NO" tag="23" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="10" userLabel="optionsButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="270" y="0.0" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Options"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="38" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Options" backgroundImage="options_default.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="options_disabled.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="options_selected.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="options_over.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onOptionsClick:" destination="-1" eventType="touchUpInside" id="20"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="24" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="8" userLabel="pauseButton" customClass="UIPauseButton">
|
||||
<rect key="frame" x="0.0" y="67" width="105" height="68"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Pause"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="pause_off_default.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" image="pause_on_default.png"/>
|
||||
<state key="highlighted" image="pause_off_over.png"/>
|
||||
</button>
|
||||
<button hidden="YES" opaque="NO" tag="25" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="21" userLabel="conferenceButton">
|
||||
<rect key="frame" x="0.0" y="67" width="105" height="68"/>
|
||||
<button hidden="YES" opaque="NO" tag="25" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="21" userLabel="conferenceButton" customClass="UIIconButton">
|
||||
<rect key="frame" x="0.0" y="63" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Start conference"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="conference_default.png">
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" image="conference_over.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onConferenceClick:" destination="-1" eventType="touchUpInside" id="28"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="26" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="7" userLabel="hangupButton" customClass="UIHangUpButton">
|
||||
<rect key="frame" x="105" y="67" width="111" height="68"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Hangup"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="hangup_default.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" image="hangup_over.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="27" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="6" userLabel="dialerButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="215" y="67" width="105" height="68"/>
|
||||
<button opaque="NO" tag="27" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="6" userLabel="dialerButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="0.0" y="63" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Back"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="dialer_alt_default.png">
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" image="dialer_alt_disabled.png"/>
|
||||
<state key="selected" image="dialer_alt_back_default.png"/>
|
||||
<state key="highlighted" image="dialer_alt_over.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onPadClick:" destination="-1" eventType="touchUpInside" id="46"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="26" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="7" userLabel="hangupButton" customClass="UIHangUpButton">
|
||||
<rect key="frame" x="69" y="26" width="222" height="136"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Hangup"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="26" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="XvY-Bn-Oh0" userLabel="chatButton" customClass="UIIconButton">
|
||||
<rect key="frame" x="270" y="63" width="90" height="63"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Hangup"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
|
|
@ -485,16 +422,12 @@
|
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<point key="canvasLocation" x="170" y="-104.5"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="100" userLabel="Landscape View" customClass="UITransparentView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="537" height="360"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<view hidden="YES" autoresizesSubviews="NO" opaque="NO" clearsContextBeforeDrawing="NO" userInteractionEnabled="NO" tag="-1" contentMode="scaleToFill" id="104" userLabel="mask">
|
||||
<rect key="frame" x="29" y="248" width="480" height="72"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" red="0.0" green="1" blue="0.19194547549999999" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</view>
|
||||
<view tag="1" contentMode="scaleToFill" id="102" userLabel="padView">
|
||||
<rect key="frame" x="117" y="0.0" width="281" height="260"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
|
|
@ -729,33 +662,15 @@
|
|||
<rect key="frame" x="29" y="238" width="480" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" tag="60" contentMode="scaleToFill" image="incall_padding_left_landscape.png" id="143" userLabel="leftPadding">
|
||||
<rect key="frame" x="-128" y="-24" width="128" height="106"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" tag="61" contentMode="scaleToFill" image="incall_padding_right_landscape.png" id="144" userLabel="rightPadding">
|
||||
<rect key="frame" x="480" y="-24" width="128" height="106"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
</imageView>
|
||||
<button opaque="NO" tag="19" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="113" userLabel="videoButton" customClass="UIVideoButton">
|
||||
<button opaque="NO" tag="19" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="113" userLabel="videoButton" customClass="UIVideoButton">
|
||||
<rect key="frame" x="65" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="24" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Video" backgroundImage="video_off_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="video_off_disabled_landscape.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="video_on_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="video_off_over_landscape.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<outlet property="waitView" destination="105" id="129"/>
|
||||
</connections>
|
||||
|
|
@ -764,134 +679,87 @@
|
|||
<rect key="frame" x="79" y="20" width="37" height="37"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
</activityIndicatorView>
|
||||
<button opaque="NO" tag="21" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="112" userLabel="microButton" customClass="UIMicroButton">
|
||||
<button opaque="NO" tag="21" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="112" userLabel="microButton" customClass="UIMicroButton">
|
||||
<rect key="frame" x="130" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="24" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Micro" backgroundImage="micro_off_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="micro_off_disabled_landscape.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="micro_on_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="micro_off_over_landscape.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="22" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="111" userLabel="speakerButton" customClass="UISpeakerButton">
|
||||
<button opaque="NO" tag="22" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="111" userLabel="speakerButton" customClass="UISpeakerButton">
|
||||
<rect key="frame" x="285" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="24" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Speaker" backgroundImage="speaker_off_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="speaker_off_disabled_landscape.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="speaker_on_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="speaker_off_over_landscape.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="29" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="183" userLabel="routesButton" customClass="UIToggleButton">
|
||||
<button opaque="NO" tag="29" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="183" userLabel="routesButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="285" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="24" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Route" backgroundImage="routes_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="routes_disabled_landscape.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="routes_selected_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="routes_over_landscape.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="23" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="110" userLabel="optionsButton" customClass="UIToggleButton">
|
||||
<button opaque="NO" tag="23" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="110" userLabel="optionsButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="350" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<inset key="titleEdgeInsets" minX="0.0" minY="24" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="Options" backgroundImage="options_default_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" backgroundImage="options_disabled_landscape.png">
|
||||
<color key="titleColor" red="0.65098039220000004" green="0.70196078429999997" blue="0.74901960779999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="selected" backgroundImage="options_selected_landscape.png">
|
||||
<color key="titleColor" red="0.25490196079999999" green="0.28235294119999998" blue="0.30980392159999998" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="options_over_landscape.png">
|
||||
<color key="titleColor" red="0.81176470590000005" green="0.29803921570000003" blue="0.16078431369999999" alpha="1" colorSpace="deviceRGB"/>
|
||||
</state>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onOptionsClick:" destination="-1" eventType="touchUpInside" id="134"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="24" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="109" userLabel="pauseButton" customClass="UIPauseButton">
|
||||
<button opaque="NO" tag="24" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="109" userLabel="pauseButton" customClass="UIPauseButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="pause_off_default_landscape.png">
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="selected" image="pause_on_default_landscape.png"/>
|
||||
<state key="highlighted" image="pause_off_over_landscape.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button hidden="YES" opaque="NO" tag="25" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="108" userLabel="conferenceButton">
|
||||
<button hidden="YES" opaque="NO" tag="25" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="108" userLabel="conferenceButton" customClass="UIIconButton">
|
||||
<rect key="frame" x="0.0" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="conference_default_landscape.png">
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" image="conference_over_landscape.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onConferenceClick:" destination="-1" eventType="touchUpInside" id="135"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" tag="26" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="107" userLabel="hangupButton" customClass="UIHangUpButton">
|
||||
<button opaque="NO" tag="26" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="107" userLabel="hangupButton" customClass="UIHangUpButton">
|
||||
<rect key="frame" x="195" y="0.0" width="90" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="hangup_default_landscape.png">
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="highlighted" image="hangup_over_landscape.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
</button>
|
||||
<button opaque="NO" tag="27" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" adjustsImageWhenHighlighted="NO" adjustsImageWhenDisabled="NO" lineBreakMode="middleTruncation" id="106" userLabel="dialerButton" customClass="UIToggleButton">
|
||||
<button opaque="NO" tag="27" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="106" userLabel="dialerButton" customClass="UIToggleButton">
|
||||
<rect key="frame" x="415" y="0.0" width="65" height="82"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label=""/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<state key="normal" image="dialer_alt_default_landscape.png">
|
||||
<state key="normal" backgroundImage="color_A.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
<state key="disabled" image="dialer_alt_default_landscape.png"/>
|
||||
<state key="selected" image="dialer_alt_back_default_landscape.png"/>
|
||||
<state key="highlighted" image="dialer_alt_over_landscape.png"/>
|
||||
<state key="highlighted" backgroundImage="color_L.png"/>
|
||||
<connections>
|
||||
<action selector="onPadClick:" destination="-1" eventType="touchUpInside" id="132"/>
|
||||
</connections>
|
||||
|
|
@ -904,38 +772,13 @@
|
|||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<point key="canvasLocation" x="295" y="-146"/>
|
||||
<point key="canvasLocation" x="660.5" y="-175"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="conference_default.png" width="209" height="136"/>
|
||||
<image name="conference_default_landscape.png" width="130" height="163"/>
|
||||
<image name="conference_over.png" width="209" height="136"/>
|
||||
<image name="conference_over_landscape.png" width="130" height="163"/>
|
||||
<image name="dialer_alt_back_default.png" width="209" height="136"/>
|
||||
<image name="dialer_alt_back_default_landscape.png" width="130" height="163"/>
|
||||
<image name="color_A.png" width="1" height="1"/>
|
||||
<image name="color_L.png" width="1" height="1"/>
|
||||
<image name="dialer_alt_background.png" width="530" height="526"/>
|
||||
<image name="dialer_alt_default.png" width="209" height="136"/>
|
||||
<image name="dialer_alt_default_landscape.png" width="130" height="163"/>
|
||||
<image name="dialer_alt_disabled.png" width="209" height="136"/>
|
||||
<image name="dialer_alt_over.png" width="209" height="136"/>
|
||||
<image name="dialer_alt_over_landscape.png" width="130" height="163"/>
|
||||
<image name="hangup_default.png" width="222" height="136"/>
|
||||
<image name="hangup_default_landscape.png" width="180" height="163"/>
|
||||
<image name="hangup_over.png" width="222" height="136"/>
|
||||
<image name="hangup_over_landscape.png" width="180" height="163"/>
|
||||
<image name="incall_padding_left.png" width="94" height="292"/>
|
||||
<image name="incall_padding_left_landscape.png" width="256" height="210"/>
|
||||
<image name="incall_padding_right.png" width="94" height="292"/>
|
||||
<image name="incall_padding_right_landscape.png" width="256" height="210"/>
|
||||
<image name="micro_off_default.png" width="160" height="134"/>
|
||||
<image name="micro_off_default_landscape.png" width="130" height="163"/>
|
||||
<image name="micro_off_disabled.png" width="160" height="134"/>
|
||||
<image name="micro_off_disabled_landscape.png" width="130" height="163"/>
|
||||
<image name="micro_off_over.png" width="160" height="134"/>
|
||||
<image name="micro_off_over_landscape.png" width="130" height="163"/>
|
||||
<image name="micro_on_default.png" width="160" height="134"/>
|
||||
<image name="micro_on_default_landscape.png" width="130" height="163"/>
|
||||
<image name="numpad_eight_default.png" width="220" height="113"/>
|
||||
<image name="numpad_eight_over.png" width="220" height="113"/>
|
||||
<image name="numpad_five_default.png" width="220" height="113"/>
|
||||
|
|
@ -966,26 +809,12 @@
|
|||
<image name="options_add_disabled_landscape.png" width="129" height="109"/>
|
||||
<image name="options_add_over.png" width="155" height="137"/>
|
||||
<image name="options_add_over_landscape.png" width="129" height="109"/>
|
||||
<image name="options_default.png" width="160" height="134"/>
|
||||
<image name="options_default_landscape.png" width="130" height="163"/>
|
||||
<image name="options_disabled.png" width="160" height="134"/>
|
||||
<image name="options_disabled_landscape.png" width="130" height="163"/>
|
||||
<image name="options_over.png" width="160" height="134"/>
|
||||
<image name="options_over_landscape.png" width="130" height="163"/>
|
||||
<image name="options_selected.png" width="160" height="134"/>
|
||||
<image name="options_selected_landscape.png" width="130" height="163"/>
|
||||
<image name="options_transfer_default.png" width="155" height="137"/>
|
||||
<image name="options_transfer_default_landscape.png" width="129" height="109"/>
|
||||
<image name="options_transfer_disabled.png" width="155" height="137"/>
|
||||
<image name="options_transfer_disabled_landscape.png" width="129" height="109"/>
|
||||
<image name="options_transfer_over.png" width="155" height="137"/>
|
||||
<image name="options_transfer_over_landscape.png" width="129" height="109"/>
|
||||
<image name="pause_off_default.png" width="209" height="136"/>
|
||||
<image name="pause_off_default_landscape.png" width="130" height="163"/>
|
||||
<image name="pause_off_over.png" width="209" height="136"/>
|
||||
<image name="pause_off_over_landscape.png" width="130" height="163"/>
|
||||
<image name="pause_on_default.png" width="209" height="136"/>
|
||||
<image name="pause_on_default_landscape.png" width="130" height="163"/>
|
||||
<image name="route_bluetooth_off_default.png" width="160" height="127"/>
|
||||
<image name="route_bluetooth_off_default_landscape.png" width="130" height="114"/>
|
||||
<image name="route_bluetooth_off_disabled.png" width="160" height="127"/>
|
||||
|
|
@ -1010,30 +839,6 @@
|
|||
<image name="route_speaker_off_over_landscape.png" width="130" height="114"/>
|
||||
<image name="route_speaker_on_default.png" width="160" height="127"/>
|
||||
<image name="route_speaker_on_default_landscape.png" width="130" height="114"/>
|
||||
<image name="routes_default.png" width="160" height="134"/>
|
||||
<image name="routes_default_landscape.png" width="130" height="163"/>
|
||||
<image name="routes_disabled.png" width="160" height="134"/>
|
||||
<image name="routes_disabled_landscape.png" width="130" height="163"/>
|
||||
<image name="routes_over.png" width="160" height="134"/>
|
||||
<image name="routes_over_landscape.png" width="130" height="163"/>
|
||||
<image name="routes_selected.png" width="160" height="134"/>
|
||||
<image name="routes_selected_landscape.png" width="130" height="163"/>
|
||||
<image name="speaker_off_default.png" width="160" height="134"/>
|
||||
<image name="speaker_off_default_landscape.png" width="130" height="163"/>
|
||||
<image name="speaker_off_disabled.png" width="160" height="134"/>
|
||||
<image name="speaker_off_disabled_landscape.png" width="130" height="163"/>
|
||||
<image name="speaker_off_over.png" width="160" height="134"/>
|
||||
<image name="speaker_off_over_landscape.png" width="130" height="163"/>
|
||||
<image name="speaker_on_default.png" width="160" height="134"/>
|
||||
<image name="speaker_on_default_landscape.png" width="130" height="163"/>
|
||||
<image name="video_off_default.png" width="160" height="134"/>
|
||||
<image name="video_off_default_landscape.png" width="130" height="163"/>
|
||||
<image name="video_off_disabled.png" width="160" height="134"/>
|
||||
<image name="video_off_disabled_landscape.png" width="130" height="163"/>
|
||||
<image name="video_off_over.png" width="160" height="134"/>
|
||||
<image name="video_off_over_landscape.png" width="130" height="163"/>
|
||||
<image name="video_on_default.png" width="160" height="134"/>
|
||||
<image name="video_on_default_landscape.png" width="130" height="163"/>
|
||||
</resources>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="This is a message" lineBreakMode="tailTruncation" numberOfLines="2" minimumFontSize="10" adjustsFontSizeToFit="NO" id="21" userLabel="chatContentLabel">
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" text="This is a message" lineBreakMode="tailTruncation" numberOfLines="2" minimumFontSize="3" id="21" userLabel="chatContentLabel">
|
||||
<rect key="frame" x="62" y="22" width="298" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<accessibility key="accessibilityConfiguration" label="Message"/>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="4" userLabel="Portrait View">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="lfO-I4-PXi" userLabel="outcallView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="360" height="40"/>
|
||||
|
|
@ -74,9 +74,9 @@
|
|||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="Mhg-P6-RfU" userLabel="registrationState">
|
||||
<rect key="frame" x="40" y="0.0" width="200" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
||||
<inset key="titleEdgeInsets" minX="6" minY="0.0" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="registered" image="led_disconnected.png">
|
||||
<state key="normal" title="Registered" image="led_disconnected.png">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
/* UIButtonShrinkable
|
||||
*
|
||||
* Copyright (C) 2011 Belledonne Comunications, Grenoble, France
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import "UIButtonShrinkable.h"
|
||||
|
||||
@implementation UIButtonShrinkable : UIButton
|
||||
|
||||
- (instancetype)init {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
// automatically adjust title to fit available width
|
||||
[self.titleLabel setAdjustsFontSizeToFitWidth:TRUE];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
@ -19,8 +19,9 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "UIIconButton.h"
|
||||
|
||||
@interface UICallButton : UIButton {
|
||||
@interface UICallButton : UIIconButton {
|
||||
}
|
||||
|
||||
@property (nonatomic, strong) IBOutlet UITextField* addressField;
|
||||
|
|
|
|||
|
|
@ -144,9 +144,6 @@
|
|||
[self setFrame:CGRectMake(0, 0, sub.frame.size.width, sub.frame.size.height)];
|
||||
[self addSubview:sub];
|
||||
}
|
||||
// Set selected+over background: IB lack !
|
||||
[pauseButton setImage:[UIImage imageNamed:@"call_state_pause_over.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
self->currentCall = FALSE;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,9 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "UIIconButton.h"
|
||||
|
||||
@interface UICamSwitch : UIButton
|
||||
@interface UICamSwitch : UIIconButton
|
||||
|
||||
@property (nonatomic, weak) IBOutlet UIView* preview;
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
|
||||
[self.contentView addSubview:[arrayOfViews objectAtIndex:0]];
|
||||
}
|
||||
[chatContentLabel setAdjustsFontSizeToFitWidth:TRUE]; // Auto shrink: IB lack!
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,10 +36,6 @@
|
|||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Set selected+over background: IB lack !
|
||||
[pauseButton setImage:[UIImage imageNamed:@"call_state_pause_over.png"]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
[pauseButton setType:UIPauseButtonType_Conference call:nil];
|
||||
}
|
||||
|
||||
#pragma mark - Static size Functions
|
||||
|
|
|
|||
|
|
@ -19,8 +19,9 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface UIHangUpButton : UIButton {
|
||||
#import "UIIconButton.h"
|
||||
|
||||
@interface UIHangUpButton : UIIconButton {
|
||||
}
|
||||
|
||||
- (void)update;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
[self setBackgroundImage:[self backgroundImageForState:UIControlStateDisabled]
|
||||
forState:(UIControlStateDisabled | UIControlStateSelected)];
|
||||
[LinphoneUtils buttonFixStates:self];
|
||||
[self.titleLabel setAdjustsFontSizeToFitWidth:TRUE];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,9 @@
|
|||
-(void) onLongTouch;
|
||||
@end
|
||||
|
||||
@interface UILongTouchButton : UIButton <UILongTouchButtonDelegate> {
|
||||
|
||||
#import "UIIconButton.h"
|
||||
|
||||
@interface UILongTouchButton : UIIconButton <UILongTouchButtonDelegate> {
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@
|
|||
image = [UIImage imageNamed:@"led_connected.png"];
|
||||
break;
|
||||
}
|
||||
registrationState.titleLabel.text = message;
|
||||
[registrationState setTitle:message forState:UIControlStateNormal];
|
||||
[registrationState setImage:image forState:UIControlStateNormal];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,9 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface UITransferButton : UIButton {
|
||||
}
|
||||
#import "UIIconButton.h"
|
||||
|
||||
@interface UITransferButton : UIIconButton
|
||||
|
||||
@property (nonatomic, strong) IBOutlet UITextField* addressField;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* UIButtonShrinkable
|
||||
/* OutgoingCallViewController.h
|
||||
*
|
||||
* Copyright (C) 2011 Belledonne Comunications, Grenoble, France
|
||||
* Copyright (C) 2012 Belledonne Comunications, Grenoble, France
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -10,15 +10,20 @@
|
|||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Library General Public License for more details.
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface UIButtonShrinkable : UIButton
|
||||
#import "UICompositeViewController.h"
|
||||
#import "TPMultiLayoutViewController.h"
|
||||
#include "linphone/linphonecore.h"
|
||||
|
||||
@interface OutgoingCallViewController : TPMultiLayoutViewController <UICompositeViewDelegate> {
|
||||
}
|
||||
|
||||
@end
|
||||
42
Classes/OutgoingCallViewController.m
Normal file
42
Classes/OutgoingCallViewController.m
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* OutgoingCallViewController.m
|
||||
*
|
||||
* Copyright (C) 2012 Belledonne Comunications, Grenoble, France
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import "OutgoingCallViewController.h"
|
||||
|
||||
@implementation OutgoingCallViewController
|
||||
|
||||
#pragma mark - UICompositeViewDelegate Functions
|
||||
|
||||
static UICompositeViewDescription *compositeDescription = nil;
|
||||
|
||||
+ (UICompositeViewDescription *)compositeViewDescription {
|
||||
if (compositeDescription == nil) {
|
||||
compositeDescription = [[UICompositeViewDescription alloc] init:@"OutgoingCall"
|
||||
content:@"OutgoingCallViewController"
|
||||
stateBar:nil
|
||||
tabBar:@"UICallBar"
|
||||
fullscreen:false
|
||||
landscapeMode:[LinphoneManager runningOnIpad]
|
||||
portraitMode:true];
|
||||
compositeDescription.darkBackground = true;
|
||||
}
|
||||
return compositeDescription;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
@ -309,46 +309,49 @@ static RootViewManager *rootViewManagerInstance = nil;
|
|||
}
|
||||
|
||||
switch (state) {
|
||||
case LinphoneCallIncomingReceived:
|
||||
case LinphoneCallIncomingEarlyMedia: {
|
||||
[self displayIncomingCall:call];
|
||||
break;
|
||||
}
|
||||
case LinphoneCallOutgoingInit:
|
||||
case LinphoneCallPausedByRemote:
|
||||
case LinphoneCallConnected:
|
||||
case LinphoneCallStreamsRunning: {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
break;
|
||||
}
|
||||
case LinphoneCallUpdatedByRemote: {
|
||||
const LinphoneCallParams *current = linphone_call_get_current_params(call);
|
||||
const LinphoneCallParams *remote = linphone_call_get_remote_params(call);
|
||||
case LinphoneCallIncomingReceived:
|
||||
case LinphoneCallIncomingEarlyMedia: {
|
||||
[self displayIncomingCall:call];
|
||||
break;
|
||||
}
|
||||
case LinphoneCallOutgoingInit: {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
break;
|
||||
}
|
||||
case LinphoneCallPausedByRemote:
|
||||
case LinphoneCallConnected:
|
||||
case LinphoneCallStreamsRunning: {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
break;
|
||||
}
|
||||
case LinphoneCallUpdatedByRemote: {
|
||||
const LinphoneCallParams *current = linphone_call_get_current_params(call);
|
||||
const LinphoneCallParams *remote = linphone_call_get_remote_params(call);
|
||||
|
||||
if (linphone_call_params_video_enabled(current) && !linphone_call_params_video_enabled(remote)) {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LinphoneCallError: {
|
||||
[self displayCallError:call message:message];
|
||||
}
|
||||
case LinphoneCallEnd: {
|
||||
if (canHideInCallView) {
|
||||
// Go to dialer view
|
||||
DialerViewController *controller = DYNAMIC_CAST(
|
||||
[self changeCurrentView:[DialerViewController compositeViewDescription]], DialerViewController);
|
||||
if (controller != nil) {
|
||||
[controller setAddress:@""];
|
||||
[controller setTransferMode:FALSE];
|
||||
if (linphone_call_params_video_enabled(current) && !linphone_call_params_video_enabled(remote)) {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
}
|
||||
} else {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
case LinphoneCallError: {
|
||||
[self displayCallError:call message:message];
|
||||
}
|
||||
case LinphoneCallEnd: {
|
||||
if (canHideInCallView) {
|
||||
// Go to dialer view
|
||||
DialerViewController *controller = DYNAMIC_CAST(
|
||||
[self changeCurrentView:[DialerViewController compositeViewDescription]], DialerViewController);
|
||||
if (controller != nil) {
|
||||
[controller setAddress:@""];
|
||||
[controller setTransferMode:FALSE];
|
||||
}
|
||||
} else {
|
||||
[self changeCurrentView:[InCallViewController compositeViewDescription]];
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
[self updateApplicationBadgeNumber];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
+ (BOOL)findAndResignFirstResponder:(UIView*)view;
|
||||
+ (void)adjustFontSize:(UIView*)view mult:(float)mult;
|
||||
+ (void)buttonFixStates:(UIButton*)button;
|
||||
+ (void)buttonFixStatesForTabs:(UIButton*)button;
|
||||
+ (void)buttonMultiViewAddAttributes:(NSMutableDictionary*)attributes button:(UIButton*)button;
|
||||
+ (void)buttonMultiViewApplyAttributes:(NSDictionary*)attributes button:(UIButton*)button;
|
||||
|
||||
|
|
|
|||
|
|
@ -114,37 +114,13 @@ void linphone_iphone_log_handler(int lev, const char *fmt, va_list args) {
|
|||
}
|
||||
|
||||
+ (void)buttonFixStates:(UIButton *)button {
|
||||
// Set selected+over title: IB lack !
|
||||
// Interface builder lack fixes
|
||||
[button setTitle:[button titleForState:UIControlStateSelected]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
// Set selected+over titleColor: IB lack !
|
||||
[button setTitleColor:[button titleColorForState:UIControlStateHighlighted]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
// Set selected+disabled title: IB lack !
|
||||
[button setTitle:[button titleForState:UIControlStateSelected]
|
||||
forState:(UIControlStateDisabled | UIControlStateSelected)];
|
||||
|
||||
// Set selected+disabled titleColor: IB lack !
|
||||
[button setTitleColor:[button titleColorForState:UIControlStateDisabled]
|
||||
forState:(UIControlStateDisabled | UIControlStateSelected)];
|
||||
}
|
||||
|
||||
+ (void)buttonFixStatesForTabs:(UIButton *)button {
|
||||
// Set selected+over title: IB lack !
|
||||
[button setTitle:[button titleForState:UIControlStateSelected]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
// Set selected+over titleColor: IB lack !
|
||||
[button setTitleColor:[button titleColorForState:UIControlStateSelected]
|
||||
forState:(UIControlStateHighlighted | UIControlStateSelected)];
|
||||
|
||||
// Set selected+disabled title: IB lack !
|
||||
[button setTitle:[button titleForState:UIControlStateSelected]
|
||||
forState:(UIControlStateDisabled | UIControlStateSelected)];
|
||||
|
||||
// Set selected+disabled titleColor: IB lack !
|
||||
[button setTitleColor:[button titleColorForState:UIControlStateDisabled]
|
||||
forState:(UIControlStateDisabled | UIControlStateSelected)];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,10 +111,11 @@
|
|||
632DA24D1B43EE9400EB356A /* Utils.m in Sources */ = {isa = PBXBuildFile; fileRef = D35860D515B549B500513429 /* Utils.m */; };
|
||||
632DA24E1B43EEEF00EB356A /* Utils.m in Sources */ = {isa = PBXBuildFile; fileRef = D35860D515B549B500513429 /* Utils.m */; };
|
||||
634610061B61330300548952 /* UILabel+Boldify.m in Sources */ = {isa = PBXBuildFile; fileRef = 634610051B61330300548952 /* UILabel+Boldify.m */; };
|
||||
6346100F1B61409800548952 /* OutgoingCallViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6346100E1B61409800548952 /* OutgoingCallViewController.m */; };
|
||||
634610121B6140A500548952 /* OutgoingCallViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 634610101B6140A500548952 /* OutgoingCallViewController.xib */; };
|
||||
636316D11A1DEBCB0009B839 /* AboutViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 636316D31A1DEBCB0009B839 /* AboutViewController.xib */; };
|
||||
636316D41A1DEC650009B839 /* SettingsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 636316D61A1DEC650009B839 /* SettingsViewController.xib */; };
|
||||
636316D91A1DECC90009B839 /* PhoneMainView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 636316D71A1DECC90009B839 /* PhoneMainView.xib */; };
|
||||
636316DE1A1DEF2F0009B839 /* UIButtonShrinkable.m in Sources */ = {isa = PBXBuildFile; fileRef = 636316DD1A1DEF2F0009B839 /* UIButtonShrinkable.m */; };
|
||||
636BC9971B5F921B00C754CE /* UIIconButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 636BC9961B5F921B00C754CE /* UIIconButton.m */; };
|
||||
637157A11B283FE200C91677 /* FileTransferDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 637157A01B283FE200C91677 /* FileTransferDelegate.m */; };
|
||||
639CEAFD1A1DF4D9004DE38F /* UIStateBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = 639CEAFF1A1DF4D9004DE38F /* UIStateBar.xib */; };
|
||||
|
|
@ -686,13 +687,14 @@
|
|||
633E388219FFB0F400936D1C /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
|
||||
634610041B61330300548952 /* UILabel+Boldify.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UILabel+Boldify.h"; sourceTree = "<group>"; };
|
||||
634610051B61330300548952 /* UILabel+Boldify.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UILabel+Boldify.m"; sourceTree = "<group>"; };
|
||||
6346100D1B61409800548952 /* OutgoingCallViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OutgoingCallViewController.h; sourceTree = "<group>"; };
|
||||
6346100E1B61409800548952 /* OutgoingCallViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OutgoingCallViewController.m; sourceTree = "<group>"; };
|
||||
634610111B6140A500548952 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/OutgoingCallViewController.xib; sourceTree = "<group>"; };
|
||||
636316D21A1DEBCB0009B839 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/AboutViewController.xib; sourceTree = "<group>"; };
|
||||
636316D51A1DEC650009B839 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/SettingsViewController.xib; sourceTree = "<group>"; };
|
||||
636316D81A1DECC90009B839 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PhoneMainView.xib; sourceTree = "<group>"; };
|
||||
636316DA1A1DEDD40009B839 /* fr */ = {isa = PBXFileReference; fileEncoding = 2483028224; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/HistoryDetailsViewController.strings; sourceTree = "<group>"; };
|
||||
636316DB1A1DEDD80009B839 /* ru */ = {isa = PBXFileReference; fileEncoding = 2483028224; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/HistoryDetailsViewController.strings; sourceTree = "<group>"; };
|
||||
636316DC1A1DEECB0009B839 /* UIButtonShrinkable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIButtonShrinkable.h; sourceTree = "<group>"; };
|
||||
636316DD1A1DEF2F0009B839 /* UIButtonShrinkable.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIButtonShrinkable.m; sourceTree = "<group>"; };
|
||||
636BC9951B5F921B00C754CE /* UIIconButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIIconButton.h; sourceTree = "<group>"; };
|
||||
636BC9961B5F921B00C754CE /* UIIconButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIIconButton.m; sourceTree = "<group>"; };
|
||||
6371579F1B283FE200C91677 /* FileTransferDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FileTransferDelegate.h; path = Utils/FileTransferDelegate.h; sourceTree = "<group>"; };
|
||||
|
|
@ -1358,6 +1360,9 @@
|
|||
D3EA53FC159850E80037DC6B /* LinphoneManager.m */,
|
||||
2214EB7012F84668002A5394 /* LinphoneUI */,
|
||||
F0642EF019DAC891009DB336 /* MainStoryboard.storyboard */,
|
||||
6346100D1B61409800548952 /* OutgoingCallViewController.h */,
|
||||
6346100E1B61409800548952 /* OutgoingCallViewController.m */,
|
||||
634610101B6140A500548952 /* OutgoingCallViewController.xib */,
|
||||
D3F83F8C158229C500336684 /* PhoneMainView.h */,
|
||||
D3F83F8D15822ABD00336684 /* PhoneMainView.m */,
|
||||
636316D71A1DECC90009B839 /* PhoneMainView.xib */,
|
||||
|
|
@ -1394,8 +1399,6 @@
|
|||
D35E7580159328EB0066B1C1 /* UIAddressTextField.m */,
|
||||
22C7555E1317E59C007BC101 /* UIBluetoothButton.h */,
|
||||
22C7555F1317E59C007BC101 /* UIBluetoothButton.m */,
|
||||
636316DC1A1DEECB0009B839 /* UIButtonShrinkable.h */,
|
||||
636316DD1A1DEF2F0009B839 /* UIButtonShrinkable.m */,
|
||||
D326483B1588950F00930C67 /* UICallBar.h */,
|
||||
D326483C1588950F00930C67 /* UICallBar.m */,
|
||||
D38187E415FE349700C3EDCA /* UICallBar.xib */,
|
||||
|
|
@ -2271,6 +2274,7 @@
|
|||
63C21F451B60F9870030B86B /* chat_message_delivered.png in Resources */,
|
||||
63C21F881B60F9870030B86B /* numpad_7.png in Resources */,
|
||||
63C21F431B60F9870030B86B /* camera_on_all_selected.png in Resources */,
|
||||
634610121B6140A500548952 /* OutgoingCallViewController.xib in Resources */,
|
||||
63C21F651B60F9870030B86B /* edit_list.png in Resources */,
|
||||
D38187F815FE355D00C3EDCA /* UIMainBar.xib in Resources */,
|
||||
63C21F2F1B60F9870030B86B /* add_call.png in Resources */,
|
||||
|
|
@ -2596,7 +2600,6 @@
|
|||
D3128FE115AABC7E00A2147A /* ContactDetailsViewController.m in Sources */,
|
||||
D37C639515AADDAF009D0BAC /* UIContactDetailsHeader.m in Sources */,
|
||||
D37C639B15AADEF6009D0BAC /* ContactDetailsTableViewController.m in Sources */,
|
||||
636316DE1A1DEF2F0009B839 /* UIButtonShrinkable.m in Sources */,
|
||||
63E59A3F1ADE70D900646FB3 /* InAppProductsManager.m in Sources */,
|
||||
D3C6526715AC1A8F0092A874 /* UIEditableTableViewCell.m in Sources */,
|
||||
D378906515AC373B00BD776C /* ContactDetailsLabelViewController.m in Sources */,
|
||||
|
|
@ -2605,6 +2608,7 @@
|
|||
63FB30351A680E73008CA393 /* UIRoundedImageView.m in Sources */,
|
||||
F066515517F9A02E0064280C /* UITransparentTVCell.m in Sources */,
|
||||
D3F9A9EE15AF277E0045320F /* UACellBackgroundView.m in Sources */,
|
||||
6346100F1B61409800548952 /* OutgoingCallViewController.m in Sources */,
|
||||
D35860D615B549B500513429 /* Utils.m in Sources */,
|
||||
D3F7998115BD32370018C273 /* TPMultiLayoutViewController.m in Sources */,
|
||||
D3807FBF15C28940005BE9BC /* DCRoundSwitch.m in Sources */,
|
||||
|
|
@ -2757,6 +2761,14 @@
|
|||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
634610101B6140A500548952 /* OutgoingCallViewController.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
634610111B6140A500548952 /* Base */,
|
||||
);
|
||||
name = OutgoingCallViewController.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
636316D31A1DEBCB0009B839 /* AboutViewController.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue