Add more color spaces.
This commit is contained in:
2 files changed
+25
-5
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="18121" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="18121"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -45,11 +45,11 @@
|
|||||||
<tabViewItems>
|
<tabViewItems>
|
||||||
<tabViewItem label="Visual Settings" identifier="1" id="6">
|
<tabViewItem label="Visual Settings" identifier="1" id="6">
|
||||||
<view key="view" id="9">
|
<view key="view" id="9">
|
||||||
<rect key="frame" x="10" y="25" width="609" height="445"/>
|
<rect key="frame" x="10" y="29" width="609" height="441"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="Drh-uk-1vk">
|
<customView translatesAutoresizingMaskIntoConstraints="NO" id="Drh-uk-1vk">
|
||||||
<rect key="frame" x="87" y="64" width="436" height="329"/>
|
<rect key="frame" x="87" y="62" width="436" height="329"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ifV-jn-Kjv">
|
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ifV-jn-Kjv">
|
||||||
<rect key="frame" x="234" y="229" width="50" height="19"/>
|
<rect key="frame" x="234" y="229" width="50" height="19"/>
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8uz-fA-OM4">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8uz-fA-OM4">
|
||||||
<rect key="frame" x="160" y="165" width="62" height="22"/>
|
<rect key="frame" x="160" y="165" width="60" 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">
|
<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"/>
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="controlContent" size="11"/>
|
<font key="font" metaFont="controlContent" size="11"/>
|
||||||
@@ -410,6 +410,10 @@
|
|||||||
<menuItem title="Rec. 709 (1-1-1)" tag="4" id="bc1-gr-6m9"/>
|
<menuItem title="Rec. 709 (1-1-1)" tag="4" id="bc1-gr-6m9"/>
|
||||||
<menuItem title="Rec. 2020 (9-1-9)" tag="5" id="8V9-Sh-Mnu"/>
|
<menuItem title="Rec. 2020 (9-1-9)" tag="5" id="8V9-Sh-Mnu"/>
|
||||||
<menuItem title="Rec. 2100 PQ (9-16-9)" tag="6" id="d2S-Qf-ltk"/>
|
<menuItem title="Rec. 2100 PQ (9-16-9)" tag="6" id="d2S-Qf-ltk"/>
|
||||||
|
<menuItem title="Rec. 2100 HLG (9-18-9)" tag="7" id="lAn-vv-Amd"/>
|
||||||
|
<menuItem title="P3-DCI (11-17-6)" tag="8" id="z4V-UV-xor"/>
|
||||||
|
<menuItem title="P3-D65 (12-17-6)" tag="9" id="fNy-M4-iaz"/>
|
||||||
|
<menuItem title="sRGB (1-13-1)" tag="10" id="l0E-aL-LGd"/>
|
||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
</popUpButtonCell>
|
</popUpButtonCell>
|
||||||
|
|||||||
@@ -129,12 +129,20 @@ final class VideoViewController: PropertyView {
|
|||||||
return NSLocalizedString("Rec. 709 (1-1-1)", comment: "color profile")
|
return NSLocalizedString("Rec. 709 (1-1-1)", comment: "color profile")
|
||||||
case (9, 16, 9):
|
case (9, 16, 9):
|
||||||
return NSLocalizedString("Rec. 2100 PQ (9-16-9)", comment: "color profile")
|
return NSLocalizedString("Rec. 2100 PQ (9-16-9)", comment: "color profile")
|
||||||
|
case (9, 18, 9):
|
||||||
|
return NSLocalizedString("Rec. 2100 HLG (9-18-9)", comment: "color profile")
|
||||||
case (9, 1, 9):
|
case (9, 1, 9):
|
||||||
return NSLocalizedString("Rec. 2020 (9-1-9)", comment: "color profile")
|
return NSLocalizedString("Rec. 2020 (9-1-9)", comment: "color profile")
|
||||||
case (5, 1, 6):
|
case (5, 1, 6):
|
||||||
return NSLocalizedString("Rec. 601 (5-1-6)", comment: "color profile")
|
return NSLocalizedString("Rec. 601 (5-1-6)", comment: "color profile")
|
||||||
case (6, 1, 6):
|
case (6, 1, 6):
|
||||||
return NSLocalizedString("Rec. 601 (6-1-6)", comment: "color profile")
|
return NSLocalizedString("Rec. 601 (6-1-6)", comment: "color profile")
|
||||||
|
case (11, 17, 6):
|
||||||
|
return NSLocalizedString("P3-DCI (11-17-6)", comment: "color profile")
|
||||||
|
case (12, 17, 6):
|
||||||
|
return NSLocalizedString("P3-D65 (12-17-6)", comment: "color profile")
|
||||||
|
case (1, 13, 1):
|
||||||
|
return NSLocalizedString("sRGB (1-13-1)", comment: "color profile")
|
||||||
default:
|
default:
|
||||||
return "\(colorTag.0)-\(colorTag.1)-\(colorTag.2)"
|
return "\(colorTag.0)-\(colorTag.1)-\(colorTag.2)"
|
||||||
}
|
}
|
||||||
@@ -312,6 +320,14 @@ final class VideoViewController: PropertyView {
|
|||||||
colorTag = (9, 1, 9)
|
colorTag = (9, 1, 9)
|
||||||
case 6:
|
case 6:
|
||||||
colorTag = (9, 16, 9)
|
colorTag = (9, 16, 9)
|
||||||
|
case 7:
|
||||||
|
colorTag = (9, 18, 9)
|
||||||
|
case 8:
|
||||||
|
colorTag = (11, 17, 6)
|
||||||
|
case 9:
|
||||||
|
colorTag = (12, 17, 6)
|
||||||
|
case 10:
|
||||||
|
colorTag = (1, 13, 1)
|
||||||
default:
|
default:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user