Improve keyboard arrow keys navigation.
This commit is contained in:
13 files changed
+158
-112
No files matched your search
@@ -563,4 +563,20 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
return true
|
||||
}
|
||||
|
||||
// MARK: Keyboard navigation
|
||||
|
||||
override func keyDown(with event: NSEvent) {
|
||||
guard let key = event.charactersIgnoringModifiers?.utf16.first else { super.keyDown(with: event); return }
|
||||
|
||||
if key == NSRightArrowFunctionKey || key == NSLeftArrowFunctionKey {
|
||||
let detailsItem = splitViewController.splitViewItems[1]
|
||||
if let propertyView = detailsItem.viewController.children.first as? PropertyView {
|
||||
propertyView.navigate(direction: Int(key))
|
||||
}
|
||||
} else {
|
||||
super.keyDown(with: event)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,14 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="SBChapterViewController">
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="ChapterViewController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="removeChapter" destination="31" id="faJ-CI-g36"/>
|
||||
<outlet property="tabView" destination="10" id="CC8-n9-JPu"/>
|
||||
<outlet property="tableView" destination="22" id="7Za-v5-yKx"/>
|
||||
<outlet property="view" destination="1" id="2"/>
|
||||
</connections>
|
||||
@@ -19,25 +20,25 @@
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<tabView controlSize="small" id="10">
|
||||
<tabView fixedFrame="YES" controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
|
||||
<rect key="frame" x="-11" y="-12" width="502" height="279"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Chapters" identifier="1" id="11">
|
||||
<view key="view" id="12">
|
||||
<view key="view" ambiguous="YES" id="12">
|
||||
<rect key="frame" x="10" y="29" width="482" height="237"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="19">
|
||||
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
|
||||
<rect key="frame" x="17" y="36" width="448" height="195"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<clipView key="contentView" id="gfP-N5-8Ji">
|
||||
<clipView key="contentView" ambiguous="YES" id="gfP-N5-8Ji">
|
||||
<rect key="frame" x="1" y="0.0" width="446" height="194"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="177"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
<tableViewGridLines key="gridStyleMask" vertical="YES"/>
|
||||
@@ -45,12 +46,12 @@
|
||||
<tableColumns>
|
||||
<tableColumn identifier="time" width="96" minWidth="40" maxWidth="1000" id="24">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Time">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" white="0.33333299" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="27">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
<allowedInputSourceLocales>
|
||||
@@ -307,11 +308,11 @@
|
||||
<rect key="frame" x="1" y="1" width="96" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" misplaced="YES" id="sbg-eG-N9u">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sbg-eG-N9u">
|
||||
<rect key="frame" x="0.0" y="3" width="96" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="right" title="Table View Cell" id="fIl-II-Tfv">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -328,12 +329,12 @@
|
||||
</tableColumn>
|
||||
<tableColumn identifier="title" width="344" minWidth="40" maxWidth="2000" id="25">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Title">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" white="0.33333299" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="26">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -343,11 +344,11 @@
|
||||
<rect key="frame" x="100" y="1" width="344" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" misplaced="YES" id="KkS-kR-z72">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KkS-kR-z72">
|
||||
<rect key="frame" x="0.0" y="3" width="344" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="Table View Cell" id="Ktq-AC-XnR">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -371,11 +372,11 @@
|
||||
</tableView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" controlSize="small" horizontal="YES" id="21">
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" controlSize="small" horizontal="YES" id="21">
|
||||
<rect key="frame" x="1" y="193" width="411" height="11"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" controlSize="small" horizontal="NO" id="20">
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" controlSize="small" horizontal="NO" id="20">
|
||||
<rect key="frame" x="412" y="17" width="11" height="176"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
@@ -384,7 +385,7 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" id="31">
|
||||
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="31">
|
||||
<rect key="frame" x="42" y="7" width="26" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
|
||||
@@ -395,7 +396,7 @@
|
||||
<action selector="removeChapter:" target="-2" id="48"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Add chapter" verticalHuggingPriority="750" id="42">
|
||||
<button toolTip="Add chapter" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="42">
|
||||
<rect key="frame" x="17" y="7" width="26" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
|
||||
@@ -406,12 +407,12 @@
|
||||
<action selector="addChapter:" target="-2" id="50"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" id="IvH-Ff-dyN">
|
||||
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
|
||||
<rect key="frame" x="76" y="7" width="33" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="T3N-JJ-mWq">
|
||||
<items>
|
||||
<menuItem image="NSSmartBadgeTemplate" hidden="YES" id="B0i-yb-Nf4">
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.68" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.68"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="14490.68"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="15505"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -18,32 +18,33 @@
|
||||
<outlet property="saveSetName" destination="866-MG-GR3" id="mbi-Nu-Wi1"/>
|
||||
<outlet property="saveSetWindow" destination="ZRj-hi-qeJ" id="rW5-3W-QtZ"/>
|
||||
<outlet property="setsPopUp" destination="179" id="hl9-DS-qsm"/>
|
||||
<outlet property="tabView" destination="10" id="nrf-df-lqq"/>
|
||||
<outlet property="tagsPopUp" destination="30" id="1v4-T2-oDW"/>
|
||||
<outlet property="view" destination="1" id="2"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="1">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<customView misplaced="YES" id="1">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="245"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
|
||||
<rect key="frame" x="-11" y="-12" width="502" height="279"/>
|
||||
<rect key="frame" x="-11" y="-12" width="502" height="229"/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Metadata" identifier="1" id="11">
|
||||
<view key="view" id="12">
|
||||
<rect key="frame" x="10" y="29" width="482" height="237"/>
|
||||
<rect key="frame" x="10" y="25" width="482" height="191"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<popUpButton toolTip="Add a new metadata item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="30">
|
||||
<popUpButton toolTip="Add a new metadata item" translatesAutoresizingMaskIntoConstraints="NO" id="30">
|
||||
<rect key="frame" x="17" y="7" width="32" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="oAx-ac-cJp"/>
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" inset="2" pullsDown="YES" id="31">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="32">
|
||||
<items>
|
||||
<menuItem image="NSAddTemplate" hidden="YES" id="33">
|
||||
@@ -71,14 +72,14 @@
|
||||
<action selector="removeTag:" target="-2" id="55"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="179">
|
||||
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="179">
|
||||
<rect key="frame" x="80" y="7" width="33" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="33" id="ZIk-ID-MnW"/>
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="184" id="180">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="181">
|
||||
<items>
|
||||
<menuItem image="NSSmartBadgeTemplate" hidden="YES" id="184">
|
||||
@@ -90,14 +91,14 @@
|
||||
<accessibility description="Sets"/>
|
||||
</popUpButton>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r4i-wT-qDC">
|
||||
<rect key="frame" x="17" y="36" width="448" height="195"/>
|
||||
<rect key="frame" x="17" y="36" width="448" height="149"/>
|
||||
<clipView key="contentView" id="cQT-bX-0YB">
|
||||
<rect key="frame" x="1" y="0.0" width="446" height="194"/>
|
||||
<rect key="frame" x="1" y="0.0" width="446" height="148"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" rowSizeStyle="automatic" headerView="qXU-xB-xRF" viewBased="YES" floatsGroupRows="NO" id="qg5-r0-E4V" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="171"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="125"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
<tableViewGridLines key="gridStyleMask" vertical="YES"/>
|
||||
@@ -105,12 +106,12 @@
|
||||
<tableColumns>
|
||||
<tableColumn identifier="key" width="118" minWidth="40" maxWidth="1000" id="j7q-XE-YXB">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Annotation">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="zqi-q3-qaM">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -143,12 +144,12 @@
|
||||
</tableColumn>
|
||||
<tableColumn identifier="value" width="322" minWidth="40" maxWidth="4000" id="os0-Yb-exW">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Value">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="ZSc-Yj-nco">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -161,7 +162,7 @@
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="T0o-RG-lfn">
|
||||
<rect key="frame" x="0.0" y="0.0" width="322" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="Do not localize" id="WRR-52-lxo">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -187,7 +188,7 @@
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AmC-rT-7Rf">
|
||||
<rect key="frame" x="0.0" y="0.0" width="322" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Do not localize" id="ipR-OL-rI2">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -212,7 +213,7 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="bevel" title="Do not localize" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" selectedItem="6Zb-NM-Mmo" id="Myn-C3-tc4">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" id="qwD-bC-Vmw">
|
||||
<items>
|
||||
<menuItem title="Do not localize" state="on" id="6Zb-NM-Mmo"/>
|
||||
@@ -237,7 +238,7 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="f5s-ar-fW6">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="setMetadataBoolValue:" target="-2" id="tBQ-Md-mfU"/>
|
||||
@@ -256,7 +257,7 @@
|
||||
<rect key="frame" x="3" y="0.0" width="318" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Do not localize" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</comboBoxCell>
|
||||
@@ -320,7 +321,7 @@
|
||||
<rect key="frame" x="17" y="36" width="448" height="199"/>
|
||||
<clipView key="contentView" copiesOnScroll="NO" id="7IP-Gn-Bxd">
|
||||
<rect key="frame" x="1" y="1" width="446" height="197"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<ikImageBrowserView autoresizesSubviews="NO" zoomValue="1" allowsReordering="YES" animates="YES" translatesAutoresizingMaskIntoConstraints="NO" id="217" customClass="ImageBrowserView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="197"/>
|
||||
@@ -428,7 +429,7 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="VHc-Eh-XSb">
|
||||
<rect key="frame" x="17" y="100" width="44" height="17"/>
|
||||
<rect key="frame" x="17" y="101" width="44" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Name:" id="ZqF-j8-NeN">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -436,7 +437,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="866-MG-GR3">
|
||||
<rect key="frame" x="67" y="97" width="349" height="22"/>
|
||||
<rect key="frame" x="67" y="98" width="349" height="21"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="QYb-JQ-zG1">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -470,13 +471,13 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="Ild-x7-pnx">
|
||||
<rect key="frame" x="65" y="73" width="160" height="18"/>
|
||||
<rect key="frame" x="65" y="73" width="160" height="19"/>
|
||||
<buttonCell key="cell" type="check" title="Keep existing artworks" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="doa-uZ-CNr">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="7hc-Ee-1yE">
|
||||
<button verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="7hc-Ee-1yE">
|
||||
<rect key="frame" x="65" y="53" width="178" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Keep existing annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="aiW-0y-PWH">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -485,7 +486,9 @@ Gw
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="7hc-Ee-1yE" secondAttribute="trailing" constant="20" symbolic="YES" id="25U-GO-aj1"/>
|
||||
<constraint firstItem="b0L-7j-mGd" firstAttribute="top" secondItem="7hc-Ee-1yE" secondAttribute="bottom" constant="14" id="2Uc-FO-NqO"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Ild-x7-pnx" secondAttribute="trailing" constant="20" symbolic="YES" id="4wc-rU-1OA"/>
|
||||
<constraint firstAttribute="trailing" secondItem="866-MG-GR3" secondAttribute="trailing" constant="20" id="5Bq-Pn-ejR"/>
|
||||
<constraint firstItem="b0L-7j-mGd" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="92i-7C-XJ4" secondAttribute="leading" constant="20" symbolic="YES" id="7rs-HL-0xc"/>
|
||||
<constraint firstItem="VHc-Eh-XSb" firstAttribute="leading" secondItem="92i-7C-XJ4" secondAttribute="leading" constant="19" id="8wA-qX-EDf"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14105" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14105"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -12,6 +12,7 @@
|
||||
<outlet property="fallbacksPopUp" destination="kyn-qq-nF7" id="myr-hC-bw0"/>
|
||||
<outlet property="followsPopUp" destination="6Kd-IU-I5v" id="Cog-ia-KAL"/>
|
||||
<outlet property="mediaTagsView" destination="LIS-S6-sws" id="aeF-s7-YxZ"/>
|
||||
<outlet property="tabView" destination="5" id="nnK-Nd-9Ay"/>
|
||||
<outlet property="view" destination="1" id="4"/>
|
||||
<outlet property="volume" destination="MVR-Tx-Jpc" id="haV-1n-rRn"/>
|
||||
</connections>
|
||||
@@ -36,7 +37,7 @@
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="AN1-Gb-9rU">
|
||||
<rect key="frame" x="48" y="147" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Volume:" id="Z5x-Oq-P8Z">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -44,7 +45,7 @@
|
||||
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MVR-Tx-Jpc">
|
||||
<rect key="frame" x="145" y="145" width="210" height="18"/>
|
||||
<sliderCell key="cell" controlSize="small" state="on" alignment="left" maxValue="200" doubleValue="100" tickMarkPosition="below" numberOfTickMarks="1" sliderType="linear" id="Yee-GR-ylI">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
</sliderCell>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="AN1-Gb-9rU" id="f6H-6D-w1r"/>
|
||||
@@ -54,7 +55,7 @@
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="oJQ-vl-QbS">
|
||||
<rect key="frame" x="48" y="103" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Group:" id="CTV-P7-IaD">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -65,7 +66,7 @@
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="AHt-fF-cmH">
|
||||
<rect key="frame" x="48" y="78" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Fallback:" id="8KY-0L-cm1">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -77,7 +78,7 @@
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="QBa-Jt-TO2" id="jSp-EO-3Gh">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="uZy-Zq-VUz">
|
||||
<items>
|
||||
<menuItem title="None" state="on" id="QBa-Jt-TO2" userLabel="Alternate group"/>
|
||||
@@ -102,7 +103,7 @@
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="Qdb-gu-B3h" id="NRh-66-Ilv">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="QUX-Wz-JDa">
|
||||
<items>
|
||||
<menuItem title="None" state="on" id="Qdb-gu-B3h" userLabel="Fallback"/>
|
||||
@@ -117,7 +118,7 @@
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="Wwd-LM-Zu2">
|
||||
<rect key="frame" x="48" y="54" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Subtitles:" id="dbp-55-tUy">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -129,7 +130,7 @@
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="Zgh-b7-8aY" id="vO8-pC-sox">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="DMC-Pz-yne">
|
||||
<items>
|
||||
<menuItem title="None" state="on" id="Zgh-b7-8aY"/>
|
||||
@@ -150,7 +151,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="nJx-6Z-zO1">
|
||||
<rect key="frame" x="234" y="136" width="33" height="11"/>
|
||||
<rect key="frame" x="233" y="136" width="33" height="11"/>
|
||||
<textFieldCell key="cell" controlSize="mini" sendsActionOnEndEditing="YES" title="+ 0 db" id="5af-rM-3Vd">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -158,7 +159,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="k0u-bj-qan">
|
||||
<rect key="frame" x="143" y="136" width="34" height="11"/>
|
||||
<rect key="frame" x="143" y="136" width="33" height="11"/>
|
||||
<textFieldCell key="cell" controlSize="mini" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="-∞ db" id="dCR-ej-bsH">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14269.14" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14269.14"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15505"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="SBVideoViewController">
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="VideoViewController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="alternateGroup" destination="8uz-fA-OM4" id="Tpr-cp-mwO"/>
|
||||
<outlet property="colorHeight" destination="bGo-Zw-z0j" id="noF-0q-Gwe"/>
|
||||
@@ -26,6 +26,7 @@
|
||||
<outlet property="profileView" destination="7i2-3m-yRg" id="l8r-kn-08e"/>
|
||||
<outlet property="sampleHeight" destination="YOz-mZ-420" id="TWa-TW-aKX"/>
|
||||
<outlet property="sampleWidth" destination="Hh2-MV-toy" id="naV-tM-Aat"/>
|
||||
<outlet property="tabView" destination="5" id="MjT-we-kEO"/>
|
||||
<outlet property="trackHeight" destination="n9M-HO-S4Z" id="4mz-HY-cAo"/>
|
||||
<outlet property="trackWidth" destination="r90-c5-7PH" id="pJe-Sk-kj7"/>
|
||||
<outlet property="vSpacing" destination="ifV-jn-Kjv" id="Voc-C7-zkv"/>
|
||||
@@ -60,7 +61,7 @@
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
<nil key="positiveInfinitySymbol"/>
|
||||
</numberFormatter>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -72,7 +73,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="hz3-IH-Nfw">
|
||||
<rect key="frame" x="18" y="305" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Normal Size:" id="soD-gL-b4G">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -80,7 +81,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="aqN-Ac-8cl">
|
||||
<rect key="frame" x="289" y="305" width="35" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="6I1-7O-uon">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -95,7 +96,7 @@
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
<nil key="positiveInfinitySymbol"/>
|
||||
</numberFormatter>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -108,13 +109,13 @@
|
||||
<rect key="frame" x="161" y="256" width="138" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Preserve Aspect Ratio" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="nr0-Jc-cUj">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="j7N-eK-BGR">
|
||||
<rect key="frame" x="219" y="234" width="10" height="14"/>
|
||||
<rect key="frame" x="219" y="233" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="GfY-OY-SWL">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -129,7 +130,7 @@
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
<nil key="positiveInfinitySymbol"/>
|
||||
</numberFormatter>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -144,31 +145,31 @@
|
||||
<constraint firstAttribute="width" constant="46" id="PGv-gZ-TCI"/>
|
||||
</constraints>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" state="on" alignment="center" id="GNN-g2-7vd">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="ciI-zB-M6i">
|
||||
<rect key="frame" x="289" y="198" width="35" height="14"/>
|
||||
<rect key="frame" x="289" y="197" width="35" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="EQ0-oQ-E9J">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="IBC-4P-DBN">
|
||||
<rect key="frame" x="35" y="234" width="124" height="14"/>
|
||||
<rect key="frame" x="35" y="233" width="124" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Aspect Ratio:" id="Q8w-0e-NRr">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="lQe-jX-iRS">
|
||||
<rect key="frame" x="69" y="198" width="90" height="14"/>
|
||||
<rect key="frame" x="69" y="197" width="90" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Offset:" id="ubI-H1-utj">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -179,7 +180,7 @@
|
||||
<constraint firstAttribute="width" constant="46" id="oX0-WH-XwB"/>
|
||||
</constraints>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" sendsActionOnEndEditing="YES" state="on" alignment="center" id="wsG-87-WCu">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -194,7 +195,7 @@
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
<nil key="positiveInfinitySymbol"/>
|
||||
</numberFormatter>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -204,17 +205,17 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="drr-hJ-0St">
|
||||
<rect key="frame" x="219" y="198" width="10" height="14"/>
|
||||
<rect key="frame" x="219" y="197" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="7Ug-k7-d7I">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jJB-Ty-mki">
|
||||
<rect key="frame" x="219" y="281" width="10" height="14"/>
|
||||
<rect key="frame" x="219" y="280" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="lgq-Fj-LB5">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -229,7 +230,7 @@
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
<nil key="positiveInfinitySymbol"/>
|
||||
</numberFormatter>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -248,7 +249,7 @@
|
||||
<nil key="negativeInfinitySymbol"/>
|
||||
<nil key="positiveInfinitySymbol"/>
|
||||
</numberFormatter>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -258,10 +259,10 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8uz-fA-OM4">
|
||||
<rect key="frame" x="161" y="166" width="62" height="22"/>
|
||||
<rect key="frame" x="161" y="166" width="64" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="vVg-S9-JUk" id="1Lt-yX-9cP">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="Wc0-3P-okr">
|
||||
<items>
|
||||
<menuItem title="None" state="on" id="vVg-S9-JUk"/>
|
||||
@@ -282,23 +283,23 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QID-3k-PHK">
|
||||
<rect key="frame" x="219" y="305" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="ILN-KP-l0z">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="AEE-SG-UWs">
|
||||
<rect key="frame" x="41" y="281" width="118" height="14"/>
|
||||
<rect key="frame" x="41" y="280" width="118" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Scaled Size:" id="1O9-J3-Plk">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="BeZ-s7-H0q">
|
||||
<rect key="frame" x="289" y="281" width="35" height="14"/>
|
||||
<rect key="frame" x="289" y="280" width="35" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="7as-HC-onR">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -306,7 +307,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="HtH-F7-8Bv">
|
||||
<rect key="frame" x="18" y="171" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Group:" id="Fye-Hi-zqu">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -317,7 +318,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="cbR-yR-H9l">
|
||||
<rect key="frame" x="18" y="28" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Forced:" id="gMo-yz-dz5">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -329,7 +330,7 @@
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="No" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="KOg-FR-dr6" id="Tx6-IV-D1K">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="UdS-Yi-1yh">
|
||||
<items>
|
||||
<menuItem title="No" state="on" id="KOg-FR-dr6"/>
|
||||
@@ -347,7 +348,7 @@
|
||||
<rect key="frame" x="161" y="-1" width="196" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="H3I-ix-0Ay" id="PXs-ar-sil">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="ANO-Mb-aQ0">
|
||||
<items>
|
||||
<menuItem title="None" state="on" id="H3I-ix-0Ay"/>
|
||||
@@ -362,7 +363,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="fwe-5g-QAo">
|
||||
<rect key="frame" x="85" y="4" width="74" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Forced track:" id="NPR-jz-Ile">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -388,7 +389,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="xfb-DL-1Pr">
|
||||
<rect key="frame" x="18" y="6" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color Space:" id="BZv-h3-OMk">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
@@ -400,7 +401,7 @@
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="Implicit" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="6PY-Np-Y3s" id="G6U-LQ-v4b">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="7qj-VS-hv7">
|
||||
<items>
|
||||
<menuItem title="Implicit" state="on" tag="1" id="6PY-Np-Y3s"/>
|
||||
@@ -449,7 +450,7 @@
|
||||
</constraints>
|
||||
<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="NIA-f8-VWx" id="Ehv-0f-dPW">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" title="OtherViews" id="xaj-0K-cm0">
|
||||
<items>
|
||||
<menuItem title="Current profile: unknown" state="on" tag="1" id="NIA-f8-VWx"/>
|
||||
@@ -473,7 +474,7 @@
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="jin-Xn-WJl">
|
||||
<rect key="frame" x="18" y="73" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="H.264 Video Profile/Level:" id="nrd-22-FZl">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
final class ChapterViewController : NSViewController, NSTableViewDataSource, NSTableViewDelegate {
|
||||
final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTableViewDelegate {
|
||||
|
||||
var track: MP42ChapterTrack {
|
||||
didSet {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
import Cocoa
|
||||
|
||||
final class EmptyViewController: NSViewController {
|
||||
final class EmptyViewController: PropertyView {
|
||||
|
||||
override var nibName: NSNib.Name? {
|
||||
return "EmptyView"
|
||||
|
||||
@@ -9,7 +9,7 @@ import Cocoa
|
||||
import Quartz
|
||||
import MP42Foundation
|
||||
|
||||
class MovieViewController: NSViewController, NSTableViewDataSource, ExpandedTableViewDelegate, ImageBrowserViewDelegate, NSDraggingDestination {
|
||||
class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableViewDelegate, ImageBrowserViewDelegate, NSDraggingDestination {
|
||||
|
||||
var metadata: MP42Metadata {
|
||||
didSet {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
import Cocoa
|
||||
|
||||
final class MultiSelectViewController : NSViewController {
|
||||
final class MultiSelectViewController : PropertyView {
|
||||
|
||||
var numberOfTracks: UInt = 0 {
|
||||
didSet {
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// PropertyView.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 11/11/2019.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
class PropertyView : NSViewController {
|
||||
@IBOutlet var tabView: NSTabView?
|
||||
|
||||
func navigate(direction: Int) {
|
||||
if direction == NSRightArrowFunctionKey {
|
||||
tabView?.selectNextTabViewItem(self)
|
||||
} else {
|
||||
tabView?.selectPreviousTabViewItem(self)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
final class SoundViewController : NSViewController {
|
||||
final class SoundViewController : PropertyView {
|
||||
|
||||
let file: MP42File
|
||||
var track: MP42AudioTrack {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
final class VideoViewController: NSViewController {
|
||||
final class VideoViewController: PropertyView {
|
||||
|
||||
private let file: MP42File
|
||||
var track: MP42VideoTrack {
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
A91576EB204ECA6E00D93CE7 /* Token.swift in Sources */ = {isa = PBXBuildFile; fileRef = A91576EA204ECA6E00D93CE7 /* Token.swift */; };
|
||||
A91B196C1F2B0DCB0008675F /* QueueAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = A91B196B1F2B0DCB0008675F /* QueueAction.swift */; };
|
||||
A91EB969205ABAF400392E1C /* NSWindowAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A91EB968205ABAF400392E1C /* NSWindowAdditions.swift */; };
|
||||
A91F0FA023797F2800C9DCC9 /* PropertyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A91F0F9F23797F2800C9DCC9 /* PropertyView.swift */; };
|
||||
A922E01C2233C93C0072FD1B /* Sparkle.framework in Copy Files */ = {isa = PBXBuildFile; fileRef = A922E01B2233C9380072FD1B /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
A922E01D2233C93F0072FD1B /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A922E01B2233C9380072FD1B /* Sparkle.framework */; };
|
||||
A922E0292233C9B20072FD1B /* org.sparkle-project.InstallerConnection.xpc in CopyFiles */ = {isa = PBXBuildFile; fileRef = A922E01F2233C9930072FD1B /* org.sparkle-project.InstallerConnection.xpc */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
|
||||
@@ -225,6 +226,7 @@
|
||||
A91576EA204ECA6E00D93CE7 /* Token.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Token.swift; path = Classes/Token.swift; sourceTree = "<group>"; };
|
||||
A91B196B1F2B0DCB0008675F /* QueueAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueAction.swift; path = Classes/QueueAction.swift; sourceTree = "<group>"; };
|
||||
A91EB968205ABAF400392E1C /* NSWindowAdditions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = NSWindowAdditions.swift; path = Classes/NSWindowAdditions.swift; sourceTree = "<group>"; };
|
||||
A91F0F9F23797F2800C9DCC9 /* PropertyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PropertyView.swift; path = Classes/PropertyView/PropertyView.swift; sourceTree = "<group>"; };
|
||||
A922E01B2233C9380072FD1B /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sparkle.framework; path = Sparkle/Sparkle.framework; sourceTree = "<group>"; };
|
||||
A922E01F2233C9930072FD1B /* org.sparkle-project.InstallerConnection.xpc */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.xpc-service"; name = "org.sparkle-project.InstallerConnection.xpc"; path = "Sparkle/org.sparkle-project.InstallerConnection.xpc"; sourceTree = "<group>"; };
|
||||
A922E0202233C9930072FD1B /* org.sparkle-project.InstallerStatus.xpc */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.xpc-service"; name = "org.sparkle-project.InstallerStatus.xpc"; path = "Sparkle/org.sparkle-project.InstallerStatus.xpc"; sourceTree = "<group>"; };
|
||||
@@ -624,6 +626,7 @@
|
||||
A9FD5D150F3C692400817716 /* PropertyView */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A91F0F9F23797F2800C9DCC9 /* PropertyView.swift */,
|
||||
A9C09C991F9A0808007939EE /* EmptyViewController.swift */,
|
||||
A9AB485C17F0AEFD000AA72E /* EmptyView.xib */,
|
||||
A9C09C9B1F9A08A9007939EE /* MultiSelectViewController.swift */,
|
||||
@@ -819,6 +822,7 @@
|
||||
A959001A202AF21800FD8F23 /* ProgressViewController.swift in Sources */,
|
||||
A91576EB204ECA6E00D93CE7 /* Token.swift in Sources */,
|
||||
A9676A341FB6EAAD00C1E300 /* ItemViewController.swift in Sources */,
|
||||
A91F0FA023797F2800C9DCC9 /* PropertyView.swift in Sources */,
|
||||
A98D6BAB21FDC62800F0D886 /* Queue.swift in Sources */,
|
||||
A98542DC20D1A7E500EB9803 /* ArtworkSelectorViewItem.swift in Sources */,
|
||||
A90C3E0C1FD16AF200F64532 /* TokensViewController.swift in Sources */,
|
||||
|
||||
Reference in new issue
Block a user