257 lines
21 KiB
XML
257 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5053" systemVersion="13C64" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
|
<dependencies>
|
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5053"/>
|
|
</dependencies>
|
|
<objects>
|
|
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
|
<connections>
|
|
<outlet property="delegate" destination="Voe-Tx-rLC" id="GzC-gU-4Uq"/>
|
|
</connections>
|
|
</customObject>
|
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
|
<customObject id="-3" userLabel="Application"/>
|
|
<customObject id="Voe-Tx-rLC" customClass="RIAppDelegate">
|
|
<connections>
|
|
<outlet property="ButtonChangeFirstMove" destination="AM8-Hm-CgG" id="4OL-m1-Cfx"/>
|
|
<outlet property="Buttons" destination="mAE-IZ-FuB" id="QYp-6X-XEj"/>
|
|
<outlet property="Stats" destination="ouk-dN-F1c" id="PA3-It-SiQ"/>
|
|
<outlet property="Text" destination="YyX-02-yoo" id="X2S-L1-i13"/>
|
|
<outlet property="window" destination="QvC-M9-y7g" id="gIp-Ho-8D9"/>
|
|
</connections>
|
|
</customObject>
|
|
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
|
|
<menu title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
|
|
<items>
|
|
<menuItem title="Tic-Tac-Toe" id="1Xt-HY-uBw">
|
|
<modifierMask key="keyEquivalentModifierMask"/>
|
|
<menu key="submenu" title="Tic-Tac-Toe" systemMenu="apple" id="uQy-DD-JDr">
|
|
<items>
|
|
<menuItem title="About Tic-Tac-Toe" id="5kV-Vb-QxS">
|
|
<modifierMask key="keyEquivalentModifierMask"/>
|
|
<connections>
|
|
<action selector="orderFrontStandardAboutPanel:" target="-1" id="Exp-CZ-Vem"/>
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
|
|
<menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/>
|
|
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
|
|
<menuItem title="Hide Tic-Tac-Toe" keyEquivalent="h" id="Olw-nP-bQN">
|
|
<connections>
|
|
<action selector="hide:" target="-1" id="PnN-Uc-m68"/>
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
|
|
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
|
<connections>
|
|
<action selector="hideOtherApplications:" target="-1" id="VT4-aY-XCT"/>
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem title="Show All" id="Kd2-mp-pUS">
|
|
<modifierMask key="keyEquivalentModifierMask"/>
|
|
<connections>
|
|
<action selector="unhideAllApplications:" target="-1" id="Dhg-Le-xox"/>
|
|
</connections>
|
|
</menuItem>
|
|
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
|
|
<menuItem title="Quit Tic-Tac-Toe" keyEquivalent="q" id="4sb-4s-VLi">
|
|
<connections>
|
|
<action selector="terminate:" target="-1" id="Te7-pn-YzF"/>
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="File" id="dMs-cI-mzQ">
|
|
<modifierMask key="keyEquivalentModifierMask"/>
|
|
<menu key="submenu" title="File" id="bib-Uj-vzu">
|
|
<items>
|
|
<menuItem title="New Game" keyEquivalent="n" id="Was-JA-tGl">
|
|
<connections>
|
|
<action selector="NewGame:" target="Voe-Tx-rLC" id="wFx-tD-VhG"/>
|
|
</connections>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
</menuItem>
|
|
<menuItem title="Help" id="wpr-3q-Mcd">
|
|
<modifierMask key="keyEquivalentModifierMask"/>
|
|
</menuItem>
|
|
</items>
|
|
</menu>
|
|
<window title="Tic-Tac-Toe" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
|
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
|
<rect key="contentRect" x="335" y="390" width="182" height="337"/>
|
|
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="900"/>
|
|
<view key="contentView" id="EiT-Mj-1SZ">
|
|
<rect key="frame" x="0.0" y="0.0" width="182" height="337"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<subviews>
|
|
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YyX-02-yoo">
|
|
<rect key="frame" x="18" y="149" width="146" height="17"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Hello!" id="kDN-tP-KI6">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<connections>
|
|
<action selector="Text:" target="Voe-Tx-rLC" id="IvS-Y9-7fO"/>
|
|
</connections>
|
|
</textField>
|
|
<matrix verticalHuggingPriority="750" fixedFrame="YES" mode="highlight" allowsEmptySelection="NO" autosizesCells="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mAE-IZ-FuB">
|
|
<rect key="frame" x="20" y="174" width="144" height="144"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
<size key="cellSize" width="48" height="48"/>
|
|
<buttonCell key="prototype" type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="did-IZ-byd">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<cells>
|
|
<column>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HfB-y0-tE5">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="EKJ-zh-clS">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Fe1-Kh-rT6">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
</column>
|
|
<column>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Xb8-QH-2x1">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="6H1-EM-G0P">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HOv-bu-0Hl">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
</column>
|
|
<column>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ttM-wu-qKy">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="dKZ-n5-hr0">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
<buttonCell type="square" bezelStyle="shadowlessSquare" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="4gq-G3-jDN">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system" size="25"/>
|
|
</buttonCell>
|
|
</column>
|
|
</cells>
|
|
<connections>
|
|
<action selector="ClickMatrix:" target="Voe-Tx-rLC" id="J1f-Yj-bQ1"/>
|
|
</connections>
|
|
</matrix>
|
|
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bIJ-gQ-UVt">
|
|
<rect key="frame" x="20" y="122" width="74" height="17"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="You play:" id="mDp-ES-xFN">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</textField>
|
|
<matrix verticalHuggingPriority="750" fixedFrame="YES" mode="highlight" allowsEmptySelection="NO" autosizesCells="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ouk-dN-F1c">
|
|
<rect key="frame" x="19" y="21" width="144" height="85"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
<size key="cellSize" width="72" height="17"/>
|
|
<textFieldCell key="prototype" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="Ylh-Hw-lPT">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<cells>
|
|
<column>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Wins:" id="iH5-Oh-hWe">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Loses:" id="4VH-Sx-NFy">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Draws:" id="kUx-qK-aae">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Win rate: " id="Mc0-LH-C6K">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Lose rate:" id="DJH-A4-EXI">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</column>
|
|
<column>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0" id="Iha-N9-vxh">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0" id="dQq-sD-TTJ">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0" id="36D-ga-V34">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0%" id="3PM-5R-Z2N">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
<textFieldCell scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="0%" id="KNl-oE-eGY">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</column>
|
|
</cells>
|
|
</matrix>
|
|
<comboBox verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AM8-Hm-CgG">
|
|
<rect key="frame" x="94" y="115" width="73" height="26"/>
|
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" completes="NO" numberOfVisibleItems="5" id="96W-4a-8Yh">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
<objectValues>
|
|
<string>X</string>
|
|
<string>O</string>
|
|
<string>Dual</string>
|
|
</objectValues>
|
|
</comboBoxCell>
|
|
<connections>
|
|
<action selector="FirstMoveChange:" target="Voe-Tx-rLC" id="l1L-eJ-sQn"/>
|
|
</connections>
|
|
</comboBox>
|
|
</subviews>
|
|
</view>
|
|
</window>
|
|
</objects>
|
|
</document>
|