KMPenController.xib 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  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="KMPenController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="colorBGView" destination="pob-ji-dGx" id="MbW-76-wOq"/>
  12. <outlet property="colorGroup" destination="JCn-mH-NGi" id="yVH-vp-La4"/>
  13. <outlet property="colorLabel" destination="9eA-2O-mYG" id="n4u-HX-ouZ"/>
  14. <outlet property="colorOpacitySelect" destination="Tvp-kB-R4T" id="clJ-kr-SsJ"/>
  15. <outlet property="colorSlider" destination="KDZ-cB-TkN" id="XGJ-VX-KTQ"/>
  16. <outlet property="lineBGView" destination="9SI-zI-C10" id="wnf-x2-kF1"/>
  17. <outlet property="lineDashSelect" destination="leL-IW-pYm" id="Gsg-Nb-qVW"/>
  18. <outlet property="lineDashSlider" destination="Tx8-cX-vrt" id="eLG-B0-Itm"/>
  19. <outlet property="lineLabel" destination="FEb-Ts-oUI" id="g09-H4-HZd"/>
  20. <outlet property="lineTypeSelector" destination="IMh-fN-7hp" id="ycb-ar-8Gb"/>
  21. <outlet property="lineWidthSelect" destination="ngL-wR-FYP" id="Cav-le-kTb"/>
  22. <outlet property="lineWidthSlider" destination="emO-bT-9PY" id="Hpf-iB-uq2"/>
  23. <outlet property="linedashInfoView" destination="wyI-tl-SHg" id="zHW-u9-Jwe"/>
  24. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  25. </connections>
  26. </customObject>
  27. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  28. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  29. <customView id="Hz6-mo-xeY">
  30. <rect key="frame" x="0.0" y="0.0" width="326" height="414"/>
  31. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  32. <subviews>
  33. <customView translatesAutoresizingMaskIntoConstraints="NO" id="SwP-ge-6Ia">
  34. <rect key="frame" x="0.0" y="0.0" width="326" height="414"/>
  35. <subviews>
  36. <customView translatesAutoresizingMaskIntoConstraints="NO" id="pob-ji-dGx">
  37. <rect key="frame" x="47" y="302" width="232" height="112"/>
  38. <subviews>
  39. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Twn-v0-yba">
  40. <rect key="frame" x="0.0" y="72" width="232" height="40"/>
  41. <subviews>
  42. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9eA-2O-mYG">
  43. <rect key="frame" x="-2" y="12" width="37" height="16"/>
  44. <textFieldCell key="cell" lineBreakMode="clipping" title="Color" id="hpp-6u-fJ2">
  45. <font key="font" usesAppearanceFont="YES"/>
  46. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  47. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  48. </textFieldCell>
  49. </textField>
  50. </subviews>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="40" id="Bex-c2-m7H"/>
  53. <constraint firstItem="9eA-2O-mYG" firstAttribute="leading" secondItem="Twn-v0-yba" secondAttribute="leading" id="Ikb-gM-dvh"/>
  54. <constraint firstItem="9eA-2O-mYG" firstAttribute="centerY" secondItem="Twn-v0-yba" secondAttribute="centerY" id="qS9-sa-QOh"/>
  55. </constraints>
  56. </customView>
  57. <customView translatesAutoresizingMaskIntoConstraints="NO" id="JCn-mH-NGi" customClass="ComponentCColorGroup" customModule="KMComponentLibrary">
  58. <rect key="frame" x="0.0" y="40" width="232" height="32"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="32" id="tU9-FA-TSK"/>
  61. </constraints>
  62. </customView>
  63. <customView translatesAutoresizingMaskIntoConstraints="NO" id="7iA-yQ-Wxn">
  64. <rect key="frame" x="0.0" y="0.0" width="232" height="32"/>
  65. <subviews>
  66. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Oar-ro-T1O">
  67. <rect key="frame" x="0.0" y="6" width="20" height="20"/>
  68. <constraints>
  69. <constraint firstAttribute="width" constant="20" id="Tq3-rh-oKo"/>
  70. <constraint firstAttribute="height" constant="20" id="yem-UI-pWd"/>
  71. </constraints>
  72. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="edit_ocapity" id="sBL-Z1-jTP"/>
  73. </imageView>
  74. <customView translatesAutoresizingMaskIntoConstraints="NO" id="KDZ-cB-TkN" customClass="ComponentSlider" customModule="KMComponentLibrary">
  75. <rect key="frame" x="28" y="10" width="116" height="12"/>
  76. <constraints>
  77. <constraint firstAttribute="height" constant="12" id="3qt-iy-wpO"/>
  78. </constraints>
  79. </customView>
  80. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Tvp-kB-R4T" customClass="ComponentSelect" customModule="KMComponentLibrary">
  81. <rect key="frame" x="152" y="0.0" width="80" height="32"/>
  82. <constraints>
  83. <constraint firstAttribute="width" constant="80" id="490-q7-O4n"/>
  84. <constraint firstAttribute="height" constant="32" id="zBH-6c-P5c"/>
  85. </constraints>
  86. </customView>
  87. </subviews>
  88. <constraints>
  89. <constraint firstItem="Oar-ro-T1O" firstAttribute="leading" secondItem="7iA-yQ-Wxn" secondAttribute="leading" id="5L4-7b-v4S"/>
  90. <constraint firstAttribute="trailing" secondItem="Tvp-kB-R4T" secondAttribute="trailing" id="5UV-MG-St9"/>
  91. <constraint firstAttribute="height" constant="32" id="IOZ-hv-p2x"/>
  92. <constraint firstItem="Tvp-kB-R4T" firstAttribute="top" secondItem="7iA-yQ-Wxn" secondAttribute="top" id="XJE-0Z-LdA"/>
  93. <constraint firstItem="Tvp-kB-R4T" firstAttribute="leading" secondItem="KDZ-cB-TkN" secondAttribute="trailing" constant="8" id="XKb-eV-Z6c"/>
  94. <constraint firstItem="Oar-ro-T1O" firstAttribute="centerY" secondItem="7iA-yQ-Wxn" secondAttribute="centerY" id="gcm-bn-KU0"/>
  95. <constraint firstItem="KDZ-cB-TkN" firstAttribute="centerY" secondItem="7iA-yQ-Wxn" secondAttribute="centerY" id="sxa-FQ-BLs"/>
  96. <constraint firstItem="KDZ-cB-TkN" firstAttribute="leading" secondItem="7iA-yQ-Wxn" secondAttribute="leading" constant="28" id="xD2-Lf-8xm"/>
  97. </constraints>
  98. </customView>
  99. </subviews>
  100. <constraints>
  101. <constraint firstAttribute="trailing" secondItem="JCn-mH-NGi" secondAttribute="trailing" id="3TJ-Th-IEO"/>
  102. <constraint firstItem="7iA-yQ-Wxn" firstAttribute="top" secondItem="JCn-mH-NGi" secondAttribute="bottom" constant="8" id="9zU-BY-vU5"/>
  103. <constraint firstAttribute="width" constant="232" id="Kls-1c-vgf"/>
  104. <constraint firstItem="Twn-v0-yba" firstAttribute="top" secondItem="pob-ji-dGx" secondAttribute="top" id="NBv-hc-IlY"/>
  105. <constraint firstAttribute="height" constant="112" id="P6D-gh-NLL"/>
  106. <constraint firstItem="Twn-v0-yba" firstAttribute="leading" secondItem="pob-ji-dGx" secondAttribute="leading" id="ciy-IX-aIm"/>
  107. <constraint firstItem="JCn-mH-NGi" firstAttribute="top" secondItem="Twn-v0-yba" secondAttribute="bottom" id="ecI-05-wLL"/>
  108. <constraint firstAttribute="trailing" secondItem="7iA-yQ-Wxn" secondAttribute="trailing" id="iH1-xu-fSt"/>
  109. <constraint firstItem="JCn-mH-NGi" firstAttribute="leading" secondItem="pob-ji-dGx" secondAttribute="leading" id="iIx-s1-iUI"/>
  110. <constraint firstItem="7iA-yQ-Wxn" firstAttribute="leading" secondItem="pob-ji-dGx" secondAttribute="leading" id="mDs-ie-B71"/>
  111. <constraint firstAttribute="trailing" secondItem="Twn-v0-yba" secondAttribute="trailing" id="tYB-Zp-mTw"/>
  112. </constraints>
  113. </customView>
  114. <customView translatesAutoresizingMaskIntoConstraints="NO" id="9SI-zI-C10">
  115. <rect key="frame" x="47" y="174" width="232" height="112"/>
  116. <subviews>
  117. <customView translatesAutoresizingMaskIntoConstraints="NO" id="9T0-s1-WLF">
  118. <rect key="frame" x="0.0" y="72" width="232" height="40"/>
  119. <subviews>
  120. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FEb-Ts-oUI">
  121. <rect key="frame" x="-2" y="12" width="30" height="16"/>
  122. <textFieldCell key="cell" lineBreakMode="clipping" title="Line" id="tua-iU-WGa">
  123. <font key="font" usesAppearanceFont="YES"/>
  124. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  125. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  126. </textFieldCell>
  127. </textField>
  128. <customView translatesAutoresizingMaskIntoConstraints="NO" id="IMh-fN-7hp" customClass="ComponentCSelectorGroup" customModule="KMComponentLibrary">
  129. <rect key="frame" x="184" y="8" width="48" height="24"/>
  130. <constraints>
  131. <constraint firstAttribute="height" constant="24" id="Rzy-Bm-aOj"/>
  132. <constraint firstAttribute="width" constant="48" id="lP8-HT-G7d"/>
  133. </constraints>
  134. </customView>
  135. </subviews>
  136. <constraints>
  137. <constraint firstItem="IMh-fN-7hp" firstAttribute="centerY" secondItem="9T0-s1-WLF" secondAttribute="centerY" id="2xk-pN-Hak"/>
  138. <constraint firstAttribute="height" constant="40" id="3Ay-U9-bhN"/>
  139. <constraint firstItem="FEb-Ts-oUI" firstAttribute="leading" secondItem="9T0-s1-WLF" secondAttribute="leading" id="77L-Qf-8Nc"/>
  140. <constraint firstAttribute="trailing" secondItem="IMh-fN-7hp" secondAttribute="trailing" id="78j-eE-iy8"/>
  141. <constraint firstItem="FEb-Ts-oUI" firstAttribute="centerY" secondItem="9T0-s1-WLF" secondAttribute="centerY" id="91I-He-dyo"/>
  142. </constraints>
  143. </customView>
  144. <customView translatesAutoresizingMaskIntoConstraints="NO" id="hDQ-AO-zYF">
  145. <rect key="frame" x="0.0" y="40" width="232" height="32"/>
  146. <subviews>
  147. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Goc-Hz-nNM">
  148. <rect key="frame" x="0.0" y="6" width="20" height="20"/>
  149. <constraints>
  150. <constraint firstAttribute="width" constant="20" id="h5a-sm-HGk"/>
  151. <constraint firstAttribute="height" constant="20" id="wR0-i9-q3B"/>
  152. </constraints>
  153. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="lineWidth_icon" id="fZ0-AD-ry6"/>
  154. </imageView>
  155. <customView translatesAutoresizingMaskIntoConstraints="NO" id="emO-bT-9PY" customClass="ComponentSlider" customModule="KMComponentLibrary">
  156. <rect key="frame" x="28" y="10" width="116" height="12"/>
  157. <constraints>
  158. <constraint firstAttribute="height" constant="12" id="3yL-uj-keR"/>
  159. </constraints>
  160. </customView>
  161. <customView translatesAutoresizingMaskIntoConstraints="NO" id="ngL-wR-FYP" customClass="ComponentSelect" customModule="KMComponentLibrary">
  162. <rect key="frame" x="152" y="0.0" width="80" height="32"/>
  163. <constraints>
  164. <constraint firstAttribute="width" constant="80" id="8er-1A-pUX"/>
  165. <constraint firstAttribute="height" constant="32" id="gSc-ic-J9y"/>
  166. </constraints>
  167. </customView>
  168. </subviews>
  169. <constraints>
  170. <constraint firstItem="emO-bT-9PY" firstAttribute="centerY" secondItem="hDQ-AO-zYF" secondAttribute="centerY" id="3jx-Hx-MP9"/>
  171. <constraint firstItem="Goc-Hz-nNM" firstAttribute="leading" secondItem="hDQ-AO-zYF" secondAttribute="leading" id="4Sf-BU-Ck0"/>
  172. <constraint firstItem="emO-bT-9PY" firstAttribute="leading" secondItem="hDQ-AO-zYF" secondAttribute="leading" constant="28" id="Snx-Ui-zAc"/>
  173. <constraint firstAttribute="height" constant="32" id="dxs-Jw-ra5"/>
  174. <constraint firstItem="ngL-wR-FYP" firstAttribute="leading" secondItem="emO-bT-9PY" secondAttribute="trailing" constant="8" id="rIl-Nc-ctB"/>
  175. <constraint firstItem="ngL-wR-FYP" firstAttribute="top" secondItem="hDQ-AO-zYF" secondAttribute="top" id="sAB-AH-gBL"/>
  176. <constraint firstAttribute="trailing" secondItem="ngL-wR-FYP" secondAttribute="trailing" id="t0c-Z1-7tr"/>
  177. <constraint firstItem="Goc-Hz-nNM" firstAttribute="centerY" secondItem="hDQ-AO-zYF" secondAttribute="centerY" id="w2h-7v-yan"/>
  178. </constraints>
  179. </customView>
  180. <customView translatesAutoresizingMaskIntoConstraints="NO" id="wyI-tl-SHg">
  181. <rect key="frame" x="0.0" y="0.0" width="232" height="32"/>
  182. <subviews>
  183. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="IJk-ZX-K1d">
  184. <rect key="frame" x="0.0" y="6" width="20" height="20"/>
  185. <constraints>
  186. <constraint firstAttribute="height" constant="20" id="Brs-J8-PHY"/>
  187. <constraint firstAttribute="width" constant="20" id="rDt-TH-Ua0"/>
  188. </constraints>
  189. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="lineStyle_dash" id="iWF-Zc-6Ib"/>
  190. </imageView>
  191. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Tx8-cX-vrt" customClass="ComponentSlider" customModule="KMComponentLibrary">
  192. <rect key="frame" x="28" y="10" width="116" height="12"/>
  193. <constraints>
  194. <constraint firstAttribute="height" constant="12" id="h1J-59-My3"/>
  195. </constraints>
  196. </customView>
  197. <customView translatesAutoresizingMaskIntoConstraints="NO" id="leL-IW-pYm" customClass="ComponentSelect" customModule="KMComponentLibrary">
  198. <rect key="frame" x="152" y="0.0" width="80" height="32"/>
  199. <constraints>
  200. <constraint firstAttribute="height" constant="32" id="QGe-UC-d7L"/>
  201. <constraint firstAttribute="width" constant="80" id="dVs-v2-IbE"/>
  202. </constraints>
  203. </customView>
  204. </subviews>
  205. <constraints>
  206. <constraint firstItem="Tx8-cX-vrt" firstAttribute="leading" secondItem="wyI-tl-SHg" secondAttribute="leading" constant="28" id="4Ml-LC-PRY"/>
  207. <constraint firstAttribute="trailing" secondItem="leL-IW-pYm" secondAttribute="trailing" id="Ajg-Gg-QqQ"/>
  208. <constraint firstItem="leL-IW-pYm" firstAttribute="top" secondItem="wyI-tl-SHg" secondAttribute="top" id="Hj1-af-1sC"/>
  209. <constraint firstItem="Tx8-cX-vrt" firstAttribute="centerY" secondItem="wyI-tl-SHg" secondAttribute="centerY" id="HyT-IA-sUC"/>
  210. <constraint firstItem="IJk-ZX-K1d" firstAttribute="leading" secondItem="wyI-tl-SHg" secondAttribute="leading" id="Qnm-LR-8NS"/>
  211. <constraint firstItem="leL-IW-pYm" firstAttribute="leading" secondItem="Tx8-cX-vrt" secondAttribute="trailing" constant="8" id="kmd-9I-ICH"/>
  212. <constraint firstAttribute="height" constant="32" id="tAz-Eo-dTc"/>
  213. <constraint firstItem="IJk-ZX-K1d" firstAttribute="centerY" secondItem="wyI-tl-SHg" secondAttribute="centerY" id="yhb-pV-eba"/>
  214. </constraints>
  215. </customView>
  216. </subviews>
  217. <constraints>
  218. <constraint firstAttribute="trailing" secondItem="9T0-s1-WLF" secondAttribute="trailing" id="26W-yh-dxD"/>
  219. <constraint firstAttribute="trailing" secondItem="wyI-tl-SHg" secondAttribute="trailing" id="2hz-I6-sgQ"/>
  220. <constraint firstItem="hDQ-AO-zYF" firstAttribute="top" secondItem="9T0-s1-WLF" secondAttribute="bottom" id="84I-YR-x0m"/>
  221. <constraint firstItem="hDQ-AO-zYF" firstAttribute="leading" secondItem="9SI-zI-C10" secondAttribute="leading" id="9fy-lS-J1j"/>
  222. <constraint firstItem="9T0-s1-WLF" firstAttribute="top" secondItem="9SI-zI-C10" secondAttribute="top" id="Eik-Fn-qen"/>
  223. <constraint firstItem="wyI-tl-SHg" firstAttribute="top" secondItem="hDQ-AO-zYF" secondAttribute="bottom" constant="8" id="Kc9-qc-THi"/>
  224. <constraint firstAttribute="width" constant="232" id="PgP-T0-XHQ"/>
  225. <constraint firstItem="9T0-s1-WLF" firstAttribute="leading" secondItem="9SI-zI-C10" secondAttribute="leading" id="l2p-Re-HZV"/>
  226. <constraint firstAttribute="trailing" secondItem="hDQ-AO-zYF" secondAttribute="trailing" id="nlk-Cf-XTF"/>
  227. <constraint firstAttribute="height" constant="112" id="odr-pv-Tcg"/>
  228. <constraint firstItem="wyI-tl-SHg" firstAttribute="leading" secondItem="9SI-zI-C10" secondAttribute="leading" id="vM8-Cf-9Wx"/>
  229. </constraints>
  230. </customView>
  231. </subviews>
  232. <constraints>
  233. <constraint firstItem="pob-ji-dGx" firstAttribute="top" secondItem="SwP-ge-6Ia" secondAttribute="top" id="fRR-it-vEl"/>
  234. <constraint firstItem="9SI-zI-C10" firstAttribute="centerX" secondItem="SwP-ge-6Ia" secondAttribute="centerX" id="h8i-3Z-mbB"/>
  235. <constraint firstItem="pob-ji-dGx" firstAttribute="centerX" secondItem="SwP-ge-6Ia" secondAttribute="centerX" id="qRv-mj-WoU"/>
  236. <constraint firstItem="9SI-zI-C10" firstAttribute="top" secondItem="pob-ji-dGx" secondAttribute="bottom" constant="16" id="uJj-JR-Jst"/>
  237. </constraints>
  238. </customView>
  239. </subviews>
  240. <constraints>
  241. <constraint firstAttribute="bottom" secondItem="SwP-ge-6Ia" secondAttribute="bottom" id="63Z-ib-uee"/>
  242. <constraint firstItem="SwP-ge-6Ia" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="8oZ-Rp-nBV"/>
  243. <constraint firstItem="SwP-ge-6Ia" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="IDn-ym-gYj"/>
  244. <constraint firstAttribute="trailing" secondItem="SwP-ge-6Ia" secondAttribute="trailing" id="k4W-01-Hvq"/>
  245. </constraints>
  246. <point key="canvasLocation" x="53" y="197"/>
  247. </customView>
  248. </objects>
  249. <resources>
  250. <image name="edit_ocapity" width="16" height="16"/>
  251. <image name="lineStyle_dash" width="16" height="16"/>
  252. <image name="lineWidth_icon" width="16" height="16"/>
  253. </resources>
  254. </document>