Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
Preference: move Load ICC profile switch to codec tab; add `Use mas…
Browse files Browse the repository at this point in the history
…tering display metadata` switch
  • Loading branch information
CarterLi committed Apr 24, 2022
1 parent 9217729 commit edcd204
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 61 deletions.
29 changes: 6 additions & 23 deletions iina/Base.lproj/PrefAdvancedViewController.xib
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
</connections>
</button>
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bA7-7o-Vd0">
<rect key="frame" x="8" y="103" width="484" height="130"/>
<rect key="frame" x="8" y="103" width="484" height="148"/>
<clipView key="contentView" id="aL1-v5-nLY">
<rect key="frame" x="1" y="1" width="482" height="128"/>
<rect key="frame" x="1" y="1" width="482" height="146"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="wiq-g9-ouS" id="LPs-2B-Pt0">
<rect key="frame" x="0.0" y="0.0" width="482" height="105"/>
<rect key="frame" x="0.0" y="0.0" width="482" height="123"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -89,7 +89,7 @@
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
</tableColumn>
<tableColumn identifier="Value" width="349" minWidth="40" maxWidth="1000" id="SX9-fy-bss">
<tableColumn identifier="Value" width="320" minWidth="40" maxWidth="1000" id="SX9-fy-bss">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Value">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -125,7 +125,7 @@
</tableHeaderView>
</scrollView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="wWR-n2-u2E">
<rect key="frame" x="6" y="241" width="143" height="16"/>
<rect key="frame" x="6" y="259" width="143" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Additional mpv options" id="6F6-Y7-8oR">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -246,20 +246,6 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button translatesAutoresizingMaskIntoConstraints="NO" id="M5I-lT-KTy">
<rect key="frame" x="6" y="264" width="139" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="PMd-aq-CcE"/>
</constraints>
<buttonCell key="cell" type="check" title="Disable ICC profile" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="I3v-gt-EO9">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="nyg-fH-Pug" name="enabled" keyPath="values.enableAdvancedSettings" id="g60-PU-bga"/>
<binding destination="nyg-fH-Pug" name="value" keyPath="values.disableLoadingIccProfile" id="5jI-0e-S16"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstItem="1NU-Lr-cuR" firstAttribute="leading" secondItem="bA7-7o-Vd0" secondAttribute="leading" id="3Zo-e3-ao5"/>
Expand All @@ -268,16 +254,13 @@
<constraint firstItem="jsf-pn-h6s" firstAttribute="top" secondItem="Gf8-9e-wu7" secondAttribute="bottom" constant="8" id="8sD-5a-FXo"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="480" id="9rR-Md-Sod"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="zKI-kU-PWr" secondAttribute="trailing" constant="8" id="A4q-u7-eZ7"/>
<constraint firstItem="wWR-n2-u2E" firstAttribute="top" secondItem="M5I-lT-KTy" secondAttribute="bottom" constant="8" id="Cg4-PA-TyS"/>
<constraint firstItem="SHQ-mh-jeX" firstAttribute="top" secondItem="vY6-lX-1l5" secondAttribute="top" constant="8" id="Dvs-6e-7wU"/>
<constraint firstAttribute="trailing" secondItem="hbF-n4-jl3" secondAttribute="trailing" constant="8" id="FDJ-Cp-psA"/>
<constraint firstItem="zKI-kU-PWr" firstAttribute="leading" secondItem="SHQ-mh-jeX" secondAttribute="leading" id="Fvw-CC-nKH"/>
<constraint firstItem="1NU-Lr-cuR" firstAttribute="trailing" secondItem="bA7-7o-Vd0" secondAttribute="trailing" id="HTl-7I-Zcu"/>
<constraint firstAttribute="bottom" secondItem="HmN-IK-rGn" secondAttribute="bottom" id="Ivk-KG-oyA"/>
<constraint firstItem="1NU-Lr-cuR" firstAttribute="top" secondItem="bA7-7o-Vd0" secondAttribute="bottom" constant="-1" id="KSl-QB-xiy"/>
<constraint firstAttribute="bottom" secondItem="jsf-pn-h6s" secondAttribute="bottom" constant="18" id="P70-PP-vNV"/>
<constraint firstItem="M5I-lT-KTy" firstAttribute="leading" secondItem="zKI-kU-PWr" secondAttribute="leading" id="Y2U-SB-A6i"/>
<constraint firstItem="M5I-lT-KTy" firstAttribute="top" secondItem="zKI-kU-PWr" secondAttribute="bottom" constant="8" id="Y4C-Bz-rBc"/>
<constraint firstItem="bA7-7o-Vd0" firstAttribute="top" secondItem="wWR-n2-u2E" secondAttribute="bottom" constant="8" id="ZB8-eK-Abf"/>
<constraint firstItem="HmN-IK-rGn" firstAttribute="leading" secondItem="vY6-lX-1l5" secondAttribute="leading" id="aAj-ev-1k6"/>
<constraint firstItem="wWR-n2-u2E" firstAttribute="leading" secondItem="vY6-lX-1l5" secondAttribute="leading" constant="8" id="bQ8-hg-8SK"/>
Expand All @@ -286,11 +269,11 @@
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="wWR-n2-u2E" secondAttribute="trailing" constant="8" id="cWT-fx-J5u"/>
<constraint firstAttribute="trailing" secondItem="shz-CZ-kqM" secondAttribute="trailing" constant="8" id="eHI-S4-ALO"/>
<constraint firstAttribute="trailing" secondItem="bA7-7o-Vd0" secondAttribute="trailing" constant="8" id="foA-Yd-KGK"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="M5I-lT-KTy" secondAttribute="trailing" priority="8" constant="8" id="gkG-Ng-SDQ"/>
<constraint firstItem="hbF-n4-jl3" firstAttribute="baseline" secondItem="Gf8-9e-wu7" secondAttribute="baseline" id="j2y-sy-d0s"/>
<constraint firstItem="jsf-pn-h6s" firstAttribute="leading" secondItem="Gf8-9e-wu7" secondAttribute="leading" constant="18" id="kCk-Cy-eeA"/>
<constraint firstItem="hbF-n4-jl3" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Gf8-9e-wu7" secondAttribute="trailing" constant="8" id="ltk-Vb-ZZN"/>
<constraint firstItem="shz-CZ-kqM" firstAttribute="baseline" secondItem="SHQ-mh-jeX" secondAttribute="baseline" id="plm-KY-Yk5"/>
<constraint firstItem="wWR-n2-u2E" firstAttribute="top" secondItem="zKI-kU-PWr" secondAttribute="bottom" constant="12" id="s7C-tJ-vDO"/>
<constraint firstItem="bA7-7o-Vd0" firstAttribute="leading" secondItem="vY6-lX-1l5" secondAttribute="leading" constant="8" id="vIL-Pv-g7K"/>
<constraint firstItem="Gf8-9e-wu7" firstAttribute="top" secondItem="1NU-Lr-cuR" secondAttribute="bottom" constant="21" id="vlF-g2-sTm"/>
<constraint firstAttribute="trailing" secondItem="jsf-pn-h6s" secondAttribute="trailing" constant="8" id="xHU-Tk-fPb"/>
Expand Down
Loading

0 comments on commit edcd204

Please sign in to comment.