DisplayPreferences.xib 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
  3. <dependencies>
  4. <deployment version="101100" identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner" customClass="KMDisplayPreferences" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="antiAliasCheckButton" destination="9" id="101"/>
  12. <outlet property="colorControl1" destination="16" id="4VH-rQ-aQh"/>
  13. <outlet property="colorControl2" destination="15" id="mXT-Tn-DxH"/>
  14. <outlet property="colorControl3" destination="17" id="rO8-kH-MIn"/>
  15. <outlet property="colorControl4" destination="23" id="u2w-ik-lQX"/>
  16. <outlet property="colorControl5" destination="24" id="sAj-v2-oQu"/>
  17. <outlet property="discreteSizeCheckbox" destination="6" id="UuS-R3-NWc"/>
  18. <outlet property="greekingLabelField" destination="11" id="88"/>
  19. <outlet property="greekingTextField" destination="10" id="89"/>
  20. <outlet property="normalColorLabel" destination="14" id="daq-AW-7rq"/>
  21. <outlet property="pagesLabel" destination="2" id="I9C-bM-UbM"/>
  22. <outlet property="pagesSlider" destination="3" id="TP7-Qv-sKL"/>
  23. <outlet property="readingbarColorLabel" destination="25" id="sWY-2L-hjx"/>
  24. <outlet property="snapshotLabel" destination="4" id="9nB-5o-dYN"/>
  25. <outlet property="snapshotSlider" destination="5" id="2lw-as-Icg"/>
  26. <outlet property="tableFontComboBox" destination="29" id="90"/>
  27. <outlet property="tableFontLabelField" destination="28" id="91"/>
  28. <outlet property="view" destination="1" id="81"/>
  29. </connections>
  30. </customObject>
  31. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  32. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  33. <customView id="1">
  34. <rect key="frame" x="0.0" y="0.0" width="339" height="434"/>
  35. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  36. <subviews>
  37. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="2">
  38. <rect key="frame" x="57" y="372" width="45" height="17"/>
  39. <autoresizingMask key="autoresizingMask"/>
  40. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Pages:" id="50">
  41. <font key="font" metaFont="system"/>
  42. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  43. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  44. </textFieldCell>
  45. </textField>
  46. <slider toolTip="Set the size of the thumbnails" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3">
  47. <rect key="frame" x="105" y="368" width="149" height="21"/>
  48. <autoresizingMask key="autoresizingMask"/>
  49. <sliderCell key="cell" alignment="left" minValue="32" maxValue="256" doubleValue="64" tickMarkPosition="above" sliderType="linear" id="49">
  50. <font key="font" size="12" name="Helvetica"/>
  51. </sliderCell>
  52. <connections>
  53. <accessibilityConnection property="link" destination="5" id="104"/>
  54. <accessibilityConnection property="title" destination="2" id="52"/>
  55. <binding destination="61" name="value" keyPath="values.SKThumbnailSize" id="62"/>
  56. </connections>
  57. </slider>
  58. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4">
  59. <rect key="frame" x="29" y="340" width="73" height="17"/>
  60. <autoresizingMask key="autoresizingMask"/>
  61. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Snapshots:" id="48">
  62. <font key="font" metaFont="system"/>
  63. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  64. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  65. </textFieldCell>
  66. </textField>
  67. <slider toolTip="Set the size of the thumbnails" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5">
  68. <rect key="frame" x="105" y="336" width="149" height="21"/>
  69. <autoresizingMask key="autoresizingMask"/>
  70. <sliderCell key="cell" alignment="left" minValue="32" maxValue="256" doubleValue="128" tickMarkPosition="above" sliderType="linear" id="47">
  71. <font key="font" size="12" name="Helvetica"/>
  72. </sliderCell>
  73. <connections>
  74. <accessibilityConnection property="title" destination="4" id="57"/>
  75. <binding destination="61" name="value" keyPath="values.SKSnapshotThumbnailSize" id="63"/>
  76. </connections>
  77. </slider>
  78. <button toolTip="Restrict thumbnail sizes to discrete values" fixedFrame="YES" imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6">
  79. <rect key="frame" x="105" y="304" width="110" height="18"/>
  80. <autoresizingMask key="autoresizingMask"/>
  81. <buttonCell key="cell" type="check" title="Discrete sizes" bezelStyle="regularSquare" imagePosition="leading" alignment="left" inset="2" id="46">
  82. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  83. <font key="font" metaFont="system"/>
  84. </buttonCell>
  85. <connections>
  86. <accessibilityConnection property="link" destination="3" id="105"/>
  87. <accessibilityConnection property="link" destination="5" id="106"/>
  88. <action selector="changeDiscreteThumbnailSizes:" target="-2" id="84"/>
  89. </connections>
  90. </button>
  91. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7">
  92. <rect key="frame" x="17" y="397" width="459" height="17"/>
  93. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  94. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Thumbnail sizes:" id="45">
  95. <font key="font" metaFont="system"/>
  96. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  97. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  98. </textFieldCell>
  99. </textField>
  100. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="8">
  101. <rect key="frame" x="12" y="291" width="315" height="5"/>
  102. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  103. </box>
  104. <button toolTip="Render smooth text" fixedFrame="YES" imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9">
  105. <rect key="frame" x="30" y="166" width="189" height="18"/>
  106. <autoresizingMask key="autoresizingMask"/>
  107. <buttonCell key="cell" type="check" title="Anti-alias text and line art" bezelStyle="regularSquare" imagePosition="leading" alignment="left" state="on" inset="2" id="44">
  108. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  109. <font key="font" metaFont="system"/>
  110. </buttonCell>
  111. <connections>
  112. <binding destination="61" name="value" keyPath="values.SKShouldAntiAlias" id="68"/>
  113. </connections>
  114. </button>
  115. <textField toolTip="Don't render characters smaller than this size" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="10">
  116. <rect key="frame" x="164" y="188" width="53" height="22"/>
  117. <autoresizingMask key="autoresizingMask"/>
  118. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="42">
  119. <numberFormatter key="formatter" formatterBehavior="10_0" positiveFormat="#,##0.##" negativeFormat="-#,##0.##" localizesFormat="NO" thousandSeparator="," id="43">
  120. <attributedString key="attributedStringForZero">
  121. <fragment content="0"/>
  122. </attributedString>
  123. <decimal key="minimum" value="NaN"/>
  124. <decimal key="maximum" value="NaN"/>
  125. </numberFormatter>
  126. <font key="font" metaFont="system"/>
  127. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  128. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  129. </textFieldCell>
  130. <connections>
  131. <accessibilityConnection property="title" destination="11" id="54"/>
  132. <binding destination="61" name="value" keyPath="values.SKGreekingThreshold" id="67"/>
  133. </connections>
  134. </textField>
  135. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="11">
  136. <rect key="frame" x="29" y="190" width="130" height="17"/>
  137. <autoresizingMask key="autoresizingMask"/>
  138. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Greeking threshold:" id="41">
  139. <font key="font" metaFont="system"/>
  140. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  141. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  142. </textFieldCell>
  143. </textField>
  144. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="12">
  145. <rect key="frame" x="17" y="218" width="305" height="17"/>
  146. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  147. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="PDF display:" id="40">
  148. <font key="font" metaFont="system"/>
  149. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  150. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  151. </textFieldCell>
  152. </textField>
  153. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="13">
  154. <rect key="frame" x="17" y="126" width="305" height="17"/>
  155. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  156. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Background color:" id="39">
  157. <font key="font" metaFont="system"/>
  158. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  159. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  160. </textFieldCell>
  161. </textField>
  162. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="14">
  163. <rect key="frame" x="29" y="98" width="55" height="17"/>
  164. <autoresizingMask key="autoresizingMask"/>
  165. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Normal:" id="38">
  166. <font key="font" metaFont="system"/>
  167. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  168. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  169. </textFieldCell>
  170. </textField>
  171. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="15">
  172. <rect key="frame" x="158" y="98" width="77" height="17"/>
  173. <autoresizingMask key="autoresizingMask"/>
  174. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Full Screen:" id="37">
  175. <font key="font" metaFont="system"/>
  176. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  177. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  178. </textFieldCell>
  179. </textField>
  180. <colorWell toolTip="Color to use for the background of the PDF view in normal mode" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="16">
  181. <rect key="frame" x="89" y="94" width="52" height="24"/>
  182. <autoresizingMask key="autoresizingMask"/>
  183. <color key="color" red="0.40000000600000002" green="0.40000000600000002" blue="0.40000000600000002" alpha="1" colorSpace="calibratedRGB"/>
  184. <connections>
  185. <accessibilityConnection property="link" destination="17" id="107"/>
  186. <accessibilityConnection property="title" destination="14" id="59"/>
  187. <binding destination="61" name="value" keyPath="values.SKBackgroundColor" id="76">
  188. <dictionary key="options">
  189. <string key="NSValueTransformerName">NSUnarchiveFromData</string>
  190. </dictionary>
  191. </binding>
  192. <outlet property="nextKeyView" destination="17" id="51"/>
  193. </connections>
  194. </colorWell>
  195. <colorWell toolTip="Color to use for the background of the PDF view in full screen mode" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="17">
  196. <rect key="frame" x="240" y="94" width="52" height="24"/>
  197. <autoresizingMask key="autoresizingMask"/>
  198. <color key="color" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  199. <connections>
  200. <accessibilityConnection property="title" destination="15" id="53"/>
  201. <binding destination="61" name="value" keyPath="values.SKFullScreenBackgroundColor" id="75">
  202. <dictionary key="options">
  203. <string key="NSValueTransformerName">NSUnarchiveFromData</string>
  204. </dictionary>
  205. </binding>
  206. </connections>
  207. </colorWell>
  208. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="20">
  209. <rect key="frame" x="12" y="79" width="315" height="5"/>
  210. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  211. </box>
  212. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="22">
  213. <rect key="frame" x="17" y="52" width="305" height="17"/>
  214. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  215. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Reading bar:" id="35">
  216. <font key="font" metaFont="system"/>
  217. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  218. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  219. </textFieldCell>
  220. </textField>
  221. <colorWell toolTip="Color to use for the reading bar" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="23">
  222. <rect key="frame" x="89" y="20" width="52" height="24"/>
  223. <autoresizingMask key="autoresizingMask"/>
  224. <color key="color" red="1" green="1" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  225. <connections>
  226. <accessibilityConnection property="link" destination="24" id="102"/>
  227. <accessibilityConnection property="title" destination="25" id="55"/>
  228. <binding destination="61" name="value" keyPath="values.SKReadingBarColor" id="79">
  229. <dictionary key="options">
  230. <string key="NSValueTransformerName">NSUnarchiveFromData</string>
  231. </dictionary>
  232. </binding>
  233. </connections>
  234. </colorWell>
  235. <button toolTip="Select to mask the text outside the reading bar" fixedFrame="YES" imageHugsTitle="YES" translatesAutoresizingMaskIntoConstraints="NO" id="24">
  236. <rect key="frame" x="159" y="23" width="83" height="18"/>
  237. <autoresizingMask key="autoresizingMask"/>
  238. <buttonCell key="cell" type="check" title="Invert bar" bezelStyle="regularSquare" imagePosition="leading" alignment="left" inset="2" id="34">
  239. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  240. <font key="font" metaFont="system"/>
  241. </buttonCell>
  242. <connections>
  243. <binding destination="61" name="value" keyPath="values.SKReadingBarInvert" id="80"/>
  244. </connections>
  245. </button>
  246. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="25">
  247. <rect key="frame" x="41" y="24" width="43" height="17"/>
  248. <autoresizingMask key="autoresizingMask"/>
  249. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color:" id="33">
  250. <font key="font" metaFont="system"/>
  251. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  252. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  253. </textFieldCell>
  254. </textField>
  255. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="26">
  256. <rect key="frame" x="12" y="153" width="315" height="5"/>
  257. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  258. </box>
  259. <box verticalHuggingPriority="750" fixedFrame="YES" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="27">
  260. <rect key="frame" x="12" y="245" width="315" height="5"/>
  261. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  262. </box>
  263. <textField verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="28">
  264. <rect key="frame" x="17" y="261" width="102" height="17"/>
  265. <autoresizingMask key="autoresizingMask"/>
  266. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Outline font size:" id="32">
  267. <font key="font" metaFont="system"/>
  268. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  269. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  270. </textFieldCell>
  271. </textField>
  272. <comboBox toolTip="Font size to use for outlines" verticalHuggingPriority="750" fixedFrame="YES" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="29">
  273. <rect key="frame" x="124" y="257" width="57" height="26"/>
  274. <autoresizingMask key="autoresizingMask"/>
  275. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" completes="NO" numberOfVisibleItems="15" id="30">
  276. <numberFormatter key="formatter" formatterBehavior="10_0" positiveFormat="#,##0.#" negativeFormat="-#,##0.#" thousandSeparator="," id="31">
  277. <attributedString key="attributedStringForZero">
  278. <fragment content="0"/>
  279. </attributedString>
  280. <decimal key="minimum" value="NaN"/>
  281. <decimal key="maximum" value="NaN"/>
  282. </numberFormatter>
  283. <font key="font" metaFont="system"/>
  284. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  285. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  286. </comboBoxCell>
  287. <connections>
  288. <accessibilityConnection property="title" destination="28" id="58"/>
  289. <binding destination="61" name="value" keyPath="values.SKTableFontSize" id="Ab9-ya-Ccs"/>
  290. </connections>
  291. </comboBox>
  292. </subviews>
  293. <point key="canvasLocation" x="-3" y="154"/>
  294. </customView>
  295. <userDefaultsController representsSharedInstance="YES" id="61"/>
  296. <customObject id="108" userLabel="Thumbnail Size Labels" customClass="SKIBArray"/>
  297. <customObject id="109" userLabel="Thumbnail Size Controls" customClass="SKIBArray"/>
  298. <customObject id="117" userLabel="Color Labels" customClass="SKIBArray"/>
  299. <customObject id="121" userLabel="Color Controls" customClass="SKIBArray"/>
  300. </objects>
  301. </document>