Move the media characteristic tags view to the standard property view.
This commit is contained in:
1 parent
1193fc763d
commit
fd28ebe60c
14 files changed
+186
-309
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8187.4" systemVersion="15A262e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10109" systemVersion="15E39d" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8187.4"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10109"/>
|
||||
<capability name="box content view" minToolsVersion="7.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -11,6 +11,7 @@
|
||||
<outlet property="alternateGroup" destination="103" id="113"/>
|
||||
<outlet property="fallback" destination="128" id="139"/>
|
||||
<outlet property="follows" destination="142" id="148"/>
|
||||
<outlet property="mediaTagsView" destination="LIS-S6-sws" id="aeF-s7-YxZ"/>
|
||||
<outlet property="view" destination="1" id="4"/>
|
||||
<outlet property="volume" destination="98" id="124"/>
|
||||
</connections>
|
||||
@@ -24,7 +25,6 @@
|
||||
<tabView controlSize="small" id="5">
|
||||
<rect key="frame" x="-11" y="-12" width="502" height="279"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<animations/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Sound Settings" identifier="1" id="6">
|
||||
<view key="view" id="9">
|
||||
@@ -41,7 +41,6 @@
|
||||
<textField verticalHuggingPriority="750" id="10">
|
||||
<rect key="frame" x="58" y="153" width="48" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Volume:" id="11">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -49,9 +48,8 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<slider verticalHuggingPriority="750" id="98">
|
||||
<rect key="frame" x="111" y="146" width="210" height="17"/>
|
||||
<rect key="frame" x="111" y="143" width="210" height="20"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<sliderCell key="cell" controlSize="small" state="on" alignment="left" maxValue="200" doubleValue="100" tickMarkPosition="below" numberOfTickMarks="1" sliderType="linear" id="99">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</sliderCell>
|
||||
@@ -62,7 +60,6 @@
|
||||
<textField verticalHuggingPriority="750" id="102">
|
||||
<rect key="frame" x="13" y="103" width="93" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Alternate Group:" id="109">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -72,7 +69,6 @@
|
||||
<textField verticalHuggingPriority="750" id="126">
|
||||
<rect key="frame" x="55" y="78" width="51" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Fallback:" id="127">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -82,7 +78,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="103">
|
||||
<rect key="frame" x="108" y="98" width="87" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="108" id="104">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -105,7 +100,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="128">
|
||||
<rect key="frame" x="108" y="73" width="216" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="135" id="129">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -122,7 +116,6 @@
|
||||
<textField verticalHuggingPriority="750" id="141">
|
||||
<rect key="frame" x="52" y="54" width="54" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Subtitles:" id="146">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -132,7 +125,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="142">
|
||||
<rect key="frame" x="108" y="49" width="216" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="145" id="143">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -149,7 +141,6 @@
|
||||
<textField verticalHuggingPriority="750" id="116">
|
||||
<rect key="frame" x="292" y="134" width="32" height="11"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="mini" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="+6 db" id="117">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -159,7 +150,6 @@
|
||||
<textField verticalHuggingPriority="750" id="118">
|
||||
<rect key="frame" x="197" y="134" width="34" height="11"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="mini" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="+ 0 db" id="119">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -169,7 +159,6 @@
|
||||
<textField verticalHuggingPriority="750" id="120">
|
||||
<rect key="frame" x="108" y="134" width="32" height="11"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="mini" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="-∞ db" id="121">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -177,20 +166,24 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
<animations/>
|
||||
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
|
||||
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<font key="titleFont" metaFont="message" size="11"/>
|
||||
</box>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
<tabViewItem label="Media Characteristics" identifier="" id="22R-da-Q3B">
|
||||
<view key="view" id="LIS-S6-sws">
|
||||
<rect key="frame" x="10" y="25" width="482" height="241"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
</tabViewItems>
|
||||
</tabView>
|
||||
</subviews>
|
||||
<animations/>
|
||||
<point key="canvasLocation" x="565" y="239"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8187.4" systemVersion="15A262e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10109" systemVersion="15E39d" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8187.4"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10109"/>
|
||||
<capability name="box content view" minToolsVersion="7.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -14,6 +14,7 @@
|
||||
<outlet property="forcedSubs" destination="188" id="198"/>
|
||||
<outlet property="forcedSubsLabel" destination="186" id="201"/>
|
||||
<outlet property="hSpacing" destination="125" id="135"/>
|
||||
<outlet property="mediaTagsView" destination="tAe-Bg-WmX" id="HQe-6p-i7R"/>
|
||||
<outlet property="offsetX" destination="30" id="82"/>
|
||||
<outlet property="offsetY" destination="31" id="83"/>
|
||||
<outlet property="preserveAspectRatio" destination="14" id="139"/>
|
||||
@@ -38,25 +39,23 @@
|
||||
<tabView controlSize="small" id="5">
|
||||
<rect key="frame" x="-11" y="-10" width="502" height="302"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<animations/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Visual Settings" identifier="1" id="6">
|
||||
<view key="view" id="9">
|
||||
<rect key="frame" x="10" y="29" width="482" height="260"/>
|
||||
<rect key="frame" x="10" y="25" width="482" height="264"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<box autoresizesSubviews="NO" title="Box" borderType="none" titlePosition="noTitle" id="36">
|
||||
<rect key="frame" x="14" y="0.0" width="454" height="260"/>
|
||||
<rect key="frame" x="14" y="2" width="454" height="260"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<view key="contentView" id="D9b-iz-h9h">
|
||||
<rect key="frame" x="0.0" y="0.0" width="454" height="260"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" id="10">
|
||||
<rect key="frame" x="89" y="232" width="72" height="14"/>
|
||||
<rect key="frame" x="42" y="232" width="119" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Normal Size:" id="11">
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Normal Size:" id="11">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -65,7 +64,6 @@
|
||||
<textField verticalHuggingPriority="750" id="16">
|
||||
<rect key="frame" x="221" y="232" width="13" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="17">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -75,7 +73,6 @@
|
||||
<textField verticalHuggingPriority="750" id="18">
|
||||
<rect key="frame" x="221" y="202" width="13" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="19">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -83,10 +80,9 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="12">
|
||||
<rect key="frame" x="94" y="202" width="67" height="14"/>
|
||||
<rect key="frame" x="42" y="202" width="119" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Scaled Size:" id="13">
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Scaled Size:" id="13">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -95,7 +91,6 @@
|
||||
<button id="14">
|
||||
<rect key="frame" x="166" y="178" width="150" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="check" title="Preserve Aspect Ratio" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="15">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -104,7 +99,6 @@
|
||||
<textField verticalHuggingPriority="750" id="20">
|
||||
<rect key="frame" x="166" y="227" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" state="on" alignment="center" id="21">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -114,7 +108,6 @@
|
||||
<textField verticalHuggingPriority="750" id="26">
|
||||
<rect key="frame" x="166" y="200" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" id="27">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" allowsFloats="NO" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="90">
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
@@ -131,7 +124,6 @@
|
||||
<textField verticalHuggingPriority="750" id="22">
|
||||
<rect key="frame" x="239" y="227" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" state="on" alignment="center" id="23">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -141,7 +133,6 @@
|
||||
<textField verticalHuggingPriority="750" id="24">
|
||||
<rect key="frame" x="239" y="200" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" id="25">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" allowsFloats="NO" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="95">
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
@@ -158,7 +149,6 @@
|
||||
<textField verticalHuggingPriority="750" id="28">
|
||||
<rect key="frame" x="221" y="119" width="13" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="35">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -168,7 +158,6 @@
|
||||
<textField verticalHuggingPriority="750" id="29">
|
||||
<rect key="frame" x="121" y="119" width="40" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Offset:" id="34">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -176,10 +165,9 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="98">
|
||||
<rect key="frame" x="68" y="93" width="93" height="14"/>
|
||||
<rect key="frame" x="42" y="93" width="119" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Alternate Group:" id="99">
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Group:" id="99">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -188,7 +176,6 @@
|
||||
<textField verticalHuggingPriority="750" id="30">
|
||||
<rect key="frame" x="166" y="117" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" id="33">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" allowsFloats="NO" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="97">
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
@@ -205,7 +192,6 @@
|
||||
<textField verticalHuggingPriority="750" id="31">
|
||||
<rect key="frame" x="239" y="117" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" id="32">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" allowsFloats="NO" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="96">
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
@@ -222,7 +208,6 @@
|
||||
<textField verticalHuggingPriority="750" id="76">
|
||||
<rect key="frame" x="294" y="232" width="36" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="77">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -232,7 +217,6 @@
|
||||
<textField verticalHuggingPriority="750" id="72">
|
||||
<rect key="frame" x="294" y="202" width="36" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="73">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -242,7 +226,6 @@
|
||||
<textField verticalHuggingPriority="750" id="74">
|
||||
<rect key="frame" x="294" y="119" width="36" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="75">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -252,7 +235,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="110">
|
||||
<rect key="frame" x="163" y="88" width="70" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="116" id="111">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -273,9 +255,8 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" id="140">
|
||||
<rect key="frame" x="17" y="68" width="144" height="14"/>
|
||||
<rect key="frame" x="10" y="68" width="151" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="H.264 Video Profile/Level:" id="151">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -285,7 +266,6 @@
|
||||
<textField hidden="YES" verticalHuggingPriority="750" id="186">
|
||||
<rect key="frame" x="117" y="68" width="44" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Forced:" id="187">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -295,7 +275,6 @@
|
||||
<textField verticalHuggingPriority="750" id="123">
|
||||
<rect key="frame" x="221" y="155" width="13" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="134">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -303,10 +282,9 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="124">
|
||||
<rect key="frame" x="86" y="155" width="75" height="14"/>
|
||||
<rect key="frame" x="42" y="155" width="119" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Aspect Ratio:" id="133">
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Aspect Ratio:" id="133">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -315,7 +293,6 @@
|
||||
<textField verticalHuggingPriority="750" id="125">
|
||||
<rect key="frame" x="166" y="153" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" id="131">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" allowsFloats="NO" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="132">
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
@@ -332,7 +309,6 @@
|
||||
<textField verticalHuggingPriority="750" id="126">
|
||||
<rect key="frame" x="239" y="153" width="50" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" id="129">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" allowsFloats="NO" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="0" maximumIntegerDigits="42" id="130">
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
@@ -349,7 +325,6 @@
|
||||
<textField verticalHuggingPriority="750" id="162">
|
||||
<rect key="frame" x="163" y="-1" width="275" height="60"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="163">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<string key="title">You should only change the video profile if you want to load the file onto one of the devices listed and have been unable to do so. However, if the video file uses advanced features of the codec, then the file may still be unplayable on the device.</string>
|
||||
@@ -360,7 +335,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="166">
|
||||
<rect key="frame" x="163" y="63" width="275" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="Current profile: unknown" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="169" id="167">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -386,7 +360,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="188">
|
||||
<rect key="frame" x="163" y="63" width="196" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="No" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" enabled="NO" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="191" id="189">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -405,7 +378,6 @@
|
||||
<textField hidden="YES" verticalHuggingPriority="750" id="203">
|
||||
<rect key="frame" x="87" y="44" width="74" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Forced track:" id="208">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -415,7 +387,6 @@
|
||||
<popUpButton hidden="YES" verticalHuggingPriority="750" id="204">
|
||||
<rect key="frame" x="163" y="39" width="196" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="207" id="205">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -430,20 +401,24 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
<animations/>
|
||||
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
|
||||
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<font key="titleFont" metaFont="message" size="11"/>
|
||||
</box>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
<tabViewItem label="Media Characteristics" identifier="" id="ZZa-lk-8Uv">
|
||||
<view key="view" id="tAe-Bg-WmX">
|
||||
<rect key="frame" x="10" y="25" width="482" height="264"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
</tabViewItems>
|
||||
</tabView>
|
||||
</subviews>
|
||||
<animations/>
|
||||
<point key="canvasLocation" x="167" y="-220.5"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -21,6 +21,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
NSMutableArray<MP42AudioTrack *> *_fallbacks;
|
||||
NSMutableArray<__kindof MP42Track *> *_follows;
|
||||
|
||||
NSViewController *_mediaTagsController;
|
||||
|
||||
IBOutlet NSView *mediaTagsView;
|
||||
IBOutlet NSSlider *volume;
|
||||
IBOutlet NSPopUpButton *alternateGroup;
|
||||
IBOutlet NSPopUpButton *fallback;
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
//
|
||||
|
||||
#import "SBSoundViewController.h"
|
||||
#import "SBMediaTagsController.h"
|
||||
|
||||
#import <MP42Foundation/MP42File.h>
|
||||
|
||||
@implementation SBSoundViewController
|
||||
@@ -15,6 +17,13 @@
|
||||
{
|
||||
[super loadView];
|
||||
|
||||
_mediaTagsController = [[SBMediaTagsController alloc] initWithTrack:track];
|
||||
|
||||
[_mediaTagsController.view setFrame: [mediaTagsView bounds]];
|
||||
[_mediaTagsController.view setAutoresizingMask:( NSViewWidthSizable | NSViewHeightSizable )];
|
||||
|
||||
[mediaTagsView addSubview:_mediaTagsController.view];
|
||||
|
||||
[alternateGroup selectItemAtIndex:(NSInteger)track.alternate_group];
|
||||
|
||||
_fallbacks = [[NSMutableArray alloc] init];
|
||||
@@ -148,6 +157,8 @@
|
||||
|
||||
[_fallbacks release];
|
||||
[_follows release];
|
||||
|
||||
[_mediaTagsController release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@@ -18,6 +18,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
MP42VideoTrack *track;
|
||||
MP42File *mp4file;
|
||||
|
||||
NSViewController *_mediaTagsController;
|
||||
|
||||
IBOutlet NSView *mediaTagsView;
|
||||
|
||||
IBOutlet NSTextField *sampleWidth;
|
||||
IBOutlet NSTextField *sampleHeight;
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
//
|
||||
|
||||
#import "SBVideoViewController.h"
|
||||
#import "SBMediaTagsController.h"
|
||||
#import <MP42Foundation/MP42File.h>
|
||||
|
||||
@implementation SBVideoViewController
|
||||
@@ -60,6 +61,13 @@ static NSString *getLevelName(uint8_t level) {
|
||||
{
|
||||
[super loadView];
|
||||
|
||||
_mediaTagsController = [[SBMediaTagsController alloc] initWithTrack:track];
|
||||
|
||||
[_mediaTagsController.view setFrame: [mediaTagsView bounds]];
|
||||
[_mediaTagsController.view setAutoresizingMask:( NSViewWidthSizable | NSViewHeightSizable )];
|
||||
|
||||
[mediaTagsView addSubview:_mediaTagsController.view];
|
||||
|
||||
[sampleWidth setStringValue: [NSString stringWithFormat:@"%lld", track.width]];
|
||||
[sampleHeight setStringValue: [NSString stringWithFormat:@"%lld", track.height]];
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
|
||||
#import "SBChapterSearchController.h"
|
||||
|
||||
#import "SBMediaTagsController.h"
|
||||
|
||||
#import <MP42Foundation/MP42File.h>
|
||||
#import <MP42Foundation/MP42FileImporter.h>
|
||||
#import <MP42Foundation/MP42Languages.h>
|
||||
@@ -394,9 +392,6 @@
|
||||
if (action == @selector(showTrackOffsetSheet:) && [fileTracksTable selectedRow] != -1)
|
||||
return YES;
|
||||
|
||||
if (action == @selector(showMediaCharacteristicTags:) && [fileTracksTable selectedRow] != -1)
|
||||
return YES;
|
||||
|
||||
if (action == @selector(addChaptersEvery:))
|
||||
return YES;
|
||||
|
||||
@@ -790,17 +785,6 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
[offsetWindow orderOut:self];
|
||||
}
|
||||
|
||||
- (IBAction)showMediaCharacteristicTags:(id)sender
|
||||
{
|
||||
_sheet = [[SBMediaTagsController alloc] initWithTrack:self.mp4.tracks[fileTracksTable.selectedRow]];
|
||||
|
||||
[NSApp beginSheet:_sheet.window
|
||||
modalForWindow:documentWindow
|
||||
modalDelegate:self
|
||||
didEndSelector:@selector(mediaSheetDidEnd:returnCode:contextInfo:)
|
||||
contextInfo:nil];
|
||||
}
|
||||
|
||||
- (void)mediaSheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo {
|
||||
if (returnCode == NSOKButton) {
|
||||
[self updateChangeCount:NSChangeDone];
|
||||
|
||||
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* Custom media tags are preserved.
|
||||
*/
|
||||
@interface SBMediaTagsController : NSWindowController {
|
||||
@interface SBMediaTagsController : NSViewController {
|
||||
@private
|
||||
MP42Track *_track;
|
||||
NSArray<SBMediaTag *> *_tags;
|
||||
|
||||
@@ -124,10 +124,16 @@ NS_ASSUME_NONNULL_END
|
||||
}
|
||||
|
||||
@synthesize state = _state;
|
||||
@synthesize value= _value;
|
||||
@synthesize value = _value;
|
||||
@synthesize localizedTitle = _localizedTitle;
|
||||
@synthesize localizedDescription = _localizedDescription;
|
||||
|
||||
- (NSString *)description {
|
||||
NSString *description = [super description];
|
||||
description = [description stringByAppendingFormat:@" %@, state = %d", _value, _state];
|
||||
return description;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[_value release];
|
||||
_value = nil;
|
||||
@@ -184,7 +190,7 @@ NS_ASSUME_NONNULL_END
|
||||
@implementation SBMediaTagsController
|
||||
|
||||
- (instancetype)init {
|
||||
self = [super initWithWindowNibName:@"SBMediaTagsController"];
|
||||
self = [super initWithNibName:@"SBMediaTagsController" bundle:nil];
|
||||
if (self) {
|
||||
}
|
||||
return self;
|
||||
@@ -239,8 +245,9 @@ NS_ASSUME_NONNULL_END
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)windowDidLoad {
|
||||
[super windowDidLoad];
|
||||
- (void)loadView
|
||||
{
|
||||
[super loadView];
|
||||
}
|
||||
|
||||
- (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView {
|
||||
@@ -257,9 +264,11 @@ NS_ASSUME_NONNULL_END
|
||||
- (IBAction)setTagState:(NSButton *)sender {
|
||||
NSInteger row = [_tableView rowForView:sender];
|
||||
self.tags[row].state = sender.state;
|
||||
|
||||
[self updateTrack];
|
||||
}
|
||||
|
||||
- (IBAction)done:(id)sender {
|
||||
- (void)updateTrack {
|
||||
NSMutableSet *set = [NSMutableSet set];
|
||||
|
||||
for (SBMediaTag *tag in self.tags) {
|
||||
@@ -270,11 +279,7 @@ NS_ASSUME_NONNULL_END
|
||||
|
||||
self.track.mediaCharacteristicTags = set;
|
||||
|
||||
[NSApp endSheet:self.window returnCode:NSOKButton];
|
||||
}
|
||||
|
||||
- (IBAction)cancel:(id)sender{
|
||||
[NSApp endSheet:self.window returnCode:NSCancelButton];
|
||||
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user